index-65d73dc4.js 1.6 KB

1
  1. import{d as g,r as C,o as e,c as l,B as m,a as o,F as f,Q as b,f as s,A as y,aG as w,E as z,a2 as c,ac as d,_ as A,J as j,__tla as B}from"./index-f65577b8.js";import{E,__tla as F}from"./el-image-6b44629c.js";import{__tla as G}from"./el-image-viewer-7e496319.js";import{_ as I}from"./_plugin-vue_export-helper-1b428a4d.js";let h,J=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return G}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:{}},setup(P){const t=C(!0),_=()=>{t.value=!t.value};return(a,Q)=>{const x=A,v=E,k=j;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:T=>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=I(p,[["__scopeId","data-v-7651c306"]])});export{J as __tla,h as default};