@mobileaction/action-kit 0.0.21 → 1.0.1

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