import"./index-M_JNBppB.js";/* empty css                     *//* empty css                              *//* empty css                 *//* empty css                  *//* empty css                        */import{_ as f}from"./CommonAttr-DJ3ylPmc.js";import{ax as _,r as c,c as V,B as b,z as g,O as t,u as e,F as m}from"./vue-BJk78QHK.js";import{b as y,c as k,n as h,s as x,a as A}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"},re=Object.assign({name:"AnimationTextAttr"},{__name:"AnimationTextAttr",setup(E){const s=_(),n=c(["#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)"]),o=V(()=>s.state.curComponent.propValue);return(U,l)=>{const u=k,a=y,i=h,p=x,d=A;return g(),b("div",z,[t(e(f)),t(d,{class:"more-form","label-position":"left","label-width":"100px"},{default:m(()=>[t(a,{label:"内容:"},{default:m(()=>[t(u,{size:"small",modelValue:e(o).graphic.elements[0].style.text,"onUpdate:modelValue":l[0]||(l[0]=r=>e(o).graphic.elements[0].style.text=r)},null,8,["modelValue"])]),_:1}),t(a,{label:"字体:"},{default:m(()=>[t(i,{size:"small",modelValue:e(o).graphic.elements[0].style.fontSize,"onUpdate:modelValue":l[1]||(l[1]=r=>e(o).graphic.elements[0].style.fontSize=r),step:1,min:0},null,8,["modelValue"])]),_:1}),t(a,{label:"初始颜色:"},{default:m(()=>[t(p,{modelValue:e(o).graphic.elements[0].style.stroke,"onUpdate:modelValue":l[2]||(l[2]=r=>e(o).graphic.elements[0].style.stroke=r),predefine:e(n),"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),t(a,{label:"最终颜色:"},{default:m(()=>[t(p,{modelValue:e(o).graphic.elements[0].keyframeAnimation.keyframes[2].style.fill,"onUpdate:modelValue":l[3]||(l[3]=r=>e(o).graphic.elements[0].keyframeAnimation.keyframes[2].style.fill=r),predefine:e(n),"show-alpha":""},null,8,["modelValue","predefine"])]),_:1}),t(a,{label:"动画持续时间:"},{default:m(()=>[t(i,{size:"small",modelValue:e(o).graphic.elements[0].keyframeAnimation.duration,"onUpdate:modelValue":l[4]||(l[4]=r=>e(o).graphic.elements[0].keyframeAnimation.duration=r),step:1,min:0},null,8,["modelValue"])]),_:1})]),_:1})])}}});export{re as default};
