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