@rocketui/vue 0.2.0 → 0.2.1

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 l, createElementVNode as u, unref as M1, reactive as m1, Fragment as V1, renderList as A1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as z, computed as g, createCommentVNode as c, mergeProps as Z2, createBlock as _, watch as K, getCurrentScope as u2, onScopeDispose as S2, ref as N, watchEffect as j1, 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 n, createElementVNode as u, 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 Z2, createBlock as _, watch as $, getCurrentScope as u2, onScopeDispose as S2, ref as N, watchEffect as j1, 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";
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,7 +7305,7 @@ const k2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (m(), l("svg", {
7308
+ return (C, M) => (m(), n("svg", {
7309
7309
  class: "r-icon",
7310
7310
  height: V.size,
7311
7311
  viewBox: V.viewBox,
@@ -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), l(V1, null, A1(C, (i, e) => (m(), l("div", {
7338
+ return (A, L) => (m(!0), n(V1, null, A1(C, (i, e) => (m(), n("div", {
7339
7339
  key: e,
7340
7340
  class: p(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
@@ -7344,13 +7344,13 @@ const k2 = {
7344
7344
  }, [
7345
7345
  u("div", {
7346
7346
  class: "r-accordion__header",
7347
- onClick: (d) => M(e)
7347
+ onClick: (t) => M(e)
7348
7348
  }, [
7349
7349
  f(A.$slots, "title", {}, () => [
7350
7350
  u("div", P2, w(i.title), 1)
7351
7351
  ]),
7352
7352
  u("div", v2, [
7353
- z(D, { name: "mdiChevronUp" })
7353
+ K(D, { name: "mdiChevronUp" })
7354
7354
  ])
7355
7355
  ], 8, y2),
7356
7356
  u("div", T2, [
@@ -7392,12 +7392,12 @@ const k2 = {
7392
7392
  function i() {
7393
7393
  M("close");
7394
7394
  }
7395
- return (e, d) => (m(), l("div", {
7395
+ return (e, t) => (m(), n("div", {
7396
7396
  class: p(A.value)
7397
7397
  }, [
7398
7398
  u("div", F2, [
7399
7399
  f(e.$slots, "alert-icon", {}, () => [
7400
- z(D, {
7400
+ K(D, {
7401
7401
  name: L.value,
7402
7402
  size: 24
7403
7403
  }, null, 8, ["name"])
@@ -7406,12 +7406,12 @@ const k2 = {
7406
7406
  u("div", R2, [
7407
7407
  f(e.$slots, "content", {}, () => [
7408
7408
  u("p", x2, w(C.title), 1),
7409
- C.description ? (m(), l("p", D2, w(C.description), 1)) : c("", !0)
7409
+ C.description ? (m(), n("p", D2, w(C.description), 1)) : c("", !0)
7410
7410
  ])
7411
7411
  ]),
7412
- C.closable ? (m(), l("div", _2, [
7412
+ C.closable ? (m(), n("div", _2, [
7413
7413
  f(e.$slots, "custom-close", {}, () => [
7414
- z(D, {
7414
+ K(D, {
7415
7415
  class: "r-alert__close__button",
7416
7416
  name: "mdiClose",
7417
7417
  size: 16,
@@ -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(), l("div", E2, [
7443
+ return (i, e) => (m(), n("div", E2, [
7444
7444
  u("div", {
7445
7445
  class: p(C.value)
7446
7446
  }, [
7447
- V.type === "text" ? (m(), l("p", {
7447
+ V.type === "text" ? (m(), n("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(), l("img", {
7450
+ }, w(L(V.text)), 3)) : (m(), n("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(), l("span", {
7460
+ V.online ? (m(), n("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(), l("div", N2, [
7491
+ return (M, A) => (m(), n("div", N2, [
7492
7492
  u("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(), l("button", Z2(L.$attrs, {
7532
+ return (L, i) => (m(), n("button", Z2(L.$attrs, {
7533
7533
  class: C.value,
7534
7534
  disabled: L.disabled,
7535
7535
  style: A.value,
@@ -7593,30 +7593,30 @@ const k2 = {
7593
7593
  "r-checkbox--indeterminate": A.indeterminate,
7594
7594
  "r-checkbox--error": !!C.errorMsg
7595
7595
  }));
7596
- function d(t) {
7597
- C.disabled || (A.checked = t.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7596
+ function t(d) {
7597
+ C.disabled || (A.checked = d.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7598
7598
  }
7599
- return K(
7599
+ return $(
7600
7600
  () => C.indeterminate,
7601
- (t) => {
7602
- A.indeterminate = t, t === !0 && (A.checked = !1, M("update:modelValue", A.checked));
7601
+ (d) => {
7602
+ A.indeterminate = d, d === !0 && (A.checked = !1, M("update:modelValue", A.checked));
7603
7603
  },
7604
7604
  {
7605
7605
  // need immediate to set the state on first render for storybook
7606
7606
  // TODO: find a better way to do this
7607
7607
  immediate: !0
7608
7608
  }
7609
- ), K(
7609
+ ), $(
7610
7610
  () => C.modelValue,
7611
- (t) => {
7612
- A.checked = t;
7611
+ (d) => {
7612
+ A.checked = d;
7613
7613
  },
7614
7614
  {
7615
7615
  // need immediate to set the state on first render for storybook
7616
7616
  // TODO: find a better way to do this
7617
7617
  immediate: !0
7618
7618
  }
7619
- ), (t, o) => (m(), l("div", Q2, [
7619
+ ), (d, l) => (m(), n("div", Q2, [
7620
7620
  u("div", G2, [
7621
7621
  u("input", {
7622
7622
  id: C.id,
@@ -7625,13 +7625,13 @@ const k2 = {
7625
7625
  disabled: C.disabled,
7626
7626
  indeterminate: A.indeterminate,
7627
7627
  type: "checkbox",
7628
- onChange: d
7628
+ onChange: t
7629
7629
  }, null, 40, $2),
7630
7630
  u("div", {
7631
7631
  class: p(e.value),
7632
7632
  "data-disabled": C.disabled
7633
7633
  }, [
7634
- z(D, {
7634
+ K(D, {
7635
7635
  name: i.value,
7636
7636
  size: 24
7637
7637
  }, null, 8, ["name"])
@@ -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(), l("div", q2, [
7647
- C.errorMsg ? (m(), l("p", j2, w(C.errorMsg), 1)) : (m(), l("p", X2, w(C.hint), 1))
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))
7648
7648
  ]))
7649
7649
  ])
7650
7650
  ]));
@@ -7675,12 +7675,12 @@ const k2 = {
7675
7675
  function i(e) {
7676
7676
  C.disabled || !C.closable || (e.stopPropagation(), M("click:close", e));
7677
7677
  }
7678
- return (e, d) => (m(), l("div", {
7678
+ return (e, t) => (m(), n("div", {
7679
7679
  class: p(A.value)
7680
7680
  }, [
7681
7681
  u("div", {
7682
7682
  class: "r-chip__content",
7683
- onClick: d[0] || (d[0] = (t) => L(t))
7683
+ onClick: t[0] || (t[0] = (d) => L(d))
7684
7684
  }, [
7685
7685
  f(e.$slots, "prepend", {}, () => [
7686
7686
  C.prependIcon ? (m(), _(D, {
@@ -7700,7 +7700,7 @@ const k2 = {
7700
7700
  class: "r-chip__content__append-icon",
7701
7701
  name: C.appendIcon,
7702
7702
  size: 12,
7703
- onClick: d[1] || (d[1] = (t) => i(t))
7703
+ onClick: t[1] || (t[1] = (d) => i(d))
7704
7704
  }, null, 8, ["aria-disabled", "name"])) : c("", !0)
7705
7705
  ])
7706
7706
  ], 2));
@@ -7732,61 +7732,61 @@ function b1(...H) {
7732
7732
  return P1;
7733
7733
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7734
7734
  const L = [], i = () => {
7735
- L.forEach((o) => o()), L.length = 0;
7736
- }, e = (o, a, r, n) => (o.addEventListener(a, r, n), () => o.removeEventListener(a, r, n)), d = K(
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 = $(
7737
7737
  () => [o1(V), J1(A)],
7738
- ([o, a]) => {
7739
- if (i(), !o)
7738
+ ([l, o]) => {
7739
+ if (i(), !l)
7740
7740
  return;
7741
- const r = V5(a) ? { ...a } : a;
7741
+ const a = V5(o) ? { ...o } : o;
7742
7742
  L.push(
7743
- ...C.flatMap((n) => M.map((Z) => e(o, n, Z, r)))
7743
+ ...C.flatMap((r) => M.map((Z) => e(l, r, Z, a)))
7744
7744
  );
7745
7745
  },
7746
7746
  { immediate: !0, flush: "post" }
7747
- ), t = () => {
7748
- d(), i();
7747
+ ), d = () => {
7748
+ t(), i();
7749
7749
  };
7750
- return C5(t), t;
7750
+ return C5(d), d;
7751
7751
  }
7752
7752
  let Q1 = !1;
7753
7753
  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((r) => r.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7757
+ L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((a) => a.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7758
7758
  let e = !0;
7759
- const d = (r) => A.some((n) => {
7760
- if (typeof n == "string")
7761
- return Array.from(M.document.querySelectorAll(n)).some((Z) => Z === r.target || r.composedPath().includes(Z));
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));
7762
7762
  {
7763
- const Z = o1(n);
7764
- return Z && (r.target === Z || r.composedPath().includes(Z));
7763
+ const Z = o1(r);
7764
+ return Z && (a.target === Z || a.composedPath().includes(Z));
7765
7765
  }
7766
- }), o = [
7767
- b1(M, "click", (r) => {
7768
- const n = o1(H);
7769
- if (!(!n || n === r.target || r.composedPath().includes(n))) {
7770
- if (r.detail === 0 && (e = !d(r)), !e) {
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) {
7771
7771
  e = !0;
7772
7772
  return;
7773
7773
  }
7774
- V(r);
7774
+ V(a);
7775
7775
  }
7776
7776
  }, { passive: !0, capture: L }),
7777
- b1(M, "pointerdown", (r) => {
7778
- const n = o1(H);
7779
- e = !d(r) && !!(n && !r.composedPath().includes(n));
7777
+ b1(M, "pointerdown", (a) => {
7778
+ const r = o1(H);
7779
+ e = !t(a) && !!(r && !a.composedPath().includes(r));
7780
7780
  }, { passive: !0 }),
7781
- i && b1(M, "blur", (r) => {
7781
+ i && b1(M, "blur", (a) => {
7782
7782
  setTimeout(() => {
7783
- var n;
7783
+ var r;
7784
7784
  const Z = o1(H);
7785
- ((n = M.document.activeElement) == null ? void 0 : n.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(r);
7785
+ ((r = M.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(a);
7786
7786
  }, 0);
7787
7787
  })
7788
7788
  ].filter(Boolean);
7789
- return () => o.forEach((r) => r());
7789
+ return () => l.forEach((a) => a());
7790
7790
  }
7791
7791
  const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, s1 = Math.round, J = (H) => ({
7792
7792
  x: H,
@@ -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), d = L1(V), t = L === "y", o = M.x + M.width / 2 - A.width / 2, a = M.y + M.height / 2 - A.height / 2, r = M[e] / 2 - A[e] / 2;
7893
- let n;
7894
- switch (d) {
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;
7894
+ switch (t) {
7895
7895
  case "top":
7896
- n = {
7897
- x: o,
7896
+ r = {
7897
+ x: l,
7898
7898
  y: M.y - A.height
7899
7899
  };
7900
7900
  break;
7901
7901
  case "bottom":
7902
- n = {
7903
- x: o,
7902
+ r = {
7903
+ x: l,
7904
7904
  y: M.y + M.height
7905
7905
  };
7906
7906
  break;
7907
7907
  case "right":
7908
- n = {
7908
+ r = {
7909
7909
  x: M.x + M.width,
7910
- y: a
7910
+ y: o
7911
7911
  };
7912
7912
  break;
7913
7913
  case "left":
7914
- n = {
7914
+ r = {
7915
7915
  x: M.x - A.width,
7916
- y: a
7916
+ y: o
7917
7917
  };
7918
7918
  break;
7919
7919
  default:
7920
- n = {
7920
+ r = {
7921
7921
  x: M.x,
7922
7922
  y: M.y
7923
7923
  };
7924
7924
  }
7925
7925
  switch (u1(V)) {
7926
7926
  case "start":
7927
- n[i] -= r * (C && t ? -1 : 1);
7927
+ r[i] -= a * (C && d ? -1 : 1);
7928
7928
  break;
7929
7929
  case "end":
7930
- n[i] += r * (C && t ? -1 : 1);
7930
+ r[i] += a * (C && d ? -1 : 1);
7931
7931
  break;
7932
7932
  }
7933
- return n;
7933
+ return r;
7934
7934
  }
7935
7935
  const r5 = async (H, V, C) => {
7936
7936
  const {
@@ -7938,15 +7938,15 @@ const r5 = async (H, V, C) => {
7938
7938
  strategy: A = "absolute",
7939
7939
  middleware: L = [],
7940
7940
  platform: i
7941
- } = C, e = L.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
7942
- let t = await i.getElementRects({
7941
+ } = C, e = L.filter(Boolean), t = await (i.isRTL == null ? void 0 : i.isRTL(V));
7942
+ let d = await i.getElementRects({
7943
7943
  reference: H,
7944
7944
  floating: V,
7945
7945
  strategy: A
7946
7946
  }), {
7947
- x: o,
7948
- y: a
7949
- } = G1(t, M, d), r = M, n = {}, Z = 0;
7947
+ x: l,
7948
+ y: o
7949
+ } = G1(d, M, t), a = M, r = {}, Z = 0;
7950
7950
  for (let B = 0; B < e.length; B++) {
7951
7951
  const {
7952
7952
  name: k,
@@ -7957,43 +7957,43 @@ const r5 = async (H, V, C) => {
7957
7957
  data: R,
7958
7958
  reset: F
7959
7959
  } = await y({
7960
- x: o,
7961
- y: a,
7960
+ x: l,
7961
+ y: o,
7962
7962
  initialPlacement: M,
7963
- placement: r,
7963
+ placement: a,
7964
7964
  strategy: A,
7965
- middlewareData: n,
7966
- rects: t,
7965
+ middlewareData: r,
7966
+ rects: d,
7967
7967
  platform: i,
7968
7968
  elements: {
7969
7969
  reference: H,
7970
7970
  floating: V
7971
7971
  }
7972
7972
  });
7973
- if (o = P ?? o, a = v ?? a, n = {
7974
- ...n,
7973
+ if (l = P ?? l, o = v ?? o, r = {
7974
+ ...r,
7975
7975
  [k]: {
7976
- ...n[k],
7976
+ ...r[k],
7977
7977
  ...R
7978
7978
  }
7979
7979
  }, F && Z <= 50) {
7980
- Z++, typeof F == "object" && (F.placement && (r = F.placement), F.rects && (t = F.rects === !0 ? await i.getElementRects({
7980
+ Z++, typeof F == "object" && (F.placement && (a = 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
- x: o,
7986
- y: a
7987
- } = G1(t, r, d)), B = -1;
7985
+ x: l,
7986
+ y: o
7987
+ } = G1(d, a, t)), B = -1;
7988
7988
  continue;
7989
7989
  }
7990
7990
  }
7991
7991
  return {
7992
- x: o,
7993
- y: a,
7994
- placement: r,
7992
+ x: l,
7993
+ y: o,
7994
+ placement: a,
7995
7995
  strategy: A,
7996
- middlewareData: n
7996
+ middlewareData: r
7997
7997
  };
7998
7998
  };
7999
7999
  async function p1(H, V) {
@@ -8005,19 +8005,19 @@ async function p1(H, V) {
8005
8005
  platform: L,
8006
8006
  rects: i,
8007
8007
  elements: e,
8008
- strategy: d
8008
+ strategy: t
8009
8009
  } = H, {
8010
- boundary: t = "clippingAncestors",
8011
- rootBoundary: o = "viewport",
8012
- elementContext: a = "floating",
8013
- altBoundary: r = !1,
8014
- padding: n = 0
8015
- } = l1(V, H), Z = L2(n), k = e[r ? a === "floating" ? "reference" : "floating" : a], y = O1(await L.getClippingRect({
8010
+ boundary: d = "clippingAncestors",
8011
+ rootBoundary: l = "viewport",
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({
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
- boundary: t,
8018
- rootBoundary: o,
8019
- strategy: d
8020
- })), P = a === "floating" ? {
8017
+ boundary: d,
8018
+ rootBoundary: l,
8019
+ strategy: t
8020
+ })), P = o === "floating" ? {
8021
8021
  ...i.floating,
8022
8022
  x: M,
8023
8023
  y: A
@@ -8030,7 +8030,7 @@ async function p1(H, V) {
8030
8030
  }, F = O1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8031
8031
  rect: P,
8032
8032
  offsetParent: v,
8033
- strategy: d
8033
+ strategy: t
8034
8034
  }) : P);
8035
8035
  return {
8036
8036
  top: (y.top - F.top + Z.top) / R.y,
@@ -8050,24 +8050,24 @@ const a5 = (H) => ({
8050
8050
  rects: L,
8051
8051
  platform: i,
8052
8052
  elements: e,
8053
- middlewareData: d
8053
+ middlewareData: t
8054
8054
  } = V, {
8055
- element: t,
8056
- padding: o = 0
8055
+ element: d,
8056
+ padding: l = 0
8057
8057
  } = l1(H, V) || {};
8058
- if (t == null)
8058
+ if (d == null)
8059
8059
  return {};
8060
- const a = L2(o), r = {
8060
+ const o = L2(l), a = {
8061
8061
  x: C,
8062
8062
  y: M
8063
- }, n = _1(A), Z = D1(n), B = await i.getDimensions(t), k = n === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[n] - r[n] - L.floating[Z], F = r[n] - L.reference[n], U = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8064
- let I = U ? U[v] : 0;
8065
- (!I || !await (i.isElement == null ? void 0 : i.isElement(U))) && (I = e.floating[v] || L.floating[Z]);
8066
- const O = R / 2 - F / 2, W = I / 2 - B[Z] / 2 - 1, S = a1(a[y], W), h = a1(a[P], W), b = S, x = I - B[Z] - h, s = I / 2 - B[Z] / 2 + O, E = v1(b, s, x), G = !d.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? S : h) - B[Z] / 2 < 0, j = G ? s < b ? s - b : s - x : 0;
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));
8064
+ let I = z ? z[v] : 0;
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, S = a1(o[y], W), h = a1(o[P], W), b = S, 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 ? S : h) - B[Z] / 2 < 0, j = G ? s < b ? s - b : s - x : 0;
8067
8067
  return {
8068
- [n]: r[n] + j,
8068
+ [r]: a[r] + j,
8069
8069
  data: {
8070
- [n]: E,
8070
+ [r]: E,
8071
8071
  centerOffset: s - E - j,
8072
8072
  ...G && {
8073
8073
  alignmentOffset: j
@@ -8087,26 +8087,26 @@ const a5 = (H) => ({
8087
8087
  middlewareData: L,
8088
8088
  rects: i,
8089
8089
  initialPlacement: e,
8090
- platform: d,
8091
- elements: t
8090
+ platform: t,
8091
+ elements: d
8092
8092
  } = V, {
8093
- mainAxis: o = !0,
8094
- crossAxis: a = !0,
8095
- fallbackPlacements: r,
8096
- fallbackStrategy: n = "bestFit",
8093
+ mainAxis: l = !0,
8094
+ crossAxis: o = !0,
8095
+ fallbackPlacements: a,
8096
+ fallbackStrategy: r = "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 (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = r || (P || !B ? [c1(e)] : m5(e));
8104
- !r && Z !== "none" && R.push(...o5(e, B, Z, v));
8105
- const F = [e, ...R], U = await p1(V, k), I = [];
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 = [];
8106
8106
  let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8107
- if (o && I.push(U[y]), a) {
8107
+ if (l && I.push(z[y]), o) {
8108
8108
  const b = t5(A, i, v);
8109
- I.push(U[b[0]], U[b[1]]);
8109
+ I.push(z[b[0]], z[b[1]]);
8110
8110
  }
8111
8111
  if (O = [...O, {
8112
8112
  placement: A,
@@ -8126,7 +8126,7 @@ const a5 = (H) => ({
8126
8126
  };
8127
8127
  let s = (S = O.filter((E) => E.overflows[0] <= 0).sort((E, G) => E.overflows[1] - G.overflows[1])[0]) == null ? void 0 : S.placement;
8128
8128
  if (!s)
8129
- switch (n) {
8129
+ switch (r) {
8130
8130
  case "bestFit": {
8131
8131
  var h;
8132
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];
@@ -8206,27 +8206,27 @@ 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), d = f1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, o = L && d ? -1 : 1, a = l1(V, H);
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);
8210
8210
  let {
8211
- mainAxis: r,
8212
- crossAxis: n,
8213
- alignmentAxis: Z
8214
- } = typeof a == "number" ? {
8215
8211
  mainAxis: a,
8212
+ crossAxis: r,
8213
+ alignmentAxis: Z
8214
+ } = typeof o == "number" ? {
8215
+ mainAxis: o,
8216
8216
  crossAxis: 0,
8217
8217
  alignmentAxis: null
8218
8218
  } : {
8219
8219
  mainAxis: 0,
8220
8220
  crossAxis: 0,
8221
8221
  alignmentAxis: null,
8222
- ...a
8222
+ ...o
8223
8223
  };
8224
- return e && typeof Z == "number" && (n = e === "end" ? Z * -1 : Z), d ? {
8225
- x: n * o,
8226
- y: r * t
8224
+ return e && typeof Z == "number" && (r = e === "end" ? Z * -1 : Z), t ? {
8225
+ x: r * l,
8226
+ y: a * d
8227
8227
  } : {
8228
- x: r * t,
8229
- y: n * o
8228
+ x: a * d,
8229
+ y: r * l
8230
8230
  };
8231
8231
  }
8232
8232
  const s5 = function(H) {
@@ -8269,24 +8269,24 @@ const s5 = function(H) {
8269
8269
  };
8270
8270
  }
8271
8271
  },
8272
- ...d
8273
- } = l1(H, V), t = {
8272
+ ...t
8273
+ } = l1(H, V), d = {
8274
8274
  x: C,
8275
8275
  y: M
8276
- }, o = await p1(V, d), a = f1(L1(A)), r = V2(a);
8277
- let n = t[r], Z = t[a];
8276
+ }, l = await p1(V, t), o = f1(L1(A)), a = V2(o);
8277
+ let r = d[a], Z = d[o];
8278
8278
  if (L) {
8279
- const k = r === "y" ? "top" : "left", y = r === "y" ? "bottom" : "right", P = n + o[k], v = n - o[y];
8280
- n = v1(P, n, v);
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);
8281
8281
  }
8282
8282
  if (i) {
8283
- const k = a === "y" ? "top" : "left", y = a === "y" ? "bottom" : "right", P = Z + o[k], v = Z - o[y];
8283
+ const k = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = Z + l[k], v = Z - l[y];
8284
8284
  Z = v1(P, Z, v);
8285
8285
  }
8286
8286
  const B = e.fn({
8287
8287
  ...V,
8288
- [r]: n,
8289
- [a]: Z
8288
+ [a]: r,
8289
+ [o]: Z
8290
8290
  });
8291
8291
  return {
8292
8292
  ...B,
@@ -8327,14 +8327,14 @@ function S1(H) {
8327
8327
  overflowX: C,
8328
8328
  overflowY: M,
8329
8329
  display: A
8330
- } = $(H);
8330
+ } = U(H);
8331
8331
  return /auto|scroll|overlay|hidden|clip/.test(V + M + C) && !["inline", "contents"].includes(A);
8332
8332
  }
8333
8333
  function O5(H) {
8334
8334
  return ["table", "td", "th"].includes(C1(H));
8335
8335
  }
8336
8336
  function E1(H) {
8337
- const V = W1(), C = $(H);
8337
+ const V = W1(), C = U(H);
8338
8338
  return C.transform !== "none" || C.perspective !== "none" || (C.containerType ? C.containerType !== "normal" : !1) || !V && (C.backdropFilter ? C.backdropFilter !== "none" : !1) || !V && (C.filter ? C.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((M) => (C.willChange || "").includes(M)) || ["paint", "layout", "strict", "content"].some((M) => (C.contain || "").includes(M));
8339
8339
  }
8340
8340
  function p5(H) {
@@ -8352,7 +8352,7 @@ function W1() {
8352
8352
  function h1(H) {
8353
8353
  return ["html", "body", "#document"].includes(C1(H));
8354
8354
  }
8355
- function $(H) {
8355
+ function U(H) {
8356
8356
  return Q(H).getComputedStyle(H);
8357
8357
  }
8358
8358
  function g1(H) {
@@ -8387,7 +8387,7 @@ function F1(H, V, C) {
8387
8387
  return L ? V.concat(i, i.visualViewport || [], S1(A) ? A : [], i.frameElement && C ? F1(i.frameElement) : []) : V.concat(A, F1(A, [], C));
8388
8388
  }
8389
8389
  function i2(H) {
8390
- const V = $(H);
8390
+ const V = U(H);
8391
8391
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8392
8392
  const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = s1(C) !== L || s1(M) !== i;
8393
8393
  return e && (C = L, M = i), {
@@ -8431,20 +8431,20 @@ function Z1(H, V, C, M) {
8431
8431
  let i = J(1);
8432
8432
  V && (M ? Y(M) && (i = e1(M)) : i = e1(H));
8433
8433
  const e = h5(L, C, M) ? d2(L) : J(0);
8434
- let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, o = A.width / i.x, a = A.height / i.y;
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 r = Q(L), n = M && Y(M) ? Q(M) : M;
8437
- let Z = r.frameElement;
8438
- for (; Z && M && n !== r; ) {
8439
- const B = e1(Z), k = Z.getBoundingClientRect(), y = $(Z), P = k.left + (Z.clientLeft + parseFloat(y.paddingLeft)) * B.x, v = k.top + (Z.clientTop + parseFloat(y.paddingTop)) * B.y;
8440
- d *= B.x, t *= B.y, o *= B.x, a *= B.y, d += P, t += v, Z = Q(Z).frameElement;
8436
+ const a = Q(L), r = M && Y(M) ? Q(M) : M;
8437
+ let Z = a.frameElement;
8438
+ for (; Z && M && r !== a; ) {
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
+ 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
8443
  return O1({
8444
- width: o,
8445
- height: a,
8446
- x: d,
8447
- y: t
8444
+ width: l,
8445
+ height: o,
8446
+ x: t,
8447
+ y: d
8448
8448
  });
8449
8449
  }
8450
8450
  function g5(H) {
@@ -8460,16 +8460,16 @@ function g5(H) {
8460
8460
  scrollLeft: 0,
8461
8461
  scrollTop: 0
8462
8462
  }, e = J(1);
8463
- const d = J(0);
8463
+ const t = J(0);
8464
8464
  if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = g1(C)), q(C))) {
8465
- const t = Z1(C);
8466
- e = e1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8465
+ const d = Z1(C);
8466
+ e = e1(C), t.x = d.x + C.clientLeft, t.y = d.y + C.clientTop;
8467
8467
  }
8468
8468
  return {
8469
8469
  width: V.width * e.x,
8470
8470
  height: V.height * e.y,
8471
- x: V.x * e.x - i.scrollLeft * e.x + d.x,
8472
- y: V.y * e.y - i.scrollTop * e.y + d.y
8471
+ x: V.x * e.x - i.scrollLeft * e.x + t.x,
8472
+ y: V.y * e.y - i.scrollTop * e.y + t.y
8473
8473
  };
8474
8474
  }
8475
8475
  function k5(H) {
@@ -8482,7 +8482,7 @@ function B5(H) {
8482
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);
8483
8483
  let i = -C.scrollLeft + t2(H);
8484
8484
  const e = -C.scrollTop;
8485
- return $(M).direction === "rtl" && (i += i1(V.clientWidth, M.clientWidth) - A), {
8485
+ return U(M).direction === "rtl" && (i += i1(V.clientWidth, M.clientWidth) - A), {
8486
8486
  width: A,
8487
8487
  height: L,
8488
8488
  x: i,
@@ -8491,26 +8491,26 @@ function B5(H) {
8491
8491
  }
8492
8492
  function b5(H, V) {
8493
8493
  const C = Q(H), M = H1(H), A = C.visualViewport;
8494
- let L = M.clientWidth, i = M.clientHeight, e = 0, d = 0;
8494
+ let L = M.clientWidth, i = M.clientHeight, e = 0, t = 0;
8495
8495
  if (A) {
8496
8496
  L = A.width, i = A.height;
8497
- const t = W1();
8498
- (!t || t && V === "fixed") && (e = A.offsetLeft, d = A.offsetTop);
8497
+ const d = W1();
8498
+ (!d || d && V === "fixed") && (e = A.offsetLeft, t = A.offsetTop);
8499
8499
  }
8500
8500
  return {
8501
8501
  width: L,
8502
8502
  height: i,
8503
8503
  x: e,
8504
- y: d
8504
+ y: t
8505
8505
  };
8506
8506
  }
8507
8507
  function w5(H, V) {
8508
- const C = Z1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? e1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, t = M * L.y;
8508
+ const C = Z1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? e1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, t = A * L.x, d = M * L.y;
8509
8509
  return {
8510
8510
  width: i,
8511
8511
  height: e,
8512
- x: d,
8513
- y: t
8512
+ x: t,
8513
+ y: d
8514
8514
  };
8515
8515
  }
8516
8516
  function K1(H, V, C) {
@@ -8533,18 +8533,18 @@ function K1(H, V, C) {
8533
8533
  }
8534
8534
  function m2(H, V) {
8535
8535
  const C = t1(H);
8536
- return C === V || !Y(C) || h1(C) ? !1 : $(C).position === "fixed" || m2(C, V);
8536
+ return C === V || !Y(C) || h1(C) ? !1 : U(C).position === "fixed" || m2(C, V);
8537
8537
  }
8538
8538
  function y5(H, V) {
8539
8539
  const C = V.get(H);
8540
8540
  if (C)
8541
8541
  return C;
8542
8542
  let M = F1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
8543
- const L = $(H).position === "fixed";
8543
+ const L = U(H).position === "fixed";
8544
8544
  let i = L ? t1(H) : H;
8545
8545
  for (; Y(i) && !h1(i); ) {
8546
- const e = $(i), d = E1(i);
8547
- !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && m2(H, i)) ? M = M.filter((o) => o !== i) : A = e, i = t1(i);
8546
+ const e = U(i), t = E1(i);
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
  }
8549
8549
  return V.set(H, M), M;
8550
8550
  }
@@ -8555,15 +8555,15 @@ function P5(H) {
8555
8555
  rootBoundary: M,
8556
8556
  strategy: A
8557
8557
  } = H;
8558
- const i = [...C === "clippingAncestors" ? y5(V, this._c) : [].concat(C), M], e = i[0], d = i.reduce((t, o) => {
8559
- const a = K1(V, o, A);
8560
- return t.top = i1(a.top, t.top), t.right = a1(a.right, t.right), t.bottom = a1(a.bottom, t.bottom), t.left = i1(a.left, t.left), t;
8558
+ const i = [...C === "clippingAncestors" ? y5(V, this._c) : [].concat(C), M], e = i[0], t = i.reduce((d, l) => {
8559
+ const o = K1(V, l, A);
8560
+ return d.top = i1(o.top, d.top), d.right = a1(o.right, d.right), d.bottom = a1(o.bottom, d.bottom), d.left = i1(o.left, d.left), d;
8561
8561
  }, K1(V, e, A));
8562
8562
  return {
8563
- width: d.right - d.left,
8564
- height: d.bottom - d.top,
8565
- x: d.left,
8566
- y: d.top
8563
+ width: t.right - t.left,
8564
+ height: t.bottom - t.top,
8565
+ x: t.left,
8566
+ y: t.top
8567
8567
  };
8568
8568
  }
8569
8569
  function v5(H) {
@@ -8575,31 +8575,31 @@ function T5(H, V, C) {
8575
8575
  scrollLeft: 0,
8576
8576
  scrollTop: 0
8577
8577
  };
8578
- const d = J(0);
8578
+ const t = J(0);
8579
8579
  if (M || !M && !L)
8580
8580
  if ((C1(V) !== "body" || S1(A)) && (e = g1(V)), M) {
8581
- const t = Z1(V, !0, L, V);
8582
- d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8581
+ const d = Z1(V, !0, L, V);
8582
+ t.x = d.x + V.clientLeft, t.y = d.y + V.clientTop;
8583
8583
  } else
8584
- A && (d.x = t2(A));
8584
+ A && (t.x = t2(A));
8585
8585
  return {
8586
- x: i.left + e.scrollLeft - d.x,
8587
- y: i.top + e.scrollTop - d.y,
8586
+ x: i.left + e.scrollLeft - t.x,
8587
+ y: i.top + e.scrollTop - t.y,
8588
8588
  width: i.width,
8589
8589
  height: i.height
8590
8590
  };
8591
8591
  }
8592
8592
  function q1(H, V) {
8593
- return !q(H) || $(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8593
+ return !q(H) || U(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8594
8594
  }
8595
8595
  function l2(H, V) {
8596
8596
  const C = Q(H);
8597
8597
  if (!q(H))
8598
8598
  return C;
8599
8599
  let M = q1(H, V);
8600
- for (; M && O5(M) && $(M).position === "static"; )
8600
+ for (; M && O5(M) && U(M).position === "static"; )
8601
8601
  M = q1(M, V);
8602
- return M && (C1(M) === "html" || C1(M) === "body" && $(M).position === "static" && !E1(M)) ? C : M || p5(H) || C;
8602
+ return M && (C1(M) === "html" || C1(M) === "body" && U(M).position === "static" && !E1(M)) ? C : M || p5(H) || C;
8603
8603
  }
8604
8604
  const F5 = async function(H) {
8605
8605
  let {
@@ -8618,7 +8618,7 @@ const F5 = async function(H) {
8618
8618
  };
8619
8619
  };
8620
8620
  function R5(H) {
8621
- return $(H).direction === "rtl";
8621
+ return U(H).direction === "rtl";
8622
8622
  }
8623
8623
  const x5 = {
8624
8624
  convertOffsetParentRelativeRectToViewportRelativeRect: g5,
@@ -8655,28 +8655,28 @@ async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8655
8655
  Z5(),
8656
8656
  u5()
8657
8657
  ]
8658
- }).then(({ x: d, y: t, placement: o, middlewareData: a }) => {
8659
- var n;
8658
+ }).then(({ x: t, y: d, placement: l, middlewareData: o }) => {
8659
+ var r;
8660
8660
  if (!V)
8661
8661
  return;
8662
- const r = ((n = H.offsetParent) == null ? void 0 : n.getBoundingClientRect().left) || 0;
8662
+ const a = ((r = H.offsetParent) == null ? void 0 : r.getBoundingClientRect().left) || 0;
8663
8663
  if (Object.assign(V.style, {
8664
8664
  maxWidth: e === "dropdown" ? `${H.offsetWidth}px` : "auto",
8665
- left: e === "dropdown" ? `${r}px` : `${d}px`,
8666
- top: `${t}px`,
8665
+ left: e === "dropdown" ? `${a}px` : `${t}px`,
8666
+ top: `${d}px`,
8667
8667
  animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
8668
8668
  transformOrigin: "start"
8669
- }), C && a.arrow) {
8670
- const { x: Z, y: B } = a.arrow, k = {
8669
+ }), C && o.arrow) {
8670
+ const { x: Z, y: B } = o.arrow, k = {
8671
8671
  top: "bottom",
8672
8672
  right: "left",
8673
8673
  bottom: "top",
8674
8674
  left: "right"
8675
8675
  /* Right */
8676
- }[o.split("-")[0]];
8676
+ }[l.split("-")[0]];
8677
8677
  Object.assign(C.style, {
8678
- left: d != null ? `${Z}px` : "",
8679
- top: t != null ? `${B}px` : "",
8678
+ left: t != null ? `${Z}px` : "",
8679
+ top: d != null ? `${B}px` : "",
8680
8680
  right: "",
8681
8681
  bottom: "",
8682
8682
  [`${k}`]: "-4px"
@@ -8710,26 +8710,26 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8710
8710
  setup(H, { emit: V }) {
8711
8711
  const C = H, M = V, A = N(), L = N(), i = N();
8712
8712
  async function e() {
8713
- C.disabled || !L.value || (Z(), L.value.style.display = "block", M("show"), t());
8713
+ C.disabled || !L.value || (Z(), L.value.style.display = "block", M("show"), d());
8714
8714
  }
8715
- function d() {
8715
+ function t() {
8716
8716
  C.disabled || !L.value || (L.value.style.display = "", M("hide"));
8717
8717
  }
8718
- function t() {
8718
+ function d() {
8719
8719
  C.autoHide && setTimeout(() => {
8720
- d();
8720
+ t();
8721
8721
  }, C.hideDelay);
8722
8722
  }
8723
+ function l() {
8724
+ C.disabled || C.triggers.includes(X.Click) && (L.value.style.display === "block" ? t() : e());
8725
+ }
8723
8726
  function o() {
8724
- C.disabled || C.triggers.includes(X.Click) && (L.value.style.display === "block" ? d() : e());
8727
+ C.disabled || C.triggers.includes(X.Hover) && e();
8725
8728
  }
8726
8729
  function a() {
8727
- C.disabled || C.triggers.includes(X.Hover) && e();
8730
+ C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && t());
8728
8731
  }
8729
8732
  function r() {
8730
- C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && d());
8731
- }
8732
- function n() {
8733
8733
  C.triggers.includes(X.Hover) && Z();
8734
8734
  }
8735
8735
  function Z() {
@@ -8747,7 +8747,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8747
8747
  Z();
8748
8748
  }), j1(
8749
8749
  () => {
8750
- C.disabled || (C.shown && C.triggers.includes(X.Manual) ? e() : !C.shown && C.triggers.includes(X.Manual) && d());
8750
+ C.disabled || (C.shown && C.triggers.includes(X.Manual) ? e() : !C.shown && C.triggers.includes(X.Manual) && t());
8751
8751
  },
8752
8752
  { flush: "post" }
8753
8753
  // this is important to avoid infinite loop & for fire on mounted
@@ -8755,29 +8755,29 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8755
8755
  C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", Z()), A5(
8756
8756
  A,
8757
8757
  () => {
8758
- C.outsideClick && d();
8758
+ C.outsideClick && t();
8759
8759
  },
8760
8760
  {
8761
8761
  ignore: [L.value]
8762
8762
  }
8763
8763
  );
8764
- }), (k, y) => (m(), l(V1, null, [
8764
+ }), (k, y) => (m(), n(V1, null, [
8765
8765
  u("div", {
8766
8766
  ref_key: "trigger",
8767
8767
  ref: A,
8768
8768
  "aria-disabled": C.disabled,
8769
8769
  class: p(["r-tooltip-trigger", k.triggerClass]),
8770
- onClick: o,
8771
- onMouseenter: a,
8772
- onMouseleave: r,
8773
- onMousemove: n
8770
+ onClick: l,
8771
+ onMouseenter: o,
8772
+ onMouseleave: a,
8773
+ onMousemove: r
8774
8774
  }, [
8775
8775
  f(k.$slots, "default", {
8776
8776
  activators: {
8777
- click: o,
8778
- mouseenter: a,
8779
- mouseleave: r,
8780
- mousemove: n
8777
+ click: l,
8778
+ mouseenter: o,
8779
+ mouseleave: a,
8780
+ mousemove: r
8781
8781
  },
8782
8782
  updatePosition: Z
8783
8783
  }, () => [
@@ -8795,17 +8795,17 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8795
8795
  role: "tooltip"
8796
8796
  }, [
8797
8797
  f(k.$slots, "content", {
8798
- hide: d,
8798
+ hide: t,
8799
8799
  updatePosition: Z
8800
8800
  }, () => [
8801
- C.text ? (m(), l("div", {
8801
+ C.text ? (m(), n("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(), l("div", {
8808
+ C.text ? (m(), n("div", {
8809
8809
  key: 1,
8810
8810
  id: "arrow",
8811
8811
  ref_key: "arrowElement",
@@ -8866,28 +8866,28 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8866
8866
  emits: ["update:modelValue"],
8867
8867
  setup(H, { emit: V }) {
8868
8868
  const C = H, M = V, A = N({}), L = m1([]), i = N(!1), e = N("");
8869
- function d(S) {
8869
+ function t(S) {
8870
8870
  const [h] = Object.keys(S);
8871
8871
  return ["label", "value"].includes(h);
8872
8872
  }
8873
- const t = g(() => {
8873
+ const d = g(() => {
8874
8874
  const S = C.options;
8875
- return d(S[0]) ? S : S.map((h) => ({
8875
+ return t(S[0]) ? S : S.map((h) => ({
8876
8876
  value: h,
8877
8877
  label: String(h)
8878
8878
  }));
8879
- }), o = g(() => {
8879
+ }), l = g(() => {
8880
8880
  const S = C.modelValue;
8881
- return d(S) ? S : {
8881
+ return t(S) ? S : {
8882
8882
  value: S,
8883
8883
  label: String(S)
8884
8884
  };
8885
- }), a = N(), r = N(), n = N();
8885
+ }), o = N(), a = N(), r = N();
8886
8886
  function Z(S, h) {
8887
8887
  var b, x, s;
8888
8888
  if (S.stopPropagation(), !C.disabled) {
8889
8889
  if (i.value = !0, h && h(), i.value) {
8890
- (b = a.value) == null || b.classList.add("r-dropdown--active"), (x = a.value) == null || x.focus(), C.searchable && ((s = r.value) == null || s.focus());
8890
+ (b = o.value) == null || b.classList.add("r-dropdown--active"), (x = o.value) == null || x.focus(), C.searchable && ((s = a.value) == null || s.focus());
8891
8891
  return;
8892
8892
  }
8893
8893
  B();
@@ -8895,13 +8895,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8895
8895
  }
8896
8896
  function B() {
8897
8897
  var S, h, b;
8898
- i.value = !1, (S = a.value) == null || S.classList.remove("r-dropdown--active"), (h = a.value) == null || h.blur(), (b = r.value) == null || b.blur();
8898
+ i.value = !1, (S = o.value) == null || S.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = a.value) == null || b.blur();
8899
8899
  }
8900
8900
  function k(S, h, b, x) {
8901
8901
  var s;
8902
8902
  if (S.stopPropagation(), x(), !h.disabled) {
8903
8903
  if (C.multiple || C.taggable) {
8904
- L.find((E) => E.value === h.value) ? L.splice(L.indexOf(h), 1) : L.push(h), e.value = "", C.searchable && ((s = r.value) == null || s.focus());
8904
+ 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());
8905
8905
  return;
8906
8906
  }
8907
8907
  y(S, h), C.closeOnSelect && (b(), B());
@@ -8929,14 +8929,14 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8929
8929
  const b = e.value;
8930
8930
  if (b === "")
8931
8931
  return;
8932
- t.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = r.value) == null || s.focus());
8932
+ d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = a.value) == null || s.focus());
8933
8933
  }
8934
8934
  function R(S) {
8935
8935
  return C.multiple || C.taggable ? L.find((h) => h.value === S.value) : A.value.value === S.value;
8936
8936
  }
8937
- const F = g(() => !C.searchable || A.value.label === e.value ? t.value : t.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), U = g(() => !C.searchable);
8937
+ const F = g(() => !C.searchable || A.value.label === e.value ? d.value : d.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), z = g(() => !C.searchable);
8938
8938
  function I() {
8939
- o.value ? C.multiple ? L.push(o.value) : (A.value = o.value, e.value = o.value.label) : (A.value = {}, L.splice(0, L.length));
8939
+ l.value ? C.multiple ? L.push(l.value) : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.splice(0, L.length));
8940
8940
  }
8941
8941
  function O(S) {
8942
8942
  C.searchable && S(), !(C.multiple || C.taggable) && e.value === "" && (A.value = {}, M("update:modelValue", ""));
@@ -8950,16 +8950,16 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8950
8950
  }
8951
8951
  return X1(() => {
8952
8952
  I();
8953
- }), K(L, (S) => {
8953
+ }), $(L, (S) => {
8954
8954
  M("update:modelValue", S);
8955
- }), K(() => o.value, (S) => {
8955
+ }), $(() => l.value, (S) => {
8956
8956
  I();
8957
- }), (S, h) => (m(), l("div", {
8957
+ }), (S, h) => (m(), n("div", {
8958
8958
  ref_key: "wrapper",
8959
- ref: n,
8959
+ ref: r,
8960
8960
  class: "r-dropdown-wrapper"
8961
8961
  }, [
8962
- z(N5, {
8962
+ K(N5, {
8963
8963
  "auto-hide": !1,
8964
8964
  offset: 0,
8965
8965
  "outside-click": "",
@@ -8974,7 +8974,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8974
8974
  default: r1(({ activators: b, updatePosition: x }) => [
8975
8975
  u("div", {
8976
8976
  ref_key: "dropdown",
8977
- ref: a,
8977
+ ref: o,
8978
8978
  class: p(["r-dropdown", {
8979
8979
  "r-dropdown--disabled": C.disabled,
8980
8980
  "r-dropdown--loading": C.loading,
@@ -8984,7 +8984,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8984
8984
  role: "select",
8985
8985
  onClick: (s) => Z(s, b.click)
8986
8986
  }, [
8987
- C.prependIcon || S.$slots.prepend ? (m(), l("div", {
8987
+ C.prependIcon || S.$slots.prepend ? (m(), n("div", {
8988
8988
  key: 0,
8989
8989
  class: p(["r-dropdown__prepend-icon", {
8990
8990
  "r-dropdown__prepend-icon--active": i.value,
@@ -8998,13 +8998,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8998
8998
  }, null, 8, ["name"])) : c("", !0)
8999
8999
  ])
9000
9000
  ], 2)) : c("", !0),
9001
- C.taggable && L.length ? (m(), l("div", Q5, [
9001
+ C.taggable && L.length ? (m(), n("div", Q5, [
9002
9002
  f(S.$slots, "tags", {
9003
9003
  options: L,
9004
9004
  removeOption: P,
9005
9005
  updatePosition: x
9006
9006
  }, () => [
9007
- (m(!0), l(V1, null, A1(L, (s, E) => (m(), _(J2, {
9007
+ (m(!0), n(V1, null, A1(L, (s, E) => (m(), _(J2, {
9008
9008
  key: E,
9009
9009
  "append-icon": "mdiClose",
9010
9010
  class: "r-dropdown__tags__chip",
@@ -9015,13 +9015,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9015
9015
  }, null, 8, ["label", "onClick:close"]))), 128))
9016
9016
  ])
9017
9017
  ])) : c("", !0),
9018
- C.multiple && L.length ? (m(), l("div", G5, [
9019
- (m(!0), l(V1, null, A1(L, (s, E) => (m(), l("p", { key: E }, w(`${s.label},`), 1))), 128))
9018
+ C.multiple && L.length ? (m(), n("div", G5, [
9019
+ (m(!0), n(V1, null, A1(L, (s, E) => (m(), n("p", { key: E }, w(`${s.label},`), 1))), 128))
9020
9020
  ])) : c("", !0),
9021
9021
  Y1(u("input", {
9022
9022
  id: C.id,
9023
9023
  ref_key: "input",
9024
- ref: r,
9024
+ ref: a,
9025
9025
  "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9026
9026
  autocomplete: C.autocomplete,
9027
9027
  class: p(["r-dropdown__input", {
@@ -9029,7 +9029,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9029
9029
  }]),
9030
9030
  disabled: C.disabled,
9031
9031
  placeholder: C.placeholder,
9032
- readonly: U.value,
9032
+ readonly: z.value,
9033
9033
  role: "presentation",
9034
9034
  type: "text",
9035
9035
  onInput: d1((s) => O(x), ["prevent"]),
@@ -9040,18 +9040,18 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9040
9040
  }, null, 42, $5), [
9041
9041
  [c2, e.value]
9042
9042
  ]),
9043
- C.clearable ? (m(), l("div", {
9043
+ C.clearable ? (m(), n("div", {
9044
9044
  key: 3,
9045
9045
  class: "r-dropdown__clearable",
9046
9046
  "data-has-value": (e.value !== "" || L.length) && i.value,
9047
9047
  onClick: (s) => W(s, x)
9048
9048
  }, [
9049
- z(D, {
9049
+ K(D, {
9050
9050
  name: "mdiCloseCircle",
9051
9051
  size: "18"
9052
9052
  })
9053
9053
  ], 8, U5)) : c("", !0),
9054
- C.appendIcon || S.$slots.append ? (m(), l("div", {
9054
+ C.appendIcon || S.$slots.append ? (m(), n("div", {
9055
9055
  key: 4,
9056
9056
  class: p(["r-dropdown__append-icon", {
9057
9057
  "r-dropdown__append-icon--active": i.value,
@@ -9074,7 +9074,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9074
9074
  [C.optionsClass]: C.optionsClass
9075
9075
  }])
9076
9076
  }, [
9077
- (m(!0), l(V1, null, A1(F.value, (s) => (m(), l("li", {
9077
+ (m(!0), n(V1, null, A1(F.value, (s) => (m(), n("li", {
9078
9078
  key: s.value,
9079
9079
  "aria-disabled": s.disabled,
9080
9080
  class: p(["r-dropdown-options__option", {
@@ -9113,7 +9113,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9113
9113
  ])
9114
9114
  ])
9115
9115
  ], 10, z5))), 128)),
9116
- F.value.length === 0 ? (m(), l("li", q5, [
9116
+ F.value.length === 0 ? (m(), n("li", q5, [
9117
9117
  f(S.$slots, "not-options", {}, () => [
9118
9118
  R1(w(C.noOptionsText || "No options"), 1)
9119
9119
  ])
@@ -9122,9 +9122,9 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9122
9122
  ]),
9123
9123
  _: 3
9124
9124
  }),
9125
- S.$props.hideDetails ? c("", !0) : (m(), l("div", j5, [
9126
- C.errorMsg ? (m(), l("div", X5, w(C.errorMsg), 1)) : c("", !0),
9127
- C.hint ? (m(), l("div", Y5, w(C.hint), 1)) : c("", !0)
9125
+ S.$props.hideDetails ? c("", !0) : (m(), n("div", j5, [
9126
+ C.errorMsg ? (m(), n("div", X5, w(C.errorMsg), 1)) : c("", !0),
9127
+ C.hint ? (m(), n("div", Y5, w(C.hint), 1)) : c("", !0)
9128
9128
  ]))
9129
9129
  ], 512));
9130
9130
  }
@@ -9137,7 +9137,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9137
9137
  },
9138
9138
  setup(H) {
9139
9139
  const V = H;
9140
- return (C, M) => (m(), l("label", {
9140
+ return (C, M) => (m(), n("label", {
9141
9141
  id: V.id,
9142
9142
  class: "r-label",
9143
9143
  for: V.for
@@ -9194,7 +9194,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9194
9194
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9195
9195
  }), window.addEventListener("keydown", (e) => {
9196
9196
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9197
- }), (e, d) => Y1((m(), l("div", {
9197
+ }), (e, t) => Y1((m(), n("div", {
9198
9198
  class: p(["r-modal-overlay", e.overlayClass]),
9199
9199
  onClick: d1(i, ["stop"])
9200
9200
  }, [
@@ -9207,13 +9207,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9207
9207
  }, [
9208
9208
  u("div", L3, [
9209
9209
  f(e.$slots, "header"),
9210
- C.icon ? (m(), l("div", M3, [
9211
- z(D, {
9210
+ C.icon ? (m(), n("div", M3, [
9211
+ K(D, {
9212
9212
  name: C.icon
9213
9213
  }, null, 8, ["name"])
9214
9214
  ])) : c("", !0),
9215
- C.title ? (m(), l("div", A3, w(C.title), 1)) : c("", !0),
9216
- C.description ? (m(), l("div", i3, w(C.description), 1)) : c("", !0)
9215
+ C.title ? (m(), n("div", A3, w(C.title), 1)) : c("", !0),
9216
+ C.description ? (m(), n("div", i3, w(C.description), 1)) : c("", !0)
9217
9217
  ]),
9218
9218
  u("div", e3, [
9219
9219
  f(e.$slots, "default")
@@ -9238,7 +9238,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9238
9238
  emits: ["update:modelValue"],
9239
9239
  setup(H, { emit: V }) {
9240
9240
  const C = H, M = V;
9241
- return (A, L) => (m(), l("div", {
9241
+ return (A, L) => (m(), n("div", {
9242
9242
  class: p(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9243
9243
  "data-open": C.modelValue
9244
9244
  }, [
@@ -9248,7 +9248,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9248
9248
  }, [
9249
9249
  f(A.$slots, "default")
9250
9250
  ], 10, m3),
9251
- C.showTrigger ? (m(), l("div", {
9251
+ C.showTrigger ? (m(), n("div", {
9252
9252
  key: 0,
9253
9253
  class: p(["r-sidebar__trigger", [C.triggerClass]]),
9254
9254
  "data-open": C.modelValue,
@@ -9277,7 +9277,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9277
9277
  emits: ["action", "update:modelValue"],
9278
9278
  setup(H, { emit: V }) {
9279
9279
  const C = H, M = V;
9280
- K(
9280
+ $(
9281
9281
  () => C.modelValue,
9282
9282
  () => {
9283
9283
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9301,7 +9301,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9301
9301
  warning: "mdiAlert",
9302
9302
  info: "mdiInformation"
9303
9303
  })[C.variant || "info"]);
9304
- return (i, e) => (m(), l("div", {
9304
+ return (i, e) => (m(), n("div", {
9305
9305
  class: p(A.value)
9306
9306
  }, [
9307
9307
  f(i.$slots, "default", {}, () => [
@@ -9313,12 +9313,12 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9313
9313
  ]),
9314
9314
  u("div", o3, w(C.text), 1),
9315
9315
  f(i.$slots, "action"),
9316
- C.closable ? (m(), l("div", n3, [
9316
+ C.closable ? (m(), n("div", n3, [
9317
9317
  f(i.$slots, "close", {}, () => [
9318
- z(D, {
9318
+ K(D, {
9319
9319
  name: "mdiClose",
9320
9320
  size: 16,
9321
- onClick: e[0] || (e[0] = d1((d) => i.$emit("update:modelValue", !1), ["stop"]))
9321
+ onClick: e[0] || (e[0] = d1((t) => i.$emit("update:modelValue", !1), ["stop"]))
9322
9322
  })
9323
9323
  ])
9324
9324
  ])) : c("", !0)
@@ -9359,7 +9359,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9359
9359
  function i(e) {
9360
9360
  C.disabled || (A.checked = e.target.checked, M("update:modelValue", A.checked));
9361
9361
  }
9362
- return K(
9362
+ return $(
9363
9363
  () => C.modelValue,
9364
9364
  (e) => {
9365
9365
  A.checked = e;
@@ -9369,7 +9369,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9369
9369
  // TODO: find a better way to do this
9370
9370
  immediate: !0
9371
9371
  }
9372
- ), (e, d) => (m(), l("div", {
9372
+ ), (e, t) => (m(), n("div", {
9373
9373
  class: p(["r-switch-container", {
9374
9374
  "r-switch-container--reverse": C.reverse,
9375
9375
  "r-switch-container--hide-details": C.hideDetails
@@ -9398,8 +9398,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9398
9398
  class: "r-switch-texts__label",
9399
9399
  for: C.id
9400
9400
  }, w(C.label), 9, Z3),
9401
- C.hideDetails ? c("", !0) : (m(), l("div", u3, [
9402
- C.errorMsg ? (m(), l("p", S3, w(C.errorMsg), 1)) : (m(), l("p", s3, w(C.hint), 1))
9401
+ C.hideDetails ? c("", !0) : (m(), n("div", u3, [
9402
+ C.errorMsg ? (m(), n("p", S3, w(C.errorMsg), 1)) : (m(), n("p", s3, w(C.hint), 1))
9403
9403
  ]))
9404
9404
  ], 2)
9405
9405
  ], 2));
@@ -9433,21 +9433,21 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9433
9433
  })), L = g(() => ({
9434
9434
  color: C.color
9435
9435
  }));
9436
- function i(d) {
9437
- M("update:modelValue", d);
9436
+ function i(t) {
9437
+ M("update:modelValue", t);
9438
9438
  }
9439
9439
  function e() {
9440
9440
  M("click:icon");
9441
9441
  }
9442
- return (d, t) => (m(), l("button", {
9442
+ return (t, d) => (m(), n("button", {
9443
9443
  "aria-disabled": C.disabled,
9444
9444
  "aria-selected": C.modelValue === C.id,
9445
9445
  class: p(A.value),
9446
9446
  disabled: C.disabled,
9447
9447
  style: x1(L.value),
9448
- onClick: t[0] || (t[0] = d1((o) => i(C.id), ["stop"]))
9448
+ onClick: d[0] || (d[0] = d1((l) => i(C.id), ["stop"]))
9449
9449
  }, [
9450
- f(d.$slots, "prepend", {}, () => [
9450
+ f(t.$slots, "prepend", {}, () => [
9451
9451
  C.variant !== M1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9452
9452
  key: 0,
9453
9453
  class: "r-tab-item__prepend-icon",
@@ -9455,16 +9455,16 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9455
9455
  size: 16
9456
9456
  }, null, 8, ["name"])) : c("", !0)
9457
9457
  ]),
9458
- z(f2, {
9458
+ K(f2, {
9459
9459
  duration: 150,
9460
9460
  name: "fade"
9461
9461
  }, {
9462
9462
  default: r1(() => [
9463
- C.variant !== M1(n1).ICON ? (m(), l("span", O3, w(C.label), 1)) : c("", !0)
9463
+ C.variant !== M1(n1).ICON ? (m(), n("span", O3, w(C.label), 1)) : c("", !0)
9464
9464
  ]),
9465
9465
  _: 1
9466
9466
  }),
9467
- f(d.$slots, "append", {}, () => [
9467
+ f(t.$slots, "append", {}, () => [
9468
9468
  C.variant !== M1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9469
9469
  key: 0,
9470
9470
  class: "r-tab-item__append-icon",
@@ -9492,7 +9492,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9492
9492
  "r-tabs--tile": C.tile,
9493
9493
  "r-tabs--scrollable": C.scrollable
9494
9494
  }));
9495
- K(
9495
+ $(
9496
9496
  () => A.value,
9497
9497
  () => {
9498
9498
  M("update:modelValue", A.value);
@@ -9501,23 +9501,23 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9501
9501
  function i() {
9502
9502
  M("click:icon");
9503
9503
  }
9504
- return (e, d) => (m(), l("div", {
9504
+ return (e, t) => (m(), n("div", {
9505
9505
  class: p(L.value)
9506
9506
  }, [
9507
9507
  f(e.$slots, "default", {}, () => [
9508
- (m(!0), l(V1, null, A1(C.tabs, (t, o) => (m(), _(p3, {
9509
- id: t.id,
9510
- key: o,
9508
+ (m(!0), n(V1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9509
+ id: d.id,
9510
+ key: l,
9511
9511
  modelValue: A.value,
9512
- "onUpdate:modelValue": d[0] || (d[0] = (a) => A.value = a),
9513
- active: o === A.value,
9514
- "append-icon": t.appendIcon,
9512
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => A.value = o),
9513
+ active: l === A.value,
9514
+ "append-icon": d.appendIcon,
9515
9515
  block: e.block,
9516
- disabled: t.disabled,
9517
- label: t.label,
9518
- "prepend-icon": t.prependIcon,
9516
+ disabled: d.disabled,
9517
+ label: d.label,
9518
+ "prepend-icon": d.prependIcon,
9519
9519
  tile: e.tile,
9520
- variant: t.variant,
9520
+ variant: d.variant,
9521
9521
  "onClick:icon": i
9522
9522
  }, null, 8, ["id", "modelValue", "active", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9523
9523
  ])
@@ -9552,7 +9552,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9552
9552
  function L(i) {
9553
9553
  M("update:modelValue", i.target.value);
9554
9554
  }
9555
- return K(
9555
+ return $(
9556
9556
  () => C.modelValue,
9557
9557
  (i) => {
9558
9558
  A.value = i;
@@ -9560,7 +9560,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9560
9560
  {
9561
9561
  immediate: !0
9562
9562
  }
9563
- ), (i, e) => (m(), l("div", f3, [
9563
+ ), (i, e) => (m(), n("div", f3, [
9564
9564
  C.label ? (m(), _(r2, {
9565
9565
  key: 0,
9566
9566
  id: `${C.id}-label`,
@@ -9579,8 +9579,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9579
9579
  value: A.value,
9580
9580
  onInput: L
9581
9581
  }, null, 42, h3),
9582
- C.hideDetails ? c("", !0) : (m(), l("div", g3, [
9583
- C.errorMsg ? (m(), l("p", k3, w(C.errorMsg), 1)) : (m(), l("p", B3, w(C.hint), 1))
9582
+ C.hideDetails ? c("", !0) : (m(), n("div", g3, [
9583
+ C.errorMsg ? (m(), n("p", k3, w(C.errorMsg), 1)) : (m(), n("p", B3, w(C.hint), 1))
9584
9584
  ]))
9585
9585
  ]));
9586
9586
  }
@@ -9632,47 +9632,47 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9632
9632
  url: "mdiLink",
9633
9633
  number: "mdiNumeric",
9634
9634
  text: ""
9635
- }, d = N(!1), t = g(() => !!L.value), o = g(() => L.value.length > 0), a = g(() => {
9635
+ }, t = N(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9636
9636
  var O;
9637
9637
  return (O = C.errorMsg) == null ? void 0 : O.length;
9638
- }), r = g(() => C.clearable && o.value), n = g(() => {
9638
+ }), a = g(() => C.clearable && l.value), r = g(() => {
9639
9639
  const { disabled: O, loading: W } = C;
9640
9640
  return {
9641
9641
  "r-textfield": !0,
9642
- "r-textfield--error": a.value,
9642
+ "r-textfield--error": o.value,
9643
9643
  "r-textfield--loading": W,
9644
9644
  "r-textfield--disabled": O,
9645
- "r-textfield--clearable": r.value,
9646
- "r-textfield--focus": d.value,
9647
- "r-textfield--filled": t.value
9645
+ "r-textfield--clearable": a.value,
9646
+ "r-textfield--focus": t.value,
9647
+ "r-textfield--filled": d.value
9648
9648
  };
9649
9649
  }), Z = g(() => ({
9650
9650
  "r-textfield__prepend-icon": !0,
9651
9651
  "r-textfield__prepend-icon--loading": C.loading,
9652
- "r-textfield__prepend-icon--error": a.value && t.value
9652
+ "r-textfield__prepend-icon--error": o.value && d.value
9653
9653
  })), B = g(() => ({
9654
9654
  "r-textfield__append-icon": !0,
9655
- "r-textfield__append-icon--clear": r.value,
9656
- "r-textfield__append-icon--error": a.value
9655
+ "r-textfield__append-icon--clear": a.value,
9656
+ "r-textfield__append-icon--error": o.value
9657
9657
  })), k = g(() => {
9658
9658
  const { prependIcon: O, type: W } = C;
9659
9659
  return O === "none" ? "" : O || e[W];
9660
9660
  }), y = g(() => {
9661
9661
  const { appendIcon: O, type: W } = C;
9662
- return O === "none" ? "" : a.value ? "mdiAlertCircleOutline" : r.value && ["text", "email"].includes(W) ? "mdiClose" : W === "password" && i.value === "password" ? "mdiEyeOutline" : W === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9662
+ 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;
9663
9663
  });
9664
9664
  function P(O) {
9665
- d.value = !0, M("focus", O);
9665
+ t.value = !0, M("focus", O);
9666
9666
  }
9667
9667
  function v(O) {
9668
- d.value = !1, M("blur", O);
9668
+ t.value = !1, M("blur", O);
9669
9669
  }
9670
9670
  function R(O) {
9671
9671
  L.value = O.target.value, M("input", O);
9672
9672
  }
9673
9673
  function F() {
9674
9674
  var O;
9675
- if (r.value) {
9675
+ if (a.value) {
9676
9676
  L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9677
9677
  value: i.value === "number" ? +L.value : L.value
9678
9678
  });
@@ -9680,16 +9680,16 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9680
9680
  }
9681
9681
  M("click:icon", {
9682
9682
  value: i.value === "number" ? +L.value : L.value
9683
- }), C.type === "password" && U();
9683
+ }), C.type === "password" && z();
9684
9684
  }
9685
- function U() {
9685
+ function z() {
9686
9686
  i.value = i.value === "password" ? "text" : "password";
9687
9687
  }
9688
9688
  function I() {
9689
9689
  var O;
9690
9690
  (O = A.value) == null || O.focus();
9691
9691
  }
9692
- return K(
9692
+ return $(
9693
9693
  () => C.modelValue,
9694
9694
  (O) => {
9695
9695
  L.value = O;
@@ -9697,7 +9697,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9697
9697
  {
9698
9698
  immediate: !0
9699
9699
  }
9700
- ), K(
9700
+ ), $(
9701
9701
  () => L.value,
9702
9702
  (O) => {
9703
9703
  M(
@@ -9705,7 +9705,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9705
9705
  i.value === "number" ? +O : O
9706
9706
  );
9707
9707
  }
9708
- ), (O, W) => (m(), l("div", b3, [
9708
+ ), (O, W) => (m(), n("div", b3, [
9709
9709
  C.label ? (m(), _(r2, {
9710
9710
  key: 0,
9711
9711
  id: `${C.id}-label`,
@@ -9716,7 +9716,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9716
9716
  }, null, 8, ["id", "for", "text"])) : c("", !0),
9717
9717
  u("div", w3, [
9718
9718
  u("div", {
9719
- class: p(n.value)
9719
+ class: p(r.value)
9720
9720
  }, [
9721
9721
  f(O.$slots, "prepend"),
9722
9722
  k.value && !O.$slots.prepend ? (m(), _(D, {
@@ -9741,8 +9741,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9741
9741
  onFocus: P,
9742
9742
  onInput: R
9743
9743
  }, null, 40, y3),
9744
- a.value ? c("", !0) : f(O.$slots, "append", { key: 1 }),
9745
- y.value && !O.$slots.append || a.value ? (m(), _(D, {
9744
+ o.value ? c("", !0) : f(O.$slots, "append", { key: 1 }),
9745
+ y.value && !O.$slots.append || o.value ? (m(), _(D, {
9746
9746
  key: 2,
9747
9747
  class: p(B.value),
9748
9748
  name: `${y.value}`,
@@ -9750,9 +9750,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9750
9750
  onClick: F
9751
9751
  }, null, 8, ["class", "name"])) : c("", !0)
9752
9752
  ], 2),
9753
- C.hideDetails ? c("", !0) : (m(), l("div", P3, [
9754
- C.errorMsg ? (m(), l("p", v3, w(C.errorMsg), 1)) : c("", !0),
9755
- !C.errorMsg && C.hint ? (m(), l("p", T3, w(C.hint), 1)) : c("", !0)
9753
+ C.hideDetails ? c("", !0) : (m(), n("div", P3, [
9754
+ C.errorMsg ? (m(), n("p", v3, w(C.errorMsg), 1)) : c("", !0),
9755
+ !C.errorMsg && C.hint ? (m(), n("p", T3, w(C.hint), 1)) : c("", !0)
9756
9756
  ]))
9757
9757
  ])
9758
9758
  ]));
@@ -9770,12 +9770,12 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9770
9770
  const V = H;
9771
9771
  return (C, M) => {
9772
9772
  const A = h2("router-link");
9773
- return m(), l("div", F3, [
9774
- (m(!0), l(V1, null, A1(V.items, (L, i) => (m(), l("div", {
9773
+ return m(), n("div", F3, [
9774
+ (m(!0), n(V1, null, A1(V.items, (L, i) => (m(), n("div", {
9775
9775
  key: i,
9776
9776
  class: "r-breadcrumb__item"
9777
9777
  }, [
9778
- z(A, {
9778
+ K(A, {
9779
9779
  class: "r-breadcrumb__link",
9780
9780
  to: L.to
9781
9781
  }, {
@@ -9786,7 +9786,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9786
9786
  name: L.icon
9787
9787
  }, null, 8, ["name"])) : c("", !0)
9788
9788
  ]),
9789
- L.onlyIcon ? c("", !0) : (m(), l("span", R3, w(L.title), 1))
9789
+ L.onlyIcon ? c("", !0) : (m(), n("span", R3, w(L.title), 1))
9790
9790
  ]),
9791
9791
  _: 2
9792
9792
  }, 1032, ["to"]),
@@ -9801,37 +9801,37 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9801
9801
  ]);
9802
9802
  };
9803
9803
  }
9804
- }), x3 = { class: "r-pagination__paginator" }, D3 = { class: "r-pagination__paginator__per-page" }, _3 = ["disabled"], E3 = /* @__PURE__ */ u("path", {
9804
+ }), x3 = { class: "r-pagination__paginator" }, D3 = { class: "r-pagination__paginator__per-page" }, _3 = { class: "r-pagination__paginator__info" }, E3 = ["disabled"], W3 = /* @__PURE__ */ u("path", {
9805
9805
  d: "M0 0h24v24H0z",
9806
9806
  fill: "none",
9807
9807
  stroke: "none"
9808
- }, null, -1), W3 = /* @__PURE__ */ u("path", { d: "M7 6v12" }, null, -1), N3 = /* @__PURE__ */ u("path", { d: "M18 6l-6 6l6 6" }, null, -1), I3 = [
9809
- E3,
9808
+ }, null, -1), N3 = /* @__PURE__ */ u("path", { d: "M7 6v12" }, null, -1), I3 = /* @__PURE__ */ u("path", { d: "M18 6l-6 6l6 6" }, null, -1), Q3 = [
9810
9809
  W3,
9811
- N3
9812
- ], Q3 = ["disabled"], G3 = /* @__PURE__ */ u("path", {
9810
+ N3,
9811
+ I3
9812
+ ], G3 = ["disabled"], $3 = /* @__PURE__ */ u("path", {
9813
9813
  d: "M0 0h24v24H0z",
9814
9814
  fill: "none",
9815
9815
  stroke: "none"
9816
- }, null, -1), $3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), U3 = [
9817
- G3,
9818
- $3
9819
- ], z3 = ["disabled"], K3 = /* @__PURE__ */ u("path", {
9816
+ }, null, -1), U3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), z3 = [
9817
+ $3,
9818
+ U3
9819
+ ], K3 = ["disabled"], q3 = /* @__PURE__ */ u("path", {
9820
9820
  d: "M0 0h24v24H0z",
9821
9821
  fill: "none",
9822
9822
  stroke: "none"
9823
- }, null, -1), q3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), j3 = [
9824
- K3,
9825
- q3
9826
- ], X3 = ["disabled"], Y3 = /* @__PURE__ */ u("path", {
9823
+ }, null, -1), j3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), X3 = [
9824
+ q3,
9825
+ j3
9826
+ ], Y3 = ["disabled"], J3 = /* @__PURE__ */ u("path", {
9827
9827
  d: "M0 0h24v24H0z",
9828
9828
  fill: "none",
9829
9829
  stroke: "none"
9830
- }, null, -1), J3 = /* @__PURE__ */ u("path", { d: "M6 6l6 6l-6 6" }, null, -1), C0 = /* @__PURE__ */ u("path", { d: "M17 5v13" }, null, -1), H0 = [
9831
- Y3,
9830
+ }, null, -1), C0 = /* @__PURE__ */ u("path", { d: "M6 6l6 6l-6 6" }, null, -1), H0 = /* @__PURE__ */ u("path", { d: "M17 5v13" }, null, -1), V0 = [
9832
9831
  J3,
9833
- C0
9834
- ], V0 = /* @__PURE__ */ u("div", { class: "r-pagination__paginator__total" }, null, -1), s0 = /* @__PURE__ */ T({
9832
+ C0,
9833
+ H0
9834
+ ], s0 = /* @__PURE__ */ T({
9835
9835
  __name: "RPagination",
9836
9836
  props: {
9837
9837
  page: { default: 1 },
@@ -9839,28 +9839,35 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9839
9839
  totalItems: { default: 100 },
9840
9840
  perPageOptions: { default: () => [10, 20, 50, 100] },
9841
9841
  itemsPerPageText: { default: "Items per page:" },
9842
- position: { default: "right" }
9842
+ position: { default: "right" },
9843
+ infoText: { default: "1-10 of 100" }
9843
9844
  },
9844
- emits: ["update:page", "update:perPage"],
9845
+ emits: ["update:page", "update:perPage", "update:info"],
9845
9846
  setup(H, { emit: V }) {
9846
- const C = H, M = V, A = N(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage));
9847
- function i(d) {
9847
+ const C = H, M = V, A = N(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), i = g(() => ({
9848
+ start: C.page * C.perPage - C.perPage,
9849
+ end: C.page * C.perPage
9850
+ }));
9851
+ $(() => i.value, () => {
9852
+ M("update:info", i.value);
9853
+ });
9854
+ function e(d) {
9848
9855
  d < 1 || d > L.value || M("update:page", d);
9849
9856
  }
9850
- function e({ value: d }) {
9857
+ function t({ value: d }) {
9851
9858
  M("update:perPage", d);
9852
9859
  }
9853
- return (d, t) => (m(), l("div", {
9860
+ return (d, l) => (m(), n("div", {
9854
9861
  class: p(["r-pagination", [`r-pagination--${C.position}`]])
9855
9862
  }, [
9856
9863
  u("div", x3, [
9857
9864
  u("div", D3, [
9858
9865
  u("span", null, w(C.itemsPerPageText), 1),
9859
- z(J5, {
9866
+ K(J5, {
9860
9867
  modelValue: A.value,
9861
9868
  "onUpdate:modelValue": [
9862
- t[0] || (t[0] = (o) => A.value = o),
9863
- e
9869
+ l[0] || (l[0] = (o) => A.value = o),
9870
+ t
9864
9871
  ],
9865
9872
  class: "w-24",
9866
9873
  "hide-details": "",
@@ -9868,13 +9875,14 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9868
9875
  options: C.perPageOptions
9869
9876
  }, null, 8, ["modelValue", "options"])
9870
9877
  ]),
9878
+ u("span", _3, w(C.infoText), 1),
9871
9879
  u("button", {
9872
9880
  class: "r-pagination__paginator__first",
9873
9881
  disabled: C.page === 1,
9874
- onClick: t[1] || (t[1] = (o) => i(+C.page - 1))
9882
+ onClick: l[1] || (l[1] = (o) => e(1))
9875
9883
  }, [
9876
9884
  f(d.$slots, "first", {}, () => [
9877
- (m(), l("svg", {
9885
+ (m(), n("svg", {
9878
9886
  class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9879
9887
  fill: "none",
9880
9888
  height: "20",
@@ -9885,16 +9893,16 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9885
9893
  viewBox: "0 0 24 24",
9886
9894
  width: "20",
9887
9895
  xmlns: "http://www.w3.org/2000/svg"
9888
- }, I3, 2))
9896
+ }, Q3, 2))
9889
9897
  ])
9890
- ], 8, _3),
9898
+ ], 8, E3),
9891
9899
  u("button", {
9892
9900
  class: "r-pagination__paginator__prev",
9893
9901
  disabled: C.page === 1,
9894
- onClick: t[2] || (t[2] = (o) => i(1))
9902
+ onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
9895
9903
  }, [
9896
9904
  f(d.$slots, "prev", {}, () => [
9897
- (m(), l("svg", {
9905
+ (m(), n("svg", {
9898
9906
  class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9899
9907
  fill: "none",
9900
9908
  height: "20",
@@ -9905,16 +9913,16 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9905
9913
  viewBox: "0 0 24 24",
9906
9914
  width: "20",
9907
9915
  xmlns: "http://www.w3.org/2000/svg"
9908
- }, U3, 2))
9916
+ }, z3, 2))
9909
9917
  ])
9910
- ], 8, Q3),
9918
+ ], 8, G3),
9911
9919
  u("button", {
9912
9920
  class: "r-pagination__paginator__next",
9913
9921
  disabled: C.page === L.value,
9914
- onClick: t[3] || (t[3] = (o) => i(+C.page + 1))
9922
+ onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
9915
9923
  }, [
9916
9924
  f(d.$slots, "next", {}, () => [
9917
- (m(), l("svg", {
9925
+ (m(), n("svg", {
9918
9926
  class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9919
9927
  fill: "none",
9920
9928
  height: "20",
@@ -9925,16 +9933,16 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9925
9933
  viewBox: "0 0 24 24",
9926
9934
  width: "20",
9927
9935
  xmlns: "http://www.w3.org/2000/svg"
9928
- }, j3, 2))
9936
+ }, X3, 2))
9929
9937
  ])
9930
- ], 8, z3),
9938
+ ], 8, K3),
9931
9939
  u("button", {
9932
9940
  class: "r-pagination__paginator__last",
9933
9941
  disabled: C.page === L.value,
9934
- onClick: t[4] || (t[4] = (o) => i(C.totalItems / C.perPage))
9942
+ onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
9935
9943
  }, [
9936
9944
  f(d.$slots, "last", {}, () => [
9937
- (m(), l("svg", {
9945
+ (m(), n("svg", {
9938
9946
  class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9939
9947
  fill: "none",
9940
9948
  height: "20",
@@ -9945,10 +9953,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9945
9953
  viewBox: "0 0 24 24",
9946
9954
  width: "20",
9947
9955
  xmlns: "http://www.w3.org/2000/svg"
9948
- }, H0, 2))
9956
+ }, V0, 2))
9949
9957
  ])
9950
- ], 8, X3),
9951
- V0
9958
+ ], 8, Y3)
9952
9959
  ])
9953
9960
  ], 2));
9954
9961
  }
@@ -9960,7 +9967,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9960
9967
  },
9961
9968
  setup(H) {
9962
9969
  const V = H;
9963
- return (C, M) => (m(), l("progress", {
9970
+ return (C, M) => (m(), n("progress", {
9964
9971
  "aria-valuemax": 100,
9965
9972
  class: "r-progressbar",
9966
9973
  max: 100,
@@ -9984,18 +9991,18 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9984
9991
  setup(H, { emit: V }) {
9985
9992
  const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue ?? []), i = g(() => C.selectedClass);
9986
9993
  k1(`${w1}:selectedClass`, i.value);
9987
- function e(t) {
9988
- return L.value.includes(t);
9994
+ function e(d) {
9995
+ return L.value.includes(d);
9989
9996
  }
9990
9997
  k1(`${w1}:isSelected`, e);
9991
- function d(t, o) {
9992
- C.disabled || C.mandatory && L.value.length === 1 && o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(t) : L.value = L.value.filter((a) => a !== t) : L.value = o ? [t] : [], M("update:modelValue", L.value));
9998
+ function t(d, l) {
9999
+ 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));
9993
10000
  }
9994
- return k1(`${w1}:select`, d), (t, o) => (m(), _(g2(A.value), null, {
10001
+ return k1(`${w1}:select`, t), (d, l) => (m(), _(g2(A.value), null, {
9995
10002
  default: r1(() => [
9996
- f(t.$slots, "default", {
10003
+ f(d.$slots, "default", {
9997
10004
  isSelected: e,
9998
- select: d,
10005
+ select: t,
9999
10006
  selected: L.value
10000
10007
  })
10001
10008
  ]),
@@ -10017,7 +10024,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
10017
10024
  function e() {
10018
10025
  V.disabled || L(V.value, !0);
10019
10026
  }
10020
- return (d, t) => f(d.$slots, "default", {
10027
+ return (t, d) => f(t.$slots, "default", {
10021
10028
  disabled: V.disabled,
10022
10029
  isSelected: M1(C)(V.value),
10023
10030
  select: e,