@mobileaction/action-kit 0.0.20 → 1.0.0

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.
Files changed (87) hide show
  1. package/dist/add-bold-a590b204.mjs +21 -0
  2. package/dist/add-bold-a590b204.mjs.map +1 -0
  3. package/dist/add-circle-bold-dd840204.mjs +21 -0
  4. package/dist/add-circle-bold-dd840204.mjs.map +1 -0
  5. package/dist/add-circle-db54355c.mjs +24 -0
  6. package/dist/add-circle-db54355c.mjs.map +1 -0
  7. package/dist/android-storefront-b8288fa6.mjs +37 -0
  8. package/dist/android-storefront-b8288fa6.mjs.map +1 -0
  9. package/dist/apple-storefront-934f93c9.mjs +37 -0
  10. package/dist/apple-storefront-934f93c9.mjs.map +1 -0
  11. package/dist/arrow-left-a307564c.mjs +25 -0
  12. package/dist/arrow-left-a307564c.mjs.map +1 -0
  13. package/dist/arrow-left-bold-22660af3.mjs +21 -0
  14. package/dist/arrow-left-bold-22660af3.mjs.map +1 -0
  15. package/dist/calendar-027f7d21.mjs +32 -0
  16. package/dist/calendar-027f7d21.mjs.map +1 -0
  17. package/dist/calendar-bold-f14e2aa4.mjs +21 -0
  18. package/dist/calendar-bold-f14e2aa4.mjs.map +1 -0
  19. package/dist/card-44596069.mjs +32 -0
  20. package/dist/card-44596069.mjs.map +1 -0
  21. package/dist/card-bold-082d635f.mjs +21 -0
  22. package/dist/card-bold-082d635f.mjs.map +1 -0
  23. package/dist/chevron-left-b19ca4eb.mjs +24 -0
  24. package/dist/chevron-left-b19ca4eb.mjs.map +1 -0
  25. package/dist/chevron-right-a8d54d8e.mjs +24 -0
  26. package/dist/chevron-right-a8d54d8e.mjs.map +1 -0
  27. package/dist/close-circle-8362ea8b.mjs +38 -0
  28. package/dist/close-circle-8362ea8b.mjs.map +1 -0
  29. package/dist/close-circle-bold-186ef930.mjs +21 -0
  30. package/dist/close-circle-bold-186ef930.mjs.map +1 -0
  31. package/dist/components/alert/index.vue.d.ts +7 -6
  32. package/dist/components/alert/types.d.ts +4 -11
  33. package/dist/components/app-icon/index.vue.d.ts +40 -0
  34. package/dist/components/app-icon/stories/constants.d.ts +9 -0
  35. package/dist/components/app-icon/stories/default.stories.d.ts +11 -0
  36. package/dist/components/app-icon/types.d.ts +2 -0
  37. package/dist/components/app-track-button/index.vue.d.ts +43 -0
  38. package/dist/components/app-track-button/stories/constants.d.ts +3 -0
  39. package/dist/components/app-track-button/stories/default.stories.d.ts +11 -0
  40. package/dist/components/badge/index.vue.d.ts +16 -13
  41. package/dist/components/badge/stories/blue.stories.d.ts +2 -2
  42. package/dist/components/badge/stories/dark.stories.d.ts +2 -2
  43. package/dist/components/badge/stories/green.stories.d.ts +2 -2
  44. package/dist/components/badge/stories/orange.stories.d.ts +2 -2
  45. package/dist/components/badge/stories/purple.stories.d.ts +2 -2
  46. package/dist/components/badge/stories/red.stories.d.ts +2 -2
  47. package/dist/components/badge/types.d.ts +8 -20
  48. package/dist/components/form/stories/default.stories.d.ts +2 -1
  49. package/dist/components/radio/index.vue.d.ts +6 -8
  50. package/dist/components/radio/types.d.ts +2 -4
  51. package/dist/eye-1763d285.mjs +30 -0
  52. package/dist/eye-1763d285.mjs.map +1 -0
  53. package/dist/eye-bold-a4ee5469.mjs +25 -0
  54. package/dist/eye-bold-a4ee5469.mjs.map +1 -0
  55. package/dist/eye-slash-bold-857e7190.mjs +29 -0
  56. package/dist/eye-slash-bold-857e7190.mjs.map +1 -0
  57. package/dist/eye-slash-edd62efc.mjs +38 -0
  58. package/dist/eye-slash-edd62efc.mjs.map +1 -0
  59. package/dist/index.d.ts +7 -1
  60. package/dist/index.es.js +668 -412
  61. package/dist/index.es.js.map +1 -1
  62. package/dist/index.umd.js +8 -8
  63. package/dist/index.umd.js.map +1 -1
  64. package/dist/message-notif-b29e79d7.mjs +30 -0
  65. package/dist/message-notif-b29e79d7.mjs.map +1 -0
  66. package/dist/password-check-3a237273.mjs +30 -0
  67. package/dist/password-check-3a237273.mjs.map +1 -0
  68. package/dist/search-normal-bold-30371b6f.mjs +21 -0
  69. package/dist/search-normal-bold-30371b6f.mjs.map +1 -0
  70. package/dist/security-card-71d2be90.mjs +47 -0
  71. package/dist/security-card-71d2be90.mjs.map +1 -0
  72. package/dist/security-card-bold-d3a72067.mjs +25 -0
  73. package/dist/security-card-bold-d3a72067.mjs.map +1 -0
  74. package/dist/sms-95584f15.mjs +33 -0
  75. package/dist/sms-95584f15.mjs.map +1 -0
  76. package/dist/sms-bold-1716a26d.mjs +21 -0
  77. package/dist/sms-bold-1716a26d.mjs.map +1 -0
  78. package/dist/style.css +1 -1
  79. package/dist/tick-ad241aa8.mjs +24 -0
  80. package/dist/tick-ad241aa8.mjs.map +1 -0
  81. package/dist/tick-circle-56287e8e.mjs +31 -0
  82. package/dist/tick-circle-56287e8e.mjs.map +1 -0
  83. package/dist/{tick-circle-3cce456e.mjs → tick-circle-bold-3cce456e.mjs} +1 -1
  84. package/dist/tick-circle-bold-3cce456e.mjs.map +1 -0
  85. package/package.json +1 -1
  86. package/dist/components/sandbox/index.vue.d.ts +0 -2
  87. package/dist/tick-circle-3cce456e.mjs.map +0 -1
package/dist/index.es.js CHANGED
@@ -1,47 +1,47 @@
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
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(a.bind(null, new Error("Unknown variable dynamic import: " + o)));
1
+ import { defineComponent as _, computed as p, defineAsyncComponent as Y, openBlock as l, createBlock as d, resolveDynamicComponent as O, unref as a, normalizeClass as P, mergeProps as C, createSlots as B, renderList as x, withCtx as g, renderSlot as b, createCommentVNode as v, createVNode as $, Transition as E, createTextVNode as R, toDisplayString as I, createElementBlock as u, isRef as D, createElementVNode as z, ref as F, normalizeProps as G, guardReactiveProps as L, Fragment as T, useSlots as H, watch as U } from "vue";
2
+ import { Button as J, Switch as W, Tooltip as Q, Form as X, FormItem as Z, Avatar as ss, Select as es, InputPassword as os, Input as ts, Textarea as as, Checkbox as ns, CheckboxGroup as is, Radio as ls, RadioGroup as rs, Alert as cs } from "ant-design-vue";
3
+ const q = (o, e) => {
4
+ const s = o[e];
5
+ return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((n, i) => {
6
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(i.bind(null, new Error("Unknown variable dynamic import: " + e)));
7
7
  });
8
- }, ls = {
8
+ }, ps = {
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
- }, rs = {
14
+ }, ms = {
15
15
  name: "MaIcon"
16
- }, k = /* @__PURE__ */ b({
17
- ...rs,
16
+ }, h = /* @__PURE__ */ _({
17
+ ...ms,
18
18
  props: {
19
19
  name: null,
20
20
  size: { default: "md" },
21
21
  spin: { type: Boolean }
22
22
  },
23
- setup(t) {
24
- const o = t, s = ["flag", "pay"], l = p(
25
- () => K(
23
+ setup(o) {
24
+ const e = o, s = ["flag", "pay"], n = p(
25
+ () => Y(
26
26
  function() {
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
- }.bind({ name: o.name })
27
+ const t = s.find((r) => e.name.startsWith(`${r}-`));
28
+ return t ? q(/* @__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/${t}/${e.name.replace(`${t}-`, "")}.svg`) : q(/* @__PURE__ */ Object.assign({ "./icons/add-bold.svg": () => import("./add-bold-a590b204.mjs"), "./icons/add-circle-bold.svg": () => import("./add-circle-bold-dd840204.mjs"), "./icons/add-circle.svg": () => import("./add-circle-db54355c.mjs"), "./icons/add.svg": () => import("./add-158c827a.mjs"), "./icons/android-storefront.svg": () => import("./android-storefront-b8288fa6.mjs"), "./icons/android.svg": () => import("./android-e7185e66.mjs"), "./icons/apple-storefront.svg": () => import("./apple-storefront-934f93c9.mjs"), "./icons/apple.svg": () => import("./apple-a0f4b202.mjs"), "./icons/arrow-left-bold.svg": () => import("./arrow-left-bold-22660af3.mjs"), "./icons/arrow-left.svg": () => import("./arrow-left-a307564c.mjs"), "./icons/calendar-bold.svg": () => import("./calendar-bold-f14e2aa4.mjs"), "./icons/calendar.svg": () => import("./calendar-027f7d21.mjs"), "./icons/card-bold.svg": () => import("./card-bold-082d635f.mjs"), "./icons/card.svg": () => import("./card-44596069.mjs"), "./icons/check.svg": () => import("./check-eb9fb8f0.mjs"), "./icons/chevron-down.svg": () => import("./chevron-down-3924f78b.mjs"), "./icons/chevron-left.svg": () => import("./chevron-left-b19ca4eb.mjs"), "./icons/chevron-right.svg": () => import("./chevron-right-a8d54d8e.mjs"), "./icons/chevron-up.svg": () => import("./chevron-up-9cb362ff.mjs"), "./icons/close-circle-bold.svg": () => import("./close-circle-bold-186ef930.mjs"), "./icons/close-circle.svg": () => import("./close-circle-8362ea8b.mjs"), "./icons/close.svg": () => import("./close-bfa680c6.mjs"), "./icons/dot.svg": () => import("./dot-c7334eb8.mjs"), "./icons/eye-bold.svg": () => import("./eye-bold-a4ee5469.mjs"), "./icons/eye-slash-bold.svg": () => import("./eye-slash-bold-857e7190.mjs"), "./icons/eye-slash.svg": () => import("./eye-slash-edd62efc.mjs"), "./icons/eye.svg": () => import("./eye-1763d285.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-notif.svg": () => import("./message-notif-b29e79d7.mjs"), "./icons/message-text.svg": () => import("./message-text-a7be1d8c.mjs"), "./icons/password-check.svg": () => import("./password-check-3a237273.mjs"), "./icons/search-normal-bold.svg": () => import("./search-normal-bold-30371b6f.mjs"), "./icons/search-normal.svg": () => import("./search-normal-7eb2b97f.mjs"), "./icons/security-card-bold.svg": () => import("./security-card-bold-d3a72067.mjs"), "./icons/security-card.svg": () => import("./security-card-71d2be90.mjs"), "./icons/sms-bold.svg": () => import("./sms-bold-1716a26d.mjs"), "./icons/sms.svg": () => import("./sms-95584f15.mjs"), "./icons/tick-circle-bold.svg": () => import("./tick-circle-bold-3cce456e.mjs"), "./icons/tick-circle.svg": () => import("./tick-circle-56287e8e.mjs"), "./icons/tick.svg": () => import("./tick-ad241aa8.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/${e.name}.svg`);
29
+ }.bind({ name: e.name })
30
30
  )
31
- ), a = p(() => [
31
+ ), i = p(() => [
32
32
  "ma-icon",
33
- `ma-icon--${o.name}`,
34
- ls[o.size],
35
- { "animate-spin": o.spin }
33
+ `ma-icon--${e.name}`,
34
+ ps[e.size],
35
+ { "animate-spin": e.spin }
36
36
  ]);
37
- return (e, c) => (r(), d(L(n(l)), {
38
- class: U(n(a))
37
+ return (t, r) => (l(), d(O(a(n)), {
38
+ class: P(a(i))
39
39
  }, null, 8, ["class"]));
40
40
  }
41
- }), cs = {
41
+ }), gs = {
42
42
  name: "MaButton"
43
- }, Ls = /* @__PURE__ */ b({
44
- ...cs,
43
+ }, ge = /* @__PURE__ */ _({
44
+ ...gs,
45
45
  props: {
46
46
  type: { default: "dark" },
47
47
  variant: { default: "primary" },
@@ -54,53 +54,53 @@ const R = (t, o) => {
54
54
  icon: null,
55
55
  IconAlignment: null
56
56
  },
57
- setup(t) {
58
- const o = t, s = p(() => o.variant === "secondary" ? "default" : o.variant === "grey-link" ? "link" : o.variant), l = p(() => [
57
+ setup(o) {
58
+ const e = o, s = p(() => e.variant === "secondary" ? "default" : e.variant === "grey-link" ? "link" : e.variant), n = p(() => [
59
59
  `
60
60
  ma-button
61
- ma-button--${o.variant}
62
- ma-button--${o.type}
63
- ma-button--${o.size}
61
+ ma-button--${e.variant}
62
+ ma-button--${e.type}
63
+ ma-button--${e.size}
64
64
  `,
65
65
  {
66
- "ma-button--rounded": o.shape === "round"
66
+ "ma-button--rounded": e.shape === "round"
67
67
  },
68
68
  {
69
- "ma-button--icon-right": o.IconAlignment === "right"
69
+ "ma-button--icon-right": e.IconAlignment === "right"
70
70
  }
71
- ]), a = p(() => o.loading ? "loader" : o.icon);
72
- return (e, c) => (r(), d(n(G), w({
73
- class: n(l),
74
- href: o.href,
75
- target: o.target,
76
- disabled: o.disabled || o.loading,
77
- type: n(s),
71
+ ]), i = p(() => e.loading ? "loader" : e.icon);
72
+ return (t, r) => (l(), d(a(J), C({
73
+ class: a(n),
74
+ href: e.href,
75
+ target: e.target,
76
+ disabled: e.disabled || e.loading,
77
+ type: a(s),
78
78
  role: "button"
79
- }, e.$attrs), z({ _: 2 }, [
80
- I(e.$slots, (g, y) => ({
81
- name: y,
82
- fn: m(() => [
83
- C(e.$slots, y)
79
+ }, t.$attrs), B({ _: 2 }, [
80
+ x(t.$slots, (m, w) => ({
81
+ name: w,
82
+ fn: g(() => [
83
+ b(t.$slots, w)
84
84
  ])
85
85
  })),
86
- n(a) ? {
86
+ a(i) ? {
87
87
  name: "icon",
88
- fn: m(() => [
89
- n(a) ? (r(), d(k, {
88
+ fn: g(() => [
89
+ a(i) ? (l(), d(h, {
90
90
  key: 0,
91
- spin: o.loading,
92
- name: n(a)
93
- }, null, 8, ["spin", "name"])) : h("", !0)
91
+ spin: e.loading,
92
+ name: a(i)
93
+ }, null, 8, ["spin", "name"])) : v("", !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 ps = {
100
+ const us = {
101
101
  name: "MaTrackButton"
102
- }, Gs = /* @__PURE__ */ b({
103
- ...ps,
102
+ }, ue = /* @__PURE__ */ _({
103
+ ...us,
104
104
  props: {
105
105
  variant: { default: "default" },
106
106
  size: { default: "md" },
@@ -109,66 +109,66 @@ const ps = {
109
109
  tracked: { type: Boolean },
110
110
  keyword: null
111
111
  },
112
- setup(t) {
113
- const o = t, s = p(() => [
112
+ setup(o) {
113
+ const e = o, s = p(() => [
114
114
  `
115
115
  ma-track-button
116
- ma-track-button--${o.variant}
117
- ma-track-button--${o.size}
116
+ ma-track-button--${e.variant}
117
+ ma-track-button--${e.size}
118
118
  `,
119
119
  {
120
- "ma-track-button--tracked": o.tracked
120
+ "ma-track-button--tracked": e.tracked
121
121
  },
122
122
  {
123
- "ma-track-button--loading": o.loading
123
+ "ma-track-button--loading": e.loading
124
124
  }
125
- ]), l = p(
126
- () => o.loading ? "loader" : o.tracked ? "tick-circle" : "add"
127
- ), a = p(() => o.size === "lg" ? "sm" : "xs");
128
- return (e, c) => (r(), d(n(G), w({
129
- class: n(s),
130
- disabled: o.disabled || o.loading,
125
+ ]), n = p(
126
+ () => e.loading ? "loader" : e.tracked ? "tick-circle-bold" : "add"
127
+ ), i = p(() => e.size === "lg" ? "sm" : "xs");
128
+ return (t, r) => (l(), d(a(J), C({
129
+ class: a(s),
130
+ disabled: e.disabled || e.loading,
131
131
  role: "button"
132
- }, e.$attrs), z({
133
- icon: m(() => [
134
- $(Y, { name: "fade" }, {
135
- default: m(() => [
136
- $(k, {
137
- spin: o.loading,
138
- name: n(l),
139
- size: n(a)
132
+ }, t.$attrs), B({
133
+ icon: g(() => [
134
+ $(E, { name: "fade" }, {
135
+ default: g(() => [
136
+ $(h, {
137
+ spin: e.loading,
138
+ name: a(n),
139
+ size: a(i)
140
140
  }, null, 8, ["spin", "name", "size"])
141
141
  ]),
142
142
  _: 1
143
143
  })
144
144
  ]),
145
- default: m(() => [
146
- q(" " + B(t.keyword) + " ", 1)
145
+ default: g(() => [
146
+ R(" " + I(o.keyword) + " ", 1)
147
147
  ]),
148
148
  _: 2
149
149
  }, [
150
- I(e.$slots, (g, y) => ({
151
- name: y,
152
- fn: m(() => [
153
- C(e.$slots, y)
150
+ x(t.$slots, (m, w) => ({
151
+ name: w,
152
+ fn: g(() => [
153
+ b(t.$slots, w)
154
154
  ])
155
155
  }))
156
156
  ]), 1040, ["class", "disabled"]));
157
157
  }
158
158
  });
159
- const gs = {
159
+ const ds = {
160
160
  key: 0,
161
161
  class: "ma-toggle__titles"
162
- }, ms = {
162
+ }, vs = {
163
163
  key: 0,
164
164
  class: "ma-toggle__titles__title"
165
- }, us = {
165
+ }, fs = {
166
166
  key: 1,
167
167
  class: "ma-toggle__titles__sub-title"
168
- }, vs = {
168
+ }, _s = {
169
169
  name: "MaToggle"
170
- }, Js = /* @__PURE__ */ b({
171
- ...vs,
170
+ }, de = /* @__PURE__ */ _({
171
+ ..._s,
172
172
  props: {
173
173
  size: { default: "default" },
174
174
  disabled: { type: Boolean },
@@ -180,46 +180,46 @@ const gs = {
180
180
  subTitle: null
181
181
  },
182
182
  emits: ["click", "change"],
183
- setup(t, { emit: o }) {
184
- const s = t, l = p({
183
+ setup(o, { emit: e }) {
184
+ const s = o, n = p({
185
185
  get() {
186
186
  return s.checked;
187
187
  },
188
- set(e) {
189
- o("change", e);
188
+ set(t) {
189
+ e("change", t);
190
190
  }
191
- }), a = p(() => [
191
+ }), i = 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 (e, c) => (r(), f("div", {
199
- class: U(n(a))
198
+ return (t, r) => (l(), u("div", {
199
+ class: P(a(i))
200
200
  }, [
201
- $(n(W), w({
201
+ $(a(W), C({
202
202
  class: "ma-toggle__switch",
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)),
203
+ checked: a(n),
204
+ "onUpdate:checked": r[0] || (r[0] = (m) => D(n) ? n.value = m : null)
205
+ }, t.$attrs, {
206
+ onClick: r[1] || (r[1] = (m) => t.$emit("click", m)),
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 ? (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)
212
+ s.title || s.subTitle ? (l(), u("div", ds, [
213
+ s.title ? (l(), u("span", vs, I(s.title), 1)) : v("", !0),
214
+ s.subTitle ? (l(), u("span", fs, I(s.subTitle), 1)) : v("", !0)
215
+ ])) : v("", !0)
216
216
  ], 2));
217
217
  }
218
218
  });
219
- const ds = ["aria-checked", "disabled"], fs = {
219
+ const ys = ["aria-checked", "disabled"], hs = {
220
220
  name: "MaSwitch"
221
- }, Ks = /* @__PURE__ */ b({
222
- ...fs,
221
+ }, ve = /* @__PURE__ */ _({
222
+ ...hs,
223
223
  props: {
224
224
  active: null,
225
225
  leftIcon: null,
@@ -233,56 +233,56 @@ const ds = ["aria-checked", "disabled"], fs = {
233
233
  "click",
234
234
  "change"
235
235
  ],
236
- setup(t, { emit: o }) {
237
- const s = t, l = p({
236
+ setup(o, { emit: e }) {
237
+ const s = o, n = p({
238
238
  get() {
239
239
  return s.active;
240
240
  },
241
- set(c) {
242
- o("change", c);
241
+ set(r) {
242
+ e("change", r);
243
243
  }
244
- }), a = p(() => [
244
+ }), i = p(() => [
245
245
  "ma-switch",
246
246
  `ma-switch--${s.type}`,
247
247
  {
248
248
  "ma-switch--disabled": s.disabled
249
249
  }
250
- ]), e = (c) => {
251
- s.disabled || (l.value = c);
250
+ ]), t = (r) => {
251
+ s.disabled || (n.value = r);
252
252
  };
253
- return (c, g) => (r(), f("button", w(c.$attrs, {
254
- class: n(a),
253
+ return (r, m) => (l(), u("button", C(r.$attrs, {
254
+ class: a(i),
255
255
  type: "button",
256
256
  role: "switch",
257
- "aria-checked": n(l) === s.rightValue,
257
+ "aria-checked": a(n) === s.rightValue,
258
258
  disabled: s.disabled
259
259
  }), [
260
- A("span", {
261
- class: U({ active: s.active === s.leftValue }),
262
- onClick: g[0] || (g[0] = (y) => e(s.leftValue))
260
+ z("span", {
261
+ class: P({ active: s.active === s.leftValue }),
262
+ onClick: m[0] || (m[0] = (w) => t(s.leftValue))
263
263
  }, [
264
- $(k, {
264
+ $(h, {
265
265
  name: s.leftIcon
266
266
  }, null, 8, ["name"])
267
267
  ], 2),
268
- A("span", {
269
- class: U({ active: s.active === s.rightValue }),
270
- onClick: g[1] || (g[1] = (y) => e(s.rightValue))
268
+ z("span", {
269
+ class: P({ active: s.active === s.rightValue }),
270
+ onClick: m[1] || (m[1] = (w) => t(s.rightValue))
271
271
  }, [
272
- $(k, {
272
+ $(h, {
273
273
  name: s.rightIcon
274
274
  }, null, 8, ["name"])
275
275
  ], 2)
276
- ], 16, ds));
276
+ ], 16, ys));
277
277
  }
278
278
  });
279
- const _s = { class: "ma-tooltip-overlay__content" }, ys = { class: "ma-tooltip-overlay__content__title" }, hs = {
279
+ const bs = { class: "ma-tooltip-overlay__content" }, ks = { class: "ma-tooltip-overlay__content__title" }, $s = {
280
280
  key: 0,
281
281
  class: "ma-tooltip-overlay__content__description"
282
- }, bs = {
282
+ }, Cs = {
283
283
  name: "MaTooltip"
284
- }, Ys = /* @__PURE__ */ b({
285
- ...bs,
284
+ }, fe = /* @__PURE__ */ _({
285
+ ...Cs,
286
286
  props: {
287
287
  placement: { default: "top" },
288
288
  type: { default: "secondary" },
@@ -293,104 +293,104 @@ const _s = { class: "ma-tooltip-overlay__content" }, ys = { class: "ma-tooltip-o
293
293
  closable: { type: Boolean },
294
294
  defaultVisible: { type: Boolean, default: !1 }
295
295
  },
296
- setup(t) {
297
- const o = t, s = p(() => [
296
+ setup(o) {
297
+ const e = o, s = p(() => [
298
298
  "ma-tooltip",
299
- `ma-tooltip--${o.type}`,
300
- `ma-tooltip--${o.placement}`
301
- ]), l = p(() => [
299
+ `ma-tooltip--${e.type}`,
300
+ `ma-tooltip--${e.placement}`
301
+ ]), n = p(() => [
302
302
  "ma-tooltip-overlay",
303
- `ma-tooltip-overlay--${o.type}`,
304
- `ma-tooltip-overlay--${o.placement}`
305
- ].join(" ")), a = j(o.defaultVisible), e = () => {
306
- a.value = !1;
303
+ `ma-tooltip-overlay--${e.type}`,
304
+ `ma-tooltip-overlay--${e.placement}`
305
+ ].join(" ")), i = F(e.defaultVisible), t = () => {
306
+ i.value = !1;
307
307
  };
308
- return (c, g) => (r(), d(n(Q), w(c.$attrs, {
309
- class: n(s),
310
- placement: o.placement,
311
- trigger: o.trigger,
312
- overlayClassName: n(l),
313
- visible: a.value,
314
- "onUpdate:visible": g[0] || (g[0] = (y) => a.value = y)
315
- }), z({
316
- title: m(() => [
317
- o.icon ? (r(), d(k, {
308
+ return (r, m) => (l(), d(a(Q), C(r.$attrs, {
309
+ class: a(s),
310
+ placement: e.placement,
311
+ trigger: e.trigger,
312
+ overlayClassName: a(n),
313
+ visible: i.value,
314
+ "onUpdate:visible": m[0] || (m[0] = (w) => i.value = w)
315
+ }), B({
316
+ title: g(() => [
317
+ e.icon ? (l(), d(h, {
318
318
  key: 0,
319
319
  size: "xs",
320
- name: o.icon
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)
320
+ name: e.icon
321
+ }, null, 8, ["name"])) : v("", !0),
322
+ z("div", bs, [
323
+ z("span", ks, I(e.title), 1),
324
+ e?.description ? (l(), u("span", $s, I(e.description), 1)) : v("", !0)
325
325
  ]),
326
- o.closable ? (r(), d(k, {
326
+ e.closable ? (l(), d(h, {
327
327
  key: 1,
328
- onClick: e,
328
+ onClick: t,
329
329
  class: "ma-tooltip-overlay__close",
330
330
  size: "xs",
331
331
  name: "close"
332
- })) : h("", !0)
332
+ })) : v("", !0)
333
333
  ]),
334
334
  _: 2
335
335
  }, [
336
- I(c.$slots, (y, V) => ({
337
- name: V,
338
- fn: m(() => [
339
- C(c.$slots, V)
336
+ x(r.$slots, (w, M) => ({
337
+ name: M,
338
+ fn: g(() => [
339
+ b(r.$slots, M)
340
340
  ])
341
341
  }))
342
342
  ]), 1040, ["class", "placement", "trigger", "overlayClassName", "visible"]));
343
343
  }
344
344
  });
345
- const ks = {
345
+ const ws = {
346
346
  name: "MaForm"
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
- name: a,
353
- fn: m(() => [
354
- C(o.$slots, a)
347
+ }, _e = /* @__PURE__ */ _({
348
+ ...ws,
349
+ setup(o) {
350
+ return (e, s) => (l(), d(a(X), C({ class: "ma-form" }, e.$attrs), B({ _: 2 }, [
351
+ x(e.$slots, (n, i) => ({
352
+ name: i,
353
+ fn: g(() => [
354
+ b(e.$slots, i)
355
355
  ])
356
356
  }))
357
357
  ]), 1040));
358
358
  }
359
359
  });
360
- const $s = {
360
+ const Is = {
361
361
  name: "MaFormItem"
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
- name: a,
368
- fn: m(() => [
369
- C(o.$slots, a)
362
+ }, ye = /* @__PURE__ */ _({
363
+ ...Is,
364
+ setup(o) {
365
+ return (e, s) => (l(), d(a(Z), C({ class: "ma-form-item" }, e.$attrs), B({ _: 2 }, [
366
+ x(e.$slots, (n, i) => ({
367
+ name: i,
368
+ fn: g(() => [
369
+ b(e.$slots, i)
370
370
  ])
371
371
  }))
372
372
  ]), 1040));
373
373
  }
374
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 = {
375
+ var V = /* @__PURE__ */ ((o) => (o.text = "text", o.password = "password", o.textarea = "textarea", o.number = "number", o.email = "email", o.url = "url", o.tel = "tel", o.amount = "amount", o.creditCard = "creditCard", o.userInfo = "userInfo", o))(V || {}), K = /* @__PURE__ */ ((o) => (o.small = "small", o.medium = "medium", o.large = "large", o))(K || {});
376
+ const xs = {
377
377
  usd: "$",
378
378
  eur: "€",
379
379
  gbp: "£",
380
380
  jpy: "¥"
381
- }, ws = [
381
+ }, Bs = [
382
382
  { label: "USD", value: "USD" },
383
383
  { label: "EUR", value: "EUR" },
384
384
  { label: "GBP", value: "GBP" },
385
385
  { label: "JPY", value: "JPY" }
386
- ], Is = {
386
+ ], zs = {
387
387
  name: "MaAvatar"
388
- }, xs = /* @__PURE__ */ b({
389
- ...Is,
390
- setup(t) {
391
- return (o, s) => (r(), d(n(ss), T(O(o.$attrs)), null, 16));
388
+ }, Ns = /* @__PURE__ */ _({
389
+ ...zs,
390
+ setup(o) {
391
+ return (e, s) => (l(), d(a(ss), G(L(e.$attrs)), null, 16));
392
392
  }
393
- }), Bs = /* @__PURE__ */ b({
393
+ }), Ss = /* @__PURE__ */ _({
394
394
  __name: "dropdownRender",
395
395
  props: {
396
396
  menu: {
@@ -403,32 +403,32 @@ const Cs = {
403
403
  }
404
404
  },
405
405
  emits: ["update:filter"],
406
- setup(t, { emit: o }) {
407
- const s = t, l = (e, { attrs: c }) => c.vnodes, a = p({
406
+ setup(o, { emit: e }) {
407
+ const s = o, n = (t, { attrs: r }) => r.vnodes, i = p({
408
408
  get() {
409
409
  return s.filter;
410
410
  },
411
- set(e) {
412
- o("update:filter", e);
411
+ set(t) {
412
+ e("update:filter", t);
413
413
  }
414
414
  });
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),
415
+ return (t, r) => (l(), u(T, null, [
416
+ $(Rs, {
417
+ value: a(i),
418
+ "onUpdate:value": r[0] || (r[0] = (m) => D(i) ? i.value = m : null),
419
419
  autofocus: "",
420
420
  placeholder: "Search"
421
- }, null, 8, ["modelValue"]),
422
- $(l, { vnodes: t.menu }, null, 8, ["vnodes"])
421
+ }, null, 8, ["value"]),
422
+ $(n, { vnodes: o.menu }, null, 8, ["vnodes"])
423
423
  ], 64));
424
424
  }
425
- }), zs = {
425
+ }), Ms = {
426
426
  key: 0,
427
427
  class: "prefix-icon"
428
- }, Ss = {
428
+ }, Vs = {
429
429
  name: "MaSelect"
430
- }, Vs = /* @__PURE__ */ b({
431
- ...Ss,
430
+ }, As = /* @__PURE__ */ _({
431
+ ...Vs,
432
432
  props: {
433
433
  allowClear: { type: Boolean },
434
434
  autoClearSearchValue: { type: Boolean, default: !0 },
@@ -456,123 +456,123 @@ const Cs = {
456
456
  emits: [
457
457
  "update:value"
458
458
  ],
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({
459
+ setup(o, { emit: e }) {
460
+ const s = o, n = H(), i = F(s?.searchValue), t = F(s.open), r = p(() => !s?.mode && s?.showSearch), m = p({
461
461
  get() {
462
462
  return s.value;
463
463
  },
464
- set(i) {
465
- o("update:value", i);
464
+ set(c) {
465
+ e("update:value", c);
466
466
  }
467
- }), y = p(() => [
467
+ }), w = p(() => [
468
468
  "ma-select",
469
469
  `ma-select--${s.size}`,
470
470
  {
471
- "ma-select--has-prefix": s.mode ? !1 : l?.prefixIcon || s?.prefixIcon
471
+ "ma-select--has-prefix": s.mode ? !1 : n?.prefixIcon || s?.prefixIcon
472
472
  },
473
473
  {
474
- "ma-select--selected": Array.isArray(g.value) ? g.value.length : g.value
474
+ "ma-select--selected": Array.isArray(m.value) ? m.value.length : m.value
475
475
  },
476
476
  {
477
- "ma-select--custom-render": c
477
+ "ma-select--custom-render": r
478
478
  }
479
- ]), V = p(() => [
479
+ ]), M = p(() => [
480
480
  s?.dropdownClassName,
481
481
  "ma-select-dropdown",
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),
482
+ !s?.mode && (n?.prefixIcon || s?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
483
+ ].join(" ")), A = p(() => s?.loading ? "loader" : s?.suffixIcon), j = () => {
484
+ t.value = !0;
485
+ }, y = (c) => {
486
+ t.value = c, i.value = "";
487
+ }, N = p(() => !r.value && s?.showSearch);
488
+ return (c, f) => (l(), d(a(es), C({
489
+ value: a(m),
490
+ "onUpdate:value": f[1] || (f[1] = (k) => D(m) ? m.value = k : null)
491
+ }, c.$attrs, {
492
+ class: a(w),
493
493
  allowClear: s?.allowClear,
494
494
  autoClearSearchValue: s?.autoClearSearchValue,
495
495
  autofocus: s?.autofocus,
496
496
  defaultOpen: s?.defaultOpen,
497
497
  disabled: s?.disabled || s?.loading,
498
- dropdownClassName: n(V),
498
+ dropdownClassName: a(M),
499
499
  loading: s?.loading,
500
500
  optionFilterProp: s?.optionFilterProp,
501
501
  optionLabelProp: s?.optionLabelProp,
502
502
  options: s?.options,
503
503
  placeholder: s?.placeholder,
504
- searchValue: a.value || void 0,
505
- showSearch: n(x),
504
+ searchValue: i.value || void 0,
505
+ showSearch: a(N),
506
506
  mode: s?.mode,
507
507
  size: s?.size,
508
- open: e.value,
509
- onClick: M,
510
- onDropdownVisibleChange: v
511
- }), z({
512
- suffixIcon: m(() => [
513
- $(k, {
508
+ open: t.value,
509
+ onClick: j,
510
+ onDropdownVisibleChange: y
511
+ }), B({
512
+ suffixIcon: g(() => [
513
+ $(h, {
514
514
  spin: s?.loading,
515
- name: n(P) || "chevron-down"
515
+ name: a(A) || "chevron-down"
516
516
  }, null, 8, ["spin", "name"]),
517
- i.$slots?.prefixIcon || s?.prefixIcon ? (r(), f("div", zs, [
518
- C(i.$slots, "prefixIcon", {}, () => [
519
- s?.prefixIcon ? (r(), d(k, {
517
+ c.$slots?.prefixIcon || s?.prefixIcon ? (l(), u("div", Ms, [
518
+ b(c.$slots, "prefixIcon", {}, () => [
519
+ s?.prefixIcon ? (l(), d(h, {
520
520
  key: 0,
521
521
  name: s?.prefixIcon
522
- }, null, 8, ["name"])) : h("", !0)
522
+ }, null, 8, ["name"])) : v("", !0)
523
523
  ])
524
- ])) : h("", !0)
524
+ ])) : v("", !0)
525
525
  ]),
526
- removeIcon: m(() => [
527
- $(k, {
526
+ removeIcon: g(() => [
527
+ $(h, {
528
528
  name: s?.removeIcon || "close"
529
529
  }, null, 8, ["name"])
530
530
  ]),
531
531
  _: 2
532
532
  }, [
533
- I(i.$slots, (_, S) => ({
533
+ x(c.$slots, (k, S) => ({
534
534
  name: S,
535
- fn: m(() => [
536
- C(i.$slots, S)
535
+ fn: g(() => [
536
+ b(c.$slots, S)
537
537
  ])
538
538
  })),
539
539
  s?.clearIcon ? {
540
540
  name: "clearIcon",
541
- fn: m(() => [
542
- s?.clearIcon ? (r(), d(k, {
541
+ fn: g(() => [
542
+ s?.clearIcon ? (l(), d(h, {
543
543
  key: 0,
544
544
  name: s?.clearIcon
545
- }, null, 8, ["name"])) : h("", !0)
545
+ }, null, 8, ["name"])) : v("", !0)
546
546
  ]),
547
547
  key: "0"
548
548
  } : void 0,
549
549
  s?.menuItemSelectedIcon ? {
550
550
  name: "menuItemSelectedIcon",
551
- fn: m(() => [
552
- $(k, {
551
+ fn: g(() => [
552
+ $(h, {
553
553
  name: s?.menuItemSelectedIcon
554
554
  }, null, 8, ["name"])
555
555
  ]),
556
556
  key: "1"
557
557
  } : void 0,
558
- i.$slots.notFoundContent ? void 0 : {
558
+ c.$slots.notFoundContent ? void 0 : {
559
559
  name: "notFoundContent",
560
- fn: m(() => [
561
- $(k, {
560
+ fn: g(() => [
561
+ $(h, {
562
562
  size: "sm",
563
563
  name: "warning"
564
564
  }),
565
- q(" No result found! ")
565
+ R(" No result found! ")
566
566
  ]),
567
567
  key: "2"
568
568
  },
569
- n(c) && e.value ? {
569
+ a(r) && t.value ? {
570
570
  name: "dropdownRender",
571
- fn: m(({ menuNode: _ }) => [
572
- $(Bs, {
573
- filter: a.value,
574
- "onUpdate:filter": u[0] || (u[0] = (S) => a.value = S),
575
- menu: _
571
+ fn: g(({ menuNode: k }) => [
572
+ $(Ss, {
573
+ filter: i.value,
574
+ "onUpdate:filter": f[0] || (f[0] = (S) => i.value = S),
575
+ menu: k
576
576
  }, null, 8, ["filter", "menu"])
577
577
  ]),
578
578
  key: "3"
@@ -580,26 +580,26 @@ const Cs = {
580
580
  ]), 1040, ["value", "class", "allowClear", "autoClearSearchValue", "autofocus", "defaultOpen", "disabled", "dropdownClassName", "loading", "optionFilterProp", "optionLabelProp", "options", "placeholder", "searchValue", "showSearch", "mode", "size", "open"]));
581
581
  }
582
582
  });
583
- const Ns = {
583
+ const Ps = {
584
584
  key: 0,
585
585
  class: "ma-input__title"
586
- }, Ps = {
586
+ }, js = {
587
587
  key: 1,
588
588
  class: "ma-input__wrapper"
589
- }, Ms = {
589
+ }, Ds = {
590
590
  key: 2,
591
591
  class: "ma-input__textarea-wrapper"
592
592
  }, Fs = {
593
593
  key: 3,
594
594
  class: "ma-input__hint-text"
595
- }, js = {
595
+ }, Us = {
596
596
  name: "MaInput"
597
- }, Us = /* @__PURE__ */ b({
598
- ...js,
597
+ }, Rs = /* @__PURE__ */ _({
598
+ ...Us,
599
599
  props: {
600
600
  allowClear: { type: Boolean },
601
- type: { default: N.text },
602
- size: { default: J.small },
601
+ type: { default: V.text },
602
+ size: { default: K.small },
603
603
  title: null,
604
604
  hintText: null,
605
605
  hasError: { type: Boolean },
@@ -620,8 +620,8 @@ const Ns = {
620
620
  "update:value",
621
621
  "update:amountCurrency"
622
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(() => [
623
+ setup(o, { emit: e }) {
624
+ const s = o, n = p(() => [V.amount, V.creditCard].includes(s.type) ? "number" : s.type === V.userInfo ? "text" : s.type), i = p(() => [
625
625
  `ma-input ma-input--${s.type} ma-input--${s.size}`,
626
626
  {
627
627
  "ma-input--has-error": s.hasError
@@ -629,194 +629,194 @@ const Ns = {
629
629
  {
630
630
  "ma-input--disabled": s.disabled
631
631
  }
632
- ]), e = p({
632
+ ]), t = p({
633
633
  get() {
634
634
  return s.value;
635
635
  },
636
- set(v) {
637
- o("update:value", v);
636
+ set(y) {
637
+ e("update:value", y);
638
638
  }
639
- }), c = p(() => s.amountCurrency ? Cs[s.amountCurrency.toLowerCase()] : null), g = p({
639
+ }), r = p(() => s.amountCurrency ? xs[s.amountCurrency.toLowerCase()] : null), m = p({
640
640
  get() {
641
641
  return s.amountCurrency;
642
642
  },
643
- set(v) {
644
- o("update:amountCurrency", v);
643
+ set(y) {
644
+ e("update:amountCurrency", y);
645
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) => {
649
- o("currency-change", v);
646
+ }), w = p(() => s.type === V.password ? os : ts), M = p(() => s.type === V.url ? "https" : s?.addonBefore), A = (y) => {
647
+ e("change", y);
648
+ }, j = (y) => {
649
+ e("currency-change", y);
650
650
  };
651
- return (v, x) => (r(), f("div", {
652
- class: U(n(a))
651
+ return (y, N) => (l(), u("div", {
652
+ class: P(a(i))
653
653
  }, [
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, {
654
+ b(y.$slots, "title"),
655
+ s.title ? (l(), u("div", Ps, I(s.title), 1)) : v("", !0),
656
+ s.type !== "textarea" ? (l(), u("div", js, [
657
+ (l(), d(O(a(w)), C({
658
+ value: a(t),
659
+ "onUpdate:value": N[1] || (N[1] = (c) => D(t) ? t.value = c : null)
660
+ }, y.$attrs, {
661
661
  allowClear: s?.allowClear,
662
- type: n(l),
662
+ type: a(n),
663
663
  disabled: s?.disabled,
664
664
  placeholder: s?.placeholder,
665
- addonBefore: n(V),
666
- addonAfter: t.addonAfter,
665
+ addonBefore: a(M),
666
+ addonAfter: o.addonAfter,
667
667
  class: "ma-input__input",
668
- onChange: P
669
- }), z({
670
- prefix: m(() => [
671
- s.prefixIcon ? (r(), d(k, {
668
+ onChange: A
669
+ }), B({
670
+ prefix: g(() => [
671
+ s.prefixIcon ? (l(), d(h, {
672
672
  key: 0,
673
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, {
674
+ }, null, 8, ["name"])) : a(r) ? (l(), u(T, { key: 1 }, [
675
+ R(I(a(r)), 1)
676
+ ], 64)) : s.type === a(V).userInfo ? (l(), d(Ns, {
677
677
  key: 2,
678
678
  src: s.avatarUrl,
679
679
  disabled: s.disabled
680
- }, null, 8, ["src", "disabled"])) : h("", !0)
680
+ }, null, 8, ["src", "disabled"])) : v("", !0)
681
681
  ]),
682
682
  _: 2
683
683
  }, [
684
- I(v.$slots, (i, u) => ({
685
- name: u,
686
- fn: m(() => [
687
- C(v.$slots, u)
684
+ x(y.$slots, (c, f) => ({
685
+ name: f,
686
+ fn: g(() => [
687
+ b(y.$slots, f)
688
688
  ])
689
689
  })),
690
690
  s.type === "amount" ? {
691
691
  name: "suffix",
692
- fn: m(() => [
693
- s.type === "amount" ? (r(), d(Vs, {
692
+ fn: g(() => [
693
+ s.type === "amount" ? (l(), d(As, {
694
694
  key: 0,
695
- value: n(g),
696
- "onUpdate:value": x[0] || (x[0] = (i) => F(g) ? g.value = i : null),
697
- onChange: M,
695
+ value: a(m),
696
+ "onUpdate:value": N[0] || (N[0] = (c) => D(m) ? m.value = c : null),
697
+ onChange: j,
698
698
  dropdownClassName: "ma-input__input__ma-select__dropdown",
699
- options: n(ws),
699
+ options: a(Bs),
700
700
  disabled: s.disabled,
701
701
  size: "small"
702
- }, null, 8, ["value", "options", "disabled"])) : h("", !0)
702
+ }, null, 8, ["value", "options", "disabled"])) : v("", !0)
703
703
  ]),
704
704
  key: "0"
705
705
  } : void 0
706
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, {
707
+ ])) : (l(), u("div", Ds, [
708
+ $(a(as), C({
709
+ value: a(t),
710
+ "onUpdate:value": N[2] || (N[2] = (c) => D(t) ? t.value = c : null)
711
+ }, y.$attrs, {
712
712
  class: "ma-input__input",
713
- onChange: P,
713
+ onChange: A,
714
714
  rows: 5
715
- }), z({ _: 2 }, [
716
- I(v.$slots, (i, u) => ({
717
- name: u,
718
- fn: m(() => [
719
- C(v.$slots, u)
715
+ }), B({ _: 2 }, [
716
+ x(y.$slots, (c, f) => ({
717
+ name: f,
718
+ fn: g(() => [
719
+ b(y.$slots, f)
720
720
  ])
721
721
  }))
722
722
  ]), 1040, ["value"])
723
723
  ])),
724
- C(v.$slots, "hint"),
725
- s.hintText ? (r(), f("div", Fs, B(s.hintText), 1)) : h("", !0)
724
+ b(y.$slots, "hint"),
725
+ s.hintText ? (l(), u("div", Fs, I(s.hintText), 1)) : v("", !0)
726
726
  ], 2));
727
727
  }
728
728
  });
729
- const As = {
729
+ const Ts = {
730
730
  name: "MaCheckbox"
731
- }, Qs = /* @__PURE__ */ b({
732
- ...As,
731
+ }, he = /* @__PURE__ */ _({
732
+ ...Ts,
733
733
  props: {
734
734
  hint: null,
735
735
  indeterminate: { type: Boolean, default: void 0 },
736
736
  disabled: { type: Boolean }
737
737
  },
738
- setup(t) {
739
- const o = t, s = p(() => [
738
+ setup(o) {
739
+ const e = o, s = p(() => [
740
740
  "ma-checkbox",
741
741
  {
742
- "ma-checkbox--intermediate": typeof o?.indeterminate == "boolean"
742
+ "ma-checkbox--intermediate": typeof e?.indeterminate == "boolean"
743
743
  }
744
744
  ]);
745
- return (l, a) => (r(), d(n(as), w(l.$attrs, {
746
- class: n(s),
747
- disabled: o?.disabled,
748
- indeterminate: o?.indeterminate
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,
745
+ return (n, i) => (l(), d(a(ns), C(n.$attrs, {
746
+ class: a(s),
747
+ disabled: e?.disabled,
748
+ indeterminate: e?.indeterminate
749
+ }), B({ _: 2 }, [
750
+ x(n.$slots, (t, r) => ({
751
+ name: r,
752
+ fn: g(() => [
753
+ b(n.$slots, r),
754
+ e.hint ? (l(), u("div", {
755
+ key: r,
756
756
  class: "ma-checkbox__hint-text"
757
- }, B(o.hint), 1)) : h("", !0)
757
+ }, I(e.hint), 1)) : v("", !0)
758
758
  ])
759
759
  }))
760
760
  ]), 1040, ["class", "disabled", "indeterminate"]));
761
761
  }
762
762
  });
763
- const Ds = {
763
+ const qs = {
764
764
  name: "MaCheckboxGroup"
765
- }, Xs = /* @__PURE__ */ b({
766
- ...Ds,
765
+ }, be = /* @__PURE__ */ _({
766
+ ...qs,
767
767
  props: {
768
768
  hint: null,
769
769
  disabled: { type: Boolean }
770
770
  },
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,
771
+ setup(o) {
772
+ const e = o;
773
+ return (s, n) => (l(), d(a(is), C({ class: "ma-checkbox-group" }, s.$attrs), B({ _: 2 }, [
774
+ x(s.$slots, (i, t) => ({
775
+ name: t,
776
+ fn: g(() => [
777
+ b(s.$slots, t),
778
+ e.hint ? (l(), u("div", {
779
+ key: t,
780
780
  class: "ma-checkbox__hint-text"
781
- }, B(o.hint), 1)) : h("", !0)
781
+ }, I(e.hint), 1)) : v("", !0)
782
782
  ])
783
783
  }))
784
784
  ]), 1040));
785
785
  }
786
- }), qs = ["value"], Ts = /* @__PURE__ */ b({
786
+ }), Os = ["value"], Es = /* @__PURE__ */ _({
787
787
  __name: "singleNumericInput",
788
788
  props: {
789
789
  value: { default: "" },
790
790
  focus: { type: Boolean, default: !1 }
791
791
  },
792
792
  emits: ["update:value"],
793
- setup(t, { emit: o }) {
794
- const s = t, l = j(null);
795
- D(
793
+ setup(o, { emit: e }) {
794
+ const s = o, n = F(null);
795
+ U(
796
796
  () => s.focus,
797
- (e) => {
798
- e && l.value.focus();
797
+ (t) => {
798
+ t && n.value.focus();
799
799
  }
800
800
  );
801
- const a = (e) => {
802
- o("update:value", e.target.value);
801
+ const i = (t) => {
802
+ e("update:value", t.target.value);
803
803
  };
804
- return (e, c) => (r(), f("input", w(e.$attrs, {
804
+ return (t, r) => (l(), u("input", C(t.$attrs, {
805
805
  value: s.value,
806
- onInput: a,
806
+ onInput: i,
807
807
  ref_key: "input",
808
- ref: l,
808
+ ref: n,
809
809
  type: "number",
810
810
  min: "0",
811
811
  max: "9",
812
812
  maxlength: "1",
813
813
  pattern: "[0-9]"
814
- }), null, 16, qs));
814
+ }), null, 16, Os));
815
815
  }
816
- }), Os = {
816
+ }), Gs = {
817
817
  name: "MaNumericInput"
818
- }, Zs = /* @__PURE__ */ b({
819
- ...Os,
818
+ }, ke = /* @__PURE__ */ _({
819
+ ...Gs,
820
820
  props: {
821
821
  disabled: { type: Boolean },
822
822
  length: { default: 6 },
@@ -826,8 +826,8 @@ const Ds = {
826
826
  size: { default: "medium" }
827
827
  },
828
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(() => [
829
+ setup(o, { emit: e }) {
830
+ const s = o, n = F(null), i = F(Array.from({ length: s.length }, (c, f) => s.value[f] || null)), t = p(() => [
831
831
  "ma-numeric-input",
832
832
  `ma-numeric-input--${s.size}`,
833
833
  {
@@ -836,73 +836,329 @@ const Ds = {
836
836
  {
837
837
  "ma-numeric-input--disabled": s?.disabled
838
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) {
839
+ ]), r = p(() => s?.placeholderStatus ? "0" : null), m = (c) => /^Digit[0-9]$/.test(c), w = (c) => n.value = c, M = (c, f) => {
840
+ switch (c.code) {
841
841
  case "Backspace":
842
842
  case "Delete":
843
- v("", u), M();
843
+ y("", f), j();
844
844
  break;
845
845
  case "ArrowLeft":
846
- i.preventDefault(), M();
846
+ c.preventDefault(), j();
847
847
  break;
848
848
  case "ArrowRight":
849
- i.preventDefault(), P();
849
+ c.preventDefault(), A();
850
850
  break;
851
851
  default:
852
- g(i.code) && (i.preventDefault(), v(i.key, u), P());
852
+ m(c.code) && (c.preventDefault(), y(c.key, f), A());
853
853
  break;
854
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(""));
855
+ }, A = () => {
856
+ n.value < s.length && n.value++;
857
+ }, j = () => {
858
+ s.length >= n.value && n.value > 0 && n.value--;
859
+ }, y = (c, f) => {
860
+ i.value[f] = c;
861
+ }, N = (c, f) => {
862
+ c.preventDefault();
863
+ const k = c.clipboardData.getData("text/plain").replaceAll(" ", "").slice(0, s.length);
864
+ k.length === 1 && k.match(/^\d+$/) ? i.value[f] = k : k.match(/^\d+$/) && (i.value = k.split(""));
865
865
  };
866
- return D(
867
- () => a.value,
868
- (i) => {
869
- const u = i.join("");
870
- o("update:value", u);
866
+ return U(
867
+ () => i.value,
868
+ (c) => {
869
+ const f = c.join("");
870
+ e("update:value", f);
871
871
  },
872
872
  { deep: !0 }
873
- ), D(
873
+ ), U(
874
874
  () => s.value,
875
- (i) => {
876
- i !== a.value.join("") && i && i.match(/^\d+$/) && (a.value = i.split("").slice(0, s.length));
875
+ (c) => {
876
+ c !== i.value.join("") && c && c.match(/^\d+$/) && (i.value = c.split("").slice(0, s.length));
877
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],
878
+ ), (c, f) => (l(), u("div", C({ class: a(t) }, c.$attrs), [
879
+ (l(!0), u(T, null, x(s.length, (k) => (l(), d(Es, {
880
+ focus: n.value === k - 1,
881
+ key: k,
882
+ placeholder: a(r),
883
+ value: i.value[k - 1],
884
884
  disabled: s.disabled,
885
- onFocus: (S) => y(_ - 1),
886
- onKeydown: (S) => V(S, _ - 1),
887
- onPaste: (S) => x(S, _ - 1),
885
+ onFocus: (S) => w(k - 1),
886
+ onKeydown: (S) => M(S, k - 1),
887
+ onPaste: (S) => N(S, k - 1),
888
888
  class: "ma-numeric-input__input"
889
889
  }, null, 8, ["focus", "placeholder", "value", "disabled", "onFocus", "onKeydown", "onPaste"]))), 128))
890
890
  ], 16));
891
891
  }
892
892
  });
893
+ const Ls = {
894
+ name: "MaRadio"
895
+ }, Js = /* @__PURE__ */ _({
896
+ ...Ls,
897
+ props: {
898
+ type: { default: "button" },
899
+ hint: null,
900
+ disabled: { type: Boolean }
901
+ },
902
+ setup(o) {
903
+ const e = o, s = p(() => [`ma-radio ma-radio--${e.type}`]);
904
+ return (n, i) => (l(), d(a(ls), C(n.$attrs, { class: a(s) }), B({ _: 2 }, [
905
+ x(n.$slots, (t, r) => ({
906
+ name: r,
907
+ fn: g(() => [
908
+ b(n.$slots, r),
909
+ e.hint ? (l(), u("div", {
910
+ key: r,
911
+ class: "ma-radio__hint-text"
912
+ }, I(e.hint), 1)) : v("", !0)
913
+ ])
914
+ }))
915
+ ]), 1040, ["class"]));
916
+ }
917
+ });
918
+ const Ks = ["aria-checked", "disabled"], Ys = ["src", "alt"], Hs = { class: "ma-app-track-button__text" }, Ws = { class: "ma-app-track-button__text__title" }, Qs = {
919
+ key: 0,
920
+ class: "ma-app-track-button__text__category"
921
+ }, Xs = { class: "ma-app-track-button__check" }, Zs = {
922
+ name: "MaAppTrackButton"
923
+ }, $e = /* @__PURE__ */ _({
924
+ ...Zs,
925
+ props: {
926
+ checked: { type: Boolean, default: !1 },
927
+ appIcon: null,
928
+ appName: null,
929
+ appCategory: null,
930
+ disabled: { type: Boolean, default: !1 },
931
+ multiple: { type: Boolean, default: !1 },
932
+ loading: { type: Boolean, default: !1 }
933
+ },
934
+ emits: ["update:checked", "change"],
935
+ setup(o, { emit: e }) {
936
+ const s = o, n = () => {
937
+ e("change", !s.checked), e("update:checked", !s.checked);
938
+ }, i = p(() => [
939
+ "ma-app-track-button",
940
+ {
941
+ "ma-app-track-button--multiple": s.multiple
942
+ },
943
+ {
944
+ "ma-app-track-button--disabled": s.disabled || s.loading
945
+ },
946
+ {
947
+ "ma-app-track-button--checked": s.checked
948
+ },
949
+ {
950
+ "ma-app-track-button--loading": s.loading
951
+ }
952
+ ]);
953
+ return (t, r) => (l(), u("button", C({
954
+ class: a(i),
955
+ role: "switch",
956
+ "aria-checked": s.checked,
957
+ disabled: s.disabled
958
+ }, t.$attrs, { onClick: n }), [
959
+ z("img", {
960
+ src: s.appIcon,
961
+ alt: s.appName,
962
+ width: "40",
963
+ height: "40"
964
+ }, null, 8, Ys),
965
+ z("span", Hs, [
966
+ z("span", Ws, I(s.appName), 1),
967
+ s.appCategory ? (l(), u("span", Qs, I(s?.appCategory), 1)) : v("", !0)
968
+ ]),
969
+ z("span", Xs, [
970
+ $(E, {
971
+ name: "fade",
972
+ mode: "out-in"
973
+ }, {
974
+ default: g(() => [
975
+ s.loading ? (l(), d(h, {
976
+ key: 0,
977
+ name: "loader",
978
+ size: "xs",
979
+ spin: ""
980
+ })) : s.multiple || s.checked ? (l(), d(Js, {
981
+ key: 1,
982
+ checked: s.checked,
983
+ type: "check"
984
+ }, null, 8, ["checked"])) : (l(), d(h, {
985
+ key: 2,
986
+ name: "add-circle",
987
+ size: "xs"
988
+ }))
989
+ ]),
990
+ _: 1
991
+ })
992
+ ])
993
+ ], 16, Ks));
994
+ }
995
+ });
996
+ const se = { class: "ma-app-icon__logo" }, ee = ["src"], oe = {
997
+ key: 1,
998
+ class: "ma-app-icon-platform"
999
+ }, te = { class: "ma-app-icon__text" }, ae = {
1000
+ key: 0,
1001
+ class: "ma-app-name"
1002
+ }, ne = {
1003
+ key: 1,
1004
+ class: "ma-app-description"
1005
+ }, ie = {
1006
+ name: "MaAppIcon"
1007
+ }, Ce = /* @__PURE__ */ _({
1008
+ ...ie,
1009
+ props: {
1010
+ appIcon: null,
1011
+ appName: null,
1012
+ appDescription: null,
1013
+ closable: { type: Boolean, default: !0 },
1014
+ platform: null,
1015
+ rounded: { type: Boolean, default: !1 },
1016
+ size: { default: "medium" }
1017
+ },
1018
+ emits: ["close"],
1019
+ setup(o, { emit: e }) {
1020
+ const s = o, n = p(() => s.platform === "apple" ? "apple-storefront" : "android-storefront"), i = p(() => [
1021
+ "ma-app-icon",
1022
+ `ma-app-icon--${s.size}`,
1023
+ { "ma-app-icon--rounded": s.rounded },
1024
+ { "ma-app-icon--only-icon": !s?.appName && !s?.appDescription }
1025
+ ]), t = () => {
1026
+ e("close");
1027
+ };
1028
+ return (r, m) => (l(), u("div", {
1029
+ class: P(a(i))
1030
+ }, [
1031
+ z("div", se, [
1032
+ s.closable ? (l(), u("span", {
1033
+ key: 0,
1034
+ onClick: t,
1035
+ class: "ma-app-icon-closable"
1036
+ }, [
1037
+ $(h, {
1038
+ size: "xs",
1039
+ name: "close-circle"
1040
+ })
1041
+ ])) : v("", !0),
1042
+ z("img", {
1043
+ class: "ma-app-icon-img",
1044
+ src: s.appIcon
1045
+ }, null, 8, ee),
1046
+ s?.platform ? (l(), u("span", oe, [
1047
+ $(h, {
1048
+ size: "xs",
1049
+ name: a(n)
1050
+ }, null, 8, ["name"])
1051
+ ])) : v("", !0)
1052
+ ]),
1053
+ z("div", te, [
1054
+ s?.appName ? (l(), u("span", ae, I(s.appName), 1)) : v("", !0),
1055
+ s?.appDescription ? (l(), u("span", ne, I(s.appDescription), 1)) : v("", !0)
1056
+ ])
1057
+ ], 2));
1058
+ }
1059
+ });
1060
+ const le = {
1061
+ name: "MaRadioGroup"
1062
+ }, we = /* @__PURE__ */ _({
1063
+ ...le,
1064
+ setup(o) {
1065
+ return (e, s) => (l(), d(a(rs), G(L(e.$attrs)), B({ _: 2 }, [
1066
+ x(e.$slots, (n, i) => ({
1067
+ name: i,
1068
+ fn: g(() => [
1069
+ b(e.$slots, i)
1070
+ ])
1071
+ }))
1072
+ ]), 1040));
1073
+ }
1074
+ }), re = {
1075
+ name: "MaBadge"
1076
+ }, Ie = /* @__PURE__ */ _({
1077
+ ...re,
1078
+ props: {
1079
+ type: { default: "primary" },
1080
+ variant: { default: "dark" },
1081
+ size: { default: "medium" },
1082
+ icon: null,
1083
+ iconAlignment: { default: "left" }
1084
+ },
1085
+ setup(o) {
1086
+ const e = o, s = p(() => [
1087
+ "ma-badge",
1088
+ `ma-badge--${e.variant}--${e.type}`,
1089
+ `ma-badge--${e.size}`,
1090
+ {
1091
+ "ma-badge--icon-right": e.iconAlignment === "right"
1092
+ }
1093
+ ]);
1094
+ return (n, i) => (l(), u("div", {
1095
+ class: P(a(s))
1096
+ }, [
1097
+ e?.icon ? (l(), d(h, {
1098
+ key: 0,
1099
+ name: e?.icon
1100
+ }, null, 8, ["name"])) : v("", !0),
1101
+ b(n.$slots, "default")
1102
+ ], 2));
1103
+ }
1104
+ });
1105
+ const ce = {
1106
+ name: "MaAlert"
1107
+ }, xe = /* @__PURE__ */ _({
1108
+ ...ce,
1109
+ props: {
1110
+ variant: { default: "dark" },
1111
+ type: { default: "primary" },
1112
+ message: null,
1113
+ closable: { type: Boolean },
1114
+ showIcon: { type: Boolean },
1115
+ description: null
1116
+ },
1117
+ setup(o) {
1118
+ const e = o, s = p(() => [`ma-alert ma-alert--${e.variant}--${e.type}`]);
1119
+ return (n, i) => (l(), d(a(cs), C(n.$attrs, {
1120
+ class: a(s),
1121
+ description: o.description,
1122
+ message: o.message,
1123
+ closable: o.closable,
1124
+ showIcon: o.showIcon
1125
+ }), B({
1126
+ closeIcon: g(() => [
1127
+ $(h, { name: "close" })
1128
+ ]),
1129
+ message: g(() => [
1130
+ b(n.$slots, "default")
1131
+ ]),
1132
+ _: 2
1133
+ }, [
1134
+ x(n.$slots, (t, r) => ({
1135
+ name: r,
1136
+ fn: g(() => [
1137
+ b(n.$slots, r)
1138
+ ])
1139
+ }))
1140
+ ]), 1040, ["class", "description", "message", "closable", "showIcon"]));
1141
+ }
1142
+ });
893
1143
  export {
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
1144
+ xe as MaAlert,
1145
+ Ce as MaAppIcon,
1146
+ $e as MaAppTrackButton,
1147
+ Ie as MaBadge,
1148
+ ge as MaButton,
1149
+ he as MaCheckbox,
1150
+ be as MaCheckboxGroup,
1151
+ _e as MaForm,
1152
+ ye as MaFormItem,
1153
+ h as MaIcon,
1154
+ Rs as MaInput,
1155
+ ke as MaNumericInput,
1156
+ Js as MaRadio,
1157
+ we as MaRadioGroup,
1158
+ As as MaSelect,
1159
+ ve as MaSwitch,
1160
+ de as MaToggle,
1161
+ fe as MaTooltip,
1162
+ ue as MaTrackButton
907
1163
  };
908
1164
  //# sourceMappingURL=index.es.js.map