@mobileaction/action-kit 1.1.1 → 1.1.12

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.
@@ -1,48 +1,48 @@
1
- import { defineComponent as _, computed as p, defineAsyncComponent as J, openBlock as l, createBlock as d, resolveDynamicComponent as E, unref as i, normalizeClass as j, mergeProps as w, createSlots as M, renderList as z, withCtx as u, renderSlot as k, createVNode as $, Transition as q, createTextVNode as R, toDisplayString as I, createElementBlock as f, isRef as F, createCommentVNode as v, createElementVNode as B, ref as A, normalizeProps as Y, guardReactiveProps as W, useSlots as G, watch as U, Fragment as Q, onMounted as X, onBeforeUnmount as Z, normalizeStyle as ee, reactive as se, readonly as oe, toRefs as te } from "vue";
2
- import { Button as K, Switch as ae, Tooltip as ne, Form as ie, FormItem as le, Avatar as re, Select as ce, InputPassword as pe, Input as ge, ConfigProvider as ue, Textarea as me, SelectOption as de, Checkbox as fe, CheckboxGroup as ve, Radio as _e, RadioGroup as ye, Alert as he } from "ant-design-vue";
3
- const L = (t, s) => {
4
- const e = t[s];
5
- return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((o, r) => {
1
+ import { defineComponent as y, computed as c, defineAsyncComponent as J, openBlock as l, createBlock as m, resolveDynamicComponent as E, unref as i, normalizeClass as F, mergeProps as $, createSlots as M, renderList as z, withCtx as g, renderSlot as b, createVNode as w, Transition as q, createTextVNode as O, toDisplayString as I, createElementBlock as v, isRef as P, createCommentVNode as _, createElementVNode as B, ref as D, useSlots as G, watch as U, Fragment as Y, onMounted as W, onBeforeUnmount as Q, normalizeStyle as X, reactive as Z, readonly as ee, toRefs as se } from "vue";
2
+ import { Button as H, Switch as oe, Tooltip as te, Form as ae, FormItem as ne, Avatar as ie, Select as le, InputPassword as re, Input as ce, Textarea as pe, SelectOption as ge, Checkbox as ue, CheckboxGroup as me, Radio as de, RadioGroup as fe, Alert as ve } from "ant-design-vue";
3
+ const L = (o, s) => {
4
+ const e = o[s];
5
+ return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((t, r) => {
6
6
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, new Error("Unknown variable dynamic import: " + s)));
7
7
  });
8
- }, ke = {
8
+ }, _e = {
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
- }, be = {
14
+ }, ye = {
15
15
  name: "MaIcon"
16
- }, h = /* @__PURE__ */ _({
17
- ...be,
16
+ }, k = /* @__PURE__ */ y({
17
+ ...ye,
18
18
  props: {
19
19
  name: null,
20
20
  size: { default: "md" },
21
21
  spin: { type: Boolean }
22
22
  },
23
- setup(t) {
24
- const s = t, e = ["flag", "pay"], o = p(
23
+ setup(o) {
24
+ const s = o, e = ["flag", "pay"], t = c(
25
25
  () => J(
26
26
  function() {
27
27
  const n = e.find((a) => s.name.startsWith(`${a}-`));
28
28
  return n ? L(/* @__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/${n}/${s.name.replace(`${n}-`, "")}.svg`) : L(/* @__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-7e2fce85.mjs"), "./icons/android.svg": () => import("./android-e7185e66.mjs"), "./icons/apple-storefront.svg": () => import("./apple-storefront-42dd3c3b.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-1d2421e4.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/hamburger.svg": () => import("./hamburger-57662701.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/send.svg": () => import("./send-03f27d94.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/${s.name}.svg`);
29
29
  }.bind({ name: s.name })
30
30
  )
31
- ), r = p(() => [
31
+ ), r = c(() => [
32
32
  "ma-icon",
33
33
  "ak-icon",
34
34
  `ak-icon--${s.name}`,
35
- ke[s.size],
35
+ _e[s.size],
36
36
  { "animate-spin": s.spin }
37
37
  ]);
38
- return (n, a) => (l(), d(E(i(o)), {
39
- class: j(i(r))
38
+ return (n, a) => (l(), m(E(i(t)), {
39
+ class: F(i(r))
40
40
  }, null, 8, ["class"]));
41
41
  }
42
- }), $e = {
42
+ }), he = {
43
43
  name: "MaButton"
44
- }, we = /* @__PURE__ */ _({
45
- ...$e,
44
+ }, ke = /* @__PURE__ */ y({
45
+ ...he,
46
46
  props: {
47
47
  type: { default: "primary" },
48
48
  variant: { default: "dark" },
@@ -55,8 +55,8 @@ const L = (t, s) => {
55
55
  icon: null,
56
56
  IconAlignment: null
57
57
  },
58
- setup(t) {
59
- const s = t, e = p(() => s.type === "secondary" ? "default" : s.type === "grey-link" ? "link" : s.type), o = p(() => [
58
+ setup(o) {
59
+ const s = o, e = c(() => s.type === "secondary" ? "default" : s.type === "grey-link" ? "link" : s.type), t = c(() => [
60
60
  `
61
61
  ma-button
62
62
  ak-button
@@ -73,30 +73,30 @@ const L = (t, s) => {
73
73
  {
74
74
  "ak-button--disabled": n.value
75
75
  }
76
- ]), r = p(() => s?.loading || s?.icon), n = p(() => s?.disabled || s?.loading);
77
- return (a, g) => (l(), d(i(K), w({
78
- class: i(o),
76
+ ]), r = c(() => s?.loading || s?.icon), n = c(() => s?.disabled || s?.loading);
77
+ return (a, p) => (l(), m(i(H), $({
78
+ class: i(t),
79
79
  href: s.href,
80
80
  target: s.target,
81
81
  disabled: i(n),
82
82
  type: i(e),
83
83
  role: "button"
84
84
  }, a.$attrs, { "prefix-cls": "antd-btn" }), M({ _: 2 }, [
85
- z(a.$slots, (y, S) => ({
85
+ z(a.$slots, (h, S) => ({
86
86
  name: S,
87
- fn: u(() => [
88
- k(a.$slots, S)
87
+ fn: g(() => [
88
+ b(a.$slots, S)
89
89
  ])
90
90
  })),
91
91
  i(r) ? {
92
92
  name: "icon",
93
- fn: u(() => [
94
- s?.loading ? (l(), d(h, {
93
+ fn: g(() => [
94
+ s?.loading ? (l(), m(k, {
95
95
  key: 0,
96
96
  class: "ak-button__loader",
97
97
  spin: "",
98
98
  name: "loader"
99
- })) : (l(), d(h, {
99
+ })) : (l(), m(k, {
100
100
  key: 1,
101
101
  name: s?.icon
102
102
  }, null, 8, ["name"]))
@@ -106,10 +106,10 @@ const L = (t, s) => {
106
106
  ]), 1040, ["class", "href", "target", "disabled", "type"]));
107
107
  }
108
108
  });
109
- const Ce = {
109
+ const be = {
110
110
  name: "MaTrackButton"
111
- }, As = /* @__PURE__ */ _({
112
- ...Ce,
111
+ }, Ss = /* @__PURE__ */ y({
112
+ ...be,
113
113
  props: {
114
114
  variant: { default: "default" },
115
115
  size: { default: "md" },
@@ -119,8 +119,8 @@ const Ce = {
119
119
  showClose: { type: Boolean },
120
120
  keyword: null
121
121
  },
122
- setup(t) {
123
- const s = t, e = p(() => [
122
+ setup(o) {
123
+ const s = o, e = c(() => [
124
124
  `
125
125
  ma-track-button
126
126
  ak-track-button
@@ -136,54 +136,54 @@ const Ce = {
136
136
  {
137
137
  "ak-track-button--show-close": s?.showClose
138
138
  }
139
- ]), o = p(
139
+ ]), t = c(
140
140
  () => s.loading ? "loader" : s?.showClose ? "close-circle" : s?.tracked ? "tick-circle-bold" : "add"
141
- ), r = p(() => s.size === "lg" ? "sm" : "xs");
142
- return (n, a) => (l(), d(i(K), w(n.$attrs, {
141
+ ), r = c(() => s.size === "lg" ? "sm" : "xs");
142
+ return (n, a) => (l(), m(i(H), $(n.$attrs, {
143
143
  class: i(e),
144
144
  disabled: s?.disabled || s?.loading,
145
145
  role: "button",
146
146
  "prefix-cls": "antd-btn"
147
147
  }), M({
148
- icon: u(() => [
149
- $(q, { name: "fade" }, {
150
- default: u(() => [
151
- $(h, {
148
+ icon: g(() => [
149
+ w(q, { name: "fade" }, {
150
+ default: g(() => [
151
+ w(k, {
152
152
  spin: s?.loading,
153
- name: i(o),
153
+ name: i(t),
154
154
  size: i(r)
155
155
  }, null, 8, ["spin", "name", "size"])
156
156
  ]),
157
157
  _: 1
158
158
  })
159
159
  ]),
160
- default: u(() => [
161
- R(" " + I(t.keyword) + " ", 1)
160
+ default: g(() => [
161
+ O(" " + I(o.keyword) + " ", 1)
162
162
  ]),
163
163
  _: 2
164
164
  }, [
165
- z(n.$slots, (g, y) => ({
166
- name: y,
167
- fn: u(() => [
168
- k(n.$slots, y)
165
+ z(n.$slots, (p, h) => ({
166
+ name: h,
167
+ fn: g(() => [
168
+ b(n.$slots, h)
169
169
  ])
170
170
  }))
171
171
  ]), 1040, ["class", "disabled"]));
172
172
  }
173
173
  });
174
- const xe = {
174
+ const $e = {
175
175
  key: 0,
176
176
  class: "ma-toggle__titles"
177
- }, Ie = {
177
+ }, we = {
178
178
  key: 0,
179
179
  class: "ma-toggle__titles__title"
180
- }, Be = {
180
+ }, Ce = {
181
181
  key: 1,
182
182
  class: "ma-toggle__titles__sub-title"
183
- }, ze = {
183
+ }, xe = {
184
184
  name: "MaToggle"
185
- }, Vs = /* @__PURE__ */ _({
186
- ...ze,
185
+ }, Ms = /* @__PURE__ */ y({
186
+ ...xe,
187
187
  props: {
188
188
  size: { default: "default" },
189
189
  disabled: { type: Boolean },
@@ -195,47 +195,47 @@ const xe = {
195
195
  subTitle: null
196
196
  },
197
197
  emits: ["click", "change"],
198
- setup(t, { emit: s }) {
199
- const e = t, o = p({
198
+ setup(o, { emit: s }) {
199
+ const e = o, t = c({
200
200
  get() {
201
201
  return e.checked;
202
202
  },
203
203
  set(n) {
204
204
  s("change", n);
205
205
  }
206
- }), r = p(() => [
206
+ }), r = c(() => [
207
207
  "ma-toggle",
208
208
  `ma-toggle--${e.size}`,
209
209
  {
210
210
  "ma-toggle--disabled": e.disabled
211
211
  }
212
212
  ]);
213
- return (n, a) => (l(), f("div", {
214
- class: j(i(r))
213
+ return (n, a) => (l(), v("div", {
214
+ class: F(i(r))
215
215
  }, [
216
- $(i(ae), w({
216
+ w(i(oe), $({
217
217
  class: "ma-toggle__switch",
218
- checked: i(o),
219
- "onUpdate:checked": a[0] || (a[0] = (g) => F(o) ? o.value = g : null)
218
+ checked: i(t),
219
+ "onUpdate:checked": a[0] || (a[0] = (p) => P(t) ? t.value = p : null)
220
220
  }, n.$attrs, {
221
- onClick: a[1] || (a[1] = (g) => n.$emit("click", g)),
221
+ onClick: a[1] || (a[1] = (p) => n.$emit("click", p)),
222
222
  disabled: e.disabled,
223
223
  loading: e.loading,
224
224
  checkedChildren: e.checkedChildren,
225
225
  unCheckedChildren: e.unCheckedChildren,
226
226
  "prefix-cls": "antd-switch"
227
227
  }), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
228
- e.title || e.subTitle ? (l(), f("div", xe, [
229
- e.title ? (l(), f("span", Ie, I(e.title), 1)) : v("", !0),
230
- e.subTitle ? (l(), f("span", Be, I(e.subTitle), 1)) : v("", !0)
231
- ])) : v("", !0)
228
+ e.title || e.subTitle ? (l(), v("div", $e, [
229
+ e.title ? (l(), v("span", we, I(e.title), 1)) : _("", !0),
230
+ e.subTitle ? (l(), v("span", Ce, I(e.subTitle), 1)) : _("", !0)
231
+ ])) : _("", !0)
232
232
  ], 2));
233
233
  }
234
234
  });
235
- const Se = ["aria-checked", "disabled"], Me = {
235
+ const Ie = ["aria-checked", "disabled"], Be = {
236
236
  name: "MaSwitch"
237
- }, Ds = /* @__PURE__ */ _({
238
- ...Me,
237
+ }, Ns = /* @__PURE__ */ y({
238
+ ...Be,
239
239
  props: {
240
240
  active: null,
241
241
  leftIcon: null,
@@ -249,15 +249,15 @@ const Se = ["aria-checked", "disabled"], Me = {
249
249
  "click",
250
250
  "change"
251
251
  ],
252
- setup(t, { emit: s }) {
253
- const e = t, o = p({
252
+ setup(o, { emit: s }) {
253
+ const e = o, t = c({
254
254
  get() {
255
255
  return e.active;
256
256
  },
257
257
  set(a) {
258
258
  s("change", a);
259
259
  }
260
- }), r = p(() => [
260
+ }), r = c(() => [
261
261
  "ma-switch",
262
262
  "ak-switch",
263
263
  `ak-switch--${e.type}`,
@@ -265,41 +265,41 @@ const Se = ["aria-checked", "disabled"], Me = {
265
265
  "ak-switch--disabled": e.disabled
266
266
  }
267
267
  ]), n = (a) => {
268
- e.disabled || (o.value = a);
268
+ e.disabled || (t.value = a);
269
269
  };
270
- return (a, g) => (l(), f("button", w(a.$attrs, {
270
+ return (a, p) => (l(), v("button", $(a.$attrs, {
271
271
  class: i(r),
272
272
  type: "button",
273
273
  role: "switch",
274
- "aria-checked": i(o) === e.rightValue,
274
+ "aria-checked": i(t) === e.rightValue,
275
275
  disabled: e.disabled
276
276
  }), [
277
277
  B("span", {
278
- class: j({ active: e.active === e.leftValue }),
279
- onClick: g[0] || (g[0] = (y) => n(e.leftValue))
278
+ class: F({ active: e.active === e.leftValue }),
279
+ onClick: p[0] || (p[0] = (h) => n(e.leftValue))
280
280
  }, [
281
- $(h, {
281
+ w(k, {
282
282
  name: e.leftIcon
283
283
  }, null, 8, ["name"])
284
284
  ], 2),
285
285
  B("span", {
286
- class: j({ active: e.active === e.rightValue }),
287
- onClick: g[1] || (g[1] = (y) => n(e.rightValue))
286
+ class: F({ active: e.active === e.rightValue }),
287
+ onClick: p[1] || (p[1] = (h) => n(e.rightValue))
288
288
  }, [
289
- $(h, {
289
+ w(k, {
290
290
  name: e.rightIcon
291
291
  }, null, 8, ["name"])
292
292
  ], 2)
293
- ], 16, Se));
293
+ ], 16, Ie));
294
294
  }
295
295
  });
296
- const Ne = { class: "ak-tooltip-overlay__content" }, Ae = { class: "ak-tooltip-overlay__content__title" }, Ve = {
296
+ const ze = { class: "ak-tooltip-overlay__content" }, Se = { class: "ak-tooltip-overlay__content__title" }, Me = {
297
297
  key: 0,
298
298
  class: "ak-tooltip-overlay__content__description"
299
- }, De = {
299
+ }, Ne = {
300
300
  name: "MaTooltip"
301
- }, js = /* @__PURE__ */ _({
302
- ...De,
301
+ }, As = /* @__PURE__ */ y({
302
+ ...Ne,
303
303
  props: {
304
304
  placement: { default: "top" },
305
305
  type: { default: "secondary" },
@@ -310,127 +310,127 @@ const Ne = { class: "ak-tooltip-overlay__content" }, Ae = { class: "ak-tooltip-o
310
310
  closable: { type: Boolean },
311
311
  defaultVisible: { type: Boolean, default: !1 }
312
312
  },
313
- setup(t) {
314
- const s = t, e = p(() => [
313
+ setup(o) {
314
+ const s = o, e = c(() => [
315
315
  "ma-tooltip",
316
316
  "ak-tooltip",
317
317
  `ak-tooltip--${s.type}`,
318
318
  `ak-tooltip--${s.placement}`
319
- ]), o = p(() => [
319
+ ]), t = c(() => [
320
320
  "ak-tooltip-overlay",
321
321
  `ak-tooltip-overlay--${s.type}`,
322
322
  `ak-tooltip-overlay--${s.placement}`
323
- ].join(" ")), r = A(s.defaultVisible), n = () => {
323
+ ].join(" ")), r = D(s.defaultVisible), n = () => {
324
324
  r.value = !1;
325
325
  };
326
- return (a, g) => (l(), d(i(ne), w(a.$attrs, {
326
+ return (a, p) => (l(), m(i(te), $(a.$attrs, {
327
327
  visible: r.value,
328
- "onUpdate:visible": g[0] || (g[0] = (y) => r.value = y),
328
+ "onUpdate:visible": p[0] || (p[0] = (h) => r.value = h),
329
329
  class: i(e),
330
330
  placement: s.placement,
331
331
  trigger: s.trigger,
332
- overlayClassName: i(o),
332
+ overlayClassName: i(t),
333
333
  "prefix-cls": "antd-tooltip"
334
334
  }), {
335
- title: u(() => [
336
- s.icon ? (l(), d(h, {
335
+ title: g(() => [
336
+ s.icon ? (l(), m(k, {
337
337
  key: 0,
338
338
  size: "xs",
339
339
  name: s.icon
340
- }, null, 8, ["name"])) : v("", !0),
341
- k(a.$slots, "icon"),
342
- B("div", Ne, [
343
- B("span", Ae, [
344
- R(I(s.title) + " ", 1),
345
- k(a.$slots, "title")
340
+ }, null, 8, ["name"])) : _("", !0),
341
+ b(a.$slots, "icon"),
342
+ B("div", ze, [
343
+ B("span", Se, [
344
+ O(I(s.title) + " ", 1),
345
+ b(a.$slots, "title")
346
346
  ]),
347
- s?.description || a.$slots.description ? (l(), f("span", Ve, [
348
- R(I(s.description) + " ", 1),
349
- k(a.$slots, "description")
350
- ])) : v("", !0)
347
+ s?.description || a.$slots.description ? (l(), v("span", Me, [
348
+ O(I(s.description) + " ", 1),
349
+ b(a.$slots, "description")
350
+ ])) : _("", !0)
351
351
  ]),
352
- s.closable ? (l(), d(h, {
352
+ s.closable ? (l(), m(k, {
353
353
  key: 1,
354
354
  onClick: n,
355
355
  class: "ak-tooltip-overlay__close",
356
356
  size: "xs",
357
357
  name: "close"
358
- })) : v("", !0)
358
+ })) : _("", !0)
359
359
  ]),
360
- default: u(() => [
361
- k(a.$slots, "default")
360
+ default: g(() => [
361
+ b(a.$slots, "default")
362
362
  ]),
363
363
  _: 3
364
364
  }, 16, ["visible", "class", "placement", "trigger", "overlayClassName"]));
365
365
  }
366
366
  });
367
- const je = {
367
+ const Ae = {
368
368
  name: "MaForm"
369
- }, Fs = /* @__PURE__ */ _({
370
- ...je,
371
- setup(t, { expose: s }) {
372
- const e = A();
369
+ }, Vs = /* @__PURE__ */ y({
370
+ ...Ae,
371
+ setup(o, { expose: s }) {
372
+ const e = D();
373
373
  return s({
374
374
  validate: () => e.value.validate(),
375
375
  clearValidate: () => e.value.clearValidate(),
376
376
  resetFields: () => e.value.resetFields(),
377
377
  scrollToField: () => e.value.scrollToField(),
378
378
  validateFields: () => e.value.validateFields()
379
- }), (y, S) => (l(), d(i(ie), w(y.$attrs, {
379
+ }), (h, S) => (l(), m(i(ae), $(h.$attrs, {
380
380
  class: "ma-form",
381
381
  "prefix-cls": "antd-form",
382
382
  ref_key: "form",
383
383
  ref: e
384
384
  }), M({ _: 2 }, [
385
- z(y.$slots, (N, C) => ({
386
- name: C,
387
- fn: u(() => [
388
- k(y.$slots, C)
385
+ z(h.$slots, (N, x) => ({
386
+ name: x,
387
+ fn: g(() => [
388
+ b(h.$slots, x)
389
389
  ])
390
390
  }))
391
391
  ]), 1040));
392
392
  }
393
393
  });
394
- const Fe = {
394
+ const Ve = {
395
395
  name: "MaFormItem"
396
- }, Ps = /* @__PURE__ */ _({
397
- ...Fe,
398
- setup(t) {
399
- return (s, e) => (l(), d(i(le), w(s.$attrs, {
396
+ }, Ds = /* @__PURE__ */ y({
397
+ ...Ve,
398
+ setup(o) {
399
+ return (s, e) => (l(), m(i(ne), $(s.$attrs, {
400
400
  class: "ma-form-item",
401
401
  "prefix-cls": "antd-form"
402
402
  }), M({ _: 2 }, [
403
- z(s.$slots, (o, r) => ({
403
+ z(s.$slots, (t, r) => ({
404
404
  name: r,
405
- fn: u(() => [
406
- k(s.$slots, r)
405
+ fn: g(() => [
406
+ b(s.$slots, r)
407
407
  ])
408
408
  }))
409
409
  ]), 1040));
410
410
  }
411
411
  });
412
- var D = /* @__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))(D || {}), H = /* @__PURE__ */ ((t) => (t.small = "small", t.medium = "medium", t.large = "large", t))(H || {});
413
- const Pe = {
412
+ var j = /* @__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))(j || {}), K = /* @__PURE__ */ ((o) => (o.small = "small", o.medium = "medium", o.large = "large", o))(K || {});
413
+ const De = {
414
414
  usd: "$",
415
415
  eur: "€",
416
416
  gbp: "£",
417
417
  jpy: "¥"
418
- }, Re = [
418
+ }, je = [
419
419
  { label: "USD", value: "USD" },
420
420
  { label: "EUR", value: "EUR" },
421
421
  { label: "GBP", value: "GBP" },
422
422
  { label: "JPY", value: "JPY" }
423
- ], Oe = {
423
+ ], Fe = {
424
424
  name: "MaAvatar"
425
- }, Te = /* @__PURE__ */ _({
426
- ...Oe,
427
- setup(t) {
428
- return (s, e) => (l(), d(i(re), Y(W(s.$attrs)), null, 16));
425
+ }, Pe = /* @__PURE__ */ y({
426
+ ...Fe,
427
+ setup(o) {
428
+ return (s, e) => (l(), m(i(ie), $(s.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
429
429
  }
430
- }), Ue = { class: "dropdown-wrapper" }, Le = { class: "mobile-header" }, Ee = /* @__PURE__ */ B("label", null, "Select", -1), qe = {
430
+ }), Re = { class: "dropdown-wrapper" }, Oe = { class: "mobile-header" }, Te = /* @__PURE__ */ B("label", null, "Select", -1), Ue = {
431
431
  name: "MaDropdownRender"
432
- }, Ge = /* @__PURE__ */ _({
433
- ...qe,
432
+ }, Le = /* @__PURE__ */ y({
433
+ ...Ue,
434
434
  props: {
435
435
  menu: {
436
436
  type: Object,
@@ -442,8 +442,8 @@ const Pe = {
442
442
  }
443
443
  },
444
444
  emits: ["update:filter", "closeDropdown"],
445
- setup(t, { emit: s }) {
446
- const e = t, o = (a, { attrs: g }) => g.vnodes, r = p({
445
+ setup(o, { emit: s }) {
446
+ const e = o, t = (a, { attrs: p }) => p.vnodes, r = c({
447
447
  get() {
448
448
  return e.filter;
449
449
  },
@@ -453,41 +453,41 @@ const Pe = {
453
453
  }), n = () => {
454
454
  s("closeDropdown");
455
455
  };
456
- return (a, g) => (l(), f("div", Ue, [
457
- B("div", Le, [
458
- $(h, {
456
+ return (a, p) => (l(), v("div", Re, [
457
+ B("div", Oe, [
458
+ w(k, {
459
459
  size: "lg",
460
460
  name: "close-circle",
461
461
  onClick: n
462
462
  }),
463
- Ee,
464
- $(we, {
463
+ Te,
464
+ w(ke, {
465
465
  type: "grey-link",
466
466
  onClick: n
467
467
  }, {
468
- default: u(() => [
469
- R("Done")
468
+ default: g(() => [
469
+ O("Done")
470
470
  ]),
471
471
  _: 1
472
472
  })
473
473
  ]),
474
- $(ss, {
474
+ w(Xe, {
475
475
  value: i(r),
476
- "onUpdate:value": g[0] || (g[0] = (y) => F(r) ? r.value = y : null),
476
+ "onUpdate:value": p[0] || (p[0] = (h) => P(r) ? r.value = h : null),
477
477
  autofocus: "",
478
478
  placeholder: "Search",
479
479
  "prefix-icon": "search-normal"
480
480
  }, null, 8, ["value"]),
481
- $(o, { vnodes: t.menu }, null, 8, ["vnodes"])
481
+ w(t, { vnodes: o.menu }, null, 8, ["vnodes"])
482
482
  ]));
483
483
  }
484
- }), Ke = {
484
+ }), Ee = {
485
485
  key: 0,
486
486
  class: "prefix-icon"
487
- }, He = {
487
+ }, qe = {
488
488
  name: "MaSelect"
489
- }, Je = /* @__PURE__ */ _({
490
- ...He,
489
+ }, Ge = /* @__PURE__ */ y({
490
+ ...qe,
491
491
  props: {
492
492
  allowClear: { type: Boolean },
493
493
  autoClearSearchValue: { type: Boolean, default: !0 },
@@ -510,47 +510,48 @@ const Pe = {
510
510
  suffixIcon: null,
511
511
  prefixIcon: null,
512
512
  open: { type: Boolean, default: !1 },
513
- value: { default: "" }
513
+ value: { default: "" },
514
+ listHeight: { default: 288 }
514
515
  },
515
516
  emits: [
516
517
  "update:value"
517
518
  ],
518
- setup(t, { emit: s }) {
519
- const e = t, o = G(), r = A(e?.searchValue), n = A(e.open), a = p(() => !e?.mode && e?.showSearch), g = p({
519
+ setup(o, { emit: s }) {
520
+ const e = o, t = G(), r = D(e?.searchValue), n = D(e.open), a = c(() => !e?.mode && e?.showSearch), p = c({
520
521
  get() {
521
522
  return e.value;
522
523
  },
523
- set(m) {
524
- s("update:value", m);
524
+ set(d) {
525
+ s("update:value", d);
525
526
  }
526
- }), y = p(() => [
527
+ }), h = c(() => [
527
528
  "ma-select",
528
529
  `ma-select--${e.size}`,
529
530
  {
530
- "ma-select--has-prefix": e.mode ? !1 : o?.prefixIcon || e?.prefixIcon
531
+ "ma-select--has-prefix": e.mode ? !1 : t?.prefixIcon || e?.prefixIcon
531
532
  },
532
533
  {
533
- "ma-select--selected": Array.isArray(g.value) ? g.value.length : g.value
534
+ "ma-select--selected": Array.isArray(p.value) ? p.value.length : p.value
534
535
  },
535
536
  {
536
537
  "ma-select--custom-render": a
537
538
  }
538
- ]), S = p(() => [
539
+ ]), S = c(() => [
539
540
  e?.dropdownClassName,
540
541
  "ma-select-dropdown",
541
- !e?.mode && (o?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
542
- ].join(" ")), N = p(() => e?.loading ? "loader" : e?.suffixIcon), C = () => {
542
+ !e?.mode && (t?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
543
+ ].join(" ")), N = c(() => e?.loading ? "loader" : e?.suffixIcon), x = () => {
543
544
  n.value = !0;
544
- }, V = (m) => {
545
- n.value = m, r.value = "";
546
- }, P = p(() => !a.value && e?.showSearch), c = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : 288, b = () => {
545
+ }, A = (d) => {
546
+ n.value = d, r.value = "";
547
+ }, R = c(() => !a.value && e?.showSearch), f = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, u = () => {
547
548
  n.value = !1;
548
549
  };
549
- return (m, x) => (l(), d(i(ce), w({
550
- value: i(g),
551
- "onUpdate:value": x[1] || (x[1] = (O) => F(g) ? g.value = O : null)
552
- }, m.$attrs, {
553
- class: i(y),
550
+ return (d, C) => (l(), m(i(le), $({
551
+ value: i(p),
552
+ "onUpdate:value": C[1] || (C[1] = (V) => P(p) ? p.value = V : null)
553
+ }, d.$attrs, {
554
+ class: i(h),
554
555
  allowClear: e?.allowClear,
555
556
  autoClearSearchValue: e?.autoClearSearchValue,
556
557
  autofocus: e?.autofocus,
@@ -563,80 +564,80 @@ const Pe = {
563
564
  options: e?.options,
564
565
  placeholder: e?.placeholder,
565
566
  searchValue: r.value || void 0,
566
- showSearch: i(P),
567
+ showSearch: i(R),
567
568
  mode: e?.mode,
568
- "list-height": c(),
569
+ "list-height": f(),
569
570
  size: e?.size,
570
571
  open: n.value,
571
- onClick: C,
572
- onDropdownVisibleChange: V,
572
+ onClick: x,
573
+ onDropdownVisibleChange: A,
573
574
  "prefix-cls": "antd-select"
574
575
  }), M({
575
- suffixIcon: u(() => [
576
- $(h, {
576
+ suffixIcon: g(() => [
577
+ w(k, {
577
578
  spin: e?.loading,
578
579
  name: i(N) || "chevron-down"
579
580
  }, null, 8, ["spin", "name"]),
580
- m.$slots?.prefixIcon || e?.prefixIcon ? (l(), f("div", Ke, [
581
- k(m.$slots, "prefixIcon", {}, () => [
582
- e?.prefixIcon ? (l(), d(h, {
581
+ d.$slots?.prefixIcon || e?.prefixIcon ? (l(), v("div", Ee, [
582
+ b(d.$slots, "prefixIcon", {}, () => [
583
+ e?.prefixIcon ? (l(), m(k, {
583
584
  key: 0,
584
585
  name: e?.prefixIcon
585
- }, null, 8, ["name"])) : v("", !0)
586
+ }, null, 8, ["name"])) : _("", !0)
586
587
  ])
587
- ])) : v("", !0)
588
+ ])) : _("", !0)
588
589
  ]),
589
- removeIcon: u(() => [
590
- $(h, {
590
+ removeIcon: g(() => [
591
+ w(k, {
591
592
  name: e?.removeIcon || "close"
592
593
  }, null, 8, ["name"])
593
594
  ]),
594
595
  _: 2
595
596
  }, [
596
- z(m.$slots, (O, T) => ({
597
+ z(d.$slots, (V, T) => ({
597
598
  name: T,
598
- fn: u(() => [
599
- k(m.$slots, T)
599
+ fn: g(() => [
600
+ b(d.$slots, T)
600
601
  ])
601
602
  })),
602
603
  e?.clearIcon ? {
603
604
  name: "clearIcon",
604
- fn: u(() => [
605
- e?.clearIcon ? (l(), d(h, {
605
+ fn: g(() => [
606
+ e?.clearIcon ? (l(), m(k, {
606
607
  key: 0,
607
608
  name: e?.clearIcon
608
- }, null, 8, ["name"])) : v("", !0)
609
+ }, null, 8, ["name"])) : _("", !0)
609
610
  ]),
610
611
  key: "0"
611
612
  } : void 0,
612
613
  e?.menuItemSelectedIcon ? {
613
614
  name: "menuItemSelectedIcon",
614
- fn: u(() => [
615
- $(h, {
615
+ fn: g(() => [
616
+ w(k, {
616
617
  name: e?.menuItemSelectedIcon
617
618
  }, null, 8, ["name"])
618
619
  ]),
619
620
  key: "1"
620
621
  } : void 0,
621
- m.$slots.notFoundContent ? void 0 : {
622
+ d.$slots.notFoundContent ? void 0 : {
622
623
  name: "notFoundContent",
623
- fn: u(() => [
624
- $(h, {
624
+ fn: g(() => [
625
+ w(k, {
625
626
  size: "sm",
626
627
  name: "warning"
627
628
  }),
628
- R(" No result found! ")
629
+ O(" No result found! ")
629
630
  ]),
630
631
  key: "2"
631
632
  },
632
633
  i(a) && n.value ? {
633
634
  name: "dropdownRender",
634
- fn: u(({ menuNode: O }) => [
635
- $(Ge, {
635
+ fn: g(({ menuNode: V }) => [
636
+ w(Le, {
636
637
  filter: r.value,
637
- "onUpdate:filter": x[0] || (x[0] = (T) => r.value = T),
638
- menu: O,
639
- onCloseDropdown: b
638
+ "onUpdate:filter": C[0] || (C[0] = (T) => r.value = T),
639
+ menu: V,
640
+ onCloseDropdown: u
640
641
  }, null, 8, ["filter", "menu"])
641
642
  ]),
642
643
  key: "3"
@@ -644,27 +645,27 @@ const Pe = {
644
645
  ]), 1040, ["value", "class", "allowClear", "autoClearSearchValue", "autofocus", "defaultOpen", "disabled", "dropdownClassName", "loading", "optionFilterProp", "optionLabelProp", "options", "placeholder", "searchValue", "showSearch", "mode", "list-height", "size", "open"]));
645
646
  }
646
647
  });
647
- const Ye = ["for"], We = {
648
+ const He = ["for"], Ke = {
648
649
  key: 1,
649
650
  class: "ak-input__wrapper"
650
- }, Qe = {
651
+ }, Je = {
651
652
  key: 1,
652
653
  class: "currency"
653
- }, Xe = {
654
+ }, Ye = {
654
655
  key: 2,
655
656
  class: "ak-input__textarea-wrapper"
656
- }, Ze = {
657
+ }, We = {
657
658
  key: 3,
658
659
  class: "ak-input__hint-text"
659
- }, es = {
660
+ }, Qe = {
660
661
  name: "MaInput",
661
662
  inheritAttrs: !1
662
- }, ss = /* @__PURE__ */ _({
663
- ...es,
663
+ }, Xe = /* @__PURE__ */ y({
664
+ ...Qe,
664
665
  props: {
665
666
  allowClear: { type: Boolean },
666
- type: { default: D.text },
667
- size: { default: H.small },
667
+ type: { default: j.text },
668
+ size: { default: K.small },
668
669
  title: null,
669
670
  hintText: null,
670
671
  hasError: { type: Boolean },
@@ -685,8 +686,8 @@ const Ye = ["for"], We = {
685
686
  "update:value",
686
687
  "update:amountCurrency"
687
688
  ],
688
- setup(t, { emit: s }) {
689
- const e = t, o = A(null), r = p(() => [D.amount, D.creditCard].includes(e.type) ? "number" : e.type === D.userInfo ? "text" : e.type), n = p(() => [
689
+ setup(o, { emit: s }) {
690
+ const e = o, t = D(null), r = c(() => [j.amount, j.creditCard].includes(e.type) ? "number" : e.type === j.userInfo ? "text" : e.type), n = c(() => [
690
691
  `ma-input ak-input ak-input--${e.type} ak-input--${e.size}`,
691
692
  {
692
693
  "ak-input--has-error": e.hasError
@@ -697,236 +698,231 @@ const Ye = ["for"], We = {
697
698
  {
698
699
  "ak-input--filled": e?.value
699
700
  }
700
- ]), a = p({
701
+ ]), a = c({
701
702
  get() {
702
703
  return e.value;
703
704
  },
704
- set(c) {
705
- s("update:value", c);
705
+ set(u) {
706
+ s("update:value", u);
706
707
  }
707
- }), g = p(() => e.amountCurrency ? Pe[e.amountCurrency.toLowerCase()] : null), y = p({
708
+ }), p = c(() => e.amountCurrency ? De[e.amountCurrency.toLowerCase()] : null), h = c({
708
709
  get() {
709
710
  return e.amountCurrency;
710
711
  },
711
- set(c) {
712
- s("update:amountCurrency", c);
712
+ set(u) {
713
+ s("update:amountCurrency", u);
713
714
  }
714
- }), S = p(() => e.type === D.password ? pe : ge), N = p(() => e.type === D.url ? "https" : e?.addonBefore), C = (c) => {
715
- s("change", c);
716
- }, V = (c) => {
717
- s("currency-change", c);
718
- }, P = () => {
719
- o.value.focus();
715
+ }), S = c(() => e.type === j.password ? re : ce), N = c(() => e.type === j.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), x = c(() => e.type === j.url ? "https" : e?.addonBefore), A = (u) => {
716
+ s("change", u);
717
+ }, R = (u) => {
718
+ s("currency-change", u);
719
+ }, f = () => {
720
+ t.value.focus();
720
721
  };
721
- return (c, b) => (l(), f("div", {
722
- class: j(i(n))
722
+ return (u, d) => (l(), v("div", {
723
+ class: F(i(n))
723
724
  }, [
724
- k(c.$slots, "title"),
725
- e.title ? (l(), f("label", {
725
+ b(u.$slots, "title"),
726
+ e.title ? (l(), v("label", {
726
727
  key: 0,
727
- onClick: P,
728
+ onClick: f,
728
729
  class: "ak-input__title",
729
- for: c.$attrs?.id
730
- }, I(e.title), 9, Ye)) : v("", !0),
731
- e.type !== "textarea" ? (l(), f("div", We, [
732
- $(i(ue), { "prefix-cls": "antd" }, {
733
- default: u(() => [
734
- (l(), d(E(i(S)), w({
735
- value: i(a),
736
- "onUpdate:value": b[1] || (b[1] = (m) => F(a) ? a.value = m : null)
737
- }, c.$attrs, {
738
- allowClear: e?.allowClear,
739
- type: i(r),
740
- disabled: e?.disabled,
741
- placeholder: e?.placeholder,
742
- addonBefore: i(N),
743
- addonAfter: t.addonAfter,
744
- class: "ak-input__input",
745
- onChange: C,
746
- ref_key: "inputRef",
747
- ref: o
748
- }), M({
749
- prefix: u(() => [
750
- e.prefixIcon ? (l(), d(h, {
751
- key: 0,
752
- size: "xs",
753
- name: e.prefixIcon
754
- }, null, 8, ["name"])) : i(g) ? (l(), f("span", Qe, I(i(g)), 1)) : e.type === i(D).userInfo ? (l(), d(Te, {
755
- key: 2,
756
- src: e.avatarUrl,
757
- disabled: e.disabled
758
- }, null, 8, ["src", "disabled"])) : v("", !0)
759
- ]),
760
- suffix: u(() => [
761
- e.type === "amount" ? (l(), d(Je, {
762
- key: 0,
763
- value: i(y),
764
- "onUpdate:value": b[0] || (b[0] = (m) => F(y) ? y.value = m : null),
765
- onChange: V,
766
- dropdownClassName: "ak-input__input__ma-select__dropdown",
767
- options: i(Re),
768
- disabled: e.disabled,
769
- size: "small"
770
- }, null, 8, ["value", "options", "disabled"])) : v("", !0),
771
- e.suffixIcon ? (l(), d(h, {
772
- key: 1,
773
- size: "xs",
774
- name: e.suffixIcon
775
- }, null, 8, ["name"])) : v("", !0)
776
- ]),
777
- _: 2
778
- }, [
779
- z(c.$slots, (m, x) => ({
780
- name: x,
781
- fn: u(() => [
782
- k(c.$slots, x)
783
- ])
784
- }))
785
- ]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter"]))
730
+ for: u.$attrs?.id
731
+ }, I(e.title), 9, He)) : _("", !0),
732
+ e.type !== "textarea" ? (l(), v("div", Ke, [
733
+ (l(), m(E(i(S)), $({
734
+ value: i(a),
735
+ "onUpdate:value": d[1] || (d[1] = (C) => P(a) ? a.value = C : null)
736
+ }, { ...u.$attrs, ...i(N) }, {
737
+ allowClear: e?.allowClear,
738
+ type: i(r),
739
+ disabled: e?.disabled,
740
+ placeholder: e?.placeholder,
741
+ addonBefore: i(x),
742
+ addonAfter: o.addonAfter,
743
+ class: "ak-input__input",
744
+ onChange: A,
745
+ ref_key: "inputRef",
746
+ ref: t
747
+ }), M({
748
+ prefix: g(() => [
749
+ e.prefixIcon ? (l(), m(k, {
750
+ key: 0,
751
+ size: "xs",
752
+ name: e.prefixIcon
753
+ }, null, 8, ["name"])) : i(p) ? (l(), v("span", Je, I(i(p)), 1)) : e.type === i(j).userInfo ? (l(), m(Pe, {
754
+ key: 2,
755
+ src: e.avatarUrl,
756
+ disabled: e.disabled
757
+ }, null, 8, ["src", "disabled"])) : _("", !0)
786
758
  ]),
787
- _: 3
788
- })
789
- ])) : (l(), f("div", Xe, [
790
- $(i(me), w({
759
+ suffix: g(() => [
760
+ e.type === "amount" ? (l(), m(Ge, {
761
+ key: 0,
762
+ value: i(h),
763
+ "onUpdate:value": d[0] || (d[0] = (C) => P(h) ? h.value = C : null),
764
+ onChange: R,
765
+ dropdownClassName: "ak-input__input__ma-select__dropdown",
766
+ options: i(je),
767
+ disabled: e.disabled,
768
+ size: "small"
769
+ }, null, 8, ["value", "options", "disabled"])) : _("", !0),
770
+ e.suffixIcon ? (l(), m(k, {
771
+ key: 1,
772
+ size: "xs",
773
+ name: e.suffixIcon
774
+ }, null, 8, ["name"])) : _("", !0)
775
+ ]),
776
+ _: 2
777
+ }, [
778
+ z(u.$slots, (C, V) => ({
779
+ name: V,
780
+ fn: g(() => [
781
+ b(u.$slots, V)
782
+ ])
783
+ }))
784
+ ]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter"]))
785
+ ])) : (l(), v("div", Ye, [
786
+ w(i(pe), $({
791
787
  value: i(a),
792
- "onUpdate:value": b[2] || (b[2] = (m) => F(a) ? a.value = m : null)
793
- }, c.$attrs, {
788
+ "onUpdate:value": d[2] || (d[2] = (C) => P(a) ? a.value = C : null)
789
+ }, u.$attrs, {
794
790
  class: "ak-input__input",
795
791
  disabled: e?.disabled,
796
792
  placeholder: e?.placeholder,
797
- onChange: C,
793
+ onChange: A,
798
794
  rows: 5,
799
795
  "prefix-cls": "antd-input",
800
796
  ref_key: "inputRef",
801
- ref: o
797
+ ref: t
802
798
  }), M({ _: 2 }, [
803
- z(c.$slots, (m, x) => ({
804
- name: x,
805
- fn: u(() => [
806
- k(c.$slots, x)
799
+ z(u.$slots, (C, V) => ({
800
+ name: V,
801
+ fn: g(() => [
802
+ b(u.$slots, V)
807
803
  ])
808
804
  }))
809
805
  ]), 1040, ["value", "disabled", "placeholder"])
810
806
  ])),
811
- k(c.$slots, "hint"),
812
- e.hintText ? (l(), f("div", Ze, I(e.hintText), 1)) : v("", !0)
807
+ b(u.$slots, "hint"),
808
+ e.hintText ? (l(), v("div", We, I(e.hintText), 1)) : _("", !0)
813
809
  ], 2));
814
810
  }
815
811
  });
816
- const os = {
812
+ const Ze = {
817
813
  name: "MaSelectOption"
818
- }, Rs = /* @__PURE__ */ _({
819
- ...os,
820
- setup(t) {
821
- return (s, e) => (l(), d(i(de), w(s.$attrs, {
814
+ }, js = /* @__PURE__ */ y({
815
+ ...Ze,
816
+ setup(o) {
817
+ return (s, e) => (l(), m(i(ge), $(s.$attrs, {
822
818
  class: "ma-select-option",
823
819
  "prefix-cls": "antd-select"
824
820
  }), M({ _: 2 }, [
825
- z(s.$slots, (o, r) => ({
821
+ z(s.$slots, (t, r) => ({
826
822
  name: r,
827
- fn: u(() => [
828
- k(s.$slots, r)
823
+ fn: g(() => [
824
+ b(s.$slots, r)
829
825
  ])
830
826
  }))
831
827
  ]), 1040));
832
828
  }
833
- }), ts = {
829
+ }), es = {
834
830
  name: "MaCheckbox"
835
- }, Os = /* @__PURE__ */ _({
836
- ...ts,
831
+ }, Fs = /* @__PURE__ */ y({
832
+ ...es,
837
833
  props: {
838
834
  hint: null,
839
835
  indeterminate: { type: Boolean, default: void 0 },
840
836
  disabled: { type: Boolean }
841
837
  },
842
- setup(t) {
843
- const s = t, e = p(() => [
838
+ setup(o) {
839
+ const s = o, e = c(() => [
844
840
  "ma-checkbox",
845
841
  "ak-checkbox",
846
842
  {
847
843
  "ak-checkbox--intermediate": typeof s?.indeterminate == "boolean"
848
844
  }
849
845
  ]);
850
- return (o, r) => (l(), d(i(fe), w(o.$attrs, {
846
+ return (t, r) => (l(), m(i(ue), $(t.$attrs, {
851
847
  class: i(e),
852
848
  disabled: s?.disabled,
853
849
  indeterminate: s?.indeterminate,
854
850
  "prefix-cls": "antd-checkbox"
855
851
  }), M({ _: 2 }, [
856
- z(o.$slots, (n, a) => ({
852
+ z(t.$slots, (n, a) => ({
857
853
  name: a,
858
- fn: u(() => [
859
- k(o.$slots, a),
860
- s.hint ? (l(), f("div", {
854
+ fn: g(() => [
855
+ b(t.$slots, a),
856
+ s.hint ? (l(), v("div", {
861
857
  key: a,
862
858
  class: "ak-checkbox__hint-text"
863
- }, I(s.hint), 1)) : v("", !0)
859
+ }, I(s.hint), 1)) : _("", !0)
864
860
  ])
865
861
  }))
866
862
  ]), 1040, ["class", "disabled", "indeterminate"]));
867
863
  }
868
864
  });
869
- const as = {
865
+ const ss = {
870
866
  name: "MaCheckboxGroup"
871
- }, Ts = /* @__PURE__ */ _({
872
- ...as,
867
+ }, Ps = /* @__PURE__ */ y({
868
+ ...ss,
873
869
  props: {
874
870
  hint: null,
875
871
  disabled: { type: Boolean }
876
872
  },
877
- setup(t) {
878
- const s = t;
879
- return (e, o) => (l(), d(i(ve), w(e.$attrs, {
873
+ setup(o) {
874
+ const s = o;
875
+ return (e, t) => (l(), m(i(me), $(e.$attrs, {
880
876
  class: "ak-checkbox-group ma-checkbox-group",
881
877
  "prefix-cls": "antd-checkbox"
882
878
  }), M({ _: 2 }, [
883
879
  z(e.$slots, (r, n) => ({
884
880
  name: n,
885
- fn: u(() => [
886
- k(e.$slots, n),
887
- s.hint ? (l(), f("div", {
881
+ fn: g(() => [
882
+ b(e.$slots, n),
883
+ s.hint ? (l(), v("div", {
888
884
  key: n,
889
885
  class: "ak-checkbox__hint-text"
890
- }, I(s.hint), 1)) : v("", !0)
886
+ }, I(s.hint), 1)) : _("", !0)
891
887
  ])
892
888
  }))
893
889
  ]), 1040));
894
890
  }
895
- }), ns = ["value"], is = /* @__PURE__ */ _({
891
+ }), os = ["value"], ts = /* @__PURE__ */ y({
896
892
  __name: "singleNumericInput",
897
893
  props: {
898
894
  value: { default: "" },
899
895
  focus: { type: Boolean, default: !1 }
900
896
  },
901
897
  emits: ["update:value"],
902
- setup(t, { emit: s }) {
903
- const e = t, o = A(null);
898
+ setup(o, { emit: s }) {
899
+ const e = o, t = D(null);
904
900
  U(
905
901
  () => e.focus,
906
902
  (n) => {
907
- n && o.value.focus();
903
+ n && t.value.focus();
908
904
  }
909
905
  );
910
906
  const r = (n) => {
911
907
  s("update:value", n.target.value);
912
908
  };
913
- return (n, a) => (l(), f("input", w(n.$attrs, {
909
+ return (n, a) => (l(), v("input", $(n.$attrs, {
914
910
  value: e.value,
915
911
  onInput: r,
916
912
  ref_key: "input",
917
- ref: o,
913
+ ref: t,
918
914
  type: "number",
919
915
  min: "0",
920
916
  max: "9",
921
917
  maxlength: "1",
922
918
  pattern: "[0-9]",
923
919
  inputmode: "numeric"
924
- }), null, 16, ns));
920
+ }), null, 16, os));
925
921
  }
926
- }), ls = {
922
+ }), as = {
927
923
  name: "MaNumericInput"
928
- }, Us = /* @__PURE__ */ _({
929
- ...ls,
924
+ }, Rs = /* @__PURE__ */ y({
925
+ ...as,
930
926
  props: {
931
927
  disabled: { type: Boolean },
932
928
  length: { default: 6 },
@@ -936,8 +932,8 @@ const as = {
936
932
  size: { default: "medium" }
937
933
  },
938
934
  emits: ["update:value"],
939
- setup(t, { emit: s }) {
940
- const e = t, o = A(null), r = A(Array.from({ length: e.length }, (c, b) => e.value[b] || null)), n = p(() => [
935
+ setup(o, { emit: s }) {
936
+ const e = o, t = D(null), r = D(Array.from({ length: e.length }, (f, u) => e.value[u] || null)), n = c(() => [
941
937
  "ma-numeric-input",
942
938
  `ma-numeric-input--${e.size}`,
943
939
  {
@@ -946,95 +942,95 @@ const as = {
946
942
  {
947
943
  "ma-numeric-input--disabled": e?.disabled
948
944
  }
949
- ]), a = p(() => e?.placeholderStatus ? "0" : null), g = (c) => /^Digit[0-9]$/.test(c), y = (c) => o.value = c, S = (c, b) => {
950
- switch (c.code) {
945
+ ]), a = c(() => e?.placeholderStatus ? "0" : null), p = (f) => /^Digit[0-9]$/.test(f), h = (f) => t.value = f, S = (f, u) => {
946
+ switch (f.code) {
951
947
  case "Backspace":
952
948
  case "Delete":
953
- V("", b), C();
949
+ A("", u), x();
954
950
  break;
955
951
  case "ArrowLeft":
956
- c.preventDefault(), C();
952
+ f.preventDefault(), x();
957
953
  break;
958
954
  case "ArrowRight":
959
- c.preventDefault(), N();
955
+ f.preventDefault(), N();
960
956
  break;
961
957
  default:
962
- g(c.code) && (c.preventDefault(), V(c.key, b), N());
958
+ p(f.code) && (f.preventDefault(), A(f.key, u), N());
963
959
  break;
964
960
  }
965
961
  }, N = () => {
966
- o.value < e.length && o.value++;
967
- }, C = () => {
968
- e.length >= o.value && o.value > 0 && o.value--;
969
- }, V = (c, b) => {
970
- r.value[b] = c;
971
- }, P = (c, b) => {
972
- c.preventDefault();
973
- const m = c.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
974
- m.length === 1 && m.match(/^\d+$/) ? r.value[b] = m : m.match(/^\d+$/) && (r.value = m.split(""));
962
+ t.value < e.length && t.value++;
963
+ }, x = () => {
964
+ e.length >= t.value && t.value > 0 && t.value--;
965
+ }, A = (f, u) => {
966
+ r.value[u] = f;
967
+ }, R = (f, u) => {
968
+ f.preventDefault();
969
+ const d = f.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
970
+ d.length === 1 && d.match(/^\d+$/) ? r.value[u] = d : d.match(/^\d+$/) && (r.value = d.split(""));
975
971
  };
976
972
  return U(
977
973
  () => r.value,
978
- (c) => {
979
- const b = c.join("");
980
- s("update:value", b);
974
+ (f) => {
975
+ const u = f.join("");
976
+ s("update:value", u);
981
977
  },
982
978
  { deep: !0 }
983
979
  ), U(
984
980
  () => e.value,
985
- (c) => {
986
- c !== r.value.join("") && c && c.match(/^\d+$/) && (r.value = c.split("").slice(0, e.length));
981
+ (f) => {
982
+ f !== r.value.join("") && f && f.match(/^\d+$/) && (r.value = f.split("").slice(0, e.length));
987
983
  }
988
- ), (c, b) => (l(), f("div", w({ class: i(n) }, c.$attrs), [
989
- (l(!0), f(Q, null, z(e.length, (m) => (l(), d(is, {
990
- focus: o.value === m - 1,
991
- key: m,
984
+ ), (f, u) => (l(), v("div", $({ class: i(n) }, f.$attrs), [
985
+ (l(!0), v(Y, null, z(e.length, (d) => (l(), m(ts, {
986
+ focus: t.value === d - 1,
987
+ key: d,
992
988
  placeholder: i(a),
993
- value: r.value[m - 1],
989
+ value: r.value[d - 1],
994
990
  disabled: e.disabled,
995
- onFocus: (x) => y(m - 1),
996
- onKeydown: (x) => S(x, m - 1),
997
- onPaste: (x) => P(x, m - 1),
991
+ onFocus: (C) => h(d - 1),
992
+ onKeydown: (C) => S(C, d - 1),
993
+ onPaste: (C) => R(C, d - 1),
998
994
  class: "ma-numeric-input__input"
999
995
  }, null, 8, ["focus", "placeholder", "value", "disabled", "onFocus", "onKeydown", "onPaste"]))), 128))
1000
996
  ], 16));
1001
997
  }
1002
998
  });
1003
- const rs = {
999
+ const ns = {
1004
1000
  name: "MaRadio"
1005
- }, cs = /* @__PURE__ */ _({
1006
- ...rs,
1001
+ }, is = /* @__PURE__ */ y({
1002
+ ...ns,
1007
1003
  props: {
1008
1004
  type: { default: "button" },
1009
1005
  hint: null,
1010
1006
  disabled: { type: Boolean }
1011
1007
  },
1012
- setup(t) {
1013
- const s = t, e = p(() => [`ma-radio ma-radio--${s.type}`]);
1014
- return (o, r) => (l(), d(i(_e), w(o.$attrs, {
1008
+ setup(o) {
1009
+ const s = o, e = c(() => [`ma-radio ma-radio--${s.type}`]);
1010
+ return (t, r) => (l(), m(i(de), $(t.$attrs, {
1015
1011
  class: i(e),
1016
1012
  "prefix-cls": "antd-radio"
1017
1013
  }), M({ _: 2 }, [
1018
- z(o.$slots, (n, a) => ({
1014
+ z(t.$slots, (n, a) => ({
1019
1015
  name: a,
1020
- fn: u(() => [
1021
- k(o.$slots, a),
1022
- s.hint ? (l(), f("div", {
1016
+ fn: g(() => [
1017
+ b(t.$slots, a),
1018
+ s.hint ? (l(), v("div", {
1023
1019
  key: a,
1024
1020
  class: "ma-radio__hint-text"
1025
- }, I(s.hint), 1)) : v("", !0)
1021
+ }, I(s.hint), 1)) : _("", !0)
1026
1022
  ])
1027
1023
  }))
1028
1024
  ]), 1040, ["class"]));
1029
1025
  }
1030
1026
  });
1031
- const ps = ["aria-checked", "disabled"], gs = ["src", "alt"], us = { class: "ma-app-track-button__text" }, ms = { class: "ma-app-track-button__text__title" }, ds = {
1027
+ const ls = ["aria-checked", "disabled"], rs = ["src", "alt"], cs = { class: "ma-app-track-button__text" }, ps = { class: "ma-app-track-button__text__title" }, gs = {
1032
1028
  key: 0,
1033
1029
  class: "ma-app-track-button__text__category"
1034
- }, fs = { class: "ma-app-track-button__check" }, vs = {
1030
+ }, us = { class: "ma-app-track-button__check" }, ms = {
1035
1031
  name: "MaAppTrackButton"
1036
- }, Ls = /* @__PURE__ */ _({
1037
- ...vs,
1032
+ }, Os = /* @__PURE__ */ y({
1033
+ ...ms,
1038
1034
  props: {
1039
1035
  checked: { type: Boolean, default: !1 },
1040
1036
  appIcon: null,
@@ -1045,10 +1041,10 @@ const ps = ["aria-checked", "disabled"], gs = ["src", "alt"], us = { class: "ma-
1045
1041
  loading: { type: Boolean, default: !1 }
1046
1042
  },
1047
1043
  emits: ["update:checked", "change"],
1048
- setup(t, { emit: s }) {
1049
- const e = t, o = (n) => {
1044
+ setup(o, { emit: s }) {
1045
+ const e = o, t = (n) => {
1050
1046
  n.preventDefault(), s("change", !e.checked), s("update:checked", !e.checked);
1051
- }, r = p(() => [
1047
+ }, r = c(() => [
1052
1048
  "ma-app-track-button",
1053
1049
  {
1054
1050
  "ma-app-track-button--disabled": e.disabled || e.loading
@@ -1060,38 +1056,38 @@ const ps = ["aria-checked", "disabled"], gs = ["src", "alt"], us = { class: "ma-
1060
1056
  "ma-app-track-button--loading": e.loading
1061
1057
  }
1062
1058
  ]);
1063
- return (n, a) => (l(), f("button", w({
1059
+ return (n, a) => (l(), v("button", $({
1064
1060
  class: i(r),
1065
1061
  role: "switch",
1066
1062
  "aria-checked": e.checked,
1067
1063
  disabled: e.disabled
1068
- }, n.$attrs, { onClick: o }), [
1064
+ }, n.$attrs, { onClick: t }), [
1069
1065
  B("img", {
1070
1066
  src: e.appIcon,
1071
1067
  alt: e.appName,
1072
1068
  width: "40",
1073
1069
  height: "40"
1074
- }, null, 8, gs),
1075
- B("span", us, [
1076
- B("span", ms, I(e.appName), 1),
1077
- e.appCategory ? (l(), f("span", ds, I(e?.appCategory), 1)) : v("", !0)
1070
+ }, null, 8, rs),
1071
+ B("span", cs, [
1072
+ B("span", ps, I(e.appName), 1),
1073
+ e.appCategory ? (l(), v("span", gs, I(e?.appCategory), 1)) : _("", !0)
1078
1074
  ]),
1079
- B("span", fs, [
1080
- $(q, {
1075
+ B("span", us, [
1076
+ w(q, {
1081
1077
  name: "fade",
1082
1078
  mode: "out-in"
1083
1079
  }, {
1084
- default: u(() => [
1085
- e.loading ? (l(), d(h, {
1080
+ default: g(() => [
1081
+ e.loading ? (l(), m(k, {
1086
1082
  key: 0,
1087
1083
  name: "loader",
1088
1084
  size: "xs",
1089
1085
  spin: ""
1090
- })) : !e.multiple || e.checked ? (l(), d(cs, {
1086
+ })) : !e.multiple || e.checked ? (l(), m(is, {
1091
1087
  key: 1,
1092
1088
  checked: e.checked,
1093
1089
  type: "check"
1094
- }, null, 8, ["checked"])) : (l(), d(h, {
1090
+ }, null, 8, ["checked"])) : (l(), m(k, {
1095
1091
  key: 2,
1096
1092
  name: "add-circle",
1097
1093
  size: "xs"
@@ -1100,22 +1096,22 @@ const ps = ["aria-checked", "disabled"], gs = ["src", "alt"], us = { class: "ma-
1100
1096
  _: 1
1101
1097
  })
1102
1098
  ])
1103
- ], 16, ps));
1099
+ ], 16, ls));
1104
1100
  }
1105
1101
  });
1106
- const _s = { class: "ak-app-icon__logo" }, ys = ["src"], hs = {
1102
+ const ds = { class: "ak-app-icon__logo" }, fs = ["src"], vs = {
1107
1103
  key: 1,
1108
1104
  class: "ak-app-icon-platform"
1109
- }, ks = { class: "ak-app-icon__text" }, bs = {
1105
+ }, _s = { class: "ak-app-icon__text" }, ys = {
1110
1106
  key: 0,
1111
1107
  class: "ak-app-name"
1112
- }, $s = {
1108
+ }, hs = {
1113
1109
  key: 1,
1114
1110
  class: "ak-app-description"
1115
- }, ws = {
1111
+ }, ks = {
1116
1112
  name: "MaAppIcon"
1117
- }, Es = /* @__PURE__ */ _({
1118
- ...ws,
1113
+ }, Ts = /* @__PURE__ */ y({
1114
+ ...ks,
1119
1115
  props: {
1120
1116
  appIcon: null,
1121
1117
  appName: null,
@@ -1126,8 +1122,8 @@ const _s = { class: "ak-app-icon__logo" }, ys = ["src"], hs = {
1126
1122
  size: { default: "medium" }
1127
1123
  },
1128
1124
  emits: ["close"],
1129
- setup(t, { emit: s }) {
1130
- const e = t, o = p(() => e.platform === "ios" ? "apple-storefront" : "android-storefront"), r = p(() => [
1125
+ setup(o, { emit: s }) {
1126
+ const e = o, t = c(() => e.platform === "ios" ? "apple-storefront" : "android-storefront"), r = c(() => [
1131
1127
  "ma-app-icon",
1132
1128
  "ak-app-icon",
1133
1129
  `ak-app-icon--${e.size}`,
@@ -1136,56 +1132,56 @@ const _s = { class: "ak-app-icon__logo" }, ys = ["src"], hs = {
1136
1132
  ]), n = () => {
1137
1133
  s("close");
1138
1134
  };
1139
- return (a, g) => (l(), f("div", {
1140
- class: j(i(r))
1135
+ return (a, p) => (l(), v("div", {
1136
+ class: F(i(r))
1141
1137
  }, [
1142
- B("div", _s, [
1143
- e.closable ? (l(), f("span", {
1138
+ B("div", ds, [
1139
+ e.closable ? (l(), v("span", {
1144
1140
  key: 0,
1145
1141
  onClick: n,
1146
1142
  class: "ak-app-icon-closable"
1147
1143
  }, [
1148
- $(h, {
1144
+ w(k, {
1149
1145
  size: "xs",
1150
1146
  name: "close-circle"
1151
1147
  })
1152
- ])) : v("", !0),
1148
+ ])) : _("", !0),
1153
1149
  B("img", {
1154
1150
  class: "ak-app-icon-img",
1155
1151
  src: e.appIcon
1156
- }, null, 8, ys),
1157
- e?.platform ? (l(), f("span", hs, [
1158
- $(h, {
1152
+ }, null, 8, fs),
1153
+ e?.platform ? (l(), v("span", vs, [
1154
+ w(k, {
1159
1155
  size: "xs",
1160
- name: i(o)
1156
+ name: i(t)
1161
1157
  }, null, 8, ["name"])
1162
- ])) : v("", !0)
1158
+ ])) : _("", !0)
1163
1159
  ]),
1164
- B("div", ks, [
1165
- e?.appName ? (l(), f("span", bs, I(e.appName), 1)) : v("", !0),
1166
- e?.appDescription ? (l(), f("span", $s, I(e.appDescription), 1)) : v("", !0)
1160
+ B("div", _s, [
1161
+ e?.appName ? (l(), v("span", ys, I(e.appName), 1)) : _("", !0),
1162
+ e?.appDescription ? (l(), v("span", hs, I(e.appDescription), 1)) : _("", !0)
1167
1163
  ])
1168
1164
  ], 2));
1169
1165
  }
1170
1166
  });
1171
- const Cs = {
1167
+ const bs = {
1172
1168
  name: "MaRadioGroup"
1173
- }, qs = /* @__PURE__ */ _({
1174
- ...Cs,
1175
- setup(t) {
1176
- return (s, e) => (l(), d(i(ye), w(s.$attrs, { "prefix-cls": "antd-radio" }), M({ _: 2 }, [
1177
- z(s.$slots, (o, r) => ({
1169
+ }, Us = /* @__PURE__ */ y({
1170
+ ...bs,
1171
+ setup(o) {
1172
+ return (s, e) => (l(), m(i(fe), $(s.$attrs, { "prefix-cls": "antd-radio" }), M({ _: 2 }, [
1173
+ z(s.$slots, (t, r) => ({
1178
1174
  name: r,
1179
- fn: u(() => [
1180
- k(s.$slots, r)
1175
+ fn: g(() => [
1176
+ b(s.$slots, r)
1181
1177
  ])
1182
1178
  }))
1183
1179
  ]), 1040));
1184
1180
  }
1185
- }), xs = {
1181
+ }), $s = {
1186
1182
  name: "MaBadge"
1187
- }, Gs = /* @__PURE__ */ _({
1188
- ...xs,
1183
+ }, Ls = /* @__PURE__ */ y({
1184
+ ...$s,
1189
1185
  props: {
1190
1186
  type: { default: "primary" },
1191
1187
  variant: { default: "dark" },
@@ -1193,8 +1189,8 @@ const Cs = {
1193
1189
  icon: null,
1194
1190
  iconAlignment: { default: "left" }
1195
1191
  },
1196
- setup(t) {
1197
- const s = t, e = p(() => [
1192
+ setup(o) {
1193
+ const s = o, e = c(() => [
1198
1194
  "ma-badge",
1199
1195
  "ak-badge",
1200
1196
  `ak-badge--${s.variant}--${s.type}`,
@@ -1203,21 +1199,21 @@ const Cs = {
1203
1199
  "ak-badge--icon-right": s.iconAlignment === "right"
1204
1200
  }
1205
1201
  ]);
1206
- return (o, r) => (l(), f("div", {
1207
- class: j(i(e))
1202
+ return (t, r) => (l(), v("div", {
1203
+ class: F(i(e))
1208
1204
  }, [
1209
- s?.icon ? (l(), d(h, {
1205
+ s?.icon ? (l(), m(k, {
1210
1206
  key: 0,
1211
1207
  name: s?.icon
1212
- }, null, 8, ["name"])) : v("", !0),
1213
- k(o.$slots, "default")
1208
+ }, null, 8, ["name"])) : _("", !0),
1209
+ b(t.$slots, "default")
1214
1210
  ], 2));
1215
1211
  }
1216
1212
  });
1217
- const Is = {
1213
+ const ws = {
1218
1214
  name: "MaAlert"
1219
- }, Ks = /* @__PURE__ */ _({
1220
- ...Is,
1215
+ }, Es = /* @__PURE__ */ y({
1216
+ ...ws,
1221
1217
  props: {
1222
1218
  variant: { default: "dark" },
1223
1219
  type: { default: "primary" },
@@ -1226,47 +1222,46 @@ const Is = {
1226
1222
  description: null,
1227
1223
  icon: null
1228
1224
  },
1229
- setup(t) {
1230
- const s = t, e = G(), o = p(() => [`ma-alert ak-alert ak-alert--${s.variant}--${s.type}`]), r = p(() => !!s?.icon || !!e?.icon);
1231
- return (n, a) => (l(), d(i(he), w(n.$attrs, {
1232
- class: i(o),
1233
- description: t.description,
1234
- message: t.message,
1235
- closable: t.closable,
1225
+ setup(o) {
1226
+ const s = o, e = G(), t = c(() => [`ma-alert ak-alert ak-alert--${s.variant}--${s.type}`]), r = c(() => !!s?.icon || !!e?.icon);
1227
+ return (n, a) => (l(), m(i(ve), $(n.$attrs, {
1228
+ class: i(t),
1229
+ description: o.description,
1230
+ message: o.message,
1231
+ closable: o.closable,
1236
1232
  showIcon: i(r),
1237
1233
  "prefix-cls": "antd-alert"
1238
1234
  }), {
1239
- closeIcon: u(() => [
1240
- $(h, {
1235
+ closeIcon: g(() => [
1236
+ w(k, {
1241
1237
  name: "close",
1242
1238
  size: "xs"
1243
1239
  })
1244
1240
  ]),
1245
- icon: u(() => [
1246
- s?.icon ? (l(), d(h, {
1241
+ icon: g(() => [
1242
+ s?.icon ? (l(), m(k, {
1247
1243
  key: 0,
1248
- name: t.icon,
1244
+ name: o.icon,
1249
1245
  size: "lg"
1250
- }, null, 8, ["name"])) : v("", !0),
1251
- k(n.$slots, "icon")
1246
+ }, null, 8, ["name"])) : _("", !0),
1247
+ b(n.$slots, "icon")
1252
1248
  ]),
1253
- message: u(() => [
1254
- k(n.$slots, "message")
1249
+ message: g(() => [
1250
+ b(n.$slots, "message")
1255
1251
  ]),
1256
- description: u(() => [
1257
- k(n.$slots, "description")
1252
+ description: g(() => [
1253
+ b(n.$slots, "description")
1258
1254
  ]),
1259
1255
  _: 3
1260
1256
  }, 16, ["class", "description", "message", "closable", "showIcon"]));
1261
1257
  }
1262
1258
  });
1263
- const Bs = {
1259
+ const Cs = {
1264
1260
  name: "MaAnimation"
1265
- }, Hs = /* @__PURE__ */ _({
1266
- ...Bs,
1261
+ }, qs = /* @__PURE__ */ y({
1262
+ ...Cs,
1267
1263
  props: {
1268
1264
  name: null,
1269
- renderer: { default: "svg" },
1270
1265
  loop: { type: Boolean, default: !0 },
1271
1266
  autoplay: { type: Boolean, default: !0 },
1272
1267
  width: null,
@@ -1274,70 +1269,69 @@ const Bs = {
1274
1269
  rendererSettings: null
1275
1270
  },
1276
1271
  emits: ["onLoaded", "onComplete", "onError"],
1277
- setup(t, { expose: s, emit: e }) {
1278
- const o = t;
1272
+ setup(o, { expose: s, emit: e }) {
1273
+ const t = o;
1279
1274
  let r;
1280
- const n = A(null), a = A(null);
1275
+ const n = D(null), a = D(null);
1281
1276
  s({
1282
1277
  animation: a
1283
1278
  });
1284
- const g = p(() => ({
1285
- width: o.width ? `${o.width}px` : void 0,
1286
- height: o.height ? `${o.height}px` : void 0
1279
+ const p = c(() => ({
1280
+ width: t.width ? `${t.width}px` : void 0,
1281
+ height: t.height ? `${t.height}px` : void 0
1287
1282
  }));
1288
1283
  U(
1289
- () => o.name,
1284
+ () => t.name,
1290
1285
  () => {
1291
1286
  N(), S();
1292
1287
  }
1293
1288
  );
1294
- const y = async () => {
1295
- const { default: C } = await import("./lottie_light-b08f9446.mjs").then((V) => V.l);
1296
- r = C;
1289
+ const h = async () => {
1290
+ const { default: x } = await import("./lottie_light-b08f9446.mjs").then((A) => A.l);
1291
+ r = x;
1297
1292
  }, S = async () => {
1298
1293
  try {
1299
- const { default: C } = await L(/* @__PURE__ */ Object.assign({ "./files/fly-waiting.json": () => import("./fly-waiting-bc221374.mjs"), "./files/no-data-found.json": () => import("./no-data-found-98af8e80.mjs"), "./files/rocket.json": () => import("./rocket-21431704.mjs"), "./files/rounded-loading.json": () => import("./rounded-loading-d3184421.mjs"), "./files/sad-not-found.json": () => import("./sad-not-found-44e231b1.mjs"), "./files/success-confetti.json": () => import("./success-confetti-b9594f98.mjs") }), `./files/${o.name}.json`);
1294
+ const { default: x } = await L(/* @__PURE__ */ Object.assign({ "./files/fly-waiting.json": () => import("./fly-waiting-bc221374.mjs"), "./files/no-data-found.json": () => import("./no-data-found-98af8e80.mjs"), "./files/rocket.json": () => import("./rocket-21431704.mjs"), "./files/rounded-loading.json": () => import("./rounded-loading-d3184421.mjs"), "./files/sad-not-found.json": () => import("./sad-not-found-44e231b1.mjs"), "./files/success-confetti.json": () => import("./success-confetti-b9594f98.mjs") }), `./files/${t.name}.json`);
1300
1295
  a.value = r.loadAnimation({
1301
1296
  container: n.value,
1302
- renderer: o.renderer,
1303
- loop: o.loop,
1304
- autoplay: o.autoplay,
1305
- animationData: C,
1306
- rendererSettings: o?.rendererSettings
1297
+ loop: t.loop,
1298
+ autoplay: t.autoplay,
1299
+ animationData: x,
1300
+ rendererSettings: t?.rendererSettings
1307
1301
  }), a.value.onComplete = () => e("onComplete"), a.value.addEventListener("DOMLoaded", function() {
1308
1302
  e("onLoaded");
1309
1303
  });
1310
- } catch (C) {
1311
- e("onError", C);
1304
+ } catch (x) {
1305
+ e("onError", x);
1312
1306
  }
1313
1307
  }, N = () => {
1314
1308
  a.value && a.value.destroy();
1315
1309
  };
1316
- return X(async () => {
1317
- await y(), S();
1318
- }), Z(() => {
1310
+ return W(async () => {
1311
+ await h(), S();
1312
+ }), Q(() => {
1319
1313
  N();
1320
- }), (C, V) => (l(), f("div", {
1314
+ }), (x, A) => (l(), v("div", {
1321
1315
  ref_key: "animationRef",
1322
1316
  ref: n,
1323
1317
  class: "ma-animation",
1324
- style: ee(i(g))
1318
+ style: X(i(p))
1325
1319
  }, null, 4));
1326
1320
  }
1327
1321
  });
1328
- class zs {
1329
- config = se({
1322
+ class xs {
1323
+ config = Z({
1330
1324
  language: "en"
1331
1325
  });
1332
1326
  setConfig(s) {
1333
1327
  for (const e in s)
1334
1328
  if (Object.prototype.hasOwnProperty.call(s, e)) {
1335
- const o = e;
1336
- this.config[o] = s[o];
1329
+ const t = e;
1330
+ this.config[t] = s[t];
1337
1331
  }
1338
1332
  }
1339
1333
  getConfig() {
1340
- return oe(this.config);
1334
+ return ee(this.config);
1341
1335
  }
1342
1336
  setLanguage(s) {
1343
1337
  this.config.language = s;
@@ -1346,32 +1340,32 @@ class zs {
1346
1340
  return this.config.language;
1347
1341
  }
1348
1342
  }
1349
- const Ss = new zs();
1350
- function Js() {
1351
- return te(Ss.getConfig());
1343
+ const Is = new xs();
1344
+ function Gs() {
1345
+ return se(Is.getConfig());
1352
1346
  }
1353
1347
  export {
1354
- Ss as ActionKitConfig,
1355
- Ks as MaAlert,
1356
- Hs as MaAnimation,
1357
- Es as MaAppIcon,
1358
- Ls as MaAppTrackButton,
1359
- Gs as MaBadge,
1360
- we as MaButton,
1361
- Os as MaCheckbox,
1362
- Ts as MaCheckboxGroup,
1363
- Fs as MaForm,
1364
- Ps as MaFormItem,
1365
- h as MaIcon,
1366
- ss as MaInput,
1367
- Us as MaNumericInput,
1368
- cs as MaRadio,
1369
- qs as MaRadioGroup,
1370
- Je as MaSelect,
1371
- Rs as MaSelectOption,
1372
- Ds as MaSwitch,
1373
- Vs as MaToggle,
1374
- js as MaTooltip,
1375
- As as MaTrackButton,
1376
- Js as useActionKitConfig
1348
+ Is as ActionKitConfig,
1349
+ Es as MaAlert,
1350
+ qs as MaAnimation,
1351
+ Ts as MaAppIcon,
1352
+ Os as MaAppTrackButton,
1353
+ Ls as MaBadge,
1354
+ ke as MaButton,
1355
+ Fs as MaCheckbox,
1356
+ Ps as MaCheckboxGroup,
1357
+ Vs as MaForm,
1358
+ Ds as MaFormItem,
1359
+ k as MaIcon,
1360
+ Xe as MaInput,
1361
+ Rs as MaNumericInput,
1362
+ is as MaRadio,
1363
+ Us as MaRadioGroup,
1364
+ Ge as MaSelect,
1365
+ js as MaSelectOption,
1366
+ Ns as MaSwitch,
1367
+ Ms as MaToggle,
1368
+ As as MaTooltip,
1369
+ Ss as MaTrackButton,
1370
+ Gs as useActionKitConfig
1377
1371
  };