import{d as w,M as x,z as d,o as a,c as s,F as b,v as I,g as l,t as j,f as c,w as o,x as q,j as z,G as C,i as P,K as T,_ as A,__tla as B}from"./index-8dc1e40a.js";let u,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"},u=A(w({__name:"ImageTable",props:{list:{type:Array,required:!0},loading:{type:Boolean,required:!0}},emits:["delete"],setup(_,{emit:f}){const m=_,p=f;return(F,G)=>{const g=z,y=C,v=P,h=x("hasPermi"),k=T;return d((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),c(v,{justify:"center"},{default:o(()=>[d((a(),q(y,{type:"danger",circle:"",onClick:H=>p("delete",e.id)},{default:o(()=>[c(g,{icon:"ep:delete"})]),_:2},1032,["onClick"])),[[h,["mp:material:delete"]]])]),_:2},1024)]))),128))])),[[k,m.loading]])}}}),[["__scopeId","data-v-909ef7d4"],["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mp/material/components/ImageTable.vue"]])});export{D as __tla,u as default};
