@rocketui/vue 0.2.79 → 0.2.81

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 (164) hide show
  1. package/dist/rocket-ui-vue.d.ts +3348 -0
  2. package/dist/rocket-ui-vue.js +423 -397
  3. package/dist/rocket-ui-vue.umd.cjs +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +1 -1
  6. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -116
  7. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  8. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -70
  9. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  10. package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
  11. package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
  12. package/dist/src/components/Alert/Alert.stories.d.ts +0 -461
  13. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  14. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -109
  15. package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
  16. package/dist/src/components/Alert/alert.spec.d.ts +0 -2
  17. package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
  18. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
  19. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
  20. package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
  21. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  22. package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
  23. package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
  24. package/dist/src/components/Badge/Badge.stories.d.ts +0 -281
  25. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  26. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -143
  27. package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
  28. package/dist/src/components/Badge/badge.spec.d.ts +0 -2
  29. package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
  30. package/dist/src/components/Box/Box.stories.d.ts +0 -167
  31. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  32. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
  33. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  34. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  35. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  36. package/dist/src/components/Button/Button.spec.d.ts +0 -2
  37. package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
  38. package/dist/src/components/Button/Button.stories.d.ts +0 -553
  39. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  40. package/dist/src/components/Button/RButton.vue.d.ts +0 -155
  41. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  42. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
  43. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  44. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  45. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  46. package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
  47. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
  48. package/dist/src/components/Chips/Chip.stories.d.ts +0 -547
  49. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  50. package/dist/src/components/Chips/RChip.vue.d.ts +0 -132
  51. package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
  52. package/dist/src/components/Chips/chip.spec.d.ts +0 -2
  53. package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
  54. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -690
  55. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  56. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -418
  57. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  58. package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
  59. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
  60. package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
  61. package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
  62. package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
  63. package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
  64. package/dist/src/components/Icon/icon.spec.d.ts +0 -2
  65. package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
  66. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
  67. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  68. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -65
  69. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  70. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  71. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  72. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
  73. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
  74. package/dist/src/components/Label/Label.stories.d.ts +0 -133
  75. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  76. package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
  77. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  78. package/dist/src/components/Modal/Modal.stories.d.ts +0 -343
  79. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  80. package/dist/src/components/Modal/RModal.vue.d.ts +0 -183
  81. package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
  82. package/dist/src/components/Modal/modal.spec.d.ts +0 -2
  83. package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
  84. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -243
  85. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  86. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -110
  87. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
  88. package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
  89. package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
  90. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
  91. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
  92. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  93. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  94. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
  95. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
  96. package/dist/src/components/Radio/RRadio.vue.d.ts +0 -66
  97. package/dist/src/components/Radio/RRadio.vue.d.ts.map +0 -1
  98. package/dist/src/components/Radio/Radio.stories.d.ts +0 -100
  99. package/dist/src/components/Radio/Radio.stories.d.ts.map +0 -1
  100. package/dist/src/components/Shared/Enums.d.ts +0 -2
  101. package/dist/src/components/Shared/Enums.d.ts.map +0 -1
  102. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -53
  103. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  104. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -163
  105. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
  106. package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
  107. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
  108. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  109. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  110. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
  111. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
  112. package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
  113. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
  114. package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -135
  115. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  116. package/dist/src/components/Switch/Switch.stories.d.ts +0 -102
  117. package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
  118. package/dist/src/components/Switch/switch.spec.d.ts +0 -2
  119. package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
  120. package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -155
  121. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  122. package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
  123. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
  124. package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -290
  125. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
  126. package/dist/src/components/TabItem/common.d.ts +0 -7
  127. package/dist/src/components/TabItem/common.d.ts.map +0 -1
  128. package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -95
  129. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
  130. package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
  131. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
  132. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -181
  133. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  134. package/dist/src/components/Tabs/types.d.ts +0 -11
  135. package/dist/src/components/Tabs/types.d.ts.map +0 -1
  136. package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -120
  137. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  138. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
  139. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
  140. package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
  141. package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
  142. package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -249
  143. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  144. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -459
  145. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
  146. package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
  147. package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
  148. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -264
  149. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  150. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -479
  151. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  152. package/dist/src/components/Tooltip/popper.d.ts +0 -29
  153. package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
  154. package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
  155. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
  156. package/dist/src/directives/index.d.ts +0 -5
  157. package/dist/src/directives/index.d.ts.map +0 -1
  158. package/dist/src/lib/main.d.ts +0 -26
  159. package/dist/src/lib/main.d.ts.map +0 -1
  160. package/dist/src/main.d.ts +0 -1
  161. package/dist/src/main.d.ts.map +0 -1
  162. package/dist/src/shims.d.ts +0 -9
  163. package/dist/src/utils/helpers.d.ts +0 -2
  164. package/dist/src/utils/helpers.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as R, openBlock as t, createElementBlock as r, createElementVNode as u, unref as J, reactive as P1, Fragment as H1, renderList as d1, normalizeClass as p, renderSlot as f, toDisplayString as b, createVNode as q, computed as h, createCommentVNode as O, mergeProps as T1, createBlock as _, watch as G, getCurrentScope as p2, onScopeDispose as O2, ref as E, watchEffect as f2, onMounted as M2, Teleport as h2, withCtx as B1, withDirectives as i2, withModifiers as t1, withKeys as q1, vModelText as g2, createTextVNode as S1, onUnmounted as k2, normalizeStyle as G1, vShow as B2, resolveComponent as b2, provide as f1, resolveDynamicComponent as w2, inject as h1 } from "vue";
1
+ import { defineComponent as R, openBlock as t, createElementBlock as r, createElementVNode as u, unref as J, reactive as P1, Fragment as H1, renderList as d1, normalizeClass as p, renderSlot as h, toDisplayString as b, createVNode as q, computed as g, createCommentVNode as O, mergeProps as T1, createBlock as _, watch as G, getCurrentScope as f2, onScopeDispose as h2, ref as E, watchEffect as q1, onMounted as i2, onUnmounted as A2, Teleport as g2, withCtx as B1, withDirectives as e2, withModifiers as t1, withKeys as j1, vModelText as k2, createTextVNode as S1, normalizeStyle as G1, vShow as B2, resolveComponent as b2, provide as f1, resolveDynamicComponent as w2, inject as h1 } from "vue";
2
2
  const v2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7352,11 +7352,11 @@ const v2 = {
7352
7352
  onClick: (d) => M(e)
7353
7353
  }, [
7354
7354
  u("div", F2, [
7355
- f(i.$slots, "title", { accordion: A }, () => [
7355
+ h(i.$slots, "title", { accordion: A }, () => [
7356
7356
  u("div", R2, b(A.title), 1)
7357
7357
  ]),
7358
7358
  u("div", x2, [
7359
- f(i.$slots, "icon", {
7359
+ h(i.$slots, "icon", {
7360
7360
  item: A,
7361
7361
  open: A.open
7362
7362
  }, () => [
@@ -7365,7 +7365,7 @@ const v2 = {
7365
7365
  ])
7366
7366
  ]),
7367
7367
  u("div", D2, [
7368
- f(i.$slots, "content", { accordion: A }, () => [
7368
+ h(i.$slots, "content", { accordion: A }, () => [
7369
7369
  u("span", null, b(A.content), 1)
7370
7370
  ])
7371
7371
  ])
@@ -7389,12 +7389,12 @@ const v2 = {
7389
7389
  },
7390
7390
  emits: ["close"],
7391
7391
  setup(H, { emit: V }) {
7392
- const C = H, M = V, i = h(() => ({
7392
+ const C = H, M = V, i = g(() => ({
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 = h(() => ({
7397
+ })), L = g(() => ({
7398
7398
  success: "mdiCheckCircle",
7399
7399
  error: "mdiAlertCircle",
7400
7400
  warning: "mdiAlert",
@@ -7407,7 +7407,7 @@ const v2 = {
7407
7407
  class: p(i.value)
7408
7408
  }, [
7409
7409
  u("div", _2, [
7410
- f(e.$slots, "alert-icon", {}, () => [
7410
+ h(e.$slots, "alert-icon", {}, () => [
7411
7411
  q(D, {
7412
7412
  name: L.value,
7413
7413
  size: 24
@@ -7415,13 +7415,13 @@ const v2 = {
7415
7415
  ])
7416
7416
  ]),
7417
7417
  u("div", E2, [
7418
- f(e.$slots, "content", {}, () => [
7418
+ h(e.$slots, "content", {}, () => [
7419
7419
  u("p", W2, b(C.title), 1),
7420
7420
  C.description ? (t(), r("p", N2, b(C.description), 1)) : O("", !0)
7421
7421
  ])
7422
7422
  ]),
7423
7423
  C.closable ? (t(), r("div", I2, [
7424
- f(e.$slots, "custom-close", {
7424
+ h(e.$slots, "custom-close", {
7425
7425
  close: A,
7426
7426
  slotClass: "r-alert__close__button"
7427
7427
  }, () => [
@@ -7435,21 +7435,21 @@ const v2 = {
7435
7435
  ])) : O("", !0)
7436
7436
  ], 2));
7437
7437
  }
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({
7438
+ }), X1 = "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: j1 },
7442
+ src: { default: X1 },
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 = h(() => ({
7449
+ const V = H, C = g(() => ({
7450
7450
  "r-avatar": !0,
7451
7451
  [`r-avatar--${V.size}`]: !0
7452
- })), M = h(() => V.type === "image" && !V.src), i = h(() => M.value ? j1 : V.src);
7452
+ })), M = g(() => V.type === "image" && !V.src), i = g(() => M.value ? X1 : 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)}`;
@@ -7495,7 +7495,7 @@ const v2 = {
7495
7495
  },
7496
7496
  emits: ["click"],
7497
7497
  setup(H) {
7498
- const V = H, C = h(() => ({
7498
+ const V = H, C = g(() => ({
7499
7499
  "r-badge": !0,
7500
7500
  [`r-badge--content ${V.contentClass}`]: V.content,
7501
7501
  [`r-badge--overlap-${V.placement}`]: V.overlap,
@@ -7515,7 +7515,7 @@ const v2 = {
7515
7515
  class: p(C.value),
7516
7516
  innerHTML: V.content
7517
7517
  }, null, 10, $2),
7518
- f(M.$slots, "default")
7518
+ h(M.$slots, "default")
7519
7519
  ], 2));
7520
7520
  }
7521
7521
  }), U2 = ["disabled"], p0 = /* @__PURE__ */ R({
@@ -7534,7 +7534,7 @@ const v2 = {
7534
7534
  },
7535
7535
  emits: ["click"],
7536
7536
  setup(H) {
7537
- const V = H, C = h(() => ({
7537
+ const V = H, C = g(() => ({
7538
7538
  "r-button": !0,
7539
7539
  [`r-button__${V.variant}`]: !0,
7540
7540
  [`r-button__${V.variant}--${V.variant === "default" && V.color === void 0 ? "primary" : V.color}`]: !0,
@@ -7542,11 +7542,11 @@ const v2 = {
7542
7542
  [`r-button--${V.size || "medium"}`]: !0,
7543
7543
  "r-button--only-icon": V.icon,
7544
7544
  "r-button--block": V.block
7545
- })), M = h(() => ({
7545
+ })), M = g(() => ({
7546
7546
  small: 16,
7547
7547
  medium: 16,
7548
7548
  large: 20
7549
- })[V.size || "medium"]), i = h(() => ({
7549
+ })[V.size || "medium"]), i = g(() => ({
7550
7550
  height: V.height ? `${V.height}px` : ""
7551
7551
  }));
7552
7552
  return (L, A) => (t(), r("button", T1(L.$attrs, {
@@ -7555,7 +7555,7 @@ const v2 = {
7555
7555
  style: i.value,
7556
7556
  onClick: A[0] || (A[0] = (e) => L.$emit("click"))
7557
7557
  }), [
7558
- f(L.$slots, "prepend", {
7558
+ h(L.$slots, "prepend", {
7559
7559
  onlyIcon: V.icon
7560
7560
  }, () => [
7561
7561
  V.prependIcon ? (t(), _(D, {
@@ -7567,8 +7567,8 @@ const v2 = {
7567
7567
  size: M.value
7568
7568
  }, null, 8, ["class", "name", "size"])) : O("", !0)
7569
7569
  ]),
7570
- 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
7574
  !V.icon && V.appendIcon ? (t(), _(D, {
@@ -7610,7 +7610,7 @@ const v2 = {
7610
7610
  checked: "mdiCheck",
7611
7611
  unchecked: "",
7612
7612
  indeterminate: "mdiMinus"
7613
- }, A = h(() => i.indeterminate ? L.indeterminate : i.checked ? L.checked : L.unchecked), e = h(() => ({
7613
+ }, A = g(() => i.indeterminate ? L.indeterminate : i.checked ? L.checked : L.unchecked), e = g(() => ({
7614
7614
  "r-checkbox": !0,
7615
7615
  "r-checkbox--checked": i.checked,
7616
7616
  "r-checkbox--disabled": C.disabled,
@@ -7640,7 +7640,7 @@ const v2 = {
7640
7640
  // TODO: find a better way to do this
7641
7641
  immediate: !0
7642
7642
  }
7643
- ), (m, n) => (t(), r("div", z2, [
7643
+ ), (m, o) => (t(), r("div", z2, [
7644
7644
  u("div", K2, [
7645
7645
  u("input", {
7646
7646
  id: C.id,
@@ -7687,7 +7687,7 @@ const v2 = {
7687
7687
  },
7688
7688
  emits: ["click:chip", "click:close"],
7689
7689
  setup(H, { emit: V }) {
7690
- const C = H, M = V, i = h(() => ({
7690
+ const C = H, M = V, i = g(() => ({
7691
7691
  "r-chip": !0,
7692
7692
  "r-chip--disabled": C.disabled,
7693
7693
  [`r-chip__${C.variant}`]: C.variant,
@@ -7700,15 +7700,15 @@ const v2 = {
7700
7700
  function A(d) {
7701
7701
  C.disabled || !C.clearable || (d.stopPropagation(), M("click:close", d));
7702
7702
  }
7703
- const e = h(() => C.clearable ? "mdiClose" : C.appendIcon);
7703
+ const e = g(() => C.clearable ? "mdiClose" : C.appendIcon);
7704
7704
  return (d, m) => (t(), r("div", {
7705
7705
  class: p(i.value)
7706
7706
  }, [
7707
7707
  u("div", {
7708
7708
  class: "r-chip__content",
7709
- onClick: m[0] || (m[0] = (n) => L(n))
7709
+ onClick: m[0] || (m[0] = (o) => L(o))
7710
7710
  }, [
7711
- f(d.$slots, "prepend", {
7711
+ h(d.$slots, "prepend", {
7712
7712
  disabled: C.disabled
7713
7713
  }, () => [
7714
7714
  C.prependIcon ? (t(), _(D, {
@@ -7723,7 +7723,7 @@ const v2 = {
7723
7723
  class: p(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7724
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
7729
  e.value ? (t(), _(D, {
@@ -7732,47 +7732,47 @@ const v2 = {
7732
7732
  class: "r-chip__content__append-icon",
7733
7733
  name: e.value,
7734
7734
  size: 12,
7735
- onClick: m[1] || (m[1] = (n) => A(n))
7735
+ onClick: m[1] || (m[1] = (o) => A(o))
7736
7736
  }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7737
7737
  ])
7738
7738
  ], 2));
7739
7739
  }
7740
7740
  });
7741
7741
  function L5(H) {
7742
- return p2() ? (O2(H), !0) : !1;
7742
+ return f2() ? (h2(H), !0) : !1;
7743
7743
  }
7744
- function A2(H) {
7744
+ function d2(H) {
7745
7745
  return typeof H == "function" ? H() : J(H);
7746
7746
  }
7747
- const e2 = typeof window < "u" && typeof document < "u";
7747
+ const t2 = typeof window < "u" && typeof document < "u";
7748
7748
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7749
7749
  const M5 = Object.prototype.toString, i5 = (H) => M5.call(H) === "[object Object]", E1 = () => {
7750
7750
  }, A5 = /* @__PURE__ */ e5();
7751
7751
  function e5() {
7752
7752
  var H;
7753
- return e2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7753
+ return t2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7754
7754
  }
7755
7755
  function r1(H) {
7756
7756
  var V;
7757
- const C = A2(H);
7757
+ const C = d2(H);
7758
7758
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7759
7759
  }
7760
- const d2 = e2 ? window : void 0;
7760
+ const m2 = t2 ? window : void 0;
7761
7761
  function _1(...H) {
7762
7762
  let V, C, M, i;
7763
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = d2) : [V, C, M, i] = H, !V)
7763
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = m2) : [V, C, M, i] = H, !V)
7764
7764
  return E1;
7765
7765
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7766
7766
  const L = [], A = () => {
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
- () => [r1(V), A2(i)],
7770
- ([n, a]) => {
7771
- if (A(), !n)
7767
+ L.forEach((o) => o()), L.length = 0;
7768
+ }, e = (o, a, n, l) => (o.addEventListener(a, n, l), () => o.removeEventListener(a, n, l)), d = G(
7769
+ () => [r1(V), d2(i)],
7770
+ ([o, a]) => {
7771
+ if (A(), !o)
7772
7772
  return;
7773
- const o = i5(a) ? { ...a } : a;
7773
+ const n = i5(a) ? { ...a } : a;
7774
7774
  L.push(
7775
- ...C.flatMap((l) => M.map((S) => e(n, l, S, o)))
7775
+ ...C.flatMap((l) => M.map((S) => e(o, l, S, n)))
7776
7776
  );
7777
7777
  },
7778
7778
  { immediate: !0, flush: "post" }
@@ -7781,44 +7781,44 @@ function _1(...H) {
7781
7781
  };
7782
7782
  return L5(m), m;
7783
7783
  }
7784
- let X1 = !1;
7784
+ let Y1 = !1;
7785
7785
  function d5(H, V, C = {}) {
7786
- const { window: M = d2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7786
+ const { window: M = m2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7787
7787
  if (!M)
7788
7788
  return;
7789
- A5 && !X1 && (X1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", E1)), M.document.documentElement.addEventListener("click", E1));
7789
+ A5 && !Y1 && (Y1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", E1)), M.document.documentElement.addEventListener("click", E1));
7790
7790
  let e = !0;
7791
- const d = (o) => i.some((l) => {
7791
+ const d = (n) => i.some((l) => {
7792
7792
  if (typeof l == "string")
7793
- return Array.from(M.document.querySelectorAll(l)).some((S) => S === o.target || o.composedPath().includes(S));
7793
+ return Array.from(M.document.querySelectorAll(l)).some((S) => S === n.target || n.composedPath().includes(S));
7794
7794
  {
7795
7795
  const S = r1(l);
7796
- return S && (o.target === S || o.composedPath().includes(S));
7796
+ return S && (n.target === S || n.composedPath().includes(S));
7797
7797
  }
7798
- }), n = [
7799
- _1(M, "click", (o) => {
7798
+ }), o = [
7799
+ _1(M, "click", (n) => {
7800
7800
  const l = r1(H);
7801
- if (!(!l || l === o.target || o.composedPath().includes(l))) {
7802
- if (o.detail === 0 && (e = !d(o)), !e) {
7801
+ if (!(!l || l === n.target || n.composedPath().includes(l))) {
7802
+ if (n.detail === 0 && (e = !d(n)), !e) {
7803
7803
  e = !0;
7804
7804
  return;
7805
7805
  }
7806
- V(o);
7806
+ V(n);
7807
7807
  }
7808
7808
  }, { passive: !0, capture: L }),
7809
- _1(M, "pointerdown", (o) => {
7809
+ _1(M, "pointerdown", (n) => {
7810
7810
  const l = r1(H);
7811
- e = !d(o) && !!(l && !o.composedPath().includes(l));
7811
+ e = !d(n) && !!(l && !n.composedPath().includes(l));
7812
7812
  }, { passive: !0 }),
7813
- A && _1(M, "blur", (o) => {
7813
+ A && _1(M, "blur", (n) => {
7814
7814
  setTimeout(() => {
7815
7815
  var l;
7816
7816
  const S = r1(H);
7817
- ((l = M.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(S != null && S.contains(M.document.activeElement)) && V(o);
7817
+ ((l = M.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(S != null && S.contains(M.document.activeElement)) && V(n);
7818
7818
  }, 0);
7819
7819
  })
7820
7820
  ].filter(Boolean);
7821
- return () => n.forEach((o) => o());
7821
+ return () => o.forEach((n) => n());
7822
7822
  }
7823
7823
  function t5() {
7824
7824
  function H() {
@@ -7850,7 +7850,7 @@ function e1(H) {
7850
7850
  function s1(H) {
7851
7851
  return H.split("-")[1];
7852
7852
  }
7853
- function t2(H) {
7853
+ function l2(H) {
7854
7854
  return H === "x" ? "y" : "x";
7855
7855
  }
7856
7856
  function $1(H) {
@@ -7860,7 +7860,7 @@ function F1(H) {
7860
7860
  return ["top", "bottom"].includes(e1(H)) ? "y" : "x";
7861
7861
  }
7862
7862
  function U1(H) {
7863
- return t2(F1(H));
7863
+ return l2(F1(H));
7864
7864
  }
7865
7865
  function n5(H, V, C) {
7866
7866
  C === void 0 && (C = !1);
@@ -7905,7 +7905,7 @@ function u5(H) {
7905
7905
  ...H
7906
7906
  };
7907
7907
  }
7908
- function m2(H) {
7908
+ function o2(H) {
7909
7909
  return typeof H != "number" ? u5(H) : {
7910
7910
  top: H,
7911
7911
  right: H,
@@ -7922,23 +7922,23 @@ function v1(H) {
7922
7922
  bottom: H.y + H.height
7923
7923
  };
7924
7924
  }
7925
- function Y1(H, V, C) {
7925
+ function J1(H, V, C) {
7926
7926
  let {
7927
7927
  reference: M,
7928
7928
  floating: i
7929
7929
  } = H;
7930
- const L = F1(V), A = U1(V), e = $1(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;
7930
+ const L = F1(V), A = U1(V), e = $1(A), d = e1(V), m = L === "y", o = M.x + M.width / 2 - i.width / 2, a = M.y + M.height / 2 - i.height / 2, n = M[e] / 2 - i[e] / 2;
7931
7931
  let l;
7932
7932
  switch (d) {
7933
7933
  case "top":
7934
7934
  l = {
7935
- x: n,
7935
+ x: o,
7936
7936
  y: M.y - i.height
7937
7937
  };
7938
7938
  break;
7939
7939
  case "bottom":
7940
7940
  l = {
7941
- x: n,
7941
+ x: o,
7942
7942
  y: M.y + M.height
7943
7943
  };
7944
7944
  break;
@@ -7962,10 +7962,10 @@ function Y1(H, V, C) {
7962
7962
  }
7963
7963
  switch (s1(V)) {
7964
7964
  case "start":
7965
- l[A] -= o * (C && m ? -1 : 1);
7965
+ l[A] -= n * (C && m ? -1 : 1);
7966
7966
  break;
7967
7967
  case "end":
7968
- l[A] += o * (C && m ? -1 : 1);
7968
+ l[A] += n * (C && m ? -1 : 1);
7969
7969
  break;
7970
7970
  }
7971
7971
  return l;
@@ -7982,23 +7982,23 @@ const S5 = async (H, V, C) => {
7982
7982
  floating: V,
7983
7983
  strategy: i
7984
7984
  }), {
7985
- x: n,
7985
+ x: o,
7986
7986
  y: a
7987
- } = Y1(m, M, d), o = M, l = {}, S = 0;
7988
- for (let B = 0; B < e.length; B++) {
7987
+ } = J1(m, M, d), n = M, l = {}, S = 0;
7988
+ for (let v = 0; v < e.length; v++) {
7989
7989
  const {
7990
- name: y,
7991
- fn: k
7992
- } = e[B], {
7993
- x: w,
7994
- y: T,
7990
+ name: B,
7991
+ fn: T
7992
+ } = e[v], {
7993
+ x: k,
7994
+ y,
7995
7995
  data: F,
7996
7996
  reset: P
7997
- } = await k({
7998
- x: n,
7997
+ } = await T({
7998
+ x: o,
7999
7999
  y: a,
8000
8000
  initialPlacement: M,
8001
- placement: o,
8001
+ placement: n,
8002
8002
  strategy: i,
8003
8003
  middlewareData: l,
8004
8004
  rects: m,
@@ -8008,28 +8008,28 @@ const S5 = async (H, V, C) => {
8008
8008
  floating: V
8009
8009
  }
8010
8010
  });
8011
- if (n = w ?? n, a = T ?? a, l = {
8011
+ if (o = k ?? o, a = y ?? a, l = {
8012
8012
  ...l,
8013
- [y]: {
8014
- ...l[y],
8013
+ [B]: {
8014
+ ...l[B],
8015
8015
  ...F
8016
8016
  }
8017
8017
  }, P && S <= 50) {
8018
- S++, typeof P == "object" && (P.placement && (o = P.placement), P.rects && (m = P.rects === !0 ? await A.getElementRects({
8018
+ S++, typeof P == "object" && (P.placement && (n = P.placement), P.rects && (m = P.rects === !0 ? await A.getElementRects({
8019
8019
  reference: H,
8020
8020
  floating: V,
8021
8021
  strategy: i
8022
8022
  }) : P.rects), {
8023
- x: n,
8023
+ x: o,
8024
8024
  y: a
8025
- } = Y1(m, o, d)), B = -1;
8025
+ } = J1(m, n, d)), v = -1;
8026
8026
  continue;
8027
8027
  }
8028
8028
  }
8029
8029
  return {
8030
- x: n,
8030
+ x: o,
8031
8031
  y: a,
8032
- placement: o,
8032
+ placement: n,
8033
8033
  strategy: i,
8034
8034
  middlewareData: l
8035
8035
  };
@@ -8046,35 +8046,35 @@ async function y1(H, V) {
8046
8046
  strategy: d
8047
8047
  } = H, {
8048
8048
  boundary: m = "clippingAncestors",
8049
- rootBoundary: n = "viewport",
8049
+ rootBoundary: o = "viewport",
8050
8050
  elementContext: a = "floating",
8051
- altBoundary: o = !1,
8051
+ altBoundary: n = !1,
8052
8052
  padding: l = 0
8053
- } = n1(V, H), S = m2(l), y = e[o ? a === "floating" ? "reference" : "floating" : a], k = v1(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)),
8053
+ } = n1(V, H), S = o2(l), B = e[n ? a === "floating" ? "reference" : "floating" : a], T = v1(await L.getClippingRect({
8054
+ element: (C = await (L.isElement == null ? void 0 : L.isElement(B))) == null || C ? B : B.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8055
8055
  boundary: m,
8056
- rootBoundary: n,
8056
+ rootBoundary: o,
8057
8057
  strategy: d
8058
- })), w = a === "floating" ? {
8058
+ })), k = a === "floating" ? {
8059
8059
  ...A.floating,
8060
8060
  x: M,
8061
8061
  y: i
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)) || {
8062
+ } : A.reference, y = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), F = await (L.isElement == null ? void 0 : L.isElement(y)) ? await (L.getScale == null ? void 0 : L.getScale(y)) || {
8063
8063
  x: 1,
8064
8064
  y: 1
8065
8065
  } : {
8066
8066
  x: 1,
8067
8067
  y: 1
8068
8068
  }, P = v1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8069
- rect: w,
8070
- offsetParent: T,
8069
+ rect: k,
8070
+ offsetParent: y,
8071
8071
  strategy: d
8072
- }) : w);
8072
+ }) : k);
8073
8073
  return {
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
8074
+ top: (T.top - P.top + S.top) / F.y,
8075
+ bottom: (P.bottom - T.bottom + S.bottom) / F.y,
8076
+ left: (T.left - P.left + S.left) / F.x,
8077
+ right: (P.right - T.right + S.right) / F.x
8078
8078
  };
8079
8079
  }
8080
8080
  const s5 = (H) => ({
@@ -8091,22 +8091,22 @@ const s5 = (H) => ({
8091
8091
  middlewareData: d
8092
8092
  } = V, {
8093
8093
  element: m,
8094
- padding: n = 0
8094
+ padding: o = 0
8095
8095
  } = n1(H, V) || {};
8096
8096
  if (m == null)
8097
8097
  return {};
8098
- const a = m2(n), o = {
8098
+ const a = o2(o), n = {
8099
8099
  x: C,
8100
8100
  y: M
8101
- }, l = U1(i), S = $1(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), I = i1, Z = W - B[S] - A1, s = W / 2 - B[S] / 2 + g, v = W1(I, s, Z), x = !d.arrow && s1(i) != null && s != v && L.reference[S] / 2 - (s < I ? i1 : A1) - B[S] / 2 < 0, c = x ? s < I ? s - I : s - Z : 0;
8101
+ }, l = U1(i), S = $1(l), v = await A.getDimensions(m), B = l === "y", T = B ? "top" : "left", k = B ? "bottom" : "right", y = B ? "clientHeight" : "clientWidth", F = L.reference[S] + L.reference[l] - n[l] - L.floating[S], P = n[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(m));
8102
+ let W = U ? U[y] : 0;
8103
+ (!W || !await (A.isElement == null ? void 0 : A.isElement(U))) && (W = e.floating[y] || L.floating[S]);
8104
+ const f = F / 2 - P / 2, N = W / 2 - v[S] / 2 - 1, i1 = Z1(a[T], N), A1 = Z1(a[k], N), I = i1, Z = W - v[S] - A1, s = W / 2 - v[S] / 2 + f, w = W1(I, s, Z), x = !d.arrow && s1(i) != null && s != w && L.reference[S] / 2 - (s < I ? i1 : A1) - v[S] / 2 < 0, c = x ? s < I ? s - I : s - Z : 0;
8105
8105
  return {
8106
- [l]: o[l] + c,
8106
+ [l]: n[l] + c,
8107
8107
  data: {
8108
- [l]: v,
8109
- centerOffset: s - v - c,
8108
+ [l]: w,
8109
+ centerOffset: s - w - c,
8110
8110
  ...x && {
8111
8111
  alignmentOffset: c
8112
8112
  }
@@ -8128,25 +8128,25 @@ const s5 = (H) => ({
8128
8128
  platform: d,
8129
8129
  elements: m
8130
8130
  } = V, {
8131
- mainAxis: n = !0,
8131
+ mainAxis: o = !0,
8132
8132
  crossAxis: a = !0,
8133
- fallbackPlacements: o,
8133
+ fallbackPlacements: n,
8134
8134
  fallbackStrategy: l = "bestFit",
8135
8135
  fallbackAxisSideDirection: S = "none",
8136
- flipAlignment: B = !0,
8137
- ...y
8136
+ flipAlignment: v = !0,
8137
+ ...B
8138
8138
  } = n1(H, V);
8139
8139
  if ((C = L.arrow) != null && C.alignmentOffset)
8140
8140
  return {};
8141
- const k = e1(i), w = e1(e) === e, T = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), F = o || (w || !B ? [w1(e)] : r5(e));
8142
- !o && S !== "none" && F.push(...Z5(e, B, S, T));
8143
- const P = [e, ...F], U = await y1(V, y), W = [];
8144
- let g = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8145
- if (n && W.push(U[k]), a) {
8146
- const I = n5(i, A, T);
8141
+ const T = e1(i), k = e1(e) === e, y = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), F = n || (k || !v ? [w1(e)] : r5(e));
8142
+ !n && S !== "none" && F.push(...Z5(e, v, S, y));
8143
+ const P = [e, ...F], U = await y1(V, B), W = [];
8144
+ let f = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8145
+ if (o && W.push(U[T]), a) {
8146
+ const I = n5(i, A, y);
8147
8147
  W.push(U[I[0]], U[I[1]]);
8148
8148
  }
8149
- if (g = [...g, {
8149
+ if (f = [...f, {
8150
8150
  placement: i,
8151
8151
  overflows: W
8152
8152
  }], !W.every((I) => I <= 0)) {
@@ -8156,19 +8156,19 @@ const s5 = (H) => ({
8156
8156
  return {
8157
8157
  data: {
8158
8158
  index: I,
8159
- overflows: g
8159
+ overflows: f
8160
8160
  },
8161
8161
  reset: {
8162
8162
  placement: Z
8163
8163
  }
8164
8164
  };
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;
8165
+ let s = (i1 = f.filter((w) => w.overflows[0] <= 0).sort((w, x) => w.overflows[1] - x.overflows[1])[0]) == null ? void 0 : i1.placement;
8166
8166
  if (!s)
8167
8167
  switch (l) {
8168
8168
  case "bestFit": {
8169
8169
  var A1;
8170
- const v = (A1 = g.map((x) => [x.placement, x.overflows.filter((c) => c > 0).reduce((c, Q) => c + Q, 0)]).sort((x, c) => x[1] - c[1])[0]) == null ? void 0 : A1[0];
8171
- v && (s = v);
8170
+ const w = (A1 = f.map((x) => [x.placement, x.overflows.filter((c) => c > 0).reduce((c, Q) => c + Q, 0)]).sort((x, c) => x[1] - c[1])[0]) == null ? void 0 : A1[0];
8171
+ w && (s = w);
8172
8172
  break;
8173
8173
  }
8174
8174
  case "initialPlacement":
@@ -8186,7 +8186,7 @@ const s5 = (H) => ({
8186
8186
  }
8187
8187
  };
8188
8188
  };
8189
- function J1(H, V) {
8189
+ function C2(H, V) {
8190
8190
  return {
8191
8191
  top: H.top - V.height,
8192
8192
  right: H.right - V.width,
@@ -8194,7 +8194,7 @@ function J1(H, V) {
8194
8194
  left: H.left - V.width
8195
8195
  };
8196
8196
  }
8197
- function C2(H) {
8197
+ function H2(H) {
8198
8198
  return m5.some((V) => H[V] >= 0);
8199
8199
  }
8200
8200
  const p5 = function(H) {
@@ -8213,11 +8213,11 @@ const p5 = function(H) {
8213
8213
  const L = await y1(V, {
8214
8214
  ...i,
8215
8215
  elementContext: "reference"
8216
- }), A = J1(L, C.reference);
8216
+ }), A = C2(L, C.reference);
8217
8217
  return {
8218
8218
  data: {
8219
8219
  referenceHiddenOffsets: A,
8220
- referenceHidden: C2(A)
8220
+ referenceHidden: H2(A)
8221
8221
  }
8222
8222
  };
8223
8223
  }
@@ -8225,11 +8225,11 @@ const p5 = function(H) {
8225
8225
  const L = await y1(V, {
8226
8226
  ...i,
8227
8227
  altBoundary: !0
8228
- }), A = J1(L, C.floating);
8228
+ }), A = C2(L, C.floating);
8229
8229
  return {
8230
8230
  data: {
8231
8231
  escapedOffsets: A,
8232
- escaped: C2(A)
8232
+ escaped: H2(A)
8233
8233
  }
8234
8234
  };
8235
8235
  }
@@ -8244,9 +8244,9 @@ async function O5(H, V) {
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 = e1(C), e = s1(C), d = F1(C) === "y", m = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, a = n1(V, H);
8247
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = e1(C), e = s1(C), d = F1(C) === "y", m = ["left", "top"].includes(A) ? -1 : 1, o = L && d ? -1 : 1, a = n1(V, H);
8248
8248
  let {
8249
- mainAxis: o,
8249
+ mainAxis: n,
8250
8250
  crossAxis: l,
8251
8251
  alignmentAxis: S
8252
8252
  } = typeof a == "number" ? {
@@ -8260,11 +8260,11 @@ async function O5(H, V) {
8260
8260
  ...a
8261
8261
  };
8262
8262
  return e && typeof S == "number" && (l = e === "end" ? S * -1 : S), d ? {
8263
- x: l * n,
8264
- y: o * m
8263
+ x: l * o,
8264
+ y: n * m
8265
8265
  } : {
8266
- x: o * m,
8267
- y: l * n
8266
+ x: n * m,
8267
+ y: l * o
8268
8268
  };
8269
8269
  }
8270
8270
  const f5 = function(H) {
@@ -8296,14 +8296,14 @@ const f5 = function(H) {
8296
8296
  mainAxis: L = !0,
8297
8297
  crossAxis: A = !1,
8298
8298
  limiter: e = {
8299
- fn: (y) => {
8299
+ fn: (B) => {
8300
8300
  let {
8301
- x: k,
8302
- y: w
8303
- } = y;
8301
+ x: T,
8302
+ y: k
8303
+ } = B;
8304
8304
  return {
8305
- x: k,
8306
- y: w
8305
+ x: T,
8306
+ y: k
8307
8307
  };
8308
8308
  }
8309
8309
  },
@@ -8311,33 +8311,33 @@ const f5 = function(H) {
8311
8311
  } = n1(H, V), m = {
8312
8312
  x: C,
8313
8313
  y: M
8314
- }, n = await y1(V, d), a = F1(e1(i)), o = t2(a);
8315
- let l = m[o], S = m[a];
8314
+ }, o = await y1(V, d), a = F1(e1(i)), n = l2(a);
8315
+ let l = m[n], S = m[a];
8316
8316
  if (L) {
8317
- const y = o === "y" ? "top" : "left", k = o === "y" ? "bottom" : "right", w = l + n[y], T = l - n[k];
8318
- l = W1(w, l, T);
8317
+ const B = n === "y" ? "top" : "left", T = n === "y" ? "bottom" : "right", k = l + o[B], y = l - o[T];
8318
+ l = W1(k, l, y);
8319
8319
  }
8320
8320
  if (A) {
8321
- const y = a === "y" ? "top" : "left", k = a === "y" ? "bottom" : "right", w = S + n[y], T = S - n[k];
8322
- S = W1(w, S, T);
8321
+ const B = a === "y" ? "top" : "left", T = a === "y" ? "bottom" : "right", k = S + o[B], y = S - o[T];
8322
+ S = W1(k, S, y);
8323
8323
  }
8324
- const B = e.fn({
8324
+ const v = e.fn({
8325
8325
  ...V,
8326
- [o]: l,
8326
+ [n]: l,
8327
8327
  [a]: S
8328
8328
  });
8329
8329
  return {
8330
- ...B,
8330
+ ...v,
8331
8331
  data: {
8332
- x: B.x - C,
8333
- y: B.y - M
8332
+ x: v.x - C,
8333
+ y: v.y - M
8334
8334
  }
8335
8335
  };
8336
8336
  }
8337
8337
  };
8338
8338
  };
8339
8339
  function L1(H) {
8340
- return l2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8340
+ return n2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8341
8341
  }
8342
8342
  function z(H) {
8343
8343
  var V;
@@ -8345,9 +8345,9 @@ function z(H) {
8345
8345
  }
8346
8346
  function M1(H) {
8347
8347
  var V;
8348
- return (V = (l2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8348
+ return (V = (n2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8349
8349
  }
8350
- function l2(H) {
8350
+ function n2(H) {
8351
8351
  return H instanceof Node || H instanceof z(H).Node;
8352
8352
  }
8353
8353
  function C1(H) {
@@ -8356,7 +8356,7 @@ function C1(H) {
8356
8356
  function j(H) {
8357
8357
  return H instanceof HTMLElement || H instanceof z(H).HTMLElement;
8358
8358
  }
8359
- function H2(H) {
8359
+ function V2(H) {
8360
8360
  return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof z(H).ShadowRoot;
8361
8361
  }
8362
8362
  function c1(H) {
@@ -8409,22 +8409,22 @@ function o1(H) {
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
- H2(H) && H.host || // Fallback.
8412
+ V2(H) && H.host || // Fallback.
8413
8413
  M1(H)
8414
8414
  );
8415
- return H2(V) ? V.host : V;
8415
+ return V2(V) ? V.host : V;
8416
8416
  }
8417
- function o2(H) {
8417
+ function r2(H) {
8418
8418
  const V = o1(H);
8419
- return R1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : o2(V);
8419
+ return R1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : r2(V);
8420
8420
  }
8421
8421
  function I1(H, V, C) {
8422
8422
  var M;
8423
8423
  V === void 0 && (V = []), C === void 0 && (C = !0);
8424
- const i = o2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8424
+ const i = r2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8425
8425
  return L ? V.concat(A, A.visualViewport || [], c1(i) ? i : [], A.frameElement && C ? I1(A.frameElement) : []) : V.concat(i, I1(i, [], C));
8426
8426
  }
8427
- function n2(H) {
8427
+ function a2(H) {
8428
8428
  const V = K(H);
8429
8429
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8430
8430
  const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = b1(C) !== L || b1(M) !== A;
@@ -8434,18 +8434,18 @@ function n2(H) {
8434
8434
  $: e
8435
8435
  };
8436
8436
  }
8437
- function r2(H) {
8437
+ function Z2(H) {
8438
8438
  return C1(H) ? H : H.contextElement;
8439
8439
  }
8440
8440
  function l1(H) {
8441
- const V = r2(H);
8441
+ const V = Z2(H);
8442
8442
  if (!j(V))
8443
8443
  return V1(1);
8444
8444
  const C = V.getBoundingClientRect(), {
8445
8445
  width: M,
8446
8446
  height: i,
8447
8447
  $: L
8448
- } = n2(V);
8448
+ } = a2(V);
8449
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,
@@ -8453,7 +8453,7 @@ function l1(H) {
8453
8453
  };
8454
8454
  }
8455
8455
  const B5 = /* @__PURE__ */ V1(0);
8456
- function a2(H) {
8456
+ function u2(H) {
8457
8457
  const V = z(H);
8458
8458
  return !K1() || !V.visualViewport ? B5 : {
8459
8459
  x: V.visualViewport.offsetLeft,
@@ -8465,21 +8465,21 @@ function b5(H, V, C) {
8465
8465
  }
8466
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 = r2(H);
8468
+ const i = H.getBoundingClientRect(), L = Z2(H);
8469
8469
  let A = V1(1);
8470
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;
8471
+ const e = b5(L, C, M) ? u2(L) : V1(0);
8472
+ let d = (i.left + e.x) / A.x, m = (i.top + e.y) / A.y, o = i.width / A.x, a = i.height / A.y;
8473
8473
  if (L) {
8474
- const o = z(L), l = M && C1(M) ? z(M) : M;
8475
- let S = o.frameElement;
8476
- for (; S && M && l !== o; ) {
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;
8474
+ const n = z(L), l = M && C1(M) ? z(M) : M;
8475
+ let S = n.frameElement;
8476
+ for (; S && M && l !== n; ) {
8477
+ const v = l1(S), B = S.getBoundingClientRect(), T = K(S), k = B.left + (S.clientLeft + parseFloat(T.paddingLeft)) * v.x, y = B.top + (S.clientTop + parseFloat(T.paddingTop)) * v.y;
8478
+ d *= v.x, m *= v.y, o *= v.x, a *= v.y, d += k, m += y, S = z(S).frameElement;
8479
8479
  }
8480
8480
  }
8481
8481
  return v1({
8482
- width: n,
8482
+ width: o,
8483
8483
  height: a,
8484
8484
  x: d,
8485
8485
  y: m
@@ -8513,12 +8513,12 @@ function w5(H) {
8513
8513
  function v5(H) {
8514
8514
  return Array.from(H.getClientRects());
8515
8515
  }
8516
- function Z2(H) {
8516
+ function S2(H) {
8517
8517
  return u1(M1(H)).left + x1(H).scrollLeft;
8518
8518
  }
8519
8519
  function y5(H) {
8520
8520
  const V = M1(H), C = x1(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);
8521
+ let A = -C.scrollLeft + S2(H);
8522
8522
  const e = -C.scrollTop;
8523
8523
  return K(M).direction === "rtl" && (A += m1(V.clientWidth, M.clientWidth) - i), {
8524
8524
  width: i,
@@ -8551,7 +8551,7 @@ function T5(H, V) {
8551
8551
  y: m
8552
8552
  };
8553
8553
  }
8554
- function V2(H, V, C) {
8554
+ function L2(H, V, C) {
8555
8555
  let M;
8556
8556
  if (V === "viewport")
8557
8557
  M = P5(H, C);
@@ -8560,7 +8560,7 @@ function V2(H, V, C) {
8560
8560
  else if (C1(V))
8561
8561
  M = T5(V, C);
8562
8562
  else {
8563
- const i = a2(H);
8563
+ const i = u2(H);
8564
8564
  M = {
8565
8565
  ...V,
8566
8566
  x: V.x - i.x,
@@ -8569,9 +8569,9 @@ function V2(H, V, C) {
8569
8569
  }
8570
8570
  return v1(M);
8571
8571
  }
8572
- function u2(H, V) {
8572
+ function s2(H, V) {
8573
8573
  const C = o1(H);
8574
- return C === V || !C1(C) || R1(C) ? !1 : K(C).position === "fixed" || u2(C, V);
8574
+ return C === V || !C1(C) || R1(C) ? !1 : K(C).position === "fixed" || s2(C, V);
8575
8575
  }
8576
8576
  function F5(H, V) {
8577
8577
  const C = V.get(H);
@@ -8582,7 +8582,7 @@ function F5(H, V) {
8582
8582
  let A = L ? o1(H) : H;
8583
8583
  for (; C1(A) && !R1(A); ) {
8584
8584
  const e = K(A), d = z1(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);
8585
+ !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || c1(A) && !d && s2(H, A)) ? M = M.filter((o) => o !== A) : i = e, A = o1(A);
8586
8586
  }
8587
8587
  return V.set(H, M), M;
8588
8588
  }
@@ -8593,10 +8593,10 @@ function R5(H) {
8593
8593
  rootBoundary: M,
8594
8594
  strategy: i
8595
8595
  } = H;
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);
8596
+ const A = [...C === "clippingAncestors" ? F5(V, this._c) : [].concat(C), M], e = A[0], d = A.reduce((m, o) => {
8597
+ const a = L2(V, o, i);
8598
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));
8599
+ }, L2(V, e, i));
8600
8600
  return {
8601
8601
  width: d.right - d.left,
8602
8602
  height: d.bottom - d.top,
@@ -8605,7 +8605,7 @@ function R5(H) {
8605
8605
  };
8606
8606
  }
8607
8607
  function x5(H) {
8608
- return n2(H);
8608
+ return a2(H);
8609
8609
  }
8610
8610
  function D5(H, V, C) {
8611
8611
  const M = j(V), i = M1(V), L = C === "fixed", A = u1(H, !0, L, V);
@@ -8619,7 +8619,7 @@ function D5(H, V, C) {
8619
8619
  const m = u1(V, !0, L, V);
8620
8620
  d.x = m.x + V.clientLeft, d.y = m.y + V.clientTop;
8621
8621
  } else
8622
- i && (d.x = Z2(i));
8622
+ i && (d.x = S2(i));
8623
8623
  return {
8624
8624
  x: A.left + e.scrollLeft - d.x,
8625
8625
  y: A.top + e.scrollTop - d.y,
@@ -8627,16 +8627,16 @@ function D5(H, V, C) {
8627
8627
  height: A.height
8628
8628
  };
8629
8629
  }
8630
- function L2(H, V) {
8630
+ function M2(H, V) {
8631
8631
  return !j(H) || K(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8632
8632
  }
8633
- function S2(H, V) {
8633
+ function c2(H, V) {
8634
8634
  const C = z(H);
8635
8635
  if (!j(H))
8636
8636
  return C;
8637
- let M = L2(H, V);
8637
+ let M = M2(H, V);
8638
8638
  for (; M && g5(M) && K(M).position === "static"; )
8639
- M = L2(M, V);
8639
+ M = M2(M, V);
8640
8640
  return M && (L1(M) === "html" || L1(M) === "body" && K(M).position === "static" && !z1(M)) ? C : M || k5(H) || C;
8641
8641
  }
8642
8642
  const _5 = async function(H) {
@@ -8645,7 +8645,7 @@ const _5 = async function(H) {
8645
8645
  floating: C,
8646
8646
  strategy: M
8647
8647
  } = H;
8648
- const i = this.getOffsetParent || S2, L = this.getDimensions;
8648
+ const i = this.getOffsetParent || c2, L = this.getDimensions;
8649
8649
  return {
8650
8650
  reference: D5(V, await i(C), M),
8651
8651
  floating: {
@@ -8662,7 +8662,7 @@ const W5 = {
8662
8662
  convertOffsetParentRelativeRectToViewportRelativeRect: w5,
8663
8663
  getDocumentElement: M1,
8664
8664
  getClippingRect: R5,
8665
- getOffsetParent: S2,
8665
+ getOffsetParent: c2,
8666
8666
  getElementRects: _5,
8667
8667
  getClientRects: v5,
8668
8668
  getDimensions: x5,
@@ -8682,7 +8682,7 @@ const W5 = {
8682
8682
  platform: L
8683
8683
  });
8684
8684
  };
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 || {}), Q1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(Q1 || {});
8685
+ var p2 = /* @__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))(p2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), Q1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(Q1 || {});
8686
8686
  async function I5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8687
8687
  !H || !V || N5(H, V, {
8688
8688
  placement: M,
@@ -8693,32 +8693,32 @@ async function I5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
8693
8693
  c5(),
8694
8694
  p5()
8695
8695
  ]
8696
- }).then(({ x: d, y: m, placement: n, middlewareData: a }) => {
8697
- var S, B;
8696
+ }).then(({ x: d, y: m, placement: o, middlewareData: a }) => {
8697
+ var S, v;
8698
8698
  if (!V)
8699
8699
  return;
8700
- a.flip && V.setAttribute("data-placement", n);
8701
- const o = (S = H.offsetParent) == null ? void 0 : S.getBoundingClientRect().left, l = (B = H.offsetParent) == null ? void 0 : B.getBoundingClientRect().width;
8700
+ a.flip && V.setAttribute("data-placement", o);
8701
+ const n = (S = H.offsetParent) == null ? void 0 : S.getBoundingClientRect().left, l = (v = H.offsetParent) == null ? void 0 : v.getBoundingClientRect().width;
8702
8702
  if (Object.assign(V.style, {
8703
8703
  maxWidth: e === "dropdown" ? `${l}px` : "auto",
8704
- left: e === "dropdown" ? `${o}px` : `${d}px`,
8704
+ left: e === "dropdown" ? `${n}px` : `${d}px`,
8705
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: y, y: k } = a.arrow, w = {
8709
+ const { x: B, y: T } = a.arrow, k = {
8710
8710
  top: "bottom",
8711
8711
  right: "left",
8712
8712
  bottom: "top",
8713
8713
  left: "right"
8714
8714
  /* Right */
8715
- }[n.split("-")[0]];
8715
+ }[o.split("-")[0]];
8716
8716
  Object.assign(C.style, {
8717
- left: d != null ? `${y}px` : "",
8718
- top: m != null ? `${k}px` : "",
8717
+ left: d != null ? `${B}px` : "",
8718
+ top: m != null ? `${T}px` : "",
8719
8719
  right: "",
8720
8720
  bottom: "",
8721
- [`${w}`]: "-4px"
8721
+ [`${k}`]: "-4px"
8722
8722
  });
8723
8723
  }
8724
8724
  });
@@ -8726,7 +8726,7 @@ async function I5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
8726
8726
  const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__ */ R({
8727
8727
  __name: "RTooltip",
8728
8728
  props: {
8729
- placement: { default: s2.Top },
8729
+ placement: { default: p2.Top },
8730
8730
  text: { default: "" },
8731
8731
  dark: { type: Boolean, default: !0 },
8732
8732
  light: { type: Boolean, default: !1 },
@@ -8749,75 +8749,101 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8749
8749
  emits: ["show", "hide"],
8750
8750
  setup(H, { emit: V }) {
8751
8751
  const C = H, M = V, i = E(), L = E(), A = E(), e = t5();
8752
- async function d() {
8753
- if (C.disabled || !L.value)
8754
- return;
8755
- const k = document.querySelectorAll(".r-tooltip--active");
8756
- k.length > 0 && !C.persistent && k.forEach((w) => {
8757
- w.style.display = "", w.classList.remove("r-tooltip--active"), w.dataset.show = "false", M("hide", w.id);
8758
- }), 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());
8752
+ let d = null;
8753
+ async function m() {
8754
+ if (!(C.disabled || !L.value)) {
8755
+ if (!C.persistent) {
8756
+ const k = document.querySelectorAll(
8757
+ ".r-tooltip--active"
8758
+ );
8759
+ k.length > 0 && k.forEach((y) => {
8760
+ y.dataset.persistent === "true" || (y.style.display = "", y.classList.remove("r-tooltip--active"), y.dataset.show = "false");
8761
+ });
8762
+ }
8763
+ L.value.classList.contains("r-tooltip--active") ? o() : (B(), L.value.style.display = "block", L.value.classList.add("r-tooltip--active"), L.value.dataset.show = "true", L.value.dataset.persistent = C.persistent.toString(), M("show", L.value.id), a());
8764
+ }
8759
8765
  }
8760
- function m(k = null) {
8761
- 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));
8766
+ function o(k = null) {
8767
+ C.disabled || !L.value || (L.value.style.display = "", L.value.classList.remove("r-tooltip--active"), L.value.dataset.show = "false", L.value.dataset.persistent = "false", M("hide", L.value.id));
8762
8768
  }
8763
- function n() {
8769
+ function a() {
8764
8770
  C.autoHide && setTimeout(() => {
8765
- m();
8771
+ o();
8766
8772
  }, C.hideDelay);
8767
8773
  }
8768
- function a(k) {
8769
- C.disabled || C.triggers.includes(Y.Click) && (L.value.style.display === "block" ? m() : d());
8770
- }
8771
- function o() {
8772
- C.disabled || C.triggers.includes(Y.Hover) && d();
8774
+ function n(k) {
8775
+ C.disabled || C.triggers.includes(Y.Click) && (L.value.style.display === "block" ? o() : m());
8773
8776
  }
8774
8777
  function l() {
8775
- C.disabled || (L.value.style.display === "" && C.triggers.includes(Y.Hover) ? d() : L.value.style.display !== "" && C.triggers.includes(Y.Hover) && m());
8778
+ C.disabled || C.triggers.includes(Y.Hover) && m();
8776
8779
  }
8777
8780
  function S() {
8781
+ C.disabled || (L.value.style.display === "" && C.triggers.includes(Y.Hover) ? m() : L.value.style.display !== "" && C.triggers.includes(Y.Hover) && o());
8782
+ }
8783
+ function v() {
8778
8784
  C.triggers.includes(Y.Hover) && B();
8779
8785
  }
8780
8786
  function B(k) {
8781
- const { placement: w, offset: T, padding: F, disabled: P, showDelay: U, type: W } = C;
8782
- P || I5(i, L, A, w, T, F, U, W);
8787
+ const { placement: y, offset: F, padding: P, disabled: U, showDelay: W, type: f } = C;
8788
+ U || I5(
8789
+ i,
8790
+ L,
8791
+ A,
8792
+ y,
8793
+ F,
8794
+ P,
8795
+ W,
8796
+ f
8797
+ );
8783
8798
  }
8784
- const y = h(() => ({
8799
+ const T = g(() => ({
8785
8800
  "r-tooltip": !0,
8786
8801
  "r-tooltip--dark": C.dark && !C.light,
8787
8802
  "r-tooltip--light": C.light
8788
8803
  }));
8789
8804
  return window.onresize = () => {
8790
8805
  C.resizable && B();
8791
- }, f2(
8806
+ }, q1(
8792
8807
  () => {
8793
- C.disabled || (C.shown && C.triggers.includes(Y.Manual) ? d() : !C.shown && C.triggers.includes(Y.Manual) && m());
8808
+ C.disabled || (C.shown && C.triggers.includes(Y.Manual) ? m() : !C.shown && C.triggers.includes(Y.Manual) && o());
8794
8809
  },
8795
8810
  { flush: "post" }
8796
8811
  // this is important to avoid infinite loop & for fire on mounted
8797
- ), M2(() => {
8798
- var k, w;
8799
- C.resizable && ((w = (k = i.value) == null ? void 0 : k.parentElement) == null || w.parentElement.addEventListener("scroll", B())), d5(i, (T) => {
8800
- L.value.classList.contains("r-tooltip--active") && m(T);
8801
- }, { ignore: [L] }), C.type === Q1.Dropdown && document.addEventListener("scroll", () => {
8812
+ ), q1(() => {
8813
+ d && (d(), d = null), C.outsideClick && i.value && (d = d5(
8814
+ i,
8815
+ (k) => {
8816
+ L.value && L.value.classList.contains("r-tooltip--active") && o(k);
8817
+ },
8818
+ { ignore: [L] }
8819
+ ));
8820
+ }), i2(() => {
8821
+ var k, y;
8822
+ C.resizable && ((y = (k = i.value) == null ? void 0 : k.parentElement) == null || y.parentElement.addEventListener(
8823
+ "scroll",
8824
+ B()
8825
+ )), C.type === Q1.Dropdown && document.addEventListener("scroll", () => {
8802
8826
  B();
8803
8827
  });
8804
- }), (k, w) => (t(), r(H1, null, [
8828
+ }), A2(() => {
8829
+ d && (d(), d = null);
8830
+ }), (k, y) => (t(), r(H1, null, [
8805
8831
  u("div", {
8806
8832
  ref_key: "trigger",
8807
8833
  ref: i,
8808
8834
  "aria-disabled": C.disabled,
8809
8835
  class: p(["r-tooltip-trigger", k.triggerClass]),
8810
- onClick: a,
8811
- onMouseenter: o,
8812
- onMouseleave: l,
8813
- onMousemove: S
8836
+ onClick: n,
8837
+ onMouseenter: l,
8838
+ onMouseleave: S,
8839
+ onMousemove: v
8814
8840
  }, [
8815
- f(k.$slots, "default", {
8841
+ h(k.$slots, "default", {
8816
8842
  activators: {
8817
- click: a,
8818
- mouseenter: o,
8819
- mouseleave: l,
8820
- mousemove: S
8843
+ click: n,
8844
+ mouseenter: l,
8845
+ mouseleave: S,
8846
+ mousemove: v
8821
8847
  },
8822
8848
  tooltipId: J(e),
8823
8849
  updatePosition: B
@@ -8827,17 +8853,17 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8827
8853
  }, null, 8, G5)
8828
8854
  ])
8829
8855
  ], 42, Q5),
8830
- (t(), _(h2, { to: "body" }, [
8856
+ (t(), _(g2, { to: "body" }, [
8831
8857
  u("div", {
8832
8858
  id: J(e),
8833
8859
  ref_key: "tooltip",
8834
8860
  ref: L,
8835
- class: p([y.value, k.tooltipClass]),
8861
+ class: p([T.value, k.tooltipClass]),
8836
8862
  "data-show": "false",
8837
8863
  role: "tooltip"
8838
8864
  }, [
8839
- f(k.$slots, "content", {
8840
- hide: m,
8865
+ h(k.$slots, "content", {
8866
+ hide: o,
8841
8867
  updatePosition: B
8842
8868
  }, () => [
8843
8869
  C.text ? (t(), r("div", {
@@ -8920,19 +8946,19 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8920
8946
  const [s] = Object == null ? void 0 : Object.keys(Z);
8921
8947
  return ["label", "value"].includes(s);
8922
8948
  }
8923
- const m = h(() => {
8949
+ const m = g(() => {
8924
8950
  const Z = C.options;
8925
8951
  return d(Z[0]) ? Z : Z.map((s) => ({
8926
8952
  value: s,
8927
8953
  label: String(s)
8928
8954
  }));
8929
- }), n = h(() => {
8955
+ }), o = g(() => {
8930
8956
  const Z = C.modelValue;
8931
8957
  return d(Z) ? Z : {
8932
8958
  value: Z,
8933
8959
  label: String(Z)
8934
8960
  };
8935
- }), a = E(), o = E(), l = E();
8961
+ }), a = E(), n = E(), l = E();
8936
8962
  function S(Z) {
8937
8963
  var x, c, Q, p1;
8938
8964
  if (C.disabled)
@@ -8945,17 +8971,17 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8945
8971
  X == null || X.classList.remove(D1);
8946
8972
  }));
8947
8973
  }), $.classList.remove("r-dropdown--active"));
8948
- }), 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, (Q = a.value) == null || Q.focus(), (p1 = o.value) == null || p1.focus(), s == null || s.childNodes.forEach(($) => {
8974
+ }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), A.value = !1, (x = a.value) == null || x.blur(), (c = n.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), A.value = !0, (Q = a.value) == null || Q.focus(), (p1 = n.value) == null || p1.focus(), s == null || s.childNodes.forEach(($) => {
8949
8975
  $ != null && $.classList && (Object == null || Object.values($ == null ? void 0 : $.classList).forEach((O1) => {
8950
8976
  $ == null || $.classList.add(`${O1}--active`);
8951
8977
  }));
8952
8978
  }));
8953
8979
  }
8954
- function B(Z) {
8980
+ function v(Z) {
8955
8981
  const s = document.getElementById(Z);
8956
8982
  s == null || s.classList.remove("r-dropdown--active"), A.value = !1;
8957
8983
  }
8958
- function y(Z, s, v, x) {
8984
+ function B(Z, s, w, x) {
8959
8985
  var c;
8960
8986
  if (!(C.disabled || s.disabled)) {
8961
8987
  if (x(), s.value === "select-all") {
@@ -8969,45 +8995,45 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8969
8995
  const Q = L.value.findIndex((p1) => p1.value === s.value);
8970
8996
  L.value.splice(Q, 1), M("removeOption", s);
8971
8997
  }
8972
- e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8998
+ e.value = "", C.searchable && ((c = n.value) == null || c.focus());
8973
8999
  return;
8974
9000
  }
8975
- k(Z, s), C.closeOnSelect && v();
9001
+ T(Z, s), C.closeOnSelect && w();
8976
9002
  }
8977
9003
  }
8978
- function k(Z, s) {
9004
+ function T(Z, s) {
8979
9005
  if (i.value.value === s.value && !C.disableDeselect) {
8980
9006
  i.value = {}, e.value = "", M("update:modelValue", ""), M("removeOption", s);
8981
9007
  return;
8982
9008
  }
8983
9009
  e.value = s.label, i.value = s, M("update:modelValue", s);
8984
9010
  }
8985
- function w(Z, s, v) {
9011
+ function k(Z, s, w) {
8986
9012
  if (Z instanceof KeyboardEvent && Z.key !== "Backspace" || e.value !== "")
8987
9013
  return;
8988
- Z.stopPropagation(), v();
9014
+ Z.stopPropagation(), w();
8989
9015
  const x = L.value.findIndex((c) => c.value === s.value);
8990
9016
  L.value.splice(x, 1), M("removeOption", s), M("update:modelValue", L.value);
8991
9017
  }
8992
- function T(Z, s) {
9018
+ function y(Z, s) {
8993
9019
  var c;
8994
9020
  if (!C.multiple)
8995
9021
  return;
8996
9022
  Z.stopPropagation(), s();
8997
- const v = e.value;
8998
- if (v === "")
9023
+ const w = e.value;
9024
+ if (w === "")
8999
9025
  return;
9000
- m.value.find((Q) => Q.label === v) || (L.value.push({ value: v, label: v }), e.value = "", (c = o.value) == null || c.focus());
9026
+ m.value.find((Q) => Q.label === w) || (L.value.push({ value: w, label: w }), e.value = "", (c = n.value) == null || c.focus());
9001
9027
  }
9002
9028
  function F(Z) {
9003
9029
  var s;
9004
- return !Z || (Z == null ? void 0 : Z.value) === void 0 || (Z == null ? void 0 : Z.value) === null ? !1 : C.multiple ? L.value.find((v) => (v == null ? void 0 : v.value) === (Z == null ? void 0 : Z.value)) : ((s = i.value) == null ? void 0 : s.value) === (Z == null ? void 0 : Z.value);
9030
+ return !Z || (Z == null ? void 0 : Z.value) === void 0 || (Z == null ? void 0 : Z.value) === null ? !1 : C.multiple ? L.value.find((w) => (w == null ? void 0 : w.value) === (Z == null ? void 0 : Z.value)) : ((s = i.value) == null ? void 0 : s.value) === (Z == null ? void 0 : Z.value);
9005
9031
  }
9006
- const P = h(() => !C.searchable || i.value.label === e.value ? m.value : m.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = h(() => !C.searchable);
9032
+ const P = g(() => !C.searchable || i.value.label === e.value ? m.value : m.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = g(() => !C.searchable);
9007
9033
  function W() {
9008
- 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));
9034
+ o.value ? C.multiple ? L.value = o.value : (i.value = o.value, e.value = o.value.label) : (i.value = {}, L.value.splice(0, L.value.length));
9009
9035
  }
9010
- function g(Z) {
9036
+ function f(Z) {
9011
9037
  C.searchable && Z(), !C.multiple && e.value === "" && (i.value = {}, M("update:modelValue", ""), M("removeOption", i.value));
9012
9038
  }
9013
9039
  function N(Z, s) {
@@ -9024,8 +9050,8 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9024
9050
  }
9025
9051
  L.value = P.value;
9026
9052
  }
9027
- const A1 = h(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), I = h(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9028
- return M2(() => {
9053
+ const A1 = g(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), I = g(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9054
+ return i2(() => {
9029
9055
  W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9030
9056
  }), G(
9031
9057
  L,
@@ -9035,7 +9061,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9035
9061
  {
9036
9062
  deep: !0
9037
9063
  }
9038
- ), G(() => n.value, (Z) => {
9064
+ ), G(() => o.value, (Z) => {
9039
9065
  W();
9040
9066
  }), (Z, s) => (t(), r("div", {
9041
9067
  ref_key: "wrapper",
@@ -9052,11 +9078,11 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9052
9078
  "trigger-class": "w-full",
9053
9079
  triggers: ["click"],
9054
9080
  type: "dropdown",
9055
- onHide: s[1] || (s[1] = (v) => {
9056
- B(v);
9081
+ onHide: s[1] || (s[1] = (w) => {
9082
+ v(w);
9057
9083
  })
9058
9084
  }, {
9059
- default: B1(({ updatePosition: v, tooltipId: x }) => [
9085
+ default: B1(({ updatePosition: w, tooltipId: x }) => [
9060
9086
  u("div", {
9061
9087
  id: x,
9062
9088
  ref_key: "dropdown",
@@ -9078,7 +9104,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9078
9104
  "r-dropdown__prepend-icon--error": C.errorMsg
9079
9105
  }])
9080
9106
  }, [
9081
- f(Z.$slots, "prepend", {
9107
+ h(Z.$slots, "prepend", {
9082
9108
  active: A.value,
9083
9109
  disabled: C.disabled,
9084
9110
  error: C.errorMsg.length,
@@ -9091,8 +9117,8 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9091
9117
  ])
9092
9118
  ], 2)) : O("", !0),
9093
9119
  u("div", K5, [
9094
- f(Z.$slots, "selection", {
9095
- removeOption: w,
9120
+ h(Z.$slots, "selection", {
9121
+ removeOption: k,
9096
9122
  selected: L.value
9097
9123
  }, () => [
9098
9124
  u("div", q5, [
@@ -9103,9 +9129,9 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9103
9129
  ghost: "",
9104
9130
  label: c.label,
9105
9131
  variant: "primary",
9106
- "onClick:close": (Q) => w(Q, c, v)
9132
+ "onClick:close": (Q) => k(Q, c, w)
9107
9133
  }, null, 8, ["label", "onClick:close"]))), 128)),
9108
- f(Z.$slots, "remaining-count", { count: I.value }, () => [
9134
+ h(Z.$slots, "remaining-count", { count: I.value }, () => [
9109
9135
  I.value > 0 ? (t(), r("span", j5, " +" + b(I.value), 1)) : O("", !0)
9110
9136
  ])
9111
9137
  ], 64)) : C.multiple ? (t(!0), r(H1, { key: 1 }, d1(L.value, (c, Q) => (t(), r("span", {
@@ -9113,10 +9139,10 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9113
9139
  }, b(c.label) + b(Q < L.value.length - 1 ? ", " : ""), 1))), 128)) : O("", !0)
9114
9140
  ])
9115
9141
  ]),
9116
- i2(u("input", {
9142
+ e2(u("input", {
9117
9143
  id: C.id,
9118
9144
  ref_key: "input",
9119
- ref: o,
9145
+ ref: n,
9120
9146
  "onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
9121
9147
  autocomplete: C.autocomplete,
9122
9148
  class: p(["r-dropdown__input", {
@@ -9127,13 +9153,13 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9127
9153
  readonly: U.value,
9128
9154
  role: "presentation",
9129
9155
  type: "text",
9130
- onInput: t1((c) => g(v), ["prevent"]),
9156
+ onInput: t1((c) => f(w), ["prevent"]),
9131
9157
  onKeydown: [
9132
- q1((c) => w(c, L.value[L.value.length - 1], v), ["backspace"]),
9133
- q1((c) => T(c, v), ["enter"])
9158
+ j1((c) => k(c, L.value[L.value.length - 1], w), ["backspace"]),
9159
+ j1((c) => y(c, w), ["enter"])
9134
9160
  ]
9135
9161
  }, null, 42, X5), [
9136
- [g2, e.value]
9162
+ [k2, e.value]
9137
9163
  ])
9138
9164
  ]),
9139
9165
  C.clearable ? (t(), r("div", {
@@ -9141,9 +9167,9 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9141
9167
  id: C.id ? `${C.id}-clearable-icon` : "clearable-icon",
9142
9168
  class: "r-dropdown__clearable",
9143
9169
  "data-has-value": (e.value !== "" || L.value.length) && A.value,
9144
- onClick: (c) => N(c, v)
9170
+ onClick: (c) => N(c, w)
9145
9171
  }, [
9146
- f(Z.$slots, "clearable", {}, () => [
9172
+ h(Z.$slots, "clearable", {}, () => [
9147
9173
  q(D, {
9148
9174
  name: "mdiCloseCircle",
9149
9175
  size: "18"
@@ -9157,7 +9183,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9157
9183
  "r-dropdown__append-icon--error": C.errorMsg
9158
9184
  }])
9159
9185
  }, [
9160
- f(Z.$slots, "append", {
9186
+ h(Z.$slots, "append", {
9161
9187
  active: A.value,
9162
9188
  disabled: C.disabled,
9163
9189
  error: C.errorMsg.length,
@@ -9171,7 +9197,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9171
9197
  ], 2)) : O("", !0)
9172
9198
  ], 10, z5)
9173
9199
  ]),
9174
- content: B1(({ hide: v, updatePosition: x }) => [
9200
+ content: B1(({ hide: w, updatePosition: x }) => [
9175
9201
  u("ul", {
9176
9202
  class: p(["r-dropdown-options", {
9177
9203
  "r-dropdown-options--active": A.value,
@@ -9184,7 +9210,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9184
9210
  "r-dropdown-options__option--active": L.value.length === P.value.length,
9185
9211
  "r-dropdown-options__option--disabled": !1
9186
9212
  }]),
9187
- onClick: t1((c) => y(c, { label: C.selectAllText, value: "select-all" }, v, x), ["prevent"])
9213
+ onClick: t1((c) => B(c, { label: C.selectAllText, value: "select-all" }, w, x), ["prevent"])
9188
9214
  }, [
9189
9215
  u("div", C3, [
9190
9216
  u("p", H3, b(C.selectAllText), 1)
@@ -9206,15 +9232,15 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9206
9232
  "r-dropdown-options__option--disabled": c.disabled,
9207
9233
  "r-dropdown-options__option--deselect": F(c) && C.disableDeselect
9208
9234
  }]),
9209
- onClick: t1((Q) => y(Q, c, v, x), ["prevent"])
9235
+ onClick: t1((Q) => B(Q, c, w, x), ["prevent"])
9210
9236
  }, [
9211
- f(Z.$slots, "option", {
9237
+ h(Z.$slots, "option", {
9212
9238
  disabled: c.disabled,
9213
9239
  isSelected: F(c),
9214
9240
  item: c
9215
9241
  }, () => [
9216
9242
  u("div", M3, [
9217
- f(Z.$slots, "option-prepend", {
9243
+ h(Z.$slots, "option-prepend", {
9218
9244
  disabled: c.disabled,
9219
9245
  isSelected: F(c)
9220
9246
  }, () => [
@@ -9232,7 +9258,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9232
9258
  }])
9233
9259
  }, b(c.label), 3)
9234
9260
  ]),
9235
- f(Z.$slots, "option-append", {
9261
+ h(Z.$slots, "option-append", {
9236
9262
  disabled: c.disabled,
9237
9263
  isSelected: F(c)
9238
9264
  }, () => [
@@ -9247,7 +9273,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9247
9273
  ])
9248
9274
  ], 10, L3))), 128)),
9249
9275
  P.value.length === 0 ? (t(), r("li", i3, [
9250
- f(Z.$slots, "not-options", {}, () => [
9276
+ h(Z.$slots, "not-options", {}, () => [
9251
9277
  S1(b(C.noOptionsText), 1)
9252
9278
  ])
9253
9279
  ])) : O("", !0)
@@ -9261,7 +9287,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9261
9287
  ]))
9262
9288
  ], 512));
9263
9289
  }
9264
- }), m3 = ["id", "for"], c2 = /* @__PURE__ */ R({
9290
+ }), m3 = ["id", "for"], O2 = /* @__PURE__ */ R({
9265
9291
  __name: "RLabel",
9266
9292
  props: {
9267
9293
  id: { default: "" },
@@ -9275,7 +9301,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9275
9301
  class: "r-label",
9276
9302
  for: V.for
9277
9303
  }, [
9278
- f(C.$slots, "default", {}, () => [
9304
+ h(C.$slots, "default", {}, () => [
9279
9305
  S1(b(V.text), 1)
9280
9306
  ])
9281
9307
  ], 8, m3));
@@ -9308,23 +9334,23 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9308
9334
  },
9309
9335
  emits: ["update:modelValue"],
9310
9336
  setup(H, { emit: V }) {
9311
- const C = H, M = V, i = h(() => ({
9337
+ const C = H, M = V, i = g(() => ({
9312
9338
  "r-dialog": !0,
9313
9339
  "r-dialog--block": C.block,
9314
9340
  "p-0 gap-0": C.clearContent,
9315
9341
  [`${C.class}`]: !0
9316
- })), L = h(() => ({
9342
+ })), L = g(() => ({
9317
9343
  width: C.width,
9318
9344
  height: C.height
9319
9345
  }));
9320
9346
  function A(e) {
9321
9347
  C.outsideClick && e.target === e.currentTarget && M("update:modelValue", !1);
9322
9348
  }
9323
- return k2(() => {
9349
+ return A2(() => {
9324
9350
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9325
9351
  }), window.addEventListener("keydown", (e) => {
9326
9352
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9327
- }), (e, d) => i2((t(), r("div", {
9353
+ }), (e, d) => e2((t(), r("div", {
9328
9354
  class: p(["r-modal-overlay", e.overlayClass]),
9329
9355
  onClick: t1(A, ["stop"])
9330
9356
  }, [
@@ -9335,9 +9361,9 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9335
9361
  role: "dialog",
9336
9362
  style: G1(L.value)
9337
9363
  }, [
9338
- f(e.$slots, "wrapper", {}, () => [
9364
+ h(e.$slots, "wrapper", {}, () => [
9339
9365
  u("div", n3, [
9340
- f(e.$slots, "header"),
9366
+ h(e.$slots, "header"),
9341
9367
  C.icon ? (t(), r("div", r3, [
9342
9368
  q(D, {
9343
9369
  name: C.icon
@@ -9347,10 +9373,10 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9347
9373
  C.description ? (t(), r("div", Z3, b(C.description), 1)) : O("", !0)
9348
9374
  ]),
9349
9375
  u("div", u3, [
9350
- f(e.$slots, "default")
9376
+ h(e.$slots, "default")
9351
9377
  ]),
9352
9378
  u("div", S3, [
9353
- f(e.$slots, "actions")
9379
+ h(e.$slots, "actions")
9354
9380
  ])
9355
9381
  ])
9356
9382
  ], 14, o3)
@@ -9378,7 +9404,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9378
9404
  class: p(["r-sidebar", [C.class]]),
9379
9405
  "data-open": C.modelValue
9380
9406
  }, [
9381
- f(i.$slots, "default", {
9407
+ h(i.$slots, "default", {
9382
9408
  open: C.modelValue
9383
9409
  })
9384
9410
  ], 10, c3),
@@ -9388,7 +9414,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9388
9414
  "data-open": C.modelValue,
9389
9415
  onClick: L[0] || (L[0] = (A) => M("update:modelValue", !C.modelValue))
9390
9416
  }, [
9391
- f(i.$slots, "trigger", {
9417
+ h(i.$slots, "trigger", {
9392
9418
  open: C.modelValue
9393
9419
  }, () => [
9394
9420
  S1(" > ")
@@ -9421,14 +9447,14 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9421
9447
  immediate: !0
9422
9448
  }
9423
9449
  );
9424
- const i = h(() => ({
9450
+ const i = g(() => ({
9425
9451
  "r-snackbar": !0,
9426
9452
  [`r-snackbar--${C.variant}`]: !0,
9427
9453
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
9428
9454
  [C.modelValue ? "r-snackbar--shown" : "r-snackbar--hidden"]: !0,
9429
9455
  [C.top ? "r-snackbar__top" : "r-snackbar__bottom"]: !0,
9430
9456
  "r-snackbar--closable": C.closable
9431
- })), L = h(() => ({
9457
+ })), L = g(() => ({
9432
9458
  success: "mdiCheckCircle",
9433
9459
  error: "mdiAlertCircle",
9434
9460
  warning: "mdiAlert",
@@ -9437,7 +9463,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9437
9463
  return (A, e) => (t(), r("div", {
9438
9464
  class: p(i.value)
9439
9465
  }, [
9440
- f(A.$slots, "icon", {}, () => [
9466
+ h(A.$slots, "icon", {}, () => [
9441
9467
  C.variant ? (t(), _(D, {
9442
9468
  key: 0,
9443
9469
  class: "r-snackbar__icon",
@@ -9445,7 +9471,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9445
9471
  }, null, 8, ["name"])) : O("", !0)
9446
9472
  ]),
9447
9473
  u("div", O3, [
9448
- f(A.$slots, "default", {}, () => [
9474
+ h(A.$slots, "default", {}, () => [
9449
9475
  S1(b(C.text), 1)
9450
9476
  ])
9451
9477
  ]),
@@ -9454,7 +9480,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9454
9480
  class: "r-snackbar__close",
9455
9481
  onClick: e[0] || (e[0] = t1((d) => A.$emit("update:modelValue", !1), ["stop"]))
9456
9482
  }, [
9457
- f(A.$slots, "close", {}, () => [
9483
+ h(A.$slots, "close", {}, () => [
9458
9484
  q(D, {
9459
9485
  name: "mdiClose",
9460
9486
  size: 16
@@ -9490,7 +9516,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9490
9516
  setup(H, { emit: V }) {
9491
9517
  const C = H, M = V, i = E({
9492
9518
  checked: !1
9493
- }), L = h(() => ({
9519
+ }), L = g(() => ({
9494
9520
  "r-switch": !0,
9495
9521
  "r-switch--disabled": C.disabled,
9496
9522
  [`r-switch--${C.size}`]: C.size,
@@ -9563,14 +9589,14 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9563
9589
  },
9564
9590
  emits: ["update:modelValue"],
9565
9591
  setup(H, { emit: V }) {
9566
- const C = H, M = V, i = h(() => ({
9592
+ const C = H, M = V, i = g(() => ({
9567
9593
  "r-tab-item": !0,
9568
9594
  [`r-tab-item--${C.variant}`]: !0,
9569
9595
  "r-tab-item--tile": C.tile,
9570
9596
  "r-tab-item--block": C.block
9571
- })), L = h(() => ({
9597
+ })), L = g(() => ({
9572
9598
  color: C.color
9573
- })), A = h(() => C.modelValue === C.id);
9599
+ })), A = g(() => C.modelValue === C.id);
9574
9600
  function e(d) {
9575
9601
  M("update:modelValue", d);
9576
9602
  }
@@ -9580,9 +9606,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9580
9606
  class: p(i.value),
9581
9607
  disabled: C.disabled,
9582
9608
  style: G1(L.value),
9583
- onClick: m[0] || (m[0] = t1((n) => e(C.id), ["stop"]))
9609
+ onClick: m[0] || (m[0] = t1((o) => e(C.id), ["stop"]))
9584
9610
  }, [
9585
- f(d.$slots, "prepend", {
9611
+ h(d.$slots, "prepend", {
9586
9612
  active: A.value,
9587
9613
  disabled: C.disabled
9588
9614
  }, () => [
@@ -9594,13 +9620,13 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9594
9620
  }, null, 8, ["name"])) : O("", !0)
9595
9621
  ]),
9596
9622
  C.variant !== J(a1).ICON ? (t(), r("span", v3, [
9597
- f(d.$slots, "default", {
9623
+ h(d.$slots, "default", {
9598
9624
  label: C.label
9599
9625
  }, () => [
9600
9626
  S1(b(C.label), 1)
9601
9627
  ])
9602
9628
  ])) : O("", !0),
9603
- f(d.$slots, "append", {
9629
+ h(d.$slots, "append", {
9604
9630
  active: A.value,
9605
9631
  disabled: C.disabled
9606
9632
  }, () => [
@@ -9624,7 +9650,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9624
9650
  },
9625
9651
  emits: ["update:modelValue"],
9626
9652
  setup(H, { emit: V }) {
9627
- const C = H, M = V, i = E(C.modelValue || C.tabs[0].id), L = h(() => ({
9653
+ const C = H, M = V, i = E(C.modelValue || C.tabs[0].id), L = g(() => ({
9628
9654
  "r-tabs": !0,
9629
9655
  "r-tabs--tile": C.tile
9630
9656
  }));
@@ -9651,12 +9677,12 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9651
9677
  "gap-0.5": C.tile
9652
9678
  }]])
9653
9679
  }, [
9654
- f(A.$slots, "default", { activeTab: i.value }, () => [
9680
+ h(A.$slots, "default", { activeTab: i.value }, () => [
9655
9681
  (t(!0), r(H1, null, d1(C.tabs, (d, m) => (t(), _(y3, {
9656
9682
  id: d.id,
9657
9683
  key: m,
9658
9684
  modelValue: i.value,
9659
- "onUpdate:modelValue": e[0] || (e[0] = (n) => i.value = n),
9685
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => i.value = o),
9660
9686
  active: m === i.value,
9661
9687
  "append-icon": d.appendIcon,
9662
9688
  block: A.block,
@@ -9708,7 +9734,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9708
9734
  immediate: !0
9709
9735
  }
9710
9736
  ), (A, e) => (t(), r("div", P3, [
9711
- C.label ? (t(), _(c2, {
9737
+ C.label ? (t(), _(O2, {
9712
9738
  key: 0,
9713
9739
  id: `${C.id}-label`,
9714
9740
  class: "r-textarea__label",
@@ -9779,48 +9805,48 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9779
9805
  url: "mdiLink",
9780
9806
  number: "mdiNumeric",
9781
9807
  text: ""
9782
- }, d = E(!1), m = h(() => !!L.value), n = h(() => L.value.length > 0), a = h(() => {
9783
- var g;
9784
- return (g = C.errorMsg) == null ? void 0 : g.length;
9785
- }), o = h(() => C.clearable && n.value), l = h(() => {
9786
- const { disabled: g, loading: N } = C;
9808
+ }, d = E(!1), m = g(() => !!L.value), o = g(() => L.value.length > 0), a = g(() => {
9809
+ var f;
9810
+ return (f = C.errorMsg) == null ? void 0 : f.length;
9811
+ }), n = g(() => C.clearable && o.value), l = g(() => {
9812
+ const { disabled: f, loading: N } = C;
9787
9813
  return {
9788
9814
  "r-textfield": !0,
9789
9815
  "r-textfield--error": a.value,
9790
9816
  "r-textfield--loading": N,
9791
- "r-textfield--disabled": g,
9792
- "r-textfield--clearable": o.value,
9817
+ "r-textfield--disabled": f,
9818
+ "r-textfield--clearable": n.value,
9793
9819
  "r-textfield--focus": d.value,
9794
9820
  "r-textfield--filled": m.value
9795
9821
  };
9796
- }), S = h(() => ({
9822
+ }), S = g(() => ({
9797
9823
  "r-textfield__prepend-icon": !0,
9798
9824
  "r-textfield__prepend-icon--loading": C.loading,
9799
9825
  "r-textfield__prepend-icon--error": a.value && m.value
9800
- })), B = h(() => ({
9826
+ })), v = g(() => ({
9801
9827
  "r-textfield__append-icon": !0,
9802
- "r-textfield__append-icon--clear": o.value,
9828
+ "r-textfield__append-icon--clear": n.value,
9803
9829
  "r-textfield__append-icon--error": a.value
9804
- })), y = h(() => {
9805
- const { prependIcon: g, type: N } = C;
9806
- return g === "none" ? "" : g || e[N];
9807
- }), k = h(() => {
9808
- const { appendIcon: g, type: N } = C;
9809
- 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;
9830
+ })), B = g(() => {
9831
+ const { prependIcon: f, type: N } = C;
9832
+ return f === "none" ? "" : f || e[N];
9833
+ }), T = g(() => {
9834
+ const { appendIcon: f, type: N } = C;
9835
+ return f === "none" ? "" : a.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && A.value === "password" ? "mdiEyeOutline" : N === "password" && A.value === "text" ? "mdiEyeOffOutline" : f;
9810
9836
  });
9811
- function w(g) {
9812
- d.value = !0, M("focus", g);
9837
+ function k(f) {
9838
+ d.value = !0, M("focus", f);
9813
9839
  }
9814
- function T(g) {
9815
- d.value = !1, M("blur", g);
9840
+ function y(f) {
9841
+ d.value = !1, M("blur", f);
9816
9842
  }
9817
- function F(g) {
9818
- L.value = g.target.value, M("input", g);
9843
+ function F(f) {
9844
+ L.value = f.target.value, M("input", f);
9819
9845
  }
9820
9846
  function P() {
9821
- var g;
9822
- if (o.value) {
9823
- L.value = "", (g = i.value) == null || g.focus(), M("click:clear", {
9847
+ var f;
9848
+ if (n.value) {
9849
+ L.value = "", (f = i.value) == null || f.focus(), M("click:clear", {
9824
9850
  value: A.value === "number" ? +L.value : L.value
9825
9851
  });
9826
9852
  return;
@@ -9833,27 +9859,27 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9833
9859
  A.value = A.value === "password" ? "text" : "password";
9834
9860
  }
9835
9861
  function W() {
9836
- var g;
9837
- (g = i.value) == null || g.focus();
9862
+ var f;
9863
+ (f = i.value) == null || f.focus();
9838
9864
  }
9839
9865
  return G(
9840
9866
  () => C.modelValue,
9841
- (g) => {
9842
- L.value = g;
9867
+ (f) => {
9868
+ L.value = f;
9843
9869
  },
9844
9870
  {
9845
9871
  immediate: !0
9846
9872
  }
9847
9873
  ), G(
9848
9874
  () => L.value,
9849
- (g) => {
9875
+ (f) => {
9850
9876
  M(
9851
9877
  "update:modelValue",
9852
- A.value === "number" ? +g : g
9878
+ A.value === "number" ? +f : f
9853
9879
  );
9854
9880
  }
9855
- ), (g, N) => (t(), r("div", D3, [
9856
- C.label ? (t(), _(c2, {
9881
+ ), (f, N) => (t(), r("div", D3, [
9882
+ C.label ? (t(), _(O2, {
9857
9883
  key: 0,
9858
9884
  id: `${C.id}-label`,
9859
9885
  class: "r-textfield__label",
@@ -9865,19 +9891,19 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9865
9891
  u("div", {
9866
9892
  class: p(l.value)
9867
9893
  }, [
9868
- f(g.$slots, "prepend", {
9894
+ h(f.$slots, "prepend", {
9869
9895
  disabled: C.disabled,
9870
9896
  error: a.value,
9871
9897
  loading: C.loading
9872
9898
  }, () => [
9873
- y.value ? (t(), _(D, {
9899
+ B.value ? (t(), _(D, {
9874
9900
  key: 0,
9875
9901
  class: p(S.value),
9876
- name: y.value,
9902
+ name: B.value,
9877
9903
  size: 20
9878
9904
  }, null, 8, ["class", "name"])) : O("", !0)
9879
9905
  ]),
9880
- u("input", T1(g.$attrs, {
9906
+ u("input", T1(f.$attrs, {
9881
9907
  id: C.id,
9882
9908
  ref_key: "inputRef",
9883
9909
  ref: i,
@@ -9889,25 +9915,25 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9889
9915
  role: C.role,
9890
9916
  type: A.value,
9891
9917
  value: L.value,
9892
- onBlur: T,
9893
- onFocus: w,
9918
+ onBlur: y,
9919
+ onFocus: k,
9894
9920
  onInput: F
9895
9921
  }), null, 16, E3),
9896
- f(g.$slots, "append", {
9922
+ h(f.$slots, "append", {
9897
9923
  disabled: C.disabled,
9898
9924
  error: a.value,
9899
9925
  loading: C.loading
9900
9926
  }, () => [
9901
- g.$props.type === "password" && a.value ? (t(), _(D, {
9927
+ f.$props.type === "password" && a.value ? (t(), _(D, {
9902
9928
  key: 0,
9903
9929
  name: A.value === "password" ? "mdiEyeOutline" : "mdiEyeOffOutline",
9904
9930
  size: 20,
9905
9931
  onClick: P
9906
9932
  }, null, 8, ["name"])) : O("", !0),
9907
- k.value && !g.$slots.append || a.value ? (t(), _(D, {
9933
+ T.value && !f.$slots.append || a.value ? (t(), _(D, {
9908
9934
  key: 1,
9909
- class: p(B.value),
9910
- name: `${k.value}`,
9935
+ class: p(v.value),
9936
+ name: `${T.value}`,
9911
9937
  size: 20,
9912
9938
  onClick: P
9913
9939
  }, null, 8, ["class", "name"])) : O("", !0)
@@ -9943,7 +9969,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9943
9969
  to: L.to
9944
9970
  }, {
9945
9971
  default: B1(() => [
9946
- f(C.$slots, "item-icon", {}, () => [
9972
+ h(C.$slots, "item-icon", {}, () => [
9947
9973
  L.icon ? (t(), _(D, {
9948
9974
  key: 0,
9949
9975
  name: L.icon
@@ -9953,7 +9979,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9953
9979
  ]),
9954
9980
  _: 2
9955
9981
  }, 1032, ["to"]),
9956
- f(C.$slots, "custom-seperator", {}, () => [
9982
+ h(C.$slots, "custom-seperator", {}, () => [
9957
9983
  A !== C.items.length - 1 && V.seperator ? (t(), _(D, {
9958
9984
  key: 0,
9959
9985
  class: "r-breadcrumb__separator",
@@ -10007,27 +10033,27 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10007
10033
  },
10008
10034
  emits: ["update:page", "update:perPage", "update:info"],
10009
10035
  setup(H, { emit: V }) {
10010
- const C = H, M = V, i = E(C.perPage || 10), L = h(() => Math.ceil(C.totalItems / C.perPage)), A = h(() => ({
10036
+ const C = H, M = V, i = E(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), A = g(() => ({
10011
10037
  start: C.page * C.perPage - C.perPage,
10012
10038
  end: C.page * C.perPage
10013
- })), e = h(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = h(() => +C.page == +L.value), m = h(() => +C.page == 1);
10039
+ })), e = g(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = g(() => +C.page == +L.value), m = g(() => +C.page == 1);
10014
10040
  G(() => A.value, () => {
10015
10041
  M("update:info", A.value);
10016
10042
  }), G(() => C.perPage, () => {
10017
- i.value = C.perPage, n(1);
10043
+ i.value = C.perPage, o(1);
10018
10044
  });
10019
- function n(o) {
10020
- const l = Math.ceil(o);
10045
+ function o(n) {
10046
+ const l = Math.ceil(n);
10021
10047
  l < 1 || l > L.value || M("update:page", l);
10022
10048
  }
10023
- function a({ value: o }) {
10024
- if (o) {
10025
- M("update:perPage", o);
10049
+ function a({ value: n }) {
10050
+ if (n) {
10051
+ M("update:perPage", n);
10026
10052
  return;
10027
10053
  }
10028
10054
  M("update:perPage", 10);
10029
10055
  }
10030
- return (o, l) => (t(), r("div", {
10056
+ return (n, l) => (t(), r("div", {
10031
10057
  class: p(["r-pagination", [`r-pagination--${C.position}`]])
10032
10058
  }, [
10033
10059
  u("div", $3, [
@@ -10049,9 +10075,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10049
10075
  u("button", {
10050
10076
  class: "r-pagination__paginator__first",
10051
10077
  disabled: m.value,
10052
- onClick: l[1] || (l[1] = (S) => n(1))
10078
+ onClick: l[1] || (l[1] = (S) => o(1))
10053
10079
  }, [
10054
- f(o.$slots, "first", {}, () => [
10080
+ h(n.$slots, "first", {}, () => [
10055
10081
  (t(), r("svg", {
10056
10082
  class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": m.value }]),
10057
10083
  fill: "none",
@@ -10069,9 +10095,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10069
10095
  u("button", {
10070
10096
  class: "r-pagination__paginator__prev",
10071
10097
  disabled: m.value,
10072
- onClick: l[2] || (l[2] = (S) => n(+C.page - 1))
10098
+ onClick: l[2] || (l[2] = (S) => o(+C.page - 1))
10073
10099
  }, [
10074
- f(o.$slots, "prev", {}, () => [
10100
+ h(n.$slots, "prev", {}, () => [
10075
10101
  (t(), r("svg", {
10076
10102
  class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": m.value }]),
10077
10103
  fill: "none",
@@ -10089,9 +10115,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10089
10115
  u("button", {
10090
10116
  class: "r-pagination__paginator__next",
10091
10117
  disabled: d.value,
10092
- onClick: l[3] || (l[3] = (S) => n(+C.page + 1))
10118
+ onClick: l[3] || (l[3] = (S) => o(+C.page + 1))
10093
10119
  }, [
10094
- f(o.$slots, "next", {}, () => [
10120
+ h(n.$slots, "next", {}, () => [
10095
10121
  (t(), r("svg", {
10096
10122
  class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10097
10123
  fill: "none",
@@ -10109,9 +10135,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10109
10135
  u("button", {
10110
10136
  class: "r-pagination__paginator__last",
10111
10137
  disabled: C.page === L.value,
10112
- onClick: l[4] || (l[4] = (S) => n(L.value))
10138
+ onClick: l[4] || (l[4] = (S) => o(L.value))
10113
10139
  }, [
10114
- f(o.$slots, "last", {}, () => [
10140
+ h(n.$slots, "last", {}, () => [
10115
10141
  (t(), r("svg", {
10116
10142
  class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10117
10143
  fill: "none",
@@ -10159,14 +10185,14 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10159
10185
  },
10160
10186
  emits: ["update:modelValue"],
10161
10187
  setup(H, { emit: V }) {
10162
- const C = H, M = V, i = E(C.as ?? "div"), L = E(C.modelValue), A = h(() => C.selectedClass);
10188
+ const C = H, M = V, i = E(C.as ?? "div"), L = E(C.modelValue), A = g(() => C.selectedClass);
10163
10189
  f1(`${g1}:selectedClass`, A.value);
10164
- function e(n) {
10165
- return L.value.includes(n);
10190
+ function e(o) {
10191
+ return L.value.includes(o);
10166
10192
  }
10167
10193
  f1(`${g1}:isSelected`, e);
10168
- function d(n, a) {
10169
- 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));
10194
+ function d(o, a) {
10195
+ C.disabled || C.mandatory && L.value.length === 1 && !a || C.max && L.value.length === C.max && a || (C.multiple ? a ? L.value.push(o) : L.value = L.value.filter((n) => n !== o) : L.value = o ? [o] : [], M("update:modelValue", L.value));
10170
10196
  }
10171
10197
  f1(`${g1}:select`, d);
10172
10198
  function m() {
@@ -10174,9 +10200,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10174
10200
  }
10175
10201
  return f1(`${g1}:isDisabled`, m), G(() => C.modelValue, () => {
10176
10202
  L.value = C.modelValue;
10177
- }), (n, a) => (t(), _(w2(i.value), null, {
10203
+ }), (o, a) => (t(), _(w2(i.value), null, {
10178
10204
  default: B1(() => [
10179
- f(n.$slots, "default", {
10205
+ h(o.$slots, "default", {
10180
10206
  isSelected: e,
10181
10207
  select: d,
10182
10208
  selected: L.value
@@ -10192,14 +10218,14 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10192
10218
  selectedClass: { default: "" }
10193
10219
  },
10194
10220
  setup(H) {
10195
- const V = H, C = h1(`${k1}:isSelected`), M = h1(`${k1}:selectedClass`, ""), i = h1(`${k1}:select`), L = h1(`${k1}:isDisabled`), A = h(() => C(V.value) && [M, V.selectedClass]);
10221
+ const V = H, C = h1(`${k1}:isSelected`), M = h1(`${k1}:selectedClass`, ""), i = h1(`${k1}:select`), L = h1(`${k1}:isDisabled`), A = g(() => C(V.value) && [M, V.selectedClass]);
10196
10222
  function e() {
10197
10223
  V.disabled || i(V.value, !C(V.value));
10198
10224
  }
10199
10225
  function d() {
10200
10226
  V.disabled || i(V.value, !0);
10201
10227
  }
10202
- return (m, n) => f(m.$slots, "default", {
10228
+ return (m, o) => h(m.$slots, "default", {
10203
10229
  disabled: J(L)(V.value),
10204
10230
  isSelected: J(C)(V.value),
10205
10231
  select: d,
@@ -10225,7 +10251,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10225
10251
  },
10226
10252
  emits: ["update:modelValue"],
10227
10253
  setup(H) {
10228
- const V = H, C = E(V.modelValue), M = h(() => [
10254
+ const V = H, C = E(V.modelValue), M = g(() => [
10229
10255
  "r-radio group",
10230
10256
  {
10231
10257
  "r-radio--disabled": V.disabled,
@@ -10283,7 +10309,7 @@ export {
10283
10309
  D as RIcon,
10284
10310
  F0 as RItem,
10285
10311
  T0 as RItemGroup,
10286
- c2 as RLabel,
10312
+ O2 as RLabel,
10287
10313
  f0 as RModal,
10288
10314
  y0 as RPagination,
10289
10315
  P0 as RProgressbar,