import{S as E}from"./SettingSidebar-CHvaoh8x.js";import{A as h}from"./AdminPageHeader-ff2SFNbk.js";import{E as k}from"./Edit-tydl8S2h.js";import{_ as v,r as $,e as o,o as B,g as y,c as t,w as n,i as a,t as i,F as A,B as C,az as R,aD as w,aE as H,n as O,v as P}from"./app-DGDivIsO.js";import{S as z}from"./SaveOutlined-saF8VQQc.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"./SendOutlined-H9QJL3yD.js";const D={components:{SettingSidebar:E,AdminPageHeader:h,EmailSettings:k,SaveOutlined:z},setup(){const e=$(null);return{onSubmit:()=>{e.value.onSubmit()},settingRef:e}}};function F(e,_,N,s,V,T){const l=o("SaveOutlined"),c=C,p=R,u=o("router-link"),m=w,d=H,g=o("AdminPageHeader"),f=o("SettingSidebar"),r=O,b=o("EmailSettings"),S=o("admin-page-table-content"),x=P;return B(),y(A,null,[t(g,null,{header:n(()=>[t(p,{title:e.$t("menu.email_settings"),class:"p-0"},{extra:n(()=>[t(c,{type:"primary",onClick:s.onSubmit,loading:!!(s.settingRef&&s.settingRef.loading)},{icon:n(()=>[t(l)]),default:n(()=>[a(" "+i(e.$t("common.update")),1)]),_:1},8,["onClick","loading"])]),_:1},8,["title"])]),breadcrumb:n(()=>[t(d,{separator:"-",style:{"font-size":"12px"}},{default:n(()=>[t(m,null,{default:n(()=>[t(u,{to:{name:"admin.dashboard.index"}},{default:n(()=>[a(i(e.$t("menu.dashboard")),1)]),_:1})]),_:1}),t(m,null,{default:n(()=>[a(i(e.$t("menu.settings")),1)]),_:1}),t(m,null,{default:n(()=>[a(i(e.$t("menu.email_settings")),1)]),_:1})]),_:1})]),_:1}),t(x,null,{default:n(()=>[t(r,{xs:24,sm:24,md:24,lg:4,xl:4,class:"bg-setting-sidebar"},{default:n(()=>[t(f)]),_:1}),t(r,{xs:24,sm:24,md:24,lg:20,xl:20},{default:n(()=>[t(S,null,{default:n(()=>[t(b,{ref:"settingRef"},null,512)]),_:1})]),_:1})]),_:1})],64)}const et=v(D,[["render",F]]);export{et as default};
