import"./index-M_JNBppB.js";/* empty css                     *//* empty css                 *//* empty css                        *//* empty css                              *//* empty css                  */import{_}from"./CommonAttr-DJ3ylPmc.js";import{ax as S,r as V,c as L,j as U,B as z,z as y,O as l,u as e,F as i,k as g}from"./vue-BJk78QHK.js";import{b as v,s as w,n as k,c as C,a as E}from"./element-3_pOinej.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";/* empty css                    */import"./el-tooltip-l0sNRNKZ.js";/* empty css                  */import"./el-collapse-item-l0sNRNKZ.js";/* empty css                  *//* empty css               *//* empty css                  *//* empty css                     */import"./attr-DzN5Wxes.js";/* empty css                   *//* empty css                  *//* empty css                   *//* empty css                    *//* empty css                 *//* empty css                *//* empty css                   *//* empty css                 *//* empty css                */import"./request-CEvu378m.js";const I={class:"attr-list v-talbe-attr"},re=Object.assign({name:"PanelAttr"},{__name:"PanelAttr",setup(B){const d=S(),u=V(""),n=V(["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","rgba(255, 69, 0, 0.68)","rgb(255, 120, 0)","rgb(51, 100, 98)","rgb(120, 40, 94, 0.5)","hsl(181, 100%, 37%)","hsla(209, 100%, 56%, 0.73)","rgba(255, 0, 0, 1)"]),a=L(()=>d.state.curComponent.propValue);function b(p){a.value.series[0].detail.formatter=`{value} ${p}`}return U(()=>{u.value=d.state.curComponent.propValue.series[0].detail.formatter.replace("{value} ","")}),(p,o)=>{const r=w,s=v,m=k,f=C,x=E;return y(),z("div",I,[l(e(_)),l(x,{class:"more-form","label-position":"left","label-width":"100px"},{default:i(()=>[l(s,{prop:"name",label:"背景颜色:"},{default:i(()=>[l(r,{modelValue:e(a).backgroundColor,"onUpdate:modelValue":o[0]||(o[0]=t=>e(a).backgroundColor=t),predefine:e(n),"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),l(s,{label:"刻度厚度:"},{default:i(()=>[l(m,{size:"small",modelValue:e(a).series[0].axisLine.lineStyle.width,"onUpdate:modelValue":o[1]||(o[1]=t=>e(a).series[0].axisLine.lineStyle.width=t),step:1,min:0},null,8,["modelValue"])]),_:1}),l(s,{label:"刻度数值距离:"},{default:i(()=>[l(m,{size:"small",modelValue:e(a).series[0].axisLabel.distance,"onUpdate:modelValue":o[2]||(o[2]=t=>e(a).series[0].axisLabel.distance=t),step:1,min:0},null,8,["modelValue"])]),_:1}),l(s,{label:"刻度数值字体:"},{default:i(()=>[l(m,{size:"small",modelValue:e(a).series[0].axisLabel.fontSize,"onUpdate:modelValue":o[3]||(o[3]=t=>e(a).series[0].axisLabel.fontSize=t),step:1,min:0},null,8,["modelValue"])]),_:1}),l(s,{label:"一阶段颜色:"},{default:i(()=>[l(r,{modelValue:e(a).series[0].axisLine.lineStyle.color[0][1],"onUpdate:modelValue":o[4]||(o[4]=t=>e(a).series[0].axisLine.lineStyle.color[0][1]=t),predefine:e(n),"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),l(s,{label:"二阶段颜色:"},{default:i(()=>[l(r,{modelValue:e(a).series[0].axisLine.lineStyle.color[1][1],"onUpdate:modelValue":o[5]||(o[5]=t=>e(a).series[0].axisLine.lineStyle.color[1][1]=t),predefine:e(n),"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),l(s,{label:"三阶段颜色:"},{default:i(()=>[l(r,{modelValue:e(a).series[0].axisLine.lineStyle.color[2][1],"onUpdate:modelValue":o[6]||(o[6]=t=>e(a).series[0].axisLine.lineStyle.color[2][1]=t),predefine:e(n),"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),l(s,{label:"最大值:"},{default:i(()=>[l(m,{size:"small",modelValue:e(a).series[0].max,"onUpdate:modelValue":o[7]||(o[7]=t=>e(a).series[0].max=t),step:1,min:0},null,8,["modelValue"])]),_:1}),l(s,{label:"最小值:"},{default:i(()=>[l(m,{size:"small",modelValue:e(a).series[0].min,"onUpdate:modelValue":o[8]||(o[8]=t=>e(a).series[0].min=t),step:1,min:0},null,8,["modelValue"])]),_:1}),l(s,{label:"外刻度颜色:"},{default:i(()=>[l(r,{modelValue:e(a).series[0].axisTick.lineStyle.color,"onUpdate:modelValue":o[9]||(o[9]=t=>e(a).series[0].axisTick.lineStyle.color=t),predefine:e(n),"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),l(s,{label:"内刻度颜色:"},{default:i(()=>[l(r,{modelValue:e(a).series[0].splitLine.lineStyle.color,"onUpdate:modelValue":o[10]||(o[10]=t=>e(a).series[0].splitLine.lineStyle.color=t),predefine:e(n),"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),l(s,{label:"实际值:"},{default:i(()=>[l(f,{size:"small",modelValue:e(a).series[0].data[0].value,"onUpdate:modelValue":o[11]||(o[11]=t=>e(a).series[0].data[0].value=t)},null,8,["modelValue"])]),_:1}),l(s,{label:"实际值字体:"},{default:i(()=>[l(m,{size:"small",modelValue:e(a).series[0].detail.fontSize,"onUpdate:modelValue":o[12]||(o[12]=t=>e(a).series[0].detail.fontSize=t),step:1,min:0},null,8,["modelValue"])]),_:1}),l(s,{label:"值单位:"},{default:i(()=>[l(f,{size:"small",modelValue:e(u),"onUpdate:modelValue":o[13]||(o[13]=t=>g(u)?u.value=t:null),onInput:b},null,8,["modelValue"])]),_:1})]),_:1})])}}});export{re as default};
