@rocketui/vue 0.2.77 → 0.2.78

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,4 +1,4 @@
1
- import { defineComponent as R, openBlock as t, createElementBlock as r, createElementVNode as u, unref as J, reactive as y1, Fragment as H1, renderList as d1, normalizeClass as p, renderSlot as f, toDisplayString as b, createVNode as q, computed as h, createCommentVNode as O, mergeProps as I1, createBlock as _, watch as Q, getCurrentScope as p2, onScopeDispose as O2, ref as E, watchEffect as f2, onMounted as M2, Teleport as h2, withCtx as k1, withDirectives as i2, withModifiers as t1, withKeys as q1, vModelText as g2, createTextVNode as S1, onUnmounted as k2, normalizeStyle as Q1, vShow as B2, resolveComponent as b2, provide as O1, resolveDynamicComponent as w2, inject as f1 } from "vue";
1
+ import { defineComponent as R, openBlock as t, createElementBlock as r, createElementVNode as u, unref as J, reactive as P1, Fragment as H1, renderList as d1, normalizeClass as p, renderSlot as f, toDisplayString as b, createVNode as q, computed as h, createCommentVNode as O, mergeProps as Q1, createBlock as _, watch as G, getCurrentScope as p2, onScopeDispose as O2, ref as E, watchEffect as f2, onMounted as M2, Teleport as h2, withCtx as B1, withDirectives as i2, withModifiers as t1, withKeys as q1, vModelText as g2, createTextVNode as S1, onUnmounted as k2, normalizeStyle as G1, vShow as B2, resolveComponent as b2, provide as f1, resolveDynamicComponent as w2, inject as h1 } from "vue";
2
2
  const v2 = {
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",
@@ -7323,7 +7323,7 @@ const v2 = {
7323
7323
  multiple: { type: Boolean }
7324
7324
  },
7325
7325
  setup(H) {
7326
- const V = H, C = y1(
7326
+ const V = H, C = P1(
7327
7327
  V.accordions.map(({ title: i, content: L }, A) => ({
7328
7328
  title: i,
7329
7329
  content: L,
@@ -7549,7 +7549,7 @@ const v2 = {
7549
7549
  })[V.size || "medium"]), i = h(() => ({
7550
7550
  height: V.height ? `${V.height}px` : ""
7551
7551
  }));
7552
- return (L, A) => (t(), r("button", I1(L.$attrs, {
7552
+ return (L, A) => (t(), r("button", Q1(L.$attrs, {
7553
7553
  class: C.value,
7554
7554
  disabled: L.disabled,
7555
7555
  style: i.value,
@@ -7603,7 +7603,7 @@ const v2 = {
7603
7603
  },
7604
7604
  emits: ["update:modelValue"],
7605
7605
  setup(H, { emit: V }) {
7606
- const C = H, M = V, i = y1({
7606
+ const C = H, M = V, i = P1({
7607
7607
  checked: !1,
7608
7608
  indeterminate: !1
7609
7609
  }), L = {
@@ -7620,7 +7620,7 @@ const v2 = {
7620
7620
  function d(m) {
7621
7621
  C.disabled || (i.checked = m.target.checked, i.indeterminate = !1, M("update:modelValue", i.checked));
7622
7622
  }
7623
- return Q(
7623
+ return G(
7624
7624
  () => C.indeterminate,
7625
7625
  (m) => {
7626
7626
  i.indeterminate = m, m === !0 && (i.checked = !1, M("update:modelValue", i.checked));
@@ -7630,7 +7630,7 @@ const v2 = {
7630
7630
  // TODO: find a better way to do this
7631
7631
  immediate: !0
7632
7632
  }
7633
- ), Q(
7633
+ ), G(
7634
7634
  () => C.modelValue,
7635
7635
  (m) => {
7636
7636
  i.checked = m;
@@ -7746,7 +7746,7 @@ function A2(H) {
7746
7746
  }
7747
7747
  const e2 = typeof window < "u" && typeof document < "u";
7748
7748
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7749
- const M5 = Object.prototype.toString, i5 = (H) => M5.call(H) === "[object Object]", D1 = () => {
7749
+ const M5 = Object.prototype.toString, i5 = (H) => M5.call(H) === "[object Object]", _1 = () => {
7750
7750
  }, A5 = /* @__PURE__ */ e5();
7751
7751
  function e5() {
7752
7752
  var H;
@@ -7758,14 +7758,14 @@ function r1(H) {
7758
7758
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7759
7759
  }
7760
7760
  const d2 = e2 ? window : void 0;
7761
- function x1(...H) {
7761
+ function D1(...H) {
7762
7762
  let V, C, M, i;
7763
7763
  if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = d2) : [V, C, M, i] = H, !V)
7764
- return D1;
7764
+ return _1;
7765
7765
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7766
7766
  const L = [], A = () => {
7767
7767
  L.forEach((n) => n()), L.length = 0;
7768
- }, e = (n, a, o, l) => (n.addEventListener(a, o, l), () => n.removeEventListener(a, o, l)), d = Q(
7768
+ }, e = (n, a, o, l) => (n.addEventListener(a, o, l), () => n.removeEventListener(a, o, l)), d = G(
7769
7769
  () => [r1(V), A2(i)],
7770
7770
  ([n, a]) => {
7771
7771
  if (A(), !n)
@@ -7786,7 +7786,7 @@ function d5(H, V, C = {}) {
7786
7786
  const { window: M = d2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7787
7787
  if (!M)
7788
7788
  return;
7789
- A5 && !X1 && (X1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", D1)), M.document.documentElement.addEventListener("click", D1));
7789
+ A5 && !X1 && (X1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", _1)), M.document.documentElement.addEventListener("click", _1));
7790
7790
  let e = !0;
7791
7791
  const d = (o) => i.some((l) => {
7792
7792
  if (typeof l == "string")
@@ -7796,7 +7796,7 @@ function d5(H, V, C = {}) {
7796
7796
  return S && (o.target === S || o.composedPath().includes(S));
7797
7797
  }
7798
7798
  }), n = [
7799
- x1(M, "click", (o) => {
7799
+ D1(M, "click", (o) => {
7800
7800
  const l = r1(H);
7801
7801
  if (!(!l || l === o.target || o.composedPath().includes(l))) {
7802
7802
  if (o.detail === 0 && (e = !d(o)), !e) {
@@ -7806,11 +7806,11 @@ function d5(H, V, C = {}) {
7806
7806
  V(o);
7807
7807
  }
7808
7808
  }, { passive: !0, capture: L }),
7809
- x1(M, "pointerdown", (o) => {
7809
+ D1(M, "pointerdown", (o) => {
7810
7810
  const l = r1(H);
7811
7811
  e = !d(o) && !!(l && !o.composedPath().includes(l));
7812
7812
  }, { passive: !0 }),
7813
- A && x1(M, "blur", (o) => {
7813
+ A && D1(M, "blur", (o) => {
7814
7814
  setTimeout(() => {
7815
7815
  var l;
7816
7816
  const S = r1(H);
@@ -7826,7 +7826,7 @@ function t5() {
7826
7826
  }
7827
7827
  return `${H() + H()}-${H()}-${H()}-${H()}-${H()}${H()}${H()}`;
7828
7828
  }
7829
- const m5 = ["top", "right", "bottom", "left"], Z1 = Math.min, m1 = Math.max, B1 = Math.round, V1 = (H) => ({
7829
+ const m5 = ["top", "right", "bottom", "left"], Z1 = Math.min, m1 = Math.max, b1 = Math.round, V1 = (H) => ({
7830
7830
  x: H,
7831
7831
  y: H
7832
7832
  }), l5 = {
@@ -7838,7 +7838,7 @@ const m5 = ["top", "right", "bottom", "left"], Z1 = Math.min, m1 = Math.max, B1
7838
7838
  start: "end",
7839
7839
  end: "start"
7840
7840
  };
7841
- function _1(H, V, C) {
7841
+ function E1(H, V, C) {
7842
7842
  return m1(H, Z1(V, C));
7843
7843
  }
7844
7844
  function n1(H, V) {
@@ -7853,26 +7853,26 @@ function s1(H) {
7853
7853
  function t2(H) {
7854
7854
  return H === "x" ? "y" : "x";
7855
7855
  }
7856
- function G1(H) {
7856
+ function $1(H) {
7857
7857
  return H === "y" ? "height" : "width";
7858
7858
  }
7859
- function P1(H) {
7859
+ function T1(H) {
7860
7860
  return ["top", "bottom"].includes(e1(H)) ? "y" : "x";
7861
7861
  }
7862
- function $1(H) {
7863
- return t2(P1(H));
7862
+ function U1(H) {
7863
+ return t2(T1(H));
7864
7864
  }
7865
7865
  function n5(H, V, C) {
7866
7866
  C === void 0 && (C = !1);
7867
- const M = s1(H), i = $1(H), L = G1(i);
7867
+ const M = s1(H), i = U1(H), L = $1(i);
7868
7868
  let A = i === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7869
- return V.reference[L] > V.floating[L] && (A = b1(A)), [A, b1(A)];
7869
+ return V.reference[L] > V.floating[L] && (A = w1(A)), [A, w1(A)];
7870
7870
  }
7871
7871
  function r5(H) {
7872
- const V = b1(H);
7873
- return [E1(H), V, E1(V)];
7872
+ const V = w1(H);
7873
+ return [W1(H), V, W1(V)];
7874
7874
  }
7875
- function E1(H) {
7875
+ function W1(H) {
7876
7876
  return H.replace(/start|end/g, (V) => o5[V]);
7877
7877
  }
7878
7878
  function a5(H, V, C) {
@@ -7891,9 +7891,9 @@ function a5(H, V, C) {
7891
7891
  function Z5(H, V, C, M) {
7892
7892
  const i = s1(H);
7893
7893
  let L = a5(e1(H), C === "start", M);
7894
- return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(E1)))), L;
7894
+ return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(W1)))), L;
7895
7895
  }
7896
- function b1(H) {
7896
+ function w1(H) {
7897
7897
  return H.replace(/left|right|bottom|top/g, (V) => l5[V]);
7898
7898
  }
7899
7899
  function u5(H) {
@@ -7913,7 +7913,7 @@ function m2(H) {
7913
7913
  left: H
7914
7914
  };
7915
7915
  }
7916
- function w1(H) {
7916
+ function v1(H) {
7917
7917
  return {
7918
7918
  ...H,
7919
7919
  top: H.y,
@@ -7927,7 +7927,7 @@ function Y1(H, V, C) {
7927
7927
  reference: M,
7928
7928
  floating: i
7929
7929
  } = H;
7930
- const L = P1(V), A = $1(V), e = G1(A), d = e1(V), m = L === "y", n = M.x + M.width / 2 - i.width / 2, a = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7930
+ const L = T1(V), A = U1(V), e = $1(A), d = e1(V), m = L === "y", n = M.x + M.width / 2 - i.width / 2, a = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7931
7931
  let l;
7932
7932
  switch (d) {
7933
7933
  case "top":
@@ -8034,7 +8034,7 @@ const S5 = async (H, V, C) => {
8034
8034
  middlewareData: l
8035
8035
  };
8036
8036
  };
8037
- async function v1(H, V) {
8037
+ async function y1(H, V) {
8038
8038
  var C;
8039
8039
  V === void 0 && (V = {});
8040
8040
  const {
@@ -8050,7 +8050,7 @@ async function v1(H, V) {
8050
8050
  elementContext: a = "floating",
8051
8051
  altBoundary: o = !1,
8052
8052
  padding: l = 0
8053
- } = n1(V, H), S = m2(l), y = e[o ? a === "floating" ? "reference" : "floating" : a], k = w1(await L.getClippingRect({
8053
+ } = n1(V, H), S = m2(l), y = e[o ? a === "floating" ? "reference" : "floating" : a], k = v1(await L.getClippingRect({
8054
8054
  element: (C = await (L.isElement == null ? void 0 : L.isElement(y))) == null || C ? y : y.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8055
8055
  boundary: m,
8056
8056
  rootBoundary: n,
@@ -8065,7 +8065,7 @@ async function v1(H, V) {
8065
8065
  } : {
8066
8066
  x: 1,
8067
8067
  y: 1
8068
- }, P = w1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8068
+ }, P = v1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8069
8069
  rect: w,
8070
8070
  offsetParent: T,
8071
8071
  strategy: d
@@ -8098,10 +8098,10 @@ const s5 = (H) => ({
8098
8098
  const a = m2(n), o = {
8099
8099
  x: C,
8100
8100
  y: M
8101
- }, l = $1(i), S = G1(l), B = await A.getDimensions(m), y = l === "y", k = y ? "top" : "left", w = y ? "bottom" : "right", T = y ? "clientHeight" : "clientWidth", F = L.reference[S] + L.reference[l] - o[l] - L.floating[S], P = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(m));
8101
+ }, l = U1(i), S = $1(l), B = await A.getDimensions(m), y = l === "y", k = y ? "top" : "left", w = y ? "bottom" : "right", T = y ? "clientHeight" : "clientWidth", F = L.reference[S] + L.reference[l] - o[l] - L.floating[S], P = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(m));
8102
8102
  let W = U ? U[T] : 0;
8103
8103
  (!W || !await (A.isElement == null ? void 0 : A.isElement(U))) && (W = e.floating[T] || L.floating[S]);
8104
- const g = F / 2 - P / 2, N = W / 2 - B[S] / 2 - 1, i1 = Z1(a[k], N), A1 = Z1(a[w], N), I = i1, Z = W - B[S] - A1, s = W / 2 - B[S] / 2 + g, v = _1(I, s, Z), x = !d.arrow && s1(i) != null && s != v && L.reference[S] / 2 - (s < I ? i1 : A1) - B[S] / 2 < 0, c = x ? s < I ? s - I : s - Z : 0;
8104
+ const g = F / 2 - P / 2, N = W / 2 - B[S] / 2 - 1, i1 = Z1(a[k], N), A1 = Z1(a[w], N), I = i1, Z = W - B[S] - A1, s = W / 2 - B[S] / 2 + g, v = E1(I, s, Z), x = !d.arrow && s1(i) != null && s != v && L.reference[S] / 2 - (s < I ? i1 : A1) - B[S] / 2 < 0, c = x ? s < I ? s - I : s - Z : 0;
8105
8105
  return {
8106
8106
  [l]: o[l] + c,
8107
8107
  data: {
@@ -8138,9 +8138,9 @@ const s5 = (H) => ({
8138
8138
  } = n1(H, V);
8139
8139
  if ((C = L.arrow) != null && C.alignmentOffset)
8140
8140
  return {};
8141
- const k = e1(i), w = e1(e) === e, T = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), F = o || (w || !B ? [b1(e)] : r5(e));
8141
+ const k = e1(i), w = e1(e) === e, T = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), F = o || (w || !B ? [w1(e)] : r5(e));
8142
8142
  !o && S !== "none" && F.push(...Z5(e, B, S, T));
8143
- const P = [e, ...F], U = await v1(V, y), W = [];
8143
+ const P = [e, ...F], U = await y1(V, y), W = [];
8144
8144
  let g = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8145
8145
  if (n && W.push(U[k]), a) {
8146
8146
  const I = n5(i, A, T);
@@ -8167,7 +8167,7 @@ const s5 = (H) => ({
8167
8167
  switch (l) {
8168
8168
  case "bestFit": {
8169
8169
  var A1;
8170
- const v = (A1 = g.map((x) => [x.placement, x.overflows.filter((c) => c > 0).reduce((c, G) => c + G, 0)]).sort((x, c) => x[1] - c[1])[0]) == null ? void 0 : A1[0];
8170
+ const v = (A1 = g.map((x) => [x.placement, x.overflows.filter((c) => c > 0).reduce((c, Q) => c + Q, 0)]).sort((x, c) => x[1] - c[1])[0]) == null ? void 0 : A1[0];
8171
8171
  v && (s = v);
8172
8172
  break;
8173
8173
  }
@@ -8210,7 +8210,7 @@ const p5 = function(H) {
8210
8210
  } = n1(H, V);
8211
8211
  switch (M) {
8212
8212
  case "referenceHidden": {
8213
- const L = await v1(V, {
8213
+ const L = await y1(V, {
8214
8214
  ...i,
8215
8215
  elementContext: "reference"
8216
8216
  }), A = J1(L, C.reference);
@@ -8222,7 +8222,7 @@ const p5 = function(H) {
8222
8222
  };
8223
8223
  }
8224
8224
  case "escaped": {
8225
- const L = await v1(V, {
8225
+ const L = await y1(V, {
8226
8226
  ...i,
8227
8227
  altBoundary: !0
8228
8228
  }), A = J1(L, C.floating);
@@ -8244,7 +8244,7 @@ async function O5(H, V) {
8244
8244
  placement: C,
8245
8245
  platform: M,
8246
8246
  elements: i
8247
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = e1(C), e = s1(C), d = P1(C) === "y", m = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, a = n1(V, H);
8247
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = e1(C), e = s1(C), d = T1(C) === "y", m = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, a = n1(V, H);
8248
8248
  let {
8249
8249
  mainAxis: o,
8250
8250
  crossAxis: l,
@@ -8311,15 +8311,15 @@ const f5 = function(H) {
8311
8311
  } = n1(H, V), m = {
8312
8312
  x: C,
8313
8313
  y: M
8314
- }, n = await v1(V, d), a = P1(e1(i)), o = t2(a);
8314
+ }, n = await y1(V, d), a = T1(e1(i)), o = t2(a);
8315
8315
  let l = m[o], S = m[a];
8316
8316
  if (L) {
8317
8317
  const y = o === "y" ? "top" : "left", k = o === "y" ? "bottom" : "right", w = l + n[y], T = l - n[k];
8318
- l = _1(w, l, T);
8318
+ l = E1(w, l, T);
8319
8319
  }
8320
8320
  if (A) {
8321
8321
  const y = a === "y" ? "top" : "left", k = a === "y" ? "bottom" : "right", w = S + n[y], T = S - n[k];
8322
- S = _1(w, S, T);
8322
+ S = E1(w, S, T);
8323
8323
  }
8324
8324
  const B = e.fn({
8325
8325
  ...V,
@@ -8371,29 +8371,29 @@ function c1(H) {
8371
8371
  function g5(H) {
8372
8372
  return ["table", "td", "th"].includes(L1(H));
8373
8373
  }
8374
- function U1(H) {
8375
- const V = z1(), C = K(H);
8374
+ function z1(H) {
8375
+ const V = K1(), C = K(H);
8376
8376
  return C.transform !== "none" || C.perspective !== "none" || (C.containerType ? C.containerType !== "normal" : !1) || !V && (C.backdropFilter ? C.backdropFilter !== "none" : !1) || !V && (C.filter ? C.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((M) => (C.willChange || "").includes(M)) || ["paint", "layout", "strict", "content"].some((M) => (C.contain || "").includes(M));
8377
8377
  }
8378
8378
  function k5(H) {
8379
8379
  let V = o1(H);
8380
- for (; j(V) && !T1(V); ) {
8381
- if (U1(V))
8380
+ for (; j(V) && !F1(V); ) {
8381
+ if (z1(V))
8382
8382
  return V;
8383
8383
  V = o1(V);
8384
8384
  }
8385
8385
  return null;
8386
8386
  }
8387
- function z1() {
8387
+ function K1() {
8388
8388
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8389
8389
  }
8390
- function T1(H) {
8390
+ function F1(H) {
8391
8391
  return ["html", "body", "#document"].includes(L1(H));
8392
8392
  }
8393
8393
  function K(H) {
8394
8394
  return z(H).getComputedStyle(H);
8395
8395
  }
8396
- function F1(H) {
8396
+ function R1(H) {
8397
8397
  return C1(H) ? {
8398
8398
  scrollLeft: H.scrollLeft,
8399
8399
  scrollTop: H.scrollTop
@@ -8416,18 +8416,18 @@ function o1(H) {
8416
8416
  }
8417
8417
  function o2(H) {
8418
8418
  const V = o1(H);
8419
- return T1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : o2(V);
8419
+ return F1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : o2(V);
8420
8420
  }
8421
- function W1(H, V, C) {
8421
+ function N1(H, V, C) {
8422
8422
  var M;
8423
8423
  V === void 0 && (V = []), C === void 0 && (C = !0);
8424
8424
  const i = o2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8425
- return L ? V.concat(A, A.visualViewport || [], c1(i) ? i : [], A.frameElement && C ? W1(A.frameElement) : []) : V.concat(i, W1(i, [], C));
8425
+ return L ? V.concat(A, A.visualViewport || [], c1(i) ? i : [], A.frameElement && C ? N1(A.frameElement) : []) : V.concat(i, N1(i, [], C));
8426
8426
  }
8427
8427
  function n2(H) {
8428
8428
  const V = K(H);
8429
8429
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8430
- const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = B1(C) !== L || B1(M) !== A;
8430
+ const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = b1(C) !== L || b1(M) !== A;
8431
8431
  return e && (C = L, M = A), {
8432
8432
  width: C,
8433
8433
  height: M,
@@ -8446,7 +8446,7 @@ function l1(H) {
8446
8446
  height: i,
8447
8447
  $: L
8448
8448
  } = n2(V);
8449
- let A = (L ? B1(C.width) : C.width) / M, e = (L ? B1(C.height) : C.height) / i;
8449
+ let A = (L ? b1(C.width) : C.width) / M, e = (L ? b1(C.height) : C.height) / i;
8450
8450
  return (!A || !Number.isFinite(A)) && (A = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8451
8451
  x: A,
8452
8452
  y: e
@@ -8455,7 +8455,7 @@ function l1(H) {
8455
8455
  const B5 = /* @__PURE__ */ V1(0);
8456
8456
  function a2(H) {
8457
8457
  const V = z(H);
8458
- return !z1() || !V.visualViewport ? B5 : {
8458
+ return !K1() || !V.visualViewport ? B5 : {
8459
8459
  x: V.visualViewport.offsetLeft,
8460
8460
  y: V.visualViewport.offsetTop
8461
8461
  };
@@ -8478,7 +8478,7 @@ function u1(H, V, C, M) {
8478
8478
  d *= B.x, m *= B.y, n *= B.x, a *= B.y, d += w, m += T, S = z(S).frameElement;
8479
8479
  }
8480
8480
  }
8481
- return w1({
8481
+ return v1({
8482
8482
  width: n,
8483
8483
  height: a,
8484
8484
  x: d,
@@ -8499,7 +8499,7 @@ function w5(H) {
8499
8499
  scrollTop: 0
8500
8500
  }, e = V1(1);
8501
8501
  const d = V1(0);
8502
- if ((i || !i && M !== "fixed") && ((L1(C) !== "body" || c1(L)) && (A = F1(C)), j(C))) {
8502
+ if ((i || !i && M !== "fixed") && ((L1(C) !== "body" || c1(L)) && (A = R1(C)), j(C))) {
8503
8503
  const m = u1(C);
8504
8504
  e = l1(C), d.x = m.x + C.clientLeft, d.y = m.y + C.clientTop;
8505
8505
  }
@@ -8514,10 +8514,10 @@ function v5(H) {
8514
8514
  return Array.from(H.getClientRects());
8515
8515
  }
8516
8516
  function Z2(H) {
8517
- return u1(M1(H)).left + F1(H).scrollLeft;
8517
+ return u1(M1(H)).left + R1(H).scrollLeft;
8518
8518
  }
8519
8519
  function y5(H) {
8520
- const V = M1(H), C = F1(H), M = H.ownerDocument.body, i = m1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = m1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8520
+ const V = M1(H), C = R1(H), M = H.ownerDocument.body, i = m1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = m1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8521
8521
  let A = -C.scrollLeft + Z2(H);
8522
8522
  const e = -C.scrollTop;
8523
8523
  return K(M).direction === "rtl" && (A += m1(V.clientWidth, M.clientWidth) - i), {
@@ -8532,7 +8532,7 @@ function P5(H, V) {
8532
8532
  let L = M.clientWidth, A = M.clientHeight, e = 0, d = 0;
8533
8533
  if (i) {
8534
8534
  L = i.width, A = i.height;
8535
- const m = z1();
8535
+ const m = K1();
8536
8536
  (!m || m && V === "fixed") && (e = i.offsetLeft, d = i.offsetTop);
8537
8537
  }
8538
8538
  return {
@@ -8567,21 +8567,21 @@ function V2(H, V, C) {
8567
8567
  y: V.y - i.y
8568
8568
  };
8569
8569
  }
8570
- return w1(M);
8570
+ return v1(M);
8571
8571
  }
8572
8572
  function u2(H, V) {
8573
8573
  const C = o1(H);
8574
- return C === V || !C1(C) || T1(C) ? !1 : K(C).position === "fixed" || u2(C, V);
8574
+ return C === V || !C1(C) || F1(C) ? !1 : K(C).position === "fixed" || u2(C, V);
8575
8575
  }
8576
8576
  function F5(H, V) {
8577
8577
  const C = V.get(H);
8578
8578
  if (C)
8579
8579
  return C;
8580
- let M = W1(H, [], !1).filter((e) => C1(e) && L1(e) !== "body"), i = null;
8580
+ let M = N1(H, [], !1).filter((e) => C1(e) && L1(e) !== "body"), i = null;
8581
8581
  const L = K(H).position === "fixed";
8582
8582
  let A = L ? o1(H) : H;
8583
- for (; C1(A) && !T1(A); ) {
8584
- const e = K(A), d = U1(A);
8583
+ for (; C1(A) && !F1(A); ) {
8584
+ const e = K(A), d = z1(A);
8585
8585
  !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || c1(A) && !d && u2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = o1(A);
8586
8586
  }
8587
8587
  return V.set(H, M), M;
@@ -8615,7 +8615,7 @@ function D5(H, V, C) {
8615
8615
  };
8616
8616
  const d = V1(0);
8617
8617
  if (M || !M && !L)
8618
- if ((L1(V) !== "body" || c1(i)) && (e = F1(V)), M) {
8618
+ if ((L1(V) !== "body" || c1(i)) && (e = R1(V)), M) {
8619
8619
  const m = u1(V, !0, L, V);
8620
8620
  d.x = m.x + V.clientLeft, d.y = m.y + V.clientTop;
8621
8621
  } else
@@ -8637,7 +8637,7 @@ function S2(H, V) {
8637
8637
  let M = L2(H, V);
8638
8638
  for (; M && g5(M) && K(M).position === "static"; )
8639
8639
  M = L2(M, V);
8640
- return M && (L1(M) === "html" || L1(M) === "body" && K(M).position === "static" && !U1(M)) ? C : M || k5(H) || C;
8640
+ return M && (L1(M) === "html" || L1(M) === "body" && K(M).position === "static" && !z1(M)) ? C : M || k5(H) || C;
8641
8641
  }
8642
8642
  const _5 = async function(H) {
8643
8643
  let {
@@ -8682,7 +8682,7 @@ const W5 = {
8682
8682
  platform: L
8683
8683
  });
8684
8684
  };
8685
- var s2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(s2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), N1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(N1 || {});
8685
+ var s2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(s2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), I1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(I1 || {});
8686
8686
  async function I5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8687
8687
  !H || !V || N5(H, V, {
8688
8688
  placement: M,
@@ -8744,7 +8744,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8744
8744
  triggerClass: { default: "" },
8745
8745
  tooltipClass: { default: "" },
8746
8746
  persistent: { type: Boolean, default: !1 },
8747
- type: { default: N1.Tooltip }
8747
+ type: { default: I1.Tooltip }
8748
8748
  },
8749
8749
  emits: ["show", "hide"],
8750
8750
  setup(H, { emit: V }) {
@@ -8798,7 +8798,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8798
8798
  var k, w;
8799
8799
  C.resizable && ((w = (k = i.value) == null ? void 0 : k.parentElement) == null || w.parentElement.addEventListener("scroll", B())), d5(i, (T) => {
8800
8800
  L.value.classList.contains("r-tooltip--active") && m(T);
8801
- }, { ignore: [L] }), C.type === N1.Dropdown && document.addEventListener("scroll", () => {
8801
+ }, { ignore: [L] }), C.type === I1.Dropdown && document.addEventListener("scroll", () => {
8802
8802
  B();
8803
8803
  });
8804
8804
  }), (k, w) => (t(), r(H1, null, [
@@ -8934,20 +8934,20 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8934
8934
  };
8935
8935
  }), a = E(), o = E(), l = E();
8936
8936
  function S(Z) {
8937
- var x, c, G, K1;
8937
+ var x, c, Q, p1;
8938
8938
  if (C.disabled)
8939
8939
  return;
8940
8940
  const s = document.getElementById(Z);
8941
8941
  document.querySelectorAll(".r-dropdown--active").forEach(($) => {
8942
- var p1;
8943
- $.id !== ((p1 = a.value) == null ? void 0 : p1.id) && $.classList.contains("r-dropdown--active") && ($.childNodes.forEach((X) => {
8944
- X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((R1) => R1.includes("--active")).forEach((R1) => {
8945
- X == null || X.classList.remove(R1);
8942
+ var O1;
8943
+ $.id !== ((O1 = a.value) == null ? void 0 : O1.id) && $.classList.contains("r-dropdown--active") && ($.childNodes.forEach((X) => {
8944
+ X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((x1) => x1.includes("--active")).forEach((x1) => {
8945
+ X == null || X.classList.remove(x1);
8946
8946
  }));
8947
8947
  }), $.classList.remove("r-dropdown--active"));
8948
- }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), A.value = !1, (x = a.value) == null || x.blur(), (c = o.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), A.value = !0, (G = a.value) == null || G.focus(), (K1 = o.value) == null || K1.focus(), s == null || s.childNodes.forEach(($) => {
8949
- $ != null && $.classList && (Object == null || Object.values($ == null ? void 0 : $.classList).forEach((p1) => {
8950
- $ == null || $.classList.add(`${p1}--active`);
8948
+ }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), A.value = !1, (x = a.value) == null || x.blur(), (c = o.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), A.value = !0, (Q = a.value) == null || Q.focus(), (p1 = o.value) == null || p1.focus(), s == null || s.childNodes.forEach(($) => {
8949
+ $ != null && $.classList && (Object == null || Object.values($ == null ? void 0 : $.classList).forEach((O1) => {
8950
+ $ == null || $.classList.add(`${O1}--active`);
8951
8951
  }));
8952
8952
  }));
8953
8953
  }
@@ -8963,7 +8963,13 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8963
8963
  return;
8964
8964
  }
8965
8965
  if (C.multiple) {
8966
- L.value.find((G) => G.value === s.value) ? (L.value.splice(L.value.indexOf(s), 1), M("removeOption", s)) : L.value.push(s), e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8966
+ if (!L.value.find((Q) => Q.value === s.value))
8967
+ L.value.push(s);
8968
+ else {
8969
+ const Q = L.value.findIndex((p1) => p1.value === s.value);
8970
+ L.value.splice(Q, 1), M("removeOption", s);
8971
+ }
8972
+ e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8967
8973
  return;
8968
8974
  }
8969
8975
  k(Z, s), C.closeOnSelect && v();
@@ -8991,7 +8997,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8991
8997
  const v = e.value;
8992
8998
  if (v === "")
8993
8999
  return;
8994
- m.value.find((G) => G.label === v) || (L.value.push({ value: v, label: v }), e.value = "", (c = o.value) == null || c.focus());
9000
+ m.value.find((Q) => Q.label === v) || (L.value.push({ value: v, label: v }), e.value = "", (c = o.value) == null || c.focus());
8995
9001
  }
8996
9002
  function F(Z) {
8997
9003
  var s;
@@ -9021,7 +9027,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9021
9027
  const A1 = h(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), I = h(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9022
9028
  return M2(() => {
9023
9029
  W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9024
- }), Q(
9030
+ }), G(
9025
9031
  L,
9026
9032
  (Z) => {
9027
9033
  M("update:modelValue", Z);
@@ -9029,7 +9035,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9029
9035
  {
9030
9036
  deep: !0
9031
9037
  }
9032
- ), Q(() => n.value, (Z) => {
9038
+ ), G(() => n.value, (Z) => {
9033
9039
  W();
9034
9040
  }), (Z, s) => (t(), r("div", {
9035
9041
  ref_key: "wrapper",
@@ -9050,7 +9056,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9050
9056
  B(v);
9051
9057
  })
9052
9058
  }, {
9053
- default: k1(({ updatePosition: v, tooltipId: x }) => [
9059
+ default: B1(({ updatePosition: v, tooltipId: x }) => [
9054
9060
  u("div", {
9055
9061
  id: x,
9056
9062
  ref_key: "dropdown",
@@ -9097,14 +9103,14 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9097
9103
  ghost: "",
9098
9104
  label: c.label,
9099
9105
  variant: "primary",
9100
- "onClick:close": (G) => w(G, c, v)
9106
+ "onClick:close": (Q) => w(Q, c, v)
9101
9107
  }, null, 8, ["label", "onClick:close"]))), 128)),
9102
9108
  f(Z.$slots, "remaining-count", { count: I.value }, () => [
9103
9109
  I.value > 0 ? (t(), r("span", j5, " +" + b(I.value), 1)) : O("", !0)
9104
9110
  ])
9105
- ], 64)) : C.multiple ? (t(!0), r(H1, { key: 1 }, d1(L.value, (c, G) => (t(), r("span", {
9111
+ ], 64)) : C.multiple ? (t(!0), r(H1, { key: 1 }, d1(L.value, (c, Q) => (t(), r("span", {
9106
9112
  key: c.value
9107
- }, b(c.label) + b(G < L.value.length - 1 ? ", " : ""), 1))), 128)) : O("", !0)
9113
+ }, b(c.label) + b(Q < L.value.length - 1 ? ", " : ""), 1))), 128)) : O("", !0)
9108
9114
  ])
9109
9115
  ]),
9110
9116
  i2(u("input", {
@@ -9165,7 +9171,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9165
9171
  ], 2)) : O("", !0)
9166
9172
  ], 10, z5)
9167
9173
  ]),
9168
- content: k1(({ hide: v, updatePosition: x }) => [
9174
+ content: B1(({ hide: v, updatePosition: x }) => [
9169
9175
  u("ul", {
9170
9176
  class: p(["r-dropdown-options", {
9171
9177
  "r-dropdown-options--active": A.value,
@@ -9200,7 +9206,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9200
9206
  "r-dropdown-options__option--disabled": c.disabled,
9201
9207
  "r-dropdown-options__option--deselect": F(c) && C.disableDeselect
9202
9208
  }]),
9203
- onClick: t1((G) => y(G, c, v, x), ["prevent"])
9209
+ onClick: t1((Q) => y(Q, c, v, x), ["prevent"])
9204
9210
  }, [
9205
9211
  f(Z.$slots, "option", {
9206
9212
  disabled: c.disabled,
@@ -9327,7 +9333,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9327
9333
  class: p(i.value),
9328
9334
  open: C.modelValue,
9329
9335
  role: "dialog",
9330
- style: Q1(L.value)
9336
+ style: G1(L.value)
9331
9337
  }, [
9332
9338
  f(e.$slots, "wrapper", {}, () => [
9333
9339
  u("div", n3, [
@@ -9404,7 +9410,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9404
9410
  emits: ["action", "update:modelValue"],
9405
9411
  setup(H, { emit: V }) {
9406
9412
  const C = H, M = V;
9407
- Q(
9413
+ G(
9408
9414
  () => C.modelValue,
9409
9415
  () => {
9410
9416
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9493,7 +9499,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9493
9499
  function A(e) {
9494
9500
  C.disabled || (i.value.checked = e.target.checked, M("update:modelValue", i.value.checked));
9495
9501
  }
9496
- return Q(
9502
+ return G(
9497
9503
  () => C.modelValue,
9498
9504
  (e) => {
9499
9505
  i.value.checked = e;
@@ -9573,7 +9579,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9573
9579
  "aria-selected": A.value,
9574
9580
  class: p(i.value),
9575
9581
  disabled: C.disabled,
9576
- style: Q1(L.value),
9582
+ style: G1(L.value),
9577
9583
  onClick: m[0] || (m[0] = t1((n) => e(C.id), ["stop"]))
9578
9584
  }, [
9579
9585
  f(d.$slots, "prepend", {
@@ -9622,12 +9628,12 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9622
9628
  "r-tabs": !0,
9623
9629
  "r-tabs--tile": C.tile
9624
9630
  }));
9625
- return Q(
9631
+ return G(
9626
9632
  () => i.value,
9627
9633
  () => {
9628
9634
  M("update:modelValue", i.value);
9629
9635
  }
9630
- ), Q(
9636
+ ), G(
9631
9637
  () => C.modelValue,
9632
9638
  () => {
9633
9639
  i.value = C.modelValue;
@@ -9687,13 +9693,13 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9687
9693
  },
9688
9694
  emits: ["update:modelValue"],
9689
9695
  setup(H, { emit: V }) {
9690
- const C = H, M = V, i = y1({
9696
+ const C = H, M = V, i = P1({
9691
9697
  value: ""
9692
9698
  });
9693
9699
  function L(A) {
9694
9700
  M("update:modelValue", A.target.value);
9695
9701
  }
9696
- return Q(
9702
+ return G(
9697
9703
  () => C.modelValue,
9698
9704
  (A) => {
9699
9705
  i.value = A;
@@ -9709,7 +9715,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9709
9715
  for: "textarea",
9710
9716
  text: C.label
9711
9717
  }, null, 8, ["id", "text"])) : O("", !0),
9712
- u("textarea", I1(A.$attrs, {
9718
+ u("textarea", Q1(A.$attrs, {
9713
9719
  id: C.id,
9714
9720
  class: ["r-textarea", {
9715
9721
  "r-textarea--error": C.errorMsg,
@@ -9764,7 +9770,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9764
9770
  "click:clear"
9765
9771
  ],
9766
9772
  setup(H, { emit: V }) {
9767
- const C = H, M = V, i = E(), L = y1({
9773
+ const C = H, M = V, i = E(), L = P1({
9768
9774
  value: ""
9769
9775
  }), A = E(C.type), e = {
9770
9776
  password: "mdiLock",
@@ -9830,7 +9836,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9830
9836
  var g;
9831
9837
  (g = i.value) == null || g.focus();
9832
9838
  }
9833
- return Q(
9839
+ return G(
9834
9840
  () => C.modelValue,
9835
9841
  (g) => {
9836
9842
  L.value = g;
@@ -9838,7 +9844,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9838
9844
  {
9839
9845
  immediate: !0
9840
9846
  }
9841
- ), Q(
9847
+ ), G(
9842
9848
  () => L.value,
9843
9849
  (g) => {
9844
9850
  M(
@@ -9936,7 +9942,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9936
9942
  class: "r-breadcrumb__link",
9937
9943
  to: L.to
9938
9944
  }, {
9939
- default: k1(() => [
9945
+ default: B1(() => [
9940
9946
  f(C.$slots, "item-icon", {}, () => [
9941
9947
  L.icon ? (t(), _(D, {
9942
9948
  key: 0,
@@ -10005,9 +10011,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10005
10011
  start: C.page * C.perPage - C.perPage,
10006
10012
  end: C.page * C.perPage
10007
10013
  })), e = h(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = h(() => +C.page == +L.value), m = h(() => +C.page == 1);
10008
- Q(() => A.value, () => {
10014
+ G(() => A.value, () => {
10009
10015
  M("update:info", A.value);
10010
- }), Q(() => C.perPage, () => {
10016
+ }), G(() => C.perPage, () => {
10011
10017
  i.value = C.perPage, n(1);
10012
10018
  });
10013
10019
  function n(o) {
@@ -10136,11 +10142,11 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10136
10142
  class: "r-progressbar",
10137
10143
  max: 100,
10138
10144
  role: "progressbar",
10139
- style: Q1({ height: `${V.height}px` }),
10145
+ style: G1({ height: `${V.height}px` }),
10140
10146
  value: V.value
10141
10147
  }, null, 12, o0));
10142
10148
  }
10143
- }), h1 = "rocket-ui:r-item-group", T0 = /* @__PURE__ */ R({
10149
+ }), g1 = "rocket-ui:r-item-group", T0 = /* @__PURE__ */ R({
10144
10150
  __name: "RItemGroup",
10145
10151
  props: {
10146
10152
  modelValue: { default: () => [] },
@@ -10154,22 +10160,22 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10154
10160
  emits: ["update:modelValue"],
10155
10161
  setup(H, { emit: V }) {
10156
10162
  const C = H, M = V, i = E(C.as ?? "div"), L = E(C.modelValue), A = h(() => C.selectedClass);
10157
- O1(`${h1}:selectedClass`, A.value);
10163
+ f1(`${g1}:selectedClass`, A.value);
10158
10164
  function e(n) {
10159
10165
  return L.value.includes(n);
10160
10166
  }
10161
- O1(`${h1}:isSelected`, e);
10167
+ f1(`${g1}:isSelected`, e);
10162
10168
  function d(n, a) {
10163
10169
  C.disabled || C.mandatory && L.value.length === 1 && !a || C.max && L.value.length === C.max && a || (C.multiple ? a ? L.value.push(n) : L.value = L.value.filter((o) => o !== n) : L.value = n ? [n] : [], M("update:modelValue", L.value));
10164
10170
  }
10165
- O1(`${h1}:select`, d);
10171
+ f1(`${g1}:select`, d);
10166
10172
  function m() {
10167
10173
  return C.disabled;
10168
10174
  }
10169
- return O1(`${h1}:isDisabled`, m), Q(() => C.modelValue, () => {
10175
+ return f1(`${g1}:isDisabled`, m), G(() => C.modelValue, () => {
10170
10176
  L.value = C.modelValue;
10171
10177
  }), (n, a) => (t(), _(w2(i.value), null, {
10172
- default: k1(() => [
10178
+ default: B1(() => [
10173
10179
  f(n.$slots, "default", {
10174
10180
  isSelected: e,
10175
10181
  select: d,
@@ -10179,14 +10185,14 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10179
10185
  _: 3
10180
10186
  }));
10181
10187
  }
10182
- }), g1 = "rocket-ui:r-item-group", F0 = /* @__PURE__ */ R({
10188
+ }), k1 = "rocket-ui:r-item-group", F0 = /* @__PURE__ */ R({
10183
10189
  __name: "RItem",
10184
10190
  props: {
10185
10191
  value: { default: null },
10186
10192
  selectedClass: { default: "" }
10187
10193
  },
10188
10194
  setup(H) {
10189
- const V = H, C = f1(`${g1}:isSelected`), M = f1(`${g1}:selectedClass`, ""), i = f1(`${g1}:select`), L = f1(`${g1}:isDisabled`), A = h(() => C(V.value) && [M, V.selectedClass]);
10195
+ const V = H, C = h1(`${k1}:isSelected`), M = h1(`${k1}:selectedClass`, ""), i = h1(`${k1}:select`), L = h1(`${k1}:isDisabled`), A = h(() => C(V.value) && [M, V.selectedClass]);
10190
10196
  function e() {
10191
10197
  V.disabled || i(V.value, !C(V.value));
10192
10198
  }
@@ -10226,12 +10232,12 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10226
10232
  "r-radio--error": V.errorMsg
10227
10233
  }
10228
10234
  ]);
10229
- return Q(() => V.modelValue, (i) => {
10235
+ return G(() => V.modelValue, (i) => {
10230
10236
  C.value = i;
10231
10237
  }, { immediate: !0 }), (i, L) => (t(), r("div", {
10232
10238
  class: p(M.value)
10233
10239
  }, [
10234
- u("input", I1(i.$attrs, {
10240
+ u("input", Q1(i.$attrs, {
10235
10241
  id: V.id,
10236
10242
  checked: C.value,
10237
10243
  class: "r-radio__input",