import{d as g,r as w,o as a,c as l,g as f,a as o,F as m,v as b,f as s,w as y,ao as C,t as z,a0 as c,T as d,j,G as A,_ as F,__tla as B}from"./index-8dc1e40a.js";import{E as D,__tla as E}from"./el-image-6a48e9f1.js";import{__tla as T}from"./el-image-viewer-3b8905e6.js";let v,U=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return T}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(q){const t=w(!0),_=()=>{t.value=!t.value};return(e,G)=>{const u=j,h=D,k=A;return a(),l(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)?(a(!0),l(m,{key:0},b(e.property.list,(r,x)=>(a(),l("div",{key:x,class:"flex flex-col items-center",onClick:H=>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?(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=F(p,[["__scopeId","data-v-5ef8fad6"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue"]])});export{U as __tla,v as default};
