System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy2.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./ftp-legacy.js?v=1763625242172","./index-legacy263.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./index-legacy98.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172"],(function(e,a){"use strict";var l,s,t,n,u,p,r,d,_,c,o,i,v,f,m,w,y;return{setters:[e=>{l=e._},e=>{s=e._},e=>{t=e.cv},null,e=>{n=e.t},e=>{u=e.b},e=>{p=e.k,r=e.r,d=e.e,_=e.R,c=e.S,o=e.X,i=e.a3,v=e.U,f=e.V,m=e.N},e=>{w=e.au,y=e.dP},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(),P=r(null),U=d({ftp_username:j.name,new_password:j.password}),R={new_password:u({complex:{length:6}})};return p({onConfirm:async({hide:e})=>{await(P.value?.validate());const a={id:j.id,...m(U)};await n(a),h.setRefresh(!0),e()}}),(e,t)=>{const n=w,u=y,p=s,r=l;return _(),c("div",a,[o(r,{ref_key:"formRef",ref:P,model:f(U),rules:R},{default:i((()=>[o(u,{label:e.$t("Public.Table.Username"),path:"ftp_username"},{default:i((()=>[v("div",g,[o(n,{value:f(U).ftp_username,"onUpdate:value":t[0]||(t[0]=e=>f(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((()=>[v("div",x,[o(p,{value:f(U).new_password,"onUpdate:value":t[1]||(t[1]=e=>f(U).new_password=e),default:!1,"input-props":{name:"password"}},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])}}}))}}}));
