import{g as a}from"./useStore2.js?v=1761009159";import{u as s}from"./useMethod4.js?v=1761009159";import{u as t,N as e}from"./utils-lib.js?v=1761009159";import{u as i}from"./index110.js?v=1761009159";import{c as o,w as r,a6 as u,v as m,N as l,y as p}from"./base-lib.js?v=1761009159";import"./database.js?v=1761009159";import"./column.js?v=1761009159";import"./index106.js?v=1761009159";import"./validator.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index111.js?v=1761009159";import"./index112.js?v=1761009159";const d=o({__name:"index",setup(o){const{refs:{tabActive:d,softData:n,isHaveServer:v}}=a(),{plugin:_}=t(),{BtRouterTabs:c}=i();return r(d,async a=>{n.value={setup:!0},"mysql"===d.value&&(n.value.setup=_.value.mysql.setup),"redis"===d.value&&(n.value.setup=_.value.redis.setup),v.value=!0,n.value=await s(a)},{immediate:!0}),u(()=>{e(["/database?action=GetCloudServers","/panel/public/get_soft_status","/datalist/data/get_data_list","/database?action=view_database_types","/crontab?action=get_auto_config"])}),(a,s)=>(m(),l(p(c)))}});export{d as default};
