import{d as g,r as w,o as a,c as l,g as m,a as o,F as f,k as b,i as s,w as y,ar as C,t as z,a2 as c,W as d,v as A,J as F,_ as j,__tla as B}from"./index-b2b3c6c4.js";import{E as D,__tla as E}from"./el-image-d434829d.js";import{__tla as U}from"./el-image-viewer-b5664270.js";let v,q=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return U}catch{}})()]).then(async()=>{let i,n,p;i=["onClick"],n={class:"h-full w-full flex items-center justify-center"},p=g({name:"FloatingActionButton",__name:"index",props:{property:{type:Object,required:!0}},setup(H){const t=w(!0),_=()=>{t.value=!t.value};return(e,I)=>{const u=A,h=D,k=F;return a(),l(f,null,[m("div",{class:d(["absolute bottom-32px right-[calc(50%-375px/2+32px)] flex z-12 gap-12px items-center",{"flex-row":e.property.direction==="horizontal","flex-col":e.property.direction==="vertical"}])},[o(t)?(a(!0),l(f,{key:0},b(e.property.list,(r,x)=>(a(),l("div",{key:x,class:"flex flex-col items-center",onClick:J=>e.handleActive(x)},[s(h,{src:r.imgUrl,fit:"contain",class:"h-27px w-27px"},{error:y(()=>[m("div",n,[s(u,{icon:"ep:picture",color:r.textColor},null,8,["color"])])]),_:2},1032,["src"]),e.property.showText?(a(),l("span",{key:0,class:"mt-4px text-12px",style:C({color:r.textColor})},z(r.text),5)):c("",!0)],8,i))),128)):c("",!0),s(k,{type:"primary",size:"large",circle:"",onClick:_},{default:y(()=>[s(u,{icon:"ep:plus",class:d(["fab-icon",{active:o(t)}])},null,8,["class"])]),_:1})],2),o(t)?(a(),l("div",{key:0,class:"modal-bg",onClick:_})):c("",!0)],64)}}}),v=j(p,[["__scopeId","data-v-5ef8fad6"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue"]])});export{q as __tla,v as default};
