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