@mobileaction/action-kit 1.1.22 → 1.1.24
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 +3 -3
- package/dist/action-kit.mjs +1429 -906
- package/dist/add-app-c6cfc484.mjs +16 -0
- package/dist/add-app-ca2d1245.js +1 -0
- package/dist/box-empty-2e81a600.js +1 -0
- package/dist/box-empty-c7e5e478.mjs +39 -0
- package/dist/close-circle-bulk-49febd0e.mjs +24 -0
- package/dist/close-circle-bulk-b52bdb88.js +1 -0
- package/dist/components/button/index.vue.d.ts +3 -3
- package/dist/components/dropdown/index.vue.d.ts +81 -0
- package/dist/components/dropdown/types.d.ts +4 -0
- package/dist/components/empty/index.vue.d.ts +51 -0
- package/dist/components/empty/types.d.ts +7 -0
- package/dist/components/modal/index.vue.d.ts +1 -1
- package/dist/components/spin/index.vue.d.ts +45 -0
- package/dist/components/spin/types.d.ts +4 -0
- package/dist/components/tooltip/index.vue.d.ts +3 -3
- package/dist/components/upload/composables/file.d.ts +7 -0
- package/dist/components/upload/index.vue.d.ts +203 -0
- package/dist/components/upload/singleFile.vue.d.ts +38 -0
- package/dist/components/upload/types.d.ts +17 -0
- package/dist/document-bulk-1d978376.mjs +24 -0
- package/dist/document-bulk-86acdc42.js +1 -0
- package/dist/empty-table-41155dd6.mjs +16 -0
- package/dist/empty-table-855edce8.js +1 -0
- package/dist/export-2-6595b6fa.mjs +22 -0
- package/dist/export-2-69f06f16.js +1 -0
- package/dist/export-2-bold-5629dc36.js +1 -0
- package/dist/export-2-bold-8832fb34.mjs +19 -0
- package/dist/export-2-bulk-25deffb0.mjs +24 -0
- package/dist/export-2-bulk-e71812db.js +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/selection-08a9c952.mjs +16 -0
- package/dist/selection-f5ae8ebf.js +1 -0
- package/dist/spin-dots-25d015b7.mjs +16 -0
- package/dist/spin-dots-388f853c.js +1 -0
- package/dist/spin-round-23788f05.js +1 -0
- package/dist/spin-round-9db617b7.mjs +26 -0
- package/dist/spin-three-circles-00b10e29.js +1 -0
- package/dist/spin-three-circles-13ae8650.mjs +33 -0
- package/dist/spin-three-dots-7cdf047c.js +1 -0
- package/dist/spin-three-dots-c116245e.mjs +36 -0
- package/dist/src/components/button/index.vue.d.ts +1 -1
- package/dist/src/components/dropdown/index.vue.d.ts +54 -0
- package/dist/src/components/dropdown/stories/constants.d.ts +4 -0
- package/dist/src/components/dropdown/stories/default.stories.d.ts +6 -0
- package/dist/src/components/dropdown/types.d.ts +4 -0
- package/dist/src/components/empty/index.vue.d.ts +39 -0
- package/dist/src/components/empty/stories/constants.d.ts +4 -0
- package/dist/src/components/empty/stories/default.stories.d.ts +6 -0
- package/dist/src/components/empty/types.d.ts +7 -0
- package/dist/src/components/modal/index.vue.d.ts +1 -1
- package/dist/src/components/spin/index.vue.d.ts +41 -0
- package/dist/src/components/spin/stories/constants.d.ts +5 -0
- package/dist/src/components/spin/stories/container.stories.d.ts +6 -0
- package/dist/src/components/spin/stories/default.stories.d.ts +6 -0
- package/dist/src/components/spin/types.d.ts +4 -0
- package/dist/src/components/tooltip/index.vue.d.ts +1 -1
- package/dist/src/components/upload/composables/file.d.ts +7 -0
- package/dist/src/components/upload/index.vue.d.ts +72 -0
- package/dist/src/components/upload/singleFile.vue.d.ts +25 -0
- package/dist/src/components/upload/stories/box.stories.d.ts +11 -0
- package/dist/src/components/upload/stories/button.stories.d.ts +6 -0
- package/dist/src/components/upload/stories/constants.d.ts +6 -0
- package/dist/src/components/upload/stories/small-box.stories.d.ts +6 -0
- package/dist/src/components/upload/types.d.ts +17 -0
- package/dist/src/index.d.ts +8 -0
- package/dist/style.css +1 -1
- package/dist/trash-bulk-034c6526.js +1 -0
- package/dist/trash-bulk-89ab0a45.mjs +30 -0
- package/dist/upload-bulk-4dd4fc57.js +1 -0
- package/dist/upload-bulk-c4de9af1.mjs +24 -0
- package/package.json +1 -1
package/dist/action-kit.mjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Button as
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
return
|
|
6
|
-
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
1
|
+
import { defineComponent as $, computed as c, defineAsyncComponent as be, openBlock as a, createBlock as m, resolveDynamicComponent as ue, unref as t, normalizeClass as P, mergeProps as I, createSlots as O, renderList as L, withCtx as f, renderSlot as k, createVNode as B, createTextVNode as U, toDisplayString as C, createElementBlock as d, isRef as W, createCommentVNode as y, createElementVNode as b, ref as F, Fragment as H, useSlots as Q, useAttrs as ke, watch as X, Transition as de, onMounted as me, onBeforeUnmount as $e, normalizeStyle as ge, h as we, createApp as Ce, onUnmounted as xe, withDirectives as Me, withModifiers as ze, vShow as Be, reactive as Ie, readonly as Se, toRefs as Te } from "vue";
|
|
2
|
+
import { Button as ve, Switch as Ae, Tooltip as Ne, Form as Re, FormItem as De, Avatar as Fe, Select as Pe, InputPassword as Le, Input as Ee, Textarea as Ve, SelectOption as je, Checkbox as qe, CheckboxGroup as Ue, Radio as Oe, RadioGroup as He, Alert as Ge, Modal as Ke, Dropdown as We } from "ant-design-vue";
|
|
3
|
+
const oe = (n, o) => {
|
|
4
|
+
const e = n[o];
|
|
5
|
+
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((s, i) => {
|
|
6
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(i.bind(null, new Error("Unknown variable dynamic import: " + o)));
|
|
7
7
|
});
|
|
8
|
-
},
|
|
8
|
+
}, Qs = ["xs", "sm", "md", "lg", "xl"], Je = {
|
|
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
|
+
}, Ye = {
|
|
15
15
|
name: "MaIcon"
|
|
16
|
-
},
|
|
17
|
-
...
|
|
16
|
+
}, w = /* @__PURE__ */ $({
|
|
17
|
+
...Ye,
|
|
18
18
|
props: {
|
|
19
19
|
name: null,
|
|
20
20
|
size: { default: "md" },
|
|
21
21
|
spin: { type: Boolean }
|
|
22
22
|
},
|
|
23
|
-
setup(
|
|
24
|
-
const
|
|
25
|
-
() =>
|
|
23
|
+
setup(n) {
|
|
24
|
+
const o = n, e = ["flag", "pay"], s = c(
|
|
25
|
+
() => be(
|
|
26
26
|
function() {
|
|
27
|
-
const
|
|
28
|
-
return a ? E(/* @__PURE__ */ Object.assign({ "./icons/flag/ad.svg": () => import("./ad-4f15339c.mjs"), "./icons/flag/ae.svg": () => import("./ae-0c29895c.mjs"), "./icons/flag/af.svg": () => import("./af-7c75f32c.mjs"), "./icons/flag/ag.svg": () => import("./ag-8a9bc70d.mjs"), "./icons/flag/ai.svg": () => import("./ai-92607296.mjs"), "./icons/flag/al.svg": () => import("./al-2451ab6a.mjs"), "./icons/flag/am.svg": () => import("./am-75ea01bf.mjs"), "./icons/flag/ao.svg": () => import("./ao-a5e4ad75.mjs"), "./icons/flag/ar.svg": () => import("./ar-a85b3f63.mjs"), "./icons/flag/as.svg": () => import("./as-7fa7e75d.mjs"), "./icons/flag/at.svg": () => import("./at-a7ba217a.mjs"), "./icons/flag/au.svg": () => import("./au-d199493b.mjs"), "./icons/flag/aw.svg": () => import("./aw-442c8572.mjs"), "./icons/flag/ax.svg": () => import("./ax-0714c25a.mjs"), "./icons/flag/az.svg": () => import("./az-199c77dc.mjs"), "./icons/flag/ba.svg": () => import("./ba-d2b7851d.mjs"), "./icons/flag/bb.svg": () => import("./bb-a8e49d76.mjs"), "./icons/flag/bd.svg": () => import("./bd-c63eb19f.mjs"), "./icons/flag/be.svg": () => import("./be-035c22e5.mjs"), "./icons/flag/bf.svg": () => import("./bf-347fcd2e.mjs"), "./icons/flag/bg.svg": () => import("./bg-d3a7da79.mjs"), "./icons/flag/bh.svg": () => import("./bh-c1690810.mjs"), "./icons/flag/bi.svg": () => import("./bi-adcc107b.mjs"), "./icons/flag/bj.svg": () => import("./bj-dd1424a3.mjs"), "./icons/flag/bl.svg": () => import("./bl-a9d0a40c.mjs"), "./icons/flag/bm.svg": () => import("./bm-76f51599.mjs"), "./icons/flag/bn.svg": () => import("./bn-aaa1c0ed.mjs"), "./icons/flag/bo.svg": () => import("./bo-6cec387a.mjs"), "./icons/flag/bq.svg": () => import("./bq-ce9bb442.mjs"), "./icons/flag/bq1.svg": () => import("./bq1-3a6921e5.mjs"), "./icons/flag/bq2.svg": () => import("./bq2-40b46acf.mjs"), "./icons/flag/br.svg": () => import("./br-0cf5492d.mjs"), "./icons/flag/bs.svg": () => import("./bs-89a8fc9a.mjs"), "./icons/flag/bt.svg": () => import("./bt-3ae1d227.mjs"), "./icons/flag/bw.svg": () => import("./bw-a5c65923.mjs"), "./icons/flag/by.svg": () => import("./by-2512965b.mjs"), "./icons/flag/bz.svg": () => import("./bz-8a265bec.mjs"), "./icons/flag/ca.svg": () => import("./ca-cacac026.mjs"), "./icons/flag/cc.svg": () => import("./cc-47939b86.mjs"), "./icons/flag/cd.svg": () => import("./cd-7fc590d2.mjs"), "./icons/flag/cd1.svg": () => import("./cd1-df53c8e1.mjs"), "./icons/flag/cf.svg": () => import("./cf-a60682d6.mjs"), "./icons/flag/ch.svg": () => import("./ch-462979fb.mjs"), "./icons/flag/ck.svg": () => import("./ck-c0c38e87.mjs"), "./icons/flag/cl.svg": () => import("./cl-d02807e7.mjs"), "./icons/flag/cm.svg": () => import("./cm-f951bab7.mjs"), "./icons/flag/cn.svg": () => import("./cn-63577685.mjs"), "./icons/flag/co.svg": () => import("./co-fb5ccff6.mjs"), "./icons/flag/cr.svg": () => import("./cr-c910bfa7.mjs"), "./icons/flag/cu.svg": () => import("./cu-154b8ef9.mjs"), "./icons/flag/cw.svg": () => import("./cw-61a8201a.mjs"), "./icons/flag/cx.svg": () => import("./cx-e5e88bca.mjs"), "./icons/flag/cy.svg": () => import("./cy-1edc9aca.mjs"), "./icons/flag/cz.svg": () => import("./cz-e30da26a.mjs"), "./icons/flag/de.svg": () => import("./de-5cfe1c09.mjs"), "./icons/flag/dj.svg": () => import("./dj-71a46a73.mjs"), "./icons/flag/dk.svg": () => import("./dk-2ffa3eab.mjs"), "./icons/flag/dm.svg": () => import("./dm-c8a641fc.mjs"), "./icons/flag/do.svg": () => import("./do-87d001de.mjs"), "./icons/flag/ds.svg": () => import("./ds-e65319d3.mjs"), "./icons/flag/dz.svg": () => import("./dz-d3b4c36e.mjs"), "./icons/flag/ec.svg": () => import("./ec-95bd8870.mjs"), "./icons/flag/ee.svg": () => import("./ee-faab8887.mjs"), "./icons/flag/eg.svg": () => import("./eg-e80c8056.mjs"), "./icons/flag/eh.svg": () => import("./eh-6afd9f94.mjs"), "./icons/flag/er.svg": () => import("./er-db994cbe.mjs"), "./icons/flag/es.svg": () => import("./es-3a635fca.mjs"), "./icons/flag/et.svg": () => import("./et-2ef41cdc.mjs"), "./icons/flag/fi.svg": () => import("./fi-9dd89328.mjs"), "./icons/flag/fj.svg": () => import("./fj-069f4655.mjs"), "./icons/flag/fk.svg": () => import("./fk-357e668b.mjs"), "./icons/flag/fm.svg": () => import("./fm-530a75f5.mjs"), "./icons/flag/fo.svg": () => import("./fo-28059777.mjs"), "./icons/flag/fr.svg": () => import("./fr-d328744f.mjs"), "./icons/flag/ga.svg": () => import("./ga-58e834f0.mjs"), "./icons/flag/gb-2.svg": () => import("./gb-2-e062951f.mjs"), "./icons/flag/gb.svg": () => import("./gb-67cdddfd.mjs"), "./icons/flag/gd.svg": () => import("./gd-c1bed1a8.mjs"), "./icons/flag/ge.svg": () => import("./ge-825ed87e.mjs"), "./icons/flag/gg.svg": () => import("./gg-6c4f9db5.mjs"), "./icons/flag/gh.svg": () => import("./gh-75d97c21.mjs"), "./icons/flag/gi.svg": () => import("./gi-67623541.mjs"), "./icons/flag/gl.svg": () => import("./gl-07791901.mjs"), "./icons/flag/gm.svg": () => import("./gm-f720b114.mjs"), "./icons/flag/gn.svg": () => import("./gn-38e65105.mjs"), "./icons/flag/gq.svg": () => import("./gq-f03057f5.mjs"), "./icons/flag/gr.svg": () => import("./gr-d657be09.mjs"), "./icons/flag/gt.svg": () => import("./gt-37fec00e.mjs"), "./icons/flag/gu.svg": () => import("./gu-25f495b3.mjs"), "./icons/flag/gw.svg": () => import("./gw-49b63aa6.mjs"), "./icons/flag/gy.svg": () => import("./gy-c3195dee.mjs"), "./icons/flag/hk.svg": () => import("./hk-203ee074.mjs"), "./icons/flag/hn.svg": () => import("./hn-f935c53c.mjs"), "./icons/flag/hr.svg": () => import("./hr-5c985cb6.mjs"), "./icons/flag/ht.svg": () => import("./ht-240304e2.mjs"), "./icons/flag/hu.svg": () => import("./hu-1e7c3a91.mjs"), "./icons/flag/id.svg": () => import("./id-01e604fc.mjs"), "./icons/flag/ie.svg": () => import("./ie-e226e54a.mjs"), "./icons/flag/il.svg": () => import("./il-4a51c7bd.mjs"), "./icons/flag/im.svg": () => import("./im-40319150.mjs"), "./icons/flag/in.svg": () => import("./in-1d105b0f.mjs"), "./icons/flag/io.svg": () => import("./io-6c269405.mjs"), "./icons/flag/iq.svg": () => import("./iq-6b9e3e5a.mjs"), "./icons/flag/ir.svg": () => import("./ir-857f9289.mjs"), "./icons/flag/is.svg": () => import("./is-cf0d2e76.mjs"), "./icons/flag/it.svg": () => import("./it-bce7a9ed.mjs"), "./icons/flag/je.svg": () => import("./je-41c855c9.mjs"), "./icons/flag/jm.svg": () => import("./jm-8dddd561.mjs"), "./icons/flag/jo.svg": () => import("./jo-544e9976.mjs"), "./icons/flag/jp.svg": () => import("./jp-01c6487d.mjs"), "./icons/flag/ke.svg": () => import("./ke-351dc14a.mjs"), "./icons/flag/kg.svg": () => import("./kg-a17fa4bf.mjs"), "./icons/flag/kh.svg": () => import("./kh-0bb7d19f.mjs"), "./icons/flag/ki.svg": () => import("./ki-3e626127.mjs"), "./icons/flag/km.svg": () => import("./km-816dc3ba.mjs"), "./icons/flag/kn.svg": () => import("./kn-bb319e99.mjs"), "./icons/flag/kp.svg": () => import("./kp-2b80118f.mjs"), "./icons/flag/kr.svg": () => import("./kr-32c1e8b7.mjs"), "./icons/flag/kw.svg": () => import("./kw-ad30457b.mjs"), "./icons/flag/ky.svg": () => import("./ky-0eb957f9.mjs"), "./icons/flag/kz.svg": () => import("./kz-72e43c67.mjs"), "./icons/flag/la.svg": () => import("./la-23b2dfcb.mjs"), "./icons/flag/lb.svg": () => import("./lb-be26799a.mjs"), "./icons/flag/lc.svg": () => import("./lc-90590887.mjs"), "./icons/flag/li.svg": () => import("./li-aa862cc7.mjs"), "./icons/flag/lk.svg": () => import("./lk-f17ec481.mjs"), "./icons/flag/lr.svg": () => import("./lr-aff36fda.mjs"), "./icons/flag/ls.svg": () => import("./ls-1cf90d43.mjs"), "./icons/flag/lt.svg": () => import("./lt-4a30e360.mjs"), "./icons/flag/lu.svg": () => import("./lu-986cbaa1.mjs"), "./icons/flag/lv.svg": () => import("./lv-e1792ca0.mjs"), "./icons/flag/ly.svg": () => import("./ly-a5393d64.mjs"), "./icons/flag/ma.svg": () => import("./ma-e1895759.mjs"), "./icons/flag/mc.svg": () => import("./mc-784352e6.mjs"), "./icons/flag/md.svg": () => import("./md-d4541b72.mjs"), "./icons/flag/me.svg": () => import("./me-cf26a608.mjs"), "./icons/flag/mg.svg": () => import("./mg-5a72197b.mjs"), "./icons/flag/mh.svg": () => import("./mh-a494ced3.mjs"), "./icons/flag/mk.svg": () => import("./mk-5d6dfbe2.mjs"), "./icons/flag/ml.svg": () => import("./ml-ea237b33.mjs"), "./icons/flag/mm.svg": () => import("./mm-ca2d2d6f.mjs"), "./icons/flag/mn.svg": () => import("./mn-9b3631e3.mjs"), "./icons/flag/mo.svg": () => import("./mo-8a8ca00c.mjs"), "./icons/flag/mp.svg": () => import("./mp-6e4057a6.mjs"), "./icons/flag/mq.svg": () => import("./mq-c4ad87c5.mjs"), "./icons/flag/mr.svg": () => import("./mr-7535e8e4.mjs"), "./icons/flag/ms.svg": () => import("./ms-0e8caa14.mjs"), "./icons/flag/mt.svg": () => import("./mt-be4c4deb.mjs"), "./icons/flag/mu.svg": () => import("./mu-2c88bc9d.mjs"), "./icons/flag/mv.svg": () => import("./mv-513ecec1.mjs"), "./icons/flag/mw.svg": () => import("./mw-6ddd4745.mjs"), "./icons/flag/mx.svg": () => import("./mx-359089aa.mjs"), "./icons/flag/my.svg": () => import("./my-04139588.mjs"), "./icons/flag/mz.svg": () => import("./mz-f694c775.mjs"), "./icons/flag/na.svg": () => import("./na-012ceddf.mjs"), "./icons/flag/ne.svg": () => import("./ne-f2a01939.mjs"), "./icons/flag/nf.svg": () => import("./nf-e6551856.mjs"), "./icons/flag/ng.svg": () => import("./ng-969a2891.mjs"), "./icons/flag/ni.svg": () => import("./ni-9c669cea.mjs"), "./icons/flag/nl.svg": () => import("./nl-d023a4e8.mjs"), "./icons/flag/no.svg": () => import("./no-463b4b53.mjs"), "./icons/flag/np.svg": () => import("./np-1e48b7f5.mjs"), "./icons/flag/nr.svg": () => import("./nr-3e362f8f.mjs"), "./icons/flag/nu.svg": () => import("./nu-55d767aa.mjs"), "./icons/flag/nz.svg": () => import("./nz-260712f6.mjs"), "./icons/flag/om.svg": () => import("./om-51ff2ef8.mjs"), "./icons/flag/pa.svg": () => import("./pa-2794cff1.mjs"), "./icons/flag/pe.svg": () => import("./pe-03062449.mjs"), "./icons/flag/pf.svg": () => import("./pf-7a7f8df3.mjs"), "./icons/flag/pg.svg": () => import("./pg-b27cc749.mjs"), "./icons/flag/ph.svg": () => import("./ph-cfeed391.mjs"), "./icons/flag/pk.svg": () => import("./pk-e0af5fcc.mjs"), "./icons/flag/pl.svg": () => import("./pl-8f8b354c.mjs"), "./icons/flag/pn.svg": () => import("./pn-1a715846.mjs"), "./icons/flag/pr.svg": () => import("./pr-aa1179ea.mjs"), "./icons/flag/ps.svg": () => import("./ps-af3368b8.mjs"), "./icons/flag/pt.svg": () => import("./pt-5964314a.mjs"), "./icons/flag/pw.svg": () => import("./pw-f405d571.mjs"), "./icons/flag/py.svg": () => import("./py-759ed64c.mjs"), "./icons/flag/qa.svg": () => import("./qa-def2a5c8.mjs"), "./icons/flag/ro.svg": () => import("./ro-b2c623ce.mjs"), "./icons/flag/rs.svg": () => import("./rs-1f43835a.mjs"), "./icons/flag/ru.svg": () => import("./ru-515b608f.mjs"), "./icons/flag/rw.svg": () => import("./rw-7bb5887d.mjs"), "./icons/flag/sa.svg": () => import("./sa-deb70e75.mjs"), "./icons/flag/sb.svg": () => import("./sb-5a3d1bd0.mjs"), "./icons/flag/sc.svg": () => import("./sc-5976b943.mjs"), "./icons/flag/se.svg": () => import("./se-d3641a11.mjs"), "./icons/flag/sg.svg": () => import("./sg-1251b5df.mjs"), "./icons/flag/si.svg": () => import("./si-c2a466f5.mjs"), "./icons/flag/sk.svg": () => import("./sk-0860725f.mjs"), "./icons/flag/sl.svg": () => import("./sl-51f9eed4.mjs"), "./icons/flag/sm.svg": () => import("./sm-75cf810c.mjs"), "./icons/flag/sn.svg": () => import("./sn-7f24ca51.mjs"), "./icons/flag/so.svg": () => import("./so-015e6af8.mjs"), "./icons/flag/sr.svg": () => import("./sr-1b0717af.mjs"), "./icons/flag/ss.svg": () => import("./ss-f6c88a4e.mjs"), "./icons/flag/st.svg": () => import("./st-989e6418.mjs"), "./icons/flag/sv.svg": () => import("./sv-23640770.mjs"), "./icons/flag/sx.svg": () => import("./sx-a304a4a6.mjs"), "./icons/flag/sy.svg": () => import("./sy-cf437d42.mjs"), "./icons/flag/sz.svg": () => import("./sz-e518a24d.mjs"), "./icons/flag/tc.svg": () => import("./tc-200bbddb.mjs"), "./icons/flag/td.svg": () => import("./td-1bb8e438.mjs"), "./icons/flag/tg.svg": () => import("./tg-2ca52b3e.mjs"), "./icons/flag/th.svg": () => import("./th-a72530d6.mjs"), "./icons/flag/tj.svg": () => import("./tj-2d376ebe.mjs"), "./icons/flag/tk.svg": () => import("./tk-7d3d0a7f.mjs"), "./icons/flag/tl.svg": () => import("./tl-55431a29.mjs"), "./icons/flag/tm.svg": () => import("./tm-d2ffabc8.mjs"), "./icons/flag/tn.svg": () => import("./tn-9e100c57.mjs"), "./icons/flag/to.svg": () => import("./to-3b674416.mjs"), "./icons/flag/tr.svg": () => import("./tr-04213ae8.mjs"), "./icons/flag/tt.svg": () => import("./tt-8ae61c7d.mjs"), "./icons/flag/tv.svg": () => import("./tv-c51c8fd6.mjs"), "./icons/flag/tw.svg": () => import("./tw-d92bcd35.mjs"), "./icons/flag/tz.svg": () => import("./tz-62c19f2e.mjs"), "./icons/flag/ua.svg": () => import("./ua-8acc7fe0.mjs"), "./icons/flag/ug.svg": () => import("./ug-cba81231.mjs"), "./icons/flag/us.svg": () => import("./us-041f888d.mjs"), "./icons/flag/uy.svg": () => import("./uy-588af199.mjs"), "./icons/flag/uz.svg": () => import("./uz-b15e9da9.mjs"), "./icons/flag/vc.svg": () => import("./vc-e9055307.mjs"), "./icons/flag/ve.svg": () => import("./ve-1a051a6e.mjs"), "./icons/flag/vg.svg": () => import("./vg-abdc103a.mjs"), "./icons/flag/vi.svg": () => import("./vi-ab2e1332.mjs"), "./icons/flag/vn.svg": () => import("./vn-cffe971d.mjs"), "./icons/flag/vu.svg": () => import("./vu-dc33d40a.mjs"), "./icons/flag/ws.svg": () => import("./ws-1b6fa1a1.mjs"), "./icons/flag/ye.svg": () => import("./ye-03199afb.mjs"), "./icons/flag/za.svg": () => import("./za-b29e17dc.mjs"), "./icons/flag/zm.svg": () => import("./zm-e90acb8f.mjs"), "./icons/flag/zw.svg": () => import("./zw-c483b7f4.mjs"), "./icons/pay/affirm.svg": () => import("./affirm-9aef00fd.mjs"), "./icons/pay/alipay.svg": () => import("./alipay-f8889c4a.mjs"), "./icons/pay/amazon.svg": () => import("./amazon-63784d92.mjs"), "./icons/pay/amex.svg": () => import("./amex-297df5f4.mjs"), "./icons/pay/applepay.svg": () => import("./applepay-bf0abc5b.mjs"), "./icons/pay/bancontact.svg": () => import("./bancontact-057becef.mjs"), "./icons/pay/bitcoin.svg": () => import("./bitcoin-0fec1e7b.mjs"), "./icons/pay/bitcoincash.svg": () => import("./bitcoincash-0a0c586f.mjs"), "./icons/pay/bitpay.svg": () => import("./bitpay-15ba47a5.mjs"), "./icons/pay/citadele.svg": () => import("./citadele-57105c23.mjs"), "./icons/pay/dinersclub.svg": () => import("./dinersclub-022391cd.mjs"), "./icons/pay/discover.svg": () => import("./discover-a393a333.mjs"), "./icons/pay/elo.svg": () => import("./elo-89d797db.mjs"), "./icons/pay/etherium.svg": () => import("./etherium-207a2f24.mjs"), "./icons/pay/forbrugsforeningen.svg": () => import("./forbrugsforeningen-52d2f2d6.mjs"), "./icons/pay/giropay.svg": () => import("./giropay-9ef50443.mjs"), "./icons/pay/googlepay.svg": () => import("./googlepay-41584edc.mjs"), "./icons/pay/ideal.svg": () => import("./ideal-c62c1699.mjs"), "./icons/pay/interac.svg": () => import("./interac-23f9a0cb.mjs"), "./icons/pay/jcb.svg": () => import("./jcb-a55712fc.mjs"), "./icons/pay/klarna.svg": () => import("./klarna-bc60c24a.mjs"), "./icons/pay/lightcoin.svg": () => import("./lightcoin-a710bd56.mjs"), "./icons/pay/maestro.svg": () => import("./maestro-6f52e0dc.mjs"), "./icons/pay/mastercard.svg": () => import("./mastercard-1bcd8146.mjs"), "./icons/pay/payoneer.svg": () => import("./payoneer-91400d09.mjs"), "./icons/pay/paypal.svg": () => import("./paypal-7a4e2657.mjs"), "./icons/pay/paysafe.svg": () => import("./paysafe-6a3eeb5f.mjs"), "./icons/pay/qiwi.svg": () => import("./qiwi-2e4cc2e5.mjs"), "./icons/pay/sepa.svg": () => import("./sepa-753ca2b4.mjs"), "./icons/pay/shop-pay.svg": () => import("./shop-pay-d97812ef.mjs"), "./icons/pay/skrill.svg": () => import("./skrill-a6ecb633.mjs"), "./icons/pay/sofort.svg": () => import("./sofort-d6f73b34.mjs"), "./icons/pay/stripe.svg": () => import("./stripe-fc7bc53b.mjs"), "./icons/pay/unionpay.svg": () => import("./unionpay-daddf101.mjs"), "./icons/pay/verifone.svg": () => import("./verifone-08122f8e.mjs"), "./icons/pay/visa.svg": () => import("./visa-030bb1b1.mjs"), "./icons/pay/webmoney.svg": () => import("./webmoney-c284cb72.mjs"), "./icons/pay/wechat.svg": () => import("./wechat-bb08d491.mjs"), "./icons/pay/yandex.svg": () => import("./yandex-55f02daa.mjs") }), `./icons/${a}/${s.name.replace(`${a}-`, "")}.svg`) : E(/* @__PURE__ */ Object.assign({ "./icons/add-bold.svg": () => import("./add-bold-6a76e9bb.mjs"), "./icons/add-circle-bold.svg": () => import("./add-circle-bold-97e5adc1.mjs"), "./icons/add-circle.svg": () => import("./add-circle-eb6da76e.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/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/apple-storefront.svg": () => import("./apple-storefront-42dd3c3b.mjs"), "./icons/apple.svg": () => import("./apple-a0f4b202.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/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/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/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.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/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/copy-bold.svg": () => import("./copy-bold-05c9fa7f.mjs"), "./icons/copy.svg": () => import("./copy-4e7dca50.mjs"), "./icons/crosshairs.svg": () => import("./crosshairs-af5e585e.mjs"), "./icons/dashboard.svg": () => import("./dashboard-7aca4d6d.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.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/expand.svg": () => import("./expand-36fff427.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.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/global.svg": () => import("./global-6a6d773f.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.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.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/layer-bold.svg": () => import("./layer-bold-be2afc48.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/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.svg": () => import("./mobile-e8ed279c.mjs"), "./icons/money-bill.svg": () => import("./money-bill-2f65d92b.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.svg": () => import("./plug-e2a7722a.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/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-d2bcd822.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/send.svg": () => import("./send-e7646e7a.mjs"), "./icons/settings-bold.svg": () => import("./settings-bold-7c51d631.mjs"), "./icons/settings.svg": () => import("./settings-d20222e7.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/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/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/spinner.svg": () => import("./spinner-8bb3861a.mjs"), "./icons/square.svg": () => import("./square-5a969e93.mjs"), "./icons/star-bold.svg": () => import("./star-bold-4c45c0d8.mjs"), "./icons/star-half-colored.svg": () => import("./star-half-colored-3b10f42e.mjs"), "./icons/star.svg": () => import("./star-017cb8aa.mjs"), "./icons/stop-bold.svg": () => import("./stop-bold-be0c1cd8.mjs"), "./icons/stop.svg": () => import("./stop-c195f726.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.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.svg": () => import("./trash-f08f2851.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.svg": () => import("./upload-37d640ae.mjs"), "./icons/user-square.svg": () => import("./user-square-b766a005.mjs"), "./icons/user.svg": () => import("./user-e1c97db1.mjs"), "./icons/warning.svg": () => import("./warning-76eae041.mjs"), "./icons/wifi.svg": () => import("./wifi-0bf73fb3.mjs") }), `./icons/${s.name}.svg`);
|
|
29
|
-
}.bind({ name:
|
|
27
|
+
const l = e.find((r) => o.name.startsWith(`${r}-`));
|
|
28
|
+
return l ? oe(/* @__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/${l}/${o.name.replace(`${l}-`, "")}.svg`) : oe(/* @__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.svg": () => import("./add-circle-eb6da76e.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/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/apple-storefront.svg": () => import("./apple-storefront-42dd3c3b.mjs"), "./icons/apple.svg": () => import("./apple-a0f4b202.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/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/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/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/copy-bold.svg": () => import("./copy-bold-05c9fa7f.mjs"), "./icons/copy.svg": () => import("./copy-4e7dca50.mjs"), "./icons/crosshairs.svg": () => import("./crosshairs-af5e585e.mjs"), "./icons/dashboard.svg": () => import("./dashboard-7aca4d6d.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.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/global.svg": () => import("./global-6a6d773f.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.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.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/layer-bold.svg": () => import("./layer-bold-be2afc48.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/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.svg": () => import("./mobile-e8ed279c.mjs"), "./icons/money-bill.svg": () => import("./money-bill-2f65d92b.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.svg": () => import("./plug-e2a7722a.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/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-d2bcd822.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.svg": () => import("./settings-d20222e7.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/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/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-half-colored.svg": () => import("./star-half-colored-3b10f42e.mjs"), "./icons/star.svg": () => import("./star-017cb8aa.mjs"), "./icons/stop-bold.svg": () => import("./stop-bold-be0c1cd8.mjs"), "./icons/stop.svg": () => import("./stop-c195f726.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.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/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/warning.svg": () => import("./warning-76eae041.mjs"), "./icons/wifi.svg": () => import("./wifi-0bf73fb3.mjs") }), `./icons/${o.name}.svg`);
|
|
29
|
+
}.bind({ name: o.name })
|
|
30
30
|
)
|
|
31
|
-
),
|
|
31
|
+
), i = c(() => [
|
|
32
32
|
"ma-icon",
|
|
33
33
|
"ak-icon",
|
|
34
|
-
`ak-icon--${
|
|
35
|
-
|
|
36
|
-
{ "animate-spin":
|
|
34
|
+
`ak-icon--${o.name}`,
|
|
35
|
+
Je[o.size],
|
|
36
|
+
{ "animate-spin": o.spin }
|
|
37
37
|
]);
|
|
38
|
-
return (
|
|
39
|
-
class:
|
|
38
|
+
return (l, r) => (a(), m(ue(t(s)), {
|
|
39
|
+
class: P(t(i))
|
|
40
40
|
}, null, 8, ["class"]));
|
|
41
41
|
}
|
|
42
|
-
}),
|
|
42
|
+
}), Xe = {
|
|
43
43
|
name: "MaButton"
|
|
44
|
-
},
|
|
45
|
-
...
|
|
44
|
+
}, J = /* @__PURE__ */ $({
|
|
45
|
+
...Xe,
|
|
46
46
|
props: {
|
|
47
47
|
type: { default: "primary" },
|
|
48
48
|
variant: { default: "dark" },
|
|
@@ -53,52 +53,52 @@ const E = (l, s) => {
|
|
|
53
53
|
loading: { type: Boolean },
|
|
54
54
|
shape: { default: "default" },
|
|
55
55
|
icon: null,
|
|
56
|
-
|
|
56
|
+
iconAlignment: null
|
|
57
57
|
},
|
|
58
|
-
setup(
|
|
59
|
-
const
|
|
58
|
+
setup(n) {
|
|
59
|
+
const o = n, e = c(() => o.type === "secondary" ? "default" : o.type === "grey-link" ? "link" : o.type), s = c(() => [
|
|
60
60
|
`
|
|
61
61
|
ma-button
|
|
62
62
|
ak-button
|
|
63
|
-
ak-button--${
|
|
64
|
-
ak-button--${
|
|
65
|
-
ak-button--${
|
|
63
|
+
ak-button--${o.variant}
|
|
64
|
+
ak-button--${o.type}
|
|
65
|
+
ak-button--${o.size}
|
|
66
66
|
`,
|
|
67
67
|
{
|
|
68
|
-
"ak-button--rounded":
|
|
68
|
+
"ak-button--rounded": o.shape === "round"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
"ak-button--icon-right":
|
|
71
|
+
"ak-button--icon-right": o.iconAlignment === "right"
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
-
"ak-button--disabled":
|
|
74
|
+
"ak-button--disabled": l.value
|
|
75
75
|
}
|
|
76
|
-
]),
|
|
77
|
-
return (r,
|
|
78
|
-
class: t(
|
|
79
|
-
href:
|
|
80
|
-
target:
|
|
81
|
-
disabled: t(
|
|
82
|
-
type: t(
|
|
76
|
+
]), i = c(() => o?.loading || o?.icon), l = c(() => o?.disabled || o?.loading);
|
|
77
|
+
return (r, u) => (a(), m(t(ve), I({
|
|
78
|
+
class: t(s),
|
|
79
|
+
href: o.href,
|
|
80
|
+
target: o.target,
|
|
81
|
+
disabled: t(l),
|
|
82
|
+
type: t(e),
|
|
83
83
|
role: "button"
|
|
84
|
-
}, r.$attrs, { "prefix-cls": "antd-btn" }),
|
|
85
|
-
|
|
86
|
-
name:
|
|
87
|
-
fn:
|
|
88
|
-
|
|
84
|
+
}, r.$attrs, { "prefix-cls": "antd-btn" }), O({ _: 2 }, [
|
|
85
|
+
L(r.$slots, (g, p) => ({
|
|
86
|
+
name: p,
|
|
87
|
+
fn: f(() => [
|
|
88
|
+
k(r.$slots, p)
|
|
89
89
|
])
|
|
90
90
|
})),
|
|
91
|
-
t(
|
|
91
|
+
t(i) ? {
|
|
92
92
|
name: "icon",
|
|
93
|
-
fn:
|
|
94
|
-
|
|
93
|
+
fn: f(() => [
|
|
94
|
+
o?.loading ? (a(), m(w, {
|
|
95
95
|
key: 0,
|
|
96
96
|
class: "ak-button__loader",
|
|
97
97
|
spin: "",
|
|
98
98
|
name: "loader"
|
|
99
|
-
})) : (
|
|
99
|
+
})) : (a(), m(w, {
|
|
100
100
|
key: 1,
|
|
101
|
-
name:
|
|
101
|
+
name: o?.icon
|
|
102
102
|
}, null, 8, ["name"]))
|
|
103
103
|
]),
|
|
104
104
|
key: "0"
|
|
@@ -106,40 +106,40 @@ const E = (l, s) => {
|
|
|
106
106
|
]), 1040, ["class", "href", "target", "disabled", "type"]));
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
|
-
const
|
|
109
|
+
const Zs = [
|
|
110
110
|
"primary",
|
|
111
111
|
"secondary",
|
|
112
112
|
"link",
|
|
113
113
|
"grey-link",
|
|
114
114
|
"social"
|
|
115
|
-
],
|
|
115
|
+
], et = [
|
|
116
116
|
"dark",
|
|
117
117
|
"plain",
|
|
118
118
|
"info",
|
|
119
119
|
"success",
|
|
120
120
|
"warning",
|
|
121
121
|
"danger"
|
|
122
|
-
],
|
|
122
|
+
], Qe = [
|
|
123
123
|
"small",
|
|
124
124
|
"middle",
|
|
125
125
|
"large",
|
|
126
126
|
"x-large",
|
|
127
127
|
"2x-large"
|
|
128
|
-
],
|
|
128
|
+
], ot = [
|
|
129
129
|
"default",
|
|
130
130
|
"round"
|
|
131
|
-
],
|
|
131
|
+
], st = [
|
|
132
132
|
"_blank",
|
|
133
133
|
"_self",
|
|
134
134
|
"_top",
|
|
135
135
|
"_parent"
|
|
136
|
-
],
|
|
136
|
+
], tt = [
|
|
137
137
|
"left",
|
|
138
138
|
"right"
|
|
139
|
-
],
|
|
139
|
+
], Ze = {
|
|
140
140
|
name: "MaTrackButton"
|
|
141
|
-
},
|
|
142
|
-
...
|
|
141
|
+
}, nt = /* @__PURE__ */ $({
|
|
142
|
+
...Ze,
|
|
143
143
|
props: {
|
|
144
144
|
variant: { default: "default" },
|
|
145
145
|
size: { default: "md" },
|
|
@@ -149,72 +149,72 @@ const se = [
|
|
|
149
149
|
showClose: { type: Boolean },
|
|
150
150
|
keyword: null
|
|
151
151
|
},
|
|
152
|
-
setup(
|
|
153
|
-
const
|
|
152
|
+
setup(n) {
|
|
153
|
+
const o = n, e = c(() => [
|
|
154
154
|
`
|
|
155
155
|
ma-track-button
|
|
156
156
|
ak-track-button
|
|
157
|
-
ak-track-button--${
|
|
158
|
-
ak-track-button--${
|
|
157
|
+
ak-track-button--${o.variant}
|
|
158
|
+
ak-track-button--${o.size}
|
|
159
159
|
`,
|
|
160
160
|
{
|
|
161
|
-
"ak-track-button--tracked":
|
|
161
|
+
"ak-track-button--tracked": o?.tracked
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
|
-
"ak-track-button--loading":
|
|
164
|
+
"ak-track-button--loading": o?.loading
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
|
-
"ak-track-button--show-close":
|
|
167
|
+
"ak-track-button--show-close": o?.showClose
|
|
168
168
|
}
|
|
169
|
-
]),
|
|
170
|
-
() =>
|
|
171
|
-
),
|
|
172
|
-
return (
|
|
173
|
-
class: t(
|
|
174
|
-
disabled:
|
|
169
|
+
]), s = c(
|
|
170
|
+
() => o.loading ? "loader" : o?.showClose ? "close-circle" : o?.tracked ? "tick-circle-bold" : "add"
|
|
171
|
+
), i = c(() => o.size === "lg" ? "sm" : "xs");
|
|
172
|
+
return (l, r) => (a(), m(t(ve), I(l.$attrs, {
|
|
173
|
+
class: t(e),
|
|
174
|
+
disabled: o?.disabled || o?.loading,
|
|
175
175
|
role: "button",
|
|
176
176
|
"prefix-cls": "antd-btn"
|
|
177
|
-
}),
|
|
178
|
-
icon:
|
|
179
|
-
|
|
180
|
-
spin:
|
|
181
|
-
name: t(
|
|
182
|
-
size: t(
|
|
177
|
+
}), O({
|
|
178
|
+
icon: f(() => [
|
|
179
|
+
B(w, {
|
|
180
|
+
spin: o?.loading,
|
|
181
|
+
name: t(s),
|
|
182
|
+
size: t(i)
|
|
183
183
|
}, null, 8, ["spin", "name", "size"])
|
|
184
184
|
]),
|
|
185
|
-
default:
|
|
186
|
-
|
|
185
|
+
default: f(() => [
|
|
186
|
+
U(" " + C(n.keyword) + " ", 1)
|
|
187
187
|
]),
|
|
188
188
|
_: 2
|
|
189
189
|
}, [
|
|
190
|
-
|
|
191
|
-
name:
|
|
192
|
-
fn:
|
|
193
|
-
|
|
190
|
+
L(l.$slots, (u, g) => ({
|
|
191
|
+
name: g,
|
|
192
|
+
fn: f(() => [
|
|
193
|
+
k(l.$slots, g)
|
|
194
194
|
])
|
|
195
195
|
}))
|
|
196
196
|
]), 1040, ["class", "disabled"]));
|
|
197
197
|
}
|
|
198
198
|
});
|
|
199
|
-
const
|
|
199
|
+
const at = [
|
|
200
200
|
"default"
|
|
201
|
-
],
|
|
201
|
+
], it = [
|
|
202
202
|
"sm",
|
|
203
203
|
"md",
|
|
204
204
|
"lg"
|
|
205
|
-
],
|
|
205
|
+
], eo = {
|
|
206
206
|
key: 0,
|
|
207
207
|
class: "ma-toggle__titles"
|
|
208
|
-
},
|
|
208
|
+
}, oo = {
|
|
209
209
|
key: 0,
|
|
210
210
|
class: "ma-toggle__titles__title"
|
|
211
|
-
},
|
|
211
|
+
}, so = {
|
|
212
212
|
key: 1,
|
|
213
213
|
class: "ma-toggle__titles__sub-title"
|
|
214
|
-
},
|
|
214
|
+
}, to = {
|
|
215
215
|
name: "MaToggle"
|
|
216
|
-
},
|
|
217
|
-
...
|
|
216
|
+
}, lt = /* @__PURE__ */ $({
|
|
217
|
+
...to,
|
|
218
218
|
props: {
|
|
219
219
|
size: { default: "default" },
|
|
220
220
|
disabled: { type: Boolean },
|
|
@@ -226,51 +226,51 @@ const re = [
|
|
|
226
226
|
subTitle: null
|
|
227
227
|
},
|
|
228
228
|
emits: ["click", "change"],
|
|
229
|
-
setup(
|
|
230
|
-
const
|
|
229
|
+
setup(n, { emit: o }) {
|
|
230
|
+
const e = n, s = c({
|
|
231
231
|
get() {
|
|
232
|
-
return
|
|
232
|
+
return e.checked;
|
|
233
233
|
},
|
|
234
|
-
set(
|
|
235
|
-
|
|
234
|
+
set(l) {
|
|
235
|
+
o("change", l);
|
|
236
236
|
}
|
|
237
|
-
}),
|
|
237
|
+
}), i = c(() => [
|
|
238
238
|
"ma-toggle",
|
|
239
|
-
`ma-toggle--${
|
|
239
|
+
`ma-toggle--${e.size}`,
|
|
240
240
|
{
|
|
241
|
-
"ma-toggle--disabled":
|
|
241
|
+
"ma-toggle--disabled": e.disabled
|
|
242
242
|
}
|
|
243
243
|
]);
|
|
244
|
-
return (
|
|
245
|
-
class:
|
|
244
|
+
return (l, r) => (a(), d("div", {
|
|
245
|
+
class: P(t(i))
|
|
246
246
|
}, [
|
|
247
|
-
|
|
247
|
+
B(t(Ae), I({
|
|
248
248
|
class: "ma-toggle__switch",
|
|
249
|
-
checked: t(
|
|
250
|
-
"onUpdate:checked": r[0] || (r[0] = (
|
|
251
|
-
},
|
|
252
|
-
onClick: r[1] || (r[1] = (
|
|
253
|
-
disabled:
|
|
254
|
-
loading:
|
|
255
|
-
checkedChildren:
|
|
256
|
-
unCheckedChildren:
|
|
249
|
+
checked: t(s),
|
|
250
|
+
"onUpdate:checked": r[0] || (r[0] = (u) => W(s) ? s.value = u : null)
|
|
251
|
+
}, l.$attrs, {
|
|
252
|
+
onClick: r[1] || (r[1] = (u) => l.$emit("click", u)),
|
|
253
|
+
disabled: e.disabled,
|
|
254
|
+
loading: e.loading,
|
|
255
|
+
checkedChildren: e.checkedChildren,
|
|
256
|
+
unCheckedChildren: e.unCheckedChildren,
|
|
257
257
|
"prefix-cls": "antd-switch"
|
|
258
258
|
}), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
])) :
|
|
259
|
+
e.title || e.subTitle ? (a(), d("div", eo, [
|
|
260
|
+
e.title ? (a(), d("span", oo, C(e.title), 1)) : y("", !0),
|
|
261
|
+
e.subTitle ? (a(), d("span", so, C(e.subTitle), 1)) : y("", !0)
|
|
262
|
+
])) : y("", !0)
|
|
263
263
|
], 2));
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
|
-
const
|
|
266
|
+
const rt = [
|
|
267
267
|
"small",
|
|
268
268
|
"default",
|
|
269
269
|
"large"
|
|
270
|
-
],
|
|
270
|
+
], no = ["aria-checked", "disabled"], ao = {
|
|
271
271
|
name: "MaSwitch"
|
|
272
|
-
},
|
|
273
|
-
...
|
|
272
|
+
}, ct = /* @__PURE__ */ $({
|
|
273
|
+
...ao,
|
|
274
274
|
props: {
|
|
275
275
|
active: null,
|
|
276
276
|
leftIcon: null,
|
|
@@ -284,60 +284,60 @@ const ge = [
|
|
|
284
284
|
"click",
|
|
285
285
|
"change"
|
|
286
286
|
],
|
|
287
|
-
setup(
|
|
288
|
-
const
|
|
287
|
+
setup(n, { emit: o }) {
|
|
288
|
+
const e = n, s = c({
|
|
289
289
|
get() {
|
|
290
|
-
return
|
|
290
|
+
return e.active;
|
|
291
291
|
},
|
|
292
292
|
set(r) {
|
|
293
|
-
|
|
293
|
+
o("change", r);
|
|
294
294
|
}
|
|
295
|
-
}),
|
|
295
|
+
}), i = c(() => [
|
|
296
296
|
"ma-switch",
|
|
297
297
|
"ak-switch",
|
|
298
|
-
`ak-switch--${
|
|
298
|
+
`ak-switch--${e.type}`,
|
|
299
299
|
{
|
|
300
|
-
"ak-switch--disabled":
|
|
300
|
+
"ak-switch--disabled": e.disabled
|
|
301
301
|
}
|
|
302
|
-
]),
|
|
303
|
-
|
|
302
|
+
]), l = (r) => {
|
|
303
|
+
e.disabled || (s.value = r);
|
|
304
304
|
};
|
|
305
|
-
return (r,
|
|
306
|
-
class: t(
|
|
305
|
+
return (r, u) => (a(), d("button", I(r.$attrs, {
|
|
306
|
+
class: t(i),
|
|
307
307
|
type: "button",
|
|
308
308
|
role: "switch",
|
|
309
|
-
"aria-checked": t(
|
|
310
|
-
disabled:
|
|
309
|
+
"aria-checked": t(s) === e.rightValue,
|
|
310
|
+
disabled: e.disabled
|
|
311
311
|
}), [
|
|
312
|
-
|
|
313
|
-
class:
|
|
314
|
-
onClick:
|
|
312
|
+
b("span", {
|
|
313
|
+
class: P({ active: e.active === e.leftValue }),
|
|
314
|
+
onClick: u[0] || (u[0] = (g) => l(e.leftValue))
|
|
315
315
|
}, [
|
|
316
|
-
|
|
317
|
-
name:
|
|
316
|
+
B(w, {
|
|
317
|
+
name: e.leftIcon
|
|
318
318
|
}, null, 8, ["name"])
|
|
319
319
|
], 2),
|
|
320
|
-
|
|
321
|
-
class:
|
|
322
|
-
onClick:
|
|
320
|
+
b("span", {
|
|
321
|
+
class: P({ active: e.active === e.rightValue }),
|
|
322
|
+
onClick: u[1] || (u[1] = (g) => l(e.rightValue))
|
|
323
323
|
}, [
|
|
324
|
-
|
|
325
|
-
name:
|
|
324
|
+
B(w, {
|
|
325
|
+
name: e.rightIcon
|
|
326
326
|
}, null, 8, ["name"])
|
|
327
327
|
], 2)
|
|
328
|
-
], 16,
|
|
328
|
+
], 16, no));
|
|
329
329
|
}
|
|
330
330
|
});
|
|
331
|
-
const
|
|
331
|
+
const pt = [
|
|
332
332
|
"primary",
|
|
333
333
|
"secondary"
|
|
334
|
-
],
|
|
334
|
+
], io = { class: "ak-tooltip-overlay__content" }, lo = { class: "ak-tooltip-overlay__content__title" }, ro = {
|
|
335
335
|
key: 0,
|
|
336
336
|
class: "ak-tooltip-overlay__content__description"
|
|
337
|
-
},
|
|
337
|
+
}, co = {
|
|
338
338
|
name: "MaTooltip"
|
|
339
|
-
},
|
|
340
|
-
...
|
|
339
|
+
}, ut = /* @__PURE__ */ $({
|
|
340
|
+
...co,
|
|
341
341
|
props: {
|
|
342
342
|
placement: { default: "top" },
|
|
343
343
|
type: { default: "secondary" },
|
|
@@ -348,61 +348,61 @@ const ue = [
|
|
|
348
348
|
closable: { type: Boolean },
|
|
349
349
|
defaultVisible: { type: Boolean, default: !1 }
|
|
350
350
|
},
|
|
351
|
-
setup(
|
|
352
|
-
const
|
|
351
|
+
setup(n) {
|
|
352
|
+
const o = n, e = c(() => [
|
|
353
353
|
"ma-tooltip",
|
|
354
354
|
"ak-tooltip",
|
|
355
|
-
`ak-tooltip--${
|
|
356
|
-
`ak-tooltip--${
|
|
357
|
-
]),
|
|
355
|
+
`ak-tooltip--${o.type}`,
|
|
356
|
+
`ak-tooltip--${o.placement}`
|
|
357
|
+
]), s = c(() => [
|
|
358
358
|
"ak-tooltip-overlay",
|
|
359
|
-
`ak-tooltip-overlay--${
|
|
360
|
-
`ak-tooltip-overlay--${
|
|
361
|
-
].join(" ")),
|
|
362
|
-
|
|
359
|
+
`ak-tooltip-overlay--${o.type}`,
|
|
360
|
+
`ak-tooltip-overlay--${o.placement}`
|
|
361
|
+
].join(" ")), i = F(o.defaultVisible), l = () => {
|
|
362
|
+
i.value = !1;
|
|
363
363
|
};
|
|
364
|
-
return (r,
|
|
365
|
-
visible:
|
|
366
|
-
"onUpdate:visible":
|
|
367
|
-
class: t(
|
|
368
|
-
placement:
|
|
369
|
-
trigger:
|
|
370
|
-
overlayClassName: t(
|
|
364
|
+
return (r, u) => (a(), m(t(Ne), I(r.$attrs, {
|
|
365
|
+
visible: i.value,
|
|
366
|
+
"onUpdate:visible": u[0] || (u[0] = (g) => i.value = g),
|
|
367
|
+
class: t(e),
|
|
368
|
+
placement: o.placement,
|
|
369
|
+
trigger: o.trigger,
|
|
370
|
+
overlayClassName: t(s),
|
|
371
371
|
"prefix-cls": "antd-tooltip"
|
|
372
372
|
}), {
|
|
373
|
-
title:
|
|
374
|
-
|
|
373
|
+
title: f(() => [
|
|
374
|
+
o.icon ? (a(), m(w, {
|
|
375
375
|
key: 0,
|
|
376
376
|
size: "xs",
|
|
377
|
-
name:
|
|
378
|
-
}, null, 8, ["name"])) :
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
377
|
+
name: o.icon
|
|
378
|
+
}, null, 8, ["name"])) : y("", !0),
|
|
379
|
+
k(r.$slots, "icon"),
|
|
380
|
+
b("div", io, [
|
|
381
|
+
b("span", lo, [
|
|
382
|
+
U(C(o.title) + " ", 1),
|
|
383
|
+
k(r.$slots, "title")
|
|
384
384
|
]),
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
])) :
|
|
385
|
+
o?.description || r.$slots.description ? (a(), d("span", ro, [
|
|
386
|
+
U(C(o.description) + " ", 1),
|
|
387
|
+
k(r.$slots, "description")
|
|
388
|
+
])) : y("", !0)
|
|
389
389
|
]),
|
|
390
|
-
|
|
390
|
+
o.closable ? (a(), m(w, {
|
|
391
391
|
key: 1,
|
|
392
|
-
onClick:
|
|
392
|
+
onClick: l,
|
|
393
393
|
class: "ak-tooltip-overlay__close",
|
|
394
394
|
size: "xs",
|
|
395
395
|
name: "close"
|
|
396
|
-
})) :
|
|
396
|
+
})) : y("", !0)
|
|
397
397
|
]),
|
|
398
|
-
default:
|
|
399
|
-
|
|
398
|
+
default: f(() => [
|
|
399
|
+
k(r.$slots, "default")
|
|
400
400
|
]),
|
|
401
401
|
_: 3
|
|
402
402
|
}, 16, ["visible", "class", "placement", "trigger", "overlayClassName"]));
|
|
403
403
|
}
|
|
404
404
|
});
|
|
405
|
-
const
|
|
405
|
+
const dt = [
|
|
406
406
|
"top",
|
|
407
407
|
"left",
|
|
408
408
|
"right",
|
|
@@ -415,88 +415,88 @@ const ve = [
|
|
|
415
415
|
"leftBottom",
|
|
416
416
|
"rightTop",
|
|
417
417
|
"rightBottom"
|
|
418
|
-
],
|
|
418
|
+
], mt = [
|
|
419
419
|
"primary",
|
|
420
420
|
"secondary"
|
|
421
|
-
],
|
|
421
|
+
], gt = [
|
|
422
422
|
"hover",
|
|
423
423
|
"focus",
|
|
424
424
|
"click",
|
|
425
425
|
"contextmenu"
|
|
426
|
-
],
|
|
426
|
+
], po = {
|
|
427
427
|
name: "MaNonHSFormsIgnore"
|
|
428
|
-
},
|
|
429
|
-
const
|
|
430
|
-
for (const [
|
|
431
|
-
|
|
432
|
-
return
|
|
433
|
-
},
|
|
428
|
+
}, uo = (n, o) => {
|
|
429
|
+
const e = n.__vccOpts || n;
|
|
430
|
+
for (const [s, i] of o)
|
|
431
|
+
e[s] = i;
|
|
432
|
+
return e;
|
|
433
|
+
}, mo = /* @__PURE__ */ b("label", {
|
|
434
434
|
for: "cc-num",
|
|
435
435
|
class: "hidden"
|
|
436
|
-
}, "HubspotCollectedFormsWorkaround", -1),
|
|
436
|
+
}, "HubspotCollectedFormsWorkaround", -1), go = /* @__PURE__ */ b("input", {
|
|
437
437
|
id: "cc-num",
|
|
438
438
|
name: "cc-num",
|
|
439
439
|
class: "hidden",
|
|
440
440
|
required: "",
|
|
441
441
|
value: "HubspotCollectedFormsWorkaround"
|
|
442
442
|
}, null, -1);
|
|
443
|
-
function
|
|
444
|
-
return
|
|
445
|
-
|
|
446
|
-
|
|
443
|
+
function vo(n, o, e, s, i, l) {
|
|
444
|
+
return a(), d(H, null, [
|
|
445
|
+
mo,
|
|
446
|
+
go
|
|
447
447
|
], 64);
|
|
448
448
|
}
|
|
449
|
-
const
|
|
449
|
+
const fo = /* @__PURE__ */ uo(po, [["render", vo]]), _o = {
|
|
450
450
|
name: "MaForm"
|
|
451
|
-
},
|
|
452
|
-
...
|
|
451
|
+
}, vt = /* @__PURE__ */ $({
|
|
452
|
+
..._o,
|
|
453
453
|
props: {
|
|
454
454
|
nonHubspotFormsIgnore: { type: Boolean, default: !0 }
|
|
455
455
|
},
|
|
456
|
-
setup(
|
|
457
|
-
const
|
|
458
|
-
return
|
|
459
|
-
validate: () =>
|
|
460
|
-
clearValidate: () =>
|
|
461
|
-
resetFields: () =>
|
|
462
|
-
scrollToField: () =>
|
|
463
|
-
validateFields: () =>
|
|
464
|
-
}), (
|
|
456
|
+
setup(n, { expose: o }) {
|
|
457
|
+
const e = n, s = F();
|
|
458
|
+
return o({
|
|
459
|
+
validate: () => s.value.validate(),
|
|
460
|
+
clearValidate: () => s.value.clearValidate(),
|
|
461
|
+
resetFields: () => s.value.resetFields(),
|
|
462
|
+
scrollToField: () => s.value.scrollToField(),
|
|
463
|
+
validateFields: () => s.value.validateFields()
|
|
464
|
+
}), (p, x) => (a(), m(t(Re), I(p.$attrs, {
|
|
465
465
|
class: "ma-form",
|
|
466
466
|
"prefix-cls": "antd-form",
|
|
467
467
|
ref_key: "form",
|
|
468
|
-
ref:
|
|
468
|
+
ref: s
|
|
469
469
|
}), {
|
|
470
|
-
default:
|
|
471
|
-
|
|
472
|
-
|
|
470
|
+
default: f(() => [
|
|
471
|
+
e.nonHubspotFormsIgnore ? (a(), m(fo, { key: 0 })) : y("", !0),
|
|
472
|
+
k(p.$slots, "default")
|
|
473
473
|
]),
|
|
474
474
|
_: 3
|
|
475
475
|
}, 16));
|
|
476
476
|
}
|
|
477
477
|
});
|
|
478
|
-
const
|
|
478
|
+
const yo = {
|
|
479
479
|
name: "MaFormItem"
|
|
480
|
-
},
|
|
481
|
-
...
|
|
482
|
-
setup(
|
|
483
|
-
return (
|
|
480
|
+
}, ft = /* @__PURE__ */ $({
|
|
481
|
+
...yo,
|
|
482
|
+
setup(n) {
|
|
483
|
+
return (o, e) => (a(), m(t(De), I(o.$attrs, {
|
|
484
484
|
class: "ma-form-item",
|
|
485
485
|
"prefix-cls": "antd-form"
|
|
486
|
-
}),
|
|
487
|
-
|
|
488
|
-
name:
|
|
489
|
-
fn:
|
|
490
|
-
|
|
486
|
+
}), O({ _: 2 }, [
|
|
487
|
+
L(o.$slots, (s, i) => ({
|
|
488
|
+
name: i,
|
|
489
|
+
fn: f(() => [
|
|
490
|
+
k(o.$slots, i)
|
|
491
491
|
])
|
|
492
492
|
}))
|
|
493
493
|
]), 1040));
|
|
494
494
|
}
|
|
495
|
-
}),
|
|
495
|
+
}), _t = [
|
|
496
496
|
"horizontal",
|
|
497
497
|
"vertical",
|
|
498
498
|
"inline"
|
|
499
|
-
],
|
|
499
|
+
], K = {
|
|
500
500
|
text: "text",
|
|
501
501
|
password: "password",
|
|
502
502
|
textarea: "textarea",
|
|
@@ -507,36 +507,36 @@ const Ko = {
|
|
|
507
507
|
amount: "amount",
|
|
508
508
|
creditCard: "creditCard",
|
|
509
509
|
userInfo: "userInfo"
|
|
510
|
-
},
|
|
510
|
+
}, ho = {
|
|
511
511
|
small: "small",
|
|
512
512
|
medium: "medium",
|
|
513
513
|
large: "large"
|
|
514
|
-
},
|
|
514
|
+
}, yt = {
|
|
515
515
|
usd: "USD",
|
|
516
516
|
eur: "EUR",
|
|
517
517
|
gbp: "GBP",
|
|
518
518
|
jpy: "JPY"
|
|
519
|
-
},
|
|
519
|
+
}, bo = {
|
|
520
520
|
USD: "$",
|
|
521
521
|
EUR: "€",
|
|
522
522
|
GBP: "£",
|
|
523
523
|
JPY: "¥"
|
|
524
|
-
},
|
|
524
|
+
}, ko = [
|
|
525
525
|
{ label: "USD", value: "USD" },
|
|
526
526
|
{ label: "EUR", value: "EUR" },
|
|
527
527
|
{ label: "GBP", value: "GBP" },
|
|
528
528
|
{ label: "JPY", value: "JPY" }
|
|
529
|
-
],
|
|
529
|
+
], $o = {
|
|
530
530
|
name: "MaAvatar"
|
|
531
|
-
},
|
|
532
|
-
|
|
533
|
-
setup(
|
|
534
|
-
return (
|
|
531
|
+
}, wo = /* @__PURE__ */ $({
|
|
532
|
+
...$o,
|
|
533
|
+
setup(n) {
|
|
534
|
+
return (o, e) => (a(), m(t(Fe), I(o.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
|
|
535
535
|
}
|
|
536
|
-
}),
|
|
536
|
+
}), Co = { class: "dropdown-wrapper" }, xo = { class: "mobile-header" }, Mo = /* @__PURE__ */ b("label", null, "Select", -1), zo = {
|
|
537
537
|
name: "MaDropdownRender"
|
|
538
|
-
},
|
|
539
|
-
...
|
|
538
|
+
}, Bo = /* @__PURE__ */ $({
|
|
539
|
+
...zo,
|
|
540
540
|
props: {
|
|
541
541
|
menu: {
|
|
542
542
|
type: Object,
|
|
@@ -548,52 +548,52 @@ const Ko = {
|
|
|
548
548
|
}
|
|
549
549
|
},
|
|
550
550
|
emits: ["update:filter", "closeDropdown"],
|
|
551
|
-
setup(
|
|
552
|
-
const
|
|
551
|
+
setup(n, { emit: o }) {
|
|
552
|
+
const e = n, s = (r, { attrs: u }) => u.vnodes, i = c({
|
|
553
553
|
get() {
|
|
554
|
-
return
|
|
554
|
+
return e.filter;
|
|
555
555
|
},
|
|
556
556
|
set(r) {
|
|
557
|
-
|
|
557
|
+
o("update:filter", r);
|
|
558
558
|
}
|
|
559
|
-
}),
|
|
560
|
-
|
|
559
|
+
}), l = () => {
|
|
560
|
+
o("closeDropdown");
|
|
561
561
|
};
|
|
562
|
-
return (r,
|
|
563
|
-
|
|
564
|
-
|
|
562
|
+
return (r, u) => (a(), d("div", Co, [
|
|
563
|
+
b("div", xo, [
|
|
564
|
+
B(w, {
|
|
565
565
|
size: "lg",
|
|
566
566
|
name: "close-circle",
|
|
567
|
-
onClick:
|
|
567
|
+
onClick: l
|
|
568
568
|
}),
|
|
569
|
-
|
|
570
|
-
|
|
569
|
+
Mo,
|
|
570
|
+
B(J, {
|
|
571
571
|
type: "grey-link",
|
|
572
|
-
onClick:
|
|
572
|
+
onClick: l
|
|
573
573
|
}, {
|
|
574
|
-
default:
|
|
575
|
-
|
|
574
|
+
default: f(() => [
|
|
575
|
+
U("Done")
|
|
576
576
|
]),
|
|
577
577
|
_: 1
|
|
578
578
|
})
|
|
579
579
|
]),
|
|
580
|
-
|
|
581
|
-
value: t(
|
|
582
|
-
"onUpdate:value":
|
|
580
|
+
B(Po, {
|
|
581
|
+
value: t(i),
|
|
582
|
+
"onUpdate:value": u[0] || (u[0] = (g) => W(i) ? i.value = g : null),
|
|
583
583
|
autofocus: "",
|
|
584
584
|
placeholder: "Search",
|
|
585
585
|
"prefix-icon": "search-normal"
|
|
586
586
|
}, null, 8, ["value"]),
|
|
587
|
-
|
|
587
|
+
B(s, { vnodes: n.menu }, null, 8, ["vnodes"])
|
|
588
588
|
]));
|
|
589
589
|
}
|
|
590
|
-
}),
|
|
590
|
+
}), Io = {
|
|
591
591
|
key: 0,
|
|
592
592
|
class: "prefix-icon"
|
|
593
|
-
},
|
|
593
|
+
}, So = {
|
|
594
594
|
name: "MaSelect"
|
|
595
|
-
},
|
|
596
|
-
...
|
|
595
|
+
}, To = /* @__PURE__ */ $({
|
|
596
|
+
...So,
|
|
597
597
|
props: {
|
|
598
598
|
allowClear: { type: Boolean },
|
|
599
599
|
autoClearSearchValue: { type: Boolean, default: !0 },
|
|
@@ -623,139 +623,139 @@ const Ko = {
|
|
|
623
623
|
emits: [
|
|
624
624
|
"update:value"
|
|
625
625
|
],
|
|
626
|
-
setup(
|
|
627
|
-
const
|
|
626
|
+
setup(n, { emit: o }) {
|
|
627
|
+
const e = n, s = Q(), i = F(e?.searchValue), l = F(e.open), r = c(() => !e?.mode && e?.showSearch), u = c({
|
|
628
628
|
get() {
|
|
629
|
-
return
|
|
629
|
+
return e.value;
|
|
630
630
|
},
|
|
631
|
-
set(
|
|
632
|
-
|
|
631
|
+
set(h) {
|
|
632
|
+
o("update:value", h);
|
|
633
633
|
}
|
|
634
|
-
}),
|
|
634
|
+
}), g = c(() => [
|
|
635
635
|
"ma-select",
|
|
636
|
-
`ma-select--${
|
|
636
|
+
`ma-select--${e.size}`,
|
|
637
637
|
{
|
|
638
|
-
"ma-select--has-prefix":
|
|
638
|
+
"ma-select--has-prefix": e.mode ? !1 : s?.prefixIcon || e?.prefixIcon
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
|
-
"ma-select--selected": Array.isArray(
|
|
641
|
+
"ma-select--selected": Array.isArray(u.value) ? u.value.length : u.value
|
|
642
642
|
},
|
|
643
643
|
{
|
|
644
644
|
"ma-select--custom-render": r
|
|
645
645
|
}
|
|
646
|
-
]),
|
|
647
|
-
|
|
646
|
+
]), p = c(() => [
|
|
647
|
+
e?.dropdownClassName,
|
|
648
648
|
"ma-select-dropdown",
|
|
649
|
-
!
|
|
650
|
-
].join(" ")),
|
|
651
|
-
|
|
652
|
-
},
|
|
653
|
-
|
|
654
|
-
},
|
|
655
|
-
|
|
649
|
+
!e?.mode && (s?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
|
|
650
|
+
].join(" ")), x = c(() => e?.loading ? "loader" : e?.suffixIcon), S = c(() => Object.keys(s).filter((h) => !["option"].includes(h))), z = c(() => e?.showArrow || !e?.mode), N = () => {
|
|
651
|
+
l.value = !0;
|
|
652
|
+
}, _ = (h) => {
|
|
653
|
+
l.value = h, i.value = "";
|
|
654
|
+
}, T = c(() => !r.value && e?.showSearch), M = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, E = () => {
|
|
655
|
+
l.value = !1;
|
|
656
656
|
};
|
|
657
|
-
return (
|
|
658
|
-
value: t(
|
|
659
|
-
"onUpdate:value":
|
|
660
|
-
},
|
|
661
|
-
class: t(
|
|
662
|
-
allowClear:
|
|
663
|
-
autoClearSearchValue:
|
|
664
|
-
autofocus:
|
|
665
|
-
defaultOpen:
|
|
666
|
-
disabled:
|
|
667
|
-
dropdownClassName: t(
|
|
668
|
-
loading:
|
|
669
|
-
optionFilterProp:
|
|
670
|
-
optionLabelProp:
|
|
671
|
-
options:
|
|
672
|
-
placeholder:
|
|
673
|
-
searchValue:
|
|
674
|
-
showSearch: t(
|
|
675
|
-
showArrow: t(
|
|
676
|
-
mode:
|
|
677
|
-
"list-height":
|
|
678
|
-
size:
|
|
679
|
-
open:
|
|
680
|
-
onClick:
|
|
681
|
-
onDropdownVisibleChange:
|
|
657
|
+
return (h, V) => (a(), m(t(Pe), I({
|
|
658
|
+
value: t(u),
|
|
659
|
+
"onUpdate:value": V[1] || (V[1] = (R) => W(u) ? u.value = R : null)
|
|
660
|
+
}, h.$attrs, {
|
|
661
|
+
class: t(g),
|
|
662
|
+
allowClear: e?.allowClear,
|
|
663
|
+
autoClearSearchValue: e?.autoClearSearchValue,
|
|
664
|
+
autofocus: e?.autofocus,
|
|
665
|
+
defaultOpen: e?.defaultOpen,
|
|
666
|
+
disabled: e?.disabled || e?.loading,
|
|
667
|
+
dropdownClassName: t(p),
|
|
668
|
+
loading: e?.loading,
|
|
669
|
+
optionFilterProp: e?.optionFilterProp,
|
|
670
|
+
optionLabelProp: e?.optionLabelProp,
|
|
671
|
+
options: e?.options,
|
|
672
|
+
placeholder: e?.placeholder,
|
|
673
|
+
searchValue: i.value || void 0,
|
|
674
|
+
showSearch: t(T),
|
|
675
|
+
showArrow: t(z),
|
|
676
|
+
mode: e?.mode,
|
|
677
|
+
"list-height": M(),
|
|
678
|
+
size: e?.size,
|
|
679
|
+
open: l.value,
|
|
680
|
+
onClick: N,
|
|
681
|
+
onDropdownVisibleChange: _,
|
|
682
682
|
"prefix-cls": "antd-select"
|
|
683
|
-
}),
|
|
684
|
-
suffixIcon:
|
|
685
|
-
|
|
686
|
-
spin:
|
|
687
|
-
name: t(
|
|
683
|
+
}), O({
|
|
684
|
+
suffixIcon: f(() => [
|
|
685
|
+
B(w, {
|
|
686
|
+
spin: e?.loading,
|
|
687
|
+
name: t(x) || "chevron-down"
|
|
688
688
|
}, null, 8, ["spin", "name"]),
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
689
|
+
h.$slots?.prefixIcon || e?.prefixIcon ? (a(), d("div", Io, [
|
|
690
|
+
k(h.$slots, "prefixIcon", {}, () => [
|
|
691
|
+
e?.prefixIcon ? (a(), m(w, {
|
|
692
692
|
key: 0,
|
|
693
|
-
name:
|
|
694
|
-
}, null, 8, ["name"])) :
|
|
693
|
+
name: e?.prefixIcon
|
|
694
|
+
}, null, 8, ["name"])) : y("", !0)
|
|
695
695
|
])
|
|
696
|
-
])) :
|
|
696
|
+
])) : y("", !0)
|
|
697
697
|
]),
|
|
698
|
-
removeIcon:
|
|
699
|
-
|
|
700
|
-
name:
|
|
698
|
+
removeIcon: f(() => [
|
|
699
|
+
B(w, {
|
|
700
|
+
name: e?.removeIcon || "close"
|
|
701
701
|
}, null, 8, ["name"])
|
|
702
702
|
]),
|
|
703
703
|
_: 2
|
|
704
704
|
}, [
|
|
705
|
-
|
|
706
|
-
name:
|
|
707
|
-
fn:
|
|
708
|
-
|
|
705
|
+
L(t(S), (R) => ({
|
|
706
|
+
name: R,
|
|
707
|
+
fn: f(() => [
|
|
708
|
+
k(h.$slots, R)
|
|
709
709
|
])
|
|
710
710
|
})),
|
|
711
|
-
|
|
711
|
+
h.$slots.option ? {
|
|
712
712
|
name: "option",
|
|
713
|
-
fn:
|
|
714
|
-
|
|
715
|
-
label:
|
|
716
|
-
value:
|
|
713
|
+
fn: f(({ label: R, value: j }) => [
|
|
714
|
+
k(h.$slots, "option", {
|
|
715
|
+
label: R,
|
|
716
|
+
value: j
|
|
717
717
|
})
|
|
718
718
|
]),
|
|
719
719
|
key: "0"
|
|
720
720
|
} : void 0,
|
|
721
|
-
|
|
721
|
+
e?.clearIcon ? {
|
|
722
722
|
name: "clearIcon",
|
|
723
|
-
fn:
|
|
724
|
-
|
|
723
|
+
fn: f(() => [
|
|
724
|
+
e?.clearIcon ? (a(), m(w, {
|
|
725
725
|
key: 0,
|
|
726
|
-
name:
|
|
727
|
-
}, null, 8, ["name"])) :
|
|
726
|
+
name: e?.clearIcon
|
|
727
|
+
}, null, 8, ["name"])) : y("", !0)
|
|
728
728
|
]),
|
|
729
729
|
key: "1"
|
|
730
730
|
} : void 0,
|
|
731
|
-
|
|
731
|
+
e?.menuItemSelectedIcon ? {
|
|
732
732
|
name: "menuItemSelectedIcon",
|
|
733
|
-
fn:
|
|
734
|
-
|
|
735
|
-
name:
|
|
733
|
+
fn: f(() => [
|
|
734
|
+
B(w, {
|
|
735
|
+
name: e?.menuItemSelectedIcon
|
|
736
736
|
}, null, 8, ["name"])
|
|
737
737
|
]),
|
|
738
738
|
key: "2"
|
|
739
739
|
} : void 0,
|
|
740
|
-
|
|
740
|
+
h.$slots.notFoundContent ? void 0 : {
|
|
741
741
|
name: "notFoundContent",
|
|
742
|
-
fn:
|
|
743
|
-
|
|
742
|
+
fn: f(() => [
|
|
743
|
+
B(w, {
|
|
744
744
|
size: "sm",
|
|
745
745
|
name: "warning"
|
|
746
746
|
}),
|
|
747
|
-
|
|
747
|
+
U(" No result found! ")
|
|
748
748
|
]),
|
|
749
749
|
key: "3"
|
|
750
750
|
},
|
|
751
|
-
t(r) &&
|
|
751
|
+
t(r) && l.value ? {
|
|
752
752
|
name: "dropdownRender",
|
|
753
|
-
fn:
|
|
754
|
-
|
|
755
|
-
filter:
|
|
756
|
-
"onUpdate:filter":
|
|
757
|
-
menu:
|
|
758
|
-
onCloseDropdown:
|
|
753
|
+
fn: f(({ menuNode: R }) => [
|
|
754
|
+
B(Bo, {
|
|
755
|
+
filter: i.value,
|
|
756
|
+
"onUpdate:filter": V[0] || (V[0] = (j) => i.value = j),
|
|
757
|
+
menu: R,
|
|
758
|
+
onCloseDropdown: E
|
|
759
759
|
}, null, 8, ["filter", "menu"])
|
|
760
760
|
]),
|
|
761
761
|
key: "4"
|
|
@@ -763,24 +763,24 @@ const Ko = {
|
|
|
763
763
|
]), 1040, ["value", "class", "allowClear", "autoClearSearchValue", "autofocus", "defaultOpen", "disabled", "dropdownClassName", "loading", "optionFilterProp", "optionLabelProp", "options", "placeholder", "searchValue", "showSearch", "showArrow", "mode", "list-height", "size", "open"]));
|
|
764
764
|
}
|
|
765
765
|
});
|
|
766
|
-
const
|
|
766
|
+
const Ao = ["for"], No = {
|
|
767
767
|
key: 1,
|
|
768
768
|
class: "ak-input__wrapper"
|
|
769
|
-
},
|
|
769
|
+
}, Ro = {
|
|
770
770
|
key: 1,
|
|
771
771
|
class: "currency"
|
|
772
|
-
},
|
|
772
|
+
}, Do = {
|
|
773
773
|
key: 3,
|
|
774
774
|
class: "ak-input__hint-text"
|
|
775
|
-
},
|
|
775
|
+
}, Fo = {
|
|
776
776
|
name: "MaInput",
|
|
777
777
|
inheritAttrs: !1
|
|
778
|
-
},
|
|
779
|
-
...
|
|
778
|
+
}, Po = /* @__PURE__ */ $({
|
|
779
|
+
...Fo,
|
|
780
780
|
props: {
|
|
781
781
|
allowClear: { type: Boolean },
|
|
782
|
-
type: { default:
|
|
783
|
-
size: { default:
|
|
782
|
+
type: { default: K.text },
|
|
783
|
+
size: { default: ho.small },
|
|
784
784
|
title: null,
|
|
785
785
|
hintText: null,
|
|
786
786
|
hasError: { type: Boolean },
|
|
@@ -802,251 +802,251 @@ const ls = ["for"], rs = {
|
|
|
802
802
|
"update:value",
|
|
803
803
|
"update:amountCurrency"
|
|
804
804
|
],
|
|
805
|
-
setup(
|
|
806
|
-
const
|
|
807
|
-
`ma-input ak-input ak-input--${
|
|
805
|
+
setup(n, { emit: o }) {
|
|
806
|
+
const e = n, s = ke(), i = F(null), l = c(() => [K.amount, K.creditCard].includes(e.type) ? "number" : e.type === K.userInfo ? "text" : e.type), r = c(() => [
|
|
807
|
+
`ma-input ak-input ak-input--${e.type} ak-input--${e.size} ${s?.class}`,
|
|
808
808
|
{
|
|
809
|
-
"ak-input--has-error":
|
|
809
|
+
"ak-input--has-error": e.hasError
|
|
810
810
|
},
|
|
811
811
|
{
|
|
812
|
-
"ak-input--disabled":
|
|
812
|
+
"ak-input--disabled": e.disabled
|
|
813
813
|
},
|
|
814
814
|
{
|
|
815
|
-
"ak-input--filled":
|
|
815
|
+
"ak-input--filled": e?.value
|
|
816
816
|
}
|
|
817
|
-
]),
|
|
817
|
+
]), u = c(() => ["ak-input__input", e?.inputClass]), g = c({
|
|
818
818
|
get() {
|
|
819
|
-
return
|
|
819
|
+
return e.value;
|
|
820
820
|
},
|
|
821
|
-
set(
|
|
822
|
-
|
|
821
|
+
set(h) {
|
|
822
|
+
o("update:value", h);
|
|
823
823
|
}
|
|
824
|
-
}),
|
|
824
|
+
}), p = c(() => e.amountCurrency ? bo[e.amountCurrency] : null), x = c({
|
|
825
825
|
get() {
|
|
826
|
-
return
|
|
826
|
+
return e.amountCurrency;
|
|
827
827
|
},
|
|
828
|
-
set(
|
|
829
|
-
|
|
828
|
+
set(h) {
|
|
829
|
+
o("update:amountCurrency", h);
|
|
830
830
|
}
|
|
831
|
-
}), S = c(() =>
|
|
832
|
-
let
|
|
833
|
-
return
|
|
834
|
-
}),
|
|
835
|
-
|
|
836
|
-
},
|
|
837
|
-
|
|
838
|
-
},
|
|
839
|
-
|
|
831
|
+
}), S = c(() => e.type === K.password ? Le : Ee), z = c(() => e.type === K.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), N = c(() => e.type === K.url ? "https" : e?.addonBefore), _ = c(() => {
|
|
832
|
+
let h = { ...s, ...z.value };
|
|
833
|
+
return s?.class && delete h?.class, h;
|
|
834
|
+
}), T = (h) => {
|
|
835
|
+
o("change", h);
|
|
836
|
+
}, M = (h) => {
|
|
837
|
+
o("currency-change", h);
|
|
838
|
+
}, E = () => {
|
|
839
|
+
i.value.focus();
|
|
840
840
|
};
|
|
841
|
-
return (
|
|
842
|
-
class:
|
|
841
|
+
return (h, V) => (a(), d("div", {
|
|
842
|
+
class: P(t(r))
|
|
843
843
|
}, [
|
|
844
|
-
|
|
845
|
-
|
|
844
|
+
k(h.$slots, "title"),
|
|
845
|
+
e.title ? (a(), d("label", {
|
|
846
846
|
key: 0,
|
|
847
|
-
onClick:
|
|
847
|
+
onClick: E,
|
|
848
848
|
class: "ak-input__title",
|
|
849
|
-
for:
|
|
850
|
-
},
|
|
851
|
-
|
|
852
|
-
(
|
|
853
|
-
value: t(
|
|
854
|
-
"onUpdate:value":
|
|
855
|
-
}, t(
|
|
856
|
-
allowClear:
|
|
857
|
-
type: t(
|
|
858
|
-
disabled:
|
|
859
|
-
placeholder:
|
|
860
|
-
addonBefore: t(
|
|
861
|
-
addonAfter:
|
|
862
|
-
class: t(
|
|
863
|
-
onChange:
|
|
849
|
+
for: h.$attrs?.id
|
|
850
|
+
}, C(e.title), 9, Ao)) : y("", !0),
|
|
851
|
+
e.type !== "textarea" ? (a(), d("div", No, [
|
|
852
|
+
(a(), m(ue(t(S)), I({
|
|
853
|
+
value: t(g),
|
|
854
|
+
"onUpdate:value": V[1] || (V[1] = (R) => W(g) ? g.value = R : null)
|
|
855
|
+
}, t(_), {
|
|
856
|
+
allowClear: e?.allowClear,
|
|
857
|
+
type: t(l),
|
|
858
|
+
disabled: e?.disabled,
|
|
859
|
+
placeholder: e?.placeholder,
|
|
860
|
+
addonBefore: t(N),
|
|
861
|
+
addonAfter: n.addonAfter,
|
|
862
|
+
class: t(u),
|
|
863
|
+
onChange: T,
|
|
864
864
|
ref_key: "inputRef",
|
|
865
|
-
ref:
|
|
866
|
-
}),
|
|
867
|
-
prefix:
|
|
868
|
-
|
|
865
|
+
ref: i
|
|
866
|
+
}), O({
|
|
867
|
+
prefix: f(() => [
|
|
868
|
+
e.prefixIcon ? (a(), m(w, {
|
|
869
869
|
key: 0,
|
|
870
870
|
size: "xs",
|
|
871
|
-
name:
|
|
872
|
-
}, null, 8, ["name"])) : t(
|
|
871
|
+
name: e.prefixIcon
|
|
872
|
+
}, null, 8, ["name"])) : t(p) ? (a(), d("span", Ro, C(t(p)), 1)) : e.type === t(K).userInfo ? (a(), m(wo, {
|
|
873
873
|
key: 2,
|
|
874
|
-
src:
|
|
875
|
-
disabled:
|
|
876
|
-
}, null, 8, ["src", "disabled"])) :
|
|
874
|
+
src: e.avatarUrl,
|
|
875
|
+
disabled: e.disabled
|
|
876
|
+
}, null, 8, ["src", "disabled"])) : y("", !0)
|
|
877
877
|
]),
|
|
878
|
-
suffix:
|
|
879
|
-
|
|
878
|
+
suffix: f(() => [
|
|
879
|
+
e.type === "amount" ? (a(), m(To, {
|
|
880
880
|
key: 0,
|
|
881
|
-
value: t(
|
|
882
|
-
"onUpdate:value":
|
|
883
|
-
onChange:
|
|
881
|
+
value: t(x),
|
|
882
|
+
"onUpdate:value": V[0] || (V[0] = (R) => W(x) ? x.value = R : null),
|
|
883
|
+
onChange: M,
|
|
884
884
|
dropdownClassName: "ak-input__input__ma-select__dropdown",
|
|
885
|
-
options: t(
|
|
886
|
-
disabled:
|
|
885
|
+
options: t(ko),
|
|
886
|
+
disabled: e.disabled,
|
|
887
887
|
size: "small"
|
|
888
|
-
}, null, 8, ["value", "options", "disabled"])) :
|
|
889
|
-
|
|
888
|
+
}, null, 8, ["value", "options", "disabled"])) : y("", !0),
|
|
889
|
+
e.suffixIcon ? (a(), m(w, {
|
|
890
890
|
key: 1,
|
|
891
891
|
size: "xs",
|
|
892
|
-
name:
|
|
893
|
-
}, null, 8, ["name"])) :
|
|
892
|
+
name: e.suffixIcon
|
|
893
|
+
}, null, 8, ["name"])) : y("", !0)
|
|
894
894
|
]),
|
|
895
895
|
_: 2
|
|
896
896
|
}, [
|
|
897
|
-
|
|
898
|
-
name:
|
|
899
|
-
fn:
|
|
900
|
-
|
|
897
|
+
L(h.$slots, (R, j) => ({
|
|
898
|
+
name: j,
|
|
899
|
+
fn: f(() => [
|
|
900
|
+
k(h.$slots, j)
|
|
901
901
|
])
|
|
902
902
|
}))
|
|
903
903
|
]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter", "class"]))
|
|
904
|
-
])) : (
|
|
904
|
+
])) : (a(), m(t(Ve), I({
|
|
905
905
|
key: 2,
|
|
906
|
-
value: t(
|
|
907
|
-
"onUpdate:value":
|
|
908
|
-
}, t(
|
|
909
|
-
class: t(
|
|
910
|
-
disabled:
|
|
911
|
-
placeholder:
|
|
912
|
-
onChange:
|
|
906
|
+
value: t(g),
|
|
907
|
+
"onUpdate:value": V[2] || (V[2] = (R) => W(g) ? g.value = R : null)
|
|
908
|
+
}, t(_), {
|
|
909
|
+
class: t(u),
|
|
910
|
+
disabled: e?.disabled,
|
|
911
|
+
placeholder: e?.placeholder,
|
|
912
|
+
onChange: T,
|
|
913
913
|
rows: 5,
|
|
914
914
|
ref_key: "inputRef",
|
|
915
|
-
ref:
|
|
916
|
-
}),
|
|
917
|
-
|
|
918
|
-
name:
|
|
919
|
-
fn:
|
|
920
|
-
|
|
915
|
+
ref: i
|
|
916
|
+
}), O({ _: 2 }, [
|
|
917
|
+
L(h.$slots, (R, j) => ({
|
|
918
|
+
name: j,
|
|
919
|
+
fn: f(() => [
|
|
920
|
+
k(h.$slots, j)
|
|
921
921
|
])
|
|
922
922
|
}))
|
|
923
923
|
]), 1040, ["value", "class", "disabled", "placeholder"])),
|
|
924
|
-
|
|
925
|
-
|
|
924
|
+
k(h.$slots, "hint"),
|
|
925
|
+
e.hintText ? (a(), d("div", Do, C(e.hintText), 1)) : y("", !0)
|
|
926
926
|
], 2));
|
|
927
927
|
}
|
|
928
928
|
});
|
|
929
|
-
const
|
|
929
|
+
const Lo = {
|
|
930
930
|
name: "MaSelectOption"
|
|
931
|
-
},
|
|
932
|
-
...
|
|
933
|
-
setup(
|
|
934
|
-
return (
|
|
931
|
+
}, ht = /* @__PURE__ */ $({
|
|
932
|
+
...Lo,
|
|
933
|
+
setup(n) {
|
|
934
|
+
return (o, e) => (a(), m(t(je), I(o.$attrs, {
|
|
935
935
|
class: "ma-select-option",
|
|
936
936
|
"prefix-cls": "antd-select"
|
|
937
|
-
}),
|
|
938
|
-
|
|
939
|
-
name:
|
|
940
|
-
fn:
|
|
941
|
-
|
|
937
|
+
}), O({ _: 2 }, [
|
|
938
|
+
L(o.$slots, (s, i) => ({
|
|
939
|
+
name: i,
|
|
940
|
+
fn: f(() => [
|
|
941
|
+
k(o.$slots, i)
|
|
942
942
|
])
|
|
943
943
|
}))
|
|
944
944
|
]), 1040));
|
|
945
945
|
}
|
|
946
|
-
}),
|
|
946
|
+
}), bt = [
|
|
947
947
|
"default",
|
|
948
948
|
"large",
|
|
949
949
|
"small"
|
|
950
|
-
],
|
|
950
|
+
], kt = [
|
|
951
951
|
"multiple",
|
|
952
952
|
"tags"
|
|
953
|
-
],
|
|
953
|
+
], Eo = {
|
|
954
954
|
name: "MaCheckbox"
|
|
955
|
-
},
|
|
956
|
-
...
|
|
955
|
+
}, $t = /* @__PURE__ */ $({
|
|
956
|
+
...Eo,
|
|
957
957
|
props: {
|
|
958
958
|
hint: null,
|
|
959
959
|
indeterminate: { type: Boolean, default: void 0 },
|
|
960
960
|
disabled: { type: Boolean }
|
|
961
961
|
},
|
|
962
|
-
setup(
|
|
963
|
-
const
|
|
962
|
+
setup(n) {
|
|
963
|
+
const o = n, e = c(() => [
|
|
964
964
|
"ma-checkbox",
|
|
965
965
|
"ak-checkbox",
|
|
966
966
|
{
|
|
967
|
-
"ak-checkbox--intermediate": typeof
|
|
967
|
+
"ak-checkbox--intermediate": typeof o?.indeterminate == "boolean"
|
|
968
968
|
}
|
|
969
969
|
]);
|
|
970
|
-
return (
|
|
971
|
-
class: t(
|
|
972
|
-
disabled:
|
|
973
|
-
indeterminate:
|
|
970
|
+
return (s, i) => (a(), m(t(qe), I(s.$attrs, {
|
|
971
|
+
class: t(e),
|
|
972
|
+
disabled: o?.disabled,
|
|
973
|
+
indeterminate: o?.indeterminate,
|
|
974
974
|
"prefix-cls": "antd-checkbox"
|
|
975
|
-
}),
|
|
976
|
-
|
|
975
|
+
}), O({ _: 2 }, [
|
|
976
|
+
L(s.$slots, (l, r) => ({
|
|
977
977
|
name: r,
|
|
978
|
-
fn:
|
|
979
|
-
|
|
980
|
-
|
|
978
|
+
fn: f(() => [
|
|
979
|
+
k(s.$slots, r),
|
|
980
|
+
o.hint ? (a(), d("div", {
|
|
981
981
|
key: r,
|
|
982
982
|
class: "ak-checkbox__hint-text"
|
|
983
|
-
},
|
|
983
|
+
}, C(o.hint), 1)) : y("", !0)
|
|
984
984
|
])
|
|
985
985
|
}))
|
|
986
986
|
]), 1040, ["class", "disabled", "indeterminate"]));
|
|
987
987
|
}
|
|
988
988
|
});
|
|
989
|
-
const
|
|
989
|
+
const Vo = {
|
|
990
990
|
name: "MaCheckboxGroup"
|
|
991
|
-
},
|
|
992
|
-
...
|
|
991
|
+
}, wt = /* @__PURE__ */ $({
|
|
992
|
+
...Vo,
|
|
993
993
|
props: {
|
|
994
994
|
hint: null,
|
|
995
995
|
disabled: { type: Boolean }
|
|
996
996
|
},
|
|
997
|
-
setup(
|
|
998
|
-
const
|
|
999
|
-
return (
|
|
997
|
+
setup(n) {
|
|
998
|
+
const o = n;
|
|
999
|
+
return (e, s) => (a(), m(t(Ue), I(e.$attrs, {
|
|
1000
1000
|
class: "ak-checkbox-group ma-checkbox-group",
|
|
1001
1001
|
"prefix-cls": "antd-checkbox"
|
|
1002
|
-
}),
|
|
1003
|
-
|
|
1004
|
-
name:
|
|
1005
|
-
fn:
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
key:
|
|
1002
|
+
}), O({ _: 2 }, [
|
|
1003
|
+
L(e.$slots, (i, l) => ({
|
|
1004
|
+
name: l,
|
|
1005
|
+
fn: f(() => [
|
|
1006
|
+
k(e.$slots, l),
|
|
1007
|
+
o.hint ? (a(), d("div", {
|
|
1008
|
+
key: l,
|
|
1009
1009
|
class: "ak-checkbox__hint-text"
|
|
1010
|
-
},
|
|
1010
|
+
}, C(o.hint), 1)) : y("", !0)
|
|
1011
1011
|
])
|
|
1012
1012
|
}))
|
|
1013
1013
|
]), 1040));
|
|
1014
1014
|
}
|
|
1015
|
-
}),
|
|
1015
|
+
}), jo = ["value"], qo = /* @__PURE__ */ $({
|
|
1016
1016
|
__name: "singleNumericInput",
|
|
1017
1017
|
props: {
|
|
1018
1018
|
value: { default: "" },
|
|
1019
1019
|
focus: { type: Boolean, default: !1 }
|
|
1020
1020
|
},
|
|
1021
1021
|
emits: ["update:value"],
|
|
1022
|
-
setup(
|
|
1023
|
-
const
|
|
1024
|
-
|
|
1025
|
-
() =>
|
|
1026
|
-
(
|
|
1027
|
-
|
|
1022
|
+
setup(n, { emit: o }) {
|
|
1023
|
+
const e = n, s = F(null);
|
|
1024
|
+
X(
|
|
1025
|
+
() => e.focus,
|
|
1026
|
+
(l) => {
|
|
1027
|
+
l && s.value.focus();
|
|
1028
1028
|
}
|
|
1029
1029
|
);
|
|
1030
|
-
const
|
|
1031
|
-
|
|
1030
|
+
const i = (l) => {
|
|
1031
|
+
o("update:value", l.target.value);
|
|
1032
1032
|
};
|
|
1033
|
-
return (
|
|
1034
|
-
value:
|
|
1035
|
-
onInput:
|
|
1033
|
+
return (l, r) => (a(), d("input", I(l.$attrs, {
|
|
1034
|
+
value: e.value,
|
|
1035
|
+
onInput: i,
|
|
1036
1036
|
ref_key: "input",
|
|
1037
|
-
ref:
|
|
1037
|
+
ref: s,
|
|
1038
1038
|
type: "number",
|
|
1039
1039
|
min: "0",
|
|
1040
1040
|
max: "9",
|
|
1041
1041
|
maxlength: "1",
|
|
1042
1042
|
pattern: "[0-9]",
|
|
1043
1043
|
inputmode: "numeric"
|
|
1044
|
-
}), null, 16,
|
|
1044
|
+
}), null, 16, jo));
|
|
1045
1045
|
}
|
|
1046
|
-
}),
|
|
1046
|
+
}), Uo = {
|
|
1047
1047
|
name: "MaNumericInput"
|
|
1048
|
-
},
|
|
1049
|
-
...
|
|
1048
|
+
}, Ct = /* @__PURE__ */ $({
|
|
1049
|
+
...Uo,
|
|
1050
1050
|
props: {
|
|
1051
1051
|
disabled: { type: Boolean },
|
|
1052
1052
|
length: { default: 6 },
|
|
@@ -1056,109 +1056,109 @@ const vs = {
|
|
|
1056
1056
|
size: { default: "medium" }
|
|
1057
1057
|
},
|
|
1058
1058
|
emits: ["update:value"],
|
|
1059
|
-
setup(
|
|
1060
|
-
const
|
|
1059
|
+
setup(n, { emit: o }) {
|
|
1060
|
+
const e = n, s = F(null), i = F(Array.from({ length: e.length }, (_, T) => e.value[T] || null)), l = c(() => [
|
|
1061
1061
|
"ma-numeric-input",
|
|
1062
|
-
`ma-numeric-input--${
|
|
1062
|
+
`ma-numeric-input--${e.size}`,
|
|
1063
1063
|
{
|
|
1064
|
-
"ma-numeric-input--has-error":
|
|
1064
|
+
"ma-numeric-input--has-error": e?.hasError
|
|
1065
1065
|
},
|
|
1066
1066
|
{
|
|
1067
|
-
"ma-numeric-input--disabled":
|
|
1067
|
+
"ma-numeric-input--disabled": e?.disabled
|
|
1068
1068
|
}
|
|
1069
|
-
]), r = c(() =>
|
|
1070
|
-
switch (
|
|
1069
|
+
]), r = c(() => e?.placeholderStatus ? "0" : null), u = (_) => /^Digit[0-9]$/.test(_), g = (_) => s.value = _, p = (_, T) => {
|
|
1070
|
+
switch (_.code) {
|
|
1071
1071
|
case "Backspace":
|
|
1072
1072
|
case "Delete":
|
|
1073
|
-
|
|
1073
|
+
z("", T), S();
|
|
1074
1074
|
break;
|
|
1075
1075
|
case "ArrowLeft":
|
|
1076
|
-
|
|
1076
|
+
_.preventDefault(), S();
|
|
1077
1077
|
break;
|
|
1078
1078
|
case "ArrowRight":
|
|
1079
|
-
|
|
1079
|
+
_.preventDefault(), x();
|
|
1080
1080
|
break;
|
|
1081
1081
|
default:
|
|
1082
|
-
|
|
1082
|
+
u(_.code) && (_.preventDefault(), z(_.key, T), x());
|
|
1083
1083
|
break;
|
|
1084
1084
|
}
|
|
1085
|
-
},
|
|
1086
|
-
|
|
1085
|
+
}, x = () => {
|
|
1086
|
+
s.value < e.length && s.value++;
|
|
1087
1087
|
}, S = () => {
|
|
1088
|
-
|
|
1089
|
-
},
|
|
1090
|
-
|
|
1091
|
-
},
|
|
1092
|
-
|
|
1093
|
-
const
|
|
1094
|
-
|
|
1088
|
+
e.length >= s.value && s.value > 0 && s.value--;
|
|
1089
|
+
}, z = (_, T) => {
|
|
1090
|
+
i.value[T] = _;
|
|
1091
|
+
}, N = (_, T) => {
|
|
1092
|
+
_.preventDefault();
|
|
1093
|
+
const M = _.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
|
|
1094
|
+
M.length === 1 && M.match(/^\d+$/) ? i.value[T] = M : M.match(/^\d+$/) && (i.value = M.split(""));
|
|
1095
1095
|
};
|
|
1096
|
-
return
|
|
1097
|
-
() =>
|
|
1098
|
-
(
|
|
1099
|
-
const
|
|
1100
|
-
|
|
1096
|
+
return X(
|
|
1097
|
+
() => i.value,
|
|
1098
|
+
(_) => {
|
|
1099
|
+
const T = _.join("");
|
|
1100
|
+
o("update:value", T);
|
|
1101
1101
|
},
|
|
1102
1102
|
{ deep: !0 }
|
|
1103
|
-
),
|
|
1104
|
-
() =>
|
|
1105
|
-
(
|
|
1106
|
-
|
|
1103
|
+
), X(
|
|
1104
|
+
() => e.value,
|
|
1105
|
+
(_) => {
|
|
1106
|
+
_ !== i.value.join("") && _ && _.match(/^\d+$/) && (i.value = _.split("").slice(0, e.length));
|
|
1107
1107
|
}
|
|
1108
|
-
), (
|
|
1109
|
-
(
|
|
1110
|
-
focus:
|
|
1111
|
-
key:
|
|
1108
|
+
), (_, T) => (a(), d("div", I({ class: t(l) }, _.$attrs), [
|
|
1109
|
+
(a(!0), d(H, null, L(e.length, (M) => (a(), m(qo, {
|
|
1110
|
+
focus: s.value === M - 1,
|
|
1111
|
+
key: M,
|
|
1112
1112
|
placeholder: t(r),
|
|
1113
|
-
value:
|
|
1114
|
-
disabled:
|
|
1115
|
-
onFocus: (
|
|
1116
|
-
onKeydown: (
|
|
1117
|
-
onPaste: (
|
|
1113
|
+
value: i.value[M - 1],
|
|
1114
|
+
disabled: e.disabled,
|
|
1115
|
+
onFocus: (E) => g(M - 1),
|
|
1116
|
+
onKeydown: (E) => p(E, M - 1),
|
|
1117
|
+
onPaste: (E) => N(E, M - 1),
|
|
1118
1118
|
class: "ma-numeric-input__input"
|
|
1119
1119
|
}, null, 8, ["focus", "placeholder", "value", "disabled", "onFocus", "onKeydown", "onPaste"]))), 128))
|
|
1120
1120
|
], 16));
|
|
1121
1121
|
}
|
|
1122
1122
|
});
|
|
1123
|
-
const
|
|
1123
|
+
const xt = [
|
|
1124
1124
|
"small",
|
|
1125
1125
|
"medium",
|
|
1126
1126
|
"large"
|
|
1127
|
-
],
|
|
1127
|
+
], Oo = {
|
|
1128
1128
|
name: "MaRadio"
|
|
1129
|
-
},
|
|
1130
|
-
...
|
|
1129
|
+
}, Ho = /* @__PURE__ */ $({
|
|
1130
|
+
...Oo,
|
|
1131
1131
|
props: {
|
|
1132
1132
|
type: { default: "button" },
|
|
1133
1133
|
hint: null,
|
|
1134
1134
|
disabled: { type: Boolean }
|
|
1135
1135
|
},
|
|
1136
|
-
setup(
|
|
1137
|
-
const
|
|
1138
|
-
return (
|
|
1139
|
-
class: t(
|
|
1136
|
+
setup(n) {
|
|
1137
|
+
const o = n, e = c(() => [`ma-radio ma-radio--${o.type}`]);
|
|
1138
|
+
return (s, i) => (a(), m(t(Oe), I(s.$attrs, {
|
|
1139
|
+
class: t(e),
|
|
1140
1140
|
"prefix-cls": "antd-radio"
|
|
1141
|
-
}),
|
|
1142
|
-
|
|
1141
|
+
}), O({ _: 2 }, [
|
|
1142
|
+
L(s.$slots, (l, r) => ({
|
|
1143
1143
|
name: r,
|
|
1144
|
-
fn:
|
|
1145
|
-
|
|
1146
|
-
|
|
1144
|
+
fn: f(() => [
|
|
1145
|
+
k(s.$slots, r),
|
|
1146
|
+
o.hint ? (a(), d("div", {
|
|
1147
1147
|
key: r,
|
|
1148
1148
|
class: "ma-radio__hint-text"
|
|
1149
|
-
},
|
|
1149
|
+
}, C(o.hint), 1)) : y("", !0)
|
|
1150
1150
|
])
|
|
1151
1151
|
}))
|
|
1152
1152
|
]), 1040, ["class"]));
|
|
1153
1153
|
}
|
|
1154
1154
|
});
|
|
1155
|
-
const
|
|
1155
|
+
const Go = ["aria-checked", "disabled"], Ko = ["src", "alt"], Wo = { class: "ma-app-track-button__text" }, Jo = { class: "ma-app-track-button__text__title" }, Yo = {
|
|
1156
1156
|
key: 0,
|
|
1157
1157
|
class: "ma-app-track-button__text__category"
|
|
1158
|
-
},
|
|
1158
|
+
}, Xo = { class: "ma-app-track-button__check" }, Qo = {
|
|
1159
1159
|
name: "MaAppTrackButton"
|
|
1160
|
-
},
|
|
1161
|
-
...
|
|
1160
|
+
}, Mt = /* @__PURE__ */ $({
|
|
1161
|
+
...Qo,
|
|
1162
1162
|
props: {
|
|
1163
1163
|
checked: { type: Boolean, default: !1 },
|
|
1164
1164
|
appIcon: null,
|
|
@@ -1169,53 +1169,53 @@ const ks = ["aria-checked", "disabled"], $s = ["src", "alt"], ws = { class: "ma-
|
|
|
1169
1169
|
loading: { type: Boolean, default: !1 }
|
|
1170
1170
|
},
|
|
1171
1171
|
emits: ["update:checked", "change"],
|
|
1172
|
-
setup(
|
|
1173
|
-
const
|
|
1174
|
-
|
|
1175
|
-
},
|
|
1172
|
+
setup(n, { emit: o }) {
|
|
1173
|
+
const e = n, s = (l) => {
|
|
1174
|
+
l.preventDefault(), o("change", !e.checked), o("update:checked", !e.checked);
|
|
1175
|
+
}, i = c(() => [
|
|
1176
1176
|
"ma-app-track-button",
|
|
1177
1177
|
{
|
|
1178
|
-
"ma-app-track-button--disabled":
|
|
1178
|
+
"ma-app-track-button--disabled": e.disabled || e.loading
|
|
1179
1179
|
},
|
|
1180
1180
|
{
|
|
1181
|
-
"ma-app-track-button--checked":
|
|
1181
|
+
"ma-app-track-button--checked": e.checked
|
|
1182
1182
|
},
|
|
1183
1183
|
{
|
|
1184
|
-
"ma-app-track-button--loading":
|
|
1184
|
+
"ma-app-track-button--loading": e.loading
|
|
1185
1185
|
}
|
|
1186
1186
|
]);
|
|
1187
|
-
return (
|
|
1188
|
-
class: t(
|
|
1187
|
+
return (l, r) => (a(), d("button", I({
|
|
1188
|
+
class: t(i),
|
|
1189
1189
|
role: "switch",
|
|
1190
|
-
"aria-checked":
|
|
1191
|
-
disabled:
|
|
1192
|
-
},
|
|
1193
|
-
|
|
1194
|
-
src:
|
|
1195
|
-
alt:
|
|
1190
|
+
"aria-checked": e.checked,
|
|
1191
|
+
disabled: e.disabled
|
|
1192
|
+
}, l.$attrs, { onClick: s }), [
|
|
1193
|
+
b("img", {
|
|
1194
|
+
src: e.appIcon,
|
|
1195
|
+
alt: e.appName,
|
|
1196
1196
|
width: "40",
|
|
1197
1197
|
height: "40"
|
|
1198
|
-
}, null, 8,
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1198
|
+
}, null, 8, Ko),
|
|
1199
|
+
b("span", Wo, [
|
|
1200
|
+
b("span", Jo, C(e.appName), 1),
|
|
1201
|
+
e.appCategory ? (a(), d("span", Yo, C(e?.appCategory), 1)) : y("", !0)
|
|
1202
1202
|
]),
|
|
1203
|
-
|
|
1204
|
-
|
|
1203
|
+
b("span", Xo, [
|
|
1204
|
+
B(de, {
|
|
1205
1205
|
name: "fade",
|
|
1206
1206
|
mode: "out-in"
|
|
1207
1207
|
}, {
|
|
1208
|
-
default:
|
|
1209
|
-
|
|
1208
|
+
default: f(() => [
|
|
1209
|
+
e.loading ? (a(), m(w, {
|
|
1210
1210
|
key: 0,
|
|
1211
1211
|
name: "loader",
|
|
1212
1212
|
size: "xs",
|
|
1213
1213
|
spin: ""
|
|
1214
|
-
})) : !
|
|
1214
|
+
})) : !e.multiple || e.checked ? (a(), m(Ho, {
|
|
1215
1215
|
key: 1,
|
|
1216
|
-
checked:
|
|
1216
|
+
checked: e.checked,
|
|
1217
1217
|
type: "check"
|
|
1218
|
-
}, null, 8, ["checked"])) : (
|
|
1218
|
+
}, null, 8, ["checked"])) : (a(), m(w, {
|
|
1219
1219
|
key: 2,
|
|
1220
1220
|
name: "add-circle",
|
|
1221
1221
|
size: "xs"
|
|
@@ -1224,22 +1224,22 @@ const ks = ["aria-checked", "disabled"], $s = ["src", "alt"], ws = { class: "ma-
|
|
|
1224
1224
|
_: 1
|
|
1225
1225
|
})
|
|
1226
1226
|
])
|
|
1227
|
-
], 16,
|
|
1227
|
+
], 16, Go));
|
|
1228
1228
|
}
|
|
1229
1229
|
});
|
|
1230
|
-
const
|
|
1230
|
+
const Zo = { class: "ak-app-icon__logo" }, es = ["src"], os = {
|
|
1231
1231
|
key: 1,
|
|
1232
1232
|
class: "ak-app-icon-platform"
|
|
1233
|
-
},
|
|
1233
|
+
}, ss = { class: "ak-app-icon__text" }, ts = {
|
|
1234
1234
|
key: 0,
|
|
1235
1235
|
class: "ak-app-name"
|
|
1236
|
-
},
|
|
1236
|
+
}, ns = {
|
|
1237
1237
|
key: 1,
|
|
1238
1238
|
class: "ak-app-description"
|
|
1239
|
-
},
|
|
1239
|
+
}, as = {
|
|
1240
1240
|
name: "MaAppIcon"
|
|
1241
|
-
},
|
|
1242
|
-
...
|
|
1241
|
+
}, zt = /* @__PURE__ */ $({
|
|
1242
|
+
...as,
|
|
1243
1243
|
props: {
|
|
1244
1244
|
appIcon: null,
|
|
1245
1245
|
appName: null,
|
|
@@ -1250,78 +1250,78 @@ const Ms = { class: "ak-app-icon__logo" }, zs = ["src"], Ss = {
|
|
|
1250
1250
|
size: { default: "medium" }
|
|
1251
1251
|
},
|
|
1252
1252
|
emits: ["close"],
|
|
1253
|
-
setup(
|
|
1254
|
-
const
|
|
1253
|
+
setup(n, { emit: o }) {
|
|
1254
|
+
const e = n, s = c(() => e.platform === "ios" ? "apple-storefront" : "android-storefront"), i = c(() => [
|
|
1255
1255
|
"ma-app-icon",
|
|
1256
1256
|
"ak-app-icon",
|
|
1257
|
-
`ak-app-icon--${
|
|
1258
|
-
{ "ak-app-icon--rounded":
|
|
1259
|
-
{ "ak-app-icon--only-icon": !
|
|
1260
|
-
]),
|
|
1261
|
-
|
|
1257
|
+
`ak-app-icon--${e.size}`,
|
|
1258
|
+
{ "ak-app-icon--rounded": e.rounded },
|
|
1259
|
+
{ "ak-app-icon--only-icon": !e?.appName && !e?.appDescription }
|
|
1260
|
+
]), l = () => {
|
|
1261
|
+
o("close");
|
|
1262
1262
|
};
|
|
1263
|
-
return (r,
|
|
1264
|
-
class:
|
|
1263
|
+
return (r, u) => (a(), d("div", {
|
|
1264
|
+
class: P(t(i))
|
|
1265
1265
|
}, [
|
|
1266
|
-
|
|
1267
|
-
|
|
1266
|
+
b("div", Zo, [
|
|
1267
|
+
e.closable ? (a(), d("span", {
|
|
1268
1268
|
key: 0,
|
|
1269
|
-
onClick:
|
|
1269
|
+
onClick: l,
|
|
1270
1270
|
class: "ak-app-icon-closable"
|
|
1271
1271
|
}, [
|
|
1272
|
-
|
|
1272
|
+
B(w, {
|
|
1273
1273
|
size: "xs",
|
|
1274
1274
|
name: "close-circle"
|
|
1275
1275
|
})
|
|
1276
|
-
])) :
|
|
1277
|
-
|
|
1276
|
+
])) : y("", !0),
|
|
1277
|
+
b("img", {
|
|
1278
1278
|
class: "ak-app-icon-img",
|
|
1279
|
-
src:
|
|
1280
|
-
}, null, 8,
|
|
1281
|
-
|
|
1282
|
-
|
|
1279
|
+
src: e.appIcon
|
|
1280
|
+
}, null, 8, es),
|
|
1281
|
+
e?.platform ? (a(), d("span", os, [
|
|
1282
|
+
B(w, {
|
|
1283
1283
|
size: "xs",
|
|
1284
|
-
name: t(
|
|
1284
|
+
name: t(s)
|
|
1285
1285
|
}, null, 8, ["name"])
|
|
1286
|
-
])) :
|
|
1286
|
+
])) : y("", !0)
|
|
1287
1287
|
]),
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1288
|
+
b("div", ss, [
|
|
1289
|
+
e?.appName ? (a(), d("span", ts, C(e.appName), 1)) : y("", !0),
|
|
1290
|
+
e?.appDescription ? (a(), d("span", ns, C(e.appDescription), 1)) : y("", !0)
|
|
1291
1291
|
])
|
|
1292
1292
|
], 2));
|
|
1293
1293
|
}
|
|
1294
1294
|
});
|
|
1295
|
-
const
|
|
1295
|
+
const Bt = [
|
|
1296
1296
|
"x-small",
|
|
1297
1297
|
"small",
|
|
1298
1298
|
"medium",
|
|
1299
1299
|
"large",
|
|
1300
1300
|
"x-large"
|
|
1301
|
-
],
|
|
1301
|
+
], It = [
|
|
1302
1302
|
"play",
|
|
1303
1303
|
"ios"
|
|
1304
|
-
],
|
|
1304
|
+
], is = {
|
|
1305
1305
|
name: "MaRadioGroup"
|
|
1306
|
-
},
|
|
1307
|
-
...
|
|
1308
|
-
setup(
|
|
1309
|
-
return (
|
|
1310
|
-
|
|
1311
|
-
name:
|
|
1312
|
-
fn:
|
|
1313
|
-
|
|
1306
|
+
}, St = /* @__PURE__ */ $({
|
|
1307
|
+
...is,
|
|
1308
|
+
setup(n) {
|
|
1309
|
+
return (o, e) => (a(), m(t(He), I(o.$attrs, { "prefix-cls": "antd-radio" }), O({ _: 2 }, [
|
|
1310
|
+
L(o.$slots, (s, i) => ({
|
|
1311
|
+
name: i,
|
|
1312
|
+
fn: f(() => [
|
|
1313
|
+
k(o.$slots, i)
|
|
1314
1314
|
])
|
|
1315
1315
|
}))
|
|
1316
1316
|
]), 1040));
|
|
1317
1317
|
}
|
|
1318
|
-
}),
|
|
1318
|
+
}), Tt = [
|
|
1319
1319
|
"button",
|
|
1320
1320
|
"check"
|
|
1321
|
-
],
|
|
1321
|
+
], ls = {
|
|
1322
1322
|
name: "MaBadge"
|
|
1323
|
-
},
|
|
1324
|
-
...
|
|
1323
|
+
}, At = /* @__PURE__ */ $({
|
|
1324
|
+
...ls,
|
|
1325
1325
|
props: {
|
|
1326
1326
|
type: { default: "primary" },
|
|
1327
1327
|
variant: { default: "dark" },
|
|
@@ -1329,51 +1329,51 @@ const Te = [
|
|
|
1329
1329
|
icon: null,
|
|
1330
1330
|
iconAlignment: { default: "left" }
|
|
1331
1331
|
},
|
|
1332
|
-
setup(
|
|
1333
|
-
const
|
|
1332
|
+
setup(n) {
|
|
1333
|
+
const o = n, e = c(() => [
|
|
1334
1334
|
"ma-badge",
|
|
1335
1335
|
"ak-badge",
|
|
1336
|
-
`ak-badge--${
|
|
1337
|
-
`ak-badge--${
|
|
1336
|
+
`ak-badge--${o.variant}--${o.type}`,
|
|
1337
|
+
`ak-badge--${o.size}`,
|
|
1338
1338
|
{
|
|
1339
|
-
"ak-badge--icon-right":
|
|
1339
|
+
"ak-badge--icon-right": o.iconAlignment === "right"
|
|
1340
1340
|
}
|
|
1341
1341
|
]);
|
|
1342
|
-
return (
|
|
1343
|
-
class:
|
|
1342
|
+
return (s, i) => (a(), d("div", {
|
|
1343
|
+
class: P(t(e))
|
|
1344
1344
|
}, [
|
|
1345
|
-
|
|
1345
|
+
o?.icon ? (a(), m(w, {
|
|
1346
1346
|
key: 0,
|
|
1347
|
-
name:
|
|
1348
|
-
}, null, 8, ["name"])) :
|
|
1349
|
-
|
|
1347
|
+
name: o?.icon
|
|
1348
|
+
}, null, 8, ["name"])) : y("", !0),
|
|
1349
|
+
k(s.$slots, "default")
|
|
1350
1350
|
], 2));
|
|
1351
1351
|
}
|
|
1352
1352
|
});
|
|
1353
|
-
const
|
|
1353
|
+
const Nt = [
|
|
1354
1354
|
"dark",
|
|
1355
1355
|
"blue",
|
|
1356
1356
|
"green",
|
|
1357
1357
|
"orange",
|
|
1358
1358
|
"red",
|
|
1359
1359
|
"purple"
|
|
1360
|
-
],
|
|
1360
|
+
], Rt = [
|
|
1361
1361
|
"primary",
|
|
1362
1362
|
"secondary",
|
|
1363
1363
|
"line",
|
|
1364
1364
|
"dashed",
|
|
1365
1365
|
"icon"
|
|
1366
|
-
],
|
|
1366
|
+
], Dt = [
|
|
1367
1367
|
"small",
|
|
1368
1368
|
"medium",
|
|
1369
1369
|
"large"
|
|
1370
|
-
],
|
|
1370
|
+
], Ft = [
|
|
1371
1371
|
"left",
|
|
1372
1372
|
"right"
|
|
1373
|
-
],
|
|
1373
|
+
], rs = {
|
|
1374
1374
|
name: "MaAlert"
|
|
1375
|
-
},
|
|
1376
|
-
...
|
|
1375
|
+
}, Pt = /* @__PURE__ */ $({
|
|
1376
|
+
...rs,
|
|
1377
1377
|
props: {
|
|
1378
1378
|
variant: { default: "dark" },
|
|
1379
1379
|
type: { default: "primary" },
|
|
@@ -1382,53 +1382,53 @@ const Re = [
|
|
|
1382
1382
|
description: null,
|
|
1383
1383
|
icon: null
|
|
1384
1384
|
},
|
|
1385
|
-
setup(
|
|
1386
|
-
const
|
|
1387
|
-
return (
|
|
1388
|
-
class: t(
|
|
1389
|
-
description:
|
|
1390
|
-
message:
|
|
1391
|
-
closable:
|
|
1392
|
-
showIcon: t(
|
|
1385
|
+
setup(n) {
|
|
1386
|
+
const o = n, e = Q(), s = c(() => [`ma-alert ak-alert ak-alert--${o.variant}--${o.type}`]), i = c(() => !!o?.icon || !!e?.icon);
|
|
1387
|
+
return (l, r) => (a(), m(t(Ge), I(l.$attrs, {
|
|
1388
|
+
class: t(s),
|
|
1389
|
+
description: n.description,
|
|
1390
|
+
message: n.message,
|
|
1391
|
+
closable: n.closable,
|
|
1392
|
+
showIcon: t(i),
|
|
1393
1393
|
"prefix-cls": "antd-alert"
|
|
1394
1394
|
}), {
|
|
1395
|
-
closeIcon:
|
|
1396
|
-
|
|
1395
|
+
closeIcon: f(() => [
|
|
1396
|
+
B(w, {
|
|
1397
1397
|
name: "close",
|
|
1398
1398
|
size: "xs"
|
|
1399
1399
|
})
|
|
1400
1400
|
]),
|
|
1401
|
-
icon:
|
|
1402
|
-
|
|
1401
|
+
icon: f(() => [
|
|
1402
|
+
o?.icon ? (a(), m(w, {
|
|
1403
1403
|
key: 0,
|
|
1404
|
-
name:
|
|
1404
|
+
name: n.icon,
|
|
1405
1405
|
size: "lg"
|
|
1406
|
-
}, null, 8, ["name"])) :
|
|
1407
|
-
|
|
1406
|
+
}, null, 8, ["name"])) : y("", !0),
|
|
1407
|
+
k(l.$slots, "icon")
|
|
1408
1408
|
]),
|
|
1409
|
-
message:
|
|
1410
|
-
|
|
1409
|
+
message: f(() => [
|
|
1410
|
+
k(l.$slots, "message")
|
|
1411
1411
|
]),
|
|
1412
|
-
description:
|
|
1413
|
-
|
|
1412
|
+
description: f(() => [
|
|
1413
|
+
k(l.$slots, "description")
|
|
1414
1414
|
]),
|
|
1415
1415
|
_: 3
|
|
1416
1416
|
}, 16, ["class", "description", "message", "closable", "showIcon"]));
|
|
1417
1417
|
}
|
|
1418
1418
|
});
|
|
1419
|
-
const
|
|
1419
|
+
const Lt = [
|
|
1420
1420
|
"dark",
|
|
1421
1421
|
"blue",
|
|
1422
1422
|
"green",
|
|
1423
1423
|
"orange",
|
|
1424
1424
|
"red"
|
|
1425
|
-
],
|
|
1425
|
+
], Et = [
|
|
1426
1426
|
"primary",
|
|
1427
1427
|
"secondary"
|
|
1428
|
-
],
|
|
1428
|
+
], cs = {
|
|
1429
1429
|
name: "MaAnimation"
|
|
1430
|
-
},
|
|
1431
|
-
...
|
|
1430
|
+
}, Vt = /* @__PURE__ */ $({
|
|
1431
|
+
...cs,
|
|
1432
1432
|
props: {
|
|
1433
1433
|
name: null,
|
|
1434
1434
|
loop: { type: Boolean, default: !0 },
|
|
@@ -1438,87 +1438,87 @@ const Le = [
|
|
|
1438
1438
|
rendererSettings: null
|
|
1439
1439
|
},
|
|
1440
1440
|
emits: ["onLoaded", "onComplete", "onError"],
|
|
1441
|
-
setup(
|
|
1442
|
-
const
|
|
1443
|
-
let
|
|
1444
|
-
const
|
|
1445
|
-
|
|
1441
|
+
setup(n, { expose: o, emit: e }) {
|
|
1442
|
+
const s = n;
|
|
1443
|
+
let i;
|
|
1444
|
+
const l = F(null), r = F(null);
|
|
1445
|
+
o({
|
|
1446
1446
|
animation: r
|
|
1447
1447
|
});
|
|
1448
|
-
const
|
|
1449
|
-
width:
|
|
1450
|
-
height:
|
|
1448
|
+
const u = c(() => ({
|
|
1449
|
+
width: s.width ? `${s.width}px` : void 0,
|
|
1450
|
+
height: s.height ? `${s.height}px` : void 0
|
|
1451
1451
|
}));
|
|
1452
|
-
|
|
1453
|
-
() =>
|
|
1452
|
+
X(
|
|
1453
|
+
() => s.name,
|
|
1454
1454
|
() => {
|
|
1455
|
-
|
|
1455
|
+
x(), p();
|
|
1456
1456
|
}
|
|
1457
1457
|
);
|
|
1458
|
-
const
|
|
1459
|
-
const { default: S } = await import("./lottie_light-b08f9446.mjs").then((
|
|
1460
|
-
|
|
1461
|
-
},
|
|
1458
|
+
const g = async () => {
|
|
1459
|
+
const { default: S } = await import("./lottie_light-b08f9446.mjs").then((z) => z.l);
|
|
1460
|
+
i = S;
|
|
1461
|
+
}, p = async () => {
|
|
1462
1462
|
try {
|
|
1463
|
-
const { default: S } = await
|
|
1464
|
-
r.value =
|
|
1465
|
-
container:
|
|
1466
|
-
loop:
|
|
1467
|
-
autoplay:
|
|
1463
|
+
const { default: S } = await oe(/* @__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`);
|
|
1464
|
+
r.value = i.loadAnimation({
|
|
1465
|
+
container: l.value,
|
|
1466
|
+
loop: s.loop,
|
|
1467
|
+
autoplay: s.autoplay,
|
|
1468
1468
|
animationData: S,
|
|
1469
|
-
rendererSettings:
|
|
1470
|
-
}), r.value.onComplete = () =>
|
|
1471
|
-
|
|
1469
|
+
rendererSettings: s?.rendererSettings
|
|
1470
|
+
}), r.value.onComplete = () => e("onComplete"), r.value.addEventListener("DOMLoaded", function() {
|
|
1471
|
+
e("onLoaded");
|
|
1472
1472
|
});
|
|
1473
1473
|
} catch (S) {
|
|
1474
|
-
|
|
1474
|
+
e("onError", S);
|
|
1475
1475
|
}
|
|
1476
|
-
},
|
|
1476
|
+
}, x = () => {
|
|
1477
1477
|
r.value && r.value.destroy();
|
|
1478
1478
|
};
|
|
1479
|
-
return
|
|
1480
|
-
await
|
|
1481
|
-
}),
|
|
1482
|
-
|
|
1483
|
-
}), (S,
|
|
1479
|
+
return me(async () => {
|
|
1480
|
+
await g(), p();
|
|
1481
|
+
}), $e(() => {
|
|
1482
|
+
x();
|
|
1483
|
+
}), (S, z) => (a(), d("div", {
|
|
1484
1484
|
ref_key: "animationRef",
|
|
1485
|
-
ref:
|
|
1485
|
+
ref: l,
|
|
1486
1486
|
class: "ma-animation",
|
|
1487
|
-
style:
|
|
1487
|
+
style: ge(t(u))
|
|
1488
1488
|
}, null, 4));
|
|
1489
1489
|
}
|
|
1490
|
-
}),
|
|
1490
|
+
}), jt = [
|
|
1491
1491
|
"rocket",
|
|
1492
1492
|
"success-confetti",
|
|
1493
1493
|
"rounded-loading",
|
|
1494
1494
|
"fly-waiting",
|
|
1495
1495
|
"no-data-found",
|
|
1496
1496
|
"sad-not-found"
|
|
1497
|
-
],
|
|
1497
|
+
], qt = [
|
|
1498
1498
|
"info",
|
|
1499
1499
|
"success",
|
|
1500
1500
|
"confirm",
|
|
1501
1501
|
"warning",
|
|
1502
1502
|
"error"
|
|
1503
|
-
],
|
|
1503
|
+
], le = {
|
|
1504
1504
|
info: "info-circle",
|
|
1505
1505
|
success: "tick-circle",
|
|
1506
1506
|
confirm: "warning",
|
|
1507
1507
|
warning: "warning",
|
|
1508
1508
|
error: "close-circle-bold"
|
|
1509
|
-
},
|
|
1509
|
+
}, ps = {
|
|
1510
1510
|
key: 1,
|
|
1511
1511
|
class: "ak-modal__title"
|
|
1512
|
-
},
|
|
1512
|
+
}, us = { class: "ak-modal__content" }, ds = {
|
|
1513
1513
|
key: 0,
|
|
1514
1514
|
class: "ak-modal__description"
|
|
1515
|
-
},
|
|
1515
|
+
}, ms = {
|
|
1516
1516
|
key: 2,
|
|
1517
1517
|
class: "ak-modal__footer"
|
|
1518
|
-
},
|
|
1518
|
+
}, gs = {
|
|
1519
1519
|
name: "MaModal"
|
|
1520
|
-
},
|
|
1521
|
-
...
|
|
1520
|
+
}, re = /* @__PURE__ */ $({
|
|
1521
|
+
...gs,
|
|
1522
1522
|
props: {
|
|
1523
1523
|
visible: { type: Boolean, default: !0 },
|
|
1524
1524
|
type: null,
|
|
@@ -1535,143 +1535,143 @@ const Le = [
|
|
|
1535
1535
|
width: { default: 447 }
|
|
1536
1536
|
},
|
|
1537
1537
|
emits: ["update:visible", "ok", "cancel"],
|
|
1538
|
-
setup(
|
|
1539
|
-
const
|
|
1538
|
+
setup(n, { emit: o }) {
|
|
1539
|
+
const e = n, s = c({
|
|
1540
1540
|
get() {
|
|
1541
|
-
return
|
|
1541
|
+
return e.visible;
|
|
1542
1542
|
},
|
|
1543
|
-
set(
|
|
1544
|
-
|
|
1543
|
+
set(z) {
|
|
1544
|
+
o("update:visible", z);
|
|
1545
1545
|
}
|
|
1546
|
-
}),
|
|
1547
|
-
() =>
|
|
1548
|
-
),
|
|
1549
|
-
() =>
|
|
1546
|
+
}), i = c(
|
|
1547
|
+
() => e.type && le[e.type] ? le[e.type] : null
|
|
1548
|
+
), l = c(
|
|
1549
|
+
() => e.type === "error" ? "danger" : e.type === "warning" ? "warning" : "info"
|
|
1550
1550
|
), r = c(
|
|
1551
|
-
() => S?.footer ||
|
|
1552
|
-
),
|
|
1551
|
+
() => S?.footer || e.okText || e.cancelText
|
|
1552
|
+
), u = c(() => [
|
|
1553
1553
|
"ma-modal",
|
|
1554
1554
|
"ak-modal",
|
|
1555
|
-
{ [`ak-modal--${
|
|
1556
|
-
]),
|
|
1555
|
+
{ [`ak-modal--${e.type}`]: !!e.type }
|
|
1556
|
+
]), g = c(() => [
|
|
1557
1557
|
"ak-modal__header-icon",
|
|
1558
|
-
{ [`ak-modal__header-icon--${
|
|
1559
|
-
]),
|
|
1560
|
-
|
|
1561
|
-
},
|
|
1562
|
-
|
|
1563
|
-
}, S =
|
|
1564
|
-
return (
|
|
1565
|
-
visible: t(
|
|
1566
|
-
"onUpdate:visible":
|
|
1558
|
+
{ [`ak-modal__header-icon--${e.type}`]: !!e.type }
|
|
1559
|
+
]), p = () => {
|
|
1560
|
+
s.value = !1, o("cancel");
|
|
1561
|
+
}, x = () => {
|
|
1562
|
+
o("ok");
|
|
1563
|
+
}, S = Q();
|
|
1564
|
+
return (z, N) => (a(), m(t(Ke), I(z.$attrs, {
|
|
1565
|
+
visible: t(s),
|
|
1566
|
+
"onUpdate:visible": N[0] || (N[0] = (_) => W(s) ? s.value = _ : null),
|
|
1567
1567
|
"prefix-cls": "antd-modal",
|
|
1568
|
-
class: t(
|
|
1569
|
-
closable:
|
|
1570
|
-
mask:
|
|
1571
|
-
"mask-closable":
|
|
1572
|
-
width:
|
|
1568
|
+
class: t(u),
|
|
1569
|
+
closable: e.closable,
|
|
1570
|
+
mask: e.mask,
|
|
1571
|
+
"mask-closable": e.maskClosable,
|
|
1572
|
+
width: e.width,
|
|
1573
1573
|
footer: null,
|
|
1574
|
-
onOk:
|
|
1575
|
-
onCancel:
|
|
1574
|
+
onOk: x,
|
|
1575
|
+
onCancel: p
|
|
1576
1576
|
}), {
|
|
1577
|
-
closeIcon:
|
|
1578
|
-
|
|
1577
|
+
closeIcon: f(() => [
|
|
1578
|
+
B(w, {
|
|
1579
1579
|
name: "close-circle",
|
|
1580
1580
|
size: "sm"
|
|
1581
1581
|
})
|
|
1582
1582
|
]),
|
|
1583
|
-
default:
|
|
1584
|
-
t(
|
|
1583
|
+
default: f(() => [
|
|
1584
|
+
t(i) ? (a(), d("div", {
|
|
1585
1585
|
key: 0,
|
|
1586
|
-
class:
|
|
1586
|
+
class: P(t(g))
|
|
1587
1587
|
}, [
|
|
1588
|
-
|
|
1589
|
-
], 2)) :
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
])) :
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1588
|
+
B(w, { name: t(i) }, null, 8, ["name"])
|
|
1589
|
+
], 2)) : y("", !0),
|
|
1590
|
+
e.title || z.$slots.title ? (a(), d("h1", ps, [
|
|
1591
|
+
k(z.$slots, "title"),
|
|
1592
|
+
U(" " + C(e.title), 1)
|
|
1593
|
+
])) : y("", !0),
|
|
1594
|
+
b("div", us, [
|
|
1595
|
+
e.content ? (a(), d("div", ds, C(e.content), 1)) : y("", !0),
|
|
1596
|
+
k(z.$slots, "content"),
|
|
1597
|
+
k(z.$slots, "default")
|
|
1598
1598
|
]),
|
|
1599
|
-
t(r) ? (
|
|
1600
|
-
|
|
1599
|
+
t(r) ? (a(), d("div", ms, [
|
|
1600
|
+
e.okText ? (a(), m(J, I({
|
|
1601
1601
|
key: 0,
|
|
1602
|
-
onClick:
|
|
1602
|
+
onClick: x,
|
|
1603
1603
|
class: "ak-modal__ok-button",
|
|
1604
|
-
variant: t(
|
|
1605
|
-
loading:
|
|
1606
|
-
},
|
|
1607
|
-
default:
|
|
1608
|
-
|
|
1604
|
+
variant: t(l),
|
|
1605
|
+
loading: e.confirmLoading
|
|
1606
|
+
}, e.okButtonProps), {
|
|
1607
|
+
default: f(() => [
|
|
1608
|
+
U(C(e.okText), 1)
|
|
1609
1609
|
]),
|
|
1610
1610
|
_: 1
|
|
1611
|
-
}, 16, ["variant", "loading"])) :
|
|
1612
|
-
|
|
1611
|
+
}, 16, ["variant", "loading"])) : y("", !0),
|
|
1612
|
+
e.cancelText ? (a(), m(J, I({
|
|
1613
1613
|
key: 1,
|
|
1614
|
-
onClick:
|
|
1614
|
+
onClick: p,
|
|
1615
1615
|
type: "grey-link"
|
|
1616
|
-
},
|
|
1617
|
-
default:
|
|
1618
|
-
|
|
1616
|
+
}, e.cancelButtonProps), {
|
|
1617
|
+
default: f(() => [
|
|
1618
|
+
U(C(e.cancelText), 1)
|
|
1619
1619
|
]),
|
|
1620
1620
|
_: 1
|
|
1621
|
-
}, 16)) :
|
|
1622
|
-
|
|
1623
|
-
])) :
|
|
1621
|
+
}, 16)) : y("", !0),
|
|
1622
|
+
k(z.$slots, "footer")
|
|
1623
|
+
])) : y("", !0)
|
|
1624
1624
|
]),
|
|
1625
1625
|
_: 3
|
|
1626
1626
|
}, 16, ["visible", "class", "closable", "mask", "mask-closable", "width"]));
|
|
1627
1627
|
}
|
|
1628
1628
|
});
|
|
1629
|
-
const
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
const
|
|
1633
|
-
render: () =>
|
|
1629
|
+
const vs = ["info", "success", "warning", "error", "confirm"];
|
|
1630
|
+
vs.forEach((n) => {
|
|
1631
|
+
re[n] = (o) => {
|
|
1632
|
+
const e = document.createElement("div"), s = we(re, o), i = Ce({
|
|
1633
|
+
render: () => s
|
|
1634
1634
|
});
|
|
1635
|
-
return
|
|
1636
|
-
|
|
1635
|
+
return i.mount(e), document.body.appendChild(e), o.onCancel = () => {
|
|
1636
|
+
i.unmount();
|
|
1637
1637
|
}, {
|
|
1638
1638
|
destroy: () => {
|
|
1639
|
-
|
|
1639
|
+
i.unmount();
|
|
1640
1640
|
}
|
|
1641
1641
|
};
|
|
1642
1642
|
};
|
|
1643
1643
|
});
|
|
1644
|
-
const
|
|
1644
|
+
const fs = {
|
|
1645
1645
|
name: "MaRateStar"
|
|
1646
|
-
},
|
|
1647
|
-
...
|
|
1646
|
+
}, _s = /* @__PURE__ */ $({
|
|
1647
|
+
...fs,
|
|
1648
1648
|
props: {
|
|
1649
1649
|
value: null,
|
|
1650
1650
|
starRate: null,
|
|
1651
1651
|
iconSize: null
|
|
1652
1652
|
},
|
|
1653
|
-
setup(
|
|
1654
|
-
const
|
|
1653
|
+
setup(n) {
|
|
1654
|
+
const o = n, e = c(() => [
|
|
1655
1655
|
"ak-rate__item__icon",
|
|
1656
1656
|
{
|
|
1657
|
-
"ak-rate__item__icon--filled":
|
|
1657
|
+
"ak-rate__item__icon--filled": o.value + 0.5 >= o.starRate
|
|
1658
1658
|
}
|
|
1659
|
-
]),
|
|
1660
|
-
return (
|
|
1661
|
-
default:
|
|
1662
|
-
|
|
1663
|
-
class:
|
|
1664
|
-
name: t(
|
|
1665
|
-
size:
|
|
1659
|
+
]), s = c(() => o.starRate - 0.5 === o.value), i = c(() => s.value ? "star-half-colored" : "star-bold");
|
|
1660
|
+
return (l, r) => (a(), m(de, { name: "fade" }, {
|
|
1661
|
+
default: f(() => [
|
|
1662
|
+
B(w, {
|
|
1663
|
+
class: P(t(e)),
|
|
1664
|
+
name: t(i),
|
|
1665
|
+
size: n.iconSize
|
|
1666
1666
|
}, null, 8, ["class", "name", "size"])
|
|
1667
1667
|
]),
|
|
1668
1668
|
_: 1
|
|
1669
1669
|
}));
|
|
1670
1670
|
}
|
|
1671
|
-
}),
|
|
1671
|
+
}), ys = ["tabindex"], hs = ["onMousemove", "onMouseover"], bs = {
|
|
1672
1672
|
name: "MaRate"
|
|
1673
|
-
},
|
|
1674
|
-
...
|
|
1673
|
+
}, Ut = /* @__PURE__ */ $({
|
|
1674
|
+
...bs,
|
|
1675
1675
|
props: {
|
|
1676
1676
|
value: null,
|
|
1677
1677
|
allowClear: { type: Boolean },
|
|
@@ -1682,14 +1682,14 @@ const Hs = {
|
|
|
1682
1682
|
tabIndex: { default: 0 }
|
|
1683
1683
|
},
|
|
1684
1684
|
emits: ["update:value", "change"],
|
|
1685
|
-
setup(
|
|
1686
|
-
const
|
|
1687
|
-
`ak-rate ak-rate--${
|
|
1685
|
+
setup(n, { emit: o }) {
|
|
1686
|
+
const e = n, s = F(0), i = c(() => [
|
|
1687
|
+
`ak-rate ak-rate--${e.size} ak-rate--${e.color}`,
|
|
1688
1688
|
{
|
|
1689
|
-
"ak-rate--disabled":
|
|
1689
|
+
"ak-rate--disabled": e?.disabled
|
|
1690
1690
|
}
|
|
1691
|
-
]),
|
|
1692
|
-
switch (
|
|
1691
|
+
]), l = c(() => {
|
|
1692
|
+
switch (e.size) {
|
|
1693
1693
|
case "medium":
|
|
1694
1694
|
return "sm";
|
|
1695
1695
|
case "large":
|
|
@@ -1697,143 +1697,666 @@ const Hs = {
|
|
|
1697
1697
|
default:
|
|
1698
1698
|
return "xs";
|
|
1699
1699
|
}
|
|
1700
|
-
}), r = c(() =>
|
|
1701
|
-
if (!
|
|
1702
|
-
if (
|
|
1703
|
-
|
|
1700
|
+
}), r = c(() => e?.disabled ? -1 : e.tabIndex), u = () => {
|
|
1701
|
+
if (!e?.disabled) {
|
|
1702
|
+
if (e?.allowClear && s.value === e.value) {
|
|
1703
|
+
z(0);
|
|
1704
1704
|
return;
|
|
1705
1705
|
}
|
|
1706
|
-
|
|
1706
|
+
z(s.value);
|
|
1707
1707
|
}
|
|
1708
|
-
},
|
|
1709
|
-
|
|
1710
|
-
},
|
|
1711
|
-
|
|
1712
|
-
},
|
|
1713
|
-
!
|
|
1714
|
-
}, S = (
|
|
1715
|
-
|
|
1716
|
-
},
|
|
1717
|
-
|
|
1708
|
+
}, g = (N) => {
|
|
1709
|
+
e?.disabled || (s.value = N);
|
|
1710
|
+
}, p = () => {
|
|
1711
|
+
s.value = 0;
|
|
1712
|
+
}, x = (N, _) => {
|
|
1713
|
+
!e?.allowHalf || e.disabled || (N.offsetX < N.target.clientWidth / 2 ? s.value = _ - 0.5 : s.value = _);
|
|
1714
|
+
}, S = (N) => {
|
|
1715
|
+
e?.disabled || (N.key === "ArrowRight" && e.value < 5 ? z(e.value + (e.allowHalf ? 0.5 : 1)) : N.key === "ArrowLeft" && e.value > 0 && z(e.value - (e.allowHalf ? 0.5 : 1)));
|
|
1716
|
+
}, z = (N) => {
|
|
1717
|
+
o("update:value", N), o("change", N);
|
|
1718
1718
|
};
|
|
1719
|
-
return (
|
|
1720
|
-
class:
|
|
1721
|
-
onMouseleave:
|
|
1719
|
+
return (N, _) => (a(), d("ul", {
|
|
1720
|
+
class: P(t(i)),
|
|
1721
|
+
onMouseleave: p,
|
|
1722
1722
|
onKeydown: S,
|
|
1723
1723
|
tabindex: t(r)
|
|
1724
1724
|
}, [
|
|
1725
|
-
(
|
|
1725
|
+
(a(), d(H, null, L(5, (T) => b("li", {
|
|
1726
1726
|
class: "ak-rate__item",
|
|
1727
|
-
key:
|
|
1728
|
-
onMousemove: (
|
|
1729
|
-
onMouseover: (
|
|
1730
|
-
onClick:
|
|
1727
|
+
key: T,
|
|
1728
|
+
onMousemove: (M) => x(M, T),
|
|
1729
|
+
onMouseover: (M) => g(T),
|
|
1730
|
+
onClick: _[0] || (_[0] = (M) => u())
|
|
1731
1731
|
}, [
|
|
1732
|
-
|
|
1733
|
-
"star-rate":
|
|
1734
|
-
value:
|
|
1735
|
-
"icon-size": t(
|
|
1732
|
+
B(_s, {
|
|
1733
|
+
"star-rate": T,
|
|
1734
|
+
value: s.value || e.value,
|
|
1735
|
+
"icon-size": t(l)
|
|
1736
1736
|
}, null, 8, ["star-rate", "value", "icon-size"])
|
|
1737
|
-
], 40,
|
|
1738
|
-
], 42,
|
|
1737
|
+
], 40, hs)), 64))
|
|
1738
|
+
], 42, ys));
|
|
1739
1739
|
}
|
|
1740
1740
|
});
|
|
1741
|
-
const
|
|
1741
|
+
const Ot = [
|
|
1742
1742
|
"small",
|
|
1743
1743
|
"medium",
|
|
1744
1744
|
"large"
|
|
1745
|
-
],
|
|
1745
|
+
], Ht = [
|
|
1746
1746
|
"orange",
|
|
1747
1747
|
"green",
|
|
1748
1748
|
"red"
|
|
1749
|
+
], ks = {
|
|
1750
|
+
key: 1,
|
|
1751
|
+
class: "ma-spin__overlay"
|
|
1752
|
+
}, $s = {
|
|
1753
|
+
name: "MaSpin"
|
|
1754
|
+
}, ce = /* @__PURE__ */ $({
|
|
1755
|
+
...$s,
|
|
1756
|
+
props: {
|
|
1757
|
+
type: { default: "round" },
|
|
1758
|
+
color: { default: "dark" },
|
|
1759
|
+
spinning: { type: Boolean, default: !0 }
|
|
1760
|
+
},
|
|
1761
|
+
setup(n) {
|
|
1762
|
+
const o = n, e = Q(), s = c(() => [
|
|
1763
|
+
`ma-spin ma-spin--${o.type} ma-spin--${o.color}`,
|
|
1764
|
+
{
|
|
1765
|
+
"ma-spin-container": e?.default
|
|
1766
|
+
}
|
|
1767
|
+
]), i = c(() => [
|
|
1768
|
+
"ma-spin__icon"
|
|
1769
|
+
]), l = c(() => `spin-${o.type}`), r = c(() => e?.default && o.spinning);
|
|
1770
|
+
return (u, g) => (a(), d("div", I({ class: t(s) }, u.$attrs), [
|
|
1771
|
+
o.spinning ? (a(), m(w, {
|
|
1772
|
+
key: 0,
|
|
1773
|
+
class: P(t(i)),
|
|
1774
|
+
name: t(l)
|
|
1775
|
+
}, null, 8, ["class", "name"])) : y("", !0),
|
|
1776
|
+
t(r) ? (a(), d("div", ks)) : y("", !0),
|
|
1777
|
+
k(u.$slots, "default")
|
|
1778
|
+
], 16));
|
|
1779
|
+
}
|
|
1780
|
+
});
|
|
1781
|
+
const Gt = [
|
|
1782
|
+
"round",
|
|
1783
|
+
"dots",
|
|
1784
|
+
"three-circles",
|
|
1785
|
+
"three-dots"
|
|
1786
|
+
], Kt = [
|
|
1787
|
+
"dark",
|
|
1788
|
+
"jordy",
|
|
1789
|
+
"blue",
|
|
1790
|
+
"orange",
|
|
1791
|
+
"grey"
|
|
1792
|
+
], ws = {
|
|
1793
|
+
name: "MaDropdown"
|
|
1794
|
+
}, Wt = /* @__PURE__ */ $({
|
|
1795
|
+
...ws,
|
|
1796
|
+
props: {
|
|
1797
|
+
destroyPopupOnHide: { type: Boolean, default: !1 },
|
|
1798
|
+
disabled: { type: Boolean, default: !1 },
|
|
1799
|
+
placement: { default: "bottomLeft" },
|
|
1800
|
+
trigger: { default: () => ["hover"] },
|
|
1801
|
+
visible: { type: Boolean, default: !1 },
|
|
1802
|
+
overlayClassName: null
|
|
1803
|
+
},
|
|
1804
|
+
emits: ["update:visible", "visibleChange"],
|
|
1805
|
+
setup(n, { emit: o }) {
|
|
1806
|
+
const e = n, s = c({
|
|
1807
|
+
get() {
|
|
1808
|
+
return e.visible;
|
|
1809
|
+
},
|
|
1810
|
+
set(l) {
|
|
1811
|
+
o("update:visible", l), o("visibleChange", l);
|
|
1812
|
+
}
|
|
1813
|
+
}), i = c(
|
|
1814
|
+
() => ["ma-dropdown-overlay", e?.overlayClassName].join(" ")
|
|
1815
|
+
);
|
|
1816
|
+
return (l, r) => (a(), m(t(We), I({
|
|
1817
|
+
"prefix-cls": "antd-dropdown",
|
|
1818
|
+
overlayClassName: t(i),
|
|
1819
|
+
destroyPopupOnHide: e.destroyPopupOnHide,
|
|
1820
|
+
disabled: e.disabled,
|
|
1821
|
+
placement: e.placement,
|
|
1822
|
+
trigger: e.trigger
|
|
1823
|
+
}, l.$attrs, {
|
|
1824
|
+
visible: t(s),
|
|
1825
|
+
"onUpdate:visible": r[0] || (r[0] = (u) => W(s) ? s.value = u : null)
|
|
1826
|
+
}), {
|
|
1827
|
+
overlay: f(() => [
|
|
1828
|
+
k(l.$slots, "overlay")
|
|
1829
|
+
]),
|
|
1830
|
+
default: f(() => [
|
|
1831
|
+
k(l.$slots, "default")
|
|
1832
|
+
]),
|
|
1833
|
+
_: 3
|
|
1834
|
+
}, 16, ["overlayClassName", "destroyPopupOnHide", "disabled", "placement", "trigger", "visible"]));
|
|
1835
|
+
}
|
|
1836
|
+
});
|
|
1837
|
+
const Jt = [
|
|
1838
|
+
"bottomLeft",
|
|
1839
|
+
"bottom",
|
|
1840
|
+
"bottomRight",
|
|
1841
|
+
"topLeft",
|
|
1842
|
+
"top",
|
|
1843
|
+
"topRight"
|
|
1844
|
+
], Yt = [
|
|
1845
|
+
"click",
|
|
1846
|
+
"hover",
|
|
1847
|
+
"contextmenu"
|
|
1848
|
+
], Xt = [
|
|
1849
|
+
"small",
|
|
1850
|
+
"medium",
|
|
1851
|
+
"large"
|
|
1852
|
+
], Qt = [
|
|
1853
|
+
"general",
|
|
1854
|
+
"add-app",
|
|
1855
|
+
"table",
|
|
1856
|
+
"selection"
|
|
1857
|
+
], pe = {
|
|
1858
|
+
general: "box-empty",
|
|
1859
|
+
"add-app": "add-app",
|
|
1860
|
+
table: "empty-table",
|
|
1861
|
+
selection: "selection"
|
|
1862
|
+
}, Cs = { class: "ma-empty__title" }, xs = { class: "ma-empty__description" }, Ms = { class: "ma-empty__content" }, zs = {
|
|
1863
|
+
name: "MaEmpty"
|
|
1864
|
+
}, Zt = /* @__PURE__ */ $({
|
|
1865
|
+
...zs,
|
|
1866
|
+
props: {
|
|
1867
|
+
size: { default: "large" },
|
|
1868
|
+
variant: { default: "general" },
|
|
1869
|
+
title: null,
|
|
1870
|
+
description: null
|
|
1871
|
+
},
|
|
1872
|
+
setup(n) {
|
|
1873
|
+
const o = n, e = c(
|
|
1874
|
+
() => o.variant && pe[o.variant] ? pe[o.variant] : null
|
|
1875
|
+
), s = c(() => [
|
|
1876
|
+
`ma-empty ma-empty--${o.variant} ma-empty--${o.size}`
|
|
1877
|
+
]);
|
|
1878
|
+
return (i, l) => (a(), d("div", {
|
|
1879
|
+
class: P(t(s))
|
|
1880
|
+
}, [
|
|
1881
|
+
t(e) ? (a(), m(w, {
|
|
1882
|
+
key: 0,
|
|
1883
|
+
name: t(e),
|
|
1884
|
+
class: "ma-empty__icon"
|
|
1885
|
+
}, null, 8, ["name"])) : y("", !0),
|
|
1886
|
+
b("span", Cs, C(n.title), 1),
|
|
1887
|
+
b("span", xs, C(n.description), 1),
|
|
1888
|
+
b("div", Ms, [
|
|
1889
|
+
k(i.$slots, "default")
|
|
1890
|
+
])
|
|
1891
|
+
], 2));
|
|
1892
|
+
}
|
|
1893
|
+
});
|
|
1894
|
+
const en = [
|
|
1895
|
+
"button",
|
|
1896
|
+
"box",
|
|
1897
|
+
"small-box"
|
|
1898
|
+
], Bs = [
|
|
1899
|
+
"xs",
|
|
1900
|
+
"sm",
|
|
1901
|
+
"md",
|
|
1902
|
+
"lg",
|
|
1903
|
+
"xl"
|
|
1749
1904
|
];
|
|
1750
|
-
|
|
1751
|
-
|
|
1905
|
+
var q = /* @__PURE__ */ ((n) => (n.error = "error", n.done = "done", n.uploading = "uploading", n))(q || {});
|
|
1906
|
+
const ee = (n) => {
|
|
1907
|
+
try {
|
|
1908
|
+
return JSON.parse(n);
|
|
1909
|
+
} catch {
|
|
1910
|
+
return n;
|
|
1911
|
+
}
|
|
1912
|
+
}, Is = (n = 20) => {
|
|
1913
|
+
let o = "";
|
|
1914
|
+
for (let e = 0; e < n; e++)
|
|
1915
|
+
o += Math.random().toString(36).substr(2);
|
|
1916
|
+
return o.substr(0, n);
|
|
1917
|
+
}, Ss = (n, o = {}, e = {}, s) => {
|
|
1918
|
+
const i = F(0);
|
|
1919
|
+
return { progress: i, upload: async (r, u) => {
|
|
1920
|
+
const g = new FormData();
|
|
1921
|
+
g.append(s, r.file), Object.entries(e).forEach(([x, S]) => {
|
|
1922
|
+
g.append(x, S);
|
|
1923
|
+
});
|
|
1924
|
+
const p = new XMLHttpRequest();
|
|
1925
|
+
p.open("POST", n), Object.entries(o).forEach(([x, S]) => {
|
|
1926
|
+
p.setRequestHeader(x, S);
|
|
1927
|
+
}), p.upload.onprogress = (x) => {
|
|
1928
|
+
x.lengthComputable && (i.value = x.loaded / x.total * 100, u(q.uploading, i.value));
|
|
1929
|
+
}, p.onload = () => {
|
|
1930
|
+
p.status >= 200 && p.status < 300 ? u(
|
|
1931
|
+
q.done,
|
|
1932
|
+
i.value,
|
|
1933
|
+
ee(p.responseText)
|
|
1934
|
+
) : u(
|
|
1935
|
+
q.error,
|
|
1936
|
+
i.value,
|
|
1937
|
+
ee(p.responseText)
|
|
1938
|
+
);
|
|
1939
|
+
}, p.onerror = () => {
|
|
1940
|
+
u(
|
|
1941
|
+
q.error,
|
|
1942
|
+
i.value,
|
|
1943
|
+
ee(p.responseText)
|
|
1944
|
+
);
|
|
1945
|
+
}, p.send(g), r.cancelRequest = () => p.abort();
|
|
1946
|
+
} };
|
|
1947
|
+
}, Ts = (n, o) => {
|
|
1948
|
+
if (!o)
|
|
1949
|
+
return !0;
|
|
1950
|
+
const e = o.split(",").map((l) => l.trim()), s = n.type, i = n.name.split(".").pop()?.toLowerCase();
|
|
1951
|
+
for (const l of e)
|
|
1952
|
+
if (l.includes("*")) {
|
|
1953
|
+
const [r] = l.split("/");
|
|
1954
|
+
if (s.startsWith(r))
|
|
1955
|
+
return !0;
|
|
1956
|
+
} else if (l.startsWith(".")) {
|
|
1957
|
+
if (l.slice(1) === i)
|
|
1958
|
+
return !0;
|
|
1959
|
+
} else {
|
|
1960
|
+
const [r, u] = l.split("/"), [g, p] = s.split("/");
|
|
1961
|
+
if (r === g && u === p)
|
|
1962
|
+
return !0;
|
|
1963
|
+
}
|
|
1964
|
+
return !1;
|
|
1965
|
+
}, As = { class: "single-file" }, Ns = { class: "icon-wrapper" }, Rs = { class: "single-file__detail" }, Ds = { class: "file-name" }, Fs = {
|
|
1966
|
+
key: 0,
|
|
1967
|
+
class: "file-size"
|
|
1968
|
+
}, Ps = { class: "file-progress" }, Ls = { class: "single-file__actions" }, Es = /* @__PURE__ */ $({
|
|
1969
|
+
__name: "singleFile",
|
|
1970
|
+
props: {
|
|
1971
|
+
file: null,
|
|
1972
|
+
action: null,
|
|
1973
|
+
disabled: { type: Boolean }
|
|
1974
|
+
},
|
|
1975
|
+
emits: ["remove", "cancel"],
|
|
1976
|
+
setup(n, { emit: o }) {
|
|
1977
|
+
const e = n, s = c(
|
|
1978
|
+
() => `${(e.file.file.size / (1024 * 1024)).toFixed(1)} MB`
|
|
1979
|
+
), i = c(() => typeof e.file.file.size == "number"), l = () => o("remove"), r = () => o("cancel");
|
|
1980
|
+
return (u, g) => (a(), d("div", As, [
|
|
1981
|
+
b("div", Ns, [
|
|
1982
|
+
B(w, { name: "document-bulk" })
|
|
1983
|
+
]),
|
|
1984
|
+
b("div", Rs, [
|
|
1985
|
+
b("span", Ds, C(n.file.file.name), 1),
|
|
1986
|
+
t(i) ? (a(), d("span", Fs, C(t(s)), 1)) : y("", !0),
|
|
1987
|
+
b("span", Ps, [
|
|
1988
|
+
b("span", {
|
|
1989
|
+
class: "progress-item",
|
|
1990
|
+
style: ge({ width: `${n.file.progress}%` })
|
|
1991
|
+
}, null, 4)
|
|
1992
|
+
])
|
|
1993
|
+
]),
|
|
1994
|
+
b("div", Ls, [
|
|
1995
|
+
n.file.status === t(q).uploading ? (a(), m(J, {
|
|
1996
|
+
key: 0,
|
|
1997
|
+
disabled: n.disabled,
|
|
1998
|
+
onClick: g[0] || (g[0] = (p) => r()),
|
|
1999
|
+
size: "small",
|
|
2000
|
+
type: "primary",
|
|
2001
|
+
variant: "plain",
|
|
2002
|
+
icon: "close-circle-bulk"
|
|
2003
|
+
}, null, 8, ["disabled"])) : (a(), m(J, {
|
|
2004
|
+
key: 1,
|
|
2005
|
+
disabled: n.disabled,
|
|
2006
|
+
onClick: g[1] || (g[1] = (p) => l()),
|
|
2007
|
+
size: "small",
|
|
2008
|
+
type: "primary",
|
|
2009
|
+
variant: "plain",
|
|
2010
|
+
icon: "trash-bulk"
|
|
2011
|
+
}, null, 8, ["disabled"])),
|
|
2012
|
+
b("span", null, "%" + C(parseInt(n.file.progress.toString())), 1)
|
|
2013
|
+
])
|
|
2014
|
+
]));
|
|
2015
|
+
}
|
|
2016
|
+
}), Vs = ["onDrop"], js = ["accept", "multiple", "disabled"], qs = { class: "text" }, Us = /* @__PURE__ */ b("span", null, "Uploading file...", -1), Os = { class: "upload-icon" }, Hs = {
|
|
2017
|
+
key: 0,
|
|
2018
|
+
class: "upload-title"
|
|
2019
|
+
}, Gs = {
|
|
2020
|
+
key: 1,
|
|
2021
|
+
class: "upload-description"
|
|
2022
|
+
}, Ks = {
|
|
2023
|
+
name: "MaUpload"
|
|
2024
|
+
}, on = /* @__PURE__ */ $({
|
|
2025
|
+
...Ks,
|
|
2026
|
+
props: {
|
|
2027
|
+
fileList: null,
|
|
2028
|
+
type: { default: "box" },
|
|
2029
|
+
size: { default: "md" },
|
|
2030
|
+
accept: null,
|
|
2031
|
+
action: null,
|
|
2032
|
+
beforeUpload: null,
|
|
2033
|
+
data: null,
|
|
2034
|
+
disabled: { type: Boolean, default: !1 },
|
|
2035
|
+
headers: { default: () => ({}) },
|
|
2036
|
+
maxCount: null,
|
|
2037
|
+
maxFileSize: null,
|
|
2038
|
+
multiple: { type: Boolean, default: !1 },
|
|
2039
|
+
name: { default: "file" },
|
|
2040
|
+
ordered: { type: Boolean, default: !1 },
|
|
2041
|
+
showFileList: { type: Boolean, default: !0 },
|
|
2042
|
+
title: null,
|
|
2043
|
+
description: null,
|
|
2044
|
+
wait: { type: Boolean, default: !1 }
|
|
2045
|
+
},
|
|
2046
|
+
emits: ["update:fileList", "change", "remove", "error"],
|
|
2047
|
+
setup(n, { emit: o }) {
|
|
2048
|
+
const e = n, s = F(null), i = F(null), l = F(!1), r = ["dragenter", "dragover", "dragleave", "drop"], u = ["dragenter", "dragover"], g = ["dragleave", "drop"], p = c({
|
|
2049
|
+
get() {
|
|
2050
|
+
return e.fileList;
|
|
2051
|
+
},
|
|
2052
|
+
set(v) {
|
|
2053
|
+
o("update:fileList", v), o("change", v), e?.action && v.forEach(async (A, D) => {
|
|
2054
|
+
if ([q.done, q.error].includes(
|
|
2055
|
+
A.status
|
|
2056
|
+
))
|
|
2057
|
+
return;
|
|
2058
|
+
const { upload: G } = Ss(
|
|
2059
|
+
e?.action || "",
|
|
2060
|
+
// || added for tsc warning
|
|
2061
|
+
e.headers,
|
|
2062
|
+
e.data,
|
|
2063
|
+
e.name
|
|
2064
|
+
);
|
|
2065
|
+
e?.beforeUpload && (A.file = await e.beforeUpload(A.file)), G(A, (Y, ye, ie) => {
|
|
2066
|
+
if (p.value[D]) {
|
|
2067
|
+
if (Y === q.error) {
|
|
2068
|
+
o("error", { file: A.file, message: ie }), Z(
|
|
2069
|
+
p.value.findIndex((he) => he.id === A.id)
|
|
2070
|
+
);
|
|
2071
|
+
return;
|
|
2072
|
+
}
|
|
2073
|
+
p.value[D].progress = ye, p.value[D].status = Y, p.value[D].response = ie || null, o("change", p.value[D]);
|
|
2074
|
+
}
|
|
2075
|
+
});
|
|
2076
|
+
});
|
|
2077
|
+
}
|
|
2078
|
+
}), x = c(
|
|
2079
|
+
() => p.value.map((v) => v.file.name).join(", ")
|
|
2080
|
+
), S = c(
|
|
2081
|
+
() => e.type === "box" ? e.multiple ? !0 : !p.value.length : !0
|
|
2082
|
+
), z = c(
|
|
2083
|
+
() => e.ordered && M.value ? !1 : e.showFileList
|
|
2084
|
+
), N = c(() => [
|
|
2085
|
+
`ma-upload ma-upload--${e.type} ma-upload--${e.type}--${e.size}`,
|
|
2086
|
+
{
|
|
2087
|
+
"ma-upload--active": l.value
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"ma-upload--disabled": E.value
|
|
2091
|
+
}
|
|
2092
|
+
]), _ = c(() => [
|
|
2093
|
+
"ma-file-list",
|
|
2094
|
+
{
|
|
2095
|
+
"only-file-list": !S.value
|
|
2096
|
+
}
|
|
2097
|
+
]), T = c(() => {
|
|
2098
|
+
const v = e?.size ? Bs.indexOf(e.size) : 0;
|
|
2099
|
+
return Qe[v];
|
|
2100
|
+
}), M = c(
|
|
2101
|
+
() => e.wait || p.value.some((v) => v.status === q.uploading)
|
|
2102
|
+
), E = c(() => e?.disabled || M.value), h = (v) => Array.from(v).find(
|
|
2103
|
+
(A) => e?.maxFileSize && A.size > e.maxFileSize
|
|
2104
|
+
), V = (v) => {
|
|
2105
|
+
const A = v.target;
|
|
2106
|
+
A.files && ne(Array.from(A.files));
|
|
2107
|
+
}, R = () => {
|
|
2108
|
+
i.value?.click();
|
|
2109
|
+
}, j = (v) => {
|
|
2110
|
+
v.preventDefault();
|
|
2111
|
+
}, se = () => {
|
|
2112
|
+
l.value = !0;
|
|
2113
|
+
}, te = () => {
|
|
2114
|
+
l.value = !1;
|
|
2115
|
+
}, fe = (v) => {
|
|
2116
|
+
E.value || v.dataTransfer?.files && ne(
|
|
2117
|
+
Array.from(v.dataTransfer.files).filter(
|
|
2118
|
+
(A) => e?.accept && !Ts(A, e.accept) ? (o("error", { file: A, message: "file type does not match!" }), !1) : !0
|
|
2119
|
+
)
|
|
2120
|
+
);
|
|
2121
|
+
}, ne = (v) => {
|
|
2122
|
+
const A = h(v);
|
|
2123
|
+
if (A) {
|
|
2124
|
+
o("error", { file: A, message: "File too large" });
|
|
2125
|
+
return;
|
|
2126
|
+
}
|
|
2127
|
+
const D = Array.from(v).filter(
|
|
2128
|
+
(G, Y) => e?.maxCount ? Y + 1 <= e.maxCount : !0
|
|
2129
|
+
).map((G) => ({
|
|
2130
|
+
file: G,
|
|
2131
|
+
id: Is(),
|
|
2132
|
+
status: e?.action ? q.uploading : q.done,
|
|
2133
|
+
progress: e?.action ? 0 : 100,
|
|
2134
|
+
response: null
|
|
2135
|
+
}));
|
|
2136
|
+
e.multiple ? p.value = [...p.value, ...D] : D.length && (p.value = [D[0]]);
|
|
2137
|
+
}, Z = (v) => {
|
|
2138
|
+
o("remove", p.value[v]), p.value = p.value.filter((A, D) => D !== v);
|
|
2139
|
+
}, ae = (v) => {
|
|
2140
|
+
const A = p.value[v];
|
|
2141
|
+
typeof A?.cancelRequest == "function" && A.cancelRequest(), Z(v);
|
|
2142
|
+
}, _e = (v) => {
|
|
2143
|
+
v.stopPropagation(), p.value.forEach((A, D) => ae(D)), p.value = [];
|
|
2144
|
+
};
|
|
2145
|
+
return me(() => {
|
|
2146
|
+
r.forEach((v) => {
|
|
2147
|
+
s.value?.addEventListener(v, j);
|
|
2148
|
+
}), u.forEach((v) => {
|
|
2149
|
+
s.value?.addEventListener(v, se);
|
|
2150
|
+
}), g.forEach((v) => {
|
|
2151
|
+
s.value?.addEventListener(v, te);
|
|
2152
|
+
});
|
|
2153
|
+
}), xe(() => {
|
|
2154
|
+
r.forEach((v) => {
|
|
2155
|
+
s.value?.removeEventListener(v, j);
|
|
2156
|
+
}), u.forEach((v) => {
|
|
2157
|
+
s.value?.removeEventListener(v, se);
|
|
2158
|
+
}), g.forEach((v) => {
|
|
2159
|
+
s.value?.removeEventListener(v, te);
|
|
2160
|
+
});
|
|
2161
|
+
}), (v, A) => (a(), d(H, null, [
|
|
2162
|
+
Me(b("div", {
|
|
2163
|
+
ref_key: "uploadArea",
|
|
2164
|
+
ref: s,
|
|
2165
|
+
class: P(t(N)),
|
|
2166
|
+
onDrop: ze(fe, ["prevent"])
|
|
2167
|
+
}, [
|
|
2168
|
+
b("input", {
|
|
2169
|
+
type: "file",
|
|
2170
|
+
accept: n.accept,
|
|
2171
|
+
multiple: e.multiple,
|
|
2172
|
+
disabled: t(E),
|
|
2173
|
+
onChange: V,
|
|
2174
|
+
ref_key: "fileInput",
|
|
2175
|
+
ref: i
|
|
2176
|
+
}, null, 40, js),
|
|
2177
|
+
e.type === "button" ? (a(), m(J, {
|
|
2178
|
+
key: 0,
|
|
2179
|
+
type: n.fileList.length ? "primary" : "secondary",
|
|
2180
|
+
variant: "dark",
|
|
2181
|
+
icon: "export-2",
|
|
2182
|
+
onClick: R,
|
|
2183
|
+
size: t(T),
|
|
2184
|
+
disabled: t(E),
|
|
2185
|
+
loading: t(M)
|
|
2186
|
+
}, {
|
|
2187
|
+
default: f(() => [
|
|
2188
|
+
U(C(n.fileList.length ? t(x) : e?.title), 1)
|
|
2189
|
+
]),
|
|
2190
|
+
_: 1
|
|
2191
|
+
}, 8, ["type", "size", "disabled", "loading"])) : e.type === "small-box" ? (a(), d("div", {
|
|
2192
|
+
key: 1,
|
|
2193
|
+
class: "ma-upload__small_box",
|
|
2194
|
+
onClick: R
|
|
2195
|
+
}, [
|
|
2196
|
+
t(M) ? (a(), m(ce, {
|
|
2197
|
+
key: 0,
|
|
2198
|
+
type: "three-circles",
|
|
2199
|
+
color: "blue"
|
|
2200
|
+
})) : (a(), m(w, {
|
|
2201
|
+
key: 1,
|
|
2202
|
+
name: "export-2-bulk"
|
|
2203
|
+
})),
|
|
2204
|
+
b("span", qs, [
|
|
2205
|
+
t(M) ? (a(), d(H, { key: 0 }, [
|
|
2206
|
+
U(" Uploading... ")
|
|
2207
|
+
], 64)) : (a(), d(H, { key: 1 }, [
|
|
2208
|
+
U(C(e?.title), 1)
|
|
2209
|
+
], 64))
|
|
2210
|
+
])
|
|
2211
|
+
])) : (a(), d("div", {
|
|
2212
|
+
key: 2,
|
|
2213
|
+
class: "ma-upload__box",
|
|
2214
|
+
onClick: R
|
|
2215
|
+
}, [
|
|
2216
|
+
e.ordered && t(M) ? (a(), d(H, { key: 0 }, [
|
|
2217
|
+
B(ce, {
|
|
2218
|
+
type: "three-circles",
|
|
2219
|
+
color: "blue"
|
|
2220
|
+
}),
|
|
2221
|
+
Us,
|
|
2222
|
+
B(J, {
|
|
2223
|
+
onClick: _e,
|
|
2224
|
+
class: "box-cancel",
|
|
2225
|
+
type: "secondary",
|
|
2226
|
+
size: "small"
|
|
2227
|
+
}, {
|
|
2228
|
+
default: f(() => [
|
|
2229
|
+
U(" Cancel ")
|
|
2230
|
+
]),
|
|
2231
|
+
_: 1
|
|
2232
|
+
})
|
|
2233
|
+
], 64)) : (a(), d(H, { key: 1 }, [
|
|
2234
|
+
b("div", Os, [
|
|
2235
|
+
B(w, { name: "upload-bulk" })
|
|
2236
|
+
]),
|
|
2237
|
+
e?.title ? (a(), d("span", Hs, C(e?.title), 1)) : y("", !0),
|
|
2238
|
+
e?.description ? (a(), d("span", Gs, C(e?.description), 1)) : y("", !0)
|
|
2239
|
+
], 64))
|
|
2240
|
+
]))
|
|
2241
|
+
], 42, Vs), [
|
|
2242
|
+
[Be, t(S)]
|
|
2243
|
+
]),
|
|
2244
|
+
t(z) ? (a(), d("div", {
|
|
2245
|
+
key: 0,
|
|
2246
|
+
class: P(t(_))
|
|
2247
|
+
}, [
|
|
2248
|
+
(a(!0), d(H, null, L(t(p), (D, G) => (a(), m(Es, {
|
|
2249
|
+
onRemove: (Y) => Z(G),
|
|
2250
|
+
onCancel: (Y) => ae(G),
|
|
2251
|
+
file: D,
|
|
2252
|
+
key: G,
|
|
2253
|
+
disabled: e.disabled
|
|
2254
|
+
}, null, 8, ["onRemove", "onCancel", "file", "disabled"]))), 128))
|
|
2255
|
+
], 2)) : y("", !0)
|
|
2256
|
+
], 64));
|
|
2257
|
+
}
|
|
2258
|
+
});
|
|
2259
|
+
class Ws {
|
|
2260
|
+
config = Ie({
|
|
1752
2261
|
language: "en"
|
|
1753
2262
|
});
|
|
1754
|
-
setConfig(
|
|
1755
|
-
for (const
|
|
1756
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1757
|
-
const
|
|
1758
|
-
this.config[
|
|
2263
|
+
setConfig(o) {
|
|
2264
|
+
for (const e in o)
|
|
2265
|
+
if (Object.prototype.hasOwnProperty.call(o, e)) {
|
|
2266
|
+
const s = e;
|
|
2267
|
+
this.config[s] = o[s];
|
|
1759
2268
|
}
|
|
1760
2269
|
}
|
|
1761
2270
|
getConfig() {
|
|
1762
|
-
return
|
|
2271
|
+
return Se(this.config);
|
|
1763
2272
|
}
|
|
1764
|
-
setLanguage(
|
|
1765
|
-
this.config.language =
|
|
2273
|
+
setLanguage(o) {
|
|
2274
|
+
this.config.language = o;
|
|
1766
2275
|
}
|
|
1767
2276
|
getLanguage() {
|
|
1768
2277
|
return this.config.language;
|
|
1769
2278
|
}
|
|
1770
2279
|
}
|
|
1771
|
-
const
|
|
1772
|
-
function
|
|
1773
|
-
return
|
|
2280
|
+
const Js = new Ws();
|
|
2281
|
+
function sn() {
|
|
2282
|
+
return Te(Js.getConfig());
|
|
1774
2283
|
}
|
|
1775
2284
|
export {
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
2285
|
+
Js as ActionKitConfig,
|
|
2286
|
+
jt as Animations,
|
|
2287
|
+
It as AppIconPlatforms,
|
|
2288
|
+
Bt as AppIconSizes,
|
|
2289
|
+
tt as ButtonIconAlignMents,
|
|
2290
|
+
ot as ButtonShapes,
|
|
2291
|
+
Qe as ButtonSizes,
|
|
2292
|
+
st as ButtonTargets,
|
|
2293
|
+
Zs as ButtonTypes,
|
|
2294
|
+
et as ButtonVariants,
|
|
2295
|
+
Pt as MaAlert,
|
|
2296
|
+
Et as MaAlertPropTypes,
|
|
2297
|
+
Lt as MaAlertPropVariants,
|
|
2298
|
+
Vt as MaAnimation,
|
|
2299
|
+
zt as MaAppIcon,
|
|
2300
|
+
Mt as MaAppTrackButton,
|
|
2301
|
+
At as MaBadge,
|
|
2302
|
+
Ft as MaBadgePropIconAlignments,
|
|
2303
|
+
Dt as MaBadgePropSizes,
|
|
2304
|
+
Rt as MaBadgePropTypes,
|
|
2305
|
+
Nt as MaBadgePropVariants,
|
|
2306
|
+
J as MaButton,
|
|
2307
|
+
$t as MaCheckbox,
|
|
2308
|
+
wt as MaCheckboxGroup,
|
|
2309
|
+
Wt as MaDropdown,
|
|
2310
|
+
Jt as MaDropdownPlacements,
|
|
2311
|
+
Yt as MaDropdownTriggers,
|
|
2312
|
+
Zt as MaEmpty,
|
|
2313
|
+
pe as MaEmptyIcons,
|
|
2314
|
+
Xt as MaEmptySizes,
|
|
2315
|
+
Qt as MaEmptyVariants,
|
|
2316
|
+
vt as MaForm,
|
|
2317
|
+
ft as MaFormItem,
|
|
2318
|
+
_t as MaFormLayouts,
|
|
2319
|
+
w as MaIcon,
|
|
2320
|
+
Je as MaIconSizeClassNames,
|
|
2321
|
+
Qs as MaIconSizes,
|
|
2322
|
+
Po as MaInput,
|
|
2323
|
+
yt as MaInputCurrency,
|
|
2324
|
+
ho as MaInputSize,
|
|
2325
|
+
K as MaInputType,
|
|
2326
|
+
re as MaModal,
|
|
2327
|
+
le as MaModalTypeIcon,
|
|
2328
|
+
qt as MaModalTypes,
|
|
2329
|
+
Ct as MaNumericInput,
|
|
2330
|
+
Ho as MaRadio,
|
|
2331
|
+
St as MaRadioGroup,
|
|
2332
|
+
Tt as MaRadioTypes,
|
|
2333
|
+
Ut as MaRate,
|
|
2334
|
+
Ht as MaRateColors,
|
|
2335
|
+
Ot as MaRateSizes,
|
|
2336
|
+
To as MaSelect,
|
|
2337
|
+
ht as MaSelectOption,
|
|
2338
|
+
ce as MaSpin,
|
|
2339
|
+
Kt as MaSpinColors,
|
|
2340
|
+
Gt as MaSpinTypes,
|
|
2341
|
+
ct as MaSwitch,
|
|
2342
|
+
lt as MaToggle,
|
|
2343
|
+
ut as MaTooltip,
|
|
2344
|
+
nt as MaTrackButton,
|
|
2345
|
+
on as MaUpload,
|
|
2346
|
+
q as MaUploadFileStatus,
|
|
2347
|
+
Bs as MaUploadSizes,
|
|
2348
|
+
en as MaUploadTypes,
|
|
2349
|
+
xt as NumericInputSizes,
|
|
2350
|
+
kt as SelectModes,
|
|
2351
|
+
bt as SelectSizes,
|
|
2352
|
+
pt as SwitchTypes,
|
|
2353
|
+
rt as ToggleSizes,
|
|
2354
|
+
dt as TooltipPlacements,
|
|
2355
|
+
gt as TooltipTriggerTypes,
|
|
2356
|
+
mt as TooltipTypes,
|
|
2357
|
+
it as TrackButtonSizes,
|
|
2358
|
+
at as TrackButtonVariants,
|
|
2359
|
+
ko as currencyOptions,
|
|
2360
|
+
bo as currencySymbols,
|
|
2361
|
+
sn as useActionKitConfig
|
|
1839
2362
|
};
|