ImageTable-5f8a64df.js 1.0 KB

1
  1. import{d as C,a3 as b,k as m,o as e,c as t,F as j,Q as w,B as l,E as B,f as d,A as o,C as I,_ as x,J as P,K as A,Y as E,__tla as F}from"./index-1f518666.js";import{_ as J}from"./_plugin-vue_export-helper-1b428a4d.js";let _,K=Promise.all([(()=>{try{return F}catch{}})()]).then(async()=>{let s,r,i,n;s={class:"waterfall"},r=["href"],i=["src"],n={class:"item-name"},_=J(C({__name:"ImageTable",props:{list:{},loading:{type:Boolean}},emits:["delete"],setup(f,{emit:u}){const c=f,p=u;return(Q,T)=>{const g=x,y=P,h=A,k=b("hasPermi"),v=E;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:Y=>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{K as __tla,_ as default};