@mobileaction/action-kit 1.1.39 → 1.1.41

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.
@@ -1,5 +1,5 @@
1
- import { defineComponent as k, computed as c, defineAsyncComponent as Ce, openBlock as n, createBlock as d, resolveDynamicComponent as X, unref as t, normalizeClass as R, mergeProps as w, createSlots as H, renderList as j, withCtx as g, renderSlot as _, createElementVNode as f, createVNode as M, createTextVNode as N, toDisplayString as C, createElementBlock as p, isRef as J, createCommentVNode as v, ref as L, Fragment as O, useSlots as oe, useAttrs as we, watch as se, Transition as fe, onMounted as _e, onBeforeUnmount as xe, normalizeStyle as ee, h as Me, createApp as Be, onUnmounted as ze, withDirectives as Z, withModifiers as Se, vShow as Y, normalizeProps as Ie, reactive as Ae, readonly as Te, toRefs as Pe } from "vue";
2
- import { Button as he, Switch as Ne, Tooltip as De, Form as Le, FormItem as Re, Avatar as Fe, Select as je, InputPassword as Ee, Input as Ve, Textarea as qe, SelectOption as Ue, Checkbox as Oe, CheckboxGroup as He, Radio as We, RadioGroup as Ge, Alert as Je, Modal as Ke, Dropdown as Ze } from "ant-design-vue";
1
+ import { defineComponent as k, computed as c, defineAsyncComponent as Ce, openBlock as n, createBlock as d, resolveDynamicComponent as X, unref as t, normalizeClass as R, mergeProps as w, createSlots as H, renderList as j, withCtx as v, renderSlot as _, createElementVNode as y, createVNode as M, createTextVNode as N, toDisplayString as C, createElementBlock as p, isRef as K, createCommentVNode as f, ref as L, Fragment as O, useSlots as oe, useAttrs as we, watch as se, Transition as fe, onMounted as _e, onBeforeUnmount as xe, normalizeStyle as ee, h as Me, createApp as Be, onUnmounted as ze, withDirectives as Z, withModifiers as Se, vShow as Y, normalizeProps as Ie, reactive as Ae, readonly as Te, toRefs as Pe } from "vue";
2
+ import { Button as he, Switch as Ne, Tooltip as De, Form as Le, FormItem as Re, Avatar as Fe, Select as je, InputPassword as Ee, Input as Ve, Textarea as Ue, SelectOption as qe, Checkbox as Oe, CheckboxGroup as He, Radio as We, RadioGroup as Ge, Alert as Ke, Modal as Je, Dropdown as Ze } from "ant-design-vue";
3
3
  const ae = (a, s) => {
4
4
  const e = a[s];
5
5
  return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((o, i) => {
@@ -41,7 +41,7 @@ const ae = (a, s) => {
41
41
  }
42
42
  }), Qe = {
43
43
  name: "MaButton"
44
- }, K = /* @__PURE__ */ k({
44
+ }, J = /* @__PURE__ */ k({
45
45
  ...Qe,
46
46
  props: {
47
47
  type: { default: "primary" },
@@ -55,50 +55,56 @@ const ae = (a, s) => {
55
55
  icon: null,
56
56
  iconAlignment: null
57
57
  },
58
- setup(a) {
59
- const s = a, e = c(() => s.type === "secondary" ? "default" : s.type === "grey-link" ? "link" : s.type), o = c(() => [
58
+ emits: [
59
+ "keyUp"
60
+ ],
61
+ setup(a, { emit: s }) {
62
+ const e = a, o = c(() => e.type === "secondary" ? "default" : e.type === "grey-link" ? "link" : e.type), i = c(() => [
60
63
  `
61
64
  ma-button
62
65
  ak-button
63
- ak-button--${s.variant}
64
- ak-button--${s.type}
65
- ak-button--${s.size}
66
+ ak-button--${e.variant}
67
+ ak-button--${e.type}
68
+ ak-button--${e.size}
66
69
  `,
67
70
  {
68
- "ak-button--rounded": s.shape === "round"
71
+ "ak-button--rounded": e.shape === "round"
69
72
  },
70
73
  {
71
- "ak-button--icon-right": s.iconAlignment === "right"
74
+ "ak-button--icon-right": e.iconAlignment === "right"
72
75
  },
73
76
  {
74
- "ak-button--disabled": l.value
77
+ "ak-button--disabled": r.value
75
78
  }
76
- ]), i = c(() => s?.loading || s?.icon), l = c(() => s?.disabled || s?.loading);
77
- return (r, m) => (n(), d(t(he), w({
78
- class: t(o),
79
- href: s.href,
80
- target: s.target,
81
- disabled: t(l),
82
- type: t(e),
79
+ ]), l = c(() => e?.loading || e?.icon), r = c(() => e?.disabled || e?.loading), m = (g) => {
80
+ s("keyUp", g);
81
+ };
82
+ return (g, u) => (n(), d(t(he), w({
83
+ class: t(i),
84
+ href: e.href,
85
+ target: e.target,
86
+ disabled: t(r),
87
+ type: t(o),
88
+ onKeyup: m,
83
89
  role: "button"
84
- }, r.$attrs, { "prefix-cls": "antd-btn" }), H({ _: 2 }, [
85
- j(r.$slots, (h, u) => ({
86
- name: u,
87
- fn: g(() => [
88
- _(r.$slots, u)
90
+ }, g.$attrs, { "prefix-cls": "antd-btn" }), H({ _: 2 }, [
91
+ j(g.$slots, (B, z) => ({
92
+ name: z,
93
+ fn: v(() => [
94
+ _(g.$slots, z)
89
95
  ])
90
96
  })),
91
- t(i) ? {
97
+ t(l) ? {
92
98
  name: "icon",
93
- fn: g(() => [
94
- s?.loading ? (n(), d(b, {
99
+ fn: v(() => [
100
+ e?.loading ? (n(), d(b, {
95
101
  key: 0,
96
102
  class: "ak-button__loader",
97
103
  spin: "",
98
104
  name: "loader"
99
105
  })) : (n(), d(b, {
100
106
  key: 1,
101
- name: s?.icon
107
+ name: e?.icon
102
108
  }, null, 8, ["name"]))
103
109
  ]),
104
110
  key: "0"
@@ -112,7 +118,7 @@ const Vt = [
112
118
  "link",
113
119
  "grey-link",
114
120
  "social"
115
- ], qt = [
121
+ ], Ut = [
116
122
  "dark",
117
123
  "plain",
118
124
  "info",
@@ -125,7 +131,7 @@ const Vt = [
125
131
  "large",
126
132
  "x-large",
127
133
  "2x-large"
128
- ], Ut = [
134
+ ], qt = [
129
135
  "default",
130
136
  "round"
131
137
  ], Ot = [
@@ -175,8 +181,8 @@ const Vt = [
175
181
  role: "button",
176
182
  "prefix-cls": "antd-btn"
177
183
  }), H({
178
- icon: g(() => [
179
- f("div", ss, [
184
+ icon: v(() => [
185
+ y("div", ss, [
180
186
  M(b, {
181
187
  spin: s?.loading,
182
188
  name: t(o),
@@ -184,15 +190,15 @@ const Vt = [
184
190
  }, null, 8, ["spin", "name", "size"])
185
191
  ])
186
192
  ]),
187
- default: g(() => [
193
+ default: v(() => [
188
194
  N(" " + C(a.keyword) + " ", 1)
189
195
  ]),
190
196
  _: 2
191
197
  }, [
192
- j(l.$slots, (m, h) => ({
193
- name: h,
194
- fn: g(() => [
195
- _(l.$slots, h)
198
+ j(l.$slots, (m, g) => ({
199
+ name: g,
200
+ fn: v(() => [
201
+ _(l.$slots, g)
196
202
  ])
197
203
  }))
198
204
  ]), 1040, ["class", "disabled"]));
@@ -200,7 +206,7 @@ const Vt = [
200
206
  });
201
207
  const Gt = [
202
208
  "default"
203
- ], Jt = [
209
+ ], Kt = [
204
210
  "sm",
205
211
  "md",
206
212
  "lg"
@@ -215,7 +221,7 @@ const Gt = [
215
221
  class: "ma-toggle__titles__sub-title"
216
222
  }, is = {
217
223
  name: "MaToggle"
218
- }, Kt = /* @__PURE__ */ k({
224
+ }, Jt = /* @__PURE__ */ k({
219
225
  ...is,
220
226
  props: {
221
227
  size: { default: "default" },
@@ -249,7 +255,7 @@ const Gt = [
249
255
  M(t(Ne), w({
250
256
  class: "ma-toggle__switch",
251
257
  checked: t(o),
252
- "onUpdate:checked": r[0] || (r[0] = (m) => J(o) ? o.value = m : null)
258
+ "onUpdate:checked": r[0] || (r[0] = (m) => K(o) ? o.value = m : null)
253
259
  }, l.$attrs, {
254
260
  onClick: r[1] || (r[1] = (m) => l.$emit("click", m)),
255
261
  disabled: e.disabled,
@@ -259,9 +265,9 @@ const Gt = [
259
265
  "prefix-cls": "antd-switch"
260
266
  }), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
261
267
  e.title || e.subTitle ? (n(), p("div", ts, [
262
- e.title ? (n(), p("span", ns, C(e.title), 1)) : v("", !0),
263
- e.subTitle ? (n(), p("span", as, C(e.subTitle), 1)) : v("", !0)
264
- ])) : v("", !0)
268
+ e.title ? (n(), p("span", ns, C(e.title), 1)) : f("", !0),
269
+ e.subTitle ? (n(), p("span", as, C(e.subTitle), 1)) : f("", !0)
270
+ ])) : f("", !0)
265
271
  ], 2));
266
272
  }
267
273
  });
@@ -311,17 +317,17 @@ const Zt = [
311
317
  "aria-checked": t(o) === e.rightValue,
312
318
  disabled: e.disabled
313
319
  }), [
314
- f("span", {
320
+ y("span", {
315
321
  class: R({ active: e.active === e.leftValue }),
316
- onClick: m[0] || (m[0] = (h) => l(e.leftValue))
322
+ onClick: m[0] || (m[0] = (g) => l(e.leftValue))
317
323
  }, [
318
324
  M(b, {
319
325
  name: e.leftIcon
320
326
  }, null, 8, ["name"])
321
327
  ], 2),
322
- f("span", {
328
+ y("span", {
323
329
  class: R({ active: e.active === e.rightValue }),
324
- onClick: m[1] || (m[1] = (h) => l(e.rightValue))
330
+ onClick: m[1] || (m[1] = (g) => l(e.rightValue))
325
331
  }, [
326
332
  M(b, {
327
333
  name: e.rightIcon
@@ -367,29 +373,29 @@ const Xt = [
367
373
  };
368
374
  return (r, m) => (n(), d(t(De), w(r.$attrs, {
369
375
  visible: i.value,
370
- "onUpdate:visible": m[0] || (m[0] = (h) => i.value = h),
376
+ "onUpdate:visible": m[0] || (m[0] = (g) => i.value = g),
371
377
  class: t(e),
372
378
  placement: s.placement,
373
379
  trigger: s.trigger,
374
380
  overlayClassName: t(o),
375
381
  "prefix-cls": "antd-tooltip"
376
382
  }), {
377
- title: g(() => [
383
+ title: v(() => [
378
384
  s.icon ? (n(), d(b, {
379
385
  key: 0,
380
386
  size: "xs",
381
387
  name: s.icon
382
- }, null, 8, ["name"])) : v("", !0),
388
+ }, null, 8, ["name"])) : f("", !0),
383
389
  _(r.$slots, "icon"),
384
- f("div", cs, [
385
- f("span", ps, [
390
+ y("div", cs, [
391
+ y("span", ps, [
386
392
  N(C(s.title) + " ", 1),
387
393
  _(r.$slots, "title")
388
394
  ]),
389
395
  s?.description || r.$slots.description ? (n(), p("span", us, [
390
396
  N(C(s.description) + " ", 1),
391
397
  _(r.$slots, "description")
392
- ])) : v("", !0)
398
+ ])) : f("", !0)
393
399
  ]),
394
400
  s.closable ? (n(), d(b, {
395
401
  key: 1,
@@ -397,9 +403,9 @@ const Xt = [
397
403
  class: "ak-tooltip-overlay__close",
398
404
  size: "xs",
399
405
  name: "close"
400
- })) : v("", !0)
406
+ })) : f("", !0)
401
407
  ]),
402
- default: g(() => [
408
+ default: v(() => [
403
409
  _(r.$slots, "default")
404
410
  ]),
405
411
  _: 3
@@ -434,10 +440,10 @@ const Qt = [
434
440
  for (const [o, i] of s)
435
441
  e[o] = i;
436
442
  return e;
437
- }, vs = /* @__PURE__ */ f("label", {
443
+ }, vs = /* @__PURE__ */ y("label", {
438
444
  for: "cc-num",
439
445
  class: "hidden"
440
- }, "HubspotCollectedFormsWorkaround", -1), fs = /* @__PURE__ */ f("input", {
446
+ }, "HubspotCollectedFormsWorkaround", -1), fs = /* @__PURE__ */ y("input", {
441
447
  id: "cc-num",
442
448
  name: "cc-num",
443
449
  class: "hidden",
@@ -471,8 +477,8 @@ const hs = /* @__PURE__ */ gs(ms, [["render", _s]]), ys = {
471
477
  ref_key: "form",
472
478
  ref: o
473
479
  }), {
474
- default: g(() => [
475
- e.nonHubspotFormsIgnore ? (n(), d(hs, { key: 0 })) : v("", !0),
480
+ default: v(() => [
481
+ e.nonHubspotFormsIgnore ? (n(), d(hs, { key: 0 })) : f("", !0),
476
482
  _(u.$slots, "default")
477
483
  ]),
478
484
  _: 3
@@ -490,7 +496,7 @@ const bs = {
490
496
  }), H({ _: 2 }, [
491
497
  j(s.$slots, (o, i) => ({
492
498
  name: i,
493
- fn: g(() => [
499
+ fn: v(() => [
494
500
  _(s.$slots, i)
495
501
  ])
496
502
  }))
@@ -537,7 +543,7 @@ const bs = {
537
543
  setup(a) {
538
544
  return (s, e) => (n(), d(t(Fe), w(s.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
539
545
  }
540
- }), Ms = { class: "dropdown-wrapper" }, Bs = { class: "mobile-header" }, zs = /* @__PURE__ */ f("label", null, "Select", -1), Ss = {
546
+ }), Ms = { class: "dropdown-wrapper" }, Bs = { class: "mobile-header" }, zs = /* @__PURE__ */ y("label", null, "Select", -1), Ss = {
541
547
  name: "MaDropdownRender"
542
548
  }, Is = /* @__PURE__ */ k({
543
549
  ...Ss,
@@ -564,18 +570,18 @@ const bs = {
564
570
  s("closeDropdown");
565
571
  };
566
572
  return (r, m) => (n(), p("div", Ms, [
567
- f("div", Bs, [
573
+ y("div", Bs, [
568
574
  M(b, {
569
575
  size: "lg",
570
576
  name: "close-circle",
571
577
  onClick: l
572
578
  }),
573
579
  zs,
574
- M(K, {
580
+ M(J, {
575
581
  type: "grey-link",
576
582
  onClick: l
577
583
  }, {
578
- default: g(() => [
584
+ default: v(() => [
579
585
  N("Done")
580
586
  ]),
581
587
  _: 1
@@ -583,7 +589,7 @@ const bs = {
583
589
  ]),
584
590
  M(js, {
585
591
  value: t(i),
586
- "onUpdate:value": m[0] || (m[0] = (h) => J(i) ? i.value = h : null),
592
+ "onUpdate:value": m[0] || (m[0] = (g) => K(i) ? i.value = g : null),
587
593
  autofocus: "",
588
594
  placeholder: "Search",
589
595
  "prefix-icon": "search-normal"
@@ -635,7 +641,7 @@ const bs = {
635
641
  set(x) {
636
642
  s("update:value", x);
637
643
  }
638
- }), h = c(() => [
644
+ }), g = c(() => [
639
645
  "ma-select",
640
646
  `ma-select--${e.size}`,
641
647
  {
@@ -651,18 +657,18 @@ const bs = {
651
657
  e?.dropdownClassName,
652
658
  "ma-select-dropdown",
653
659
  !e?.mode && (o?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
654
- ].join(" ")), B = c(() => e?.loading ? "loader" : e?.suffixIcon), I = c(() => Object.keys(o).filter((x) => !["option"].includes(x))), S = c(() => e?.showArrow || !e?.mode), P = () => {
660
+ ].join(" ")), B = c(() => e?.loading ? "loader" : e?.suffixIcon), z = c(() => Object.keys(o).filter((x) => !["option"].includes(x))), I = c(() => e?.showArrow || !e?.mode), P = () => {
655
661
  l.value = !0;
656
662
  }, $ = (x) => {
657
663
  l.value = x, i.value = "";
658
- }, A = c(() => !r.value && e?.showSearch), z = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, E = () => {
664
+ }, A = c(() => !r.value && e?.showSearch), S = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, E = () => {
659
665
  l.value = !1;
660
666
  };
661
667
  return (x, V) => (n(), d(t(je), w({
662
668
  value: t(m),
663
- "onUpdate:value": V[1] || (V[1] = (D) => J(m) ? m.value = D : null)
669
+ "onUpdate:value": V[1] || (V[1] = (D) => K(m) ? m.value = D : null)
664
670
  }, x.$attrs, {
665
- class: t(h),
671
+ class: t(g),
666
672
  allowClear: e?.allowClear,
667
673
  autoClearSearchValue: e?.autoClearSearchValue,
668
674
  autofocus: e?.autofocus,
@@ -676,16 +682,16 @@ const bs = {
676
682
  placeholder: e?.placeholder,
677
683
  searchValue: i.value || void 0,
678
684
  showSearch: t(A),
679
- showArrow: t(S),
685
+ showArrow: t(I),
680
686
  mode: e?.mode,
681
- "list-height": z(),
687
+ "list-height": S(),
682
688
  size: e?.size,
683
689
  open: l.value,
684
690
  onClick: P,
685
691
  onDropdownVisibleChange: $,
686
692
  "prefix-cls": "antd-select"
687
693
  }), H({
688
- suffixIcon: g(() => [
694
+ suffixIcon: v(() => [
689
695
  M(b, {
690
696
  spin: e?.loading,
691
697
  name: t(B) || "chevron-down"
@@ -695,46 +701,46 @@ const bs = {
695
701
  e?.prefixIcon ? (n(), d(b, {
696
702
  key: 0,
697
703
  name: e?.prefixIcon
698
- }, null, 8, ["name"])) : v("", !0)
704
+ }, null, 8, ["name"])) : f("", !0)
699
705
  ])
700
- ])) : v("", !0)
706
+ ])) : f("", !0)
701
707
  ]),
702
- removeIcon: g(() => [
708
+ removeIcon: v(() => [
703
709
  M(b, {
704
710
  name: e?.removeIcon || "close"
705
711
  }, null, 8, ["name"])
706
712
  ]),
707
713
  _: 2
708
714
  }, [
709
- j(t(I), (D) => ({
715
+ j(t(z), (D) => ({
710
716
  name: D,
711
- fn: g(() => [
717
+ fn: v(() => [
712
718
  _(x.$slots, D)
713
719
  ])
714
720
  })),
715
721
  x.$slots.option ? {
716
722
  name: "option",
717
- fn: g(({ label: D, value: q }) => [
723
+ fn: v(({ label: D, value: U }) => [
718
724
  _(x.$slots, "option", {
719
725
  label: D,
720
- value: q
726
+ value: U
721
727
  })
722
728
  ]),
723
729
  key: "0"
724
730
  } : void 0,
725
731
  e?.clearIcon ? {
726
732
  name: "clearIcon",
727
- fn: g(() => [
733
+ fn: v(() => [
728
734
  e?.clearIcon ? (n(), d(b, {
729
735
  key: 0,
730
736
  name: e?.clearIcon
731
- }, null, 8, ["name"])) : v("", !0)
737
+ }, null, 8, ["name"])) : f("", !0)
732
738
  ]),
733
739
  key: "1"
734
740
  } : void 0,
735
741
  e?.menuItemSelectedIcon ? {
736
742
  name: "menuItemSelectedIcon",
737
- fn: g(() => [
743
+ fn: v(() => [
738
744
  M(b, {
739
745
  name: e?.menuItemSelectedIcon
740
746
  }, null, 8, ["name"])
@@ -743,7 +749,7 @@ const bs = {
743
749
  } : void 0,
744
750
  x.$slots.notFoundContent ? void 0 : {
745
751
  name: "notFoundContent",
746
- fn: g(() => [
752
+ fn: v(() => [
747
753
  M(b, {
748
754
  size: "sm",
749
755
  name: "warning"
@@ -754,10 +760,10 @@ const bs = {
754
760
  },
755
761
  t(r) && l.value ? {
756
762
  name: "dropdownRender",
757
- fn: g(({ menuNode: D }) => [
763
+ fn: v(({ menuNode: D }) => [
758
764
  M(Is, {
759
765
  filter: i.value,
760
- "onUpdate:filter": V[0] || (V[0] = (q) => i.value = q),
766
+ "onUpdate:filter": V[0] || (V[0] = (U) => i.value = U),
761
767
  menu: D,
762
768
  onCloseDropdown: E
763
769
  }, null, 8, ["filter", "menu"])
@@ -818,7 +824,7 @@ const Ns = ["for"], Ds = {
818
824
  {
819
825
  "ak-input--filled": e?.value
820
826
  }
821
- ]), m = c(() => ["ak-input__input", e?.inputClass]), h = c({
827
+ ]), m = c(() => ["ak-input__input", e?.inputClass]), g = c({
822
828
  get() {
823
829
  return e.value;
824
830
  },
@@ -832,12 +838,12 @@ const Ns = ["for"], Ds = {
832
838
  set(x) {
833
839
  s("update:amountCurrency", x);
834
840
  }
835
- }), I = c(() => e.type === G.password ? Ee : Ve), S = c(() => e.type === G.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), P = c(() => e.type === G.url ? "https" : e?.addonBefore), $ = c(() => {
836
- let x = { ...o, ...S.value };
841
+ }), z = c(() => e.type === G.password ? Ee : Ve), I = c(() => e.type === G.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), P = c(() => e.type === G.url ? "https" : e?.addonBefore), $ = c(() => {
842
+ let x = { ...o, ...I.value };
837
843
  return o?.class && delete x?.class, x;
838
844
  }), A = (x) => {
839
845
  s("change", x);
840
- }, z = (x) => {
846
+ }, S = (x) => {
841
847
  s("currency-change", x);
842
848
  }, E = () => {
843
849
  i.value.focus();
@@ -851,11 +857,11 @@ const Ns = ["for"], Ds = {
851
857
  onClick: E,
852
858
  class: "ak-input__title",
853
859
  for: x.$attrs?.id
854
- }, C(e.title), 9, Ns)) : v("", !0),
860
+ }, C(e.title), 9, Ns)) : f("", !0),
855
861
  e.type !== "textarea" ? (n(), p("div", Ds, [
856
- (n(), d(X(t(I)), w({
857
- value: t(h),
858
- "onUpdate:value": V[1] || (V[1] = (D) => J(h) ? h.value = D : null)
862
+ (n(), d(X(t(z)), w({
863
+ value: t(g),
864
+ "onUpdate:value": V[1] || (V[1] = (D) => K(g) ? g.value = D : null)
859
865
  }, t($), {
860
866
  allowClear: e?.allowClear,
861
867
  type: t(l),
@@ -868,7 +874,7 @@ const Ns = ["for"], Ds = {
868
874
  ref_key: "inputRef",
869
875
  ref: i
870
876
  }), H({
871
- prefix: g(() => [
877
+ prefix: v(() => [
872
878
  e.prefixIcon ? (n(), d(b, {
873
879
  key: 0,
874
880
  size: "xs",
@@ -877,38 +883,38 @@ const Ns = ["for"], Ds = {
877
883
  key: 2,
878
884
  src: e.avatarUrl,
879
885
  disabled: e.disabled
880
- }, null, 8, ["src", "disabled"])) : v("", !0)
886
+ }, null, 8, ["src", "disabled"])) : f("", !0)
881
887
  ]),
882
- suffix: g(() => [
888
+ suffix: v(() => [
883
889
  e.type === "amount" ? (n(), d(Ps, {
884
890
  key: 0,
885
891
  value: t(B),
886
- "onUpdate:value": V[0] || (V[0] = (D) => J(B) ? B.value = D : null),
887
- onChange: z,
892
+ "onUpdate:value": V[0] || (V[0] = (D) => K(B) ? B.value = D : null),
893
+ onChange: S,
888
894
  dropdownClassName: "ak-input__input__ma-select__dropdown",
889
895
  options: t(Cs),
890
896
  disabled: e.disabled,
891
897
  size: "small"
892
- }, null, 8, ["value", "options", "disabled"])) : v("", !0),
898
+ }, null, 8, ["value", "options", "disabled"])) : f("", !0),
893
899
  e.suffixIcon ? (n(), d(b, {
894
900
  key: 1,
895
901
  size: "xs",
896
902
  name: e.suffixIcon
897
- }, null, 8, ["name"])) : v("", !0)
903
+ }, null, 8, ["name"])) : f("", !0)
898
904
  ]),
899
905
  _: 2
900
906
  }, [
901
- j(x.$slots, (D, q) => ({
902
- name: q,
903
- fn: g(() => [
904
- _(x.$slots, q)
907
+ j(x.$slots, (D, U) => ({
908
+ name: U,
909
+ fn: v(() => [
910
+ _(x.$slots, U)
905
911
  ])
906
912
  }))
907
913
  ]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter", "class"]))
908
- ])) : (n(), d(t(qe), w({
914
+ ])) : (n(), d(t(Ue), w({
909
915
  key: 2,
910
- value: t(h),
911
- "onUpdate:value": V[2] || (V[2] = (D) => J(h) ? h.value = D : null)
916
+ value: t(g),
917
+ "onUpdate:value": V[2] || (V[2] = (D) => K(g) ? g.value = D : null)
912
918
  }, t($), {
913
919
  class: t(m),
914
920
  disabled: e?.disabled,
@@ -917,15 +923,15 @@ const Ns = ["for"], Ds = {
917
923
  ref_key: "inputRef",
918
924
  ref: i
919
925
  }), H({ _: 2 }, [
920
- j(x.$slots, (D, q) => ({
921
- name: q,
922
- fn: g(() => [
923
- _(x.$slots, q)
926
+ j(x.$slots, (D, U) => ({
927
+ name: U,
928
+ fn: v(() => [
929
+ _(x.$slots, U)
924
930
  ])
925
931
  }))
926
932
  ]), 1040, ["value", "class", "disabled", "placeholder"])),
927
933
  _(x.$slots, "hint"),
928
- e.hintText ? (n(), p("div", Rs, C(e.hintText), 1)) : v("", !0)
934
+ e.hintText ? (n(), p("div", Rs, C(e.hintText), 1)) : f("", !0)
929
935
  ], 2));
930
936
  }
931
937
  });
@@ -934,13 +940,13 @@ const Es = {
934
940
  }, ln = /* @__PURE__ */ k({
935
941
  ...Es,
936
942
  setup(a) {
937
- return (s, e) => (n(), d(t(Ue), w(s.$attrs, {
943
+ return (s, e) => (n(), d(t(qe), w(s.$attrs, {
938
944
  class: "ma-select-option",
939
945
  "prefix-cls": "antd-select"
940
946
  }), H({ _: 2 }, [
941
947
  j(s.$slots, (o, i) => ({
942
948
  name: i,
943
- fn: g(() => [
949
+ fn: v(() => [
944
950
  _(s.$slots, i)
945
951
  ])
946
952
  }))
@@ -978,21 +984,21 @@ const Es = {
978
984
  }), H({ _: 2 }, [
979
985
  j(o.$slots, (l, r) => ({
980
986
  name: r,
981
- fn: g(() => [
987
+ fn: v(() => [
982
988
  _(o.$slots, r),
983
989
  s.hint ? (n(), p("div", {
984
990
  key: r,
985
991
  class: "ak-checkbox__hint-text"
986
- }, C(s.hint), 1)) : v("", !0)
992
+ }, C(s.hint), 1)) : f("", !0)
987
993
  ])
988
994
  }))
989
995
  ]), 1040, ["class", "disabled", "indeterminate"]));
990
996
  }
991
997
  });
992
- const qs = {
998
+ const Us = {
993
999
  name: "MaCheckboxGroup"
994
1000
  }, un = /* @__PURE__ */ k({
995
- ...qs,
1001
+ ...Us,
996
1002
  props: {
997
1003
  hint: null,
998
1004
  disabled: { type: Boolean }
@@ -1005,17 +1011,17 @@ const qs = {
1005
1011
  }), H({ _: 2 }, [
1006
1012
  j(e.$slots, (i, l) => ({
1007
1013
  name: l,
1008
- fn: g(() => [
1014
+ fn: v(() => [
1009
1015
  _(e.$slots, l),
1010
1016
  s.hint ? (n(), p("div", {
1011
1017
  key: l,
1012
1018
  class: "ak-checkbox__hint-text"
1013
- }, C(s.hint), 1)) : v("", !0)
1019
+ }, C(s.hint), 1)) : f("", !0)
1014
1020
  ])
1015
1021
  }))
1016
1022
  ]), 1040));
1017
1023
  }
1018
- }), Us = ["value"], Os = /* @__PURE__ */ k({
1024
+ }), qs = ["value"], Os = /* @__PURE__ */ k({
1019
1025
  __name: "singleNumericInput",
1020
1026
  props: {
1021
1027
  value: { default: "" },
@@ -1044,7 +1050,7 @@ const qs = {
1044
1050
  maxlength: "1",
1045
1051
  pattern: "[0-9]",
1046
1052
  inputmode: "numeric"
1047
- }), null, 16, Us));
1053
+ }), null, 16, qs));
1048
1054
  }
1049
1055
  }), Hs = {
1050
1056
  name: "MaNumericInput"
@@ -1069,32 +1075,32 @@ const qs = {
1069
1075
  {
1070
1076
  "ma-numeric-input--disabled": e?.disabled
1071
1077
  }
1072
- ]), r = c(() => e?.placeholderStatus ? "0" : null), m = ($) => /^Digit[0-9]$/.test($), h = ($) => o.value = $, u = ($, A) => {
1078
+ ]), r = c(() => e?.placeholderStatus ? "0" : null), m = ($) => /^Digit[0-9]$/.test($), g = ($) => o.value = $, u = ($, A) => {
1073
1079
  switch ($.code) {
1074
1080
  case "Backspace":
1075
1081
  case "Delete":
1076
- S("", A), I();
1082
+ I("", A), z();
1077
1083
  break;
1078
1084
  case "ArrowLeft":
1079
- $.preventDefault(), I();
1085
+ $.preventDefault(), z();
1080
1086
  break;
1081
1087
  case "ArrowRight":
1082
1088
  $.preventDefault(), B();
1083
1089
  break;
1084
1090
  default:
1085
- m($.code) && ($.preventDefault(), S($.key, A), B());
1091
+ m($.code) && ($.preventDefault(), I($.key, A), B());
1086
1092
  break;
1087
1093
  }
1088
1094
  }, B = () => {
1089
1095
  o.value < e.length && o.value++;
1090
- }, I = () => {
1096
+ }, z = () => {
1091
1097
  e.length >= o.value && o.value > 0 && o.value--;
1092
- }, S = ($, A) => {
1098
+ }, I = ($, A) => {
1093
1099
  i.value[A] = $;
1094
1100
  }, P = ($, A) => {
1095
1101
  $.preventDefault();
1096
- const z = $.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
1097
- z.length === 1 && z.match(/^\d+$/) ? i.value[A] = z : z.match(/^\d+$/) && (i.value = z.split(""));
1102
+ const S = $.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
1103
+ S.length === 1 && S.match(/^\d+$/) ? i.value[A] = S : S.match(/^\d+$/) && (i.value = S.split(""));
1098
1104
  };
1099
1105
  return se(
1100
1106
  () => i.value,
@@ -1109,15 +1115,15 @@ const qs = {
1109
1115
  $ !== i.value.join("") && $ && $.match(/^\d+$/) && (i.value = $.split("").slice(0, e.length));
1110
1116
  }
1111
1117
  ), ($, A) => (n(), p("div", w({ class: t(l) }, $.$attrs), [
1112
- (n(!0), p(O, null, j(e.length, (z) => (n(), d(Os, {
1113
- focus: o.value === z - 1,
1114
- key: z,
1118
+ (n(!0), p(O, null, j(e.length, (S) => (n(), d(Os, {
1119
+ focus: o.value === S - 1,
1120
+ key: S,
1115
1121
  placeholder: t(r),
1116
- value: i.value[z - 1],
1122
+ value: i.value[S - 1],
1117
1123
  disabled: e.disabled,
1118
- onFocus: (E) => h(z - 1),
1119
- onKeydown: (E) => u(E, z - 1),
1120
- onPaste: (E) => P(E, z - 1),
1124
+ onFocus: (E) => g(S - 1),
1125
+ onKeydown: (E) => u(E, S - 1),
1126
+ onPaste: (E) => P(E, S - 1),
1121
1127
  class: "ma-numeric-input__input"
1122
1128
  }, null, 8, ["focus", "placeholder", "value", "disabled", "onFocus", "onKeydown", "onPaste"]))), 128))
1123
1129
  ], 16));
@@ -1144,18 +1150,18 @@ const mn = [
1144
1150
  }), H({ _: 2 }, [
1145
1151
  j(o.$slots, (l, r) => ({
1146
1152
  name: r,
1147
- fn: g(() => [
1153
+ fn: v(() => [
1148
1154
  _(o.$slots, r),
1149
1155
  s.hint ? (n(), p("div", {
1150
1156
  key: r,
1151
1157
  class: "ma-radio__hint-text"
1152
- }, C(s.hint), 1)) : v("", !0)
1158
+ }, C(s.hint), 1)) : f("", !0)
1153
1159
  ])
1154
1160
  }))
1155
1161
  ]), 1040, ["class"]));
1156
1162
  }
1157
1163
  });
1158
- const Js = ["aria-checked", "disabled"], Ks = ["src", "alt"], Zs = { class: "ma-app-track-button__text" }, Ys = { class: "ma-app-track-button__text__title" }, Xs = {
1164
+ const Ks = ["aria-checked", "disabled"], Js = ["src", "alt"], Zs = { class: "ma-app-track-button__text" }, Ys = { class: "ma-app-track-button__text__title" }, Xs = {
1159
1165
  key: 0,
1160
1166
  class: "ma-app-track-button__text__category"
1161
1167
  }, Qs = { class: "ma-app-track-button__check" }, eo = {
@@ -1193,22 +1199,22 @@ const Js = ["aria-checked", "disabled"], Ks = ["src", "alt"], Zs = { class: "ma-
1193
1199
  "aria-checked": e.checked,
1194
1200
  disabled: e.disabled
1195
1201
  }, l.$attrs, { onClick: o }), [
1196
- f("img", {
1202
+ y("img", {
1197
1203
  src: e.appIcon,
1198
1204
  alt: e.appName,
1199
1205
  width: "40",
1200
1206
  height: "40"
1201
- }, null, 8, Ks),
1202
- f("span", Zs, [
1203
- f("span", Ys, C(e.appName), 1),
1204
- e.appCategory ? (n(), p("span", Xs, C(e?.appCategory), 1)) : v("", !0)
1207
+ }, null, 8, Js),
1208
+ y("span", Zs, [
1209
+ y("span", Ys, C(e.appName), 1),
1210
+ e.appCategory ? (n(), p("span", Xs, C(e?.appCategory), 1)) : f("", !0)
1205
1211
  ]),
1206
- f("span", Qs, [
1212
+ y("span", Qs, [
1207
1213
  M(fe, {
1208
1214
  name: "fade",
1209
1215
  mode: "out-in"
1210
1216
  }, {
1211
- default: g(() => [
1217
+ default: v(() => [
1212
1218
  e.loading ? (n(), d(b, {
1213
1219
  key: 0,
1214
1220
  name: "loader",
@@ -1227,13 +1233,16 @@ const Js = ["aria-checked", "disabled"], Ks = ["src", "alt"], Zs = { class: "ma-
1227
1233
  _: 1
1228
1234
  })
1229
1235
  ])
1230
- ], 16, Js));
1236
+ ], 16, Ks));
1231
1237
  }
1232
1238
  });
1233
1239
  const so = { class: "ak-app-icon__logo" }, oo = ["src"], to = {
1234
1240
  key: 1,
1235
1241
  class: "ak-app-icon-platform"
1236
- }, no = { class: "ak-app-icon__text" }, ao = {
1242
+ }, no = {
1243
+ key: 0,
1244
+ class: "ak-app-icon__text"
1245
+ }, ao = {
1237
1246
  key: 0,
1238
1247
  class: "ak-app-name"
1239
1248
  }, io = {
@@ -1266,7 +1275,7 @@ const so = { class: "ak-app-icon__logo" }, oo = ["src"], to = {
1266
1275
  return (r, m) => (n(), p("div", {
1267
1276
  class: R(t(i))
1268
1277
  }, [
1269
- f("div", so, [
1278
+ y("div", so, [
1270
1279
  e.closable ? (n(), p("span", {
1271
1280
  key: 0,
1272
1281
  onClick: l,
@@ -1276,8 +1285,8 @@ const so = { class: "ak-app-icon__logo" }, oo = ["src"], to = {
1276
1285
  size: "xs",
1277
1286
  name: "close-circle"
1278
1287
  })
1279
- ])) : v("", !0),
1280
- f("img", {
1288
+ ])) : f("", !0),
1289
+ y("img", {
1281
1290
  class: "ak-app-icon-img",
1282
1291
  src: e.appIcon
1283
1292
  }, null, 8, oo),
@@ -1286,12 +1295,12 @@ const so = { class: "ak-app-icon__logo" }, oo = ["src"], to = {
1286
1295
  size: "xs",
1287
1296
  name: t(o)
1288
1297
  }, null, 8, ["name"])
1289
- ])) : v("", !0)
1298
+ ])) : f("", !0)
1290
1299
  ]),
1291
- f("div", no, [
1292
- e?.appName ? (n(), p("span", ao, C(e.appName), 1)) : v("", !0),
1293
- e?.appDescription ? (n(), p("span", io, C(e.appDescription), 1)) : v("", !0)
1294
- ])
1300
+ e?.appName || e?.appDescription ? (n(), p("div", no, [
1301
+ e?.appName ? (n(), p("span", ao, C(e.appName), 1)) : f("", !0),
1302
+ e?.appDescription ? (n(), p("span", io, C(e.appDescription), 1)) : f("", !0)
1303
+ ])) : f("", !0)
1295
1304
  ], 2));
1296
1305
  }
1297
1306
  });
@@ -1312,7 +1321,7 @@ const fn = [
1312
1321
  return (s, e) => (n(), d(t(Ge), w(s.$attrs, { "prefix-cls": "antd-radio" }), H({ _: 2 }, [
1313
1322
  j(s.$slots, (o, i) => ({
1314
1323
  name: i,
1315
- fn: g(() => [
1324
+ fn: v(() => [
1316
1325
  _(s.$slots, i)
1317
1326
  ])
1318
1327
  }))
@@ -1348,7 +1357,7 @@ const fn = [
1348
1357
  s?.icon ? (n(), d(b, {
1349
1358
  key: 0,
1350
1359
  name: s?.icon
1351
- }, null, 8, ["name"])) : v("", !0),
1360
+ }, null, 8, ["name"])) : f("", !0),
1352
1361
  _(o.$slots, "default")
1353
1362
  ], 2));
1354
1363
  }
@@ -1388,7 +1397,7 @@ const bn = [
1388
1397
  },
1389
1398
  setup(a) {
1390
1399
  const s = a, e = oe(), o = c(() => [`ma-alert ak-alert ak-alert--${s.variant}--${s.type}`]), i = c(() => !!s?.icon || !!e?.icon);
1391
- return (l, r) => (n(), d(t(Je), w(l.$attrs, {
1400
+ return (l, r) => (n(), d(t(Ke), w(l.$attrs, {
1392
1401
  class: t(o),
1393
1402
  description: a.description,
1394
1403
  message: a.message,
@@ -1396,24 +1405,24 @@ const bn = [
1396
1405
  showIcon: t(i),
1397
1406
  "prefix-cls": "antd-alert"
1398
1407
  }), {
1399
- closeIcon: g(() => [
1408
+ closeIcon: v(() => [
1400
1409
  M(b, {
1401
1410
  name: "close",
1402
1411
  size: "xs"
1403
1412
  })
1404
1413
  ]),
1405
- icon: g(() => [
1414
+ icon: v(() => [
1406
1415
  s?.icon ? (n(), d(b, {
1407
1416
  key: 0,
1408
1417
  name: a.icon,
1409
1418
  size: "lg"
1410
- }, null, 8, ["name"])) : v("", !0),
1419
+ }, null, 8, ["name"])) : f("", !0),
1411
1420
  _(l.$slots, "icon")
1412
1421
  ]),
1413
- message: g(() => [
1422
+ message: v(() => [
1414
1423
  _(l.$slots, "message")
1415
1424
  ]),
1416
- description: g(() => [
1425
+ description: v(() => [
1417
1426
  _(l.$slots, "description")
1418
1427
  ]),
1419
1428
  _: 3
@@ -1459,32 +1468,32 @@ const xn = [
1459
1468
  B(), u();
1460
1469
  }
1461
1470
  );
1462
- const h = async () => {
1463
- const { default: I } = await import("./lottie_light-b08f9446.mjs").then((S) => S.l);
1464
- i = I;
1471
+ const g = async () => {
1472
+ const { default: z } = await import("./lottie_light-b08f9446.mjs").then((I) => I.l);
1473
+ i = z;
1465
1474
  }, u = async () => {
1466
1475
  try {
1467
- const { default: I } = await ae(/* @__PURE__ */ Object.assign({ "./files/fly-waiting.json": () => import("./fly-waiting-bc221374.mjs"), "./files/no-data-found.json": () => import("./no-data-found-98af8e80.mjs"), "./files/rocket.json": () => import("./rocket-21431704.mjs"), "./files/rounded-loading.json": () => import("./rounded-loading-d3184421.mjs"), "./files/sad-not-found.json": () => import("./sad-not-found-44e231b1.mjs"), "./files/success-confetti.json": () => import("./success-confetti-b9594f98.mjs") }), `./files/${o.name}.json`);
1476
+ const { default: z } = await ae(/* @__PURE__ */ Object.assign({ "./files/fly-waiting.json": () => import("./fly-waiting-bc221374.mjs"), "./files/no-data-found.json": () => import("./no-data-found-98af8e80.mjs"), "./files/rocket.json": () => import("./rocket-21431704.mjs"), "./files/rounded-loading.json": () => import("./rounded-loading-d3184421.mjs"), "./files/sad-not-found.json": () => import("./sad-not-found-44e231b1.mjs"), "./files/success-confetti.json": () => import("./success-confetti-b9594f98.mjs") }), `./files/${o.name}.json`);
1468
1477
  r.value = i.loadAnimation({
1469
1478
  container: l.value,
1470
1479
  loop: o.loop,
1471
1480
  autoplay: o.autoplay,
1472
- animationData: I,
1481
+ animationData: z,
1473
1482
  rendererSettings: o?.rendererSettings
1474
1483
  }), r.value.onComplete = () => e("onComplete"), r.value.addEventListener("DOMLoaded", function() {
1475
1484
  e("onLoaded");
1476
1485
  });
1477
- } catch (I) {
1478
- e("onError", I);
1486
+ } catch (z) {
1487
+ e("onError", z);
1479
1488
  }
1480
1489
  }, B = () => {
1481
1490
  r.value && r.value.destroy();
1482
1491
  };
1483
1492
  return _e(async () => {
1484
- await h(), u();
1493
+ await g(), u();
1485
1494
  }), xe(() => {
1486
1495
  B();
1487
- }), (I, S) => (n(), p("div", {
1496
+ }), (z, I) => (n(), p("div", {
1488
1497
  ref_key: "animationRef",
1489
1498
  ref: l,
1490
1499
  class: "ma-animation",
@@ -1544,30 +1553,30 @@ const xn = [
1544
1553
  get() {
1545
1554
  return e.visible;
1546
1555
  },
1547
- set(S) {
1548
- s("update:visible", S);
1556
+ set(I) {
1557
+ s("update:visible", I);
1549
1558
  }
1550
1559
  }), i = c(
1551
1560
  () => e.type && de[e.type] ? de[e.type] : null
1552
1561
  ), l = c(
1553
1562
  () => e.type === "error" ? "danger" : e.type === "warning" ? "warning" : "info"
1554
1563
  ), r = c(
1555
- () => I?.footer || e.okText || e.cancelText
1564
+ () => z?.footer || e.okText || e.cancelText
1556
1565
  ), m = c(() => [
1557
1566
  "ma-modal",
1558
1567
  "ak-modal",
1559
1568
  { [`ak-modal--${e.type}`]: !!e.type }
1560
- ]), h = c(() => [
1569
+ ]), g = c(() => [
1561
1570
  "ak-modal__header-icon",
1562
1571
  { [`ak-modal__header-icon--${e.type}`]: !!e.type }
1563
1572
  ]), u = () => {
1564
1573
  o.value = !1, s("cancel");
1565
1574
  }, B = () => {
1566
1575
  s("ok");
1567
- }, I = oe();
1568
- return (S, P) => (n(), d(t(Ke), w(S.$attrs, {
1576
+ }, z = oe();
1577
+ return (I, P) => (n(), d(t(Je), w(I.$attrs, {
1569
1578
  visible: t(o),
1570
- "onUpdate:visible": P[0] || (P[0] = ($) => J(o) ? o.value = $ : null),
1579
+ "onUpdate:visible": P[0] || (P[0] = ($) => K(o) ? o.value = $ : null),
1571
1580
  "prefix-cls": "antd-modal",
1572
1581
  class: t(m),
1573
1582
  closable: e.closable,
@@ -1578,53 +1587,53 @@ const xn = [
1578
1587
  onOk: B,
1579
1588
  onCancel: u
1580
1589
  }), {
1581
- closeIcon: g(() => [
1590
+ closeIcon: v(() => [
1582
1591
  M(b, {
1583
1592
  name: "close-circle",
1584
1593
  size: "sm"
1585
1594
  })
1586
1595
  ]),
1587
- default: g(() => [
1596
+ default: v(() => [
1588
1597
  t(i) ? (n(), p("div", {
1589
1598
  key: 0,
1590
- class: R(t(h))
1599
+ class: R(t(g))
1591
1600
  }, [
1592
1601
  M(b, { name: t(i) }, null, 8, ["name"])
1593
- ], 2)) : v("", !0),
1594
- e.title || S.$slots.title ? (n(), p("h1", vo, [
1595
- _(S.$slots, "title"),
1602
+ ], 2)) : f("", !0),
1603
+ e.title || I.$slots.title ? (n(), p("h1", vo, [
1604
+ _(I.$slots, "title"),
1596
1605
  N(" " + C(e.title), 1)
1597
- ])) : v("", !0),
1598
- f("div", fo, [
1599
- e.content ? (n(), p("div", _o, C(e.content), 1)) : v("", !0),
1600
- _(S.$slots, "content"),
1601
- _(S.$slots, "default")
1606
+ ])) : f("", !0),
1607
+ y("div", fo, [
1608
+ e.content ? (n(), p("div", _o, C(e.content), 1)) : f("", !0),
1609
+ _(I.$slots, "content"),
1610
+ _(I.$slots, "default")
1602
1611
  ]),
1603
1612
  t(r) ? (n(), p("div", ho, [
1604
- e.okText ? (n(), d(K, w({
1613
+ e.okText ? (n(), d(J, w({
1605
1614
  key: 0,
1606
1615
  onClick: B,
1607
1616
  class: "ak-modal__ok-button",
1608
1617
  variant: t(l),
1609
1618
  loading: e.confirmLoading
1610
1619
  }, e.okButtonProps), {
1611
- default: g(() => [
1620
+ default: v(() => [
1612
1621
  N(C(e.okText), 1)
1613
1622
  ]),
1614
1623
  _: 1
1615
- }, 16, ["variant", "loading"])) : v("", !0),
1616
- e.cancelText ? (n(), d(K, w({
1624
+ }, 16, ["variant", "loading"])) : f("", !0),
1625
+ e.cancelText ? (n(), d(J, w({
1617
1626
  key: 1,
1618
1627
  onClick: u,
1619
1628
  type: "grey-link"
1620
1629
  }, e.cancelButtonProps), {
1621
- default: g(() => [
1630
+ default: v(() => [
1622
1631
  N(C(e.cancelText), 1)
1623
1632
  ]),
1624
1633
  _: 1
1625
- }, 16)) : v("", !0),
1626
- _(S.$slots, "footer")
1627
- ])) : v("", !0)
1634
+ }, 16)) : f("", !0),
1635
+ _(I.$slots, "footer")
1636
+ ])) : f("", !0)
1628
1637
  ]),
1629
1638
  _: 3
1630
1639
  }, 16, ["visible", "class", "closable", "mask", "mask-closable", "width"]));
@@ -1662,7 +1671,7 @@ const ko = {
1662
1671
  }
1663
1672
  ]), o = c(() => s.starRate - 0.5 === s.value), i = c(() => o.value ? "star-half-colored" : "star-bold");
1664
1673
  return (l, r) => (n(), d(fe, { name: "fade" }, {
1665
- default: g(() => [
1674
+ default: v(() => [
1666
1675
  M(b, {
1667
1676
  class: R(t(e)),
1668
1677
  name: t(i),
@@ -1704,34 +1713,34 @@ const ko = {
1704
1713
  }), r = c(() => e?.disabled ? -1 : e.tabIndex), m = () => {
1705
1714
  if (!e?.disabled) {
1706
1715
  if (e?.allowClear && o.value === e.value) {
1707
- S(0);
1716
+ I(0);
1708
1717
  return;
1709
1718
  }
1710
- S(o.value);
1719
+ I(o.value);
1711
1720
  }
1712
- }, h = (P) => {
1721
+ }, g = (P) => {
1713
1722
  e?.disabled || (o.value = P);
1714
1723
  }, u = () => {
1715
1724
  o.value = 0;
1716
1725
  }, B = (P, $) => {
1717
1726
  !e?.allowHalf || e.disabled || (P.offsetX < P.target.clientWidth / 2 ? o.value = $ - 0.5 : o.value = $);
1727
+ }, z = (P) => {
1728
+ e?.disabled || (P.key === "ArrowRight" && e.value < 5 ? I(e.value + (e.allowHalf ? 0.5 : 1)) : P.key === "ArrowLeft" && e.value > 0 && I(e.value - (e.allowHalf ? 0.5 : 1)));
1718
1729
  }, I = (P) => {
1719
- e?.disabled || (P.key === "ArrowRight" && e.value < 5 ? S(e.value + (e.allowHalf ? 0.5 : 1)) : P.key === "ArrowLeft" && e.value > 0 && S(e.value - (e.allowHalf ? 0.5 : 1)));
1720
- }, S = (P) => {
1721
1730
  s("update:value", P), s("change", P);
1722
1731
  };
1723
1732
  return (P, $) => (n(), p("ul", {
1724
1733
  class: R(t(i)),
1725
1734
  onMouseleave: u,
1726
- onKeydown: I,
1735
+ onKeydown: z,
1727
1736
  tabindex: t(r)
1728
1737
  }, [
1729
- (n(), p(O, null, j(5, (A) => f("li", {
1738
+ (n(), p(O, null, j(5, (A) => y("li", {
1730
1739
  class: "ak-rate__item",
1731
1740
  key: A,
1732
- onMousemove: (z) => B(z, A),
1733
- onMouseover: (z) => h(A),
1734
- onClick: $[0] || ($[0] = (z) => m())
1741
+ onMousemove: (S) => B(S, A),
1742
+ onMouseover: (S) => g(A),
1743
+ onClick: $[0] || ($[0] = (S) => m())
1735
1744
  }, [
1736
1745
  M($o, {
1737
1746
  "star-rate": A,
@@ -1782,17 +1791,17 @@ const In = [
1782
1791
  s.spinning ? (n(), p("div", Mo, [
1783
1792
  r.$slots.indicator ? (n(), p("div", Bo, [
1784
1793
  _(r.$slots, "indicator")
1785
- ])) : v("", !0),
1794
+ ])) : f("", !0),
1786
1795
  s.spinning && !r.$slots.indicator ? (n(), d(b, {
1787
1796
  key: 1,
1788
1797
  class: R(t(i)),
1789
1798
  name: t(l)
1790
- }, null, 8, ["class", "name"])) : v("", !0),
1799
+ }, null, 8, ["class", "name"])) : f("", !0),
1791
1800
  r.$slots?.tip || s?.tip ? (n(), p("div", zo, [
1792
1801
  N(C(s?.tip) + " ", 1),
1793
1802
  _(r.$slots, "tip")
1794
- ])) : v("", !0)
1795
- ])) : v("", !0),
1803
+ ])) : f("", !0)
1804
+ ])) : f("", !0),
1796
1805
  _(r.$slots, "default")
1797
1806
  ], 16));
1798
1807
  }
@@ -1824,7 +1833,7 @@ const Tn = [
1824
1833
  setup(a, { emit: s }) {
1825
1834
  const e = a, o = c({
1826
1835
  get() {
1827
- return e.visible;
1836
+ return e.visible || void 0;
1828
1837
  },
1829
1838
  set(l) {
1830
1839
  s("update:visible", l), s("visibleChange", l);
@@ -1841,12 +1850,12 @@ const Tn = [
1841
1850
  trigger: e.trigger
1842
1851
  }, l.$attrs, {
1843
1852
  visible: t(o),
1844
- "onUpdate:visible": r[0] || (r[0] = (m) => J(o) ? o.value = m : null)
1853
+ "onUpdate:visible": r[0] || (r[0] = (m) => K(o) ? o.value = m : null)
1845
1854
  }), {
1846
- overlay: g(() => [
1855
+ overlay: v(() => [
1847
1856
  _(l.$slots, "overlay")
1848
1857
  ]),
1849
- default: g(() => [
1858
+ default: v(() => [
1850
1859
  _(l.$slots, "default")
1851
1860
  ]),
1852
1861
  _: 3
@@ -1907,15 +1916,15 @@ const Dn = [
1907
1916
  name: t(e),
1908
1917
  class: "ma-empty__icon"
1909
1918
  }, null, 8, ["name"])),
1910
- f("span", Ao, [
1919
+ y("span", Ao, [
1911
1920
  N(C(a.title) + " ", 1),
1912
1921
  _(i.$slots, "title")
1913
1922
  ]),
1914
- f("span", To, [
1923
+ y("span", To, [
1915
1924
  N(C(a.description) + " ", 1),
1916
1925
  _(i.$slots, "description")
1917
1926
  ]),
1918
- f("div", Po, [
1927
+ y("div", Po, [
1919
1928
  _(i.$slots, "default")
1920
1929
  ])
1921
1930
  ], 2));
@@ -1932,7 +1941,7 @@ const En = [
1932
1941
  "lg",
1933
1942
  "xl"
1934
1943
  ];
1935
- var U = /* @__PURE__ */ ((a) => (a.error = "error", a.done = "done", a.uploading = "uploading", a))(U || {});
1944
+ var q = /* @__PURE__ */ ((a) => (a.error = "error", a.done = "done", a.uploading = "uploading", a))(q || {});
1936
1945
  const ne = (a) => {
1937
1946
  try {
1938
1947
  return JSON.parse(a);
@@ -1947,32 +1956,32 @@ const ne = (a) => {
1947
1956
  }, Ro = (a, s = {}, e = {}, o) => {
1948
1957
  const i = L(0);
1949
1958
  return { progress: i, upload: async (r, m) => {
1950
- const h = new FormData();
1951
- h.append(o, r.file), Object.entries(e).forEach(([B, I]) => {
1952
- h.append(B, I);
1959
+ const g = new FormData();
1960
+ g.append(o, r.file), Object.entries(e).forEach(([B, z]) => {
1961
+ g.append(B, z);
1953
1962
  });
1954
1963
  const u = new XMLHttpRequest();
1955
- u.open("POST", a), Object.entries(s).forEach(([B, I]) => {
1956
- u.setRequestHeader(B, I);
1964
+ u.open("POST", a), Object.entries(s).forEach(([B, z]) => {
1965
+ u.setRequestHeader(B, z);
1957
1966
  }), u.upload.onprogress = (B) => {
1958
- B.lengthComputable && (i.value = B.loaded / B.total * 100, m(U.uploading, i.value));
1967
+ B.lengthComputable && (i.value = B.loaded / B.total * 100, m(q.uploading, i.value));
1959
1968
  }, u.onload = () => {
1960
1969
  u.status >= 200 && u.status < 300 ? m(
1961
- U.done,
1970
+ q.done,
1962
1971
  i.value,
1963
1972
  ne(u.responseText)
1964
1973
  ) : m(
1965
- U.error,
1974
+ q.error,
1966
1975
  i.value,
1967
1976
  ne(u.responseText)
1968
1977
  );
1969
1978
  }, u.onerror = () => {
1970
1979
  m(
1971
- U.error,
1980
+ q.error,
1972
1981
  i.value,
1973
1982
  ne(u.responseText)
1974
1983
  );
1975
- }, u.send(h), r.cancelRequest = () => u.abort();
1984
+ }, u.send(g), r.cancelRequest = () => u.abort();
1976
1985
  } };
1977
1986
  }, Fo = (a, s) => {
1978
1987
  if (!s)
@@ -1987,12 +1996,12 @@ const ne = (a) => {
1987
1996
  if (l.slice(1) === i)
1988
1997
  return !0;
1989
1998
  } else {
1990
- const [r, m] = l.split("/"), [h, u] = o.split("/");
1991
- if (r === h && m === u)
1999
+ const [r, m] = l.split("/"), [g, u] = o.split("/");
2000
+ if (r === g && m === u)
1992
2001
  return !0;
1993
2002
  }
1994
2003
  return !1;
1995
- }, jo = { class: "single-file" }, Eo = { class: "icon-wrapper" }, Vo = { class: "single-file__detail" }, qo = { class: "file-name" }, Uo = {
2004
+ }, jo = { class: "single-file" }, Eo = { class: "icon-wrapper" }, Vo = { class: "single-file__detail" }, Uo = { class: "file-name" }, qo = {
1996
2005
  key: 0,
1997
2006
  class: "file-size"
1998
2007
  }, Oo = { class: "file-progress" }, Ho = { class: "single-file__actions" }, Wo = /* @__PURE__ */ k({
@@ -2007,43 +2016,43 @@ const ne = (a) => {
2007
2016
  const e = a, o = c(
2008
2017
  () => `${(e.file.file.size / (1024 * 1024)).toFixed(1)} MB`
2009
2018
  ), i = c(() => typeof e.file.file.size == "number"), l = () => s("remove"), r = () => s("cancel");
2010
- return (m, h) => (n(), p("div", jo, [
2011
- f("div", Eo, [
2019
+ return (m, g) => (n(), p("div", jo, [
2020
+ y("div", Eo, [
2012
2021
  M(b, { name: "document-bulk" })
2013
2022
  ]),
2014
- f("div", Vo, [
2015
- f("span", qo, C(a.file.file.name), 1),
2016
- t(i) ? (n(), p("span", Uo, C(t(o)), 1)) : v("", !0),
2017
- f("span", Oo, [
2018
- f("span", {
2023
+ y("div", Vo, [
2024
+ y("span", Uo, C(a.file.file.name), 1),
2025
+ t(i) ? (n(), p("span", qo, C(t(o)), 1)) : f("", !0),
2026
+ y("span", Oo, [
2027
+ y("span", {
2019
2028
  class: "progress-item",
2020
2029
  style: ee({ width: `${a.file.progress}%` })
2021
2030
  }, null, 4)
2022
2031
  ])
2023
2032
  ]),
2024
- f("div", Ho, [
2025
- a.file.status === t(U).uploading ? (n(), d(K, {
2033
+ y("div", Ho, [
2034
+ a.file.status === t(q).uploading ? (n(), d(J, {
2026
2035
  key: 0,
2027
2036
  disabled: a.disabled,
2028
- onClick: h[0] || (h[0] = (u) => r()),
2037
+ onClick: g[0] || (g[0] = (u) => r()),
2029
2038
  size: "small",
2030
2039
  type: "primary",
2031
2040
  variant: "plain",
2032
2041
  icon: "close-circle-bulk"
2033
- }, null, 8, ["disabled"])) : (n(), d(K, {
2042
+ }, null, 8, ["disabled"])) : (n(), d(J, {
2034
2043
  key: 1,
2035
2044
  disabled: a.disabled,
2036
- onClick: h[1] || (h[1] = (u) => l()),
2045
+ onClick: g[1] || (g[1] = (u) => l()),
2037
2046
  size: "small",
2038
2047
  type: "primary",
2039
2048
  variant: "plain",
2040
2049
  icon: "trash-bulk"
2041
2050
  }, null, 8, ["disabled"])),
2042
- f("span", null, "%" + C(parseInt(a.file.progress.toString())), 1)
2051
+ y("span", null, "%" + C(parseInt(a.file.progress.toString())), 1)
2043
2052
  ])
2044
2053
  ]));
2045
2054
  }
2046
- }), Go = ["onDrop"], Jo = ["accept", "multiple", "disabled"], Ko = { class: "text" }, Zo = /* @__PURE__ */ f("span", null, "Uploading file...", -1), Yo = { class: "upload-icon" }, Xo = {
2055
+ }), Go = ["onDrop"], Ko = ["accept", "multiple", "disabled"], Jo = { class: "text" }, Zo = /* @__PURE__ */ y("span", null, "Uploading file...", -1), Yo = { class: "upload-icon" }, Xo = {
2047
2056
  key: 0,
2048
2057
  class: "upload-title"
2049
2058
  }, Qo = {
@@ -2075,13 +2084,13 @@ const ne = (a) => {
2075
2084
  },
2076
2085
  emits: ["update:fileList", "change", "remove", "error"],
2077
2086
  setup(a, { emit: s }) {
2078
- const e = a, o = L(null), i = L(null), l = L(!1), r = ["dragenter", "dragover", "dragleave", "drop"], m = ["dragenter", "dragover"], h = ["dragleave", "drop"], u = c({
2087
+ const e = a, o = L(null), i = L(null), l = L(!1), r = ["dragenter", "dragover", "dragleave", "drop"], m = ["dragenter", "dragover"], g = ["dragleave", "drop"], u = c({
2079
2088
  get() {
2080
2089
  return e.fileList;
2081
2090
  },
2082
- set(y) {
2083
- s("update:fileList", y), s("change", y), e?.action && y.forEach(async (T, F) => {
2084
- if ([U.done, U.error].includes(
2091
+ set(h) {
2092
+ s("update:fileList", h), s("change", h), e?.action && h.forEach(async (T, F) => {
2093
+ if ([q.done, q.error].includes(
2085
2094
  T.status
2086
2095
  ))
2087
2096
  return;
@@ -2094,7 +2103,7 @@ const ne = (a) => {
2094
2103
  );
2095
2104
  e?.beforeUpload && (T.file = await e.beforeUpload(T.file)), W(T, (Q, ke, ue) => {
2096
2105
  if (u.value[F]) {
2097
- if (Q === U.error) {
2106
+ if (Q === q.error) {
2098
2107
  s("error", { file: T.file, message: ue }), te(
2099
2108
  u.value.findIndex(($e) => $e.id === T.id)
2100
2109
  );
@@ -2106,11 +2115,11 @@ const ne = (a) => {
2106
2115
  });
2107
2116
  }
2108
2117
  }), B = c(
2109
- () => u.value.map((y) => y.file.name).join(", ")
2110
- ), I = c(
2118
+ () => u.value.map((h) => h.file.name).join(", ")
2119
+ ), z = c(
2111
2120
  () => e.type === "box" ? e.multiple ? !0 : !u.value.length : !0
2112
- ), S = c(
2113
- () => e.ordered && z.value ? !1 : u.value.length ? e.showFileList : !1
2121
+ ), I = c(
2122
+ () => e.ordered && S.value ? !1 : u.value.length ? e.showFileList : !1
2114
2123
  ), P = c(() => [
2115
2124
  `ma-upload ma-upload--${e.type} ma-upload--${e.type}--${e.size}`,
2116
2125
  {
@@ -2122,72 +2131,72 @@ const ne = (a) => {
2122
2131
  ]), $ = c(() => [
2123
2132
  "ma-file-list",
2124
2133
  {
2125
- "only-file-list": !I.value
2134
+ "only-file-list": !z.value
2126
2135
  }
2127
2136
  ]), A = c(() => {
2128
- const y = e?.size ? Do.indexOf(e.size) : 0;
2129
- return es[y];
2130
- }), z = c(
2131
- () => e.wait || u.value.some((y) => y.status === U.uploading)
2132
- ), E = c(() => e?.disabled || z.value), x = (y) => Array.from(y).find(
2137
+ const h = e?.size ? Do.indexOf(e.size) : 0;
2138
+ return es[h];
2139
+ }), S = c(
2140
+ () => e.wait || u.value.some((h) => h.status === q.uploading)
2141
+ ), E = c(() => e?.disabled || S.value), x = (h) => Array.from(h).find(
2133
2142
  (T) => e?.maxFileSize && T.size > e.maxFileSize
2134
- ), V = (y) => {
2135
- const T = y.target;
2143
+ ), V = (h) => {
2144
+ const T = h.target;
2136
2145
  T.files && ce(Array.from(T.files));
2137
2146
  }, D = () => {
2138
2147
  i.value?.click();
2139
- }, q = (y) => {
2140
- y.preventDefault();
2148
+ }, U = (h) => {
2149
+ h.preventDefault();
2141
2150
  }, le = () => {
2142
2151
  l.value = !0;
2143
2152
  }, re = () => {
2144
2153
  l.value = !1;
2145
- }, ye = (y) => {
2146
- E.value || y.dataTransfer?.files && ce(
2147
- Array.from(y.dataTransfer.files).filter((T) => e?.accept && !Fo(T, e.accept) ? (s("error", { file: T, message: "file type does not match!" }), !1) : !0)
2154
+ }, ye = (h) => {
2155
+ E.value || h.dataTransfer?.files && ce(
2156
+ Array.from(h.dataTransfer.files).filter((T) => e?.accept && !Fo(T, e.accept) ? (s("error", { file: T, message: "file type does not match!" }), !1) : !0)
2148
2157
  );
2149
- }, ce = (y) => {
2150
- const T = x(y);
2158
+ }, ce = (h) => {
2159
+ const T = x(h);
2151
2160
  if (T) {
2152
2161
  s("error", { file: T, message: "File too large" });
2153
2162
  return;
2154
2163
  }
2155
- const F = Array.from(y).filter(
2164
+ const F = Array.from(h).filter(
2156
2165
  (W, Q) => e?.maxCount ? Q + 1 <= e.maxCount : !0
2157
2166
  ).map((W) => ({
2158
2167
  file: W,
2159
2168
  id: Lo(),
2160
- status: e?.action ? U.uploading : U.done,
2169
+ status: e?.action ? q.uploading : q.done,
2161
2170
  progress: e?.action ? 0 : 100,
2162
2171
  response: null
2163
2172
  }));
2164
2173
  e.multiple ? u.value = [...u.value, ...F] : F.length && (u.value = [F[0]]);
2165
- }, te = (y) => {
2166
- s("remove", u.value[y]), u.value = u.value.filter((T, F) => F !== y);
2167
- }, pe = (y) => {
2168
- const T = u.value[y];
2169
- typeof T?.cancelRequest == "function" && T.cancelRequest(), te(y);
2170
- }, be = (y) => {
2171
- y.stopPropagation(), u.value.forEach((T, F) => pe(F)), u.value = [];
2174
+ }, te = (h) => {
2175
+ s("remove", u.value[h]), u.value = u.value.filter((T, F) => F !== h);
2176
+ }, pe = (h) => {
2177
+ const T = u.value[h];
2178
+ typeof T?.cancelRequest == "function" && T.cancelRequest(), te(h);
2179
+ }, be = (h) => {
2180
+ h.stopPropagation(), u.value.forEach((T, F) => pe(F)), u.value = [];
2172
2181
  };
2173
2182
  return _e(() => {
2174
- r.forEach((y) => {
2175
- o.value?.addEventListener(y, q);
2176
- }), m.forEach((y) => {
2177
- o.value?.addEventListener(y, le);
2178
- }), h.forEach((y) => {
2179
- o.value?.addEventListener(y, re);
2183
+ r.forEach((h) => {
2184
+ o.value?.addEventListener(h, U);
2185
+ }), m.forEach((h) => {
2186
+ o.value?.addEventListener(h, le);
2187
+ }), g.forEach((h) => {
2188
+ o.value?.addEventListener(h, re);
2180
2189
  });
2181
2190
  }), ze(() => {
2182
- r.forEach((y) => {
2183
- o.value?.removeEventListener(y, q);
2184
- }), m.forEach((y) => {
2185
- o.value?.removeEventListener(y, le);
2186
- }), h.forEach((y) => {
2187
- o.value?.removeEventListener(y, re);
2191
+ r.forEach((h) => {
2192
+ o.value?.removeEventListener(h, U);
2193
+ }), m.forEach((h) => {
2194
+ o.value?.removeEventListener(h, le);
2195
+ }), g.forEach((h) => {
2196
+ o.value?.removeEventListener(h, re);
2188
2197
  });
2189
- }), (y, T) => (n(), p("div", w({ class: "ma-upload-wrapper" }, y.$attrs), [
2190
- Z(f("div", {
2198
+ }), (h, T) => (n(), p("div", w({ class: "ma-upload-wrapper" }, h.$attrs), [
2199
+ Z(y("div", {
2191
2200
  ref_key: "uploadArea",
2192
2201
  ref: o,
2193
2202
  class: R(t(P)),
@@ -2202,8 +2211,8 @@ const ne = (a) => {
2202
2211
  key: t(u).length,
2203
2212
  ref_key: "fileInput",
2204
2213
  ref: i
2205
- }, null, 40, Jo)),
2206
- e.type === "button" ? (n(), d(K, {
2214
+ }, null, 40, Ko)),
2215
+ e.type === "button" ? (n(), d(J, {
2207
2216
  key: 0,
2208
2217
  type: a.fileList.length ? "primary" : "secondary",
2209
2218
  variant: "dark",
@@ -2211,9 +2220,9 @@ const ne = (a) => {
2211
2220
  onClick: D,
2212
2221
  size: t(A),
2213
2222
  disabled: t(E),
2214
- loading: t(z)
2223
+ loading: t(S)
2215
2224
  }, {
2216
- default: g(() => [
2225
+ default: v(() => [
2217
2226
  N(C(a.fileList.length ? t(B) : e?.title), 1)
2218
2227
  ]),
2219
2228
  _: 1
@@ -2222,7 +2231,7 @@ const ne = (a) => {
2222
2231
  class: "ma-upload__small_box",
2223
2232
  onClick: D
2224
2233
  }, [
2225
- t(z) ? (n(), d(ge, {
2234
+ t(S) ? (n(), d(ge, {
2226
2235
  key: 0,
2227
2236
  type: "three-circles",
2228
2237
  color: "blue"
@@ -2230,12 +2239,12 @@ const ne = (a) => {
2230
2239
  key: 1,
2231
2240
  name: "export-2-bulk"
2232
2241
  })),
2233
- f("span", Ko, [
2234
- t(z) ? (n(), p(O, { key: 0 }, [
2242
+ y("span", Jo, [
2243
+ t(S) ? (n(), p(O, { key: 0 }, [
2235
2244
  N(" Uploading... ")
2236
2245
  ], 64)) : (n(), p(O, { key: 1 }, [
2237
2246
  N(C(e?.title) + " ", 1),
2238
- _(y.$slots, "small-box-title")
2247
+ _(h.$slots, "small-box-title")
2239
2248
  ], 64))
2240
2249
  ])
2241
2250
  ])) : (n(), p("div", {
@@ -2243,41 +2252,41 @@ const ne = (a) => {
2243
2252
  class: "ma-upload__box",
2244
2253
  onClick: D
2245
2254
  }, [
2246
- e.ordered && t(z) ? (n(), p(O, { key: 0 }, [
2255
+ e.ordered && t(S) ? (n(), p(O, { key: 0 }, [
2247
2256
  M(ge, {
2248
2257
  type: "three-circles",
2249
2258
  color: "blue"
2250
2259
  }),
2251
2260
  Zo,
2252
- M(K, {
2261
+ M(J, {
2253
2262
  onClick: be,
2254
2263
  class: "box-cancel",
2255
2264
  type: "secondary",
2256
2265
  size: "small"
2257
2266
  }, {
2258
- default: g(() => [
2267
+ default: v(() => [
2259
2268
  N(" Cancel ")
2260
2269
  ]),
2261
2270
  _: 1
2262
2271
  })
2263
2272
  ], 64)) : (n(), p(O, { key: 1 }, [
2264
- f("div", Yo, [
2273
+ y("div", Yo, [
2265
2274
  M(b, { name: "upload-bulk" })
2266
2275
  ]),
2267
2276
  e?.title ? (n(), p("span", Xo, [
2268
2277
  N(C(e?.title) + " ", 1),
2269
- _(y.$slots, "box-title")
2270
- ])) : v("", !0),
2278
+ _(h.$slots, "box-title")
2279
+ ])) : f("", !0),
2271
2280
  e?.description ? (n(), p("span", Qo, [
2272
2281
  N(C(e?.description) + " ", 1),
2273
- _(y.$slots, "box-description")
2274
- ])) : v("", !0)
2282
+ _(h.$slots, "box-description")
2283
+ ])) : f("", !0)
2275
2284
  ], 64))
2276
2285
  ]))
2277
2286
  ], 42, Go), [
2278
- [Y, t(I)]
2287
+ [Y, t(z)]
2279
2288
  ]),
2280
- t(S) ? (n(), p("div", {
2289
+ t(I) ? (n(), p("div", {
2281
2290
  key: 0,
2282
2291
  class: R(t($))
2283
2292
  }, [
@@ -2288,13 +2297,13 @@ const ne = (a) => {
2288
2297
  key: W,
2289
2298
  disabled: e.disabled
2290
2299
  }, null, 8, ["onRemove", "onCancel", "file", "disabled"]))), 128))
2291
- ], 2)) : v("", !0)
2300
+ ], 2)) : f("", !0)
2292
2301
  ], 16));
2293
2302
  }
2294
2303
  });
2295
2304
  const st = {
2296
2305
  name: "MaSideMenuButton"
2297
- }, qn = /* @__PURE__ */ k({
2306
+ }, Un = /* @__PURE__ */ k({
2298
2307
  ...st,
2299
2308
  props: {
2300
2309
  icon: { default: "app" },
@@ -2308,16 +2317,16 @@ const st = {
2308
2317
  const s = a, e = L(!1), o = c(() => s?.href ? "a" : "button"), i = c(() => s?.activeIcon || `${s.icon.replace("-bulk", "-bold")}`), l = c(() => [
2309
2318
  "ma-side-menu-button",
2310
2319
  { active: s?.active }
2311
- ]), r = c(() => e.value || s.active), m = () => e.value = !0, h = () => e.value = !1;
2320
+ ]), r = c(() => e.value || s.active), m = () => e.value = !0, g = () => e.value = !1;
2312
2321
  return (u, B) => (n(), d(X(t(o)), w({
2313
2322
  onMousedown: m,
2314
- onMouseup: h,
2323
+ onMouseup: g,
2315
2324
  role: "button",
2316
2325
  target: s?.target,
2317
2326
  class: t(l),
2318
2327
  href: s?.href
2319
2328
  }, u.$attrs), {
2320
- default: g(() => [
2329
+ default: v(() => [
2321
2330
  s?.icon ? (n(), p(O, { key: 0 }, [
2322
2331
  Z(M(b, {
2323
2332
  size: "md",
@@ -2331,8 +2340,8 @@ const st = {
2331
2340
  }, null, 8, ["name"]), [
2332
2341
  [Y, !t(r)]
2333
2342
  ])
2334
- ], 64)) : v("", !0),
2335
- f("span", null, [
2343
+ ], 64)) : f("", !0),
2344
+ y("span", null, [
2336
2345
  N(C(s?.text) + " ", 1),
2337
2346
  _(u.$slots, "default")
2338
2347
  ])
@@ -2346,7 +2355,7 @@ const ot = {
2346
2355
  class: "ma-side-menu-item-icon"
2347
2356
  }, tt = {
2348
2357
  name: "MaSideMenuItem"
2349
- }, Un = /* @__PURE__ */ k({
2358
+ }, qn = /* @__PURE__ */ k({
2350
2359
  ...tt,
2351
2360
  props: {
2352
2361
  href: null,
@@ -2384,14 +2393,14 @@ const ot = {
2384
2393
  class: t(o),
2385
2394
  href: s?.href
2386
2395
  }, l.$attrs), {
2387
- default: g(() => [
2388
- f("span", null, [
2396
+ default: v(() => [
2397
+ y("span", null, [
2389
2398
  t(i) ? (n(), p("div", ot, [
2390
2399
  M(b, {
2391
2400
  size: "xs",
2392
2401
  name: t(i)
2393
2402
  }, null, 8, ["name"])
2394
- ])) : v("", !0),
2403
+ ])) : f("", !0),
2395
2404
  N(" " + C(s?.text) + " ", 1),
2396
2405
  _(l.$slots, "default")
2397
2406
  ]),
@@ -2400,11 +2409,11 @@ const ot = {
2400
2409
  size: "small",
2401
2410
  variant: s.badgeColor
2402
2411
  }, {
2403
- default: g(() => [
2412
+ default: v(() => [
2404
2413
  N(C(a.badgeText), 1)
2405
2414
  ]),
2406
2415
  _: 1
2407
- }, 8, ["variant"])) : v("", !0)
2416
+ }, 8, ["variant"])) : f("", !0)
2408
2417
  ]),
2409
2418
  _: 3
2410
2419
  }, 16, ["target", "class", "href"]));
@@ -2436,7 +2445,7 @@ const On = [
2436
2445
  const s = a, e = L(!1), o = c(() => s?.href ? "a" : "button"), i = c(() => e.value || s.active), l = c(() => s?.activeIcon || `${s.icon}-bold`), r = c(() => [
2437
2446
  "ma-side-menu-icon-button",
2438
2447
  { active: s?.active }
2439
- ]), m = () => e.value = !0, h = () => e.value = !1;
2448
+ ]), m = () => e.value = !0, g = () => e.value = !1;
2440
2449
  return (u, B) => s?.tooltipText ? (n(), d(ie, {
2441
2450
  key: 0,
2442
2451
  overlayClassName: "ma-icon-button-tooltip",
@@ -2444,16 +2453,16 @@ const On = [
2444
2453
  type: "primary",
2445
2454
  placement: "bottomLeft"
2446
2455
  }, {
2447
- default: g(() => [
2456
+ default: v(() => [
2448
2457
  (n(), d(X(t(o)), w({
2449
2458
  onMousedown: m,
2450
- onMouseup: h,
2459
+ onMouseup: g,
2451
2460
  class: t(r),
2452
2461
  href: s?.href,
2453
2462
  target: s?.target,
2454
2463
  role: "button"
2455
2464
  }, u.$attrs), {
2456
- default: g(() => [
2465
+ default: v(() => [
2457
2466
  Z(M(b, {
2458
2467
  size: "xs",
2459
2468
  name: t(l)
@@ -2475,13 +2484,13 @@ const On = [
2475
2484
  }, 8, ["title"])) : (n(), d(X(t(o)), w({
2476
2485
  key: 1,
2477
2486
  onMousedown: m,
2478
- onMouseup: h,
2487
+ onMouseup: g,
2479
2488
  class: t(r),
2480
2489
  href: s?.href,
2481
2490
  target: s?.target,
2482
2491
  role: "button"
2483
2492
  }, u.$attrs), {
2484
- default: g(() => [
2493
+ default: v(() => [
2485
2494
  Z(M(b, {
2486
2495
  size: "xs",
2487
2496
  name: t(l)
@@ -2543,12 +2552,12 @@ const it = ["src", "alt"], lt = {
2543
2552
  type: "primary",
2544
2553
  placement: "topLeft"
2545
2554
  }, {
2546
- default: g(() => [
2547
- f("button", w({
2555
+ default: v(() => [
2556
+ y("button", w({
2548
2557
  class: t(e),
2549
2558
  role: "button"
2550
2559
  }, o.$attrs), [
2551
- f("img", {
2560
+ y("img", {
2552
2561
  src: a.appImage,
2553
2562
  alt: a.appName
2554
2563
  }, null, 8, it),
@@ -2561,7 +2570,7 @@ const it = ["src", "alt"], lt = {
2561
2570
  });
2562
2571
  const rt = {
2563
2572
  name: "MaSideMenuAddNewAppButton"
2564
- }, Jn = /* @__PURE__ */ k({
2573
+ }, Kn = /* @__PURE__ */ k({
2565
2574
  ...rt,
2566
2575
  props: {
2567
2576
  href: null,
@@ -2571,13 +2580,13 @@ const rt = {
2571
2580
  },
2572
2581
  setup(a) {
2573
2582
  const s = a;
2574
- return (e, o) => (n(), d(K, w(e.$attrs, {
2583
+ return (e, o) => (n(), d(J, w(e.$attrs, {
2575
2584
  target: s?.target,
2576
2585
  href: s?.href,
2577
2586
  disabled: s?.disabled,
2578
2587
  class: "ma-add-new-app-button"
2579
2588
  }), {
2580
- default: g(() => [
2589
+ default: v(() => [
2581
2590
  N(C(s?.text) + " ", 1),
2582
2591
  _(e.$slots, "default")
2583
2592
  ]),
@@ -2641,7 +2650,7 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2641
2650
  fill: "none",
2642
2651
  xmlns: "http://www.w3.org/2000/svg"
2643
2652
  }, [
2644
- f("path", {
2653
+ y("path", {
2645
2654
  d: t(o).path,
2646
2655
  "stroke-linecap": "round",
2647
2656
  "stroke-linejoin": "round",
@@ -2657,14 +2666,14 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2657
2666
  "stroke-dashoffset": t(i),
2658
2667
  "stroke-width": t(o).strokeWidth,
2659
2668
  class: "percent"
2660
- }, null, 8, dt)) : v("", !0)
2669
+ }, null, 8, dt)) : f("", !0)
2661
2670
  ], 8, pt)),
2662
2671
  s?.icon ? (n(), d(b, {
2663
2672
  key: 0,
2664
2673
  name: s.icon
2665
2674
  }, null, 8, ["name"])) : (n(), p("label", mt, [
2666
- s?.label ? (n(), p("span", gt, C(s.label), 1)) : v("", !0),
2667
- f("span", vt, C(s?.percent) + "% ", 1)
2675
+ s?.label ? (n(), p("span", gt, C(s.label), 1)) : f("", !0),
2676
+ y("span", vt, C(s?.percent) + "% ", 1)
2668
2677
  ]))
2669
2678
  ]));
2670
2679
  }
@@ -2691,9 +2700,9 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2691
2700
  }));
2692
2701
  return (i, l) => (n(), p("div", _t, [
2693
2702
  s?.showTooltip ? (n(), d(ie, Ie(w({ key: 0 }, t(o))), {
2694
- default: g(() => [
2695
- f("div", ht, [
2696
- f("div", {
2703
+ default: v(() => [
2704
+ y("div", ht, [
2705
+ y("div", {
2697
2706
  class: "line",
2698
2707
  style: ee(t(e))
2699
2708
  }, null, 4)
@@ -2701,12 +2710,12 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2701
2710
  s?.icon ? (n(), d(b, {
2702
2711
  key: 0,
2703
2712
  name: s.icon
2704
- }, null, 8, ["name"])) : a.showPercent ? (n(), p("label", yt, C(s.percent) + "%", 1)) : v("", !0)
2713
+ }, null, 8, ["name"])) : a.showPercent ? (n(), p("label", yt, C(s.percent) + "%", 1)) : f("", !0)
2705
2714
  ]),
2706
2715
  _: 1
2707
2716
  }, 16)) : (n(), p(O, { key: 1 }, [
2708
- f("div", bt, [
2709
- f("div", {
2717
+ y("div", bt, [
2718
+ y("div", {
2710
2719
  class: "line",
2711
2720
  style: ee(t(e))
2712
2721
  }, null, 4)
@@ -2714,7 +2723,7 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2714
2723
  s?.icon ? (n(), d(b, {
2715
2724
  key: 0,
2716
2725
  name: s.icon
2717
- }, null, 8, ["name"])) : a.showPercent ? (n(), p("label", kt, C(s.percent) + "%", 1)) : v("", !0)
2726
+ }, null, 8, ["name"])) : a.showPercent ? (n(), p("label", kt, C(s.percent) + "%", 1)) : f("", !0)
2718
2727
  ], 64))
2719
2728
  ]));
2720
2729
  }
@@ -2774,7 +2783,7 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2774
2783
  fill: "none",
2775
2784
  xmlns: "http://www.w3.org/2000/svg"
2776
2785
  }, [
2777
- f("path", {
2786
+ y("path", {
2778
2787
  d: t(o).path,
2779
2788
  "stroke-width": t(o).strokeWidth,
2780
2789
  "stroke-linecap": "round",
@@ -2790,14 +2799,14 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2790
2799
  "stroke-dasharray": t(o).strokeDashArray,
2791
2800
  "stroke-dashoffset": t(i),
2792
2801
  class: "percent"
2793
- }, null, 8, Mt)) : v("", !0)
2802
+ }, null, 8, Mt)) : f("", !0)
2794
2803
  ], 8, wt)),
2795
2804
  s?.icon ? (n(), d(b, {
2796
2805
  key: 0,
2797
2806
  name: s.icon
2798
2807
  }, null, 8, ["name"])) : (n(), p("label", Bt, [
2799
- s?.label ? (n(), p("span", zt, C(s.label), 1)) : v("", !0),
2800
- f("span", St, C(s?.percent) + "% ", 1)
2808
+ s?.label ? (n(), p("span", zt, C(s.label), 1)) : f("", !0),
2809
+ y("span", St, C(s?.percent) + "% ", 1)
2801
2810
  ]))
2802
2811
  ]));
2803
2812
  }
@@ -2821,12 +2830,12 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2821
2830
  };
2822
2831
  };
2823
2832
  return (o, i) => (n(), p("div", At, [
2824
- f("div", Tt, [
2825
- (n(), p(O, null, j(10, (l) => f("div", {
2833
+ y("div", Tt, [
2834
+ (n(), p(O, null, j(10, (l) => y("div", {
2826
2835
  class: "single-line",
2827
2836
  key: l
2828
2837
  }, [
2829
- f("div", {
2838
+ y("div", {
2830
2839
  class: "single-line-fill",
2831
2840
  style: ee(e(l))
2832
2841
  }, null, 4)
@@ -2835,12 +2844,12 @@ const ct = { class: "ma-progress-circle" }, pt = ["viewBox"], ut = ["d", "stroke
2835
2844
  s?.icon ? (n(), d(b, {
2836
2845
  key: 0,
2837
2846
  name: s.icon
2838
- }, null, 8, ["name"])) : s?.showPercent ? (n(), p("label", Pt, C(s.percent) + "%", 1)) : v("", !0)
2847
+ }, null, 8, ["name"])) : s?.showPercent ? (n(), p("label", Pt, C(s.percent) + "%", 1)) : f("", !0)
2839
2848
  ]));
2840
2849
  }
2841
2850
  }), Dt = {
2842
2851
  name: "MaProgress"
2843
- }, Kn = /* @__PURE__ */ k({
2852
+ }, Jn = /* @__PURE__ */ k({
2844
2853
  ...Dt,
2845
2854
  props: {
2846
2855
  type: { default: "line" },
@@ -2953,11 +2962,11 @@ export {
2953
2962
  _n as AppIconPlatforms,
2954
2963
  fn as AppIconSizes,
2955
2964
  Ht as ButtonIconAlignMents,
2956
- Ut as ButtonShapes,
2965
+ qt as ButtonShapes,
2957
2966
  es as ButtonSizes,
2958
2967
  Ot as ButtonTargets,
2959
2968
  Vt as ButtonTypes,
2960
- qt as ButtonVariants,
2969
+ Ut as ButtonVariants,
2961
2970
  wn as MaAlert,
2962
2971
  Mn as MaAlertPropTypes,
2963
2972
  xn as MaAlertPropVariants,
@@ -2969,7 +2978,7 @@ export {
2969
2978
  $n as MaBadgePropSizes,
2970
2979
  kn as MaBadgePropTypes,
2971
2980
  bn as MaBadgePropVariants,
2972
- K as MaButton,
2981
+ J as MaButton,
2973
2982
  pn as MaCheckbox,
2974
2983
  un as MaCheckboxGroup,
2975
2984
  Nn as MaDropdown,
@@ -2993,7 +3002,7 @@ export {
2993
3002
  de as MaModalTypeIcon,
2994
3003
  zn as MaModalTypes,
2995
3004
  dn as MaNumericInput,
2996
- Kn as MaProgress,
3005
+ Jn as MaProgress,
2997
3006
  Xn as MaProgressCircleSizes,
2998
3007
  Yn as MaProgressColors,
2999
3008
  Qn as MaProgressPercentAlignments,
@@ -3006,22 +3015,22 @@ export {
3006
3015
  In as MaRateSizes,
3007
3016
  Ps as MaSelect,
3008
3017
  ln as MaSelectOption,
3009
- Jn as MaSideMenuAddNewAppButton,
3018
+ Kn as MaSideMenuAddNewAppButton,
3010
3019
  Gn as MaSideMenuAppButton,
3011
- qn as MaSideMenuButton,
3020
+ Un as MaSideMenuButton,
3012
3021
  Hn as MaSideMenuIconButton,
3013
- Un as MaSideMenuItem,
3022
+ qn as MaSideMenuItem,
3014
3023
  On as MaSideMenuItemColors,
3015
3024
  Wn as MaSideMenuRoundIconButton,
3016
3025
  ge as MaSpin,
3017
3026
  Pn as MaSpinColors,
3018
3027
  Tn as MaSpinTypes,
3019
3028
  Yt as MaSwitch,
3020
- Kt as MaToggle,
3029
+ Jt as MaToggle,
3021
3030
  ie as MaTooltip,
3022
3031
  Wt as MaTrackButton,
3023
3032
  Vn as MaUpload,
3024
- U as MaUploadFileStatus,
3033
+ q as MaUploadFileStatus,
3025
3034
  Do as MaUploadSizes,
3026
3035
  En as MaUploadTypes,
3027
3036
  mn as NumericInputSizes,
@@ -3032,7 +3041,7 @@ export {
3032
3041
  Qt as TooltipPlacements,
3033
3042
  sn as TooltipTriggerTypes,
3034
3043
  en as TooltipTypes,
3035
- Jt as TrackButtonSizes,
3044
+ Kt as TrackButtonSizes,
3036
3045
  Gt as TrackButtonVariants,
3037
3046
  Cs as currencyOptions,
3038
3047
  $s as currencySymbols,