import{t as y}from"./debounce-Xd493GvO.js";import{u as h}from"./useOnEvent-Cta5e-FG.js";import{r as s,c as o,w as d,j as f,ag as g,B as p,z as a,y as C,F as k,K as v,L as w,W as B,u as c}from"./vue-BJk78QHK.js";import"./index-M_JNBppB.js";import"./element-3_pOinej.js";import"./utils-YI6ye1sf.js";import"./threejs-BafxXW5-.js";import"./vxe-Dx3zSILm.js";const E=Object.assign({name:"Decoration11"},{__name:"Decoration11",props:{element:{type:Object,default:()=>({})},linkage:{type:Object,default:()=>({})}},setup(t){const e=t,r=s(0),m=o(()=>e.element.style.otherColorLeft||e.element.style.otherColorRigth?[e.element.style.otherColorLeft,e.element.style.otherColorRigth]:[]);o(()=>e.element.style.otherBgColor?e.element.style.otherBgColor:"rgba(144, 240, 144, 0)");const i=o(()=>{const l=e.element.style.width,n=e.element.style.height;return{width:l,height:n}});return d(i,y(()=>{r.value++},1e3),{deep:!0}),h(o(()=>e.linkage),s(e.element)),f(()=>{}),(l,n)=>{const u=g("dv-decoration-11");return a(),p("div",null,[(a(),C(u,{key:c(r),style:B({color:t.element.style.color,"font-size":t.element.style.color,"font-weight":t.element.style.color}),color:c(m)},{default:k(()=>[v(w(t.element.style.borderTitle),1)]),_:1},8,["style","color"]))])}}});export{E as default};
