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