System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var a,t,l,u,n,i,g,p;return{setters:[e=>{a=e.a4,t=e.r,l=e.x},e=>{u=e.be,n=e.n,i=e.aN,g=e.i},e=>{p=e.g}],execute:function(){e("u",a("database",(()=>{const e=t("mysql"),s=t(!1),a=t(-1),o=t(-1),r=l([]),v=t(""),d=t(""),m=t({port:"888",setup:!1}),c=t(!0),y=t(!0),R=t(!0),q=t(!0),I=t(!0);return{type:e,isRefresh:s,install:c,delRemoteId:a,addRedisId:o,remoteList:r,backupPath:v,mysqlRoot:d,phpmyadmin:m,isInstallRedis:y,isInstallMongoDB:R,isInstallPgsql:q,isInstallPgsqlManager:I,resetPage:()=>{v.value="",r.value=[]},getRemote:async()=>{const{message:s}=await u({type:e.value});r.value=n(s)?s:[],c.value=r.value.length>0},getConfig:async()=>{const{message:e}=await i();g(e)&&(v.value=p(e,"backup_path",""),d.value=p(e,"mysql_root",""),m.value.setup=p(e,"phpmyadmin.setup",!1),y.value=p(e,"redis.setup",!1),R.value=p(e,"mongodb.setup",!1),q.value=p(e,"pgsql.setup",!1),I.value=p(e,"pgsql.pgsql_manager_setup",!1))},setType:s=>{e.value=s},setRefresh:e=>{s.value=e},setDelRemoteId:e=>{a.value=e},setAddRedisId:e=>{o.value=e}}})))}}}));
