import"./index-M_JNBppB.js";/* empty css                     *//* empty css                 *//* empty css                  *//* empty css                              *//* empty css                  *//* empty css                        */import{_ as f}from"./CommonAttr-DJ3ylPmc.js";import{ax as V,r as g,c as v,B as b,z as c,O as e,u as _,F as t}from"./vue-BJk78QHK.js";import{b as U,n as z,s as x,r as w,c as E,a as C}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                     */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 P={class:"attr-list v-talbe-attr"},me=Object.assign({name:"PercentPondAttr"},{__name:"PercentPondAttr",setup(k){const i=V(),r=g(["#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=v(()=>i.state.curComponent.propValue);return(D,o)=>{const m=z,n=U,u=x,p=w,d=E,s=C;return c(),b("div",P,[e(_(f)),e(s,{class:"more-form","label-position":"left","label-width":"100px"},{default:t(()=>[e(n,{label:"数值"},{default:t(()=>[e(m,{size:"small",modelValue:l.value.config.value,"onUpdate:modelValue":o[0]||(o[0]=a=>l.value.config.value=a),step:1,min:0,max:100},null,8,["modelValue"])]),_:1}),e(n,{label:"文字颜色"},{default:t(()=>[e(u,{modelValue:l.value.config.textColor,"onUpdate:modelValue":o[1]||(o[1]=a=>l.value.config.textColor=a),predefine:r.value,"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),e(n,{label:"进度池配色"},{default:t(()=>[e(u,{modelValue:l.value.config.colors[1],"onUpdate:modelValue":o[2]||(o[2]=a=>l.value.config.colors[1]=a),predefine:r.value,"show-alpha":""},null,8,["modelValue","predefine"]),e(u,{modelValue:l.value.config.colors[0],"onUpdate:modelValue":o[3]||(o[3]=a=>l.value.config.colors[0]=a),predefine:r.value,"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),e(n,{label:"边框宽度:"},{default:t(()=>[e(m,{size:"small",modelValue:l.value.config.borderWidth,"onUpdate:modelValue":o[4]||(o[4]=a=>l.value.config.borderWidth=a),step:1,min:0},null,8,["modelValue"])]),_:1}),e(n,{label:"边框半径:"},{default:t(()=>[e(m,{size:"small",modelValue:l.value.config.borderRadius,"onUpdate:modelValue":o[5]||(o[5]=a=>l.value.config.borderRadius=a),step:1,min:0},null,8,["modelValue"])]),_:1}),e(n,{label:"边框间隙:"},{default:t(()=>[e(m,{size:"small",modelValue:l.value.config.borderGap,"onUpdate:modelValue":o[6]||(o[6]=a=>l.value.config.borderGap=a),step:1,min:0},null,8,["modelValue"])]),_:1}),e(n,{label:"线条间隙(块):"},{default:t(()=>[e(m,{size:"small",modelValue:l.value.config.lineDash[0],"onUpdate:modelValue":o[7]||(o[7]=a=>l.value.config.lineDash[0]=a),step:1,min:0},null,8,["modelValue"])]),_:1}),e(n,{label:"线条间隙(隙):"},{default:t(()=>[e(m,{size:"small",modelValue:l.value.config.lineDash[1],"onUpdate:modelValue":o[8]||(o[8]=a=>l.value.config.lineDash[1]=a),step:1,min:0},null,8,["modelValue"])]),_:1}),e(n,{label:"局部渐变:"},{default:t(()=>[e(p,{size:"small",modelValue:l.value.config.localGradient,"onUpdate:modelValue":o[9]||(o[9]=a=>l.value.config.localGradient=a)},null,8,["modelValue"])]),_:1}),e(n,{label:"格式化:"},{default:t(()=>[e(d,{size:"small",modelValue:l.value.config.formatter,"onUpdate:modelValue":o[10]||(o[10]=a=>l.value.config.formatter=a),placeholder:""},null,8,["modelValue"])]),_:1})]),_:1})])}}});export{me as default};
