import{S as y}from"./SettingSidebar-ByclBWuv.js";import{A as B,B as C,a as v,_ as R}from"./AdminPageHeader-BbLazqh2.js";import{S as $}from"./Edit-DGYQvHin.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-CgV11GBz.js";import{S as E}from"./SaveOutlined-NNV7kkji.js";import{B as F}from"./useFlexGapSupport-CWWB0EO1.js";import{C as N}from"./index-MBDGOAKp.js";import{a as V,_ as D}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"./dropdown-C8TPWlvJ.js";import"./move-DC4W0EQt.js";import"./index-BnFAf-Nu.js";import"./transButton-BBsxYOSm.js";import"./useDestroyed-DU9zWypE.js";import"./index-4wtx7HnJ.js";import"./apiAdmin-CiAsr8eb.js";import"./index-DX5UyTUL.js";import"./TextArea-CiAld6jk.js";import"./index-CJx7RGCD.js";import"./index-GcUTOa9d.js";import"./pickAttrs-6g5FyZe9.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};
