import{d as b,r as g,o as l,c as a,g as f,a as o,F as m,q as C,f as s,w as y,au as w,t as z,Q as c,$ as d,j,C as A,_ as F,__tla as q}from"./index-04f8d540.js";import{E as B,__tla as D}from"./el-image-00a7d632.js";import{__tla as E}from"./el-image-viewer-5878bd7a.js";let v,I=Promise.all([(()=>{try{return q}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return E}catch{}})()]).then(async()=>{let i,n,p;i=["onClick"],n={class:"h-full w-full flex items-center justify-center"},p=b({name:"FloatingActionButton",__name:"index",props:{property:{type:Object,required:!0}},setup(O){const t=g(!0),_=()=>{t.value=!t.value};return(e,P)=>{const u=j,h=B,k=A;return l(),a(m,null,[f("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)?(l(!0),a(m,{key:0},C(e.property.list,(r,x)=>(l(),a("div",{key:x,class:"flex flex-col items-center",onClick:Q=>e.handleActive(x)},[s(h,{src:r.imgUrl,fit:"contain",class:"h-27px w-27px"},{error:y(()=>[f("div",n,[s(u,{icon:"ep:picture",color:r.textColor},null,8,["color"])])]),_:2},1032,["src"]),e.property.showText?(l(),a("span",{key:0,class:"mt-4px text-12px",style:w({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)?(l(),a("div",{key:0,class:"modal-bg",onClick:_})):c("",!0)],64)}}}),v=F(p,[["__scopeId","data-v-5ef8fad6"],["__file","D:/zx/mall-newfeifan-zx-business/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue"]])});export{I as __tla,v as default};
