index-7aea9bc8.js 1.6 KB

1
  1. import{d as g,r as C,o as e,c as l,g as m,a as o,F as f,n as w,f as s,w as y,at as b,t as z,O as c,Y as d,_ as A,B,__tla as F}from"./index-2eab2d23.js";import{E as j,__tla as E}from"./el-image-2171f3ff.js";import{__tla as I}from"./el-image-viewer-5d14bc77.js";import{_ as O}from"./_plugin-vue_export-helper-1b428a4d.js";let h,P=Promise.all([(()=>{try{return F}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return I}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(T){const t=C(!0),_=()=>{t.value=!t.value};return(a,U)=>{const x=A,v=j,k=B;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},w(a.property.list,(r,u)=>(e(),l("div",{key:u,class:"flex flex-col items-center",onClick:Y=>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:b({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=O(p,[["__scopeId","data-v-7651c306"]])});export{P as __tla,h as default};