@rocketui/vue 0.2.88 → 0.2.89

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 a, createElementVNode as Z, unref as z, reactive as D1, Fragment as A1, renderList as n1, normalizeClass as O, renderSlot as k, toDisplayString as v, createVNode as H1, computed as g, createCommentVNode as h, mergeProps as E1, createBlock as D, watch as W, getCurrentScope as v2, onScopeDispose as w2, ref as E, watchEffect as V2, onMounted as o2, onUnmounted as q1, Teleport as y2, withCtx as P1, withDirectives as n2, withModifiers as r1, withKeys as L2, vModelText as P2, createTextVNode as f1, normalizeStyle as j1, vShow as T2, resolveComponent as F2, provide as b1, resolveDynamicComponent as R2, inject as v1 } from "vue";
1
+ import { defineComponent as T, openBlock as m, createElementBlock as a, createElementVNode as Z, unref as A1, reactive as D1, Fragment as i1, renderList as n1, normalizeClass as O, renderSlot as k, toDisplayString as v, createVNode as C1, computed as f, createCommentVNode as g, mergeProps as E1, createBlock as D, watch as W, getCurrentScope as v2, onScopeDispose as w2, ref as E, watchEffect as V2, onMounted as o2, onUnmounted as q1, Teleport as y2, withCtx as P1, withDirectives as n2, withModifiers as r1, withKeys as L2, vModelText as P2, createTextVNode as f1, normalizeStyle as j1, vShow as T2, resolveComponent as F2, provide as b1, resolveDynamicComponent as R2, inject as v1 } from "vue";
2
2
  const x2 = {
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",
@@ -7314,7 +7314,7 @@ const x2 = {
7314
7314
  }, [
7315
7315
  Z("path", {
7316
7316
  id: `${C.id}-path`,
7317
- d: z(x2)[V.name]
7317
+ d: A1(x2)[V.name]
7318
7318
  }, null, 8, E2)
7319
7319
  ], 8, D2));
7320
7320
  }
@@ -7345,7 +7345,7 @@ const x2 = {
7345
7345
  });
7346
7346
  }
7347
7347
  }
7348
- return (A, L) => (m(!0), a(A1, null, n1(C, (M, e) => (m(), a("div", {
7348
+ return (A, L) => (m(!0), a(i1, null, n1(C, (M, e) => (m(), a("div", {
7349
7349
  id: `${A.id}-${e}`,
7350
7350
  key: e,
7351
7351
  class: O(["r-accordion", {
@@ -7371,7 +7371,7 @@ const x2 = {
7371
7371
  item: M,
7372
7372
  open: M.open
7373
7373
  }, () => [
7374
- H1(R, {
7374
+ C1(R, {
7375
7375
  id: `${A.id}-icon-${e}`,
7376
7376
  name: "mdiChevronDown"
7377
7377
  }, null, 8, ["id"])
@@ -7409,12 +7409,12 @@ const x2 = {
7409
7409
  },
7410
7410
  emits: ["close"],
7411
7411
  setup(H, { emit: V }) {
7412
- const C = H, i = V, A = g(() => ({
7412
+ const C = H, i = V, A = f(() => ({
7413
7413
  " r-alert": !0,
7414
7414
  [`r-alert--${C.variant}`]: !0,
7415
7415
  "r-alert--block": C.block,
7416
7416
  [`r-alert--${C.variant}--${C.type}`]: !0
7417
- })), L = g(() => ({
7417
+ })), L = f(() => ({
7418
7418
  success: "mdiCheckCircle",
7419
7419
  error: "mdiAlertCircle",
7420
7420
  warning: "mdiAlert",
@@ -7432,7 +7432,7 @@ const x2 = {
7432
7432
  class: "r-alert__icon"
7433
7433
  }, [
7434
7434
  k(e.$slots, "alert-icon", {}, () => [
7435
- H1(R, {
7435
+ C1(R, {
7436
7436
  name: L.value,
7437
7437
  size: 24
7438
7438
  }, null, 8, ["name"])
@@ -7444,7 +7444,7 @@ const x2 = {
7444
7444
  }, [
7445
7445
  k(e.$slots, "content", {}, () => [
7446
7446
  Z("p", K2, v(C.title), 1),
7447
- C.description ? (m(), a("p", q2, v(C.description), 1)) : h("", !0)
7447
+ C.description ? (m(), a("p", q2, v(C.description), 1)) : g("", !0)
7448
7448
  ])
7449
7449
  ], 8, z2),
7450
7450
  C.closable ? (m(), a("div", {
@@ -7456,7 +7456,7 @@ const x2 = {
7456
7456
  close: M,
7457
7457
  slotClass: "r-alert__close__button"
7458
7458
  }, () => [
7459
- H1(R, {
7459
+ C1(R, {
7460
7460
  id: `${e.id}-close-button`,
7461
7461
  class: "r-alert__close__button",
7462
7462
  name: "mdiClose",
@@ -7464,7 +7464,7 @@ const x2 = {
7464
7464
  onClick: M
7465
7465
  }, null, 8, ["id"])
7466
7466
  ])
7467
- ], 8, j2)) : h("", !0)
7467
+ ], 8, j2)) : g("", !0)
7468
7468
  ], 10, G2));
7469
7469
  }
7470
7470
  }), M2 = "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", X2 = ["id"], Y2 = ["id"], J2 = ["id"], C5 = ["id", "alt", "src"], H5 = ["id"], J0 = /* @__PURE__ */ T({
@@ -7479,10 +7479,10 @@ const x2 = {
7479
7479
  id: { default: "r-avatar" }
7480
7480
  },
7481
7481
  setup(H) {
7482
- const V = H, C = g(() => ({
7482
+ const V = H, C = f(() => ({
7483
7483
  "r-avatar": !0,
7484
7484
  [`r-avatar--${V.size}`]: !0
7485
- })), i = g(() => V.type === "image" && !V.src), A = g(() => i.value ? M2 : V.src);
7485
+ })), i = f(() => V.type === "image" && !V.src), A = f(() => i.value ? M2 : V.src);
7486
7486
  function L(M) {
7487
7487
  const e = M.split(" ");
7488
7488
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
@@ -7516,7 +7516,7 @@ const x2 = {
7516
7516
  class: O(["r-avatar__online", {
7517
7517
  [`r-avatar__online--${V.size}`]: !0
7518
7518
  }])
7519
- }, null, 10, H5)) : h("", !0)
7519
+ }, null, 10, H5)) : g("", !0)
7520
7520
  ], 8, X2));
7521
7521
  }
7522
7522
  }), V5 = ["id"], L5 = ["id"], M5 = ["id", "innerHTML"], C7 = /* @__PURE__ */ T({
@@ -7536,7 +7536,7 @@ const x2 = {
7536
7536
  },
7537
7537
  emits: ["click"],
7538
7538
  setup(H) {
7539
- const V = H, C = g(() => ({
7539
+ const V = H, C = f(() => ({
7540
7540
  "r-badge": !0,
7541
7541
  [`r-badge--content ${V.contentClass}`]: V.content,
7542
7542
  [`r-badge--overlap-${V.placement}`]: V.overlap,
@@ -7581,7 +7581,7 @@ const x2 = {
7581
7581
  },
7582
7582
  emits: ["click"],
7583
7583
  setup(H) {
7584
- const V = H, C = g(() => ({
7584
+ const V = H, C = f(() => ({
7585
7585
  "r-button": !0,
7586
7586
  [`r-button__${V.variant}`]: !0,
7587
7587
  [`r-button__${V.variant}--${V.variant === "default" && V.color === void 0 ? "primary" : V.color}`]: !0,
@@ -7589,11 +7589,11 @@ const x2 = {
7589
7589
  [`r-button--${V.size || "medium"}`]: !0,
7590
7590
  "r-button--only-icon": V.icon,
7591
7591
  "r-button--block": V.block
7592
- })), i = g(() => ({
7592
+ })), i = f(() => ({
7593
7593
  small: 16,
7594
7594
  medium: 16,
7595
7595
  large: 20
7596
- })[V.size || "medium"]), A = g(() => ({
7596
+ })[V.size || "medium"]), A = f(() => ({
7597
7597
  height: V.height ? `${V.height}px` : ""
7598
7598
  }));
7599
7599
  return (L, M) => (m(), a("button", E1(L.$attrs, {
@@ -7614,7 +7614,7 @@ const x2 = {
7614
7614
  }]),
7615
7615
  name: V.prependIcon,
7616
7616
  size: i.value
7617
- }, null, 8, ["id", "class", "name", "size"])) : h("", !0)
7617
+ }, null, 8, ["id", "class", "name", "size"])) : g("", !0)
7618
7618
  ]),
7619
7619
  k(L.$slots, "default", {
7620
7620
  id: `${L.id}-slot`,
@@ -7629,7 +7629,7 @@ const x2 = {
7629
7629
  class: "r-button__append-icon",
7630
7630
  name: V.appendIcon,
7631
7631
  size: i.value
7632
- }, null, 8, ["id", "name", "size"])) : h("", !0)
7632
+ }, null, 8, ["id", "name", "size"])) : g("", !0)
7633
7633
  ])
7634
7634
  ], 16, i5));
7635
7635
  }
@@ -7654,7 +7654,7 @@ const x2 = {
7654
7654
  checked: "mdiCheck",
7655
7655
  unchecked: "",
7656
7656
  indeterminate: "mdiMinus"
7657
- }, M = g(() => A.indeterminate ? L.indeterminate : A.checked ? L.checked : L.unchecked), e = g(() => ({
7657
+ }, M = f(() => A.indeterminate ? L.indeterminate : A.checked ? L.checked : L.unchecked), e = f(() => ({
7658
7658
  "r-checkbox": !0,
7659
7659
  "r-checkbox--checked": A.checked,
7660
7660
  "r-checkbox--disabled": C.disabled,
@@ -7685,7 +7685,7 @@ const x2 = {
7685
7685
  immediate: !0
7686
7686
  }
7687
7687
  );
7688
- const l = g(() => C.id || "r-checkbox");
7688
+ const l = f(() => C.id || "r-checkbox");
7689
7689
  return (n, u) => (m(), a("div", {
7690
7690
  id: l.value,
7691
7691
  class: "r-checkbox-wrapper"
@@ -7708,7 +7708,7 @@ const x2 = {
7708
7708
  class: O(e.value),
7709
7709
  "data-disabled": C.disabled
7710
7710
  }, [
7711
- H1(R, {
7711
+ C1(R, {
7712
7712
  name: M.value,
7713
7713
  size: 24
7714
7714
  }, null, 8, ["name"])
@@ -7719,12 +7719,12 @@ const x2 = {
7719
7719
  class: "r-checkbox-texts"
7720
7720
  }, [
7721
7721
  Z("label", {
7722
- id: `${l.value}-label`,
7722
+ id: `${l.value}`,
7723
7723
  class: "r-checkbox-texts__label",
7724
7724
  "data-disabled": C.disabled,
7725
7725
  for: C.id
7726
7726
  }, v(C.label), 9, l5),
7727
- C.hideDetails ? h("", !0) : (m(), a("div", {
7727
+ C.hideDetails ? g("", !0) : (m(), a("div", {
7728
7728
  key: 0,
7729
7729
  id: `${l.value}-details`,
7730
7730
  class: "r-checkbox-texts__details"
@@ -7757,7 +7757,7 @@ const x2 = {
7757
7757
  },
7758
7758
  emits: ["click:chip", "click:close"],
7759
7759
  setup(H, { emit: V }) {
7760
- const C = H, i = V, A = g(() => ({
7760
+ const C = H, i = V, A = f(() => ({
7761
7761
  "r-chip": !0,
7762
7762
  "r-chip--disabled": C.disabled,
7763
7763
  [`r-chip__${C.variant}`]: C.variant,
@@ -7770,7 +7770,7 @@ const x2 = {
7770
7770
  function M(d) {
7771
7771
  C.disabled || !C.clearable || (d.stopPropagation(), i("click:close", d));
7772
7772
  }
7773
- const e = g(() => C.clearable ? "mdiClose" : C.appendIcon);
7773
+ const e = f(() => C.clearable ? "mdiClose" : C.appendIcon);
7774
7774
  return (d, l) => (m(), a("div", {
7775
7775
  id: d.id,
7776
7776
  class: O(A.value)
@@ -7790,10 +7790,10 @@ const x2 = {
7790
7790
  class: "r-chip__content__prepend-icon",
7791
7791
  name: C.prependIcon,
7792
7792
  size: 12
7793
- }, null, 8, ["id", "aria-disabled", "name"])) : h("", !0)
7793
+ }, null, 8, ["id", "aria-disabled", "name"])) : g("", !0)
7794
7794
  ]),
7795
7795
  Z("span", {
7796
- id: `${d.id}-label`,
7796
+ id: `${d.id}`,
7797
7797
  class: O(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7798
7798
  }, v(C.label), 11, u5)
7799
7799
  ], 8, Z5),
@@ -7808,7 +7808,7 @@ const x2 = {
7808
7808
  name: e.value,
7809
7809
  size: 12,
7810
7810
  onClick: l[1] || (l[1] = (n) => M(n))
7811
- }, null, 8, ["id", "aria-disabled", "name"])) : h("", !0)
7811
+ }, null, 8, ["id", "aria-disabled", "name"])) : g("", !0)
7812
7812
  ])
7813
7813
  ], 10, a5));
7814
7814
  }
@@ -7817,7 +7817,7 @@ function s5(H) {
7817
7817
  return v2() ? (w2(H), !0) : !1;
7818
7818
  }
7819
7819
  function r2(H) {
7820
- return typeof H == "function" ? H() : z(H);
7820
+ return typeof H == "function" ? H() : A1(H);
7821
7821
  }
7822
7822
  const a2 = typeof window < "u" && typeof document < "u";
7823
7823
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -8176,17 +8176,17 @@ const R5 = (H) => ({
8176
8176
  }, r = Y1(A), S = X1(r), b = await M.getDimensions(l), B = r === "y", y = B ? "top" : "left", c = B ? "bottom" : "right", w = B ? "clientHeight" : "clientWidth", _ = L.reference[S] + L.reference[r] - o[r] - L.floating[S], x = o[r] - L.reference[r], U = await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(l));
8177
8177
  let $ = U ? U[w] : 0;
8178
8178
  (!$ || !await (M.isElement == null ? void 0 : M.isElement(U))) && ($ = e.floating[w] || L.floating[S]);
8179
- const C1 = _ / 2 - x / 2, f = $ / 2 - b[S] / 2 - 1, F = p1(u[y], f), m1 = p1(u[c], f), N = F, l1 = $ - b[S] - m1, I = $ / 2 - b[S] / 2 + C1, j = G1(N, I, l1), X = !d.arrow && h1(A) != null && I != j && L.reference[S] / 2 - (I < N ? F : m1) - b[S] / 2 < 0, K = X ? I < N ? I - N : I - l1 : 0;
8179
+ const J = _ / 2 - x / 2, h = $ / 2 - b[S] / 2 - 1, F = p1(u[y], h), m1 = p1(u[c], h), N = F, l1 = $ - b[S] - m1, I = $ / 2 - b[S] / 2 + J, q = G1(N, I, l1), j = !d.arrow && h1(A) != null && I != q && L.reference[S] / 2 - (I < N ? F : m1) - b[S] / 2 < 0, z = j ? I < N ? I - N : I - l1 : 0;
8180
8180
  return {
8181
- [r]: o[r] + K,
8181
+ [r]: o[r] + z,
8182
8182
  data: {
8183
- [r]: j,
8184
- centerOffset: I - j - K,
8185
- ...X && {
8186
- alignmentOffset: K
8183
+ [r]: q,
8184
+ centerOffset: I - q - z,
8185
+ ...j && {
8186
+ alignmentOffset: z
8187
8187
  }
8188
8188
  },
8189
- reset: X
8189
+ reset: j
8190
8190
  };
8191
8191
  }
8192
8192
  }), x5 = function(H) {
@@ -8216,34 +8216,34 @@ const R5 = (H) => ({
8216
8216
  const y = o1(A), c = o1(e) === e, w = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), _ = o || (c || !b ? [F1(e)] : w5(e));
8217
8217
  !o && S !== "none" && _.push(...P5(e, b, S, w));
8218
8218
  const x = [e, ..._], U = await x1(V, B), $ = [];
8219
- let C1 = ((i = L.flip) == null ? void 0 : i.overflows) || [];
8219
+ let J = ((i = L.flip) == null ? void 0 : i.overflows) || [];
8220
8220
  if (n && $.push(U[y]), u) {
8221
8221
  const N = v5(A, M, w);
8222
8222
  $.push(U[N[0]], U[N[1]]);
8223
8223
  }
8224
- if (C1 = [...C1, {
8224
+ if (J = [...J, {
8225
8225
  placement: A,
8226
8226
  overflows: $
8227
8227
  }], !$.every((N) => N <= 0)) {
8228
- var f, F;
8229
- const N = (((f = L.flip) == null ? void 0 : f.index) || 0) + 1, l1 = x[N];
8228
+ var h, F;
8229
+ const N = (((h = L.flip) == null ? void 0 : h.index) || 0) + 1, l1 = x[N];
8230
8230
  if (l1)
8231
8231
  return {
8232
8232
  data: {
8233
8233
  index: N,
8234
- overflows: C1
8234
+ overflows: J
8235
8235
  },
8236
8236
  reset: {
8237
8237
  placement: l1
8238
8238
  }
8239
8239
  };
8240
- let I = (F = C1.filter((j) => j.overflows[0] <= 0).sort((j, X) => j.overflows[1] - X.overflows[1])[0]) == null ? void 0 : F.placement;
8240
+ let I = (F = J.filter((q) => q.overflows[0] <= 0).sort((q, j) => q.overflows[1] - j.overflows[1])[0]) == null ? void 0 : F.placement;
8241
8241
  if (!I)
8242
8242
  switch (r) {
8243
8243
  case "bestFit": {
8244
8244
  var m1;
8245
- const j = (m1 = C1.map((X) => [X.placement, X.overflows.filter((K) => K > 0).reduce((K, t) => K + t, 0)]).sort((X, K) => X[1] - K[1])[0]) == null ? void 0 : m1[0];
8246
- j && (I = j);
8245
+ const q = (m1 = J.map((j) => [j.placement, j.overflows.filter((z) => z > 0).reduce((z, t) => z + t, 0)]).sort((j, z) => j[1] - z[1])[0]) == null ? void 0 : m1[0];
8246
+ q && (I = q);
8247
8247
  break;
8248
8248
  }
8249
8249
  case "initialPlacement":
@@ -8414,7 +8414,7 @@ const _5 = function(H) {
8414
8414
  function d1(H) {
8415
8415
  return s2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8416
8416
  }
8417
- function q(H) {
8417
+ function K(H) {
8418
8418
  var V;
8419
8419
  return (H == null || (V = H.ownerDocument) == null ? void 0 : V.defaultView) || window;
8420
8420
  }
@@ -8423,16 +8423,16 @@ function t1(H) {
8423
8423
  return (V = (s2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8424
8424
  }
8425
8425
  function s2(H) {
8426
- return H instanceof Node || H instanceof q(H).Node;
8426
+ return H instanceof Node || H instanceof K(H).Node;
8427
8427
  }
8428
- function i1(H) {
8429
- return H instanceof Element || H instanceof q(H).Element;
8428
+ function M1(H) {
8429
+ return H instanceof Element || H instanceof K(H).Element;
8430
8430
  }
8431
- function V1(H) {
8432
- return H instanceof HTMLElement || H instanceof q(H).HTMLElement;
8431
+ function H1(H) {
8432
+ return H instanceof HTMLElement || H instanceof K(H).HTMLElement;
8433
8433
  }
8434
8434
  function t2(H) {
8435
- return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof q(H).ShadowRoot;
8435
+ return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof K(H).ShadowRoot;
8436
8436
  }
8437
8437
  function g1(H) {
8438
8438
  const {
@@ -8440,19 +8440,19 @@ function g1(H) {
8440
8440
  overflowX: C,
8441
8441
  overflowY: i,
8442
8442
  display: A
8443
- } = J(H);
8443
+ } = Y(H);
8444
8444
  return /auto|scroll|overlay|hidden|clip/.test(V + i + C) && !["inline", "contents"].includes(A);
8445
8445
  }
8446
8446
  function W5(H) {
8447
8447
  return ["table", "td", "th"].includes(d1(H));
8448
8448
  }
8449
8449
  function J1(H) {
8450
- const V = C2(), C = J(H);
8450
+ const V = C2(), C = Y(H);
8451
8451
  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((i) => (C.willChange || "").includes(i)) || ["paint", "layout", "strict", "content"].some((i) => (C.contain || "").includes(i));
8452
8452
  }
8453
8453
  function N5(H) {
8454
8454
  let V = u1(H);
8455
- for (; V1(V) && !$1(V); ) {
8455
+ for (; H1(V) && !$1(V); ) {
8456
8456
  if (J1(V))
8457
8457
  return V;
8458
8458
  V = u1(V);
@@ -8465,11 +8465,11 @@ function C2() {
8465
8465
  function $1(H) {
8466
8466
  return ["html", "body", "#document"].includes(d1(H));
8467
8467
  }
8468
- function J(H) {
8469
- return q(H).getComputedStyle(H);
8468
+ function Y(H) {
8469
+ return K(H).getComputedStyle(H);
8470
8470
  }
8471
8471
  function W1(H) {
8472
- return i1(H) ? {
8472
+ return M1(H) ? {
8473
8473
  scrollLeft: H.scrollLeft,
8474
8474
  scrollTop: H.scrollTop
8475
8475
  } : {
@@ -8491,18 +8491,18 @@ function u1(H) {
8491
8491
  }
8492
8492
  function c2(H) {
8493
8493
  const V = u1(H);
8494
- return $1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : V1(V) && g1(V) ? V : c2(V);
8494
+ return $1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : H1(V) && g1(V) ? V : c2(V);
8495
8495
  }
8496
8496
  function z1(H, V, C) {
8497
8497
  var i;
8498
8498
  V === void 0 && (V = []), C === void 0 && (C = !0);
8499
- const A = c2(H), L = A === ((i = H.ownerDocument) == null ? void 0 : i.body), M = q(A);
8499
+ const A = c2(H), L = A === ((i = H.ownerDocument) == null ? void 0 : i.body), M = K(A);
8500
8500
  return L ? V.concat(M, M.visualViewport || [], g1(A) ? A : [], M.frameElement && C ? z1(M.frameElement) : []) : V.concat(A, z1(A, [], C));
8501
8501
  }
8502
8502
  function p2(H) {
8503
- const V = J(H);
8503
+ const V = Y(H);
8504
8504
  let C = parseFloat(V.width) || 0, i = parseFloat(V.height) || 0;
8505
- const A = V1(H), L = A ? H.offsetWidth : C, M = A ? H.offsetHeight : i, e = T1(C) !== L || T1(i) !== M;
8505
+ const A = H1(H), L = A ? H.offsetWidth : C, M = A ? H.offsetHeight : i, e = T1(C) !== L || T1(i) !== M;
8506
8506
  return e && (C = L, i = M), {
8507
8507
  width: C,
8508
8508
  height: i,
@@ -8510,11 +8510,11 @@ function p2(H) {
8510
8510
  };
8511
8511
  }
8512
8512
  function O2(H) {
8513
- return i1(H) ? H : H.contextElement;
8513
+ return M1(H) ? H : H.contextElement;
8514
8514
  }
8515
8515
  function Z1(H) {
8516
8516
  const V = O2(H);
8517
- if (!V1(V))
8517
+ if (!H1(V))
8518
8518
  return e1(1);
8519
8519
  const C = V.getBoundingClientRect(), {
8520
8520
  width: i,
@@ -8529,28 +8529,28 @@ function Z1(H) {
8529
8529
  }
8530
8530
  const I5 = /* @__PURE__ */ e1(0);
8531
8531
  function f2(H) {
8532
- const V = q(H);
8532
+ const V = K(H);
8533
8533
  return !C2() || !V.visualViewport ? I5 : {
8534
8534
  x: V.visualViewport.offsetLeft,
8535
8535
  y: V.visualViewport.offsetTop
8536
8536
  };
8537
8537
  }
8538
8538
  function Q5(H, V, C) {
8539
- return V === void 0 && (V = !1), !C || V && C !== q(H) ? !1 : V;
8539
+ return V === void 0 && (V = !1), !C || V && C !== K(H) ? !1 : V;
8540
8540
  }
8541
8541
  function O1(H, V, C, i) {
8542
8542
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8543
8543
  const A = H.getBoundingClientRect(), L = O2(H);
8544
8544
  let M = e1(1);
8545
- V && (i ? i1(i) && (M = Z1(i)) : M = Z1(H));
8545
+ V && (i ? M1(i) && (M = Z1(i)) : M = Z1(H));
8546
8546
  const e = Q5(L, C, i) ? f2(L) : e1(0);
8547
8547
  let d = (A.left + e.x) / M.x, l = (A.top + e.y) / M.y, n = A.width / M.x, u = A.height / M.y;
8548
8548
  if (L) {
8549
- const o = q(L), r = i && i1(i) ? q(i) : i;
8549
+ const o = K(L), r = i && M1(i) ? K(i) : i;
8550
8550
  let S = o.frameElement;
8551
8551
  for (; S && i && r !== o; ) {
8552
- const b = Z1(S), B = S.getBoundingClientRect(), y = J(S), c = B.left + (S.clientLeft + parseFloat(y.paddingLeft)) * b.x, w = B.top + (S.clientTop + parseFloat(y.paddingTop)) * b.y;
8553
- d *= b.x, l *= b.y, n *= b.x, u *= b.y, d += c, l += w, S = q(S).frameElement;
8552
+ const b = Z1(S), B = S.getBoundingClientRect(), y = Y(S), c = B.left + (S.clientLeft + parseFloat(y.paddingLeft)) * b.x, w = B.top + (S.clientTop + parseFloat(y.paddingTop)) * b.y;
8553
+ d *= b.x, l *= b.y, n *= b.x, u *= b.y, d += c, l += w, S = K(S).frameElement;
8554
8554
  }
8555
8555
  }
8556
8556
  return R1({
@@ -8566,7 +8566,7 @@ function G5(H) {
8566
8566
  offsetParent: C,
8567
8567
  strategy: i
8568
8568
  } = H;
8569
- const A = V1(C), L = t1(C);
8569
+ const A = H1(C), L = t1(C);
8570
8570
  if (C === L)
8571
8571
  return V;
8572
8572
  let M = {
@@ -8574,7 +8574,7 @@ function G5(H) {
8574
8574
  scrollTop: 0
8575
8575
  }, e = e1(1);
8576
8576
  const d = e1(0);
8577
- if ((A || !A && i !== "fixed") && ((d1(C) !== "body" || g1(L)) && (M = W1(C)), V1(C))) {
8577
+ if ((A || !A && i !== "fixed") && ((d1(C) !== "body" || g1(L)) && (M = W1(C)), H1(C))) {
8578
8578
  const l = O1(C);
8579
8579
  e = Z1(C), d.x = l.x + C.clientLeft, d.y = l.y + C.clientTop;
8580
8580
  }
@@ -8595,7 +8595,7 @@ function z5(H) {
8595
8595
  const V = t1(H), C = W1(H), i = H.ownerDocument.body, A = a1(V.scrollWidth, V.clientWidth, i.scrollWidth, i.clientWidth), L = a1(V.scrollHeight, V.clientHeight, i.scrollHeight, i.clientHeight);
8596
8596
  let M = -C.scrollLeft + h2(H);
8597
8597
  const e = -C.scrollTop;
8598
- return J(i).direction === "rtl" && (M += a1(V.clientWidth, i.clientWidth) - A), {
8598
+ return Y(i).direction === "rtl" && (M += a1(V.clientWidth, i.clientWidth) - A), {
8599
8599
  width: A,
8600
8600
  height: L,
8601
8601
  x: M,
@@ -8603,7 +8603,7 @@ function z5(H) {
8603
8603
  };
8604
8604
  }
8605
8605
  function K5(H, V) {
8606
- const C = q(H), i = t1(H), A = C.visualViewport;
8606
+ const C = K(H), i = t1(H), A = C.visualViewport;
8607
8607
  let L = i.clientWidth, M = i.clientHeight, e = 0, d = 0;
8608
8608
  if (A) {
8609
8609
  L = A.width, M = A.height;
@@ -8618,7 +8618,7 @@ function K5(H, V) {
8618
8618
  };
8619
8619
  }
8620
8620
  function q5(H, V) {
8621
- const C = O1(H, !0, V === "fixed"), i = C.top + H.clientTop, A = C.left + H.clientLeft, L = V1(H) ? Z1(H) : e1(1), M = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, l = i * L.y;
8621
+ const C = O1(H, !0, V === "fixed"), i = C.top + H.clientTop, A = C.left + H.clientLeft, L = H1(H) ? Z1(H) : e1(1), M = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, l = i * L.y;
8622
8622
  return {
8623
8623
  width: M,
8624
8624
  height: e,
@@ -8632,7 +8632,7 @@ function m2(H, V, C) {
8632
8632
  i = K5(H, C);
8633
8633
  else if (V === "document")
8634
8634
  i = z5(t1(H));
8635
- else if (i1(V))
8635
+ else if (M1(V))
8636
8636
  i = q5(V, C);
8637
8637
  else {
8638
8638
  const A = f2(H);
@@ -8646,17 +8646,17 @@ function m2(H, V, C) {
8646
8646
  }
8647
8647
  function g2(H, V) {
8648
8648
  const C = u1(H);
8649
- return C === V || !i1(C) || $1(C) ? !1 : J(C).position === "fixed" || g2(C, V);
8649
+ return C === V || !M1(C) || $1(C) ? !1 : Y(C).position === "fixed" || g2(C, V);
8650
8650
  }
8651
8651
  function j5(H, V) {
8652
8652
  const C = V.get(H);
8653
8653
  if (C)
8654
8654
  return C;
8655
- let i = z1(H, [], !1).filter((e) => i1(e) && d1(e) !== "body"), A = null;
8656
- const L = J(H).position === "fixed";
8655
+ let i = z1(H, [], !1).filter((e) => M1(e) && d1(e) !== "body"), A = null;
8656
+ const L = Y(H).position === "fixed";
8657
8657
  let M = L ? u1(H) : H;
8658
- for (; i1(M) && !$1(M); ) {
8659
- const e = J(M), d = J1(M);
8658
+ for (; M1(M) && !$1(M); ) {
8659
+ const e = Y(M), d = J1(M);
8660
8660
  !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || g1(M) && !d && g2(H, M)) ? i = i.filter((n) => n !== M) : A = e, M = u1(M);
8661
8661
  }
8662
8662
  return V.set(H, i), i;
@@ -8683,7 +8683,7 @@ function Y5(H) {
8683
8683
  return p2(H);
8684
8684
  }
8685
8685
  function J5(H, V, C) {
8686
- const i = V1(V), A = t1(V), L = C === "fixed", M = O1(H, !0, L, V);
8686
+ const i = H1(V), A = t1(V), L = C === "fixed", M = O1(H, !0, L, V);
8687
8687
  let e = {
8688
8688
  scrollLeft: 0,
8689
8689
  scrollTop: 0
@@ -8703,16 +8703,16 @@ function J5(H, V, C) {
8703
8703
  };
8704
8704
  }
8705
8705
  function l2(H, V) {
8706
- return !V1(H) || J(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8706
+ return !H1(H) || Y(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8707
8707
  }
8708
8708
  function k2(H, V) {
8709
- const C = q(H);
8710
- if (!V1(H))
8709
+ const C = K(H);
8710
+ if (!H1(H))
8711
8711
  return C;
8712
8712
  let i = l2(H, V);
8713
- for (; i && W5(i) && J(i).position === "static"; )
8713
+ for (; i && W5(i) && Y(i).position === "static"; )
8714
8714
  i = l2(i, V);
8715
- return i && (d1(i) === "html" || d1(i) === "body" && J(i).position === "static" && !J1(i)) ? C : i || N5(H) || C;
8715
+ return i && (d1(i) === "html" || d1(i) === "body" && Y(i).position === "static" && !J1(i)) ? C : i || N5(H) || C;
8716
8716
  }
8717
8717
  const C3 = async function(H) {
8718
8718
  let {
@@ -8731,7 +8731,7 @@ const C3 = async function(H) {
8731
8731
  };
8732
8732
  };
8733
8733
  function H3(H) {
8734
- return J(H).direction === "rtl";
8734
+ return Y(H).direction === "rtl";
8735
8735
  }
8736
8736
  const V3 = {
8737
8737
  convertOffsetParentRelativeRectToViewportRelativeRect: G5,
@@ -8742,7 +8742,7 @@ const V3 = {
8742
8742
  getClientRects: U5,
8743
8743
  getDimensions: Y5,
8744
8744
  getScale: Z1,
8745
- isElement: i1,
8745
+ isElement: M1,
8746
8746
  isRTL: H3
8747
8747
  }, L3 = (H, V, C) => {
8748
8748
  const i = /* @__PURE__ */ new Map(), A = {
@@ -8757,7 +8757,7 @@ const V3 = {
8757
8757
  platform: L
8758
8758
  });
8759
8759
  };
8760
- var B2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(B2 || {}), M1 = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(M1 || {}), K1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(K1 || {});
8760
+ var B2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(B2 || {}), L1 = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(L1 || {}), K1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(K1 || {});
8761
8761
  async function M3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e) {
8762
8762
  !H || !V || L3(H, V, {
8763
8763
  placement: i,
@@ -8805,7 +8805,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8805
8805
  text: { default: "" },
8806
8806
  dark: { type: Boolean, default: !0 },
8807
8807
  light: { type: Boolean, default: !1 },
8808
- triggers: { default: () => [M1.Hover] },
8808
+ triggers: { default: () => [L1.Hover] },
8809
8809
  autoHide: { type: Boolean, default: !0 },
8810
8810
  hideDelay: { default: 3e3 },
8811
8811
  showDelay: { default: 300 },
@@ -8847,16 +8847,16 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8847
8847
  }, C.hideDelay);
8848
8848
  }
8849
8849
  function o(c) {
8850
- C.disabled || C.triggers.includes(M1.Click) && (L.value.style.display === "block" ? n() : l());
8850
+ C.disabled || C.triggers.includes(L1.Click) && (L.value.style.display === "block" ? n() : l());
8851
8851
  }
8852
8852
  function r() {
8853
- C.disabled || C.triggers.includes(M1.Hover) && l();
8853
+ C.disabled || C.triggers.includes(L1.Hover) && l();
8854
8854
  }
8855
8855
  function S() {
8856
- C.disabled || (L.value.style.display === "" && C.triggers.includes(M1.Hover) ? l() : L.value.style.display !== "" && C.triggers.includes(M1.Hover) && n());
8856
+ C.disabled || (L.value.style.display === "" && C.triggers.includes(L1.Hover) ? l() : L.value.style.display !== "" && C.triggers.includes(L1.Hover) && n());
8857
8857
  }
8858
8858
  function b() {
8859
- C.triggers.includes(M1.Hover) && B();
8859
+ C.triggers.includes(L1.Hover) && B();
8860
8860
  }
8861
8861
  function B() {
8862
8862
  const { placement: c, offset: w, padding: _, disabled: x, showDelay: U, type: $ } = C;
@@ -8871,7 +8871,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8871
8871
  $
8872
8872
  );
8873
8873
  }
8874
- const y = g(() => ({
8874
+ const y = f(() => ({
8875
8875
  "r-tooltip": !0,
8876
8876
  "r-tooltip--dark": C.dark && !C.light,
8877
8877
  "r-tooltip--light": C.light
@@ -8880,7 +8880,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8880
8880
  C.resizable && B();
8881
8881
  }, V2(
8882
8882
  () => {
8883
- C.disabled || (C.shown && C.triggers.includes(M1.Manual) ? l() : !C.shown && C.triggers.includes(M1.Manual) && n());
8883
+ C.disabled || (C.shown && C.triggers.includes(L1.Manual) ? l() : !C.shown && C.triggers.includes(L1.Manual) && n());
8884
8884
  },
8885
8885
  { flush: "post" }
8886
8886
  // this is important to avoid infinite loop & for fire on mounted
@@ -8902,7 +8902,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8902
8902
  });
8903
8903
  }), q1(() => {
8904
8904
  d && (d(), d = null);
8905
- }), (c, w) => (m(), a(A1, null, [
8905
+ }), (c, w) => (m(), a(i1, null, [
8906
8906
  Z("div", {
8907
8907
  id: c.id,
8908
8908
  ref_key: "trigger",
@@ -8922,7 +8922,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8922
8922
  mouseleave: S,
8923
8923
  mousemove: b
8924
8924
  },
8925
- tooltipId: z(e),
8925
+ tooltipId: A1(e),
8926
8926
  updatePosition: B
8927
8927
  }, () => [
8928
8928
  Z("div", {
@@ -8950,7 +8950,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8950
8950
  "r-tooltip__content--dark": C.dark,
8951
8951
  "r-tooltip__content--light": C.light
8952
8952
  }])
8953
- }, v(C.text), 3)) : h("", !0),
8953
+ }, v(C.text), 3)) : g("", !0),
8954
8954
  C.text ? (m(), a("div", {
8955
8955
  key: 1,
8956
8956
  id: `${c.id}-arrow`,
@@ -8960,7 +8960,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8960
8960
  "r-tooltip__arrow--dark": C.dark,
8961
8961
  "r-tooltip__arrow--light": C.light
8962
8962
  }])
8963
- }, null, 10, d3)) : h("", !0)
8963
+ }, null, 10, d3)) : g("", !0)
8964
8964
  ])
8965
8965
  ], 10, e3)
8966
8966
  ]))
@@ -9031,13 +9031,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9031
9031
  const [s] = Object.keys(t);
9032
9032
  return ["label", "value"].includes(s);
9033
9033
  }
9034
- const S = g(() => {
9034
+ const S = f(() => {
9035
9035
  const t = C.options;
9036
9036
  return r(t[0]) ? t : t.map((s) => ({
9037
9037
  value: s,
9038
9038
  label: String(s)
9039
9039
  }));
9040
- }), b = g(() => {
9040
+ }), b = f(() => {
9041
9041
  const t = C.modelValue;
9042
9042
  return r(t) ? t : {
9043
9043
  value: t,
@@ -9045,7 +9045,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9045
9045
  };
9046
9046
  }), B = E(), y = E(), c = E();
9047
9047
  function w(t) {
9048
- var Y, p, Q, k1;
9048
+ var X, p, Q, k1;
9049
9049
  if (C.disabled)
9050
9050
  return;
9051
9051
  const s = document.getElementById(t);
@@ -9053,13 +9053,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9053
9053
  var B1;
9054
9054
  if (G.id !== ((B1 = B.value) == null ? void 0 : B1.id) && G.classList.contains("r-dropdown--active")) {
9055
9055
  const H2 = n(G);
9056
- H2 && o(H2), G.childNodes.forEach((L1) => {
9057
- L1 != null && L1.classList && (Object == null || Object.values(L1 == null ? void 0 : L1.classList).filter((N1) => N1.includes("--active")).forEach((N1) => {
9058
- L1 == null || L1.classList.remove(N1);
9056
+ H2 && o(H2), G.childNodes.forEach((V1) => {
9057
+ V1 != null && V1.classList && (Object == null || Object.values(V1 == null ? void 0 : V1.classList).filter((N1) => N1.includes("--active")).forEach((N1) => {
9058
+ V1 == null || V1.classList.remove(N1);
9059
9059
  }));
9060
9060
  }), G.classList.remove("r-dropdown--active");
9061
9061
  }
9062
- }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), M.value = !1, (Y = B.value) == null || Y.blur(), (p = y.value) == null || p.blur(), d.value && o(d.value)) : (s == null || s.classList.add("r-dropdown--active"), M.value = !0, (Q = B.value) == null || Q.focus(), (k1 = y.value) == null || k1.focus(), d.value || (d.value = n(c.value || B.value)), d.value && u(d.value), s == null || s.childNodes.forEach((G) => {
9062
+ }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), M.value = !1, (X = B.value) == null || X.blur(), (p = y.value) == null || p.blur(), d.value && o(d.value)) : (s == null || s.classList.add("r-dropdown--active"), M.value = !0, (Q = B.value) == null || Q.focus(), (k1 = y.value) == null || k1.focus(), d.value || (d.value = n(c.value || B.value)), d.value && u(d.value), s == null || s.childNodes.forEach((G) => {
9063
9063
  G != null && G.classList && (Object == null || Object.values(G == null ? void 0 : G.classList).forEach((B1) => {
9064
9064
  G == null || G.classList.add(`${B1}--active`);
9065
9065
  }));
@@ -9069,11 +9069,11 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9069
9069
  const s = document.getElementById(t);
9070
9070
  s == null || s.classList.remove("r-dropdown--active"), M.value = !1, d.value && o(d.value);
9071
9071
  }
9072
- function x(t, s, P, Y) {
9072
+ function x(t, s, P, X) {
9073
9073
  var p;
9074
9074
  if (!(C.disabled || s.disabled)) {
9075
- if (Y(), s.value === "select-all") {
9076
- j();
9075
+ if (X(), s.value === "select-all") {
9076
+ q();
9077
9077
  return;
9078
9078
  }
9079
9079
  if (C.multiple) {
@@ -9100,10 +9100,10 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9100
9100
  if (t instanceof KeyboardEvent && t.key !== "Backspace" || e.value !== "")
9101
9101
  return;
9102
9102
  t.stopPropagation(), P();
9103
- const Y = L.value.findIndex((p) => p.value === s.value);
9104
- L.value.splice(Y, 1), i("removeOption", s), i("update:modelValue", L.value);
9103
+ const X = L.value.findIndex((p) => p.value === s.value);
9104
+ L.value.splice(X, 1), i("removeOption", s), i("update:modelValue", L.value);
9105
9105
  }
9106
- function C1(t, s) {
9106
+ function J(t, s) {
9107
9107
  var p;
9108
9108
  if (!C.multiple)
9109
9109
  return;
@@ -9113,11 +9113,11 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9113
9113
  return;
9114
9114
  S.value.find((Q) => Q.label === P) || (L.value.push({ value: P, label: P }), e.value = "", (p = y.value) == null || p.focus());
9115
9115
  }
9116
- function f(t) {
9116
+ function h(t) {
9117
9117
  var s;
9118
9118
  return !t || (t == null ? void 0 : t.value) === void 0 || (t == null ? void 0 : t.value) === null ? !1 : C.multiple ? L.value.find((P) => (P == null ? void 0 : P.value) === (t == null ? void 0 : t.value)) : ((s = A.value) == null ? void 0 : s.value) === (t == null ? void 0 : t.value);
9119
9119
  }
9120
- const F = g(() => !C.searchable || A.value.label === e.value ? S.value : S.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), m1 = g(() => !C.searchable);
9120
+ const F = f(() => !C.searchable || A.value.label === e.value ? S.value : S.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), m1 = f(() => !C.searchable);
9121
9121
  function N() {
9122
9122
  b.value ? C.multiple ? L.value = b.value : (A.value = b.value, e.value = b.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
9123
9123
  }
@@ -9131,14 +9131,14 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9131
9131
  }
9132
9132
  A.value = {}, e.value = "", i("update:modelValue", ""), i("clear", A.value);
9133
9133
  }
9134
- function j() {
9134
+ function q() {
9135
9135
  if (L.value.length === F.value.length) {
9136
9136
  L.value.splice(0, L.value.length);
9137
9137
  return;
9138
9138
  }
9139
9139
  L.value = F.value;
9140
9140
  }
9141
- const X = g(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), K = g(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9141
+ const j = f(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), z = f(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9142
9142
  return o2(() => {
9143
9143
  N(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9144
9144
  }), W(
@@ -9159,7 +9159,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9159
9159
  ref: c,
9160
9160
  class: "r-dropdown-wrapper"
9161
9161
  }, [
9162
- H1(t3, {
9162
+ C1(t3, {
9163
9163
  id: `${t.id}-tooltip`,
9164
9164
  "auto-hide": !1,
9165
9165
  disabled: C.disabled,
@@ -9174,7 +9174,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9174
9174
  _(P);
9175
9175
  })
9176
9176
  }, {
9177
- default: P1(({ updatePosition: P, tooltipId: Y }) => [
9177
+ default: P1(({ updatePosition: P, tooltipId: X }) => [
9178
9178
  Z("div", {
9179
9179
  id: `${t.id}-dropdown`,
9180
9180
  ref_key: "dropdown",
@@ -9187,7 +9187,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9187
9187
  group: e.value !== "" || L.value.length
9188
9188
  }]),
9189
9189
  role: "select",
9190
- onClick: (p) => w(Y)
9190
+ onClick: (p) => w(X)
9191
9191
  }, [
9192
9192
  C.prependIcon || t.$slots.prepend ? (m(), a("div", {
9193
9193
  key: 0,
@@ -9208,9 +9208,9 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9208
9208
  key: 0,
9209
9209
  id: `${t.id}-prepend-icon`,
9210
9210
  name: C.prependIcon
9211
- }, null, 8, ["id", "name"])) : h("", !0)
9211
+ }, null, 8, ["id", "name"])) : g("", !0)
9212
9212
  ])
9213
- ], 10, o3)) : h("", !0),
9213
+ ], 10, o3)) : g("", !0),
9214
9214
  Z("div", {
9215
9215
  id: `${t.id}-selections`,
9216
9216
  class: "r-dropdown__selections"
@@ -9224,8 +9224,8 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9224
9224
  id: `${t.id}-selections-content`,
9225
9225
  class: "flex flex-wrap items-center gap-2 text-sm"
9226
9226
  }, [
9227
- C.multiple && C.chips ? (m(), a(A1, { key: 0 }, [
9228
- (m(!0), a(A1, null, n1(X.value, (p) => (m(), D(S5, {
9227
+ C.multiple && C.chips ? (m(), a(i1, { key: 0 }, [
9228
+ (m(!0), a(i1, null, n1(j.value, (p) => (m(), D(S5, {
9229
9229
  key: p.value,
9230
9230
  id: `${t.id}-chip-${p.value}`,
9231
9231
  clearable: "",
@@ -9236,18 +9236,18 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9236
9236
  }, null, 8, ["id", "label", "onClick:close"]))), 128)),
9237
9237
  k(t.$slots, "remaining-count", {
9238
9238
  id: `${t.id}-remaining-count`,
9239
- count: K.value
9239
+ count: z.value
9240
9240
  }, () => [
9241
- K.value > 0 ? (m(), a("span", {
9241
+ z.value > 0 ? (m(), a("span", {
9242
9242
  key: 0,
9243
9243
  id: `${t.id}-remaining-count-text`,
9244
9244
  class: "r-dropdown__remaining-count-text"
9245
- }, " +" + v(K.value), 9, a3)) : h("", !0)
9245
+ }, " +" + v(z.value), 9, a3)) : g("", !0)
9246
9246
  ])
9247
- ], 64)) : C.multiple ? (m(!0), a(A1, { key: 1 }, n1(L.value, (p, Q) => (m(), a("span", {
9247
+ ], 64)) : C.multiple ? (m(!0), a(i1, { key: 1 }, n1(L.value, (p, Q) => (m(), a("span", {
9248
9248
  id: `${t.id}-selected-option-${Q}`,
9249
9249
  key: p.value
9250
- }, v(p.label) + v(Q < L.value.length - 1 ? ", " : ""), 9, Z3))), 128)) : h("", !0)
9250
+ }, v(p.label) + v(Q < L.value.length - 1 ? ", " : ""), 9, Z3))), 128)) : g("", !0)
9251
9251
  ], 8, r3)
9252
9252
  ]),
9253
9253
  n2(Z("input", {
@@ -9267,7 +9267,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9267
9267
  onInput: r1((p) => l1(P), ["prevent"]),
9268
9268
  onKeydown: [
9269
9269
  L2((p) => $(p, L.value[L.value.length - 1], P), ["backspace"]),
9270
- L2((p) => C1(p, P), ["enter"])
9270
+ L2((p) => J(p, P), ["enter"])
9271
9271
  ]
9272
9272
  }, null, 42, u3), [
9273
9273
  [P2, e.value]
@@ -9281,13 +9281,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9281
9281
  onClick: (p) => I(p, P)
9282
9282
  }, [
9283
9283
  k(t.$slots, "clearable", {}, () => [
9284
- H1(R, {
9284
+ C1(R, {
9285
9285
  id: `${t.id}-clearable-icon`,
9286
9286
  name: "mdiCloseCircle",
9287
9287
  size: "18"
9288
9288
  }, null, 8, ["id"])
9289
9289
  ])
9290
- ], 8, S3)) : h("", !0),
9290
+ ], 8, S3)) : g("", !0),
9291
9291
  C.appendIcon || t.$slots.append ? (m(), a("div", {
9292
9292
  key: 2,
9293
9293
  id: `${t.id}-append-icon`,
@@ -9306,12 +9306,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9306
9306
  C.appendIcon ? (m(), D(R, {
9307
9307
  key: 0,
9308
9308
  name: C.appendIcon
9309
- }, null, 8, ["name"])) : h("", !0)
9309
+ }, null, 8, ["name"])) : g("", !0)
9310
9310
  ])
9311
- ], 10, s3)) : h("", !0)
9311
+ ], 10, s3)) : g("", !0)
9312
9312
  ], 10, l3)
9313
9313
  ]),
9314
- content: P1(({ hide: P, updatePosition: Y }) => [
9314
+ content: P1(({ hide: P, updatePosition: X }) => [
9315
9315
  Z("ul", {
9316
9316
  id: `${t.id}-options`,
9317
9317
  class: O(["r-dropdown-options", {
@@ -9325,7 +9325,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9325
9325
  "r-dropdown-options__option--active": L.value.length === F.value.length,
9326
9326
  "r-dropdown-options__option--disabled": !1
9327
9327
  }]),
9328
- onClick: r1((p) => x(p, { label: C.selectAllText, value: "select-all" }, P, Y), ["prevent"])
9328
+ onClick: r1((p) => x(p, { label: C.selectAllText, value: "select-all" }, P, X), ["prevent"])
9329
9329
  }, [
9330
9330
  Z("div", O3, [
9331
9331
  Z("p", f3, v(C.selectAllText), 1)
@@ -9336,28 +9336,28 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9336
9336
  "r-dropdown-options__option__append-icon--active": L.value.length === F.value.length
9337
9337
  }]),
9338
9338
  name: "mdiCheck"
9339
- }, null, 8, ["class"])) : h("", !0)
9340
- ], 10, p3)) : h("", !0),
9339
+ }, null, 8, ["class"])) : g("", !0)
9340
+ ], 10, p3)) : g("", !0),
9341
9341
  C.showSelectAll && F.value.length > 0 ? (m(), a("hr", {
9342
9342
  key: 1,
9343
9343
  id: `${t.id}-divider`,
9344
9344
  class: "r-dropdown-options__divider"
9345
- }, null, 8, h3)) : h("", !0),
9346
- (m(!0), a(A1, null, n1(F.value, (p) => (m(), a("li", {
9345
+ }, null, 8, h3)) : g("", !0),
9346
+ (m(!0), a(i1, null, n1(F.value, (p) => (m(), a("li", {
9347
9347
  id: `${t.id}-option-${p.value}`,
9348
9348
  key: p.value,
9349
9349
  "aria-disabled": p.disabled,
9350
9350
  class: O(["r-dropdown-options__option", {
9351
- "r-dropdown-options__option--active": f(p),
9351
+ "r-dropdown-options__option--active": h(p),
9352
9352
  "r-dropdown-options__option--disabled": p.disabled,
9353
- "r-dropdown-options__option--deselect": f(p) && C.disableDeselect
9353
+ "r-dropdown-options__option--deselect": h(p) && C.disableDeselect
9354
9354
  }]),
9355
- onClick: r1((Q) => x(Q, p, P, Y), ["prevent"])
9355
+ onClick: r1((Q) => x(Q, p, P, X), ["prevent"])
9356
9356
  }, [
9357
9357
  k(t.$slots, "option", {
9358
9358
  id: `${t.id}-option-${p.value}`,
9359
9359
  disabled: p.disabled,
9360
- isSelected: f(p),
9360
+ isSelected: h(p),
9361
9361
  item: p
9362
9362
  }, () => [
9363
9363
  Z("div", {
@@ -9367,36 +9367,36 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9367
9367
  k(t.$slots, "option-prepend", {
9368
9368
  id: `${t.id}-option-prepend-${p.value}`,
9369
9369
  disabled: p.disabled,
9370
- isSelected: f(p)
9370
+ isSelected: h(p)
9371
9371
  }, () => [
9372
9372
  p.prependIcon ? (m(), D(R, {
9373
9373
  key: 0,
9374
9374
  id: `${t.id}-option-prepend-icon-${p.value}`,
9375
9375
  class: O(["r-dropdown-options__option__prepend-icon", {
9376
- "r-dropdown-options__option__prepend-icon--active": f(p)
9376
+ "r-dropdown-options__option__prepend-icon--active": h(p)
9377
9377
  }]),
9378
9378
  name: p.prependIcon
9379
- }, null, 8, ["id", "class", "name"])) : h("", !0)
9379
+ }, null, 8, ["id", "class", "name"])) : g("", !0)
9380
9380
  ]),
9381
9381
  Z("p", {
9382
9382
  id: `${t.id}-option-label-${p.value}`,
9383
9383
  class: O(["r-dropdown-options__option__label", {
9384
- "r-dropdown-options__option__label--active": f(p)
9384
+ "r-dropdown-options__option__label--active": h(p)
9385
9385
  }])
9386
9386
  }, v(p.label), 11, B3)
9387
9387
  ], 8, k3),
9388
9388
  k(t.$slots, "option-append", {
9389
9389
  id: `${t.id}-option-append-${p.value}`,
9390
9390
  disabled: p.disabled,
9391
- isSelected: f(p)
9391
+ isSelected: h(p)
9392
9392
  }, () => [
9393
- f(p) && !C.hideOptionCheckIcon ? (m(), D(R, {
9393
+ h(p) && !C.hideOptionCheckIcon ? (m(), D(R, {
9394
9394
  key: 0,
9395
9395
  class: O(["r-dropdown-options__option__append-icon", {
9396
- "r-dropdown-options__option__append-icon--active": f(p)
9396
+ "r-dropdown-options__option__append-icon--active": h(p)
9397
9397
  }]),
9398
9398
  name: "mdiCheck"
9399
- }, null, 8, ["class"])) : h("", !0)
9399
+ }, null, 8, ["class"])) : g("", !0)
9400
9400
  ])
9401
9401
  ])
9402
9402
  ], 10, g3))), 128)),
@@ -9408,12 +9408,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9408
9408
  k(t.$slots, "not-options", {}, () => [
9409
9409
  f1(v(C.noOptionsText), 1)
9410
9410
  ])
9411
- ], 8, b3)) : h("", !0)
9411
+ ], 8, b3)) : g("", !0)
9412
9412
  ], 10, c3)
9413
9413
  ]),
9414
9414
  _: 3
9415
9415
  }, 8, ["id", "disabled", "tooltip-class"]),
9416
- t.$props.hideDetails ? h("", !0) : (m(), a("div", {
9416
+ t.$props.hideDetails ? g("", !0) : (m(), a("div", {
9417
9417
  key: 0,
9418
9418
  id: `${t.id}-details`,
9419
9419
  class: "r-dropdown-details"
@@ -9422,12 +9422,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9422
9422
  key: 0,
9423
9423
  id: `${t.id}-error`,
9424
9424
  class: "r-dropdown-error"
9425
- }, v(C.errorMsg), 9, w3)) : h("", !0),
9425
+ }, v(C.errorMsg), 9, w3)) : g("", !0),
9426
9426
  C.hint ? (m(), a("div", {
9427
9427
  key: 1,
9428
9428
  id: `${t.id}-hint`,
9429
9429
  class: "r-dropdown-hint"
9430
- }, v(C.hint), 9, y3)) : h("", !0)
9430
+ }, v(C.hint), 9, y3)) : g("", !0)
9431
9431
  ], 8, v3))
9432
9432
  ], 8, m3));
9433
9433
  }
@@ -9439,7 +9439,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9439
9439
  text: { default: "" }
9440
9440
  },
9441
9441
  setup(H) {
9442
- const V = H, C = g(() => V.id || "r-label");
9442
+ const V = H, C = f(() => V.id || "r-label");
9443
9443
  return (i, A) => (m(), a("label", {
9444
9444
  id: C.value,
9445
9445
  class: "r-label",
@@ -9472,12 +9472,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9472
9472
  },
9473
9473
  emits: ["update:modelValue"],
9474
9474
  setup(H, { emit: V }) {
9475
- const C = H, i = V, A = g(() => ({
9475
+ const C = H, i = V, A = f(() => ({
9476
9476
  "r-dialog": !0,
9477
9477
  "r-dialog--block": C.block,
9478
9478
  "p-0 gap-0": C.clearContent,
9479
9479
  [`${C.class}`]: !0
9480
- })), L = g(() => ({
9480
+ })), L = f(() => ({
9481
9481
  width: C.width,
9482
9482
  height: C.height
9483
9483
  }));
@@ -9516,20 +9516,20 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9516
9516
  id: `${e.id}-icon`,
9517
9517
  class: "icon"
9518
9518
  }, [
9519
- H1(R, {
9519
+ C1(R, {
9520
9520
  name: C.icon
9521
9521
  }, null, 8, ["name"])
9522
- ], 8, D3)) : h("", !0),
9522
+ ], 8, D3)) : g("", !0),
9523
9523
  C.title ? (m(), a("div", {
9524
9524
  key: 1,
9525
9525
  id: `${e.id}-title`,
9526
9526
  class: "title"
9527
- }, v(C.title), 9, E3)) : h("", !0),
9527
+ }, v(C.title), 9, E3)) : g("", !0),
9528
9528
  C.description ? (m(), a("div", {
9529
9529
  key: 2,
9530
9530
  id: `${e.id}-description`,
9531
9531
  class: "description"
9532
- }, v(C.description), 9, _3)) : h("", !0)
9532
+ }, v(C.description), 9, _3)) : g("", !0)
9533
9533
  ], 8, x3),
9534
9534
  Z("div", {
9535
9535
  id: `${e.id}-body`,
@@ -9593,7 +9593,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9593
9593
  }, () => [
9594
9594
  f1(" > ")
9595
9595
  ])
9596
- ], 10, Q3)) : h("", !0)
9596
+ ], 10, Q3)) : g("", !0)
9597
9597
  ], 10, N3));
9598
9598
  }
9599
9599
  }), G3 = ["id"], U3 = ["id"], i7 = /* @__PURE__ */ T({
@@ -9622,14 +9622,14 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9622
9622
  immediate: !0
9623
9623
  }
9624
9624
  );
9625
- const A = g(() => ({
9625
+ const A = f(() => ({
9626
9626
  "r-snackbar": !0,
9627
9627
  [`r-snackbar--${C.variant}`]: !0,
9628
9628
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
9629
9629
  [C.modelValue ? "r-snackbar--shown" : "r-snackbar--hidden"]: !0,
9630
9630
  [C.top ? "r-snackbar__top" : "r-snackbar__bottom"]: !0,
9631
9631
  "r-snackbar--closable": C.closable
9632
- })), L = g(() => ({
9632
+ })), L = f(() => ({
9633
9633
  success: "mdiCheckCircle",
9634
9634
  error: "mdiAlertCircle",
9635
9635
  warning: "mdiAlert",
@@ -9646,7 +9646,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9646
9646
  key: 0,
9647
9647
  class: "r-snackbar__icon",
9648
9648
  name: L.value
9649
- }, null, 8, ["name"])) : h("", !0)
9649
+ }, null, 8, ["name"])) : g("", !0)
9650
9650
  ]),
9651
9651
  Z("div", {
9652
9652
  id: `${M.id}-text`,
@@ -9666,13 +9666,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9666
9666
  k(M.$slots, "close", {
9667
9667
  id: `${M.id}-close-slot`
9668
9668
  }, () => [
9669
- H1(R, {
9669
+ C1(R, {
9670
9670
  id: `${M.id}-close-icon`,
9671
9671
  name: "mdiClose",
9672
9672
  size: 16
9673
9673
  }, null, 8, ["id"])
9674
9674
  ])
9675
- ])) : h("", !0)
9675
+ ])) : g("", !0)
9676
9676
  ], 10, G3));
9677
9677
  }
9678
9678
  }), z3 = ["id"], K3 = ["id", "checked", "disabled", "name"], q3 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), j3 = ["id", "for"], X3 = ["id"], Y3 = ["id"], J3 = ["id"], A7 = /* @__PURE__ */ T({
@@ -9693,12 +9693,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9693
9693
  setup(H, { emit: V }) {
9694
9694
  const C = H, i = V, A = E({
9695
9695
  checked: !1
9696
- }), L = g(() => ({
9696
+ }), L = f(() => ({
9697
9697
  "r-switch": !0,
9698
9698
  "r-switch--disabled": C.disabled,
9699
9699
  [`r-switch--${C.size}`]: C.size,
9700
9700
  "r-switch--error": C.errorMsg
9701
- })), M = g(() => C.id || "r-switch");
9701
+ })), M = f(() => C.id || "r-switch");
9702
9702
  function e(d) {
9703
9703
  C.disabled || (A.value.checked = d.target.checked, i("update:modelValue", A.value.checked));
9704
9704
  }
@@ -9739,11 +9739,11 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9739
9739
  }])
9740
9740
  }, [
9741
9741
  Z("label", {
9742
- id: `${M.value}-label`,
9742
+ id: `${M.value}`,
9743
9743
  class: "r-switch-texts__label",
9744
9744
  for: C.id
9745
9745
  }, v(C.label), 9, j3),
9746
- C.hideDetails ? h("", !0) : (m(), a("div", {
9746
+ C.hideDetails ? g("", !0) : (m(), a("div", {
9747
9747
  key: 0,
9748
9748
  id: `${M.value}-details`,
9749
9749
  class: "r-switch-texts__details"
@@ -9779,14 +9779,14 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9779
9779
  },
9780
9780
  emits: ["update:modelValue"],
9781
9781
  setup(H, { emit: V }) {
9782
- const C = H, i = V, A = g(() => ({
9782
+ const C = H, i = V, A = f(() => ({
9783
9783
  "r-tab-item": !0,
9784
9784
  [`r-tab-item--${C.variant}`]: !0,
9785
9785
  "r-tab-item--tile": C.tile,
9786
9786
  "r-tab-item--block": C.block
9787
- })), L = g(() => ({
9787
+ })), L = f(() => ({
9788
9788
  color: C.color
9789
- })), M = g(() => C.modelValue === C.id);
9789
+ })), M = f(() => C.modelValue === C.id);
9790
9790
  function e(d) {
9791
9791
  i("update:modelValue", d);
9792
9792
  }
@@ -9803,30 +9803,30 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9803
9803
  active: M.value,
9804
9804
  disabled: C.disabled
9805
9805
  }, () => [
9806
- C.variant !== z(c1).TEXT && C.prependIcon ? (m(), D(R, {
9806
+ C.variant !== A1(c1).TEXT && C.prependIcon ? (m(), D(R, {
9807
9807
  key: 0,
9808
9808
  class: "r-tab-item__prepend-icon",
9809
9809
  name: C.prependIcon,
9810
9810
  size: 16
9811
- }, null, 8, ["name"])) : h("", !0)
9811
+ }, null, 8, ["name"])) : g("", !0)
9812
9812
  ]),
9813
- C.variant !== z(c1).ICON ? (m(), a("span", H0, [
9813
+ C.variant !== A1(c1).ICON ? (m(), a("span", H0, [
9814
9814
  k(d.$slots, "default", {
9815
9815
  label: C.label
9816
9816
  }, () => [
9817
9817
  f1(v(C.label), 1)
9818
9818
  ])
9819
- ])) : h("", !0),
9819
+ ])) : g("", !0),
9820
9820
  k(d.$slots, "append", {
9821
9821
  active: M.value,
9822
9822
  disabled: C.disabled
9823
9823
  }, () => [
9824
- C.variant !== z(c1).TEXT && C.appendIcon ? (m(), D(R, {
9824
+ C.variant !== A1(c1).TEXT && C.appendIcon ? (m(), D(R, {
9825
9825
  key: 0,
9826
9826
  class: "r-tab-item__append-icon",
9827
9827
  name: C.appendIcon,
9828
9828
  size: 16
9829
- }, null, 8, ["name"])) : h("", !0)
9829
+ }, null, 8, ["name"])) : g("", !0)
9830
9830
  ])
9831
9831
  ], 14, C0));
9832
9832
  }
@@ -9842,7 +9842,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9842
9842
  },
9843
9843
  emits: ["update:modelValue"],
9844
9844
  setup(H, { emit: V }) {
9845
- const C = H, i = V, A = E(C.modelValue || (C.tabs.length > 0 ? C.tabs[0].id : "")), L = g(() => ({
9845
+ const C = H, i = V, A = E(C.modelValue || (C.tabs.length > 0 ? C.tabs[0].id : "")), L = f(() => ({
9846
9846
  "r-tabs": !0,
9847
9847
  "r-tabs--tile": C.tile
9848
9848
  }));
@@ -9875,7 +9875,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9875
9875
  id: `${M.id}-slot`,
9876
9876
  activeTab: A.value
9877
9877
  }, () => [
9878
- (m(!0), a(A1, null, n1(C.tabs, (d, l) => (m(), D(V0, {
9878
+ (m(!0), a(i1, null, n1(C.tabs, (d, l) => (m(), D(V0, {
9879
9879
  id: d.id,
9880
9880
  key: l,
9881
9881
  modelValue: A.value,
@@ -9921,20 +9921,20 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9921
9921
  immediate: !0
9922
9922
  }
9923
9923
  );
9924
- const M = computed(() => C.id || "r-textarea");
9924
+ const M = f(() => C.id || "r-textarea");
9925
9925
  return (e, d) => (m(), a("div", {
9926
- id: z(M),
9926
+ id: M.value,
9927
9927
  class: "r-textarea-wrapper"
9928
9928
  }, [
9929
9929
  C.label ? (m(), D(b2, {
9930
9930
  key: 0,
9931
- id: `${z(M)}-label`,
9931
+ id: `${M.value}`,
9932
9932
  class: "r-textarea__label",
9933
9933
  for: "textarea",
9934
9934
  text: C.label
9935
- }, null, 8, ["id", "text"])) : h("", !0),
9935
+ }, null, 8, ["id", "text"])) : g("", !0),
9936
9936
  Z("textarea", E1(e.$attrs, {
9937
- id: `${z(M)}-input`,
9937
+ id: `${M.value}-input`,
9938
9938
  class: ["r-textarea", {
9939
9939
  "r-textarea--error": C.errorMsg,
9940
9940
  "r-textarea--disabled": C.disabled
@@ -9944,18 +9944,18 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9944
9944
  value: A.value,
9945
9945
  onInput: L
9946
9946
  }), null, 16, A0),
9947
- C.hideDetails ? h("", !0) : (m(), a("div", {
9947
+ C.hideDetails ? g("", !0) : (m(), a("div", {
9948
9948
  key: 1,
9949
- id: `${z(M)}-details`,
9949
+ id: `${M.value}-details`,
9950
9950
  class: "r-textarea__details"
9951
9951
  }, [
9952
9952
  C.errorMsg ? (m(), a("p", {
9953
9953
  key: 0,
9954
- id: `${z(M)}-error`,
9954
+ id: `${M.value}-error`,
9955
9955
  class: "r-textarea__error"
9956
9956
  }, v(C.errorMsg), 9, d0)) : (m(), a("p", {
9957
9957
  key: 1,
9958
- id: `${z(M)}-hint`,
9958
+ id: `${M.value}-hint`,
9959
9959
  class: "r-textarea__hint"
9960
9960
  }, v(C.hint), 9, t0))
9961
9961
  ], 8, e0))
@@ -10003,48 +10003,48 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10003
10003
  url: "mdiLink",
10004
10004
  number: "mdiNumeric",
10005
10005
  text: ""
10006
- }, d = E(!1), l = g(() => !!L.value), n = g(() => L.value.length > 0), u = g(() => {
10007
- var f;
10008
- return (f = C.errorMsg) == null ? void 0 : f.length;
10009
- }), o = g(() => C.clearable && n.value), r = g(() => {
10010
- const { disabled: f, loading: F } = C;
10006
+ }, d = E(!1), l = f(() => !!L.value), n = f(() => L.value.length > 0), u = f(() => {
10007
+ var h;
10008
+ return (h = C.errorMsg) == null ? void 0 : h.length;
10009
+ }), o = f(() => C.clearable && n.value), r = f(() => {
10010
+ const { disabled: h, loading: F } = C;
10011
10011
  return {
10012
10012
  "r-textfield": !0,
10013
10013
  "r-textfield--error": u.value,
10014
10014
  "r-textfield--loading": F,
10015
- "r-textfield--disabled": f,
10015
+ "r-textfield--disabled": h,
10016
10016
  "r-textfield--clearable": o.value,
10017
10017
  "r-textfield--focus": d.value,
10018
10018
  "r-textfield--filled": l.value
10019
10019
  };
10020
- }), S = g(() => ({
10020
+ }), S = f(() => ({
10021
10021
  "r-textfield__prepend-icon": !0,
10022
10022
  "r-textfield__prepend-icon--loading": C.loading,
10023
10023
  "r-textfield__prepend-icon--error": u.value && l.value
10024
- })), b = g(() => ({
10024
+ })), b = f(() => ({
10025
10025
  "r-textfield__append-icon": !0,
10026
10026
  "r-textfield__append-icon--clear": o.value,
10027
10027
  "r-textfield__append-icon--error": u.value
10028
- })), B = g(() => {
10029
- const { prependIcon: f, type: F } = C;
10030
- return f === "none" ? "" : f || e[F];
10031
- }), y = g(() => {
10032
- const { appendIcon: f, type: F } = C;
10033
- return f === "none" ? "" : u.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(F) ? "mdiClose" : F === "password" && M.value === "password" ? "mdiEyeOutline" : F === "password" && M.value === "text" ? "mdiEyeOffOutline" : f;
10034
- }), c = g(() => C.id || "r-textfield");
10035
- function w(f) {
10036
- d.value = !0, i("focus", f);
10028
+ })), B = f(() => {
10029
+ const { prependIcon: h, type: F } = C;
10030
+ return h === "none" ? "" : h || e[F];
10031
+ }), y = f(() => {
10032
+ const { appendIcon: h, type: F } = C;
10033
+ return h === "none" ? "" : u.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(F) ? "mdiClose" : F === "password" && M.value === "password" ? "mdiEyeOutline" : F === "password" && M.value === "text" ? "mdiEyeOffOutline" : h;
10034
+ }), c = f(() => C.id || "r-textfield");
10035
+ function w(h) {
10036
+ d.value = !0, i("focus", h);
10037
10037
  }
10038
- function _(f) {
10039
- d.value = !1, i("blur", f);
10038
+ function _(h) {
10039
+ d.value = !1, i("blur", h);
10040
10040
  }
10041
- function x(f) {
10042
- L.value = f.target.value, i("input", f);
10041
+ function x(h) {
10042
+ L.value = h.target.value, i("input", h);
10043
10043
  }
10044
10044
  function U() {
10045
- var f;
10045
+ var h;
10046
10046
  if (o.value) {
10047
- L.value = "", (f = A.value) == null || f.focus(), i("click:clear", {
10047
+ L.value = "", (h = A.value) == null || h.focus(), i("click:clear", {
10048
10048
  value: M.value === "number" ? +L.value : L.value
10049
10049
  });
10050
10050
  return;
@@ -10056,38 +10056,38 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10056
10056
  function $() {
10057
10057
  M.value = M.value === "password" ? "text" : "password";
10058
10058
  }
10059
- function C1() {
10060
- var f;
10061
- (f = A.value) == null || f.focus();
10059
+ function J() {
10060
+ var h;
10061
+ (h = A.value) == null || h.focus();
10062
10062
  }
10063
10063
  return W(
10064
10064
  () => C.modelValue,
10065
- (f) => {
10066
- L.value = f;
10065
+ (h) => {
10066
+ L.value = h;
10067
10067
  },
10068
10068
  {
10069
10069
  immediate: !0
10070
10070
  }
10071
10071
  ), W(
10072
10072
  () => L.value,
10073
- (f) => {
10073
+ (h) => {
10074
10074
  i(
10075
10075
  "update:modelValue",
10076
- M.value === "number" ? +f : f
10076
+ M.value === "number" ? +h : h
10077
10077
  );
10078
10078
  }
10079
- ), (f, F) => (m(), a("div", {
10079
+ ), (h, F) => (m(), a("div", {
10080
10080
  id: c.value,
10081
10081
  class: "r-textfield__wrapper"
10082
10082
  }, [
10083
10083
  C.label ? (m(), D(b2, {
10084
10084
  key: 0,
10085
- id: `${c.value}-label`,
10085
+ id: `${c.value}`,
10086
10086
  class: "r-textfield__label",
10087
10087
  for: c.value,
10088
10088
  text: C.label,
10089
- onClick: C1
10090
- }, null, 8, ["id", "for", "text"])) : h("", !0),
10089
+ onClick: J
10090
+ }, null, 8, ["id", "for", "text"])) : g("", !0),
10091
10091
  Z("div", {
10092
10092
  id: `${c.value}-input-wrapper`,
10093
10093
  class: "input-wrapper"
@@ -10096,7 +10096,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10096
10096
  id: `${c.value}-input-wrapper-inner`,
10097
10097
  class: O(r.value)
10098
10098
  }, [
10099
- k(f.$slots, "prepend", {
10099
+ k(h.$slots, "prepend", {
10100
10100
  id: `${c.value}-prepend-slot`,
10101
10101
  disabled: C.disabled,
10102
10102
  error: u.value,
@@ -10108,9 +10108,9 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10108
10108
  class: O(S.value),
10109
10109
  name: B.value,
10110
10110
  size: 20
10111
- }, null, 8, ["id", "class", "name"])) : h("", !0)
10111
+ }, null, 8, ["id", "class", "name"])) : g("", !0)
10112
10112
  ]),
10113
- Z("input", E1(f.$attrs, {
10113
+ Z("input", E1(h.$attrs, {
10114
10114
  id: `${c.value}-input`,
10115
10115
  ref_key: "inputRef",
10116
10116
  ref: A,
@@ -10126,30 +10126,30 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10126
10126
  onFocus: w,
10127
10127
  onInput: x
10128
10128
  }), null, 16, n0),
10129
- k(f.$slots, "append", {
10129
+ k(h.$slots, "append", {
10130
10130
  id: `${c.value}-append-slot`,
10131
10131
  disabled: C.disabled,
10132
10132
  error: u.value,
10133
10133
  loading: C.loading
10134
10134
  }, () => [
10135
- f.$props.type === "password" && u.value ? (m(), D(R, {
10135
+ h.$props.type === "password" && u.value ? (m(), D(R, {
10136
10136
  key: 0,
10137
10137
  id: `${c.value}-append-icon`,
10138
10138
  name: M.value === "password" ? "mdiEyeOutline" : "mdiEyeOffOutline",
10139
10139
  size: 20,
10140
10140
  onClick: U
10141
- }, null, 8, ["id", "name"])) : h("", !0),
10142
- y.value && !f.$slots.append || u.value ? (m(), D(R, {
10141
+ }, null, 8, ["id", "name"])) : g("", !0),
10142
+ y.value && !h.$slots.append || u.value ? (m(), D(R, {
10143
10143
  key: 1,
10144
10144
  id: `${c.value}-append-icon`,
10145
10145
  class: O(b.value),
10146
10146
  name: `${y.value}`,
10147
10147
  size: 20,
10148
10148
  onClick: U
10149
- }, null, 8, ["id", "class", "name"])) : h("", !0)
10149
+ }, null, 8, ["id", "class", "name"])) : g("", !0)
10150
10150
  ])
10151
10151
  ], 10, o0),
10152
- C.hideDetails ? h("", !0) : (m(), a("div", {
10152
+ C.hideDetails ? g("", !0) : (m(), a("div", {
10153
10153
  key: 0,
10154
10154
  id: `${c.value}-details`,
10155
10155
  class: "r-textfield__details"
@@ -10158,8 +10158,8 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10158
10158
  key: 0,
10159
10159
  id: `${c.value}-error`,
10160
10160
  class: "r-textfield__error"
10161
- }, v(C.errorMsg), 9, a0)) : h("", !0),
10162
- !C.errorMsg && C.hint ? (m(), a("p", Z0, v(C.hint), 1)) : h("", !0)
10161
+ }, v(C.errorMsg), 9, a0)) : g("", !0),
10162
+ !C.errorMsg && C.hint ? (m(), a("p", Z0, v(C.hint), 1)) : g("", !0)
10163
10163
  ], 8, r0))
10164
10164
  ], 8, l0)
10165
10165
  ], 8, m0));
@@ -10179,11 +10179,11 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10179
10179
  id: C.id,
10180
10180
  class: "r-breadcrumb"
10181
10181
  }, [
10182
- (m(!0), a(A1, null, n1(V.items, (L, M) => (m(), a("div", {
10182
+ (m(!0), a(i1, null, n1(V.items, (L, M) => (m(), a("div", {
10183
10183
  key: M,
10184
10184
  class: "r-breadcrumb__item"
10185
10185
  }, [
10186
- H1(A, {
10186
+ C1(A, {
10187
10187
  id: `${C.id}-link-${M}`,
10188
10188
  class: "r-breadcrumb__link",
10189
10189
  to: L.to
@@ -10193,9 +10193,9 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10193
10193
  L.icon ? (m(), D(R, {
10194
10194
  key: 0,
10195
10195
  name: L.icon
10196
- }, null, 8, ["name"])) : h("", !0)
10196
+ }, null, 8, ["name"])) : g("", !0)
10197
10197
  ]),
10198
- L.onlyIcon ? h("", !0) : (m(), a("span", {
10198
+ L.onlyIcon ? g("", !0) : (m(), a("span", {
10199
10199
  key: 0,
10200
10200
  id: `${C.id}-title-${M}`,
10201
10201
  class: "r-breadcrumb__title"
@@ -10211,7 +10211,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10211
10211
  id: `${C.id}-separator-${M}`,
10212
10212
  class: "r-breadcrumb__separator",
10213
10213
  name: V.seperator
10214
- }, null, 8, ["id", "name"])) : h("", !0)
10214
+ }, null, 8, ["id", "name"])) : g("", !0)
10215
10215
  ])
10216
10216
  ]))), 128))
10217
10217
  ], 8, u0);
@@ -10261,10 +10261,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10261
10261
  },
10262
10262
  emits: ["update:page", "update:perPage", "update:info"],
10263
10263
  setup(H, { emit: V }) {
10264
- const C = H, i = V, A = E(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), M = g(() => ({
10264
+ const C = H, i = V, A = E(C.perPage || 10), L = f(() => Math.ceil(C.totalItems / C.perPage)), M = f(() => ({
10265
10265
  start: C.page * C.perPage - C.perPage,
10266
10266
  end: C.page * C.perPage
10267
- })), e = g(() => C.infoText || `${M.value.start + 1}-${M.value.end} of ${C.totalItems}`), d = g(() => +C.page == +L.value), l = g(() => +C.page == 1);
10267
+ })), e = f(() => C.infoText || `${M.value.start + 1}-${M.value.end} of ${C.totalItems}`), d = f(() => +C.page == +L.value), l = f(() => +C.page == 1);
10268
10268
  W(() => M.value, () => {
10269
10269
  i("update:info", M.value);
10270
10270
  }), W(() => C.perPage, () => {
@@ -10294,7 +10294,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10294
10294
  class: "r-pagination__paginator__per-page"
10295
10295
  }, [
10296
10296
  Z("span", null, v(C.itemsPerPageText), 1),
10297
- H1(P3, {
10297
+ C1(P3, {
10298
10298
  modelValue: A.value,
10299
10299
  "onUpdate:modelValue": [
10300
10300
  r[0] || (r[0] = (S) => A.value = S),
@@ -10438,7 +10438,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10438
10438
  },
10439
10439
  emits: ["update:modelValue"],
10440
10440
  setup(H, { emit: V }) {
10441
- const C = H, i = V, A = E(C.as ?? "div"), L = E(C.modelValue), M = g(() => C.selectedClass);
10441
+ const C = H, i = V, A = E(C.as ?? "div"), L = E(C.modelValue), M = f(() => C.selectedClass);
10442
10442
  b1(`${w1}:selectedClass`, M.value);
10443
10443
  function e(n) {
10444
10444
  return L.value.includes(n);
@@ -10473,7 +10473,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10473
10473
  id: { default: "r-item" }
10474
10474
  },
10475
10475
  setup(H) {
10476
- const V = H, C = v1(`${y1}:isSelected`), i = v1(`${y1}:selectedClass`, ""), A = v1(`${y1}:select`), L = v1(`${y1}:isDisabled`), M = g(() => C(V.value) && [i, V.selectedClass]);
10476
+ const V = H, C = v1(`${y1}:isSelected`), i = v1(`${y1}:selectedClass`, ""), A = v1(`${y1}:select`), L = v1(`${y1}:isDisabled`), M = f(() => C(V.value) && [i, V.selectedClass]);
10477
10477
  function e() {
10478
10478
  V.disabled || A(V.value, !C(V.value));
10479
10479
  }
@@ -10482,8 +10482,8 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10482
10482
  }
10483
10483
  return (l, n) => k(l.$slots, "default", {
10484
10484
  id: `${l.id}-slot`,
10485
- disabled: z(L)(V.value),
10486
- isSelected: z(C)(V.value),
10485
+ disabled: A1(L)(V.value),
10486
+ isSelected: A1(C)(V.value),
10487
10487
  select: d,
10488
10488
  selectedClass: M.value,
10489
10489
  toggle: e
@@ -10504,7 +10504,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10504
10504
  },
10505
10505
  emits: ["update:modelValue"],
10506
10506
  setup(H) {
10507
- const V = H, C = g(() => V.id || "r-radio"), i = E(V.modelValue), A = g(() => [
10507
+ const V = H, C = f(() => V.id || "r-radio"), i = E(V.modelValue), A = f(() => [
10508
10508
  "r-radio group",
10509
10509
  {
10510
10510
  "r-radio--disabled": V.disabled,
@@ -10528,7 +10528,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10528
10528
  onChange: M[0] || (M[0] = (e) => L.$emit("update:modelValue"))
10529
10529
  }), null, 16, I0),
10530
10530
  Z("span", {
10531
- id: `${C.value}-label`,
10531
+ id: `${C.value}`,
10532
10532
  class: O(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10533
10533
  onClick: M[1] || (M[1] = (e) => L.$emit("update:modelValue"))
10534
10534
  }, [
@@ -10541,7 +10541,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10541
10541
  key: 0,
10542
10542
  id: `${C.value}-title`,
10543
10543
  class: O(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10544
- }, v(V.title), 11, z0)) : h("", !0),
10544
+ }, v(V.title), 11, z0)) : g("", !0),
10545
10545
  Z("span", null, v(V.label), 1)
10546
10546
  ])
10547
10547
  ], 10, Q0),
@@ -10549,12 +10549,12 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10549
10549
  key: 0,
10550
10550
  id: `${C.value}-hint`,
10551
10551
  class: O(["r-radio__hint", [V.disabled && "r-radio__hint--disabled"]])
10552
- }, v(V.hint), 11, K0)) : h("", !0),
10552
+ }, v(V.hint), 11, K0)) : g("", !0),
10553
10553
  V.errorMsg ? (m(), a("span", {
10554
10554
  key: 1,
10555
10555
  id: `${C.value}-error`,
10556
10556
  class: "r-radio__error"
10557
- }, v(V.errorMsg), 9, q0)) : h("", !0)
10557
+ }, v(V.errorMsg), 9, q0)) : g("", !0)
10558
10558
  ], 10, N0));
10559
10559
  }
10560
10560
  });