import{S as h}from"./SettingSidebar-ByclBWuv.js";import{A as x,B as C,a as D,_ as $}from"./AdminPageHeader-BbLazqh2.js";import{B as y,G as A,D as G}from"./BackupCommandSetting-DnlCazIc.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-CgV11GBz.js";import{S as F}from"./index-4wtx7HnJ.js";import{a as N,_ as V}from"./index-CyQQxPex.js";import"./FilePdfOutlined-BauvwZfY.js";import"./AppstoreOutlined-BLpyLRTk.js";import"./BankOutlined-By_QQ9iI.js";import"./ToolOutlined-C-rv50H1.js";import"./EnvironmentOutlined-C4yfkGM9.js";import"./SolutionOutlined-Cz6y1Tps.js";import"./FormOutlined-DtSJZeKh.js";import"./FolderOpenOutlined-5lmK0J8L.js";import"./DollarOutlined-N_PUECzw.js";import"./TranslationOutlined-B2Vx90lH.js";import"./UserOutlined-B_QmeIKt.js";import"./index-B7-RTJOc.js";import"./useFlexGapSupport-CWWB0EO1.js";import"./dropdown-C8TPWlvJ.js";import"./move-DC4W0EQt.js";import"./index-BnFAf-Nu.js";import"./transButton-BBsxYOSm.js";import"./useDestroyed-DU9zWypE.js";import"./index-MBDGOAKp.js";import"./DeleteOutlined-CzplmvFG.js";import"./EditOutlined-CDoHc2FT.js";import"./index-CNlVDwHo.js";import"./index-CJZF9DeS.js";import"./pickAttrs-6g5FyZe9.js";import"./Link-KYcQwxj2.js";import"./Base-CoAoxKFd.js";import"./TextArea-CiAld6jk.js";import"./index-n0upkdM9.js";import"./index-vRSySr5e.js";import"./index-E6lmxuug.js";import"./index-DtCc1bFm.js";import"./index-GcUTOa9d.js";import"./index-CJx7RGCD.js";import"./index-DEQO-jTQ.js";import"./Checkbox-tUwuA94o.js";import"./index-DFoCNTvZ.js";import"./RadioButton-BPv4-qI8.js";import"./MinusSquareOutlined-Cd4pIAZ_.js";import"./apiAdmin-CiAsr8eb.js";import"./SettingOutlined-Kd6lzbZx.js";import"./index-DX5UyTUL.js";import"./Paragraph-vUn64w3A.js";import"./Text-BEWt5-6S.js";import"./index-DbxXVWPq.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};
