1 |
- import{d as _,ac as a,Y as h,r as w,a as m,o as x,x as y,af as I,a0 as b,_ as z,bT as C,f as g,bU as k,__tla as T}from"./index-893d5d13.js";import{E as V,__tla as v}from"./el-image-viewer-36cc952f.js";let u,B=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return v}catch{}})()]).then(async()=>{const p=z(_({name:"ImageViewer",__name:"ImageViewer",props:{urlList:{type:Array,default:()=>[]},zIndex:a.number.def(200),initialIndex:a.number.def(0),infinite:a.bool.def(!0),hideOnClickModal:a.bool.def(!1),appendToBody:a.bool.def(!1),show:a.bool.def(!1)},setup(i){const t=i,l=h(()=>{const n={...t};return delete n.show,n}),o=w(t.show),s=()=>{o.value=!1};return(n,c)=>{const r=V;return m(o)?(x(),y(r,I({key:0},m(l),{onClose:s}),null,16)):b("",!0)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/ImageViewer/src/ImageViewer.vue"]]);let d=null;u=function(i){if(!C)return;const{urlList:t,initialIndex:l=0,infinite:o=!0,hideOnClickModal:s=!1,appendToBody:n=!1,zIndex:c=2e3,show:r=!0}=i,e={},f=document.createElement("div");e.urlList=t,e.initialIndex=l,e.infinite=o,e.hideOnClickModal=s,e.appendToBody=n,e.zIndex=c,e.show=r,document.body.appendChild(f),d=g(p,e),k(d,f)}});export{B as __tla,u as c};
|