System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1764830988434","./page_layout-legacy.js?v=1764830988434","./public-legacy.js?v=1764830988434","./ftp-legacy.js?v=1764830988434","./index-legacy264.js?v=1764830988434","./vue-legacy.js?v=1764830988434","./naive-legacy.js?v=1764830988434","./index-legacy96.js?v=1764830988434","./common-legacy.js?v=1764830988434","./__commonjsHelpers__-legacy.js?v=1764830988434"],function(e,a){"use strict";var l,s,t,n,u,p,r,d,_,c,o,i,f,m,v,w,y;return{setters:[e=>{l=e._},e=>{s=e._},e=>{t=e.c1},null,e=>{n=e.t},e=>{u=e.b},e=>{p=e.k,r=e.r,d=e.e,_=e.R,c=e.V,o=e.W,i=e.a3,f=e.S,m=e.U,v=e.N},e=>{w=e.dR,y=e.au},null,null,null],execute:function(){const a={class:"px-20px pt-24px pb-8px"},g={class:"w-280px"},x={class:"w-280px"};e("default",p({__name:"index",props:{data:{}},setup(e,{expose:p}){const b=e,{row:j}=b.data,h=t(),R=r(null),U=d({ftp_username:j.name,new_password:j.password}),P={new_password:u({complex:{length:6}})};return p({onConfirm:async({hide:e})=>{await(R.value?.validate());const a={id:j.id,...v(U)};await n(a),h.setRefresh(!0),e()}}),(e,t)=>{const n=y,u=w,p=s,r=l;return c(),_("div",a,[o(r,{ref_key:"formRef",ref:R,model:m(U),rules:P},{default:i(()=>[o(u,{label:e.$t("Public.Table.Username"),path:"ftp_username"},{default:i(()=>[f("div",g,[o(n,{value:m(U).ftp_username,"onUpdate:value":t[0]||(t[0]=e=>m(U).ftp_username=e),disabled:!0},null,8,["value"])])]),_:1},8,["label"]),o(u,{label:e.$t("Public.Table.Password"),path:"new_password"},{default:i(()=>[f("div",x,[o(p,{value:m(U).new_password,"onUpdate:value":t[1]||(t[1]=e=>m(U).new_password=e),default:!1,"input-props":{name:"password"}},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}}))}}});
