@teammodlr/ui-kit 2.1.76 → 2.1.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, renderSlot as j, ref as w, readonly as jn, watch as X, computed as p, provide as ge, openBlock as v, createElementBlock as y, normalizeStyle as re, normalizeClass as g, toRef as J, Fragment as Q, createElementVNode as k, createCommentVNode as P, withDirectives as vt, vShow as go, inject as ue, resolveComponent as oe, createTextVNode as se, toDisplayString as x, createVNode as Z, withCtx as Y, toRefs as yr, onMounted as be, createBlock as te, mergeProps as Se, reactive as Ae, renderList as he, onBeforeUnmount as Nt, resolveDynamicComponent as un, onUnmounted as dn, vModelCheckbox as br, getCurrentScope as yo, onScopeDispose as bo, unref as cn, isRef as wr, customRef as wo, getCurrentInstance as $r, watchEffect as Je, nextTick as Ne, withModifiers as $e, toHandlers as mt, Teleport as Fe, Transition as Xe, withKeys as ot, shallowRef as xt, TransitionGroup as Cr, vModelRadio as $o, vModelText as Co, toRaw as Ln, onActivated as ko, onDeactivated as So, h as st } from "vue";
1
+ import { defineComponent as N, renderSlot as j, ref as w, readonly as jn, watch as X, computed as p, provide as ye, openBlock as v, createElementBlock as y, normalizeStyle as re, normalizeClass as g, toRef as J, Fragment as Q, createElementVNode as k, createCommentVNode as P, withDirectives as vt, vShow as go, inject as ue, resolveComponent as oe, createTextVNode as se, toDisplayString as x, createVNode as Z, withCtx as Y, toRefs as yr, onMounted as we, createBlock as te, mergeProps as Se, reactive as Ae, renderList as ge, onBeforeUnmount as Nt, resolveDynamicComponent as un, onUnmounted as dn, vModelCheckbox as br, getCurrentScope as yo, onScopeDispose as bo, unref as cn, isRef as wr, customRef as wo, getCurrentInstance as $r, watchEffect as Je, nextTick as Ne, withModifiers as he, toHandlers as mt, Teleport as Fe, Transition as Xe, withKeys as ot, shallowRef as xt, TransitionGroup as Cr, vModelRadio as $o, vModelText as Co, toRaw as Ln, onActivated as ko, onDeactivated as So, h as st } from "vue";
2
2
  const Mo = {
3
3
  h: {
4
4
  type: Function,
@@ -109,7 +109,7 @@ const Do = {
109
109
  ~M ? (h.splice(M, 1), o(h), s({ name: d, expanded: !1, event: c })) : (h.push(d), o(h), s({ name: d, expanded: !0, event: c }));
110
110
  }
111
111
  }
112
- return ge(Mr, {
112
+ return ye(Mr, {
113
113
  props: e,
114
114
  expandedNamesRef: a,
115
115
  slots: t,
@@ -296,7 +296,7 @@ function Zo(e, t) {
296
296
  ", "
297
297
  )}` : `\`${e}\``}`
298
298
  );
299
- }, (s) => (ge(r, s), s)];
299
+ }, (s) => (ye(r, s), s)];
300
300
  }
301
301
  const [Jo, Qo] = Zo("ConfigProvider"), es = {
302
302
  name: "ConfigProvider"
@@ -409,7 +409,7 @@ const Or = Symbol("AVATAR_GROUP_STATE"), ds = N({
409
409
  ]), f = (m) => {
410
410
  a.value = !1, t("error", m);
411
411
  };
412
- return be(() => {
412
+ return we(() => {
413
413
  o.value = s.value || e.size;
414
414
  }), {
415
415
  avatar: r,
@@ -471,7 +471,7 @@ const vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
471
471
  rounded: J(e, "rounded"),
472
472
  max: J(e, "max")
473
473
  });
474
- ge(Or, t);
474
+ ye(Or, t);
475
475
  const n = p(() => e.options.slice(0, e.max)), r = p(() => e.options.length - e.max);
476
476
  return {
477
477
  style: vs,
@@ -485,7 +485,7 @@ function gs(e, t, n, r, a, o) {
485
485
  return v(), y("ul", {
486
486
  class: g(e.style.base)
487
487
  }, [
488
- (v(!0), y(Q, null, he(e.avatars, (i, u) => (v(), y("li", {
488
+ (v(!0), y(Q, null, ge(e.avatars, (i, u) => (v(), y("li", {
489
489
  key: u,
490
490
  class: g(e.style.item)
491
491
  }, [
@@ -579,7 +579,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
579
579
  }), a = p(() => [
580
580
  Br
581
581
  ]);
582
- return ge(Ar, r), {
582
+ return ye(Ar, r), {
583
583
  refreshItems: n,
584
584
  classes: a
585
585
  };
@@ -730,7 +730,7 @@ const Rr = Symbol("BUTTON_GROUP_STATE"), fn = Symbol("FORM_STATE"), Zs = N({
730
730
  ]), T = p(() => [
731
731
  Hs
732
732
  ]), E = p(() => e.to ? "nuxt-link" : e.href ? "a" : "button");
733
- return be(() => {
733
+ return we(() => {
734
734
  o.value = d.value || e.size;
735
735
  }), Nt(() => {
736
736
  i.value && clearTimeout(i.value);
@@ -805,7 +805,7 @@ const el = N({
805
805
  const t = Ae({
806
806
  size: J(e, "size")
807
807
  });
808
- return ge(Rr, t), {
808
+ return ye(Rr, t), {
809
809
  classes: Qs
810
810
  };
811
811
  }
@@ -869,7 +869,7 @@ const le = (e, {
869
869
  },
870
870
  change: (h) => n("change", h)
871
871
  })) : {};
872
- return be(() => {
872
+ return we(() => {
873
873
  l == null || l.add(
874
874
  u.value,
875
875
  t,
@@ -907,7 +907,7 @@ le.props = () => ({
907
907
  default: () => []
908
908
  }
909
909
  });
910
- const ye = (e) => ({
910
+ const be = (e) => ({
911
911
  focus: () => {
912
912
  var t, n;
913
913
  return (n = (t = e.value) == null ? void 0 : t.focus) == null ? void 0 : n.call(t);
@@ -917,7 +917,7 @@ const ye = (e) => ({
917
917
  return (n = (t = e.value) == null ? void 0 : t.blur) == null ? void 0 : n.call(t);
918
918
  }
919
919
  });
920
- ye.props = () => ({
920
+ be.props = () => ({
921
921
  disabled: Boolean,
922
922
  loading: Boolean
923
923
  });
@@ -937,7 +937,7 @@ const il = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
937
937
  emits: [...le.emits(), "change"],
938
938
  props: {
939
939
  ...le.props(),
940
- ...ye.props(),
940
+ ...be.props(),
941
941
  label: {
942
942
  type: String
943
943
  },
@@ -964,7 +964,7 @@ const il = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
964
964
  value: {}
965
965
  },
966
966
  setup(e, { slots: t, emit: n, expose: r }) {
967
- const a = w(null), o = p(() => !!(t["help-message"] || t.help)), { focus: s, blur: i } = ye(a), {
967
+ const a = w(null), o = p(() => !!(t["help-message"] || t.help)), { focus: s, blur: i } = be(a), {
968
968
  id: u,
969
969
  insideForm: l,
970
970
  reset: d,
@@ -1169,7 +1169,7 @@ function mn(e, t, n = {}) {
1169
1169
  }
1170
1170
  function bl() {
1171
1171
  const e = w(!1), t = $r();
1172
- return t && be(() => {
1172
+ return t && we(() => {
1173
1173
  e.value = !0;
1174
1174
  }, t), e;
1175
1175
  }
@@ -1968,7 +1968,7 @@ function Mi(e) {
1968
1968
  O.set(b, W);
1969
1969
  }
1970
1970
  if (D)
1971
- for (var we = h ? 3 : 1, ce = function(pe) {
1971
+ for (var $e = h ? 3 : 1, ce = function(pe) {
1972
1972
  var Pe = S.find(function(He) {
1973
1973
  var Ie = O.get(He);
1974
1974
  if (Ie)
@@ -1978,7 +1978,7 @@ function Mi(e) {
1978
1978
  });
1979
1979
  if (Pe)
1980
1980
  return I = Pe, "break";
1981
- }, ie = we; ie > 0; ie--) {
1981
+ }, ie = $e; ie > 0; ie--) {
1982
1982
  var fe = ce(ie);
1983
1983
  if (fe === "break") break;
1984
1984
  }
@@ -2098,10 +2098,10 @@ function Li(e) {
2098
2098
  };
2099
2099
  if (A) {
2100
2100
  if (o) {
2101
- var V, q = S === "y" ? Ce : ke, L = S === "y" ? Be : Re, G = S === "y" ? "height" : "width", _ = A[S], ae = _ + C[q], W = _ - C[L], we = m ? -D[G] / 2 : 0, ce = E === Qe ? O[G] : D[G], ie = E === Qe ? -D[G] : -O[G], fe = t.elements.arrow, ze = m && fe ? wn(fe) : {
2101
+ var V, q = S === "y" ? Ce : ke, L = S === "y" ? Be : Re, G = S === "y" ? "height" : "width", _ = A[S], ae = _ + C[q], W = _ - C[L], $e = m ? -D[G] / 2 : 0, ce = E === Qe ? O[G] : D[G], ie = E === Qe ? -D[G] : -O[G], fe = t.elements.arrow, ze = m && fe ? wn(fe) : {
2102
2102
  width: 0,
2103
2103
  height: 0
2104
- }, pe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Hr(), Pe = pe[q], He = pe[L], Ie = it(0, O[G], ze[G]), U = R ? O[G] / 2 - we - Ie - Pe - z.mainAxis : ce - Ie - Pe - z.mainAxis, de = R ? -O[G] / 2 + we + Ie + He + z.mainAxis : ie + Ie + He + z.mainAxis, ve = t.elements.arrow && gt(t.elements.arrow), Me = ve ? S === "y" ? ve.clientTop || 0 : ve.clientLeft || 0 : 0, yt = (V = b == null ? void 0 : b[S]) != null ? V : 0, Ht = _ + U - yt - Me, H = _ + de - yt, ee = it(m ? Lt(ae, Ht) : ae, _, m ? qe(W, H) : W);
2104
+ }, pe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Hr(), Pe = pe[q], He = pe[L], Ie = it(0, O[G], ze[G]), U = R ? O[G] / 2 - $e - Ie - Pe - z.mainAxis : ce - Ie - Pe - z.mainAxis, de = R ? -O[G] / 2 + $e + Ie + He + z.mainAxis : ie + Ie + He + z.mainAxis, ve = t.elements.arrow && gt(t.elements.arrow), Me = ve ? S === "y" ? ve.clientTop || 0 : ve.clientLeft || 0 : 0, yt = (V = b == null ? void 0 : b[S]) != null ? V : 0, Ht = _ + U - yt - Me, H = _ + de - yt, ee = it(m ? Lt(ae, Ht) : ae, _, m ? qe(W, H) : W);
2105
2105
  A[S] = ee, B[S] = ee - _;
2106
2106
  }
2107
2107
  if (i) {
@@ -2371,7 +2371,7 @@ function _t(e) {
2371
2371
  let c = null;
2372
2372
  n && X(n, (T) => {
2373
2373
  h(T), f();
2374
- }), be(() => {
2374
+ }), we(() => {
2375
2375
  Ne(m);
2376
2376
  }), Nt(C);
2377
2377
  function f() {
@@ -2494,13 +2494,13 @@ function au(e, t, n, r, a, o) {
2494
2494
  class: g(e.style.sliderBar),
2495
2495
  style: re({ background: e.background }),
2496
2496
  onMousedown: t[0] || (t[0] = (...s) => e.handleMouseDown && e.handleMouseDown(...s)),
2497
- onTouchstart: t[1] || (t[1] = $e((...s) => e.handleMouseDown && e.handleMouseDown(...s), ["prevent"]))
2497
+ onTouchstart: t[1] || (t[1] = he((...s) => e.handleMouseDown && e.handleMouseDown(...s), ["prevent"]))
2498
2498
  }, null, 38)
2499
2499
  ], 2),
2500
2500
  k("div", {
2501
2501
  style: { position: "absolute", inset: "0px 9px" },
2502
2502
  onMousedown: t[2] || (t[2] = (...s) => e.handleMouseDown && e.handleMouseDown(...s)),
2503
- onTouchstart: t[3] || (t[3] = $e((...s) => e.handleMouseDown && e.handleMouseDown(...s), ["prevent"]))
2503
+ onTouchstart: t[3] || (t[3] = he((...s) => e.handleMouseDown && e.handleMouseDown(...s), ["prevent"]))
2504
2504
  }, [
2505
2505
  k("div", {
2506
2506
  class: g(e.style.hueSliderThumb),
@@ -2535,7 +2535,7 @@ const vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2535
2535
  name: "MInput",
2536
2536
  props: {
2537
2537
  ...le.props(),
2538
- ...ye.props(),
2538
+ ...be.props(),
2539
2539
  label: {
2540
2540
  type: String
2541
2541
  },
@@ -2579,7 +2579,7 @@ const vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2579
2579
  },
2580
2580
  emits: le.emits(),
2581
2581
  setup(e, { slots: t, emit: n, expose: r }) {
2582
- const a = w(null), { focus: o, blur: s } = ye(a), {
2582
+ const a = w(null), { focus: o, blur: s } = be(a), {
2583
2583
  id: i,
2584
2584
  insideForm: u,
2585
2585
  reset: l,
@@ -2761,14 +2761,14 @@ const na = /* @__PURE__ */ F(mu, [["render", yu]]), bu = N({
2761
2761
  offset: [-2, 2]
2762
2762
  }), L = p(() => 1 - O.y), G = p(() => O.x), _ = p(() => l.value === "inherit" ? { r: 0, g: 0, b: 0, a: 0 } : Fl(S.value * 3.6, L.value, G.value, $.value / 100)), ae = p(() => _l(S.value * 3.6, $.value / 100)), W = () => {
2763
2763
  t("update:modelValue", l.value);
2764
- }, we = () => {
2764
+ }, $e = () => {
2765
2765
  l.value !== "inherit" && (l.value = qt(_.value.r, _.value.g, _.value.b, _.value.a)), d.value = _.value.r.toString(), c.value = _.value.g.toString(), f.value = _.value.b.toString(), m.value = _.value.a.toFixed(2).toString(), n.lazy || W();
2766
2766
  };
2767
2767
  X(() => _.value, () => {
2768
- we();
2768
+ $e();
2769
2769
  });
2770
2770
  const ce = (U, de) => {
2771
- O.x = U.s, O.y = 1 - U.v, S.value = 1 / 360 * U.h * 100, $.value = de * 100, we();
2771
+ O.x = U.s, O.y = 1 - U.v, S.value = 1 / 360 * U.h * 100, $.value = de * 100, $e();
2772
2772
  }, ie = () => {
2773
2773
  if (l.value === "inherit") {
2774
2774
  n.lazy && W();
@@ -2804,7 +2804,7 @@ const na = /* @__PURE__ */ F(mu, [["render", yu]]), bu = N({
2804
2804
  }, Pe = () => {
2805
2805
  l.value === "inherit" && (l.value = qt(_.value.r, _.value.g, _.value.b, _.value.a), W()), A.value = !0, pe();
2806
2806
  };
2807
- return be(() => {
2807
+ return we(() => {
2808
2808
  l.value = e.modelValue, ie();
2809
2809
  }), mn(B, (U) => {
2810
2810
  i.value = !1;
@@ -2818,7 +2818,7 @@ const na = /* @__PURE__ */ F(mu, [["render", yu]]), bu = N({
2818
2818
  referenceRef: C,
2819
2819
  updateFromRGB: ze,
2820
2820
  updateFromHex: ie,
2821
- setInputs: we,
2821
+ setInputs: $e,
2822
2822
  rgbOrHex: u,
2823
2823
  hexInputElement: R,
2824
2824
  hexInput: l,
@@ -2960,7 +2960,7 @@ function ju(e, t, n, r, a, o) {
2960
2960
  k("div", {
2961
2961
  class: g(e.style.sliderThumb),
2962
2962
  onMousedown: t[1] || (t[1] = (...l) => e.handleMouseDown && e.handleMouseDown(...l)),
2963
- onDragover: t[2] || (t[2] = $e(() => {
2963
+ onDragover: t[2] || (t[2] = he(() => {
2964
2964
  }, ["prevent"])),
2965
2965
  style: re({ left: `${e.position.x * 100}%`, top: `${e.position.y * 100}%` })
2966
2966
  }, null, 38)
@@ -3059,7 +3059,7 @@ function ju(e, t, n, r, a, o) {
3059
3059
  }, null, 8, ["onKeyup", "onBlur", "modelValue"])),
3060
3060
  Z(s, {
3061
3061
  icon: "",
3062
- onClick: t[11] || (t[11] = $e((l) => e.rgbOrHex = !e.rgbOrHex, ["prevent"]))
3062
+ onClick: t[11] || (t[11] = he((l) => e.rgbOrHex = !e.rgbOrHex, ["prevent"]))
3063
3063
  }, {
3064
3064
  default: Y(() => [
3065
3065
  (v(), y("svg", Su, Tu))
@@ -3068,7 +3068,7 @@ function ju(e, t, n, r, a, o) {
3068
3068
  }),
3069
3069
  Z(s, {
3070
3070
  icon: "",
3071
- onClick: $e(e.toggleInherit, ["prevent"])
3071
+ onClick: he(e.toggleInherit, ["prevent"])
3072
3072
  }, {
3073
3073
  default: Y(() => [
3074
3074
  (v(), y("svg", Ou, Iu))
@@ -3087,7 +3087,7 @@ const Lu = /* @__PURE__ */ F(bu, [["render", ju]]), nn = Symbol("DROPDOWN_STATE"
3087
3087
  name: "DropdownWrapper",
3088
3088
  setup() {
3089
3089
  const e = ue(nn, null);
3090
- ge("dropdown-select", e == null ? void 0 : e.handleSelect);
3090
+ ye("dropdown-select", e == null ? void 0 : e.handleSelect);
3091
3091
  }
3092
3092
  });
3093
3093
  function Pu(e, t, n, r, a, o) {
@@ -3102,7 +3102,7 @@ function aa(e, t) {
3102
3102
  }
3103
3103
  return X(e, (a) => {
3104
3104
  r(a);
3105
- }), be(() => {
3105
+ }), we(() => {
3106
3106
  Ne(() => {
3107
3107
  r(e.value);
3108
3108
  });
@@ -3201,12 +3201,12 @@ const da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3201
3201
  isDrop: !0,
3202
3202
  offset: a ? [-2, 2] : [0, 14]
3203
3203
  }), C = aa(o, d);
3204
- ge("dropdown-select", null);
3204
+ ye("dropdown-select", null);
3205
3205
  const T = Ae({
3206
3206
  handleSelect: S,
3207
3207
  isOpen: s
3208
3208
  });
3209
- ge(nn, T), X(
3209
+ ye(nn, T), X(
3210
3210
  () => e.open,
3211
3211
  (b) => {
3212
3212
  s.value = b;
@@ -3218,7 +3218,7 @@ const da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3218
3218
  }
3219
3219
  ), X(s, (b) => {
3220
3220
  b && M(), t("update:open", b);
3221
- }), be(() => {
3221
+ }), we(() => {
3222
3222
  Ne(() => {
3223
3223
  E(e.placement);
3224
3224
  });
@@ -3539,7 +3539,7 @@ const sd = N({
3539
3539
  disabled: J(e, "disabled"),
3540
3540
  loading: J(e, "loading")
3541
3541
  });
3542
- ge(fn, r), be(() => {
3542
+ ye(fn, r), we(() => {
3543
3543
  e.autoFocus && n && n.length > 0 && n[0].focus();
3544
3544
  }), X(() => e.errors, (u) => {
3545
3545
  u && Ne(() => {
@@ -3580,7 +3580,7 @@ function ld(e, t, n, r, a, o) {
3580
3580
  class: g([
3581
3581
  e.computedClasses
3582
3582
  ]),
3583
- onSubmit: t[0] || (t[0] = $e((...s) => e.submit && e.submit(...s), ["prevent"]))
3583
+ onSubmit: t[0] || (t[0] = he((...s) => e.submit && e.submit(...s), ["prevent"]))
3584
3584
  }, [
3585
3585
  j(e.$slots, "default", { loading: e.loading })
3586
3586
  ], 38);
@@ -3672,7 +3672,7 @@ const gd = N({
3672
3672
  setup(e) {
3673
3673
  let t = null;
3674
3674
  const n = w(!0);
3675
- be(() => {
3675
+ we(() => {
3676
3676
  r();
3677
3677
  });
3678
3678
  function r() {
@@ -3817,7 +3817,7 @@ const Ld = /* @__PURE__ */ F(gd, [["render", jd]]), Dd = N({
3817
3817
  },
3818
3818
  destroyAll: s
3819
3819
  };
3820
- ge("m-message", a);
3820
+ ye("m-message", a);
3821
3821
  function o(l, d) {
3822
3822
  const c = Math.random().toString(16).slice(2, 14), f = Ae({
3823
3823
  ...d,
@@ -3875,7 +3875,7 @@ function Pd(e, t, n, r, a, o) {
3875
3875
  k("div", {
3876
3876
  class: g(e.classes)
3877
3877
  }, [
3878
- (v(!0), y(Q, null, he(e.messageList, (i) => (v(), te(s, {
3878
+ (v(!0), y(Q, null, ge(e.messageList, (i) => (v(), te(s, {
3879
3879
  key: i.key,
3880
3880
  internalKey: i.key,
3881
3881
  variant: i.type,
@@ -4329,7 +4329,7 @@ function Cc(e, t, n, r, a, o) {
4329
4329
  k("div", {
4330
4330
  class: g(e.style.pages)
4331
4331
  }, [
4332
- (v(!0), y(Q, null, he(e.pageIndicatorSeries, (s, i) => (v(), y("button", {
4332
+ (v(!0), y(Q, null, ge(e.pageIndicatorSeries, (s, i) => (v(), y("button", {
4333
4333
  key: i,
4334
4334
  class: g([
4335
4335
  e.style.page,
@@ -4392,7 +4392,7 @@ const Bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4392
4392
  emits: le.emits(),
4393
4393
  props: {
4394
4394
  ...le.props(),
4395
- ...ye.props(),
4395
+ ...be.props(),
4396
4396
  label: {
4397
4397
  type: String
4398
4398
  },
@@ -4414,7 +4414,7 @@ const Bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4414
4414
  }
4415
4415
  },
4416
4416
  setup(e, { slots: t, emit: n, expose: r }) {
4417
- const a = w(null), { focus: o, blur: s } = ye(a), {
4417
+ const a = w(null), { focus: o, blur: s } = be(a), {
4418
4418
  id: i,
4419
4419
  insideForm: u,
4420
4420
  reset: l,
@@ -4502,7 +4502,7 @@ const ka = Symbol("RADIO_BUTTON_GROUP_STATE"), Fc = N({
4502
4502
  name: "MRadioButton",
4503
4503
  props: {
4504
4504
  ...le.props(),
4505
- ...ye.props(),
4505
+ ...be.props(),
4506
4506
  id: {
4507
4507
  type: [String, Number],
4508
4508
  required: !0
@@ -4531,7 +4531,7 @@ const ka = Symbol("RADIO_BUTTON_GROUP_STATE"), Fc = N({
4531
4531
  },
4532
4532
  emits: ["update:modelValue"],
4533
4533
  setup(e, { emit: t, expose: n }) {
4534
- const r = w(null), a = ue(ka, null), o = p(() => a == null ? void 0 : a.modelValue), s = p(() => (a == null ? void 0 : a.size) || e.size), i = p(() => a == null ? void 0 : a.name), { focus: u, blur: l } = ye(r);
4534
+ const r = w(null), a = ue(ka, null), o = p(() => a == null ? void 0 : a.modelValue), s = p(() => (a == null ? void 0 : a.size) || e.size), i = p(() => a == null ? void 0 : a.name), { focus: u, blur: l } = be(r);
4535
4535
  le(e, { focus: u, emit: t });
4536
4536
  const d = p(() => o.value === e.id), c = p(() => [
4537
4537
  Dc,
@@ -4627,7 +4627,7 @@ const Gc = N({
4627
4627
  modelValue: r,
4628
4628
  doUpdateValue: n
4629
4629
  });
4630
- return ge(ka, a), {
4630
+ return ye(ka, a), {
4631
4631
  computedClasses: p(() => [
4632
4632
  qc,
4633
4633
  {
@@ -4709,7 +4709,7 @@ function rf(e, t, n, r, a, o) {
4709
4709
  ]),
4710
4710
  e.closeable ? (v(), y("button", {
4711
4711
  key: 0,
4712
- onMousedown: t[0] || (t[0] = $e((...s) => e.close && e.close(...s), ["stop"])),
4712
+ onMousedown: t[0] || (t[0] = he((...s) => e.close && e.close(...s), ["stop"])),
4713
4713
  class: g(e.style.close),
4714
4714
  tabindex: "0"
4715
4715
  }, [
@@ -4762,7 +4762,7 @@ const Bf = N({
4762
4762
  },
4763
4763
  props: {
4764
4764
  ...le.props(),
4765
- ...ye.props(),
4765
+ ...be.props(),
4766
4766
  label: {
4767
4767
  type: String
4768
4768
  },
@@ -4847,7 +4847,7 @@ const Bf = N({
4847
4847
  } = e;
4848
4848
  Te && an(Te, H, ee), K && an(K, H, ee);
4849
4849
  }
4850
- const E = w(e.zIndex ?? C()), { focus: R, blur: S } = ye(r), {
4850
+ const E = w(e.zIndex ?? C()), { focus: R, blur: S } = be(r), {
4851
4851
  id: $,
4852
4852
  insideForm: A,
4853
4853
  inputListeners: O,
@@ -4917,7 +4917,7 @@ const Bf = N({
4917
4917
  onClick: () => fe("")
4918
4918
  }), H;
4919
4919
  });
4920
- function we() {
4920
+ function $e() {
4921
4921
  e.multiple && W.value.length !== 0 && (Array.isArray(L.value) ? L.value.length === W.value.length ? L.value = [] : L.value = W.value.map(
4922
4922
  (H) => H.value
4923
4923
  ) : L.value = []);
@@ -5092,7 +5092,7 @@ const Bf = N({
5092
5092
  style: Af,
5093
5093
  focused: d,
5094
5094
  scale: Vt,
5095
- toggleAllItems: we
5095
+ toggleAllItems: $e
5096
5096
  };
5097
5097
  }
5098
5098
  }), Rf = {
@@ -5142,14 +5142,14 @@ function Hf(e, t, n, r, a, o) {
5142
5142
  "aria-disabled": e.disabled ? "true" : "false",
5143
5143
  "aria-labelledby": `${e.id}-label`,
5144
5144
  tabindex: "0",
5145
- onMousedown: t[2] || (t[2] = $e((...i) => e.onSelectClick && e.onSelectClick(...i), ["prevent"])),
5146
- onFocusin: t[3] || (t[3] = $e((...i) => e.focusSelect && e.focusSelect(...i), ["stop"]))
5145
+ onMousedown: t[2] || (t[2] = he((...i) => e.onSelectClick && e.onSelectClick(...i), ["prevent"])),
5146
+ onFocusin: t[3] || (t[3] = he((...i) => e.focusSelect && e.focusSelect(...i), ["stop"]))
5147
5147
  }), [
5148
5148
  k("div", {
5149
5149
  class: g(e.selectComputedClasses)
5150
5150
  }, [
5151
5151
  e.multiple && Array.isArray(e.selected) && e.selected.length > 0 ? (v(), y(Q, { key: 0 }, [
5152
- (v(!0), y(Q, null, he(e.selectedMax, (i) => (v(), te(s, {
5152
+ (v(!0), y(Q, null, ge(e.selectedMax, (i) => (v(), te(s, {
5153
5153
  key: i,
5154
5154
  closeable: !0,
5155
5155
  onClose: (u) => e.removeSelected(u, i),
@@ -5206,7 +5206,7 @@ function Hf(e, t, n, r, a, o) {
5206
5206
  [e.style.checkAllButton]: !0,
5207
5207
  [e.style.checkAllButtonActive]: e.computedOptions.length > 0 && e.computedOptions.length === e.selected.length
5208
5208
  }),
5209
- onClick: t[0] || (t[0] = $e((...i) => e.toggleAllItems && e.toggleAllItems(...i), ["prevent"])),
5209
+ onClick: t[0] || (t[0] = he((...i) => e.toggleAllItems && e.toggleAllItems(...i), ["prevent"])),
5210
5210
  "aria-description": "Select all items"
5211
5211
  }, [
5212
5212
  e.computedOptions.length > 0 && e.computedOptions.length === e.selected.length ? (v(), y("svg", Lf, Pf)) : P("", !0)
@@ -5226,7 +5226,7 @@ function Hf(e, t, n, r, a, o) {
5226
5226
  k("div", {
5227
5227
  class: g(e.style.options)
5228
5228
  }, [
5229
- (v(!0), y(Q, null, he(e.computedOptions, (i, u) => (v(), y("div", {
5229
+ (v(!0), y(Q, null, ge(e.computedOptions, (i, u) => (v(), y("div", {
5230
5230
  key: u,
5231
5231
  ref_for: !0,
5232
5232
  ref: "optionsRef",
@@ -5235,7 +5235,7 @@ function Hf(e, t, n, r, a, o) {
5235
5235
  [e.style.optionSelected]: i.active,
5236
5236
  [e.style.optionFocused]: e.selectedIndex === u
5237
5237
  }),
5238
- onClick: $e(i.onClick, ["prevent"]),
5238
+ onClick: he(i.onClick, ["prevent"]),
5239
5239
  onHover: (l) => e.selectedIndex = u
5240
5240
  }, [
5241
5241
  k("span", {
@@ -5318,7 +5318,7 @@ const Jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5318
5318
  emits: le.emits(),
5319
5319
  props: {
5320
5320
  ...le.props(),
5321
- ...ye.props(),
5321
+ ...be.props(),
5322
5322
  label: {
5323
5323
  type: String
5324
5324
  },
@@ -5336,7 +5336,7 @@ const Jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5336
5336
  }
5337
5337
  },
5338
5338
  setup(e, { slots: t, emit: n, expose: r }) {
5339
- const a = w(null), { focus: o, blur: s } = ye(a), {
5339
+ const a = w(null), { focus: o, blur: s } = be(a), {
5340
5340
  id: i,
5341
5341
  insideForm: u,
5342
5342
  reset: l,
@@ -5390,7 +5390,7 @@ const Jf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5390
5390
  function np(e, t, n, r, a, o) {
5391
5391
  return v(), y("label", {
5392
5392
  class: g(e.style.base),
5393
- onClick: t[1] || (t[1] = $e((...s) => e.toggle && e.toggle(...s), ["prevent"]))
5393
+ onClick: t[1] || (t[1] = he((...s) => e.toggle && e.toggle(...s), ["prevent"]))
5394
5394
  }, [
5395
5395
  vt(k("input", Se({
5396
5396
  "onUpdate:modelValue": t[0] || (t[0] = (s) => e.checked = s),
@@ -5458,7 +5458,7 @@ const fp = N({
5458
5458
  function d() {
5459
5459
  s.selectTab(n.value);
5460
5460
  }
5461
- return be(() => {
5461
+ return we(() => {
5462
5462
  o.value = s.tabsContentRef.value;
5463
5463
  }), {
5464
5464
  computedValue: n,
@@ -5477,7 +5477,7 @@ function mp(e, t, n, r, a, o) {
5477
5477
  return v(), y("div", {
5478
5478
  ref: "tabRef",
5479
5479
  class: g(e.computedTabClasses),
5480
- onClick: t[1] || (t[1] = $e((...s) => e.handleClick && e.handleClick(...s), ["prevent"])),
5480
+ onClick: t[1] || (t[1] = he((...s) => e.handleClick && e.handleClick(...s), ["prevent"])),
5481
5481
  disabled: e.disabled
5482
5482
  }, [
5483
5483
  k("div", {
@@ -5494,7 +5494,7 @@ function mp(e, t, n, r, a, o) {
5494
5494
  k("button", {
5495
5495
  role: "button",
5496
5496
  class: g(e.close),
5497
- onClick: t[0] || (t[0] = (s) => e.$emit("onClose", { value: e.value, label: e.label }))
5497
+ onClick: t[0] || (t[0] = he((s) => e.$emit("onClose", { value: e.value, label: e.label }), ["prevent"]))
5498
5498
  }, null, 2)
5499
5499
  ])) : P("", !0),
5500
5500
  e.selected && e.teleportTo ? (v(), te(Fe, {
@@ -5558,7 +5558,7 @@ const hp = /* @__PURE__ */ F(fp, [["render", mp]]), gp = N({
5558
5558
  function c(f) {
5559
5559
  e.modelValue !== void 0 && (o.value = f, t("update:modelValue", f)), e.selected !== void 0 && (s.value = f, t("update:selected", f));
5560
5560
  }
5561
- return ge("tabs", {
5561
+ return ye("tabs", {
5562
5562
  tabsContentRef: r,
5563
5563
  selectTab: c,
5564
5564
  state: i
@@ -5776,7 +5776,7 @@ function Np(e, t, n, r, a, o) {
5776
5776
  ]),
5777
5777
  _: 1
5778
5778
  })) : P("", !0),
5779
- (v(!0), y(Q, null, he(e.headers, (f, m) => (v(), te(i, {
5779
+ (v(!0), y(Q, null, ge(e.headers, (f, m) => (v(), te(i, {
5780
5780
  key: m,
5781
5781
  width: f.width,
5782
5782
  style: re({ textAlign: f.align })
@@ -5793,7 +5793,7 @@ function Np(e, t, n, r, a, o) {
5793
5793
  }),
5794
5794
  Z(c, null, {
5795
5795
  default: Y(() => [
5796
- e.items.length > 0 ? (v(!0), y(Q, { key: 0 }, he(e.items, (f, m) => (v(), te(d, { key: m }, {
5796
+ e.items.length > 0 ? (v(!0), y(Q, { key: 0 }, ge(e.items, (f, m) => (v(), te(d, { key: m }, {
5797
5797
  default: Y(({ onHover: h }) => [
5798
5798
  e.modelValue ? (v(), te(l, { key: 0 }, {
5799
5799
  default: Y(() => [
@@ -5801,13 +5801,13 @@ function Np(e, t, n, r, a, o) {
5801
5801
  modelValue: e.selected,
5802
5802
  "onUpdate:modelValue": t[0] || (t[0] = (M) => e.selected = M),
5803
5803
  value: f,
5804
- onClick: t[1] || (t[1] = $e(() => {
5804
+ onClick: t[1] || (t[1] = he(() => {
5805
5805
  }, ["stop"]))
5806
5806
  }, null, 8, ["modelValue", "value"])
5807
5807
  ]),
5808
5808
  _: 2
5809
5809
  }, 1024)) : P("", !0),
5810
- (v(!0), y(Q, null, he(e.headers, (M, C) => (v(), te(l, {
5810
+ (v(!0), y(Q, null, ge(e.headers, (M, C) => (v(), te(l, {
5811
5811
  key: C,
5812
5812
  style: re({ textAlign: M.align })
5813
5813
  }, {
@@ -5858,7 +5858,7 @@ const xp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5858
5858
  name: "MTextArea",
5859
5859
  props: {
5860
5860
  ...le.props(),
5861
- ...ye.props(),
5861
+ ...be.props(),
5862
5862
  label: {
5863
5863
  type: String
5864
5864
  },
@@ -5901,7 +5901,7 @@ const xp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5901
5901
  },
5902
5902
  emits: le.emits(),
5903
5903
  setup(e, { slots: t, emit: n, expose: r }) {
5904
- const a = w(null), { focus: o, blur: s } = ye(a), {
5904
+ const a = w(null), { focus: o, blur: s } = be(a), {
5905
5905
  id: i,
5906
5906
  insideForm: u,
5907
5907
  reset: l,
@@ -6220,7 +6220,7 @@ function yv(e, t, n, r, a, o) {
6220
6220
  k("div", {
6221
6221
  class: g(e.style.listContainer)
6222
6222
  }, [
6223
- (v(!0), y(Q, null, he(e.sourceData, (s) => (v(), y("div", {
6223
+ (v(!0), y(Q, null, ge(e.sourceData, (s) => (v(), y("div", {
6224
6224
  key: (
6225
6225
  // @ts-ignore
6226
6226
  s[e.optionKey]
@@ -6246,7 +6246,7 @@ function yv(e, t, n, r, a, o) {
6246
6246
  k("div", {
6247
6247
  class: g(e.style.listContainer)
6248
6248
  }, [
6249
- (v(!0), y(Q, null, he(e.targetData, (s) => (v(), y("div", {
6249
+ (v(!0), y(Q, null, ge(e.targetData, (s) => (v(), y("div", {
6250
6250
  key: (
6251
6251
  // @ts-ignore
6252
6252
  s[e.optionKey]
@@ -6340,7 +6340,7 @@ const $v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6340
6340
  )
6341
6341
  );
6342
6342
  C.value = $;
6343
- }), be(() => {
6343
+ }), we(() => {
6344
6344
  a.value = r.value.clientHeight, o.value = r.value.clientWidth;
6345
6345
  }), {
6346
6346
  contentWrapper: n,
@@ -6374,11 +6374,11 @@ function kv(e, t, n, r, a, o) {
6374
6374
  k("div", {
6375
6375
  style: re({ transform: `translate(${e.offsetX}px, ${e.offsetY}px)` })
6376
6376
  }, [
6377
- (v(!0), y(Q, null, he(e.renderedItems, (s, i) => (v(), y("div", {
6377
+ (v(!0), y(Q, null, ge(e.renderedItems, (s, i) => (v(), y("div", {
6378
6378
  key: i,
6379
6379
  style: { display: "flex" }
6380
6380
  }, [
6381
- (v(!0), y(Q, null, he(s, (u, l) => (v(), y("div", {
6381
+ (v(!0), y(Q, null, ge(s, (u, l) => (v(), y("div", {
6382
6382
  key: l,
6383
6383
  style: re({ width: `${e.itemWidth}px`, height: `${e.itemHeight}px` })
6384
6384
  }, [
@@ -6421,7 +6421,7 @@ const Sv = /* @__PURE__ */ F(Cv, [["render", kv]]), Mv = {
6421
6421
  var s;
6422
6422
  (s = n.value) == null || s.close(), e.onOk && e.onOk(o);
6423
6423
  }
6424
- return be(() => {
6424
+ return we(() => {
6425
6425
  var o;
6426
6426
  (o = n.value) == null || o.open(null);
6427
6427
  }), {
@@ -6502,7 +6502,7 @@ const qa = /* @__PURE__ */ F(Tv, [["render", Ev]]), Av = {
6502
6502
  create: o,
6503
6503
  destroyAll: s
6504
6504
  };
6505
- return ge("m-confirm", i), {
6505
+ return ye("m-confirm", i), {
6506
6506
  ...i,
6507
6507
  dialogRefs: r,
6508
6508
  dialogList: n
@@ -6517,7 +6517,7 @@ function Rv(e, t, n, r, a, o) {
6517
6517
  key: 0,
6518
6518
  to: e.teleportTo ?? "body"
6519
6519
  }, [
6520
- (v(!0), y(Q, null, he(e.dialogList, (i) => (v(), te(s, {
6520
+ (v(!0), y(Q, null, ge(e.dialogList, (i) => (v(), te(s, {
6521
6521
  key: i.key,
6522
6522
  internalKey: i.key,
6523
6523
  title: i.title,
@@ -6810,7 +6810,7 @@ const Qa = /* @__PURE__ */ F(_v, [["render", xv]]), qv = N({
6810
6810
  const d = e[l];
6811
6811
  d && d.options.onClose && d.options.onClose(), o(l);
6812
6812
  }
6813
- return ge("m-dialog", {
6813
+ return ye("m-dialog", {
6814
6814
  create: r,
6815
6815
  remove: o
6816
6816
  }), {
@@ -6827,7 +6827,7 @@ function Kv(e, t, n, r, a, o) {
6827
6827
  const s = oe("MRenderer"), i = oe("MDialog");
6828
6828
  return v(), y(Q, null, [
6829
6829
  j(e.$slots, "default"),
6830
- Object.keys(e.dialogMap).length > 0 ? (v(!0), y(Q, { key: 0 }, he(Object.values(e.dialogMap), (u) => (v(), y(Q, null, [
6830
+ Object.keys(e.dialogMap).length > 0 ? (v(!0), y(Q, { key: 0 }, ge(Object.values(e.dialogMap), (u) => (v(), y(Q, null, [
6831
6831
  u.options.open ? (v(), te(i, Se({
6832
6832
  key: u.key,
6833
6833
  ref_for: !0
@@ -7528,7 +7528,7 @@ const fr = new Hm(), pr = N({
7528
7528
  const { onResize: o } = e;
7529
7529
  o !== void 0 && o(a);
7530
7530
  }
7531
- be(() => {
7531
+ we(() => {
7532
7532
  const a = n.$el;
7533
7533
  if (a === void 0) {
7534
7534
  Jn("resize-observer", "$el does not exist.");
@@ -7624,7 +7624,7 @@ const xm = Kt(".v-vl", {
7624
7624
  head: !0,
7625
7625
  anchorMetaName: bm,
7626
7626
  ssr: t
7627
- }), be(() => {
7627
+ }), we(() => {
7628
7628
  const { defaultScrollIndex: b, defaultScrollKey: B } = e;
7629
7629
  b != null ? h({ index: b }) : B != null && h({ key: B });
7630
7630
  });
@@ -7670,8 +7670,8 @@ const xm = Kt(".v-vl", {
7670
7670
  else if (L !== void 0)
7671
7671
  T(L, ae, W);
7672
7672
  else if (G !== void 0) {
7673
- const we = a.value.get(G);
7674
- we !== void 0 && T(we, ae, W);
7673
+ const $e = a.value.get(G);
7674
+ $e !== void 0 && T($e, ae, W);
7675
7675
  } else _ === "bottom" ? E(0, Number.MAX_SAFE_INTEGER, ae) : _ === "top" && E(0, 0, ae);
7676
7676
  };
7677
7677
  let M, C = null;
@@ -8439,7 +8439,7 @@ function jh(e, t, n, r, a, o) {
8439
8439
  k("div", {
8440
8440
  class: g(e.style.node)
8441
8441
  }, [
8442
- e.indentCount > 0 ? (v(!0), y(Q, { key: 0 }, he(e.indentCount, (i) => (v(), y("div", Ih, [
8442
+ e.indentCount > 0 ? (v(!0), y(Q, { key: 0 }, ge(e.indentCount, (i) => (v(), y("div", Ih, [
8443
8443
  (v(), y("div", {
8444
8444
  key: i,
8445
8445
  style: { width: "16px" }
@@ -8487,7 +8487,7 @@ const Ph = N({
8487
8487
  a,
8488
8488
  o
8489
8489
  ), i = p(() => r.value.getFlattenedNodes(s.value));
8490
- ge(po, {
8490
+ ye(po, {
8491
8491
  mergedExpandedKeysRef: s,
8492
8492
  indentRef: J(e, "indent"),
8493
8493
  expandOnClickRef: J(e, "expandOnClick"),