@mobileaction/action-kit 0.0.20 → 0.0.21

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