import{d as w,P as b,C as m,o as e,c as l,F as P,k as C,g as t,t as I,i as c,w as o,l as q,v as j,J as A,s as T,N as x,_ as B,__tla as E}from"./index-2c56227b.js";let u,F=Promise.all([(()=>{try{return E}catch{}})()]).then(async()=>{let s,r,i,n;s={class:"waterfall"},r=["href"],i=["src"],n={class:"item-name"},u=B(w({__name:"ImageTable",props:{list:{type:Array,required:!0},loading:{type:Boolean,required:!0}},emits:["delete"],setup(_,{emit:f}){const d=_,p=f;return(G,H)=>{const g=j,y=A,v=T,h=b("hasPermi"),k=x;return m((e(),l("div",s,[(e(!0),l(P,null,C(d.list,a=>(e(),l("div",{class:"waterfall-item",key:a.id},[t("a",{target:"_blank",href:a.url},[t("img",{class:"material-img",src:a.url},null,8,i),t("div",n,I(a.name),1)],8,r),c(v,{justify:"center"},{default:o(()=>[m((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,d.loading]])}}}),[["__scopeId","data-v-909ef7d4"],["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/mp/material/components/ImageTable.vue"]])});export{F as __tla,u as default};
