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