@mobileaction/action-kit 1.1.60 → 1.1.62
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 +1003 -929
- package/dist/components/app-icon/index.vue.d.ts +22 -0
- package/dist/components/autocomplete/index.vue.d.ts +12 -0
- package/dist/components/dropdown/index.vue.d.ts +6 -6
- 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/tabs/index.vue.d.ts +3 -3
- package/dist/components/toggle/index.vue.d.ts +1 -1
- package/dist/components/tooltip/index.vue.d.ts +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/src/components/app-icon/index.vue.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/dropdown/index.vue.d.ts +4 -4
- package/dist/src/components/input/index.vue.d.ts +1 -1
- package/dist/src/components/input-number/index.vue.d.ts +1 -1
- package/dist/src/components/numeric-input/components/singleNumericInput.vue.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/components/tabs/index.vue.d.ts +1 -1
- package/dist/src/components/tooltip/index.vue.d.ts +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/action-kit.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Button 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 E, 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
|
+
}, ra = ["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,
|
|
@@ -42,7 +42,7 @@ const ge = (a, t) => {
|
|
|
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(
|
|
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 ca = [
|
|
118
118
|
"primary",
|
|
119
119
|
"secondary",
|
|
120
120
|
"link",
|
|
121
121
|
"grey-link",
|
|
122
122
|
"social"
|
|
123
|
-
],
|
|
123
|
+
], pa = [
|
|
124
124
|
"dark",
|
|
125
125
|
"plain",
|
|
126
126
|
"info",
|
|
@@ -133,20 +133,20 @@ const sa = [
|
|
|
133
133
|
"large",
|
|
134
134
|
"x-large",
|
|
135
135
|
"2x-large"
|
|
136
|
-
],
|
|
136
|
+
], ua = [
|
|
137
137
|
"default",
|
|
138
138
|
"round"
|
|
139
|
-
],
|
|
139
|
+
], da = [
|
|
140
140
|
"_blank",
|
|
141
141
|
"_self",
|
|
142
142
|
"_top",
|
|
143
143
|
"_parent"
|
|
144
|
-
],
|
|
144
|
+
], ma = [
|
|
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" },
|
|
@@ -172,13 +172,13 @@ const sa = [
|
|
|
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
|
+
}, ga = /* @__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 va = [
|
|
256
256
|
"default"
|
|
257
|
-
],
|
|
257
|
+
], fa = [
|
|
258
258
|
"sm",
|
|
259
259
|
"md",
|
|
260
260
|
"lg"
|
|
@@ -269,7 +269,7 @@ const ca = [
|
|
|
269
269
|
class: "ma-toggle__titles__sub-title"
|
|
270
270
|
}, $t = {
|
|
271
271
|
name: "MaToggle"
|
|
272
|
-
},
|
|
272
|
+
}, _a = /* @__PURE__ */ B({
|
|
273
273
|
...$t,
|
|
274
274
|
props: {
|
|
275
275
|
size: { default: "default" },
|
|
@@ -300,10 +300,10 @@ const ca = [
|
|
|
300
300
|
return (i, r) => (n(), p("div", {
|
|
301
301
|
class: E(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 ca = [
|
|
|
319
319
|
], 2));
|
|
320
320
|
}
|
|
321
321
|
});
|
|
322
|
-
const
|
|
322
|
+
const ya = [
|
|
323
323
|
"small",
|
|
324
324
|
"default",
|
|
325
325
|
"large"
|
|
326
326
|
], wt = ["aria-checked", "disabled"], Ct = {
|
|
327
327
|
name: "MaSwitch"
|
|
328
|
-
},
|
|
328
|
+
}, ha = /* @__PURE__ */ B({
|
|
329
329
|
...Ct,
|
|
330
330
|
props: {
|
|
331
331
|
active: null,
|
|
@@ -358,7 +358,7 @@ const da = [
|
|
|
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",
|
|
@@ -369,7 +369,7 @@ const da = [
|
|
|
369
369
|
class: E({ 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),
|
|
@@ -377,14 +377,14 @@ const da = [
|
|
|
377
377
|
class: E({ 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 ba = [
|
|
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 ga = [
|
|
|
392
392
|
class: "ak-tooltip-overlay__content__description"
|
|
393
393
|
}, zt = {
|
|
394
394
|
name: "MaTooltip"
|
|
395
|
-
},
|
|
395
|
+
}, ue = /* @__PURE__ */ B({
|
|
396
396
|
...zt,
|
|
397
397
|
props: {
|
|
398
398
|
placement: { default: "top" },
|
|
@@ -419,7 +419,7 @@ const ga = [
|
|
|
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 ga = [
|
|
|
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 ga = [
|
|
|
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 ka = [
|
|
464
464
|
"top",
|
|
465
465
|
"left",
|
|
466
466
|
"right",
|
|
@@ -473,10 +473,10 @@ const va = [
|
|
|
473
473
|
"leftBottom",
|
|
474
474
|
"rightTop",
|
|
475
475
|
"rightBottom"
|
|
476
|
-
],
|
|
476
|
+
], $a = [
|
|
477
477
|
"primary",
|
|
478
478
|
"secondary"
|
|
479
|
-
],
|
|
479
|
+
], wa = [
|
|
480
480
|
"hover",
|
|
481
481
|
"focus",
|
|
482
482
|
"click",
|
|
@@ -498,15 +498,15 @@ const va = [
|
|
|
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
|
+
}), Ca = [
|
|
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
|
+
}, Ma = {
|
|
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
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 },
|
|
@@ -881,17 +881,17 @@ 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);
|
|
@@ -905,7 +905,7 @@ const Yt = ["for"], Zt = {
|
|
|
905
905
|
return (v, V) => (n(), p("div", {
|
|
906
906
|
class: E(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,11 +941,11 @@ 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) =>
|
|
947
|
+
value: s(x),
|
|
948
|
+
"onUpdate:value": V[0] || (V[0] = (U) => ee(x) ? x.value = U : null),
|
|
949
949
|
onChange: T,
|
|
950
950
|
dropdownClassName: "ak-input__input__ma-select__dropdown",
|
|
951
951
|
options: s(Gt),
|
|
@@ -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
|
+
}), Ba = [
|
|
1012
1012
|
"default",
|
|
1013
1013
|
"large",
|
|
1014
1014
|
"small"
|
|
1015
|
-
],
|
|
1015
|
+
], xa = [
|
|
1016
1016
|
"multiple",
|
|
1017
1017
|
"tags"
|
|
1018
1018
|
], so = {
|
|
1019
1019
|
name: "MaCheckbox"
|
|
1020
|
-
},
|
|
1020
|
+
}, za = /* @__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"
|
|
@@ -1053,7 +1053,7 @@ const to = {
|
|
|
1053
1053
|
});
|
|
1054
1054
|
const no = {
|
|
1055
1055
|
name: "MaCheckboxGroup"
|
|
1056
|
-
},
|
|
1056
|
+
}, Sa = /* @__PURE__ */ B({
|
|
1057
1057
|
...no,
|
|
1058
1058
|
props: {
|
|
1059
1059
|
hint: null,
|
|
@@ -1061,14 +1061,14 @@ const no = {
|
|
|
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
|
-
}), ao = ["value"], lo = /* @__PURE__ */
|
|
1080
|
+
}), ao = ["value"], lo = /* @__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",
|
|
@@ -1110,7 +1110,7 @@ const no = {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
}), io = {
|
|
1112
1112
|
name: "MaNumericInput"
|
|
1113
|
-
},
|
|
1113
|
+
}, Ia = /* @__PURE__ */ B({
|
|
1114
1114
|
...io,
|
|
1115
1115
|
props: {
|
|
1116
1116
|
disabled: { type: Boolean },
|
|
@@ -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,46 +1131,46 @@ 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 T =
|
|
1159
|
-
T.length === 1 && T.match(/^\d+$/) ? l.value[
|
|
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
|
-
), (
|
|
1173
|
+
), ($, h) => (n(), p("div", S({ class: s(i) }, $.$attrs), [
|
|
1174
1174
|
(n(!0), p(W, null, j(e.length, (T) => (n(), f(lo, {
|
|
1175
1175
|
focus: o.value === T - 1,
|
|
1176
1176
|
key: T,
|
|
@@ -1179,19 +1179,19 @@ const no = {
|
|
|
1179
1179
|
disabled: e.disabled,
|
|
1180
1180
|
onFocus: (R) => d(T - 1),
|
|
1181
1181
|
onKeydown: (R) => m(R, T - 1),
|
|
1182
|
-
onPaste: (R) =>
|
|
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 Ta = [
|
|
1189
1189
|
"small",
|
|
1190
1190
|
"medium",
|
|
1191
1191
|
"large"
|
|
1192
1192
|
], ro = {
|
|
1193
1193
|
name: "MaRadio"
|
|
1194
|
-
}, co = /* @__PURE__ */
|
|
1194
|
+
}, co = /* @__PURE__ */ B({
|
|
1195
1195
|
...ro,
|
|
1196
1196
|
props: {
|
|
1197
1197
|
type: { default: "button" },
|
|
@@ -1200,14 +1200,14 @@ const Ma = [
|
|
|
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"
|
|
@@ -1222,7 +1222,7 @@ const po = ["aria-checked", "disabled"], uo = ["src", "alt"], mo = { class: "ma-
|
|
|
1222
1222
|
class: "ma-app-track-button__text__category"
|
|
1223
1223
|
}, fo = { class: "ma-app-track-button__check" }, _o = {
|
|
1224
1224
|
name: "MaAppTrackButton"
|
|
1225
|
-
},
|
|
1225
|
+
}, Aa = /* @__PURE__ */ B({
|
|
1226
1226
|
..._o,
|
|
1227
1227
|
props: {
|
|
1228
1228
|
checked: { type: Boolean, default: !1 },
|
|
@@ -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,
|
|
@@ -1266,11 +1266,11 @@ const po = ["aria-checked", "disabled"], uo = ["src", "alt"], mo = { class: "ma-
|
|
|
1266
1266
|
e.appCategory ? (n(), p("span", vo, C(e?.appCategory), 1)) : g("", !0)
|
|
1267
1267
|
]),
|
|
1268
1268
|
b("span", fo, [
|
|
1269
|
-
|
|
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",
|
|
@@ -1296,18 +1296,24 @@ const yo = { class: "ak-app-icon__logo" }, ho = ["src"], bo = {
|
|
|
1296
1296
|
key: 1,
|
|
1297
1297
|
class: "ak-app-icon-platform"
|
|
1298
1298
|
}, ko = {
|
|
1299
|
-
key:
|
|
1299
|
+
key: 1,
|
|
1300
|
+
class: "ak-app-icon__logo"
|
|
1301
|
+
}, $o = ["src"], wo = {
|
|
1302
|
+
key: 1,
|
|
1303
|
+
class: "ak-app-icon-platform"
|
|
1304
|
+
}, Co = {
|
|
1305
|
+
key: 2,
|
|
1300
1306
|
class: "ak-app-icon__text"
|
|
1301
|
-
},
|
|
1307
|
+
}, Mo = {
|
|
1302
1308
|
key: 0,
|
|
1303
1309
|
class: "ak-app-name"
|
|
1304
|
-
},
|
|
1310
|
+
}, Bo = {
|
|
1305
1311
|
key: 1,
|
|
1306
1312
|
class: "ak-app-description"
|
|
1307
|
-
},
|
|
1313
|
+
}, xo = {
|
|
1308
1314
|
name: "MaAppIcon"
|
|
1309
|
-
},
|
|
1310
|
-
...
|
|
1315
|
+
}, Na = /* @__PURE__ */ B({
|
|
1316
|
+
...xo,
|
|
1311
1317
|
props: {
|
|
1312
1318
|
appIcon: null,
|
|
1313
1319
|
appName: null,
|
|
@@ -1315,7 +1321,9 @@ const yo = { class: "ak-app-icon__logo" }, ho = ["src"], bo = {
|
|
|
1315
1321
|
closable: { type: Boolean, default: !1 },
|
|
1316
1322
|
platform: null,
|
|
1317
1323
|
rounded: { type: Boolean, default: !1 },
|
|
1318
|
-
size: { default: "medium" }
|
|
1324
|
+
size: { default: "medium" },
|
|
1325
|
+
showTooltip: { type: Boolean, default: !1 },
|
|
1326
|
+
tooltipProps: null
|
|
1319
1327
|
},
|
|
1320
1328
|
emits: ["close"],
|
|
1321
1329
|
setup(a, { emit: t }) {
|
|
@@ -1327,17 +1335,48 @@ const yo = { class: "ak-app-icon__logo" }, ho = ["src"], bo = {
|
|
|
1327
1335
|
{ "ak-app-icon--only-icon": !e?.appName && !e?.appDescription }
|
|
1328
1336
|
]), i = () => {
|
|
1329
1337
|
t("close");
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1338
|
+
}, r = c(() => ({
|
|
1339
|
+
overlayClassName: "ma-app-icon-tooltip",
|
|
1340
|
+
title: e.appName,
|
|
1341
|
+
type: "primary",
|
|
1342
|
+
...e.tooltipProps
|
|
1343
|
+
}));
|
|
1344
|
+
return (u, d) => (n(), p("div", {
|
|
1332
1345
|
class: E(s(l))
|
|
1333
1346
|
}, [
|
|
1334
|
-
|
|
1347
|
+
e.showTooltip ? (n(), f(ue, ze(S({ key: 0 }, s(r))), {
|
|
1348
|
+
default: y(() => [
|
|
1349
|
+
b("div", yo, [
|
|
1350
|
+
e.closable ? (n(), p("span", {
|
|
1351
|
+
key: 0,
|
|
1352
|
+
onClick: i,
|
|
1353
|
+
class: "ak-app-icon-closable"
|
|
1354
|
+
}, [
|
|
1355
|
+
k(M, {
|
|
1356
|
+
size: "xs",
|
|
1357
|
+
name: "close-circle"
|
|
1358
|
+
})
|
|
1359
|
+
])) : g("", !0),
|
|
1360
|
+
b("img", {
|
|
1361
|
+
class: "ak-app-icon-img",
|
|
1362
|
+
src: e.appIcon
|
|
1363
|
+
}, null, 8, ho),
|
|
1364
|
+
e?.platform ? (n(), p("span", bo, [
|
|
1365
|
+
k(M, {
|
|
1366
|
+
size: "xs",
|
|
1367
|
+
name: s(o)
|
|
1368
|
+
}, null, 8, ["name"])
|
|
1369
|
+
])) : g("", !0)
|
|
1370
|
+
])
|
|
1371
|
+
]),
|
|
1372
|
+
_: 1
|
|
1373
|
+
}, 16)) : (n(), p("div", ko, [
|
|
1335
1374
|
e.closable ? (n(), p("span", {
|
|
1336
1375
|
key: 0,
|
|
1337
1376
|
onClick: i,
|
|
1338
1377
|
class: "ak-app-icon-closable"
|
|
1339
1378
|
}, [
|
|
1340
|
-
|
|
1379
|
+
k(M, {
|
|
1341
1380
|
size: "xs",
|
|
1342
1381
|
name: "close-circle"
|
|
1343
1382
|
})
|
|
@@ -1345,48 +1384,48 @@ const yo = { class: "ak-app-icon__logo" }, ho = ["src"], bo = {
|
|
|
1345
1384
|
b("img", {
|
|
1346
1385
|
class: "ak-app-icon-img",
|
|
1347
1386
|
src: e.appIcon
|
|
1348
|
-
}, null, 8,
|
|
1349
|
-
e?.platform ? (n(), p("span",
|
|
1350
|
-
|
|
1387
|
+
}, null, 8, $o),
|
|
1388
|
+
e?.platform ? (n(), p("span", wo, [
|
|
1389
|
+
k(M, {
|
|
1351
1390
|
size: "xs",
|
|
1352
1391
|
name: s(o)
|
|
1353
1392
|
}, null, 8, ["name"])
|
|
1354
1393
|
])) : g("", !0)
|
|
1355
|
-
]),
|
|
1356
|
-
e?.appName || e?.appDescription ? (n(), p("div",
|
|
1357
|
-
e?.appName ? (n(), p("span",
|
|
1358
|
-
e?.appDescription ? (n(), p("span",
|
|
1394
|
+
])),
|
|
1395
|
+
e?.appName || e?.appDescription ? (n(), p("div", Co, [
|
|
1396
|
+
e?.appName ? (n(), p("span", Mo, C(e.appName), 1)) : g("", !0),
|
|
1397
|
+
e?.appDescription ? (n(), p("span", Bo, C(e.appDescription), 1)) : g("", !0)
|
|
1359
1398
|
])) : g("", !0)
|
|
1360
1399
|
], 2));
|
|
1361
1400
|
}
|
|
1362
1401
|
});
|
|
1363
|
-
const
|
|
1402
|
+
const Pa = [
|
|
1364
1403
|
"x-small",
|
|
1365
1404
|
"small",
|
|
1366
1405
|
"medium",
|
|
1367
1406
|
"large",
|
|
1368
1407
|
"x-large"
|
|
1369
|
-
],
|
|
1408
|
+
], Da = [
|
|
1370
1409
|
"play",
|
|
1371
1410
|
"ios"
|
|
1372
|
-
],
|
|
1411
|
+
], zo = {
|
|
1373
1412
|
name: "MaRadioGroup"
|
|
1374
|
-
},
|
|
1375
|
-
...
|
|
1413
|
+
}, La = /* @__PURE__ */ B({
|
|
1414
|
+
...zo,
|
|
1376
1415
|
setup(a) {
|
|
1377
|
-
return (t, e) => (n(), f(s(
|
|
1416
|
+
return (t, e) => (n(), f(s(st), S(t.$attrs, { "prefix-cls": "antd-radio" }), J({ _: 2 }, [
|
|
1378
1417
|
j(t.$slots, (o, l) => ({
|
|
1379
1418
|
name: l,
|
|
1380
|
-
fn:
|
|
1381
|
-
|
|
1419
|
+
fn: y(() => [
|
|
1420
|
+
_(t.$slots, l)
|
|
1382
1421
|
])
|
|
1383
1422
|
}))
|
|
1384
1423
|
]), 1040));
|
|
1385
1424
|
}
|
|
1386
|
-
}),
|
|
1425
|
+
}), Ea = [
|
|
1387
1426
|
"button",
|
|
1388
1427
|
"check"
|
|
1389
|
-
],
|
|
1428
|
+
], Fa = [
|
|
1390
1429
|
"dark",
|
|
1391
1430
|
"blue",
|
|
1392
1431
|
"green",
|
|
@@ -1394,23 +1433,23 @@ const za = [
|
|
|
1394
1433
|
"red",
|
|
1395
1434
|
"purple",
|
|
1396
1435
|
"purple-light"
|
|
1397
|
-
],
|
|
1436
|
+
], Va = [
|
|
1398
1437
|
"primary",
|
|
1399
1438
|
"secondary",
|
|
1400
1439
|
"line",
|
|
1401
1440
|
"dashed",
|
|
1402
1441
|
"icon"
|
|
1403
|
-
],
|
|
1442
|
+
], Ga = [
|
|
1404
1443
|
"small",
|
|
1405
1444
|
"medium",
|
|
1406
1445
|
"large"
|
|
1407
|
-
],
|
|
1446
|
+
], Ua = [
|
|
1408
1447
|
"left",
|
|
1409
1448
|
"right"
|
|
1410
|
-
],
|
|
1449
|
+
], So = {
|
|
1411
1450
|
name: "MaAlert"
|
|
1412
|
-
},
|
|
1413
|
-
...
|
|
1451
|
+
}, Ra = /* @__PURE__ */ B({
|
|
1452
|
+
...So,
|
|
1414
1453
|
props: {
|
|
1415
1454
|
variant: { default: "dark" },
|
|
1416
1455
|
type: { default: "primary" },
|
|
@@ -1421,7 +1460,7 @@ const za = [
|
|
|
1421
1460
|
},
|
|
1422
1461
|
setup(a) {
|
|
1423
1462
|
const t = a, e = le(), o = c(() => [`ma-alert ak-alert ak-alert--${t.variant}--${t.type}`]), l = c(() => !!t?.icon || !!e?.icon);
|
|
1424
|
-
return (i, r) => (n(), f(s(
|
|
1463
|
+
return (i, r) => (n(), f(s(nt), S(i.$attrs, {
|
|
1425
1464
|
class: s(o),
|
|
1426
1465
|
description: a.description,
|
|
1427
1466
|
message: a.message,
|
|
@@ -1429,43 +1468,43 @@ const za = [
|
|
|
1429
1468
|
showIcon: s(l),
|
|
1430
1469
|
"prefix-cls": "antd-alert"
|
|
1431
1470
|
}), {
|
|
1432
|
-
closeIcon:
|
|
1433
|
-
|
|
1471
|
+
closeIcon: y(() => [
|
|
1472
|
+
k(M, {
|
|
1434
1473
|
name: "close",
|
|
1435
1474
|
size: "xs"
|
|
1436
1475
|
})
|
|
1437
1476
|
]),
|
|
1438
|
-
icon:
|
|
1477
|
+
icon: y(() => [
|
|
1439
1478
|
t?.icon ? (n(), f(M, {
|
|
1440
1479
|
key: 0,
|
|
1441
1480
|
name: a.icon,
|
|
1442
1481
|
size: "lg"
|
|
1443
1482
|
}, null, 8, ["name"])) : g("", !0),
|
|
1444
|
-
|
|
1483
|
+
_(i.$slots, "icon")
|
|
1445
1484
|
]),
|
|
1446
|
-
message:
|
|
1447
|
-
|
|
1485
|
+
message: y(() => [
|
|
1486
|
+
_(i.$slots, "message")
|
|
1448
1487
|
]),
|
|
1449
|
-
description:
|
|
1450
|
-
|
|
1488
|
+
description: y(() => [
|
|
1489
|
+
_(i.$slots, "description")
|
|
1451
1490
|
]),
|
|
1452
1491
|
_: 3
|
|
1453
1492
|
}, 16, ["class", "description", "message", "closable", "showIcon"]));
|
|
1454
1493
|
}
|
|
1455
1494
|
});
|
|
1456
|
-
const
|
|
1495
|
+
const Oa = [
|
|
1457
1496
|
"dark",
|
|
1458
1497
|
"blue",
|
|
1459
1498
|
"green",
|
|
1460
1499
|
"orange",
|
|
1461
1500
|
"red"
|
|
1462
|
-
],
|
|
1501
|
+
], Ka = [
|
|
1463
1502
|
"primary",
|
|
1464
1503
|
"secondary"
|
|
1465
|
-
],
|
|
1504
|
+
], Io = {
|
|
1466
1505
|
name: "MaAnimation"
|
|
1467
|
-
},
|
|
1468
|
-
...
|
|
1506
|
+
}, To = /* @__PURE__ */ B({
|
|
1507
|
+
...Io,
|
|
1469
1508
|
props: {
|
|
1470
1509
|
name: { default: "rocket" },
|
|
1471
1510
|
loop: { type: Boolean, default: !0 },
|
|
@@ -1489,49 +1528,49 @@ const Ea = [
|
|
|
1489
1528
|
pe(
|
|
1490
1529
|
() => o.name,
|
|
1491
1530
|
() => {
|
|
1492
|
-
|
|
1531
|
+
x(), m();
|
|
1493
1532
|
}
|
|
1494
1533
|
);
|
|
1495
1534
|
const d = async () => {
|
|
1496
|
-
const { default:
|
|
1497
|
-
l =
|
|
1535
|
+
const { default: z } = await import("./lottie_light-b08f9446.mjs").then((I) => I.l);
|
|
1536
|
+
l = z;
|
|
1498
1537
|
}, m = async () => {
|
|
1499
1538
|
try {
|
|
1500
|
-
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`);
|
|
1501
1540
|
r.value = l.loadAnimation({
|
|
1502
1541
|
container: i.value,
|
|
1503
1542
|
loop: o.loop,
|
|
1504
1543
|
autoplay: o.autoplay,
|
|
1505
|
-
animationData:
|
|
1544
|
+
animationData: z,
|
|
1506
1545
|
rendererSettings: o?.rendererSettings
|
|
1507
1546
|
}), r.value.onComplete = () => e("onComplete"), r.value.addEventListener("DOMLoaded", function() {
|
|
1508
1547
|
e("onLoaded");
|
|
1509
1548
|
});
|
|
1510
|
-
} catch (
|
|
1511
|
-
e("onError",
|
|
1549
|
+
} catch (z) {
|
|
1550
|
+
e("onError", z);
|
|
1512
1551
|
}
|
|
1513
|
-
},
|
|
1552
|
+
}, x = () => {
|
|
1514
1553
|
r.value && r.value.destroy();
|
|
1515
1554
|
};
|
|
1516
|
-
return
|
|
1555
|
+
return de(async () => {
|
|
1517
1556
|
await d(), m();
|
|
1518
|
-
}),
|
|
1519
|
-
|
|
1520
|
-
}), (
|
|
1557
|
+
}), Se(() => {
|
|
1558
|
+
x();
|
|
1559
|
+
}), (z, I) => (n(), p("div", {
|
|
1521
1560
|
ref_key: "animationRef",
|
|
1522
1561
|
ref: i,
|
|
1523
1562
|
class: "ma-animation",
|
|
1524
1563
|
style: Z(s(u))
|
|
1525
1564
|
}, null, 4));
|
|
1526
1565
|
}
|
|
1527
|
-
}),
|
|
1566
|
+
}), ja = [
|
|
1528
1567
|
"rocket",
|
|
1529
1568
|
"success-confetti",
|
|
1530
1569
|
"rounded-loading",
|
|
1531
1570
|
"fly-waiting",
|
|
1532
1571
|
"no-data-found",
|
|
1533
1572
|
"sad-not-found"
|
|
1534
|
-
],
|
|
1573
|
+
], qa = [
|
|
1535
1574
|
"info",
|
|
1536
1575
|
"success",
|
|
1537
1576
|
"confirm",
|
|
@@ -1543,19 +1582,19 @@ const Ea = [
|
|
|
1543
1582
|
confirm: "warning",
|
|
1544
1583
|
warning: "warning",
|
|
1545
1584
|
error: "close-circle-bold"
|
|
1546
|
-
},
|
|
1585
|
+
}, Ao = {
|
|
1547
1586
|
key: 1,
|
|
1548
1587
|
class: "ak-modal__title"
|
|
1549
|
-
},
|
|
1588
|
+
}, No = { class: "ak-modal__content" }, Po = {
|
|
1550
1589
|
key: 0,
|
|
1551
1590
|
class: "ak-modal__description"
|
|
1552
|
-
},
|
|
1591
|
+
}, Do = {
|
|
1553
1592
|
key: 2,
|
|
1554
1593
|
class: "ak-modal__footer"
|
|
1555
|
-
},
|
|
1594
|
+
}, Lo = {
|
|
1556
1595
|
name: "MaModal"
|
|
1557
|
-
}, $e = /* @__PURE__ */
|
|
1558
|
-
...
|
|
1596
|
+
}, $e = /* @__PURE__ */ B({
|
|
1597
|
+
...Lo,
|
|
1559
1598
|
props: {
|
|
1560
1599
|
visible: { type: Boolean, default: !0 },
|
|
1561
1600
|
type: null,
|
|
@@ -1577,15 +1616,15 @@ const Ea = [
|
|
|
1577
1616
|
get() {
|
|
1578
1617
|
return e.visible;
|
|
1579
1618
|
},
|
|
1580
|
-
set(
|
|
1581
|
-
t("update:visible",
|
|
1619
|
+
set(I) {
|
|
1620
|
+
t("update:visible", I);
|
|
1582
1621
|
}
|
|
1583
1622
|
}), l = c(
|
|
1584
1623
|
() => e.type && ke[e.type] ? ke[e.type] : null
|
|
1585
1624
|
), i = c(
|
|
1586
1625
|
() => e.type === "error" ? "danger" : e.type === "warning" ? "warning" : "info"
|
|
1587
1626
|
), r = c(
|
|
1588
|
-
() =>
|
|
1627
|
+
() => z?.footer || e.okText || e.cancelText
|
|
1589
1628
|
), u = c(() => [
|
|
1590
1629
|
"ma-modal",
|
|
1591
1630
|
"ak-modal",
|
|
@@ -1595,12 +1634,12 @@ const Ea = [
|
|
|
1595
1634
|
{ [`ak-modal__header-icon--${e.type}`]: !!e.type }
|
|
1596
1635
|
]), m = () => {
|
|
1597
1636
|
o.value = !1, t("cancel");
|
|
1598
|
-
},
|
|
1637
|
+
}, x = () => {
|
|
1599
1638
|
t("ok");
|
|
1600
|
-
},
|
|
1601
|
-
return (
|
|
1639
|
+
}, z = le();
|
|
1640
|
+
return (I, N) => (n(), f(s(at), S(I.$attrs, {
|
|
1602
1641
|
visible: s(o),
|
|
1603
|
-
"onUpdate:visible":
|
|
1642
|
+
"onUpdate:visible": N[0] || (N[0] = ($) => ee(o) ? o.value = $ : null),
|
|
1604
1643
|
"prefix-cls": "antd-modal",
|
|
1605
1644
|
class: s(u),
|
|
1606
1645
|
closable: e.closable,
|
|
@@ -1608,63 +1647,63 @@ const Ea = [
|
|
|
1608
1647
|
"mask-closable": e.maskClosable,
|
|
1609
1648
|
width: e.width,
|
|
1610
1649
|
footer: null,
|
|
1611
|
-
onOk:
|
|
1650
|
+
onOk: x,
|
|
1612
1651
|
onCancel: m
|
|
1613
1652
|
}), {
|
|
1614
|
-
closeIcon:
|
|
1615
|
-
|
|
1653
|
+
closeIcon: y(() => [
|
|
1654
|
+
k(M, {
|
|
1616
1655
|
name: "close-circle",
|
|
1617
1656
|
size: "sm"
|
|
1618
1657
|
})
|
|
1619
1658
|
]),
|
|
1620
|
-
default:
|
|
1659
|
+
default: y(() => [
|
|
1621
1660
|
s(l) ? (n(), p("div", {
|
|
1622
1661
|
key: 0,
|
|
1623
1662
|
class: E(s(d))
|
|
1624
1663
|
}, [
|
|
1625
|
-
|
|
1664
|
+
k(M, { name: s(l) }, null, 8, ["name"])
|
|
1626
1665
|
], 2)) : g("", !0),
|
|
1627
|
-
e.title ||
|
|
1628
|
-
|
|
1629
|
-
|
|
1666
|
+
e.title || I.$slots.title ? (n(), p("h1", Ao, [
|
|
1667
|
+
_(I.$slots, "title"),
|
|
1668
|
+
P(" " + C(e.title), 1)
|
|
1630
1669
|
])) : g("", !0),
|
|
1631
|
-
b("div",
|
|
1632
|
-
e.content ? (n(), p("div",
|
|
1633
|
-
|
|
1634
|
-
|
|
1670
|
+
b("div", No, [
|
|
1671
|
+
e.content ? (n(), p("div", Po, C(e.content), 1)) : g("", !0),
|
|
1672
|
+
_(I.$slots, "content"),
|
|
1673
|
+
_(I.$slots, "default")
|
|
1635
1674
|
]),
|
|
1636
|
-
s(r) ? (n(), p("div",
|
|
1637
|
-
e.okText ? (n(), f(oe,
|
|
1675
|
+
s(r) ? (n(), p("div", Do, [
|
|
1676
|
+
e.okText ? (n(), f(oe, S({
|
|
1638
1677
|
key: 0,
|
|
1639
|
-
onClick:
|
|
1678
|
+
onClick: x,
|
|
1640
1679
|
class: "ak-modal__ok-button",
|
|
1641
1680
|
variant: s(i),
|
|
1642
1681
|
loading: e.confirmLoading
|
|
1643
1682
|
}, e.okButtonProps), {
|
|
1644
|
-
default:
|
|
1645
|
-
|
|
1683
|
+
default: y(() => [
|
|
1684
|
+
P(C(e.okText), 1)
|
|
1646
1685
|
]),
|
|
1647
1686
|
_: 1
|
|
1648
1687
|
}, 16, ["variant", "loading"])) : g("", !0),
|
|
1649
|
-
e.cancelText ? (n(), f(oe,
|
|
1688
|
+
e.cancelText ? (n(), f(oe, S({
|
|
1650
1689
|
key: 1,
|
|
1651
1690
|
onClick: m,
|
|
1652
1691
|
type: "grey-link"
|
|
1653
1692
|
}, e.cancelButtonProps), {
|
|
1654
|
-
default:
|
|
1655
|
-
|
|
1693
|
+
default: y(() => [
|
|
1694
|
+
P(C(e.cancelText), 1)
|
|
1656
1695
|
]),
|
|
1657
1696
|
_: 1
|
|
1658
1697
|
}, 16)) : g("", !0),
|
|
1659
|
-
|
|
1698
|
+
_(I.$slots, "footer")
|
|
1660
1699
|
])) : g("", !0)
|
|
1661
1700
|
]),
|
|
1662
1701
|
_: 3
|
|
1663
1702
|
}, 16, ["visible", "class", "closable", "mask", "mask-closable", "width"]));
|
|
1664
1703
|
}
|
|
1665
1704
|
});
|
|
1666
|
-
const
|
|
1667
|
-
|
|
1705
|
+
const Eo = ["info", "success", "warning", "error", "confirm"];
|
|
1706
|
+
Eo.forEach((a) => {
|
|
1668
1707
|
$e[a] = (t) => {
|
|
1669
1708
|
const e = document.createElement("div"), o = Fe($e, t), l = Ve({
|
|
1670
1709
|
render: () => o
|
|
@@ -1678,10 +1717,10 @@ No.forEach((a) => {
|
|
|
1678
1717
|
};
|
|
1679
1718
|
};
|
|
1680
1719
|
});
|
|
1681
|
-
const
|
|
1720
|
+
const Fo = {
|
|
1682
1721
|
name: "MaRateStar"
|
|
1683
|
-
},
|
|
1684
|
-
...
|
|
1722
|
+
}, Vo = /* @__PURE__ */ B({
|
|
1723
|
+
...Fo,
|
|
1685
1724
|
props: {
|
|
1686
1725
|
value: null,
|
|
1687
1726
|
starRate: null,
|
|
@@ -1695,8 +1734,8 @@ const Do = {
|
|
|
1695
1734
|
}
|
|
1696
1735
|
]), o = c(() => t.starRate - 0.5 === t.value), l = c(() => o.value ? "star-half-colored" : "star-bold");
|
|
1697
1736
|
return (i, r) => (n(), f(xe, { name: "fade" }, {
|
|
1698
|
-
default:
|
|
1699
|
-
|
|
1737
|
+
default: y(() => [
|
|
1738
|
+
k(M, {
|
|
1700
1739
|
class: E(s(e)),
|
|
1701
1740
|
name: s(l),
|
|
1702
1741
|
size: a.iconSize
|
|
@@ -1705,10 +1744,10 @@ const Do = {
|
|
|
1705
1744
|
_: 1
|
|
1706
1745
|
}));
|
|
1707
1746
|
}
|
|
1708
|
-
}),
|
|
1747
|
+
}), Go = ["tabindex"], Uo = ["onMousemove", "onMouseover"], Ro = {
|
|
1709
1748
|
name: "MaRate"
|
|
1710
|
-
},
|
|
1711
|
-
...
|
|
1749
|
+
}, Ha = /* @__PURE__ */ B({
|
|
1750
|
+
...Ro,
|
|
1712
1751
|
props: {
|
|
1713
1752
|
value: null,
|
|
1714
1753
|
allowClear: { type: Boolean },
|
|
@@ -1737,65 +1776,65 @@ const Do = {
|
|
|
1737
1776
|
}), r = c(() => e?.disabled ? -1 : e.tabIndex), u = () => {
|
|
1738
1777
|
if (!e?.disabled) {
|
|
1739
1778
|
if (e?.allowClear && o.value === e.value) {
|
|
1740
|
-
|
|
1779
|
+
I(0);
|
|
1741
1780
|
return;
|
|
1742
1781
|
}
|
|
1743
|
-
|
|
1782
|
+
I(o.value);
|
|
1744
1783
|
}
|
|
1745
|
-
}, d = (
|
|
1746
|
-
e?.disabled || (o.value =
|
|
1784
|
+
}, d = (N) => {
|
|
1785
|
+
e?.disabled || (o.value = N);
|
|
1747
1786
|
}, m = () => {
|
|
1748
1787
|
o.value = 0;
|
|
1749
|
-
},
|
|
1750
|
-
!e?.allowHalf || e.disabled || (
|
|
1751
|
-
},
|
|
1752
|
-
e?.disabled || (
|
|
1753
|
-
},
|
|
1754
|
-
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);
|
|
1755
1794
|
};
|
|
1756
|
-
return (
|
|
1795
|
+
return (N, $) => (n(), p("ul", {
|
|
1757
1796
|
class: E(s(l)),
|
|
1758
1797
|
onMouseleave: m,
|
|
1759
|
-
onKeydown:
|
|
1798
|
+
onKeydown: z,
|
|
1760
1799
|
tabindex: s(r)
|
|
1761
1800
|
}, [
|
|
1762
|
-
(n(), p(W, null, j(5, (
|
|
1801
|
+
(n(), p(W, null, j(5, (h) => b("li", {
|
|
1763
1802
|
class: "ak-rate__item",
|
|
1764
|
-
key:
|
|
1765
|
-
onMousemove: (T) =>
|
|
1766
|
-
onMouseover: (T) => d(
|
|
1767
|
-
onClick:
|
|
1803
|
+
key: h,
|
|
1804
|
+
onMousemove: (T) => x(T, h),
|
|
1805
|
+
onMouseover: (T) => d(h),
|
|
1806
|
+
onClick: $[0] || ($[0] = (T) => u())
|
|
1768
1807
|
}, [
|
|
1769
|
-
|
|
1770
|
-
"star-rate":
|
|
1808
|
+
k(Vo, {
|
|
1809
|
+
"star-rate": h,
|
|
1771
1810
|
value: o.value || e.value,
|
|
1772
1811
|
"icon-size": s(i)
|
|
1773
1812
|
}, null, 8, ["star-rate", "value", "icon-size"])
|
|
1774
|
-
], 40,
|
|
1775
|
-
], 42,
|
|
1813
|
+
], 40, Uo)), 64))
|
|
1814
|
+
], 42, Go));
|
|
1776
1815
|
}
|
|
1777
1816
|
});
|
|
1778
|
-
const
|
|
1817
|
+
const Wa = [
|
|
1779
1818
|
"small",
|
|
1780
1819
|
"medium",
|
|
1781
1820
|
"large"
|
|
1782
|
-
],
|
|
1821
|
+
], Ja = [
|
|
1783
1822
|
"orange",
|
|
1784
1823
|
"green",
|
|
1785
1824
|
"red"
|
|
1786
|
-
],
|
|
1825
|
+
], Oo = {
|
|
1787
1826
|
key: 0,
|
|
1788
1827
|
class: "ma-spin__overlay"
|
|
1789
|
-
},
|
|
1828
|
+
}, Ko = {
|
|
1790
1829
|
key: 0,
|
|
1791
1830
|
class: "custom-indicator"
|
|
1792
|
-
},
|
|
1831
|
+
}, jo = {
|
|
1793
1832
|
key: 2,
|
|
1794
1833
|
class: "tip"
|
|
1795
|
-
},
|
|
1834
|
+
}, qo = {
|
|
1796
1835
|
name: "MaSpin"
|
|
1797
|
-
}, we = /* @__PURE__ */
|
|
1798
|
-
...
|
|
1836
|
+
}, we = /* @__PURE__ */ B({
|
|
1837
|
+
...qo,
|
|
1799
1838
|
props: {
|
|
1800
1839
|
type: { default: "round" },
|
|
1801
1840
|
color: { default: "dark" },
|
|
@@ -1811,40 +1850,40 @@ const Ra = [
|
|
|
1811
1850
|
]), l = c(() => [
|
|
1812
1851
|
"ma-spin__icon"
|
|
1813
1852
|
]), i = c(() => `spin-${t.type}`);
|
|
1814
|
-
return (r, u) => (n(), p("div",
|
|
1815
|
-
t.spinning ? (n(), p("div",
|
|
1816
|
-
r.$slots.indicator ? (n(), p("div",
|
|
1817
|
-
|
|
1853
|
+
return (r, u) => (n(), p("div", S({ class: s(o) }, r.$attrs), [
|
|
1854
|
+
t.spinning ? (n(), p("div", Oo, [
|
|
1855
|
+
r.$slots.indicator ? (n(), p("div", Ko, [
|
|
1856
|
+
_(r.$slots, "indicator")
|
|
1818
1857
|
])) : g("", !0),
|
|
1819
1858
|
t.spinning && !r.$slots.indicator ? (n(), f(M, {
|
|
1820
1859
|
key: 1,
|
|
1821
1860
|
class: E(s(l)),
|
|
1822
1861
|
name: s(i)
|
|
1823
1862
|
}, null, 8, ["class", "name"])) : g("", !0),
|
|
1824
|
-
r.$slots?.tip || t?.tip ? (n(), p("div",
|
|
1825
|
-
|
|
1826
|
-
|
|
1863
|
+
r.$slots?.tip || t?.tip ? (n(), p("div", jo, [
|
|
1864
|
+
P(C(t?.tip) + " ", 1),
|
|
1865
|
+
_(r.$slots, "tip")
|
|
1827
1866
|
])) : g("", !0)
|
|
1828
1867
|
])) : g("", !0),
|
|
1829
|
-
|
|
1868
|
+
_(r.$slots, "default")
|
|
1830
1869
|
], 16));
|
|
1831
1870
|
}
|
|
1832
1871
|
});
|
|
1833
|
-
const
|
|
1872
|
+
const Ya = [
|
|
1834
1873
|
"round",
|
|
1835
1874
|
"dots",
|
|
1836
1875
|
"three-circles",
|
|
1837
1876
|
"three-dots"
|
|
1838
|
-
],
|
|
1877
|
+
], Za = [
|
|
1839
1878
|
"dark",
|
|
1840
1879
|
"jordy",
|
|
1841
1880
|
"blue",
|
|
1842
1881
|
"orange",
|
|
1843
1882
|
"grey"
|
|
1844
|
-
],
|
|
1883
|
+
], Ho = {
|
|
1845
1884
|
name: "MaDropdown"
|
|
1846
|
-
},
|
|
1847
|
-
...
|
|
1885
|
+
}, Wo = /* @__PURE__ */ B({
|
|
1886
|
+
...Ho,
|
|
1848
1887
|
props: {
|
|
1849
1888
|
destroyPopupOnHide: { type: Boolean, default: !1 },
|
|
1850
1889
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -1865,7 +1904,7 @@ const Ka = [
|
|
|
1865
1904
|
}), l = c(
|
|
1866
1905
|
() => ["ma-dropdown-overlay", e?.overlayClassName].join(" ")
|
|
1867
1906
|
);
|
|
1868
|
-
return (i, r) => (n(), f(s(
|
|
1907
|
+
return (i, r) => (n(), f(s(lt), S({
|
|
1869
1908
|
"prefix-cls": "antd-dropdown",
|
|
1870
1909
|
overlayClassName: s(l),
|
|
1871
1910
|
destroyPopupOnHide: e.destroyPopupOnHide,
|
|
@@ -1874,34 +1913,34 @@ const Ka = [
|
|
|
1874
1913
|
trigger: e.trigger
|
|
1875
1914
|
}, i.$attrs, {
|
|
1876
1915
|
visible: s(o),
|
|
1877
|
-
"onUpdate:visible": r[0] || (r[0] = (u) =>
|
|
1916
|
+
"onUpdate:visible": r[0] || (r[0] = (u) => ee(o) ? o.value = u : null)
|
|
1878
1917
|
}), {
|
|
1879
|
-
overlay:
|
|
1880
|
-
|
|
1918
|
+
overlay: y(() => [
|
|
1919
|
+
_(i.$slots, "overlay")
|
|
1881
1920
|
]),
|
|
1882
|
-
default:
|
|
1883
|
-
|
|
1921
|
+
default: y(() => [
|
|
1922
|
+
_(i.$slots, "default")
|
|
1884
1923
|
]),
|
|
1885
1924
|
_: 3
|
|
1886
1925
|
}, 16, ["overlayClassName", "destroyPopupOnHide", "disabled", "placement", "trigger", "visible"]));
|
|
1887
1926
|
}
|
|
1888
1927
|
});
|
|
1889
|
-
const
|
|
1928
|
+
const Xa = [
|
|
1890
1929
|
"bottomLeft",
|
|
1891
1930
|
"bottom",
|
|
1892
1931
|
"bottomRight",
|
|
1893
1932
|
"topLeft",
|
|
1894
1933
|
"top",
|
|
1895
1934
|
"topRight"
|
|
1896
|
-
],
|
|
1935
|
+
], Qa = [
|
|
1897
1936
|
"click",
|
|
1898
1937
|
"hover",
|
|
1899
1938
|
"contextmenu"
|
|
1900
|
-
],
|
|
1939
|
+
], el = [
|
|
1901
1940
|
"small",
|
|
1902
1941
|
"medium",
|
|
1903
1942
|
"large"
|
|
1904
|
-
],
|
|
1943
|
+
], tl = [
|
|
1905
1944
|
"general",
|
|
1906
1945
|
"add-app",
|
|
1907
1946
|
"table",
|
|
@@ -1911,10 +1950,10 @@ const qa = [
|
|
|
1911
1950
|
"add-app": "add-app",
|
|
1912
1951
|
table: "empty-table",
|
|
1913
1952
|
selection: "selection"
|
|
1914
|
-
},
|
|
1953
|
+
}, Jo = { class: "ma-empty__title" }, Yo = { class: "ma-empty__description" }, Zo = { class: "ma-empty__content" }, Xo = {
|
|
1915
1954
|
name: "MaEmpty"
|
|
1916
|
-
},
|
|
1917
|
-
...
|
|
1955
|
+
}, ol = /* @__PURE__ */ B({
|
|
1956
|
+
...Xo,
|
|
1918
1957
|
props: {
|
|
1919
1958
|
size: { default: "large" },
|
|
1920
1959
|
variant: { default: "general" },
|
|
@@ -1932,82 +1971,82 @@ const qa = [
|
|
|
1932
1971
|
return (l, i) => (n(), p("div", {
|
|
1933
1972
|
class: E(s(o))
|
|
1934
1973
|
}, [
|
|
1935
|
-
t?.animation ? (n(), f(
|
|
1974
|
+
t?.animation ? (n(), f(To, S({
|
|
1936
1975
|
key: 0,
|
|
1937
1976
|
name: a.animation
|
|
1938
|
-
}, 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, {
|
|
1939
1978
|
key: 2,
|
|
1940
1979
|
name: s(e),
|
|
1941
1980
|
class: "ma-empty__icon"
|
|
1942
1981
|
}, null, 8, ["name"])),
|
|
1943
|
-
b("span",
|
|
1944
|
-
|
|
1945
|
-
|
|
1982
|
+
b("span", Jo, [
|
|
1983
|
+
P(C(a.title) + " ", 1),
|
|
1984
|
+
_(l.$slots, "title")
|
|
1946
1985
|
]),
|
|
1947
|
-
b("span",
|
|
1948
|
-
|
|
1949
|
-
|
|
1986
|
+
b("span", Yo, [
|
|
1987
|
+
P(C(a.description) + " ", 1),
|
|
1988
|
+
_(l.$slots, "description")
|
|
1950
1989
|
]),
|
|
1951
|
-
b("div",
|
|
1952
|
-
|
|
1990
|
+
b("div", Zo, [
|
|
1991
|
+
_(l.$slots, "default")
|
|
1953
1992
|
])
|
|
1954
1993
|
], 2));
|
|
1955
1994
|
}
|
|
1956
1995
|
});
|
|
1957
|
-
const
|
|
1996
|
+
const sl = [
|
|
1958
1997
|
"button",
|
|
1959
1998
|
"box",
|
|
1960
1999
|
"small-box"
|
|
1961
|
-
],
|
|
2000
|
+
], Qo = [
|
|
1962
2001
|
"xs",
|
|
1963
2002
|
"sm",
|
|
1964
2003
|
"md",
|
|
1965
2004
|
"lg",
|
|
1966
2005
|
"xl"
|
|
1967
2006
|
];
|
|
1968
|
-
var
|
|
2007
|
+
var te = /* @__PURE__ */ ((a) => (a.error = "error", a.done = "done", a.uploading = "uploading", a))(te || {});
|
|
1969
2008
|
const me = (a) => {
|
|
1970
2009
|
try {
|
|
1971
2010
|
return JSON.parse(a);
|
|
1972
2011
|
} catch {
|
|
1973
2012
|
return a;
|
|
1974
2013
|
}
|
|
1975
|
-
},
|
|
2014
|
+
}, es = (a = 20) => {
|
|
1976
2015
|
let t = "";
|
|
1977
2016
|
for (let e = 0; e < a; e++)
|
|
1978
2017
|
t += Math.random().toString(36).substr(2);
|
|
1979
2018
|
return t.substr(0, a);
|
|
1980
|
-
},
|
|
2019
|
+
}, ts = (a, t = {}, e = {}, o) => {
|
|
1981
2020
|
const l = D(0);
|
|
1982
2021
|
return { progress: l, upload: async (r, u) => {
|
|
1983
2022
|
const d = new FormData();
|
|
1984
|
-
d.append(o, r.file), Object.entries(e).forEach(([
|
|
1985
|
-
d.append(
|
|
2023
|
+
d.append(o, r.file), Object.entries(e).forEach(([x, z]) => {
|
|
2024
|
+
d.append(x, z);
|
|
1986
2025
|
});
|
|
1987
2026
|
const m = new XMLHttpRequest();
|
|
1988
|
-
m.open("POST", a), Object.entries(t).forEach(([
|
|
1989
|
-
m.setRequestHeader(
|
|
1990
|
-
}), m.upload.onprogress = (
|
|
1991
|
-
|
|
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));
|
|
1992
2031
|
}, m.onload = () => {
|
|
1993
2032
|
m.status >= 200 && m.status < 300 ? u(
|
|
1994
|
-
|
|
2033
|
+
te.done,
|
|
1995
2034
|
l.value,
|
|
1996
2035
|
me(m.responseText)
|
|
1997
2036
|
) : u(
|
|
1998
|
-
|
|
2037
|
+
te.error,
|
|
1999
2038
|
l.value,
|
|
2000
2039
|
me(m.responseText)
|
|
2001
2040
|
);
|
|
2002
2041
|
}, m.onerror = () => {
|
|
2003
2042
|
u(
|
|
2004
|
-
|
|
2043
|
+
te.error,
|
|
2005
2044
|
l.value,
|
|
2006
2045
|
me(m.responseText)
|
|
2007
2046
|
);
|
|
2008
2047
|
}, m.send(d), r.cancelRequest = () => m.abort();
|
|
2009
2048
|
} };
|
|
2010
|
-
},
|
|
2049
|
+
}, os = (a, t) => {
|
|
2011
2050
|
if (!t)
|
|
2012
2051
|
return !0;
|
|
2013
2052
|
const e = t.split(",").map((i) => i.trim()), o = a.type, l = a.name.split(".").pop()?.toLowerCase();
|
|
@@ -2025,10 +2064,10 @@ const me = (a) => {
|
|
|
2025
2064
|
return !0;
|
|
2026
2065
|
}
|
|
2027
2066
|
return !1;
|
|
2028
|
-
},
|
|
2067
|
+
}, ss = { class: "single-file" }, ns = { class: "icon-wrapper" }, as = { class: "single-file__detail" }, ls = { class: "file-name" }, is = {
|
|
2029
2068
|
key: 0,
|
|
2030
2069
|
class: "file-size"
|
|
2031
|
-
},
|
|
2070
|
+
}, rs = { class: "file-progress" }, cs = { class: "single-file__actions" }, ps = /* @__PURE__ */ B({
|
|
2032
2071
|
__name: "singleFile",
|
|
2033
2072
|
props: {
|
|
2034
2073
|
file: null,
|
|
@@ -2040,22 +2079,22 @@ const me = (a) => {
|
|
|
2040
2079
|
const e = a, o = c(
|
|
2041
2080
|
() => `${(e.file.file.size / (1024 * 1024)).toFixed(1)} MB`
|
|
2042
2081
|
), l = c(() => typeof e.file.file.size == "number"), i = () => t("remove"), r = () => t("cancel");
|
|
2043
|
-
return (u, d) => (n(), p("div",
|
|
2044
|
-
b("div",
|
|
2045
|
-
|
|
2082
|
+
return (u, d) => (n(), p("div", ss, [
|
|
2083
|
+
b("div", ns, [
|
|
2084
|
+
k(M, { name: "document-bulk" })
|
|
2046
2085
|
]),
|
|
2047
|
-
b("div",
|
|
2048
|
-
b("span",
|
|
2049
|
-
s(l) ? (n(), p("span",
|
|
2050
|
-
b("span",
|
|
2086
|
+
b("div", as, [
|
|
2087
|
+
b("span", ls, C(a.file.file.name), 1),
|
|
2088
|
+
s(l) ? (n(), p("span", is, C(s(o)), 1)) : g("", !0),
|
|
2089
|
+
b("span", rs, [
|
|
2051
2090
|
b("span", {
|
|
2052
2091
|
class: "progress-item",
|
|
2053
2092
|
style: Z({ width: `${a.file.progress}%` })
|
|
2054
2093
|
}, null, 4)
|
|
2055
2094
|
])
|
|
2056
2095
|
]),
|
|
2057
|
-
b("div",
|
|
2058
|
-
a.file.status === s(
|
|
2096
|
+
b("div", cs, [
|
|
2097
|
+
a.file.status === s(te).uploading ? (n(), f(oe, {
|
|
2059
2098
|
key: 0,
|
|
2060
2099
|
disabled: a.disabled,
|
|
2061
2100
|
onClick: d[0] || (d[0] = (m) => r()),
|
|
@@ -2076,16 +2115,16 @@ const me = (a) => {
|
|
|
2076
2115
|
])
|
|
2077
2116
|
]));
|
|
2078
2117
|
}
|
|
2079
|
-
}),
|
|
2118
|
+
}), us = ["onDrop"], ds = ["accept", "multiple", "disabled"], ms = { class: "text" }, gs = /* @__PURE__ */ b("span", null, "Uploading file...", -1), vs = { class: "upload-icon" }, fs = {
|
|
2080
2119
|
key: 0,
|
|
2081
2120
|
class: "upload-title"
|
|
2082
|
-
},
|
|
2121
|
+
}, _s = {
|
|
2083
2122
|
key: 1,
|
|
2084
2123
|
class: "upload-description"
|
|
2085
|
-
},
|
|
2124
|
+
}, ys = {
|
|
2086
2125
|
name: "MaUpload"
|
|
2087
|
-
},
|
|
2088
|
-
...
|
|
2126
|
+
}, nl = /* @__PURE__ */ B({
|
|
2127
|
+
...ys,
|
|
2089
2128
|
props: {
|
|
2090
2129
|
fileList: null,
|
|
2091
2130
|
type: { default: "box" },
|
|
@@ -2114,37 +2153,37 @@ const me = (a) => {
|
|
|
2114
2153
|
},
|
|
2115
2154
|
set(w) {
|
|
2116
2155
|
t("update:fileList", w), t("change", w), e?.action && w.forEach(async (L, O) => {
|
|
2117
|
-
if ([
|
|
2156
|
+
if ([te.done, te.error].includes(
|
|
2118
2157
|
L.status
|
|
2119
2158
|
))
|
|
2120
2159
|
return;
|
|
2121
|
-
const { upload: ne } =
|
|
2160
|
+
const { upload: ne } = ts(
|
|
2122
2161
|
e?.action || "",
|
|
2123
2162
|
// || added for tsc warning
|
|
2124
2163
|
e.headers,
|
|
2125
2164
|
e.data,
|
|
2126
2165
|
e.name
|
|
2127
2166
|
);
|
|
2128
|
-
e?.beforeUpload && (L.file = await e.beforeUpload(L.file)), ne(L, (re,
|
|
2167
|
+
e?.beforeUpload && (L.file = await e.beforeUpload(L.file)), ne(L, (re, Pe, he) => {
|
|
2129
2168
|
if (m.value[O]) {
|
|
2130
|
-
if (re ===
|
|
2169
|
+
if (re === te.error) {
|
|
2131
2170
|
t("error", { file: L.file, message: he }), F(
|
|
2132
2171
|
m.value.findIndex((De) => De.id === L.id)
|
|
2133
2172
|
);
|
|
2134
2173
|
return;
|
|
2135
2174
|
}
|
|
2136
|
-
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]);
|
|
2137
2176
|
}
|
|
2138
2177
|
});
|
|
2139
2178
|
});
|
|
2140
2179
|
}
|
|
2141
|
-
}),
|
|
2180
|
+
}), x = c(
|
|
2142
2181
|
() => m.value.map((w) => w.file.name).join(", ")
|
|
2143
|
-
), B = c(
|
|
2144
|
-
() => e.type === "box" ? e.multiple ? !0 : !m.value.length : !0
|
|
2145
2182
|
), z = c(
|
|
2183
|
+
() => e.type === "box" ? e.multiple ? !0 : !m.value.length : !0
|
|
2184
|
+
), I = c(
|
|
2146
2185
|
() => e.ordered && T.value ? !1 : m.value.length ? e.showFileList : !1
|
|
2147
|
-
),
|
|
2186
|
+
), N = c(() => [
|
|
2148
2187
|
`ma-upload ma-upload--${e.type} ma-upload--${e.type}--${e.size}`,
|
|
2149
2188
|
{
|
|
2150
2189
|
"ma-upload--active": i.value
|
|
@@ -2152,16 +2191,16 @@ const me = (a) => {
|
|
|
2152
2191
|
{
|
|
2153
2192
|
"ma-upload--disabled": R.value
|
|
2154
2193
|
}
|
|
2155
|
-
]),
|
|
2194
|
+
]), $ = c(() => [
|
|
2156
2195
|
"ma-file-list",
|
|
2157
2196
|
{
|
|
2158
|
-
"only-file-list": !
|
|
2197
|
+
"only-file-list": !z.value
|
|
2159
2198
|
}
|
|
2160
|
-
]),
|
|
2161
|
-
const w = e?.size ?
|
|
2199
|
+
]), h = c(() => {
|
|
2200
|
+
const w = e?.size ? Qo.indexOf(e.size) : 0;
|
|
2162
2201
|
return vt[w];
|
|
2163
2202
|
}), T = c(
|
|
2164
|
-
() => e.wait || m.value.some((w) => w.status ===
|
|
2203
|
+
() => e.wait || m.value.some((w) => w.status === te.uploading)
|
|
2165
2204
|
), R = c(() => e?.disabled || T.value), G = (w) => Array.from(w).find(
|
|
2166
2205
|
(L) => e?.maxFileSize && L.size > e.maxFileSize
|
|
2167
2206
|
), q = (w) => {
|
|
@@ -2177,7 +2216,7 @@ const me = (a) => {
|
|
|
2177
2216
|
i.value = !1;
|
|
2178
2217
|
}, ce = (w) => {
|
|
2179
2218
|
R.value || w.dataTransfer?.files && A(
|
|
2180
|
-
Array.from(w.dataTransfer.files).filter((L) => e?.accept && !
|
|
2219
|
+
Array.from(w.dataTransfer.files).filter((L) => e?.accept && !os(L, e.accept) ? (t("error", { file: L, message: "file type does not match!" }), !1) : !0)
|
|
2181
2220
|
);
|
|
2182
2221
|
}, A = (w) => {
|
|
2183
2222
|
const L = G(w);
|
|
@@ -2189,8 +2228,8 @@ const me = (a) => {
|
|
|
2189
2228
|
(ne, re) => e?.maxCount ? re + 1 <= e.maxCount : !0
|
|
2190
2229
|
).map((ne) => ({
|
|
2191
2230
|
file: ne,
|
|
2192
|
-
id:
|
|
2193
|
-
status: e?.action ?
|
|
2231
|
+
id: es(),
|
|
2232
|
+
status: e?.action ? te.uploading : te.done,
|
|
2194
2233
|
progress: e?.action ? 0 : 100,
|
|
2195
2234
|
response: null
|
|
2196
2235
|
}));
|
|
@@ -2203,7 +2242,7 @@ const me = (a) => {
|
|
|
2203
2242
|
}, H = (w) => {
|
|
2204
2243
|
w.stopPropagation(), m.value.forEach((L, O) => K(O)), m.value = [];
|
|
2205
2244
|
};
|
|
2206
|
-
return
|
|
2245
|
+
return de(() => {
|
|
2207
2246
|
r.forEach((w) => {
|
|
2208
2247
|
o.value?.addEventListener(w, V);
|
|
2209
2248
|
}), u.forEach((w) => {
|
|
@@ -2211,7 +2250,7 @@ const me = (a) => {
|
|
|
2211
2250
|
}), d.forEach((w) => {
|
|
2212
2251
|
o.value?.addEventListener(w, Y);
|
|
2213
2252
|
});
|
|
2214
|
-
}),
|
|
2253
|
+
}), Ie(() => {
|
|
2215
2254
|
r.forEach((w) => {
|
|
2216
2255
|
o.value?.removeEventListener(w, V);
|
|
2217
2256
|
}), u.forEach((w) => {
|
|
@@ -2219,12 +2258,12 @@ const me = (a) => {
|
|
|
2219
2258
|
}), d.forEach((w) => {
|
|
2220
2259
|
o.value?.removeEventListener(w, Y);
|
|
2221
2260
|
});
|
|
2222
|
-
}), (w, L) => (n(), p("div",
|
|
2261
|
+
}), (w, L) => (n(), p("div", S({ class: "ma-upload-wrapper" }, w.$attrs), [
|
|
2223
2262
|
X(b("div", {
|
|
2224
2263
|
ref_key: "uploadArea",
|
|
2225
2264
|
ref: o,
|
|
2226
|
-
class: E(s(
|
|
2227
|
-
onDrop:
|
|
2265
|
+
class: E(s(N)),
|
|
2266
|
+
onDrop: Te(ce, ["prevent"])
|
|
2228
2267
|
}, [
|
|
2229
2268
|
(n(), p("input", {
|
|
2230
2269
|
type: "file",
|
|
@@ -2235,19 +2274,19 @@ const me = (a) => {
|
|
|
2235
2274
|
key: s(m).length,
|
|
2236
2275
|
ref_key: "fileInput",
|
|
2237
2276
|
ref: l
|
|
2238
|
-
}, null, 40,
|
|
2277
|
+
}, null, 40, ds)),
|
|
2239
2278
|
e.type === "button" ? (n(), f(oe, {
|
|
2240
2279
|
key: 0,
|
|
2241
2280
|
type: a.fileList.length ? "primary" : "secondary",
|
|
2242
2281
|
variant: "dark",
|
|
2243
2282
|
icon: "export-2",
|
|
2244
2283
|
onClick: v,
|
|
2245
|
-
size: s(
|
|
2284
|
+
size: s(h),
|
|
2246
2285
|
disabled: s(R),
|
|
2247
2286
|
loading: s(T)
|
|
2248
2287
|
}, {
|
|
2249
|
-
default:
|
|
2250
|
-
|
|
2288
|
+
default: y(() => [
|
|
2289
|
+
P(C(a.fileList.length ? s(x) : e?.title), 1)
|
|
2251
2290
|
]),
|
|
2252
2291
|
_: 1
|
|
2253
2292
|
}, 8, ["type", "size", "disabled", "loading"])) : e.type === "small-box" ? (n(), p("div", {
|
|
@@ -2263,12 +2302,12 @@ const me = (a) => {
|
|
|
2263
2302
|
key: 1,
|
|
2264
2303
|
name: "export-2-bulk"
|
|
2265
2304
|
})),
|
|
2266
|
-
b("span",
|
|
2305
|
+
b("span", ms, [
|
|
2267
2306
|
s(T) ? (n(), p(W, { key: 0 }, [
|
|
2268
|
-
|
|
2307
|
+
P(" Uploading... ")
|
|
2269
2308
|
], 64)) : (n(), p(W, { key: 1 }, [
|
|
2270
|
-
|
|
2271
|
-
|
|
2309
|
+
P(C(e?.title) + " ", 1),
|
|
2310
|
+
_(w.$slots, "small-box-title")
|
|
2272
2311
|
], 64))
|
|
2273
2312
|
])
|
|
2274
2313
|
])) : (n(), p("div", {
|
|
@@ -2277,44 +2316,44 @@ const me = (a) => {
|
|
|
2277
2316
|
onClick: v
|
|
2278
2317
|
}, [
|
|
2279
2318
|
e.ordered && s(T) ? (n(), p(W, { key: 0 }, [
|
|
2280
|
-
|
|
2319
|
+
k(we, {
|
|
2281
2320
|
type: "three-circles",
|
|
2282
2321
|
color: "blue"
|
|
2283
2322
|
}),
|
|
2284
|
-
|
|
2285
|
-
|
|
2323
|
+
gs,
|
|
2324
|
+
k(oe, {
|
|
2286
2325
|
onClick: H,
|
|
2287
2326
|
class: "box-cancel",
|
|
2288
2327
|
type: "secondary",
|
|
2289
2328
|
size: "small"
|
|
2290
2329
|
}, {
|
|
2291
|
-
default:
|
|
2292
|
-
|
|
2330
|
+
default: y(() => [
|
|
2331
|
+
P(" Cancel ")
|
|
2293
2332
|
]),
|
|
2294
2333
|
_: 1
|
|
2295
2334
|
})
|
|
2296
2335
|
], 64)) : (n(), p(W, { key: 1 }, [
|
|
2297
|
-
b("div",
|
|
2298
|
-
|
|
2336
|
+
b("div", vs, [
|
|
2337
|
+
k(M, { name: "upload-bulk" })
|
|
2299
2338
|
]),
|
|
2300
|
-
e?.title ? (n(), p("span",
|
|
2301
|
-
|
|
2302
|
-
|
|
2339
|
+
e?.title ? (n(), p("span", fs, [
|
|
2340
|
+
P(C(e?.title) + " ", 1),
|
|
2341
|
+
_(w.$slots, "box-title")
|
|
2303
2342
|
])) : g("", !0),
|
|
2304
|
-
e?.description ? (n(), p("span",
|
|
2305
|
-
|
|
2306
|
-
|
|
2343
|
+
e?.description ? (n(), p("span", _s, [
|
|
2344
|
+
P(C(e?.description) + " ", 1),
|
|
2345
|
+
_(w.$slots, "box-description")
|
|
2307
2346
|
])) : g("", !0)
|
|
2308
2347
|
], 64))
|
|
2309
2348
|
]))
|
|
2310
|
-
], 42,
|
|
2311
|
-
[Q, s(
|
|
2349
|
+
], 42, us), [
|
|
2350
|
+
[Q, s(z)]
|
|
2312
2351
|
]),
|
|
2313
|
-
s(
|
|
2352
|
+
s(I) ? (n(), p("div", {
|
|
2314
2353
|
key: 0,
|
|
2315
|
-
class: E(s(
|
|
2354
|
+
class: E(s($))
|
|
2316
2355
|
}, [
|
|
2317
|
-
(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(ps, {
|
|
2318
2357
|
onRemove: (re) => F(ne),
|
|
2319
2358
|
onCancel: (re) => K(ne),
|
|
2320
2359
|
file: O,
|
|
@@ -2325,10 +2364,10 @@ const me = (a) => {
|
|
|
2325
2364
|
], 16));
|
|
2326
2365
|
}
|
|
2327
2366
|
});
|
|
2328
|
-
const
|
|
2367
|
+
const hs = {
|
|
2329
2368
|
name: "MaSideMenuButton"
|
|
2330
|
-
},
|
|
2331
|
-
...
|
|
2369
|
+
}, al = /* @__PURE__ */ B({
|
|
2370
|
+
...hs,
|
|
2332
2371
|
props: {
|
|
2333
2372
|
icon: { default: "app" },
|
|
2334
2373
|
activeIcon: null,
|
|
@@ -2342,7 +2381,7 @@ const vs = {
|
|
|
2342
2381
|
"ma-side-menu-button",
|
|
2343
2382
|
{ active: t?.active }
|
|
2344
2383
|
]), r = c(() => e.value || t.active), u = () => e.value = !0, d = () => e.value = !1;
|
|
2345
|
-
return (m,
|
|
2384
|
+
return (m, x) => (n(), f(ae(s(o)), S({
|
|
2346
2385
|
onMousedown: u,
|
|
2347
2386
|
onMouseup: d,
|
|
2348
2387
|
role: "button",
|
|
@@ -2350,15 +2389,15 @@ const vs = {
|
|
|
2350
2389
|
class: s(i),
|
|
2351
2390
|
href: t?.href
|
|
2352
2391
|
}, m.$attrs), {
|
|
2353
|
-
default:
|
|
2392
|
+
default: y(() => [
|
|
2354
2393
|
t?.icon ? (n(), p(W, { key: 0 }, [
|
|
2355
|
-
X(
|
|
2394
|
+
X(k(M, {
|
|
2356
2395
|
size: "md",
|
|
2357
2396
|
name: s(l)
|
|
2358
2397
|
}, null, 8, ["name"]), [
|
|
2359
2398
|
[Q, s(r)]
|
|
2360
2399
|
]),
|
|
2361
|
-
X(
|
|
2400
|
+
X(k(M, {
|
|
2362
2401
|
size: "md",
|
|
2363
2402
|
name: t.icon
|
|
2364
2403
|
}, null, 8, ["name"]), [
|
|
@@ -2366,21 +2405,21 @@ const vs = {
|
|
|
2366
2405
|
])
|
|
2367
2406
|
], 64)) : g("", !0),
|
|
2368
2407
|
b("span", null, [
|
|
2369
|
-
|
|
2370
|
-
|
|
2408
|
+
P(C(t?.text) + " ", 1),
|
|
2409
|
+
_(m.$slots, "default")
|
|
2371
2410
|
])
|
|
2372
2411
|
]),
|
|
2373
2412
|
_: 3
|
|
2374
2413
|
}, 16, ["target", "class", "href"]));
|
|
2375
2414
|
}
|
|
2376
2415
|
});
|
|
2377
|
-
const
|
|
2416
|
+
const bs = {
|
|
2378
2417
|
key: 0,
|
|
2379
2418
|
class: "ma-side-menu-item-icon"
|
|
2380
|
-
},
|
|
2419
|
+
}, ks = {
|
|
2381
2420
|
name: "MaSideMenuItem"
|
|
2382
|
-
},
|
|
2383
|
-
...
|
|
2421
|
+
}, ll = /* @__PURE__ */ B({
|
|
2422
|
+
...ks,
|
|
2384
2423
|
props: {
|
|
2385
2424
|
href: null,
|
|
2386
2425
|
target: null,
|
|
@@ -2405,38 +2444,38 @@ const fs = {
|
|
|
2405
2444
|
]), l = c(
|
|
2406
2445
|
() => t?.activeIcon ? t.activeIcon : t.icon ? t.icon.replace("bulk", "bold") : null
|
|
2407
2446
|
);
|
|
2408
|
-
return (i, r) => (n(), f(ae(s(e)),
|
|
2447
|
+
return (i, r) => (n(), f(ae(s(e)), S({
|
|
2409
2448
|
role: "button",
|
|
2410
2449
|
target: t?.target,
|
|
2411
2450
|
class: s(o),
|
|
2412
2451
|
href: t?.href
|
|
2413
2452
|
}, i.$attrs), {
|
|
2414
|
-
default:
|
|
2453
|
+
default: y(() => [
|
|
2415
2454
|
b("span", null, [
|
|
2416
|
-
t?.icon ? (n(), p("div",
|
|
2417
|
-
X(
|
|
2455
|
+
t?.icon ? (n(), p("div", bs, [
|
|
2456
|
+
X(k(M, {
|
|
2418
2457
|
size: "xs",
|
|
2419
2458
|
name: s(l)
|
|
2420
2459
|
}, null, 8, ["name"]), [
|
|
2421
2460
|
[Q, t.active]
|
|
2422
2461
|
]),
|
|
2423
|
-
X(
|
|
2462
|
+
X(k(M, {
|
|
2424
2463
|
size: "xs",
|
|
2425
2464
|
name: t.icon
|
|
2426
2465
|
}, null, 8, ["name"]), [
|
|
2427
2466
|
[Q, !t.active]
|
|
2428
2467
|
])
|
|
2429
2468
|
])) : g("", !0),
|
|
2430
|
-
|
|
2431
|
-
|
|
2469
|
+
P(" " + C(t?.text) + " ", 1),
|
|
2470
|
+
_(i.$slots, "default")
|
|
2432
2471
|
]),
|
|
2433
2472
|
t.badgeText ? (n(), f(_e, {
|
|
2434
2473
|
key: 0,
|
|
2435
2474
|
size: "small",
|
|
2436
2475
|
variant: t.badgeColor
|
|
2437
2476
|
}, {
|
|
2438
|
-
default:
|
|
2439
|
-
|
|
2477
|
+
default: y(() => [
|
|
2478
|
+
P(C(a.badgeText), 1)
|
|
2440
2479
|
]),
|
|
2441
2480
|
_: 1
|
|
2442
2481
|
}, 8, ["variant"])) : g("", !0)
|
|
@@ -2445,7 +2484,7 @@ const fs = {
|
|
|
2445
2484
|
}, 16, ["target", "class", "href"]));
|
|
2446
2485
|
}
|
|
2447
2486
|
});
|
|
2448
|
-
const
|
|
2487
|
+
const il = [
|
|
2449
2488
|
"dark",
|
|
2450
2489
|
"blue",
|
|
2451
2490
|
"jordy-blue",
|
|
@@ -2454,11 +2493,11 @@ const tl = [
|
|
|
2454
2493
|
"red",
|
|
2455
2494
|
"purple",
|
|
2456
2495
|
"purple-light"
|
|
2457
|
-
],
|
|
2496
|
+
], $s = {
|
|
2458
2497
|
name: "MaSideMenuIconButton",
|
|
2459
2498
|
inheritAttrs: !1
|
|
2460
|
-
},
|
|
2461
|
-
|
|
2499
|
+
}, rl = /* @__PURE__ */ B({
|
|
2500
|
+
...$s,
|
|
2462
2501
|
props: {
|
|
2463
2502
|
icon: null,
|
|
2464
2503
|
activeIcon: null,
|
|
@@ -2472,15 +2511,15 @@ const tl = [
|
|
|
2472
2511
|
"ma-side-menu-icon-button",
|
|
2473
2512
|
{ active: t?.active }
|
|
2474
2513
|
]), u = () => e.value = !0, d = () => e.value = !1;
|
|
2475
|
-
return (m,
|
|
2514
|
+
return (m, x) => t?.tooltipText ? (n(), f(ue, {
|
|
2476
2515
|
key: 0,
|
|
2477
2516
|
overlayClassName: "ma-icon-button-tooltip",
|
|
2478
2517
|
title: t?.tooltipText,
|
|
2479
2518
|
type: "primary",
|
|
2480
2519
|
placement: "bottomLeft"
|
|
2481
2520
|
}, {
|
|
2482
|
-
default:
|
|
2483
|
-
(n(), f(ae(s(o)),
|
|
2521
|
+
default: y(() => [
|
|
2522
|
+
(n(), f(ae(s(o)), S({
|
|
2484
2523
|
onMousedown: u,
|
|
2485
2524
|
onMouseup: d,
|
|
2486
2525
|
class: s(r),
|
|
@@ -2488,26 +2527,26 @@ const tl = [
|
|
|
2488
2527
|
target: t?.target,
|
|
2489
2528
|
role: "button"
|
|
2490
2529
|
}, m.$attrs), {
|
|
2491
|
-
default:
|
|
2492
|
-
X(
|
|
2530
|
+
default: y(() => [
|
|
2531
|
+
X(k(M, {
|
|
2493
2532
|
size: "xs",
|
|
2494
2533
|
name: s(i)
|
|
2495
2534
|
}, null, 8, ["name"]), [
|
|
2496
2535
|
[Q, s(l)]
|
|
2497
2536
|
]),
|
|
2498
|
-
X(
|
|
2537
|
+
X(k(M, {
|
|
2499
2538
|
size: "xs",
|
|
2500
2539
|
name: t.icon
|
|
2501
2540
|
}, null, 8, ["name"]), [
|
|
2502
2541
|
[Q, !s(l)]
|
|
2503
2542
|
]),
|
|
2504
|
-
|
|
2543
|
+
_(m.$slots, "default")
|
|
2505
2544
|
]),
|
|
2506
2545
|
_: 3
|
|
2507
2546
|
}, 16, ["class", "href", "target"]))
|
|
2508
2547
|
]),
|
|
2509
2548
|
_: 3
|
|
2510
|
-
}, 8, ["title"])) : (n(), f(ae(s(o)),
|
|
2549
|
+
}, 8, ["title"])) : (n(), f(ae(s(o)), S({
|
|
2511
2550
|
key: 1,
|
|
2512
2551
|
onMousedown: u,
|
|
2513
2552
|
onMouseup: d,
|
|
@@ -2516,52 +2555,52 @@ const tl = [
|
|
|
2516
2555
|
target: t?.target,
|
|
2517
2556
|
role: "button"
|
|
2518
2557
|
}, m.$attrs), {
|
|
2519
|
-
default:
|
|
2520
|
-
X(
|
|
2558
|
+
default: y(() => [
|
|
2559
|
+
X(k(M, {
|
|
2521
2560
|
size: "xs",
|
|
2522
2561
|
name: s(i)
|
|
2523
2562
|
}, null, 8, ["name"]), [
|
|
2524
2563
|
[Q, s(l)]
|
|
2525
2564
|
]),
|
|
2526
|
-
X(
|
|
2565
|
+
X(k(M, {
|
|
2527
2566
|
size: "xs",
|
|
2528
2567
|
name: t.icon
|
|
2529
2568
|
}, null, 8, ["name"]), [
|
|
2530
2569
|
[Q, !s(l)]
|
|
2531
2570
|
]),
|
|
2532
|
-
|
|
2571
|
+
_(m.$slots, "default")
|
|
2533
2572
|
]),
|
|
2534
2573
|
_: 3
|
|
2535
2574
|
}, 16, ["class", "href", "target"]));
|
|
2536
2575
|
}
|
|
2537
2576
|
});
|
|
2538
|
-
const
|
|
2577
|
+
const ws = {
|
|
2539
2578
|
name: "MaSideMenuRoundIconButton",
|
|
2540
2579
|
inheritAttrs: !1
|
|
2541
|
-
},
|
|
2542
|
-
...
|
|
2580
|
+
}, cl = /* @__PURE__ */ B({
|
|
2581
|
+
...ws,
|
|
2543
2582
|
props: {
|
|
2544
2583
|
icon: null
|
|
2545
2584
|
},
|
|
2546
2585
|
setup(a) {
|
|
2547
2586
|
const t = a;
|
|
2548
|
-
return (e, o) => (n(), p("button",
|
|
2587
|
+
return (e, o) => (n(), p("button", S({
|
|
2549
2588
|
class: "ma-side-menu-round-icon-button",
|
|
2550
2589
|
role: "button"
|
|
2551
2590
|
}, e.$attrs), [
|
|
2552
|
-
|
|
2591
|
+
k(M, {
|
|
2553
2592
|
size: "xs",
|
|
2554
2593
|
name: t.icon
|
|
2555
2594
|
}, null, 8, ["name"]),
|
|
2556
|
-
|
|
2595
|
+
_(e.$slots, "default")
|
|
2557
2596
|
], 16));
|
|
2558
2597
|
}
|
|
2559
2598
|
});
|
|
2560
|
-
const
|
|
2599
|
+
const Cs = ["src", "alt"], Ms = {
|
|
2561
2600
|
name: "MaSideMenuAppButton",
|
|
2562
2601
|
inheritAttrs: !1
|
|
2563
|
-
},
|
|
2564
|
-
...
|
|
2602
|
+
}, pl = /* @__PURE__ */ B({
|
|
2603
|
+
...Ms,
|
|
2565
2604
|
props: {
|
|
2566
2605
|
appImage: null,
|
|
2567
2606
|
appName: null,
|
|
@@ -2572,32 +2611,32 @@ const bs = ["src", "alt"], ks = {
|
|
|
2572
2611
|
"ma-side-menu-app-icon-button",
|
|
2573
2612
|
{ active: t?.active }
|
|
2574
2613
|
]);
|
|
2575
|
-
return (o, l) => (n(), f(
|
|
2614
|
+
return (o, l) => (n(), f(ue, {
|
|
2576
2615
|
overlayClassName: "ma-app-button-tooltip",
|
|
2577
2616
|
title: a.appName,
|
|
2578
2617
|
type: "primary",
|
|
2579
2618
|
placement: "topLeft"
|
|
2580
2619
|
}, {
|
|
2581
|
-
default:
|
|
2582
|
-
b("button",
|
|
2620
|
+
default: y(() => [
|
|
2621
|
+
b("button", S({
|
|
2583
2622
|
class: s(e),
|
|
2584
2623
|
role: "button"
|
|
2585
2624
|
}, o.$attrs), [
|
|
2586
2625
|
b("img", {
|
|
2587
2626
|
src: a.appImage,
|
|
2588
2627
|
alt: a.appName
|
|
2589
|
-
}, null, 8,
|
|
2590
|
-
|
|
2628
|
+
}, null, 8, Cs),
|
|
2629
|
+
_(o.$slots, "default")
|
|
2591
2630
|
], 16)
|
|
2592
2631
|
]),
|
|
2593
2632
|
_: 3
|
|
2594
2633
|
}, 8, ["title"]));
|
|
2595
2634
|
}
|
|
2596
2635
|
});
|
|
2597
|
-
const
|
|
2636
|
+
const Bs = {
|
|
2598
2637
|
name: "MaSideMenuAddNewAppButton"
|
|
2599
|
-
},
|
|
2600
|
-
|
|
2638
|
+
}, ul = /* @__PURE__ */ B({
|
|
2639
|
+
...Bs,
|
|
2601
2640
|
props: {
|
|
2602
2641
|
href: null,
|
|
2603
2642
|
target: null,
|
|
@@ -2606,24 +2645,24 @@ const $s = {
|
|
|
2606
2645
|
},
|
|
2607
2646
|
setup(a) {
|
|
2608
2647
|
const t = a;
|
|
2609
|
-
return (e, o) => (n(), f(oe,
|
|
2648
|
+
return (e, o) => (n(), f(oe, S(e.$attrs, {
|
|
2610
2649
|
target: t?.target,
|
|
2611
2650
|
href: t?.href,
|
|
2612
2651
|
disabled: t?.disabled,
|
|
2613
2652
|
class: "ma-add-new-app-button"
|
|
2614
2653
|
}), {
|
|
2615
|
-
default:
|
|
2616
|
-
|
|
2617
|
-
|
|
2654
|
+
default: y(() => [
|
|
2655
|
+
P(C(t?.text) + " ", 1),
|
|
2656
|
+
_(e.$slots, "default")
|
|
2618
2657
|
]),
|
|
2619
2658
|
_: 3
|
|
2620
2659
|
}, 16, ["target", "href", "disabled"]));
|
|
2621
2660
|
}
|
|
2622
2661
|
});
|
|
2623
|
-
const
|
|
2662
|
+
const xs = { class: "ma-progress-circle" }, zs = ["viewBox"], Ss = ["d", "stroke-width"], Is = ["d", "stroke-dasharray", "stroke-dashoffset", "stroke-width"], Ts = { key: 1 }, As = {
|
|
2624
2663
|
key: 0,
|
|
2625
2664
|
class: "label"
|
|
2626
|
-
},
|
|
2665
|
+
}, Ns = { class: "percent" }, Ps = /* @__PURE__ */ B({
|
|
2627
2666
|
__name: "circle",
|
|
2628
2667
|
props: {
|
|
2629
2668
|
percent: null,
|
|
@@ -2669,7 +2708,7 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2669
2708
|
}, o = c(() => e[t.size]), l = c(
|
|
2670
2709
|
() => o.value.strokeDashArray * (100 - t.percent) / 100
|
|
2671
2710
|
);
|
|
2672
|
-
return (i, r) => (n(), p("div",
|
|
2711
|
+
return (i, r) => (n(), p("div", xs, [
|
|
2673
2712
|
(n(), p("svg", {
|
|
2674
2713
|
class: "circle",
|
|
2675
2714
|
viewBox: s(o).viewBox,
|
|
@@ -2682,7 +2721,7 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2682
2721
|
"stroke-linejoin": "round",
|
|
2683
2722
|
"stroke-width": s(o).strokeWidth,
|
|
2684
2723
|
class: "wrapper"
|
|
2685
|
-
}, null, 8,
|
|
2724
|
+
}, null, 8, Ss),
|
|
2686
2725
|
t.percent > 0 ? (n(), p("path", {
|
|
2687
2726
|
key: 0,
|
|
2688
2727
|
d: s(o).path,
|
|
@@ -2692,21 +2731,21 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2692
2731
|
"stroke-dashoffset": s(l),
|
|
2693
2732
|
"stroke-width": s(o).strokeWidth,
|
|
2694
2733
|
class: "percent"
|
|
2695
|
-
}, null, 8,
|
|
2696
|
-
], 8,
|
|
2734
|
+
}, null, 8, Is)) : g("", !0)
|
|
2735
|
+
], 8, zs)),
|
|
2697
2736
|
t?.icon ? (n(), f(M, {
|
|
2698
2737
|
key: 0,
|
|
2699
2738
|
name: t.icon
|
|
2700
|
-
}, null, 8, ["name"])) : (n(), p("label",
|
|
2701
|
-
t?.label || i.$slots.customLabel ? (n(), p("span",
|
|
2702
|
-
|
|
2703
|
-
|
|
2739
|
+
}, null, 8, ["name"])) : (n(), p("label", Ts, [
|
|
2740
|
+
t?.label || i.$slots.customLabel ? (n(), p("span", As, [
|
|
2741
|
+
P(C(t.label) + " ", 1),
|
|
2742
|
+
_(i.$slots, "customLabel")
|
|
2704
2743
|
])) : g("", !0),
|
|
2705
|
-
b("span",
|
|
2744
|
+
b("span", Ns, C(t?.percent) + "% ", 1)
|
|
2706
2745
|
]))
|
|
2707
2746
|
]));
|
|
2708
2747
|
}
|
|
2709
|
-
}),
|
|
2748
|
+
}), Ds = { class: "ma-progress-line" }, Ls = { class: "line-wrapper" }, Es = { key: 1 }, Fs = { key: 2 }, Vs = { class: "line-wrapper" }, Gs = { key: 1 }, Us = { key: 2 }, Rs = /* @__PURE__ */ B({
|
|
2710
2749
|
__name: "line",
|
|
2711
2750
|
props: {
|
|
2712
2751
|
percent: null,
|
|
@@ -2727,10 +2766,10 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2727
2766
|
trigger: "click",
|
|
2728
2767
|
...t.tooltipProps
|
|
2729
2768
|
}));
|
|
2730
|
-
return (l, i) => (n(), p("div",
|
|
2731
|
-
t?.showTooltip ? (n(), f(
|
|
2732
|
-
default:
|
|
2733
|
-
b("div",
|
|
2769
|
+
return (l, i) => (n(), p("div", Ds, [
|
|
2770
|
+
t?.showTooltip ? (n(), f(ue, ze(S({ key: 0 }, s(o))), {
|
|
2771
|
+
default: y(() => [
|
|
2772
|
+
b("div", Ls, [
|
|
2734
2773
|
b("div", {
|
|
2735
2774
|
class: "line",
|
|
2736
2775
|
style: Z(s(e))
|
|
@@ -2739,14 +2778,14 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2739
2778
|
t?.icon ? (n(), f(M, {
|
|
2740
2779
|
key: 0,
|
|
2741
2780
|
name: t.icon
|
|
2742
|
-
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label",
|
|
2743
|
-
l.$slots.customLabel ? (n(), p("label",
|
|
2744
|
-
|
|
2781
|
+
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label", Es, C(t.percent) + "%", 1)) : g("", !0),
|
|
2782
|
+
l.$slots.customLabel ? (n(), p("label", Fs, [
|
|
2783
|
+
_(l.$slots, "customLabel")
|
|
2745
2784
|
])) : g("", !0)
|
|
2746
2785
|
]),
|
|
2747
2786
|
_: 3
|
|
2748
2787
|
}, 16)) : (n(), p(W, { key: 1 }, [
|
|
2749
|
-
b("div",
|
|
2788
|
+
b("div", Vs, [
|
|
2750
2789
|
b("div", {
|
|
2751
2790
|
class: "line",
|
|
2752
2791
|
style: Z(s(e))
|
|
@@ -2755,17 +2794,17 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2755
2794
|
t?.icon ? (n(), f(M, {
|
|
2756
2795
|
key: 0,
|
|
2757
2796
|
name: t.icon
|
|
2758
|
-
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label",
|
|
2759
|
-
l.$slots.customLabel ? (n(), p("label",
|
|
2760
|
-
|
|
2797
|
+
}, null, 8, ["name"])) : a.showPercent ? (n(), p("label", Gs, C(t.percent) + "%", 1)) : g("", !0),
|
|
2798
|
+
l.$slots.customLabel ? (n(), p("label", Us, [
|
|
2799
|
+
_(l.$slots, "customLabel")
|
|
2761
2800
|
])) : g("", !0)
|
|
2762
2801
|
], 64))
|
|
2763
2802
|
]));
|
|
2764
2803
|
}
|
|
2765
|
-
}),
|
|
2804
|
+
}), Os = { class: "ma-progress-circle ma-progress-half-circle" }, Ks = ["viewBox"], js = ["d", "stroke-width"], qs = ["d", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Hs = { key: 1 }, Ws = {
|
|
2766
2805
|
key: 0,
|
|
2767
2806
|
class: "label"
|
|
2768
|
-
},
|
|
2807
|
+
}, Js = { class: "percent" }, Ys = /* @__PURE__ */ B({
|
|
2769
2808
|
__name: "halfCircle",
|
|
2770
2809
|
props: {
|
|
2771
2810
|
percent: null,
|
|
@@ -2811,7 +2850,7 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2811
2850
|
}, o = c(() => e[t.size]), l = c(
|
|
2812
2851
|
() => o.value.strokeDashArray * (100 - t.percent) / 100
|
|
2813
2852
|
);
|
|
2814
|
-
return (i, r) => (n(), p("div",
|
|
2853
|
+
return (i, r) => (n(), p("div", Os, [
|
|
2815
2854
|
(n(), p("svg", {
|
|
2816
2855
|
class: "circle",
|
|
2817
2856
|
viewBox: s(o).viewBox,
|
|
@@ -2824,7 +2863,7 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2824
2863
|
"stroke-linecap": "round",
|
|
2825
2864
|
"stroke-linejoin": "round",
|
|
2826
2865
|
class: "wrapper"
|
|
2827
|
-
}, null, 8,
|
|
2866
|
+
}, null, 8, js),
|
|
2828
2867
|
t.percent > 0 ? (n(), p("path", {
|
|
2829
2868
|
key: 0,
|
|
2830
2869
|
d: s(o).path,
|
|
@@ -2834,21 +2873,21 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2834
2873
|
"stroke-dasharray": s(o).strokeDashArray,
|
|
2835
2874
|
"stroke-dashoffset": s(l),
|
|
2836
2875
|
class: "percent"
|
|
2837
|
-
}, null, 8,
|
|
2838
|
-
], 8,
|
|
2876
|
+
}, null, 8, qs)) : g("", !0)
|
|
2877
|
+
], 8, Ks)),
|
|
2839
2878
|
t?.icon ? (n(), f(M, {
|
|
2840
2879
|
key: 0,
|
|
2841
2880
|
name: t.icon
|
|
2842
|
-
}, null, 8, ["name"])) : (n(), p("label",
|
|
2843
|
-
t?.label || i.$slots.customLabel ? (n(), p("span",
|
|
2844
|
-
|
|
2845
|
-
|
|
2881
|
+
}, null, 8, ["name"])) : (n(), p("label", Hs, [
|
|
2882
|
+
t?.label || i.$slots.customLabel ? (n(), p("span", Ws, [
|
|
2883
|
+
P(C(t?.label) + " ", 1),
|
|
2884
|
+
_(i.$slots, "customLabel")
|
|
2846
2885
|
])) : g("", !0),
|
|
2847
|
-
b("span",
|
|
2886
|
+
b("span", Js, C(t?.percent) + "% ", 1)
|
|
2848
2887
|
]))
|
|
2849
2888
|
]));
|
|
2850
2889
|
}
|
|
2851
|
-
}),
|
|
2890
|
+
}), Zs = { class: "ma-progress-line-step" }, Xs = { class: "step-line-wrapper" }, Qs = { key: 1 }, en = { key: 2 }, tn = /* @__PURE__ */ B({
|
|
2852
2891
|
__name: "stepLine",
|
|
2853
2892
|
props: {
|
|
2854
2893
|
percent: null,
|
|
@@ -2867,8 +2906,8 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2867
2906
|
width: `${r}%`
|
|
2868
2907
|
};
|
|
2869
2908
|
};
|
|
2870
|
-
return (o, l) => (n(), p("div",
|
|
2871
|
-
b("div",
|
|
2909
|
+
return (o, l) => (n(), p("div", Zs, [
|
|
2910
|
+
b("div", Xs, [
|
|
2872
2911
|
(n(), p(W, null, j(10, (i) => b("div", {
|
|
2873
2912
|
class: "single-line",
|
|
2874
2913
|
key: i
|
|
@@ -2882,16 +2921,16 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2882
2921
|
t?.icon ? (n(), f(M, {
|
|
2883
2922
|
key: 0,
|
|
2884
2923
|
name: t.icon
|
|
2885
|
-
}, null, 8, ["name"])) : t?.showPercent ? (n(), p("label",
|
|
2886
|
-
o.$slots.customLabel ? (n(), p("label",
|
|
2887
|
-
|
|
2924
|
+
}, null, 8, ["name"])) : t?.showPercent ? (n(), p("label", Qs, C(t.percent) + "%", 1)) : g("", !0),
|
|
2925
|
+
o.$slots.customLabel ? (n(), p("label", en, [
|
|
2926
|
+
_(o.$slots, "customLabel")
|
|
2888
2927
|
])) : g("", !0)
|
|
2889
2928
|
]));
|
|
2890
2929
|
}
|
|
2891
|
-
}),
|
|
2930
|
+
}), on = {
|
|
2892
2931
|
name: "MaProgress"
|
|
2893
|
-
},
|
|
2894
|
-
...
|
|
2932
|
+
}, dl = /* @__PURE__ */ B({
|
|
2933
|
+
...on,
|
|
2895
2934
|
props: {
|
|
2896
2935
|
type: { default: "line" },
|
|
2897
2936
|
percent: null,
|
|
@@ -2922,10 +2961,10 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2922
2961
|
}
|
|
2923
2962
|
]), o = c(
|
|
2924
2963
|
() => ({
|
|
2925
|
-
circle:
|
|
2926
|
-
line:
|
|
2927
|
-
["half-circle"]:
|
|
2928
|
-
["line-step"]:
|
|
2964
|
+
circle: Ps,
|
|
2965
|
+
line: Rs,
|
|
2966
|
+
["half-circle"]: Ys,
|
|
2967
|
+
["line-step"]: tn
|
|
2929
2968
|
})[t.type]
|
|
2930
2969
|
), l = c(() => [
|
|
2931
2970
|
`
|
|
@@ -2948,41 +2987,41 @@ const ws = { class: "ma-progress-circle" }, Cs = ["viewBox"], Ms = ["d", "stroke
|
|
|
2948
2987
|
showTooltip: t?.showTooltip,
|
|
2949
2988
|
tooltipProps: t?.tooltipProps
|
|
2950
2989
|
}, {
|
|
2951
|
-
customLabel:
|
|
2952
|
-
|
|
2990
|
+
customLabel: y(() => [
|
|
2991
|
+
_(r.$slots, "customLabel")
|
|
2953
2992
|
]),
|
|
2954
2993
|
_: 3
|
|
2955
2994
|
}, 8, ["class", "percent", "icon", "label", "size", "showPercent", "showTooltip", "tooltipProps"]))
|
|
2956
2995
|
], 2));
|
|
2957
2996
|
}
|
|
2958
2997
|
});
|
|
2959
|
-
const
|
|
2998
|
+
const ml = [
|
|
2960
2999
|
"line",
|
|
2961
3000
|
"line-step",
|
|
2962
3001
|
"circle",
|
|
2963
3002
|
"half-circle"
|
|
2964
|
-
],
|
|
3003
|
+
], gl = [
|
|
2965
3004
|
"dark",
|
|
2966
3005
|
"blue",
|
|
2967
3006
|
"green",
|
|
2968
3007
|
"orange",
|
|
2969
3008
|
"red"
|
|
2970
|
-
],
|
|
3009
|
+
], vl = [
|
|
2971
3010
|
"xs",
|
|
2972
3011
|
"sm",
|
|
2973
3012
|
"md",
|
|
2974
3013
|
"lg",
|
|
2975
3014
|
"xl"
|
|
2976
|
-
],
|
|
3015
|
+
], fl = [
|
|
2977
3016
|
"left",
|
|
2978
3017
|
"right"
|
|
2979
|
-
],
|
|
3018
|
+
], sn = {
|
|
2980
3019
|
key: 0,
|
|
2981
3020
|
class: "ak-autocomplete__label"
|
|
2982
|
-
},
|
|
3021
|
+
}, nn = { class: "ak-autocomplete__options" }, an = ["onMousedown", "onMouseover"], ln = { key: 1 }, rn = {
|
|
2983
3022
|
name: "MaAutocomplete"
|
|
2984
|
-
},
|
|
2985
|
-
...
|
|
3023
|
+
}, _l = /* @__PURE__ */ B({
|
|
3024
|
+
...rn,
|
|
2986
3025
|
props: {
|
|
2987
3026
|
value: null,
|
|
2988
3027
|
options: { default: () => [] },
|
|
@@ -2992,7 +3031,8 @@ const il = [
|
|
|
2992
3031
|
prefixIcon: null,
|
|
2993
3032
|
avatarUrl: null,
|
|
2994
3033
|
open: { type: Boolean, default: !1 },
|
|
2995
|
-
size: { default: "large" }
|
|
3034
|
+
size: { default: "large" },
|
|
3035
|
+
autofocus: { type: Boolean, default: !1 }
|
|
2996
3036
|
},
|
|
2997
3037
|
emits: ["update:value", "search"],
|
|
2998
3038
|
setup(a, { emit: t }) {
|
|
@@ -3003,22 +3043,22 @@ const il = [
|
|
|
3003
3043
|
set(v) {
|
|
3004
3044
|
t("update:value", v), u.value = -1;
|
|
3005
3045
|
}
|
|
3006
|
-
}), m = c(() => e?.avatarUrl ? se.userInfo : se.text),
|
|
3046
|
+
}), m = c(() => e?.avatarUrl ? se.userInfo : se.text), x = c(() => !!o.default), z = c(
|
|
3007
3047
|
() => e.options.filter(
|
|
3008
3048
|
(v) => e.filterFn(d.value || "", v)
|
|
3009
3049
|
)
|
|
3010
|
-
),
|
|
3050
|
+
), I = (v) => {
|
|
3011
3051
|
const V = v?.value || v?.label || v;
|
|
3012
|
-
d.value = V,
|
|
3013
|
-
},
|
|
3052
|
+
d.value = V, x.value && r.value && (r.value.value = V), l.value = !1;
|
|
3053
|
+
}, N = async () => {
|
|
3014
3054
|
const v = `${r.value?.value}`;
|
|
3015
|
-
t("search", v),
|
|
3016
|
-
},
|
|
3055
|
+
t("search", v), x.value && t("update:value", v), l.value || (l.value = !0);
|
|
3056
|
+
}, $ = (v) => {
|
|
3017
3057
|
l.value = !0;
|
|
3018
|
-
},
|
|
3058
|
+
}, h = (v) => {
|
|
3019
3059
|
l.value && i.value && v.target instanceof Node && !i.value.contains(v.target) && (l.value = !1);
|
|
3020
3060
|
}, T = (v) => {
|
|
3021
|
-
v.key === "ArrowUp" && u.value > -1 ? u.value-- : v.key === "ArrowDown" && u.value <
|
|
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]);
|
|
3022
3062
|
}, R = (v) => {
|
|
3023
3063
|
u.value = v;
|
|
3024
3064
|
}, G = (v, V) => ({
|
|
@@ -3034,52 +3074,53 @@ const il = [
|
|
|
3034
3074
|
l.value = v;
|
|
3035
3075
|
}, 0);
|
|
3036
3076
|
}
|
|
3037
|
-
),
|
|
3038
|
-
i.value && (i.value.addEventListener("input",
|
|
3039
|
-
}),
|
|
3040
|
-
i.value && (i.value.removeEventListener("input",
|
|
3041
|
-
}), (v, V) => (n(), p("div",
|
|
3077
|
+
), de(() => {
|
|
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", $));
|
|
3079
|
+
}), Se(() => {
|
|
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({
|
|
3042
3082
|
class: "ak-autocomplete-wrapper",
|
|
3043
3083
|
ref_key: "autoComplete",
|
|
3044
3084
|
ref: i
|
|
3045
3085
|
}, v.$attrs), [
|
|
3046
|
-
|
|
3086
|
+
k(Wo, {
|
|
3047
3087
|
"overlay-class-name": "ak-autocomplete__dropdown",
|
|
3048
3088
|
trigger: [],
|
|
3049
3089
|
visible: l.value,
|
|
3050
3090
|
"onUpdate:visible": V[1] || (V[1] = (U) => l.value = U)
|
|
3051
3091
|
}, {
|
|
3052
|
-
overlay:
|
|
3053
|
-
b("div",
|
|
3092
|
+
overlay: y(() => [
|
|
3093
|
+
b("div", nn, [
|
|
3054
3094
|
b("ul", null, [
|
|
3055
|
-
(n(!0), p(W, null, j(s(
|
|
3095
|
+
(n(!0), p(W, null, j(s(z), (U, Y) => (n(), p("li", {
|
|
3056
3096
|
class: E(G(U, Y)),
|
|
3057
|
-
onMousedown:
|
|
3097
|
+
onMousedown: Te((ce) => I(U), ["prevent"]),
|
|
3058
3098
|
onMouseover: (ce) => R(Y),
|
|
3059
3099
|
key: Y
|
|
3060
3100
|
}, [
|
|
3061
|
-
v.$slots.option ?
|
|
3101
|
+
v.$slots.option ? _(v.$slots, "option", {
|
|
3062
3102
|
key: 0,
|
|
3063
3103
|
label: U?.label,
|
|
3064
3104
|
value: U.value
|
|
3065
|
-
}) : (n(), p("span",
|
|
3105
|
+
}) : (n(), p("span", ln, C(U?.label || U?.value), 1)),
|
|
3066
3106
|
U?.value === s(d) ? (n(), f(M, {
|
|
3067
3107
|
key: 2,
|
|
3068
3108
|
name: "tick",
|
|
3069
3109
|
size: "sm"
|
|
3070
3110
|
})) : g("", !0)
|
|
3071
|
-
], 42,
|
|
3111
|
+
], 42, an))), 128))
|
|
3072
3112
|
]),
|
|
3073
|
-
|
|
3113
|
+
_(v.$slots, "overlay")
|
|
3074
3114
|
])
|
|
3075
3115
|
]),
|
|
3076
|
-
default:
|
|
3116
|
+
default: y(() => [
|
|
3077
3117
|
b("div", {
|
|
3078
3118
|
class: E(s(q))
|
|
3079
3119
|
}, [
|
|
3080
|
-
e.label ? (n(), p("label",
|
|
3081
|
-
v.$slots.default ?
|
|
3120
|
+
e.label ? (n(), p("label", sn, C(e.label), 1)) : g("", !0),
|
|
3121
|
+
v.$slots.default ? _(v.$slots, "default", { key: 1 }) : (n(), f(ye, {
|
|
3082
3122
|
key: 2,
|
|
3123
|
+
autofocus: e.autofocus,
|
|
3083
3124
|
class: E({ "active-input": s(d)?.length }),
|
|
3084
3125
|
size: e.size,
|
|
3085
3126
|
placeholder: e?.placeholder,
|
|
@@ -3087,8 +3128,8 @@ const il = [
|
|
|
3087
3128
|
avatarUrl: e?.avatarUrl,
|
|
3088
3129
|
type: s(m),
|
|
3089
3130
|
value: s(d),
|
|
3090
|
-
"onUpdate:value": V[0] || (V[0] = (U) =>
|
|
3091
|
-
}, 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"]))
|
|
3092
3133
|
], 2)
|
|
3093
3134
|
]),
|
|
3094
3135
|
_: 3
|
|
@@ -3096,10 +3137,10 @@ const il = [
|
|
|
3096
3137
|
], 16));
|
|
3097
3138
|
}
|
|
3098
3139
|
});
|
|
3099
|
-
const
|
|
3140
|
+
const cn = {
|
|
3100
3141
|
name: "MaTabs"
|
|
3101
|
-
},
|
|
3102
|
-
...
|
|
3142
|
+
}, pn = /* @__PURE__ */ B({
|
|
3143
|
+
...cn,
|
|
3103
3144
|
props: {
|
|
3104
3145
|
activeKey: null,
|
|
3105
3146
|
animated: { type: Boolean, default: !1 },
|
|
@@ -3117,7 +3158,7 @@ const nn = {
|
|
|
3117
3158
|
t("update:activeKey", l);
|
|
3118
3159
|
}
|
|
3119
3160
|
});
|
|
3120
|
-
return (l, i) => (n(), f(s(
|
|
3161
|
+
return (l, i) => (n(), f(s(it), S({
|
|
3121
3162
|
class: "ak-tabs",
|
|
3122
3163
|
animated: e?.animated,
|
|
3123
3164
|
destroyInactiveTabPane: e?.destroyInactiveTabPane,
|
|
@@ -3125,10 +3166,10 @@ const nn = {
|
|
|
3125
3166
|
type: a.type,
|
|
3126
3167
|
"prefix-cls": "antd-tabs",
|
|
3127
3168
|
activeKey: s(o),
|
|
3128
|
-
"onUpdate:activeKey": i[0] || (i[0] = (r) =>
|
|
3169
|
+
"onUpdate:activeKey": i[0] || (i[0] = (r) => ee(o) ? o.value = r : null)
|
|
3129
3170
|
}, l.$attrs), J({
|
|
3130
|
-
moreIcon:
|
|
3131
|
-
|
|
3171
|
+
moreIcon: y(() => [
|
|
3172
|
+
k(M, {
|
|
3132
3173
|
name: "ellipsis-horizontal",
|
|
3133
3174
|
size: "xs"
|
|
3134
3175
|
})
|
|
@@ -3137,40 +3178,40 @@ const nn = {
|
|
|
3137
3178
|
}, [
|
|
3138
3179
|
j(l.$slots, (r, u) => ({
|
|
3139
3180
|
name: u,
|
|
3140
|
-
fn:
|
|
3141
|
-
|
|
3181
|
+
fn: y(() => [
|
|
3182
|
+
_(l.$slots, u)
|
|
3142
3183
|
])
|
|
3143
3184
|
}))
|
|
3144
3185
|
]), 1040, ["animated", "destroyInactiveTabPane", "tabPosition", "type", "activeKey"]));
|
|
3145
3186
|
}
|
|
3146
3187
|
});
|
|
3147
|
-
const
|
|
3188
|
+
const yl = [
|
|
3148
3189
|
"left",
|
|
3149
3190
|
"right",
|
|
3150
3191
|
"top",
|
|
3151
3192
|
"bottom"
|
|
3152
|
-
],
|
|
3193
|
+
], hl = [
|
|
3153
3194
|
"card",
|
|
3154
3195
|
"line"
|
|
3155
|
-
],
|
|
3196
|
+
], bl = [
|
|
3156
3197
|
"left",
|
|
3157
3198
|
"right"
|
|
3158
|
-
],
|
|
3199
|
+
], un = /* @__PURE__ */ B({
|
|
3159
3200
|
__name: "tabPane",
|
|
3160
3201
|
setup(a) {
|
|
3161
|
-
return (t, e) => (n(), f(s(
|
|
3202
|
+
return (t, e) => (n(), f(s(rt), S({ tab: "test" }, t.$attrs), J({ _: 2 }, [
|
|
3162
3203
|
j(t.$slots, (o, l) => ({
|
|
3163
3204
|
name: l,
|
|
3164
|
-
fn:
|
|
3165
|
-
|
|
3205
|
+
fn: y(() => [
|
|
3206
|
+
_(t.$slots, l)
|
|
3166
3207
|
])
|
|
3167
3208
|
}))
|
|
3168
3209
|
]), 1040));
|
|
3169
3210
|
}
|
|
3170
|
-
}),
|
|
3211
|
+
}), dn = { class: "country-option" }, mn = { class: "country-option__name" }, gn = { class: "country-option__code" }, vn = {
|
|
3171
3212
|
name: "MaCountrySelect"
|
|
3172
|
-
},
|
|
3173
|
-
...
|
|
3213
|
+
}, kl = /* @__PURE__ */ B({
|
|
3214
|
+
...vn,
|
|
3174
3215
|
props: {
|
|
3175
3216
|
value: null,
|
|
3176
3217
|
filterFn: { type: Function, default: (a, t) => typeof name == "string" ? t.name.toLowerCase().search(a.toLowerCase()) > -1 : !0 },
|
|
@@ -3197,7 +3238,7 @@ const dl = [
|
|
|
3197
3238
|
"only-code": e.showSelectedCountryCode
|
|
3198
3239
|
}
|
|
3199
3240
|
]);
|
|
3200
|
-
return (r, u) => (n(), f(
|
|
3241
|
+
return (r, u) => (n(), f(Ne, S({
|
|
3201
3242
|
class: s(i),
|
|
3202
3243
|
size: e.size,
|
|
3203
3244
|
"show-search": e.showSearch,
|
|
@@ -3208,22 +3249,22 @@ const dl = [
|
|
|
3208
3249
|
"dropdown-class-name": "country-select-dropdown"
|
|
3209
3250
|
}, r.$attrs, {
|
|
3210
3251
|
value: s(o),
|
|
3211
|
-
"onUpdate:value": u[0] || (u[0] = (d) =>
|
|
3252
|
+
"onUpdate:value": u[0] || (u[0] = (d) => ee(o) ? o.value = d : null)
|
|
3212
3253
|
}), {
|
|
3213
|
-
default:
|
|
3254
|
+
default: y(() => [
|
|
3214
3255
|
(n(!0), p(W, null, j(e.countries, (d) => (n(), f(oo, {
|
|
3215
3256
|
key: d.code,
|
|
3216
3257
|
name: d.name,
|
|
3217
3258
|
value: d.code
|
|
3218
3259
|
}, {
|
|
3219
|
-
default:
|
|
3220
|
-
b("div",
|
|
3221
|
-
|
|
3260
|
+
default: y(() => [
|
|
3261
|
+
b("div", dn, [
|
|
3262
|
+
k(M, {
|
|
3222
3263
|
name: l(d.code),
|
|
3223
3264
|
size: "sm"
|
|
3224
3265
|
}, null, 8, ["name"]),
|
|
3225
|
-
b("span",
|
|
3226
|
-
b("span",
|
|
3266
|
+
b("span", mn, C(d.name), 1),
|
|
3267
|
+
b("span", gn, C(d.code), 1)
|
|
3227
3268
|
])
|
|
3228
3269
|
]),
|
|
3229
3270
|
_: 2
|
|
@@ -3233,43 +3274,43 @@ const dl = [
|
|
|
3233
3274
|
}, 16, ["class", "size", "show-search", "filter-option", "dropdown-match-select-width", "list-height", "placeholder", "value"]));
|
|
3234
3275
|
}
|
|
3235
3276
|
});
|
|
3236
|
-
const
|
|
3277
|
+
const fn = {
|
|
3237
3278
|
key: 0,
|
|
3238
3279
|
class: "ak-card__header"
|
|
3239
|
-
},
|
|
3280
|
+
}, _n = ["src"], yn = { class: "header-content" }, hn = {
|
|
3240
3281
|
key: 0,
|
|
3241
3282
|
class: "card-title"
|
|
3242
|
-
},
|
|
3283
|
+
}, bn = {
|
|
3243
3284
|
key: 1,
|
|
3244
3285
|
class: "card-description"
|
|
3245
|
-
},
|
|
3286
|
+
}, kn = {
|
|
3246
3287
|
key: 2,
|
|
3247
3288
|
class: "header-actions"
|
|
3248
|
-
},
|
|
3289
|
+
}, $n = {
|
|
3249
3290
|
key: 1,
|
|
3250
3291
|
class: "card-title"
|
|
3251
|
-
},
|
|
3292
|
+
}, wn = {
|
|
3252
3293
|
key: 2,
|
|
3253
3294
|
class: "card-description"
|
|
3254
|
-
},
|
|
3295
|
+
}, Cn = {
|
|
3255
3296
|
key: 3,
|
|
3256
3297
|
class: "content-wrapper"
|
|
3257
|
-
},
|
|
3298
|
+
}, Mn = {
|
|
3258
3299
|
key: 0,
|
|
3259
3300
|
class: "footer-content"
|
|
3260
|
-
},
|
|
3301
|
+
}, Bn = {
|
|
3261
3302
|
key: 0,
|
|
3262
3303
|
class: "card-title"
|
|
3263
|
-
},
|
|
3304
|
+
}, xn = {
|
|
3264
3305
|
key: 1,
|
|
3265
3306
|
class: "card-description"
|
|
3266
|
-
},
|
|
3307
|
+
}, zn = {
|
|
3267
3308
|
key: 1,
|
|
3268
3309
|
class: "footer-actions"
|
|
3269
|
-
},
|
|
3310
|
+
}, Sn = {
|
|
3270
3311
|
name: "MaCard"
|
|
3271
|
-
},
|
|
3272
|
-
...
|
|
3312
|
+
}, $l = /* @__PURE__ */ B({
|
|
3313
|
+
...Sn,
|
|
3273
3314
|
props: {
|
|
3274
3315
|
title: null,
|
|
3275
3316
|
description: null,
|
|
@@ -3311,47 +3352,47 @@ const dn = {
|
|
|
3311
3352
|
() => Boolean(
|
|
3312
3353
|
e?.contentIcon || o?.contentTitle || o?.contentDescription || o?.default
|
|
3313
3354
|
)
|
|
3314
|
-
),
|
|
3355
|
+
), x = c(
|
|
3315
3356
|
() => Boolean(
|
|
3316
3357
|
o?.footerTitle || o?.footerDescription || o?.footerActions || o?.footer
|
|
3317
3358
|
)
|
|
3318
|
-
),
|
|
3359
|
+
), z = c({
|
|
3319
3360
|
get() {
|
|
3320
3361
|
return e.collapse;
|
|
3321
3362
|
},
|
|
3322
|
-
set(
|
|
3323
|
-
t("update:collapse",
|
|
3363
|
+
set(h) {
|
|
3364
|
+
t("update:collapse", h);
|
|
3324
3365
|
}
|
|
3325
|
-
}),
|
|
3366
|
+
}), I = c(() => e.collapse ? "chevron-up" : "chevron-down"), N = () => {
|
|
3326
3367
|
t("close");
|
|
3327
|
-
},
|
|
3328
|
-
|
|
3368
|
+
}, $ = () => {
|
|
3369
|
+
z.value = !z.value;
|
|
3329
3370
|
};
|
|
3330
|
-
return (
|
|
3331
|
-
s(d) ? (n(), p("div",
|
|
3371
|
+
return (h, T) => (n(), p("div", S({ class: s(l) }, h.$attrs), [
|
|
3372
|
+
s(d) ? (n(), p("div", fn, [
|
|
3332
3373
|
e?.headerAvatar ? (n(), p("img", {
|
|
3333
3374
|
key: 0,
|
|
3334
3375
|
src: e.headerAvatar,
|
|
3335
3376
|
class: "card-avatar"
|
|
3336
|
-
}, null, 8,
|
|
3377
|
+
}, null, 8, _n)) : g("", !0),
|
|
3337
3378
|
e?.headerIcon ? (n(), f(M, {
|
|
3338
3379
|
key: 1,
|
|
3339
3380
|
name: e.headerIcon,
|
|
3340
3381
|
class: "card-icon"
|
|
3341
3382
|
}, null, 8, ["name"])) : g("", !0),
|
|
3342
|
-
b("div",
|
|
3343
|
-
e?.title ||
|
|
3344
|
-
|
|
3345
|
-
|
|
3383
|
+
b("div", yn, [
|
|
3384
|
+
e?.title || h.$slots?.title ? (n(), p("h1", hn, [
|
|
3385
|
+
P(C(e.title), 1),
|
|
3386
|
+
_(h.$slots, "title")
|
|
3346
3387
|
])) : g("", !0),
|
|
3347
|
-
e?.description ||
|
|
3348
|
-
|
|
3349
|
-
|
|
3388
|
+
e?.description || h.$slots.description ? (n(), p("p", bn, [
|
|
3389
|
+
P(C(e.description), 1),
|
|
3390
|
+
_(h.$slots, "description")
|
|
3350
3391
|
])) : g("", !0),
|
|
3351
|
-
|
|
3392
|
+
_(h.$slots, "headerContent")
|
|
3352
3393
|
]),
|
|
3353
|
-
|
|
3354
|
-
|
|
3394
|
+
h.$slots?.headerActions || e?.closable || e?.collapsable ? (n(), p("div", kn, [
|
|
3395
|
+
_(h.$slots, "headerActions"),
|
|
3355
3396
|
e?.collapsable ? (n(), f(oe, {
|
|
3356
3397
|
key: 0,
|
|
3357
3398
|
class: "collapse-button",
|
|
@@ -3359,8 +3400,8 @@ const dn = {
|
|
|
3359
3400
|
shape: "round",
|
|
3360
3401
|
type: "primary",
|
|
3361
3402
|
variant: "plain",
|
|
3362
|
-
onClick:
|
|
3363
|
-
icon: s(
|
|
3403
|
+
onClick: $,
|
|
3404
|
+
icon: s(I)
|
|
3364
3405
|
}, null, 8, ["icon"])) : e?.closable ? (n(), f(oe, {
|
|
3365
3406
|
key: 1,
|
|
3366
3407
|
class: "close-button",
|
|
@@ -3368,7 +3409,7 @@ const dn = {
|
|
|
3368
3409
|
shape: "round",
|
|
3369
3410
|
type: "primary",
|
|
3370
3411
|
variant: "plain",
|
|
3371
|
-
onClick:
|
|
3412
|
+
onClick: N,
|
|
3372
3413
|
icon: "close"
|
|
3373
3414
|
})) : g("", !0)
|
|
3374
3415
|
])) : g("", !0)
|
|
@@ -3382,52 +3423,52 @@ const dn = {
|
|
|
3382
3423
|
name: e.contentIcon,
|
|
3383
3424
|
class: "card-icon"
|
|
3384
3425
|
}, null, 8, ["name"])) : g("", !0),
|
|
3385
|
-
|
|
3386
|
-
|
|
3426
|
+
h.$slots.contentTitle ? (n(), p("h1", $n, [
|
|
3427
|
+
_(h.$slots, "contentTitle")
|
|
3387
3428
|
])) : g("", !0),
|
|
3388
|
-
|
|
3389
|
-
|
|
3429
|
+
h.$slots.contentDescription ? (n(), p("p", wn, [
|
|
3430
|
+
_(h.$slots, "contentDescription")
|
|
3390
3431
|
])) : g("", !0),
|
|
3391
|
-
|
|
3392
|
-
|
|
3432
|
+
h.$slots.default ? (n(), p("div", Cn, [
|
|
3433
|
+
_(h.$slots, "default")
|
|
3393
3434
|
])) : g("", !0)
|
|
3394
3435
|
], 2)) : g("", !0),
|
|
3395
|
-
s(
|
|
3436
|
+
s(x) ? (n(), p("div", {
|
|
3396
3437
|
key: 2,
|
|
3397
3438
|
class: E(s(u))
|
|
3398
3439
|
}, [
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3440
|
+
h.$slots.footerTitle || h.$slots.footerDescription || h.$slots.footer ? (n(), p("div", Mn, [
|
|
3441
|
+
h.$slots.footerTitle ? (n(), p("h1", Bn, [
|
|
3442
|
+
_(h.$slots, "footerTitle")
|
|
3402
3443
|
])) : g("", !0),
|
|
3403
|
-
|
|
3404
|
-
|
|
3444
|
+
h.$slots.footerDescription ? (n(), p("p", xn, [
|
|
3445
|
+
_(h.$slots, "footerDescription")
|
|
3405
3446
|
])) : g("", !0),
|
|
3406
|
-
|
|
3447
|
+
_(h.$slots, "footer")
|
|
3407
3448
|
])) : g("", !0),
|
|
3408
|
-
|
|
3409
|
-
|
|
3449
|
+
h.$slots.footerActions ? (n(), p("div", zn, [
|
|
3450
|
+
_(h.$slots, "footerActions")
|
|
3410
3451
|
])) : g("", !0)
|
|
3411
3452
|
], 2)) : g("", !0)
|
|
3412
3453
|
], 16));
|
|
3413
3454
|
}
|
|
3414
3455
|
});
|
|
3415
|
-
const
|
|
3456
|
+
const wl = [
|
|
3416
3457
|
"left",
|
|
3417
3458
|
"center"
|
|
3418
|
-
],
|
|
3459
|
+
], Cl = [
|
|
3419
3460
|
"small",
|
|
3420
3461
|
"default"
|
|
3421
|
-
],
|
|
3462
|
+
], Ml = [
|
|
3422
3463
|
"blue",
|
|
3423
3464
|
"green",
|
|
3424
3465
|
"orange",
|
|
3425
3466
|
"red",
|
|
3426
3467
|
"purple"
|
|
3427
|
-
],
|
|
3468
|
+
], In = { key: 0 }, Tn = { key: 0 }, An = {
|
|
3428
3469
|
name: "MaInputNumber"
|
|
3429
|
-
},
|
|
3430
|
-
...
|
|
3470
|
+
}, Bl = /* @__PURE__ */ B({
|
|
3471
|
+
...An,
|
|
3431
3472
|
props: {
|
|
3432
3473
|
disabled: { type: Boolean, default: !1 },
|
|
3433
3474
|
value: { default: 1e3 },
|
|
@@ -3480,10 +3521,10 @@ const _l = [
|
|
|
3480
3521
|
t("pressEnter", d);
|
|
3481
3522
|
};
|
|
3482
3523
|
return (d, m) => (n(), p("div", null, [
|
|
3483
|
-
|
|
3524
|
+
k(s(ct), {
|
|
3484
3525
|
class: E(s(i)),
|
|
3485
3526
|
value: s(l),
|
|
3486
|
-
"onUpdate:value": m[0] || (m[0] = (
|
|
3527
|
+
"onUpdate:value": m[0] || (m[0] = (x) => ee(l) ? l.value = x : null),
|
|
3487
3528
|
disabled: a.disabled,
|
|
3488
3529
|
step: e?.stepCount,
|
|
3489
3530
|
autofocus: e?.autofocus,
|
|
@@ -3498,21 +3539,21 @@ const _l = [
|
|
|
3498
3539
|
precision: e?.precision,
|
|
3499
3540
|
staus: e.status,
|
|
3500
3541
|
"string-mode": e?.stringMode,
|
|
3501
|
-
onKeydown:
|
|
3542
|
+
onKeydown: Ge(u, ["enter"]),
|
|
3502
3543
|
onStep: r,
|
|
3503
3544
|
"prefix-cls": "antd-input-number"
|
|
3504
3545
|
}, J({ _: 2 }, [
|
|
3505
3546
|
e.addonBefore || d.$slots?.addonBefore ? {
|
|
3506
3547
|
name: "addonBefore",
|
|
3507
|
-
fn:
|
|
3508
|
-
e.addonBefore ? (n(), p("span",
|
|
3548
|
+
fn: y(() => [
|
|
3549
|
+
e.addonBefore ? (n(), p("span", In, C(e.addonBefore), 1)) : _(d.$slots, "addonBefore", { key: 1 })
|
|
3509
3550
|
]),
|
|
3510
3551
|
key: "0"
|
|
3511
3552
|
} : void 0,
|
|
3512
3553
|
e.addonAfter || d.$slots?.addonAfter ? {
|
|
3513
3554
|
name: "addonAfter",
|
|
3514
|
-
fn:
|
|
3515
|
-
e.addonAfter ? (n(), p("span",
|
|
3555
|
+
fn: y(() => [
|
|
3556
|
+
e.addonAfter ? (n(), p("span", Tn, C(e.addonAfter), 1)) : _(d.$slots, "addonAfter", { key: 1 })
|
|
3516
3557
|
]),
|
|
3517
3558
|
key: "1"
|
|
3518
3559
|
} : void 0
|
|
@@ -3520,22 +3561,22 @@ const _l = [
|
|
|
3520
3561
|
]));
|
|
3521
3562
|
}
|
|
3522
3563
|
});
|
|
3523
|
-
const
|
|
3564
|
+
const Nn = ["visible"], Pn = { class: "ak-drawer-content-wrapper" }, Dn = { class: "ak-drawer-header-container" }, Ln = { class: "ak-drawer-header-content" }, En = {
|
|
3524
3565
|
key: 0,
|
|
3525
3566
|
class: "ak-drawer-header"
|
|
3526
|
-
},
|
|
3567
|
+
}, Fn = {
|
|
3527
3568
|
key: 0,
|
|
3528
3569
|
class: "ak-drawer-header--title"
|
|
3529
|
-
},
|
|
3570
|
+
}, Vn = {
|
|
3530
3571
|
key: 1,
|
|
3531
3572
|
class: "ak-drawer-header--description"
|
|
3532
|
-
},
|
|
3573
|
+
}, Gn = { class: "ak-drawer-content" }, Un = {
|
|
3533
3574
|
key: 0,
|
|
3534
3575
|
class: "ak-drawer-footer"
|
|
3535
|
-
},
|
|
3576
|
+
}, Rn = {
|
|
3536
3577
|
name: "MaDrawer"
|
|
3537
|
-
},
|
|
3538
|
-
...
|
|
3578
|
+
}, xl = /* @__PURE__ */ B({
|
|
3579
|
+
...Rn,
|
|
3539
3580
|
props: {
|
|
3540
3581
|
placement: { default: "left" },
|
|
3541
3582
|
visible: { type: Boolean, default: !1 },
|
|
@@ -3567,23 +3608,23 @@ const Sn = ["visible"], In = { class: "ak-drawer-content-wrapper" }, Tn = { clas
|
|
|
3567
3608
|
}, r = (u) => {
|
|
3568
3609
|
u.key === "Escape" && i();
|
|
3569
3610
|
};
|
|
3570
|
-
return
|
|
3611
|
+
return de(() => {
|
|
3571
3612
|
document.addEventListener("keydown", r);
|
|
3572
|
-
}),
|
|
3613
|
+
}), Ie(() => {
|
|
3573
3614
|
document.removeEventListener("keydown", r);
|
|
3574
|
-
}), (u, d) => (n(), p("div",
|
|
3615
|
+
}), (u, d) => (n(), p("div", S(u.$attrs, {
|
|
3575
3616
|
class: s(l),
|
|
3576
3617
|
visible: s(o)
|
|
3577
3618
|
}), [
|
|
3578
|
-
b("div",
|
|
3579
|
-
b("div",
|
|
3580
|
-
b("div",
|
|
3581
|
-
u.$slots?.header ? (n(), p("div",
|
|
3582
|
-
|
|
3583
|
-
e.title ? (n(), p("div",
|
|
3619
|
+
b("div", Pn, [
|
|
3620
|
+
b("div", Dn, [
|
|
3621
|
+
b("div", Ln, [
|
|
3622
|
+
u.$slots?.header ? (n(), p("div", En, [
|
|
3623
|
+
_(u.$slots, "header", {}, () => [
|
|
3624
|
+
e.title ? (n(), p("div", Fn, [
|
|
3584
3625
|
b("h1", null, C(e?.title), 1)
|
|
3585
3626
|
])) : g("", !0),
|
|
3586
|
-
e.description ? (n(), p("div",
|
|
3627
|
+
e.description ? (n(), p("div", Vn, [
|
|
3587
3628
|
b("p", null, C(e?.description), 1)
|
|
3588
3629
|
])) : g("", !0)
|
|
3589
3630
|
])
|
|
@@ -3593,20 +3634,20 @@ const Sn = ["visible"], In = { class: "ak-drawer-content-wrapper" }, Tn = { clas
|
|
|
3593
3634
|
class: "ak-drawer-close-button",
|
|
3594
3635
|
onClick: i
|
|
3595
3636
|
}, [
|
|
3596
|
-
|
|
3637
|
+
k(M, {
|
|
3597
3638
|
name: "close",
|
|
3598
3639
|
size: "md"
|
|
3599
3640
|
})
|
|
3600
3641
|
])
|
|
3601
3642
|
]),
|
|
3602
|
-
b("div",
|
|
3603
|
-
|
|
3643
|
+
b("div", Gn, [
|
|
3644
|
+
_(u.$slots, "content")
|
|
3604
3645
|
]),
|
|
3605
|
-
u.$slots?.footer ? (n(), p("div",
|
|
3606
|
-
|
|
3646
|
+
u.$slots?.footer ? (n(), p("div", Un, [
|
|
3647
|
+
_(u.$slots, "footer")
|
|
3607
3648
|
])) : g("", !0)
|
|
3608
3649
|
])
|
|
3609
|
-
], 16,
|
|
3650
|
+
], 16, Nn));
|
|
3610
3651
|
}
|
|
3611
3652
|
});
|
|
3612
3653
|
const ve = [
|
|
@@ -3624,20 +3665,66 @@ const ve = [
|
|
|
3624
3665
|
"#B54708",
|
|
3625
3666
|
"#027A48",
|
|
3626
3667
|
"#026AA2"
|
|
3627
|
-
],
|
|
3668
|
+
], On = (a = 20) => {
|
|
3628
3669
|
let t = "";
|
|
3629
3670
|
for (let e = 0; e < a; e++)
|
|
3630
3671
|
t += Math.random().toString(36).substr(2);
|
|
3631
3672
|
return t.substr(0, a);
|
|
3632
|
-
},
|
|
3633
|
-
id:
|
|
3673
|
+
}, Kn = () => ({
|
|
3674
|
+
id: On(),
|
|
3634
3675
|
name: "",
|
|
3635
3676
|
color: ve[Math.floor(Math.random() * ve.length)],
|
|
3636
3677
|
keywordCount: 0,
|
|
3637
3678
|
editable: !1,
|
|
3638
3679
|
public: !1,
|
|
3639
3680
|
new: !0
|
|
3640
|
-
}),
|
|
3681
|
+
}), jn = {
|
|
3682
|
+
name: "MaPopover"
|
|
3683
|
+
}, qn = /* @__PURE__ */ B({
|
|
3684
|
+
...jn,
|
|
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({
|
|
3641
3728
|
__name: "button",
|
|
3642
3729
|
props: {
|
|
3643
3730
|
type: { default: "primary" },
|
|
@@ -3671,35 +3758,35 @@ const ve = [
|
|
|
3671
3758
|
}
|
|
3672
3759
|
return "sm";
|
|
3673
3760
|
}), d = () => e.value = !0, m = () => e.value = !1;
|
|
3674
|
-
return (
|
|
3761
|
+
return (x, z) => (n(), f(ae(s(l)), S({
|
|
3675
3762
|
onMousedown: d,
|
|
3676
3763
|
onMouseup: m,
|
|
3677
3764
|
class: s(o),
|
|
3678
3765
|
href: t?.href,
|
|
3679
3766
|
target: t?.target
|
|
3680
|
-
},
|
|
3681
|
-
default:
|
|
3682
|
-
X(
|
|
3767
|
+
}, x.$attrs), {
|
|
3768
|
+
default: y(() => [
|
|
3769
|
+
X(k(M, {
|
|
3683
3770
|
size: s(u),
|
|
3684
3771
|
name: s(i)
|
|
3685
3772
|
}, null, 8, ["size", "name"]), [
|
|
3686
3773
|
[Q, s(r)]
|
|
3687
3774
|
]),
|
|
3688
|
-
X(
|
|
3775
|
+
X(k(M, {
|
|
3689
3776
|
size: s(u),
|
|
3690
3777
|
name: t.icon
|
|
3691
3778
|
}, null, 8, ["size", "name"]), [
|
|
3692
3779
|
[Q, !s(r)]
|
|
3693
3780
|
]),
|
|
3694
|
-
|
|
3781
|
+
_(x.$slots, "default")
|
|
3695
3782
|
]),
|
|
3696
3783
|
_: 3
|
|
3697
3784
|
}, 16, ["class", "href", "target"]));
|
|
3698
3785
|
}
|
|
3699
|
-
}),
|
|
3786
|
+
}), Hn = {
|
|
3700
3787
|
name: "MaIconButton"
|
|
3701
|
-
}, ie = /* @__PURE__ */
|
|
3702
|
-
...
|
|
3788
|
+
}, ie = /* @__PURE__ */ B({
|
|
3789
|
+
...Hn,
|
|
3703
3790
|
props: {
|
|
3704
3791
|
type: { default: "primary" },
|
|
3705
3792
|
icon: null,
|
|
@@ -3718,17 +3805,17 @@ const ve = [
|
|
|
3718
3805
|
...t.tooltipProps,
|
|
3719
3806
|
title: t?.tooltipText
|
|
3720
3807
|
}));
|
|
3721
|
-
return (r, u) => s(o) ? (n(), f(
|
|
3808
|
+
return (r, u) => s(o) ? (n(), f(ue, S({
|
|
3722
3809
|
key: 0,
|
|
3723
3810
|
overlayClassName: s(l),
|
|
3724
3811
|
type: "primary",
|
|
3725
3812
|
placement: "bottomLeft"
|
|
3726
3813
|
}, s(i)), {
|
|
3727
|
-
title:
|
|
3728
|
-
|
|
3814
|
+
title: y(() => [
|
|
3815
|
+
_(r.$slots, "tooltip")
|
|
3729
3816
|
]),
|
|
3730
|
-
default:
|
|
3731
|
-
|
|
3817
|
+
default: y(() => [
|
|
3818
|
+
k(Me, {
|
|
3732
3819
|
active: t.active,
|
|
3733
3820
|
size: t.size,
|
|
3734
3821
|
type: t.type,
|
|
@@ -3739,8 +3826,8 @@ const ve = [
|
|
|
3739
3826
|
rounded: t?.rounded,
|
|
3740
3827
|
variant: t?.variant
|
|
3741
3828
|
}, {
|
|
3742
|
-
default:
|
|
3743
|
-
|
|
3829
|
+
default: y(() => [
|
|
3830
|
+
_(r.$slots, "default")
|
|
3744
3831
|
]),
|
|
3745
3832
|
_: 3
|
|
3746
3833
|
}, 8, ["active", "size", "type", "activeIcon", "icon", "href", "target", "rounded", "variant"])
|
|
@@ -3758,14 +3845,14 @@ const ve = [
|
|
|
3758
3845
|
rounded: t?.rounded,
|
|
3759
3846
|
variant: t?.variant
|
|
3760
3847
|
}, {
|
|
3761
|
-
default:
|
|
3762
|
-
|
|
3848
|
+
default: y(() => [
|
|
3849
|
+
_(r.$slots, "default")
|
|
3763
3850
|
]),
|
|
3764
3851
|
_: 3
|
|
3765
3852
|
}, 8, ["active", "size", "type", "activeIcon", "icon", "href", "target", "rounded", "variant"]));
|
|
3766
3853
|
}
|
|
3767
3854
|
});
|
|
3768
|
-
const
|
|
3855
|
+
const Wn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ B({
|
|
3769
3856
|
__name: "kwGroupItem",
|
|
3770
3857
|
props: {
|
|
3771
3858
|
keywordGroup: null,
|
|
@@ -3778,60 +3865,60 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3778
3865
|
{
|
|
3779
3866
|
"keyword-group-item--selected": e?.selected
|
|
3780
3867
|
}
|
|
3781
|
-
]), l = c(() => e?.selected ? "primary" : "secondary"), i = (
|
|
3782
|
-
|
|
3783
|
-
}, r = (
|
|
3784
|
-
|
|
3785
|
-
}, u = (
|
|
3786
|
-
|
|
3787
|
-
}, d = (
|
|
3788
|
-
|
|
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");
|
|
3789
3876
|
};
|
|
3790
|
-
return (m,
|
|
3877
|
+
return (m, x) => (n(), p("div", {
|
|
3791
3878
|
class: E(s(o))
|
|
3792
3879
|
}, [
|
|
3793
|
-
|
|
3880
|
+
k(M, {
|
|
3794
3881
|
class: "ma-kw-selection-sort-handler",
|
|
3795
3882
|
name: "drag",
|
|
3796
3883
|
size: "md"
|
|
3797
3884
|
}),
|
|
3798
|
-
|
|
3885
|
+
k(M, {
|
|
3799
3886
|
name: "dot",
|
|
3800
3887
|
size: "xs",
|
|
3801
3888
|
style: Z({ color: a.keywordGroup.color })
|
|
3802
3889
|
}, null, 8, ["style"]),
|
|
3803
3890
|
b("span", null, C(a.keywordGroup.name), 1),
|
|
3804
|
-
|
|
3891
|
+
k(_e, {
|
|
3805
3892
|
type: s(l),
|
|
3806
3893
|
size: "small"
|
|
3807
3894
|
}, {
|
|
3808
|
-
default:
|
|
3809
|
-
|
|
3895
|
+
default: y(() => [
|
|
3896
|
+
P(C(a.keywordGroup.keywordCount), 1)
|
|
3810
3897
|
]),
|
|
3811
3898
|
_: 1
|
|
3812
3899
|
}, 8, ["type"]),
|
|
3813
|
-
b("div",
|
|
3814
|
-
|
|
3900
|
+
b("div", Wn, [
|
|
3901
|
+
k(ie, {
|
|
3815
3902
|
type: "secondary",
|
|
3816
3903
|
size: "xs",
|
|
3817
3904
|
icon: a.keywordGroup.editable ? "clipboard-tick" : "clipboard-close",
|
|
3818
3905
|
tooltipText: a.keywordGroup.editable ? "Make it non-editable" : "Make it editable",
|
|
3819
3906
|
onClick: i
|
|
3820
3907
|
}, null, 8, ["icon", "tooltipText"]),
|
|
3821
|
-
|
|
3908
|
+
k(ie, {
|
|
3822
3909
|
type: "secondary",
|
|
3823
3910
|
size: "xs",
|
|
3824
3911
|
icon: a.keywordGroup.public ? "lock-slash" : "outline-lock",
|
|
3825
3912
|
tooltipText: a.keywordGroup.public ? "Make it private" : "Make it public",
|
|
3826
3913
|
onClick: r
|
|
3827
3914
|
}, null, 8, ["icon", "tooltipText"]),
|
|
3828
|
-
|
|
3915
|
+
k(ie, {
|
|
3829
3916
|
type: "secondary",
|
|
3830
3917
|
size: "xs",
|
|
3831
3918
|
icon: "edit-2",
|
|
3832
3919
|
onClick: d
|
|
3833
3920
|
}),
|
|
3834
|
-
|
|
3921
|
+
k(ie, {
|
|
3835
3922
|
type: "secondary",
|
|
3836
3923
|
size: "xs",
|
|
3837
3924
|
icon: "trash",
|
|
@@ -3840,7 +3927,7 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3840
3927
|
])
|
|
3841
3928
|
], 2));
|
|
3842
3929
|
}
|
|
3843
|
-
}),
|
|
3930
|
+
}), Jn = { class: "kw-group-form__colors" }, Yn = /* @__PURE__ */ B({
|
|
3844
3931
|
__name: "kwGroupForm",
|
|
3845
3932
|
props: {
|
|
3846
3933
|
keywordGroup: null
|
|
@@ -3853,69 +3940,55 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3853
3940
|
}), l = {
|
|
3854
3941
|
name: [{ required: !0, message: "Group name is required" }],
|
|
3855
3942
|
color: [{ required: !0, message: "Color is required" }]
|
|
3856
|
-
}, i = c(() => e.keywordGroup?.new), r = c(() => i.value ? "Create Group" : "Edit Group"), u = (
|
|
3857
|
-
color:
|
|
3858
|
-
border: "1px solid " + (
|
|
3859
|
-
}), d = (
|
|
3860
|
-
|
|
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;
|
|
3861
3948
|
}, m = () => {
|
|
3862
3949
|
t("saveKwGroup", {
|
|
3863
3950
|
...e.keywordGroup,
|
|
3864
3951
|
...o
|
|
3865
3952
|
});
|
|
3866
|
-
}, S = (B) => {
|
|
3867
|
-
B.stopPropagation();
|
|
3868
3953
|
};
|
|
3869
|
-
return (
|
|
3870
|
-
onClick: z[5] || (z[5] = (I) => S(I)),
|
|
3954
|
+
return (x, z) => (n(), f(Lt, {
|
|
3871
3955
|
class: "kw-group-form",
|
|
3872
3956
|
model: o,
|
|
3873
3957
|
rules: l,
|
|
3874
3958
|
onFinish: m
|
|
3875
3959
|
}, {
|
|
3876
|
-
default:
|
|
3877
|
-
b("h3",
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
name: "name",
|
|
3882
|
-
onClick: z[2] || (z[2] = (I) => S(I))
|
|
3883
|
-
}, {
|
|
3884
|
-
default: h(() => [
|
|
3885
|
-
$(ye, {
|
|
3960
|
+
default: y(() => [
|
|
3961
|
+
b("h3", null, C(s(r)), 1),
|
|
3962
|
+
k(be, { name: "name" }, {
|
|
3963
|
+
default: y(() => [
|
|
3964
|
+
k(ye, {
|
|
3886
3965
|
size: "medium",
|
|
3887
3966
|
placeholder: "Keyword group name",
|
|
3888
3967
|
value: o.name,
|
|
3889
|
-
"onUpdate:value": z[
|
|
3968
|
+
"onUpdate:value": z[0] || (z[0] = (I) => o.name = I)
|
|
3890
3969
|
}, null, 8, ["value"])
|
|
3891
3970
|
]),
|
|
3892
3971
|
_: 1
|
|
3893
3972
|
}),
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
}, {
|
|
3898
|
-
default: h(() => [
|
|
3899
|
-
b("ul", On, [
|
|
3973
|
+
k(be, { name: "color" }, {
|
|
3974
|
+
default: y(() => [
|
|
3975
|
+
b("ul", Jn, [
|
|
3900
3976
|
(n(!0), p(W, null, j(s(ve), (I) => (n(), p("li", { key: I }, [
|
|
3901
|
-
|
|
3977
|
+
k(oe, {
|
|
3902
3978
|
size: "small",
|
|
3903
3979
|
type: "secondary",
|
|
3904
3980
|
icon: "dot",
|
|
3905
3981
|
style: Z(u(I)),
|
|
3906
|
-
onClick: (
|
|
3982
|
+
onClick: (N) => d(I)
|
|
3907
3983
|
}, null, 8, ["style", "onClick"])
|
|
3908
3984
|
]))), 128))
|
|
3909
3985
|
])
|
|
3910
3986
|
]),
|
|
3911
3987
|
_: 1
|
|
3912
3988
|
}),
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
}, {
|
|
3917
|
-
default: h(() => [
|
|
3918
|
-
N(" Confirm ")
|
|
3989
|
+
k(oe, { "html-type": "submit" }, {
|
|
3990
|
+
default: y(() => [
|
|
3991
|
+
P(" Confirm ")
|
|
3919
3992
|
]),
|
|
3920
3993
|
_: 1
|
|
3921
3994
|
})
|
|
@@ -3923,16 +3996,16 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3923
3996
|
_: 1
|
|
3924
3997
|
}, 8, ["model"]));
|
|
3925
3998
|
}
|
|
3926
|
-
}),
|
|
3999
|
+
}), Zn = {
|
|
3927
4000
|
key: 0,
|
|
3928
4001
|
class: "kw-group-label"
|
|
3929
|
-
},
|
|
4002
|
+
}, Xn = {
|
|
3930
4003
|
key: 1,
|
|
3931
4004
|
class: "placeholder"
|
|
3932
|
-
},
|
|
4005
|
+
}, Qn = {
|
|
3933
4006
|
name: "MaKeywordGroupSelection"
|
|
3934
|
-
},
|
|
3935
|
-
...
|
|
4007
|
+
}, zl = /* @__PURE__ */ B({
|
|
4008
|
+
...Qn,
|
|
3936
4009
|
props: {
|
|
3937
4010
|
value: { default: null },
|
|
3938
4011
|
options: { default: () => [] },
|
|
@@ -3967,24 +4040,24 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3967
4040
|
set(A) {
|
|
3968
4041
|
t("update:value", A), t("change", A);
|
|
3969
4042
|
}
|
|
3970
|
-
}),
|
|
4043
|
+
}), x = c(() => [
|
|
3971
4044
|
"kw-dropdown-button",
|
|
3972
4045
|
{
|
|
3973
4046
|
"kw-dropdown-button--active": o.value
|
|
3974
4047
|
}
|
|
3975
|
-
]),
|
|
4048
|
+
]), z = c(() => l.value ? "kw-edit-overlay" : "kw-selection-overlay"), I = (A) => {
|
|
3976
4049
|
m.value = A;
|
|
3977
|
-
},
|
|
4050
|
+
}, N = (A) => {
|
|
3978
4051
|
t("update:options", A), t("changeOptions", A);
|
|
3979
|
-
},
|
|
4052
|
+
}, $ = (A, F, K, H) => {
|
|
3980
4053
|
const w = JSON.parse(JSON.stringify(e.options));
|
|
3981
|
-
w[F].keywordGroups[K].editable = A,
|
|
3982
|
-
},
|
|
4054
|
+
w[F].keywordGroups[K].editable = A, N(w), t("changeEditable", { id: H, editable: A });
|
|
4055
|
+
}, h = (A, F, K, H) => {
|
|
3983
4056
|
const w = JSON.parse(JSON.stringify(e.options));
|
|
3984
|
-
w[F].keywordGroups[K].public = A,
|
|
4057
|
+
w[F].keywordGroups[K].public = A, N(w), t("changeVisibility", { id: H, public: A });
|
|
3985
4058
|
}, T = (A, F, K) => {
|
|
3986
4059
|
const H = JSON.parse(JSON.stringify(e.options));
|
|
3987
|
-
H[A].keywordGroups.splice(F, 1),
|
|
4060
|
+
H[A].keywordGroups.splice(F, 1), N(H), t("deleteKeywordGroup", K);
|
|
3988
4061
|
}, R = (A, F) => {
|
|
3989
4062
|
l.value = !0, r.keywordGroup = A, r.parentId = F;
|
|
3990
4063
|
}, G = (A) => {
|
|
@@ -3997,12 +4070,12 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
3997
4070
|
const K = F[u.value].keywordGroups.findIndex((H) => H.id === A.id);
|
|
3998
4071
|
K > -1 && (F[u.value].keywordGroups[K] = A), t("updateKeywordGroup", A, u.value, r.parentId);
|
|
3999
4072
|
}
|
|
4000
|
-
|
|
4073
|
+
N(F), v();
|
|
4001
4074
|
}, v = () => {
|
|
4002
4075
|
l.value = !1, r.keywordGroup = null, r.parentId = null;
|
|
4003
4076
|
}, V = ({ oldIndex: A, newIndex: F }) => {
|
|
4004
4077
|
const K = e.options[u.value].keywordGroups[F];
|
|
4005
|
-
|
|
4078
|
+
N(e.options), t("sort", {
|
|
4006
4079
|
keywordGroup: K,
|
|
4007
4080
|
oldIndex: A,
|
|
4008
4081
|
newIndex: F,
|
|
@@ -4013,33 +4086,33 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4013
4086
|
}, Y = (A) => {
|
|
4014
4087
|
A.stopPropagation(), t("copy");
|
|
4015
4088
|
}, ce = (A) => {
|
|
4016
|
-
A.stopPropagation(), o.value = !0, l.value = !0, r.keywordGroup =
|
|
4089
|
+
A.stopPropagation(), o.value = !0, l.value = !0, r.keywordGroup = Kn(), r.parentId = e.options[u.value].id;
|
|
4017
4090
|
};
|
|
4018
|
-
return (A, F) => (n(), p("div",
|
|
4019
|
-
e?.label ? (n(), p("label",
|
|
4020
|
-
|
|
4091
|
+
return (A, F) => (n(), p("div", S({ class: "ak-keyword-group-selection" }, A.$attrs), [
|
|
4092
|
+
e?.label ? (n(), p("label", Zn, C(e.label), 1)) : g("", !0),
|
|
4093
|
+
k(qn, {
|
|
4021
4094
|
onVisibleChange: G,
|
|
4022
|
-
overlayClassName: s(
|
|
4095
|
+
overlayClassName: s(z),
|
|
4023
4096
|
trigger: ["click"],
|
|
4024
4097
|
visible: o.value,
|
|
4025
4098
|
"onUpdate:visible": F[1] || (F[1] = (K) => o.value = K)
|
|
4026
4099
|
}, J({
|
|
4027
|
-
default:
|
|
4100
|
+
default: y(() => [
|
|
4028
4101
|
b("button", {
|
|
4029
|
-
class: E(s(
|
|
4102
|
+
class: E(s(x))
|
|
4030
4103
|
}, [
|
|
4031
4104
|
s(d) ? (n(), f(Be, {
|
|
4032
4105
|
key: 0,
|
|
4033
4106
|
keywordGroup: s(d)
|
|
4034
|
-
}, null, 8, ["keywordGroup"])) : (n(), p("span",
|
|
4035
|
-
X(
|
|
4107
|
+
}, null, 8, ["keywordGroup"])) : (n(), p("span", Xn, C(e?.placeholder), 1)),
|
|
4108
|
+
X(k(M, {
|
|
4036
4109
|
size: "sm",
|
|
4037
4110
|
class: "chevron-icon",
|
|
4038
4111
|
name: "chevron-down"
|
|
4039
4112
|
}, null, 512), [
|
|
4040
4113
|
[Q, !o.value]
|
|
4041
4114
|
]),
|
|
4042
|
-
X(
|
|
4115
|
+
X(k(M, {
|
|
4043
4116
|
size: "sm",
|
|
4044
4117
|
class: "chevron-icon",
|
|
4045
4118
|
name: "chevron-up"
|
|
@@ -4052,8 +4125,8 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4052
4125
|
}, [
|
|
4053
4126
|
l.value ? {
|
|
4054
4127
|
name: "overlay",
|
|
4055
|
-
fn:
|
|
4056
|
-
|
|
4128
|
+
fn: y(() => [
|
|
4129
|
+
k(Yn, {
|
|
4057
4130
|
onSaveKwGroup: q,
|
|
4058
4131
|
"keyword-group": r.keywordGroup
|
|
4059
4132
|
}, null, 8, ["keyword-group"])
|
|
@@ -4061,34 +4134,34 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4061
4134
|
key: "0"
|
|
4062
4135
|
} : {
|
|
4063
4136
|
name: "overlay",
|
|
4064
|
-
fn:
|
|
4137
|
+
fn: y(() => [
|
|
4065
4138
|
b("div", { class: "kw-selection-overlay-wrapper" }, [
|
|
4066
|
-
|
|
4139
|
+
k(pn, {
|
|
4067
4140
|
animated: !0,
|
|
4068
4141
|
type: "card",
|
|
4069
4142
|
activeKey: i.value,
|
|
4070
4143
|
"onUpdate:activeKey": F[0] || (F[0] = (K) => i.value = K)
|
|
4071
4144
|
}, {
|
|
4072
|
-
default:
|
|
4073
|
-
(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(un, {
|
|
4074
4147
|
key: H.toString(),
|
|
4075
4148
|
tab: K.title
|
|
4076
4149
|
}, {
|
|
4077
|
-
default:
|
|
4078
|
-
|
|
4150
|
+
default: y(() => [
|
|
4151
|
+
k(s(ut), {
|
|
4079
4152
|
"ghost-class": "keyword-group-item__ghost",
|
|
4080
4153
|
list: K.keywordGroups,
|
|
4081
4154
|
"item-key": "id",
|
|
4082
4155
|
handle: ".ma-kw-selection-sort-handler",
|
|
4083
4156
|
onSort: V
|
|
4084
4157
|
}, {
|
|
4085
|
-
item:
|
|
4086
|
-
|
|
4158
|
+
item: y(({ element: w, index: L }) => [
|
|
4159
|
+
k(Be, {
|
|
4087
4160
|
selected: s(m) === w.id,
|
|
4088
4161
|
keywordGroup: w,
|
|
4089
|
-
onClick: (O) =>
|
|
4090
|
-
onUpdateEditable: (O) =>
|
|
4091
|
-
onUpdatePublic: (O) =>
|
|
4162
|
+
onClick: (O) => I(w.id),
|
|
4163
|
+
onUpdateEditable: (O) => $(O, H, L, w.id),
|
|
4164
|
+
onUpdatePublic: (O) => h(O, H, L, w.id),
|
|
4092
4165
|
onDeleteKwGroup: (O) => T(H, L, w.id),
|
|
4093
4166
|
onEdit: (O) => R(w, K.id)
|
|
4094
4167
|
}, null, 8, ["selected", "keywordGroup", "onClick", "onUpdateEditable", "onUpdatePublic", "onDeleteKwGroup", "onEdit"])
|
|
@@ -4106,13 +4179,13 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4106
4179
|
key: "1"
|
|
4107
4180
|
}
|
|
4108
4181
|
]), 1032, ["overlayClassName", "visible"]),
|
|
4109
|
-
|
|
4182
|
+
k(ie, {
|
|
4110
4183
|
type: "secondary",
|
|
4111
4184
|
variant: "border",
|
|
4112
4185
|
icon: "add",
|
|
4113
4186
|
onMousedown: ce
|
|
4114
4187
|
}),
|
|
4115
|
-
|
|
4188
|
+
k(ie, {
|
|
4116
4189
|
type: "secondary",
|
|
4117
4190
|
variant: "border",
|
|
4118
4191
|
icon: "copy",
|
|
@@ -4120,7 +4193,7 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4120
4193
|
tooltipProps: { trigger: ["click"] },
|
|
4121
4194
|
onMousedown: U
|
|
4122
4195
|
}),
|
|
4123
|
-
|
|
4196
|
+
k(ie, {
|
|
4124
4197
|
type: "secondary",
|
|
4125
4198
|
variant: "border",
|
|
4126
4199
|
icon: "direct-inbox",
|
|
@@ -4129,10 +4202,10 @@ const Rn = { class: "keyword-group-item__actions" }, Be = /* @__PURE__ */ x({
|
|
|
4129
4202
|
], 16));
|
|
4130
4203
|
}
|
|
4131
4204
|
});
|
|
4132
|
-
const
|
|
4205
|
+
const ea = { class: "tooltip" }, ta = { class: "tooltip" }, oa = {
|
|
4133
4206
|
name: "MaSlider"
|
|
4134
|
-
},
|
|
4135
|
-
...
|
|
4207
|
+
}, Sl = /* @__PURE__ */ B({
|
|
4208
|
+
...oa,
|
|
4136
4209
|
props: {
|
|
4137
4210
|
dualThumbMode: { type: Boolean, default: !1 },
|
|
4138
4211
|
vertical: { type: Boolean },
|
|
@@ -4146,45 +4219,45 @@ const Wn = { class: "tooltip" }, Jn = { class: "tooltip" }, Yn = {
|
|
|
4146
4219
|
get() {
|
|
4147
4220
|
return e.leftThumbValue;
|
|
4148
4221
|
},
|
|
4149
|
-
set(
|
|
4150
|
-
t("update:leftThumbValue",
|
|
4222
|
+
set($) {
|
|
4223
|
+
t("update:leftThumbValue", $);
|
|
4151
4224
|
}
|
|
4152
4225
|
}), r = c({
|
|
4153
4226
|
get() {
|
|
4154
4227
|
return e.rightThumbValue;
|
|
4155
4228
|
},
|
|
4156
|
-
set(
|
|
4157
|
-
t("update:rightThumbValue",
|
|
4229
|
+
set($) {
|
|
4230
|
+
t("update:rightThumbValue", $);
|
|
4158
4231
|
}
|
|
4159
4232
|
});
|
|
4160
|
-
|
|
4233
|
+
Ue(() => {
|
|
4161
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)));
|
|
4162
4235
|
});
|
|
4163
|
-
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"),
|
|
4164
|
-
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);
|
|
4165
4238
|
return e.vertical ? {
|
|
4166
|
-
bottom: `${
|
|
4167
|
-
top: `${100 -
|
|
4239
|
+
bottom: `${$}%`,
|
|
4240
|
+
top: `${100 - h}%`
|
|
4168
4241
|
} : {
|
|
4169
|
-
left: `${
|
|
4170
|
-
width: `${
|
|
4242
|
+
left: `${$}%`,
|
|
4243
|
+
width: `${h - $ + 5}%`
|
|
4171
4244
|
};
|
|
4172
|
-
}),
|
|
4173
|
-
const
|
|
4245
|
+
}), z = ($) => {
|
|
4246
|
+
const h = $ === "left" ? i : r, T = $ === "left" ? r : i, R = (q) => {
|
|
4174
4247
|
if (!o.value)
|
|
4175
4248
|
return;
|
|
4176
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;
|
|
4177
|
-
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);
|
|
4178
4251
|
}, G = () => {
|
|
4179
4252
|
l.value = !1, window.removeEventListener("mousemove", R), window.removeEventListener("mouseup", G);
|
|
4180
4253
|
};
|
|
4181
4254
|
window.addEventListener("mousemove", R), window.addEventListener("mouseup", G);
|
|
4182
|
-
},
|
|
4255
|
+
}, I = ($) => {
|
|
4183
4256
|
if (l.value || !o.value)
|
|
4184
4257
|
return;
|
|
4185
|
-
const
|
|
4186
|
-
e.dualThumbMode ? T < R ? (i.value =
|
|
4187
|
-
},
|
|
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(() => [
|
|
4188
4261
|
`
|
|
4189
4262
|
ak-slider
|
|
4190
4263
|
ak-slider--${e.type}
|
|
@@ -4193,24 +4266,24 @@ const Wn = { class: "tooltip" }, Jn = { class: "tooltip" }, Yn = {
|
|
|
4193
4266
|
"ak-slider--vertical": e.vertical
|
|
4194
4267
|
}
|
|
4195
4268
|
]);
|
|
4196
|
-
return (
|
|
4197
|
-
class: E(s(
|
|
4269
|
+
return ($, h) => (n(), p("div", {
|
|
4270
|
+
class: E(s(N))
|
|
4198
4271
|
}, [
|
|
4199
4272
|
b("div", {
|
|
4200
4273
|
class: E([s(d), "slider-track"]),
|
|
4201
4274
|
ref_key: "sliderTrack",
|
|
4202
4275
|
ref: o,
|
|
4203
|
-
onMousedown:
|
|
4276
|
+
onMousedown: I
|
|
4204
4277
|
}, null, 34),
|
|
4205
4278
|
b("div", {
|
|
4206
4279
|
class: E([s(m), "slider-range"]),
|
|
4207
|
-
style: Z(s(
|
|
4208
|
-
onMousedown:
|
|
4280
|
+
style: Z(s(x)),
|
|
4281
|
+
onMousedown: I
|
|
4209
4282
|
}, null, 38),
|
|
4210
4283
|
b("div", {
|
|
4211
4284
|
class: "slider-thumb",
|
|
4212
4285
|
style: Z({ [s(u)]: `${s(i)}%` }),
|
|
4213
|
-
onMousedown:
|
|
4286
|
+
onMousedown: h[0] || (h[0] = (T) => z("left"))
|
|
4214
4287
|
}, null, 36),
|
|
4215
4288
|
e.type === "label" ? (n(), p("div", {
|
|
4216
4289
|
key: 0,
|
|
@@ -4221,7 +4294,7 @@ const Wn = { class: "tooltip" }, Jn = { class: "tooltip" }, Yn = {
|
|
|
4221
4294
|
key: 1,
|
|
4222
4295
|
class: "slider-thumb",
|
|
4223
4296
|
style: Z({ [s(u)]: `${s(r)}%` }),
|
|
4224
|
-
onMousedown:
|
|
4297
|
+
onMousedown: h[1] || (h[1] = (T) => z("right"))
|
|
4225
4298
|
}, null, 36)) : g("", !0),
|
|
4226
4299
|
e.dualThumbMode && e.type === "label" ? (n(), p("div", {
|
|
4227
4300
|
key: 2,
|
|
@@ -4232,22 +4305,22 @@ const Wn = { class: "tooltip" }, Jn = { class: "tooltip" }, Yn = {
|
|
|
4232
4305
|
key: 3,
|
|
4233
4306
|
class: "slider-thumb",
|
|
4234
4307
|
style: Z({ [s(u)]: `${s(i)}%` }),
|
|
4235
|
-
onMousedown:
|
|
4308
|
+
onMousedown: h[2] || (h[2] = (T) => z("left"))
|
|
4236
4309
|
}, [
|
|
4237
|
-
b("div",
|
|
4310
|
+
b("div", ea, C(s(i).toFixed(0)) + "%", 1)
|
|
4238
4311
|
], 36)) : g("", !0),
|
|
4239
4312
|
e.dualThumbMode && e.type === "tooltip" ? (n(), p("div", {
|
|
4240
4313
|
key: 4,
|
|
4241
4314
|
class: "slider-thumb",
|
|
4242
4315
|
style: Z({ [s(u)]: `${s(r)}%` }),
|
|
4243
|
-
onMousedown:
|
|
4316
|
+
onMousedown: h[3] || (h[3] = (T) => z("right"))
|
|
4244
4317
|
}, [
|
|
4245
|
-
b("div",
|
|
4318
|
+
b("div", ta, C(s(r).toFixed(0)) + "%", 1)
|
|
4246
4319
|
], 36)) : g("", !0)
|
|
4247
4320
|
], 2));
|
|
4248
4321
|
}
|
|
4249
4322
|
});
|
|
4250
|
-
class
|
|
4323
|
+
class sa {
|
|
4251
4324
|
config = fe({
|
|
4252
4325
|
language: "en"
|
|
4253
4326
|
});
|
|
@@ -4259,7 +4332,7 @@ class Zn {
|
|
|
4259
4332
|
}
|
|
4260
4333
|
}
|
|
4261
4334
|
getConfig() {
|
|
4262
|
-
return
|
|
4335
|
+
return Re(this.config);
|
|
4263
4336
|
}
|
|
4264
4337
|
setLanguage(t) {
|
|
4265
4338
|
this.config.language = t;
|
|
@@ -4268,114 +4341,115 @@ class Zn {
|
|
|
4268
4341
|
return this.config.language;
|
|
4269
4342
|
}
|
|
4270
4343
|
}
|
|
4271
|
-
const
|
|
4272
|
-
function
|
|
4273
|
-
return
|
|
4344
|
+
const na = new sa();
|
|
4345
|
+
function Il() {
|
|
4346
|
+
return Oe(na.getConfig());
|
|
4274
4347
|
}
|
|
4275
4348
|
export {
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4349
|
+
na as ActionKitConfig,
|
|
4350
|
+
ja as Animations,
|
|
4351
|
+
Da as AppIconPlatforms,
|
|
4352
|
+
Pa as AppIconSizes,
|
|
4353
|
+
ma as ButtonIconAlignMents,
|
|
4354
|
+
ua as ButtonShapes,
|
|
4282
4355
|
vt as ButtonSizes,
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4356
|
+
da as ButtonTargets,
|
|
4357
|
+
ca as ButtonTypes,
|
|
4358
|
+
pa as ButtonVariants,
|
|
4359
|
+
Ra as MaAlert,
|
|
4360
|
+
Ka as MaAlertPropTypes,
|
|
4361
|
+
Oa as MaAlertPropVariants,
|
|
4362
|
+
To as MaAnimation,
|
|
4363
|
+
Na as MaAppIcon,
|
|
4364
|
+
Aa as MaAppTrackButton,
|
|
4365
|
+
_l as MaAutoComplete,
|
|
4293
4366
|
_e as MaBadge,
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4367
|
+
Ua as MaBadgePropIconAlignments,
|
|
4368
|
+
Ga as MaBadgePropSizes,
|
|
4369
|
+
Va as MaBadgePropTypes,
|
|
4370
|
+
Fa as MaBadgePropVariants,
|
|
4298
4371
|
oe as MaButton,
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4372
|
+
$l as MaCard,
|
|
4373
|
+
wl as MaCardAlignments,
|
|
4374
|
+
Ml as MaCardIconColors,
|
|
4375
|
+
Cl as MaCardSizes,
|
|
4376
|
+
za as MaCheckbox,
|
|
4377
|
+
Sa as MaCheckboxGroup,
|
|
4378
|
+
kl as MaCountrySelect,
|
|
4379
|
+
xl as MaDrawer,
|
|
4380
|
+
Wo as MaDropdown,
|
|
4381
|
+
Xa as MaDropdownPlacements,
|
|
4382
|
+
Qa as MaDropdownTriggers,
|
|
4383
|
+
ol as MaEmpty,
|
|
4311
4384
|
Ce as MaEmptyIcons,
|
|
4312
|
-
|
|
4313
|
-
|
|
4385
|
+
el as MaEmptySizes,
|
|
4386
|
+
tl as MaEmptyVariants,
|
|
4314
4387
|
Lt as MaForm,
|
|
4315
4388
|
be as MaFormItem,
|
|
4316
|
-
|
|
4389
|
+
Ca as MaFormLayouts,
|
|
4317
4390
|
M as MaIcon,
|
|
4318
4391
|
ie as MaIconButton,
|
|
4319
4392
|
dt as MaIconSizeClassNames,
|
|
4320
|
-
|
|
4393
|
+
ra as MaIconSizes,
|
|
4321
4394
|
ye as MaInput,
|
|
4322
|
-
|
|
4323
|
-
|
|
4395
|
+
Ma as MaInputCurrency,
|
|
4396
|
+
Bl as MaInputNumber,
|
|
4324
4397
|
Ft as MaInputSize,
|
|
4325
4398
|
se as MaInputType,
|
|
4326
|
-
|
|
4399
|
+
zl as MaKeywordGroupSelection,
|
|
4327
4400
|
$e as MaModal,
|
|
4328
4401
|
ke as MaModalTypeIcon,
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4402
|
+
qa as MaModalTypes,
|
|
4403
|
+
Ia as MaNumericInput,
|
|
4404
|
+
qn as MaPopover,
|
|
4405
|
+
dl as MaProgress,
|
|
4406
|
+
vl as MaProgressCircleSizes,
|
|
4407
|
+
gl as MaProgressColors,
|
|
4408
|
+
fl as MaProgressPercentAlignments,
|
|
4409
|
+
ml as MaProgressTypes,
|
|
4336
4410
|
co as MaRadio,
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4411
|
+
La as MaRadioGroup,
|
|
4412
|
+
Ea as MaRadioTypes,
|
|
4413
|
+
Ha as MaRate,
|
|
4414
|
+
Ja as MaRateColors,
|
|
4415
|
+
Wa as MaRateSizes,
|
|
4416
|
+
Ne as MaSelect,
|
|
4343
4417
|
oo as MaSelectOption,
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4418
|
+
ul as MaSideMenuAddNewAppButton,
|
|
4419
|
+
pl as MaSideMenuAppButton,
|
|
4420
|
+
al as MaSideMenuButton,
|
|
4421
|
+
rl as MaSideMenuIconButton,
|
|
4422
|
+
ll as MaSideMenuItem,
|
|
4423
|
+
il as MaSideMenuItemColors,
|
|
4424
|
+
cl as MaSideMenuRoundIconButton,
|
|
4425
|
+
Sl as MaSlider,
|
|
4352
4426
|
we as MaSpin,
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4427
|
+
Za as MaSpinColors,
|
|
4428
|
+
Ya as MaSpinTypes,
|
|
4429
|
+
ha as MaSwitch,
|
|
4430
|
+
bl as MaTabIconAlignMents,
|
|
4431
|
+
un as MaTabPane,
|
|
4432
|
+
yl as MaTabPositions,
|
|
4433
|
+
hl as MaTabTypes,
|
|
4434
|
+
pn as MaTabs,
|
|
4435
|
+
_a as MaToggle,
|
|
4436
|
+
ue as MaTooltip,
|
|
4437
|
+
ga as MaTrackButton,
|
|
4438
|
+
nl as MaUpload,
|
|
4439
|
+
te as MaUploadFileStatus,
|
|
4440
|
+
Qo as MaUploadSizes,
|
|
4441
|
+
sl as MaUploadTypes,
|
|
4442
|
+
Ta as NumericInputSizes,
|
|
4443
|
+
xa as SelectModes,
|
|
4444
|
+
Ba as SelectSizes,
|
|
4445
|
+
ba as SwitchTypes,
|
|
4446
|
+
ya as ToggleSizes,
|
|
4447
|
+
ka as TooltipPlacements,
|
|
4448
|
+
wa as TooltipTriggerTypes,
|
|
4449
|
+
$a as TooltipTypes,
|
|
4450
|
+
fa as TrackButtonSizes,
|
|
4451
|
+
va as TrackButtonVariants,
|
|
4378
4452
|
Gt as currencyOptions,
|
|
4379
4453
|
Vt as currencySymbols,
|
|
4380
|
-
|
|
4454
|
+
Il as useActionKitConfig
|
|
4381
4455
|
};
|