import{S as h}from"./SettingSidebar-2SIJiENY.js";import{A as x,B as C,a as D,_ as $}from"./AdminPageHeader-4nW0e2pw.js";import{B as y,G as A,D as G}from"./BackupCommandSetting-roka5ljm.js";import{_ as w,c as H,g as t,w as o,b as n,i as m,t as p,n as M,F as P,k as R,a as v,o as z}from"./app-D7zH3Nl5.js";import{S as F}from"./index-_ApNSgqk.js";import{a as N,_ as V}from"./index-Cv7zOydE.js";import"./FilePdfOutlined-B2fn7V0M.js";import"./AppstoreOutlined-De50NR7n.js";import"./BankOutlined-CQJX1h6X.js";import"./ToolOutlined-D00buhbF.js";import"./EnvironmentOutlined-CgN6iVOU.js";import"./SolutionOutlined-CvF8m6TT.js";import"./FormOutlined--y701tZW.js";import"./FolderOpenOutlined-tH0_VpKZ.js";import"./DollarOutlined-6OFmZBXH.js";import"./TranslationOutlined-CUSjLTfi.js";import"./UserOutlined-CsojJWfF.js";import"./index-BUzTR6QN.js";import"./useFlexGapSupport-CpBR-RD-.js";import"./dropdown-C-HKHQ-f.js";import"./move-DTmUXir3.js";import"./index-BUQyFFfI.js";import"./transButton--XrRgMTg.js";import"./useDestroyed-B0Qhtgc6.js";import"./index-B1-dW-7G.js";import"./DeleteOutlined-DI2CK1gU.js";import"./EditOutlined-Corvrvzt.js";import"./index-fjGxdX_x.js";import"./index-BKYjjoqg.js";import"./pickAttrs-1XPwZpL6.js";import"./Link-0ASqNusS.js";import"./Base-Dri4L_EE.js";import"./TextArea-C1mL3q5m.js";import"./index-Dp3l5p__.js";import"./index-Bso6TOMG.js";import"./index-Q5rqE8AL.js";import"./index-DTmsoxos.js";import"./index-DnrvHM6n.js";import"./index-Cu62pBdq.js";import"./index-DkTJbm8y.js";import"./Checkbox-BT3Ug64z.js";import"./index-twmpq7Gp.js";import"./RadioButton-BeQscLER.js";import"./MinusSquareOutlined-CjNBof4X.js";import"./apiAdmin-B6-2qm0d.js";import"./SettingOutlined-DT9eYOwA.js";import"./index-DZxk72Vu.js";import"./Paragraph-C5nJBCuV.js";import"./Text-BYGZwHPp.js";import"./index-BivgQiQE.js";import"./isNumeric-DjvBa-1E.js";const E={components:{SettingSidebar:h,AdminPageHeader:x,DatabaseSettings:G,GenerateDbBackup:A,BackupCommandSetting:y},setup(){const e=R(null),{themeMode:i}=v();return{backupCreated:a=>{e.value.backupCreated(a)},settingRef:e,themeMode:i}}};function T(e,i,c,a,j,q){const _=$,d=n("router-link"),r=D,l=C,u=n("AdminPageHeader"),f=n("SettingSidebar"),s=N,b=n("GenerateDbBackup"),g=n("BackupCommandSetting"),k=F,S=n("DatabaseSettings"),B=V;return z(),H(P,null,[t(u,null,{header:o(()=>[t(_,{title:e.$t("menu.database_backup"),class:"p-0"},null,8,["title"])]),breadcrumb:o(()=>[t(l,{separator:"-",style:{"font-size":"12px"}},{default:o(()=>[t(r,null,{default:o(()=>[t(d,{to:{name:"admin.dashboard.index"}},{default:o(()=>[m(p(e.$t("menu.dashboard")),1)]),_:1})]),_:1}),t(r,null,{default:o(()=>[m(p(e.$t("menu.settings")),1)]),_:1}),t(r,null,{default:o(()=>[m(p(e.$t("menu.database_backup")),1)]),_:1})]),_:1})]),_:1}),t(B,null,{default:o(()=>[t(s,{xs:24,sm:24,md:24,lg:4,xl:4,style:M({background:a.themeMode=="dark"?"#141414":"#fff",borderRight:a.themeMode=="dark"?"1px solid #303030":"1px solid #f0f0f0"})},{default:o(()=>[t(f)]),_:1},8,["style"]),t(s,{xs:24,sm:24,md:24,lg:20,xl:20},{default:o(()=>[t(S,{ref:"settingRef"},{actionButtons:o(()=>[t(k,null,{default:o(()=>[t(b,{onSuccess:a.backupCreated},null,8,["onSuccess"]),t(g)]),_:1})]),_:1},512)]),_:1})]),_:1})],64)}const Tt=w(E,[["render",T]]);export{Tt as default};
