@mobileaction/action-kit 1.0.0 → 1.0.11

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