System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./ShareDetail.vue_vue_type_script_setup_true_lang-legacy-Cll6gIn0.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./index-legacy-hh1mlQOF.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-B9P08_gB.js?v=1773287522785","./index-legacy-BFkuWVH1.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785"],(function(e,l){"use strict";var a,t,s,i,n,u,c,r,o,d,p,y,_,g,f,h,v,j,x,m,L,w;return{setters:[e=>{a=e.w,t=e.h,s=e.x},e=>{i=e._},e=>{n=e.u},e=>{u=e.Y,c=e.Z},e=>{r=e._},e=>{o=e.k,d=e.R,p=e.i,y=e.r,_=e.al,g=e.$,f=e.Z,h=e.a0,v=e.a9,j=e._,x=e.S,m=e.X,L=e.F},e=>{w=e.aB},null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},k={class:"mt-10px flex justify-end items-center"};e("default",o({__name:"ShareList",setup(e,{expose:o}){const{t:M}=d(),S=p("fileStore"),{shareList:D,shareListPage:b,shareListTotal:C}=S,B=y(!1),P=y(!1),R=_("shareDetailRef"),T=async()=>{try{P.value=!0,await c(S)}finally{P.value=!1}};function U(e){b.value=e,T()}o({open(){B.value=!0,T()},close(){B.value=!1}});const Z=y([{key:"ps",title:M("file.shareListModal.shareName")},{key:"filename",title:M("file.shareListModal.shareAddress")},{key:"expire",title:M("file.shareListModal.expirationDate"),render:e=>a(e.expire)},n({width:120,options:e=>[{label:M("Public.Btn.Details"),onClick:()=>{!async function(e){R.value?.open(e)}(e)}},{label:M("Public.Btn.Delete"),onClick:()=>{var l;l=e,t({title:M("file.shareListModal.cancelShareTitle"),content:M("file.shareListModal.cancelShareMessage",{filename:l.filename}),onConfirm:async()=>{await u(S,l.id),T()}})}}]})]);return(e,a)=>{const t=i,n=w,u=s;return g(),f(L,null,[h(u,{show:x(B),"onUpdate:show":a[1]||(a[1]=e=>m(B)?B.value=e:null),title:x(M)("file.shareListModal.title"),width:850},{default:v((()=>[j("div",l,[h(t,{loading:x(P),data:x(D),columns:x(Z)},null,8,["loading","data","columns"]),j("div",k,[h(n,{"item-count":x(C),page:x(b),"onUpdate:page":a[0]||(a[0]=e=>m(b)?b.value=e:null),"on-update:page":U},null,8,["item-count","page"])])])])),_:1},8,["show","title"]),h(r,{ref_key:"shareDetailRef",ref:R},null,512)],64)}}}))}}}));
