System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./FileIcon-legacy-CYrICTNK.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./soft-legacy-CzxZ2w7j.js?v=1773287522785","./copy-legacy-CoXPjkKf.js?v=1773287522785"],(function(e,l){"use strict";var a,t,n,i,u,o,s,c,r,d,f,v,p,_,h,y,g,x,j,k,m,w,b,L;return{setters:[e=>{a=e.l,t=e.x,n=e.m,i=e.p,u=e.P},e=>{o=e._},e=>{s=e._,c=e.w},e=>{r=e.a1,d=e.au,f=e.b,v=e.B},e=>{p=e.k,_=e.i,h=e.R,y=e.r,g=e.$,x=e.a8,j=e.a9,k=e._,m=e.a0,w=e.X,b=e.S,L=e.a3},null,null,null],execute:function(){const S={class:"p-20px pt-28px"},M={class:"w-320px"},$={class:"w-320px"};e("default",p({__name:"SoftLink",setup(e,{expose:p}){const C=_("fileStore"),{currentPath:P}=C,{t:U}=h(),F=y(!1),I=y(""),R=y("");async function q(){if(!R.value||!I.value)return n.warning(U("file.softLinkModal.validation.fillRequired")),!1;await s(I.value,P.value+"/"+R.value),c(C)}function z(){i({title:U("Component.SelectPath.index_7"),width:750,height:640,footer:!1,data:{path:I.value,checkedType:["dir","file"],callback:e=>{I.value=e}},component:L((()=>u((()=>l.import("./index-legacy-W_PN01QM.js?v=1773287522785")),void 0)))})}return p({open:function(){F.value=!0},close:function(){F.value=!1}}),(e,l)=>{const n=f,i=a,u=v,s=d,c=r,p=o,_=t;return g(),x(_,{show:b(F),"onUpdate:show":l[2]||(l[2]=e=>w(F)?F.value=e:null),title:e.$t("file.softLinkModal.title"),width:520,footer:!0,onConfirm:q},{default:j((()=>[k("div",S,[m(p,null,{default:j((()=>[m(c,{label:e.$t("file.softLinkModal.sourceFile")},{default:j((()=>[k("div",M,[m(s,null,{default:j((()=>[m(n,{value:b(I),"onUpdate:value":l[0]||(l[0]=e=>w(I)?I.value=e:null),placeholder:""},null,8,["value"]),m(u,{onClick:z},{icon:j((()=>[m(i,{name:"file-dir",size:"24"})])),_:1})])),_:1})])])),_:1},8,["label"]),m(c,{label:e.$t("file.softLinkModal.softLinkName")},{default:j((()=>[k("div",$,[m(n,{value:b(R),"onUpdate:value":l[1]||(l[1]=e=>w(R)?R.value=e:null),placeholder:""},null,8,["value"])])])),_:1},8,["label"])])),_:1})])])),_:1},8,["show","title"])}}}))}}}));
