System.register(["./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-BSBh0Le2.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./tools-legacy-CHYnbAi9.js?v=1773287522785","./ftp-legacy-Dk70RiS_.js?v=1773287522785","./index-legacy-DRbbI6UR.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DGWsVoxN.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./useTableColumns-legacy-DP6ypvsQ.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","./check-legacy-DG4HeWug.js?v=1773287522785"],(function(e,l){"use strict";var a,s,n,u,t,p,r,c,d,_,i,o,y,g,v,f,j;return{setters:[e=>{a=e._},e=>{s=e._},null,e=>{n=e.u},e=>{u=e.t},e=>{t=e.b},e=>{p=e.k,r=e.r,c=e.e,d=e.$,_=e.Z,i=e.a0,o=e.a9,y=e._,g=e.S,v=e.N},e=>{f=e.a1,j=e.b},null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"px-20px pt-24px pb-8px"},x={class:"w-280px"},w={class:"w-280px"};e("default",p({__name:"index",props:{data:{}},setup(e,{expose:p}){const m=e,{row:b}=m.data,h=n(),P=r(null),$=c({ftp_username:b.name,new_password:b.password}),k={new_password:t({complex:{length:6}})};return p({onConfirm:async({hide:e})=>{await(P.value?.validate());const l={id:b.id,...v($)};await u(l),h.setRefresh(!0),e()}}),(e,n)=>{const u=j,t=f,p=s,r=a;return d(),_("div",l,[i(r,{ref_key:"formRef",ref:P,model:g($),rules:k},{default:o((()=>[i(t,{label:e.$t("Public.Table.Username"),path:"ftp_username"},{default:o((()=>[y("div",x,[i(u,{value:g($).ftp_username,"onUpdate:value":n[0]||(n[0]=e=>g($).ftp_username=e),disabled:!0},null,8,["value"])])])),_:1},8,["label"]),i(t,{label:e.$t("Public.Table.Password"),path:"new_password"},{default:o((()=>[y("div",w,[i(p,{value:g($).new_password,"onUpdate:value":n[1]||(n[1]=e=>g($).new_password=e),default:!1,"input-props":{name:"password"}},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}}));
