@mobileaction/action-kit 1.1.54 → 1.1.56
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 +7 -7
- package/dist/action-kit.mjs +1282 -1156
- package/dist/components/icon-button/components/button.vue.d.ts +97 -0
- package/dist/components/icon-button/index.vue.d.ts +112 -0
- package/dist/components/icon-button/types.d.ts +6 -0
- package/dist/direct-normal-2fb67893.mjs +29 -0
- package/dist/direct-normal-bulk-42301f08.js +1 -0
- package/dist/direct-normal-bulk-4cc25be5.mjs +24 -0
- package/dist/direct-normal-f7fd0a9b.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/info-circle-181cd9f5.js +1 -0
- package/dist/{info-circle-30e4f742.mjs → info-circle-2-3df3cd43.mjs} +3 -3
- package/dist/info-circle-2-bold-084308bb.js +1 -0
- package/dist/info-circle-2-bold-fb1ec68d.mjs +19 -0
- package/dist/info-circle-2-bulk-ca6c45a3.js +1 -0
- package/dist/info-circle-2-bulk-e316569f.mjs +38 -0
- package/dist/info-circle-2-fa62cd81.js +1 -0
- package/dist/info-circle-f0a7874e.mjs +29 -0
- package/dist/src/components/icon-button/components/button.vue.d.ts +45 -0
- package/dist/src/components/icon-button/index.vue.d.ts +53 -0
- package/dist/src/components/icon-button/stories/constants.d.ts +4 -0
- package/dist/src/components/icon-button/stories/primary.stories.d.ts +16 -0
- package/dist/src/components/icon-button/stories/secondary.stories.d.ts +16 -0
- package/dist/src/components/icon-button/types.d.ts +6 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/info-circle-13e01628.js +0 -1
package/dist/action-kit.mjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Button as
|
|
3
|
-
const
|
|
4
|
-
const e = a[
|
|
5
|
-
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((
|
|
6
|
-
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(l.bind(null, new Error("Unknown variable dynamic import: " +
|
|
1
|
+
import { defineComponent as $, computed as c, defineAsyncComponent as Ie, openBlock as o, createBlock as g, resolveDynamicComponent as ee, unref as n, normalizeClass as F, mergeProps as x, createSlots as O, renderList as U, withCtx as h, renderSlot as f, createElementVNode as y, createVNode as B, createTextVNode as D, toDisplayString as C, createElementBlock as p, isRef as K, createCommentVNode as v, ref as E, Fragment as q, useSlots as te, useAttrs as Se, watch as oe, Transition as ye, onMounted as ae, onBeforeUnmount as be, normalizeStyle as ne, h as Ae, createApp as Te, onUnmounted as ke, withDirectives as G, withModifiers as $e, vShow as J, normalizeProps as Ne, withKeys as Pe, reactive as De, readonly as Le, toRefs as Ee } from "vue";
|
|
2
|
+
import { Button as Ce, Switch as Fe, Tooltip as Re, Form as Ue, FormItem as Ve, Avatar as je, Select as Oe, InputPassword as qe, Input as He, Textarea as We, SelectOption as Ke, Checkbox as Ge, CheckboxGroup as Je, Radio as Ze, RadioGroup as Ye, Alert as Xe, Modal as Qe, Dropdown as et, Tabs as tt, TabPane as st, InputNumber as ot } from "ant-design-vue";
|
|
3
|
+
const pe = (a, t) => {
|
|
4
|
+
const e = a[t];
|
|
5
|
+
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((s, l) => {
|
|
6
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(l.bind(null, new Error("Unknown variable dynamic import: " + t)));
|
|
7
7
|
});
|
|
8
|
-
},
|
|
8
|
+
}, Tn = ["xs", "sm", "md", "lg", "xl"], nt = {
|
|
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
|
-
},
|
|
14
|
+
}, at = {
|
|
15
15
|
name: "MaIcon"
|
|
16
|
-
}, k = /* @__PURE__ */
|
|
17
|
-
...
|
|
16
|
+
}, k = /* @__PURE__ */ $({
|
|
17
|
+
...at,
|
|
18
18
|
props: {
|
|
19
19
|
name: null,
|
|
20
20
|
size: { default: "md" },
|
|
21
21
|
spin: { type: Boolean }
|
|
22
22
|
},
|
|
23
23
|
setup(a) {
|
|
24
|
-
const
|
|
25
|
-
() =>
|
|
24
|
+
const t = a, e = ["flag", "pay"], s = c(
|
|
25
|
+
() => Ie(
|
|
26
26
|
function() {
|
|
27
|
-
const i = e.find((r) =>
|
|
28
|
-
return i ? ce(/* @__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/${i}/${s.name.replace(`${i}-`, "")}.svg`) : ce(/* @__PURE__ */ Object.assign({ "./icons/add-app.svg": () => import("./add-app-c6cfc484.mjs"), "./icons/add-bold.svg": () => import("./add-bold-6a76e9bb.mjs"), "./icons/add-circle-bold.svg": () => import("./add-circle-bold-97e5adc1.mjs"), "./icons/add-circle-bulk.svg": () => import("./add-circle-bulk-747520c9.mjs"), "./icons/add-circle.svg": () => import("./add-circle-f073b3a5.mjs"), "./icons/add-square-bold.svg": () => import("./add-square-bold-9325171b.mjs"), "./icons/add-square.svg": () => import("./add-square-69326cbe.mjs"), "./icons/add.svg": () => import("./add-9dbda5df.mjs"), "./icons/aim-outlined.svg": () => import("./aim-outlined-65d9ace5.mjs"), "./icons/align-left-bold.svg": () => import("./align-left-bold-b5d337c2.mjs"), "./icons/align-left-bulk.svg": () => import("./align-left-bulk-12c497f2.mjs"), "./icons/align-left.svg": () => import("./align-left-e0081925.mjs"), "./icons/android-storefront.svg": () => import("./android-storefront-7e2fce85.mjs"), "./icons/android.svg": () => import("./android-6646cfe8.mjs"), "./icons/angle-double-right.svg": () => import("./angle-double-right-f9013ea4.mjs"), "./icons/app-store.svg": () => import("./app-store-a2e77b49.mjs"), "./icons/app.svg": () => import("./app-f4f9f825.mjs"), "./icons/apple-storefront.svg": () => import("./apple-storefront-42dd3c3b.mjs"), "./icons/apple.svg": () => import("./apple-0e24538a.mjs"), "./icons/area-chart-outlined.svg": () => import("./area-chart-outlined-9ebbb046.mjs"), "./icons/arrow-down-bold.svg": () => import("./arrow-down-bold-ab98475e.mjs"), "./icons/arrow-down-circle-bold.svg": () => import("./arrow-down-circle-bold-dd70b4a1.mjs"), "./icons/arrow-down-circle.svg": () => import("./arrow-down-circle-6939e08b.mjs"), "./icons/arrow-down.svg": () => import("./arrow-down-1ea6effe.mjs"), "./icons/arrow-left-bold.svg": () => import("./arrow-left-bold-da6b56cf.mjs"), "./icons/arrow-left-circle-bold.svg": () => import("./arrow-left-circle-bold-00147cf9.mjs"), "./icons/arrow-left-circle.svg": () => import("./arrow-left-circle-36ee49a0.mjs"), "./icons/arrow-left.svg": () => import("./arrow-left-de0e04b4.mjs"), "./icons/arrow-right-bold.svg": () => import("./arrow-right-bold-44d0818e.mjs"), "./icons/arrow-right-circle-bold.svg": () => import("./arrow-right-circle-bold-a099aa39.mjs"), "./icons/arrow-right-circle.svg": () => import("./arrow-right-circle-f1887cb9.mjs"), "./icons/arrow-right.svg": () => import("./arrow-right-3adbd99c.mjs"), "./icons/arrow-up-bold.svg": () => import("./arrow-up-bold-6be7daad.mjs"), "./icons/arrow-up-circle-bold.svg": () => import("./arrow-up-circle-bold-1e3d9fb3.mjs"), "./icons/arrow-up-circle.svg": () => import("./arrow-up-circle-afef4b76.mjs"), "./icons/arrow-up.svg": () => import("./arrow-up-9bd27cbc.mjs"), "./icons/asterisk.svg": () => import("./asterisk-4931d7de.mjs"), "./icons/bahai.svg": () => import("./bahai-d39a6d30.mjs"), "./icons/box-empty.svg": () => import("./box-empty-c7e5e478.mjs"), "./icons/brain.svg": () => import("./brain-ed02653c.mjs"), "./icons/broom-bold.svg": () => import("./broom-bold-bbdeaf5b.mjs"), "./icons/broom.svg": () => import("./broom-a6b79824.mjs"), "./icons/bullhorn.svg": () => import("./bullhorn-ed8cf0f2.mjs"), "./icons/buy-crypto.svg": () => import("./buy-crypto-95976591.mjs"), "./icons/calendar-alt.svg": () => import("./calendar-alt-7eb30ec8.mjs"), "./icons/calendar-bold.svg": () => import("./calendar-bold-4e672dd2.mjs"), "./icons/calendar.svg": () => import("./calendar-80e4dfe2.mjs"), "./icons/card-bold.svg": () => import("./card-bold-041abf76.mjs"), "./icons/card.svg": () => import("./card-c621f3e9.mjs"), "./icons/caret-down-bold.svg": () => import("./caret-down-bold-a3b3da1f.mjs"), "./icons/caret-down.svg": () => import("./caret-down-3fe99d7f.mjs"), "./icons/caret-left-bold.svg": () => import("./caret-left-bold-bc6e1d53.mjs"), "./icons/caret-left.svg": () => import("./caret-left-d7629f01.mjs"), "./icons/caret-right-bold.svg": () => import("./caret-right-bold-3f5262a8.mjs"), "./icons/caret-right.svg": () => import("./caret-right-8273d096.mjs"), "./icons/caret-up-bold.svg": () => import("./caret-up-bold-32d8e62c.mjs"), "./icons/caret-up.svg": () => import("./caret-up-b63b673a.mjs"), "./icons/certificate.svg": () => import("./certificate-f669a9ad.mjs"), "./icons/chart-area.svg": () => import("./chart-area-b551ec23.mjs"), "./icons/chart-bar.svg": () => import("./chart-bar-e2cd95d6.mjs"), "./icons/check.svg": () => import("./check-11d216df.mjs"), "./icons/checkered-flag.svg": () => import("./checkered-flag-b32811ef.mjs"), "./icons/chevron-down.svg": () => import("./chevron-down-bb4d1037.mjs"), "./icons/chevron-left.svg": () => import("./chevron-left-e66562f4.mjs"), "./icons/chevron-right.svg": () => import("./chevron-right-40c42af6.mjs"), "./icons/chevron-up.svg": () => import("./chevron-up-1eaab9d6.mjs"), "./icons/circle-exclamation.svg": () => import("./circle-exclamation-9e768f95.mjs"), "./icons/circle-notch.svg": () => import("./circle-notch-4d10653d.mjs"), "./icons/circle.svg": () => import("./circle-334738cc.mjs"), "./icons/clipboard-bold.svg": () => import("./clipboard-bold-23b6db18.mjs"), "./icons/clipboard-bulk.svg": () => import("./clipboard-bulk-2eaea8d9.mjs"), "./icons/clipboard.svg": () => import("./clipboard-a4d48537.mjs"), "./icons/clock-bold.svg": () => import("./clock-bold-1e86ddf2.mjs"), "./icons/clock.svg": () => import("./clock-03b46e55.mjs"), "./icons/clone.svg": () => import("./clone-87da0781.mjs"), "./icons/close-circle-bold.svg": () => import("./close-circle-bold-55afdf33.mjs"), "./icons/close-circle-bulk.svg": () => import("./close-circle-bulk-49febd0e.mjs"), "./icons/close-circle.svg": () => import("./close-circle-8362ea8b.mjs"), "./icons/close-square-bold.svg": () => import("./close-square-bold-a9c184b5.mjs"), "./icons/close-square.svg": () => import("./close-square-86c73dd1.mjs"), "./icons/close.svg": () => import("./close-78fe657e.mjs"), "./icons/cloud-upload.svg": () => import("./cloud-upload-543b8e47.mjs"), "./icons/cogs.svg": () => import("./cogs-cc6d1ae4.mjs"), "./icons/color-filter.svg": () => import("./color-filter-03f09a58.mjs"), "./icons/columns-bold.svg": () => import("./columns-bold-1c035fde.mjs"), "./icons/columns.svg": () => import("./columns-445b590e.mjs"), "./icons/compress.svg": () => import("./compress-058372ae.mjs"), "./icons/control.svg": () => import("./control-2062dbce.mjs"), "./icons/convert-shape-bold.svg": () => import("./convert-shape-bold-af9365d6.mjs"), "./icons/convert-shape-bulk.svg": () => import("./convert-shape-bulk-60bdaea2.mjs"), "./icons/convert-shape.svg": () => import("./convert-shape-99f54f1d.mjs"), "./icons/copy-bold.svg": () => import("./copy-bold-05c9fa7f.mjs"), "./icons/copy.svg": () => import("./copy-4e7dca50.mjs"), "./icons/crosshairs.svg": () => import("./crosshairs-af5e585e.mjs"), "./icons/cup-bold.svg": () => import("./cup-bold-73d694bb.mjs"), "./icons/cup-bulk.svg": () => import("./cup-bulk-492ee9cb.mjs"), "./icons/cup.svg": () => import("./cup-6572bd63.mjs"), "./icons/dashboard.svg": () => import("./dashboard-7aca4d6d.mjs"), "./icons/data-bold.svg": () => import("./data-bold-ec2d39a7.mjs"), "./icons/data-bulk.svg": () => import("./data-bulk-3183451e.mjs"), "./icons/data.svg": () => import("./data-c0cbec11.mjs"), "./icons/diagram.svg": () => import("./diagram-7c4f1611.mjs"), "./icons/dislike-bold.svg": () => import("./dislike-bold-8787bfe5.mjs"), "./icons/dislike.svg": () => import("./dislike-1bf847a0.mjs"), "./icons/document-bold.svg": () => import("./document-bold-12880f8f.mjs"), "./icons/document-bulk.svg": () => import("./document-bulk-1d978376.mjs"), "./icons/document.svg": () => import("./document-116695c8.mjs"), "./icons/dollar-circle.svg": () => import("./dollar-circle-ee373317.mjs"), "./icons/dot.svg": () => import("./dot-8b0b9de5.mjs"), "./icons/download.svg": () => import("./download-a31300dd.mjs"), "./icons/edit-bold.svg": () => import("./edit-bold-d0e7d866.mjs"), "./icons/edit.svg": () => import("./edit-c21d1e6e.mjs"), "./icons/ellipsis-horizontal.svg": () => import("./ellipsis-horizontal-a3871d7f.mjs"), "./icons/ellipsis-vertical.svg": () => import("./ellipsis-vertical-b1a88595.mjs"), "./icons/empty-table.svg": () => import("./empty-table-41155dd6.mjs"), "./icons/expand.svg": () => import("./expand-36fff427.mjs"), "./icons/export-2-bold.svg": () => import("./export-2-bold-8832fb34.mjs"), "./icons/export-2-bulk.svg": () => import("./export-2-bulk-25deffb0.mjs"), "./icons/export-2.svg": () => import("./export-2-6595b6fa.mjs"), "./icons/export-bold.svg": () => import("./export-bold-f9ede1b1.mjs"), "./icons/export.svg": () => import("./export-70a8fb01.mjs"), "./icons/eye-bold.svg": () => import("./eye-bold-a026520d.mjs"), "./icons/eye-slash-bold.svg": () => import("./eye-slash-bold-334a7964.mjs"), "./icons/eye-slash.svg": () => import("./eye-slash-db05611b.mjs"), "./icons/eye.svg": () => import("./eye-0395aa8a.mjs"), "./icons/facebook.svg": () => import("./facebook-4fa8ba0c.mjs"), "./icons/file-pdf.svg": () => import("./file-pdf-425e84ec.mjs"), "./icons/filled-flag.svg": () => import("./filled-flag-eee4f8a0.mjs"), "./icons/filter-bold.svg": () => import("./filter-bold-1a75a9c9.mjs"), "./icons/filter-bulk.svg": () => import("./filter-bulk-386bf773.mjs"), "./icons/filter.svg": () => import("./filter-c35fa360.mjs"), "./icons/flag.svg": () => import("./flag-9ab7ebcf.mjs"), "./icons/folder-open-bold.svg": () => import("./folder-open-bold-5af5737b.mjs"), "./icons/folder-open.svg": () => import("./folder-open-5d2ab10b.mjs"), "./icons/font.svg": () => import("./font-7fcbf490.mjs"), "./icons/glass-bold.svg": () => import("./glass-bold-394f3be2.mjs"), "./icons/glass-bulk.svg": () => import("./glass-bulk-e47d5da7.mjs"), "./icons/glass.svg": () => import("./glass-a6a6497f.mjs"), "./icons/global.svg": () => import("./global-6a6d773f.mjs"), "./icons/google-colored.svg": () => import("./google-colored-43ad23d9.mjs"), "./icons/google.svg": () => import("./google-2e882a09.mjs"), "./icons/graduation-cap-bold.svg": () => import("./graduation-cap-bold-38c52391.mjs"), "./icons/graduation-cap.svg": () => import("./graduation-cap-6283f172.mjs"), "./icons/graph-bold.svg": () => import("./graph-bold-ab1314fb.mjs"), "./icons/graph.svg": () => import("./graph-db4116dc.mjs"), "./icons/grid-bold.svg": () => import("./grid-bold-aee508ed.mjs"), "./icons/grid-bulk.svg": () => import("./grid-bulk-c41d1f0b.mjs"), "./icons/grid.svg": () => import("./grid-dd9c600a.mjs"), "./icons/hamburger.svg": () => import("./hamburger-4bcd3550.mjs"), "./icons/headset.svg": () => import("./headset-41866868.mjs"), "./icons/history.svg": () => import("./history-4809d082.mjs"), "./icons/home-bold.svg": () => import("./home-bold-f75667d3.mjs"), "./icons/home-bulk.svg": () => import("./home-bulk-65505439.mjs"), "./icons/home.svg": () => import("./home-ea97f9e5.mjs"), "./icons/indent.svg": () => import("./indent-bbd53e37.mjs"), "./icons/info-circle-bold.svg": () => import("./info-circle-bold-a60837c0.mjs"), "./icons/info-circle.svg": () => import("./info-circle-30e4f742.mjs"), "./icons/info.svg": () => import("./info-0f5d7a72.mjs"), "./icons/justify-right.svg": () => import("./justify-right-077e8f16.mjs"), "./icons/layer-bold.svg": () => import("./layer-bold-be2afc48.mjs"), "./icons/layer-bulk.svg": () => import("./layer-bulk-9f594537.mjs"), "./icons/layer.svg": () => import("./layer-91965b54.mjs"), "./icons/like-bold.svg": () => import("./like-bold-707bd507.mjs"), "./icons/like.svg": () => import("./like-5366ea0c.mjs"), "./icons/link.svg": () => import("./link-5900c6f3.mjs"), "./icons/linkedin.svg": () => import("./linkedin-fc9d8eba.mjs"), "./icons/list.svg": () => import("./list-842dc9a8.mjs"), "./icons/loader.svg": () => import("./loader-780f4564.mjs"), "./icons/loading.svg": () => import("./loading-ff55b728.mjs"), "./icons/lock-bold.svg": () => import("./lock-bold-7c7d934f.mjs"), "./icons/lock.svg": () => import("./lock-6a149031.mjs"), "./icons/logout-bold.svg": () => import("./logout-bold-1dcb0ea6.mjs"), "./icons/logout.svg": () => import("./logout-ad75d36d.mjs"), "./icons/map-marker-bold.svg": () => import("./map-marker-bold-442a942e.mjs"), "./icons/map-marker.svg": () => import("./map-marker-b5ee033b.mjs"), "./icons/med-kit.svg": () => import("./med-kit-735d6731.mjs"), "./icons/medal-bold.svg": () => import("./medal-bold-e3504b21.mjs"), "./icons/medal.svg": () => import("./medal-68f17af5.mjs"), "./icons/menu-bold.svg": () => import("./menu-bold-7a2db113.mjs"), "./icons/menu.svg": () => import("./menu-35172ffb.mjs"), "./icons/message-notif.svg": () => import("./message-notif-7e1da245.mjs"), "./icons/message-text.svg": () => import("./message-text-6c2c83cb.mjs"), "./icons/messages-bold.svg": () => import("./messages-bold-39c5d5da.mjs"), "./icons/messages-bulk.svg": () => import("./messages-bulk-725db50b.mjs"), "./icons/messages.svg": () => import("./messages-ca56b00a.mjs"), "./icons/microscope-bold.svg": () => import("./microscope-bold-b9ffc8e0.mjs"), "./icons/microscope-bulk.svg": () => import("./microscope-bulk-13849f10.mjs"), "./icons/microscope.svg": () => import("./microscope-5c8aa3be.mjs"), "./icons/minus-bold.svg": () => import("./minus-bold-35331113.mjs"), "./icons/minus-square-bold.svg": () => import("./minus-square-bold-ee82e28b.mjs"), "./icons/minus-square.svg": () => import("./minus-square-9e68718d.mjs"), "./icons/minus.svg": () => import("./minus-df04dca9.mjs"), "./icons/mobile-bold.svg": () => import("./mobile-bold-c116009c.mjs"), "./icons/mobile-bulk.svg": () => import("./mobile-bulk-388e6cc5.mjs"), "./icons/mobile.svg": () => import("./mobile-e8ed279c.mjs"), "./icons/money-bill.svg": () => import("./money-bill-2f65d92b.mjs"), "./icons/money-send.svg": () => import("./money-send-1aa85fa1.mjs"), "./icons/notification-bold.svg": () => import("./notification-bold-52e1c858.mjs"), "./icons/notification.svg": () => import("./notification-04a91f66.mjs"), "./icons/outdent.svg": () => import("./outdent-939d95c2.mjs"), "./icons/paper-plane.svg": () => import("./paper-plane-930f1bce.mjs"), "./icons/password-check.svg": () => import("./password-check-c088e24b.mjs"), "./icons/pause-bold.svg": () => import("./pause-bold-b5ad47f4.mjs"), "./icons/pause-circle-bold.svg": () => import("./pause-circle-bold-91dc23e9.mjs"), "./icons/pause-circle.svg": () => import("./pause-circle-31f2dece.mjs"), "./icons/pause.svg": () => import("./pause-dcda0462.mjs"), "./icons/pen-square.svg": () => import("./pen-square-5d6963c5.mjs"), "./icons/pencil.svg": () => import("./pencil-a5550af6.mjs"), "./icons/people-bold.svg": () => import("./people-bold-a8b9de12.mjs"), "./icons/people.svg": () => import("./people-9ee16944.mjs"), "./icons/percentage-square-bold.svg": () => import("./percentage-square-bold-0a7ce7af.mjs"), "./icons/percentage-square.svg": () => import("./percentage-square-53cd879b.mjs"), "./icons/play-circle-bold.svg": () => import("./play-circle-bold-6ad0060f.mjs"), "./icons/play-circle.svg": () => import("./play-circle-94665032.mjs"), "./icons/plug-bold.svg": () => import("./plug-bold-c1f9893e.mjs"), "./icons/plug.svg": () => import("./plug-48296fd8.mjs"), "./icons/project-bold.svg": () => import("./project-bold-c32953aa.mjs"), "./icons/question-bold.svg": () => import("./question-bold-00b9c0a9.mjs"), "./icons/question.svg": () => import("./question-a1a8a155.mjs"), "./icons/radar-bold.svg": () => import("./radar-bold-025890d0.mjs"), "./icons/radar-bulk.svg": () => import("./radar-bulk-255fcb9a.mjs"), "./icons/radar.svg": () => import("./radar-9e9d8254.mjs"), "./icons/ranking-bold.svg": () => import("./ranking-bold-37930d9e.mjs"), "./icons/ranking-bulk.svg": () => import("./ranking-bulk-8f7ba862.mjs"), "./icons/ranking.svg": () => import("./ranking-dbddc87b.mjs"), "./icons/record-circle.svg": () => import("./record-circle-e0200965.mjs"), "./icons/redo-bold.svg": () => import("./redo-bold-5495fffd.mjs"), "./icons/redo.svg": () => import("./redo-fb873128.mjs"), "./icons/refresh.svg": () => import("./refresh-4b069be6.mjs"), "./icons/reply.svg": () => import("./reply-de440c87.mjs"), "./icons/rocket.svg": () => import("./rocket-e2d475e7.mjs"), "./icons/scale-balanced.svg": () => import("./scale-balanced-af7eb5de.mjs"), "./icons/search-dollar.svg": () => import("./search-dollar-c94ca9fd.mjs"), "./icons/search-normal-bold.svg": () => import("./search-normal-bold-01d843f2.mjs"), "./icons/search-normal.svg": () => import("./search-normal-154aba52.mjs"), "./icons/security-card-bold.svg": () => import("./security-card-bold-2e90c06e.mjs"), "./icons/security-card.svg": () => import("./security-card-7de3f47c.mjs"), "./icons/selection.svg": () => import("./selection-08a9c952.mjs"), "./icons/send.svg": () => import("./send-e7646e7a.mjs"), "./icons/settings-bold.svg": () => import("./settings-bold-7c51d631.mjs"), "./icons/settings-bulk.svg": () => import("./settings-bulk-5b8c71b9.mjs"), "./icons/settings.svg": () => import("./settings-d20222e7.mjs"), "./icons/share-bold.svg": () => import("./share-bold-15fdbe97.mjs"), "./icons/share-bulk.svg": () => import("./share-bulk-ba3adfd9.mjs"), "./icons/share.svg": () => import("./share-138f74f8.mjs"), "./icons/shopping-cart-bold.svg": () => import("./shopping-cart-bold-f786619a.mjs"), "./icons/shopping-cart.svg": () => import("./shopping-cart-8becc3f1.mjs"), "./icons/sidebar-left-bold.svg": () => import("./sidebar-left-bold-25ef42d3.mjs"), "./icons/sidebar-left-bulk.svg": () => import("./sidebar-left-bulk-2176d14f.mjs"), "./icons/sidebar-left.svg": () => import("./sidebar-left-ba427d0c.mjs"), "./icons/sidebar-right-bold.svg": () => import("./sidebar-right-bold-3a3f4884.mjs"), "./icons/sidebar-right-bulk.svg": () => import("./sidebar-right-bulk-43354705.mjs"), "./icons/sidebar-right.svg": () => import("./sidebar-right-f88fa191.mjs"), "./icons/slash-bold.svg": () => import("./slash-bold-9656541d.mjs"), "./icons/slash.svg": () => import("./slash-9eee755b.mjs"), "./icons/slider-horizontal-bold.svg": () => import("./slider-horizontal-bold-db93f0f6.mjs"), "./icons/slider-horizontal.svg": () => import("./slider-horizontal-4c098e63.mjs"), "./icons/smart-notification-bold.svg": () => import("./smart-notification-bold-2c8940c5.mjs"), "./icons/smart-notification-bulk.svg": () => import("./smart-notification-bulk-5efb20e5.mjs"), "./icons/smart-notification.svg": () => import("./smart-notification-10e5248c.mjs"), "./icons/sms-bold.svg": () => import("./sms-bold-f6dc2e1a.mjs"), "./icons/sms.svg": () => import("./sms-4db7f244.mjs"), "./icons/sort-amount-down.svg": () => import("./sort-amount-down-0b2b11f1.mjs"), "./icons/speedometer.svg": () => import("./speedometer-c719f6df.mjs"), "./icons/spin-dots.svg": () => import("./spin-dots-25d015b7.mjs"), "./icons/spin-round.svg": () => import("./spin-round-9db617b7.mjs"), "./icons/spin-three-circles.svg": () => import("./spin-three-circles-13ae8650.mjs"), "./icons/spin-three-dots.svg": () => import("./spin-three-dots-c116245e.mjs"), "./icons/spinner.svg": () => import("./spinner-8bb3861a.mjs"), "./icons/square.svg": () => import("./square-5a969e93.mjs"), "./icons/star-bold.svg": () => import("./star-bold-4c45c0d8.mjs"), "./icons/star-bulk.svg": () => import("./star-bulk-d8bdbc7a.mjs"), "./icons/star-half-colored.svg": () => import("./star-half-colored-3b10f42e.mjs"), "./icons/star.svg": () => import("./star-017cb8aa.mjs"), "./icons/status-up.svg": () => import("./status-up-6547be80.mjs"), "./icons/stop-bold.svg": () => import("./stop-bold-be0c1cd8.mjs"), "./icons/stop.svg": () => import("./stop-c195f726.mjs"), "./icons/story.svg": () => import("./story-b421beca.mjs"), "./icons/stream.svg": () => import("./stream-e8091b3f.mjs"), "./icons/swap-bold.svg": () => import("./swap-bold-57d7dc55.mjs"), "./icons/swap.svg": () => import("./swap-11e0d73e.mjs"), "./icons/sync.svg": () => import("./sync-8d26ba0f.mjs"), "./icons/table-list.svg": () => import("./table-list-3a2b78aa.mjs"), "./icons/tag-bold.svg": () => import("./tag-bold-573c41ef.mjs"), "./icons/tag-bulk.svg": () => import("./tag-bulk-922d5513.mjs"), "./icons/tag.svg": () => import("./tag-a64db341.mjs"), "./icons/thumbtack.svg": () => import("./thumbtack-1a04ac17.mjs"), "./icons/tick-circle-bold.svg": () => import("./tick-circle-bold-1d123c3c.mjs"), "./icons/tick-circle.svg": () => import("./tick-circle-01243ef4.mjs"), "./icons/tick-square-bold.svg": () => import("./tick-square-bold-bf954d12.mjs"), "./icons/tick-square.svg": () => import("./tick-square-787b244b.mjs"), "./icons/tick.svg": () => import("./tick-52c4e48f.mjs"), "./icons/toggle-off-bold.svg": () => import("./toggle-off-bold-8a8be16b.mjs"), "./icons/toggle-off.svg": () => import("./toggle-off-1b1e303c.mjs"), "./icons/toggle-on-bold.svg": () => import("./toggle-on-bold-64ad90eb.mjs"), "./icons/toggle-on.svg": () => import("./toggle-on-0d6dced2.mjs"), "./icons/transgender.svg": () => import("./transgender-82cb488f.mjs"), "./icons/trash-bold.svg": () => import("./trash-bold-e0f392c8.mjs"), "./icons/trash-bulk.svg": () => import("./trash-bulk-89ab0a45.mjs"), "./icons/trash.svg": () => import("./trash-f08f2851.mjs"), "./icons/trend-up-bold.svg": () => import("./trend-up-bold-df64bd2c.mjs"), "./icons/trend-up-bulk.svg": () => import("./trend-up-bulk-431e9d22.mjs"), "./icons/trend-up.svg": () => import("./trend-up-eca70766.mjs"), "./icons/triangle-exclamation.svg": () => import("./triangle-exclamation-3a84b726.mjs"), "./icons/twitter.svg": () => import("./twitter-9097735c.mjs"), "./icons/undo-bold.svg": () => import("./undo-bold-65eb640c.mjs"), "./icons/undo.svg": () => import("./undo-653eb482.mjs"), "./icons/unlock-bold.svg": () => import("./unlock-bold-8a8847c6.mjs"), "./icons/unlock.svg": () => import("./unlock-2c19e8b6.mjs"), "./icons/upload-bulk.svg": () => import("./upload-bulk-c4de9af1.mjs"), "./icons/upload.svg": () => import("./upload-37d640ae.mjs"), "./icons/user-square.svg": () => import("./user-square-b766a005.mjs"), "./icons/user.svg": () => import("./user-e1c97db1.mjs"), "./icons/volume-low.svg": () => import("./volume-low-58e56b04.mjs"), "./icons/warning-2-bold.svg": () => import("./warning-2-bold-d7e8e03f.mjs"), "./icons/warning-2-bulk.svg": () => import("./warning-2-bulk-a5e67b28.mjs"), "./icons/warning-2.svg": () => import("./warning-2-c6914942.mjs"), "./icons/warning.svg": () => import("./warning-76eae041.mjs"), "./icons/wifi.svg": () => import("./wifi-0bf73fb3.mjs") }), `./icons/${s.name}.svg`);
|
|
29
|
-
}.bind({ name:
|
|
27
|
+
const i = e.find((r) => t.name.startsWith(`${r}-`));
|
|
28
|
+
return i ? pe(/* @__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/${i}/${t.name.replace(`${i}-`, "")}.svg`) : pe(/* @__PURE__ */ Object.assign({ "./icons/add-app.svg": () => import("./add-app-c6cfc484.mjs"), "./icons/add-bold.svg": () => import("./add-bold-6a76e9bb.mjs"), "./icons/add-circle-bold.svg": () => import("./add-circle-bold-97e5adc1.mjs"), "./icons/add-circle-bulk.svg": () => import("./add-circle-bulk-747520c9.mjs"), "./icons/add-circle.svg": () => import("./add-circle-f073b3a5.mjs"), "./icons/add-square-bold.svg": () => import("./add-square-bold-9325171b.mjs"), "./icons/add-square.svg": () => import("./add-square-69326cbe.mjs"), "./icons/add.svg": () => import("./add-9dbda5df.mjs"), "./icons/aim-outlined.svg": () => import("./aim-outlined-65d9ace5.mjs"), "./icons/align-left-bold.svg": () => import("./align-left-bold-b5d337c2.mjs"), "./icons/align-left-bulk.svg": () => import("./align-left-bulk-12c497f2.mjs"), "./icons/align-left.svg": () => import("./align-left-e0081925.mjs"), "./icons/android-storefront.svg": () => import("./android-storefront-7e2fce85.mjs"), "./icons/android.svg": () => import("./android-6646cfe8.mjs"), "./icons/angle-double-right.svg": () => import("./angle-double-right-f9013ea4.mjs"), "./icons/app-store.svg": () => import("./app-store-a2e77b49.mjs"), "./icons/app.svg": () => import("./app-f4f9f825.mjs"), "./icons/apple-storefront.svg": () => import("./apple-storefront-42dd3c3b.mjs"), "./icons/apple.svg": () => import("./apple-0e24538a.mjs"), "./icons/area-chart-outlined.svg": () => import("./area-chart-outlined-9ebbb046.mjs"), "./icons/arrow-down-bold.svg": () => import("./arrow-down-bold-ab98475e.mjs"), "./icons/arrow-down-circle-bold.svg": () => import("./arrow-down-circle-bold-dd70b4a1.mjs"), "./icons/arrow-down-circle.svg": () => import("./arrow-down-circle-6939e08b.mjs"), "./icons/arrow-down.svg": () => import("./arrow-down-1ea6effe.mjs"), "./icons/arrow-left-bold.svg": () => import("./arrow-left-bold-da6b56cf.mjs"), "./icons/arrow-left-circle-bold.svg": () => import("./arrow-left-circle-bold-00147cf9.mjs"), "./icons/arrow-left-circle.svg": () => import("./arrow-left-circle-36ee49a0.mjs"), "./icons/arrow-left.svg": () => import("./arrow-left-de0e04b4.mjs"), "./icons/arrow-right-bold.svg": () => import("./arrow-right-bold-44d0818e.mjs"), "./icons/arrow-right-circle-bold.svg": () => import("./arrow-right-circle-bold-a099aa39.mjs"), "./icons/arrow-right-circle.svg": () => import("./arrow-right-circle-f1887cb9.mjs"), "./icons/arrow-right.svg": () => import("./arrow-right-3adbd99c.mjs"), "./icons/arrow-up-bold.svg": () => import("./arrow-up-bold-6be7daad.mjs"), "./icons/arrow-up-circle-bold.svg": () => import("./arrow-up-circle-bold-1e3d9fb3.mjs"), "./icons/arrow-up-circle.svg": () => import("./arrow-up-circle-afef4b76.mjs"), "./icons/arrow-up.svg": () => import("./arrow-up-9bd27cbc.mjs"), "./icons/asterisk.svg": () => import("./asterisk-4931d7de.mjs"), "./icons/bahai.svg": () => import("./bahai-d39a6d30.mjs"), "./icons/box-empty.svg": () => import("./box-empty-c7e5e478.mjs"), "./icons/brain.svg": () => import("./brain-ed02653c.mjs"), "./icons/broom-bold.svg": () => import("./broom-bold-bbdeaf5b.mjs"), "./icons/broom.svg": () => import("./broom-a6b79824.mjs"), "./icons/bullhorn.svg": () => import("./bullhorn-ed8cf0f2.mjs"), "./icons/buy-crypto.svg": () => import("./buy-crypto-95976591.mjs"), "./icons/calendar-alt.svg": () => import("./calendar-alt-7eb30ec8.mjs"), "./icons/calendar-bold.svg": () => import("./calendar-bold-4e672dd2.mjs"), "./icons/calendar.svg": () => import("./calendar-80e4dfe2.mjs"), "./icons/card-bold.svg": () => import("./card-bold-041abf76.mjs"), "./icons/card.svg": () => import("./card-c621f3e9.mjs"), "./icons/caret-down-bold.svg": () => import("./caret-down-bold-a3b3da1f.mjs"), "./icons/caret-down.svg": () => import("./caret-down-3fe99d7f.mjs"), "./icons/caret-left-bold.svg": () => import("./caret-left-bold-bc6e1d53.mjs"), "./icons/caret-left.svg": () => import("./caret-left-d7629f01.mjs"), "./icons/caret-right-bold.svg": () => import("./caret-right-bold-3f5262a8.mjs"), "./icons/caret-right.svg": () => import("./caret-right-8273d096.mjs"), "./icons/caret-up-bold.svg": () => import("./caret-up-bold-32d8e62c.mjs"), "./icons/caret-up.svg": () => import("./caret-up-b63b673a.mjs"), "./icons/certificate.svg": () => import("./certificate-f669a9ad.mjs"), "./icons/chart-area.svg": () => import("./chart-area-b551ec23.mjs"), "./icons/chart-bar.svg": () => import("./chart-bar-e2cd95d6.mjs"), "./icons/check.svg": () => import("./check-11d216df.mjs"), "./icons/checkered-flag.svg": () => import("./checkered-flag-b32811ef.mjs"), "./icons/chevron-down.svg": () => import("./chevron-down-bb4d1037.mjs"), "./icons/chevron-left.svg": () => import("./chevron-left-e66562f4.mjs"), "./icons/chevron-right.svg": () => import("./chevron-right-40c42af6.mjs"), "./icons/chevron-up.svg": () => import("./chevron-up-1eaab9d6.mjs"), "./icons/circle-exclamation.svg": () => import("./circle-exclamation-9e768f95.mjs"), "./icons/circle-notch.svg": () => import("./circle-notch-4d10653d.mjs"), "./icons/circle.svg": () => import("./circle-334738cc.mjs"), "./icons/clipboard-bold.svg": () => import("./clipboard-bold-23b6db18.mjs"), "./icons/clipboard-bulk.svg": () => import("./clipboard-bulk-2eaea8d9.mjs"), "./icons/clipboard.svg": () => import("./clipboard-a4d48537.mjs"), "./icons/clock-bold.svg": () => import("./clock-bold-1e86ddf2.mjs"), "./icons/clock.svg": () => import("./clock-03b46e55.mjs"), "./icons/clone.svg": () => import("./clone-87da0781.mjs"), "./icons/close-circle-bold.svg": () => import("./close-circle-bold-55afdf33.mjs"), "./icons/close-circle-bulk.svg": () => import("./close-circle-bulk-49febd0e.mjs"), "./icons/close-circle.svg": () => import("./close-circle-8362ea8b.mjs"), "./icons/close-square-bold.svg": () => import("./close-square-bold-a9c184b5.mjs"), "./icons/close-square.svg": () => import("./close-square-86c73dd1.mjs"), "./icons/close.svg": () => import("./close-78fe657e.mjs"), "./icons/cloud-upload.svg": () => import("./cloud-upload-543b8e47.mjs"), "./icons/cogs.svg": () => import("./cogs-cc6d1ae4.mjs"), "./icons/color-filter.svg": () => import("./color-filter-03f09a58.mjs"), "./icons/columns-bold.svg": () => import("./columns-bold-1c035fde.mjs"), "./icons/columns.svg": () => import("./columns-445b590e.mjs"), "./icons/compress.svg": () => import("./compress-058372ae.mjs"), "./icons/control.svg": () => import("./control-2062dbce.mjs"), "./icons/convert-shape-bold.svg": () => import("./convert-shape-bold-af9365d6.mjs"), "./icons/convert-shape-bulk.svg": () => import("./convert-shape-bulk-60bdaea2.mjs"), "./icons/convert-shape.svg": () => import("./convert-shape-99f54f1d.mjs"), "./icons/copy-bold.svg": () => import("./copy-bold-05c9fa7f.mjs"), "./icons/copy.svg": () => import("./copy-4e7dca50.mjs"), "./icons/crosshairs.svg": () => import("./crosshairs-af5e585e.mjs"), "./icons/cup-bold.svg": () => import("./cup-bold-73d694bb.mjs"), "./icons/cup-bulk.svg": () => import("./cup-bulk-492ee9cb.mjs"), "./icons/cup.svg": () => import("./cup-6572bd63.mjs"), "./icons/dashboard.svg": () => import("./dashboard-7aca4d6d.mjs"), "./icons/data-bold.svg": () => import("./data-bold-ec2d39a7.mjs"), "./icons/data-bulk.svg": () => import("./data-bulk-3183451e.mjs"), "./icons/data.svg": () => import("./data-c0cbec11.mjs"), "./icons/diagram.svg": () => import("./diagram-7c4f1611.mjs"), "./icons/direct-normal-bulk.svg": () => import("./direct-normal-bulk-4cc25be5.mjs"), "./icons/direct-normal.svg": () => import("./direct-normal-2fb67893.mjs"), "./icons/dislike-bold.svg": () => import("./dislike-bold-8787bfe5.mjs"), "./icons/dislike.svg": () => import("./dislike-1bf847a0.mjs"), "./icons/document-bold.svg": () => import("./document-bold-12880f8f.mjs"), "./icons/document-bulk.svg": () => import("./document-bulk-1d978376.mjs"), "./icons/document.svg": () => import("./document-116695c8.mjs"), "./icons/dollar-circle.svg": () => import("./dollar-circle-ee373317.mjs"), "./icons/dot.svg": () => import("./dot-8b0b9de5.mjs"), "./icons/download.svg": () => import("./download-a31300dd.mjs"), "./icons/edit-bold.svg": () => import("./edit-bold-d0e7d866.mjs"), "./icons/edit.svg": () => import("./edit-c21d1e6e.mjs"), "./icons/ellipsis-horizontal.svg": () => import("./ellipsis-horizontal-a3871d7f.mjs"), "./icons/ellipsis-vertical.svg": () => import("./ellipsis-vertical-b1a88595.mjs"), "./icons/empty-table.svg": () => import("./empty-table-41155dd6.mjs"), "./icons/expand.svg": () => import("./expand-36fff427.mjs"), "./icons/export-2-bold.svg": () => import("./export-2-bold-8832fb34.mjs"), "./icons/export-2-bulk.svg": () => import("./export-2-bulk-25deffb0.mjs"), "./icons/export-2.svg": () => import("./export-2-6595b6fa.mjs"), "./icons/export-bold.svg": () => import("./export-bold-f9ede1b1.mjs"), "./icons/export.svg": () => import("./export-70a8fb01.mjs"), "./icons/eye-bold.svg": () => import("./eye-bold-a026520d.mjs"), "./icons/eye-slash-bold.svg": () => import("./eye-slash-bold-334a7964.mjs"), "./icons/eye-slash.svg": () => import("./eye-slash-db05611b.mjs"), "./icons/eye.svg": () => import("./eye-0395aa8a.mjs"), "./icons/facebook.svg": () => import("./facebook-4fa8ba0c.mjs"), "./icons/file-pdf.svg": () => import("./file-pdf-425e84ec.mjs"), "./icons/filled-flag.svg": () => import("./filled-flag-eee4f8a0.mjs"), "./icons/filter-bold.svg": () => import("./filter-bold-1a75a9c9.mjs"), "./icons/filter-bulk.svg": () => import("./filter-bulk-386bf773.mjs"), "./icons/filter.svg": () => import("./filter-c35fa360.mjs"), "./icons/flag.svg": () => import("./flag-9ab7ebcf.mjs"), "./icons/folder-open-bold.svg": () => import("./folder-open-bold-5af5737b.mjs"), "./icons/folder-open.svg": () => import("./folder-open-5d2ab10b.mjs"), "./icons/font.svg": () => import("./font-7fcbf490.mjs"), "./icons/glass-bold.svg": () => import("./glass-bold-394f3be2.mjs"), "./icons/glass-bulk.svg": () => import("./glass-bulk-e47d5da7.mjs"), "./icons/glass.svg": () => import("./glass-a6a6497f.mjs"), "./icons/global.svg": () => import("./global-6a6d773f.mjs"), "./icons/google-colored.svg": () => import("./google-colored-43ad23d9.mjs"), "./icons/google.svg": () => import("./google-2e882a09.mjs"), "./icons/graduation-cap-bold.svg": () => import("./graduation-cap-bold-38c52391.mjs"), "./icons/graduation-cap.svg": () => import("./graduation-cap-6283f172.mjs"), "./icons/graph-bold.svg": () => import("./graph-bold-ab1314fb.mjs"), "./icons/graph.svg": () => import("./graph-db4116dc.mjs"), "./icons/grid-bold.svg": () => import("./grid-bold-aee508ed.mjs"), "./icons/grid-bulk.svg": () => import("./grid-bulk-c41d1f0b.mjs"), "./icons/grid.svg": () => import("./grid-dd9c600a.mjs"), "./icons/hamburger.svg": () => import("./hamburger-4bcd3550.mjs"), "./icons/headset.svg": () => import("./headset-41866868.mjs"), "./icons/history.svg": () => import("./history-4809d082.mjs"), "./icons/home-bold.svg": () => import("./home-bold-f75667d3.mjs"), "./icons/home-bulk.svg": () => import("./home-bulk-65505439.mjs"), "./icons/home.svg": () => import("./home-ea97f9e5.mjs"), "./icons/indent.svg": () => import("./indent-bbd53e37.mjs"), "./icons/info-circle-2-bold.svg": () => import("./info-circle-2-bold-fb1ec68d.mjs"), "./icons/info-circle-2-bulk.svg": () => import("./info-circle-2-bulk-e316569f.mjs"), "./icons/info-circle-2.svg": () => import("./info-circle-2-3df3cd43.mjs"), "./icons/info-circle-bold.svg": () => import("./info-circle-bold-a60837c0.mjs"), "./icons/info-circle.svg": () => import("./info-circle-f0a7874e.mjs"), "./icons/info.svg": () => import("./info-0f5d7a72.mjs"), "./icons/justify-right.svg": () => import("./justify-right-077e8f16.mjs"), "./icons/layer-bold.svg": () => import("./layer-bold-be2afc48.mjs"), "./icons/layer-bulk.svg": () => import("./layer-bulk-9f594537.mjs"), "./icons/layer.svg": () => import("./layer-91965b54.mjs"), "./icons/like-bold.svg": () => import("./like-bold-707bd507.mjs"), "./icons/like.svg": () => import("./like-5366ea0c.mjs"), "./icons/link.svg": () => import("./link-5900c6f3.mjs"), "./icons/linkedin.svg": () => import("./linkedin-fc9d8eba.mjs"), "./icons/list.svg": () => import("./list-842dc9a8.mjs"), "./icons/loader.svg": () => import("./loader-780f4564.mjs"), "./icons/loading.svg": () => import("./loading-ff55b728.mjs"), "./icons/lock-bold.svg": () => import("./lock-bold-7c7d934f.mjs"), "./icons/lock.svg": () => import("./lock-6a149031.mjs"), "./icons/logout-bold.svg": () => import("./logout-bold-1dcb0ea6.mjs"), "./icons/logout.svg": () => import("./logout-ad75d36d.mjs"), "./icons/map-marker-bold.svg": () => import("./map-marker-bold-442a942e.mjs"), "./icons/map-marker.svg": () => import("./map-marker-b5ee033b.mjs"), "./icons/med-kit.svg": () => import("./med-kit-735d6731.mjs"), "./icons/medal-bold.svg": () => import("./medal-bold-e3504b21.mjs"), "./icons/medal.svg": () => import("./medal-68f17af5.mjs"), "./icons/menu-bold.svg": () => import("./menu-bold-7a2db113.mjs"), "./icons/menu.svg": () => import("./menu-35172ffb.mjs"), "./icons/message-notif.svg": () => import("./message-notif-7e1da245.mjs"), "./icons/message-text.svg": () => import("./message-text-6c2c83cb.mjs"), "./icons/messages-bold.svg": () => import("./messages-bold-39c5d5da.mjs"), "./icons/messages-bulk.svg": () => import("./messages-bulk-725db50b.mjs"), "./icons/messages.svg": () => import("./messages-ca56b00a.mjs"), "./icons/microscope-bold.svg": () => import("./microscope-bold-b9ffc8e0.mjs"), "./icons/microscope-bulk.svg": () => import("./microscope-bulk-13849f10.mjs"), "./icons/microscope.svg": () => import("./microscope-5c8aa3be.mjs"), "./icons/minus-bold.svg": () => import("./minus-bold-35331113.mjs"), "./icons/minus-square-bold.svg": () => import("./minus-square-bold-ee82e28b.mjs"), "./icons/minus-square.svg": () => import("./minus-square-9e68718d.mjs"), "./icons/minus.svg": () => import("./minus-df04dca9.mjs"), "./icons/mobile-bold.svg": () => import("./mobile-bold-c116009c.mjs"), "./icons/mobile-bulk.svg": () => import("./mobile-bulk-388e6cc5.mjs"), "./icons/mobile.svg": () => import("./mobile-e8ed279c.mjs"), "./icons/money-bill.svg": () => import("./money-bill-2f65d92b.mjs"), "./icons/money-send.svg": () => import("./money-send-1aa85fa1.mjs"), "./icons/notification-bold.svg": () => import("./notification-bold-52e1c858.mjs"), "./icons/notification.svg": () => import("./notification-04a91f66.mjs"), "./icons/outdent.svg": () => import("./outdent-939d95c2.mjs"), "./icons/paper-plane.svg": () => import("./paper-plane-930f1bce.mjs"), "./icons/password-check.svg": () => import("./password-check-c088e24b.mjs"), "./icons/pause-bold.svg": () => import("./pause-bold-b5ad47f4.mjs"), "./icons/pause-circle-bold.svg": () => import("./pause-circle-bold-91dc23e9.mjs"), "./icons/pause-circle.svg": () => import("./pause-circle-31f2dece.mjs"), "./icons/pause.svg": () => import("./pause-dcda0462.mjs"), "./icons/pen-square.svg": () => import("./pen-square-5d6963c5.mjs"), "./icons/pencil.svg": () => import("./pencil-a5550af6.mjs"), "./icons/people-bold.svg": () => import("./people-bold-a8b9de12.mjs"), "./icons/people.svg": () => import("./people-9ee16944.mjs"), "./icons/percentage-square-bold.svg": () => import("./percentage-square-bold-0a7ce7af.mjs"), "./icons/percentage-square.svg": () => import("./percentage-square-53cd879b.mjs"), "./icons/play-circle-bold.svg": () => import("./play-circle-bold-6ad0060f.mjs"), "./icons/play-circle.svg": () => import("./play-circle-94665032.mjs"), "./icons/plug-bold.svg": () => import("./plug-bold-c1f9893e.mjs"), "./icons/plug.svg": () => import("./plug-48296fd8.mjs"), "./icons/project-bold.svg": () => import("./project-bold-c32953aa.mjs"), "./icons/question-bold.svg": () => import("./question-bold-00b9c0a9.mjs"), "./icons/question.svg": () => import("./question-a1a8a155.mjs"), "./icons/radar-bold.svg": () => import("./radar-bold-025890d0.mjs"), "./icons/radar-bulk.svg": () => import("./radar-bulk-255fcb9a.mjs"), "./icons/radar.svg": () => import("./radar-9e9d8254.mjs"), "./icons/ranking-bold.svg": () => import("./ranking-bold-37930d9e.mjs"), "./icons/ranking-bulk.svg": () => import("./ranking-bulk-8f7ba862.mjs"), "./icons/ranking.svg": () => import("./ranking-dbddc87b.mjs"), "./icons/record-circle.svg": () => import("./record-circle-e0200965.mjs"), "./icons/redo-bold.svg": () => import("./redo-bold-5495fffd.mjs"), "./icons/redo.svg": () => import("./redo-fb873128.mjs"), "./icons/refresh.svg": () => import("./refresh-4b069be6.mjs"), "./icons/reply.svg": () => import("./reply-de440c87.mjs"), "./icons/rocket.svg": () => import("./rocket-e2d475e7.mjs"), "./icons/scale-balanced.svg": () => import("./scale-balanced-af7eb5de.mjs"), "./icons/search-dollar.svg": () => import("./search-dollar-c94ca9fd.mjs"), "./icons/search-normal-bold.svg": () => import("./search-normal-bold-01d843f2.mjs"), "./icons/search-normal.svg": () => import("./search-normal-154aba52.mjs"), "./icons/security-card-bold.svg": () => import("./security-card-bold-2e90c06e.mjs"), "./icons/security-card.svg": () => import("./security-card-7de3f47c.mjs"), "./icons/selection.svg": () => import("./selection-08a9c952.mjs"), "./icons/send.svg": () => import("./send-e7646e7a.mjs"), "./icons/settings-bold.svg": () => import("./settings-bold-7c51d631.mjs"), "./icons/settings-bulk.svg": () => import("./settings-bulk-5b8c71b9.mjs"), "./icons/settings.svg": () => import("./settings-d20222e7.mjs"), "./icons/share-bold.svg": () => import("./share-bold-15fdbe97.mjs"), "./icons/share-bulk.svg": () => import("./share-bulk-ba3adfd9.mjs"), "./icons/share.svg": () => import("./share-138f74f8.mjs"), "./icons/shopping-cart-bold.svg": () => import("./shopping-cart-bold-f786619a.mjs"), "./icons/shopping-cart.svg": () => import("./shopping-cart-8becc3f1.mjs"), "./icons/sidebar-left-bold.svg": () => import("./sidebar-left-bold-25ef42d3.mjs"), "./icons/sidebar-left-bulk.svg": () => import("./sidebar-left-bulk-2176d14f.mjs"), "./icons/sidebar-left.svg": () => import("./sidebar-left-ba427d0c.mjs"), "./icons/sidebar-right-bold.svg": () => import("./sidebar-right-bold-3a3f4884.mjs"), "./icons/sidebar-right-bulk.svg": () => import("./sidebar-right-bulk-43354705.mjs"), "./icons/sidebar-right.svg": () => import("./sidebar-right-f88fa191.mjs"), "./icons/slash-bold.svg": () => import("./slash-bold-9656541d.mjs"), "./icons/slash.svg": () => import("./slash-9eee755b.mjs"), "./icons/slider-horizontal-bold.svg": () => import("./slider-horizontal-bold-db93f0f6.mjs"), "./icons/slider-horizontal.svg": () => import("./slider-horizontal-4c098e63.mjs"), "./icons/smart-notification-bold.svg": () => import("./smart-notification-bold-2c8940c5.mjs"), "./icons/smart-notification-bulk.svg": () => import("./smart-notification-bulk-5efb20e5.mjs"), "./icons/smart-notification.svg": () => import("./smart-notification-10e5248c.mjs"), "./icons/sms-bold.svg": () => import("./sms-bold-f6dc2e1a.mjs"), "./icons/sms.svg": () => import("./sms-4db7f244.mjs"), "./icons/sort-amount-down.svg": () => import("./sort-amount-down-0b2b11f1.mjs"), "./icons/speedometer.svg": () => import("./speedometer-c719f6df.mjs"), "./icons/spin-dots.svg": () => import("./spin-dots-25d015b7.mjs"), "./icons/spin-round.svg": () => import("./spin-round-9db617b7.mjs"), "./icons/spin-three-circles.svg": () => import("./spin-three-circles-13ae8650.mjs"), "./icons/spin-three-dots.svg": () => import("./spin-three-dots-c116245e.mjs"), "./icons/spinner.svg": () => import("./spinner-8bb3861a.mjs"), "./icons/square.svg": () => import("./square-5a969e93.mjs"), "./icons/star-bold.svg": () => import("./star-bold-4c45c0d8.mjs"), "./icons/star-bulk.svg": () => import("./star-bulk-d8bdbc7a.mjs"), "./icons/star-half-colored.svg": () => import("./star-half-colored-3b10f42e.mjs"), "./icons/star.svg": () => import("./star-017cb8aa.mjs"), "./icons/status-up.svg": () => import("./status-up-6547be80.mjs"), "./icons/stop-bold.svg": () => import("./stop-bold-be0c1cd8.mjs"), "./icons/stop.svg": () => import("./stop-c195f726.mjs"), "./icons/story.svg": () => import("./story-b421beca.mjs"), "./icons/stream.svg": () => import("./stream-e8091b3f.mjs"), "./icons/swap-bold.svg": () => import("./swap-bold-57d7dc55.mjs"), "./icons/swap.svg": () => import("./swap-11e0d73e.mjs"), "./icons/sync.svg": () => import("./sync-8d26ba0f.mjs"), "./icons/table-list.svg": () => import("./table-list-3a2b78aa.mjs"), "./icons/tag-bold.svg": () => import("./tag-bold-573c41ef.mjs"), "./icons/tag-bulk.svg": () => import("./tag-bulk-922d5513.mjs"), "./icons/tag.svg": () => import("./tag-a64db341.mjs"), "./icons/thumbtack.svg": () => import("./thumbtack-1a04ac17.mjs"), "./icons/tick-circle-bold.svg": () => import("./tick-circle-bold-1d123c3c.mjs"), "./icons/tick-circle.svg": () => import("./tick-circle-01243ef4.mjs"), "./icons/tick-square-bold.svg": () => import("./tick-square-bold-bf954d12.mjs"), "./icons/tick-square.svg": () => import("./tick-square-787b244b.mjs"), "./icons/tick.svg": () => import("./tick-52c4e48f.mjs"), "./icons/toggle-off-bold.svg": () => import("./toggle-off-bold-8a8be16b.mjs"), "./icons/toggle-off.svg": () => import("./toggle-off-1b1e303c.mjs"), "./icons/toggle-on-bold.svg": () => import("./toggle-on-bold-64ad90eb.mjs"), "./icons/toggle-on.svg": () => import("./toggle-on-0d6dced2.mjs"), "./icons/transgender.svg": () => import("./transgender-82cb488f.mjs"), "./icons/trash-bold.svg": () => import("./trash-bold-e0f392c8.mjs"), "./icons/trash-bulk.svg": () => import("./trash-bulk-89ab0a45.mjs"), "./icons/trash.svg": () => import("./trash-f08f2851.mjs"), "./icons/trend-up-bold.svg": () => import("./trend-up-bold-df64bd2c.mjs"), "./icons/trend-up-bulk.svg": () => import("./trend-up-bulk-431e9d22.mjs"), "./icons/trend-up.svg": () => import("./trend-up-eca70766.mjs"), "./icons/triangle-exclamation.svg": () => import("./triangle-exclamation-3a84b726.mjs"), "./icons/twitter.svg": () => import("./twitter-9097735c.mjs"), "./icons/undo-bold.svg": () => import("./undo-bold-65eb640c.mjs"), "./icons/undo.svg": () => import("./undo-653eb482.mjs"), "./icons/unlock-bold.svg": () => import("./unlock-bold-8a8847c6.mjs"), "./icons/unlock.svg": () => import("./unlock-2c19e8b6.mjs"), "./icons/upload-bulk.svg": () => import("./upload-bulk-c4de9af1.mjs"), "./icons/upload.svg": () => import("./upload-37d640ae.mjs"), "./icons/user-square.svg": () => import("./user-square-b766a005.mjs"), "./icons/user.svg": () => import("./user-e1c97db1.mjs"), "./icons/volume-low.svg": () => import("./volume-low-58e56b04.mjs"), "./icons/warning-2-bold.svg": () => import("./warning-2-bold-d7e8e03f.mjs"), "./icons/warning-2-bulk.svg": () => import("./warning-2-bulk-a5e67b28.mjs"), "./icons/warning-2.svg": () => import("./warning-2-c6914942.mjs"), "./icons/warning.svg": () => import("./warning-76eae041.mjs"), "./icons/wifi.svg": () => import("./wifi-0bf73fb3.mjs") }), `./icons/${t.name}.svg`);
|
|
29
|
+
}.bind({ name: t.name })
|
|
30
30
|
)
|
|
31
31
|
), l = c(() => [
|
|
32
32
|
"ma-icon",
|
|
33
33
|
"ak-icon",
|
|
34
|
-
`ak-icon--${
|
|
35
|
-
|
|
36
|
-
{ "animate-spin":
|
|
34
|
+
`ak-icon--${t.name}`,
|
|
35
|
+
nt[t.size],
|
|
36
|
+
{ "animate-spin": t.spin }
|
|
37
37
|
]);
|
|
38
|
-
return (i, r) => (o(),
|
|
39
|
-
class:
|
|
38
|
+
return (i, r) => (o(), g(ee(n(s)), {
|
|
39
|
+
class: F(n(l))
|
|
40
40
|
}, null, 8, ["class"]));
|
|
41
41
|
}
|
|
42
|
-
}),
|
|
42
|
+
}), lt = {
|
|
43
43
|
name: "MaButton"
|
|
44
|
-
},
|
|
45
|
-
...
|
|
44
|
+
}, X = /* @__PURE__ */ $({
|
|
45
|
+
...lt,
|
|
46
46
|
props: {
|
|
47
47
|
type: { default: "primary" },
|
|
48
48
|
variant: { default: "dark" },
|
|
@@ -58,8 +58,8 @@ const ce = (a, s) => {
|
|
|
58
58
|
emits: [
|
|
59
59
|
"keyUp"
|
|
60
60
|
],
|
|
61
|
-
setup(a, { emit:
|
|
62
|
-
const e = a,
|
|
61
|
+
setup(a, { emit: t }) {
|
|
62
|
+
const e = a, s = c(() => e.type === "secondary" ? "default" : e.type === "grey-link" ? "link" : e.type), l = c(() => [
|
|
63
63
|
`
|
|
64
64
|
ma-button
|
|
65
65
|
ak-button
|
|
@@ -77,32 +77,32 @@ const ce = (a, s) => {
|
|
|
77
77
|
"ak-button--disabled": r.value
|
|
78
78
|
}
|
|
79
79
|
]), i = c(() => e?.loading || e?.icon), r = c(() => e?.disabled || e?.loading), u = (d) => {
|
|
80
|
-
|
|
80
|
+
t("keyUp", d);
|
|
81
81
|
};
|
|
82
|
-
return (d, m) => (o(),
|
|
82
|
+
return (d, m) => (o(), g(n(Ce), x({
|
|
83
83
|
class: n(l),
|
|
84
84
|
href: e.href,
|
|
85
85
|
target: e.target,
|
|
86
86
|
disabled: n(r),
|
|
87
|
-
type: n(
|
|
87
|
+
type: n(s),
|
|
88
88
|
onKeyup: u,
|
|
89
89
|
role: "button"
|
|
90
90
|
}, d.$attrs, { "prefix-cls": "antd-btn" }), O({ _: 2 }, [
|
|
91
91
|
U(d.$slots, (z, I) => ({
|
|
92
92
|
name: I,
|
|
93
|
-
fn:
|
|
93
|
+
fn: h(() => [
|
|
94
94
|
f(d.$slots, I)
|
|
95
95
|
])
|
|
96
96
|
})),
|
|
97
97
|
n(i) ? {
|
|
98
98
|
name: "icon",
|
|
99
|
-
fn:
|
|
100
|
-
e?.loading ? (o(),
|
|
99
|
+
fn: h(() => [
|
|
100
|
+
e?.loading ? (o(), g(k, {
|
|
101
101
|
key: 0,
|
|
102
102
|
class: "ak-button__loader",
|
|
103
103
|
spin: "",
|
|
104
104
|
name: "loader"
|
|
105
|
-
})) : (o(),
|
|
105
|
+
})) : (o(), g(k, {
|
|
106
106
|
key: 1,
|
|
107
107
|
class: "ak-button__icon",
|
|
108
108
|
name: e?.icon
|
|
@@ -113,40 +113,40 @@ const ce = (a, s) => {
|
|
|
113
113
|
]), 1040, ["class", "href", "target", "disabled", "type"]));
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
|
-
const
|
|
116
|
+
const Nn = [
|
|
117
117
|
"primary",
|
|
118
118
|
"secondary",
|
|
119
119
|
"link",
|
|
120
120
|
"grey-link",
|
|
121
121
|
"social"
|
|
122
|
-
],
|
|
122
|
+
], Pn = [
|
|
123
123
|
"dark",
|
|
124
124
|
"plain",
|
|
125
125
|
"info",
|
|
126
126
|
"success",
|
|
127
127
|
"warning",
|
|
128
128
|
"danger"
|
|
129
|
-
],
|
|
129
|
+
], it = [
|
|
130
130
|
"small",
|
|
131
131
|
"middle",
|
|
132
132
|
"large",
|
|
133
133
|
"x-large",
|
|
134
134
|
"2x-large"
|
|
135
|
-
],
|
|
135
|
+
], Dn = [
|
|
136
136
|
"default",
|
|
137
137
|
"round"
|
|
138
|
-
],
|
|
138
|
+
], Ln = [
|
|
139
139
|
"_blank",
|
|
140
140
|
"_self",
|
|
141
141
|
"_top",
|
|
142
142
|
"_parent"
|
|
143
|
-
],
|
|
143
|
+
], En = [
|
|
144
144
|
"left",
|
|
145
145
|
"right"
|
|
146
|
-
],
|
|
146
|
+
], rt = { class: "icon-wrapper" }, ct = {
|
|
147
147
|
name: "MaTrackButton"
|
|
148
|
-
},
|
|
149
|
-
...
|
|
148
|
+
}, Fn = /* @__PURE__ */ $({
|
|
149
|
+
...ct,
|
|
150
150
|
props: {
|
|
151
151
|
variant: { default: "default" },
|
|
152
152
|
size: { default: "md" },
|
|
@@ -157,73 +157,73 @@ const An = [
|
|
|
157
157
|
keyword: null
|
|
158
158
|
},
|
|
159
159
|
setup(a) {
|
|
160
|
-
const
|
|
160
|
+
const t = a, e = c(() => [
|
|
161
161
|
`
|
|
162
162
|
ma-track-button
|
|
163
163
|
ak-track-button
|
|
164
|
-
ak-track-button--${
|
|
165
|
-
ak-track-button--${
|
|
164
|
+
ak-track-button--${t.variant}
|
|
165
|
+
ak-track-button--${t.size}
|
|
166
166
|
`,
|
|
167
167
|
{
|
|
168
|
-
"ak-track-button--tracked":
|
|
168
|
+
"ak-track-button--tracked": t?.tracked
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
"ak-track-button--loading":
|
|
171
|
+
"ak-track-button--loading": t?.loading
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
|
-
"ak-track-button--show-close":
|
|
174
|
+
"ak-track-button--show-close": t?.showClose
|
|
175
175
|
}
|
|
176
|
-
]),
|
|
177
|
-
() =>
|
|
178
|
-
), l = c(() =>
|
|
179
|
-
return (i, r) => (o(),
|
|
176
|
+
]), s = c(
|
|
177
|
+
() => t.loading ? "loader" : t?.showClose ? "close-circle" : t?.tracked ? "tick-circle-bold" : "add"
|
|
178
|
+
), l = c(() => t.size === "lg" ? "sm" : "xs");
|
|
179
|
+
return (i, r) => (o(), g(n(Ce), x(i.$attrs, {
|
|
180
180
|
class: n(e),
|
|
181
|
-
disabled:
|
|
181
|
+
disabled: t?.disabled || t?.loading,
|
|
182
182
|
role: "button",
|
|
183
183
|
"prefix-cls": "antd-btn"
|
|
184
184
|
}), O({
|
|
185
|
-
icon:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
spin:
|
|
189
|
-
name: n(
|
|
185
|
+
icon: h(() => [
|
|
186
|
+
y("div", rt, [
|
|
187
|
+
B(k, {
|
|
188
|
+
spin: t?.loading,
|
|
189
|
+
name: n(s),
|
|
190
190
|
size: n(l)
|
|
191
191
|
}, null, 8, ["spin", "name", "size"])
|
|
192
192
|
])
|
|
193
193
|
]),
|
|
194
|
-
default:
|
|
195
|
-
D(" " +
|
|
194
|
+
default: h(() => [
|
|
195
|
+
D(" " + C(a.keyword) + " ", 1)
|
|
196
196
|
]),
|
|
197
197
|
_: 2
|
|
198
198
|
}, [
|
|
199
199
|
U(i.$slots, (u, d) => ({
|
|
200
200
|
name: d,
|
|
201
|
-
fn:
|
|
201
|
+
fn: h(() => [
|
|
202
202
|
f(i.$slots, d)
|
|
203
203
|
])
|
|
204
204
|
}))
|
|
205
205
|
]), 1040, ["class", "disabled"]));
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
|
-
const
|
|
208
|
+
const Rn = [
|
|
209
209
|
"default"
|
|
210
|
-
],
|
|
210
|
+
], Un = [
|
|
211
211
|
"sm",
|
|
212
212
|
"md",
|
|
213
213
|
"lg"
|
|
214
|
-
],
|
|
214
|
+
], pt = {
|
|
215
215
|
key: 0,
|
|
216
216
|
class: "ma-toggle__titles"
|
|
217
|
-
},
|
|
217
|
+
}, ut = {
|
|
218
218
|
key: 0,
|
|
219
219
|
class: "ma-toggle__titles__title"
|
|
220
|
-
},
|
|
220
|
+
}, dt = {
|
|
221
221
|
key: 1,
|
|
222
222
|
class: "ma-toggle__titles__sub-title"
|
|
223
|
-
},
|
|
223
|
+
}, mt = {
|
|
224
224
|
name: "MaToggle"
|
|
225
|
-
},
|
|
226
|
-
...
|
|
225
|
+
}, Vn = /* @__PURE__ */ $({
|
|
226
|
+
...mt,
|
|
227
227
|
props: {
|
|
228
228
|
size: { default: "default" },
|
|
229
229
|
disabled: { type: Boolean },
|
|
@@ -235,13 +235,13 @@ const En = [
|
|
|
235
235
|
subTitle: null
|
|
236
236
|
},
|
|
237
237
|
emits: ["click", "change"],
|
|
238
|
-
setup(a, { emit:
|
|
239
|
-
const e = a,
|
|
238
|
+
setup(a, { emit: t }) {
|
|
239
|
+
const e = a, s = c({
|
|
240
240
|
get() {
|
|
241
241
|
return e.checked;
|
|
242
242
|
},
|
|
243
243
|
set(i) {
|
|
244
|
-
|
|
244
|
+
t("change", i);
|
|
245
245
|
}
|
|
246
246
|
}), l = c(() => [
|
|
247
247
|
"ma-toggle",
|
|
@@ -251,12 +251,12 @@ const En = [
|
|
|
251
251
|
}
|
|
252
252
|
]);
|
|
253
253
|
return (i, r) => (o(), p("div", {
|
|
254
|
-
class:
|
|
254
|
+
class: F(n(l))
|
|
255
255
|
}, [
|
|
256
|
-
|
|
256
|
+
B(n(Fe), x({
|
|
257
257
|
class: "ma-toggle__switch",
|
|
258
|
-
checked: n(
|
|
259
|
-
"onUpdate:checked": r[0] || (r[0] = (u) => K(
|
|
258
|
+
checked: n(s),
|
|
259
|
+
"onUpdate:checked": r[0] || (r[0] = (u) => K(s) ? s.value = u : null)
|
|
260
260
|
}, i.$attrs, {
|
|
261
261
|
onClick: r[1] || (r[1] = (u) => i.$emit("click", u)),
|
|
262
262
|
disabled: e.disabled,
|
|
@@ -265,21 +265,21 @@ const En = [
|
|
|
265
265
|
unCheckedChildren: e.unCheckedChildren,
|
|
266
266
|
"prefix-cls": "antd-switch"
|
|
267
267
|
}), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
|
|
268
|
-
e.title || e.subTitle ? (o(), p("div",
|
|
269
|
-
e.title ? (o(), p("span",
|
|
270
|
-
e.subTitle ? (o(), p("span",
|
|
271
|
-
])) :
|
|
268
|
+
e.title || e.subTitle ? (o(), p("div", pt, [
|
|
269
|
+
e.title ? (o(), p("span", ut, C(e.title), 1)) : v("", !0),
|
|
270
|
+
e.subTitle ? (o(), p("span", dt, C(e.subTitle), 1)) : v("", !0)
|
|
271
|
+
])) : v("", !0)
|
|
272
272
|
], 2));
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
|
-
const
|
|
275
|
+
const jn = [
|
|
276
276
|
"small",
|
|
277
277
|
"default",
|
|
278
278
|
"large"
|
|
279
|
-
],
|
|
279
|
+
], gt = ["aria-checked", "disabled"], vt = {
|
|
280
280
|
name: "MaSwitch"
|
|
281
|
-
},
|
|
282
|
-
...
|
|
281
|
+
}, On = /* @__PURE__ */ $({
|
|
282
|
+
...vt,
|
|
283
283
|
props: {
|
|
284
284
|
active: null,
|
|
285
285
|
leftIcon: null,
|
|
@@ -293,13 +293,13 @@ const Un = [
|
|
|
293
293
|
"click",
|
|
294
294
|
"change"
|
|
295
295
|
],
|
|
296
|
-
setup(a, { emit:
|
|
297
|
-
const e = a,
|
|
296
|
+
setup(a, { emit: t }) {
|
|
297
|
+
const e = a, s = c({
|
|
298
298
|
get() {
|
|
299
299
|
return e.active;
|
|
300
300
|
},
|
|
301
301
|
set(r) {
|
|
302
|
-
|
|
302
|
+
t("change", r);
|
|
303
303
|
}
|
|
304
304
|
}), l = c(() => [
|
|
305
305
|
"ma-switch",
|
|
@@ -309,44 +309,44 @@ const Un = [
|
|
|
309
309
|
"ak-switch--disabled": e.disabled
|
|
310
310
|
}
|
|
311
311
|
]), i = (r) => {
|
|
312
|
-
e.disabled || (
|
|
312
|
+
e.disabled || (s.value = r);
|
|
313
313
|
};
|
|
314
|
-
return (r, u) => (o(), p("button",
|
|
314
|
+
return (r, u) => (o(), p("button", x(r.$attrs, {
|
|
315
315
|
class: n(l),
|
|
316
316
|
type: "button",
|
|
317
317
|
role: "switch",
|
|
318
|
-
"aria-checked": n(
|
|
318
|
+
"aria-checked": n(s) === e.rightValue,
|
|
319
319
|
disabled: e.disabled
|
|
320
320
|
}), [
|
|
321
|
-
|
|
322
|
-
class:
|
|
321
|
+
y("span", {
|
|
322
|
+
class: F({ active: e.active === e.leftValue }),
|
|
323
323
|
onClick: u[0] || (u[0] = (d) => i(e.leftValue))
|
|
324
324
|
}, [
|
|
325
|
-
|
|
325
|
+
B(k, {
|
|
326
326
|
name: e.leftIcon
|
|
327
327
|
}, null, 8, ["name"])
|
|
328
328
|
], 2),
|
|
329
|
-
|
|
330
|
-
class:
|
|
329
|
+
y("span", {
|
|
330
|
+
class: F({ active: e.active === e.rightValue }),
|
|
331
331
|
onClick: u[1] || (u[1] = (d) => i(e.rightValue))
|
|
332
332
|
}, [
|
|
333
|
-
|
|
333
|
+
B(k, {
|
|
334
334
|
name: e.rightIcon
|
|
335
335
|
}, null, 8, ["name"])
|
|
336
336
|
], 2)
|
|
337
|
-
], 16,
|
|
337
|
+
], 16, gt));
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
|
-
const
|
|
340
|
+
const qn = [
|
|
341
341
|
"primary",
|
|
342
342
|
"secondary"
|
|
343
|
-
],
|
|
343
|
+
], ft = { class: "ak-tooltip-overlay__content" }, _t = { class: "ak-tooltip-overlay__content__title" }, ht = {
|
|
344
344
|
key: 0,
|
|
345
345
|
class: "ak-tooltip-overlay__content__description"
|
|
346
|
-
},
|
|
346
|
+
}, yt = {
|
|
347
347
|
name: "MaTooltip"
|
|
348
|
-
},
|
|
349
|
-
...
|
|
348
|
+
}, le = /* @__PURE__ */ $({
|
|
349
|
+
...yt,
|
|
350
350
|
props: {
|
|
351
351
|
placement: { default: "top" },
|
|
352
352
|
type: { default: "secondary" },
|
|
@@ -359,61 +359,61 @@ const jn = [
|
|
|
359
359
|
overlayClassName: null
|
|
360
360
|
},
|
|
361
361
|
setup(a) {
|
|
362
|
-
const
|
|
362
|
+
const t = a, e = c(() => [
|
|
363
363
|
"ma-tooltip",
|
|
364
364
|
"ak-tooltip",
|
|
365
|
-
`ak-tooltip--${
|
|
366
|
-
`ak-tooltip--${
|
|
367
|
-
]),
|
|
365
|
+
`ak-tooltip--${t.type}`,
|
|
366
|
+
`ak-tooltip--${t.placement}`
|
|
367
|
+
]), s = c(() => [
|
|
368
368
|
"ak-tooltip-overlay",
|
|
369
|
-
`ak-tooltip-overlay--${
|
|
370
|
-
`ak-tooltip-overlay--${
|
|
371
|
-
|
|
372
|
-
].join(" ")), l =
|
|
369
|
+
`ak-tooltip-overlay--${t.type}`,
|
|
370
|
+
`ak-tooltip-overlay--${t.placement}`,
|
|
371
|
+
t?.overlayClassName
|
|
372
|
+
].join(" ")), l = E(t.defaultVisible), i = () => {
|
|
373
373
|
l.value = !1;
|
|
374
374
|
};
|
|
375
|
-
return (r, u) => (o(),
|
|
375
|
+
return (r, u) => (o(), g(n(Re), x(r.$attrs, {
|
|
376
376
|
visible: l.value,
|
|
377
377
|
"onUpdate:visible": u[0] || (u[0] = (d) => l.value = d),
|
|
378
378
|
class: n(e),
|
|
379
|
-
placement:
|
|
380
|
-
trigger:
|
|
381
|
-
overlayClassName: n(
|
|
379
|
+
placement: t.placement,
|
|
380
|
+
trigger: t.trigger,
|
|
381
|
+
overlayClassName: n(s),
|
|
382
382
|
"prefix-cls": "antd-tooltip"
|
|
383
383
|
}), {
|
|
384
|
-
title:
|
|
385
|
-
|
|
384
|
+
title: h(() => [
|
|
385
|
+
t.icon ? (o(), g(k, {
|
|
386
386
|
key: 0,
|
|
387
387
|
size: "xs",
|
|
388
|
-
name:
|
|
389
|
-
}, null, 8, ["name"])) :
|
|
388
|
+
name: t.icon
|
|
389
|
+
}, null, 8, ["name"])) : v("", !0),
|
|
390
390
|
f(r.$slots, "icon"),
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
D(
|
|
391
|
+
y("div", ft, [
|
|
392
|
+
y("span", _t, [
|
|
393
|
+
D(C(t.title) + " ", 1),
|
|
394
394
|
f(r.$slots, "title")
|
|
395
395
|
]),
|
|
396
|
-
|
|
397
|
-
D(
|
|
396
|
+
t?.description || r.$slots.description ? (o(), p("span", ht, [
|
|
397
|
+
D(C(t.description) + " ", 1),
|
|
398
398
|
f(r.$slots, "description")
|
|
399
|
-
])) :
|
|
399
|
+
])) : v("", !0)
|
|
400
400
|
]),
|
|
401
|
-
|
|
401
|
+
t.closable ? (o(), g(k, {
|
|
402
402
|
key: 1,
|
|
403
403
|
onClick: i,
|
|
404
404
|
class: "ak-tooltip-overlay__close",
|
|
405
405
|
size: "xs",
|
|
406
406
|
name: "close"
|
|
407
|
-
})) :
|
|
407
|
+
})) : v("", !0)
|
|
408
408
|
]),
|
|
409
|
-
default:
|
|
409
|
+
default: h(() => [
|
|
410
410
|
f(r.$slots, "default")
|
|
411
411
|
]),
|
|
412
412
|
_: 3
|
|
413
413
|
}, 16, ["visible", "class", "placement", "trigger", "overlayClassName"]));
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
|
-
const
|
|
416
|
+
const Hn = [
|
|
417
417
|
"top",
|
|
418
418
|
"left",
|
|
419
419
|
"right",
|
|
@@ -426,88 +426,88 @@ const On = [
|
|
|
426
426
|
"leftBottom",
|
|
427
427
|
"rightTop",
|
|
428
428
|
"rightBottom"
|
|
429
|
-
],
|
|
429
|
+
], Wn = [
|
|
430
430
|
"primary",
|
|
431
431
|
"secondary"
|
|
432
|
-
],
|
|
432
|
+
], Kn = [
|
|
433
433
|
"hover",
|
|
434
434
|
"focus",
|
|
435
435
|
"click",
|
|
436
436
|
"contextmenu"
|
|
437
|
-
],
|
|
437
|
+
], bt = {
|
|
438
438
|
name: "MaNonHSFormsIgnore"
|
|
439
|
-
},
|
|
439
|
+
}, kt = (a, t) => {
|
|
440
440
|
const e = a.__vccOpts || a;
|
|
441
|
-
for (const [
|
|
442
|
-
e[
|
|
441
|
+
for (const [s, l] of t)
|
|
442
|
+
e[s] = l;
|
|
443
443
|
return e;
|
|
444
|
-
},
|
|
444
|
+
}, $t = /* @__PURE__ */ y("label", {
|
|
445
445
|
for: "cc-num",
|
|
446
446
|
class: "hidden"
|
|
447
|
-
}, "HubspotCollectedFormsWorkaround", -1),
|
|
447
|
+
}, "HubspotCollectedFormsWorkaround", -1), Ct = /* @__PURE__ */ y("input", {
|
|
448
448
|
id: "cc-num",
|
|
449
449
|
name: "cc-num",
|
|
450
450
|
class: "hidden",
|
|
451
451
|
required: "",
|
|
452
452
|
value: "HubspotCollectedFormsWorkaround"
|
|
453
453
|
}, null, -1);
|
|
454
|
-
function
|
|
454
|
+
function wt(a, t, e, s, l, i) {
|
|
455
455
|
return o(), p(q, null, [
|
|
456
|
-
|
|
457
|
-
|
|
456
|
+
$t,
|
|
457
|
+
Ct
|
|
458
458
|
], 64);
|
|
459
459
|
}
|
|
460
|
-
const
|
|
460
|
+
const Mt = /* @__PURE__ */ kt(bt, [["render", wt]]), Bt = {
|
|
461
461
|
name: "MaForm"
|
|
462
|
-
},
|
|
463
|
-
...
|
|
462
|
+
}, Gn = /* @__PURE__ */ $({
|
|
463
|
+
...Bt,
|
|
464
464
|
props: {
|
|
465
465
|
nonHubspotFormsIgnore: { type: Boolean, default: !0 }
|
|
466
466
|
},
|
|
467
|
-
setup(a, { expose:
|
|
468
|
-
const e = a,
|
|
469
|
-
return
|
|
470
|
-
validate: () =>
|
|
471
|
-
clearValidate: () =>
|
|
472
|
-
resetFields: () =>
|
|
473
|
-
scrollToField: () =>
|
|
474
|
-
validateFields: () =>
|
|
475
|
-
}), (m, z) => (o(),
|
|
467
|
+
setup(a, { expose: t }) {
|
|
468
|
+
const e = a, s = E();
|
|
469
|
+
return t({
|
|
470
|
+
validate: () => s.value.validate(),
|
|
471
|
+
clearValidate: () => s.value.clearValidate(),
|
|
472
|
+
resetFields: () => s.value.resetFields(),
|
|
473
|
+
scrollToField: () => s.value.scrollToField(),
|
|
474
|
+
validateFields: () => s.value.validateFields()
|
|
475
|
+
}), (m, z) => (o(), g(n(Ue), x(m.$attrs, {
|
|
476
476
|
class: "ma-form",
|
|
477
477
|
"prefix-cls": "antd-form",
|
|
478
478
|
ref_key: "form",
|
|
479
|
-
ref:
|
|
479
|
+
ref: s
|
|
480
480
|
}), {
|
|
481
|
-
default:
|
|
482
|
-
e.nonHubspotFormsIgnore ? (o(),
|
|
481
|
+
default: h(() => [
|
|
482
|
+
e.nonHubspotFormsIgnore ? (o(), g(Mt, { key: 0 })) : v("", !0),
|
|
483
483
|
f(m.$slots, "default")
|
|
484
484
|
]),
|
|
485
485
|
_: 3
|
|
486
486
|
}, 16));
|
|
487
487
|
}
|
|
488
488
|
});
|
|
489
|
-
const
|
|
489
|
+
const xt = {
|
|
490
490
|
name: "MaFormItem"
|
|
491
|
-
},
|
|
492
|
-
...
|
|
491
|
+
}, Jn = /* @__PURE__ */ $({
|
|
492
|
+
...xt,
|
|
493
493
|
setup(a) {
|
|
494
|
-
return (
|
|
494
|
+
return (t, e) => (o(), g(n(Ve), x(t.$attrs, {
|
|
495
495
|
class: "ma-form-item",
|
|
496
496
|
"prefix-cls": "antd-form"
|
|
497
497
|
}), O({ _: 2 }, [
|
|
498
|
-
U(
|
|
498
|
+
U(t.$slots, (s, l) => ({
|
|
499
499
|
name: l,
|
|
500
|
-
fn:
|
|
501
|
-
f(
|
|
500
|
+
fn: h(() => [
|
|
501
|
+
f(t.$slots, l)
|
|
502
502
|
])
|
|
503
503
|
}))
|
|
504
504
|
]), 1040));
|
|
505
505
|
}
|
|
506
|
-
}),
|
|
506
|
+
}), Zn = [
|
|
507
507
|
"horizontal",
|
|
508
508
|
"vertical",
|
|
509
509
|
"inline"
|
|
510
|
-
],
|
|
510
|
+
], Y = {
|
|
511
511
|
text: "text",
|
|
512
512
|
password: "password",
|
|
513
513
|
textarea: "textarea",
|
|
@@ -518,36 +518,36 @@ const Bs = {
|
|
|
518
518
|
amount: "amount",
|
|
519
519
|
creditCard: "creditCard",
|
|
520
520
|
userInfo: "userInfo"
|
|
521
|
-
},
|
|
521
|
+
}, zt = {
|
|
522
522
|
small: "small",
|
|
523
523
|
medium: "medium",
|
|
524
524
|
large: "large"
|
|
525
|
-
},
|
|
525
|
+
}, Yn = {
|
|
526
526
|
usd: "USD",
|
|
527
527
|
eur: "EUR",
|
|
528
528
|
gbp: "GBP",
|
|
529
529
|
jpy: "JPY"
|
|
530
|
-
},
|
|
530
|
+
}, It = {
|
|
531
531
|
USD: "$",
|
|
532
532
|
EUR: "€",
|
|
533
533
|
GBP: "£",
|
|
534
534
|
JPY: "¥"
|
|
535
|
-
},
|
|
535
|
+
}, St = [
|
|
536
536
|
{ label: "USD", value: "USD" },
|
|
537
537
|
{ label: "EUR", value: "EUR" },
|
|
538
538
|
{ label: "GBP", value: "GBP" },
|
|
539
539
|
{ label: "JPY", value: "JPY" }
|
|
540
|
-
],
|
|
540
|
+
], At = {
|
|
541
541
|
name: "MaAvatar"
|
|
542
|
-
},
|
|
543
|
-
...
|
|
542
|
+
}, Tt = /* @__PURE__ */ $({
|
|
543
|
+
...At,
|
|
544
544
|
setup(a) {
|
|
545
|
-
return (
|
|
545
|
+
return (t, e) => (o(), g(n(je), x(t.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
|
|
546
546
|
}
|
|
547
|
-
}),
|
|
547
|
+
}), Nt = { class: "dropdown-wrapper" }, Pt = { class: "mobile-header" }, Dt = /* @__PURE__ */ y("label", null, "Select", -1), Lt = {
|
|
548
548
|
name: "MaDropdownRender"
|
|
549
|
-
},
|
|
550
|
-
...
|
|
549
|
+
}, Et = /* @__PURE__ */ $({
|
|
550
|
+
...Lt,
|
|
551
551
|
props: {
|
|
552
552
|
menu: {
|
|
553
553
|
type: Object,
|
|
@@ -559,52 +559,52 @@ const Bs = {
|
|
|
559
559
|
}
|
|
560
560
|
},
|
|
561
561
|
emits: ["update:filter", "closeDropdown"],
|
|
562
|
-
setup(a, { emit:
|
|
563
|
-
const e = a,
|
|
562
|
+
setup(a, { emit: t }) {
|
|
563
|
+
const e = a, s = (r, { attrs: u }) => u.vnodes, l = c({
|
|
564
564
|
get() {
|
|
565
565
|
return e.filter;
|
|
566
566
|
},
|
|
567
567
|
set(r) {
|
|
568
|
-
|
|
568
|
+
t("update:filter", r);
|
|
569
569
|
}
|
|
570
570
|
}), i = () => {
|
|
571
|
-
|
|
571
|
+
t("closeDropdown");
|
|
572
572
|
};
|
|
573
|
-
return (r, u) => (o(), p("div",
|
|
574
|
-
|
|
575
|
-
|
|
573
|
+
return (r, u) => (o(), p("div", Nt, [
|
|
574
|
+
y("div", Pt, [
|
|
575
|
+
B(k, {
|
|
576
576
|
size: "lg",
|
|
577
577
|
name: "close-circle",
|
|
578
578
|
onClick: i
|
|
579
579
|
}),
|
|
580
|
-
|
|
581
|
-
|
|
580
|
+
Dt,
|
|
581
|
+
B(X, {
|
|
582
582
|
type: "grey-link",
|
|
583
583
|
onClick: i
|
|
584
584
|
}, {
|
|
585
|
-
default:
|
|
585
|
+
default: h(() => [
|
|
586
586
|
D("Done")
|
|
587
587
|
]),
|
|
588
588
|
_: 1
|
|
589
589
|
})
|
|
590
590
|
]),
|
|
591
|
-
|
|
591
|
+
B(Me, {
|
|
592
592
|
value: n(l),
|
|
593
593
|
"onUpdate:value": u[0] || (u[0] = (d) => K(l) ? l.value = d : null),
|
|
594
594
|
autofocus: "",
|
|
595
595
|
placeholder: "Search",
|
|
596
596
|
"prefix-icon": "search-normal"
|
|
597
597
|
}, null, 8, ["value"]),
|
|
598
|
-
|
|
598
|
+
B(s, { vnodes: a.menu }, null, 8, ["vnodes"])
|
|
599
599
|
]));
|
|
600
600
|
}
|
|
601
|
-
}),
|
|
601
|
+
}), Ft = {
|
|
602
602
|
key: 0,
|
|
603
603
|
class: "prefix-icon"
|
|
604
|
-
},
|
|
604
|
+
}, Rt = {
|
|
605
605
|
name: "MaSelect"
|
|
606
|
-
},
|
|
607
|
-
...
|
|
606
|
+
}, we = /* @__PURE__ */ $({
|
|
607
|
+
...Rt,
|
|
608
608
|
props: {
|
|
609
609
|
allowClear: { type: Boolean },
|
|
610
610
|
autoClearSearchValue: { type: Boolean, default: !0 },
|
|
@@ -634,19 +634,19 @@ const Bs = {
|
|
|
634
634
|
emits: [
|
|
635
635
|
"update:value"
|
|
636
636
|
],
|
|
637
|
-
setup(a, { emit:
|
|
638
|
-
const e = a,
|
|
637
|
+
setup(a, { emit: t }) {
|
|
638
|
+
const e = a, s = te(), l = E(e?.searchValue), i = E(e.open), r = c(() => !e?.mode && e?.showSearch), u = c({
|
|
639
639
|
get() {
|
|
640
640
|
return e.value;
|
|
641
641
|
},
|
|
642
642
|
set(R) {
|
|
643
|
-
|
|
643
|
+
t("update:value", R);
|
|
644
644
|
}
|
|
645
645
|
}), d = c(() => [
|
|
646
646
|
"ma-select",
|
|
647
647
|
`ma-select--${e.size}`,
|
|
648
648
|
{
|
|
649
|
-
"ma-select--has-prefix": e.mode ? !1 :
|
|
649
|
+
"ma-select--has-prefix": e.mode ? !1 : s?.prefixIcon || e?.prefixIcon
|
|
650
650
|
},
|
|
651
651
|
{
|
|
652
652
|
"ma-select--selected": Array.isArray(u.value) ? u.value.length : u.value
|
|
@@ -657,17 +657,17 @@ const Bs = {
|
|
|
657
657
|
]), m = c(() => [
|
|
658
658
|
e?.dropdownClassName,
|
|
659
659
|
"ma-select-dropdown",
|
|
660
|
-
!e?.mode && (
|
|
661
|
-
].join(" ")), z = c(() => e?.loading ? "loader" : e?.suffixIcon), I = c(() => Object.keys(
|
|
660
|
+
!e?.mode && (s?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
|
|
661
|
+
].join(" ")), z = c(() => e?.loading ? "loader" : e?.suffixIcon), I = c(() => Object.keys(s).filter((R) => !["option"].includes(R))), A = c(() => e?.showArrow || !e?.mode), T = () => {
|
|
662
662
|
i.value = !0;
|
|
663
663
|
}, M = (R) => {
|
|
664
664
|
i.value = R, l.value = "";
|
|
665
665
|
}, b = c(() => !r.value && e?.showSearch), S = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, V = () => {
|
|
666
666
|
i.value = !1;
|
|
667
667
|
};
|
|
668
|
-
return (R,
|
|
668
|
+
return (R, Z) => (o(), g(n(Oe), x({
|
|
669
669
|
value: n(u),
|
|
670
|
-
"onUpdate:value":
|
|
670
|
+
"onUpdate:value": Z[1] || (Z[1] = (_) => K(u) ? u.value = _ : null)
|
|
671
671
|
}, R.$attrs, {
|
|
672
672
|
class: n(d),
|
|
673
673
|
allowClear: e?.allowClear,
|
|
@@ -692,22 +692,22 @@ const Bs = {
|
|
|
692
692
|
onDropdownVisibleChange: M,
|
|
693
693
|
"prefix-cls": "antd-select"
|
|
694
694
|
}), O({
|
|
695
|
-
suffixIcon:
|
|
696
|
-
|
|
695
|
+
suffixIcon: h(() => [
|
|
696
|
+
B(k, {
|
|
697
697
|
spin: e?.loading,
|
|
698
698
|
name: n(z) || "chevron-down"
|
|
699
699
|
}, null, 8, ["spin", "name"]),
|
|
700
|
-
R.$slots?.prefixIcon || e?.prefixIcon ? (o(), p("div",
|
|
700
|
+
R.$slots?.prefixIcon || e?.prefixIcon ? (o(), p("div", Ft, [
|
|
701
701
|
f(R.$slots, "prefixIcon", {}, () => [
|
|
702
|
-
e?.prefixIcon ? (o(),
|
|
702
|
+
e?.prefixIcon ? (o(), g(k, {
|
|
703
703
|
key: 0,
|
|
704
704
|
name: e?.prefixIcon
|
|
705
|
-
}, null, 8, ["name"])) :
|
|
705
|
+
}, null, 8, ["name"])) : v("", !0)
|
|
706
706
|
])
|
|
707
|
-
])) :
|
|
707
|
+
])) : v("", !0)
|
|
708
708
|
]),
|
|
709
|
-
removeIcon:
|
|
710
|
-
|
|
709
|
+
removeIcon: h(() => [
|
|
710
|
+
B(k, {
|
|
711
711
|
name: e?.removeIcon || "close"
|
|
712
712
|
}, null, 8, ["name"])
|
|
713
713
|
]),
|
|
@@ -715,34 +715,34 @@ const Bs = {
|
|
|
715
715
|
}, [
|
|
716
716
|
U(n(I), (_) => ({
|
|
717
717
|
name: _,
|
|
718
|
-
fn:
|
|
718
|
+
fn: h(() => [
|
|
719
719
|
f(R.$slots, _)
|
|
720
720
|
])
|
|
721
721
|
})),
|
|
722
722
|
R.$slots.option ? {
|
|
723
723
|
name: "option",
|
|
724
|
-
fn:
|
|
724
|
+
fn: h(({ label: _, value: N }) => [
|
|
725
725
|
f(R.$slots, "option", {
|
|
726
726
|
label: _,
|
|
727
|
-
value:
|
|
727
|
+
value: N
|
|
728
728
|
})
|
|
729
729
|
]),
|
|
730
730
|
key: "0"
|
|
731
731
|
} : void 0,
|
|
732
732
|
e?.clearIcon ? {
|
|
733
733
|
name: "clearIcon",
|
|
734
|
-
fn:
|
|
735
|
-
e?.clearIcon ? (o(),
|
|
734
|
+
fn: h(() => [
|
|
735
|
+
e?.clearIcon ? (o(), g(k, {
|
|
736
736
|
key: 0,
|
|
737
737
|
name: e?.clearIcon
|
|
738
|
-
}, null, 8, ["name"])) :
|
|
738
|
+
}, null, 8, ["name"])) : v("", !0)
|
|
739
739
|
]),
|
|
740
740
|
key: "1"
|
|
741
741
|
} : void 0,
|
|
742
742
|
e?.menuItemSelectedIcon ? {
|
|
743
743
|
name: "menuItemSelectedIcon",
|
|
744
|
-
fn:
|
|
745
|
-
|
|
744
|
+
fn: h(() => [
|
|
745
|
+
B(k, {
|
|
746
746
|
name: e?.menuItemSelectedIcon
|
|
747
747
|
}, null, 8, ["name"])
|
|
748
748
|
]),
|
|
@@ -750,8 +750,8 @@ const Bs = {
|
|
|
750
750
|
} : void 0,
|
|
751
751
|
R.$slots.notFoundContent ? void 0 : {
|
|
752
752
|
name: "notFoundContent",
|
|
753
|
-
fn:
|
|
754
|
-
|
|
753
|
+
fn: h(() => [
|
|
754
|
+
B(k, {
|
|
755
755
|
size: "sm",
|
|
756
756
|
name: "warning"
|
|
757
757
|
}),
|
|
@@ -761,10 +761,10 @@ const Bs = {
|
|
|
761
761
|
},
|
|
762
762
|
n(r) && i.value ? {
|
|
763
763
|
name: "dropdownRender",
|
|
764
|
-
fn:
|
|
765
|
-
|
|
764
|
+
fn: h(({ menuNode: _ }) => [
|
|
765
|
+
B(Et, {
|
|
766
766
|
filter: l.value,
|
|
767
|
-
"onUpdate:filter":
|
|
767
|
+
"onUpdate:filter": Z[0] || (Z[0] = (N) => l.value = N),
|
|
768
768
|
menu: _,
|
|
769
769
|
onCloseDropdown: V
|
|
770
770
|
}, null, 8, ["filter", "menu"])
|
|
@@ -774,24 +774,24 @@ const Bs = {
|
|
|
774
774
|
]), 1040, ["value", "class", "allowClear", "autoClearSearchValue", "autofocus", "defaultOpen", "disabled", "dropdownClassName", "loading", "optionFilterProp", "optionLabelProp", "options", "placeholder", "searchValue", "showSearch", "showArrow", "mode", "list-height", "size", "open"]));
|
|
775
775
|
}
|
|
776
776
|
});
|
|
777
|
-
const
|
|
777
|
+
const Ut = ["for"], Vt = {
|
|
778
778
|
key: 1,
|
|
779
779
|
class: "ak-input__wrapper"
|
|
780
|
-
},
|
|
780
|
+
}, jt = {
|
|
781
781
|
key: 1,
|
|
782
782
|
class: "currency"
|
|
783
|
-
},
|
|
783
|
+
}, Ot = {
|
|
784
784
|
key: 3,
|
|
785
785
|
class: "ak-input__hint-text"
|
|
786
|
-
},
|
|
786
|
+
}, qt = {
|
|
787
787
|
name: "MaInput",
|
|
788
788
|
inheritAttrs: !1
|
|
789
|
-
},
|
|
790
|
-
...
|
|
789
|
+
}, Me = /* @__PURE__ */ $({
|
|
790
|
+
...qt,
|
|
791
791
|
props: {
|
|
792
792
|
allowClear: { type: Boolean },
|
|
793
|
-
type: { default:
|
|
794
|
-
size: { default:
|
|
793
|
+
type: { default: Y.text },
|
|
794
|
+
size: { default: zt.small },
|
|
795
795
|
title: null,
|
|
796
796
|
hintText: null,
|
|
797
797
|
hasError: { type: Boolean },
|
|
@@ -815,9 +815,9 @@ const Rs = ["for"], Us = {
|
|
|
815
815
|
"focus",
|
|
816
816
|
"focusout"
|
|
817
817
|
],
|
|
818
|
-
setup(a, { emit:
|
|
819
|
-
const e = a,
|
|
820
|
-
`ma-input ak-input ak-input--${e.type} ak-input--${e.size} ${
|
|
818
|
+
setup(a, { emit: t }) {
|
|
819
|
+
const e = a, s = Se(), l = E(null), i = c(() => [Y.amount, Y.creditCard].includes(e.type) ? "number" : e.type === Y.userInfo ? "text" : e.type), r = c(() => [
|
|
820
|
+
`ma-input ak-input ak-input--${e.type} ak-input--${e.size} ${s?.class}`,
|
|
821
821
|
{
|
|
822
822
|
"ak-input--has-error": e.hasError
|
|
823
823
|
},
|
|
@@ -832,31 +832,31 @@ const Rs = ["for"], Us = {
|
|
|
832
832
|
return e.value;
|
|
833
833
|
},
|
|
834
834
|
set(_) {
|
|
835
|
-
|
|
835
|
+
t("update:value", _);
|
|
836
836
|
}
|
|
837
|
-
}), m = c(() => e.amountCurrency ?
|
|
837
|
+
}), m = c(() => e.amountCurrency ? It[e.amountCurrency] : null), z = c({
|
|
838
838
|
get() {
|
|
839
839
|
return e.amountCurrency;
|
|
840
840
|
},
|
|
841
841
|
set(_) {
|
|
842
|
-
|
|
842
|
+
t("update:amountCurrency", _);
|
|
843
843
|
}
|
|
844
|
-
}), I = c(() => e.type ===
|
|
845
|
-
let _ = { ...
|
|
846
|
-
return
|
|
844
|
+
}), I = c(() => e.type === Y.password ? qe : He), A = c(() => e.type === Y.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), T = c(() => e.type === Y.url ? "https" : e?.addonBefore), M = c(() => {
|
|
845
|
+
let _ = { ...s, ...A.value };
|
|
846
|
+
return s?.class && delete _?.class, _;
|
|
847
847
|
}), b = (_) => {
|
|
848
|
-
|
|
848
|
+
t("change", _);
|
|
849
849
|
}, S = (_) => {
|
|
850
|
-
|
|
850
|
+
t("currency-change", _);
|
|
851
851
|
}, V = () => {
|
|
852
852
|
l.value.focus();
|
|
853
853
|
}, R = (_) => {
|
|
854
|
-
|
|
855
|
-
},
|
|
856
|
-
|
|
854
|
+
t("focus", _);
|
|
855
|
+
}, Z = (_) => {
|
|
856
|
+
t("focusout", _);
|
|
857
857
|
};
|
|
858
|
-
return (_,
|
|
859
|
-
class:
|
|
858
|
+
return (_, N) => (o(), p("div", {
|
|
859
|
+
class: F(n(r))
|
|
860
860
|
}, [
|
|
861
861
|
f(_.$slots, "title"),
|
|
862
862
|
e.title ? (o(), p("label", {
|
|
@@ -864,11 +864,11 @@ const Rs = ["for"], Us = {
|
|
|
864
864
|
onClick: V,
|
|
865
865
|
class: "ak-input__title",
|
|
866
866
|
for: _.$attrs?.id
|
|
867
|
-
},
|
|
868
|
-
e.type !== "textarea" ? (o(), p("div",
|
|
869
|
-
(o(),
|
|
867
|
+
}, C(e.title), 9, Ut)) : v("", !0),
|
|
868
|
+
e.type !== "textarea" ? (o(), p("div", Vt, [
|
|
869
|
+
(o(), g(ee(n(I)), x({
|
|
870
870
|
value: n(d),
|
|
871
|
-
"onUpdate:value":
|
|
871
|
+
"onUpdate:value": N[1] || (N[1] = (L) => K(d) ? d.value = L : null)
|
|
872
872
|
}, n(M), {
|
|
873
873
|
allowClear: e?.allowClear,
|
|
874
874
|
type: n(i),
|
|
@@ -879,51 +879,51 @@ const Rs = ["for"], Us = {
|
|
|
879
879
|
class: n(u),
|
|
880
880
|
onChange: b,
|
|
881
881
|
onFocus: R,
|
|
882
|
-
onFocusout:
|
|
882
|
+
onFocusout: Z,
|
|
883
883
|
ref_key: "inputRef",
|
|
884
884
|
ref: l
|
|
885
885
|
}), O({
|
|
886
|
-
prefix:
|
|
887
|
-
e.prefixIcon ? (o(),
|
|
886
|
+
prefix: h(() => [
|
|
887
|
+
e.prefixIcon ? (o(), g(k, {
|
|
888
888
|
key: 0,
|
|
889
889
|
size: "xs",
|
|
890
890
|
name: e.prefixIcon
|
|
891
|
-
}, null, 8, ["name"])) : n(m) ? (o(), p("span",
|
|
891
|
+
}, null, 8, ["name"])) : n(m) ? (o(), p("span", jt, C(n(m)), 1)) : e.type === n(Y).userInfo ? (o(), g(Tt, {
|
|
892
892
|
key: 2,
|
|
893
893
|
src: e.avatarUrl,
|
|
894
894
|
disabled: e.disabled
|
|
895
|
-
}, null, 8, ["src", "disabled"])) :
|
|
895
|
+
}, null, 8, ["src", "disabled"])) : v("", !0)
|
|
896
896
|
]),
|
|
897
|
-
suffix:
|
|
898
|
-
e.type === "amount" ? (o(),
|
|
897
|
+
suffix: h(() => [
|
|
898
|
+
e.type === "amount" ? (o(), g(we, {
|
|
899
899
|
key: 0,
|
|
900
900
|
value: n(z),
|
|
901
|
-
"onUpdate:value":
|
|
901
|
+
"onUpdate:value": N[0] || (N[0] = (L) => K(z) ? z.value = L : null),
|
|
902
902
|
onChange: S,
|
|
903
903
|
dropdownClassName: "ak-input__input__ma-select__dropdown",
|
|
904
|
-
options: n(
|
|
904
|
+
options: n(St),
|
|
905
905
|
disabled: e.disabled,
|
|
906
906
|
size: "small"
|
|
907
|
-
}, null, 8, ["value", "options", "disabled"])) :
|
|
908
|
-
e.suffixIcon ? (o(),
|
|
907
|
+
}, null, 8, ["value", "options", "disabled"])) : v("", !0),
|
|
908
|
+
e.suffixIcon ? (o(), g(k, {
|
|
909
909
|
key: 1,
|
|
910
910
|
size: "xs",
|
|
911
911
|
name: e.suffixIcon
|
|
912
|
-
}, null, 8, ["name"])) :
|
|
912
|
+
}, null, 8, ["name"])) : v("", !0)
|
|
913
913
|
]),
|
|
914
914
|
_: 2
|
|
915
915
|
}, [
|
|
916
916
|
U(_.$slots, (L, H) => ({
|
|
917
917
|
name: H,
|
|
918
|
-
fn:
|
|
918
|
+
fn: h(() => [
|
|
919
919
|
f(_.$slots, H)
|
|
920
920
|
])
|
|
921
921
|
}))
|
|
922
922
|
]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter", "class"]))
|
|
923
|
-
])) : (o(),
|
|
923
|
+
])) : (o(), g(n(We), x({
|
|
924
924
|
key: 2,
|
|
925
925
|
value: n(d),
|
|
926
|
-
"onUpdate:value":
|
|
926
|
+
"onUpdate:value": N[2] || (N[2] = (L) => K(d) ? d.value = L : null)
|
|
927
927
|
}, n(M), {
|
|
928
928
|
class: n(u),
|
|
929
929
|
disabled: e?.disabled,
|
|
@@ -934,137 +934,137 @@ const Rs = ["for"], Us = {
|
|
|
934
934
|
}), O({ _: 2 }, [
|
|
935
935
|
U(_.$slots, (L, H) => ({
|
|
936
936
|
name: H,
|
|
937
|
-
fn:
|
|
937
|
+
fn: h(() => [
|
|
938
938
|
f(_.$slots, H)
|
|
939
939
|
])
|
|
940
940
|
}))
|
|
941
941
|
]), 1040, ["value", "class", "disabled", "placeholder"])),
|
|
942
942
|
f(_.$slots, "hint"),
|
|
943
|
-
e.hintText ? (o(), p("div",
|
|
943
|
+
e.hintText ? (o(), p("div", Ot, C(e.hintText), 1)) : v("", !0)
|
|
944
944
|
], 2));
|
|
945
945
|
}
|
|
946
946
|
});
|
|
947
|
-
const
|
|
947
|
+
const Ht = {
|
|
948
948
|
name: "MaSelectOption"
|
|
949
|
-
},
|
|
950
|
-
...
|
|
949
|
+
}, Wt = /* @__PURE__ */ $({
|
|
950
|
+
...Ht,
|
|
951
951
|
setup(a) {
|
|
952
|
-
return (
|
|
952
|
+
return (t, e) => (o(), g(n(Ke), x(t.$attrs, {
|
|
953
953
|
class: "ma-select-option",
|
|
954
954
|
"prefix-cls": "antd-select"
|
|
955
955
|
}), O({ _: 2 }, [
|
|
956
|
-
U(
|
|
956
|
+
U(t.$slots, (s, l) => ({
|
|
957
957
|
name: l,
|
|
958
|
-
fn:
|
|
959
|
-
f(
|
|
958
|
+
fn: h(() => [
|
|
959
|
+
f(t.$slots, l)
|
|
960
960
|
])
|
|
961
961
|
}))
|
|
962
962
|
]), 1040));
|
|
963
963
|
}
|
|
964
|
-
}),
|
|
964
|
+
}), Xn = [
|
|
965
965
|
"default",
|
|
966
966
|
"large",
|
|
967
967
|
"small"
|
|
968
|
-
],
|
|
968
|
+
], Qn = [
|
|
969
969
|
"multiple",
|
|
970
970
|
"tags"
|
|
971
|
-
],
|
|
971
|
+
], Kt = {
|
|
972
972
|
name: "MaCheckbox"
|
|
973
|
-
},
|
|
974
|
-
...
|
|
973
|
+
}, ea = /* @__PURE__ */ $({
|
|
974
|
+
...Kt,
|
|
975
975
|
props: {
|
|
976
976
|
hint: null,
|
|
977
977
|
indeterminate: { type: Boolean, default: void 0 },
|
|
978
978
|
disabled: { type: Boolean }
|
|
979
979
|
},
|
|
980
980
|
setup(a) {
|
|
981
|
-
const
|
|
981
|
+
const t = a, e = c(() => [
|
|
982
982
|
"ma-checkbox",
|
|
983
983
|
"ak-checkbox",
|
|
984
984
|
{
|
|
985
|
-
"ak-checkbox--intermediate": typeof
|
|
985
|
+
"ak-checkbox--intermediate": typeof t?.indeterminate == "boolean"
|
|
986
986
|
}
|
|
987
987
|
]);
|
|
988
|
-
return (
|
|
988
|
+
return (s, l) => (o(), g(n(Ge), x(s.$attrs, {
|
|
989
989
|
class: n(e),
|
|
990
|
-
disabled:
|
|
991
|
-
indeterminate:
|
|
990
|
+
disabled: t?.disabled,
|
|
991
|
+
indeterminate: t?.indeterminate,
|
|
992
992
|
"prefix-cls": "antd-checkbox"
|
|
993
993
|
}), O({ _: 2 }, [
|
|
994
|
-
U(
|
|
994
|
+
U(s.$slots, (i, r) => ({
|
|
995
995
|
name: r,
|
|
996
|
-
fn:
|
|
997
|
-
f(
|
|
998
|
-
|
|
996
|
+
fn: h(() => [
|
|
997
|
+
f(s.$slots, r),
|
|
998
|
+
t.hint ? (o(), p("div", {
|
|
999
999
|
key: r,
|
|
1000
1000
|
class: "ak-checkbox__hint-text"
|
|
1001
|
-
},
|
|
1001
|
+
}, C(t.hint), 1)) : v("", !0)
|
|
1002
1002
|
])
|
|
1003
1003
|
}))
|
|
1004
1004
|
]), 1040, ["class", "disabled", "indeterminate"]));
|
|
1005
1005
|
}
|
|
1006
1006
|
});
|
|
1007
|
-
const
|
|
1007
|
+
const Gt = {
|
|
1008
1008
|
name: "MaCheckboxGroup"
|
|
1009
|
-
},
|
|
1010
|
-
...
|
|
1009
|
+
}, ta = /* @__PURE__ */ $({
|
|
1010
|
+
...Gt,
|
|
1011
1011
|
props: {
|
|
1012
1012
|
hint: null,
|
|
1013
1013
|
disabled: { type: Boolean }
|
|
1014
1014
|
},
|
|
1015
1015
|
setup(a) {
|
|
1016
|
-
const
|
|
1017
|
-
return (e,
|
|
1016
|
+
const t = a;
|
|
1017
|
+
return (e, s) => (o(), g(n(Je), x(e.$attrs, {
|
|
1018
1018
|
class: "ak-checkbox-group ma-checkbox-group",
|
|
1019
1019
|
"prefix-cls": "antd-checkbox"
|
|
1020
1020
|
}), O({ _: 2 }, [
|
|
1021
1021
|
U(e.$slots, (l, i) => ({
|
|
1022
1022
|
name: i,
|
|
1023
|
-
fn:
|
|
1023
|
+
fn: h(() => [
|
|
1024
1024
|
f(e.$slots, i),
|
|
1025
|
-
|
|
1025
|
+
t.hint ? (o(), p("div", {
|
|
1026
1026
|
key: i,
|
|
1027
1027
|
class: "ak-checkbox__hint-text"
|
|
1028
|
-
},
|
|
1028
|
+
}, C(t.hint), 1)) : v("", !0)
|
|
1029
1029
|
])
|
|
1030
1030
|
}))
|
|
1031
1031
|
]), 1040));
|
|
1032
1032
|
}
|
|
1033
|
-
}),
|
|
1033
|
+
}), Jt = ["value"], Zt = /* @__PURE__ */ $({
|
|
1034
1034
|
__name: "singleNumericInput",
|
|
1035
1035
|
props: {
|
|
1036
1036
|
value: { default: "" },
|
|
1037
1037
|
focus: { type: Boolean, default: !1 }
|
|
1038
1038
|
},
|
|
1039
1039
|
emits: ["update:value"],
|
|
1040
|
-
setup(a, { emit:
|
|
1041
|
-
const e = a,
|
|
1040
|
+
setup(a, { emit: t }) {
|
|
1041
|
+
const e = a, s = E(null);
|
|
1042
1042
|
oe(
|
|
1043
1043
|
() => e.focus,
|
|
1044
1044
|
(i) => {
|
|
1045
|
-
i &&
|
|
1045
|
+
i && s.value.focus();
|
|
1046
1046
|
}
|
|
1047
1047
|
);
|
|
1048
1048
|
const l = (i) => {
|
|
1049
|
-
|
|
1049
|
+
t("update:value", i.target.value);
|
|
1050
1050
|
};
|
|
1051
|
-
return (i, r) => (o(), p("input",
|
|
1051
|
+
return (i, r) => (o(), p("input", x(i.$attrs, {
|
|
1052
1052
|
value: e.value,
|
|
1053
1053
|
onInput: l,
|
|
1054
1054
|
ref_key: "input",
|
|
1055
|
-
ref:
|
|
1055
|
+
ref: s,
|
|
1056
1056
|
type: "number",
|
|
1057
1057
|
min: "0",
|
|
1058
1058
|
max: "9",
|
|
1059
1059
|
maxlength: "1",
|
|
1060
1060
|
pattern: "[0-9]",
|
|
1061
1061
|
inputmode: "numeric"
|
|
1062
|
-
}), null, 16,
|
|
1062
|
+
}), null, 16, Jt));
|
|
1063
1063
|
}
|
|
1064
|
-
}),
|
|
1064
|
+
}), Yt = {
|
|
1065
1065
|
name: "MaNumericInput"
|
|
1066
|
-
},
|
|
1067
|
-
...
|
|
1066
|
+
}, sa = /* @__PURE__ */ $({
|
|
1067
|
+
...Yt,
|
|
1068
1068
|
props: {
|
|
1069
1069
|
disabled: { type: Boolean },
|
|
1070
1070
|
length: { default: 6 },
|
|
@@ -1074,8 +1074,8 @@ const Ks = {
|
|
|
1074
1074
|
size: { default: "medium" }
|
|
1075
1075
|
},
|
|
1076
1076
|
emits: ["update:value"],
|
|
1077
|
-
setup(a, { emit:
|
|
1078
|
-
const e = a,
|
|
1077
|
+
setup(a, { emit: t }) {
|
|
1078
|
+
const e = a, s = E(null), l = E(Array.from({ length: e.length }, (M, b) => e.value[b] || null)), i = c(() => [
|
|
1079
1079
|
"ma-numeric-input",
|
|
1080
1080
|
`ma-numeric-input--${e.size}`,
|
|
1081
1081
|
{
|
|
@@ -1084,7 +1084,7 @@ const Ks = {
|
|
|
1084
1084
|
{
|
|
1085
1085
|
"ma-numeric-input--disabled": e?.disabled
|
|
1086
1086
|
}
|
|
1087
|
-
]), r = c(() => e?.placeholderStatus ? "0" : null), u = (M) => /^Digit[0-9]$/.test(M), d = (M) =>
|
|
1087
|
+
]), r = c(() => e?.placeholderStatus ? "0" : null), u = (M) => /^Digit[0-9]$/.test(M), d = (M) => s.value = M, m = (M, b) => {
|
|
1088
1088
|
switch (M.code) {
|
|
1089
1089
|
case "Backspace":
|
|
1090
1090
|
case "Delete":
|
|
@@ -1101,9 +1101,9 @@ const Ks = {
|
|
|
1101
1101
|
break;
|
|
1102
1102
|
}
|
|
1103
1103
|
}, z = () => {
|
|
1104
|
-
|
|
1104
|
+
s.value < e.length && s.value++;
|
|
1105
1105
|
}, I = () => {
|
|
1106
|
-
e.length >=
|
|
1106
|
+
e.length >= s.value && s.value > 0 && s.value--;
|
|
1107
1107
|
}, A = (M, b) => {
|
|
1108
1108
|
l.value[b] = M;
|
|
1109
1109
|
}, T = (M, b) => {
|
|
@@ -1115,7 +1115,7 @@ const Ks = {
|
|
|
1115
1115
|
() => l.value,
|
|
1116
1116
|
(M) => {
|
|
1117
1117
|
const b = M.join("");
|
|
1118
|
-
|
|
1118
|
+
t("update:value", b);
|
|
1119
1119
|
},
|
|
1120
1120
|
{ deep: !0 }
|
|
1121
1121
|
), oe(
|
|
@@ -1123,9 +1123,9 @@ const Ks = {
|
|
|
1123
1123
|
(M) => {
|
|
1124
1124
|
M !== l.value.join("") && M && M.match(/^\d+$/) && (l.value = M.split("").slice(0, e.length));
|
|
1125
1125
|
}
|
|
1126
|
-
), (M, b) => (o(), p("div",
|
|
1127
|
-
(o(!0), p(q, null, U(e.length, (S) => (o(),
|
|
1128
|
-
focus:
|
|
1126
|
+
), (M, b) => (o(), p("div", x({ class: n(i) }, M.$attrs), [
|
|
1127
|
+
(o(!0), p(q, null, U(e.length, (S) => (o(), g(Zt, {
|
|
1128
|
+
focus: s.value === S - 1,
|
|
1129
1129
|
key: S,
|
|
1130
1130
|
placeholder: n(r),
|
|
1131
1131
|
value: l.value[S - 1],
|
|
@@ -1138,45 +1138,45 @@ const Ks = {
|
|
|
1138
1138
|
], 16));
|
|
1139
1139
|
}
|
|
1140
1140
|
});
|
|
1141
|
-
const
|
|
1141
|
+
const oa = [
|
|
1142
1142
|
"small",
|
|
1143
1143
|
"medium",
|
|
1144
1144
|
"large"
|
|
1145
|
-
],
|
|
1145
|
+
], Xt = {
|
|
1146
1146
|
name: "MaRadio"
|
|
1147
|
-
},
|
|
1148
|
-
...
|
|
1147
|
+
}, Qt = /* @__PURE__ */ $({
|
|
1148
|
+
...Xt,
|
|
1149
1149
|
props: {
|
|
1150
1150
|
type: { default: "button" },
|
|
1151
1151
|
hint: null,
|
|
1152
1152
|
disabled: { type: Boolean }
|
|
1153
1153
|
},
|
|
1154
1154
|
setup(a) {
|
|
1155
|
-
const
|
|
1156
|
-
return (
|
|
1155
|
+
const t = a, e = c(() => [`ma-radio ma-radio--${t.type}`]);
|
|
1156
|
+
return (s, l) => (o(), g(n(Ze), x(s.$attrs, {
|
|
1157
1157
|
class: n(e),
|
|
1158
1158
|
"prefix-cls": "antd-radio"
|
|
1159
1159
|
}), O({ _: 2 }, [
|
|
1160
|
-
U(
|
|
1160
|
+
U(s.$slots, (i, r) => ({
|
|
1161
1161
|
name: r,
|
|
1162
|
-
fn:
|
|
1163
|
-
f(
|
|
1164
|
-
|
|
1162
|
+
fn: h(() => [
|
|
1163
|
+
f(s.$slots, r),
|
|
1164
|
+
t.hint ? (o(), p("div", {
|
|
1165
1165
|
key: r,
|
|
1166
1166
|
class: "ma-radio__hint-text"
|
|
1167
|
-
},
|
|
1167
|
+
}, C(t.hint), 1)) : v("", !0)
|
|
1168
1168
|
])
|
|
1169
1169
|
}))
|
|
1170
1170
|
]), 1040, ["class"]));
|
|
1171
1171
|
}
|
|
1172
1172
|
});
|
|
1173
|
-
const
|
|
1173
|
+
const es = ["aria-checked", "disabled"], ts = ["src", "alt"], ss = { class: "ma-app-track-button__text" }, os = { class: "ma-app-track-button__text__title" }, ns = {
|
|
1174
1174
|
key: 0,
|
|
1175
1175
|
class: "ma-app-track-button__text__category"
|
|
1176
|
-
},
|
|
1176
|
+
}, as = { class: "ma-app-track-button__check" }, ls = {
|
|
1177
1177
|
name: "MaAppTrackButton"
|
|
1178
|
-
},
|
|
1179
|
-
...
|
|
1178
|
+
}, na = /* @__PURE__ */ $({
|
|
1179
|
+
...ls,
|
|
1180
1180
|
props: {
|
|
1181
1181
|
checked: { type: Boolean, default: !1 },
|
|
1182
1182
|
appIcon: null,
|
|
@@ -1187,9 +1187,9 @@ const Qs = ["aria-checked", "disabled"], et = ["src", "alt"], st = { class: "ma-
|
|
|
1187
1187
|
loading: { type: Boolean, default: !1 }
|
|
1188
1188
|
},
|
|
1189
1189
|
emits: ["update:checked", "change"],
|
|
1190
|
-
setup(a, { emit:
|
|
1191
|
-
const e = a,
|
|
1192
|
-
i.preventDefault(),
|
|
1190
|
+
setup(a, { emit: t }) {
|
|
1191
|
+
const e = a, s = (i) => {
|
|
1192
|
+
i.preventDefault(), t("change", !e.checked), t("update:checked", !e.checked);
|
|
1193
1193
|
}, l = c(() => [
|
|
1194
1194
|
"ma-app-track-button",
|
|
1195
1195
|
{
|
|
@@ -1202,38 +1202,38 @@ const Qs = ["aria-checked", "disabled"], et = ["src", "alt"], st = { class: "ma-
|
|
|
1202
1202
|
"ma-app-track-button--loading": e.loading
|
|
1203
1203
|
}
|
|
1204
1204
|
]);
|
|
1205
|
-
return (i, r) => (o(), p("button",
|
|
1205
|
+
return (i, r) => (o(), p("button", x({
|
|
1206
1206
|
class: n(l),
|
|
1207
1207
|
role: "switch",
|
|
1208
1208
|
"aria-checked": e.checked,
|
|
1209
1209
|
disabled: e.disabled
|
|
1210
|
-
}, i.$attrs, { onClick:
|
|
1211
|
-
|
|
1210
|
+
}, i.$attrs, { onClick: s }), [
|
|
1211
|
+
y("img", {
|
|
1212
1212
|
src: e.appIcon,
|
|
1213
1213
|
alt: e.appName,
|
|
1214
1214
|
width: "40",
|
|
1215
1215
|
height: "40"
|
|
1216
|
-
}, null, 8,
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
e.appCategory ? (o(), p("span",
|
|
1216
|
+
}, null, 8, ts),
|
|
1217
|
+
y("span", ss, [
|
|
1218
|
+
y("span", os, C(e.appName), 1),
|
|
1219
|
+
e.appCategory ? (o(), p("span", ns, C(e?.appCategory), 1)) : v("", !0)
|
|
1220
1220
|
]),
|
|
1221
|
-
|
|
1222
|
-
|
|
1221
|
+
y("span", as, [
|
|
1222
|
+
B(ye, {
|
|
1223
1223
|
name: "fade",
|
|
1224
1224
|
mode: "out-in"
|
|
1225
1225
|
}, {
|
|
1226
|
-
default:
|
|
1227
|
-
e.loading ? (o(),
|
|
1226
|
+
default: h(() => [
|
|
1227
|
+
e.loading ? (o(), g(k, {
|
|
1228
1228
|
key: 0,
|
|
1229
1229
|
name: "loader",
|
|
1230
1230
|
size: "xs",
|
|
1231
1231
|
spin: ""
|
|
1232
|
-
})) : !e.multiple || e.checked ? (o(),
|
|
1232
|
+
})) : !e.multiple || e.checked ? (o(), g(Qt, {
|
|
1233
1233
|
key: 1,
|
|
1234
1234
|
checked: e.checked,
|
|
1235
1235
|
type: "check"
|
|
1236
|
-
}, null, 8, ["checked"])) : (o(),
|
|
1236
|
+
}, null, 8, ["checked"])) : (o(), g(k, {
|
|
1237
1237
|
key: 2,
|
|
1238
1238
|
name: "add-circle",
|
|
1239
1239
|
size: "xs"
|
|
@@ -1242,25 +1242,25 @@ const Qs = ["aria-checked", "disabled"], et = ["src", "alt"], st = { class: "ma-
|
|
|
1242
1242
|
_: 1
|
|
1243
1243
|
})
|
|
1244
1244
|
])
|
|
1245
|
-
], 16,
|
|
1245
|
+
], 16, es));
|
|
1246
1246
|
}
|
|
1247
1247
|
});
|
|
1248
|
-
const
|
|
1248
|
+
const is = { class: "ak-app-icon__logo" }, rs = ["src"], cs = {
|
|
1249
1249
|
key: 1,
|
|
1250
1250
|
class: "ak-app-icon-platform"
|
|
1251
|
-
},
|
|
1251
|
+
}, ps = {
|
|
1252
1252
|
key: 0,
|
|
1253
1253
|
class: "ak-app-icon__text"
|
|
1254
|
-
},
|
|
1254
|
+
}, us = {
|
|
1255
1255
|
key: 0,
|
|
1256
1256
|
class: "ak-app-name"
|
|
1257
|
-
},
|
|
1257
|
+
}, ds = {
|
|
1258
1258
|
key: 1,
|
|
1259
1259
|
class: "ak-app-description"
|
|
1260
|
-
},
|
|
1260
|
+
}, ms = {
|
|
1261
1261
|
name: "MaAppIcon"
|
|
1262
|
-
},
|
|
1263
|
-
...
|
|
1262
|
+
}, aa = /* @__PURE__ */ $({
|
|
1263
|
+
...ms,
|
|
1264
1264
|
props: {
|
|
1265
1265
|
appIcon: null,
|
|
1266
1266
|
appName: null,
|
|
@@ -1271,78 +1271,78 @@ const lt = { class: "ak-app-icon__logo" }, it = ["src"], rt = {
|
|
|
1271
1271
|
size: { default: "medium" }
|
|
1272
1272
|
},
|
|
1273
1273
|
emits: ["close"],
|
|
1274
|
-
setup(a, { emit:
|
|
1275
|
-
const e = a,
|
|
1274
|
+
setup(a, { emit: t }) {
|
|
1275
|
+
const e = a, s = c(() => e.platform === "ios" ? "apple-storefront" : "android-storefront"), l = c(() => [
|
|
1276
1276
|
"ma-app-icon",
|
|
1277
1277
|
"ak-app-icon",
|
|
1278
1278
|
`ak-app-icon--${e.size}`,
|
|
1279
1279
|
{ "ak-app-icon--rounded": e.rounded },
|
|
1280
1280
|
{ "ak-app-icon--only-icon": !e?.appName && !e?.appDescription }
|
|
1281
1281
|
]), i = () => {
|
|
1282
|
-
|
|
1282
|
+
t("close");
|
|
1283
1283
|
};
|
|
1284
1284
|
return (r, u) => (o(), p("div", {
|
|
1285
|
-
class:
|
|
1285
|
+
class: F(n(l))
|
|
1286
1286
|
}, [
|
|
1287
|
-
|
|
1287
|
+
y("div", is, [
|
|
1288
1288
|
e.closable ? (o(), p("span", {
|
|
1289
1289
|
key: 0,
|
|
1290
1290
|
onClick: i,
|
|
1291
1291
|
class: "ak-app-icon-closable"
|
|
1292
1292
|
}, [
|
|
1293
|
-
|
|
1293
|
+
B(k, {
|
|
1294
1294
|
size: "xs",
|
|
1295
1295
|
name: "close-circle"
|
|
1296
1296
|
})
|
|
1297
|
-
])) :
|
|
1298
|
-
|
|
1297
|
+
])) : v("", !0),
|
|
1298
|
+
y("img", {
|
|
1299
1299
|
class: "ak-app-icon-img",
|
|
1300
1300
|
src: e.appIcon
|
|
1301
|
-
}, null, 8,
|
|
1302
|
-
e?.platform ? (o(), p("span",
|
|
1303
|
-
|
|
1301
|
+
}, null, 8, rs),
|
|
1302
|
+
e?.platform ? (o(), p("span", cs, [
|
|
1303
|
+
B(k, {
|
|
1304
1304
|
size: "xs",
|
|
1305
|
-
name: n(
|
|
1305
|
+
name: n(s)
|
|
1306
1306
|
}, null, 8, ["name"])
|
|
1307
|
-
])) :
|
|
1307
|
+
])) : v("", !0)
|
|
1308
1308
|
]),
|
|
1309
|
-
e?.appName || e?.appDescription ? (o(), p("div",
|
|
1310
|
-
e?.appName ? (o(), p("span",
|
|
1311
|
-
e?.appDescription ? (o(), p("span",
|
|
1312
|
-
])) :
|
|
1309
|
+
e?.appName || e?.appDescription ? (o(), p("div", ps, [
|
|
1310
|
+
e?.appName ? (o(), p("span", us, C(e.appName), 1)) : v("", !0),
|
|
1311
|
+
e?.appDescription ? (o(), p("span", ds, C(e.appDescription), 1)) : v("", !0)
|
|
1312
|
+
])) : v("", !0)
|
|
1313
1313
|
], 2));
|
|
1314
1314
|
}
|
|
1315
1315
|
});
|
|
1316
|
-
const
|
|
1316
|
+
const la = [
|
|
1317
1317
|
"x-small",
|
|
1318
1318
|
"small",
|
|
1319
1319
|
"medium",
|
|
1320
1320
|
"large",
|
|
1321
1321
|
"x-large"
|
|
1322
|
-
],
|
|
1322
|
+
], ia = [
|
|
1323
1323
|
"play",
|
|
1324
1324
|
"ios"
|
|
1325
|
-
],
|
|
1325
|
+
], gs = {
|
|
1326
1326
|
name: "MaRadioGroup"
|
|
1327
|
-
},
|
|
1328
|
-
...
|
|
1327
|
+
}, ra = /* @__PURE__ */ $({
|
|
1328
|
+
...gs,
|
|
1329
1329
|
setup(a) {
|
|
1330
|
-
return (
|
|
1331
|
-
U(
|
|
1330
|
+
return (t, e) => (o(), g(n(Ye), x(t.$attrs, { "prefix-cls": "antd-radio" }), O({ _: 2 }, [
|
|
1331
|
+
U(t.$slots, (s, l) => ({
|
|
1332
1332
|
name: l,
|
|
1333
|
-
fn:
|
|
1334
|
-
f(
|
|
1333
|
+
fn: h(() => [
|
|
1334
|
+
f(t.$slots, l)
|
|
1335
1335
|
])
|
|
1336
1336
|
}))
|
|
1337
1337
|
]), 1040));
|
|
1338
1338
|
}
|
|
1339
|
-
}),
|
|
1339
|
+
}), ca = [
|
|
1340
1340
|
"button",
|
|
1341
1341
|
"check"
|
|
1342
|
-
],
|
|
1342
|
+
], vs = {
|
|
1343
1343
|
name: "MaBadge"
|
|
1344
|
-
},
|
|
1345
|
-
...
|
|
1344
|
+
}, fs = /* @__PURE__ */ $({
|
|
1345
|
+
...vs,
|
|
1346
1346
|
props: {
|
|
1347
1347
|
type: { default: "primary" },
|
|
1348
1348
|
variant: { default: "dark" },
|
|
@@ -1351,27 +1351,27 @@ const na = [
|
|
|
1351
1351
|
iconAlignment: { default: "left" }
|
|
1352
1352
|
},
|
|
1353
1353
|
setup(a) {
|
|
1354
|
-
const
|
|
1354
|
+
const t = a, e = c(() => [
|
|
1355
1355
|
"ma-badge",
|
|
1356
1356
|
"ak-badge",
|
|
1357
|
-
`ak-badge--${
|
|
1358
|
-
`ak-badge--${
|
|
1357
|
+
`ak-badge--${t.variant}--${t.type}`,
|
|
1358
|
+
`ak-badge--${t.size}`,
|
|
1359
1359
|
{
|
|
1360
|
-
"ak-badge--icon-right":
|
|
1360
|
+
"ak-badge--icon-right": t.iconAlignment === "right"
|
|
1361
1361
|
}
|
|
1362
1362
|
]);
|
|
1363
|
-
return (
|
|
1364
|
-
class:
|
|
1363
|
+
return (s, l) => (o(), p("div", {
|
|
1364
|
+
class: F(n(e))
|
|
1365
1365
|
}, [
|
|
1366
|
-
|
|
1366
|
+
t?.icon ? (o(), g(k, {
|
|
1367
1367
|
key: 0,
|
|
1368
|
-
name:
|
|
1369
|
-
}, null, 8, ["name"])) :
|
|
1370
|
-
f(
|
|
1368
|
+
name: t?.icon
|
|
1369
|
+
}, null, 8, ["name"])) : v("", !0),
|
|
1370
|
+
f(s.$slots, "default")
|
|
1371
1371
|
], 2));
|
|
1372
1372
|
}
|
|
1373
1373
|
});
|
|
1374
|
-
const
|
|
1374
|
+
const pa = [
|
|
1375
1375
|
"dark",
|
|
1376
1376
|
"blue",
|
|
1377
1377
|
"green",
|
|
@@ -1379,23 +1379,23 @@ const ra = [
|
|
|
1379
1379
|
"red",
|
|
1380
1380
|
"purple",
|
|
1381
1381
|
"purple-light"
|
|
1382
|
-
],
|
|
1382
|
+
], ua = [
|
|
1383
1383
|
"primary",
|
|
1384
1384
|
"secondary",
|
|
1385
1385
|
"line",
|
|
1386
1386
|
"dashed",
|
|
1387
1387
|
"icon"
|
|
1388
|
-
],
|
|
1388
|
+
], da = [
|
|
1389
1389
|
"small",
|
|
1390
1390
|
"medium",
|
|
1391
1391
|
"large"
|
|
1392
|
-
],
|
|
1392
|
+
], ma = [
|
|
1393
1393
|
"left",
|
|
1394
1394
|
"right"
|
|
1395
|
-
],
|
|
1395
|
+
], _s = {
|
|
1396
1396
|
name: "MaAlert"
|
|
1397
|
-
},
|
|
1398
|
-
...
|
|
1397
|
+
}, ga = /* @__PURE__ */ $({
|
|
1398
|
+
..._s,
|
|
1399
1399
|
props: {
|
|
1400
1400
|
variant: { default: "dark" },
|
|
1401
1401
|
type: { default: "primary" },
|
|
@@ -1405,52 +1405,52 @@ const ra = [
|
|
|
1405
1405
|
icon: null
|
|
1406
1406
|
},
|
|
1407
1407
|
setup(a) {
|
|
1408
|
-
const
|
|
1409
|
-
return (i, r) => (o(),
|
|
1410
|
-
class: n(
|
|
1408
|
+
const t = a, e = te(), s = c(() => [`ma-alert ak-alert ak-alert--${t.variant}--${t.type}`]), l = c(() => !!t?.icon || !!e?.icon);
|
|
1409
|
+
return (i, r) => (o(), g(n(Xe), x(i.$attrs, {
|
|
1410
|
+
class: n(s),
|
|
1411
1411
|
description: a.description,
|
|
1412
1412
|
message: a.message,
|
|
1413
1413
|
closable: a.closable,
|
|
1414
1414
|
showIcon: n(l),
|
|
1415
1415
|
"prefix-cls": "antd-alert"
|
|
1416
1416
|
}), {
|
|
1417
|
-
closeIcon:
|
|
1418
|
-
|
|
1417
|
+
closeIcon: h(() => [
|
|
1418
|
+
B(k, {
|
|
1419
1419
|
name: "close",
|
|
1420
1420
|
size: "xs"
|
|
1421
1421
|
})
|
|
1422
1422
|
]),
|
|
1423
|
-
icon:
|
|
1424
|
-
|
|
1423
|
+
icon: h(() => [
|
|
1424
|
+
t?.icon ? (o(), g(k, {
|
|
1425
1425
|
key: 0,
|
|
1426
1426
|
name: a.icon,
|
|
1427
1427
|
size: "lg"
|
|
1428
|
-
}, null, 8, ["name"])) :
|
|
1428
|
+
}, null, 8, ["name"])) : v("", !0),
|
|
1429
1429
|
f(i.$slots, "icon")
|
|
1430
1430
|
]),
|
|
1431
|
-
message:
|
|
1431
|
+
message: h(() => [
|
|
1432
1432
|
f(i.$slots, "message")
|
|
1433
1433
|
]),
|
|
1434
|
-
description:
|
|
1434
|
+
description: h(() => [
|
|
1435
1435
|
f(i.$slots, "description")
|
|
1436
1436
|
]),
|
|
1437
1437
|
_: 3
|
|
1438
1438
|
}, 16, ["class", "description", "message", "closable", "showIcon"]));
|
|
1439
1439
|
}
|
|
1440
1440
|
});
|
|
1441
|
-
const
|
|
1441
|
+
const va = [
|
|
1442
1442
|
"dark",
|
|
1443
1443
|
"blue",
|
|
1444
1444
|
"green",
|
|
1445
1445
|
"orange",
|
|
1446
1446
|
"red"
|
|
1447
|
-
],
|
|
1447
|
+
], fa = [
|
|
1448
1448
|
"primary",
|
|
1449
1449
|
"secondary"
|
|
1450
|
-
],
|
|
1450
|
+
], hs = {
|
|
1451
1451
|
name: "MaAnimation"
|
|
1452
|
-
},
|
|
1453
|
-
...
|
|
1452
|
+
}, ys = /* @__PURE__ */ $({
|
|
1453
|
+
...hs,
|
|
1454
1454
|
props: {
|
|
1455
1455
|
name: { default: "rocket" },
|
|
1456
1456
|
loop: { type: Boolean, default: !0 },
|
|
@@ -1460,19 +1460,19 @@ const ma = [
|
|
|
1460
1460
|
rendererSettings: null
|
|
1461
1461
|
},
|
|
1462
1462
|
emits: ["onLoaded", "onComplete", "onError"],
|
|
1463
|
-
setup(a, { expose:
|
|
1464
|
-
const
|
|
1463
|
+
setup(a, { expose: t, emit: e }) {
|
|
1464
|
+
const s = a;
|
|
1465
1465
|
let l;
|
|
1466
|
-
const i =
|
|
1467
|
-
|
|
1466
|
+
const i = E(null), r = E(null);
|
|
1467
|
+
t({
|
|
1468
1468
|
animation: r
|
|
1469
1469
|
});
|
|
1470
1470
|
const u = c(() => ({
|
|
1471
|
-
width:
|
|
1472
|
-
height:
|
|
1471
|
+
width: s.width ? `${s.width}px` : void 0,
|
|
1472
|
+
height: s.height ? `${s.height}px` : void 0
|
|
1473
1473
|
}));
|
|
1474
1474
|
oe(
|
|
1475
|
-
() =>
|
|
1475
|
+
() => s.name,
|
|
1476
1476
|
() => {
|
|
1477
1477
|
z(), m();
|
|
1478
1478
|
}
|
|
@@ -1482,13 +1482,13 @@ const ma = [
|
|
|
1482
1482
|
l = I;
|
|
1483
1483
|
}, m = async () => {
|
|
1484
1484
|
try {
|
|
1485
|
-
const { default: I } = await
|
|
1485
|
+
const { default: I } = await pe(/* @__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/${s.name}.json`);
|
|
1486
1486
|
r.value = l.loadAnimation({
|
|
1487
1487
|
container: i.value,
|
|
1488
|
-
loop:
|
|
1489
|
-
autoplay:
|
|
1488
|
+
loop: s.loop,
|
|
1489
|
+
autoplay: s.autoplay,
|
|
1490
1490
|
animationData: I,
|
|
1491
|
-
rendererSettings:
|
|
1491
|
+
rendererSettings: s?.rendererSettings
|
|
1492
1492
|
}), r.value.onComplete = () => e("onComplete"), r.value.addEventListener("DOMLoaded", function() {
|
|
1493
1493
|
e("onLoaded");
|
|
1494
1494
|
});
|
|
@@ -1500,7 +1500,7 @@ const ma = [
|
|
|
1500
1500
|
};
|
|
1501
1501
|
return ae(async () => {
|
|
1502
1502
|
await d(), m();
|
|
1503
|
-
}),
|
|
1503
|
+
}), be(() => {
|
|
1504
1504
|
z();
|
|
1505
1505
|
}), (I, A) => (o(), p("div", {
|
|
1506
1506
|
ref_key: "animationRef",
|
|
@@ -1509,14 +1509,14 @@ const ma = [
|
|
|
1509
1509
|
style: ne(n(u))
|
|
1510
1510
|
}, null, 4));
|
|
1511
1511
|
}
|
|
1512
|
-
}),
|
|
1512
|
+
}), _a = [
|
|
1513
1513
|
"rocket",
|
|
1514
1514
|
"success-confetti",
|
|
1515
1515
|
"rounded-loading",
|
|
1516
1516
|
"fly-waiting",
|
|
1517
1517
|
"no-data-found",
|
|
1518
1518
|
"sad-not-found"
|
|
1519
|
-
],
|
|
1519
|
+
], ha = [
|
|
1520
1520
|
"info",
|
|
1521
1521
|
"success",
|
|
1522
1522
|
"confirm",
|
|
@@ -1528,19 +1528,19 @@ const ma = [
|
|
|
1528
1528
|
confirm: "warning",
|
|
1529
1529
|
warning: "warning",
|
|
1530
1530
|
error: "close-circle-bold"
|
|
1531
|
-
},
|
|
1531
|
+
}, bs = {
|
|
1532
1532
|
key: 1,
|
|
1533
1533
|
class: "ak-modal__title"
|
|
1534
|
-
},
|
|
1534
|
+
}, ks = { class: "ak-modal__content" }, $s = {
|
|
1535
1535
|
key: 0,
|
|
1536
1536
|
class: "ak-modal__description"
|
|
1537
|
-
},
|
|
1537
|
+
}, Cs = {
|
|
1538
1538
|
key: 2,
|
|
1539
1539
|
class: "ak-modal__footer"
|
|
1540
|
-
},
|
|
1540
|
+
}, ws = {
|
|
1541
1541
|
name: "MaModal"
|
|
1542
|
-
}, ve = /* @__PURE__ */
|
|
1543
|
-
...
|
|
1542
|
+
}, ve = /* @__PURE__ */ $({
|
|
1543
|
+
...ws,
|
|
1544
1544
|
props: {
|
|
1545
1545
|
visible: { type: Boolean, default: !0 },
|
|
1546
1546
|
type: null,
|
|
@@ -1557,13 +1557,13 @@ const ma = [
|
|
|
1557
1557
|
width: { default: 447 }
|
|
1558
1558
|
},
|
|
1559
1559
|
emits: ["update:visible", "ok", "cancel"],
|
|
1560
|
-
setup(a, { emit:
|
|
1561
|
-
const e = a,
|
|
1560
|
+
setup(a, { emit: t }) {
|
|
1561
|
+
const e = a, s = c({
|
|
1562
1562
|
get() {
|
|
1563
1563
|
return e.visible;
|
|
1564
1564
|
},
|
|
1565
1565
|
set(A) {
|
|
1566
|
-
|
|
1566
|
+
t("update:visible", A);
|
|
1567
1567
|
}
|
|
1568
1568
|
}), l = c(
|
|
1569
1569
|
() => e.type && ge[e.type] ? ge[e.type] : null
|
|
@@ -1579,13 +1579,13 @@ const ma = [
|
|
|
1579
1579
|
"ak-modal__header-icon",
|
|
1580
1580
|
{ [`ak-modal__header-icon--${e.type}`]: !!e.type }
|
|
1581
1581
|
]), m = () => {
|
|
1582
|
-
|
|
1582
|
+
s.value = !1, t("cancel");
|
|
1583
1583
|
}, z = () => {
|
|
1584
|
-
|
|
1585
|
-
}, I =
|
|
1586
|
-
return (A, T) => (o(),
|
|
1587
|
-
visible: n(
|
|
1588
|
-
"onUpdate:visible": T[0] || (T[0] = (M) => K(
|
|
1584
|
+
t("ok");
|
|
1585
|
+
}, I = te();
|
|
1586
|
+
return (A, T) => (o(), g(n(Qe), x(A.$attrs, {
|
|
1587
|
+
visible: n(s),
|
|
1588
|
+
"onUpdate:visible": T[0] || (T[0] = (M) => K(s) ? s.value = M : null),
|
|
1589
1589
|
"prefix-cls": "antd-modal",
|
|
1590
1590
|
class: n(u),
|
|
1591
1591
|
closable: e.closable,
|
|
@@ -1596,65 +1596,65 @@ const ma = [
|
|
|
1596
1596
|
onOk: z,
|
|
1597
1597
|
onCancel: m
|
|
1598
1598
|
}), {
|
|
1599
|
-
closeIcon:
|
|
1600
|
-
|
|
1599
|
+
closeIcon: h(() => [
|
|
1600
|
+
B(k, {
|
|
1601
1601
|
name: "close-circle",
|
|
1602
1602
|
size: "sm"
|
|
1603
1603
|
})
|
|
1604
1604
|
]),
|
|
1605
|
-
default:
|
|
1605
|
+
default: h(() => [
|
|
1606
1606
|
n(l) ? (o(), p("div", {
|
|
1607
1607
|
key: 0,
|
|
1608
|
-
class:
|
|
1608
|
+
class: F(n(d))
|
|
1609
1609
|
}, [
|
|
1610
|
-
|
|
1611
|
-
], 2)) :
|
|
1612
|
-
e.title || A.$slots.title ? (o(), p("h1",
|
|
1610
|
+
B(k, { name: n(l) }, null, 8, ["name"])
|
|
1611
|
+
], 2)) : v("", !0),
|
|
1612
|
+
e.title || A.$slots.title ? (o(), p("h1", bs, [
|
|
1613
1613
|
f(A.$slots, "title"),
|
|
1614
|
-
D(" " +
|
|
1615
|
-
])) :
|
|
1616
|
-
|
|
1617
|
-
e.content ? (o(), p("div",
|
|
1614
|
+
D(" " + C(e.title), 1)
|
|
1615
|
+
])) : v("", !0),
|
|
1616
|
+
y("div", ks, [
|
|
1617
|
+
e.content ? (o(), p("div", $s, C(e.content), 1)) : v("", !0),
|
|
1618
1618
|
f(A.$slots, "content"),
|
|
1619
1619
|
f(A.$slots, "default")
|
|
1620
1620
|
]),
|
|
1621
|
-
n(r) ? (o(), p("div",
|
|
1622
|
-
e.okText ? (o(),
|
|
1621
|
+
n(r) ? (o(), p("div", Cs, [
|
|
1622
|
+
e.okText ? (o(), g(X, x({
|
|
1623
1623
|
key: 0,
|
|
1624
1624
|
onClick: z,
|
|
1625
1625
|
class: "ak-modal__ok-button",
|
|
1626
1626
|
variant: n(i),
|
|
1627
1627
|
loading: e.confirmLoading
|
|
1628
1628
|
}, e.okButtonProps), {
|
|
1629
|
-
default:
|
|
1630
|
-
D(
|
|
1629
|
+
default: h(() => [
|
|
1630
|
+
D(C(e.okText), 1)
|
|
1631
1631
|
]),
|
|
1632
1632
|
_: 1
|
|
1633
|
-
}, 16, ["variant", "loading"])) :
|
|
1634
|
-
e.cancelText ? (o(),
|
|
1633
|
+
}, 16, ["variant", "loading"])) : v("", !0),
|
|
1634
|
+
e.cancelText ? (o(), g(X, x({
|
|
1635
1635
|
key: 1,
|
|
1636
1636
|
onClick: m,
|
|
1637
1637
|
type: "grey-link"
|
|
1638
1638
|
}, e.cancelButtonProps), {
|
|
1639
|
-
default:
|
|
1640
|
-
D(
|
|
1639
|
+
default: h(() => [
|
|
1640
|
+
D(C(e.cancelText), 1)
|
|
1641
1641
|
]),
|
|
1642
1642
|
_: 1
|
|
1643
|
-
}, 16)) :
|
|
1643
|
+
}, 16)) : v("", !0),
|
|
1644
1644
|
f(A.$slots, "footer")
|
|
1645
|
-
])) :
|
|
1645
|
+
])) : v("", !0)
|
|
1646
1646
|
]),
|
|
1647
1647
|
_: 3
|
|
1648
1648
|
}, 16, ["visible", "class", "closable", "mask", "mask-closable", "width"]));
|
|
1649
1649
|
}
|
|
1650
1650
|
});
|
|
1651
|
-
const
|
|
1652
|
-
|
|
1653
|
-
ve[a] = (
|
|
1654
|
-
const e = document.createElement("div"),
|
|
1655
|
-
render: () =>
|
|
1651
|
+
const Ms = ["info", "success", "warning", "error", "confirm"];
|
|
1652
|
+
Ms.forEach((a) => {
|
|
1653
|
+
ve[a] = (t) => {
|
|
1654
|
+
const e = document.createElement("div"), s = Ae(ve, t), l = Te({
|
|
1655
|
+
render: () => s
|
|
1656
1656
|
});
|
|
1657
|
-
return l.mount(e), document.body.appendChild(e),
|
|
1657
|
+
return l.mount(e), document.body.appendChild(e), t.onCancel = () => {
|
|
1658
1658
|
l.unmount();
|
|
1659
1659
|
}, {
|
|
1660
1660
|
destroy: () => {
|
|
@@ -1663,26 +1663,26 @@ wt.forEach((a) => {
|
|
|
1663
1663
|
};
|
|
1664
1664
|
};
|
|
1665
1665
|
});
|
|
1666
|
-
const
|
|
1666
|
+
const Bs = {
|
|
1667
1667
|
name: "MaRateStar"
|
|
1668
|
-
},
|
|
1669
|
-
...
|
|
1668
|
+
}, xs = /* @__PURE__ */ $({
|
|
1669
|
+
...Bs,
|
|
1670
1670
|
props: {
|
|
1671
1671
|
value: null,
|
|
1672
1672
|
starRate: null,
|
|
1673
1673
|
iconSize: null
|
|
1674
1674
|
},
|
|
1675
1675
|
setup(a) {
|
|
1676
|
-
const
|
|
1676
|
+
const t = a, e = c(() => [
|
|
1677
1677
|
"ak-rate__item__icon",
|
|
1678
1678
|
{
|
|
1679
|
-
"ak-rate__item__icon--filled":
|
|
1679
|
+
"ak-rate__item__icon--filled": t.value + 0.5 >= t.starRate
|
|
1680
1680
|
}
|
|
1681
|
-
]),
|
|
1682
|
-
return (i, r) => (o(),
|
|
1683
|
-
default:
|
|
1684
|
-
|
|
1685
|
-
class:
|
|
1681
|
+
]), s = c(() => t.starRate - 0.5 === t.value), l = c(() => s.value ? "star-half-colored" : "star-bold");
|
|
1682
|
+
return (i, r) => (o(), g(ye, { name: "fade" }, {
|
|
1683
|
+
default: h(() => [
|
|
1684
|
+
B(k, {
|
|
1685
|
+
class: F(n(e)),
|
|
1686
1686
|
name: n(l),
|
|
1687
1687
|
size: a.iconSize
|
|
1688
1688
|
}, null, 8, ["class", "name", "size"])
|
|
@@ -1690,10 +1690,10 @@ const Mt = {
|
|
|
1690
1690
|
_: 1
|
|
1691
1691
|
}));
|
|
1692
1692
|
}
|
|
1693
|
-
}),
|
|
1693
|
+
}), zs = ["tabindex"], Is = ["onMousemove", "onMouseover"], Ss = {
|
|
1694
1694
|
name: "MaRate"
|
|
1695
|
-
},
|
|
1696
|
-
...
|
|
1695
|
+
}, ya = /* @__PURE__ */ $({
|
|
1696
|
+
...Ss,
|
|
1697
1697
|
props: {
|
|
1698
1698
|
value: null,
|
|
1699
1699
|
allowClear: { type: Boolean },
|
|
@@ -1704,8 +1704,8 @@ const Mt = {
|
|
|
1704
1704
|
tabIndex: { default: 0 }
|
|
1705
1705
|
},
|
|
1706
1706
|
emits: ["update:value", "change"],
|
|
1707
|
-
setup(a, { emit:
|
|
1708
|
-
const e = a,
|
|
1707
|
+
setup(a, { emit: t }) {
|
|
1708
|
+
const e = a, s = E(0), l = c(() => [
|
|
1709
1709
|
`ak-rate ak-rate--${e.size} ak-rate--${e.color}`,
|
|
1710
1710
|
{
|
|
1711
1711
|
"ak-rate--disabled": e?.disabled
|
|
@@ -1721,66 +1721,66 @@ const Mt = {
|
|
|
1721
1721
|
}
|
|
1722
1722
|
}), r = c(() => e?.disabled ? -1 : e.tabIndex), u = () => {
|
|
1723
1723
|
if (!e?.disabled) {
|
|
1724
|
-
if (e?.allowClear &&
|
|
1724
|
+
if (e?.allowClear && s.value === e.value) {
|
|
1725
1725
|
A(0);
|
|
1726
1726
|
return;
|
|
1727
1727
|
}
|
|
1728
|
-
A(
|
|
1728
|
+
A(s.value);
|
|
1729
1729
|
}
|
|
1730
1730
|
}, d = (T) => {
|
|
1731
|
-
e?.disabled || (
|
|
1731
|
+
e?.disabled || (s.value = T);
|
|
1732
1732
|
}, m = () => {
|
|
1733
|
-
|
|
1733
|
+
s.value = 0;
|
|
1734
1734
|
}, z = (T, M) => {
|
|
1735
|
-
!e?.allowHalf || e.disabled || (T.offsetX < T.target.clientWidth / 2 ?
|
|
1735
|
+
!e?.allowHalf || e.disabled || (T.offsetX < T.target.clientWidth / 2 ? s.value = M - 0.5 : s.value = M);
|
|
1736
1736
|
}, I = (T) => {
|
|
1737
1737
|
e?.disabled || (T.key === "ArrowRight" && e.value < 5 ? A(e.value + (e.allowHalf ? 0.5 : 1)) : T.key === "ArrowLeft" && e.value > 0 && A(e.value - (e.allowHalf ? 0.5 : 1)));
|
|
1738
1738
|
}, A = (T) => {
|
|
1739
|
-
|
|
1739
|
+
t("update:value", T), t("change", T);
|
|
1740
1740
|
};
|
|
1741
1741
|
return (T, M) => (o(), p("ul", {
|
|
1742
|
-
class:
|
|
1742
|
+
class: F(n(l)),
|
|
1743
1743
|
onMouseleave: m,
|
|
1744
1744
|
onKeydown: I,
|
|
1745
1745
|
tabindex: n(r)
|
|
1746
1746
|
}, [
|
|
1747
|
-
(o(), p(q, null, U(5, (b) =>
|
|
1747
|
+
(o(), p(q, null, U(5, (b) => y("li", {
|
|
1748
1748
|
class: "ak-rate__item",
|
|
1749
1749
|
key: b,
|
|
1750
1750
|
onMousemove: (S) => z(S, b),
|
|
1751
1751
|
onMouseover: (S) => d(b),
|
|
1752
1752
|
onClick: M[0] || (M[0] = (S) => u())
|
|
1753
1753
|
}, [
|
|
1754
|
-
|
|
1754
|
+
B(xs, {
|
|
1755
1755
|
"star-rate": b,
|
|
1756
|
-
value:
|
|
1756
|
+
value: s.value || e.value,
|
|
1757
1757
|
"icon-size": n(i)
|
|
1758
1758
|
}, null, 8, ["star-rate", "value", "icon-size"])
|
|
1759
|
-
], 40,
|
|
1760
|
-
], 42,
|
|
1759
|
+
], 40, Is)), 64))
|
|
1760
|
+
], 42, zs));
|
|
1761
1761
|
}
|
|
1762
1762
|
});
|
|
1763
|
-
const
|
|
1763
|
+
const ba = [
|
|
1764
1764
|
"small",
|
|
1765
1765
|
"medium",
|
|
1766
1766
|
"large"
|
|
1767
|
-
],
|
|
1767
|
+
], ka = [
|
|
1768
1768
|
"orange",
|
|
1769
1769
|
"green",
|
|
1770
1770
|
"red"
|
|
1771
|
-
],
|
|
1771
|
+
], As = {
|
|
1772
1772
|
key: 0,
|
|
1773
1773
|
class: "ma-spin__overlay"
|
|
1774
|
-
},
|
|
1774
|
+
}, Ts = {
|
|
1775
1775
|
key: 0,
|
|
1776
1776
|
class: "custom-indicator"
|
|
1777
|
-
},
|
|
1777
|
+
}, Ns = {
|
|
1778
1778
|
key: 2,
|
|
1779
1779
|
class: "tip"
|
|
1780
|
-
},
|
|
1780
|
+
}, Ps = {
|
|
1781
1781
|
name: "MaSpin"
|
|
1782
|
-
}, fe = /* @__PURE__ */
|
|
1783
|
-
...
|
|
1782
|
+
}, fe = /* @__PURE__ */ $({
|
|
1783
|
+
...Ps,
|
|
1784
1784
|
props: {
|
|
1785
1785
|
type: { default: "round" },
|
|
1786
1786
|
color: { default: "dark" },
|
|
@@ -1788,48 +1788,48 @@ const ha = [
|
|
|
1788
1788
|
tip: null
|
|
1789
1789
|
},
|
|
1790
1790
|
setup(a) {
|
|
1791
|
-
const
|
|
1792
|
-
`ma-spin ma-spin--${
|
|
1791
|
+
const t = a, e = te(), s = c(() => [
|
|
1792
|
+
`ma-spin ma-spin--${t.type} ma-spin--${t.color}`,
|
|
1793
1793
|
{
|
|
1794
1794
|
"ma-spin-container": e?.default
|
|
1795
1795
|
}
|
|
1796
1796
|
]), l = c(() => [
|
|
1797
1797
|
"ma-spin__icon"
|
|
1798
|
-
]), i = c(() => `spin-${
|
|
1799
|
-
return (r, u) => (o(), p("div",
|
|
1800
|
-
|
|
1801
|
-
r.$slots.indicator ? (o(), p("div",
|
|
1798
|
+
]), i = c(() => `spin-${t.type}`);
|
|
1799
|
+
return (r, u) => (o(), p("div", x({ class: n(s) }, r.$attrs), [
|
|
1800
|
+
t.spinning ? (o(), p("div", As, [
|
|
1801
|
+
r.$slots.indicator ? (o(), p("div", Ts, [
|
|
1802
1802
|
f(r.$slots, "indicator")
|
|
1803
|
-
])) :
|
|
1804
|
-
|
|
1803
|
+
])) : v("", !0),
|
|
1804
|
+
t.spinning && !r.$slots.indicator ? (o(), g(k, {
|
|
1805
1805
|
key: 1,
|
|
1806
|
-
class:
|
|
1806
|
+
class: F(n(l)),
|
|
1807
1807
|
name: n(i)
|
|
1808
|
-
}, null, 8, ["class", "name"])) :
|
|
1809
|
-
r.$slots?.tip ||
|
|
1810
|
-
D(
|
|
1808
|
+
}, null, 8, ["class", "name"])) : v("", !0),
|
|
1809
|
+
r.$slots?.tip || t?.tip ? (o(), p("div", Ns, [
|
|
1810
|
+
D(C(t?.tip) + " ", 1),
|
|
1811
1811
|
f(r.$slots, "tip")
|
|
1812
|
-
])) :
|
|
1813
|
-
])) :
|
|
1812
|
+
])) : v("", !0)
|
|
1813
|
+
])) : v("", !0),
|
|
1814
1814
|
f(r.$slots, "default")
|
|
1815
1815
|
], 16));
|
|
1816
1816
|
}
|
|
1817
1817
|
});
|
|
1818
|
-
const
|
|
1818
|
+
const $a = [
|
|
1819
1819
|
"round",
|
|
1820
1820
|
"dots",
|
|
1821
1821
|
"three-circles",
|
|
1822
1822
|
"three-dots"
|
|
1823
|
-
],
|
|
1823
|
+
], Ca = [
|
|
1824
1824
|
"dark",
|
|
1825
1825
|
"jordy",
|
|
1826
1826
|
"blue",
|
|
1827
1827
|
"orange",
|
|
1828
1828
|
"grey"
|
|
1829
|
-
],
|
|
1829
|
+
], Ds = {
|
|
1830
1830
|
name: "MaDropdown"
|
|
1831
|
-
},
|
|
1832
|
-
...
|
|
1831
|
+
}, Ls = /* @__PURE__ */ $({
|
|
1832
|
+
...Ds,
|
|
1833
1833
|
props: {
|
|
1834
1834
|
destroyPopupOnHide: { type: Boolean, default: !1 },
|
|
1835
1835
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -1839,18 +1839,18 @@ const ba = [
|
|
|
1839
1839
|
overlayClassName: null
|
|
1840
1840
|
},
|
|
1841
1841
|
emits: ["update:visible", "visibleChange"],
|
|
1842
|
-
setup(a, { emit:
|
|
1843
|
-
const e = a,
|
|
1842
|
+
setup(a, { emit: t }) {
|
|
1843
|
+
const e = a, s = c({
|
|
1844
1844
|
get() {
|
|
1845
1845
|
return typeof e.visible == "boolean" ? e.visible : void 0;
|
|
1846
1846
|
},
|
|
1847
1847
|
set(i) {
|
|
1848
|
-
|
|
1848
|
+
t("update:visible", i), t("visibleChange", i);
|
|
1849
1849
|
}
|
|
1850
1850
|
}), l = c(
|
|
1851
1851
|
() => ["ma-dropdown-overlay", e?.overlayClassName].join(" ")
|
|
1852
1852
|
);
|
|
1853
|
-
return (i, r) => (o(),
|
|
1853
|
+
return (i, r) => (o(), g(n(et), x({
|
|
1854
1854
|
"prefix-cls": "antd-dropdown",
|
|
1855
1855
|
overlayClassName: n(l),
|
|
1856
1856
|
destroyPopupOnHide: e.destroyPopupOnHide,
|
|
@@ -1858,35 +1858,35 @@ const ba = [
|
|
|
1858
1858
|
placement: e.placement,
|
|
1859
1859
|
trigger: e.trigger
|
|
1860
1860
|
}, i.$attrs, {
|
|
1861
|
-
visible: n(
|
|
1862
|
-
"onUpdate:visible": r[0] || (r[0] = (u) => K(
|
|
1861
|
+
visible: n(s),
|
|
1862
|
+
"onUpdate:visible": r[0] || (r[0] = (u) => K(s) ? s.value = u : null)
|
|
1863
1863
|
}), {
|
|
1864
|
-
overlay:
|
|
1864
|
+
overlay: h(() => [
|
|
1865
1865
|
f(i.$slots, "overlay")
|
|
1866
1866
|
]),
|
|
1867
|
-
default:
|
|
1867
|
+
default: h(() => [
|
|
1868
1868
|
f(i.$slots, "default")
|
|
1869
1869
|
]),
|
|
1870
1870
|
_: 3
|
|
1871
1871
|
}, 16, ["overlayClassName", "destroyPopupOnHide", "disabled", "placement", "trigger", "visible"]));
|
|
1872
1872
|
}
|
|
1873
1873
|
});
|
|
1874
|
-
const
|
|
1874
|
+
const wa = [
|
|
1875
1875
|
"bottomLeft",
|
|
1876
1876
|
"bottom",
|
|
1877
1877
|
"bottomRight",
|
|
1878
1878
|
"topLeft",
|
|
1879
1879
|
"top",
|
|
1880
1880
|
"topRight"
|
|
1881
|
-
],
|
|
1881
|
+
], Ma = [
|
|
1882
1882
|
"click",
|
|
1883
1883
|
"hover",
|
|
1884
1884
|
"contextmenu"
|
|
1885
|
-
],
|
|
1885
|
+
], Ba = [
|
|
1886
1886
|
"small",
|
|
1887
1887
|
"medium",
|
|
1888
1888
|
"large"
|
|
1889
|
-
],
|
|
1889
|
+
], xa = [
|
|
1890
1890
|
"general",
|
|
1891
1891
|
"add-app",
|
|
1892
1892
|
"table",
|
|
@@ -1896,10 +1896,10 @@ const $a = [
|
|
|
1896
1896
|
"add-app": "add-app",
|
|
1897
1897
|
table: "empty-table",
|
|
1898
1898
|
selection: "selection"
|
|
1899
|
-
},
|
|
1899
|
+
}, Es = { class: "ma-empty__title" }, Fs = { class: "ma-empty__description" }, Rs = { class: "ma-empty__content" }, Us = {
|
|
1900
1900
|
name: "MaEmpty"
|
|
1901
|
-
},
|
|
1902
|
-
...
|
|
1901
|
+
}, za = /* @__PURE__ */ $({
|
|
1902
|
+
...Us,
|
|
1903
1903
|
props: {
|
|
1904
1904
|
size: { default: "large" },
|
|
1905
1905
|
variant: { default: "general" },
|
|
@@ -1909,41 +1909,41 @@ const $a = [
|
|
|
1909
1909
|
description: null
|
|
1910
1910
|
},
|
|
1911
1911
|
setup(a) {
|
|
1912
|
-
const
|
|
1913
|
-
() =>
|
|
1914
|
-
),
|
|
1915
|
-
`ma-empty ma-empty--${
|
|
1912
|
+
const t = a, e = c(
|
|
1913
|
+
() => t.variant && _e[t.variant] ? _e[t.variant] : null
|
|
1914
|
+
), s = c(() => [
|
|
1915
|
+
`ma-empty ma-empty--${t.variant} ma-empty--${t.size}`
|
|
1916
1916
|
]);
|
|
1917
1917
|
return (l, i) => (o(), p("div", {
|
|
1918
|
-
class:
|
|
1918
|
+
class: F(n(s))
|
|
1919
1919
|
}, [
|
|
1920
|
-
|
|
1920
|
+
t?.animation ? (o(), g(ys, x({
|
|
1921
1921
|
key: 0,
|
|
1922
1922
|
name: a.animation
|
|
1923
|
-
}, a.animationProps), null, 16, ["name"])) : l.$slots.icon ? f(l.$slots, "icon", { key: 1 }) : (o(),
|
|
1923
|
+
}, a.animationProps), null, 16, ["name"])) : l.$slots.icon ? f(l.$slots, "icon", { key: 1 }) : (o(), g(k, {
|
|
1924
1924
|
key: 2,
|
|
1925
1925
|
name: n(e),
|
|
1926
1926
|
class: "ma-empty__icon"
|
|
1927
1927
|
}, null, 8, ["name"])),
|
|
1928
|
-
|
|
1929
|
-
D(
|
|
1928
|
+
y("span", Es, [
|
|
1929
|
+
D(C(a.title) + " ", 1),
|
|
1930
1930
|
f(l.$slots, "title")
|
|
1931
1931
|
]),
|
|
1932
|
-
|
|
1933
|
-
D(
|
|
1932
|
+
y("span", Fs, [
|
|
1933
|
+
D(C(a.description) + " ", 1),
|
|
1934
1934
|
f(l.$slots, "description")
|
|
1935
1935
|
]),
|
|
1936
|
-
|
|
1936
|
+
y("div", Rs, [
|
|
1937
1937
|
f(l.$slots, "default")
|
|
1938
1938
|
])
|
|
1939
1939
|
], 2));
|
|
1940
1940
|
}
|
|
1941
1941
|
});
|
|
1942
|
-
const
|
|
1942
|
+
const Ia = [
|
|
1943
1943
|
"button",
|
|
1944
1944
|
"box",
|
|
1945
1945
|
"small-box"
|
|
1946
|
-
],
|
|
1946
|
+
], Vs = [
|
|
1947
1947
|
"xs",
|
|
1948
1948
|
"sm",
|
|
1949
1949
|
"md",
|
|
@@ -1951,26 +1951,26 @@ const xa = [
|
|
|
1951
1951
|
"xl"
|
|
1952
1952
|
];
|
|
1953
1953
|
var W = /* @__PURE__ */ ((a) => (a.error = "error", a.done = "done", a.uploading = "uploading", a))(W || {});
|
|
1954
|
-
const
|
|
1954
|
+
const ce = (a) => {
|
|
1955
1955
|
try {
|
|
1956
1956
|
return JSON.parse(a);
|
|
1957
1957
|
} catch {
|
|
1958
1958
|
return a;
|
|
1959
1959
|
}
|
|
1960
|
-
},
|
|
1961
|
-
let
|
|
1960
|
+
}, js = (a = 20) => {
|
|
1961
|
+
let t = "";
|
|
1962
1962
|
for (let e = 0; e < a; e++)
|
|
1963
|
-
|
|
1964
|
-
return
|
|
1965
|
-
},
|
|
1966
|
-
const l =
|
|
1963
|
+
t += Math.random().toString(36).substr(2);
|
|
1964
|
+
return t.substr(0, a);
|
|
1965
|
+
}, Os = (a, t = {}, e = {}, s) => {
|
|
1966
|
+
const l = E(0);
|
|
1967
1967
|
return { progress: l, upload: async (r, u) => {
|
|
1968
1968
|
const d = new FormData();
|
|
1969
|
-
d.append(
|
|
1969
|
+
d.append(s, r.file), Object.entries(e).forEach(([z, I]) => {
|
|
1970
1970
|
d.append(z, I);
|
|
1971
1971
|
});
|
|
1972
1972
|
const m = new XMLHttpRequest();
|
|
1973
|
-
m.open("POST", a), Object.entries(
|
|
1973
|
+
m.open("POST", a), Object.entries(t).forEach(([z, I]) => {
|
|
1974
1974
|
m.setRequestHeader(z, I);
|
|
1975
1975
|
}), m.upload.onprogress = (z) => {
|
|
1976
1976
|
z.lengthComputable && (l.value = z.loaded / z.total * 100, u(W.uploading, l.value));
|
|
@@ -1978,42 +1978,42 @@ const re = (a) => {
|
|
|
1978
1978
|
m.status >= 200 && m.status < 300 ? u(
|
|
1979
1979
|
W.done,
|
|
1980
1980
|
l.value,
|
|
1981
|
-
|
|
1981
|
+
ce(m.responseText)
|
|
1982
1982
|
) : u(
|
|
1983
1983
|
W.error,
|
|
1984
1984
|
l.value,
|
|
1985
|
-
|
|
1985
|
+
ce(m.responseText)
|
|
1986
1986
|
);
|
|
1987
1987
|
}, m.onerror = () => {
|
|
1988
1988
|
u(
|
|
1989
1989
|
W.error,
|
|
1990
1990
|
l.value,
|
|
1991
|
-
|
|
1991
|
+
ce(m.responseText)
|
|
1992
1992
|
);
|
|
1993
1993
|
}, m.send(d), r.cancelRequest = () => m.abort();
|
|
1994
1994
|
} };
|
|
1995
|
-
},
|
|
1996
|
-
if (!
|
|
1995
|
+
}, qs = (a, t) => {
|
|
1996
|
+
if (!t)
|
|
1997
1997
|
return !0;
|
|
1998
|
-
const e =
|
|
1998
|
+
const e = t.split(",").map((i) => i.trim()), s = a.type, l = a.name.split(".").pop()?.toLowerCase();
|
|
1999
1999
|
for (const i of e)
|
|
2000
2000
|
if (i.includes("*")) {
|
|
2001
2001
|
const [r] = i.split("/");
|
|
2002
|
-
if (
|
|
2002
|
+
if (s.startsWith(r))
|
|
2003
2003
|
return !0;
|
|
2004
2004
|
} else if (i.startsWith(".")) {
|
|
2005
2005
|
if (i.slice(1) === l)
|
|
2006
2006
|
return !0;
|
|
2007
2007
|
} else {
|
|
2008
|
-
const [r, u] = i.split("/"), [d, m] =
|
|
2008
|
+
const [r, u] = i.split("/"), [d, m] = s.split("/");
|
|
2009
2009
|
if (r === d && u === m)
|
|
2010
2010
|
return !0;
|
|
2011
2011
|
}
|
|
2012
2012
|
return !1;
|
|
2013
|
-
},
|
|
2013
|
+
}, Hs = { class: "single-file" }, Ws = { class: "icon-wrapper" }, Ks = { class: "single-file__detail" }, Gs = { class: "file-name" }, Js = {
|
|
2014
2014
|
key: 0,
|
|
2015
2015
|
class: "file-size"
|
|
2016
|
-
},
|
|
2016
|
+
}, Zs = { class: "file-progress" }, Ys = { class: "single-file__actions" }, Xs = /* @__PURE__ */ $({
|
|
2017
2017
|
__name: "singleFile",
|
|
2018
2018
|
props: {
|
|
2019
2019
|
file: null,
|
|
@@ -2021,26 +2021,26 @@ const re = (a) => {
|
|
|
2021
2021
|
disabled: { type: Boolean }
|
|
2022
2022
|
},
|
|
2023
2023
|
emits: ["remove", "cancel"],
|
|
2024
|
-
setup(a, { emit:
|
|
2025
|
-
const e = a,
|
|
2024
|
+
setup(a, { emit: t }) {
|
|
2025
|
+
const e = a, s = c(
|
|
2026
2026
|
() => `${(e.file.file.size / (1024 * 1024)).toFixed(1)} MB`
|
|
2027
|
-
), l = c(() => typeof e.file.file.size == "number"), i = () =>
|
|
2028
|
-
return (u, d) => (o(), p("div",
|
|
2029
|
-
|
|
2030
|
-
|
|
2027
|
+
), l = c(() => typeof e.file.file.size == "number"), i = () => t("remove"), r = () => t("cancel");
|
|
2028
|
+
return (u, d) => (o(), p("div", Hs, [
|
|
2029
|
+
y("div", Ws, [
|
|
2030
|
+
B(k, { name: "document-bulk" })
|
|
2031
2031
|
]),
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
n(l) ? (o(), p("span",
|
|
2035
|
-
|
|
2036
|
-
|
|
2032
|
+
y("div", Ks, [
|
|
2033
|
+
y("span", Gs, C(a.file.file.name), 1),
|
|
2034
|
+
n(l) ? (o(), p("span", Js, C(n(s)), 1)) : v("", !0),
|
|
2035
|
+
y("span", Zs, [
|
|
2036
|
+
y("span", {
|
|
2037
2037
|
class: "progress-item",
|
|
2038
2038
|
style: ne({ width: `${a.file.progress}%` })
|
|
2039
2039
|
}, null, 4)
|
|
2040
2040
|
])
|
|
2041
2041
|
]),
|
|
2042
|
-
|
|
2043
|
-
a.file.status === n(W).uploading ? (o(),
|
|
2042
|
+
y("div", Ys, [
|
|
2043
|
+
a.file.status === n(W).uploading ? (o(), g(X, {
|
|
2044
2044
|
key: 0,
|
|
2045
2045
|
disabled: a.disabled,
|
|
2046
2046
|
onClick: d[0] || (d[0] = (m) => r()),
|
|
@@ -2048,7 +2048,7 @@ const re = (a) => {
|
|
|
2048
2048
|
type: "primary",
|
|
2049
2049
|
variant: "plain",
|
|
2050
2050
|
icon: "close-circle-bulk"
|
|
2051
|
-
}, null, 8, ["disabled"])) : (o(),
|
|
2051
|
+
}, null, 8, ["disabled"])) : (o(), g(X, {
|
|
2052
2052
|
key: 1,
|
|
2053
2053
|
disabled: a.disabled,
|
|
2054
2054
|
onClick: d[1] || (d[1] = (m) => i()),
|
|
@@ -2057,20 +2057,20 @@ const re = (a) => {
|
|
|
2057
2057
|
variant: "plain",
|
|
2058
2058
|
icon: "trash-bulk"
|
|
2059
2059
|
}, null, 8, ["disabled"])),
|
|
2060
|
-
|
|
2060
|
+
y("span", null, "%" + C(parseInt(a.file.progress.toString())), 1)
|
|
2061
2061
|
])
|
|
2062
2062
|
]));
|
|
2063
2063
|
}
|
|
2064
|
-
}),
|
|
2064
|
+
}), Qs = ["onDrop"], eo = ["accept", "multiple", "disabled"], to = { class: "text" }, so = /* @__PURE__ */ y("span", null, "Uploading file...", -1), oo = { class: "upload-icon" }, no = {
|
|
2065
2065
|
key: 0,
|
|
2066
2066
|
class: "upload-title"
|
|
2067
|
-
},
|
|
2067
|
+
}, ao = {
|
|
2068
2068
|
key: 1,
|
|
2069
2069
|
class: "upload-description"
|
|
2070
|
-
},
|
|
2070
|
+
}, lo = {
|
|
2071
2071
|
name: "MaUpload"
|
|
2072
|
-
},
|
|
2073
|
-
...
|
|
2072
|
+
}, Sa = /* @__PURE__ */ $({
|
|
2073
|
+
...lo,
|
|
2074
2074
|
props: {
|
|
2075
2075
|
fileList: null,
|
|
2076
2076
|
type: { default: "box" },
|
|
@@ -2092,33 +2092,33 @@ const re = (a) => {
|
|
|
2092
2092
|
wait: { type: Boolean, default: !1 }
|
|
2093
2093
|
},
|
|
2094
2094
|
emits: ["update:fileList", "change", "remove", "error"],
|
|
2095
|
-
setup(a, { emit:
|
|
2096
|
-
const e = a,
|
|
2095
|
+
setup(a, { emit: t }) {
|
|
2096
|
+
const e = a, s = E(null), l = E(null), i = E(!1), r = ["dragenter", "dragover", "dragleave", "drop"], u = ["dragenter", "dragover"], d = ["dragleave", "drop"], m = c({
|
|
2097
2097
|
get() {
|
|
2098
2098
|
return e.fileList;
|
|
2099
2099
|
},
|
|
2100
2100
|
set(w) {
|
|
2101
|
-
|
|
2101
|
+
t("update:fileList", w), t("change", w), e?.action && w.forEach(async (P, j) => {
|
|
2102
2102
|
if ([W.done, W.error].includes(
|
|
2103
|
-
|
|
2103
|
+
P.status
|
|
2104
2104
|
))
|
|
2105
2105
|
return;
|
|
2106
|
-
const { upload: Q } =
|
|
2106
|
+
const { upload: Q } = Os(
|
|
2107
2107
|
e?.action || "",
|
|
2108
2108
|
// || added for tsc warning
|
|
2109
2109
|
e.headers,
|
|
2110
2110
|
e.data,
|
|
2111
2111
|
e.name
|
|
2112
2112
|
);
|
|
2113
|
-
e?.beforeUpload && (
|
|
2113
|
+
e?.beforeUpload && (P.file = await e.beforeUpload(P.file)), Q(P, (se, xe, me) => {
|
|
2114
2114
|
if (m.value[j]) {
|
|
2115
|
-
if (
|
|
2116
|
-
|
|
2117
|
-
m.value.findIndex((
|
|
2115
|
+
if (se === W.error) {
|
|
2116
|
+
t("error", { file: P.file, message: me }), re(
|
|
2117
|
+
m.value.findIndex((ze) => ze.id === P.id)
|
|
2118
2118
|
);
|
|
2119
2119
|
return;
|
|
2120
2120
|
}
|
|
2121
|
-
m.value[j].progress =
|
|
2121
|
+
m.value[j].progress = xe, m.value[j].status = se, m.value[j].response = me || null, t("change", m.value[j]);
|
|
2122
2122
|
}
|
|
2123
2123
|
});
|
|
2124
2124
|
});
|
|
@@ -2143,85 +2143,85 @@ const re = (a) => {
|
|
|
2143
2143
|
"only-file-list": !I.value
|
|
2144
2144
|
}
|
|
2145
2145
|
]), b = c(() => {
|
|
2146
|
-
const w = e?.size ?
|
|
2147
|
-
return
|
|
2146
|
+
const w = e?.size ? Vs.indexOf(e.size) : 0;
|
|
2147
|
+
return it[w];
|
|
2148
2148
|
}), S = c(
|
|
2149
2149
|
() => e.wait || m.value.some((w) => w.status === W.uploading)
|
|
2150
2150
|
), V = c(() => e?.disabled || S.value), R = (w) => Array.from(w).find(
|
|
2151
|
-
(
|
|
2152
|
-
),
|
|
2153
|
-
const
|
|
2154
|
-
|
|
2151
|
+
(P) => e?.maxFileSize && P.size > e.maxFileSize
|
|
2152
|
+
), Z = (w) => {
|
|
2153
|
+
const P = w.target;
|
|
2154
|
+
P.files && ue(Array.from(P.files));
|
|
2155
2155
|
}, _ = () => {
|
|
2156
2156
|
l.value?.click();
|
|
2157
|
-
},
|
|
2157
|
+
}, N = (w) => {
|
|
2158
2158
|
w.preventDefault();
|
|
2159
2159
|
}, L = () => {
|
|
2160
2160
|
i.value = !0;
|
|
2161
2161
|
}, H = () => {
|
|
2162
2162
|
i.value = !1;
|
|
2163
|
-
},
|
|
2163
|
+
}, ie = (w) => {
|
|
2164
2164
|
V.value || w.dataTransfer?.files && ue(
|
|
2165
|
-
Array.from(w.dataTransfer.files).filter((
|
|
2165
|
+
Array.from(w.dataTransfer.files).filter((P) => e?.accept && !qs(P, e.accept) ? (t("error", { file: P, message: "file type does not match!" }), !1) : !0)
|
|
2166
2166
|
);
|
|
2167
2167
|
}, ue = (w) => {
|
|
2168
|
-
const
|
|
2169
|
-
if (
|
|
2170
|
-
|
|
2168
|
+
const P = R(w);
|
|
2169
|
+
if (P) {
|
|
2170
|
+
t("error", { file: P, message: "File too large" });
|
|
2171
2171
|
return;
|
|
2172
2172
|
}
|
|
2173
2173
|
const j = Array.from(w).filter(
|
|
2174
|
-
(Q,
|
|
2174
|
+
(Q, se) => e?.maxCount ? se + 1 <= e.maxCount : !0
|
|
2175
2175
|
).map((Q) => ({
|
|
2176
2176
|
file: Q,
|
|
2177
|
-
id:
|
|
2177
|
+
id: js(),
|
|
2178
2178
|
status: e?.action ? W.uploading : W.done,
|
|
2179
2179
|
progress: e?.action ? 0 : 100,
|
|
2180
2180
|
response: null
|
|
2181
2181
|
}));
|
|
2182
2182
|
e.multiple ? m.value = [...m.value, ...j] : j.length && (m.value = [j[0]]);
|
|
2183
|
-
},
|
|
2184
|
-
|
|
2183
|
+
}, re = (w) => {
|
|
2184
|
+
t("remove", m.value[w]), m.value = m.value.filter((P, j) => j !== w);
|
|
2185
2185
|
}, de = (w) => {
|
|
2186
|
-
const
|
|
2187
|
-
typeof
|
|
2188
|
-
},
|
|
2189
|
-
w.stopPropagation(), m.value.forEach((
|
|
2186
|
+
const P = m.value[w];
|
|
2187
|
+
typeof P?.cancelRequest == "function" && P.cancelRequest(), re(w);
|
|
2188
|
+
}, Be = (w) => {
|
|
2189
|
+
w.stopPropagation(), m.value.forEach((P, j) => de(j)), m.value = [];
|
|
2190
2190
|
};
|
|
2191
2191
|
return ae(() => {
|
|
2192
2192
|
r.forEach((w) => {
|
|
2193
|
-
|
|
2193
|
+
s.value?.addEventListener(w, N);
|
|
2194
2194
|
}), u.forEach((w) => {
|
|
2195
|
-
|
|
2195
|
+
s.value?.addEventListener(w, L);
|
|
2196
2196
|
}), d.forEach((w) => {
|
|
2197
|
-
|
|
2197
|
+
s.value?.addEventListener(w, H);
|
|
2198
2198
|
});
|
|
2199
|
-
}),
|
|
2199
|
+
}), ke(() => {
|
|
2200
2200
|
r.forEach((w) => {
|
|
2201
|
-
|
|
2201
|
+
s.value?.removeEventListener(w, N);
|
|
2202
2202
|
}), u.forEach((w) => {
|
|
2203
|
-
|
|
2203
|
+
s.value?.removeEventListener(w, L);
|
|
2204
2204
|
}), d.forEach((w) => {
|
|
2205
|
-
|
|
2205
|
+
s.value?.removeEventListener(w, H);
|
|
2206
2206
|
});
|
|
2207
|
-
}), (w,
|
|
2208
|
-
|
|
2207
|
+
}), (w, P) => (o(), p("div", x({ class: "ma-upload-wrapper" }, w.$attrs), [
|
|
2208
|
+
G(y("div", {
|
|
2209
2209
|
ref_key: "uploadArea",
|
|
2210
|
-
ref:
|
|
2211
|
-
class:
|
|
2212
|
-
onDrop:
|
|
2210
|
+
ref: s,
|
|
2211
|
+
class: F(n(T)),
|
|
2212
|
+
onDrop: $e(ie, ["prevent"])
|
|
2213
2213
|
}, [
|
|
2214
2214
|
(o(), p("input", {
|
|
2215
2215
|
type: "file",
|
|
2216
2216
|
accept: a.accept,
|
|
2217
2217
|
multiple: e.multiple,
|
|
2218
2218
|
disabled: n(V),
|
|
2219
|
-
onChange:
|
|
2219
|
+
onChange: Z,
|
|
2220
2220
|
key: n(m).length,
|
|
2221
2221
|
ref_key: "fileInput",
|
|
2222
2222
|
ref: l
|
|
2223
|
-
}, null, 40,
|
|
2224
|
-
e.type === "button" ? (o(),
|
|
2223
|
+
}, null, 40, eo)),
|
|
2224
|
+
e.type === "button" ? (o(), g(X, {
|
|
2225
2225
|
key: 0,
|
|
2226
2226
|
type: a.fileList.length ? "primary" : "secondary",
|
|
2227
2227
|
variant: "dark",
|
|
@@ -2231,8 +2231,8 @@ const re = (a) => {
|
|
|
2231
2231
|
disabled: n(V),
|
|
2232
2232
|
loading: n(S)
|
|
2233
2233
|
}, {
|
|
2234
|
-
default:
|
|
2235
|
-
D(
|
|
2234
|
+
default: h(() => [
|
|
2235
|
+
D(C(a.fileList.length ? n(z) : e?.title), 1)
|
|
2236
2236
|
]),
|
|
2237
2237
|
_: 1
|
|
2238
2238
|
}, 8, ["type", "size", "disabled", "loading"])) : e.type === "small-box" ? (o(), p("div", {
|
|
@@ -2240,19 +2240,19 @@ const re = (a) => {
|
|
|
2240
2240
|
class: "ma-upload__small_box",
|
|
2241
2241
|
onClick: _
|
|
2242
2242
|
}, [
|
|
2243
|
-
n(S) ? (o(),
|
|
2243
|
+
n(S) ? (o(), g(fe, {
|
|
2244
2244
|
key: 0,
|
|
2245
2245
|
type: "three-circles",
|
|
2246
2246
|
color: "blue"
|
|
2247
|
-
})) : (o(),
|
|
2247
|
+
})) : (o(), g(k, {
|
|
2248
2248
|
key: 1,
|
|
2249
2249
|
name: "export-2-bulk"
|
|
2250
2250
|
})),
|
|
2251
|
-
|
|
2251
|
+
y("span", to, [
|
|
2252
2252
|
n(S) ? (o(), p(q, { key: 0 }, [
|
|
2253
2253
|
D(" Uploading... ")
|
|
2254
2254
|
], 64)) : (o(), p(q, { key: 1 }, [
|
|
2255
|
-
D(
|
|
2255
|
+
D(C(e?.title) + " ", 1),
|
|
2256
2256
|
f(w.$slots, "small-box-title")
|
|
2257
2257
|
], 64))
|
|
2258
2258
|
])
|
|
@@ -2262,58 +2262,58 @@ const re = (a) => {
|
|
|
2262
2262
|
onClick: _
|
|
2263
2263
|
}, [
|
|
2264
2264
|
e.ordered && n(S) ? (o(), p(q, { key: 0 }, [
|
|
2265
|
-
|
|
2265
|
+
B(fe, {
|
|
2266
2266
|
type: "three-circles",
|
|
2267
2267
|
color: "blue"
|
|
2268
2268
|
}),
|
|
2269
2269
|
so,
|
|
2270
|
-
|
|
2271
|
-
onClick:
|
|
2270
|
+
B(X, {
|
|
2271
|
+
onClick: Be,
|
|
2272
2272
|
class: "box-cancel",
|
|
2273
2273
|
type: "secondary",
|
|
2274
2274
|
size: "small"
|
|
2275
2275
|
}, {
|
|
2276
|
-
default:
|
|
2276
|
+
default: h(() => [
|
|
2277
2277
|
D(" Cancel ")
|
|
2278
2278
|
]),
|
|
2279
2279
|
_: 1
|
|
2280
2280
|
})
|
|
2281
2281
|
], 64)) : (o(), p(q, { key: 1 }, [
|
|
2282
|
-
|
|
2283
|
-
|
|
2282
|
+
y("div", oo, [
|
|
2283
|
+
B(k, { name: "upload-bulk" })
|
|
2284
2284
|
]),
|
|
2285
|
-
e?.title ? (o(), p("span",
|
|
2286
|
-
D(
|
|
2285
|
+
e?.title ? (o(), p("span", no, [
|
|
2286
|
+
D(C(e?.title) + " ", 1),
|
|
2287
2287
|
f(w.$slots, "box-title")
|
|
2288
|
-
])) :
|
|
2289
|
-
e?.description ? (o(), p("span",
|
|
2290
|
-
D(
|
|
2288
|
+
])) : v("", !0),
|
|
2289
|
+
e?.description ? (o(), p("span", ao, [
|
|
2290
|
+
D(C(e?.description) + " ", 1),
|
|
2291
2291
|
f(w.$slots, "box-description")
|
|
2292
|
-
])) :
|
|
2292
|
+
])) : v("", !0)
|
|
2293
2293
|
], 64))
|
|
2294
2294
|
]))
|
|
2295
|
-
], 42,
|
|
2296
|
-
[
|
|
2295
|
+
], 42, Qs), [
|
|
2296
|
+
[J, n(I)]
|
|
2297
2297
|
]),
|
|
2298
2298
|
n(A) ? (o(), p("div", {
|
|
2299
2299
|
key: 0,
|
|
2300
|
-
class:
|
|
2300
|
+
class: F(n(M))
|
|
2301
2301
|
}, [
|
|
2302
|
-
(o(!0), p(q, null, U(n(m), (j, Q) => (o(),
|
|
2303
|
-
onRemove: (
|
|
2304
|
-
onCancel: (
|
|
2302
|
+
(o(!0), p(q, null, U(n(m), (j, Q) => (o(), g(Xs, {
|
|
2303
|
+
onRemove: (se) => re(Q),
|
|
2304
|
+
onCancel: (se) => de(Q),
|
|
2305
2305
|
file: j,
|
|
2306
2306
|
key: Q,
|
|
2307
2307
|
disabled: e.disabled
|
|
2308
2308
|
}, null, 8, ["onRemove", "onCancel", "file", "disabled"]))), 128))
|
|
2309
|
-
], 2)) :
|
|
2309
|
+
], 2)) : v("", !0)
|
|
2310
2310
|
], 16));
|
|
2311
2311
|
}
|
|
2312
2312
|
});
|
|
2313
|
-
const
|
|
2313
|
+
const io = {
|
|
2314
2314
|
name: "MaSideMenuButton"
|
|
2315
|
-
},
|
|
2316
|
-
...
|
|
2315
|
+
}, Aa = /* @__PURE__ */ $({
|
|
2316
|
+
...io,
|
|
2317
2317
|
props: {
|
|
2318
2318
|
icon: { default: "app" },
|
|
2319
2319
|
activeIcon: null,
|
|
@@ -2323,35 +2323,35 @@ const lo = {
|
|
|
2323
2323
|
active: { type: Boolean, default: !1 }
|
|
2324
2324
|
},
|
|
2325
2325
|
setup(a) {
|
|
2326
|
-
const
|
|
2326
|
+
const t = a, e = E(!1), s = c(() => t?.href ? "a" : "button"), l = c(() => t?.activeIcon || `${t.icon.replace("-bulk", "-bold")}`), i = c(() => [
|
|
2327
2327
|
"ma-side-menu-button",
|
|
2328
|
-
{ active:
|
|
2329
|
-
]), r = c(() => e.value ||
|
|
2330
|
-
return (m, z) => (o(),
|
|
2328
|
+
{ active: t?.active }
|
|
2329
|
+
]), r = c(() => e.value || t.active), u = () => e.value = !0, d = () => e.value = !1;
|
|
2330
|
+
return (m, z) => (o(), g(ee(n(s)), x({
|
|
2331
2331
|
onMousedown: u,
|
|
2332
2332
|
onMouseup: d,
|
|
2333
2333
|
role: "button",
|
|
2334
|
-
target:
|
|
2334
|
+
target: t?.target,
|
|
2335
2335
|
class: n(i),
|
|
2336
|
-
href:
|
|
2336
|
+
href: t?.href
|
|
2337
2337
|
}, m.$attrs), {
|
|
2338
|
-
default:
|
|
2339
|
-
|
|
2340
|
-
|
|
2338
|
+
default: h(() => [
|
|
2339
|
+
t?.icon ? (o(), p(q, { key: 0 }, [
|
|
2340
|
+
G(B(k, {
|
|
2341
2341
|
size: "md",
|
|
2342
2342
|
name: n(l)
|
|
2343
2343
|
}, null, 8, ["name"]), [
|
|
2344
|
-
[
|
|
2344
|
+
[J, n(r)]
|
|
2345
2345
|
]),
|
|
2346
|
-
|
|
2346
|
+
G(B(k, {
|
|
2347
2347
|
size: "md",
|
|
2348
|
-
name:
|
|
2348
|
+
name: t.icon
|
|
2349
2349
|
}, null, 8, ["name"]), [
|
|
2350
|
-
[
|
|
2350
|
+
[J, !n(r)]
|
|
2351
2351
|
])
|
|
2352
|
-
], 64)) :
|
|
2353
|
-
|
|
2354
|
-
D(
|
|
2352
|
+
], 64)) : v("", !0),
|
|
2353
|
+
y("span", null, [
|
|
2354
|
+
D(C(t?.text) + " ", 1),
|
|
2355
2355
|
f(m.$slots, "default")
|
|
2356
2356
|
])
|
|
2357
2357
|
]),
|
|
@@ -2359,13 +2359,13 @@ const lo = {
|
|
|
2359
2359
|
}, 16, ["target", "class", "href"]));
|
|
2360
2360
|
}
|
|
2361
2361
|
});
|
|
2362
|
-
const
|
|
2362
|
+
const ro = {
|
|
2363
2363
|
key: 0,
|
|
2364
2364
|
class: "ma-side-menu-item-icon"
|
|
2365
|
-
},
|
|
2365
|
+
}, co = {
|
|
2366
2366
|
name: "MaSideMenuItem"
|
|
2367
|
-
},
|
|
2368
|
-
...
|
|
2367
|
+
}, Ta = /* @__PURE__ */ $({
|
|
2368
|
+
...co,
|
|
2369
2369
|
props: {
|
|
2370
2370
|
href: null,
|
|
2371
2371
|
target: null,
|
|
@@ -2379,58 +2379,58 @@ const io = {
|
|
|
2379
2379
|
activeIcon: null
|
|
2380
2380
|
},
|
|
2381
2381
|
setup(a) {
|
|
2382
|
-
const
|
|
2383
|
-
`ma-side-menu-item color-${
|
|
2382
|
+
const t = a, e = c(() => t?.href ? "a" : "button"), s = c(() => [
|
|
2383
|
+
`ma-side-menu-item color-${t.activeColor}`,
|
|
2384
2384
|
{
|
|
2385
|
-
active:
|
|
2385
|
+
active: t.active
|
|
2386
2386
|
},
|
|
2387
2387
|
{
|
|
2388
|
-
child:
|
|
2388
|
+
child: t.child
|
|
2389
2389
|
}
|
|
2390
2390
|
]), l = c(
|
|
2391
|
-
() =>
|
|
2391
|
+
() => t?.activeIcon ? t.activeIcon : t.icon ? t.icon.replace("bulk", "bold") : null
|
|
2392
2392
|
);
|
|
2393
|
-
return (i, r) => (o(),
|
|
2393
|
+
return (i, r) => (o(), g(ee(n(e)), x({
|
|
2394
2394
|
role: "button",
|
|
2395
|
-
target:
|
|
2396
|
-
class: n(
|
|
2397
|
-
href:
|
|
2395
|
+
target: t?.target,
|
|
2396
|
+
class: n(s),
|
|
2397
|
+
href: t?.href
|
|
2398
2398
|
}, i.$attrs), {
|
|
2399
|
-
default:
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2399
|
+
default: h(() => [
|
|
2400
|
+
y("span", null, [
|
|
2401
|
+
t?.icon ? (o(), p("div", ro, [
|
|
2402
|
+
G(B(k, {
|
|
2403
2403
|
size: "xs",
|
|
2404
2404
|
name: n(l)
|
|
2405
2405
|
}, null, 8, ["name"]), [
|
|
2406
|
-
[
|
|
2406
|
+
[J, t.active]
|
|
2407
2407
|
]),
|
|
2408
|
-
|
|
2408
|
+
G(B(k, {
|
|
2409
2409
|
size: "xs",
|
|
2410
|
-
name:
|
|
2410
|
+
name: t.icon
|
|
2411
2411
|
}, null, 8, ["name"]), [
|
|
2412
|
-
[
|
|
2412
|
+
[J, !t.active]
|
|
2413
2413
|
])
|
|
2414
|
-
])) :
|
|
2415
|
-
D(" " +
|
|
2414
|
+
])) : v("", !0),
|
|
2415
|
+
D(" " + C(t?.text) + " ", 1),
|
|
2416
2416
|
f(i.$slots, "default")
|
|
2417
2417
|
]),
|
|
2418
|
-
|
|
2418
|
+
t.badgeText ? (o(), g(fs, {
|
|
2419
2419
|
key: 0,
|
|
2420
2420
|
size: "small",
|
|
2421
|
-
variant:
|
|
2421
|
+
variant: t.badgeColor
|
|
2422
2422
|
}, {
|
|
2423
|
-
default:
|
|
2424
|
-
D(
|
|
2423
|
+
default: h(() => [
|
|
2424
|
+
D(C(a.badgeText), 1)
|
|
2425
2425
|
]),
|
|
2426
2426
|
_: 1
|
|
2427
|
-
}, 8, ["variant"])) :
|
|
2427
|
+
}, 8, ["variant"])) : v("", !0)
|
|
2428
2428
|
]),
|
|
2429
2429
|
_: 3
|
|
2430
2430
|
}, 16, ["target", "class", "href"]));
|
|
2431
2431
|
}
|
|
2432
2432
|
});
|
|
2433
|
-
const
|
|
2433
|
+
const Na = [
|
|
2434
2434
|
"dark",
|
|
2435
2435
|
"blue",
|
|
2436
2436
|
"jordy-blue",
|
|
@@ -2439,11 +2439,11 @@ const Aa = [
|
|
|
2439
2439
|
"red",
|
|
2440
2440
|
"purple",
|
|
2441
2441
|
"purple-light"
|
|
2442
|
-
],
|
|
2442
|
+
], po = {
|
|
2443
2443
|
name: "MaSideMenuIconButton",
|
|
2444
2444
|
inheritAttrs: !1
|
|
2445
|
-
},
|
|
2446
|
-
...
|
|
2445
|
+
}, Pa = /* @__PURE__ */ $({
|
|
2446
|
+
...po,
|
|
2447
2447
|
props: {
|
|
2448
2448
|
icon: null,
|
|
2449
2449
|
activeIcon: null,
|
|
@@ -2453,38 +2453,38 @@ const Aa = [
|
|
|
2453
2453
|
active: { type: Boolean, default: !1 }
|
|
2454
2454
|
},
|
|
2455
2455
|
setup(a) {
|
|
2456
|
-
const
|
|
2456
|
+
const t = a, e = E(!1), s = c(() => t?.href ? "a" : "button"), l = c(() => e.value || t.active), i = c(() => t?.activeIcon || `${t.icon}-bold`), r = c(() => [
|
|
2457
2457
|
"ma-side-menu-icon-button",
|
|
2458
|
-
{ active:
|
|
2458
|
+
{ active: t?.active }
|
|
2459
2459
|
]), u = () => e.value = !0, d = () => e.value = !1;
|
|
2460
|
-
return (m, z) =>
|
|
2460
|
+
return (m, z) => t?.tooltipText ? (o(), g(le, {
|
|
2461
2461
|
key: 0,
|
|
2462
2462
|
overlayClassName: "ma-icon-button-tooltip",
|
|
2463
|
-
title:
|
|
2463
|
+
title: t?.tooltipText,
|
|
2464
2464
|
type: "primary",
|
|
2465
2465
|
placement: "bottomLeft"
|
|
2466
2466
|
}, {
|
|
2467
|
-
default:
|
|
2468
|
-
(o(),
|
|
2467
|
+
default: h(() => [
|
|
2468
|
+
(o(), g(ee(n(s)), x({
|
|
2469
2469
|
onMousedown: u,
|
|
2470
2470
|
onMouseup: d,
|
|
2471
2471
|
class: n(r),
|
|
2472
|
-
href:
|
|
2473
|
-
target:
|
|
2472
|
+
href: t?.href,
|
|
2473
|
+
target: t?.target,
|
|
2474
2474
|
role: "button"
|
|
2475
2475
|
}, m.$attrs), {
|
|
2476
|
-
default:
|
|
2477
|
-
|
|
2476
|
+
default: h(() => [
|
|
2477
|
+
G(B(k, {
|
|
2478
2478
|
size: "xs",
|
|
2479
2479
|
name: n(i)
|
|
2480
2480
|
}, null, 8, ["name"]), [
|
|
2481
|
-
[
|
|
2481
|
+
[J, n(l)]
|
|
2482
2482
|
]),
|
|
2483
|
-
|
|
2483
|
+
G(B(k, {
|
|
2484
2484
|
size: "xs",
|
|
2485
|
-
name:
|
|
2485
|
+
name: t.icon
|
|
2486
2486
|
}, null, 8, ["name"]), [
|
|
2487
|
-
[
|
|
2487
|
+
[J, !n(l)]
|
|
2488
2488
|
]),
|
|
2489
2489
|
f(m.$slots, "default")
|
|
2490
2490
|
]),
|
|
@@ -2492,27 +2492,27 @@ const Aa = [
|
|
|
2492
2492
|
}, 16, ["class", "href", "target"]))
|
|
2493
2493
|
]),
|
|
2494
2494
|
_: 3
|
|
2495
|
-
}, 8, ["title"])) : (o(),
|
|
2495
|
+
}, 8, ["title"])) : (o(), g(ee(n(s)), x({
|
|
2496
2496
|
key: 1,
|
|
2497
2497
|
onMousedown: u,
|
|
2498
2498
|
onMouseup: d,
|
|
2499
2499
|
class: n(r),
|
|
2500
|
-
href:
|
|
2501
|
-
target:
|
|
2500
|
+
href: t?.href,
|
|
2501
|
+
target: t?.target,
|
|
2502
2502
|
role: "button"
|
|
2503
2503
|
}, m.$attrs), {
|
|
2504
|
-
default:
|
|
2505
|
-
|
|
2504
|
+
default: h(() => [
|
|
2505
|
+
G(B(k, {
|
|
2506
2506
|
size: "xs",
|
|
2507
2507
|
name: n(i)
|
|
2508
2508
|
}, null, 8, ["name"]), [
|
|
2509
|
-
[
|
|
2509
|
+
[J, n(l)]
|
|
2510
2510
|
]),
|
|
2511
|
-
|
|
2511
|
+
G(B(k, {
|
|
2512
2512
|
size: "xs",
|
|
2513
|
-
name:
|
|
2513
|
+
name: t.icon
|
|
2514
2514
|
}, null, 8, ["name"]), [
|
|
2515
|
-
[
|
|
2515
|
+
[J, !n(l)]
|
|
2516
2516
|
]),
|
|
2517
2517
|
f(m.$slots, "default")
|
|
2518
2518
|
]),
|
|
@@ -2520,69 +2520,69 @@ const Aa = [
|
|
|
2520
2520
|
}, 16, ["class", "href", "target"]));
|
|
2521
2521
|
}
|
|
2522
2522
|
});
|
|
2523
|
-
const
|
|
2523
|
+
const uo = {
|
|
2524
2524
|
name: "MaSideMenuRoundIconButton",
|
|
2525
2525
|
inheritAttrs: !1
|
|
2526
|
-
},
|
|
2527
|
-
...
|
|
2526
|
+
}, Da = /* @__PURE__ */ $({
|
|
2527
|
+
...uo,
|
|
2528
2528
|
props: {
|
|
2529
2529
|
icon: null
|
|
2530
2530
|
},
|
|
2531
2531
|
setup(a) {
|
|
2532
|
-
const
|
|
2533
|
-
return (e,
|
|
2532
|
+
const t = a;
|
|
2533
|
+
return (e, s) => (o(), p("button", x({
|
|
2534
2534
|
class: "ma-side-menu-round-icon-button",
|
|
2535
2535
|
role: "button"
|
|
2536
2536
|
}, e.$attrs), [
|
|
2537
|
-
|
|
2537
|
+
B(k, {
|
|
2538
2538
|
size: "xs",
|
|
2539
|
-
name:
|
|
2539
|
+
name: t.icon
|
|
2540
2540
|
}, null, 8, ["name"]),
|
|
2541
2541
|
f(e.$slots, "default")
|
|
2542
2542
|
], 16));
|
|
2543
2543
|
}
|
|
2544
2544
|
});
|
|
2545
|
-
const
|
|
2545
|
+
const mo = ["src", "alt"], go = {
|
|
2546
2546
|
name: "MaSideMenuAppButton",
|
|
2547
2547
|
inheritAttrs: !1
|
|
2548
|
-
},
|
|
2549
|
-
...
|
|
2548
|
+
}, La = /* @__PURE__ */ $({
|
|
2549
|
+
...go,
|
|
2550
2550
|
props: {
|
|
2551
2551
|
appImage: null,
|
|
2552
2552
|
appName: null,
|
|
2553
2553
|
active: { type: Boolean, default: !1 }
|
|
2554
2554
|
},
|
|
2555
2555
|
setup(a) {
|
|
2556
|
-
const
|
|
2556
|
+
const t = a, e = c(() => [
|
|
2557
2557
|
"ma-side-menu-app-icon-button",
|
|
2558
|
-
{ active:
|
|
2558
|
+
{ active: t?.active }
|
|
2559
2559
|
]);
|
|
2560
|
-
return (
|
|
2560
|
+
return (s, l) => (o(), g(le, {
|
|
2561
2561
|
overlayClassName: "ma-app-button-tooltip",
|
|
2562
2562
|
title: a.appName,
|
|
2563
2563
|
type: "primary",
|
|
2564
2564
|
placement: "topLeft"
|
|
2565
2565
|
}, {
|
|
2566
|
-
default:
|
|
2567
|
-
|
|
2566
|
+
default: h(() => [
|
|
2567
|
+
y("button", x({
|
|
2568
2568
|
class: n(e),
|
|
2569
2569
|
role: "button"
|
|
2570
|
-
},
|
|
2571
|
-
|
|
2570
|
+
}, s.$attrs), [
|
|
2571
|
+
y("img", {
|
|
2572
2572
|
src: a.appImage,
|
|
2573
2573
|
alt: a.appName
|
|
2574
|
-
}, null, 8,
|
|
2575
|
-
f(
|
|
2574
|
+
}, null, 8, mo),
|
|
2575
|
+
f(s.$slots, "default")
|
|
2576
2576
|
], 16)
|
|
2577
2577
|
]),
|
|
2578
2578
|
_: 3
|
|
2579
2579
|
}, 8, ["title"]));
|
|
2580
2580
|
}
|
|
2581
2581
|
});
|
|
2582
|
-
const
|
|
2582
|
+
const vo = {
|
|
2583
2583
|
name: "MaSideMenuAddNewAppButton"
|
|
2584
|
-
},
|
|
2585
|
-
...
|
|
2584
|
+
}, Ea = /* @__PURE__ */ $({
|
|
2585
|
+
...vo,
|
|
2586
2586
|
props: {
|
|
2587
2587
|
href: null,
|
|
2588
2588
|
target: null,
|
|
@@ -2590,25 +2590,25 @@ const go = {
|
|
|
2590
2590
|
disabled: { type: Boolean, default: !1 }
|
|
2591
2591
|
},
|
|
2592
2592
|
setup(a) {
|
|
2593
|
-
const
|
|
2594
|
-
return (e,
|
|
2595
|
-
target:
|
|
2596
|
-
href:
|
|
2597
|
-
disabled:
|
|
2593
|
+
const t = a;
|
|
2594
|
+
return (e, s) => (o(), g(X, x(e.$attrs, {
|
|
2595
|
+
target: t?.target,
|
|
2596
|
+
href: t?.href,
|
|
2597
|
+
disabled: t?.disabled,
|
|
2598
2598
|
class: "ma-add-new-app-button"
|
|
2599
2599
|
}), {
|
|
2600
|
-
default:
|
|
2601
|
-
D(
|
|
2600
|
+
default: h(() => [
|
|
2601
|
+
D(C(t?.text) + " ", 1),
|
|
2602
2602
|
f(e.$slots, "default")
|
|
2603
2603
|
]),
|
|
2604
2604
|
_: 3
|
|
2605
2605
|
}, 16, ["target", "href", "disabled"]));
|
|
2606
2606
|
}
|
|
2607
2607
|
});
|
|
2608
|
-
const
|
|
2608
|
+
const fo = { class: "ma-progress-circle" }, _o = ["viewBox"], ho = ["d", "stroke-width"], yo = ["d", "stroke-dasharray", "stroke-dashoffset", "stroke-width"], bo = { key: 1 }, ko = {
|
|
2609
2609
|
key: 0,
|
|
2610
2610
|
class: "label"
|
|
2611
|
-
},
|
|
2611
|
+
}, $o = { class: "percent" }, Co = /* @__PURE__ */ $({
|
|
2612
2612
|
__name: "circle",
|
|
2613
2613
|
props: {
|
|
2614
2614
|
percent: null,
|
|
@@ -2620,7 +2620,7 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2620
2620
|
size: null
|
|
2621
2621
|
},
|
|
2622
2622
|
setup(a) {
|
|
2623
|
-
const
|
|
2623
|
+
const t = a, e = {
|
|
2624
2624
|
xl: {
|
|
2625
2625
|
viewBox: "0 0 224 224",
|
|
2626
2626
|
path: "M112 10.5C125.329 10.5 138.528 13.1254 150.842 18.2262C163.157 23.3271 174.346 30.8035 183.771 40.2287C193.196 49.6538 200.673 60.8431 205.774 73.1576C210.875 85.4722 213.5 98.6708 213.5 112C213.5 125.329 210.875 138.528 205.774 150.842C200.673 163.157 193.196 174.346 183.771 183.771C174.346 193.197 163.157 200.673 150.842 205.774C138.528 210.875 125.329 213.5 112 213.5C98.6708 213.5 85.4721 210.875 73.1576 205.774C60.843 200.673 49.6538 193.196 40.2286 183.771C30.8035 174.346 23.3271 163.157 18.2262 150.842C13.1254 138.528 10.5 125.329 10.5 112C10.5 98.6708 13.1254 85.4721 18.2262 73.1576C23.3271 60.843 30.8036 49.6538 40.2287 40.2286C49.6539 30.8035 60.8431 23.327 73.1577 18.2262C85.4722 13.1254 98.6709 10.5 112 10.5L112 10.5Z",
|
|
@@ -2651,44 +2651,44 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2651
2651
|
strokeDashArray: 179,
|
|
2652
2652
|
strokeWidth: 6
|
|
2653
2653
|
}
|
|
2654
|
-
},
|
|
2655
|
-
() =>
|
|
2654
|
+
}, s = c(() => e[t.size]), l = c(
|
|
2655
|
+
() => s.value.strokeDashArray * (100 - t.percent) / 100
|
|
2656
2656
|
);
|
|
2657
|
-
return (i, r) => (o(), p("div",
|
|
2657
|
+
return (i, r) => (o(), p("div", fo, [
|
|
2658
2658
|
(o(), p("svg", {
|
|
2659
2659
|
class: "circle",
|
|
2660
|
-
viewBox: n(
|
|
2660
|
+
viewBox: n(s).viewBox,
|
|
2661
2661
|
fill: "none",
|
|
2662
2662
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2663
2663
|
}, [
|
|
2664
|
-
|
|
2665
|
-
d: n(
|
|
2664
|
+
y("path", {
|
|
2665
|
+
d: n(s).path,
|
|
2666
2666
|
"stroke-linecap": "round",
|
|
2667
2667
|
"stroke-linejoin": "round",
|
|
2668
|
-
"stroke-width": n(
|
|
2668
|
+
"stroke-width": n(s).strokeWidth,
|
|
2669
2669
|
class: "wrapper"
|
|
2670
|
-
}, null, 8,
|
|
2671
|
-
|
|
2670
|
+
}, null, 8, ho),
|
|
2671
|
+
t.percent > 0 ? (o(), p("path", {
|
|
2672
2672
|
key: 0,
|
|
2673
|
-
d: n(
|
|
2673
|
+
d: n(s).path,
|
|
2674
2674
|
"stroke-linecap": "round",
|
|
2675
2675
|
"stroke-linejoin": "round",
|
|
2676
|
-
"stroke-dasharray": n(
|
|
2676
|
+
"stroke-dasharray": n(s).strokeDashArray,
|
|
2677
2677
|
"stroke-dashoffset": n(l),
|
|
2678
|
-
"stroke-width": n(
|
|
2678
|
+
"stroke-width": n(s).strokeWidth,
|
|
2679
2679
|
class: "percent"
|
|
2680
|
-
}, null, 8,
|
|
2681
|
-
], 8,
|
|
2682
|
-
|
|
2680
|
+
}, null, 8, yo)) : v("", !0)
|
|
2681
|
+
], 8, _o)),
|
|
2682
|
+
t?.icon ? (o(), g(k, {
|
|
2683
2683
|
key: 0,
|
|
2684
|
-
name:
|
|
2685
|
-
}, null, 8, ["name"])) : (o(), p("label",
|
|
2686
|
-
|
|
2687
|
-
|
|
2684
|
+
name: t.icon
|
|
2685
|
+
}, null, 8, ["name"])) : (o(), p("label", bo, [
|
|
2686
|
+
t?.label ? (o(), p("span", ko, C(t.label), 1)) : v("", !0),
|
|
2687
|
+
y("span", $o, C(t?.percent) + "% ", 1)
|
|
2688
2688
|
]))
|
|
2689
2689
|
]));
|
|
2690
2690
|
}
|
|
2691
|
-
}),
|
|
2691
|
+
}), wo = { class: "ma-progress-line" }, Mo = { class: "line-wrapper" }, Bo = { key: 1 }, xo = { class: "line-wrapper" }, zo = { key: 1 }, Io = /* @__PURE__ */ $({
|
|
2692
2692
|
__name: "line",
|
|
2693
2693
|
props: {
|
|
2694
2694
|
percent: null,
|
|
@@ -2700,48 +2700,48 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2700
2700
|
size: null
|
|
2701
2701
|
},
|
|
2702
2702
|
setup(a) {
|
|
2703
|
-
const
|
|
2703
|
+
const t = a, e = c(() => ({ width: `${t.percent}%` })), s = c(() => ({
|
|
2704
2704
|
overlayClassName: "ma-progress-tooltip",
|
|
2705
2705
|
icon: "warning-2-bold",
|
|
2706
2706
|
closable: !0,
|
|
2707
|
-
title: `%${
|
|
2707
|
+
title: `%${t.percent}`,
|
|
2708
2708
|
defaultVisible: !0,
|
|
2709
2709
|
trigger: "click",
|
|
2710
|
-
...
|
|
2710
|
+
...t.tooltipProps
|
|
2711
2711
|
}));
|
|
2712
|
-
return (l, i) => (o(), p("div",
|
|
2713
|
-
|
|
2714
|
-
default:
|
|
2715
|
-
|
|
2716
|
-
|
|
2712
|
+
return (l, i) => (o(), p("div", wo, [
|
|
2713
|
+
t?.showTooltip ? (o(), g(le, Ne(x({ key: 0 }, n(s))), {
|
|
2714
|
+
default: h(() => [
|
|
2715
|
+
y("div", Mo, [
|
|
2716
|
+
y("div", {
|
|
2717
2717
|
class: "line",
|
|
2718
2718
|
style: ne(n(e))
|
|
2719
2719
|
}, null, 4)
|
|
2720
2720
|
]),
|
|
2721
|
-
|
|
2721
|
+
t?.icon ? (o(), g(k, {
|
|
2722
2722
|
key: 0,
|
|
2723
|
-
name:
|
|
2724
|
-
}, null, 8, ["name"])) : a.showPercent ? (o(), p("label",
|
|
2723
|
+
name: t.icon
|
|
2724
|
+
}, null, 8, ["name"])) : a.showPercent ? (o(), p("label", Bo, C(t.percent) + "%", 1)) : v("", !0)
|
|
2725
2725
|
]),
|
|
2726
2726
|
_: 1
|
|
2727
2727
|
}, 16)) : (o(), p(q, { key: 1 }, [
|
|
2728
|
-
|
|
2729
|
-
|
|
2728
|
+
y("div", xo, [
|
|
2729
|
+
y("div", {
|
|
2730
2730
|
class: "line",
|
|
2731
2731
|
style: ne(n(e))
|
|
2732
2732
|
}, null, 4)
|
|
2733
2733
|
]),
|
|
2734
|
-
|
|
2734
|
+
t?.icon ? (o(), g(k, {
|
|
2735
2735
|
key: 0,
|
|
2736
|
-
name:
|
|
2737
|
-
}, null, 8, ["name"])) : a.showPercent ? (o(), p("label",
|
|
2736
|
+
name: t.icon
|
|
2737
|
+
}, null, 8, ["name"])) : a.showPercent ? (o(), p("label", zo, C(t.percent) + "%", 1)) : v("", !0)
|
|
2738
2738
|
], 64))
|
|
2739
2739
|
]));
|
|
2740
2740
|
}
|
|
2741
|
-
}),
|
|
2741
|
+
}), So = { class: "ma-progress-circle ma-progress-half-circle" }, Ao = ["viewBox"], To = ["d", "stroke-width"], No = ["d", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Po = { key: 1 }, Do = {
|
|
2742
2742
|
key: 0,
|
|
2743
2743
|
class: "label"
|
|
2744
|
-
},
|
|
2744
|
+
}, Lo = { class: "percent" }, Eo = /* @__PURE__ */ $({
|
|
2745
2745
|
__name: "halfCircle",
|
|
2746
2746
|
props: {
|
|
2747
2747
|
percent: null,
|
|
@@ -2753,7 +2753,7 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2753
2753
|
size: null
|
|
2754
2754
|
},
|
|
2755
2755
|
setup(a) {
|
|
2756
|
-
const
|
|
2756
|
+
const t = a, e = {
|
|
2757
2757
|
xl: {
|
|
2758
2758
|
viewBox: "0 0 224 128",
|
|
2759
2759
|
path: "M10.5 112C10.5 98.6708 13.1254 85.4722 18.2262 73.1576C23.3271 60.8431 30.8035 49.6538 40.2287 40.2286C49.6538 30.8035 60.8431 23.3271 73.1577 18.2262C85.4722 13.1254 98.6709 10.5 112 10.5C125.329 10.5 138.528 13.1254 150.842 18.2262C163.157 23.3271 174.346 30.8035 183.771 40.2287C193.197 49.6539 200.673 60.8431 205.774 73.1577C210.875 85.4722 213.5 98.6709 213.5 112",
|
|
@@ -2784,44 +2784,44 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2784
2784
|
strokeDashArray: 91,
|
|
2785
2785
|
strokeWidth: 6
|
|
2786
2786
|
}
|
|
2787
|
-
},
|
|
2788
|
-
() =>
|
|
2787
|
+
}, s = c(() => e[t.size]), l = c(
|
|
2788
|
+
() => s.value.strokeDashArray * (100 - t.percent) / 100
|
|
2789
2789
|
);
|
|
2790
|
-
return (i, r) => (o(), p("div",
|
|
2790
|
+
return (i, r) => (o(), p("div", So, [
|
|
2791
2791
|
(o(), p("svg", {
|
|
2792
2792
|
class: "circle",
|
|
2793
|
-
viewBox: n(
|
|
2793
|
+
viewBox: n(s).viewBox,
|
|
2794
2794
|
fill: "none",
|
|
2795
2795
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2796
2796
|
}, [
|
|
2797
|
-
|
|
2798
|
-
d: n(
|
|
2799
|
-
"stroke-width": n(
|
|
2797
|
+
y("path", {
|
|
2798
|
+
d: n(s).path,
|
|
2799
|
+
"stroke-width": n(s).strokeWidth,
|
|
2800
2800
|
"stroke-linecap": "round",
|
|
2801
2801
|
"stroke-linejoin": "round",
|
|
2802
2802
|
class: "wrapper"
|
|
2803
|
-
}, null, 8,
|
|
2804
|
-
|
|
2803
|
+
}, null, 8, To),
|
|
2804
|
+
t.percent > 0 ? (o(), p("path", {
|
|
2805
2805
|
key: 0,
|
|
2806
|
-
d: n(
|
|
2807
|
-
"stroke-width": n(
|
|
2806
|
+
d: n(s).path,
|
|
2807
|
+
"stroke-width": n(s).strokeWidth,
|
|
2808
2808
|
"stroke-linecap": "round",
|
|
2809
2809
|
"stroke-linejoin": "round",
|
|
2810
|
-
"stroke-dasharray": n(
|
|
2810
|
+
"stroke-dasharray": n(s).strokeDashArray,
|
|
2811
2811
|
"stroke-dashoffset": n(l),
|
|
2812
2812
|
class: "percent"
|
|
2813
|
-
}, null, 8,
|
|
2814
|
-
], 8,
|
|
2815
|
-
|
|
2813
|
+
}, null, 8, No)) : v("", !0)
|
|
2814
|
+
], 8, Ao)),
|
|
2815
|
+
t?.icon ? (o(), g(k, {
|
|
2816
2816
|
key: 0,
|
|
2817
|
-
name:
|
|
2817
|
+
name: t.icon
|
|
2818
2818
|
}, null, 8, ["name"])) : (o(), p("label", Po, [
|
|
2819
|
-
|
|
2820
|
-
|
|
2819
|
+
t?.label ? (o(), p("span", Do, C(t.label), 1)) : v("", !0),
|
|
2820
|
+
y("span", Lo, C(t?.percent) + "% ", 1)
|
|
2821
2821
|
]))
|
|
2822
2822
|
]));
|
|
2823
2823
|
}
|
|
2824
|
-
}),
|
|
2824
|
+
}), Fo = { class: "ma-progress-line-step" }, Ro = { class: "step-line-wrapper" }, Uo = { key: 1 }, Vo = /* @__PURE__ */ $({
|
|
2825
2825
|
__name: "stepLine",
|
|
2826
2826
|
props: {
|
|
2827
2827
|
percent: null,
|
|
@@ -2833,35 +2833,35 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2833
2833
|
size: null
|
|
2834
2834
|
},
|
|
2835
2835
|
setup(a) {
|
|
2836
|
-
const
|
|
2837
|
-
const l = (
|
|
2836
|
+
const t = a, e = (s) => {
|
|
2837
|
+
const l = (s - 1) * 10, i = s * 10;
|
|
2838
2838
|
let r = 0;
|
|
2839
|
-
return
|
|
2839
|
+
return t.percent >= i ? r = 100 : t.percent > l && t.percent < i && (r = 100 * (t.percent - l) / (i - l)), {
|
|
2840
2840
|
width: `${r}%`
|
|
2841
2841
|
};
|
|
2842
2842
|
};
|
|
2843
|
-
return (
|
|
2844
|
-
|
|
2845
|
-
(o(), p(q, null, U(10, (i) =>
|
|
2843
|
+
return (s, l) => (o(), p("div", Fo, [
|
|
2844
|
+
y("div", Ro, [
|
|
2845
|
+
(o(), p(q, null, U(10, (i) => y("div", {
|
|
2846
2846
|
class: "single-line",
|
|
2847
2847
|
key: i
|
|
2848
2848
|
}, [
|
|
2849
|
-
|
|
2849
|
+
y("div", {
|
|
2850
2850
|
class: "single-line-fill",
|
|
2851
2851
|
style: ne(e(i))
|
|
2852
2852
|
}, null, 4)
|
|
2853
2853
|
])), 64))
|
|
2854
2854
|
]),
|
|
2855
|
-
|
|
2855
|
+
t?.icon ? (o(), g(k, {
|
|
2856
2856
|
key: 0,
|
|
2857
|
-
name:
|
|
2858
|
-
}, null, 8, ["name"])) :
|
|
2857
|
+
name: t.icon
|
|
2858
|
+
}, null, 8, ["name"])) : t?.showPercent ? (o(), p("label", Uo, C(t.percent) + "%", 1)) : v("", !0)
|
|
2859
2859
|
]));
|
|
2860
2860
|
}
|
|
2861
|
-
}),
|
|
2861
|
+
}), jo = {
|
|
2862
2862
|
name: "MaProgress"
|
|
2863
|
-
},
|
|
2864
|
-
...
|
|
2863
|
+
}, Fa = /* @__PURE__ */ $({
|
|
2864
|
+
...jo,
|
|
2865
2865
|
props: {
|
|
2866
2866
|
type: { default: "line" },
|
|
2867
2867
|
percent: null,
|
|
@@ -2875,84 +2875,84 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2875
2875
|
circleSize: { default: "md" }
|
|
2876
2876
|
},
|
|
2877
2877
|
setup(a) {
|
|
2878
|
-
const
|
|
2878
|
+
const t = a, e = c(() => [
|
|
2879
2879
|
`
|
|
2880
2880
|
ma-progress
|
|
2881
2881
|
ak-progress
|
|
2882
|
-
ak-progress--${
|
|
2882
|
+
ak-progress--${t.type}
|
|
2883
2883
|
`,
|
|
2884
2884
|
{
|
|
2885
|
-
"xs-circle-label":
|
|
2885
|
+
"xs-circle-label": t.type === "circle" && t?.label && t.circleSize === "xs"
|
|
2886
2886
|
},
|
|
2887
2887
|
{
|
|
2888
|
-
"xs-half-circle-label":
|
|
2888
|
+
"xs-half-circle-label": t.type === "half-circle" && t?.label && t.circleSize === "xs"
|
|
2889
2889
|
},
|
|
2890
2890
|
{
|
|
2891
|
-
"percentage-left":
|
|
2891
|
+
"percentage-left": t?.percentAlignment === "left"
|
|
2892
2892
|
}
|
|
2893
|
-
]),
|
|
2893
|
+
]), s = c(
|
|
2894
2894
|
() => ({
|
|
2895
|
-
circle:
|
|
2896
|
-
line:
|
|
2897
|
-
["half-circle"]:
|
|
2898
|
-
["line-step"]:
|
|
2899
|
-
})[
|
|
2895
|
+
circle: Co,
|
|
2896
|
+
line: Io,
|
|
2897
|
+
["half-circle"]: Eo,
|
|
2898
|
+
["line-step"]: Vo
|
|
2899
|
+
})[t.type]
|
|
2900
2900
|
), l = c(() => [
|
|
2901
2901
|
`
|
|
2902
|
-
color-${
|
|
2903
|
-
size-${
|
|
2902
|
+
color-${t.color}
|
|
2903
|
+
size-${t.circleSize}
|
|
2904
2904
|
`
|
|
2905
2905
|
]), i = c(
|
|
2906
|
-
() =>
|
|
2906
|
+
() => t.percent > 100 ? 100 : t.percent
|
|
2907
2907
|
);
|
|
2908
2908
|
return (r, u) => (o(), p("div", {
|
|
2909
|
-
class:
|
|
2909
|
+
class: F(n(e))
|
|
2910
2910
|
}, [
|
|
2911
|
-
(o(),
|
|
2912
|
-
class:
|
|
2911
|
+
(o(), g(ee(n(s)), {
|
|
2912
|
+
class: F(n(l)),
|
|
2913
2913
|
percent: n(i),
|
|
2914
|
-
icon:
|
|
2915
|
-
label:
|
|
2916
|
-
size:
|
|
2917
|
-
showPercent:
|
|
2918
|
-
showTooltip:
|
|
2919
|
-
tooltipProps:
|
|
2914
|
+
icon: t?.icon,
|
|
2915
|
+
label: t?.label,
|
|
2916
|
+
size: t?.circleSize,
|
|
2917
|
+
showPercent: t?.showPercent,
|
|
2918
|
+
showTooltip: t?.showTooltip,
|
|
2919
|
+
tooltipProps: t?.tooltipProps
|
|
2920
2920
|
}, null, 8, ["class", "percent", "icon", "label", "size", "showPercent", "showTooltip", "tooltipProps"]))
|
|
2921
2921
|
], 2));
|
|
2922
2922
|
}
|
|
2923
2923
|
});
|
|
2924
|
-
const
|
|
2924
|
+
const Ra = [
|
|
2925
2925
|
"line",
|
|
2926
2926
|
"line-step",
|
|
2927
2927
|
"circle",
|
|
2928
2928
|
"half-circle"
|
|
2929
|
-
],
|
|
2929
|
+
], Ua = [
|
|
2930
2930
|
"dark",
|
|
2931
2931
|
"blue",
|
|
2932
2932
|
"green",
|
|
2933
2933
|
"orange",
|
|
2934
2934
|
"red"
|
|
2935
|
-
],
|
|
2935
|
+
], Va = [
|
|
2936
2936
|
"xs",
|
|
2937
2937
|
"sm",
|
|
2938
2938
|
"md",
|
|
2939
2939
|
"lg",
|
|
2940
2940
|
"xl"
|
|
2941
|
-
],
|
|
2941
|
+
], ja = [
|
|
2942
2942
|
"left",
|
|
2943
2943
|
"right"
|
|
2944
|
-
],
|
|
2944
|
+
], Oo = {
|
|
2945
2945
|
key: 0,
|
|
2946
2946
|
class: "ak-autocomplete__label"
|
|
2947
|
-
},
|
|
2947
|
+
}, qo = { class: "ak-autocomplete__options" }, Ho = ["onMousedown", "onMouseover"], Wo = { key: 1 }, Ko = {
|
|
2948
2948
|
name: "MaAutocomplete"
|
|
2949
|
-
},
|
|
2950
|
-
...
|
|
2949
|
+
}, Oa = /* @__PURE__ */ $({
|
|
2950
|
+
...Ko,
|
|
2951
2951
|
props: {
|
|
2952
2952
|
value: null,
|
|
2953
2953
|
options: { default: () => [] },
|
|
2954
2954
|
label: null,
|
|
2955
|
-
filterFn: { type: Function, default: (a,
|
|
2955
|
+
filterFn: { type: Function, default: (a, t) => typeof t.value == "string" ? t.value.toLowerCase().indexOf(a.toLowerCase()) > -1 : !0 },
|
|
2956
2956
|
placeholder: null,
|
|
2957
2957
|
prefixIcon: null,
|
|
2958
2958
|
avatarUrl: null,
|
|
@@ -2960,24 +2960,24 @@ const Ea = [
|
|
|
2960
2960
|
size: { default: "large" }
|
|
2961
2961
|
},
|
|
2962
2962
|
emits: ["update:value", "search"],
|
|
2963
|
-
setup(a, { emit:
|
|
2964
|
-
const e = a,
|
|
2963
|
+
setup(a, { emit: t }) {
|
|
2964
|
+
const e = a, s = te(), l = E(!1), i = E(null), r = E(null), u = E(-1), d = c({
|
|
2965
2965
|
get() {
|
|
2966
2966
|
return e?.value;
|
|
2967
2967
|
},
|
|
2968
2968
|
set(_) {
|
|
2969
|
-
|
|
2969
|
+
t("update:value", _), u.value = -1;
|
|
2970
2970
|
}
|
|
2971
|
-
}), m = c(() => e?.avatarUrl ?
|
|
2971
|
+
}), m = c(() => e?.avatarUrl ? Y.userInfo : Y.text), z = c(() => !!s.default), I = c(
|
|
2972
2972
|
() => e.options.filter(
|
|
2973
2973
|
(_) => e.filterFn(d.value || "", _)
|
|
2974
2974
|
)
|
|
2975
2975
|
), A = (_) => {
|
|
2976
|
-
const
|
|
2977
|
-
d.value =
|
|
2976
|
+
const N = _?.value || _?.label || _;
|
|
2977
|
+
d.value = N, z.value && r.value && (r.value.value = N), l.value = !1;
|
|
2978
2978
|
}, T = async () => {
|
|
2979
2979
|
const _ = `${r.value?.value}`;
|
|
2980
|
-
|
|
2980
|
+
t("search", _), z.value && t("update:value", _), l.value || (l.value = !0);
|
|
2981
2981
|
}, M = (_) => {
|
|
2982
2982
|
l.value = !0;
|
|
2983
2983
|
}, b = (_) => {
|
|
@@ -2986,10 +2986,10 @@ const Ea = [
|
|
|
2986
2986
|
_.key === "ArrowUp" && u.value > -1 ? u.value-- : _.key === "ArrowDown" && u.value < I.value.length ? u.value++ : _.key === "Enter" && I.value[u.value] && A(I.value[u.value]);
|
|
2987
2987
|
}, V = (_) => {
|
|
2988
2988
|
u.value = _;
|
|
2989
|
-
}, R = (_,
|
|
2989
|
+
}, R = (_, N) => ({
|
|
2990
2990
|
"active-option": _?.value === d.value,
|
|
2991
|
-
"current-option": u.value ===
|
|
2992
|
-
}),
|
|
2991
|
+
"current-option": u.value === N
|
|
2992
|
+
}), Z = c(() => [
|
|
2993
2993
|
`ak-autocomplete ak-autocomplete--${e.size}`
|
|
2994
2994
|
]);
|
|
2995
2995
|
return oe(
|
|
@@ -3001,58 +3001,58 @@ const Ea = [
|
|
|
3001
3001
|
}
|
|
3002
3002
|
), ae(() => {
|
|
3003
3003
|
i.value && (i.value.addEventListener("input", T), i.value.addEventListener("keydown", S), document.addEventListener("click", b), r.value = i.value.querySelector('input[type="text"]'), r.value && r.value.addEventListener("focus", M));
|
|
3004
|
-
}),
|
|
3004
|
+
}), be(() => {
|
|
3005
3005
|
i.value && (i.value.removeEventListener("input", T), document.removeEventListener("click", b), i.value.removeEventListener("keydown", S), r.value && r.value.removeEventListener("focus", M));
|
|
3006
|
-
}), (_,
|
|
3006
|
+
}), (_, N) => (o(), p("div", x({
|
|
3007
3007
|
class: "ak-autocomplete-wrapper",
|
|
3008
3008
|
ref_key: "autoComplete",
|
|
3009
3009
|
ref: i
|
|
3010
3010
|
}, _.$attrs), [
|
|
3011
|
-
|
|
3011
|
+
B(Ls, {
|
|
3012
3012
|
"overlay-class-name": "ak-autocomplete__dropdown",
|
|
3013
3013
|
trigger: [],
|
|
3014
3014
|
visible: l.value,
|
|
3015
|
-
"onUpdate:visible":
|
|
3015
|
+
"onUpdate:visible": N[1] || (N[1] = (L) => l.value = L)
|
|
3016
3016
|
}, {
|
|
3017
|
-
overlay:
|
|
3018
|
-
|
|
3019
|
-
|
|
3017
|
+
overlay: h(() => [
|
|
3018
|
+
y("div", qo, [
|
|
3019
|
+
y("ul", null, [
|
|
3020
3020
|
(o(!0), p(q, null, U(n(I), (L, H) => (o(), p("li", {
|
|
3021
|
-
class:
|
|
3022
|
-
onMousedown:
|
|
3023
|
-
onMouseover: (
|
|
3021
|
+
class: F(R(L, H)),
|
|
3022
|
+
onMousedown: $e((ie) => A(L), ["prevent"]),
|
|
3023
|
+
onMouseover: (ie) => V(H),
|
|
3024
3024
|
key: H
|
|
3025
3025
|
}, [
|
|
3026
3026
|
_.$slots.option ? f(_.$slots, "option", {
|
|
3027
3027
|
key: 0,
|
|
3028
3028
|
label: L?.label,
|
|
3029
3029
|
value: L.value
|
|
3030
|
-
}) : (o(), p("span",
|
|
3031
|
-
L?.value === n(d) ? (o(),
|
|
3030
|
+
}) : (o(), p("span", Wo, C(L?.label || L?.value), 1)),
|
|
3031
|
+
L?.value === n(d) ? (o(), g(k, {
|
|
3032
3032
|
key: 2,
|
|
3033
3033
|
name: "tick",
|
|
3034
3034
|
size: "sm"
|
|
3035
|
-
})) :
|
|
3036
|
-
], 42,
|
|
3035
|
+
})) : v("", !0)
|
|
3036
|
+
], 42, Ho))), 128))
|
|
3037
3037
|
]),
|
|
3038
3038
|
f(_.$slots, "overlay")
|
|
3039
3039
|
])
|
|
3040
3040
|
]),
|
|
3041
|
-
default:
|
|
3042
|
-
|
|
3043
|
-
class:
|
|
3041
|
+
default: h(() => [
|
|
3042
|
+
y("div", {
|
|
3043
|
+
class: F(n(Z))
|
|
3044
3044
|
}, [
|
|
3045
|
-
e.label ? (o(), p("label",
|
|
3046
|
-
_.$slots.default ? f(_.$slots, "default", { key: 1 }) : (o(),
|
|
3045
|
+
e.label ? (o(), p("label", Oo, C(e.label), 1)) : v("", !0),
|
|
3046
|
+
_.$slots.default ? f(_.$slots, "default", { key: 1 }) : (o(), g(Me, {
|
|
3047
3047
|
key: 2,
|
|
3048
|
-
class:
|
|
3048
|
+
class: F({ "active-input": n(d)?.length }),
|
|
3049
3049
|
size: e.size,
|
|
3050
3050
|
placeholder: e?.placeholder,
|
|
3051
3051
|
prefixIcon: e?.prefixIcon,
|
|
3052
3052
|
avatarUrl: e?.avatarUrl,
|
|
3053
3053
|
type: n(m),
|
|
3054
3054
|
value: n(d),
|
|
3055
|
-
"onUpdate:value":
|
|
3055
|
+
"onUpdate:value": N[0] || (N[0] = (L) => K(d) ? d.value = L : null)
|
|
3056
3056
|
}, null, 8, ["class", "size", "placeholder", "prefixIcon", "avatarUrl", "type", "value"]))
|
|
3057
3057
|
], 2)
|
|
3058
3058
|
]),
|
|
@@ -3061,10 +3061,10 @@ const Ea = [
|
|
|
3061
3061
|
], 16));
|
|
3062
3062
|
}
|
|
3063
3063
|
});
|
|
3064
|
-
const
|
|
3064
|
+
const Go = {
|
|
3065
3065
|
name: "MaTabs"
|
|
3066
|
-
},
|
|
3067
|
-
...
|
|
3066
|
+
}, qa = /* @__PURE__ */ $({
|
|
3067
|
+
...Go,
|
|
3068
3068
|
props: {
|
|
3069
3069
|
activeKey: null,
|
|
3070
3070
|
animated: { type: Boolean, default: !1 },
|
|
@@ -3073,27 +3073,27 @@ const Ko = {
|
|
|
3073
3073
|
type: { default: "line" }
|
|
3074
3074
|
},
|
|
3075
3075
|
emits: ["update:activeKey"],
|
|
3076
|
-
setup(a, { emit:
|
|
3077
|
-
const e = a,
|
|
3076
|
+
setup(a, { emit: t }) {
|
|
3077
|
+
const e = a, s = c({
|
|
3078
3078
|
get() {
|
|
3079
3079
|
return e?.activeKey;
|
|
3080
3080
|
},
|
|
3081
3081
|
set(l) {
|
|
3082
|
-
|
|
3082
|
+
t("update:activeKey", l);
|
|
3083
3083
|
}
|
|
3084
3084
|
});
|
|
3085
|
-
return (l, i) => (o(),
|
|
3085
|
+
return (l, i) => (o(), g(n(tt), x({
|
|
3086
3086
|
class: "ak-tabs",
|
|
3087
3087
|
animated: e?.animated,
|
|
3088
3088
|
destroyInactiveTabPane: e?.destroyInactiveTabPane,
|
|
3089
3089
|
tabPosition: e?.tabPosition,
|
|
3090
3090
|
type: a.type,
|
|
3091
3091
|
"prefix-cls": "antd-tabs",
|
|
3092
|
-
activeKey: n(
|
|
3093
|
-
"onUpdate:activeKey": i[0] || (i[0] = (r) => K(
|
|
3092
|
+
activeKey: n(s),
|
|
3093
|
+
"onUpdate:activeKey": i[0] || (i[0] = (r) => K(s) ? s.value = r : null)
|
|
3094
3094
|
}, l.$attrs), O({
|
|
3095
|
-
moreIcon:
|
|
3096
|
-
|
|
3095
|
+
moreIcon: h(() => [
|
|
3096
|
+
B(k, {
|
|
3097
3097
|
name: "ellipsis-horizontal",
|
|
3098
3098
|
size: "xs"
|
|
3099
3099
|
})
|
|
@@ -3102,43 +3102,43 @@ const Ko = {
|
|
|
3102
3102
|
}, [
|
|
3103
3103
|
U(l.$slots, (r, u) => ({
|
|
3104
3104
|
name: u,
|
|
3105
|
-
fn:
|
|
3105
|
+
fn: h(() => [
|
|
3106
3106
|
f(l.$slots, u)
|
|
3107
3107
|
])
|
|
3108
3108
|
}))
|
|
3109
3109
|
]), 1040, ["animated", "destroyInactiveTabPane", "tabPosition", "type", "activeKey"]));
|
|
3110
3110
|
}
|
|
3111
3111
|
});
|
|
3112
|
-
const
|
|
3112
|
+
const Ha = [
|
|
3113
3113
|
"left",
|
|
3114
3114
|
"right",
|
|
3115
3115
|
"top",
|
|
3116
3116
|
"bottom"
|
|
3117
|
-
],
|
|
3117
|
+
], Wa = [
|
|
3118
3118
|
"card",
|
|
3119
3119
|
"line"
|
|
3120
|
-
],
|
|
3120
|
+
], Ka = [
|
|
3121
3121
|
"left",
|
|
3122
3122
|
"right"
|
|
3123
|
-
],
|
|
3123
|
+
], Ga = /* @__PURE__ */ $({
|
|
3124
3124
|
__name: "tabPane",
|
|
3125
3125
|
setup(a) {
|
|
3126
|
-
return (
|
|
3127
|
-
U(
|
|
3126
|
+
return (t, e) => (o(), g(n(st), x({ tab: "test" }, t.$attrs), O({ _: 2 }, [
|
|
3127
|
+
U(t.$slots, (s, l) => ({
|
|
3128
3128
|
name: l,
|
|
3129
|
-
fn:
|
|
3130
|
-
f(
|
|
3129
|
+
fn: h(() => [
|
|
3130
|
+
f(t.$slots, l)
|
|
3131
3131
|
])
|
|
3132
3132
|
}))
|
|
3133
3133
|
]), 1040));
|
|
3134
3134
|
}
|
|
3135
|
-
}),
|
|
3135
|
+
}), Jo = { class: "country-option" }, Zo = { class: "country-option__name" }, Yo = { class: "country-option__code" }, Xo = {
|
|
3136
3136
|
name: "MaCountrySelect"
|
|
3137
|
-
},
|
|
3138
|
-
...
|
|
3137
|
+
}, Ja = /* @__PURE__ */ $({
|
|
3138
|
+
...Xo,
|
|
3139
3139
|
props: {
|
|
3140
3140
|
value: null,
|
|
3141
|
-
filterFn: { type: Function, default: (a,
|
|
3141
|
+
filterFn: { type: Function, default: (a, t) => typeof name == "string" ? t.name.toLowerCase().search(a.toLowerCase()) > -1 : !0 },
|
|
3142
3142
|
countries: null,
|
|
3143
3143
|
size: { default: "small" },
|
|
3144
3144
|
showSearch: { type: Boolean, default: !0 },
|
|
@@ -3148,13 +3148,13 @@ const Oa = [
|
|
|
3148
3148
|
placeholder: null
|
|
3149
3149
|
},
|
|
3150
3150
|
emits: ["update:value", "change"],
|
|
3151
|
-
setup(a, { emit:
|
|
3152
|
-
const e = a,
|
|
3151
|
+
setup(a, { emit: t }) {
|
|
3152
|
+
const e = a, s = c({
|
|
3153
3153
|
get() {
|
|
3154
3154
|
return e.value;
|
|
3155
3155
|
},
|
|
3156
3156
|
set(r) {
|
|
3157
|
-
|
|
3157
|
+
t("update:value", r), t("change", r);
|
|
3158
3158
|
}
|
|
3159
3159
|
}), l = (r) => `flag-${r.toLowerCase()}`, i = c(() => [
|
|
3160
3160
|
"ma-country-select",
|
|
@@ -3162,7 +3162,7 @@ const Oa = [
|
|
|
3162
3162
|
"only-code": e.showSelectedCountryCode
|
|
3163
3163
|
}
|
|
3164
3164
|
]);
|
|
3165
|
-
return (r, u) => (o(),
|
|
3165
|
+
return (r, u) => (o(), g(we, x({
|
|
3166
3166
|
class: n(i),
|
|
3167
3167
|
size: e.size,
|
|
3168
3168
|
"show-search": e.showSearch,
|
|
@@ -3172,23 +3172,23 @@ const Oa = [
|
|
|
3172
3172
|
placeholder: e?.placeholder,
|
|
3173
3173
|
"dropdown-class-name": "country-select-dropdown"
|
|
3174
3174
|
}, r.$attrs, {
|
|
3175
|
-
value: n(
|
|
3176
|
-
"onUpdate:value": u[0] || (u[0] = (d) => K(
|
|
3175
|
+
value: n(s),
|
|
3176
|
+
"onUpdate:value": u[0] || (u[0] = (d) => K(s) ? s.value = d : null)
|
|
3177
3177
|
}), {
|
|
3178
|
-
default:
|
|
3179
|
-
(o(!0), p(q, null, U(e.countries, (d) => (o(),
|
|
3178
|
+
default: h(() => [
|
|
3179
|
+
(o(!0), p(q, null, U(e.countries, (d) => (o(), g(Wt, {
|
|
3180
3180
|
key: d.code,
|
|
3181
3181
|
name: d.name,
|
|
3182
3182
|
value: d.code
|
|
3183
3183
|
}, {
|
|
3184
|
-
default:
|
|
3185
|
-
|
|
3186
|
-
|
|
3184
|
+
default: h(() => [
|
|
3185
|
+
y("div", Jo, [
|
|
3186
|
+
B(k, {
|
|
3187
3187
|
name: l(d.code),
|
|
3188
3188
|
size: "sm"
|
|
3189
3189
|
}, null, 8, ["name"]),
|
|
3190
|
-
|
|
3191
|
-
|
|
3190
|
+
y("span", Zo, C(d.name), 1),
|
|
3191
|
+
y("span", Yo, C(d.code), 1)
|
|
3192
3192
|
])
|
|
3193
3193
|
]),
|
|
3194
3194
|
_: 2
|
|
@@ -3198,43 +3198,43 @@ const Oa = [
|
|
|
3198
3198
|
}, 16, ["class", "size", "show-search", "filter-option", "dropdown-match-select-width", "list-height", "placeholder", "value"]));
|
|
3199
3199
|
}
|
|
3200
3200
|
});
|
|
3201
|
-
const
|
|
3201
|
+
const Qo = {
|
|
3202
3202
|
key: 0,
|
|
3203
3203
|
class: "ak-card__header"
|
|
3204
|
-
},
|
|
3204
|
+
}, en = ["src"], tn = { class: "header-content" }, sn = {
|
|
3205
3205
|
key: 0,
|
|
3206
3206
|
class: "card-title"
|
|
3207
|
-
},
|
|
3207
|
+
}, on = {
|
|
3208
3208
|
key: 1,
|
|
3209
3209
|
class: "card-description"
|
|
3210
|
-
},
|
|
3210
|
+
}, nn = {
|
|
3211
3211
|
key: 2,
|
|
3212
3212
|
class: "header-actions"
|
|
3213
|
-
},
|
|
3213
|
+
}, an = {
|
|
3214
3214
|
key: 1,
|
|
3215
3215
|
class: "card-title"
|
|
3216
|
-
},
|
|
3216
|
+
}, ln = {
|
|
3217
3217
|
key: 2,
|
|
3218
3218
|
class: "card-description"
|
|
3219
|
-
},
|
|
3219
|
+
}, rn = {
|
|
3220
3220
|
key: 3,
|
|
3221
3221
|
class: "content-wrapper"
|
|
3222
|
-
},
|
|
3222
|
+
}, cn = {
|
|
3223
3223
|
key: 0,
|
|
3224
3224
|
class: "footer-content"
|
|
3225
|
-
},
|
|
3225
|
+
}, pn = {
|
|
3226
3226
|
key: 0,
|
|
3227
3227
|
class: "card-title"
|
|
3228
|
-
},
|
|
3228
|
+
}, un = {
|
|
3229
3229
|
key: 1,
|
|
3230
3230
|
class: "card-description"
|
|
3231
|
-
},
|
|
3231
|
+
}, dn = {
|
|
3232
3232
|
key: 1,
|
|
3233
3233
|
class: "footer-actions"
|
|
3234
|
-
},
|
|
3234
|
+
}, mn = {
|
|
3235
3235
|
name: "MaCard"
|
|
3236
|
-
},
|
|
3237
|
-
...
|
|
3236
|
+
}, Za = /* @__PURE__ */ $({
|
|
3237
|
+
...mn,
|
|
3238
3238
|
props: {
|
|
3239
3239
|
title: null,
|
|
3240
3240
|
description: null,
|
|
@@ -3250,8 +3250,8 @@ const Xo = {
|
|
|
3250
3250
|
size: { default: "default" }
|
|
3251
3251
|
},
|
|
3252
3252
|
emits: ["close", "update:collapse"],
|
|
3253
|
-
setup(a, { emit:
|
|
3254
|
-
const e = a,
|
|
3253
|
+
setup(a, { emit: t }) {
|
|
3254
|
+
const e = a, s = te(), l = c(() => [
|
|
3255
3255
|
` ak-card
|
|
3256
3256
|
ak-card--header-${e.headerAlignment}
|
|
3257
3257
|
icon-${e?.iconColor}
|
|
@@ -3270,54 +3270,54 @@ const Xo = {
|
|
|
3270
3270
|
}
|
|
3271
3271
|
]), d = c(
|
|
3272
3272
|
() => Boolean(
|
|
3273
|
-
e?.headerAvatar || e?.headerIcon || e?.title || e?.description ||
|
|
3273
|
+
e?.headerAvatar || e?.headerIcon || e?.title || e?.description || s?.headerPrefix || s?.title || s?.description || s?.headerActions || s?.headerContent || e?.collapsable
|
|
3274
3274
|
)
|
|
3275
3275
|
), m = c(
|
|
3276
3276
|
() => Boolean(
|
|
3277
|
-
e?.contentIcon ||
|
|
3277
|
+
e?.contentIcon || s?.contentTitle || s?.contentDescription || s?.default
|
|
3278
3278
|
)
|
|
3279
3279
|
), z = c(
|
|
3280
3280
|
() => Boolean(
|
|
3281
|
-
|
|
3281
|
+
s?.footerTitle || s?.footerDescription || s?.footerActions || s?.footer
|
|
3282
3282
|
)
|
|
3283
3283
|
), I = c({
|
|
3284
3284
|
get() {
|
|
3285
3285
|
return e.collapse;
|
|
3286
3286
|
},
|
|
3287
3287
|
set(b) {
|
|
3288
|
-
|
|
3288
|
+
t("update:collapse", b);
|
|
3289
3289
|
}
|
|
3290
3290
|
}), A = c(() => e.collapse ? "chevron-up" : "chevron-down"), T = () => {
|
|
3291
|
-
|
|
3291
|
+
t("close");
|
|
3292
3292
|
}, M = () => {
|
|
3293
3293
|
I.value = !I.value;
|
|
3294
3294
|
};
|
|
3295
|
-
return (b, S) => (o(), p("div",
|
|
3296
|
-
n(d) ? (o(), p("div",
|
|
3295
|
+
return (b, S) => (o(), p("div", x({ class: n(l) }, b.$attrs), [
|
|
3296
|
+
n(d) ? (o(), p("div", Qo, [
|
|
3297
3297
|
e?.headerAvatar ? (o(), p("img", {
|
|
3298
3298
|
key: 0,
|
|
3299
3299
|
src: e.headerAvatar,
|
|
3300
3300
|
class: "card-avatar"
|
|
3301
|
-
}, null, 8,
|
|
3302
|
-
e?.headerIcon ? (o(),
|
|
3301
|
+
}, null, 8, en)) : v("", !0),
|
|
3302
|
+
e?.headerIcon ? (o(), g(k, {
|
|
3303
3303
|
key: 1,
|
|
3304
3304
|
name: e.headerIcon,
|
|
3305
3305
|
class: "card-icon"
|
|
3306
|
-
}, null, 8, ["name"])) :
|
|
3307
|
-
|
|
3306
|
+
}, null, 8, ["name"])) : v("", !0),
|
|
3307
|
+
y("div", tn, [
|
|
3308
3308
|
e?.title || b.$slots?.title ? (o(), p("h1", sn, [
|
|
3309
|
-
D(
|
|
3309
|
+
D(C(e.title), 1),
|
|
3310
3310
|
f(b.$slots, "title")
|
|
3311
|
-
])) :
|
|
3312
|
-
e?.description || b.$slots.description ? (o(), p("p",
|
|
3313
|
-
D(
|
|
3311
|
+
])) : v("", !0),
|
|
3312
|
+
e?.description || b.$slots.description ? (o(), p("p", on, [
|
|
3313
|
+
D(C(e.description), 1),
|
|
3314
3314
|
f(b.$slots, "description")
|
|
3315
|
-
])) :
|
|
3315
|
+
])) : v("", !0),
|
|
3316
3316
|
f(b.$slots, "headerContent")
|
|
3317
3317
|
]),
|
|
3318
|
-
b.$slots?.headerActions || e?.closable || e?.collapsable ? (o(), p("div",
|
|
3318
|
+
b.$slots?.headerActions || e?.closable || e?.collapsable ? (o(), p("div", nn, [
|
|
3319
3319
|
f(b.$slots, "headerActions"),
|
|
3320
|
-
e?.collapsable ? (o(),
|
|
3320
|
+
e?.collapsable ? (o(), g(X, {
|
|
3321
3321
|
key: 0,
|
|
3322
3322
|
class: "collapse-button",
|
|
3323
3323
|
size: "small",
|
|
@@ -3326,7 +3326,7 @@ const Xo = {
|
|
|
3326
3326
|
variant: "plain",
|
|
3327
3327
|
onClick: M,
|
|
3328
3328
|
icon: n(A)
|
|
3329
|
-
}, null, 8, ["icon"])) : e?.closable ? (o(),
|
|
3329
|
+
}, null, 8, ["icon"])) : e?.closable ? (o(), g(X, {
|
|
3330
3330
|
key: 1,
|
|
3331
3331
|
class: "close-button",
|
|
3332
3332
|
size: "small",
|
|
@@ -3335,64 +3335,64 @@ const Xo = {
|
|
|
3335
3335
|
variant: "plain",
|
|
3336
3336
|
onClick: T,
|
|
3337
3337
|
icon: "close"
|
|
3338
|
-
})) :
|
|
3339
|
-
])) :
|
|
3340
|
-
])) :
|
|
3338
|
+
})) : v("", !0)
|
|
3339
|
+
])) : v("", !0)
|
|
3340
|
+
])) : v("", !0),
|
|
3341
3341
|
n(m) ? (o(), p("div", {
|
|
3342
3342
|
key: 1,
|
|
3343
|
-
class:
|
|
3343
|
+
class: F(n(r))
|
|
3344
3344
|
}, [
|
|
3345
|
-
e?.contentIcon ? (o(),
|
|
3345
|
+
e?.contentIcon ? (o(), g(k, {
|
|
3346
3346
|
key: 0,
|
|
3347
3347
|
name: e.contentIcon,
|
|
3348
3348
|
class: "card-icon"
|
|
3349
|
-
}, null, 8, ["name"])) :
|
|
3350
|
-
b.$slots.contentTitle ? (o(), p("h1",
|
|
3349
|
+
}, null, 8, ["name"])) : v("", !0),
|
|
3350
|
+
b.$slots.contentTitle ? (o(), p("h1", an, [
|
|
3351
3351
|
f(b.$slots, "contentTitle")
|
|
3352
|
-
])) :
|
|
3353
|
-
b.$slots.contentDescription ? (o(), p("p",
|
|
3352
|
+
])) : v("", !0),
|
|
3353
|
+
b.$slots.contentDescription ? (o(), p("p", ln, [
|
|
3354
3354
|
f(b.$slots, "contentDescription")
|
|
3355
|
-
])) :
|
|
3356
|
-
b.$slots.default ? (o(), p("div",
|
|
3355
|
+
])) : v("", !0),
|
|
3356
|
+
b.$slots.default ? (o(), p("div", rn, [
|
|
3357
3357
|
f(b.$slots, "default")
|
|
3358
|
-
])) :
|
|
3359
|
-
], 2)) :
|
|
3358
|
+
])) : v("", !0)
|
|
3359
|
+
], 2)) : v("", !0),
|
|
3360
3360
|
n(z) ? (o(), p("div", {
|
|
3361
3361
|
key: 2,
|
|
3362
|
-
class:
|
|
3362
|
+
class: F(n(u))
|
|
3363
3363
|
}, [
|
|
3364
|
-
b.$slots.footerTitle || b.$slots.footerDescription || b.$slots.footer ? (o(), p("div",
|
|
3365
|
-
b.$slots.footerTitle ? (o(), p("h1",
|
|
3364
|
+
b.$slots.footerTitle || b.$slots.footerDescription || b.$slots.footer ? (o(), p("div", cn, [
|
|
3365
|
+
b.$slots.footerTitle ? (o(), p("h1", pn, [
|
|
3366
3366
|
f(b.$slots, "footerTitle")
|
|
3367
|
-
])) :
|
|
3368
|
-
b.$slots.footerDescription ? (o(), p("p",
|
|
3367
|
+
])) : v("", !0),
|
|
3368
|
+
b.$slots.footerDescription ? (o(), p("p", un, [
|
|
3369
3369
|
f(b.$slots, "footerDescription")
|
|
3370
|
-
])) :
|
|
3370
|
+
])) : v("", !0),
|
|
3371
3371
|
f(b.$slots, "footer")
|
|
3372
|
-
])) :
|
|
3373
|
-
b.$slots.footerActions ? (o(), p("div",
|
|
3372
|
+
])) : v("", !0),
|
|
3373
|
+
b.$slots.footerActions ? (o(), p("div", dn, [
|
|
3374
3374
|
f(b.$slots, "footerActions")
|
|
3375
|
-
])) :
|
|
3376
|
-
], 2)) :
|
|
3375
|
+
])) : v("", !0)
|
|
3376
|
+
], 2)) : v("", !0)
|
|
3377
3377
|
], 16));
|
|
3378
3378
|
}
|
|
3379
3379
|
});
|
|
3380
|
-
const
|
|
3380
|
+
const Ya = [
|
|
3381
3381
|
"left",
|
|
3382
3382
|
"center"
|
|
3383
|
-
],
|
|
3383
|
+
], Xa = [
|
|
3384
3384
|
"small",
|
|
3385
3385
|
"default"
|
|
3386
|
-
],
|
|
3386
|
+
], Qa = [
|
|
3387
3387
|
"blue",
|
|
3388
3388
|
"green",
|
|
3389
3389
|
"orange",
|
|
3390
3390
|
"red",
|
|
3391
3391
|
"purple"
|
|
3392
|
-
],
|
|
3392
|
+
], gn = { key: 0 }, vn = { key: 0 }, fn = {
|
|
3393
3393
|
name: "MaInputNumber"
|
|
3394
|
-
},
|
|
3395
|
-
...
|
|
3394
|
+
}, el = /* @__PURE__ */ $({
|
|
3395
|
+
...fn,
|
|
3396
3396
|
props: {
|
|
3397
3397
|
disabled: { type: Boolean, default: !1 },
|
|
3398
3398
|
value: { default: 1e3 },
|
|
@@ -3418,13 +3418,13 @@ const Ja = [
|
|
|
3418
3418
|
"step",
|
|
3419
3419
|
"update:value"
|
|
3420
3420
|
],
|
|
3421
|
-
setup(a, { emit:
|
|
3422
|
-
const e = a,
|
|
3421
|
+
setup(a, { emit: t }) {
|
|
3422
|
+
const e = a, s = te(), l = c({
|
|
3423
3423
|
get() {
|
|
3424
3424
|
return isNaN(e?.value) ? "" : e.value;
|
|
3425
3425
|
},
|
|
3426
3426
|
set(d) {
|
|
3427
|
-
d = typeof d == "number" ? d : parseFloat(d),
|
|
3427
|
+
d = typeof d == "number" ? d : parseFloat(d), t("update:value", d), t("change", d);
|
|
3428
3428
|
}
|
|
3429
3429
|
}), i = c(() => [
|
|
3430
3430
|
`ak-input-number ak-input-number--${e.size}`,
|
|
@@ -3436,17 +3436,17 @@ const Ja = [
|
|
|
3436
3436
|
"ak-input-number--after": e?.addonAfter
|
|
3437
3437
|
},
|
|
3438
3438
|
{
|
|
3439
|
-
"ak-input-number--before-list":
|
|
3440
|
-
"ak-input-number--after-list":
|
|
3439
|
+
"ak-input-number--before-list": s?.addonBefore,
|
|
3440
|
+
"ak-input-number--after-list": s?.addonAfter
|
|
3441
3441
|
}
|
|
3442
3442
|
]), r = (d, m) => {
|
|
3443
|
-
l.value = d,
|
|
3443
|
+
l.value = d, t("step", d, m);
|
|
3444
3444
|
}, u = (d) => {
|
|
3445
|
-
|
|
3445
|
+
t("pressEnter", d);
|
|
3446
3446
|
};
|
|
3447
3447
|
return (d, m) => (o(), p("div", null, [
|
|
3448
|
-
|
|
3449
|
-
class:
|
|
3448
|
+
B(n(ot), {
|
|
3449
|
+
class: F(n(i)),
|
|
3450
3450
|
value: n(l),
|
|
3451
3451
|
"onUpdate:value": m[0] || (m[0] = (z) => K(l) ? l.value = z : null),
|
|
3452
3452
|
disabled: a.disabled,
|
|
@@ -3469,15 +3469,15 @@ const Ja = [
|
|
|
3469
3469
|
}, O({ _: 2 }, [
|
|
3470
3470
|
e.addonBefore || d.$slots?.addonBefore ? {
|
|
3471
3471
|
name: "addonBefore",
|
|
3472
|
-
fn:
|
|
3473
|
-
e.addonBefore ? (o(), p("span",
|
|
3472
|
+
fn: h(() => [
|
|
3473
|
+
e.addonBefore ? (o(), p("span", gn, C(e.addonBefore), 1)) : f(d.$slots, "addonBefore", { key: 1 })
|
|
3474
3474
|
]),
|
|
3475
3475
|
key: "0"
|
|
3476
3476
|
} : void 0,
|
|
3477
3477
|
e.addonAfter || d.$slots?.addonAfter ? {
|
|
3478
3478
|
name: "addonAfter",
|
|
3479
|
-
fn:
|
|
3480
|
-
e.addonAfter ? (o(), p("span",
|
|
3479
|
+
fn: h(() => [
|
|
3480
|
+
e.addonAfter ? (o(), p("span", vn, C(e.addonAfter), 1)) : f(d.$slots, "addonAfter", { key: 1 })
|
|
3481
3481
|
]),
|
|
3482
3482
|
key: "1"
|
|
3483
3483
|
} : void 0
|
|
@@ -3485,22 +3485,22 @@ const Ja = [
|
|
|
3485
3485
|
]));
|
|
3486
3486
|
}
|
|
3487
3487
|
});
|
|
3488
|
-
const
|
|
3488
|
+
const _n = ["visible"], hn = { class: "ak-drawer-content-wrapper" }, yn = { class: "ak-drawer-header-container" }, bn = { class: "ak-drawer-header-content" }, kn = {
|
|
3489
3489
|
key: 0,
|
|
3490
3490
|
class: "ak-drawer-header"
|
|
3491
|
-
},
|
|
3491
|
+
}, $n = {
|
|
3492
3492
|
key: 0,
|
|
3493
3493
|
class: "ak-drawer-header--title"
|
|
3494
|
-
},
|
|
3494
|
+
}, Cn = {
|
|
3495
3495
|
key: 1,
|
|
3496
3496
|
class: "ak-drawer-header--description"
|
|
3497
|
-
},
|
|
3497
|
+
}, wn = { class: "ak-drawer-content" }, Mn = {
|
|
3498
3498
|
key: 0,
|
|
3499
3499
|
class: "ak-drawer-footer"
|
|
3500
|
-
},
|
|
3500
|
+
}, Bn = {
|
|
3501
3501
|
name: "MaDrawer"
|
|
3502
|
-
},
|
|
3503
|
-
...
|
|
3502
|
+
}, tl = /* @__PURE__ */ $({
|
|
3503
|
+
...Bn,
|
|
3504
3504
|
props: {
|
|
3505
3505
|
placement: { default: "left" },
|
|
3506
3506
|
visible: { type: Boolean, default: !1 },
|
|
@@ -3511,13 +3511,13 @@ const fn = ["visible"], _n = { class: "ak-drawer-content-wrapper" }, hn = { clas
|
|
|
3511
3511
|
description: null
|
|
3512
3512
|
},
|
|
3513
3513
|
emits: ["update:visible"],
|
|
3514
|
-
setup(a, { emit:
|
|
3515
|
-
const e = a,
|
|
3514
|
+
setup(a, { emit: t }) {
|
|
3515
|
+
const e = a, s = c({
|
|
3516
3516
|
get() {
|
|
3517
3517
|
return e.visible;
|
|
3518
3518
|
},
|
|
3519
3519
|
set(u) {
|
|
3520
|
-
|
|
3520
|
+
t("update:visible", u);
|
|
3521
3521
|
}
|
|
3522
3522
|
}), l = c(() => [
|
|
3523
3523
|
`
|
|
@@ -3528,178 +3528,304 @@ const fn = ["visible"], _n = { class: "ak-drawer-content-wrapper" }, hn = { clas
|
|
|
3528
3528
|
"ak-drawer--open": e.visible
|
|
3529
3529
|
}
|
|
3530
3530
|
]), i = () => {
|
|
3531
|
-
|
|
3531
|
+
t("update:visible", !1);
|
|
3532
3532
|
}, r = (u) => {
|
|
3533
3533
|
u.key === "Escape" && i();
|
|
3534
3534
|
};
|
|
3535
3535
|
return ae(() => {
|
|
3536
3536
|
document.addEventListener("keydown", r);
|
|
3537
|
-
}),
|
|
3537
|
+
}), ke(() => {
|
|
3538
3538
|
document.removeEventListener("keydown", r);
|
|
3539
|
-
}), (u, d) => (o(), p("div",
|
|
3539
|
+
}), (u, d) => (o(), p("div", x(u.$attrs, {
|
|
3540
3540
|
class: n(l),
|
|
3541
|
-
visible: n(
|
|
3541
|
+
visible: n(s)
|
|
3542
3542
|
}), [
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
u.$slots?.header ? (o(), p("div",
|
|
3543
|
+
y("div", hn, [
|
|
3544
|
+
y("div", yn, [
|
|
3545
|
+
y("div", bn, [
|
|
3546
|
+
u.$slots?.header ? (o(), p("div", kn, [
|
|
3547
3547
|
f(u.$slots, "header", {}, () => [
|
|
3548
|
-
e.title ? (o(), p("div",
|
|
3549
|
-
|
|
3550
|
-
])) :
|
|
3551
|
-
e.description ? (o(), p("div",
|
|
3552
|
-
|
|
3553
|
-
])) :
|
|
3548
|
+
e.title ? (o(), p("div", $n, [
|
|
3549
|
+
y("h1", null, C(e?.title), 1)
|
|
3550
|
+
])) : v("", !0),
|
|
3551
|
+
e.description ? (o(), p("div", Cn, [
|
|
3552
|
+
y("p", null, C(e?.description), 1)
|
|
3553
|
+
])) : v("", !0)
|
|
3554
3554
|
])
|
|
3555
|
-
])) :
|
|
3555
|
+
])) : v("", !0)
|
|
3556
3556
|
]),
|
|
3557
|
-
|
|
3557
|
+
y("button", {
|
|
3558
3558
|
class: "ak-drawer-close-button",
|
|
3559
3559
|
onClick: i
|
|
3560
3560
|
}, [
|
|
3561
|
-
|
|
3561
|
+
B(k, {
|
|
3562
3562
|
name: "close",
|
|
3563
3563
|
size: "md"
|
|
3564
3564
|
})
|
|
3565
3565
|
])
|
|
3566
3566
|
]),
|
|
3567
|
-
|
|
3567
|
+
y("div", wn, [
|
|
3568
3568
|
f(u.$slots, "content")
|
|
3569
3569
|
]),
|
|
3570
|
-
u.$slots?.footer ? (o(), p("div",
|
|
3570
|
+
u.$slots?.footer ? (o(), p("div", Mn, [
|
|
3571
3571
|
f(u.$slots, "footer")
|
|
3572
|
-
])) :
|
|
3572
|
+
])) : v("", !0)
|
|
3573
3573
|
])
|
|
3574
|
-
], 16,
|
|
3574
|
+
], 16, _n));
|
|
3575
|
+
}
|
|
3576
|
+
});
|
|
3577
|
+
const he = /* @__PURE__ */ $({
|
|
3578
|
+
__name: "button",
|
|
3579
|
+
props: {
|
|
3580
|
+
type: { default: "primary" },
|
|
3581
|
+
icon: null,
|
|
3582
|
+
href: null,
|
|
3583
|
+
target: null,
|
|
3584
|
+
size: null,
|
|
3585
|
+
active: { type: Boolean, default: !1 },
|
|
3586
|
+
activeIcon: null,
|
|
3587
|
+
rounded: { type: Boolean },
|
|
3588
|
+
variant: null
|
|
3589
|
+
},
|
|
3590
|
+
setup(a) {
|
|
3591
|
+
const t = a, e = E(!1), s = c(() => [
|
|
3592
|
+
"ma-icon-button",
|
|
3593
|
+
`ma-icon-button--${t.type}`,
|
|
3594
|
+
`ma-icon-button--${t.size}`,
|
|
3595
|
+
`ma-icon-button--${t.variant}`,
|
|
3596
|
+
{
|
|
3597
|
+
"ma-icon-button--active": t?.active
|
|
3598
|
+
},
|
|
3599
|
+
{
|
|
3600
|
+
"ma-icon-button--rounded": t?.rounded
|
|
3601
|
+
}
|
|
3602
|
+
]), l = c(() => t?.href ? "a" : "button"), i = c(() => t?.activeIcon || `${t.icon}-bulk`), r = c(() => e.value || t.active), u = c(() => {
|
|
3603
|
+
switch (t.size) {
|
|
3604
|
+
case "lg":
|
|
3605
|
+
return "md";
|
|
3606
|
+
case "xs":
|
|
3607
|
+
return "xs";
|
|
3608
|
+
}
|
|
3609
|
+
return "sm";
|
|
3610
|
+
}), d = () => e.value = !0, m = () => e.value = !1;
|
|
3611
|
+
return (z, I) => (o(), g(ee(n(l)), x({
|
|
3612
|
+
onMousedown: d,
|
|
3613
|
+
onMouseup: m,
|
|
3614
|
+
class: n(s),
|
|
3615
|
+
href: t?.href,
|
|
3616
|
+
target: t?.target
|
|
3617
|
+
}, z.$attrs), {
|
|
3618
|
+
default: h(() => [
|
|
3619
|
+
G(B(k, {
|
|
3620
|
+
size: n(u),
|
|
3621
|
+
name: n(i)
|
|
3622
|
+
}, null, 8, ["size", "name"]), [
|
|
3623
|
+
[J, n(r)]
|
|
3624
|
+
]),
|
|
3625
|
+
G(B(k, {
|
|
3626
|
+
size: n(u),
|
|
3627
|
+
name: t.icon
|
|
3628
|
+
}, null, 8, ["size", "name"]), [
|
|
3629
|
+
[J, !n(r)]
|
|
3630
|
+
]),
|
|
3631
|
+
f(z.$slots, "default")
|
|
3632
|
+
]),
|
|
3633
|
+
_: 3
|
|
3634
|
+
}, 16, ["class", "href", "target"]));
|
|
3635
|
+
}
|
|
3636
|
+
}), xn = {
|
|
3637
|
+
name: "MaIconButton"
|
|
3638
|
+
}, sl = /* @__PURE__ */ $({
|
|
3639
|
+
...xn,
|
|
3640
|
+
props: {
|
|
3641
|
+
type: { default: "primary" },
|
|
3642
|
+
icon: null,
|
|
3643
|
+
activeIcon: null,
|
|
3644
|
+
tooltipText: null,
|
|
3645
|
+
href: null,
|
|
3646
|
+
target: null,
|
|
3647
|
+
size: { default: "md" },
|
|
3648
|
+
active: { type: Boolean, default: !1 },
|
|
3649
|
+
rounded: { type: Boolean, default: !1 },
|
|
3650
|
+
variant: null
|
|
3651
|
+
},
|
|
3652
|
+
setup(a) {
|
|
3653
|
+
const t = a, e = te(), s = c(() => t?.tooltipText || e.tooltip), l = c(() => `ma-icon-button-tooltip ma-icon-button-tooltip--${t.size}`);
|
|
3654
|
+
return (i, r) => n(s) ? (o(), g(le, {
|
|
3655
|
+
key: 0,
|
|
3656
|
+
overlayClassName: n(l),
|
|
3657
|
+
title: t?.tooltipText,
|
|
3658
|
+
type: "primary",
|
|
3659
|
+
placement: "bottomLeft"
|
|
3660
|
+
}, {
|
|
3661
|
+
title: h(() => [
|
|
3662
|
+
f(i.$slots, "tooltip")
|
|
3663
|
+
]),
|
|
3664
|
+
default: h(() => [
|
|
3665
|
+
B(he, {
|
|
3666
|
+
active: t.active,
|
|
3667
|
+
size: t.size,
|
|
3668
|
+
type: t.type,
|
|
3669
|
+
activeIcon: t.activeIcon,
|
|
3670
|
+
icon: t.icon,
|
|
3671
|
+
href: t?.href,
|
|
3672
|
+
target: t?.target,
|
|
3673
|
+
rounded: t?.rounded,
|
|
3674
|
+
variant: t?.variant
|
|
3675
|
+
}, {
|
|
3676
|
+
default: h(() => [
|
|
3677
|
+
f(i.$slots, "default")
|
|
3678
|
+
]),
|
|
3679
|
+
_: 3
|
|
3680
|
+
}, 8, ["active", "size", "type", "activeIcon", "icon", "href", "target", "rounded", "variant"])
|
|
3681
|
+
]),
|
|
3682
|
+
_: 3
|
|
3683
|
+
}, 8, ["overlayClassName", "title"])) : (o(), g(he, {
|
|
3684
|
+
key: 1,
|
|
3685
|
+
active: t.active,
|
|
3686
|
+
size: t.size,
|
|
3687
|
+
type: t.type,
|
|
3688
|
+
activeIcon: t.activeIcon,
|
|
3689
|
+
icon: t.icon,
|
|
3690
|
+
href: t?.href,
|
|
3691
|
+
target: t?.target,
|
|
3692
|
+
rounded: t?.rounded,
|
|
3693
|
+
variant: t?.variant
|
|
3694
|
+
}, {
|
|
3695
|
+
default: h(() => [
|
|
3696
|
+
f(i.$slots, "default")
|
|
3697
|
+
]),
|
|
3698
|
+
_: 3
|
|
3699
|
+
}, 8, ["active", "size", "type", "activeIcon", "icon", "href", "target", "rounded", "variant"]));
|
|
3575
3700
|
}
|
|
3576
3701
|
});
|
|
3577
|
-
class
|
|
3578
|
-
config =
|
|
3702
|
+
class zn {
|
|
3703
|
+
config = De({
|
|
3579
3704
|
language: "en"
|
|
3580
3705
|
});
|
|
3581
|
-
setConfig(
|
|
3582
|
-
for (const e in
|
|
3583
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
3584
|
-
const
|
|
3585
|
-
this.config[
|
|
3706
|
+
setConfig(t) {
|
|
3707
|
+
for (const e in t)
|
|
3708
|
+
if (Object.prototype.hasOwnProperty.call(t, e)) {
|
|
3709
|
+
const s = e;
|
|
3710
|
+
this.config[s] = t[s];
|
|
3586
3711
|
}
|
|
3587
3712
|
}
|
|
3588
3713
|
getConfig() {
|
|
3589
|
-
return
|
|
3714
|
+
return Le(this.config);
|
|
3590
3715
|
}
|
|
3591
|
-
setLanguage(
|
|
3592
|
-
this.config.language =
|
|
3716
|
+
setLanguage(t) {
|
|
3717
|
+
this.config.language = t;
|
|
3593
3718
|
}
|
|
3594
3719
|
getLanguage() {
|
|
3595
3720
|
return this.config.language;
|
|
3596
3721
|
}
|
|
3597
3722
|
}
|
|
3598
|
-
const
|
|
3599
|
-
function
|
|
3600
|
-
return
|
|
3723
|
+
const In = new zn();
|
|
3724
|
+
function ol() {
|
|
3725
|
+
return Ee(In.getConfig());
|
|
3601
3726
|
}
|
|
3602
3727
|
export {
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3728
|
+
In as ActionKitConfig,
|
|
3729
|
+
_a as Animations,
|
|
3730
|
+
ia as AppIconPlatforms,
|
|
3731
|
+
la as AppIconSizes,
|
|
3732
|
+
En as ButtonIconAlignMents,
|
|
3733
|
+
Dn as ButtonShapes,
|
|
3734
|
+
it as ButtonSizes,
|
|
3735
|
+
Ln as ButtonTargets,
|
|
3736
|
+
Nn as ButtonTypes,
|
|
3737
|
+
Pn as ButtonVariants,
|
|
3738
|
+
ga as MaAlert,
|
|
3739
|
+
fa as MaAlertPropTypes,
|
|
3740
|
+
va as MaAlertPropVariants,
|
|
3741
|
+
ys as MaAnimation,
|
|
3742
|
+
aa as MaAppIcon,
|
|
3743
|
+
na as MaAppTrackButton,
|
|
3744
|
+
Oa as MaAutoComplete,
|
|
3745
|
+
fs as MaBadge,
|
|
3746
|
+
ma as MaBadgePropIconAlignments,
|
|
3747
|
+
da as MaBadgePropSizes,
|
|
3748
|
+
ua as MaBadgePropTypes,
|
|
3749
|
+
pa as MaBadgePropVariants,
|
|
3750
|
+
X as MaButton,
|
|
3751
|
+
Za as MaCard,
|
|
3752
|
+
Ya as MaCardAlignments,
|
|
3753
|
+
Qa as MaCardIconColors,
|
|
3754
|
+
Xa as MaCardSizes,
|
|
3755
|
+
ea as MaCheckbox,
|
|
3756
|
+
ta as MaCheckboxGroup,
|
|
3757
|
+
Ja as MaCountrySelect,
|
|
3758
|
+
tl as MaDrawer,
|
|
3759
|
+
Ls as MaDropdown,
|
|
3760
|
+
wa as MaDropdownPlacements,
|
|
3761
|
+
Ma as MaDropdownTriggers,
|
|
3762
|
+
za as MaEmpty,
|
|
3638
3763
|
_e as MaEmptyIcons,
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3764
|
+
Ba as MaEmptySizes,
|
|
3765
|
+
xa as MaEmptyVariants,
|
|
3766
|
+
Gn as MaForm,
|
|
3767
|
+
Jn as MaFormItem,
|
|
3768
|
+
Zn as MaFormLayouts,
|
|
3644
3769
|
k as MaIcon,
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3770
|
+
sl as MaIconButton,
|
|
3771
|
+
nt as MaIconSizeClassNames,
|
|
3772
|
+
Tn as MaIconSizes,
|
|
3773
|
+
Me as MaInput,
|
|
3774
|
+
Yn as MaInputCurrency,
|
|
3775
|
+
el as MaInputNumber,
|
|
3776
|
+
zt as MaInputSize,
|
|
3777
|
+
Y as MaInputType,
|
|
3652
3778
|
ve as MaModal,
|
|
3653
3779
|
ge as MaModalTypeIcon,
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3780
|
+
ha as MaModalTypes,
|
|
3781
|
+
sa as MaNumericInput,
|
|
3782
|
+
Fa as MaProgress,
|
|
3783
|
+
Va as MaProgressCircleSizes,
|
|
3784
|
+
Ua as MaProgressColors,
|
|
3785
|
+
ja as MaProgressPercentAlignments,
|
|
3786
|
+
Ra as MaProgressTypes,
|
|
3787
|
+
Qt as MaRadio,
|
|
3788
|
+
ra as MaRadioGroup,
|
|
3789
|
+
ca as MaRadioTypes,
|
|
3790
|
+
ya as MaRate,
|
|
3791
|
+
ka as MaRateColors,
|
|
3792
|
+
ba as MaRateSizes,
|
|
3793
|
+
we as MaSelect,
|
|
3794
|
+
Wt as MaSelectOption,
|
|
3795
|
+
Ea as MaSideMenuAddNewAppButton,
|
|
3796
|
+
La as MaSideMenuAppButton,
|
|
3797
|
+
Aa as MaSideMenuButton,
|
|
3798
|
+
Pa as MaSideMenuIconButton,
|
|
3799
|
+
Ta as MaSideMenuItem,
|
|
3800
|
+
Na as MaSideMenuItemColors,
|
|
3801
|
+
Da as MaSideMenuRoundIconButton,
|
|
3676
3802
|
fe as MaSpin,
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3803
|
+
Ca as MaSpinColors,
|
|
3804
|
+
$a as MaSpinTypes,
|
|
3805
|
+
On as MaSwitch,
|
|
3806
|
+
Ka as MaTabIconAlignMents,
|
|
3807
|
+
Ga as MaTabPane,
|
|
3808
|
+
Ha as MaTabPositions,
|
|
3809
|
+
Wa as MaTabTypes,
|
|
3810
|
+
qa as MaTabs,
|
|
3811
|
+
Vn as MaToggle,
|
|
3812
|
+
le as MaTooltip,
|
|
3813
|
+
Fn as MaTrackButton,
|
|
3814
|
+
Sa as MaUpload,
|
|
3689
3815
|
W as MaUploadFileStatus,
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3816
|
+
Vs as MaUploadSizes,
|
|
3817
|
+
Ia as MaUploadTypes,
|
|
3818
|
+
oa as NumericInputSizes,
|
|
3819
|
+
Qn as SelectModes,
|
|
3820
|
+
Xn as SelectSizes,
|
|
3821
|
+
qn as SwitchTypes,
|
|
3822
|
+
jn as ToggleSizes,
|
|
3823
|
+
Hn as TooltipPlacements,
|
|
3824
|
+
Kn as TooltipTriggerTypes,
|
|
3825
|
+
Wn as TooltipTypes,
|
|
3826
|
+
Un as TrackButtonSizes,
|
|
3827
|
+
Rn as TrackButtonVariants,
|
|
3828
|
+
St as currencyOptions,
|
|
3829
|
+
It as currencySymbols,
|
|
3830
|
+
ol as useActionKitConfig
|
|
3705
3831
|
};
|