@mobileaction/action-kit 1.0.11 → 1.0.13

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