@rocketui/vue 0.2.14 → 0.2.15

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.
@@ -2352,10 +2352,10 @@ export declare const RItemGroup: __VLS_WithTemplateSlots_17<DefineComponent<__VL
2352
2352
  }, {
2353
2353
  disabled: boolean;
2354
2354
  modelValue: string[] | number[];
2355
+ as: string;
2355
2356
  selectedClass: string | string[];
2356
2357
  mandatory: boolean;
2357
2358
  max: number;
2358
- as: string;
2359
2359
  }, {}>, {
2360
2360
  default?(_: {
2361
2361
  isSelected: typeof isSelected;
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, openBlock as m, createElementBlock as r, createElementVNode as S, unref as V1, reactive as m1, Fragment as L1, renderList as A1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as c, mergeProps as j1, createBlock as _, watch as G, getCurrentScope as Z2, onScopeDispose as u2, ref as N, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as r1, withDirectives as Y1, withModifiers as d1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
1
+ import { defineComponent as T, openBlock as m, createElementBlock as r, createElementVNode as S, unref as V1, reactive as Z1, Fragment as L1, renderList as A1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as c, mergeProps as j1, createBlock as _, watch as G, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as d1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
2
2
  const k2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7322,7 +7322,7 @@ const k2 = {
7322
7322
  accordions: {}
7323
7323
  },
7324
7324
  setup(H) {
7325
- const V = H, C = m1(
7325
+ const V = H, C = Z1(
7326
7326
  V.accordions.map(({ title: A, content: L }, i) => ({
7327
7327
  title: A,
7328
7328
  content: L,
@@ -7585,7 +7585,7 @@ const k2 = {
7585
7585
  },
7586
7586
  emits: ["update:modelValue"],
7587
7587
  setup(H, { emit: V }) {
7588
- const C = H, M = V, A = m1({
7588
+ const C = H, M = V, A = Z1({
7589
7589
  checked: !1,
7590
7590
  indeterminate: !1
7591
7591
  }), L = {
@@ -7726,7 +7726,7 @@ function M5() {
7726
7726
  var H;
7727
7727
  return C2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7728
7728
  }
7729
- function o1(H) {
7729
+ function l1(H) {
7730
7730
  var V;
7731
7731
  const C = J1(H);
7732
7732
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
@@ -7740,7 +7740,7 @@ function y1(...H) {
7740
7740
  const L = [], i = () => {
7741
7741
  L.forEach((l) => l()), L.length = 0;
7742
7742
  }, e = (l, o, n, a) => (l.addEventListener(o, n, a), () => l.removeEventListener(o, n, a)), t = G(
7743
- () => [o1(V), J1(A)],
7743
+ () => [l1(V), J1(A)],
7744
7744
  ([l, o]) => {
7745
7745
  if (i(), !l)
7746
7746
  return;
@@ -7766,12 +7766,12 @@ function A5(H, V, C = {}) {
7766
7766
  if (typeof a == "string")
7767
7767
  return Array.from(M.document.querySelectorAll(a)).some((Z) => Z === n.target || n.composedPath().includes(Z));
7768
7768
  {
7769
- const Z = o1(a);
7769
+ const Z = l1(a);
7770
7770
  return Z && (n.target === Z || n.composedPath().includes(Z));
7771
7771
  }
7772
7772
  }), l = [
7773
7773
  y1(M, "click", (n) => {
7774
- const a = o1(H);
7774
+ const a = l1(H);
7775
7775
  if (!(!a || a === n.target || n.composedPath().includes(a))) {
7776
7776
  if (n.detail === 0 && (e = !t(n)), !e) {
7777
7777
  e = !0;
@@ -7781,20 +7781,20 @@ function A5(H, V, C = {}) {
7781
7781
  }
7782
7782
  }, { passive: !0, capture: L }),
7783
7783
  y1(M, "pointerdown", (n) => {
7784
- const a = o1(H);
7784
+ const a = l1(H);
7785
7785
  e = !t(n) && !!(a && !n.composedPath().includes(a));
7786
7786
  }, { passive: !0 }),
7787
7787
  i && y1(M, "blur", (n) => {
7788
7788
  setTimeout(() => {
7789
7789
  var a;
7790
- const Z = o1(H);
7790
+ const Z = l1(H);
7791
7791
  ((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(n);
7792
7792
  }, 0);
7793
7793
  })
7794
7794
  ].filter(Boolean);
7795
7795
  return () => l.forEach((n) => n());
7796
7796
  }
7797
- const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, f1 = Math.round, J = (H) => ({
7797
+ const i5 = ["top", "right", "bottom", "left"], r1 = Math.min, i1 = Math.max, f1 = Math.round, J = (H) => ({
7798
7798
  x: H,
7799
7799
  y: H
7800
7800
  }), e5 = {
@@ -7807,9 +7807,9 @@ const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, f1
7807
7807
  end: "start"
7808
7808
  };
7809
7809
  function v1(H, V, C) {
7810
- return i1(H, a1(V, C));
7810
+ return i1(H, r1(V, C));
7811
7811
  }
7812
- function l1(H, V) {
7812
+ function m1(H, V) {
7813
7813
  return typeof H == "function" ? H(V) : H;
7814
7814
  }
7815
7815
  function M1(H) {
@@ -8018,7 +8018,7 @@ async function k1(H, V) {
8018
8018
  elementContext: o = "floating",
8019
8019
  altBoundary: n = !1,
8020
8020
  padding: a = 0
8021
- } = l1(V, H), Z = L2(a), k = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8021
+ } = m1(V, H), Z = L2(a), k = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8022
8022
  element: (C = await (L.isElement == null ? void 0 : L.isElement(k))) == null || C ? k : k.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8023
8023
  boundary: d,
8024
8024
  rootBoundary: l,
@@ -8060,7 +8060,7 @@ const a5 = (H) => ({
8060
8060
  } = V, {
8061
8061
  element: d,
8062
8062
  padding: l = 0
8063
- } = l1(H, V) || {};
8063
+ } = m1(H, V) || {};
8064
8064
  if (d == null)
8065
8065
  return {};
8066
8066
  const o = L2(l), n = {
@@ -8069,7 +8069,7 @@ const a5 = (H) => ({
8069
8069
  }, a = _1(A), Z = D1(a), B = await i.getDimensions(d), k = a === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[a] - n[a] - L.floating[Z], F = n[a] - L.reference[a], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8070
8070
  let I = z ? z[v] : 0;
8071
8071
  (!I || !await (i.isElement == null ? void 0 : i.isElement(z))) && (I = e.floating[v] || L.floating[Z]);
8072
- const O = R / 2 - F / 2, W = I / 2 - B[Z] / 2 - 1, u = a1(o[y], W), h = a1(o[P], W), b = u, x = I - B[Z] - h, s = I / 2 - B[Z] / 2 + O, E = v1(b, s, x), $ = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : h) - B[Z] / 2 < 0, j = $ ? s < b ? s - b : s - x : 0;
8072
+ const O = R / 2 - F / 2, N = I / 2 - B[Z] / 2 - 1, u = r1(o[y], N), h = r1(o[P], N), b = u, x = I - B[Z] - h, s = I / 2 - B[Z] / 2 + O, E = v1(b, s, x), $ = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : h) - B[Z] / 2 < 0, j = $ ? s < b ? s - b : s - x : 0;
8073
8073
  return {
8074
8074
  [a]: n[a] + j,
8075
8075
  data: {
@@ -8103,7 +8103,7 @@ const a5 = (H) => ({
8103
8103
  fallbackAxisSideDirection: Z = "none",
8104
8104
  flipAlignment: B = !0,
8105
8105
  ...k
8106
- } = l1(H, V);
8106
+ } = m1(H, V);
8107
8107
  if ((C = L.arrow) != null && C.alignmentOffset)
8108
8108
  return {};
8109
8109
  const y = M1(A), P = M1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = n || (P || !B ? [h1(e)] : m5(e));
@@ -8118,8 +8118,8 @@ const a5 = (H) => ({
8118
8118
  placement: A,
8119
8119
  overflows: I
8120
8120
  }], !I.every((b) => b <= 0)) {
8121
- var W, u;
8122
- const b = (((W = L.flip) == null ? void 0 : W.index) || 0) + 1, x = F[b];
8121
+ var N, u;
8122
+ const b = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, x = F[b];
8123
8123
  if (x)
8124
8124
  return {
8125
8125
  data: {
@@ -8175,7 +8175,7 @@ const u5 = function(H) {
8175
8175
  } = V, {
8176
8176
  strategy: M = "referenceHidden",
8177
8177
  ...A
8178
- } = l1(H, V);
8178
+ } = m1(H, V);
8179
8179
  switch (M) {
8180
8180
  case "referenceHidden": {
8181
8181
  const L = await k1(V, {
@@ -8212,7 +8212,7 @@ async function S5(H, V) {
8212
8212
  placement: C,
8213
8213
  platform: M,
8214
8214
  elements: A
8215
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = M1(C), e = u1(C), t = B1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = l1(V, H);
8215
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = M1(C), e = u1(C), t = B1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = m1(V, H);
8216
8216
  let {
8217
8217
  mainAxis: n,
8218
8218
  crossAxis: a,
@@ -8276,7 +8276,7 @@ const s5 = function(H) {
8276
8276
  }
8277
8277
  },
8278
8278
  ...t
8279
- } = l1(H, V), d = {
8279
+ } = m1(H, V), d = {
8280
8280
  x: C,
8281
8281
  y: M
8282
8282
  }, l = await k1(V, t), o = B1(M1(A)), n = V2(o);
@@ -8431,7 +8431,7 @@ function d2(H) {
8431
8431
  function h5(H, V, C) {
8432
8432
  return V === void 0 && (V = !1), !C || V && C !== Q(H) ? !1 : V;
8433
8433
  }
8434
- function Z1(H, V, C, M) {
8434
+ function a1(H, V, C, M) {
8435
8435
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8436
8436
  const A = H.getBoundingClientRect(), L = e2(H);
8437
8437
  let i = J(1);
@@ -8468,7 +8468,7 @@ function g5(H) {
8468
8468
  }, e = J(1);
8469
8469
  const t = J(0);
8470
8470
  if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = w1(C)), q(C))) {
8471
- const d = Z1(C);
8471
+ const d = a1(C);
8472
8472
  e = e1(C), t.x = d.x + C.clientLeft, t.y = d.y + C.clientTop;
8473
8473
  }
8474
8474
  return {
@@ -8482,7 +8482,7 @@ function k5(H) {
8482
8482
  return Array.from(H.getClientRects());
8483
8483
  }
8484
8484
  function t2(H) {
8485
- return Z1(H1(H)).left + w1(H).scrollLeft;
8485
+ return a1(H1(H)).left + w1(H).scrollLeft;
8486
8486
  }
8487
8487
  function B5(H) {
8488
8488
  const V = H1(H), C = w1(H), M = H.ownerDocument.body, A = i1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = i1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
@@ -8511,7 +8511,7 @@ function b5(H, V) {
8511
8511
  };
8512
8512
  }
8513
8513
  function w5(H, V) {
8514
- const C = Z1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? e1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, t = A * L.x, d = M * L.y;
8514
+ const C = a1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? e1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, t = A * L.x, d = M * L.y;
8515
8515
  return {
8516
8516
  width: i,
8517
8517
  height: e,
@@ -8563,7 +8563,7 @@ function P5(H) {
8563
8563
  } = H;
8564
8564
  const i = [...C === "clippingAncestors" ? y5(V, this._c) : [].concat(C), M], e = i[0], t = i.reduce((d, l) => {
8565
8565
  const o = K1(V, l, A);
8566
- return d.top = i1(o.top, d.top), d.right = a1(o.right, d.right), d.bottom = a1(o.bottom, d.bottom), d.left = i1(o.left, d.left), d;
8566
+ return d.top = i1(o.top, d.top), d.right = r1(o.right, d.right), d.bottom = r1(o.bottom, d.bottom), d.left = i1(o.left, d.left), d;
8567
8567
  }, K1(V, e, A));
8568
8568
  return {
8569
8569
  width: t.right - t.left,
@@ -8576,7 +8576,7 @@ function v5(H) {
8576
8576
  return i2(H);
8577
8577
  }
8578
8578
  function T5(H, V, C) {
8579
- const M = q(V), A = H1(V), L = C === "fixed", i = Z1(H, !0, L, V);
8579
+ const M = q(V), A = H1(V), L = C === "fixed", i = a1(H, !0, L, V);
8580
8580
  let e = {
8581
8581
  scrollLeft: 0,
8582
8582
  scrollTop: 0
@@ -8584,7 +8584,7 @@ function T5(H, V, C) {
8584
8584
  const t = J(0);
8585
8585
  if (M || !M && !L)
8586
8586
  if ((C1(V) !== "body" || S1(A)) && (e = w1(V)), M) {
8587
- const d = Z1(V, !0, L, V);
8587
+ const d = a1(V, !0, L, V);
8588
8588
  t.x = d.x + V.clientLeft, t.y = d.y + V.clientTop;
8589
8589
  } else
8590
8590
  A && (t.x = t2(A));
@@ -8714,7 +8714,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8714
8714
  },
8715
8715
  emits: ["show", "hide"],
8716
8716
  setup(H, { emit: V }) {
8717
- const C = H, M = V, A = N(), L = N(), i = N();
8717
+ const C = H, M = V, A = W(), L = W(), i = W();
8718
8718
  async function e() {
8719
8719
  C.disabled || !L.value || (Z(), L.value.style.display = "block", M("show"), d());
8720
8720
  }
@@ -8871,7 +8871,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8871
8871
  },
8872
8872
  emits: ["update:modelValue"],
8873
8873
  setup(H, { emit: V }) {
8874
- const C = H, M = V, A = N({}), L = m1([]), i = N(!1), e = N("");
8874
+ const C = H, M = V, A = W({}), L = W([]), i = W(!1), e = W("");
8875
8875
  function t(u) {
8876
8876
  if (!u || typeof u == "object" || typeof u == "function" || typeof u == "symbol" || typeof u > "u" || Array.isArray(u))
8877
8877
  return !0;
@@ -8890,7 +8890,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8890
8890
  value: u,
8891
8891
  label: String(u)
8892
8892
  };
8893
- }), o = N(), n = N(), a = N();
8893
+ }), o = W(), n = W(), a = W();
8894
8894
  function Z(u, h) {
8895
8895
  var b, x, s;
8896
8896
  if (u.stopPropagation(), !C.disabled) {
@@ -8909,7 +8909,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8909
8909
  var s;
8910
8910
  if (u.stopPropagation(), x(), !h.disabled) {
8911
8911
  if (C.multiple || C.taggable) {
8912
- L.find((E) => E.value === h.value) ? L.splice(L.indexOf(h), 1) : L.push(h), e.value = "", C.searchable && ((s = n.value) == null || s.focus());
8912
+ L.value.find((E) => E.value === h.value) ? L.value.splice(L.value.indexOf(h), 1) : L.value.push(h), e.value = "", C.searchable && ((s = n.value) == null || s.focus());
8913
8913
  return;
8914
8914
  }
8915
8915
  y(u, h), C.closeOnSelect && (b(), B());
@@ -8926,8 +8926,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8926
8926
  if (u instanceof KeyboardEvent && u.key !== "Backspace" || e.value !== "")
8927
8927
  return;
8928
8928
  u.stopPropagation(), b();
8929
- const x = L.findIndex((s) => s.value === h.value);
8930
- L.splice(x, 1);
8929
+ const x = L.value.findIndex((s) => s.value === h.value);
8930
+ L.value.splice(x, 1);
8931
8931
  }
8932
8932
  function v(u, h) {
8933
8933
  var s;
@@ -8937,21 +8937,21 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8937
8937
  const b = e.value;
8938
8938
  if (b === "")
8939
8939
  return;
8940
- d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = n.value) == null || s.focus());
8940
+ d.value.find((E) => E.label === b) || (L.value.push({ value: b, label: b }), e.value = "", (s = n.value) == null || s.focus());
8941
8941
  }
8942
8942
  function R(u) {
8943
- return C.multiple || C.taggable ? L.find((h) => h.value === u.value) : A.value.value === u.value;
8943
+ return C.multiple || C.taggable ? L.value.find((h) => h.value === u.value) : A.value.value === u.value;
8944
8944
  }
8945
8945
  const F = g(() => !C.searchable || A.value.label === e.value ? d.value : d.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), z = g(() => !C.searchable);
8946
8946
  function I() {
8947
- l.value ? C.multiple ? L.push(l.value) : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.splice(0, L.length));
8947
+ l.value ? C.multiple || C.taggable ? L.value = l.value : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
8948
8948
  }
8949
8949
  function O(u) {
8950
8950
  C.searchable && u(), !(C.multiple || C.taggable) && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8951
8951
  }
8952
- function W(u, h) {
8952
+ function N(u, h) {
8953
8953
  if (u.stopPropagation(), h(), C.multiple || C.taggable) {
8954
- L.splice(0, L.length);
8954
+ L.value.splice(0, L.value.length);
8955
8955
  return;
8956
8956
  }
8957
8957
  A.value = {}, e.value = "", M("update:modelValue", "");
@@ -8979,7 +8979,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8979
8979
  type: "dropdown",
8980
8980
  onHide: B
8981
8981
  }, {
8982
- default: r1(({ activators: b, updatePosition: x }) => [
8982
+ default: n1(({ activators: b, updatePosition: x }) => [
8983
8983
  S("div", {
8984
8984
  ref_key: "dropdown",
8985
8985
  ref: o,
@@ -9006,13 +9006,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9006
9006
  }, null, 8, ["name"])) : c("", !0)
9007
9007
  ])
9008
9008
  ], 2)) : c("", !0),
9009
- C.taggable && L.length ? (m(), r("div", Q5, [
9009
+ C.taggable && L.value.length ? (m(), r("div", Q5, [
9010
9010
  f(u.$slots, "tags", {
9011
- options: L,
9011
+ options: L.value,
9012
9012
  removeOption: P,
9013
9013
  updatePosition: x
9014
9014
  }, () => [
9015
- (m(!0), r(L1, null, A1(L, (s, E) => (m(), _(J2, {
9015
+ (m(!0), r(L1, null, A1(L.value, (s, E) => (m(), _(J2, {
9016
9016
  key: E,
9017
9017
  "append-icon": "mdiClose",
9018
9018
  class: "r-dropdown__tags__chip",
@@ -9023,8 +9023,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9023
9023
  }, null, 8, ["label", "onClick:close"]))), 128))
9024
9024
  ])
9025
9025
  ])) : c("", !0),
9026
- C.multiple && L.length ? (m(), r("div", G5, [
9027
- (m(!0), r(L1, null, A1(L, (s, E) => (m(), r("p", { key: E }, w(`${s.label},`), 1))), 128))
9026
+ C.multiple && L.value.length ? (m(), r("div", G5, [
9027
+ (m(!0), r(L1, null, A1(L.value, (s, E) => (m(), r("p", { key: E }, w(`${s.label},`), 1))), 128))
9028
9028
  ])) : c("", !0),
9029
9029
  Y1(S("input", {
9030
9030
  id: C.id,
@@ -9042,7 +9042,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9042
9042
  type: "text",
9043
9043
  onInput: d1((s) => O(x), ["prevent"]),
9044
9044
  onKeydown: [
9045
- N1((s) => P(s, L[L.length - 1], x), ["backspace"]),
9045
+ N1((s) => P(s, L.value[L.value.length - 1], x), ["backspace"]),
9046
9046
  N1((s) => v(s, x), ["enter"])
9047
9047
  ]
9048
9048
  }, null, 42, $5), [
@@ -9051,8 +9051,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9051
9051
  C.clearable ? (m(), r("div", {
9052
9052
  key: 3,
9053
9053
  class: "r-dropdown__clearable",
9054
- "data-has-value": (e.value !== "" || L.length) && i.value,
9055
- onClick: (s) => W(s, x)
9054
+ "data-has-value": (e.value !== "" || L.value.length) && i.value,
9055
+ onClick: (s) => N(s, x)
9056
9056
  }, [
9057
9057
  K(D, {
9058
9058
  name: "mdiCloseCircle",
@@ -9075,7 +9075,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9075
9075
  ], 2)) : c("", !0)
9076
9076
  ], 10, I5)
9077
9077
  ]),
9078
- content: r1(({ hide: b, updatePosition: x }) => [
9078
+ content: n1(({ hide: b, updatePosition: x }) => [
9079
9079
  S("ul", {
9080
9080
  class: p(["r-dropdown-options", {
9081
9081
  "r-dropdown-options--active": i.value,
@@ -9351,7 +9351,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9351
9351
  },
9352
9352
  emits: ["update:modelValue"],
9353
9353
  setup(H, { emit: V }) {
9354
- const C = H, M = V, A = m1({
9354
+ const C = H, M = V, A = Z1({
9355
9355
  checked: !1
9356
9356
  }), L = g(() => ({
9357
9357
  "r-switch": !0,
@@ -9408,7 +9408,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9408
9408
  ], 2));
9409
9409
  }
9410
9410
  });
9411
- var n1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(n1 || {});
9411
+ var o1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(o1 || {});
9412
9412
  const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9413
9413
  key: 0,
9414
9414
  class: "r-tab-item__label"
@@ -9416,7 +9416,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9416
9416
  __name: "RTabItem",
9417
9417
  props: {
9418
9418
  id: {},
9419
- variant: { default: n1.DEFAULT },
9419
+ variant: { default: o1.DEFAULT },
9420
9420
  label: { default: "" },
9421
9421
  prependIcon: { default: "" },
9422
9422
  appendIcon: { default: "" },
@@ -9451,7 +9451,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9451
9451
  onClick: d[0] || (d[0] = d1((l) => i(C.id), ["stop"]))
9452
9452
  }, [
9453
9453
  f(t.$slots, "prepend", {}, () => [
9454
- C.variant !== V1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9454
+ C.variant !== V1(o1).TEXT && C.prependIcon ? (m(), _(D, {
9455
9455
  key: 0,
9456
9456
  class: "r-tab-item__prepend-icon",
9457
9457
  name: C.prependIcon,
@@ -9462,13 +9462,13 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9462
9462
  duration: 150,
9463
9463
  name: "fade"
9464
9464
  }, {
9465
- default: r1(() => [
9466
- C.variant !== V1(n1).ICON ? (m(), r("span", O3, w(C.label), 1)) : c("", !0)
9465
+ default: n1(() => [
9466
+ C.variant !== V1(o1).ICON ? (m(), r("span", O3, w(C.label), 1)) : c("", !0)
9467
9467
  ]),
9468
9468
  _: 1
9469
9469
  }),
9470
9470
  f(t.$slots, "append", {}, () => [
9471
- C.variant !== V1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9471
+ C.variant !== V1(o1).TEXT && C.appendIcon ? (m(), _(D, {
9472
9472
  key: 0,
9473
9473
  class: "r-tab-item__append-icon",
9474
9474
  name: C.appendIcon,
@@ -9489,7 +9489,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9489
9489
  },
9490
9490
  emits: ["update:modelValue", "click:icon"],
9491
9491
  setup(H, { emit: V }) {
9492
- const C = H, M = V, A = N(C.modelValue || C.tabs[0].id), L = g(() => ({
9492
+ const C = H, M = V, A = W(C.modelValue || C.tabs[0].id), L = g(() => ({
9493
9493
  "r-tabs": !0,
9494
9494
  "r-tabs--block": C.block,
9495
9495
  "r-tabs--tile": C.tile,
@@ -9549,7 +9549,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9549
9549
  },
9550
9550
  emits: ["update:modelValue"],
9551
9551
  setup(H, { emit: V }) {
9552
- const C = H, M = V, A = m1({
9552
+ const C = H, M = V, A = Z1({
9553
9553
  value: ""
9554
9554
  });
9555
9555
  function L(i) {
@@ -9626,24 +9626,24 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9626
9626
  "click:clear"
9627
9627
  ],
9628
9628
  setup(H, { emit: V }) {
9629
- const C = H, M = V, A = N(), L = m1({
9629
+ const C = H, M = V, A = W(), L = Z1({
9630
9630
  value: ""
9631
- }), i = N(C.type), e = {
9631
+ }), i = W(C.type), e = {
9632
9632
  password: "mdiLock",
9633
9633
  email: "mdiEmailOutline",
9634
9634
  tel: "mdiPhone",
9635
9635
  url: "mdiLink",
9636
9636
  number: "mdiNumeric",
9637
9637
  text: ""
9638
- }, t = N(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9638
+ }, t = W(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9639
9639
  var O;
9640
9640
  return (O = C.errorMsg) == null ? void 0 : O.length;
9641
9641
  }), n = g(() => C.clearable && l.value), a = g(() => {
9642
- const { disabled: O, loading: W } = C;
9642
+ const { disabled: O, loading: N } = C;
9643
9643
  return {
9644
9644
  "r-textfield": !0,
9645
9645
  "r-textfield--error": o.value,
9646
- "r-textfield--loading": W,
9646
+ "r-textfield--loading": N,
9647
9647
  "r-textfield--disabled": O,
9648
9648
  "r-textfield--clearable": n.value,
9649
9649
  "r-textfield--focus": t.value,
@@ -9658,11 +9658,11 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9658
9658
  "r-textfield__append-icon--clear": n.value,
9659
9659
  "r-textfield__append-icon--error": o.value
9660
9660
  })), k = g(() => {
9661
- const { prependIcon: O, type: W } = C;
9662
- return O === "none" ? "" : O || e[W];
9661
+ const { prependIcon: O, type: N } = C;
9662
+ return O === "none" ? "" : O || e[N];
9663
9663
  }), y = g(() => {
9664
- const { appendIcon: O, type: W } = C;
9665
- return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(W) ? "mdiClose" : W === "password" && i.value === "password" ? "mdiEyeOutline" : W === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9664
+ const { appendIcon: O, type: N } = C;
9665
+ return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && i.value === "password" ? "mdiEyeOutline" : N === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9666
9666
  });
9667
9667
  function P(O) {
9668
9668
  t.value = !0, M("focus", O);
@@ -9708,7 +9708,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9708
9708
  i.value === "number" ? +O : O
9709
9709
  );
9710
9710
  }
9711
- ), (O, W) => (m(), r("div", b3, [
9711
+ ), (O, N) => (m(), r("div", b3, [
9712
9712
  C.label ? (m(), _(r2, {
9713
9713
  key: 0,
9714
9714
  id: `${C.id}-label`,
@@ -9782,7 +9782,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9782
9782
  class: "r-breadcrumb__link",
9783
9783
  to: L.to
9784
9784
  }, {
9785
- default: r1(() => [
9785
+ default: n1(() => [
9786
9786
  f(C.$slots, "item-icon", {}, () => [
9787
9787
  L.icon ? (m(), _(D, {
9788
9788
  key: 0,
@@ -9847,7 +9847,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9847
9847
  },
9848
9848
  emits: ["update:page", "update:perPage", "update:info"],
9849
9849
  setup(H, { emit: V }) {
9850
- const C = H, M = V, A = N(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), i = g(() => ({
9850
+ const C = H, M = V, A = W(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), i = g(() => ({
9851
9851
  start: C.page * C.perPage - C.perPage,
9852
9852
  end: C.page * C.perPage
9853
9853
  }));
@@ -9992,7 +9992,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9992
9992
  },
9993
9993
  emits: ["update:modelValue"],
9994
9994
  setup(H, { emit: V }) {
9995
- const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue), i = g(() => C.selectedClass);
9995
+ const C = H, M = V, A = W(C.as ?? "div"), L = W(C.modelValue), i = g(() => C.selectedClass);
9996
9996
  s1(`${O1}:selectedClass`, i.value);
9997
9997
  function e(l) {
9998
9998
  return L.value.includes(l);
@@ -10008,7 +10008,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
10008
10008
  return s1(`${O1}:isDisabled`, d), G(() => C.modelValue, () => {
10009
10009
  L.value = C.modelValue;
10010
10010
  }), (l, o) => (m(), _(g2(A.value), null, {
10011
- default: r1(() => [
10011
+ default: n1(() => [
10012
10012
  f(l.$slots, "default", {
10013
10013
  isSelected: e,
10014
10014
  select: t,