import{_ as k,Z as x,a as A,r as B,e as o,o as _,g as h,c as e,w as t,F as P,v as $,i as r,t as a,f as I,J as v,az as w,aD as H,aE as N,n as O,B as V}from"./app-DGDivIsO.js";import{S as z}from"./SettingSidebar-CHvaoh8x.js";import{A as D}from"./AdminPageHeader-ff2SFNbk.js";import{C as E}from"./index-Hlb0Vr6S.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"./crud-CjEsxyNP.js";import"./datatable-Cnt5bvOi.js";import"./filter-_TPdNMe8.js";import"./AddEdit-Ctxjpq3V.js";import"./apiAdmin-D4J8O5cP.js";import"./SaveOutlined-saF8VQQc.js";const F={components:{PlusOutlined:x,SettingSidebar:z,AdminPageHeader:D,CurrencySettings:E},setup(){const{permsArray:n}=A(),s=B(null);return{permsArray:n,currencySettingRef:s,addItem:()=>{s.value.addItem()}}}};function R(n,s,u,m,J,T){const l=w,d=o("router-link"),c=H,p=N,f=o("AdminPageHeader"),g=o("SettingSidebar"),i=O,b=o("PlusOutlined"),y=V,S=o("CurrencySettings"),C=$;return _(),h(P,null,[e(f,null,{header:t(()=>[e(l,{title:n.$t("menu.currencies"),class:"p-0"},null,8,["title"])]),breadcrumb:t(()=>[e(p,{separator:"-",style:{"font-size":"12px"}},{default:t(()=>[e(c,null,{default:t(()=>[e(d,{to:{name:"admin.dashboard.index"}},{default:t(()=>[r(a(n.$t("menu.dashboard")),1)]),_:1})]),_:1}),e(c,null,{default:t(()=>[r(a(n.$t("menu.settings")),1)]),_:1}),e(c,null,{default:t(()=>[r(a(n.$t("menu.currencies")),1)]),_:1})]),_:1})]),_:1}),e(C,null,{default:t(()=>[e(i,{xs:24,sm:24,md:24,lg:4,xl:4,class:"bg-setting-sidebar"},{default:t(()=>[e(g)]),_:1}),e(i,{xs:24,sm:24,md:24,lg:20,xl:20},{default:t(()=>[e(S,{ref:"currencySettingRef"},{actionButtons:t(()=>[m.permsArray.includes("currencies_create")||m.permsArray.includes("admin")?(_(),I(y,{key:0,type:"primary",onClick:m.addItem},{default:t(()=>[e(b),r(" "+a(n.$t("currency.add")),1)]),_:1},8,["onClick"])):v("",!0)]),_:1},512)]),_:1})]),_:1})],64)}const me=k(F,[["render",R]]);export{me as default};
