import{S as y}from"./SettingSidebar-2SIJiENY.js";import{A as B,B as C,a as v,_ as R}from"./AdminPageHeader-4nW0e2pw.js";import{S as $}from"./Edit-UNqnRJu3.js";import{_ as A,c as w,g as t,w as o,b as n,i as r,t as m,n as H,F as M,k as O,a as P,o as z}from"./app-D7zH3Nl5.js";import{S as E}from"./SaveOutlined-jkHaLNj1.js";import{B as F}from"./useFlexGapSupport-CpBR-RD-.js";import{C as N}from"./index-B1-dW-7G.js";import{a as V,_ as D}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"./dropdown-C-HKHQ-f.js";import"./move-DTmUXir3.js";import"./index-BUQyFFfI.js";import"./transButton--XrRgMTg.js";import"./useDestroyed-B0Qhtgc6.js";import"./index-_ApNSgqk.js";import"./apiAdmin-B6-2qm0d.js";import"./index-DZxk72Vu.js";import"./TextArea-C1mL3q5m.js";import"./index-Cu62pBdq.js";import"./index-DnrvHM6n.js";import"./pickAttrs-1XPwZpL6.js";const T={components:{SettingSidebar:y,AdminPageHeader:B,StorageSettings:$,SaveOutlined:E},setup(){const e=O(null),{themeMode:s}=P();return{onSubmit:()=>{e.value.onSubmit()},settingRef:e,themeMode:s}}};function j(e,s,p,a,q,G){const l=n("SaveOutlined"),c=F,d=R,u=n("router-link"),i=v,g=C,f=n("AdminPageHeader"),S=n("SettingSidebar"),_=V,b=n("StorageSettings"),h=N,k=n("admin-page-table-content"),x=D;return z(),w(M,null,[t(f,null,{header:o(()=>[t(d,{title:e.$t("menu.storage_settings"),class:"p-0"},{extra:o(()=>[t(c,{type:"primary",onClick:a.onSubmit,loading:!!(a.settingRef&&a.settingRef.loading)},{icon:o(()=>[t(l)]),default:o(()=>[r(" "+m(e.$t("common.update")),1)]),_:1},8,["onClick","loading"])]),_:1},8,["title"])]),breadcrumb:o(()=>[t(g,{separator:"-",style:{"font-size":"12px"}},{default:o(()=>[t(i,null,{default:o(()=>[t(u,{to:{name:"admin.dashboard.index"}},{default:o(()=>[r(m(e.$t("menu.dashboard")),1)]),_:1})]),_:1}),t(i,null,{default:o(()=>[r(m(e.$t("menu.settings")),1)]),_:1}),t(i,null,{default:o(()=>[r(m(e.$t("menu.storage_settings")),1)]),_:1})]),_:1})]),_:1}),t(x,null,{default:o(()=>[t(_,{xs:24,sm:24,md:24,lg:4,xl:4,style:H({background:a.themeMode=="dark"?"#141414":"#fff",borderRight:a.themeMode=="dark"?"1px solid #303030":"1px solid #f0f0f0"})},{default:o(()=>[t(S)]),_:1},8,["style"]),t(_,{xs:24,sm:24,md:24,lg:20,xl:20},{default:o(()=>[t(k,null,{default:o(()=>[t(h,{class:"page-content-container mt-20 mb-20"},{default:o(()=>[t(b,{ref:"settingRef"},null,512)]),_:1})]),_:1})]),_:1})]),_:1})],64)}const yt=A(T,[["render",j]]);export{yt as default};
