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","./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 s,t,l,r,n,o,u,d,p,i,_,c,g,y,f,v,w,m,x,j;return{setters:[e=>{s=e._},e=>{t=e._},e=>{l=e.aL,r=e.fE,n=e.fF,o=e.d,u=e.h},e=>{d=e.d},e=>{p=e.k,i=e.P,_=e.r,c=e.e,g=e.R,y=e.V,f=e.W,v=e.a3,w=e.S,m=e.U,x=e.N},e=>{j=e.dR},null,null,null],execute:function(){const a={class:"px-20px pt-24px pb-8px"},b={class:"w-280px"};e("default",p({__name:"index",setup(e,{expose:p}){const{t:h}=i(),D=l(),E=_(null),R=c({password:""}),k={password:{trigger:["blur","input"],validator:()=>R.password?!(R.password.length<6)||new Error(h("Database.form.index_20")):new Error(h("Database.form.index_17"))}},{loading:L,setLoading:S}=d();return(async()=>{try{S(!0);const{message:e}=await n(D.type);o(e)&&(R.password=u(e.result)?e.result:"")}finally{S(!1)}})(),p({onConfirm:async({hide:e})=>{await(E.value?.validate()),await r(D.type,x(R)),e()}}),(e,l)=>{const r=t,n=j,o=s;return y(),g("div",a,[f(o,{ref_key:"formRef",ref:E,model:m(R),rules:k},{default:v(()=>[f(n,{label:e.$t("Database.tools.index_75"),path:"password"},{default:v(()=>[w("div",b,[f(r,{value:m(R).password,"onUpdate:value":l[0]||(l[0]=e=>m(R).password=e),loading:m(L),default:!1,"input-props":{name:"password"}},null,8,["value","loading"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}}))}}});
