import{_ as h,c as x,g as t,w as e,b as n,i as m,t as i,n as C,e as B,h as A,F as P,a as $,k as I,o as d}from"./app-D7zH3Nl5.js";import{S as w}from"./SettingSidebar-2SIJiENY.js";import{A as H,B as M,a as N,_ as O}from"./AdminPageHeader-4nW0e2pw.js";import{C as R}from"./index-CzFE4cTX.js";import{P as V}from"./index-BUzTR6QN.js";import{B as v}from"./useFlexGapSupport-CpBR-RD-.js";import{a as z,_ as F}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"./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"./index-B1-dW-7G.js";import"./crud-wQladZ3o.js";import"./datatable--pHH__eM.js";import"./index-Cu62pBdq.js";import"./TextArea-C1mL3q5m.js";import"./index-fjGxdX_x.js";import"./index-BKYjjoqg.js";import"./pickAttrs-1XPwZpL6.js";import"./AddEdit-Vyyh11MN.js";import"./apiAdmin-B6-2qm0d.js";import"./SaveOutlined-jkHaLNj1.js";import"./index-DZxk72Vu.js";import"./index-twmpq7Gp.js";import"./RadioButton-BeQscLER.js";import"./Checkbox-BT3Ug64z.js";import"./DeleteOutlined-DI2CK1gU.js";import"./EditOutlined-Corvrvzt.js";import"./index-Bso6TOMG.js";import"./index-Q5rqE8AL.js";import"./index-DTmsoxos.js";import"./index-DnrvHM6n.js";import"./index-DkTJbm8y.js";import"./MinusSquareOutlined-CjNBof4X.js";const D={components:{PlusOutlined:V,SettingSidebar:w,AdminPageHeader:H,CurrencySettings:R},setup(){const{permsArray:o,themeMode:s}=$(),a=I(null);return{permsArray:o,currencySettingRef:a,addItem:()=>{a.value.addItem()},themeMode:s}}};function E(o,s,a,r,T,j){const _=O,l=n("router-link"),p=N,u=M,f=n("AdminPageHeader"),g=n("SettingSidebar"),c=z,y=n("PlusOutlined"),b=v,S=n("CurrencySettings"),k=F;return d(),x(P,null,[t(f,null,{header:e(()=>[t(_,{title:o.$t("menu.currencies"),class:"p-0"},null,8,["title"])]),breadcrumb:e(()=>[t(u,{separator:"-",style:{"font-size":"12px"}},{default:e(()=>[t(p,null,{default:e(()=>[t(l,{to:{name:"admin.dashboard.index"}},{default:e(()=>[m(i(o.$t("menu.dashboard")),1)]),_:1})]),_:1}),t(p,null,{default:e(()=>[m(i(o.$t("menu.settings")),1)]),_:1}),t(p,null,{default:e(()=>[m(i(o.$t("menu.currencies")),1)]),_:1})]),_:1})]),_:1}),t(k,null,{default:e(()=>[t(c,{xs:24,sm:24,md:24,lg:4,xl:4,style:C({background:r.themeMode=="dark"?"#141414":"#fff",borderRight:r.themeMode=="dark"?"1px solid #303030":"1px solid #f0f0f0"})},{default:e(()=>[t(g)]),_:1},8,["style"]),t(c,{xs:24,sm:24,md:24,lg:20,xl:20},{default:e(()=>[t(S,{ref:"currencySettingRef"},{actionButtons:e(()=>[r.permsArray.includes("currencies_create")||r.permsArray.includes("admin")?(d(),B(b,{key:0,type:"primary",onClick:r.addItem},{default:e(()=>[t(y),m(" "+i(o.$t("currency.add")),1)]),_:1},8,["onClick"])):A("",!0)]),_:1},512)]),_:1})]),_:1})],64)}const vt=h(D,[["render",E]]);export{vt as default};
