import{d as w,R as k,x as c,o as a,c as s,F as x,q as I,g as l,t as q,f as d,w as o,v as C,j,C as z,i as P,I as T,_ as A,__tla as B}from"./index-04f8d540.js";let _,D=Promise.all([(()=>{try{return B}catch{}})()]).then(async()=>{let t,r,i,n;t={class:"waterfall"},r=["href"],i=["src"],n={class:"item-name"},_=A(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,R)=>{const g=j,y=z,v=P,b=k("hasPermi"),h=T;return c((a(),s("div",t,[(a(!0),s(x,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,q(e.name),1)],8,r),d(v,{justify:"center"},{default:o(()=>[c((a(),C(y,{type:"danger",circle:"",onClick:E=>p("delete",e.id)},{default:o(()=>[d(g,{icon:"ep:delete"})]),_:2},1032,["onClick"])),[[b,["mp:material:delete"]]])]),_:2},1024)]))),128))])),[[h,m.loading]])}}}),[["__scopeId","data-v-909ef7d4"],["__file","D:/zx/mall-newfeifan-zx-business/src/views/mp/material/components/ImageTable.vue"]])});export{D as __tla,_ as default};
