index-4842ca06.js 1.6 KB

1
  1. import{d as C,r as g,o as e,c as l,C as m,a as o,F as f,R as b,f as s,B as y,aG as w,G as z,D as c,ac as d,_ as j,K as A,__tla as B}from"./index-e8bff8cb.js";import{E as F,__tla as G}from"./el-image-7cacfc0f.js";import{__tla as D}from"./el-image-viewer-aab7739e.js";import{_ as E}from"./_plugin-vue_export-helper-1b428a4d.js";let h,I=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return D}catch{}})()]).then(async()=>{let i,n,p;i=["onClick"],n={class:"h-full w-full flex items-center justify-center"},p=C({name:"FloatingActionButton",__name:"index",props:{property:{}},setup(K){const t=g(!0),_=()=>{t.value=!t.value};return(a,P)=>{const x=j,v=F,k=A;return e(),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":a.property.direction==="horizontal","flex-col":a.property.direction==="vertical"}])},[o(t)?(e(!0),l(f,{key:0},b(a.property.list,(r,u)=>(e(),l("div",{key:u,class:"flex flex-col items-center",onClick:R=>a.handleActive(u)},[s(v,{src:r.imgUrl,fit:"contain",class:"h-27px w-27px"},{error:y(()=>[m("div",n,[s(x,{icon:"ep:picture",color:r.textColor},null,8,["color"])])]),_:2},1032,["src"]),a.property.showText?(e(),l("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(x,{icon:"ep:plus",class:d(["fab-icon",{active:o(t)}])},null,8,["class"])]),_:1})],2),o(t)?(e(),l("div",{key:0,class:"modal-bg",onClick:_})):c("",!0)],64)}}}),h=E(p,[["__scopeId","data-v-7651c306"]])});export{I as __tla,h as default};