import{d as b,a4 as h,k as m,o as r,C as i,A as l,f as a,a as p,a3 as x,B as C,E as T,D as _,X as q,Q as v,J as z,Y as A,Z as B,_ as D,__tla as P}from"./index-286756b9.js";import V,{__tla as j}from"./main-12ab9f27.js";import{d as E,__tla as I}from"./formatTime-83e416ef.js";let c,J=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return I}catch{}})()]).then(async()=>{c=D(b({__name:"VoiceTable",props:{list:{type:Array,required:!0},loading:{type:Boolean,required:!0}},emits:["delete"],setup(u,{emit:f}){const n=u,s=f;return(Q,X)=>{const t=q,o=v,d=z,y=A,g=h("hasPermi"),w=B;return m((r(),i(y,{data:n.list,stripe:"",border:"",style:{"margin-top":"10px"}},{default:l(()=>[a(t,{label:"\u7F16\u53F7",align:"center",prop:"mediaId"}),a(t,{label:"\u6587\u4EF6\u540D",align:"center",prop:"name"}),a(t,{label:"\u8BED\u97F3",align:"center"},{default:l(e=>[e.row.url?(r(),i(p(V),{key:0,url:e.row.url},null,8,["url"])):x("",!0)]),_:1}),a(t,{label:"\u4E0A\u4F20\u65F6\u95F4",align:"center",prop:"createTime",formatter:p(E),width:"180"},{default:l(e=>[C("span",null,T(e.row.createTime),1)]),_:1},8,["formatter"]),a(t,{label:"\u64CD\u4F5C",align:"center","class-name":"small-padding fixed-width"},{default:l(e=>[a(d,{type:"primary",link:"",onClick:k=>s("delete",e.row.id)},{default:l(()=>[a(o,{icon:"ep:download"}),_("\u4E0B\u8F7D ")]),_:2},1032,["onClick"]),m((r(),i(d,{type:"primary",link:"",onClick:k=>s("delete",e.row.id)},{default:l(()=>[a(o,{icon:"ep:delete"}),_("\u5220\u9664 ")]),_:2},1032,["onClick"])),[[g,["mp:material:delete"]]])]),_:1})]),_:1},8,["data"])),[[w,n.loading]])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mp/material/components/VoiceTable.vue"]])});export{J as __tla,c as default};