import{r as s,u as e}from"./utils-lib.js?v=1761009159";import{s as t,j as a,g as i}from"./base-lib.js?v=1761009159";const r=a("DATABASE-STORE",{state:()=>({tabActive:i(()=>s.currentRoute.value.name),isRefreshTable:!1,isRefreshClassList:!1,isLoading:!1,isHaveServer:!0,isSearchClick:!1,safetyStatus:!1,envStatus:{setup:!1,status:!1,version:""},softData:{setup:!1,status:!1,version:""}}),getters:{},actions:{refreshTableList(s=!0){this.isRefreshTable=!0,this.isLoading=s},resetRefresh(){this.isRefreshTable=!1,this.isLoading=!1},async getGlobalConfig(){const{getGlobalInfo:s}=e();await s()}},persist:[{storage:localStorage,paths:["tabActive"]}]}),o=()=>{const s=r();return{refs:t(s),...s}};export{o as g,r as u};
