import{d as w,S as x,y as c,o as a,c as s,F as b,v as I,h as l,t as j,g as d,w as o,x as q,k as z,D as C,j as D,J as P,_ as T,__tla as A}from"./index-7d5b26d3.js";let _,B=Promise.all([(()=>{try{return A}catch{}})()]).then(async()=>{let t,r,i,n;t={class:"waterfall"},r=["href"],i=["src"],n={class:"item-name"},_=T(w({__name:"ImageTable",props:{list:{type:Array,required:!0},loading:{type:Boolean,required:!0}},emits:["delete"],setup(u,{emit:f}){const m=u,p=f;return(F,J)=>{const g=z,y=C,v=D,h=x("hasPermi"),k=P;return c((a(),s("div",t,[(a(!0),s(b,null,I(m.list,e=>(a(),s("div",{class:"waterfall-item",key:e.id},[l("a",{target:"_blank",href:e.url},[l("img",{class:"material-img",src:e.url},null,8,i),l("div",n,j(e.name),1)],8,r),d(v,{justify:"center"},{default:o(()=>[c((a(),q(y,{type:"danger",circle:"",onClick:S=>p("delete",e.id)},{default:o(()=>[d(g,{icon:"ep:delete"})]),_:2},1032,["onClick"])),[[h,["mp:material:delete"]]])]),_:2},1024)]))),128))])),[[k,m.loading]])}}}),[["__scopeId","data-v-909ef7d4"],["__file","D:/zx/mall-newfeifan-zx-business/src/views/mp/material/components/ImageTable.vue"]])});export{B as __tla,_ as default};
