System.register(["./index-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./index-legacy39.js?v=1763625242172","./ShareDetail.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./soft-legacy2.js?v=1763625242172","./soft-legacy.js?v=1763625242172","./site-legacy.js?v=1763625242172","./file-legacy2.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172"],(function(e,l){"use strict";var a,t,s,i,n,u,c,r,o,p,y,d,_,f,g,h,v,j,m,x,L,k;return{setters:[e=>{a=e._},e=>{t=e.f,s=e.a,i=e.h},e=>{n=e.a9},e=>{u=e.h,c=e.i},e=>{r=e._},e=>{o=e.k,p=e.P,y=e.i,d=e.r,_=e.av,f=e.R,g=e.S,h=e.X,v=e.a3,j=e.U,m=e.V,x=e.aj,L=e.F},e=>{k=e.d$},null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},w={class:"mt-10px flex justify-end items-center"};e("default",o({__name:"ShareList",setup(e,{expose:o}){const{t:M}=p(),S=y("fileStore"),{shareList:D,shareListPage:b,shareListTotal:P}=S,C=d(!1),R=d(!1),U=_("shareDetailRef"),B=async()=>{try{R.value=!0,await c(S)}finally{R.value=!1}};function T(e){b.value=e,B()}o({open(){C.value=!0,B()},close(){C.value=!1}});const A=d([{key:"ps",title:M("file.shareListModal.shareName")},{key:"filename",title:M("file.shareListModal.shareAddress")},{key:"expire",title:M("file.shareListModal.expirationDate"),render:e=>n(e.expire)},t({width:120,options:e=>[{label:M("Public.Btn.Details"),onClick:()=>{!async function(e){U.value?.open(e)}(e)}},{label:M("Public.Btn.Delete"),onClick:()=>{var l;l=e,s({title:M("file.shareListModal.cancelShareTitle"),content:M("file.shareListModal.cancelShareMessage",{filename:l.filename}),onConfirm:async()=>{await u(S,l.id),B()}})}}]})]);return(e,t)=>{const s=i,n=k,u=a;return f(),g(L,null,[h(u,{show:m(C),"onUpdate:show":t[1]||(t[1]=e=>x(C)?C.value=e:null),title:m(M)("file.shareListModal.title"),width:850},{default:v((()=>[j("div",l,[h(s,{loading:m(R),data:m(D),columns:m(A)},null,8,["loading","data","columns"]),j("div",w,[h(n,{"item-count":m(P),page:m(b),"onUpdate:page":t[0]||(t[0]=e=>x(b)?b.value=e:null),"on-update:page":T},null,8,["item-count","page"])])])])),_:1},8,["show","title"]),h(r,{ref_key:"shareDetailRef",ref:U},null,512)],64)}}}))}}}));
