@mobileaction/action-kit 1.1.44 → 1.1.45

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,20 +1,20 @@
1
- import { defineComponent as $, computed as c, defineAsyncComponent as Me, openBlock as n, createBlock as m, resolveDynamicComponent as ee, unref as t, normalizeClass as R, mergeProps as M, createSlots as W, renderList as U, withCtx as v, renderSlot as _, createElementVNode as h, createVNode as B, createTextVNode as L, toDisplayString as w, createElementBlock as p, isRef as J, createCommentVNode as f, ref as E, Fragment as H, useSlots as ne, useAttrs as Be, watch as oe, Transition as _e, onMounted as re, onBeforeUnmount as he, normalizeStyle as te, h as ze, createApp as Ie, onUnmounted as Se, withDirectives as X, withModifiers as ye, vShow as Q, normalizeProps as Ae, reactive as Te, readonly as Pe, toRefs as Ne } from "vue";
2
- import { Button as be, Switch as De, Tooltip as Le, Form as Ee, FormItem as Fe, Avatar as Re, Select as Ue, InputPassword as je, Input as Ve, Textarea as Oe, SelectOption as qe, Checkbox as He, CheckboxGroup as We, Radio as Ge, RadioGroup as Ke, Alert as Je, Modal as Ze, Dropdown as Ye } from "ant-design-vue";
1
+ import { defineComponent as k, computed as c, defineAsyncComponent as Me, openBlock as n, createBlock as m, resolveDynamicComponent as ee, unref as t, normalizeClass as R, mergeProps as M, createSlots as q, renderList as U, withCtx as v, renderSlot as _, createElementVNode as y, createVNode as B, createTextVNode as L, toDisplayString as w, createElementBlock as p, isRef as J, createCommentVNode as f, ref as E, Fragment as W, useSlots as ne, useAttrs as Be, watch as oe, Transition as _e, onMounted as re, onBeforeUnmount as ye, normalizeStyle as te, h as ze, createApp as Ie, onUnmounted as Se, withDirectives as Z, withModifiers as he, vShow as Y, normalizeProps as Te, reactive as Ae, readonly as Pe, toRefs as Ne } from "vue";
2
+ import { Button as be, Switch as De, Tooltip as Le, Form as Ee, FormItem as Fe, Avatar as Re, Select as Ue, InputPassword as je, Input as Ve, Textarea as Oe, SelectOption as qe, Checkbox as He, CheckboxGroup as We, Radio as Ke, RadioGroup as Ge, Alert as Je, Modal as Ze, Dropdown as Ye, Tabs as Xe, TabPane as Qe } from "ant-design-vue";
3
3
  const ie = (a, s) => {
4
4
  const e = a[s];
5
5
  return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((o, l) => {
6
6
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(l.bind(null, new Error("Unknown variable dynamic import: " + s)));
7
7
  });
8
- }, Gt = ["xs", "sm", "md", "lg", "xl"], Xe = {
8
+ }, Zt = ["xs", "sm", "md", "lg", "xl"], es = {
9
9
  xs: "w-4 h-4",
10
10
  sm: "w-5 h-5",
11
11
  md: "w-6 h-6",
12
12
  lg: "w-8 h-8",
13
13
  xl: "w-9 h-9"
14
- }, Qe = {
14
+ }, ss = {
15
15
  name: "MaIcon"
16
- }, k = /* @__PURE__ */ $({
17
- ...Qe,
16
+ }, h = /* @__PURE__ */ k({
17
+ ...ss,
18
18
  props: {
19
19
  name: null,
20
20
  size: { default: "md" },
@@ -32,17 +32,17 @@ const ie = (a, s) => {
32
32
  "ma-icon",
33
33
  "ak-icon",
34
34
  `ak-icon--${s.name}`,
35
- Xe[s.size],
35
+ es[s.size],
36
36
  { "animate-spin": s.spin }
37
37
  ]);
38
38
  return (i, r) => (n(), m(ee(t(o)), {
39
39
  class: R(t(l))
40
40
  }, null, 8, ["class"]));
41
41
  }
42
- }), es = {
42
+ }), os = {
43
43
  name: "MaButton"
44
- }, Y = /* @__PURE__ */ $({
45
- ...es,
44
+ }, Q = /* @__PURE__ */ k({
45
+ ...os,
46
46
  props: {
47
47
  type: { default: "primary" },
48
48
  variant: { default: "dark" },
@@ -87,7 +87,7 @@ const ie = (a, s) => {
87
87
  type: t(o),
88
88
  onKeyup: u,
89
89
  role: "button"
90
- }, g.$attrs, { "prefix-cls": "antd-btn" }), W({ _: 2 }, [
90
+ }, g.$attrs, { "prefix-cls": "antd-btn" }), q({ _: 2 }, [
91
91
  U(g.$slots, (z, I) => ({
92
92
  name: I,
93
93
  fn: v(() => [
@@ -97,12 +97,12 @@ const ie = (a, s) => {
97
97
  t(i) ? {
98
98
  name: "icon",
99
99
  fn: v(() => [
100
- e?.loading ? (n(), m(k, {
100
+ e?.loading ? (n(), m(h, {
101
101
  key: 0,
102
102
  class: "ak-button__loader",
103
103
  spin: "",
104
104
  name: "loader"
105
- })) : (n(), m(k, {
105
+ })) : (n(), m(h, {
106
106
  key: 1,
107
107
  name: e?.icon
108
108
  }, null, 8, ["name"]))
@@ -112,40 +112,40 @@ const ie = (a, s) => {
112
112
  ]), 1040, ["class", "href", "target", "disabled", "type"]));
113
113
  }
114
114
  });
115
- const Kt = [
115
+ const Yt = [
116
116
  "primary",
117
117
  "secondary",
118
118
  "link",
119
119
  "grey-link",
120
120
  "social"
121
- ], Jt = [
121
+ ], Xt = [
122
122
  "dark",
123
123
  "plain",
124
124
  "info",
125
125
  "success",
126
126
  "warning",
127
127
  "danger"
128
- ], ss = [
128
+ ], ts = [
129
129
  "small",
130
130
  "middle",
131
131
  "large",
132
132
  "x-large",
133
133
  "2x-large"
134
- ], Zt = [
134
+ ], Qt = [
135
135
  "default",
136
136
  "round"
137
- ], Yt = [
137
+ ], en = [
138
138
  "_blank",
139
139
  "_self",
140
140
  "_top",
141
141
  "_parent"
142
- ], Xt = [
142
+ ], sn = [
143
143
  "left",
144
144
  "right"
145
- ], os = { class: "icon-wrapper" }, ts = {
145
+ ], ns = { class: "icon-wrapper" }, as = {
146
146
  name: "MaTrackButton"
147
- }, Qt = /* @__PURE__ */ $({
148
- ...ts,
147
+ }, on = /* @__PURE__ */ k({
148
+ ...as,
149
149
  props: {
150
150
  variant: { default: "default" },
151
151
  size: { default: "md" },
@@ -180,10 +180,10 @@ const Kt = [
180
180
  disabled: s?.disabled || s?.loading,
181
181
  role: "button",
182
182
  "prefix-cls": "antd-btn"
183
- }), W({
183
+ }), q({
184
184
  icon: v(() => [
185
- h("div", os, [
186
- B(k, {
185
+ y("div", ns, [
186
+ B(h, {
187
187
  spin: s?.loading,
188
188
  name: t(o),
189
189
  size: t(l)
@@ -204,25 +204,25 @@ const Kt = [
204
204
  ]), 1040, ["class", "disabled"]));
205
205
  }
206
206
  });
207
- const en = [
207
+ const tn = [
208
208
  "default"
209
- ], sn = [
209
+ ], nn = [
210
210
  "sm",
211
211
  "md",
212
212
  "lg"
213
- ], ns = {
213
+ ], ls = {
214
214
  key: 0,
215
215
  class: "ma-toggle__titles"
216
- }, as = {
216
+ }, is = {
217
217
  key: 0,
218
218
  class: "ma-toggle__titles__title"
219
- }, ls = {
219
+ }, rs = {
220
220
  key: 1,
221
221
  class: "ma-toggle__titles__sub-title"
222
- }, is = {
222
+ }, cs = {
223
223
  name: "MaToggle"
224
- }, on = /* @__PURE__ */ $({
225
- ...is,
224
+ }, an = /* @__PURE__ */ k({
225
+ ...cs,
226
226
  props: {
227
227
  size: { default: "default" },
228
228
  disabled: { type: Boolean },
@@ -264,21 +264,21 @@ const en = [
264
264
  unCheckedChildren: e.unCheckedChildren,
265
265
  "prefix-cls": "antd-switch"
266
266
  }), null, 16, ["checked", "disabled", "loading", "checkedChildren", "unCheckedChildren"]),
267
- e.title || e.subTitle ? (n(), p("div", ns, [
268
- e.title ? (n(), p("span", as, w(e.title), 1)) : f("", !0),
269
- e.subTitle ? (n(), p("span", ls, w(e.subTitle), 1)) : f("", !0)
267
+ e.title || e.subTitle ? (n(), p("div", ls, [
268
+ e.title ? (n(), p("span", is, w(e.title), 1)) : f("", !0),
269
+ e.subTitle ? (n(), p("span", rs, w(e.subTitle), 1)) : f("", !0)
270
270
  ])) : f("", !0)
271
271
  ], 2));
272
272
  }
273
273
  });
274
- const tn = [
274
+ const ln = [
275
275
  "small",
276
276
  "default",
277
277
  "large"
278
- ], rs = ["aria-checked", "disabled"], cs = {
278
+ ], ps = ["aria-checked", "disabled"], us = {
279
279
  name: "MaSwitch"
280
- }, nn = /* @__PURE__ */ $({
281
- ...cs,
280
+ }, rn = /* @__PURE__ */ k({
281
+ ...us,
282
282
  props: {
283
283
  active: null,
284
284
  leftIcon: null,
@@ -317,35 +317,35 @@ const tn = [
317
317
  "aria-checked": t(o) === e.rightValue,
318
318
  disabled: e.disabled
319
319
  }), [
320
- h("span", {
320
+ y("span", {
321
321
  class: R({ active: e.active === e.leftValue }),
322
322
  onClick: u[0] || (u[0] = (g) => i(e.leftValue))
323
323
  }, [
324
- B(k, {
324
+ B(h, {
325
325
  name: e.leftIcon
326
326
  }, null, 8, ["name"])
327
327
  ], 2),
328
- h("span", {
328
+ y("span", {
329
329
  class: R({ active: e.active === e.rightValue }),
330
330
  onClick: u[1] || (u[1] = (g) => i(e.rightValue))
331
331
  }, [
332
- B(k, {
332
+ B(h, {
333
333
  name: e.rightIcon
334
334
  }, null, 8, ["name"])
335
335
  ], 2)
336
- ], 16, rs));
336
+ ], 16, ps));
337
337
  }
338
338
  });
339
- const an = [
339
+ const cn = [
340
340
  "primary",
341
341
  "secondary"
342
- ], ps = { class: "ak-tooltip-overlay__content" }, us = { class: "ak-tooltip-overlay__content__title" }, ds = {
342
+ ], ds = { class: "ak-tooltip-overlay__content" }, ms = { class: "ak-tooltip-overlay__content__title" }, gs = {
343
343
  key: 0,
344
344
  class: "ak-tooltip-overlay__content__description"
345
- }, ms = {
345
+ }, vs = {
346
346
  name: "MaTooltip"
347
- }, ce = /* @__PURE__ */ $({
348
- ...ms,
347
+ }, ce = /* @__PURE__ */ k({
348
+ ...vs,
349
349
  props: {
350
350
  placement: { default: "top" },
351
351
  type: { default: "secondary" },
@@ -381,23 +381,23 @@ const an = [
381
381
  "prefix-cls": "antd-tooltip"
382
382
  }), {
383
383
  title: v(() => [
384
- s.icon ? (n(), m(k, {
384
+ s.icon ? (n(), m(h, {
385
385
  key: 0,
386
386
  size: "xs",
387
387
  name: s.icon
388
388
  }, null, 8, ["name"])) : f("", !0),
389
389
  _(r.$slots, "icon"),
390
- h("div", ps, [
391
- h("span", us, [
390
+ y("div", ds, [
391
+ y("span", ms, [
392
392
  L(w(s.title) + " ", 1),
393
393
  _(r.$slots, "title")
394
394
  ]),
395
- s?.description || r.$slots.description ? (n(), p("span", ds, [
395
+ s?.description || r.$slots.description ? (n(), p("span", gs, [
396
396
  L(w(s.description) + " ", 1),
397
397
  _(r.$slots, "description")
398
398
  ])) : f("", !0)
399
399
  ]),
400
- s.closable ? (n(), m(k, {
400
+ s.closable ? (n(), m(h, {
401
401
  key: 1,
402
402
  onClick: i,
403
403
  class: "ak-tooltip-overlay__close",
@@ -412,7 +412,7 @@ const an = [
412
412
  }, 16, ["visible", "class", "placement", "trigger", "overlayClassName"]));
413
413
  }
414
414
  });
415
- const ln = [
415
+ const pn = [
416
416
  "top",
417
417
  "left",
418
418
  "right",
@@ -425,41 +425,41 @@ const ln = [
425
425
  "leftBottom",
426
426
  "rightTop",
427
427
  "rightBottom"
428
- ], rn = [
428
+ ], un = [
429
429
  "primary",
430
430
  "secondary"
431
- ], cn = [
431
+ ], dn = [
432
432
  "hover",
433
433
  "focus",
434
434
  "click",
435
435
  "contextmenu"
436
- ], gs = {
436
+ ], fs = {
437
437
  name: "MaNonHSFormsIgnore"
438
- }, vs = (a, s) => {
438
+ }, _s = (a, s) => {
439
439
  const e = a.__vccOpts || a;
440
440
  for (const [o, l] of s)
441
441
  e[o] = l;
442
442
  return e;
443
- }, fs = /* @__PURE__ */ h("label", {
443
+ }, ys = /* @__PURE__ */ y("label", {
444
444
  for: "cc-num",
445
445
  class: "hidden"
446
- }, "HubspotCollectedFormsWorkaround", -1), _s = /* @__PURE__ */ h("input", {
446
+ }, "HubspotCollectedFormsWorkaround", -1), hs = /* @__PURE__ */ y("input", {
447
447
  id: "cc-num",
448
448
  name: "cc-num",
449
449
  class: "hidden",
450
450
  required: "",
451
451
  value: "HubspotCollectedFormsWorkaround"
452
452
  }, null, -1);
453
- function hs(a, s, e, o, l, i) {
454
- return n(), p(H, null, [
455
- fs,
456
- _s
453
+ function bs(a, s, e, o, l, i) {
454
+ return n(), p(W, null, [
455
+ ys,
456
+ hs
457
457
  ], 64);
458
458
  }
459
- const ys = /* @__PURE__ */ vs(gs, [["render", hs]]), bs = {
459
+ const ks = /* @__PURE__ */ _s(fs, [["render", bs]]), $s = {
460
460
  name: "MaForm"
461
- }, pn = /* @__PURE__ */ $({
462
- ...bs,
461
+ }, mn = /* @__PURE__ */ k({
462
+ ...$s,
463
463
  props: {
464
464
  nonHubspotFormsIgnore: { type: Boolean, default: !0 }
465
465
  },
@@ -478,22 +478,22 @@ const ys = /* @__PURE__ */ vs(gs, [["render", hs]]), bs = {
478
478
  ref: o
479
479
  }), {
480
480
  default: v(() => [
481
- e.nonHubspotFormsIgnore ? (n(), m(ys, { key: 0 })) : f("", !0),
481
+ e.nonHubspotFormsIgnore ? (n(), m(ks, { key: 0 })) : f("", !0),
482
482
  _(d.$slots, "default")
483
483
  ]),
484
484
  _: 3
485
485
  }, 16));
486
486
  }
487
487
  });
488
- const ks = {
488
+ const Cs = {
489
489
  name: "MaFormItem"
490
- }, un = /* @__PURE__ */ $({
491
- ...ks,
490
+ }, gn = /* @__PURE__ */ k({
491
+ ...Cs,
492
492
  setup(a) {
493
493
  return (s, e) => (n(), m(t(Fe), M(s.$attrs, {
494
494
  class: "ma-form-item",
495
495
  "prefix-cls": "antd-form"
496
- }), W({ _: 2 }, [
496
+ }), q({ _: 2 }, [
497
497
  U(s.$slots, (o, l) => ({
498
498
  name: l,
499
499
  fn: v(() => [
@@ -502,11 +502,11 @@ const ks = {
502
502
  }))
503
503
  ]), 1040));
504
504
  }
505
- }), dn = [
505
+ }), vn = [
506
506
  "horizontal",
507
507
  "vertical",
508
508
  "inline"
509
- ], K = {
509
+ ], G = {
510
510
  text: "text",
511
511
  password: "password",
512
512
  textarea: "textarea",
@@ -517,36 +517,36 @@ const ks = {
517
517
  amount: "amount",
518
518
  creditCard: "creditCard",
519
519
  userInfo: "userInfo"
520
- }, $s = {
520
+ }, ws = {
521
521
  small: "small",
522
522
  medium: "medium",
523
523
  large: "large"
524
- }, mn = {
524
+ }, fn = {
525
525
  usd: "USD",
526
526
  eur: "EUR",
527
527
  gbp: "GBP",
528
528
  jpy: "JPY"
529
- }, Cs = {
529
+ }, xs = {
530
530
  USD: "$",
531
531
  EUR: "€",
532
532
  GBP: "£",
533
533
  JPY: "¥"
534
- }, ws = [
534
+ }, Ms = [
535
535
  { label: "USD", value: "USD" },
536
536
  { label: "EUR", value: "EUR" },
537
537
  { label: "GBP", value: "GBP" },
538
538
  { label: "JPY", value: "JPY" }
539
- ], xs = {
539
+ ], Bs = {
540
540
  name: "MaAvatar"
541
- }, Ms = /* @__PURE__ */ $({
542
- ...xs,
541
+ }, zs = /* @__PURE__ */ k({
542
+ ...Bs,
543
543
  setup(a) {
544
544
  return (s, e) => (n(), m(t(Re), M(s.$attrs, { "prefix-cls": "antd-avatar" }), null, 16));
545
545
  }
546
- }), Bs = { class: "dropdown-wrapper" }, zs = { class: "mobile-header" }, Is = /* @__PURE__ */ h("label", null, "Select", -1), Ss = {
546
+ }), Is = { class: "dropdown-wrapper" }, Ss = { class: "mobile-header" }, Ts = /* @__PURE__ */ y("label", null, "Select", -1), As = {
547
547
  name: "MaDropdownRender"
548
- }, As = /* @__PURE__ */ $({
549
- ...Ss,
548
+ }, Ps = /* @__PURE__ */ k({
549
+ ...As,
550
550
  props: {
551
551
  menu: {
552
552
  type: Object,
@@ -569,15 +569,15 @@ const ks = {
569
569
  }), i = () => {
570
570
  s("closeDropdown");
571
571
  };
572
- return (r, u) => (n(), p("div", Bs, [
573
- h("div", zs, [
574
- B(k, {
572
+ return (r, u) => (n(), p("div", Is, [
573
+ y("div", Ss, [
574
+ B(h, {
575
575
  size: "lg",
576
576
  name: "close-circle",
577
577
  onClick: i
578
578
  }),
579
- Is,
580
- B(Y, {
579
+ Ts,
580
+ B(Q, {
581
581
  type: "grey-link",
582
582
  onClick: i
583
583
  }, {
@@ -597,13 +597,13 @@ const ks = {
597
597
  B(o, { vnodes: a.menu }, null, 8, ["vnodes"])
598
598
  ]));
599
599
  }
600
- }), Ts = {
600
+ }), Ns = {
601
601
  key: 0,
602
602
  class: "prefix-icon"
603
- }, Ps = {
603
+ }, Ds = {
604
604
  name: "MaSelect"
605
- }, Ns = /* @__PURE__ */ $({
606
- ...Ps,
605
+ }, Ls = /* @__PURE__ */ k({
606
+ ...Ds,
607
607
  props: {
608
608
  allowClear: { type: Boolean },
609
609
  autoClearSearchValue: { type: Boolean, default: !0 },
@@ -657,16 +657,16 @@ const ks = {
657
657
  e?.dropdownClassName,
658
658
  "ma-select-dropdown",
659
659
  !e?.mode && (o?.prefixIcon || e?.prefixIcon) ? "ma-select-dropdown--has-prefix" : null
660
- ].join(" ")), z = c(() => e?.loading ? "loader" : e?.suffixIcon), I = c(() => Object.keys(o).filter((F) => !["option"].includes(F))), A = c(() => e?.showArrow || !e?.mode), P = () => {
660
+ ].join(" ")), z = c(() => e?.loading ? "loader" : e?.suffixIcon), I = c(() => Object.keys(o).filter((F) => !["option"].includes(F))), T = c(() => e?.showArrow || !e?.mode), P = () => {
661
661
  i.value = !0;
662
662
  }, C = (F) => {
663
663
  i.value = F, l.value = "";
664
- }, T = c(() => !r.value && e?.showSearch), S = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, j = () => {
664
+ }, A = c(() => !r.value && e?.showSearch), S = () => typeof window.orientation < "u" || navigator.userAgent.indexOf("Mobile") !== -1 ? window.innerHeight : e?.listHeight, j = () => {
665
665
  i.value = !1;
666
666
  };
667
667
  return (F, x) => (n(), m(t(Ue), M({
668
668
  value: t(u),
669
- "onUpdate:value": x[1] || (x[1] = (b) => J(u) ? u.value = b : null)
669
+ "onUpdate:value": x[1] || (x[1] = ($) => J(u) ? u.value = $ : null)
670
670
  }, F.$attrs, {
671
671
  class: t(g),
672
672
  allowClear: e?.allowClear,
@@ -681,8 +681,8 @@ const ks = {
681
681
  options: e?.options,
682
682
  placeholder: e?.placeholder,
683
683
  searchValue: l.value || void 0,
684
- showSearch: t(T),
685
- showArrow: t(A),
684
+ showSearch: t(A),
685
+ showArrow: t(T),
686
686
  mode: e?.mode,
687
687
  "list-height": S(),
688
688
  size: e?.size,
@@ -690,15 +690,15 @@ const ks = {
690
690
  onClick: P,
691
691
  onDropdownVisibleChange: C,
692
692
  "prefix-cls": "antd-select"
693
- }), W({
693
+ }), q({
694
694
  suffixIcon: v(() => [
695
- B(k, {
695
+ B(h, {
696
696
  spin: e?.loading,
697
697
  name: t(z) || "chevron-down"
698
698
  }, null, 8, ["spin", "name"]),
699
- F.$slots?.prefixIcon || e?.prefixIcon ? (n(), p("div", Ts, [
699
+ F.$slots?.prefixIcon || e?.prefixIcon ? (n(), p("div", Ns, [
700
700
  _(F.$slots, "prefixIcon", {}, () => [
701
- e?.prefixIcon ? (n(), m(k, {
701
+ e?.prefixIcon ? (n(), m(h, {
702
702
  key: 0,
703
703
  name: e?.prefixIcon
704
704
  }, null, 8, ["name"])) : f("", !0)
@@ -706,23 +706,23 @@ const ks = {
706
706
  ])) : f("", !0)
707
707
  ]),
708
708
  removeIcon: v(() => [
709
- B(k, {
709
+ B(h, {
710
710
  name: e?.removeIcon || "close"
711
711
  }, null, 8, ["name"])
712
712
  ]),
713
713
  _: 2
714
714
  }, [
715
- U(t(I), (b) => ({
716
- name: b,
715
+ U(t(I), ($) => ({
716
+ name: $,
717
717
  fn: v(() => [
718
- _(F.$slots, b)
718
+ _(F.$slots, $)
719
719
  ])
720
720
  })),
721
721
  F.$slots.option ? {
722
722
  name: "option",
723
- fn: v(({ label: b, value: N }) => [
723
+ fn: v(({ label: $, value: N }) => [
724
724
  _(F.$slots, "option", {
725
- label: b,
725
+ label: $,
726
726
  value: N
727
727
  })
728
728
  ]),
@@ -731,7 +731,7 @@ const ks = {
731
731
  e?.clearIcon ? {
732
732
  name: "clearIcon",
733
733
  fn: v(() => [
734
- e?.clearIcon ? (n(), m(k, {
734
+ e?.clearIcon ? (n(), m(h, {
735
735
  key: 0,
736
736
  name: e?.clearIcon
737
737
  }, null, 8, ["name"])) : f("", !0)
@@ -741,7 +741,7 @@ const ks = {
741
741
  e?.menuItemSelectedIcon ? {
742
742
  name: "menuItemSelectedIcon",
743
743
  fn: v(() => [
744
- B(k, {
744
+ B(h, {
745
745
  name: e?.menuItemSelectedIcon
746
746
  }, null, 8, ["name"])
747
747
  ]),
@@ -750,7 +750,7 @@ const ks = {
750
750
  F.$slots.notFoundContent ? void 0 : {
751
751
  name: "notFoundContent",
752
752
  fn: v(() => [
753
- B(k, {
753
+ B(h, {
754
754
  size: "sm",
755
755
  name: "warning"
756
756
  }),
@@ -760,11 +760,11 @@ const ks = {
760
760
  },
761
761
  t(r) && i.value ? {
762
762
  name: "dropdownRender",
763
- fn: v(({ menuNode: b }) => [
764
- B(As, {
763
+ fn: v(({ menuNode: $ }) => [
764
+ B(Ps, {
765
765
  filter: l.value,
766
766
  "onUpdate:filter": x[0] || (x[0] = (N) => l.value = N),
767
- menu: b,
767
+ menu: $,
768
768
  onCloseDropdown: j
769
769
  }, null, 8, ["filter", "menu"])
770
770
  ]),
@@ -773,24 +773,24 @@ const ks = {
773
773
  ]), 1040, ["value", "class", "allowClear", "autoClearSearchValue", "autofocus", "defaultOpen", "disabled", "dropdownClassName", "loading", "optionFilterProp", "optionLabelProp", "options", "placeholder", "searchValue", "showSearch", "showArrow", "mode", "list-height", "size", "open"]));
774
774
  }
775
775
  });
776
- const Ds = ["for"], Ls = {
776
+ const Es = ["for"], Fs = {
777
777
  key: 1,
778
778
  class: "ak-input__wrapper"
779
- }, Es = {
779
+ }, Rs = {
780
780
  key: 1,
781
781
  class: "currency"
782
- }, Fs = {
782
+ }, Us = {
783
783
  key: 3,
784
784
  class: "ak-input__hint-text"
785
- }, Rs = {
785
+ }, js = {
786
786
  name: "MaInput",
787
787
  inheritAttrs: !1
788
- }, ke = /* @__PURE__ */ $({
789
- ...Rs,
788
+ }, ke = /* @__PURE__ */ k({
789
+ ...js,
790
790
  props: {
791
791
  allowClear: { type: Boolean },
792
- type: { default: K.text },
793
- size: { default: $s.small },
792
+ type: { default: G.text },
793
+ size: { default: ws.small },
794
794
  title: null,
795
795
  hintText: null,
796
796
  hasError: { type: Boolean },
@@ -815,7 +815,7 @@ const Ds = ["for"], Ls = {
815
815
  "focusout"
816
816
  ],
817
817
  setup(a, { emit: s }) {
818
- const e = a, o = Be(), l = E(null), i = c(() => [K.amount, K.creditCard].includes(e.type) ? "number" : e.type === K.userInfo ? "text" : e.type), r = c(() => [
818
+ const e = a, o = Be(), l = E(null), i = c(() => [G.amount, G.creditCard].includes(e.type) ? "number" : e.type === G.userInfo ? "text" : e.type), r = c(() => [
819
819
  `ma-input ak-input ak-input--${e.type} ak-input--${e.size} ${o?.class}`,
820
820
  {
821
821
  "ak-input--has-error": e.hasError
@@ -830,41 +830,41 @@ const Ds = ["for"], Ls = {
830
830
  get() {
831
831
  return e.value;
832
832
  },
833
- set(b) {
834
- s("update:value", b);
833
+ set($) {
834
+ s("update:value", $);
835
835
  }
836
- }), d = c(() => e.amountCurrency ? Cs[e.amountCurrency] : null), z = c({
836
+ }), d = c(() => e.amountCurrency ? xs[e.amountCurrency] : null), z = c({
837
837
  get() {
838
838
  return e.amountCurrency;
839
839
  },
840
- set(b) {
841
- s("update:amountCurrency", b);
840
+ set($) {
841
+ s("update:amountCurrency", $);
842
842
  }
843
- }), I = c(() => e.type === K.password ? je : Ve), A = c(() => e.type === K.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), P = c(() => e.type === K.url ? "https" : e?.addonBefore), C = c(() => {
844
- let b = { ...o, ...A.value };
845
- return o?.class && delete b?.class, b;
846
- }), T = (b) => {
847
- s("change", b);
848
- }, S = (b) => {
849
- s("currency-change", b);
843
+ }), I = c(() => e.type === G.password ? je : Ve), T = c(() => e.type === G.password ? { "input-prefix-cls": "antd-input" } : { "prefix-cls": "antd-input" }), P = c(() => e.type === G.url ? "https" : e?.addonBefore), C = c(() => {
844
+ let $ = { ...o, ...T.value };
845
+ return o?.class && delete $?.class, $;
846
+ }), A = ($) => {
847
+ s("change", $);
848
+ }, S = ($) => {
849
+ s("currency-change", $);
850
850
  }, j = () => {
851
851
  l.value.focus();
852
- }, F = (b) => {
853
- s("focus", b);
854
- }, x = (b) => {
855
- s("focusout", b);
852
+ }, F = ($) => {
853
+ s("focus", $);
854
+ }, x = ($) => {
855
+ s("focusout", $);
856
856
  };
857
- return (b, N) => (n(), p("div", {
857
+ return ($, N) => (n(), p("div", {
858
858
  class: R(t(r))
859
859
  }, [
860
- _(b.$slots, "title"),
860
+ _($.$slots, "title"),
861
861
  e.title ? (n(), p("label", {
862
862
  key: 0,
863
863
  onClick: j,
864
864
  class: "ak-input__title",
865
- for: b.$attrs?.id
866
- }, w(e.title), 9, Ds)) : f("", !0),
867
- e.type !== "textarea" ? (n(), p("div", Ls, [
865
+ for: $.$attrs?.id
866
+ }, w(e.title), 9, Es)) : f("", !0),
867
+ e.type !== "textarea" ? (n(), p("div", Fs, [
868
868
  (n(), m(ee(t(I)), M({
869
869
  value: t(g),
870
870
  "onUpdate:value": N[1] || (N[1] = (O) => J(g) ? g.value = O : null)
@@ -876,35 +876,35 @@ const Ds = ["for"], Ls = {
876
876
  addonBefore: t(P),
877
877
  addonAfter: a.addonAfter,
878
878
  class: t(u),
879
- onChange: T,
879
+ onChange: A,
880
880
  onFocus: F,
881
881
  onFocusout: x,
882
882
  ref_key: "inputRef",
883
883
  ref: l
884
- }), W({
884
+ }), q({
885
885
  prefix: v(() => [
886
- e.prefixIcon ? (n(), m(k, {
886
+ e.prefixIcon ? (n(), m(h, {
887
887
  key: 0,
888
888
  size: "xs",
889
889
  name: e.prefixIcon
890
- }, null, 8, ["name"])) : t(d) ? (n(), p("span", Es, w(t(d)), 1)) : e.type === t(K).userInfo ? (n(), m(Ms, {
890
+ }, null, 8, ["name"])) : t(d) ? (n(), p("span", Rs, w(t(d)), 1)) : e.type === t(G).userInfo ? (n(), m(zs, {
891
891
  key: 2,
892
892
  src: e.avatarUrl,
893
893
  disabled: e.disabled
894
894
  }, null, 8, ["src", "disabled"])) : f("", !0)
895
895
  ]),
896
896
  suffix: v(() => [
897
- e.type === "amount" ? (n(), m(Ns, {
897
+ e.type === "amount" ? (n(), m(Ls, {
898
898
  key: 0,
899
899
  value: t(z),
900
900
  "onUpdate:value": N[0] || (N[0] = (O) => J(z) ? z.value = O : null),
901
901
  onChange: S,
902
902
  dropdownClassName: "ak-input__input__ma-select__dropdown",
903
- options: t(ws),
903
+ options: t(Ms),
904
904
  disabled: e.disabled,
905
905
  size: "small"
906
906
  }, null, 8, ["value", "options", "disabled"])) : f("", !0),
907
- e.suffixIcon ? (n(), m(k, {
907
+ e.suffixIcon ? (n(), m(h, {
908
908
  key: 1,
909
909
  size: "xs",
910
910
  name: e.suffixIcon
@@ -912,10 +912,10 @@ const Ds = ["for"], Ls = {
912
912
  ]),
913
913
  _: 2
914
914
  }, [
915
- U(b.$slots, (O, G) => ({
916
- name: G,
915
+ U($.$slots, (O, K) => ({
916
+ name: K,
917
917
  fn: v(() => [
918
- _(b.$slots, G)
918
+ _($.$slots, K)
919
919
  ])
920
920
  }))
921
921
  ]), 1040, ["value", "allowClear", "type", "disabled", "placeholder", "addonBefore", "addonAfter", "class"]))
@@ -927,31 +927,31 @@ const Ds = ["for"], Ls = {
927
927
  class: t(u),
928
928
  disabled: e?.disabled,
929
929
  placeholder: e?.placeholder,
930
- onChange: T,
930
+ onChange: A,
931
931
  ref_key: "inputRef",
932
932
  ref: l
933
- }), W({ _: 2 }, [
934
- U(b.$slots, (O, G) => ({
935
- name: G,
933
+ }), q({ _: 2 }, [
934
+ U($.$slots, (O, K) => ({
935
+ name: K,
936
936
  fn: v(() => [
937
- _(b.$slots, G)
937
+ _($.$slots, K)
938
938
  ])
939
939
  }))
940
940
  ]), 1040, ["value", "class", "disabled", "placeholder"])),
941
- _(b.$slots, "hint"),
942
- e.hintText ? (n(), p("div", Fs, w(e.hintText), 1)) : f("", !0)
941
+ _($.$slots, "hint"),
942
+ e.hintText ? (n(), p("div", Us, w(e.hintText), 1)) : f("", !0)
943
943
  ], 2));
944
944
  }
945
945
  });
946
- const Us = {
946
+ const Vs = {
947
947
  name: "MaSelectOption"
948
- }, gn = /* @__PURE__ */ $({
949
- ...Us,
948
+ }, _n = /* @__PURE__ */ k({
949
+ ...Vs,
950
950
  setup(a) {
951
951
  return (s, e) => (n(), m(t(qe), M(s.$attrs, {
952
952
  class: "ma-select-option",
953
953
  "prefix-cls": "antd-select"
954
- }), W({ _: 2 }, [
954
+ }), q({ _: 2 }, [
955
955
  U(s.$slots, (o, l) => ({
956
956
  name: l,
957
957
  fn: v(() => [
@@ -960,17 +960,17 @@ const Us = {
960
960
  }))
961
961
  ]), 1040));
962
962
  }
963
- }), vn = [
963
+ }), yn = [
964
964
  "default",
965
965
  "large",
966
966
  "small"
967
- ], fn = [
967
+ ], hn = [
968
968
  "multiple",
969
969
  "tags"
970
- ], js = {
970
+ ], Os = {
971
971
  name: "MaCheckbox"
972
- }, _n = /* @__PURE__ */ $({
973
- ...js,
972
+ }, bn = /* @__PURE__ */ k({
973
+ ...Os,
974
974
  props: {
975
975
  hint: null,
976
976
  indeterminate: { type: Boolean, default: void 0 },
@@ -989,7 +989,7 @@ const Us = {
989
989
  disabled: s?.disabled,
990
990
  indeterminate: s?.indeterminate,
991
991
  "prefix-cls": "antd-checkbox"
992
- }), W({ _: 2 }, [
992
+ }), q({ _: 2 }, [
993
993
  U(o.$slots, (i, r) => ({
994
994
  name: r,
995
995
  fn: v(() => [
@@ -1003,10 +1003,10 @@ const Us = {
1003
1003
  ]), 1040, ["class", "disabled", "indeterminate"]));
1004
1004
  }
1005
1005
  });
1006
- const Vs = {
1006
+ const qs = {
1007
1007
  name: "MaCheckboxGroup"
1008
- }, hn = /* @__PURE__ */ $({
1009
- ...Vs,
1008
+ }, kn = /* @__PURE__ */ k({
1009
+ ...qs,
1010
1010
  props: {
1011
1011
  hint: null,
1012
1012
  disabled: { type: Boolean }
@@ -1016,7 +1016,7 @@ const Vs = {
1016
1016
  return (e, o) => (n(), m(t(We), M(e.$attrs, {
1017
1017
  class: "ak-checkbox-group ma-checkbox-group",
1018
1018
  "prefix-cls": "antd-checkbox"
1019
- }), W({ _: 2 }, [
1019
+ }), q({ _: 2 }, [
1020
1020
  U(e.$slots, (l, i) => ({
1021
1021
  name: i,
1022
1022
  fn: v(() => [
@@ -1029,7 +1029,7 @@ const Vs = {
1029
1029
  }))
1030
1030
  ]), 1040));
1031
1031
  }
1032
- }), Os = ["value"], qs = /* @__PURE__ */ $({
1032
+ }), Hs = ["value"], Ws = /* @__PURE__ */ k({
1033
1033
  __name: "singleNumericInput",
1034
1034
  props: {
1035
1035
  value: { default: "" },
@@ -1058,12 +1058,12 @@ const Vs = {
1058
1058
  maxlength: "1",
1059
1059
  pattern: "[0-9]",
1060
1060
  inputmode: "numeric"
1061
- }), null, 16, Os));
1061
+ }), null, 16, Hs));
1062
1062
  }
1063
- }), Hs = {
1063
+ }), Ks = {
1064
1064
  name: "MaNumericInput"
1065
- }, yn = /* @__PURE__ */ $({
1066
- ...Hs,
1065
+ }, $n = /* @__PURE__ */ k({
1066
+ ...Ks,
1067
1067
  props: {
1068
1068
  disabled: { type: Boolean },
1069
1069
  length: { default: 6 },
@@ -1074,7 +1074,7 @@ const Vs = {
1074
1074
  },
1075
1075
  emits: ["update:value"],
1076
1076
  setup(a, { emit: s }) {
1077
- const e = a, o = E(null), l = E(Array.from({ length: e.length }, (C, T) => e.value[T] || null)), i = c(() => [
1077
+ const e = a, o = E(null), l = E(Array.from({ length: e.length }, (C, A) => e.value[A] || null)), i = c(() => [
1078
1078
  "ma-numeric-input",
1079
1079
  `ma-numeric-input--${e.size}`,
1080
1080
  {
@@ -1083,11 +1083,11 @@ const Vs = {
1083
1083
  {
1084
1084
  "ma-numeric-input--disabled": e?.disabled
1085
1085
  }
1086
- ]), r = c(() => e?.placeholderStatus ? "0" : null), u = (C) => /^Digit[0-9]$/.test(C), g = (C) => o.value = C, d = (C, T) => {
1086
+ ]), r = c(() => e?.placeholderStatus ? "0" : null), u = (C) => /^Digit[0-9]$/.test(C), g = (C) => o.value = C, d = (C, A) => {
1087
1087
  switch (C.code) {
1088
1088
  case "Backspace":
1089
1089
  case "Delete":
1090
- A("", T), I();
1090
+ T("", A), I();
1091
1091
  break;
1092
1092
  case "ArrowLeft":
1093
1093
  C.preventDefault(), I();
@@ -1096,25 +1096,25 @@ const Vs = {
1096
1096
  C.preventDefault(), z();
1097
1097
  break;
1098
1098
  default:
1099
- u(C.code) && (C.preventDefault(), A(C.key, T), z());
1099
+ u(C.code) && (C.preventDefault(), T(C.key, A), z());
1100
1100
  break;
1101
1101
  }
1102
1102
  }, z = () => {
1103
1103
  o.value < e.length && o.value++;
1104
1104
  }, I = () => {
1105
1105
  e.length >= o.value && o.value > 0 && o.value--;
1106
- }, A = (C, T) => {
1107
- l.value[T] = C;
1108
- }, P = (C, T) => {
1106
+ }, T = (C, A) => {
1107
+ l.value[A] = C;
1108
+ }, P = (C, A) => {
1109
1109
  C.preventDefault();
1110
1110
  const S = C.clipboardData.getData("text/plain").replaceAll(" ", "").replaceAll("-", "").slice(0, e.length);
1111
- S.length === 1 && S.match(/^\d+$/) ? l.value[T] = S : S.match(/^\d+$/) && (l.value = S.split(""));
1111
+ S.length === 1 && S.match(/^\d+$/) ? l.value[A] = S : S.match(/^\d+$/) && (l.value = S.split(""));
1112
1112
  };
1113
1113
  return oe(
1114
1114
  () => l.value,
1115
1115
  (C) => {
1116
- const T = C.join("");
1117
- s("update:value", T);
1116
+ const A = C.join("");
1117
+ s("update:value", A);
1118
1118
  },
1119
1119
  { deep: !0 }
1120
1120
  ), oe(
@@ -1122,8 +1122,8 @@ const Vs = {
1122
1122
  (C) => {
1123
1123
  C !== l.value.join("") && C && C.match(/^\d+$/) && (l.value = C.split("").slice(0, e.length));
1124
1124
  }
1125
- ), (C, T) => (n(), p("div", M({ class: t(i) }, C.$attrs), [
1126
- (n(!0), p(H, null, U(e.length, (S) => (n(), m(qs, {
1125
+ ), (C, A) => (n(), p("div", M({ class: t(i) }, C.$attrs), [
1126
+ (n(!0), p(W, null, U(e.length, (S) => (n(), m(Ws, {
1127
1127
  focus: o.value === S - 1,
1128
1128
  key: S,
1129
1129
  placeholder: t(r),
@@ -1137,14 +1137,14 @@ const Vs = {
1137
1137
  ], 16));
1138
1138
  }
1139
1139
  });
1140
- const bn = [
1140
+ const Cn = [
1141
1141
  "small",
1142
1142
  "medium",
1143
1143
  "large"
1144
- ], Ws = {
1144
+ ], Gs = {
1145
1145
  name: "MaRadio"
1146
- }, Gs = /* @__PURE__ */ $({
1147
- ...Ws,
1146
+ }, Js = /* @__PURE__ */ k({
1147
+ ...Gs,
1148
1148
  props: {
1149
1149
  type: { default: "button" },
1150
1150
  hint: null,
@@ -1152,10 +1152,10 @@ const bn = [
1152
1152
  },
1153
1153
  setup(a) {
1154
1154
  const s = a, e = c(() => [`ma-radio ma-radio--${s.type}`]);
1155
- return (o, l) => (n(), m(t(Ge), M(o.$attrs, {
1155
+ return (o, l) => (n(), m(t(Ke), M(o.$attrs, {
1156
1156
  class: t(e),
1157
1157
  "prefix-cls": "antd-radio"
1158
- }), W({ _: 2 }, [
1158
+ }), q({ _: 2 }, [
1159
1159
  U(o.$slots, (i, r) => ({
1160
1160
  name: r,
1161
1161
  fn: v(() => [
@@ -1169,13 +1169,13 @@ const bn = [
1169
1169
  ]), 1040, ["class"]));
1170
1170
  }
1171
1171
  });
1172
- const Ks = ["aria-checked", "disabled"], Js = ["src", "alt"], Zs = { class: "ma-app-track-button__text" }, Ys = { class: "ma-app-track-button__text__title" }, Xs = {
1172
+ const Zs = ["aria-checked", "disabled"], Ys = ["src", "alt"], Xs = { class: "ma-app-track-button__text" }, Qs = { class: "ma-app-track-button__text__title" }, eo = {
1173
1173
  key: 0,
1174
1174
  class: "ma-app-track-button__text__category"
1175
- }, Qs = { class: "ma-app-track-button__check" }, eo = {
1175
+ }, so = { class: "ma-app-track-button__check" }, oo = {
1176
1176
  name: "MaAppTrackButton"
1177
- }, kn = /* @__PURE__ */ $({
1178
- ...eo,
1177
+ }, wn = /* @__PURE__ */ k({
1178
+ ...oo,
1179
1179
  props: {
1180
1180
  checked: { type: Boolean, default: !1 },
1181
1181
  appIcon: null,
@@ -1207,32 +1207,32 @@ const Ks = ["aria-checked", "disabled"], Js = ["src", "alt"], Zs = { class: "ma-
1207
1207
  "aria-checked": e.checked,
1208
1208
  disabled: e.disabled
1209
1209
  }, i.$attrs, { onClick: o }), [
1210
- h("img", {
1210
+ y("img", {
1211
1211
  src: e.appIcon,
1212
1212
  alt: e.appName,
1213
1213
  width: "40",
1214
1214
  height: "40"
1215
- }, null, 8, Js),
1216
- h("span", Zs, [
1217
- h("span", Ys, w(e.appName), 1),
1218
- e.appCategory ? (n(), p("span", Xs, w(e?.appCategory), 1)) : f("", !0)
1215
+ }, null, 8, Ys),
1216
+ y("span", Xs, [
1217
+ y("span", Qs, w(e.appName), 1),
1218
+ e.appCategory ? (n(), p("span", eo, w(e?.appCategory), 1)) : f("", !0)
1219
1219
  ]),
1220
- h("span", Qs, [
1220
+ y("span", so, [
1221
1221
  B(_e, {
1222
1222
  name: "fade",
1223
1223
  mode: "out-in"
1224
1224
  }, {
1225
1225
  default: v(() => [
1226
- e.loading ? (n(), m(k, {
1226
+ e.loading ? (n(), m(h, {
1227
1227
  key: 0,
1228
1228
  name: "loader",
1229
1229
  size: "xs",
1230
1230
  spin: ""
1231
- })) : !e.multiple || e.checked ? (n(), m(Gs, {
1231
+ })) : !e.multiple || e.checked ? (n(), m(Js, {
1232
1232
  key: 1,
1233
1233
  checked: e.checked,
1234
1234
  type: "check"
1235
- }, null, 8, ["checked"])) : (n(), m(k, {
1235
+ }, null, 8, ["checked"])) : (n(), m(h, {
1236
1236
  key: 2,
1237
1237
  name: "add-circle",
1238
1238
  size: "xs"
@@ -1241,25 +1241,25 @@ const Ks = ["aria-checked", "disabled"], Js = ["src", "alt"], Zs = { class: "ma-
1241
1241
  _: 1
1242
1242
  })
1243
1243
  ])
1244
- ], 16, Ks));
1244
+ ], 16, Zs));
1245
1245
  }
1246
1246
  });
1247
- const so = { class: "ak-app-icon__logo" }, oo = ["src"], to = {
1247
+ const to = { class: "ak-app-icon__logo" }, no = ["src"], ao = {
1248
1248
  key: 1,
1249
1249
  class: "ak-app-icon-platform"
1250
- }, no = {
1250
+ }, lo = {
1251
1251
  key: 0,
1252
1252
  class: "ak-app-icon__text"
1253
- }, ao = {
1253
+ }, io = {
1254
1254
  key: 0,
1255
1255
  class: "ak-app-name"
1256
- }, lo = {
1256
+ }, ro = {
1257
1257
  key: 1,
1258
1258
  class: "ak-app-description"
1259
- }, io = {
1259
+ }, co = {
1260
1260
  name: "MaAppIcon"
1261
- }, $n = /* @__PURE__ */ $({
1262
- ...io,
1261
+ }, xn = /* @__PURE__ */ k({
1262
+ ...co,
1263
1263
  props: {
1264
1264
  appIcon: null,
1265
1265
  appName: null,
@@ -1283,50 +1283,50 @@ const so = { class: "ak-app-icon__logo" }, oo = ["src"], to = {
1283
1283
  return (r, u) => (n(), p("div", {
1284
1284
  class: R(t(l))
1285
1285
  }, [
1286
- h("div", so, [
1286
+ y("div", to, [
1287
1287
  e.closable ? (n(), p("span", {
1288
1288
  key: 0,
1289
1289
  onClick: i,
1290
1290
  class: "ak-app-icon-closable"
1291
1291
  }, [
1292
- B(k, {
1292
+ B(h, {
1293
1293
  size: "xs",
1294
1294
  name: "close-circle"
1295
1295
  })
1296
1296
  ])) : f("", !0),
1297
- h("img", {
1297
+ y("img", {
1298
1298
  class: "ak-app-icon-img",
1299
1299
  src: e.appIcon
1300
- }, null, 8, oo),
1301
- e?.platform ? (n(), p("span", to, [
1302
- B(k, {
1300
+ }, null, 8, no),
1301
+ e?.platform ? (n(), p("span", ao, [
1302
+ B(h, {
1303
1303
  size: "xs",
1304
1304
  name: t(o)
1305
1305
  }, null, 8, ["name"])
1306
1306
  ])) : f("", !0)
1307
1307
  ]),
1308
- e?.appName || e?.appDescription ? (n(), p("div", no, [
1309
- e?.appName ? (n(), p("span", ao, w(e.appName), 1)) : f("", !0),
1310
- e?.appDescription ? (n(), p("span", lo, w(e.appDescription), 1)) : f("", !0)
1308
+ e?.appName || e?.appDescription ? (n(), p("div", lo, [
1309
+ e?.appName ? (n(), p("span", io, w(e.appName), 1)) : f("", !0),
1310
+ e?.appDescription ? (n(), p("span", ro, w(e.appDescription), 1)) : f("", !0)
1311
1311
  ])) : f("", !0)
1312
1312
  ], 2));
1313
1313
  }
1314
1314
  });
1315
- const Cn = [
1315
+ const Mn = [
1316
1316
  "x-small",
1317
1317
  "small",
1318
1318
  "medium",
1319
1319
  "large",
1320
1320
  "x-large"
1321
- ], wn = [
1321
+ ], Bn = [
1322
1322
  "play",
1323
1323
  "ios"
1324
- ], ro = {
1324
+ ], po = {
1325
1325
  name: "MaRadioGroup"
1326
- }, xn = /* @__PURE__ */ $({
1327
- ...ro,
1326
+ }, zn = /* @__PURE__ */ k({
1327
+ ...po,
1328
1328
  setup(a) {
1329
- return (s, e) => (n(), m(t(Ke), M(s.$attrs, { "prefix-cls": "antd-radio" }), W({ _: 2 }, [
1329
+ return (s, e) => (n(), m(t(Ge), M(s.$attrs, { "prefix-cls": "antd-radio" }), q({ _: 2 }, [
1330
1330
  U(s.$slots, (o, l) => ({
1331
1331
  name: l,
1332
1332
  fn: v(() => [
@@ -1335,13 +1335,13 @@ const Cn = [
1335
1335
  }))
1336
1336
  ]), 1040));
1337
1337
  }
1338
- }), Mn = [
1338
+ }), In = [
1339
1339
  "button",
1340
1340
  "check"
1341
- ], co = {
1341
+ ], uo = {
1342
1342
  name: "MaBadge"
1343
- }, po = /* @__PURE__ */ $({
1344
- ...co,
1343
+ }, mo = /* @__PURE__ */ k({
1344
+ ...uo,
1345
1345
  props: {
1346
1346
  type: { default: "primary" },
1347
1347
  variant: { default: "dark" },
@@ -1362,7 +1362,7 @@ const Cn = [
1362
1362
  return (o, l) => (n(), p("div", {
1363
1363
  class: R(t(e))
1364
1364
  }, [
1365
- s?.icon ? (n(), m(k, {
1365
+ s?.icon ? (n(), m(h, {
1366
1366
  key: 0,
1367
1367
  name: s?.icon
1368
1368
  }, null, 8, ["name"])) : f("", !0),
@@ -1370,7 +1370,7 @@ const Cn = [
1370
1370
  ], 2));
1371
1371
  }
1372
1372
  });
1373
- const Bn = [
1373
+ const Sn = [
1374
1374
  "dark",
1375
1375
  "blue",
1376
1376
  "green",
@@ -1378,23 +1378,23 @@ const Bn = [
1378
1378
  "red",
1379
1379
  "purple",
1380
1380
  "purple-light"
1381
- ], zn = [
1381
+ ], Tn = [
1382
1382
  "primary",
1383
1383
  "secondary",
1384
1384
  "line",
1385
1385
  "dashed",
1386
1386
  "icon"
1387
- ], In = [
1387
+ ], An = [
1388
1388
  "small",
1389
1389
  "medium",
1390
1390
  "large"
1391
- ], Sn = [
1391
+ ], Pn = [
1392
1392
  "left",
1393
1393
  "right"
1394
- ], uo = {
1394
+ ], go = {
1395
1395
  name: "MaAlert"
1396
- }, An = /* @__PURE__ */ $({
1397
- ...uo,
1396
+ }, Nn = /* @__PURE__ */ k({
1397
+ ...go,
1398
1398
  props: {
1399
1399
  variant: { default: "dark" },
1400
1400
  type: { default: "primary" },
@@ -1414,13 +1414,13 @@ const Bn = [
1414
1414
  "prefix-cls": "antd-alert"
1415
1415
  }), {
1416
1416
  closeIcon: v(() => [
1417
- B(k, {
1417
+ B(h, {
1418
1418
  name: "close",
1419
1419
  size: "xs"
1420
1420
  })
1421
1421
  ]),
1422
1422
  icon: v(() => [
1423
- s?.icon ? (n(), m(k, {
1423
+ s?.icon ? (n(), m(h, {
1424
1424
  key: 0,
1425
1425
  name: a.icon,
1426
1426
  size: "lg"
@@ -1437,19 +1437,19 @@ const Bn = [
1437
1437
  }, 16, ["class", "description", "message", "closable", "showIcon"]));
1438
1438
  }
1439
1439
  });
1440
- const Tn = [
1440
+ const Dn = [
1441
1441
  "dark",
1442
1442
  "blue",
1443
1443
  "green",
1444
1444
  "orange",
1445
1445
  "red"
1446
- ], Pn = [
1446
+ ], Ln = [
1447
1447
  "primary",
1448
1448
  "secondary"
1449
- ], mo = {
1449
+ ], vo = {
1450
1450
  name: "MaAnimation"
1451
- }, go = /* @__PURE__ */ $({
1452
- ...mo,
1451
+ }, fo = /* @__PURE__ */ k({
1452
+ ...vo,
1453
1453
  props: {
1454
1454
  name: { default: "rocket" },
1455
1455
  loop: { type: Boolean, default: !0 },
@@ -1477,7 +1477,7 @@ const Tn = [
1477
1477
  }
1478
1478
  );
1479
1479
  const g = async () => {
1480
- const { default: I } = await import("./lottie_light-b08f9446.mjs").then((A) => A.l);
1480
+ const { default: I } = await import("./lottie_light-b08f9446.mjs").then((T) => T.l);
1481
1481
  l = I;
1482
1482
  }, d = async () => {
1483
1483
  try {
@@ -1499,23 +1499,23 @@ const Tn = [
1499
1499
  };
1500
1500
  return re(async () => {
1501
1501
  await g(), d();
1502
- }), he(() => {
1502
+ }), ye(() => {
1503
1503
  z();
1504
- }), (I, A) => (n(), p("div", {
1504
+ }), (I, T) => (n(), p("div", {
1505
1505
  ref_key: "animationRef",
1506
1506
  ref: i,
1507
1507
  class: "ma-animation",
1508
1508
  style: te(t(u))
1509
1509
  }, null, 4));
1510
1510
  }
1511
- }), Nn = [
1511
+ }), En = [
1512
1512
  "rocket",
1513
1513
  "success-confetti",
1514
1514
  "rounded-loading",
1515
1515
  "fly-waiting",
1516
1516
  "no-data-found",
1517
1517
  "sad-not-found"
1518
- ], Dn = [
1518
+ ], Fn = [
1519
1519
  "info",
1520
1520
  "success",
1521
1521
  "confirm",
@@ -1527,19 +1527,19 @@ const Tn = [
1527
1527
  confirm: "warning",
1528
1528
  warning: "warning",
1529
1529
  error: "close-circle-bold"
1530
- }, vo = {
1530
+ }, _o = {
1531
1531
  key: 1,
1532
1532
  class: "ak-modal__title"
1533
- }, fo = { class: "ak-modal__content" }, _o = {
1533
+ }, yo = { class: "ak-modal__content" }, ho = {
1534
1534
  key: 0,
1535
1535
  class: "ak-modal__description"
1536
- }, ho = {
1536
+ }, bo = {
1537
1537
  key: 2,
1538
1538
  class: "ak-modal__footer"
1539
- }, yo = {
1539
+ }, ko = {
1540
1540
  name: "MaModal"
1541
- }, ge = /* @__PURE__ */ $({
1542
- ...yo,
1541
+ }, ge = /* @__PURE__ */ k({
1542
+ ...ko,
1543
1543
  props: {
1544
1544
  visible: { type: Boolean, default: !0 },
1545
1545
  type: null,
@@ -1561,8 +1561,8 @@ const Tn = [
1561
1561
  get() {
1562
1562
  return e.visible;
1563
1563
  },
1564
- set(A) {
1565
- s("update:visible", A);
1564
+ set(T) {
1565
+ s("update:visible", T);
1566
1566
  }
1567
1567
  }), l = c(
1568
1568
  () => e.type && me[e.type] ? me[e.type] : null
@@ -1582,7 +1582,7 @@ const Tn = [
1582
1582
  }, z = () => {
1583
1583
  s("ok");
1584
1584
  }, I = ne();
1585
- return (A, P) => (n(), m(t(Ze), M(A.$attrs, {
1585
+ return (T, P) => (n(), m(t(Ze), M(T.$attrs, {
1586
1586
  visible: t(o),
1587
1587
  "onUpdate:visible": P[0] || (P[0] = (C) => J(o) ? o.value = C : null),
1588
1588
  "prefix-cls": "antd-modal",
@@ -1596,7 +1596,7 @@ const Tn = [
1596
1596
  onCancel: d
1597
1597
  }), {
1598
1598
  closeIcon: v(() => [
1599
- B(k, {
1599
+ B(h, {
1600
1600
  name: "close-circle",
1601
1601
  size: "sm"
1602
1602
  })
@@ -1606,19 +1606,19 @@ const Tn = [
1606
1606
  key: 0,
1607
1607
  class: R(t(g))
1608
1608
  }, [
1609
- B(k, { name: t(l) }, null, 8, ["name"])
1609
+ B(h, { name: t(l) }, null, 8, ["name"])
1610
1610
  ], 2)) : f("", !0),
1611
- e.title || A.$slots.title ? (n(), p("h1", vo, [
1612
- _(A.$slots, "title"),
1611
+ e.title || T.$slots.title ? (n(), p("h1", _o, [
1612
+ _(T.$slots, "title"),
1613
1613
  L(" " + w(e.title), 1)
1614
1614
  ])) : f("", !0),
1615
- h("div", fo, [
1616
- e.content ? (n(), p("div", _o, w(e.content), 1)) : f("", !0),
1617
- _(A.$slots, "content"),
1618
- _(A.$slots, "default")
1615
+ y("div", yo, [
1616
+ e.content ? (n(), p("div", ho, w(e.content), 1)) : f("", !0),
1617
+ _(T.$slots, "content"),
1618
+ _(T.$slots, "default")
1619
1619
  ]),
1620
- t(r) ? (n(), p("div", ho, [
1621
- e.okText ? (n(), m(Y, M({
1620
+ t(r) ? (n(), p("div", bo, [
1621
+ e.okText ? (n(), m(Q, M({
1622
1622
  key: 0,
1623
1623
  onClick: z,
1624
1624
  class: "ak-modal__ok-button",
@@ -1630,7 +1630,7 @@ const Tn = [
1630
1630
  ]),
1631
1631
  _: 1
1632
1632
  }, 16, ["variant", "loading"])) : f("", !0),
1633
- e.cancelText ? (n(), m(Y, M({
1633
+ e.cancelText ? (n(), m(Q, M({
1634
1634
  key: 1,
1635
1635
  onClick: d,
1636
1636
  type: "grey-link"
@@ -1640,15 +1640,15 @@ const Tn = [
1640
1640
  ]),
1641
1641
  _: 1
1642
1642
  }, 16)) : f("", !0),
1643
- _(A.$slots, "footer")
1643
+ _(T.$slots, "footer")
1644
1644
  ])) : f("", !0)
1645
1645
  ]),
1646
1646
  _: 3
1647
1647
  }, 16, ["visible", "class", "closable", "mask", "mask-closable", "width"]));
1648
1648
  }
1649
1649
  });
1650
- const bo = ["info", "success", "warning", "error", "confirm"];
1651
- bo.forEach((a) => {
1650
+ const $o = ["info", "success", "warning", "error", "confirm"];
1651
+ $o.forEach((a) => {
1652
1652
  ge[a] = (s) => {
1653
1653
  const e = document.createElement("div"), o = ze(ge, s), l = Ie({
1654
1654
  render: () => o
@@ -1662,10 +1662,10 @@ bo.forEach((a) => {
1662
1662
  };
1663
1663
  };
1664
1664
  });
1665
- const ko = {
1665
+ const Co = {
1666
1666
  name: "MaRateStar"
1667
- }, $o = /* @__PURE__ */ $({
1668
- ...ko,
1667
+ }, wo = /* @__PURE__ */ k({
1668
+ ...Co,
1669
1669
  props: {
1670
1670
  value: null,
1671
1671
  starRate: null,
@@ -1680,7 +1680,7 @@ const ko = {
1680
1680
  ]), o = c(() => s.starRate - 0.5 === s.value), l = c(() => o.value ? "star-half-colored" : "star-bold");
1681
1681
  return (i, r) => (n(), m(_e, { name: "fade" }, {
1682
1682
  default: v(() => [
1683
- B(k, {
1683
+ B(h, {
1684
1684
  class: R(t(e)),
1685
1685
  name: t(l),
1686
1686
  size: a.iconSize
@@ -1689,10 +1689,10 @@ const ko = {
1689
1689
  _: 1
1690
1690
  }));
1691
1691
  }
1692
- }), Co = ["tabindex"], wo = ["onMousemove", "onMouseover"], xo = {
1692
+ }), xo = ["tabindex"], Mo = ["onMousemove", "onMouseover"], Bo = {
1693
1693
  name: "MaRate"
1694
- }, Ln = /* @__PURE__ */ $({
1695
- ...xo,
1694
+ }, Rn = /* @__PURE__ */ k({
1695
+ ...Bo,
1696
1696
  props: {
1697
1697
  value: null,
1698
1698
  allowClear: { type: Boolean },
@@ -1721,10 +1721,10 @@ const ko = {
1721
1721
  }), r = c(() => e?.disabled ? -1 : e.tabIndex), u = () => {
1722
1722
  if (!e?.disabled) {
1723
1723
  if (e?.allowClear && o.value === e.value) {
1724
- A(0);
1724
+ T(0);
1725
1725
  return;
1726
1726
  }
1727
- A(o.value);
1727
+ T(o.value);
1728
1728
  }
1729
1729
  }, g = (P) => {
1730
1730
  e?.disabled || (o.value = P);
@@ -1733,8 +1733,8 @@ const ko = {
1733
1733
  }, z = (P, C) => {
1734
1734
  !e?.allowHalf || e.disabled || (P.offsetX < P.target.clientWidth / 2 ? o.value = C - 0.5 : o.value = C);
1735
1735
  }, I = (P) => {
1736
- e?.disabled || (P.key === "ArrowRight" && e.value < 5 ? A(e.value + (e.allowHalf ? 0.5 : 1)) : P.key === "ArrowLeft" && e.value > 0 && A(e.value - (e.allowHalf ? 0.5 : 1)));
1737
- }, A = (P) => {
1736
+ e?.disabled || (P.key === "ArrowRight" && e.value < 5 ? T(e.value + (e.allowHalf ? 0.5 : 1)) : P.key === "ArrowLeft" && e.value > 0 && T(e.value - (e.allowHalf ? 0.5 : 1)));
1737
+ }, T = (P) => {
1738
1738
  s("update:value", P), s("change", P);
1739
1739
  };
1740
1740
  return (P, C) => (n(), p("ul", {
@@ -1743,43 +1743,43 @@ const ko = {
1743
1743
  onKeydown: I,
1744
1744
  tabindex: t(r)
1745
1745
  }, [
1746
- (n(), p(H, null, U(5, (T) => h("li", {
1746
+ (n(), p(W, null, U(5, (A) => y("li", {
1747
1747
  class: "ak-rate__item",
1748
- key: T,
1749
- onMousemove: (S) => z(S, T),
1750
- onMouseover: (S) => g(T),
1748
+ key: A,
1749
+ onMousemove: (S) => z(S, A),
1750
+ onMouseover: (S) => g(A),
1751
1751
  onClick: C[0] || (C[0] = (S) => u())
1752
1752
  }, [
1753
- B($o, {
1754
- "star-rate": T,
1753
+ B(wo, {
1754
+ "star-rate": A,
1755
1755
  value: o.value || e.value,
1756
1756
  "icon-size": t(i)
1757
1757
  }, null, 8, ["star-rate", "value", "icon-size"])
1758
- ], 40, wo)), 64))
1759
- ], 42, Co));
1758
+ ], 40, Mo)), 64))
1759
+ ], 42, xo));
1760
1760
  }
1761
1761
  });
1762
- const En = [
1762
+ const Un = [
1763
1763
  "small",
1764
1764
  "medium",
1765
1765
  "large"
1766
- ], Fn = [
1766
+ ], jn = [
1767
1767
  "orange",
1768
1768
  "green",
1769
1769
  "red"
1770
- ], Mo = {
1770
+ ], zo = {
1771
1771
  key: 0,
1772
1772
  class: "ma-spin__overlay"
1773
- }, Bo = {
1773
+ }, Io = {
1774
1774
  key: 0,
1775
1775
  class: "custom-indicator"
1776
- }, zo = {
1776
+ }, So = {
1777
1777
  key: 2,
1778
1778
  class: "tip"
1779
- }, Io = {
1779
+ }, To = {
1780
1780
  name: "MaSpin"
1781
- }, ve = /* @__PURE__ */ $({
1782
- ...Io,
1781
+ }, ve = /* @__PURE__ */ k({
1782
+ ...To,
1783
1783
  props: {
1784
1784
  type: { default: "round" },
1785
1785
  color: { default: "dark" },
@@ -1796,16 +1796,16 @@ const En = [
1796
1796
  "ma-spin__icon"
1797
1797
  ]), i = c(() => `spin-${s.type}`);
1798
1798
  return (r, u) => (n(), p("div", M({ class: t(o) }, r.$attrs), [
1799
- s.spinning ? (n(), p("div", Mo, [
1800
- r.$slots.indicator ? (n(), p("div", Bo, [
1799
+ s.spinning ? (n(), p("div", zo, [
1800
+ r.$slots.indicator ? (n(), p("div", Io, [
1801
1801
  _(r.$slots, "indicator")
1802
1802
  ])) : f("", !0),
1803
- s.spinning && !r.$slots.indicator ? (n(), m(k, {
1803
+ s.spinning && !r.$slots.indicator ? (n(), m(h, {
1804
1804
  key: 1,
1805
1805
  class: R(t(l)),
1806
1806
  name: t(i)
1807
1807
  }, null, 8, ["class", "name"])) : f("", !0),
1808
- r.$slots?.tip || s?.tip ? (n(), p("div", zo, [
1808
+ r.$slots?.tip || s?.tip ? (n(), p("div", So, [
1809
1809
  L(w(s?.tip) + " ", 1),
1810
1810
  _(r.$slots, "tip")
1811
1811
  ])) : f("", !0)
@@ -1814,21 +1814,21 @@ const En = [
1814
1814
  ], 16));
1815
1815
  }
1816
1816
  });
1817
- const Rn = [
1817
+ const Vn = [
1818
1818
  "round",
1819
1819
  "dots",
1820
1820
  "three-circles",
1821
1821
  "three-dots"
1822
- ], Un = [
1822
+ ], On = [
1823
1823
  "dark",
1824
1824
  "jordy",
1825
1825
  "blue",
1826
1826
  "orange",
1827
1827
  "grey"
1828
- ], So = {
1828
+ ], Ao = {
1829
1829
  name: "MaDropdown"
1830
- }, Ao = /* @__PURE__ */ $({
1831
- ...So,
1830
+ }, Po = /* @__PURE__ */ k({
1831
+ ...Ao,
1832
1832
  props: {
1833
1833
  destroyPopupOnHide: { type: Boolean, default: !1 },
1834
1834
  disabled: { type: Boolean, default: !1 },
@@ -1870,22 +1870,22 @@ const Rn = [
1870
1870
  }, 16, ["overlayClassName", "destroyPopupOnHide", "disabled", "placement", "trigger", "visible"]));
1871
1871
  }
1872
1872
  });
1873
- const jn = [
1873
+ const qn = [
1874
1874
  "bottomLeft",
1875
1875
  "bottom",
1876
1876
  "bottomRight",
1877
1877
  "topLeft",
1878
1878
  "top",
1879
1879
  "topRight"
1880
- ], Vn = [
1880
+ ], Hn = [
1881
1881
  "click",
1882
1882
  "hover",
1883
1883
  "contextmenu"
1884
- ], On = [
1884
+ ], Wn = [
1885
1885
  "small",
1886
1886
  "medium",
1887
1887
  "large"
1888
- ], qn = [
1888
+ ], Kn = [
1889
1889
  "general",
1890
1890
  "add-app",
1891
1891
  "table",
@@ -1895,10 +1895,10 @@ const jn = [
1895
1895
  "add-app": "add-app",
1896
1896
  table: "empty-table",
1897
1897
  selection: "selection"
1898
- }, To = { class: "ma-empty__title" }, Po = { class: "ma-empty__description" }, No = { class: "ma-empty__content" }, Do = {
1898
+ }, No = { class: "ma-empty__title" }, Do = { class: "ma-empty__description" }, Lo = { class: "ma-empty__content" }, Eo = {
1899
1899
  name: "MaEmpty"
1900
- }, Hn = /* @__PURE__ */ $({
1901
- ...Do,
1900
+ }, Gn = /* @__PURE__ */ k({
1901
+ ...Eo,
1902
1902
  props: {
1903
1903
  size: { default: "large" },
1904
1904
  variant: { default: "general" },
@@ -1916,52 +1916,52 @@ const jn = [
1916
1916
  return (l, i) => (n(), p("div", {
1917
1917
  class: R(t(o))
1918
1918
  }, [
1919
- s?.animation ? (n(), m(go, M({
1919
+ s?.animation ? (n(), m(fo, M({
1920
1920
  key: 0,
1921
1921
  name: a.animation
1922
- }, a.animationProps), null, 16, ["name"])) : l.$slots.icon ? _(l.$slots, "icon", { key: 1 }) : (n(), m(k, {
1922
+ }, a.animationProps), null, 16, ["name"])) : l.$slots.icon ? _(l.$slots, "icon", { key: 1 }) : (n(), m(h, {
1923
1923
  key: 2,
1924
1924
  name: t(e),
1925
1925
  class: "ma-empty__icon"
1926
1926
  }, null, 8, ["name"])),
1927
- h("span", To, [
1927
+ y("span", No, [
1928
1928
  L(w(a.title) + " ", 1),
1929
1929
  _(l.$slots, "title")
1930
1930
  ]),
1931
- h("span", Po, [
1931
+ y("span", Do, [
1932
1932
  L(w(a.description) + " ", 1),
1933
1933
  _(l.$slots, "description")
1934
1934
  ]),
1935
- h("div", No, [
1935
+ y("div", Lo, [
1936
1936
  _(l.$slots, "default")
1937
1937
  ])
1938
1938
  ], 2));
1939
1939
  }
1940
1940
  });
1941
- const Wn = [
1941
+ const Jn = [
1942
1942
  "button",
1943
1943
  "box",
1944
1944
  "small-box"
1945
- ], Lo = [
1945
+ ], Fo = [
1946
1946
  "xs",
1947
1947
  "sm",
1948
1948
  "md",
1949
1949
  "lg",
1950
1950
  "xl"
1951
1951
  ];
1952
- var q = /* @__PURE__ */ ((a) => (a.error = "error", a.done = "done", a.uploading = "uploading", a))(q || {});
1952
+ var H = /* @__PURE__ */ ((a) => (a.error = "error", a.done = "done", a.uploading = "uploading", a))(H || {});
1953
1953
  const le = (a) => {
1954
1954
  try {
1955
1955
  return JSON.parse(a);
1956
1956
  } catch {
1957
1957
  return a;
1958
1958
  }
1959
- }, Eo = (a = 20) => {
1959
+ }, Ro = (a = 20) => {
1960
1960
  let s = "";
1961
1961
  for (let e = 0; e < a; e++)
1962
1962
  s += Math.random().toString(36).substr(2);
1963
1963
  return s.substr(0, a);
1964
- }, Fo = (a, s = {}, e = {}, o) => {
1964
+ }, Uo = (a, s = {}, e = {}, o) => {
1965
1965
  const l = E(0);
1966
1966
  return { progress: l, upload: async (r, u) => {
1967
1967
  const g = new FormData();
@@ -1972,26 +1972,26 @@ const le = (a) => {
1972
1972
  d.open("POST", a), Object.entries(s).forEach(([z, I]) => {
1973
1973
  d.setRequestHeader(z, I);
1974
1974
  }), d.upload.onprogress = (z) => {
1975
- z.lengthComputable && (l.value = z.loaded / z.total * 100, u(q.uploading, l.value));
1975
+ z.lengthComputable && (l.value = z.loaded / z.total * 100, u(H.uploading, l.value));
1976
1976
  }, d.onload = () => {
1977
1977
  d.status >= 200 && d.status < 300 ? u(
1978
- q.done,
1978
+ H.done,
1979
1979
  l.value,
1980
1980
  le(d.responseText)
1981
1981
  ) : u(
1982
- q.error,
1982
+ H.error,
1983
1983
  l.value,
1984
1984
  le(d.responseText)
1985
1985
  );
1986
1986
  }, d.onerror = () => {
1987
1987
  u(
1988
- q.error,
1988
+ H.error,
1989
1989
  l.value,
1990
1990
  le(d.responseText)
1991
1991
  );
1992
1992
  }, d.send(g), r.cancelRequest = () => d.abort();
1993
1993
  } };
1994
- }, Ro = (a, s) => {
1994
+ }, jo = (a, s) => {
1995
1995
  if (!s)
1996
1996
  return !0;
1997
1997
  const e = s.split(",").map((i) => i.trim()), o = a.type, l = a.name.split(".").pop()?.toLowerCase();
@@ -2009,10 +2009,10 @@ const le = (a) => {
2009
2009
  return !0;
2010
2010
  }
2011
2011
  return !1;
2012
- }, Uo = { class: "single-file" }, jo = { class: "icon-wrapper" }, Vo = { class: "single-file__detail" }, Oo = { class: "file-name" }, qo = {
2012
+ }, Vo = { class: "single-file" }, Oo = { class: "icon-wrapper" }, qo = { class: "single-file__detail" }, Ho = { class: "file-name" }, Wo = {
2013
2013
  key: 0,
2014
2014
  class: "file-size"
2015
- }, Ho = { class: "file-progress" }, Wo = { class: "single-file__actions" }, Go = /* @__PURE__ */ $({
2015
+ }, Ko = { class: "file-progress" }, Go = { class: "single-file__actions" }, Jo = /* @__PURE__ */ k({
2016
2016
  __name: "singleFile",
2017
2017
  props: {
2018
2018
  file: null,
@@ -2024,22 +2024,22 @@ const le = (a) => {
2024
2024
  const e = a, o = c(
2025
2025
  () => `${(e.file.file.size / (1024 * 1024)).toFixed(1)} MB`
2026
2026
  ), l = c(() => typeof e.file.file.size == "number"), i = () => s("remove"), r = () => s("cancel");
2027
- return (u, g) => (n(), p("div", Uo, [
2028
- h("div", jo, [
2029
- B(k, { name: "document-bulk" })
2027
+ return (u, g) => (n(), p("div", Vo, [
2028
+ y("div", Oo, [
2029
+ B(h, { name: "document-bulk" })
2030
2030
  ]),
2031
- h("div", Vo, [
2032
- h("span", Oo, w(a.file.file.name), 1),
2033
- t(l) ? (n(), p("span", qo, w(t(o)), 1)) : f("", !0),
2034
- h("span", Ho, [
2035
- h("span", {
2031
+ y("div", qo, [
2032
+ y("span", Ho, w(a.file.file.name), 1),
2033
+ t(l) ? (n(), p("span", Wo, w(t(o)), 1)) : f("", !0),
2034
+ y("span", Ko, [
2035
+ y("span", {
2036
2036
  class: "progress-item",
2037
2037
  style: te({ width: `${a.file.progress}%` })
2038
2038
  }, null, 4)
2039
2039
  ])
2040
2040
  ]),
2041
- h("div", Wo, [
2042
- a.file.status === t(q).uploading ? (n(), m(Y, {
2041
+ y("div", Go, [
2042
+ a.file.status === t(H).uploading ? (n(), m(Q, {
2043
2043
  key: 0,
2044
2044
  disabled: a.disabled,
2045
2045
  onClick: g[0] || (g[0] = (d) => r()),
@@ -2047,7 +2047,7 @@ const le = (a) => {
2047
2047
  type: "primary",
2048
2048
  variant: "plain",
2049
2049
  icon: "close-circle-bulk"
2050
- }, null, 8, ["disabled"])) : (n(), m(Y, {
2050
+ }, null, 8, ["disabled"])) : (n(), m(Q, {
2051
2051
  key: 1,
2052
2052
  disabled: a.disabled,
2053
2053
  onClick: g[1] || (g[1] = (d) => i()),
@@ -2056,20 +2056,20 @@ const le = (a) => {
2056
2056
  variant: "plain",
2057
2057
  icon: "trash-bulk"
2058
2058
  }, null, 8, ["disabled"])),
2059
- h("span", null, "%" + w(parseInt(a.file.progress.toString())), 1)
2059
+ y("span", null, "%" + w(parseInt(a.file.progress.toString())), 1)
2060
2060
  ])
2061
2061
  ]));
2062
2062
  }
2063
- }), Ko = ["onDrop"], Jo = ["accept", "multiple", "disabled"], Zo = { class: "text" }, Yo = /* @__PURE__ */ h("span", null, "Uploading file...", -1), Xo = { class: "upload-icon" }, Qo = {
2063
+ }), Zo = ["onDrop"], Yo = ["accept", "multiple", "disabled"], Xo = { class: "text" }, Qo = /* @__PURE__ */ y("span", null, "Uploading file...", -1), et = { class: "upload-icon" }, st = {
2064
2064
  key: 0,
2065
2065
  class: "upload-title"
2066
- }, et = {
2066
+ }, ot = {
2067
2067
  key: 1,
2068
2068
  class: "upload-description"
2069
- }, st = {
2069
+ }, tt = {
2070
2070
  name: "MaUpload"
2071
- }, Gn = /* @__PURE__ */ $({
2072
- ...st,
2071
+ }, Zn = /* @__PURE__ */ k({
2072
+ ...tt,
2073
2073
  props: {
2074
2074
  fileList: null,
2075
2075
  type: { default: "box" },
@@ -2096,22 +2096,22 @@ const le = (a) => {
2096
2096
  get() {
2097
2097
  return e.fileList;
2098
2098
  },
2099
- set(y) {
2100
- s("update:fileList", y), s("change", y), e?.action && y.forEach(async (D, V) => {
2101
- if ([q.done, q.error].includes(
2099
+ set(b) {
2100
+ s("update:fileList", b), s("change", b), e?.action && b.forEach(async (D, V) => {
2101
+ if ([H.done, H.error].includes(
2102
2102
  D.status
2103
2103
  ))
2104
2104
  return;
2105
- const { upload: Z } = Fo(
2105
+ const { upload: X } = Uo(
2106
2106
  e?.action || "",
2107
2107
  // || added for tsc warning
2108
2108
  e.headers,
2109
2109
  e.data,
2110
2110
  e.name
2111
2111
  );
2112
- e?.beforeUpload && (D.file = await e.beforeUpload(D.file)), Z(D, (se, we, de) => {
2112
+ e?.beforeUpload && (D.file = await e.beforeUpload(D.file)), X(D, (se, we, de) => {
2113
2113
  if (d.value[V]) {
2114
- if (se === q.error) {
2114
+ if (se === H.error) {
2115
2115
  s("error", { file: D.file, message: de }), ae(
2116
2116
  d.value.findIndex((xe) => xe.id === D.id)
2117
2117
  );
@@ -2123,10 +2123,10 @@ const le = (a) => {
2123
2123
  });
2124
2124
  }
2125
2125
  }), z = c(
2126
- () => d.value.map((y) => y.file.name).join(", ")
2126
+ () => d.value.map((b) => b.file.name).join(", ")
2127
2127
  ), I = c(
2128
2128
  () => e.type === "box" ? e.multiple ? !0 : !d.value.length : !0
2129
- ), A = c(
2129
+ ), T = c(
2130
2130
  () => e.ordered && S.value ? !1 : d.value.length ? e.showFileList : !1
2131
2131
  ), P = c(() => [
2132
2132
  `ma-upload ma-upload--${e.type} ma-upload--${e.type}--${e.size}`,
@@ -2141,74 +2141,74 @@ const le = (a) => {
2141
2141
  {
2142
2142
  "only-file-list": !I.value
2143
2143
  }
2144
- ]), T = c(() => {
2145
- const y = e?.size ? Lo.indexOf(e.size) : 0;
2146
- return ss[y];
2144
+ ]), A = c(() => {
2145
+ const b = e?.size ? Fo.indexOf(e.size) : 0;
2146
+ return ts[b];
2147
2147
  }), S = c(
2148
- () => e.wait || d.value.some((y) => y.status === q.uploading)
2149
- ), j = c(() => e?.disabled || S.value), F = (y) => Array.from(y).find(
2148
+ () => e.wait || d.value.some((b) => b.status === H.uploading)
2149
+ ), j = c(() => e?.disabled || S.value), F = (b) => Array.from(b).find(
2150
2150
  (D) => e?.maxFileSize && D.size > e.maxFileSize
2151
- ), x = (y) => {
2152
- const D = y.target;
2151
+ ), x = (b) => {
2152
+ const D = b.target;
2153
2153
  D.files && pe(Array.from(D.files));
2154
- }, b = () => {
2154
+ }, $ = () => {
2155
2155
  l.value?.click();
2156
- }, N = (y) => {
2157
- y.preventDefault();
2156
+ }, N = (b) => {
2157
+ b.preventDefault();
2158
2158
  }, O = () => {
2159
2159
  i.value = !0;
2160
- }, G = () => {
2160
+ }, K = () => {
2161
2161
  i.value = !1;
2162
- }, $e = (y) => {
2163
- j.value || y.dataTransfer?.files && pe(
2164
- Array.from(y.dataTransfer.files).filter((D) => e?.accept && !Ro(D, e.accept) ? (s("error", { file: D, message: "file type does not match!" }), !1) : !0)
2162
+ }, $e = (b) => {
2163
+ j.value || b.dataTransfer?.files && pe(
2164
+ Array.from(b.dataTransfer.files).filter((D) => e?.accept && !jo(D, e.accept) ? (s("error", { file: D, message: "file type does not match!" }), !1) : !0)
2165
2165
  );
2166
- }, pe = (y) => {
2167
- const D = F(y);
2166
+ }, pe = (b) => {
2167
+ const D = F(b);
2168
2168
  if (D) {
2169
2169
  s("error", { file: D, message: "File too large" });
2170
2170
  return;
2171
2171
  }
2172
- const V = Array.from(y).filter(
2173
- (Z, se) => e?.maxCount ? se + 1 <= e.maxCount : !0
2174
- ).map((Z) => ({
2175
- file: Z,
2176
- id: Eo(),
2177
- status: e?.action ? q.uploading : q.done,
2172
+ const V = Array.from(b).filter(
2173
+ (X, se) => e?.maxCount ? se + 1 <= e.maxCount : !0
2174
+ ).map((X) => ({
2175
+ file: X,
2176
+ id: Ro(),
2177
+ status: e?.action ? H.uploading : H.done,
2178
2178
  progress: e?.action ? 0 : 100,
2179
2179
  response: null
2180
2180
  }));
2181
2181
  e.multiple ? d.value = [...d.value, ...V] : V.length && (d.value = [V[0]]);
2182
- }, ae = (y) => {
2183
- s("remove", d.value[y]), d.value = d.value.filter((D, V) => V !== y);
2184
- }, ue = (y) => {
2185
- const D = d.value[y];
2186
- typeof D?.cancelRequest == "function" && D.cancelRequest(), ae(y);
2187
- }, Ce = (y) => {
2188
- y.stopPropagation(), d.value.forEach((D, V) => ue(V)), d.value = [];
2182
+ }, ae = (b) => {
2183
+ s("remove", d.value[b]), d.value = d.value.filter((D, V) => V !== b);
2184
+ }, ue = (b) => {
2185
+ const D = d.value[b];
2186
+ typeof D?.cancelRequest == "function" && D.cancelRequest(), ae(b);
2187
+ }, Ce = (b) => {
2188
+ b.stopPropagation(), d.value.forEach((D, V) => ue(V)), d.value = [];
2189
2189
  };
2190
2190
  return re(() => {
2191
- r.forEach((y) => {
2192
- o.value?.addEventListener(y, N);
2193
- }), u.forEach((y) => {
2194
- o.value?.addEventListener(y, O);
2195
- }), g.forEach((y) => {
2196
- o.value?.addEventListener(y, G);
2191
+ r.forEach((b) => {
2192
+ o.value?.addEventListener(b, N);
2193
+ }), u.forEach((b) => {
2194
+ o.value?.addEventListener(b, O);
2195
+ }), g.forEach((b) => {
2196
+ o.value?.addEventListener(b, K);
2197
2197
  });
2198
2198
  }), Se(() => {
2199
- r.forEach((y) => {
2200
- o.value?.removeEventListener(y, N);
2201
- }), u.forEach((y) => {
2202
- o.value?.removeEventListener(y, O);
2203
- }), g.forEach((y) => {
2204
- o.value?.removeEventListener(y, G);
2199
+ r.forEach((b) => {
2200
+ o.value?.removeEventListener(b, N);
2201
+ }), u.forEach((b) => {
2202
+ o.value?.removeEventListener(b, O);
2203
+ }), g.forEach((b) => {
2204
+ o.value?.removeEventListener(b, K);
2205
2205
  });
2206
- }), (y, D) => (n(), p("div", M({ class: "ma-upload-wrapper" }, y.$attrs), [
2207
- X(h("div", {
2206
+ }), (b, D) => (n(), p("div", M({ class: "ma-upload-wrapper" }, b.$attrs), [
2207
+ Z(y("div", {
2208
2208
  ref_key: "uploadArea",
2209
2209
  ref: o,
2210
2210
  class: R(t(P)),
2211
- onDrop: ye($e, ["prevent"])
2211
+ onDrop: he($e, ["prevent"])
2212
2212
  }, [
2213
2213
  (n(), p("input", {
2214
2214
  type: "file",
@@ -2219,14 +2219,14 @@ const le = (a) => {
2219
2219
  key: t(d).length,
2220
2220
  ref_key: "fileInput",
2221
2221
  ref: l
2222
- }, null, 40, Jo)),
2223
- e.type === "button" ? (n(), m(Y, {
2222
+ }, null, 40, Yo)),
2223
+ e.type === "button" ? (n(), m(Q, {
2224
2224
  key: 0,
2225
2225
  type: a.fileList.length ? "primary" : "secondary",
2226
2226
  variant: "dark",
2227
2227
  icon: "export-2",
2228
- onClick: b,
2229
- size: t(T),
2228
+ onClick: $,
2229
+ size: t(A),
2230
2230
  disabled: t(j),
2231
2231
  loading: t(S)
2232
2232
  }, {
@@ -2237,36 +2237,36 @@ const le = (a) => {
2237
2237
  }, 8, ["type", "size", "disabled", "loading"])) : e.type === "small-box" ? (n(), p("div", {
2238
2238
  key: 1,
2239
2239
  class: "ma-upload__small_box",
2240
- onClick: b
2240
+ onClick: $
2241
2241
  }, [
2242
2242
  t(S) ? (n(), m(ve, {
2243
2243
  key: 0,
2244
2244
  type: "three-circles",
2245
2245
  color: "blue"
2246
- })) : (n(), m(k, {
2246
+ })) : (n(), m(h, {
2247
2247
  key: 1,
2248
2248
  name: "export-2-bulk"
2249
2249
  })),
2250
- h("span", Zo, [
2251
- t(S) ? (n(), p(H, { key: 0 }, [
2250
+ y("span", Xo, [
2251
+ t(S) ? (n(), p(W, { key: 0 }, [
2252
2252
  L(" Uploading... ")
2253
- ], 64)) : (n(), p(H, { key: 1 }, [
2253
+ ], 64)) : (n(), p(W, { key: 1 }, [
2254
2254
  L(w(e?.title) + " ", 1),
2255
- _(y.$slots, "small-box-title")
2255
+ _(b.$slots, "small-box-title")
2256
2256
  ], 64))
2257
2257
  ])
2258
2258
  ])) : (n(), p("div", {
2259
2259
  key: 2,
2260
2260
  class: "ma-upload__box",
2261
- onClick: b
2261
+ onClick: $
2262
2262
  }, [
2263
- e.ordered && t(S) ? (n(), p(H, { key: 0 }, [
2263
+ e.ordered && t(S) ? (n(), p(W, { key: 0 }, [
2264
2264
  B(ve, {
2265
2265
  type: "three-circles",
2266
2266
  color: "blue"
2267
2267
  }),
2268
- Yo,
2269
- B(Y, {
2268
+ Qo,
2269
+ B(Q, {
2270
2270
  onClick: Ce,
2271
2271
  class: "box-cancel",
2272
2272
  type: "secondary",
@@ -2277,42 +2277,42 @@ const le = (a) => {
2277
2277
  ]),
2278
2278
  _: 1
2279
2279
  })
2280
- ], 64)) : (n(), p(H, { key: 1 }, [
2281
- h("div", Xo, [
2282
- B(k, { name: "upload-bulk" })
2280
+ ], 64)) : (n(), p(W, { key: 1 }, [
2281
+ y("div", et, [
2282
+ B(h, { name: "upload-bulk" })
2283
2283
  ]),
2284
- e?.title ? (n(), p("span", Qo, [
2284
+ e?.title ? (n(), p("span", st, [
2285
2285
  L(w(e?.title) + " ", 1),
2286
- _(y.$slots, "box-title")
2286
+ _(b.$slots, "box-title")
2287
2287
  ])) : f("", !0),
2288
- e?.description ? (n(), p("span", et, [
2288
+ e?.description ? (n(), p("span", ot, [
2289
2289
  L(w(e?.description) + " ", 1),
2290
- _(y.$slots, "box-description")
2290
+ _(b.$slots, "box-description")
2291
2291
  ])) : f("", !0)
2292
2292
  ], 64))
2293
2293
  ]))
2294
- ], 42, Ko), [
2295
- [Q, t(I)]
2294
+ ], 42, Zo), [
2295
+ [Y, t(I)]
2296
2296
  ]),
2297
- t(A) ? (n(), p("div", {
2297
+ t(T) ? (n(), p("div", {
2298
2298
  key: 0,
2299
2299
  class: R(t(C))
2300
2300
  }, [
2301
- (n(!0), p(H, null, U(t(d), (V, Z) => (n(), m(Go, {
2302
- onRemove: (se) => ae(Z),
2303
- onCancel: (se) => ue(Z),
2301
+ (n(!0), p(W, null, U(t(d), (V, X) => (n(), m(Jo, {
2302
+ onRemove: (se) => ae(X),
2303
+ onCancel: (se) => ue(X),
2304
2304
  file: V,
2305
- key: Z,
2305
+ key: X,
2306
2306
  disabled: e.disabled
2307
2307
  }, null, 8, ["onRemove", "onCancel", "file", "disabled"]))), 128))
2308
2308
  ], 2)) : f("", !0)
2309
2309
  ], 16));
2310
2310
  }
2311
2311
  });
2312
- const ot = {
2312
+ const nt = {
2313
2313
  name: "MaSideMenuButton"
2314
- }, Kn = /* @__PURE__ */ $({
2315
- ...ot,
2314
+ }, Yn = /* @__PURE__ */ k({
2315
+ ...nt,
2316
2316
  props: {
2317
2317
  icon: { default: "app" },
2318
2318
  activeIcon: null,
@@ -2335,21 +2335,21 @@ const ot = {
2335
2335
  href: s?.href
2336
2336
  }, d.$attrs), {
2337
2337
  default: v(() => [
2338
- s?.icon ? (n(), p(H, { key: 0 }, [
2339
- X(B(k, {
2338
+ s?.icon ? (n(), p(W, { key: 0 }, [
2339
+ Z(B(h, {
2340
2340
  size: "md",
2341
2341
  name: t(l)
2342
2342
  }, null, 8, ["name"]), [
2343
- [Q, t(r)]
2343
+ [Y, t(r)]
2344
2344
  ]),
2345
- X(B(k, {
2345
+ Z(B(h, {
2346
2346
  size: "md",
2347
2347
  name: s.icon
2348
2348
  }, null, 8, ["name"]), [
2349
- [Q, !t(r)]
2349
+ [Y, !t(r)]
2350
2350
  ])
2351
2351
  ], 64)) : f("", !0),
2352
- h("span", null, [
2352
+ y("span", null, [
2353
2353
  L(w(s?.text) + " ", 1),
2354
2354
  _(d.$slots, "default")
2355
2355
  ])
@@ -2358,13 +2358,13 @@ const ot = {
2358
2358
  }, 16, ["target", "class", "href"]));
2359
2359
  }
2360
2360
  });
2361
- const tt = {
2361
+ const at = {
2362
2362
  key: 0,
2363
2363
  class: "ma-side-menu-item-icon"
2364
- }, nt = {
2364
+ }, lt = {
2365
2365
  name: "MaSideMenuItem"
2366
- }, Jn = /* @__PURE__ */ $({
2367
- ...nt,
2366
+ }, Xn = /* @__PURE__ */ k({
2367
+ ...lt,
2368
2368
  props: {
2369
2369
  href: null,
2370
2370
  target: null,
@@ -2386,15 +2386,9 @@ const tt = {
2386
2386
  {
2387
2387
  child: s.child
2388
2388
  }
2389
- ]), l = c(() => {
2390
- if (s.active) {
2391
- if (s.activeIcon)
2392
- return s.activeIcon;
2393
- if (s.icon)
2394
- return s.icon.replace("bulk", "bold");
2395
- }
2396
- return s.icon;
2397
- });
2389
+ ]), l = c(
2390
+ () => s?.activeIcon ? s.activeIcon : s.icon ? s.icon.replace("bulk", "bold") : null
2391
+ );
2398
2392
  return (i, r) => (n(), m(ee(t(e)), M({
2399
2393
  role: "button",
2400
2394
  target: s?.target,
@@ -2402,17 +2396,25 @@ const tt = {
2402
2396
  href: s?.href
2403
2397
  }, i.$attrs), {
2404
2398
  default: v(() => [
2405
- h("span", null, [
2406
- t(l) ? (n(), p("div", tt, [
2407
- B(k, {
2399
+ y("span", null, [
2400
+ s?.icon ? (n(), p("div", at, [
2401
+ Z(B(h, {
2408
2402
  size: "xs",
2409
2403
  name: t(l)
2410
- }, null, 8, ["name"])
2404
+ }, null, 8, ["name"]), [
2405
+ [Y, s.active]
2406
+ ]),
2407
+ Z(B(h, {
2408
+ size: "xs",
2409
+ name: s.icon
2410
+ }, null, 8, ["name"]), [
2411
+ [Y, !s.active]
2412
+ ])
2411
2413
  ])) : f("", !0),
2412
2414
  L(" " + w(s?.text) + " ", 1),
2413
2415
  _(i.$slots, "default")
2414
2416
  ]),
2415
- s.badgeText ? (n(), m(po, {
2417
+ s.badgeText ? (n(), m(mo, {
2416
2418
  key: 0,
2417
2419
  size: "small",
2418
2420
  variant: s.badgeColor
@@ -2427,7 +2429,7 @@ const tt = {
2427
2429
  }, 16, ["target", "class", "href"]));
2428
2430
  }
2429
2431
  });
2430
- const Zn = [
2432
+ const Qn = [
2431
2433
  "dark",
2432
2434
  "blue",
2433
2435
  "jordy-blue",
@@ -2436,11 +2438,11 @@ const Zn = [
2436
2438
  "red",
2437
2439
  "purple",
2438
2440
  "purple-light"
2439
- ], at = {
2441
+ ], it = {
2440
2442
  name: "MaSideMenuIconButton",
2441
2443
  inheritAttrs: !1
2442
- }, Yn = /* @__PURE__ */ $({
2443
- ...at,
2444
+ }, ea = /* @__PURE__ */ k({
2445
+ ...it,
2444
2446
  props: {
2445
2447
  icon: null,
2446
2448
  activeIcon: null,
@@ -2471,17 +2473,17 @@ const Zn = [
2471
2473
  role: "button"
2472
2474
  }, d.$attrs), {
2473
2475
  default: v(() => [
2474
- X(B(k, {
2476
+ Z(B(h, {
2475
2477
  size: "xs",
2476
2478
  name: t(i)
2477
2479
  }, null, 8, ["name"]), [
2478
- [Q, t(l)]
2480
+ [Y, t(l)]
2479
2481
  ]),
2480
- X(B(k, {
2482
+ Z(B(h, {
2481
2483
  size: "xs",
2482
2484
  name: s.icon
2483
2485
  }, null, 8, ["name"]), [
2484
- [Q, !t(l)]
2486
+ [Y, !t(l)]
2485
2487
  ]),
2486
2488
  _(d.$slots, "default")
2487
2489
  ]),
@@ -2499,17 +2501,17 @@ const Zn = [
2499
2501
  role: "button"
2500
2502
  }, d.$attrs), {
2501
2503
  default: v(() => [
2502
- X(B(k, {
2504
+ Z(B(h, {
2503
2505
  size: "xs",
2504
2506
  name: t(i)
2505
2507
  }, null, 8, ["name"]), [
2506
- [Q, t(l)]
2508
+ [Y, t(l)]
2507
2509
  ]),
2508
- X(B(k, {
2510
+ Z(B(h, {
2509
2511
  size: "xs",
2510
2512
  name: s.icon
2511
2513
  }, null, 8, ["name"]), [
2512
- [Q, !t(l)]
2514
+ [Y, !t(l)]
2513
2515
  ]),
2514
2516
  _(d.$slots, "default")
2515
2517
  ]),
@@ -2517,11 +2519,11 @@ const Zn = [
2517
2519
  }, 16, ["class", "href", "target"]));
2518
2520
  }
2519
2521
  });
2520
- const lt = {
2522
+ const rt = {
2521
2523
  name: "MaSideMenuRoundIconButton",
2522
2524
  inheritAttrs: !1
2523
- }, Xn = /* @__PURE__ */ $({
2524
- ...lt,
2525
+ }, sa = /* @__PURE__ */ k({
2526
+ ...rt,
2525
2527
  props: {
2526
2528
  icon: null
2527
2529
  },
@@ -2531,7 +2533,7 @@ const lt = {
2531
2533
  class: "ma-side-menu-round-icon-button",
2532
2534
  role: "button"
2533
2535
  }, e.$attrs), [
2534
- B(k, {
2536
+ B(h, {
2535
2537
  size: "xs",
2536
2538
  name: s.icon
2537
2539
  }, null, 8, ["name"]),
@@ -2539,11 +2541,11 @@ const lt = {
2539
2541
  ], 16));
2540
2542
  }
2541
2543
  });
2542
- const it = ["src", "alt"], rt = {
2544
+ const ct = ["src", "alt"], pt = {
2543
2545
  name: "MaSideMenuAppButton",
2544
2546
  inheritAttrs: !1
2545
- }, Qn = /* @__PURE__ */ $({
2546
- ...rt,
2547
+ }, oa = /* @__PURE__ */ k({
2548
+ ...pt,
2547
2549
  props: {
2548
2550
  appImage: null,
2549
2551
  appName: null,
@@ -2561,14 +2563,14 @@ const it = ["src", "alt"], rt = {
2561
2563
  placement: "topLeft"
2562
2564
  }, {
2563
2565
  default: v(() => [
2564
- h("button", M({
2566
+ y("button", M({
2565
2567
  class: t(e),
2566
2568
  role: "button"
2567
2569
  }, o.$attrs), [
2568
- h("img", {
2570
+ y("img", {
2569
2571
  src: a.appImage,
2570
2572
  alt: a.appName
2571
- }, null, 8, it),
2573
+ }, null, 8, ct),
2572
2574
  _(o.$slots, "default")
2573
2575
  ], 16)
2574
2576
  ]),
@@ -2576,10 +2578,10 @@ const it = ["src", "alt"], rt = {
2576
2578
  }, 8, ["title"]));
2577
2579
  }
2578
2580
  });
2579
- const ct = {
2581
+ const ut = {
2580
2582
  name: "MaSideMenuAddNewAppButton"
2581
- }, ea = /* @__PURE__ */ $({
2582
- ...ct,
2583
+ }, ta = /* @__PURE__ */ k({
2584
+ ...ut,
2583
2585
  props: {
2584
2586
  href: null,
2585
2587
  target: null,
@@ -2588,7 +2590,7 @@ const ct = {
2588
2590
  },
2589
2591
  setup(a) {
2590
2592
  const s = a;
2591
- return (e, o) => (n(), m(Y, M(e.$attrs, {
2593
+ return (e, o) => (n(), m(Q, M(e.$attrs, {
2592
2594
  target: s?.target,
2593
2595
  href: s?.href,
2594
2596
  disabled: s?.disabled,
@@ -2602,10 +2604,10 @@ const ct = {
2602
2604
  }, 16, ["target", "href", "disabled"]));
2603
2605
  }
2604
2606
  });
2605
- const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke-width"], mt = ["d", "stroke-dasharray", "stroke-dashoffset", "stroke-width"], gt = { key: 1 }, vt = {
2607
+ const dt = { class: "ma-progress-circle" }, mt = ["viewBox"], gt = ["d", "stroke-width"], vt = ["d", "stroke-dasharray", "stroke-dashoffset", "stroke-width"], ft = { key: 1 }, _t = {
2606
2608
  key: 0,
2607
2609
  class: "label"
2608
- }, ft = { class: "percent" }, _t = /* @__PURE__ */ $({
2610
+ }, yt = { class: "percent" }, ht = /* @__PURE__ */ k({
2609
2611
  __name: "circle",
2610
2612
  props: {
2611
2613
  percent: null,
@@ -2651,20 +2653,20 @@ const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke
2651
2653
  }, o = c(() => e[s.size]), l = c(
2652
2654
  () => o.value.strokeDashArray * (100 - s.percent) / 100
2653
2655
  );
2654
- return (i, r) => (n(), p("div", pt, [
2656
+ return (i, r) => (n(), p("div", dt, [
2655
2657
  (n(), p("svg", {
2656
2658
  class: "circle",
2657
2659
  viewBox: t(o).viewBox,
2658
2660
  fill: "none",
2659
2661
  xmlns: "http://www.w3.org/2000/svg"
2660
2662
  }, [
2661
- h("path", {
2663
+ y("path", {
2662
2664
  d: t(o).path,
2663
2665
  "stroke-linecap": "round",
2664
2666
  "stroke-linejoin": "round",
2665
2667
  "stroke-width": t(o).strokeWidth,
2666
2668
  class: "wrapper"
2667
- }, null, 8, dt),
2669
+ }, null, 8, gt),
2668
2670
  s.percent > 0 ? (n(), p("path", {
2669
2671
  key: 0,
2670
2672
  d: t(o).path,
@@ -2674,18 +2676,18 @@ const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke
2674
2676
  "stroke-dashoffset": t(l),
2675
2677
  "stroke-width": t(o).strokeWidth,
2676
2678
  class: "percent"
2677
- }, null, 8, mt)) : f("", !0)
2678
- ], 8, ut)),
2679
- s?.icon ? (n(), m(k, {
2679
+ }, null, 8, vt)) : f("", !0)
2680
+ ], 8, mt)),
2681
+ s?.icon ? (n(), m(h, {
2680
2682
  key: 0,
2681
2683
  name: s.icon
2682
- }, null, 8, ["name"])) : (n(), p("label", gt, [
2683
- s?.label ? (n(), p("span", vt, w(s.label), 1)) : f("", !0),
2684
- h("span", ft, w(s?.percent) + "% ", 1)
2684
+ }, null, 8, ["name"])) : (n(), p("label", ft, [
2685
+ s?.label ? (n(), p("span", _t, w(s.label), 1)) : f("", !0),
2686
+ y("span", yt, w(s?.percent) + "% ", 1)
2685
2687
  ]))
2686
2688
  ]));
2687
2689
  }
2688
- }), ht = { class: "ma-progress-line" }, yt = { class: "line-wrapper" }, bt = { key: 1 }, kt = { class: "line-wrapper" }, $t = { key: 1 }, Ct = /* @__PURE__ */ $({
2690
+ }), bt = { class: "ma-progress-line" }, kt = { class: "line-wrapper" }, $t = { key: 1 }, Ct = { class: "line-wrapper" }, wt = { key: 1 }, xt = /* @__PURE__ */ k({
2689
2691
  __name: "line",
2690
2692
  props: {
2691
2693
  percent: null,
@@ -2706,39 +2708,39 @@ const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke
2706
2708
  trigger: "click",
2707
2709
  ...s.tooltipProps
2708
2710
  }));
2709
- return (l, i) => (n(), p("div", ht, [
2710
- s?.showTooltip ? (n(), m(ce, Ae(M({ key: 0 }, t(o))), {
2711
+ return (l, i) => (n(), p("div", bt, [
2712
+ s?.showTooltip ? (n(), m(ce, Te(M({ key: 0 }, t(o))), {
2711
2713
  default: v(() => [
2712
- h("div", yt, [
2713
- h("div", {
2714
+ y("div", kt, [
2715
+ y("div", {
2714
2716
  class: "line",
2715
2717
  style: te(t(e))
2716
2718
  }, null, 4)
2717
2719
  ]),
2718
- s?.icon ? (n(), m(k, {
2720
+ s?.icon ? (n(), m(h, {
2719
2721
  key: 0,
2720
2722
  name: s.icon
2721
- }, null, 8, ["name"])) : a.showPercent ? (n(), p("label", bt, w(s.percent) + "%", 1)) : f("", !0)
2723
+ }, null, 8, ["name"])) : a.showPercent ? (n(), p("label", $t, w(s.percent) + "%", 1)) : f("", !0)
2722
2724
  ]),
2723
2725
  _: 1
2724
- }, 16)) : (n(), p(H, { key: 1 }, [
2725
- h("div", kt, [
2726
- h("div", {
2726
+ }, 16)) : (n(), p(W, { key: 1 }, [
2727
+ y("div", Ct, [
2728
+ y("div", {
2727
2729
  class: "line",
2728
2730
  style: te(t(e))
2729
2731
  }, null, 4)
2730
2732
  ]),
2731
- s?.icon ? (n(), m(k, {
2733
+ s?.icon ? (n(), m(h, {
2732
2734
  key: 0,
2733
2735
  name: s.icon
2734
- }, null, 8, ["name"])) : a.showPercent ? (n(), p("label", $t, w(s.percent) + "%", 1)) : f("", !0)
2736
+ }, null, 8, ["name"])) : a.showPercent ? (n(), p("label", wt, w(s.percent) + "%", 1)) : f("", !0)
2735
2737
  ], 64))
2736
2738
  ]));
2737
2739
  }
2738
- }), wt = { class: "ma-progress-circle ma-progress-half-circle" }, xt = ["viewBox"], Mt = ["d", "stroke-width"], Bt = ["d", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], zt = { key: 1 }, It = {
2740
+ }), Mt = { class: "ma-progress-circle ma-progress-half-circle" }, Bt = ["viewBox"], zt = ["d", "stroke-width"], It = ["d", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], St = { key: 1 }, Tt = {
2739
2741
  key: 0,
2740
2742
  class: "label"
2741
- }, St = { class: "percent" }, At = /* @__PURE__ */ $({
2743
+ }, At = { class: "percent" }, Pt = /* @__PURE__ */ k({
2742
2744
  __name: "halfCircle",
2743
2745
  props: {
2744
2746
  percent: null,
@@ -2784,20 +2786,20 @@ const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke
2784
2786
  }, o = c(() => e[s.size]), l = c(
2785
2787
  () => o.value.strokeDashArray * (100 - s.percent) / 100
2786
2788
  );
2787
- return (i, r) => (n(), p("div", wt, [
2789
+ return (i, r) => (n(), p("div", Mt, [
2788
2790
  (n(), p("svg", {
2789
2791
  class: "circle",
2790
2792
  viewBox: t(o).viewBox,
2791
2793
  fill: "none",
2792
2794
  xmlns: "http://www.w3.org/2000/svg"
2793
2795
  }, [
2794
- h("path", {
2796
+ y("path", {
2795
2797
  d: t(o).path,
2796
2798
  "stroke-width": t(o).strokeWidth,
2797
2799
  "stroke-linecap": "round",
2798
2800
  "stroke-linejoin": "round",
2799
2801
  class: "wrapper"
2800
- }, null, 8, Mt),
2802
+ }, null, 8, zt),
2801
2803
  s.percent > 0 ? (n(), p("path", {
2802
2804
  key: 0,
2803
2805
  d: t(o).path,
@@ -2807,18 +2809,18 @@ const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke
2807
2809
  "stroke-dasharray": t(o).strokeDashArray,
2808
2810
  "stroke-dashoffset": t(l),
2809
2811
  class: "percent"
2810
- }, null, 8, Bt)) : f("", !0)
2811
- ], 8, xt)),
2812
- s?.icon ? (n(), m(k, {
2812
+ }, null, 8, It)) : f("", !0)
2813
+ ], 8, Bt)),
2814
+ s?.icon ? (n(), m(h, {
2813
2815
  key: 0,
2814
2816
  name: s.icon
2815
- }, null, 8, ["name"])) : (n(), p("label", zt, [
2816
- s?.label ? (n(), p("span", It, w(s.label), 1)) : f("", !0),
2817
- h("span", St, w(s?.percent) + "% ", 1)
2817
+ }, null, 8, ["name"])) : (n(), p("label", St, [
2818
+ s?.label ? (n(), p("span", Tt, w(s.label), 1)) : f("", !0),
2819
+ y("span", At, w(s?.percent) + "% ", 1)
2818
2820
  ]))
2819
2821
  ]));
2820
2822
  }
2821
- }), Tt = { class: "ma-progress-line-step" }, Pt = { class: "step-line-wrapper" }, Nt = { key: 1 }, Dt = /* @__PURE__ */ $({
2823
+ }), Nt = { class: "ma-progress-line-step" }, Dt = { class: "step-line-wrapper" }, Lt = { key: 1 }, Et = /* @__PURE__ */ k({
2822
2824
  __name: "stepLine",
2823
2825
  props: {
2824
2826
  percent: null,
@@ -2837,28 +2839,28 @@ const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke
2837
2839
  width: `${r}%`
2838
2840
  };
2839
2841
  };
2840
- return (o, l) => (n(), p("div", Tt, [
2841
- h("div", Pt, [
2842
- (n(), p(H, null, U(10, (i) => h("div", {
2842
+ return (o, l) => (n(), p("div", Nt, [
2843
+ y("div", Dt, [
2844
+ (n(), p(W, null, U(10, (i) => y("div", {
2843
2845
  class: "single-line",
2844
2846
  key: i
2845
2847
  }, [
2846
- h("div", {
2848
+ y("div", {
2847
2849
  class: "single-line-fill",
2848
2850
  style: te(e(i))
2849
2851
  }, null, 4)
2850
2852
  ])), 64))
2851
2853
  ]),
2852
- s?.icon ? (n(), m(k, {
2854
+ s?.icon ? (n(), m(h, {
2853
2855
  key: 0,
2854
2856
  name: s.icon
2855
- }, null, 8, ["name"])) : s?.showPercent ? (n(), p("label", Nt, w(s.percent) + "%", 1)) : f("", !0)
2857
+ }, null, 8, ["name"])) : s?.showPercent ? (n(), p("label", Lt, w(s.percent) + "%", 1)) : f("", !0)
2856
2858
  ]));
2857
2859
  }
2858
- }), Lt = {
2860
+ }), Ft = {
2859
2861
  name: "MaProgress"
2860
- }, sa = /* @__PURE__ */ $({
2861
- ...Lt,
2862
+ }, na = /* @__PURE__ */ k({
2863
+ ...Ft,
2862
2864
  props: {
2863
2865
  type: { default: "line" },
2864
2866
  percent: null,
@@ -2889,10 +2891,10 @@ const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke
2889
2891
  }
2890
2892
  ]), o = c(
2891
2893
  () => ({
2892
- circle: _t,
2893
- line: Ct,
2894
- ["half-circle"]: At,
2895
- ["line-step"]: Dt
2894
+ circle: ht,
2895
+ line: xt,
2896
+ ["half-circle"]: Pt,
2897
+ ["line-step"]: Et
2896
2898
  })[s.type]
2897
2899
  ), l = c(() => [
2898
2900
  `
@@ -2918,33 +2920,33 @@ const pt = { class: "ma-progress-circle" }, ut = ["viewBox"], dt = ["d", "stroke
2918
2920
  ], 2));
2919
2921
  }
2920
2922
  });
2921
- const oa = [
2923
+ const aa = [
2922
2924
  "line",
2923
2925
  "line-step",
2924
2926
  "circle",
2925
2927
  "half-circle"
2926
- ], ta = [
2928
+ ], la = [
2927
2929
  "dark",
2928
2930
  "blue",
2929
2931
  "green",
2930
2932
  "orange",
2931
2933
  "red"
2932
- ], na = [
2934
+ ], ia = [
2933
2935
  "xs",
2934
2936
  "sm",
2935
2937
  "md",
2936
2938
  "lg",
2937
2939
  "xl"
2938
- ], aa = [
2940
+ ], ra = [
2939
2941
  "left",
2940
2942
  "right"
2941
- ], Et = { class: "ak-autocomplete" }, Ft = {
2943
+ ], Rt = { class: "ak-autocomplete" }, Ut = {
2942
2944
  key: 0,
2943
2945
  class: "ak-autocomplete__label"
2944
- }, Rt = { class: "ak-autocomplete__options" }, Ut = ["onMousedown", "onMouseover"], jt = { key: 1 }, Vt = {
2946
+ }, jt = { class: "ak-autocomplete__options" }, Vt = ["onMousedown", "onMouseover"], Ot = { key: 1 }, qt = {
2945
2947
  name: "MaAutocomplete"
2946
- }, la = /* @__PURE__ */ $({
2947
- ...Vt,
2948
+ }, ca = /* @__PURE__ */ k({
2949
+ ...qt,
2948
2950
  props: {
2949
2951
  value: null,
2950
2952
  options: { default: () => [] },
@@ -2964,27 +2966,27 @@ const oa = [
2964
2966
  set(x) {
2965
2967
  s("update:value", x), u.value = -1;
2966
2968
  }
2967
- }), d = c(() => e?.avatarUrl ? K.userInfo : K.text), z = c(() => !!o.default), I = c(
2969
+ }), d = c(() => e?.avatarUrl ? G.userInfo : G.text), z = c(() => !!o.default), I = c(
2968
2970
  () => e.options.filter(
2969
2971
  (x) => e.filterFn(g.value || "", x)
2970
2972
  )
2971
- ), A = (x) => {
2972
- const b = x?.value || x?.label || x;
2973
- g.value = b, z.value && r.value && (r.value.value = b), l.value = !1;
2973
+ ), T = (x) => {
2974
+ const $ = x?.value || x?.label || x;
2975
+ g.value = $, z.value && r.value && (r.value.value = $), l.value = !1;
2974
2976
  }, P = async () => {
2975
2977
  const x = `${r.value?.value}`;
2976
2978
  s("search", x), z.value && s("update:value", x), l.value || (l.value = !0);
2977
2979
  }, C = (x) => {
2978
2980
  l.value = !0;
2979
- }, T = (x) => {
2981
+ }, A = (x) => {
2980
2982
  l.value && i.value && x.target instanceof Node && !i.value.contains(x.target) && (l.value = !1);
2981
2983
  }, S = (x) => {
2982
- x.key === "ArrowUp" && u.value > -1 ? u.value-- : x.key === "ArrowDown" && u.value < I.value.length ? u.value++ : x.key === "Enter" && I.value[u.value] && A(I.value[u.value]);
2984
+ x.key === "ArrowUp" && u.value > -1 ? u.value-- : x.key === "ArrowDown" && u.value < I.value.length ? u.value++ : x.key === "Enter" && I.value[u.value] && T(I.value[u.value]);
2983
2985
  }, j = (x) => {
2984
2986
  u.value = x;
2985
- }, F = (x, b) => ({
2987
+ }, F = (x, $) => ({
2986
2988
  "active-option": x?.value === g.value,
2987
- "current-option": u.value === b
2989
+ "current-option": u.value === $
2988
2990
  });
2989
2991
  return oe(
2990
2992
  () => e.open,
@@ -2994,47 +2996,47 @@ const oa = [
2994
2996
  }, 0);
2995
2997
  }
2996
2998
  ), re(() => {
2997
- i.value && (i.value.addEventListener("input", P), i.value.addEventListener("keydown", S), document.addEventListener("click", T), r.value = i.value.querySelector('input[type="text"]'), r.value && r.value.addEventListener("focus", C));
2998
- }), he(() => {
2999
- i.value && (i.value.removeEventListener("input", P), document.removeEventListener("click", T), i.value.removeEventListener("keydown", S), r.value && r.value.removeEventListener("focus", C));
3000
- }), (x, b) => (n(), p("div", M({
2999
+ i.value && (i.value.addEventListener("input", P), i.value.addEventListener("keydown", S), document.addEventListener("click", A), r.value = i.value.querySelector('input[type="text"]'), r.value && r.value.addEventListener("focus", C));
3000
+ }), ye(() => {
3001
+ i.value && (i.value.removeEventListener("input", P), document.removeEventListener("click", A), i.value.removeEventListener("keydown", S), r.value && r.value.removeEventListener("focus", C));
3002
+ }), (x, $) => (n(), p("div", M({
3001
3003
  class: "ak-autocomplete-wrapper",
3002
3004
  ref_key: "autoComplete",
3003
3005
  ref: i
3004
3006
  }, x.$attrs), [
3005
- B(Ao, {
3007
+ B(Po, {
3006
3008
  "overlay-class-name": "ak-autocomplete__dropdown",
3007
3009
  trigger: [],
3008
3010
  visible: l.value,
3009
- "onUpdate:visible": b[1] || (b[1] = (N) => l.value = N)
3011
+ "onUpdate:visible": $[1] || ($[1] = (N) => l.value = N)
3010
3012
  }, {
3011
3013
  overlay: v(() => [
3012
- h("div", Rt, [
3013
- h("ul", null, [
3014
- (n(!0), p(H, null, U(t(I), (N, O) => (n(), p("li", {
3014
+ y("div", jt, [
3015
+ y("ul", null, [
3016
+ (n(!0), p(W, null, U(t(I), (N, O) => (n(), p("li", {
3015
3017
  class: R(F(N, O)),
3016
- onMousedown: ye((G) => A(N), ["prevent"]),
3017
- onMouseover: (G) => j(O),
3018
+ onMousedown: he((K) => T(N), ["prevent"]),
3019
+ onMouseover: (K) => j(O),
3018
3020
  key: O
3019
3021
  }, [
3020
3022
  x.$slots.option ? _(x.$slots, "option", {
3021
3023
  key: 0,
3022
3024
  label: N?.label,
3023
3025
  value: N.value
3024
- }) : (n(), p("span", jt, w(N?.label || N?.value), 1)),
3025
- N?.value === t(g) ? (n(), m(k, {
3026
+ }) : (n(), p("span", Ot, w(N?.label || N?.value), 1)),
3027
+ N?.value === t(g) ? (n(), m(h, {
3026
3028
  key: 2,
3027
3029
  name: "tick",
3028
3030
  size: "sm"
3029
3031
  })) : f("", !0)
3030
- ], 42, Ut))), 128))
3032
+ ], 42, Vt))), 128))
3031
3033
  ]),
3032
3034
  _(x.$slots, "overlay")
3033
3035
  ])
3034
3036
  ]),
3035
3037
  default: v(() => [
3036
- h("div", Et, [
3037
- e.label ? (n(), p("label", Ft, w(e.label), 1)) : f("", !0),
3038
+ y("div", Rt, [
3039
+ e.label ? (n(), p("label", Ut, w(e.label), 1)) : f("", !0),
3038
3040
  x.$slots.default ? _(x.$slots, "default", { key: 1 }) : (n(), m(ke, {
3039
3041
  key: 2,
3040
3042
  class: R({ "active-input": t(g)?.length }),
@@ -3044,7 +3046,7 @@ const oa = [
3044
3046
  avatarUrl: e?.avatarUrl,
3045
3047
  type: t(d),
3046
3048
  value: t(g),
3047
- "onUpdate:value": b[0] || (b[0] = (N) => J(g) ? g.value = N : null)
3049
+ "onUpdate:value": $[0] || ($[0] = (N) => J(g) ? g.value = N : null)
3048
3050
  }, null, 8, ["class", "placeholder", "prefixIcon", "avatarUrl", "type", "value"]))
3049
3051
  ])
3050
3052
  ]),
@@ -3053,8 +3055,80 @@ const oa = [
3053
3055
  ], 16));
3054
3056
  }
3055
3057
  });
3056
- class Ot {
3057
- config = Te({
3058
+ const Ht = {
3059
+ name: "MaTabs"
3060
+ }, pa = /* @__PURE__ */ k({
3061
+ ...Ht,
3062
+ props: {
3063
+ activeKey: null,
3064
+ animated: { type: Boolean, default: !1 },
3065
+ destroyInactiveTabPane: { type: Boolean, default: !1 },
3066
+ tabPosition: { default: "top" },
3067
+ type: { default: "line" }
3068
+ },
3069
+ emits: ["update:activeKey"],
3070
+ setup(a, { emit: s }) {
3071
+ const e = a, o = c({
3072
+ get() {
3073
+ return e?.activeKey;
3074
+ },
3075
+ set(l) {
3076
+ s("update:activeKey", l);
3077
+ }
3078
+ });
3079
+ return (l, i) => (n(), m(t(Xe), M({
3080
+ class: "ak-tabs",
3081
+ animated: e?.animated,
3082
+ destroyInactiveTabPane: e?.destroyInactiveTabPane,
3083
+ tabPosition: e?.tabPosition,
3084
+ type: a.type,
3085
+ "prefix-cls": "antd-tabs",
3086
+ activeKey: t(o),
3087
+ "onUpdate:activeKey": i[0] || (i[0] = (r) => J(o) ? o.value = r : null)
3088
+ }, l.$attrs), q({
3089
+ moreIcon: v(() => [
3090
+ B(h, {
3091
+ name: "ellipsis-horizontal",
3092
+ size: "xs"
3093
+ })
3094
+ ]),
3095
+ _: 2
3096
+ }, [
3097
+ U(l.$slots, (r, u) => ({
3098
+ name: u,
3099
+ fn: v(() => [
3100
+ _(l.$slots, u)
3101
+ ])
3102
+ }))
3103
+ ]), 1040, ["animated", "destroyInactiveTabPane", "tabPosition", "type", "activeKey"]));
3104
+ }
3105
+ });
3106
+ const ua = [
3107
+ "left",
3108
+ "right",
3109
+ "top",
3110
+ "bottom"
3111
+ ], da = [
3112
+ "card",
3113
+ "line"
3114
+ ], ma = [
3115
+ "left",
3116
+ "right"
3117
+ ], ga = /* @__PURE__ */ k({
3118
+ __name: "tabPane",
3119
+ setup(a) {
3120
+ return (s, e) => (n(), m(t(Qe), M({ tab: "test" }, s.$attrs), q({ _: 2 }, [
3121
+ U(s.$slots, (o, l) => ({
3122
+ name: l,
3123
+ fn: v(() => [
3124
+ _(s.$slots, l)
3125
+ ])
3126
+ }))
3127
+ ]), 1040));
3128
+ }
3129
+ });
3130
+ class Wt {
3131
+ config = Ae({
3058
3132
  language: "en"
3059
3133
  });
3060
3134
  setConfig(s) {
@@ -3074,99 +3148,104 @@ class Ot {
3074
3148
  return this.config.language;
3075
3149
  }
3076
3150
  }
3077
- const qt = new Ot();
3078
- function ia() {
3079
- return Ne(qt.getConfig());
3151
+ const Kt = new Wt();
3152
+ function va() {
3153
+ return Ne(Kt.getConfig());
3080
3154
  }
3081
3155
  export {
3082
- qt as ActionKitConfig,
3083
- Nn as Animations,
3084
- wn as AppIconPlatforms,
3085
- Cn as AppIconSizes,
3086
- Xt as ButtonIconAlignMents,
3087
- Zt as ButtonShapes,
3088
- ss as ButtonSizes,
3089
- Yt as ButtonTargets,
3090
- Kt as ButtonTypes,
3091
- Jt as ButtonVariants,
3092
- An as MaAlert,
3093
- Pn as MaAlertPropTypes,
3094
- Tn as MaAlertPropVariants,
3095
- go as MaAnimation,
3096
- $n as MaAppIcon,
3097
- kn as MaAppTrackButton,
3098
- la as MaAutoComplete,
3099
- po as MaBadge,
3100
- Sn as MaBadgePropIconAlignments,
3101
- In as MaBadgePropSizes,
3102
- zn as MaBadgePropTypes,
3103
- Bn as MaBadgePropVariants,
3104
- Y as MaButton,
3105
- _n as MaCheckbox,
3106
- hn as MaCheckboxGroup,
3107
- Ao as MaDropdown,
3108
- jn as MaDropdownPlacements,
3109
- Vn as MaDropdownTriggers,
3110
- Hn as MaEmpty,
3156
+ Kt as ActionKitConfig,
3157
+ En as Animations,
3158
+ Bn as AppIconPlatforms,
3159
+ Mn as AppIconSizes,
3160
+ sn as ButtonIconAlignMents,
3161
+ Qt as ButtonShapes,
3162
+ ts as ButtonSizes,
3163
+ en as ButtonTargets,
3164
+ Yt as ButtonTypes,
3165
+ Xt as ButtonVariants,
3166
+ Nn as MaAlert,
3167
+ Ln as MaAlertPropTypes,
3168
+ Dn as MaAlertPropVariants,
3169
+ fo as MaAnimation,
3170
+ xn as MaAppIcon,
3171
+ wn as MaAppTrackButton,
3172
+ ca as MaAutoComplete,
3173
+ mo as MaBadge,
3174
+ Pn as MaBadgePropIconAlignments,
3175
+ An as MaBadgePropSizes,
3176
+ Tn as MaBadgePropTypes,
3177
+ Sn as MaBadgePropVariants,
3178
+ Q as MaButton,
3179
+ bn as MaCheckbox,
3180
+ kn as MaCheckboxGroup,
3181
+ Po as MaDropdown,
3182
+ qn as MaDropdownPlacements,
3183
+ Hn as MaDropdownTriggers,
3184
+ Gn as MaEmpty,
3111
3185
  fe as MaEmptyIcons,
3112
- On as MaEmptySizes,
3113
- qn as MaEmptyVariants,
3114
- pn as MaForm,
3115
- un as MaFormItem,
3116
- dn as MaFormLayouts,
3117
- k as MaIcon,
3118
- Xe as MaIconSizeClassNames,
3119
- Gt as MaIconSizes,
3186
+ Wn as MaEmptySizes,
3187
+ Kn as MaEmptyVariants,
3188
+ mn as MaForm,
3189
+ gn as MaFormItem,
3190
+ vn as MaFormLayouts,
3191
+ h as MaIcon,
3192
+ es as MaIconSizeClassNames,
3193
+ Zt as MaIconSizes,
3120
3194
  ke as MaInput,
3121
- mn as MaInputCurrency,
3122
- $s as MaInputSize,
3123
- K as MaInputType,
3195
+ fn as MaInputCurrency,
3196
+ ws as MaInputSize,
3197
+ G as MaInputType,
3124
3198
  ge as MaModal,
3125
3199
  me as MaModalTypeIcon,
3126
- Dn as MaModalTypes,
3127
- yn as MaNumericInput,
3128
- sa as MaProgress,
3129
- na as MaProgressCircleSizes,
3130
- ta as MaProgressColors,
3131
- aa as MaProgressPercentAlignments,
3132
- oa as MaProgressTypes,
3133
- Gs as MaRadio,
3134
- xn as MaRadioGroup,
3135
- Mn as MaRadioTypes,
3136
- Ln as MaRate,
3137
- Fn as MaRateColors,
3138
- En as MaRateSizes,
3139
- Ns as MaSelect,
3140
- gn as MaSelectOption,
3141
- ea as MaSideMenuAddNewAppButton,
3142
- Qn as MaSideMenuAppButton,
3143
- Kn as MaSideMenuButton,
3144
- Yn as MaSideMenuIconButton,
3145
- Jn as MaSideMenuItem,
3146
- Zn as MaSideMenuItemColors,
3147
- Xn as MaSideMenuRoundIconButton,
3200
+ Fn as MaModalTypes,
3201
+ $n as MaNumericInput,
3202
+ na as MaProgress,
3203
+ ia as MaProgressCircleSizes,
3204
+ la as MaProgressColors,
3205
+ ra as MaProgressPercentAlignments,
3206
+ aa as MaProgressTypes,
3207
+ Js as MaRadio,
3208
+ zn as MaRadioGroup,
3209
+ In as MaRadioTypes,
3210
+ Rn as MaRate,
3211
+ jn as MaRateColors,
3212
+ Un as MaRateSizes,
3213
+ Ls as MaSelect,
3214
+ _n as MaSelectOption,
3215
+ ta as MaSideMenuAddNewAppButton,
3216
+ oa as MaSideMenuAppButton,
3217
+ Yn as MaSideMenuButton,
3218
+ ea as MaSideMenuIconButton,
3219
+ Xn as MaSideMenuItem,
3220
+ Qn as MaSideMenuItemColors,
3221
+ sa as MaSideMenuRoundIconButton,
3148
3222
  ve as MaSpin,
3149
- Un as MaSpinColors,
3150
- Rn as MaSpinTypes,
3151
- nn as MaSwitch,
3152
- on as MaToggle,
3223
+ On as MaSpinColors,
3224
+ Vn as MaSpinTypes,
3225
+ rn as MaSwitch,
3226
+ ma as MaTabIconAlignMents,
3227
+ ga as MaTabPane,
3228
+ ua as MaTabPositions,
3229
+ da as MaTabTypes,
3230
+ pa as MaTabs,
3231
+ an as MaToggle,
3153
3232
  ce as MaTooltip,
3154
- Qt as MaTrackButton,
3155
- Gn as MaUpload,
3156
- q as MaUploadFileStatus,
3157
- Lo as MaUploadSizes,
3158
- Wn as MaUploadTypes,
3159
- bn as NumericInputSizes,
3160
- fn as SelectModes,
3161
- vn as SelectSizes,
3162
- an as SwitchTypes,
3163
- tn as ToggleSizes,
3164
- ln as TooltipPlacements,
3165
- cn as TooltipTriggerTypes,
3166
- rn as TooltipTypes,
3167
- sn as TrackButtonSizes,
3168
- en as TrackButtonVariants,
3169
- ws as currencyOptions,
3170
- Cs as currencySymbols,
3171
- ia as useActionKitConfig
3233
+ on as MaTrackButton,
3234
+ Zn as MaUpload,
3235
+ H as MaUploadFileStatus,
3236
+ Fo as MaUploadSizes,
3237
+ Jn as MaUploadTypes,
3238
+ Cn as NumericInputSizes,
3239
+ hn as SelectModes,
3240
+ yn as SelectSizes,
3241
+ cn as SwitchTypes,
3242
+ ln as ToggleSizes,
3243
+ pn as TooltipPlacements,
3244
+ dn as TooltipTriggerTypes,
3245
+ un as TooltipTypes,
3246
+ nn as TrackButtonSizes,
3247
+ tn as TrackButtonVariants,
3248
+ Ms as currencyOptions,
3249
+ xs as currencySymbols,
3250
+ va as useActionKitConfig
3172
3251
  };