@rocketui/vue 0.2.12 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -7465,7 +7465,7 @@ const k2 = {
7465
7465
  }, null, 2)) : c("", !0)
7466
7466
  ]));
7467
7467
  }
7468
- }), N2 = { class: "r-badge-wrapper group" }, d0 = /* @__PURE__ */ T({
7468
+ }), N2 = ["innerHTML"], d0 = /* @__PURE__ */ T({
7469
7469
  __name: "RBadge",
7470
7470
  props: {
7471
7471
  variant: { default: "primary" },
@@ -7474,13 +7474,16 @@ const k2 = {
7474
7474
  hover: { type: Boolean, default: !1 },
7475
7475
  outside: { type: Boolean, default: !1 },
7476
7476
  animation: { type: Boolean, default: !1 },
7477
- class: { default: "" }
7477
+ class: { default: "" },
7478
+ content: { default: "" },
7479
+ contentClass: { default: "" },
7480
+ wrapperClass: { default: "" }
7478
7481
  },
7479
7482
  emits: ["click"],
7480
7483
  setup(H) {
7481
7484
  const V = H, C = g(() => ({
7482
7485
  "r-badge": !0,
7483
- "r-badge__content": V.content,
7486
+ [`r-badge--content ${V.contentClass}`]: V.content,
7484
7487
  [`r-badge--overlap-${V.placement}`]: V.overlap,
7485
7488
  [`r-badge--${V.placement}`]: V.placement,
7486
7489
  [`r-badge--outside-${V.placement}`]: V.outside,
@@ -7488,15 +7491,18 @@ const k2 = {
7488
7491
  [`r-badge--${V.variant}`]: V.variant,
7489
7492
  [V.class]: V.class
7490
7493
  }));
7491
- return (M, A) => (m(), n("div", N2, [
7494
+ return (M, A) => (m(), r("div", {
7495
+ class: p(["r-badge-wrapper group", [V.wrapperClass]])
7496
+ }, [
7492
7497
  S("span", {
7493
7498
  class: p([{ "animate-ping-2": V.animation }, C.value])
7494
7499
  }, null, 2),
7495
7500
  S("span", {
7496
- class: p(C.value)
7497
- }, null, 2),
7501
+ class: p(C.value),
7502
+ innerHTML: V.content
7503
+ }, null, 10, N2),
7498
7504
  f(M.$slots, "default")
7499
- ]));
7505
+ ], 2));
7500
7506
  }
7501
7507
  }), I2 = ["disabled"], t0 = /* @__PURE__ */ T({
7502
7508
  __name: "RButton",
@@ -7529,7 +7535,7 @@ const k2 = {
7529
7535
  })[V.size || "medium"]), A = g(() => ({
7530
7536
  height: V.height ? `${V.height}px` : ""
7531
7537
  }));
7532
- return (L, i) => (m(), n("button", j1(L.$attrs, {
7538
+ return (L, i) => (m(), r("button", j1(L.$attrs, {
7533
7539
  class: C.value,
7534
7540
  disabled: L.disabled,
7535
7541
  style: A.value,
@@ -7596,7 +7602,7 @@ const k2 = {
7596
7602
  function t(d) {
7597
7603
  C.disabled || (A.checked = d.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7598
7604
  }
7599
- return $(
7605
+ return G(
7600
7606
  () => C.indeterminate,
7601
7607
  (d) => {
7602
7608
  A.indeterminate = d, d === !0 && (A.checked = !1, M("update:modelValue", A.checked));
@@ -7606,7 +7612,7 @@ const k2 = {
7606
7612
  // TODO: find a better way to do this
7607
7613
  immediate: !0
7608
7614
  }
7609
- ), $(
7615
+ ), G(
7610
7616
  () => C.modelValue,
7611
7617
  (d) => {
7612
7618
  A.checked = d;
@@ -7616,7 +7622,7 @@ const k2 = {
7616
7622
  // TODO: find a better way to do this
7617
7623
  immediate: !0
7618
7624
  }
7619
- ), (d, l) => (m(), n("div", Q2, [
7625
+ ), (d, l) => (m(), r("div", Q2, [
7620
7626
  S("div", G2, [
7621
7627
  S("input", {
7622
7628
  id: C.id,
@@ -7643,8 +7649,8 @@ const k2 = {
7643
7649
  "data-disabled": C.disabled,
7644
7650
  for: C.id
7645
7651
  }, 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))
7652
+ C.hideDetails ? c("", !0) : (m(), r("div", q2, [
7653
+ C.errorMsg ? (m(), r("p", j2, w(C.errorMsg), 1)) : (m(), r("p", X2, w(C.hint), 1))
7648
7654
  ]))
7649
7655
  ])
7650
7656
  ]));
@@ -7675,7 +7681,7 @@ const k2 = {
7675
7681
  function i(e) {
7676
7682
  C.disabled || !C.closable || (e.stopPropagation(), M("click:close", e));
7677
7683
  }
7678
- return (e, t) => (m(), n("div", {
7684
+ return (e, t) => (m(), r("div", {
7679
7685
  class: p(A.value)
7680
7686
  }, [
7681
7687
  S("div", {
@@ -7710,7 +7716,7 @@ function C5(H) {
7710
7716
  return Z2() ? (u2(H), !0) : !1;
7711
7717
  }
7712
7718
  function J1(H) {
7713
- return typeof H == "function" ? H() : M1(H);
7719
+ return typeof H == "function" ? H() : V1(H);
7714
7720
  }
7715
7721
  const C2 = typeof window < "u" && typeof document < "u";
7716
7722
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -7726,21 +7732,21 @@ function o1(H) {
7726
7732
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7727
7733
  }
7728
7734
  const H2 = C2 ? window : void 0;
7729
- function b1(...H) {
7735
+ function y1(...H) {
7730
7736
  let V, C, M, A;
7731
7737
  if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, A] = H, V = H2) : [V, C, M, A] = H, !V)
7732
7738
  return P1;
7733
7739
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7734
7740
  const L = [], i = () => {
7735
7741
  L.forEach((l) => l()), L.length = 0;
7736
- }, e = (l, o, a, r) => (l.addEventListener(o, a, r), () => l.removeEventListener(o, a, r)), t = $(
7742
+ }, e = (l, o, n, a) => (l.addEventListener(o, n, a), () => l.removeEventListener(o, n, a)), t = G(
7737
7743
  () => [o1(V), J1(A)],
7738
7744
  ([l, o]) => {
7739
7745
  if (i(), !l)
7740
7746
  return;
7741
- const a = V5(o) ? { ...o } : o;
7747
+ const n = V5(o) ? { ...o } : o;
7742
7748
  L.push(
7743
- ...C.flatMap((r) => M.map((Z) => e(l, r, Z, a)))
7749
+ ...C.flatMap((a) => M.map((Z) => e(l, a, Z, n)))
7744
7750
  );
7745
7751
  },
7746
7752
  { immediate: !0, flush: "post" }
@@ -7754,41 +7760,41 @@ function A5(H, V, C = {}) {
7754
7760
  const { window: M = H2, ignore: A = [], capture: L = !0, detectIframe: i = !1 } = C;
7755
7761
  if (!M)
7756
7762
  return;
7757
- L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((a) => a.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7763
+ L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7758
7764
  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));
7765
+ const t = (n) => A.some((a) => {
7766
+ if (typeof a == "string")
7767
+ return Array.from(M.document.querySelectorAll(a)).some((Z) => Z === n.target || n.composedPath().includes(Z));
7762
7768
  {
7763
- const Z = o1(r);
7764
- return Z && (a.target === Z || a.composedPath().includes(Z));
7769
+ const Z = o1(a);
7770
+ return Z && (n.target === Z || n.composedPath().includes(Z));
7765
7771
  }
7766
7772
  }), 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) {
7773
+ y1(M, "click", (n) => {
7774
+ const a = o1(H);
7775
+ if (!(!a || a === n.target || n.composedPath().includes(a))) {
7776
+ if (n.detail === 0 && (e = !t(n)), !e) {
7771
7777
  e = !0;
7772
7778
  return;
7773
7779
  }
7774
- V(a);
7780
+ V(n);
7775
7781
  }
7776
7782
  }, { passive: !0, capture: L }),
7777
- b1(M, "pointerdown", (a) => {
7778
- const r = o1(H);
7779
- e = !t(a) && !!(r && !a.composedPath().includes(r));
7783
+ y1(M, "pointerdown", (n) => {
7784
+ const a = o1(H);
7785
+ e = !t(n) && !!(a && !n.composedPath().includes(a));
7780
7786
  }, { passive: !0 }),
7781
- i && b1(M, "blur", (a) => {
7787
+ i && y1(M, "blur", (n) => {
7782
7788
  setTimeout(() => {
7783
- var r;
7789
+ var a;
7784
7790
  const Z = o1(H);
7785
- ((r = M.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(a);
7791
+ ((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(n);
7786
7792
  }, 0);
7787
7793
  })
7788
7794
  ].filter(Boolean);
7789
- return () => l.forEach((a) => a());
7795
+ return () => l.forEach((n) => n());
7790
7796
  }
7791
- const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, s1 = Math.round, J = (H) => ({
7797
+ const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, f1 = Math.round, J = (H) => ({
7792
7798
  x: H,
7793
7799
  y: H
7794
7800
  }), e5 = {
@@ -7806,7 +7812,7 @@ function v1(H, V, C) {
7806
7812
  function l1(H, V) {
7807
7813
  return typeof H == "function" ? H(V) : H;
7808
7814
  }
7809
- function L1(H) {
7815
+ function M1(H) {
7810
7816
  return H.split("-")[0];
7811
7817
  }
7812
7818
  function u1(H) {
@@ -7818,20 +7824,20 @@ function V2(H) {
7818
7824
  function D1(H) {
7819
7825
  return H === "y" ? "height" : "width";
7820
7826
  }
7821
- function f1(H) {
7822
- return ["top", "bottom"].includes(L1(H)) ? "y" : "x";
7827
+ function B1(H) {
7828
+ return ["top", "bottom"].includes(M1(H)) ? "y" : "x";
7823
7829
  }
7824
7830
  function _1(H) {
7825
- return V2(f1(H));
7831
+ return V2(B1(H));
7826
7832
  }
7827
7833
  function t5(H, V, C) {
7828
7834
  C === void 0 && (C = !1);
7829
7835
  const M = u1(H), A = _1(H), L = D1(A);
7830
7836
  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)];
7837
+ return V.reference[L] > V.floating[L] && (i = h1(i)), [i, h1(i)];
7832
7838
  }
7833
7839
  function m5(H) {
7834
- const V = c1(H);
7840
+ const V = h1(H);
7835
7841
  return [T1(H), V, T1(V)];
7836
7842
  }
7837
7843
  function T1(H) {
@@ -7852,10 +7858,10 @@ function l5(H, V, C) {
7852
7858
  }
7853
7859
  function o5(H, V, C, M) {
7854
7860
  const A = u1(H);
7855
- let L = l5(L1(H), C === "start", M);
7861
+ let L = l5(M1(H), C === "start", M);
7856
7862
  return A && (L = L.map((i) => i + "-" + A), V && (L = L.concat(L.map(T1)))), L;
7857
7863
  }
7858
- function c1(H) {
7864
+ function h1(H) {
7859
7865
  return H.replace(/left|right|bottom|top/g, (V) => e5[V]);
7860
7866
  }
7861
7867
  function n5(H) {
@@ -7875,7 +7881,7 @@ function L2(H) {
7875
7881
  left: H
7876
7882
  };
7877
7883
  }
7878
- function O1(H) {
7884
+ function g1(H) {
7879
7885
  return {
7880
7886
  ...H,
7881
7887
  top: H.y,
@@ -7889,48 +7895,48 @@ function G1(H, V, C) {
7889
7895
  reference: M,
7890
7896
  floating: A
7891
7897
  } = 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;
7898
+ 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;
7899
+ let a;
7894
7900
  switch (t) {
7895
7901
  case "top":
7896
- r = {
7902
+ a = {
7897
7903
  x: l,
7898
7904
  y: M.y - A.height
7899
7905
  };
7900
7906
  break;
7901
7907
  case "bottom":
7902
- r = {
7908
+ a = {
7903
7909
  x: l,
7904
7910
  y: M.y + M.height
7905
7911
  };
7906
7912
  break;
7907
7913
  case "right":
7908
- r = {
7914
+ a = {
7909
7915
  x: M.x + M.width,
7910
7916
  y: o
7911
7917
  };
7912
7918
  break;
7913
7919
  case "left":
7914
- r = {
7920
+ a = {
7915
7921
  x: M.x - A.width,
7916
7922
  y: o
7917
7923
  };
7918
7924
  break;
7919
7925
  default:
7920
- r = {
7926
+ a = {
7921
7927
  x: M.x,
7922
7928
  y: M.y
7923
7929
  };
7924
7930
  }
7925
7931
  switch (u1(V)) {
7926
7932
  case "start":
7927
- r[i] -= a * (C && d ? -1 : 1);
7933
+ a[i] -= n * (C && d ? -1 : 1);
7928
7934
  break;
7929
7935
  case "end":
7930
- r[i] += a * (C && d ? -1 : 1);
7936
+ a[i] += n * (C && d ? -1 : 1);
7931
7937
  break;
7932
7938
  }
7933
- return r;
7939
+ return a;
7934
7940
  }
7935
7941
  const r5 = async (H, V, C) => {
7936
7942
  const {
@@ -7946,7 +7952,7 @@ const r5 = async (H, V, C) => {
7946
7952
  }), {
7947
7953
  x: l,
7948
7954
  y: o
7949
- } = G1(d, M, t), a = M, r = {}, Z = 0;
7955
+ } = G1(d, M, t), n = M, a = {}, Z = 0;
7950
7956
  for (let B = 0; B < e.length; B++) {
7951
7957
  const {
7952
7958
  name: k,
@@ -7960,9 +7966,9 @@ const r5 = async (H, V, C) => {
7960
7966
  x: l,
7961
7967
  y: o,
7962
7968
  initialPlacement: M,
7963
- placement: a,
7969
+ placement: n,
7964
7970
  strategy: A,
7965
- middlewareData: r,
7971
+ middlewareData: a,
7966
7972
  rects: d,
7967
7973
  platform: i,
7968
7974
  elements: {
@@ -7970,33 +7976,33 @@ const r5 = async (H, V, C) => {
7970
7976
  floating: V
7971
7977
  }
7972
7978
  });
7973
- if (l = P ?? l, o = v ?? o, r = {
7974
- ...r,
7979
+ if (l = P ?? l, o = v ?? o, a = {
7980
+ ...a,
7975
7981
  [k]: {
7976
- ...r[k],
7982
+ ...a[k],
7977
7983
  ...R
7978
7984
  }
7979
7985
  }, F && Z <= 50) {
7980
- Z++, typeof F == "object" && (F.placement && (a = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7986
+ Z++, typeof F == "object" && (F.placement && (n = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7981
7987
  reference: H,
7982
7988
  floating: V,
7983
7989
  strategy: A
7984
7990
  }) : F.rects), {
7985
7991
  x: l,
7986
7992
  y: o
7987
- } = G1(d, a, t)), B = -1;
7993
+ } = G1(d, n, t)), B = -1;
7988
7994
  continue;
7989
7995
  }
7990
7996
  }
7991
7997
  return {
7992
7998
  x: l,
7993
7999
  y: o,
7994
- placement: a,
8000
+ placement: n,
7995
8001
  strategy: A,
7996
- middlewareData: r
8002
+ middlewareData: a
7997
8003
  };
7998
8004
  };
7999
- async function p1(H, V) {
8005
+ async function k1(H, V) {
8000
8006
  var C;
8001
8007
  V === void 0 && (V = {});
8002
8008
  const {
@@ -8010,9 +8016,9 @@ async function p1(H, V) {
8010
8016
  boundary: d = "clippingAncestors",
8011
8017
  rootBoundary: l = "viewport",
8012
8018
  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({
8019
+ altBoundary: n = !1,
8020
+ padding: a = 0
8021
+ } = l1(V, H), Z = L2(a), k = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8016
8022
  element: (C = await (L.isElement == null ? void 0 : L.isElement(k))) == null || C ? k : k.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8017
8023
  boundary: d,
8018
8024
  rootBoundary: l,
@@ -8027,7 +8033,7 @@ async function p1(H, V) {
8027
8033
  } : {
8028
8034
  x: 1,
8029
8035
  y: 1
8030
- }, F = O1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8036
+ }, F = g1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8031
8037
  rect: P,
8032
8038
  offsetParent: v,
8033
8039
  strategy: t
@@ -8057,23 +8063,23 @@ const a5 = (H) => ({
8057
8063
  } = l1(H, V) || {};
8058
8064
  if (d == null)
8059
8065
  return {};
8060
- const o = L2(l), a = {
8066
+ const o = L2(l), n = {
8061
8067
  x: C,
8062
8068
  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));
8069
+ }, a = _1(A), Z = D1(a), B = await i.getDimensions(d), k = a === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[a] - n[a] - L.floating[Z], F = n[a] - L.reference[a], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8064
8070
  let I = z ? z[v] : 0;
8065
8071
  (!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;
8072
+ const O = R / 2 - F / 2, W = I / 2 - B[Z] / 2 - 1, u = a1(o[y], W), h = a1(o[P], W), b = u, x = I - B[Z] - h, s = I / 2 - B[Z] / 2 + O, E = v1(b, s, x), $ = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : h) - B[Z] / 2 < 0, j = $ ? s < b ? s - b : s - x : 0;
8067
8073
  return {
8068
- [r]: a[r] + j,
8074
+ [a]: n[a] + j,
8069
8075
  data: {
8070
- [r]: E,
8076
+ [a]: E,
8071
8077
  centerOffset: s - E - j,
8072
- ...G && {
8078
+ ...$ && {
8073
8079
  alignmentOffset: j
8074
8080
  }
8075
8081
  },
8076
- reset: G
8082
+ reset: $
8077
8083
  };
8078
8084
  }
8079
8085
  }), Z5 = function(H) {
@@ -8092,17 +8098,17 @@ const a5 = (H) => ({
8092
8098
  } = V, {
8093
8099
  mainAxis: l = !0,
8094
8100
  crossAxis: o = !0,
8095
- fallbackPlacements: a,
8096
- fallbackStrategy: r = "bestFit",
8101
+ fallbackPlacements: n,
8102
+ fallbackStrategy: a = "bestFit",
8097
8103
  fallbackAxisSideDirection: Z = "none",
8098
8104
  flipAlignment: B = !0,
8099
8105
  ...k
8100
8106
  } = l1(H, V);
8101
8107
  if ((C = L.arrow) != null && C.alignmentOffset)
8102
8108
  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 = [];
8109
+ const y = M1(A), P = M1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = n || (P || !B ? [h1(e)] : m5(e));
8110
+ !n && Z !== "none" && R.push(...o5(e, B, Z, v));
8111
+ const F = [e, ...R], z = await k1(V, k), I = [];
8106
8112
  let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8107
8113
  if (l && I.push(z[y]), o) {
8108
8114
  const b = t5(A, i, v);
@@ -8124,12 +8130,12 @@ const a5 = (H) => ({
8124
8130
  placement: x
8125
8131
  }
8126
8132
  };
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;
8133
+ let s = (u = O.filter((E) => E.overflows[0] <= 0).sort((E, $) => E.overflows[1] - $.overflows[1])[0]) == null ? void 0 : u.placement;
8128
8134
  if (!s)
8129
- switch (r) {
8135
+ switch (a) {
8130
8136
  case "bestFit": {
8131
8137
  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];
8138
+ 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
8139
  E && (s = E);
8134
8140
  break;
8135
8141
  }
@@ -8172,7 +8178,7 @@ const u5 = function(H) {
8172
8178
  } = l1(H, V);
8173
8179
  switch (M) {
8174
8180
  case "referenceHidden": {
8175
- const L = await p1(V, {
8181
+ const L = await k1(V, {
8176
8182
  ...A,
8177
8183
  elementContext: "reference"
8178
8184
  }), i = $1(L, C.reference);
@@ -8184,7 +8190,7 @@ const u5 = function(H) {
8184
8190
  };
8185
8191
  }
8186
8192
  case "escaped": {
8187
- const L = await p1(V, {
8193
+ const L = await k1(V, {
8188
8194
  ...A,
8189
8195
  altBoundary: !0
8190
8196
  }), i = $1(L, C.floating);
@@ -8206,10 +8212,10 @@ async function S5(H, V) {
8206
8212
  placement: C,
8207
8213
  platform: M,
8208
8214
  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);
8215
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = M1(C), e = u1(C), t = B1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = l1(V, H);
8210
8216
  let {
8211
- mainAxis: a,
8212
- crossAxis: r,
8217
+ mainAxis: n,
8218
+ crossAxis: a,
8213
8219
  alignmentAxis: Z
8214
8220
  } = typeof o == "number" ? {
8215
8221
  mainAxis: o,
@@ -8221,12 +8227,12 @@ async function S5(H, V) {
8221
8227
  alignmentAxis: null,
8222
8228
  ...o
8223
8229
  };
8224
- return e && typeof Z == "number" && (r = e === "end" ? Z * -1 : Z), t ? {
8225
- x: r * l,
8226
- y: a * d
8230
+ return e && typeof Z == "number" && (a = e === "end" ? Z * -1 : Z), t ? {
8231
+ x: a * l,
8232
+ y: n * d
8227
8233
  } : {
8228
- x: a * d,
8229
- y: r * l
8234
+ x: n * d,
8235
+ y: a * l
8230
8236
  };
8231
8237
  }
8232
8238
  const s5 = function(H) {
@@ -8273,11 +8279,11 @@ const s5 = function(H) {
8273
8279
  } = l1(H, V), d = {
8274
8280
  x: C,
8275
8281
  y: M
8276
- }, l = await p1(V, t), o = f1(L1(A)), a = V2(o);
8277
- let r = d[a], Z = d[o];
8282
+ }, l = await k1(V, t), o = B1(M1(A)), n = V2(o);
8283
+ let a = d[n], Z = d[o];
8278
8284
  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);
8285
+ const k = n === "y" ? "top" : "left", y = n === "y" ? "bottom" : "right", P = a + l[k], v = a - l[y];
8286
+ a = v1(P, a, v);
8281
8287
  }
8282
8288
  if (i) {
8283
8289
  const k = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = Z + l[k], v = Z - l[y];
@@ -8285,7 +8291,7 @@ const s5 = function(H) {
8285
8291
  }
8286
8292
  const B = e.fn({
8287
8293
  ...V,
8288
- [a]: r,
8294
+ [n]: a,
8289
8295
  [o]: Z
8290
8296
  });
8291
8297
  return {
@@ -8339,7 +8345,7 @@ function E1(H) {
8339
8345
  }
8340
8346
  function p5(H) {
8341
8347
  let V = t1(H);
8342
- for (; q(V) && !h1(V); ) {
8348
+ for (; q(V) && !b1(V); ) {
8343
8349
  if (E1(V))
8344
8350
  return V;
8345
8351
  V = t1(V);
@@ -8349,13 +8355,13 @@ function p5(H) {
8349
8355
  function W1() {
8350
8356
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8351
8357
  }
8352
- function h1(H) {
8358
+ function b1(H) {
8353
8359
  return ["html", "body", "#document"].includes(C1(H));
8354
8360
  }
8355
8361
  function U(H) {
8356
8362
  return Q(H).getComputedStyle(H);
8357
8363
  }
8358
- function g1(H) {
8364
+ function w1(H) {
8359
8365
  return Y(H) ? {
8360
8366
  scrollLeft: H.scrollLeft,
8361
8367
  scrollTop: H.scrollTop
@@ -8378,7 +8384,7 @@ function t1(H) {
8378
8384
  }
8379
8385
  function A2(H) {
8380
8386
  const V = t1(H);
8381
- return h1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8387
+ return b1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8382
8388
  }
8383
8389
  function F1(H, V, C) {
8384
8390
  var M;
@@ -8389,7 +8395,7 @@ function F1(H, V, C) {
8389
8395
  function i2(H) {
8390
8396
  const V = U(H);
8391
8397
  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;
8398
+ const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = f1(C) !== L || f1(M) !== i;
8393
8399
  return e && (C = L, M = i), {
8394
8400
  width: C,
8395
8401
  height: M,
@@ -8408,7 +8414,7 @@ function e1(H) {
8408
8414
  height: A,
8409
8415
  $: L
8410
8416
  } = i2(V);
8411
- let i = (L ? s1(C.width) : C.width) / M, e = (L ? s1(C.height) : C.height) / A;
8417
+ let i = (L ? f1(C.width) : C.width) / M, e = (L ? f1(C.height) : C.height) / A;
8412
8418
  return (!i || !Number.isFinite(i)) && (i = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8413
8419
  x: i,
8414
8420
  y: e
@@ -8433,14 +8439,14 @@ function Z1(H, V, C, M) {
8433
8439
  const e = h5(L, C, M) ? d2(L) : J(0);
8434
8440
  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
8441
  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; ) {
8442
+ const n = Q(L), a = M && Y(M) ? Q(M) : M;
8443
+ let Z = n.frameElement;
8444
+ for (; Z && M && a !== n; ) {
8439
8445
  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
8446
  t *= B.x, d *= B.y, l *= B.x, o *= B.y, t += P, d += v, Z = Q(Z).frameElement;
8441
8447
  }
8442
8448
  }
8443
- return O1({
8449
+ return g1({
8444
8450
  width: l,
8445
8451
  height: o,
8446
8452
  x: t,
@@ -8461,7 +8467,7 @@ function g5(H) {
8461
8467
  scrollTop: 0
8462
8468
  }, e = J(1);
8463
8469
  const t = J(0);
8464
- if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = g1(C)), q(C))) {
8470
+ if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = w1(C)), q(C))) {
8465
8471
  const d = Z1(C);
8466
8472
  e = e1(C), t.x = d.x + C.clientLeft, t.y = d.y + C.clientTop;
8467
8473
  }
@@ -8476,10 +8482,10 @@ function k5(H) {
8476
8482
  return Array.from(H.getClientRects());
8477
8483
  }
8478
8484
  function t2(H) {
8479
- return Z1(H1(H)).left + g1(H).scrollLeft;
8485
+ return Z1(H1(H)).left + w1(H).scrollLeft;
8480
8486
  }
8481
8487
  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);
8488
+ const V = H1(H), C = w1(H), M = H.ownerDocument.body, A = i1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = i1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8483
8489
  let i = -C.scrollLeft + t2(H);
8484
8490
  const e = -C.scrollTop;
8485
8491
  return U(M).direction === "rtl" && (i += i1(V.clientWidth, M.clientWidth) - A), {
@@ -8529,11 +8535,11 @@ function K1(H, V, C) {
8529
8535
  y: V.y - A.y
8530
8536
  };
8531
8537
  }
8532
- return O1(M);
8538
+ return g1(M);
8533
8539
  }
8534
8540
  function m2(H, V) {
8535
8541
  const C = t1(H);
8536
- return C === V || !Y(C) || h1(C) ? !1 : U(C).position === "fixed" || m2(C, V);
8542
+ return C === V || !Y(C) || b1(C) ? !1 : U(C).position === "fixed" || m2(C, V);
8537
8543
  }
8538
8544
  function y5(H, V) {
8539
8545
  const C = V.get(H);
@@ -8542,7 +8548,7 @@ function y5(H, V) {
8542
8548
  let M = F1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
8543
8549
  const L = U(H).position === "fixed";
8544
8550
  let i = L ? t1(H) : H;
8545
- for (; Y(i) && !h1(i); ) {
8551
+ for (; Y(i) && !b1(i); ) {
8546
8552
  const e = U(i), t = E1(i);
8547
8553
  !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
8554
  }
@@ -8577,7 +8583,7 @@ function T5(H, V, C) {
8577
8583
  };
8578
8584
  const t = J(0);
8579
8585
  if (M || !M && !L)
8580
- if ((C1(V) !== "body" || S1(A)) && (e = g1(V)), M) {
8586
+ if ((C1(V) !== "body" || S1(A)) && (e = w1(V)), M) {
8581
8587
  const d = Z1(V, !0, L, V);
8582
8588
  t.x = d.x + V.clientLeft, t.y = d.y + V.clientTop;
8583
8589
  } else
@@ -8656,13 +8662,13 @@ async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8656
8662
  u5()
8657
8663
  ]
8658
8664
  }).then(({ x: t, y: d, placement: l, middlewareData: o }) => {
8659
- var r;
8665
+ var a;
8660
8666
  if (!V)
8661
8667
  return;
8662
- const a = ((r = H.offsetParent) == null ? void 0 : r.getBoundingClientRect().left) || 0;
8668
+ const n = ((a = H.offsetParent) == null ? void 0 : a.getBoundingClientRect().left) || 0;
8663
8669
  if (Object.assign(V.style, {
8664
8670
  maxWidth: e === "dropdown" ? `${H.offsetWidth}px` : "auto",
8665
- left: e === "dropdown" ? `${a}px` : `${t}px`,
8671
+ left: e === "dropdown" ? `${n}px` : `${t}px`,
8666
8672
  top: `${d}px`,
8667
8673
  animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
8668
8674
  transformOrigin: "start"
@@ -8726,10 +8732,10 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8726
8732
  function o() {
8727
8733
  C.disabled || C.triggers.includes(X.Hover) && e();
8728
8734
  }
8729
- function a() {
8735
+ function n() {
8730
8736
  C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && t());
8731
8737
  }
8732
- function r() {
8738
+ function a() {
8733
8739
  C.triggers.includes(X.Hover) && Z();
8734
8740
  }
8735
8741
  function Z() {
@@ -8761,7 +8767,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8761
8767
  ignore: [L.value]
8762
8768
  }
8763
8769
  );
8764
- }), (k, y) => (m(), n(V1, null, [
8770
+ }), (k, y) => (m(), r(L1, null, [
8765
8771
  S("div", {
8766
8772
  ref_key: "trigger",
8767
8773
  ref: A,
@@ -8769,15 +8775,15 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8769
8775
  class: p(["r-tooltip-trigger", k.triggerClass]),
8770
8776
  onClick: l,
8771
8777
  onMouseenter: o,
8772
- onMouseleave: a,
8773
- onMousemove: r
8778
+ onMouseleave: n,
8779
+ onMousemove: a
8774
8780
  }, [
8775
8781
  f(k.$slots, "default", {
8776
8782
  activators: {
8777
8783
  click: l,
8778
8784
  mouseenter: o,
8779
- mouseleave: a,
8780
- mousemove: r
8785
+ mouseleave: n,
8786
+ mousemove: a
8781
8787
  },
8782
8788
  updatePosition: Z
8783
8789
  }, () => [
@@ -8798,14 +8804,14 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8798
8804
  hide: t,
8799
8805
  updatePosition: Z
8800
8806
  }, () => [
8801
- C.text ? (m(), n("div", {
8807
+ C.text ? (m(), r("div", {
8802
8808
  key: 0,
8803
8809
  class: p(["r-tooltip__content", {
8804
8810
  "r-tooltip__content--dark": C.dark,
8805
8811
  "r-tooltip__content--light": C.light
8806
8812
  }])
8807
8813
  }, w(C.text), 3)) : c("", !0),
8808
- C.text ? (m(), n("div", {
8814
+ C.text ? (m(), r("div", {
8809
8815
  key: 1,
8810
8816
  id: "arrow",
8811
8817
  ref_key: "arrowElement",
@@ -8884,12 +8890,12 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8884
8890
  value: u,
8885
8891
  label: String(u)
8886
8892
  };
8887
- }), o = N(), a = N(), r = N();
8893
+ }), o = N(), n = N(), a = N();
8888
8894
  function Z(u, h) {
8889
8895
  var b, x, s;
8890
8896
  if (u.stopPropagation(), !C.disabled) {
8891
8897
  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());
8898
+ (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
8899
  return;
8894
8900
  }
8895
8901
  B();
@@ -8897,13 +8903,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8897
8903
  }
8898
8904
  function B() {
8899
8905
  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();
8906
+ 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
8907
  }
8902
8908
  function k(u, h, b, x) {
8903
8909
  var s;
8904
8910
  if (u.stopPropagation(), x(), !h.disabled) {
8905
8911
  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());
8912
+ L.find((E) => E.value === h.value) ? L.splice(L.indexOf(h), 1) : L.push(h), e.value = "", C.searchable && ((s = n.value) == null || s.focus());
8907
8913
  return;
8908
8914
  }
8909
8915
  y(u, h), C.closeOnSelect && (b(), B());
@@ -8931,7 +8937,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8931
8937
  const b = e.value;
8932
8938
  if (b === "")
8933
8939
  return;
8934
- d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = a.value) == null || s.focus());
8940
+ d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = n.value) == null || s.focus());
8935
8941
  }
8936
8942
  function R(u) {
8937
8943
  return C.multiple || C.taggable ? L.find((h) => h.value === u.value) : A.value.value === u.value;
@@ -8952,13 +8958,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8952
8958
  }
8953
8959
  return X1(() => {
8954
8960
  I();
8955
- }), $(L, (u) => {
8961
+ }), G(L, (u) => {
8956
8962
  M("update:modelValue", u);
8957
- }), $(() => l.value, (u) => {
8963
+ }), G(() => l.value, (u) => {
8958
8964
  I();
8959
- }), (u, h) => (m(), n("div", {
8965
+ }), (u, h) => (m(), r("div", {
8960
8966
  ref_key: "wrapper",
8961
- ref: r,
8967
+ ref: a,
8962
8968
  class: "r-dropdown-wrapper"
8963
8969
  }, [
8964
8970
  K(N5, {
@@ -8986,7 +8992,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8986
8992
  role: "select",
8987
8993
  onClick: (s) => Z(s, b.click)
8988
8994
  }, [
8989
- C.prependIcon || u.$slots.prepend ? (m(), n("div", {
8995
+ C.prependIcon || u.$slots.prepend ? (m(), r("div", {
8990
8996
  key: 0,
8991
8997
  class: p(["r-dropdown__prepend-icon", {
8992
8998
  "r-dropdown__prepend-icon--active": i.value,
@@ -9000,30 +9006,30 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9000
9006
  }, null, 8, ["name"])) : c("", !0)
9001
9007
  ])
9002
9008
  ], 2)) : c("", !0),
9003
- C.taggable && L.length ? (m(), n("div", Q5, [
9009
+ C.taggable && L.length ? (m(), r("div", Q5, [
9004
9010
  f(u.$slots, "tags", {
9005
9011
  options: L,
9006
9012
  removeOption: P,
9007
9013
  updatePosition: x
9008
9014
  }, () => [
9009
- (m(!0), n(V1, null, A1(L, (s, E) => (m(), _(J2, {
9015
+ (m(!0), r(L1, null, A1(L, (s, E) => (m(), _(J2, {
9010
9016
  key: E,
9011
9017
  "append-icon": "mdiClose",
9012
9018
  class: "r-dropdown__tags__chip",
9013
9019
  closable: "",
9014
9020
  label: s.label,
9015
9021
  variant: "primary",
9016
- "onClick:close": (G) => P(G, s, x)
9022
+ "onClick:close": ($) => P($, s, x)
9017
9023
  }, null, 8, ["label", "onClick:close"]))), 128))
9018
9024
  ])
9019
9025
  ])) : 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))
9026
+ C.multiple && L.length ? (m(), r("div", G5, [
9027
+ (m(!0), r(L1, null, A1(L, (s, E) => (m(), r("p", { key: E }, w(`${s.label},`), 1))), 128))
9022
9028
  ])) : c("", !0),
9023
9029
  Y1(S("input", {
9024
9030
  id: C.id,
9025
9031
  ref_key: "input",
9026
- ref: a,
9032
+ ref: n,
9027
9033
  "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9028
9034
  autocomplete: C.autocomplete,
9029
9035
  class: p(["r-dropdown__input", {
@@ -9042,7 +9048,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9042
9048
  }, null, 42, $5), [
9043
9049
  [c2, e.value]
9044
9050
  ]),
9045
- C.clearable ? (m(), n("div", {
9051
+ C.clearable ? (m(), r("div", {
9046
9052
  key: 3,
9047
9053
  class: "r-dropdown__clearable",
9048
9054
  "data-has-value": (e.value !== "" || L.length) && i.value,
@@ -9053,7 +9059,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9053
9059
  size: "18"
9054
9060
  })
9055
9061
  ], 8, U5)) : c("", !0),
9056
- C.appendIcon || u.$slots.append ? (m(), n("div", {
9062
+ C.appendIcon || u.$slots.append ? (m(), r("div", {
9057
9063
  key: 4,
9058
9064
  class: p(["r-dropdown__append-icon", {
9059
9065
  "r-dropdown__append-icon--active": i.value,
@@ -9076,7 +9082,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9076
9082
  [C.optionsClass]: C.optionsClass
9077
9083
  }])
9078
9084
  }, [
9079
- (m(!0), n(V1, null, A1(F.value, (s) => (m(), n("li", {
9085
+ (m(!0), r(L1, null, A1(F.value, (s) => (m(), r("li", {
9080
9086
  key: s.value,
9081
9087
  "aria-disabled": s.disabled,
9082
9088
  class: p(["r-dropdown-options__option", {
@@ -9115,7 +9121,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9115
9121
  ])
9116
9122
  ])
9117
9123
  ], 10, z5))), 128)),
9118
- F.value.length === 0 ? (m(), n("li", q5, [
9124
+ F.value.length === 0 ? (m(), r("li", q5, [
9119
9125
  f(u.$slots, "not-options", {}, () => [
9120
9126
  R1(w(C.noOptionsText || "No options"), 1)
9121
9127
  ])
@@ -9124,9 +9130,9 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9124
9130
  ]),
9125
9131
  _: 3
9126
9132
  }),
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)
9133
+ u.$props.hideDetails ? c("", !0) : (m(), r("div", j5, [
9134
+ C.errorMsg ? (m(), r("div", X5, w(C.errorMsg), 1)) : c("", !0),
9135
+ C.hint ? (m(), r("div", Y5, w(C.hint), 1)) : c("", !0)
9130
9136
  ]))
9131
9137
  ], 512));
9132
9138
  }
@@ -9139,7 +9145,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9139
9145
  },
9140
9146
  setup(H) {
9141
9147
  const V = H;
9142
- return (C, M) => (m(), n("label", {
9148
+ return (C, M) => (m(), r("label", {
9143
9149
  id: V.id,
9144
9150
  class: "r-label",
9145
9151
  for: V.for
@@ -9191,7 +9197,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9191
9197
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9192
9198
  }), window.addEventListener("keydown", (e) => {
9193
9199
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9194
- }), (e, t) => Y1((m(), n("div", {
9200
+ }), (e, t) => Y1((m(), r("div", {
9195
9201
  class: p(["r-modal-overlay", e.overlayClass]),
9196
9202
  onClick: d1(i, ["stop"])
9197
9203
  }, [
@@ -9204,13 +9210,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9204
9210
  }, [
9205
9211
  S("div", L3, [
9206
9212
  f(e.$slots, "header"),
9207
- C.icon ? (m(), n("div", M3, [
9213
+ C.icon ? (m(), r("div", M3, [
9208
9214
  K(D, {
9209
9215
  name: C.icon
9210
9216
  }, null, 8, ["name"])
9211
9217
  ])) : 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)
9218
+ C.title ? (m(), r("div", A3, w(C.title), 1)) : c("", !0),
9219
+ C.description ? (m(), r("div", i3, w(C.description), 1)) : c("", !0)
9214
9220
  ]),
9215
9221
  S("div", e3, [
9216
9222
  f(e.$slots, "default")
@@ -9235,7 +9241,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9235
9241
  emits: ["update:modelValue"],
9236
9242
  setup(H, { emit: V }) {
9237
9243
  const C = H, M = V;
9238
- return (A, L) => (m(), n("div", {
9244
+ return (A, L) => (m(), r("div", {
9239
9245
  class: p(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9240
9246
  "data-open": C.modelValue
9241
9247
  }, [
@@ -9245,7 +9251,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9245
9251
  }, [
9246
9252
  f(A.$slots, "default")
9247
9253
  ], 10, m3),
9248
- C.showTrigger ? (m(), n("div", {
9254
+ C.showTrigger ? (m(), r("div", {
9249
9255
  key: 0,
9250
9256
  class: p(["r-sidebar__trigger", [C.triggerClass]]),
9251
9257
  "data-open": C.modelValue,
@@ -9274,7 +9280,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9274
9280
  emits: ["action", "update:modelValue"],
9275
9281
  setup(H, { emit: V }) {
9276
9282
  const C = H, M = V;
9277
- $(
9283
+ G(
9278
9284
  () => C.modelValue,
9279
9285
  () => {
9280
9286
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9298,7 +9304,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9298
9304
  warning: "mdiAlert",
9299
9305
  info: "mdiInformation"
9300
9306
  })[C.variant || "info"]);
9301
- return (i, e) => (m(), n("div", {
9307
+ return (i, e) => (m(), r("div", {
9302
9308
  class: p(A.value)
9303
9309
  }, [
9304
9310
  f(i.$slots, "default", {}, () => [
@@ -9310,7 +9316,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9310
9316
  ]),
9311
9317
  S("div", o3, w(C.text), 1),
9312
9318
  f(i.$slots, "action"),
9313
- C.closable ? (m(), n("div", n3, [
9319
+ C.closable ? (m(), r("div", n3, [
9314
9320
  f(i.$slots, "close", {}, () => [
9315
9321
  K(D, {
9316
9322
  name: "mdiClose",
@@ -9356,7 +9362,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9356
9362
  function i(e) {
9357
9363
  C.disabled || (A.checked = e.target.checked, M("update:modelValue", A.checked));
9358
9364
  }
9359
- return $(
9365
+ return G(
9360
9366
  () => C.modelValue,
9361
9367
  (e) => {
9362
9368
  A.checked = e;
@@ -9366,7 +9372,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9366
9372
  // TODO: find a better way to do this
9367
9373
  immediate: !0
9368
9374
  }
9369
- ), (e, t) => (m(), n("div", {
9375
+ ), (e, t) => (m(), r("div", {
9370
9376
  class: p(["r-switch-container", {
9371
9377
  "r-switch-container--reverse": C.reverse,
9372
9378
  "r-switch-container--hide-details": C.hideDetails
@@ -9395,8 +9401,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9395
9401
  class: "r-switch-texts__label",
9396
9402
  for: C.id
9397
9403
  }, 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))
9404
+ C.hideDetails ? c("", !0) : (m(), r("div", u3, [
9405
+ C.errorMsg ? (m(), r("p", S3, w(C.errorMsg), 1)) : (m(), r("p", s3, w(C.hint), 1))
9400
9406
  ]))
9401
9407
  ], 2)
9402
9408
  ], 2));
@@ -9436,7 +9442,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9436
9442
  function e() {
9437
9443
  M("click:icon");
9438
9444
  }
9439
- return (t, d) => (m(), n("button", {
9445
+ return (t, d) => (m(), r("button", {
9440
9446
  "aria-disabled": C.disabled,
9441
9447
  "aria-selected": C.modelValue === C.id,
9442
9448
  class: p(A.value),
@@ -9445,7 +9451,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9445
9451
  onClick: d[0] || (d[0] = d1((l) => i(C.id), ["stop"]))
9446
9452
  }, [
9447
9453
  f(t.$slots, "prepend", {}, () => [
9448
- C.variant !== M1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9454
+ C.variant !== V1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9449
9455
  key: 0,
9450
9456
  class: "r-tab-item__prepend-icon",
9451
9457
  name: C.prependIcon,
@@ -9457,12 +9463,12 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9457
9463
  name: "fade"
9458
9464
  }, {
9459
9465
  default: r1(() => [
9460
- C.variant !== M1(n1).ICON ? (m(), n("span", O3, w(C.label), 1)) : c("", !0)
9466
+ C.variant !== V1(n1).ICON ? (m(), r("span", O3, w(C.label), 1)) : c("", !0)
9461
9467
  ]),
9462
9468
  _: 1
9463
9469
  }),
9464
9470
  f(t.$slots, "append", {}, () => [
9465
- C.variant !== M1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9471
+ C.variant !== V1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9466
9472
  key: 0,
9467
9473
  class: "r-tab-item__append-icon",
9468
9474
  name: C.appendIcon,
@@ -9489,7 +9495,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9489
9495
  "r-tabs--tile": C.tile,
9490
9496
  "r-tabs--scrollable": C.scrollable
9491
9497
  }));
9492
- $(
9498
+ G(
9493
9499
  () => A.value,
9494
9500
  () => {
9495
9501
  M("update:modelValue", A.value);
@@ -9498,11 +9504,11 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9498
9504
  function i() {
9499
9505
  M("click:icon");
9500
9506
  }
9501
- return (e, t) => (m(), n("div", {
9507
+ return (e, t) => (m(), r("div", {
9502
9508
  class: p(L.value)
9503
9509
  }, [
9504
9510
  f(e.$slots, "default", {}, () => [
9505
- (m(!0), n(V1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9511
+ (m(!0), r(L1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9506
9512
  id: d.id,
9507
9513
  key: l,
9508
9514
  modelValue: A.value,
@@ -9549,7 +9555,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9549
9555
  function L(i) {
9550
9556
  M("update:modelValue", i.target.value);
9551
9557
  }
9552
- return $(
9558
+ return G(
9553
9559
  () => C.modelValue,
9554
9560
  (i) => {
9555
9561
  A.value = i;
@@ -9557,7 +9563,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9557
9563
  {
9558
9564
  immediate: !0
9559
9565
  }
9560
- ), (i, e) => (m(), n("div", f3, [
9566
+ ), (i, e) => (m(), r("div", f3, [
9561
9567
  C.label ? (m(), _(r2, {
9562
9568
  key: 0,
9563
9569
  id: `${C.id}-label`,
@@ -9576,8 +9582,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9576
9582
  value: A.value,
9577
9583
  onInput: L
9578
9584
  }), 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))
9585
+ C.hideDetails ? c("", !0) : (m(), r("div", g3, [
9586
+ C.errorMsg ? (m(), r("p", k3, w(C.errorMsg), 1)) : (m(), r("p", B3, w(C.hint), 1))
9581
9587
  ]))
9582
9588
  ]));
9583
9589
  }
@@ -9632,14 +9638,14 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9632
9638
  }, t = N(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9633
9639
  var O;
9634
9640
  return (O = C.errorMsg) == null ? void 0 : O.length;
9635
- }), a = g(() => C.clearable && l.value), r = g(() => {
9641
+ }), n = g(() => C.clearable && l.value), a = g(() => {
9636
9642
  const { disabled: O, loading: W } = C;
9637
9643
  return {
9638
9644
  "r-textfield": !0,
9639
9645
  "r-textfield--error": o.value,
9640
9646
  "r-textfield--loading": W,
9641
9647
  "r-textfield--disabled": O,
9642
- "r-textfield--clearable": a.value,
9648
+ "r-textfield--clearable": n.value,
9643
9649
  "r-textfield--focus": t.value,
9644
9650
  "r-textfield--filled": d.value
9645
9651
  };
@@ -9649,14 +9655,14 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9649
9655
  "r-textfield__prepend-icon--error": o.value && d.value
9650
9656
  })), B = g(() => ({
9651
9657
  "r-textfield__append-icon": !0,
9652
- "r-textfield__append-icon--clear": a.value,
9658
+ "r-textfield__append-icon--clear": n.value,
9653
9659
  "r-textfield__append-icon--error": o.value
9654
9660
  })), k = g(() => {
9655
9661
  const { prependIcon: O, type: W } = C;
9656
9662
  return O === "none" ? "" : O || e[W];
9657
9663
  }), y = g(() => {
9658
9664
  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;
9665
+ return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(W) ? "mdiClose" : W === "password" && i.value === "password" ? "mdiEyeOutline" : W === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9660
9666
  });
9661
9667
  function P(O) {
9662
9668
  t.value = !0, M("focus", O);
@@ -9669,7 +9675,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9669
9675
  }
9670
9676
  function F() {
9671
9677
  var O;
9672
- if (a.value) {
9678
+ if (n.value) {
9673
9679
  L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9674
9680
  value: i.value === "number" ? +L.value : L.value
9675
9681
  });
@@ -9686,7 +9692,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9686
9692
  var O;
9687
9693
  (O = A.value) == null || O.focus();
9688
9694
  }
9689
- return $(
9695
+ return G(
9690
9696
  () => C.modelValue,
9691
9697
  (O) => {
9692
9698
  L.value = O;
@@ -9694,7 +9700,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9694
9700
  {
9695
9701
  immediate: !0
9696
9702
  }
9697
- ), $(
9703
+ ), G(
9698
9704
  () => L.value,
9699
9705
  (O) => {
9700
9706
  M(
@@ -9702,7 +9708,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9702
9708
  i.value === "number" ? +O : O
9703
9709
  );
9704
9710
  }
9705
- ), (O, W) => (m(), n("div", b3, [
9711
+ ), (O, W) => (m(), r("div", b3, [
9706
9712
  C.label ? (m(), _(r2, {
9707
9713
  key: 0,
9708
9714
  id: `${C.id}-label`,
@@ -9713,7 +9719,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9713
9719
  }, null, 8, ["id", "for", "text"])) : c("", !0),
9714
9720
  S("div", w3, [
9715
9721
  S("div", {
9716
- class: p(r.value)
9722
+ class: p(a.value)
9717
9723
  }, [
9718
9724
  f(O.$slots, "prepend"),
9719
9725
  k.value && !O.$slots.prepend ? (m(), _(D, {
@@ -9747,9 +9753,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9747
9753
  onClick: F
9748
9754
  }, null, 8, ["class", "name"])) : c("", !0)
9749
9755
  ], 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)
9756
+ C.hideDetails ? c("", !0) : (m(), r("div", P3, [
9757
+ C.errorMsg ? (m(), r("p", v3, w(C.errorMsg), 1)) : c("", !0),
9758
+ !C.errorMsg && C.hint ? (m(), r("p", T3, w(C.hint), 1)) : c("", !0)
9753
9759
  ]))
9754
9760
  ])
9755
9761
  ]));
@@ -9767,8 +9773,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9767
9773
  const V = H;
9768
9774
  return (C, M) => {
9769
9775
  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", {
9776
+ return m(), r("div", F3, [
9777
+ (m(!0), r(L1, null, A1(V.items, (L, i) => (m(), r("div", {
9772
9778
  key: i,
9773
9779
  class: "r-breadcrumb__item"
9774
9780
  }, [
@@ -9783,7 +9789,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9783
9789
  name: L.icon
9784
9790
  }, null, 8, ["name"])) : c("", !0)
9785
9791
  ]),
9786
- L.onlyIcon ? c("", !0) : (m(), n("span", R3, w(L.title), 1))
9792
+ L.onlyIcon ? c("", !0) : (m(), r("span", R3, w(L.title), 1))
9787
9793
  ]),
9788
9794
  _: 2
9789
9795
  }, 1032, ["to"]),
@@ -9845,7 +9851,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9845
9851
  start: C.page * C.perPage - C.perPage,
9846
9852
  end: C.page * C.perPage
9847
9853
  }));
9848
- $(() => i.value, () => {
9854
+ G(() => i.value, () => {
9849
9855
  M("update:info", i.value);
9850
9856
  });
9851
9857
  function e(d) {
@@ -9854,7 +9860,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9854
9860
  function t({ value: d }) {
9855
9861
  M("update:perPage", d);
9856
9862
  }
9857
- return (d, l) => (m(), n("div", {
9863
+ return (d, l) => (m(), r("div", {
9858
9864
  class: p(["r-pagination", [`r-pagination--${C.position}`]])
9859
9865
  }, [
9860
9866
  S("div", x3, [
@@ -9879,7 +9885,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9879
9885
  onClick: l[1] || (l[1] = (o) => e(1))
9880
9886
  }, [
9881
9887
  f(d.$slots, "first", {}, () => [
9882
- (m(), n("svg", {
9888
+ (m(), r("svg", {
9883
9889
  class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9884
9890
  fill: "none",
9885
9891
  height: "20",
@@ -9899,7 +9905,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9899
9905
  onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
9900
9906
  }, [
9901
9907
  f(d.$slots, "prev", {}, () => [
9902
- (m(), n("svg", {
9908
+ (m(), r("svg", {
9903
9909
  class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9904
9910
  fill: "none",
9905
9911
  height: "20",
@@ -9919,7 +9925,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9919
9925
  onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
9920
9926
  }, [
9921
9927
  f(d.$slots, "next", {}, () => [
9922
- (m(), n("svg", {
9928
+ (m(), r("svg", {
9923
9929
  class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9924
9930
  fill: "none",
9925
9931
  height: "20",
@@ -9939,7 +9945,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9939
9945
  onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
9940
9946
  }, [
9941
9947
  f(d.$slots, "last", {}, () => [
9942
- (m(), n("svg", {
9948
+ (m(), r("svg", {
9943
9949
  class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9944
9950
  fill: "none",
9945
9951
  height: "20",
@@ -9964,7 +9970,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9964
9970
  },
9965
9971
  setup(H) {
9966
9972
  const V = H;
9967
- return (C, M) => (m(), n("progress", {
9973
+ return (C, M) => (m(), r("progress", {
9968
9974
  "aria-valuemax": 100,
9969
9975
  class: "r-progressbar",
9970
9976
  max: 100,
@@ -9973,7 +9979,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9973
9979
  value: V.value
9974
9980
  }, null, 12, L0));
9975
9981
  }
9976
- }), w1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
9982
+ }), O1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
9977
9983
  __name: "RItemGroup",
9978
9984
  props: {
9979
9985
  modelValue: { default: () => [] },
@@ -9986,18 +9992,24 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9986
9992
  },
9987
9993
  emits: ["update:modelValue"],
9988
9994
  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);
9995
+ const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue), i = g(() => C.selectedClass);
9996
+ s1(`${O1}:selectedClass`, i.value);
9997
+ function e(l) {
9998
+ return L.value.includes(l);
9993
9999
  }
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));
10000
+ s1(`${O1}:isSelected`, e);
10001
+ function t(l, o) {
10002
+ 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
10003
  }
9998
- return k1(`${w1}:select`, t), (d, l) => (m(), _(g2(A.value), null, {
10004
+ s1(`${O1}:select`, t);
10005
+ function d() {
10006
+ return C.disabled;
10007
+ }
10008
+ return s1(`${O1}:isDisabled`, d), G(() => C.modelValue, () => {
10009
+ L.value = C.modelValue;
10010
+ }), (l, o) => (m(), _(g2(A.value), null, {
9999
10011
  default: r1(() => [
10000
- f(d.$slots, "default", {
10012
+ f(l.$slots, "default", {
10001
10013
  isSelected: e,
10002
10014
  select: t,
10003
10015
  selected: L.value
@@ -10006,28 +10018,26 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
10006
10018
  _: 3
10007
10019
  }));
10008
10020
  }
10009
- }), y1 = "rocket-ui:r-item-group", p0 = /* @__PURE__ */ T({
10021
+ }), p1 = "rocket-ui:r-item-group", p0 = /* @__PURE__ */ T({
10010
10022
  __name: "RItem",
10011
10023
  props: {
10012
10024
  value: { default: null },
10013
- disabled: { type: Boolean, default: !1 },
10014
10025
  selectedClass: { default: "" }
10015
10026
  },
10016
10027
  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
- }
10028
+ 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
10029
  function e() {
10022
- V.disabled || L(V.value, !0);
10030
+ V.disabled || A(V.value, !C(V.value));
10023
10031
  }
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
10032
+ function t() {
10033
+ V.disabled || A(V.value, !0);
10034
+ }
10035
+ return (d, l) => f(d.$slots, "default", {
10036
+ disabled: V1(L)(V.value),
10037
+ isSelected: V1(C)(V.value),
10038
+ select: t,
10039
+ selectedClass: i.value,
10040
+ toggle: e
10031
10041
  });
10032
10042
  }
10033
10043
  });