@rocketui/vue 0.1.13 → 0.1.14

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.
@@ -2298,10 +2298,10 @@ export declare const RItemGroup: __VLS_WithTemplateSlots_17<DefineComponent<__VL
2298
2298
  }, {
2299
2299
  disabled: boolean;
2300
2300
  modelValue: string[] | number[];
2301
+ max: number;
2301
2302
  as: string;
2302
2303
  selectedClass: string | string[];
2303
2304
  mandatory: boolean;
2304
- max: number;
2305
2305
  }, {}>, {
2306
2306
  default?(_: {
2307
2307
  isSelected: typeof isSelected;
@@ -7732,14 +7732,14 @@ function b1(...H) {
7732
7732
  Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
7733
7733
  const M = [], i = () => {
7734
7734
  M.forEach((u) => u()), M.length = 0;
7735
- }, e = (u, r, n, l) => (u.addEventListener(r, n, l), () => u.removeEventListener(r, n, l)), d = G(
7735
+ }, e = (u, a, n, l) => (u.addEventListener(a, n, l), () => u.removeEventListener(a, n, l)), d = G(
7736
7736
  () => [l1(V), J1(A)],
7737
- ([u, r]) => {
7737
+ ([u, a]) => {
7738
7738
  if (i(), !u)
7739
7739
  return;
7740
- const n = H5(r) ? { ...r } : r;
7740
+ const n = H5(a) ? { ...a } : a;
7741
7741
  M.push(
7742
- ...C.flatMap((l) => L.map((a) => e(u, l, a, n)))
7742
+ ...C.flatMap((l) => L.map((r) => e(u, l, r, n)))
7743
7743
  );
7744
7744
  },
7745
7745
  { immediate: !0, flush: "post" }
@@ -7757,10 +7757,10 @@ function M5(H, V, C = {}) {
7757
7757
  let e = !0;
7758
7758
  const d = (n) => A.some((l) => {
7759
7759
  if (typeof l == "string")
7760
- return Array.from(L.document.querySelectorAll(l)).some((a) => a === n.target || n.composedPath().includes(a));
7760
+ return Array.from(L.document.querySelectorAll(l)).some((r) => r === n.target || n.composedPath().includes(r));
7761
7761
  {
7762
- const a = l1(l);
7763
- return a && (n.target === a || n.composedPath().includes(a));
7762
+ const r = l1(l);
7763
+ return r && (n.target === r || n.composedPath().includes(r));
7764
7764
  }
7765
7765
  }), u = [
7766
7766
  b1(L, "click", (n) => {
@@ -7780,8 +7780,8 @@ function M5(H, V, C = {}) {
7780
7780
  i && b1(L, "blur", (n) => {
7781
7781
  setTimeout(() => {
7782
7782
  var l;
7783
- const a = l1(H);
7784
- ((l = L.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(a != null && a.contains(L.document.activeElement)) && V(n);
7783
+ const r = l1(H);
7784
+ ((l = L.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(r != null && r.contains(L.document.activeElement)) && V(n);
7785
7785
  }, 0);
7786
7786
  })
7787
7787
  ].filter(Boolean);
@@ -7888,7 +7888,7 @@ function G1(H, V, C) {
7888
7888
  reference: L,
7889
7889
  floating: A
7890
7890
  } = H;
7891
- const M = f1(V), i = _1(V), e = D1(i), d = V1(V), t = M === "y", u = L.x + L.width / 2 - A.width / 2, r = L.y + L.height / 2 - A.height / 2, n = L[e] / 2 - A[e] / 2;
7891
+ const M = f1(V), i = _1(V), e = D1(i), d = V1(V), t = M === "y", u = L.x + L.width / 2 - A.width / 2, a = L.y + L.height / 2 - A.height / 2, n = L[e] / 2 - A[e] / 2;
7892
7892
  let l;
7893
7893
  switch (d) {
7894
7894
  case "top":
@@ -7906,13 +7906,13 @@ function G1(H, V, C) {
7906
7906
  case "right":
7907
7907
  l = {
7908
7908
  x: L.x + L.width,
7909
- y: r
7909
+ y: a
7910
7910
  };
7911
7911
  break;
7912
7912
  case "left":
7913
7913
  l = {
7914
7914
  x: L.x - A.width,
7915
- y: r
7915
+ y: a
7916
7916
  };
7917
7917
  break;
7918
7918
  default:
@@ -7944,8 +7944,8 @@ const n5 = async (H, V, C) => {
7944
7944
  strategy: A
7945
7945
  }), {
7946
7946
  x: u,
7947
- y: r
7948
- } = G1(t, L, d), n = L, l = {}, a = 0;
7947
+ y: a
7948
+ } = G1(t, L, d), n = L, l = {}, r = 0;
7949
7949
  for (let B = 0; B < e.length; B++) {
7950
7950
  const {
7951
7951
  name: g,
@@ -7957,7 +7957,7 @@ const n5 = async (H, V, C) => {
7957
7957
  reset: F
7958
7958
  } = await w({
7959
7959
  x: u,
7960
- y: r,
7960
+ y: a,
7961
7961
  initialPlacement: L,
7962
7962
  placement: n,
7963
7963
  strategy: A,
@@ -7969,27 +7969,27 @@ const n5 = async (H, V, C) => {
7969
7969
  floating: V
7970
7970
  }
7971
7971
  });
7972
- if (u = P ?? u, r = T ?? r, l = {
7972
+ if (u = P ?? u, a = T ?? a, l = {
7973
7973
  ...l,
7974
7974
  [g]: {
7975
7975
  ...l[g],
7976
7976
  ...D
7977
7977
  }
7978
- }, F && a <= 50) {
7979
- a++, typeof F == "object" && (F.placement && (n = F.placement), F.rects && (t = F.rects === !0 ? await i.getElementRects({
7978
+ }, F && r <= 50) {
7979
+ r++, typeof F == "object" && (F.placement && (n = F.placement), F.rects && (t = F.rects === !0 ? await i.getElementRects({
7980
7980
  reference: H,
7981
7981
  floating: V,
7982
7982
  strategy: A
7983
7983
  }) : F.rects), {
7984
7984
  x: u,
7985
- y: r
7985
+ y: a
7986
7986
  } = G1(t, n, d)), B = -1;
7987
7987
  continue;
7988
7988
  }
7989
7989
  }
7990
7990
  return {
7991
7991
  x: u,
7992
- y: r,
7992
+ y: a,
7993
7993
  placement: n,
7994
7994
  strategy: A,
7995
7995
  middlewareData: l
@@ -8008,15 +8008,15 @@ async function p1(H, V) {
8008
8008
  } = H, {
8009
8009
  boundary: t = "clippingAncestors",
8010
8010
  rootBoundary: u = "viewport",
8011
- elementContext: r = "floating",
8011
+ elementContext: a = "floating",
8012
8012
  altBoundary: n = !1,
8013
8013
  padding: l = 0
8014
- } = t1(V, H), a = L2(l), g = e[n ? r === "floating" ? "reference" : "floating" : r], w = O1(await M.getClippingRect({
8014
+ } = t1(V, H), r = L2(l), g = e[n ? a === "floating" ? "reference" : "floating" : a], w = O1(await M.getClippingRect({
8015
8015
  element: (C = await (M.isElement == null ? void 0 : M.isElement(g))) == null || C ? g : g.contextElement || await (M.getDocumentElement == null ? void 0 : M.getDocumentElement(e.floating)),
8016
8016
  boundary: t,
8017
8017
  rootBoundary: u,
8018
8018
  strategy: d
8019
- })), P = r === "floating" ? {
8019
+ })), P = a === "floating" ? {
8020
8020
  ...i.floating,
8021
8021
  x: L,
8022
8022
  y: A
@@ -8032,10 +8032,10 @@ async function p1(H, V) {
8032
8032
  strategy: d
8033
8033
  }) : P);
8034
8034
  return {
8035
- top: (w.top - F.top + a.top) / D.y,
8036
- bottom: (F.bottom - w.bottom + a.bottom) / D.y,
8037
- left: (w.left - F.left + a.left) / D.x,
8038
- right: (F.right - w.right + a.right) / D.x
8035
+ top: (w.top - F.top + r.top) / D.y,
8036
+ bottom: (F.bottom - w.bottom + r.bottom) / D.y,
8037
+ left: (w.left - F.left + r.left) / D.x,
8038
+ right: (F.right - w.right + r.right) / D.x
8039
8039
  };
8040
8040
  }
8041
8041
  const r5 = (H) => ({
@@ -8056,13 +8056,13 @@ const r5 = (H) => ({
8056
8056
  } = t1(H, V) || {};
8057
8057
  if (t == null)
8058
8058
  return {};
8059
- const r = L2(u), n = {
8059
+ const a = L2(u), n = {
8060
8060
  x: C,
8061
8061
  y: L
8062
- }, l = _1(A), a = D1(l), B = await i.getDimensions(t), g = l === "y", w = g ? "top" : "left", P = g ? "bottom" : "right", T = g ? "clientHeight" : "clientWidth", D = M.reference[a] + M.reference[l] - n[l] - M.floating[a], F = n[l] - M.reference[l], c = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8062
+ }, l = _1(A), r = D1(l), B = await i.getDimensions(t), g = l === "y", w = g ? "top" : "left", P = g ? "bottom" : "right", T = g ? "clientHeight" : "clientWidth", D = M.reference[r] + M.reference[l] - n[l] - M.floating[r], F = n[l] - M.reference[l], c = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8063
8063
  let f = c ? c[T] : 0;
8064
- (!f || !await (i.isElement == null ? void 0 : i.isElement(c))) && (f = e.floating[T] || M.floating[a]);
8065
- const Z = D / 2 - F / 2, y = f / 2 - B[a] / 2 - 1, O = a1(r[w], y), _ = a1(r[P], y), N = O, m1 = f - B[a] - _, W = f / 2 - B[a] / 2 + Z, z = T1(N, W, m1), U = !d.arrow && u1(A) != null && W != z && M.reference[a] / 2 - (W < N ? O : _) - B[a] / 2 < 0, K = U ? W < N ? W - N : W - m1 : 0;
8064
+ (!f || !await (i.isElement == null ? void 0 : i.isElement(c))) && (f = e.floating[T] || M.floating[r]);
8065
+ const Z = D / 2 - F / 2, y = f / 2 - B[r] / 2 - 1, O = a1(a[w], y), _ = a1(a[P], y), N = O, m1 = f - B[r] - _, W = f / 2 - B[r] / 2 + Z, z = T1(N, W, m1), U = !d.arrow && u1(A) != null && W != z && M.reference[r] / 2 - (W < N ? O : _) - B[r] / 2 < 0, K = U ? W < N ? W - N : W - m1 : 0;
8066
8066
  return {
8067
8067
  [l]: n[l] + K,
8068
8068
  data: {
@@ -8090,20 +8090,20 @@ const r5 = (H) => ({
8090
8090
  elements: t
8091
8091
  } = V, {
8092
8092
  mainAxis: u = !0,
8093
- crossAxis: r = !0,
8093
+ crossAxis: a = !0,
8094
8094
  fallbackPlacements: n,
8095
8095
  fallbackStrategy: l = "bestFit",
8096
- fallbackAxisSideDirection: a = "none",
8096
+ fallbackAxisSideDirection: r = "none",
8097
8097
  flipAlignment: B = !0,
8098
8098
  ...g
8099
8099
  } = t1(H, V);
8100
8100
  if ((C = M.arrow) != null && C.alignmentOffset)
8101
8101
  return {};
8102
8102
  const w = V1(A), P = V1(e) === e, T = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), D = n || (P || !B ? [c1(e)] : t5(e));
8103
- !n && a !== "none" && D.push(...l5(e, B, a, T));
8103
+ !n && r !== "none" && D.push(...l5(e, B, r, T));
8104
8104
  const F = [e, ...D], c = await p1(V, g), f = [];
8105
8105
  let Z = ((L = M.flip) == null ? void 0 : L.overflows) || [];
8106
- if (u && f.push(c[w]), r) {
8106
+ if (u && f.push(c[w]), a) {
8107
8107
  const N = d5(A, i, T);
8108
8108
  f.push(c[N[0]], c[N[1]]);
8109
8109
  }
@@ -8205,22 +8205,22 @@ async function u5(H, V) {
8205
8205
  placement: C,
8206
8206
  platform: L,
8207
8207
  elements: A
8208
- } = H, M = await (L.isRTL == null ? void 0 : L.isRTL(A.floating)), i = V1(C), e = u1(C), d = f1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, u = M && d ? -1 : 1, r = t1(V, H);
8208
+ } = H, M = await (L.isRTL == null ? void 0 : L.isRTL(A.floating)), i = V1(C), e = u1(C), d = f1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, u = M && d ? -1 : 1, a = t1(V, H);
8209
8209
  let {
8210
8210
  mainAxis: n,
8211
8211
  crossAxis: l,
8212
- alignmentAxis: a
8213
- } = typeof r == "number" ? {
8214
- mainAxis: r,
8212
+ alignmentAxis: r
8213
+ } = typeof a == "number" ? {
8214
+ mainAxis: a,
8215
8215
  crossAxis: 0,
8216
8216
  alignmentAxis: null
8217
8217
  } : {
8218
8218
  mainAxis: 0,
8219
8219
  crossAxis: 0,
8220
8220
  alignmentAxis: null,
8221
- ...r
8221
+ ...a
8222
8222
  };
8223
- return e && typeof a == "number" && (l = e === "end" ? a * -1 : a), d ? {
8223
+ return e && typeof r == "number" && (l = e === "end" ? r * -1 : r), d ? {
8224
8224
  x: l * u,
8225
8225
  y: n * t
8226
8226
  } : {
@@ -8272,20 +8272,20 @@ const S5 = function(H) {
8272
8272
  } = t1(H, V), t = {
8273
8273
  x: C,
8274
8274
  y: L
8275
- }, u = await p1(V, d), r = f1(V1(A)), n = V2(r);
8276
- let l = t[n], a = t[r];
8275
+ }, u = await p1(V, d), a = f1(V1(A)), n = V2(a);
8276
+ let l = t[n], r = t[a];
8277
8277
  if (M) {
8278
8278
  const g = n === "y" ? "top" : "left", w = n === "y" ? "bottom" : "right", P = l + u[g], T = l - u[w];
8279
8279
  l = T1(P, l, T);
8280
8280
  }
8281
8281
  if (i) {
8282
- const g = r === "y" ? "top" : "left", w = r === "y" ? "bottom" : "right", P = a + u[g], T = a - u[w];
8283
- a = T1(P, a, T);
8282
+ const g = a === "y" ? "top" : "left", w = a === "y" ? "bottom" : "right", P = r + u[g], T = r - u[w];
8283
+ r = T1(P, r, T);
8284
8284
  }
8285
8285
  const B = e.fn({
8286
8286
  ...V,
8287
8287
  [n]: l,
8288
- [r]: a
8288
+ [a]: r
8289
8289
  });
8290
8290
  return {
8291
8291
  ...B,
@@ -8430,18 +8430,18 @@ function Z1(H, V, C, L) {
8430
8430
  let i = X(1);
8431
8431
  V && (L ? Y(L) && (i = i1(L)) : i = i1(H));
8432
8432
  const e = f5(M, C, L) ? d2(M) : X(0);
8433
- let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, u = A.width / i.x, r = A.height / i.y;
8433
+ let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, u = A.width / i.x, a = A.height / i.y;
8434
8434
  if (M) {
8435
8435
  const n = I(M), l = L && Y(L) ? I(L) : L;
8436
- let a = n.frameElement;
8437
- for (; a && L && l !== n; ) {
8438
- const B = i1(a), g = a.getBoundingClientRect(), w = Q(a), P = g.left + (a.clientLeft + parseFloat(w.paddingLeft)) * B.x, T = g.top + (a.clientTop + parseFloat(w.paddingTop)) * B.y;
8439
- d *= B.x, t *= B.y, u *= B.x, r *= B.y, d += P, t += T, a = I(a).frameElement;
8436
+ let r = n.frameElement;
8437
+ for (; r && L && l !== n; ) {
8438
+ const B = i1(r), g = r.getBoundingClientRect(), w = Q(r), P = g.left + (r.clientLeft + parseFloat(w.paddingLeft)) * B.x, T = g.top + (r.clientTop + parseFloat(w.paddingTop)) * B.y;
8439
+ d *= B.x, t *= B.y, u *= B.x, a *= B.y, d += P, t += T, r = I(r).frameElement;
8440
8440
  }
8441
8441
  }
8442
8442
  return O1({
8443
8443
  width: u,
8444
- height: r,
8444
+ height: a,
8445
8445
  x: d,
8446
8446
  y: t
8447
8447
  });
@@ -8555,8 +8555,8 @@ function y5(H) {
8555
8555
  strategy: A
8556
8556
  } = H;
8557
8557
  const i = [...C === "clippingAncestors" ? w5(V, this._c) : [].concat(C), L], e = i[0], d = i.reduce((t, u) => {
8558
- const r = K1(V, u, A);
8559
- return t.top = A1(r.top, t.top), t.right = a1(r.right, t.right), t.bottom = a1(r.bottom, t.bottom), t.left = A1(r.left, t.left), t;
8558
+ const a = K1(V, u, A);
8559
+ return t.top = A1(a.top, t.top), t.right = a1(a.right, t.right), t.bottom = a1(a.bottom, t.bottom), t.left = A1(a.left, t.left), t;
8560
8560
  }, K1(V, e, A));
8561
8561
  return {
8562
8562
  width: d.right - d.left,
@@ -8654,7 +8654,7 @@ async function D5({ value: H }, { value: V }, { value: C }, L, A, M, i = 300, e)
8654
8654
  a5(),
8655
8655
  Z5()
8656
8656
  ]
8657
- }).then(({ x: d, y: t, placement: u, middlewareData: r }) => {
8657
+ }).then(({ x: d, y: t, placement: u, middlewareData: a }) => {
8658
8658
  var l;
8659
8659
  if (!V)
8660
8660
  return;
@@ -8665,8 +8665,8 @@ async function D5({ value: H }, { value: V }, { value: C }, L, A, M, i = 300, e)
8665
8665
  top: `${t}px`,
8666
8666
  animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
8667
8667
  transformOrigin: "start"
8668
- }), C && r.arrow) {
8669
- const { x: a, y: B } = r.arrow, g = {
8668
+ }), C && a.arrow) {
8669
+ const { x: r, y: B } = a.arrow, g = {
8670
8670
  top: "bottom",
8671
8671
  right: "left",
8672
8672
  bottom: "top",
@@ -8674,7 +8674,7 @@ async function D5({ value: H }, { value: V }, { value: C }, L, A, M, i = 300, e)
8674
8674
  /* Right */
8675
8675
  }[u.split("-")[0]];
8676
8676
  Object.assign(C.style, {
8677
- left: d != null ? `${a}px` : "",
8677
+ left: d != null ? `${r}px` : "",
8678
8678
  top: t != null ? `${B}px` : "",
8679
8679
  right: "",
8680
8680
  bottom: "",
@@ -8709,7 +8709,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8709
8709
  setup(H, { emit: V }) {
8710
8710
  const C = H, L = V, A = E(), M = E(), i = E();
8711
8711
  async function e() {
8712
- a(), M.value.style.display = "block", L("show"), t();
8712
+ r(), M.value.style.display = "block", L("show"), t();
8713
8713
  }
8714
8714
  function d() {
8715
8715
  C.disabled || !M.value || (M.value.style.display = "", L("hide"));
@@ -8722,16 +8722,16 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8722
8722
  function u() {
8723
8723
  C.disabled || C.triggers.includes(j.Click) && (M.value.style.display === "block" ? d() : e());
8724
8724
  }
8725
- function r() {
8725
+ function a() {
8726
8726
  C.disabled || C.triggers.includes(j.Hover) && e();
8727
8727
  }
8728
8728
  function n() {
8729
8729
  C.disabled || (M.value.style.display === "" && C.triggers.includes(j.Hover) ? e() : M.value.style.display !== "" && C.triggers.includes(j.Hover) && d());
8730
8730
  }
8731
8731
  function l() {
8732
- C.triggers.includes(j.Hover) && a();
8732
+ C.triggers.includes(j.Hover) && r();
8733
8733
  }
8734
- function a() {
8734
+ function r() {
8735
8735
  const { placement: g, offset: w, padding: P, disabled: T, showDelay: D, type: F } = C;
8736
8736
  T || D5(A, M, i, g, w, P, D, F);
8737
8737
  }
@@ -8741,9 +8741,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8741
8741
  "r-tooltip--light": C.light
8742
8742
  }));
8743
8743
  return window.onresize = () => {
8744
- C.resizable && a();
8744
+ C.resizable && r();
8745
8745
  }, document.addEventListener("scroll", () => {
8746
- a();
8746
+ r();
8747
8747
  }), q1(
8748
8748
  () => {
8749
8749
  C.disabled || (C.shown && C.triggers.includes(j.Manual) ? e() : !C.shown && C.triggers.includes(j.Manual) && d());
@@ -8751,7 +8751,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8751
8751
  { flush: "post" }
8752
8752
  // this is important to avoid infinite loop & for fire on mounted
8753
8753
  ), Y1(() => {
8754
- M5(
8754
+ C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", r()), M5(
8755
8755
  A,
8756
8756
  () => {
8757
8757
  C.outsideClick && d();
@@ -8767,18 +8767,18 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8767
8767
  "aria-disabled": C.disabled,
8768
8768
  class: p(["r-tooltip-trigger", g.triggerClass]),
8769
8769
  onClick: u,
8770
- onMouseenter: r,
8770
+ onMouseenter: a,
8771
8771
  onMouseleave: n,
8772
8772
  onMousemove: l
8773
8773
  }, [
8774
8774
  h(g.$slots, "default", {
8775
8775
  activators: {
8776
8776
  click: u,
8777
- mouseenter: r,
8777
+ mouseenter: a,
8778
8778
  mouseleave: n,
8779
8779
  mousemove: l
8780
8780
  },
8781
- updatePosition: a
8781
+ updatePosition: r
8782
8782
  }, () => [
8783
8783
  S("div", {
8784
8784
  innerHTML: C.triggerContent
@@ -8795,7 +8795,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8795
8795
  }, [
8796
8796
  h(g.$slots, "content", {
8797
8797
  hide: d,
8798
- updatePosition: a
8798
+ updatePosition: r
8799
8799
  }, () => [
8800
8800
  C.text ? (m(), o("div", {
8801
8801
  key: 0,
@@ -8862,7 +8862,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8862
8862
  emits: ["update:modelValue"],
8863
8863
  setup(H, { emit: V }) {
8864
8864
  const C = H, L = V, A = E({ value: "", label: "" }), M = d1([]), i = E(!1), e = E(""), d = E(), t = E(), u = E();
8865
- function r(c, f) {
8865
+ function a(c, f) {
8866
8866
  var Z, y, O;
8867
8867
  if (c.stopPropagation(), !C.disabled) {
8868
8868
  if (i.value = !i.value, f && f(), i.value) {
@@ -8883,15 +8883,15 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8883
8883
  M.find((_) => _.value === f.value) ? M.splice(M.indexOf(f), 1) : M.push(f), e.value = "", C.searchable && ((O = t.value) == null || O.focus());
8884
8884
  return;
8885
8885
  }
8886
- a(c, f), C.closeOnSelect && (Z(), n());
8886
+ r(c, f), C.closeOnSelect && (Z(), n());
8887
8887
  }
8888
8888
  }
8889
- function a(c, f) {
8889
+ function r(c, f) {
8890
8890
  if (A.value.value === f.value) {
8891
8891
  A.value = {}, e.value = "", L("update:modelValue", "");
8892
8892
  return;
8893
8893
  }
8894
- e.value = f.label, A.value = f, r(c), L("update:modelValue", f);
8894
+ e.value = f.label, A.value = f, a(c), L("update:modelValue", f);
8895
8895
  }
8896
8896
  function B(c, f, Z) {
8897
8897
  if (c instanceof KeyboardEvent && c.key !== "Backspace" || e.value !== "")
@@ -8936,7 +8936,6 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8936
8936
  offset: 0,
8937
8937
  "outside-click": "",
8938
8938
  placement: "bottom",
8939
- resizable: "",
8940
8939
  "tooltip-class": "w-max",
8941
8940
  "trigger-class": "w-full",
8942
8941
  triggers: ["click"],
@@ -8954,7 +8953,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8954
8953
  "r-dropdown--error": C.errorMsg
8955
8954
  }]),
8956
8955
  role: "select",
8957
- onClick: (O) => r(O, Z.click)
8956
+ onClick: (O) => a(O, Z.click)
8958
8957
  }, [
8959
8958
  C.prependIcon || c.$slots.prepend ? (m(), o("div", {
8960
8959
  key: 0,
@@ -9456,7 +9455,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9456
9455
  id: t.id,
9457
9456
  key: u,
9458
9457
  modelValue: A.value,
9459
- "onUpdate:modelValue": d[0] || (d[0] = (r) => A.value = r),
9458
+ "onUpdate:modelValue": d[0] || (d[0] = (a) => A.value = a),
9460
9459
  active: u === A.value,
9461
9460
  "append-icon": t.appendIcon,
9462
9461
  block: e.block,
@@ -9579,34 +9578,34 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9579
9578
  url: "mdiLink",
9580
9579
  number: "mdiNumeric",
9581
9580
  text: ""
9582
- }, d = E(!1), t = k(() => !!M.value), u = k(() => M.value.length > 0), r = k(() => {
9581
+ }, d = E(!1), t = k(() => !!M.value), u = k(() => M.value.length > 0), a = k(() => {
9583
9582
  var Z;
9584
9583
  return (Z = C.errorMsg) == null ? void 0 : Z.length;
9585
9584
  }), n = k(() => C.clearable && u.value), l = k(() => {
9586
9585
  const { disabled: Z, loading: y } = C;
9587
9586
  return {
9588
9587
  "r-textfield": !0,
9589
- "r-textfield--error": r.value,
9588
+ "r-textfield--error": a.value,
9590
9589
  "r-textfield--loading": y,
9591
9590
  "r-textfield--disabled": Z,
9592
9591
  "r-textfield--clearable": n.value,
9593
9592
  "r-textfield--focus": d.value,
9594
9593
  "r-textfield--filled": t.value
9595
9594
  };
9596
- }), a = k(() => ({
9595
+ }), r = k(() => ({
9597
9596
  "r-textfield__prepend-icon": !0,
9598
9597
  "r-textfield__prepend-icon--loading": C.loading,
9599
- "r-textfield__prepend-icon--error": r.value && t.value
9598
+ "r-textfield__prepend-icon--error": a.value && t.value
9600
9599
  })), B = k(() => ({
9601
9600
  "r-textfield__append-icon": !0,
9602
9601
  "r-textfield__append-icon--clear": n.value,
9603
- "r-textfield__append-icon--error": r.value
9602
+ "r-textfield__append-icon--error": a.value
9604
9603
  })), g = k(() => {
9605
9604
  const { prependIcon: Z, type: y } = C;
9606
9605
  return Z === "none" ? "" : Z || e[y];
9607
9606
  }), w = k(() => {
9608
9607
  const { appendIcon: Z, type: y } = C;
9609
- return Z === "none" ? "" : r.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(y) ? "mdiClose" : y === "password" && i.value === "password" ? "mdiEyeOutline" : y === "password" && i.value === "text" ? "mdiEyeOffOutline" : Z;
9608
+ return Z === "none" ? "" : a.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(y) ? "mdiClose" : y === "password" && i.value === "password" ? "mdiEyeOutline" : y === "password" && i.value === "text" ? "mdiEyeOffOutline" : Z;
9610
9609
  });
9611
9610
  function P(Z) {
9612
9611
  d.value = !0, L("focus", Z);
@@ -9627,7 +9626,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9627
9626
  }
9628
9627
  L("click:icon", {
9629
9628
  value: i.value === "number" ? +M.value : M.value
9630
- }), i.value === "password" && c();
9629
+ }), C.type === "password" && c();
9631
9630
  }
9632
9631
  function c() {
9633
9632
  i.value = i.value === "password" ? "text" : "password";
@@ -9668,7 +9667,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9668
9667
  h(Z.$slots, "prepend"),
9669
9668
  g.value && !Z.$slots.prepend ? (m(), R(x, {
9670
9669
  key: 0,
9671
- class: p(a.value),
9670
+ class: p(r.value),
9672
9671
  name: g.value,
9673
9672
  size: 20
9674
9673
  }, null, 8, ["class", "name"])) : s("", !0),
@@ -9688,8 +9687,8 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9688
9687
  onFocus: P,
9689
9688
  onInput: D
9690
9689
  }, null, 40, B3),
9691
- r.value ? s("", !0) : h(Z.$slots, "append", { key: 1 }),
9692
- w.value && !Z.$slots.append || r.value ? (m(), R(x, {
9690
+ a.value ? s("", !0) : h(Z.$slots, "append", { key: 1 }),
9691
+ w.value && !Z.$slots.append || a.value ? (m(), R(x, {
9693
9692
  key: 2,
9694
9693
  class: p(B.value),
9695
9694
  name: `${w.value}`,
@@ -9878,7 +9877,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9878
9877
  }
9879
9878
  k1(`${w1}:isSelected`, e);
9880
9879
  function d(t, u) {
9881
- C.disabled || C.mandatory && M.value.length === 1 && u || C.max && M.value.length === C.max && u || (C.multiple ? u ? M.value.push(t) : M.value = M.value.filter((r) => r !== t) : M.value = u ? [t] : [], L("update:modelValue", M.value));
9880
+ C.disabled || C.mandatory && M.value.length === 1 && u || C.max && M.value.length === C.max && u || (C.multiple ? u ? M.value.push(t) : M.value = M.value.filter((a) => a !== t) : M.value = u ? [t] : [], L("update:modelValue", M.value));
9882
9881
  }
9883
9882
  return k1(`${w1}:select`, d), (t, u) => (m(), R(h2(A.value), null, {
9884
9883
  default: n1(() => [