@mobileaction/action-kit 1.14.0 → 1.14.1
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.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, computed as c, defineAsyncComponent as Re, openBlock as o, createBlock as _, resolveDynamicComponent as ne, unref as a, ref as N, watch as re, h as fe, mergeProps as T, createSlots as Y, renderList as R, withCtx as y, renderSlot as f, createElementBlock as u, normalizeClass as P, createCommentVNode as v, createElementVNode as g, createVNode as k, createTextVNode as F, toDisplayString as
|
|
1
|
+
import { defineComponent as B, computed as c, defineAsyncComponent as Re, openBlock as o, createBlock as _, resolveDynamicComponent as ne, unref as a, ref as N, watch as re, h as fe, mergeProps as T, createSlots as Y, renderList as R, withCtx as y, renderSlot as f, createElementBlock as u, normalizeClass as P, createCommentVNode as v, createElementVNode as g, createVNode as k, createTextVNode as F, toDisplayString as C, isRef as ee, Fragment as H, useSlots as ae, useAttrs as Ue, Transition as ze, normalizeProps as Te, onMounted as ue, onBeforeUnmount as Ae, normalizeStyle as J, createApp as Ke, onUnmounted as Le, withDirectives as X, withModifiers as Ne, vShow as Q, withKeys as je, reactive as ye, watchEffect as qe, vModelText as He, provide as ke, inject as $e, readonly as We, toRefs as Je } from "vue";
|
|
2
2
|
import { Button as Pe, Switch as Ye, Tooltip as Ze, Form as Xe, FormItem as Qe, Select as et, InputPassword as tt, Input as st, Textarea as ot, SelectOption as at, Checkbox as nt, CheckboxGroup as lt, Radio as it, RadioGroup as rt, Alert as ct, Modal as ut, Dropdown as dt, Popover as pt, Tabs as mt, TabPane as vt, InputNumber as ft } from "ant-design-vue";
|
|
3
3
|
import gt from "vuedraggable";
|
|
4
4
|
const el = ["xs", "sm", "md", "lg", "xl"], tl = ["1x1", "4x3"], _t = {
|
|
@@ -79,7 +79,7 @@ const el = ["xs", "sm", "md", "lg", "xl"], tl = ["1x1", "4x3"], _t = {
|
|
|
79
79
|
}
|
|
80
80
|
}, bt = {
|
|
81
81
|
name: "MaIcon"
|
|
82
|
-
},
|
|
82
|
+
}, w = /* @__PURE__ */ B({
|
|
83
83
|
...bt,
|
|
84
84
|
props: {
|
|
85
85
|
name: null,
|
|
@@ -150,7 +150,7 @@ const el = ["xs", "sm", "md", "lg", "xl"], tl = ["1x1", "4x3"], _t = {
|
|
|
150
150
|
onKeyup: d,
|
|
151
151
|
role: "button"
|
|
152
152
|
}, p.$attrs, { "prefix-cls": "antd-btn" }), Y({ _: 2 }, [
|
|
153
|
-
R(p.$slots, (
|
|
153
|
+
R(p.$slots, ($, I) => ({
|
|
154
154
|
name: I,
|
|
155
155
|
fn: y(() => [
|
|
156
156
|
f(p.$slots, I)
|
|
@@ -159,12 +159,12 @@ const el = ["xs", "sm", "md", "lg", "xl"], tl = ["1x1", "4x3"], _t = {
|
|
|
159
159
|
a(i) ? {
|
|
160
160
|
name: "icon",
|
|
161
161
|
fn: y(() => [
|
|
162
|
-
e?.loading ? (o(), _(
|
|
162
|
+
e?.loading ? (o(), _(w, {
|
|
163
163
|
key: 0,
|
|
164
164
|
class: "ak-button__loader",
|
|
165
165
|
spin: "",
|
|
166
166
|
name: "loader"
|
|
167
|
-
})) : (o(), _(
|
|
167
|
+
})) : (o(), _(w, {
|
|
168
168
|
key: 1,
|
|
169
169
|
class: "ak-button__icon",
|
|
170
170
|
name: e?.icon
|
|
@@ -229,7 +229,7 @@ const sl = [
|
|
|
229
229
|
return (s, n) => (o(), u("div", {
|
|
230
230
|
class: P(a(e))
|
|
231
231
|
}, [
|
|
232
|
-
t?.icon ? (o(), _(
|
|
232
|
+
t?.icon ? (o(), _(w, {
|
|
233
233
|
key: 0,
|
|
234
234
|
name: t?.icon
|
|
235
235
|
}, null, 8, ["name"])) : v("", !0),
|
|
@@ -271,7 +271,7 @@ const Ct = { class: "icon-wrapper" }, Mt = {
|
|
|
271
271
|
]), n = c(
|
|
272
272
|
() => t.loading ? "loader" : t?.showClose ? "close-circle" : t?.tracked ? "tick-circle-bold" : "add"
|
|
273
273
|
), i = c(() => t.size === "lg" ? "sm" : "xs"), r = c(() => t.tracked || t.loading || e.value ? "blue" : "dark"), d = () => e.value = !0, p = () => e.value = !1;
|
|
274
|
-
return (m,
|
|
274
|
+
return (m, $) => (o(), _(a(Pe), T(m.$attrs, {
|
|
275
275
|
class: a(s),
|
|
276
276
|
disabled: t?.disabled || t?.loading,
|
|
277
277
|
role: "button",
|
|
@@ -281,7 +281,7 @@ const Ct = { class: "icon-wrapper" }, Mt = {
|
|
|
281
281
|
}), Y({
|
|
282
282
|
icon: y(() => [
|
|
283
283
|
g("div", Ct, [
|
|
284
|
-
k(
|
|
284
|
+
k(w, {
|
|
285
285
|
spin: t?.loading,
|
|
286
286
|
name: a(n),
|
|
287
287
|
size: a(i)
|
|
@@ -294,13 +294,13 @@ const Ct = { class: "icon-wrapper" }, Mt = {
|
|
|
294
294
|
size: "small"
|
|
295
295
|
}, {
|
|
296
296
|
default: y(() => [
|
|
297
|
-
F(
|
|
297
|
+
F(C(t.badgeText), 1)
|
|
298
298
|
]),
|
|
299
299
|
_: 1
|
|
300
300
|
}, 8, ["variant"])) : v("", !0)
|
|
301
301
|
]),
|
|
302
302
|
default: y(() => [
|
|
303
|
-
F(" " +
|
|
303
|
+
F(" " + C(l.keyword) + " ", 1)
|
|
304
304
|
]),
|
|
305
305
|
_: 2
|
|
306
306
|
}, [
|
|
@@ -374,8 +374,8 @@ const rl = [
|
|
|
374
374
|
"prefix-cls": "antd-switch"
|
|
375
375
|
}), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
|
|
376
376
|
e.title || e.subTitle ? (o(), u("div", xt, [
|
|
377
|
-
e.title ? (o(), u("span", Bt,
|
|
378
|
-
e.subTitle ? (o(), u("span", St,
|
|
377
|
+
e.title ? (o(), u("span", Bt, C(e.title), 1)) : v("", !0),
|
|
378
|
+
e.subTitle ? (o(), u("span", St, C(e.subTitle), 1)) : v("", !0)
|
|
379
379
|
])) : v("", !0)
|
|
380
380
|
], 2));
|
|
381
381
|
}
|
|
@@ -430,7 +430,7 @@ const dl = [
|
|
|
430
430
|
class: P({ active: e.active === e.leftValue }),
|
|
431
431
|
onClick: d[0] || (d[0] = (p) => i(e.leftValue))
|
|
432
432
|
}, [
|
|
433
|
-
k(
|
|
433
|
+
k(w, {
|
|
434
434
|
name: e.leftIcon
|
|
435
435
|
}, null, 8, ["name"])
|
|
436
436
|
], 2),
|
|
@@ -438,7 +438,7 @@ const dl = [
|
|
|
438
438
|
class: P({ active: e.active === e.rightValue }),
|
|
439
439
|
onClick: d[1] || (d[1] = (p) => i(e.rightValue))
|
|
440
440
|
}, [
|
|
441
|
-
k(
|
|
441
|
+
k(w, {
|
|
442
442
|
name: e.rightIcon
|
|
443
443
|
}, null, 8, ["name"])
|
|
444
444
|
], 2)
|
|
@@ -490,7 +490,7 @@ const ml = [
|
|
|
490
490
|
"prefix-cls": "antd-tooltip"
|
|
491
491
|
}), {
|
|
492
492
|
title: y(() => [
|
|
493
|
-
t.icon ? (o(), _(
|
|
493
|
+
t.icon ? (o(), _(w, {
|
|
494
494
|
key: 0,
|
|
495
495
|
size: "xs",
|
|
496
496
|
name: t.icon
|
|
@@ -498,15 +498,15 @@ const ml = [
|
|
|
498
498
|
f(r.$slots, "icon"),
|
|
499
499
|
g("div", At, [
|
|
500
500
|
g("span", Lt, [
|
|
501
|
-
F(
|
|
501
|
+
F(C(t.title) + " ", 1),
|
|
502
502
|
f(r.$slots, "title")
|
|
503
503
|
]),
|
|
504
504
|
t?.description || r.$slots.description ? (o(), u("span", Nt, [
|
|
505
|
-
F(
|
|
505
|
+
F(C(t.description) + " ", 1),
|
|
506
506
|
f(r.$slots, "description")
|
|
507
507
|
])) : v("", !0)
|
|
508
508
|
]),
|
|
509
|
-
t.closable ? (o(), _(
|
|
509
|
+
t.closable ? (o(), _(w, {
|
|
510
510
|
key: 1,
|
|
511
511
|
onClick: i,
|
|
512
512
|
class: "ak-tooltip-overlay__close",
|
|
@@ -580,7 +580,7 @@ const Gt = /* @__PURE__ */ De(Dt, [["render", Vt]]), Ot = {
|
|
|
580
580
|
resetFields: () => s.value.resetFields(),
|
|
581
581
|
scrollToField: () => s.value.scrollToField(),
|
|
582
582
|
validateFields: () => s.value.validateFields()
|
|
583
|
-
}), (m,
|
|
583
|
+
}), (m, $) => (o(), _(a(Xe), T(m.$attrs, {
|
|
584
584
|
class: "ma-form",
|
|
585
585
|
"prefix-cls": "antd-form",
|
|
586
586
|
ref_key: "form",
|
|
@@ -699,7 +699,7 @@ const Ut = {
|
|
|
699
699
|
key: 1,
|
|
700
700
|
class: P(a(e))
|
|
701
701
|
}, [
|
|
702
|
-
t.avatarText ? (o(), u("span", Yt,
|
|
702
|
+
t.avatarText ? (o(), u("span", Yt, C(t.avatarText), 1)) : (o(), _(w, {
|
|
703
703
|
key: 1,
|
|
704
704
|
name: "user-default",
|
|
705
705
|
class: "default-icon",
|
|
@@ -742,7 +742,7 @@ const es = { class: "dropdown-wrapper" }, ts = { class: "mobile-header" }, ss =
|
|
|
742
742
|
};
|
|
743
743
|
return (r, d) => (o(), u("div", es, [
|
|
744
744
|
g("div", ts, [
|
|
745
|
-
k(
|
|
745
|
+
k(w, {
|
|
746
746
|
size: "lg",
|
|
747
747
|
name: "close-circle",
|
|
748
748
|
onClick: i
|
|
@@ -828,7 +828,7 @@ const es = { class: "dropdown-wrapper" }, ts = { class: "mobile-header" }, ss =
|
|
|
828
828
|
e?.dropdownClassName,
|
|
829
829
|
"ma-select-dropdown",
|
|
830
830
|
!e?.mode && (s?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
|
|
831
|
-
].join(" ")),
|
|
831
|
+
].join(" ")), $ = c(() => e?.loading ? "loader" : e?.suffixIcon), I = c(() => Object.keys(s).filter((E) => !["option"].includes(E))), z = c(() => e?.showArrow || !e?.mode), L = () => {
|
|
832
832
|
i.value = !0;
|
|
833
833
|
}, M = (E) => {
|
|
834
834
|
i.value = E, n.value = "";
|
|
@@ -863,13 +863,13 @@ const es = { class: "dropdown-wrapper" }, ts = { class: "mobile-header" }, ss =
|
|
|
863
863
|
"prefix-cls": "antd-select"
|
|
864
864
|
}), Y({
|
|
865
865
|
suffixIcon: y(() => [
|
|
866
|
-
k(
|
|
866
|
+
k(w, {
|
|
867
867
|
spin: e?.loading,
|
|
868
|
-
name: a(
|
|
868
|
+
name: a($) || "chevron-down"
|
|
869
869
|
}, null, 8, ["spin", "name"]),
|
|
870
870
|
E.$slots?.prefixIcon || e?.prefixIcon ? (o(), u("div", ns, [
|
|
871
871
|
f(E.$slots, "prefixIcon", {}, () => [
|
|
872
|
-
e?.prefixIcon ? (o(), _(
|
|
872
|
+
e?.prefixIcon ? (o(), _(w, {
|
|
873
873
|
key: 0,
|
|
874
874
|
name: e?.prefixIcon
|
|
875
875
|
}, null, 8, ["name"])) : v("", !0)
|
|
@@ -877,7 +877,7 @@ const es = { class: "dropdown-wrapper" }, ts = { class: "mobile-header" }, ss =
|
|
|
877
877
|
])) : v("", !0)
|
|
878
878
|
]),
|
|
879
879
|
removeIcon: y(() => [
|
|
880
|
-
k(
|
|
880
|
+
k(w, {
|
|
881
881
|
name: e?.removeIcon || "close"
|
|
882
882
|
}, null, 8, ["name"])
|
|
883
883
|
]),
|
|
@@ -902,7 +902,7 @@ const es = { class: "dropdown-wrapper" }, ts = { class: "mobile-header" }, ss =
|
|
|
902
902
|
e?.clearIcon ? {
|
|
903
903
|
name: "clearIcon",
|
|
904
904
|
fn: y(() => [
|
|
905
|
-
e?.clearIcon ? (o(), _(
|
|
905
|
+
e?.clearIcon ? (o(), _(w, {
|
|
906
906
|
key: 0,
|
|
907
907
|
name: e?.clearIcon
|
|
908
908
|
}, null, 8, ["name"])) : v("", !0)
|
|
@@ -912,7 +912,7 @@ const es = { class: "dropdown-wrapper" }, ts = { class: "mobile-header" }, ss =
|
|
|
912
912
|
e?.menuItemSelectedIcon ? {
|
|
913
913
|
name: "menuItemSelectedIcon",
|
|
914
914
|
fn: y(() => [
|
|
915
|
-
k(
|
|
915
|
+
k(w, {
|
|
916
916
|
name: e?.menuItemSelectedIcon
|
|
917
917
|
}, null, 8, ["name"])
|
|
918
918
|
]),
|
|
@@ -921,7 +921,7 @@ const es = { class: "dropdown-wrapper" }, ts = { class: "mobile-header" }, ss =
|
|
|
921
921
|
E.$slots.notFoundContent ? void 0 : {
|
|
922
922
|
name: "notFoundContent",
|
|
923
923
|
fn: y(() => [
|
|
924
|
-
k(
|
|
924
|
+
k(w, {
|
|
925
925
|
size: "sm",
|
|
926
926
|
name: "warning"
|
|
927
927
|
}),
|
|
@@ -1004,7 +1004,7 @@ const is = ["for"], rs = {
|
|
|
1004
1004
|
set(h) {
|
|
1005
1005
|
t("update:value", h);
|
|
1006
1006
|
}
|
|
1007
|
-
}), m = c(() => e.amountCurrency ? jt[e.amountCurrency] : null),
|
|
1007
|
+
}), m = c(() => e.amountCurrency ? jt[e.amountCurrency] : null), $ = c({
|
|
1008
1008
|
get() {
|
|
1009
1009
|
return e.amountCurrency;
|
|
1010
1010
|
},
|
|
@@ -1034,7 +1034,7 @@ const is = ["for"], rs = {
|
|
|
1034
1034
|
onClick: D,
|
|
1035
1035
|
class: "ak-input__title",
|
|
1036
1036
|
for: h.$attrs?.id
|
|
1037
|
-
},
|
|
1037
|
+
}, C(e.title), 9, is)) : v("", !0),
|
|
1038
1038
|
e.type !== "textarea" ? (o(), u("div", rs, [
|
|
1039
1039
|
(o(), _(ne(a(I)), T({
|
|
1040
1040
|
value: a(p),
|
|
@@ -1054,11 +1054,11 @@ const is = ["for"], rs = {
|
|
|
1054
1054
|
ref: n
|
|
1055
1055
|
}), Y({
|
|
1056
1056
|
prefix: y(() => [
|
|
1057
|
-
e.prefixIcon ? (o(), _(
|
|
1057
|
+
e.prefixIcon ? (o(), _(w, {
|
|
1058
1058
|
key: 0,
|
|
1059
1059
|
size: "xs",
|
|
1060
1060
|
name: e.prefixIcon
|
|
1061
|
-
}, null, 8, ["name"])) : a(m) ? (o(), u("span", cs,
|
|
1061
|
+
}, null, 8, ["name"])) : a(m) ? (o(), u("span", cs, C(a(m)), 1)) : e.type === a(oe).userInfo ? (o(), _(Ee, {
|
|
1062
1062
|
key: 2,
|
|
1063
1063
|
src: e.avatarUrl,
|
|
1064
1064
|
disabled: e.disabled
|
|
@@ -1067,15 +1067,15 @@ const is = ["for"], rs = {
|
|
|
1067
1067
|
suffix: y(() => [
|
|
1068
1068
|
e.type === "amount" ? (o(), _(Fe, {
|
|
1069
1069
|
key: 0,
|
|
1070
|
-
value: a(
|
|
1071
|
-
"onUpdate:value": O[0] || (O[0] = (U) => ee(
|
|
1070
|
+
value: a($),
|
|
1071
|
+
"onUpdate:value": O[0] || (O[0] = (U) => ee($) ? $.value = U : null),
|
|
1072
1072
|
onChange: x,
|
|
1073
1073
|
dropdownClassName: "ak-input__input__ma-select__dropdown",
|
|
1074
1074
|
options: a(qt),
|
|
1075
1075
|
disabled: e.disabled,
|
|
1076
1076
|
size: "small"
|
|
1077
1077
|
}, null, 8, ["value", "options", "disabled"])) : v("", !0),
|
|
1078
|
-
e.suffixIcon ? (o(), _(
|
|
1078
|
+
e.suffixIcon ? (o(), _(w, {
|
|
1079
1079
|
key: 1,
|
|
1080
1080
|
size: "xs",
|
|
1081
1081
|
name: e.suffixIcon
|
|
@@ -1110,7 +1110,7 @@ const is = ["for"], rs = {
|
|
|
1110
1110
|
}))
|
|
1111
1111
|
]), 1040, ["value", "class", "disabled", "placeholder"])),
|
|
1112
1112
|
f(h.$slots, "hint"),
|
|
1113
|
-
e.hintText ? (o(), u("div", us,
|
|
1113
|
+
e.hintText ? (o(), u("div", us, C(e.hintText), 1)) : v("", !0)
|
|
1114
1114
|
], 2));
|
|
1115
1115
|
}
|
|
1116
1116
|
});
|
|
@@ -1168,7 +1168,7 @@ const ps = {
|
|
|
1168
1168
|
t.hint ? (o(), u("div", {
|
|
1169
1169
|
key: r,
|
|
1170
1170
|
class: "ak-checkbox__hint-text"
|
|
1171
|
-
},
|
|
1171
|
+
}, C(t.hint), 1)) : v("", !0)
|
|
1172
1172
|
])
|
|
1173
1173
|
}))
|
|
1174
1174
|
]), 1040, ["class", "disabled", "indeterminate"]));
|
|
@@ -1195,7 +1195,7 @@ const gs = {
|
|
|
1195
1195
|
t.hint ? (o(), u("div", {
|
|
1196
1196
|
key: i,
|
|
1197
1197
|
class: "ak-checkbox__hint-text"
|
|
1198
|
-
},
|
|
1198
|
+
}, C(t.hint), 1)) : v("", !0)
|
|
1199
1199
|
])
|
|
1200
1200
|
}))
|
|
1201
1201
|
]), 1040));
|
|
@@ -1264,13 +1264,13 @@ const gs = {
|
|
|
1264
1264
|
M.preventDefault(), I();
|
|
1265
1265
|
break;
|
|
1266
1266
|
case "ArrowRight":
|
|
1267
|
-
M.preventDefault(),
|
|
1267
|
+
M.preventDefault(), $();
|
|
1268
1268
|
break;
|
|
1269
1269
|
default:
|
|
1270
|
-
d(M.code) && (M.preventDefault(), z(M.key, b),
|
|
1270
|
+
d(M.code) && (M.preventDefault(), z(M.key, b), $());
|
|
1271
1271
|
break;
|
|
1272
1272
|
}
|
|
1273
|
-
},
|
|
1273
|
+
}, $ = () => {
|
|
1274
1274
|
s.value < e.length && s.value++;
|
|
1275
1275
|
}, I = () => {
|
|
1276
1276
|
e.length >= s.value && s.value > 0 && s.value--;
|
|
@@ -1338,7 +1338,7 @@ const wl = [
|
|
|
1338
1338
|
e.hint ? (o(), u("div", {
|
|
1339
1339
|
key: p,
|
|
1340
1340
|
class: "ma-radio__hint-text"
|
|
1341
|
-
},
|
|
1341
|
+
}, C(e.hint), 1)) : v("", !0)
|
|
1342
1342
|
])
|
|
1343
1343
|
}))
|
|
1344
1344
|
]), 1040, ["class"]));
|
|
@@ -1389,8 +1389,8 @@ const $s = ["aria-checked", "disabled"], ws = ["src", "alt"], Cs = { class: "ma-
|
|
|
1389
1389
|
height: "40"
|
|
1390
1390
|
}, null, 8, ws),
|
|
1391
1391
|
g("span", Cs, [
|
|
1392
|
-
g("span", Ms,
|
|
1393
|
-
e.appCategory ? (o(), u("span", xs,
|
|
1392
|
+
g("span", Ms, C(e.appName), 1),
|
|
1393
|
+
e.appCategory ? (o(), u("span", xs, C(e?.appCategory), 1)) : v("", !0)
|
|
1394
1394
|
]),
|
|
1395
1395
|
g("span", Bs, [
|
|
1396
1396
|
k(ze, {
|
|
@@ -1398,7 +1398,7 @@ const $s = ["aria-checked", "disabled"], ws = ["src", "alt"], Cs = { class: "ma-
|
|
|
1398
1398
|
mode: "out-in"
|
|
1399
1399
|
}, {
|
|
1400
1400
|
default: y(() => [
|
|
1401
|
-
e.loading ? (o(), _(
|
|
1401
|
+
e.loading ? (o(), _(w, {
|
|
1402
1402
|
key: 0,
|
|
1403
1403
|
name: "loader",
|
|
1404
1404
|
size: "xs",
|
|
@@ -1407,7 +1407,7 @@ const $s = ["aria-checked", "disabled"], ws = ["src", "alt"], Cs = { class: "ma-
|
|
|
1407
1407
|
key: 1,
|
|
1408
1408
|
checked: e.checked,
|
|
1409
1409
|
type: "check"
|
|
1410
|
-
}, null, 8, ["checked"])) : (o(), _(
|
|
1410
|
+
}, null, 8, ["checked"])) : (o(), _(w, {
|
|
1411
1411
|
key: 2,
|
|
1412
1412
|
name: "add-circle",
|
|
1413
1413
|
size: "xs"
|
|
@@ -1479,7 +1479,7 @@ const Is = { class: "ak-app-icon__logo" }, zs = ["src"], Ts = {
|
|
|
1479
1479
|
onClick: i,
|
|
1480
1480
|
class: "ak-app-icon-closable"
|
|
1481
1481
|
}, [
|
|
1482
|
-
k(
|
|
1482
|
+
k(w, {
|
|
1483
1483
|
size: "xs",
|
|
1484
1484
|
name: "close-circle"
|
|
1485
1485
|
})
|
|
@@ -1489,7 +1489,7 @@ const Is = { class: "ak-app-icon__logo" }, zs = ["src"], Ts = {
|
|
|
1489
1489
|
src: e.appIcon
|
|
1490
1490
|
}, null, 8, zs),
|
|
1491
1491
|
e?.platform ? (o(), u("span", Ts, [
|
|
1492
|
-
k(
|
|
1492
|
+
k(w, {
|
|
1493
1493
|
size: "xs",
|
|
1494
1494
|
name: a(s)
|
|
1495
1495
|
}, null, 8, ["name"])
|
|
@@ -1503,7 +1503,7 @@ const Is = { class: "ak-app-icon__logo" }, zs = ["src"], Ts = {
|
|
|
1503
1503
|
onClick: i,
|
|
1504
1504
|
class: "ak-app-icon-closable"
|
|
1505
1505
|
}, [
|
|
1506
|
-
k(
|
|
1506
|
+
k(w, {
|
|
1507
1507
|
size: "xs",
|
|
1508
1508
|
name: "close-circle"
|
|
1509
1509
|
})
|
|
@@ -1513,15 +1513,15 @@ const Is = { class: "ak-app-icon__logo" }, zs = ["src"], Ts = {
|
|
|
1513
1513
|
src: e.appIcon
|
|
1514
1514
|
}, null, 8, Ls),
|
|
1515
1515
|
e?.platform ? (o(), u("span", Ns, [
|
|
1516
|
-
k(
|
|
1516
|
+
k(w, {
|
|
1517
1517
|
size: "xs",
|
|
1518
1518
|
name: a(s)
|
|
1519
1519
|
}, null, 8, ["name"])
|
|
1520
1520
|
])) : v("", !0)
|
|
1521
1521
|
])),
|
|
1522
1522
|
e?.appName || e?.appDescription ? (o(), u("div", Ps, [
|
|
1523
|
-
e?.appName ? (o(), u("span", Ds,
|
|
1524
|
-
e?.appDescription ? (o(), u("span", Es,
|
|
1523
|
+
e?.appName ? (o(), u("span", Ds, C(e.appName), 1)) : v("", !0),
|
|
1524
|
+
e?.appDescription ? (o(), u("span", Es, C(e.appDescription), 1)) : v("", !0)
|
|
1525
1525
|
])) : v("", !0)
|
|
1526
1526
|
], 2));
|
|
1527
1527
|
}
|
|
@@ -1596,13 +1596,13 @@ const Ml = [
|
|
|
1596
1596
|
"prefix-cls": "antd-alert"
|
|
1597
1597
|
}), {
|
|
1598
1598
|
closeIcon: y(() => [
|
|
1599
|
-
k(
|
|
1599
|
+
k(w, {
|
|
1600
1600
|
name: "close",
|
|
1601
1601
|
size: "xs"
|
|
1602
1602
|
})
|
|
1603
1603
|
]),
|
|
1604
1604
|
icon: y(() => [
|
|
1605
|
-
t?.icon ? (o(), _(
|
|
1605
|
+
t?.icon ? (o(), _(w, {
|
|
1606
1606
|
key: 0,
|
|
1607
1607
|
name: l.icon,
|
|
1608
1608
|
size: "lg"
|
|
@@ -1655,7 +1655,7 @@ const Nl = [
|
|
|
1655
1655
|
re(
|
|
1656
1656
|
() => s.name,
|
|
1657
1657
|
() => {
|
|
1658
|
-
|
|
1658
|
+
$(), m();
|
|
1659
1659
|
}
|
|
1660
1660
|
);
|
|
1661
1661
|
const p = async () => {
|
|
@@ -1676,13 +1676,13 @@ const Nl = [
|
|
|
1676
1676
|
} catch (I) {
|
|
1677
1677
|
e("onError", I);
|
|
1678
1678
|
}
|
|
1679
|
-
},
|
|
1679
|
+
}, $ = () => {
|
|
1680
1680
|
r.value && r.value.destroy();
|
|
1681
1681
|
};
|
|
1682
1682
|
return ue(async () => {
|
|
1683
1683
|
await p(), m();
|
|
1684
1684
|
}), Ae(() => {
|
|
1685
|
-
|
|
1685
|
+
$();
|
|
1686
1686
|
}), (I, z) => (o(), u("div", {
|
|
1687
1687
|
ref_key: "animationRef",
|
|
1688
1688
|
ref: i,
|
|
@@ -1761,7 +1761,7 @@ const Nl = [
|
|
|
1761
1761
|
{ [`ak-modal__header-icon--${e.type}`]: !!e.type }
|
|
1762
1762
|
]), m = () => {
|
|
1763
1763
|
s.value = !1, t("cancel");
|
|
1764
|
-
},
|
|
1764
|
+
}, $ = () => {
|
|
1765
1765
|
t("ok");
|
|
1766
1766
|
}, I = ae();
|
|
1767
1767
|
return (z, L) => (o(), _(a(ut), T(z.$attrs, {
|
|
@@ -1774,11 +1774,11 @@ const Nl = [
|
|
|
1774
1774
|
"mask-closable": e.maskClosable,
|
|
1775
1775
|
width: e.width,
|
|
1776
1776
|
footer: null,
|
|
1777
|
-
onOk:
|
|
1777
|
+
onOk: $,
|
|
1778
1778
|
onCancel: m
|
|
1779
1779
|
}), {
|
|
1780
1780
|
closeIcon: y(() => [
|
|
1781
|
-
k(
|
|
1781
|
+
k(w, {
|
|
1782
1782
|
name: "close-circle",
|
|
1783
1783
|
size: "sm"
|
|
1784
1784
|
})
|
|
@@ -1788,27 +1788,27 @@ const Nl = [
|
|
|
1788
1788
|
key: 0,
|
|
1789
1789
|
class: P(a(p))
|
|
1790
1790
|
}, [
|
|
1791
|
-
k(
|
|
1791
|
+
k(w, { name: a(n) }, null, 8, ["name"])
|
|
1792
1792
|
], 2)) : v("", !0),
|
|
1793
1793
|
e.title || z.$slots.title ? (o(), u("h1", Ks, [
|
|
1794
1794
|
f(z.$slots, "title"),
|
|
1795
|
-
F(" " +
|
|
1795
|
+
F(" " + C(e.title), 1)
|
|
1796
1796
|
])) : v("", !0),
|
|
1797
1797
|
g("div", js, [
|
|
1798
|
-
e.content ? (o(), u("div", qs,
|
|
1798
|
+
e.content ? (o(), u("div", qs, C(e.content), 1)) : v("", !0),
|
|
1799
1799
|
f(z.$slots, "content"),
|
|
1800
1800
|
f(z.$slots, "default")
|
|
1801
1801
|
]),
|
|
1802
1802
|
a(r) ? (o(), u("div", Hs, [
|
|
1803
1803
|
e.okText ? (o(), _(te, T({
|
|
1804
1804
|
key: 0,
|
|
1805
|
-
onClick:
|
|
1805
|
+
onClick: $,
|
|
1806
1806
|
class: "ak-modal__ok-button",
|
|
1807
1807
|
variant: a(i),
|
|
1808
1808
|
loading: e.confirmLoading
|
|
1809
1809
|
}, e.okButtonProps), {
|
|
1810
1810
|
default: y(() => [
|
|
1811
|
-
F(
|
|
1811
|
+
F(C(e.okText), 1)
|
|
1812
1812
|
]),
|
|
1813
1813
|
_: 1
|
|
1814
1814
|
}, 16, ["variant", "loading"])) : v("", !0),
|
|
@@ -1818,7 +1818,7 @@ const Nl = [
|
|
|
1818
1818
|
type: "grey-link"
|
|
1819
1819
|
}, e.cancelButtonProps), {
|
|
1820
1820
|
default: y(() => [
|
|
1821
|
-
F(
|
|
1821
|
+
F(C(e.cancelText), 1)
|
|
1822
1822
|
]),
|
|
1823
1823
|
_: 1
|
|
1824
1824
|
}, 16)) : v("", !0),
|
|
@@ -1862,7 +1862,7 @@ const Ys = {
|
|
|
1862
1862
|
]), s = c(() => t.starRate - 0.5 === t.value), n = c(() => s.value ? "star-half-colored" : "star-bold");
|
|
1863
1863
|
return (i, r) => (o(), _(ze, { name: "fade" }, {
|
|
1864
1864
|
default: y(() => [
|
|
1865
|
-
k(
|
|
1865
|
+
k(w, {
|
|
1866
1866
|
class: P(a(e)),
|
|
1867
1867
|
name: a(n),
|
|
1868
1868
|
size: l.iconSize
|
|
@@ -1912,7 +1912,7 @@ const Ys = {
|
|
|
1912
1912
|
e?.disabled || (s.value = L);
|
|
1913
1913
|
}, m = () => {
|
|
1914
1914
|
s.value = 0;
|
|
1915
|
-
},
|
|
1915
|
+
}, $ = (L, M) => {
|
|
1916
1916
|
!e?.allowHalf || e.disabled || (L.offsetX < L.target.clientWidth / 2 ? s.value = M - 0.5 : s.value = M);
|
|
1917
1917
|
}, I = (L) => {
|
|
1918
1918
|
e?.disabled || (L.key === "ArrowRight" && e.value < 5 ? z(e.value + (e.allowHalf ? 0.5 : 1)) : L.key === "ArrowLeft" && e.value > 0 && z(e.value - (e.allowHalf ? 0.5 : 1)));
|
|
@@ -1928,7 +1928,7 @@ const Ys = {
|
|
|
1928
1928
|
(o(), u(H, null, R(5, (b) => g("li", {
|
|
1929
1929
|
class: "ak-rate__item",
|
|
1930
1930
|
key: b,
|
|
1931
|
-
onMousemove: (x) =>
|
|
1931
|
+
onMousemove: (x) => $(x, b),
|
|
1932
1932
|
onMouseover: (x) => p(b),
|
|
1933
1933
|
onClick: M[0] || (M[0] = (x) => d())
|
|
1934
1934
|
}, [
|
|
@@ -1982,13 +1982,13 @@ const Vl = [
|
|
|
1982
1982
|
r.$slots.indicator ? (o(), u("div", so, [
|
|
1983
1983
|
f(r.$slots, "indicator")
|
|
1984
1984
|
])) : v("", !0),
|
|
1985
|
-
t.spinning && !r.$slots.indicator ? (o(), _(
|
|
1985
|
+
t.spinning && !r.$slots.indicator ? (o(), _(w, {
|
|
1986
1986
|
key: 1,
|
|
1987
1987
|
class: P(a(n)),
|
|
1988
1988
|
name: a(i)
|
|
1989
1989
|
}, null, 8, ["class", "name"])) : v("", !0),
|
|
1990
1990
|
r.$slots?.tip || t?.tip ? (o(), u("div", oo, [
|
|
1991
|
-
F(
|
|
1991
|
+
F(C(t?.tip) + " ", 1),
|
|
1992
1992
|
f(r.$slots, "tip")
|
|
1993
1993
|
])) : v("", !0)
|
|
1994
1994
|
])) : v("", !0),
|
|
@@ -2101,17 +2101,17 @@ const Kl = [
|
|
|
2101
2101
|
t?.animation ? (o(), _(Us, T({
|
|
2102
2102
|
key: 0,
|
|
2103
2103
|
name: l.animation
|
|
2104
|
-
}, l.animationProps), null, 16, ["name"])) : n.$slots.icon ? f(n.$slots, "icon", { key: 1 }) : (o(), _(
|
|
2104
|
+
}, l.animationProps), null, 16, ["name"])) : n.$slots.icon ? f(n.$slots, "icon", { key: 1 }) : (o(), _(w, {
|
|
2105
2105
|
key: 2,
|
|
2106
2106
|
name: a(e),
|
|
2107
2107
|
class: "ma-empty__icon"
|
|
2108
2108
|
}, null, 8, ["name"])),
|
|
2109
2109
|
g("span", lo, [
|
|
2110
|
-
F(
|
|
2110
|
+
F(C(l.title) + " ", 1),
|
|
2111
2111
|
f(n.$slots, "title")
|
|
2112
2112
|
]),
|
|
2113
2113
|
g("span", io, [
|
|
2114
|
-
F(
|
|
2114
|
+
F(C(l.description) + " ", 1),
|
|
2115
2115
|
f(n.$slots, "description")
|
|
2116
2116
|
]),
|
|
2117
2117
|
g("div", ro, [
|
|
@@ -2147,14 +2147,14 @@ const ve = (l) => {
|
|
|
2147
2147
|
const n = N(0);
|
|
2148
2148
|
return { progress: n, upload: async (r, d) => {
|
|
2149
2149
|
const p = new FormData();
|
|
2150
|
-
p.append(s, r.file), Object.entries(e).forEach(([
|
|
2151
|
-
p.append(
|
|
2150
|
+
p.append(s, r.file), Object.entries(e).forEach(([$, I]) => {
|
|
2151
|
+
p.append($, I);
|
|
2152
2152
|
});
|
|
2153
2153
|
const m = new XMLHttpRequest();
|
|
2154
|
-
m.open("POST", l), Object.entries(t).forEach(([
|
|
2155
|
-
m.setRequestHeader(
|
|
2156
|
-
}), m.upload.onprogress = (
|
|
2157
|
-
|
|
2154
|
+
m.open("POST", l), Object.entries(t).forEach(([$, I]) => {
|
|
2155
|
+
m.setRequestHeader($, I);
|
|
2156
|
+
}), m.upload.onprogress = ($) => {
|
|
2157
|
+
$.lengthComputable && (n.value = $.loaded / $.total * 100, d(se.uploading, n.value));
|
|
2158
2158
|
}, m.onload = () => {
|
|
2159
2159
|
m.status >= 200 && m.status < 300 ? d(
|
|
2160
2160
|
se.done,
|
|
@@ -2208,11 +2208,11 @@ const ve = (l) => {
|
|
|
2208
2208
|
), n = c(() => typeof e.file.file.size == "number"), i = () => t("remove"), r = () => t("cancel");
|
|
2209
2209
|
return (d, p) => (o(), u("div", fo, [
|
|
2210
2210
|
g("div", go, [
|
|
2211
|
-
k(
|
|
2211
|
+
k(w, { name: "document-bulk" })
|
|
2212
2212
|
]),
|
|
2213
2213
|
g("div", _o, [
|
|
2214
|
-
g("span", yo,
|
|
2215
|
-
a(n) ? (o(), u("span", ho,
|
|
2214
|
+
g("span", yo, C(l.file.file.name), 1),
|
|
2215
|
+
a(n) ? (o(), u("span", ho, C(a(s)), 1)) : v("", !0),
|
|
2216
2216
|
g("span", bo, [
|
|
2217
2217
|
g("span", {
|
|
2218
2218
|
class: "progress-item",
|
|
@@ -2238,7 +2238,7 @@ const ve = (l) => {
|
|
|
2238
2238
|
variant: "plain",
|
|
2239
2239
|
icon: "trash-bulk"
|
|
2240
2240
|
}, null, 8, ["disabled"])),
|
|
2241
|
-
g("span", null, "%" +
|
|
2241
|
+
g("span", null, "%" + C(parseInt(l.file.progress.toString())), 1)
|
|
2242
2242
|
])
|
|
2243
2243
|
]));
|
|
2244
2244
|
}
|
|
@@ -2304,7 +2304,7 @@ const ve = (l) => {
|
|
|
2304
2304
|
});
|
|
2305
2305
|
});
|
|
2306
2306
|
}
|
|
2307
|
-
}),
|
|
2307
|
+
}), $ = c(
|
|
2308
2308
|
() => m.value.map((S) => S.file.name).join(", ")
|
|
2309
2309
|
), I = c(
|
|
2310
2310
|
() => e.type === "box" ? e.multiple ? !0 : !m.value.length : !0
|
|
@@ -2413,7 +2413,7 @@ const ve = (l) => {
|
|
|
2413
2413
|
loading: a(x)
|
|
2414
2414
|
}, {
|
|
2415
2415
|
default: y(() => [
|
|
2416
|
-
F(
|
|
2416
|
+
F(C(l.fileList.length ? a($) : e?.title), 1)
|
|
2417
2417
|
]),
|
|
2418
2418
|
_: 1
|
|
2419
2419
|
}, 8, ["type", "size", "disabled", "loading"])) : e.type === "small-box" ? (o(), u("div", {
|
|
@@ -2425,7 +2425,7 @@ const ve = (l) => {
|
|
|
2425
2425
|
key: 0,
|
|
2426
2426
|
type: "three-circles",
|
|
2427
2427
|
color: "blue"
|
|
2428
|
-
})) : (o(), _(
|
|
2428
|
+
})) : (o(), _(w, {
|
|
2429
2429
|
key: 1,
|
|
2430
2430
|
name: "export-2-bulk"
|
|
2431
2431
|
})),
|
|
@@ -2433,7 +2433,7 @@ const ve = (l) => {
|
|
|
2433
2433
|
a(x) ? (o(), u(H, { key: 0 }, [
|
|
2434
2434
|
F(" Uploading... ")
|
|
2435
2435
|
], 64)) : (o(), u(H, { key: 1 }, [
|
|
2436
|
-
F(
|
|
2436
|
+
F(C(e?.title) + " ", 1),
|
|
2437
2437
|
f(S.$slots, "small-box-title")
|
|
2438
2438
|
], 64))
|
|
2439
2439
|
])
|
|
@@ -2461,14 +2461,14 @@ const ve = (l) => {
|
|
|
2461
2461
|
})
|
|
2462
2462
|
], 64)) : (o(), u(H, { key: 1 }, [
|
|
2463
2463
|
g("div", Bo, [
|
|
2464
|
-
k(
|
|
2464
|
+
k(w, { name: "upload-bulk" })
|
|
2465
2465
|
]),
|
|
2466
2466
|
e?.title ? (o(), u("span", So, [
|
|
2467
|
-
F(
|
|
2467
|
+
F(C(e?.title) + " ", 1),
|
|
2468
2468
|
f(S.$slots, "box-title")
|
|
2469
2469
|
])) : v("", !0),
|
|
2470
2470
|
e?.description ? (o(), u("span", Io, [
|
|
2471
|
-
F(
|
|
2471
|
+
F(C(e?.description) + " ", 1),
|
|
2472
2472
|
f(S.$slots, "box-description")
|
|
2473
2473
|
])) : v("", !0)
|
|
2474
2474
|
], 64))
|
|
@@ -2508,7 +2508,7 @@ const To = {
|
|
|
2508
2508
|
"ma-side-menu-button",
|
|
2509
2509
|
{ active: t?.active }
|
|
2510
2510
|
]), r = c(() => e.value || t.active), d = () => e.value = !0, p = () => e.value = !1;
|
|
2511
|
-
return (m,
|
|
2511
|
+
return (m, $) => (o(), _(ne(a(s)), T({
|
|
2512
2512
|
onMousedown: d,
|
|
2513
2513
|
onMouseup: p,
|
|
2514
2514
|
role: "button",
|
|
@@ -2518,13 +2518,13 @@ const To = {
|
|
|
2518
2518
|
}, m.$attrs), {
|
|
2519
2519
|
default: y(() => [
|
|
2520
2520
|
t?.icon ? (o(), u(H, { key: 0 }, [
|
|
2521
|
-
X(k(
|
|
2521
|
+
X(k(w, {
|
|
2522
2522
|
size: "md",
|
|
2523
2523
|
name: a(n)
|
|
2524
2524
|
}, null, 8, ["name"]), [
|
|
2525
2525
|
[Q, a(r)]
|
|
2526
2526
|
]),
|
|
2527
|
-
X(k(
|
|
2527
|
+
X(k(w, {
|
|
2528
2528
|
size: "md",
|
|
2529
2529
|
name: t.icon
|
|
2530
2530
|
}, null, 8, ["name"]), [
|
|
@@ -2532,7 +2532,7 @@ const To = {
|
|
|
2532
2532
|
])
|
|
2533
2533
|
], 64)) : v("", !0),
|
|
2534
2534
|
g("span", null, [
|
|
2535
|
-
F(
|
|
2535
|
+
F(C(t?.text) + " ", 1),
|
|
2536
2536
|
f(m.$slots, "default")
|
|
2537
2537
|
])
|
|
2538
2538
|
]),
|
|
@@ -2580,20 +2580,20 @@ const Ao = {
|
|
|
2580
2580
|
default: y(() => [
|
|
2581
2581
|
g("span", null, [
|
|
2582
2582
|
t?.icon ? (o(), u("div", Ao, [
|
|
2583
|
-
X(k(
|
|
2583
|
+
X(k(w, {
|
|
2584
2584
|
size: "xs",
|
|
2585
2585
|
name: a(n)
|
|
2586
2586
|
}, null, 8, ["name"]), [
|
|
2587
2587
|
[Q, t.active]
|
|
2588
2588
|
]),
|
|
2589
|
-
X(k(
|
|
2589
|
+
X(k(w, {
|
|
2590
2590
|
size: "xs",
|
|
2591
2591
|
name: t.icon
|
|
2592
2592
|
}, null, 8, ["name"]), [
|
|
2593
2593
|
[Q, !t.active]
|
|
2594
2594
|
])
|
|
2595
2595
|
])) : v("", !0),
|
|
2596
|
-
F(" " +
|
|
2596
|
+
F(" " + C(t?.text) + " ", 1),
|
|
2597
2597
|
f(i.$slots, "default")
|
|
2598
2598
|
]),
|
|
2599
2599
|
t.badgeText ? (o(), _(me, {
|
|
@@ -2602,7 +2602,7 @@ const Ao = {
|
|
|
2602
2602
|
variant: t.badgeColor
|
|
2603
2603
|
}, {
|
|
2604
2604
|
default: y(() => [
|
|
2605
|
-
F(
|
|
2605
|
+
F(C(l.badgeText), 1)
|
|
2606
2606
|
]),
|
|
2607
2607
|
_: 1
|
|
2608
2608
|
}, 8, ["variant"])) : v("", !0)
|
|
@@ -2638,7 +2638,7 @@ const Ql = [
|
|
|
2638
2638
|
"ma-side-menu-icon-button",
|
|
2639
2639
|
{ active: t?.active }
|
|
2640
2640
|
]), d = () => e.value = !0, p = () => e.value = !1;
|
|
2641
|
-
return (m,
|
|
2641
|
+
return (m, $) => t?.tooltipText ? (o(), _(pe, {
|
|
2642
2642
|
key: 0,
|
|
2643
2643
|
overlayClassName: "ma-icon-button-tooltip",
|
|
2644
2644
|
title: t?.tooltipText,
|
|
@@ -2655,13 +2655,13 @@ const Ql = [
|
|
|
2655
2655
|
role: "button"
|
|
2656
2656
|
}, m.$attrs), {
|
|
2657
2657
|
default: y(() => [
|
|
2658
|
-
X(k(
|
|
2658
|
+
X(k(w, {
|
|
2659
2659
|
size: "xs",
|
|
2660
2660
|
name: a(i)
|
|
2661
2661
|
}, null, 8, ["name"]), [
|
|
2662
2662
|
[Q, a(n)]
|
|
2663
2663
|
]),
|
|
2664
|
-
X(k(
|
|
2664
|
+
X(k(w, {
|
|
2665
2665
|
size: "xs",
|
|
2666
2666
|
name: t.icon
|
|
2667
2667
|
}, null, 8, ["name"]), [
|
|
@@ -2683,13 +2683,13 @@ const Ql = [
|
|
|
2683
2683
|
role: "button"
|
|
2684
2684
|
}, m.$attrs), {
|
|
2685
2685
|
default: y(() => [
|
|
2686
|
-
X(k(
|
|
2686
|
+
X(k(w, {
|
|
2687
2687
|
size: "xs",
|
|
2688
2688
|
name: a(i)
|
|
2689
2689
|
}, null, 8, ["name"]), [
|
|
2690
2690
|
[Q, a(n)]
|
|
2691
2691
|
]),
|
|
2692
|
-
X(k(
|
|
2692
|
+
X(k(w, {
|
|
2693
2693
|
size: "xs",
|
|
2694
2694
|
name: t.icon
|
|
2695
2695
|
}, null, 8, ["name"]), [
|
|
@@ -2715,7 +2715,7 @@ const Po = {
|
|
|
2715
2715
|
class: "ma-side-menu-round-icon-button",
|
|
2716
2716
|
role: "button"
|
|
2717
2717
|
}, e.$attrs), [
|
|
2718
|
-
k(
|
|
2718
|
+
k(w, {
|
|
2719
2719
|
size: "xs",
|
|
2720
2720
|
name: t.icon
|
|
2721
2721
|
}, null, 8, ["name"]),
|
|
@@ -2779,7 +2779,7 @@ const Fo = {
|
|
|
2779
2779
|
class: "ma-add-new-app-button"
|
|
2780
2780
|
}), {
|
|
2781
2781
|
default: y(() => [
|
|
2782
|
-
F(
|
|
2782
|
+
F(C(t?.text) + " ", 1),
|
|
2783
2783
|
f(e.$slots, "default")
|
|
2784
2784
|
]),
|
|
2785
2785
|
_: 3
|
|
@@ -2860,15 +2860,15 @@ const Vo = { class: "ma-progress-circle" }, Go = ["viewBox"], Oo = ["d", "stroke
|
|
|
2860
2860
|
class: "percent"
|
|
2861
2861
|
}, null, 8, Ro)) : v("", !0)
|
|
2862
2862
|
], 8, Go)),
|
|
2863
|
-
t?.icon ? (o(), _(
|
|
2863
|
+
t?.icon ? (o(), _(w, {
|
|
2864
2864
|
key: 0,
|
|
2865
2865
|
name: t.icon
|
|
2866
2866
|
}, null, 8, ["name"])) : (o(), u("label", Uo, [
|
|
2867
2867
|
t?.label || i.$slots.customLabel ? (o(), u("span", Ko, [
|
|
2868
|
-
F(
|
|
2868
|
+
F(C(t.label) + " ", 1),
|
|
2869
2869
|
f(i.$slots, "customLabel")
|
|
2870
2870
|
])) : v("", !0),
|
|
2871
|
-
g("span", jo,
|
|
2871
|
+
g("span", jo, C(t?.percent) + "% ", 1)
|
|
2872
2872
|
]))
|
|
2873
2873
|
]));
|
|
2874
2874
|
}
|
|
@@ -2902,10 +2902,10 @@ const Vo = { class: "ma-progress-circle" }, Go = ["viewBox"], Oo = ["d", "stroke
|
|
|
2902
2902
|
style: J(a(e))
|
|
2903
2903
|
}, null, 4)
|
|
2904
2904
|
]),
|
|
2905
|
-
t?.icon ? (o(), _(
|
|
2905
|
+
t?.icon ? (o(), _(w, {
|
|
2906
2906
|
key: 0,
|
|
2907
2907
|
name: t.icon
|
|
2908
|
-
}, null, 8, ["name"])) : l.showPercent ? (o(), u("label", Jo,
|
|
2908
|
+
}, null, 8, ["name"])) : l.showPercent ? (o(), u("label", Jo, C(t.percent) + "%", 1)) : v("", !0),
|
|
2909
2909
|
n.$slots.customLabel ? (o(), u("label", Yo, [
|
|
2910
2910
|
f(n.$slots, "customLabel")
|
|
2911
2911
|
])) : v("", !0)
|
|
@@ -2918,10 +2918,10 @@ const Vo = { class: "ma-progress-circle" }, Go = ["viewBox"], Oo = ["d", "stroke
|
|
|
2918
2918
|
style: J(a(e))
|
|
2919
2919
|
}, null, 4)
|
|
2920
2920
|
]),
|
|
2921
|
-
t?.icon ? (o(), _(
|
|
2921
|
+
t?.icon ? (o(), _(w, {
|
|
2922
2922
|
key: 0,
|
|
2923
2923
|
name: t.icon
|
|
2924
|
-
}, null, 8, ["name"])) : l.showPercent ? (o(), u("label", Xo,
|
|
2924
|
+
}, null, 8, ["name"])) : l.showPercent ? (o(), u("label", Xo, C(t.percent) + "%", 1)) : v("", !0),
|
|
2925
2925
|
n.$slots.customLabel ? (o(), u("label", Qo, [
|
|
2926
2926
|
f(n.$slots, "customLabel")
|
|
2927
2927
|
])) : v("", !0)
|
|
@@ -3002,15 +3002,15 @@ const Vo = { class: "ma-progress-circle" }, Go = ["viewBox"], Oo = ["d", "stroke
|
|
|
3002
3002
|
class: "percent"
|
|
3003
3003
|
}, null, 8, aa)) : v("", !0)
|
|
3004
3004
|
], 8, sa)),
|
|
3005
|
-
t?.icon ? (o(), _(
|
|
3005
|
+
t?.icon ? (o(), _(w, {
|
|
3006
3006
|
key: 0,
|
|
3007
3007
|
name: t.icon
|
|
3008
3008
|
}, null, 8, ["name"])) : (o(), u("label", na, [
|
|
3009
3009
|
t?.label || i.$slots.customLabel ? (o(), u("span", la, [
|
|
3010
|
-
F(
|
|
3010
|
+
F(C(t?.label) + " ", 1),
|
|
3011
3011
|
f(i.$slots, "customLabel")
|
|
3012
3012
|
])) : v("", !0),
|
|
3013
|
-
g("span", ia,
|
|
3013
|
+
g("span", ia, C(t?.percent) + "% ", 1)
|
|
3014
3014
|
]))
|
|
3015
3015
|
]));
|
|
3016
3016
|
}
|
|
@@ -3045,10 +3045,10 @@ const Vo = { class: "ma-progress-circle" }, Go = ["viewBox"], Oo = ["d", "stroke
|
|
|
3045
3045
|
}, null, 4)
|
|
3046
3046
|
])), 64))
|
|
3047
3047
|
]),
|
|
3048
|
-
t?.icon ? (o(), _(
|
|
3048
|
+
t?.icon ? (o(), _(w, {
|
|
3049
3049
|
key: 0,
|
|
3050
3050
|
name: t.icon
|
|
3051
|
-
}, null, 8, ["name"])) : t?.showPercent ? (o(), u("label", da,
|
|
3051
|
+
}, null, 8, ["name"])) : t?.showPercent ? (o(), u("label", da, C(t.percent) + "%", 1)) : v("", !0),
|
|
3052
3052
|
s.$slots.customLabel ? (o(), u("label", pa, [
|
|
3053
3053
|
f(s.$slots, "customLabel")
|
|
3054
3054
|
])) : v("", !0)
|
|
@@ -3220,16 +3220,16 @@ const ga = {
|
|
|
3220
3220
|
set(h) {
|
|
3221
3221
|
t("update:value", h), d.value = -1;
|
|
3222
3222
|
}
|
|
3223
|
-
}), m = c(() => e?.avatarUrl ? oe.userInfo : oe.text),
|
|
3223
|
+
}), m = c(() => e?.avatarUrl ? oe.userInfo : oe.text), $ = c(() => !!s.default), I = c(
|
|
3224
3224
|
() => e.options.filter(
|
|
3225
3225
|
(h) => e.filterFn(p.value || "", h)
|
|
3226
3226
|
)
|
|
3227
3227
|
), z = (h) => {
|
|
3228
3228
|
const O = h?.value || h?.label || h;
|
|
3229
|
-
p.value = O,
|
|
3229
|
+
p.value = O, $.value && r.value && (r.value.value = O), n.value = !1;
|
|
3230
3230
|
}, L = async () => {
|
|
3231
3231
|
const h = `${r.value?.value}`;
|
|
3232
|
-
t("search", h),
|
|
3232
|
+
t("search", h), $.value && t("update:value", h), n.value || (n.value = !0);
|
|
3233
3233
|
}, M = (h) => {
|
|
3234
3234
|
n.value = !0;
|
|
3235
3235
|
}, b = (h) => {
|
|
@@ -3279,8 +3279,8 @@ const ga = {
|
|
|
3279
3279
|
key: 0,
|
|
3280
3280
|
label: U?.label,
|
|
3281
3281
|
value: U.value
|
|
3282
|
-
}) : (o(), u("span", ha,
|
|
3283
|
-
U?.value === a(p) ? (o(), _(
|
|
3282
|
+
}) : (o(), u("span", ha, C(U?.label || U?.value), 1)),
|
|
3283
|
+
U?.value === a(p) ? (o(), _(w, {
|
|
3284
3284
|
key: 2,
|
|
3285
3285
|
name: "tick",
|
|
3286
3286
|
size: "sm"
|
|
@@ -3294,7 +3294,7 @@ const ga = {
|
|
|
3294
3294
|
g("div", {
|
|
3295
3295
|
class: P(a(q))
|
|
3296
3296
|
}, [
|
|
3297
|
-
e.label ? (o(), u("label", ga,
|
|
3297
|
+
e.label ? (o(), u("label", ga, C(e.label), 1)) : v("", !0),
|
|
3298
3298
|
h.$slots.default ? f(h.$slots, "default", { key: 1 }) : (o(), _(he, {
|
|
3299
3299
|
key: 2,
|
|
3300
3300
|
autofocus: e.autofocus,
|
|
@@ -3346,7 +3346,7 @@ const ka = {
|
|
|
3346
3346
|
"onUpdate:activeKey": i[0] || (i[0] = (r) => ee(s) ? s.value = r : null)
|
|
3347
3347
|
}, n.$attrs), Y({
|
|
3348
3348
|
moreIcon: y(() => [
|
|
3349
|
-
k(
|
|
3349
|
+
k(w, {
|
|
3350
3350
|
name: "ellipsis-horizontal",
|
|
3351
3351
|
size: "xs"
|
|
3352
3352
|
})
|
|
@@ -3436,13 +3436,13 @@ const ui = [
|
|
|
3436
3436
|
}, {
|
|
3437
3437
|
default: y(() => [
|
|
3438
3438
|
g("div", Ca, [
|
|
3439
|
-
k(
|
|
3439
|
+
k(w, {
|
|
3440
3440
|
name: n(p.code),
|
|
3441
3441
|
size: "sm",
|
|
3442
3442
|
round: ""
|
|
3443
3443
|
}, null, 8, ["name"]),
|
|
3444
|
-
g("span", Ma,
|
|
3445
|
-
g("span", xa,
|
|
3444
|
+
g("span", Ma, C(p.name), 1),
|
|
3445
|
+
g("span", xa, C(p.code), 1)
|
|
3446
3446
|
])
|
|
3447
3447
|
]),
|
|
3448
3448
|
_: 2
|
|
@@ -3530,7 +3530,7 @@ const Sa = {
|
|
|
3530
3530
|
() => Boolean(
|
|
3531
3531
|
e?.contentIcon || s?.contentTitle || s?.contentDescription || s?.default
|
|
3532
3532
|
)
|
|
3533
|
-
),
|
|
3533
|
+
), $ = c(
|
|
3534
3534
|
() => Boolean(
|
|
3535
3535
|
s?.footerTitle || s?.footerDescription || s?.footerActions || s?.footer
|
|
3536
3536
|
)
|
|
@@ -3553,18 +3553,18 @@ const Sa = {
|
|
|
3553
3553
|
src: e.headerAvatar,
|
|
3554
3554
|
class: "card-avatar"
|
|
3555
3555
|
}, null, 8, Ia)) : v("", !0),
|
|
3556
|
-
e?.headerIcon ? (o(), _(
|
|
3556
|
+
e?.headerIcon ? (o(), _(w, {
|
|
3557
3557
|
key: 1,
|
|
3558
3558
|
name: e.headerIcon,
|
|
3559
3559
|
class: "card-icon"
|
|
3560
3560
|
}, null, 8, ["name"])) : v("", !0),
|
|
3561
3561
|
g("div", za, [
|
|
3562
3562
|
e?.title || b.$slots?.title ? (o(), u("h1", Ta, [
|
|
3563
|
-
F(
|
|
3563
|
+
F(C(e.title), 1),
|
|
3564
3564
|
f(b.$slots, "title")
|
|
3565
3565
|
])) : v("", !0),
|
|
3566
3566
|
e?.description || b.$slots.description ? (o(), u("p", Aa, [
|
|
3567
|
-
F(
|
|
3567
|
+
F(C(e.description), 1),
|
|
3568
3568
|
f(b.$slots, "description")
|
|
3569
3569
|
])) : v("", !0),
|
|
3570
3570
|
f(b.$slots, "headerContent")
|
|
@@ -3596,7 +3596,7 @@ const Sa = {
|
|
|
3596
3596
|
key: 1,
|
|
3597
3597
|
class: P(a(r))
|
|
3598
3598
|
}, [
|
|
3599
|
-
e?.contentIcon ? (o(), _(
|
|
3599
|
+
e?.contentIcon ? (o(), _(w, {
|
|
3600
3600
|
key: 0,
|
|
3601
3601
|
name: e.contentIcon,
|
|
3602
3602
|
class: "card-icon"
|
|
@@ -3611,7 +3611,7 @@ const Sa = {
|
|
|
3611
3611
|
f(b.$slots, "default")
|
|
3612
3612
|
])) : v("", !0)
|
|
3613
3613
|
], 2)) : v("", !0),
|
|
3614
|
-
a(
|
|
3614
|
+
a($) ? (o(), u("div", {
|
|
3615
3615
|
key: 2,
|
|
3616
3616
|
class: P(a(d))
|
|
3617
3617
|
}, [
|
|
@@ -3702,7 +3702,7 @@ const fi = [
|
|
|
3702
3702
|
k(a(ft), {
|
|
3703
3703
|
class: P(a(i)),
|
|
3704
3704
|
value: a(n),
|
|
3705
|
-
"onUpdate:value": m[0] || (m[0] = (
|
|
3705
|
+
"onUpdate:value": m[0] || (m[0] = ($) => ee(n) ? n.value = $ : null),
|
|
3706
3706
|
disabled: l.disabled,
|
|
3707
3707
|
step: e?.stepCount,
|
|
3708
3708
|
autofocus: e?.autofocus,
|
|
@@ -3724,14 +3724,14 @@ const fi = [
|
|
|
3724
3724
|
e.addonBefore || p.$slots?.addonBefore ? {
|
|
3725
3725
|
name: "addonBefore",
|
|
3726
3726
|
fn: y(() => [
|
|
3727
|
-
e.addonBefore ? (o(), u("span", Ra,
|
|
3727
|
+
e.addonBefore ? (o(), u("span", Ra, C(e.addonBefore), 1)) : f(p.$slots, "addonBefore", { key: 1 })
|
|
3728
3728
|
]),
|
|
3729
3729
|
key: "0"
|
|
3730
3730
|
} : void 0,
|
|
3731
3731
|
e.addonAfter || p.$slots?.addonAfter ? {
|
|
3732
3732
|
name: "addonAfter",
|
|
3733
3733
|
fn: y(() => [
|
|
3734
|
-
e.addonAfter ? (o(), u("span", Ua,
|
|
3734
|
+
e.addonAfter ? (o(), u("span", Ua, C(e.addonAfter), 1)) : f(p.$slots, "addonAfter", { key: 1 })
|
|
3735
3735
|
]),
|
|
3736
3736
|
key: "1"
|
|
3737
3737
|
} : void 0
|
|
@@ -3800,10 +3800,10 @@ const ja = ["visible"], qa = { class: "ak-drawer-content-wrapper" }, Ha = { clas
|
|
|
3800
3800
|
d.$slots?.header ? (o(), u("div", Ja, [
|
|
3801
3801
|
f(d.$slots, "header", {}, () => [
|
|
3802
3802
|
e.title ? (o(), u("div", Ya, [
|
|
3803
|
-
g("h1", null,
|
|
3803
|
+
g("h1", null, C(e?.title), 1)
|
|
3804
3804
|
])) : v("", !0),
|
|
3805
3805
|
e.description ? (o(), u("div", Za, [
|
|
3806
|
-
g("p", null,
|
|
3806
|
+
g("p", null, C(e?.description), 1)
|
|
3807
3807
|
])) : v("", !0)
|
|
3808
3808
|
])
|
|
3809
3809
|
])) : v("", !0)
|
|
@@ -3812,7 +3812,7 @@ const ja = ["visible"], qa = { class: "ak-drawer-content-wrapper" }, Ha = { clas
|
|
|
3812
3812
|
class: "ak-drawer-close-button",
|
|
3813
3813
|
onClick: i
|
|
3814
3814
|
}, [
|
|
3815
|
-
k(
|
|
3815
|
+
k(w, {
|
|
3816
3816
|
name: "close",
|
|
3817
3817
|
size: "md"
|
|
3818
3818
|
})
|
|
@@ -3890,27 +3890,27 @@ const _e = [
|
|
|
3890
3890
|
}
|
|
3891
3891
|
return "sm";
|
|
3892
3892
|
}), p = () => e.value = !0, m = () => e.value = !1;
|
|
3893
|
-
return (
|
|
3893
|
+
return ($, I) => (o(), _(ne(a(n)), T({
|
|
3894
3894
|
onMousedown: p,
|
|
3895
3895
|
onMouseup: m,
|
|
3896
3896
|
class: a(s),
|
|
3897
3897
|
href: t?.href,
|
|
3898
3898
|
target: t?.target
|
|
3899
|
-
},
|
|
3899
|
+
}, $.$attrs), {
|
|
3900
3900
|
default: y(() => [
|
|
3901
|
-
X(k(
|
|
3901
|
+
X(k(w, {
|
|
3902
3902
|
size: a(d),
|
|
3903
3903
|
name: a(i)
|
|
3904
3904
|
}, null, 8, ["size", "name"]), [
|
|
3905
3905
|
[Q, a(r)]
|
|
3906
3906
|
]),
|
|
3907
|
-
X(k(
|
|
3907
|
+
X(k(w, {
|
|
3908
3908
|
size: a(d),
|
|
3909
3909
|
name: t.icon
|
|
3910
3910
|
}, null, 8, ["size", "name"]), [
|
|
3911
3911
|
[Q, !a(r)]
|
|
3912
3912
|
]),
|
|
3913
|
-
f(
|
|
3913
|
+
f($.$slots, "default")
|
|
3914
3914
|
]),
|
|
3915
3915
|
_: 3
|
|
3916
3916
|
}, 16, ["class", "href", "target"]));
|
|
@@ -4006,26 +4006,26 @@ const an = { class: "keyword-group-item__actions" }, Ie = /* @__PURE__ */ B({
|
|
|
4006
4006
|
}, p = () => {
|
|
4007
4007
|
t("edit");
|
|
4008
4008
|
};
|
|
4009
|
-
return (m,
|
|
4009
|
+
return (m, $) => (o(), u("div", {
|
|
4010
4010
|
class: P(a(s))
|
|
4011
4011
|
}, [
|
|
4012
|
-
k(
|
|
4012
|
+
k(w, {
|
|
4013
4013
|
class: "ma-kw-selection-sort-handler",
|
|
4014
4014
|
name: "drag",
|
|
4015
4015
|
size: "md"
|
|
4016
4016
|
}),
|
|
4017
|
-
k(
|
|
4017
|
+
k(w, {
|
|
4018
4018
|
name: "dot",
|
|
4019
4019
|
size: "xs",
|
|
4020
4020
|
style: J({ color: l.keywordGroup.color })
|
|
4021
4021
|
}, null, 8, ["style"]),
|
|
4022
|
-
g("span", null,
|
|
4022
|
+
g("span", null, C(l.keywordGroup.name), 1),
|
|
4023
4023
|
k(me, {
|
|
4024
4024
|
type: a(n),
|
|
4025
4025
|
size: "small"
|
|
4026
4026
|
}, {
|
|
4027
4027
|
default: y(() => [
|
|
4028
|
-
F(
|
|
4028
|
+
F(C(l.keywordGroup.keywordCount), 1)
|
|
4029
4029
|
]),
|
|
4030
4030
|
_: 1
|
|
4031
4031
|
}, 8, ["type"]),
|
|
@@ -4072,25 +4072,25 @@ const an = { class: "keyword-group-item__actions" }, Ie = /* @__PURE__ */ B({
|
|
|
4072
4072
|
}), n = {
|
|
4073
4073
|
name: [{ required: !0, message: "Group name is required" }],
|
|
4074
4074
|
color: [{ required: !0, message: "Color is required" }]
|
|
4075
|
-
}, i = c(() => e.keywordGroup?.new), r = c(() => i.value ? "Create Group" : "Edit Group"), d = (
|
|
4076
|
-
color:
|
|
4077
|
-
border: "1px solid " + (
|
|
4078
|
-
}), p = (
|
|
4079
|
-
s.color =
|
|
4075
|
+
}, i = c(() => e.keywordGroup?.new), r = c(() => i.value ? "Create Group" : "Edit Group"), d = ($) => ({
|
|
4076
|
+
color: $,
|
|
4077
|
+
border: "1px solid " + ($ === s.color ? $ : "#F2F4F7")
|
|
4078
|
+
}), p = ($) => {
|
|
4079
|
+
s.color = $;
|
|
4080
4080
|
}, m = () => {
|
|
4081
4081
|
t("saveKwGroup", {
|
|
4082
4082
|
...e.keywordGroup,
|
|
4083
4083
|
...s
|
|
4084
4084
|
});
|
|
4085
4085
|
};
|
|
4086
|
-
return (
|
|
4086
|
+
return ($, I) => (o(), _(Rt, {
|
|
4087
4087
|
class: "kw-group-form",
|
|
4088
4088
|
model: s,
|
|
4089
4089
|
rules: n,
|
|
4090
4090
|
onFinish: m
|
|
4091
4091
|
}, {
|
|
4092
4092
|
default: y(() => [
|
|
4093
|
-
g("h3", null,
|
|
4093
|
+
g("h3", null, C(a(r)), 1),
|
|
4094
4094
|
k(we, { name: "name" }, {
|
|
4095
4095
|
default: y(() => [
|
|
4096
4096
|
k(he, {
|
|
@@ -4172,7 +4172,7 @@ const an = { class: "keyword-group-item__actions" }, Ie = /* @__PURE__ */ B({
|
|
|
4172
4172
|
set(A) {
|
|
4173
4173
|
t("update:value", A), t("change", A);
|
|
4174
4174
|
}
|
|
4175
|
-
}),
|
|
4175
|
+
}), $ = c(() => [
|
|
4176
4176
|
"kw-dropdown-button",
|
|
4177
4177
|
{
|
|
4178
4178
|
"kw-dropdown-button--active": s.value
|
|
@@ -4221,7 +4221,7 @@ const an = { class: "keyword-group-item__actions" }, Ie = /* @__PURE__ */ B({
|
|
|
4221
4221
|
A.stopPropagation(), s.value = !0, n.value = !0, r.keywordGroup = sn(), r.parentId = e.options[d.value].id;
|
|
4222
4222
|
};
|
|
4223
4223
|
return (A, G) => (o(), u("div", T({ class: "ak-keyword-group-selection" }, A.$attrs), [
|
|
4224
|
-
e?.label ? (o(), u("label", rn,
|
|
4224
|
+
e?.label ? (o(), u("label", rn, C(e.label), 1)) : v("", !0),
|
|
4225
4225
|
k(Ve, {
|
|
4226
4226
|
onVisibleChange: E,
|
|
4227
4227
|
overlayClassName: a(I),
|
|
@@ -4231,20 +4231,20 @@ const an = { class: "keyword-group-item__actions" }, Ie = /* @__PURE__ */ B({
|
|
|
4231
4231
|
}, Y({
|
|
4232
4232
|
default: y(() => [
|
|
4233
4233
|
g("button", {
|
|
4234
|
-
class: P(a(
|
|
4234
|
+
class: P(a($))
|
|
4235
4235
|
}, [
|
|
4236
4236
|
a(p) ? (o(), _(Ie, {
|
|
4237
4237
|
key: 0,
|
|
4238
4238
|
keywordGroup: a(p)
|
|
4239
|
-
}, null, 8, ["keywordGroup"])) : (o(), u("span", cn,
|
|
4240
|
-
X(k(
|
|
4239
|
+
}, null, 8, ["keywordGroup"])) : (o(), u("span", cn, C(e?.placeholder), 1)),
|
|
4240
|
+
X(k(w, {
|
|
4241
4241
|
size: "sm",
|
|
4242
4242
|
class: "chevron-icon",
|
|
4243
4243
|
name: "chevron-down"
|
|
4244
4244
|
}, null, 512), [
|
|
4245
4245
|
[Q, !s.value]
|
|
4246
4246
|
]),
|
|
4247
|
-
X(k(
|
|
4247
|
+
X(k(w, {
|
|
4248
4248
|
size: "sm",
|
|
4249
4249
|
class: "chevron-icon",
|
|
4250
4250
|
name: "chevron-up"
|
|
@@ -4365,7 +4365,7 @@ const dn = { class: "tooltip" }, pn = { class: "tooltip" }, mn = {
|
|
|
4365
4365
|
qe(() => {
|
|
4366
4366
|
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)));
|
|
4367
4367
|
});
|
|
4368
|
-
const d = c(() => e.vertical ? "bottom" : "left"), p = c(() => e.dualThumbMode ? "bg-gray-200" : "bg-primary-dark-blue"), m = c(() => e.dualThumbMode ? "bg-primary-dark-blue" : "bg-gray-200"),
|
|
4368
|
+
const d = c(() => e.vertical ? "bottom" : "left"), p = c(() => e.dualThumbMode ? "bg-gray-200" : "bg-primary-dark-blue"), m = c(() => e.dualThumbMode ? "bg-primary-dark-blue" : "bg-gray-200"), $ = c(() => {
|
|
4369
4369
|
const M = Math.min(i.value, r.value), b = Math.max(i.value, r.value);
|
|
4370
4370
|
return e.vertical ? {
|
|
4371
4371
|
bottom: `${M}%`,
|
|
@@ -4409,7 +4409,7 @@ const dn = { class: "tooltip" }, pn = { class: "tooltip" }, mn = {
|
|
|
4409
4409
|
}, null, 34),
|
|
4410
4410
|
g("div", {
|
|
4411
4411
|
class: P([a(m), "slider-range"]),
|
|
4412
|
-
style: J(a(
|
|
4412
|
+
style: J(a($)),
|
|
4413
4413
|
onMousedown: z
|
|
4414
4414
|
}, null, 38),
|
|
4415
4415
|
g("div", {
|
|
@@ -4421,7 +4421,7 @@ const dn = { class: "tooltip" }, pn = { class: "tooltip" }, mn = {
|
|
|
4421
4421
|
key: 0,
|
|
4422
4422
|
style: J({ [a(d)]: `${a(i)}%` }),
|
|
4423
4423
|
class: "slider-label"
|
|
4424
|
-
},
|
|
4424
|
+
}, C(a(i).toFixed(0)) + "%", 5)) : v("", !0),
|
|
4425
4425
|
e.dualThumbMode ? (o(), u("div", {
|
|
4426
4426
|
key: 1,
|
|
4427
4427
|
class: "slider-thumb",
|
|
@@ -4432,14 +4432,14 @@ const dn = { class: "tooltip" }, pn = { class: "tooltip" }, mn = {
|
|
|
4432
4432
|
key: 2,
|
|
4433
4433
|
style: J({ [a(d)]: `${a(r)}%` }),
|
|
4434
4434
|
class: "slider-label"
|
|
4435
|
-
},
|
|
4435
|
+
}, C(a(r).toFixed(0)) + "%", 5)) : v("", !0),
|
|
4436
4436
|
e.type === "tooltip" ? (o(), u("div", {
|
|
4437
4437
|
key: 3,
|
|
4438
4438
|
class: "slider-thumb",
|
|
4439
4439
|
style: J({ [a(d)]: `${a(i)}%` }),
|
|
4440
4440
|
onMousedown: b[2] || (b[2] = (x) => I("left"))
|
|
4441
4441
|
}, [
|
|
4442
|
-
g("div", dn,
|
|
4442
|
+
g("div", dn, C(a(i).toFixed(0)) + "%", 1)
|
|
4443
4443
|
], 36)) : v("", !0),
|
|
4444
4444
|
e.dualThumbMode && e.type === "tooltip" ? (o(), u("div", {
|
|
4445
4445
|
key: 4,
|
|
@@ -4447,7 +4447,7 @@ const dn = { class: "tooltip" }, pn = { class: "tooltip" }, mn = {
|
|
|
4447
4447
|
style: J({ [a(d)]: `${a(r)}%` }),
|
|
4448
4448
|
onMousedown: b[3] || (b[3] = (x) => I("right"))
|
|
4449
4449
|
}, [
|
|
4450
|
-
g("div", pn,
|
|
4450
|
+
g("div", pn, C(a(r).toFixed(0)) + "%", 1)
|
|
4451
4451
|
], 36)) : v("", !0)
|
|
4452
4452
|
], 2));
|
|
4453
4453
|
}
|
|
@@ -4476,7 +4476,7 @@ const vn = ["value", "name", "checked"], fn = { class: "radio-area" }, gn = {
|
|
|
4476
4476
|
return (d, p) => (o(), u("label", {
|
|
4477
4477
|
class: P(a(i))
|
|
4478
4478
|
}, [
|
|
4479
|
-
k(a(
|
|
4479
|
+
k(a(w), {
|
|
4480
4480
|
name: a(n),
|
|
4481
4481
|
ratio: "4x3"
|
|
4482
4482
|
}, null, 8, ["name"]),
|
|
@@ -4488,7 +4488,7 @@ const vn = ["value", "name", "checked"], fn = { class: "radio-area" }, gn = {
|
|
|
4488
4488
|
onChange: r
|
|
4489
4489
|
}, null, 40, vn),
|
|
4490
4490
|
g("div", fn, [
|
|
4491
|
-
k(a(
|
|
4491
|
+
k(a(w), { name: "tick" })
|
|
4492
4492
|
])
|
|
4493
4493
|
], 2));
|
|
4494
4494
|
}
|
|
@@ -4565,7 +4565,7 @@ const yn = {
|
|
|
4565
4565
|
width: `${d.value * 8 + 6}px`
|
|
4566
4566
|
})), m = c(
|
|
4567
4567
|
() => e?.placeholder && i.value.length === 0 ? e.placeholder : ""
|
|
4568
|
-
),
|
|
4568
|
+
), $ = (x) => {
|
|
4569
4569
|
e.separator.includes(x.key) ? (x.preventDefault(), I(s.value)) : x.key === "Backspace" && s.value === "" && i.value.length > 0 && z(i.value[i.value.length - 1]);
|
|
4570
4570
|
}, I = (x = "") => {
|
|
4571
4571
|
const D = x.trim();
|
|
@@ -4602,7 +4602,7 @@ const yn = {
|
|
|
4602
4602
|
}, [
|
|
4603
4603
|
x.$slots.prefix || e?.prefixIcon ? (o(), u("div", yn, [
|
|
4604
4604
|
f(x.$slots, "prefix"),
|
|
4605
|
-
e.prefixIcon ? (o(), _(a(
|
|
4605
|
+
e.prefixIcon ? (o(), _(a(w), {
|
|
4606
4606
|
key: 0,
|
|
4607
4607
|
size: "xs",
|
|
4608
4608
|
name: e.prefixIcon
|
|
@@ -4612,8 +4612,8 @@ const yn = {
|
|
|
4612
4612
|
class: "ma-tag-wrapper",
|
|
4613
4613
|
key: E
|
|
4614
4614
|
}, [
|
|
4615
|
-
g("span", null,
|
|
4616
|
-
k(a(
|
|
4615
|
+
g("span", null, C(E), 1),
|
|
4616
|
+
k(a(w), {
|
|
4617
4617
|
size: "xs",
|
|
4618
4618
|
onClick: (q) => z(E),
|
|
4619
4619
|
name: "close"
|
|
@@ -4628,7 +4628,7 @@ const yn = {
|
|
|
4628
4628
|
ref_key: "tagInputRef",
|
|
4629
4629
|
ref: n,
|
|
4630
4630
|
placeholder: a(m),
|
|
4631
|
-
onKeydown:
|
|
4631
|
+
onKeydown: $,
|
|
4632
4632
|
onPaste: M,
|
|
4633
4633
|
"onUpdate:modelValue": D[0] || (D[0] = (E) => s.value = E)
|
|
4634
4634
|
}, null, 40, hn), [
|
|
@@ -4637,7 +4637,7 @@ const yn = {
|
|
|
4637
4637
|
], 4),
|
|
4638
4638
|
x.$slots.suffix || e?.suffixIcon ? (o(), u("div", bn, [
|
|
4639
4639
|
f(x.$slots, "suffix"),
|
|
4640
|
-
e.suffixIcon ? (o(), _(a(
|
|
4640
|
+
e.suffixIcon ? (o(), _(a(w), {
|
|
4641
4641
|
key: 0,
|
|
4642
4642
|
size: "xs",
|
|
4643
4643
|
name: e.suffixIcon
|
|
@@ -4690,19 +4690,19 @@ const xn = /* @__PURE__ */ De($n, [["render", Mn]]), Bn = { class: "ak-list-item
|
|
|
4690
4690
|
}, null, 8, ["src"])
|
|
4691
4691
|
])
|
|
4692
4692
|
])) : t.icon ? (o(), u("div", In, [
|
|
4693
|
-
k(
|
|
4693
|
+
k(w, {
|
|
4694
4694
|
name: t.icon
|
|
4695
4695
|
}, null, 8, ["name"])
|
|
4696
4696
|
])) : v("", !0),
|
|
4697
4697
|
g("div", zn, [
|
|
4698
4698
|
t.title ? (o(), u("div", Tn, [
|
|
4699
4699
|
f(e.$slots, "title", {}, () => [
|
|
4700
|
-
F(
|
|
4700
|
+
F(C(t.title), 1)
|
|
4701
4701
|
])
|
|
4702
4702
|
])) : v("", !0),
|
|
4703
4703
|
t.description ? (o(), u("div", An, [
|
|
4704
4704
|
f(e.$slots, "description", {}, () => [
|
|
4705
|
-
F(
|
|
4705
|
+
F(C(t.description), 1)
|
|
4706
4706
|
])
|
|
4707
4707
|
])) : v("", !0)
|
|
4708
4708
|
])
|
|
@@ -4736,7 +4736,7 @@ const xn = /* @__PURE__ */ De($n, [["render", Mn]]), Bn = { class: "ak-list-item
|
|
|
4736
4736
|
onClick: r.onClick
|
|
4737
4737
|
}, {
|
|
4738
4738
|
default: y(() => [
|
|
4739
|
-
F(
|
|
4739
|
+
F(C(r.label), 1)
|
|
4740
4740
|
]),
|
|
4741
4741
|
_: 2
|
|
4742
4742
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -4750,7 +4750,7 @@ const xn = /* @__PURE__ */ De($n, [["render", Mn]]), Bn = { class: "ak-list-item
|
|
|
4750
4750
|
]));
|
|
4751
4751
|
}
|
|
4752
4752
|
});
|
|
4753
|
-
const Vn = { class: "scrollable-badge-wrapper" }, Gn = ["href"], On = {
|
|
4753
|
+
const Vn = { class: "scrollable-badge-wrapper" }, Gn = ["href", "target"], On = {
|
|
4754
4754
|
name: "MaScrollableBadge"
|
|
4755
4755
|
}, xi = /* @__PURE__ */ B({
|
|
4756
4756
|
...On,
|
|
@@ -4773,9 +4773,9 @@ const Vn = { class: "scrollable-badge-wrapper" }, Gn = ["href"], On = {
|
|
|
4773
4773
|
}), (p, m) => (o(), u("div", Vn, [
|
|
4774
4774
|
g("button", {
|
|
4775
4775
|
class: P({ invisible: !(e.value && s.value) }),
|
|
4776
|
-
onClick: m[0] || (m[0] = (
|
|
4776
|
+
onClick: m[0] || (m[0] = ($) => i("start"))
|
|
4777
4777
|
}, [
|
|
4778
|
-
k(a(
|
|
4778
|
+
k(a(w), {
|
|
4779
4779
|
size: "xs",
|
|
4780
4780
|
name: "arrow-left-circle-bold"
|
|
4781
4781
|
})
|
|
@@ -4786,10 +4786,10 @@ const Vn = { class: "scrollable-badge-wrapper" }, Gn = ["href"], On = {
|
|
|
4786
4786
|
class: "scrollable-badge-container",
|
|
4787
4787
|
onScroll: r
|
|
4788
4788
|
}, [
|
|
4789
|
-
(o(!0), u(H, null, R(l.badges, (
|
|
4789
|
+
(o(!0), u(H, null, R(l.badges, ($, I) => (o(), u("a", {
|
|
4790
4790
|
key: I,
|
|
4791
|
-
href:
|
|
4792
|
-
target: "
|
|
4791
|
+
href: $.url,
|
|
4792
|
+
target: $.target || "_self",
|
|
4793
4793
|
rel: "noopener"
|
|
4794
4794
|
}, [
|
|
4795
4795
|
k(a(me), {
|
|
@@ -4797,7 +4797,7 @@ const Vn = { class: "scrollable-badge-wrapper" }, Gn = ["href"], On = {
|
|
|
4797
4797
|
type: "line"
|
|
4798
4798
|
}, {
|
|
4799
4799
|
default: y(() => [
|
|
4800
|
-
F(
|
|
4800
|
+
F(C($.label), 1)
|
|
4801
4801
|
]),
|
|
4802
4802
|
_: 2
|
|
4803
4803
|
}, 1024)
|
|
@@ -4806,9 +4806,9 @@ const Vn = { class: "scrollable-badge-wrapper" }, Gn = ["href"], On = {
|
|
|
4806
4806
|
], 544),
|
|
4807
4807
|
g("button", {
|
|
4808
4808
|
class: P({ invisible: !(e.value && n.value) }),
|
|
4809
|
-
onClick: m[1] || (m[1] = (
|
|
4809
|
+
onClick: m[1] || (m[1] = ($) => i("end"))
|
|
4810
4810
|
}, [
|
|
4811
|
-
k(a(
|
|
4811
|
+
k(a(w), {
|
|
4812
4812
|
size: "xs",
|
|
4813
4813
|
name: "arrow-right-circle-bold"
|
|
4814
4814
|
})
|
|
@@ -4839,8 +4839,8 @@ const Rn = {
|
|
|
4839
4839
|
t("update:current", m), t("change", m);
|
|
4840
4840
|
}
|
|
4841
4841
|
}), p = () => {
|
|
4842
|
-
n.value.querySelectorAll(".ak-step").forEach((m,
|
|
4843
|
-
m.setAttribute("data-index",
|
|
4842
|
+
n.value.querySelectorAll(".ak-step").forEach((m, $) => {
|
|
4843
|
+
m.setAttribute("data-index", $.toString());
|
|
4844
4844
|
});
|
|
4845
4845
|
};
|
|
4846
4846
|
return ke("selectStep", r), ke("activeStep", d), re(
|
|
@@ -4850,7 +4850,7 @@ const Rn = {
|
|
|
4850
4850
|
}
|
|
4851
4851
|
), ue(() => {
|
|
4852
4852
|
p();
|
|
4853
|
-
}), (m,
|
|
4853
|
+
}), (m, $) => (o(), u("div", {
|
|
4854
4854
|
ref_key: "maSteps",
|
|
4855
4855
|
ref: n,
|
|
4856
4856
|
class: P(a(i))
|
|
@@ -4890,27 +4890,27 @@ const Un = { class: "ak-step__dot" }, Kn = {
|
|
|
4890
4890
|
]), m = () => {
|
|
4891
4891
|
t.disabled || e?.value && e.value(i.value);
|
|
4892
4892
|
};
|
|
4893
|
-
return (
|
|
4893
|
+
return ($, I) => (o(), u("div", {
|
|
4894
4894
|
ref_key: "maStep",
|
|
4895
4895
|
ref: n,
|
|
4896
4896
|
class: P(a(p)),
|
|
4897
4897
|
onClick: m
|
|
4898
4898
|
}, [
|
|
4899
4899
|
g("div", Un, [
|
|
4900
|
-
a(d) ? (o(), _(a(
|
|
4900
|
+
a(d) ? (o(), _(a(w), {
|
|
4901
4901
|
key: 0,
|
|
4902
4902
|
name: "tick",
|
|
4903
4903
|
size: "md"
|
|
4904
|
-
})) : (o(), u("span", Kn,
|
|
4904
|
+
})) : (o(), u("span", Kn, C(a(i) + 1), 1))
|
|
4905
4905
|
]),
|
|
4906
4906
|
g("div", jn, [
|
|
4907
|
-
t?.title ||
|
|
4908
|
-
f(
|
|
4909
|
-
F(" " +
|
|
4907
|
+
t?.title || $.$slots.title ? (o(), u("h3", qn, [
|
|
4908
|
+
f($.$slots, "title"),
|
|
4909
|
+
F(" " + C(t?.title), 1)
|
|
4910
4910
|
])) : v("", !0),
|
|
4911
|
-
t?.description ||
|
|
4912
|
-
f(
|
|
4913
|
-
F(" " +
|
|
4911
|
+
t?.description || $.$slots.description ? (o(), u("p", Hn, [
|
|
4912
|
+
f($.$slots, "description"),
|
|
4913
|
+
F(" " + C(t?.description), 1)
|
|
4914
4914
|
])) : v("", !0)
|
|
4915
4915
|
]),
|
|
4916
4916
|
Wn
|
|
@@ -4988,7 +4988,7 @@ export {
|
|
|
4988
4988
|
Rt as MaForm,
|
|
4989
4989
|
we as MaFormItem,
|
|
4990
4990
|
_l as MaFormLayouts,
|
|
4991
|
-
|
|
4991
|
+
w as MaIcon,
|
|
4992
4992
|
ie as MaIconButton,
|
|
4993
4993
|
_t as MaIconSizeClassNames,
|
|
4994
4994
|
el as MaIconSizes,
|