@rocketui/vue 0.2.69 → 0.2.70

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.
Files changed (57) hide show
  1. package/dist/rocket-ui-vue.js +894 -885
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/Accordion/RAccordion.vue.d.ts +70 -0
  5. package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +1 -0
  6. package/dist/types/components/Alert/RAlert.vue.d.ts +109 -0
  7. package/dist/types/components/Alert/RAlert.vue.d.ts.map +1 -0
  8. package/dist/types/components/Avatar/RAvatar.vue.d.ts +92 -0
  9. package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +1 -0
  10. package/dist/types/components/Badge/RBadge.vue.d.ts +143 -0
  11. package/dist/types/components/Badge/RBadge.vue.d.ts.map +1 -0
  12. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
  13. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
  14. package/dist/types/components/Button/RButton.vue.d.ts +155 -0
  15. package/dist/types/components/Button/RButton.vue.d.ts.map +1 -0
  16. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +120 -0
  17. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
  18. package/dist/types/components/Chips/RChip.vue.d.ts +132 -0
  19. package/dist/types/components/Chips/RChip.vue.d.ts.map +1 -0
  20. package/dist/types/components/Dropdown/RDropdown.vue.d.ts +415 -0
  21. package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
  22. package/dist/types/components/Icon/RIcon.vue.d.ts +59 -0
  23. package/dist/types/components/Icon/RIcon.vue.d.ts.map +1 -0
  24. package/dist/types/components/ItemGroup/RItem.vue.d.ts +65 -0
  25. package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +1 -0
  26. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
  27. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
  28. package/dist/types/components/Label/RLabel.vue.d.ts +68 -0
  29. package/dist/types/components/Label/RLabel.vue.d.ts.map +1 -0
  30. package/dist/types/components/Modal/RModal.vue.d.ts +183 -0
  31. package/dist/types/components/Modal/RModal.vue.d.ts.map +1 -0
  32. package/dist/types/components/Pagination/RPagination.vue.d.ts +110 -0
  33. package/dist/types/components/Pagination/RPagination.vue.d.ts.map +1 -0
  34. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
  35. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
  36. package/dist/types/components/Radio/RRadio.vue.d.ts +66 -0
  37. package/dist/types/components/Radio/RRadio.vue.d.ts.map +1 -0
  38. package/dist/types/components/Sidebar/RSidebar.vue.d.ts +53 -0
  39. package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  40. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +113 -0
  41. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
  42. package/dist/types/components/Switch/RSwitch.vue.d.ts +135 -0
  43. package/dist/types/components/Switch/RSwitch.vue.d.ts.map +1 -0
  44. package/dist/types/components/TabItem/RTabItem.vue.d.ts +155 -0
  45. package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +1 -0
  46. package/dist/types/components/Tabs/RTabs.vue.d.ts +95 -0
  47. package/dist/types/components/Tabs/RTabs.vue.d.ts.map +1 -0
  48. package/dist/types/components/TextArea/RTextArea.vue.d.ts +120 -0
  49. package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +1 -0
  50. package/dist/types/components/Textfield/RTextfield.vue.d.ts +249 -0
  51. package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  52. package/dist/types/components/Tooltip/RTooltip.vue.d.ts +253 -0
  53. package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  54. package/dist/types/lib/main.d.ts +26 -0
  55. package/dist/types/lib/main.d.ts.map +1 -0
  56. package/package.json +1 -1
  57. package/dist/rocket-ui-vue.d.ts +0 -3325
@@ -1,5 +1,5 @@
1
- import { defineComponent as x, openBlock as m, createElementBlock as r, createElementVNode as u, unref as J, reactive as v1, Fragment as t1, renderList as r1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as q, computed as g, createCommentVNode as O, mergeProps as N1, createBlock as _, watch as G, getCurrentScope as s2, onScopeDispose as c2, ref as W, watchEffect as p2, onMounted as V2, Teleport as O2, withCtx as g1, withDirectives as L2, withModifiers as A1, withKeys as z1, vModelText as f2, createTextVNode as u1, onUnmounted as h2, normalizeStyle as I1, vShow as g2, resolveComponent as k2, provide as p1, resolveDynamicComponent as B2, inject as O1 } from "vue";
2
- const b2 = {
1
+ import { defineComponent as R, openBlock as t, createElementBlock as r, createElementVNode as Z, unref as J, reactive as y1, Fragment as H1, renderList as d1, normalizeClass as p, renderSlot as h, toDisplayString as b, createVNode as q, computed as f, createCommentVNode as O, mergeProps as I1, createBlock as _, watch as I, getCurrentScope as p2, onScopeDispose as O2, ref as E, watchEffect as f2, onMounted as M2, Teleport as h2, withCtx as k1, withDirectives as i2, withModifiers as t1, withKeys as q1, vModelText as g2, createTextVNode as S1, onUnmounted as k2, normalizeStyle as Q1, vShow as B2, resolveComponent as b2, provide as O1, resolveDynamicComponent as w2, inject as f1 } from "vue";
2
+ const v2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
5
5
  mdiAbjadArabic: "M12 4C10.08 4 8.5 5.58 8.5 7.5C8.5 8.43 8.88 9.28 9.5 9.91C7.97 10.91 7 12.62 7 14.5C7 17.53 9.47 20 12.5 20C14.26 20 16 19.54 17.5 18.66L16.5 16.93C15.28 17.63 13.9 18 12.5 18C10.56 18 9 16.45 9 14.5C9 12.91 10.06 11.53 11.59 11.12L16.8 9.72L16.28 7.79L11.83 9C11.08 8.9 10.5 8.28 10.5 7.5C10.5 6.66 11.16 6 12 6C12.26 6 12.5 6.07 12.75 6.2L13.75 4.47C13.22 4.16 12.61 4 12 4Z",
@@ -7296,7 +7296,7 @@ const b2 = {
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
- }, w2 = ["height", "viewBox", "width"], v2 = ["d"], D = /* @__PURE__ */ x({
7299
+ }, y2 = ["height", "viewBox", "width"], P2 = ["d"], D = /* @__PURE__ */ R({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,25 +7305,25 @@ const b2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (m(), r("svg", {
7308
+ return (C, M) => (t(), r("svg", {
7309
7309
  class: "r-icon",
7310
7310
  height: V.size,
7311
7311
  viewBox: V.viewBox,
7312
7312
  width: V.size
7313
7313
  }, [
7314
- u("path", {
7315
- d: J(b2)[V.name]
7316
- }, null, 8, v2)
7317
- ], 8, w2));
7314
+ Z("path", {
7315
+ d: J(v2)[V.name]
7316
+ }, null, 8, P2)
7317
+ ], 8, y2));
7318
7318
  }
7319
- }), y2 = ["data-state", "onClick"], P2 = { class: "r-accordion__header" }, T2 = { class: "r-accordion__title" }, F2 = { class: "r-accordion__icon" }, R2 = { class: "r-accordion__content" }, r0 = /* @__PURE__ */ x({
7319
+ }), T2 = ["data-state", "onClick"], F2 = { class: "r-accordion__header" }, R2 = { class: "r-accordion__title" }, x2 = { class: "r-accordion__icon" }, D2 = { class: "r-accordion__content" }, u0 = /* @__PURE__ */ R({
7320
7320
  __name: "RAccordion",
7321
7321
  props: {
7322
7322
  accordions: {},
7323
7323
  multiple: { type: Boolean }
7324
7324
  },
7325
7325
  setup(H) {
7326
- const V = H, C = v1(
7326
+ const V = H, C = y1(
7327
7327
  V.accordions.map(({ title: i, content: L }, A) => ({
7328
7328
  title: i,
7329
7329
  content: L,
@@ -7342,7 +7342,7 @@ const b2 = {
7342
7342
  });
7343
7343
  }
7344
7344
  }
7345
- return (i, L) => (m(!0), r(t1, null, r1(C, (A, e) => (m(), r("div", {
7345
+ return (i, L) => (t(!0), r(H1, null, d1(C, (A, e) => (t(), r("div", {
7346
7346
  key: e,
7347
7347
  class: p(["r-accordion", {
7348
7348
  "r-accordion--disabled": A.disabled,
@@ -7351,12 +7351,12 @@ const b2 = {
7351
7351
  "data-state": A.open ? "opened" : "closed",
7352
7352
  onClick: (d) => M(e)
7353
7353
  }, [
7354
- u("div", P2, [
7355
- f(i.$slots, "title", { accordion: A }, () => [
7356
- u("div", T2, w(A.title), 1)
7354
+ Z("div", F2, [
7355
+ h(i.$slots, "title", { accordion: A }, () => [
7356
+ Z("div", R2, b(A.title), 1)
7357
7357
  ]),
7358
- u("div", F2, [
7359
- f(i.$slots, "icon", {
7358
+ Z("div", x2, [
7359
+ h(i.$slots, "icon", {
7360
7360
  item: A,
7361
7361
  open: A.open
7362
7362
  }, () => [
@@ -7364,20 +7364,20 @@ const b2 = {
7364
7364
  ])
7365
7365
  ])
7366
7366
  ]),
7367
- u("div", R2, [
7368
- f(i.$slots, "content", { accordion: A }, () => [
7369
- u("span", null, w(A.content), 1)
7367
+ Z("div", D2, [
7368
+ h(i.$slots, "content", { accordion: A }, () => [
7369
+ Z("span", null, b(A.content), 1)
7370
7370
  ])
7371
7371
  ])
7372
- ], 10, y2))), 128));
7372
+ ], 10, T2))), 128));
7373
7373
  }
7374
- }), x2 = { class: "r-alert__icon" }, D2 = { class: "r-alert__content" }, _2 = { class: "r-alert__content__title" }, E2 = {
7374
+ }), _2 = { class: "r-alert__icon" }, E2 = { class: "r-alert__content" }, W2 = { class: "r-alert__content__title" }, N2 = {
7375
7375
  key: 0,
7376
7376
  class: "r-alert__content__description"
7377
- }, W2 = {
7377
+ }, I2 = {
7378
7378
  key: 0,
7379
7379
  class: "r-alert__close"
7380
- }, a0 = /* @__PURE__ */ x({
7380
+ }, S0 = /* @__PURE__ */ R({
7381
7381
  __name: "RAlert",
7382
7382
  props: {
7383
7383
  type: { default: "info" },
@@ -7389,12 +7389,12 @@ const b2 = {
7389
7389
  },
7390
7390
  emits: ["close"],
7391
7391
  setup(H, { emit: V }) {
7392
- const C = H, M = V, i = g(() => ({
7392
+ const C = H, M = V, i = f(() => ({
7393
7393
  " r-alert": !0,
7394
7394
  [`r-alert--${C.variant}`]: !0,
7395
7395
  "r-alert--block": C.block,
7396
7396
  [`r-alert--${C.variant}--${C.type}`]: !0
7397
- })), L = g(() => ({
7397
+ })), L = f(() => ({
7398
7398
  success: "mdiCheckCircle",
7399
7399
  error: "mdiAlertCircle",
7400
7400
  warning: "mdiAlert",
@@ -7403,25 +7403,25 @@ const b2 = {
7403
7403
  function A() {
7404
7404
  M("close");
7405
7405
  }
7406
- return (e, d) => (m(), r("div", {
7406
+ return (e, d) => (t(), r("div", {
7407
7407
  class: p(i.value)
7408
7408
  }, [
7409
- u("div", x2, [
7410
- f(e.$slots, "alert-icon", {}, () => [
7409
+ Z("div", _2, [
7410
+ h(e.$slots, "alert-icon", {}, () => [
7411
7411
  q(D, {
7412
7412
  name: L.value,
7413
7413
  size: 24
7414
7414
  }, null, 8, ["name"])
7415
7415
  ])
7416
7416
  ]),
7417
- u("div", D2, [
7418
- f(e.$slots, "content", {}, () => [
7419
- u("p", _2, w(C.title), 1),
7420
- C.description ? (m(), r("p", E2, w(C.description), 1)) : O("", !0)
7417
+ Z("div", E2, [
7418
+ h(e.$slots, "content", {}, () => [
7419
+ Z("p", W2, b(C.title), 1),
7420
+ C.description ? (t(), r("p", N2, b(C.description), 1)) : O("", !0)
7421
7421
  ])
7422
7422
  ]),
7423
- C.closable ? (m(), r("div", W2, [
7424
- f(e.$slots, "custom-close", {
7423
+ C.closable ? (t(), r("div", I2, [
7424
+ h(e.$slots, "custom-close", {
7425
7425
  close: A,
7426
7426
  slotClass: "r-alert__close__button"
7427
7427
  }, () => [
@@ -7435,33 +7435,33 @@ const b2 = {
7435
7435
  ])) : O("", !0)
7436
7436
  ], 2));
7437
7437
  }
7438
- }), K1 = "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", N2 = { class: "r-avatar__wrapper" }, I2 = ["alt", "src"], Z0 = /* @__PURE__ */ x({
7438
+ }), j1 = "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", Q2 = { class: "r-avatar__wrapper" }, G2 = ["alt", "src"], s0 = /* @__PURE__ */ R({
7439
7439
  __name: "RAvatar",
7440
7440
  props: {
7441
7441
  type: { default: "image" },
7442
- src: { default: K1 },
7442
+ src: { default: j1 },
7443
7443
  alt: { default: "Avatar" },
7444
7444
  size: { default: "2xl" },
7445
7445
  online: { type: Boolean, default: !1 },
7446
7446
  text: { default: "" }
7447
7447
  },
7448
7448
  setup(H) {
7449
- const V = H, C = g(() => ({
7449
+ const V = H, C = f(() => ({
7450
7450
  "r-avatar": !0,
7451
7451
  [`r-avatar--${V.size}`]: !0
7452
- })), M = g(() => V.type === "image" && !V.src), i = g(() => M.value ? K1 : V.src);
7452
+ })), M = f(() => V.type === "image" && !V.src), i = f(() => M.value ? j1 : V.src);
7453
7453
  function L(A) {
7454
7454
  const e = A.split(" ");
7455
7455
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7456
7456
  }
7457
- return (A, e) => (m(), r("div", N2, [
7458
- u("div", {
7457
+ return (A, e) => (t(), r("div", Q2, [
7458
+ Z("div", {
7459
7459
  class: p(C.value)
7460
7460
  }, [
7461
- V.type === "text" ? (m(), r("p", {
7461
+ V.type === "text" ? (t(), r("p", {
7462
7462
  key: 0,
7463
7463
  class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7464
- }, w(L(V.text)), 3)) : (m(), r("img", {
7464
+ }, b(L(V.text)), 3)) : (t(), r("img", {
7465
7465
  key: 1,
7466
7466
  alt: V.alt,
7467
7467
  class: p(["r-avatar__image", {
@@ -7469,9 +7469,9 @@ const b2 = {
7469
7469
  "r-avatar__image--anonymous": M.value
7470
7470
  }]),
7471
7471
  src: i.value
7472
- }, null, 10, I2))
7472
+ }, null, 10, G2))
7473
7473
  ], 2),
7474
- V.online ? (m(), r("span", {
7474
+ V.online ? (t(), r("span", {
7475
7475
  key: 0,
7476
7476
  class: p(["r-avatar__online", {
7477
7477
  [`r-avatar__online--${V.size}`]: !0
@@ -7479,7 +7479,7 @@ const b2 = {
7479
7479
  }, null, 2)) : O("", !0)
7480
7480
  ]));
7481
7481
  }
7482
- }), Q2 = ["innerHTML"], u0 = /* @__PURE__ */ x({
7482
+ }), $2 = ["innerHTML"], c0 = /* @__PURE__ */ R({
7483
7483
  __name: "RBadge",
7484
7484
  props: {
7485
7485
  variant: { default: "primary" },
@@ -7495,7 +7495,7 @@ const b2 = {
7495
7495
  },
7496
7496
  emits: ["click"],
7497
7497
  setup(H) {
7498
- const V = H, C = g(() => ({
7498
+ const V = H, C = f(() => ({
7499
7499
  "r-badge": !0,
7500
7500
  [`r-badge--content ${V.contentClass}`]: V.content,
7501
7501
  [`r-badge--overlap-${V.placement}`]: V.overlap,
@@ -7505,20 +7505,20 @@ const b2 = {
7505
7505
  [`r-badge--${V.variant}`]: V.variant,
7506
7506
  [V.class]: V.class
7507
7507
  }));
7508
- return (M, i) => (m(), r("div", {
7508
+ return (M, i) => (t(), r("div", {
7509
7509
  class: p(["r-badge-wrapper group", [V.wrapperClass]])
7510
7510
  }, [
7511
- u("span", {
7511
+ Z("span", {
7512
7512
  class: p([{ "animate-ping-2": V.animation }, C.value])
7513
7513
  }, null, 2),
7514
- u("span", {
7514
+ Z("span", {
7515
7515
  class: p(C.value),
7516
7516
  innerHTML: V.content
7517
- }, null, 10, Q2),
7518
- f(M.$slots, "default")
7517
+ }, null, 10, $2),
7518
+ h(M.$slots, "default")
7519
7519
  ], 2));
7520
7520
  }
7521
- }), G2 = ["disabled"], S0 = /* @__PURE__ */ x({
7521
+ }), U2 = ["disabled"], p0 = /* @__PURE__ */ R({
7522
7522
  __name: "RButton",
7523
7523
  props: {
7524
7524
  variant: { default: "default" },
@@ -7534,7 +7534,7 @@ const b2 = {
7534
7534
  },
7535
7535
  emits: ["click"],
7536
7536
  setup(H) {
7537
- const V = H, C = g(() => ({
7537
+ const V = H, C = f(() => ({
7538
7538
  "r-button": !0,
7539
7539
  [`r-button__${V.variant}`]: !0,
7540
7540
  [`r-button__${V.variant}--${V.variant === "default" && V.color === void 0 ? "primary" : V.color}`]: !0,
@@ -7542,23 +7542,23 @@ const b2 = {
7542
7542
  [`r-button--${V.size || "medium"}`]: !0,
7543
7543
  "r-button--only-icon": V.icon,
7544
7544
  "r-button--block": V.block
7545
- })), M = g(() => ({
7545
+ })), M = f(() => ({
7546
7546
  small: 16,
7547
7547
  medium: 16,
7548
7548
  large: 20
7549
- })[V.size || "medium"]), i = g(() => ({
7549
+ })[V.size || "medium"]), i = f(() => ({
7550
7550
  height: V.height ? `${V.height}px` : ""
7551
7551
  }));
7552
- return (L, A) => (m(), r("button", N1(L.$attrs, {
7552
+ return (L, A) => (t(), r("button", I1(L.$attrs, {
7553
7553
  class: C.value,
7554
7554
  disabled: L.disabled,
7555
7555
  style: i.value,
7556
7556
  onClick: A[0] || (A[0] = (e) => L.$emit("click"))
7557
7557
  }), [
7558
- f(L.$slots, "prepend", {
7558
+ h(L.$slots, "prepend", {
7559
7559
  onlyIcon: V.icon
7560
7560
  }, () => [
7561
- V.prependIcon ? (m(), _(D, {
7561
+ V.prependIcon ? (t(), _(D, {
7562
7562
  key: 0,
7563
7563
  class: p(["r-button__prepend-icon", {
7564
7564
  "r-button__prepend-icon--only": V.icon
@@ -7567,29 +7567,29 @@ const b2 = {
7567
7567
  size: M.value
7568
7568
  }, null, 8, ["class", "name", "size"])) : O("", !0)
7569
7569
  ]),
7570
- f(L.$slots, "default", { disabled: L.disabled }),
7571
- f(L.$slots, "append", {
7570
+ h(L.$slots, "default", { disabled: L.disabled }),
7571
+ h(L.$slots, "append", {
7572
7572
  onlyIcon: V.icon
7573
7573
  }, () => [
7574
- !V.icon && V.appendIcon ? (m(), _(D, {
7574
+ !V.icon && V.appendIcon ? (t(), _(D, {
7575
7575
  key: 0,
7576
7576
  class: "r-button__append-icon",
7577
7577
  name: V.appendIcon,
7578
7578
  size: M.value
7579
7579
  }, null, 8, ["name", "size"])) : O("", !0)
7580
7580
  ])
7581
- ], 16, G2));
7581
+ ], 16, U2));
7582
7582
  }
7583
- }), $2 = { class: "r-checkbox-wrapper" }, U2 = { class: "r-checkbox-container" }, z2 = ["id", "checked", "disabled", "indeterminate"], K2 = ["data-disabled"], q2 = { class: "r-checkbox-texts" }, j2 = ["data-disabled", "for"], X2 = {
7583
+ }), z2 = { class: "r-checkbox-wrapper" }, K2 = { class: "r-checkbox-container" }, q2 = ["id", "checked", "disabled", "indeterminate"], j2 = ["data-disabled"], X2 = { class: "r-checkbox-texts" }, Y2 = ["data-disabled", "for"], J2 = {
7584
7584
  key: 0,
7585
7585
  class: "r-checkbox-texts__details"
7586
- }, Y2 = {
7586
+ }, C5 = {
7587
7587
  key: 0,
7588
7588
  class: "r-checkbox-texts__error"
7589
- }, J2 = {
7589
+ }, H5 = {
7590
7590
  key: 1,
7591
7591
  class: "r-checkbox-texts__hint"
7592
- }, s0 = /* @__PURE__ */ x({
7592
+ }, O0 = /* @__PURE__ */ R({
7593
7593
  __name: "RCheckbox",
7594
7594
  props: {
7595
7595
  id: { default: "" },
@@ -7603,46 +7603,46 @@ const b2 = {
7603
7603
  },
7604
7604
  emits: ["update:modelValue"],
7605
7605
  setup(H, { emit: V }) {
7606
- const C = H, M = V, i = v1({
7606
+ const C = H, M = V, i = y1({
7607
7607
  checked: !1,
7608
7608
  indeterminate: !1
7609
7609
  }), L = {
7610
7610
  checked: "mdiCheck",
7611
7611
  unchecked: "",
7612
7612
  indeterminate: "mdiMinus"
7613
- }, A = g(() => i.indeterminate ? L.indeterminate : i.checked ? L.checked : L.unchecked), e = g(() => ({
7613
+ }, A = f(() => i.indeterminate ? L.indeterminate : i.checked ? L.checked : L.unchecked), e = f(() => ({
7614
7614
  "r-checkbox": !0,
7615
7615
  "r-checkbox--checked": i.checked,
7616
7616
  "r-checkbox--disabled": C.disabled,
7617
7617
  "r-checkbox--indeterminate": i.indeterminate,
7618
7618
  "r-checkbox--error": !!C.errorMsg
7619
7619
  }));
7620
- function d(t) {
7621
- C.disabled || (i.checked = t.target.checked, i.indeterminate = !1, M("update:modelValue", i.checked));
7620
+ function d(m) {
7621
+ C.disabled || (i.checked = m.target.checked, i.indeterminate = !1, M("update:modelValue", i.checked));
7622
7622
  }
7623
- return G(
7623
+ return I(
7624
7624
  () => C.indeterminate,
7625
- (t) => {
7626
- i.indeterminate = t, t === !0 && (i.checked = !1, M("update:modelValue", i.checked));
7625
+ (m) => {
7626
+ i.indeterminate = m, m === !0 && (i.checked = !1, M("update:modelValue", i.checked));
7627
7627
  },
7628
7628
  {
7629
7629
  // need immediate to set the state on first render for storybook
7630
7630
  // TODO: find a better way to do this
7631
7631
  immediate: !0
7632
7632
  }
7633
- ), G(
7633
+ ), I(
7634
7634
  () => C.modelValue,
7635
- (t) => {
7636
- i.checked = t;
7635
+ (m) => {
7636
+ i.checked = m;
7637
7637
  },
7638
7638
  {
7639
7639
  // need immediate to set the state on first render for storybook
7640
7640
  // TODO: find a better way to do this
7641
7641
  immediate: !0
7642
7642
  }
7643
- ), (t, n) => (m(), r("div", $2, [
7644
- u("div", U2, [
7645
- u("input", {
7643
+ ), (m, n) => (t(), r("div", z2, [
7644
+ Z("div", K2, [
7645
+ Z("input", {
7646
7646
  id: C.id,
7647
7647
  checked: i.checked,
7648
7648
  class: "r-checkbox-container__input",
@@ -7650,8 +7650,8 @@ const b2 = {
7650
7650
  indeterminate: i.indeterminate,
7651
7651
  type: "checkbox",
7652
7652
  onChange: d
7653
- }, null, 40, z2),
7654
- u("div", {
7653
+ }, null, 40, q2),
7654
+ Z("div", {
7655
7655
  class: p(e.value),
7656
7656
  "data-disabled": C.disabled
7657
7657
  }, [
@@ -7659,21 +7659,21 @@ const b2 = {
7659
7659
  name: A.value,
7660
7660
  size: 24
7661
7661
  }, null, 8, ["name"])
7662
- ], 10, K2)
7662
+ ], 10, j2)
7663
7663
  ]),
7664
- u("div", q2, [
7665
- u("label", {
7664
+ Z("div", X2, [
7665
+ Z("label", {
7666
7666
  class: "r-checkbox-texts__label",
7667
7667
  "data-disabled": C.disabled,
7668
7668
  for: C.id
7669
- }, w(C.label), 9, j2),
7670
- C.hideDetails ? O("", !0) : (m(), r("div", X2, [
7671
- C.errorMsg ? (m(), r("p", Y2, w(C.errorMsg), 1)) : (m(), r("p", J2, w(C.hint), 1))
7669
+ }, b(C.label), 9, Y2),
7670
+ C.hideDetails ? O("", !0) : (t(), r("div", J2, [
7671
+ C.errorMsg ? (t(), r("p", C5, b(C.errorMsg), 1)) : (t(), r("p", H5, b(C.hint), 1))
7672
7672
  ]))
7673
7673
  ])
7674
7674
  ]));
7675
7675
  }
7676
- }), C5 = /* @__PURE__ */ x({
7676
+ }), V5 = /* @__PURE__ */ R({
7677
7677
  __name: "RChip",
7678
7678
  props: {
7679
7679
  variant: { default: "primary" },
@@ -7687,7 +7687,7 @@ const b2 = {
7687
7687
  },
7688
7688
  emits: ["click:chip", "click:close"],
7689
7689
  setup(H, { emit: V }) {
7690
- const C = H, M = V, i = g(() => ({
7690
+ const C = H, M = V, i = f(() => ({
7691
7691
  "r-chip": !0,
7692
7692
  "r-chip--disabled": C.disabled,
7693
7693
  [`r-chip__${C.variant}`]: C.variant,
@@ -7700,18 +7700,18 @@ const b2 = {
7700
7700
  function A(d) {
7701
7701
  C.disabled || !C.clearable || (d.stopPropagation(), M("click:close", d));
7702
7702
  }
7703
- const e = g(() => C.clearable ? "mdiClose" : C.appendIcon);
7704
- return (d, t) => (m(), r("div", {
7703
+ const e = f(() => C.clearable ? "mdiClose" : C.appendIcon);
7704
+ return (d, m) => (t(), r("div", {
7705
7705
  class: p(i.value)
7706
7706
  }, [
7707
- u("div", {
7707
+ Z("div", {
7708
7708
  class: "r-chip__content",
7709
- onClick: t[0] || (t[0] = (n) => L(n))
7709
+ onClick: m[0] || (m[0] = (n) => L(n))
7710
7710
  }, [
7711
- f(d.$slots, "prepend", {
7711
+ h(d.$slots, "prepend", {
7712
7712
  disabled: C.disabled
7713
7713
  }, () => [
7714
- C.prependIcon ? (m(), _(D, {
7714
+ C.prependIcon ? (t(), _(D, {
7715
7715
  key: 0,
7716
7716
  "aria-disabled": C.disabled,
7717
7717
  class: "r-chip__content__prepend-icon",
@@ -7719,85 +7719,85 @@ const b2 = {
7719
7719
  size: 12
7720
7720
  }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7721
7721
  ]),
7722
- u("span", {
7722
+ Z("span", {
7723
7723
  class: p(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7724
- }, w(C.label), 3)
7724
+ }, b(C.label), 3)
7725
7725
  ]),
7726
- f(d.$slots, "append", {
7726
+ h(d.$slots, "append", {
7727
7727
  disabled: C.disabled
7728
7728
  }, () => [
7729
- e.value ? (m(), _(D, {
7729
+ e.value ? (t(), _(D, {
7730
7730
  key: 0,
7731
7731
  "aria-disabled": C.disabled,
7732
7732
  class: "r-chip__content__append-icon",
7733
7733
  name: e.value,
7734
7734
  size: 12,
7735
- onClick: t[1] || (t[1] = (n) => A(n))
7735
+ onClick: m[1] || (m[1] = (n) => A(n))
7736
7736
  }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7737
7737
  ])
7738
7738
  ], 2));
7739
7739
  }
7740
7740
  });
7741
- function H5(H) {
7742
- return s2() ? (c2(H), !0) : !1;
7741
+ function L5(H) {
7742
+ return p2() ? (O2(H), !0) : !1;
7743
7743
  }
7744
- function M2(H) {
7744
+ function A2(H) {
7745
7745
  return typeof H == "function" ? H() : J(H);
7746
7746
  }
7747
- const i2 = typeof window < "u" && typeof document < "u";
7747
+ const e2 = typeof window < "u" && typeof document < "u";
7748
7748
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7749
- const V5 = Object.prototype.toString, L5 = (H) => V5.call(H) === "[object Object]", x1 = () => {
7750
- }, M5 = /* @__PURE__ */ i5();
7751
- function i5() {
7749
+ const M5 = Object.prototype.toString, i5 = (H) => M5.call(H) === "[object Object]", D1 = () => {
7750
+ }, A5 = /* @__PURE__ */ e5();
7751
+ function e5() {
7752
7752
  var H;
7753
- return i2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7753
+ return e2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7754
7754
  }
7755
- function o1(H) {
7755
+ function r1(H) {
7756
7756
  var V;
7757
- const C = M2(H);
7757
+ const C = A2(H);
7758
7758
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7759
7759
  }
7760
- const A2 = i2 ? window : void 0;
7761
- function R1(...H) {
7760
+ const d2 = e2 ? window : void 0;
7761
+ function x1(...H) {
7762
7762
  let V, C, M, i;
7763
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = A2) : [V, C, M, i] = H, !V)
7764
- return x1;
7763
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = d2) : [V, C, M, i] = H, !V)
7764
+ return D1;
7765
7765
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7766
7766
  const L = [], A = () => {
7767
7767
  L.forEach((n) => n()), L.length = 0;
7768
- }, e = (n, a, o, l) => (n.addEventListener(a, o, l), () => n.removeEventListener(a, o, l)), d = G(
7769
- () => [o1(V), M2(i)],
7768
+ }, e = (n, a, o, l) => (n.addEventListener(a, o, l), () => n.removeEventListener(a, o, l)), d = I(
7769
+ () => [r1(V), A2(i)],
7770
7770
  ([n, a]) => {
7771
7771
  if (A(), !n)
7772
7772
  return;
7773
- const o = L5(a) ? { ...a } : a;
7773
+ const o = i5(a) ? { ...a } : a;
7774
7774
  L.push(
7775
7775
  ...C.flatMap((l) => M.map((S) => e(n, l, S, o)))
7776
7776
  );
7777
7777
  },
7778
7778
  { immediate: !0, flush: "post" }
7779
- ), t = () => {
7779
+ ), m = () => {
7780
7780
  d(), A();
7781
7781
  };
7782
- return H5(t), t;
7782
+ return L5(m), m;
7783
7783
  }
7784
- let q1 = !1;
7785
- function A5(H, V, C = {}) {
7786
- const { window: M = A2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7784
+ let X1 = !1;
7785
+ function d5(H, V, C = {}) {
7786
+ const { window: M = d2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7787
7787
  if (!M)
7788
7788
  return;
7789
- M5 && !q1 && (q1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", x1)), M.document.documentElement.addEventListener("click", x1));
7789
+ A5 && !X1 && (X1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", D1)), M.document.documentElement.addEventListener("click", D1));
7790
7790
  let e = !0;
7791
7791
  const d = (o) => i.some((l) => {
7792
7792
  if (typeof l == "string")
7793
7793
  return Array.from(M.document.querySelectorAll(l)).some((S) => S === o.target || o.composedPath().includes(S));
7794
7794
  {
7795
- const S = o1(l);
7795
+ const S = r1(l);
7796
7796
  return S && (o.target === S || o.composedPath().includes(S));
7797
7797
  }
7798
7798
  }), n = [
7799
- R1(M, "click", (o) => {
7800
- const l = o1(H);
7799
+ x1(M, "click", (o) => {
7800
+ const l = r1(H);
7801
7801
  if (!(!l || l === o.target || o.composedPath().includes(l))) {
7802
7802
  if (o.detail === 0 && (e = !d(o)), !e) {
7803
7803
  e = !0;
@@ -7806,76 +7806,76 @@ function A5(H, V, C = {}) {
7806
7806
  V(o);
7807
7807
  }
7808
7808
  }, { passive: !0, capture: L }),
7809
- R1(M, "pointerdown", (o) => {
7810
- const l = o1(H);
7809
+ x1(M, "pointerdown", (o) => {
7810
+ const l = r1(H);
7811
7811
  e = !d(o) && !!(l && !o.composedPath().includes(l));
7812
7812
  }, { passive: !0 }),
7813
- A && R1(M, "blur", (o) => {
7813
+ A && x1(M, "blur", (o) => {
7814
7814
  setTimeout(() => {
7815
7815
  var l;
7816
- const S = o1(H);
7816
+ const S = r1(H);
7817
7817
  ((l = M.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(S != null && S.contains(M.document.activeElement)) && V(o);
7818
7818
  }, 0);
7819
7819
  })
7820
7820
  ].filter(Boolean);
7821
7821
  return () => n.forEach((o) => o());
7822
7822
  }
7823
- function e5() {
7823
+ function t5() {
7824
7824
  function H() {
7825
7825
  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
7826
7826
  }
7827
7827
  return `${H() + H()}-${H()}-${H()}-${H()}-${H()}${H()}${H()}`;
7828
7828
  }
7829
- const d5 = ["top", "right", "bottom", "left"], a1 = Math.min, e1 = Math.max, k1 = Math.round, H1 = (H) => ({
7829
+ const m5 = ["top", "right", "bottom", "left"], Z1 = Math.min, m1 = Math.max, B1 = Math.round, V1 = (H) => ({
7830
7830
  x: H,
7831
7831
  y: H
7832
- }), t5 = {
7832
+ }), l5 = {
7833
7833
  left: "right",
7834
7834
  right: "left",
7835
7835
  bottom: "top",
7836
7836
  top: "bottom"
7837
- }, m5 = {
7837
+ }, o5 = {
7838
7838
  start: "end",
7839
7839
  end: "start"
7840
7840
  };
7841
- function D1(H, V, C) {
7842
- return e1(H, a1(V, C));
7841
+ function _1(H, V, C) {
7842
+ return m1(H, Z1(V, C));
7843
7843
  }
7844
- function l1(H, V) {
7844
+ function n1(H, V) {
7845
7845
  return typeof H == "function" ? H(V) : H;
7846
7846
  }
7847
- function i1(H) {
7847
+ function e1(H) {
7848
7848
  return H.split("-")[0];
7849
7849
  }
7850
- function S1(H) {
7850
+ function s1(H) {
7851
7851
  return H.split("-")[1];
7852
7852
  }
7853
- function e2(H) {
7853
+ function t2(H) {
7854
7854
  return H === "x" ? "y" : "x";
7855
7855
  }
7856
- function Q1(H) {
7856
+ function G1(H) {
7857
7857
  return H === "y" ? "height" : "width";
7858
7858
  }
7859
- function y1(H) {
7860
- return ["top", "bottom"].includes(i1(H)) ? "y" : "x";
7859
+ function P1(H) {
7860
+ return ["top", "bottom"].includes(e1(H)) ? "y" : "x";
7861
7861
  }
7862
- function G1(H) {
7863
- return e2(y1(H));
7862
+ function $1(H) {
7863
+ return t2(P1(H));
7864
7864
  }
7865
- function l5(H, V, C) {
7865
+ function n5(H, V, C) {
7866
7866
  C === void 0 && (C = !1);
7867
- const M = S1(H), i = G1(H), L = Q1(i);
7867
+ const M = s1(H), i = $1(H), L = G1(i);
7868
7868
  let A = i === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7869
- return V.reference[L] > V.floating[L] && (A = B1(A)), [A, B1(A)];
7869
+ return V.reference[L] > V.floating[L] && (A = b1(A)), [A, b1(A)];
7870
7870
  }
7871
- function o5(H) {
7872
- const V = B1(H);
7873
- return [_1(H), V, _1(V)];
7871
+ function r5(H) {
7872
+ const V = b1(H);
7873
+ return [E1(H), V, E1(V)];
7874
7874
  }
7875
- function _1(H) {
7876
- return H.replace(/start|end/g, (V) => m5[V]);
7875
+ function E1(H) {
7876
+ return H.replace(/start|end/g, (V) => o5[V]);
7877
7877
  }
7878
- function n5(H, V, C) {
7878
+ function a5(H, V, C) {
7879
7879
  const M = ["left", "right"], i = ["right", "left"], L = ["top", "bottom"], A = ["bottom", "top"];
7880
7880
  switch (H) {
7881
7881
  case "top":
@@ -7888,15 +7888,15 @@ function n5(H, V, C) {
7888
7888
  return [];
7889
7889
  }
7890
7890
  }
7891
- function r5(H, V, C, M) {
7892
- const i = S1(H);
7893
- let L = n5(i1(H), C === "start", M);
7894
- return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(_1)))), L;
7891
+ function Z5(H, V, C, M) {
7892
+ const i = s1(H);
7893
+ let L = a5(e1(H), C === "start", M);
7894
+ return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(E1)))), L;
7895
7895
  }
7896
- function B1(H) {
7897
- return H.replace(/left|right|bottom|top/g, (V) => t5[V]);
7896
+ function b1(H) {
7897
+ return H.replace(/left|right|bottom|top/g, (V) => l5[V]);
7898
7898
  }
7899
- function a5(H) {
7899
+ function u5(H) {
7900
7900
  return {
7901
7901
  top: 0,
7902
7902
  right: 0,
@@ -7905,15 +7905,15 @@ function a5(H) {
7905
7905
  ...H
7906
7906
  };
7907
7907
  }
7908
- function d2(H) {
7909
- return typeof H != "number" ? a5(H) : {
7908
+ function m2(H) {
7909
+ return typeof H != "number" ? u5(H) : {
7910
7910
  top: H,
7911
7911
  right: H,
7912
7912
  bottom: H,
7913
7913
  left: H
7914
7914
  };
7915
7915
  }
7916
- function b1(H) {
7916
+ function w1(H) {
7917
7917
  return {
7918
7918
  ...H,
7919
7919
  top: H.y,
@@ -7922,12 +7922,12 @@ function b1(H) {
7922
7922
  bottom: H.y + H.height
7923
7923
  };
7924
7924
  }
7925
- function j1(H, V, C) {
7925
+ function Y1(H, V, C) {
7926
7926
  let {
7927
7927
  reference: M,
7928
7928
  floating: i
7929
7929
  } = H;
7930
- const L = y1(V), A = G1(V), e = Q1(A), d = i1(V), t = L === "y", n = M.x + M.width / 2 - i.width / 2, a = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7930
+ const L = P1(V), A = $1(V), e = G1(A), d = e1(V), m = L === "y", n = M.x + M.width / 2 - i.width / 2, a = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7931
7931
  let l;
7932
7932
  switch (d) {
7933
7933
  case "top":
@@ -7960,40 +7960,40 @@ function j1(H, V, C) {
7960
7960
  y: M.y
7961
7961
  };
7962
7962
  }
7963
- switch (S1(V)) {
7963
+ switch (s1(V)) {
7964
7964
  case "start":
7965
- l[A] -= o * (C && t ? -1 : 1);
7965
+ l[A] -= o * (C && m ? -1 : 1);
7966
7966
  break;
7967
7967
  case "end":
7968
- l[A] += o * (C && t ? -1 : 1);
7968
+ l[A] += o * (C && m ? -1 : 1);
7969
7969
  break;
7970
7970
  }
7971
7971
  return l;
7972
7972
  }
7973
- const Z5 = async (H, V, C) => {
7973
+ const S5 = async (H, V, C) => {
7974
7974
  const {
7975
7975
  placement: M = "bottom",
7976
7976
  strategy: i = "absolute",
7977
7977
  middleware: L = [],
7978
7978
  platform: A
7979
7979
  } = C, e = L.filter(Boolean), d = await (A.isRTL == null ? void 0 : A.isRTL(V));
7980
- let t = await A.getElementRects({
7980
+ let m = await A.getElementRects({
7981
7981
  reference: H,
7982
7982
  floating: V,
7983
7983
  strategy: i
7984
7984
  }), {
7985
7985
  x: n,
7986
7986
  y: a
7987
- } = j1(t, M, d), o = M, l = {}, S = 0;
7987
+ } = Y1(m, M, d), o = M, l = {}, S = 0;
7988
7988
  for (let B = 0; B < e.length; B++) {
7989
7989
  const {
7990
- name: v,
7990
+ name: y,
7991
7991
  fn: k
7992
7992
  } = e[B], {
7993
- x: b,
7994
- y: F,
7995
- data: R,
7996
- reset: y
7993
+ x: w,
7994
+ y: T,
7995
+ data: F,
7996
+ reset: P
7997
7997
  } = await k({
7998
7998
  x: n,
7999
7999
  y: a,
@@ -8001,28 +8001,28 @@ const Z5 = async (H, V, C) => {
8001
8001
  placement: o,
8002
8002
  strategy: i,
8003
8003
  middlewareData: l,
8004
- rects: t,
8004
+ rects: m,
8005
8005
  platform: A,
8006
8006
  elements: {
8007
8007
  reference: H,
8008
8008
  floating: V
8009
8009
  }
8010
8010
  });
8011
- if (n = b ?? n, a = F ?? a, l = {
8011
+ if (n = w ?? n, a = T ?? a, l = {
8012
8012
  ...l,
8013
- [v]: {
8014
- ...l[v],
8015
- ...R
8013
+ [y]: {
8014
+ ...l[y],
8015
+ ...F
8016
8016
  }
8017
- }, y && S <= 50) {
8018
- S++, typeof y == "object" && (y.placement && (o = y.placement), y.rects && (t = y.rects === !0 ? await A.getElementRects({
8017
+ }, P && S <= 50) {
8018
+ S++, typeof P == "object" && (P.placement && (o = P.placement), P.rects && (m = P.rects === !0 ? await A.getElementRects({
8019
8019
  reference: H,
8020
8020
  floating: V,
8021
8021
  strategy: i
8022
- }) : y.rects), {
8022
+ }) : P.rects), {
8023
8023
  x: n,
8024
8024
  y: a
8025
- } = j1(t, o, d)), B = -1;
8025
+ } = Y1(m, o, d)), B = -1;
8026
8026
  continue;
8027
8027
  }
8028
8028
  }
@@ -8034,7 +8034,7 @@ const Z5 = async (H, V, C) => {
8034
8034
  middlewareData: l
8035
8035
  };
8036
8036
  };
8037
- async function w1(H, V) {
8037
+ async function v1(H, V) {
8038
8038
  var C;
8039
8039
  V === void 0 && (V = {});
8040
8040
  const {
@@ -8045,39 +8045,39 @@ async function w1(H, V) {
8045
8045
  elements: e,
8046
8046
  strategy: d
8047
8047
  } = H, {
8048
- boundary: t = "clippingAncestors",
8048
+ boundary: m = "clippingAncestors",
8049
8049
  rootBoundary: n = "viewport",
8050
8050
  elementContext: a = "floating",
8051
8051
  altBoundary: o = !1,
8052
8052
  padding: l = 0
8053
- } = l1(V, H), S = d2(l), v = e[o ? a === "floating" ? "reference" : "floating" : a], k = b1(await L.getClippingRect({
8054
- element: (C = await (L.isElement == null ? void 0 : L.isElement(v))) == null || C ? v : v.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8055
- boundary: t,
8053
+ } = n1(V, H), S = m2(l), y = e[o ? a === "floating" ? "reference" : "floating" : a], k = w1(await L.getClippingRect({
8054
+ element: (C = await (L.isElement == null ? void 0 : L.isElement(y))) == null || C ? y : y.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8055
+ boundary: m,
8056
8056
  rootBoundary: n,
8057
8057
  strategy: d
8058
- })), b = a === "floating" ? {
8058
+ })), w = a === "floating" ? {
8059
8059
  ...A.floating,
8060
8060
  x: M,
8061
8061
  y: i
8062
- } : A.reference, F = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), R = await (L.isElement == null ? void 0 : L.isElement(F)) ? await (L.getScale == null ? void 0 : L.getScale(F)) || {
8062
+ } : A.reference, T = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), F = await (L.isElement == null ? void 0 : L.isElement(T)) ? await (L.getScale == null ? void 0 : L.getScale(T)) || {
8063
8063
  x: 1,
8064
8064
  y: 1
8065
8065
  } : {
8066
8066
  x: 1,
8067
8067
  y: 1
8068
- }, y = b1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8069
- rect: b,
8070
- offsetParent: F,
8068
+ }, P = w1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8069
+ rect: w,
8070
+ offsetParent: T,
8071
8071
  strategy: d
8072
- }) : b);
8072
+ }) : w);
8073
8073
  return {
8074
- top: (k.top - y.top + S.top) / R.y,
8075
- bottom: (y.bottom - k.bottom + S.bottom) / R.y,
8076
- left: (k.left - y.left + S.left) / R.x,
8077
- right: (y.right - k.right + S.right) / R.x
8074
+ top: (k.top - P.top + S.top) / F.y,
8075
+ bottom: (P.bottom - k.bottom + S.bottom) / F.y,
8076
+ left: (k.left - P.left + S.left) / F.x,
8077
+ right: (P.right - k.right + S.right) / F.x
8078
8078
  };
8079
8079
  }
8080
- const u5 = (H) => ({
8080
+ const s5 = (H) => ({
8081
8081
  name: "arrow",
8082
8082
  options: H,
8083
8083
  async fn(V) {
@@ -8090,31 +8090,31 @@ const u5 = (H) => ({
8090
8090
  elements: e,
8091
8091
  middlewareData: d
8092
8092
  } = V, {
8093
- element: t,
8093
+ element: m,
8094
8094
  padding: n = 0
8095
- } = l1(H, V) || {};
8096
- if (t == null)
8095
+ } = n1(H, V) || {};
8096
+ if (m == null)
8097
8097
  return {};
8098
- const a = d2(n), o = {
8098
+ const a = m2(n), o = {
8099
8099
  x: C,
8100
8100
  y: M
8101
- }, l = G1(i), S = Q1(l), B = await A.getDimensions(t), v = l === "y", k = v ? "top" : "left", b = v ? "bottom" : "right", F = v ? "clientHeight" : "clientWidth", R = L.reference[S] + L.reference[l] - o[l] - L.floating[S], y = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(t));
8102
- let N = U ? U[F] : 0;
8103
- (!N || !await (A.isElement == null ? void 0 : A.isElement(U))) && (N = e.floating[F] || L.floating[S]);
8104
- const h = R / 2 - y / 2, I = N / 2 - B[S] / 2 - 1, M1 = a1(a[k], I), Z = a1(a[b], I), s = M1, P = N - B[S] - Z, T = N / 2 - B[S] / 2 + h, c = D1(s, T, P), E = !d.arrow && S1(i) != null && T != c && L.reference[S] / 2 - (T < s ? M1 : Z) - B[S] / 2 < 0, $ = E ? T < s ? T - s : T - P : 0;
8101
+ }, l = $1(i), S = G1(l), B = await A.getDimensions(m), y = l === "y", k = y ? "top" : "left", w = y ? "bottom" : "right", T = y ? "clientHeight" : "clientWidth", F = L.reference[S] + L.reference[l] - o[l] - L.floating[S], P = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(m));
8102
+ let W = U ? U[T] : 0;
8103
+ (!W || !await (A.isElement == null ? void 0 : A.isElement(U))) && (W = e.floating[T] || L.floating[S]);
8104
+ const g = F / 2 - P / 2, N = W / 2 - B[S] / 2 - 1, i1 = Z1(a[k], N), A1 = Z1(a[w], N), Q = i1, u = W - B[S] - A1, s = W / 2 - B[S] / 2 + g, v = _1(Q, s, u), x = !d.arrow && s1(i) != null && s != v && L.reference[S] / 2 - (s < Q ? i1 : A1) - B[S] / 2 < 0, c = x ? s < Q ? s - Q : s - u : 0;
8105
8105
  return {
8106
- [l]: o[l] + $,
8106
+ [l]: o[l] + c,
8107
8107
  data: {
8108
- [l]: c,
8109
- centerOffset: T - c - $,
8110
- ...E && {
8111
- alignmentOffset: $
8108
+ [l]: v,
8109
+ centerOffset: s - v - c,
8110
+ ...x && {
8111
+ alignmentOffset: c
8112
8112
  }
8113
8113
  },
8114
- reset: E
8114
+ reset: x
8115
8115
  };
8116
8116
  }
8117
- }), S5 = function(H) {
8117
+ }), c5 = function(H) {
8118
8118
  return H === void 0 && (H = {}), {
8119
8119
  name: "flip",
8120
8120
  options: H,
@@ -8126,7 +8126,7 @@ const u5 = (H) => ({
8126
8126
  rects: A,
8127
8127
  initialPlacement: e,
8128
8128
  platform: d,
8129
- elements: t
8129
+ elements: m
8130
8130
  } = V, {
8131
8131
  mainAxis: n = !0,
8132
8132
  crossAxis: a = !0,
@@ -8134,51 +8134,51 @@ const u5 = (H) => ({
8134
8134
  fallbackStrategy: l = "bestFit",
8135
8135
  fallbackAxisSideDirection: S = "none",
8136
8136
  flipAlignment: B = !0,
8137
- ...v
8138
- } = l1(H, V);
8137
+ ...y
8138
+ } = n1(H, V);
8139
8139
  if ((C = L.arrow) != null && C.alignmentOffset)
8140
8140
  return {};
8141
- const k = i1(i), b = i1(e) === e, F = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = o || (b || !B ? [B1(e)] : o5(e));
8142
- !o && S !== "none" && R.push(...r5(e, B, S, F));
8143
- const y = [e, ...R], U = await w1(V, v), N = [];
8144
- let h = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8145
- if (n && N.push(U[k]), a) {
8146
- const s = l5(i, A, F);
8147
- N.push(U[s[0]], U[s[1]]);
8141
+ const k = e1(i), w = e1(e) === e, T = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), F = o || (w || !B ? [b1(e)] : r5(e));
8142
+ !o && S !== "none" && F.push(...Z5(e, B, S, T));
8143
+ const P = [e, ...F], U = await v1(V, y), W = [];
8144
+ let g = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8145
+ if (n && W.push(U[k]), a) {
8146
+ const Q = n5(i, A, T);
8147
+ W.push(U[Q[0]], U[Q[1]]);
8148
8148
  }
8149
- if (h = [...h, {
8149
+ if (g = [...g, {
8150
8150
  placement: i,
8151
- overflows: N
8152
- }], !N.every((s) => s <= 0)) {
8153
- var I, M1;
8154
- const s = (((I = L.flip) == null ? void 0 : I.index) || 0) + 1, P = y[s];
8155
- if (P)
8151
+ overflows: W
8152
+ }], !W.every((Q) => Q <= 0)) {
8153
+ var N, i1;
8154
+ const Q = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, u = P[Q];
8155
+ if (u)
8156
8156
  return {
8157
8157
  data: {
8158
- index: s,
8159
- overflows: h
8158
+ index: Q,
8159
+ overflows: g
8160
8160
  },
8161
8161
  reset: {
8162
- placement: P
8162
+ placement: u
8163
8163
  }
8164
8164
  };
8165
- let T = (M1 = h.filter((c) => c.overflows[0] <= 0).sort((c, E) => c.overflows[1] - E.overflows[1])[0]) == null ? void 0 : M1.placement;
8166
- if (!T)
8165
+ let s = (i1 = g.filter((v) => v.overflows[0] <= 0).sort((v, x) => v.overflows[1] - x.overflows[1])[0]) == null ? void 0 : i1.placement;
8166
+ if (!s)
8167
8167
  switch (l) {
8168
8168
  case "bestFit": {
8169
- var Z;
8170
- const c = (Z = h.map((E) => [E.placement, E.overflows.filter(($) => $ > 0).reduce(($, Q) => $ + Q, 0)]).sort((E, $) => E[1] - $[1])[0]) == null ? void 0 : Z[0];
8171
- c && (T = c);
8169
+ var A1;
8170
+ const v = (A1 = g.map((x) => [x.placement, x.overflows.filter((c) => c > 0).reduce((c, G) => c + G, 0)]).sort((x, c) => x[1] - c[1])[0]) == null ? void 0 : A1[0];
8171
+ v && (s = v);
8172
8172
  break;
8173
8173
  }
8174
8174
  case "initialPlacement":
8175
- T = e;
8175
+ s = e;
8176
8176
  break;
8177
8177
  }
8178
- if (i !== T)
8178
+ if (i !== s)
8179
8179
  return {
8180
8180
  reset: {
8181
- placement: T
8181
+ placement: s
8182
8182
  }
8183
8183
  };
8184
8184
  }
@@ -8186,7 +8186,7 @@ const u5 = (H) => ({
8186
8186
  }
8187
8187
  };
8188
8188
  };
8189
- function X1(H, V) {
8189
+ function J1(H, V) {
8190
8190
  return {
8191
8191
  top: H.top - V.height,
8192
8192
  right: H.right - V.width,
@@ -8194,10 +8194,10 @@ function X1(H, V) {
8194
8194
  left: H.left - V.width
8195
8195
  };
8196
8196
  }
8197
- function Y1(H) {
8198
- return d5.some((V) => H[V] >= 0);
8197
+ function C2(H) {
8198
+ return m5.some((V) => H[V] >= 0);
8199
8199
  }
8200
- const s5 = function(H) {
8200
+ const p5 = function(H) {
8201
8201
  return H === void 0 && (H = {}), {
8202
8202
  name: "hide",
8203
8203
  options: H,
@@ -8207,29 +8207,29 @@ const s5 = function(H) {
8207
8207
  } = V, {
8208
8208
  strategy: M = "referenceHidden",
8209
8209
  ...i
8210
- } = l1(H, V);
8210
+ } = n1(H, V);
8211
8211
  switch (M) {
8212
8212
  case "referenceHidden": {
8213
- const L = await w1(V, {
8213
+ const L = await v1(V, {
8214
8214
  ...i,
8215
8215
  elementContext: "reference"
8216
- }), A = X1(L, C.reference);
8216
+ }), A = J1(L, C.reference);
8217
8217
  return {
8218
8218
  data: {
8219
8219
  referenceHiddenOffsets: A,
8220
- referenceHidden: Y1(A)
8220
+ referenceHidden: C2(A)
8221
8221
  }
8222
8222
  };
8223
8223
  }
8224
8224
  case "escaped": {
8225
- const L = await w1(V, {
8225
+ const L = await v1(V, {
8226
8226
  ...i,
8227
8227
  altBoundary: !0
8228
- }), A = X1(L, C.floating);
8228
+ }), A = J1(L, C.floating);
8229
8229
  return {
8230
8230
  data: {
8231
8231
  escapedOffsets: A,
8232
- escaped: Y1(A)
8232
+ escaped: C2(A)
8233
8233
  }
8234
8234
  };
8235
8235
  }
@@ -8239,12 +8239,12 @@ const s5 = function(H) {
8239
8239
  }
8240
8240
  };
8241
8241
  };
8242
- async function c5(H, V) {
8242
+ async function O5(H, V) {
8243
8243
  const {
8244
8244
  placement: C,
8245
8245
  platform: M,
8246
8246
  elements: i
8247
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = i1(C), e = S1(C), d = y1(C) === "y", t = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, a = l1(V, H);
8247
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = e1(C), e = s1(C), d = P1(C) === "y", m = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, a = n1(V, H);
8248
8248
  let {
8249
8249
  mainAxis: o,
8250
8250
  crossAxis: l,
@@ -8261,13 +8261,13 @@ async function c5(H, V) {
8261
8261
  };
8262
8262
  return e && typeof S == "number" && (l = e === "end" ? S * -1 : S), d ? {
8263
8263
  x: l * n,
8264
- y: o * t
8264
+ y: o * m
8265
8265
  } : {
8266
- x: o * t,
8266
+ x: o * m,
8267
8267
  y: l * n
8268
8268
  };
8269
8269
  }
8270
- const p5 = function(H) {
8270
+ const f5 = function(H) {
8271
8271
  return H === void 0 && (H = 0), {
8272
8272
  name: "offset",
8273
8273
  options: H,
@@ -8275,7 +8275,7 @@ const p5 = function(H) {
8275
8275
  const {
8276
8276
  x: C,
8277
8277
  y: M
8278
- } = V, i = await c5(V, H);
8278
+ } = V, i = await O5(V, H);
8279
8279
  return {
8280
8280
  x: C + i.x,
8281
8281
  y: M + i.y,
@@ -8283,7 +8283,7 @@ const p5 = function(H) {
8283
8283
  };
8284
8284
  }
8285
8285
  };
8286
- }, O5 = function(H) {
8286
+ }, h5 = function(H) {
8287
8287
  return H === void 0 && (H = {}), {
8288
8288
  name: "shift",
8289
8289
  options: H,
@@ -8296,30 +8296,30 @@ const p5 = function(H) {
8296
8296
  mainAxis: L = !0,
8297
8297
  crossAxis: A = !1,
8298
8298
  limiter: e = {
8299
- fn: (v) => {
8299
+ fn: (y) => {
8300
8300
  let {
8301
8301
  x: k,
8302
- y: b
8303
- } = v;
8302
+ y: w
8303
+ } = y;
8304
8304
  return {
8305
8305
  x: k,
8306
- y: b
8306
+ y: w
8307
8307
  };
8308
8308
  }
8309
8309
  },
8310
8310
  ...d
8311
- } = l1(H, V), t = {
8311
+ } = n1(H, V), m = {
8312
8312
  x: C,
8313
8313
  y: M
8314
- }, n = await w1(V, d), a = y1(i1(i)), o = e2(a);
8315
- let l = t[o], S = t[a];
8314
+ }, n = await v1(V, d), a = P1(e1(i)), o = t2(a);
8315
+ let l = m[o], S = m[a];
8316
8316
  if (L) {
8317
- const v = o === "y" ? "top" : "left", k = o === "y" ? "bottom" : "right", b = l + n[v], F = l - n[k];
8318
- l = D1(b, l, F);
8317
+ const y = o === "y" ? "top" : "left", k = o === "y" ? "bottom" : "right", w = l + n[y], T = l - n[k];
8318
+ l = _1(w, l, T);
8319
8319
  }
8320
8320
  if (A) {
8321
- const v = a === "y" ? "top" : "left", k = a === "y" ? "bottom" : "right", b = S + n[v], F = S - n[k];
8322
- S = D1(b, S, F);
8321
+ const y = a === "y" ? "top" : "left", k = a === "y" ? "bottom" : "right", w = S + n[y], T = S - n[k];
8322
+ S = _1(w, S, T);
8323
8323
  }
8324
8324
  const B = e.fn({
8325
8325
  ...V,
@@ -8336,18 +8336,18 @@ const p5 = function(H) {
8336
8336
  }
8337
8337
  };
8338
8338
  };
8339
- function V1(H) {
8340
- return t2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8339
+ function L1(H) {
8340
+ return l2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8341
8341
  }
8342
8342
  function z(H) {
8343
8343
  var V;
8344
8344
  return (H == null || (V = H.ownerDocument) == null ? void 0 : V.defaultView) || window;
8345
8345
  }
8346
- function L1(H) {
8346
+ function M1(H) {
8347
8347
  var V;
8348
- return (V = (t2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8348
+ return (V = (l2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8349
8349
  }
8350
- function t2(H) {
8350
+ function l2(H) {
8351
8351
  return H instanceof Node || H instanceof z(H).Node;
8352
8352
  }
8353
8353
  function C1(H) {
@@ -8356,10 +8356,10 @@ function C1(H) {
8356
8356
  function j(H) {
8357
8357
  return H instanceof HTMLElement || H instanceof z(H).HTMLElement;
8358
8358
  }
8359
- function J1(H) {
8359
+ function H2(H) {
8360
8360
  return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof z(H).ShadowRoot;
8361
8361
  }
8362
- function s1(H) {
8362
+ function c1(H) {
8363
8363
  const {
8364
8364
  overflow: V,
8365
8365
  overflowX: C,
@@ -8368,32 +8368,32 @@ function s1(H) {
8368
8368
  } = K(H);
8369
8369
  return /auto|scroll|overlay|hidden|clip/.test(V + M + C) && !["inline", "contents"].includes(i);
8370
8370
  }
8371
- function f5(H) {
8372
- return ["table", "td", "th"].includes(V1(H));
8371
+ function g5(H) {
8372
+ return ["table", "td", "th"].includes(L1(H));
8373
8373
  }
8374
- function $1(H) {
8375
- const V = U1(), C = K(H);
8374
+ function U1(H) {
8375
+ const V = z1(), C = K(H);
8376
8376
  return C.transform !== "none" || C.perspective !== "none" || (C.containerType ? C.containerType !== "normal" : !1) || !V && (C.backdropFilter ? C.backdropFilter !== "none" : !1) || !V && (C.filter ? C.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((M) => (C.willChange || "").includes(M)) || ["paint", "layout", "strict", "content"].some((M) => (C.contain || "").includes(M));
8377
8377
  }
8378
- function h5(H) {
8379
- let V = m1(H);
8380
- for (; j(V) && !P1(V); ) {
8381
- if ($1(V))
8378
+ function k5(H) {
8379
+ let V = o1(H);
8380
+ for (; j(V) && !T1(V); ) {
8381
+ if (U1(V))
8382
8382
  return V;
8383
- V = m1(V);
8383
+ V = o1(V);
8384
8384
  }
8385
8385
  return null;
8386
8386
  }
8387
- function U1() {
8387
+ function z1() {
8388
8388
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8389
8389
  }
8390
- function P1(H) {
8391
- return ["html", "body", "#document"].includes(V1(H));
8390
+ function T1(H) {
8391
+ return ["html", "body", "#document"].includes(L1(H));
8392
8392
  }
8393
8393
  function K(H) {
8394
8394
  return z(H).getComputedStyle(H);
8395
8395
  }
8396
- function T1(H) {
8396
+ function F1(H) {
8397
8397
  return C1(H) ? {
8398
8398
  scrollLeft: H.scrollLeft,
8399
8399
  scrollTop: H.scrollTop
@@ -8402,106 +8402,106 @@ function T1(H) {
8402
8402
  scrollTop: H.pageYOffset
8403
8403
  };
8404
8404
  }
8405
- function m1(H) {
8406
- if (V1(H) === "html")
8405
+ function o1(H) {
8406
+ if (L1(H) === "html")
8407
8407
  return H;
8408
8408
  const V = (
8409
8409
  // Step into the shadow DOM of the parent of a slotted node.
8410
8410
  H.assignedSlot || // DOM Element detected.
8411
8411
  H.parentNode || // ShadowRoot detected.
8412
- J1(H) && H.host || // Fallback.
8413
- L1(H)
8412
+ H2(H) && H.host || // Fallback.
8413
+ M1(H)
8414
8414
  );
8415
- return J1(V) ? V.host : V;
8415
+ return H2(V) ? V.host : V;
8416
8416
  }
8417
- function m2(H) {
8418
- const V = m1(H);
8419
- return P1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && s1(V) ? V : m2(V);
8417
+ function o2(H) {
8418
+ const V = o1(H);
8419
+ return T1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : o2(V);
8420
8420
  }
8421
- function E1(H, V, C) {
8421
+ function W1(H, V, C) {
8422
8422
  var M;
8423
8423
  V === void 0 && (V = []), C === void 0 && (C = !0);
8424
- const i = m2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8425
- return L ? V.concat(A, A.visualViewport || [], s1(i) ? i : [], A.frameElement && C ? E1(A.frameElement) : []) : V.concat(i, E1(i, [], C));
8424
+ const i = o2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8425
+ return L ? V.concat(A, A.visualViewport || [], c1(i) ? i : [], A.frameElement && C ? W1(A.frameElement) : []) : V.concat(i, W1(i, [], C));
8426
8426
  }
8427
- function l2(H) {
8427
+ function n2(H) {
8428
8428
  const V = K(H);
8429
8429
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8430
- const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = k1(C) !== L || k1(M) !== A;
8430
+ const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = B1(C) !== L || B1(M) !== A;
8431
8431
  return e && (C = L, M = A), {
8432
8432
  width: C,
8433
8433
  height: M,
8434
8434
  $: e
8435
8435
  };
8436
8436
  }
8437
- function o2(H) {
8437
+ function r2(H) {
8438
8438
  return C1(H) ? H : H.contextElement;
8439
8439
  }
8440
- function d1(H) {
8441
- const V = o2(H);
8440
+ function l1(H) {
8441
+ const V = r2(H);
8442
8442
  if (!j(V))
8443
- return H1(1);
8443
+ return V1(1);
8444
8444
  const C = V.getBoundingClientRect(), {
8445
8445
  width: M,
8446
8446
  height: i,
8447
8447
  $: L
8448
- } = l2(V);
8449
- let A = (L ? k1(C.width) : C.width) / M, e = (L ? k1(C.height) : C.height) / i;
8448
+ } = n2(V);
8449
+ let A = (L ? B1(C.width) : C.width) / M, e = (L ? B1(C.height) : C.height) / i;
8450
8450
  return (!A || !Number.isFinite(A)) && (A = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8451
8451
  x: A,
8452
8452
  y: e
8453
8453
  };
8454
8454
  }
8455
- const g5 = /* @__PURE__ */ H1(0);
8456
- function n2(H) {
8455
+ const B5 = /* @__PURE__ */ V1(0);
8456
+ function a2(H) {
8457
8457
  const V = z(H);
8458
- return !U1() || !V.visualViewport ? g5 : {
8458
+ return !z1() || !V.visualViewport ? B5 : {
8459
8459
  x: V.visualViewport.offsetLeft,
8460
8460
  y: V.visualViewport.offsetTop
8461
8461
  };
8462
8462
  }
8463
- function k5(H, V, C) {
8463
+ function b5(H, V, C) {
8464
8464
  return V === void 0 && (V = !1), !C || V && C !== z(H) ? !1 : V;
8465
8465
  }
8466
- function Z1(H, V, C, M) {
8466
+ function u1(H, V, C, M) {
8467
8467
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8468
- const i = H.getBoundingClientRect(), L = o2(H);
8469
- let A = H1(1);
8470
- V && (M ? C1(M) && (A = d1(M)) : A = d1(H));
8471
- const e = k5(L, C, M) ? n2(L) : H1(0);
8472
- let d = (i.left + e.x) / A.x, t = (i.top + e.y) / A.y, n = i.width / A.x, a = i.height / A.y;
8468
+ const i = H.getBoundingClientRect(), L = r2(H);
8469
+ let A = V1(1);
8470
+ V && (M ? C1(M) && (A = l1(M)) : A = l1(H));
8471
+ const e = b5(L, C, M) ? a2(L) : V1(0);
8472
+ let d = (i.left + e.x) / A.x, m = (i.top + e.y) / A.y, n = i.width / A.x, a = i.height / A.y;
8473
8473
  if (L) {
8474
8474
  const o = z(L), l = M && C1(M) ? z(M) : M;
8475
8475
  let S = o.frameElement;
8476
8476
  for (; S && M && l !== o; ) {
8477
- const B = d1(S), v = S.getBoundingClientRect(), k = K(S), b = v.left + (S.clientLeft + parseFloat(k.paddingLeft)) * B.x, F = v.top + (S.clientTop + parseFloat(k.paddingTop)) * B.y;
8478
- d *= B.x, t *= B.y, n *= B.x, a *= B.y, d += b, t += F, S = z(S).frameElement;
8477
+ const B = l1(S), y = S.getBoundingClientRect(), k = K(S), w = y.left + (S.clientLeft + parseFloat(k.paddingLeft)) * B.x, T = y.top + (S.clientTop + parseFloat(k.paddingTop)) * B.y;
8478
+ d *= B.x, m *= B.y, n *= B.x, a *= B.y, d += w, m += T, S = z(S).frameElement;
8479
8479
  }
8480
8480
  }
8481
- return b1({
8481
+ return w1({
8482
8482
  width: n,
8483
8483
  height: a,
8484
8484
  x: d,
8485
- y: t
8485
+ y: m
8486
8486
  });
8487
8487
  }
8488
- function B5(H) {
8488
+ function w5(H) {
8489
8489
  let {
8490
8490
  rect: V,
8491
8491
  offsetParent: C,
8492
8492
  strategy: M
8493
8493
  } = H;
8494
- const i = j(C), L = L1(C);
8494
+ const i = j(C), L = M1(C);
8495
8495
  if (C === L)
8496
8496
  return V;
8497
8497
  let A = {
8498
8498
  scrollLeft: 0,
8499
8499
  scrollTop: 0
8500
- }, e = H1(1);
8501
- const d = H1(0);
8502
- if ((i || !i && M !== "fixed") && ((V1(C) !== "body" || s1(L)) && (A = T1(C)), j(C))) {
8503
- const t = Z1(C);
8504
- e = d1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8500
+ }, e = V1(1);
8501
+ const d = V1(0);
8502
+ if ((i || !i && M !== "fixed") && ((L1(C) !== "body" || c1(L)) && (A = F1(C)), j(C))) {
8503
+ const m = u1(C);
8504
+ e = l1(C), d.x = m.x + C.clientLeft, d.y = m.y + C.clientTop;
8505
8505
  }
8506
8506
  return {
8507
8507
  width: V.width * e.x,
@@ -8510,30 +8510,30 @@ function B5(H) {
8510
8510
  y: V.y * e.y - A.scrollTop * e.y + d.y
8511
8511
  };
8512
8512
  }
8513
- function b5(H) {
8513
+ function v5(H) {
8514
8514
  return Array.from(H.getClientRects());
8515
8515
  }
8516
- function r2(H) {
8517
- return Z1(L1(H)).left + T1(H).scrollLeft;
8516
+ function Z2(H) {
8517
+ return u1(M1(H)).left + F1(H).scrollLeft;
8518
8518
  }
8519
- function w5(H) {
8520
- const V = L1(H), C = T1(H), M = H.ownerDocument.body, i = e1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = e1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8521
- let A = -C.scrollLeft + r2(H);
8519
+ function y5(H) {
8520
+ const V = M1(H), C = F1(H), M = H.ownerDocument.body, i = m1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = m1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8521
+ let A = -C.scrollLeft + Z2(H);
8522
8522
  const e = -C.scrollTop;
8523
- return K(M).direction === "rtl" && (A += e1(V.clientWidth, M.clientWidth) - i), {
8523
+ return K(M).direction === "rtl" && (A += m1(V.clientWidth, M.clientWidth) - i), {
8524
8524
  width: i,
8525
8525
  height: L,
8526
8526
  x: A,
8527
8527
  y: e
8528
8528
  };
8529
8529
  }
8530
- function v5(H, V) {
8531
- const C = z(H), M = L1(H), i = C.visualViewport;
8530
+ function P5(H, V) {
8531
+ const C = z(H), M = M1(H), i = C.visualViewport;
8532
8532
  let L = M.clientWidth, A = M.clientHeight, e = 0, d = 0;
8533
8533
  if (i) {
8534
8534
  L = i.width, A = i.height;
8535
- const t = U1();
8536
- (!t || t && V === "fixed") && (e = i.offsetLeft, d = i.offsetTop);
8535
+ const m = z1();
8536
+ (!m || m && V === "fixed") && (e = i.offsetLeft, d = i.offsetTop);
8537
8537
  }
8538
8538
  return {
8539
8539
  width: L,
@@ -8542,61 +8542,61 @@ function v5(H, V) {
8542
8542
  y: d
8543
8543
  };
8544
8544
  }
8545
- function y5(H, V) {
8546
- const C = Z1(H, !0, V === "fixed"), M = C.top + H.clientTop, i = C.left + H.clientLeft, L = j(H) ? d1(H) : H1(1), A = H.clientWidth * L.x, e = H.clientHeight * L.y, d = i * L.x, t = M * L.y;
8545
+ function T5(H, V) {
8546
+ const C = u1(H, !0, V === "fixed"), M = C.top + H.clientTop, i = C.left + H.clientLeft, L = j(H) ? l1(H) : V1(1), A = H.clientWidth * L.x, e = H.clientHeight * L.y, d = i * L.x, m = M * L.y;
8547
8547
  return {
8548
8548
  width: A,
8549
8549
  height: e,
8550
8550
  x: d,
8551
- y: t
8551
+ y: m
8552
8552
  };
8553
8553
  }
8554
- function C2(H, V, C) {
8554
+ function V2(H, V, C) {
8555
8555
  let M;
8556
8556
  if (V === "viewport")
8557
- M = v5(H, C);
8557
+ M = P5(H, C);
8558
8558
  else if (V === "document")
8559
- M = w5(L1(H));
8559
+ M = y5(M1(H));
8560
8560
  else if (C1(V))
8561
- M = y5(V, C);
8561
+ M = T5(V, C);
8562
8562
  else {
8563
- const i = n2(H);
8563
+ const i = a2(H);
8564
8564
  M = {
8565
8565
  ...V,
8566
8566
  x: V.x - i.x,
8567
8567
  y: V.y - i.y
8568
8568
  };
8569
8569
  }
8570
- return b1(M);
8570
+ return w1(M);
8571
8571
  }
8572
- function a2(H, V) {
8573
- const C = m1(H);
8574
- return C === V || !C1(C) || P1(C) ? !1 : K(C).position === "fixed" || a2(C, V);
8572
+ function u2(H, V) {
8573
+ const C = o1(H);
8574
+ return C === V || !C1(C) || T1(C) ? !1 : K(C).position === "fixed" || u2(C, V);
8575
8575
  }
8576
- function P5(H, V) {
8576
+ function F5(H, V) {
8577
8577
  const C = V.get(H);
8578
8578
  if (C)
8579
8579
  return C;
8580
- let M = E1(H, [], !1).filter((e) => C1(e) && V1(e) !== "body"), i = null;
8580
+ let M = W1(H, [], !1).filter((e) => C1(e) && L1(e) !== "body"), i = null;
8581
8581
  const L = K(H).position === "fixed";
8582
- let A = L ? m1(H) : H;
8583
- for (; C1(A) && !P1(A); ) {
8584
- const e = K(A), d = $1(A);
8585
- !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || s1(A) && !d && a2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = m1(A);
8582
+ let A = L ? o1(H) : H;
8583
+ for (; C1(A) && !T1(A); ) {
8584
+ const e = K(A), d = U1(A);
8585
+ !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || c1(A) && !d && u2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = o1(A);
8586
8586
  }
8587
8587
  return V.set(H, M), M;
8588
8588
  }
8589
- function T5(H) {
8589
+ function R5(H) {
8590
8590
  let {
8591
8591
  element: V,
8592
8592
  boundary: C,
8593
8593
  rootBoundary: M,
8594
8594
  strategy: i
8595
8595
  } = H;
8596
- const A = [...C === "clippingAncestors" ? P5(V, this._c) : [].concat(C), M], e = A[0], d = A.reduce((t, n) => {
8597
- const a = C2(V, n, i);
8598
- return t.top = e1(a.top, t.top), t.right = a1(a.right, t.right), t.bottom = a1(a.bottom, t.bottom), t.left = e1(a.left, t.left), t;
8599
- }, C2(V, e, i));
8596
+ const A = [...C === "clippingAncestors" ? F5(V, this._c) : [].concat(C), M], e = A[0], d = A.reduce((m, n) => {
8597
+ const a = V2(V, n, i);
8598
+ return m.top = m1(a.top, m.top), m.right = Z1(a.right, m.right), m.bottom = Z1(a.bottom, m.bottom), m.left = m1(a.left, m.left), m;
8599
+ }, V2(V, e, i));
8600
8600
  return {
8601
8601
  width: d.right - d.left,
8602
8602
  height: d.bottom - d.top,
@@ -8604,22 +8604,22 @@ function T5(H) {
8604
8604
  y: d.top
8605
8605
  };
8606
8606
  }
8607
- function F5(H) {
8608
- return l2(H);
8607
+ function x5(H) {
8608
+ return n2(H);
8609
8609
  }
8610
- function R5(H, V, C) {
8611
- const M = j(V), i = L1(V), L = C === "fixed", A = Z1(H, !0, L, V);
8610
+ function D5(H, V, C) {
8611
+ const M = j(V), i = M1(V), L = C === "fixed", A = u1(H, !0, L, V);
8612
8612
  let e = {
8613
8613
  scrollLeft: 0,
8614
8614
  scrollTop: 0
8615
8615
  };
8616
- const d = H1(0);
8616
+ const d = V1(0);
8617
8617
  if (M || !M && !L)
8618
- if ((V1(V) !== "body" || s1(i)) && (e = T1(V)), M) {
8619
- const t = Z1(V, !0, L, V);
8620
- d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8618
+ if ((L1(V) !== "body" || c1(i)) && (e = F1(V)), M) {
8619
+ const m = u1(V, !0, L, V);
8620
+ d.x = m.x + V.clientLeft, d.y = m.y + V.clientTop;
8621
8621
  } else
8622
- i && (d.x = r2(i));
8622
+ i && (d.x = Z2(i));
8623
8623
  return {
8624
8624
  x: A.left + e.scrollLeft - d.x,
8625
8625
  y: A.top + e.scrollTop - d.y,
@@ -8627,27 +8627,27 @@ function R5(H, V, C) {
8627
8627
  height: A.height
8628
8628
  };
8629
8629
  }
8630
- function H2(H, V) {
8630
+ function L2(H, V) {
8631
8631
  return !j(H) || K(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8632
8632
  }
8633
- function Z2(H, V) {
8633
+ function S2(H, V) {
8634
8634
  const C = z(H);
8635
8635
  if (!j(H))
8636
8636
  return C;
8637
- let M = H2(H, V);
8638
- for (; M && f5(M) && K(M).position === "static"; )
8639
- M = H2(M, V);
8640
- return M && (V1(M) === "html" || V1(M) === "body" && K(M).position === "static" && !$1(M)) ? C : M || h5(H) || C;
8637
+ let M = L2(H, V);
8638
+ for (; M && g5(M) && K(M).position === "static"; )
8639
+ M = L2(M, V);
8640
+ return M && (L1(M) === "html" || L1(M) === "body" && K(M).position === "static" && !U1(M)) ? C : M || k5(H) || C;
8641
8641
  }
8642
- const x5 = async function(H) {
8642
+ const _5 = async function(H) {
8643
8643
  let {
8644
8644
  reference: V,
8645
8645
  floating: C,
8646
8646
  strategy: M
8647
8647
  } = H;
8648
- const i = this.getOffsetParent || Z2, L = this.getDimensions;
8648
+ const i = this.getOffsetParent || S2, L = this.getDimensions;
8649
8649
  return {
8650
- reference: R5(V, await i(C), M),
8650
+ reference: D5(V, await i(C), M),
8651
8651
  floating: {
8652
8652
  x: 0,
8653
8653
  y: 0,
@@ -8655,45 +8655,45 @@ const x5 = async function(H) {
8655
8655
  }
8656
8656
  };
8657
8657
  };
8658
- function D5(H) {
8658
+ function E5(H) {
8659
8659
  return K(H).direction === "rtl";
8660
8660
  }
8661
- const _5 = {
8662
- convertOffsetParentRelativeRectToViewportRelativeRect: B5,
8663
- getDocumentElement: L1,
8664
- getClippingRect: T5,
8665
- getOffsetParent: Z2,
8666
- getElementRects: x5,
8667
- getClientRects: b5,
8668
- getDimensions: F5,
8669
- getScale: d1,
8661
+ const W5 = {
8662
+ convertOffsetParentRelativeRectToViewportRelativeRect: w5,
8663
+ getDocumentElement: M1,
8664
+ getClippingRect: R5,
8665
+ getOffsetParent: S2,
8666
+ getElementRects: _5,
8667
+ getClientRects: v5,
8668
+ getDimensions: x5,
8669
+ getScale: l1,
8670
8670
  isElement: C1,
8671
- isRTL: D5
8672
- }, E5 = (H, V, C) => {
8671
+ isRTL: E5
8672
+ }, N5 = (H, V, C) => {
8673
8673
  const M = /* @__PURE__ */ new Map(), i = {
8674
- platform: _5,
8674
+ platform: W5,
8675
8675
  ...C
8676
8676
  }, L = {
8677
8677
  ...i.platform,
8678
8678
  _c: M
8679
8679
  };
8680
- return Z5(H, V, {
8680
+ return S5(H, V, {
8681
8681
  ...i,
8682
8682
  platform: L
8683
8683
  });
8684
8684
  };
8685
- var u2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(u2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), W1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(W1 || {});
8686
- async function W5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8687
- !H || !V || E5(H, V, {
8685
+ var s2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(s2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), N1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(N1 || {});
8686
+ async function I5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8687
+ !H || !V || N5(H, V, {
8688
8688
  placement: M,
8689
8689
  middleware: [
8690
- p5(i),
8691
- O5({ padding: L }),
8692
- u5({ element: C }),
8693
- S5(),
8694
- s5()
8690
+ f5(i),
8691
+ h5({ padding: L }),
8692
+ s5({ element: C }),
8693
+ c5(),
8694
+ p5()
8695
8695
  ]
8696
- }).then(({ x: d, y: t, placement: n, middlewareData: a }) => {
8696
+ }).then(({ x: d, y: m, placement: n, middlewareData: a }) => {
8697
8697
  var S, B;
8698
8698
  if (!V)
8699
8699
  return;
@@ -8702,11 +8702,11 @@ async function W5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
8702
8702
  if (Object.assign(V.style, {
8703
8703
  maxWidth: e === "dropdown" ? `${l}px` : "auto",
8704
8704
  left: e === "dropdown" ? `${o}px` : `${d}px`,
8705
- top: `${t}px`,
8705
+ top: `${m}px`,
8706
8706
  animation: `r-tooltip-show ${A}ms ease-in-out forwards`,
8707
8707
  transformOrigin: "start"
8708
8708
  }), C && a.arrow) {
8709
- const { x: v, y: k } = a.arrow, b = {
8709
+ const { x: y, y: k } = a.arrow, w = {
8710
8710
  top: "bottom",
8711
8711
  right: "left",
8712
8712
  bottom: "top",
@@ -8714,19 +8714,19 @@ async function W5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
8714
8714
  /* Right */
8715
8715
  }[n.split("-")[0]];
8716
8716
  Object.assign(C.style, {
8717
- left: d != null ? `${v}px` : "",
8718
- top: t != null ? `${k}px` : "",
8717
+ left: d != null ? `${y}px` : "",
8718
+ top: m != null ? `${k}px` : "",
8719
8719
  right: "",
8720
8720
  bottom: "",
8721
- [`${b}`]: "-4px"
8721
+ [`${w}`]: "-4px"
8722
8722
  });
8723
8723
  }
8724
8724
  });
8725
8725
  }
8726
- const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__ */ x({
8726
+ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__ */ R({
8727
8727
  __name: "RTooltip",
8728
8728
  props: {
8729
- placement: { default: u2.Top },
8729
+ placement: { default: s2.Top },
8730
8730
  text: { default: "" },
8731
8731
  dark: { type: Boolean, default: !0 },
8732
8732
  light: { type: Boolean, default: !1 },
@@ -8743,65 +8743,65 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8743
8743
  resizable: { type: Boolean, default: !0 },
8744
8744
  triggerClass: { default: "" },
8745
8745
  tooltipClass: { default: "" },
8746
- type: { default: W1.Tooltip }
8746
+ type: { default: N1.Tooltip }
8747
8747
  },
8748
8748
  emits: ["show", "hide"],
8749
8749
  setup(H, { emit: V }) {
8750
- const C = H, M = V, i = W(), L = W(), A = W(), e = e5();
8750
+ const C = H, M = V, i = E(), L = E(), A = E(), e = t5();
8751
8751
  async function d() {
8752
8752
  if (C.disabled || !L.value)
8753
8753
  return;
8754
8754
  const k = document.querySelectorAll(".r-tooltip--active");
8755
- k.length > 0 && k.forEach((b) => {
8756
- b.style.display = "", b.classList.remove("r-tooltip--active"), b.dataset.show = "false", M("hide", b.id);
8757
- }), L.value.classList.contains("r-tooltip--active") ? t() : (B(), L.value.style.display = "block", L.value.classList.add("r-tooltip--active"), L.value.dataset.show = "true", M("show", L.value.id), n());
8755
+ k.length > 0 && k.forEach((w) => {
8756
+ w.style.display = "", w.classList.remove("r-tooltip--active"), w.dataset.show = "false", M("hide", w.id);
8757
+ }), L.value.classList.contains("r-tooltip--active") ? m() : (B(), L.value.style.display = "block", L.value.classList.add("r-tooltip--active"), L.value.dataset.show = "true", M("show", L.value.id), n());
8758
8758
  }
8759
- function t(k = null) {
8759
+ function m(k = null) {
8760
8760
  C.disabled || !L.value || (L.value.style.display = "", L.value.classList.remove("r-tooltip--active"), L.value.dataset.show = "false", M("hide", L.value.id));
8761
8761
  }
8762
8762
  function n() {
8763
8763
  C.autoHide && setTimeout(() => {
8764
- t();
8764
+ m();
8765
8765
  }, C.hideDelay);
8766
8766
  }
8767
8767
  function a(k) {
8768
- C.disabled || C.triggers.includes(Y.Click) && (L.value.style.display === "block" ? t() : d());
8768
+ C.disabled || C.triggers.includes(Y.Click) && (L.value.style.display === "block" ? m() : d());
8769
8769
  }
8770
8770
  function o() {
8771
8771
  C.disabled || C.triggers.includes(Y.Hover) && d();
8772
8772
  }
8773
8773
  function l() {
8774
- C.disabled || (L.value.style.display === "" && C.triggers.includes(Y.Hover) ? d() : L.value.style.display !== "" && C.triggers.includes(Y.Hover) && t());
8774
+ C.disabled || (L.value.style.display === "" && C.triggers.includes(Y.Hover) ? d() : L.value.style.display !== "" && C.triggers.includes(Y.Hover) && m());
8775
8775
  }
8776
8776
  function S() {
8777
8777
  C.triggers.includes(Y.Hover) && B();
8778
8778
  }
8779
8779
  function B(k) {
8780
- const { placement: b, offset: F, padding: R, disabled: y, showDelay: U, type: N } = C;
8781
- y || W5(i, L, A, b, F, R, U, N);
8780
+ const { placement: w, offset: T, padding: F, disabled: P, showDelay: U, type: W } = C;
8781
+ P || I5(i, L, A, w, T, F, U, W);
8782
8782
  }
8783
- const v = g(() => ({
8783
+ const y = f(() => ({
8784
8784
  "r-tooltip": !0,
8785
8785
  "r-tooltip--dark": C.dark && !C.light,
8786
8786
  "r-tooltip--light": C.light
8787
8787
  }));
8788
8788
  return window.onresize = () => {
8789
8789
  C.resizable && B();
8790
- }, p2(
8790
+ }, f2(
8791
8791
  () => {
8792
- C.disabled || (C.shown && C.triggers.includes(Y.Manual) ? d() : !C.shown && C.triggers.includes(Y.Manual) && t());
8792
+ C.disabled || (C.shown && C.triggers.includes(Y.Manual) ? d() : !C.shown && C.triggers.includes(Y.Manual) && m());
8793
8793
  },
8794
8794
  { flush: "post" }
8795
8795
  // this is important to avoid infinite loop & for fire on mounted
8796
- ), V2(() => {
8797
- var k, b;
8798
- C.resizable && ((b = (k = i.value) == null ? void 0 : k.parentElement) == null || b.parentElement.addEventListener("scroll", B())), A5(i, (F) => {
8799
- L.value.classList.contains("r-tooltip--active") && t(F);
8800
- }, { ignore: [L] }), C.type === W1.Dropdown && document.addEventListener("scroll", () => {
8796
+ ), M2(() => {
8797
+ var k, w;
8798
+ C.resizable && ((w = (k = i.value) == null ? void 0 : k.parentElement) == null || w.parentElement.addEventListener("scroll", B())), d5(i, (T) => {
8799
+ L.value.classList.contains("r-tooltip--active") && m(T);
8800
+ }, { ignore: [L] }), C.type === N1.Dropdown && document.addEventListener("scroll", () => {
8801
8801
  B();
8802
8802
  });
8803
- }), (k, b) => (m(), r(t1, null, [
8804
- u("div", {
8803
+ }), (k, w) => (t(), r(H1, null, [
8804
+ Z("div", {
8805
8805
  ref_key: "trigger",
8806
8806
  ref: i,
8807
8807
  "aria-disabled": C.disabled,
@@ -8811,7 +8811,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8811
8811
  onMouseleave: l,
8812
8812
  onMousemove: S
8813
8813
  }, [
8814
- f(k.$slots, "default", {
8814
+ h(k.$slots, "default", {
8815
8815
  activators: {
8816
8816
  click: a,
8817
8817
  mouseenter: o,
@@ -8821,32 +8821,32 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8821
8821
  tooltipId: J(e),
8822
8822
  updatePosition: B
8823
8823
  }, () => [
8824
- u("div", {
8824
+ Z("div", {
8825
8825
  innerHTML: C.triggerContent
8826
- }, null, 8, I5)
8826
+ }, null, 8, G5)
8827
8827
  ])
8828
- ], 42, N5),
8829
- (m(), _(O2, { to: "body" }, [
8830
- u("div", {
8828
+ ], 42, Q5),
8829
+ (t(), _(h2, { to: "body" }, [
8830
+ Z("div", {
8831
8831
  id: J(e),
8832
8832
  ref_key: "tooltip",
8833
8833
  ref: L,
8834
- class: p([v.value, k.tooltipClass]),
8834
+ class: p([y.value, k.tooltipClass]),
8835
8835
  "data-show": "false",
8836
8836
  role: "tooltip"
8837
8837
  }, [
8838
- f(k.$slots, "content", {
8839
- hide: t,
8838
+ h(k.$slots, "content", {
8839
+ hide: m,
8840
8840
  updatePosition: B
8841
8841
  }, () => [
8842
- C.text ? (m(), r("div", {
8842
+ C.text ? (t(), r("div", {
8843
8843
  key: 0,
8844
8844
  class: p(["r-tooltip__content", {
8845
8845
  "r-tooltip__content--dark": C.dark,
8846
8846
  "r-tooltip__content--light": C.light
8847
8847
  }])
8848
- }, w(C.text), 3)) : O("", !0),
8849
- C.text ? (m(), r("div", {
8848
+ }, b(C.text), 3)) : O("", !0),
8849
+ C.text ? (t(), r("div", {
8850
8850
  key: 1,
8851
8851
  id: "arrow",
8852
8852
  ref_key: "arrowElement",
@@ -8857,26 +8857,29 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8857
8857
  }])
8858
8858
  }, null, 2)) : O("", !0)
8859
8859
  ])
8860
- ], 10, Q5)
8860
+ ], 10, $5)
8861
8861
  ]))
8862
8862
  ], 64));
8863
8863
  }
8864
- }), $5 = ["id", "onClick"], U5 = { class: "r-dropdown__selections" }, z5 = { key: 0 }, K5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], q5 = ["data-has-value", "onClick"], j5 = ["onClick"], X5 = { class: "flex items-center" }, Y5 = { class: "r-dropdown-options__option__label" }, J5 = {
8864
+ }), z5 = ["id", "onClick"], K5 = { class: "r-dropdown__selections" }, q5 = { class: "flex flex-wrap items-center gap-2 text-sm" }, j5 = {
8865
+ key: 0,
8866
+ class: "text-sm text-gray-600"
8867
+ }, X5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], Y5 = ["data-has-value", "onClick"], J5 = ["onClick"], C3 = { class: "flex items-center" }, H3 = { class: "r-dropdown-options__option__label" }, V3 = {
8865
8868
  key: 1,
8866
8869
  class: "r-dropdown-options__divider"
8867
- }, C3 = ["aria-disabled", "onClick"], H3 = { class: "flex items-center" }, V3 = {
8870
+ }, L3 = ["aria-disabled", "onClick"], M3 = { class: "flex items-center" }, i3 = {
8868
8871
  key: 2,
8869
8872
  class: "r-dropdown-options__no-option"
8870
- }, L3 = {
8873
+ }, A3 = {
8871
8874
  key: 0,
8872
8875
  class: "r-dropdown-details"
8873
- }, M3 = {
8876
+ }, e3 = {
8874
8877
  key: 0,
8875
8878
  class: "r-dropdown-error"
8876
- }, i3 = {
8879
+ }, d3 = {
8877
8880
  key: 1,
8878
8881
  class: "r-dropdown-hint"
8879
- }, A3 = /* @__PURE__ */ x({
8882
+ }, t3 = /* @__PURE__ */ R({
8880
8883
  __name: "RDropdown",
8881
8884
  props: {
8882
8885
  options: { default: () => [] },
@@ -8904,133 +8907,135 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8904
8907
  tooltipClass: { default: "" },
8905
8908
  showSelectAll: { type: Boolean, default: !1 },
8906
8909
  selectAllText: { default: "Select all" },
8907
- disableDeselect: { type: Boolean, default: !1 }
8910
+ disableDeselect: { type: Boolean, default: !1 },
8911
+ maxVisibleChips: { default: 2 }
8908
8912
  },
8909
8913
  emits: ["update:modelValue", "clear", "removeOption"],
8910
8914
  setup(H, { emit: V }) {
8911
- const C = H, M = V, i = W({}), L = W([]), A = W(!1), e = W("");
8912
- function d(Z) {
8913
- if (!Z || typeof Z == "object" || typeof Z == "function" || typeof Z == "symbol" || typeof Z > "u" || Array.isArray(Z))
8915
+ const C = H, M = V, i = E({}), L = E([]), A = E(!1), e = E("");
8916
+ function d(u) {
8917
+ if (!u || typeof u == "object" || typeof u == "function" || typeof u == "symbol" || typeof u > "u" || Array.isArray(u))
8914
8918
  return !0;
8915
- const [s] = Object == null ? void 0 : Object.keys(Z);
8919
+ const [s] = Object == null ? void 0 : Object.keys(u);
8916
8920
  return ["label", "value"].includes(s);
8917
8921
  }
8918
- const t = g(() => {
8919
- const Z = C.options;
8920
- return d(Z[0]) ? Z : Z.map((s) => ({
8922
+ const m = f(() => {
8923
+ const u = C.options;
8924
+ return d(u[0]) ? u : u.map((s) => ({
8921
8925
  value: s,
8922
8926
  label: String(s)
8923
8927
  }));
8924
- }), n = g(() => {
8925
- const Z = C.modelValue;
8926
- return d(Z) ? Z : {
8927
- value: Z,
8928
- label: String(Z)
8928
+ }), n = f(() => {
8929
+ const u = C.modelValue;
8930
+ return d(u) ? u : {
8931
+ value: u,
8932
+ label: String(u)
8929
8933
  };
8930
- }), a = W(), o = W(), l = W();
8931
- function S(Z) {
8932
- var T, c, E, $;
8934
+ }), a = E(), o = E(), l = E();
8935
+ function S(u) {
8936
+ var x, c, G, K1;
8933
8937
  if (C.disabled)
8934
8938
  return;
8935
- const s = document.getElementById(Z);
8936
- document.querySelectorAll(".r-dropdown--active").forEach((Q) => {
8937
- var c1;
8938
- Q.id !== ((c1 = a.value) == null ? void 0 : c1.id) && Q.classList.contains("r-dropdown--active") && (Q.childNodes.forEach((X) => {
8939
- X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((F1) => F1.includes("--active")).forEach((F1) => {
8940
- X == null || X.classList.remove(F1);
8939
+ const s = document.getElementById(u);
8940
+ document.querySelectorAll(".r-dropdown--active").forEach(($) => {
8941
+ var p1;
8942
+ $.id !== ((p1 = a.value) == null ? void 0 : p1.id) && $.classList.contains("r-dropdown--active") && ($.childNodes.forEach((X) => {
8943
+ X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((R1) => R1.includes("--active")).forEach((R1) => {
8944
+ X == null || X.classList.remove(R1);
8941
8945
  }));
8942
- }), Q.classList.remove("r-dropdown--active"));
8943
- }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), A.value = !1, (T = a.value) == null || T.blur(), (c = o.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), A.value = !0, (E = a.value) == null || E.focus(), ($ = o.value) == null || $.focus(), s == null || s.childNodes.forEach((Q) => {
8944
- Q != null && Q.classList && (Object == null || Object.values(Q == null ? void 0 : Q.classList).forEach((c1) => {
8945
- Q == null || Q.classList.add(`${c1}--active`);
8946
+ }), $.classList.remove("r-dropdown--active"));
8947
+ }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), A.value = !1, (x = a.value) == null || x.blur(), (c = o.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), A.value = !0, (G = a.value) == null || G.focus(), (K1 = o.value) == null || K1.focus(), s == null || s.childNodes.forEach(($) => {
8948
+ $ != null && $.classList && (Object == null || Object.values($ == null ? void 0 : $.classList).forEach((p1) => {
8949
+ $ == null || $.classList.add(`${p1}--active`);
8946
8950
  }));
8947
8951
  }));
8948
8952
  }
8949
- function B(Z) {
8950
- const s = document.getElementById(Z);
8953
+ function B(u) {
8954
+ const s = document.getElementById(u);
8951
8955
  s == null || s.classList.remove("r-dropdown--active"), A.value = !1;
8952
8956
  }
8953
- function v(Z, s, P, T) {
8957
+ function y(u, s, v, x) {
8954
8958
  var c;
8955
- if (T(), !s.disabled) {
8959
+ if (x(), !s.disabled) {
8956
8960
  if (s.value === "select-all") {
8957
- M1();
8961
+ i1();
8958
8962
  return;
8959
8963
  }
8960
8964
  if (C.multiple) {
8961
- L.value.find((E) => E.value === s.value) ? (L.value.splice(L.value.indexOf(s), 1), M("removeOption", s)) : L.value.push(s), e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8965
+ L.value.find((G) => G.value === s.value) ? (L.value.splice(L.value.indexOf(s), 1), M("removeOption", s)) : L.value.push(s), e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8962
8966
  return;
8963
8967
  }
8964
- k(Z, s), C.closeOnSelect && P();
8968
+ k(u, s), C.closeOnSelect && v();
8965
8969
  }
8966
8970
  }
8967
- function k(Z, s) {
8971
+ function k(u, s) {
8968
8972
  if (i.value.value === s.value && !C.disableDeselect) {
8969
8973
  i.value = {}, e.value = "", M("update:modelValue", ""), M("removeOption", s);
8970
8974
  return;
8971
8975
  }
8972
8976
  e.value = s.label, i.value = s, M("update:modelValue", s);
8973
8977
  }
8974
- function b(Z, s, P) {
8975
- if (Z instanceof KeyboardEvent && Z.key !== "Backspace" || e.value !== "")
8978
+ function w(u, s, v) {
8979
+ if (u instanceof KeyboardEvent && u.key !== "Backspace" || e.value !== "")
8976
8980
  return;
8977
- Z.stopPropagation(), P();
8978
- const T = L.value.findIndex((c) => c.value === s.value);
8979
- L.value.splice(T, 1), M("removeOption", s);
8981
+ u.stopPropagation(), v();
8982
+ const x = L.value.findIndex((c) => c.value === s.value);
8983
+ L.value.splice(x, 1), M("removeOption", s), M("update:modelValue", L.value);
8980
8984
  }
8981
- function F(Z, s) {
8985
+ function T(u, s) {
8982
8986
  var c;
8983
8987
  if (!C.multiple)
8984
8988
  return;
8985
- Z.stopPropagation(), s();
8986
- const P = e.value;
8987
- if (P === "")
8989
+ u.stopPropagation(), s();
8990
+ const v = e.value;
8991
+ if (v === "")
8988
8992
  return;
8989
- t.value.find((E) => E.label === P) || (L.value.push({ value: P, label: P }), e.value = "", (c = o.value) == null || c.focus());
8993
+ m.value.find((G) => G.label === v) || (L.value.push({ value: v, label: v }), e.value = "", (c = o.value) == null || c.focus());
8990
8994
  }
8991
- function R(Z) {
8995
+ function F(u) {
8992
8996
  var s;
8993
- return !Z || (Z == null ? void 0 : Z.value) === void 0 || (Z == null ? void 0 : Z.value) === null ? !1 : C.multiple ? L.value.find((P) => (P == null ? void 0 : P.value) === (Z == null ? void 0 : Z.value)) : ((s = i.value) == null ? void 0 : s.value) === (Z == null ? void 0 : Z.value);
8997
+ return !u || (u == null ? void 0 : u.value) === void 0 || (u == null ? void 0 : u.value) === null ? !1 : C.multiple ? L.value.find((v) => (v == null ? void 0 : v.value) === (u == null ? void 0 : u.value)) : ((s = i.value) == null ? void 0 : s.value) === (u == null ? void 0 : u.value);
8994
8998
  }
8995
- const y = g(() => !C.searchable || i.value.label === e.value ? t.value : t.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = g(() => !C.searchable);
8996
- function N() {
8999
+ const P = f(() => !C.searchable || i.value.label === e.value ? m.value : m.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = f(() => !C.searchable);
9000
+ function W() {
8997
9001
  n.value ? C.multiple ? L.value = n.value : (i.value = n.value, e.value = n.value.label) : (i.value = {}, L.value.splice(0, L.value.length));
8998
9002
  }
8999
- function h(Z) {
9000
- C.searchable && Z(), !C.multiple && e.value === "" && (i.value = {}, M("update:modelValue", ""), M("removeOption", i.value));
9003
+ function g(u) {
9004
+ C.searchable && u(), !C.multiple && e.value === "" && (i.value = {}, M("update:modelValue", ""), M("removeOption", i.value));
9001
9005
  }
9002
- function I(Z, s) {
9003
- if (Z.stopPropagation(), s(), C.multiple) {
9006
+ function N(u, s) {
9007
+ if (u.stopPropagation(), s(), C.multiple) {
9004
9008
  L.value.splice(0, L.value.length), M("clear", L.value);
9005
9009
  return;
9006
9010
  }
9007
9011
  i.value = {}, e.value = "", M("update:modelValue", ""), M("clear", i.value);
9008
9012
  }
9009
- function M1() {
9010
- if (L.value.length === y.value.length) {
9013
+ function i1() {
9014
+ if (L.value.length === P.value.length) {
9011
9015
  L.value.splice(0, L.value.length);
9012
9016
  return;
9013
9017
  }
9014
- L.value = y.value;
9018
+ L.value = P.value;
9015
9019
  }
9016
- return V2(() => {
9017
- N(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9018
- }), G(
9020
+ const A1 = f(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), Q = f(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9021
+ return M2(() => {
9022
+ W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9023
+ }), I(
9019
9024
  L,
9020
- (Z) => {
9021
- M("update:modelValue", Z);
9025
+ (u) => {
9026
+ M("update:modelValue", u);
9022
9027
  },
9023
9028
  {
9024
9029
  deep: !0
9025
9030
  }
9026
- ), G(() => n.value, (Z) => {
9027
- N();
9028
- }), (Z, s) => (m(), r("div", {
9031
+ ), I(() => n.value, (u) => {
9032
+ W();
9033
+ }), (u, s) => (t(), r("div", {
9029
9034
  ref_key: "wrapper",
9030
9035
  ref: l,
9031
9036
  class: "r-dropdown-wrapper"
9032
9037
  }, [
9033
- q(G5, {
9038
+ q(U5, {
9034
9039
  "auto-hide": !1,
9035
9040
  offset: 0,
9036
9041
  placement: "bottom",
@@ -9039,13 +9044,13 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9039
9044
  "trigger-class": "w-full",
9040
9045
  triggers: ["click"],
9041
9046
  type: "dropdown",
9042
- onHide: s[1] || (s[1] = (P) => {
9043
- B(P);
9047
+ onHide: s[1] || (s[1] = (v) => {
9048
+ B(v);
9044
9049
  })
9045
9050
  }, {
9046
- default: g1(({ updatePosition: P, tooltipId: T }) => [
9047
- u("div", {
9048
- id: T,
9051
+ default: k1(({ updatePosition: v, tooltipId: x }) => [
9052
+ Z("div", {
9053
+ id: x,
9049
9054
  ref_key: "dropdown",
9050
9055
  ref: a,
9051
9056
  class: p(["r-dropdown", {
@@ -9056,45 +9061,49 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9056
9061
  group: e.value !== "" || L.value.length
9057
9062
  }]),
9058
9063
  role: "select",
9059
- onClick: (c) => S(T)
9064
+ onClick: (c) => S(x)
9060
9065
  }, [
9061
- C.prependIcon || Z.$slots.prepend ? (m(), r("div", {
9066
+ C.prependIcon || u.$slots.prepend ? (t(), r("div", {
9062
9067
  key: 0,
9063
9068
  class: p(["r-dropdown__prepend-icon", {
9064
9069
  "r-dropdown__prepend-icon--active": A.value,
9065
9070
  "r-dropdown__prepend-icon--error": C.errorMsg
9066
9071
  }])
9067
9072
  }, [
9068
- f(Z.$slots, "prepend", {
9073
+ h(u.$slots, "prepend", {
9069
9074
  active: A.value,
9070
9075
  disabled: C.disabled,
9071
9076
  error: C.errorMsg.length,
9072
9077
  loading: C.loading
9073
9078
  }, () => [
9074
- C.prependIcon ? (m(), _(D, {
9079
+ C.prependIcon ? (t(), _(D, {
9075
9080
  key: 0,
9076
9081
  name: C.prependIcon
9077
9082
  }, null, 8, ["name"])) : O("", !0)
9078
9083
  ])
9079
9084
  ], 2)) : O("", !0),
9080
- u("div", U5, [
9081
- (m(!0), r(t1, null, r1(L.value, (c, E) => f(Z.$slots, "selection", {
9082
- key: E,
9083
- index: E,
9084
- option: c,
9085
- removeOption: b
9085
+ Z("div", K5, [
9086
+ h(u.$slots, "selection", {
9087
+ removeOption: w,
9088
+ selected: L.value
9086
9089
  }, () => [
9087
- C.chips ? (m(), _(C5, {
9088
- key: 1,
9089
- clearable: !C.hideChipClear,
9090
- ghost: "",
9091
- label: c.label,
9092
- "no-wrap": "",
9093
- variant: "primary",
9094
- "onClick:close": ($) => b($, c, P)
9095
- }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), r("p", z5, w(`${c.label}, `), 1))
9096
- ])), 128)),
9097
- L2(u("input", {
9090
+ Z("div", q5, [
9091
+ C.multiple && C.chips ? (t(), r(H1, { key: 0 }, [
9092
+ (t(!0), r(H1, null, d1(A1.value, (c) => (t(), _(V5, {
9093
+ key: c.value,
9094
+ clearable: "",
9095
+ ghost: "",
9096
+ label: c.label,
9097
+ variant: "primary",
9098
+ "onClick:close": (G) => w(G, c, v)
9099
+ }, null, 8, ["label", "onClick:close"]))), 128)),
9100
+ Q.value > 0 ? (t(), r("span", j5, " +" + b(Q.value), 1)) : O("", !0)
9101
+ ], 64)) : C.multiple ? (t(!0), r(H1, { key: 1 }, d1(L.value, (c, G) => (t(), r("span", {
9102
+ key: c.value
9103
+ }, b(c.label) + b(G < L.value.length - 1 ? ", " : ""), 1))), 128)) : O("", !0)
9104
+ ])
9105
+ ]),
9106
+ i2(Z("input", {
9098
9107
  id: C.id,
9099
9108
  ref_key: "input",
9100
9109
  ref: o,
@@ -9108,140 +9117,140 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9108
9117
  readonly: U.value,
9109
9118
  role: "presentation",
9110
9119
  type: "text",
9111
- onInput: A1((c) => h(P), ["prevent"]),
9120
+ onInput: t1((c) => g(v), ["prevent"]),
9112
9121
  onKeydown: [
9113
- z1((c) => b(c, L.value[L.value.length - 1], P), ["backspace"]),
9114
- z1((c) => F(c, P), ["enter"])
9122
+ q1((c) => w(c, L.value[L.value.length - 1], v), ["backspace"]),
9123
+ q1((c) => T(c, v), ["enter"])
9115
9124
  ]
9116
- }, null, 42, K5), [
9117
- [f2, e.value]
9125
+ }, null, 42, X5), [
9126
+ [g2, e.value]
9118
9127
  ])
9119
9128
  ]),
9120
- C.clearable ? (m(), r("div", {
9129
+ C.clearable ? (t(), r("div", {
9121
9130
  key: 1,
9122
9131
  class: "r-dropdown__clearable",
9123
9132
  "data-has-value": (e.value !== "" || L.value.length) && A.value,
9124
- onClick: (c) => I(c, P)
9133
+ onClick: (c) => N(c, v)
9125
9134
  }, [
9126
- f(Z.$slots, "clearable", {}, () => [
9135
+ h(u.$slots, "clearable", {}, () => [
9127
9136
  q(D, {
9128
9137
  name: "mdiCloseCircle",
9129
9138
  size: "18"
9130
9139
  })
9131
9140
  ])
9132
- ], 8, q5)) : O("", !0),
9133
- C.appendIcon || Z.$slots.append ? (m(), r("div", {
9141
+ ], 8, Y5)) : O("", !0),
9142
+ C.appendIcon || u.$slots.append ? (t(), r("div", {
9134
9143
  key: 2,
9135
9144
  class: p(["r-dropdown__append-icon", {
9136
9145
  "r-dropdown__append-icon--active": A.value,
9137
9146
  "r-dropdown__append-icon--error": C.errorMsg
9138
9147
  }])
9139
9148
  }, [
9140
- f(Z.$slots, "append", {
9149
+ h(u.$slots, "append", {
9141
9150
  active: A.value,
9142
9151
  disabled: C.disabled,
9143
9152
  error: C.errorMsg.length,
9144
9153
  loading: C.loading
9145
9154
  }, () => [
9146
- C.appendIcon ? (m(), _(D, {
9155
+ C.appendIcon ? (t(), _(D, {
9147
9156
  key: 0,
9148
9157
  name: C.appendIcon
9149
9158
  }, null, 8, ["name"])) : O("", !0)
9150
9159
  ])
9151
9160
  ], 2)) : O("", !0)
9152
- ], 10, $5)
9161
+ ], 10, z5)
9153
9162
  ]),
9154
- content: g1(({ hide: P, updatePosition: T }) => [
9155
- u("ul", {
9163
+ content: k1(({ hide: v, updatePosition: x }) => [
9164
+ Z("ul", {
9156
9165
  class: p(["r-dropdown-options", {
9157
9166
  "r-dropdown-options--active": A.value,
9158
9167
  [C.optionsClass]: C.optionsClass
9159
9168
  }])
9160
9169
  }, [
9161
- C.showSelectAll && C.multiple && y.value.length > 0 ? (m(), r("li", {
9170
+ C.showSelectAll && C.multiple && P.value.length > 0 ? (t(), r("li", {
9162
9171
  key: 0,
9163
9172
  class: p(["r-dropdown-options__option", {
9164
- "r-dropdown-options__option--active": L.value.length === y.value.length,
9173
+ "r-dropdown-options__option--active": L.value.length === P.value.length,
9165
9174
  "r-dropdown-options__option--disabled": !1
9166
9175
  }]),
9167
- onClick: A1((c) => v(c, { label: C.selectAllText, value: "select-all" }, P, T), ["prevent"])
9176
+ onClick: t1((c) => y(c, { label: C.selectAllText, value: "select-all" }, v, x), ["prevent"])
9168
9177
  }, [
9169
- u("div", X5, [
9170
- u("p", Y5, w(C.selectAllText), 1)
9178
+ Z("div", C3, [
9179
+ Z("p", H3, b(C.selectAllText), 1)
9171
9180
  ]),
9172
- L.value.length === y.value.length && !C.hideOptionCheckIcon ? (m(), _(D, {
9181
+ L.value.length === P.value.length && !C.hideOptionCheckIcon ? (t(), _(D, {
9173
9182
  key: 0,
9174
9183
  class: p(["r-dropdown-options__option__append-icon", {
9175
- "r-dropdown-options__option__append-icon--active": L.value.length === y.value.length
9184
+ "r-dropdown-options__option__append-icon--active": L.value.length === P.value.length
9176
9185
  }]),
9177
9186
  name: "mdiCheck"
9178
9187
  }, null, 8, ["class"])) : O("", !0)
9179
- ], 10, j5)) : O("", !0),
9180
- C.showSelectAll && y.value.length > 0 ? (m(), r("hr", J5)) : O("", !0),
9181
- (m(!0), r(t1, null, r1(y.value, (c) => (m(), r("li", {
9188
+ ], 10, J5)) : O("", !0),
9189
+ C.showSelectAll && P.value.length > 0 ? (t(), r("hr", V3)) : O("", !0),
9190
+ (t(!0), r(H1, null, d1(P.value, (c) => (t(), r("li", {
9182
9191
  key: c.value,
9183
9192
  "aria-disabled": c.disabled,
9184
9193
  class: p(["r-dropdown-options__option", {
9185
- "r-dropdown-options__option--active": R(c),
9194
+ "r-dropdown-options__option--active": F(c),
9186
9195
  "r-dropdown-options__option--disabled": c.disabled,
9187
- "r-dropdown-options__option--deselect": R(c) && C.disableDeselect
9196
+ "r-dropdown-options__option--deselect": F(c) && C.disableDeselect
9188
9197
  }]),
9189
- onClick: A1((E) => v(E, c, P, T), ["prevent"])
9198
+ onClick: t1((G) => y(G, c, v, x), ["prevent"])
9190
9199
  }, [
9191
- f(Z.$slots, "option", {
9200
+ h(u.$slots, "option", {
9192
9201
  disabled: c.disabled,
9193
- isSelected: R(c),
9202
+ isSelected: F(c),
9194
9203
  item: c
9195
9204
  }, () => [
9196
- u("div", H3, [
9197
- f(Z.$slots, "option-prepend", {
9205
+ Z("div", M3, [
9206
+ h(u.$slots, "option-prepend", {
9198
9207
  disabled: c.disabled,
9199
- isSelected: R(c)
9208
+ isSelected: F(c)
9200
9209
  }, () => [
9201
- c.prependIcon ? (m(), _(D, {
9210
+ c.prependIcon ? (t(), _(D, {
9202
9211
  key: 0,
9203
9212
  class: p(["r-dropdown-options__option__prepend-icon", {
9204
- "r-dropdown-options__option__prepend-icon--active": R(c)
9213
+ "r-dropdown-options__option__prepend-icon--active": F(c)
9205
9214
  }]),
9206
9215
  name: c.prependIcon
9207
9216
  }, null, 8, ["class", "name"])) : O("", !0)
9208
9217
  ]),
9209
- u("p", {
9218
+ Z("p", {
9210
9219
  class: p(["r-dropdown-options__option__label", {
9211
- "r-dropdown-options__option__label--active": R(c)
9220
+ "r-dropdown-options__option__label--active": F(c)
9212
9221
  }])
9213
- }, w(c.label), 3)
9222
+ }, b(c.label), 3)
9214
9223
  ]),
9215
- f(Z.$slots, "option-append", {
9224
+ h(u.$slots, "option-append", {
9216
9225
  disabled: c.disabled,
9217
- isSelected: R(c)
9226
+ isSelected: F(c)
9218
9227
  }, () => [
9219
- R(c) && !C.hideOptionCheckIcon ? (m(), _(D, {
9228
+ F(c) && !C.hideOptionCheckIcon ? (t(), _(D, {
9220
9229
  key: 0,
9221
9230
  class: p(["r-dropdown-options__option__append-icon", {
9222
- "r-dropdown-options__option__append-icon--active": R(c)
9231
+ "r-dropdown-options__option__append-icon--active": F(c)
9223
9232
  }]),
9224
9233
  name: "mdiCheck"
9225
9234
  }, null, 8, ["class"])) : O("", !0)
9226
9235
  ])
9227
9236
  ])
9228
- ], 10, C3))), 128)),
9229
- y.value.length === 0 ? (m(), r("li", V3, [
9230
- f(Z.$slots, "not-options", {}, () => [
9231
- u1(w(C.noOptionsText), 1)
9237
+ ], 10, L3))), 128)),
9238
+ P.value.length === 0 ? (t(), r("li", i3, [
9239
+ h(u.$slots, "not-options", {}, () => [
9240
+ S1(b(C.noOptionsText), 1)
9232
9241
  ])
9233
9242
  ])) : O("", !0)
9234
9243
  ], 2)
9235
9244
  ]),
9236
9245
  _: 3
9237
9246
  }, 8, ["tooltip-class"]),
9238
- Z.$props.hideDetails ? O("", !0) : (m(), r("div", L3, [
9239
- C.errorMsg ? (m(), r("div", M3, w(C.errorMsg), 1)) : O("", !0),
9240
- C.hint ? (m(), r("div", i3, w(C.hint), 1)) : O("", !0)
9247
+ u.$props.hideDetails ? O("", !0) : (t(), r("div", A3, [
9248
+ C.errorMsg ? (t(), r("div", e3, b(C.errorMsg), 1)) : O("", !0),
9249
+ C.hint ? (t(), r("div", d3, b(C.hint), 1)) : O("", !0)
9241
9250
  ]))
9242
9251
  ], 512));
9243
9252
  }
9244
- }), e3 = ["id", "for"], S2 = /* @__PURE__ */ x({
9253
+ }), m3 = ["id", "for"], c2 = /* @__PURE__ */ R({
9245
9254
  __name: "RLabel",
9246
9255
  props: {
9247
9256
  id: { default: "" },
@@ -9250,26 +9259,26 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9250
9259
  },
9251
9260
  setup(H) {
9252
9261
  const V = H;
9253
- return (C, M) => (m(), r("label", {
9262
+ return (C, M) => (t(), r("label", {
9254
9263
  id: V.id,
9255
9264
  class: "r-label",
9256
9265
  for: V.for
9257
9266
  }, [
9258
- f(C.$slots, "default", {}, () => [
9259
- u1(w(V.text), 1)
9267
+ h(C.$slots, "default", {}, () => [
9268
+ S1(b(V.text), 1)
9260
9269
  ])
9261
- ], 8, e3));
9270
+ ], 8, m3));
9262
9271
  }
9263
- }), d3 = ["onClick"], t3 = ["open"], m3 = { class: "r-dialog__header" }, l3 = {
9272
+ }), l3 = ["onClick"], o3 = ["open"], n3 = { class: "r-dialog__header" }, r3 = {
9264
9273
  key: 0,
9265
9274
  class: "icon"
9266
- }, o3 = {
9275
+ }, a3 = {
9267
9276
  key: 1,
9268
9277
  class: "title"
9269
- }, n3 = {
9278
+ }, Z3 = {
9270
9279
  key: 2,
9271
9280
  class: "description"
9272
- }, r3 = { class: "r-dialog__body" }, a3 = { class: "r-dialog__actions" }, c0 = /* @__PURE__ */ x({
9281
+ }, u3 = { class: "r-dialog__body" }, S3 = { class: "r-dialog__actions" }, f0 = /* @__PURE__ */ R({
9273
9282
  __name: "RModal",
9274
9283
  props: {
9275
9284
  modelValue: { type: Boolean, default: !1 },
@@ -9288,57 +9297,57 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9288
9297
  },
9289
9298
  emits: ["update:modelValue"],
9290
9299
  setup(H, { emit: V }) {
9291
- const C = H, M = V, i = g(() => ({
9300
+ const C = H, M = V, i = f(() => ({
9292
9301
  "r-dialog": !0,
9293
9302
  "r-dialog--block": C.block,
9294
9303
  "p-0 gap-0": C.clearContent,
9295
9304
  [`${C.class}`]: !0
9296
- })), L = g(() => ({
9305
+ })), L = f(() => ({
9297
9306
  width: C.width,
9298
9307
  height: C.height
9299
9308
  }));
9300
9309
  function A(e) {
9301
9310
  C.outsideClick && e.target === e.currentTarget && M("update:modelValue", !1);
9302
9311
  }
9303
- return h2(() => {
9312
+ return k2(() => {
9304
9313
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9305
9314
  }), window.addEventListener("keydown", (e) => {
9306
9315
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9307
- }), (e, d) => L2((m(), r("div", {
9316
+ }), (e, d) => i2((t(), r("div", {
9308
9317
  class: p(["r-modal-overlay", e.overlayClass]),
9309
- onClick: A1(A, ["stop"])
9318
+ onClick: t1(A, ["stop"])
9310
9319
  }, [
9311
- u("div", {
9320
+ Z("div", {
9312
9321
  "aria-modal": "true",
9313
9322
  class: p(i.value),
9314
9323
  open: C.modelValue,
9315
9324
  role: "dialog",
9316
- style: I1(L.value)
9325
+ style: Q1(L.value)
9317
9326
  }, [
9318
- f(e.$slots, "wrapper", {}, () => [
9319
- u("div", m3, [
9320
- f(e.$slots, "header"),
9321
- C.icon ? (m(), r("div", l3, [
9327
+ h(e.$slots, "wrapper", {}, () => [
9328
+ Z("div", n3, [
9329
+ h(e.$slots, "header"),
9330
+ C.icon ? (t(), r("div", r3, [
9322
9331
  q(D, {
9323
9332
  name: C.icon
9324
9333
  }, null, 8, ["name"])
9325
9334
  ])) : O("", !0),
9326
- C.title ? (m(), r("div", o3, w(C.title), 1)) : O("", !0),
9327
- C.description ? (m(), r("div", n3, w(C.description), 1)) : O("", !0)
9335
+ C.title ? (t(), r("div", a3, b(C.title), 1)) : O("", !0),
9336
+ C.description ? (t(), r("div", Z3, b(C.description), 1)) : O("", !0)
9328
9337
  ]),
9329
- u("div", r3, [
9330
- f(e.$slots, "default")
9338
+ Z("div", u3, [
9339
+ h(e.$slots, "default")
9331
9340
  ]),
9332
- u("div", a3, [
9333
- f(e.$slots, "actions")
9341
+ Z("div", S3, [
9342
+ h(e.$slots, "actions")
9334
9343
  ])
9335
9344
  ])
9336
- ], 14, t3)
9337
- ], 10, d3)), [
9338
- [g2, e.modelValue]
9345
+ ], 14, o3)
9346
+ ], 10, l3)), [
9347
+ [B2, e.modelValue]
9339
9348
  ]);
9340
9349
  }
9341
- }), Z3 = ["data-open"], u3 = ["data-open"], S3 = ["data-open"], p0 = /* @__PURE__ */ x({
9350
+ }), s3 = ["data-open"], c3 = ["data-open"], p3 = ["data-open"], h0 = /* @__PURE__ */ R({
9342
9351
  __name: "RSidebar",
9343
9352
  props: {
9344
9353
  modelValue: { type: Boolean, default: !1 },
@@ -9350,33 +9359,33 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9350
9359
  emits: ["update:modelValue"],
9351
9360
  setup(H, { emit: V }) {
9352
9361
  const C = H, M = V;
9353
- return (i, L) => (m(), r("div", {
9362
+ return (i, L) => (t(), r("div", {
9354
9363
  class: p(["r-sidebar__wrapper", [i.$props.wrapperClass]]),
9355
9364
  "data-open": C.modelValue
9356
9365
  }, [
9357
- u("aside", {
9366
+ Z("aside", {
9358
9367
  class: p(["r-sidebar", [C.class]]),
9359
9368
  "data-open": C.modelValue
9360
9369
  }, [
9361
- f(i.$slots, "default", {
9370
+ h(i.$slots, "default", {
9362
9371
  open: C.modelValue
9363
9372
  })
9364
- ], 10, u3),
9365
- C.showTrigger ? (m(), r("div", {
9373
+ ], 10, c3),
9374
+ C.showTrigger ? (t(), r("div", {
9366
9375
  key: 0,
9367
9376
  class: p(["r-sidebar__trigger", [C.triggerClass]]),
9368
9377
  "data-open": C.modelValue,
9369
9378
  onClick: L[0] || (L[0] = (A) => M("update:modelValue", !C.modelValue))
9370
9379
  }, [
9371
- f(i.$slots, "trigger", {
9380
+ h(i.$slots, "trigger", {
9372
9381
  open: C.modelValue
9373
9382
  }, () => [
9374
- u1(" > ")
9383
+ S1(" > ")
9375
9384
  ])
9376
- ], 10, S3)) : O("", !0)
9377
- ], 10, Z3));
9385
+ ], 10, p3)) : O("", !0)
9386
+ ], 10, s3));
9378
9387
  }
9379
- }), s3 = { class: "r-snackbar__text" }, O0 = /* @__PURE__ */ x({
9388
+ }), O3 = { class: "r-snackbar__text" }, g0 = /* @__PURE__ */ R({
9380
9389
  __name: "RSnackbar",
9381
9390
  props: {
9382
9391
  modelValue: { type: Boolean, default: !1 },
@@ -9390,7 +9399,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9390
9399
  emits: ["action", "update:modelValue"],
9391
9400
  setup(H, { emit: V }) {
9392
9401
  const C = H, M = V;
9393
- G(
9402
+ I(
9394
9403
  () => C.modelValue,
9395
9404
  () => {
9396
9405
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9401,40 +9410,40 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9401
9410
  immediate: !0
9402
9411
  }
9403
9412
  );
9404
- const i = g(() => ({
9413
+ const i = f(() => ({
9405
9414
  "r-snackbar": !0,
9406
9415
  [`r-snackbar--${C.variant}`]: !0,
9407
9416
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
9408
9417
  [C.modelValue ? "r-snackbar--shown" : "r-snackbar--hidden"]: !0,
9409
9418
  [C.top ? "r-snackbar__top" : "r-snackbar__bottom"]: !0,
9410
9419
  "r-snackbar--closable": C.closable
9411
- })), L = g(() => ({
9420
+ })), L = f(() => ({
9412
9421
  success: "mdiCheckCircle",
9413
9422
  error: "mdiAlertCircle",
9414
9423
  warning: "mdiAlert",
9415
9424
  info: "mdiInformation"
9416
9425
  })[C.variant || "info"]);
9417
- return (A, e) => (m(), r("div", {
9426
+ return (A, e) => (t(), r("div", {
9418
9427
  class: p(i.value)
9419
9428
  }, [
9420
- f(A.$slots, "icon", {}, () => [
9421
- C.variant ? (m(), _(D, {
9429
+ h(A.$slots, "icon", {}, () => [
9430
+ C.variant ? (t(), _(D, {
9422
9431
  key: 0,
9423
9432
  class: "r-snackbar__icon",
9424
9433
  name: L.value
9425
9434
  }, null, 8, ["name"])) : O("", !0)
9426
9435
  ]),
9427
- u("div", s3, [
9428
- f(A.$slots, "default", {}, () => [
9429
- u1(w(C.text), 1)
9436
+ Z("div", O3, [
9437
+ h(A.$slots, "default", {}, () => [
9438
+ S1(b(C.text), 1)
9430
9439
  ])
9431
9440
  ]),
9432
- C.closable ? (m(), r("div", {
9441
+ C.closable ? (t(), r("div", {
9433
9442
  key: 0,
9434
9443
  class: "r-snackbar__close",
9435
- onClick: e[0] || (e[0] = A1((d) => A.$emit("update:modelValue", !1), ["stop"]))
9444
+ onClick: e[0] || (e[0] = t1((d) => A.$emit("update:modelValue", !1), ["stop"]))
9436
9445
  }, [
9437
- f(A.$slots, "close", {}, () => [
9446
+ h(A.$slots, "close", {}, () => [
9438
9447
  q(D, {
9439
9448
  name: "mdiClose",
9440
9449
  size: 16
@@ -9443,16 +9452,16 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9443
9452
  ])) : O("", !0)
9444
9453
  ], 2));
9445
9454
  }
9446
- }), c3 = ["id", "checked", "disabled", "name"], p3 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), O3 = ["id", "for"], f3 = {
9455
+ }), f3 = ["id", "checked", "disabled", "name"], h3 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), g3 = ["id", "for"], k3 = {
9447
9456
  key: 0,
9448
9457
  class: "r-switch-texts__details"
9449
- }, h3 = {
9458
+ }, B3 = {
9450
9459
  key: 0,
9451
9460
  class: "r-switch-texts__error"
9452
- }, g3 = {
9461
+ }, b3 = {
9453
9462
  key: 1,
9454
9463
  class: "r-switch-texts__hint"
9455
- }, f0 = /* @__PURE__ */ x({
9464
+ }, k0 = /* @__PURE__ */ R({
9456
9465
  __name: "RSwitch",
9457
9466
  props: {
9458
9467
  id: { default: "switch" },
@@ -9468,9 +9477,9 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9468
9477
  },
9469
9478
  emits: ["update:modelValue"],
9470
9479
  setup(H, { emit: V }) {
9471
- const C = H, M = V, i = W({
9480
+ const C = H, M = V, i = E({
9472
9481
  checked: !1
9473
- }), L = g(() => ({
9482
+ }), L = f(() => ({
9474
9483
  "r-switch": !0,
9475
9484
  "r-switch--disabled": C.disabled,
9476
9485
  [`r-switch--${C.size}`]: C.size,
@@ -9479,7 +9488,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9479
9488
  function A(e) {
9480
9489
  C.disabled || (i.value.checked = e.target.checked, M("update:modelValue", i.value.checked));
9481
9490
  }
9482
- return G(
9491
+ return I(
9483
9492
  () => C.modelValue,
9484
9493
  (e) => {
9485
9494
  i.value.checked = e;
@@ -9489,16 +9498,16 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9489
9498
  // TODO: find a better way to do this
9490
9499
  immediate: !0
9491
9500
  }
9492
- ), (e, d) => (m(), r("div", {
9501
+ ), (e, d) => (t(), r("div", {
9493
9502
  class: p(["r-switch-container", {
9494
9503
  "r-switch-container--reverse": C.reverse,
9495
9504
  "r-switch-container--hide-details": C.hideDetails
9496
9505
  }])
9497
9506
  }, [
9498
- u("div", {
9507
+ Z("div", {
9499
9508
  class: p(L.value)
9500
9509
  }, [
9501
- u("input", {
9510
+ Z("input", {
9502
9511
  id: C.id,
9503
9512
  checked: i.value.checked,
9504
9513
  class: "r-switch__input",
@@ -9506,32 +9515,32 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9506
9515
  name: C.name,
9507
9516
  type: "checkbox",
9508
9517
  onChange: A
9509
- }, null, 40, c3),
9510
- p3
9518
+ }, null, 40, f3),
9519
+ h3
9511
9520
  ], 2),
9512
- u("div", {
9521
+ Z("div", {
9513
9522
  class: p(["r-switch-texts", {
9514
9523
  [`r-switch-texts--${C.size}`]: !0
9515
9524
  }])
9516
9525
  }, [
9517
- u("label", {
9526
+ Z("label", {
9518
9527
  id: `${C.id}-label`,
9519
9528
  class: "r-switch-texts__label",
9520
9529
  for: C.id
9521
- }, w(C.label), 9, O3),
9522
- C.hideDetails ? O("", !0) : (m(), r("div", f3, [
9523
- C.errorMsg ? (m(), r("p", h3, w(C.errorMsg), 1)) : (m(), r("p", g3, w(C.hint), 1))
9530
+ }, b(C.label), 9, g3),
9531
+ C.hideDetails ? O("", !0) : (t(), r("div", k3, [
9532
+ C.errorMsg ? (t(), r("p", B3, b(C.errorMsg), 1)) : (t(), r("p", b3, b(C.hint), 1))
9524
9533
  ]))
9525
9534
  ], 2)
9526
9535
  ], 2));
9527
9536
  }
9528
9537
  });
9529
- var n1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(n1 || {});
9530
- const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 = /* @__PURE__ */ x({
9538
+ var a1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(a1 || {});
9539
+ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 = /* @__PURE__ */ R({
9531
9540
  __name: "RTabItem",
9532
9541
  props: {
9533
9542
  id: {},
9534
- variant: { default: n1.DEFAULT },
9543
+ variant: { default: a1.DEFAULT },
9535
9544
  label: { default: "" },
9536
9545
  prependIcon: { default: "" },
9537
9546
  appendIcon: { default: "" },
@@ -9543,57 +9552,57 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9543
9552
  },
9544
9553
  emits: ["update:modelValue"],
9545
9554
  setup(H, { emit: V }) {
9546
- const C = H, M = V, i = g(() => ({
9555
+ const C = H, M = V, i = f(() => ({
9547
9556
  "r-tab-item": !0,
9548
9557
  [`r-tab-item--${C.variant}`]: !0,
9549
9558
  "r-tab-item--tile": C.tile,
9550
9559
  "r-tab-item--block": C.block
9551
- })), L = g(() => ({
9560
+ })), L = f(() => ({
9552
9561
  color: C.color
9553
- })), A = g(() => C.modelValue === C.id);
9562
+ })), A = f(() => C.modelValue === C.id);
9554
9563
  function e(d) {
9555
9564
  M("update:modelValue", d);
9556
9565
  }
9557
- return (d, t) => (m(), r("button", {
9566
+ return (d, m) => (t(), r("button", {
9558
9567
  "aria-disabled": C.disabled,
9559
9568
  "aria-selected": A.value,
9560
9569
  class: p(i.value),
9561
9570
  disabled: C.disabled,
9562
- style: I1(L.value),
9563
- onClick: t[0] || (t[0] = A1((n) => e(C.id), ["stop"]))
9571
+ style: Q1(L.value),
9572
+ onClick: m[0] || (m[0] = t1((n) => e(C.id), ["stop"]))
9564
9573
  }, [
9565
- f(d.$slots, "prepend", {
9574
+ h(d.$slots, "prepend", {
9566
9575
  active: A.value,
9567
9576
  disabled: C.disabled
9568
9577
  }, () => [
9569
- C.variant !== J(n1).TEXT && C.prependIcon ? (m(), _(D, {
9578
+ C.variant !== J(a1).TEXT && C.prependIcon ? (t(), _(D, {
9570
9579
  key: 0,
9571
9580
  class: "r-tab-item__prepend-icon",
9572
9581
  name: C.prependIcon,
9573
9582
  size: 16
9574
9583
  }, null, 8, ["name"])) : O("", !0)
9575
9584
  ]),
9576
- C.variant !== J(n1).ICON ? (m(), r("span", B3, [
9577
- f(d.$slots, "default", {
9585
+ C.variant !== J(a1).ICON ? (t(), r("span", v3, [
9586
+ h(d.$slots, "default", {
9578
9587
  label: C.label
9579
9588
  }, () => [
9580
- u1(w(C.label), 1)
9589
+ S1(b(C.label), 1)
9581
9590
  ])
9582
9591
  ])) : O("", !0),
9583
- f(d.$slots, "append", {
9592
+ h(d.$slots, "append", {
9584
9593
  active: A.value,
9585
9594
  disabled: C.disabled
9586
9595
  }, () => [
9587
- C.variant !== J(n1).TEXT && C.appendIcon ? (m(), _(D, {
9596
+ C.variant !== J(a1).TEXT && C.appendIcon ? (t(), _(D, {
9588
9597
  key: 0,
9589
9598
  class: "r-tab-item__append-icon",
9590
9599
  name: C.appendIcon,
9591
9600
  size: 16
9592
9601
  }, null, 8, ["name"])) : O("", !0)
9593
9602
  ])
9594
- ], 14, k3));
9603
+ ], 14, w3));
9595
9604
  }
9596
- }), h0 = /* @__PURE__ */ x({
9605
+ }), B0 = /* @__PURE__ */ R({
9597
9606
  __name: "RTabs",
9598
9607
  props: {
9599
9608
  tabs: { default: () => [] },
@@ -9604,16 +9613,16 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9604
9613
  },
9605
9614
  emits: ["update:modelValue"],
9606
9615
  setup(H, { emit: V }) {
9607
- const C = H, M = V, i = W(C.modelValue || C.tabs[0].id), L = g(() => ({
9616
+ const C = H, M = V, i = E(C.modelValue || C.tabs[0].id), L = f(() => ({
9608
9617
  "r-tabs": !0,
9609
9618
  "r-tabs--tile": C.tile
9610
9619
  }));
9611
- return G(
9620
+ return I(
9612
9621
  () => i.value,
9613
9622
  () => {
9614
9623
  M("update:modelValue", i.value);
9615
9624
  }
9616
- ), G(
9625
+ ), I(
9617
9626
  () => C.modelValue,
9618
9627
  () => {
9619
9628
  i.value = C.modelValue;
@@ -9621,23 +9630,23 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9621
9630
  {
9622
9631
  immediate: !0
9623
9632
  }
9624
- ), (A, e) => (m(), r("div", {
9633
+ ), (A, e) => (t(), r("div", {
9625
9634
  class: p(L.value)
9626
9635
  }, [
9627
- u("div", {
9636
+ Z("div", {
9628
9637
  class: p(["flex", [{
9629
9638
  "w-full": C.block,
9630
9639
  "overflow-x-auto": C.scrollable,
9631
9640
  "gap-0.5": C.tile
9632
9641
  }]])
9633
9642
  }, [
9634
- f(A.$slots, "default", { activeTab: i.value }, () => [
9635
- (m(!0), r(t1, null, r1(C.tabs, (d, t) => (m(), _(b3, {
9643
+ h(A.$slots, "default", { activeTab: i.value }, () => [
9644
+ (t(!0), r(H1, null, d1(C.tabs, (d, m) => (t(), _(y3, {
9636
9645
  id: d.id,
9637
- key: t,
9646
+ key: m,
9638
9647
  modelValue: i.value,
9639
9648
  "onUpdate:modelValue": e[0] || (e[0] = (n) => i.value = n),
9640
- active: t === i.value,
9649
+ active: m === i.value,
9641
9650
  "append-icon": d.appendIcon,
9642
9651
  block: A.block,
9643
9652
  disabled: d.disabled,
@@ -9650,16 +9659,16 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9650
9659
  ], 2)
9651
9660
  ], 2));
9652
9661
  }
9653
- }), w3 = { class: "r-textarea-wrapper" }, v3 = ["id", "disabled", "placeholder", "value"], y3 = {
9662
+ }), P3 = { class: "r-textarea-wrapper" }, T3 = ["id", "disabled", "placeholder", "value"], F3 = {
9654
9663
  key: 1,
9655
9664
  class: "r-textarea__details"
9656
- }, P3 = {
9665
+ }, R3 = {
9657
9666
  key: 0,
9658
9667
  class: "r-textarea__error"
9659
- }, T3 = {
9668
+ }, x3 = {
9660
9669
  key: 1,
9661
9670
  class: "r-textarea__hint"
9662
- }, g0 = /* @__PURE__ */ x({
9671
+ }, b0 = /* @__PURE__ */ R({
9663
9672
  __name: "RTextArea",
9664
9673
  props: {
9665
9674
  id: { default: "" },
@@ -9673,13 +9682,13 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9673
9682
  },
9674
9683
  emits: ["update:modelValue"],
9675
9684
  setup(H, { emit: V }) {
9676
- const C = H, M = V, i = v1({
9685
+ const C = H, M = V, i = y1({
9677
9686
  value: ""
9678
9687
  });
9679
9688
  function L(A) {
9680
9689
  M("update:modelValue", A.target.value);
9681
9690
  }
9682
- return G(
9691
+ return I(
9683
9692
  () => C.modelValue,
9684
9693
  (A) => {
9685
9694
  i.value = A;
@@ -9687,15 +9696,15 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9687
9696
  {
9688
9697
  immediate: !0
9689
9698
  }
9690
- ), (A, e) => (m(), r("div", w3, [
9691
- C.label ? (m(), _(S2, {
9699
+ ), (A, e) => (t(), r("div", P3, [
9700
+ C.label ? (t(), _(c2, {
9692
9701
  key: 0,
9693
9702
  id: `${C.id}-label`,
9694
9703
  class: "r-textarea__label",
9695
9704
  for: "textarea",
9696
9705
  text: C.label
9697
9706
  }, null, 8, ["id", "text"])) : O("", !0),
9698
- u("textarea", N1(A.$attrs, {
9707
+ Z("textarea", I1(A.$attrs, {
9699
9708
  id: C.id,
9700
9709
  class: ["r-textarea", {
9701
9710
  "r-textarea--error": C.errorMsg,
@@ -9705,22 +9714,22 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9705
9714
  placeholder: C.placeholder,
9706
9715
  value: i.value,
9707
9716
  onInput: L
9708
- }), null, 16, v3),
9709
- C.hideDetails ? O("", !0) : (m(), r("div", y3, [
9710
- C.errorMsg ? (m(), r("p", P3, w(C.errorMsg), 1)) : (m(), r("p", T3, w(C.hint), 1))
9717
+ }), null, 16, T3),
9718
+ C.hideDetails ? O("", !0) : (t(), r("div", F3, [
9719
+ C.errorMsg ? (t(), r("p", R3, b(C.errorMsg), 1)) : (t(), r("p", x3, b(C.hint), 1))
9711
9720
  ]))
9712
9721
  ]));
9713
9722
  }
9714
- }), F3 = { class: "r-textfield__wrapper" }, R3 = { class: "input-wrapper" }, x3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], D3 = {
9723
+ }), D3 = { class: "r-textfield__wrapper" }, _3 = { class: "input-wrapper" }, E3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], W3 = {
9715
9724
  key: 0,
9716
9725
  class: "r-textfield__details"
9717
- }, _3 = {
9726
+ }, N3 = {
9718
9727
  key: 0,
9719
9728
  class: "r-textfield__error"
9720
- }, E3 = {
9729
+ }, I3 = {
9721
9730
  key: 1,
9722
9731
  class: "r-textfield__hint"
9723
- }, k0 = /* @__PURE__ */ x({
9732
+ }, w0 = /* @__PURE__ */ R({
9724
9733
  __name: "RTextfield",
9725
9734
  props: {
9726
9735
  id: { default: "" },
@@ -9750,57 +9759,57 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9750
9759
  "click:clear"
9751
9760
  ],
9752
9761
  setup(H, { emit: V }) {
9753
- const C = H, M = V, i = W(), L = v1({
9762
+ const C = H, M = V, i = E(), L = y1({
9754
9763
  value: ""
9755
- }), A = W(C.type), e = {
9764
+ }), A = E(C.type), e = {
9756
9765
  password: "mdiLock",
9757
9766
  email: "mdiEmailOutline",
9758
9767
  tel: "mdiPhone",
9759
9768
  url: "mdiLink",
9760
9769
  number: "mdiNumeric",
9761
9770
  text: ""
9762
- }, d = W(!1), t = g(() => !!L.value), n = g(() => L.value.length > 0), a = g(() => {
9763
- var h;
9764
- return (h = C.errorMsg) == null ? void 0 : h.length;
9765
- }), o = g(() => C.clearable && n.value), l = g(() => {
9766
- const { disabled: h, loading: I } = C;
9771
+ }, d = E(!1), m = f(() => !!L.value), n = f(() => L.value.length > 0), a = f(() => {
9772
+ var g;
9773
+ return (g = C.errorMsg) == null ? void 0 : g.length;
9774
+ }), o = f(() => C.clearable && n.value), l = f(() => {
9775
+ const { disabled: g, loading: N } = C;
9767
9776
  return {
9768
9777
  "r-textfield": !0,
9769
9778
  "r-textfield--error": a.value,
9770
- "r-textfield--loading": I,
9771
- "r-textfield--disabled": h,
9779
+ "r-textfield--loading": N,
9780
+ "r-textfield--disabled": g,
9772
9781
  "r-textfield--clearable": o.value,
9773
9782
  "r-textfield--focus": d.value,
9774
- "r-textfield--filled": t.value
9783
+ "r-textfield--filled": m.value
9775
9784
  };
9776
- }), S = g(() => ({
9785
+ }), S = f(() => ({
9777
9786
  "r-textfield__prepend-icon": !0,
9778
9787
  "r-textfield__prepend-icon--loading": C.loading,
9779
- "r-textfield__prepend-icon--error": a.value && t.value
9780
- })), B = g(() => ({
9788
+ "r-textfield__prepend-icon--error": a.value && m.value
9789
+ })), B = f(() => ({
9781
9790
  "r-textfield__append-icon": !0,
9782
9791
  "r-textfield__append-icon--clear": o.value,
9783
9792
  "r-textfield__append-icon--error": a.value
9784
- })), v = g(() => {
9785
- const { prependIcon: h, type: I } = C;
9786
- return h === "none" ? "" : h || e[I];
9787
- }), k = g(() => {
9788
- const { appendIcon: h, type: I } = C;
9789
- return h === "none" ? "" : a.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(I) ? "mdiClose" : I === "password" && A.value === "password" ? "mdiEyeOutline" : I === "password" && A.value === "text" ? "mdiEyeOffOutline" : h;
9793
+ })), y = f(() => {
9794
+ const { prependIcon: g, type: N } = C;
9795
+ return g === "none" ? "" : g || e[N];
9796
+ }), k = f(() => {
9797
+ const { appendIcon: g, type: N } = C;
9798
+ return g === "none" ? "" : a.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && A.value === "password" ? "mdiEyeOutline" : N === "password" && A.value === "text" ? "mdiEyeOffOutline" : g;
9790
9799
  });
9791
- function b(h) {
9792
- d.value = !0, M("focus", h);
9800
+ function w(g) {
9801
+ d.value = !0, M("focus", g);
9793
9802
  }
9794
- function F(h) {
9795
- d.value = !1, M("blur", h);
9803
+ function T(g) {
9804
+ d.value = !1, M("blur", g);
9796
9805
  }
9797
- function R(h) {
9798
- L.value = h.target.value, M("input", h);
9806
+ function F(g) {
9807
+ L.value = g.target.value, M("input", g);
9799
9808
  }
9800
- function y() {
9801
- var h;
9809
+ function P() {
9810
+ var g;
9802
9811
  if (o.value) {
9803
- L.value = "", (h = i.value) == null || h.focus(), M("click:clear", {
9812
+ L.value = "", (g = i.value) == null || g.focus(), M("click:clear", {
9804
9813
  value: A.value === "number" ? +L.value : L.value
9805
9814
  });
9806
9815
  return;
@@ -9812,52 +9821,52 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9812
9821
  function U() {
9813
9822
  A.value = A.value === "password" ? "text" : "password";
9814
9823
  }
9815
- function N() {
9816
- var h;
9817
- (h = i.value) == null || h.focus();
9824
+ function W() {
9825
+ var g;
9826
+ (g = i.value) == null || g.focus();
9818
9827
  }
9819
- return G(
9828
+ return I(
9820
9829
  () => C.modelValue,
9821
- (h) => {
9822
- L.value = h;
9830
+ (g) => {
9831
+ L.value = g;
9823
9832
  },
9824
9833
  {
9825
9834
  immediate: !0
9826
9835
  }
9827
- ), G(
9836
+ ), I(
9828
9837
  () => L.value,
9829
- (h) => {
9838
+ (g) => {
9830
9839
  M(
9831
9840
  "update:modelValue",
9832
- A.value === "number" ? +h : h
9841
+ A.value === "number" ? +g : g
9833
9842
  );
9834
9843
  }
9835
- ), (h, I) => (m(), r("div", F3, [
9836
- C.label ? (m(), _(S2, {
9844
+ ), (g, N) => (t(), r("div", D3, [
9845
+ C.label ? (t(), _(c2, {
9837
9846
  key: 0,
9838
9847
  id: `${C.id}-label`,
9839
9848
  class: "r-textfield__label",
9840
9849
  for: C.id,
9841
9850
  text: C.label,
9842
- onClick: N
9851
+ onClick: W
9843
9852
  }, null, 8, ["id", "for", "text"])) : O("", !0),
9844
- u("div", R3, [
9845
- u("div", {
9853
+ Z("div", _3, [
9854
+ Z("div", {
9846
9855
  class: p(l.value)
9847
9856
  }, [
9848
- f(h.$slots, "prepend", {
9857
+ h(g.$slots, "prepend", {
9849
9858
  disabled: C.disabled,
9850
9859
  error: a.value,
9851
9860
  loading: C.loading
9852
9861
  }, () => [
9853
- v.value ? (m(), _(D, {
9862
+ y.value ? (t(), _(D, {
9854
9863
  key: 0,
9855
9864
  class: p(S.value),
9856
- name: v.value,
9865
+ name: y.value,
9857
9866
  size: 20
9858
9867
  }, null, 8, ["class", "name"])) : O("", !0)
9859
9868
  ]),
9860
- u("input", {
9869
+ Z("input", {
9861
9870
  id: C.id,
9862
9871
  ref_key: "inputRef",
9863
9872
  ref: i,
@@ -9869,41 +9878,41 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9869
9878
  role: C.role,
9870
9879
  type: A.value,
9871
9880
  value: L.value,
9872
- onBlur: F,
9873
- onFocus: b,
9874
- onInput: R
9875
- }, null, 40, x3),
9876
- f(h.$slots, "append", {
9881
+ onBlur: T,
9882
+ onFocus: w,
9883
+ onInput: F
9884
+ }, null, 40, E3),
9885
+ h(g.$slots, "append", {
9877
9886
  disabled: C.disabled,
9878
9887
  error: a.value,
9879
9888
  loading: C.loading
9880
9889
  }, () => [
9881
- h.$props.type === "password" && a.value ? (m(), _(D, {
9890
+ g.$props.type === "password" && a.value ? (t(), _(D, {
9882
9891
  key: 0,
9883
9892
  name: A.value === "password" ? "mdiEyeOutline" : "mdiEyeOffOutline",
9884
9893
  size: 20,
9885
- onClick: y
9894
+ onClick: P
9886
9895
  }, null, 8, ["name"])) : O("", !0),
9887
- k.value && !h.$slots.append || a.value ? (m(), _(D, {
9896
+ k.value && !g.$slots.append || a.value ? (t(), _(D, {
9888
9897
  key: 1,
9889
9898
  class: p(B.value),
9890
9899
  name: `${k.value}`,
9891
9900
  size: 20,
9892
- onClick: y
9901
+ onClick: P
9893
9902
  }, null, 8, ["class", "name"])) : O("", !0)
9894
9903
  ])
9895
9904
  ], 2),
9896
- C.hideDetails ? O("", !0) : (m(), r("div", D3, [
9897
- C.errorMsg ? (m(), r("p", _3, w(C.errorMsg), 1)) : O("", !0),
9898
- !C.errorMsg && C.hint ? (m(), r("p", E3, w(C.hint), 1)) : O("", !0)
9905
+ C.hideDetails ? O("", !0) : (t(), r("div", W3, [
9906
+ C.errorMsg ? (t(), r("p", N3, b(C.errorMsg), 1)) : O("", !0),
9907
+ !C.errorMsg && C.hint ? (t(), r("p", I3, b(C.hint), 1)) : O("", !0)
9899
9908
  ]))
9900
9909
  ])
9901
9910
  ]));
9902
9911
  }
9903
- }), W3 = { class: "r-breadcrumb" }, N3 = {
9912
+ }), Q3 = { class: "r-breadcrumb" }, G3 = {
9904
9913
  key: 0,
9905
9914
  class: "r-breadcrumb__title"
9906
- }, B0 = /* @__PURE__ */ x({
9915
+ }, v0 = /* @__PURE__ */ R({
9907
9916
  __name: "RBreadcrumb",
9908
9917
  props: {
9909
9918
  items: { default: () => [] },
@@ -9912,9 +9921,9 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9912
9921
  setup(H) {
9913
9922
  const V = H;
9914
9923
  return (C, M) => {
9915
- const i = k2("router-link");
9916
- return m(), r("div", W3, [
9917
- (m(!0), r(t1, null, r1(V.items, (L, A) => (m(), r("div", {
9924
+ const i = b2("router-link");
9925
+ return t(), r("div", Q3, [
9926
+ (t(!0), r(H1, null, d1(V.items, (L, A) => (t(), r("div", {
9918
9927
  key: A,
9919
9928
  class: "r-breadcrumb__item"
9920
9929
  }, [
@@ -9922,19 +9931,19 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9922
9931
  class: "r-breadcrumb__link",
9923
9932
  to: L.to
9924
9933
  }, {
9925
- default: g1(() => [
9926
- f(C.$slots, "item-icon", {}, () => [
9927
- L.icon ? (m(), _(D, {
9934
+ default: k1(() => [
9935
+ h(C.$slots, "item-icon", {}, () => [
9936
+ L.icon ? (t(), _(D, {
9928
9937
  key: 0,
9929
9938
  name: L.icon
9930
9939
  }, null, 8, ["name"])) : O("", !0)
9931
9940
  ]),
9932
- L.onlyIcon ? O("", !0) : (m(), r("span", N3, w(L.title), 1))
9941
+ L.onlyIcon ? O("", !0) : (t(), r("span", G3, b(L.title), 1))
9933
9942
  ]),
9934
9943
  _: 2
9935
9944
  }, 1032, ["to"]),
9936
- f(C.$slots, "custom-seperator", {}, () => [
9937
- A !== C.items.length - 1 && V.seperator ? (m(), _(D, {
9945
+ h(C.$slots, "custom-seperator", {}, () => [
9946
+ A !== C.items.length - 1 && V.seperator ? (t(), _(D, {
9938
9947
  key: 0,
9939
9948
  class: "r-breadcrumb__separator",
9940
9949
  name: V.seperator
@@ -9944,37 +9953,37 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9944
9953
  ]);
9945
9954
  };
9946
9955
  }
9947
- }), I3 = { class: "r-pagination__paginator" }, Q3 = { class: "r-pagination__paginator__per-page" }, G3 = { class: "r-pagination__paginator__info" }, $3 = ["disabled"], U3 = /* @__PURE__ */ u("path", {
9956
+ }), $3 = { class: "r-pagination__paginator" }, U3 = { class: "r-pagination__paginator__per-page" }, z3 = { class: "r-pagination__paginator__info" }, K3 = ["disabled"], q3 = /* @__PURE__ */ Z("path", {
9948
9957
  d: "M0 0h24v24H0z",
9949
9958
  fill: "none",
9950
9959
  stroke: "none"
9951
- }, null, -1), z3 = /* @__PURE__ */ u("path", { d: "M7 6v12" }, null, -1), K3 = /* @__PURE__ */ u("path", { d: "M18 6l-6 6l6 6" }, null, -1), q3 = [
9952
- U3,
9953
- z3,
9954
- K3
9955
- ], j3 = ["disabled"], X3 = /* @__PURE__ */ u("path", {
9960
+ }, null, -1), j3 = /* @__PURE__ */ Z("path", { d: "M7 6v12" }, null, -1), X3 = /* @__PURE__ */ Z("path", { d: "M18 6l-6 6l6 6" }, null, -1), Y3 = [
9961
+ q3,
9962
+ j3,
9963
+ X3
9964
+ ], J3 = ["disabled"], C0 = /* @__PURE__ */ Z("path", {
9956
9965
  d: "M0 0h24v24H0z",
9957
9966
  fill: "none",
9958
9967
  stroke: "none"
9959
- }, null, -1), Y3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), J3 = [
9960
- X3,
9961
- Y3
9962
- ], C0 = ["disabled"], H0 = /* @__PURE__ */ u("path", {
9968
+ }, null, -1), H0 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), V0 = [
9969
+ C0,
9970
+ H0
9971
+ ], L0 = ["disabled"], M0 = /* @__PURE__ */ Z("path", {
9963
9972
  d: "M0 0h24v24H0z",
9964
9973
  fill: "none",
9965
9974
  stroke: "none"
9966
- }, null, -1), V0 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), L0 = [
9967
- H0,
9968
- V0
9969
- ], M0 = ["disabled"], i0 = /* @__PURE__ */ u("path", {
9975
+ }, null, -1), i0 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), A0 = [
9976
+ M0,
9977
+ i0
9978
+ ], e0 = ["disabled"], d0 = /* @__PURE__ */ Z("path", {
9970
9979
  d: "M0 0h24v24H0z",
9971
9980
  fill: "none",
9972
9981
  stroke: "none"
9973
- }, null, -1), A0 = /* @__PURE__ */ u("path", { d: "M6 6l6 6l-6 6" }, null, -1), e0 = /* @__PURE__ */ u("path", { d: "M17 5v13" }, null, -1), d0 = [
9974
- i0,
9975
- A0,
9976
- e0
9977
- ], b0 = /* @__PURE__ */ x({
9982
+ }, null, -1), t0 = /* @__PURE__ */ Z("path", { d: "M6 6l6 6l-6 6" }, null, -1), m0 = /* @__PURE__ */ Z("path", { d: "M17 5v13" }, null, -1), l0 = [
9983
+ d0,
9984
+ t0,
9985
+ m0
9986
+ ], y0 = /* @__PURE__ */ R({
9978
9987
  __name: "RPagination",
9979
9988
  props: {
9980
9989
  page: { default: 1 },
@@ -9987,13 +9996,13 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9987
9996
  },
9988
9997
  emits: ["update:page", "update:perPage", "update:info"],
9989
9998
  setup(H, { emit: V }) {
9990
- const C = H, M = V, i = W(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), A = g(() => ({
9999
+ const C = H, M = V, i = E(C.perPage || 10), L = f(() => Math.ceil(C.totalItems / C.perPage)), A = f(() => ({
9991
10000
  start: C.page * C.perPage - C.perPage,
9992
10001
  end: C.page * C.perPage
9993
- })), e = g(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = g(() => +C.page == +L.value), t = g(() => +C.page == 1);
9994
- G(() => A.value, () => {
10002
+ })), e = f(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = f(() => +C.page == +L.value), m = f(() => +C.page == 1);
10003
+ I(() => A.value, () => {
9995
10004
  M("update:info", A.value);
9996
- }), G(() => C.perPage, () => {
10005
+ }), I(() => C.perPage, () => {
9997
10006
  i.value = C.perPage, n(1);
9998
10007
  });
9999
10008
  function n(o) {
@@ -10007,13 +10016,13 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10007
10016
  }
10008
10017
  M("update:perPage", 10);
10009
10018
  }
10010
- return (o, l) => (m(), r("div", {
10019
+ return (o, l) => (t(), r("div", {
10011
10020
  class: p(["r-pagination", [`r-pagination--${C.position}`]])
10012
10021
  }, [
10013
- u("div", I3, [
10014
- u("div", Q3, [
10015
- u("span", null, w(C.itemsPerPageText), 1),
10016
- q(A3, {
10022
+ Z("div", $3, [
10023
+ Z("div", U3, [
10024
+ Z("span", null, b(C.itemsPerPageText), 1),
10025
+ q(t3, {
10017
10026
  modelValue: i.value,
10018
10027
  "onUpdate:modelValue": [
10019
10028
  l[0] || (l[0] = (S) => i.value = S),
@@ -10025,15 +10034,15 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10025
10034
  options: C.perPageOptions
10026
10035
  }, null, 8, ["modelValue", "options"])
10027
10036
  ]),
10028
- u("span", G3, w(e.value), 1),
10029
- u("button", {
10037
+ Z("span", z3, b(e.value), 1),
10038
+ Z("button", {
10030
10039
  class: "r-pagination__paginator__first",
10031
- disabled: t.value,
10040
+ disabled: m.value,
10032
10041
  onClick: l[1] || (l[1] = (S) => n(1))
10033
10042
  }, [
10034
- f(o.$slots, "first", {}, () => [
10035
- (m(), r("svg", {
10036
- class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": t.value }]),
10043
+ h(o.$slots, "first", {}, () => [
10044
+ (t(), r("svg", {
10045
+ class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": m.value }]),
10037
10046
  fill: "none",
10038
10047
  height: "20",
10039
10048
  stroke: "#000000",
@@ -10043,17 +10052,17 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10043
10052
  viewBox: "0 0 24 24",
10044
10053
  width: "20",
10045
10054
  xmlns: "http://www.w3.org/2000/svg"
10046
- }, q3, 2))
10055
+ }, Y3, 2))
10047
10056
  ])
10048
- ], 8, $3),
10049
- u("button", {
10057
+ ], 8, K3),
10058
+ Z("button", {
10050
10059
  class: "r-pagination__paginator__prev",
10051
- disabled: t.value,
10060
+ disabled: m.value,
10052
10061
  onClick: l[2] || (l[2] = (S) => n(+C.page - 1))
10053
10062
  }, [
10054
- f(o.$slots, "prev", {}, () => [
10055
- (m(), r("svg", {
10056
- class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": t.value }]),
10063
+ h(o.$slots, "prev", {}, () => [
10064
+ (t(), r("svg", {
10065
+ class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": m.value }]),
10057
10066
  fill: "none",
10058
10067
  height: "20",
10059
10068
  stroke: "#000000",
@@ -10063,16 +10072,16 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10063
10072
  viewBox: "0 0 24 24",
10064
10073
  width: "20",
10065
10074
  xmlns: "http://www.w3.org/2000/svg"
10066
- }, J3, 2))
10075
+ }, V0, 2))
10067
10076
  ])
10068
- ], 8, j3),
10069
- u("button", {
10077
+ ], 8, J3),
10078
+ Z("button", {
10070
10079
  class: "r-pagination__paginator__next",
10071
10080
  disabled: d.value,
10072
10081
  onClick: l[3] || (l[3] = (S) => n(+C.page + 1))
10073
10082
  }, [
10074
- f(o.$slots, "next", {}, () => [
10075
- (m(), r("svg", {
10083
+ h(o.$slots, "next", {}, () => [
10084
+ (t(), r("svg", {
10076
10085
  class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10077
10086
  fill: "none",
10078
10087
  height: "20",
@@ -10083,16 +10092,16 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10083
10092
  viewBox: "0 0 24 24",
10084
10093
  width: "20",
10085
10094
  xmlns: "http://www.w3.org/2000/svg"
10086
- }, L0, 2))
10095
+ }, A0, 2))
10087
10096
  ])
10088
- ], 8, C0),
10089
- u("button", {
10097
+ ], 8, L0),
10098
+ Z("button", {
10090
10099
  class: "r-pagination__paginator__last",
10091
10100
  disabled: C.page === L.value,
10092
10101
  onClick: l[4] || (l[4] = (S) => n(L.value))
10093
10102
  }, [
10094
- f(o.$slots, "last", {}, () => [
10095
- (m(), r("svg", {
10103
+ h(o.$slots, "last", {}, () => [
10104
+ (t(), r("svg", {
10096
10105
  class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10097
10106
  fill: "none",
10098
10107
  height: "20",
@@ -10103,13 +10112,13 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10103
10112
  viewBox: "0 0 24 24",
10104
10113
  width: "20",
10105
10114
  xmlns: "http://www.w3.org/2000/svg"
10106
- }, d0, 2))
10115
+ }, l0, 2))
10107
10116
  ])
10108
- ], 8, M0)
10117
+ ], 8, e0)
10109
10118
  ])
10110
10119
  ], 2));
10111
10120
  }
10112
- }), t0 = ["value"], w0 = /* @__PURE__ */ x({
10121
+ }), o0 = ["value"], P0 = /* @__PURE__ */ R({
10113
10122
  __name: "RProgressbar",
10114
10123
  props: {
10115
10124
  value: { default: 0 },
@@ -10117,16 +10126,16 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10117
10126
  },
10118
10127
  setup(H) {
10119
10128
  const V = H;
10120
- return (C, M) => (m(), r("progress", {
10129
+ return (C, M) => (t(), r("progress", {
10121
10130
  "aria-valuemax": 100,
10122
10131
  class: "r-progressbar",
10123
10132
  max: 100,
10124
10133
  role: "progressbar",
10125
- style: I1({ height: `${V.height}px` }),
10134
+ style: Q1({ height: `${V.height}px` }),
10126
10135
  value: V.value
10127
- }, null, 12, t0));
10136
+ }, null, 12, o0));
10128
10137
  }
10129
- }), f1 = "rocket-ui:r-item-group", v0 = /* @__PURE__ */ x({
10138
+ }), h1 = "rocket-ui:r-item-group", T0 = /* @__PURE__ */ R({
10130
10139
  __name: "RItemGroup",
10131
10140
  props: {
10132
10141
  modelValue: { default: () => [] },
@@ -10139,24 +10148,24 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10139
10148
  },
10140
10149
  emits: ["update:modelValue"],
10141
10150
  setup(H, { emit: V }) {
10142
- const C = H, M = V, i = W(C.as ?? "div"), L = W(C.modelValue), A = g(() => C.selectedClass);
10143
- p1(`${f1}:selectedClass`, A.value);
10151
+ const C = H, M = V, i = E(C.as ?? "div"), L = E(C.modelValue), A = f(() => C.selectedClass);
10152
+ O1(`${h1}:selectedClass`, A.value);
10144
10153
  function e(n) {
10145
10154
  return L.value.includes(n);
10146
10155
  }
10147
- p1(`${f1}:isSelected`, e);
10156
+ O1(`${h1}:isSelected`, e);
10148
10157
  function d(n, a) {
10149
10158
  C.disabled || C.mandatory && L.value.length === 1 && !a || C.max && L.value.length === C.max && a || (C.multiple ? a ? L.value.push(n) : L.value = L.value.filter((o) => o !== n) : L.value = n ? [n] : [], M("update:modelValue", L.value));
10150
10159
  }
10151
- p1(`${f1}:select`, d);
10152
- function t() {
10160
+ O1(`${h1}:select`, d);
10161
+ function m() {
10153
10162
  return C.disabled;
10154
10163
  }
10155
- return p1(`${f1}:isDisabled`, t), G(() => C.modelValue, () => {
10164
+ return O1(`${h1}:isDisabled`, m), I(() => C.modelValue, () => {
10156
10165
  L.value = C.modelValue;
10157
- }), (n, a) => (m(), _(B2(i.value), null, {
10158
- default: g1(() => [
10159
- f(n.$slots, "default", {
10166
+ }), (n, a) => (t(), _(w2(i.value), null, {
10167
+ default: k1(() => [
10168
+ h(n.$slots, "default", {
10160
10169
  isSelected: e,
10161
10170
  select: d,
10162
10171
  selected: L.value
@@ -10165,21 +10174,21 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10165
10174
  _: 3
10166
10175
  }));
10167
10176
  }
10168
- }), h1 = "rocket-ui:r-item-group", y0 = /* @__PURE__ */ x({
10177
+ }), g1 = "rocket-ui:r-item-group", F0 = /* @__PURE__ */ R({
10169
10178
  __name: "RItem",
10170
10179
  props: {
10171
10180
  value: { default: null },
10172
10181
  selectedClass: { default: "" }
10173
10182
  },
10174
10183
  setup(H) {
10175
- const V = H, C = O1(`${h1}:isSelected`), M = O1(`${h1}:selectedClass`, ""), i = O1(`${h1}:select`), L = O1(`${h1}:isDisabled`), A = g(() => C(V.value) && [M, V.selectedClass]);
10184
+ const V = H, C = f1(`${g1}:isSelected`), M = f1(`${g1}:selectedClass`, ""), i = f1(`${g1}:select`), L = f1(`${g1}:isDisabled`), A = f(() => C(V.value) && [M, V.selectedClass]);
10176
10185
  function e() {
10177
10186
  V.disabled || i(V.value, !C(V.value));
10178
10187
  }
10179
10188
  function d() {
10180
10189
  V.disabled || i(V.value, !0);
10181
10190
  }
10182
- return (t, n) => f(t.$slots, "default", {
10191
+ return (m, n) => h(m.$slots, "default", {
10183
10192
  disabled: J(L)(V.value),
10184
10193
  isSelected: J(C)(V.value),
10185
10194
  select: d,
@@ -10187,10 +10196,10 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10187
10196
  toggle: e
10188
10197
  });
10189
10198
  }
10190
- }), m0 = ["id", "checked", "disabled", "name", "value"], l0 = { class: "flex flex-col" }, o0 = {
10199
+ }), n0 = ["id", "checked", "disabled", "name", "value"], r0 = { class: "flex flex-col" }, a0 = {
10191
10200
  key: 1,
10192
10201
  class: "r-radio__error"
10193
- }, P0 = /* @__PURE__ */ x({
10202
+ }, R0 = /* @__PURE__ */ R({
10194
10203
  __name: "RRadio",
10195
10204
  props: {
10196
10205
  id: { default: "radio-id" },
@@ -10205,19 +10214,19 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10205
10214
  },
10206
10215
  emits: ["update:modelValue"],
10207
10216
  setup(H) {
10208
- const V = H, C = W(V.modelValue), M = g(() => [
10217
+ const V = H, C = E(V.modelValue), M = f(() => [
10209
10218
  "r-radio group",
10210
10219
  {
10211
10220
  "r-radio--disabled": V.disabled,
10212
10221
  "r-radio--error": V.errorMsg
10213
10222
  }
10214
10223
  ]);
10215
- return G(() => V.modelValue, (i) => {
10224
+ return I(() => V.modelValue, (i) => {
10216
10225
  C.value = i;
10217
- }, { immediate: !0 }), (i, L) => (m(), r("div", {
10226
+ }, { immediate: !0 }), (i, L) => (t(), r("div", {
10218
10227
  class: p(M.value)
10219
10228
  }, [
10220
- u("input", N1(i.$attrs, {
10229
+ Z("input", I1(i.$attrs, {
10221
10230
  id: V.id,
10222
10231
  checked: C.value,
10223
10232
  class: "r-radio__input",
@@ -10226,54 +10235,54 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10226
10235
  type: "radio",
10227
10236
  value: V.value,
10228
10237
  onChange: L[0] || (L[0] = (A) => i.$emit("update:modelValue"))
10229
- }), null, 16, m0),
10230
- u("span", {
10238
+ }), null, 16, n0),
10239
+ Z("span", {
10231
10240
  class: p(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10232
10241
  onClick: L[1] || (L[1] = (A) => i.$emit("update:modelValue"))
10233
10242
  }, [
10234
- u("span", {
10243
+ Z("span", {
10235
10244
  class: p(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
10236
10245
  }, null, 2),
10237
- u("div", l0, [
10238
- V.title ? (m(), r("span", {
10246
+ Z("div", r0, [
10247
+ V.title ? (t(), r("span", {
10239
10248
  key: 0,
10240
10249
  class: p(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10241
- }, w(V.title), 3)) : O("", !0),
10242
- u("span", null, w(V.label), 1)
10250
+ }, b(V.title), 3)) : O("", !0),
10251
+ Z("span", null, b(V.label), 1)
10243
10252
  ])
10244
10253
  ], 2),
10245
- V.hint && !V.errorMsg ? (m(), r("span", {
10254
+ V.hint && !V.errorMsg ? (t(), r("span", {
10246
10255
  key: 0,
10247
10256
  class: p(["r-radio__hint", [V.disabled && "r-radio__hint--disabled"]])
10248
- }, w(V.hint), 3)) : O("", !0),
10249
- V.errorMsg ? (m(), r("span", o0, w(V.errorMsg), 1)) : O("", !0)
10257
+ }, b(V.hint), 3)) : O("", !0),
10258
+ V.errorMsg ? (t(), r("span", a0, b(V.errorMsg), 1)) : O("", !0)
10250
10259
  ], 2));
10251
10260
  }
10252
10261
  });
10253
10262
  export {
10254
- r0 as RAccordion,
10255
- a0 as RAlert,
10256
- Z0 as RAvatar,
10257
- u0 as RBadge,
10258
- B0 as RBreadcrumb,
10259
- S0 as RButton,
10260
- s0 as RCheckbox,
10261
- C5 as RChip,
10262
- A3 as RDropdown,
10263
+ u0 as RAccordion,
10264
+ S0 as RAlert,
10265
+ s0 as RAvatar,
10266
+ c0 as RBadge,
10267
+ v0 as RBreadcrumb,
10268
+ p0 as RButton,
10269
+ O0 as RCheckbox,
10270
+ V5 as RChip,
10271
+ t3 as RDropdown,
10263
10272
  D as RIcon,
10264
- y0 as RItem,
10265
- v0 as RItemGroup,
10266
- S2 as RLabel,
10267
- c0 as RModal,
10268
- b0 as RPagination,
10269
- w0 as RProgressbar,
10270
- P0 as RRadio,
10271
- p0 as RSidebar,
10272
- O0 as RSnackbar,
10273
- f0 as RSwitch,
10274
- b3 as RTabItem,
10275
- h0 as RTabs,
10276
- g0 as RTextArea,
10277
- k0 as RTextfield,
10278
- G5 as RTooltip
10273
+ F0 as RItem,
10274
+ T0 as RItemGroup,
10275
+ c2 as RLabel,
10276
+ f0 as RModal,
10277
+ y0 as RPagination,
10278
+ P0 as RProgressbar,
10279
+ R0 as RRadio,
10280
+ h0 as RSidebar,
10281
+ g0 as RSnackbar,
10282
+ k0 as RSwitch,
10283
+ y3 as RTabItem,
10284
+ B0 as RTabs,
10285
+ b0 as RTextArea,
10286
+ w0 as RTextfield,
10287
+ U5 as RTooltip
10279
10288
  };