import"./index-M_JNBppB.js";/* empty css                     *//* empty css                              *//* empty css                 *//* empty css                  *//* empty css                        */import{_ as u}from"./CommonAttr-DJ3ylPmc.js";import{ax as d,r as f,c as _,B as c,z as b,O as e,u as V,F as r}from"./vue-BJk78QHK.js";import{b as v,n as g,s as x,a as w}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 z={class:"attr-list v-talbe-attr"},oe=Object.assign({name:"PercentageAttr"},{__name:"PercentageAttr",setup(E){const s=d(),m=f(["#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)"]),l=_(()=>s.state.curComponent.propValue.config);return(U,o)=>{const i=g,a=v,p=x,n=w;return b(),c("div",z,[e(V(u)),e(n,{class:"more-form","label-position":"left","label-width":"100px"},{default:r(()=>[e(a,{label:"百分比值:"},{default:r(()=>[e(i,{size:"small",modelValue:l.value.series[0].data,"onUpdate:modelValue":o[0]||(o[0]=t=>l.value.series[0].data=t),step:1,min:0,max:100},null,8,["modelValue"])]),_:1}),e(a,{label:"字体:"},{default:r(()=>[e(i,{size:"small",modelValue:l.value.series[0].label.fontSize,"onUpdate:modelValue":o[1]||(o[1]=t=>l.value.series[0].label.fontSize=t),step:1,min:0},null,8,["modelValue"])]),_:1}),e(a,{label:"字体颜色:"},{default:r(()=>[e(p,{modelValue:l.value.series[0].label.color,"onUpdate:modelValue":o[2]||(o[2]=t=>l.value.series[0].label.color=t),predefine:m.value,"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),e(a,{label:"颜色1:"},{default:r(()=>[e(p,{modelValue:l.value.color[0],"onUpdate:modelValue":o[3]||(o[3]=t=>l.value.color[0]=t),predefine:m.value,"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),e(a,{label:"颜色2:"},{default:r(()=>[e(p,{modelValue:l.value.color[1],"onUpdate:modelValue":o[4]||(o[4]=t=>l.value.color[1]=t),predefine:m.value,"show-alpha":""},null,8,["modelValue","predefine"])]),_:1})]),_:1})])}}});export{oe as default};
