@mobileaction/action-kit 1.1.61 → 1.1.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-kit.js +8 -8
- package/dist/action-kit.mjs +1092 -1026
- package/dist/components/app-checkbox/index.vue.d.ts +32 -0
- package/dist/components/autocomplete/index.vue.d.ts +12 -0
- package/dist/components/dropdown/index.vue.d.ts +1 -1
- package/dist/components/input/index.vue.d.ts +1 -1
- package/dist/components/popover/index.vue.d.ts +69 -0
- package/dist/components/popover/types.d.ts +6 -0
- package/dist/components/switch/index.vue.d.ts +1 -1
- package/dist/components/toggle/index.vue.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/src/components/app-checkbox/index.vue.d.ts +29 -0
- package/dist/src/components/app-checkbox/stories/constants.d.ts +6 -0
- package/dist/src/components/app-checkbox/stories/default.stories.d.ts +6 -0
- package/dist/src/components/autocomplete/index.vue.d.ts +4 -0
- package/dist/src/components/autocomplete/stories/default.stories.d.ts +1 -1
- package/dist/src/components/popover/index.vue.d.ts +50 -0
- package/dist/src/components/popover/stories/constants.d.ts +5 -0
- package/dist/src/components/popover/stories/default.stories.d.ts +8 -0
- package/dist/src/components/popover/types.d.ts +6 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/action-kit.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Button as Ae, Switch as
|
|
1
|
+
import { defineComponent as B, computed as c, defineAsyncComponent as Le, openBlock as n, createBlock as f, resolveDynamicComponent as ae, unref as s, normalizeClass as L, mergeProps as S, createSlots as J, renderList as j, withCtx as y, renderSlot as _, createElementBlock as p, createCommentVNode as g, ref as D, createElementVNode as b, createVNode as k, createTextVNode as P, toDisplayString as C, isRef as ee, Fragment as W, useSlots as le, useAttrs as Ee, watch as pe, Transition as xe, normalizeProps as ze, onMounted as de, onBeforeUnmount as Se, normalizeStyle as Z, h as Fe, createApp as Ve, onUnmounted as Ie, withDirectives as X, withModifiers as Te, vShow as Q, withKeys as Ge, reactive as fe, watchEffect as Ue, readonly as Re, toRefs as Oe } from "vue";
|
|
2
|
+
import { Button as Ae, Switch as Ke, Tooltip as je, Form as qe, FormItem as He, Avatar as We, Select as Je, InputPassword as Ye, Input as Ze, Textarea as Xe, SelectOption as Qe, Checkbox as et, CheckboxGroup as tt, Radio as ot, RadioGroup as st, Alert as nt, Modal as at, Dropdown as lt, Tabs as it, TabPane as rt, InputNumber as ct, Popover as pt } from "ant-design-vue";
|
|
3
3
|
import ut from "vuedraggable";
|
|
4
4
|
const ge = (a, t) => {
|
|
5
5
|
const e = a[t];
|
|
6
6
|
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((o, l) => {
|
|
7
7
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(l.bind(null, new Error("Unknown variable dynamic import: " + t)));
|
|
8
8
|
});
|
|
9
|
-
},
|
|
9
|
+
}, ua = ["xs", "sm", "md", "lg", "xl"], dt = {
|
|
10
10
|
xs: "w-4 h-4",
|
|
11
11
|
sm: "w-5 h-5",
|
|
12
12
|
md: "w-6 h-6",
|
|
@@ -14,7 +14,7 @@ const ge = (a, t) => {
|
|
|
14
14
|
xl: "w-9 h-9"
|
|
15
15
|
}, mt = {
|
|
16
16
|
name: "MaIcon"
|
|
17
|
-
}, M = /* @__PURE__ */
|
|
17
|
+
}, M = /* @__PURE__ */ B({
|
|
18
18
|
...mt,
|
|
19
19
|
props: {
|
|
20
20
|
name: null,
|
|
@@ -23,7 +23,7 @@ const ge = (a, t) => {
|
|
|
23
23
|
},
|
|
24
24
|
setup(a) {
|
|
25
25
|
const t = a, e = ["flag", "pay"], o = c(
|
|
26
|
-
() =>
|
|
26
|
+
() => Le(
|
|
27
27
|
function() {
|
|
28
28
|
const i = e.find((r) => t.name.startsWith(`${r}-`));
|
|
29
29
|
return i ? ge(/* @__PURE__ */ Object.assign({ "./icons/flag/ad.svg": () => import("./ad-4f15339c.mjs"), "./icons/flag/ae.svg": () => import("./ae-0c29895c.mjs"), "./icons/flag/af.svg": () => import("./af-7c75f32c.mjs"), "./icons/flag/ag.svg": () => import("./ag-8a9bc70d.mjs"), "./icons/flag/ai.svg": () => import("./ai-92607296.mjs"), "./icons/flag/al.svg": () => import("./al-2451ab6a.mjs"), "./icons/flag/am.svg": () => import("./am-75ea01bf.mjs"), "./icons/flag/ao.svg": () => import("./ao-a5e4ad75.mjs"), "./icons/flag/ar.svg": () => import("./ar-a85b3f63.mjs"), "./icons/flag/as.svg": () => import("./as-7fa7e75d.mjs"), "./icons/flag/at.svg": () => import("./at-a7ba217a.mjs"), "./icons/flag/au.svg": () => import("./au-d199493b.mjs"), "./icons/flag/aw.svg": () => import("./aw-442c8572.mjs"), "./icons/flag/ax.svg": () => import("./ax-0714c25a.mjs"), "./icons/flag/az.svg": () => import("./az-199c77dc.mjs"), "./icons/flag/ba.svg": () => import("./ba-d2b7851d.mjs"), "./icons/flag/bb.svg": () => import("./bb-a8e49d76.mjs"), "./icons/flag/bd.svg": () => import("./bd-c63eb19f.mjs"), "./icons/flag/be.svg": () => import("./be-035c22e5.mjs"), "./icons/flag/bf.svg": () => import("./bf-347fcd2e.mjs"), "./icons/flag/bg.svg": () => import("./bg-d3a7da79.mjs"), "./icons/flag/bh.svg": () => import("./bh-c1690810.mjs"), "./icons/flag/bi.svg": () => import("./bi-adcc107b.mjs"), "./icons/flag/bj.svg": () => import("./bj-dd1424a3.mjs"), "./icons/flag/bl.svg": () => import("./bl-a9d0a40c.mjs"), "./icons/flag/bm.svg": () => import("./bm-76f51599.mjs"), "./icons/flag/bn.svg": () => import("./bn-aaa1c0ed.mjs"), "./icons/flag/bo.svg": () => import("./bo-6cec387a.mjs"), "./icons/flag/bq.svg": () => import("./bq-ce9bb442.mjs"), "./icons/flag/bq1.svg": () => import("./bq1-3a6921e5.mjs"), "./icons/flag/bq2.svg": () => import("./bq2-40b46acf.mjs"), "./icons/flag/br.svg": () => import("./br-0cf5492d.mjs"), "./icons/flag/bs.svg": () => import("./bs-89a8fc9a.mjs"), "./icons/flag/bt.svg": () => import("./bt-3ae1d227.mjs"), "./icons/flag/bw.svg": () => import("./bw-a5c65923.mjs"), "./icons/flag/by.svg": () => import("./by-2512965b.mjs"), "./icons/flag/bz.svg": () => import("./bz-8a265bec.mjs"), "./icons/flag/ca.svg": () => import("./ca-cacac026.mjs"), "./icons/flag/cc.svg": () => import("./cc-47939b86.mjs"), "./icons/flag/cd.svg": () => import("./cd-7fc590d2.mjs"), "./icons/flag/cd1.svg": () => import("./cd1-df53c8e1.mjs"), "./icons/flag/cf.svg": () => import("./cf-a60682d6.mjs"), "./icons/flag/ch.svg": () => import("./ch-462979fb.mjs"), "./icons/flag/ck.svg": () => import("./ck-c0c38e87.mjs"), "./icons/flag/cl.svg": () => import("./cl-d02807e7.mjs"), "./icons/flag/cm.svg": () => import("./cm-f951bab7.mjs"), "./icons/flag/cn.svg": () => import("./cn-63577685.mjs"), "./icons/flag/co.svg": () => import("./co-fb5ccff6.mjs"), "./icons/flag/cr.svg": () => import("./cr-c910bfa7.mjs"), "./icons/flag/cu.svg": () => import("./cu-154b8ef9.mjs"), "./icons/flag/cw.svg": () => import("./cw-61a8201a.mjs"), "./icons/flag/cx.svg": () => import("./cx-e5e88bca.mjs"), "./icons/flag/cy.svg": () => import("./cy-1edc9aca.mjs"), "./icons/flag/cz.svg": () => import("./cz-e30da26a.mjs"), "./icons/flag/de.svg": () => import("./de-5cfe1c09.mjs"), "./icons/flag/dj.svg": () => import("./dj-71a46a73.mjs"), "./icons/flag/dk.svg": () => import("./dk-2ffa3eab.mjs"), "./icons/flag/dm.svg": () => import("./dm-c8a641fc.mjs"), "./icons/flag/do.svg": () => import("./do-87d001de.mjs"), "./icons/flag/ds.svg": () => import("./ds-e65319d3.mjs"), "./icons/flag/dz.svg": () => import("./dz-d3b4c36e.mjs"), "./icons/flag/ec.svg": () => import("./ec-95bd8870.mjs"), "./icons/flag/ee.svg": () => import("./ee-faab8887.mjs"), "./icons/flag/eg.svg": () => import("./eg-e80c8056.mjs"), "./icons/flag/eh.svg": () => import("./eh-6afd9f94.mjs"), "./icons/flag/er.svg": () => import("./er-db994cbe.mjs"), "./icons/flag/es.svg": () => import("./es-3a635fca.mjs"), "./icons/flag/et.svg": () => import("./et-2ef41cdc.mjs"), "./icons/flag/fi.svg": () => import("./fi-9dd89328.mjs"), "./icons/flag/fj.svg": () => import("./fj-069f4655.mjs"), "./icons/flag/fk.svg": () => import("./fk-357e668b.mjs"), "./icons/flag/fm.svg": () => import("./fm-530a75f5.mjs"), "./icons/flag/fo.svg": () => import("./fo-28059777.mjs"), "./icons/flag/fr.svg": () => import("./fr-d328744f.mjs"), "./icons/flag/ga.svg": () => import("./ga-58e834f0.mjs"), "./icons/flag/gb-2.svg": () => import("./gb-2-e062951f.mjs"), "./icons/flag/gb.svg": () => import("./gb-67cdddfd.mjs"), "./icons/flag/gd.svg": () => import("./gd-c1bed1a8.mjs"), "./icons/flag/ge.svg": () => import("./ge-825ed87e.mjs"), "./icons/flag/gg.svg": () => import("./gg-6c4f9db5.mjs"), "./icons/flag/gh.svg": () => import("./gh-75d97c21.mjs"), "./icons/flag/gi.svg": () => import("./gi-67623541.mjs"), "./icons/flag/gl.svg": () => import("./gl-07791901.mjs"), "./icons/flag/gm.svg": () => import("./gm-f720b114.mjs"), "./icons/flag/gn.svg": () => import("./gn-38e65105.mjs"), "./icons/flag/gq.svg": () => import("./gq-f03057f5.mjs"), "./icons/flag/gr.svg": () => import("./gr-d657be09.mjs"), "./icons/flag/gt.svg": () => import("./gt-37fec00e.mjs"), "./icons/flag/gu.svg": () => import("./gu-25f495b3.mjs"), "./icons/flag/gw.svg": () => import("./gw-49b63aa6.mjs"), "./icons/flag/gy.svg": () => import("./gy-c3195dee.mjs"), "./icons/flag/hk.svg": () => import("./hk-203ee074.mjs"), "./icons/flag/hn.svg": () => import("./hn-f935c53c.mjs"), "./icons/flag/hr.svg": () => import("./hr-5c985cb6.mjs"), "./icons/flag/ht.svg": () => import("./ht-240304e2.mjs"), "./icons/flag/hu.svg": () => import("./hu-1e7c3a91.mjs"), "./icons/flag/id.svg": () => import("./id-01e604fc.mjs"), "./icons/flag/ie.svg": () => import("./ie-e226e54a.mjs"), "./icons/flag/il.svg": () => import("./il-4a51c7bd.mjs"), "./icons/flag/im.svg": () => import("./im-40319150.mjs"), "./icons/flag/in.svg": () => import("./in-1d105b0f.mjs"), "./icons/flag/io.svg": () => import("./io-6c269405.mjs"), "./icons/flag/iq.svg": () => import("./iq-6b9e3e5a.mjs"), "./icons/flag/ir.svg": () => import("./ir-857f9289.mjs"), "./icons/flag/is.svg": () => import("./is-cf0d2e76.mjs"), "./icons/flag/it.svg": () => import("./it-bce7a9ed.mjs"), "./icons/flag/je.svg": () => import("./je-41c855c9.mjs"), "./icons/flag/jm.svg": () => import("./jm-8dddd561.mjs"), "./icons/flag/jo.svg": () => import("./jo-544e9976.mjs"), "./icons/flag/jp.svg": () => import("./jp-01c6487d.mjs"), "./icons/flag/ke.svg": () => import("./ke-351dc14a.mjs"), "./icons/flag/kg.svg": () => import("./kg-a17fa4bf.mjs"), "./icons/flag/kh.svg": () => import("./kh-0bb7d19f.mjs"), "./icons/flag/ki.svg": () => import("./ki-3e626127.mjs"), "./icons/flag/km.svg": () => import("./km-816dc3ba.mjs"), "./icons/flag/kn.svg": () => import("./kn-bb319e99.mjs"), "./icons/flag/kp.svg": () => import("./kp-2b80118f.mjs"), "./icons/flag/kr.svg": () => import("./kr-32c1e8b7.mjs"), "./icons/flag/kw.svg": () => import("./kw-ad30457b.mjs"), "./icons/flag/ky.svg": () => import("./ky-0eb957f9.mjs"), "./icons/flag/kz.svg": () => import("./kz-72e43c67.mjs"), "./icons/flag/la.svg": () => import("./la-23b2dfcb.mjs"), "./icons/flag/lb.svg": () => import("./lb-be26799a.mjs"), "./icons/flag/lc.svg": () => import("./lc-90590887.mjs"), "./icons/flag/li.svg": () => import("./li-aa862cc7.mjs"), "./icons/flag/lk.svg": () => import("./lk-f17ec481.mjs"), "./icons/flag/lr.svg": () => import("./lr-aff36fda.mjs"), "./icons/flag/ls.svg": () => import("./ls-1cf90d43.mjs"), "./icons/flag/lt.svg": () => import("./lt-4a30e360.mjs"), "./icons/flag/lu.svg": () => import("./lu-986cbaa1.mjs"), "./icons/flag/lv.svg": () => import("./lv-e1792ca0.mjs"), "./icons/flag/ly.svg": () => import("./ly-a5393d64.mjs"), "./icons/flag/ma.svg": () => import("./ma-e1895759.mjs"), "./icons/flag/mc.svg": () => import("./mc-784352e6.mjs"), "./icons/flag/md.svg": () => import("./md-d4541b72.mjs"), "./icons/flag/me.svg": () => import("./me-cf26a608.mjs"), "./icons/flag/mg.svg": () => import("./mg-5a72197b.mjs"), "./icons/flag/mh.svg": () => import("./mh-a494ced3.mjs"), "./icons/flag/mk.svg": () => import("./mk-5d6dfbe2.mjs"), "./icons/flag/ml.svg": () => import("./ml-ea237b33.mjs"), "./icons/flag/mm.svg": () => import("./mm-ca2d2d6f.mjs"), "./icons/flag/mn.svg": () => import("./mn-9b3631e3.mjs"), "./icons/flag/mo.svg": () => import("./mo-8a8ca00c.mjs"), "./icons/flag/mp.svg": () => import("./mp-6e4057a6.mjs"), "./icons/flag/mq.svg": () => import("./mq-c4ad87c5.mjs"), "./icons/flag/mr.svg": () => import("./mr-7535e8e4.mjs"), "./icons/flag/ms.svg": () => import("./ms-0e8caa14.mjs"), "./icons/flag/mt.svg": () => import("./mt-be4c4deb.mjs"), "./icons/flag/mu.svg": () => import("./mu-2c88bc9d.mjs"), "./icons/flag/mv.svg": () => import("./mv-513ecec1.mjs"), "./icons/flag/mw.svg": () => import("./mw-6ddd4745.mjs"), "./icons/flag/mx.svg": () => import("./mx-359089aa.mjs"), "./icons/flag/my.svg": () => import("./my-04139588.mjs"), "./icons/flag/mz.svg": () => import("./mz-f694c775.mjs"), "./icons/flag/na.svg": () => import("./na-012ceddf.mjs"), "./icons/flag/ne.svg": () => import("./ne-f2a01939.mjs"), "./icons/flag/nf.svg": () => import("./nf-e6551856.mjs"), "./icons/flag/ng.svg": () => import("./ng-969a2891.mjs"), "./icons/flag/ni.svg": () => import("./ni-9c669cea.mjs"), "./icons/flag/nl.svg": () => import("./nl-d023a4e8.mjs"), "./icons/flag/no.svg": () => import("./no-463b4b53.mjs"), "./icons/flag/np.svg": () => import("./np-1e48b7f5.mjs"), "./icons/flag/nr.svg": () => import("./nr-3e362f8f.mjs"), "./icons/flag/nu.svg": () => import("./nu-55d767aa.mjs"), "./icons/flag/nz.svg": () => import("./nz-260712f6.mjs"), "./icons/flag/om.svg": () => import("./om-51ff2ef8.mjs"), "./icons/flag/pa.svg": () => import("./pa-2794cff1.mjs"), "./icons/flag/pe.svg": () => import("./pe-03062449.mjs"), "./icons/flag/pf.svg": () => import("./pf-7a7f8df3.mjs"), "./icons/flag/pg.svg": () => import("./pg-b27cc749.mjs"), "./icons/flag/ph.svg": () => import("./ph-cfeed391.mjs"), "./icons/flag/pk.svg": () => import("./pk-e0af5fcc.mjs"), "./icons/flag/pl.svg": () => import("./pl-8f8b354c.mjs"), "./icons/flag/pn.svg": () => import("./pn-1a715846.mjs"), "./icons/flag/pr.svg": () => import("./pr-aa1179ea.mjs"), "./icons/flag/ps.svg": () => import("./ps-af3368b8.mjs"), "./icons/flag/pt.svg": () => import("./pt-5964314a.mjs"), "./icons/flag/pw.svg": () => import("./pw-f405d571.mjs"), "./icons/flag/py.svg": () => import("./py-759ed64c.mjs"), "./icons/flag/qa.svg": () => import("./qa-def2a5c8.mjs"), "./icons/flag/ro.svg": () => import("./ro-b2c623ce.mjs"), "./icons/flag/rs.svg": () => import("./rs-1f43835a.mjs"), "./icons/flag/ru.svg": () => import("./ru-515b608f.mjs"), "./icons/flag/rw.svg": () => import("./rw-7bb5887d.mjs"), "./icons/flag/sa.svg": () => import("./sa-deb70e75.mjs"), "./icons/flag/sb.svg": () => import("./sb-5a3d1bd0.mjs"), "./icons/flag/sc.svg": () => import("./sc-5976b943.mjs"), "./icons/flag/se.svg": () => import("./se-d3641a11.mjs"), "./icons/flag/sg.svg": () => import("./sg-1251b5df.mjs"), "./icons/flag/si.svg": () => import("./si-c2a466f5.mjs"), "./icons/flag/sk.svg": () => import("./sk-0860725f.mjs"), "./icons/flag/sl.svg": () => import("./sl-51f9eed4.mjs"), "./icons/flag/sm.svg": () => import("./sm-75cf810c.mjs"), "./icons/flag/sn.svg": () => import("./sn-7f24ca51.mjs"), "./icons/flag/so.svg": () => import("./so-015e6af8.mjs"), "./icons/flag/sr.svg": () => import("./sr-1b0717af.mjs"), "./icons/flag/ss.svg": () => import("./ss-f6c88a4e.mjs"), "./icons/flag/st.svg": () => import("./st-989e6418.mjs"), "./icons/flag/sv.svg": () => import("./sv-23640770.mjs"), "./icons/flag/sx.svg": () => import("./sx-a304a4a6.mjs"), "./icons/flag/sy.svg": () => import("./sy-cf437d42.mjs"), "./icons/flag/sz.svg": () => import("./sz-e518a24d.mjs"), "./icons/flag/tc.svg": () => import("./tc-200bbddb.mjs"), "./icons/flag/td.svg": () => import("./td-1bb8e438.mjs"), "./icons/flag/tg.svg": () => import("./tg-2ca52b3e.mjs"), "./icons/flag/th.svg": () => import("./th-a72530d6.mjs"), "./icons/flag/tj.svg": () => import("./tj-2d376ebe.mjs"), "./icons/flag/tk.svg": () => import("./tk-7d3d0a7f.mjs"), "./icons/flag/tl.svg": () => import("./tl-55431a29.mjs"), "./icons/flag/tm.svg": () => import("./tm-d2ffabc8.mjs"), "./icons/flag/tn.svg": () => import("./tn-9e100c57.mjs"), "./icons/flag/to.svg": () => import("./to-3b674416.mjs"), "./icons/flag/tr.svg": () => import("./tr-04213ae8.mjs"), "./icons/flag/tt.svg": () => import("./tt-8ae61c7d.mjs"), "./icons/flag/tv.svg": () => import("./tv-c51c8fd6.mjs"), "./icons/flag/tw.svg": () => import("./tw-d92bcd35.mjs"), "./icons/flag/tz.svg": () => import("./tz-62c19f2e.mjs"), "./icons/flag/ua.svg": () => import("./ua-8acc7fe0.mjs"), "./icons/flag/ug.svg": () => import("./ug-cba81231.mjs"), "./icons/flag/us.svg": () => import("./us-041f888d.mjs"), "./icons/flag/uy.svg": () => import("./uy-588af199.mjs"), "./icons/flag/uz.svg": () => import("./uz-b15e9da9.mjs"), "./icons/flag/vc.svg": () => import("./vc-e9055307.mjs"), "./icons/flag/ve.svg": () => import("./ve-1a051a6e.mjs"), "./icons/flag/vg.svg": () => import("./vg-abdc103a.mjs"), "./icons/flag/vi.svg": () => import("./vi-ab2e1332.mjs"), "./icons/flag/vn.svg": () => import("./vn-cffe971d.mjs"), "./icons/flag/vu.svg": () => import("./vu-dc33d40a.mjs"), "./icons/flag/ws.svg": () => import("./ws-1b6fa1a1.mjs"), "./icons/flag/ye.svg": () => import("./ye-03199afb.mjs"), "./icons/flag/za.svg": () => import("./za-b29e17dc.mjs"), "./icons/flag/zm.svg": () => import("./zm-e90acb8f.mjs"), "./icons/flag/zw.svg": () => import("./zw-c483b7f4.mjs"), "./icons/pay/affirm.svg": () => import("./affirm-9aef00fd.mjs"), "./icons/pay/alipay.svg": () => import("./alipay-f8889c4a.mjs"), "./icons/pay/amazon.svg": () => import("./amazon-63784d92.mjs"), "./icons/pay/amex.svg": () => import("./amex-297df5f4.mjs"), "./icons/pay/applepay.svg": () => import("./applepay-bf0abc5b.mjs"), "./icons/pay/bancontact.svg": () => import("./bancontact-057becef.mjs"), "./icons/pay/bitcoin.svg": () => import("./bitcoin-0fec1e7b.mjs"), "./icons/pay/bitcoincash.svg": () => import("./bitcoincash-0a0c586f.mjs"), "./icons/pay/bitpay.svg": () => import("./bitpay-15ba47a5.mjs"), "./icons/pay/citadele.svg": () => import("./citadele-57105c23.mjs"), "./icons/pay/dinersclub.svg": () => import("./dinersclub-022391cd.mjs"), "./icons/pay/discover.svg": () => import("./discover-a393a333.mjs"), "./icons/pay/elo.svg": () => import("./elo-89d797db.mjs"), "./icons/pay/etherium.svg": () => import("./etherium-207a2f24.mjs"), "./icons/pay/forbrugsforeningen.svg": () => import("./forbrugsforeningen-52d2f2d6.mjs"), "./icons/pay/giropay.svg": () => import("./giropay-9ef50443.mjs"), "./icons/pay/googlepay.svg": () => import("./googlepay-41584edc.mjs"), "./icons/pay/ideal.svg": () => import("./ideal-c62c1699.mjs"), "./icons/pay/interac.svg": () => import("./interac-23f9a0cb.mjs"), "./icons/pay/jcb.svg": () => import("./jcb-a55712fc.mjs"), "./icons/pay/klarna.svg": () => import("./klarna-bc60c24a.mjs"), "./icons/pay/lightcoin.svg": () => import("./lightcoin-a710bd56.mjs"), "./icons/pay/maestro.svg": () => import("./maestro-6f52e0dc.mjs"), "./icons/pay/mastercard.svg": () => import("./mastercard-1bcd8146.mjs"), "./icons/pay/payoneer.svg": () => import("./payoneer-91400d09.mjs"), "./icons/pay/paypal.svg": () => import("./paypal-7a4e2657.mjs"), "./icons/pay/paysafe.svg": () => import("./paysafe-6a3eeb5f.mjs"), "./icons/pay/qiwi.svg": () => import("./qiwi-2e4cc2e5.mjs"), "./icons/pay/sepa.svg": () => import("./sepa-753ca2b4.mjs"), "./icons/pay/shop-pay.svg": () => import("./shop-pay-d97812ef.mjs"), "./icons/pay/skrill.svg": () => import("./skrill-a6ecb633.mjs"), "./icons/pay/sofort.svg": () => import("./sofort-d6f73b34.mjs"), "./icons/pay/stripe.svg": () => import("./stripe-fc7bc53b.mjs"), "./icons/pay/unionpay.svg": () => import("./unionpay-daddf101.mjs"), "./icons/pay/verifone.svg": () => import("./verifone-08122f8e.mjs"), "./icons/pay/visa.svg": () => import("./visa-030bb1b1.mjs"), "./icons/pay/webmoney.svg": () => import("./webmoney-c284cb72.mjs"), "./icons/pay/wechat.svg": () => import("./wechat-bb08d491.mjs"), "./icons/pay/yandex.svg": () => import("./yandex-55f02daa.mjs") }), `./icons/${i}/${t.name.replace(`${i}-`, "")}.svg`) : ge(/* @__PURE__ */ Object.assign({ "./icons/add-app.svg": () => import("./add-app-c6cfc484.mjs"), "./icons/add-bold.svg": () => import("./add-bold-6a76e9bb.mjs"), "./icons/add-bulk.svg": () => import("./add-bulk-45297ea5.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-close-bulk.svg": () => import("./clipboard-close-bulk-e8cb0134.mjs"), "./icons/clipboard-close.svg": () => import("./clipboard-close-e98f940f.mjs"), "./icons/clipboard-tick-bulk.svg": () => import("./clipboard-tick-bulk-fcbe707d.mjs"), "./icons/clipboard-tick.svg": () => import("./clipboard-tick-e536bafb.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-bulk.svg": () => import("./copy-bulk-94697637.mjs"), "./icons/copy.svg": () => import("./copy-4e7dca50.mjs"), "./icons/crosshairs.svg": () => import("./crosshairs-af5e585e.mjs"), "./icons/cup-bold.svg": () => import("./cup-bold-73d694bb.mjs"), "./icons/cup-bulk.svg": () => import("./cup-bulk-492ee9cb.mjs"), "./icons/cup.svg": () => import("./cup-6572bd63.mjs"), "./icons/dashboard.svg": () => import("./dashboard-7aca4d6d.mjs"), "./icons/data-bold.svg": () => import("./data-bold-ec2d39a7.mjs"), "./icons/data-bulk.svg": () => import("./data-bulk-3183451e.mjs"), "./icons/data.svg": () => import("./data-c0cbec11.mjs"), "./icons/diagram.svg": () => import("./diagram-7c4f1611.mjs"), "./icons/direct-inbox-bold.svg": () => import("./direct-inbox-bold-99df4d1b.mjs"), "./icons/direct-inbox-bulk.svg": () => import("./direct-inbox-bulk-fb52afab.mjs"), "./icons/direct-inbox.svg": () => import("./direct-inbox-4a51ec29.mjs"), "./icons/direct-normal-bulk.svg": () => import("./direct-normal-bulk-4cc25be5.mjs"), "./icons/direct-normal.svg": () => import("./direct-normal-2fb67893.mjs"), "./icons/dislike-bold.svg": () => import("./dislike-bold-8787bfe5.mjs"), "./icons/dislike.svg": () => import("./dislike-1bf847a0.mjs"), "./icons/document-bold.svg": () => import("./document-bold-12880f8f.mjs"), "./icons/document-bulk.svg": () => import("./document-bulk-1d978376.mjs"), "./icons/document.svg": () => import("./document-116695c8.mjs"), "./icons/dollar-circle.svg": () => import("./dollar-circle-ee373317.mjs"), "./icons/dot.svg": () => import("./dot-8b0b9de5.mjs"), "./icons/download.svg": () => import("./download-a31300dd.mjs"), "./icons/drag.svg": () => import("./drag-d1b58bb4.mjs"), "./icons/edit-2-bulk.svg": () => import("./edit-2-bulk-8806bd19.mjs"), "./icons/edit-2.svg": () => import("./edit-2-e5c8a233.mjs"), "./icons/edit-bold.svg": () => import("./edit-bold-d0e7d866.mjs"), "./icons/edit.svg": () => import("./edit-c21d1e6e.mjs"), "./icons/ellipsis-horizontal.svg": () => import("./ellipsis-horizontal-a3871d7f.mjs"), "./icons/ellipsis-vertical.svg": () => import("./ellipsis-vertical-b1a88595.mjs"), "./icons/empty-table.svg": () => import("./empty-table-41155dd6.mjs"), "./icons/expand.svg": () => import("./expand-36fff427.mjs"), "./icons/export-2-bold.svg": () => import("./export-2-bold-8832fb34.mjs"), "./icons/export-2-bulk.svg": () => import("./export-2-bulk-25deffb0.mjs"), "./icons/export-2.svg": () => import("./export-2-6595b6fa.mjs"), "./icons/export-bold.svg": () => import("./export-bold-f9ede1b1.mjs"), "./icons/export.svg": () => import("./export-70a8fb01.mjs"), "./icons/eye-bold.svg": () => import("./eye-bold-a026520d.mjs"), "./icons/eye-slash-bold.svg": () => import("./eye-slash-bold-334a7964.mjs"), "./icons/eye-slash.svg": () => import("./eye-slash-db05611b.mjs"), "./icons/eye.svg": () => import("./eye-0395aa8a.mjs"), "./icons/facebook.svg": () => import("./facebook-4fa8ba0c.mjs"), "./icons/file-pdf.svg": () => import("./file-pdf-425e84ec.mjs"), "./icons/filled-flag.svg": () => import("./filled-flag-eee4f8a0.mjs"), "./icons/filter-bold.svg": () => import("./filter-bold-1a75a9c9.mjs"), "./icons/filter-bulk.svg": () => import("./filter-bulk-386bf773.mjs"), "./icons/filter.svg": () => import("./filter-c35fa360.mjs"), "./icons/flag.svg": () => import("./flag-9ab7ebcf.mjs"), "./icons/folder-open-bold.svg": () => import("./folder-open-bold-5af5737b.mjs"), "./icons/folder-open.svg": () => import("./folder-open-5d2ab10b.mjs"), "./icons/font.svg": () => import("./font-7fcbf490.mjs"), "./icons/glass-bold.svg": () => import("./glass-bold-394f3be2.mjs"), "./icons/glass-bulk.svg": () => import("./glass-bulk-e47d5da7.mjs"), "./icons/glass.svg": () => import("./glass-a6a6497f.mjs"), "./icons/global.svg": () => import("./global-6a6d773f.mjs"), "./icons/google-colored.svg": () => import("./google-colored-43ad23d9.mjs"), "./icons/google.svg": () => import("./google-2e882a09.mjs"), "./icons/graduation-cap-bold.svg": () => import("./graduation-cap-bold-38c52391.mjs"), "./icons/graduation-cap.svg": () => import("./graduation-cap-6283f172.mjs"), "./icons/graph-bold.svg": () => import("./graph-bold-ab1314fb.mjs"), "./icons/graph.svg": () => import("./graph-db4116dc.mjs"), "./icons/grid-bold.svg": () => import("./grid-bold-aee508ed.mjs"), "./icons/grid-bulk.svg": () => import("./grid-bulk-c41d1f0b.mjs"), "./icons/grid.svg": () => import("./grid-dd9c600a.mjs"), "./icons/hamburger.svg": () => import("./hamburger-4bcd3550.mjs"), "./icons/headset.svg": () => import("./headset-41866868.mjs"), "./icons/history.svg": () => import("./history-4809d082.mjs"), "./icons/home-bold.svg": () => import("./home-bold-f75667d3.mjs"), "./icons/home-bulk.svg": () => import("./home-bulk-65505439.mjs"), "./icons/home.svg": () => import("./home-ea97f9e5.mjs"), "./icons/indent.svg": () => import("./indent-bbd53e37.mjs"), "./icons/info-circle-2-bold.svg": () => import("./info-circle-2-bold-fb1ec68d.mjs"), "./icons/info-circle-2-bulk.svg": () => import("./info-circle-2-bulk-ec2b9a82.mjs"), "./icons/info-circle-2.svg": () => import("./info-circle-2-3df3cd43.mjs"), "./icons/info-circle-bold.svg": () => import("./info-circle-bold-a60837c0.mjs"), "./icons/info-circle.svg": () => import("./info-circle-f0a7874e.mjs"), "./icons/info.svg": () => import("./info-0f5d7a72.mjs"), "./icons/justify-right.svg": () => import("./justify-right-077e8f16.mjs"), "./icons/layer-bold.svg": () => import("./layer-bold-be2afc48.mjs"), "./icons/layer-bulk.svg": () => import("./layer-bulk-9f594537.mjs"), "./icons/layer.svg": () => import("./layer-91965b54.mjs"), "./icons/like-bold.svg": () => import("./like-bold-707bd507.mjs"), "./icons/like.svg": () => import("./like-5366ea0c.mjs"), "./icons/link.svg": () => import("./link-5900c6f3.mjs"), "./icons/linkedin.svg": () => import("./linkedin-fc9d8eba.mjs"), "./icons/list.svg": () => import("./list-842dc9a8.mjs"), "./icons/loader.svg": () => import("./loader-780f4564.mjs"), "./icons/loading.svg": () => import("./loading-ff55b728.mjs"), "./icons/lock-bold.svg": () => import("./lock-bold-7c7d934f.mjs"), "./icons/lock-slash-bulk.svg": () => import("./lock-slash-bulk-fcb240d5.mjs"), "./icons/lock-slash.svg": () => import("./lock-slash-a2504fa2.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/outline-lock-bulk.svg": () => import("./outline-lock-bulk-e862fd91.mjs"), "./icons/outline-lock.svg": () => import("./outline-lock-ba9870dd.mjs"), "./icons/paper-plane.svg": () => import("./paper-plane-930f1bce.mjs"), "./icons/password-check.svg": () => import("./password-check-c088e24b.mjs"), "./icons/pause-bold.svg": () => import("./pause-bold-b5ad47f4.mjs"), "./icons/pause-circle-bold.svg": () => import("./pause-circle-bold-91dc23e9.mjs"), "./icons/pause-circle.svg": () => import("./pause-circle-31f2dece.mjs"), "./icons/pause.svg": () => import("./pause-dcda0462.mjs"), "./icons/pen-square.svg": () => import("./pen-square-5d6963c5.mjs"), "./icons/pencil.svg": () => import("./pencil-a5550af6.mjs"), "./icons/people-bold.svg": () => import("./people-bold-a8b9de12.mjs"), "./icons/people.svg": () => import("./people-9ee16944.mjs"), "./icons/percentage-square-bold.svg": () => import("./percentage-square-bold-0a7ce7af.mjs"), "./icons/percentage-square.svg": () => import("./percentage-square-53cd879b.mjs"), "./icons/play-circle-bold.svg": () => import("./play-circle-bold-6ad0060f.mjs"), "./icons/play-circle.svg": () => import("./play-circle-94665032.mjs"), "./icons/plug-bold.svg": () => import("./plug-bold-c1f9893e.mjs"), "./icons/plug.svg": () => import("./plug-48296fd8.mjs"), "./icons/project-bold.svg": () => import("./project-bold-c32953aa.mjs"), "./icons/question-bold.svg": () => import("./question-bold-00b9c0a9.mjs"), "./icons/question.svg": () => import("./question-a1a8a155.mjs"), "./icons/radar-bold.svg": () => import("./radar-bold-025890d0.mjs"), "./icons/radar-bulk.svg": () => import("./radar-bulk-255fcb9a.mjs"), "./icons/radar.svg": () => import("./radar-9e9d8254.mjs"), "./icons/ranking-bold.svg": () => import("./ranking-bold-37930d9e.mjs"), "./icons/ranking-bulk.svg": () => import("./ranking-bulk-8f7ba862.mjs"), "./icons/ranking.svg": () => import("./ranking-dbddc87b.mjs"), "./icons/record-circle.svg": () => import("./record-circle-e0200965.mjs"), "./icons/redo-bold.svg": () => import("./redo-bold-5495fffd.mjs"), "./icons/redo.svg": () => import("./redo-fb873128.mjs"), "./icons/refresh.svg": () => import("./refresh-4b069be6.mjs"), "./icons/reply.svg": () => import("./reply-de440c87.mjs"), "./icons/rocket.svg": () => import("./rocket-e2d475e7.mjs"), "./icons/scale-balanced.svg": () => import("./scale-balanced-af7eb5de.mjs"), "./icons/search-dollar.svg": () => import("./search-dollar-c94ca9fd.mjs"), "./icons/search-normal-bold.svg": () => import("./search-normal-bold-01d843f2.mjs"), "./icons/search-normal.svg": () => import("./search-normal-154aba52.mjs"), "./icons/security-card-bold.svg": () => import("./security-card-bold-2e90c06e.mjs"), "./icons/security-card.svg": () => import("./security-card-7de3f47c.mjs"), "./icons/selection.svg": () => import("./selection-08a9c952.mjs"), "./icons/send.svg": () => import("./send-e7646e7a.mjs"), "./icons/settings-bold.svg": () => import("./settings-bold-7c51d631.mjs"), "./icons/settings-bulk.svg": () => import("./settings-bulk-5b8c71b9.mjs"), "./icons/settings.svg": () => import("./settings-d20222e7.mjs"), "./icons/share-bold.svg": () => import("./share-bold-15fdbe97.mjs"), "./icons/share-bulk.svg": () => import("./share-bulk-ba3adfd9.mjs"), "./icons/share.svg": () => import("./share-138f74f8.mjs"), "./icons/shopping-cart-bold.svg": () => import("./shopping-cart-bold-f786619a.mjs"), "./icons/shopping-cart.svg": () => import("./shopping-cart-8becc3f1.mjs"), "./icons/sidebar-left-bold.svg": () => import("./sidebar-left-bold-25ef42d3.mjs"), "./icons/sidebar-left-bulk.svg": () => import("./sidebar-left-bulk-2176d14f.mjs"), "./icons/sidebar-left.svg": () => import("./sidebar-left-ba427d0c.mjs"), "./icons/sidebar-right-bold.svg": () => import("./sidebar-right-bold-3a3f4884.mjs"), "./icons/sidebar-right-bulk.svg": () => import("./sidebar-right-bulk-43354705.mjs"), "./icons/sidebar-right.svg": () => import("./sidebar-right-f88fa191.mjs"), "./icons/slash-bold.svg": () => import("./slash-bold-9656541d.mjs"), "./icons/slash.svg": () => import("./slash-9eee755b.mjs"), "./icons/slider-horizontal-bold.svg": () => import("./slider-horizontal-bold-db93f0f6.mjs"), "./icons/slider-horizontal.svg": () => import("./slider-horizontal-4c098e63.mjs"), "./icons/smart-notification-bold.svg": () => import("./smart-notification-bold-2c8940c5.mjs"), "./icons/smart-notification-bulk.svg": () => import("./smart-notification-bulk-5efb20e5.mjs"), "./icons/smart-notification.svg": () => import("./smart-notification-10e5248c.mjs"), "./icons/sms-bold.svg": () => import("./sms-bold-f6dc2e1a.mjs"), "./icons/sms.svg": () => import("./sms-4db7f244.mjs"), "./icons/sort-amount-down.svg": () => import("./sort-amount-down-0b2b11f1.mjs"), "./icons/speedometer.svg": () => import("./speedometer-c719f6df.mjs"), "./icons/spin-dots.svg": () => import("./spin-dots-25d015b7.mjs"), "./icons/spin-round.svg": () => import("./spin-round-9db617b7.mjs"), "./icons/spin-three-circles.svg": () => import("./spin-three-circles-13ae8650.mjs"), "./icons/spin-three-dots.svg": () => import("./spin-three-dots-c116245e.mjs"), "./icons/spinner.svg": () => import("./spinner-8bb3861a.mjs"), "./icons/square.svg": () => import("./square-5a969e93.mjs"), "./icons/star-bold.svg": () => import("./star-bold-4c45c0d8.mjs"), "./icons/star-bulk.svg": () => import("./star-bulk-d8bdbc7a.mjs"), "./icons/star-half-colored.svg": () => import("./star-half-colored-3b10f42e.mjs"), "./icons/star.svg": () => import("./star-017cb8aa.mjs"), "./icons/status-up.svg": () => import("./status-up-6547be80.mjs"), "./icons/stop-bold.svg": () => import("./stop-bold-be0c1cd8.mjs"), "./icons/stop.svg": () => import("./stop-c195f726.mjs"), "./icons/story.svg": () => import("./story-b421beca.mjs"), "./icons/stream.svg": () => import("./stream-e8091b3f.mjs"), "./icons/swap-bold.svg": () => import("./swap-bold-57d7dc55.mjs"), "./icons/swap.svg": () => import("./swap-11e0d73e.mjs"), "./icons/sync.svg": () => import("./sync-8d26ba0f.mjs"), "./icons/table-list.svg": () => import("./table-list-3a2b78aa.mjs"), "./icons/tag-bold.svg": () => import("./tag-bold-573c41ef.mjs"), "./icons/tag-bulk.svg": () => import("./tag-bulk-922d5513.mjs"), "./icons/tag.svg": () => import("./tag-a64db341.mjs"), "./icons/thumbtack.svg": () => import("./thumbtack-1a04ac17.mjs"), "./icons/tick-circle-bold.svg": () => import("./tick-circle-bold-1d123c3c.mjs"), "./icons/tick-circle.svg": () => import("./tick-circle-01243ef4.mjs"), "./icons/tick-square-bold.svg": () => import("./tick-square-bold-bf954d12.mjs"), "./icons/tick-square.svg": () => import("./tick-square-787b244b.mjs"), "./icons/tick.svg": () => import("./tick-52c4e48f.mjs"), "./icons/toggle-off-bold.svg": () => import("./toggle-off-bold-8a8be16b.mjs"), "./icons/toggle-off.svg": () => import("./toggle-off-1b1e303c.mjs"), "./icons/toggle-on-bold.svg": () => import("./toggle-on-bold-64ad90eb.mjs"), "./icons/toggle-on.svg": () => import("./toggle-on-0d6dced2.mjs"), "./icons/transgender.svg": () => import("./transgender-82cb488f.mjs"), "./icons/trash-bold.svg": () => import("./trash-bold-e0f392c8.mjs"), "./icons/trash-bulk.svg": () => import("./trash-bulk-89ab0a45.mjs"), "./icons/trash.svg": () => import("./trash-f08f2851.mjs"), "./icons/trend-up-bold.svg": () => import("./trend-up-bold-df64bd2c.mjs"), "./icons/trend-up-bulk.svg": () => import("./trend-up-bulk-431e9d22.mjs"), "./icons/trend-up.svg": () => import("./trend-up-eca70766.mjs"), "./icons/triangle-exclamation.svg": () => import("./triangle-exclamation-3a84b726.mjs"), "./icons/twitter.svg": () => import("./twitter-9097735c.mjs"), "./icons/undo-bold.svg": () => import("./undo-bold-65eb640c.mjs"), "./icons/undo.svg": () => import("./undo-653eb482.mjs"), "./icons/unlock-bold.svg": () => import("./unlock-bold-8a8847c6.mjs"), "./icons/unlock.svg": () => import("./unlock-2c19e8b6.mjs"), "./icons/upload-bulk.svg": () => import("./upload-bulk-c4de9af1.mjs"), "./icons/upload.svg": () => import("./upload-37d640ae.mjs"), "./icons/user-square.svg": () => import("./user-square-b766a005.mjs"), "./icons/user.svg": () => import("./user-e1c97db1.mjs"), "./icons/volume-low.svg": () => import("./volume-low-58e56b04.mjs"), "./icons/warning-2-bold.svg": () => import("./warning-2-bold-d7e8e03f.mjs"), "./icons/warning-2-bulk.svg": () => import("./warning-2-bulk-a5e67b28.mjs"), "./icons/warning-2.svg": () => import("./warning-2-c6914942.mjs"), "./icons/warning.svg": () => import("./warning-76eae041.mjs"), "./icons/wifi.svg": () => import("./wifi-0bf73fb3.mjs") }), `./icons/${t.name}.svg`);
|
|
@@ -37,12 +37,12 @@ const ge = (a, t) => {
|
|
|
37
37
|
{ "animate-spin": t.spin }
|
|
38
38
|
]);
|
|
39
39
|
return (i, r) => (n(), f(ae(s(o)), {
|
|
40
|
-
class:
|
|
40
|
+
class: L(s(l))
|
|
41
41
|
}, null, 8, ["class"]));
|
|
42
42
|
}
|
|
43
43
|
}), gt = {
|
|
44
44
|
name: "MaButton"
|
|
45
|
-
}, oe = /* @__PURE__ */
|
|
45
|
+
}, oe = /* @__PURE__ */ B({
|
|
46
46
|
...gt,
|
|
47
47
|
props: {
|
|
48
48
|
type: { default: "primary" },
|
|
@@ -80,7 +80,7 @@ const ge = (a, t) => {
|
|
|
80
80
|
]), i = c(() => e?.loading || e?.icon), r = c(() => e?.disabled || e?.loading), u = (d) => {
|
|
81
81
|
t("keyUp", d);
|
|
82
82
|
};
|
|
83
|
-
return (d, m) => (n(), f(s(Ae),
|
|
83
|
+
return (d, m) => (n(), f(s(Ae), S({
|
|
84
84
|
class: s(l),
|
|
85
85
|
href: e.href,
|
|
86
86
|
target: e.target,
|
|
@@ -89,15 +89,15 @@ const ge = (a, t) => {
|
|
|
89
89
|
onKeyup: u,
|
|
90
90
|
role: "button"
|
|
91
91
|
}, d.$attrs, { "prefix-cls": "antd-btn" }), J({ _: 2 }, [
|
|
92
|
-
j(d.$slots, (
|
|
93
|
-
name:
|
|
94
|
-
fn:
|
|
95
|
-
|
|
92
|
+
j(d.$slots, (x, z) => ({
|
|
93
|
+
name: z,
|
|
94
|
+
fn: y(() => [
|
|
95
|
+
_(d.$slots, z)
|
|
96
96
|
])
|
|
97
97
|
})),
|
|
98
98
|
s(i) ? {
|
|
99
99
|
name: "icon",
|
|
100
|
-
fn:
|
|
100
|
+
fn: y(() => [
|
|
101
101
|
e?.loading ? (n(), f(M, {
|
|
102
102
|
key: 0,
|
|
103
103
|
class: "ak-button__loader",
|
|
@@ -114,13 +114,13 @@ const ge = (a, t) => {
|
|
|
114
114
|
]), 1040, ["class", "href", "target", "disabled", "type"]));
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
|
-
const
|
|
117
|
+
const da = [
|
|
118
118
|
"primary",
|
|
119
119
|
"secondary",
|
|
120
120
|
"link",
|
|
121
121
|
"grey-link",
|
|
122
122
|
"social"
|
|
123
|
-
],
|
|
123
|
+
], ma = [
|
|
124
124
|
"dark",
|
|
125
125
|
"plain",
|
|
126
126
|
"info",
|
|
@@ -133,20 +133,20 @@ const la = [
|
|
|
133
133
|
"large",
|
|
134
134
|
"x-large",
|
|
135
135
|
"2x-large"
|
|
136
|
-
],
|
|
136
|
+
], ga = [
|
|
137
137
|
"default",
|
|
138
138
|
"round"
|
|
139
|
-
],
|
|
139
|
+
], va = [
|
|
140
140
|
"_blank",
|
|
141
141
|
"_self",
|
|
142
142
|
"_top",
|
|
143
143
|
"_parent"
|
|
144
|
-
],
|
|
144
|
+
], fa = [
|
|
145
145
|
"left",
|
|
146
146
|
"right"
|
|
147
147
|
], ft = {
|
|
148
148
|
name: "MaBadge"
|
|
149
|
-
}, _e = /* @__PURE__ */
|
|
149
|
+
}, _e = /* @__PURE__ */ B({
|
|
150
150
|
...ft,
|
|
151
151
|
props: {
|
|
152
152
|
type: { default: "primary" },
|
|
@@ -166,19 +166,19 @@ const la = [
|
|
|
166
166
|
}
|
|
167
167
|
]);
|
|
168
168
|
return (o, l) => (n(), p("div", {
|
|
169
|
-
class:
|
|
169
|
+
class: L(s(e))
|
|
170
170
|
}, [
|
|
171
171
|
t?.icon ? (n(), f(M, {
|
|
172
172
|
key: 0,
|
|
173
173
|
name: t?.icon
|
|
174
174
|
}, null, 8, ["name"])) : g("", !0),
|
|
175
|
-
|
|
175
|
+
_(o.$slots, "default")
|
|
176
176
|
], 2));
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
const _t = { class: "icon-wrapper" }, yt = {
|
|
180
180
|
name: "MaTrackButton"
|
|
181
|
-
},
|
|
181
|
+
}, _a = /* @__PURE__ */ B({
|
|
182
182
|
...yt,
|
|
183
183
|
props: {
|
|
184
184
|
variant: { default: "default" },
|
|
@@ -210,7 +210,7 @@ const _t = { class: "icon-wrapper" }, yt = {
|
|
|
210
210
|
]), l = c(
|
|
211
211
|
() => t.loading ? "loader" : t?.showClose ? "close-circle" : t?.tracked ? "tick-circle-bold" : "add"
|
|
212
212
|
), i = c(() => t.size === "lg" ? "sm" : "xs"), r = c(() => t.tracked || t.loading || e.value ? "blue" : "dark"), u = () => e.value = !0, d = () => e.value = !1;
|
|
213
|
-
return (m,
|
|
213
|
+
return (m, x) => (n(), f(s(Ae), S(m.$attrs, {
|
|
214
214
|
class: s(o),
|
|
215
215
|
disabled: t?.disabled || t?.loading,
|
|
216
216
|
role: "button",
|
|
@@ -218,9 +218,9 @@ const _t = { class: "icon-wrapper" }, yt = {
|
|
|
218
218
|
onMouseleave: d,
|
|
219
219
|
onMouseover: u
|
|
220
220
|
}), J({
|
|
221
|
-
icon:
|
|
221
|
+
icon: y(() => [
|
|
222
222
|
b("div", _t, [
|
|
223
|
-
|
|
223
|
+
k(M, {
|
|
224
224
|
spin: t?.loading,
|
|
225
225
|
name: s(l),
|
|
226
226
|
size: s(i)
|
|
@@ -232,29 +232,29 @@ const _t = { class: "icon-wrapper" }, yt = {
|
|
|
232
232
|
variant: s(r),
|
|
233
233
|
size: "small"
|
|
234
234
|
}, {
|
|
235
|
-
default:
|
|
236
|
-
|
|
235
|
+
default: y(() => [
|
|
236
|
+
P(C(t.badgeText), 1)
|
|
237
237
|
]),
|
|
238
238
|
_: 1
|
|
239
239
|
}, 8, ["variant"])) : g("", !0)
|
|
240
240
|
]),
|
|
241
|
-
default:
|
|
242
|
-
|
|
241
|
+
default: y(() => [
|
|
242
|
+
P(" " + C(a.keyword) + " ", 1)
|
|
243
243
|
]),
|
|
244
244
|
_: 2
|
|
245
245
|
}, [
|
|
246
|
-
j(m.$slots, (
|
|
247
|
-
name:
|
|
248
|
-
fn:
|
|
249
|
-
|
|
246
|
+
j(m.$slots, (z, I) => ({
|
|
247
|
+
name: I,
|
|
248
|
+
fn: y(() => [
|
|
249
|
+
_(m.$slots, I)
|
|
250
250
|
])
|
|
251
251
|
}))
|
|
252
252
|
]), 1040, ["class", "disabled"]));
|
|
253
253
|
}
|
|
254
254
|
});
|
|
255
|
-
const
|
|
255
|
+
const ya = [
|
|
256
256
|
"default"
|
|
257
|
-
],
|
|
257
|
+
], ha = [
|
|
258
258
|
"sm",
|
|
259
259
|
"md",
|
|
260
260
|
"lg"
|
|
@@ -269,7 +269,7 @@ const da = [
|
|
|
269
269
|
class: "ma-toggle__titles__sub-title"
|
|
270
270
|
}, $t = {
|
|
271
271
|
name: "MaToggle"
|
|
272
|
-
},
|
|
272
|
+
}, ba = /* @__PURE__ */ B({
|
|
273
273
|
...$t,
|
|
274
274
|
props: {
|
|
275
275
|
size: { default: "default" },
|
|
@@ -298,12 +298,12 @@ const da = [
|
|
|
298
298
|
}
|
|
299
299
|
]);
|
|
300
300
|
return (i, r) => (n(), p("div", {
|
|
301
|
-
class:
|
|
301
|
+
class: L(s(l))
|
|
302
302
|
}, [
|
|
303
|
-
|
|
303
|
+
k(s(Ke), S({
|
|
304
304
|
class: "ma-toggle__switch",
|
|
305
305
|
checked: s(o),
|
|
306
|
-
"onUpdate:checked": r[0] || (r[0] = (u) =>
|
|
306
|
+
"onUpdate:checked": r[0] || (r[0] = (u) => ee(o) ? o.value = u : null)
|
|
307
307
|
}, i.$attrs, {
|
|
308
308
|
onClick: r[1] || (r[1] = (u) => i.$emit("click", u)),
|
|
309
309
|
disabled: e.disabled,
|
|
@@ -319,13 +319,13 @@ const da = [
|
|
|
319
319
|
], 2));
|
|
320
320
|
}
|
|
321
321
|
});
|
|
322
|
-
const
|
|
322
|
+
const ka = [
|
|
323
323
|
"small",
|
|
324
324
|
"default",
|
|
325
325
|
"large"
|
|
326
326
|
], wt = ["aria-checked", "disabled"], Ct = {
|
|
327
327
|
name: "MaSwitch"
|
|
328
|
-
},
|
|
328
|
+
}, $a = /* @__PURE__ */ B({
|
|
329
329
|
...Ct,
|
|
330
330
|
props: {
|
|
331
331
|
active: null,
|
|
@@ -358,7 +358,7 @@ const va = [
|
|
|
358
358
|
]), i = (r) => {
|
|
359
359
|
e.disabled || (o.value = r);
|
|
360
360
|
};
|
|
361
|
-
return (r, u) => (n(), p("button",
|
|
361
|
+
return (r, u) => (n(), p("button", S(r.$attrs, {
|
|
362
362
|
class: s(l),
|
|
363
363
|
type: "button",
|
|
364
364
|
role: "switch",
|
|
@@ -366,25 +366,25 @@ const va = [
|
|
|
366
366
|
disabled: e.disabled
|
|
367
367
|
}), [
|
|
368
368
|
b("span", {
|
|
369
|
-
class:
|
|
369
|
+
class: L({ active: e.active === e.leftValue }),
|
|
370
370
|
onClick: u[0] || (u[0] = (d) => i(e.leftValue))
|
|
371
371
|
}, [
|
|
372
|
-
|
|
372
|
+
k(M, {
|
|
373
373
|
name: e.leftIcon
|
|
374
374
|
}, null, 8, ["name"])
|
|
375
375
|
], 2),
|
|
376
376
|
b("span", {
|
|
377
|
-
class:
|
|
377
|
+
class: L({ active: e.active === e.rightValue }),
|
|
378
378
|
onClick: u[1] || (u[1] = (d) => i(e.rightValue))
|
|
379
379
|
}, [
|
|
380
|
-
|
|
380
|
+
k(M, {
|
|
381
381
|
name: e.rightIcon
|
|
382
382
|
}, null, 8, ["name"])
|
|
383
383
|
], 2)
|
|
384
384
|
], 16, wt));
|
|
385
385
|
}
|
|
386
386
|
});
|
|
387
|
-
const
|
|
387
|
+
const wa = [
|
|
388
388
|
"primary",
|
|
389
389
|
"secondary"
|
|
390
390
|
], Mt = { class: "ak-tooltip-overlay__content" }, Bt = { class: "ak-tooltip-overlay__content__title" }, xt = {
|
|
@@ -392,7 +392,7 @@ const _a = [
|
|
|
392
392
|
class: "ak-tooltip-overlay__content__description"
|
|
393
393
|
}, zt = {
|
|
394
394
|
name: "MaTooltip"
|
|
395
|
-
}, ue = /* @__PURE__ */
|
|
395
|
+
}, ue = /* @__PURE__ */ B({
|
|
396
396
|
...zt,
|
|
397
397
|
props: {
|
|
398
398
|
placement: { default: "top" },
|
|
@@ -419,7 +419,7 @@ const _a = [
|
|
|
419
419
|
].join(" ")), l = D(t.defaultVisible), i = () => {
|
|
420
420
|
l.value = !1;
|
|
421
421
|
};
|
|
422
|
-
return (r, u) => (n(), f(s(
|
|
422
|
+
return (r, u) => (n(), f(s(je), S(r.$attrs, {
|
|
423
423
|
visible: l.value,
|
|
424
424
|
"onUpdate:visible": u[0] || (u[0] = (d) => l.value = d),
|
|
425
425
|
class: s(e),
|
|
@@ -428,21 +428,21 @@ const _a = [
|
|
|
428
428
|
overlayClassName: s(o),
|
|
429
429
|
"prefix-cls": "antd-tooltip"
|
|
430
430
|
}), {
|
|
431
|
-
title:
|
|
431
|
+
title: y(() => [
|
|
432
432
|
t.icon ? (n(), f(M, {
|
|
433
433
|
key: 0,
|
|
434
434
|
size: "xs",
|
|
435
435
|
name: t.icon
|
|
436
436
|
}, null, 8, ["name"])) : g("", !0),
|
|
437
|
-
|
|
437
|
+
_(r.$slots, "icon"),
|
|
438
438
|
b("div", Mt, [
|
|
439
439
|
b("span", Bt, [
|
|
440
|
-
|
|
441
|
-
|
|
440
|
+
P(C(t.title) + " ", 1),
|
|
441
|
+
_(r.$slots, "title")
|
|
442
442
|
]),
|
|
443
443
|
t?.description || r.$slots.description ? (n(), p("span", xt, [
|
|
444
|
-
|
|
445
|
-
|
|
444
|
+
P(C(t.description) + " ", 1),
|
|
445
|
+
_(r.$slots, "description")
|
|
446
446
|
])) : g("", !0)
|
|
447
447
|
]),
|
|
448
448
|
t.closable ? (n(), f(M, {
|
|
@@ -453,14 +453,14 @@ const _a = [
|
|
|
453
453
|
name: "close"
|
|
454
454
|
})) : g("", !0)
|
|
455
455
|
]),
|
|
456
|
-
default:
|
|
457
|
-
|
|
456
|
+
default: y(() => [
|
|
457
|
+
_(r.$slots, "default")
|
|
458
458
|
]),
|
|
459
459
|
_: 3
|
|
460
460
|
}, 16, ["visible", "class", "placement", "trigger", "overlayClassName"]));
|
|
461
461
|
}
|
|
462
462
|
});
|
|
463
|
-
const
|
|
463
|
+
const Ca = [
|
|
464
464
|
"top",
|
|
465
465
|
"left",
|
|
466
466
|
"right",
|
|
@@ -473,10 +473,10 @@ const ya = [
|
|
|
473
473
|
"leftBottom",
|
|
474
474
|
"rightTop",
|
|
475
475
|
"rightBottom"
|
|
476
|
-
],
|
|
476
|
+
], Ma = [
|
|
477
477
|
"primary",
|
|
478
478
|
"secondary"
|
|
479
|
-
],
|
|
479
|
+
], Ba = [
|
|
480
480
|
"hover",
|
|
481
481
|
"focus",
|
|
482
482
|
"click",
|
|
@@ -498,15 +498,15 @@ const ya = [
|
|
|
498
498
|
required: "",
|
|
499
499
|
value: "HubspotCollectedFormsWorkaround"
|
|
500
500
|
}, null, -1);
|
|
501
|
-
function
|
|
501
|
+
function Nt(a, t, e, o, l, i) {
|
|
502
502
|
return n(), p(W, null, [
|
|
503
503
|
Tt,
|
|
504
504
|
At
|
|
505
505
|
], 64);
|
|
506
506
|
}
|
|
507
|
-
const
|
|
507
|
+
const Pt = /* @__PURE__ */ It(St, [["render", Nt]]), Dt = {
|
|
508
508
|
name: "MaForm"
|
|
509
|
-
}, Lt = /* @__PURE__ */
|
|
509
|
+
}, Lt = /* @__PURE__ */ B({
|
|
510
510
|
...Dt,
|
|
511
511
|
props: {
|
|
512
512
|
nonHubspotFormsIgnore: { type: Boolean, default: !0 }
|
|
@@ -519,15 +519,15 @@ const Nt = /* @__PURE__ */ It(St, [["render", Pt]]), Dt = {
|
|
|
519
519
|
resetFields: () => o.value.resetFields(),
|
|
520
520
|
scrollToField: () => o.value.scrollToField(),
|
|
521
521
|
validateFields: () => o.value.validateFields()
|
|
522
|
-
}), (m,
|
|
522
|
+
}), (m, x) => (n(), f(s(qe), S(m.$attrs, {
|
|
523
523
|
class: "ma-form",
|
|
524
524
|
"prefix-cls": "antd-form",
|
|
525
525
|
ref_key: "form",
|
|
526
526
|
ref: o
|
|
527
527
|
}), {
|
|
528
|
-
default:
|
|
529
|
-
e.nonHubspotFormsIgnore ? (n(), f(
|
|
530
|
-
|
|
528
|
+
default: y(() => [
|
|
529
|
+
e.nonHubspotFormsIgnore ? (n(), f(Pt, { key: 0 })) : g("", !0),
|
|
530
|
+
_(m.$slots, "default")
|
|
531
531
|
]),
|
|
532
532
|
_: 3
|
|
533
533
|
}, 16));
|
|
@@ -535,22 +535,22 @@ const Nt = /* @__PURE__ */ It(St, [["render", Pt]]), Dt = {
|
|
|
535
535
|
});
|
|
536
536
|
const Et = {
|
|
537
537
|
name: "MaFormItem"
|
|
538
|
-
}, be = /* @__PURE__ */
|
|
538
|
+
}, be = /* @__PURE__ */ B({
|
|
539
539
|
...Et,
|
|
540
540
|
setup(a) {
|
|
541
|
-
return (t, e) => (n(), f(s(
|
|
541
|
+
return (t, e) => (n(), f(s(He), S(t.$attrs, {
|
|
542
542
|
class: "ma-form-item",
|
|
543
543
|
"prefix-cls": "antd-form"
|
|
544
544
|
}), J({ _: 2 }, [
|
|
545
545
|
j(t.$slots, (o, l) => ({
|
|
546
546
|
name: l,
|
|
547
|
-
fn:
|
|
548
|
-
|
|
547
|
+
fn: y(() => [
|
|
548
|
+
_(t.$slots, l)
|
|
549
549
|
])
|
|
550
550
|
}))
|
|
551
551
|
]), 1040));
|
|
552
552
|
}
|
|
553
|
-
}),
|
|
553
|
+
}), xa = [
|
|
554
554
|
"horizontal",
|
|
555
555
|
"vertical",
|
|
556
556
|
"inline"
|
|
@@ -569,7 +569,7 @@ const Et = {
|
|
|
569
569
|
small: "small",
|
|
570
570
|
medium: "medium",
|
|
571
571
|
large: "large"
|
|
572
|
-
},
|
|
572
|
+
}, za = {
|
|
573
573
|
usd: "USD",
|
|
574
574
|
eur: "EUR",
|
|
575
575
|
gbp: "GBP",
|
|
@@ -586,14 +586,14 @@ const Et = {
|
|
|
586
586
|
{ label: "JPY", value: "JPY" }
|
|
587
587
|
], Ut = {
|
|
588
588
|
name: "MaAvatar"
|
|
589
|
-
}, Rt = /* @__PURE__ */
|
|
589
|
+
}, Rt = /* @__PURE__ */ B({
|
|
590
590
|
...Ut,
|
|
591
591
|
setup(a) {
|
|
592
|
-
return (t, e) => (n(), f(s(
|
|
592
|
+
return (t, e) => (n(), f(s(We), S(t.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
|
|
593
593
|
}
|
|
594
594
|
}), Ot = { class: "dropdown-wrapper" }, Kt = { class: "mobile-header" }, jt = /* @__PURE__ */ b("label", null, "Select", -1), qt = {
|
|
595
595
|
name: "MaDropdownRender"
|
|
596
|
-
}, Ht = /* @__PURE__ */
|
|
596
|
+
}, Ht = /* @__PURE__ */ B({
|
|
597
597
|
...qt,
|
|
598
598
|
props: {
|
|
599
599
|
menu: {
|
|
@@ -619,30 +619,30 @@ const Et = {
|
|
|
619
619
|
};
|
|
620
620
|
return (r, u) => (n(), p("div", Ot, [
|
|
621
621
|
b("div", Kt, [
|
|
622
|
-
|
|
622
|
+
k(M, {
|
|
623
623
|
size: "lg",
|
|
624
624
|
name: "close-circle",
|
|
625
625
|
onClick: i
|
|
626
626
|
}),
|
|
627
627
|
jt,
|
|
628
|
-
|
|
628
|
+
k(oe, {
|
|
629
629
|
type: "grey-link",
|
|
630
630
|
onClick: i
|
|
631
631
|
}, {
|
|
632
|
-
default:
|
|
633
|
-
|
|
632
|
+
default: y(() => [
|
|
633
|
+
P("Done")
|
|
634
634
|
]),
|
|
635
635
|
_: 1
|
|
636
636
|
})
|
|
637
637
|
]),
|
|
638
|
-
|
|
638
|
+
k(ye, {
|
|
639
639
|
value: s(l),
|
|
640
|
-
"onUpdate:value": u[0] || (u[0] = (d) =>
|
|
640
|
+
"onUpdate:value": u[0] || (u[0] = (d) => ee(l) ? l.value = d : null),
|
|
641
641
|
autofocus: "",
|
|
642
642
|
placeholder: "Search",
|
|
643
643
|
"prefix-icon": "search-normal"
|
|
644
644
|
}, null, 8, ["value"]),
|
|
645
|
-
|
|
645
|
+
k(o, { vnodes: a.menu }, null, 8, ["vnodes"])
|
|
646
646
|
]));
|
|
647
647
|
}
|
|
648
648
|
}), Wt = {
|
|
@@ -650,7 +650,7 @@ const Et = {
|
|
|
650
650
|
class: "prefix-icon"
|
|
651
651
|
}, Jt = {
|
|
652
652
|
name: "MaSelect"
|
|
653
|
-
},
|
|
653
|
+
}, Ne = /* @__PURE__ */ B({
|
|
654
654
|
...Jt,
|
|
655
655
|
props: {
|
|
656
656
|
allowClear: { type: Boolean },
|
|
@@ -705,16 +705,16 @@ const Et = {
|
|
|
705
705
|
e?.dropdownClassName,
|
|
706
706
|
"ma-select-dropdown",
|
|
707
707
|
!e?.mode && (o?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
|
|
708
|
-
].join(" ")),
|
|
708
|
+
].join(" ")), x = c(() => e?.loading ? "loader" : e?.suffixIcon), z = c(() => Object.keys(o).filter((G) => !["option"].includes(G))), I = c(() => e?.showArrow || !e?.mode), N = () => {
|
|
709
709
|
i.value = !0;
|
|
710
|
-
},
|
|
710
|
+
}, $ = (G) => {
|
|
711
711
|
i.value = G, l.value = "";
|
|
712
|
-
},
|
|
712
|
+
}, h = c(() => !r.value && e?.showSearch), T = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, R = () => {
|
|
713
713
|
i.value = !1;
|
|
714
714
|
};
|
|
715
|
-
return (G, q) => (n(), f(s(
|
|
715
|
+
return (G, q) => (n(), f(s(Je), S({
|
|
716
716
|
value: s(u),
|
|
717
|
-
"onUpdate:value": q[1] || (q[1] = (v) =>
|
|
717
|
+
"onUpdate:value": q[1] || (q[1] = (v) => ee(u) ? u.value = v : null)
|
|
718
718
|
}, G.$attrs, {
|
|
719
719
|
class: s(d),
|
|
720
720
|
allowClear: e?.allowClear,
|
|
@@ -729,23 +729,23 @@ const Et = {
|
|
|
729
729
|
options: e?.options,
|
|
730
730
|
placeholder: e?.placeholder,
|
|
731
731
|
searchValue: l.value || void 0,
|
|
732
|
-
showSearch: s(
|
|
733
|
-
showArrow: s(
|
|
732
|
+
showSearch: s(h),
|
|
733
|
+
showArrow: s(I),
|
|
734
734
|
mode: e?.mode,
|
|
735
|
-
"list-height":
|
|
735
|
+
"list-height": T(),
|
|
736
736
|
size: e?.size,
|
|
737
737
|
open: i.value,
|
|
738
|
-
onClick:
|
|
739
|
-
onDropdownVisibleChange:
|
|
738
|
+
onClick: N,
|
|
739
|
+
onDropdownVisibleChange: $,
|
|
740
740
|
"prefix-cls": "antd-select"
|
|
741
741
|
}), J({
|
|
742
|
-
suffixIcon:
|
|
743
|
-
|
|
742
|
+
suffixIcon: y(() => [
|
|
743
|
+
k(M, {
|
|
744
744
|
spin: e?.loading,
|
|
745
|
-
name: s(
|
|
745
|
+
name: s(x) || "chevron-down"
|
|
746
746
|
}, null, 8, ["spin", "name"]),
|
|
747
747
|
G.$slots?.prefixIcon || e?.prefixIcon ? (n(), p("div", Wt, [
|
|
748
|
-
|
|
748
|
+
_(G.$slots, "prefixIcon", {}, () => [
|
|
749
749
|
e?.prefixIcon ? (n(), f(M, {
|
|
750
750
|
key: 0,
|
|
751
751
|
name: e?.prefixIcon
|
|
@@ -753,23 +753,23 @@ const Et = {
|
|
|
753
753
|
])
|
|
754
754
|
])) : g("", !0)
|
|
755
755
|
]),
|
|
756
|
-
removeIcon:
|
|
757
|
-
|
|
756
|
+
removeIcon: y(() => [
|
|
757
|
+
k(M, {
|
|
758
758
|
name: e?.removeIcon || "close"
|
|
759
759
|
}, null, 8, ["name"])
|
|
760
760
|
]),
|
|
761
761
|
_: 2
|
|
762
762
|
}, [
|
|
763
|
-
j(s(
|
|
763
|
+
j(s(z), (v) => ({
|
|
764
764
|
name: v,
|
|
765
|
-
fn:
|
|
766
|
-
|
|
765
|
+
fn: y(() => [
|
|
766
|
+
_(G.$slots, v)
|
|
767
767
|
])
|
|
768
768
|
})),
|
|
769
769
|
G.$slots.option ? {
|
|
770
770
|
name: "option",
|
|
771
|
-
fn:
|
|
772
|
-
|
|
771
|
+
fn: y(({ label: v, value: V }) => [
|
|
772
|
+
_(G.$slots, "option", {
|
|
773
773
|
label: v,
|
|
774
774
|
value: V
|
|
775
775
|
})
|
|
@@ -778,7 +778,7 @@ const Et = {
|
|
|
778
778
|
} : void 0,
|
|
779
779
|
e?.clearIcon ? {
|
|
780
780
|
name: "clearIcon",
|
|
781
|
-
fn:
|
|
781
|
+
fn: y(() => [
|
|
782
782
|
e?.clearIcon ? (n(), f(M, {
|
|
783
783
|
key: 0,
|
|
784
784
|
name: e?.clearIcon
|
|
@@ -788,8 +788,8 @@ const Et = {
|
|
|
788
788
|
} : void 0,
|
|
789
789
|
e?.menuItemSelectedIcon ? {
|
|
790
790
|
name: "menuItemSelectedIcon",
|
|
791
|
-
fn:
|
|
792
|
-
|
|
791
|
+
fn: y(() => [
|
|
792
|
+
k(M, {
|
|
793
793
|
name: e?.menuItemSelectedIcon
|
|
794
794
|
}, null, 8, ["name"])
|
|
795
795
|
]),
|
|
@@ -797,19 +797,19 @@ const Et = {
|
|
|
797
797
|
} : void 0,
|
|
798
798
|
G.$slots.notFoundContent ? void 0 : {
|
|
799
799
|
name: "notFoundContent",
|
|
800
|
-
fn:
|
|
801
|
-
|
|
800
|
+
fn: y(() => [
|
|
801
|
+
k(M, {
|
|
802
802
|
size: "sm",
|
|
803
803
|
name: "warning"
|
|
804
804
|
}),
|
|
805
|
-
|
|
805
|
+
P(" No result found! ")
|
|
806
806
|
]),
|
|
807
807
|
key: "3"
|
|
808
808
|
},
|
|
809
809
|
s(r) && i.value ? {
|
|
810
810
|
name: "dropdownRender",
|
|
811
|
-
fn:
|
|
812
|
-
|
|
811
|
+
fn: y(({ menuNode: v }) => [
|
|
812
|
+
k(Ht, {
|
|
813
813
|
filter: l.value,
|
|
814
814
|
"onUpdate:filter": q[0] || (q[0] = (V) => l.value = V),
|
|
815
815
|
menu: v,
|
|
@@ -833,7 +833,7 @@ const Yt = ["for"], Zt = {
|
|
|
833
833
|
}, eo = {
|
|
834
834
|
name: "MaInput",
|
|
835
835
|
inheritAttrs: !1
|
|
836
|
-
}, ye = /* @__PURE__ */
|
|
836
|
+
}, ye = /* @__PURE__ */ B({
|
|
837
837
|
...eo,
|
|
838
838
|
props: {
|
|
839
839
|
allowClear: { type: Boolean },
|
|
@@ -863,7 +863,7 @@ const Yt = ["for"], Zt = {
|
|
|
863
863
|
"focusout"
|
|
864
864
|
],
|
|
865
865
|
setup(a, { emit: t }) {
|
|
866
|
-
const e = a, o =
|
|
866
|
+
const e = a, o = Ee(), l = D(null), i = c(() => [se.amount, se.creditCard].includes(e.type) ? "number" : e.type === se.userInfo ? "text" : e.type), r = c(() => [
|
|
867
867
|
`ma-input ak-input ak-input--${e.type} ak-input--${e.size} ${o?.class}`,
|
|
868
868
|
{
|
|
869
869
|
"ak-input--has-error": e.hasError
|
|
@@ -881,19 +881,19 @@ const Yt = ["for"], Zt = {
|
|
|
881
881
|
set(v) {
|
|
882
882
|
t("update:value", v);
|
|
883
883
|
}
|
|
884
|
-
}), m = c(() => e.amountCurrency ? Vt[e.amountCurrency] : null),
|
|
884
|
+
}), m = c(() => e.amountCurrency ? Vt[e.amountCurrency] : null), x = c({
|
|
885
885
|
get() {
|
|
886
886
|
return e.amountCurrency;
|
|
887
887
|
},
|
|
888
888
|
set(v) {
|
|
889
889
|
t("update:amountCurrency", v);
|
|
890
890
|
}
|
|
891
|
-
}),
|
|
892
|
-
let v = { ...o, ...
|
|
891
|
+
}), z = c(() => e.type === se.password ? Ye : Ze), I = c(() => e.type === se.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), N = c(() => e.type === se.url ? "https" : e?.addonBefore), $ = c(() => {
|
|
892
|
+
let v = { ...o, ...I.value };
|
|
893
893
|
return o?.class && delete v?.class, v;
|
|
894
|
-
}),
|
|
894
|
+
}), h = (v) => {
|
|
895
895
|
t("change", v);
|
|
896
|
-
},
|
|
896
|
+
}, T = (v) => {
|
|
897
897
|
t("currency-change", v);
|
|
898
898
|
}, R = () => {
|
|
899
899
|
l.value.focus();
|
|
@@ -903,9 +903,9 @@ const Yt = ["for"], Zt = {
|
|
|
903
903
|
t("focusout", v);
|
|
904
904
|
};
|
|
905
905
|
return (v, V) => (n(), p("div", {
|
|
906
|
-
class:
|
|
906
|
+
class: L(s(r))
|
|
907
907
|
}, [
|
|
908
|
-
|
|
908
|
+
_(v.$slots, "title"),
|
|
909
909
|
e.title ? (n(), p("label", {
|
|
910
910
|
key: 0,
|
|
911
911
|
onClick: R,
|
|
@@ -913,24 +913,24 @@ const Yt = ["for"], Zt = {
|
|
|
913
913
|
for: v.$attrs?.id
|
|
914
914
|
}, C(e.title), 9, Yt)) : g("", !0),
|
|
915
915
|
e.type !== "textarea" ? (n(), p("div", Zt, [
|
|
916
|
-
(n(), f(ae(s(
|
|
916
|
+
(n(), f(ae(s(z)), S({
|
|
917
917
|
value: s(d),
|
|
918
|
-
"onUpdate:value": V[1] || (V[1] = (U) =>
|
|
919
|
-
}, s(
|
|
918
|
+
"onUpdate:value": V[1] || (V[1] = (U) => ee(d) ? d.value = U : null)
|
|
919
|
+
}, s($), {
|
|
920
920
|
allowClear: e?.allowClear,
|
|
921
921
|
type: s(i),
|
|
922
922
|
disabled: e?.disabled,
|
|
923
923
|
placeholder: e?.placeholder,
|
|
924
|
-
addonBefore: s(
|
|
924
|
+
addonBefore: s(N),
|
|
925
925
|
addonAfter: a.addonAfter,
|
|
926
926
|
class: s(u),
|
|
927
|
-
onChange:
|
|
927
|
+
onChange: h,
|
|
928
928
|
onFocus: G,
|
|
929
929
|
onFocusout: q,
|
|
930
930
|
ref_key: "inputRef",
|
|
931
931
|
ref: l
|
|
932
932
|
}), J({
|
|
933
|
-
prefix:
|
|
933
|
+
prefix: y(() => [
|
|
934
934
|
e.prefixIcon ? (n(), f(M, {
|
|
935
935
|
key: 0,
|
|
936
936
|
size: "xs",
|
|
@@ -941,12 +941,12 @@ const Yt = ["for"], Zt = {
|
|
|
941
941
|
disabled: e.disabled
|
|
942
942
|
}, null, 8, ["src", "disabled"])) : g("", !0)
|
|
943
943
|
]),
|
|
944
|
-
suffix:
|
|
945
|
-
e.type === "amount" ? (n(), f(
|
|
944
|
+
suffix: y(() => [
|
|
945
|
+
e.type === "amount" ? (n(), f(Ne, {
|
|
946
946
|
key: 0,
|
|
947
|
-
value: s(
|
|
948
|
-
"onUpdate:value": V[0] || (V[0] = (U) =>
|
|
949
|
-
onChange:
|
|
947
|
+
value: s(x),
|
|
948
|
+
"onUpdate:value": V[0] || (V[0] = (U) => ee(x) ? x.value = U : null),
|
|
949
|
+
onChange: T,
|
|
950
950
|
dropdownClassName: "ak-input__input__ma-select__dropdown",
|
|
951
951
|
options: s(Gt),
|
|
952
952
|
disabled: e.disabled,
|
|
@@ -962,62 +962,62 @@ const Yt = ["for"], Zt = {
|
|
|
962
962
|
}, [
|
|
963
963
|
j(v.$slots, (U, Y) => ({
|
|
964
964
|
name: Y,
|
|
965
|
-
fn:
|
|
966
|
-
|
|
965
|
+
fn: y(() => [
|
|
966
|
+
_(v.$slots, Y)
|
|
967
967
|
])
|
|
968
968
|
}))
|
|
969
969
|
]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter", "class"]))
|
|
970
|
-
])) : (n(), f(s(
|
|
970
|
+
])) : (n(), f(s(Xe), S({
|
|
971
971
|
key: 2,
|
|
972
972
|
value: s(d),
|
|
973
|
-
"onUpdate:value": V[2] || (V[2] = (U) =>
|
|
974
|
-
}, s(
|
|
973
|
+
"onUpdate:value": V[2] || (V[2] = (U) => ee(d) ? d.value = U : null)
|
|
974
|
+
}, s($), {
|
|
975
975
|
class: s(u),
|
|
976
976
|
disabled: e?.disabled,
|
|
977
977
|
placeholder: e?.placeholder,
|
|
978
|
-
onChange:
|
|
978
|
+
onChange: h,
|
|
979
979
|
ref_key: "inputRef",
|
|
980
980
|
ref: l
|
|
981
981
|
}), J({ _: 2 }, [
|
|
982
982
|
j(v.$slots, (U, Y) => ({
|
|
983
983
|
name: Y,
|
|
984
|
-
fn:
|
|
985
|
-
|
|
984
|
+
fn: y(() => [
|
|
985
|
+
_(v.$slots, Y)
|
|
986
986
|
])
|
|
987
987
|
}))
|
|
988
988
|
]), 1040, ["value", "class", "disabled", "placeholder"])),
|
|
989
|
-
|
|
989
|
+
_(v.$slots, "hint"),
|
|
990
990
|
e.hintText ? (n(), p("div", Qt, C(e.hintText), 1)) : g("", !0)
|
|
991
991
|
], 2));
|
|
992
992
|
}
|
|
993
993
|
});
|
|
994
994
|
const to = {
|
|
995
995
|
name: "MaSelectOption"
|
|
996
|
-
}, oo = /* @__PURE__ */
|
|
996
|
+
}, oo = /* @__PURE__ */ B({
|
|
997
997
|
...to,
|
|
998
998
|
setup(a) {
|
|
999
|
-
return (t, e) => (n(), f(s(
|
|
999
|
+
return (t, e) => (n(), f(s(Qe), S(t.$attrs, {
|
|
1000
1000
|
class: "ma-select-option",
|
|
1001
1001
|
"prefix-cls": "antd-select"
|
|
1002
1002
|
}), J({ _: 2 }, [
|
|
1003
1003
|
j(t.$slots, (o, l) => ({
|
|
1004
1004
|
name: l,
|
|
1005
|
-
fn:
|
|
1006
|
-
|
|
1005
|
+
fn: y(() => [
|
|
1006
|
+
_(t.$slots, l)
|
|
1007
1007
|
])
|
|
1008
1008
|
}))
|
|
1009
1009
|
]), 1040));
|
|
1010
1010
|
}
|
|
1011
|
-
}),
|
|
1011
|
+
}), Sa = [
|
|
1012
1012
|
"default",
|
|
1013
1013
|
"large",
|
|
1014
1014
|
"small"
|
|
1015
|
-
],
|
|
1015
|
+
], Ia = [
|
|
1016
1016
|
"multiple",
|
|
1017
1017
|
"tags"
|
|
1018
1018
|
], so = {
|
|
1019
1019
|
name: "MaCheckbox"
|
|
1020
|
-
},
|
|
1020
|
+
}, no = /* @__PURE__ */ B({
|
|
1021
1021
|
...so,
|
|
1022
1022
|
props: {
|
|
1023
1023
|
hint: null,
|
|
@@ -1032,7 +1032,7 @@ const to = {
|
|
|
1032
1032
|
"ak-checkbox--intermediate": typeof t?.indeterminate == "boolean"
|
|
1033
1033
|
}
|
|
1034
1034
|
]);
|
|
1035
|
-
return (o, l) => (n(), f(s(
|
|
1035
|
+
return (o, l) => (n(), f(s(et), S(o.$attrs, {
|
|
1036
1036
|
class: s(e),
|
|
1037
1037
|
disabled: t?.disabled,
|
|
1038
1038
|
indeterminate: t?.indeterminate,
|
|
@@ -1040,8 +1040,8 @@ const to = {
|
|
|
1040
1040
|
}), J({ _: 2 }, [
|
|
1041
1041
|
j(o.$slots, (i, r) => ({
|
|
1042
1042
|
name: r,
|
|
1043
|
-
fn:
|
|
1044
|
-
|
|
1043
|
+
fn: y(() => [
|
|
1044
|
+
_(o.$slots, r),
|
|
1045
1045
|
t.hint ? (n(), p("div", {
|
|
1046
1046
|
key: r,
|
|
1047
1047
|
class: "ak-checkbox__hint-text"
|
|
@@ -1051,24 +1051,24 @@ const to = {
|
|
|
1051
1051
|
]), 1040, ["class", "disabled", "indeterminate"]));
|
|
1052
1052
|
}
|
|
1053
1053
|
});
|
|
1054
|
-
const
|
|
1054
|
+
const ao = {
|
|
1055
1055
|
name: "MaCheckboxGroup"
|
|
1056
|
-
},
|
|
1057
|
-
...
|
|
1056
|
+
}, Ta = /* @__PURE__ */ B({
|
|
1057
|
+
...ao,
|
|
1058
1058
|
props: {
|
|
1059
1059
|
hint: null,
|
|
1060
1060
|
disabled: { type: Boolean }
|
|
1061
1061
|
},
|
|
1062
1062
|
setup(a) {
|
|
1063
1063
|
const t = a;
|
|
1064
|
-
return (e, o) => (n(), f(s(
|
|
1064
|
+
return (e, o) => (n(), f(s(tt), S(e.$attrs, {
|
|
1065
1065
|
class: "ak-checkbox-group ma-checkbox-group",
|
|
1066
1066
|
"prefix-cls": "antd-checkbox"
|
|
1067
1067
|
}), J({ _: 2 }, [
|
|
1068
1068
|
j(e.$slots, (l, i) => ({
|
|
1069
1069
|
name: i,
|
|
1070
|
-
fn:
|
|
1071
|
-
|
|
1070
|
+
fn: y(() => [
|
|
1071
|
+
_(e.$slots, i),
|
|
1072
1072
|
t.hint ? (n(), p("div", {
|
|
1073
1073
|
key: i,
|
|
1074
1074
|
class: "ak-checkbox__hint-text"
|
|
@@ -1077,7 +1077,7 @@ const no = {
|
|
|
1077
1077
|
}))
|
|
1078
1078
|
]), 1040));
|
|
1079
1079
|
}
|
|
1080
|
-
}),
|
|
1080
|
+
}), lo = ["value"], io = /* @__PURE__ */ B({
|
|
1081
1081
|
__name: "singleNumericInput",
|
|
1082
1082
|
props: {
|
|
1083
1083
|
value: { default: "" },
|
|
@@ -1095,7 +1095,7 @@ const no = {
|
|
|
1095
1095
|
const l = (i) => {
|
|
1096
1096
|
t("update:value", i.target.value);
|
|
1097
1097
|
};
|
|
1098
|
-
return (i, r) => (n(), p("input",
|
|
1098
|
+
return (i, r) => (n(), p("input", S(i.$attrs, {
|
|
1099
1099
|
value: e.value,
|
|
1100
1100
|
onInput: l,
|
|
1101
1101
|
ref_key: "input",
|
|
@@ -1106,12 +1106,12 @@ const no = {
|
|
|
1106
1106
|
maxlength: "1",
|
|
1107
1107
|
pattern: "[0-9]",
|
|
1108
1108
|
inputmode: "numeric"
|
|
1109
|
-
}), null, 16,
|
|
1109
|
+
}), null, 16, lo));
|
|
1110
1110
|
}
|
|
1111
|
-
}),
|
|
1111
|
+
}), ro = {
|
|
1112
1112
|
name: "MaNumericInput"
|
|
1113
|
-
},
|
|
1114
|
-
...
|
|
1113
|
+
}, Aa = /* @__PURE__ */ B({
|
|
1114
|
+
...ro,
|
|
1115
1115
|
props: {
|
|
1116
1116
|
disabled: { type: Boolean },
|
|
1117
1117
|
length: { default: 6 },
|
|
@@ -1122,7 +1122,7 @@ const no = {
|
|
|
1122
1122
|
},
|
|
1123
1123
|
emits: ["update:value"],
|
|
1124
1124
|
setup(a, { emit: t }) {
|
|
1125
|
-
const e = a, o = D(null), l = D(Array.from({ length: e.length }, (
|
|
1125
|
+
const e = a, o = D(null), l = D(Array.from({ length: e.length }, ($, h) => e.value[h] || null)), i = c(() => [
|
|
1126
1126
|
"ma-numeric-input",
|
|
1127
1127
|
`ma-numeric-input--${e.size}`,
|
|
1128
1128
|
{
|
|
@@ -1131,68 +1131,68 @@ const no = {
|
|
|
1131
1131
|
{
|
|
1132
1132
|
"ma-numeric-input--disabled": e?.disabled
|
|
1133
1133
|
}
|
|
1134
|
-
]), r = c(() => e?.placeholderStatus ? "0" : null), u = (
|
|
1135
|
-
switch (
|
|
1134
|
+
]), r = c(() => e?.placeholderStatus ? "0" : null), u = ($) => /^Digit[0-9]$/.test($), d = ($) => o.value = $, m = ($, h) => {
|
|
1135
|
+
switch ($.code) {
|
|
1136
1136
|
case "Backspace":
|
|
1137
1137
|
case "Delete":
|
|
1138
|
-
|
|
1138
|
+
I("", h), z();
|
|
1139
1139
|
break;
|
|
1140
1140
|
case "ArrowLeft":
|
|
1141
|
-
|
|
1141
|
+
$.preventDefault(), z();
|
|
1142
1142
|
break;
|
|
1143
1143
|
case "ArrowRight":
|
|
1144
|
-
|
|
1144
|
+
$.preventDefault(), x();
|
|
1145
1145
|
break;
|
|
1146
1146
|
default:
|
|
1147
|
-
u(
|
|
1147
|
+
u($.code) && ($.preventDefault(), I($.key, h), x());
|
|
1148
1148
|
break;
|
|
1149
1149
|
}
|
|
1150
|
-
},
|
|
1150
|
+
}, x = () => {
|
|
1151
1151
|
o.value < e.length && o.value++;
|
|
1152
|
-
},
|
|
1152
|
+
}, z = () => {
|
|
1153
1153
|
e.length >= o.value && o.value > 0 && o.value--;
|
|
1154
|
-
},
|
|
1155
|
-
l.value[
|
|
1156
|
-
},
|
|
1157
|
-
|
|
1158
|
-
const
|
|
1159
|
-
|
|
1154
|
+
}, I = ($, h) => {
|
|
1155
|
+
l.value[h] = $;
|
|
1156
|
+
}, N = ($, h) => {
|
|
1157
|
+
$.preventDefault();
|
|
1158
|
+
const T = $.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
|
|
1159
|
+
T.length === 1 && T.match(/^\d+$/) ? l.value[h] = T : T.match(/^\d+$/) && (l.value = T.split(""));
|
|
1160
1160
|
};
|
|
1161
1161
|
return pe(
|
|
1162
1162
|
() => l.value,
|
|
1163
|
-
(
|
|
1164
|
-
const
|
|
1165
|
-
t("update:value",
|
|
1163
|
+
($) => {
|
|
1164
|
+
const h = $.join("");
|
|
1165
|
+
t("update:value", h);
|
|
1166
1166
|
},
|
|
1167
1167
|
{ deep: !0 }
|
|
1168
1168
|
), pe(
|
|
1169
1169
|
() => e.value,
|
|
1170
|
-
(
|
|
1171
|
-
|
|
1170
|
+
($) => {
|
|
1171
|
+
$ !== l.value.join("") && $ && $.match(/^\d+$/) && (l.value = $.split("").slice(0, e.length));
|
|
1172
1172
|
}
|
|
1173
|
-
), (
|
|
1174
|
-
(n(!0), p(W, null, j(e.length, (
|
|
1175
|
-
focus: o.value ===
|
|
1176
|
-
key:
|
|
1173
|
+
), ($, h) => (n(), p("div", S({ class: s(i) }, $.$attrs), [
|
|
1174
|
+
(n(!0), p(W, null, j(e.length, (T) => (n(), f(io, {
|
|
1175
|
+
focus: o.value === T - 1,
|
|
1176
|
+
key: T,
|
|
1177
1177
|
placeholder: s(r),
|
|
1178
|
-
value: l.value[
|
|
1178
|
+
value: l.value[T - 1],
|
|
1179
1179
|
disabled: e.disabled,
|
|
1180
|
-
onFocus: (R) => d(
|
|
1181
|
-
onKeydown: (R) => m(R,
|
|
1182
|
-
onPaste: (R) =>
|
|
1180
|
+
onFocus: (R) => d(T - 1),
|
|
1181
|
+
onKeydown: (R) => m(R, T - 1),
|
|
1182
|
+
onPaste: (R) => N(R, T - 1),
|
|
1183
1183
|
class: "ma-numeric-input__input"
|
|
1184
1184
|
}, null, 8, ["focus", "placeholder", "value", "disabled", "onFocus", "onKeydown", "onPaste"]))), 128))
|
|
1185
1185
|
], 16));
|
|
1186
1186
|
}
|
|
1187
1187
|
});
|
|
1188
|
-
const
|
|
1188
|
+
const Na = [
|
|
1189
1189
|
"small",
|
|
1190
1190
|
"medium",
|
|
1191
1191
|
"large"
|
|
1192
|
-
],
|
|
1192
|
+
], co = {
|
|
1193
1193
|
name: "MaRadio"
|
|
1194
|
-
},
|
|
1195
|
-
...
|
|
1194
|
+
}, po = /* @__PURE__ */ B({
|
|
1195
|
+
...co,
|
|
1196
1196
|
props: {
|
|
1197
1197
|
type: { default: "button" },
|
|
1198
1198
|
hint: null,
|
|
@@ -1200,14 +1200,14 @@ const za = [
|
|
|
1200
1200
|
},
|
|
1201
1201
|
setup(a) {
|
|
1202
1202
|
const t = a, e = c(() => [`ma-radio ma-radio--${t.type}`]);
|
|
1203
|
-
return (o, l) => (n(), f(s(
|
|
1203
|
+
return (o, l) => (n(), f(s(ot), S(o.$attrs, {
|
|
1204
1204
|
class: s(e),
|
|
1205
1205
|
"prefix-cls": "antd-radio"
|
|
1206
1206
|
}), J({ _: 2 }, [
|
|
1207
1207
|
j(o.$slots, (i, r) => ({
|
|
1208
1208
|
name: r,
|
|
1209
|
-
fn:
|
|
1210
|
-
|
|
1209
|
+
fn: y(() => [
|
|
1210
|
+
_(o.$slots, r),
|
|
1211
1211
|
t.hint ? (n(), p("div", {
|
|
1212
1212
|
key: r,
|
|
1213
1213
|
class: "ma-radio__hint-text"
|
|
@@ -1217,13 +1217,13 @@ const za = [
|
|
|
1217
1217
|
]), 1040, ["class"]));
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
|
-
const
|
|
1220
|
+
const uo = ["aria-checked", "disabled"], mo = ["src", "alt"], go = { class: "ma-app-track-button__text" }, vo = { class: "ma-app-track-button__text__title" }, fo = {
|
|
1221
1221
|
key: 0,
|
|
1222
1222
|
class: "ma-app-track-button__text__category"
|
|
1223
|
-
},
|
|
1223
|
+
}, _o = { class: "ma-app-track-button__check" }, yo = {
|
|
1224
1224
|
name: "MaAppTrackButton"
|
|
1225
|
-
},
|
|
1226
|
-
...
|
|
1225
|
+
}, Pa = /* @__PURE__ */ B({
|
|
1226
|
+
...yo,
|
|
1227
1227
|
props: {
|
|
1228
1228
|
checked: { type: Boolean, default: !1 },
|
|
1229
1229
|
appIcon: null,
|
|
@@ -1249,7 +1249,7 @@ const po = ["aria-checked", "disabled"], uo = ["src", "alt"], mo = { class: "ma-
|
|
|
1249
1249
|
"ma-app-track-button--loading": e.loading
|
|
1250
1250
|
}
|
|
1251
1251
|
]);
|
|
1252
|
-
return (i, r) => (n(), p("button",
|
|
1252
|
+
return (i, r) => (n(), p("button", S({
|
|
1253
1253
|
class: s(l),
|
|
1254
1254
|
role: "switch",
|
|
1255
1255
|
"aria-checked": e.checked,
|
|
@@ -1260,23 +1260,23 @@ const po = ["aria-checked", "disabled"], uo = ["src", "alt"], mo = { class: "ma-
|
|
|
1260
1260
|
alt: e.appName,
|
|
1261
1261
|
width: "40",
|
|
1262
1262
|
height: "40"
|
|
1263
|
-
}, null, 8,
|
|
1264
|
-
b("span",
|
|
1265
|
-
b("span",
|
|
1266
|
-
e.appCategory ? (n(), p("span",
|
|
1263
|
+
}, null, 8, mo),
|
|
1264
|
+
b("span", go, [
|
|
1265
|
+
b("span", vo, C(e.appName), 1),
|
|
1266
|
+
e.appCategory ? (n(), p("span", fo, C(e?.appCategory), 1)) : g("", !0)
|
|
1267
1267
|
]),
|
|
1268
|
-
b("span",
|
|
1269
|
-
|
|
1268
|
+
b("span", _o, [
|
|
1269
|
+
k(xe, {
|
|
1270
1270
|
name: "fade",
|
|
1271
1271
|
mode: "out-in"
|
|
1272
1272
|
}, {
|
|
1273
|
-
default:
|
|
1273
|
+
default: y(() => [
|
|
1274
1274
|
e.loading ? (n(), f(M, {
|
|
1275
1275
|
key: 0,
|
|
1276
1276
|
name: "loader",
|
|
1277
1277
|
size: "xs",
|
|
1278
1278
|
spin: ""
|
|
1279
|
-
})) : !e.multiple || e.checked ? (n(), f(
|
|
1279
|
+
})) : !e.multiple || e.checked ? (n(), f(po, {
|
|
1280
1280
|
key: 1,
|
|
1281
1281
|
checked: e.checked,
|
|
1282
1282
|
type: "check"
|
|
@@ -1289,31 +1289,31 @@ const po = ["aria-checked", "disabled"], uo = ["src", "alt"], mo = { class: "ma-
|
|
|
1289
1289
|
_: 1
|
|
1290
1290
|
})
|
|
1291
1291
|
])
|
|
1292
|
-
], 16,
|
|
1292
|
+
], 16, uo));
|
|
1293
1293
|
}
|
|
1294
1294
|
});
|
|
1295
|
-
const
|
|
1295
|
+
const ho = { class: "ak-app-icon__logo" }, bo = ["src"], ko = {
|
|
1296
1296
|
key: 1,
|
|
1297
1297
|
class: "ak-app-icon-platform"
|
|
1298
|
-
},
|
|
1298
|
+
}, $o = {
|
|
1299
1299
|
key: 1,
|
|
1300
1300
|
class: "ak-app-icon__logo"
|
|
1301
|
-
},
|
|
1301
|
+
}, wo = ["src"], Co = {
|
|
1302
1302
|
key: 1,
|
|
1303
1303
|
class: "ak-app-icon-platform"
|
|
1304
|
-
},
|
|
1304
|
+
}, Mo = {
|
|
1305
1305
|
key: 2,
|
|
1306
1306
|
class: "ak-app-icon__text"
|
|
1307
|
-
},
|
|
1307
|
+
}, Bo = {
|
|
1308
1308
|
key: 0,
|
|
1309
1309
|
class: "ak-app-name"
|
|
1310
|
-
},
|
|
1310
|
+
}, xo = {
|
|
1311
1311
|
key: 1,
|
|
1312
1312
|
class: "ak-app-description"
|
|
1313
|
-
},
|
|
1313
|
+
}, zo = {
|
|
1314
1314
|
name: "MaAppIcon"
|
|
1315
|
-
},
|
|
1316
|
-
...
|
|
1315
|
+
}, So = /* @__PURE__ */ B({
|
|
1316
|
+
...zo,
|
|
1317
1317
|
props: {
|
|
1318
1318
|
appIcon: null,
|
|
1319
1319
|
appName: null,
|
|
@@ -1342,17 +1342,17 @@ const yo = { class: "ak-app-icon__logo" }, ho = ["src"], bo = {
|
|
|
1342
1342
|
...e.tooltipProps
|
|
1343
1343
|
}));
|
|
1344
1344
|
return (u, d) => (n(), p("div", {
|
|
1345
|
-
class:
|
|
1345
|
+
class: L(s(l))
|
|
1346
1346
|
}, [
|
|
1347
|
-
e.showTooltip ? (n(), f(ue, ze(
|
|
1348
|
-
default:
|
|
1349
|
-
b("div",
|
|
1347
|
+
e.showTooltip ? (n(), f(ue, ze(S({ key: 0 }, s(r))), {
|
|
1348
|
+
default: y(() => [
|
|
1349
|
+
b("div", ho, [
|
|
1350
1350
|
e.closable ? (n(), p("span", {
|
|
1351
1351
|
key: 0,
|
|
1352
1352
|
onClick: i,
|
|
1353
1353
|
class: "ak-app-icon-closable"
|
|
1354
1354
|
}, [
|
|
1355
|
-
|
|
1355
|
+
k(M, {
|
|
1356
1356
|
size: "xs",
|
|
1357
1357
|
name: "close-circle"
|
|
1358
1358
|
})
|
|
@@ -1360,9 +1360,9 @@ const yo = { class: "ak-app-icon__logo" }, ho = ["src"], bo = {
|
|
|
1360
1360
|
b("img", {
|
|
1361
1361
|
class: "ak-app-icon-img",
|
|
1362
1362
|
src: e.appIcon
|
|
1363
|
-
}, null, 8,
|
|
1364
|
-
e?.platform ? (n(), p("span",
|
|
1365
|
-
|
|
1363
|
+
}, null, 8, bo),
|
|
1364
|
+
e?.platform ? (n(), p("span", ko, [
|
|
1365
|
+
k(M, {
|
|
1366
1366
|
size: "xs",
|
|
1367
1367
|
name: s(o)
|
|
1368
1368
|
}, null, 8, ["name"])
|
|
@@ -1370,13 +1370,13 @@ const yo = { class: "ak-app-icon__logo" }, ho = ["src"], bo = {
|
|
|
1370
1370
|
])
|
|
1371
1371
|
]),
|
|
1372
1372
|
_: 1
|
|
1373
|
-
}, 16)) : (n(), p("div",
|
|
1373
|
+
}, 16)) : (n(), p("div", $o, [
|
|
1374
1374
|
e.closable ? (n(), p("span", {
|
|
1375
1375
|
key: 0,
|
|
1376
1376
|
onClick: i,
|
|
1377
1377
|
class: "ak-app-icon-closable"
|
|
1378
1378
|
}, [
|
|
1379
|
-
|
|
1379
|
+
k(M, {
|
|
1380
1380
|
size: "xs",
|
|
1381
1381
|
name: "close-circle"
|
|
1382
1382
|
})
|
|
@@ -1384,48 +1384,48 @@ const yo = { class: "ak-app-icon__logo" }, ho = ["src"], bo = {
|
|
|
1384
1384
|
b("img", {
|
|
1385
1385
|
class: "ak-app-icon-img",
|
|
1386
1386
|
src: e.appIcon
|
|
1387
|
-
}, null, 8,
|
|
1388
|
-
e?.platform ? (n(), p("span",
|
|
1389
|
-
|
|
1387
|
+
}, null, 8, wo),
|
|
1388
|
+
e?.platform ? (n(), p("span", Co, [
|
|
1389
|
+
k(M, {
|
|
1390
1390
|
size: "xs",
|
|
1391
1391
|
name: s(o)
|
|
1392
1392
|
}, null, 8, ["name"])
|
|
1393
1393
|
])) : g("", !0)
|
|
1394
1394
|
])),
|
|
1395
|
-
e?.appName || e?.appDescription ? (n(), p("div",
|
|
1396
|
-
e?.appName ? (n(), p("span",
|
|
1397
|
-
e?.appDescription ? (n(), p("span",
|
|
1395
|
+
e?.appName || e?.appDescription ? (n(), p("div", Mo, [
|
|
1396
|
+
e?.appName ? (n(), p("span", Bo, C(e.appName), 1)) : g("", !0),
|
|
1397
|
+
e?.appDescription ? (n(), p("span", xo, C(e.appDescription), 1)) : g("", !0)
|
|
1398
1398
|
])) : g("", !0)
|
|
1399
1399
|
], 2));
|
|
1400
1400
|
}
|
|
1401
1401
|
});
|
|
1402
|
-
const
|
|
1402
|
+
const Da = [
|
|
1403
1403
|
"x-small",
|
|
1404
1404
|
"small",
|
|
1405
1405
|
"medium",
|
|
1406
1406
|
"large",
|
|
1407
1407
|
"x-large"
|
|
1408
|
-
],
|
|
1408
|
+
], La = [
|
|
1409
1409
|
"play",
|
|
1410
1410
|
"ios"
|
|
1411
|
-
],
|
|
1411
|
+
], Io = {
|
|
1412
1412
|
name: "MaRadioGroup"
|
|
1413
|
-
},
|
|
1414
|
-
...
|
|
1413
|
+
}, Ea = /* @__PURE__ */ B({
|
|
1414
|
+
...Io,
|
|
1415
1415
|
setup(a) {
|
|
1416
|
-
return (t, e) => (n(), f(s(
|
|
1416
|
+
return (t, e) => (n(), f(s(st), S(t.$attrs, { "prefix-cls": "antd-radio" }), J({ _: 2 }, [
|
|
1417
1417
|
j(t.$slots, (o, l) => ({
|
|
1418
1418
|
name: l,
|
|
1419
|
-
fn:
|
|
1420
|
-
|
|
1419
|
+
fn: y(() => [
|
|
1420
|
+
_(t.$slots, l)
|
|
1421
1421
|
])
|
|
1422
1422
|
}))
|
|
1423
1423
|
]), 1040));
|
|
1424
1424
|
}
|
|
1425
|
-
}),
|
|
1425
|
+
}), Fa = [
|
|
1426
1426
|
"button",
|
|
1427
1427
|
"check"
|
|
1428
|
-
],
|
|
1428
|
+
], Va = [
|
|
1429
1429
|
"dark",
|
|
1430
1430
|
"blue",
|
|
1431
1431
|
"green",
|
|
@@ -1433,23 +1433,23 @@ const Ta = [
|
|
|
1433
1433
|
"red",
|
|
1434
1434
|
"purple",
|
|
1435
1435
|
"purple-light"
|
|
1436
|
-
],
|
|
1436
|
+
], Ga = [
|
|
1437
1437
|
"primary",
|
|
1438
1438
|
"secondary",
|
|
1439
1439
|
"line",
|
|
1440
1440
|
"dashed",
|
|
1441
1441
|
"icon"
|
|
1442
|
-
],
|
|
1442
|
+
], Ua = [
|
|
1443
1443
|
"small",
|
|
1444
1444
|
"medium",
|
|
1445
1445
|
"large"
|
|
1446
|
-
],
|
|
1446
|
+
], Ra = [
|
|
1447
1447
|
"left",
|
|
1448
1448
|
"right"
|
|
1449
|
-
],
|
|
1449
|
+
], To = {
|
|
1450
1450
|
name: "MaAlert"
|
|
1451
|
-
},
|
|
1452
|
-
...
|
|
1451
|
+
}, Oa = /* @__PURE__ */ B({
|
|
1452
|
+
...To,
|
|
1453
1453
|
props: {
|
|
1454
1454
|
variant: { default: "dark" },
|
|
1455
1455
|
type: { default: "primary" },
|
|
@@ -1460,7 +1460,7 @@ const Ta = [
|
|
|
1460
1460
|
},
|
|
1461
1461
|
setup(a) {
|
|
1462
1462
|
const t = a, e = le(), o = c(() => [`ma-alert ak-alert ak-alert--${t.variant}--${t.type}`]), l = c(() => !!t?.icon || !!e?.icon);
|
|
1463
|
-
return (i, r) => (n(), f(s(
|
|
1463
|
+
return (i, r) => (n(), f(s(nt), S(i.$attrs, {
|
|
1464
1464
|
class: s(o),
|
|
1465
1465
|
description: a.description,
|
|
1466
1466
|
message: a.message,
|
|
@@ -1468,43 +1468,43 @@ const Ta = [
|
|
|
1468
1468
|
showIcon: s(l),
|
|
1469
1469
|
"prefix-cls": "antd-alert"
|
|
1470
1470
|
}), {
|
|
1471
|
-
closeIcon:
|
|
1472
|
-
|
|
1471
|
+
closeIcon: y(() => [
|
|
1472
|
+
k(M, {
|
|
1473
1473
|
name: "close",
|
|
1474
1474
|
size: "xs"
|
|
1475
1475
|
})
|
|
1476
1476
|
]),
|
|
1477
|
-
icon:
|
|
1477
|
+
icon: y(() => [
|
|
1478
1478
|
t?.icon ? (n(), f(M, {
|
|
1479
1479
|
key: 0,
|
|
1480
1480
|
name: a.icon,
|
|
1481
1481
|
size: "lg"
|
|
1482
1482
|
}, null, 8, ["name"])) : g("", !0),
|
|
1483
|
-
|
|
1483
|
+
_(i.$slots, "icon")
|
|
1484
1484
|
]),
|
|
1485
|
-
message:
|
|
1486
|
-
|
|
1485
|
+
message: y(() => [
|
|
1486
|
+
_(i.$slots, "message")
|
|
1487
1487
|
]),
|
|
1488
|
-
description:
|
|
1489
|
-
|
|
1488
|
+
description: y(() => [
|
|
1489
|
+
_(i.$slots, "description")
|
|
1490
1490
|
]),
|
|
1491
1491
|
_: 3
|
|
1492
1492
|
}, 16, ["class", "description", "message", "closable", "showIcon"]));
|
|
1493
1493
|
}
|
|
1494
1494
|
});
|
|
1495
|
-
const
|
|
1495
|
+
const Ka = [
|
|
1496
1496
|
"dark",
|
|
1497
1497
|
"blue",
|
|
1498
1498
|
"green",
|
|
1499
1499
|
"orange",
|
|
1500
1500
|
"red"
|
|
1501
|
-
],
|
|
1501
|
+
], ja = [
|
|
1502
1502
|
"primary",
|
|
1503
1503
|
"secondary"
|
|
1504
|
-
],
|
|
1504
|
+
], Ao = {
|
|
1505
1505
|
name: "MaAnimation"
|
|
1506
|
-
},
|
|
1507
|
-
...
|
|
1506
|
+
}, No = /* @__PURE__ */ B({
|
|
1507
|
+
...Ao,
|
|
1508
1508
|
props: {
|
|
1509
1509
|
name: { default: "rocket" },
|
|
1510
1510
|
loop: { type: Boolean, default: !0 },
|
|
@@ -1528,49 +1528,49 @@ const Ga = [
|
|
|
1528
1528
|
pe(
|
|
1529
1529
|
() => o.name,
|
|
1530
1530
|
() => {
|
|
1531
|
-
|
|
1531
|
+
x(), m();
|
|
1532
1532
|
}
|
|
1533
1533
|
);
|
|
1534
1534
|
const d = async () => {
|
|
1535
|
-
const { default:
|
|
1536
|
-
l =
|
|
1535
|
+
const { default: z } = await import("./lottie_light-b08f9446.mjs").then((I) => I.l);
|
|
1536
|
+
l = z;
|
|
1537
1537
|
}, m = async () => {
|
|
1538
1538
|
try {
|
|
1539
|
-
const { default:
|
|
1539
|
+
const { default: z } = await ge(/* @__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`);
|
|
1540
1540
|
r.value = l.loadAnimation({
|
|
1541
1541
|
container: i.value,
|
|
1542
1542
|
loop: o.loop,
|
|
1543
1543
|
autoplay: o.autoplay,
|
|
1544
|
-
animationData:
|
|
1544
|
+
animationData: z,
|
|
1545
1545
|
rendererSettings: o?.rendererSettings
|
|
1546
1546
|
}), r.value.onComplete = () => e("onComplete"), r.value.addEventListener("DOMLoaded", function() {
|
|
1547
1547
|
e("onLoaded");
|
|
1548
1548
|
});
|
|
1549
|
-
} catch (
|
|
1550
|
-
e("onError",
|
|
1549
|
+
} catch (z) {
|
|
1550
|
+
e("onError", z);
|
|
1551
1551
|
}
|
|
1552
|
-
},
|
|
1552
|
+
}, x = () => {
|
|
1553
1553
|
r.value && r.value.destroy();
|
|
1554
1554
|
};
|
|
1555
1555
|
return de(async () => {
|
|
1556
1556
|
await d(), m();
|
|
1557
1557
|
}), Se(() => {
|
|
1558
|
-
|
|
1559
|
-
}), (
|
|
1558
|
+
x();
|
|
1559
|
+
}), (z, I) => (n(), p("div", {
|
|
1560
1560
|
ref_key: "animationRef",
|
|
1561
1561
|
ref: i,
|
|
1562
1562
|
class: "ma-animation",
|
|
1563
1563
|
style: Z(s(u))
|
|
1564
1564
|
}, null, 4));
|
|
1565
1565
|
}
|
|
1566
|
-
}),
|
|
1566
|
+
}), qa = [
|
|
1567
1567
|
"rocket",
|
|
1568
1568
|
"success-confetti",
|
|
1569
1569
|
"rounded-loading",
|
|
1570
1570
|
"fly-waiting",
|
|
1571
1571
|
"no-data-found",
|
|
1572
1572
|
"sad-not-found"
|
|
1573
|
-
],
|
|
1573
|
+
], Ha = [
|
|
1574
1574
|
"info",
|
|
1575
1575
|
"success",
|
|
1576
1576
|
"confirm",
|
|
@@ -1582,19 +1582,19 @@ const Ga = [
|
|
|
1582
1582
|
confirm: "warning",
|
|
1583
1583
|
warning: "warning",
|
|
1584
1584
|
error: "close-circle-bold"
|
|
1585
|
-
},
|
|
1585
|
+
}, Po = {
|
|
1586
1586
|
key: 1,
|
|
1587
1587
|
class: "ak-modal__title"
|
|
1588
|
-
},
|
|
1588
|
+
}, Do = { class: "ak-modal__content" }, Lo = {
|
|
1589
1589
|
key: 0,
|
|
1590
1590
|
class: "ak-modal__description"
|
|
1591
|
-
},
|
|
1591
|
+
}, Eo = {
|
|
1592
1592
|
key: 2,
|
|
1593
1593
|
class: "ak-modal__footer"
|
|
1594
|
-
},
|
|
1594
|
+
}, Fo = {
|
|
1595
1595
|
name: "MaModal"
|
|
1596
|
-
}, $e = /* @__PURE__ */
|
|
1597
|
-
...
|
|
1596
|
+
}, $e = /* @__PURE__ */ B({
|
|
1597
|
+
...Fo,
|
|
1598
1598
|
props: {
|
|
1599
1599
|
visible: { type: Boolean, default: !0 },
|
|
1600
1600
|
type: null,
|
|
@@ -1616,15 +1616,15 @@ const Ga = [
|
|
|
1616
1616
|
get() {
|
|
1617
1617
|
return e.visible;
|
|
1618
1618
|
},
|
|
1619
|
-
set(
|
|
1620
|
-
t("update:visible",
|
|
1619
|
+
set(I) {
|
|
1620
|
+
t("update:visible", I);
|
|
1621
1621
|
}
|
|
1622
1622
|
}), l = c(
|
|
1623
1623
|
() => e.type && ke[e.type] ? ke[e.type] : null
|
|
1624
1624
|
), i = c(
|
|
1625
1625
|
() => e.type === "error" ? "danger" : e.type === "warning" ? "warning" : "info"
|
|
1626
1626
|
), r = c(
|
|
1627
|
-
() =>
|
|
1627
|
+
() => z?.footer || e.okText || e.cancelText
|
|
1628
1628
|
), u = c(() => [
|
|
1629
1629
|
"ma-modal",
|
|
1630
1630
|
"ak-modal",
|
|
@@ -1634,12 +1634,12 @@ const Ga = [
|
|
|
1634
1634
|
{ [`ak-modal__header-icon--${e.type}`]: !!e.type }
|
|
1635
1635
|
]), m = () => {
|
|
1636
1636
|
o.value = !1, t("cancel");
|
|
1637
|
-
},
|
|
1637
|
+
}, x = () => {
|
|
1638
1638
|
t("ok");
|
|
1639
|
-
},
|
|
1640
|
-
return (
|
|
1639
|
+
}, z = le();
|
|
1640
|
+
return (I, N) => (n(), f(s(at), S(I.$attrs, {
|
|
1641
1641
|
visible: s(o),
|
|
1642
|
-
"onUpdate:visible":
|
|
1642
|
+
"onUpdate:visible": N[0] || (N[0] = ($) => ee(o) ? o.value = $ : null),
|
|
1643
1643
|
"prefix-cls": "antd-modal",
|
|
1644
1644
|
class: s(u),
|
|
1645
1645
|
closable: e.closable,
|
|
@@ -1647,65 +1647,65 @@ const Ga = [
|
|
|
1647
1647
|
"mask-closable": e.maskClosable,
|
|
1648
1648
|
width: e.width,
|
|
1649
1649
|
footer: null,
|
|
1650
|
-
onOk:
|
|
1650
|
+
onOk: x,
|
|
1651
1651
|
onCancel: m
|
|
1652
1652
|
}), {
|
|
1653
|
-
closeIcon:
|
|
1654
|
-
|
|
1653
|
+
closeIcon: y(() => [
|
|
1654
|
+
k(M, {
|
|
1655
1655
|
name: "close-circle",
|
|
1656
1656
|
size: "sm"
|
|
1657
1657
|
})
|
|
1658
1658
|
]),
|
|
1659
|
-
default:
|
|
1659
|
+
default: y(() => [
|
|
1660
1660
|
s(l) ? (n(), p("div", {
|
|
1661
1661
|
key: 0,
|
|
1662
|
-
class:
|
|
1662
|
+
class: L(s(d))
|
|
1663
1663
|
}, [
|
|
1664
|
-
|
|
1664
|
+
k(M, { name: s(l) }, null, 8, ["name"])
|
|
1665
1665
|
], 2)) : g("", !0),
|
|
1666
|
-
e.title ||
|
|
1667
|
-
|
|
1668
|
-
|
|
1666
|
+
e.title || I.$slots.title ? (n(), p("h1", Po, [
|
|
1667
|
+
_(I.$slots, "title"),
|
|
1668
|
+
P(" " + C(e.title), 1)
|
|
1669
1669
|
])) : g("", !0),
|
|
1670
|
-
b("div",
|
|
1671
|
-
e.content ? (n(), p("div",
|
|
1672
|
-
|
|
1673
|
-
|
|
1670
|
+
b("div", Do, [
|
|
1671
|
+
e.content ? (n(), p("div", Lo, C(e.content), 1)) : g("", !0),
|
|
1672
|
+
_(I.$slots, "content"),
|
|
1673
|
+
_(I.$slots, "default")
|
|
1674
1674
|
]),
|
|
1675
|
-
s(r) ? (n(), p("div",
|
|
1676
|
-
e.okText ? (n(), f(oe,
|
|
1675
|
+
s(r) ? (n(), p("div", Eo, [
|
|
1676
|
+
e.okText ? (n(), f(oe, S({
|
|
1677
1677
|
key: 0,
|
|
1678
|
-
onClick:
|
|
1678
|
+
onClick: x,
|
|
1679
1679
|
class: "ak-modal__ok-button",
|
|
1680
1680
|
variant: s(i),
|
|
1681
1681
|
loading: e.confirmLoading
|
|
1682
1682
|
}, e.okButtonProps), {
|
|
1683
|
-
default:
|
|
1684
|
-
|
|
1683
|
+
default: y(() => [
|
|
1684
|
+
P(C(e.okText), 1)
|
|
1685
1685
|
]),
|
|
1686
1686
|
_: 1
|
|
1687
1687
|
}, 16, ["variant", "loading"])) : g("", !0),
|
|
1688
|
-
e.cancelText ? (n(), f(oe,
|
|
1688
|
+
e.cancelText ? (n(), f(oe, S({
|
|
1689
1689
|
key: 1,
|
|
1690
1690
|
onClick: m,
|
|
1691
1691
|
type: "grey-link"
|
|
1692
1692
|
}, e.cancelButtonProps), {
|
|
1693
|
-
default:
|
|
1694
|
-
|
|
1693
|
+
default: y(() => [
|
|
1694
|
+
P(C(e.cancelText), 1)
|
|
1695
1695
|
]),
|
|
1696
1696
|
_: 1
|
|
1697
1697
|
}, 16)) : g("", !0),
|
|
1698
|
-
|
|
1698
|
+
_(I.$slots, "footer")
|
|
1699
1699
|
])) : g("", !0)
|
|
1700
1700
|
]),
|
|
1701
1701
|
_: 3
|
|
1702
1702
|
}, 16, ["visible", "class", "closable", "mask", "mask-closable", "width"]));
|
|
1703
1703
|
}
|
|
1704
1704
|
});
|
|
1705
|
-
const
|
|
1706
|
-
|
|
1705
|
+
const Vo = ["info", "success", "warning", "error", "confirm"];
|
|
1706
|
+
Vo.forEach((a) => {
|
|
1707
1707
|
$e[a] = (t) => {
|
|
1708
|
-
const e = document.createElement("div"), o =
|
|
1708
|
+
const e = document.createElement("div"), o = Fe($e, t), l = Ve({
|
|
1709
1709
|
render: () => o
|
|
1710
1710
|
});
|
|
1711
1711
|
return l.mount(e), document.body.appendChild(e), t.onCancel = () => {
|
|
@@ -1717,10 +1717,10 @@ Eo.forEach((a) => {
|
|
|
1717
1717
|
};
|
|
1718
1718
|
};
|
|
1719
1719
|
});
|
|
1720
|
-
const
|
|
1720
|
+
const Go = {
|
|
1721
1721
|
name: "MaRateStar"
|
|
1722
|
-
},
|
|
1723
|
-
...
|
|
1722
|
+
}, Uo = /* @__PURE__ */ B({
|
|
1723
|
+
...Go,
|
|
1724
1724
|
props: {
|
|
1725
1725
|
value: null,
|
|
1726
1726
|
starRate: null,
|
|
@@ -1734,9 +1734,9 @@ const Fo = {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
]), o = c(() => t.starRate - 0.5 === t.value), l = c(() => o.value ? "star-half-colored" : "star-bold");
|
|
1736
1736
|
return (i, r) => (n(), f(xe, { name: "fade" }, {
|
|
1737
|
-
default:
|
|
1738
|
-
|
|
1739
|
-
class:
|
|
1737
|
+
default: y(() => [
|
|
1738
|
+
k(M, {
|
|
1739
|
+
class: L(s(e)),
|
|
1740
1740
|
name: s(l),
|
|
1741
1741
|
size: a.iconSize
|
|
1742
1742
|
}, null, 8, ["class", "name", "size"])
|
|
@@ -1744,10 +1744,10 @@ const Fo = {
|
|
|
1744
1744
|
_: 1
|
|
1745
1745
|
}));
|
|
1746
1746
|
}
|
|
1747
|
-
}),
|
|
1747
|
+
}), Ro = ["tabindex"], Oo = ["onMousemove", "onMouseover"], Ko = {
|
|
1748
1748
|
name: "MaRate"
|
|
1749
|
-
},
|
|
1750
|
-
...
|
|
1749
|
+
}, Wa = /* @__PURE__ */ B({
|
|
1750
|
+
...Ko,
|
|
1751
1751
|
props: {
|
|
1752
1752
|
value: null,
|
|
1753
1753
|
allowClear: { type: Boolean },
|
|
@@ -1776,65 +1776,65 @@ const Fo = {
|
|
|
1776
1776
|
}), r = c(() => e?.disabled ? -1 : e.tabIndex), u = () => {
|
|
1777
1777
|
if (!e?.disabled) {
|
|
1778
1778
|
if (e?.allowClear && o.value === e.value) {
|
|
1779
|
-
|
|
1779
|
+
I(0);
|
|
1780
1780
|
return;
|
|
1781
1781
|
}
|
|
1782
|
-
|
|
1782
|
+
I(o.value);
|
|
1783
1783
|
}
|
|
1784
|
-
}, d = (
|
|
1785
|
-
e?.disabled || (o.value =
|
|
1784
|
+
}, d = (N) => {
|
|
1785
|
+
e?.disabled || (o.value = N);
|
|
1786
1786
|
}, m = () => {
|
|
1787
1787
|
o.value = 0;
|
|
1788
|
-
},
|
|
1789
|
-
!e?.allowHalf || e.disabled || (
|
|
1790
|
-
},
|
|
1791
|
-
e?.disabled || (
|
|
1792
|
-
},
|
|
1793
|
-
t("update:value",
|
|
1788
|
+
}, x = (N, $) => {
|
|
1789
|
+
!e?.allowHalf || e.disabled || (N.offsetX < N.target.clientWidth / 2 ? o.value = $ - 0.5 : o.value = $);
|
|
1790
|
+
}, z = (N) => {
|
|
1791
|
+
e?.disabled || (N.key === "ArrowRight" && e.value < 5 ? I(e.value + (e.allowHalf ? 0.5 : 1)) : N.key === "ArrowLeft" && e.value > 0 && I(e.value - (e.allowHalf ? 0.5 : 1)));
|
|
1792
|
+
}, I = (N) => {
|
|
1793
|
+
t("update:value", N), t("change", N);
|
|
1794
1794
|
};
|
|
1795
|
-
return (
|
|
1796
|
-
class:
|
|
1795
|
+
return (N, $) => (n(), p("ul", {
|
|
1796
|
+
class: L(s(l)),
|
|
1797
1797
|
onMouseleave: m,
|
|
1798
|
-
onKeydown:
|
|
1798
|
+
onKeydown: z,
|
|
1799
1799
|
tabindex: s(r)
|
|
1800
1800
|
}, [
|
|
1801
|
-
(n(), p(W, null, j(5, (
|
|
1801
|
+
(n(), p(W, null, j(5, (h) => b("li", {
|
|
1802
1802
|
class: "ak-rate__item",
|
|
1803
|
-
key:
|
|
1804
|
-
onMousemove: (
|
|
1805
|
-
onMouseover: (
|
|
1806
|
-
onClick:
|
|
1803
|
+
key: h,
|
|
1804
|
+
onMousemove: (T) => x(T, h),
|
|
1805
|
+
onMouseover: (T) => d(h),
|
|
1806
|
+
onClick: $[0] || ($[0] = (T) => u())
|
|
1807
1807
|
}, [
|
|
1808
|
-
|
|
1809
|
-
"star-rate":
|
|
1808
|
+
k(Uo, {
|
|
1809
|
+
"star-rate": h,
|
|
1810
1810
|
value: o.value || e.value,
|
|
1811
1811
|
"icon-size": s(i)
|
|
1812
1812
|
}, null, 8, ["star-rate", "value", "icon-size"])
|
|
1813
|
-
], 40,
|
|
1814
|
-
], 42,
|
|
1813
|
+
], 40, Oo)), 64))
|
|
1814
|
+
], 42, Ro));
|
|
1815
1815
|
}
|
|
1816
1816
|
});
|
|
1817
|
-
const
|
|
1817
|
+
const Ja = [
|
|
1818
1818
|
"small",
|
|
1819
1819
|
"medium",
|
|
1820
1820
|
"large"
|
|
1821
|
-
],
|
|
1821
|
+
], Ya = [
|
|
1822
1822
|
"orange",
|
|
1823
1823
|
"green",
|
|
1824
1824
|
"red"
|
|
1825
|
-
],
|
|
1825
|
+
], jo = {
|
|
1826
1826
|
key: 0,
|
|
1827
1827
|
class: "ma-spin__overlay"
|
|
1828
|
-
},
|
|
1828
|
+
}, qo = {
|
|
1829
1829
|
key: 0,
|
|
1830
1830
|
class: "custom-indicator"
|
|
1831
|
-
},
|
|
1831
|
+
}, Ho = {
|
|
1832
1832
|
key: 2,
|
|
1833
1833
|
class: "tip"
|
|
1834
|
-
},
|
|
1834
|
+
}, Wo = {
|
|
1835
1835
|
name: "MaSpin"
|
|
1836
|
-
}, we = /* @__PURE__ */
|
|
1837
|
-
...
|
|
1836
|
+
}, we = /* @__PURE__ */ B({
|
|
1837
|
+
...Wo,
|
|
1838
1838
|
props: {
|
|
1839
1839
|
type: { default: "round" },
|
|
1840
1840
|
color: { default: "dark" },
|
|
@@ -1850,40 +1850,40 @@ const ja = [
|
|
|
1850
1850
|
]), l = c(() => [
|
|
1851
1851
|
"ma-spin__icon"
|
|
1852
1852
|
]), i = c(() => `spin-${t.type}`);
|
|
1853
|
-
return (r, u) => (n(), p("div",
|
|
1854
|
-
t.spinning ? (n(), p("div",
|
|
1855
|
-
r.$slots.indicator ? (n(), p("div",
|
|
1856
|
-
|
|
1853
|
+
return (r, u) => (n(), p("div", S({ class: s(o) }, r.$attrs), [
|
|
1854
|
+
t.spinning ? (n(), p("div", jo, [
|
|
1855
|
+
r.$slots.indicator ? (n(), p("div", qo, [
|
|
1856
|
+
_(r.$slots, "indicator")
|
|
1857
1857
|
])) : g("", !0),
|
|
1858
1858
|
t.spinning && !r.$slots.indicator ? (n(), f(M, {
|
|
1859
1859
|
key: 1,
|
|
1860
|
-
class:
|
|
1860
|
+
class: L(s(l)),
|
|
1861
1861
|
name: s(i)
|
|
1862
1862
|
}, null, 8, ["class", "name"])) : g("", !0),
|
|
1863
|
-
r.$slots?.tip || t?.tip ? (n(), p("div",
|
|
1864
|
-
|
|
1865
|
-
|
|
1863
|
+
r.$slots?.tip || t?.tip ? (n(), p("div", Ho, [
|
|
1864
|
+
P(C(t?.tip) + " ", 1),
|
|
1865
|
+
_(r.$slots, "tip")
|
|
1866
1866
|
])) : g("", !0)
|
|
1867
1867
|
])) : g("", !0),
|
|
1868
|
-
|
|
1868
|
+
_(r.$slots, "default")
|
|
1869
1869
|
], 16));
|
|
1870
1870
|
}
|
|
1871
1871
|
});
|
|
1872
|
-
const
|
|
1872
|
+
const Za = [
|
|
1873
1873
|
"round",
|
|
1874
1874
|
"dots",
|
|
1875
1875
|
"three-circles",
|
|
1876
1876
|
"three-dots"
|
|
1877
|
-
],
|
|
1877
|
+
], Xa = [
|
|
1878
1878
|
"dark",
|
|
1879
1879
|
"jordy",
|
|
1880
1880
|
"blue",
|
|
1881
1881
|
"orange",
|
|
1882
1882
|
"grey"
|
|
1883
|
-
],
|
|
1883
|
+
], Jo = {
|
|
1884
1884
|
name: "MaDropdown"
|
|
1885
|
-
},
|
|
1886
|
-
...
|
|
1885
|
+
}, Yo = /* @__PURE__ */ B({
|
|
1886
|
+
...Jo,
|
|
1887
1887
|
props: {
|
|
1888
1888
|
destroyPopupOnHide: { type: Boolean, default: !1 },
|
|
1889
1889
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -1904,7 +1904,7 @@ const Ha = [
|
|
|
1904
1904
|
}), l = c(
|
|
1905
1905
|
() => ["ma-dropdown-overlay", e?.overlayClassName].join(" ")
|
|
1906
1906
|
);
|
|
1907
|
-
return (i, r) => (n(), f(s(
|
|
1907
|
+
return (i, r) => (n(), f(s(lt), S({
|
|
1908
1908
|
"prefix-cls": "antd-dropdown",
|
|
1909
1909
|
overlayClassName: s(l),
|
|
1910
1910
|
destroyPopupOnHide: e.destroyPopupOnHide,
|
|
@@ -1913,34 +1913,34 @@ const Ha = [
|
|
|
1913
1913
|
trigger: e.trigger
|
|
1914
1914
|
}, i.$attrs, {
|
|
1915
1915
|
visible: s(o),
|
|
1916
|
-
"onUpdate:visible": r[0] || (r[0] = (u) =>
|
|
1916
|
+
"onUpdate:visible": r[0] || (r[0] = (u) => ee(o) ? o.value = u : null)
|
|
1917
1917
|
}), {
|
|
1918
|
-
overlay:
|
|
1919
|
-
|
|
1918
|
+
overlay: y(() => [
|
|
1919
|
+
_(i.$slots, "overlay")
|
|
1920
1920
|
]),
|
|
1921
|
-
default:
|
|
1922
|
-
|
|
1921
|
+
default: y(() => [
|
|
1922
|
+
_(i.$slots, "default")
|
|
1923
1923
|
]),
|
|
1924
1924
|
_: 3
|
|
1925
1925
|
}, 16, ["overlayClassName", "destroyPopupOnHide", "disabled", "placement", "trigger", "visible"]));
|
|
1926
1926
|
}
|
|
1927
1927
|
});
|
|
1928
|
-
const
|
|
1928
|
+
const Qa = [
|
|
1929
1929
|
"bottomLeft",
|
|
1930
1930
|
"bottom",
|
|
1931
1931
|
"bottomRight",
|
|
1932
1932
|
"topLeft",
|
|
1933
1933
|
"top",
|
|
1934
1934
|
"topRight"
|
|
1935
|
-
],
|
|
1935
|
+
], el = [
|
|
1936
1936
|
"click",
|
|
1937
1937
|
"hover",
|
|
1938
1938
|
"contextmenu"
|
|
1939
|
-
],
|
|
1939
|
+
], tl = [
|
|
1940
1940
|
"small",
|
|
1941
1941
|
"medium",
|
|
1942
1942
|
"large"
|
|
1943
|
-
],
|
|
1943
|
+
], ol = [
|
|
1944
1944
|
"general",
|
|
1945
1945
|
"add-app",
|
|
1946
1946
|
"table",
|
|
@@ -1950,10 +1950,10 @@ const Ja = [
|
|
|
1950
1950
|
"add-app": "add-app",
|
|
1951
1951
|
table: "empty-table",
|
|
1952
1952
|
selection: "selection"
|
|
1953
|
-
},
|
|
1953
|
+
}, Zo = { class: "ma-empty__title" }, Xo = { class: "ma-empty__description" }, Qo = { class: "ma-empty__content" }, es = {
|
|
1954
1954
|
name: "MaEmpty"
|
|
1955
|
-
},
|
|
1956
|
-
...
|
|
1955
|
+
}, sl = /* @__PURE__ */ B({
|
|
1956
|
+
...es,
|
|
1957
1957
|
props: {
|
|
1958
1958
|
size: { default: "large" },
|
|
1959
1959
|
variant: { default: "general" },
|
|
@@ -1969,84 +1969,84 @@ const Ja = [
|
|
|
1969
1969
|
`ma-empty ma-empty--${t.variant} ma-empty--${t.size}`
|
|
1970
1970
|
]);
|
|
1971
1971
|
return (l, i) => (n(), p("div", {
|
|
1972
|
-
class:
|
|
1972
|
+
class: L(s(o))
|
|
1973
1973
|
}, [
|
|
1974
|
-
t?.animation ? (n(), f(
|
|
1974
|
+
t?.animation ? (n(), f(No, S({
|
|
1975
1975
|
key: 0,
|
|
1976
1976
|
name: a.animation
|
|
1977
|
-
}, a.animationProps), null, 16, ["name"])) : l.$slots.icon ?
|
|
1977
|
+
}, a.animationProps), null, 16, ["name"])) : l.$slots.icon ? _(l.$slots, "icon", { key: 1 }) : (n(), f(M, {
|
|
1978
1978
|
key: 2,
|
|
1979
1979
|
name: s(e),
|
|
1980
1980
|
class: "ma-empty__icon"
|
|
1981
1981
|
}, null, 8, ["name"])),
|
|
1982
|
-
b("span",
|
|
1983
|
-
|
|
1984
|
-
|
|
1982
|
+
b("span", Zo, [
|
|
1983
|
+
P(C(a.title) + " ", 1),
|
|
1984
|
+
_(l.$slots, "title")
|
|
1985
1985
|
]),
|
|
1986
|
-
b("span",
|
|
1987
|
-
|
|
1988
|
-
|
|
1986
|
+
b("span", Xo, [
|
|
1987
|
+
P(C(a.description) + " ", 1),
|
|
1988
|
+
_(l.$slots, "description")
|
|
1989
1989
|
]),
|
|
1990
|
-
b("div",
|
|
1991
|
-
|
|
1990
|
+
b("div", Qo, [
|
|
1991
|
+
_(l.$slots, "default")
|
|
1992
1992
|
])
|
|
1993
1993
|
], 2));
|
|
1994
1994
|
}
|
|
1995
1995
|
});
|
|
1996
|
-
const
|
|
1996
|
+
const nl = [
|
|
1997
1997
|
"button",
|
|
1998
1998
|
"box",
|
|
1999
1999
|
"small-box"
|
|
2000
|
-
],
|
|
2000
|
+
], ts = [
|
|
2001
2001
|
"xs",
|
|
2002
2002
|
"sm",
|
|
2003
2003
|
"md",
|
|
2004
2004
|
"lg",
|
|
2005
2005
|
"xl"
|
|
2006
2006
|
];
|
|
2007
|
-
var
|
|
2007
|
+
var te = /* @__PURE__ */ ((a) => (a.error = "error", a.done = "done", a.uploading = "uploading", a))(te || {});
|
|
2008
2008
|
const me = (a) => {
|
|
2009
2009
|
try {
|
|
2010
2010
|
return JSON.parse(a);
|
|
2011
2011
|
} catch {
|
|
2012
2012
|
return a;
|
|
2013
2013
|
}
|
|
2014
|
-
},
|
|
2014
|
+
}, os = (a = 20) => {
|
|
2015
2015
|
let t = "";
|
|
2016
2016
|
for (let e = 0; e < a; e++)
|
|
2017
2017
|
t += Math.random().toString(36).substr(2);
|
|
2018
2018
|
return t.substr(0, a);
|
|
2019
|
-
},
|
|
2019
|
+
}, ss = (a, t = {}, e = {}, o) => {
|
|
2020
2020
|
const l = D(0);
|
|
2021
2021
|
return { progress: l, upload: async (r, u) => {
|
|
2022
2022
|
const d = new FormData();
|
|
2023
|
-
d.append(o, r.file), Object.entries(e).forEach(([
|
|
2024
|
-
d.append(
|
|
2023
|
+
d.append(o, r.file), Object.entries(e).forEach(([x, z]) => {
|
|
2024
|
+
d.append(x, z);
|
|
2025
2025
|
});
|
|
2026
2026
|
const m = new XMLHttpRequest();
|
|
2027
|
-
m.open("POST", a), Object.entries(t).forEach(([
|
|
2028
|
-
m.setRequestHeader(
|
|
2029
|
-
}), m.upload.onprogress = (
|
|
2030
|
-
|
|
2027
|
+
m.open("POST", a), Object.entries(t).forEach(([x, z]) => {
|
|
2028
|
+
m.setRequestHeader(x, z);
|
|
2029
|
+
}), m.upload.onprogress = (x) => {
|
|
2030
|
+
x.lengthComputable && (l.value = x.loaded / x.total * 100, u(te.uploading, l.value));
|
|
2031
2031
|
}, m.onload = () => {
|
|
2032
2032
|
m.status >= 200 && m.status < 300 ? u(
|
|
2033
|
-
|
|
2033
|
+
te.done,
|
|
2034
2034
|
l.value,
|
|
2035
2035
|
me(m.responseText)
|
|
2036
2036
|
) : u(
|
|
2037
|
-
|
|
2037
|
+
te.error,
|
|
2038
2038
|
l.value,
|
|
2039
2039
|
me(m.responseText)
|
|
2040
2040
|
);
|
|
2041
2041
|
}, m.onerror = () => {
|
|
2042
2042
|
u(
|
|
2043
|
-
|
|
2043
|
+
te.error,
|
|
2044
2044
|
l.value,
|
|
2045
2045
|
me(m.responseText)
|
|
2046
2046
|
);
|
|
2047
2047
|
}, m.send(d), r.cancelRequest = () => m.abort();
|
|
2048
2048
|
} };
|
|
2049
|
-
},
|
|
2049
|
+
}, ns = (a, t) => {
|
|
2050
2050
|
if (!t)
|
|
2051
2051
|
return !0;
|
|
2052
2052
|
const e = t.split(",").map((i) => i.trim()), o = a.type, l = a.name.split(".").pop()?.toLowerCase();
|
|
@@ -2064,10 +2064,10 @@ const me = (a) => {
|
|
|
2064
2064
|
return !0;
|
|
2065
2065
|
}
|
|
2066
2066
|
return !1;
|
|
2067
|
-
},
|
|
2067
|
+
}, as = { class: "single-file" }, ls = { class: "icon-wrapper" }, is = { class: "single-file__detail" }, rs = { class: "file-name" }, cs = {
|
|
2068
2068
|
key: 0,
|
|
2069
2069
|
class: "file-size"
|
|
2070
|
-
},
|
|
2070
|
+
}, ps = { class: "file-progress" }, us = { class: "single-file__actions" }, ds = /* @__PURE__ */ B({
|
|
2071
2071
|
__name: "singleFile",
|
|
2072
2072
|
props: {
|
|
2073
2073
|
file: null,
|
|
@@ -2079,22 +2079,22 @@ const me = (a) => {
|
|
|
2079
2079
|
const e = a, o = c(
|
|
2080
2080
|
() => `${(e.file.file.size / (1024 * 1024)).toFixed(1)} MB`
|
|
2081
2081
|
), l = c(() => typeof e.file.file.size == "number"), i = () => t("remove"), r = () => t("cancel");
|
|
2082
|
-
return (u, d) => (n(), p("div",
|
|
2083
|
-
b("div",
|
|
2084
|
-
|
|
2082
|
+
return (u, d) => (n(), p("div", as, [
|
|
2083
|
+
b("div", ls, [
|
|
2084
|
+
k(M, { name: "document-bulk" })
|
|
2085
2085
|
]),
|
|
2086
|
-
b("div",
|
|
2087
|
-
b("span",
|
|
2088
|
-
s(l) ? (n(), p("span",
|
|
2089
|
-
b("span",
|
|
2086
|
+
b("div", is, [
|
|
2087
|
+
b("span", rs, C(a.file.file.name), 1),
|
|
2088
|
+
s(l) ? (n(), p("span", cs, C(s(o)), 1)) : g("", !0),
|
|
2089
|
+
b("span", ps, [
|
|
2090
2090
|
b("span", {
|
|
2091
2091
|
class: "progress-item",
|
|
2092
2092
|
style: Z({ width: `${a.file.progress}%` })
|
|
2093
2093
|
}, null, 4)
|
|
2094
2094
|
])
|
|
2095
2095
|
]),
|
|
2096
|
-
b("div",
|
|
2097
|
-
a.file.status === s(
|
|
2096
|
+
b("div", us, [
|
|
2097
|
+
a.file.status === s(te).uploading ? (n(), f(oe, {
|
|
2098
2098
|
key: 0,
|
|
2099
2099
|
disabled: a.disabled,
|
|
2100
2100
|
onClick: d[0] || (d[0] = (m) => r()),
|
|
@@ -2115,16 +2115,16 @@ const me = (a) => {
|
|
|
2115
2115
|
])
|
|
2116
2116
|
]));
|
|
2117
2117
|
}
|
|
2118
|
-
}),
|
|
2118
|
+
}), ms = ["onDrop"], gs = ["accept", "multiple", "disabled"], vs = { class: "text" }, fs = /* @__PURE__ */ b("span", null, "Uploading file...", -1), _s = { class: "upload-icon" }, ys = {
|
|
2119
2119
|
key: 0,
|
|
2120
2120
|
class: "upload-title"
|
|
2121
|
-
},
|
|
2121
|
+
}, hs = {
|
|
2122
2122
|
key: 1,
|
|
2123
2123
|
class: "upload-description"
|
|
2124
|
-
},
|
|
2124
|
+
}, bs = {
|
|
2125
2125
|
name: "MaUpload"
|
|
2126
|
-
},
|
|
2127
|
-
...
|
|
2126
|
+
}, al = /* @__PURE__ */ B({
|
|
2127
|
+
...bs,
|
|
2128
2128
|
props: {
|
|
2129
2129
|
fileList: null,
|
|
2130
2130
|
type: { default: "box" },
|
|
@@ -2152,38 +2152,38 @@ const me = (a) => {
|
|
|
2152
2152
|
return e.fileList;
|
|
2153
2153
|
},
|
|
2154
2154
|
set(w) {
|
|
2155
|
-
t("update:fileList", w), t("change", w), e?.action && w.forEach(async (
|
|
2156
|
-
if ([
|
|
2157
|
-
|
|
2155
|
+
t("update:fileList", w), t("change", w), e?.action && w.forEach(async (E, O) => {
|
|
2156
|
+
if ([te.done, te.error].includes(
|
|
2157
|
+
E.status
|
|
2158
2158
|
))
|
|
2159
2159
|
return;
|
|
2160
|
-
const { upload: ne } =
|
|
2160
|
+
const { upload: ne } = ss(
|
|
2161
2161
|
e?.action || "",
|
|
2162
2162
|
// || added for tsc warning
|
|
2163
2163
|
e.headers,
|
|
2164
2164
|
e.data,
|
|
2165
2165
|
e.name
|
|
2166
2166
|
);
|
|
2167
|
-
e?.beforeUpload && (
|
|
2167
|
+
e?.beforeUpload && (E.file = await e.beforeUpload(E.file)), ne(E, (re, Pe, he) => {
|
|
2168
2168
|
if (m.value[O]) {
|
|
2169
|
-
if (re ===
|
|
2170
|
-
t("error", { file:
|
|
2171
|
-
m.value.findIndex((
|
|
2169
|
+
if (re === te.error) {
|
|
2170
|
+
t("error", { file: E.file, message: he }), F(
|
|
2171
|
+
m.value.findIndex((De) => De.id === E.id)
|
|
2172
2172
|
);
|
|
2173
2173
|
return;
|
|
2174
2174
|
}
|
|
2175
|
-
m.value[O].progress =
|
|
2175
|
+
m.value[O].progress = Pe, m.value[O].status = re, m.value[O].response = he || null, t("change", m.value[O]);
|
|
2176
2176
|
}
|
|
2177
2177
|
});
|
|
2178
2178
|
});
|
|
2179
2179
|
}
|
|
2180
|
-
}),
|
|
2180
|
+
}), x = c(
|
|
2181
2181
|
() => m.value.map((w) => w.file.name).join(", ")
|
|
2182
|
-
), B = c(
|
|
2183
|
-
() => e.type === "box" ? e.multiple ? !0 : !m.value.length : !0
|
|
2184
2182
|
), z = c(
|
|
2185
|
-
() => e.
|
|
2186
|
-
), I = c(
|
|
2183
|
+
() => e.type === "box" ? e.multiple ? !0 : !m.value.length : !0
|
|
2184
|
+
), I = c(
|
|
2185
|
+
() => e.ordered && T.value ? !1 : m.value.length ? e.showFileList : !1
|
|
2186
|
+
), N = c(() => [
|
|
2187
2187
|
`ma-upload ma-upload--${e.type} ma-upload--${e.type}--${e.size}`,
|
|
2188
2188
|
{
|
|
2189
2189
|
"ma-upload--active": i.value
|
|
@@ -2191,21 +2191,21 @@ const me = (a) => {
|
|
|
2191
2191
|
{
|
|
2192
2192
|
"ma-upload--disabled": R.value
|
|
2193
2193
|
}
|
|
2194
|
-
]),
|
|
2194
|
+
]), $ = c(() => [
|
|
2195
2195
|
"ma-file-list",
|
|
2196
2196
|
{
|
|
2197
|
-
"only-file-list": !
|
|
2197
|
+
"only-file-list": !z.value
|
|
2198
2198
|
}
|
|
2199
|
-
]),
|
|
2200
|
-
const w = e?.size ?
|
|
2199
|
+
]), h = c(() => {
|
|
2200
|
+
const w = e?.size ? ts.indexOf(e.size) : 0;
|
|
2201
2201
|
return vt[w];
|
|
2202
|
-
}),
|
|
2203
|
-
() => e.wait || m.value.some((w) => w.status ===
|
|
2204
|
-
), R = c(() => e?.disabled ||
|
|
2205
|
-
(
|
|
2202
|
+
}), T = c(
|
|
2203
|
+
() => e.wait || m.value.some((w) => w.status === te.uploading)
|
|
2204
|
+
), R = c(() => e?.disabled || T.value), G = (w) => Array.from(w).find(
|
|
2205
|
+
(E) => e?.maxFileSize && E.size > e.maxFileSize
|
|
2206
2206
|
), q = (w) => {
|
|
2207
|
-
const
|
|
2208
|
-
|
|
2207
|
+
const E = w.target;
|
|
2208
|
+
E.files && A(Array.from(E.files));
|
|
2209
2209
|
}, v = () => {
|
|
2210
2210
|
l.value?.click();
|
|
2211
2211
|
}, V = (w) => {
|
|
@@ -2215,32 +2215,32 @@ const me = (a) => {
|
|
|
2215
2215
|
}, Y = () => {
|
|
2216
2216
|
i.value = !1;
|
|
2217
2217
|
}, ce = (w) => {
|
|
2218
|
-
R.value || w.dataTransfer?.files &&
|
|
2219
|
-
Array.from(w.dataTransfer.files).filter((
|
|
2218
|
+
R.value || w.dataTransfer?.files && A(
|
|
2219
|
+
Array.from(w.dataTransfer.files).filter((E) => e?.accept && !ns(E, e.accept) ? (t("error", { file: E, message: "file type does not match!" }), !1) : !0)
|
|
2220
2220
|
);
|
|
2221
|
-
},
|
|
2222
|
-
const
|
|
2223
|
-
if (
|
|
2224
|
-
t("error", { file:
|
|
2221
|
+
}, A = (w) => {
|
|
2222
|
+
const E = G(w);
|
|
2223
|
+
if (E) {
|
|
2224
|
+
t("error", { file: E, message: "File too large" });
|
|
2225
2225
|
return;
|
|
2226
2226
|
}
|
|
2227
2227
|
const O = Array.from(w).filter(
|
|
2228
2228
|
(ne, re) => e?.maxCount ? re + 1 <= e.maxCount : !0
|
|
2229
2229
|
).map((ne) => ({
|
|
2230
2230
|
file: ne,
|
|
2231
|
-
id:
|
|
2232
|
-
status: e?.action ?
|
|
2231
|
+
id: os(),
|
|
2232
|
+
status: e?.action ? te.uploading : te.done,
|
|
2233
2233
|
progress: e?.action ? 0 : 100,
|
|
2234
2234
|
response: null
|
|
2235
2235
|
}));
|
|
2236
2236
|
e.multiple ? m.value = [...m.value, ...O] : O.length && (m.value = [O[0]]);
|
|
2237
2237
|
}, F = (w) => {
|
|
2238
|
-
t("remove", m.value[w]), m.value = m.value.filter((
|
|
2238
|
+
t("remove", m.value[w]), m.value = m.value.filter((E, O) => O !== w);
|
|
2239
2239
|
}, K = (w) => {
|
|
2240
|
-
const
|
|
2241
|
-
typeof
|
|
2240
|
+
const E = m.value[w];
|
|
2241
|
+
typeof E?.cancelRequest == "function" && E.cancelRequest(), F(w);
|
|
2242
2242
|
}, H = (w) => {
|
|
2243
|
-
w.stopPropagation(), m.value.forEach((
|
|
2243
|
+
w.stopPropagation(), m.value.forEach((E, O) => K(O)), m.value = [];
|
|
2244
2244
|
};
|
|
2245
2245
|
return de(() => {
|
|
2246
2246
|
r.forEach((w) => {
|
|
@@ -2258,11 +2258,11 @@ const me = (a) => {
|
|
|
2258
2258
|
}), d.forEach((w) => {
|
|
2259
2259
|
o.value?.removeEventListener(w, Y);
|
|
2260
2260
|
});
|
|
2261
|
-
}), (w,
|
|
2261
|
+
}), (w, E) => (n(), p("div", S({ class: "ma-upload-wrapper" }, w.$attrs), [
|
|
2262
2262
|
X(b("div", {
|
|
2263
2263
|
ref_key: "uploadArea",
|
|
2264
2264
|
ref: o,
|
|
2265
|
-
class:
|
|
2265
|
+
class: L(s(N)),
|
|
2266
2266
|
onDrop: Te(ce, ["prevent"])
|
|
2267
2267
|
}, [
|
|
2268
2268
|
(n(), p("input", {
|
|
@@ -2274,19 +2274,19 @@ const me = (a) => {
|
|
|
2274
2274
|
key: s(m).length,
|
|
2275
2275
|
ref_key: "fileInput",
|
|
2276
2276
|
ref: l
|
|
2277
|
-
}, null, 40,
|
|
2277
|
+
}, null, 40, gs)),
|
|
2278
2278
|
e.type === "button" ? (n(), f(oe, {
|
|
2279
2279
|
key: 0,
|
|
2280
2280
|
type: a.fileList.length ? "primary" : "secondary",
|
|
2281
2281
|
variant: "dark",
|
|
2282
2282
|
icon: "export-2",
|
|
2283
2283
|
onClick: v,
|
|
2284
|
-
size: s(
|
|
2284
|
+
size: s(h),
|
|
2285
2285
|
disabled: s(R),
|
|
2286
|
-
loading: s(
|
|
2286
|
+
loading: s(T)
|
|
2287
2287
|
}, {
|
|
2288
|
-
default:
|
|
2289
|
-
|
|
2288
|
+
default: y(() => [
|
|
2289
|
+
P(C(a.fileList.length ? s(x) : e?.title), 1)
|
|
2290
2290
|
]),
|
|
2291
2291
|
_: 1
|
|
2292
2292
|
}, 8, ["type", "size", "disabled", "loading"])) : e.type === "small-box" ? (n(), p("div", {
|
|
@@ -2294,7 +2294,7 @@ const me = (a) => {
|
|
|
2294
2294
|
class: "ma-upload__small_box",
|
|
2295
2295
|
onClick: v
|
|
2296
2296
|
}, [
|
|
2297
|
-
s(
|
|
2297
|
+
s(T) ? (n(), f(we, {
|
|
2298
2298
|
key: 0,
|
|
2299
2299
|
type: "three-circles",
|
|
2300
2300
|
color: "blue"
|
|
@@ -2302,12 +2302,12 @@ const me = (a) => {
|
|
|
2302
2302
|
key: 1,
|
|
2303
2303
|
name: "export-2-bulk"
|
|
2304
2304
|
})),
|
|
2305
|
-
b("span",
|
|
2306
|
-
s(
|
|
2307
|
-
|
|
2305
|
+
b("span", vs, [
|
|
2306
|
+
s(T) ? (n(), p(W, { key: 0 }, [
|
|
2307
|
+
P(" Uploading... ")
|
|
2308
2308
|
], 64)) : (n(), p(W, { key: 1 }, [
|
|
2309
|
-
|
|
2310
|
-
|
|
2309
|
+
P(C(e?.title) + " ", 1),
|
|
2310
|
+
_(w.$slots, "small-box-title")
|
|
2311
2311
|
], 64))
|
|
2312
2312
|
])
|
|
2313
2313
|
])) : (n(), p("div", {
|
|
@@ -2315,45 +2315,45 @@ const me = (a) => {
|
|
|
2315
2315
|
class: "ma-upload__box",
|
|
2316
2316
|
onClick: v
|
|
2317
2317
|
}, [
|
|
2318
|
-
e.ordered && s(
|
|
2319
|
-
|
|
2318
|
+
e.ordered && s(T) ? (n(), p(W, { key: 0 }, [
|
|
2319
|
+
k(we, {
|
|
2320
2320
|
type: "three-circles",
|
|
2321
2321
|
color: "blue"
|
|
2322
2322
|
}),
|
|
2323
|
-
|
|
2324
|
-
|
|
2323
|
+
fs,
|
|
2324
|
+
k(oe, {
|
|
2325
2325
|
onClick: H,
|
|
2326
2326
|
class: "box-cancel",
|
|
2327
2327
|
type: "secondary",
|
|
2328
2328
|
size: "small"
|
|
2329
2329
|
}, {
|
|
2330
|
-
default:
|
|
2331
|
-
|
|
2330
|
+
default: y(() => [
|
|
2331
|
+
P(" Cancel ")
|
|
2332
2332
|
]),
|
|
2333
2333
|
_: 1
|
|
2334
2334
|
})
|
|
2335
2335
|
], 64)) : (n(), p(W, { key: 1 }, [
|
|
2336
|
-
b("div",
|
|
2337
|
-
|
|
2336
|
+
b("div", _s, [
|
|
2337
|
+
k(M, { name: "upload-bulk" })
|
|
2338
2338
|
]),
|
|
2339
|
-
e?.title ? (n(), p("span",
|
|
2340
|
-
|
|
2341
|
-
|
|
2339
|
+
e?.title ? (n(), p("span", ys, [
|
|
2340
|
+
P(C(e?.title) + " ", 1),
|
|
2341
|
+
_(w.$slots, "box-title")
|
|
2342
2342
|
])) : g("", !0),
|
|
2343
|
-
e?.description ? (n(), p("span",
|
|
2344
|
-
|
|
2345
|
-
|
|
2343
|
+
e?.description ? (n(), p("span", hs, [
|
|
2344
|
+
P(C(e?.description) + " ", 1),
|
|
2345
|
+
_(w.$slots, "box-description")
|
|
2346
2346
|
])) : g("", !0)
|
|
2347
2347
|
], 64))
|
|
2348
2348
|
]))
|
|
2349
|
-
], 42,
|
|
2350
|
-
[Q, s(
|
|
2349
|
+
], 42, ms), [
|
|
2350
|
+
[Q, s(z)]
|
|
2351
2351
|
]),
|
|
2352
|
-
s(
|
|
2352
|
+
s(I) ? (n(), p("div", {
|
|
2353
2353
|
key: 0,
|
|
2354
|
-
class:
|
|
2354
|
+
class: L(s($))
|
|
2355
2355
|
}, [
|
|
2356
|
-
(n(!0), p(W, null, j(s(m), (O, ne) => (n(), f(
|
|
2356
|
+
(n(!0), p(W, null, j(s(m), (O, ne) => (n(), f(ds, {
|
|
2357
2357
|
onRemove: (re) => F(ne),
|
|
2358
2358
|
onCancel: (re) => K(ne),
|
|
2359
2359
|
file: O,
|
|
@@ -2364,10 +2364,10 @@ const me = (a) => {
|
|
|
2364
2364
|
], 16));
|
|
2365
2365
|
}
|
|
2366
2366
|
});
|
|
2367
|
-
const
|
|
2367
|
+
const ks = {
|
|
2368
2368
|
name: "MaSideMenuButton"
|
|
2369
|
-
},
|
|
2370
|
-
...
|
|
2369
|
+
}, ll = /* @__PURE__ */ B({
|
|
2370
|
+
...ks,
|
|
2371
2371
|
props: {
|
|
2372
2372
|
icon: { default: "app" },
|
|
2373
2373
|
activeIcon: null,
|
|
@@ -2381,7 +2381,7 @@ const ys = {
|
|
|
2381
2381
|
"ma-side-menu-button",
|
|
2382
2382
|
{ active: t?.active }
|
|
2383
2383
|
]), r = c(() => e.value || t.active), u = () => e.value = !0, d = () => e.value = !1;
|
|
2384
|
-
return (m,
|
|
2384
|
+
return (m, x) => (n(), f(ae(s(o)), S({
|
|
2385
2385
|
onMousedown: u,
|
|
2386
2386
|
onMouseup: d,
|
|
2387
2387
|
role: "button",
|
|
@@ -2389,15 +2389,15 @@ const ys = {
|
|
|
2389
2389
|
class: s(i),
|
|
2390
2390
|
href: t?.href
|
|
2391
2391
|
}, m.$attrs), {
|
|
2392
|
-
default:
|
|
2392
|
+
default: y(() => [
|
|
2393
2393
|
t?.icon ? (n(), p(W, { key: 0 }, [
|
|
2394
|
-
X(
|
|
2394
|
+
X(k(M, {
|
|
2395
2395
|
size: "md",
|
|
2396
2396
|
name: s(l)
|
|
2397
2397
|
}, null, 8, ["name"]), [
|
|
2398
2398
|
[Q, s(r)]
|
|
2399
2399
|
]),
|
|
2400
|
-
X(
|
|
2400
|
+
X(k(M, {
|
|
2401
2401
|
size: "md",
|
|
2402
2402
|
name: t.icon
|
|
2403
2403
|
}, null, 8, ["name"]), [
|
|
@@ -2405,21 +2405,21 @@ const ys = {
|
|
|
2405
2405
|
])
|
|
2406
2406
|
], 64)) : g("", !0),
|
|
2407
2407
|
b("span", null, [
|
|
2408
|
-
|
|
2409
|
-
|
|
2408
|
+
P(C(t?.text) + " ", 1),
|
|
2409
|
+
_(m.$slots, "default")
|
|
2410
2410
|
])
|
|
2411
2411
|
]),
|
|
2412
2412
|
_: 3
|
|
2413
2413
|
}, 16, ["target", "class", "href"]));
|
|
2414
2414
|
}
|
|
2415
2415
|
});
|
|
2416
|
-
const
|
|
2416
|
+
const $s = {
|
|
2417
2417
|
key: 0,
|
|
2418
2418
|
class: "ma-side-menu-item-icon"
|
|
2419
|
-
},
|
|
2419
|
+
}, ws = {
|
|
2420
2420
|
name: "MaSideMenuItem"
|
|
2421
|
-
},
|
|
2422
|
-
...
|
|
2421
|
+
}, il = /* @__PURE__ */ B({
|
|
2422
|
+
...ws,
|
|
2423
2423
|
props: {
|
|
2424
2424
|
href: null,
|
|
2425
2425
|
target: null,
|
|
@@ -2444,38 +2444,38 @@ const hs = {
|
|
|
2444
2444
|
]), l = c(
|
|
2445
2445
|
() => t?.activeIcon ? t.activeIcon : t.icon ? t.icon.replace("bulk", "bold") : null
|
|
2446
2446
|
);
|
|
2447
|
-
return (i, r) => (n(), f(ae(s(e)),
|
|
2447
|
+
return (i, r) => (n(), f(ae(s(e)), S({
|
|
2448
2448
|
role: "button",
|
|
2449
2449
|
target: t?.target,
|
|
2450
2450
|
class: s(o),
|
|
2451
2451
|
href: t?.href
|
|
2452
2452
|
}, i.$attrs), {
|
|
2453
|
-
default:
|
|
2453
|
+
default: y(() => [
|
|
2454
2454
|
b("span", null, [
|
|
2455
|
-
t?.icon ? (n(), p("div",
|
|
2456
|
-
X(
|
|
2455
|
+
t?.icon ? (n(), p("div", $s, [
|
|
2456
|
+
X(k(M, {
|
|
2457
2457
|
size: "xs",
|
|
2458
2458
|
name: s(l)
|
|
2459
2459
|
}, null, 8, ["name"]), [
|
|
2460
2460
|
[Q, t.active]
|
|
2461
2461
|
]),
|
|
2462
|
-
X(
|
|
2462
|
+
X(k(M, {
|
|
2463
2463
|
size: "xs",
|
|
2464
2464
|
name: t.icon
|
|
2465
2465
|
}, null, 8, ["name"]), [
|
|
2466
2466
|
[Q, !t.active]
|
|
2467
2467
|
])
|
|
2468
2468
|
])) : g("", !0),
|
|
2469
|
-
|
|
2470
|
-
|
|
2469
|
+
P(" " + C(t?.text) + " ", 1),
|
|
2470
|
+
_(i.$slots, "default")
|
|
2471
2471
|
]),
|
|
2472
2472
|
t.badgeText ? (n(), f(_e, {
|
|
2473
2473
|
key: 0,
|
|
2474
2474
|
size: "small",
|
|
2475
2475
|
variant: t.badgeColor
|
|
2476
2476
|
}, {
|
|
2477
|
-
default:
|
|
2478
|
-
|
|
2477
|
+
default: y(() => [
|
|
2478
|
+
P(C(a.badgeText), 1)
|
|
2479
2479
|
]),
|
|
2480
2480
|
_: 1
|
|
2481
2481
|
}, 8, ["variant"])) : g("", !0)
|
|
@@ -2484,7 +2484,7 @@ const hs = {
|
|
|
2484
2484
|
}, 16, ["target", "class", "href"]));
|
|
2485
2485
|
}
|
|
2486
2486
|
});
|
|
2487
|
-
const
|
|
2487
|
+
const rl = [
|
|
2488
2488
|
"dark",
|
|
2489
2489
|
"blue",
|
|
2490
2490
|
"jordy-blue",
|
|
@@ -2493,11 +2493,11 @@ const nl = [
|
|
|
2493
2493
|
"red",
|
|
2494
2494
|
"purple",
|
|
2495
2495
|
"purple-light"
|
|
2496
|
-
],
|
|
2496
|
+
], Cs = {
|
|
2497
2497
|
name: "MaSideMenuIconButton",
|
|
2498
2498
|
inheritAttrs: !1
|
|
2499
|
-
},
|
|
2500
|
-
...
|
|
2499
|
+
}, cl = /* @__PURE__ */ B({
|
|
2500
|
+
...Cs,
|
|
2501
2501
|
props: {
|
|
2502
2502
|
icon: null,
|
|
2503
2503
|
activeIcon: null,
|
|
@@ -2511,15 +2511,15 @@ const nl = [
|
|
|
2511
2511
|
"ma-side-menu-icon-button",
|
|
2512
2512
|
{ active: t?.active }
|
|
2513
2513
|
]), u = () => e.value = !0, d = () => e.value = !1;
|
|
2514
|
-
return (m,
|
|
2514
|
+
return (m, x) => t?.tooltipText ? (n(), f(ue, {
|
|
2515
2515
|
key: 0,
|
|
2516
2516
|
overlayClassName: "ma-icon-button-tooltip",
|
|
2517
2517
|
title: t?.tooltipText,
|
|
2518
2518
|
type: "primary",
|
|
2519
2519
|
placement: "bottomLeft"
|
|
2520
2520
|
}, {
|
|
2521
|
-
default:
|
|
2522
|
-
(n(), f(ae(s(o)),
|
|
2521
|
+
default: y(() => [
|
|
2522
|
+
(n(), f(ae(s(o)), S({
|
|
2523
2523
|
onMousedown: u,
|
|
2524
2524
|
onMouseup: d,
|
|
2525
2525
|
class: s(r),
|
|
@@ -2527,26 +2527,26 @@ const nl = [
|
|
|
2527
2527
|
target: t?.target,
|
|
2528
2528
|
role: "button"
|
|
2529
2529
|
}, m.$attrs), {
|
|
2530
|
-
default:
|
|
2531
|
-
X(
|
|
2530
|
+
default: y(() => [
|
|
2531
|
+
X(k(M, {
|
|
2532
2532
|
size: "xs",
|
|
2533
2533
|
name: s(i)
|
|
2534
2534
|
}, null, 8, ["name"]), [
|
|
2535
2535
|
[Q, s(l)]
|
|
2536
2536
|
]),
|
|
2537
|
-
X(
|
|
2537
|
+
X(k(M, {
|
|
2538
2538
|
size: "xs",
|
|
2539
2539
|
name: t.icon
|
|
2540
2540
|
}, null, 8, ["name"]), [
|
|
2541
2541
|
[Q, !s(l)]
|
|
2542
2542
|
]),
|
|
2543
|
-
|
|
2543
|
+
_(m.$slots, "default")
|
|
2544
2544
|
]),
|
|
2545
2545
|
_: 3
|
|
2546
2546
|
}, 16, ["class", "href", "target"]))
|
|
2547
2547
|
]),
|
|
2548
2548
|
_: 3
|
|
2549
|
-
}, 8, ["title"])) : (n(), f(ae(s(o)),
|
|
2549
|
+
}, 8, ["title"])) : (n(), f(ae(s(o)), S({
|
|
2550
2550
|
key: 1,
|
|
2551
2551
|
onMousedown: u,
|
|
2552
2552
|
onMouseup: d,
|
|
@@ -2555,52 +2555,52 @@ const nl = [
|
|
|
2555
2555
|
target: t?.target,
|
|
2556
2556
|
role: "button"
|
|
2557
2557
|
}, m.$attrs), {
|
|
2558
|
-
default:
|
|
2559
|
-
X(
|
|
2558
|
+
default: y(() => [
|
|
2559
|
+
X(k(M, {
|
|
2560
2560
|
size: "xs",
|
|
2561
2561
|
name: s(i)
|
|
2562
2562
|
}, null, 8, ["name"]), [
|
|
2563
2563
|
[Q, s(l)]
|
|
2564
2564
|
]),
|
|
2565
|
-
X(
|
|
2565
|
+
X(k(M, {
|
|
2566
2566
|
size: "xs",
|
|
2567
2567
|
name: t.icon
|
|
2568
2568
|
}, null, 8, ["name"]), [
|
|
2569
2569
|
[Q, !s(l)]
|
|
2570
2570
|
]),
|
|
2571
|
-
|
|
2571
|
+
_(m.$slots, "default")
|
|
2572
2572
|
]),
|
|
2573
2573
|
_: 3
|
|
2574
2574
|
}, 16, ["class", "href", "target"]));
|
|
2575
2575
|
}
|
|
2576
2576
|
});
|
|
2577
|
-
const
|
|
2577
|
+
const Ms = {
|
|
2578
2578
|
name: "MaSideMenuRoundIconButton",
|
|
2579
2579
|
inheritAttrs: !1
|
|
2580
|
-
},
|
|
2581
|
-
|
|
2580
|
+
}, pl = /* @__PURE__ */ B({
|
|
2581
|
+
...Ms,
|
|
2582
2582
|
props: {
|
|
2583
2583
|
icon: null
|
|
2584
2584
|
},
|
|
2585
2585
|
setup(a) {
|
|
2586
2586
|
const t = a;
|
|
2587
|
-
return (e, o) => (n(), p("button",
|
|
2587
|
+
return (e, o) => (n(), p("button", S({
|
|
2588
2588
|
class: "ma-side-menu-round-icon-button",
|
|
2589
2589
|
role: "button"
|
|
2590
2590
|
}, e.$attrs), [
|
|
2591
|
-
|
|
2591
|
+
k(M, {
|
|
2592
2592
|
size: "xs",
|
|
2593
2593
|
name: t.icon
|
|
2594
2594
|
}, null, 8, ["name"]),
|
|
2595
|
-
|
|
2595
|
+
_(e.$slots, "default")
|
|
2596
2596
|
], 16));
|
|
2597
2597
|
}
|
|
2598
2598
|
});
|
|
2599
|
-
const
|
|
2599
|
+
const Bs = ["src", "alt"], xs = {
|
|
2600
2600
|
name: "MaSideMenuAppButton",
|
|
2601
2601
|
inheritAttrs: !1
|
|
2602
|
-
},
|
|
2603
|
-
...
|
|
2602
|
+
}, ul = /* @__PURE__ */ B({
|
|
2603
|
+
...xs,
|
|
2604
2604
|
props: {
|
|
2605
2605
|
appImage: null,
|
|
2606
2606
|
appName: null,
|
|
@@ -2617,26 +2617,26 @@ const ws = ["src", "alt"], Cs = {
|
|
|
2617
2617
|
type: "primary",
|
|
2618
2618
|
placement: "topLeft"
|
|
2619
2619
|
}, {
|
|
2620
|
-
default:
|
|
2621
|
-
b("button",
|
|
2620
|
+
default: y(() => [
|
|
2621
|
+
b("button", S({
|
|
2622
2622
|
class: s(e),
|
|
2623
2623
|
role: "button"
|
|
2624
2624
|
}, o.$attrs), [
|
|
2625
2625
|
b("img", {
|
|
2626
2626
|
src: a.appImage,
|
|
2627
2627
|
alt: a.appName
|
|
2628
|
-
}, null, 8,
|
|
2629
|
-
|
|
2628
|
+
}, null, 8, Bs),
|
|
2629
|
+
_(o.$slots, "default")
|
|
2630
2630
|
], 16)
|
|
2631
2631
|
]),
|
|
2632
2632
|
_: 3
|
|
2633
2633
|
}, 8, ["title"]));
|
|
2634
2634
|
}
|
|
2635
2635
|
});
|
|
2636
|
-
const
|
|
2636
|
+
const zs = {
|
|
2637
2637
|
name: "MaSideMenuAddNewAppButton"
|
|
2638
|
-
},
|
|
2639
|
-
...
|
|
2638
|
+
}, dl = /* @__PURE__ */ B({
|
|
2639
|
+
...zs,
|
|
2640
2640
|
props: {
|
|
2641
2641
|
href: null,
|
|
2642
2642
|
target: null,
|
|
@@ -2645,24 +2645,24 @@ const Ms = {
|
|
|
2645
2645
|
},
|
|
2646
2646
|
setup(a) {
|
|
2647
2647
|
const t = a;
|
|
2648
|
-
return (e, o) => (n(), f(oe,
|
|
2648
|
+
return (e, o) => (n(), f(oe, S(e.$attrs, {
|
|
2649
2649
|
target: t?.target,
|
|
2650
2650
|
href: t?.href,
|
|
2651
2651
|
disabled: t?.disabled,
|
|
2652
2652
|
class: "ma-add-new-app-button"
|
|
2653
2653
|
}), {
|
|
2654
|
-
default:
|
|
2655
|
-
|
|
2656
|
-
|
|
2654
|
+
default: y(() => [
|
|
2655
|
+
P(C(t?.text) + " ", 1),
|
|
2656
|
+
_(e.$slots, "default")
|
|
2657
2657
|
]),
|
|
2658
2658
|
_: 3
|
|
2659
2659
|
}, 16, ["target", "href", "disabled"]));
|
|
2660
2660
|
}
|
|
2661
2661
|
});
|
|
2662
|
-
const
|
|
2662
|
+
const Ss = { class: "ma-progress-circle" }, Is = ["viewBox"], Ts = ["d", "stroke-width"], As = ["d", "stroke-dasharray", "stroke-dashoffset", "stroke-width"], Ns = { key: 1 }, Ps = {
|
|
2663
2663
|
key: 0,
|
|
2664
2664
|
class: "label"
|
|
2665
|
-
},
|
|
2665
|
+
}, Ds = { class: "percent" }, Ls = /* @__PURE__ */ B({
|
|
2666
2666
|
__name: "circle",
|
|
2667
2667
|
props: {
|
|
2668
2668
|
percent: null,
|
|
@@ -2708,7 +2708,7 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2708
2708
|
}, o = c(() => e[t.size]), l = c(
|
|
2709
2709
|
() => o.value.strokeDashArray * (100 - t.percent) / 100
|
|
2710
2710
|
);
|
|
2711
|
-
return (i, r) => (n(), p("div",
|
|
2711
|
+
return (i, r) => (n(), p("div", Ss, [
|
|
2712
2712
|
(n(), p("svg", {
|
|
2713
2713
|
class: "circle",
|
|
2714
2714
|
viewBox: s(o).viewBox,
|
|
@@ -2721,7 +2721,7 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2721
2721
|
"stroke-linejoin": "round",
|
|
2722
2722
|
"stroke-width": s(o).strokeWidth,
|
|
2723
2723
|
class: "wrapper"
|
|
2724
|
-
}, null, 8,
|
|
2724
|
+
}, null, 8, Ts),
|
|
2725
2725
|
t.percent > 0 ? (n(), p("path", {
|
|
2726
2726
|
key: 0,
|
|
2727
2727
|
d: s(o).path,
|
|
@@ -2731,21 +2731,21 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2731
2731
|
"stroke-dashoffset": s(l),
|
|
2732
2732
|
"stroke-width": s(o).strokeWidth,
|
|
2733
2733
|
class: "percent"
|
|
2734
|
-
}, null, 8,
|
|
2735
|
-
], 8,
|
|
2734
|
+
}, null, 8, As)) : g("", !0)
|
|
2735
|
+
], 8, Is)),
|
|
2736
2736
|
t?.icon ? (n(), f(M, {
|
|
2737
2737
|
key: 0,
|
|
2738
2738
|
name: t.icon
|
|
2739
|
-
}, null, 8, ["name"])) : (n(), p("label",
|
|
2740
|
-
t?.label || i.$slots.customLabel ? (n(), p("span",
|
|
2741
|
-
|
|
2742
|
-
|
|
2739
|
+
}, null, 8, ["name"])) : (n(), p("label", Ns, [
|
|
2740
|
+
t?.label || i.$slots.customLabel ? (n(), p("span", Ps, [
|
|
2741
|
+
P(C(t.label) + " ", 1),
|
|
2742
|
+
_(i.$slots, "customLabel")
|
|
2743
2743
|
])) : g("", !0),
|
|
2744
|
-
b("span",
|
|
2744
|
+
b("span", Ds, C(t?.percent) + "% ", 1)
|
|
2745
2745
|
]))
|
|
2746
2746
|
]));
|
|
2747
2747
|
}
|
|
2748
|
-
}),
|
|
2748
|
+
}), Es = { class: "ma-progress-line" }, Fs = { class: "line-wrapper" }, Vs = { key: 1 }, Gs = { key: 2 }, Us = { class: "line-wrapper" }, Rs = { key: 1 }, Os = { key: 2 }, Ks = /* @__PURE__ */ B({
|
|
2749
2749
|
__name: "line",
|
|
2750
2750
|
props: {
|
|
2751
2751
|
percent: null,
|
|
@@ -2766,10 +2766,10 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2766
2766
|
trigger: "click",
|
|
2767
2767
|
...t.tooltipProps
|
|
2768
2768
|
}));
|
|
2769
|
-
return (l, i) => (n(), p("div",
|
|
2770
|
-
t?.showTooltip ? (n(), f(ue, ze(
|
|
2771
|
-
default:
|
|
2772
|
-
b("div",
|
|
2769
|
+
return (l, i) => (n(), p("div", Es, [
|
|
2770
|
+
t?.showTooltip ? (n(), f(ue, ze(S({ key: 0 }, s(o))), {
|
|
2771
|
+
default: y(() => [
|
|
2772
|
+
b("div", Fs, [
|
|
2773
2773
|
b("div", {
|
|
2774
2774
|
class: "line",
|
|
2775
2775
|
style: Z(s(e))
|
|
@@ -2778,14 +2778,14 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2778
2778
|
t?.icon ? (n(), f(M, {
|
|
2779
2779
|
key: 0,
|
|
2780
2780
|
name: t.icon
|
|
2781
|
-
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label",
|
|
2782
|
-
l.$slots.customLabel ? (n(), p("label",
|
|
2783
|
-
|
|
2781
|
+
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label", Vs, C(t.percent) + "%", 1)) : g("", !0),
|
|
2782
|
+
l.$slots.customLabel ? (n(), p("label", Gs, [
|
|
2783
|
+
_(l.$slots, "customLabel")
|
|
2784
2784
|
])) : g("", !0)
|
|
2785
2785
|
]),
|
|
2786
2786
|
_: 3
|
|
2787
2787
|
}, 16)) : (n(), p(W, { key: 1 }, [
|
|
2788
|
-
b("div",
|
|
2788
|
+
b("div", Us, [
|
|
2789
2789
|
b("div", {
|
|
2790
2790
|
class: "line",
|
|
2791
2791
|
style: Z(s(e))
|
|
@@ -2794,17 +2794,17 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2794
2794
|
t?.icon ? (n(), f(M, {
|
|
2795
2795
|
key: 0,
|
|
2796
2796
|
name: t.icon
|
|
2797
|
-
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label",
|
|
2798
|
-
l.$slots.customLabel ? (n(), p("label",
|
|
2799
|
-
|
|
2797
|
+
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label", Rs, C(t.percent) + "%", 1)) : g("", !0),
|
|
2798
|
+
l.$slots.customLabel ? (n(), p("label", Os, [
|
|
2799
|
+
_(l.$slots, "customLabel")
|
|
2800
2800
|
])) : g("", !0)
|
|
2801
2801
|
], 64))
|
|
2802
2802
|
]));
|
|
2803
2803
|
}
|
|
2804
|
-
}),
|
|
2804
|
+
}), js = { class: "ma-progress-circle ma-progress-half-circle" }, qs = ["viewBox"], Hs = ["d", "stroke-width"], Ws = ["d", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Js = { key: 1 }, Ys = {
|
|
2805
2805
|
key: 0,
|
|
2806
2806
|
class: "label"
|
|
2807
|
-
},
|
|
2807
|
+
}, Zs = { class: "percent" }, Xs = /* @__PURE__ */ B({
|
|
2808
2808
|
__name: "halfCircle",
|
|
2809
2809
|
props: {
|
|
2810
2810
|
percent: null,
|
|
@@ -2850,7 +2850,7 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2850
2850
|
}, o = c(() => e[t.size]), l = c(
|
|
2851
2851
|
() => o.value.strokeDashArray * (100 - t.percent) / 100
|
|
2852
2852
|
);
|
|
2853
|
-
return (i, r) => (n(), p("div",
|
|
2853
|
+
return (i, r) => (n(), p("div", js, [
|
|
2854
2854
|
(n(), p("svg", {
|
|
2855
2855
|
class: "circle",
|
|
2856
2856
|
viewBox: s(o).viewBox,
|
|
@@ -2863,7 +2863,7 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2863
2863
|
"stroke-linecap": "round",
|
|
2864
2864
|
"stroke-linejoin": "round",
|
|
2865
2865
|
class: "wrapper"
|
|
2866
|
-
}, null, 8,
|
|
2866
|
+
}, null, 8, Hs),
|
|
2867
2867
|
t.percent > 0 ? (n(), p("path", {
|
|
2868
2868
|
key: 0,
|
|
2869
2869
|
d: s(o).path,
|
|
@@ -2873,21 +2873,21 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2873
2873
|
"stroke-dasharray": s(o).strokeDashArray,
|
|
2874
2874
|
"stroke-dashoffset": s(l),
|
|
2875
2875
|
class: "percent"
|
|
2876
|
-
}, null, 8,
|
|
2877
|
-
], 8,
|
|
2876
|
+
}, null, 8, Ws)) : g("", !0)
|
|
2877
|
+
], 8, qs)),
|
|
2878
2878
|
t?.icon ? (n(), f(M, {
|
|
2879
2879
|
key: 0,
|
|
2880
2880
|
name: t.icon
|
|
2881
|
-
}, null, 8, ["name"])) : (n(), p("label",
|
|
2882
|
-
t?.label || i.$slots.customLabel ? (n(), p("span",
|
|
2883
|
-
|
|
2884
|
-
|
|
2881
|
+
}, null, 8, ["name"])) : (n(), p("label", Js, [
|
|
2882
|
+
t?.label || i.$slots.customLabel ? (n(), p("span", Ys, [
|
|
2883
|
+
P(C(t?.label) + " ", 1),
|
|
2884
|
+
_(i.$slots, "customLabel")
|
|
2885
2885
|
])) : g("", !0),
|
|
2886
|
-
b("span",
|
|
2886
|
+
b("span", Zs, C(t?.percent) + "% ", 1)
|
|
2887
2887
|
]))
|
|
2888
2888
|
]));
|
|
2889
2889
|
}
|
|
2890
|
-
}),
|
|
2890
|
+
}), Qs = { class: "ma-progress-line-step" }, en = { class: "step-line-wrapper" }, tn = { key: 1 }, on = { key: 2 }, sn = /* @__PURE__ */ B({
|
|
2891
2891
|
__name: "stepLine",
|
|
2892
2892
|
props: {
|
|
2893
2893
|
percent: null,
|
|
@@ -2906,8 +2906,8 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2906
2906
|
width: `${r}%`
|
|
2907
2907
|
};
|
|
2908
2908
|
};
|
|
2909
|
-
return (o, l) => (n(), p("div",
|
|
2910
|
-
b("div",
|
|
2909
|
+
return (o, l) => (n(), p("div", Qs, [
|
|
2910
|
+
b("div", en, [
|
|
2911
2911
|
(n(), p(W, null, j(10, (i) => b("div", {
|
|
2912
2912
|
class: "single-line",
|
|
2913
2913
|
key: i
|
|
@@ -2921,16 +2921,16 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2921
2921
|
t?.icon ? (n(), f(M, {
|
|
2922
2922
|
key: 0,
|
|
2923
2923
|
name: t.icon
|
|
2924
|
-
}, null, 8, ["name"])) : t?.showPercent ? (n(), p("label",
|
|
2925
|
-
o.$slots.customLabel ? (n(), p("label",
|
|
2926
|
-
|
|
2924
|
+
}, null, 8, ["name"])) : t?.showPercent ? (n(), p("label", tn, C(t.percent) + "%", 1)) : g("", !0),
|
|
2925
|
+
o.$slots.customLabel ? (n(), p("label", on, [
|
|
2926
|
+
_(o.$slots, "customLabel")
|
|
2927
2927
|
])) : g("", !0)
|
|
2928
2928
|
]));
|
|
2929
2929
|
}
|
|
2930
|
-
}),
|
|
2930
|
+
}), nn = {
|
|
2931
2931
|
name: "MaProgress"
|
|
2932
|
-
},
|
|
2933
|
-
...
|
|
2932
|
+
}, ml = /* @__PURE__ */ B({
|
|
2933
|
+
...nn,
|
|
2934
2934
|
props: {
|
|
2935
2935
|
type: { default: "line" },
|
|
2936
2936
|
percent: null,
|
|
@@ -2961,10 +2961,10 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2961
2961
|
}
|
|
2962
2962
|
]), o = c(
|
|
2963
2963
|
() => ({
|
|
2964
|
-
circle:
|
|
2965
|
-
line:
|
|
2966
|
-
["half-circle"]:
|
|
2967
|
-
["line-step"]:
|
|
2964
|
+
circle: Ls,
|
|
2965
|
+
line: Ks,
|
|
2966
|
+
["half-circle"]: Xs,
|
|
2967
|
+
["line-step"]: sn
|
|
2968
2968
|
})[t.type]
|
|
2969
2969
|
), l = c(() => [
|
|
2970
2970
|
`
|
|
@@ -2975,10 +2975,10 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2975
2975
|
() => t.percent > 100 ? 100 : t.percent
|
|
2976
2976
|
);
|
|
2977
2977
|
return (r, u) => (n(), p("div", {
|
|
2978
|
-
class:
|
|
2978
|
+
class: L(s(e))
|
|
2979
2979
|
}, [
|
|
2980
2980
|
(n(), f(ae(s(o)), {
|
|
2981
|
-
class:
|
|
2981
|
+
class: L(s(l)),
|
|
2982
2982
|
percent: s(i),
|
|
2983
2983
|
icon: t?.icon,
|
|
2984
2984
|
label: t?.label,
|
|
@@ -2987,41 +2987,41 @@ const Bs = { class: "ma-progress-circle" }, xs = ["viewBox"], zs = ["d", "stroke
|
|
|
2987
2987
|
showTooltip: t?.showTooltip,
|
|
2988
2988
|
tooltipProps: t?.tooltipProps
|
|
2989
2989
|
}, {
|
|
2990
|
-
customLabel:
|
|
2991
|
-
|
|
2990
|
+
customLabel: y(() => [
|
|
2991
|
+
_(r.$slots, "customLabel")
|
|
2992
2992
|
]),
|
|
2993
2993
|
_: 3
|
|
2994
2994
|
}, 8, ["class", "percent", "icon", "label", "size", "showPercent", "showTooltip", "tooltipProps"]))
|
|
2995
2995
|
], 2));
|
|
2996
2996
|
}
|
|
2997
2997
|
});
|
|
2998
|
-
const
|
|
2998
|
+
const gl = [
|
|
2999
2999
|
"line",
|
|
3000
3000
|
"line-step",
|
|
3001
3001
|
"circle",
|
|
3002
3002
|
"half-circle"
|
|
3003
|
-
],
|
|
3003
|
+
], vl = [
|
|
3004
3004
|
"dark",
|
|
3005
3005
|
"blue",
|
|
3006
3006
|
"green",
|
|
3007
3007
|
"orange",
|
|
3008
3008
|
"red"
|
|
3009
|
-
],
|
|
3009
|
+
], fl = [
|
|
3010
3010
|
"xs",
|
|
3011
3011
|
"sm",
|
|
3012
3012
|
"md",
|
|
3013
3013
|
"lg",
|
|
3014
3014
|
"xl"
|
|
3015
|
-
],
|
|
3015
|
+
], _l = [
|
|
3016
3016
|
"left",
|
|
3017
3017
|
"right"
|
|
3018
|
-
],
|
|
3018
|
+
], an = {
|
|
3019
3019
|
key: 0,
|
|
3020
3020
|
class: "ak-autocomplete__label"
|
|
3021
|
-
},
|
|
3021
|
+
}, ln = { class: "ak-autocomplete__options" }, rn = ["onMousedown", "onMouseover"], cn = { key: 1 }, pn = {
|
|
3022
3022
|
name: "MaAutocomplete"
|
|
3023
|
-
},
|
|
3024
|
-
...
|
|
3023
|
+
}, yl = /* @__PURE__ */ B({
|
|
3024
|
+
...pn,
|
|
3025
3025
|
props: {
|
|
3026
3026
|
value: null,
|
|
3027
3027
|
options: { default: () => [] },
|
|
@@ -3031,7 +3031,8 @@ const pl = [
|
|
|
3031
3031
|
prefixIcon: null,
|
|
3032
3032
|
avatarUrl: null,
|
|
3033
3033
|
open: { type: Boolean, default: !1 },
|
|
3034
|
-
size: { default: "large" }
|
|
3034
|
+
size: { default: "large" },
|
|
3035
|
+
autofocus: { type: Boolean, default: !1 }
|
|
3035
3036
|
},
|
|
3036
3037
|
emits: ["update:value", "search"],
|
|
3037
3038
|
setup(a, { emit: t }) {
|
|
@@ -3042,22 +3043,22 @@ const pl = [
|
|
|
3042
3043
|
set(v) {
|
|
3043
3044
|
t("update:value", v), u.value = -1;
|
|
3044
3045
|
}
|
|
3045
|
-
}), m = c(() => e?.avatarUrl ? se.userInfo : se.text),
|
|
3046
|
+
}), m = c(() => e?.avatarUrl ? se.userInfo : se.text), x = c(() => !!o.default), z = c(
|
|
3046
3047
|
() => e.options.filter(
|
|
3047
3048
|
(v) => e.filterFn(d.value || "", v)
|
|
3048
3049
|
)
|
|
3049
|
-
),
|
|
3050
|
+
), I = (v) => {
|
|
3050
3051
|
const V = v?.value || v?.label || v;
|
|
3051
|
-
d.value = V,
|
|
3052
|
-
},
|
|
3052
|
+
d.value = V, x.value && r.value && (r.value.value = V), l.value = !1;
|
|
3053
|
+
}, N = async () => {
|
|
3053
3054
|
const v = `${r.value?.value}`;
|
|
3054
|
-
t("search", v),
|
|
3055
|
-
},
|
|
3055
|
+
t("search", v), x.value && t("update:value", v), l.value || (l.value = !0);
|
|
3056
|
+
}, $ = (v) => {
|
|
3056
3057
|
l.value = !0;
|
|
3057
|
-
},
|
|
3058
|
+
}, h = (v) => {
|
|
3058
3059
|
l.value && i.value && v.target instanceof Node && !i.value.contains(v.target) && (l.value = !1);
|
|
3059
|
-
},
|
|
3060
|
-
v.key === "ArrowUp" && u.value > -1 ? u.value-- : v.key === "ArrowDown" && u.value <
|
|
3060
|
+
}, T = (v) => {
|
|
3061
|
+
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] && I(z.value[u.value]);
|
|
3061
3062
|
}, R = (v) => {
|
|
3062
3063
|
u.value = v;
|
|
3063
3064
|
}, G = (v, V) => ({
|
|
@@ -3074,60 +3075,61 @@ const pl = [
|
|
|
3074
3075
|
}, 0);
|
|
3075
3076
|
}
|
|
3076
3077
|
), de(() => {
|
|
3077
|
-
i.value && (i.value.addEventListener("input",
|
|
3078
|
+
i.value && (i.value.addEventListener("input", N), i.value.addEventListener("keydown", T), document.addEventListener("click", h), r.value = i.value.querySelector('input[type="text"]'), r.value && r.value.addEventListener("focus", $));
|
|
3078
3079
|
}), Se(() => {
|
|
3079
|
-
i.value && (i.value.removeEventListener("input",
|
|
3080
|
-
}), (v, V) => (n(), p("div",
|
|
3080
|
+
i.value && (i.value.removeEventListener("input", N), document.removeEventListener("click", h), i.value.removeEventListener("keydown", T), r.value && r.value.removeEventListener("focus", $));
|
|
3081
|
+
}), (v, V) => (n(), p("div", S({
|
|
3081
3082
|
class: "ak-autocomplete-wrapper",
|
|
3082
3083
|
ref_key: "autoComplete",
|
|
3083
3084
|
ref: i
|
|
3084
3085
|
}, v.$attrs), [
|
|
3085
|
-
|
|
3086
|
+
k(Yo, {
|
|
3086
3087
|
"overlay-class-name": "ak-autocomplete__dropdown",
|
|
3087
3088
|
trigger: [],
|
|
3088
3089
|
visible: l.value,
|
|
3089
3090
|
"onUpdate:visible": V[1] || (V[1] = (U) => l.value = U)
|
|
3090
3091
|
}, {
|
|
3091
|
-
overlay:
|
|
3092
|
-
b("div",
|
|
3092
|
+
overlay: y(() => [
|
|
3093
|
+
b("div", ln, [
|
|
3093
3094
|
b("ul", null, [
|
|
3094
|
-
(n(!0), p(W, null, j(s(
|
|
3095
|
-
class:
|
|
3096
|
-
onMousedown: Te((ce) =>
|
|
3095
|
+
(n(!0), p(W, null, j(s(z), (U, Y) => (n(), p("li", {
|
|
3096
|
+
class: L(G(U, Y)),
|
|
3097
|
+
onMousedown: Te((ce) => I(U), ["prevent"]),
|
|
3097
3098
|
onMouseover: (ce) => R(Y),
|
|
3098
3099
|
key: Y
|
|
3099
3100
|
}, [
|
|
3100
|
-
v.$slots.option ?
|
|
3101
|
+
v.$slots.option ? _(v.$slots, "option", {
|
|
3101
3102
|
key: 0,
|
|
3102
3103
|
label: U?.label,
|
|
3103
3104
|
value: U.value
|
|
3104
|
-
}) : (n(), p("span",
|
|
3105
|
+
}) : (n(), p("span", cn, C(U?.label || U?.value), 1)),
|
|
3105
3106
|
U?.value === s(d) ? (n(), f(M, {
|
|
3106
3107
|
key: 2,
|
|
3107
3108
|
name: "tick",
|
|
3108
3109
|
size: "sm"
|
|
3109
3110
|
})) : g("", !0)
|
|
3110
|
-
], 42,
|
|
3111
|
+
], 42, rn))), 128))
|
|
3111
3112
|
]),
|
|
3112
|
-
|
|
3113
|
+
_(v.$slots, "overlay")
|
|
3113
3114
|
])
|
|
3114
3115
|
]),
|
|
3115
|
-
default:
|
|
3116
|
+
default: y(() => [
|
|
3116
3117
|
b("div", {
|
|
3117
|
-
class:
|
|
3118
|
+
class: L(s(q))
|
|
3118
3119
|
}, [
|
|
3119
|
-
e.label ? (n(), p("label",
|
|
3120
|
-
v.$slots.default ?
|
|
3120
|
+
e.label ? (n(), p("label", an, C(e.label), 1)) : g("", !0),
|
|
3121
|
+
v.$slots.default ? _(v.$slots, "default", { key: 1 }) : (n(), f(ye, {
|
|
3121
3122
|
key: 2,
|
|
3122
|
-
|
|
3123
|
+
autofocus: e.autofocus,
|
|
3124
|
+
class: L({ "active-input": s(d)?.length }),
|
|
3123
3125
|
size: e.size,
|
|
3124
3126
|
placeholder: e?.placeholder,
|
|
3125
3127
|
prefixIcon: e?.prefixIcon,
|
|
3126
3128
|
avatarUrl: e?.avatarUrl,
|
|
3127
3129
|
type: s(m),
|
|
3128
3130
|
value: s(d),
|
|
3129
|
-
"onUpdate:value": V[0] || (V[0] = (U) =>
|
|
3130
|
-
}, null, 8, ["class", "size", "placeholder", "prefixIcon", "avatarUrl", "type", "value"]))
|
|
3131
|
+
"onUpdate:value": V[0] || (V[0] = (U) => ee(d) ? d.value = U : null)
|
|
3132
|
+
}, null, 8, ["autofocus", "class", "size", "placeholder", "prefixIcon", "avatarUrl", "type", "value"]))
|
|
3131
3133
|
], 2)
|
|
3132
3134
|
]),
|
|
3133
3135
|
_: 3
|
|
@@ -3135,10 +3137,10 @@ const pl = [
|
|
|
3135
3137
|
], 16));
|
|
3136
3138
|
}
|
|
3137
3139
|
});
|
|
3138
|
-
const
|
|
3140
|
+
const un = {
|
|
3139
3141
|
name: "MaTabs"
|
|
3140
|
-
},
|
|
3141
|
-
...
|
|
3142
|
+
}, dn = /* @__PURE__ */ B({
|
|
3143
|
+
...un,
|
|
3142
3144
|
props: {
|
|
3143
3145
|
activeKey: null,
|
|
3144
3146
|
animated: { type: Boolean, default: !1 },
|
|
@@ -3156,7 +3158,7 @@ const rn = {
|
|
|
3156
3158
|
t("update:activeKey", l);
|
|
3157
3159
|
}
|
|
3158
3160
|
});
|
|
3159
|
-
return (l, i) => (n(), f(s(
|
|
3161
|
+
return (l, i) => (n(), f(s(it), S({
|
|
3160
3162
|
class: "ak-tabs",
|
|
3161
3163
|
animated: e?.animated,
|
|
3162
3164
|
destroyInactiveTabPane: e?.destroyInactiveTabPane,
|
|
@@ -3164,10 +3166,10 @@ const rn = {
|
|
|
3164
3166
|
type: a.type,
|
|
3165
3167
|
"prefix-cls": "antd-tabs",
|
|
3166
3168
|
activeKey: s(o),
|
|
3167
|
-
"onUpdate:activeKey": i[0] || (i[0] = (r) =>
|
|
3169
|
+
"onUpdate:activeKey": i[0] || (i[0] = (r) => ee(o) ? o.value = r : null)
|
|
3168
3170
|
}, l.$attrs), J({
|
|
3169
|
-
moreIcon:
|
|
3170
|
-
|
|
3171
|
+
moreIcon: y(() => [
|
|
3172
|
+
k(M, {
|
|
3171
3173
|
name: "ellipsis-horizontal",
|
|
3172
3174
|
size: "xs"
|
|
3173
3175
|
})
|
|
@@ -3176,40 +3178,40 @@ const rn = {
|
|
|
3176
3178
|
}, [
|
|
3177
3179
|
j(l.$slots, (r, u) => ({
|
|
3178
3180
|
name: u,
|
|
3179
|
-
fn:
|
|
3180
|
-
|
|
3181
|
+
fn: y(() => [
|
|
3182
|
+
_(l.$slots, u)
|
|
3181
3183
|
])
|
|
3182
3184
|
}))
|
|
3183
3185
|
]), 1040, ["animated", "destroyInactiveTabPane", "tabPosition", "type", "activeKey"]));
|
|
3184
3186
|
}
|
|
3185
3187
|
});
|
|
3186
|
-
const
|
|
3188
|
+
const hl = [
|
|
3187
3189
|
"left",
|
|
3188
3190
|
"right",
|
|
3189
3191
|
"top",
|
|
3190
3192
|
"bottom"
|
|
3191
|
-
],
|
|
3193
|
+
], bl = [
|
|
3192
3194
|
"card",
|
|
3193
3195
|
"line"
|
|
3194
|
-
],
|
|
3196
|
+
], kl = [
|
|
3195
3197
|
"left",
|
|
3196
3198
|
"right"
|
|
3197
|
-
],
|
|
3199
|
+
], mn = /* @__PURE__ */ B({
|
|
3198
3200
|
__name: "tabPane",
|
|
3199
3201
|
setup(a) {
|
|
3200
|
-
return (t, e) => (n(), f(s(
|
|
3202
|
+
return (t, e) => (n(), f(s(rt), S({ tab: "test" }, t.$attrs), J({ _: 2 }, [
|
|
3201
3203
|
j(t.$slots, (o, l) => ({
|
|
3202
3204
|
name: l,
|
|
3203
|
-
fn:
|
|
3204
|
-
|
|
3205
|
+
fn: y(() => [
|
|
3206
|
+
_(t.$slots, l)
|
|
3205
3207
|
])
|
|
3206
3208
|
}))
|
|
3207
3209
|
]), 1040));
|
|
3208
3210
|
}
|
|
3209
|
-
}),
|
|
3211
|
+
}), gn = { class: "country-option" }, vn = { class: "country-option__name" }, fn = { class: "country-option__code" }, _n = {
|
|
3210
3212
|
name: "MaCountrySelect"
|
|
3211
|
-
},
|
|
3212
|
-
...
|
|
3213
|
+
}, $l = /* @__PURE__ */ B({
|
|
3214
|
+
..._n,
|
|
3213
3215
|
props: {
|
|
3214
3216
|
value: null,
|
|
3215
3217
|
filterFn: { type: Function, default: (a, t) => typeof name == "string" ? t.name.toLowerCase().search(a.toLowerCase()) > -1 : !0 },
|
|
@@ -3236,7 +3238,7 @@ const vl = [
|
|
|
3236
3238
|
"only-code": e.showSelectedCountryCode
|
|
3237
3239
|
}
|
|
3238
3240
|
]);
|
|
3239
|
-
return (r, u) => (n(), f(
|
|
3241
|
+
return (r, u) => (n(), f(Ne, S({
|
|
3240
3242
|
class: s(i),
|
|
3241
3243
|
size: e.size,
|
|
3242
3244
|
"show-search": e.showSearch,
|
|
@@ -3247,22 +3249,22 @@ const vl = [
|
|
|
3247
3249
|
"dropdown-class-name": "country-select-dropdown"
|
|
3248
3250
|
}, r.$attrs, {
|
|
3249
3251
|
value: s(o),
|
|
3250
|
-
"onUpdate:value": u[0] || (u[0] = (d) =>
|
|
3252
|
+
"onUpdate:value": u[0] || (u[0] = (d) => ee(o) ? o.value = d : null)
|
|
3251
3253
|
}), {
|
|
3252
|
-
default:
|
|
3254
|
+
default: y(() => [
|
|
3253
3255
|
(n(!0), p(W, null, j(e.countries, (d) => (n(), f(oo, {
|
|
3254
3256
|
key: d.code,
|
|
3255
3257
|
name: d.name,
|
|
3256
3258
|
value: d.code
|
|
3257
3259
|
}, {
|
|
3258
|
-
default:
|
|
3259
|
-
b("div",
|
|
3260
|
-
|
|
3260
|
+
default: y(() => [
|
|
3261
|
+
b("div", gn, [
|
|
3262
|
+
k(M, {
|
|
3261
3263
|
name: l(d.code),
|
|
3262
3264
|
size: "sm"
|
|
3263
3265
|
}, null, 8, ["name"]),
|
|
3264
|
-
b("span",
|
|
3265
|
-
b("span",
|
|
3266
|
+
b("span", vn, C(d.name), 1),
|
|
3267
|
+
b("span", fn, C(d.code), 1)
|
|
3266
3268
|
])
|
|
3267
3269
|
]),
|
|
3268
3270
|
_: 2
|
|
@@ -3272,43 +3274,43 @@ const vl = [
|
|
|
3272
3274
|
}, 16, ["class", "size", "show-search", "filter-option", "dropdown-match-select-width", "list-height", "placeholder", "value"]));
|
|
3273
3275
|
}
|
|
3274
3276
|
});
|
|
3275
|
-
const
|
|
3277
|
+
const yn = {
|
|
3276
3278
|
key: 0,
|
|
3277
3279
|
class: "ak-card__header"
|
|
3278
|
-
},
|
|
3280
|
+
}, hn = ["src"], bn = { class: "header-content" }, kn = {
|
|
3279
3281
|
key: 0,
|
|
3280
3282
|
class: "card-title"
|
|
3281
|
-
},
|
|
3283
|
+
}, $n = {
|
|
3282
3284
|
key: 1,
|
|
3283
3285
|
class: "card-description"
|
|
3284
|
-
},
|
|
3286
|
+
}, wn = {
|
|
3285
3287
|
key: 2,
|
|
3286
3288
|
class: "header-actions"
|
|
3287
|
-
},
|
|
3289
|
+
}, Cn = {
|
|
3288
3290
|
key: 1,
|
|
3289
3291
|
class: "card-title"
|
|
3290
|
-
},
|
|
3292
|
+
}, Mn = {
|
|
3291
3293
|
key: 2,
|
|
3292
3294
|
class: "card-description"
|
|
3293
|
-
},
|
|
3295
|
+
}, Bn = {
|
|
3294
3296
|
key: 3,
|
|
3295
3297
|
class: "content-wrapper"
|
|
3296
|
-
},
|
|
3298
|
+
}, xn = {
|
|
3297
3299
|
key: 0,
|
|
3298
3300
|
class: "footer-content"
|
|
3299
|
-
},
|
|
3301
|
+
}, zn = {
|
|
3300
3302
|
key: 0,
|
|
3301
3303
|
class: "card-title"
|
|
3302
|
-
},
|
|
3304
|
+
}, Sn = {
|
|
3303
3305
|
key: 1,
|
|
3304
3306
|
class: "card-description"
|
|
3305
|
-
},
|
|
3307
|
+
}, In = {
|
|
3306
3308
|
key: 1,
|
|
3307
3309
|
class: "footer-actions"
|
|
3308
|
-
},
|
|
3310
|
+
}, Tn = {
|
|
3309
3311
|
name: "MaCard"
|
|
3310
|
-
},
|
|
3311
|
-
...
|
|
3312
|
+
}, wl = /* @__PURE__ */ B({
|
|
3313
|
+
...Tn,
|
|
3312
3314
|
props: {
|
|
3313
3315
|
title: null,
|
|
3314
3316
|
description: null,
|
|
@@ -3350,47 +3352,47 @@ const vn = {
|
|
|
3350
3352
|
() => Boolean(
|
|
3351
3353
|
e?.contentIcon || o?.contentTitle || o?.contentDescription || o?.default
|
|
3352
3354
|
)
|
|
3353
|
-
),
|
|
3355
|
+
), x = c(
|
|
3354
3356
|
() => Boolean(
|
|
3355
3357
|
o?.footerTitle || o?.footerDescription || o?.footerActions || o?.footer
|
|
3356
3358
|
)
|
|
3357
|
-
),
|
|
3359
|
+
), z = c({
|
|
3358
3360
|
get() {
|
|
3359
3361
|
return e.collapse;
|
|
3360
3362
|
},
|
|
3361
|
-
set(
|
|
3362
|
-
t("update:collapse",
|
|
3363
|
+
set(h) {
|
|
3364
|
+
t("update:collapse", h);
|
|
3363
3365
|
}
|
|
3364
|
-
}),
|
|
3366
|
+
}), I = c(() => e.collapse ? "chevron-up" : "chevron-down"), N = () => {
|
|
3365
3367
|
t("close");
|
|
3366
|
-
},
|
|
3367
|
-
|
|
3368
|
+
}, $ = () => {
|
|
3369
|
+
z.value = !z.value;
|
|
3368
3370
|
};
|
|
3369
|
-
return (
|
|
3370
|
-
s(d) ? (n(), p("div",
|
|
3371
|
+
return (h, T) => (n(), p("div", S({ class: s(l) }, h.$attrs), [
|
|
3372
|
+
s(d) ? (n(), p("div", yn, [
|
|
3371
3373
|
e?.headerAvatar ? (n(), p("img", {
|
|
3372
3374
|
key: 0,
|
|
3373
3375
|
src: e.headerAvatar,
|
|
3374
3376
|
class: "card-avatar"
|
|
3375
|
-
}, null, 8,
|
|
3377
|
+
}, null, 8, hn)) : g("", !0),
|
|
3376
3378
|
e?.headerIcon ? (n(), f(M, {
|
|
3377
3379
|
key: 1,
|
|
3378
3380
|
name: e.headerIcon,
|
|
3379
3381
|
class: "card-icon"
|
|
3380
3382
|
}, null, 8, ["name"])) : g("", !0),
|
|
3381
|
-
b("div",
|
|
3382
|
-
e?.title ||
|
|
3383
|
-
|
|
3384
|
-
|
|
3383
|
+
b("div", bn, [
|
|
3384
|
+
e?.title || h.$slots?.title ? (n(), p("h1", kn, [
|
|
3385
|
+
P(C(e.title), 1),
|
|
3386
|
+
_(h.$slots, "title")
|
|
3385
3387
|
])) : g("", !0),
|
|
3386
|
-
e?.description ||
|
|
3387
|
-
|
|
3388
|
-
|
|
3388
|
+
e?.description || h.$slots.description ? (n(), p("p", $n, [
|
|
3389
|
+
P(C(e.description), 1),
|
|
3390
|
+
_(h.$slots, "description")
|
|
3389
3391
|
])) : g("", !0),
|
|
3390
|
-
|
|
3392
|
+
_(h.$slots, "headerContent")
|
|
3391
3393
|
]),
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
+
h.$slots?.headerActions || e?.closable || e?.collapsable ? (n(), p("div", wn, [
|
|
3395
|
+
_(h.$slots, "headerActions"),
|
|
3394
3396
|
e?.collapsable ? (n(), f(oe, {
|
|
3395
3397
|
key: 0,
|
|
3396
3398
|
class: "collapse-button",
|
|
@@ -3398,8 +3400,8 @@ const vn = {
|
|
|
3398
3400
|
shape: "round",
|
|
3399
3401
|
type: "primary",
|
|
3400
3402
|
variant: "plain",
|
|
3401
|
-
onClick:
|
|
3402
|
-
icon: s(
|
|
3403
|
+
onClick: $,
|
|
3404
|
+
icon: s(I)
|
|
3403
3405
|
}, null, 8, ["icon"])) : e?.closable ? (n(), f(oe, {
|
|
3404
3406
|
key: 1,
|
|
3405
3407
|
class: "close-button",
|
|
@@ -3407,66 +3409,66 @@ const vn = {
|
|
|
3407
3409
|
shape: "round",
|
|
3408
3410
|
type: "primary",
|
|
3409
3411
|
variant: "plain",
|
|
3410
|
-
onClick:
|
|
3412
|
+
onClick: N,
|
|
3411
3413
|
icon: "close"
|
|
3412
3414
|
})) : g("", !0)
|
|
3413
3415
|
])) : g("", !0)
|
|
3414
3416
|
])) : g("", !0),
|
|
3415
3417
|
s(m) ? (n(), p("div", {
|
|
3416
3418
|
key: 1,
|
|
3417
|
-
class:
|
|
3419
|
+
class: L(s(r))
|
|
3418
3420
|
}, [
|
|
3419
3421
|
e?.contentIcon ? (n(), f(M, {
|
|
3420
3422
|
key: 0,
|
|
3421
3423
|
name: e.contentIcon,
|
|
3422
3424
|
class: "card-icon"
|
|
3423
3425
|
}, null, 8, ["name"])) : g("", !0),
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
+
h.$slots.contentTitle ? (n(), p("h1", Cn, [
|
|
3427
|
+
_(h.$slots, "contentTitle")
|
|
3426
3428
|
])) : g("", !0),
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
+
h.$slots.contentDescription ? (n(), p("p", Mn, [
|
|
3430
|
+
_(h.$slots, "contentDescription")
|
|
3429
3431
|
])) : g("", !0),
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
+
h.$slots.default ? (n(), p("div", Bn, [
|
|
3433
|
+
_(h.$slots, "default")
|
|
3432
3434
|
])) : g("", !0)
|
|
3433
3435
|
], 2)) : g("", !0),
|
|
3434
|
-
s(
|
|
3436
|
+
s(x) ? (n(), p("div", {
|
|
3435
3437
|
key: 2,
|
|
3436
|
-
class:
|
|
3438
|
+
class: L(s(u))
|
|
3437
3439
|
}, [
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3440
|
+
h.$slots.footerTitle || h.$slots.footerDescription || h.$slots.footer ? (n(), p("div", xn, [
|
|
3441
|
+
h.$slots.footerTitle ? (n(), p("h1", zn, [
|
|
3442
|
+
_(h.$slots, "footerTitle")
|
|
3441
3443
|
])) : g("", !0),
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
+
h.$slots.footerDescription ? (n(), p("p", Sn, [
|
|
3445
|
+
_(h.$slots, "footerDescription")
|
|
3444
3446
|
])) : g("", !0),
|
|
3445
|
-
|
|
3447
|
+
_(h.$slots, "footer")
|
|
3446
3448
|
])) : g("", !0),
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
+
h.$slots.footerActions ? (n(), p("div", In, [
|
|
3450
|
+
_(h.$slots, "footerActions")
|
|
3449
3451
|
])) : g("", !0)
|
|
3450
3452
|
], 2)) : g("", !0)
|
|
3451
3453
|
], 16));
|
|
3452
3454
|
}
|
|
3453
3455
|
});
|
|
3454
|
-
const
|
|
3456
|
+
const Cl = [
|
|
3455
3457
|
"left",
|
|
3456
3458
|
"center"
|
|
3457
|
-
],
|
|
3459
|
+
], Ml = [
|
|
3458
3460
|
"small",
|
|
3459
3461
|
"default"
|
|
3460
|
-
],
|
|
3462
|
+
], Bl = [
|
|
3461
3463
|
"blue",
|
|
3462
3464
|
"green",
|
|
3463
3465
|
"orange",
|
|
3464
3466
|
"red",
|
|
3465
3467
|
"purple"
|
|
3466
|
-
],
|
|
3468
|
+
], An = { key: 0 }, Nn = { key: 0 }, Pn = {
|
|
3467
3469
|
name: "MaInputNumber"
|
|
3468
|
-
},
|
|
3469
|
-
...
|
|
3470
|
+
}, xl = /* @__PURE__ */ B({
|
|
3471
|
+
...Pn,
|
|
3470
3472
|
props: {
|
|
3471
3473
|
disabled: { type: Boolean, default: !1 },
|
|
3472
3474
|
value: { default: 1e3 },
|
|
@@ -3519,10 +3521,10 @@ const bl = [
|
|
|
3519
3521
|
t("pressEnter", d);
|
|
3520
3522
|
};
|
|
3521
3523
|
return (d, m) => (n(), p("div", null, [
|
|
3522
|
-
|
|
3523
|
-
class:
|
|
3524
|
+
k(s(ct), {
|
|
3525
|
+
class: L(s(i)),
|
|
3524
3526
|
value: s(l),
|
|
3525
|
-
"onUpdate:value": m[0] || (m[0] = (
|
|
3527
|
+
"onUpdate:value": m[0] || (m[0] = (x) => ee(l) ? l.value = x : null),
|
|
3526
3528
|
disabled: a.disabled,
|
|
3527
3529
|
step: e?.stepCount,
|
|
3528
3530
|
autofocus: e?.autofocus,
|
|
@@ -3537,21 +3539,21 @@ const bl = [
|
|
|
3537
3539
|
precision: e?.precision,
|
|
3538
3540
|
staus: e.status,
|
|
3539
3541
|
"string-mode": e?.stringMode,
|
|
3540
|
-
onKeydown:
|
|
3542
|
+
onKeydown: Ge(u, ["enter"]),
|
|
3541
3543
|
onStep: r,
|
|
3542
3544
|
"prefix-cls": "antd-input-number"
|
|
3543
3545
|
}, J({ _: 2 }, [
|
|
3544
3546
|
e.addonBefore || d.$slots?.addonBefore ? {
|
|
3545
3547
|
name: "addonBefore",
|
|
3546
|
-
fn:
|
|
3547
|
-
e.addonBefore ? (n(), p("span",
|
|
3548
|
+
fn: y(() => [
|
|
3549
|
+
e.addonBefore ? (n(), p("span", An, C(e.addonBefore), 1)) : _(d.$slots, "addonBefore", { key: 1 })
|
|
3548
3550
|
]),
|
|
3549
3551
|
key: "0"
|
|
3550
3552
|
} : void 0,
|
|
3551
3553
|
e.addonAfter || d.$slots?.addonAfter ? {
|
|
3552
3554
|
name: "addonAfter",
|
|
3553
|
-
fn:
|
|
3554
|
-
e.addonAfter ? (n(), p("span",
|
|
3555
|
+
fn: y(() => [
|
|
3556
|
+
e.addonAfter ? (n(), p("span", Nn, C(e.addonAfter), 1)) : _(d.$slots, "addonAfter", { key: 1 })
|
|
3555
3557
|
]),
|
|
3556
3558
|
key: "1"
|
|
3557
3559
|
} : void 0
|
|
@@ -3559,22 +3561,22 @@ const bl = [
|
|
|
3559
3561
|
]));
|
|
3560
3562
|
}
|
|
3561
3563
|
});
|
|
3562
|
-
const
|
|
3564
|
+
const Dn = ["visible"], Ln = { class: "ak-drawer-content-wrapper" }, En = { class: "ak-drawer-header-container" }, Fn = { class: "ak-drawer-header-content" }, Vn = {
|
|
3563
3565
|
key: 0,
|
|
3564
3566
|
class: "ak-drawer-header"
|
|
3565
|
-
},
|
|
3567
|
+
}, Gn = {
|
|
3566
3568
|
key: 0,
|
|
3567
3569
|
class: "ak-drawer-header--title"
|
|
3568
|
-
},
|
|
3570
|
+
}, Un = {
|
|
3569
3571
|
key: 1,
|
|
3570
3572
|
class: "ak-drawer-header--description"
|
|
3571
|
-
},
|
|
3573
|
+
}, Rn = { class: "ak-drawer-content" }, On = {
|
|
3572
3574
|
key: 0,
|
|
3573
3575
|
class: "ak-drawer-footer"
|
|
3574
|
-
},
|
|
3576
|
+
}, Kn = {
|
|
3575
3577
|
name: "MaDrawer"
|
|
3576
|
-
},
|
|
3577
|
-
...
|
|
3578
|
+
}, zl = /* @__PURE__ */ B({
|
|
3579
|
+
...Kn,
|
|
3578
3580
|
props: {
|
|
3579
3581
|
placement: { default: "left" },
|
|
3580
3582
|
visible: { type: Boolean, default: !1 },
|
|
@@ -3610,19 +3612,19 @@ const An = ["visible"], Pn = { class: "ak-drawer-content-wrapper" }, Nn = { clas
|
|
|
3610
3612
|
document.addEventListener("keydown", r);
|
|
3611
3613
|
}), Ie(() => {
|
|
3612
3614
|
document.removeEventListener("keydown", r);
|
|
3613
|
-
}), (u, d) => (n(), p("div",
|
|
3615
|
+
}), (u, d) => (n(), p("div", S(u.$attrs, {
|
|
3614
3616
|
class: s(l),
|
|
3615
3617
|
visible: s(o)
|
|
3616
3618
|
}), [
|
|
3617
|
-
b("div",
|
|
3618
|
-
b("div",
|
|
3619
|
-
b("div",
|
|
3620
|
-
u.$slots?.header ? (n(), p("div",
|
|
3621
|
-
|
|
3622
|
-
e.title ? (n(), p("div",
|
|
3619
|
+
b("div", Ln, [
|
|
3620
|
+
b("div", En, [
|
|
3621
|
+
b("div", Fn, [
|
|
3622
|
+
u.$slots?.header ? (n(), p("div", Vn, [
|
|
3623
|
+
_(u.$slots, "header", {}, () => [
|
|
3624
|
+
e.title ? (n(), p("div", Gn, [
|
|
3623
3625
|
b("h1", null, C(e?.title), 1)
|
|
3624
3626
|
])) : g("", !0),
|
|
3625
|
-
e.description ? (n(), p("div",
|
|
3627
|
+
e.description ? (n(), p("div", Un, [
|
|
3626
3628
|
b("p", null, C(e?.description), 1)
|
|
3627
3629
|
])) : g("", !0)
|
|
3628
3630
|
])
|
|
@@ -3632,20 +3634,20 @@ const An = ["visible"], Pn = { class: "ak-drawer-content-wrapper" }, Nn = { clas
|
|
|
3632
3634
|
class: "ak-drawer-close-button",
|
|
3633
3635
|
onClick: i
|
|
3634
3636
|
}, [
|
|
3635
|
-
|
|
3637
|
+
k(M, {
|
|
3636
3638
|
name: "close",
|
|
3637
3639
|
size: "md"
|
|
3638
3640
|
})
|
|
3639
3641
|
])
|
|
3640
3642
|
]),
|
|
3641
|
-
b("div",
|
|
3642
|
-
|
|
3643
|
+
b("div", Rn, [
|
|
3644
|
+
_(u.$slots, "content")
|
|
3643
3645
|
]),
|
|
3644
|
-
u.$slots?.footer ? (n(), p("div",
|
|
3645
|
-
|
|
3646
|
+
u.$slots?.footer ? (n(), p("div", On, [
|
|
3647
|
+
_(u.$slots, "footer")
|
|
3646
3648
|
])) : g("", !0)
|
|
3647
3649
|
])
|
|
3648
|
-
], 16,
|
|
3650
|
+
], 16, Dn));
|
|
3649
3651
|
}
|
|
3650
3652
|
});
|
|
3651
3653
|
const ve = [
|
|
@@ -3663,20 +3665,66 @@ const ve = [
|
|
|
3663
3665
|
"#B54708",
|
|
3664
3666
|
"#027A48",
|
|
3665
3667
|
"#026AA2"
|
|
3666
|
-
],
|
|
3668
|
+
], jn = (a = 20) => {
|
|
3667
3669
|
let t = "";
|
|
3668
3670
|
for (let e = 0; e < a; e++)
|
|
3669
3671
|
t += Math.random().toString(36).substr(2);
|
|
3670
3672
|
return t.substr(0, a);
|
|
3671
|
-
},
|
|
3672
|
-
id:
|
|
3673
|
+
}, qn = () => ({
|
|
3674
|
+
id: jn(),
|
|
3673
3675
|
name: "",
|
|
3674
3676
|
color: ve[Math.floor(Math.random() * ve.length)],
|
|
3675
3677
|
keywordCount: 0,
|
|
3676
3678
|
editable: !1,
|
|
3677
3679
|
public: !1,
|
|
3678
3680
|
new: !0
|
|
3679
|
-
}),
|
|
3681
|
+
}), Hn = {
|
|
3682
|
+
name: "MaPopover"
|
|
3683
|
+
}, Wn = /* @__PURE__ */ B({
|
|
3684
|
+
...Hn,
|
|
3685
|
+
props: {
|
|
3686
|
+
placement: { default: "bottomLeft" },
|
|
3687
|
+
trigger: { default: () => ["hover"] },
|
|
3688
|
+
visible: { type: Boolean, default: void 0 },
|
|
3689
|
+
overlayClassName: null,
|
|
3690
|
+
showArrow: { type: Boolean, default: !1 }
|
|
3691
|
+
},
|
|
3692
|
+
emits: ["update:visible", "visibleChange"],
|
|
3693
|
+
setup(a, { emit: t }) {
|
|
3694
|
+
const e = a, o = c({
|
|
3695
|
+
get() {
|
|
3696
|
+
return typeof e.visible == "boolean" ? e.visible : void 0;
|
|
3697
|
+
},
|
|
3698
|
+
set(i) {
|
|
3699
|
+
t("update:visible", i), t("visibleChange", i);
|
|
3700
|
+
}
|
|
3701
|
+
}), l = c(
|
|
3702
|
+
() => [
|
|
3703
|
+
"ma-popover-overlay",
|
|
3704
|
+
e?.overlayClassName,
|
|
3705
|
+
e?.showArrow ? "overlay-arrow" : void 0
|
|
3706
|
+
].join(" ")
|
|
3707
|
+
);
|
|
3708
|
+
return (i, r) => (n(), f(s(pt), S({
|
|
3709
|
+
"prefix-cls": "antd-popover",
|
|
3710
|
+
overlayClassName: s(l),
|
|
3711
|
+
placement: e.placement,
|
|
3712
|
+
trigger: e.trigger
|
|
3713
|
+
}, i.$attrs, {
|
|
3714
|
+
visible: s(o),
|
|
3715
|
+
"onUpdate:visible": r[0] || (r[0] = (u) => ee(o) ? o.value = u : null)
|
|
3716
|
+
}), {
|
|
3717
|
+
content: y(() => [
|
|
3718
|
+
_(i.$slots, "overlay")
|
|
3719
|
+
]),
|
|
3720
|
+
default: y(() => [
|
|
3721
|
+
_(i.$slots, "default")
|
|
3722
|
+
]),
|
|
3723
|
+
_: 3
|
|
3724
|
+
}, 16, ["overlayClassName", "placement", "trigger", "visible"]));
|
|
3725
|
+
}
|
|
3726
|
+
});
|
|
3727
|
+
const Me = /* @__PURE__ */ B({
|
|
3680
3728
|
__name: "button",
|
|
3681
3729
|
props: {
|
|
3682
3730
|
type: { default: "primary" },
|
|
@@ -3710,35 +3758,35 @@ const ve = [
|
|
|
3710
3758
|
}
|
|
3711
3759
|
return "sm";
|
|
3712
3760
|
}), d = () => e.value = !0, m = () => e.value = !1;
|
|
3713
|
-
return (
|
|
3761
|
+
return (x, z) => (n(), f(ae(s(l)), S({
|
|
3714
3762
|
onMousedown: d,
|
|
3715
3763
|
onMouseup: m,
|
|
3716
3764
|
class: s(o),
|
|
3717
3765
|
href: t?.href,
|
|
3718
3766
|
target: t?.target
|
|
3719
|
-
},
|
|
3720
|
-
default:
|
|
3721
|
-
X(
|
|
3767
|
+
}, x.$attrs), {
|
|
3768
|
+
default: y(() => [
|
|
3769
|
+
X(k(M, {
|
|
3722
3770
|
size: s(u),
|
|
3723
3771
|
name: s(i)
|
|
3724
3772
|
}, null, 8, ["size", "name"]), [
|
|
3725
3773
|
[Q, s(r)]
|
|
3726
3774
|
]),
|
|
3727
|
-
X(
|
|
3775
|
+
X(k(M, {
|
|
3728
3776
|
size: s(u),
|
|
3729
3777
|
name: t.icon
|
|
3730
3778
|
}, null, 8, ["size", "name"]), [
|
|
3731
3779
|
[Q, !s(r)]
|
|
3732
3780
|
]),
|
|
3733
|
-
|
|
3781
|
+
_(x.$slots, "default")
|
|
3734
3782
|
]),
|
|
3735
3783
|
_: 3
|
|
3736
3784
|
}, 16, ["class", "href", "target"]));
|
|
3737
3785
|
}
|
|
3738
|
-
}),
|
|
3786
|
+
}), Jn = {
|
|
3739
3787
|
name: "MaIconButton"
|
|
3740
|
-
}, ie = /* @__PURE__ */
|
|
3741
|
-
...
|
|
3788
|
+
}, ie = /* @__PURE__ */ B({
|
|
3789
|
+
...Jn,
|
|
3742
3790
|
props: {
|
|
3743
3791
|
type: { default: "primary" },
|
|
3744
3792
|
icon: null,
|
|
@@ -3757,17 +3805,17 @@ const ve = [
|
|
|
3757
3805
|
...t.tooltipProps,
|
|
3758
3806
|
title: t?.tooltipText
|
|
3759
3807
|
}));
|
|
3760
|
-
return (r, u) => s(o) ? (n(), f(ue,
|
|
3808
|
+
return (r, u) => s(o) ? (n(), f(ue, S({
|
|
3761
3809
|
key: 0,
|
|
3762
3810
|
overlayClassName: s(l),
|
|
3763
3811
|
type: "primary",
|
|
3764
3812
|
placement: "bottomLeft"
|
|
3765
3813
|
}, s(i)), {
|
|
3766
|
-
title:
|
|
3767
|
-
|
|
3814
|
+
title: y(() => [
|
|
3815
|
+
_(r.$slots, "tooltip")
|
|
3768
3816
|
]),
|
|
3769
|
-
default:
|
|
3770
|
-
|
|
3817
|
+
default: y(() => [
|
|
3818
|
+
k(Me, {
|
|
3771
3819
|
active: t.active,
|
|
3772
3820
|
size: t.size,
|
|
3773
3821
|
type: t.type,
|
|
@@ -3778,8 +3826,8 @@ const ve = [
|
|
|
3778
3826
|
rounded: t?.rounded,
|
|
3779
3827
|
variant: t?.variant
|
|
3780
3828
|
}, {
|
|
3781
|
-
default:
|
|
3782
|
-
|
|
3829
|
+
default: y(() => [
|
|
3830
|
+
_(r.$slots, "default")
|
|
3783
3831
|
]),
|
|
3784
3832
|
_: 3
|
|
3785
3833
|
}, 8, ["active", "size", "type", "activeIcon", "icon", "href", "target", "rounded", "variant"])
|
|
@@ -3797,14 +3845,14 @@ const ve = [
|
|
|
3797
3845
|
rounded: t?.rounded,
|
|
3798
3846
|
variant: t?.variant
|
|
3799
3847
|
}, {
|
|
3800
|
-
default:
|
|
3801
|
-
|
|
3848
|
+
default: y(() => [
|
|
3849
|
+
_(r.$slots, "default")
|
|
3802
3850
|
]),
|
|
3803
3851
|
_: 3
|
|
3804
3852
|
}, 8, ["active", "size", "type", "activeIcon", "icon", "href", "target", "rounded", "variant"]));
|
|
3805
3853
|
}
|
|
3806
3854
|
});
|
|
3807
|
-
const
|
|
3855
|
+
const Yn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ B({
|
|
3808
3856
|
__name: "kwGroupItem",
|
|
3809
3857
|
props: {
|
|
3810
3858
|
keywordGroup: null,
|
|
@@ -3817,60 +3865,60 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3817
3865
|
{
|
|
3818
3866
|
"keyword-group-item--selected": e?.selected
|
|
3819
3867
|
}
|
|
3820
|
-
]), l = c(() => e?.selected ? "primary" : "secondary"), i = (
|
|
3821
|
-
|
|
3822
|
-
}, r = (
|
|
3823
|
-
|
|
3824
|
-
}, u = (
|
|
3825
|
-
|
|
3826
|
-
}, d = (
|
|
3827
|
-
|
|
3868
|
+
]), l = c(() => e?.selected ? "primary" : "secondary"), i = () => {
|
|
3869
|
+
t("updateEditable", !e.keywordGroup.editable);
|
|
3870
|
+
}, r = () => {
|
|
3871
|
+
t("updatePublic", !e.keywordGroup.public);
|
|
3872
|
+
}, u = () => {
|
|
3873
|
+
t("deleteKwGroup");
|
|
3874
|
+
}, d = () => {
|
|
3875
|
+
t("edit");
|
|
3828
3876
|
};
|
|
3829
|
-
return (m,
|
|
3830
|
-
class:
|
|
3877
|
+
return (m, x) => (n(), p("div", {
|
|
3878
|
+
class: L(s(o))
|
|
3831
3879
|
}, [
|
|
3832
|
-
|
|
3880
|
+
k(M, {
|
|
3833
3881
|
class: "ma-kw-selection-sort-handler",
|
|
3834
3882
|
name: "drag",
|
|
3835
3883
|
size: "md"
|
|
3836
3884
|
}),
|
|
3837
|
-
|
|
3885
|
+
k(M, {
|
|
3838
3886
|
name: "dot",
|
|
3839
3887
|
size: "xs",
|
|
3840
3888
|
style: Z({ color: a.keywordGroup.color })
|
|
3841
3889
|
}, null, 8, ["style"]),
|
|
3842
3890
|
b("span", null, C(a.keywordGroup.name), 1),
|
|
3843
|
-
|
|
3891
|
+
k(_e, {
|
|
3844
3892
|
type: s(l),
|
|
3845
3893
|
size: "small"
|
|
3846
3894
|
}, {
|
|
3847
|
-
default:
|
|
3848
|
-
|
|
3895
|
+
default: y(() => [
|
|
3896
|
+
P(C(a.keywordGroup.keywordCount), 1)
|
|
3849
3897
|
]),
|
|
3850
3898
|
_: 1
|
|
3851
3899
|
}, 8, ["type"]),
|
|
3852
|
-
b("div",
|
|
3853
|
-
|
|
3900
|
+
b("div", Yn, [
|
|
3901
|
+
k(ie, {
|
|
3854
3902
|
type: "secondary",
|
|
3855
3903
|
size: "xs",
|
|
3856
3904
|
icon: a.keywordGroup.editable ? "clipboard-tick" : "clipboard-close",
|
|
3857
3905
|
tooltipText: a.keywordGroup.editable ? "Make it non-editable" : "Make it editable",
|
|
3858
3906
|
onClick: i
|
|
3859
3907
|
}, null, 8, ["icon", "tooltipText"]),
|
|
3860
|
-
|
|
3908
|
+
k(ie, {
|
|
3861
3909
|
type: "secondary",
|
|
3862
3910
|
size: "xs",
|
|
3863
3911
|
icon: a.keywordGroup.public ? "lock-slash" : "outline-lock",
|
|
3864
3912
|
tooltipText: a.keywordGroup.public ? "Make it private" : "Make it public",
|
|
3865
3913
|
onClick: r
|
|
3866
3914
|
}, null, 8, ["icon", "tooltipText"]),
|
|
3867
|
-
|
|
3915
|
+
k(ie, {
|
|
3868
3916
|
type: "secondary",
|
|
3869
3917
|
size: "xs",
|
|
3870
3918
|
icon: "edit-2",
|
|
3871
3919
|
onClick: d
|
|
3872
3920
|
}),
|
|
3873
|
-
|
|
3921
|
+
k(ie, {
|
|
3874
3922
|
type: "secondary",
|
|
3875
3923
|
size: "xs",
|
|
3876
3924
|
icon: "trash",
|
|
@@ -3879,7 +3927,7 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3879
3927
|
])
|
|
3880
3928
|
], 2));
|
|
3881
3929
|
}
|
|
3882
|
-
}),
|
|
3930
|
+
}), Zn = { class: "kw-group-form__colors" }, Xn = /* @__PURE__ */ B({
|
|
3883
3931
|
__name: "kwGroupForm",
|
|
3884
3932
|
props: {
|
|
3885
3933
|
keywordGroup: null
|
|
@@ -3892,69 +3940,55 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3892
3940
|
}), l = {
|
|
3893
3941
|
name: [{ required: !0, message: "Group name is required" }],
|
|
3894
3942
|
color: [{ required: !0, message: "Color is required" }]
|
|
3895
|
-
}, i = c(() => e.keywordGroup?.new), r = c(() => i.value ? "Create Group" : "Edit Group"), u = (
|
|
3896
|
-
color:
|
|
3897
|
-
border: "1px solid " + (
|
|
3898
|
-
}), d = (
|
|
3899
|
-
|
|
3943
|
+
}, i = c(() => e.keywordGroup?.new), r = c(() => i.value ? "Create Group" : "Edit Group"), u = (x) => ({
|
|
3944
|
+
color: x,
|
|
3945
|
+
border: "1px solid " + (x === o.color ? x : "#F2F4F7")
|
|
3946
|
+
}), d = (x) => {
|
|
3947
|
+
o.color = x;
|
|
3900
3948
|
}, m = () => {
|
|
3901
3949
|
t("saveKwGroup", {
|
|
3902
3950
|
...e.keywordGroup,
|
|
3903
3951
|
...o
|
|
3904
3952
|
});
|
|
3905
|
-
}, S = (B) => {
|
|
3906
|
-
B.stopPropagation();
|
|
3907
3953
|
};
|
|
3908
|
-
return (
|
|
3909
|
-
onClick: z[5] || (z[5] = (I) => S(I)),
|
|
3954
|
+
return (x, z) => (n(), f(Lt, {
|
|
3910
3955
|
class: "kw-group-form",
|
|
3911
3956
|
model: o,
|
|
3912
3957
|
rules: l,
|
|
3913
3958
|
onFinish: m
|
|
3914
3959
|
}, {
|
|
3915
|
-
default:
|
|
3916
|
-
b("h3",
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
name: "name",
|
|
3921
|
-
onClick: z[2] || (z[2] = (I) => S(I))
|
|
3922
|
-
}, {
|
|
3923
|
-
default: h(() => [
|
|
3924
|
-
$(ye, {
|
|
3960
|
+
default: y(() => [
|
|
3961
|
+
b("h3", null, C(s(r)), 1),
|
|
3962
|
+
k(be, { name: "name" }, {
|
|
3963
|
+
default: y(() => [
|
|
3964
|
+
k(ye, {
|
|
3925
3965
|
size: "medium",
|
|
3926
3966
|
placeholder: "Keyword group name",
|
|
3927
3967
|
value: o.name,
|
|
3928
|
-
"onUpdate:value": z[
|
|
3968
|
+
"onUpdate:value": z[0] || (z[0] = (I) => o.name = I)
|
|
3929
3969
|
}, null, 8, ["value"])
|
|
3930
3970
|
]),
|
|
3931
3971
|
_: 1
|
|
3932
3972
|
}),
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
}, {
|
|
3937
|
-
default: h(() => [
|
|
3938
|
-
b("ul", qn, [
|
|
3973
|
+
k(be, { name: "color" }, {
|
|
3974
|
+
default: y(() => [
|
|
3975
|
+
b("ul", Zn, [
|
|
3939
3976
|
(n(!0), p(W, null, j(s(ve), (I) => (n(), p("li", { key: I }, [
|
|
3940
|
-
|
|
3977
|
+
k(oe, {
|
|
3941
3978
|
size: "small",
|
|
3942
3979
|
type: "secondary",
|
|
3943
3980
|
icon: "dot",
|
|
3944
3981
|
style: Z(u(I)),
|
|
3945
|
-
onClick: (
|
|
3982
|
+
onClick: (N) => d(I)
|
|
3946
3983
|
}, null, 8, ["style", "onClick"])
|
|
3947
3984
|
]))), 128))
|
|
3948
3985
|
])
|
|
3949
3986
|
]),
|
|
3950
3987
|
_: 1
|
|
3951
3988
|
}),
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
}, {
|
|
3956
|
-
default: h(() => [
|
|
3957
|
-
N(" Confirm ")
|
|
3989
|
+
k(oe, { "html-type": "submit" }, {
|
|
3990
|
+
default: y(() => [
|
|
3991
|
+
P(" Confirm ")
|
|
3958
3992
|
]),
|
|
3959
3993
|
_: 1
|
|
3960
3994
|
})
|
|
@@ -3962,16 +3996,16 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3962
3996
|
_: 1
|
|
3963
3997
|
}, 8, ["model"]));
|
|
3964
3998
|
}
|
|
3965
|
-
}),
|
|
3999
|
+
}), Qn = {
|
|
3966
4000
|
key: 0,
|
|
3967
4001
|
class: "kw-group-label"
|
|
3968
|
-
},
|
|
4002
|
+
}, ea = {
|
|
3969
4003
|
key: 1,
|
|
3970
4004
|
class: "placeholder"
|
|
3971
|
-
},
|
|
4005
|
+
}, ta = {
|
|
3972
4006
|
name: "MaKeywordGroupSelection"
|
|
3973
|
-
},
|
|
3974
|
-
...
|
|
4007
|
+
}, Sl = /* @__PURE__ */ B({
|
|
4008
|
+
...ta,
|
|
3975
4009
|
props: {
|
|
3976
4010
|
value: { default: null },
|
|
3977
4011
|
options: { default: () => [] },
|
|
@@ -3996,89 +4030,89 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3996
4030
|
const e = a, o = D(!1), l = D(!1), i = D("0"), r = fe({
|
|
3997
4031
|
parentId: null,
|
|
3998
4032
|
keywordGroup: null
|
|
3999
|
-
}), u = c(() => parseInt(i.value)), d = c(() => e.options.reduce((
|
|
4000
|
-
...
|
|
4033
|
+
}), u = c(() => parseInt(i.value)), d = c(() => e.options.reduce((A, F) => [
|
|
4034
|
+
...A,
|
|
4001
4035
|
...F.keywordGroups
|
|
4002
|
-
], []).find((
|
|
4036
|
+
], []).find((A) => A.id === m.value)), m = c({
|
|
4003
4037
|
get() {
|
|
4004
4038
|
return e.value;
|
|
4005
4039
|
},
|
|
4006
|
-
set(
|
|
4007
|
-
t("update:value",
|
|
4040
|
+
set(A) {
|
|
4041
|
+
t("update:value", A), t("change", A);
|
|
4008
4042
|
}
|
|
4009
|
-
}),
|
|
4043
|
+
}), x = c(() => [
|
|
4010
4044
|
"kw-dropdown-button",
|
|
4011
4045
|
{
|
|
4012
4046
|
"kw-dropdown-button--active": o.value
|
|
4013
4047
|
}
|
|
4014
|
-
]),
|
|
4015
|
-
m.value =
|
|
4016
|
-
},
|
|
4017
|
-
t("update:options",
|
|
4018
|
-
},
|
|
4048
|
+
]), z = c(() => l.value ? "kw-edit-overlay" : "kw-selection-overlay"), I = (A) => {
|
|
4049
|
+
m.value = A;
|
|
4050
|
+
}, N = (A) => {
|
|
4051
|
+
t("update:options", A), t("changeOptions", A);
|
|
4052
|
+
}, $ = (A, F, K, H) => {
|
|
4019
4053
|
const w = JSON.parse(JSON.stringify(e.options));
|
|
4020
|
-
w[F].keywordGroups[K].editable =
|
|
4021
|
-
},
|
|
4054
|
+
w[F].keywordGroups[K].editable = A, N(w), t("changeEditable", { id: H, editable: A });
|
|
4055
|
+
}, h = (A, F, K, H) => {
|
|
4022
4056
|
const w = JSON.parse(JSON.stringify(e.options));
|
|
4023
|
-
w[F].keywordGroups[K].public =
|
|
4024
|
-
},
|
|
4057
|
+
w[F].keywordGroups[K].public = A, N(w), t("changeVisibility", { id: H, public: A });
|
|
4058
|
+
}, T = (A, F, K) => {
|
|
4025
4059
|
const H = JSON.parse(JSON.stringify(e.options));
|
|
4026
|
-
H[
|
|
4027
|
-
}, R = (
|
|
4028
|
-
l.value = !0, r.keywordGroup =
|
|
4029
|
-
}, G = (
|
|
4030
|
-
|
|
4031
|
-
}, q = (
|
|
4060
|
+
H[A].keywordGroups.splice(F, 1), N(H), t("deleteKeywordGroup", K);
|
|
4061
|
+
}, R = (A, F) => {
|
|
4062
|
+
l.value = !0, r.keywordGroup = A, r.parentId = F;
|
|
4063
|
+
}, G = (A) => {
|
|
4064
|
+
A || v();
|
|
4065
|
+
}, q = (A) => {
|
|
4032
4066
|
const F = JSON.parse(JSON.stringify(e.options));
|
|
4033
|
-
if (
|
|
4034
|
-
|
|
4067
|
+
if (A?.new)
|
|
4068
|
+
A.new = !1, F[u.value].keywordGroups.push(A), t("addKeywordGroup", A, u.value, r.parentId);
|
|
4035
4069
|
else {
|
|
4036
|
-
const K = F[u.value].keywordGroups.findIndex((H) => H.id ===
|
|
4037
|
-
K > -1 && (F[u.value].keywordGroups[K] =
|
|
4070
|
+
const K = F[u.value].keywordGroups.findIndex((H) => H.id === A.id);
|
|
4071
|
+
K > -1 && (F[u.value].keywordGroups[K] = A), t("updateKeywordGroup", A, u.value, r.parentId);
|
|
4038
4072
|
}
|
|
4039
|
-
|
|
4073
|
+
N(F), v();
|
|
4040
4074
|
}, v = () => {
|
|
4041
4075
|
l.value = !1, r.keywordGroup = null, r.parentId = null;
|
|
4042
|
-
}, V = ({ oldIndex:
|
|
4076
|
+
}, V = ({ oldIndex: A, newIndex: F }) => {
|
|
4043
4077
|
const K = e.options[u.value].keywordGroups[F];
|
|
4044
|
-
|
|
4078
|
+
N(e.options), t("sort", {
|
|
4045
4079
|
keywordGroup: K,
|
|
4046
|
-
oldIndex:
|
|
4080
|
+
oldIndex: A,
|
|
4047
4081
|
newIndex: F,
|
|
4048
4082
|
parentId: e.options[u.value].id
|
|
4049
4083
|
});
|
|
4050
|
-
}, U = (
|
|
4051
|
-
|
|
4052
|
-
}, Y = (
|
|
4053
|
-
|
|
4054
|
-
}, ce = (
|
|
4055
|
-
|
|
4084
|
+
}, U = (A) => {
|
|
4085
|
+
A.stopPropagation(), t("download");
|
|
4086
|
+
}, Y = (A) => {
|
|
4087
|
+
A.stopPropagation(), t("copy");
|
|
4088
|
+
}, ce = (A) => {
|
|
4089
|
+
A.stopPropagation(), o.value = !0, l.value = !0, r.keywordGroup = qn(), r.parentId = e.options[u.value].id;
|
|
4056
4090
|
};
|
|
4057
|
-
return (
|
|
4058
|
-
e?.label ? (n(), p("label",
|
|
4059
|
-
|
|
4091
|
+
return (A, F) => (n(), p("div", S({ class: "ak-keyword-group-selection" }, A.$attrs), [
|
|
4092
|
+
e?.label ? (n(), p("label", Qn, C(e.label), 1)) : g("", !0),
|
|
4093
|
+
k(Wn, {
|
|
4060
4094
|
onVisibleChange: G,
|
|
4061
|
-
overlayClassName: s(
|
|
4095
|
+
overlayClassName: s(z),
|
|
4062
4096
|
trigger: ["click"],
|
|
4063
4097
|
visible: o.value,
|
|
4064
4098
|
"onUpdate:visible": F[1] || (F[1] = (K) => o.value = K)
|
|
4065
4099
|
}, J({
|
|
4066
|
-
default:
|
|
4100
|
+
default: y(() => [
|
|
4067
4101
|
b("button", {
|
|
4068
|
-
class:
|
|
4102
|
+
class: L(s(x))
|
|
4069
4103
|
}, [
|
|
4070
4104
|
s(d) ? (n(), f(Be, {
|
|
4071
4105
|
key: 0,
|
|
4072
4106
|
keywordGroup: s(d)
|
|
4073
|
-
}, null, 8, ["keywordGroup"])) : (n(), p("span",
|
|
4074
|
-
X(
|
|
4107
|
+
}, null, 8, ["keywordGroup"])) : (n(), p("span", ea, C(e?.placeholder), 1)),
|
|
4108
|
+
X(k(M, {
|
|
4075
4109
|
size: "sm",
|
|
4076
4110
|
class: "chevron-icon",
|
|
4077
4111
|
name: "chevron-down"
|
|
4078
4112
|
}, null, 512), [
|
|
4079
4113
|
[Q, !o.value]
|
|
4080
4114
|
]),
|
|
4081
|
-
X(
|
|
4115
|
+
X(k(M, {
|
|
4082
4116
|
size: "sm",
|
|
4083
4117
|
class: "chevron-icon",
|
|
4084
4118
|
name: "chevron-up"
|
|
@@ -4091,8 +4125,8 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4091
4125
|
}, [
|
|
4092
4126
|
l.value ? {
|
|
4093
4127
|
name: "overlay",
|
|
4094
|
-
fn:
|
|
4095
|
-
|
|
4128
|
+
fn: y(() => [
|
|
4129
|
+
k(Xn, {
|
|
4096
4130
|
onSaveKwGroup: q,
|
|
4097
4131
|
"keyword-group": r.keywordGroup
|
|
4098
4132
|
}, null, 8, ["keyword-group"])
|
|
@@ -4100,35 +4134,35 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4100
4134
|
key: "0"
|
|
4101
4135
|
} : {
|
|
4102
4136
|
name: "overlay",
|
|
4103
|
-
fn:
|
|
4137
|
+
fn: y(() => [
|
|
4104
4138
|
b("div", { class: "kw-selection-overlay-wrapper" }, [
|
|
4105
|
-
|
|
4139
|
+
k(dn, {
|
|
4106
4140
|
animated: !0,
|
|
4107
4141
|
type: "card",
|
|
4108
4142
|
activeKey: i.value,
|
|
4109
4143
|
"onUpdate:activeKey": F[0] || (F[0] = (K) => i.value = K)
|
|
4110
4144
|
}, {
|
|
4111
|
-
default:
|
|
4112
|
-
(n(!0), p(W, null, j(e.options, (K, H) => (n(), f(
|
|
4145
|
+
default: y(() => [
|
|
4146
|
+
(n(!0), p(W, null, j(e.options, (K, H) => (n(), f(mn, {
|
|
4113
4147
|
key: H.toString(),
|
|
4114
4148
|
tab: K.title
|
|
4115
4149
|
}, {
|
|
4116
|
-
default:
|
|
4117
|
-
|
|
4150
|
+
default: y(() => [
|
|
4151
|
+
k(s(ut), {
|
|
4118
4152
|
"ghost-class": "keyword-group-item__ghost",
|
|
4119
4153
|
list: K.keywordGroups,
|
|
4120
4154
|
"item-key": "id",
|
|
4121
4155
|
handle: ".ma-kw-selection-sort-handler",
|
|
4122
4156
|
onSort: V
|
|
4123
4157
|
}, {
|
|
4124
|
-
item:
|
|
4125
|
-
|
|
4158
|
+
item: y(({ element: w, index: E }) => [
|
|
4159
|
+
k(Be, {
|
|
4126
4160
|
selected: s(m) === w.id,
|
|
4127
4161
|
keywordGroup: w,
|
|
4128
|
-
onClick: (O) =>
|
|
4129
|
-
onUpdateEditable: (O) =>
|
|
4130
|
-
onUpdatePublic: (O) =>
|
|
4131
|
-
onDeleteKwGroup: (O) =>
|
|
4162
|
+
onClick: (O) => I(w.id),
|
|
4163
|
+
onUpdateEditable: (O) => $(O, H, E, w.id),
|
|
4164
|
+
onUpdatePublic: (O) => h(O, H, E, w.id),
|
|
4165
|
+
onDeleteKwGroup: (O) => T(H, E, w.id),
|
|
4132
4166
|
onEdit: (O) => R(w, K.id)
|
|
4133
4167
|
}, null, 8, ["selected", "keywordGroup", "onClick", "onUpdateEditable", "onUpdatePublic", "onDeleteKwGroup", "onEdit"])
|
|
4134
4168
|
]),
|
|
@@ -4145,13 +4179,13 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4145
4179
|
key: "1"
|
|
4146
4180
|
}
|
|
4147
4181
|
]), 1032, ["overlayClassName", "visible"]),
|
|
4148
|
-
|
|
4182
|
+
k(ie, {
|
|
4149
4183
|
type: "secondary",
|
|
4150
4184
|
variant: "border",
|
|
4151
4185
|
icon: "add",
|
|
4152
4186
|
onMousedown: ce
|
|
4153
4187
|
}),
|
|
4154
|
-
|
|
4188
|
+
k(ie, {
|
|
4155
4189
|
type: "secondary",
|
|
4156
4190
|
variant: "border",
|
|
4157
4191
|
icon: "copy",
|
|
@@ -4159,7 +4193,7 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4159
4193
|
tooltipProps: { trigger: ["click"] },
|
|
4160
4194
|
onMousedown: U
|
|
4161
4195
|
}),
|
|
4162
|
-
|
|
4196
|
+
k(ie, {
|
|
4163
4197
|
type: "secondary",
|
|
4164
4198
|
variant: "border",
|
|
4165
4199
|
icon: "direct-inbox",
|
|
@@ -4168,10 +4202,10 @@ const jn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4168
4202
|
], 16));
|
|
4169
4203
|
}
|
|
4170
4204
|
});
|
|
4171
|
-
const
|
|
4205
|
+
const oa = { class: "tooltip" }, sa = { class: "tooltip" }, na = {
|
|
4172
4206
|
name: "MaSlider"
|
|
4173
|
-
},
|
|
4174
|
-
...
|
|
4207
|
+
}, Il = /* @__PURE__ */ B({
|
|
4208
|
+
...na,
|
|
4175
4209
|
props: {
|
|
4176
4210
|
dualThumbMode: { type: Boolean, default: !1 },
|
|
4177
4211
|
vertical: { type: Boolean },
|
|
@@ -4185,45 +4219,45 @@ const Zn = { class: "tooltip" }, Xn = { class: "tooltip" }, Qn = {
|
|
|
4185
4219
|
get() {
|
|
4186
4220
|
return e.leftThumbValue;
|
|
4187
4221
|
},
|
|
4188
|
-
set(
|
|
4189
|
-
t("update:leftThumbValue",
|
|
4222
|
+
set($) {
|
|
4223
|
+
t("update:leftThumbValue", $);
|
|
4190
4224
|
}
|
|
4191
4225
|
}), r = c({
|
|
4192
4226
|
get() {
|
|
4193
4227
|
return e.rightThumbValue;
|
|
4194
4228
|
},
|
|
4195
|
-
set(
|
|
4196
|
-
t("update:rightThumbValue",
|
|
4229
|
+
set($) {
|
|
4230
|
+
t("update:rightThumbValue", $);
|
|
4197
4231
|
}
|
|
4198
4232
|
});
|
|
4199
|
-
|
|
4233
|
+
Ue(() => {
|
|
4200
4234
|
e.leftThumbValue !== void 0 && (i.value = Math.max(0, Math.min(100, e.leftThumbValue))), e.dualThumbMode && e.rightThumbValue !== void 0 && (r.value = Math.max(0, Math.min(100, e.rightThumbValue)));
|
|
4201
4235
|
});
|
|
4202
|
-
const u = c(() => e.vertical ? "bottom" : "left"), d = c(() => e.dualThumbMode ? "bg-gray-200" : "bg-primary-dark-blue"), m = c(() => e.dualThumbMode ? "bg-primary-dark-blue" : "bg-gray-200"),
|
|
4203
|
-
const
|
|
4236
|
+
const u = c(() => e.vertical ? "bottom" : "left"), d = c(() => e.dualThumbMode ? "bg-gray-200" : "bg-primary-dark-blue"), m = c(() => e.dualThumbMode ? "bg-primary-dark-blue" : "bg-gray-200"), x = c(() => {
|
|
4237
|
+
const $ = Math.min(i.value, r.value), h = Math.max(i.value, r.value);
|
|
4204
4238
|
return e.vertical ? {
|
|
4205
|
-
bottom: `${
|
|
4206
|
-
top: `${100 -
|
|
4239
|
+
bottom: `${$}%`,
|
|
4240
|
+
top: `${100 - h}%`
|
|
4207
4241
|
} : {
|
|
4208
|
-
left: `${
|
|
4209
|
-
width: `${
|
|
4242
|
+
left: `${$}%`,
|
|
4243
|
+
width: `${h - $ + 5}%`
|
|
4210
4244
|
};
|
|
4211
|
-
}),
|
|
4212
|
-
const
|
|
4245
|
+
}), z = ($) => {
|
|
4246
|
+
const h = $ === "left" ? i : r, T = $ === "left" ? r : i, R = (q) => {
|
|
4213
4247
|
if (!o.value)
|
|
4214
4248
|
return;
|
|
4215
4249
|
let v = e.vertical ? (o.value.getBoundingClientRect().bottom - q.clientY) / o.value.offsetHeight * 100 : (q.clientX - o.value.getBoundingClientRect().left) / o.value.offsetWidth * 100;
|
|
4216
|
-
v < 0 && (v = 0), v > 100 && (v = 100), e.dualThumbMode && (
|
|
4250
|
+
v < 0 && (v = 0), v > 100 && (v = 100), e.dualThumbMode && ($ === "left" && v >= T.value && (v = T.value), $ === "right" && v <= T.value && (v = T.value)), h.value = v, t(`update:${$}ThumbValue`, v);
|
|
4217
4251
|
}, G = () => {
|
|
4218
4252
|
l.value = !1, window.removeEventListener("mousemove", R), window.removeEventListener("mouseup", G);
|
|
4219
4253
|
};
|
|
4220
4254
|
window.addEventListener("mousemove", R), window.addEventListener("mouseup", G);
|
|
4221
|
-
},
|
|
4255
|
+
}, I = ($) => {
|
|
4222
4256
|
if (l.value || !o.value)
|
|
4223
4257
|
return;
|
|
4224
|
-
const
|
|
4225
|
-
e.dualThumbMode ?
|
|
4226
|
-
},
|
|
4258
|
+
const h = e.vertical ? (o.value.getBoundingClientRect().bottom - $.clientY) / o.value.offsetHeight * 100 : ($.clientX - o.value.getBoundingClientRect().left) / o.value.offsetWidth * 100, T = Math.abs(i.value - h), R = Math.abs(r.value - h);
|
|
4259
|
+
e.dualThumbMode ? T < R ? (i.value = h, t("update:leftThumbValue", h), z("left")) : (r.value = h, t("update:rightThumbValue", h), z("right")) : (i.value = h, t("update:leftThumbValue", h), z("left"));
|
|
4260
|
+
}, N = c(() => [
|
|
4227
4261
|
`
|
|
4228
4262
|
ak-slider
|
|
4229
4263
|
ak-slider--${e.type}
|
|
@@ -4232,24 +4266,24 @@ const Zn = { class: "tooltip" }, Xn = { class: "tooltip" }, Qn = {
|
|
|
4232
4266
|
"ak-slider--vertical": e.vertical
|
|
4233
4267
|
}
|
|
4234
4268
|
]);
|
|
4235
|
-
return (
|
|
4236
|
-
class:
|
|
4269
|
+
return ($, h) => (n(), p("div", {
|
|
4270
|
+
class: L(s(N))
|
|
4237
4271
|
}, [
|
|
4238
4272
|
b("div", {
|
|
4239
|
-
class:
|
|
4273
|
+
class: L([s(d), "slider-track"]),
|
|
4240
4274
|
ref_key: "sliderTrack",
|
|
4241
4275
|
ref: o,
|
|
4242
|
-
onMousedown:
|
|
4276
|
+
onMousedown: I
|
|
4243
4277
|
}, null, 34),
|
|
4244
4278
|
b("div", {
|
|
4245
|
-
class:
|
|
4246
|
-
style: Z(s(
|
|
4247
|
-
onMousedown:
|
|
4279
|
+
class: L([s(m), "slider-range"]),
|
|
4280
|
+
style: Z(s(x)),
|
|
4281
|
+
onMousedown: I
|
|
4248
4282
|
}, null, 38),
|
|
4249
4283
|
b("div", {
|
|
4250
4284
|
class: "slider-thumb",
|
|
4251
4285
|
style: Z({ [s(u)]: `${s(i)}%` }),
|
|
4252
|
-
onMousedown:
|
|
4286
|
+
onMousedown: h[0] || (h[0] = (T) => z("left"))
|
|
4253
4287
|
}, null, 36),
|
|
4254
4288
|
e.type === "label" ? (n(), p("div", {
|
|
4255
4289
|
key: 0,
|
|
@@ -4260,7 +4294,7 @@ const Zn = { class: "tooltip" }, Xn = { class: "tooltip" }, Qn = {
|
|
|
4260
4294
|
key: 1,
|
|
4261
4295
|
class: "slider-thumb",
|
|
4262
4296
|
style: Z({ [s(u)]: `${s(r)}%` }),
|
|
4263
|
-
onMousedown:
|
|
4297
|
+
onMousedown: h[1] || (h[1] = (T) => z("right"))
|
|
4264
4298
|
}, null, 36)) : g("", !0),
|
|
4265
4299
|
e.dualThumbMode && e.type === "label" ? (n(), p("div", {
|
|
4266
4300
|
key: 2,
|
|
@@ -4271,22 +4305,52 @@ const Zn = { class: "tooltip" }, Xn = { class: "tooltip" }, Qn = {
|
|
|
4271
4305
|
key: 3,
|
|
4272
4306
|
class: "slider-thumb",
|
|
4273
4307
|
style: Z({ [s(u)]: `${s(i)}%` }),
|
|
4274
|
-
onMousedown:
|
|
4308
|
+
onMousedown: h[2] || (h[2] = (T) => z("left"))
|
|
4275
4309
|
}, [
|
|
4276
|
-
b("div",
|
|
4310
|
+
b("div", oa, C(s(i).toFixed(0)) + "%", 1)
|
|
4277
4311
|
], 36)) : g("", !0),
|
|
4278
4312
|
e.dualThumbMode && e.type === "tooltip" ? (n(), p("div", {
|
|
4279
4313
|
key: 4,
|
|
4280
4314
|
class: "slider-thumb",
|
|
4281
4315
|
style: Z({ [s(u)]: `${s(r)}%` }),
|
|
4282
|
-
onMousedown:
|
|
4316
|
+
onMousedown: h[3] || (h[3] = (T) => z("right"))
|
|
4283
4317
|
}, [
|
|
4284
|
-
b("div",
|
|
4318
|
+
b("div", sa, C(s(r).toFixed(0)) + "%", 1)
|
|
4285
4319
|
], 36)) : g("", !0)
|
|
4286
4320
|
], 2));
|
|
4287
4321
|
}
|
|
4288
4322
|
});
|
|
4289
|
-
|
|
4323
|
+
const aa = {
|
|
4324
|
+
name: "MaAppCheckbox"
|
|
4325
|
+
}, Tl = /* @__PURE__ */ B({
|
|
4326
|
+
...aa,
|
|
4327
|
+
props: {
|
|
4328
|
+
appIcon: null,
|
|
4329
|
+
checked: { type: Boolean, default: !1 }
|
|
4330
|
+
},
|
|
4331
|
+
emits: ["update:checked", "change"],
|
|
4332
|
+
setup(a, { emit: t }) {
|
|
4333
|
+
const e = a, o = (i) => {
|
|
4334
|
+
t("update:checked", !e.checked);
|
|
4335
|
+
}, l = c(() => [
|
|
4336
|
+
"ma-app-checkbox",
|
|
4337
|
+
"ak-app-checkbox"
|
|
4338
|
+
]);
|
|
4339
|
+
return (i, r) => (n(), p("span", {
|
|
4340
|
+
class: L(s(l))
|
|
4341
|
+
}, [
|
|
4342
|
+
k(So, {
|
|
4343
|
+
onClick: o,
|
|
4344
|
+
"app-icon": e.appIcon
|
|
4345
|
+
}, null, 8, ["app-icon"]),
|
|
4346
|
+
k(no, {
|
|
4347
|
+
onClick: o,
|
|
4348
|
+
checked: e.checked
|
|
4349
|
+
}, null, 8, ["checked"])
|
|
4350
|
+
], 2));
|
|
4351
|
+
}
|
|
4352
|
+
});
|
|
4353
|
+
class la {
|
|
4290
4354
|
config = fe({
|
|
4291
4355
|
language: "en"
|
|
4292
4356
|
});
|
|
@@ -4298,7 +4362,7 @@ class ea {
|
|
|
4298
4362
|
}
|
|
4299
4363
|
}
|
|
4300
4364
|
getConfig() {
|
|
4301
|
-
return
|
|
4365
|
+
return Re(this.config);
|
|
4302
4366
|
}
|
|
4303
4367
|
setLanguage(t) {
|
|
4304
4368
|
this.config.language = t;
|
|
@@ -4307,114 +4371,116 @@ class ea {
|
|
|
4307
4371
|
return this.config.language;
|
|
4308
4372
|
}
|
|
4309
4373
|
}
|
|
4310
|
-
const
|
|
4311
|
-
function
|
|
4312
|
-
return
|
|
4374
|
+
const ia = new la();
|
|
4375
|
+
function Al() {
|
|
4376
|
+
return Oe(ia.getConfig());
|
|
4313
4377
|
}
|
|
4314
4378
|
export {
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4379
|
+
ia as ActionKitConfig,
|
|
4380
|
+
qa as Animations,
|
|
4381
|
+
La as AppIconPlatforms,
|
|
4382
|
+
Da as AppIconSizes,
|
|
4383
|
+
fa as ButtonIconAlignMents,
|
|
4384
|
+
ga as ButtonShapes,
|
|
4321
4385
|
vt as ButtonSizes,
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4386
|
+
va as ButtonTargets,
|
|
4387
|
+
da as ButtonTypes,
|
|
4388
|
+
ma as ButtonVariants,
|
|
4389
|
+
Oa as MaAlert,
|
|
4390
|
+
ja as MaAlertPropTypes,
|
|
4391
|
+
Ka as MaAlertPropVariants,
|
|
4392
|
+
No as MaAnimation,
|
|
4393
|
+
Tl as MaAppCheckbox,
|
|
4394
|
+
So as MaAppIcon,
|
|
4395
|
+
Pa as MaAppTrackButton,
|
|
4396
|
+
yl as MaAutoComplete,
|
|
4332
4397
|
_e as MaBadge,
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4398
|
+
Ra as MaBadgePropIconAlignments,
|
|
4399
|
+
Ua as MaBadgePropSizes,
|
|
4400
|
+
Ga as MaBadgePropTypes,
|
|
4401
|
+
Va as MaBadgePropVariants,
|
|
4337
4402
|
oe as MaButton,
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4403
|
+
wl as MaCard,
|
|
4404
|
+
Cl as MaCardAlignments,
|
|
4405
|
+
Bl as MaCardIconColors,
|
|
4406
|
+
Ml as MaCardSizes,
|
|
4407
|
+
no as MaCheckbox,
|
|
4408
|
+
Ta as MaCheckboxGroup,
|
|
4409
|
+
$l as MaCountrySelect,
|
|
4410
|
+
zl as MaDrawer,
|
|
4411
|
+
Yo as MaDropdown,
|
|
4412
|
+
Qa as MaDropdownPlacements,
|
|
4413
|
+
el as MaDropdownTriggers,
|
|
4414
|
+
sl as MaEmpty,
|
|
4350
4415
|
Ce as MaEmptyIcons,
|
|
4351
|
-
|
|
4352
|
-
|
|
4416
|
+
tl as MaEmptySizes,
|
|
4417
|
+
ol as MaEmptyVariants,
|
|
4353
4418
|
Lt as MaForm,
|
|
4354
4419
|
be as MaFormItem,
|
|
4355
|
-
|
|
4420
|
+
xa as MaFormLayouts,
|
|
4356
4421
|
M as MaIcon,
|
|
4357
4422
|
ie as MaIconButton,
|
|
4358
4423
|
dt as MaIconSizeClassNames,
|
|
4359
|
-
|
|
4424
|
+
ua as MaIconSizes,
|
|
4360
4425
|
ye as MaInput,
|
|
4361
|
-
|
|
4362
|
-
|
|
4426
|
+
za as MaInputCurrency,
|
|
4427
|
+
xl as MaInputNumber,
|
|
4363
4428
|
Ft as MaInputSize,
|
|
4364
4429
|
se as MaInputType,
|
|
4365
|
-
|
|
4430
|
+
Sl as MaKeywordGroupSelection,
|
|
4366
4431
|
$e as MaModal,
|
|
4367
4432
|
ke as MaModalTypeIcon,
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4433
|
+
Ha as MaModalTypes,
|
|
4434
|
+
Aa as MaNumericInput,
|
|
4435
|
+
Wn as MaPopover,
|
|
4436
|
+
ml as MaProgress,
|
|
4437
|
+
fl as MaProgressCircleSizes,
|
|
4438
|
+
vl as MaProgressColors,
|
|
4439
|
+
_l as MaProgressPercentAlignments,
|
|
4440
|
+
gl as MaProgressTypes,
|
|
4441
|
+
po as MaRadio,
|
|
4442
|
+
Ea as MaRadioGroup,
|
|
4443
|
+
Fa as MaRadioTypes,
|
|
4444
|
+
Wa as MaRate,
|
|
4445
|
+
Ya as MaRateColors,
|
|
4446
|
+
Ja as MaRateSizes,
|
|
4447
|
+
Ne as MaSelect,
|
|
4382
4448
|
oo as MaSelectOption,
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4449
|
+
dl as MaSideMenuAddNewAppButton,
|
|
4450
|
+
ul as MaSideMenuAppButton,
|
|
4451
|
+
ll as MaSideMenuButton,
|
|
4452
|
+
cl as MaSideMenuIconButton,
|
|
4453
|
+
il as MaSideMenuItem,
|
|
4454
|
+
rl as MaSideMenuItemColors,
|
|
4455
|
+
pl as MaSideMenuRoundIconButton,
|
|
4456
|
+
Il as MaSlider,
|
|
4391
4457
|
we as MaSpin,
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4458
|
+
Xa as MaSpinColors,
|
|
4459
|
+
Za as MaSpinTypes,
|
|
4460
|
+
$a as MaSwitch,
|
|
4461
|
+
kl as MaTabIconAlignMents,
|
|
4462
|
+
mn as MaTabPane,
|
|
4463
|
+
hl as MaTabPositions,
|
|
4464
|
+
bl as MaTabTypes,
|
|
4465
|
+
dn as MaTabs,
|
|
4466
|
+
ba as MaToggle,
|
|
4401
4467
|
ue as MaTooltip,
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4468
|
+
_a as MaTrackButton,
|
|
4469
|
+
al as MaUpload,
|
|
4470
|
+
te as MaUploadFileStatus,
|
|
4471
|
+
ts as MaUploadSizes,
|
|
4472
|
+
nl as MaUploadTypes,
|
|
4473
|
+
Na as NumericInputSizes,
|
|
4474
|
+
Ia as SelectModes,
|
|
4475
|
+
Sa as SelectSizes,
|
|
4476
|
+
wa as SwitchTypes,
|
|
4477
|
+
ka as ToggleSizes,
|
|
4478
|
+
Ca as TooltipPlacements,
|
|
4479
|
+
Ba as TooltipTriggerTypes,
|
|
4480
|
+
Ma as TooltipTypes,
|
|
4481
|
+
ha as TrackButtonSizes,
|
|
4482
|
+
ya as TrackButtonVariants,
|
|
4417
4483
|
Gt as currencyOptions,
|
|
4418
4484
|
Vt as currencySymbols,
|
|
4419
|
-
|
|
4485
|
+
Al as useActionKitConfig
|
|
4420
4486
|
};
|