System.register(["./index-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./index-legacy39.js?v=1763625242172","./ResourceManagerWindow-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./public-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"],(function(e,l){"use strict";var a,n,u,t,o,s,i,c,r,f,d,v,_,p,g,y,j,w,h,m,x,k,L,R;return{setters:[e=>{a=e._},e=>{n=e._},e=>{u=e.m,t=e._},e=>{o=e.j,s=e.g},e=>{i=e.R},e=>{c=e.au,r=e.aC,f=e.az,d=e.dP},e=>{v=e.k,_=e.i,p=e.P,g=e.r,y=e.av,j=e.R,w=e.S,h=e.X,m=e.a3,x=e.U,k=e.V,L=e.aj,R=e.F},null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px pt-28px"},b={class:"w-320px"},M={class:"w-320px"};e("default",v({__name:"SoftLink",setup(e,{expose:v}){const C=_("fileStore"),{currentPath:S}=C,{t:U}=p(),P=g(!1),W=y("resourceWindowRef"),$=g(""),z=g("");async function F(){if(!z.value||!$.value)return u.warning(U("file.softLinkModal.validation.fillRequired")),!1;await o($.value,S.value+"/"+z.value),s(C)}function q(){W.value?.open()}function D(e){$.value=e}return v({open:function(){P.value=!0},close:function(){P.value=!1}}),(e,u)=>{const o=c,s=t,v=r,_=f,p=d,g=n,y=a;return j(),w(R,null,[h(y,{show:k(P),"onUpdate:show":u[2]||(u[2]=e=>L(P)?P.value=e:null),title:e.$t("file.softLinkModal.title"),width:520,footer:!0,onConfirm:F},{default:m((()=>[x("div",l,[h(g,null,{default:m((()=>[h(p,{label:e.$t("file.softLinkModal.sourceFile")},{default:m((()=>[x("div",b,[h(_,null,{default:m((()=>[h(o,{value:k($),"onUpdate:value":u[0]||(u[0]=e=>L($)?$.value=e:null),placeholder:""},null,8,["value"]),h(v,{onClick:q},{icon:m((()=>[h(s,{name:"file-dir",size:"24"})])),_:1})])),_:1})])])),_:1},8,["label"]),h(p,{label:e.$t("file.softLinkModal.softLinkName")},{default:m((()=>[x("div",M,[h(o,{value:k(z),"onUpdate:value":u[1]||(u[1]=e=>L(z)?z.value=e:null),placeholder:""},null,8,["value"])])])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title"]),h(i,{ref_key:"resourceWindowRef",ref:W,"current-path":k(S),onChooseDir:D},null,8,["current-path"])],64)}}}))}}}));
