@mobileaction/action-kit 0.0.18 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,47 +1,47 @@
1
- import { defineComponent as h, computed as c, defineAsyncComponent as G, openBlock as l, createBlock as m, resolveDynamicComponent as L, unref as t, normalizeClass as z, mergeProps as $, createSlots as w, renderList as x, withCtx as p, renderSlot as b, createCommentVNode as u, createVNode as d, Transition as J, createTextVNode as U, toDisplayString as C, createElementBlock as _, isRef as M, createElementVNode as N, ref as P, normalizeProps as F, guardReactiveProps as j, Fragment as Y, useSlots as H } from "vue";
2
- import { Button as A, Switch as W, Tooltip as K, Form as Q, FormItem as X, Avatar as Z, Select as ss, Input as os, Textarea as es, Checkbox as ts, CheckboxGroup as is } from "ant-design-vue";
3
- const T = (e, o) => {
4
- const s = e[o];
5
- return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((r, a) => {
1
+ import { defineComponent as b, computed as p, defineAsyncComponent as K, openBlock as r, createBlock as d, resolveDynamicComponent as L, unref as n, normalizeClass as U, mergeProps as w, createSlots as z, renderList as I, withCtx as m, renderSlot as C, createCommentVNode as h, createVNode as $, Transition as Y, createTextVNode as q, toDisplayString as B, createElementBlock as f, isRef as F, createElementVNode as A, ref as j, normalizeProps as T, guardReactiveProps as O, Fragment as E, useSlots as H, watch as D } from "vue";
2
+ import { Button as G, Switch as W, Tooltip as Q, Form as X, FormItem as Z, Avatar as ss, Select as os, InputPassword as es, Input as ts, Textarea as ns, Checkbox as as, CheckboxGroup as is } from "ant-design-vue";
3
+ const R = (t, o) => {
4
+ const s = t[o];
5
+ return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((l, a) => {
6
6
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(a.bind(null, new Error("Unknown variable dynamic import: " + o)));
7
7
  });
8
- }, as = {
8
+ }, ls = {
9
9
  xs: "w-4 h-4",
10
10
  sm: "w-5 h-5",
11
11
  md: "w-6 h-6",
12
12
  lg: "w-8 h-8",
13
13
  xl: "w-9 h-9"
14
- }, ns = {
14
+ }, rs = {
15
15
  name: "MaIcon"
16
- }, f = /* @__PURE__ */ h({
17
- ...ns,
16
+ }, k = /* @__PURE__ */ b({
17
+ ...rs,
18
18
  props: {
19
19
  name: null,
20
20
  size: { default: "md" },
21
21
  spin: { type: Boolean }
22
22
  },
23
- setup(e) {
24
- const o = e, s = ["flag", "pay"], r = c(
25
- () => G(
23
+ setup(t) {
24
+ const o = t, s = ["flag", "pay"], l = p(
25
+ () => K(
26
26
  function() {
27
- const i = s.find((n) => o.name.startsWith(`${n}-`));
28
- return i ? T(/* @__PURE__ */ Object.assign({ "./icons/flag/ad.svg": () => import("./ad-4f15339c.mjs"), "./icons/flag/ae.svg": () => import("./ae-0c29895c.mjs"), "./icons/flag/af.svg": () => import("./af-7c75f32c.mjs"), "./icons/flag/ag.svg": () => import("./ag-8a9bc70d.mjs"), "./icons/flag/ai.svg": () => import("./ai-92607296.mjs"), "./icons/flag/al.svg": () => import("./al-2451ab6a.mjs"), "./icons/flag/am.svg": () => import("./am-75ea01bf.mjs"), "./icons/flag/ao.svg": () => import("./ao-a5e4ad75.mjs"), "./icons/flag/ar.svg": () => import("./ar-a85b3f63.mjs"), "./icons/flag/as.svg": () => import("./as-7fa7e75d.mjs"), "./icons/flag/at.svg": () => import("./at-a7ba217a.mjs"), "./icons/flag/au.svg": () => import("./au-d199493b.mjs"), "./icons/flag/aw.svg": () => import("./aw-442c8572.mjs"), "./icons/flag/ax.svg": () => import("./ax-0714c25a.mjs"), "./icons/flag/az.svg": () => import("./az-199c77dc.mjs"), "./icons/flag/ba.svg": () => import("./ba-d2b7851d.mjs"), "./icons/flag/bb.svg": () => import("./bb-a8e49d76.mjs"), "./icons/flag/bd.svg": () => import("./bd-c63eb19f.mjs"), "./icons/flag/be.svg": () => import("./be-035c22e5.mjs"), "./icons/flag/bf.svg": () => import("./bf-347fcd2e.mjs"), "./icons/flag/bg.svg": () => import("./bg-d3a7da79.mjs"), "./icons/flag/bh.svg": () => import("./bh-c1690810.mjs"), "./icons/flag/bi.svg": () => import("./bi-adcc107b.mjs"), "./icons/flag/bj.svg": () => import("./bj-dd1424a3.mjs"), "./icons/flag/bl.svg": () => import("./bl-a9d0a40c.mjs"), "./icons/flag/bm.svg": () => import("./bm-76f51599.mjs"), "./icons/flag/bn.svg": () => import("./bn-aaa1c0ed.mjs"), "./icons/flag/bo.svg": () => import("./bo-6cec387a.mjs"), "./icons/flag/bq.svg": () => import("./bq-ce9bb442.mjs"), "./icons/flag/bq1.svg": () => import("./bq1-3a6921e5.mjs"), "./icons/flag/bq2.svg": () => import("./bq2-40b46acf.mjs"), "./icons/flag/br.svg": () => import("./br-0cf5492d.mjs"), "./icons/flag/bs.svg": () => import("./bs-89a8fc9a.mjs"), "./icons/flag/bt.svg": () => import("./bt-3ae1d227.mjs"), "./icons/flag/bw.svg": () => import("./bw-a5c65923.mjs"), "./icons/flag/by.svg": () => import("./by-2512965b.mjs"), "./icons/flag/bz.svg": () => import("./bz-8a265bec.mjs"), "./icons/flag/ca.svg": () => import("./ca-cacac026.mjs"), "./icons/flag/cc.svg": () => import("./cc-47939b86.mjs"), "./icons/flag/cd.svg": () => import("./cd-7fc590d2.mjs"), "./icons/flag/cd1.svg": () => import("./cd1-df53c8e1.mjs"), "./icons/flag/cf.svg": () => import("./cf-a60682d6.mjs"), "./icons/flag/ch.svg": () => import("./ch-462979fb.mjs"), "./icons/flag/ck.svg": () => import("./ck-c0c38e87.mjs"), "./icons/flag/cl.svg": () => import("./cl-d02807e7.mjs"), "./icons/flag/cm.svg": () => import("./cm-f951bab7.mjs"), "./icons/flag/cn.svg": () => import("./cn-63577685.mjs"), "./icons/flag/co.svg": () => import("./co-fb5ccff6.mjs"), "./icons/flag/cr.svg": () => import("./cr-c910bfa7.mjs"), "./icons/flag/cu.svg": () => import("./cu-154b8ef9.mjs"), "./icons/flag/cw.svg": () => import("./cw-61a8201a.mjs"), "./icons/flag/cx.svg": () => import("./cx-e5e88bca.mjs"), "./icons/flag/cy.svg": () => import("./cy-1edc9aca.mjs"), "./icons/flag/cz.svg": () => import("./cz-e30da26a.mjs"), "./icons/flag/de.svg": () => import("./de-5cfe1c09.mjs"), "./icons/flag/dj.svg": () => import("./dj-71a46a73.mjs"), "./icons/flag/dk.svg": () => import("./dk-2ffa3eab.mjs"), "./icons/flag/dm.svg": () => import("./dm-c8a641fc.mjs"), "./icons/flag/do.svg": () => import("./do-87d001de.mjs"), "./icons/flag/ds.svg": () => import("./ds-e65319d3.mjs"), "./icons/flag/dz.svg": () => import("./dz-d3b4c36e.mjs"), "./icons/flag/ec.svg": () => import("./ec-95bd8870.mjs"), "./icons/flag/ee.svg": () => import("./ee-faab8887.mjs"), "./icons/flag/eg.svg": () => import("./eg-e80c8056.mjs"), "./icons/flag/eh.svg": () => import("./eh-6afd9f94.mjs"), "./icons/flag/er.svg": () => import("./er-db994cbe.mjs"), "./icons/flag/es.svg": () => import("./es-3a635fca.mjs"), "./icons/flag/et.svg": () => import("./et-2ef41cdc.mjs"), "./icons/flag/fi.svg": () => import("./fi-9dd89328.mjs"), "./icons/flag/fj.svg": () => import("./fj-069f4655.mjs"), "./icons/flag/fk.svg": () => import("./fk-357e668b.mjs"), "./icons/flag/fm.svg": () => import("./fm-530a75f5.mjs"), "./icons/flag/fo.svg": () => import("./fo-28059777.mjs"), "./icons/flag/fr.svg": () => import("./fr-d328744f.mjs"), "./icons/flag/ga.svg": () => import("./ga-58e834f0.mjs"), "./icons/flag/gb-2.svg": () => import("./gb-2-e062951f.mjs"), "./icons/flag/gb.svg": () => import("./gb-67cdddfd.mjs"), "./icons/flag/gd.svg": () => import("./gd-c1bed1a8.mjs"), "./icons/flag/ge.svg": () => import("./ge-825ed87e.mjs"), "./icons/flag/gg.svg": () => import("./gg-6c4f9db5.mjs"), "./icons/flag/gh.svg": () => import("./gh-75d97c21.mjs"), "./icons/flag/gi.svg": () => import("./gi-67623541.mjs"), "./icons/flag/gl.svg": () => import("./gl-07791901.mjs"), "./icons/flag/gm.svg": () => import("./gm-f720b114.mjs"), "./icons/flag/gn.svg": () => import("./gn-38e65105.mjs"), "./icons/flag/gq.svg": () => import("./gq-f03057f5.mjs"), "./icons/flag/gr.svg": () => import("./gr-d657be09.mjs"), "./icons/flag/gt.svg": () => import("./gt-37fec00e.mjs"), "./icons/flag/gu.svg": () => import("./gu-25f495b3.mjs"), "./icons/flag/gw.svg": () => import("./gw-49b63aa6.mjs"), "./icons/flag/gy.svg": () => import("./gy-c3195dee.mjs"), "./icons/flag/hk.svg": () => import("./hk-203ee074.mjs"), "./icons/flag/hn.svg": () => import("./hn-f935c53c.mjs"), "./icons/flag/hr.svg": () => import("./hr-5c985cb6.mjs"), "./icons/flag/ht.svg": () => import("./ht-240304e2.mjs"), "./icons/flag/hu.svg": () => import("./hu-1e7c3a91.mjs"), "./icons/flag/id.svg": () => import("./id-01e604fc.mjs"), "./icons/flag/ie.svg": () => import("./ie-e226e54a.mjs"), "./icons/flag/il.svg": () => import("./il-4a51c7bd.mjs"), "./icons/flag/im.svg": () => import("./im-40319150.mjs"), "./icons/flag/in.svg": () => import("./in-1d105b0f.mjs"), "./icons/flag/io.svg": () => import("./io-6c269405.mjs"), "./icons/flag/iq.svg": () => import("./iq-6b9e3e5a.mjs"), "./icons/flag/ir.svg": () => import("./ir-857f9289.mjs"), "./icons/flag/is.svg": () => import("./is-cf0d2e76.mjs"), "./icons/flag/it.svg": () => import("./it-bce7a9ed.mjs"), "./icons/flag/je.svg": () => import("./je-41c855c9.mjs"), "./icons/flag/jm.svg": () => import("./jm-8dddd561.mjs"), "./icons/flag/jo.svg": () => import("./jo-544e9976.mjs"), "./icons/flag/jp.svg": () => import("./jp-01c6487d.mjs"), "./icons/flag/ke.svg": () => import("./ke-351dc14a.mjs"), "./icons/flag/kg.svg": () => import("./kg-a17fa4bf.mjs"), "./icons/flag/kh.svg": () => import("./kh-0bb7d19f.mjs"), "./icons/flag/ki.svg": () => import("./ki-3e626127.mjs"), "./icons/flag/km.svg": () => import("./km-816dc3ba.mjs"), "./icons/flag/kn.svg": () => import("./kn-bb319e99.mjs"), "./icons/flag/kp.svg": () => import("./kp-2b80118f.mjs"), "./icons/flag/kr.svg": () => import("./kr-32c1e8b7.mjs"), "./icons/flag/kw.svg": () => import("./kw-ad30457b.mjs"), "./icons/flag/ky.svg": () => import("./ky-0eb957f9.mjs"), "./icons/flag/kz.svg": () => import("./kz-72e43c67.mjs"), "./icons/flag/la.svg": () => import("./la-23b2dfcb.mjs"), "./icons/flag/lb.svg": () => import("./lb-be26799a.mjs"), "./icons/flag/lc.svg": () => import("./lc-90590887.mjs"), "./icons/flag/li.svg": () => import("./li-aa862cc7.mjs"), "./icons/flag/lk.svg": () => import("./lk-f17ec481.mjs"), "./icons/flag/lr.svg": () => import("./lr-aff36fda.mjs"), "./icons/flag/ls.svg": () => import("./ls-1cf90d43.mjs"), "./icons/flag/lt.svg": () => import("./lt-4a30e360.mjs"), "./icons/flag/lu.svg": () => import("./lu-986cbaa1.mjs"), "./icons/flag/lv.svg": () => import("./lv-e1792ca0.mjs"), "./icons/flag/ly.svg": () => import("./ly-a5393d64.mjs"), "./icons/flag/ma.svg": () => import("./ma-e1895759.mjs"), "./icons/flag/mc.svg": () => import("./mc-784352e6.mjs"), "./icons/flag/md.svg": () => import("./md-d4541b72.mjs"), "./icons/flag/me.svg": () => import("./me-cf26a608.mjs"), "./icons/flag/mg.svg": () => import("./mg-5a72197b.mjs"), "./icons/flag/mh.svg": () => import("./mh-a494ced3.mjs"), "./icons/flag/mk.svg": () => import("./mk-5d6dfbe2.mjs"), "./icons/flag/ml.svg": () => import("./ml-ea237b33.mjs"), "./icons/flag/mm.svg": () => import("./mm-ca2d2d6f.mjs"), "./icons/flag/mn.svg": () => import("./mn-9b3631e3.mjs"), "./icons/flag/mo.svg": () => import("./mo-8a8ca00c.mjs"), "./icons/flag/mp.svg": () => import("./mp-6e4057a6.mjs"), "./icons/flag/mq.svg": () => import("./mq-c4ad87c5.mjs"), "./icons/flag/mr.svg": () => import("./mr-7535e8e4.mjs"), "./icons/flag/ms.svg": () => import("./ms-0e8caa14.mjs"), "./icons/flag/mt.svg": () => import("./mt-be4c4deb.mjs"), "./icons/flag/mu.svg": () => import("./mu-2c88bc9d.mjs"), "./icons/flag/mv.svg": () => import("./mv-513ecec1.mjs"), "./icons/flag/mw.svg": () => import("./mw-6ddd4745.mjs"), "./icons/flag/mx.svg": () => import("./mx-359089aa.mjs"), "./icons/flag/my.svg": () => import("./my-04139588.mjs"), "./icons/flag/mz.svg": () => import("./mz-f694c775.mjs"), "./icons/flag/na.svg": () => import("./na-012ceddf.mjs"), "./icons/flag/ne.svg": () => import("./ne-f2a01939.mjs"), "./icons/flag/nf.svg": () => import("./nf-e6551856.mjs"), "./icons/flag/ng.svg": () => import("./ng-969a2891.mjs"), "./icons/flag/ni.svg": () => import("./ni-9c669cea.mjs"), "./icons/flag/nl.svg": () => import("./nl-d023a4e8.mjs"), "./icons/flag/no.svg": () => import("./no-463b4b53.mjs"), "./icons/flag/np.svg": () => import("./np-1e48b7f5.mjs"), "./icons/flag/nr.svg": () => import("./nr-3e362f8f.mjs"), "./icons/flag/nu.svg": () => import("./nu-55d767aa.mjs"), "./icons/flag/nz.svg": () => import("./nz-260712f6.mjs"), "./icons/flag/om.svg": () => import("./om-51ff2ef8.mjs"), "./icons/flag/pa.svg": () => import("./pa-2794cff1.mjs"), "./icons/flag/pe.svg": () => import("./pe-03062449.mjs"), "./icons/flag/pf.svg": () => import("./pf-7a7f8df3.mjs"), "./icons/flag/pg.svg": () => import("./pg-b27cc749.mjs"), "./icons/flag/ph.svg": () => import("./ph-cfeed391.mjs"), "./icons/flag/pk.svg": () => import("./pk-e0af5fcc.mjs"), "./icons/flag/pl.svg": () => import("./pl-8f8b354c.mjs"), "./icons/flag/pn.svg": () => import("./pn-1a715846.mjs"), "./icons/flag/pr.svg": () => import("./pr-aa1179ea.mjs"), "./icons/flag/ps.svg": () => import("./ps-af3368b8.mjs"), "./icons/flag/pt.svg": () => import("./pt-5964314a.mjs"), "./icons/flag/pw.svg": () => import("./pw-f405d571.mjs"), "./icons/flag/py.svg": () => import("./py-759ed64c.mjs"), "./icons/flag/qa.svg": () => import("./qa-def2a5c8.mjs"), "./icons/flag/ro.svg": () => import("./ro-b2c623ce.mjs"), "./icons/flag/rs.svg": () => import("./rs-1f43835a.mjs"), "./icons/flag/ru.svg": () => import("./ru-515b608f.mjs"), "./icons/flag/rw.svg": () => import("./rw-7bb5887d.mjs"), "./icons/flag/sa.svg": () => import("./sa-deb70e75.mjs"), "./icons/flag/sb.svg": () => import("./sb-5a3d1bd0.mjs"), "./icons/flag/sc.svg": () => import("./sc-5976b943.mjs"), "./icons/flag/se.svg": () => import("./se-d3641a11.mjs"), "./icons/flag/sg.svg": () => import("./sg-1251b5df.mjs"), "./icons/flag/si.svg": () => import("./si-c2a466f5.mjs"), "./icons/flag/sk.svg": () => import("./sk-0860725f.mjs"), "./icons/flag/sl.svg": () => import("./sl-51f9eed4.mjs"), "./icons/flag/sm.svg": () => import("./sm-75cf810c.mjs"), "./icons/flag/sn.svg": () => import("./sn-7f24ca51.mjs"), "./icons/flag/so.svg": () => import("./so-015e6af8.mjs"), "./icons/flag/sr.svg": () => import("./sr-1b0717af.mjs"), "./icons/flag/ss.svg": () => import("./ss-f6c88a4e.mjs"), "./icons/flag/st.svg": () => import("./st-989e6418.mjs"), "./icons/flag/sv.svg": () => import("./sv-23640770.mjs"), "./icons/flag/sx.svg": () => import("./sx-a304a4a6.mjs"), "./icons/flag/sy.svg": () => import("./sy-cf437d42.mjs"), "./icons/flag/sz.svg": () => import("./sz-e518a24d.mjs"), "./icons/flag/tc.svg": () => import("./tc-200bbddb.mjs"), "./icons/flag/td.svg": () => import("./td-1bb8e438.mjs"), "./icons/flag/tg.svg": () => import("./tg-2ca52b3e.mjs"), "./icons/flag/th.svg": () => import("./th-a72530d6.mjs"), "./icons/flag/tj.svg": () => import("./tj-2d376ebe.mjs"), "./icons/flag/tk.svg": () => import("./tk-7d3d0a7f.mjs"), "./icons/flag/tl.svg": () => import("./tl-55431a29.mjs"), "./icons/flag/tm.svg": () => import("./tm-d2ffabc8.mjs"), "./icons/flag/tn.svg": () => import("./tn-9e100c57.mjs"), "./icons/flag/to.svg": () => import("./to-3b674416.mjs"), "./icons/flag/tr.svg": () => import("./tr-04213ae8.mjs"), "./icons/flag/tt.svg": () => import("./tt-8ae61c7d.mjs"), "./icons/flag/tv.svg": () => import("./tv-c51c8fd6.mjs"), "./icons/flag/tw.svg": () => import("./tw-d92bcd35.mjs"), "./icons/flag/tz.svg": () => import("./tz-62c19f2e.mjs"), "./icons/flag/ua.svg": () => import("./ua-8acc7fe0.mjs"), "./icons/flag/ug.svg": () => import("./ug-cba81231.mjs"), "./icons/flag/us.svg": () => import("./us-041f888d.mjs"), "./icons/flag/uy.svg": () => import("./uy-588af199.mjs"), "./icons/flag/uz.svg": () => import("./uz-b15e9da9.mjs"), "./icons/flag/vc.svg": () => import("./vc-e9055307.mjs"), "./icons/flag/ve.svg": () => import("./ve-1a051a6e.mjs"), "./icons/flag/vg.svg": () => import("./vg-abdc103a.mjs"), "./icons/flag/vi.svg": () => import("./vi-ab2e1332.mjs"), "./icons/flag/vn.svg": () => import("./vn-cffe971d.mjs"), "./icons/flag/vu.svg": () => import("./vu-dc33d40a.mjs"), "./icons/flag/ws.svg": () => import("./ws-1b6fa1a1.mjs"), "./icons/flag/ye.svg": () => import("./ye-03199afb.mjs"), "./icons/flag/za.svg": () => import("./za-b29e17dc.mjs"), "./icons/flag/zm.svg": () => import("./zm-e90acb8f.mjs"), "./icons/flag/zw.svg": () => import("./zw-c483b7f4.mjs"), "./icons/pay/affirm.svg": () => import("./affirm-9aef00fd.mjs"), "./icons/pay/alipay.svg": () => import("./alipay-f8889c4a.mjs"), "./icons/pay/amazon.svg": () => import("./amazon-63784d92.mjs"), "./icons/pay/amex.svg": () => import("./amex-297df5f4.mjs"), "./icons/pay/applepay.svg": () => import("./applepay-bf0abc5b.mjs"), "./icons/pay/bancontact.svg": () => import("./bancontact-057becef.mjs"), "./icons/pay/bitcoin.svg": () => import("./bitcoin-0fec1e7b.mjs"), "./icons/pay/bitcoincash.svg": () => import("./bitcoincash-0a0c586f.mjs"), "./icons/pay/bitpay.svg": () => import("./bitpay-15ba47a5.mjs"), "./icons/pay/citadele.svg": () => import("./citadele-57105c23.mjs"), "./icons/pay/dinersclub.svg": () => import("./dinersclub-022391cd.mjs"), "./icons/pay/discover.svg": () => import("./discover-a393a333.mjs"), "./icons/pay/elo.svg": () => import("./elo-89d797db.mjs"), "./icons/pay/etherium.svg": () => import("./etherium-207a2f24.mjs"), "./icons/pay/forbrugsforeningen.svg": () => import("./forbrugsforeningen-52d2f2d6.mjs"), "./icons/pay/giropay.svg": () => import("./giropay-9ef50443.mjs"), "./icons/pay/googlepay.svg": () => import("./googlepay-41584edc.mjs"), "./icons/pay/ideal.svg": () => import("./ideal-c62c1699.mjs"), "./icons/pay/interac.svg": () => import("./interac-23f9a0cb.mjs"), "./icons/pay/jcb.svg": () => import("./jcb-a55712fc.mjs"), "./icons/pay/klarna.svg": () => import("./klarna-bc60c24a.mjs"), "./icons/pay/lightcoin.svg": () => import("./lightcoin-a710bd56.mjs"), "./icons/pay/maestro.svg": () => import("./maestro-6f52e0dc.mjs"), "./icons/pay/mastercard.svg": () => import("./mastercard-1bcd8146.mjs"), "./icons/pay/payoneer.svg": () => import("./payoneer-91400d09.mjs"), "./icons/pay/paypal.svg": () => import("./paypal-7a4e2657.mjs"), "./icons/pay/paysafe.svg": () => import("./paysafe-6a3eeb5f.mjs"), "./icons/pay/qiwi.svg": () => import("./qiwi-2e4cc2e5.mjs"), "./icons/pay/sepa.svg": () => import("./sepa-753ca2b4.mjs"), "./icons/pay/shop-pay.svg": () => import("./shop-pay-d97812ef.mjs"), "./icons/pay/skrill.svg": () => import("./skrill-a6ecb633.mjs"), "./icons/pay/sofort.svg": () => import("./sofort-d6f73b34.mjs"), "./icons/pay/stripe.svg": () => import("./stripe-fc7bc53b.mjs"), "./icons/pay/unionpay.svg": () => import("./unionpay-daddf101.mjs"), "./icons/pay/verifone.svg": () => import("./verifone-08122f8e.mjs"), "./icons/pay/visa.svg": () => import("./visa-030bb1b1.mjs"), "./icons/pay/webmoney.svg": () => import("./webmoney-c284cb72.mjs"), "./icons/pay/wechat.svg": () => import("./wechat-bb08d491.mjs"), "./icons/pay/yandex.svg": () => import("./yandex-55f02daa.mjs") }), `./icons/${i}/${o.name.replace(`${i}-`, "")}.svg`) : T(/* @__PURE__ */ Object.assign({ "./icons/add.svg": () => import("./add-158c827a.mjs"), "./icons/android.svg": () => import("./android-e7185e66.mjs"), "./icons/apple.svg": () => import("./apple-a0f4b202.mjs"), "./icons/check.svg": () => import("./check-eb9fb8f0.mjs"), "./icons/chevron-down.svg": () => import("./chevron-down-3924f78b.mjs"), "./icons/chevron-up.svg": () => import("./chevron-up-9cb362ff.mjs"), "./icons/close.svg": () => import("./close-bfa680c6.mjs"), "./icons/dot.svg": () => import("./dot-c7334eb8.mjs"), "./icons/google.svg": () => import("./google-2e882a09.mjs"), "./icons/grid.svg": () => import("./grid-ed70f316.mjs"), "./icons/info-circle.svg": () => import("./info-circle-02e1d68f.mjs"), "./icons/layer.svg": () => import("./layer-8c79f0e7.mjs"), "./icons/linkedin.svg": () => import("./linkedin-fc9d8eba.mjs"), "./icons/list.svg": () => import("./list-cd710e03.mjs"), "./icons/loader.svg": () => import("./loader-c103d22b.mjs"), "./icons/message-text.svg": () => import("./message-text-a7be1d8c.mjs"), "./icons/search-normal.svg": () => import("./search-normal-7eb2b97f.mjs"), "./icons/tick-circle.svg": () => import("./tick-circle-3cce456e.mjs"), "./icons/user-square.svg": () => import("./user-square-6d72a4fb.mjs"), "./icons/user.svg": () => import("./user-e1c97db1.mjs"), "./icons/warning.svg": () => import("./warning-d3f5a4ee.mjs") }), `./icons/${o.name}.svg`);
27
+ const e = s.find((c) => o.name.startsWith(`${c}-`));
28
+ return e ? R(/* @__PURE__ */ Object.assign({ "./icons/flag/ad.svg": () => import("./ad-4f15339c.mjs"), "./icons/flag/ae.svg": () => import("./ae-0c29895c.mjs"), "./icons/flag/af.svg": () => import("./af-7c75f32c.mjs"), "./icons/flag/ag.svg": () => import("./ag-8a9bc70d.mjs"), "./icons/flag/ai.svg": () => import("./ai-92607296.mjs"), "./icons/flag/al.svg": () => import("./al-2451ab6a.mjs"), "./icons/flag/am.svg": () => import("./am-75ea01bf.mjs"), "./icons/flag/ao.svg": () => import("./ao-a5e4ad75.mjs"), "./icons/flag/ar.svg": () => import("./ar-a85b3f63.mjs"), "./icons/flag/as.svg": () => import("./as-7fa7e75d.mjs"), "./icons/flag/at.svg": () => import("./at-a7ba217a.mjs"), "./icons/flag/au.svg": () => import("./au-d199493b.mjs"), "./icons/flag/aw.svg": () => import("./aw-442c8572.mjs"), "./icons/flag/ax.svg": () => import("./ax-0714c25a.mjs"), "./icons/flag/az.svg": () => import("./az-199c77dc.mjs"), "./icons/flag/ba.svg": () => import("./ba-d2b7851d.mjs"), "./icons/flag/bb.svg": () => import("./bb-a8e49d76.mjs"), "./icons/flag/bd.svg": () => import("./bd-c63eb19f.mjs"), "./icons/flag/be.svg": () => import("./be-035c22e5.mjs"), "./icons/flag/bf.svg": () => import("./bf-347fcd2e.mjs"), "./icons/flag/bg.svg": () => import("./bg-d3a7da79.mjs"), "./icons/flag/bh.svg": () => import("./bh-c1690810.mjs"), "./icons/flag/bi.svg": () => import("./bi-adcc107b.mjs"), "./icons/flag/bj.svg": () => import("./bj-dd1424a3.mjs"), "./icons/flag/bl.svg": () => import("./bl-a9d0a40c.mjs"), "./icons/flag/bm.svg": () => import("./bm-76f51599.mjs"), "./icons/flag/bn.svg": () => import("./bn-aaa1c0ed.mjs"), "./icons/flag/bo.svg": () => import("./bo-6cec387a.mjs"), "./icons/flag/bq.svg": () => import("./bq-ce9bb442.mjs"), "./icons/flag/bq1.svg": () => import("./bq1-3a6921e5.mjs"), "./icons/flag/bq2.svg": () => import("./bq2-40b46acf.mjs"), "./icons/flag/br.svg": () => import("./br-0cf5492d.mjs"), "./icons/flag/bs.svg": () => import("./bs-89a8fc9a.mjs"), "./icons/flag/bt.svg": () => import("./bt-3ae1d227.mjs"), "./icons/flag/bw.svg": () => import("./bw-a5c65923.mjs"), "./icons/flag/by.svg": () => import("./by-2512965b.mjs"), "./icons/flag/bz.svg": () => import("./bz-8a265bec.mjs"), "./icons/flag/ca.svg": () => import("./ca-cacac026.mjs"), "./icons/flag/cc.svg": () => import("./cc-47939b86.mjs"), "./icons/flag/cd.svg": () => import("./cd-7fc590d2.mjs"), "./icons/flag/cd1.svg": () => import("./cd1-df53c8e1.mjs"), "./icons/flag/cf.svg": () => import("./cf-a60682d6.mjs"), "./icons/flag/ch.svg": () => import("./ch-462979fb.mjs"), "./icons/flag/ck.svg": () => import("./ck-c0c38e87.mjs"), "./icons/flag/cl.svg": () => import("./cl-d02807e7.mjs"), "./icons/flag/cm.svg": () => import("./cm-f951bab7.mjs"), "./icons/flag/cn.svg": () => import("./cn-63577685.mjs"), "./icons/flag/co.svg": () => import("./co-fb5ccff6.mjs"), "./icons/flag/cr.svg": () => import("./cr-c910bfa7.mjs"), "./icons/flag/cu.svg": () => import("./cu-154b8ef9.mjs"), "./icons/flag/cw.svg": () => import("./cw-61a8201a.mjs"), "./icons/flag/cx.svg": () => import("./cx-e5e88bca.mjs"), "./icons/flag/cy.svg": () => import("./cy-1edc9aca.mjs"), "./icons/flag/cz.svg": () => import("./cz-e30da26a.mjs"), "./icons/flag/de.svg": () => import("./de-5cfe1c09.mjs"), "./icons/flag/dj.svg": () => import("./dj-71a46a73.mjs"), "./icons/flag/dk.svg": () => import("./dk-2ffa3eab.mjs"), "./icons/flag/dm.svg": () => import("./dm-c8a641fc.mjs"), "./icons/flag/do.svg": () => import("./do-87d001de.mjs"), "./icons/flag/ds.svg": () => import("./ds-e65319d3.mjs"), "./icons/flag/dz.svg": () => import("./dz-d3b4c36e.mjs"), "./icons/flag/ec.svg": () => import("./ec-95bd8870.mjs"), "./icons/flag/ee.svg": () => import("./ee-faab8887.mjs"), "./icons/flag/eg.svg": () => import("./eg-e80c8056.mjs"), "./icons/flag/eh.svg": () => import("./eh-6afd9f94.mjs"), "./icons/flag/er.svg": () => import("./er-db994cbe.mjs"), "./icons/flag/es.svg": () => import("./es-3a635fca.mjs"), "./icons/flag/et.svg": () => import("./et-2ef41cdc.mjs"), "./icons/flag/fi.svg": () => import("./fi-9dd89328.mjs"), "./icons/flag/fj.svg": () => import("./fj-069f4655.mjs"), "./icons/flag/fk.svg": () => import("./fk-357e668b.mjs"), "./icons/flag/fm.svg": () => import("./fm-530a75f5.mjs"), "./icons/flag/fo.svg": () => import("./fo-28059777.mjs"), "./icons/flag/fr.svg": () => import("./fr-d328744f.mjs"), "./icons/flag/ga.svg": () => import("./ga-58e834f0.mjs"), "./icons/flag/gb-2.svg": () => import("./gb-2-e062951f.mjs"), "./icons/flag/gb.svg": () => import("./gb-67cdddfd.mjs"), "./icons/flag/gd.svg": () => import("./gd-c1bed1a8.mjs"), "./icons/flag/ge.svg": () => import("./ge-825ed87e.mjs"), "./icons/flag/gg.svg": () => import("./gg-6c4f9db5.mjs"), "./icons/flag/gh.svg": () => import("./gh-75d97c21.mjs"), "./icons/flag/gi.svg": () => import("./gi-67623541.mjs"), "./icons/flag/gl.svg": () => import("./gl-07791901.mjs"), "./icons/flag/gm.svg": () => import("./gm-f720b114.mjs"), "./icons/flag/gn.svg": () => import("./gn-38e65105.mjs"), "./icons/flag/gq.svg": () => import("./gq-f03057f5.mjs"), "./icons/flag/gr.svg": () => import("./gr-d657be09.mjs"), "./icons/flag/gt.svg": () => import("./gt-37fec00e.mjs"), "./icons/flag/gu.svg": () => import("./gu-25f495b3.mjs"), "./icons/flag/gw.svg": () => import("./gw-49b63aa6.mjs"), "./icons/flag/gy.svg": () => import("./gy-c3195dee.mjs"), "./icons/flag/hk.svg": () => import("./hk-203ee074.mjs"), "./icons/flag/hn.svg": () => import("./hn-f935c53c.mjs"), "./icons/flag/hr.svg": () => import("./hr-5c985cb6.mjs"), "./icons/flag/ht.svg": () => import("./ht-240304e2.mjs"), "./icons/flag/hu.svg": () => import("./hu-1e7c3a91.mjs"), "./icons/flag/id.svg": () => import("./id-01e604fc.mjs"), "./icons/flag/ie.svg": () => import("./ie-e226e54a.mjs"), "./icons/flag/il.svg": () => import("./il-4a51c7bd.mjs"), "./icons/flag/im.svg": () => import("./im-40319150.mjs"), "./icons/flag/in.svg": () => import("./in-1d105b0f.mjs"), "./icons/flag/io.svg": () => import("./io-6c269405.mjs"), "./icons/flag/iq.svg": () => import("./iq-6b9e3e5a.mjs"), "./icons/flag/ir.svg": () => import("./ir-857f9289.mjs"), "./icons/flag/is.svg": () => import("./is-cf0d2e76.mjs"), "./icons/flag/it.svg": () => import("./it-bce7a9ed.mjs"), "./icons/flag/je.svg": () => import("./je-41c855c9.mjs"), "./icons/flag/jm.svg": () => import("./jm-8dddd561.mjs"), "./icons/flag/jo.svg": () => import("./jo-544e9976.mjs"), "./icons/flag/jp.svg": () => import("./jp-01c6487d.mjs"), "./icons/flag/ke.svg": () => import("./ke-351dc14a.mjs"), "./icons/flag/kg.svg": () => import("./kg-a17fa4bf.mjs"), "./icons/flag/kh.svg": () => import("./kh-0bb7d19f.mjs"), "./icons/flag/ki.svg": () => import("./ki-3e626127.mjs"), "./icons/flag/km.svg": () => import("./km-816dc3ba.mjs"), "./icons/flag/kn.svg": () => import("./kn-bb319e99.mjs"), "./icons/flag/kp.svg": () => import("./kp-2b80118f.mjs"), "./icons/flag/kr.svg": () => import("./kr-32c1e8b7.mjs"), "./icons/flag/kw.svg": () => import("./kw-ad30457b.mjs"), "./icons/flag/ky.svg": () => import("./ky-0eb957f9.mjs"), "./icons/flag/kz.svg": () => import("./kz-72e43c67.mjs"), "./icons/flag/la.svg": () => import("./la-23b2dfcb.mjs"), "./icons/flag/lb.svg": () => import("./lb-be26799a.mjs"), "./icons/flag/lc.svg": () => import("./lc-90590887.mjs"), "./icons/flag/li.svg": () => import("./li-aa862cc7.mjs"), "./icons/flag/lk.svg": () => import("./lk-f17ec481.mjs"), "./icons/flag/lr.svg": () => import("./lr-aff36fda.mjs"), "./icons/flag/ls.svg": () => import("./ls-1cf90d43.mjs"), "./icons/flag/lt.svg": () => import("./lt-4a30e360.mjs"), "./icons/flag/lu.svg": () => import("./lu-986cbaa1.mjs"), "./icons/flag/lv.svg": () => import("./lv-e1792ca0.mjs"), "./icons/flag/ly.svg": () => import("./ly-a5393d64.mjs"), "./icons/flag/ma.svg": () => import("./ma-e1895759.mjs"), "./icons/flag/mc.svg": () => import("./mc-784352e6.mjs"), "./icons/flag/md.svg": () => import("./md-d4541b72.mjs"), "./icons/flag/me.svg": () => import("./me-cf26a608.mjs"), "./icons/flag/mg.svg": () => import("./mg-5a72197b.mjs"), "./icons/flag/mh.svg": () => import("./mh-a494ced3.mjs"), "./icons/flag/mk.svg": () => import("./mk-5d6dfbe2.mjs"), "./icons/flag/ml.svg": () => import("./ml-ea237b33.mjs"), "./icons/flag/mm.svg": () => import("./mm-ca2d2d6f.mjs"), "./icons/flag/mn.svg": () => import("./mn-9b3631e3.mjs"), "./icons/flag/mo.svg": () => import("./mo-8a8ca00c.mjs"), "./icons/flag/mp.svg": () => import("./mp-6e4057a6.mjs"), "./icons/flag/mq.svg": () => import("./mq-c4ad87c5.mjs"), "./icons/flag/mr.svg": () => import("./mr-7535e8e4.mjs"), "./icons/flag/ms.svg": () => import("./ms-0e8caa14.mjs"), "./icons/flag/mt.svg": () => import("./mt-be4c4deb.mjs"), "./icons/flag/mu.svg": () => import("./mu-2c88bc9d.mjs"), "./icons/flag/mv.svg": () => import("./mv-513ecec1.mjs"), "./icons/flag/mw.svg": () => import("./mw-6ddd4745.mjs"), "./icons/flag/mx.svg": () => import("./mx-359089aa.mjs"), "./icons/flag/my.svg": () => import("./my-04139588.mjs"), "./icons/flag/mz.svg": () => import("./mz-f694c775.mjs"), "./icons/flag/na.svg": () => import("./na-012ceddf.mjs"), "./icons/flag/ne.svg": () => import("./ne-f2a01939.mjs"), "./icons/flag/nf.svg": () => import("./nf-e6551856.mjs"), "./icons/flag/ng.svg": () => import("./ng-969a2891.mjs"), "./icons/flag/ni.svg": () => import("./ni-9c669cea.mjs"), "./icons/flag/nl.svg": () => import("./nl-d023a4e8.mjs"), "./icons/flag/no.svg": () => import("./no-463b4b53.mjs"), "./icons/flag/np.svg": () => import("./np-1e48b7f5.mjs"), "./icons/flag/nr.svg": () => import("./nr-3e362f8f.mjs"), "./icons/flag/nu.svg": () => import("./nu-55d767aa.mjs"), "./icons/flag/nz.svg": () => import("./nz-260712f6.mjs"), "./icons/flag/om.svg": () => import("./om-51ff2ef8.mjs"), "./icons/flag/pa.svg": () => import("./pa-2794cff1.mjs"), "./icons/flag/pe.svg": () => import("./pe-03062449.mjs"), "./icons/flag/pf.svg": () => import("./pf-7a7f8df3.mjs"), "./icons/flag/pg.svg": () => import("./pg-b27cc749.mjs"), "./icons/flag/ph.svg": () => import("./ph-cfeed391.mjs"), "./icons/flag/pk.svg": () => import("./pk-e0af5fcc.mjs"), "./icons/flag/pl.svg": () => import("./pl-8f8b354c.mjs"), "./icons/flag/pn.svg": () => import("./pn-1a715846.mjs"), "./icons/flag/pr.svg": () => import("./pr-aa1179ea.mjs"), "./icons/flag/ps.svg": () => import("./ps-af3368b8.mjs"), "./icons/flag/pt.svg": () => import("./pt-5964314a.mjs"), "./icons/flag/pw.svg": () => import("./pw-f405d571.mjs"), "./icons/flag/py.svg": () => import("./py-759ed64c.mjs"), "./icons/flag/qa.svg": () => import("./qa-def2a5c8.mjs"), "./icons/flag/ro.svg": () => import("./ro-b2c623ce.mjs"), "./icons/flag/rs.svg": () => import("./rs-1f43835a.mjs"), "./icons/flag/ru.svg": () => import("./ru-515b608f.mjs"), "./icons/flag/rw.svg": () => import("./rw-7bb5887d.mjs"), "./icons/flag/sa.svg": () => import("./sa-deb70e75.mjs"), "./icons/flag/sb.svg": () => import("./sb-5a3d1bd0.mjs"), "./icons/flag/sc.svg": () => import("./sc-5976b943.mjs"), "./icons/flag/se.svg": () => import("./se-d3641a11.mjs"), "./icons/flag/sg.svg": () => import("./sg-1251b5df.mjs"), "./icons/flag/si.svg": () => import("./si-c2a466f5.mjs"), "./icons/flag/sk.svg": () => import("./sk-0860725f.mjs"), "./icons/flag/sl.svg": () => import("./sl-51f9eed4.mjs"), "./icons/flag/sm.svg": () => import("./sm-75cf810c.mjs"), "./icons/flag/sn.svg": () => import("./sn-7f24ca51.mjs"), "./icons/flag/so.svg": () => import("./so-015e6af8.mjs"), "./icons/flag/sr.svg": () => import("./sr-1b0717af.mjs"), "./icons/flag/ss.svg": () => import("./ss-f6c88a4e.mjs"), "./icons/flag/st.svg": () => import("./st-989e6418.mjs"), "./icons/flag/sv.svg": () => import("./sv-23640770.mjs"), "./icons/flag/sx.svg": () => import("./sx-a304a4a6.mjs"), "./icons/flag/sy.svg": () => import("./sy-cf437d42.mjs"), "./icons/flag/sz.svg": () => import("./sz-e518a24d.mjs"), "./icons/flag/tc.svg": () => import("./tc-200bbddb.mjs"), "./icons/flag/td.svg": () => import("./td-1bb8e438.mjs"), "./icons/flag/tg.svg": () => import("./tg-2ca52b3e.mjs"), "./icons/flag/th.svg": () => import("./th-a72530d6.mjs"), "./icons/flag/tj.svg": () => import("./tj-2d376ebe.mjs"), "./icons/flag/tk.svg": () => import("./tk-7d3d0a7f.mjs"), "./icons/flag/tl.svg": () => import("./tl-55431a29.mjs"), "./icons/flag/tm.svg": () => import("./tm-d2ffabc8.mjs"), "./icons/flag/tn.svg": () => import("./tn-9e100c57.mjs"), "./icons/flag/to.svg": () => import("./to-3b674416.mjs"), "./icons/flag/tr.svg": () => import("./tr-04213ae8.mjs"), "./icons/flag/tt.svg": () => import("./tt-8ae61c7d.mjs"), "./icons/flag/tv.svg": () => import("./tv-c51c8fd6.mjs"), "./icons/flag/tw.svg": () => import("./tw-d92bcd35.mjs"), "./icons/flag/tz.svg": () => import("./tz-62c19f2e.mjs"), "./icons/flag/ua.svg": () => import("./ua-8acc7fe0.mjs"), "./icons/flag/ug.svg": () => import("./ug-cba81231.mjs"), "./icons/flag/us.svg": () => import("./us-041f888d.mjs"), "./icons/flag/uy.svg": () => import("./uy-588af199.mjs"), "./icons/flag/uz.svg": () => import("./uz-b15e9da9.mjs"), "./icons/flag/vc.svg": () => import("./vc-e9055307.mjs"), "./icons/flag/ve.svg": () => import("./ve-1a051a6e.mjs"), "./icons/flag/vg.svg": () => import("./vg-abdc103a.mjs"), "./icons/flag/vi.svg": () => import("./vi-ab2e1332.mjs"), "./icons/flag/vn.svg": () => import("./vn-cffe971d.mjs"), "./icons/flag/vu.svg": () => import("./vu-dc33d40a.mjs"), "./icons/flag/ws.svg": () => import("./ws-1b6fa1a1.mjs"), "./icons/flag/ye.svg": () => import("./ye-03199afb.mjs"), "./icons/flag/za.svg": () => import("./za-b29e17dc.mjs"), "./icons/flag/zm.svg": () => import("./zm-e90acb8f.mjs"), "./icons/flag/zw.svg": () => import("./zw-c483b7f4.mjs"), "./icons/pay/affirm.svg": () => import("./affirm-9aef00fd.mjs"), "./icons/pay/alipay.svg": () => import("./alipay-f8889c4a.mjs"), "./icons/pay/amazon.svg": () => import("./amazon-63784d92.mjs"), "./icons/pay/amex.svg": () => import("./amex-297df5f4.mjs"), "./icons/pay/applepay.svg": () => import("./applepay-bf0abc5b.mjs"), "./icons/pay/bancontact.svg": () => import("./bancontact-057becef.mjs"), "./icons/pay/bitcoin.svg": () => import("./bitcoin-0fec1e7b.mjs"), "./icons/pay/bitcoincash.svg": () => import("./bitcoincash-0a0c586f.mjs"), "./icons/pay/bitpay.svg": () => import("./bitpay-15ba47a5.mjs"), "./icons/pay/citadele.svg": () => import("./citadele-57105c23.mjs"), "./icons/pay/dinersclub.svg": () => import("./dinersclub-022391cd.mjs"), "./icons/pay/discover.svg": () => import("./discover-a393a333.mjs"), "./icons/pay/elo.svg": () => import("./elo-89d797db.mjs"), "./icons/pay/etherium.svg": () => import("./etherium-207a2f24.mjs"), "./icons/pay/forbrugsforeningen.svg": () => import("./forbrugsforeningen-52d2f2d6.mjs"), "./icons/pay/giropay.svg": () => import("./giropay-9ef50443.mjs"), "./icons/pay/googlepay.svg": () => import("./googlepay-41584edc.mjs"), "./icons/pay/ideal.svg": () => import("./ideal-c62c1699.mjs"), "./icons/pay/interac.svg": () => import("./interac-23f9a0cb.mjs"), "./icons/pay/jcb.svg": () => import("./jcb-a55712fc.mjs"), "./icons/pay/klarna.svg": () => import("./klarna-bc60c24a.mjs"), "./icons/pay/lightcoin.svg": () => import("./lightcoin-a710bd56.mjs"), "./icons/pay/maestro.svg": () => import("./maestro-6f52e0dc.mjs"), "./icons/pay/mastercard.svg": () => import("./mastercard-1bcd8146.mjs"), "./icons/pay/payoneer.svg": () => import("./payoneer-91400d09.mjs"), "./icons/pay/paypal.svg": () => import("./paypal-7a4e2657.mjs"), "./icons/pay/paysafe.svg": () => import("./paysafe-6a3eeb5f.mjs"), "./icons/pay/qiwi.svg": () => import("./qiwi-2e4cc2e5.mjs"), "./icons/pay/sepa.svg": () => import("./sepa-753ca2b4.mjs"), "./icons/pay/shop-pay.svg": () => import("./shop-pay-d97812ef.mjs"), "./icons/pay/skrill.svg": () => import("./skrill-a6ecb633.mjs"), "./icons/pay/sofort.svg": () => import("./sofort-d6f73b34.mjs"), "./icons/pay/stripe.svg": () => import("./stripe-fc7bc53b.mjs"), "./icons/pay/unionpay.svg": () => import("./unionpay-daddf101.mjs"), "./icons/pay/verifone.svg": () => import("./verifone-08122f8e.mjs"), "./icons/pay/visa.svg": () => import("./visa-030bb1b1.mjs"), "./icons/pay/webmoney.svg": () => import("./webmoney-c284cb72.mjs"), "./icons/pay/wechat.svg": () => import("./wechat-bb08d491.mjs"), "./icons/pay/yandex.svg": () => import("./yandex-55f02daa.mjs") }), `./icons/${e}/${o.name.replace(`${e}-`, "")}.svg`) : R(/* @__PURE__ */ Object.assign({ "./icons/add.svg": () => import("./add-158c827a.mjs"), "./icons/android.svg": () => import("./android-e7185e66.mjs"), "./icons/apple.svg": () => import("./apple-a0f4b202.mjs"), "./icons/check.svg": () => import("./check-eb9fb8f0.mjs"), "./icons/chevron-down.svg": () => import("./chevron-down-3924f78b.mjs"), "./icons/chevron-up.svg": () => import("./chevron-up-9cb362ff.mjs"), "./icons/close.svg": () => import("./close-bfa680c6.mjs"), "./icons/dot.svg": () => import("./dot-c7334eb8.mjs"), "./icons/google.svg": () => import("./google-2e882a09.mjs"), "./icons/grid.svg": () => import("./grid-ed70f316.mjs"), "./icons/info-circle.svg": () => import("./info-circle-02e1d68f.mjs"), "./icons/layer.svg": () => import("./layer-8c79f0e7.mjs"), "./icons/linkedin.svg": () => import("./linkedin-fc9d8eba.mjs"), "./icons/list.svg": () => import("./list-cd710e03.mjs"), "./icons/loader.svg": () => import("./loader-c103d22b.mjs"), "./icons/message-text.svg": () => import("./message-text-a7be1d8c.mjs"), "./icons/search-normal.svg": () => import("./search-normal-7eb2b97f.mjs"), "./icons/tick-circle.svg": () => import("./tick-circle-3cce456e.mjs"), "./icons/user-square.svg": () => import("./user-square-6d72a4fb.mjs"), "./icons/user.svg": () => import("./user-e1c97db1.mjs"), "./icons/warning.svg": () => import("./warning-d3f5a4ee.mjs") }), `./icons/${o.name}.svg`);
29
29
  }.bind({ name: o.name })
30
30
  )
31
- ), a = c(() => [
31
+ ), a = p(() => [
32
32
  "ma-icon",
33
33
  `ma-icon--${o.name}`,
34
- as[o.size],
34
+ ls[o.size],
35
35
  { "animate-spin": o.spin }
36
36
  ]);
37
- return (i, n) => (l(), m(L(t(r)), {
38
- class: z(t(a))
37
+ return (e, c) => (r(), d(L(n(l)), {
38
+ class: U(n(a))
39
39
  }, null, 8, ["class"]));
40
40
  }
41
- }), ls = {
41
+ }), cs = {
42
42
  name: "MaButton"
43
- }, Us = /* @__PURE__ */ h({
44
- ...ls,
43
+ }, Ls = /* @__PURE__ */ b({
44
+ ...cs,
45
45
  props: {
46
46
  type: { default: "dark" },
47
47
  variant: { default: "primary" },
@@ -54,8 +54,8 @@ const T = (e, o) => {
54
54
  icon: null,
55
55
  IconAlignment: null
56
56
  },
57
- setup(e) {
58
- const o = e, s = c(() => o.variant === "secondary" ? "default" : o.variant === "grey-link" ? "link" : o.variant), r = c(() => [
57
+ setup(t) {
58
+ const o = t, s = p(() => o.variant === "secondary" ? "default" : o.variant === "grey-link" ? "link" : o.variant), l = p(() => [
59
59
  `
60
60
  ma-button
61
61
  ma-button--${o.variant}
@@ -68,39 +68,39 @@ const T = (e, o) => {
68
68
  {
69
69
  "ma-button--icon-right": o.IconAlignment === "right"
70
70
  }
71
- ]), a = c(() => o.loading ? "loader" : o.icon);
72
- return (i, n) => (l(), m(t(A), $({
73
- class: t(r),
71
+ ]), a = p(() => o.loading ? "loader" : o.icon);
72
+ return (e, c) => (r(), d(n(G), w({
73
+ class: n(l),
74
74
  href: o.href,
75
75
  target: o.target,
76
76
  disabled: o.disabled || o.loading,
77
- type: t(s),
77
+ type: n(s),
78
78
  role: "button"
79
- }, i.$attrs), w({ _: 2 }, [
80
- x(i.$slots, (g, y) => ({
79
+ }, e.$attrs), z({ _: 2 }, [
80
+ I(e.$slots, (g, y) => ({
81
81
  name: y,
82
- fn: p(() => [
83
- b(i.$slots, y)
82
+ fn: m(() => [
83
+ C(e.$slots, y)
84
84
  ])
85
85
  })),
86
- t(a) ? {
86
+ n(a) ? {
87
87
  name: "icon",
88
- fn: p(() => [
89
- t(a) ? (l(), m(f, {
88
+ fn: m(() => [
89
+ n(a) ? (r(), d(k, {
90
90
  key: 0,
91
91
  spin: o.loading,
92
- name: t(a)
93
- }, null, 8, ["spin", "name"])) : u("", !0)
92
+ name: n(a)
93
+ }, null, 8, ["spin", "name"])) : h("", !0)
94
94
  ]),
95
95
  key: "0"
96
96
  } : void 0
97
97
  ]), 1040, ["class", "href", "target", "disabled", "type"]));
98
98
  }
99
99
  });
100
- const rs = {
100
+ const ps = {
101
101
  name: "MaTrackButton"
102
- }, As = /* @__PURE__ */ h({
103
- ...rs,
102
+ }, Gs = /* @__PURE__ */ b({
103
+ ...ps,
104
104
  props: {
105
105
  variant: { default: "default" },
106
106
  size: { default: "md" },
@@ -109,8 +109,8 @@ const rs = {
109
109
  tracked: { type: Boolean },
110
110
  keyword: null
111
111
  },
112
- setup(e) {
113
- const o = e, s = c(() => [
112
+ setup(t) {
113
+ const o = t, s = p(() => [
114
114
  `
115
115
  ma-track-button
116
116
  ma-track-button--${o.variant}
@@ -122,53 +122,53 @@ const rs = {
122
122
  {
123
123
  "ma-track-button--loading": o.loading
124
124
  }
125
- ]), r = c(
125
+ ]), l = p(
126
126
  () => o.loading ? "loader" : o.tracked ? "tick-circle" : "add"
127
- ), a = c(() => o.size === "lg" ? "sm" : "xs");
128
- return (i, n) => (l(), m(t(A), $({
129
- class: t(s),
127
+ ), a = p(() => o.size === "lg" ? "sm" : "xs");
128
+ return (e, c) => (r(), d(n(G), w({
129
+ class: n(s),
130
130
  disabled: o.disabled || o.loading,
131
131
  role: "button"
132
- }, i.$attrs), w({
133
- icon: p(() => [
134
- d(J, { name: "fade" }, {
135
- default: p(() => [
136
- d(f, {
132
+ }, e.$attrs), z({
133
+ icon: m(() => [
134
+ $(Y, { name: "fade" }, {
135
+ default: m(() => [
136
+ $(k, {
137
137
  spin: o.loading,
138
- name: t(r),
139
- size: t(a)
138
+ name: n(l),
139
+ size: n(a)
140
140
  }, null, 8, ["spin", "name", "size"])
141
141
  ]),
142
142
  _: 1
143
143
  })
144
144
  ]),
145
- default: p(() => [
146
- U(" " + C(e.keyword) + " ", 1)
145
+ default: m(() => [
146
+ q(" " + B(t.keyword) + " ", 1)
147
147
  ]),
148
148
  _: 2
149
149
  }, [
150
- x(i.$slots, (g, y) => ({
150
+ I(e.$slots, (g, y) => ({
151
151
  name: y,
152
- fn: p(() => [
153
- b(i.$slots, y)
152
+ fn: m(() => [
153
+ C(e.$slots, y)
154
154
  ])
155
155
  }))
156
156
  ]), 1040, ["class", "disabled"]));
157
157
  }
158
158
  });
159
- const cs = {
159
+ const gs = {
160
160
  key: 0,
161
161
  class: "ma-toggle__titles"
162
- }, gs = {
162
+ }, ms = {
163
163
  key: 0,
164
164
  class: "ma-toggle__titles__title"
165
- }, ps = {
165
+ }, us = {
166
166
  key: 1,
167
167
  class: "ma-toggle__titles__sub-title"
168
- }, ms = {
168
+ }, vs = {
169
169
  name: "MaToggle"
170
- }, Os = /* @__PURE__ */ h({
171
- ...ms,
170
+ }, Js = /* @__PURE__ */ b({
171
+ ...vs,
172
172
  props: {
173
173
  size: { default: "default" },
174
174
  disabled: { type: Boolean },
@@ -180,46 +180,46 @@ const cs = {
180
180
  subTitle: null
181
181
  },
182
182
  emits: ["click", "change"],
183
- setup(e, { emit: o }) {
184
- const s = e, r = c({
183
+ setup(t, { emit: o }) {
184
+ const s = t, l = p({
185
185
  get() {
186
186
  return s.checked;
187
187
  },
188
- set(i) {
189
- o("change", i);
188
+ set(e) {
189
+ o("change", e);
190
190
  }
191
- }), a = c(() => [
191
+ }), a = p(() => [
192
192
  "ma-toggle",
193
193
  `ma-toggle--${s.size}`,
194
194
  {
195
195
  "ma-toggle--disabled": s.disabled
196
196
  }
197
197
  ]);
198
- return (i, n) => (l(), _("div", {
199
- class: z(t(a))
198
+ return (e, c) => (r(), f("div", {
199
+ class: U(n(a))
200
200
  }, [
201
- d(t(W), $({
201
+ $(n(W), w({
202
202
  class: "ma-toggle__switch",
203
- checked: t(r),
204
- "onUpdate:checked": n[0] || (n[0] = (g) => M(r) ? r.value = g : null)
205
- }, i.$attrs, {
206
- onClick: n[1] || (n[1] = (g) => i.$emit("click", g)),
203
+ checked: n(l),
204
+ "onUpdate:checked": c[0] || (c[0] = (g) => F(l) ? l.value = g : null)
205
+ }, e.$attrs, {
206
+ onClick: c[1] || (c[1] = (g) => e.$emit("click", g)),
207
207
  disabled: s.disabled,
208
208
  loading: s.loading,
209
209
  checkedChildren: s.checkedChildren,
210
210
  unCheckedChildren: s.unCheckedChildren
211
211
  }), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
212
- s.title || s.subTitle ? (l(), _("div", cs, [
213
- s.title ? (l(), _("span", gs, C(s.title), 1)) : u("", !0),
214
- s.subTitle ? (l(), _("span", ps, C(s.subTitle), 1)) : u("", !0)
215
- ])) : u("", !0)
212
+ s.title || s.subTitle ? (r(), f("div", gs, [
213
+ s.title ? (r(), f("span", ms, B(s.title), 1)) : h("", !0),
214
+ s.subTitle ? (r(), f("span", us, B(s.subTitle), 1)) : h("", !0)
215
+ ])) : h("", !0)
216
216
  ], 2));
217
217
  }
218
218
  });
219
- const us = ["aria-checked", "disabled"], vs = {
219
+ const ds = ["aria-checked", "disabled"], fs = {
220
220
  name: "MaSwitch"
221
- }, Rs = /* @__PURE__ */ h({
222
- ...vs,
221
+ }, Ks = /* @__PURE__ */ b({
222
+ ...fs,
223
223
  props: {
224
224
  active: null,
225
225
  leftIcon: null,
@@ -233,56 +233,56 @@ const us = ["aria-checked", "disabled"], vs = {
233
233
  "click",
234
234
  "change"
235
235
  ],
236
- setup(e, { emit: o }) {
237
- const s = e, r = c({
236
+ setup(t, { emit: o }) {
237
+ const s = t, l = p({
238
238
  get() {
239
239
  return s.active;
240
240
  },
241
- set(n) {
242
- o("change", n);
241
+ set(c) {
242
+ o("change", c);
243
243
  }
244
- }), a = c(() => [
244
+ }), a = p(() => [
245
245
  "ma-switch",
246
246
  `ma-switch--${s.type}`,
247
247
  {
248
248
  "ma-switch--disabled": s.disabled
249
249
  }
250
- ]), i = (n) => {
251
- s.disabled || (r.value = n);
250
+ ]), e = (c) => {
251
+ s.disabled || (l.value = c);
252
252
  };
253
- return (n, g) => (l(), _("button", $(n.$attrs, {
254
- class: t(a),
253
+ return (c, g) => (r(), f("button", w(c.$attrs, {
254
+ class: n(a),
255
255
  type: "button",
256
256
  role: "switch",
257
- "aria-checked": t(r) === s.rightValue,
257
+ "aria-checked": n(l) === s.rightValue,
258
258
  disabled: s.disabled
259
259
  }), [
260
- N("span", {
261
- class: z({ active: s.active === s.leftValue }),
262
- onClick: g[0] || (g[0] = (y) => i(s.leftValue))
260
+ A("span", {
261
+ class: U({ active: s.active === s.leftValue }),
262
+ onClick: g[0] || (g[0] = (y) => e(s.leftValue))
263
263
  }, [
264
- d(f, {
264
+ $(k, {
265
265
  name: s.leftIcon
266
266
  }, null, 8, ["name"])
267
267
  ], 2),
268
- N("span", {
269
- class: z({ active: s.active === s.rightValue }),
270
- onClick: g[1] || (g[1] = (y) => i(s.rightValue))
268
+ A("span", {
269
+ class: U({ active: s.active === s.rightValue }),
270
+ onClick: g[1] || (g[1] = (y) => e(s.rightValue))
271
271
  }, [
272
- d(f, {
272
+ $(k, {
273
273
  name: s.rightIcon
274
274
  }, null, 8, ["name"])
275
275
  ], 2)
276
- ], 16, us));
276
+ ], 16, ds));
277
277
  }
278
278
  });
279
- const fs = { class: "ma-tooltip-overlay__content" }, ds = { class: "ma-tooltip-overlay__content__title" }, _s = {
279
+ const _s = { class: "ma-tooltip-overlay__content" }, ys = { class: "ma-tooltip-overlay__content__title" }, hs = {
280
280
  key: 0,
281
281
  class: "ma-tooltip-overlay__content__description"
282
- }, ys = {
282
+ }, bs = {
283
283
  name: "MaTooltip"
284
- }, Es = /* @__PURE__ */ h({
285
- ...ys,
284
+ }, Ys = /* @__PURE__ */ b({
285
+ ...bs,
286
286
  props: {
287
287
  placement: { default: "top" },
288
288
  type: { default: "secondary" },
@@ -293,92 +293,104 @@ const fs = { class: "ma-tooltip-overlay__content" }, ds = { class: "ma-tooltip-o
293
293
  closable: { type: Boolean },
294
294
  defaultVisible: { type: Boolean, default: !1 }
295
295
  },
296
- setup(e) {
297
- const o = e, s = c(() => [
296
+ setup(t) {
297
+ const o = t, s = p(() => [
298
298
  "ma-tooltip",
299
299
  `ma-tooltip--${o.type}`,
300
300
  `ma-tooltip--${o.placement}`
301
- ]), r = c(() => [
301
+ ]), l = p(() => [
302
302
  "ma-tooltip-overlay",
303
303
  `ma-tooltip-overlay--${o.type}`,
304
304
  `ma-tooltip-overlay--${o.placement}`
305
- ].join(" ")), a = P(o.defaultVisible), i = () => {
305
+ ].join(" ")), a = j(o.defaultVisible), e = () => {
306
306
  a.value = !1;
307
307
  };
308
- return (n, g) => (l(), m(t(K), $(n.$attrs, {
309
- class: t(s),
308
+ return (c, g) => (r(), d(n(Q), w(c.$attrs, {
309
+ class: n(s),
310
310
  placement: o.placement,
311
311
  trigger: o.trigger,
312
- overlayClassName: t(r),
312
+ overlayClassName: n(l),
313
313
  visible: a.value,
314
314
  "onUpdate:visible": g[0] || (g[0] = (y) => a.value = y)
315
- }), w({
316
- title: p(() => [
317
- o.icon ? (l(), m(f, {
315
+ }), z({
316
+ title: m(() => [
317
+ o.icon ? (r(), d(k, {
318
318
  key: 0,
319
319
  size: "xs",
320
320
  name: o.icon
321
- }, null, 8, ["name"])) : u("", !0),
322
- N("div", fs, [
323
- N("span", ds, C(o.title), 1),
324
- o?.description ? (l(), _("span", _s, C(o.description), 1)) : u("", !0)
321
+ }, null, 8, ["name"])) : h("", !0),
322
+ A("div", _s, [
323
+ A("span", ys, B(o.title), 1),
324
+ o?.description ? (r(), f("span", hs, B(o.description), 1)) : h("", !0)
325
325
  ]),
326
- o.closable ? (l(), m(f, {
326
+ o.closable ? (r(), d(k, {
327
327
  key: 1,
328
- onClick: i,
328
+ onClick: e,
329
329
  class: "ma-tooltip-overlay__close",
330
330
  size: "xs",
331
331
  name: "close"
332
- })) : u("", !0)
332
+ })) : h("", !0)
333
333
  ]),
334
334
  _: 2
335
335
  }, [
336
- x(n.$slots, (y, v) => ({
337
- name: v,
338
- fn: p(() => [
339
- b(n.$slots, v)
336
+ I(c.$slots, (y, V) => ({
337
+ name: V,
338
+ fn: m(() => [
339
+ C(c.$slots, V)
340
340
  ])
341
341
  }))
342
342
  ]), 1040, ["class", "placement", "trigger", "overlayClassName", "visible"]));
343
343
  }
344
344
  });
345
- const hs = {
345
+ const ks = {
346
346
  name: "MaForm"
347
- }, Ds = /* @__PURE__ */ h({
348
- ...hs,
349
- setup(e) {
350
- return (o, s) => (l(), m(t(Q), F(j(o.$attrs)), w({ _: 2 }, [
351
- x(o.$slots, (r, a) => ({
347
+ }, Hs = /* @__PURE__ */ b({
348
+ ...ks,
349
+ setup(t) {
350
+ return (o, s) => (r(), d(n(X), T(O(o.$attrs)), z({ _: 2 }, [
351
+ I(o.$slots, (l, a) => ({
352
352
  name: a,
353
- fn: p(() => [
354
- b(o.$slots, a)
353
+ fn: m(() => [
354
+ C(o.$slots, a)
355
355
  ])
356
356
  }))
357
357
  ]), 1040));
358
358
  }
359
359
  });
360
- const bs = {
360
+ const $s = {
361
361
  name: "MaFormItem"
362
- }, Gs = /* @__PURE__ */ h({
363
- ...bs,
364
- setup(e) {
365
- return (o, s) => (l(), m(t(X), F(j(o.$attrs)), w({ _: 2 }, [
366
- x(o.$slots, (r, a) => ({
362
+ }, Ws = /* @__PURE__ */ b({
363
+ ...$s,
364
+ setup(t) {
365
+ return (o, s) => (r(), d(n(Z), T(O(o.$attrs)), z({ _: 2 }, [
366
+ I(o.$slots, (l, a) => ({
367
367
  name: a,
368
- fn: p(() => [
369
- b(o.$slots, a)
368
+ fn: m(() => [
369
+ C(o.$slots, a)
370
370
  ])
371
371
  }))
372
372
  ]), 1040));
373
373
  }
374
- }), ks = {
374
+ });
375
+ var N = /* @__PURE__ */ ((t) => (t.text = "text", t.password = "password", t.textarea = "textarea", t.number = "number", t.email = "email", t.url = "url", t.tel = "tel", t.amount = "amount", t.creditCard = "creditCard", t.userInfo = "userInfo", t))(N || {}), J = /* @__PURE__ */ ((t) => (t.small = "small", t.medium = "medium", t.large = "large", t))(J || {});
376
+ const Cs = {
377
+ usd: "$",
378
+ eur: "€",
379
+ gbp: "£",
380
+ jpy: "¥"
381
+ }, ws = [
382
+ { label: "USD", value: "USD" },
383
+ { label: "EUR", value: "EUR" },
384
+ { label: "GBP", value: "GBP" },
385
+ { label: "JPY", value: "JPY" }
386
+ ], Is = {
375
387
  name: "MaAvatar"
376
- }, $s = /* @__PURE__ */ h({
377
- ...ks,
378
- setup(e) {
379
- return (o, s) => (l(), m(t(Z), F(j(o.$attrs)), null, 16));
388
+ }, xs = /* @__PURE__ */ b({
389
+ ...Is,
390
+ setup(t) {
391
+ return (o, s) => (r(), d(n(ss), T(O(o.$attrs)), null, 16));
380
392
  }
381
- }), Cs = /* @__PURE__ */ h({
393
+ }), Bs = /* @__PURE__ */ b({
382
394
  __name: "dropdownRender",
383
395
  props: {
384
396
  menu: {
@@ -391,40 +403,39 @@ const bs = {
391
403
  }
392
404
  },
393
405
  emits: ["update:filter"],
394
- setup(e, { emit: o }) {
395
- const s = e, r = (i, { attrs: n }) => n.vnodes, a = c({
406
+ setup(t, { emit: o }) {
407
+ const s = t, l = (e, { attrs: c }) => c.vnodes, a = p({
396
408
  get() {
397
409
  return s.filter;
398
410
  },
399
- //TODO this will change, after input component refactor! and ma-icon integration for input!
400
- set(i) {
401
- typeof i == "string" ? o("update:filter", i) : o("update:filter", i.target.value);
411
+ set(e) {
412
+ o("update:filter", e);
402
413
  }
403
414
  });
404
- return (i, n) => (l(), _(Y, null, [
405
- d(Ms, {
406
- value: t(a),
407
- "onUpdate:value": n[0] || (n[0] = (g) => M(a) ? a.value = g : null),
408
- modelValue: t(a),
415
+ return (e, c) => (r(), f(E, null, [
416
+ $(Us, {
417
+ modelValue: n(a),
418
+ "onUpdate:modelValue": c[0] || (c[0] = (g) => F(a) ? a.value = g : null),
409
419
  autofocus: "",
410
420
  placeholder: "Search"
411
- }, null, 8, ["value", "modelValue"]),
412
- d(r, { vnodes: e.menu }, null, 8, ["vnodes"])
421
+ }, null, 8, ["modelValue"]),
422
+ $(l, { vnodes: t.menu }, null, 8, ["vnodes"])
413
423
  ], 64));
414
424
  }
415
- }), ws = {
425
+ }), zs = {
416
426
  key: 0,
417
427
  class: "prefix-icon"
418
- }, xs = {
428
+ }, Ss = {
419
429
  name: "MaSelect"
420
- }, Is = /* @__PURE__ */ h({
421
- ...xs,
430
+ }, Vs = /* @__PURE__ */ b({
431
+ ...Ss,
422
432
  props: {
423
433
  allowClear: { type: Boolean },
424
434
  autoClearSearchValue: { type: Boolean, default: !0 },
425
435
  autofocus: { type: Boolean },
426
436
  clearIcon: null,
427
437
  defaultOpen: { type: Boolean },
438
+ dropdownClassName: null,
428
439
  disabled: { type: Boolean },
429
440
  loading: { type: Boolean },
430
441
  menuItemSelectedIcon: { default: "check" },
@@ -445,122 +456,123 @@ const bs = {
445
456
  emits: [
446
457
  "update:value"
447
458
  ],
448
- setup(e, { emit: o }) {
449
- const s = e, r = H(), a = P(s?.searchValue), i = P(s.open), n = c(() => !s?.mode && s?.showSearch), g = c({
459
+ setup(t, { emit: o }) {
460
+ const s = t, l = H(), a = j(s?.searchValue), e = j(s.open), c = p(() => !s?.mode && s?.showSearch), g = p({
450
461
  get() {
451
462
  return s.value;
452
463
  },
453
- set(k) {
454
- o("update:value", k);
464
+ set(i) {
465
+ o("update:value", i);
455
466
  }
456
- }), y = c(() => [
467
+ }), y = p(() => [
457
468
  "ma-select",
458
469
  `ma-select--${s.size}`,
459
470
  {
460
- "ma-select--has-prefix": s.mode ? !1 : r?.prefixIcon || s?.prefixIcon
471
+ "ma-select--has-prefix": s.mode ? !1 : l?.prefixIcon || s?.prefixIcon
461
472
  },
462
473
  {
463
474
  "ma-select--selected": Array.isArray(g.value) ? g.value.length : g.value
464
475
  },
465
476
  {
466
- "ma-select--custom-render": n
477
+ "ma-select--custom-render": c
467
478
  }
468
- ]), v = c(() => [
479
+ ]), V = p(() => [
480
+ s?.dropdownClassName,
469
481
  "ma-select-dropdown",
470
- !s?.mode && (r?.prefixIcon || s?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
471
- ].join(" ")), q = c(() => s?.loading ? "loader" : s?.suffixIcon), R = () => {
472
- i.value = !0;
473
- }, E = (k) => {
474
- i.value = k, a.value = "";
475
- }, D = c(() => !n.value && s?.showSearch);
476
- return (k, B) => (l(), m(t(ss), $({
477
- value: t(g),
478
- "onUpdate:value": B[1] || (B[1] = (V) => M(g) ? g.value = V : null)
479
- }, k.$attrs, {
480
- class: t(y),
482
+ !s?.mode && (l?.prefixIcon || s?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
483
+ ].join(" ")), P = p(() => s?.loading ? "loader" : s?.suffixIcon), M = () => {
484
+ e.value = !0;
485
+ }, v = (i) => {
486
+ e.value = i, a.value = "";
487
+ }, x = p(() => !c.value && s?.showSearch);
488
+ return (i, u) => (r(), d(n(os), w({
489
+ value: n(g),
490
+ "onUpdate:value": u[1] || (u[1] = (_) => F(g) ? g.value = _ : null)
491
+ }, i.$attrs, {
492
+ class: n(y),
481
493
  allowClear: s?.allowClear,
482
494
  autoClearSearchValue: s?.autoClearSearchValue,
483
495
  autofocus: s?.autofocus,
484
496
  defaultOpen: s?.defaultOpen,
485
497
  disabled: s?.disabled || s?.loading,
486
- dropdownClassName: t(v),
498
+ dropdownClassName: n(V),
487
499
  loading: s?.loading,
488
500
  optionFilterProp: s?.optionFilterProp,
489
501
  optionLabelProp: s?.optionLabelProp,
490
502
  options: s?.options,
491
503
  placeholder: s?.placeholder,
492
504
  searchValue: a.value || void 0,
493
- showSearch: t(D),
505
+ showSearch: n(x),
494
506
  mode: s?.mode,
495
507
  size: s?.size,
496
- open: i.value,
497
- onClick: R,
498
- onDropdownVisibleChange: E
499
- }), w({
500
- suffixIcon: p(() => [
501
- d(f, {
508
+ open: e.value,
509
+ onClick: M,
510
+ onDropdownVisibleChange: v
511
+ }), z({
512
+ suffixIcon: m(() => [
513
+ $(k, {
502
514
  spin: s?.loading,
503
- name: t(q) || "chevron-down"
515
+ name: n(P) || "chevron-down"
504
516
  }, null, 8, ["spin", "name"]),
505
- k.$slots?.prefixIcon || s?.prefixIcon ? (l(), _("div", ws, [
506
- b(k.$slots, "prefixIcon", {}, () => [
507
- s?.prefixIcon ? (l(), m(f, {
517
+ i.$slots?.prefixIcon || s?.prefixIcon ? (r(), f("div", zs, [
518
+ C(i.$slots, "prefixIcon", {}, () => [
519
+ s?.prefixIcon ? (r(), d(k, {
508
520
  key: 0,
509
521
  name: s?.prefixIcon
510
- }, null, 8, ["name"])) : u("", !0)
522
+ }, null, 8, ["name"])) : h("", !0)
511
523
  ])
512
- ])) : u("", !0)
524
+ ])) : h("", !0)
513
525
  ]),
514
- removeIcon: p(() => [
515
- d(f, {
526
+ removeIcon: m(() => [
527
+ $(k, {
516
528
  name: s?.removeIcon || "close"
517
529
  }, null, 8, ["name"])
518
530
  ]),
519
531
  _: 2
520
532
  }, [
521
- x(k.$slots, (V, S) => ({
533
+ I(i.$slots, (_, S) => ({
522
534
  name: S,
523
- fn: p(() => [
524
- b(k.$slots, S)
535
+ fn: m(() => [
536
+ C(i.$slots, S)
525
537
  ])
526
538
  })),
527
539
  s?.clearIcon ? {
528
540
  name: "clearIcon",
529
- fn: p(() => [
530
- s?.clearIcon ? (l(), m(f, {
541
+ fn: m(() => [
542
+ s?.clearIcon ? (r(), d(k, {
531
543
  key: 0,
532
544
  name: s?.clearIcon
533
- }, null, 8, ["name"])) : u("", !0)
545
+ }, null, 8, ["name"])) : h("", !0)
534
546
  ]),
535
547
  key: "0"
536
548
  } : void 0,
537
549
  s?.menuItemSelectedIcon ? {
538
550
  name: "menuItemSelectedIcon",
539
- fn: p(() => [
540
- d(f, {
551
+ fn: m(() => [
552
+ $(k, {
541
553
  name: s?.menuItemSelectedIcon
542
554
  }, null, 8, ["name"])
543
555
  ]),
544
556
  key: "1"
545
557
  } : void 0,
546
- k.$slots.notFoundContent ? void 0 : {
558
+ i.$slots.notFoundContent ? void 0 : {
547
559
  name: "notFoundContent",
548
- fn: p(() => [
549
- d(f, {
560
+ fn: m(() => [
561
+ $(k, {
550
562
  size: "sm",
551
563
  name: "warning"
552
564
  }),
553
- U(" No result found! ")
565
+ q(" No result found! ")
554
566
  ]),
555
567
  key: "2"
556
568
  },
557
- t(n) && i.value ? {
569
+ n(c) && e.value ? {
558
570
  name: "dropdownRender",
559
- fn: p(({ menuNode: V }) => [
560
- d(Cs, {
571
+ fn: m(({ menuNode: _ }) => [
572
+ $(Bs, {
561
573
  filter: a.value,
562
- "onUpdate:filter": B[0] || (B[0] = (S) => a.value = S),
563
- menu: V
574
+ "onUpdate:filter": u[0] || (u[0] = (S) => a.value = S),
575
+ menu: _
564
576
  }, null, 8, ["filter", "menu"])
565
577
  ]),
566
578
  key: "3"
@@ -568,32 +580,26 @@ const bs = {
568
580
  ]), 1040, ["value", "class", "allowClear", "autoClearSearchValue", "autofocus", "defaultOpen", "disabled", "dropdownClassName", "loading", "optionFilterProp", "optionLabelProp", "options", "placeholder", "searchValue", "showSearch", "mode", "size", "open"]));
569
581
  }
570
582
  });
571
- const zs = [
572
- { label: "USD", value: "USD" },
573
- { label: "EUR", value: "EUR" },
574
- { label: "GBP", value: "GBP" },
575
- { label: "JPY", value: "JPY" }
576
- ];
577
- var I = /* @__PURE__ */ ((e) => (e.text = "text", e.password = "password", e.textarea = "textarea", e.number = "number", e.email = "email", e.url = "url", e.tel = "tel", e.amount = "amount", e.creditCard = "creditCard", e.userInfo = "userInfo", e))(I || {}), O = /* @__PURE__ */ ((e) => (e.small = "small", e.medium = "medium", e.large = "large", e))(O || {});
578
- const Bs = {
583
+ const Ns = {
579
584
  key: 0,
580
585
  class: "ma-input__title"
581
- }, Vs = {
586
+ }, Ps = {
582
587
  key: 1,
583
588
  class: "ma-input__wrapper"
584
- }, Ss = {
589
+ }, Ms = {
585
590
  key: 2,
586
591
  class: "ma-input__textarea-wrapper"
587
- }, Ns = {
592
+ }, Fs = {
588
593
  key: 3,
589
594
  class: "ma-input__hint-text"
590
- }, Ps = {
595
+ }, js = {
591
596
  name: "MaInput"
592
- }, Ms = /* @__PURE__ */ h({
593
- ...Ps,
597
+ }, Us = /* @__PURE__ */ b({
598
+ ...js,
594
599
  props: {
595
- type: { default: I.text },
596
- size: { default: O.small },
600
+ allowClear: { type: Boolean },
601
+ type: { default: N.text },
602
+ size: { default: J.small },
597
603
  title: null,
598
604
  hintText: null,
599
605
  hasError: { type: Boolean },
@@ -602,14 +608,20 @@ const Bs = {
602
608
  addonBefore: null,
603
609
  addonAfter: null,
604
610
  avatarUrl: null,
605
- modelValue: null,
611
+ value: null,
606
612
  amountCurrency: null,
607
- amountCurrencySymbol: null,
608
- hint: null
613
+ hint: null,
614
+ prefixIcon: null,
615
+ suffixIcon: null
609
616
  },
610
- emits: ["change", "currency-change", "update:value"],
611
- setup(e, { emit: o }) {
612
- const s = e, r = c(() => s.type === I.amount || s.type === I.creditCard ? "number" : s.type === I.userInfo ? "text" : s.type), a = c(() => [
617
+ emits: [
618
+ "change",
619
+ "currency-change",
620
+ "update:value",
621
+ "update:amountCurrency"
622
+ ],
623
+ setup(t, { emit: o }) {
624
+ const s = t, l = p(() => [N.amount, N.creditCard].includes(s.type) ? "number" : s.type === N.userInfo ? "text" : s.type), a = p(() => [
613
625
  `ma-input ma-input--${s.type} ma-input--${s.size}`,
614
626
  {
615
627
  "ma-input--has-error": s.hasError
@@ -617,159 +629,280 @@ const Bs = {
617
629
  {
618
630
  "ma-input--disabled": s.disabled
619
631
  }
620
- ]), i = c(() => s.type === I.amount ? s.amountCurrencySymbol : void 0), n = c(() => {
621
- let v = {
622
- placeholder: s.placeholder,
623
- disabled: s.disabled,
624
- addonBefore: s.addonBefore || s.type === "url" ? "https://" : void 0,
625
- addonAfter: s.addonAfter,
626
- bordered: !1
627
- };
628
- return s.type !== "textarea" && (v = {
629
- ...v,
630
- prefix: i.value
631
- }), v;
632
- }), g = (v) => {
633
- o("change", v), o("update:value", v);
634
- }, y = (v) => {
632
+ ]), e = p({
633
+ get() {
634
+ return s.value;
635
+ },
636
+ set(v) {
637
+ o("update:value", v);
638
+ }
639
+ }), c = p(() => s.amountCurrency ? Cs[s.amountCurrency.toLowerCase()] : null), g = p({
640
+ get() {
641
+ return s.amountCurrency;
642
+ },
643
+ set(v) {
644
+ o("update:amountCurrency", v);
645
+ }
646
+ }), y = p(() => s.type === N.password ? es : ts), V = p(() => s.type === N.url ? "https" : s?.addonBefore), P = (v) => {
647
+ o("change", v);
648
+ }, M = (v) => {
635
649
  o("currency-change", v);
636
650
  };
637
- return (v, q) => (l(), _("div", {
638
- class: z(t(a))
651
+ return (v, x) => (r(), f("div", {
652
+ class: U(n(a))
639
653
  }, [
640
- b(v.$slots, "title"),
641
- s.title ? (l(), _("div", Bs, C(s.title), 1)) : u("", !0),
642
- s.type !== "textarea" ? (l(), _("div", Vs, [
643
- d(t(os), $({
644
- type: t(r),
645
- value: s.modelValue
646
- }, t(n), {
654
+ C(v.$slots, "title"),
655
+ s.title ? (r(), f("div", Ns, B(s.title), 1)) : h("", !0),
656
+ s.type !== "textarea" ? (r(), f("div", Ps, [
657
+ (r(), d(L(n(y)), w({
658
+ value: n(e),
659
+ "onUpdate:value": x[1] || (x[1] = (i) => F(e) ? e.value = i : null)
660
+ }, v.$attrs, {
661
+ allowClear: s?.allowClear,
662
+ type: n(l),
663
+ disabled: s?.disabled,
664
+ placeholder: s?.placeholder,
665
+ addonBefore: n(V),
666
+ addonAfter: t.addonAfter,
647
667
  class: "ma-input__input",
648
- onChange: g
649
- }), w({
650
- prefix: p(() => [
651
- s.type === "email" ? (l(), m(f, {
668
+ onChange: P
669
+ }), z({
670
+ prefix: m(() => [
671
+ s.prefixIcon ? (r(), d(k, {
652
672
  key: 0,
653
- name: "message-text"
654
- })) : u("", !0),
655
- s.type === "creditCard" ? (l(), m(f, {
656
- key: 1,
657
- name: "pay-mastercard"
658
- })) : u("", !0),
659
- s.type === "userInfo" ? (l(), m($s, {
673
+ name: s.prefixIcon
674
+ }, null, 8, ["name"])) : n(c) ? (r(), f(E, { key: 1 }, [
675
+ q(B(n(c)), 1)
676
+ ], 64)) : s.type === n(N).userInfo ? (r(), d(xs, {
660
677
  key: 2,
661
- size: 20,
662
678
  src: s.avatarUrl,
663
679
  disabled: s.disabled
664
- }, null, 8, ["src", "disabled"])) : u("", !0)
680
+ }, null, 8, ["src", "disabled"])) : h("", !0)
665
681
  ]),
666
682
  _: 2
667
683
  }, [
684
+ I(v.$slots, (i, u) => ({
685
+ name: u,
686
+ fn: m(() => [
687
+ C(v.$slots, u)
688
+ ])
689
+ })),
668
690
  s.type === "amount" ? {
669
691
  name: "suffix",
670
- fn: p(() => [
671
- s.type === "amount" ? (l(), m(Is, {
692
+ fn: m(() => [
693
+ s.type === "amount" ? (r(), d(Vs, {
672
694
  key: 0,
673
- options: t(zs),
674
- value: s.amountCurrency,
675
- bordered: !1,
695
+ value: n(g),
696
+ "onUpdate:value": x[0] || (x[0] = (i) => F(g) ? g.value = i : null),
697
+ onChange: M,
698
+ dropdownClassName: "ma-input__input__ma-select__dropdown",
699
+ options: n(ws),
676
700
  disabled: s.disabled,
677
- size: "small",
678
- onChange: y
679
- }, {
680
- suffixIcon: p(() => [
681
- d(f, { name: "chevron-down" })
682
- ]),
683
- _: 1
684
- }, 8, ["options", "value", "disabled"])) : u("", !0)
701
+ size: "small"
702
+ }, null, 8, ["value", "options", "disabled"])) : h("", !0)
685
703
  ]),
686
704
  key: "0"
687
705
  } : void 0
688
- ]), 1040, ["type", "value"])
689
- ])) : (l(), _("div", Ss, [
690
- d(t(es), $({
691
- value: s.modelValue
692
- }, t(n), {
706
+ ]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter"]))
707
+ ])) : (r(), f("div", Ms, [
708
+ $(n(ns), w({
709
+ value: n(e),
710
+ "onUpdate:value": x[2] || (x[2] = (i) => F(e) ? e.value = i : null)
711
+ }, v.$attrs, {
693
712
  class: "ma-input__input",
694
- onChange: g,
713
+ onChange: P,
695
714
  rows: 5
696
- }), null, 16, ["value"])
715
+ }), z({ _: 2 }, [
716
+ I(v.$slots, (i, u) => ({
717
+ name: u,
718
+ fn: m(() => [
719
+ C(v.$slots, u)
720
+ ])
721
+ }))
722
+ ]), 1040, ["value"])
697
723
  ])),
698
- b(v.$slots, "hint"),
699
- s.hintText ? (l(), _("div", Ns, C(s.hintText), 1)) : u("", !0)
724
+ C(v.$slots, "hint"),
725
+ s.hintText ? (r(), f("div", Fs, B(s.hintText), 1)) : h("", !0)
700
726
  ], 2));
701
727
  }
702
728
  });
703
- const Fs = {
729
+ const As = {
704
730
  name: "MaCheckbox"
705
- }, Ls = /* @__PURE__ */ h({
706
- ...Fs,
731
+ }, Qs = /* @__PURE__ */ b({
732
+ ...As,
707
733
  props: {
708
734
  hint: null,
709
735
  indeterminate: { type: Boolean, default: void 0 },
710
736
  disabled: { type: Boolean }
711
737
  },
712
- setup(e) {
713
- const o = e, s = c(() => [
738
+ setup(t) {
739
+ const o = t, s = p(() => [
714
740
  "ma-checkbox",
715
741
  {
716
742
  "ma-checkbox--intermediate": typeof o?.indeterminate == "boolean"
717
743
  }
718
744
  ]);
719
- return (r, a) => (l(), m(t(ts), $(r.$attrs, {
720
- class: t(s),
745
+ return (l, a) => (r(), d(n(as), w(l.$attrs, {
746
+ class: n(s),
721
747
  disabled: o?.disabled,
722
748
  indeterminate: o?.indeterminate
723
- }), w({ _: 2 }, [
724
- x(r.$slots, (i, n) => ({
725
- name: n,
726
- fn: p(() => [
727
- b(r.$slots, n),
728
- o.hint ? (l(), _("div", {
729
- key: n,
749
+ }), z({ _: 2 }, [
750
+ I(l.$slots, (e, c) => ({
751
+ name: c,
752
+ fn: m(() => [
753
+ C(l.$slots, c),
754
+ o.hint ? (r(), f("div", {
755
+ key: c,
730
756
  class: "ma-checkbox__hint-text"
731
- }, C(o.hint), 1)) : u("", !0)
757
+ }, B(o.hint), 1)) : h("", !0)
732
758
  ])
733
759
  }))
734
760
  ]), 1040, ["class", "disabled", "indeterminate"]));
735
761
  }
736
762
  });
737
- const js = {
763
+ const Ds = {
738
764
  name: "MaCheckboxGroup"
739
- }, Js = /* @__PURE__ */ h({
740
- ...js,
765
+ }, Xs = /* @__PURE__ */ b({
766
+ ...Ds,
741
767
  props: {
742
768
  hint: null,
743
769
  disabled: { type: Boolean }
744
770
  },
745
- setup(e) {
746
- const o = e;
747
- return (s, r) => (l(), m(t(is), $({ class: "ma-checkbox-group" }, s.$attrs), w({ _: 2 }, [
748
- x(s.$slots, (a, i) => ({
749
- name: i,
750
- fn: p(() => [
751
- b(s.$slots, i),
752
- o.hint ? (l(), _("div", {
753
- key: i,
771
+ setup(t) {
772
+ const o = t;
773
+ return (s, l) => (r(), d(n(is), w({ class: "ma-checkbox-group" }, s.$attrs), z({ _: 2 }, [
774
+ I(s.$slots, (a, e) => ({
775
+ name: e,
776
+ fn: m(() => [
777
+ C(s.$slots, e),
778
+ o.hint ? (r(), f("div", {
779
+ key: e,
754
780
  class: "ma-checkbox__hint-text"
755
- }, C(o.hint), 1)) : u("", !0)
781
+ }, B(o.hint), 1)) : h("", !0)
756
782
  ])
757
783
  }))
758
784
  ]), 1040));
759
785
  }
786
+ }), qs = ["value"], Ts = /* @__PURE__ */ b({
787
+ __name: "singleNumericInput",
788
+ props: {
789
+ value: { default: "" },
790
+ focus: { type: Boolean, default: !1 }
791
+ },
792
+ emits: ["update:value"],
793
+ setup(t, { emit: o }) {
794
+ const s = t, l = j(null);
795
+ D(
796
+ () => s.focus,
797
+ (e) => {
798
+ e && l.value.focus();
799
+ }
800
+ );
801
+ const a = (e) => {
802
+ o("update:value", e.target.value);
803
+ };
804
+ return (e, c) => (r(), f("input", w(e.$attrs, {
805
+ value: s.value,
806
+ onInput: a,
807
+ ref_key: "input",
808
+ ref: l,
809
+ type: "number",
810
+ min: "0",
811
+ max: "9",
812
+ maxlength: "1",
813
+ pattern: "[0-9]"
814
+ }), null, 16, qs));
815
+ }
816
+ }), Os = {
817
+ name: "MaNumericInput"
818
+ }, Zs = /* @__PURE__ */ b({
819
+ ...Os,
820
+ props: {
821
+ disabled: { type: Boolean },
822
+ length: { default: 6 },
823
+ hasError: { type: Boolean },
824
+ value: { default: "" },
825
+ placeholderStatus: { type: Boolean, default: !0 },
826
+ size: { default: "medium" }
827
+ },
828
+ emits: ["update:value"],
829
+ setup(t, { emit: o }) {
830
+ const s = t, l = j(null), a = j(Array.from({ length: s.length }, (i, u) => s.value[u] || null)), e = p(() => [
831
+ "ma-numeric-input",
832
+ `ma-numeric-input--${s.size}`,
833
+ {
834
+ "ma-numeric-input--has-error": s?.hasError
835
+ },
836
+ {
837
+ "ma-numeric-input--disabled": s?.disabled
838
+ }
839
+ ]), c = p(() => s?.placeholderStatus ? "0" : null), g = (i) => /^Digit[0-9]$/.test(i), y = (i) => l.value = i, V = (i, u) => {
840
+ switch (i.code) {
841
+ case "Backspace":
842
+ case "Delete":
843
+ v("", u), M();
844
+ break;
845
+ case "ArrowLeft":
846
+ i.preventDefault(), M();
847
+ break;
848
+ case "ArrowRight":
849
+ i.preventDefault(), P();
850
+ break;
851
+ default:
852
+ g(i.code) && (i.preventDefault(), v(i.key, u), P());
853
+ break;
854
+ }
855
+ }, P = () => {
856
+ l.value < s.length && l.value++;
857
+ }, M = () => {
858
+ s.length >= l.value && l.value > 0 && l.value--;
859
+ }, v = (i, u) => {
860
+ a.value[u] = i;
861
+ }, x = (i, u) => {
862
+ i.preventDefault();
863
+ const _ = i.clipboardData.getData("text/plain").replaceAll(" ", "").slice(0, s.length);
864
+ _.length === 1 && _.match(/^\d+$/) ? a.value[u] = _ : _.match(/^\d+$/) && (a.value = _.split(""));
865
+ };
866
+ return D(
867
+ () => a.value,
868
+ (i) => {
869
+ const u = i.join("");
870
+ o("update:value", u);
871
+ },
872
+ { deep: !0 }
873
+ ), D(
874
+ () => s.value,
875
+ (i) => {
876
+ i !== a.value.join("") && i && i.match(/^\d+$/) && (a.value = i.split("").slice(0, s.length));
877
+ }
878
+ ), (i, u) => (r(), f("div", w({ class: n(e) }, i.$attrs), [
879
+ (r(!0), f(E, null, I(s.length, (_) => (r(), d(Ts, {
880
+ focus: l.value === _ - 1,
881
+ key: _,
882
+ placeholder: n(c),
883
+ value: a.value[_ - 1],
884
+ disabled: s.disabled,
885
+ onFocus: (S) => y(_ - 1),
886
+ onKeydown: (S) => V(S, _ - 1),
887
+ onPaste: (S) => x(S, _ - 1),
888
+ class: "ma-numeric-input__input"
889
+ }, null, 8, ["focus", "placeholder", "value", "disabled", "onFocus", "onKeydown", "onPaste"]))), 128))
890
+ ], 16));
891
+ }
760
892
  });
761
893
  export {
762
- Us as MaButton,
763
- Ls as MaCheckbox,
764
- Js as MaCheckboxGroup,
765
- Ds as MaForm,
766
- Gs as MaFormItem,
767
- f as MaIcon,
768
- Ms as MaInput,
769
- Is as MaSelect,
770
- Rs as MaSwitch,
771
- Os as MaToggle,
772
- Es as MaTooltip,
773
- As as MaTrackButton
894
+ Ls as MaButton,
895
+ Qs as MaCheckbox,
896
+ Xs as MaCheckboxGroup,
897
+ Hs as MaForm,
898
+ Ws as MaFormItem,
899
+ k as MaIcon,
900
+ Us as MaInput,
901
+ Zs as MaNumericInput,
902
+ Vs as MaSelect,
903
+ Ks as MaSwitch,
904
+ Js as MaToggle,
905
+ Ys as MaTooltip,
906
+ Gs as MaTrackButton
774
907
  };
775
908
  //# sourceMappingURL=index.es.js.map