@rocketui/vue 0.2.12 → 0.2.13

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 T, openBlock as m, createElementBlock as n, createElementVNode as S, unref as M1, reactive as m1, Fragment as V1, 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 $, 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 k1, resolveDynamicComponent as g2, inject as B1 } from "vue";
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";
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",
@@ -7305,14 +7305,14 @@ const k2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (m(), n("svg", {
7308
+ return (C, M) => (m(), r("svg", {
7309
7309
  class: "r-icon",
7310
7310
  height: V.size,
7311
7311
  viewBox: V.viewBox,
7312
7312
  width: V.size
7313
7313
  }, [
7314
7314
  S("path", {
7315
- d: M1(k2)[V.name]
7315
+ d: V1(k2)[V.name]
7316
7316
  }, null, 8, b2)
7317
7317
  ], 8, B2));
7318
7318
  }
@@ -7335,7 +7335,7 @@ const k2 = {
7335
7335
  C[i].open = i === A ? !C[i].open : !1;
7336
7336
  });
7337
7337
  }
7338
- return (A, L) => (m(!0), n(V1, null, A1(C, (i, e) => (m(), n("div", {
7338
+ return (A, L) => (m(!0), r(L1, null, A1(C, (i, e) => (m(), r("div", {
7339
7339
  key: e,
7340
7340
  class: p(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
@@ -7392,7 +7392,7 @@ const k2 = {
7392
7392
  function i() {
7393
7393
  M("close");
7394
7394
  }
7395
- return (e, t) => (m(), n("div", {
7395
+ return (e, t) => (m(), r("div", {
7396
7396
  class: p(A.value)
7397
7397
  }, [
7398
7398
  S("div", F2, [
@@ -7406,10 +7406,10 @@ const k2 = {
7406
7406
  S("div", R2, [
7407
7407
  f(e.$slots, "content", {}, () => [
7408
7408
  S("p", x2, w(C.title), 1),
7409
- C.description ? (m(), n("p", D2, w(C.description), 1)) : c("", !0)
7409
+ C.description ? (m(), r("p", D2, w(C.description), 1)) : c("", !0)
7410
7410
  ])
7411
7411
  ]),
7412
- C.closable ? (m(), n("div", _2, [
7412
+ C.closable ? (m(), r("div", _2, [
7413
7413
  f(e.$slots, "custom-close", {}, () => [
7414
7414
  K(D, {
7415
7415
  class: "r-alert__close__button",
@@ -7440,14 +7440,14 @@ const k2 = {
7440
7440
  const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  }
7443
- return (i, e) => (m(), n("div", E2, [
7443
+ return (i, e) => (m(), r("div", E2, [
7444
7444
  S("div", {
7445
7445
  class: p(C.value)
7446
7446
  }, [
7447
- V.type === "text" ? (m(), n("p", {
7447
+ V.type === "text" ? (m(), r("p", {
7448
7448
  key: 0,
7449
7449
  class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
- }, w(L(V.text)), 3)) : (m(), n("img", {
7450
+ }, w(L(V.text)), 3)) : (m(), r("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
7453
  class: p(["r-avatar__image", {
@@ -7457,7 +7457,7 @@ const k2 = {
7457
7457
  src: A.value
7458
7458
  }, null, 10, W2))
7459
7459
  ], 2),
7460
- V.online ? (m(), n("span", {
7460
+ V.online ? (m(), r("span", {
7461
7461
  key: 0,
7462
7462
  class: p(["r-avatar__online", {
7463
7463
  [`r-avatar__online--${V.size}`]: !0
@@ -7488,7 +7488,7 @@ const k2 = {
7488
7488
  [`r-badge--${V.variant}`]: V.variant,
7489
7489
  [V.class]: V.class
7490
7490
  }));
7491
- return (M, A) => (m(), n("div", N2, [
7491
+ return (M, A) => (m(), r("div", N2, [
7492
7492
  S("span", {
7493
7493
  class: p([{ "animate-ping-2": V.animation }, C.value])
7494
7494
  }, null, 2),
@@ -7529,7 +7529,7 @@ const k2 = {
7529
7529
  })[V.size || "medium"]), A = g(() => ({
7530
7530
  height: V.height ? `${V.height}px` : ""
7531
7531
  }));
7532
- return (L, i) => (m(), n("button", j1(L.$attrs, {
7532
+ return (L, i) => (m(), r("button", j1(L.$attrs, {
7533
7533
  class: C.value,
7534
7534
  disabled: L.disabled,
7535
7535
  style: A.value,
@@ -7596,7 +7596,7 @@ const k2 = {
7596
7596
  function t(d) {
7597
7597
  C.disabled || (A.checked = d.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7598
7598
  }
7599
- return $(
7599
+ return G(
7600
7600
  () => C.indeterminate,
7601
7601
  (d) => {
7602
7602
  A.indeterminate = d, d === !0 && (A.checked = !1, M("update:modelValue", A.checked));
@@ -7606,7 +7606,7 @@ const k2 = {
7606
7606
  // TODO: find a better way to do this
7607
7607
  immediate: !0
7608
7608
  }
7609
- ), $(
7609
+ ), G(
7610
7610
  () => C.modelValue,
7611
7611
  (d) => {
7612
7612
  A.checked = d;
@@ -7616,7 +7616,7 @@ const k2 = {
7616
7616
  // TODO: find a better way to do this
7617
7617
  immediate: !0
7618
7618
  }
7619
- ), (d, l) => (m(), n("div", Q2, [
7619
+ ), (d, l) => (m(), r("div", Q2, [
7620
7620
  S("div", G2, [
7621
7621
  S("input", {
7622
7622
  id: C.id,
@@ -7643,8 +7643,8 @@ const k2 = {
7643
7643
  "data-disabled": C.disabled,
7644
7644
  for: C.id
7645
7645
  }, w(C.label), 9, K2),
7646
- C.hideDetails ? c("", !0) : (m(), n("div", q2, [
7647
- C.errorMsg ? (m(), n("p", j2, w(C.errorMsg), 1)) : (m(), n("p", X2, w(C.hint), 1))
7646
+ C.hideDetails ? c("", !0) : (m(), r("div", q2, [
7647
+ C.errorMsg ? (m(), r("p", j2, w(C.errorMsg), 1)) : (m(), r("p", X2, w(C.hint), 1))
7648
7648
  ]))
7649
7649
  ])
7650
7650
  ]));
@@ -7675,7 +7675,7 @@ const k2 = {
7675
7675
  function i(e) {
7676
7676
  C.disabled || !C.closable || (e.stopPropagation(), M("click:close", e));
7677
7677
  }
7678
- return (e, t) => (m(), n("div", {
7678
+ return (e, t) => (m(), r("div", {
7679
7679
  class: p(A.value)
7680
7680
  }, [
7681
7681
  S("div", {
@@ -7710,7 +7710,7 @@ function C5(H) {
7710
7710
  return Z2() ? (u2(H), !0) : !1;
7711
7711
  }
7712
7712
  function J1(H) {
7713
- return typeof H == "function" ? H() : M1(H);
7713
+ return typeof H == "function" ? H() : V1(H);
7714
7714
  }
7715
7715
  const C2 = typeof window < "u" && typeof document < "u";
7716
7716
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -7726,21 +7726,21 @@ function o1(H) {
7726
7726
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7727
7727
  }
7728
7728
  const H2 = C2 ? window : void 0;
7729
- function b1(...H) {
7729
+ function y1(...H) {
7730
7730
  let V, C, M, A;
7731
7731
  if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, A] = H, V = H2) : [V, C, M, A] = H, !V)
7732
7732
  return P1;
7733
7733
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7734
7734
  const L = [], i = () => {
7735
7735
  L.forEach((l) => l()), L.length = 0;
7736
- }, e = (l, o, a, r) => (l.addEventListener(o, a, r), () => l.removeEventListener(o, a, r)), t = $(
7736
+ }, e = (l, o, n, a) => (l.addEventListener(o, n, a), () => l.removeEventListener(o, n, a)), t = G(
7737
7737
  () => [o1(V), J1(A)],
7738
7738
  ([l, o]) => {
7739
7739
  if (i(), !l)
7740
7740
  return;
7741
- const a = V5(o) ? { ...o } : o;
7741
+ const n = V5(o) ? { ...o } : o;
7742
7742
  L.push(
7743
- ...C.flatMap((r) => M.map((Z) => e(l, r, Z, a)))
7743
+ ...C.flatMap((a) => M.map((Z) => e(l, a, Z, n)))
7744
7744
  );
7745
7745
  },
7746
7746
  { immediate: !0, flush: "post" }
@@ -7754,41 +7754,41 @@ function A5(H, V, C = {}) {
7754
7754
  const { window: M = H2, ignore: A = [], capture: L = !0, detectIframe: i = !1 } = C;
7755
7755
  if (!M)
7756
7756
  return;
7757
- L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((a) => a.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7757
+ L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7758
7758
  let e = !0;
7759
- const t = (a) => A.some((r) => {
7760
- if (typeof r == "string")
7761
- return Array.from(M.document.querySelectorAll(r)).some((Z) => Z === a.target || a.composedPath().includes(Z));
7759
+ const t = (n) => A.some((a) => {
7760
+ if (typeof a == "string")
7761
+ return Array.from(M.document.querySelectorAll(a)).some((Z) => Z === n.target || n.composedPath().includes(Z));
7762
7762
  {
7763
- const Z = o1(r);
7764
- return Z && (a.target === Z || a.composedPath().includes(Z));
7763
+ const Z = o1(a);
7764
+ return Z && (n.target === Z || n.composedPath().includes(Z));
7765
7765
  }
7766
7766
  }), l = [
7767
- b1(M, "click", (a) => {
7768
- const r = o1(H);
7769
- if (!(!r || r === a.target || a.composedPath().includes(r))) {
7770
- if (a.detail === 0 && (e = !t(a)), !e) {
7767
+ y1(M, "click", (n) => {
7768
+ const a = o1(H);
7769
+ if (!(!a || a === n.target || n.composedPath().includes(a))) {
7770
+ if (n.detail === 0 && (e = !t(n)), !e) {
7771
7771
  e = !0;
7772
7772
  return;
7773
7773
  }
7774
- V(a);
7774
+ V(n);
7775
7775
  }
7776
7776
  }, { passive: !0, capture: L }),
7777
- b1(M, "pointerdown", (a) => {
7778
- const r = o1(H);
7779
- e = !t(a) && !!(r && !a.composedPath().includes(r));
7777
+ y1(M, "pointerdown", (n) => {
7778
+ const a = o1(H);
7779
+ e = !t(n) && !!(a && !n.composedPath().includes(a));
7780
7780
  }, { passive: !0 }),
7781
- i && b1(M, "blur", (a) => {
7781
+ i && y1(M, "blur", (n) => {
7782
7782
  setTimeout(() => {
7783
- var r;
7783
+ var a;
7784
7784
  const Z = o1(H);
7785
- ((r = M.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(a);
7785
+ ((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(n);
7786
7786
  }, 0);
7787
7787
  })
7788
7788
  ].filter(Boolean);
7789
- return () => l.forEach((a) => a());
7789
+ return () => l.forEach((n) => n());
7790
7790
  }
7791
- const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, s1 = Math.round, J = (H) => ({
7791
+ const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, f1 = Math.round, J = (H) => ({
7792
7792
  x: H,
7793
7793
  y: H
7794
7794
  }), e5 = {
@@ -7806,7 +7806,7 @@ function v1(H, V, C) {
7806
7806
  function l1(H, V) {
7807
7807
  return typeof H == "function" ? H(V) : H;
7808
7808
  }
7809
- function L1(H) {
7809
+ function M1(H) {
7810
7810
  return H.split("-")[0];
7811
7811
  }
7812
7812
  function u1(H) {
@@ -7818,20 +7818,20 @@ function V2(H) {
7818
7818
  function D1(H) {
7819
7819
  return H === "y" ? "height" : "width";
7820
7820
  }
7821
- function f1(H) {
7822
- return ["top", "bottom"].includes(L1(H)) ? "y" : "x";
7821
+ function B1(H) {
7822
+ return ["top", "bottom"].includes(M1(H)) ? "y" : "x";
7823
7823
  }
7824
7824
  function _1(H) {
7825
- return V2(f1(H));
7825
+ return V2(B1(H));
7826
7826
  }
7827
7827
  function t5(H, V, C) {
7828
7828
  C === void 0 && (C = !1);
7829
7829
  const M = u1(H), A = _1(H), L = D1(A);
7830
7830
  let i = A === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7831
- return V.reference[L] > V.floating[L] && (i = c1(i)), [i, c1(i)];
7831
+ return V.reference[L] > V.floating[L] && (i = h1(i)), [i, h1(i)];
7832
7832
  }
7833
7833
  function m5(H) {
7834
- const V = c1(H);
7834
+ const V = h1(H);
7835
7835
  return [T1(H), V, T1(V)];
7836
7836
  }
7837
7837
  function T1(H) {
@@ -7852,10 +7852,10 @@ function l5(H, V, C) {
7852
7852
  }
7853
7853
  function o5(H, V, C, M) {
7854
7854
  const A = u1(H);
7855
- let L = l5(L1(H), C === "start", M);
7855
+ let L = l5(M1(H), C === "start", M);
7856
7856
  return A && (L = L.map((i) => i + "-" + A), V && (L = L.concat(L.map(T1)))), L;
7857
7857
  }
7858
- function c1(H) {
7858
+ function h1(H) {
7859
7859
  return H.replace(/left|right|bottom|top/g, (V) => e5[V]);
7860
7860
  }
7861
7861
  function n5(H) {
@@ -7875,7 +7875,7 @@ function L2(H) {
7875
7875
  left: H
7876
7876
  };
7877
7877
  }
7878
- function O1(H) {
7878
+ function g1(H) {
7879
7879
  return {
7880
7880
  ...H,
7881
7881
  top: H.y,
@@ -7889,48 +7889,48 @@ function G1(H, V, C) {
7889
7889
  reference: M,
7890
7890
  floating: A
7891
7891
  } = H;
7892
- const L = f1(V), i = _1(V), e = D1(i), t = L1(V), d = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, a = M[e] / 2 - A[e] / 2;
7893
- let r;
7892
+ const L = B1(V), i = _1(V), e = D1(i), t = M1(V), d = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, n = M[e] / 2 - A[e] / 2;
7893
+ let a;
7894
7894
  switch (t) {
7895
7895
  case "top":
7896
- r = {
7896
+ a = {
7897
7897
  x: l,
7898
7898
  y: M.y - A.height
7899
7899
  };
7900
7900
  break;
7901
7901
  case "bottom":
7902
- r = {
7902
+ a = {
7903
7903
  x: l,
7904
7904
  y: M.y + M.height
7905
7905
  };
7906
7906
  break;
7907
7907
  case "right":
7908
- r = {
7908
+ a = {
7909
7909
  x: M.x + M.width,
7910
7910
  y: o
7911
7911
  };
7912
7912
  break;
7913
7913
  case "left":
7914
- r = {
7914
+ a = {
7915
7915
  x: M.x - A.width,
7916
7916
  y: o
7917
7917
  };
7918
7918
  break;
7919
7919
  default:
7920
- r = {
7920
+ a = {
7921
7921
  x: M.x,
7922
7922
  y: M.y
7923
7923
  };
7924
7924
  }
7925
7925
  switch (u1(V)) {
7926
7926
  case "start":
7927
- r[i] -= a * (C && d ? -1 : 1);
7927
+ a[i] -= n * (C && d ? -1 : 1);
7928
7928
  break;
7929
7929
  case "end":
7930
- r[i] += a * (C && d ? -1 : 1);
7930
+ a[i] += n * (C && d ? -1 : 1);
7931
7931
  break;
7932
7932
  }
7933
- return r;
7933
+ return a;
7934
7934
  }
7935
7935
  const r5 = async (H, V, C) => {
7936
7936
  const {
@@ -7946,7 +7946,7 @@ const r5 = async (H, V, C) => {
7946
7946
  }), {
7947
7947
  x: l,
7948
7948
  y: o
7949
- } = G1(d, M, t), a = M, r = {}, Z = 0;
7949
+ } = G1(d, M, t), n = M, a = {}, Z = 0;
7950
7950
  for (let B = 0; B < e.length; B++) {
7951
7951
  const {
7952
7952
  name: k,
@@ -7960,9 +7960,9 @@ const r5 = async (H, V, C) => {
7960
7960
  x: l,
7961
7961
  y: o,
7962
7962
  initialPlacement: M,
7963
- placement: a,
7963
+ placement: n,
7964
7964
  strategy: A,
7965
- middlewareData: r,
7965
+ middlewareData: a,
7966
7966
  rects: d,
7967
7967
  platform: i,
7968
7968
  elements: {
@@ -7970,33 +7970,33 @@ const r5 = async (H, V, C) => {
7970
7970
  floating: V
7971
7971
  }
7972
7972
  });
7973
- if (l = P ?? l, o = v ?? o, r = {
7974
- ...r,
7973
+ if (l = P ?? l, o = v ?? o, a = {
7974
+ ...a,
7975
7975
  [k]: {
7976
- ...r[k],
7976
+ ...a[k],
7977
7977
  ...R
7978
7978
  }
7979
7979
  }, F && Z <= 50) {
7980
- Z++, typeof F == "object" && (F.placement && (a = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7980
+ Z++, typeof F == "object" && (F.placement && (n = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7981
7981
  reference: H,
7982
7982
  floating: V,
7983
7983
  strategy: A
7984
7984
  }) : F.rects), {
7985
7985
  x: l,
7986
7986
  y: o
7987
- } = G1(d, a, t)), B = -1;
7987
+ } = G1(d, n, t)), B = -1;
7988
7988
  continue;
7989
7989
  }
7990
7990
  }
7991
7991
  return {
7992
7992
  x: l,
7993
7993
  y: o,
7994
- placement: a,
7994
+ placement: n,
7995
7995
  strategy: A,
7996
- middlewareData: r
7996
+ middlewareData: a
7997
7997
  };
7998
7998
  };
7999
- async function p1(H, V) {
7999
+ async function k1(H, V) {
8000
8000
  var C;
8001
8001
  V === void 0 && (V = {});
8002
8002
  const {
@@ -8010,9 +8010,9 @@ async function p1(H, V) {
8010
8010
  boundary: d = "clippingAncestors",
8011
8011
  rootBoundary: l = "viewport",
8012
8012
  elementContext: o = "floating",
8013
- altBoundary: a = !1,
8014
- padding: r = 0
8015
- } = l1(V, H), Z = L2(r), k = e[a ? o === "floating" ? "reference" : "floating" : o], y = O1(await L.getClippingRect({
8013
+ altBoundary: n = !1,
8014
+ padding: a = 0
8015
+ } = l1(V, H), Z = L2(a), k = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8016
8016
  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)),
8017
8017
  boundary: d,
8018
8018
  rootBoundary: l,
@@ -8027,7 +8027,7 @@ async function p1(H, V) {
8027
8027
  } : {
8028
8028
  x: 1,
8029
8029
  y: 1
8030
- }, F = O1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8030
+ }, F = g1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8031
8031
  rect: P,
8032
8032
  offsetParent: v,
8033
8033
  strategy: t
@@ -8057,23 +8057,23 @@ const a5 = (H) => ({
8057
8057
  } = l1(H, V) || {};
8058
8058
  if (d == null)
8059
8059
  return {};
8060
- const o = L2(l), a = {
8060
+ const o = L2(l), n = {
8061
8061
  x: C,
8062
8062
  y: M
8063
- }, r = _1(A), Z = D1(r), B = await i.getDimensions(d), k = r === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[r] - a[r] - L.floating[Z], F = a[r] - L.reference[r], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8063
+ }, 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));
8064
8064
  let I = z ? z[v] : 0;
8065
8065
  (!I || !await (i.isElement == null ? void 0 : i.isElement(z))) && (I = e.floating[v] || L.floating[Z]);
8066
- 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), G = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : h) - B[Z] / 2 < 0, j = G ? s < b ? s - b : s - x : 0;
8066
+ 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;
8067
8067
  return {
8068
- [r]: a[r] + j,
8068
+ [a]: n[a] + j,
8069
8069
  data: {
8070
- [r]: E,
8070
+ [a]: E,
8071
8071
  centerOffset: s - E - j,
8072
- ...G && {
8072
+ ...$ && {
8073
8073
  alignmentOffset: j
8074
8074
  }
8075
8075
  },
8076
- reset: G
8076
+ reset: $
8077
8077
  };
8078
8078
  }
8079
8079
  }), Z5 = function(H) {
@@ -8092,17 +8092,17 @@ const a5 = (H) => ({
8092
8092
  } = V, {
8093
8093
  mainAxis: l = !0,
8094
8094
  crossAxis: o = !0,
8095
- fallbackPlacements: a,
8096
- fallbackStrategy: r = "bestFit",
8095
+ fallbackPlacements: n,
8096
+ fallbackStrategy: a = "bestFit",
8097
8097
  fallbackAxisSideDirection: Z = "none",
8098
8098
  flipAlignment: B = !0,
8099
8099
  ...k
8100
8100
  } = l1(H, V);
8101
8101
  if ((C = L.arrow) != null && C.alignmentOffset)
8102
8102
  return {};
8103
- const y = L1(A), P = L1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = a || (P || !B ? [c1(e)] : m5(e));
8104
- !a && Z !== "none" && R.push(...o5(e, B, Z, v));
8105
- const F = [e, ...R], z = await p1(V, k), I = [];
8103
+ 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));
8104
+ !n && Z !== "none" && R.push(...o5(e, B, Z, v));
8105
+ const F = [e, ...R], z = await k1(V, k), I = [];
8106
8106
  let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8107
8107
  if (l && I.push(z[y]), o) {
8108
8108
  const b = t5(A, i, v);
@@ -8124,12 +8124,12 @@ const a5 = (H) => ({
8124
8124
  placement: x
8125
8125
  }
8126
8126
  };
8127
- let s = (u = O.filter((E) => E.overflows[0] <= 0).sort((E, G) => E.overflows[1] - G.overflows[1])[0]) == null ? void 0 : u.placement;
8127
+ let s = (u = O.filter((E) => E.overflows[0] <= 0).sort((E, $) => E.overflows[1] - $.overflows[1])[0]) == null ? void 0 : u.placement;
8128
8128
  if (!s)
8129
- switch (r) {
8129
+ switch (a) {
8130
8130
  case "bestFit": {
8131
8131
  var h;
8132
- const E = (h = O.map((G) => [G.placement, G.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort((G, j) => G[1] - j[1])[0]) == null ? void 0 : h[0];
8132
+ const E = (h = O.map(($) => [$.placement, $.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort(($, j) => $[1] - j[1])[0]) == null ? void 0 : h[0];
8133
8133
  E && (s = E);
8134
8134
  break;
8135
8135
  }
@@ -8172,7 +8172,7 @@ const u5 = function(H) {
8172
8172
  } = l1(H, V);
8173
8173
  switch (M) {
8174
8174
  case "referenceHidden": {
8175
- const L = await p1(V, {
8175
+ const L = await k1(V, {
8176
8176
  ...A,
8177
8177
  elementContext: "reference"
8178
8178
  }), i = $1(L, C.reference);
@@ -8184,7 +8184,7 @@ const u5 = function(H) {
8184
8184
  };
8185
8185
  }
8186
8186
  case "escaped": {
8187
- const L = await p1(V, {
8187
+ const L = await k1(V, {
8188
8188
  ...A,
8189
8189
  altBoundary: !0
8190
8190
  }), i = $1(L, C.floating);
@@ -8206,10 +8206,10 @@ async function S5(H, V) {
8206
8206
  placement: C,
8207
8207
  platform: M,
8208
8208
  elements: A
8209
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), t = f1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = l1(V, H);
8209
+ } = 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);
8210
8210
  let {
8211
- mainAxis: a,
8212
- crossAxis: r,
8211
+ mainAxis: n,
8212
+ crossAxis: a,
8213
8213
  alignmentAxis: Z
8214
8214
  } = typeof o == "number" ? {
8215
8215
  mainAxis: o,
@@ -8221,12 +8221,12 @@ async function S5(H, V) {
8221
8221
  alignmentAxis: null,
8222
8222
  ...o
8223
8223
  };
8224
- return e && typeof Z == "number" && (r = e === "end" ? Z * -1 : Z), t ? {
8225
- x: r * l,
8226
- y: a * d
8224
+ return e && typeof Z == "number" && (a = e === "end" ? Z * -1 : Z), t ? {
8225
+ x: a * l,
8226
+ y: n * d
8227
8227
  } : {
8228
- x: a * d,
8229
- y: r * l
8228
+ x: n * d,
8229
+ y: a * l
8230
8230
  };
8231
8231
  }
8232
8232
  const s5 = function(H) {
@@ -8273,11 +8273,11 @@ const s5 = function(H) {
8273
8273
  } = l1(H, V), d = {
8274
8274
  x: C,
8275
8275
  y: M
8276
- }, l = await p1(V, t), o = f1(L1(A)), a = V2(o);
8277
- let r = d[a], Z = d[o];
8276
+ }, l = await k1(V, t), o = B1(M1(A)), n = V2(o);
8277
+ let a = d[n], Z = d[o];
8278
8278
  if (L) {
8279
- const k = a === "y" ? "top" : "left", y = a === "y" ? "bottom" : "right", P = r + l[k], v = r - l[y];
8280
- r = v1(P, r, v);
8279
+ const k = n === "y" ? "top" : "left", y = n === "y" ? "bottom" : "right", P = a + l[k], v = a - l[y];
8280
+ a = v1(P, a, v);
8281
8281
  }
8282
8282
  if (i) {
8283
8283
  const k = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = Z + l[k], v = Z - l[y];
@@ -8285,7 +8285,7 @@ const s5 = function(H) {
8285
8285
  }
8286
8286
  const B = e.fn({
8287
8287
  ...V,
8288
- [a]: r,
8288
+ [n]: a,
8289
8289
  [o]: Z
8290
8290
  });
8291
8291
  return {
@@ -8339,7 +8339,7 @@ function E1(H) {
8339
8339
  }
8340
8340
  function p5(H) {
8341
8341
  let V = t1(H);
8342
- for (; q(V) && !h1(V); ) {
8342
+ for (; q(V) && !b1(V); ) {
8343
8343
  if (E1(V))
8344
8344
  return V;
8345
8345
  V = t1(V);
@@ -8349,13 +8349,13 @@ function p5(H) {
8349
8349
  function W1() {
8350
8350
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8351
8351
  }
8352
- function h1(H) {
8352
+ function b1(H) {
8353
8353
  return ["html", "body", "#document"].includes(C1(H));
8354
8354
  }
8355
8355
  function U(H) {
8356
8356
  return Q(H).getComputedStyle(H);
8357
8357
  }
8358
- function g1(H) {
8358
+ function w1(H) {
8359
8359
  return Y(H) ? {
8360
8360
  scrollLeft: H.scrollLeft,
8361
8361
  scrollTop: H.scrollTop
@@ -8378,7 +8378,7 @@ function t1(H) {
8378
8378
  }
8379
8379
  function A2(H) {
8380
8380
  const V = t1(H);
8381
- return h1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8381
+ return b1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8382
8382
  }
8383
8383
  function F1(H, V, C) {
8384
8384
  var M;
@@ -8389,7 +8389,7 @@ function F1(H, V, C) {
8389
8389
  function i2(H) {
8390
8390
  const V = U(H);
8391
8391
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8392
- const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = s1(C) !== L || s1(M) !== i;
8392
+ const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = f1(C) !== L || f1(M) !== i;
8393
8393
  return e && (C = L, M = i), {
8394
8394
  width: C,
8395
8395
  height: M,
@@ -8408,7 +8408,7 @@ function e1(H) {
8408
8408
  height: A,
8409
8409
  $: L
8410
8410
  } = i2(V);
8411
- let i = (L ? s1(C.width) : C.width) / M, e = (L ? s1(C.height) : C.height) / A;
8411
+ let i = (L ? f1(C.width) : C.width) / M, e = (L ? f1(C.height) : C.height) / A;
8412
8412
  return (!i || !Number.isFinite(i)) && (i = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8413
8413
  x: i,
8414
8414
  y: e
@@ -8433,14 +8433,14 @@ function Z1(H, V, C, M) {
8433
8433
  const e = h5(L, C, M) ? d2(L) : J(0);
8434
8434
  let t = (A.left + e.x) / i.x, d = (A.top + e.y) / i.y, l = A.width / i.x, o = A.height / i.y;
8435
8435
  if (L) {
8436
- const a = Q(L), r = M && Y(M) ? Q(M) : M;
8437
- let Z = a.frameElement;
8438
- for (; Z && M && r !== a; ) {
8436
+ const n = Q(L), a = M && Y(M) ? Q(M) : M;
8437
+ let Z = n.frameElement;
8438
+ for (; Z && M && a !== n; ) {
8439
8439
  const B = e1(Z), k = Z.getBoundingClientRect(), y = U(Z), P = k.left + (Z.clientLeft + parseFloat(y.paddingLeft)) * B.x, v = k.top + (Z.clientTop + parseFloat(y.paddingTop)) * B.y;
8440
8440
  t *= B.x, d *= B.y, l *= B.x, o *= B.y, t += P, d += v, Z = Q(Z).frameElement;
8441
8441
  }
8442
8442
  }
8443
- return O1({
8443
+ return g1({
8444
8444
  width: l,
8445
8445
  height: o,
8446
8446
  x: t,
@@ -8461,7 +8461,7 @@ function g5(H) {
8461
8461
  scrollTop: 0
8462
8462
  }, e = J(1);
8463
8463
  const t = J(0);
8464
- if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = g1(C)), q(C))) {
8464
+ if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = w1(C)), q(C))) {
8465
8465
  const d = Z1(C);
8466
8466
  e = e1(C), t.x = d.x + C.clientLeft, t.y = d.y + C.clientTop;
8467
8467
  }
@@ -8476,10 +8476,10 @@ function k5(H) {
8476
8476
  return Array.from(H.getClientRects());
8477
8477
  }
8478
8478
  function t2(H) {
8479
- return Z1(H1(H)).left + g1(H).scrollLeft;
8479
+ return Z1(H1(H)).left + w1(H).scrollLeft;
8480
8480
  }
8481
8481
  function B5(H) {
8482
- const V = H1(H), C = g1(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);
8482
+ 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);
8483
8483
  let i = -C.scrollLeft + t2(H);
8484
8484
  const e = -C.scrollTop;
8485
8485
  return U(M).direction === "rtl" && (i += i1(V.clientWidth, M.clientWidth) - A), {
@@ -8529,11 +8529,11 @@ function K1(H, V, C) {
8529
8529
  y: V.y - A.y
8530
8530
  };
8531
8531
  }
8532
- return O1(M);
8532
+ return g1(M);
8533
8533
  }
8534
8534
  function m2(H, V) {
8535
8535
  const C = t1(H);
8536
- return C === V || !Y(C) || h1(C) ? !1 : U(C).position === "fixed" || m2(C, V);
8536
+ return C === V || !Y(C) || b1(C) ? !1 : U(C).position === "fixed" || m2(C, V);
8537
8537
  }
8538
8538
  function y5(H, V) {
8539
8539
  const C = V.get(H);
@@ -8542,7 +8542,7 @@ function y5(H, V) {
8542
8542
  let M = F1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
8543
8543
  const L = U(H).position === "fixed";
8544
8544
  let i = L ? t1(H) : H;
8545
- for (; Y(i) && !h1(i); ) {
8545
+ for (; Y(i) && !b1(i); ) {
8546
8546
  const e = U(i), t = E1(i);
8547
8547
  !t && e.position === "fixed" && (A = null), (L ? !t && !A : !t && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !t && m2(H, i)) ? M = M.filter((l) => l !== i) : A = e, i = t1(i);
8548
8548
  }
@@ -8577,7 +8577,7 @@ function T5(H, V, C) {
8577
8577
  };
8578
8578
  const t = J(0);
8579
8579
  if (M || !M && !L)
8580
- if ((C1(V) !== "body" || S1(A)) && (e = g1(V)), M) {
8580
+ if ((C1(V) !== "body" || S1(A)) && (e = w1(V)), M) {
8581
8581
  const d = Z1(V, !0, L, V);
8582
8582
  t.x = d.x + V.clientLeft, t.y = d.y + V.clientTop;
8583
8583
  } else
@@ -8656,13 +8656,13 @@ async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8656
8656
  u5()
8657
8657
  ]
8658
8658
  }).then(({ x: t, y: d, placement: l, middlewareData: o }) => {
8659
- var r;
8659
+ var a;
8660
8660
  if (!V)
8661
8661
  return;
8662
- const a = ((r = H.offsetParent) == null ? void 0 : r.getBoundingClientRect().left) || 0;
8662
+ const n = ((a = H.offsetParent) == null ? void 0 : a.getBoundingClientRect().left) || 0;
8663
8663
  if (Object.assign(V.style, {
8664
8664
  maxWidth: e === "dropdown" ? `${H.offsetWidth}px` : "auto",
8665
- left: e === "dropdown" ? `${a}px` : `${t}px`,
8665
+ left: e === "dropdown" ? `${n}px` : `${t}px`,
8666
8666
  top: `${d}px`,
8667
8667
  animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
8668
8668
  transformOrigin: "start"
@@ -8726,10 +8726,10 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8726
8726
  function o() {
8727
8727
  C.disabled || C.triggers.includes(X.Hover) && e();
8728
8728
  }
8729
- function a() {
8729
+ function n() {
8730
8730
  C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && t());
8731
8731
  }
8732
- function r() {
8732
+ function a() {
8733
8733
  C.triggers.includes(X.Hover) && Z();
8734
8734
  }
8735
8735
  function Z() {
@@ -8761,7 +8761,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8761
8761
  ignore: [L.value]
8762
8762
  }
8763
8763
  );
8764
- }), (k, y) => (m(), n(V1, null, [
8764
+ }), (k, y) => (m(), r(L1, null, [
8765
8765
  S("div", {
8766
8766
  ref_key: "trigger",
8767
8767
  ref: A,
@@ -8769,15 +8769,15 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8769
8769
  class: p(["r-tooltip-trigger", k.triggerClass]),
8770
8770
  onClick: l,
8771
8771
  onMouseenter: o,
8772
- onMouseleave: a,
8773
- onMousemove: r
8772
+ onMouseleave: n,
8773
+ onMousemove: a
8774
8774
  }, [
8775
8775
  f(k.$slots, "default", {
8776
8776
  activators: {
8777
8777
  click: l,
8778
8778
  mouseenter: o,
8779
- mouseleave: a,
8780
- mousemove: r
8779
+ mouseleave: n,
8780
+ mousemove: a
8781
8781
  },
8782
8782
  updatePosition: Z
8783
8783
  }, () => [
@@ -8798,14 +8798,14 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8798
8798
  hide: t,
8799
8799
  updatePosition: Z
8800
8800
  }, () => [
8801
- C.text ? (m(), n("div", {
8801
+ C.text ? (m(), r("div", {
8802
8802
  key: 0,
8803
8803
  class: p(["r-tooltip__content", {
8804
8804
  "r-tooltip__content--dark": C.dark,
8805
8805
  "r-tooltip__content--light": C.light
8806
8806
  }])
8807
8807
  }, w(C.text), 3)) : c("", !0),
8808
- C.text ? (m(), n("div", {
8808
+ C.text ? (m(), r("div", {
8809
8809
  key: 1,
8810
8810
  id: "arrow",
8811
8811
  ref_key: "arrowElement",
@@ -8884,12 +8884,12 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8884
8884
  value: u,
8885
8885
  label: String(u)
8886
8886
  };
8887
- }), o = N(), a = N(), r = N();
8887
+ }), o = N(), n = N(), a = N();
8888
8888
  function Z(u, h) {
8889
8889
  var b, x, s;
8890
8890
  if (u.stopPropagation(), !C.disabled) {
8891
8891
  if (i.value = !0, h && h(), i.value) {
8892
- (b = o.value) == null || b.classList.add("r-dropdown--active"), (x = o.value) == null || x.focus(), C.searchable && ((s = a.value) == null || s.focus());
8892
+ (b = o.value) == null || b.classList.add("r-dropdown--active"), (x = o.value) == null || x.focus(), C.searchable && ((s = n.value) == null || s.focus());
8893
8893
  return;
8894
8894
  }
8895
8895
  B();
@@ -8897,13 +8897,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8897
8897
  }
8898
8898
  function B() {
8899
8899
  var u, h, b;
8900
- i.value = !1, (u = o.value) == null || u.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = a.value) == null || b.blur();
8900
+ i.value = !1, (u = o.value) == null || u.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = n.value) == null || b.blur();
8901
8901
  }
8902
8902
  function k(u, h, b, x) {
8903
8903
  var s;
8904
8904
  if (u.stopPropagation(), x(), !h.disabled) {
8905
8905
  if (C.multiple || C.taggable) {
8906
- L.find((E) => E.value === h.value) ? L.splice(L.indexOf(h), 1) : L.push(h), e.value = "", C.searchable && ((s = a.value) == null || s.focus());
8906
+ 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());
8907
8907
  return;
8908
8908
  }
8909
8909
  y(u, h), C.closeOnSelect && (b(), B());
@@ -8931,7 +8931,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8931
8931
  const b = e.value;
8932
8932
  if (b === "")
8933
8933
  return;
8934
- d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = a.value) == null || s.focus());
8934
+ d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = n.value) == null || s.focus());
8935
8935
  }
8936
8936
  function R(u) {
8937
8937
  return C.multiple || C.taggable ? L.find((h) => h.value === u.value) : A.value.value === u.value;
@@ -8952,13 +8952,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8952
8952
  }
8953
8953
  return X1(() => {
8954
8954
  I();
8955
- }), $(L, (u) => {
8955
+ }), G(L, (u) => {
8956
8956
  M("update:modelValue", u);
8957
- }), $(() => l.value, (u) => {
8957
+ }), G(() => l.value, (u) => {
8958
8958
  I();
8959
- }), (u, h) => (m(), n("div", {
8959
+ }), (u, h) => (m(), r("div", {
8960
8960
  ref_key: "wrapper",
8961
- ref: r,
8961
+ ref: a,
8962
8962
  class: "r-dropdown-wrapper"
8963
8963
  }, [
8964
8964
  K(N5, {
@@ -8986,7 +8986,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8986
8986
  role: "select",
8987
8987
  onClick: (s) => Z(s, b.click)
8988
8988
  }, [
8989
- C.prependIcon || u.$slots.prepend ? (m(), n("div", {
8989
+ C.prependIcon || u.$slots.prepend ? (m(), r("div", {
8990
8990
  key: 0,
8991
8991
  class: p(["r-dropdown__prepend-icon", {
8992
8992
  "r-dropdown__prepend-icon--active": i.value,
@@ -9000,30 +9000,30 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9000
9000
  }, null, 8, ["name"])) : c("", !0)
9001
9001
  ])
9002
9002
  ], 2)) : c("", !0),
9003
- C.taggable && L.length ? (m(), n("div", Q5, [
9003
+ C.taggable && L.length ? (m(), r("div", Q5, [
9004
9004
  f(u.$slots, "tags", {
9005
9005
  options: L,
9006
9006
  removeOption: P,
9007
9007
  updatePosition: x
9008
9008
  }, () => [
9009
- (m(!0), n(V1, null, A1(L, (s, E) => (m(), _(J2, {
9009
+ (m(!0), r(L1, null, A1(L, (s, E) => (m(), _(J2, {
9010
9010
  key: E,
9011
9011
  "append-icon": "mdiClose",
9012
9012
  class: "r-dropdown__tags__chip",
9013
9013
  closable: "",
9014
9014
  label: s.label,
9015
9015
  variant: "primary",
9016
- "onClick:close": (G) => P(G, s, x)
9016
+ "onClick:close": ($) => P($, s, x)
9017
9017
  }, null, 8, ["label", "onClick:close"]))), 128))
9018
9018
  ])
9019
9019
  ])) : c("", !0),
9020
- C.multiple && L.length ? (m(), n("div", G5, [
9021
- (m(!0), n(V1, null, A1(L, (s, E) => (m(), n("p", { key: E }, w(`${s.label},`), 1))), 128))
9020
+ C.multiple && L.length ? (m(), r("div", G5, [
9021
+ (m(!0), r(L1, null, A1(L, (s, E) => (m(), r("p", { key: E }, w(`${s.label},`), 1))), 128))
9022
9022
  ])) : c("", !0),
9023
9023
  Y1(S("input", {
9024
9024
  id: C.id,
9025
9025
  ref_key: "input",
9026
- ref: a,
9026
+ ref: n,
9027
9027
  "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9028
9028
  autocomplete: C.autocomplete,
9029
9029
  class: p(["r-dropdown__input", {
@@ -9042,7 +9042,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9042
9042
  }, null, 42, $5), [
9043
9043
  [c2, e.value]
9044
9044
  ]),
9045
- C.clearable ? (m(), n("div", {
9045
+ C.clearable ? (m(), r("div", {
9046
9046
  key: 3,
9047
9047
  class: "r-dropdown__clearable",
9048
9048
  "data-has-value": (e.value !== "" || L.length) && i.value,
@@ -9053,7 +9053,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9053
9053
  size: "18"
9054
9054
  })
9055
9055
  ], 8, U5)) : c("", !0),
9056
- C.appendIcon || u.$slots.append ? (m(), n("div", {
9056
+ C.appendIcon || u.$slots.append ? (m(), r("div", {
9057
9057
  key: 4,
9058
9058
  class: p(["r-dropdown__append-icon", {
9059
9059
  "r-dropdown__append-icon--active": i.value,
@@ -9076,7 +9076,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9076
9076
  [C.optionsClass]: C.optionsClass
9077
9077
  }])
9078
9078
  }, [
9079
- (m(!0), n(V1, null, A1(F.value, (s) => (m(), n("li", {
9079
+ (m(!0), r(L1, null, A1(F.value, (s) => (m(), r("li", {
9080
9080
  key: s.value,
9081
9081
  "aria-disabled": s.disabled,
9082
9082
  class: p(["r-dropdown-options__option", {
@@ -9115,7 +9115,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9115
9115
  ])
9116
9116
  ])
9117
9117
  ], 10, z5))), 128)),
9118
- F.value.length === 0 ? (m(), n("li", q5, [
9118
+ F.value.length === 0 ? (m(), r("li", q5, [
9119
9119
  f(u.$slots, "not-options", {}, () => [
9120
9120
  R1(w(C.noOptionsText || "No options"), 1)
9121
9121
  ])
@@ -9124,9 +9124,9 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9124
9124
  ]),
9125
9125
  _: 3
9126
9126
  }),
9127
- u.$props.hideDetails ? c("", !0) : (m(), n("div", j5, [
9128
- C.errorMsg ? (m(), n("div", X5, w(C.errorMsg), 1)) : c("", !0),
9129
- C.hint ? (m(), n("div", Y5, w(C.hint), 1)) : c("", !0)
9127
+ u.$props.hideDetails ? c("", !0) : (m(), r("div", j5, [
9128
+ C.errorMsg ? (m(), r("div", X5, w(C.errorMsg), 1)) : c("", !0),
9129
+ C.hint ? (m(), r("div", Y5, w(C.hint), 1)) : c("", !0)
9130
9130
  ]))
9131
9131
  ], 512));
9132
9132
  }
@@ -9139,7 +9139,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9139
9139
  },
9140
9140
  setup(H) {
9141
9141
  const V = H;
9142
- return (C, M) => (m(), n("label", {
9142
+ return (C, M) => (m(), r("label", {
9143
9143
  id: V.id,
9144
9144
  class: "r-label",
9145
9145
  for: V.for
@@ -9191,7 +9191,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9191
9191
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9192
9192
  }), window.addEventListener("keydown", (e) => {
9193
9193
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9194
- }), (e, t) => Y1((m(), n("div", {
9194
+ }), (e, t) => Y1((m(), r("div", {
9195
9195
  class: p(["r-modal-overlay", e.overlayClass]),
9196
9196
  onClick: d1(i, ["stop"])
9197
9197
  }, [
@@ -9204,13 +9204,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9204
9204
  }, [
9205
9205
  S("div", L3, [
9206
9206
  f(e.$slots, "header"),
9207
- C.icon ? (m(), n("div", M3, [
9207
+ C.icon ? (m(), r("div", M3, [
9208
9208
  K(D, {
9209
9209
  name: C.icon
9210
9210
  }, null, 8, ["name"])
9211
9211
  ])) : c("", !0),
9212
- C.title ? (m(), n("div", A3, w(C.title), 1)) : c("", !0),
9213
- C.description ? (m(), n("div", i3, w(C.description), 1)) : c("", !0)
9212
+ C.title ? (m(), r("div", A3, w(C.title), 1)) : c("", !0),
9213
+ C.description ? (m(), r("div", i3, w(C.description), 1)) : c("", !0)
9214
9214
  ]),
9215
9215
  S("div", e3, [
9216
9216
  f(e.$slots, "default")
@@ -9235,7 +9235,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9235
9235
  emits: ["update:modelValue"],
9236
9236
  setup(H, { emit: V }) {
9237
9237
  const C = H, M = V;
9238
- return (A, L) => (m(), n("div", {
9238
+ return (A, L) => (m(), r("div", {
9239
9239
  class: p(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9240
9240
  "data-open": C.modelValue
9241
9241
  }, [
@@ -9245,7 +9245,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9245
9245
  }, [
9246
9246
  f(A.$slots, "default")
9247
9247
  ], 10, m3),
9248
- C.showTrigger ? (m(), n("div", {
9248
+ C.showTrigger ? (m(), r("div", {
9249
9249
  key: 0,
9250
9250
  class: p(["r-sidebar__trigger", [C.triggerClass]]),
9251
9251
  "data-open": C.modelValue,
@@ -9274,7 +9274,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9274
9274
  emits: ["action", "update:modelValue"],
9275
9275
  setup(H, { emit: V }) {
9276
9276
  const C = H, M = V;
9277
- $(
9277
+ G(
9278
9278
  () => C.modelValue,
9279
9279
  () => {
9280
9280
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9298,7 +9298,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9298
9298
  warning: "mdiAlert",
9299
9299
  info: "mdiInformation"
9300
9300
  })[C.variant || "info"]);
9301
- return (i, e) => (m(), n("div", {
9301
+ return (i, e) => (m(), r("div", {
9302
9302
  class: p(A.value)
9303
9303
  }, [
9304
9304
  f(i.$slots, "default", {}, () => [
@@ -9310,7 +9310,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9310
9310
  ]),
9311
9311
  S("div", o3, w(C.text), 1),
9312
9312
  f(i.$slots, "action"),
9313
- C.closable ? (m(), n("div", n3, [
9313
+ C.closable ? (m(), r("div", n3, [
9314
9314
  f(i.$slots, "close", {}, () => [
9315
9315
  K(D, {
9316
9316
  name: "mdiClose",
@@ -9356,7 +9356,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9356
9356
  function i(e) {
9357
9357
  C.disabled || (A.checked = e.target.checked, M("update:modelValue", A.checked));
9358
9358
  }
9359
- return $(
9359
+ return G(
9360
9360
  () => C.modelValue,
9361
9361
  (e) => {
9362
9362
  A.checked = e;
@@ -9366,7 +9366,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9366
9366
  // TODO: find a better way to do this
9367
9367
  immediate: !0
9368
9368
  }
9369
- ), (e, t) => (m(), n("div", {
9369
+ ), (e, t) => (m(), r("div", {
9370
9370
  class: p(["r-switch-container", {
9371
9371
  "r-switch-container--reverse": C.reverse,
9372
9372
  "r-switch-container--hide-details": C.hideDetails
@@ -9395,8 +9395,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9395
9395
  class: "r-switch-texts__label",
9396
9396
  for: C.id
9397
9397
  }, w(C.label), 9, Z3),
9398
- C.hideDetails ? c("", !0) : (m(), n("div", u3, [
9399
- C.errorMsg ? (m(), n("p", S3, w(C.errorMsg), 1)) : (m(), n("p", s3, w(C.hint), 1))
9398
+ C.hideDetails ? c("", !0) : (m(), r("div", u3, [
9399
+ C.errorMsg ? (m(), r("p", S3, w(C.errorMsg), 1)) : (m(), r("p", s3, w(C.hint), 1))
9400
9400
  ]))
9401
9401
  ], 2)
9402
9402
  ], 2));
@@ -9436,7 +9436,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9436
9436
  function e() {
9437
9437
  M("click:icon");
9438
9438
  }
9439
- return (t, d) => (m(), n("button", {
9439
+ return (t, d) => (m(), r("button", {
9440
9440
  "aria-disabled": C.disabled,
9441
9441
  "aria-selected": C.modelValue === C.id,
9442
9442
  class: p(A.value),
@@ -9445,7 +9445,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9445
9445
  onClick: d[0] || (d[0] = d1((l) => i(C.id), ["stop"]))
9446
9446
  }, [
9447
9447
  f(t.$slots, "prepend", {}, () => [
9448
- C.variant !== M1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9448
+ C.variant !== V1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9449
9449
  key: 0,
9450
9450
  class: "r-tab-item__prepend-icon",
9451
9451
  name: C.prependIcon,
@@ -9457,12 +9457,12 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9457
9457
  name: "fade"
9458
9458
  }, {
9459
9459
  default: r1(() => [
9460
- C.variant !== M1(n1).ICON ? (m(), n("span", O3, w(C.label), 1)) : c("", !0)
9460
+ C.variant !== V1(n1).ICON ? (m(), r("span", O3, w(C.label), 1)) : c("", !0)
9461
9461
  ]),
9462
9462
  _: 1
9463
9463
  }),
9464
9464
  f(t.$slots, "append", {}, () => [
9465
- C.variant !== M1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9465
+ C.variant !== V1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9466
9466
  key: 0,
9467
9467
  class: "r-tab-item__append-icon",
9468
9468
  name: C.appendIcon,
@@ -9489,7 +9489,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9489
9489
  "r-tabs--tile": C.tile,
9490
9490
  "r-tabs--scrollable": C.scrollable
9491
9491
  }));
9492
- $(
9492
+ G(
9493
9493
  () => A.value,
9494
9494
  () => {
9495
9495
  M("update:modelValue", A.value);
@@ -9498,11 +9498,11 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9498
9498
  function i() {
9499
9499
  M("click:icon");
9500
9500
  }
9501
- return (e, t) => (m(), n("div", {
9501
+ return (e, t) => (m(), r("div", {
9502
9502
  class: p(L.value)
9503
9503
  }, [
9504
9504
  f(e.$slots, "default", {}, () => [
9505
- (m(!0), n(V1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9505
+ (m(!0), r(L1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9506
9506
  id: d.id,
9507
9507
  key: l,
9508
9508
  modelValue: A.value,
@@ -9549,7 +9549,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9549
9549
  function L(i) {
9550
9550
  M("update:modelValue", i.target.value);
9551
9551
  }
9552
- return $(
9552
+ return G(
9553
9553
  () => C.modelValue,
9554
9554
  (i) => {
9555
9555
  A.value = i;
@@ -9557,7 +9557,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9557
9557
  {
9558
9558
  immediate: !0
9559
9559
  }
9560
- ), (i, e) => (m(), n("div", f3, [
9560
+ ), (i, e) => (m(), r("div", f3, [
9561
9561
  C.label ? (m(), _(r2, {
9562
9562
  key: 0,
9563
9563
  id: `${C.id}-label`,
@@ -9576,8 +9576,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9576
9576
  value: A.value,
9577
9577
  onInput: L
9578
9578
  }), null, 16, h3),
9579
- C.hideDetails ? c("", !0) : (m(), n("div", g3, [
9580
- C.errorMsg ? (m(), n("p", k3, w(C.errorMsg), 1)) : (m(), n("p", B3, w(C.hint), 1))
9579
+ C.hideDetails ? c("", !0) : (m(), r("div", g3, [
9580
+ C.errorMsg ? (m(), r("p", k3, w(C.errorMsg), 1)) : (m(), r("p", B3, w(C.hint), 1))
9581
9581
  ]))
9582
9582
  ]));
9583
9583
  }
@@ -9632,14 +9632,14 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9632
9632
  }, t = N(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9633
9633
  var O;
9634
9634
  return (O = C.errorMsg) == null ? void 0 : O.length;
9635
- }), a = g(() => C.clearable && l.value), r = g(() => {
9635
+ }), n = g(() => C.clearable && l.value), a = g(() => {
9636
9636
  const { disabled: O, loading: W } = C;
9637
9637
  return {
9638
9638
  "r-textfield": !0,
9639
9639
  "r-textfield--error": o.value,
9640
9640
  "r-textfield--loading": W,
9641
9641
  "r-textfield--disabled": O,
9642
- "r-textfield--clearable": a.value,
9642
+ "r-textfield--clearable": n.value,
9643
9643
  "r-textfield--focus": t.value,
9644
9644
  "r-textfield--filled": d.value
9645
9645
  };
@@ -9649,14 +9649,14 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9649
9649
  "r-textfield__prepend-icon--error": o.value && d.value
9650
9650
  })), B = g(() => ({
9651
9651
  "r-textfield__append-icon": !0,
9652
- "r-textfield__append-icon--clear": a.value,
9652
+ "r-textfield__append-icon--clear": n.value,
9653
9653
  "r-textfield__append-icon--error": o.value
9654
9654
  })), k = g(() => {
9655
9655
  const { prependIcon: O, type: W } = C;
9656
9656
  return O === "none" ? "" : O || e[W];
9657
9657
  }), y = g(() => {
9658
9658
  const { appendIcon: O, type: W } = C;
9659
- return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : a.value && ["text", "email"].includes(W) ? "mdiClose" : W === "password" && i.value === "password" ? "mdiEyeOutline" : W === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9659
+ 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;
9660
9660
  });
9661
9661
  function P(O) {
9662
9662
  t.value = !0, M("focus", O);
@@ -9669,7 +9669,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9669
9669
  }
9670
9670
  function F() {
9671
9671
  var O;
9672
- if (a.value) {
9672
+ if (n.value) {
9673
9673
  L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9674
9674
  value: i.value === "number" ? +L.value : L.value
9675
9675
  });
@@ -9686,7 +9686,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9686
9686
  var O;
9687
9687
  (O = A.value) == null || O.focus();
9688
9688
  }
9689
- return $(
9689
+ return G(
9690
9690
  () => C.modelValue,
9691
9691
  (O) => {
9692
9692
  L.value = O;
@@ -9694,7 +9694,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9694
9694
  {
9695
9695
  immediate: !0
9696
9696
  }
9697
- ), $(
9697
+ ), G(
9698
9698
  () => L.value,
9699
9699
  (O) => {
9700
9700
  M(
@@ -9702,7 +9702,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9702
9702
  i.value === "number" ? +O : O
9703
9703
  );
9704
9704
  }
9705
- ), (O, W) => (m(), n("div", b3, [
9705
+ ), (O, W) => (m(), r("div", b3, [
9706
9706
  C.label ? (m(), _(r2, {
9707
9707
  key: 0,
9708
9708
  id: `${C.id}-label`,
@@ -9713,7 +9713,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9713
9713
  }, null, 8, ["id", "for", "text"])) : c("", !0),
9714
9714
  S("div", w3, [
9715
9715
  S("div", {
9716
- class: p(r.value)
9716
+ class: p(a.value)
9717
9717
  }, [
9718
9718
  f(O.$slots, "prepend"),
9719
9719
  k.value && !O.$slots.prepend ? (m(), _(D, {
@@ -9747,9 +9747,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9747
9747
  onClick: F
9748
9748
  }, null, 8, ["class", "name"])) : c("", !0)
9749
9749
  ], 2),
9750
- C.hideDetails ? c("", !0) : (m(), n("div", P3, [
9751
- C.errorMsg ? (m(), n("p", v3, w(C.errorMsg), 1)) : c("", !0),
9752
- !C.errorMsg && C.hint ? (m(), n("p", T3, w(C.hint), 1)) : c("", !0)
9750
+ C.hideDetails ? c("", !0) : (m(), r("div", P3, [
9751
+ C.errorMsg ? (m(), r("p", v3, w(C.errorMsg), 1)) : c("", !0),
9752
+ !C.errorMsg && C.hint ? (m(), r("p", T3, w(C.hint), 1)) : c("", !0)
9753
9753
  ]))
9754
9754
  ])
9755
9755
  ]));
@@ -9767,8 +9767,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9767
9767
  const V = H;
9768
9768
  return (C, M) => {
9769
9769
  const A = h2("router-link");
9770
- return m(), n("div", F3, [
9771
- (m(!0), n(V1, null, A1(V.items, (L, i) => (m(), n("div", {
9770
+ return m(), r("div", F3, [
9771
+ (m(!0), r(L1, null, A1(V.items, (L, i) => (m(), r("div", {
9772
9772
  key: i,
9773
9773
  class: "r-breadcrumb__item"
9774
9774
  }, [
@@ -9783,7 +9783,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9783
9783
  name: L.icon
9784
9784
  }, null, 8, ["name"])) : c("", !0)
9785
9785
  ]),
9786
- L.onlyIcon ? c("", !0) : (m(), n("span", R3, w(L.title), 1))
9786
+ L.onlyIcon ? c("", !0) : (m(), r("span", R3, w(L.title), 1))
9787
9787
  ]),
9788
9788
  _: 2
9789
9789
  }, 1032, ["to"]),
@@ -9845,7 +9845,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9845
9845
  start: C.page * C.perPage - C.perPage,
9846
9846
  end: C.page * C.perPage
9847
9847
  }));
9848
- $(() => i.value, () => {
9848
+ G(() => i.value, () => {
9849
9849
  M("update:info", i.value);
9850
9850
  });
9851
9851
  function e(d) {
@@ -9854,7 +9854,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9854
9854
  function t({ value: d }) {
9855
9855
  M("update:perPage", d);
9856
9856
  }
9857
- return (d, l) => (m(), n("div", {
9857
+ return (d, l) => (m(), r("div", {
9858
9858
  class: p(["r-pagination", [`r-pagination--${C.position}`]])
9859
9859
  }, [
9860
9860
  S("div", x3, [
@@ -9879,7 +9879,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9879
9879
  onClick: l[1] || (l[1] = (o) => e(1))
9880
9880
  }, [
9881
9881
  f(d.$slots, "first", {}, () => [
9882
- (m(), n("svg", {
9882
+ (m(), r("svg", {
9883
9883
  class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9884
9884
  fill: "none",
9885
9885
  height: "20",
@@ -9899,7 +9899,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9899
9899
  onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
9900
9900
  }, [
9901
9901
  f(d.$slots, "prev", {}, () => [
9902
- (m(), n("svg", {
9902
+ (m(), r("svg", {
9903
9903
  class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9904
9904
  fill: "none",
9905
9905
  height: "20",
@@ -9919,7 +9919,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9919
9919
  onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
9920
9920
  }, [
9921
9921
  f(d.$slots, "next", {}, () => [
9922
- (m(), n("svg", {
9922
+ (m(), r("svg", {
9923
9923
  class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9924
9924
  fill: "none",
9925
9925
  height: "20",
@@ -9939,7 +9939,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9939
9939
  onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
9940
9940
  }, [
9941
9941
  f(d.$slots, "last", {}, () => [
9942
- (m(), n("svg", {
9942
+ (m(), r("svg", {
9943
9943
  class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9944
9944
  fill: "none",
9945
9945
  height: "20",
@@ -9964,7 +9964,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9964
9964
  },
9965
9965
  setup(H) {
9966
9966
  const V = H;
9967
- return (C, M) => (m(), n("progress", {
9967
+ return (C, M) => (m(), r("progress", {
9968
9968
  "aria-valuemax": 100,
9969
9969
  class: "r-progressbar",
9970
9970
  max: 100,
@@ -9973,7 +9973,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9973
9973
  value: V.value
9974
9974
  }, null, 12, L0));
9975
9975
  }
9976
- }), w1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
9976
+ }), O1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
9977
9977
  __name: "RItemGroup",
9978
9978
  props: {
9979
9979
  modelValue: { default: () => [] },
@@ -9986,18 +9986,24 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9986
9986
  },
9987
9987
  emits: ["update:modelValue"],
9988
9988
  setup(H, { emit: V }) {
9989
- const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue ?? []), i = g(() => C.selectedClass);
9990
- k1(`${w1}:selectedClass`, i.value);
9991
- function e(d) {
9992
- return L.value.includes(d);
9989
+ const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue), i = g(() => C.selectedClass);
9990
+ s1(`${O1}:selectedClass`, i.value);
9991
+ function e(l) {
9992
+ return L.value.includes(l);
9993
9993
  }
9994
- k1(`${w1}:isSelected`, e);
9995
- function t(d, l) {
9996
- C.disabled || C.mandatory && L.value.length === 1 && l || C.max && L.value.length === C.max && l || (C.multiple ? l ? L.value.push(d) : L.value = L.value.filter((o) => o !== d) : L.value = l ? [d] : [], M("update:modelValue", L.value));
9994
+ s1(`${O1}:isSelected`, e);
9995
+ function t(l, o) {
9996
+ C.disabled || C.mandatory && L.value.length === 1 && !o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(l) : L.value = L.value.filter((n) => n !== l) : L.value = l ? [l] : [], M("update:modelValue", L.value));
9997
9997
  }
9998
- return k1(`${w1}:select`, t), (d, l) => (m(), _(g2(A.value), null, {
9998
+ s1(`${O1}:select`, t);
9999
+ function d() {
10000
+ return C.disabled;
10001
+ }
10002
+ return s1(`${O1}:isDisabled`, d), G(() => C.modelValue, () => {
10003
+ L.value = C.modelValue;
10004
+ }), (l, o) => (m(), _(g2(A.value), null, {
9999
10005
  default: r1(() => [
10000
- f(d.$slots, "default", {
10006
+ f(l.$slots, "default", {
10001
10007
  isSelected: e,
10002
10008
  select: t,
10003
10009
  selected: L.value
@@ -10006,28 +10012,26 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
10006
10012
  _: 3
10007
10013
  }));
10008
10014
  }
10009
- }), y1 = "rocket-ui:r-item-group", p0 = /* @__PURE__ */ T({
10015
+ }), p1 = "rocket-ui:r-item-group", p0 = /* @__PURE__ */ T({
10010
10016
  __name: "RItem",
10011
10017
  props: {
10012
10018
  value: { default: null },
10013
- disabled: { type: Boolean, default: !1 },
10014
10019
  selectedClass: { default: "" }
10015
10020
  },
10016
10021
  setup(H) {
10017
- const V = H, C = B1(`${y1}:isSelected`), M = B1(`${y1}:selectedClass`, ""), A = g(() => C(V.value) && [M, V.selectedClass]), L = B1(`${y1}:select`);
10018
- function i() {
10019
- V.disabled || L(V.value, !C(V.value));
10020
- }
10022
+ const V = H, C = c1(`${p1}:isSelected`), M = c1(`${p1}:selectedClass`, ""), A = c1(`${p1}:select`), L = c1(`${p1}:isDisabled`), i = g(() => C(V.value) && [M, V.selectedClass]);
10021
10023
  function e() {
10022
- V.disabled || L(V.value, !0);
10024
+ V.disabled || A(V.value, !C(V.value));
10023
10025
  }
10024
- return (t, d) => f(t.$slots, "default", {
10025
- disabled: V.disabled,
10026
- isSelected: M1(C)(V.value),
10027
- select: e,
10028
- selectedClass: A.value,
10029
- toggle: i,
10030
- value: V.value
10026
+ function t() {
10027
+ V.disabled || A(V.value, !0);
10028
+ }
10029
+ return (d, l) => f(d.$slots, "default", {
10030
+ disabled: V1(L)(V.value),
10031
+ isSelected: V1(C)(V.value),
10032
+ select: t,
10033
+ selectedClass: i.value,
10034
+ toggle: e
10031
10035
  });
10032
10036
  }
10033
10037
  });