import{S as y}from"./SettingSidebar-BWJn6cnk.js";import{A as B,B as C,a as v,_ as R}from"./AdminPageHeader-WwDCl03o.js";import{S as $}from"./Edit-XiHX8gxv.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-Bei_nIK3.js";import{S as E}from"./SaveOutlined-BL7Iw8CQ.js";import{B as F}from"./useFlexGapSupport-I9-A4OAO.js";import{C as N}from"./index-BE0aTWss.js";import{a as V,_ as D}from"./index-DxFi17QQ.js";import"./FilePdfOutlined-B0_-PQE6.js";import"./AppstoreOutlined-QhK0XBWp.js";import"./BankOutlined-BehJ4siX.js";import"./ToolOutlined-BCaSOO-v.js";import"./EnvironmentOutlined-BfJgaKN3.js";import"./SolutionOutlined-CGiuXnaV.js";import"./FormOutlined-gPxzdFuy.js";import"./FolderOpenOutlined-DEQuly_h.js";import"./DollarOutlined-BmYmmxQ0.js";import"./TranslationOutlined-DNRJO33D.js";import"./UserOutlined-US7O06sq.js";import"./index-DFCCKFU7.js";import"./dropdown-tYpzS8tQ.js";import"./move-DBemPNhW.js";import"./index-GfpYLola.js";import"./transButton-ukl3COpm.js";import"./useDestroyed-C4XoNj3j.js";import"./index-BSQT_3Ti.js";import"./apiAdmin-DKbjyhIh.js";import"./index-CvmHj1Ev.js";import"./TextArea-BzmabrVb.js";import"./index-Cx28gitG.js";import"./index-CEPCv2e6.js";import"./pickAttrs-CZ9Y5KtR.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};
