@rocketui/vue 0.2.11 → 0.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, openBlock as m, createElementBlock as n, createElementVNode as S, unref as M1, reactive as m1, Fragment as V1, renderList as A1, normalizeClass as f, renderSlot as h, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as O, 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,9 +7335,9 @@ 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
- class: f(["r-accordion", {
7340
+ class: p(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
7342
7342
  }]),
7343
7343
  "data-state": i.open ? "opened" : "closed"
@@ -7346,7 +7346,7 @@ const k2 = {
7346
7346
  class: "r-accordion__header",
7347
7347
  onClick: (t) => M(e)
7348
7348
  }, [
7349
- h(A.$slots, "title", {}, () => [
7349
+ f(A.$slots, "title", {}, () => [
7350
7350
  S("div", P2, w(i.title), 1)
7351
7351
  ]),
7352
7352
  S("div", v2, [
@@ -7354,7 +7354,7 @@ const k2 = {
7354
7354
  ])
7355
7355
  ], 8, y2),
7356
7356
  S("div", T2, [
7357
- h(A.$slots, "content", {}, () => [
7357
+ f(A.$slots, "content", {}, () => [
7358
7358
  S("span", null, w(i.content), 1)
7359
7359
  ])
7360
7360
  ])
@@ -7392,11 +7392,11 @@ const k2 = {
7392
7392
  function i() {
7393
7393
  M("close");
7394
7394
  }
7395
- return (e, t) => (m(), n("div", {
7396
- class: f(A.value)
7395
+ return (e, t) => (m(), r("div", {
7396
+ class: p(A.value)
7397
7397
  }, [
7398
7398
  S("div", F2, [
7399
- h(e.$slots, "alert-icon", {}, () => [
7399
+ f(e.$slots, "alert-icon", {}, () => [
7400
7400
  K(D, {
7401
7401
  name: L.value,
7402
7402
  size: 24
@@ -7404,13 +7404,13 @@ const k2 = {
7404
7404
  ])
7405
7405
  ]),
7406
7406
  S("div", R2, [
7407
- h(e.$slots, "content", {}, () => [
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)) : O("", !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, [
7413
- h(e.$slots, "custom-close", {}, () => [
7412
+ C.closable ? (m(), r("div", _2, [
7413
+ f(e.$slots, "custom-close", {}, () => [
7414
7414
  K(D, {
7415
7415
  class: "r-alert__close__button",
7416
7416
  name: "mdiClose",
@@ -7418,7 +7418,7 @@ const k2 = {
7418
7418
  onClick: i
7419
7419
  })
7420
7420
  ])
7421
- ])) : O("", !0)
7421
+ ])) : c("", !0)
7422
7422
  ], 2));
7423
7423
  }
7424
7424
  }), I1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", E2 = { class: "r-avatar__wrapper" }, W2 = ["alt", "src"], e0 = /* @__PURE__ */ T({
@@ -7440,29 +7440,29 @@ 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
- class: f(C.value)
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
- class: f(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
- }, w(L(V.text)), 3)) : (m(), n("img", {
7449
+ class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
+ }, w(L(V.text)), 3)) : (m(), r("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
- class: f(["r-avatar__image", {
7453
+ class: p(["r-avatar__image", {
7454
7454
  [`r-avatar__image--${V.size}`]: !0,
7455
7455
  "r-avatar__image--anonymous": M.value
7456
7456
  }]),
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
- class: f(["r-avatar__online", {
7462
+ class: p(["r-avatar__online", {
7463
7463
  [`r-avatar__online--${V.size}`]: !0
7464
7464
  }])
7465
- }, null, 2)) : O("", !0)
7465
+ }, null, 2)) : c("", !0)
7466
7466
  ]));
7467
7467
  }
7468
7468
  }), N2 = { class: "r-badge-wrapper group" }, d0 = /* @__PURE__ */ T({
@@ -7488,14 +7488,14 @@ const k2 = {
7488
7488
  [`r-badge--${V.variant}`]: V.variant,
7489
7489
  [V.class]: V.class
7490
7490
  }));
7491
- return (M, A) => (m(), n("div", N2, [
7491
+ return (M, A) => (m(), r("div", N2, [
7492
7492
  S("span", {
7493
- class: f([{ "animate-ping-2": V.animation }, C.value])
7493
+ class: p([{ "animate-ping-2": V.animation }, C.value])
7494
7494
  }, null, 2),
7495
7495
  S("span", {
7496
- class: f(C.value)
7496
+ class: p(C.value)
7497
7497
  }, null, 2),
7498
- h(M.$slots, "default")
7498
+ f(M.$slots, "default")
7499
7499
  ]));
7500
7500
  }
7501
7501
  }), I2 = ["disabled"], t0 = /* @__PURE__ */ T({
@@ -7529,30 +7529,30 @@ const k2 = {
7529
7529
  })[V.size || "medium"]), A = g(() => ({
7530
7530
  height: V.height ? `${V.height}px` : ""
7531
7531
  }));
7532
- return (L, i) => (m(), n("button", j1(L.$attrs, {
7532
+ return (L, i) => (m(), r("button", j1(L.$attrs, {
7533
7533
  class: C.value,
7534
7534
  disabled: L.disabled,
7535
7535
  style: A.value,
7536
7536
  onClick: i[0] || (i[0] = (e) => L.$emit("click"))
7537
7537
  }), [
7538
- h(L.$slots, "prepend", {}, () => [
7538
+ f(L.$slots, "prepend", {}, () => [
7539
7539
  V.prependIcon ? (m(), _(D, {
7540
7540
  key: 0,
7541
- class: f(["r-button__prepend-icon", {
7541
+ class: p(["r-button__prepend-icon", {
7542
7542
  "r-button__prepend-icon--only": V.icon
7543
7543
  }]),
7544
7544
  name: V.prependIcon,
7545
7545
  size: M.value
7546
- }, null, 8, ["class", "name", "size"])) : O("", !0)
7546
+ }, null, 8, ["class", "name", "size"])) : c("", !0)
7547
7547
  ]),
7548
- h(L.$slots, "default"),
7549
- h(L.$slots, "append", {}, () => [
7548
+ f(L.$slots, "default"),
7549
+ f(L.$slots, "append", {}, () => [
7550
7550
  !V.icon && V.appendIcon ? (m(), _(D, {
7551
7551
  key: 0,
7552
7552
  class: "r-button__append-icon",
7553
7553
  name: V.appendIcon,
7554
7554
  size: M.value
7555
- }, null, 8, ["name", "size"])) : O("", !0)
7555
+ }, null, 8, ["name", "size"])) : c("", !0)
7556
7556
  ])
7557
7557
  ], 16, I2));
7558
7558
  }
@@ -7596,7 +7596,7 @@ const k2 = {
7596
7596
  function t(d) {
7597
7597
  C.disabled || (A.checked = d.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7598
7598
  }
7599
- return $(
7599
+ return G(
7600
7600
  () => C.indeterminate,
7601
7601
  (d) => {
7602
7602
  A.indeterminate = d, d === !0 && (A.checked = !1, M("update:modelValue", A.checked));
@@ -7606,7 +7606,7 @@ const k2 = {
7606
7606
  // TODO: find a better way to do this
7607
7607
  immediate: !0
7608
7608
  }
7609
- ), $(
7609
+ ), G(
7610
7610
  () => C.modelValue,
7611
7611
  (d) => {
7612
7612
  A.checked = d;
@@ -7616,7 +7616,7 @@ const k2 = {
7616
7616
  // TODO: find a better way to do this
7617
7617
  immediate: !0
7618
7618
  }
7619
- ), (d, l) => (m(), n("div", Q2, [
7619
+ ), (d, l) => (m(), r("div", Q2, [
7620
7620
  S("div", G2, [
7621
7621
  S("input", {
7622
7622
  id: C.id,
@@ -7628,7 +7628,7 @@ const k2 = {
7628
7628
  onChange: t
7629
7629
  }, null, 40, $2),
7630
7630
  S("div", {
7631
- class: f(e.value),
7631
+ class: p(e.value),
7632
7632
  "data-disabled": C.disabled
7633
7633
  }, [
7634
7634
  K(D, {
@@ -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 ? O("", !0) : (m(), n("div", q2, [
7647
- C.errorMsg ? (m(), n("p", j2, w(C.errorMsg), 1)) : (m(), n("p", X2, w(C.hint), 1))
7646
+ C.hideDetails ? c("", !0) : (m(), r("div", q2, [
7647
+ C.errorMsg ? (m(), r("p", j2, w(C.errorMsg), 1)) : (m(), r("p", X2, w(C.hint), 1))
7648
7648
  ]))
7649
7649
  ])
7650
7650
  ]));
@@ -7675,25 +7675,25 @@ const k2 = {
7675
7675
  function i(e) {
7676
7676
  C.disabled || !C.closable || (e.stopPropagation(), M("click:close", e));
7677
7677
  }
7678
- return (e, t) => (m(), n("div", {
7679
- class: f(A.value)
7678
+ return (e, t) => (m(), r("div", {
7679
+ class: p(A.value)
7680
7680
  }, [
7681
7681
  S("div", {
7682
7682
  class: "r-chip__content",
7683
7683
  onClick: t[0] || (t[0] = (d) => L(d))
7684
7684
  }, [
7685
- h(e.$slots, "prepend", {}, () => [
7685
+ f(e.$slots, "prepend", {}, () => [
7686
7686
  C.prependIcon ? (m(), _(D, {
7687
7687
  key: 0,
7688
7688
  "aria-disabled": C.disabled,
7689
7689
  class: "r-chip__content__prepend-icon",
7690
7690
  name: C.prependIcon,
7691
7691
  size: 12
7692
- }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7692
+ }, null, 8, ["aria-disabled", "name"])) : c("", !0)
7693
7693
  ]),
7694
7694
  S("span", Y2, w(C.label), 1)
7695
7695
  ]),
7696
- h(e.$slots, "append", {}, () => [
7696
+ f(e.$slots, "append", {}, () => [
7697
7697
  C.appendIcon ? (m(), _(D, {
7698
7698
  key: 0,
7699
7699
  "aria-disabled": C.disabled,
@@ -7701,7 +7701,7 @@ const k2 = {
7701
7701
  name: C.appendIcon,
7702
7702
  size: 12,
7703
7703
  onClick: t[1] || (t[1] = (d) => i(d))
7704
- }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7704
+ }, null, 8, ["aria-disabled", "name"])) : c("", !0)
7705
7705
  ])
7706
7706
  ], 2));
7707
7707
  }
@@ -7710,7 +7710,7 @@ function C5(H) {
7710
7710
  return Z2() ? (u2(H), !0) : !1;
7711
7711
  }
7712
7712
  function J1(H) {
7713
- return typeof H == "function" ? H() : M1(H);
7713
+ return typeof H == "function" ? H() : V1(H);
7714
7714
  }
7715
7715
  const C2 = typeof window < "u" && typeof document < "u";
7716
7716
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -7726,21 +7726,21 @@ function o1(H) {
7726
7726
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7727
7727
  }
7728
7728
  const H2 = C2 ? window : void 0;
7729
- function b1(...H) {
7729
+ function y1(...H) {
7730
7730
  let V, C, M, A;
7731
7731
  if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, A] = H, V = H2) : [V, C, M, A] = H, !V)
7732
7732
  return P1;
7733
7733
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7734
7734
  const L = [], i = () => {
7735
7735
  L.forEach((l) => l()), L.length = 0;
7736
- }, e = (l, o, a, r) => (l.addEventListener(o, a, r), () => l.removeEventListener(o, a, r)), t = $(
7736
+ }, e = (l, o, n, a) => (l.addEventListener(o, n, a), () => l.removeEventListener(o, n, a)), t = G(
7737
7737
  () => [o1(V), J1(A)],
7738
7738
  ([l, o]) => {
7739
7739
  if (i(), !l)
7740
7740
  return;
7741
- const a = V5(o) ? { ...o } : o;
7741
+ const n = V5(o) ? { ...o } : o;
7742
7742
  L.push(
7743
- ...C.flatMap((r) => M.map((Z) => e(l, r, Z, a)))
7743
+ ...C.flatMap((a) => M.map((Z) => e(l, a, Z, n)))
7744
7744
  );
7745
7745
  },
7746
7746
  { immediate: !0, flush: "post" }
@@ -7754,41 +7754,41 @@ function A5(H, V, C = {}) {
7754
7754
  const { window: M = H2, ignore: A = [], capture: L = !0, detectIframe: i = !1 } = C;
7755
7755
  if (!M)
7756
7756
  return;
7757
- L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((a) => a.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7757
+ L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7758
7758
  let e = !0;
7759
- const t = (a) => A.some((r) => {
7760
- if (typeof r == "string")
7761
- return Array.from(M.document.querySelectorAll(r)).some((Z) => Z === a.target || a.composedPath().includes(Z));
7759
+ const t = (n) => A.some((a) => {
7760
+ if (typeof a == "string")
7761
+ return Array.from(M.document.querySelectorAll(a)).some((Z) => Z === n.target || n.composedPath().includes(Z));
7762
7762
  {
7763
- const Z = o1(r);
7764
- return Z && (a.target === Z || a.composedPath().includes(Z));
7763
+ const Z = o1(a);
7764
+ return Z && (n.target === Z || n.composedPath().includes(Z));
7765
7765
  }
7766
7766
  }), l = [
7767
- b1(M, "click", (a) => {
7768
- const r = o1(H);
7769
- if (!(!r || r === a.target || a.composedPath().includes(r))) {
7770
- if (a.detail === 0 && (e = !t(a)), !e) {
7767
+ y1(M, "click", (n) => {
7768
+ const a = o1(H);
7769
+ if (!(!a || a === n.target || n.composedPath().includes(a))) {
7770
+ if (n.detail === 0 && (e = !t(n)), !e) {
7771
7771
  e = !0;
7772
7772
  return;
7773
7773
  }
7774
- V(a);
7774
+ V(n);
7775
7775
  }
7776
7776
  }, { passive: !0, capture: L }),
7777
- b1(M, "pointerdown", (a) => {
7778
- const r = o1(H);
7779
- e = !t(a) && !!(r && !a.composedPath().includes(r));
7777
+ y1(M, "pointerdown", (n) => {
7778
+ const a = o1(H);
7779
+ e = !t(n) && !!(a && !n.composedPath().includes(a));
7780
7780
  }, { passive: !0 }),
7781
- i && b1(M, "blur", (a) => {
7781
+ i && y1(M, "blur", (n) => {
7782
7782
  setTimeout(() => {
7783
- var r;
7783
+ var a;
7784
7784
  const Z = o1(H);
7785
- ((r = M.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(a);
7785
+ ((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(n);
7786
7786
  }, 0);
7787
7787
  })
7788
7788
  ].filter(Boolean);
7789
- return () => l.forEach((a) => a());
7789
+ return () => l.forEach((n) => n());
7790
7790
  }
7791
- const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, s1 = Math.round, J = (H) => ({
7791
+ const i5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, f1 = Math.round, J = (H) => ({
7792
7792
  x: H,
7793
7793
  y: H
7794
7794
  }), e5 = {
@@ -7806,7 +7806,7 @@ function v1(H, V, C) {
7806
7806
  function l1(H, V) {
7807
7807
  return typeof H == "function" ? H(V) : H;
7808
7808
  }
7809
- function L1(H) {
7809
+ function M1(H) {
7810
7810
  return H.split("-")[0];
7811
7811
  }
7812
7812
  function u1(H) {
@@ -7818,20 +7818,20 @@ function V2(H) {
7818
7818
  function D1(H) {
7819
7819
  return H === "y" ? "height" : "width";
7820
7820
  }
7821
- function f1(H) {
7822
- return ["top", "bottom"].includes(L1(H)) ? "y" : "x";
7821
+ function B1(H) {
7822
+ return ["top", "bottom"].includes(M1(H)) ? "y" : "x";
7823
7823
  }
7824
7824
  function _1(H) {
7825
- return V2(f1(H));
7825
+ return V2(B1(H));
7826
7826
  }
7827
7827
  function t5(H, V, C) {
7828
7828
  C === void 0 && (C = !1);
7829
7829
  const M = u1(H), A = _1(H), L = D1(A);
7830
7830
  let i = A === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7831
- return V.reference[L] > V.floating[L] && (i = c1(i)), [i, c1(i)];
7831
+ return V.reference[L] > V.floating[L] && (i = h1(i)), [i, h1(i)];
7832
7832
  }
7833
7833
  function m5(H) {
7834
- const V = c1(H);
7834
+ const V = h1(H);
7835
7835
  return [T1(H), V, T1(V)];
7836
7836
  }
7837
7837
  function T1(H) {
@@ -7852,10 +7852,10 @@ function l5(H, V, C) {
7852
7852
  }
7853
7853
  function o5(H, V, C, M) {
7854
7854
  const A = u1(H);
7855
- let L = l5(L1(H), C === "start", M);
7855
+ let L = l5(M1(H), C === "start", M);
7856
7856
  return A && (L = L.map((i) => i + "-" + A), V && (L = L.concat(L.map(T1)))), L;
7857
7857
  }
7858
- function c1(H) {
7858
+ function h1(H) {
7859
7859
  return H.replace(/left|right|bottom|top/g, (V) => e5[V]);
7860
7860
  }
7861
7861
  function n5(H) {
@@ -7875,7 +7875,7 @@ function L2(H) {
7875
7875
  left: H
7876
7876
  };
7877
7877
  }
7878
- function O1(H) {
7878
+ function g1(H) {
7879
7879
  return {
7880
7880
  ...H,
7881
7881
  top: H.y,
@@ -7889,48 +7889,48 @@ function G1(H, V, C) {
7889
7889
  reference: M,
7890
7890
  floating: A
7891
7891
  } = H;
7892
- const L = f1(V), i = _1(V), e = D1(i), t = L1(V), d = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, a = M[e] / 2 - A[e] / 2;
7893
- let r;
7892
+ const L = B1(V), i = _1(V), e = D1(i), t = M1(V), d = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, n = M[e] / 2 - A[e] / 2;
7893
+ let a;
7894
7894
  switch (t) {
7895
7895
  case "top":
7896
- r = {
7896
+ a = {
7897
7897
  x: l,
7898
7898
  y: M.y - A.height
7899
7899
  };
7900
7900
  break;
7901
7901
  case "bottom":
7902
- r = {
7902
+ a = {
7903
7903
  x: l,
7904
7904
  y: M.y + M.height
7905
7905
  };
7906
7906
  break;
7907
7907
  case "right":
7908
- r = {
7908
+ a = {
7909
7909
  x: M.x + M.width,
7910
7910
  y: o
7911
7911
  };
7912
7912
  break;
7913
7913
  case "left":
7914
- r = {
7914
+ a = {
7915
7915
  x: M.x - A.width,
7916
7916
  y: o
7917
7917
  };
7918
7918
  break;
7919
7919
  default:
7920
- r = {
7920
+ a = {
7921
7921
  x: M.x,
7922
7922
  y: M.y
7923
7923
  };
7924
7924
  }
7925
7925
  switch (u1(V)) {
7926
7926
  case "start":
7927
- r[i] -= a * (C && d ? -1 : 1);
7927
+ a[i] -= n * (C && d ? -1 : 1);
7928
7928
  break;
7929
7929
  case "end":
7930
- r[i] += a * (C && d ? -1 : 1);
7930
+ a[i] += n * (C && d ? -1 : 1);
7931
7931
  break;
7932
7932
  }
7933
- return r;
7933
+ return a;
7934
7934
  }
7935
7935
  const r5 = async (H, V, C) => {
7936
7936
  const {
@@ -7946,7 +7946,7 @@ const r5 = async (H, V, C) => {
7946
7946
  }), {
7947
7947
  x: l,
7948
7948
  y: o
7949
- } = G1(d, M, t), a = M, r = {}, Z = 0;
7949
+ } = G1(d, M, t), n = M, a = {}, Z = 0;
7950
7950
  for (let B = 0; B < e.length; B++) {
7951
7951
  const {
7952
7952
  name: k,
@@ -7960,9 +7960,9 @@ const r5 = async (H, V, C) => {
7960
7960
  x: l,
7961
7961
  y: o,
7962
7962
  initialPlacement: M,
7963
- placement: a,
7963
+ placement: n,
7964
7964
  strategy: A,
7965
- middlewareData: r,
7965
+ middlewareData: a,
7966
7966
  rects: d,
7967
7967
  platform: i,
7968
7968
  elements: {
@@ -7970,33 +7970,33 @@ const r5 = async (H, V, C) => {
7970
7970
  floating: V
7971
7971
  }
7972
7972
  });
7973
- if (l = P ?? l, o = v ?? o, r = {
7974
- ...r,
7973
+ if (l = P ?? l, o = v ?? o, a = {
7974
+ ...a,
7975
7975
  [k]: {
7976
- ...r[k],
7976
+ ...a[k],
7977
7977
  ...R
7978
7978
  }
7979
7979
  }, F && Z <= 50) {
7980
- Z++, typeof F == "object" && (F.placement && (a = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7980
+ Z++, typeof F == "object" && (F.placement && (n = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7981
7981
  reference: H,
7982
7982
  floating: V,
7983
7983
  strategy: A
7984
7984
  }) : F.rects), {
7985
7985
  x: l,
7986
7986
  y: o
7987
- } = G1(d, a, t)), B = -1;
7987
+ } = G1(d, n, t)), B = -1;
7988
7988
  continue;
7989
7989
  }
7990
7990
  }
7991
7991
  return {
7992
7992
  x: l,
7993
7993
  y: o,
7994
- placement: a,
7994
+ placement: n,
7995
7995
  strategy: A,
7996
- middlewareData: r
7996
+ middlewareData: a
7997
7997
  };
7998
7998
  };
7999
- async function p1(H, V) {
7999
+ async function k1(H, V) {
8000
8000
  var C;
8001
8001
  V === void 0 && (V = {});
8002
8002
  const {
@@ -8010,9 +8010,9 @@ async function p1(H, V) {
8010
8010
  boundary: d = "clippingAncestors",
8011
8011
  rootBoundary: l = "viewport",
8012
8012
  elementContext: o = "floating",
8013
- altBoundary: a = !1,
8014
- padding: r = 0
8015
- } = l1(V, H), Z = L2(r), k = e[a ? o === "floating" ? "reference" : "floating" : o], y = O1(await L.getClippingRect({
8013
+ altBoundary: n = !1,
8014
+ padding: a = 0
8015
+ } = l1(V, H), Z = L2(a), k = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8016
8016
  element: (C = await (L.isElement == null ? void 0 : L.isElement(k))) == null || C ? k : k.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8017
8017
  boundary: d,
8018
8018
  rootBoundary: l,
@@ -8027,7 +8027,7 @@ async function p1(H, V) {
8027
8027
  } : {
8028
8028
  x: 1,
8029
8029
  y: 1
8030
- }, F = O1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8030
+ }, F = g1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8031
8031
  rect: P,
8032
8032
  offsetParent: v,
8033
8033
  strategy: t
@@ -8057,23 +8057,23 @@ const a5 = (H) => ({
8057
8057
  } = l1(H, V) || {};
8058
8058
  if (d == null)
8059
8059
  return {};
8060
- const o = L2(l), a = {
8060
+ const o = L2(l), n = {
8061
8061
  x: C,
8062
8062
  y: M
8063
- }, r = _1(A), Z = D1(r), B = await i.getDimensions(d), k = r === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[r] - a[r] - L.floating[Z], F = a[r] - L.reference[r], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8063
+ }, a = _1(A), Z = D1(a), B = await i.getDimensions(d), k = a === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[a] - n[a] - L.floating[Z], F = n[a] - L.reference[a], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8064
8064
  let I = z ? z[v] : 0;
8065
8065
  (!I || !await (i.isElement == null ? void 0 : i.isElement(z))) && (I = e.floating[v] || L.floating[Z]);
8066
- const p = R / 2 - F / 2, W = I / 2 - B[Z] / 2 - 1, u = a1(o[y], W), c = a1(o[P], W), b = u, x = I - B[Z] - c, s = I / 2 - B[Z] / 2 + p, E = v1(b, s, x), G = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : c) - B[Z] / 2 < 0, j = G ? s < b ? s - b : s - x : 0;
8066
+ const O = R / 2 - F / 2, W = I / 2 - B[Z] / 2 - 1, u = a1(o[y], W), h = a1(o[P], W), b = u, x = I - B[Z] - h, s = I / 2 - B[Z] / 2 + O, E = v1(b, s, x), $ = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : h) - B[Z] / 2 < 0, j = $ ? s < b ? s - b : s - x : 0;
8067
8067
  return {
8068
- [r]: a[r] + j,
8068
+ [a]: n[a] + j,
8069
8069
  data: {
8070
- [r]: E,
8070
+ [a]: E,
8071
8071
  centerOffset: s - E - j,
8072
- ...G && {
8072
+ ...$ && {
8073
8073
  alignmentOffset: j
8074
8074
  }
8075
8075
  },
8076
- reset: G
8076
+ reset: $
8077
8077
  };
8078
8078
  }
8079
8079
  }), Z5 = function(H) {
@@ -8092,23 +8092,23 @@ const a5 = (H) => ({
8092
8092
  } = V, {
8093
8093
  mainAxis: l = !0,
8094
8094
  crossAxis: o = !0,
8095
- fallbackPlacements: a,
8096
- fallbackStrategy: r = "bestFit",
8095
+ fallbackPlacements: n,
8096
+ fallbackStrategy: a = "bestFit",
8097
8097
  fallbackAxisSideDirection: Z = "none",
8098
8098
  flipAlignment: B = !0,
8099
8099
  ...k
8100
8100
  } = l1(H, V);
8101
8101
  if ((C = L.arrow) != null && C.alignmentOffset)
8102
8102
  return {};
8103
- const y = L1(A), P = L1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = a || (P || !B ? [c1(e)] : m5(e));
8104
- !a && Z !== "none" && R.push(...o5(e, B, Z, v));
8105
- const F = [e, ...R], z = await p1(V, k), I = [];
8106
- let p = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8103
+ const y = M1(A), P = M1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = n || (P || !B ? [h1(e)] : m5(e));
8104
+ !n && Z !== "none" && R.push(...o5(e, B, Z, v));
8105
+ const F = [e, ...R], z = await k1(V, k), I = [];
8106
+ let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8107
8107
  if (l && I.push(z[y]), o) {
8108
8108
  const b = t5(A, i, v);
8109
8109
  I.push(z[b[0]], z[b[1]]);
8110
8110
  }
8111
- if (p = [...p, {
8111
+ if (O = [...O, {
8112
8112
  placement: A,
8113
8113
  overflows: I
8114
8114
  }], !I.every((b) => b <= 0)) {
@@ -8118,18 +8118,18 @@ const a5 = (H) => ({
8118
8118
  return {
8119
8119
  data: {
8120
8120
  index: b,
8121
- overflows: p
8121
+ overflows: O
8122
8122
  },
8123
8123
  reset: {
8124
8124
  placement: x
8125
8125
  }
8126
8126
  };
8127
- let s = (u = p.filter((E) => E.overflows[0] <= 0).sort((E, G) => E.overflows[1] - G.overflows[1])[0]) == null ? void 0 : u.placement;
8127
+ let s = (u = O.filter((E) => E.overflows[0] <= 0).sort((E, $) => E.overflows[1] - $.overflows[1])[0]) == null ? void 0 : u.placement;
8128
8128
  if (!s)
8129
- switch (r) {
8129
+ switch (a) {
8130
8130
  case "bestFit": {
8131
- var c;
8132
- const E = (c = p.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 : c[0];
8131
+ var h;
8132
+ const E = (h = O.map(($) => [$.placement, $.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort(($, j) => $[1] - j[1])[0]) == null ? void 0 : h[0];
8133
8133
  E && (s = E);
8134
8134
  break;
8135
8135
  }
@@ -8172,7 +8172,7 @@ const u5 = function(H) {
8172
8172
  } = l1(H, V);
8173
8173
  switch (M) {
8174
8174
  case "referenceHidden": {
8175
- const L = await p1(V, {
8175
+ const L = await k1(V, {
8176
8176
  ...A,
8177
8177
  elementContext: "reference"
8178
8178
  }), i = $1(L, C.reference);
@@ -8184,7 +8184,7 @@ const u5 = function(H) {
8184
8184
  };
8185
8185
  }
8186
8186
  case "escaped": {
8187
- const L = await p1(V, {
8187
+ const L = await k1(V, {
8188
8188
  ...A,
8189
8189
  altBoundary: !0
8190
8190
  }), i = $1(L, C.floating);
@@ -8206,10 +8206,10 @@ async function S5(H, V) {
8206
8206
  placement: C,
8207
8207
  platform: M,
8208
8208
  elements: A
8209
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), t = f1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = l1(V, H);
8209
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = M1(C), e = u1(C), t = B1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = l1(V, H);
8210
8210
  let {
8211
- mainAxis: a,
8212
- crossAxis: r,
8211
+ mainAxis: n,
8212
+ crossAxis: a,
8213
8213
  alignmentAxis: Z
8214
8214
  } = typeof o == "number" ? {
8215
8215
  mainAxis: o,
@@ -8221,12 +8221,12 @@ async function S5(H, V) {
8221
8221
  alignmentAxis: null,
8222
8222
  ...o
8223
8223
  };
8224
- return e && typeof Z == "number" && (r = e === "end" ? Z * -1 : Z), t ? {
8225
- x: r * l,
8226
- y: a * d
8224
+ return e && typeof Z == "number" && (a = e === "end" ? Z * -1 : Z), t ? {
8225
+ x: a * l,
8226
+ y: n * d
8227
8227
  } : {
8228
- x: a * d,
8229
- y: r * l
8228
+ x: n * d,
8229
+ y: a * l
8230
8230
  };
8231
8231
  }
8232
8232
  const s5 = function(H) {
@@ -8273,11 +8273,11 @@ const s5 = function(H) {
8273
8273
  } = l1(H, V), d = {
8274
8274
  x: C,
8275
8275
  y: M
8276
- }, l = await p1(V, t), o = f1(L1(A)), a = V2(o);
8277
- let r = d[a], Z = d[o];
8276
+ }, l = await k1(V, t), o = B1(M1(A)), n = V2(o);
8277
+ let a = d[n], Z = d[o];
8278
8278
  if (L) {
8279
- const k = a === "y" ? "top" : "left", y = a === "y" ? "bottom" : "right", P = r + l[k], v = r - l[y];
8280
- r = v1(P, r, v);
8279
+ const k = n === "y" ? "top" : "left", y = n === "y" ? "bottom" : "right", P = a + l[k], v = a - l[y];
8280
+ a = v1(P, a, v);
8281
8281
  }
8282
8282
  if (i) {
8283
8283
  const k = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = Z + l[k], v = Z - l[y];
@@ -8285,7 +8285,7 @@ const s5 = function(H) {
8285
8285
  }
8286
8286
  const B = e.fn({
8287
8287
  ...V,
8288
- [a]: r,
8288
+ [n]: a,
8289
8289
  [o]: Z
8290
8290
  });
8291
8291
  return {
@@ -8339,7 +8339,7 @@ function E1(H) {
8339
8339
  }
8340
8340
  function p5(H) {
8341
8341
  let V = t1(H);
8342
- for (; q(V) && !h1(V); ) {
8342
+ for (; q(V) && !b1(V); ) {
8343
8343
  if (E1(V))
8344
8344
  return V;
8345
8345
  V = t1(V);
@@ -8349,13 +8349,13 @@ function p5(H) {
8349
8349
  function W1() {
8350
8350
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8351
8351
  }
8352
- function h1(H) {
8352
+ function b1(H) {
8353
8353
  return ["html", "body", "#document"].includes(C1(H));
8354
8354
  }
8355
8355
  function U(H) {
8356
8356
  return Q(H).getComputedStyle(H);
8357
8357
  }
8358
- function g1(H) {
8358
+ function w1(H) {
8359
8359
  return Y(H) ? {
8360
8360
  scrollLeft: H.scrollLeft,
8361
8361
  scrollTop: H.scrollTop
@@ -8378,7 +8378,7 @@ function t1(H) {
8378
8378
  }
8379
8379
  function A2(H) {
8380
8380
  const V = t1(H);
8381
- return h1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8381
+ return b1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8382
8382
  }
8383
8383
  function F1(H, V, C) {
8384
8384
  var M;
@@ -8389,7 +8389,7 @@ function F1(H, V, C) {
8389
8389
  function i2(H) {
8390
8390
  const V = U(H);
8391
8391
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8392
- const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = s1(C) !== L || s1(M) !== i;
8392
+ const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = f1(C) !== L || f1(M) !== i;
8393
8393
  return e && (C = L, M = i), {
8394
8394
  width: C,
8395
8395
  height: M,
@@ -8408,7 +8408,7 @@ function e1(H) {
8408
8408
  height: A,
8409
8409
  $: L
8410
8410
  } = i2(V);
8411
- let i = (L ? s1(C.width) : C.width) / M, e = (L ? s1(C.height) : C.height) / A;
8411
+ let i = (L ? f1(C.width) : C.width) / M, e = (L ? f1(C.height) : C.height) / A;
8412
8412
  return (!i || !Number.isFinite(i)) && (i = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8413
8413
  x: i,
8414
8414
  y: e
@@ -8433,14 +8433,14 @@ function Z1(H, V, C, M) {
8433
8433
  const e = h5(L, C, M) ? d2(L) : J(0);
8434
8434
  let t = (A.left + e.x) / i.x, d = (A.top + e.y) / i.y, l = A.width / i.x, o = A.height / i.y;
8435
8435
  if (L) {
8436
- const a = Q(L), r = M && Y(M) ? Q(M) : M;
8437
- let Z = a.frameElement;
8438
- for (; Z && M && r !== a; ) {
8436
+ const n = Q(L), a = M && Y(M) ? Q(M) : M;
8437
+ let Z = n.frameElement;
8438
+ for (; Z && M && a !== n; ) {
8439
8439
  const B = e1(Z), k = Z.getBoundingClientRect(), y = U(Z), P = k.left + (Z.clientLeft + parseFloat(y.paddingLeft)) * B.x, v = k.top + (Z.clientTop + parseFloat(y.paddingTop)) * B.y;
8440
8440
  t *= B.x, d *= B.y, l *= B.x, o *= B.y, t += P, d += v, Z = Q(Z).frameElement;
8441
8441
  }
8442
8442
  }
8443
- return O1({
8443
+ return g1({
8444
8444
  width: l,
8445
8445
  height: o,
8446
8446
  x: t,
@@ -8461,7 +8461,7 @@ function g5(H) {
8461
8461
  scrollTop: 0
8462
8462
  }, e = J(1);
8463
8463
  const t = J(0);
8464
- if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = g1(C)), q(C))) {
8464
+ if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = w1(C)), q(C))) {
8465
8465
  const d = Z1(C);
8466
8466
  e = e1(C), t.x = d.x + C.clientLeft, t.y = d.y + C.clientTop;
8467
8467
  }
@@ -8476,10 +8476,10 @@ function k5(H) {
8476
8476
  return Array.from(H.getClientRects());
8477
8477
  }
8478
8478
  function t2(H) {
8479
- return Z1(H1(H)).left + g1(H).scrollLeft;
8479
+ return Z1(H1(H)).left + w1(H).scrollLeft;
8480
8480
  }
8481
8481
  function B5(H) {
8482
- const V = H1(H), C = g1(H), M = H.ownerDocument.body, A = i1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = i1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8482
+ const V = H1(H), C = w1(H), M = H.ownerDocument.body, A = i1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = i1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8483
8483
  let i = -C.scrollLeft + t2(H);
8484
8484
  const e = -C.scrollTop;
8485
8485
  return U(M).direction === "rtl" && (i += i1(V.clientWidth, M.clientWidth) - A), {
@@ -8529,11 +8529,11 @@ function K1(H, V, C) {
8529
8529
  y: V.y - A.y
8530
8530
  };
8531
8531
  }
8532
- return O1(M);
8532
+ return g1(M);
8533
8533
  }
8534
8534
  function m2(H, V) {
8535
8535
  const C = t1(H);
8536
- return C === V || !Y(C) || h1(C) ? !1 : U(C).position === "fixed" || m2(C, V);
8536
+ return C === V || !Y(C) || b1(C) ? !1 : U(C).position === "fixed" || m2(C, V);
8537
8537
  }
8538
8538
  function y5(H, V) {
8539
8539
  const C = V.get(H);
@@ -8542,7 +8542,7 @@ function y5(H, V) {
8542
8542
  let M = F1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
8543
8543
  const L = U(H).position === "fixed";
8544
8544
  let i = L ? t1(H) : H;
8545
- for (; Y(i) && !h1(i); ) {
8545
+ for (; Y(i) && !b1(i); ) {
8546
8546
  const e = U(i), t = E1(i);
8547
8547
  !t && e.position === "fixed" && (A = null), (L ? !t && !A : !t && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !t && m2(H, i)) ? M = M.filter((l) => l !== i) : A = e, i = t1(i);
8548
8548
  }
@@ -8577,7 +8577,7 @@ function T5(H, V, C) {
8577
8577
  };
8578
8578
  const t = J(0);
8579
8579
  if (M || !M && !L)
8580
- if ((C1(V) !== "body" || S1(A)) && (e = g1(V)), M) {
8580
+ if ((C1(V) !== "body" || S1(A)) && (e = w1(V)), M) {
8581
8581
  const d = Z1(V, !0, L, V);
8582
8582
  t.x = d.x + V.clientLeft, t.y = d.y + V.clientTop;
8583
8583
  } else
@@ -8656,13 +8656,13 @@ async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8656
8656
  u5()
8657
8657
  ]
8658
8658
  }).then(({ x: t, y: d, placement: l, middlewareData: o }) => {
8659
- var r;
8659
+ var a;
8660
8660
  if (!V)
8661
8661
  return;
8662
- const a = ((r = H.offsetParent) == null ? void 0 : r.getBoundingClientRect().left) || 0;
8662
+ const n = ((a = H.offsetParent) == null ? void 0 : a.getBoundingClientRect().left) || 0;
8663
8663
  if (Object.assign(V.style, {
8664
8664
  maxWidth: e === "dropdown" ? `${H.offsetWidth}px` : "auto",
8665
- left: e === "dropdown" ? `${a}px` : `${t}px`,
8665
+ left: e === "dropdown" ? `${n}px` : `${t}px`,
8666
8666
  top: `${d}px`,
8667
8667
  animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
8668
8668
  transformOrigin: "start"
@@ -8726,10 +8726,10 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8726
8726
  function o() {
8727
8727
  C.disabled || C.triggers.includes(X.Hover) && e();
8728
8728
  }
8729
- function a() {
8729
+ function n() {
8730
8730
  C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && t());
8731
8731
  }
8732
- function r() {
8732
+ function a() {
8733
8733
  C.triggers.includes(X.Hover) && Z();
8734
8734
  }
8735
8735
  function Z() {
@@ -8761,23 +8761,23 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8761
8761
  ignore: [L.value]
8762
8762
  }
8763
8763
  );
8764
- }), (k, y) => (m(), n(V1, null, [
8764
+ }), (k, y) => (m(), r(L1, null, [
8765
8765
  S("div", {
8766
8766
  ref_key: "trigger",
8767
8767
  ref: A,
8768
8768
  "aria-disabled": C.disabled,
8769
- class: f(["r-tooltip-trigger", k.triggerClass]),
8769
+ class: p(["r-tooltip-trigger", k.triggerClass]),
8770
8770
  onClick: l,
8771
8771
  onMouseenter: o,
8772
- onMouseleave: a,
8773
- onMousemove: r
8772
+ onMouseleave: n,
8773
+ onMousemove: a
8774
8774
  }, [
8775
- h(k.$slots, "default", {
8775
+ f(k.$slots, "default", {
8776
8776
  activators: {
8777
8777
  click: l,
8778
8778
  mouseenter: o,
8779
- mouseleave: a,
8780
- mousemove: r
8779
+ mouseleave: n,
8780
+ mousemove: a
8781
8781
  },
8782
8782
  updatePosition: Z
8783
8783
  }, () => [
@@ -8791,30 +8791,30 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8791
8791
  id: "tooltip",
8792
8792
  ref_key: "tooltip",
8793
8793
  ref: L,
8794
- class: f([B.value, k.tooltipClass]),
8794
+ class: p([B.value, k.tooltipClass]),
8795
8795
  role: "tooltip"
8796
8796
  }, [
8797
- h(k.$slots, "content", {
8797
+ f(k.$slots, "content", {
8798
8798
  hide: t,
8799
8799
  updatePosition: Z
8800
8800
  }, () => [
8801
- C.text ? (m(), n("div", {
8801
+ C.text ? (m(), r("div", {
8802
8802
  key: 0,
8803
- class: f(["r-tooltip__content", {
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
- }, w(C.text), 3)) : O("", !0),
8808
- C.text ? (m(), n("div", {
8807
+ }, w(C.text), 3)) : c("", !0),
8808
+ C.text ? (m(), r("div", {
8809
8809
  key: 1,
8810
8810
  id: "arrow",
8811
8811
  ref_key: "arrowElement",
8812
8812
  ref: i,
8813
- class: f(["r-tooltip__arrow", {
8813
+ class: p(["r-tooltip__arrow", {
8814
8814
  "r-tooltip__arrow--dark": C.dark,
8815
8815
  "r-tooltip__arrow--light": C.light
8816
8816
  }])
8817
- }, null, 2)) : O("", !0)
8817
+ }, null, 2)) : c("", !0)
8818
8818
  ])
8819
8819
  ], 2)
8820
8820
  ]))
@@ -8867,14 +8867,16 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8867
8867
  setup(H, { emit: V }) {
8868
8868
  const C = H, M = V, A = N({}), L = m1([]), i = N(!1), e = N("");
8869
8869
  function t(u) {
8870
- const [c] = Object == null ? void 0 : Object.keys(u);
8871
- return !c || typeof u[c] == "object" || typeof u[c] == "function" || typeof u[c] == "symbol" || typeof u[c] > "u" || Array.isArray(u[c]) || Array.isArray(u) ? !0 : ["label", "value"].includes(c);
8870
+ if (!u || typeof u == "object" || typeof u == "function" || typeof u == "symbol" || typeof u > "u" || Array.isArray(u))
8871
+ return !0;
8872
+ const [h] = Object == null ? void 0 : Object.keys(u);
8873
+ return ["label", "value"].includes(h);
8872
8874
  }
8873
8875
  const d = g(() => {
8874
8876
  const u = C.options;
8875
- return t(u[0]) ? u : u.map((c) => ({
8876
- value: c,
8877
- label: String(c)
8877
+ return t(u[0]) ? u : u.map((h) => ({
8878
+ value: h,
8879
+ label: String(h)
8878
8880
  }));
8879
8881
  }), l = g(() => {
8880
8882
  const u = C.modelValue;
@@ -8882,67 +8884,67 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8882
8884
  value: u,
8883
8885
  label: String(u)
8884
8886
  };
8885
- }), o = N(), a = N(), r = N();
8886
- function Z(u, c) {
8887
+ }), o = N(), n = N(), a = N();
8888
+ function Z(u, h) {
8887
8889
  var b, x, s;
8888
8890
  if (u.stopPropagation(), !C.disabled) {
8889
- if (i.value = !0, c && c(), i.value) {
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
+ 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 = n.value) == null || s.focus());
8891
8893
  return;
8892
8894
  }
8893
8895
  B();
8894
8896
  }
8895
8897
  }
8896
8898
  function B() {
8897
- var u, c, b;
8898
- i.value = !1, (u = o.value) == null || u.classList.remove("r-dropdown--active"), (c = o.value) == null || c.blur(), (b = a.value) == null || b.blur();
8899
+ var u, h, b;
8900
+ i.value = !1, (u = o.value) == null || u.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = n.value) == null || b.blur();
8899
8901
  }
8900
- function k(u, c, b, x) {
8902
+ function k(u, h, b, x) {
8901
8903
  var s;
8902
- if (u.stopPropagation(), x(), !c.disabled) {
8904
+ if (u.stopPropagation(), x(), !h.disabled) {
8903
8905
  if (C.multiple || C.taggable) {
8904
- L.find((E) => E.value === c.value) ? L.splice(L.indexOf(c), 1) : L.push(c), e.value = "", C.searchable && ((s = a.value) == null || s.focus());
8906
+ L.find((E) => E.value === h.value) ? L.splice(L.indexOf(h), 1) : L.push(h), e.value = "", C.searchable && ((s = n.value) == null || s.focus());
8905
8907
  return;
8906
8908
  }
8907
- y(u, c), C.closeOnSelect && (b(), B());
8909
+ y(u, h), C.closeOnSelect && (b(), B());
8908
8910
  }
8909
8911
  }
8910
- function y(u, c) {
8911
- if (A.value.value === c.value) {
8912
+ function y(u, h) {
8913
+ if (A.value.value === h.value) {
8912
8914
  A.value = {}, e.value = "", M("update:modelValue", "");
8913
8915
  return;
8914
8916
  }
8915
- e.value = c.label, A.value = c, Z(u), M("update:modelValue", c);
8917
+ e.value = h.label, A.value = h, Z(u), M("update:modelValue", h);
8916
8918
  }
8917
- function P(u, c, b) {
8919
+ function P(u, h, b) {
8918
8920
  if (u instanceof KeyboardEvent && u.key !== "Backspace" || e.value !== "")
8919
8921
  return;
8920
8922
  u.stopPropagation(), b();
8921
- const x = L.findIndex((s) => s.value === c.value);
8923
+ const x = L.findIndex((s) => s.value === h.value);
8922
8924
  L.splice(x, 1);
8923
8925
  }
8924
- function v(u, c) {
8926
+ function v(u, h) {
8925
8927
  var s;
8926
8928
  if (!C.taggable)
8927
8929
  return;
8928
- u.stopPropagation(), c();
8930
+ u.stopPropagation(), h();
8929
8931
  const b = e.value;
8930
8932
  if (b === "")
8931
8933
  return;
8932
- d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = a.value) == null || s.focus());
8934
+ d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = n.value) == null || s.focus());
8933
8935
  }
8934
8936
  function R(u) {
8935
- return C.multiple || C.taggable ? L.find((c) => c.value === u.value) : A.value.value === u.value;
8937
+ return C.multiple || C.taggable ? L.find((h) => h.value === u.value) : A.value.value === u.value;
8936
8938
  }
8937
- const F = g(() => !C.searchable || A.value.label === e.value ? d.value : d.value.filter((c) => c.label.toLowerCase().includes(e.value.toLowerCase()))), z = g(() => !C.searchable);
8939
+ 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
8940
  function I() {
8939
8941
  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
8942
  }
8941
- function p(u) {
8943
+ function O(u) {
8942
8944
  C.searchable && u(), !(C.multiple || C.taggable) && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8943
8945
  }
8944
- function W(u, c) {
8945
- if (u.stopPropagation(), c(), C.multiple || C.taggable) {
8946
+ function W(u, h) {
8947
+ if (u.stopPropagation(), h(), C.multiple || C.taggable) {
8946
8948
  L.splice(0, L.length);
8947
8949
  return;
8948
8950
  }
@@ -8950,13 +8952,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8950
8952
  }
8951
8953
  return X1(() => {
8952
8954
  I();
8953
- }), $(L, (u) => {
8955
+ }), G(L, (u) => {
8954
8956
  M("update:modelValue", u);
8955
- }), $(() => l.value, (u) => {
8957
+ }), G(() => l.value, (u) => {
8956
8958
  I();
8957
- }), (u, c) => (m(), n("div", {
8959
+ }), (u, h) => (m(), r("div", {
8958
8960
  ref_key: "wrapper",
8959
- ref: r,
8961
+ ref: a,
8960
8962
  class: "r-dropdown-wrapper"
8961
8963
  }, [
8962
8964
  K(N5, {
@@ -8975,7 +8977,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8975
8977
  S("div", {
8976
8978
  ref_key: "dropdown",
8977
8979
  ref: o,
8978
- class: f(["r-dropdown", {
8980
+ class: p(["r-dropdown", {
8979
8981
  "r-dropdown--disabled": C.disabled,
8980
8982
  "r-dropdown--loading": C.loading,
8981
8983
  [C.dropdownClass]: C.dropdownClass,
@@ -8984,47 +8986,47 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8984
8986
  role: "select",
8985
8987
  onClick: (s) => Z(s, b.click)
8986
8988
  }, [
8987
- C.prependIcon || u.$slots.prepend ? (m(), n("div", {
8989
+ C.prependIcon || u.$slots.prepend ? (m(), r("div", {
8988
8990
  key: 0,
8989
- class: f(["r-dropdown__prepend-icon", {
8991
+ class: p(["r-dropdown__prepend-icon", {
8990
8992
  "r-dropdown__prepend-icon--active": i.value,
8991
8993
  "r-dropdown__prepend-icon--error": C.errorMsg
8992
8994
  }])
8993
8995
  }, [
8994
- h(u.$slots, "prepend", {}, () => [
8996
+ f(u.$slots, "prepend", {}, () => [
8995
8997
  C.prependIcon ? (m(), _(D, {
8996
8998
  key: 0,
8997
8999
  name: C.prependIcon
8998
- }, null, 8, ["name"])) : O("", !0)
9000
+ }, null, 8, ["name"])) : c("", !0)
8999
9001
  ])
9000
- ], 2)) : O("", !0),
9001
- C.taggable && L.length ? (m(), n("div", Q5, [
9002
- h(u.$slots, "tags", {
9002
+ ], 2)) : c("", !0),
9003
+ C.taggable && L.length ? (m(), r("div", Q5, [
9004
+ f(u.$slots, "tags", {
9003
9005
  options: L,
9004
9006
  removeOption: P,
9005
9007
  updatePosition: x
9006
9008
  }, () => [
9007
- (m(!0), n(V1, null, A1(L, (s, E) => (m(), _(J2, {
9009
+ (m(!0), r(L1, null, A1(L, (s, E) => (m(), _(J2, {
9008
9010
  key: E,
9009
9011
  "append-icon": "mdiClose",
9010
9012
  class: "r-dropdown__tags__chip",
9011
9013
  closable: "",
9012
9014
  label: s.label,
9013
9015
  variant: "primary",
9014
- "onClick:close": (G) => P(G, s, x)
9016
+ "onClick:close": ($) => P($, s, x)
9015
9017
  }, null, 8, ["label", "onClick:close"]))), 128))
9016
9018
  ])
9017
- ])) : O("", !0),
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
- ])) : O("", !0),
9019
+ ])) : c("", !0),
9020
+ C.multiple && L.length ? (m(), r("div", G5, [
9021
+ (m(!0), r(L1, null, A1(L, (s, E) => (m(), r("p", { key: E }, w(`${s.label},`), 1))), 128))
9022
+ ])) : c("", !0),
9021
9023
  Y1(S("input", {
9022
9024
  id: C.id,
9023
9025
  ref_key: "input",
9024
- ref: a,
9025
- "onUpdate:modelValue": c[0] || (c[0] = (s) => e.value = s),
9026
+ ref: n,
9027
+ "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9026
9028
  autocomplete: C.autocomplete,
9027
- class: f(["r-dropdown__input", {
9029
+ class: p(["r-dropdown__input", {
9028
9030
  "r-dropdown__input--loading": C.loading
9029
9031
  }]),
9030
9032
  disabled: C.disabled,
@@ -9032,7 +9034,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9032
9034
  readonly: z.value,
9033
9035
  role: "presentation",
9034
9036
  type: "text",
9035
- onInput: d1((s) => p(x), ["prevent"]),
9037
+ onInput: d1((s) => O(x), ["prevent"]),
9036
9038
  onKeydown: [
9037
9039
  N1((s) => P(s, L[L.length - 1], x), ["backspace"]),
9038
9040
  N1((s) => v(s, x), ["enter"])
@@ -9040,7 +9042,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9040
9042
  }, null, 42, $5), [
9041
9043
  [c2, e.value]
9042
9044
  ]),
9043
- C.clearable ? (m(), n("div", {
9045
+ C.clearable ? (m(), r("div", {
9044
9046
  key: 3,
9045
9047
  class: "r-dropdown__clearable",
9046
9048
  "data-has-value": (e.value !== "" || L.length) && i.value,
@@ -9050,81 +9052,81 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9050
9052
  name: "mdiCloseCircle",
9051
9053
  size: "18"
9052
9054
  })
9053
- ], 8, U5)) : O("", !0),
9054
- C.appendIcon || u.$slots.append ? (m(), n("div", {
9055
+ ], 8, U5)) : c("", !0),
9056
+ C.appendIcon || u.$slots.append ? (m(), r("div", {
9055
9057
  key: 4,
9056
- class: f(["r-dropdown__append-icon", {
9058
+ class: p(["r-dropdown__append-icon", {
9057
9059
  "r-dropdown__append-icon--active": i.value,
9058
9060
  "r-dropdown__append-icon--error": C.errorMsg
9059
9061
  }])
9060
9062
  }, [
9061
- h(u.$slots, "append", {}, () => [
9063
+ f(u.$slots, "append", {}, () => [
9062
9064
  C.appendIcon ? (m(), _(D, {
9063
9065
  key: 0,
9064
9066
  name: C.appendIcon
9065
- }, null, 8, ["name"])) : O("", !0)
9067
+ }, null, 8, ["name"])) : c("", !0)
9066
9068
  ])
9067
- ], 2)) : O("", !0)
9069
+ ], 2)) : c("", !0)
9068
9070
  ], 10, I5)
9069
9071
  ]),
9070
9072
  content: r1(({ hide: b, updatePosition: x }) => [
9071
9073
  S("ul", {
9072
- class: f(["r-dropdown-options", {
9074
+ class: p(["r-dropdown-options", {
9073
9075
  "r-dropdown-options--active": i.value,
9074
9076
  [C.optionsClass]: C.optionsClass
9075
9077
  }])
9076
9078
  }, [
9077
- (m(!0), n(V1, null, A1(F.value, (s) => (m(), n("li", {
9079
+ (m(!0), r(L1, null, A1(F.value, (s) => (m(), r("li", {
9078
9080
  key: s.value,
9079
9081
  "aria-disabled": s.disabled,
9080
- class: f(["r-dropdown-options__option", {
9082
+ class: p(["r-dropdown-options__option", {
9081
9083
  "r-dropdown-options__option--active": R(s),
9082
9084
  "r-dropdown-options__option--disabled": s.disabled
9083
9085
  }]),
9084
9086
  onClick: d1((E) => k(E, s, b, x), ["prevent"])
9085
9087
  }, [
9086
- h(u.$slots, "option", {
9088
+ f(u.$slots, "option", {
9087
9089
  isSelected: R(s)
9088
9090
  }, () => [
9089
9091
  S("div", K5, [
9090
- h(u.$slots, "option-prepend", {}, () => [
9092
+ f(u.$slots, "option-prepend", {}, () => [
9091
9093
  s.prependIcon ? (m(), _(D, {
9092
9094
  key: 0,
9093
- class: f(["r-dropdown-options__option__prepend-icon", {
9095
+ class: p(["r-dropdown-options__option__prepend-icon", {
9094
9096
  "r-dropdown-options__option__prepend-icon--active": R(s)
9095
9097
  }]),
9096
9098
  name: s.prependIcon
9097
- }, null, 8, ["class", "name"])) : O("", !0)
9099
+ }, null, 8, ["class", "name"])) : c("", !0)
9098
9100
  ]),
9099
9101
  S("p", {
9100
- class: f(["r-dropdown-options__option__label", {
9102
+ class: p(["r-dropdown-options__option__label", {
9101
9103
  "r-dropdown-options__option__label--active": R(s)
9102
9104
  }])
9103
9105
  }, w(s.label), 3)
9104
9106
  ]),
9105
- h(u.$slots, "option-append", {}, () => [
9107
+ f(u.$slots, "option-append", {}, () => [
9106
9108
  R(s) && !C.hideOptionCheckIcon ? (m(), _(D, {
9107
9109
  key: 0,
9108
- class: f(["r-dropdown-options__option__append-icon", {
9110
+ class: p(["r-dropdown-options__option__append-icon", {
9109
9111
  "r-dropdown-options__option__append-icon--active": R(s)
9110
9112
  }]),
9111
9113
  name: "mdiCheck"
9112
- }, null, 8, ["class"])) : O("", !0)
9114
+ }, null, 8, ["class"])) : c("", !0)
9113
9115
  ])
9114
9116
  ])
9115
9117
  ], 10, z5))), 128)),
9116
- F.value.length === 0 ? (m(), n("li", q5, [
9117
- h(u.$slots, "not-options", {}, () => [
9118
+ F.value.length === 0 ? (m(), r("li", q5, [
9119
+ f(u.$slots, "not-options", {}, () => [
9118
9120
  R1(w(C.noOptionsText || "No options"), 1)
9119
9121
  ])
9120
- ])) : O("", !0)
9122
+ ])) : c("", !0)
9121
9123
  ], 2)
9122
9124
  ]),
9123
9125
  _: 3
9124
9126
  }),
9125
- u.$props.hideDetails ? O("", !0) : (m(), n("div", j5, [
9126
- C.errorMsg ? (m(), n("div", X5, w(C.errorMsg), 1)) : O("", !0),
9127
- C.hint ? (m(), n("div", Y5, w(C.hint), 1)) : O("", !0)
9127
+ u.$props.hideDetails ? c("", !0) : (m(), r("div", j5, [
9128
+ C.errorMsg ? (m(), r("div", X5, w(C.errorMsg), 1)) : c("", !0),
9129
+ C.hint ? (m(), r("div", Y5, w(C.hint), 1)) : c("", !0)
9128
9130
  ]))
9129
9131
  ], 512));
9130
9132
  }
@@ -9137,12 +9139,12 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9137
9139
  },
9138
9140
  setup(H) {
9139
9141
  const V = H;
9140
- return (C, M) => (m(), n("label", {
9142
+ return (C, M) => (m(), r("label", {
9141
9143
  id: V.id,
9142
9144
  class: "r-label",
9143
9145
  for: V.for
9144
9146
  }, [
9145
- h(C.$slots, "default", {}, () => [
9147
+ f(C.$slots, "default", {}, () => [
9146
9148
  R1(w(V.text), 1)
9147
9149
  ])
9148
9150
  ], 8, C3));
@@ -9189,32 +9191,32 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9189
9191
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9190
9192
  }), window.addEventListener("keydown", (e) => {
9191
9193
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9192
- }), (e, t) => Y1((m(), n("div", {
9193
- class: f(["r-modal-overlay", e.overlayClass]),
9194
+ }), (e, t) => Y1((m(), r("div", {
9195
+ class: p(["r-modal-overlay", e.overlayClass]),
9194
9196
  onClick: d1(i, ["stop"])
9195
9197
  }, [
9196
9198
  S("div", {
9197
9199
  "aria-modal": "true",
9198
- class: f(A.value),
9200
+ class: p(A.value),
9199
9201
  open: C.modelValue,
9200
9202
  role: "dialog",
9201
9203
  style: x1(L.value)
9202
9204
  }, [
9203
9205
  S("div", L3, [
9204
- h(e.$slots, "header"),
9205
- C.icon ? (m(), n("div", M3, [
9206
+ f(e.$slots, "header"),
9207
+ C.icon ? (m(), r("div", M3, [
9206
9208
  K(D, {
9207
9209
  name: C.icon
9208
9210
  }, null, 8, ["name"])
9209
- ])) : O("", !0),
9210
- C.title ? (m(), n("div", A3, w(C.title), 1)) : O("", !0),
9211
- C.description ? (m(), n("div", i3, w(C.description), 1)) : O("", !0)
9211
+ ])) : c("", !0),
9212
+ C.title ? (m(), r("div", A3, w(C.title), 1)) : c("", !0),
9213
+ C.description ? (m(), r("div", i3, w(C.description), 1)) : c("", !0)
9212
9214
  ]),
9213
9215
  S("div", e3, [
9214
- h(e.$slots, "default")
9216
+ f(e.$slots, "default")
9215
9217
  ]),
9216
9218
  S("div", d3, [
9217
- h(e.$slots, "actions")
9219
+ f(e.$slots, "actions")
9218
9220
  ])
9219
9221
  ], 14, V3)
9220
9222
  ], 10, H3)), [
@@ -9233,26 +9235,26 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9233
9235
  emits: ["update:modelValue"],
9234
9236
  setup(H, { emit: V }) {
9235
9237
  const C = H, M = V;
9236
- return (A, L) => (m(), n("div", {
9237
- class: f(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9238
+ return (A, L) => (m(), r("div", {
9239
+ class: p(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9238
9240
  "data-open": C.modelValue
9239
9241
  }, [
9240
9242
  S("aside", {
9241
- class: f(["r-sidebar", [C.class]]),
9243
+ class: p(["r-sidebar", [C.class]]),
9242
9244
  "data-open": C.modelValue
9243
9245
  }, [
9244
- h(A.$slots, "default")
9246
+ f(A.$slots, "default")
9245
9247
  ], 10, m3),
9246
- C.showTrigger ? (m(), n("div", {
9248
+ C.showTrigger ? (m(), r("div", {
9247
9249
  key: 0,
9248
- class: f(["r-sidebar__trigger", [C.triggerClass]]),
9250
+ class: p(["r-sidebar__trigger", [C.triggerClass]]),
9249
9251
  "data-open": C.modelValue,
9250
9252
  onClick: L[0] || (L[0] = (i) => M("update:modelValue", !C.modelValue))
9251
9253
  }, [
9252
- h(A.$slots, "trigger", {}, () => [
9254
+ f(A.$slots, "trigger", {}, () => [
9253
9255
  R1(" > ")
9254
9256
  ])
9255
- ], 10, l3)) : O("", !0)
9257
+ ], 10, l3)) : c("", !0)
9256
9258
  ], 10, t3));
9257
9259
  }
9258
9260
  }), o3 = { class: "r-snackbar__text" }, n3 = {
@@ -9272,7 +9274,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9272
9274
  emits: ["action", "update:modelValue"],
9273
9275
  setup(H, { emit: V }) {
9274
9276
  const C = H, M = V;
9275
- $(
9277
+ G(
9276
9278
  () => C.modelValue,
9277
9279
  () => {
9278
9280
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9296,27 +9298,27 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9296
9298
  warning: "mdiAlert",
9297
9299
  info: "mdiInformation"
9298
9300
  })[C.variant || "info"]);
9299
- return (i, e) => (m(), n("div", {
9300
- class: f(A.value)
9301
+ return (i, e) => (m(), r("div", {
9302
+ class: p(A.value)
9301
9303
  }, [
9302
- h(i.$slots, "default", {}, () => [
9304
+ f(i.$slots, "default", {}, () => [
9303
9305
  C.variant ? (m(), _(D, {
9304
9306
  key: 0,
9305
9307
  class: "r-snackbar__icon",
9306
9308
  name: L.value
9307
- }, null, 8, ["name"])) : O("", !0)
9309
+ }, null, 8, ["name"])) : c("", !0)
9308
9310
  ]),
9309
9311
  S("div", o3, w(C.text), 1),
9310
- h(i.$slots, "action"),
9311
- C.closable ? (m(), n("div", n3, [
9312
- h(i.$slots, "close", {}, () => [
9312
+ f(i.$slots, "action"),
9313
+ C.closable ? (m(), r("div", n3, [
9314
+ f(i.$slots, "close", {}, () => [
9313
9315
  K(D, {
9314
9316
  name: "mdiClose",
9315
9317
  size: 16,
9316
9318
  onClick: e[0] || (e[0] = d1((t) => i.$emit("update:modelValue", !1), ["stop"]))
9317
9319
  })
9318
9320
  ])
9319
- ])) : O("", !0)
9321
+ ])) : c("", !0)
9320
9322
  ], 2));
9321
9323
  }
9322
9324
  }), r3 = ["id", "checked", "disabled"], a3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), Z3 = ["id", "for"], u3 = {
@@ -9354,7 +9356,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9354
9356
  function i(e) {
9355
9357
  C.disabled || (A.checked = e.target.checked, M("update:modelValue", A.checked));
9356
9358
  }
9357
- return $(
9359
+ return G(
9358
9360
  () => C.modelValue,
9359
9361
  (e) => {
9360
9362
  A.checked = e;
@@ -9364,14 +9366,14 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9364
9366
  // TODO: find a better way to do this
9365
9367
  immediate: !0
9366
9368
  }
9367
- ), (e, t) => (m(), n("div", {
9368
- class: f(["r-switch-container", {
9369
+ ), (e, t) => (m(), r("div", {
9370
+ class: p(["r-switch-container", {
9369
9371
  "r-switch-container--reverse": C.reverse,
9370
9372
  "r-switch-container--hide-details": C.hideDetails
9371
9373
  }])
9372
9374
  }, [
9373
9375
  S("div", {
9374
- class: f(L.value)
9376
+ class: p(L.value)
9375
9377
  }, [
9376
9378
  S("input", {
9377
9379
  id: C.id,
@@ -9384,7 +9386,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9384
9386
  a3
9385
9387
  ], 2),
9386
9388
  S("div", {
9387
- class: f(["r-switch-texts", {
9389
+ class: p(["r-switch-texts", {
9388
9390
  [`r-switch-texts--${C.size}`]: !0
9389
9391
  }])
9390
9392
  }, [
@@ -9393,8 +9395,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9393
9395
  class: "r-switch-texts__label",
9394
9396
  for: C.id
9395
9397
  }, w(C.label), 9, Z3),
9396
- C.hideDetails ? O("", !0) : (m(), n("div", u3, [
9397
- C.errorMsg ? (m(), n("p", S3, w(C.errorMsg), 1)) : (m(), n("p", s3, w(C.hint), 1))
9398
+ C.hideDetails ? c("", !0) : (m(), r("div", u3, [
9399
+ C.errorMsg ? (m(), r("p", S3, w(C.errorMsg), 1)) : (m(), r("p", s3, w(C.hint), 1))
9398
9400
  ]))
9399
9401
  ], 2)
9400
9402
  ], 2));
@@ -9434,39 +9436,39 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9434
9436
  function e() {
9435
9437
  M("click:icon");
9436
9438
  }
9437
- return (t, d) => (m(), n("button", {
9439
+ return (t, d) => (m(), r("button", {
9438
9440
  "aria-disabled": C.disabled,
9439
9441
  "aria-selected": C.modelValue === C.id,
9440
- class: f(A.value),
9442
+ class: p(A.value),
9441
9443
  disabled: C.disabled,
9442
9444
  style: x1(L.value),
9443
9445
  onClick: d[0] || (d[0] = d1((l) => i(C.id), ["stop"]))
9444
9446
  }, [
9445
- h(t.$slots, "prepend", {}, () => [
9446
- C.variant !== M1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9447
+ f(t.$slots, "prepend", {}, () => [
9448
+ C.variant !== V1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9447
9449
  key: 0,
9448
9450
  class: "r-tab-item__prepend-icon",
9449
9451
  name: C.prependIcon,
9450
9452
  size: 16
9451
- }, null, 8, ["name"])) : O("", !0)
9453
+ }, null, 8, ["name"])) : c("", !0)
9452
9454
  ]),
9453
9455
  K(f2, {
9454
9456
  duration: 150,
9455
9457
  name: "fade"
9456
9458
  }, {
9457
9459
  default: r1(() => [
9458
- C.variant !== M1(n1).ICON ? (m(), n("span", O3, w(C.label), 1)) : O("", !0)
9460
+ C.variant !== V1(n1).ICON ? (m(), r("span", O3, w(C.label), 1)) : c("", !0)
9459
9461
  ]),
9460
9462
  _: 1
9461
9463
  }),
9462
- h(t.$slots, "append", {}, () => [
9463
- C.variant !== M1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9464
+ f(t.$slots, "append", {}, () => [
9465
+ C.variant !== V1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9464
9466
  key: 0,
9465
9467
  class: "r-tab-item__append-icon",
9466
9468
  name: C.appendIcon,
9467
9469
  size: 16,
9468
9470
  onClick: d1(e, ["stop"])
9469
- }, null, 8, ["name", "onClick"])) : O("", !0)
9471
+ }, null, 8, ["name", "onClick"])) : c("", !0)
9470
9472
  ])
9471
9473
  ], 14, c3));
9472
9474
  }
@@ -9487,7 +9489,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9487
9489
  "r-tabs--tile": C.tile,
9488
9490
  "r-tabs--scrollable": C.scrollable
9489
9491
  }));
9490
- $(
9492
+ G(
9491
9493
  () => A.value,
9492
9494
  () => {
9493
9495
  M("update:modelValue", A.value);
@@ -9496,11 +9498,11 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9496
9498
  function i() {
9497
9499
  M("click:icon");
9498
9500
  }
9499
- return (e, t) => (m(), n("div", {
9500
- class: f(L.value)
9501
+ return (e, t) => (m(), r("div", {
9502
+ class: p(L.value)
9501
9503
  }, [
9502
- h(e.$slots, "default", {}, () => [
9503
- (m(!0), n(V1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9504
+ f(e.$slots, "default", {}, () => [
9505
+ (m(!0), r(L1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9504
9506
  id: d.id,
9505
9507
  key: l,
9506
9508
  modelValue: A.value,
@@ -9547,7 +9549,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9547
9549
  function L(i) {
9548
9550
  M("update:modelValue", i.target.value);
9549
9551
  }
9550
- return $(
9552
+ return G(
9551
9553
  () => C.modelValue,
9552
9554
  (i) => {
9553
9555
  A.value = i;
@@ -9555,14 +9557,14 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9555
9557
  {
9556
9558
  immediate: !0
9557
9559
  }
9558
- ), (i, e) => (m(), n("div", f3, [
9560
+ ), (i, e) => (m(), r("div", f3, [
9559
9561
  C.label ? (m(), _(r2, {
9560
9562
  key: 0,
9561
9563
  id: `${C.id}-label`,
9562
9564
  class: "r-textarea__label",
9563
9565
  for: "textarea",
9564
9566
  text: C.label
9565
- }, null, 8, ["id", "text"])) : O("", !0),
9567
+ }, null, 8, ["id", "text"])) : c("", !0),
9566
9568
  S("textarea", j1(i.$attrs, {
9567
9569
  id: C.id,
9568
9570
  class: ["r-textarea", {
@@ -9574,8 +9576,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9574
9576
  value: A.value,
9575
9577
  onInput: L
9576
9578
  }), null, 16, h3),
9577
- C.hideDetails ? O("", !0) : (m(), n("div", g3, [
9578
- C.errorMsg ? (m(), n("p", k3, w(C.errorMsg), 1)) : (m(), n("p", B3, w(C.hint), 1))
9579
+ C.hideDetails ? c("", !0) : (m(), r("div", g3, [
9580
+ C.errorMsg ? (m(), r("p", k3, w(C.errorMsg), 1)) : (m(), r("p", B3, w(C.hint), 1))
9579
9581
  ]))
9580
9582
  ]));
9581
9583
  }
@@ -9628,16 +9630,16 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9628
9630
  number: "mdiNumeric",
9629
9631
  text: ""
9630
9632
  }, t = N(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9631
- var p;
9632
- return (p = C.errorMsg) == null ? void 0 : p.length;
9633
- }), a = g(() => C.clearable && l.value), r = g(() => {
9634
- const { disabled: p, loading: W } = C;
9633
+ var O;
9634
+ return (O = C.errorMsg) == null ? void 0 : O.length;
9635
+ }), n = g(() => C.clearable && l.value), a = g(() => {
9636
+ const { disabled: O, loading: W } = C;
9635
9637
  return {
9636
9638
  "r-textfield": !0,
9637
9639
  "r-textfield--error": o.value,
9638
9640
  "r-textfield--loading": W,
9639
- "r-textfield--disabled": p,
9640
- "r-textfield--clearable": a.value,
9641
+ "r-textfield--disabled": O,
9642
+ "r-textfield--clearable": n.value,
9641
9643
  "r-textfield--focus": t.value,
9642
9644
  "r-textfield--filled": d.value
9643
9645
  };
@@ -9647,28 +9649,28 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9647
9649
  "r-textfield__prepend-icon--error": o.value && d.value
9648
9650
  })), B = g(() => ({
9649
9651
  "r-textfield__append-icon": !0,
9650
- "r-textfield__append-icon--clear": a.value,
9652
+ "r-textfield__append-icon--clear": n.value,
9651
9653
  "r-textfield__append-icon--error": o.value
9652
9654
  })), k = g(() => {
9653
- const { prependIcon: p, type: W } = C;
9654
- return p === "none" ? "" : p || e[W];
9655
+ const { prependIcon: O, type: W } = C;
9656
+ return O === "none" ? "" : O || e[W];
9655
9657
  }), y = g(() => {
9656
- const { appendIcon: p, type: W } = C;
9657
- return p === "none" ? "" : o.value ? "mdiAlertCircleOutline" : a.value && ["text", "email"].includes(W) ? "mdiClose" : W === "password" && i.value === "password" ? "mdiEyeOutline" : W === "password" && i.value === "text" ? "mdiEyeOffOutline" : p;
9658
+ const { appendIcon: O, type: W } = C;
9659
+ return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(W) ? "mdiClose" : W === "password" && i.value === "password" ? "mdiEyeOutline" : W === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9658
9660
  });
9659
- function P(p) {
9660
- t.value = !0, M("focus", p);
9661
+ function P(O) {
9662
+ t.value = !0, M("focus", O);
9661
9663
  }
9662
- function v(p) {
9663
- t.value = !1, M("blur", p);
9664
+ function v(O) {
9665
+ t.value = !1, M("blur", O);
9664
9666
  }
9665
- function R(p) {
9666
- L.value = p.target.value, M("input", p);
9667
+ function R(O) {
9668
+ L.value = O.target.value, M("input", O);
9667
9669
  }
9668
9670
  function F() {
9669
- var p;
9670
- if (a.value) {
9671
- L.value = "", (p = A.value) == null || p.focus(), M("click:clear", {
9671
+ var O;
9672
+ if (n.value) {
9673
+ L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9672
9674
  value: i.value === "number" ? +L.value : L.value
9673
9675
  });
9674
9676
  return;
@@ -9681,26 +9683,26 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9681
9683
  i.value = i.value === "password" ? "text" : "password";
9682
9684
  }
9683
9685
  function I() {
9684
- var p;
9685
- (p = A.value) == null || p.focus();
9686
+ var O;
9687
+ (O = A.value) == null || O.focus();
9686
9688
  }
9687
- return $(
9689
+ return G(
9688
9690
  () => C.modelValue,
9689
- (p) => {
9690
- L.value = p;
9691
+ (O) => {
9692
+ L.value = O;
9691
9693
  },
9692
9694
  {
9693
9695
  immediate: !0
9694
9696
  }
9695
- ), $(
9697
+ ), G(
9696
9698
  () => L.value,
9697
- (p) => {
9699
+ (O) => {
9698
9700
  M(
9699
9701
  "update:modelValue",
9700
- i.value === "number" ? +p : p
9702
+ i.value === "number" ? +O : O
9701
9703
  );
9702
9704
  }
9703
- ), (p, W) => (m(), n("div", b3, [
9705
+ ), (O, W) => (m(), r("div", b3, [
9704
9706
  C.label ? (m(), _(r2, {
9705
9707
  key: 0,
9706
9708
  id: `${C.id}-label`,
@@ -9708,18 +9710,18 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9708
9710
  for: C.id,
9709
9711
  text: C.label,
9710
9712
  onClick: I
9711
- }, null, 8, ["id", "for", "text"])) : O("", !0),
9713
+ }, null, 8, ["id", "for", "text"])) : c("", !0),
9712
9714
  S("div", w3, [
9713
9715
  S("div", {
9714
- class: f(r.value)
9716
+ class: p(a.value)
9715
9717
  }, [
9716
- h(p.$slots, "prepend"),
9717
- k.value && !p.$slots.prepend ? (m(), _(D, {
9718
+ f(O.$slots, "prepend"),
9719
+ k.value && !O.$slots.prepend ? (m(), _(D, {
9718
9720
  key: 0,
9719
- class: f(Z.value),
9721
+ class: p(Z.value),
9720
9722
  name: k.value,
9721
9723
  size: 20
9722
- }, null, 8, ["class", "name"])) : O("", !0),
9724
+ }, null, 8, ["class", "name"])) : c("", !0),
9723
9725
  S("input", {
9724
9726
  id: C.id,
9725
9727
  ref_key: "inputRef",
@@ -9736,18 +9738,18 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9736
9738
  onFocus: P,
9737
9739
  onInput: R
9738
9740
  }, null, 40, y3),
9739
- o.value ? O("", !0) : h(p.$slots, "append", { key: 1 }),
9740
- y.value && !p.$slots.append || o.value ? (m(), _(D, {
9741
+ o.value ? c("", !0) : f(O.$slots, "append", { key: 1 }),
9742
+ y.value && !O.$slots.append || o.value ? (m(), _(D, {
9741
9743
  key: 2,
9742
- class: f(B.value),
9744
+ class: p(B.value),
9743
9745
  name: `${y.value}`,
9744
9746
  size: 20,
9745
9747
  onClick: F
9746
- }, null, 8, ["class", "name"])) : O("", !0)
9748
+ }, null, 8, ["class", "name"])) : c("", !0)
9747
9749
  ], 2),
9748
- C.hideDetails ? O("", !0) : (m(), n("div", P3, [
9749
- C.errorMsg ? (m(), n("p", v3, w(C.errorMsg), 1)) : O("", !0),
9750
- !C.errorMsg && C.hint ? (m(), n("p", T3, w(C.hint), 1)) : O("", !0)
9750
+ C.hideDetails ? c("", !0) : (m(), r("div", P3, [
9751
+ C.errorMsg ? (m(), r("p", v3, w(C.errorMsg), 1)) : c("", !0),
9752
+ !C.errorMsg && C.hint ? (m(), r("p", T3, w(C.hint), 1)) : c("", !0)
9751
9753
  ]))
9752
9754
  ])
9753
9755
  ]));
@@ -9765,8 +9767,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9765
9767
  const V = H;
9766
9768
  return (C, M) => {
9767
9769
  const A = h2("router-link");
9768
- return m(), n("div", F3, [
9769
- (m(!0), n(V1, null, A1(V.items, (L, i) => (m(), n("div", {
9770
+ return m(), r("div", F3, [
9771
+ (m(!0), r(L1, null, A1(V.items, (L, i) => (m(), r("div", {
9770
9772
  key: i,
9771
9773
  class: "r-breadcrumb__item"
9772
9774
  }, [
@@ -9775,22 +9777,22 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9775
9777
  to: L.to
9776
9778
  }, {
9777
9779
  default: r1(() => [
9778
- h(C.$slots, "item-icon", {}, () => [
9780
+ f(C.$slots, "item-icon", {}, () => [
9779
9781
  L.icon ? (m(), _(D, {
9780
9782
  key: 0,
9781
9783
  name: L.icon
9782
- }, null, 8, ["name"])) : O("", !0)
9784
+ }, null, 8, ["name"])) : c("", !0)
9783
9785
  ]),
9784
- L.onlyIcon ? O("", !0) : (m(), n("span", R3, w(L.title), 1))
9786
+ L.onlyIcon ? c("", !0) : (m(), r("span", R3, w(L.title), 1))
9785
9787
  ]),
9786
9788
  _: 2
9787
9789
  }, 1032, ["to"]),
9788
- h(C.$slots, "custom-seperator", {}, () => [
9790
+ f(C.$slots, "custom-seperator", {}, () => [
9789
9791
  i !== C.items.length - 1 && V.seperator ? (m(), _(D, {
9790
9792
  key: 0,
9791
9793
  class: "r-breadcrumb__separator",
9792
9794
  name: V.seperator
9793
- }, null, 8, ["name"])) : O("", !0)
9795
+ }, null, 8, ["name"])) : c("", !0)
9794
9796
  ])
9795
9797
  ]))), 128))
9796
9798
  ]);
@@ -9843,7 +9845,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9843
9845
  start: C.page * C.perPage - C.perPage,
9844
9846
  end: C.page * C.perPage
9845
9847
  }));
9846
- $(() => i.value, () => {
9848
+ G(() => i.value, () => {
9847
9849
  M("update:info", i.value);
9848
9850
  });
9849
9851
  function e(d) {
@@ -9852,8 +9854,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9852
9854
  function t({ value: d }) {
9853
9855
  M("update:perPage", d);
9854
9856
  }
9855
- return (d, l) => (m(), n("div", {
9856
- class: f(["r-pagination", [`r-pagination--${C.position}`]])
9857
+ return (d, l) => (m(), r("div", {
9858
+ class: p(["r-pagination", [`r-pagination--${C.position}`]])
9857
9859
  }, [
9858
9860
  S("div", x3, [
9859
9861
  S("div", D3, [
@@ -9876,9 +9878,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9876
9878
  disabled: C.page === 1,
9877
9879
  onClick: l[1] || (l[1] = (o) => e(1))
9878
9880
  }, [
9879
- h(d.$slots, "first", {}, () => [
9880
- (m(), n("svg", {
9881
- class: f(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9881
+ f(d.$slots, "first", {}, () => [
9882
+ (m(), r("svg", {
9883
+ class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9882
9884
  fill: "none",
9883
9885
  height: "20",
9884
9886
  stroke: "#000000",
@@ -9896,9 +9898,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9896
9898
  disabled: C.page === 1,
9897
9899
  onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
9898
9900
  }, [
9899
- h(d.$slots, "prev", {}, () => [
9900
- (m(), n("svg", {
9901
- class: f(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9901
+ f(d.$slots, "prev", {}, () => [
9902
+ (m(), r("svg", {
9903
+ class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9902
9904
  fill: "none",
9903
9905
  height: "20",
9904
9906
  stroke: "#000000",
@@ -9916,9 +9918,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9916
9918
  disabled: C.page === L.value,
9917
9919
  onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
9918
9920
  }, [
9919
- h(d.$slots, "next", {}, () => [
9920
- (m(), n("svg", {
9921
- class: f(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9921
+ f(d.$slots, "next", {}, () => [
9922
+ (m(), r("svg", {
9923
+ class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9922
9924
  fill: "none",
9923
9925
  height: "20",
9924
9926
  stroke: "#000000",
@@ -9936,9 +9938,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9936
9938
  disabled: C.page === L.value,
9937
9939
  onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
9938
9940
  }, [
9939
- h(d.$slots, "last", {}, () => [
9940
- (m(), n("svg", {
9941
- class: f(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9941
+ f(d.$slots, "last", {}, () => [
9942
+ (m(), r("svg", {
9943
+ class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9942
9944
  fill: "none",
9943
9945
  height: "20",
9944
9946
  stroke: "#000000",
@@ -9962,7 +9964,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9962
9964
  },
9963
9965
  setup(H) {
9964
9966
  const V = H;
9965
- return (C, M) => (m(), n("progress", {
9967
+ return (C, M) => (m(), r("progress", {
9966
9968
  "aria-valuemax": 100,
9967
9969
  class: "r-progressbar",
9968
9970
  max: 100,
@@ -9971,7 +9973,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9971
9973
  value: V.value
9972
9974
  }, null, 12, L0));
9973
9975
  }
9974
- }), w1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
9976
+ }), O1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
9975
9977
  __name: "RItemGroup",
9976
9978
  props: {
9977
9979
  modelValue: { default: () => [] },
@@ -9984,18 +9986,24 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9984
9986
  },
9985
9987
  emits: ["update:modelValue"],
9986
9988
  setup(H, { emit: V }) {
9987
- const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue ?? []), i = g(() => C.selectedClass);
9988
- k1(`${w1}:selectedClass`, i.value);
9989
- function e(d) {
9990
- return L.value.includes(d);
9989
+ const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue), i = g(() => C.selectedClass);
9990
+ s1(`${O1}:selectedClass`, i.value);
9991
+ function e(l) {
9992
+ return L.value.includes(l);
9991
9993
  }
9992
- k1(`${w1}:isSelected`, e);
9993
- function t(d, l) {
9994
- C.disabled || C.mandatory && L.value.length === 1 && l || C.max && L.value.length === C.max && l || (C.multiple ? l ? L.value.push(d) : L.value = L.value.filter((o) => o !== d) : L.value = l ? [d] : [], M("update:modelValue", L.value));
9994
+ s1(`${O1}:isSelected`, e);
9995
+ function t(l, o) {
9996
+ C.disabled || C.mandatory && L.value.length === 1 && !o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(l) : L.value = L.value.filter((n) => n !== l) : L.value = l ? [l] : [], M("update:modelValue", L.value));
9995
9997
  }
9996
- return k1(`${w1}:select`, t), (d, l) => (m(), _(g2(A.value), null, {
9998
+ s1(`${O1}:select`, t);
9999
+ function d() {
10000
+ return C.disabled;
10001
+ }
10002
+ return s1(`${O1}:isDisabled`, d), G(() => C.modelValue, () => {
10003
+ L.value = C.modelValue;
10004
+ }), (l, o) => (m(), _(g2(A.value), null, {
9997
10005
  default: r1(() => [
9998
- h(d.$slots, "default", {
10006
+ f(l.$slots, "default", {
9999
10007
  isSelected: e,
10000
10008
  select: t,
10001
10009
  selected: L.value
@@ -10004,28 +10012,26 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
10004
10012
  _: 3
10005
10013
  }));
10006
10014
  }
10007
- }), y1 = "rocket-ui:r-item-group", p0 = /* @__PURE__ */ T({
10015
+ }), p1 = "rocket-ui:r-item-group", p0 = /* @__PURE__ */ T({
10008
10016
  __name: "RItem",
10009
10017
  props: {
10010
10018
  value: { default: null },
10011
- disabled: { type: Boolean, default: !1 },
10012
10019
  selectedClass: { default: "" }
10013
10020
  },
10014
10021
  setup(H) {
10015
- const V = H, C = B1(`${y1}:isSelected`), M = B1(`${y1}:selectedClass`, ""), A = g(() => C(V.value) && [M, V.selectedClass]), L = B1(`${y1}:select`);
10016
- function i() {
10017
- V.disabled || L(V.value, !C(V.value));
10018
- }
10022
+ const V = H, C = c1(`${p1}:isSelected`), M = c1(`${p1}:selectedClass`, ""), A = c1(`${p1}:select`), L = c1(`${p1}:isDisabled`), i = g(() => C(V.value) && [M, V.selectedClass]);
10019
10023
  function e() {
10020
- V.disabled || L(V.value, !0);
10024
+ V.disabled || A(V.value, !C(V.value));
10021
10025
  }
10022
- return (t, d) => h(t.$slots, "default", {
10023
- disabled: V.disabled,
10024
- isSelected: M1(C)(V.value),
10025
- select: e,
10026
- selectedClass: A.value,
10027
- toggle: i,
10028
- value: V.value
10026
+ function t() {
10027
+ V.disabled || A(V.value, !0);
10028
+ }
10029
+ return (d, l) => f(d.$slots, "default", {
10030
+ disabled: V1(L)(V.value),
10031
+ isSelected: V1(C)(V.value),
10032
+ select: t,
10033
+ selectedClass: i.value,
10034
+ toggle: e
10029
10035
  });
10030
10036
  }
10031
10037
  });