@mobileaction/action-kit 1.1.47 → 1.1.49
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 +4 -4
- package/dist/action-kit.mjs +878 -812
- package/dist/components/country-select/index.vue.d.ts +112 -0
- package/dist/components/country-select/types.d.ts +4 -0
- package/dist/components/select/index.vue.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/action-kit.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Button as ke, Switch as
|
|
1
|
+
import { defineComponent as k, computed as c, defineAsyncComponent as Be, openBlock as n, createBlock as m, resolveDynamicComponent as ee, unref as t, normalizeClass as R, mergeProps as x, createSlots as q, renderList as U, withCtx as f, renderSlot as y, createElementVNode as _, createVNode as M, createTextVNode as L, toDisplayString as C, createElementBlock as p, isRef as K, createCommentVNode as h, ref as F, Fragment as O, useSlots as ne, useAttrs as ze, watch as oe, Transition as he, onMounted as ce, onBeforeUnmount as ye, normalizeStyle as te, h as Ie, createApp as Se, onUnmounted as Te, withDirectives as Z, withModifiers as be, vShow as Y, normalizeProps as Ae, reactive as Pe, readonly as Ne, toRefs as De } from "vue";
|
|
2
|
+
import { Button as ke, Switch as Le, Tooltip as Fe, Form as Ee, FormItem as Re, Avatar as Ue, Select as je, InputPassword as Ve, Input as Oe, Textarea as qe, SelectOption as He, Checkbox as We, CheckboxGroup as Ke, Radio as Ge, RadioGroup as Je, Alert as Ze, Modal as Ye, Dropdown as Xe, Tabs as Qe, TabPane as es } from "ant-design-vue";
|
|
3
3
|
const re = (a, s) => {
|
|
4
4
|
const e = a[s];
|
|
5
5
|
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((o, l) => {
|
|
6
6
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(l.bind(null, new Error("Unknown variable dynamic import: " + s)));
|
|
7
7
|
});
|
|
8
|
-
},
|
|
8
|
+
}, en = ["xs", "sm", "md", "lg", "xl"], ss = {
|
|
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
|
+
}, os = {
|
|
15
15
|
name: "MaIcon"
|
|
16
|
-
}, b = /* @__PURE__ */
|
|
17
|
-
...
|
|
16
|
+
}, b = /* @__PURE__ */ k({
|
|
17
|
+
...os,
|
|
18
18
|
props: {
|
|
19
19
|
name: null,
|
|
20
20
|
size: { default: "md" },
|
|
@@ -22,7 +22,7 @@ const re = (a, s) => {
|
|
|
22
22
|
},
|
|
23
23
|
setup(a) {
|
|
24
24
|
const s = a, e = ["flag", "pay"], o = c(
|
|
25
|
-
() =>
|
|
25
|
+
() => Be(
|
|
26
26
|
function() {
|
|
27
27
|
const i = e.find((r) => s.name.startsWith(`${r}-`));
|
|
28
28
|
return i ? re(/* @__PURE__ */ Object.assign({ "./icons/flag/ad.svg": () => import("./ad-4f15339c.mjs"), "./icons/flag/ae.svg": () => import("./ae-0c29895c.mjs"), "./icons/flag/af.svg": () => import("./af-7c75f32c.mjs"), "./icons/flag/ag.svg": () => import("./ag-8a9bc70d.mjs"), "./icons/flag/ai.svg": () => import("./ai-92607296.mjs"), "./icons/flag/al.svg": () => import("./al-2451ab6a.mjs"), "./icons/flag/am.svg": () => import("./am-75ea01bf.mjs"), "./icons/flag/ao.svg": () => import("./ao-a5e4ad75.mjs"), "./icons/flag/ar.svg": () => import("./ar-a85b3f63.mjs"), "./icons/flag/as.svg": () => import("./as-7fa7e75d.mjs"), "./icons/flag/at.svg": () => import("./at-a7ba217a.mjs"), "./icons/flag/au.svg": () => import("./au-d199493b.mjs"), "./icons/flag/aw.svg": () => import("./aw-442c8572.mjs"), "./icons/flag/ax.svg": () => import("./ax-0714c25a.mjs"), "./icons/flag/az.svg": () => import("./az-199c77dc.mjs"), "./icons/flag/ba.svg": () => import("./ba-d2b7851d.mjs"), "./icons/flag/bb.svg": () => import("./bb-a8e49d76.mjs"), "./icons/flag/bd.svg": () => import("./bd-c63eb19f.mjs"), "./icons/flag/be.svg": () => import("./be-035c22e5.mjs"), "./icons/flag/bf.svg": () => import("./bf-347fcd2e.mjs"), "./icons/flag/bg.svg": () => import("./bg-d3a7da79.mjs"), "./icons/flag/bh.svg": () => import("./bh-c1690810.mjs"), "./icons/flag/bi.svg": () => import("./bi-adcc107b.mjs"), "./icons/flag/bj.svg": () => import("./bj-dd1424a3.mjs"), "./icons/flag/bl.svg": () => import("./bl-a9d0a40c.mjs"), "./icons/flag/bm.svg": () => import("./bm-76f51599.mjs"), "./icons/flag/bn.svg": () => import("./bn-aaa1c0ed.mjs"), "./icons/flag/bo.svg": () => import("./bo-6cec387a.mjs"), "./icons/flag/bq.svg": () => import("./bq-ce9bb442.mjs"), "./icons/flag/bq1.svg": () => import("./bq1-3a6921e5.mjs"), "./icons/flag/bq2.svg": () => import("./bq2-40b46acf.mjs"), "./icons/flag/br.svg": () => import("./br-0cf5492d.mjs"), "./icons/flag/bs.svg": () => import("./bs-89a8fc9a.mjs"), "./icons/flag/bt.svg": () => import("./bt-3ae1d227.mjs"), "./icons/flag/bw.svg": () => import("./bw-a5c65923.mjs"), "./icons/flag/by.svg": () => import("./by-2512965b.mjs"), "./icons/flag/bz.svg": () => import("./bz-8a265bec.mjs"), "./icons/flag/ca.svg": () => import("./ca-cacac026.mjs"), "./icons/flag/cc.svg": () => import("./cc-47939b86.mjs"), "./icons/flag/cd.svg": () => import("./cd-7fc590d2.mjs"), "./icons/flag/cd1.svg": () => import("./cd1-df53c8e1.mjs"), "./icons/flag/cf.svg": () => import("./cf-a60682d6.mjs"), "./icons/flag/ch.svg": () => import("./ch-462979fb.mjs"), "./icons/flag/ck.svg": () => import("./ck-c0c38e87.mjs"), "./icons/flag/cl.svg": () => import("./cl-d02807e7.mjs"), "./icons/flag/cm.svg": () => import("./cm-f951bab7.mjs"), "./icons/flag/cn.svg": () => import("./cn-63577685.mjs"), "./icons/flag/co.svg": () => import("./co-fb5ccff6.mjs"), "./icons/flag/cr.svg": () => import("./cr-c910bfa7.mjs"), "./icons/flag/cu.svg": () => import("./cu-154b8ef9.mjs"), "./icons/flag/cw.svg": () => import("./cw-61a8201a.mjs"), "./icons/flag/cx.svg": () => import("./cx-e5e88bca.mjs"), "./icons/flag/cy.svg": () => import("./cy-1edc9aca.mjs"), "./icons/flag/cz.svg": () => import("./cz-e30da26a.mjs"), "./icons/flag/de.svg": () => import("./de-5cfe1c09.mjs"), "./icons/flag/dj.svg": () => import("./dj-71a46a73.mjs"), "./icons/flag/dk.svg": () => import("./dk-2ffa3eab.mjs"), "./icons/flag/dm.svg": () => import("./dm-c8a641fc.mjs"), "./icons/flag/do.svg": () => import("./do-87d001de.mjs"), "./icons/flag/ds.svg": () => import("./ds-e65319d3.mjs"), "./icons/flag/dz.svg": () => import("./dz-d3b4c36e.mjs"), "./icons/flag/ec.svg": () => import("./ec-95bd8870.mjs"), "./icons/flag/ee.svg": () => import("./ee-faab8887.mjs"), "./icons/flag/eg.svg": () => import("./eg-e80c8056.mjs"), "./icons/flag/eh.svg": () => import("./eh-6afd9f94.mjs"), "./icons/flag/er.svg": () => import("./er-db994cbe.mjs"), "./icons/flag/es.svg": () => import("./es-3a635fca.mjs"), "./icons/flag/et.svg": () => import("./et-2ef41cdc.mjs"), "./icons/flag/fi.svg": () => import("./fi-9dd89328.mjs"), "./icons/flag/fj.svg": () => import("./fj-069f4655.mjs"), "./icons/flag/fk.svg": () => import("./fk-357e668b.mjs"), "./icons/flag/fm.svg": () => import("./fm-530a75f5.mjs"), "./icons/flag/fo.svg": () => import("./fo-28059777.mjs"), "./icons/flag/fr.svg": () => import("./fr-d328744f.mjs"), "./icons/flag/ga.svg": () => import("./ga-58e834f0.mjs"), "./icons/flag/gb-2.svg": () => import("./gb-2-e062951f.mjs"), "./icons/flag/gb.svg": () => import("./gb-67cdddfd.mjs"), "./icons/flag/gd.svg": () => import("./gd-c1bed1a8.mjs"), "./icons/flag/ge.svg": () => import("./ge-825ed87e.mjs"), "./icons/flag/gg.svg": () => import("./gg-6c4f9db5.mjs"), "./icons/flag/gh.svg": () => import("./gh-75d97c21.mjs"), "./icons/flag/gi.svg": () => import("./gi-67623541.mjs"), "./icons/flag/gl.svg": () => import("./gl-07791901.mjs"), "./icons/flag/gm.svg": () => import("./gm-f720b114.mjs"), "./icons/flag/gn.svg": () => import("./gn-38e65105.mjs"), "./icons/flag/gq.svg": () => import("./gq-f03057f5.mjs"), "./icons/flag/gr.svg": () => import("./gr-d657be09.mjs"), "./icons/flag/gt.svg": () => import("./gt-37fec00e.mjs"), "./icons/flag/gu.svg": () => import("./gu-25f495b3.mjs"), "./icons/flag/gw.svg": () => import("./gw-49b63aa6.mjs"), "./icons/flag/gy.svg": () => import("./gy-c3195dee.mjs"), "./icons/flag/hk.svg": () => import("./hk-203ee074.mjs"), "./icons/flag/hn.svg": () => import("./hn-f935c53c.mjs"), "./icons/flag/hr.svg": () => import("./hr-5c985cb6.mjs"), "./icons/flag/ht.svg": () => import("./ht-240304e2.mjs"), "./icons/flag/hu.svg": () => import("./hu-1e7c3a91.mjs"), "./icons/flag/id.svg": () => import("./id-01e604fc.mjs"), "./icons/flag/ie.svg": () => import("./ie-e226e54a.mjs"), "./icons/flag/il.svg": () => import("./il-4a51c7bd.mjs"), "./icons/flag/im.svg": () => import("./im-40319150.mjs"), "./icons/flag/in.svg": () => import("./in-1d105b0f.mjs"), "./icons/flag/io.svg": () => import("./io-6c269405.mjs"), "./icons/flag/iq.svg": () => import("./iq-6b9e3e5a.mjs"), "./icons/flag/ir.svg": () => import("./ir-857f9289.mjs"), "./icons/flag/is.svg": () => import("./is-cf0d2e76.mjs"), "./icons/flag/it.svg": () => import("./it-bce7a9ed.mjs"), "./icons/flag/je.svg": () => import("./je-41c855c9.mjs"), "./icons/flag/jm.svg": () => import("./jm-8dddd561.mjs"), "./icons/flag/jo.svg": () => import("./jo-544e9976.mjs"), "./icons/flag/jp.svg": () => import("./jp-01c6487d.mjs"), "./icons/flag/ke.svg": () => import("./ke-351dc14a.mjs"), "./icons/flag/kg.svg": () => import("./kg-a17fa4bf.mjs"), "./icons/flag/kh.svg": () => import("./kh-0bb7d19f.mjs"), "./icons/flag/ki.svg": () => import("./ki-3e626127.mjs"), "./icons/flag/km.svg": () => import("./km-816dc3ba.mjs"), "./icons/flag/kn.svg": () => import("./kn-bb319e99.mjs"), "./icons/flag/kp.svg": () => import("./kp-2b80118f.mjs"), "./icons/flag/kr.svg": () => import("./kr-32c1e8b7.mjs"), "./icons/flag/kw.svg": () => import("./kw-ad30457b.mjs"), "./icons/flag/ky.svg": () => import("./ky-0eb957f9.mjs"), "./icons/flag/kz.svg": () => import("./kz-72e43c67.mjs"), "./icons/flag/la.svg": () => import("./la-23b2dfcb.mjs"), "./icons/flag/lb.svg": () => import("./lb-be26799a.mjs"), "./icons/flag/lc.svg": () => import("./lc-90590887.mjs"), "./icons/flag/li.svg": () => import("./li-aa862cc7.mjs"), "./icons/flag/lk.svg": () => import("./lk-f17ec481.mjs"), "./icons/flag/lr.svg": () => import("./lr-aff36fda.mjs"), "./icons/flag/ls.svg": () => import("./ls-1cf90d43.mjs"), "./icons/flag/lt.svg": () => import("./lt-4a30e360.mjs"), "./icons/flag/lu.svg": () => import("./lu-986cbaa1.mjs"), "./icons/flag/lv.svg": () => import("./lv-e1792ca0.mjs"), "./icons/flag/ly.svg": () => import("./ly-a5393d64.mjs"), "./icons/flag/ma.svg": () => import("./ma-e1895759.mjs"), "./icons/flag/mc.svg": () => import("./mc-784352e6.mjs"), "./icons/flag/md.svg": () => import("./md-d4541b72.mjs"), "./icons/flag/me.svg": () => import("./me-cf26a608.mjs"), "./icons/flag/mg.svg": () => import("./mg-5a72197b.mjs"), "./icons/flag/mh.svg": () => import("./mh-a494ced3.mjs"), "./icons/flag/mk.svg": () => import("./mk-5d6dfbe2.mjs"), "./icons/flag/ml.svg": () => import("./ml-ea237b33.mjs"), "./icons/flag/mm.svg": () => import("./mm-ca2d2d6f.mjs"), "./icons/flag/mn.svg": () => import("./mn-9b3631e3.mjs"), "./icons/flag/mo.svg": () => import("./mo-8a8ca00c.mjs"), "./icons/flag/mp.svg": () => import("./mp-6e4057a6.mjs"), "./icons/flag/mq.svg": () => import("./mq-c4ad87c5.mjs"), "./icons/flag/mr.svg": () => import("./mr-7535e8e4.mjs"), "./icons/flag/ms.svg": () => import("./ms-0e8caa14.mjs"), "./icons/flag/mt.svg": () => import("./mt-be4c4deb.mjs"), "./icons/flag/mu.svg": () => import("./mu-2c88bc9d.mjs"), "./icons/flag/mv.svg": () => import("./mv-513ecec1.mjs"), "./icons/flag/mw.svg": () => import("./mw-6ddd4745.mjs"), "./icons/flag/mx.svg": () => import("./mx-359089aa.mjs"), "./icons/flag/my.svg": () => import("./my-04139588.mjs"), "./icons/flag/mz.svg": () => import("./mz-f694c775.mjs"), "./icons/flag/na.svg": () => import("./na-012ceddf.mjs"), "./icons/flag/ne.svg": () => import("./ne-f2a01939.mjs"), "./icons/flag/nf.svg": () => import("./nf-e6551856.mjs"), "./icons/flag/ng.svg": () => import("./ng-969a2891.mjs"), "./icons/flag/ni.svg": () => import("./ni-9c669cea.mjs"), "./icons/flag/nl.svg": () => import("./nl-d023a4e8.mjs"), "./icons/flag/no.svg": () => import("./no-463b4b53.mjs"), "./icons/flag/np.svg": () => import("./np-1e48b7f5.mjs"), "./icons/flag/nr.svg": () => import("./nr-3e362f8f.mjs"), "./icons/flag/nu.svg": () => import("./nu-55d767aa.mjs"), "./icons/flag/nz.svg": () => import("./nz-260712f6.mjs"), "./icons/flag/om.svg": () => import("./om-51ff2ef8.mjs"), "./icons/flag/pa.svg": () => import("./pa-2794cff1.mjs"), "./icons/flag/pe.svg": () => import("./pe-03062449.mjs"), "./icons/flag/pf.svg": () => import("./pf-7a7f8df3.mjs"), "./icons/flag/pg.svg": () => import("./pg-b27cc749.mjs"), "./icons/flag/ph.svg": () => import("./ph-cfeed391.mjs"), "./icons/flag/pk.svg": () => import("./pk-e0af5fcc.mjs"), "./icons/flag/pl.svg": () => import("./pl-8f8b354c.mjs"), "./icons/flag/pn.svg": () => import("./pn-1a715846.mjs"), "./icons/flag/pr.svg": () => import("./pr-aa1179ea.mjs"), "./icons/flag/ps.svg": () => import("./ps-af3368b8.mjs"), "./icons/flag/pt.svg": () => import("./pt-5964314a.mjs"), "./icons/flag/pw.svg": () => import("./pw-f405d571.mjs"), "./icons/flag/py.svg": () => import("./py-759ed64c.mjs"), "./icons/flag/qa.svg": () => import("./qa-def2a5c8.mjs"), "./icons/flag/ro.svg": () => import("./ro-b2c623ce.mjs"), "./icons/flag/rs.svg": () => import("./rs-1f43835a.mjs"), "./icons/flag/ru.svg": () => import("./ru-515b608f.mjs"), "./icons/flag/rw.svg": () => import("./rw-7bb5887d.mjs"), "./icons/flag/sa.svg": () => import("./sa-deb70e75.mjs"), "./icons/flag/sb.svg": () => import("./sb-5a3d1bd0.mjs"), "./icons/flag/sc.svg": () => import("./sc-5976b943.mjs"), "./icons/flag/se.svg": () => import("./se-d3641a11.mjs"), "./icons/flag/sg.svg": () => import("./sg-1251b5df.mjs"), "./icons/flag/si.svg": () => import("./si-c2a466f5.mjs"), "./icons/flag/sk.svg": () => import("./sk-0860725f.mjs"), "./icons/flag/sl.svg": () => import("./sl-51f9eed4.mjs"), "./icons/flag/sm.svg": () => import("./sm-75cf810c.mjs"), "./icons/flag/sn.svg": () => import("./sn-7f24ca51.mjs"), "./icons/flag/so.svg": () => import("./so-015e6af8.mjs"), "./icons/flag/sr.svg": () => import("./sr-1b0717af.mjs"), "./icons/flag/ss.svg": () => import("./ss-f6c88a4e.mjs"), "./icons/flag/st.svg": () => import("./st-989e6418.mjs"), "./icons/flag/sv.svg": () => import("./sv-23640770.mjs"), "./icons/flag/sx.svg": () => import("./sx-a304a4a6.mjs"), "./icons/flag/sy.svg": () => import("./sy-cf437d42.mjs"), "./icons/flag/sz.svg": () => import("./sz-e518a24d.mjs"), "./icons/flag/tc.svg": () => import("./tc-200bbddb.mjs"), "./icons/flag/td.svg": () => import("./td-1bb8e438.mjs"), "./icons/flag/tg.svg": () => import("./tg-2ca52b3e.mjs"), "./icons/flag/th.svg": () => import("./th-a72530d6.mjs"), "./icons/flag/tj.svg": () => import("./tj-2d376ebe.mjs"), "./icons/flag/tk.svg": () => import("./tk-7d3d0a7f.mjs"), "./icons/flag/tl.svg": () => import("./tl-55431a29.mjs"), "./icons/flag/tm.svg": () => import("./tm-d2ffabc8.mjs"), "./icons/flag/tn.svg": () => import("./tn-9e100c57.mjs"), "./icons/flag/to.svg": () => import("./to-3b674416.mjs"), "./icons/flag/tr.svg": () => import("./tr-04213ae8.mjs"), "./icons/flag/tt.svg": () => import("./tt-8ae61c7d.mjs"), "./icons/flag/tv.svg": () => import("./tv-c51c8fd6.mjs"), "./icons/flag/tw.svg": () => import("./tw-d92bcd35.mjs"), "./icons/flag/tz.svg": () => import("./tz-62c19f2e.mjs"), "./icons/flag/ua.svg": () => import("./ua-8acc7fe0.mjs"), "./icons/flag/ug.svg": () => import("./ug-cba81231.mjs"), "./icons/flag/us.svg": () => import("./us-041f888d.mjs"), "./icons/flag/uy.svg": () => import("./uy-588af199.mjs"), "./icons/flag/uz.svg": () => import("./uz-b15e9da9.mjs"), "./icons/flag/vc.svg": () => import("./vc-e9055307.mjs"), "./icons/flag/ve.svg": () => import("./ve-1a051a6e.mjs"), "./icons/flag/vg.svg": () => import("./vg-abdc103a.mjs"), "./icons/flag/vi.svg": () => import("./vi-ab2e1332.mjs"), "./icons/flag/vn.svg": () => import("./vn-cffe971d.mjs"), "./icons/flag/vu.svg": () => import("./vu-dc33d40a.mjs"), "./icons/flag/ws.svg": () => import("./ws-1b6fa1a1.mjs"), "./icons/flag/ye.svg": () => import("./ye-03199afb.mjs"), "./icons/flag/za.svg": () => import("./za-b29e17dc.mjs"), "./icons/flag/zm.svg": () => import("./zm-e90acb8f.mjs"), "./icons/flag/zw.svg": () => import("./zw-c483b7f4.mjs"), "./icons/pay/affirm.svg": () => import("./affirm-9aef00fd.mjs"), "./icons/pay/alipay.svg": () => import("./alipay-f8889c4a.mjs"), "./icons/pay/amazon.svg": () => import("./amazon-63784d92.mjs"), "./icons/pay/amex.svg": () => import("./amex-297df5f4.mjs"), "./icons/pay/applepay.svg": () => import("./applepay-bf0abc5b.mjs"), "./icons/pay/bancontact.svg": () => import("./bancontact-057becef.mjs"), "./icons/pay/bitcoin.svg": () => import("./bitcoin-0fec1e7b.mjs"), "./icons/pay/bitcoincash.svg": () => import("./bitcoincash-0a0c586f.mjs"), "./icons/pay/bitpay.svg": () => import("./bitpay-15ba47a5.mjs"), "./icons/pay/citadele.svg": () => import("./citadele-57105c23.mjs"), "./icons/pay/dinersclub.svg": () => import("./dinersclub-022391cd.mjs"), "./icons/pay/discover.svg": () => import("./discover-a393a333.mjs"), "./icons/pay/elo.svg": () => import("./elo-89d797db.mjs"), "./icons/pay/etherium.svg": () => import("./etherium-207a2f24.mjs"), "./icons/pay/forbrugsforeningen.svg": () => import("./forbrugsforeningen-52d2f2d6.mjs"), "./icons/pay/giropay.svg": () => import("./giropay-9ef50443.mjs"), "./icons/pay/googlepay.svg": () => import("./googlepay-41584edc.mjs"), "./icons/pay/ideal.svg": () => import("./ideal-c62c1699.mjs"), "./icons/pay/interac.svg": () => import("./interac-23f9a0cb.mjs"), "./icons/pay/jcb.svg": () => import("./jcb-a55712fc.mjs"), "./icons/pay/klarna.svg": () => import("./klarna-bc60c24a.mjs"), "./icons/pay/lightcoin.svg": () => import("./lightcoin-a710bd56.mjs"), "./icons/pay/maestro.svg": () => import("./maestro-6f52e0dc.mjs"), "./icons/pay/mastercard.svg": () => import("./mastercard-1bcd8146.mjs"), "./icons/pay/payoneer.svg": () => import("./payoneer-91400d09.mjs"), "./icons/pay/paypal.svg": () => import("./paypal-7a4e2657.mjs"), "./icons/pay/paysafe.svg": () => import("./paysafe-6a3eeb5f.mjs"), "./icons/pay/qiwi.svg": () => import("./qiwi-2e4cc2e5.mjs"), "./icons/pay/sepa.svg": () => import("./sepa-753ca2b4.mjs"), "./icons/pay/shop-pay.svg": () => import("./shop-pay-d97812ef.mjs"), "./icons/pay/skrill.svg": () => import("./skrill-a6ecb633.mjs"), "./icons/pay/sofort.svg": () => import("./sofort-d6f73b34.mjs"), "./icons/pay/stripe.svg": () => import("./stripe-fc7bc53b.mjs"), "./icons/pay/unionpay.svg": () => import("./unionpay-daddf101.mjs"), "./icons/pay/verifone.svg": () => import("./verifone-08122f8e.mjs"), "./icons/pay/visa.svg": () => import("./visa-030bb1b1.mjs"), "./icons/pay/webmoney.svg": () => import("./webmoney-c284cb72.mjs"), "./icons/pay/wechat.svg": () => import("./wechat-bb08d491.mjs"), "./icons/pay/yandex.svg": () => import("./yandex-55f02daa.mjs") }), `./icons/${i}/${s.name.replace(`${i}-`, "")}.svg`) : re(/* @__PURE__ */ Object.assign({ "./icons/add-app.svg": () => import("./add-app-c6cfc484.mjs"), "./icons/add-bold.svg": () => import("./add-bold-6a76e9bb.mjs"), "./icons/add-circle-bold.svg": () => import("./add-circle-bold-97e5adc1.mjs"), "./icons/add-circle-bulk.svg": () => import("./add-circle-bulk-747520c9.mjs"), "./icons/add-circle.svg": () => import("./add-circle-f073b3a5.mjs"), "./icons/add-square-bold.svg": () => import("./add-square-bold-9325171b.mjs"), "./icons/add-square.svg": () => import("./add-square-69326cbe.mjs"), "./icons/add.svg": () => import("./add-9dbda5df.mjs"), "./icons/aim-outlined.svg": () => import("./aim-outlined-65d9ace5.mjs"), "./icons/align-left-bold.svg": () => import("./align-left-bold-b5d337c2.mjs"), "./icons/align-left-bulk.svg": () => import("./align-left-bulk-12c497f2.mjs"), "./icons/align-left.svg": () => import("./align-left-e0081925.mjs"), "./icons/android-storefront.svg": () => import("./android-storefront-7e2fce85.mjs"), "./icons/android.svg": () => import("./android-6646cfe8.mjs"), "./icons/angle-double-right.svg": () => import("./angle-double-right-f9013ea4.mjs"), "./icons/app-store.svg": () => import("./app-store-a2e77b49.mjs"), "./icons/app.svg": () => import("./app-f4f9f825.mjs"), "./icons/apple-storefront.svg": () => import("./apple-storefront-42dd3c3b.mjs"), "./icons/apple.svg": () => import("./apple-0e24538a.mjs"), "./icons/area-chart-outlined.svg": () => import("./area-chart-outlined-9ebbb046.mjs"), "./icons/arrow-down-bold.svg": () => import("./arrow-down-bold-ab98475e.mjs"), "./icons/arrow-down-circle-bold.svg": () => import("./arrow-down-circle-bold-dd70b4a1.mjs"), "./icons/arrow-down-circle.svg": () => import("./arrow-down-circle-6939e08b.mjs"), "./icons/arrow-down.svg": () => import("./arrow-down-1ea6effe.mjs"), "./icons/arrow-left-bold.svg": () => import("./arrow-left-bold-da6b56cf.mjs"), "./icons/arrow-left-circle-bold.svg": () => import("./arrow-left-circle-bold-00147cf9.mjs"), "./icons/arrow-left-circle.svg": () => import("./arrow-left-circle-36ee49a0.mjs"), "./icons/arrow-left.svg": () => import("./arrow-left-de0e04b4.mjs"), "./icons/arrow-right-bold.svg": () => import("./arrow-right-bold-44d0818e.mjs"), "./icons/arrow-right-circle-bold.svg": () => import("./arrow-right-circle-bold-a099aa39.mjs"), "./icons/arrow-right-circle.svg": () => import("./arrow-right-circle-f1887cb9.mjs"), "./icons/arrow-right.svg": () => import("./arrow-right-3adbd99c.mjs"), "./icons/arrow-up-bold.svg": () => import("./arrow-up-bold-6be7daad.mjs"), "./icons/arrow-up-circle-bold.svg": () => import("./arrow-up-circle-bold-1e3d9fb3.mjs"), "./icons/arrow-up-circle.svg": () => import("./arrow-up-circle-afef4b76.mjs"), "./icons/arrow-up.svg": () => import("./arrow-up-9bd27cbc.mjs"), "./icons/asterisk.svg": () => import("./asterisk-4931d7de.mjs"), "./icons/bahai.svg": () => import("./bahai-d39a6d30.mjs"), "./icons/box-empty.svg": () => import("./box-empty-c7e5e478.mjs"), "./icons/brain.svg": () => import("./brain-ed02653c.mjs"), "./icons/broom-bold.svg": () => import("./broom-bold-bbdeaf5b.mjs"), "./icons/broom.svg": () => import("./broom-a6b79824.mjs"), "./icons/bullhorn.svg": () => import("./bullhorn-ed8cf0f2.mjs"), "./icons/buy-crypto.svg": () => import("./buy-crypto-95976591.mjs"), "./icons/calendar-alt.svg": () => import("./calendar-alt-7eb30ec8.mjs"), "./icons/calendar-bold.svg": () => import("./calendar-bold-4e672dd2.mjs"), "./icons/calendar.svg": () => import("./calendar-80e4dfe2.mjs"), "./icons/card-bold.svg": () => import("./card-bold-041abf76.mjs"), "./icons/card.svg": () => import("./card-c621f3e9.mjs"), "./icons/caret-down-bold.svg": () => import("./caret-down-bold-a3b3da1f.mjs"), "./icons/caret-down.svg": () => import("./caret-down-3fe99d7f.mjs"), "./icons/caret-left-bold.svg": () => import("./caret-left-bold-bc6e1d53.mjs"), "./icons/caret-left.svg": () => import("./caret-left-d7629f01.mjs"), "./icons/caret-right-bold.svg": () => import("./caret-right-bold-3f5262a8.mjs"), "./icons/caret-right.svg": () => import("./caret-right-8273d096.mjs"), "./icons/caret-up-bold.svg": () => import("./caret-up-bold-32d8e62c.mjs"), "./icons/caret-up.svg": () => import("./caret-up-b63b673a.mjs"), "./icons/certificate.svg": () => import("./certificate-f669a9ad.mjs"), "./icons/chart-area.svg": () => import("./chart-area-b551ec23.mjs"), "./icons/chart-bar.svg": () => import("./chart-bar-e2cd95d6.mjs"), "./icons/check.svg": () => import("./check-11d216df.mjs"), "./icons/checkered-flag.svg": () => import("./checkered-flag-b32811ef.mjs"), "./icons/chevron-down.svg": () => import("./chevron-down-bb4d1037.mjs"), "./icons/chevron-left.svg": () => import("./chevron-left-e66562f4.mjs"), "./icons/chevron-right.svg": () => import("./chevron-right-40c42af6.mjs"), "./icons/chevron-up.svg": () => import("./chevron-up-1eaab9d6.mjs"), "./icons/circle-exclamation.svg": () => import("./circle-exclamation-9e768f95.mjs"), "./icons/circle-notch.svg": () => import("./circle-notch-4d10653d.mjs"), "./icons/circle.svg": () => import("./circle-334738cc.mjs"), "./icons/clipboard-bold.svg": () => import("./clipboard-bold-23b6db18.mjs"), "./icons/clipboard-bulk.svg": () => import("./clipboard-bulk-2eaea8d9.mjs"), "./icons/clipboard.svg": () => import("./clipboard-a4d48537.mjs"), "./icons/clock-bold.svg": () => import("./clock-bold-1e86ddf2.mjs"), "./icons/clock.svg": () => import("./clock-03b46e55.mjs"), "./icons/clone.svg": () => import("./clone-87da0781.mjs"), "./icons/close-circle-bold.svg": () => import("./close-circle-bold-55afdf33.mjs"), "./icons/close-circle-bulk.svg": () => import("./close-circle-bulk-49febd0e.mjs"), "./icons/close-circle.svg": () => import("./close-circle-8362ea8b.mjs"), "./icons/close-square-bold.svg": () => import("./close-square-bold-a9c184b5.mjs"), "./icons/close-square.svg": () => import("./close-square-86c73dd1.mjs"), "./icons/close.svg": () => import("./close-78fe657e.mjs"), "./icons/cloud-upload.svg": () => import("./cloud-upload-543b8e47.mjs"), "./icons/cogs.svg": () => import("./cogs-cc6d1ae4.mjs"), "./icons/color-filter.svg": () => import("./color-filter-03f09a58.mjs"), "./icons/columns-bold.svg": () => import("./columns-bold-1c035fde.mjs"), "./icons/columns.svg": () => import("./columns-445b590e.mjs"), "./icons/compress.svg": () => import("./compress-058372ae.mjs"), "./icons/control.svg": () => import("./control-2062dbce.mjs"), "./icons/convert-shape-bold.svg": () => import("./convert-shape-bold-af9365d6.mjs"), "./icons/convert-shape-bulk.svg": () => import("./convert-shape-bulk-60bdaea2.mjs"), "./icons/convert-shape.svg": () => import("./convert-shape-99f54f1d.mjs"), "./icons/copy-bold.svg": () => import("./copy-bold-05c9fa7f.mjs"), "./icons/copy.svg": () => import("./copy-4e7dca50.mjs"), "./icons/crosshairs.svg": () => import("./crosshairs-af5e585e.mjs"), "./icons/cup-bold.svg": () => import("./cup-bold-73d694bb.mjs"), "./icons/cup-bulk.svg": () => import("./cup-bulk-492ee9cb.mjs"), "./icons/cup.svg": () => import("./cup-6572bd63.mjs"), "./icons/dashboard.svg": () => import("./dashboard-7aca4d6d.mjs"), "./icons/data-bold.svg": () => import("./data-bold-ec2d39a7.mjs"), "./icons/data-bulk.svg": () => import("./data-bulk-3183451e.mjs"), "./icons/data.svg": () => import("./data-c0cbec11.mjs"), "./icons/diagram.svg": () => import("./diagram-7c4f1611.mjs"), "./icons/dislike-bold.svg": () => import("./dislike-bold-8787bfe5.mjs"), "./icons/dislike.svg": () => import("./dislike-1bf847a0.mjs"), "./icons/document-bold.svg": () => import("./document-bold-12880f8f.mjs"), "./icons/document-bulk.svg": () => import("./document-bulk-1d978376.mjs"), "./icons/document.svg": () => import("./document-116695c8.mjs"), "./icons/dollar-circle.svg": () => import("./dollar-circle-ee373317.mjs"), "./icons/dot.svg": () => import("./dot-8b0b9de5.mjs"), "./icons/download.svg": () => import("./download-a31300dd.mjs"), "./icons/edit-bold.svg": () => import("./edit-bold-d0e7d866.mjs"), "./icons/edit.svg": () => import("./edit-c21d1e6e.mjs"), "./icons/ellipsis-horizontal.svg": () => import("./ellipsis-horizontal-a3871d7f.mjs"), "./icons/ellipsis-vertical.svg": () => import("./ellipsis-vertical-b1a88595.mjs"), "./icons/empty-table.svg": () => import("./empty-table-41155dd6.mjs"), "./icons/expand.svg": () => import("./expand-36fff427.mjs"), "./icons/export-2-bold.svg": () => import("./export-2-bold-8832fb34.mjs"), "./icons/export-2-bulk.svg": () => import("./export-2-bulk-25deffb0.mjs"), "./icons/export-2.svg": () => import("./export-2-6595b6fa.mjs"), "./icons/export-bold.svg": () => import("./export-bold-f9ede1b1.mjs"), "./icons/export.svg": () => import("./export-70a8fb01.mjs"), "./icons/eye-bold.svg": () => import("./eye-bold-a026520d.mjs"), "./icons/eye-slash-bold.svg": () => import("./eye-slash-bold-334a7964.mjs"), "./icons/eye-slash.svg": () => import("./eye-slash-db05611b.mjs"), "./icons/eye.svg": () => import("./eye-0395aa8a.mjs"), "./icons/facebook.svg": () => import("./facebook-4fa8ba0c.mjs"), "./icons/file-pdf.svg": () => import("./file-pdf-425e84ec.mjs"), "./icons/filled-flag.svg": () => import("./filled-flag-eee4f8a0.mjs"), "./icons/filter-bold.svg": () => import("./filter-bold-1a75a9c9.mjs"), "./icons/filter-bulk.svg": () => import("./filter-bulk-386bf773.mjs"), "./icons/filter.svg": () => import("./filter-c35fa360.mjs"), "./icons/flag.svg": () => import("./flag-9ab7ebcf.mjs"), "./icons/folder-open-bold.svg": () => import("./folder-open-bold-5af5737b.mjs"), "./icons/folder-open.svg": () => import("./folder-open-5d2ab10b.mjs"), "./icons/font.svg": () => import("./font-7fcbf490.mjs"), "./icons/glass-bold.svg": () => import("./glass-bold-394f3be2.mjs"), "./icons/glass-bulk.svg": () => import("./glass-bulk-e47d5da7.mjs"), "./icons/glass.svg": () => import("./glass-a6a6497f.mjs"), "./icons/global.svg": () => import("./global-6a6d773f.mjs"), "./icons/google-colored.svg": () => import("./google-colored-43ad23d9.mjs"), "./icons/google.svg": () => import("./google-2e882a09.mjs"), "./icons/graduation-cap-bold.svg": () => import("./graduation-cap-bold-38c52391.mjs"), "./icons/graduation-cap.svg": () => import("./graduation-cap-6283f172.mjs"), "./icons/graph-bold.svg": () => import("./graph-bold-ab1314fb.mjs"), "./icons/graph.svg": () => import("./graph-db4116dc.mjs"), "./icons/grid-bold.svg": () => import("./grid-bold-aee508ed.mjs"), "./icons/grid-bulk.svg": () => import("./grid-bulk-c41d1f0b.mjs"), "./icons/grid.svg": () => import("./grid-dd9c600a.mjs"), "./icons/hamburger.svg": () => import("./hamburger-4bcd3550.mjs"), "./icons/headset.svg": () => import("./headset-41866868.mjs"), "./icons/history.svg": () => import("./history-4809d082.mjs"), "./icons/home-bold.svg": () => import("./home-bold-f75667d3.mjs"), "./icons/home-bulk.svg": () => import("./home-bulk-65505439.mjs"), "./icons/home.svg": () => import("./home-ea97f9e5.mjs"), "./icons/indent.svg": () => import("./indent-bbd53e37.mjs"), "./icons/info-circle-bold.svg": () => import("./info-circle-bold-a60837c0.mjs"), "./icons/info-circle.svg": () => import("./info-circle-30e4f742.mjs"), "./icons/info.svg": () => import("./info-0f5d7a72.mjs"), "./icons/justify-right.svg": () => import("./justify-right-077e8f16.mjs"), "./icons/layer-bold.svg": () => import("./layer-bold-be2afc48.mjs"), "./icons/layer-bulk.svg": () => import("./layer-bulk-9f594537.mjs"), "./icons/layer.svg": () => import("./layer-91965b54.mjs"), "./icons/like-bold.svg": () => import("./like-bold-707bd507.mjs"), "./icons/like.svg": () => import("./like-5366ea0c.mjs"), "./icons/link.svg": () => import("./link-5900c6f3.mjs"), "./icons/linkedin.svg": () => import("./linkedin-fc9d8eba.mjs"), "./icons/list.svg": () => import("./list-842dc9a8.mjs"), "./icons/loader.svg": () => import("./loader-780f4564.mjs"), "./icons/loading.svg": () => import("./loading-ff55b728.mjs"), "./icons/lock-bold.svg": () => import("./lock-bold-7c7d934f.mjs"), "./icons/lock.svg": () => import("./lock-6a149031.mjs"), "./icons/logout-bold.svg": () => import("./logout-bold-1dcb0ea6.mjs"), "./icons/logout.svg": () => import("./logout-ad75d36d.mjs"), "./icons/map-marker-bold.svg": () => import("./map-marker-bold-442a942e.mjs"), "./icons/map-marker.svg": () => import("./map-marker-b5ee033b.mjs"), "./icons/med-kit.svg": () => import("./med-kit-735d6731.mjs"), "./icons/medal-bold.svg": () => import("./medal-bold-e3504b21.mjs"), "./icons/medal.svg": () => import("./medal-68f17af5.mjs"), "./icons/menu-bold.svg": () => import("./menu-bold-7a2db113.mjs"), "./icons/menu.svg": () => import("./menu-35172ffb.mjs"), "./icons/message-notif.svg": () => import("./message-notif-7e1da245.mjs"), "./icons/message-text.svg": () => import("./message-text-6c2c83cb.mjs"), "./icons/messages-bold.svg": () => import("./messages-bold-39c5d5da.mjs"), "./icons/messages-bulk.svg": () => import("./messages-bulk-725db50b.mjs"), "./icons/messages.svg": () => import("./messages-ca56b00a.mjs"), "./icons/microscope-bold.svg": () => import("./microscope-bold-b9ffc8e0.mjs"), "./icons/microscope-bulk.svg": () => import("./microscope-bulk-13849f10.mjs"), "./icons/microscope.svg": () => import("./microscope-5c8aa3be.mjs"), "./icons/minus-bold.svg": () => import("./minus-bold-35331113.mjs"), "./icons/minus-square-bold.svg": () => import("./minus-square-bold-ee82e28b.mjs"), "./icons/minus-square.svg": () => import("./minus-square-9e68718d.mjs"), "./icons/minus.svg": () => import("./minus-df04dca9.mjs"), "./icons/mobile-bold.svg": () => import("./mobile-bold-c116009c.mjs"), "./icons/mobile-bulk.svg": () => import("./mobile-bulk-388e6cc5.mjs"), "./icons/mobile.svg": () => import("./mobile-e8ed279c.mjs"), "./icons/money-bill.svg": () => import("./money-bill-2f65d92b.mjs"), "./icons/money-send.svg": () => import("./money-send-1aa85fa1.mjs"), "./icons/notification-bold.svg": () => import("./notification-bold-52e1c858.mjs"), "./icons/notification.svg": () => import("./notification-04a91f66.mjs"), "./icons/outdent.svg": () => import("./outdent-939d95c2.mjs"), "./icons/paper-plane.svg": () => import("./paper-plane-930f1bce.mjs"), "./icons/password-check.svg": () => import("./password-check-c088e24b.mjs"), "./icons/pause-bold.svg": () => import("./pause-bold-b5ad47f4.mjs"), "./icons/pause-circle-bold.svg": () => import("./pause-circle-bold-91dc23e9.mjs"), "./icons/pause-circle.svg": () => import("./pause-circle-31f2dece.mjs"), "./icons/pause.svg": () => import("./pause-dcda0462.mjs"), "./icons/pen-square.svg": () => import("./pen-square-5d6963c5.mjs"), "./icons/pencil.svg": () => import("./pencil-a5550af6.mjs"), "./icons/people-bold.svg": () => import("./people-bold-a8b9de12.mjs"), "./icons/people.svg": () => import("./people-9ee16944.mjs"), "./icons/percentage-square-bold.svg": () => import("./percentage-square-bold-0a7ce7af.mjs"), "./icons/percentage-square.svg": () => import("./percentage-square-53cd879b.mjs"), "./icons/play-circle-bold.svg": () => import("./play-circle-bold-6ad0060f.mjs"), "./icons/play-circle.svg": () => import("./play-circle-94665032.mjs"), "./icons/plug-bold.svg": () => import("./plug-bold-c1f9893e.mjs"), "./icons/plug.svg": () => import("./plug-48296fd8.mjs"), "./icons/project-bold.svg": () => import("./project-bold-c32953aa.mjs"), "./icons/question-bold.svg": () => import("./question-bold-00b9c0a9.mjs"), "./icons/question.svg": () => import("./question-a1a8a155.mjs"), "./icons/radar-bold.svg": () => import("./radar-bold-025890d0.mjs"), "./icons/radar-bulk.svg": () => import("./radar-bulk-255fcb9a.mjs"), "./icons/radar.svg": () => import("./radar-9e9d8254.mjs"), "./icons/ranking-bold.svg": () => import("./ranking-bold-37930d9e.mjs"), "./icons/ranking-bulk.svg": () => import("./ranking-bulk-8f7ba862.mjs"), "./icons/ranking.svg": () => import("./ranking-dbddc87b.mjs"), "./icons/record-circle.svg": () => import("./record-circle-e0200965.mjs"), "./icons/redo-bold.svg": () => import("./redo-bold-5495fffd.mjs"), "./icons/redo.svg": () => import("./redo-fb873128.mjs"), "./icons/refresh.svg": () => import("./refresh-4b069be6.mjs"), "./icons/reply.svg": () => import("./reply-de440c87.mjs"), "./icons/rocket.svg": () => import("./rocket-e2d475e7.mjs"), "./icons/scale-balanced.svg": () => import("./scale-balanced-af7eb5de.mjs"), "./icons/search-dollar.svg": () => import("./search-dollar-c94ca9fd.mjs"), "./icons/search-normal-bold.svg": () => import("./search-normal-bold-01d843f2.mjs"), "./icons/search-normal.svg": () => import("./search-normal-154aba52.mjs"), "./icons/security-card-bold.svg": () => import("./security-card-bold-2e90c06e.mjs"), "./icons/security-card.svg": () => import("./security-card-7de3f47c.mjs"), "./icons/selection.svg": () => import("./selection-08a9c952.mjs"), "./icons/send.svg": () => import("./send-e7646e7a.mjs"), "./icons/settings-bold.svg": () => import("./settings-bold-7c51d631.mjs"), "./icons/settings-bulk.svg": () => import("./settings-bulk-5b8c71b9.mjs"), "./icons/settings.svg": () => import("./settings-d20222e7.mjs"), "./icons/share-bold.svg": () => import("./share-bold-15fdbe97.mjs"), "./icons/share-bulk.svg": () => import("./share-bulk-ba3adfd9.mjs"), "./icons/share.svg": () => import("./share-138f74f8.mjs"), "./icons/shopping-cart-bold.svg": () => import("./shopping-cart-bold-f786619a.mjs"), "./icons/shopping-cart.svg": () => import("./shopping-cart-8becc3f1.mjs"), "./icons/sidebar-left-bold.svg": () => import("./sidebar-left-bold-25ef42d3.mjs"), "./icons/sidebar-left-bulk.svg": () => import("./sidebar-left-bulk-2176d14f.mjs"), "./icons/sidebar-left.svg": () => import("./sidebar-left-ba427d0c.mjs"), "./icons/sidebar-right-bold.svg": () => import("./sidebar-right-bold-3a3f4884.mjs"), "./icons/sidebar-right-bulk.svg": () => import("./sidebar-right-bulk-43354705.mjs"), "./icons/sidebar-right.svg": () => import("./sidebar-right-f88fa191.mjs"), "./icons/slash-bold.svg": () => import("./slash-bold-9656541d.mjs"), "./icons/slash.svg": () => import("./slash-9eee755b.mjs"), "./icons/slider-horizontal-bold.svg": () => import("./slider-horizontal-bold-db93f0f6.mjs"), "./icons/slider-horizontal.svg": () => import("./slider-horizontal-4c098e63.mjs"), "./icons/smart-notification-bold.svg": () => import("./smart-notification-bold-2c8940c5.mjs"), "./icons/smart-notification-bulk.svg": () => import("./smart-notification-bulk-5efb20e5.mjs"), "./icons/smart-notification.svg": () => import("./smart-notification-10e5248c.mjs"), "./icons/sms-bold.svg": () => import("./sms-bold-f6dc2e1a.mjs"), "./icons/sms.svg": () => import("./sms-4db7f244.mjs"), "./icons/sort-amount-down.svg": () => import("./sort-amount-down-0b2b11f1.mjs"), "./icons/speedometer.svg": () => import("./speedometer-c719f6df.mjs"), "./icons/spin-dots.svg": () => import("./spin-dots-25d015b7.mjs"), "./icons/spin-round.svg": () => import("./spin-round-9db617b7.mjs"), "./icons/spin-three-circles.svg": () => import("./spin-three-circles-13ae8650.mjs"), "./icons/spin-three-dots.svg": () => import("./spin-three-dots-c116245e.mjs"), "./icons/spinner.svg": () => import("./spinner-8bb3861a.mjs"), "./icons/square.svg": () => import("./square-5a969e93.mjs"), "./icons/star-bold.svg": () => import("./star-bold-4c45c0d8.mjs"), "./icons/star-bulk.svg": () => import("./star-bulk-d8bdbc7a.mjs"), "./icons/star-half-colored.svg": () => import("./star-half-colored-3b10f42e.mjs"), "./icons/star.svg": () => import("./star-017cb8aa.mjs"), "./icons/status-up.svg": () => import("./status-up-6547be80.mjs"), "./icons/stop-bold.svg": () => import("./stop-bold-be0c1cd8.mjs"), "./icons/stop.svg": () => import("./stop-c195f726.mjs"), "./icons/story.svg": () => import("./story-b421beca.mjs"), "./icons/stream.svg": () => import("./stream-e8091b3f.mjs"), "./icons/swap-bold.svg": () => import("./swap-bold-57d7dc55.mjs"), "./icons/swap.svg": () => import("./swap-11e0d73e.mjs"), "./icons/sync.svg": () => import("./sync-8d26ba0f.mjs"), "./icons/table-list.svg": () => import("./table-list-3a2b78aa.mjs"), "./icons/tag-bold.svg": () => import("./tag-bold-573c41ef.mjs"), "./icons/tag-bulk.svg": () => import("./tag-bulk-922d5513.mjs"), "./icons/tag.svg": () => import("./tag-a64db341.mjs"), "./icons/thumbtack.svg": () => import("./thumbtack-1a04ac17.mjs"), "./icons/tick-circle-bold.svg": () => import("./tick-circle-bold-1d123c3c.mjs"), "./icons/tick-circle.svg": () => import("./tick-circle-01243ef4.mjs"), "./icons/tick-square-bold.svg": () => import("./tick-square-bold-bf954d12.mjs"), "./icons/tick-square.svg": () => import("./tick-square-787b244b.mjs"), "./icons/tick.svg": () => import("./tick-52c4e48f.mjs"), "./icons/toggle-off-bold.svg": () => import("./toggle-off-bold-8a8be16b.mjs"), "./icons/toggle-off.svg": () => import("./toggle-off-1b1e303c.mjs"), "./icons/toggle-on-bold.svg": () => import("./toggle-on-bold-64ad90eb.mjs"), "./icons/toggle-on.svg": () => import("./toggle-on-0d6dced2.mjs"), "./icons/transgender.svg": () => import("./transgender-82cb488f.mjs"), "./icons/trash-bold.svg": () => import("./trash-bold-e0f392c8.mjs"), "./icons/trash-bulk.svg": () => import("./trash-bulk-89ab0a45.mjs"), "./icons/trash.svg": () => import("./trash-f08f2851.mjs"), "./icons/trend-up-bold.svg": () => import("./trend-up-bold-df64bd2c.mjs"), "./icons/trend-up-bulk.svg": () => import("./trend-up-bulk-431e9d22.mjs"), "./icons/trend-up.svg": () => import("./trend-up-eca70766.mjs"), "./icons/triangle-exclamation.svg": () => import("./triangle-exclamation-3a84b726.mjs"), "./icons/twitter.svg": () => import("./twitter-9097735c.mjs"), "./icons/undo-bold.svg": () => import("./undo-bold-65eb640c.mjs"), "./icons/undo.svg": () => import("./undo-653eb482.mjs"), "./icons/unlock-bold.svg": () => import("./unlock-bold-8a8847c6.mjs"), "./icons/unlock.svg": () => import("./unlock-2c19e8b6.mjs"), "./icons/upload-bulk.svg": () => import("./upload-bulk-c4de9af1.mjs"), "./icons/upload.svg": () => import("./upload-37d640ae.mjs"), "./icons/user-square.svg": () => import("./user-square-b766a005.mjs"), "./icons/user.svg": () => import("./user-e1c97db1.mjs"), "./icons/volume-low.svg": () => import("./volume-low-58e56b04.mjs"), "./icons/warning-2-bold.svg": () => import("./warning-2-bold-d7e8e03f.mjs"), "./icons/warning-2-bulk.svg": () => import("./warning-2-bulk-a5e67b28.mjs"), "./icons/warning-2.svg": () => import("./warning-2-c6914942.mjs"), "./icons/warning.svg": () => import("./warning-76eae041.mjs"), "./icons/wifi.svg": () => import("./wifi-0bf73fb3.mjs") }), `./icons/${s.name}.svg`);
|
|
@@ -32,17 +32,17 @@ const re = (a, s) => {
|
|
|
32
32
|
"ma-icon",
|
|
33
33
|
"ak-icon",
|
|
34
34
|
`ak-icon--${s.name}`,
|
|
35
|
-
|
|
35
|
+
ss[s.size],
|
|
36
36
|
{ "animate-spin": s.spin }
|
|
37
37
|
]);
|
|
38
|
-
return (i, r) => (n(),
|
|
38
|
+
return (i, r) => (n(), m(ee(t(o)), {
|
|
39
39
|
class: R(t(l))
|
|
40
40
|
}, null, 8, ["class"]));
|
|
41
41
|
}
|
|
42
|
-
}),
|
|
42
|
+
}), ts = {
|
|
43
43
|
name: "MaButton"
|
|
44
|
-
}, Q = /* @__PURE__ */
|
|
45
|
-
...
|
|
44
|
+
}, Q = /* @__PURE__ */ k({
|
|
45
|
+
...ts,
|
|
46
46
|
props: {
|
|
47
47
|
type: { default: "primary" },
|
|
48
48
|
variant: { default: "dark" },
|
|
@@ -76,10 +76,10 @@ const re = (a, s) => {
|
|
|
76
76
|
{
|
|
77
77
|
"ak-button--disabled": r.value
|
|
78
78
|
}
|
|
79
|
-
]), i = c(() => e?.loading || e?.icon), r = c(() => e?.disabled || e?.loading), u = (
|
|
80
|
-
s("keyUp",
|
|
79
|
+
]), i = c(() => e?.loading || e?.icon), r = c(() => e?.disabled || e?.loading), u = (d) => {
|
|
80
|
+
s("keyUp", d);
|
|
81
81
|
};
|
|
82
|
-
return (
|
|
82
|
+
return (d, g) => (n(), m(t(ke), x({
|
|
83
83
|
class: t(l),
|
|
84
84
|
href: e.href,
|
|
85
85
|
target: e.target,
|
|
@@ -87,22 +87,22 @@ const re = (a, s) => {
|
|
|
87
87
|
type: t(o),
|
|
88
88
|
onKeyup: u,
|
|
89
89
|
role: "button"
|
|
90
|
-
},
|
|
91
|
-
U(
|
|
90
|
+
}, d.$attrs, { "prefix-cls": "antd-btn" }), q({ _: 2 }, [
|
|
91
|
+
U(d.$slots, (B, z) => ({
|
|
92
92
|
name: z,
|
|
93
93
|
fn: f(() => [
|
|
94
|
-
y(
|
|
94
|
+
y(d.$slots, z)
|
|
95
95
|
])
|
|
96
96
|
})),
|
|
97
97
|
t(i) ? {
|
|
98
98
|
name: "icon",
|
|
99
99
|
fn: f(() => [
|
|
100
|
-
e?.loading ? (n(),
|
|
100
|
+
e?.loading ? (n(), m(b, {
|
|
101
101
|
key: 0,
|
|
102
102
|
class: "ak-button__loader",
|
|
103
103
|
spin: "",
|
|
104
104
|
name: "loader"
|
|
105
|
-
})) : (n(),
|
|
105
|
+
})) : (n(), m(b, {
|
|
106
106
|
key: 1,
|
|
107
107
|
name: e?.icon
|
|
108
108
|
}, null, 8, ["name"]))
|
|
@@ -112,40 +112,40 @@ const re = (a, s) => {
|
|
|
112
112
|
]), 1040, ["class", "href", "target", "disabled", "type"]));
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
const
|
|
115
|
+
const sn = [
|
|
116
116
|
"primary",
|
|
117
117
|
"secondary",
|
|
118
118
|
"link",
|
|
119
119
|
"grey-link",
|
|
120
120
|
"social"
|
|
121
|
-
],
|
|
121
|
+
], on = [
|
|
122
122
|
"dark",
|
|
123
123
|
"plain",
|
|
124
124
|
"info",
|
|
125
125
|
"success",
|
|
126
126
|
"warning",
|
|
127
127
|
"danger"
|
|
128
|
-
],
|
|
128
|
+
], ns = [
|
|
129
129
|
"small",
|
|
130
130
|
"middle",
|
|
131
131
|
"large",
|
|
132
132
|
"x-large",
|
|
133
133
|
"2x-large"
|
|
134
|
-
],
|
|
134
|
+
], tn = [
|
|
135
135
|
"default",
|
|
136
136
|
"round"
|
|
137
|
-
],
|
|
137
|
+
], nn = [
|
|
138
138
|
"_blank",
|
|
139
139
|
"_self",
|
|
140
140
|
"_top",
|
|
141
141
|
"_parent"
|
|
142
|
-
],
|
|
142
|
+
], an = [
|
|
143
143
|
"left",
|
|
144
144
|
"right"
|
|
145
|
-
],
|
|
145
|
+
], as = { class: "icon-wrapper" }, ls = {
|
|
146
146
|
name: "MaTrackButton"
|
|
147
|
-
},
|
|
148
|
-
...
|
|
147
|
+
}, ln = /* @__PURE__ */ k({
|
|
148
|
+
...ls,
|
|
149
149
|
props: {
|
|
150
150
|
variant: { default: "default" },
|
|
151
151
|
size: { default: "md" },
|
|
@@ -175,14 +175,14 @@ const Zt = [
|
|
|
175
175
|
]), o = c(
|
|
176
176
|
() => s.loading ? "loader" : s?.showClose ? "close-circle" : s?.tracked ? "tick-circle-bold" : "add"
|
|
177
177
|
), l = c(() => s.size === "lg" ? "sm" : "xs");
|
|
178
|
-
return (i, r) => (n(),
|
|
178
|
+
return (i, r) => (n(), m(t(ke), x(i.$attrs, {
|
|
179
179
|
class: t(e),
|
|
180
180
|
disabled: s?.disabled || s?.loading,
|
|
181
181
|
role: "button",
|
|
182
182
|
"prefix-cls": "antd-btn"
|
|
183
|
-
}),
|
|
183
|
+
}), q({
|
|
184
184
|
icon: f(() => [
|
|
185
|
-
|
|
185
|
+
_("div", as, [
|
|
186
186
|
M(b, {
|
|
187
187
|
spin: s?.loading,
|
|
188
188
|
name: t(o),
|
|
@@ -191,38 +191,38 @@ const Zt = [
|
|
|
191
191
|
])
|
|
192
192
|
]),
|
|
193
193
|
default: f(() => [
|
|
194
|
-
L(" " +
|
|
194
|
+
L(" " + C(a.keyword) + " ", 1)
|
|
195
195
|
]),
|
|
196
196
|
_: 2
|
|
197
197
|
}, [
|
|
198
|
-
U(i.$slots, (u,
|
|
199
|
-
name:
|
|
198
|
+
U(i.$slots, (u, d) => ({
|
|
199
|
+
name: d,
|
|
200
200
|
fn: f(() => [
|
|
201
|
-
y(i.$slots,
|
|
201
|
+
y(i.$slots, d)
|
|
202
202
|
])
|
|
203
203
|
}))
|
|
204
204
|
]), 1040, ["class", "disabled"]));
|
|
205
205
|
}
|
|
206
206
|
});
|
|
207
|
-
const
|
|
207
|
+
const rn = [
|
|
208
208
|
"default"
|
|
209
|
-
],
|
|
209
|
+
], cn = [
|
|
210
210
|
"sm",
|
|
211
211
|
"md",
|
|
212
212
|
"lg"
|
|
213
|
-
],
|
|
213
|
+
], is = {
|
|
214
214
|
key: 0,
|
|
215
215
|
class: "ma-toggle__titles"
|
|
216
|
-
},
|
|
216
|
+
}, rs = {
|
|
217
217
|
key: 0,
|
|
218
218
|
class: "ma-toggle__titles__title"
|
|
219
|
-
},
|
|
219
|
+
}, cs = {
|
|
220
220
|
key: 1,
|
|
221
221
|
class: "ma-toggle__titles__sub-title"
|
|
222
|
-
},
|
|
222
|
+
}, ps = {
|
|
223
223
|
name: "MaToggle"
|
|
224
|
-
},
|
|
225
|
-
...
|
|
224
|
+
}, pn = /* @__PURE__ */ k({
|
|
225
|
+
...ps,
|
|
226
226
|
props: {
|
|
227
227
|
size: { default: "default" },
|
|
228
228
|
disabled: { type: Boolean },
|
|
@@ -252,10 +252,10 @@ const on = [
|
|
|
252
252
|
return (i, r) => (n(), p("div", {
|
|
253
253
|
class: R(t(l))
|
|
254
254
|
}, [
|
|
255
|
-
M(t(
|
|
255
|
+
M(t(Le), x({
|
|
256
256
|
class: "ma-toggle__switch",
|
|
257
257
|
checked: t(o),
|
|
258
|
-
"onUpdate:checked": r[0] || (r[0] = (u) =>
|
|
258
|
+
"onUpdate:checked": r[0] || (r[0] = (u) => K(o) ? o.value = u : null)
|
|
259
259
|
}, i.$attrs, {
|
|
260
260
|
onClick: r[1] || (r[1] = (u) => i.$emit("click", u)),
|
|
261
261
|
disabled: e.disabled,
|
|
@@ -264,21 +264,21 @@ const on = [
|
|
|
264
264
|
unCheckedChildren: e.unCheckedChildren,
|
|
265
265
|
"prefix-cls": "antd-switch"
|
|
266
266
|
}), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
|
|
267
|
-
e.title || e.subTitle ? (n(), p("div",
|
|
268
|
-
e.title ? (n(), p("span",
|
|
269
|
-
e.subTitle ? (n(), p("span",
|
|
270
|
-
])) :
|
|
267
|
+
e.title || e.subTitle ? (n(), p("div", is, [
|
|
268
|
+
e.title ? (n(), p("span", rs, C(e.title), 1)) : h("", !0),
|
|
269
|
+
e.subTitle ? (n(), p("span", cs, C(e.subTitle), 1)) : h("", !0)
|
|
270
|
+
])) : h("", !0)
|
|
271
271
|
], 2));
|
|
272
272
|
}
|
|
273
273
|
});
|
|
274
|
-
const
|
|
274
|
+
const un = [
|
|
275
275
|
"small",
|
|
276
276
|
"default",
|
|
277
277
|
"large"
|
|
278
|
-
],
|
|
278
|
+
], us = ["aria-checked", "disabled"], ds = {
|
|
279
279
|
name: "MaSwitch"
|
|
280
|
-
},
|
|
281
|
-
...
|
|
280
|
+
}, dn = /* @__PURE__ */ k({
|
|
281
|
+
...ds,
|
|
282
282
|
props: {
|
|
283
283
|
active: null,
|
|
284
284
|
leftIcon: null,
|
|
@@ -317,35 +317,35 @@ const an = [
|
|
|
317
317
|
"aria-checked": t(o) === e.rightValue,
|
|
318
318
|
disabled: e.disabled
|
|
319
319
|
}), [
|
|
320
|
-
|
|
320
|
+
_("span", {
|
|
321
321
|
class: R({ active: e.active === e.leftValue }),
|
|
322
|
-
onClick: u[0] || (u[0] = (
|
|
322
|
+
onClick: u[0] || (u[0] = (d) => i(e.leftValue))
|
|
323
323
|
}, [
|
|
324
324
|
M(b, {
|
|
325
325
|
name: e.leftIcon
|
|
326
326
|
}, null, 8, ["name"])
|
|
327
327
|
], 2),
|
|
328
|
-
|
|
328
|
+
_("span", {
|
|
329
329
|
class: R({ active: e.active === e.rightValue }),
|
|
330
|
-
onClick: u[1] || (u[1] = (
|
|
330
|
+
onClick: u[1] || (u[1] = (d) => i(e.rightValue))
|
|
331
331
|
}, [
|
|
332
332
|
M(b, {
|
|
333
333
|
name: e.rightIcon
|
|
334
334
|
}, null, 8, ["name"])
|
|
335
335
|
], 2)
|
|
336
|
-
], 16,
|
|
336
|
+
], 16, us));
|
|
337
337
|
}
|
|
338
338
|
});
|
|
339
|
-
const
|
|
339
|
+
const mn = [
|
|
340
340
|
"primary",
|
|
341
341
|
"secondary"
|
|
342
|
-
],
|
|
342
|
+
], ms = { class: "ak-tooltip-overlay__content" }, gs = { class: "ak-tooltip-overlay__content__title" }, vs = {
|
|
343
343
|
key: 0,
|
|
344
344
|
class: "ak-tooltip-overlay__content__description"
|
|
345
|
-
},
|
|
345
|
+
}, fs = {
|
|
346
346
|
name: "MaTooltip"
|
|
347
|
-
}, pe = /* @__PURE__ */
|
|
348
|
-
...
|
|
347
|
+
}, pe = /* @__PURE__ */ k({
|
|
348
|
+
...fs,
|
|
349
349
|
props: {
|
|
350
350
|
placement: { default: "top" },
|
|
351
351
|
type: { default: "secondary" },
|
|
@@ -368,12 +368,12 @@ const rn = [
|
|
|
368
368
|
`ak-tooltip-overlay--${s.type}`,
|
|
369
369
|
`ak-tooltip-overlay--${s.placement}`,
|
|
370
370
|
s?.overlayClassName
|
|
371
|
-
].join(" ")), l =
|
|
371
|
+
].join(" ")), l = F(s.defaultVisible), i = () => {
|
|
372
372
|
l.value = !1;
|
|
373
373
|
};
|
|
374
|
-
return (r, u) => (n(),
|
|
374
|
+
return (r, u) => (n(), m(t(Fe), x(r.$attrs, {
|
|
375
375
|
visible: l.value,
|
|
376
|
-
"onUpdate:visible": u[0] || (u[0] = (
|
|
376
|
+
"onUpdate:visible": u[0] || (u[0] = (d) => l.value = d),
|
|
377
377
|
class: t(e),
|
|
378
378
|
placement: s.placement,
|
|
379
379
|
trigger: s.trigger,
|
|
@@ -381,29 +381,29 @@ const rn = [
|
|
|
381
381
|
"prefix-cls": "antd-tooltip"
|
|
382
382
|
}), {
|
|
383
383
|
title: f(() => [
|
|
384
|
-
s.icon ? (n(),
|
|
384
|
+
s.icon ? (n(), m(b, {
|
|
385
385
|
key: 0,
|
|
386
386
|
size: "xs",
|
|
387
387
|
name: s.icon
|
|
388
|
-
}, null, 8, ["name"])) :
|
|
388
|
+
}, null, 8, ["name"])) : h("", !0),
|
|
389
389
|
y(r.$slots, "icon"),
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
L(
|
|
390
|
+
_("div", ms, [
|
|
391
|
+
_("span", gs, [
|
|
392
|
+
L(C(s.title) + " ", 1),
|
|
393
393
|
y(r.$slots, "title")
|
|
394
394
|
]),
|
|
395
|
-
s?.description || r.$slots.description ? (n(), p("span",
|
|
396
|
-
L(
|
|
395
|
+
s?.description || r.$slots.description ? (n(), p("span", vs, [
|
|
396
|
+
L(C(s.description) + " ", 1),
|
|
397
397
|
y(r.$slots, "description")
|
|
398
|
-
])) :
|
|
398
|
+
])) : h("", !0)
|
|
399
399
|
]),
|
|
400
|
-
s.closable ? (n(),
|
|
400
|
+
s.closable ? (n(), m(b, {
|
|
401
401
|
key: 1,
|
|
402
402
|
onClick: i,
|
|
403
403
|
class: "ak-tooltip-overlay__close",
|
|
404
404
|
size: "xs",
|
|
405
405
|
name: "close"
|
|
406
|
-
})) :
|
|
406
|
+
})) : h("", !0)
|
|
407
407
|
]),
|
|
408
408
|
default: f(() => [
|
|
409
409
|
y(r.$slots, "default")
|
|
@@ -412,7 +412,7 @@ const rn = [
|
|
|
412
412
|
}, 16, ["visible", "class", "placement", "trigger", "overlayClassName"]));
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
|
-
const
|
|
415
|
+
const gn = [
|
|
416
416
|
"top",
|
|
417
417
|
"left",
|
|
418
418
|
"right",
|
|
@@ -425,75 +425,75 @@ const cn = [
|
|
|
425
425
|
"leftBottom",
|
|
426
426
|
"rightTop",
|
|
427
427
|
"rightBottom"
|
|
428
|
-
],
|
|
428
|
+
], vn = [
|
|
429
429
|
"primary",
|
|
430
430
|
"secondary"
|
|
431
|
-
],
|
|
431
|
+
], fn = [
|
|
432
432
|
"hover",
|
|
433
433
|
"focus",
|
|
434
434
|
"click",
|
|
435
435
|
"contextmenu"
|
|
436
|
-
],
|
|
436
|
+
], _s = {
|
|
437
437
|
name: "MaNonHSFormsIgnore"
|
|
438
|
-
},
|
|
438
|
+
}, hs = (a, s) => {
|
|
439
439
|
const e = a.__vccOpts || a;
|
|
440
440
|
for (const [o, l] of s)
|
|
441
441
|
e[o] = l;
|
|
442
442
|
return e;
|
|
443
|
-
}, ys = /* @__PURE__ */
|
|
443
|
+
}, ys = /* @__PURE__ */ _("label", {
|
|
444
444
|
for: "cc-num",
|
|
445
445
|
class: "hidden"
|
|
446
|
-
}, "HubspotCollectedFormsWorkaround", -1),
|
|
446
|
+
}, "HubspotCollectedFormsWorkaround", -1), bs = /* @__PURE__ */ _("input", {
|
|
447
447
|
id: "cc-num",
|
|
448
448
|
name: "cc-num",
|
|
449
449
|
class: "hidden",
|
|
450
450
|
required: "",
|
|
451
451
|
value: "HubspotCollectedFormsWorkaround"
|
|
452
452
|
}, null, -1);
|
|
453
|
-
function
|
|
454
|
-
return n(), p(
|
|
453
|
+
function ks(a, s, e, o, l, i) {
|
|
454
|
+
return n(), p(O, null, [
|
|
455
455
|
ys,
|
|
456
|
-
|
|
456
|
+
bs
|
|
457
457
|
], 64);
|
|
458
458
|
}
|
|
459
|
-
const
|
|
459
|
+
const $s = /* @__PURE__ */ hs(_s, [["render", ks]]), Cs = {
|
|
460
460
|
name: "MaForm"
|
|
461
|
-
},
|
|
462
|
-
|
|
461
|
+
}, _n = /* @__PURE__ */ k({
|
|
462
|
+
...Cs,
|
|
463
463
|
props: {
|
|
464
464
|
nonHubspotFormsIgnore: { type: Boolean, default: !0 }
|
|
465
465
|
},
|
|
466
466
|
setup(a, { expose: s }) {
|
|
467
|
-
const e = a, o =
|
|
467
|
+
const e = a, o = F();
|
|
468
468
|
return s({
|
|
469
469
|
validate: () => o.value.validate(),
|
|
470
470
|
clearValidate: () => o.value.clearValidate(),
|
|
471
471
|
resetFields: () => o.value.resetFields(),
|
|
472
472
|
scrollToField: () => o.value.scrollToField(),
|
|
473
473
|
validateFields: () => o.value.validateFields()
|
|
474
|
-
}), (
|
|
474
|
+
}), (g, B) => (n(), m(t(Ee), x(g.$attrs, {
|
|
475
475
|
class: "ma-form",
|
|
476
476
|
"prefix-cls": "antd-form",
|
|
477
477
|
ref_key: "form",
|
|
478
478
|
ref: o
|
|
479
479
|
}), {
|
|
480
480
|
default: f(() => [
|
|
481
|
-
e.nonHubspotFormsIgnore ? (n(),
|
|
482
|
-
y(
|
|
481
|
+
e.nonHubspotFormsIgnore ? (n(), m($s, { key: 0 })) : h("", !0),
|
|
482
|
+
y(g.$slots, "default")
|
|
483
483
|
]),
|
|
484
484
|
_: 3
|
|
485
485
|
}, 16));
|
|
486
486
|
}
|
|
487
487
|
});
|
|
488
|
-
const
|
|
488
|
+
const ws = {
|
|
489
489
|
name: "MaFormItem"
|
|
490
|
-
},
|
|
491
|
-
...
|
|
490
|
+
}, hn = /* @__PURE__ */ k({
|
|
491
|
+
...ws,
|
|
492
492
|
setup(a) {
|
|
493
|
-
return (s, e) => (n(),
|
|
493
|
+
return (s, e) => (n(), m(t(Re), x(s.$attrs, {
|
|
494
494
|
class: "ma-form-item",
|
|
495
495
|
"prefix-cls": "antd-form"
|
|
496
|
-
}),
|
|
496
|
+
}), q({ _: 2 }, [
|
|
497
497
|
U(s.$slots, (o, l) => ({
|
|
498
498
|
name: l,
|
|
499
499
|
fn: f(() => [
|
|
@@ -502,11 +502,11 @@ const Cs = {
|
|
|
502
502
|
}))
|
|
503
503
|
]), 1040));
|
|
504
504
|
}
|
|
505
|
-
}),
|
|
505
|
+
}), yn = [
|
|
506
506
|
"horizontal",
|
|
507
507
|
"vertical",
|
|
508
508
|
"inline"
|
|
509
|
-
],
|
|
509
|
+
], J = {
|
|
510
510
|
text: "text",
|
|
511
511
|
password: "password",
|
|
512
512
|
textarea: "textarea",
|
|
@@ -517,36 +517,36 @@ const Cs = {
|
|
|
517
517
|
amount: "amount",
|
|
518
518
|
creditCard: "creditCard",
|
|
519
519
|
userInfo: "userInfo"
|
|
520
|
-
},
|
|
520
|
+
}, xs = {
|
|
521
521
|
small: "small",
|
|
522
522
|
medium: "medium",
|
|
523
523
|
large: "large"
|
|
524
|
-
},
|
|
524
|
+
}, bn = {
|
|
525
525
|
usd: "USD",
|
|
526
526
|
eur: "EUR",
|
|
527
527
|
gbp: "GBP",
|
|
528
528
|
jpy: "JPY"
|
|
529
|
-
},
|
|
529
|
+
}, Ms = {
|
|
530
530
|
USD: "$",
|
|
531
531
|
EUR: "€",
|
|
532
532
|
GBP: "£",
|
|
533
533
|
JPY: "¥"
|
|
534
|
-
},
|
|
534
|
+
}, Bs = [
|
|
535
535
|
{ label: "USD", value: "USD" },
|
|
536
536
|
{ label: "EUR", value: "EUR" },
|
|
537
537
|
{ label: "GBP", value: "GBP" },
|
|
538
538
|
{ label: "JPY", value: "JPY" }
|
|
539
|
-
],
|
|
539
|
+
], zs = {
|
|
540
540
|
name: "MaAvatar"
|
|
541
|
-
},
|
|
542
|
-
...
|
|
541
|
+
}, Is = /* @__PURE__ */ k({
|
|
542
|
+
...zs,
|
|
543
543
|
setup(a) {
|
|
544
|
-
return (s, e) => (n(),
|
|
544
|
+
return (s, e) => (n(), m(t(Ue), x(s.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
|
|
545
545
|
}
|
|
546
|
-
}),
|
|
546
|
+
}), Ss = { class: "dropdown-wrapper" }, Ts = { class: "mobile-header" }, As = /* @__PURE__ */ _("label", null, "Select", -1), Ps = {
|
|
547
547
|
name: "MaDropdownRender"
|
|
548
|
-
},
|
|
549
|
-
...
|
|
548
|
+
}, Ns = /* @__PURE__ */ k({
|
|
549
|
+
...Ps,
|
|
550
550
|
props: {
|
|
551
551
|
menu: {
|
|
552
552
|
type: Object,
|
|
@@ -569,14 +569,14 @@ const Cs = {
|
|
|
569
569
|
}), i = () => {
|
|
570
570
|
s("closeDropdown");
|
|
571
571
|
};
|
|
572
|
-
return (r, u) => (n(), p("div",
|
|
573
|
-
|
|
572
|
+
return (r, u) => (n(), p("div", Ss, [
|
|
573
|
+
_("div", Ts, [
|
|
574
574
|
M(b, {
|
|
575
575
|
size: "lg",
|
|
576
576
|
name: "close-circle",
|
|
577
577
|
onClick: i
|
|
578
578
|
}),
|
|
579
|
-
|
|
579
|
+
As,
|
|
580
580
|
M(Q, {
|
|
581
581
|
type: "grey-link",
|
|
582
582
|
onClick: i
|
|
@@ -587,9 +587,9 @@ const Cs = {
|
|
|
587
587
|
_: 1
|
|
588
588
|
})
|
|
589
589
|
]),
|
|
590
|
-
M(
|
|
590
|
+
M(Ce, {
|
|
591
591
|
value: t(l),
|
|
592
|
-
"onUpdate:value": u[0] || (u[0] = (
|
|
592
|
+
"onUpdate:value": u[0] || (u[0] = (d) => K(l) ? l.value = d : null),
|
|
593
593
|
autofocus: "",
|
|
594
594
|
placeholder: "Search",
|
|
595
595
|
"prefix-icon": "search-normal"
|
|
@@ -597,13 +597,13 @@ const Cs = {
|
|
|
597
597
|
M(o, { vnodes: a.menu }, null, 8, ["vnodes"])
|
|
598
598
|
]));
|
|
599
599
|
}
|
|
600
|
-
}),
|
|
600
|
+
}), Ds = {
|
|
601
601
|
key: 0,
|
|
602
602
|
class: "prefix-icon"
|
|
603
|
-
},
|
|
603
|
+
}, Ls = {
|
|
604
604
|
name: "MaSelect"
|
|
605
|
-
},
|
|
606
|
-
...
|
|
605
|
+
}, $e = /* @__PURE__ */ k({
|
|
606
|
+
...Ls,
|
|
607
607
|
props: {
|
|
608
608
|
allowClear: { type: Boolean },
|
|
609
609
|
autoClearSearchValue: { type: Boolean, default: !0 },
|
|
@@ -634,14 +634,14 @@ const Cs = {
|
|
|
634
634
|
"update:value"
|
|
635
635
|
],
|
|
636
636
|
setup(a, { emit: s }) {
|
|
637
|
-
const e = a, o = ne(), l =
|
|
637
|
+
const e = a, o = ne(), l = F(e?.searchValue), i = F(e.open), r = c(() => !e?.mode && e?.showSearch), u = c({
|
|
638
638
|
get() {
|
|
639
639
|
return e.value;
|
|
640
640
|
},
|
|
641
|
-
set(
|
|
642
|
-
s("update:value",
|
|
641
|
+
set(E) {
|
|
642
|
+
s("update:value", E);
|
|
643
643
|
}
|
|
644
|
-
}),
|
|
644
|
+
}), d = c(() => [
|
|
645
645
|
"ma-select",
|
|
646
646
|
`ma-select--${e.size}`,
|
|
647
647
|
{
|
|
@@ -653,28 +653,28 @@ const Cs = {
|
|
|
653
653
|
{
|
|
654
654
|
"ma-select--custom-render": r
|
|
655
655
|
}
|
|
656
|
-
]),
|
|
656
|
+
]), g = c(() => [
|
|
657
657
|
e?.dropdownClassName,
|
|
658
658
|
"ma-select-dropdown",
|
|
659
659
|
!e?.mode && (o?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
|
|
660
|
-
].join(" ")), B = c(() => e?.loading ? "loader" : e?.suffixIcon), z = c(() => Object.keys(o).filter((
|
|
660
|
+
].join(" ")), B = c(() => e?.loading ? "loader" : e?.suffixIcon), z = c(() => Object.keys(o).filter((E) => !["option"].includes(E))), S = c(() => e?.showArrow || !e?.mode), A = () => {
|
|
661
661
|
i.value = !0;
|
|
662
|
-
},
|
|
663
|
-
i.value =
|
|
662
|
+
}, w = (E) => {
|
|
663
|
+
i.value = E, l.value = "";
|
|
664
664
|
}, T = c(() => !r.value && e?.showSearch), I = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, j = () => {
|
|
665
665
|
i.value = !1;
|
|
666
666
|
};
|
|
667
|
-
return (
|
|
667
|
+
return (E, G) => (n(), m(t(je), x({
|
|
668
668
|
value: t(u),
|
|
669
|
-
"onUpdate:value":
|
|
670
|
-
},
|
|
671
|
-
class: t(
|
|
669
|
+
"onUpdate:value": G[1] || (G[1] = (v) => K(u) ? u.value = v : null)
|
|
670
|
+
}, E.$attrs, {
|
|
671
|
+
class: t(d),
|
|
672
672
|
allowClear: e?.allowClear,
|
|
673
673
|
autoClearSearchValue: e?.autoClearSearchValue,
|
|
674
674
|
autofocus: e?.autofocus,
|
|
675
675
|
defaultOpen: e?.defaultOpen,
|
|
676
676
|
disabled: e?.disabled || e?.loading,
|
|
677
|
-
dropdownClassName: t(
|
|
677
|
+
dropdownClassName: t(g),
|
|
678
678
|
loading: e?.loading,
|
|
679
679
|
optionFilterProp: e?.optionFilterProp,
|
|
680
680
|
optionLabelProp: e?.optionLabelProp,
|
|
@@ -688,22 +688,22 @@ const Cs = {
|
|
|
688
688
|
size: e?.size,
|
|
689
689
|
open: i.value,
|
|
690
690
|
onClick: A,
|
|
691
|
-
onDropdownVisibleChange:
|
|
691
|
+
onDropdownVisibleChange: w,
|
|
692
692
|
"prefix-cls": "antd-select"
|
|
693
|
-
}),
|
|
693
|
+
}), q({
|
|
694
694
|
suffixIcon: f(() => [
|
|
695
695
|
M(b, {
|
|
696
696
|
spin: e?.loading,
|
|
697
697
|
name: t(B) || "chevron-down"
|
|
698
698
|
}, null, 8, ["spin", "name"]),
|
|
699
|
-
|
|
700
|
-
y(
|
|
701
|
-
e?.prefixIcon ? (n(),
|
|
699
|
+
E.$slots?.prefixIcon || e?.prefixIcon ? (n(), p("div", Ds, [
|
|
700
|
+
y(E.$slots, "prefixIcon", {}, () => [
|
|
701
|
+
e?.prefixIcon ? (n(), m(b, {
|
|
702
702
|
key: 0,
|
|
703
703
|
name: e?.prefixIcon
|
|
704
|
-
}, null, 8, ["name"])) :
|
|
704
|
+
}, null, 8, ["name"])) : h("", !0)
|
|
705
705
|
])
|
|
706
|
-
])) :
|
|
706
|
+
])) : h("", !0)
|
|
707
707
|
]),
|
|
708
708
|
removeIcon: f(() => [
|
|
709
709
|
M(b, {
|
|
@@ -712,17 +712,17 @@ const Cs = {
|
|
|
712
712
|
]),
|
|
713
713
|
_: 2
|
|
714
714
|
}, [
|
|
715
|
-
U(t(z), (
|
|
716
|
-
name:
|
|
715
|
+
U(t(z), (v) => ({
|
|
716
|
+
name: v,
|
|
717
717
|
fn: f(() => [
|
|
718
|
-
y(
|
|
718
|
+
y(E.$slots, v)
|
|
719
719
|
])
|
|
720
720
|
})),
|
|
721
|
-
|
|
721
|
+
E.$slots.option ? {
|
|
722
722
|
name: "option",
|
|
723
|
-
fn: f(({ label:
|
|
724
|
-
y(
|
|
725
|
-
label:
|
|
723
|
+
fn: f(({ label: v, value: P }) => [
|
|
724
|
+
y(E.$slots, "option", {
|
|
725
|
+
label: v,
|
|
726
726
|
value: P
|
|
727
727
|
})
|
|
728
728
|
]),
|
|
@@ -731,10 +731,10 @@ const Cs = {
|
|
|
731
731
|
e?.clearIcon ? {
|
|
732
732
|
name: "clearIcon",
|
|
733
733
|
fn: f(() => [
|
|
734
|
-
e?.clearIcon ? (n(),
|
|
734
|
+
e?.clearIcon ? (n(), m(b, {
|
|
735
735
|
key: 0,
|
|
736
736
|
name: e?.clearIcon
|
|
737
|
-
}, null, 8, ["name"])) :
|
|
737
|
+
}, null, 8, ["name"])) : h("", !0)
|
|
738
738
|
]),
|
|
739
739
|
key: "1"
|
|
740
740
|
} : void 0,
|
|
@@ -747,7 +747,7 @@ const Cs = {
|
|
|
747
747
|
]),
|
|
748
748
|
key: "2"
|
|
749
749
|
} : void 0,
|
|
750
|
-
|
|
750
|
+
E.$slots.notFoundContent ? void 0 : {
|
|
751
751
|
name: "notFoundContent",
|
|
752
752
|
fn: f(() => [
|
|
753
753
|
M(b, {
|
|
@@ -760,11 +760,11 @@ const Cs = {
|
|
|
760
760
|
},
|
|
761
761
|
t(r) && i.value ? {
|
|
762
762
|
name: "dropdownRender",
|
|
763
|
-
fn: f(({ menuNode:
|
|
764
|
-
M(
|
|
763
|
+
fn: f(({ menuNode: v }) => [
|
|
764
|
+
M(Ns, {
|
|
765
765
|
filter: l.value,
|
|
766
|
-
"onUpdate:filter":
|
|
767
|
-
menu:
|
|
766
|
+
"onUpdate:filter": G[0] || (G[0] = (P) => l.value = P),
|
|
767
|
+
menu: v,
|
|
768
768
|
onCloseDropdown: j
|
|
769
769
|
}, null, 8, ["filter", "menu"])
|
|
770
770
|
]),
|
|
@@ -773,7 +773,7 @@ const Cs = {
|
|
|
773
773
|
]), 1040, ["value", "class", "allowClear", "autoClearSearchValue", "autofocus", "defaultOpen", "disabled", "dropdownClassName", "loading", "optionFilterProp", "optionLabelProp", "options", "placeholder", "searchValue", "showSearch", "showArrow", "mode", "list-height", "size", "open"]));
|
|
774
774
|
}
|
|
775
775
|
});
|
|
776
|
-
const
|
|
776
|
+
const Fs = ["for"], Es = {
|
|
777
777
|
key: 1,
|
|
778
778
|
class: "ak-input__wrapper"
|
|
779
779
|
}, Rs = {
|
|
@@ -785,12 +785,12 @@ const Es = ["for"], Fs = {
|
|
|
785
785
|
}, js = {
|
|
786
786
|
name: "MaInput",
|
|
787
787
|
inheritAttrs: !1
|
|
788
|
-
},
|
|
788
|
+
}, Ce = /* @__PURE__ */ k({
|
|
789
789
|
...js,
|
|
790
790
|
props: {
|
|
791
791
|
allowClear: { type: Boolean },
|
|
792
|
-
type: { default:
|
|
793
|
-
size: { default:
|
|
792
|
+
type: { default: J.text },
|
|
793
|
+
size: { default: xs.small },
|
|
794
794
|
title: null,
|
|
795
795
|
hintText: null,
|
|
796
796
|
hasError: { type: Boolean },
|
|
@@ -815,7 +815,7 @@ const Es = ["for"], Fs = {
|
|
|
815
815
|
"focusout"
|
|
816
816
|
],
|
|
817
817
|
setup(a, { emit: s }) {
|
|
818
|
-
const e = a, o =
|
|
818
|
+
const e = a, o = ze(), l = F(null), i = c(() => [J.amount, J.creditCard].includes(e.type) ? "number" : e.type === J.userInfo ? "text" : e.type), r = c(() => [
|
|
819
819
|
`ma-input ak-input ak-input--${e.type} ak-input--${e.size} ${o?.class}`,
|
|
820
820
|
{
|
|
821
821
|
"ak-input--has-error": e.hasError
|
|
@@ -826,49 +826,49 @@ const Es = ["for"], Fs = {
|
|
|
826
826
|
{
|
|
827
827
|
"ak-input--filled": e?.value
|
|
828
828
|
}
|
|
829
|
-
]), u = c(() => ["ak-input__input", e?.inputClass]),
|
|
829
|
+
]), u = c(() => ["ak-input__input", e?.inputClass]), d = c({
|
|
830
830
|
get() {
|
|
831
831
|
return e.value;
|
|
832
832
|
},
|
|
833
|
-
set(
|
|
834
|
-
s("update:value",
|
|
833
|
+
set(v) {
|
|
834
|
+
s("update:value", v);
|
|
835
835
|
}
|
|
836
|
-
}),
|
|
836
|
+
}), g = c(() => e.amountCurrency ? Ms[e.amountCurrency] : null), B = c({
|
|
837
837
|
get() {
|
|
838
838
|
return e.amountCurrency;
|
|
839
839
|
},
|
|
840
|
-
set(
|
|
841
|
-
s("update:amountCurrency",
|
|
840
|
+
set(v) {
|
|
841
|
+
s("update:amountCurrency", v);
|
|
842
842
|
}
|
|
843
|
-
}), z = c(() => e.type ===
|
|
844
|
-
let
|
|
845
|
-
return o?.class && delete
|
|
846
|
-
}), T = (
|
|
847
|
-
s("change",
|
|
848
|
-
}, I = (
|
|
849
|
-
s("currency-change",
|
|
843
|
+
}), z = c(() => e.type === J.password ? Ve : Oe), S = c(() => e.type === J.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), A = c(() => e.type === J.url ? "https" : e?.addonBefore), w = c(() => {
|
|
844
|
+
let v = { ...o, ...S.value };
|
|
845
|
+
return o?.class && delete v?.class, v;
|
|
846
|
+
}), T = (v) => {
|
|
847
|
+
s("change", v);
|
|
848
|
+
}, I = (v) => {
|
|
849
|
+
s("currency-change", v);
|
|
850
850
|
}, j = () => {
|
|
851
851
|
l.value.focus();
|
|
852
|
-
},
|
|
853
|
-
s("focus",
|
|
854
|
-
},
|
|
855
|
-
s("focusout",
|
|
852
|
+
}, E = (v) => {
|
|
853
|
+
s("focus", v);
|
|
854
|
+
}, G = (v) => {
|
|
855
|
+
s("focusout", v);
|
|
856
856
|
};
|
|
857
|
-
return (
|
|
857
|
+
return (v, P) => (n(), p("div", {
|
|
858
858
|
class: R(t(r))
|
|
859
859
|
}, [
|
|
860
|
-
y(
|
|
860
|
+
y(v.$slots, "title"),
|
|
861
861
|
e.title ? (n(), p("label", {
|
|
862
862
|
key: 0,
|
|
863
863
|
onClick: j,
|
|
864
864
|
class: "ak-input__title",
|
|
865
|
-
for:
|
|
866
|
-
},
|
|
867
|
-
e.type !== "textarea" ? (n(), p("div",
|
|
868
|
-
(n(),
|
|
869
|
-
value: t(
|
|
870
|
-
"onUpdate:value": P[1] || (P[1] = (D) =>
|
|
871
|
-
}, t(
|
|
865
|
+
for: v.$attrs?.id
|
|
866
|
+
}, C(e.title), 9, Fs)) : h("", !0),
|
|
867
|
+
e.type !== "textarea" ? (n(), p("div", Es, [
|
|
868
|
+
(n(), m(ee(t(z)), x({
|
|
869
|
+
value: t(d),
|
|
870
|
+
"onUpdate:value": P[1] || (P[1] = (D) => K(d) ? d.value = D : null)
|
|
871
|
+
}, t(w), {
|
|
872
872
|
allowClear: e?.allowClear,
|
|
873
873
|
type: t(i),
|
|
874
874
|
disabled: e?.disabled,
|
|
@@ -877,81 +877,81 @@ const Es = ["for"], Fs = {
|
|
|
877
877
|
addonAfter: a.addonAfter,
|
|
878
878
|
class: t(u),
|
|
879
879
|
onChange: T,
|
|
880
|
-
onFocus:
|
|
881
|
-
onFocusout:
|
|
880
|
+
onFocus: E,
|
|
881
|
+
onFocusout: G,
|
|
882
882
|
ref_key: "inputRef",
|
|
883
883
|
ref: l
|
|
884
|
-
}),
|
|
884
|
+
}), q({
|
|
885
885
|
prefix: f(() => [
|
|
886
|
-
e.prefixIcon ? (n(),
|
|
886
|
+
e.prefixIcon ? (n(), m(b, {
|
|
887
887
|
key: 0,
|
|
888
888
|
size: "xs",
|
|
889
889
|
name: e.prefixIcon
|
|
890
|
-
}, null, 8, ["name"])) : t(
|
|
890
|
+
}, null, 8, ["name"])) : t(g) ? (n(), p("span", Rs, C(t(g)), 1)) : e.type === t(J).userInfo ? (n(), m(Is, {
|
|
891
891
|
key: 2,
|
|
892
892
|
src: e.avatarUrl,
|
|
893
893
|
disabled: e.disabled
|
|
894
|
-
}, null, 8, ["src", "disabled"])) :
|
|
894
|
+
}, null, 8, ["src", "disabled"])) : h("", !0)
|
|
895
895
|
]),
|
|
896
896
|
suffix: f(() => [
|
|
897
|
-
e.type === "amount" ? (n(),
|
|
897
|
+
e.type === "amount" ? (n(), m($e, {
|
|
898
898
|
key: 0,
|
|
899
899
|
value: t(B),
|
|
900
|
-
"onUpdate:value": P[0] || (P[0] = (D) =>
|
|
900
|
+
"onUpdate:value": P[0] || (P[0] = (D) => K(B) ? B.value = D : null),
|
|
901
901
|
onChange: I,
|
|
902
902
|
dropdownClassName: "ak-input__input__ma-select__dropdown",
|
|
903
|
-
options: t(
|
|
903
|
+
options: t(Bs),
|
|
904
904
|
disabled: e.disabled,
|
|
905
905
|
size: "small"
|
|
906
|
-
}, null, 8, ["value", "options", "disabled"])) :
|
|
907
|
-
e.suffixIcon ? (n(),
|
|
906
|
+
}, null, 8, ["value", "options", "disabled"])) : h("", !0),
|
|
907
|
+
e.suffixIcon ? (n(), m(b, {
|
|
908
908
|
key: 1,
|
|
909
909
|
size: "xs",
|
|
910
910
|
name: e.suffixIcon
|
|
911
|
-
}, null, 8, ["name"])) :
|
|
911
|
+
}, null, 8, ["name"])) : h("", !0)
|
|
912
912
|
]),
|
|
913
913
|
_: 2
|
|
914
914
|
}, [
|
|
915
|
-
U(
|
|
916
|
-
name:
|
|
915
|
+
U(v.$slots, (D, H) => ({
|
|
916
|
+
name: H,
|
|
917
917
|
fn: f(() => [
|
|
918
|
-
y(
|
|
918
|
+
y(v.$slots, H)
|
|
919
919
|
])
|
|
920
920
|
}))
|
|
921
921
|
]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter", "class"]))
|
|
922
|
-
])) : (n(),
|
|
922
|
+
])) : (n(), m(t(qe), x({
|
|
923
923
|
key: 2,
|
|
924
|
-
value: t(
|
|
925
|
-
"onUpdate:value": P[2] || (P[2] = (D) =>
|
|
926
|
-
}, t(
|
|
924
|
+
value: t(d),
|
|
925
|
+
"onUpdate:value": P[2] || (P[2] = (D) => K(d) ? d.value = D : null)
|
|
926
|
+
}, t(w), {
|
|
927
927
|
class: t(u),
|
|
928
928
|
disabled: e?.disabled,
|
|
929
929
|
placeholder: e?.placeholder,
|
|
930
930
|
onChange: T,
|
|
931
931
|
ref_key: "inputRef",
|
|
932
932
|
ref: l
|
|
933
|
-
}),
|
|
934
|
-
U(
|
|
935
|
-
name:
|
|
933
|
+
}), q({ _: 2 }, [
|
|
934
|
+
U(v.$slots, (D, H) => ({
|
|
935
|
+
name: H,
|
|
936
936
|
fn: f(() => [
|
|
937
|
-
y(
|
|
937
|
+
y(v.$slots, H)
|
|
938
938
|
])
|
|
939
939
|
}))
|
|
940
940
|
]), 1040, ["value", "class", "disabled", "placeholder"])),
|
|
941
|
-
y(
|
|
942
|
-
e.hintText ? (n(), p("div", Us,
|
|
941
|
+
y(v.$slots, "hint"),
|
|
942
|
+
e.hintText ? (n(), p("div", Us, C(e.hintText), 1)) : h("", !0)
|
|
943
943
|
], 2));
|
|
944
944
|
}
|
|
945
945
|
});
|
|
946
946
|
const Vs = {
|
|
947
947
|
name: "MaSelectOption"
|
|
948
|
-
},
|
|
948
|
+
}, Os = /* @__PURE__ */ k({
|
|
949
949
|
...Vs,
|
|
950
950
|
setup(a) {
|
|
951
|
-
return (s, e) => (n(),
|
|
951
|
+
return (s, e) => (n(), m(t(He), x(s.$attrs, {
|
|
952
952
|
class: "ma-select-option",
|
|
953
953
|
"prefix-cls": "antd-select"
|
|
954
|
-
}),
|
|
954
|
+
}), q({ _: 2 }, [
|
|
955
955
|
U(s.$slots, (o, l) => ({
|
|
956
956
|
name: l,
|
|
957
957
|
fn: f(() => [
|
|
@@ -960,17 +960,17 @@ const Vs = {
|
|
|
960
960
|
}))
|
|
961
961
|
]), 1040));
|
|
962
962
|
}
|
|
963
|
-
}),
|
|
963
|
+
}), kn = [
|
|
964
964
|
"default",
|
|
965
965
|
"large",
|
|
966
966
|
"small"
|
|
967
|
-
],
|
|
967
|
+
], $n = [
|
|
968
968
|
"multiple",
|
|
969
969
|
"tags"
|
|
970
|
-
],
|
|
970
|
+
], qs = {
|
|
971
971
|
name: "MaCheckbox"
|
|
972
|
-
},
|
|
973
|
-
...
|
|
972
|
+
}, Cn = /* @__PURE__ */ k({
|
|
973
|
+
...qs,
|
|
974
974
|
props: {
|
|
975
975
|
hint: null,
|
|
976
976
|
indeterminate: { type: Boolean, default: void 0 },
|
|
@@ -984,12 +984,12 @@ const Vs = {
|
|
|
984
984
|
"ak-checkbox--intermediate": typeof s?.indeterminate == "boolean"
|
|
985
985
|
}
|
|
986
986
|
]);
|
|
987
|
-
return (o, l) => (n(),
|
|
987
|
+
return (o, l) => (n(), m(t(We), x(o.$attrs, {
|
|
988
988
|
class: t(e),
|
|
989
989
|
disabled: s?.disabled,
|
|
990
990
|
indeterminate: s?.indeterminate,
|
|
991
991
|
"prefix-cls": "antd-checkbox"
|
|
992
|
-
}),
|
|
992
|
+
}), q({ _: 2 }, [
|
|
993
993
|
U(o.$slots, (i, r) => ({
|
|
994
994
|
name: r,
|
|
995
995
|
fn: f(() => [
|
|
@@ -997,26 +997,26 @@ const Vs = {
|
|
|
997
997
|
s.hint ? (n(), p("div", {
|
|
998
998
|
key: r,
|
|
999
999
|
class: "ak-checkbox__hint-text"
|
|
1000
|
-
},
|
|
1000
|
+
}, C(s.hint), 1)) : h("", !0)
|
|
1001
1001
|
])
|
|
1002
1002
|
}))
|
|
1003
1003
|
]), 1040, ["class", "disabled", "indeterminate"]));
|
|
1004
1004
|
}
|
|
1005
1005
|
});
|
|
1006
|
-
const
|
|
1006
|
+
const Hs = {
|
|
1007
1007
|
name: "MaCheckboxGroup"
|
|
1008
|
-
},
|
|
1009
|
-
...
|
|
1008
|
+
}, wn = /* @__PURE__ */ k({
|
|
1009
|
+
...Hs,
|
|
1010
1010
|
props: {
|
|
1011
1011
|
hint: null,
|
|
1012
1012
|
disabled: { type: Boolean }
|
|
1013
1013
|
},
|
|
1014
1014
|
setup(a) {
|
|
1015
1015
|
const s = a;
|
|
1016
|
-
return (e, o) => (n(),
|
|
1016
|
+
return (e, o) => (n(), m(t(Ke), x(e.$attrs, {
|
|
1017
1017
|
class: "ak-checkbox-group ma-checkbox-group",
|
|
1018
1018
|
"prefix-cls": "antd-checkbox"
|
|
1019
|
-
}),
|
|
1019
|
+
}), q({ _: 2 }, [
|
|
1020
1020
|
U(e.$slots, (l, i) => ({
|
|
1021
1021
|
name: i,
|
|
1022
1022
|
fn: f(() => [
|
|
@@ -1024,12 +1024,12 @@ const qs = {
|
|
|
1024
1024
|
s.hint ? (n(), p("div", {
|
|
1025
1025
|
key: i,
|
|
1026
1026
|
class: "ak-checkbox__hint-text"
|
|
1027
|
-
},
|
|
1027
|
+
}, C(s.hint), 1)) : h("", !0)
|
|
1028
1028
|
])
|
|
1029
1029
|
}))
|
|
1030
1030
|
]), 1040));
|
|
1031
1031
|
}
|
|
1032
|
-
}),
|
|
1032
|
+
}), Ws = ["value"], Ks = /* @__PURE__ */ k({
|
|
1033
1033
|
__name: "singleNumericInput",
|
|
1034
1034
|
props: {
|
|
1035
1035
|
value: { default: "" },
|
|
@@ -1037,7 +1037,7 @@ const qs = {
|
|
|
1037
1037
|
},
|
|
1038
1038
|
emits: ["update:value"],
|
|
1039
1039
|
setup(a, { emit: s }) {
|
|
1040
|
-
const e = a, o =
|
|
1040
|
+
const e = a, o = F(null);
|
|
1041
1041
|
oe(
|
|
1042
1042
|
() => e.focus,
|
|
1043
1043
|
(i) => {
|
|
@@ -1058,12 +1058,12 @@ const qs = {
|
|
|
1058
1058
|
maxlength: "1",
|
|
1059
1059
|
pattern: "[0-9]",
|
|
1060
1060
|
inputmode: "numeric"
|
|
1061
|
-
}), null, 16,
|
|
1061
|
+
}), null, 16, Ws));
|
|
1062
1062
|
}
|
|
1063
|
-
}),
|
|
1063
|
+
}), Gs = {
|
|
1064
1064
|
name: "MaNumericInput"
|
|
1065
|
-
},
|
|
1066
|
-
...
|
|
1065
|
+
}, xn = /* @__PURE__ */ k({
|
|
1066
|
+
...Gs,
|
|
1067
1067
|
props: {
|
|
1068
1068
|
disabled: { type: Boolean },
|
|
1069
1069
|
length: { default: 6 },
|
|
@@ -1074,7 +1074,7 @@ const qs = {
|
|
|
1074
1074
|
},
|
|
1075
1075
|
emits: ["update:value"],
|
|
1076
1076
|
setup(a, { emit: s }) {
|
|
1077
|
-
const e = a, o =
|
|
1077
|
+
const e = a, o = F(null), l = F(Array.from({ length: e.length }, (w, T) => e.value[T] || null)), i = c(() => [
|
|
1078
1078
|
"ma-numeric-input",
|
|
1079
1079
|
`ma-numeric-input--${e.size}`,
|
|
1080
1080
|
{
|
|
@@ -1083,68 +1083,68 @@ const qs = {
|
|
|
1083
1083
|
{
|
|
1084
1084
|
"ma-numeric-input--disabled": e?.disabled
|
|
1085
1085
|
}
|
|
1086
|
-
]), r = c(() => e?.placeholderStatus ? "0" : null), u = (
|
|
1087
|
-
switch (
|
|
1086
|
+
]), r = c(() => e?.placeholderStatus ? "0" : null), u = (w) => /^Digit[0-9]$/.test(w), d = (w) => o.value = w, g = (w, T) => {
|
|
1087
|
+
switch (w.code) {
|
|
1088
1088
|
case "Backspace":
|
|
1089
1089
|
case "Delete":
|
|
1090
1090
|
S("", T), z();
|
|
1091
1091
|
break;
|
|
1092
1092
|
case "ArrowLeft":
|
|
1093
|
-
|
|
1093
|
+
w.preventDefault(), z();
|
|
1094
1094
|
break;
|
|
1095
1095
|
case "ArrowRight":
|
|
1096
|
-
|
|
1096
|
+
w.preventDefault(), B();
|
|
1097
1097
|
break;
|
|
1098
1098
|
default:
|
|
1099
|
-
u(
|
|
1099
|
+
u(w.code) && (w.preventDefault(), S(w.key, T), B());
|
|
1100
1100
|
break;
|
|
1101
1101
|
}
|
|
1102
1102
|
}, B = () => {
|
|
1103
1103
|
o.value < e.length && o.value++;
|
|
1104
1104
|
}, z = () => {
|
|
1105
1105
|
e.length >= o.value && o.value > 0 && o.value--;
|
|
1106
|
-
}, S = (
|
|
1107
|
-
l.value[T] =
|
|
1108
|
-
}, A = (
|
|
1109
|
-
|
|
1110
|
-
const I =
|
|
1106
|
+
}, S = (w, T) => {
|
|
1107
|
+
l.value[T] = w;
|
|
1108
|
+
}, A = (w, T) => {
|
|
1109
|
+
w.preventDefault();
|
|
1110
|
+
const I = w.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
|
|
1111
1111
|
I.length === 1 && I.match(/^\d+$/) ? l.value[T] = I : I.match(/^\d+$/) && (l.value = I.split(""));
|
|
1112
1112
|
};
|
|
1113
1113
|
return oe(
|
|
1114
1114
|
() => l.value,
|
|
1115
|
-
(
|
|
1116
|
-
const T =
|
|
1115
|
+
(w) => {
|
|
1116
|
+
const T = w.join("");
|
|
1117
1117
|
s("update:value", T);
|
|
1118
1118
|
},
|
|
1119
1119
|
{ deep: !0 }
|
|
1120
1120
|
), oe(
|
|
1121
1121
|
() => e.value,
|
|
1122
|
-
(
|
|
1123
|
-
|
|
1122
|
+
(w) => {
|
|
1123
|
+
w !== l.value.join("") && w && w.match(/^\d+$/) && (l.value = w.split("").slice(0, e.length));
|
|
1124
1124
|
}
|
|
1125
|
-
), (
|
|
1126
|
-
(n(!0), p(
|
|
1125
|
+
), (w, T) => (n(), p("div", x({ class: t(i) }, w.$attrs), [
|
|
1126
|
+
(n(!0), p(O, null, U(e.length, (I) => (n(), m(Ks, {
|
|
1127
1127
|
focus: o.value === I - 1,
|
|
1128
1128
|
key: I,
|
|
1129
1129
|
placeholder: t(r),
|
|
1130
1130
|
value: l.value[I - 1],
|
|
1131
1131
|
disabled: e.disabled,
|
|
1132
|
-
onFocus: (j) =>
|
|
1133
|
-
onKeydown: (j) =>
|
|
1132
|
+
onFocus: (j) => d(I - 1),
|
|
1133
|
+
onKeydown: (j) => g(j, I - 1),
|
|
1134
1134
|
onPaste: (j) => A(j, I - 1),
|
|
1135
1135
|
class: "ma-numeric-input__input"
|
|
1136
1136
|
}, null, 8, ["focus", "placeholder", "value", "disabled", "onFocus", "onKeydown", "onPaste"]))), 128))
|
|
1137
1137
|
], 16));
|
|
1138
1138
|
}
|
|
1139
1139
|
});
|
|
1140
|
-
const
|
|
1140
|
+
const Mn = [
|
|
1141
1141
|
"small",
|
|
1142
1142
|
"medium",
|
|
1143
1143
|
"large"
|
|
1144
|
-
],
|
|
1144
|
+
], Js = {
|
|
1145
1145
|
name: "MaRadio"
|
|
1146
|
-
},
|
|
1147
|
-
...
|
|
1146
|
+
}, Zs = /* @__PURE__ */ k({
|
|
1147
|
+
...Js,
|
|
1148
1148
|
props: {
|
|
1149
1149
|
type: { default: "button" },
|
|
1150
1150
|
hint: null,
|
|
@@ -1152,10 +1152,10 @@ const $n = [
|
|
|
1152
1152
|
},
|
|
1153
1153
|
setup(a) {
|
|
1154
1154
|
const s = a, e = c(() => [`ma-radio ma-radio--${s.type}`]);
|
|
1155
|
-
return (o, l) => (n(),
|
|
1155
|
+
return (o, l) => (n(), m(t(Ge), x(o.$attrs, {
|
|
1156
1156
|
class: t(e),
|
|
1157
1157
|
"prefix-cls": "antd-radio"
|
|
1158
|
-
}),
|
|
1158
|
+
}), q({ _: 2 }, [
|
|
1159
1159
|
U(o.$slots, (i, r) => ({
|
|
1160
1160
|
name: r,
|
|
1161
1161
|
fn: f(() => [
|
|
@@ -1163,19 +1163,19 @@ const $n = [
|
|
|
1163
1163
|
s.hint ? (n(), p("div", {
|
|
1164
1164
|
key: r,
|
|
1165
1165
|
class: "ma-radio__hint-text"
|
|
1166
|
-
},
|
|
1166
|
+
}, C(s.hint), 1)) : h("", !0)
|
|
1167
1167
|
])
|
|
1168
1168
|
}))
|
|
1169
1169
|
]), 1040, ["class"]));
|
|
1170
1170
|
}
|
|
1171
1171
|
});
|
|
1172
|
-
const
|
|
1172
|
+
const Ys = ["aria-checked", "disabled"], Xs = ["src", "alt"], Qs = { class: "ma-app-track-button__text" }, eo = { class: "ma-app-track-button__text__title" }, so = {
|
|
1173
1173
|
key: 0,
|
|
1174
1174
|
class: "ma-app-track-button__text__category"
|
|
1175
|
-
},
|
|
1175
|
+
}, oo = { class: "ma-app-track-button__check" }, to = {
|
|
1176
1176
|
name: "MaAppTrackButton"
|
|
1177
|
-
},
|
|
1178
|
-
...
|
|
1177
|
+
}, Bn = /* @__PURE__ */ k({
|
|
1178
|
+
...to,
|
|
1179
1179
|
props: {
|
|
1180
1180
|
checked: { type: Boolean, default: !1 },
|
|
1181
1181
|
appIcon: null,
|
|
@@ -1207,32 +1207,32 @@ const Zs = ["aria-checked", "disabled"], Ys = ["src", "alt"], Xs = { class: "ma-
|
|
|
1207
1207
|
"aria-checked": e.checked,
|
|
1208
1208
|
disabled: e.disabled
|
|
1209
1209
|
}, i.$attrs, { onClick: o }), [
|
|
1210
|
-
|
|
1210
|
+
_("img", {
|
|
1211
1211
|
src: e.appIcon,
|
|
1212
1212
|
alt: e.appName,
|
|
1213
1213
|
width: "40",
|
|
1214
1214
|
height: "40"
|
|
1215
|
-
}, null, 8,
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
e.appCategory ? (n(), p("span",
|
|
1215
|
+
}, null, 8, Xs),
|
|
1216
|
+
_("span", Qs, [
|
|
1217
|
+
_("span", eo, C(e.appName), 1),
|
|
1218
|
+
e.appCategory ? (n(), p("span", so, C(e?.appCategory), 1)) : h("", !0)
|
|
1219
1219
|
]),
|
|
1220
|
-
|
|
1221
|
-
M(
|
|
1220
|
+
_("span", oo, [
|
|
1221
|
+
M(he, {
|
|
1222
1222
|
name: "fade",
|
|
1223
1223
|
mode: "out-in"
|
|
1224
1224
|
}, {
|
|
1225
1225
|
default: f(() => [
|
|
1226
|
-
e.loading ? (n(),
|
|
1226
|
+
e.loading ? (n(), m(b, {
|
|
1227
1227
|
key: 0,
|
|
1228
1228
|
name: "loader",
|
|
1229
1229
|
size: "xs",
|
|
1230
1230
|
spin: ""
|
|
1231
|
-
})) : !e.multiple || e.checked ? (n(),
|
|
1231
|
+
})) : !e.multiple || e.checked ? (n(), m(Zs, {
|
|
1232
1232
|
key: 1,
|
|
1233
1233
|
checked: e.checked,
|
|
1234
1234
|
type: "check"
|
|
1235
|
-
}, null, 8, ["checked"])) : (n(),
|
|
1235
|
+
}, null, 8, ["checked"])) : (n(), m(b, {
|
|
1236
1236
|
key: 2,
|
|
1237
1237
|
name: "add-circle",
|
|
1238
1238
|
size: "xs"
|
|
@@ -1241,25 +1241,25 @@ const Zs = ["aria-checked", "disabled"], Ys = ["src", "alt"], Xs = { class: "ma-
|
|
|
1241
1241
|
_: 1
|
|
1242
1242
|
})
|
|
1243
1243
|
])
|
|
1244
|
-
], 16,
|
|
1244
|
+
], 16, Ys));
|
|
1245
1245
|
}
|
|
1246
1246
|
});
|
|
1247
|
-
const
|
|
1247
|
+
const no = { class: "ak-app-icon__logo" }, ao = ["src"], lo = {
|
|
1248
1248
|
key: 1,
|
|
1249
1249
|
class: "ak-app-icon-platform"
|
|
1250
|
-
},
|
|
1250
|
+
}, io = {
|
|
1251
1251
|
key: 0,
|
|
1252
1252
|
class: "ak-app-icon__text"
|
|
1253
|
-
},
|
|
1253
|
+
}, ro = {
|
|
1254
1254
|
key: 0,
|
|
1255
1255
|
class: "ak-app-name"
|
|
1256
|
-
},
|
|
1256
|
+
}, co = {
|
|
1257
1257
|
key: 1,
|
|
1258
1258
|
class: "ak-app-description"
|
|
1259
|
-
},
|
|
1259
|
+
}, po = {
|
|
1260
1260
|
name: "MaAppIcon"
|
|
1261
|
-
},
|
|
1262
|
-
...
|
|
1261
|
+
}, zn = /* @__PURE__ */ k({
|
|
1262
|
+
...po,
|
|
1263
1263
|
props: {
|
|
1264
1264
|
appIcon: null,
|
|
1265
1265
|
appName: null,
|
|
@@ -1283,7 +1283,7 @@ const to = { class: "ak-app-icon__logo" }, no = ["src"], ao = {
|
|
|
1283
1283
|
return (r, u) => (n(), p("div", {
|
|
1284
1284
|
class: R(t(l))
|
|
1285
1285
|
}, [
|
|
1286
|
-
|
|
1286
|
+
_("div", no, [
|
|
1287
1287
|
e.closable ? (n(), p("span", {
|
|
1288
1288
|
key: 0,
|
|
1289
1289
|
onClick: i,
|
|
@@ -1293,40 +1293,40 @@ const to = { class: "ak-app-icon__logo" }, no = ["src"], ao = {
|
|
|
1293
1293
|
size: "xs",
|
|
1294
1294
|
name: "close-circle"
|
|
1295
1295
|
})
|
|
1296
|
-
])) :
|
|
1297
|
-
|
|
1296
|
+
])) : h("", !0),
|
|
1297
|
+
_("img", {
|
|
1298
1298
|
class: "ak-app-icon-img",
|
|
1299
1299
|
src: e.appIcon
|
|
1300
|
-
}, null, 8,
|
|
1301
|
-
e?.platform ? (n(), p("span",
|
|
1300
|
+
}, null, 8, ao),
|
|
1301
|
+
e?.platform ? (n(), p("span", lo, [
|
|
1302
1302
|
M(b, {
|
|
1303
1303
|
size: "xs",
|
|
1304
1304
|
name: t(o)
|
|
1305
1305
|
}, null, 8, ["name"])
|
|
1306
|
-
])) :
|
|
1306
|
+
])) : h("", !0)
|
|
1307
1307
|
]),
|
|
1308
|
-
e?.appName || e?.appDescription ? (n(), p("div",
|
|
1309
|
-
e?.appName ? (n(), p("span",
|
|
1310
|
-
e?.appDescription ? (n(), p("span",
|
|
1311
|
-
])) :
|
|
1308
|
+
e?.appName || e?.appDescription ? (n(), p("div", io, [
|
|
1309
|
+
e?.appName ? (n(), p("span", ro, C(e.appName), 1)) : h("", !0),
|
|
1310
|
+
e?.appDescription ? (n(), p("span", co, C(e.appDescription), 1)) : h("", !0)
|
|
1311
|
+
])) : h("", !0)
|
|
1312
1312
|
], 2));
|
|
1313
1313
|
}
|
|
1314
1314
|
});
|
|
1315
|
-
const
|
|
1315
|
+
const In = [
|
|
1316
1316
|
"x-small",
|
|
1317
1317
|
"small",
|
|
1318
1318
|
"medium",
|
|
1319
1319
|
"large",
|
|
1320
1320
|
"x-large"
|
|
1321
|
-
],
|
|
1321
|
+
], Sn = [
|
|
1322
1322
|
"play",
|
|
1323
1323
|
"ios"
|
|
1324
|
-
],
|
|
1324
|
+
], uo = {
|
|
1325
1325
|
name: "MaRadioGroup"
|
|
1326
|
-
},
|
|
1327
|
-
...
|
|
1326
|
+
}, Tn = /* @__PURE__ */ k({
|
|
1327
|
+
...uo,
|
|
1328
1328
|
setup(a) {
|
|
1329
|
-
return (s, e) => (n(),
|
|
1329
|
+
return (s, e) => (n(), m(t(Je), x(s.$attrs, { "prefix-cls": "antd-radio" }), q({ _: 2 }, [
|
|
1330
1330
|
U(s.$slots, (o, l) => ({
|
|
1331
1331
|
name: l,
|
|
1332
1332
|
fn: f(() => [
|
|
@@ -1335,13 +1335,13 @@ const xn = [
|
|
|
1335
1335
|
}))
|
|
1336
1336
|
]), 1040));
|
|
1337
1337
|
}
|
|
1338
|
-
}),
|
|
1338
|
+
}), An = [
|
|
1339
1339
|
"button",
|
|
1340
1340
|
"check"
|
|
1341
|
-
],
|
|
1341
|
+
], mo = {
|
|
1342
1342
|
name: "MaBadge"
|
|
1343
|
-
},
|
|
1344
|
-
...
|
|
1343
|
+
}, go = /* @__PURE__ */ k({
|
|
1344
|
+
...mo,
|
|
1345
1345
|
props: {
|
|
1346
1346
|
type: { default: "primary" },
|
|
1347
1347
|
variant: { default: "dark" },
|
|
@@ -1362,15 +1362,15 @@ const xn = [
|
|
|
1362
1362
|
return (o, l) => (n(), p("div", {
|
|
1363
1363
|
class: R(t(e))
|
|
1364
1364
|
}, [
|
|
1365
|
-
s?.icon ? (n(),
|
|
1365
|
+
s?.icon ? (n(), m(b, {
|
|
1366
1366
|
key: 0,
|
|
1367
1367
|
name: s?.icon
|
|
1368
|
-
}, null, 8, ["name"])) :
|
|
1368
|
+
}, null, 8, ["name"])) : h("", !0),
|
|
1369
1369
|
y(o.$slots, "default")
|
|
1370
1370
|
], 2));
|
|
1371
1371
|
}
|
|
1372
1372
|
});
|
|
1373
|
-
const
|
|
1373
|
+
const Pn = [
|
|
1374
1374
|
"dark",
|
|
1375
1375
|
"blue",
|
|
1376
1376
|
"green",
|
|
@@ -1378,23 +1378,23 @@ const In = [
|
|
|
1378
1378
|
"red",
|
|
1379
1379
|
"purple",
|
|
1380
1380
|
"purple-light"
|
|
1381
|
-
],
|
|
1381
|
+
], Nn = [
|
|
1382
1382
|
"primary",
|
|
1383
1383
|
"secondary",
|
|
1384
1384
|
"line",
|
|
1385
1385
|
"dashed",
|
|
1386
1386
|
"icon"
|
|
1387
|
-
],
|
|
1387
|
+
], Dn = [
|
|
1388
1388
|
"small",
|
|
1389
1389
|
"medium",
|
|
1390
1390
|
"large"
|
|
1391
|
-
],
|
|
1391
|
+
], Ln = [
|
|
1392
1392
|
"left",
|
|
1393
1393
|
"right"
|
|
1394
|
-
],
|
|
1394
|
+
], vo = {
|
|
1395
1395
|
name: "MaAlert"
|
|
1396
|
-
},
|
|
1397
|
-
...
|
|
1396
|
+
}, Fn = /* @__PURE__ */ k({
|
|
1397
|
+
...vo,
|
|
1398
1398
|
props: {
|
|
1399
1399
|
variant: { default: "dark" },
|
|
1400
1400
|
type: { default: "primary" },
|
|
@@ -1405,7 +1405,7 @@ const In = [
|
|
|
1405
1405
|
},
|
|
1406
1406
|
setup(a) {
|
|
1407
1407
|
const s = a, e = ne(), o = c(() => [`ma-alert ak-alert ak-alert--${s.variant}--${s.type}`]), l = c(() => !!s?.icon || !!e?.icon);
|
|
1408
|
-
return (i, r) => (n(),
|
|
1408
|
+
return (i, r) => (n(), m(t(Ze), x(i.$attrs, {
|
|
1409
1409
|
class: t(o),
|
|
1410
1410
|
description: a.description,
|
|
1411
1411
|
message: a.message,
|
|
@@ -1420,11 +1420,11 @@ const In = [
|
|
|
1420
1420
|
})
|
|
1421
1421
|
]),
|
|
1422
1422
|
icon: f(() => [
|
|
1423
|
-
s?.icon ? (n(),
|
|
1423
|
+
s?.icon ? (n(), m(b, {
|
|
1424
1424
|
key: 0,
|
|
1425
1425
|
name: a.icon,
|
|
1426
1426
|
size: "lg"
|
|
1427
|
-
}, null, 8, ["name"])) :
|
|
1427
|
+
}, null, 8, ["name"])) : h("", !0),
|
|
1428
1428
|
y(i.$slots, "icon")
|
|
1429
1429
|
]),
|
|
1430
1430
|
message: f(() => [
|
|
@@ -1437,19 +1437,19 @@ const In = [
|
|
|
1437
1437
|
}, 16, ["class", "description", "message", "closable", "showIcon"]));
|
|
1438
1438
|
}
|
|
1439
1439
|
});
|
|
1440
|
-
const
|
|
1440
|
+
const En = [
|
|
1441
1441
|
"dark",
|
|
1442
1442
|
"blue",
|
|
1443
1443
|
"green",
|
|
1444
1444
|
"orange",
|
|
1445
1445
|
"red"
|
|
1446
|
-
],
|
|
1446
|
+
], Rn = [
|
|
1447
1447
|
"primary",
|
|
1448
1448
|
"secondary"
|
|
1449
|
-
],
|
|
1449
|
+
], fo = {
|
|
1450
1450
|
name: "MaAnimation"
|
|
1451
|
-
},
|
|
1452
|
-
...
|
|
1451
|
+
}, _o = /* @__PURE__ */ k({
|
|
1452
|
+
...fo,
|
|
1453
1453
|
props: {
|
|
1454
1454
|
name: { default: "rocket" },
|
|
1455
1455
|
loop: { type: Boolean, default: !0 },
|
|
@@ -1462,7 +1462,7 @@ const Nn = [
|
|
|
1462
1462
|
setup(a, { expose: s, emit: e }) {
|
|
1463
1463
|
const o = a;
|
|
1464
1464
|
let l;
|
|
1465
|
-
const i =
|
|
1465
|
+
const i = F(null), r = F(null);
|
|
1466
1466
|
s({
|
|
1467
1467
|
animation: r
|
|
1468
1468
|
});
|
|
@@ -1473,13 +1473,13 @@ const Nn = [
|
|
|
1473
1473
|
oe(
|
|
1474
1474
|
() => o.name,
|
|
1475
1475
|
() => {
|
|
1476
|
-
B(),
|
|
1476
|
+
B(), g();
|
|
1477
1477
|
}
|
|
1478
1478
|
);
|
|
1479
|
-
const
|
|
1479
|
+
const d = async () => {
|
|
1480
1480
|
const { default: z } = await import("./lottie_light-b08f9446.mjs").then((S) => S.l);
|
|
1481
1481
|
l = z;
|
|
1482
|
-
},
|
|
1482
|
+
}, g = async () => {
|
|
1483
1483
|
try {
|
|
1484
1484
|
const { default: z } = await re(/* @__PURE__ */ Object.assign({ "./files/fly-waiting.json": () => import("./fly-waiting-bc221374.mjs"), "./files/no-data-found.json": () => import("./no-data-found-98af8e80.mjs"), "./files/rocket.json": () => import("./rocket-21431704.mjs"), "./files/rounded-loading.json": () => import("./rounded-loading-d3184421.mjs"), "./files/sad-not-found.json": () => import("./sad-not-found-44e231b1.mjs"), "./files/success-confetti.json": () => import("./success-confetti-b9594f98.mjs") }), `./files/${o.name}.json`);
|
|
1485
1485
|
r.value = l.loadAnimation({
|
|
@@ -1498,8 +1498,8 @@ const Nn = [
|
|
|
1498
1498
|
r.value && r.value.destroy();
|
|
1499
1499
|
};
|
|
1500
1500
|
return ce(async () => {
|
|
1501
|
-
await
|
|
1502
|
-
}),
|
|
1501
|
+
await d(), g();
|
|
1502
|
+
}), ye(() => {
|
|
1503
1503
|
B();
|
|
1504
1504
|
}), (z, S) => (n(), p("div", {
|
|
1505
1505
|
ref_key: "animationRef",
|
|
@@ -1508,14 +1508,14 @@ const Nn = [
|
|
|
1508
1508
|
style: te(t(u))
|
|
1509
1509
|
}, null, 4));
|
|
1510
1510
|
}
|
|
1511
|
-
}),
|
|
1511
|
+
}), Un = [
|
|
1512
1512
|
"rocket",
|
|
1513
1513
|
"success-confetti",
|
|
1514
1514
|
"rounded-loading",
|
|
1515
1515
|
"fly-waiting",
|
|
1516
1516
|
"no-data-found",
|
|
1517
1517
|
"sad-not-found"
|
|
1518
|
-
],
|
|
1518
|
+
], jn = [
|
|
1519
1519
|
"info",
|
|
1520
1520
|
"success",
|
|
1521
1521
|
"confirm",
|
|
@@ -1527,19 +1527,19 @@ const Nn = [
|
|
|
1527
1527
|
confirm: "warning",
|
|
1528
1528
|
warning: "warning",
|
|
1529
1529
|
error: "close-circle-bold"
|
|
1530
|
-
},
|
|
1530
|
+
}, ho = {
|
|
1531
1531
|
key: 1,
|
|
1532
1532
|
class: "ak-modal__title"
|
|
1533
|
-
}, yo = { class: "ak-modal__content" },
|
|
1533
|
+
}, yo = { class: "ak-modal__content" }, bo = {
|
|
1534
1534
|
key: 0,
|
|
1535
1535
|
class: "ak-modal__description"
|
|
1536
|
-
},
|
|
1536
|
+
}, ko = {
|
|
1537
1537
|
key: 2,
|
|
1538
1538
|
class: "ak-modal__footer"
|
|
1539
|
-
},
|
|
1539
|
+
}, $o = {
|
|
1540
1540
|
name: "MaModal"
|
|
1541
|
-
}, ve = /* @__PURE__ */
|
|
1542
|
-
|
|
1541
|
+
}, ve = /* @__PURE__ */ k({
|
|
1542
|
+
...$o,
|
|
1543
1543
|
props: {
|
|
1544
1544
|
visible: { type: Boolean, default: !0 },
|
|
1545
1545
|
type: null,
|
|
@@ -1574,17 +1574,17 @@ const Nn = [
|
|
|
1574
1574
|
"ma-modal",
|
|
1575
1575
|
"ak-modal",
|
|
1576
1576
|
{ [`ak-modal--${e.type}`]: !!e.type }
|
|
1577
|
-
]),
|
|
1577
|
+
]), d = c(() => [
|
|
1578
1578
|
"ak-modal__header-icon",
|
|
1579
1579
|
{ [`ak-modal__header-icon--${e.type}`]: !!e.type }
|
|
1580
|
-
]),
|
|
1580
|
+
]), g = () => {
|
|
1581
1581
|
o.value = !1, s("cancel");
|
|
1582
1582
|
}, B = () => {
|
|
1583
1583
|
s("ok");
|
|
1584
1584
|
}, z = ne();
|
|
1585
|
-
return (S, A) => (n(),
|
|
1585
|
+
return (S, A) => (n(), m(t(Ye), x(S.$attrs, {
|
|
1586
1586
|
visible: t(o),
|
|
1587
|
-
"onUpdate:visible": A[0] || (A[0] = (
|
|
1587
|
+
"onUpdate:visible": A[0] || (A[0] = (w) => K(o) ? o.value = w : null),
|
|
1588
1588
|
"prefix-cls": "antd-modal",
|
|
1589
1589
|
class: t(u),
|
|
1590
1590
|
closable: e.closable,
|
|
@@ -1593,7 +1593,7 @@ const Nn = [
|
|
|
1593
1593
|
width: e.width,
|
|
1594
1594
|
footer: null,
|
|
1595
1595
|
onOk: B,
|
|
1596
|
-
onCancel:
|
|
1596
|
+
onCancel: g
|
|
1597
1597
|
}), {
|
|
1598
1598
|
closeIcon: f(() => [
|
|
1599
1599
|
M(b, {
|
|
@@ -1604,21 +1604,21 @@ const Nn = [
|
|
|
1604
1604
|
default: f(() => [
|
|
1605
1605
|
t(l) ? (n(), p("div", {
|
|
1606
1606
|
key: 0,
|
|
1607
|
-
class: R(t(
|
|
1607
|
+
class: R(t(d))
|
|
1608
1608
|
}, [
|
|
1609
1609
|
M(b, { name: t(l) }, null, 8, ["name"])
|
|
1610
|
-
], 2)) :
|
|
1611
|
-
e.title || S.$slots.title ? (n(), p("h1",
|
|
1610
|
+
], 2)) : h("", !0),
|
|
1611
|
+
e.title || S.$slots.title ? (n(), p("h1", ho, [
|
|
1612
1612
|
y(S.$slots, "title"),
|
|
1613
|
-
L(" " +
|
|
1614
|
-
])) :
|
|
1615
|
-
|
|
1616
|
-
e.content ? (n(), p("div",
|
|
1613
|
+
L(" " + C(e.title), 1)
|
|
1614
|
+
])) : h("", !0),
|
|
1615
|
+
_("div", yo, [
|
|
1616
|
+
e.content ? (n(), p("div", bo, C(e.content), 1)) : h("", !0),
|
|
1617
1617
|
y(S.$slots, "content"),
|
|
1618
1618
|
y(S.$slots, "default")
|
|
1619
1619
|
]),
|
|
1620
|
-
t(r) ? (n(), p("div",
|
|
1621
|
-
e.okText ? (n(),
|
|
1620
|
+
t(r) ? (n(), p("div", ko, [
|
|
1621
|
+
e.okText ? (n(), m(Q, x({
|
|
1622
1622
|
key: 0,
|
|
1623
1623
|
onClick: B,
|
|
1624
1624
|
class: "ak-modal__ok-button",
|
|
@@ -1626,31 +1626,31 @@ const Nn = [
|
|
|
1626
1626
|
loading: e.confirmLoading
|
|
1627
1627
|
}, e.okButtonProps), {
|
|
1628
1628
|
default: f(() => [
|
|
1629
|
-
L(
|
|
1629
|
+
L(C(e.okText), 1)
|
|
1630
1630
|
]),
|
|
1631
1631
|
_: 1
|
|
1632
|
-
}, 16, ["variant", "loading"])) :
|
|
1633
|
-
e.cancelText ? (n(),
|
|
1632
|
+
}, 16, ["variant", "loading"])) : h("", !0),
|
|
1633
|
+
e.cancelText ? (n(), m(Q, x({
|
|
1634
1634
|
key: 1,
|
|
1635
|
-
onClick:
|
|
1635
|
+
onClick: g,
|
|
1636
1636
|
type: "grey-link"
|
|
1637
1637
|
}, e.cancelButtonProps), {
|
|
1638
1638
|
default: f(() => [
|
|
1639
|
-
L(
|
|
1639
|
+
L(C(e.cancelText), 1)
|
|
1640
1640
|
]),
|
|
1641
1641
|
_: 1
|
|
1642
|
-
}, 16)) :
|
|
1642
|
+
}, 16)) : h("", !0),
|
|
1643
1643
|
y(S.$slots, "footer")
|
|
1644
|
-
])) :
|
|
1644
|
+
])) : h("", !0)
|
|
1645
1645
|
]),
|
|
1646
1646
|
_: 3
|
|
1647
1647
|
}, 16, ["visible", "class", "closable", "mask", "mask-closable", "width"]));
|
|
1648
1648
|
}
|
|
1649
1649
|
});
|
|
1650
|
-
const
|
|
1651
|
-
|
|
1650
|
+
const Co = ["info", "success", "warning", "error", "confirm"];
|
|
1651
|
+
Co.forEach((a) => {
|
|
1652
1652
|
ve[a] = (s) => {
|
|
1653
|
-
const e = document.createElement("div"), o =
|
|
1653
|
+
const e = document.createElement("div"), o = Ie(ve, s), l = Se({
|
|
1654
1654
|
render: () => o
|
|
1655
1655
|
});
|
|
1656
1656
|
return l.mount(e), document.body.appendChild(e), s.onCancel = () => {
|
|
@@ -1662,10 +1662,10 @@ $o.forEach((a) => {
|
|
|
1662
1662
|
};
|
|
1663
1663
|
};
|
|
1664
1664
|
});
|
|
1665
|
-
const
|
|
1665
|
+
const wo = {
|
|
1666
1666
|
name: "MaRateStar"
|
|
1667
|
-
},
|
|
1668
|
-
...
|
|
1667
|
+
}, xo = /* @__PURE__ */ k({
|
|
1668
|
+
...wo,
|
|
1669
1669
|
props: {
|
|
1670
1670
|
value: null,
|
|
1671
1671
|
starRate: null,
|
|
@@ -1678,7 +1678,7 @@ const Co = {
|
|
|
1678
1678
|
"ak-rate__item__icon--filled": s.value + 0.5 >= s.starRate
|
|
1679
1679
|
}
|
|
1680
1680
|
]), o = c(() => s.starRate - 0.5 === s.value), l = c(() => o.value ? "star-half-colored" : "star-bold");
|
|
1681
|
-
return (i, r) => (n(),
|
|
1681
|
+
return (i, r) => (n(), m(he, { name: "fade" }, {
|
|
1682
1682
|
default: f(() => [
|
|
1683
1683
|
M(b, {
|
|
1684
1684
|
class: R(t(e)),
|
|
@@ -1689,10 +1689,10 @@ const Co = {
|
|
|
1689
1689
|
_: 1
|
|
1690
1690
|
}));
|
|
1691
1691
|
}
|
|
1692
|
-
}),
|
|
1692
|
+
}), Mo = ["tabindex"], Bo = ["onMousemove", "onMouseover"], zo = {
|
|
1693
1693
|
name: "MaRate"
|
|
1694
|
-
},
|
|
1695
|
-
...
|
|
1694
|
+
}, Vn = /* @__PURE__ */ k({
|
|
1695
|
+
...zo,
|
|
1696
1696
|
props: {
|
|
1697
1697
|
value: null,
|
|
1698
1698
|
allowClear: { type: Boolean },
|
|
@@ -1704,7 +1704,7 @@ const Co = {
|
|
|
1704
1704
|
},
|
|
1705
1705
|
emits: ["update:value", "change"],
|
|
1706
1706
|
setup(a, { emit: s }) {
|
|
1707
|
-
const e = a, o =
|
|
1707
|
+
const e = a, o = F(0), l = c(() => [
|
|
1708
1708
|
`ak-rate ak-rate--${e.size} ak-rate--${e.color}`,
|
|
1709
1709
|
{
|
|
1710
1710
|
"ak-rate--disabled": e?.disabled
|
|
@@ -1726,60 +1726,60 @@ const Co = {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
S(o.value);
|
|
1728
1728
|
}
|
|
1729
|
-
},
|
|
1729
|
+
}, d = (A) => {
|
|
1730
1730
|
e?.disabled || (o.value = A);
|
|
1731
|
-
},
|
|
1731
|
+
}, g = () => {
|
|
1732
1732
|
o.value = 0;
|
|
1733
|
-
}, B = (A,
|
|
1734
|
-
!e?.allowHalf || e.disabled || (A.offsetX < A.target.clientWidth / 2 ? o.value =
|
|
1733
|
+
}, B = (A, w) => {
|
|
1734
|
+
!e?.allowHalf || e.disabled || (A.offsetX < A.target.clientWidth / 2 ? o.value = w - 0.5 : o.value = w);
|
|
1735
1735
|
}, z = (A) => {
|
|
1736
1736
|
e?.disabled || (A.key === "ArrowRight" && e.value < 5 ? S(e.value + (e.allowHalf ? 0.5 : 1)) : A.key === "ArrowLeft" && e.value > 0 && S(e.value - (e.allowHalf ? 0.5 : 1)));
|
|
1737
1737
|
}, S = (A) => {
|
|
1738
1738
|
s("update:value", A), s("change", A);
|
|
1739
1739
|
};
|
|
1740
|
-
return (A,
|
|
1740
|
+
return (A, w) => (n(), p("ul", {
|
|
1741
1741
|
class: R(t(l)),
|
|
1742
|
-
onMouseleave:
|
|
1742
|
+
onMouseleave: g,
|
|
1743
1743
|
onKeydown: z,
|
|
1744
1744
|
tabindex: t(r)
|
|
1745
1745
|
}, [
|
|
1746
|
-
(n(), p(
|
|
1746
|
+
(n(), p(O, null, U(5, (T) => _("li", {
|
|
1747
1747
|
class: "ak-rate__item",
|
|
1748
1748
|
key: T,
|
|
1749
1749
|
onMousemove: (I) => B(I, T),
|
|
1750
|
-
onMouseover: (I) =>
|
|
1751
|
-
onClick:
|
|
1750
|
+
onMouseover: (I) => d(T),
|
|
1751
|
+
onClick: w[0] || (w[0] = (I) => u())
|
|
1752
1752
|
}, [
|
|
1753
|
-
M(
|
|
1753
|
+
M(xo, {
|
|
1754
1754
|
"star-rate": T,
|
|
1755
1755
|
value: o.value || e.value,
|
|
1756
1756
|
"icon-size": t(i)
|
|
1757
1757
|
}, null, 8, ["star-rate", "value", "icon-size"])
|
|
1758
|
-
], 40,
|
|
1759
|
-
], 42,
|
|
1758
|
+
], 40, Bo)), 64))
|
|
1759
|
+
], 42, Mo));
|
|
1760
1760
|
}
|
|
1761
1761
|
});
|
|
1762
|
-
const
|
|
1762
|
+
const On = [
|
|
1763
1763
|
"small",
|
|
1764
1764
|
"medium",
|
|
1765
1765
|
"large"
|
|
1766
|
-
],
|
|
1766
|
+
], qn = [
|
|
1767
1767
|
"orange",
|
|
1768
1768
|
"green",
|
|
1769
1769
|
"red"
|
|
1770
|
-
],
|
|
1770
|
+
], Io = {
|
|
1771
1771
|
key: 0,
|
|
1772
1772
|
class: "ma-spin__overlay"
|
|
1773
|
-
},
|
|
1773
|
+
}, So = {
|
|
1774
1774
|
key: 0,
|
|
1775
1775
|
class: "custom-indicator"
|
|
1776
|
-
},
|
|
1776
|
+
}, To = {
|
|
1777
1777
|
key: 2,
|
|
1778
1778
|
class: "tip"
|
|
1779
|
-
},
|
|
1779
|
+
}, Ao = {
|
|
1780
1780
|
name: "MaSpin"
|
|
1781
|
-
}, fe = /* @__PURE__ */
|
|
1782
|
-
...
|
|
1781
|
+
}, fe = /* @__PURE__ */ k({
|
|
1782
|
+
...Ao,
|
|
1783
1783
|
props: {
|
|
1784
1784
|
type: { default: "round" },
|
|
1785
1785
|
color: { default: "dark" },
|
|
@@ -1796,39 +1796,39 @@ const Rn = [
|
|
|
1796
1796
|
"ma-spin__icon"
|
|
1797
1797
|
]), i = c(() => `spin-${s.type}`);
|
|
1798
1798
|
return (r, u) => (n(), p("div", x({ class: t(o) }, r.$attrs), [
|
|
1799
|
-
s.spinning ? (n(), p("div",
|
|
1800
|
-
r.$slots.indicator ? (n(), p("div",
|
|
1799
|
+
s.spinning ? (n(), p("div", Io, [
|
|
1800
|
+
r.$slots.indicator ? (n(), p("div", So, [
|
|
1801
1801
|
y(r.$slots, "indicator")
|
|
1802
|
-
])) :
|
|
1803
|
-
s.spinning && !r.$slots.indicator ? (n(),
|
|
1802
|
+
])) : h("", !0),
|
|
1803
|
+
s.spinning && !r.$slots.indicator ? (n(), m(b, {
|
|
1804
1804
|
key: 1,
|
|
1805
1805
|
class: R(t(l)),
|
|
1806
1806
|
name: t(i)
|
|
1807
|
-
}, null, 8, ["class", "name"])) :
|
|
1808
|
-
r.$slots?.tip || s?.tip ? (n(), p("div",
|
|
1809
|
-
L(
|
|
1807
|
+
}, null, 8, ["class", "name"])) : h("", !0),
|
|
1808
|
+
r.$slots?.tip || s?.tip ? (n(), p("div", To, [
|
|
1809
|
+
L(C(s?.tip) + " ", 1),
|
|
1810
1810
|
y(r.$slots, "tip")
|
|
1811
|
-
])) :
|
|
1812
|
-
])) :
|
|
1811
|
+
])) : h("", !0)
|
|
1812
|
+
])) : h("", !0),
|
|
1813
1813
|
y(r.$slots, "default")
|
|
1814
1814
|
], 16));
|
|
1815
1815
|
}
|
|
1816
1816
|
});
|
|
1817
|
-
const
|
|
1817
|
+
const Hn = [
|
|
1818
1818
|
"round",
|
|
1819
1819
|
"dots",
|
|
1820
1820
|
"three-circles",
|
|
1821
1821
|
"three-dots"
|
|
1822
|
-
],
|
|
1822
|
+
], Wn = [
|
|
1823
1823
|
"dark",
|
|
1824
1824
|
"jordy",
|
|
1825
1825
|
"blue",
|
|
1826
1826
|
"orange",
|
|
1827
1827
|
"grey"
|
|
1828
|
-
],
|
|
1828
|
+
], Po = {
|
|
1829
1829
|
name: "MaDropdown"
|
|
1830
|
-
},
|
|
1831
|
-
...
|
|
1830
|
+
}, No = /* @__PURE__ */ k({
|
|
1831
|
+
...Po,
|
|
1832
1832
|
props: {
|
|
1833
1833
|
destroyPopupOnHide: { type: Boolean, default: !1 },
|
|
1834
1834
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -1849,7 +1849,7 @@ const jn = [
|
|
|
1849
1849
|
}), l = c(
|
|
1850
1850
|
() => ["ma-dropdown-overlay", e?.overlayClassName].join(" ")
|
|
1851
1851
|
);
|
|
1852
|
-
return (i, r) => (n(),
|
|
1852
|
+
return (i, r) => (n(), m(t(Xe), x({
|
|
1853
1853
|
"prefix-cls": "antd-dropdown",
|
|
1854
1854
|
overlayClassName: t(l),
|
|
1855
1855
|
destroyPopupOnHide: e.destroyPopupOnHide,
|
|
@@ -1858,7 +1858,7 @@ const jn = [
|
|
|
1858
1858
|
trigger: e.trigger
|
|
1859
1859
|
}, i.$attrs, {
|
|
1860
1860
|
visible: t(o),
|
|
1861
|
-
"onUpdate:visible": r[0] || (r[0] = (u) =>
|
|
1861
|
+
"onUpdate:visible": r[0] || (r[0] = (u) => K(o) ? o.value = u : null)
|
|
1862
1862
|
}), {
|
|
1863
1863
|
overlay: f(() => [
|
|
1864
1864
|
y(i.$slots, "overlay")
|
|
@@ -1870,22 +1870,22 @@ const jn = [
|
|
|
1870
1870
|
}, 16, ["overlayClassName", "destroyPopupOnHide", "disabled", "placement", "trigger", "visible"]));
|
|
1871
1871
|
}
|
|
1872
1872
|
});
|
|
1873
|
-
const
|
|
1873
|
+
const Kn = [
|
|
1874
1874
|
"bottomLeft",
|
|
1875
1875
|
"bottom",
|
|
1876
1876
|
"bottomRight",
|
|
1877
1877
|
"topLeft",
|
|
1878
1878
|
"top",
|
|
1879
1879
|
"topRight"
|
|
1880
|
-
],
|
|
1880
|
+
], Gn = [
|
|
1881
1881
|
"click",
|
|
1882
1882
|
"hover",
|
|
1883
1883
|
"contextmenu"
|
|
1884
|
-
],
|
|
1884
|
+
], Jn = [
|
|
1885
1885
|
"small",
|
|
1886
1886
|
"medium",
|
|
1887
1887
|
"large"
|
|
1888
|
-
],
|
|
1888
|
+
], Zn = [
|
|
1889
1889
|
"general",
|
|
1890
1890
|
"add-app",
|
|
1891
1891
|
"table",
|
|
@@ -1895,9 +1895,9 @@ const On = [
|
|
|
1895
1895
|
"add-app": "add-app",
|
|
1896
1896
|
table: "empty-table",
|
|
1897
1897
|
selection: "selection"
|
|
1898
|
-
},
|
|
1898
|
+
}, Do = { class: "ma-empty__title" }, Lo = { class: "ma-empty__description" }, Fo = { class: "ma-empty__content" }, Eo = {
|
|
1899
1899
|
name: "MaEmpty"
|
|
1900
|
-
},
|
|
1900
|
+
}, Yn = /* @__PURE__ */ k({
|
|
1901
1901
|
...Eo,
|
|
1902
1902
|
props: {
|
|
1903
1903
|
size: { default: "large" },
|
|
@@ -1916,82 +1916,82 @@ const On = [
|
|
|
1916
1916
|
return (l, i) => (n(), p("div", {
|
|
1917
1917
|
class: R(t(o))
|
|
1918
1918
|
}, [
|
|
1919
|
-
s?.animation ? (n(),
|
|
1919
|
+
s?.animation ? (n(), m(_o, x({
|
|
1920
1920
|
key: 0,
|
|
1921
1921
|
name: a.animation
|
|
1922
|
-
}, a.animationProps), null, 16, ["name"])) : l.$slots.icon ? y(l.$slots, "icon", { key: 1 }) : (n(),
|
|
1922
|
+
}, a.animationProps), null, 16, ["name"])) : l.$slots.icon ? y(l.$slots, "icon", { key: 1 }) : (n(), m(b, {
|
|
1923
1923
|
key: 2,
|
|
1924
1924
|
name: t(e),
|
|
1925
1925
|
class: "ma-empty__icon"
|
|
1926
1926
|
}, null, 8, ["name"])),
|
|
1927
|
-
|
|
1928
|
-
L(
|
|
1927
|
+
_("span", Do, [
|
|
1928
|
+
L(C(a.title) + " ", 1),
|
|
1929
1929
|
y(l.$slots, "title")
|
|
1930
1930
|
]),
|
|
1931
|
-
|
|
1932
|
-
L(
|
|
1931
|
+
_("span", Lo, [
|
|
1932
|
+
L(C(a.description) + " ", 1),
|
|
1933
1933
|
y(l.$slots, "description")
|
|
1934
1934
|
]),
|
|
1935
|
-
|
|
1935
|
+
_("div", Fo, [
|
|
1936
1936
|
y(l.$slots, "default")
|
|
1937
1937
|
])
|
|
1938
1938
|
], 2));
|
|
1939
1939
|
}
|
|
1940
1940
|
});
|
|
1941
|
-
const
|
|
1941
|
+
const Xn = [
|
|
1942
1942
|
"button",
|
|
1943
1943
|
"box",
|
|
1944
1944
|
"small-box"
|
|
1945
|
-
],
|
|
1945
|
+
], Ro = [
|
|
1946
1946
|
"xs",
|
|
1947
1947
|
"sm",
|
|
1948
1948
|
"md",
|
|
1949
1949
|
"lg",
|
|
1950
1950
|
"xl"
|
|
1951
1951
|
];
|
|
1952
|
-
var
|
|
1952
|
+
var W = /* @__PURE__ */ ((a) => (a.error = "error", a.done = "done", a.uploading = "uploading", a))(W || {});
|
|
1953
1953
|
const ie = (a) => {
|
|
1954
1954
|
try {
|
|
1955
1955
|
return JSON.parse(a);
|
|
1956
1956
|
} catch {
|
|
1957
1957
|
return a;
|
|
1958
1958
|
}
|
|
1959
|
-
},
|
|
1959
|
+
}, Uo = (a = 20) => {
|
|
1960
1960
|
let s = "";
|
|
1961
1961
|
for (let e = 0; e < a; e++)
|
|
1962
1962
|
s += Math.random().toString(36).substr(2);
|
|
1963
1963
|
return s.substr(0, a);
|
|
1964
|
-
},
|
|
1965
|
-
const l =
|
|
1964
|
+
}, jo = (a, s = {}, e = {}, o) => {
|
|
1965
|
+
const l = F(0);
|
|
1966
1966
|
return { progress: l, upload: async (r, u) => {
|
|
1967
|
-
const
|
|
1968
|
-
|
|
1969
|
-
|
|
1967
|
+
const d = new FormData();
|
|
1968
|
+
d.append(o, r.file), Object.entries(e).forEach(([B, z]) => {
|
|
1969
|
+
d.append(B, z);
|
|
1970
1970
|
});
|
|
1971
|
-
const
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
}),
|
|
1975
|
-
B.lengthComputable && (l.value = B.loaded / B.total * 100, u(
|
|
1976
|
-
},
|
|
1977
|
-
|
|
1978
|
-
|
|
1971
|
+
const g = new XMLHttpRequest();
|
|
1972
|
+
g.open("POST", a), Object.entries(s).forEach(([B, z]) => {
|
|
1973
|
+
g.setRequestHeader(B, z);
|
|
1974
|
+
}), g.upload.onprogress = (B) => {
|
|
1975
|
+
B.lengthComputable && (l.value = B.loaded / B.total * 100, u(W.uploading, l.value));
|
|
1976
|
+
}, g.onload = () => {
|
|
1977
|
+
g.status >= 200 && g.status < 300 ? u(
|
|
1978
|
+
W.done,
|
|
1979
1979
|
l.value,
|
|
1980
|
-
ie(
|
|
1980
|
+
ie(g.responseText)
|
|
1981
1981
|
) : u(
|
|
1982
|
-
|
|
1982
|
+
W.error,
|
|
1983
1983
|
l.value,
|
|
1984
|
-
ie(
|
|
1984
|
+
ie(g.responseText)
|
|
1985
1985
|
);
|
|
1986
|
-
},
|
|
1986
|
+
}, g.onerror = () => {
|
|
1987
1987
|
u(
|
|
1988
|
-
|
|
1988
|
+
W.error,
|
|
1989
1989
|
l.value,
|
|
1990
|
-
ie(
|
|
1990
|
+
ie(g.responseText)
|
|
1991
1991
|
);
|
|
1992
|
-
},
|
|
1992
|
+
}, g.send(d), r.cancelRequest = () => g.abort();
|
|
1993
1993
|
} };
|
|
1994
|
-
},
|
|
1994
|
+
}, Vo = (a, s) => {
|
|
1995
1995
|
if (!s)
|
|
1996
1996
|
return !0;
|
|
1997
1997
|
const e = s.split(",").map((i) => i.trim()), o = a.type, l = a.name.split(".").pop()?.toLowerCase();
|
|
@@ -2004,15 +2004,15 @@ const ie = (a) => {
|
|
|
2004
2004
|
if (i.slice(1) === l)
|
|
2005
2005
|
return !0;
|
|
2006
2006
|
} else {
|
|
2007
|
-
const [r, u] = i.split("/"), [
|
|
2008
|
-
if (r ===
|
|
2007
|
+
const [r, u] = i.split("/"), [d, g] = o.split("/");
|
|
2008
|
+
if (r === d && u === g)
|
|
2009
2009
|
return !0;
|
|
2010
2010
|
}
|
|
2011
2011
|
return !1;
|
|
2012
|
-
},
|
|
2012
|
+
}, Oo = { class: "single-file" }, qo = { class: "icon-wrapper" }, Ho = { class: "single-file__detail" }, Wo = { class: "file-name" }, Ko = {
|
|
2013
2013
|
key: 0,
|
|
2014
2014
|
class: "file-size"
|
|
2015
|
-
},
|
|
2015
|
+
}, Go = { class: "file-progress" }, Jo = { class: "single-file__actions" }, Zo = /* @__PURE__ */ k({
|
|
2016
2016
|
__name: "singleFile",
|
|
2017
2017
|
props: {
|
|
2018
2018
|
file: null,
|
|
@@ -2024,52 +2024,52 @@ const ie = (a) => {
|
|
|
2024
2024
|
const e = a, o = c(
|
|
2025
2025
|
() => `${(e.file.file.size / (1024 * 1024)).toFixed(1)} MB`
|
|
2026
2026
|
), l = c(() => typeof e.file.file.size == "number"), i = () => s("remove"), r = () => s("cancel");
|
|
2027
|
-
return (u,
|
|
2028
|
-
|
|
2027
|
+
return (u, d) => (n(), p("div", Oo, [
|
|
2028
|
+
_("div", qo, [
|
|
2029
2029
|
M(b, { name: "document-bulk" })
|
|
2030
2030
|
]),
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
t(l) ? (n(), p("span",
|
|
2034
|
-
|
|
2035
|
-
|
|
2031
|
+
_("div", Ho, [
|
|
2032
|
+
_("span", Wo, C(a.file.file.name), 1),
|
|
2033
|
+
t(l) ? (n(), p("span", Ko, C(t(o)), 1)) : h("", !0),
|
|
2034
|
+
_("span", Go, [
|
|
2035
|
+
_("span", {
|
|
2036
2036
|
class: "progress-item",
|
|
2037
2037
|
style: te({ width: `${a.file.progress}%` })
|
|
2038
2038
|
}, null, 4)
|
|
2039
2039
|
])
|
|
2040
2040
|
]),
|
|
2041
|
-
|
|
2042
|
-
a.file.status === t(
|
|
2041
|
+
_("div", Jo, [
|
|
2042
|
+
a.file.status === t(W).uploading ? (n(), m(Q, {
|
|
2043
2043
|
key: 0,
|
|
2044
2044
|
disabled: a.disabled,
|
|
2045
|
-
onClick:
|
|
2045
|
+
onClick: d[0] || (d[0] = (g) => r()),
|
|
2046
2046
|
size: "small",
|
|
2047
2047
|
type: "primary",
|
|
2048
2048
|
variant: "plain",
|
|
2049
2049
|
icon: "close-circle-bulk"
|
|
2050
|
-
}, null, 8, ["disabled"])) : (n(),
|
|
2050
|
+
}, null, 8, ["disabled"])) : (n(), m(Q, {
|
|
2051
2051
|
key: 1,
|
|
2052
2052
|
disabled: a.disabled,
|
|
2053
|
-
onClick:
|
|
2053
|
+
onClick: d[1] || (d[1] = (g) => i()),
|
|
2054
2054
|
size: "small",
|
|
2055
2055
|
type: "primary",
|
|
2056
2056
|
variant: "plain",
|
|
2057
2057
|
icon: "trash-bulk"
|
|
2058
2058
|
}, null, 8, ["disabled"])),
|
|
2059
|
-
|
|
2059
|
+
_("span", null, "%" + C(parseInt(a.file.progress.toString())), 1)
|
|
2060
2060
|
])
|
|
2061
2061
|
]));
|
|
2062
2062
|
}
|
|
2063
|
-
}),
|
|
2063
|
+
}), Yo = ["onDrop"], Xo = ["accept", "multiple", "disabled"], Qo = { class: "text" }, et = /* @__PURE__ */ _("span", null, "Uploading file...", -1), st = { class: "upload-icon" }, ot = {
|
|
2064
2064
|
key: 0,
|
|
2065
2065
|
class: "upload-title"
|
|
2066
|
-
},
|
|
2066
|
+
}, tt = {
|
|
2067
2067
|
key: 1,
|
|
2068
2068
|
class: "upload-description"
|
|
2069
|
-
},
|
|
2069
|
+
}, nt = {
|
|
2070
2070
|
name: "MaUpload"
|
|
2071
|
-
},
|
|
2072
|
-
...
|
|
2071
|
+
}, Qn = /* @__PURE__ */ k({
|
|
2072
|
+
...nt,
|
|
2073
2073
|
props: {
|
|
2074
2074
|
fileList: null,
|
|
2075
2075
|
type: { default: "box" },
|
|
@@ -2092,42 +2092,42 @@ const ie = (a) => {
|
|
|
2092
2092
|
},
|
|
2093
2093
|
emits: ["update:fileList", "change", "remove", "error"],
|
|
2094
2094
|
setup(a, { emit: s }) {
|
|
2095
|
-
const e = a, o =
|
|
2095
|
+
const e = a, o = F(null), l = F(null), i = F(!1), r = ["dragenter", "dragover", "dragleave", "drop"], u = ["dragenter", "dragover"], d = ["dragleave", "drop"], g = c({
|
|
2096
2096
|
get() {
|
|
2097
2097
|
return e.fileList;
|
|
2098
2098
|
},
|
|
2099
|
-
set(
|
|
2100
|
-
s("update:fileList",
|
|
2101
|
-
if ([
|
|
2099
|
+
set($) {
|
|
2100
|
+
s("update:fileList", $), s("change", $), e?.action && $.forEach(async (N, V) => {
|
|
2101
|
+
if ([W.done, W.error].includes(
|
|
2102
2102
|
N.status
|
|
2103
2103
|
))
|
|
2104
2104
|
return;
|
|
2105
|
-
const { upload: X } =
|
|
2105
|
+
const { upload: X } = jo(
|
|
2106
2106
|
e?.action || "",
|
|
2107
2107
|
// || added for tsc warning
|
|
2108
2108
|
e.headers,
|
|
2109
2109
|
e.data,
|
|
2110
2110
|
e.name
|
|
2111
2111
|
);
|
|
2112
|
-
e?.beforeUpload && (N.file = await e.beforeUpload(N.file)), X(N, (se,
|
|
2113
|
-
if (
|
|
2114
|
-
if (se ===
|
|
2112
|
+
e?.beforeUpload && (N.file = await e.beforeUpload(N.file)), X(N, (se, xe, me) => {
|
|
2113
|
+
if (g.value[V]) {
|
|
2114
|
+
if (se === W.error) {
|
|
2115
2115
|
s("error", { file: N.file, message: me }), le(
|
|
2116
|
-
|
|
2116
|
+
g.value.findIndex((Me) => Me.id === N.id)
|
|
2117
2117
|
);
|
|
2118
2118
|
return;
|
|
2119
2119
|
}
|
|
2120
|
-
|
|
2120
|
+
g.value[V].progress = xe, g.value[V].status = se, g.value[V].response = me || null, s("change", g.value[V]);
|
|
2121
2121
|
}
|
|
2122
2122
|
});
|
|
2123
2123
|
});
|
|
2124
2124
|
}
|
|
2125
2125
|
}), B = c(
|
|
2126
|
-
() =>
|
|
2126
|
+
() => g.value.map(($) => $.file.name).join(", ")
|
|
2127
2127
|
), z = c(
|
|
2128
|
-
() => e.type === "box" ? e.multiple ? !0 : !
|
|
2128
|
+
() => e.type === "box" ? e.multiple ? !0 : !g.value.length : !0
|
|
2129
2129
|
), S = c(
|
|
2130
|
-
() => e.ordered && I.value ? !1 :
|
|
2130
|
+
() => e.ordered && I.value ? !1 : g.value.length ? e.showFileList : !1
|
|
2131
2131
|
), A = c(() => [
|
|
2132
2132
|
`ma-upload ma-upload--${e.type} ma-upload--${e.type}--${e.size}`,
|
|
2133
2133
|
{
|
|
@@ -2136,75 +2136,75 @@ const ie = (a) => {
|
|
|
2136
2136
|
{
|
|
2137
2137
|
"ma-upload--disabled": j.value
|
|
2138
2138
|
}
|
|
2139
|
-
]),
|
|
2139
|
+
]), w = c(() => [
|
|
2140
2140
|
"ma-file-list",
|
|
2141
2141
|
{
|
|
2142
2142
|
"only-file-list": !z.value
|
|
2143
2143
|
}
|
|
2144
2144
|
]), T = c(() => {
|
|
2145
|
-
const
|
|
2146
|
-
return
|
|
2145
|
+
const $ = e?.size ? Ro.indexOf(e.size) : 0;
|
|
2146
|
+
return ns[$];
|
|
2147
2147
|
}), I = c(
|
|
2148
|
-
() => e.wait ||
|
|
2149
|
-
), j = c(() => e?.disabled || I.value),
|
|
2148
|
+
() => e.wait || g.value.some(($) => $.status === W.uploading)
|
|
2149
|
+
), j = c(() => e?.disabled || I.value), E = ($) => Array.from($).find(
|
|
2150
2150
|
(N) => e?.maxFileSize && N.size > e.maxFileSize
|
|
2151
|
-
),
|
|
2152
|
-
const N =
|
|
2151
|
+
), G = ($) => {
|
|
2152
|
+
const N = $.target;
|
|
2153
2153
|
N.files && ue(Array.from(N.files));
|
|
2154
|
-
},
|
|
2154
|
+
}, v = () => {
|
|
2155
2155
|
l.value?.click();
|
|
2156
|
-
}, P = (
|
|
2157
|
-
|
|
2156
|
+
}, P = ($) => {
|
|
2157
|
+
$.preventDefault();
|
|
2158
2158
|
}, D = () => {
|
|
2159
2159
|
i.value = !0;
|
|
2160
|
-
},
|
|
2160
|
+
}, H = () => {
|
|
2161
2161
|
i.value = !1;
|
|
2162
|
-
}, ae = (
|
|
2163
|
-
j.value ||
|
|
2164
|
-
Array.from(
|
|
2162
|
+
}, ae = ($) => {
|
|
2163
|
+
j.value || $.dataTransfer?.files && ue(
|
|
2164
|
+
Array.from($.dataTransfer.files).filter((N) => e?.accept && !Vo(N, e.accept) ? (s("error", { file: N, message: "file type does not match!" }), !1) : !0)
|
|
2165
2165
|
);
|
|
2166
|
-
}, ue = (
|
|
2167
|
-
const N =
|
|
2166
|
+
}, ue = ($) => {
|
|
2167
|
+
const N = E($);
|
|
2168
2168
|
if (N) {
|
|
2169
2169
|
s("error", { file: N, message: "File too large" });
|
|
2170
2170
|
return;
|
|
2171
2171
|
}
|
|
2172
|
-
const V = Array.from(
|
|
2172
|
+
const V = Array.from($).filter(
|
|
2173
2173
|
(X, se) => e?.maxCount ? se + 1 <= e.maxCount : !0
|
|
2174
2174
|
).map((X) => ({
|
|
2175
2175
|
file: X,
|
|
2176
|
-
id:
|
|
2177
|
-
status: e?.action ?
|
|
2176
|
+
id: Uo(),
|
|
2177
|
+
status: e?.action ? W.uploading : W.done,
|
|
2178
2178
|
progress: e?.action ? 0 : 100,
|
|
2179
2179
|
response: null
|
|
2180
2180
|
}));
|
|
2181
|
-
e.multiple ?
|
|
2182
|
-
}, le = (
|
|
2183
|
-
s("remove",
|
|
2184
|
-
}, de = (
|
|
2185
|
-
const N =
|
|
2186
|
-
typeof N?.cancelRequest == "function" && N.cancelRequest(), le(
|
|
2187
|
-
},
|
|
2188
|
-
|
|
2181
|
+
e.multiple ? g.value = [...g.value, ...V] : V.length && (g.value = [V[0]]);
|
|
2182
|
+
}, le = ($) => {
|
|
2183
|
+
s("remove", g.value[$]), g.value = g.value.filter((N, V) => V !== $);
|
|
2184
|
+
}, de = ($) => {
|
|
2185
|
+
const N = g.value[$];
|
|
2186
|
+
typeof N?.cancelRequest == "function" && N.cancelRequest(), le($);
|
|
2187
|
+
}, we = ($) => {
|
|
2188
|
+
$.stopPropagation(), g.value.forEach((N, V) => de(V)), g.value = [];
|
|
2189
2189
|
};
|
|
2190
2190
|
return ce(() => {
|
|
2191
|
-
r.forEach((
|
|
2192
|
-
o.value?.addEventListener(
|
|
2193
|
-
}), u.forEach((
|
|
2194
|
-
o.value?.addEventListener(
|
|
2195
|
-
}),
|
|
2196
|
-
o.value?.addEventListener(
|
|
2191
|
+
r.forEach(($) => {
|
|
2192
|
+
o.value?.addEventListener($, P);
|
|
2193
|
+
}), u.forEach(($) => {
|
|
2194
|
+
o.value?.addEventListener($, D);
|
|
2195
|
+
}), d.forEach(($) => {
|
|
2196
|
+
o.value?.addEventListener($, H);
|
|
2197
2197
|
});
|
|
2198
|
-
}),
|
|
2199
|
-
r.forEach((
|
|
2200
|
-
o.value?.removeEventListener(
|
|
2201
|
-
}), u.forEach((
|
|
2202
|
-
o.value?.removeEventListener(
|
|
2203
|
-
}),
|
|
2204
|
-
o.value?.removeEventListener(
|
|
2198
|
+
}), Te(() => {
|
|
2199
|
+
r.forEach(($) => {
|
|
2200
|
+
o.value?.removeEventListener($, P);
|
|
2201
|
+
}), u.forEach(($) => {
|
|
2202
|
+
o.value?.removeEventListener($, D);
|
|
2203
|
+
}), d.forEach(($) => {
|
|
2204
|
+
o.value?.removeEventListener($, H);
|
|
2205
2205
|
});
|
|
2206
|
-
}), (
|
|
2207
|
-
Z(
|
|
2206
|
+
}), ($, N) => (n(), p("div", x({ class: "ma-upload-wrapper" }, $.$attrs), [
|
|
2207
|
+
Z(_("div", {
|
|
2208
2208
|
ref_key: "uploadArea",
|
|
2209
2209
|
ref: o,
|
|
2210
2210
|
class: R(t(A)),
|
|
@@ -2215,59 +2215,59 @@ const ie = (a) => {
|
|
|
2215
2215
|
accept: a.accept,
|
|
2216
2216
|
multiple: e.multiple,
|
|
2217
2217
|
disabled: t(j),
|
|
2218
|
-
onChange:
|
|
2219
|
-
key: t(
|
|
2218
|
+
onChange: G,
|
|
2219
|
+
key: t(g).length,
|
|
2220
2220
|
ref_key: "fileInput",
|
|
2221
2221
|
ref: l
|
|
2222
|
-
}, null, 40,
|
|
2223
|
-
e.type === "button" ? (n(),
|
|
2222
|
+
}, null, 40, Xo)),
|
|
2223
|
+
e.type === "button" ? (n(), m(Q, {
|
|
2224
2224
|
key: 0,
|
|
2225
2225
|
type: a.fileList.length ? "primary" : "secondary",
|
|
2226
2226
|
variant: "dark",
|
|
2227
2227
|
icon: "export-2",
|
|
2228
|
-
onClick:
|
|
2228
|
+
onClick: v,
|
|
2229
2229
|
size: t(T),
|
|
2230
2230
|
disabled: t(j),
|
|
2231
2231
|
loading: t(I)
|
|
2232
2232
|
}, {
|
|
2233
2233
|
default: f(() => [
|
|
2234
|
-
L(
|
|
2234
|
+
L(C(a.fileList.length ? t(B) : e?.title), 1)
|
|
2235
2235
|
]),
|
|
2236
2236
|
_: 1
|
|
2237
2237
|
}, 8, ["type", "size", "disabled", "loading"])) : e.type === "small-box" ? (n(), p("div", {
|
|
2238
2238
|
key: 1,
|
|
2239
2239
|
class: "ma-upload__small_box",
|
|
2240
|
-
onClick:
|
|
2240
|
+
onClick: v
|
|
2241
2241
|
}, [
|
|
2242
|
-
t(I) ? (n(),
|
|
2242
|
+
t(I) ? (n(), m(fe, {
|
|
2243
2243
|
key: 0,
|
|
2244
2244
|
type: "three-circles",
|
|
2245
2245
|
color: "blue"
|
|
2246
|
-
})) : (n(),
|
|
2246
|
+
})) : (n(), m(b, {
|
|
2247
2247
|
key: 1,
|
|
2248
2248
|
name: "export-2-bulk"
|
|
2249
2249
|
})),
|
|
2250
|
-
|
|
2251
|
-
t(I) ? (n(), p(
|
|
2250
|
+
_("span", Qo, [
|
|
2251
|
+
t(I) ? (n(), p(O, { key: 0 }, [
|
|
2252
2252
|
L(" Uploading... ")
|
|
2253
|
-
], 64)) : (n(), p(
|
|
2254
|
-
L(
|
|
2255
|
-
y(
|
|
2253
|
+
], 64)) : (n(), p(O, { key: 1 }, [
|
|
2254
|
+
L(C(e?.title) + " ", 1),
|
|
2255
|
+
y($.$slots, "small-box-title")
|
|
2256
2256
|
], 64))
|
|
2257
2257
|
])
|
|
2258
2258
|
])) : (n(), p("div", {
|
|
2259
2259
|
key: 2,
|
|
2260
2260
|
class: "ma-upload__box",
|
|
2261
|
-
onClick:
|
|
2261
|
+
onClick: v
|
|
2262
2262
|
}, [
|
|
2263
|
-
e.ordered && t(I) ? (n(), p(
|
|
2263
|
+
e.ordered && t(I) ? (n(), p(O, { key: 0 }, [
|
|
2264
2264
|
M(fe, {
|
|
2265
2265
|
type: "three-circles",
|
|
2266
2266
|
color: "blue"
|
|
2267
2267
|
}),
|
|
2268
|
-
|
|
2268
|
+
et,
|
|
2269
2269
|
M(Q, {
|
|
2270
|
-
onClick:
|
|
2270
|
+
onClick: we,
|
|
2271
2271
|
class: "box-cancel",
|
|
2272
2272
|
type: "secondary",
|
|
2273
2273
|
size: "small"
|
|
@@ -2277,42 +2277,42 @@ const ie = (a) => {
|
|
|
2277
2277
|
]),
|
|
2278
2278
|
_: 1
|
|
2279
2279
|
})
|
|
2280
|
-
], 64)) : (n(), p(
|
|
2281
|
-
|
|
2280
|
+
], 64)) : (n(), p(O, { key: 1 }, [
|
|
2281
|
+
_("div", st, [
|
|
2282
2282
|
M(b, { name: "upload-bulk" })
|
|
2283
2283
|
]),
|
|
2284
|
-
e?.title ? (n(), p("span",
|
|
2285
|
-
L(
|
|
2286
|
-
y(
|
|
2287
|
-
])) :
|
|
2288
|
-
e?.description ? (n(), p("span",
|
|
2289
|
-
L(
|
|
2290
|
-
y(
|
|
2291
|
-
])) :
|
|
2284
|
+
e?.title ? (n(), p("span", ot, [
|
|
2285
|
+
L(C(e?.title) + " ", 1),
|
|
2286
|
+
y($.$slots, "box-title")
|
|
2287
|
+
])) : h("", !0),
|
|
2288
|
+
e?.description ? (n(), p("span", tt, [
|
|
2289
|
+
L(C(e?.description) + " ", 1),
|
|
2290
|
+
y($.$slots, "box-description")
|
|
2291
|
+
])) : h("", !0)
|
|
2292
2292
|
], 64))
|
|
2293
2293
|
]))
|
|
2294
|
-
], 42,
|
|
2294
|
+
], 42, Yo), [
|
|
2295
2295
|
[Y, t(z)]
|
|
2296
2296
|
]),
|
|
2297
2297
|
t(S) ? (n(), p("div", {
|
|
2298
2298
|
key: 0,
|
|
2299
|
-
class: R(t(
|
|
2299
|
+
class: R(t(w))
|
|
2300
2300
|
}, [
|
|
2301
|
-
(n(!0), p(
|
|
2301
|
+
(n(!0), p(O, null, U(t(g), (V, X) => (n(), m(Zo, {
|
|
2302
2302
|
onRemove: (se) => le(X),
|
|
2303
2303
|
onCancel: (se) => de(X),
|
|
2304
2304
|
file: V,
|
|
2305
2305
|
key: X,
|
|
2306
2306
|
disabled: e.disabled
|
|
2307
2307
|
}, null, 8, ["onRemove", "onCancel", "file", "disabled"]))), 128))
|
|
2308
|
-
], 2)) :
|
|
2308
|
+
], 2)) : h("", !0)
|
|
2309
2309
|
], 16));
|
|
2310
2310
|
}
|
|
2311
2311
|
});
|
|
2312
|
-
const
|
|
2312
|
+
const at = {
|
|
2313
2313
|
name: "MaSideMenuButton"
|
|
2314
|
-
},
|
|
2315
|
-
...
|
|
2314
|
+
}, ea = /* @__PURE__ */ k({
|
|
2315
|
+
...at,
|
|
2316
2316
|
props: {
|
|
2317
2317
|
icon: { default: "app" },
|
|
2318
2318
|
activeIcon: null,
|
|
@@ -2322,20 +2322,20 @@ const nt = {
|
|
|
2322
2322
|
active: { type: Boolean, default: !1 }
|
|
2323
2323
|
},
|
|
2324
2324
|
setup(a) {
|
|
2325
|
-
const s = a, e =
|
|
2325
|
+
const s = a, e = F(!1), o = c(() => s?.href ? "a" : "button"), l = c(() => s?.activeIcon || `${s.icon.replace("-bulk", "-bold")}`), i = c(() => [
|
|
2326
2326
|
"ma-side-menu-button",
|
|
2327
2327
|
{ active: s?.active }
|
|
2328
|
-
]), r = c(() => e.value || s.active), u = () => e.value = !0,
|
|
2329
|
-
return (
|
|
2328
|
+
]), r = c(() => e.value || s.active), u = () => e.value = !0, d = () => e.value = !1;
|
|
2329
|
+
return (g, B) => (n(), m(ee(t(o)), x({
|
|
2330
2330
|
onMousedown: u,
|
|
2331
|
-
onMouseup:
|
|
2331
|
+
onMouseup: d,
|
|
2332
2332
|
role: "button",
|
|
2333
2333
|
target: s?.target,
|
|
2334
2334
|
class: t(i),
|
|
2335
2335
|
href: s?.href
|
|
2336
|
-
},
|
|
2336
|
+
}, g.$attrs), {
|
|
2337
2337
|
default: f(() => [
|
|
2338
|
-
s?.icon ? (n(), p(
|
|
2338
|
+
s?.icon ? (n(), p(O, { key: 0 }, [
|
|
2339
2339
|
Z(M(b, {
|
|
2340
2340
|
size: "md",
|
|
2341
2341
|
name: t(l)
|
|
@@ -2348,23 +2348,23 @@ const nt = {
|
|
|
2348
2348
|
}, null, 8, ["name"]), [
|
|
2349
2349
|
[Y, !t(r)]
|
|
2350
2350
|
])
|
|
2351
|
-
], 64)) :
|
|
2352
|
-
|
|
2353
|
-
L(
|
|
2354
|
-
y(
|
|
2351
|
+
], 64)) : h("", !0),
|
|
2352
|
+
_("span", null, [
|
|
2353
|
+
L(C(s?.text) + " ", 1),
|
|
2354
|
+
y(g.$slots, "default")
|
|
2355
2355
|
])
|
|
2356
2356
|
]),
|
|
2357
2357
|
_: 3
|
|
2358
2358
|
}, 16, ["target", "class", "href"]));
|
|
2359
2359
|
}
|
|
2360
2360
|
});
|
|
2361
|
-
const
|
|
2361
|
+
const lt = {
|
|
2362
2362
|
key: 0,
|
|
2363
2363
|
class: "ma-side-menu-item-icon"
|
|
2364
|
-
},
|
|
2364
|
+
}, it = {
|
|
2365
2365
|
name: "MaSideMenuItem"
|
|
2366
|
-
},
|
|
2367
|
-
...
|
|
2366
|
+
}, sa = /* @__PURE__ */ k({
|
|
2367
|
+
...it,
|
|
2368
2368
|
props: {
|
|
2369
2369
|
href: null,
|
|
2370
2370
|
target: null,
|
|
@@ -2389,15 +2389,15 @@ const at = {
|
|
|
2389
2389
|
]), l = c(
|
|
2390
2390
|
() => s?.activeIcon ? s.activeIcon : s.icon ? s.icon.replace("bulk", "bold") : null
|
|
2391
2391
|
);
|
|
2392
|
-
return (i, r) => (n(),
|
|
2392
|
+
return (i, r) => (n(), m(ee(t(e)), x({
|
|
2393
2393
|
role: "button",
|
|
2394
2394
|
target: s?.target,
|
|
2395
2395
|
class: t(o),
|
|
2396
2396
|
href: s?.href
|
|
2397
2397
|
}, i.$attrs), {
|
|
2398
2398
|
default: f(() => [
|
|
2399
|
-
|
|
2400
|
-
s?.icon ? (n(), p("div",
|
|
2399
|
+
_("span", null, [
|
|
2400
|
+
s?.icon ? (n(), p("div", lt, [
|
|
2401
2401
|
Z(M(b, {
|
|
2402
2402
|
size: "xs",
|
|
2403
2403
|
name: t(l)
|
|
@@ -2410,26 +2410,26 @@ const at = {
|
|
|
2410
2410
|
}, null, 8, ["name"]), [
|
|
2411
2411
|
[Y, !s.active]
|
|
2412
2412
|
])
|
|
2413
|
-
])) :
|
|
2414
|
-
L(" " +
|
|
2413
|
+
])) : h("", !0),
|
|
2414
|
+
L(" " + C(s?.text) + " ", 1),
|
|
2415
2415
|
y(i.$slots, "default")
|
|
2416
2416
|
]),
|
|
2417
|
-
s.badgeText ? (n(),
|
|
2417
|
+
s.badgeText ? (n(), m(go, {
|
|
2418
2418
|
key: 0,
|
|
2419
2419
|
size: "small",
|
|
2420
2420
|
variant: s.badgeColor
|
|
2421
2421
|
}, {
|
|
2422
2422
|
default: f(() => [
|
|
2423
|
-
L(
|
|
2423
|
+
L(C(a.badgeText), 1)
|
|
2424
2424
|
]),
|
|
2425
2425
|
_: 1
|
|
2426
|
-
}, 8, ["variant"])) :
|
|
2426
|
+
}, 8, ["variant"])) : h("", !0)
|
|
2427
2427
|
]),
|
|
2428
2428
|
_: 3
|
|
2429
2429
|
}, 16, ["target", "class", "href"]));
|
|
2430
2430
|
}
|
|
2431
2431
|
});
|
|
2432
|
-
const
|
|
2432
|
+
const oa = [
|
|
2433
2433
|
"dark",
|
|
2434
2434
|
"blue",
|
|
2435
2435
|
"jordy-blue",
|
|
@@ -2438,11 +2438,11 @@ const Xn = [
|
|
|
2438
2438
|
"red",
|
|
2439
2439
|
"purple",
|
|
2440
2440
|
"purple-light"
|
|
2441
|
-
],
|
|
2441
|
+
], rt = {
|
|
2442
2442
|
name: "MaSideMenuIconButton",
|
|
2443
2443
|
inheritAttrs: !1
|
|
2444
|
-
},
|
|
2445
|
-
...
|
|
2444
|
+
}, ta = /* @__PURE__ */ k({
|
|
2445
|
+
...rt,
|
|
2446
2446
|
props: {
|
|
2447
2447
|
icon: null,
|
|
2448
2448
|
activeIcon: null,
|
|
@@ -2452,11 +2452,11 @@ const Xn = [
|
|
|
2452
2452
|
active: { type: Boolean, default: !1 }
|
|
2453
2453
|
},
|
|
2454
2454
|
setup(a) {
|
|
2455
|
-
const s = a, e =
|
|
2455
|
+
const s = a, e = F(!1), o = c(() => s?.href ? "a" : "button"), l = c(() => e.value || s.active), i = c(() => s?.activeIcon || `${s.icon}-bold`), r = c(() => [
|
|
2456
2456
|
"ma-side-menu-icon-button",
|
|
2457
2457
|
{ active: s?.active }
|
|
2458
|
-
]), u = () => e.value = !0,
|
|
2459
|
-
return (
|
|
2458
|
+
]), u = () => e.value = !0, d = () => e.value = !1;
|
|
2459
|
+
return (g, B) => s?.tooltipText ? (n(), m(pe, {
|
|
2460
2460
|
key: 0,
|
|
2461
2461
|
overlayClassName: "ma-icon-button-tooltip",
|
|
2462
2462
|
title: s?.tooltipText,
|
|
@@ -2464,14 +2464,14 @@ const Xn = [
|
|
|
2464
2464
|
placement: "bottomLeft"
|
|
2465
2465
|
}, {
|
|
2466
2466
|
default: f(() => [
|
|
2467
|
-
(n(),
|
|
2467
|
+
(n(), m(ee(t(o)), x({
|
|
2468
2468
|
onMousedown: u,
|
|
2469
|
-
onMouseup:
|
|
2469
|
+
onMouseup: d,
|
|
2470
2470
|
class: t(r),
|
|
2471
2471
|
href: s?.href,
|
|
2472
2472
|
target: s?.target,
|
|
2473
2473
|
role: "button"
|
|
2474
|
-
},
|
|
2474
|
+
}, g.$attrs), {
|
|
2475
2475
|
default: f(() => [
|
|
2476
2476
|
Z(M(b, {
|
|
2477
2477
|
size: "xs",
|
|
@@ -2485,21 +2485,21 @@ const Xn = [
|
|
|
2485
2485
|
}, null, 8, ["name"]), [
|
|
2486
2486
|
[Y, !t(l)]
|
|
2487
2487
|
]),
|
|
2488
|
-
y(
|
|
2488
|
+
y(g.$slots, "default")
|
|
2489
2489
|
]),
|
|
2490
2490
|
_: 3
|
|
2491
2491
|
}, 16, ["class", "href", "target"]))
|
|
2492
2492
|
]),
|
|
2493
2493
|
_: 3
|
|
2494
|
-
}, 8, ["title"])) : (n(),
|
|
2494
|
+
}, 8, ["title"])) : (n(), m(ee(t(o)), x({
|
|
2495
2495
|
key: 1,
|
|
2496
2496
|
onMousedown: u,
|
|
2497
|
-
onMouseup:
|
|
2497
|
+
onMouseup: d,
|
|
2498
2498
|
class: t(r),
|
|
2499
2499
|
href: s?.href,
|
|
2500
2500
|
target: s?.target,
|
|
2501
2501
|
role: "button"
|
|
2502
|
-
},
|
|
2502
|
+
}, g.$attrs), {
|
|
2503
2503
|
default: f(() => [
|
|
2504
2504
|
Z(M(b, {
|
|
2505
2505
|
size: "xs",
|
|
@@ -2513,17 +2513,17 @@ const Xn = [
|
|
|
2513
2513
|
}, null, 8, ["name"]), [
|
|
2514
2514
|
[Y, !t(l)]
|
|
2515
2515
|
]),
|
|
2516
|
-
y(
|
|
2516
|
+
y(g.$slots, "default")
|
|
2517
2517
|
]),
|
|
2518
2518
|
_: 3
|
|
2519
2519
|
}, 16, ["class", "href", "target"]));
|
|
2520
2520
|
}
|
|
2521
2521
|
});
|
|
2522
|
-
const
|
|
2522
|
+
const ct = {
|
|
2523
2523
|
name: "MaSideMenuRoundIconButton",
|
|
2524
2524
|
inheritAttrs: !1
|
|
2525
|
-
},
|
|
2526
|
-
...
|
|
2525
|
+
}, na = /* @__PURE__ */ k({
|
|
2526
|
+
...ct,
|
|
2527
2527
|
props: {
|
|
2528
2528
|
icon: null
|
|
2529
2529
|
},
|
|
@@ -2541,11 +2541,11 @@ const rt = {
|
|
|
2541
2541
|
], 16));
|
|
2542
2542
|
}
|
|
2543
2543
|
});
|
|
2544
|
-
const
|
|
2544
|
+
const pt = ["src", "alt"], ut = {
|
|
2545
2545
|
name: "MaSideMenuAppButton",
|
|
2546
2546
|
inheritAttrs: !1
|
|
2547
|
-
},
|
|
2548
|
-
...
|
|
2547
|
+
}, aa = /* @__PURE__ */ k({
|
|
2548
|
+
...ut,
|
|
2549
2549
|
props: {
|
|
2550
2550
|
appImage: null,
|
|
2551
2551
|
appName: null,
|
|
@@ -2556,21 +2556,21 @@ const ct = ["src", "alt"], pt = {
|
|
|
2556
2556
|
"ma-side-menu-app-icon-button",
|
|
2557
2557
|
{ active: s?.active }
|
|
2558
2558
|
]);
|
|
2559
|
-
return (o, l) => (n(),
|
|
2559
|
+
return (o, l) => (n(), m(pe, {
|
|
2560
2560
|
overlayClassName: "ma-app-button-tooltip",
|
|
2561
2561
|
title: a.appName,
|
|
2562
2562
|
type: "primary",
|
|
2563
2563
|
placement: "topLeft"
|
|
2564
2564
|
}, {
|
|
2565
2565
|
default: f(() => [
|
|
2566
|
-
|
|
2566
|
+
_("button", x({
|
|
2567
2567
|
class: t(e),
|
|
2568
2568
|
role: "button"
|
|
2569
2569
|
}, o.$attrs), [
|
|
2570
|
-
|
|
2570
|
+
_("img", {
|
|
2571
2571
|
src: a.appImage,
|
|
2572
2572
|
alt: a.appName
|
|
2573
|
-
}, null, 8,
|
|
2573
|
+
}, null, 8, pt),
|
|
2574
2574
|
y(o.$slots, "default")
|
|
2575
2575
|
], 16)
|
|
2576
2576
|
]),
|
|
@@ -2578,10 +2578,10 @@ const ct = ["src", "alt"], pt = {
|
|
|
2578
2578
|
}, 8, ["title"]));
|
|
2579
2579
|
}
|
|
2580
2580
|
});
|
|
2581
|
-
const
|
|
2581
|
+
const dt = {
|
|
2582
2582
|
name: "MaSideMenuAddNewAppButton"
|
|
2583
|
-
},
|
|
2584
|
-
...
|
|
2583
|
+
}, la = /* @__PURE__ */ k({
|
|
2584
|
+
...dt,
|
|
2585
2585
|
props: {
|
|
2586
2586
|
href: null,
|
|
2587
2587
|
target: null,
|
|
@@ -2590,24 +2590,24 @@ const ut = {
|
|
|
2590
2590
|
},
|
|
2591
2591
|
setup(a) {
|
|
2592
2592
|
const s = a;
|
|
2593
|
-
return (e, o) => (n(),
|
|
2593
|
+
return (e, o) => (n(), m(Q, x(e.$attrs, {
|
|
2594
2594
|
target: s?.target,
|
|
2595
2595
|
href: s?.href,
|
|
2596
2596
|
disabled: s?.disabled,
|
|
2597
2597
|
class: "ma-add-new-app-button"
|
|
2598
2598
|
}), {
|
|
2599
2599
|
default: f(() => [
|
|
2600
|
-
L(
|
|
2600
|
+
L(C(s?.text) + " ", 1),
|
|
2601
2601
|
y(e.$slots, "default")
|
|
2602
2602
|
]),
|
|
2603
2603
|
_: 3
|
|
2604
2604
|
}, 16, ["target", "href", "disabled"]));
|
|
2605
2605
|
}
|
|
2606
2606
|
});
|
|
2607
|
-
const
|
|
2607
|
+
const mt = { class: "ma-progress-circle" }, gt = ["viewBox"], vt = ["d", "stroke-width"], ft = ["d", "stroke-dasharray", "stroke-dashoffset", "stroke-width"], _t = { key: 1 }, ht = {
|
|
2608
2608
|
key: 0,
|
|
2609
2609
|
class: "label"
|
|
2610
|
-
}, yt = { class: "percent" },
|
|
2610
|
+
}, yt = { class: "percent" }, bt = /* @__PURE__ */ k({
|
|
2611
2611
|
__name: "circle",
|
|
2612
2612
|
props: {
|
|
2613
2613
|
percent: null,
|
|
@@ -2653,20 +2653,20 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2653
2653
|
}, o = c(() => e[s.size]), l = c(
|
|
2654
2654
|
() => o.value.strokeDashArray * (100 - s.percent) / 100
|
|
2655
2655
|
);
|
|
2656
|
-
return (i, r) => (n(), p("div",
|
|
2656
|
+
return (i, r) => (n(), p("div", mt, [
|
|
2657
2657
|
(n(), p("svg", {
|
|
2658
2658
|
class: "circle",
|
|
2659
2659
|
viewBox: t(o).viewBox,
|
|
2660
2660
|
fill: "none",
|
|
2661
2661
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2662
2662
|
}, [
|
|
2663
|
-
|
|
2663
|
+
_("path", {
|
|
2664
2664
|
d: t(o).path,
|
|
2665
2665
|
"stroke-linecap": "round",
|
|
2666
2666
|
"stroke-linejoin": "round",
|
|
2667
2667
|
"stroke-width": t(o).strokeWidth,
|
|
2668
2668
|
class: "wrapper"
|
|
2669
|
-
}, null, 8,
|
|
2669
|
+
}, null, 8, vt),
|
|
2670
2670
|
s.percent > 0 ? (n(), p("path", {
|
|
2671
2671
|
key: 0,
|
|
2672
2672
|
d: t(o).path,
|
|
@@ -2676,18 +2676,18 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2676
2676
|
"stroke-dashoffset": t(l),
|
|
2677
2677
|
"stroke-width": t(o).strokeWidth,
|
|
2678
2678
|
class: "percent"
|
|
2679
|
-
}, null, 8,
|
|
2680
|
-
], 8,
|
|
2681
|
-
s?.icon ? (n(),
|
|
2679
|
+
}, null, 8, ft)) : h("", !0)
|
|
2680
|
+
], 8, gt)),
|
|
2681
|
+
s?.icon ? (n(), m(b, {
|
|
2682
2682
|
key: 0,
|
|
2683
2683
|
name: s.icon
|
|
2684
|
-
}, null, 8, ["name"])) : (n(), p("label",
|
|
2685
|
-
s?.label ? (n(), p("span",
|
|
2686
|
-
|
|
2684
|
+
}, null, 8, ["name"])) : (n(), p("label", _t, [
|
|
2685
|
+
s?.label ? (n(), p("span", ht, C(s.label), 1)) : h("", !0),
|
|
2686
|
+
_("span", yt, C(s?.percent) + "% ", 1)
|
|
2687
2687
|
]))
|
|
2688
2688
|
]));
|
|
2689
2689
|
}
|
|
2690
|
-
}),
|
|
2690
|
+
}), kt = { class: "ma-progress-line" }, $t = { class: "line-wrapper" }, Ct = { key: 1 }, wt = { class: "line-wrapper" }, xt = { key: 1 }, Mt = /* @__PURE__ */ k({
|
|
2691
2691
|
__name: "line",
|
|
2692
2692
|
props: {
|
|
2693
2693
|
percent: null,
|
|
@@ -2708,39 +2708,39 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2708
2708
|
trigger: "click",
|
|
2709
2709
|
...s.tooltipProps
|
|
2710
2710
|
}));
|
|
2711
|
-
return (l, i) => (n(), p("div",
|
|
2712
|
-
s?.showTooltip ? (n(),
|
|
2711
|
+
return (l, i) => (n(), p("div", kt, [
|
|
2712
|
+
s?.showTooltip ? (n(), m(pe, Ae(x({ key: 0 }, t(o))), {
|
|
2713
2713
|
default: f(() => [
|
|
2714
|
-
|
|
2715
|
-
|
|
2714
|
+
_("div", $t, [
|
|
2715
|
+
_("div", {
|
|
2716
2716
|
class: "line",
|
|
2717
2717
|
style: te(t(e))
|
|
2718
2718
|
}, null, 4)
|
|
2719
2719
|
]),
|
|
2720
|
-
s?.icon ? (n(),
|
|
2720
|
+
s?.icon ? (n(), m(b, {
|
|
2721
2721
|
key: 0,
|
|
2722
2722
|
name: s.icon
|
|
2723
|
-
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label",
|
|
2723
|
+
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label", Ct, C(s.percent) + "%", 1)) : h("", !0)
|
|
2724
2724
|
]),
|
|
2725
2725
|
_: 1
|
|
2726
|
-
}, 16)) : (n(), p(
|
|
2727
|
-
|
|
2728
|
-
|
|
2726
|
+
}, 16)) : (n(), p(O, { key: 1 }, [
|
|
2727
|
+
_("div", wt, [
|
|
2728
|
+
_("div", {
|
|
2729
2729
|
class: "line",
|
|
2730
2730
|
style: te(t(e))
|
|
2731
2731
|
}, null, 4)
|
|
2732
2732
|
]),
|
|
2733
|
-
s?.icon ? (n(),
|
|
2733
|
+
s?.icon ? (n(), m(b, {
|
|
2734
2734
|
key: 0,
|
|
2735
2735
|
name: s.icon
|
|
2736
|
-
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label",
|
|
2736
|
+
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label", xt, C(s.percent) + "%", 1)) : h("", !0)
|
|
2737
2737
|
], 64))
|
|
2738
2738
|
]));
|
|
2739
2739
|
}
|
|
2740
|
-
}),
|
|
2740
|
+
}), Bt = { class: "ma-progress-circle ma-progress-half-circle" }, zt = ["viewBox"], It = ["d", "stroke-width"], St = ["d", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = { key: 1 }, At = {
|
|
2741
2741
|
key: 0,
|
|
2742
2742
|
class: "label"
|
|
2743
|
-
},
|
|
2743
|
+
}, Pt = { class: "percent" }, Nt = /* @__PURE__ */ k({
|
|
2744
2744
|
__name: "halfCircle",
|
|
2745
2745
|
props: {
|
|
2746
2746
|
percent: null,
|
|
@@ -2786,20 +2786,20 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2786
2786
|
}, o = c(() => e[s.size]), l = c(
|
|
2787
2787
|
() => o.value.strokeDashArray * (100 - s.percent) / 100
|
|
2788
2788
|
);
|
|
2789
|
-
return (i, r) => (n(), p("div",
|
|
2789
|
+
return (i, r) => (n(), p("div", Bt, [
|
|
2790
2790
|
(n(), p("svg", {
|
|
2791
2791
|
class: "circle",
|
|
2792
2792
|
viewBox: t(o).viewBox,
|
|
2793
2793
|
fill: "none",
|
|
2794
2794
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2795
2795
|
}, [
|
|
2796
|
-
|
|
2796
|
+
_("path", {
|
|
2797
2797
|
d: t(o).path,
|
|
2798
2798
|
"stroke-width": t(o).strokeWidth,
|
|
2799
2799
|
"stroke-linecap": "round",
|
|
2800
2800
|
"stroke-linejoin": "round",
|
|
2801
2801
|
class: "wrapper"
|
|
2802
|
-
}, null, 8,
|
|
2802
|
+
}, null, 8, It),
|
|
2803
2803
|
s.percent > 0 ? (n(), p("path", {
|
|
2804
2804
|
key: 0,
|
|
2805
2805
|
d: t(o).path,
|
|
@@ -2809,18 +2809,18 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2809
2809
|
"stroke-dasharray": t(o).strokeDashArray,
|
|
2810
2810
|
"stroke-dashoffset": t(l),
|
|
2811
2811
|
class: "percent"
|
|
2812
|
-
}, null, 8,
|
|
2813
|
-
], 8,
|
|
2814
|
-
s?.icon ? (n(),
|
|
2812
|
+
}, null, 8, St)) : h("", !0)
|
|
2813
|
+
], 8, zt)),
|
|
2814
|
+
s?.icon ? (n(), m(b, {
|
|
2815
2815
|
key: 0,
|
|
2816
2816
|
name: s.icon
|
|
2817
|
-
}, null, 8, ["name"])) : (n(), p("label",
|
|
2818
|
-
s?.label ? (n(), p("span",
|
|
2819
|
-
|
|
2817
|
+
}, null, 8, ["name"])) : (n(), p("label", Tt, [
|
|
2818
|
+
s?.label ? (n(), p("span", At, C(s.label), 1)) : h("", !0),
|
|
2819
|
+
_("span", Pt, C(s?.percent) + "% ", 1)
|
|
2820
2820
|
]))
|
|
2821
2821
|
]));
|
|
2822
2822
|
}
|
|
2823
|
-
}),
|
|
2823
|
+
}), Dt = { class: "ma-progress-line-step" }, Lt = { class: "step-line-wrapper" }, Ft = { key: 1 }, Et = /* @__PURE__ */ k({
|
|
2824
2824
|
__name: "stepLine",
|
|
2825
2825
|
props: {
|
|
2826
2826
|
percent: null,
|
|
@@ -2839,28 +2839,28 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2839
2839
|
width: `${r}%`
|
|
2840
2840
|
};
|
|
2841
2841
|
};
|
|
2842
|
-
return (o, l) => (n(), p("div",
|
|
2843
|
-
|
|
2844
|
-
(n(), p(
|
|
2842
|
+
return (o, l) => (n(), p("div", Dt, [
|
|
2843
|
+
_("div", Lt, [
|
|
2844
|
+
(n(), p(O, null, U(10, (i) => _("div", {
|
|
2845
2845
|
class: "single-line",
|
|
2846
2846
|
key: i
|
|
2847
2847
|
}, [
|
|
2848
|
-
|
|
2848
|
+
_("div", {
|
|
2849
2849
|
class: "single-line-fill",
|
|
2850
2850
|
style: te(e(i))
|
|
2851
2851
|
}, null, 4)
|
|
2852
2852
|
])), 64))
|
|
2853
2853
|
]),
|
|
2854
|
-
s?.icon ? (n(),
|
|
2854
|
+
s?.icon ? (n(), m(b, {
|
|
2855
2855
|
key: 0,
|
|
2856
2856
|
name: s.icon
|
|
2857
|
-
}, null, 8, ["name"])) : s?.showPercent ? (n(), p("label",
|
|
2857
|
+
}, null, 8, ["name"])) : s?.showPercent ? (n(), p("label", Ft, C(s.percent) + "%", 1)) : h("", !0)
|
|
2858
2858
|
]));
|
|
2859
2859
|
}
|
|
2860
|
-
}),
|
|
2860
|
+
}), Rt = {
|
|
2861
2861
|
name: "MaProgress"
|
|
2862
|
-
},
|
|
2863
|
-
...
|
|
2862
|
+
}, ia = /* @__PURE__ */ k({
|
|
2863
|
+
...Rt,
|
|
2864
2864
|
props: {
|
|
2865
2865
|
type: { default: "line" },
|
|
2866
2866
|
percent: null,
|
|
@@ -2891,9 +2891,9 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2891
2891
|
}
|
|
2892
2892
|
]), o = c(
|
|
2893
2893
|
() => ({
|
|
2894
|
-
circle:
|
|
2895
|
-
line:
|
|
2896
|
-
["half-circle"]:
|
|
2894
|
+
circle: bt,
|
|
2895
|
+
line: Mt,
|
|
2896
|
+
["half-circle"]: Nt,
|
|
2897
2897
|
["line-step"]: Et
|
|
2898
2898
|
})[s.type]
|
|
2899
2899
|
), l = c(() => [
|
|
@@ -2907,7 +2907,7 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2907
2907
|
return (r, u) => (n(), p("div", {
|
|
2908
2908
|
class: R(t(e))
|
|
2909
2909
|
}, [
|
|
2910
|
-
(n(),
|
|
2910
|
+
(n(), m(ee(t(o)), {
|
|
2911
2911
|
class: R(t(l)),
|
|
2912
2912
|
percent: t(i),
|
|
2913
2913
|
icon: s?.icon,
|
|
@@ -2920,33 +2920,33 @@ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke
|
|
|
2920
2920
|
], 2));
|
|
2921
2921
|
}
|
|
2922
2922
|
});
|
|
2923
|
-
const
|
|
2923
|
+
const ra = [
|
|
2924
2924
|
"line",
|
|
2925
2925
|
"line-step",
|
|
2926
2926
|
"circle",
|
|
2927
2927
|
"half-circle"
|
|
2928
|
-
],
|
|
2928
|
+
], ca = [
|
|
2929
2929
|
"dark",
|
|
2930
2930
|
"blue",
|
|
2931
2931
|
"green",
|
|
2932
2932
|
"orange",
|
|
2933
2933
|
"red"
|
|
2934
|
-
],
|
|
2934
|
+
], pa = [
|
|
2935
2935
|
"xs",
|
|
2936
2936
|
"sm",
|
|
2937
2937
|
"md",
|
|
2938
2938
|
"lg",
|
|
2939
2939
|
"xl"
|
|
2940
|
-
],
|
|
2940
|
+
], ua = [
|
|
2941
2941
|
"left",
|
|
2942
2942
|
"right"
|
|
2943
|
-
],
|
|
2943
|
+
], Ut = {
|
|
2944
2944
|
key: 0,
|
|
2945
2945
|
class: "ak-autocomplete__label"
|
|
2946
|
-
},
|
|
2946
|
+
}, jt = { class: "ak-autocomplete__options" }, Vt = ["onMousedown", "onMouseover"], Ot = { key: 1 }, qt = {
|
|
2947
2947
|
name: "MaAutocomplete"
|
|
2948
|
-
},
|
|
2949
|
-
...
|
|
2948
|
+
}, da = /* @__PURE__ */ k({
|
|
2949
|
+
...qt,
|
|
2950
2950
|
props: {
|
|
2951
2951
|
value: null,
|
|
2952
2952
|
options: { default: () => [] },
|
|
@@ -2960,98 +2960,98 @@ const na = [
|
|
|
2960
2960
|
},
|
|
2961
2961
|
emits: ["update:value", "search"],
|
|
2962
2962
|
setup(a, { emit: s }) {
|
|
2963
|
-
const e = a, o = ne(), l =
|
|
2963
|
+
const e = a, o = ne(), l = F(!1), i = F(null), r = F(null), u = F(-1), d = c({
|
|
2964
2964
|
get() {
|
|
2965
2965
|
return e?.value;
|
|
2966
2966
|
},
|
|
2967
|
-
set(
|
|
2968
|
-
s("update:value",
|
|
2967
|
+
set(v) {
|
|
2968
|
+
s("update:value", v), u.value = -1;
|
|
2969
2969
|
}
|
|
2970
|
-
}),
|
|
2970
|
+
}), g = c(() => e?.avatarUrl ? J.userInfo : J.text), B = c(() => !!o.default), z = c(
|
|
2971
2971
|
() => e.options.filter(
|
|
2972
|
-
(
|
|
2972
|
+
(v) => e.filterFn(d.value || "", v)
|
|
2973
2973
|
)
|
|
2974
|
-
), S = (
|
|
2975
|
-
const P =
|
|
2976
|
-
|
|
2974
|
+
), S = (v) => {
|
|
2975
|
+
const P = v?.value || v?.label || v;
|
|
2976
|
+
d.value = P, B.value && r.value && (r.value.value = P), l.value = !1;
|
|
2977
2977
|
}, A = async () => {
|
|
2978
|
-
const
|
|
2979
|
-
s("search",
|
|
2980
|
-
},
|
|
2978
|
+
const v = `${r.value?.value}`;
|
|
2979
|
+
s("search", v), B.value && s("update:value", v), l.value || (l.value = !0);
|
|
2980
|
+
}, w = (v) => {
|
|
2981
2981
|
l.value = !0;
|
|
2982
|
-
}, T = (
|
|
2983
|
-
l.value && i.value &&
|
|
2984
|
-
}, I = (
|
|
2985
|
-
|
|
2986
|
-
}, j = (
|
|
2987
|
-
u.value =
|
|
2988
|
-
},
|
|
2989
|
-
"active-option":
|
|
2982
|
+
}, T = (v) => {
|
|
2983
|
+
l.value && i.value && v.target instanceof Node && !i.value.contains(v.target) && (l.value = !1);
|
|
2984
|
+
}, I = (v) => {
|
|
2985
|
+
v.key === "ArrowUp" && u.value > -1 ? u.value-- : v.key === "ArrowDown" && u.value < z.value.length ? u.value++ : v.key === "Enter" && z.value[u.value] && S(z.value[u.value]);
|
|
2986
|
+
}, j = (v) => {
|
|
2987
|
+
u.value = v;
|
|
2988
|
+
}, E = (v, P) => ({
|
|
2989
|
+
"active-option": v?.value === d.value,
|
|
2990
2990
|
"current-option": u.value === P
|
|
2991
|
-
}),
|
|
2991
|
+
}), G = c(() => [
|
|
2992
2992
|
`ak-autocomplete ak-autocomplete--${e.size}`
|
|
2993
2993
|
]);
|
|
2994
2994
|
return oe(
|
|
2995
2995
|
() => e.open,
|
|
2996
|
-
async (
|
|
2996
|
+
async (v) => {
|
|
2997
2997
|
setTimeout(() => {
|
|
2998
|
-
l.value =
|
|
2998
|
+
l.value = v;
|
|
2999
2999
|
}, 0);
|
|
3000
3000
|
}
|
|
3001
3001
|
), ce(() => {
|
|
3002
|
-
i.value && (i.value.addEventListener("input", A), i.value.addEventListener("keydown", I), document.addEventListener("click", T), r.value = i.value.querySelector('input[type="text"]'), r.value && r.value.addEventListener("focus",
|
|
3003
|
-
}),
|
|
3004
|
-
i.value && (i.value.removeEventListener("input", A), document.removeEventListener("click", T), i.value.removeEventListener("keydown", I), r.value && r.value.removeEventListener("focus",
|
|
3005
|
-
}), (
|
|
3002
|
+
i.value && (i.value.addEventListener("input", A), i.value.addEventListener("keydown", I), document.addEventListener("click", T), r.value = i.value.querySelector('input[type="text"]'), r.value && r.value.addEventListener("focus", w));
|
|
3003
|
+
}), ye(() => {
|
|
3004
|
+
i.value && (i.value.removeEventListener("input", A), document.removeEventListener("click", T), i.value.removeEventListener("keydown", I), r.value && r.value.removeEventListener("focus", w));
|
|
3005
|
+
}), (v, P) => (n(), p("div", x({
|
|
3006
3006
|
class: "ak-autocomplete-wrapper",
|
|
3007
3007
|
ref_key: "autoComplete",
|
|
3008
3008
|
ref: i
|
|
3009
|
-
},
|
|
3010
|
-
M(
|
|
3009
|
+
}, v.$attrs), [
|
|
3010
|
+
M(No, {
|
|
3011
3011
|
"overlay-class-name": "ak-autocomplete__dropdown",
|
|
3012
3012
|
trigger: [],
|
|
3013
3013
|
visible: l.value,
|
|
3014
3014
|
"onUpdate:visible": P[1] || (P[1] = (D) => l.value = D)
|
|
3015
3015
|
}, {
|
|
3016
3016
|
overlay: f(() => [
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
(n(!0), p(
|
|
3020
|
-
class: R(
|
|
3017
|
+
_("div", jt, [
|
|
3018
|
+
_("ul", null, [
|
|
3019
|
+
(n(!0), p(O, null, U(t(z), (D, H) => (n(), p("li", {
|
|
3020
|
+
class: R(E(D, H)),
|
|
3021
3021
|
onMousedown: be((ae) => S(D), ["prevent"]),
|
|
3022
|
-
onMouseover: (ae) => j(
|
|
3023
|
-
key:
|
|
3022
|
+
onMouseover: (ae) => j(H),
|
|
3023
|
+
key: H
|
|
3024
3024
|
}, [
|
|
3025
|
-
|
|
3025
|
+
v.$slots.option ? y(v.$slots, "option", {
|
|
3026
3026
|
key: 0,
|
|
3027
3027
|
label: D?.label,
|
|
3028
3028
|
value: D.value
|
|
3029
|
-
}) : (n(), p("span",
|
|
3030
|
-
D?.value === t(
|
|
3029
|
+
}) : (n(), p("span", Ot, C(D?.label || D?.value), 1)),
|
|
3030
|
+
D?.value === t(d) ? (n(), m(b, {
|
|
3031
3031
|
key: 2,
|
|
3032
3032
|
name: "tick",
|
|
3033
3033
|
size: "sm"
|
|
3034
|
-
})) :
|
|
3035
|
-
], 42,
|
|
3034
|
+
})) : h("", !0)
|
|
3035
|
+
], 42, Vt))), 128))
|
|
3036
3036
|
]),
|
|
3037
|
-
y(
|
|
3037
|
+
y(v.$slots, "overlay")
|
|
3038
3038
|
])
|
|
3039
3039
|
]),
|
|
3040
3040
|
default: f(() => [
|
|
3041
|
-
|
|
3042
|
-
class: R(t(
|
|
3041
|
+
_("div", {
|
|
3042
|
+
class: R(t(G))
|
|
3043
3043
|
}, [
|
|
3044
|
-
e.label ? (n(), p("label",
|
|
3045
|
-
|
|
3044
|
+
e.label ? (n(), p("label", Ut, C(e.label), 1)) : h("", !0),
|
|
3045
|
+
v.$slots.default ? y(v.$slots, "default", { key: 1 }) : (n(), m(Ce, {
|
|
3046
3046
|
key: 2,
|
|
3047
|
-
class: R({ "active-input": t(
|
|
3047
|
+
class: R({ "active-input": t(d)?.length }),
|
|
3048
3048
|
size: e.size,
|
|
3049
3049
|
placeholder: e?.placeholder,
|
|
3050
3050
|
prefixIcon: e?.prefixIcon,
|
|
3051
3051
|
avatarUrl: e?.avatarUrl,
|
|
3052
|
-
type: t(
|
|
3053
|
-
value: t(
|
|
3054
|
-
"onUpdate:value": P[0] || (P[0] = (D) =>
|
|
3052
|
+
type: t(g),
|
|
3053
|
+
value: t(d),
|
|
3054
|
+
"onUpdate:value": P[0] || (P[0] = (D) => K(d) ? d.value = D : null)
|
|
3055
3055
|
}, null, 8, ["class", "size", "placeholder", "prefixIcon", "avatarUrl", "type", "value"]))
|
|
3056
3056
|
], 2)
|
|
3057
3057
|
]),
|
|
@@ -3060,10 +3060,10 @@ const na = [
|
|
|
3060
3060
|
], 16));
|
|
3061
3061
|
}
|
|
3062
3062
|
});
|
|
3063
|
-
const
|
|
3063
|
+
const Ht = {
|
|
3064
3064
|
name: "MaTabs"
|
|
3065
|
-
},
|
|
3066
|
-
...
|
|
3065
|
+
}, ma = /* @__PURE__ */ k({
|
|
3066
|
+
...Ht,
|
|
3067
3067
|
props: {
|
|
3068
3068
|
activeKey: null,
|
|
3069
3069
|
animated: { type: Boolean, default: !1 },
|
|
@@ -3081,7 +3081,7 @@ const qt = {
|
|
|
3081
3081
|
s("update:activeKey", l);
|
|
3082
3082
|
}
|
|
3083
3083
|
});
|
|
3084
|
-
return (l, i) => (n(),
|
|
3084
|
+
return (l, i) => (n(), m(t(Qe), x({
|
|
3085
3085
|
class: "ak-tabs",
|
|
3086
3086
|
animated: e?.animated,
|
|
3087
3087
|
destroyInactiveTabPane: e?.destroyInactiveTabPane,
|
|
@@ -3089,8 +3089,8 @@ const qt = {
|
|
|
3089
3089
|
type: a.type,
|
|
3090
3090
|
"prefix-cls": "antd-tabs",
|
|
3091
3091
|
activeKey: t(o),
|
|
3092
|
-
"onUpdate:activeKey": i[0] || (i[0] = (r) =>
|
|
3093
|
-
}, l.$attrs),
|
|
3092
|
+
"onUpdate:activeKey": i[0] || (i[0] = (r) => K(o) ? o.value = r : null)
|
|
3093
|
+
}, l.$attrs), q({
|
|
3094
3094
|
moreIcon: f(() => [
|
|
3095
3095
|
M(b, {
|
|
3096
3096
|
name: "ellipsis-horizontal",
|
|
@@ -3108,21 +3108,21 @@ const qt = {
|
|
|
3108
3108
|
]), 1040, ["animated", "destroyInactiveTabPane", "tabPosition", "type", "activeKey"]));
|
|
3109
3109
|
}
|
|
3110
3110
|
});
|
|
3111
|
-
const
|
|
3111
|
+
const ga = [
|
|
3112
3112
|
"left",
|
|
3113
3113
|
"right",
|
|
3114
3114
|
"top",
|
|
3115
3115
|
"bottom"
|
|
3116
|
-
],
|
|
3116
|
+
], va = [
|
|
3117
3117
|
"card",
|
|
3118
3118
|
"line"
|
|
3119
|
-
],
|
|
3119
|
+
], fa = [
|
|
3120
3120
|
"left",
|
|
3121
3121
|
"right"
|
|
3122
|
-
],
|
|
3122
|
+
], _a = /* @__PURE__ */ k({
|
|
3123
3123
|
__name: "tabPane",
|
|
3124
3124
|
setup(a) {
|
|
3125
|
-
return (s, e) => (n(),
|
|
3125
|
+
return (s, e) => (n(), m(t(es), x({ tab: "test" }, s.$attrs), q({ _: 2 }, [
|
|
3126
3126
|
U(s.$slots, (o, l) => ({
|
|
3127
3127
|
name: l,
|
|
3128
3128
|
fn: f(() => [
|
|
@@ -3131,9 +3131,74 @@ const pa = [
|
|
|
3131
3131
|
}))
|
|
3132
3132
|
]), 1040));
|
|
3133
3133
|
}
|
|
3134
|
+
}), Wt = { class: "country-option" }, Kt = { class: "country-option__name" }, Gt = { class: "country-option__code" }, Jt = {
|
|
3135
|
+
name: "MaCountrySelect"
|
|
3136
|
+
}, ha = /* @__PURE__ */ k({
|
|
3137
|
+
...Jt,
|
|
3138
|
+
props: {
|
|
3139
|
+
value: null,
|
|
3140
|
+
filterFn: { type: Function, default: (a, s) => typeof name == "string" ? s.name.toLowerCase().search(a.toLowerCase()) > -1 : !0 },
|
|
3141
|
+
countries: null,
|
|
3142
|
+
size: { default: "small" },
|
|
3143
|
+
showSearch: { type: Boolean, default: !0 },
|
|
3144
|
+
dropdownMatchSelectWidth: { type: [Boolean, Number], default: 320 },
|
|
3145
|
+
listHeight: { default: 240 },
|
|
3146
|
+
showSelectedCountryCode: { type: Boolean, default: !0 },
|
|
3147
|
+
placeholder: null
|
|
3148
|
+
},
|
|
3149
|
+
emits: ["update:value", "change"],
|
|
3150
|
+
setup(a, { emit: s }) {
|
|
3151
|
+
const e = a, o = c({
|
|
3152
|
+
get() {
|
|
3153
|
+
return e.value;
|
|
3154
|
+
},
|
|
3155
|
+
set(r) {
|
|
3156
|
+
s("update:value", r), s("change", r);
|
|
3157
|
+
}
|
|
3158
|
+
}), l = (r) => `flag-${r.toLowerCase()}`, i = c(() => [
|
|
3159
|
+
"ma-country-select",
|
|
3160
|
+
{
|
|
3161
|
+
"only-code": e.showSelectedCountryCode
|
|
3162
|
+
}
|
|
3163
|
+
]);
|
|
3164
|
+
return (r, u) => (n(), m($e, x({
|
|
3165
|
+
class: t(i),
|
|
3166
|
+
size: e.size,
|
|
3167
|
+
"show-search": e.showSearch,
|
|
3168
|
+
"filter-option": e.filterFn,
|
|
3169
|
+
"dropdown-match-select-width": e.dropdownMatchSelectWidth,
|
|
3170
|
+
"list-height": e.listHeight,
|
|
3171
|
+
placeholder: e?.placeholder,
|
|
3172
|
+
"dropdown-class-name": "country-select-dropdown"
|
|
3173
|
+
}, r.$attrs, {
|
|
3174
|
+
value: t(o),
|
|
3175
|
+
"onUpdate:value": u[0] || (u[0] = (d) => K(o) ? o.value = d : null)
|
|
3176
|
+
}), {
|
|
3177
|
+
default: f(() => [
|
|
3178
|
+
(n(!0), p(O, null, U(e.countries, (d) => (n(), m(Os, {
|
|
3179
|
+
key: d.code,
|
|
3180
|
+
name: d.name,
|
|
3181
|
+
value: d.code
|
|
3182
|
+
}, {
|
|
3183
|
+
default: f(() => [
|
|
3184
|
+
_("div", Wt, [
|
|
3185
|
+
M(b, {
|
|
3186
|
+
name: l(d.code),
|
|
3187
|
+
size: "sm"
|
|
3188
|
+
}, null, 8, ["name"]),
|
|
3189
|
+
_("span", Kt, C(d.name), 1),
|
|
3190
|
+
_("span", Gt, C(d.code), 1)
|
|
3191
|
+
])
|
|
3192
|
+
]),
|
|
3193
|
+
_: 2
|
|
3194
|
+
}, 1032, ["name", "value"]))), 128))
|
|
3195
|
+
]),
|
|
3196
|
+
_: 1
|
|
3197
|
+
}, 16, ["class", "size", "show-search", "filter-option", "dropdown-match-select-width", "list-height", "placeholder", "value"]));
|
|
3198
|
+
}
|
|
3134
3199
|
});
|
|
3135
|
-
class
|
|
3136
|
-
config =
|
|
3200
|
+
class Zt {
|
|
3201
|
+
config = Pe({
|
|
3137
3202
|
language: "en"
|
|
3138
3203
|
});
|
|
3139
3204
|
setConfig(s) {
|
|
@@ -3144,7 +3209,7 @@ class Ht {
|
|
|
3144
3209
|
}
|
|
3145
3210
|
}
|
|
3146
3211
|
getConfig() {
|
|
3147
|
-
return
|
|
3212
|
+
return Ne(this.config);
|
|
3148
3213
|
}
|
|
3149
3214
|
setLanguage(s) {
|
|
3150
3215
|
this.config.language = s;
|
|
@@ -3153,104 +3218,105 @@ class Ht {
|
|
|
3153
3218
|
return this.config.language;
|
|
3154
3219
|
}
|
|
3155
3220
|
}
|
|
3156
|
-
const
|
|
3157
|
-
function
|
|
3158
|
-
return
|
|
3221
|
+
const Yt = new Zt();
|
|
3222
|
+
function ya() {
|
|
3223
|
+
return De(Yt.getConfig());
|
|
3159
3224
|
}
|
|
3160
3225
|
export {
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3226
|
+
Yt as ActionKitConfig,
|
|
3227
|
+
Un as Animations,
|
|
3228
|
+
Sn as AppIconPlatforms,
|
|
3229
|
+
In as AppIconSizes,
|
|
3230
|
+
an as ButtonIconAlignMents,
|
|
3231
|
+
tn as ButtonShapes,
|
|
3232
|
+
ns as ButtonSizes,
|
|
3233
|
+
nn as ButtonTargets,
|
|
3234
|
+
sn as ButtonTypes,
|
|
3235
|
+
on as ButtonVariants,
|
|
3236
|
+
Fn as MaAlert,
|
|
3237
|
+
Rn as MaAlertPropTypes,
|
|
3238
|
+
En as MaAlertPropVariants,
|
|
3239
|
+
_o as MaAnimation,
|
|
3240
|
+
zn as MaAppIcon,
|
|
3241
|
+
Bn as MaAppTrackButton,
|
|
3242
|
+
da as MaAutoComplete,
|
|
3243
|
+
go as MaBadge,
|
|
3244
|
+
Ln as MaBadgePropIconAlignments,
|
|
3245
|
+
Dn as MaBadgePropSizes,
|
|
3246
|
+
Nn as MaBadgePropTypes,
|
|
3247
|
+
Pn as MaBadgePropVariants,
|
|
3183
3248
|
Q as MaButton,
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3249
|
+
Cn as MaCheckbox,
|
|
3250
|
+
wn as MaCheckboxGroup,
|
|
3251
|
+
ha as MaCountrySelect,
|
|
3252
|
+
No as MaDropdown,
|
|
3253
|
+
Kn as MaDropdownPlacements,
|
|
3254
|
+
Gn as MaDropdownTriggers,
|
|
3255
|
+
Yn as MaEmpty,
|
|
3190
3256
|
_e as MaEmptyIcons,
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3257
|
+
Jn as MaEmptySizes,
|
|
3258
|
+
Zn as MaEmptyVariants,
|
|
3259
|
+
_n as MaForm,
|
|
3260
|
+
hn as MaFormItem,
|
|
3261
|
+
yn as MaFormLayouts,
|
|
3196
3262
|
b as MaIcon,
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3263
|
+
ss as MaIconSizeClassNames,
|
|
3264
|
+
en as MaIconSizes,
|
|
3265
|
+
Ce as MaInput,
|
|
3266
|
+
bn as MaInputCurrency,
|
|
3267
|
+
xs as MaInputSize,
|
|
3268
|
+
J as MaInputType,
|
|
3203
3269
|
ve as MaModal,
|
|
3204
3270
|
ge as MaModalTypeIcon,
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3271
|
+
jn as MaModalTypes,
|
|
3272
|
+
xn as MaNumericInput,
|
|
3273
|
+
ia as MaProgress,
|
|
3274
|
+
pa as MaProgressCircleSizes,
|
|
3275
|
+
ca as MaProgressColors,
|
|
3276
|
+
ua as MaProgressPercentAlignments,
|
|
3277
|
+
ra as MaProgressTypes,
|
|
3278
|
+
Zs as MaRadio,
|
|
3279
|
+
Tn as MaRadioGroup,
|
|
3280
|
+
An as MaRadioTypes,
|
|
3281
|
+
Vn as MaRate,
|
|
3282
|
+
qn as MaRateColors,
|
|
3283
|
+
On as MaRateSizes,
|
|
3284
|
+
$e as MaSelect,
|
|
3285
|
+
Os as MaSelectOption,
|
|
3286
|
+
la as MaSideMenuAddNewAppButton,
|
|
3287
|
+
aa as MaSideMenuAppButton,
|
|
3288
|
+
ea as MaSideMenuButton,
|
|
3289
|
+
ta as MaSideMenuIconButton,
|
|
3290
|
+
sa as MaSideMenuItem,
|
|
3291
|
+
oa as MaSideMenuItemColors,
|
|
3292
|
+
na as MaSideMenuRoundIconButton,
|
|
3227
3293
|
fe as MaSpin,
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3294
|
+
Wn as MaSpinColors,
|
|
3295
|
+
Hn as MaSpinTypes,
|
|
3296
|
+
dn as MaSwitch,
|
|
3297
|
+
fa as MaTabIconAlignMents,
|
|
3298
|
+
_a as MaTabPane,
|
|
3299
|
+
ga as MaTabPositions,
|
|
3300
|
+
va as MaTabTypes,
|
|
3301
|
+
ma as MaTabs,
|
|
3302
|
+
pn as MaToggle,
|
|
3237
3303
|
pe as MaTooltip,
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3304
|
+
ln as MaTrackButton,
|
|
3305
|
+
Qn as MaUpload,
|
|
3306
|
+
W as MaUploadFileStatus,
|
|
3307
|
+
Ro as MaUploadSizes,
|
|
3308
|
+
Xn as MaUploadTypes,
|
|
3309
|
+
Mn as NumericInputSizes,
|
|
3310
|
+
$n as SelectModes,
|
|
3311
|
+
kn as SelectSizes,
|
|
3312
|
+
mn as SwitchTypes,
|
|
3313
|
+
un as ToggleSizes,
|
|
3314
|
+
gn as TooltipPlacements,
|
|
3315
|
+
fn as TooltipTriggerTypes,
|
|
3316
|
+
vn as TooltipTypes,
|
|
3317
|
+
cn as TrackButtonSizes,
|
|
3318
|
+
rn as TrackButtonVariants,
|
|
3319
|
+
Bs as currencyOptions,
|
|
3320
|
+
Ms as currencySymbols,
|
|
3321
|
+
ya as useActionKitConfig
|
|
3256
3322
|
};
|