import{d as b,r as g,o as l,c as a,h as f,a as o,F as m,v as w,g as s,w as y,ax as C,t as z,R as c,a0 as d,k as A,D,_ as F,__tla as j}from"./index-7d5b26d3.js";import{E as B,__tla as E}from"./el-image-c9079635.js";import{__tla as q}from"./el-image-viewer-2f0c9a58.js";let v,I=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return q}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 x=A,h=B,k=D;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},w(e.property.list,(r,u)=>(l(),a("div",{key:u,class:"flex flex-col items-center",onClick:R=>e.handleActive(u)},[s(h,{src:r.imgUrl,fit:"contain",class:"h-27px w-27px"},{error:y(()=>[f("div",n,[s(x,{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: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(x,{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};
