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-CgV11GBz.js";import{S as w}from"./SettingSidebar-ByclBWuv.js";import{A as H,B as M,a as N,_ as O}from"./AdminPageHeader-BbLazqh2.js";import{C as R}from"./index-BLILPAX7.js";import{P as V}from"./index-B7-RTJOc.js";import{B as v}from"./useFlexGapSupport-CWWB0EO1.js";import{a as z,_ as F}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"./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"./index-MBDGOAKp.js";import"./crud-BLlr5Qo9.js";import"./datatable-INNRr7Oh.js";import"./index-CJx7RGCD.js";import"./TextArea-CiAld6jk.js";import"./index-CNlVDwHo.js";import"./index-CJZF9DeS.js";import"./pickAttrs-6g5FyZe9.js";import"./AddEdit-afyStER7.js";import"./apiAdmin-CiAsr8eb.js";import"./SaveOutlined-NNV7kkji.js";import"./index-DX5UyTUL.js";import"./index-DFoCNTvZ.js";import"./RadioButton-BPv4-qI8.js";import"./Checkbox-tUwuA94o.js";import"./DeleteOutlined-CzplmvFG.js";import"./EditOutlined-CDoHc2FT.js";import"./index-vRSySr5e.js";import"./index-E6lmxuug.js";import"./index-DtCc1bFm.js";import"./index-GcUTOa9d.js";import"./index-DEQO-jTQ.js";import"./MinusSquareOutlined-Cd4pIAZ_.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};
