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-Bei_nIK3.js";import{S as w}from"./SettingSidebar-BWJn6cnk.js";import{A as H,B as M,a as N,_ as O}from"./AdminPageHeader-WwDCl03o.js";import{C as R}from"./index-ynh9kWkv.js";import{P as V}from"./index-DFCCKFU7.js";import{B as v}from"./useFlexGapSupport-I9-A4OAO.js";import{a as z,_ as F}from"./index-DxFi17QQ.js";import"./FilePdfOutlined-B0_-PQE6.js";import"./AppstoreOutlined-QhK0XBWp.js";import"./BankOutlined-BehJ4siX.js";import"./ToolOutlined-BCaSOO-v.js";import"./EnvironmentOutlined-BfJgaKN3.js";import"./SolutionOutlined-CGiuXnaV.js";import"./FormOutlined-gPxzdFuy.js";import"./FolderOpenOutlined-DEQuly_h.js";import"./DollarOutlined-BmYmmxQ0.js";import"./TranslationOutlined-DNRJO33D.js";import"./UserOutlined-US7O06sq.js";import"./dropdown-tYpzS8tQ.js";import"./move-DBemPNhW.js";import"./index-GfpYLola.js";import"./transButton-ukl3COpm.js";import"./useDestroyed-C4XoNj3j.js";import"./index-BSQT_3Ti.js";import"./index-BE0aTWss.js";import"./crud-DZ-lXOBy.js";import"./datatable-BR4rm4eU.js";import"./index-Cx28gitG.js";import"./TextArea-BzmabrVb.js";import"./index-BV9s-9gS.js";import"./index-DfQdBPPx.js";import"./pickAttrs-CZ9Y5KtR.js";import"./AddEdit-CwOS0lnz.js";import"./apiAdmin-DKbjyhIh.js";import"./SaveOutlined-BL7Iw8CQ.js";import"./index-CvmHj1Ev.js";import"./index-NeuLv1Cr.js";import"./RadioButton-CUjJYpWn.js";import"./Checkbox-B6oQ4UO2.js";import"./DeleteOutlined-nnS6HyhI.js";import"./EditOutlined-C24c-ELW.js";import"./index-CxUMr-Uk.js";import"./index-DjXFZler.js";import"./index-D-beVDG-.js";import"./index-CEPCv2e6.js";import"./index-Cjf_Tk6m.js";import"./MinusSquareOutlined-Dt9SF9dS.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};
