import{d as C,a3 as b,k as m,o as e,c as t,F as j,R as w,C as l,G as B,f as d,B as o,A as I,_ as x,K as P,L as A,Z as F,__tla as G}from"./index-92ad187a.js";import{_ as K}from"./_plugin-vue_export-helper-1b428a4d.js";let _,L=Promise.all([(()=>{try{return G}catch{}})()]).then(async()=>{let s,r,i,n;s={class:"waterfall"},r=["href"],i=["src"],n={class:"item-name"},_=K(C({__name:"ImageTable",props:{list:{},loading:{type:Boolean}},emits:["delete"],setup(f,{emit:u}){const c=f,p=u;return(R,T)=>{const g=x,y=P,h=A,k=b("hasPermi"),v=F;return m((e(),t("div",s,[(e(!0),t(j,null,w(c.list,a=>(e(),t("div",{class:"waterfall-item",key:a.id},[l("a",{target:"_blank",href:a.url},[l("img",{class:"material-img",src:a.url},null,8,i),l("div",n,B(a.name),1)],8,r),d(h,{justify:"center"},{default:o(()=>[m((e(),I(y,{type:"danger",circle:"",onClick:Z=>p("delete",a.id)},{default:o(()=>[d(g,{icon:"ep:delete"})]),_:2},1032,["onClick"])),[[k,["mp:material:delete"]]])]),_:2},1024)]))),128))])),[[v,c.loading]])}}}),[["__scopeId","data-v-5e6feeff"]])});export{L as __tla,_ as default};
