import{d as w,a4 as x,k as d,o as e,c as l,F as b,R as C,B as s,E as I,f as c,A as o,C as q,Q as j,J as z,K as A,Z as B,_ as P,__tla as T}from"./index-286756b9.js";let _,D=Promise.all([(()=>{try{return T}catch{}})()]).then(async()=>{let t,r,i,n;t={class:"waterfall"},r=["href"],i=["src"],n={class:"item-name"},_=P(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(E,F)=>{const g=j,y=z,v=A,h=x("hasPermi"),k=B;return d((e(),l("div",t,[(e(!0),l(b,null,C(m.list,a=>(e(),l("div",{class:"waterfall-item",key:a.id},[s("a",{target:"_blank",href:a.url},[s("img",{class:"material-img",src:a.url},null,8,i),s("div",n,I(a.name),1)],8,r),c(v,{justify:"center"},{default:o(()=>[d((e(),q(y,{type:"danger",circle:"",onClick:J=>p("delete",a.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","D:/zx/mall-newfeifan-zx-admin/src/views/mp/material/components/ImageTable.vue"]])});export{D as __tla,_ as default};