@mobileaction/action-kit 1.1.52 → 1.1.53
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 +6 -1
- package/dist/action-kit.mjs +159 -151
- package/dist/components/card/index.vue.d.ts +13 -1
- package/dist/components/card/types.d.ts +2 -0
- package/dist/src/components/card/index.vue.d.ts +5 -1
- package/dist/src/components/card/stories/default.stories.d.ts +2 -1
- package/dist/src/components/card/types.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/action-kit.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, computed as c, defineAsyncComponent as xe, openBlock as o, createBlock as g, resolveDynamicComponent as ee, unref as n, normalizeClass as
|
|
1
|
+
import { defineComponent as $, computed as c, defineAsyncComponent as xe, openBlock as o, createBlock as g, resolveDynamicComponent as ee, unref as n, normalizeClass as E, mergeProps as B, createSlots as O, renderList as U, withCtx as h, renderSlot as _, createElementVNode as b, createVNode as x, createTextVNode as D, toDisplayString as C, createElementBlock as p, isRef as K, createCommentVNode as v, ref as F, Fragment as q, useSlots as se, useAttrs as ze, watch as oe, Transition as he, onMounted as ce, onBeforeUnmount as ye, normalizeStyle as ne, h as Ie, createApp as Se, onUnmounted as Ae, withDirectives as Y, withModifiers as be, vShow as X, normalizeProps as Te, withKeys as Pe, reactive as Ne, readonly as De, toRefs as Le } from "vue";
|
|
2
2
|
import { Button as ke, Switch as Ee, Tooltip as Fe, Form as Re, FormItem as Ue, Avatar as Ve, Select as je, InputPassword as Oe, Input as qe, Textarea as He, SelectOption as We, Checkbox as Ke, CheckboxGroup as Ge, Radio as Je, RadioGroup as Ze, Alert as Ye, Modal as Xe, Dropdown as Qe, Tabs as es, TabPane as ss, InputNumber as ts } from "ant-design-vue";
|
|
3
3
|
const re = (a, s) => {
|
|
4
4
|
const e = a[s];
|
|
@@ -36,7 +36,7 @@ const re = (a, s) => {
|
|
|
36
36
|
{ "animate-spin": s.spin }
|
|
37
37
|
]);
|
|
38
38
|
return (i, r) => (o(), g(ee(n(t)), {
|
|
39
|
-
class:
|
|
39
|
+
class: E(n(l))
|
|
40
40
|
}, null, 8, ["class"]));
|
|
41
41
|
}
|
|
42
42
|
}), as = {
|
|
@@ -183,7 +183,7 @@ const kn = [
|
|
|
183
183
|
"prefix-cls": "antd-btn"
|
|
184
184
|
}), O({
|
|
185
185
|
icon: h(() => [
|
|
186
|
-
|
|
186
|
+
b("div", is, [
|
|
187
187
|
x(k, {
|
|
188
188
|
spin: s?.loading,
|
|
189
189
|
name: n(t),
|
|
@@ -251,7 +251,7 @@ const xn = [
|
|
|
251
251
|
}
|
|
252
252
|
]);
|
|
253
253
|
return (i, r) => (o(), p("div", {
|
|
254
|
-
class:
|
|
254
|
+
class: E(n(l))
|
|
255
255
|
}, [
|
|
256
256
|
x(n(Ee), B({
|
|
257
257
|
class: "ma-toggle__switch",
|
|
@@ -318,16 +318,16 @@ const Sn = [
|
|
|
318
318
|
"aria-checked": n(t) === e.rightValue,
|
|
319
319
|
disabled: e.disabled
|
|
320
320
|
}), [
|
|
321
|
-
|
|
322
|
-
class:
|
|
321
|
+
b("span", {
|
|
322
|
+
class: E({ active: e.active === e.leftValue }),
|
|
323
323
|
onClick: d[0] || (d[0] = (u) => i(e.leftValue))
|
|
324
324
|
}, [
|
|
325
325
|
x(k, {
|
|
326
326
|
name: e.leftIcon
|
|
327
327
|
}, null, 8, ["name"])
|
|
328
328
|
], 2),
|
|
329
|
-
|
|
330
|
-
class:
|
|
329
|
+
b("span", {
|
|
330
|
+
class: E({ active: e.active === e.rightValue }),
|
|
331
331
|
onClick: d[1] || (d[1] = (u) => i(e.rightValue))
|
|
332
332
|
}, [
|
|
333
333
|
x(k, {
|
|
@@ -388,8 +388,8 @@ const Tn = [
|
|
|
388
388
|
name: s.icon
|
|
389
389
|
}, null, 8, ["name"])) : v("", !0),
|
|
390
390
|
_(r.$slots, "icon"),
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
b("div", vs, [
|
|
392
|
+
b("span", fs, [
|
|
393
393
|
D(C(s.title) + " ", 1),
|
|
394
394
|
_(r.$slots, "title")
|
|
395
395
|
]),
|
|
@@ -441,10 +441,10 @@ const Pn = [
|
|
|
441
441
|
for (const [t, l] of s)
|
|
442
442
|
e[t] = l;
|
|
443
443
|
return e;
|
|
444
|
-
}, ks = /* @__PURE__ */
|
|
444
|
+
}, ks = /* @__PURE__ */ b("label", {
|
|
445
445
|
for: "cc-num",
|
|
446
446
|
class: "hidden"
|
|
447
|
-
}, "HubspotCollectedFormsWorkaround", -1), $s = /* @__PURE__ */
|
|
447
|
+
}, "HubspotCollectedFormsWorkaround", -1), $s = /* @__PURE__ */ b("input", {
|
|
448
448
|
id: "cc-num",
|
|
449
449
|
name: "cc-num",
|
|
450
450
|
class: "hidden",
|
|
@@ -544,7 +544,7 @@ const Bs = {
|
|
|
544
544
|
setup(a) {
|
|
545
545
|
return (s, e) => (o(), g(n(Ve), B(s.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
|
|
546
546
|
}
|
|
547
|
-
}), Ts = { class: "dropdown-wrapper" }, Ps = { class: "mobile-header" }, Ns = /* @__PURE__ */
|
|
547
|
+
}), Ts = { class: "dropdown-wrapper" }, Ps = { class: "mobile-header" }, Ns = /* @__PURE__ */ b("label", null, "Select", -1), Ds = {
|
|
548
548
|
name: "MaDropdownRender"
|
|
549
549
|
}, Ls = /* @__PURE__ */ $({
|
|
550
550
|
...Ds,
|
|
@@ -571,7 +571,7 @@ const Bs = {
|
|
|
571
571
|
s("closeDropdown");
|
|
572
572
|
};
|
|
573
573
|
return (r, d) => (o(), p("div", Ts, [
|
|
574
|
-
|
|
574
|
+
b("div", Ps, [
|
|
575
575
|
x(k, {
|
|
576
576
|
size: "lg",
|
|
577
577
|
name: "close-circle",
|
|
@@ -662,7 +662,7 @@ const Bs = {
|
|
|
662
662
|
i.value = !0;
|
|
663
663
|
}, M = (R) => {
|
|
664
664
|
i.value = R, l.value = "";
|
|
665
|
-
},
|
|
665
|
+
}, y = c(() => !r.value && e?.showSearch), S = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, V = () => {
|
|
666
666
|
i.value = !1;
|
|
667
667
|
};
|
|
668
668
|
return (R, G) => (o(), g(n(je), B({
|
|
@@ -682,7 +682,7 @@ const Bs = {
|
|
|
682
682
|
options: e?.options,
|
|
683
683
|
placeholder: e?.placeholder,
|
|
684
684
|
searchValue: l.value || void 0,
|
|
685
|
-
showSearch: n(
|
|
685
|
+
showSearch: n(y),
|
|
686
686
|
showArrow: n(A),
|
|
687
687
|
mode: e?.mode,
|
|
688
688
|
"list-height": S(),
|
|
@@ -844,7 +844,7 @@ const Rs = ["for"], Us = {
|
|
|
844
844
|
}), I = c(() => e.type === J.password ? Oe : qe), A = c(() => e.type === J.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), T = c(() => e.type === J.url ? "https" : e?.addonBefore), M = c(() => {
|
|
845
845
|
let f = { ...t, ...A.value };
|
|
846
846
|
return t?.class && delete f?.class, f;
|
|
847
|
-
}),
|
|
847
|
+
}), y = (f) => {
|
|
848
848
|
s("change", f);
|
|
849
849
|
}, S = (f) => {
|
|
850
850
|
s("currency-change", f);
|
|
@@ -856,7 +856,7 @@ const Rs = ["for"], Us = {
|
|
|
856
856
|
s("focusout", f);
|
|
857
857
|
};
|
|
858
858
|
return (f, P) => (o(), p("div", {
|
|
859
|
-
class:
|
|
859
|
+
class: E(n(r))
|
|
860
860
|
}, [
|
|
861
861
|
_(f.$slots, "title"),
|
|
862
862
|
e.title ? (o(), p("label", {
|
|
@@ -868,7 +868,7 @@ const Rs = ["for"], Us = {
|
|
|
868
868
|
e.type !== "textarea" ? (o(), p("div", Us, [
|
|
869
869
|
(o(), g(ee(n(I)), B({
|
|
870
870
|
value: n(u),
|
|
871
|
-
"onUpdate:value": P[1] || (P[1] = (
|
|
871
|
+
"onUpdate:value": P[1] || (P[1] = (L) => K(u) ? u.value = L : null)
|
|
872
872
|
}, n(M), {
|
|
873
873
|
allowClear: e?.allowClear,
|
|
874
874
|
type: n(i),
|
|
@@ -877,7 +877,7 @@ const Rs = ["for"], Us = {
|
|
|
877
877
|
addonBefore: n(T),
|
|
878
878
|
addonAfter: a.addonAfter,
|
|
879
879
|
class: n(d),
|
|
880
|
-
onChange:
|
|
880
|
+
onChange: y,
|
|
881
881
|
onFocus: R,
|
|
882
882
|
onFocusout: G,
|
|
883
883
|
ref_key: "inputRef",
|
|
@@ -898,7 +898,7 @@ const Rs = ["for"], Us = {
|
|
|
898
898
|
e.type === "amount" ? (o(), g($e, {
|
|
899
899
|
key: 0,
|
|
900
900
|
value: n(z),
|
|
901
|
-
"onUpdate:value": P[0] || (P[0] = (
|
|
901
|
+
"onUpdate:value": P[0] || (P[0] = (L) => K(z) ? z.value = L : null),
|
|
902
902
|
onChange: S,
|
|
903
903
|
dropdownClassName: "ak-input__input__ma-select__dropdown",
|
|
904
904
|
options: n(Is),
|
|
@@ -913,7 +913,7 @@ const Rs = ["for"], Us = {
|
|
|
913
913
|
]),
|
|
914
914
|
_: 2
|
|
915
915
|
}, [
|
|
916
|
-
U(f.$slots, (
|
|
916
|
+
U(f.$slots, (L, H) => ({
|
|
917
917
|
name: H,
|
|
918
918
|
fn: h(() => [
|
|
919
919
|
_(f.$slots, H)
|
|
@@ -923,16 +923,16 @@ const Rs = ["for"], Us = {
|
|
|
923
923
|
])) : (o(), g(n(He), B({
|
|
924
924
|
key: 2,
|
|
925
925
|
value: n(u),
|
|
926
|
-
"onUpdate:value": P[2] || (P[2] = (
|
|
926
|
+
"onUpdate:value": P[2] || (P[2] = (L) => K(u) ? u.value = L : null)
|
|
927
927
|
}, n(M), {
|
|
928
928
|
class: n(d),
|
|
929
929
|
disabled: e?.disabled,
|
|
930
930
|
placeholder: e?.placeholder,
|
|
931
|
-
onChange:
|
|
931
|
+
onChange: y,
|
|
932
932
|
ref_key: "inputRef",
|
|
933
933
|
ref: l
|
|
934
934
|
}), O({ _: 2 }, [
|
|
935
|
-
U(f.$slots, (
|
|
935
|
+
U(f.$slots, (L, H) => ({
|
|
936
936
|
name: H,
|
|
937
937
|
fn: h(() => [
|
|
938
938
|
_(f.$slots, H)
|
|
@@ -1075,7 +1075,7 @@ const Ks = {
|
|
|
1075
1075
|
},
|
|
1076
1076
|
emits: ["update:value"],
|
|
1077
1077
|
setup(a, { emit: s }) {
|
|
1078
|
-
const e = a, t = F(null), l = F(Array.from({ length: e.length }, (M,
|
|
1078
|
+
const e = a, t = F(null), l = F(Array.from({ length: e.length }, (M, y) => e.value[y] || null)), i = c(() => [
|
|
1079
1079
|
"ma-numeric-input",
|
|
1080
1080
|
`ma-numeric-input--${e.size}`,
|
|
1081
1081
|
{
|
|
@@ -1084,11 +1084,11 @@ const Ks = {
|
|
|
1084
1084
|
{
|
|
1085
1085
|
"ma-numeric-input--disabled": e?.disabled
|
|
1086
1086
|
}
|
|
1087
|
-
]), r = c(() => e?.placeholderStatus ? "0" : null), d = (M) => /^Digit[0-9]$/.test(M), u = (M) => t.value = M, m = (M,
|
|
1087
|
+
]), r = c(() => e?.placeholderStatus ? "0" : null), d = (M) => /^Digit[0-9]$/.test(M), u = (M) => t.value = M, m = (M, y) => {
|
|
1088
1088
|
switch (M.code) {
|
|
1089
1089
|
case "Backspace":
|
|
1090
1090
|
case "Delete":
|
|
1091
|
-
A("",
|
|
1091
|
+
A("", y), I();
|
|
1092
1092
|
break;
|
|
1093
1093
|
case "ArrowLeft":
|
|
1094
1094
|
M.preventDefault(), I();
|
|
@@ -1097,25 +1097,25 @@ const Ks = {
|
|
|
1097
1097
|
M.preventDefault(), z();
|
|
1098
1098
|
break;
|
|
1099
1099
|
default:
|
|
1100
|
-
d(M.code) && (M.preventDefault(), A(M.key,
|
|
1100
|
+
d(M.code) && (M.preventDefault(), A(M.key, y), z());
|
|
1101
1101
|
break;
|
|
1102
1102
|
}
|
|
1103
1103
|
}, z = () => {
|
|
1104
1104
|
t.value < e.length && t.value++;
|
|
1105
1105
|
}, I = () => {
|
|
1106
1106
|
e.length >= t.value && t.value > 0 && t.value--;
|
|
1107
|
-
}, A = (M,
|
|
1108
|
-
l.value[
|
|
1109
|
-
}, T = (M,
|
|
1107
|
+
}, A = (M, y) => {
|
|
1108
|
+
l.value[y] = M;
|
|
1109
|
+
}, T = (M, y) => {
|
|
1110
1110
|
M.preventDefault();
|
|
1111
1111
|
const S = M.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
|
|
1112
|
-
S.length === 1 && S.match(/^\d+$/) ? l.value[
|
|
1112
|
+
S.length === 1 && S.match(/^\d+$/) ? l.value[y] = S : S.match(/^\d+$/) && (l.value = S.split(""));
|
|
1113
1113
|
};
|
|
1114
1114
|
return oe(
|
|
1115
1115
|
() => l.value,
|
|
1116
1116
|
(M) => {
|
|
1117
|
-
const
|
|
1118
|
-
s("update:value",
|
|
1117
|
+
const y = M.join("");
|
|
1118
|
+
s("update:value", y);
|
|
1119
1119
|
},
|
|
1120
1120
|
{ deep: !0 }
|
|
1121
1121
|
), oe(
|
|
@@ -1123,7 +1123,7 @@ const Ks = {
|
|
|
1123
1123
|
(M) => {
|
|
1124
1124
|
M !== l.value.join("") && M && M.match(/^\d+$/) && (l.value = M.split("").slice(0, e.length));
|
|
1125
1125
|
}
|
|
1126
|
-
), (M,
|
|
1126
|
+
), (M, y) => (o(), p("div", B({ class: n(i) }, M.$attrs), [
|
|
1127
1127
|
(o(!0), p(q, null, U(e.length, (S) => (o(), g(Js, {
|
|
1128
1128
|
focus: t.value === S - 1,
|
|
1129
1129
|
key: S,
|
|
@@ -1208,17 +1208,17 @@ const Qs = ["aria-checked", "disabled"], et = ["src", "alt"], st = { class: "ma-
|
|
|
1208
1208
|
"aria-checked": e.checked,
|
|
1209
1209
|
disabled: e.disabled
|
|
1210
1210
|
}, i.$attrs, { onClick: t }), [
|
|
1211
|
-
|
|
1211
|
+
b("img", {
|
|
1212
1212
|
src: e.appIcon,
|
|
1213
1213
|
alt: e.appName,
|
|
1214
1214
|
width: "40",
|
|
1215
1215
|
height: "40"
|
|
1216
1216
|
}, null, 8, et),
|
|
1217
|
-
|
|
1218
|
-
|
|
1217
|
+
b("span", st, [
|
|
1218
|
+
b("span", tt, C(e.appName), 1),
|
|
1219
1219
|
e.appCategory ? (o(), p("span", ot, C(e?.appCategory), 1)) : v("", !0)
|
|
1220
1220
|
]),
|
|
1221
|
-
|
|
1221
|
+
b("span", nt, [
|
|
1222
1222
|
x(he, {
|
|
1223
1223
|
name: "fade",
|
|
1224
1224
|
mode: "out-in"
|
|
@@ -1282,9 +1282,9 @@ const lt = { class: "ak-app-icon__logo" }, it = ["src"], rt = {
|
|
|
1282
1282
|
s("close");
|
|
1283
1283
|
};
|
|
1284
1284
|
return (r, d) => (o(), p("div", {
|
|
1285
|
-
class:
|
|
1285
|
+
class: E(n(l))
|
|
1286
1286
|
}, [
|
|
1287
|
-
|
|
1287
|
+
b("div", lt, [
|
|
1288
1288
|
e.closable ? (o(), p("span", {
|
|
1289
1289
|
key: 0,
|
|
1290
1290
|
onClick: i,
|
|
@@ -1295,7 +1295,7 @@ const lt = { class: "ak-app-icon__logo" }, it = ["src"], rt = {
|
|
|
1295
1295
|
name: "close-circle"
|
|
1296
1296
|
})
|
|
1297
1297
|
])) : v("", !0),
|
|
1298
|
-
|
|
1298
|
+
b("img", {
|
|
1299
1299
|
class: "ak-app-icon-img",
|
|
1300
1300
|
src: e.appIcon
|
|
1301
1301
|
}, null, 8, it),
|
|
@@ -1361,7 +1361,7 @@ const Gn = [
|
|
|
1361
1361
|
}
|
|
1362
1362
|
]);
|
|
1363
1363
|
return (t, l) => (o(), p("div", {
|
|
1364
|
-
class:
|
|
1364
|
+
class: E(n(e))
|
|
1365
1365
|
}, [
|
|
1366
1366
|
s?.icon ? (o(), g(k, {
|
|
1367
1367
|
key: 0,
|
|
@@ -1605,7 +1605,7 @@ const oa = [
|
|
|
1605
1605
|
default: h(() => [
|
|
1606
1606
|
n(l) ? (o(), p("div", {
|
|
1607
1607
|
key: 0,
|
|
1608
|
-
class:
|
|
1608
|
+
class: E(n(u))
|
|
1609
1609
|
}, [
|
|
1610
1610
|
x(k, { name: n(l) }, null, 8, ["name"])
|
|
1611
1611
|
], 2)) : v("", !0),
|
|
@@ -1613,7 +1613,7 @@ const oa = [
|
|
|
1613
1613
|
_(A.$slots, "title"),
|
|
1614
1614
|
D(" " + C(e.title), 1)
|
|
1615
1615
|
])) : v("", !0),
|
|
1616
|
-
|
|
1616
|
+
b("div", bt, [
|
|
1617
1617
|
e.content ? (o(), p("div", kt, C(e.content), 1)) : v("", !0),
|
|
1618
1618
|
_(A.$slots, "content"),
|
|
1619
1619
|
_(A.$slots, "default")
|
|
@@ -1682,7 +1682,7 @@ const Mt = {
|
|
|
1682
1682
|
return (i, r) => (o(), g(he, { name: "fade" }, {
|
|
1683
1683
|
default: h(() => [
|
|
1684
1684
|
x(k, {
|
|
1685
|
-
class:
|
|
1685
|
+
class: E(n(e)),
|
|
1686
1686
|
name: n(l),
|
|
1687
1687
|
size: a.iconSize
|
|
1688
1688
|
}, null, 8, ["class", "name", "size"])
|
|
@@ -1739,20 +1739,20 @@ const Mt = {
|
|
|
1739
1739
|
s("update:value", T), s("change", T);
|
|
1740
1740
|
};
|
|
1741
1741
|
return (T, M) => (o(), p("ul", {
|
|
1742
|
-
class:
|
|
1742
|
+
class: E(n(l)),
|
|
1743
1743
|
onMouseleave: m,
|
|
1744
1744
|
onKeydown: I,
|
|
1745
1745
|
tabindex: n(r)
|
|
1746
1746
|
}, [
|
|
1747
|
-
(o(), p(q, null, U(5, (
|
|
1747
|
+
(o(), p(q, null, U(5, (y) => b("li", {
|
|
1748
1748
|
class: "ak-rate__item",
|
|
1749
|
-
key:
|
|
1750
|
-
onMousemove: (S) => z(S,
|
|
1751
|
-
onMouseover: (S) => u(
|
|
1749
|
+
key: y,
|
|
1750
|
+
onMousemove: (S) => z(S, y),
|
|
1751
|
+
onMouseover: (S) => u(y),
|
|
1752
1752
|
onClick: M[0] || (M[0] = (S) => d())
|
|
1753
1753
|
}, [
|
|
1754
1754
|
x(Bt, {
|
|
1755
|
-
"star-rate":
|
|
1755
|
+
"star-rate": y,
|
|
1756
1756
|
value: t.value || e.value,
|
|
1757
1757
|
"icon-size": n(i)
|
|
1758
1758
|
}, null, 8, ["star-rate", "value", "icon-size"])
|
|
@@ -1803,7 +1803,7 @@ const ra = [
|
|
|
1803
1803
|
])) : v("", !0),
|
|
1804
1804
|
s.spinning && !r.$slots.indicator ? (o(), g(k, {
|
|
1805
1805
|
key: 1,
|
|
1806
|
-
class:
|
|
1806
|
+
class: E(n(l)),
|
|
1807
1807
|
name: n(i)
|
|
1808
1808
|
}, null, 8, ["class", "name"])) : v("", !0),
|
|
1809
1809
|
r.$slots?.tip || s?.tip ? (o(), p("div", Tt, [
|
|
@@ -1915,7 +1915,7 @@ const da = [
|
|
|
1915
1915
|
`ma-empty ma-empty--${s.variant} ma-empty--${s.size}`
|
|
1916
1916
|
]);
|
|
1917
1917
|
return (l, i) => (o(), p("div", {
|
|
1918
|
-
class:
|
|
1918
|
+
class: E(n(t))
|
|
1919
1919
|
}, [
|
|
1920
1920
|
s?.animation ? (o(), g(ht, B({
|
|
1921
1921
|
key: 0,
|
|
@@ -1925,15 +1925,15 @@ const da = [
|
|
|
1925
1925
|
name: n(e),
|
|
1926
1926
|
class: "ma-empty__icon"
|
|
1927
1927
|
}, null, 8, ["name"])),
|
|
1928
|
-
|
|
1928
|
+
b("span", Lt, [
|
|
1929
1929
|
D(C(a.title) + " ", 1),
|
|
1930
1930
|
_(l.$slots, "title")
|
|
1931
1931
|
]),
|
|
1932
|
-
|
|
1932
|
+
b("span", Et, [
|
|
1933
1933
|
D(C(a.description) + " ", 1),
|
|
1934
1934
|
_(l.$slots, "description")
|
|
1935
1935
|
]),
|
|
1936
|
-
|
|
1936
|
+
b("div", Ft, [
|
|
1937
1937
|
_(l.$slots, "default")
|
|
1938
1938
|
])
|
|
1939
1939
|
], 2));
|
|
@@ -2026,20 +2026,20 @@ const ie = (a) => {
|
|
|
2026
2026
|
() => `${(e.file.file.size / (1024 * 1024)).toFixed(1)} MB`
|
|
2027
2027
|
), l = c(() => typeof e.file.file.size == "number"), i = () => s("remove"), r = () => s("cancel");
|
|
2028
2028
|
return (d, u) => (o(), p("div", qt, [
|
|
2029
|
-
|
|
2029
|
+
b("div", Ht, [
|
|
2030
2030
|
x(k, { name: "document-bulk" })
|
|
2031
2031
|
]),
|
|
2032
|
-
|
|
2033
|
-
|
|
2032
|
+
b("div", Wt, [
|
|
2033
|
+
b("span", Kt, C(a.file.file.name), 1),
|
|
2034
2034
|
n(l) ? (o(), p("span", Gt, C(n(t)), 1)) : v("", !0),
|
|
2035
|
-
|
|
2036
|
-
|
|
2035
|
+
b("span", Jt, [
|
|
2036
|
+
b("span", {
|
|
2037
2037
|
class: "progress-item",
|
|
2038
2038
|
style: ne({ width: `${a.file.progress}%` })
|
|
2039
2039
|
}, null, 4)
|
|
2040
2040
|
])
|
|
2041
2041
|
]),
|
|
2042
|
-
|
|
2042
|
+
b("div", Zt, [
|
|
2043
2043
|
a.file.status === n(W).uploading ? (o(), g(Z, {
|
|
2044
2044
|
key: 0,
|
|
2045
2045
|
disabled: a.disabled,
|
|
@@ -2057,11 +2057,11 @@ const ie = (a) => {
|
|
|
2057
2057
|
variant: "plain",
|
|
2058
2058
|
icon: "trash-bulk"
|
|
2059
2059
|
}, null, 8, ["disabled"])),
|
|
2060
|
-
|
|
2060
|
+
b("span", null, "%" + C(parseInt(a.file.progress.toString())), 1)
|
|
2061
2061
|
])
|
|
2062
2062
|
]));
|
|
2063
2063
|
}
|
|
2064
|
-
}), Xt = ["onDrop"], Qt = ["accept", "multiple", "disabled"], eo = { class: "text" }, so = /* @__PURE__ */
|
|
2064
|
+
}), Xt = ["onDrop"], Qt = ["accept", "multiple", "disabled"], eo = { class: "text" }, so = /* @__PURE__ */ b("span", null, "Uploading file...", -1), to = { class: "upload-icon" }, oo = {
|
|
2065
2065
|
key: 0,
|
|
2066
2066
|
class: "upload-title"
|
|
2067
2067
|
}, no = {
|
|
@@ -2142,7 +2142,7 @@ const ie = (a) => {
|
|
|
2142
2142
|
{
|
|
2143
2143
|
"only-file-list": !I.value
|
|
2144
2144
|
}
|
|
2145
|
-
]),
|
|
2145
|
+
]), y = c(() => {
|
|
2146
2146
|
const w = e?.size ? Ut.indexOf(e.size) : 0;
|
|
2147
2147
|
return ls[w];
|
|
2148
2148
|
}), S = c(
|
|
@@ -2156,7 +2156,7 @@ const ie = (a) => {
|
|
|
2156
2156
|
l.value?.click();
|
|
2157
2157
|
}, P = (w) => {
|
|
2158
2158
|
w.preventDefault();
|
|
2159
|
-
},
|
|
2159
|
+
}, L = () => {
|
|
2160
2160
|
i.value = !0;
|
|
2161
2161
|
}, H = () => {
|
|
2162
2162
|
i.value = !1;
|
|
@@ -2192,7 +2192,7 @@ const ie = (a) => {
|
|
|
2192
2192
|
r.forEach((w) => {
|
|
2193
2193
|
t.value?.addEventListener(w, P);
|
|
2194
2194
|
}), d.forEach((w) => {
|
|
2195
|
-
t.value?.addEventListener(w,
|
|
2195
|
+
t.value?.addEventListener(w, L);
|
|
2196
2196
|
}), u.forEach((w) => {
|
|
2197
2197
|
t.value?.addEventListener(w, H);
|
|
2198
2198
|
});
|
|
@@ -2200,15 +2200,15 @@ const ie = (a) => {
|
|
|
2200
2200
|
r.forEach((w) => {
|
|
2201
2201
|
t.value?.removeEventListener(w, P);
|
|
2202
2202
|
}), d.forEach((w) => {
|
|
2203
|
-
t.value?.removeEventListener(w,
|
|
2203
|
+
t.value?.removeEventListener(w, L);
|
|
2204
2204
|
}), u.forEach((w) => {
|
|
2205
2205
|
t.value?.removeEventListener(w, H);
|
|
2206
2206
|
});
|
|
2207
2207
|
}), (w, N) => (o(), p("div", B({ class: "ma-upload-wrapper" }, w.$attrs), [
|
|
2208
|
-
Y(
|
|
2208
|
+
Y(b("div", {
|
|
2209
2209
|
ref_key: "uploadArea",
|
|
2210
2210
|
ref: t,
|
|
2211
|
-
class:
|
|
2211
|
+
class: E(n(T)),
|
|
2212
2212
|
onDrop: be(ae, ["prevent"])
|
|
2213
2213
|
}, [
|
|
2214
2214
|
(o(), p("input", {
|
|
@@ -2227,7 +2227,7 @@ const ie = (a) => {
|
|
|
2227
2227
|
variant: "dark",
|
|
2228
2228
|
icon: "export-2",
|
|
2229
2229
|
onClick: f,
|
|
2230
|
-
size: n(
|
|
2230
|
+
size: n(y),
|
|
2231
2231
|
disabled: n(V),
|
|
2232
2232
|
loading: n(S)
|
|
2233
2233
|
}, {
|
|
@@ -2248,7 +2248,7 @@ const ie = (a) => {
|
|
|
2248
2248
|
key: 1,
|
|
2249
2249
|
name: "export-2-bulk"
|
|
2250
2250
|
})),
|
|
2251
|
-
|
|
2251
|
+
b("span", eo, [
|
|
2252
2252
|
n(S) ? (o(), p(q, { key: 0 }, [
|
|
2253
2253
|
D(" Uploading... ")
|
|
2254
2254
|
], 64)) : (o(), p(q, { key: 1 }, [
|
|
@@ -2279,7 +2279,7 @@ const ie = (a) => {
|
|
|
2279
2279
|
_: 1
|
|
2280
2280
|
})
|
|
2281
2281
|
], 64)) : (o(), p(q, { key: 1 }, [
|
|
2282
|
-
|
|
2282
|
+
b("div", to, [
|
|
2283
2283
|
x(k, { name: "upload-bulk" })
|
|
2284
2284
|
]),
|
|
2285
2285
|
e?.title ? (o(), p("span", oo, [
|
|
@@ -2297,7 +2297,7 @@ const ie = (a) => {
|
|
|
2297
2297
|
]),
|
|
2298
2298
|
n(A) ? (o(), p("div", {
|
|
2299
2299
|
key: 0,
|
|
2300
|
-
class:
|
|
2300
|
+
class: E(n(M))
|
|
2301
2301
|
}, [
|
|
2302
2302
|
(o(!0), p(q, null, U(n(m), (j, Q) => (o(), g(Yt, {
|
|
2303
2303
|
onRemove: (te) => le(Q),
|
|
@@ -2350,7 +2350,7 @@ const lo = {
|
|
|
2350
2350
|
[X, !n(r)]
|
|
2351
2351
|
])
|
|
2352
2352
|
], 64)) : v("", !0),
|
|
2353
|
-
|
|
2353
|
+
b("span", null, [
|
|
2354
2354
|
D(C(s?.text) + " ", 1),
|
|
2355
2355
|
_(m.$slots, "default")
|
|
2356
2356
|
])
|
|
@@ -2397,7 +2397,7 @@ const io = {
|
|
|
2397
2397
|
href: s?.href
|
|
2398
2398
|
}, i.$attrs), {
|
|
2399
2399
|
default: h(() => [
|
|
2400
|
-
|
|
2400
|
+
b("span", null, [
|
|
2401
2401
|
s?.icon ? (o(), p("div", io, [
|
|
2402
2402
|
Y(x(k, {
|
|
2403
2403
|
size: "xs",
|
|
@@ -2564,11 +2564,11 @@ const uo = ["src", "alt"], mo = {
|
|
|
2564
2564
|
placement: "topLeft"
|
|
2565
2565
|
}, {
|
|
2566
2566
|
default: h(() => [
|
|
2567
|
-
|
|
2567
|
+
b("button", B({
|
|
2568
2568
|
class: n(e),
|
|
2569
2569
|
role: "button"
|
|
2570
2570
|
}, t.$attrs), [
|
|
2571
|
-
|
|
2571
|
+
b("img", {
|
|
2572
2572
|
src: a.appImage,
|
|
2573
2573
|
alt: a.appName
|
|
2574
2574
|
}, null, 8, uo),
|
|
@@ -2661,7 +2661,7 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2661
2661
|
fill: "none",
|
|
2662
2662
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2663
2663
|
}, [
|
|
2664
|
-
|
|
2664
|
+
b("path", {
|
|
2665
2665
|
d: n(t).path,
|
|
2666
2666
|
"stroke-linecap": "round",
|
|
2667
2667
|
"stroke-linejoin": "round",
|
|
@@ -2684,7 +2684,7 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2684
2684
|
name: s.icon
|
|
2685
2685
|
}, null, 8, ["name"])) : (o(), p("label", yo, [
|
|
2686
2686
|
s?.label ? (o(), p("span", bo, C(s.label), 1)) : v("", !0),
|
|
2687
|
-
|
|
2687
|
+
b("span", ko, C(s?.percent) + "% ", 1)
|
|
2688
2688
|
]))
|
|
2689
2689
|
]));
|
|
2690
2690
|
}
|
|
@@ -2712,8 +2712,8 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2712
2712
|
return (l, i) => (o(), p("div", Co, [
|
|
2713
2713
|
s?.showTooltip ? (o(), g(pe, Te(B({ key: 0 }, n(t))), {
|
|
2714
2714
|
default: h(() => [
|
|
2715
|
-
|
|
2716
|
-
|
|
2715
|
+
b("div", wo, [
|
|
2716
|
+
b("div", {
|
|
2717
2717
|
class: "line",
|
|
2718
2718
|
style: ne(n(e))
|
|
2719
2719
|
}, null, 4)
|
|
@@ -2725,8 +2725,8 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2725
2725
|
]),
|
|
2726
2726
|
_: 1
|
|
2727
2727
|
}, 16)) : (o(), p(q, { key: 1 }, [
|
|
2728
|
-
|
|
2729
|
-
|
|
2728
|
+
b("div", Bo, [
|
|
2729
|
+
b("div", {
|
|
2730
2730
|
class: "line",
|
|
2731
2731
|
style: ne(n(e))
|
|
2732
2732
|
}, null, 4)
|
|
@@ -2794,7 +2794,7 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2794
2794
|
fill: "none",
|
|
2795
2795
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2796
2796
|
}, [
|
|
2797
|
-
|
|
2797
|
+
b("path", {
|
|
2798
2798
|
d: n(t).path,
|
|
2799
2799
|
"stroke-width": n(t).strokeWidth,
|
|
2800
2800
|
"stroke-linecap": "round",
|
|
@@ -2817,7 +2817,7 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2817
2817
|
name: s.icon
|
|
2818
2818
|
}, null, 8, ["name"])) : (o(), p("label", Po, [
|
|
2819
2819
|
s?.label ? (o(), p("span", No, C(s.label), 1)) : v("", !0),
|
|
2820
|
-
|
|
2820
|
+
b("span", Do, C(s?.percent) + "% ", 1)
|
|
2821
2821
|
]))
|
|
2822
2822
|
]));
|
|
2823
2823
|
}
|
|
@@ -2841,12 +2841,12 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2841
2841
|
};
|
|
2842
2842
|
};
|
|
2843
2843
|
return (t, l) => (o(), p("div", Eo, [
|
|
2844
|
-
|
|
2845
|
-
(o(), p(q, null, U(10, (i) =>
|
|
2844
|
+
b("div", Fo, [
|
|
2845
|
+
(o(), p(q, null, U(10, (i) => b("div", {
|
|
2846
2846
|
class: "single-line",
|
|
2847
2847
|
key: i
|
|
2848
2848
|
}, [
|
|
2849
|
-
|
|
2849
|
+
b("div", {
|
|
2850
2850
|
class: "single-line-fill",
|
|
2851
2851
|
style: ne(e(i))
|
|
2852
2852
|
}, null, 4)
|
|
@@ -2906,10 +2906,10 @@ const vo = { class: "ma-progress-circle" }, fo = ["viewBox"], _o = ["d", "stroke
|
|
|
2906
2906
|
() => s.percent > 100 ? 100 : s.percent
|
|
2907
2907
|
);
|
|
2908
2908
|
return (r, d) => (o(), p("div", {
|
|
2909
|
-
class:
|
|
2909
|
+
class: E(n(e))
|
|
2910
2910
|
}, [
|
|
2911
2911
|
(o(), g(ee(n(t)), {
|
|
2912
|
-
class:
|
|
2912
|
+
class: E(n(l)),
|
|
2913
2913
|
percent: n(i),
|
|
2914
2914
|
icon: s?.icon,
|
|
2915
2915
|
label: s?.label,
|
|
@@ -2980,7 +2980,7 @@ const xa = [
|
|
|
2980
2980
|
s("search", f), z.value && s("update:value", f), l.value || (l.value = !0);
|
|
2981
2981
|
}, M = (f) => {
|
|
2982
2982
|
l.value = !0;
|
|
2983
|
-
},
|
|
2983
|
+
}, y = (f) => {
|
|
2984
2984
|
l.value && i.value && f.target instanceof Node && !i.value.contains(f.target) && (l.value = !1);
|
|
2985
2985
|
}, S = (f) => {
|
|
2986
2986
|
f.key === "ArrowUp" && d.value > -1 ? d.value-- : f.key === "ArrowDown" && d.value < I.value.length ? d.value++ : f.key === "Enter" && I.value[d.value] && A(I.value[d.value]);
|
|
@@ -3000,9 +3000,9 @@ const xa = [
|
|
|
3000
3000
|
}, 0);
|
|
3001
3001
|
}
|
|
3002
3002
|
), ce(() => {
|
|
3003
|
-
i.value && (i.value.addEventListener("input", T), i.value.addEventListener("keydown", S), document.addEventListener("click",
|
|
3003
|
+
i.value && (i.value.addEventListener("input", T), i.value.addEventListener("keydown", S), document.addEventListener("click", y), r.value = i.value.querySelector('input[type="text"]'), r.value && r.value.addEventListener("focus", M));
|
|
3004
3004
|
}), ye(() => {
|
|
3005
|
-
i.value && (i.value.removeEventListener("input", T), document.removeEventListener("click",
|
|
3005
|
+
i.value && (i.value.removeEventListener("input", T), document.removeEventListener("click", y), i.value.removeEventListener("keydown", S), r.value && r.value.removeEventListener("focus", M));
|
|
3006
3006
|
}), (f, P) => (o(), p("div", B({
|
|
3007
3007
|
class: "ak-autocomplete-wrapper",
|
|
3008
3008
|
ref_key: "autoComplete",
|
|
@@ -3012,23 +3012,23 @@ const xa = [
|
|
|
3012
3012
|
"overlay-class-name": "ak-autocomplete__dropdown",
|
|
3013
3013
|
trigger: [],
|
|
3014
3014
|
visible: l.value,
|
|
3015
|
-
"onUpdate:visible": P[1] || (P[1] = (
|
|
3015
|
+
"onUpdate:visible": P[1] || (P[1] = (L) => l.value = L)
|
|
3016
3016
|
}, {
|
|
3017
3017
|
overlay: h(() => [
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
(o(!0), p(q, null, U(n(I), (
|
|
3021
|
-
class:
|
|
3022
|
-
onMousedown: be((ae) => A(
|
|
3018
|
+
b("div", Oo, [
|
|
3019
|
+
b("ul", null, [
|
|
3020
|
+
(o(!0), p(q, null, U(n(I), (L, H) => (o(), p("li", {
|
|
3021
|
+
class: E(R(L, H)),
|
|
3022
|
+
onMousedown: be((ae) => A(L), ["prevent"]),
|
|
3023
3023
|
onMouseover: (ae) => V(H),
|
|
3024
3024
|
key: H
|
|
3025
3025
|
}, [
|
|
3026
3026
|
f.$slots.option ? _(f.$slots, "option", {
|
|
3027
3027
|
key: 0,
|
|
3028
|
-
label:
|
|
3029
|
-
value:
|
|
3030
|
-
}) : (o(), p("span", Ho, C(
|
|
3031
|
-
|
|
3028
|
+
label: L?.label,
|
|
3029
|
+
value: L.value
|
|
3030
|
+
}) : (o(), p("span", Ho, C(L?.label || L?.value), 1)),
|
|
3031
|
+
L?.value === n(u) ? (o(), g(k, {
|
|
3032
3032
|
key: 2,
|
|
3033
3033
|
name: "tick",
|
|
3034
3034
|
size: "sm"
|
|
@@ -3039,20 +3039,20 @@ const xa = [
|
|
|
3039
3039
|
])
|
|
3040
3040
|
]),
|
|
3041
3041
|
default: h(() => [
|
|
3042
|
-
|
|
3043
|
-
class:
|
|
3042
|
+
b("div", {
|
|
3043
|
+
class: E(n(G))
|
|
3044
3044
|
}, [
|
|
3045
3045
|
e.label ? (o(), p("label", jo, C(e.label), 1)) : v("", !0),
|
|
3046
3046
|
f.$slots.default ? _(f.$slots, "default", { key: 1 }) : (o(), g(Ce, {
|
|
3047
3047
|
key: 2,
|
|
3048
|
-
class:
|
|
3048
|
+
class: E({ "active-input": n(u)?.length }),
|
|
3049
3049
|
size: e.size,
|
|
3050
3050
|
placeholder: e?.placeholder,
|
|
3051
3051
|
prefixIcon: e?.prefixIcon,
|
|
3052
3052
|
avatarUrl: e?.avatarUrl,
|
|
3053
3053
|
type: n(m),
|
|
3054
3054
|
value: n(u),
|
|
3055
|
-
"onUpdate:value": P[0] || (P[0] = (
|
|
3055
|
+
"onUpdate:value": P[0] || (P[0] = (L) => K(u) ? u.value = L : null)
|
|
3056
3056
|
}, null, 8, ["class", "size", "placeholder", "prefixIcon", "avatarUrl", "type", "value"]))
|
|
3057
3057
|
], 2)
|
|
3058
3058
|
]),
|
|
@@ -3182,13 +3182,13 @@ const Pa = [
|
|
|
3182
3182
|
value: u.code
|
|
3183
3183
|
}, {
|
|
3184
3184
|
default: h(() => [
|
|
3185
|
-
|
|
3185
|
+
b("div", Go, [
|
|
3186
3186
|
x(k, {
|
|
3187
3187
|
name: l(u.code),
|
|
3188
3188
|
size: "sm"
|
|
3189
3189
|
}, null, 8, ["name"]),
|
|
3190
|
-
|
|
3191
|
-
|
|
3190
|
+
b("span", Jo, C(u.name), 1),
|
|
3191
|
+
b("span", Zo, C(u.code), 1)
|
|
3192
3192
|
])
|
|
3193
3193
|
]),
|
|
3194
3194
|
_: 2
|
|
@@ -3246,12 +3246,18 @@ const Xo = {
|
|
|
3246
3246
|
contentIcon: null,
|
|
3247
3247
|
iconColor: { default: "purple" },
|
|
3248
3248
|
collapse: { type: Boolean, default: !1 },
|
|
3249
|
-
collapsable: { type: Boolean, default: !1 }
|
|
3249
|
+
collapsable: { type: Boolean, default: !1 },
|
|
3250
|
+
size: { default: "default" }
|
|
3250
3251
|
},
|
|
3251
3252
|
emits: ["close", "update:collapse"],
|
|
3252
3253
|
setup(a, { emit: s }) {
|
|
3253
3254
|
const e = a, t = se(), l = c(() => [
|
|
3254
|
-
`ak-card
|
|
3255
|
+
` ak-card
|
|
3256
|
+
ak-card--header-${e.headerAlignment}
|
|
3257
|
+
icon-${e?.iconColor}
|
|
3258
|
+
ak-card--footer-${e.footerAlignment}
|
|
3259
|
+
ak-card--${e.size}
|
|
3260
|
+
`
|
|
3255
3261
|
]), i = c(() => e.collapsable && !e.collapse), r = c(() => [
|
|
3256
3262
|
"ak-card__content",
|
|
3257
3263
|
{
|
|
@@ -3278,17 +3284,15 @@ const Xo = {
|
|
|
3278
3284
|
get() {
|
|
3279
3285
|
return e.collapse;
|
|
3280
3286
|
},
|
|
3281
|
-
set(
|
|
3282
|
-
s("update:collapse",
|
|
3287
|
+
set(y) {
|
|
3288
|
+
s("update:collapse", y);
|
|
3283
3289
|
}
|
|
3284
3290
|
}), A = c(() => e.collapse ? "chevron-up" : "chevron-down"), T = () => {
|
|
3285
3291
|
s("close");
|
|
3286
3292
|
}, M = () => {
|
|
3287
3293
|
I.value = !I.value;
|
|
3288
3294
|
};
|
|
3289
|
-
return (
|
|
3290
|
-
class: L(n(l))
|
|
3291
|
-
}, [
|
|
3295
|
+
return (y, S) => (o(), p("div", B({ class: n(l) }, y.$attrs), [
|
|
3292
3296
|
n(u) ? (o(), p("div", Xo, [
|
|
3293
3297
|
e?.headerAvatar ? (o(), p("img", {
|
|
3294
3298
|
key: 0,
|
|
@@ -3300,19 +3304,19 @@ const Xo = {
|
|
|
3300
3304
|
name: e.headerIcon,
|
|
3301
3305
|
class: "card-icon"
|
|
3302
3306
|
}, null, 8, ["name"])) : v("", !0),
|
|
3303
|
-
|
|
3304
|
-
e?.title ||
|
|
3307
|
+
b("div", en, [
|
|
3308
|
+
e?.title || y.$slots?.title ? (o(), p("h1", sn, [
|
|
3305
3309
|
D(C(e.title), 1),
|
|
3306
|
-
_(
|
|
3310
|
+
_(y.$slots, "title")
|
|
3307
3311
|
])) : v("", !0),
|
|
3308
|
-
e?.description ||
|
|
3312
|
+
e?.description || y.$slots.description ? (o(), p("p", tn, [
|
|
3309
3313
|
D(C(e.description), 1),
|
|
3310
|
-
_(
|
|
3314
|
+
_(y.$slots, "description")
|
|
3311
3315
|
])) : v("", !0),
|
|
3312
|
-
_(
|
|
3316
|
+
_(y.$slots, "headerContent")
|
|
3313
3317
|
]),
|
|
3314
|
-
|
|
3315
|
-
_(
|
|
3318
|
+
y.$slots?.headerActions || e?.closable || e?.collapsable ? (o(), p("div", on, [
|
|
3319
|
+
_(y.$slots, "headerActions"),
|
|
3316
3320
|
e?.collapsable ? (o(), g(Z, {
|
|
3317
3321
|
key: 0,
|
|
3318
3322
|
class: "collapse-button",
|
|
@@ -3336,47 +3340,50 @@ const Xo = {
|
|
|
3336
3340
|
])) : v("", !0),
|
|
3337
3341
|
n(m) ? (o(), p("div", {
|
|
3338
3342
|
key: 1,
|
|
3339
|
-
class:
|
|
3343
|
+
class: E(n(r))
|
|
3340
3344
|
}, [
|
|
3341
3345
|
e?.contentIcon ? (o(), g(k, {
|
|
3342
3346
|
key: 0,
|
|
3343
3347
|
name: e.contentIcon,
|
|
3344
3348
|
class: "card-icon"
|
|
3345
3349
|
}, null, 8, ["name"])) : v("", !0),
|
|
3346
|
-
|
|
3347
|
-
_(
|
|
3350
|
+
y.$slots.contentTitle ? (o(), p("h1", nn, [
|
|
3351
|
+
_(y.$slots, "contentTitle")
|
|
3348
3352
|
])) : v("", !0),
|
|
3349
|
-
|
|
3350
|
-
_(
|
|
3353
|
+
y.$slots.contentDescription ? (o(), p("p", an, [
|
|
3354
|
+
_(y.$slots, "contentDescription")
|
|
3351
3355
|
])) : v("", !0),
|
|
3352
|
-
|
|
3353
|
-
_(
|
|
3356
|
+
y.$slots.default ? (o(), p("div", ln, [
|
|
3357
|
+
_(y.$slots, "default")
|
|
3354
3358
|
])) : v("", !0)
|
|
3355
3359
|
], 2)) : v("", !0),
|
|
3356
3360
|
n(z) ? (o(), p("div", {
|
|
3357
3361
|
key: 2,
|
|
3358
|
-
class:
|
|
3362
|
+
class: E(n(d))
|
|
3359
3363
|
}, [
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
_(
|
|
3364
|
+
y.$slots.footerTitle || y.$slots.footerDescription || y.$slots.footer ? (o(), p("div", rn, [
|
|
3365
|
+
y.$slots.footerTitle ? (o(), p("h1", cn, [
|
|
3366
|
+
_(y.$slots, "footerTitle")
|
|
3363
3367
|
])) : v("", !0),
|
|
3364
|
-
|
|
3365
|
-
_(
|
|
3368
|
+
y.$slots.footerDescription ? (o(), p("p", pn, [
|
|
3369
|
+
_(y.$slots, "footerDescription")
|
|
3366
3370
|
])) : v("", !0),
|
|
3367
|
-
_(
|
|
3371
|
+
_(y.$slots, "footer")
|
|
3368
3372
|
])) : v("", !0),
|
|
3369
|
-
|
|
3370
|
-
_(
|
|
3373
|
+
y.$slots.footerActions ? (o(), p("div", un, [
|
|
3374
|
+
_(y.$slots, "footerActions")
|
|
3371
3375
|
])) : v("", !0)
|
|
3372
3376
|
], 2)) : v("", !0)
|
|
3373
|
-
],
|
|
3377
|
+
], 16));
|
|
3374
3378
|
}
|
|
3375
3379
|
});
|
|
3376
3380
|
const Ra = [
|
|
3377
3381
|
"left",
|
|
3378
3382
|
"center"
|
|
3379
3383
|
], Ua = [
|
|
3384
|
+
"small",
|
|
3385
|
+
"default"
|
|
3386
|
+
], Va = [
|
|
3380
3387
|
"blue",
|
|
3381
3388
|
"green",
|
|
3382
3389
|
"orange",
|
|
@@ -3384,7 +3391,7 @@ const Ra = [
|
|
|
3384
3391
|
"purple"
|
|
3385
3392
|
], mn = { key: 0 }, gn = { key: 0 }, vn = {
|
|
3386
3393
|
name: "MaInputNumber"
|
|
3387
|
-
},
|
|
3394
|
+
}, ja = /* @__PURE__ */ $({
|
|
3388
3395
|
...vn,
|
|
3389
3396
|
props: {
|
|
3390
3397
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -3439,7 +3446,7 @@ const Ra = [
|
|
|
3439
3446
|
};
|
|
3440
3447
|
return (u, m) => (o(), p("div", null, [
|
|
3441
3448
|
x(n(ts), {
|
|
3442
|
-
class:
|
|
3449
|
+
class: E(n(i)),
|
|
3443
3450
|
value: n(l),
|
|
3444
3451
|
"onUpdate:value": m[0] || (m[0] = (z) => K(l) ? l.value = z : null),
|
|
3445
3452
|
disabled: a.disabled,
|
|
@@ -3500,7 +3507,7 @@ class fn {
|
|
|
3500
3507
|
}
|
|
3501
3508
|
}
|
|
3502
3509
|
const _n = new fn();
|
|
3503
|
-
function
|
|
3510
|
+
function Oa() {
|
|
3504
3511
|
return Le(_n.getConfig());
|
|
3505
3512
|
}
|
|
3506
3513
|
export {
|
|
@@ -3529,7 +3536,8 @@ export {
|
|
|
3529
3536
|
Z as MaButton,
|
|
3530
3537
|
Fa as MaCard,
|
|
3531
3538
|
Ra as MaCardAlignments,
|
|
3532
|
-
|
|
3539
|
+
Va as MaCardIconColors,
|
|
3540
|
+
Ua as MaCardSizes,
|
|
3533
3541
|
jn as MaCheckbox,
|
|
3534
3542
|
On as MaCheckboxGroup,
|
|
3535
3543
|
Ea as MaCountrySelect,
|
|
@@ -3548,7 +3556,7 @@ export {
|
|
|
3548
3556
|
bn as MaIconSizes,
|
|
3549
3557
|
Ce as MaInput,
|
|
3550
3558
|
Rn as MaInputCurrency,
|
|
3551
|
-
|
|
3559
|
+
ja as MaInputNumber,
|
|
3552
3560
|
xs as MaInputSize,
|
|
3553
3561
|
J as MaInputType,
|
|
3554
3562
|
ve as MaModal,
|
|
@@ -3603,5 +3611,5 @@ export {
|
|
|
3603
3611
|
xn as TrackButtonVariants,
|
|
3604
3612
|
Is as currencyOptions,
|
|
3605
3613
|
zs as currencySymbols,
|
|
3606
|
-
|
|
3614
|
+
Oa as useActionKitConfig
|
|
3607
3615
|
};
|