import{S as C}from"./SettingSidebar-CHvaoh8x.js";import{A as D}from"./AdminPageHeader-ff2SFNbk.js";import{D as x,G as $,B as h}from"./BackupCommandSetting-D0r9WTqY.js";import{_ as A,r as G,e as a,o as v,g as w,c as e,w as t,i as s,t as r,F as H,az as P,aD as y,aE as z,n as E,m as F,v as N}from"./app-DGDivIsO.js";import"./TranslationOutlined-BagSv0t3.js";import"./UserOutlined-Cz46sReQ.js";import"./ShoppingCartOutlined-BJIcmyJ0.js";import"./ScheduleOutlined-CPLAH6Jp.js";import"./AppstoreAddOutlined-C6X3YU8a.js";import"./MailOutlined-BkPJOQow.js";import"./HistoryOutlined-_8ag_Mv5.js";import"./FormOutlined-YMDYF7hD.js";import"./index-C2QBqMxH.js";import"./apiAdmin-D4J8O5cP.js";import"./SaveOutlined-saF8VQQc.js";import"./SettingOutlined-F4vTp2uH.js";const R={components:{SettingSidebar:C,AdminPageHeader:D,DatabaseSettings:x,GenerateDbBackup:$,BackupCommandSetting:h},setup(){const n=G(null);return{backupCreated:c=>{n.value.backupCreated(c)},settingRef:n}}};function V(n,m,c,p,T,j){const u=P,i=a("router-link"),o=y,l=z,d=a("AdminPageHeader"),b=a("SettingSidebar"),_=E,g=a("GenerateDbBackup"),f=a("BackupCommandSetting"),S=F,k=a("DatabaseSettings"),B=N;return v(),w(H,null,[e(d,null,{header:t(()=>[e(u,{title:n.$t("menu.database_backup"),class:"p-0"},null,8,["title"])]),breadcrumb:t(()=>[e(l,{separator:"-",style:{"font-size":"12px"}},{default:t(()=>[e(o,null,{default:t(()=>[e(i,{to:{name:"admin.dashboard.index"}},{default:t(()=>[s(r(n.$t("menu.dashboard")),1)]),_:1})]),_:1}),e(o,null,{default:t(()=>[s(r(n.$t("menu.settings")),1)]),_:1}),e(o,null,{default:t(()=>[s(r(n.$t("menu.database_backup")),1)]),_:1})]),_:1})]),_:1}),e(B,null,{default:t(()=>[e(_,{xs:24,sm:24,md:24,lg:4,xl:4,class:"bg-setting-sidebar"},{default:t(()=>[e(b)]),_:1}),e(_,{xs:24,sm:24,md:24,lg:20,xl:20},{default:t(()=>[e(k,{ref:"settingRef"},{actionButtons:t(()=>[e(S,null,{default:t(()=>[e(g,{onSuccess:p.backupCreated},null,8,["onSuccess"]),e(f)]),_:1})]),_:1},512)]),_:1})]),_:1})],64)}const ae=A(R,[["render",V]]);export{ae as default};
