@rocketui/vue 0.2.70 → 0.2.71

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 R, openBlock as t, createElementBlock as r, createElementVNode as Z, unref as J, reactive as y1, Fragment as H1, renderList as d1, normalizeClass as p, renderSlot as h, toDisplayString as b, createVNode as q, computed as f, createCommentVNode as O, mergeProps as I1, createBlock as _, watch as I, getCurrentScope as p2, onScopeDispose as O2, ref as E, watchEffect as f2, onMounted as M2, Teleport as h2, withCtx as k1, withDirectives as i2, withModifiers as t1, withKeys as q1, vModelText as g2, createTextVNode as S1, onUnmounted as k2, normalizeStyle as Q1, vShow as B2, resolveComponent as b2, provide as O1, resolveDynamicComponent as w2, inject as f1 } from "vue";
1
+ import { defineComponent as R, openBlock as t, createElementBlock as r, createElementVNode as u, unref as J, reactive as y1, Fragment as H1, renderList as d1, normalizeClass as p, renderSlot as f, toDisplayString as b, createVNode as q, computed as h, createCommentVNode as O, mergeProps as I1, createBlock as _, watch as Q, getCurrentScope as p2, onScopeDispose as O2, ref as E, watchEffect as f2, onMounted as M2, Teleport as h2, withCtx as k1, withDirectives as i2, withModifiers as t1, withKeys as q1, vModelText as g2, createTextVNode as S1, onUnmounted as k2, normalizeStyle as Q1, vShow as B2, resolveComponent as b2, provide as O1, resolveDynamicComponent as w2, inject as f1 } from "vue";
2
2
  const v2 = {
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",
@@ -7311,7 +7311,7 @@ const v2 = {
7311
7311
  viewBox: V.viewBox,
7312
7312
  width: V.size
7313
7313
  }, [
7314
- Z("path", {
7314
+ u("path", {
7315
7315
  d: J(v2)[V.name]
7316
7316
  }, null, 8, P2)
7317
7317
  ], 8, y2));
@@ -7351,12 +7351,12 @@ const v2 = {
7351
7351
  "data-state": A.open ? "opened" : "closed",
7352
7352
  onClick: (d) => M(e)
7353
7353
  }, [
7354
- Z("div", F2, [
7355
- h(i.$slots, "title", { accordion: A }, () => [
7356
- Z("div", R2, b(A.title), 1)
7354
+ u("div", F2, [
7355
+ f(i.$slots, "title", { accordion: A }, () => [
7356
+ u("div", R2, b(A.title), 1)
7357
7357
  ]),
7358
- Z("div", x2, [
7359
- h(i.$slots, "icon", {
7358
+ u("div", x2, [
7359
+ f(i.$slots, "icon", {
7360
7360
  item: A,
7361
7361
  open: A.open
7362
7362
  }, () => [
@@ -7364,9 +7364,9 @@ const v2 = {
7364
7364
  ])
7365
7365
  ])
7366
7366
  ]),
7367
- Z("div", D2, [
7368
- h(i.$slots, "content", { accordion: A }, () => [
7369
- Z("span", null, b(A.content), 1)
7367
+ u("div", D2, [
7368
+ f(i.$slots, "content", { accordion: A }, () => [
7369
+ u("span", null, b(A.content), 1)
7370
7370
  ])
7371
7371
  ])
7372
7372
  ], 10, T2))), 128));
@@ -7389,12 +7389,12 @@ const v2 = {
7389
7389
  },
7390
7390
  emits: ["close"],
7391
7391
  setup(H, { emit: V }) {
7392
- const C = H, M = V, i = f(() => ({
7392
+ const C = H, M = V, i = h(() => ({
7393
7393
  " r-alert": !0,
7394
7394
  [`r-alert--${C.variant}`]: !0,
7395
7395
  "r-alert--block": C.block,
7396
7396
  [`r-alert--${C.variant}--${C.type}`]: !0
7397
- })), L = f(() => ({
7397
+ })), L = h(() => ({
7398
7398
  success: "mdiCheckCircle",
7399
7399
  error: "mdiAlertCircle",
7400
7400
  warning: "mdiAlert",
@@ -7406,22 +7406,22 @@ const v2 = {
7406
7406
  return (e, d) => (t(), r("div", {
7407
7407
  class: p(i.value)
7408
7408
  }, [
7409
- Z("div", _2, [
7410
- h(e.$slots, "alert-icon", {}, () => [
7409
+ u("div", _2, [
7410
+ f(e.$slots, "alert-icon", {}, () => [
7411
7411
  q(D, {
7412
7412
  name: L.value,
7413
7413
  size: 24
7414
7414
  }, null, 8, ["name"])
7415
7415
  ])
7416
7416
  ]),
7417
- Z("div", E2, [
7418
- h(e.$slots, "content", {}, () => [
7419
- Z("p", W2, b(C.title), 1),
7417
+ u("div", E2, [
7418
+ f(e.$slots, "content", {}, () => [
7419
+ u("p", W2, b(C.title), 1),
7420
7420
  C.description ? (t(), r("p", N2, b(C.description), 1)) : O("", !0)
7421
7421
  ])
7422
7422
  ]),
7423
7423
  C.closable ? (t(), r("div", I2, [
7424
- h(e.$slots, "custom-close", {
7424
+ f(e.$slots, "custom-close", {
7425
7425
  close: A,
7426
7426
  slotClass: "r-alert__close__button"
7427
7427
  }, () => [
@@ -7446,16 +7446,16 @@ const v2 = {
7446
7446
  text: { default: "" }
7447
7447
  },
7448
7448
  setup(H) {
7449
- const V = H, C = f(() => ({
7449
+ const V = H, C = h(() => ({
7450
7450
  "r-avatar": !0,
7451
7451
  [`r-avatar--${V.size}`]: !0
7452
- })), M = f(() => V.type === "image" && !V.src), i = f(() => M.value ? j1 : V.src);
7452
+ })), M = h(() => V.type === "image" && !V.src), i = h(() => M.value ? j1 : V.src);
7453
7453
  function L(A) {
7454
7454
  const e = A.split(" ");
7455
7455
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7456
7456
  }
7457
7457
  return (A, e) => (t(), r("div", Q2, [
7458
- Z("div", {
7458
+ u("div", {
7459
7459
  class: p(C.value)
7460
7460
  }, [
7461
7461
  V.type === "text" ? (t(), r("p", {
@@ -7495,7 +7495,7 @@ const v2 = {
7495
7495
  },
7496
7496
  emits: ["click"],
7497
7497
  setup(H) {
7498
- const V = H, C = f(() => ({
7498
+ const V = H, C = h(() => ({
7499
7499
  "r-badge": !0,
7500
7500
  [`r-badge--content ${V.contentClass}`]: V.content,
7501
7501
  [`r-badge--overlap-${V.placement}`]: V.overlap,
@@ -7508,14 +7508,14 @@ const v2 = {
7508
7508
  return (M, i) => (t(), r("div", {
7509
7509
  class: p(["r-badge-wrapper group", [V.wrapperClass]])
7510
7510
  }, [
7511
- Z("span", {
7511
+ u("span", {
7512
7512
  class: p([{ "animate-ping-2": V.animation }, C.value])
7513
7513
  }, null, 2),
7514
- Z("span", {
7514
+ u("span", {
7515
7515
  class: p(C.value),
7516
7516
  innerHTML: V.content
7517
7517
  }, null, 10, $2),
7518
- h(M.$slots, "default")
7518
+ f(M.$slots, "default")
7519
7519
  ], 2));
7520
7520
  }
7521
7521
  }), U2 = ["disabled"], p0 = /* @__PURE__ */ R({
@@ -7534,7 +7534,7 @@ const v2 = {
7534
7534
  },
7535
7535
  emits: ["click"],
7536
7536
  setup(H) {
7537
- const V = H, C = f(() => ({
7537
+ const V = H, C = h(() => ({
7538
7538
  "r-button": !0,
7539
7539
  [`r-button__${V.variant}`]: !0,
7540
7540
  [`r-button__${V.variant}--${V.variant === "default" && V.color === void 0 ? "primary" : V.color}`]: !0,
@@ -7542,11 +7542,11 @@ const v2 = {
7542
7542
  [`r-button--${V.size || "medium"}`]: !0,
7543
7543
  "r-button--only-icon": V.icon,
7544
7544
  "r-button--block": V.block
7545
- })), M = f(() => ({
7545
+ })), M = h(() => ({
7546
7546
  small: 16,
7547
7547
  medium: 16,
7548
7548
  large: 20
7549
- })[V.size || "medium"]), i = f(() => ({
7549
+ })[V.size || "medium"]), i = h(() => ({
7550
7550
  height: V.height ? `${V.height}px` : ""
7551
7551
  }));
7552
7552
  return (L, A) => (t(), r("button", I1(L.$attrs, {
@@ -7555,7 +7555,7 @@ const v2 = {
7555
7555
  style: i.value,
7556
7556
  onClick: A[0] || (A[0] = (e) => L.$emit("click"))
7557
7557
  }), [
7558
- h(L.$slots, "prepend", {
7558
+ f(L.$slots, "prepend", {
7559
7559
  onlyIcon: V.icon
7560
7560
  }, () => [
7561
7561
  V.prependIcon ? (t(), _(D, {
@@ -7567,8 +7567,8 @@ const v2 = {
7567
7567
  size: M.value
7568
7568
  }, null, 8, ["class", "name", "size"])) : O("", !0)
7569
7569
  ]),
7570
- h(L.$slots, "default", { disabled: L.disabled }),
7571
- h(L.$slots, "append", {
7570
+ f(L.$slots, "default", { disabled: L.disabled }),
7571
+ f(L.$slots, "append", {
7572
7572
  onlyIcon: V.icon
7573
7573
  }, () => [
7574
7574
  !V.icon && V.appendIcon ? (t(), _(D, {
@@ -7610,7 +7610,7 @@ const v2 = {
7610
7610
  checked: "mdiCheck",
7611
7611
  unchecked: "",
7612
7612
  indeterminate: "mdiMinus"
7613
- }, A = f(() => i.indeterminate ? L.indeterminate : i.checked ? L.checked : L.unchecked), e = f(() => ({
7613
+ }, A = h(() => i.indeterminate ? L.indeterminate : i.checked ? L.checked : L.unchecked), e = h(() => ({
7614
7614
  "r-checkbox": !0,
7615
7615
  "r-checkbox--checked": i.checked,
7616
7616
  "r-checkbox--disabled": C.disabled,
@@ -7620,7 +7620,7 @@ const v2 = {
7620
7620
  function d(m) {
7621
7621
  C.disabled || (i.checked = m.target.checked, i.indeterminate = !1, M("update:modelValue", i.checked));
7622
7622
  }
7623
- return I(
7623
+ return Q(
7624
7624
  () => C.indeterminate,
7625
7625
  (m) => {
7626
7626
  i.indeterminate = m, m === !0 && (i.checked = !1, M("update:modelValue", i.checked));
@@ -7630,7 +7630,7 @@ const v2 = {
7630
7630
  // TODO: find a better way to do this
7631
7631
  immediate: !0
7632
7632
  }
7633
- ), I(
7633
+ ), Q(
7634
7634
  () => C.modelValue,
7635
7635
  (m) => {
7636
7636
  i.checked = m;
@@ -7641,8 +7641,8 @@ const v2 = {
7641
7641
  immediate: !0
7642
7642
  }
7643
7643
  ), (m, n) => (t(), r("div", z2, [
7644
- Z("div", K2, [
7645
- Z("input", {
7644
+ u("div", K2, [
7645
+ u("input", {
7646
7646
  id: C.id,
7647
7647
  checked: i.checked,
7648
7648
  class: "r-checkbox-container__input",
@@ -7651,7 +7651,7 @@ const v2 = {
7651
7651
  type: "checkbox",
7652
7652
  onChange: d
7653
7653
  }, null, 40, q2),
7654
- Z("div", {
7654
+ u("div", {
7655
7655
  class: p(e.value),
7656
7656
  "data-disabled": C.disabled
7657
7657
  }, [
@@ -7661,8 +7661,8 @@ const v2 = {
7661
7661
  }, null, 8, ["name"])
7662
7662
  ], 10, j2)
7663
7663
  ]),
7664
- Z("div", X2, [
7665
- Z("label", {
7664
+ u("div", X2, [
7665
+ u("label", {
7666
7666
  class: "r-checkbox-texts__label",
7667
7667
  "data-disabled": C.disabled,
7668
7668
  for: C.id
@@ -7687,7 +7687,7 @@ const v2 = {
7687
7687
  },
7688
7688
  emits: ["click:chip", "click:close"],
7689
7689
  setup(H, { emit: V }) {
7690
- const C = H, M = V, i = f(() => ({
7690
+ const C = H, M = V, i = h(() => ({
7691
7691
  "r-chip": !0,
7692
7692
  "r-chip--disabled": C.disabled,
7693
7693
  [`r-chip__${C.variant}`]: C.variant,
@@ -7700,15 +7700,15 @@ const v2 = {
7700
7700
  function A(d) {
7701
7701
  C.disabled || !C.clearable || (d.stopPropagation(), M("click:close", d));
7702
7702
  }
7703
- const e = f(() => C.clearable ? "mdiClose" : C.appendIcon);
7703
+ const e = h(() => C.clearable ? "mdiClose" : C.appendIcon);
7704
7704
  return (d, m) => (t(), r("div", {
7705
7705
  class: p(i.value)
7706
7706
  }, [
7707
- Z("div", {
7707
+ u("div", {
7708
7708
  class: "r-chip__content",
7709
7709
  onClick: m[0] || (m[0] = (n) => L(n))
7710
7710
  }, [
7711
- h(d.$slots, "prepend", {
7711
+ f(d.$slots, "prepend", {
7712
7712
  disabled: C.disabled
7713
7713
  }, () => [
7714
7714
  C.prependIcon ? (t(), _(D, {
@@ -7719,11 +7719,11 @@ const v2 = {
7719
7719
  size: 12
7720
7720
  }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7721
7721
  ]),
7722
- Z("span", {
7722
+ u("span", {
7723
7723
  class: p(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7724
7724
  }, b(C.label), 3)
7725
7725
  ]),
7726
- h(d.$slots, "append", {
7726
+ f(d.$slots, "append", {
7727
7727
  disabled: C.disabled
7728
7728
  }, () => [
7729
7729
  e.value ? (t(), _(D, {
@@ -7765,7 +7765,7 @@ function x1(...H) {
7765
7765
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7766
7766
  const L = [], A = () => {
7767
7767
  L.forEach((n) => n()), L.length = 0;
7768
- }, e = (n, a, o, l) => (n.addEventListener(a, o, l), () => n.removeEventListener(a, o, l)), d = I(
7768
+ }, e = (n, a, o, l) => (n.addEventListener(a, o, l), () => n.removeEventListener(a, o, l)), d = Q(
7769
7769
  () => [r1(V), A2(i)],
7770
7770
  ([n, a]) => {
7771
7771
  if (A(), !n)
@@ -8101,7 +8101,7 @@ const s5 = (H) => ({
8101
8101
  }, l = $1(i), S = G1(l), B = await A.getDimensions(m), y = l === "y", k = y ? "top" : "left", w = y ? "bottom" : "right", T = y ? "clientHeight" : "clientWidth", F = L.reference[S] + L.reference[l] - o[l] - L.floating[S], P = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(m));
8102
8102
  let W = U ? U[T] : 0;
8103
8103
  (!W || !await (A.isElement == null ? void 0 : A.isElement(U))) && (W = e.floating[T] || L.floating[S]);
8104
- const g = F / 2 - P / 2, N = W / 2 - B[S] / 2 - 1, i1 = Z1(a[k], N), A1 = Z1(a[w], N), Q = i1, u = W - B[S] - A1, s = W / 2 - B[S] / 2 + g, v = _1(Q, s, u), x = !d.arrow && s1(i) != null && s != v && L.reference[S] / 2 - (s < Q ? i1 : A1) - B[S] / 2 < 0, c = x ? s < Q ? s - Q : s - u : 0;
8104
+ const g = F / 2 - P / 2, N = W / 2 - B[S] / 2 - 1, i1 = Z1(a[k], N), A1 = Z1(a[w], N), I = i1, Z = W - B[S] - A1, s = W / 2 - B[S] / 2 + g, v = _1(I, s, Z), x = !d.arrow && s1(i) != null && s != v && L.reference[S] / 2 - (s < I ? i1 : A1) - B[S] / 2 < 0, c = x ? s < I ? s - I : s - Z : 0;
8105
8105
  return {
8106
8106
  [l]: o[l] + c,
8107
8107
  data: {
@@ -8143,23 +8143,23 @@ const s5 = (H) => ({
8143
8143
  const P = [e, ...F], U = await v1(V, y), W = [];
8144
8144
  let g = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8145
8145
  if (n && W.push(U[k]), a) {
8146
- const Q = n5(i, A, T);
8147
- W.push(U[Q[0]], U[Q[1]]);
8146
+ const I = n5(i, A, T);
8147
+ W.push(U[I[0]], U[I[1]]);
8148
8148
  }
8149
8149
  if (g = [...g, {
8150
8150
  placement: i,
8151
8151
  overflows: W
8152
- }], !W.every((Q) => Q <= 0)) {
8152
+ }], !W.every((I) => I <= 0)) {
8153
8153
  var N, i1;
8154
- const Q = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, u = P[Q];
8155
- if (u)
8154
+ const I = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, Z = P[I];
8155
+ if (Z)
8156
8156
  return {
8157
8157
  data: {
8158
- index: Q,
8158
+ index: I,
8159
8159
  overflows: g
8160
8160
  },
8161
8161
  reset: {
8162
- placement: u
8162
+ placement: Z
8163
8163
  }
8164
8164
  };
8165
8165
  let s = (i1 = g.filter((v) => v.overflows[0] <= 0).sort((v, x) => v.overflows[1] - x.overflows[1])[0]) == null ? void 0 : i1.placement;
@@ -8780,7 +8780,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8780
8780
  const { placement: w, offset: T, padding: F, disabled: P, showDelay: U, type: W } = C;
8781
8781
  P || I5(i, L, A, w, T, F, U, W);
8782
8782
  }
8783
- const y = f(() => ({
8783
+ const y = h(() => ({
8784
8784
  "r-tooltip": !0,
8785
8785
  "r-tooltip--dark": C.dark && !C.light,
8786
8786
  "r-tooltip--light": C.light
@@ -8801,7 +8801,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8801
8801
  B();
8802
8802
  });
8803
8803
  }), (k, w) => (t(), r(H1, null, [
8804
- Z("div", {
8804
+ u("div", {
8805
8805
  ref_key: "trigger",
8806
8806
  ref: i,
8807
8807
  "aria-disabled": C.disabled,
@@ -8811,7 +8811,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8811
8811
  onMouseleave: l,
8812
8812
  onMousemove: S
8813
8813
  }, [
8814
- h(k.$slots, "default", {
8814
+ f(k.$slots, "default", {
8815
8815
  activators: {
8816
8816
  click: a,
8817
8817
  mouseenter: o,
@@ -8821,13 +8821,13 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8821
8821
  tooltipId: J(e),
8822
8822
  updatePosition: B
8823
8823
  }, () => [
8824
- Z("div", {
8824
+ u("div", {
8825
8825
  innerHTML: C.triggerContent
8826
8826
  }, null, 8, G5)
8827
8827
  ])
8828
8828
  ], 42, Q5),
8829
8829
  (t(), _(h2, { to: "body" }, [
8830
- Z("div", {
8830
+ u("div", {
8831
8831
  id: J(e),
8832
8832
  ref_key: "tooltip",
8833
8833
  ref: L,
@@ -8835,7 +8835,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8835
8835
  "data-show": "false",
8836
8836
  role: "tooltip"
8837
8837
  }, [
8838
- h(k.$slots, "content", {
8838
+ f(k.$slots, "content", {
8839
8839
  hide: m,
8840
8840
  updatePosition: B
8841
8841
  }, () => [
@@ -8863,7 +8863,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8863
8863
  }
8864
8864
  }), z5 = ["id", "onClick"], K5 = { class: "r-dropdown__selections" }, q5 = { class: "flex flex-wrap items-center gap-2 text-sm" }, j5 = {
8865
8865
  key: 0,
8866
- class: "text-sm text-gray-600"
8866
+ class: "r-dropdown__remaining-count-text"
8867
8867
  }, X5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], Y5 = ["data-has-value", "onClick"], J5 = ["onClick"], C3 = { class: "flex items-center" }, H3 = { class: "r-dropdown-options__option__label" }, V3 = {
8868
8868
  key: 1,
8869
8869
  class: "r-dropdown-options__divider"
@@ -8913,30 +8913,30 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8913
8913
  emits: ["update:modelValue", "clear", "removeOption"],
8914
8914
  setup(H, { emit: V }) {
8915
8915
  const C = H, M = V, i = E({}), L = E([]), A = E(!1), e = E("");
8916
- function d(u) {
8917
- if (!u || typeof u == "object" || typeof u == "function" || typeof u == "symbol" || typeof u > "u" || Array.isArray(u))
8916
+ function d(Z) {
8917
+ if (!Z || typeof Z == "object" || typeof Z == "function" || typeof Z == "symbol" || typeof Z > "u" || Array.isArray(Z))
8918
8918
  return !0;
8919
- const [s] = Object == null ? void 0 : Object.keys(u);
8919
+ const [s] = Object == null ? void 0 : Object.keys(Z);
8920
8920
  return ["label", "value"].includes(s);
8921
8921
  }
8922
- const m = f(() => {
8923
- const u = C.options;
8924
- return d(u[0]) ? u : u.map((s) => ({
8922
+ const m = h(() => {
8923
+ const Z = C.options;
8924
+ return d(Z[0]) ? Z : Z.map((s) => ({
8925
8925
  value: s,
8926
8926
  label: String(s)
8927
8927
  }));
8928
- }), n = f(() => {
8929
- const u = C.modelValue;
8930
- return d(u) ? u : {
8931
- value: u,
8932
- label: String(u)
8928
+ }), n = h(() => {
8929
+ const Z = C.modelValue;
8930
+ return d(Z) ? Z : {
8931
+ value: Z,
8932
+ label: String(Z)
8933
8933
  };
8934
8934
  }), a = E(), o = E(), l = E();
8935
- function S(u) {
8935
+ function S(Z) {
8936
8936
  var x, c, G, K1;
8937
8937
  if (C.disabled)
8938
8938
  return;
8939
- const s = document.getElementById(u);
8939
+ const s = document.getElementById(Z);
8940
8940
  document.querySelectorAll(".r-dropdown--active").forEach(($) => {
8941
8941
  var p1;
8942
8942
  $.id !== ((p1 = a.value) == null ? void 0 : p1.id) && $.classList.contains("r-dropdown--active") && ($.childNodes.forEach((X) => {
@@ -8950,11 +8950,11 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8950
8950
  }));
8951
8951
  }));
8952
8952
  }
8953
- function B(u) {
8954
- const s = document.getElementById(u);
8953
+ function B(Z) {
8954
+ const s = document.getElementById(Z);
8955
8955
  s == null || s.classList.remove("r-dropdown--active"), A.value = !1;
8956
8956
  }
8957
- function y(u, s, v, x) {
8957
+ function y(Z, s, v, x) {
8958
8958
  var c;
8959
8959
  if (x(), !s.disabled) {
8960
8960
  if (s.value === "select-all") {
@@ -8965,46 +8965,46 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8965
8965
  L.value.find((G) => G.value === s.value) ? (L.value.splice(L.value.indexOf(s), 1), M("removeOption", s)) : L.value.push(s), e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8966
8966
  return;
8967
8967
  }
8968
- k(u, s), C.closeOnSelect && v();
8968
+ k(Z, s), C.closeOnSelect && v();
8969
8969
  }
8970
8970
  }
8971
- function k(u, s) {
8971
+ function k(Z, s) {
8972
8972
  if (i.value.value === s.value && !C.disableDeselect) {
8973
8973
  i.value = {}, e.value = "", M("update:modelValue", ""), M("removeOption", s);
8974
8974
  return;
8975
8975
  }
8976
8976
  e.value = s.label, i.value = s, M("update:modelValue", s);
8977
8977
  }
8978
- function w(u, s, v) {
8979
- if (u instanceof KeyboardEvent && u.key !== "Backspace" || e.value !== "")
8978
+ function w(Z, s, v) {
8979
+ if (Z instanceof KeyboardEvent && Z.key !== "Backspace" || e.value !== "")
8980
8980
  return;
8981
- u.stopPropagation(), v();
8981
+ Z.stopPropagation(), v();
8982
8982
  const x = L.value.findIndex((c) => c.value === s.value);
8983
8983
  L.value.splice(x, 1), M("removeOption", s), M("update:modelValue", L.value);
8984
8984
  }
8985
- function T(u, s) {
8985
+ function T(Z, s) {
8986
8986
  var c;
8987
8987
  if (!C.multiple)
8988
8988
  return;
8989
- u.stopPropagation(), s();
8989
+ Z.stopPropagation(), s();
8990
8990
  const v = e.value;
8991
8991
  if (v === "")
8992
8992
  return;
8993
8993
  m.value.find((G) => G.label === v) || (L.value.push({ value: v, label: v }), e.value = "", (c = o.value) == null || c.focus());
8994
8994
  }
8995
- function F(u) {
8995
+ function F(Z) {
8996
8996
  var s;
8997
- return !u || (u == null ? void 0 : u.value) === void 0 || (u == null ? void 0 : u.value) === null ? !1 : C.multiple ? L.value.find((v) => (v == null ? void 0 : v.value) === (u == null ? void 0 : u.value)) : ((s = i.value) == null ? void 0 : s.value) === (u == null ? void 0 : u.value);
8997
+ return !Z || (Z == null ? void 0 : Z.value) === void 0 || (Z == null ? void 0 : Z.value) === null ? !1 : C.multiple ? L.value.find((v) => (v == null ? void 0 : v.value) === (Z == null ? void 0 : Z.value)) : ((s = i.value) == null ? void 0 : s.value) === (Z == null ? void 0 : Z.value);
8998
8998
  }
8999
- const P = f(() => !C.searchable || i.value.label === e.value ? m.value : m.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = f(() => !C.searchable);
8999
+ const P = h(() => !C.searchable || i.value.label === e.value ? m.value : m.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = h(() => !C.searchable);
9000
9000
  function W() {
9001
9001
  n.value ? C.multiple ? L.value = n.value : (i.value = n.value, e.value = n.value.label) : (i.value = {}, L.value.splice(0, L.value.length));
9002
9002
  }
9003
- function g(u) {
9004
- C.searchable && u(), !C.multiple && e.value === "" && (i.value = {}, M("update:modelValue", ""), M("removeOption", i.value));
9003
+ function g(Z) {
9004
+ C.searchable && Z(), !C.multiple && e.value === "" && (i.value = {}, M("update:modelValue", ""), M("removeOption", i.value));
9005
9005
  }
9006
- function N(u, s) {
9007
- if (u.stopPropagation(), s(), C.multiple) {
9006
+ function N(Z, s) {
9007
+ if (Z.stopPropagation(), s(), C.multiple) {
9008
9008
  L.value.splice(0, L.value.length), M("clear", L.value);
9009
9009
  return;
9010
9010
  }
@@ -9017,20 +9017,20 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9017
9017
  }
9018
9018
  L.value = P.value;
9019
9019
  }
9020
- const A1 = f(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), Q = f(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9020
+ const A1 = h(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), I = h(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9021
9021
  return M2(() => {
9022
9022
  W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9023
- }), I(
9023
+ }), Q(
9024
9024
  L,
9025
- (u) => {
9026
- M("update:modelValue", u);
9025
+ (Z) => {
9026
+ M("update:modelValue", Z);
9027
9027
  },
9028
9028
  {
9029
9029
  deep: !0
9030
9030
  }
9031
- ), I(() => n.value, (u) => {
9031
+ ), Q(() => n.value, (Z) => {
9032
9032
  W();
9033
- }), (u, s) => (t(), r("div", {
9033
+ }), (Z, s) => (t(), r("div", {
9034
9034
  ref_key: "wrapper",
9035
9035
  ref: l,
9036
9036
  class: "r-dropdown-wrapper"
@@ -9049,7 +9049,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9049
9049
  })
9050
9050
  }, {
9051
9051
  default: k1(({ updatePosition: v, tooltipId: x }) => [
9052
- Z("div", {
9052
+ u("div", {
9053
9053
  id: x,
9054
9054
  ref_key: "dropdown",
9055
9055
  ref: a,
@@ -9063,14 +9063,14 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9063
9063
  role: "select",
9064
9064
  onClick: (c) => S(x)
9065
9065
  }, [
9066
- C.prependIcon || u.$slots.prepend ? (t(), r("div", {
9066
+ C.prependIcon || Z.$slots.prepend ? (t(), r("div", {
9067
9067
  key: 0,
9068
9068
  class: p(["r-dropdown__prepend-icon", {
9069
9069
  "r-dropdown__prepend-icon--active": A.value,
9070
9070
  "r-dropdown__prepend-icon--error": C.errorMsg
9071
9071
  }])
9072
9072
  }, [
9073
- h(u.$slots, "prepend", {
9073
+ f(Z.$slots, "prepend", {
9074
9074
  active: A.value,
9075
9075
  disabled: C.disabled,
9076
9076
  error: C.errorMsg.length,
@@ -9082,12 +9082,12 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9082
9082
  }, null, 8, ["name"])) : O("", !0)
9083
9083
  ])
9084
9084
  ], 2)) : O("", !0),
9085
- Z("div", K5, [
9086
- h(u.$slots, "selection", {
9085
+ u("div", K5, [
9086
+ f(Z.$slots, "selection", {
9087
9087
  removeOption: w,
9088
9088
  selected: L.value
9089
9089
  }, () => [
9090
- Z("div", q5, [
9090
+ u("div", q5, [
9091
9091
  C.multiple && C.chips ? (t(), r(H1, { key: 0 }, [
9092
9092
  (t(!0), r(H1, null, d1(A1.value, (c) => (t(), _(V5, {
9093
9093
  key: c.value,
@@ -9097,13 +9097,15 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9097
9097
  variant: "primary",
9098
9098
  "onClick:close": (G) => w(G, c, v)
9099
9099
  }, null, 8, ["label", "onClick:close"]))), 128)),
9100
- Q.value > 0 ? (t(), r("span", j5, " +" + b(Q.value), 1)) : O("", !0)
9100
+ f(Z.$slots, "remaining-count", { count: I.value }, () => [
9101
+ I.value > 0 ? (t(), r("span", j5, " +" + b(I.value), 1)) : O("", !0)
9102
+ ])
9101
9103
  ], 64)) : C.multiple ? (t(!0), r(H1, { key: 1 }, d1(L.value, (c, G) => (t(), r("span", {
9102
9104
  key: c.value
9103
9105
  }, b(c.label) + b(G < L.value.length - 1 ? ", " : ""), 1))), 128)) : O("", !0)
9104
9106
  ])
9105
9107
  ]),
9106
- i2(Z("input", {
9108
+ i2(u("input", {
9107
9109
  id: C.id,
9108
9110
  ref_key: "input",
9109
9111
  ref: o,
@@ -9132,21 +9134,21 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9132
9134
  "data-has-value": (e.value !== "" || L.value.length) && A.value,
9133
9135
  onClick: (c) => N(c, v)
9134
9136
  }, [
9135
- h(u.$slots, "clearable", {}, () => [
9137
+ f(Z.$slots, "clearable", {}, () => [
9136
9138
  q(D, {
9137
9139
  name: "mdiCloseCircle",
9138
9140
  size: "18"
9139
9141
  })
9140
9142
  ])
9141
9143
  ], 8, Y5)) : O("", !0),
9142
- C.appendIcon || u.$slots.append ? (t(), r("div", {
9144
+ C.appendIcon || Z.$slots.append ? (t(), r("div", {
9143
9145
  key: 2,
9144
9146
  class: p(["r-dropdown__append-icon", {
9145
9147
  "r-dropdown__append-icon--active": A.value,
9146
9148
  "r-dropdown__append-icon--error": C.errorMsg
9147
9149
  }])
9148
9150
  }, [
9149
- h(u.$slots, "append", {
9151
+ f(Z.$slots, "append", {
9150
9152
  active: A.value,
9151
9153
  disabled: C.disabled,
9152
9154
  error: C.errorMsg.length,
@@ -9161,7 +9163,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9161
9163
  ], 10, z5)
9162
9164
  ]),
9163
9165
  content: k1(({ hide: v, updatePosition: x }) => [
9164
- Z("ul", {
9166
+ u("ul", {
9165
9167
  class: p(["r-dropdown-options", {
9166
9168
  "r-dropdown-options--active": A.value,
9167
9169
  [C.optionsClass]: C.optionsClass
@@ -9175,8 +9177,8 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9175
9177
  }]),
9176
9178
  onClick: t1((c) => y(c, { label: C.selectAllText, value: "select-all" }, v, x), ["prevent"])
9177
9179
  }, [
9178
- Z("div", C3, [
9179
- Z("p", H3, b(C.selectAllText), 1)
9180
+ u("div", C3, [
9181
+ u("p", H3, b(C.selectAllText), 1)
9180
9182
  ]),
9181
9183
  L.value.length === P.value.length && !C.hideOptionCheckIcon ? (t(), _(D, {
9182
9184
  key: 0,
@@ -9197,13 +9199,13 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9197
9199
  }]),
9198
9200
  onClick: t1((G) => y(G, c, v, x), ["prevent"])
9199
9201
  }, [
9200
- h(u.$slots, "option", {
9202
+ f(Z.$slots, "option", {
9201
9203
  disabled: c.disabled,
9202
9204
  isSelected: F(c),
9203
9205
  item: c
9204
9206
  }, () => [
9205
- Z("div", M3, [
9206
- h(u.$slots, "option-prepend", {
9207
+ u("div", M3, [
9208
+ f(Z.$slots, "option-prepend", {
9207
9209
  disabled: c.disabled,
9208
9210
  isSelected: F(c)
9209
9211
  }, () => [
@@ -9215,13 +9217,13 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9215
9217
  name: c.prependIcon
9216
9218
  }, null, 8, ["class", "name"])) : O("", !0)
9217
9219
  ]),
9218
- Z("p", {
9220
+ u("p", {
9219
9221
  class: p(["r-dropdown-options__option__label", {
9220
9222
  "r-dropdown-options__option__label--active": F(c)
9221
9223
  }])
9222
9224
  }, b(c.label), 3)
9223
9225
  ]),
9224
- h(u.$slots, "option-append", {
9226
+ f(Z.$slots, "option-append", {
9225
9227
  disabled: c.disabled,
9226
9228
  isSelected: F(c)
9227
9229
  }, () => [
@@ -9236,7 +9238,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9236
9238
  ])
9237
9239
  ], 10, L3))), 128)),
9238
9240
  P.value.length === 0 ? (t(), r("li", i3, [
9239
- h(u.$slots, "not-options", {}, () => [
9241
+ f(Z.$slots, "not-options", {}, () => [
9240
9242
  S1(b(C.noOptionsText), 1)
9241
9243
  ])
9242
9244
  ])) : O("", !0)
@@ -9244,7 +9246,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9244
9246
  ]),
9245
9247
  _: 3
9246
9248
  }, 8, ["tooltip-class"]),
9247
- u.$props.hideDetails ? O("", !0) : (t(), r("div", A3, [
9249
+ Z.$props.hideDetails ? O("", !0) : (t(), r("div", A3, [
9248
9250
  C.errorMsg ? (t(), r("div", e3, b(C.errorMsg), 1)) : O("", !0),
9249
9251
  C.hint ? (t(), r("div", d3, b(C.hint), 1)) : O("", !0)
9250
9252
  ]))
@@ -9264,7 +9266,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9264
9266
  class: "r-label",
9265
9267
  for: V.for
9266
9268
  }, [
9267
- h(C.$slots, "default", {}, () => [
9269
+ f(C.$slots, "default", {}, () => [
9268
9270
  S1(b(V.text), 1)
9269
9271
  ])
9270
9272
  ], 8, m3));
@@ -9297,12 +9299,12 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9297
9299
  },
9298
9300
  emits: ["update:modelValue"],
9299
9301
  setup(H, { emit: V }) {
9300
- const C = H, M = V, i = f(() => ({
9302
+ const C = H, M = V, i = h(() => ({
9301
9303
  "r-dialog": !0,
9302
9304
  "r-dialog--block": C.block,
9303
9305
  "p-0 gap-0": C.clearContent,
9304
9306
  [`${C.class}`]: !0
9305
- })), L = f(() => ({
9307
+ })), L = h(() => ({
9306
9308
  width: C.width,
9307
9309
  height: C.height
9308
9310
  }));
@@ -9317,16 +9319,16 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9317
9319
  class: p(["r-modal-overlay", e.overlayClass]),
9318
9320
  onClick: t1(A, ["stop"])
9319
9321
  }, [
9320
- Z("div", {
9322
+ u("div", {
9321
9323
  "aria-modal": "true",
9322
9324
  class: p(i.value),
9323
9325
  open: C.modelValue,
9324
9326
  role: "dialog",
9325
9327
  style: Q1(L.value)
9326
9328
  }, [
9327
- h(e.$slots, "wrapper", {}, () => [
9328
- Z("div", n3, [
9329
- h(e.$slots, "header"),
9329
+ f(e.$slots, "wrapper", {}, () => [
9330
+ u("div", n3, [
9331
+ f(e.$slots, "header"),
9330
9332
  C.icon ? (t(), r("div", r3, [
9331
9333
  q(D, {
9332
9334
  name: C.icon
@@ -9335,11 +9337,11 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9335
9337
  C.title ? (t(), r("div", a3, b(C.title), 1)) : O("", !0),
9336
9338
  C.description ? (t(), r("div", Z3, b(C.description), 1)) : O("", !0)
9337
9339
  ]),
9338
- Z("div", u3, [
9339
- h(e.$slots, "default")
9340
+ u("div", u3, [
9341
+ f(e.$slots, "default")
9340
9342
  ]),
9341
- Z("div", S3, [
9342
- h(e.$slots, "actions")
9343
+ u("div", S3, [
9344
+ f(e.$slots, "actions")
9343
9345
  ])
9344
9346
  ])
9345
9347
  ], 14, o3)
@@ -9363,11 +9365,11 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9363
9365
  class: p(["r-sidebar__wrapper", [i.$props.wrapperClass]]),
9364
9366
  "data-open": C.modelValue
9365
9367
  }, [
9366
- Z("aside", {
9368
+ u("aside", {
9367
9369
  class: p(["r-sidebar", [C.class]]),
9368
9370
  "data-open": C.modelValue
9369
9371
  }, [
9370
- h(i.$slots, "default", {
9372
+ f(i.$slots, "default", {
9371
9373
  open: C.modelValue
9372
9374
  })
9373
9375
  ], 10, c3),
@@ -9377,7 +9379,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9377
9379
  "data-open": C.modelValue,
9378
9380
  onClick: L[0] || (L[0] = (A) => M("update:modelValue", !C.modelValue))
9379
9381
  }, [
9380
- h(i.$slots, "trigger", {
9382
+ f(i.$slots, "trigger", {
9381
9383
  open: C.modelValue
9382
9384
  }, () => [
9383
9385
  S1(" > ")
@@ -9399,7 +9401,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9399
9401
  emits: ["action", "update:modelValue"],
9400
9402
  setup(H, { emit: V }) {
9401
9403
  const C = H, M = V;
9402
- I(
9404
+ Q(
9403
9405
  () => C.modelValue,
9404
9406
  () => {
9405
9407
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9410,14 +9412,14 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9410
9412
  immediate: !0
9411
9413
  }
9412
9414
  );
9413
- const i = f(() => ({
9415
+ const i = h(() => ({
9414
9416
  "r-snackbar": !0,
9415
9417
  [`r-snackbar--${C.variant}`]: !0,
9416
9418
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
9417
9419
  [C.modelValue ? "r-snackbar--shown" : "r-snackbar--hidden"]: !0,
9418
9420
  [C.top ? "r-snackbar__top" : "r-snackbar__bottom"]: !0,
9419
9421
  "r-snackbar--closable": C.closable
9420
- })), L = f(() => ({
9422
+ })), L = h(() => ({
9421
9423
  success: "mdiCheckCircle",
9422
9424
  error: "mdiAlertCircle",
9423
9425
  warning: "mdiAlert",
@@ -9426,15 +9428,15 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9426
9428
  return (A, e) => (t(), r("div", {
9427
9429
  class: p(i.value)
9428
9430
  }, [
9429
- h(A.$slots, "icon", {}, () => [
9431
+ f(A.$slots, "icon", {}, () => [
9430
9432
  C.variant ? (t(), _(D, {
9431
9433
  key: 0,
9432
9434
  class: "r-snackbar__icon",
9433
9435
  name: L.value
9434
9436
  }, null, 8, ["name"])) : O("", !0)
9435
9437
  ]),
9436
- Z("div", O3, [
9437
- h(A.$slots, "default", {}, () => [
9438
+ u("div", O3, [
9439
+ f(A.$slots, "default", {}, () => [
9438
9440
  S1(b(C.text), 1)
9439
9441
  ])
9440
9442
  ]),
@@ -9443,7 +9445,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9443
9445
  class: "r-snackbar__close",
9444
9446
  onClick: e[0] || (e[0] = t1((d) => A.$emit("update:modelValue", !1), ["stop"]))
9445
9447
  }, [
9446
- h(A.$slots, "close", {}, () => [
9448
+ f(A.$slots, "close", {}, () => [
9447
9449
  q(D, {
9448
9450
  name: "mdiClose",
9449
9451
  size: 16
@@ -9452,7 +9454,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9452
9454
  ])) : O("", !0)
9453
9455
  ], 2));
9454
9456
  }
9455
- }), f3 = ["id", "checked", "disabled", "name"], h3 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), g3 = ["id", "for"], k3 = {
9457
+ }), f3 = ["id", "checked", "disabled", "name"], h3 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), g3 = ["id", "for"], k3 = {
9456
9458
  key: 0,
9457
9459
  class: "r-switch-texts__details"
9458
9460
  }, B3 = {
@@ -9479,7 +9481,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9479
9481
  setup(H, { emit: V }) {
9480
9482
  const C = H, M = V, i = E({
9481
9483
  checked: !1
9482
- }), L = f(() => ({
9484
+ }), L = h(() => ({
9483
9485
  "r-switch": !0,
9484
9486
  "r-switch--disabled": C.disabled,
9485
9487
  [`r-switch--${C.size}`]: C.size,
@@ -9488,7 +9490,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9488
9490
  function A(e) {
9489
9491
  C.disabled || (i.value.checked = e.target.checked, M("update:modelValue", i.value.checked));
9490
9492
  }
9491
- return I(
9493
+ return Q(
9492
9494
  () => C.modelValue,
9493
9495
  (e) => {
9494
9496
  i.value.checked = e;
@@ -9504,10 +9506,10 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9504
9506
  "r-switch-container--hide-details": C.hideDetails
9505
9507
  }])
9506
9508
  }, [
9507
- Z("div", {
9509
+ u("div", {
9508
9510
  class: p(L.value)
9509
9511
  }, [
9510
- Z("input", {
9512
+ u("input", {
9511
9513
  id: C.id,
9512
9514
  checked: i.value.checked,
9513
9515
  class: "r-switch__input",
@@ -9518,12 +9520,12 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9518
9520
  }, null, 40, f3),
9519
9521
  h3
9520
9522
  ], 2),
9521
- Z("div", {
9523
+ u("div", {
9522
9524
  class: p(["r-switch-texts", {
9523
9525
  [`r-switch-texts--${C.size}`]: !0
9524
9526
  }])
9525
9527
  }, [
9526
- Z("label", {
9528
+ u("label", {
9527
9529
  id: `${C.id}-label`,
9528
9530
  class: "r-switch-texts__label",
9529
9531
  for: C.id
@@ -9552,14 +9554,14 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9552
9554
  },
9553
9555
  emits: ["update:modelValue"],
9554
9556
  setup(H, { emit: V }) {
9555
- const C = H, M = V, i = f(() => ({
9557
+ const C = H, M = V, i = h(() => ({
9556
9558
  "r-tab-item": !0,
9557
9559
  [`r-tab-item--${C.variant}`]: !0,
9558
9560
  "r-tab-item--tile": C.tile,
9559
9561
  "r-tab-item--block": C.block
9560
- })), L = f(() => ({
9562
+ })), L = h(() => ({
9561
9563
  color: C.color
9562
- })), A = f(() => C.modelValue === C.id);
9564
+ })), A = h(() => C.modelValue === C.id);
9563
9565
  function e(d) {
9564
9566
  M("update:modelValue", d);
9565
9567
  }
@@ -9571,7 +9573,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9571
9573
  style: Q1(L.value),
9572
9574
  onClick: m[0] || (m[0] = t1((n) => e(C.id), ["stop"]))
9573
9575
  }, [
9574
- h(d.$slots, "prepend", {
9576
+ f(d.$slots, "prepend", {
9575
9577
  active: A.value,
9576
9578
  disabled: C.disabled
9577
9579
  }, () => [
@@ -9583,13 +9585,13 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9583
9585
  }, null, 8, ["name"])) : O("", !0)
9584
9586
  ]),
9585
9587
  C.variant !== J(a1).ICON ? (t(), r("span", v3, [
9586
- h(d.$slots, "default", {
9588
+ f(d.$slots, "default", {
9587
9589
  label: C.label
9588
9590
  }, () => [
9589
9591
  S1(b(C.label), 1)
9590
9592
  ])
9591
9593
  ])) : O("", !0),
9592
- h(d.$slots, "append", {
9594
+ f(d.$slots, "append", {
9593
9595
  active: A.value,
9594
9596
  disabled: C.disabled
9595
9597
  }, () => [
@@ -9613,16 +9615,16 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9613
9615
  },
9614
9616
  emits: ["update:modelValue"],
9615
9617
  setup(H, { emit: V }) {
9616
- const C = H, M = V, i = E(C.modelValue || C.tabs[0].id), L = f(() => ({
9618
+ const C = H, M = V, i = E(C.modelValue || C.tabs[0].id), L = h(() => ({
9617
9619
  "r-tabs": !0,
9618
9620
  "r-tabs--tile": C.tile
9619
9621
  }));
9620
- return I(
9622
+ return Q(
9621
9623
  () => i.value,
9622
9624
  () => {
9623
9625
  M("update:modelValue", i.value);
9624
9626
  }
9625
- ), I(
9627
+ ), Q(
9626
9628
  () => C.modelValue,
9627
9629
  () => {
9628
9630
  i.value = C.modelValue;
@@ -9633,14 +9635,14 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9633
9635
  ), (A, e) => (t(), r("div", {
9634
9636
  class: p(L.value)
9635
9637
  }, [
9636
- Z("div", {
9638
+ u("div", {
9637
9639
  class: p(["flex", [{
9638
9640
  "w-full": C.block,
9639
9641
  "overflow-x-auto": C.scrollable,
9640
9642
  "gap-0.5": C.tile
9641
9643
  }]])
9642
9644
  }, [
9643
- h(A.$slots, "default", { activeTab: i.value }, () => [
9645
+ f(A.$slots, "default", { activeTab: i.value }, () => [
9644
9646
  (t(!0), r(H1, null, d1(C.tabs, (d, m) => (t(), _(y3, {
9645
9647
  id: d.id,
9646
9648
  key: m,
@@ -9688,7 +9690,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9688
9690
  function L(A) {
9689
9691
  M("update:modelValue", A.target.value);
9690
9692
  }
9691
- return I(
9693
+ return Q(
9692
9694
  () => C.modelValue,
9693
9695
  (A) => {
9694
9696
  i.value = A;
@@ -9704,7 +9706,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9704
9706
  for: "textarea",
9705
9707
  text: C.label
9706
9708
  }, null, 8, ["id", "text"])) : O("", !0),
9707
- Z("textarea", I1(A.$attrs, {
9709
+ u("textarea", I1(A.$attrs, {
9708
9710
  id: C.id,
9709
9711
  class: ["r-textarea", {
9710
9712
  "r-textarea--error": C.errorMsg,
@@ -9768,10 +9770,10 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9768
9770
  url: "mdiLink",
9769
9771
  number: "mdiNumeric",
9770
9772
  text: ""
9771
- }, d = E(!1), m = f(() => !!L.value), n = f(() => L.value.length > 0), a = f(() => {
9773
+ }, d = E(!1), m = h(() => !!L.value), n = h(() => L.value.length > 0), a = h(() => {
9772
9774
  var g;
9773
9775
  return (g = C.errorMsg) == null ? void 0 : g.length;
9774
- }), o = f(() => C.clearable && n.value), l = f(() => {
9776
+ }), o = h(() => C.clearable && n.value), l = h(() => {
9775
9777
  const { disabled: g, loading: N } = C;
9776
9778
  return {
9777
9779
  "r-textfield": !0,
@@ -9782,18 +9784,18 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9782
9784
  "r-textfield--focus": d.value,
9783
9785
  "r-textfield--filled": m.value
9784
9786
  };
9785
- }), S = f(() => ({
9787
+ }), S = h(() => ({
9786
9788
  "r-textfield__prepend-icon": !0,
9787
9789
  "r-textfield__prepend-icon--loading": C.loading,
9788
9790
  "r-textfield__prepend-icon--error": a.value && m.value
9789
- })), B = f(() => ({
9791
+ })), B = h(() => ({
9790
9792
  "r-textfield__append-icon": !0,
9791
9793
  "r-textfield__append-icon--clear": o.value,
9792
9794
  "r-textfield__append-icon--error": a.value
9793
- })), y = f(() => {
9795
+ })), y = h(() => {
9794
9796
  const { prependIcon: g, type: N } = C;
9795
9797
  return g === "none" ? "" : g || e[N];
9796
- }), k = f(() => {
9798
+ }), k = h(() => {
9797
9799
  const { appendIcon: g, type: N } = C;
9798
9800
  return g === "none" ? "" : a.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && A.value === "password" ? "mdiEyeOutline" : N === "password" && A.value === "text" ? "mdiEyeOffOutline" : g;
9799
9801
  });
@@ -9825,7 +9827,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9825
9827
  var g;
9826
9828
  (g = i.value) == null || g.focus();
9827
9829
  }
9828
- return I(
9830
+ return Q(
9829
9831
  () => C.modelValue,
9830
9832
  (g) => {
9831
9833
  L.value = g;
@@ -9833,7 +9835,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9833
9835
  {
9834
9836
  immediate: !0
9835
9837
  }
9836
- ), I(
9838
+ ), Q(
9837
9839
  () => L.value,
9838
9840
  (g) => {
9839
9841
  M(
@@ -9850,11 +9852,11 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9850
9852
  text: C.label,
9851
9853
  onClick: W
9852
9854
  }, null, 8, ["id", "for", "text"])) : O("", !0),
9853
- Z("div", _3, [
9854
- Z("div", {
9855
+ u("div", _3, [
9856
+ u("div", {
9855
9857
  class: p(l.value)
9856
9858
  }, [
9857
- h(g.$slots, "prepend", {
9859
+ f(g.$slots, "prepend", {
9858
9860
  disabled: C.disabled,
9859
9861
  error: a.value,
9860
9862
  loading: C.loading
@@ -9866,7 +9868,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9866
9868
  size: 20
9867
9869
  }, null, 8, ["class", "name"])) : O("", !0)
9868
9870
  ]),
9869
- Z("input", {
9871
+ u("input", {
9870
9872
  id: C.id,
9871
9873
  ref_key: "inputRef",
9872
9874
  ref: i,
@@ -9882,7 +9884,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9882
9884
  onFocus: w,
9883
9885
  onInput: F
9884
9886
  }, null, 40, E3),
9885
- h(g.$slots, "append", {
9887
+ f(g.$slots, "append", {
9886
9888
  disabled: C.disabled,
9887
9889
  error: a.value,
9888
9890
  loading: C.loading
@@ -9932,7 +9934,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9932
9934
  to: L.to
9933
9935
  }, {
9934
9936
  default: k1(() => [
9935
- h(C.$slots, "item-icon", {}, () => [
9937
+ f(C.$slots, "item-icon", {}, () => [
9936
9938
  L.icon ? (t(), _(D, {
9937
9939
  key: 0,
9938
9940
  name: L.icon
@@ -9942,7 +9944,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9942
9944
  ]),
9943
9945
  _: 2
9944
9946
  }, 1032, ["to"]),
9945
- h(C.$slots, "custom-seperator", {}, () => [
9947
+ f(C.$slots, "custom-seperator", {}, () => [
9946
9948
  A !== C.items.length - 1 && V.seperator ? (t(), _(D, {
9947
9949
  key: 0,
9948
9950
  class: "r-breadcrumb__separator",
@@ -9953,33 +9955,33 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9953
9955
  ]);
9954
9956
  };
9955
9957
  }
9956
- }), $3 = { class: "r-pagination__paginator" }, U3 = { class: "r-pagination__paginator__per-page" }, z3 = { class: "r-pagination__paginator__info" }, K3 = ["disabled"], q3 = /* @__PURE__ */ Z("path", {
9958
+ }), $3 = { class: "r-pagination__paginator" }, U3 = { class: "r-pagination__paginator__per-page" }, z3 = { class: "r-pagination__paginator__info" }, K3 = ["disabled"], q3 = /* @__PURE__ */ u("path", {
9957
9959
  d: "M0 0h24v24H0z",
9958
9960
  fill: "none",
9959
9961
  stroke: "none"
9960
- }, null, -1), j3 = /* @__PURE__ */ Z("path", { d: "M7 6v12" }, null, -1), X3 = /* @__PURE__ */ Z("path", { d: "M18 6l-6 6l6 6" }, null, -1), Y3 = [
9962
+ }, null, -1), j3 = /* @__PURE__ */ u("path", { d: "M7 6v12" }, null, -1), X3 = /* @__PURE__ */ u("path", { d: "M18 6l-6 6l6 6" }, null, -1), Y3 = [
9961
9963
  q3,
9962
9964
  j3,
9963
9965
  X3
9964
- ], J3 = ["disabled"], C0 = /* @__PURE__ */ Z("path", {
9966
+ ], J3 = ["disabled"], C0 = /* @__PURE__ */ u("path", {
9965
9967
  d: "M0 0h24v24H0z",
9966
9968
  fill: "none",
9967
9969
  stroke: "none"
9968
- }, null, -1), H0 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), V0 = [
9970
+ }, null, -1), H0 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), V0 = [
9969
9971
  C0,
9970
9972
  H0
9971
- ], L0 = ["disabled"], M0 = /* @__PURE__ */ Z("path", {
9973
+ ], L0 = ["disabled"], M0 = /* @__PURE__ */ u("path", {
9972
9974
  d: "M0 0h24v24H0z",
9973
9975
  fill: "none",
9974
9976
  stroke: "none"
9975
- }, null, -1), i0 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), A0 = [
9977
+ }, null, -1), i0 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), A0 = [
9976
9978
  M0,
9977
9979
  i0
9978
- ], e0 = ["disabled"], d0 = /* @__PURE__ */ Z("path", {
9980
+ ], e0 = ["disabled"], d0 = /* @__PURE__ */ u("path", {
9979
9981
  d: "M0 0h24v24H0z",
9980
9982
  fill: "none",
9981
9983
  stroke: "none"
9982
- }, null, -1), t0 = /* @__PURE__ */ Z("path", { d: "M6 6l6 6l-6 6" }, null, -1), m0 = /* @__PURE__ */ Z("path", { d: "M17 5v13" }, null, -1), l0 = [
9984
+ }, null, -1), t0 = /* @__PURE__ */ u("path", { d: "M6 6l6 6l-6 6" }, null, -1), m0 = /* @__PURE__ */ u("path", { d: "M17 5v13" }, null, -1), l0 = [
9983
9985
  d0,
9984
9986
  t0,
9985
9987
  m0
@@ -9996,13 +9998,13 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9996
9998
  },
9997
9999
  emits: ["update:page", "update:perPage", "update:info"],
9998
10000
  setup(H, { emit: V }) {
9999
- const C = H, M = V, i = E(C.perPage || 10), L = f(() => Math.ceil(C.totalItems / C.perPage)), A = f(() => ({
10001
+ const C = H, M = V, i = E(C.perPage || 10), L = h(() => Math.ceil(C.totalItems / C.perPage)), A = h(() => ({
10000
10002
  start: C.page * C.perPage - C.perPage,
10001
10003
  end: C.page * C.perPage
10002
- })), e = f(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = f(() => +C.page == +L.value), m = f(() => +C.page == 1);
10003
- I(() => A.value, () => {
10004
+ })), e = h(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = h(() => +C.page == +L.value), m = h(() => +C.page == 1);
10005
+ Q(() => A.value, () => {
10004
10006
  M("update:info", A.value);
10005
- }), I(() => C.perPage, () => {
10007
+ }), Q(() => C.perPage, () => {
10006
10008
  i.value = C.perPage, n(1);
10007
10009
  });
10008
10010
  function n(o) {
@@ -10019,9 +10021,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10019
10021
  return (o, l) => (t(), r("div", {
10020
10022
  class: p(["r-pagination", [`r-pagination--${C.position}`]])
10021
10023
  }, [
10022
- Z("div", $3, [
10023
- Z("div", U3, [
10024
- Z("span", null, b(C.itemsPerPageText), 1),
10024
+ u("div", $3, [
10025
+ u("div", U3, [
10026
+ u("span", null, b(C.itemsPerPageText), 1),
10025
10027
  q(t3, {
10026
10028
  modelValue: i.value,
10027
10029
  "onUpdate:modelValue": [
@@ -10034,13 +10036,13 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10034
10036
  options: C.perPageOptions
10035
10037
  }, null, 8, ["modelValue", "options"])
10036
10038
  ]),
10037
- Z("span", z3, b(e.value), 1),
10038
- Z("button", {
10039
+ u("span", z3, b(e.value), 1),
10040
+ u("button", {
10039
10041
  class: "r-pagination__paginator__first",
10040
10042
  disabled: m.value,
10041
10043
  onClick: l[1] || (l[1] = (S) => n(1))
10042
10044
  }, [
10043
- h(o.$slots, "first", {}, () => [
10045
+ f(o.$slots, "first", {}, () => [
10044
10046
  (t(), r("svg", {
10045
10047
  class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": m.value }]),
10046
10048
  fill: "none",
@@ -10055,12 +10057,12 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10055
10057
  }, Y3, 2))
10056
10058
  ])
10057
10059
  ], 8, K3),
10058
- Z("button", {
10060
+ u("button", {
10059
10061
  class: "r-pagination__paginator__prev",
10060
10062
  disabled: m.value,
10061
10063
  onClick: l[2] || (l[2] = (S) => n(+C.page - 1))
10062
10064
  }, [
10063
- h(o.$slots, "prev", {}, () => [
10065
+ f(o.$slots, "prev", {}, () => [
10064
10066
  (t(), r("svg", {
10065
10067
  class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": m.value }]),
10066
10068
  fill: "none",
@@ -10075,12 +10077,12 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10075
10077
  }, V0, 2))
10076
10078
  ])
10077
10079
  ], 8, J3),
10078
- Z("button", {
10080
+ u("button", {
10079
10081
  class: "r-pagination__paginator__next",
10080
10082
  disabled: d.value,
10081
10083
  onClick: l[3] || (l[3] = (S) => n(+C.page + 1))
10082
10084
  }, [
10083
- h(o.$slots, "next", {}, () => [
10085
+ f(o.$slots, "next", {}, () => [
10084
10086
  (t(), r("svg", {
10085
10087
  class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10086
10088
  fill: "none",
@@ -10095,12 +10097,12 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10095
10097
  }, A0, 2))
10096
10098
  ])
10097
10099
  ], 8, L0),
10098
- Z("button", {
10100
+ u("button", {
10099
10101
  class: "r-pagination__paginator__last",
10100
10102
  disabled: C.page === L.value,
10101
10103
  onClick: l[4] || (l[4] = (S) => n(L.value))
10102
10104
  }, [
10103
- h(o.$slots, "last", {}, () => [
10105
+ f(o.$slots, "last", {}, () => [
10104
10106
  (t(), r("svg", {
10105
10107
  class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10106
10108
  fill: "none",
@@ -10148,7 +10150,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10148
10150
  },
10149
10151
  emits: ["update:modelValue"],
10150
10152
  setup(H, { emit: V }) {
10151
- const C = H, M = V, i = E(C.as ?? "div"), L = E(C.modelValue), A = f(() => C.selectedClass);
10153
+ const C = H, M = V, i = E(C.as ?? "div"), L = E(C.modelValue), A = h(() => C.selectedClass);
10152
10154
  O1(`${h1}:selectedClass`, A.value);
10153
10155
  function e(n) {
10154
10156
  return L.value.includes(n);
@@ -10161,11 +10163,11 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10161
10163
  function m() {
10162
10164
  return C.disabled;
10163
10165
  }
10164
- return O1(`${h1}:isDisabled`, m), I(() => C.modelValue, () => {
10166
+ return O1(`${h1}:isDisabled`, m), Q(() => C.modelValue, () => {
10165
10167
  L.value = C.modelValue;
10166
10168
  }), (n, a) => (t(), _(w2(i.value), null, {
10167
10169
  default: k1(() => [
10168
- h(n.$slots, "default", {
10170
+ f(n.$slots, "default", {
10169
10171
  isSelected: e,
10170
10172
  select: d,
10171
10173
  selected: L.value
@@ -10181,14 +10183,14 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10181
10183
  selectedClass: { default: "" }
10182
10184
  },
10183
10185
  setup(H) {
10184
- const V = H, C = f1(`${g1}:isSelected`), M = f1(`${g1}:selectedClass`, ""), i = f1(`${g1}:select`), L = f1(`${g1}:isDisabled`), A = f(() => C(V.value) && [M, V.selectedClass]);
10186
+ const V = H, C = f1(`${g1}:isSelected`), M = f1(`${g1}:selectedClass`, ""), i = f1(`${g1}:select`), L = f1(`${g1}:isDisabled`), A = h(() => C(V.value) && [M, V.selectedClass]);
10185
10187
  function e() {
10186
10188
  V.disabled || i(V.value, !C(V.value));
10187
10189
  }
10188
10190
  function d() {
10189
10191
  V.disabled || i(V.value, !0);
10190
10192
  }
10191
- return (m, n) => h(m.$slots, "default", {
10193
+ return (m, n) => f(m.$slots, "default", {
10192
10194
  disabled: J(L)(V.value),
10193
10195
  isSelected: J(C)(V.value),
10194
10196
  select: d,
@@ -10214,19 +10216,19 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10214
10216
  },
10215
10217
  emits: ["update:modelValue"],
10216
10218
  setup(H) {
10217
- const V = H, C = E(V.modelValue), M = f(() => [
10219
+ const V = H, C = E(V.modelValue), M = h(() => [
10218
10220
  "r-radio group",
10219
10221
  {
10220
10222
  "r-radio--disabled": V.disabled,
10221
10223
  "r-radio--error": V.errorMsg
10222
10224
  }
10223
10225
  ]);
10224
- return I(() => V.modelValue, (i) => {
10226
+ return Q(() => V.modelValue, (i) => {
10225
10227
  C.value = i;
10226
10228
  }, { immediate: !0 }), (i, L) => (t(), r("div", {
10227
10229
  class: p(M.value)
10228
10230
  }, [
10229
- Z("input", I1(i.$attrs, {
10231
+ u("input", I1(i.$attrs, {
10230
10232
  id: V.id,
10231
10233
  checked: C.value,
10232
10234
  class: "r-radio__input",
@@ -10236,19 +10238,19 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10236
10238
  value: V.value,
10237
10239
  onChange: L[0] || (L[0] = (A) => i.$emit("update:modelValue"))
10238
10240
  }), null, 16, n0),
10239
- Z("span", {
10241
+ u("span", {
10240
10242
  class: p(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10241
10243
  onClick: L[1] || (L[1] = (A) => i.$emit("update:modelValue"))
10242
10244
  }, [
10243
- Z("span", {
10245
+ u("span", {
10244
10246
  class: p(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
10245
10247
  }, null, 2),
10246
- Z("div", r0, [
10248
+ u("div", r0, [
10247
10249
  V.title ? (t(), r("span", {
10248
10250
  key: 0,
10249
10251
  class: p(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10250
10252
  }, b(V.title), 3)) : O("", !0),
10251
- Z("span", null, b(V.label), 1)
10253
+ u("span", null, b(V.label), 1)
10252
10254
  ])
10253
10255
  ], 2),
10254
10256
  V.hint && !V.errorMsg ? (t(), r("span", {