@rocketui/vue 0.2.94 → 0.2.95

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 s, unref as e1, reactive as _1, Fragment as A1, renderList as n1, normalizeClass as O, renderSlot as g, toDisplayString as v, createVNode as H1, computed as h, createCommentVNode as f, mergeProps as $1, createBlock as F, watch as W, getCurrentScope as P2, onScopeDispose as T2, ref as E, watchEffect as M2, onMounted as r2, onUnmounted as Y1, Teleport as a2, withCtx as F1, withDirectives as Z2, withModifiers as r1, withKeys as i2, vModelText as F2, createTextVNode as u1, normalizeStyle as J1, vShow as R2, resolveComponent as x2, provide as b1, resolveDynamicComponent as D2, inject as w1 } from "vue";
1
+ import { defineComponent as F, openBlock as m, createElementBlock as r, createElementVNode as s, unref as e1, reactive as _1, Fragment as A1, renderList as n1, normalizeClass as O, renderSlot as g, toDisplayString as v, createVNode as H1, computed as h, createCommentVNode as f, mergeProps as $1, createBlock as R, watch as $, getCurrentScope as P2, onScopeDispose as T2, ref as E, watchEffect as M2, onMounted as a2, onUnmounted as Y1, Teleport as r2, withCtx as F1, withDirectives as Z2, withModifiers as a1, withKeys as i2, vModelText as F2, createTextVNode as u1, normalizeStyle as J1, vShow as R2, resolveComponent as x2, provide as b1, resolveDynamicComponent as D2, inject as w1 } from "vue";
2
2
  const E2 = {
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",
@@ -7296,7 +7296,7 @@ const E2 = {
7296
7296
  mdiZodiacScorpio: "M17.71,15.29L16.29,16.71L17.59,18H16A2,2 0 0,1 14,16V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V16A4,4 0 0,0 16,20H17.59L16.29,21.29L17.71,22.71L21.41,19L17.71,15.29Z",
7297
7297
  mdiZodiacTaurus: "M15.59,9C17.7,7.74 19,5.46 19,3H17A5,5 0 0,1 12,8A5,5 0 0,1 7,3H5C5,5.46 6.3,7.74 8.41,9C5.09,11 4,15.28 6,18.6C7.97,21.92 12.27,23 15.59,21C18.91,19.04 20,14.74 18,11.42C17.42,10.43 16.58,9.59 15.59,9M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20Z",
7298
7298
  mdiZodiacVirgo: "M18.5,19.13C20,17.77 20,15.18 20,14A4,4 0 0,0 16,10C15.3,10 14.6,10.2 14,10.56V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V14C12,15.18 12,17.77 13.5,19.13C12.72,19.54 11.88,19.84 11,20V22C12.29,22 14.84,20.74 16,20.13C17.16,20.74 19.71,22 21,22V20C20.12,19.84 19.28,19.54 18.5,19.13M16,12A2,2 0 0,1 18,14C18,16.92 17.46,18 16,18C14.54,18 14,16.92 14,14A2,2 0 0,1 16,12Z"
7299
- }, _2 = ["id", "height", "viewBox", "width"], $2 = ["id", "d"], R = /* @__PURE__ */ T({
7299
+ }, _2 = ["id", "height", "viewBox", "width"], $2 = ["id", "d"], T = /* @__PURE__ */ F({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,7 +7305,7 @@ const E2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, i) => (m(), a("svg", {
7308
+ return (C, i) => (m(), r("svg", {
7309
7309
  id: C.id,
7310
7310
  class: "r-icon",
7311
7311
  height: V.size,
@@ -7318,7 +7318,7 @@ const E2 = {
7318
7318
  }, null, 8, $2)
7319
7319
  ], 8, _2));
7320
7320
  }
7321
- }), W2 = ["id", "data-state", "onClick"], N2 = ["id"], I2 = { class: "r-accordion__title" }, Q2 = ["id"], G2 = ["id"], U2 = ["id"], C7 = /* @__PURE__ */ T({
7321
+ }), W2 = ["id", "data-state", "onClick"], N2 = ["id"], I2 = { class: "r-accordion__title" }, Q2 = ["id"], G2 = ["id"], U2 = ["id"], V7 = /* @__PURE__ */ F({
7322
7322
  __name: "RAccordion",
7323
7323
  props: {
7324
7324
  accordions: {},
@@ -7345,7 +7345,7 @@ const E2 = {
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), r(A1, null, n1(C, (M, e) => (m(), r("div", {
7349
7349
  id: `${A.id}-${e}`,
7350
7350
  key: e,
7351
7351
  class: O(["r-accordion", {
@@ -7371,7 +7371,7 @@ const E2 = {
7371
7371
  item: M,
7372
7372
  open: M.open
7373
7373
  }, () => [
7374
- H1(R, {
7374
+ H1(T, {
7375
7375
  id: `${A.id}-icon-${e}`,
7376
7376
  name: "mdiChevronDown"
7377
7377
  }, null, 8, ["id"])
@@ -7396,7 +7396,7 @@ const E2 = {
7396
7396
  }), z2 = ["id"], K2 = ["id"], q2 = ["id"], j2 = { class: "r-alert__content__title" }, X2 = {
7397
7397
  key: 0,
7398
7398
  class: "r-alert__content__description"
7399
- }, Y2 = ["id"], H7 = /* @__PURE__ */ T({
7399
+ }, Y2 = ["id"], L7 = /* @__PURE__ */ F({
7400
7400
  __name: "RAlert",
7401
7401
  props: {
7402
7402
  type: { default: "info" },
@@ -7423,7 +7423,7 @@ const E2 = {
7423
7423
  function M() {
7424
7424
  i("close");
7425
7425
  }
7426
- return (e, d) => (m(), a("div", {
7426
+ return (e, d) => (m(), r("div", {
7427
7427
  id: e.id,
7428
7428
  class: O(A.value)
7429
7429
  }, [
@@ -7432,7 +7432,7 @@ const E2 = {
7432
7432
  class: "r-alert__icon"
7433
7433
  }, [
7434
7434
  g(e.$slots, "alert-icon", {}, () => [
7435
- H1(R, {
7435
+ H1(T, {
7436
7436
  name: L.value,
7437
7437
  size: 24
7438
7438
  }, null, 8, ["name"])
@@ -7444,10 +7444,10 @@ const E2 = {
7444
7444
  }, [
7445
7445
  g(e.$slots, "content", {}, () => [
7446
7446
  s("p", j2, v(C.title), 1),
7447
- C.description ? (m(), a("p", X2, v(C.description), 1)) : f("", !0)
7447
+ C.description ? (m(), r("p", X2, v(C.description), 1)) : f("", !0)
7448
7448
  ])
7449
7449
  ], 8, q2),
7450
- C.closable ? (m(), a("div", {
7450
+ C.closable ? (m(), r("div", {
7451
7451
  key: 0,
7452
7452
  id: `${e.id}-close`,
7453
7453
  class: "r-alert__close"
@@ -7456,7 +7456,7 @@ const E2 = {
7456
7456
  close: M,
7457
7457
  slotClass: "r-alert__close__button"
7458
7458
  }, () => [
7459
- H1(R, {
7459
+ H1(T, {
7460
7460
  id: `${e.id}-close-button`,
7461
7461
  class: "r-alert__close__button",
7462
7462
  name: "mdiClose",
@@ -7467,7 +7467,7 @@ const E2 = {
7467
7467
  ], 8, Y2)) : f("", !0)
7468
7468
  ], 10, z2));
7469
7469
  }
7470
- }), A2 = "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", J2 = ["id"], C5 = ["id"], H5 = ["id"], V5 = ["id", "alt", "src"], L5 = ["id"], V7 = /* @__PURE__ */ T({
7470
+ }), A2 = "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", J2 = ["id"], C5 = ["id"], H5 = ["id"], V5 = ["id", "alt", "src"], L5 = ["id"], M7 = /* @__PURE__ */ F({
7471
7471
  __name: "RAvatar",
7472
7472
  props: {
7473
7473
  type: { default: "image" },
@@ -7487,7 +7487,7 @@ const E2 = {
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)}`;
7489
7489
  }
7490
- return (M, e) => (m(), a("div", {
7490
+ return (M, e) => (m(), r("div", {
7491
7491
  id: M.id,
7492
7492
  class: "r-avatar__wrapper"
7493
7493
  }, [
@@ -7495,11 +7495,11 @@ const E2 = {
7495
7495
  id: `${M.id}-wrapper`,
7496
7496
  class: O(C.value)
7497
7497
  }, [
7498
- V.type === "text" ? (m(), a("p", {
7498
+ V.type === "text" ? (m(), r("p", {
7499
7499
  key: 0,
7500
7500
  id: `${M.id}-text`,
7501
7501
  class: O(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7502
- }, v(L(V.text)), 11, H5)) : (m(), a("img", {
7502
+ }, v(L(V.text)), 11, H5)) : (m(), r("img", {
7503
7503
  key: 1,
7504
7504
  id: `${M.id}-image`,
7505
7505
  alt: V.alt,
@@ -7510,7 +7510,7 @@ const E2 = {
7510
7510
  src: A.value
7511
7511
  }, null, 10, V5))
7512
7512
  ], 10, C5),
7513
- V.online ? (m(), a("span", {
7513
+ V.online ? (m(), r("span", {
7514
7514
  key: 0,
7515
7515
  id: `${M.id}-online`,
7516
7516
  class: O(["r-avatar__online", {
@@ -7519,7 +7519,7 @@ const E2 = {
7519
7519
  }, null, 10, L5)) : f("", !0)
7520
7520
  ], 8, J2));
7521
7521
  }
7522
- }), M5 = ["id"], i5 = ["id"], A5 = ["id", "innerHTML"], L7 = /* @__PURE__ */ T({
7522
+ }), M5 = ["id"], i5 = ["id"], A5 = ["id", "innerHTML"], i7 = /* @__PURE__ */ F({
7523
7523
  __name: "RBadge",
7524
7524
  props: {
7525
7525
  variant: { default: "primary" },
@@ -7546,7 +7546,7 @@ const E2 = {
7546
7546
  [`r-badge--${V.variant}`]: V.variant,
7547
7547
  [V.class]: V.class
7548
7548
  }));
7549
- return (i, A) => (m(), a("div", {
7549
+ return (i, A) => (m(), r("div", {
7550
7550
  id: i.id,
7551
7551
  class: O(["r-badge-wrapper group", [V.wrapperClass]])
7552
7552
  }, [
@@ -7564,7 +7564,7 @@ const E2 = {
7564
7564
  })
7565
7565
  ], 10, M5));
7566
7566
  }
7567
- }), e5 = ["id", "disabled"], M7 = /* @__PURE__ */ T({
7567
+ }), e5 = ["id", "disabled"], A7 = /* @__PURE__ */ F({
7568
7568
  __name: "RButton",
7569
7569
  props: {
7570
7570
  variant: { default: "default" },
@@ -7596,7 +7596,7 @@ const E2 = {
7596
7596
  })[V.size || "medium"]), A = h(() => ({
7597
7597
  height: V.height ? `${V.height}px` : ""
7598
7598
  }));
7599
- return (L, M) => (m(), a("button", $1(L.$attrs, {
7599
+ return (L, M) => (m(), r("button", $1(L.$attrs, {
7600
7600
  id: L.id,
7601
7601
  class: C.value,
7602
7602
  disabled: L.disabled,
@@ -7606,7 +7606,7 @@ const E2 = {
7606
7606
  g(L.$slots, "prepend", {
7607
7607
  onlyIcon: V.icon
7608
7608
  }, () => [
7609
- V.prependIcon ? (m(), F(R, {
7609
+ V.prependIcon ? (m(), R(T, {
7610
7610
  key: 0,
7611
7611
  id: `${L.id}-prepend-icon`,
7612
7612
  class: O(["r-button__prepend-icon", {
@@ -7623,7 +7623,7 @@ const E2 = {
7623
7623
  g(L.$slots, "append", {
7624
7624
  onlyIcon: V.icon
7625
7625
  }, () => [
7626
- !V.icon && V.appendIcon ? (m(), F(R, {
7626
+ !V.icon && V.appendIcon ? (m(), R(T, {
7627
7627
  key: 0,
7628
7628
  id: `${L.id}-append-icon`,
7629
7629
  class: "r-button__append-icon",
@@ -7633,7 +7633,7 @@ const E2 = {
7633
7633
  ])
7634
7634
  ], 16, e5));
7635
7635
  }
7636
- }), d5 = ["id"], t5 = ["id"], m5 = ["id", "checked", "disabled", "indeterminate"], l5 = ["id", "data-disabled"], o5 = ["id"], n5 = ["id", "data-disabled", "for"], r5 = ["id"], a5 = ["id"], Z5 = ["id"], i7 = /* @__PURE__ */ T({
7636
+ }), d5 = ["id"], t5 = ["id"], m5 = ["id", "checked", "disabled", "indeterminate"], l5 = ["id", "data-disabled"], o5 = ["id"], n5 = ["id", "data-disabled", "for"], a5 = ["id"], r5 = ["id"], Z5 = ["id"], e7 = /* @__PURE__ */ F({
7637
7637
  __name: "RCheckbox",
7638
7638
  props: {
7639
7639
  id: { default: "" },
@@ -7664,7 +7664,7 @@ const E2 = {
7664
7664
  function d(n) {
7665
7665
  C.disabled || (A.checked = n.target.checked, A.indeterminate = !1, i("update:modelValue", A.checked));
7666
7666
  }
7667
- W(
7667
+ $(
7668
7668
  () => C.indeterminate,
7669
7669
  (n) => {
7670
7670
  A.indeterminate = n, n === !0 && (A.checked = !1, i("update:modelValue", A.checked));
@@ -7674,7 +7674,7 @@ const E2 = {
7674
7674
  // TODO: find a better way to do this
7675
7675
  immediate: !0
7676
7676
  }
7677
- ), W(
7677
+ ), $(
7678
7678
  () => C.modelValue,
7679
7679
  (n) => {
7680
7680
  A.checked = n;
@@ -7686,7 +7686,7 @@ const E2 = {
7686
7686
  }
7687
7687
  );
7688
7688
  const l = h(() => C.id || "r-checkbox");
7689
- return (n, u) => (m(), a("div", {
7689
+ return (n, u) => (m(), r("div", {
7690
7690
  id: l.value,
7691
7691
  class: "r-checkbox-wrapper"
7692
7692
  }, [
@@ -7708,7 +7708,7 @@ const E2 = {
7708
7708
  class: O(e.value),
7709
7709
  "data-disabled": C.disabled
7710
7710
  }, [
7711
- H1(R, {
7711
+ H1(T, {
7712
7712
  name: M.value,
7713
7713
  size: 24
7714
7714
  }, null, 8, ["name"])
@@ -7724,25 +7724,25 @@ const E2 = {
7724
7724
  "data-disabled": C.disabled,
7725
7725
  for: l.value
7726
7726
  }, v(C.label), 9, n5),
7727
- C.hideDetails ? f("", !0) : (m(), a("div", {
7727
+ C.hideDetails ? f("", !0) : (m(), r("div", {
7728
7728
  key: 0,
7729
7729
  id: `${l.value}-details`,
7730
7730
  class: "r-checkbox-texts__details"
7731
7731
  }, [
7732
- C.errorMsg ? (m(), a("p", {
7732
+ C.errorMsg ? (m(), r("p", {
7733
7733
  key: 0,
7734
7734
  id: `${l.value}-error`,
7735
7735
  class: "r-checkbox-texts__error"
7736
- }, v(C.errorMsg), 9, a5)) : (m(), a("p", {
7736
+ }, v(C.errorMsg), 9, r5)) : (m(), r("p", {
7737
7737
  key: 1,
7738
7738
  id: `${l.value}-hint`,
7739
7739
  class: "r-checkbox-texts__hint"
7740
7740
  }, v(C.hint), 9, Z5))
7741
- ], 8, r5))
7741
+ ], 8, a5))
7742
7742
  ], 8, o5)
7743
7743
  ], 8, d5));
7744
7744
  }
7745
- }), u5 = ["id"], S5 = ["id"], s5 = ["id"], c5 = /* @__PURE__ */ T({
7745
+ }), u5 = ["id"], S5 = ["id"], s5 = ["id"], c5 = /* @__PURE__ */ F({
7746
7746
  __name: "RChip",
7747
7747
  props: {
7748
7748
  variant: { default: "primary" },
@@ -7771,7 +7771,7 @@ const E2 = {
7771
7771
  C.disabled || !C.clearable || (d.stopPropagation(), i("click:close", d));
7772
7772
  }
7773
7773
  const e = h(() => C.clearable ? "mdiClose" : C.appendIcon);
7774
- return (d, l) => (m(), a("div", {
7774
+ return (d, l) => (m(), r("div", {
7775
7775
  id: d.id,
7776
7776
  class: O(A.value)
7777
7777
  }, [
@@ -7783,7 +7783,7 @@ const E2 = {
7783
7783
  g(d.$slots, "prepend", {
7784
7784
  disabled: C.disabled
7785
7785
  }, () => [
7786
- C.prependIcon ? (m(), F(R, {
7786
+ C.prependIcon ? (m(), R(T, {
7787
7787
  key: 0,
7788
7788
  id: `${d.id}-prepend-icon`,
7789
7789
  "aria-disabled": C.disabled,
@@ -7800,7 +7800,7 @@ const E2 = {
7800
7800
  g(d.$slots, "append", {
7801
7801
  disabled: C.disabled
7802
7802
  }, () => [
7803
- e.value ? (m(), F(R, {
7803
+ e.value ? (m(), R(T, {
7804
7804
  key: 0,
7805
7805
  id: `${d.id}-append-icon`,
7806
7806
  "aria-disabled": C.disabled,
@@ -7840,14 +7840,14 @@ function z1(...H) {
7840
7840
  Array.isArray(C) || (C = [C]), Array.isArray(i) || (i = [i]);
7841
7841
  const L = [], M = () => {
7842
7842
  L.forEach((n) => n()), L.length = 0;
7843
- }, e = (n, u, o, r) => (n.addEventListener(u, o, r), () => n.removeEventListener(u, o, r)), d = W(
7843
+ }, e = (n, u, o, a) => (n.addEventListener(u, o, a), () => n.removeEventListener(u, o, a)), d = $(
7844
7844
  () => [p1(V), u2(A)],
7845
7845
  ([n, u]) => {
7846
7846
  if (M(), !n)
7847
7847
  return;
7848
7848
  const o = f5(u) ? { ...u } : u;
7849
7849
  L.push(
7850
- ...C.flatMap((r) => i.map((S) => e(n, r, S, o)))
7850
+ ...C.flatMap((a) => i.map((S) => e(n, a, S, o)))
7851
7851
  );
7852
7852
  },
7853
7853
  { immediate: !0, flush: "post" }
@@ -7863,17 +7863,17 @@ function k5(H, V, C = {}) {
7863
7863
  return;
7864
7864
  h5 && !e2 && (e2 = !0, Array.from(i.document.body.children).forEach((o) => o.addEventListener("click", K1)), i.document.documentElement.addEventListener("click", K1));
7865
7865
  let e = !0;
7866
- const d = (o) => A.some((r) => {
7867
- if (typeof r == "string")
7868
- return Array.from(i.document.querySelectorAll(r)).some((S) => S === o.target || o.composedPath().includes(S));
7866
+ const d = (o) => A.some((a) => {
7867
+ if (typeof a == "string")
7868
+ return Array.from(i.document.querySelectorAll(a)).some((S) => S === o.target || o.composedPath().includes(S));
7869
7869
  {
7870
- const S = p1(r);
7870
+ const S = p1(a);
7871
7871
  return S && (o.target === S || o.composedPath().includes(S));
7872
7872
  }
7873
7873
  }), n = [
7874
7874
  z1(i, "click", (o) => {
7875
- const r = p1(H);
7876
- if (!(!r || r === o.target || o.composedPath().includes(r))) {
7875
+ const a = p1(H);
7876
+ if (!(!a || a === o.target || o.composedPath().includes(a))) {
7877
7877
  if (o.detail === 0 && (e = !d(o)), !e) {
7878
7878
  e = !0;
7879
7879
  return;
@@ -7882,14 +7882,14 @@ function k5(H, V, C = {}) {
7882
7882
  }
7883
7883
  }, { passive: !0, capture: L }),
7884
7884
  z1(i, "pointerdown", (o) => {
7885
- const r = p1(H);
7886
- e = !d(o) && !!(r && !o.composedPath().includes(r));
7885
+ const a = p1(H);
7886
+ e = !d(o) && !!(a && !o.composedPath().includes(a));
7887
7887
  }, { passive: !0 }),
7888
7888
  M && z1(i, "blur", (o) => {
7889
7889
  setTimeout(() => {
7890
- var r;
7890
+ var a;
7891
7891
  const S = p1(H);
7892
- ((r = i.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(S != null && S.contains(i.document.activeElement)) && V(o);
7892
+ ((a = i.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(S != null && S.contains(i.document.activeElement)) && V(o);
7893
7893
  }, 0);
7894
7894
  })
7895
7895
  ].filter(Boolean);
@@ -7901,7 +7901,7 @@ function B5() {
7901
7901
  }
7902
7902
  return `${H() + H()}-${H()}-${H()}-${H()}-${H()}${H()}${H()}`;
7903
7903
  }
7904
- const v5 = ["top", "right", "bottom", "left"], f1 = Math.min, a1 = Math.max, R1 = Math.round, d1 = (H) => ({
7904
+ const v5 = ["top", "right", "bottom", "left"], f1 = Math.min, r1 = Math.max, R1 = Math.round, d1 = (H) => ({
7905
7905
  x: H,
7906
7906
  y: H
7907
7907
  }), b5 = {
@@ -7914,7 +7914,7 @@ const v5 = ["top", "right", "bottom", "left"], f1 = Math.min, a1 = Math.max, R1
7914
7914
  end: "start"
7915
7915
  };
7916
7916
  function q1(H, V, C) {
7917
- return a1(H, f1(V, C));
7917
+ return r1(H, f1(V, C));
7918
7918
  }
7919
7919
  function s1(H, V) {
7920
7920
  return typeof H == "function" ? H(V) : H;
@@ -8003,47 +8003,47 @@ function d2(H, V, C) {
8003
8003
  floating: A
8004
8004
  } = H;
8005
8005
  const L = W1(V), M = H2(V), e = C2(M), d = o1(V), l = L === "y", n = i.x + i.width / 2 - A.width / 2, u = i.y + i.height / 2 - A.height / 2, o = i[e] / 2 - A[e] / 2;
8006
- let r;
8006
+ let a;
8007
8007
  switch (d) {
8008
8008
  case "top":
8009
- r = {
8009
+ a = {
8010
8010
  x: n,
8011
8011
  y: i.y - A.height
8012
8012
  };
8013
8013
  break;
8014
8014
  case "bottom":
8015
- r = {
8015
+ a = {
8016
8016
  x: n,
8017
8017
  y: i.y + i.height
8018
8018
  };
8019
8019
  break;
8020
8020
  case "right":
8021
- r = {
8021
+ a = {
8022
8022
  x: i.x + i.width,
8023
8023
  y: u
8024
8024
  };
8025
8025
  break;
8026
8026
  case "left":
8027
- r = {
8027
+ a = {
8028
8028
  x: i.x - A.width,
8029
8029
  y: u
8030
8030
  };
8031
8031
  break;
8032
8032
  default:
8033
- r = {
8033
+ a = {
8034
8034
  x: i.x,
8035
8035
  y: i.y
8036
8036
  };
8037
8037
  }
8038
8038
  switch (g1(V)) {
8039
8039
  case "start":
8040
- r[M] -= o * (C && l ? -1 : 1);
8040
+ a[M] -= o * (C && l ? -1 : 1);
8041
8041
  break;
8042
8042
  case "end":
8043
- r[M] += o * (C && l ? -1 : 1);
8043
+ a[M] += o * (C && l ? -1 : 1);
8044
8044
  break;
8045
8045
  }
8046
- return r;
8046
+ return a;
8047
8047
  }
8048
8048
  const x5 = async (H, V, C) => {
8049
8049
  const {
@@ -8059,7 +8059,7 @@ const x5 = async (H, V, C) => {
8059
8059
  }), {
8060
8060
  x: n,
8061
8061
  y: u
8062
- } = d2(l, i, d), o = i, r = {}, S = 0;
8062
+ } = d2(l, i, d), o = i, a = {}, S = 0;
8063
8063
  for (let b = 0; b < e.length; b++) {
8064
8064
  const {
8065
8065
  name: B,
@@ -8075,7 +8075,7 @@ const x5 = async (H, V, C) => {
8075
8075
  initialPlacement: i,
8076
8076
  placement: o,
8077
8077
  strategy: A,
8078
- middlewareData: r,
8078
+ middlewareData: a,
8079
8079
  rects: l,
8080
8080
  platform: M,
8081
8081
  elements: {
@@ -8083,10 +8083,10 @@ const x5 = async (H, V, C) => {
8083
8083
  floating: V
8084
8084
  }
8085
8085
  });
8086
- if (n = Z ?? n, u = w ?? u, r = {
8087
- ...r,
8086
+ if (n = Z ?? n, u = w ?? u, a = {
8087
+ ...a,
8088
8088
  [B]: {
8089
- ...r[B],
8089
+ ...a[B],
8090
8090
  ..._
8091
8091
  }
8092
8092
  }, x && S <= 50) {
@@ -8106,7 +8106,7 @@ const x5 = async (H, V, C) => {
8106
8106
  y: u,
8107
8107
  placement: o,
8108
8108
  strategy: A,
8109
- middlewareData: r
8109
+ middlewareData: a
8110
8110
  };
8111
8111
  };
8112
8112
  async function E1(H, V) {
@@ -8124,8 +8124,8 @@ async function E1(H, V) {
8124
8124
  rootBoundary: n = "viewport",
8125
8125
  elementContext: u = "floating",
8126
8126
  altBoundary: o = !1,
8127
- padding: r = 0
8128
- } = s1(V, H), S = p2(r), B = e[o ? u === "floating" ? "reference" : "floating" : u], y = D1(await L.getClippingRect({
8127
+ padding: a = 0
8128
+ } = s1(V, H), S = p2(a), B = e[o ? u === "floating" ? "reference" : "floating" : u], y = D1(await L.getClippingRect({
8129
8129
  element: (C = await (L.isElement == null ? void 0 : L.isElement(B))) == null || C ? B : B.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8130
8130
  boundary: l,
8131
8131
  rootBoundary: n,
@@ -8173,14 +8173,14 @@ const D5 = (H) => ({
8173
8173
  const u = p2(n), o = {
8174
8174
  x: C,
8175
8175
  y: i
8176
- }, r = H2(A), S = C2(r), b = await M.getDimensions(l), B = r === "y", y = B ? "top" : "left", Z = B ? "bottom" : "right", w = B ? "clientHeight" : "clientWidth", _ = L.reference[S] + L.reference[r] - o[r] - L.floating[S], x = o[r] - L.reference[r], z = await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(l));
8177
- let $ = z ? z[w] : 0;
8178
- (!$ || !await (M.isElement == null ? void 0 : M.isElement(z))) && ($ = e.floating[w] || L.floating[S]);
8179
- const J = _ / 2 - x / 2, k = $ / 2 - b[S] / 2 - 1, N = f1(u[y], k), Q = f1(u[Z], k), D = N, l1 = $ - b[S] - Q, I = $ / 2 - b[S] / 2 + J, q = q1(D, I, l1), j = !d.arrow && g1(A) != null && I != q && L.reference[S] / 2 - (I < D ? N : Q) - b[S] / 2 < 0, C1 = j ? I < D ? I - D : I - l1 : 0;
8176
+ }, a = H2(A), S = C2(a), b = await M.getDimensions(l), B = a === "y", y = B ? "top" : "left", Z = B ? "bottom" : "right", w = B ? "clientHeight" : "clientWidth", _ = L.reference[S] + L.reference[a] - o[a] - L.floating[S], x = o[a] - L.reference[a], z = await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(l));
8177
+ let W = z ? z[w] : 0;
8178
+ (!W || !await (M.isElement == null ? void 0 : M.isElement(z))) && (W = e.floating[w] || L.floating[S]);
8179
+ const J = _ / 2 - x / 2, k = W / 2 - b[S] / 2 - 1, N = f1(u[y], k), Q = f1(u[Z], k), D = N, l1 = W - b[S] - Q, I = W / 2 - b[S] / 2 + J, q = q1(D, I, l1), j = !d.arrow && g1(A) != null && I != q && L.reference[S] / 2 - (I < D ? N : Q) - b[S] / 2 < 0, C1 = j ? I < D ? I - D : I - l1 : 0;
8180
8180
  return {
8181
- [r]: o[r] + C1,
8181
+ [a]: o[a] + C1,
8182
8182
  data: {
8183
- [r]: q,
8183
+ [a]: q,
8184
8184
  centerOffset: I - q - C1,
8185
8185
  ...j && {
8186
8186
  alignmentOffset: C1
@@ -8206,7 +8206,7 @@ const D5 = (H) => ({
8206
8206
  mainAxis: n = !0,
8207
8207
  crossAxis: u = !0,
8208
8208
  fallbackPlacements: o,
8209
- fallbackStrategy: r = "bestFit",
8209
+ fallbackStrategy: a = "bestFit",
8210
8210
  fallbackAxisSideDirection: S = "none",
8211
8211
  flipAlignment: b = !0,
8212
8212
  ...B
@@ -8215,16 +8215,16 @@ const D5 = (H) => ({
8215
8215
  return {};
8216
8216
  const y = o1(A), Z = o1(e) === e, w = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), _ = o || (Z || !b ? [x1(e)] : P5(e));
8217
8217
  !o && S !== "none" && _.push(...F5(e, b, S, w));
8218
- const x = [e, ..._], z = await E1(V, B), $ = [];
8218
+ const x = [e, ..._], z = await E1(V, B), W = [];
8219
8219
  let J = ((i = L.flip) == null ? void 0 : i.overflows) || [];
8220
- if (n && $.push(z[y]), u) {
8220
+ if (n && W.push(z[y]), u) {
8221
8221
  const D = y5(A, M, w);
8222
- $.push(z[D[0]], z[D[1]]);
8222
+ W.push(z[D[0]], z[D[1]]);
8223
8223
  }
8224
8224
  if (J = [...J, {
8225
8225
  placement: A,
8226
- overflows: $
8227
- }], !$.every((D) => D <= 0)) {
8226
+ overflows: W
8227
+ }], !W.every((D) => D <= 0)) {
8228
8228
  var k, N;
8229
8229
  const D = (((k = L.flip) == null ? void 0 : k.index) || 0) + 1, l1 = x[D];
8230
8230
  if (l1)
@@ -8239,7 +8239,7 @@ const D5 = (H) => ({
8239
8239
  };
8240
8240
  let I = (N = J.filter((q) => q.overflows[0] <= 0).sort((q, j) => q.overflows[1] - j.overflows[1])[0]) == null ? void 0 : N.placement;
8241
8241
  if (!I)
8242
- switch (r) {
8242
+ switch (a) {
8243
8243
  case "bestFit": {
8244
8244
  var Q;
8245
8245
  const q = (Q = J.map((j) => [j.placement, j.overflows.filter((C1) => C1 > 0).reduce((C1, Q1) => C1 + Q1, 0)]).sort((j, C1) => j[1] - C1[1])[0]) == null ? void 0 : Q[0];
@@ -8322,7 +8322,7 @@ async function $5(H, V) {
8322
8322
  } = H, L = await (i.isRTL == null ? void 0 : i.isRTL(A.floating)), M = o1(C), e = g1(C), d = W1(C) === "y", l = ["left", "top"].includes(M) ? -1 : 1, n = L && d ? -1 : 1, u = s1(V, H);
8323
8323
  let {
8324
8324
  mainAxis: o,
8325
- crossAxis: r,
8325
+ crossAxis: a,
8326
8326
  alignmentAxis: S
8327
8327
  } = typeof u == "number" ? {
8328
8328
  mainAxis: u,
@@ -8334,12 +8334,12 @@ async function $5(H, V) {
8334
8334
  alignmentAxis: null,
8335
8335
  ...u
8336
8336
  };
8337
- return e && typeof S == "number" && (r = e === "end" ? S * -1 : S), d ? {
8338
- x: r * n,
8337
+ return e && typeof S == "number" && (a = e === "end" ? S * -1 : S), d ? {
8338
+ x: a * n,
8339
8339
  y: o * l
8340
8340
  } : {
8341
8341
  x: o * l,
8342
- y: r * n
8342
+ y: a * n
8343
8343
  };
8344
8344
  }
8345
8345
  const W5 = function(H) {
@@ -8387,10 +8387,10 @@ const W5 = function(H) {
8387
8387
  x: C,
8388
8388
  y: i
8389
8389
  }, n = await E1(V, d), u = W1(o1(A)), o = c2(u);
8390
- let r = l[o], S = l[u];
8390
+ let a = l[o], S = l[u];
8391
8391
  if (L) {
8392
- const B = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", Z = r + n[B], w = r - n[y];
8393
- r = q1(Z, r, w);
8392
+ const B = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", Z = a + n[B], w = a - n[y];
8393
+ a = q1(Z, a, w);
8394
8394
  }
8395
8395
  if (M) {
8396
8396
  const B = u === "y" ? "top" : "left", y = u === "y" ? "bottom" : "right", Z = S + n[B], w = S - n[y];
@@ -8398,7 +8398,7 @@ const W5 = function(H) {
8398
8398
  }
8399
8399
  const b = e.fn({
8400
8400
  ...V,
8401
- [o]: r,
8401
+ [o]: a,
8402
8402
  [u]: S
8403
8403
  });
8404
8404
  return {
@@ -8546,9 +8546,9 @@ function h1(H, V, C, i) {
8546
8546
  const e = U5(L, C, i) ? k2(L) : d1(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 = K(L), r = i && i1(i) ? K(i) : i;
8549
+ const o = K(L), a = i && i1(i) ? K(i) : i;
8550
8550
  let S = o.frameElement;
8551
- for (; S && i && r !== o; ) {
8551
+ for (; S && i && a !== o; ) {
8552
8552
  const b = Z1(S), B = S.getBoundingClientRect(), y = Y(S), Z = B.left + (S.clientLeft + parseFloat(y.paddingLeft)) * b.x, w = B.top + (S.clientTop + parseFloat(y.paddingTop)) * b.y;
8553
8553
  d *= b.x, l *= b.y, n *= b.x, u *= b.y, d += Z, l += w, S = K(S).frameElement;
8554
8554
  }
@@ -8592,10 +8592,10 @@ function B2(H) {
8592
8592
  return h1(m1(H)).left + I1(H).scrollLeft;
8593
8593
  }
8594
8594
  function q5(H) {
8595
- const V = m1(H), C = I1(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);
8595
+ const V = m1(H), C = I1(H), i = H.ownerDocument.body, A = r1(V.scrollWidth, V.clientWidth, i.scrollWidth, i.clientWidth), L = r1(V.scrollHeight, V.clientHeight, i.scrollHeight, i.clientHeight);
8596
8596
  let M = -C.scrollLeft + B2(H);
8597
8597
  const e = -C.scrollTop;
8598
- return Y(i).direction === "rtl" && (M += a1(V.clientWidth, i.clientWidth) - A), {
8598
+ return Y(i).direction === "rtl" && (M += r1(V.clientWidth, i.clientWidth) - A), {
8599
8599
  width: A,
8600
8600
  height: L,
8601
8601
  x: M,
@@ -8670,7 +8670,7 @@ function J5(H) {
8670
8670
  } = H;
8671
8671
  const M = [...C === "clippingAncestors" ? Y5(V, this._c) : [].concat(C), i], e = M[0], d = M.reduce((l, n) => {
8672
8672
  const u = o2(V, n, A);
8673
- return l.top = a1(u.top, l.top), l.right = f1(u.right, l.right), l.bottom = f1(u.bottom, l.bottom), l.left = a1(u.left, l.left), l;
8673
+ return l.top = r1(u.top, l.top), l.right = f1(u.right, l.right), l.bottom = f1(u.bottom, l.bottom), l.left = r1(u.left, l.left), l;
8674
8674
  }, o2(V, e, A));
8675
8675
  return {
8676
8676
  width: d.right - d.left,
@@ -8773,9 +8773,9 @@ async function A3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e)
8773
8773
  if (!V)
8774
8774
  return;
8775
8775
  u.flip && V.setAttribute("data-placement", n);
8776
- const o = (S = H.offsetParent) == null ? void 0 : S.getBoundingClientRect().left, r = (b = H.offsetParent) == null ? void 0 : b.getBoundingClientRect().width;
8776
+ const o = (S = H.offsetParent) == null ? void 0 : S.getBoundingClientRect().left, a = (b = H.offsetParent) == null ? void 0 : b.getBoundingClientRect().width;
8777
8777
  if (Object.assign(V.style, {
8778
- maxWidth: e === "dropdown" ? `${r}px` : "auto",
8778
+ maxWidth: e === "dropdown" ? `${a}px` : "auto",
8779
8779
  left: e === "dropdown" ? `${o}px` : `${d}px`,
8780
8780
  top: `${l}px`,
8781
8781
  animation: `r-tooltip-show ${M}ms ease-in-out forwards`,
@@ -8798,7 +8798,7 @@ async function A3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e)
8798
8798
  }
8799
8799
  });
8800
8800
  }
8801
- const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"], l3 = /* @__PURE__ */ T({
8801
+ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"], l3 = /* @__PURE__ */ F({
8802
8802
  __name: "RTooltip",
8803
8803
  props: {
8804
8804
  id: { default: "r-tooltip" },
@@ -8850,7 +8850,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8850
8850
  function o(Z) {
8851
8851
  C.disabled || C.triggers.includes(M1.Click) && (L.value.style.display === "block" ? n() : l());
8852
8852
  }
8853
- function r() {
8853
+ function a() {
8854
8854
  C.disabled || C.triggers.includes(M1.Hover) && l();
8855
8855
  }
8856
8856
  function S() {
@@ -8860,7 +8860,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8860
8860
  C.triggers.includes(M1.Hover) && B();
8861
8861
  }
8862
8862
  function B() {
8863
- const { placement: Z, offset: w, padding: _, disabled: x, showDelay: z, type: $ } = C;
8863
+ const { placement: Z, offset: w, padding: _, disabled: x, showDelay: z, type: W } = C;
8864
8864
  x || A3(
8865
8865
  A,
8866
8866
  L,
@@ -8869,7 +8869,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8869
8869
  w,
8870
8870
  _,
8871
8871
  z,
8872
- $
8872
+ W
8873
8873
  );
8874
8874
  }
8875
8875
  const y = h(() => ({
@@ -8894,7 +8894,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8894
8894
  },
8895
8895
  { ignore: [L] }
8896
8896
  ) ?? null);
8897
- }), r2(() => {
8897
+ }), a2(() => {
8898
8898
  var Z, w;
8899
8899
  C.resizable && ((w = (Z = A.value) == null ? void 0 : Z.parentElement) == null || w.parentElement.addEventListener(
8900
8900
  "scroll",
@@ -8904,7 +8904,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8904
8904
  });
8905
8905
  }), Y1(() => {
8906
8906
  d && (d(), d = null);
8907
- }), (Z, w) => (m(), a(A1, null, [
8907
+ }), (Z, w) => (m(), r(A1, null, [
8908
8908
  s("div", {
8909
8909
  id: Z.id,
8910
8910
  ref_key: "trigger",
@@ -8912,7 +8912,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8912
8912
  "aria-disabled": C.disabled,
8913
8913
  class: O(["r-tooltip-trigger", Z.triggerClass]),
8914
8914
  onClick: o,
8915
- onMouseenter: r,
8915
+ onMouseenter: a,
8916
8916
  onMouseleave: S,
8917
8917
  onMousemove: b
8918
8918
  }, [
@@ -8920,7 +8920,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8920
8920
  id: `${Z.id}-slot`,
8921
8921
  activators: {
8922
8922
  click: o,
8923
- mouseenter: r,
8923
+ mouseenter: a,
8924
8924
  mouseleave: S,
8925
8925
  mousemove: b
8926
8926
  },
@@ -8932,7 +8932,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8932
8932
  }, null, 8, d3)
8933
8933
  ])
8934
8934
  ], 42, e3),
8935
- (m(), F(a2, { to: "body" }, [
8935
+ (m(), R(r2, { to: "body" }, [
8936
8936
  s("div", {
8937
8937
  id: `${Z.id}-tooltip`,
8938
8938
  ref_key: "tooltip",
@@ -8946,14 +8946,14 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8946
8946
  hide: n,
8947
8947
  updatePosition: B
8948
8948
  }, () => [
8949
- C.text ? (m(), a("div", {
8949
+ C.text ? (m(), r("div", {
8950
8950
  key: 0,
8951
8951
  class: O(["r-tooltip__content", {
8952
8952
  "r-tooltip__content--dark": C.dark,
8953
8953
  "r-tooltip__content--light": C.light
8954
8954
  }])
8955
8955
  }, v(C.text), 3)) : f("", !0),
8956
- C.text ? (m(), a("div", {
8956
+ C.text ? (m(), r("div", {
8957
8957
  key: 1,
8958
8958
  id: `${Z.id}-arrow`,
8959
8959
  ref_key: "arrowElement",
@@ -8968,7 +8968,10 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8968
8968
  ]))
8969
8969
  ], 64));
8970
8970
  }
8971
- }), o3 = ["id"], n3 = ["id"], r3 = ["id", "onClick"], a3 = ["id"], Z3 = ["id"], u3 = ["id"], S3 = ["id"], s3 = ["id"], c3 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], p3 = ["id", "data-has-value", "onClick"], O3 = ["id"], f3 = ["id"], h3 = ["onClick"], g3 = { class: "flex items-center" }, k3 = { class: "r-dropdown-options__option__label" }, B3 = ["id"], v3 = ["id", "aria-disabled", "onClick"], b3 = ["id"], w3 = ["id"], y3 = ["id"], P3 = ["id"], T3 = ["id"], F3 = ["id"], R3 = /* @__PURE__ */ T({
8971
+ }), o3 = ["id"], n3 = ["id"], a3 = ["id", "onClick"], r3 = ["id"], Z3 = ["id"], u3 = ["id"], S3 = ["id"], s3 = ["id"], c3 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], p3 = ["id", "data-has-value", "onClick"], O3 = ["id"], f3 = ["id"], h3 = {
8972
+ key: 0,
8973
+ class: "r-dropdown-options__loading"
8974
+ }, g3 = { key: 1 }, k3 = ["onClick"], B3 = { class: "flex items-center" }, v3 = { class: "r-dropdown-options__option__label" }, b3 = ["id"], w3 = ["id", "aria-disabled", "onClick"], y3 = ["id"], P3 = ["id"], T3 = ["id"], F3 = ["id"], R3 = ["id"], x3 = ["id"], D3 = /* @__PURE__ */ F({
8972
8975
  __name: "RDropdown",
8973
8976
  props: {
8974
8977
  options: { default: () => [] },
@@ -8997,9 +9000,11 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
8997
9000
  showSelectAll: { type: Boolean, default: !1 },
8998
9001
  selectAllText: { default: "Select all" },
8999
9002
  disableDeselect: { type: Boolean, default: !1 },
9000
- maxVisibleChips: { default: 2 }
9003
+ maxVisibleChips: { default: 2 },
9004
+ innerSearch: { type: Boolean, default: !0 },
9005
+ searchLoading: { type: Boolean, default: !1 }
9001
9006
  },
9002
- emits: ["update:modelValue", "clear", "removeOption"],
9007
+ emits: ["update:modelValue", "clear", "removeOption", "search"],
9003
9008
  setup(H, { emit: V }) {
9004
9009
  const C = H, i = V, A = E({}), L = E([]), M = E(!1), e = E("");
9005
9010
  function d(t) {
@@ -9033,14 +9038,14 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9033
9038
  value: t,
9034
9039
  label: String(t)
9035
9040
  };
9036
- }), r = E(), S = E(), b = E(), B = E(null);
9041
+ }), a = E(), S = E(), b = E(), B = E(null);
9037
9042
  function y(t) {
9038
9043
  B.value = t;
9039
9044
  }
9040
9045
  const Z = E(null);
9041
9046
  function w() {
9042
9047
  if (!Z.value) {
9043
- const t = b.value || r.value;
9048
+ const t = b.value || a.value;
9044
9049
  t && (Z.value = l(t));
9045
9050
  }
9046
9051
  Z.value && (M.value ? Z.value.dataset.rOriginalOverflow || (Z.value.dataset.rOriginalOverflow = Z.value.style.overflowY || "", Z.value.style.overflowY = "hidden") : Z.value.dataset.rOriginalOverflow !== void 0 && (Z.value.style.overflowY = Z.value.dataset.rOriginalOverflow, delete Z.value.dataset.rOriginalOverflow));
@@ -9052,7 +9057,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9052
9057
  const c = document.getElementById(t);
9053
9058
  document.querySelectorAll(".r-dropdown--active").forEach((U) => {
9054
9059
  var v1;
9055
- if (U.id !== ((v1 = r.value) == null ? void 0 : v1.id) && U.classList.contains("r-dropdown--active")) {
9060
+ if (U.id !== ((v1 = a.value) == null ? void 0 : v1.id) && U.classList.contains("r-dropdown--active")) {
9056
9061
  const c1 = l(
9057
9062
  U
9058
9063
  );
@@ -9062,7 +9067,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9062
9067
  }));
9063
9068
  }), U.classList.remove("r-dropdown--active");
9064
9069
  }
9065
- }), c != null && c.classList.contains("r-dropdown--active") ? (c.classList.remove("r-dropdown--active"), M.value = !1, (X = r.value) == null || X.blur(), (p = S.value) == null || p.blur()) : (c == null || c.classList.add("r-dropdown--active"), M.value = !0, (G = r.value) == null || G.focus(), (B1 = S.value) == null || B1.focus(), c == null || c.childNodes.forEach((U) => {
9070
+ }), c != null && c.classList.contains("r-dropdown--active") ? (c.classList.remove("r-dropdown--active"), M.value = !1, (X = a.value) == null || X.blur(), (p = S.value) == null || p.blur()) : (c == null || c.classList.add("r-dropdown--active"), M.value = !0, (G = a.value) == null || G.focus(), (B1 = S.value) == null || B1.focus(), c == null || c.childNodes.forEach((U) => {
9066
9071
  U != null && U.classList && (Object == null || Object.values(U == null ? void 0 : U.classList).forEach((v1) => {
9067
9072
  U == null || U.classList.add(`${v1}--active`);
9068
9073
  }));
@@ -9076,7 +9081,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9076
9081
  var t;
9077
9082
  (t = B.value) == null || t.call(B);
9078
9083
  }
9079
- function $(t, c, P, X) {
9084
+ function W(t, c, P, X) {
9080
9085
  var p;
9081
9086
  if (!(C.disabled || c.disabled)) {
9082
9087
  if (X(), c.value === "select-all") {
@@ -9130,7 +9135,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9130
9135
  var c;
9131
9136
  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)) : ((c = A.value) == null ? void 0 : c.value) === (t == null ? void 0 : t.value);
9132
9137
  }
9133
- const D = h(() => !C.searchable || A.value.label === e.value ? u.value : u.value.filter((c) => c.label.toLowerCase().includes(e.value.toLowerCase()))), l1 = h(() => !C.searchable);
9138
+ const D = h(() => !C.searchable || A.value.label === e.value || !C.innerSearch && C.searchable ? u.value : u.value.filter((c) => c.label.toLowerCase().includes(e.value.toLowerCase()))), l1 = h(() => !C.searchable);
9134
9139
  function I() {
9135
9140
  o.value ? C.multiple ? L.value = o.value : (A.value = o.value, e.value = o.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
9136
9141
  }
@@ -9152,12 +9157,12 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9152
9157
  L.value = D.value;
9153
9158
  }
9154
9159
  const Q1 = h(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), G1 = h(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9155
- return r2(() => {
9160
+ return a2(() => {
9156
9161
  I(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute(
9157
9162
  "content",
9158
9163
  "width=device-width, initial-scale=1, maximum-scale=1"
9159
9164
  );
9160
- }), W(
9165
+ }), $(
9161
9166
  L,
9162
9167
  (t) => {
9163
9168
  i("update:modelValue", t);
@@ -9165,26 +9170,31 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9165
9170
  {
9166
9171
  deep: !0
9167
9172
  }
9168
- ), W(
9173
+ ), $(
9169
9174
  () => o.value,
9170
9175
  (t) => {
9171
9176
  I();
9172
9177
  }
9173
- ), W(
9178
+ ), $(
9174
9179
  () => M.value,
9175
9180
  () => {
9176
9181
  w();
9177
9182
  }
9183
+ ), $(
9184
+ () => e.value,
9185
+ (t) => {
9186
+ !C.innerSearch && C.searchable && A.value.label !== t && i("search", t.trim());
9187
+ }
9178
9188
  ), Y1(() => {
9179
9189
  Z.value && Z.value.dataset.rOriginalOverflow !== void 0 && (Z.value.style.overflowY = Z.value.dataset.rOriginalOverflow, delete Z.value.dataset.rOriginalOverflow);
9180
- }), (t, c) => (m(), a("div", {
9190
+ }), (t, c) => (m(), r("div", {
9181
9191
  id: t.id,
9182
9192
  ref_key: "wrapper",
9183
9193
  ref: b,
9184
9194
  class: "r-dropdown-wrapper"
9185
9195
  }, [
9186
- (m(), F(a2, { to: "body" }, [
9187
- M.value ? (m(), a("div", {
9196
+ (m(), R(r2, { to: "body" }, [
9197
+ M.value ? (m(), r("div", {
9188
9198
  key: 0,
9189
9199
  id: `${t.id}-overlay`,
9190
9200
  class: "r-dropdown-overlay",
@@ -9210,7 +9220,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9210
9220
  s("div", {
9211
9221
  id: `${t.id}-dropdown`,
9212
9222
  ref_key: "dropdown",
9213
- ref: r,
9223
+ ref: a,
9214
9224
  class: O(["r-dropdown", {
9215
9225
  "r-dropdown--disabled": C.disabled,
9216
9226
  "r-dropdown--loading": C.loading,
@@ -9221,7 +9231,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9221
9231
  role: "select",
9222
9232
  onClick: (p) => _(X)
9223
9233
  }, [
9224
- C.prependIcon || t.$slots.prepend ? (m(), a("div", {
9234
+ C.prependIcon || t.$slots.prepend ? (m(), r("div", {
9225
9235
  key: 0,
9226
9236
  id: `${t.id}-prepend-icon`,
9227
9237
  class: O(["r-dropdown__prepend-icon", {
@@ -9236,13 +9246,13 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9236
9246
  error: C.errorMsg.length,
9237
9247
  loading: C.loading
9238
9248
  }, () => [
9239
- C.prependIcon ? (m(), F(R, {
9249
+ C.prependIcon ? (m(), R(T, {
9240
9250
  key: 0,
9241
9251
  id: `${t.id}-prepend-icon`,
9242
9252
  name: C.prependIcon
9243
9253
  }, null, 8, ["id", "name"])) : f("", !0)
9244
9254
  ])
9245
- ], 10, a3)) : f("", !0),
9255
+ ], 10, r3)) : f("", !0),
9246
9256
  s("div", {
9247
9257
  id: `${t.id}-selections`,
9248
9258
  class: "r-dropdown__selections"
@@ -9256,8 +9266,8 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9256
9266
  id: `${t.id}-selections-content`,
9257
9267
  class: "flex flex-wrap items-center gap-2 text-sm"
9258
9268
  }, [
9259
- C.multiple && C.chips ? (m(), a(A1, { key: 0 }, [
9260
- (m(!0), a(A1, null, n1(Q1.value, (p) => (m(), F(c5, {
9269
+ C.multiple && C.chips ? (m(), r(A1, { key: 0 }, [
9270
+ (m(!0), r(A1, null, n1(Q1.value, (p) => (m(), R(c5, {
9261
9271
  key: p.value,
9262
9272
  id: `${t.id}-chip-${p.value}`,
9263
9273
  clearable: "",
@@ -9270,13 +9280,13 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9270
9280
  id: `${t.id}-remaining-count`,
9271
9281
  count: G1.value
9272
9282
  }, () => [
9273
- G1.value > 0 ? (m(), a("span", {
9283
+ G1.value > 0 ? (m(), r("span", {
9274
9284
  key: 0,
9275
9285
  id: `${t.id}-remaining-count-text`,
9276
9286
  class: "r-dropdown__remaining-count-text"
9277
9287
  }, " +" + v(G1.value), 9, S3)) : f("", !0)
9278
9288
  ])
9279
- ], 64)) : C.multiple ? (m(!0), a(A1, { key: 1 }, n1(L.value, (p, G) => (m(), a("span", {
9289
+ ], 64)) : C.multiple ? (m(!0), r(A1, { key: 1 }, n1(L.value, (p, G) => (m(), r("span", {
9280
9290
  id: `${t.id}-selected-option-${G}`,
9281
9291
  key: p.value
9282
9292
  }, v(p.label) + " " + v(G < L.value.length - 1 ? ", " : ""), 9, s3))), 128)) : f("", !0)
@@ -9296,7 +9306,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9296
9306
  readonly: l1.value,
9297
9307
  role: "presentation",
9298
9308
  type: "text",
9299
- onInput: r1((p) => q(P), ["prevent"]),
9309
+ onInput: a1((p) => q(P), ["prevent"]),
9300
9310
  onKeydown: [
9301
9311
  i2((p) => k(
9302
9312
  p,
@@ -9309,7 +9319,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9309
9319
  [F2, e.value]
9310
9320
  ])
9311
9321
  ], 8, Z3),
9312
- C.clearable ? (m(), a("div", {
9322
+ C.clearable ? (m(), r("div", {
9313
9323
  key: 1,
9314
9324
  id: C.id ? `${C.id}-clearable-icon` : "clearable-icon",
9315
9325
  class: "r-dropdown__clearable",
@@ -9317,14 +9327,14 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9317
9327
  onClick: (p) => j(p, P)
9318
9328
  }, [
9319
9329
  g(t.$slots, "clearable", {}, () => [
9320
- H1(R, {
9330
+ H1(T, {
9321
9331
  id: `${t.id}-clearable-icon`,
9322
9332
  name: "mdiCloseCircle",
9323
9333
  size: "18"
9324
9334
  }, null, 8, ["id"])
9325
9335
  ])
9326
9336
  ], 8, p3)) : f("", !0),
9327
- C.appendIcon || t.$slots.append ? (m(), a("div", {
9337
+ C.appendIcon || t.$slots.append ? (m(), r("div", {
9328
9338
  key: 2,
9329
9339
  id: `${t.id}-append-icon`,
9330
9340
  class: O(["r-dropdown__append-icon", {
@@ -9339,13 +9349,13 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9339
9349
  error: C.errorMsg.length,
9340
9350
  loading: C.loading
9341
9351
  }, () => [
9342
- C.appendIcon ? (m(), F(R, {
9352
+ C.appendIcon ? (m(), R(T, {
9343
9353
  key: 0,
9344
9354
  name: C.appendIcon
9345
9355
  }, null, 8, ["name"])) : f("", !0)
9346
9356
  ])
9347
9357
  ], 10, O3)) : f("", !0)
9348
- ], 10, r3)
9358
+ ], 10, a3)
9349
9359
  ]),
9350
9360
  content: F1(({ hide: P, updatePosition: X }) => [
9351
9361
  u1(v(y(P)) + " ", 1),
@@ -9356,124 +9366,132 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9356
9366
  [C.optionsClass]: C.optionsClass
9357
9367
  }])
9358
9368
  }, [
9359
- C.showSelectAll && C.multiple && D.value.length > 0 ? (m(), a("li", {
9360
- key: 0,
9361
- class: O(["r-dropdown-options__option", {
9362
- "r-dropdown-options__option--active": L.value.length === D.value.length,
9363
- "r-dropdown-options__option--disabled": !1
9364
- }]),
9365
- onClick: r1((p) => $(
9366
- p,
9367
- { label: C.selectAllText, value: "select-all" },
9368
- P,
9369
- X
9370
- ), ["prevent"])
9371
- }, [
9372
- s("div", g3, [
9373
- s("p", k3, v(C.selectAllText), 1)
9374
- ]),
9375
- L.value.length === D.value.length && !C.hideOptionCheckIcon ? (m(), F(R, {
9369
+ C.searchLoading ? (m(), r("div", h3, [
9370
+ H1(T, {
9371
+ name: "mdiLoading",
9372
+ size: "24"
9373
+ })
9374
+ ])) : (m(), r("div", g3, [
9375
+ C.showSelectAll && C.multiple && D.value.length > 0 ? (m(), r("li", {
9376
9376
  key: 0,
9377
- class: O(["r-dropdown-options__option__append-icon", {
9378
- "r-dropdown-options__option__append-icon--active": L.value.length === D.value.length
9377
+ class: O(["r-dropdown-options__option", {
9378
+ "r-dropdown-options__option--active": L.value.length === D.value.length,
9379
+ "r-dropdown-options__option--disabled": !1
9379
9380
  }]),
9380
- name: "mdiCheck"
9381
- }, null, 8, ["class"])) : f("", !0)
9382
- ], 10, h3)) : f("", !0),
9383
- C.showSelectAll && D.value.length > 0 ? (m(), a("hr", {
9384
- key: 1,
9385
- id: `${t.id}-divider`,
9386
- class: "r-dropdown-options__divider"
9387
- }, null, 8, B3)) : f("", !0),
9388
- (m(!0), a(A1, null, n1(D.value, (p) => (m(), a("li", {
9389
- id: `${t.id}-option-${p.value}`,
9390
- key: p.value,
9391
- "aria-disabled": p.disabled,
9392
- class: O(["r-dropdown-options__option", {
9393
- "r-dropdown-options__option--active": Q(p),
9394
- "r-dropdown-options__option--disabled": p.disabled,
9395
- "r-dropdown-options__option--deselect": Q(p) && C.disableDeselect
9396
- }]),
9397
- onClick: r1((G) => $(G, p, P, X), ["prevent"])
9398
- }, [
9399
- g(t.$slots, "option", {
9381
+ onClick: a1((p) => W(
9382
+ p,
9383
+ { label: C.selectAllText, value: "select-all" },
9384
+ P,
9385
+ X
9386
+ ), ["prevent"])
9387
+ }, [
9388
+ s("div", B3, [
9389
+ s("p", v3, v(C.selectAllText), 1)
9390
+ ]),
9391
+ L.value.length === D.value.length && !C.hideOptionCheckIcon ? (m(), R(T, {
9392
+ key: 0,
9393
+ class: O(["r-dropdown-options__option__append-icon", {
9394
+ "r-dropdown-options__option__append-icon--active": L.value.length === D.value.length
9395
+ }]),
9396
+ name: "mdiCheck"
9397
+ }, null, 8, ["class"])) : f("", !0)
9398
+ ], 10, k3)) : f("", !0),
9399
+ C.showSelectAll && D.value.length > 0 ? (m(), r("hr", {
9400
+ key: 1,
9401
+ id: `${t.id}-divider`,
9402
+ class: "r-dropdown-options__divider"
9403
+ }, null, 8, b3)) : f("", !0),
9404
+ (m(!0), r(A1, null, n1(D.value, (p) => (m(), r("li", {
9400
9405
  id: `${t.id}-option-${p.value}`,
9401
- disabled: p.disabled,
9402
- isSelected: Q(p),
9403
- item: p
9404
- }, () => [
9405
- s("div", {
9406
- id: `${t.id}-option-content-${p.value}`,
9407
- class: "flex items-center"
9408
- }, [
9409
- g(t.$slots, "option-prepend", {
9410
- id: `${t.id}-option-prepend-${p.value}`,
9406
+ key: p.value,
9407
+ "aria-disabled": p.disabled,
9408
+ class: O(["r-dropdown-options__option", {
9409
+ "r-dropdown-options__option--active": Q(p),
9410
+ "r-dropdown-options__option--disabled": p.disabled,
9411
+ "r-dropdown-options__option--deselect": Q(p) && C.disableDeselect
9412
+ }]),
9413
+ onClick: a1((G) => W(G, p, P, X), ["prevent"])
9414
+ }, [
9415
+ g(t.$slots, "option", {
9416
+ id: `${t.id}-option-${p.value}`,
9417
+ disabled: p.disabled,
9418
+ isSelected: Q(p),
9419
+ item: p
9420
+ }, () => [
9421
+ s("div", {
9422
+ id: `${t.id}-option-content-${p.value}`,
9423
+ class: "flex items-center"
9424
+ }, [
9425
+ g(t.$slots, "option-prepend", {
9426
+ id: `${t.id}-option-prepend-${p.value}`,
9427
+ disabled: p.disabled,
9428
+ isSelected: Q(p)
9429
+ }, () => [
9430
+ p.prependIcon ? (m(), R(T, {
9431
+ key: 0,
9432
+ id: `${t.id}-option-prepend-icon-${p.value}`,
9433
+ class: O(["r-dropdown-options__option__prepend-icon", {
9434
+ "r-dropdown-options__option__prepend-icon--active": Q(p)
9435
+ }]),
9436
+ name: p.prependIcon
9437
+ }, null, 8, ["id", "class", "name"])) : f("", !0)
9438
+ ]),
9439
+ s("p", {
9440
+ id: `${t.id}-option-label-${p.value}`,
9441
+ class: O(["r-dropdown-options__option__label", {
9442
+ "r-dropdown-options__option__label--active": Q(p)
9443
+ }])
9444
+ }, v(p.label), 11, P3)
9445
+ ], 8, y3),
9446
+ g(t.$slots, "option-append", {
9447
+ id: `${t.id}-option-append-${p.value}`,
9411
9448
  disabled: p.disabled,
9412
9449
  isSelected: Q(p)
9413
9450
  }, () => [
9414
- p.prependIcon ? (m(), F(R, {
9451
+ Q(p) && !C.hideOptionCheckIcon ? (m(), R(T, {
9415
9452
  key: 0,
9416
- id: `${t.id}-option-prepend-icon-${p.value}`,
9417
- class: O(["r-dropdown-options__option__prepend-icon", {
9418
- "r-dropdown-options__option__prepend-icon--active": Q(p)
9453
+ class: O(["r-dropdown-options__option__append-icon", {
9454
+ "r-dropdown-options__option__append-icon--active": Q(p)
9419
9455
  }]),
9420
- name: p.prependIcon
9421
- }, null, 8, ["id", "class", "name"])) : f("", !0)
9422
- ]),
9423
- s("p", {
9424
- id: `${t.id}-option-label-${p.value}`,
9425
- class: O(["r-dropdown-options__option__label", {
9426
- "r-dropdown-options__option__label--active": Q(p)
9427
- }])
9428
- }, v(p.label), 11, w3)
9429
- ], 8, b3),
9430
- g(t.$slots, "option-append", {
9431
- id: `${t.id}-option-append-${p.value}`,
9432
- disabled: p.disabled,
9433
- isSelected: Q(p)
9434
- }, () => [
9435
- Q(p) && !C.hideOptionCheckIcon ? (m(), F(R, {
9436
- key: 0,
9437
- class: O(["r-dropdown-options__option__append-icon", {
9438
- "r-dropdown-options__option__append-icon--active": Q(p)
9439
- }]),
9440
- name: "mdiCheck"
9441
- }, null, 8, ["class"])) : f("", !0)
9456
+ name: "mdiCheck"
9457
+ }, null, 8, ["class"])) : f("", !0)
9458
+ ])
9442
9459
  ])
9443
- ])
9444
- ], 10, v3))), 128)),
9445
- D.value.length === 0 ? (m(), a("li", {
9446
- key: 2,
9447
- id: `${t.id}-no-option`,
9448
- class: "r-dropdown-options__no-option"
9449
- }, [
9450
- g(t.$slots, "not-options", {}, () => [
9451
- u1(v(C.noOptionsText), 1)
9452
- ])
9453
- ], 8, y3)) : f("", !0)
9460
+ ], 10, w3))), 128)),
9461
+ D.value.length === 0 ? (m(), r("li", {
9462
+ key: 2,
9463
+ id: `${t.id}-no-option`,
9464
+ class: "r-dropdown-options__no-option"
9465
+ }, [
9466
+ g(t.$slots, "not-options", {}, () => [
9467
+ u1(v(C.noOptionsText), 1)
9468
+ ])
9469
+ ], 8, T3)) : f("", !0),
9470
+ g(t.$slots, "pagination")
9471
+ ]))
9454
9472
  ], 10, f3)
9455
9473
  ]),
9456
9474
  _: 3
9457
9475
  }, 8, ["id", "disabled", "tooltip-class"]),
9458
- t.$props.hideDetails ? f("", !0) : (m(), a("div", {
9476
+ t.$props.hideDetails ? f("", !0) : (m(), r("div", {
9459
9477
  key: 0,
9460
9478
  id: `${t.id}-details`,
9461
9479
  class: "r-dropdown-details"
9462
9480
  }, [
9463
- C.errorMsg ? (m(), a("div", {
9481
+ C.errorMsg ? (m(), r("div", {
9464
9482
  key: 0,
9465
9483
  id: `${t.id}-error`,
9466
9484
  class: "r-dropdown-error"
9467
- }, v(C.errorMsg), 9, T3)) : f("", !0),
9468
- C.hint ? (m(), a("div", {
9485
+ }, v(C.errorMsg), 9, R3)) : f("", !0),
9486
+ C.hint ? (m(), r("div", {
9469
9487
  key: 1,
9470
9488
  id: `${t.id}-hint`,
9471
9489
  class: "r-dropdown-hint"
9472
- }, v(C.hint), 9, F3)) : f("", !0)
9473
- ], 8, P3))
9490
+ }, v(C.hint), 9, x3)) : f("", !0)
9491
+ ], 8, F3))
9474
9492
  ], 8, o3));
9475
9493
  }
9476
- }), x3 = ["id", "for"], y2 = /* @__PURE__ */ T({
9494
+ }), E3 = ["id", "for"], y2 = /* @__PURE__ */ F({
9477
9495
  __name: "RLabel",
9478
9496
  props: {
9479
9497
  id: { default: "" },
@@ -9482,7 +9500,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9482
9500
  },
9483
9501
  setup(H) {
9484
9502
  const V = H, C = h(() => V.id || "r-label");
9485
- return (i, A) => (m(), a("label", {
9503
+ return (i, A) => (m(), r("label", {
9486
9504
  id: C.value,
9487
9505
  class: "r-label",
9488
9506
  for: V.for
@@ -9492,9 +9510,9 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9492
9510
  }, () => [
9493
9511
  u1(v(V.text), 1)
9494
9512
  ])
9495
- ], 8, x3));
9513
+ ], 8, E3));
9496
9514
  }
9497
- }), D3 = ["id", "onClick"], E3 = ["id", "open"], _3 = ["id"], $3 = ["id"], W3 = ["id"], N3 = ["id"], I3 = ["id"], Q3 = ["id"], A7 = /* @__PURE__ */ T({
9515
+ }), _3 = ["id", "onClick"], $3 = ["id", "open"], W3 = ["id"], N3 = ["id"], I3 = ["id"], Q3 = ["id"], G3 = ["id"], U3 = ["id"], d7 = /* @__PURE__ */ F({
9498
9516
  __name: "RModal",
9499
9517
  props: {
9500
9518
  modelValue: { type: Boolean, default: !1 },
@@ -9530,10 +9548,10 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9530
9548
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9531
9549
  }), window.addEventListener("keydown", (e) => {
9532
9550
  e.key === "Escape" && C.modelValue && C.outsideClick && i("update:modelValue", !1);
9533
- }), (e, d) => Z2((m(), a("div", {
9551
+ }), (e, d) => Z2((m(), r("div", {
9534
9552
  id: e.id,
9535
9553
  class: O(["r-modal-overlay", e.overlayClass]),
9536
- onClick: r1(M, ["stop"])
9554
+ onClick: a1(M, ["stop"])
9537
9555
  }, [
9538
9556
  s("div", {
9539
9557
  id: `${e.id}-dialog`,
@@ -9553,26 +9571,26 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9553
9571
  g(e.$slots, "header", {
9554
9572
  id: `${e.id}-header`
9555
9573
  }),
9556
- C.icon ? (m(), a("div", {
9574
+ C.icon ? (m(), r("div", {
9557
9575
  key: 0,
9558
9576
  id: `${e.id}-icon`,
9559
9577
  class: "icon"
9560
9578
  }, [
9561
- H1(R, {
9579
+ H1(T, {
9562
9580
  name: C.icon
9563
9581
  }, null, 8, ["name"])
9564
- ], 8, $3)) : f("", !0),
9565
- C.title ? (m(), a("div", {
9582
+ ], 8, N3)) : f("", !0),
9583
+ C.title ? (m(), r("div", {
9566
9584
  key: 1,
9567
9585
  id: `${e.id}-title`,
9568
9586
  class: "title"
9569
- }, v(C.title), 9, W3)) : f("", !0),
9570
- C.description ? (m(), a("div", {
9587
+ }, v(C.title), 9, I3)) : f("", !0),
9588
+ C.description ? (m(), r("div", {
9571
9589
  key: 2,
9572
9590
  id: `${e.id}-description`,
9573
9591
  class: "description"
9574
- }, v(C.description), 9, N3)) : f("", !0)
9575
- ], 8, _3),
9592
+ }, v(C.description), 9, Q3)) : f("", !0)
9593
+ ], 8, W3),
9576
9594
  s("div", {
9577
9595
  id: `${e.id}-body`,
9578
9596
  class: "r-dialog__body"
@@ -9580,7 +9598,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9580
9598
  g(e.$slots, "default", {
9581
9599
  id: `${e.id}-body`
9582
9600
  })
9583
- ], 8, I3),
9601
+ ], 8, G3),
9584
9602
  s("div", {
9585
9603
  id: `${e.id}-actions`,
9586
9604
  class: "r-dialog__actions"
@@ -9588,14 +9606,14 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9588
9606
  g(e.$slots, "actions", {
9589
9607
  id: `${e.id}-actions`
9590
9608
  })
9591
- ], 8, Q3)
9609
+ ], 8, U3)
9592
9610
  ])
9593
- ], 14, E3)
9594
- ], 10, D3)), [
9611
+ ], 14, $3)
9612
+ ], 10, _3)), [
9595
9613
  [R2, e.modelValue]
9596
9614
  ]);
9597
9615
  }
9598
- }), G3 = ["id", "data-open"], U3 = ["id", "data-open"], z3 = ["id", "data-open"], e7 = /* @__PURE__ */ T({
9616
+ }), z3 = ["id", "data-open"], K3 = ["id", "data-open"], q3 = ["id", "data-open"], t7 = /* @__PURE__ */ F({
9599
9617
  __name: "RSidebar",
9600
9618
  props: {
9601
9619
  modelValue: { type: Boolean, default: !1 },
@@ -9608,7 +9626,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9608
9626
  emits: ["update:modelValue"],
9609
9627
  setup(H, { emit: V }) {
9610
9628
  const C = H, i = V;
9611
- return (A, L) => (m(), a("div", {
9629
+ return (A, L) => (m(), r("div", {
9612
9630
  id: A.id,
9613
9631
  class: O(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9614
9632
  "data-open": C.modelValue
@@ -9621,8 +9639,8 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9621
9639
  g(A.$slots, "default", {
9622
9640
  open: C.modelValue
9623
9641
  })
9624
- ], 10, U3),
9625
- C.showTrigger ? (m(), a("div", {
9642
+ ], 10, K3),
9643
+ C.showTrigger ? (m(), r("div", {
9626
9644
  key: 0,
9627
9645
  id: `${A.id}-trigger`,
9628
9646
  class: O(["r-sidebar__trigger", [C.triggerClass]]),
@@ -9635,10 +9653,10 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9635
9653
  }, () => [
9636
9654
  u1(" > ")
9637
9655
  ])
9638
- ], 10, z3)) : f("", !0)
9639
- ], 10, G3));
9656
+ ], 10, q3)) : f("", !0)
9657
+ ], 10, z3));
9640
9658
  }
9641
- }), K3 = ["id"], q3 = ["id"], d7 = /* @__PURE__ */ T({
9659
+ }), j3 = ["id"], X3 = ["id"], m7 = /* @__PURE__ */ F({
9642
9660
  __name: "RSnackbar",
9643
9661
  props: {
9644
9662
  modelValue: { type: Boolean, default: !1 },
@@ -9653,7 +9671,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9653
9671
  emits: ["action", "update:modelValue"],
9654
9672
  setup(H, { emit: V }) {
9655
9673
  const C = H, i = V;
9656
- W(
9674
+ $(
9657
9675
  () => C.modelValue,
9658
9676
  () => {
9659
9677
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9677,14 +9695,14 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9677
9695
  warning: "mdiAlert",
9678
9696
  info: "mdiInformation"
9679
9697
  })[C.variant || "info"]);
9680
- return (M, e) => (m(), a("div", {
9698
+ return (M, e) => (m(), r("div", {
9681
9699
  id: M.id,
9682
9700
  class: O(A.value)
9683
9701
  }, [
9684
9702
  g(M.$slots, "icon", {
9685
9703
  id: `${M.id}-icon`
9686
9704
  }, () => [
9687
- C.variant ? (m(), F(R, {
9705
+ C.variant ? (m(), R(T, {
9688
9706
  key: 0,
9689
9707
  class: "r-snackbar__icon",
9690
9708
  name: L.value
@@ -9699,25 +9717,25 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9699
9717
  }, () => [
9700
9718
  u1(v(C.text), 1)
9701
9719
  ])
9702
- ], 8, q3),
9703
- C.closable ? (m(), a("div", {
9720
+ ], 8, X3),
9721
+ C.closable ? (m(), r("div", {
9704
9722
  key: 0,
9705
9723
  class: "r-snackbar__close",
9706
- onClick: e[0] || (e[0] = r1((d) => M.$emit("update:modelValue", !1), ["stop"]))
9724
+ onClick: e[0] || (e[0] = a1((d) => M.$emit("update:modelValue", !1), ["stop"]))
9707
9725
  }, [
9708
9726
  g(M.$slots, "close", {
9709
9727
  id: `${M.id}-close-slot`
9710
9728
  }, () => [
9711
- H1(R, {
9729
+ H1(T, {
9712
9730
  id: `${M.id}-close-icon`,
9713
9731
  name: "mdiClose",
9714
9732
  size: 16
9715
9733
  }, null, 8, ["id"])
9716
9734
  ])
9717
9735
  ])) : f("", !0)
9718
- ], 10, K3));
9736
+ ], 10, j3));
9719
9737
  }
9720
- }), j3 = ["id"], X3 = ["id", "checked", "disabled", "name"], Y3 = /* @__PURE__ */ s("span", { class: "slider round" }, null, -1), J3 = ["id", "for"], C0 = ["id"], H0 = ["id"], V0 = ["id"], t7 = /* @__PURE__ */ T({
9738
+ }), Y3 = ["id"], J3 = ["id", "checked", "disabled", "name"], C0 = /* @__PURE__ */ s("span", { class: "slider round" }, null, -1), H0 = ["id", "for"], V0 = ["id"], L0 = ["id"], M0 = ["id"], l7 = /* @__PURE__ */ F({
9721
9739
  __name: "RSwitch",
9722
9740
  props: {
9723
9741
  id: { default: "switch" },
@@ -9744,7 +9762,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9744
9762
  function e(d) {
9745
9763
  C.disabled || (A.value.checked = d.target.checked, i("update:modelValue", A.value.checked));
9746
9764
  }
9747
- return W(
9765
+ return $(
9748
9766
  () => C.modelValue,
9749
9767
  (d) => {
9750
9768
  A.value.checked = d;
@@ -9754,7 +9772,7 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9754
9772
  // TODO: find a better way to do this
9755
9773
  immediate: !0
9756
9774
  }
9757
- ), (d, l) => (m(), a("div", {
9775
+ ), (d, l) => (m(), r("div", {
9758
9776
  id: M.value,
9759
9777
  class: O(["r-switch-container", {
9760
9778
  "r-switch-container--reverse": C.reverse,
@@ -9772,8 +9790,8 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9772
9790
  name: C.name,
9773
9791
  type: "checkbox",
9774
9792
  onChange: e
9775
- }, null, 40, X3),
9776
- Y3
9793
+ }, null, 40, J3),
9794
+ C0
9777
9795
  ], 2),
9778
9796
  s("div", {
9779
9797
  class: O(["r-switch-texts", {
@@ -9784,28 +9802,28 @@ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"]
9784
9802
  id: `${M.value}`,
9785
9803
  class: "r-switch-texts__label",
9786
9804
  for: M.value
9787
- }, v(C.label), 9, J3),
9788
- C.hideDetails ? f("", !0) : (m(), a("div", {
9805
+ }, v(C.label), 9, H0),
9806
+ C.hideDetails ? f("", !0) : (m(), r("div", {
9789
9807
  key: 0,
9790
9808
  id: `${M.value}-details`,
9791
9809
  class: "r-switch-texts__details"
9792
9810
  }, [
9793
- C.errorMsg ? (m(), a("p", {
9811
+ C.errorMsg ? (m(), r("p", {
9794
9812
  key: 0,
9795
9813
  id: `${M.value}-error`,
9796
9814
  class: "r-switch-texts__error"
9797
- }, v(C.errorMsg), 9, H0)) : (m(), a("p", {
9815
+ }, v(C.errorMsg), 9, L0)) : (m(), r("p", {
9798
9816
  key: 1,
9799
9817
  id: `${M.value}-hint`,
9800
9818
  class: "r-switch-texts__hint"
9801
- }, v(C.hint), 9, V0))
9802
- ], 8, C0))
9819
+ }, v(C.hint), 9, M0))
9820
+ ], 8, V0))
9803
9821
  ], 2)
9804
- ], 10, j3));
9822
+ ], 10, Y3));
9805
9823
  }
9806
9824
  });
9807
9825
  var O1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(O1 || {});
9808
- const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }, i0 = /* @__PURE__ */ T({
9826
+ const i0 = ["id", "aria-disabled", "aria-selected", "disabled"], A0 = { key: 0 }, e0 = /* @__PURE__ */ F({
9809
9827
  __name: "RTabItem",
9810
9828
  props: {
9811
9829
  id: {},
@@ -9832,27 +9850,27 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9832
9850
  function e(d) {
9833
9851
  i("update:modelValue", d);
9834
9852
  }
9835
- return (d, l) => (m(), a("button", {
9853
+ return (d, l) => (m(), r("button", {
9836
9854
  id: `r-tab-item-${C.id}`,
9837
9855
  "aria-disabled": C.disabled,
9838
9856
  "aria-selected": M.value,
9839
9857
  class: O(A.value),
9840
9858
  disabled: C.disabled,
9841
9859
  style: J1(L.value),
9842
- onClick: l[0] || (l[0] = r1((n) => e(C.id), ["stop"]))
9860
+ onClick: l[0] || (l[0] = a1((n) => e(C.id), ["stop"]))
9843
9861
  }, [
9844
9862
  g(d.$slots, "prepend", {
9845
9863
  active: M.value,
9846
9864
  disabled: C.disabled
9847
9865
  }, () => [
9848
- C.variant !== e1(O1).TEXT && C.prependIcon ? (m(), F(R, {
9866
+ C.variant !== e1(O1).TEXT && C.prependIcon ? (m(), R(T, {
9849
9867
  key: 0,
9850
9868
  class: "r-tab-item__prepend-icon",
9851
9869
  name: C.prependIcon,
9852
9870
  size: 16
9853
9871
  }, null, 8, ["name"])) : f("", !0)
9854
9872
  ]),
9855
- C.variant !== e1(O1).ICON ? (m(), a("span", M0, [
9873
+ C.variant !== e1(O1).ICON ? (m(), r("span", A0, [
9856
9874
  g(d.$slots, "default", {
9857
9875
  label: C.label
9858
9876
  }, () => [
@@ -9863,16 +9881,16 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9863
9881
  active: M.value,
9864
9882
  disabled: C.disabled
9865
9883
  }, () => [
9866
- C.variant !== e1(O1).TEXT && C.appendIcon ? (m(), F(R, {
9884
+ C.variant !== e1(O1).TEXT && C.appendIcon ? (m(), R(T, {
9867
9885
  key: 0,
9868
9886
  class: "r-tab-item__append-icon",
9869
9887
  name: C.appendIcon,
9870
9888
  size: 16
9871
9889
  }, null, 8, ["name"])) : f("", !0)
9872
9890
  ])
9873
- ], 14, L0));
9891
+ ], 14, i0));
9874
9892
  }
9875
- }), A0 = ["id"], e0 = ["id"], m7 = /* @__PURE__ */ T({
9893
+ }), d0 = ["id"], t0 = ["id"], o7 = /* @__PURE__ */ F({
9876
9894
  __name: "RTabs",
9877
9895
  props: {
9878
9896
  tabs: { default: () => [] },
@@ -9888,12 +9906,12 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9888
9906
  "r-tabs": !0,
9889
9907
  "r-tabs--tile": C.tile
9890
9908
  }));
9891
- return W(
9909
+ return $(
9892
9910
  () => A.value,
9893
9911
  () => {
9894
9912
  i("update:modelValue", A.value);
9895
9913
  }
9896
- ), W(
9914
+ ), $(
9897
9915
  () => C.modelValue,
9898
9916
  () => {
9899
9917
  A.value = C.modelValue;
@@ -9901,7 +9919,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9901
9919
  {
9902
9920
  immediate: !0
9903
9921
  }
9904
- ), (M, e) => (m(), a("div", {
9922
+ ), (M, e) => (m(), r("div", {
9905
9923
  id: M.id,
9906
9924
  class: O(L.value)
9907
9925
  }, [
@@ -9917,7 +9935,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9917
9935
  id: `${M.id}-slot`,
9918
9936
  activeTab: A.value
9919
9937
  }, () => [
9920
- (m(!0), a(A1, null, n1(C.tabs, (d, l) => (m(), F(i0, {
9938
+ (m(!0), r(A1, null, n1(C.tabs, (d, l) => (m(), R(e0, {
9921
9939
  id: d.id,
9922
9940
  key: l,
9923
9941
  modelValue: A.value,
@@ -9931,10 +9949,10 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9931
9949
  variant: d.variant
9932
9950
  }, null, 8, ["id", "modelValue", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9933
9951
  ])
9934
- ], 10, e0)
9935
- ], 10, A0));
9952
+ ], 10, t0)
9953
+ ], 10, d0));
9936
9954
  }
9937
- }), d0 = ["id"], t0 = ["id", "disabled", "placeholder", "value"], m0 = ["id"], l0 = ["id"], o0 = ["id"], l7 = /* @__PURE__ */ T({
9955
+ }), m0 = ["id"], l0 = ["id", "disabled", "placeholder", "value"], o0 = ["id"], n0 = ["id"], a0 = ["id"], n7 = /* @__PURE__ */ F({
9938
9956
  __name: "RTextArea",
9939
9957
  props: {
9940
9958
  id: { default: "" },
@@ -9954,7 +9972,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9954
9972
  function L(e) {
9955
9973
  i("update:modelValue", e.target.value);
9956
9974
  }
9957
- W(
9975
+ $(
9958
9976
  () => C.modelValue,
9959
9977
  (e) => {
9960
9978
  A.value = e;
@@ -9964,11 +9982,11 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9964
9982
  }
9965
9983
  );
9966
9984
  const M = h(() => C.id || "r-textarea");
9967
- return (e, d) => (m(), a("div", {
9985
+ return (e, d) => (m(), r("div", {
9968
9986
  id: M.value,
9969
9987
  class: "r-textarea-wrapper"
9970
9988
  }, [
9971
- C.label ? (m(), F(y2, {
9989
+ C.label ? (m(), R(y2, {
9972
9990
  key: 0,
9973
9991
  id: `${M.value}`,
9974
9992
  class: "r-textarea__label",
@@ -9985,28 +10003,28 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
9985
10003
  placeholder: C.placeholder,
9986
10004
  value: A.value,
9987
10005
  onInput: L
9988
- }), null, 16, t0),
9989
- C.hideDetails ? f("", !0) : (m(), a("div", {
10006
+ }), null, 16, l0),
10007
+ C.hideDetails ? f("", !0) : (m(), r("div", {
9990
10008
  key: 1,
9991
10009
  id: `${M.value}-details`,
9992
10010
  class: "r-textarea__details"
9993
10011
  }, [
9994
- C.errorMsg ? (m(), a("p", {
10012
+ C.errorMsg ? (m(), r("p", {
9995
10013
  key: 0,
9996
10014
  id: `${M.value}-error`,
9997
10015
  class: "r-textarea__error"
9998
- }, v(C.errorMsg), 9, l0)) : (m(), a("p", {
10016
+ }, v(C.errorMsg), 9, n0)) : (m(), r("p", {
9999
10017
  key: 1,
10000
10018
  id: `${M.value}-hint`,
10001
10019
  class: "r-textarea__hint"
10002
- }, v(C.hint), 9, o0))
10003
- ], 8, m0))
10004
- ], 8, d0));
10020
+ }, v(C.hint), 9, a0))
10021
+ ], 8, o0))
10022
+ ], 8, m0));
10005
10023
  }
10006
- }), n0 = ["id"], r0 = ["id"], a0 = ["id"], Z0 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], u0 = ["id"], S0 = ["id"], s0 = {
10024
+ }), r0 = ["id"], Z0 = ["id"], u0 = ["id"], S0 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], s0 = ["id"], c0 = ["id"], p0 = {
10007
10025
  key: 1,
10008
10026
  class: "r-textfield__hint"
10009
- }, o7 = /* @__PURE__ */ T({
10027
+ }, a7 = /* @__PURE__ */ F({
10010
10028
  __name: "RTextfield",
10011
10029
  props: {
10012
10030
  id: { default: "" },
@@ -10048,7 +10066,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10048
10066
  }, d = E(!1), l = h(() => !!L.value), n = h(() => L.value.length > 0), u = h(() => {
10049
10067
  var k;
10050
10068
  return (k = C.errorMsg) == null ? void 0 : k.length;
10051
- }), o = h(() => C.clearable && n.value), r = h(() => {
10069
+ }), o = h(() => C.clearable && n.value), a = h(() => {
10052
10070
  const { disabled: k, loading: N } = C;
10053
10071
  return {
10054
10072
  "r-textfield": !0,
@@ -10093,16 +10111,16 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10093
10111
  }
10094
10112
  i("click:icon", {
10095
10113
  value: M.value === "number" ? +L.value : L.value
10096
- }), C.type === "password" && $();
10114
+ }), C.type === "password" && W();
10097
10115
  }
10098
- function $() {
10116
+ function W() {
10099
10117
  M.value = M.value === "password" ? "text" : "password";
10100
10118
  }
10101
10119
  function J() {
10102
10120
  var k;
10103
10121
  (k = A.value) == null || k.focus();
10104
10122
  }
10105
- return W(
10123
+ return $(
10106
10124
  () => C.modelValue,
10107
10125
  (k) => {
10108
10126
  L.value = k;
@@ -10110,7 +10128,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10110
10128
  {
10111
10129
  immediate: !0
10112
10130
  }
10113
- ), W(
10131
+ ), $(
10114
10132
  () => L.value,
10115
10133
  (k) => {
10116
10134
  i(
@@ -10118,11 +10136,11 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10118
10136
  M.value === "number" ? +k : k
10119
10137
  );
10120
10138
  }
10121
- ), (k, N) => (m(), a("div", {
10139
+ ), (k, N) => (m(), r("div", {
10122
10140
  id: Z.value,
10123
10141
  class: "r-textfield__wrapper"
10124
10142
  }, [
10125
- C.label ? (m(), F(y2, {
10143
+ C.label ? (m(), R(y2, {
10126
10144
  key: 0,
10127
10145
  id: `${Z.value}`,
10128
10146
  class: "r-textfield__label",
@@ -10136,7 +10154,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10136
10154
  }, [
10137
10155
  s("div", {
10138
10156
  id: `${Z.value}-input-wrapper-inner`,
10139
- class: O(r.value)
10157
+ class: O(a.value)
10140
10158
  }, [
10141
10159
  g(k.$slots, "prepend", {
10142
10160
  id: `${Z.value}-prepend-slot`,
@@ -10144,7 +10162,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10144
10162
  error: u.value,
10145
10163
  loading: C.loading
10146
10164
  }, () => [
10147
- B.value ? (m(), F(R, {
10165
+ B.value ? (m(), R(T, {
10148
10166
  key: 0,
10149
10167
  id: `${Z.value}-prepend-icon`,
10150
10168
  class: O(S.value),
@@ -10167,21 +10185,21 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10167
10185
  onBlur: _,
10168
10186
  onFocus: w,
10169
10187
  onInput: x
10170
- }), null, 16, Z0),
10188
+ }), null, 16, S0),
10171
10189
  g(k.$slots, "append", {
10172
10190
  id: `${Z.value}-append-slot`,
10173
10191
  disabled: C.disabled,
10174
10192
  error: u.value,
10175
10193
  loading: C.loading
10176
10194
  }, () => [
10177
- k.$props.type === "password" && u.value ? (m(), F(R, {
10195
+ k.$props.type === "password" && u.value ? (m(), R(T, {
10178
10196
  key: 0,
10179
10197
  id: `${Z.value}-append-icon`,
10180
10198
  name: M.value === "password" ? "mdiEyeOutline" : "mdiEyeOffOutline",
10181
10199
  size: 20,
10182
10200
  onClick: z
10183
10201
  }, null, 8, ["id", "name"])) : f("", !0),
10184
- y.value && !k.$slots.append || u.value ? (m(), F(R, {
10202
+ y.value && !k.$slots.append || u.value ? (m(), R(T, {
10185
10203
  key: 1,
10186
10204
  id: `${Z.value}-append-icon`,
10187
10205
  class: O(b.value),
@@ -10190,23 +10208,23 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10190
10208
  onClick: z
10191
10209
  }, null, 8, ["id", "class", "name"])) : f("", !0)
10192
10210
  ])
10193
- ], 10, a0),
10194
- C.hideDetails ? f("", !0) : (m(), a("div", {
10211
+ ], 10, u0),
10212
+ C.hideDetails ? f("", !0) : (m(), r("div", {
10195
10213
  key: 0,
10196
10214
  id: `${Z.value}-details`,
10197
10215
  class: "r-textfield__details"
10198
10216
  }, [
10199
- C.errorMsg ? (m(), a("p", {
10217
+ C.errorMsg ? (m(), r("p", {
10200
10218
  key: 0,
10201
10219
  id: `${Z.value}-error`,
10202
10220
  class: "r-textfield__error"
10203
- }, v(C.errorMsg), 9, S0)) : f("", !0),
10204
- !C.errorMsg && C.hint ? (m(), a("p", s0, v(C.hint), 1)) : f("", !0)
10205
- ], 8, u0))
10206
- ], 8, r0)
10207
- ], 8, n0));
10221
+ }, v(C.errorMsg), 9, c0)) : f("", !0),
10222
+ !C.errorMsg && C.hint ? (m(), r("p", p0, v(C.hint), 1)) : f("", !0)
10223
+ ], 8, s0))
10224
+ ], 8, Z0)
10225
+ ], 8, r0));
10208
10226
  }
10209
- }), c0 = ["id"], p0 = ["id"], n7 = /* @__PURE__ */ T({
10227
+ }), O0 = ["id"], f0 = ["id"], r7 = /* @__PURE__ */ F({
10210
10228
  __name: "RBreadcrumb",
10211
10229
  props: {
10212
10230
  items: { default: () => [] },
@@ -10217,11 +10235,11 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10217
10235
  const V = H;
10218
10236
  return (C, i) => {
10219
10237
  const A = x2("router-link");
10220
- return m(), a("div", {
10238
+ return m(), r("div", {
10221
10239
  id: C.id,
10222
10240
  class: "r-breadcrumb"
10223
10241
  }, [
10224
- (m(!0), a(A1, null, n1(V.items, (L, M) => (m(), a("div", {
10242
+ (m(!0), r(A1, null, n1(V.items, (L, M) => (m(), r("div", {
10225
10243
  key: M,
10226
10244
  class: "r-breadcrumb__item"
10227
10245
  }, [
@@ -10232,23 +10250,23 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10232
10250
  }, {
10233
10251
  default: F1(() => [
10234
10252
  g(C.$slots, "item-icon", {}, () => [
10235
- L.icon ? (m(), F(R, {
10253
+ L.icon ? (m(), R(T, {
10236
10254
  key: 0,
10237
10255
  name: L.icon
10238
10256
  }, null, 8, ["name"])) : f("", !0)
10239
10257
  ]),
10240
- L.onlyIcon ? f("", !0) : (m(), a("span", {
10258
+ L.onlyIcon ? f("", !0) : (m(), r("span", {
10241
10259
  key: 0,
10242
10260
  id: `${C.id}-title-${M}`,
10243
10261
  class: "r-breadcrumb__title"
10244
- }, v(L.title), 9, p0))
10262
+ }, v(L.title), 9, f0))
10245
10263
  ]),
10246
10264
  _: 2
10247
10265
  }, 1032, ["id", "to"]),
10248
10266
  g(C.$slots, "custom-seperator", {
10249
10267
  id: `${C.id}-separator-${M}`
10250
10268
  }, () => [
10251
- M !== C.items.length - 1 && V.seperator ? (m(), F(R, {
10269
+ M !== C.items.length - 1 && V.seperator ? (m(), R(T, {
10252
10270
  key: 0,
10253
10271
  id: `${C.id}-separator-${M}`,
10254
10272
  class: "r-breadcrumb__separator",
@@ -10256,40 +10274,40 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10256
10274
  }, null, 8, ["id", "name"])) : f("", !0)
10257
10275
  ])
10258
10276
  ]))), 128))
10259
- ], 8, c0);
10277
+ ], 8, O0);
10260
10278
  };
10261
10279
  }
10262
- }), O0 = ["id"], f0 = ["id"], h0 = ["id"], g0 = ["id"], k0 = ["id", "disabled"], B0 = /* @__PURE__ */ s("path", {
10280
+ }), h0 = ["id"], g0 = ["id"], k0 = ["id"], B0 = ["id"], v0 = ["id", "disabled"], b0 = /* @__PURE__ */ s("path", {
10263
10281
  d: "M0 0h24v24H0z",
10264
10282
  fill: "none",
10265
10283
  stroke: "none"
10266
- }, null, -1), v0 = /* @__PURE__ */ s("path", { d: "M7 6v12" }, null, -1), b0 = /* @__PURE__ */ s("path", { d: "M18 6l-6 6l6 6" }, null, -1), w0 = [
10267
- B0,
10268
- v0,
10269
- b0
10270
- ], y0 = ["id", "disabled"], P0 = /* @__PURE__ */ s("path", {
10284
+ }, null, -1), w0 = /* @__PURE__ */ s("path", { d: "M7 6v12" }, null, -1), y0 = /* @__PURE__ */ s("path", { d: "M18 6l-6 6l6 6" }, null, -1), P0 = [
10285
+ b0,
10286
+ w0,
10287
+ y0
10288
+ ], T0 = ["id", "disabled"], F0 = /* @__PURE__ */ s("path", {
10271
10289
  d: "M0 0h24v24H0z",
10272
10290
  fill: "none",
10273
10291
  stroke: "none"
10274
- }, null, -1), T0 = /* @__PURE__ */ s("path", { d: "M15 6l-6 6l6 6" }, null, -1), F0 = [
10275
- P0,
10276
- T0
10277
- ], R0 = ["id", "disabled"], x0 = /* @__PURE__ */ s("path", {
10292
+ }, null, -1), R0 = /* @__PURE__ */ s("path", { d: "M15 6l-6 6l6 6" }, null, -1), x0 = [
10293
+ F0,
10294
+ R0
10295
+ ], D0 = ["id", "disabled"], E0 = /* @__PURE__ */ s("path", {
10278
10296
  d: "M0 0h24v24H0z",
10279
10297
  fill: "none",
10280
10298
  stroke: "none"
10281
- }, null, -1), D0 = /* @__PURE__ */ s("path", { d: "M9 6l6 6l-6 6" }, null, -1), E0 = [
10282
- x0,
10283
- D0
10284
- ], _0 = ["id", "disabled"], $0 = /* @__PURE__ */ s("path", {
10299
+ }, null, -1), _0 = /* @__PURE__ */ s("path", { d: "M9 6l6 6l-6 6" }, null, -1), $0 = [
10300
+ E0,
10301
+ _0
10302
+ ], W0 = ["id", "disabled"], N0 = /* @__PURE__ */ s("path", {
10285
10303
  d: "M0 0h24v24H0z",
10286
10304
  fill: "none",
10287
10305
  stroke: "none"
10288
- }, null, -1), W0 = /* @__PURE__ */ s("path", { d: "M6 6l6 6l-6 6" }, null, -1), N0 = /* @__PURE__ */ s("path", { d: "M17 5v13" }, null, -1), I0 = [
10289
- $0,
10290
- W0,
10291
- N0
10292
- ], r7 = /* @__PURE__ */ T({
10306
+ }, null, -1), I0 = /* @__PURE__ */ s("path", { d: "M6 6l6 6l-6 6" }, null, -1), Q0 = /* @__PURE__ */ s("path", { d: "M17 5v13" }, null, -1), G0 = [
10307
+ N0,
10308
+ I0,
10309
+ Q0
10310
+ ], Z7 = /* @__PURE__ */ F({
10293
10311
  __name: "RPagination",
10294
10312
  props: {
10295
10313
  page: { default: 1 },
@@ -10307,14 +10325,14 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10307
10325
  start: C.page * C.perPage - C.perPage,
10308
10326
  end: C.page * C.perPage
10309
10327
  })), e = h(() => C.infoText || `${M.value.start + 1}-${M.value.end} of ${C.totalItems}`), d = h(() => +C.page == +L.value), l = h(() => +C.page == 1);
10310
- W(() => M.value, () => {
10328
+ $(() => M.value, () => {
10311
10329
  i("update:info", M.value);
10312
- }), W(() => C.perPage, () => {
10330
+ }), $(() => C.perPage, () => {
10313
10331
  A.value = C.perPage, n(1);
10314
10332
  });
10315
10333
  function n(o) {
10316
- const r = Math.ceil(o);
10317
- r < 1 || r > L.value || i("update:page", r);
10334
+ const a = Math.ceil(o);
10335
+ a < 1 || a > L.value || i("update:page", a);
10318
10336
  }
10319
10337
  function u({ value: o }) {
10320
10338
  if (o) {
@@ -10323,7 +10341,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10323
10341
  }
10324
10342
  i("update:perPage", 10);
10325
10343
  }
10326
- return (o, r) => (m(), a("div", {
10344
+ return (o, a) => (m(), r("div", {
10327
10345
  id: o.id,
10328
10346
  class: O(["r-pagination", [`r-pagination--${C.position}`]])
10329
10347
  }, [
@@ -10336,10 +10354,10 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10336
10354
  class: "r-pagination__paginator__per-page"
10337
10355
  }, [
10338
10356
  s("span", null, v(C.itemsPerPageText), 1),
10339
- H1(R3, {
10357
+ H1(D3, {
10340
10358
  modelValue: A.value,
10341
10359
  "onUpdate:modelValue": [
10342
- r[0] || (r[0] = (S) => A.value = S),
10360
+ a[0] || (a[0] = (S) => A.value = S),
10343
10361
  u
10344
10362
  ],
10345
10363
  class: "w-24",
@@ -10347,21 +10365,21 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10347
10365
  "hide-option-check-icon": "",
10348
10366
  options: C.perPageOptions
10349
10367
  }, null, 8, ["modelValue", "options"])
10350
- ], 8, h0),
10368
+ ], 8, k0),
10351
10369
  s("span", {
10352
10370
  id: `${o.id}-paginator-info`,
10353
10371
  class: "r-pagination__paginator__info"
10354
- }, v(e.value), 9, g0),
10372
+ }, v(e.value), 9, B0),
10355
10373
  s("button", {
10356
10374
  id: `${o.id}-paginator-first`,
10357
10375
  class: "r-pagination__paginator__first",
10358
10376
  disabled: l.value,
10359
- onClick: r[1] || (r[1] = (S) => n(1))
10377
+ onClick: a[1] || (a[1] = (S) => n(1))
10360
10378
  }, [
10361
10379
  g(o.$slots, "first", {
10362
10380
  id: `${o.id}-paginator-first-slot`
10363
10381
  }, () => [
10364
- (m(), a("svg", {
10382
+ (m(), r("svg", {
10365
10383
  class: O(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": l.value }]),
10366
10384
  fill: "none",
10367
10385
  height: "20",
@@ -10372,19 +10390,19 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10372
10390
  viewBox: "0 0 24 24",
10373
10391
  width: "20",
10374
10392
  xmlns: "http://www.w3.org/2000/svg"
10375
- }, w0, 2))
10393
+ }, P0, 2))
10376
10394
  ])
10377
- ], 8, k0),
10395
+ ], 8, v0),
10378
10396
  s("button", {
10379
10397
  id: `${o.id}-paginator-prev`,
10380
10398
  class: "r-pagination__paginator__prev",
10381
10399
  disabled: l.value,
10382
- onClick: r[2] || (r[2] = (S) => n(+C.page - 1))
10400
+ onClick: a[2] || (a[2] = (S) => n(+C.page - 1))
10383
10401
  }, [
10384
10402
  g(o.$slots, "prev", {
10385
10403
  id: `${o.id}-paginator-prev-slot`
10386
10404
  }, () => [
10387
- (m(), a("svg", {
10405
+ (m(), r("svg", {
10388
10406
  class: O(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": l.value }]),
10389
10407
  fill: "none",
10390
10408
  height: "20",
@@ -10395,19 +10413,19 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10395
10413
  viewBox: "0 0 24 24",
10396
10414
  width: "20",
10397
10415
  xmlns: "http://www.w3.org/2000/svg"
10398
- }, F0, 2))
10416
+ }, x0, 2))
10399
10417
  ])
10400
- ], 8, y0),
10418
+ ], 8, T0),
10401
10419
  s("button", {
10402
10420
  id: `${o.id}-paginator-next`,
10403
10421
  class: "r-pagination__paginator__next",
10404
10422
  disabled: d.value,
10405
- onClick: r[3] || (r[3] = (S) => n(+C.page + 1))
10423
+ onClick: a[3] || (a[3] = (S) => n(+C.page + 1))
10406
10424
  }, [
10407
10425
  g(o.$slots, "next", {
10408
10426
  id: `${o.id}-paginator-next-slot`
10409
10427
  }, () => [
10410
- (m(), a("svg", {
10428
+ (m(), r("svg", {
10411
10429
  class: O(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10412
10430
  fill: "none",
10413
10431
  height: "20",
@@ -10418,19 +10436,19 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10418
10436
  viewBox: "0 0 24 24",
10419
10437
  width: "20",
10420
10438
  xmlns: "http://www.w3.org/2000/svg"
10421
- }, E0, 2))
10439
+ }, $0, 2))
10422
10440
  ])
10423
- ], 8, R0),
10441
+ ], 8, D0),
10424
10442
  s("button", {
10425
10443
  id: `${o.id}-paginator-last`,
10426
10444
  class: "r-pagination__paginator__last",
10427
10445
  disabled: C.page === L.value,
10428
- onClick: r[4] || (r[4] = (S) => n(L.value))
10446
+ onClick: a[4] || (a[4] = (S) => n(L.value))
10429
10447
  }, [
10430
10448
  g(o.$slots, "last", {
10431
10449
  id: `${o.id}-paginator-last-slot`
10432
10450
  }, () => [
10433
- (m(), a("svg", {
10451
+ (m(), r("svg", {
10434
10452
  class: O(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10435
10453
  fill: "none",
10436
10454
  height: "20",
@@ -10441,13 +10459,13 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10441
10459
  viewBox: "0 0 24 24",
10442
10460
  width: "20",
10443
10461
  xmlns: "http://www.w3.org/2000/svg"
10444
- }, I0, 2))
10462
+ }, G0, 2))
10445
10463
  ])
10446
- ], 8, _0)
10447
- ], 8, f0)
10448
- ], 10, O0));
10464
+ ], 8, W0)
10465
+ ], 8, g0)
10466
+ ], 10, h0));
10449
10467
  }
10450
- }), Q0 = ["id", "value"], a7 = /* @__PURE__ */ T({
10468
+ }), U0 = ["id", "value"], u7 = /* @__PURE__ */ F({
10451
10469
  __name: "RProgressbar",
10452
10470
  props: {
10453
10471
  value: { default: 0 },
@@ -10456,7 +10474,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10456
10474
  },
10457
10475
  setup(H) {
10458
10476
  const V = H;
10459
- return (C, i) => (m(), a("progress", {
10477
+ return (C, i) => (m(), r("progress", {
10460
10478
  id: C.id,
10461
10479
  "aria-valuemax": 100,
10462
10480
  class: "r-progressbar",
@@ -10464,9 +10482,9 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10464
10482
  role: "progressbar",
10465
10483
  style: J1({ height: `${V.height}px` }),
10466
10484
  value: V.value
10467
- }, null, 12, Q0));
10485
+ }, null, 12, U0));
10468
10486
  }
10469
- }), y1 = "rocket-ui:r-item-group", Z7 = /* @__PURE__ */ T({
10487
+ }), y1 = "rocket-ui:r-item-group", S7 = /* @__PURE__ */ F({
10470
10488
  __name: "RItemGroup",
10471
10489
  props: {
10472
10490
  modelValue: { default: () => [] },
@@ -10493,9 +10511,9 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10493
10511
  function l() {
10494
10512
  return C.disabled;
10495
10513
  }
10496
- return b1(`${y1}:isDisabled`, l), W(() => C.modelValue, () => {
10514
+ return b1(`${y1}:isDisabled`, l), $(() => C.modelValue, () => {
10497
10515
  L.value = C.modelValue;
10498
- }), (n, u) => (m(), F(D2(A.value), { id: n.id }, {
10516
+ }), (n, u) => (m(), R(D2(A.value), { id: n.id }, {
10499
10517
  default: F1(() => [
10500
10518
  g(n.$slots, "default", {
10501
10519
  id: `${n.id}-slot`,
@@ -10507,7 +10525,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10507
10525
  _: 3
10508
10526
  }, 8, ["id"]));
10509
10527
  }
10510
- }), P1 = "rocket-ui:r-item-group", u7 = /* @__PURE__ */ T({
10528
+ }), P1 = "rocket-ui:r-item-group", s7 = /* @__PURE__ */ F({
10511
10529
  __name: "RItem",
10512
10530
  props: {
10513
10531
  value: { default: null },
@@ -10531,7 +10549,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10531
10549
  toggle: e
10532
10550
  });
10533
10551
  }
10534
- }), G0 = ["id"], U0 = ["id", "checked", "disabled", "name", "value"], z0 = ["id"], K0 = ["id"], q0 = { class: "flex flex-col" }, j0 = ["id"], X0 = ["id"], Y0 = ["id"], S7 = /* @__PURE__ */ T({
10552
+ }), z0 = ["id"], K0 = ["id", "checked", "disabled", "name", "value"], q0 = ["id"], j0 = ["id"], X0 = { class: "flex flex-col" }, Y0 = ["id"], J0 = ["id"], C7 = ["id"], c7 = /* @__PURE__ */ F({
10535
10553
  __name: "RRadio",
10536
10554
  props: {
10537
10555
  id: { default: "" },
@@ -10553,9 +10571,9 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10553
10571
  "r-radio--error": V.errorMsg
10554
10572
  }
10555
10573
  ]);
10556
- return W(() => V.modelValue, (L) => {
10574
+ return $(() => V.modelValue, (L) => {
10557
10575
  i.value = L;
10558
- }, { immediate: !0 }), (L, M) => (m(), a("div", {
10576
+ }, { immediate: !0 }), (L, M) => (m(), r("div", {
10559
10577
  id: C.value,
10560
10578
  class: O(A.value)
10561
10579
  }, [
@@ -10568,7 +10586,7 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10568
10586
  type: "radio",
10569
10587
  value: V.value,
10570
10588
  onChange: M[0] || (M[0] = (e) => L.$emit("update:modelValue"))
10571
- }), null, 16, U0),
10589
+ }), null, 16, K0),
10572
10590
  s("span", {
10573
10591
  id: `${C.value}`,
10574
10592
  class: O(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
@@ -10577,53 +10595,53 @@ const L0 = ["id", "aria-disabled", "aria-selected", "disabled"], M0 = { key: 0 }
10577
10595
  s("span", {
10578
10596
  id: `${C.value}-custom`,
10579
10597
  class: O(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
10580
- }, null, 10, K0),
10581
- s("div", q0, [
10582
- V.title ? (m(), a("span", {
10598
+ }, null, 10, j0),
10599
+ s("div", X0, [
10600
+ V.title ? (m(), r("span", {
10583
10601
  key: 0,
10584
10602
  id: `${C.value}-title`,
10585
10603
  class: O(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10586
- }, v(V.title), 11, j0)) : f("", !0),
10604
+ }, v(V.title), 11, Y0)) : f("", !0),
10587
10605
  s("span", null, v(V.label), 1)
10588
10606
  ])
10589
- ], 10, z0),
10590
- V.hint && !V.errorMsg ? (m(), a("span", {
10607
+ ], 10, q0),
10608
+ V.hint && !V.errorMsg ? (m(), r("span", {
10591
10609
  key: 0,
10592
10610
  id: `${C.value}-hint`,
10593
10611
  class: O(["r-radio__hint", [V.disabled && "r-radio__hint--disabled"]])
10594
- }, v(V.hint), 11, X0)) : f("", !0),
10595
- V.errorMsg ? (m(), a("span", {
10612
+ }, v(V.hint), 11, J0)) : f("", !0),
10613
+ V.errorMsg ? (m(), r("span", {
10596
10614
  key: 1,
10597
10615
  id: `${C.value}-error`,
10598
10616
  class: "r-radio__error"
10599
- }, v(V.errorMsg), 9, Y0)) : f("", !0)
10600
- ], 10, G0));
10617
+ }, v(V.errorMsg), 9, C7)) : f("", !0)
10618
+ ], 10, z0));
10601
10619
  }
10602
10620
  });
10603
10621
  export {
10604
- C7 as RAccordion,
10605
- H7 as RAlert,
10606
- V7 as RAvatar,
10607
- L7 as RBadge,
10608
- n7 as RBreadcrumb,
10609
- M7 as RButton,
10610
- i7 as RCheckbox,
10622
+ V7 as RAccordion,
10623
+ L7 as RAlert,
10624
+ M7 as RAvatar,
10625
+ i7 as RBadge,
10626
+ r7 as RBreadcrumb,
10627
+ A7 as RButton,
10628
+ e7 as RCheckbox,
10611
10629
  c5 as RChip,
10612
- R3 as RDropdown,
10613
- R as RIcon,
10614
- u7 as RItem,
10615
- Z7 as RItemGroup,
10630
+ D3 as RDropdown,
10631
+ T as RIcon,
10632
+ s7 as RItem,
10633
+ S7 as RItemGroup,
10616
10634
  y2 as RLabel,
10617
- A7 as RModal,
10618
- r7 as RPagination,
10619
- a7 as RProgressbar,
10620
- S7 as RRadio,
10621
- e7 as RSidebar,
10622
- d7 as RSnackbar,
10623
- t7 as RSwitch,
10624
- i0 as RTabItem,
10625
- m7 as RTabs,
10626
- l7 as RTextArea,
10627
- o7 as RTextfield,
10635
+ d7 as RModal,
10636
+ Z7 as RPagination,
10637
+ u7 as RProgressbar,
10638
+ c7 as RRadio,
10639
+ t7 as RSidebar,
10640
+ m7 as RSnackbar,
10641
+ l7 as RSwitch,
10642
+ e0 as RTabItem,
10643
+ o7 as RTabs,
10644
+ n7 as RTextArea,
10645
+ a7 as RTextfield,
10628
10646
  l3 as RTooltip
10629
10647
  };