@rocketui/vue 0.2.80 → 0.3.0-alpha.2

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 (165) hide show
  1. package/README.md +47 -1
  2. package/dist/rocket-ui-vue.d.ts +3414 -0
  3. package/dist/rocket-ui-vue.js +847 -747
  4. package/dist/rocket-ui-vue.umd.cjs +10 -1
  5. package/dist/style.css +1 -1
  6. package/package.json +9 -2
  7. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -116
  8. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  9. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -70
  10. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  11. package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
  12. package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
  13. package/dist/src/components/Alert/Alert.stories.d.ts +0 -461
  14. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  15. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -109
  16. package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
  17. package/dist/src/components/Alert/alert.spec.d.ts +0 -2
  18. package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
  19. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
  20. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
  21. package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
  22. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  23. package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
  24. package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
  25. package/dist/src/components/Badge/Badge.stories.d.ts +0 -281
  26. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  27. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -143
  28. package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
  29. package/dist/src/components/Badge/badge.spec.d.ts +0 -2
  30. package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
  31. package/dist/src/components/Box/Box.stories.d.ts +0 -167
  32. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  33. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
  34. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  35. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  36. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  37. package/dist/src/components/Button/Button.spec.d.ts +0 -2
  38. package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
  39. package/dist/src/components/Button/Button.stories.d.ts +0 -553
  40. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  41. package/dist/src/components/Button/RButton.vue.d.ts +0 -155
  42. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  43. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
  44. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  45. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  46. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  47. package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
  48. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
  49. package/dist/src/components/Chips/Chip.stories.d.ts +0 -547
  50. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  51. package/dist/src/components/Chips/RChip.vue.d.ts +0 -132
  52. package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
  53. package/dist/src/components/Chips/chip.spec.d.ts +0 -2
  54. package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
  55. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -690
  56. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  57. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -418
  58. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  59. package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
  60. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
  61. package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
  62. package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
  63. package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
  64. package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
  65. package/dist/src/components/Icon/icon.spec.d.ts +0 -2
  66. package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
  67. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
  68. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  69. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -65
  70. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  71. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  72. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  73. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
  74. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
  75. package/dist/src/components/Label/Label.stories.d.ts +0 -133
  76. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  77. package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
  78. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  79. package/dist/src/components/Modal/Modal.stories.d.ts +0 -343
  80. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  81. package/dist/src/components/Modal/RModal.vue.d.ts +0 -183
  82. package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
  83. package/dist/src/components/Modal/modal.spec.d.ts +0 -2
  84. package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
  85. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -243
  86. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  87. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -110
  88. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
  89. package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
  90. package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
  91. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
  92. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
  93. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  94. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  95. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
  96. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
  97. package/dist/src/components/Radio/RRadio.vue.d.ts +0 -66
  98. package/dist/src/components/Radio/RRadio.vue.d.ts.map +0 -1
  99. package/dist/src/components/Radio/Radio.stories.d.ts +0 -100
  100. package/dist/src/components/Radio/Radio.stories.d.ts.map +0 -1
  101. package/dist/src/components/Shared/Enums.d.ts +0 -2
  102. package/dist/src/components/Shared/Enums.d.ts.map +0 -1
  103. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -53
  104. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  105. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -163
  106. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
  107. package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
  108. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
  109. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  110. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  111. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
  112. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
  113. package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
  114. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
  115. package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -135
  116. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  117. package/dist/src/components/Switch/Switch.stories.d.ts +0 -102
  118. package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
  119. package/dist/src/components/Switch/switch.spec.d.ts +0 -2
  120. package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
  121. package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -155
  122. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  123. package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
  124. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
  125. package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -290
  126. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
  127. package/dist/src/components/TabItem/common.d.ts +0 -7
  128. package/dist/src/components/TabItem/common.d.ts.map +0 -1
  129. package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -95
  130. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
  131. package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
  132. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
  133. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -181
  134. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  135. package/dist/src/components/Tabs/types.d.ts +0 -11
  136. package/dist/src/components/Tabs/types.d.ts.map +0 -1
  137. package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -120
  138. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  139. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
  140. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
  141. package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
  142. package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
  143. package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -249
  144. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  145. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -459
  146. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
  147. package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
  148. package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
  149. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -264
  150. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  151. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -482
  152. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  153. package/dist/src/components/Tooltip/popper.d.ts +0 -29
  154. package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
  155. package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
  156. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
  157. package/dist/src/directives/index.d.ts +0 -5
  158. package/dist/src/directives/index.d.ts.map +0 -1
  159. package/dist/src/lib/main.d.ts +0 -26
  160. package/dist/src/lib/main.d.ts.map +0 -1
  161. package/dist/src/main.d.ts +0 -1
  162. package/dist/src/main.d.ts.map +0 -1
  163. package/dist/src/shims.d.ts +0 -9
  164. package/dist/src/utils/helpers.d.ts +0 -2
  165. package/dist/src/utils/helpers.d.ts.map +0 -1
@@ -1,5 +1,5 @@
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
- const v2 = {
1
+ import { defineComponent as R, openBlock as m, createElementBlock as a, createElementVNode as u, unref as J, reactive as T1, Fragment as H1, renderList as t1, normalizeClass as p, renderSlot as h, toDisplayString as b, createVNode as q, computed as g, createCommentVNode as O, mergeProps as F1, createBlock as _, watch as G, getCurrentScope as h2, onScopeDispose as g2, ref as E, watchEffect as j1, onMounted as A2, onUnmounted as e2, Teleport as k2, withCtx as b1, withDirectives as t2, withModifiers as d1, withKeys as X1, vModelText as B2, createTextVNode as s1, normalizeStyle as $1, vShow as b2, resolveComponent as w2, provide as h1, resolveDynamicComponent as v2, inject as g1 } from "vue";
2
+ const y2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
5
5
  mdiAbjadArabic: "M12 4C10.08 4 8.5 5.58 8.5 7.5C8.5 8.43 8.88 9.28 9.5 9.91C7.97 10.91 7 12.62 7 14.5C7 17.53 9.47 20 12.5 20C14.26 20 16 19.54 17.5 18.66L16.5 16.93C15.28 17.63 13.9 18 12.5 18C10.56 18 9 16.45 9 14.5C9 12.91 10.06 11.53 11.59 11.12L16.8 9.72L16.28 7.79L11.83 9C11.08 8.9 10.5 8.28 10.5 7.5C10.5 6.66 11.16 6 12 6C12.26 6 12.5 6.07 12.75 6.2L13.75 4.47C13.22 4.16 12.61 4 12 4Z",
@@ -7296,7 +7296,7 @@ const v2 = {
7296
7296
  mdiZodiacScorpio: "M17.71,15.29L16.29,16.71L17.59,18H16A2,2 0 0,1 14,16V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V16A4,4 0 0,0 16,20H17.59L16.29,21.29L17.71,22.71L21.41,19L17.71,15.29Z",
7297
7297
  mdiZodiacTaurus: "M15.59,9C17.7,7.74 19,5.46 19,3H17A5,5 0 0,1 12,8A5,5 0 0,1 7,3H5C5,5.46 6.3,7.74 8.41,9C5.09,11 4,15.28 6,18.6C7.97,21.92 12.27,23 15.59,21C18.91,19.04 20,14.74 18,11.42C17.42,10.43 16.58,9.59 15.59,9M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20Z",
7298
7298
  mdiZodiacVirgo: "M18.5,19.13C20,17.77 20,15.18 20,14A4,4 0 0,0 16,10C15.3,10 14.6,10.2 14,10.56V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V14C12,15.18 12,17.77 13.5,19.13C12.72,19.54 11.88,19.84 11,20V22C12.29,22 14.84,20.74 16,20.13C17.16,20.74 19.71,22 21,22V20C20.12,19.84 19.28,19.54 18.5,19.13M16,12A2,2 0 0,1 18,14C18,16.92 17.46,18 16,18C14.54,18 14,16.92 14,14A2,2 0 0,1 16,12Z"
7299
- }, y2 = ["height", "viewBox", "width"], P2 = ["d"], D = /* @__PURE__ */ R({
7299
+ }, P2 = ["height", "viewBox", "width"], T2 = ["d"], D = /* @__PURE__ */ R({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,25 +7305,25 @@ const v2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (t(), r("svg", {
7308
+ return (C, M) => (m(), a("svg", {
7309
7309
  class: "r-icon",
7310
7310
  height: V.size,
7311
7311
  viewBox: V.viewBox,
7312
7312
  width: V.size
7313
7313
  }, [
7314
7314
  u("path", {
7315
- d: J(v2)[V.name]
7316
- }, null, 8, P2)
7317
- ], 8, y2));
7315
+ d: J(y2)[V.name]
7316
+ }, null, 8, T2)
7317
+ ], 8, P2));
7318
7318
  }
7319
- }), T2 = ["data-state", "onClick"], F2 = { class: "r-accordion__header" }, R2 = { class: "r-accordion__title" }, x2 = { class: "r-accordion__icon" }, D2 = { class: "r-accordion__content" }, u0 = /* @__PURE__ */ R({
7319
+ }), F2 = ["data-state", "onClick"], R2 = { class: "r-accordion__header" }, x2 = { class: "r-accordion__title" }, D2 = { class: "r-accordion__icon" }, _2 = { class: "r-accordion__content" }, h0 = /* @__PURE__ */ R({
7320
7320
  __name: "RAccordion",
7321
7321
  props: {
7322
7322
  accordions: {},
7323
7323
  multiple: { type: Boolean }
7324
7324
  },
7325
7325
  setup(H) {
7326
- const V = H, C = P1(
7326
+ const V = H, C = T1(
7327
7327
  V.accordions.map(({ title: i, content: L }, A) => ({
7328
7328
  title: i,
7329
7329
  content: L,
@@ -7342,20 +7342,20 @@ const v2 = {
7342
7342
  });
7343
7343
  }
7344
7344
  }
7345
- return (i, L) => (t(!0), r(H1, null, d1(C, (A, e) => (t(), r("div", {
7345
+ return (i, L) => (m(!0), a(H1, null, t1(C, (A, e) => (m(), a("div", {
7346
7346
  key: e,
7347
7347
  class: p(["r-accordion", {
7348
7348
  "r-accordion--disabled": A.disabled,
7349
7349
  "cursor-pointer": !A.open
7350
7350
  }]),
7351
7351
  "data-state": A.open ? "opened" : "closed",
7352
- onClick: (d) => M(e)
7352
+ onClick: (t) => M(e)
7353
7353
  }, [
7354
- u("div", F2, [
7354
+ u("div", R2, [
7355
7355
  h(i.$slots, "title", { accordion: A }, () => [
7356
- u("div", R2, b(A.title), 1)
7356
+ u("div", x2, b(A.title), 1)
7357
7357
  ]),
7358
- u("div", x2, [
7358
+ u("div", D2, [
7359
7359
  h(i.$slots, "icon", {
7360
7360
  item: A,
7361
7361
  open: A.open
@@ -7364,20 +7364,20 @@ const v2 = {
7364
7364
  ])
7365
7365
  ])
7366
7366
  ]),
7367
- u("div", D2, [
7367
+ u("div", _2, [
7368
7368
  h(i.$slots, "content", { accordion: A }, () => [
7369
7369
  u("span", null, b(A.content), 1)
7370
7370
  ])
7371
7371
  ])
7372
- ], 10, T2))), 128));
7372
+ ], 10, F2))), 128));
7373
7373
  }
7374
- }), _2 = { class: "r-alert__icon" }, E2 = { class: "r-alert__content" }, W2 = { class: "r-alert__content__title" }, N2 = {
7374
+ }), E2 = { class: "r-alert__icon" }, W2 = { class: "r-alert__content" }, N2 = { class: "r-alert__content__title" }, I2 = {
7375
7375
  key: 0,
7376
7376
  class: "r-alert__content__description"
7377
- }, I2 = {
7377
+ }, Q2 = {
7378
7378
  key: 0,
7379
7379
  class: "r-alert__close"
7380
- }, S0 = /* @__PURE__ */ R({
7380
+ }, g0 = /* @__PURE__ */ R({
7381
7381
  __name: "RAlert",
7382
7382
  props: {
7383
7383
  type: { default: "info" },
@@ -7403,10 +7403,10 @@ const v2 = {
7403
7403
  function A() {
7404
7404
  M("close");
7405
7405
  }
7406
- return (e, d) => (t(), r("div", {
7406
+ return (e, t) => (m(), a("div", {
7407
7407
  class: p(i.value)
7408
7408
  }, [
7409
- u("div", _2, [
7409
+ u("div", E2, [
7410
7410
  h(e.$slots, "alert-icon", {}, () => [
7411
7411
  q(D, {
7412
7412
  name: L.value,
@@ -7414,13 +7414,13 @@ const v2 = {
7414
7414
  }, null, 8, ["name"])
7415
7415
  ])
7416
7416
  ]),
7417
- u("div", E2, [
7417
+ u("div", W2, [
7418
7418
  h(e.$slots, "content", {}, () => [
7419
- u("p", W2, b(C.title), 1),
7420
- C.description ? (t(), r("p", N2, b(C.description), 1)) : O("", !0)
7419
+ u("p", N2, b(C.title), 1),
7420
+ C.description ? (m(), a("p", I2, b(C.description), 1)) : O("", !0)
7421
7421
  ])
7422
7422
  ]),
7423
- C.closable ? (t(), r("div", I2, [
7423
+ C.closable ? (m(), a("div", Q2, [
7424
7424
  h(e.$slots, "custom-close", {
7425
7425
  close: A,
7426
7426
  slotClass: "r-alert__close__button"
@@ -7435,11 +7435,11 @@ const v2 = {
7435
7435
  ])) : O("", !0)
7436
7436
  ], 2));
7437
7437
  }
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({
7438
+ }), Y1 = "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", G2 = { class: "r-avatar__wrapper" }, $2 = ["alt", "src"], k0 = /* @__PURE__ */ R({
7439
7439
  __name: "RAvatar",
7440
7440
  props: {
7441
7441
  type: { default: "image" },
7442
- src: { default: X1 },
7442
+ src: { default: Y1 },
7443
7443
  alt: { default: "Avatar" },
7444
7444
  size: { default: "2xl" },
7445
7445
  online: { type: Boolean, default: !1 },
@@ -7449,19 +7449,19 @@ const v2 = {
7449
7449
  const V = H, C = g(() => ({
7450
7450
  "r-avatar": !0,
7451
7451
  [`r-avatar--${V.size}`]: !0
7452
- })), M = g(() => V.type === "image" && !V.src), i = g(() => M.value ? X1 : V.src);
7452
+ })), M = g(() => V.type === "image" && !V.src), i = g(() => M.value ? Y1 : V.src);
7453
7453
  function L(A) {
7454
7454
  const e = A.split(" ");
7455
7455
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7456
7456
  }
7457
- return (A, e) => (t(), r("div", Q2, [
7457
+ return (A, e) => (m(), a("div", G2, [
7458
7458
  u("div", {
7459
7459
  class: p(C.value)
7460
7460
  }, [
7461
- V.type === "text" ? (t(), r("p", {
7461
+ V.type === "text" ? (m(), a("p", {
7462
7462
  key: 0,
7463
7463
  class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7464
- }, b(L(V.text)), 3)) : (t(), r("img", {
7464
+ }, b(L(V.text)), 3)) : (m(), a("img", {
7465
7465
  key: 1,
7466
7466
  alt: V.alt,
7467
7467
  class: p(["r-avatar__image", {
@@ -7469,9 +7469,9 @@ const v2 = {
7469
7469
  "r-avatar__image--anonymous": M.value
7470
7470
  }]),
7471
7471
  src: i.value
7472
- }, null, 10, G2))
7472
+ }, null, 10, $2))
7473
7473
  ], 2),
7474
- V.online ? (t(), r("span", {
7474
+ V.online ? (m(), a("span", {
7475
7475
  key: 0,
7476
7476
  class: p(["r-avatar__online", {
7477
7477
  [`r-avatar__online--${V.size}`]: !0
@@ -7479,7 +7479,7 @@ const v2 = {
7479
7479
  }, null, 2)) : O("", !0)
7480
7480
  ]));
7481
7481
  }
7482
- }), $2 = ["innerHTML"], c0 = /* @__PURE__ */ R({
7482
+ }), U2 = ["innerHTML"], B0 = /* @__PURE__ */ R({
7483
7483
  __name: "RBadge",
7484
7484
  props: {
7485
7485
  variant: { default: "primary" },
@@ -7505,7 +7505,7 @@ const v2 = {
7505
7505
  [`r-badge--${V.variant}`]: V.variant,
7506
7506
  [V.class]: V.class
7507
7507
  }));
7508
- return (M, i) => (t(), r("div", {
7508
+ return (M, i) => (m(), a("div", {
7509
7509
  class: p(["r-badge-wrapper group", [V.wrapperClass]])
7510
7510
  }, [
7511
7511
  u("span", {
@@ -7514,11 +7514,11 @@ const v2 = {
7514
7514
  u("span", {
7515
7515
  class: p(C.value),
7516
7516
  innerHTML: V.content
7517
- }, null, 10, $2),
7517
+ }, null, 10, U2),
7518
7518
  h(M.$slots, "default")
7519
7519
  ], 2));
7520
7520
  }
7521
- }), U2 = ["disabled"], p0 = /* @__PURE__ */ R({
7521
+ }), z2 = ["disabled"], b0 = /* @__PURE__ */ R({
7522
7522
  __name: "RButton",
7523
7523
  props: {
7524
7524
  variant: { default: "default" },
@@ -7549,7 +7549,7 @@ const v2 = {
7549
7549
  })[V.size || "medium"]), i = g(() => ({
7550
7550
  height: V.height ? `${V.height}px` : ""
7551
7551
  }));
7552
- return (L, A) => (t(), r("button", T1(L.$attrs, {
7552
+ return (L, A) => (m(), a("button", F1(L.$attrs, {
7553
7553
  class: C.value,
7554
7554
  disabled: L.disabled,
7555
7555
  style: i.value,
@@ -7558,7 +7558,7 @@ const v2 = {
7558
7558
  h(L.$slots, "prepend", {
7559
7559
  onlyIcon: V.icon
7560
7560
  }, () => [
7561
- V.prependIcon ? (t(), _(D, {
7561
+ V.prependIcon ? (m(), _(D, {
7562
7562
  key: 0,
7563
7563
  class: p(["r-button__prepend-icon", {
7564
7564
  "r-button__prepend-icon--only": V.icon
@@ -7571,25 +7571,25 @@ const v2 = {
7571
7571
  h(L.$slots, "append", {
7572
7572
  onlyIcon: V.icon
7573
7573
  }, () => [
7574
- !V.icon && V.appendIcon ? (t(), _(D, {
7574
+ !V.icon && V.appendIcon ? (m(), _(D, {
7575
7575
  key: 0,
7576
7576
  class: "r-button__append-icon",
7577
7577
  name: V.appendIcon,
7578
7578
  size: M.value
7579
7579
  }, null, 8, ["name", "size"])) : O("", !0)
7580
7580
  ])
7581
- ], 16, U2));
7581
+ ], 16, z2));
7582
7582
  }
7583
- }), z2 = { class: "r-checkbox-wrapper" }, K2 = { class: "r-checkbox-container" }, q2 = ["id", "checked", "disabled", "indeterminate"], j2 = ["data-disabled"], X2 = { class: "r-checkbox-texts" }, Y2 = ["data-disabled", "for"], J2 = {
7583
+ }), K2 = { class: "r-checkbox-wrapper" }, q2 = { class: "r-checkbox-container" }, j2 = ["id", "checked", "disabled", "indeterminate"], X2 = ["data-disabled"], Y2 = { class: "r-checkbox-texts" }, J2 = ["data-disabled", "for"], C5 = {
7584
7584
  key: 0,
7585
7585
  class: "r-checkbox-texts__details"
7586
- }, C5 = {
7586
+ }, H5 = {
7587
7587
  key: 0,
7588
7588
  class: "r-checkbox-texts__error"
7589
- }, H5 = {
7589
+ }, V5 = {
7590
7590
  key: 1,
7591
7591
  class: "r-checkbox-texts__hint"
7592
- }, O0 = /* @__PURE__ */ R({
7592
+ }, w0 = /* @__PURE__ */ R({
7593
7593
  __name: "RCheckbox",
7594
7594
  props: {
7595
7595
  id: { default: "" },
@@ -7603,7 +7603,7 @@ const v2 = {
7603
7603
  },
7604
7604
  emits: ["update:modelValue"],
7605
7605
  setup(H, { emit: V }) {
7606
- const C = H, M = V, i = P1({
7606
+ const C = H, M = V, i = T1({
7607
7607
  checked: !1,
7608
7608
  indeterminate: !1
7609
7609
  }), L = {
@@ -7617,13 +7617,13 @@ const v2 = {
7617
7617
  "r-checkbox--indeterminate": i.indeterminate,
7618
7618
  "r-checkbox--error": !!C.errorMsg
7619
7619
  }));
7620
- function d(m) {
7621
- C.disabled || (i.checked = m.target.checked, i.indeterminate = !1, M("update:modelValue", i.checked));
7620
+ function t(d) {
7621
+ C.disabled || (i.checked = d.target.checked, i.indeterminate = !1, M("update:modelValue", i.checked));
7622
7622
  }
7623
7623
  return G(
7624
7624
  () => C.indeterminate,
7625
- (m) => {
7626
- i.indeterminate = m, m === !0 && (i.checked = !1, M("update:modelValue", i.checked));
7625
+ (d) => {
7626
+ i.indeterminate = d, d === !0 && (i.checked = !1, M("update:modelValue", i.checked));
7627
7627
  },
7628
7628
  {
7629
7629
  // need immediate to set the state on first render for storybook
@@ -7632,16 +7632,16 @@ const v2 = {
7632
7632
  }
7633
7633
  ), G(
7634
7634
  () => C.modelValue,
7635
- (m) => {
7636
- i.checked = m;
7635
+ (d) => {
7636
+ i.checked = d;
7637
7637
  },
7638
7638
  {
7639
7639
  // need immediate to set the state on first render for storybook
7640
7640
  // TODO: find a better way to do this
7641
7641
  immediate: !0
7642
7642
  }
7643
- ), (m, o) => (t(), r("div", z2, [
7644
- u("div", K2, [
7643
+ ), (d, l) => (m(), a("div", K2, [
7644
+ u("div", q2, [
7645
7645
  u("input", {
7646
7646
  id: C.id,
7647
7647
  checked: i.checked,
@@ -7649,8 +7649,8 @@ const v2 = {
7649
7649
  disabled: C.disabled,
7650
7650
  indeterminate: i.indeterminate,
7651
7651
  type: "checkbox",
7652
- onChange: d
7653
- }, null, 40, q2),
7652
+ onChange: t
7653
+ }, null, 40, j2),
7654
7654
  u("div", {
7655
7655
  class: p(e.value),
7656
7656
  "data-disabled": C.disabled
@@ -7659,21 +7659,21 @@ const v2 = {
7659
7659
  name: A.value,
7660
7660
  size: 24
7661
7661
  }, null, 8, ["name"])
7662
- ], 10, j2)
7662
+ ], 10, X2)
7663
7663
  ]),
7664
- u("div", X2, [
7664
+ u("div", Y2, [
7665
7665
  u("label", {
7666
7666
  class: "r-checkbox-texts__label",
7667
7667
  "data-disabled": C.disabled,
7668
7668
  for: C.id
7669
- }, b(C.label), 9, Y2),
7670
- C.hideDetails ? O("", !0) : (t(), r("div", J2, [
7671
- C.errorMsg ? (t(), r("p", C5, b(C.errorMsg), 1)) : (t(), r("p", H5, b(C.hint), 1))
7669
+ }, b(C.label), 9, J2),
7670
+ C.hideDetails ? O("", !0) : (m(), a("div", C5, [
7671
+ C.errorMsg ? (m(), a("p", H5, b(C.errorMsg), 1)) : (m(), a("p", V5, b(C.hint), 1))
7672
7672
  ]))
7673
7673
  ])
7674
7674
  ]));
7675
7675
  }
7676
- }), V5 = /* @__PURE__ */ R({
7676
+ }), L5 = /* @__PURE__ */ R({
7677
7677
  __name: "RChip",
7678
7678
  props: {
7679
7679
  variant: { default: "primary" },
@@ -7694,24 +7694,24 @@ const v2 = {
7694
7694
  [`r-chip__${C.variant}--ghost`]: C.ghost,
7695
7695
  "r-chip--clearable": C.clearable
7696
7696
  }));
7697
- function L(d) {
7698
- C.clearable && d.stopPropagation(), !C.disabled && M("click:chip", d);
7697
+ function L(t) {
7698
+ C.clearable && t.stopPropagation(), !C.disabled && M("click:chip", t);
7699
7699
  }
7700
- function A(d) {
7701
- C.disabled || !C.clearable || (d.stopPropagation(), M("click:close", d));
7700
+ function A(t) {
7701
+ C.disabled || !C.clearable || (t.stopPropagation(), M("click:close", t));
7702
7702
  }
7703
7703
  const e = g(() => C.clearable ? "mdiClose" : C.appendIcon);
7704
- return (d, m) => (t(), r("div", {
7704
+ return (t, d) => (m(), a("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] = (o) => L(o))
7709
+ onClick: d[0] || (d[0] = (l) => L(l))
7710
7710
  }, [
7711
- h(d.$slots, "prepend", {
7711
+ h(t.$slots, "prepend", {
7712
7712
  disabled: C.disabled
7713
7713
  }, () => [
7714
- C.prependIcon ? (t(), _(D, {
7714
+ C.prependIcon ? (m(), _(D, {
7715
7715
  key: 0,
7716
7716
  "aria-disabled": C.disabled,
7717
7717
  class: "r-chip__content__prepend-icon",
@@ -7723,123 +7723,123 @@ const v2 = {
7723
7723
  class: p(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7724
7724
  }, b(C.label), 3)
7725
7725
  ]),
7726
- h(d.$slots, "append", {
7726
+ h(t.$slots, "append", {
7727
7727
  disabled: C.disabled
7728
7728
  }, () => [
7729
- e.value ? (t(), _(D, {
7729
+ e.value ? (m(), _(D, {
7730
7730
  key: 0,
7731
7731
  "aria-disabled": C.disabled,
7732
7732
  class: "r-chip__content__append-icon",
7733
7733
  name: e.value,
7734
7734
  size: 12,
7735
- onClick: m[1] || (m[1] = (o) => A(o))
7735
+ onClick: d[1] || (d[1] = (l) => A(l))
7736
7736
  }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7737
7737
  ])
7738
7738
  ], 2));
7739
7739
  }
7740
7740
  });
7741
- function L5(H) {
7742
- return f2() ? (h2(H), !0) : !1;
7741
+ function M5(H) {
7742
+ return h2() ? (g2(H), !0) : !1;
7743
7743
  }
7744
7744
  function d2(H) {
7745
7745
  return typeof H == "function" ? H() : J(H);
7746
7746
  }
7747
- const t2 = typeof window < "u" && typeof document < "u";
7747
+ const m2 = typeof window < "u" && typeof document < "u";
7748
7748
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7749
- const M5 = Object.prototype.toString, i5 = (H) => M5.call(H) === "[object Object]", E1 = () => {
7750
- }, A5 = /* @__PURE__ */ e5();
7751
- function e5() {
7749
+ const i5 = Object.prototype.toString, A5 = (H) => i5.call(H) === "[object Object]", W1 = () => {
7750
+ }, e5 = /* @__PURE__ */ t5();
7751
+ function t5() {
7752
7752
  var H;
7753
- return t2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7753
+ return m2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7754
7754
  }
7755
- function r1(H) {
7755
+ function a1(H) {
7756
7756
  var V;
7757
7757
  const C = d2(H);
7758
7758
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7759
7759
  }
7760
- const m2 = t2 ? window : void 0;
7761
- function _1(...H) {
7760
+ const l2 = m2 ? window : void 0;
7761
+ function E1(...H) {
7762
7762
  let V, C, M, i;
7763
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = m2) : [V, C, M, i] = H, !V)
7764
- return E1;
7763
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = l2) : [V, C, M, i] = H, !V)
7764
+ return W1;
7765
7765
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7766
7766
  const L = [], A = () => {
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)
7767
+ L.forEach((l) => l()), L.length = 0;
7768
+ }, e = (l, r, o, n) => (l.addEventListener(r, o, n), () => l.removeEventListener(r, o, n)), t = G(
7769
+ () => [a1(V), d2(i)],
7770
+ ([l, r]) => {
7771
+ if (A(), !l)
7772
7772
  return;
7773
- const n = i5(a) ? { ...a } : a;
7773
+ const o = A5(r) ? { ...r } : r;
7774
7774
  L.push(
7775
- ...C.flatMap((l) => M.map((S) => e(o, l, S, n)))
7775
+ ...C.flatMap((n) => M.map((S) => e(l, n, S, o)))
7776
7776
  );
7777
7777
  },
7778
7778
  { immediate: !0, flush: "post" }
7779
- ), m = () => {
7780
- d(), A();
7779
+ ), d = () => {
7780
+ t(), A();
7781
7781
  };
7782
- return L5(m), m;
7782
+ return M5(d), d;
7783
7783
  }
7784
- let Y1 = !1;
7784
+ let J1 = !1;
7785
7785
  function d5(H, V, C = {}) {
7786
- const { window: M = m2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7786
+ const { window: M = l2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7787
7787
  if (!M)
7788
7788
  return;
7789
- A5 && !Y1 && (Y1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", E1)), M.document.documentElement.addEventListener("click", E1));
7789
+ e5 && !J1 && (J1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", W1)), M.document.documentElement.addEventListener("click", W1));
7790
7790
  let e = !0;
7791
- const d = (n) => i.some((l) => {
7792
- if (typeof l == "string")
7793
- return Array.from(M.document.querySelectorAll(l)).some((S) => S === n.target || n.composedPath().includes(S));
7791
+ const t = (o) => i.some((n) => {
7792
+ if (typeof n == "string")
7793
+ return Array.from(M.document.querySelectorAll(n)).some((S) => S === o.target || o.composedPath().includes(S));
7794
7794
  {
7795
- const S = r1(l);
7796
- return S && (n.target === S || n.composedPath().includes(S));
7795
+ const S = a1(n);
7796
+ return S && (o.target === S || o.composedPath().includes(S));
7797
7797
  }
7798
- }), o = [
7799
- _1(M, "click", (n) => {
7800
- const l = r1(H);
7801
- if (!(!l || l === n.target || n.composedPath().includes(l))) {
7802
- if (n.detail === 0 && (e = !d(n)), !e) {
7798
+ }), l = [
7799
+ E1(M, "click", (o) => {
7800
+ const n = a1(H);
7801
+ if (!(!n || n === o.target || o.composedPath().includes(n))) {
7802
+ if (o.detail === 0 && (e = !t(o)), !e) {
7803
7803
  e = !0;
7804
7804
  return;
7805
7805
  }
7806
- V(n);
7806
+ V(o);
7807
7807
  }
7808
7808
  }, { passive: !0, capture: L }),
7809
- _1(M, "pointerdown", (n) => {
7810
- const l = r1(H);
7811
- e = !d(n) && !!(l && !n.composedPath().includes(l));
7809
+ E1(M, "pointerdown", (o) => {
7810
+ const n = a1(H);
7811
+ e = !t(o) && !!(n && !o.composedPath().includes(n));
7812
7812
  }, { passive: !0 }),
7813
- A && _1(M, "blur", (n) => {
7813
+ A && E1(M, "blur", (o) => {
7814
7814
  setTimeout(() => {
7815
- var l;
7816
- const S = r1(H);
7817
- ((l = M.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(S != null && S.contains(M.document.activeElement)) && V(n);
7815
+ var n;
7816
+ const S = a1(H);
7817
+ ((n = M.document.activeElement) == null ? void 0 : n.tagName) === "IFRAME" && !(S != null && S.contains(M.document.activeElement)) && V(o);
7818
7818
  }, 0);
7819
7819
  })
7820
7820
  ].filter(Boolean);
7821
- return () => o.forEach((n) => n());
7821
+ return () => l.forEach((o) => o());
7822
7822
  }
7823
- function t5() {
7823
+ function m5() {
7824
7824
  function H() {
7825
7825
  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
7826
7826
  }
7827
7827
  return `${H() + H()}-${H()}-${H()}-${H()}-${H()}${H()}${H()}`;
7828
7828
  }
7829
- const m5 = ["top", "right", "bottom", "left"], Z1 = Math.min, m1 = Math.max, b1 = Math.round, V1 = (H) => ({
7829
+ const l5 = ["top", "right", "bottom", "left"], u1 = Math.min, m1 = Math.max, w1 = Math.round, V1 = (H) => ({
7830
7830
  x: H,
7831
7831
  y: H
7832
- }), l5 = {
7832
+ }), o5 = {
7833
7833
  left: "right",
7834
7834
  right: "left",
7835
7835
  bottom: "top",
7836
7836
  top: "bottom"
7837
- }, o5 = {
7837
+ }, n5 = {
7838
7838
  start: "end",
7839
7839
  end: "start"
7840
7840
  };
7841
- function W1(H, V, C) {
7842
- return m1(H, Z1(V, C));
7841
+ function N1(H, V, C) {
7842
+ return m1(H, u1(V, C));
7843
7843
  }
7844
7844
  function n1(H, V) {
7845
7845
  return typeof H == "function" ? H(V) : H;
@@ -7847,35 +7847,35 @@ function n1(H, V) {
7847
7847
  function e1(H) {
7848
7848
  return H.split("-")[0];
7849
7849
  }
7850
- function s1(H) {
7850
+ function c1(H) {
7851
7851
  return H.split("-")[1];
7852
7852
  }
7853
- function l2(H) {
7853
+ function o2(H) {
7854
7854
  return H === "x" ? "y" : "x";
7855
7855
  }
7856
- function $1(H) {
7856
+ function U1(H) {
7857
7857
  return H === "y" ? "height" : "width";
7858
7858
  }
7859
- function F1(H) {
7859
+ function R1(H) {
7860
7860
  return ["top", "bottom"].includes(e1(H)) ? "y" : "x";
7861
7861
  }
7862
- function U1(H) {
7863
- return l2(F1(H));
7862
+ function z1(H) {
7863
+ return o2(R1(H));
7864
7864
  }
7865
- function n5(H, V, C) {
7865
+ function r5(H, V, C) {
7866
7866
  C === void 0 && (C = !1);
7867
- const M = s1(H), i = U1(H), L = $1(i);
7867
+ const M = c1(H), i = z1(H), L = U1(i);
7868
7868
  let A = i === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7869
- return V.reference[L] > V.floating[L] && (A = w1(A)), [A, w1(A)];
7869
+ return V.reference[L] > V.floating[L] && (A = v1(A)), [A, v1(A)];
7870
7870
  }
7871
- function r5(H) {
7872
- const V = w1(H);
7873
- return [N1(H), V, N1(V)];
7871
+ function a5(H) {
7872
+ const V = v1(H);
7873
+ return [I1(H), V, I1(V)];
7874
7874
  }
7875
- function N1(H) {
7876
- return H.replace(/start|end/g, (V) => o5[V]);
7875
+ function I1(H) {
7876
+ return H.replace(/start|end/g, (V) => n5[V]);
7877
7877
  }
7878
- function a5(H, V, C) {
7878
+ function Z5(H, V, C) {
7879
7879
  const M = ["left", "right"], i = ["right", "left"], L = ["top", "bottom"], A = ["bottom", "top"];
7880
7880
  switch (H) {
7881
7881
  case "top":
@@ -7888,15 +7888,15 @@ function a5(H, V, C) {
7888
7888
  return [];
7889
7889
  }
7890
7890
  }
7891
- function Z5(H, V, C, M) {
7892
- const i = s1(H);
7893
- let L = a5(e1(H), C === "start", M);
7894
- return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(N1)))), L;
7891
+ function u5(H, V, C, M) {
7892
+ const i = c1(H);
7893
+ let L = Z5(e1(H), C === "start", M);
7894
+ return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(I1)))), L;
7895
7895
  }
7896
- function w1(H) {
7897
- return H.replace(/left|right|bottom|top/g, (V) => l5[V]);
7896
+ function v1(H) {
7897
+ return H.replace(/left|right|bottom|top/g, (V) => o5[V]);
7898
7898
  }
7899
- function u5(H) {
7899
+ function S5(H) {
7900
7900
  return {
7901
7901
  top: 0,
7902
7902
  right: 0,
@@ -7905,15 +7905,15 @@ function u5(H) {
7905
7905
  ...H
7906
7906
  };
7907
7907
  }
7908
- function o2(H) {
7909
- return typeof H != "number" ? u5(H) : {
7908
+ function n2(H) {
7909
+ return typeof H != "number" ? S5(H) : {
7910
7910
  top: H,
7911
7911
  right: H,
7912
7912
  bottom: H,
7913
7913
  left: H
7914
7914
  };
7915
7915
  }
7916
- function v1(H) {
7916
+ function y1(H) {
7917
7917
  return {
7918
7918
  ...H,
7919
7919
  top: H.y,
@@ -7922,69 +7922,69 @@ function v1(H) {
7922
7922
  bottom: H.y + H.height
7923
7923
  };
7924
7924
  }
7925
- function J1(H, V, C) {
7925
+ function C2(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", 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
- let l;
7932
- switch (d) {
7930
+ const L = R1(V), A = z1(V), e = U1(A), t = e1(V), d = L === "y", l = M.x + M.width / 2 - i.width / 2, r = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7931
+ let n;
7932
+ switch (t) {
7933
7933
  case "top":
7934
- l = {
7935
- x: o,
7934
+ n = {
7935
+ x: l,
7936
7936
  y: M.y - i.height
7937
7937
  };
7938
7938
  break;
7939
7939
  case "bottom":
7940
- l = {
7941
- x: o,
7940
+ n = {
7941
+ x: l,
7942
7942
  y: M.y + M.height
7943
7943
  };
7944
7944
  break;
7945
7945
  case "right":
7946
- l = {
7946
+ n = {
7947
7947
  x: M.x + M.width,
7948
- y: a
7948
+ y: r
7949
7949
  };
7950
7950
  break;
7951
7951
  case "left":
7952
- l = {
7952
+ n = {
7953
7953
  x: M.x - i.width,
7954
- y: a
7954
+ y: r
7955
7955
  };
7956
7956
  break;
7957
7957
  default:
7958
- l = {
7958
+ n = {
7959
7959
  x: M.x,
7960
7960
  y: M.y
7961
7961
  };
7962
7962
  }
7963
- switch (s1(V)) {
7963
+ switch (c1(V)) {
7964
7964
  case "start":
7965
- l[A] -= n * (C && m ? -1 : 1);
7965
+ n[A] -= o * (C && d ? -1 : 1);
7966
7966
  break;
7967
7967
  case "end":
7968
- l[A] += n * (C && m ? -1 : 1);
7968
+ n[A] += o * (C && d ? -1 : 1);
7969
7969
  break;
7970
7970
  }
7971
- return l;
7971
+ return n;
7972
7972
  }
7973
- const S5 = async (H, V, C) => {
7973
+ const s5 = async (H, V, C) => {
7974
7974
  const {
7975
7975
  placement: M = "bottom",
7976
7976
  strategy: i = "absolute",
7977
7977
  middleware: L = [],
7978
7978
  platform: A
7979
- } = C, e = L.filter(Boolean), d = await (A.isRTL == null ? void 0 : A.isRTL(V));
7980
- let m = await A.getElementRects({
7979
+ } = C, e = L.filter(Boolean), t = await (A.isRTL == null ? void 0 : A.isRTL(V));
7980
+ let d = await A.getElementRects({
7981
7981
  reference: H,
7982
7982
  floating: V,
7983
7983
  strategy: i
7984
7984
  }), {
7985
- x: o,
7986
- y: a
7987
- } = J1(m, M, d), n = M, l = {}, S = 0;
7985
+ x: l,
7986
+ y: r
7987
+ } = C2(d, M, t), o = M, n = {}, S = 0;
7988
7988
  for (let v = 0; v < e.length; v++) {
7989
7989
  const {
7990
7990
  name: B,
@@ -7995,46 +7995,46 @@ const S5 = async (H, V, C) => {
7995
7995
  data: F,
7996
7996
  reset: P
7997
7997
  } = await T({
7998
- x: o,
7999
- y: a,
7998
+ x: l,
7999
+ y: r,
8000
8000
  initialPlacement: M,
8001
- placement: n,
8001
+ placement: o,
8002
8002
  strategy: i,
8003
- middlewareData: l,
8004
- rects: m,
8003
+ middlewareData: n,
8004
+ rects: d,
8005
8005
  platform: A,
8006
8006
  elements: {
8007
8007
  reference: H,
8008
8008
  floating: V
8009
8009
  }
8010
8010
  });
8011
- if (o = k ?? o, a = y ?? a, l = {
8012
- ...l,
8011
+ if (l = k ?? l, r = y ?? r, n = {
8012
+ ...n,
8013
8013
  [B]: {
8014
- ...l[B],
8014
+ ...n[B],
8015
8015
  ...F
8016
8016
  }
8017
8017
  }, P && S <= 50) {
8018
- S++, typeof P == "object" && (P.placement && (n = P.placement), P.rects && (m = P.rects === !0 ? await A.getElementRects({
8018
+ S++, typeof P == "object" && (P.placement && (o = P.placement), P.rects && (d = P.rects === !0 ? await A.getElementRects({
8019
8019
  reference: H,
8020
8020
  floating: V,
8021
8021
  strategy: i
8022
8022
  }) : P.rects), {
8023
- x: o,
8024
- y: a
8025
- } = J1(m, n, d)), v = -1;
8023
+ x: l,
8024
+ y: r
8025
+ } = C2(d, o, t)), v = -1;
8026
8026
  continue;
8027
8027
  }
8028
8028
  }
8029
8029
  return {
8030
- x: o,
8031
- y: a,
8032
- placement: n,
8030
+ x: l,
8031
+ y: r,
8032
+ placement: o,
8033
8033
  strategy: i,
8034
- middlewareData: l
8034
+ middlewareData: n
8035
8035
  };
8036
8036
  };
8037
- async function y1(H, V) {
8037
+ async function P1(H, V) {
8038
8038
  var C;
8039
8039
  V === void 0 && (V = {});
8040
8040
  const {
@@ -8043,19 +8043,19 @@ async function y1(H, V) {
8043
8043
  platform: L,
8044
8044
  rects: A,
8045
8045
  elements: e,
8046
- strategy: d
8046
+ strategy: t
8047
8047
  } = H, {
8048
- boundary: m = "clippingAncestors",
8049
- rootBoundary: o = "viewport",
8050
- elementContext: a = "floating",
8051
- altBoundary: n = !1,
8052
- padding: l = 0
8053
- } = n1(V, H), S = o2(l), B = e[n ? a === "floating" ? "reference" : "floating" : a], T = v1(await L.getClippingRect({
8048
+ boundary: d = "clippingAncestors",
8049
+ rootBoundary: l = "viewport",
8050
+ elementContext: r = "floating",
8051
+ altBoundary: o = !1,
8052
+ padding: n = 0
8053
+ } = n1(V, H), S = n2(n), B = e[o ? r === "floating" ? "reference" : "floating" : r], T = y1(await L.getClippingRect({
8054
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
- boundary: m,
8056
- rootBoundary: o,
8057
- strategy: d
8058
- })), k = a === "floating" ? {
8055
+ boundary: d,
8056
+ rootBoundary: l,
8057
+ strategy: t
8058
+ })), k = r === "floating" ? {
8059
8059
  ...A.floating,
8060
8060
  x: M,
8061
8061
  y: i
@@ -8065,10 +8065,10 @@ async function y1(H, V) {
8065
8065
  } : {
8066
8066
  x: 1,
8067
8067
  y: 1
8068
- }, P = v1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8068
+ }, P = y1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8069
8069
  rect: k,
8070
8070
  offsetParent: y,
8071
- strategy: d
8071
+ strategy: t
8072
8072
  }) : k);
8073
8073
  return {
8074
8074
  top: (T.top - P.top + S.top) / F.y,
@@ -8077,7 +8077,7 @@ async function y1(H, V) {
8077
8077
  right: (P.right - T.right + S.right) / F.x
8078
8078
  };
8079
8079
  }
8080
- const s5 = (H) => ({
8080
+ const c5 = (H) => ({
8081
8081
  name: "arrow",
8082
8082
  options: H,
8083
8083
  async fn(V) {
@@ -8088,24 +8088,24 @@ const s5 = (H) => ({
8088
8088
  rects: L,
8089
8089
  platform: A,
8090
8090
  elements: e,
8091
- middlewareData: d
8091
+ middlewareData: t
8092
8092
  } = V, {
8093
- element: m,
8094
- padding: o = 0
8093
+ element: d,
8094
+ padding: l = 0
8095
8095
  } = n1(H, V) || {};
8096
- if (m == null)
8096
+ if (d == null)
8097
8097
  return {};
8098
- const a = o2(o), n = {
8098
+ const r = n2(l), o = {
8099
8099
  x: C,
8100
8100
  y: M
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));
8101
+ }, n = z1(i), S = U1(n), v = await A.getDimensions(d), B = n === "y", T = B ? "top" : "left", k = B ? "bottom" : "right", y = B ? "clientHeight" : "clientWidth", F = L.reference[S] + L.reference[n] - o[n] - L.floating[S], P = o[n] - L.reference[n], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(d));
8102
8102
  let W = U ? U[y] : 0;
8103
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;
8104
+ const f = F / 2 - P / 2, N = W / 2 - v[S] / 2 - 1, i1 = u1(r[T], N), A1 = u1(r[k], N), I = i1, Z = W - v[S] - A1, s = W / 2 - v[S] / 2 + f, w = N1(I, s, Z), x = !t.arrow && c1(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]: n[l] + c,
8106
+ [n]: o[n] + c,
8107
8107
  data: {
8108
- [l]: w,
8108
+ [n]: w,
8109
8109
  centerOffset: s - w - c,
8110
8110
  ...x && {
8111
8111
  alignmentOffset: c
@@ -8114,7 +8114,7 @@ const s5 = (H) => ({
8114
8114
  reset: x
8115
8115
  };
8116
8116
  }
8117
- }), c5 = function(H) {
8117
+ }), p5 = function(H) {
8118
8118
  return H === void 0 && (H = {}), {
8119
8119
  name: "flip",
8120
8120
  options: H,
@@ -8125,25 +8125,25 @@ const s5 = (H) => ({
8125
8125
  middlewareData: L,
8126
8126
  rects: A,
8127
8127
  initialPlacement: e,
8128
- platform: d,
8129
- elements: m
8128
+ platform: t,
8129
+ elements: d
8130
8130
  } = V, {
8131
- mainAxis: o = !0,
8132
- crossAxis: a = !0,
8133
- fallbackPlacements: n,
8134
- fallbackStrategy: l = "bestFit",
8131
+ mainAxis: l = !0,
8132
+ crossAxis: r = !0,
8133
+ fallbackPlacements: o,
8134
+ fallbackStrategy: n = "bestFit",
8135
8135
  fallbackAxisSideDirection: S = "none",
8136
8136
  flipAlignment: v = !0,
8137
8137
  ...B
8138
8138
  } = n1(H, V);
8139
8139
  if ((C = L.arrow) != null && C.alignmentOffset)
8140
8140
  return {};
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 = [];
8141
+ const T = e1(i), k = e1(e) === e, y = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), F = o || (k || !v ? [v1(e)] : a5(e));
8142
+ !o && S !== "none" && F.push(...u5(e, v, S, y));
8143
+ const P = [e, ...F], U = await P1(V, B), W = [];
8144
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);
8145
+ if (l && W.push(U[T]), r) {
8146
+ const I = r5(i, A, y);
8147
8147
  W.push(U[I[0]], U[I[1]]);
8148
8148
  }
8149
8149
  if (f = [...f, {
@@ -8164,7 +8164,7 @@ const s5 = (H) => ({
8164
8164
  };
8165
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
- switch (l) {
8167
+ switch (n) {
8168
8168
  case "bestFit": {
8169
8169
  var A1;
8170
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];
@@ -8186,7 +8186,7 @@ const s5 = (H) => ({
8186
8186
  }
8187
8187
  };
8188
8188
  };
8189
- function C2(H, V) {
8189
+ function H2(H, V) {
8190
8190
  return {
8191
8191
  top: H.top - V.height,
8192
8192
  right: H.right - V.width,
@@ -8194,10 +8194,10 @@ function C2(H, V) {
8194
8194
  left: H.left - V.width
8195
8195
  };
8196
8196
  }
8197
- function H2(H) {
8198
- return m5.some((V) => H[V] >= 0);
8197
+ function V2(H) {
8198
+ return l5.some((V) => H[V] >= 0);
8199
8199
  }
8200
- const p5 = function(H) {
8200
+ const O5 = function(H) {
8201
8201
  return H === void 0 && (H = {}), {
8202
8202
  name: "hide",
8203
8203
  options: H,
@@ -8210,26 +8210,26 @@ const p5 = function(H) {
8210
8210
  } = n1(H, V);
8211
8211
  switch (M) {
8212
8212
  case "referenceHidden": {
8213
- const L = await y1(V, {
8213
+ const L = await P1(V, {
8214
8214
  ...i,
8215
8215
  elementContext: "reference"
8216
- }), A = C2(L, C.reference);
8216
+ }), A = H2(L, C.reference);
8217
8217
  return {
8218
8218
  data: {
8219
8219
  referenceHiddenOffsets: A,
8220
- referenceHidden: H2(A)
8220
+ referenceHidden: V2(A)
8221
8221
  }
8222
8222
  };
8223
8223
  }
8224
8224
  case "escaped": {
8225
- const L = await y1(V, {
8225
+ const L = await P1(V, {
8226
8226
  ...i,
8227
8227
  altBoundary: !0
8228
- }), A = C2(L, C.floating);
8228
+ }), A = H2(L, C.floating);
8229
8229
  return {
8230
8230
  data: {
8231
8231
  escapedOffsets: A,
8232
- escaped: H2(A)
8232
+ escaped: V2(A)
8233
8233
  }
8234
8234
  };
8235
8235
  }
@@ -8239,35 +8239,35 @@ const p5 = function(H) {
8239
8239
  }
8240
8240
  };
8241
8241
  };
8242
- async function O5(H, V) {
8242
+ async function f5(H, V) {
8243
8243
  const {
8244
8244
  placement: C,
8245
8245
  platform: M,
8246
8246
  elements: i
8247
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = 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);
8247
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = e1(C), e = c1(C), t = R1(C) === "y", d = ["left", "top"].includes(A) ? -1 : 1, l = L && t ? -1 : 1, r = n1(V, H);
8248
8248
  let {
8249
- mainAxis: n,
8250
- crossAxis: l,
8249
+ mainAxis: o,
8250
+ crossAxis: n,
8251
8251
  alignmentAxis: S
8252
- } = typeof a == "number" ? {
8253
- mainAxis: a,
8252
+ } = typeof r == "number" ? {
8253
+ mainAxis: r,
8254
8254
  crossAxis: 0,
8255
8255
  alignmentAxis: null
8256
8256
  } : {
8257
8257
  mainAxis: 0,
8258
8258
  crossAxis: 0,
8259
8259
  alignmentAxis: null,
8260
- ...a
8260
+ ...r
8261
8261
  };
8262
- return e && typeof S == "number" && (l = e === "end" ? S * -1 : S), d ? {
8263
- x: l * o,
8264
- y: n * m
8262
+ return e && typeof S == "number" && (n = e === "end" ? S * -1 : S), t ? {
8263
+ x: n * l,
8264
+ y: o * d
8265
8265
  } : {
8266
- x: n * m,
8267
- y: l * o
8266
+ x: o * d,
8267
+ y: n * l
8268
8268
  };
8269
8269
  }
8270
- const f5 = function(H) {
8270
+ const h5 = function(H) {
8271
8271
  return H === void 0 && (H = 0), {
8272
8272
  name: "offset",
8273
8273
  options: H,
@@ -8275,7 +8275,7 @@ const f5 = function(H) {
8275
8275
  const {
8276
8276
  x: C,
8277
8277
  y: M
8278
- } = V, i = await O5(V, H);
8278
+ } = V, i = await f5(V, H);
8279
8279
  return {
8280
8280
  x: C + i.x,
8281
8281
  y: M + i.y,
@@ -8283,7 +8283,7 @@ const f5 = function(H) {
8283
8283
  };
8284
8284
  }
8285
8285
  };
8286
- }, h5 = function(H) {
8286
+ }, g5 = function(H) {
8287
8287
  return H === void 0 && (H = {}), {
8288
8288
  name: "shift",
8289
8289
  options: H,
@@ -8307,24 +8307,24 @@ const f5 = function(H) {
8307
8307
  };
8308
8308
  }
8309
8309
  },
8310
- ...d
8311
- } = n1(H, V), m = {
8310
+ ...t
8311
+ } = n1(H, V), d = {
8312
8312
  x: C,
8313
8313
  y: M
8314
- }, o = await y1(V, d), a = F1(e1(i)), n = l2(a);
8315
- let l = m[n], S = m[a];
8314
+ }, l = await P1(V, t), r = R1(e1(i)), o = o2(r);
8315
+ let n = d[o], S = d[r];
8316
8316
  if (L) {
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);
8317
+ const B = o === "y" ? "top" : "left", T = o === "y" ? "bottom" : "right", k = n + l[B], y = n - l[T];
8318
+ n = N1(k, n, y);
8319
8319
  }
8320
8320
  if (A) {
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);
8321
+ const B = r === "y" ? "top" : "left", T = r === "y" ? "bottom" : "right", k = S + l[B], y = S - l[T];
8322
+ S = N1(k, S, y);
8323
8323
  }
8324
8324
  const v = e.fn({
8325
8325
  ...V,
8326
- [n]: l,
8327
- [a]: S
8326
+ [o]: n,
8327
+ [r]: S
8328
8328
  });
8329
8329
  return {
8330
8330
  ...v,
@@ -8337,7 +8337,7 @@ const f5 = function(H) {
8337
8337
  };
8338
8338
  };
8339
8339
  function L1(H) {
8340
- return n2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8340
+ return r2(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 = (n2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8348
+ return (V = (r2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8349
8349
  }
8350
- function n2(H) {
8350
+ function r2(H) {
8351
8351
  return H instanceof Node || H instanceof z(H).Node;
8352
8352
  }
8353
8353
  function C1(H) {
@@ -8356,10 +8356,10 @@ function C1(H) {
8356
8356
  function j(H) {
8357
8357
  return H instanceof HTMLElement || H instanceof z(H).HTMLElement;
8358
8358
  }
8359
- function V2(H) {
8359
+ function L2(H) {
8360
8360
  return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof z(H).ShadowRoot;
8361
8361
  }
8362
- function c1(H) {
8362
+ function p1(H) {
8363
8363
  const {
8364
8364
  overflow: V,
8365
8365
  overflowX: C,
@@ -8368,32 +8368,32 @@ function c1(H) {
8368
8368
  } = K(H);
8369
8369
  return /auto|scroll|overlay|hidden|clip/.test(V + M + C) && !["inline", "contents"].includes(i);
8370
8370
  }
8371
- function g5(H) {
8371
+ function k5(H) {
8372
8372
  return ["table", "td", "th"].includes(L1(H));
8373
8373
  }
8374
- function z1(H) {
8375
- const V = K1(), C = K(H);
8374
+ function K1(H) {
8375
+ const V = q1(), C = K(H);
8376
8376
  return C.transform !== "none" || C.perspective !== "none" || (C.containerType ? C.containerType !== "normal" : !1) || !V && (C.backdropFilter ? C.backdropFilter !== "none" : !1) || !V && (C.filter ? C.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((M) => (C.willChange || "").includes(M)) || ["paint", "layout", "strict", "content"].some((M) => (C.contain || "").includes(M));
8377
8377
  }
8378
- function k5(H) {
8378
+ function B5(H) {
8379
8379
  let V = o1(H);
8380
- for (; j(V) && !R1(V); ) {
8381
- if (z1(V))
8380
+ for (; j(V) && !x1(V); ) {
8381
+ if (K1(V))
8382
8382
  return V;
8383
8383
  V = o1(V);
8384
8384
  }
8385
8385
  return null;
8386
8386
  }
8387
- function K1() {
8387
+ function q1() {
8388
8388
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8389
8389
  }
8390
- function R1(H) {
8390
+ function x1(H) {
8391
8391
  return ["html", "body", "#document"].includes(L1(H));
8392
8392
  }
8393
8393
  function K(H) {
8394
8394
  return z(H).getComputedStyle(H);
8395
8395
  }
8396
- function x1(H) {
8396
+ function D1(H) {
8397
8397
  return C1(H) ? {
8398
8398
  scrollLeft: H.scrollLeft,
8399
8399
  scrollTop: H.scrollTop
@@ -8409,83 +8409,83 @@ 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
- V2(H) && H.host || // Fallback.
8412
+ L2(H) && H.host || // Fallback.
8413
8413
  M1(H)
8414
8414
  );
8415
- return V2(V) ? V.host : V;
8415
+ return L2(V) ? V.host : V;
8416
8416
  }
8417
- function r2(H) {
8417
+ function a2(H) {
8418
8418
  const V = o1(H);
8419
- return R1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : r2(V);
8419
+ return x1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && p1(V) ? V : a2(V);
8420
8420
  }
8421
- function I1(H, V, C) {
8421
+ function Q1(H, V, C) {
8422
8422
  var M;
8423
8423
  V === void 0 && (V = []), C === void 0 && (C = !0);
8424
- const i = r2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8425
- return L ? V.concat(A, A.visualViewport || [], c1(i) ? i : [], A.frameElement && C ? I1(A.frameElement) : []) : V.concat(i, I1(i, [], C));
8424
+ const i = a2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8425
+ return L ? V.concat(A, A.visualViewport || [], p1(i) ? i : [], A.frameElement && C ? Q1(A.frameElement) : []) : V.concat(i, Q1(i, [], C));
8426
8426
  }
8427
- function a2(H) {
8427
+ function Z2(H) {
8428
8428
  const V = K(H);
8429
8429
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8430
- const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = b1(C) !== L || b1(M) !== A;
8430
+ const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = w1(C) !== L || w1(M) !== A;
8431
8431
  return e && (C = L, M = A), {
8432
8432
  width: C,
8433
8433
  height: M,
8434
8434
  $: e
8435
8435
  };
8436
8436
  }
8437
- function Z2(H) {
8437
+ function u2(H) {
8438
8438
  return C1(H) ? H : H.contextElement;
8439
8439
  }
8440
8440
  function l1(H) {
8441
- const V = Z2(H);
8441
+ const V = u2(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
- } = a2(V);
8449
- let A = (L ? b1(C.width) : C.width) / M, e = (L ? b1(C.height) : C.height) / i;
8448
+ } = Z2(V);
8449
+ let A = (L ? w1(C.width) : C.width) / M, e = (L ? w1(C.height) : C.height) / i;
8450
8450
  return (!A || !Number.isFinite(A)) && (A = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8451
8451
  x: A,
8452
8452
  y: e
8453
8453
  };
8454
8454
  }
8455
- const B5 = /* @__PURE__ */ V1(0);
8456
- function u2(H) {
8455
+ const b5 = /* @__PURE__ */ V1(0);
8456
+ function S2(H) {
8457
8457
  const V = z(H);
8458
- return !K1() || !V.visualViewport ? B5 : {
8458
+ return !q1() || !V.visualViewport ? b5 : {
8459
8459
  x: V.visualViewport.offsetLeft,
8460
8460
  y: V.visualViewport.offsetTop
8461
8461
  };
8462
8462
  }
8463
- function b5(H, V, C) {
8463
+ function w5(H, V, C) {
8464
8464
  return V === void 0 && (V = !1), !C || V && C !== z(H) ? !1 : V;
8465
8465
  }
8466
- function u1(H, V, C, M) {
8466
+ function S1(H, V, C, M) {
8467
8467
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8468
- const i = H.getBoundingClientRect(), L = Z2(H);
8468
+ const i = H.getBoundingClientRect(), L = u2(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) ? 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;
8471
+ const e = w5(L, C, M) ? S2(L) : V1(0);
8472
+ let t = (i.left + e.x) / A.x, d = (i.top + e.y) / A.y, l = i.width / A.x, r = i.height / A.y;
8473
8473
  if (L) {
8474
- const n = z(L), l = M && C1(M) ? z(M) : M;
8475
- let S = n.frameElement;
8476
- for (; S && M && l !== n; ) {
8474
+ const o = z(L), n = M && C1(M) ? z(M) : M;
8475
+ let S = o.frameElement;
8476
+ for (; S && M && n !== o; ) {
8477
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;
8478
+ t *= v.x, d *= v.y, l *= v.x, r *= v.y, t += k, d += y, S = z(S).frameElement;
8479
8479
  }
8480
8480
  }
8481
- return v1({
8482
- width: o,
8483
- height: a,
8484
- x: d,
8485
- y: m
8481
+ return y1({
8482
+ width: l,
8483
+ height: r,
8484
+ x: t,
8485
+ y: d
8486
8486
  });
8487
8487
  }
8488
- function w5(H) {
8488
+ function v5(H) {
8489
8489
  let {
8490
8490
  rect: V,
8491
8491
  offsetParent: C,
@@ -8498,27 +8498,27 @@ function w5(H) {
8498
8498
  scrollLeft: 0,
8499
8499
  scrollTop: 0
8500
8500
  }, e = V1(1);
8501
- const d = V1(0);
8502
- if ((i || !i && M !== "fixed") && ((L1(C) !== "body" || c1(L)) && (A = x1(C)), j(C))) {
8503
- const m = u1(C);
8504
- e = l1(C), d.x = m.x + C.clientLeft, d.y = m.y + C.clientTop;
8501
+ const t = V1(0);
8502
+ if ((i || !i && M !== "fixed") && ((L1(C) !== "body" || p1(L)) && (A = D1(C)), j(C))) {
8503
+ const d = S1(C);
8504
+ e = l1(C), t.x = d.x + C.clientLeft, t.y = d.y + C.clientTop;
8505
8505
  }
8506
8506
  return {
8507
8507
  width: V.width * e.x,
8508
8508
  height: V.height * e.y,
8509
- x: V.x * e.x - A.scrollLeft * e.x + d.x,
8510
- y: V.y * e.y - A.scrollTop * e.y + d.y
8509
+ x: V.x * e.x - A.scrollLeft * e.x + t.x,
8510
+ y: V.y * e.y - A.scrollTop * e.y + t.y
8511
8511
  };
8512
8512
  }
8513
- function v5(H) {
8513
+ function y5(H) {
8514
8514
  return Array.from(H.getClientRects());
8515
8515
  }
8516
- function S2(H) {
8517
- return u1(M1(H)).left + x1(H).scrollLeft;
8516
+ function s2(H) {
8517
+ return S1(M1(H)).left + D1(H).scrollLeft;
8518
8518
  }
8519
- function y5(H) {
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 + S2(H);
8519
+ function P5(H) {
8520
+ const V = M1(H), C = D1(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 + 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,
@@ -8527,127 +8527,127 @@ function y5(H) {
8527
8527
  y: e
8528
8528
  };
8529
8529
  }
8530
- function P5(H, V) {
8530
+ function T5(H, V) {
8531
8531
  const C = z(H), M = M1(H), i = C.visualViewport;
8532
- let L = M.clientWidth, A = M.clientHeight, e = 0, d = 0;
8532
+ let L = M.clientWidth, A = M.clientHeight, e = 0, t = 0;
8533
8533
  if (i) {
8534
8534
  L = i.width, A = i.height;
8535
- const m = K1();
8536
- (!m || m && V === "fixed") && (e = i.offsetLeft, d = i.offsetTop);
8535
+ const d = q1();
8536
+ (!d || d && V === "fixed") && (e = i.offsetLeft, t = i.offsetTop);
8537
8537
  }
8538
8538
  return {
8539
8539
  width: L,
8540
8540
  height: A,
8541
8541
  x: e,
8542
- y: d
8542
+ y: t
8543
8543
  };
8544
8544
  }
8545
- function T5(H, V) {
8546
- const C = u1(H, !0, V === "fixed"), M = C.top + H.clientTop, i = C.left + H.clientLeft, L = j(H) ? l1(H) : V1(1), A = H.clientWidth * L.x, e = H.clientHeight * L.y, d = i * L.x, m = M * L.y;
8545
+ function F5(H, V) {
8546
+ const C = S1(H, !0, V === "fixed"), M = C.top + H.clientTop, i = C.left + H.clientLeft, L = j(H) ? l1(H) : V1(1), A = H.clientWidth * L.x, e = H.clientHeight * L.y, t = i * L.x, d = M * L.y;
8547
8547
  return {
8548
8548
  width: A,
8549
8549
  height: e,
8550
- x: d,
8551
- y: m
8550
+ x: t,
8551
+ y: d
8552
8552
  };
8553
8553
  }
8554
- function L2(H, V, C) {
8554
+ function M2(H, V, C) {
8555
8555
  let M;
8556
8556
  if (V === "viewport")
8557
- M = P5(H, C);
8557
+ M = T5(H, C);
8558
8558
  else if (V === "document")
8559
- M = y5(M1(H));
8559
+ M = P5(M1(H));
8560
8560
  else if (C1(V))
8561
- M = T5(V, C);
8561
+ M = F5(V, C);
8562
8562
  else {
8563
- const i = u2(H);
8563
+ const i = S2(H);
8564
8564
  M = {
8565
8565
  ...V,
8566
8566
  x: V.x - i.x,
8567
8567
  y: V.y - i.y
8568
8568
  };
8569
8569
  }
8570
- return v1(M);
8570
+ return y1(M);
8571
8571
  }
8572
- function s2(H, V) {
8572
+ function c2(H, V) {
8573
8573
  const C = o1(H);
8574
- return C === V || !C1(C) || R1(C) ? !1 : K(C).position === "fixed" || s2(C, V);
8574
+ return C === V || !C1(C) || x1(C) ? !1 : K(C).position === "fixed" || c2(C, V);
8575
8575
  }
8576
- function F5(H, V) {
8576
+ function R5(H, V) {
8577
8577
  const C = V.get(H);
8578
8578
  if (C)
8579
8579
  return C;
8580
- let M = I1(H, [], !1).filter((e) => C1(e) && L1(e) !== "body"), i = null;
8580
+ let M = Q1(H, [], !1).filter((e) => C1(e) && L1(e) !== "body"), i = null;
8581
8581
  const L = K(H).position === "fixed";
8582
8582
  let A = L ? o1(H) : H;
8583
- for (; C1(A) && !R1(A); ) {
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 && s2(H, A)) ? M = M.filter((o) => o !== A) : i = e, A = o1(A);
8583
+ for (; C1(A) && !x1(A); ) {
8584
+ const e = K(A), t = K1(A);
8585
+ !t && e.position === "fixed" && (i = null), (L ? !t && !i : !t && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || p1(A) && !t && c2(H, A)) ? M = M.filter((l) => l !== A) : i = e, A = o1(A);
8586
8586
  }
8587
8587
  return V.set(H, M), M;
8588
8588
  }
8589
- function R5(H) {
8589
+ function x5(H) {
8590
8590
  let {
8591
8591
  element: V,
8592
8592
  boundary: C,
8593
8593
  rootBoundary: M,
8594
8594
  strategy: i
8595
8595
  } = H;
8596
- const A = [...C === "clippingAncestors" ? F5(V, this._c) : [].concat(C), M], e = A[0], d = A.reduce((m, o) => {
8597
- const a = L2(V, o, i);
8598
- return m.top = m1(a.top, m.top), m.right = Z1(a.right, m.right), m.bottom = Z1(a.bottom, m.bottom), m.left = m1(a.left, m.left), m;
8599
- }, L2(V, e, i));
8596
+ const A = [...C === "clippingAncestors" ? R5(V, this._c) : [].concat(C), M], e = A[0], t = A.reduce((d, l) => {
8597
+ const r = M2(V, l, i);
8598
+ return d.top = m1(r.top, d.top), d.right = u1(r.right, d.right), d.bottom = u1(r.bottom, d.bottom), d.left = m1(r.left, d.left), d;
8599
+ }, M2(V, e, i));
8600
8600
  return {
8601
- width: d.right - d.left,
8602
- height: d.bottom - d.top,
8603
- x: d.left,
8604
- y: d.top
8601
+ width: t.right - t.left,
8602
+ height: t.bottom - t.top,
8603
+ x: t.left,
8604
+ y: t.top
8605
8605
  };
8606
8606
  }
8607
- function x5(H) {
8608
- return a2(H);
8607
+ function D5(H) {
8608
+ return Z2(H);
8609
8609
  }
8610
- function D5(H, V, C) {
8611
- const M = j(V), i = M1(V), L = C === "fixed", A = u1(H, !0, L, V);
8610
+ function _5(H, V, C) {
8611
+ const M = j(V), i = M1(V), L = C === "fixed", A = S1(H, !0, L, V);
8612
8612
  let e = {
8613
8613
  scrollLeft: 0,
8614
8614
  scrollTop: 0
8615
8615
  };
8616
- const d = V1(0);
8616
+ const t = V1(0);
8617
8617
  if (M || !M && !L)
8618
- if ((L1(V) !== "body" || c1(i)) && (e = x1(V)), M) {
8619
- const m = u1(V, !0, L, V);
8620
- d.x = m.x + V.clientLeft, d.y = m.y + V.clientTop;
8618
+ if ((L1(V) !== "body" || p1(i)) && (e = D1(V)), M) {
8619
+ const d = S1(V, !0, L, V);
8620
+ t.x = d.x + V.clientLeft, t.y = d.y + V.clientTop;
8621
8621
  } else
8622
- i && (d.x = S2(i));
8622
+ i && (t.x = s2(i));
8623
8623
  return {
8624
- x: A.left + e.scrollLeft - d.x,
8625
- y: A.top + e.scrollTop - d.y,
8624
+ x: A.left + e.scrollLeft - t.x,
8625
+ y: A.top + e.scrollTop - t.y,
8626
8626
  width: A.width,
8627
8627
  height: A.height
8628
8628
  };
8629
8629
  }
8630
- function M2(H, V) {
8630
+ function i2(H, V) {
8631
8631
  return !j(H) || K(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8632
8632
  }
8633
- function c2(H, V) {
8633
+ function p2(H, V) {
8634
8634
  const C = z(H);
8635
8635
  if (!j(H))
8636
8636
  return C;
8637
- let M = M2(H, V);
8638
- for (; M && g5(M) && K(M).position === "static"; )
8639
- M = M2(M, V);
8640
- return M && (L1(M) === "html" || L1(M) === "body" && K(M).position === "static" && !z1(M)) ? C : M || k5(H) || C;
8637
+ let M = i2(H, V);
8638
+ for (; M && k5(M) && K(M).position === "static"; )
8639
+ M = i2(M, V);
8640
+ return M && (L1(M) === "html" || L1(M) === "body" && K(M).position === "static" && !K1(M)) ? C : M || B5(H) || C;
8641
8641
  }
8642
- const _5 = async function(H) {
8642
+ const E5 = async function(H) {
8643
8643
  let {
8644
8644
  reference: V,
8645
8645
  floating: C,
8646
8646
  strategy: M
8647
8647
  } = H;
8648
- const i = this.getOffsetParent || c2, L = this.getDimensions;
8648
+ const i = this.getOffsetParent || p2, L = this.getDimensions;
8649
8649
  return {
8650
- reference: D5(V, await i(C), M),
8650
+ reference: _5(V, await i(C), M),
8651
8651
  floating: {
8652
8652
  x: 0,
8653
8653
  y: 0,
@@ -8655,67 +8655,67 @@ const _5 = async function(H) {
8655
8655
  }
8656
8656
  };
8657
8657
  };
8658
- function E5(H) {
8658
+ function W5(H) {
8659
8659
  return K(H).direction === "rtl";
8660
8660
  }
8661
- const W5 = {
8662
- convertOffsetParentRelativeRectToViewportRelativeRect: w5,
8661
+ const N5 = {
8662
+ convertOffsetParentRelativeRectToViewportRelativeRect: v5,
8663
8663
  getDocumentElement: M1,
8664
- getClippingRect: R5,
8665
- getOffsetParent: c2,
8666
- getElementRects: _5,
8667
- getClientRects: v5,
8668
- getDimensions: x5,
8664
+ getClippingRect: x5,
8665
+ getOffsetParent: p2,
8666
+ getElementRects: E5,
8667
+ getClientRects: y5,
8668
+ getDimensions: D5,
8669
8669
  getScale: l1,
8670
8670
  isElement: C1,
8671
- isRTL: E5
8672
- }, N5 = (H, V, C) => {
8671
+ isRTL: W5
8672
+ }, I5 = (H, V, C) => {
8673
8673
  const M = /* @__PURE__ */ new Map(), i = {
8674
- platform: W5,
8674
+ platform: N5,
8675
8675
  ...C
8676
8676
  }, L = {
8677
8677
  ...i.platform,
8678
8678
  _c: M
8679
8679
  };
8680
- return S5(H, V, {
8680
+ return s5(H, V, {
8681
8681
  ...i,
8682
8682
  platform: L
8683
8683
  });
8684
8684
  };
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
- async function I5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8687
- !H || !V || N5(H, V, {
8685
+ var O2 = /* @__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))(O2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), G1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(G1 || {});
8686
+ async function Q5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8687
+ !H || !V || I5(H, V, {
8688
8688
  placement: M,
8689
8689
  middleware: [
8690
- f5(i),
8691
- h5({ padding: L }),
8692
- s5({ element: C }),
8693
- c5(),
8694
- p5()
8690
+ h5(i),
8691
+ g5({ padding: L }),
8692
+ c5({ element: C }),
8693
+ p5(),
8694
+ O5()
8695
8695
  ]
8696
- }).then(({ x: d, y: m, placement: o, middlewareData: a }) => {
8696
+ }).then(({ x: t, y: d, placement: l, middlewareData: r }) => {
8697
8697
  var S, v;
8698
8698
  if (!V)
8699
8699
  return;
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;
8700
+ r.flip && V.setAttribute("data-placement", l);
8701
+ const o = (S = H.offsetParent) == null ? void 0 : S.getBoundingClientRect().left, n = (v = H.offsetParent) == null ? void 0 : v.getBoundingClientRect().width;
8702
8702
  if (Object.assign(V.style, {
8703
- maxWidth: e === "dropdown" ? `${l}px` : "auto",
8704
- left: e === "dropdown" ? `${n}px` : `${d}px`,
8705
- top: `${m}px`,
8703
+ maxWidth: e === "dropdown" ? `${n}px` : "auto",
8704
+ left: e === "dropdown" ? `${o}px` : `${t}px`,
8705
+ top: `${d}px`,
8706
8706
  animation: `r-tooltip-show ${A}ms ease-in-out forwards`,
8707
8707
  transformOrigin: "start"
8708
- }), C && a.arrow) {
8709
- const { x: B, y: T } = a.arrow, k = {
8708
+ }), C && r.arrow) {
8709
+ const { x: B, y: T } = r.arrow, k = {
8710
8710
  top: "bottom",
8711
8711
  right: "left",
8712
8712
  bottom: "top",
8713
8713
  left: "right"
8714
8714
  /* Right */
8715
- }[o.split("-")[0]];
8715
+ }[l.split("-")[0]];
8716
8716
  Object.assign(C.style, {
8717
- left: d != null ? `${B}px` : "",
8718
- top: m != null ? `${T}px` : "",
8717
+ left: t != null ? `${B}px` : "",
8718
+ top: d != null ? `${T}px` : "",
8719
8719
  right: "",
8720
8720
  bottom: "",
8721
8721
  [`${k}`]: "-4px"
@@ -8723,10 +8723,10 @@ async function I5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
8723
8723
  }
8724
8724
  });
8725
8725
  }
8726
- const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__ */ R({
8726
+ const G5 = ["aria-disabled"], $5 = ["innerHTML"], U5 = ["id"], z5 = /* @__PURE__ */ R({
8727
8727
  __name: "RTooltip",
8728
8728
  props: {
8729
- placement: { default: p2.Top },
8729
+ placement: { default: O2.Top },
8730
8730
  text: { default: "" },
8731
8731
  dark: { type: Boolean, default: !0 },
8732
8732
  light: { type: Boolean, default: !1 },
@@ -8744,13 +8744,13 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8744
8744
  triggerClass: { default: "" },
8745
8745
  tooltipClass: { default: "" },
8746
8746
  persistent: { type: Boolean, default: !1 },
8747
- type: { default: Q1.Tooltip }
8747
+ type: { default: G1.Tooltip }
8748
8748
  },
8749
8749
  emits: ["show", "hide"],
8750
8750
  setup(H, { emit: V }) {
8751
- const C = H, M = V, i = E(), L = E(), A = E(), e = t5();
8752
- let d = null;
8753
- async function m() {
8751
+ const C = H, M = V, i = E(), L = E(), A = E(), e = m5();
8752
+ let t = null;
8753
+ async function d() {
8754
8754
  if (!(C.disabled || !L.value)) {
8755
8755
  if (!C.persistent) {
8756
8756
  const k = document.querySelectorAll(
@@ -8760,32 +8760,32 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8760
8760
  y.dataset.persistent === "true" || (y.style.display = "", y.classList.remove("r-tooltip--active"), y.dataset.show = "false");
8761
8761
  });
8762
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());
8763
+ L.value.classList.contains("r-tooltip--active") ? l() : (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), r());
8764
8764
  }
8765
8765
  }
8766
- function o(k = null) {
8766
+ function l(k = null) {
8767
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));
8768
8768
  }
8769
- function a() {
8769
+ function r() {
8770
8770
  C.autoHide && setTimeout(() => {
8771
- o();
8771
+ l();
8772
8772
  }, C.hideDelay);
8773
8773
  }
8774
- function n(k) {
8775
- C.disabled || C.triggers.includes(Y.Click) && (L.value.style.display === "block" ? o() : m());
8774
+ function o(k) {
8775
+ C.disabled || C.triggers.includes(Y.Click) && (L.value.style.display === "block" ? l() : d());
8776
8776
  }
8777
- function l() {
8778
- C.disabled || C.triggers.includes(Y.Hover) && m();
8777
+ function n() {
8778
+ C.disabled || C.triggers.includes(Y.Hover) && d();
8779
8779
  }
8780
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());
8781
+ C.disabled || (L.value.style.display === "" && C.triggers.includes(Y.Hover) ? d() : L.value.style.display !== "" && C.triggers.includes(Y.Hover) && l());
8782
8782
  }
8783
8783
  function v() {
8784
8784
  C.triggers.includes(Y.Hover) && B();
8785
8785
  }
8786
8786
  function B(k) {
8787
8787
  const { placement: y, offset: F, padding: P, disabled: U, showDelay: W, type: f } = C;
8788
- U || I5(
8788
+ U || Q5(
8789
8789
  i,
8790
8790
  L,
8791
8791
  A,
@@ -8803,45 +8803,45 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8803
8803
  }));
8804
8804
  return window.onresize = () => {
8805
8805
  C.resizable && B();
8806
- }, q1(
8806
+ }, j1(
8807
8807
  () => {
8808
- C.disabled || (C.shown && C.triggers.includes(Y.Manual) ? m() : !C.shown && C.triggers.includes(Y.Manual) && o());
8808
+ C.disabled || (C.shown && C.triggers.includes(Y.Manual) ? d() : !C.shown && C.triggers.includes(Y.Manual) && l());
8809
8809
  },
8810
8810
  { flush: "post" }
8811
8811
  // this is important to avoid infinite loop & for fire on mounted
8812
- ), q1(() => {
8813
- d && (d(), d = null), C.outsideClick && i.value && (d = d5(
8812
+ ), j1(() => {
8813
+ t && (t(), t = null), C.outsideClick && i.value && (t = d5(
8814
8814
  i,
8815
8815
  (k) => {
8816
- L.value && L.value.classList.contains("r-tooltip--active") && o(k);
8816
+ L.value && L.value.classList.contains("r-tooltip--active") && l(k);
8817
8817
  },
8818
8818
  { ignore: [L] }
8819
8819
  ));
8820
- }), i2(() => {
8820
+ }), A2(() => {
8821
8821
  var k, y;
8822
8822
  C.resizable && ((y = (k = i.value) == null ? void 0 : k.parentElement) == null || y.parentElement.addEventListener(
8823
8823
  "scroll",
8824
8824
  B()
8825
- )), C.type === Q1.Dropdown && document.addEventListener("scroll", () => {
8825
+ )), C.type === G1.Dropdown && document.addEventListener("scroll", () => {
8826
8826
  B();
8827
8827
  });
8828
- }), A2(() => {
8829
- d && (d(), d = null);
8830
- }), (k, y) => (t(), r(H1, null, [
8828
+ }), e2(() => {
8829
+ t && (t(), t = null);
8830
+ }), (k, y) => (m(), a(H1, null, [
8831
8831
  u("div", {
8832
8832
  ref_key: "trigger",
8833
8833
  ref: i,
8834
8834
  "aria-disabled": C.disabled,
8835
8835
  class: p(["r-tooltip-trigger", k.triggerClass]),
8836
- onClick: n,
8837
- onMouseenter: l,
8836
+ onClick: o,
8837
+ onMouseenter: n,
8838
8838
  onMouseleave: S,
8839
8839
  onMousemove: v
8840
8840
  }, [
8841
8841
  h(k.$slots, "default", {
8842
8842
  activators: {
8843
- click: n,
8844
- mouseenter: l,
8843
+ click: o,
8844
+ mouseenter: n,
8845
8845
  mouseleave: S,
8846
8846
  mousemove: v
8847
8847
  },
@@ -8850,10 +8850,10 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8850
8850
  }, () => [
8851
8851
  u("div", {
8852
8852
  innerHTML: C.triggerContent
8853
- }, null, 8, G5)
8853
+ }, null, 8, $5)
8854
8854
  ])
8855
- ], 42, Q5),
8856
- (t(), _(g2, { to: "body" }, [
8855
+ ], 42, G5),
8856
+ (m(), _(k2, { to: "body" }, [
8857
8857
  u("div", {
8858
8858
  id: J(e),
8859
8859
  ref_key: "tooltip",
@@ -8863,17 +8863,17 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8863
8863
  role: "tooltip"
8864
8864
  }, [
8865
8865
  h(k.$slots, "content", {
8866
- hide: o,
8866
+ hide: l,
8867
8867
  updatePosition: B
8868
8868
  }, () => [
8869
- C.text ? (t(), r("div", {
8869
+ C.text ? (m(), a("div", {
8870
8870
  key: 0,
8871
8871
  class: p(["r-tooltip__content", {
8872
8872
  "r-tooltip__content--dark": C.dark,
8873
8873
  "r-tooltip__content--light": C.light
8874
8874
  }])
8875
8875
  }, b(C.text), 3)) : O("", !0),
8876
- C.text ? (t(), r("div", {
8876
+ C.text ? (m(), a("div", {
8877
8877
  key: 1,
8878
8878
  id: "arrow",
8879
8879
  ref_key: "arrowElement",
@@ -8884,29 +8884,29 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8884
8884
  }])
8885
8885
  }, null, 2)) : O("", !0)
8886
8886
  ])
8887
- ], 10, $5)
8887
+ ], 10, U5)
8888
8888
  ]))
8889
8889
  ], 64));
8890
8890
  }
8891
- }), z5 = ["id", "onClick"], K5 = { class: "r-dropdown__selections" }, q5 = { class: "flex flex-wrap items-center gap-2 text-sm" }, j5 = {
8891
+ }), K5 = ["id", "onClick"], q5 = { class: "r-dropdown__selections" }, j5 = { class: "flex flex-wrap items-center gap-2 text-sm" }, X5 = {
8892
8892
  key: 0,
8893
8893
  class: "r-dropdown__remaining-count-text"
8894
- }, X5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], Y5 = ["id", "data-has-value", "onClick"], J5 = ["onClick"], C3 = { class: "flex items-center" }, H3 = { class: "r-dropdown-options__option__label" }, V3 = {
8894
+ }, Y5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], J5 = ["id", "data-has-value", "onClick"], C3 = ["onClick"], H3 = { class: "flex items-center" }, V3 = { class: "r-dropdown-options__option__label" }, L3 = {
8895
8895
  key: 1,
8896
8896
  class: "r-dropdown-options__divider"
8897
- }, L3 = ["aria-disabled", "onClick"], M3 = { class: "flex items-center" }, i3 = {
8897
+ }, M3 = ["aria-disabled", "onClick"], i3 = { class: "flex items-center" }, A3 = {
8898
8898
  key: 2,
8899
8899
  class: "r-dropdown-options__no-option"
8900
- }, A3 = {
8900
+ }, e3 = {
8901
8901
  key: 0,
8902
8902
  class: "r-dropdown-details"
8903
- }, e3 = {
8903
+ }, t3 = {
8904
8904
  key: 0,
8905
8905
  class: "r-dropdown-error"
8906
8906
  }, d3 = {
8907
8907
  key: 1,
8908
8908
  class: "r-dropdown-hint"
8909
- }, t3 = /* @__PURE__ */ R({
8909
+ }, m3 = /* @__PURE__ */ R({
8910
8910
  __name: "RDropdown",
8911
8911
  props: {
8912
8912
  options: { default: () => [] },
@@ -8940,40 +8940,40 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8940
8940
  emits: ["update:modelValue", "clear", "removeOption"],
8941
8941
  setup(H, { emit: V }) {
8942
8942
  const C = H, M = V, i = E({}), L = E([]), A = E(!1), e = E("");
8943
- function d(Z) {
8943
+ function t(Z) {
8944
8944
  if (!Z || typeof Z == "object" || typeof Z == "function" || typeof Z == "symbol" || typeof Z > "u" || Array.isArray(Z))
8945
8945
  return !0;
8946
8946
  const [s] = Object == null ? void 0 : Object.keys(Z);
8947
8947
  return ["label", "value"].includes(s);
8948
8948
  }
8949
- const m = g(() => {
8949
+ const d = g(() => {
8950
8950
  const Z = C.options;
8951
- return d(Z[0]) ? Z : Z.map((s) => ({
8951
+ return t(Z[0]) ? Z : Z.map((s) => ({
8952
8952
  value: s,
8953
8953
  label: String(s)
8954
8954
  }));
8955
- }), o = g(() => {
8955
+ }), l = g(() => {
8956
8956
  const Z = C.modelValue;
8957
- return d(Z) ? Z : {
8957
+ return t(Z) ? Z : {
8958
8958
  value: Z,
8959
8959
  label: String(Z)
8960
8960
  };
8961
- }), a = E(), n = E(), l = E();
8961
+ }), r = E(), o = E(), n = E();
8962
8962
  function S(Z) {
8963
- var x, c, Q, p1;
8963
+ var x, c, Q, O1;
8964
8964
  if (C.disabled)
8965
8965
  return;
8966
8966
  const s = document.getElementById(Z);
8967
8967
  document.querySelectorAll(".r-dropdown--active").forEach(($) => {
8968
- var O1;
8969
- $.id !== ((O1 = a.value) == null ? void 0 : O1.id) && $.classList.contains("r-dropdown--active") && ($.childNodes.forEach((X) => {
8970
- X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((D1) => D1.includes("--active")).forEach((D1) => {
8971
- X == null || X.classList.remove(D1);
8968
+ var f1;
8969
+ $.id !== ((f1 = r.value) == null ? void 0 : f1.id) && $.classList.contains("r-dropdown--active") && ($.childNodes.forEach((X) => {
8970
+ X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((_1) => _1.includes("--active")).forEach((_1) => {
8971
+ X == null || X.classList.remove(_1);
8972
8972
  }));
8973
8973
  }), $.classList.remove("r-dropdown--active"));
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(($) => {
8975
- $ != null && $.classList && (Object == null || Object.values($ == null ? void 0 : $.classList).forEach((O1) => {
8976
- $ == null || $.classList.add(`${O1}--active`);
8974
+ }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), A.value = !1, (x = r.value) == null || x.blur(), (c = o.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), A.value = !0, (Q = r.value) == null || Q.focus(), (O1 = o.value) == null || O1.focus(), s == null || s.childNodes.forEach(($) => {
8975
+ $ != null && $.classList && (Object == null || Object.values($ == null ? void 0 : $.classList).forEach((f1) => {
8976
+ $ == null || $.classList.add(`${f1}--active`);
8977
8977
  }));
8978
8978
  }));
8979
8979
  }
@@ -8992,10 +8992,10 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
8992
8992
  if (!L.value.find((Q) => Q.value === s.value))
8993
8993
  L.value.push(s);
8994
8994
  else {
8995
- const Q = L.value.findIndex((p1) => p1.value === s.value);
8995
+ const Q = L.value.findIndex((O1) => O1.value === s.value);
8996
8996
  L.value.splice(Q, 1), M("removeOption", s);
8997
8997
  }
8998
- e.value = "", C.searchable && ((c = n.value) == null || c.focus());
8998
+ e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8999
8999
  return;
9000
9000
  }
9001
9001
  T(Z, s), C.closeOnSelect && w();
@@ -9023,15 +9023,15 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9023
9023
  const w = e.value;
9024
9024
  if (w === "")
9025
9025
  return;
9026
- m.value.find((Q) => Q.label === w) || (L.value.push({ value: w, label: w }), e.value = "", (c = n.value) == null || c.focus());
9026
+ d.value.find((Q) => Q.label === w) || (L.value.push({ value: w, label: w }), e.value = "", (c = o.value) == null || c.focus());
9027
9027
  }
9028
9028
  function F(Z) {
9029
9029
  var s;
9030
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);
9031
9031
  }
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);
9032
+ const P = g(() => !C.searchable || i.value.label === e.value ? d.value : d.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = g(() => !C.searchable);
9033
9033
  function W() {
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));
9034
+ l.value ? C.multiple ? L.value = l.value : (i.value = l.value, e.value = l.value.label) : (i.value = {}, L.value.splice(0, L.value.length));
9035
9035
  }
9036
9036
  function f(Z) {
9037
9037
  C.searchable && Z(), !C.multiple && e.value === "" && (i.value = {}, M("update:modelValue", ""), M("removeOption", i.value));
@@ -9051,7 +9051,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9051
9051
  L.value = P.value;
9052
9052
  }
9053
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(() => {
9054
+ return A2(() => {
9055
9055
  W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9056
9056
  }), G(
9057
9057
  L,
@@ -9061,14 +9061,14 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9061
9061
  {
9062
9062
  deep: !0
9063
9063
  }
9064
- ), G(() => o.value, (Z) => {
9064
+ ), G(() => l.value, (Z) => {
9065
9065
  W();
9066
- }), (Z, s) => (t(), r("div", {
9066
+ }), (Z, s) => (m(), a("div", {
9067
9067
  ref_key: "wrapper",
9068
- ref: l,
9068
+ ref: n,
9069
9069
  class: "r-dropdown-wrapper"
9070
9070
  }, [
9071
- q(U5, {
9071
+ q(z5, {
9072
9072
  "auto-hide": !1,
9073
9073
  disabled: C.disabled,
9074
9074
  offset: 0,
@@ -9082,11 +9082,11 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9082
9082
  v(w);
9083
9083
  })
9084
9084
  }, {
9085
- default: B1(({ updatePosition: w, tooltipId: x }) => [
9085
+ default: b1(({ updatePosition: w, tooltipId: x }) => [
9086
9086
  u("div", {
9087
9087
  id: x,
9088
9088
  ref_key: "dropdown",
9089
- ref: a,
9089
+ ref: r,
9090
9090
  class: p(["r-dropdown", {
9091
9091
  "r-dropdown--disabled": C.disabled,
9092
9092
  "r-dropdown--loading": C.loading,
@@ -9097,7 +9097,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9097
9097
  role: "select",
9098
9098
  onClick: (c) => S(x)
9099
9099
  }, [
9100
- C.prependIcon || Z.$slots.prepend ? (t(), r("div", {
9100
+ C.prependIcon || Z.$slots.prepend ? (m(), a("div", {
9101
9101
  key: 0,
9102
9102
  class: p(["r-dropdown__prepend-icon", {
9103
9103
  "r-dropdown__prepend-icon--active": A.value,
@@ -9110,20 +9110,20 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9110
9110
  error: C.errorMsg.length,
9111
9111
  loading: C.loading
9112
9112
  }, () => [
9113
- C.prependIcon ? (t(), _(D, {
9113
+ C.prependIcon ? (m(), _(D, {
9114
9114
  key: 0,
9115
9115
  name: C.prependIcon
9116
9116
  }, null, 8, ["name"])) : O("", !0)
9117
9117
  ])
9118
9118
  ], 2)) : O("", !0),
9119
- u("div", K5, [
9119
+ u("div", q5, [
9120
9120
  h(Z.$slots, "selection", {
9121
9121
  removeOption: k,
9122
9122
  selected: L.value
9123
9123
  }, () => [
9124
- u("div", q5, [
9125
- C.multiple && C.chips ? (t(), r(H1, { key: 0 }, [
9126
- (t(!0), r(H1, null, d1(A1.value, (c) => (t(), _(V5, {
9124
+ u("div", j5, [
9125
+ C.multiple && C.chips ? (m(), a(H1, { key: 0 }, [
9126
+ (m(!0), a(H1, null, t1(A1.value, (c) => (m(), _(L5, {
9127
9127
  key: c.value,
9128
9128
  clearable: "",
9129
9129
  ghost: "",
@@ -9132,17 +9132,17 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9132
9132
  "onClick:close": (Q) => k(Q, c, w)
9133
9133
  }, null, 8, ["label", "onClick:close"]))), 128)),
9134
9134
  h(Z.$slots, "remaining-count", { count: I.value }, () => [
9135
- I.value > 0 ? (t(), r("span", j5, " +" + b(I.value), 1)) : O("", !0)
9135
+ I.value > 0 ? (m(), a("span", X5, " +" + b(I.value), 1)) : O("", !0)
9136
9136
  ])
9137
- ], 64)) : C.multiple ? (t(!0), r(H1, { key: 1 }, d1(L.value, (c, Q) => (t(), r("span", {
9137
+ ], 64)) : C.multiple ? (m(!0), a(H1, { key: 1 }, t1(L.value, (c, Q) => (m(), a("span", {
9138
9138
  key: c.value
9139
9139
  }, b(c.label) + b(Q < L.value.length - 1 ? ", " : ""), 1))), 128)) : O("", !0)
9140
9140
  ])
9141
9141
  ]),
9142
- e2(u("input", {
9142
+ t2(u("input", {
9143
9143
  id: C.id,
9144
9144
  ref_key: "input",
9145
- ref: n,
9145
+ ref: o,
9146
9146
  "onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
9147
9147
  autocomplete: C.autocomplete,
9148
9148
  class: p(["r-dropdown__input", {
@@ -9153,16 +9153,16 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9153
9153
  readonly: U.value,
9154
9154
  role: "presentation",
9155
9155
  type: "text",
9156
- onInput: t1((c) => f(w), ["prevent"]),
9156
+ onInput: d1((c) => f(w), ["prevent"]),
9157
9157
  onKeydown: [
9158
- j1((c) => k(c, L.value[L.value.length - 1], w), ["backspace"]),
9159
- j1((c) => y(c, w), ["enter"])
9158
+ X1((c) => k(c, L.value[L.value.length - 1], w), ["backspace"]),
9159
+ X1((c) => y(c, w), ["enter"])
9160
9160
  ]
9161
- }, null, 42, X5), [
9162
- [k2, e.value]
9161
+ }, null, 42, Y5), [
9162
+ [B2, e.value]
9163
9163
  ])
9164
9164
  ]),
9165
- C.clearable ? (t(), r("div", {
9165
+ C.clearable ? (m(), a("div", {
9166
9166
  key: 1,
9167
9167
  id: C.id ? `${C.id}-clearable-icon` : "clearable-icon",
9168
9168
  class: "r-dropdown__clearable",
@@ -9175,8 +9175,8 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9175
9175
  size: "18"
9176
9176
  })
9177
9177
  ])
9178
- ], 8, Y5)) : O("", !0),
9179
- C.appendIcon || Z.$slots.append ? (t(), r("div", {
9178
+ ], 8, J5)) : O("", !0),
9179
+ C.appendIcon || Z.$slots.append ? (m(), a("div", {
9180
9180
  key: 2,
9181
9181
  class: p(["r-dropdown__append-icon", {
9182
9182
  "r-dropdown__append-icon--active": A.value,
@@ -9189,42 +9189,42 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9189
9189
  error: C.errorMsg.length,
9190
9190
  loading: C.loading
9191
9191
  }, () => [
9192
- C.appendIcon ? (t(), _(D, {
9192
+ C.appendIcon ? (m(), _(D, {
9193
9193
  key: 0,
9194
9194
  name: C.appendIcon
9195
9195
  }, null, 8, ["name"])) : O("", !0)
9196
9196
  ])
9197
9197
  ], 2)) : O("", !0)
9198
- ], 10, z5)
9198
+ ], 10, K5)
9199
9199
  ]),
9200
- content: B1(({ hide: w, updatePosition: x }) => [
9200
+ content: b1(({ hide: w, updatePosition: x }) => [
9201
9201
  u("ul", {
9202
9202
  class: p(["r-dropdown-options", {
9203
9203
  "r-dropdown-options--active": A.value,
9204
9204
  [C.optionsClass]: C.optionsClass
9205
9205
  }])
9206
9206
  }, [
9207
- C.showSelectAll && C.multiple && P.value.length > 0 ? (t(), r("li", {
9207
+ C.showSelectAll && C.multiple && P.value.length > 0 ? (m(), a("li", {
9208
9208
  key: 0,
9209
9209
  class: p(["r-dropdown-options__option", {
9210
9210
  "r-dropdown-options__option--active": L.value.length === P.value.length,
9211
9211
  "r-dropdown-options__option--disabled": !1
9212
9212
  }]),
9213
- onClick: t1((c) => B(c, { label: C.selectAllText, value: "select-all" }, w, x), ["prevent"])
9213
+ onClick: d1((c) => B(c, { label: C.selectAllText, value: "select-all" }, w, x), ["prevent"])
9214
9214
  }, [
9215
- u("div", C3, [
9216
- u("p", H3, b(C.selectAllText), 1)
9215
+ u("div", H3, [
9216
+ u("p", V3, b(C.selectAllText), 1)
9217
9217
  ]),
9218
- L.value.length === P.value.length && !C.hideOptionCheckIcon ? (t(), _(D, {
9218
+ L.value.length === P.value.length && !C.hideOptionCheckIcon ? (m(), _(D, {
9219
9219
  key: 0,
9220
9220
  class: p(["r-dropdown-options__option__append-icon", {
9221
9221
  "r-dropdown-options__option__append-icon--active": L.value.length === P.value.length
9222
9222
  }]),
9223
9223
  name: "mdiCheck"
9224
9224
  }, null, 8, ["class"])) : O("", !0)
9225
- ], 10, J5)) : O("", !0),
9226
- C.showSelectAll && P.value.length > 0 ? (t(), r("hr", V3)) : O("", !0),
9227
- (t(!0), r(H1, null, d1(P.value, (c) => (t(), r("li", {
9225
+ ], 10, C3)) : O("", !0),
9226
+ C.showSelectAll && P.value.length > 0 ? (m(), a("hr", L3)) : O("", !0),
9227
+ (m(!0), a(H1, null, t1(P.value, (c) => (m(), a("li", {
9228
9228
  key: c.value,
9229
9229
  "aria-disabled": c.disabled,
9230
9230
  class: p(["r-dropdown-options__option", {
@@ -9232,19 +9232,19 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9232
9232
  "r-dropdown-options__option--disabled": c.disabled,
9233
9233
  "r-dropdown-options__option--deselect": F(c) && C.disableDeselect
9234
9234
  }]),
9235
- onClick: t1((Q) => B(Q, c, w, x), ["prevent"])
9235
+ onClick: d1((Q) => B(Q, c, w, x), ["prevent"])
9236
9236
  }, [
9237
9237
  h(Z.$slots, "option", {
9238
9238
  disabled: c.disabled,
9239
9239
  isSelected: F(c),
9240
9240
  item: c
9241
9241
  }, () => [
9242
- u("div", M3, [
9242
+ u("div", i3, [
9243
9243
  h(Z.$slots, "option-prepend", {
9244
9244
  disabled: c.disabled,
9245
9245
  isSelected: F(c)
9246
9246
  }, () => [
9247
- c.prependIcon ? (t(), _(D, {
9247
+ c.prependIcon ? (m(), _(D, {
9248
9248
  key: 0,
9249
9249
  class: p(["r-dropdown-options__option__prepend-icon", {
9250
9250
  "r-dropdown-options__option__prepend-icon--active": F(c)
@@ -9262,7 +9262,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9262
9262
  disabled: c.disabled,
9263
9263
  isSelected: F(c)
9264
9264
  }, () => [
9265
- F(c) && !C.hideOptionCheckIcon ? (t(), _(D, {
9265
+ F(c) && !C.hideOptionCheckIcon ? (m(), _(D, {
9266
9266
  key: 0,
9267
9267
  class: p(["r-dropdown-options__option__append-icon", {
9268
9268
  "r-dropdown-options__option__append-icon--active": F(c)
@@ -9271,23 +9271,23 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9271
9271
  }, null, 8, ["class"])) : O("", !0)
9272
9272
  ])
9273
9273
  ])
9274
- ], 10, L3))), 128)),
9275
- P.value.length === 0 ? (t(), r("li", i3, [
9274
+ ], 10, M3))), 128)),
9275
+ P.value.length === 0 ? (m(), a("li", A3, [
9276
9276
  h(Z.$slots, "not-options", {}, () => [
9277
- S1(b(C.noOptionsText), 1)
9277
+ s1(b(C.noOptionsText), 1)
9278
9278
  ])
9279
9279
  ])) : O("", !0)
9280
9280
  ], 2)
9281
9281
  ]),
9282
9282
  _: 3
9283
9283
  }, 8, ["disabled", "tooltip-class"]),
9284
- Z.$props.hideDetails ? O("", !0) : (t(), r("div", A3, [
9285
- C.errorMsg ? (t(), r("div", e3, b(C.errorMsg), 1)) : O("", !0),
9286
- C.hint ? (t(), r("div", d3, b(C.hint), 1)) : O("", !0)
9284
+ Z.$props.hideDetails ? O("", !0) : (m(), a("div", e3, [
9285
+ C.errorMsg ? (m(), a("div", t3, b(C.errorMsg), 1)) : O("", !0),
9286
+ C.hint ? (m(), a("div", d3, b(C.hint), 1)) : O("", !0)
9287
9287
  ]))
9288
9288
  ], 512));
9289
9289
  }
9290
- }), m3 = ["id", "for"], O2 = /* @__PURE__ */ R({
9290
+ }), l3 = ["id", "for"], f2 = /* @__PURE__ */ R({
9291
9291
  __name: "RLabel",
9292
9292
  props: {
9293
9293
  id: { default: "" },
@@ -9296,26 +9296,26 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9296
9296
  },
9297
9297
  setup(H) {
9298
9298
  const V = H;
9299
- return (C, M) => (t(), r("label", {
9299
+ return (C, M) => (m(), a("label", {
9300
9300
  id: V.id,
9301
9301
  class: "r-label",
9302
9302
  for: V.for
9303
9303
  }, [
9304
9304
  h(C.$slots, "default", {}, () => [
9305
- S1(b(V.text), 1)
9305
+ s1(b(V.text), 1)
9306
9306
  ])
9307
- ], 8, m3));
9307
+ ], 8, l3));
9308
9308
  }
9309
- }), l3 = ["onClick"], o3 = ["open"], n3 = { class: "r-dialog__header" }, r3 = {
9309
+ }), o3 = ["onClick"], n3 = ["open"], r3 = { class: "r-dialog__header" }, a3 = {
9310
9310
  key: 0,
9311
9311
  class: "icon"
9312
- }, a3 = {
9312
+ }, Z3 = {
9313
9313
  key: 1,
9314
9314
  class: "title"
9315
- }, Z3 = {
9315
+ }, u3 = {
9316
9316
  key: 2,
9317
9317
  class: "description"
9318
- }, u3 = { class: "r-dialog__body" }, S3 = { class: "r-dialog__actions" }, f0 = /* @__PURE__ */ R({
9318
+ }, S3 = { class: "r-dialog__body" }, s3 = { class: "r-dialog__actions" }, v0 = /* @__PURE__ */ R({
9319
9319
  __name: "RModal",
9320
9320
  props: {
9321
9321
  modelValue: { type: Boolean, default: !1 },
@@ -9346,45 +9346,45 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9346
9346
  function A(e) {
9347
9347
  C.outsideClick && e.target === e.currentTarget && M("update:modelValue", !1);
9348
9348
  }
9349
- return A2(() => {
9349
+ return e2(() => {
9350
9350
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9351
9351
  }), window.addEventListener("keydown", (e) => {
9352
9352
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9353
- }), (e, d) => e2((t(), r("div", {
9353
+ }), (e, t) => t2((m(), a("div", {
9354
9354
  class: p(["r-modal-overlay", e.overlayClass]),
9355
- onClick: t1(A, ["stop"])
9355
+ onClick: d1(A, ["stop"])
9356
9356
  }, [
9357
9357
  u("div", {
9358
9358
  "aria-modal": "true",
9359
9359
  class: p(i.value),
9360
9360
  open: C.modelValue,
9361
9361
  role: "dialog",
9362
- style: G1(L.value)
9362
+ style: $1(L.value)
9363
9363
  }, [
9364
9364
  h(e.$slots, "wrapper", {}, () => [
9365
- u("div", n3, [
9365
+ u("div", r3, [
9366
9366
  h(e.$slots, "header"),
9367
- C.icon ? (t(), r("div", r3, [
9367
+ C.icon ? (m(), a("div", a3, [
9368
9368
  q(D, {
9369
9369
  name: C.icon
9370
9370
  }, null, 8, ["name"])
9371
9371
  ])) : O("", !0),
9372
- C.title ? (t(), r("div", a3, b(C.title), 1)) : O("", !0),
9373
- C.description ? (t(), r("div", Z3, b(C.description), 1)) : O("", !0)
9372
+ C.title ? (m(), a("div", Z3, b(C.title), 1)) : O("", !0),
9373
+ C.description ? (m(), a("div", u3, b(C.description), 1)) : O("", !0)
9374
9374
  ]),
9375
- u("div", u3, [
9375
+ u("div", S3, [
9376
9376
  h(e.$slots, "default")
9377
9377
  ]),
9378
- u("div", S3, [
9378
+ u("div", s3, [
9379
9379
  h(e.$slots, "actions")
9380
9380
  ])
9381
9381
  ])
9382
- ], 14, o3)
9383
- ], 10, l3)), [
9384
- [B2, e.modelValue]
9382
+ ], 14, n3)
9383
+ ], 10, o3)), [
9384
+ [b2, e.modelValue]
9385
9385
  ]);
9386
9386
  }
9387
- }), s3 = ["data-open"], c3 = ["data-open"], p3 = ["data-open"], h0 = /* @__PURE__ */ R({
9387
+ }), c3 = ["data-open"], p3 = ["data-open"], O3 = ["data-open"], y0 = /* @__PURE__ */ R({
9388
9388
  __name: "RSidebar",
9389
9389
  props: {
9390
9390
  modelValue: { type: Boolean, default: !1 },
@@ -9396,7 +9396,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9396
9396
  emits: ["update:modelValue"],
9397
9397
  setup(H, { emit: V }) {
9398
9398
  const C = H, M = V;
9399
- return (i, L) => (t(), r("div", {
9399
+ return (i, L) => (m(), a("div", {
9400
9400
  class: p(["r-sidebar__wrapper", [i.$props.wrapperClass]]),
9401
9401
  "data-open": C.modelValue
9402
9402
  }, [
@@ -9407,8 +9407,8 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9407
9407
  h(i.$slots, "default", {
9408
9408
  open: C.modelValue
9409
9409
  })
9410
- ], 10, c3),
9411
- C.showTrigger ? (t(), r("div", {
9410
+ ], 10, p3),
9411
+ C.showTrigger ? (m(), a("div", {
9412
9412
  key: 0,
9413
9413
  class: p(["r-sidebar__trigger", [C.triggerClass]]),
9414
9414
  "data-open": C.modelValue,
@@ -9417,12 +9417,12 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9417
9417
  h(i.$slots, "trigger", {
9418
9418
  open: C.modelValue
9419
9419
  }, () => [
9420
- S1(" > ")
9420
+ s1(" > ")
9421
9421
  ])
9422
- ], 10, p3)) : O("", !0)
9423
- ], 10, s3));
9422
+ ], 10, O3)) : O("", !0)
9423
+ ], 10, c3));
9424
9424
  }
9425
- }), O3 = { class: "r-snackbar__text" }, g0 = /* @__PURE__ */ R({
9425
+ }), f3 = { class: "r-snackbar__text" }, P0 = /* @__PURE__ */ R({
9426
9426
  __name: "RSnackbar",
9427
9427
  props: {
9428
9428
  modelValue: { type: Boolean, default: !1 },
@@ -9460,25 +9460,25 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9460
9460
  warning: "mdiAlert",
9461
9461
  info: "mdiInformation"
9462
9462
  })[C.variant || "info"]);
9463
- return (A, e) => (t(), r("div", {
9463
+ return (A, e) => (m(), a("div", {
9464
9464
  class: p(i.value)
9465
9465
  }, [
9466
9466
  h(A.$slots, "icon", {}, () => [
9467
- C.variant ? (t(), _(D, {
9467
+ C.variant ? (m(), _(D, {
9468
9468
  key: 0,
9469
9469
  class: "r-snackbar__icon",
9470
9470
  name: L.value
9471
9471
  }, null, 8, ["name"])) : O("", !0)
9472
9472
  ]),
9473
- u("div", O3, [
9473
+ u("div", f3, [
9474
9474
  h(A.$slots, "default", {}, () => [
9475
- S1(b(C.text), 1)
9475
+ s1(b(C.text), 1)
9476
9476
  ])
9477
9477
  ]),
9478
- C.closable ? (t(), r("div", {
9478
+ C.closable ? (m(), a("div", {
9479
9479
  key: 0,
9480
9480
  class: "r-snackbar__close",
9481
- onClick: e[0] || (e[0] = t1((d) => A.$emit("update:modelValue", !1), ["stop"]))
9481
+ onClick: e[0] || (e[0] = d1((t) => A.$emit("update:modelValue", !1), ["stop"]))
9482
9482
  }, [
9483
9483
  h(A.$slots, "close", {}, () => [
9484
9484
  q(D, {
@@ -9489,16 +9489,16 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9489
9489
  ])) : O("", !0)
9490
9490
  ], 2));
9491
9491
  }
9492
- }), f3 = ["id", "checked", "disabled", "name"], h3 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), g3 = ["id", "for"], k3 = {
9492
+ }), h3 = ["id", "checked", "disabled", "name"], g3 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), k3 = ["id", "for"], B3 = {
9493
9493
  key: 0,
9494
9494
  class: "r-switch-texts__details"
9495
- }, B3 = {
9495
+ }, b3 = {
9496
9496
  key: 0,
9497
9497
  class: "r-switch-texts__error"
9498
- }, b3 = {
9498
+ }, w3 = {
9499
9499
  key: 1,
9500
9500
  class: "r-switch-texts__hint"
9501
- }, k0 = /* @__PURE__ */ R({
9501
+ }, T0 = /* @__PURE__ */ R({
9502
9502
  __name: "RSwitch",
9503
9503
  props: {
9504
9504
  id: { default: "switch" },
@@ -9535,7 +9535,7 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9535
9535
  // TODO: find a better way to do this
9536
9536
  immediate: !0
9537
9537
  }
9538
- ), (e, d) => (t(), r("div", {
9538
+ ), (e, t) => (m(), a("div", {
9539
9539
  class: p(["r-switch-container", {
9540
9540
  "r-switch-container--reverse": C.reverse,
9541
9541
  "r-switch-container--hide-details": C.hideDetails
@@ -9552,8 +9552,8 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9552
9552
  name: C.name,
9553
9553
  type: "checkbox",
9554
9554
  onChange: A
9555
- }, null, 40, f3),
9556
- h3
9555
+ }, null, 40, h3),
9556
+ g3
9557
9557
  ], 2),
9558
9558
  u("div", {
9559
9559
  class: p(["r-switch-texts", {
@@ -9564,20 +9564,20 @@ const Q5 = ["aria-disabled"], G5 = ["innerHTML"], $5 = ["id"], U5 = /* @__PURE__
9564
9564
  id: `${C.id}-label`,
9565
9565
  class: "r-switch-texts__label",
9566
9566
  for: C.id
9567
- }, b(C.label), 9, g3),
9568
- C.hideDetails ? O("", !0) : (t(), r("div", k3, [
9569
- C.errorMsg ? (t(), r("p", B3, b(C.errorMsg), 1)) : (t(), r("p", b3, b(C.hint), 1))
9567
+ }, b(C.label), 9, k3),
9568
+ C.hideDetails ? O("", !0) : (m(), a("div", B3, [
9569
+ C.errorMsg ? (m(), a("p", b3, b(C.errorMsg), 1)) : (m(), a("p", w3, b(C.hint), 1))
9570
9570
  ]))
9571
9571
  ], 2)
9572
9572
  ], 2));
9573
9573
  }
9574
9574
  });
9575
- var a1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(a1 || {});
9576
- const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 = /* @__PURE__ */ R({
9575
+ var Z1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(Z1 || {});
9576
+ const v3 = ["aria-disabled", "aria-selected", "disabled"], y3 = { key: 0 }, P3 = /* @__PURE__ */ R({
9577
9577
  __name: "RTabItem",
9578
9578
  props: {
9579
9579
  id: {},
9580
- variant: { default: a1.DEFAULT },
9580
+ variant: { default: Z1.DEFAULT },
9581
9581
  label: { default: "" },
9582
9582
  prependIcon: { default: "" },
9583
9583
  appendIcon: { default: "" },
@@ -9597,49 +9597,49 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9597
9597
  })), L = g(() => ({
9598
9598
  color: C.color
9599
9599
  })), A = g(() => C.modelValue === C.id);
9600
- function e(d) {
9601
- M("update:modelValue", d);
9600
+ function e(t) {
9601
+ M("update:modelValue", t);
9602
9602
  }
9603
- return (d, m) => (t(), r("button", {
9603
+ return (t, d) => (m(), a("button", {
9604
9604
  "aria-disabled": C.disabled,
9605
9605
  "aria-selected": A.value,
9606
9606
  class: p(i.value),
9607
9607
  disabled: C.disabled,
9608
- style: G1(L.value),
9609
- onClick: m[0] || (m[0] = t1((o) => e(C.id), ["stop"]))
9608
+ style: $1(L.value),
9609
+ onClick: d[0] || (d[0] = d1((l) => e(C.id), ["stop"]))
9610
9610
  }, [
9611
- h(d.$slots, "prepend", {
9611
+ h(t.$slots, "prepend", {
9612
9612
  active: A.value,
9613
9613
  disabled: C.disabled
9614
9614
  }, () => [
9615
- C.variant !== J(a1).TEXT && C.prependIcon ? (t(), _(D, {
9615
+ C.variant !== J(Z1).TEXT && C.prependIcon ? (m(), _(D, {
9616
9616
  key: 0,
9617
9617
  class: "r-tab-item__prepend-icon",
9618
9618
  name: C.prependIcon,
9619
9619
  size: 16
9620
9620
  }, null, 8, ["name"])) : O("", !0)
9621
9621
  ]),
9622
- C.variant !== J(a1).ICON ? (t(), r("span", v3, [
9623
- h(d.$slots, "default", {
9622
+ C.variant !== J(Z1).ICON ? (m(), a("span", y3, [
9623
+ h(t.$slots, "default", {
9624
9624
  label: C.label
9625
9625
  }, () => [
9626
- S1(b(C.label), 1)
9626
+ s1(b(C.label), 1)
9627
9627
  ])
9628
9628
  ])) : O("", !0),
9629
- h(d.$slots, "append", {
9629
+ h(t.$slots, "append", {
9630
9630
  active: A.value,
9631
9631
  disabled: C.disabled
9632
9632
  }, () => [
9633
- C.variant !== J(a1).TEXT && C.appendIcon ? (t(), _(D, {
9633
+ C.variant !== J(Z1).TEXT && C.appendIcon ? (m(), _(D, {
9634
9634
  key: 0,
9635
9635
  class: "r-tab-item__append-icon",
9636
9636
  name: C.appendIcon,
9637
9637
  size: 16
9638
9638
  }, null, 8, ["name"])) : O("", !0)
9639
9639
  ])
9640
- ], 14, w3));
9640
+ ], 14, v3));
9641
9641
  }
9642
- }), B0 = /* @__PURE__ */ R({
9642
+ }), F0 = /* @__PURE__ */ R({
9643
9643
  __name: "RTabs",
9644
9644
  props: {
9645
9645
  tabs: { default: () => [] },
@@ -9667,7 +9667,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9667
9667
  {
9668
9668
  immediate: !0
9669
9669
  }
9670
- ), (A, e) => (t(), r("div", {
9670
+ ), (A, e) => (m(), a("div", {
9671
9671
  class: p(L.value)
9672
9672
  }, [
9673
9673
  u("div", {
@@ -9678,34 +9678,34 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9678
9678
  }]])
9679
9679
  }, [
9680
9680
  h(A.$slots, "default", { activeTab: i.value }, () => [
9681
- (t(!0), r(H1, null, d1(C.tabs, (d, m) => (t(), _(y3, {
9682
- id: d.id,
9683
- key: m,
9681
+ (m(!0), a(H1, null, t1(C.tabs, (t, d) => (m(), _(P3, {
9682
+ id: t.id,
9683
+ key: d,
9684
9684
  modelValue: i.value,
9685
- "onUpdate:modelValue": e[0] || (e[0] = (o) => i.value = o),
9686
- active: m === i.value,
9687
- "append-icon": d.appendIcon,
9685
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => i.value = l),
9686
+ active: d === i.value,
9687
+ "append-icon": t.appendIcon,
9688
9688
  block: A.block,
9689
- disabled: d.disabled,
9690
- label: d.label,
9691
- "prepend-icon": d.prependIcon,
9689
+ disabled: t.disabled,
9690
+ label: t.label,
9691
+ "prepend-icon": t.prependIcon,
9692
9692
  tile: A.tile,
9693
- variant: d.variant
9693
+ variant: t.variant
9694
9694
  }, null, 8, ["id", "modelValue", "active", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9695
9695
  ])
9696
9696
  ], 2)
9697
9697
  ], 2));
9698
9698
  }
9699
- }), P3 = { class: "r-textarea-wrapper" }, T3 = ["id", "disabled", "placeholder", "value"], F3 = {
9699
+ }), T3 = { class: "r-textarea-wrapper" }, F3 = ["id", "disabled", "placeholder", "value"], R3 = {
9700
9700
  key: 1,
9701
9701
  class: "r-textarea__details"
9702
- }, R3 = {
9702
+ }, x3 = {
9703
9703
  key: 0,
9704
9704
  class: "r-textarea__error"
9705
- }, x3 = {
9705
+ }, D3 = {
9706
9706
  key: 1,
9707
9707
  class: "r-textarea__hint"
9708
- }, b0 = /* @__PURE__ */ R({
9708
+ }, R0 = /* @__PURE__ */ R({
9709
9709
  __name: "RTextArea",
9710
9710
  props: {
9711
9711
  id: { default: "" },
@@ -9719,7 +9719,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9719
9719
  },
9720
9720
  emits: ["update:modelValue"],
9721
9721
  setup(H, { emit: V }) {
9722
- const C = H, M = V, i = P1({
9722
+ const C = H, M = V, i = T1({
9723
9723
  value: ""
9724
9724
  });
9725
9725
  function L(A) {
@@ -9733,15 +9733,15 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9733
9733
  {
9734
9734
  immediate: !0
9735
9735
  }
9736
- ), (A, e) => (t(), r("div", P3, [
9737
- C.label ? (t(), _(O2, {
9736
+ ), (A, e) => (m(), a("div", T3, [
9737
+ C.label ? (m(), _(f2, {
9738
9738
  key: 0,
9739
9739
  id: `${C.id}-label`,
9740
9740
  class: "r-textarea__label",
9741
9741
  for: "textarea",
9742
9742
  text: C.label
9743
9743
  }, null, 8, ["id", "text"])) : O("", !0),
9744
- u("textarea", T1(A.$attrs, {
9744
+ u("textarea", F1(A.$attrs, {
9745
9745
  id: C.id,
9746
9746
  class: ["r-textarea", {
9747
9747
  "r-textarea--error": C.errorMsg,
@@ -9751,22 +9751,22 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9751
9751
  placeholder: C.placeholder,
9752
9752
  value: i.value,
9753
9753
  onInput: L
9754
- }), null, 16, T3),
9755
- C.hideDetails ? O("", !0) : (t(), r("div", F3, [
9756
- C.errorMsg ? (t(), r("p", R3, b(C.errorMsg), 1)) : (t(), r("p", x3, b(C.hint), 1))
9754
+ }), null, 16, F3),
9755
+ C.hideDetails ? O("", !0) : (m(), a("div", R3, [
9756
+ C.errorMsg ? (m(), a("p", x3, b(C.errorMsg), 1)) : (m(), a("p", D3, b(C.hint), 1))
9757
9757
  ]))
9758
9758
  ]));
9759
9759
  }
9760
- }), D3 = { class: "r-textfield__wrapper" }, _3 = { class: "input-wrapper" }, E3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], W3 = {
9760
+ }), _3 = { class: "r-textfield__wrapper" }, E3 = { class: "input-wrapper" }, W3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], N3 = {
9761
9761
  key: 0,
9762
9762
  class: "r-textfield__details"
9763
- }, N3 = {
9763
+ }, I3 = {
9764
9764
  key: 0,
9765
9765
  class: "r-textfield__error"
9766
- }, I3 = {
9766
+ }, Q3 = {
9767
9767
  key: 1,
9768
9768
  class: "r-textfield__hint"
9769
- }, w0 = /* @__PURE__ */ R({
9769
+ }, x0 = /* @__PURE__ */ R({
9770
9770
  __name: "RTextfield",
9771
9771
  props: {
9772
9772
  id: { default: "" },
@@ -9796,7 +9796,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9796
9796
  "click:clear"
9797
9797
  ],
9798
9798
  setup(H, { emit: V }) {
9799
- const C = H, M = V, i = E(), L = P1({
9799
+ const C = H, M = V, i = E(), L = T1({
9800
9800
  value: ""
9801
9801
  }), A = E(C.type), e = {
9802
9802
  password: "mdiLock",
@@ -9805,47 +9805,47 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9805
9805
  url: "mdiLink",
9806
9806
  number: "mdiNumeric",
9807
9807
  text: ""
9808
- }, d = E(!1), m = g(() => !!L.value), o = g(() => L.value.length > 0), a = g(() => {
9808
+ }, t = E(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), r = g(() => {
9809
9809
  var f;
9810
9810
  return (f = C.errorMsg) == null ? void 0 : f.length;
9811
- }), n = g(() => C.clearable && o.value), l = g(() => {
9811
+ }), o = g(() => C.clearable && l.value), n = g(() => {
9812
9812
  const { disabled: f, loading: N } = C;
9813
9813
  return {
9814
9814
  "r-textfield": !0,
9815
- "r-textfield--error": a.value,
9815
+ "r-textfield--error": r.value,
9816
9816
  "r-textfield--loading": N,
9817
9817
  "r-textfield--disabled": f,
9818
- "r-textfield--clearable": n.value,
9819
- "r-textfield--focus": d.value,
9820
- "r-textfield--filled": m.value
9818
+ "r-textfield--clearable": o.value,
9819
+ "r-textfield--focus": t.value,
9820
+ "r-textfield--filled": d.value
9821
9821
  };
9822
9822
  }), S = g(() => ({
9823
9823
  "r-textfield__prepend-icon": !0,
9824
9824
  "r-textfield__prepend-icon--loading": C.loading,
9825
- "r-textfield__prepend-icon--error": a.value && m.value
9825
+ "r-textfield__prepend-icon--error": r.value && d.value
9826
9826
  })), v = g(() => ({
9827
9827
  "r-textfield__append-icon": !0,
9828
- "r-textfield__append-icon--clear": n.value,
9829
- "r-textfield__append-icon--error": a.value
9828
+ "r-textfield__append-icon--clear": o.value,
9829
+ "r-textfield__append-icon--error": r.value
9830
9830
  })), B = g(() => {
9831
9831
  const { prependIcon: f, type: N } = C;
9832
9832
  return f === "none" ? "" : f || e[N];
9833
9833
  }), T = g(() => {
9834
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;
9835
+ return f === "none" ? "" : r.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && A.value === "password" ? "mdiEyeOutline" : N === "password" && A.value === "text" ? "mdiEyeOffOutline" : f;
9836
9836
  });
9837
9837
  function k(f) {
9838
- d.value = !0, M("focus", f);
9838
+ t.value = !0, M("focus", f);
9839
9839
  }
9840
9840
  function y(f) {
9841
- d.value = !1, M("blur", f);
9841
+ t.value = !1, M("blur", f);
9842
9842
  }
9843
9843
  function F(f) {
9844
9844
  L.value = f.target.value, M("input", f);
9845
9845
  }
9846
9846
  function P() {
9847
9847
  var f;
9848
- if (n.value) {
9848
+ if (o.value) {
9849
9849
  L.value = "", (f = i.value) == null || f.focus(), M("click:clear", {
9850
9850
  value: A.value === "number" ? +L.value : L.value
9851
9851
  });
@@ -9878,8 +9878,8 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9878
9878
  A.value === "number" ? +f : f
9879
9879
  );
9880
9880
  }
9881
- ), (f, N) => (t(), r("div", D3, [
9882
- C.label ? (t(), _(O2, {
9881
+ ), (f, N) => (m(), a("div", _3, [
9882
+ C.label ? (m(), _(f2, {
9883
9883
  key: 0,
9884
9884
  id: `${C.id}-label`,
9885
9885
  class: "r-textfield__label",
@@ -9887,23 +9887,23 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9887
9887
  text: C.label,
9888
9888
  onClick: W
9889
9889
  }, null, 8, ["id", "for", "text"])) : O("", !0),
9890
- u("div", _3, [
9890
+ u("div", E3, [
9891
9891
  u("div", {
9892
- class: p(l.value)
9892
+ class: p(n.value)
9893
9893
  }, [
9894
9894
  h(f.$slots, "prepend", {
9895
9895
  disabled: C.disabled,
9896
- error: a.value,
9896
+ error: r.value,
9897
9897
  loading: C.loading
9898
9898
  }, () => [
9899
- B.value ? (t(), _(D, {
9899
+ B.value ? (m(), _(D, {
9900
9900
  key: 0,
9901
9901
  class: p(S.value),
9902
9902
  name: B.value,
9903
9903
  size: 20
9904
9904
  }, null, 8, ["class", "name"])) : O("", !0)
9905
9905
  ]),
9906
- u("input", T1(f.$attrs, {
9906
+ u("input", F1(f.$attrs, {
9907
9907
  id: C.id,
9908
9908
  ref_key: "inputRef",
9909
9909
  ref: i,
@@ -9918,19 +9918,19 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9918
9918
  onBlur: y,
9919
9919
  onFocus: k,
9920
9920
  onInput: F
9921
- }), null, 16, E3),
9921
+ }), null, 16, W3),
9922
9922
  h(f.$slots, "append", {
9923
9923
  disabled: C.disabled,
9924
- error: a.value,
9924
+ error: r.value,
9925
9925
  loading: C.loading
9926
9926
  }, () => [
9927
- f.$props.type === "password" && a.value ? (t(), _(D, {
9927
+ f.$props.type === "password" && r.value ? (m(), _(D, {
9928
9928
  key: 0,
9929
9929
  name: A.value === "password" ? "mdiEyeOutline" : "mdiEyeOffOutline",
9930
9930
  size: 20,
9931
9931
  onClick: P
9932
9932
  }, null, 8, ["name"])) : O("", !0),
9933
- T.value && !f.$slots.append || a.value ? (t(), _(D, {
9933
+ T.value && !f.$slots.append || r.value ? (m(), _(D, {
9934
9934
  key: 1,
9935
9935
  class: p(v.value),
9936
9936
  name: `${T.value}`,
@@ -9939,17 +9939,17 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9939
9939
  }, null, 8, ["class", "name"])) : O("", !0)
9940
9940
  ])
9941
9941
  ], 2),
9942
- C.hideDetails ? O("", !0) : (t(), r("div", W3, [
9943
- C.errorMsg ? (t(), r("p", N3, b(C.errorMsg), 1)) : O("", !0),
9944
- !C.errorMsg && C.hint ? (t(), r("p", I3, b(C.hint), 1)) : O("", !0)
9942
+ C.hideDetails ? O("", !0) : (m(), a("div", N3, [
9943
+ C.errorMsg ? (m(), a("p", I3, b(C.errorMsg), 1)) : O("", !0),
9944
+ !C.errorMsg && C.hint ? (m(), a("p", Q3, b(C.hint), 1)) : O("", !0)
9945
9945
  ]))
9946
9946
  ])
9947
9947
  ]));
9948
9948
  }
9949
- }), Q3 = { class: "r-breadcrumb" }, G3 = {
9949
+ }), G3 = { class: "r-breadcrumb" }, $3 = {
9950
9950
  key: 0,
9951
9951
  class: "r-breadcrumb__title"
9952
- }, v0 = /* @__PURE__ */ R({
9952
+ }, D0 = /* @__PURE__ */ R({
9953
9953
  __name: "RBreadcrumb",
9954
9954
  props: {
9955
9955
  items: { default: () => [] },
@@ -9958,9 +9958,9 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9958
9958
  setup(H) {
9959
9959
  const V = H;
9960
9960
  return (C, M) => {
9961
- const i = b2("router-link");
9962
- return t(), r("div", Q3, [
9963
- (t(!0), r(H1, null, d1(V.items, (L, A) => (t(), r("div", {
9961
+ const i = w2("router-link");
9962
+ return m(), a("div", G3, [
9963
+ (m(!0), a(H1, null, t1(V.items, (L, A) => (m(), a("div", {
9964
9964
  key: A,
9965
9965
  class: "r-breadcrumb__item"
9966
9966
  }, [
@@ -9968,19 +9968,19 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9968
9968
  class: "r-breadcrumb__link",
9969
9969
  to: L.to
9970
9970
  }, {
9971
- default: B1(() => [
9971
+ default: b1(() => [
9972
9972
  h(C.$slots, "item-icon", {}, () => [
9973
- L.icon ? (t(), _(D, {
9973
+ L.icon ? (m(), _(D, {
9974
9974
  key: 0,
9975
9975
  name: L.icon
9976
9976
  }, null, 8, ["name"])) : O("", !0)
9977
9977
  ]),
9978
- L.onlyIcon ? O("", !0) : (t(), r("span", G3, b(L.title), 1))
9978
+ L.onlyIcon ? O("", !0) : (m(), a("span", $3, b(L.title), 1))
9979
9979
  ]),
9980
9980
  _: 2
9981
9981
  }, 1032, ["to"]),
9982
9982
  h(C.$slots, "custom-seperator", {}, () => [
9983
- A !== C.items.length - 1 && V.seperator ? (t(), _(D, {
9983
+ A !== C.items.length - 1 && V.seperator ? (m(), _(D, {
9984
9984
  key: 0,
9985
9985
  class: "r-breadcrumb__separator",
9986
9986
  name: V.seperator
@@ -9990,37 +9990,37 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
9990
9990
  ]);
9991
9991
  };
9992
9992
  }
9993
- }), $3 = { class: "r-pagination__paginator" }, U3 = { class: "r-pagination__paginator__per-page" }, z3 = { class: "r-pagination__paginator__info" }, K3 = ["disabled"], q3 = /* @__PURE__ */ u("path", {
9993
+ }), U3 = { class: "r-pagination__paginator" }, z3 = { class: "r-pagination__paginator__per-page" }, K3 = { class: "r-pagination__paginator__info" }, q3 = ["disabled"], j3 = /* @__PURE__ */ u("path", {
9994
9994
  d: "M0 0h24v24H0z",
9995
9995
  fill: "none",
9996
9996
  stroke: "none"
9997
- }, null, -1), j3 = /* @__PURE__ */ u("path", { d: "M7 6v12" }, null, -1), X3 = /* @__PURE__ */ u("path", { d: "M18 6l-6 6l6 6" }, null, -1), Y3 = [
9998
- q3,
9997
+ }, null, -1), X3 = /* @__PURE__ */ u("path", { d: "M7 6v12" }, null, -1), Y3 = /* @__PURE__ */ u("path", { d: "M18 6l-6 6l6 6" }, null, -1), J3 = [
9999
9998
  j3,
10000
- X3
10001
- ], J3 = ["disabled"], C0 = /* @__PURE__ */ u("path", {
9999
+ X3,
10000
+ Y3
10001
+ ], C0 = ["disabled"], H0 = /* @__PURE__ */ u("path", {
10002
10002
  d: "M0 0h24v24H0z",
10003
10003
  fill: "none",
10004
10004
  stroke: "none"
10005
- }, null, -1), H0 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), V0 = [
10006
- C0,
10007
- H0
10008
- ], L0 = ["disabled"], M0 = /* @__PURE__ */ u("path", {
10005
+ }, null, -1), V0 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), L0 = [
10006
+ H0,
10007
+ V0
10008
+ ], M0 = ["disabled"], i0 = /* @__PURE__ */ u("path", {
10009
10009
  d: "M0 0h24v24H0z",
10010
10010
  fill: "none",
10011
10011
  stroke: "none"
10012
- }, null, -1), i0 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), A0 = [
10013
- M0,
10014
- i0
10015
- ], e0 = ["disabled"], d0 = /* @__PURE__ */ u("path", {
10012
+ }, null, -1), A0 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), e0 = [
10013
+ i0,
10014
+ A0
10015
+ ], t0 = ["disabled"], d0 = /* @__PURE__ */ u("path", {
10016
10016
  d: "M0 0h24v24H0z",
10017
10017
  fill: "none",
10018
10018
  stroke: "none"
10019
- }, null, -1), t0 = /* @__PURE__ */ u("path", { d: "M6 6l6 6l-6 6" }, null, -1), m0 = /* @__PURE__ */ u("path", { d: "M17 5v13" }, null, -1), l0 = [
10019
+ }, null, -1), m0 = /* @__PURE__ */ u("path", { d: "M6 6l6 6l-6 6" }, null, -1), l0 = /* @__PURE__ */ u("path", { d: "M17 5v13" }, null, -1), o0 = [
10020
10020
  d0,
10021
- t0,
10022
- m0
10023
- ], y0 = /* @__PURE__ */ R({
10021
+ m0,
10022
+ l0
10023
+ ], _0 = /* @__PURE__ */ R({
10024
10024
  __name: "RPagination",
10025
10025
  props: {
10026
10026
  page: { default: 1 },
@@ -10036,34 +10036,34 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10036
10036
  const C = H, M = V, i = E(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), A = g(() => ({
10037
10037
  start: C.page * C.perPage - C.perPage,
10038
10038
  end: C.page * C.perPage
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);
10039
+ })), e = g(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), t = g(() => +C.page == +L.value), d = g(() => +C.page == 1);
10040
10040
  G(() => A.value, () => {
10041
10041
  M("update:info", A.value);
10042
10042
  }), G(() => C.perPage, () => {
10043
- i.value = C.perPage, o(1);
10043
+ i.value = C.perPage, l(1);
10044
10044
  });
10045
- function o(n) {
10046
- const l = Math.ceil(n);
10047
- l < 1 || l > L.value || M("update:page", l);
10045
+ function l(o) {
10046
+ const n = Math.ceil(o);
10047
+ n < 1 || n > L.value || M("update:page", n);
10048
10048
  }
10049
- function a({ value: n }) {
10050
- if (n) {
10051
- M("update:perPage", n);
10049
+ function r({ value: o }) {
10050
+ if (o) {
10051
+ M("update:perPage", o);
10052
10052
  return;
10053
10053
  }
10054
10054
  M("update:perPage", 10);
10055
10055
  }
10056
- return (n, l) => (t(), r("div", {
10056
+ return (o, n) => (m(), a("div", {
10057
10057
  class: p(["r-pagination", [`r-pagination--${C.position}`]])
10058
10058
  }, [
10059
- u("div", $3, [
10060
- u("div", U3, [
10059
+ u("div", U3, [
10060
+ u("div", z3, [
10061
10061
  u("span", null, b(C.itemsPerPageText), 1),
10062
- q(t3, {
10062
+ q(m3, {
10063
10063
  modelValue: i.value,
10064
10064
  "onUpdate:modelValue": [
10065
- l[0] || (l[0] = (S) => i.value = S),
10066
- a
10065
+ n[0] || (n[0] = (S) => i.value = S),
10066
+ r
10067
10067
  ],
10068
10068
  class: "w-24",
10069
10069
  "hide-details": "",
@@ -10071,15 +10071,15 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10071
10071
  options: C.perPageOptions
10072
10072
  }, null, 8, ["modelValue", "options"])
10073
10073
  ]),
10074
- u("span", z3, b(e.value), 1),
10074
+ u("span", K3, b(e.value), 1),
10075
10075
  u("button", {
10076
10076
  class: "r-pagination__paginator__first",
10077
- disabled: m.value,
10078
- onClick: l[1] || (l[1] = (S) => o(1))
10077
+ disabled: d.value,
10078
+ onClick: n[1] || (n[1] = (S) => l(1))
10079
10079
  }, [
10080
- h(n.$slots, "first", {}, () => [
10081
- (t(), r("svg", {
10082
- class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": m.value }]),
10080
+ h(o.$slots, "first", {}, () => [
10081
+ (m(), a("svg", {
10082
+ class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": d.value }]),
10083
10083
  fill: "none",
10084
10084
  height: "20",
10085
10085
  stroke: "#000000",
@@ -10089,17 +10089,17 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10089
10089
  viewBox: "0 0 24 24",
10090
10090
  width: "20",
10091
10091
  xmlns: "http://www.w3.org/2000/svg"
10092
- }, Y3, 2))
10092
+ }, J3, 2))
10093
10093
  ])
10094
- ], 8, K3),
10094
+ ], 8, q3),
10095
10095
  u("button", {
10096
10096
  class: "r-pagination__paginator__prev",
10097
- disabled: m.value,
10098
- onClick: l[2] || (l[2] = (S) => o(+C.page - 1))
10097
+ disabled: d.value,
10098
+ onClick: n[2] || (n[2] = (S) => l(+C.page - 1))
10099
10099
  }, [
10100
- h(n.$slots, "prev", {}, () => [
10101
- (t(), r("svg", {
10102
- class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": m.value }]),
10100
+ h(o.$slots, "prev", {}, () => [
10101
+ (m(), a("svg", {
10102
+ class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": d.value }]),
10103
10103
  fill: "none",
10104
10104
  height: "20",
10105
10105
  stroke: "#000000",
@@ -10109,17 +10109,17 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10109
10109
  viewBox: "0 0 24 24",
10110
10110
  width: "20",
10111
10111
  xmlns: "http://www.w3.org/2000/svg"
10112
- }, V0, 2))
10112
+ }, L0, 2))
10113
10113
  ])
10114
- ], 8, J3),
10114
+ ], 8, C0),
10115
10115
  u("button", {
10116
10116
  class: "r-pagination__paginator__next",
10117
- disabled: d.value,
10118
- onClick: l[3] || (l[3] = (S) => o(+C.page + 1))
10117
+ disabled: t.value,
10118
+ onClick: n[3] || (n[3] = (S) => l(+C.page + 1))
10119
10119
  }, [
10120
- h(n.$slots, "next", {}, () => [
10121
- (t(), r("svg", {
10122
- class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10120
+ h(o.$slots, "next", {}, () => [
10121
+ (m(), a("svg", {
10122
+ class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": t.value }]),
10123
10123
  fill: "none",
10124
10124
  height: "20",
10125
10125
  stroke: "#000000",
@@ -10129,17 +10129,17 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10129
10129
  viewBox: "0 0 24 24",
10130
10130
  width: "20",
10131
10131
  xmlns: "http://www.w3.org/2000/svg"
10132
- }, A0, 2))
10132
+ }, e0, 2))
10133
10133
  ])
10134
- ], 8, L0),
10134
+ ], 8, M0),
10135
10135
  u("button", {
10136
10136
  class: "r-pagination__paginator__last",
10137
10137
  disabled: C.page === L.value,
10138
- onClick: l[4] || (l[4] = (S) => o(L.value))
10138
+ onClick: n[4] || (n[4] = (S) => l(L.value))
10139
10139
  }, [
10140
- h(n.$slots, "last", {}, () => [
10141
- (t(), r("svg", {
10142
- class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10140
+ h(o.$slots, "last", {}, () => [
10141
+ (m(), a("svg", {
10142
+ class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": t.value }]),
10143
10143
  fill: "none",
10144
10144
  height: "20",
10145
10145
  stroke: "#000000",
@@ -10149,13 +10149,13 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10149
10149
  viewBox: "0 0 24 24",
10150
10150
  width: "20",
10151
10151
  xmlns: "http://www.w3.org/2000/svg"
10152
- }, l0, 2))
10152
+ }, o0, 2))
10153
10153
  ])
10154
- ], 8, e0)
10154
+ ], 8, t0)
10155
10155
  ])
10156
10156
  ], 2));
10157
10157
  }
10158
- }), o0 = ["value"], P0 = /* @__PURE__ */ R({
10158
+ }), n0 = ["value"], E0 = /* @__PURE__ */ R({
10159
10159
  __name: "RProgressbar",
10160
10160
  props: {
10161
10161
  value: { default: 0 },
@@ -10163,16 +10163,16 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10163
10163
  },
10164
10164
  setup(H) {
10165
10165
  const V = H;
10166
- return (C, M) => (t(), r("progress", {
10166
+ return (C, M) => (m(), a("progress", {
10167
10167
  "aria-valuemax": 100,
10168
10168
  class: "r-progressbar",
10169
10169
  max: 100,
10170
10170
  role: "progressbar",
10171
- style: G1({ height: `${V.height}px` }),
10171
+ style: $1({ height: `${V.height}px` }),
10172
10172
  value: V.value
10173
- }, null, 12, o0));
10173
+ }, null, 12, n0));
10174
10174
  }
10175
- }), g1 = "rocket-ui:r-item-group", T0 = /* @__PURE__ */ R({
10175
+ }), k1 = "rocket-ui:r-item-group", W0 = /* @__PURE__ */ R({
10176
10176
  __name: "RItemGroup",
10177
10177
  props: {
10178
10178
  modelValue: { default: () => [] },
@@ -10186,57 +10186,57 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10186
10186
  emits: ["update:modelValue"],
10187
10187
  setup(H, { emit: V }) {
10188
10188
  const C = H, M = V, i = E(C.as ?? "div"), L = E(C.modelValue), A = g(() => C.selectedClass);
10189
- f1(`${g1}:selectedClass`, A.value);
10190
- function e(o) {
10191
- return L.value.includes(o);
10189
+ h1(`${k1}:selectedClass`, A.value);
10190
+ function e(l) {
10191
+ return L.value.includes(l);
10192
10192
  }
10193
- f1(`${g1}:isSelected`, e);
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));
10193
+ h1(`${k1}:isSelected`, e);
10194
+ function t(l, r) {
10195
+ C.disabled || C.mandatory && L.value.length === 1 && !r || C.max && L.value.length === C.max && r || (C.multiple ? r ? L.value.push(l) : L.value = L.value.filter((o) => o !== l) : L.value = l ? [l] : [], M("update:modelValue", L.value));
10196
10196
  }
10197
- f1(`${g1}:select`, d);
10198
- function m() {
10197
+ h1(`${k1}:select`, t);
10198
+ function d() {
10199
10199
  return C.disabled;
10200
10200
  }
10201
- return f1(`${g1}:isDisabled`, m), G(() => C.modelValue, () => {
10201
+ return h1(`${k1}:isDisabled`, d), G(() => C.modelValue, () => {
10202
10202
  L.value = C.modelValue;
10203
- }), (o, a) => (t(), _(w2(i.value), null, {
10204
- default: B1(() => [
10205
- h(o.$slots, "default", {
10203
+ }), (l, r) => (m(), _(v2(i.value), null, {
10204
+ default: b1(() => [
10205
+ h(l.$slots, "default", {
10206
10206
  isSelected: e,
10207
- select: d,
10207
+ select: t,
10208
10208
  selected: L.value
10209
10209
  })
10210
10210
  ]),
10211
10211
  _: 3
10212
10212
  }));
10213
10213
  }
10214
- }), k1 = "rocket-ui:r-item-group", F0 = /* @__PURE__ */ R({
10214
+ }), B1 = "rocket-ui:r-item-group", N0 = /* @__PURE__ */ R({
10215
10215
  __name: "RItem",
10216
10216
  props: {
10217
10217
  value: { default: null },
10218
10218
  selectedClass: { default: "" }
10219
10219
  },
10220
10220
  setup(H) {
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]);
10221
+ const V = H, C = g1(`${B1}:isSelected`), M = g1(`${B1}:selectedClass`, ""), i = g1(`${B1}:select`), L = g1(`${B1}:isDisabled`), A = g(() => C(V.value) && [M, V.selectedClass]);
10222
10222
  function e() {
10223
10223
  V.disabled || i(V.value, !C(V.value));
10224
10224
  }
10225
- function d() {
10225
+ function t() {
10226
10226
  V.disabled || i(V.value, !0);
10227
10227
  }
10228
- return (m, o) => h(m.$slots, "default", {
10228
+ return (d, l) => h(d.$slots, "default", {
10229
10229
  disabled: J(L)(V.value),
10230
10230
  isSelected: J(C)(V.value),
10231
- select: d,
10231
+ select: t,
10232
10232
  selectedClass: A.value,
10233
10233
  toggle: e
10234
10234
  });
10235
10235
  }
10236
- }), n0 = ["id", "checked", "disabled", "name", "value"], r0 = { class: "flex flex-col" }, a0 = {
10236
+ }), r0 = ["id", "checked", "disabled", "name", "value"], a0 = { class: "flex flex-col" }, Z0 = {
10237
10237
  key: 1,
10238
10238
  class: "r-radio__error"
10239
- }, R0 = /* @__PURE__ */ R({
10239
+ }, I0 = /* @__PURE__ */ R({
10240
10240
  __name: "RRadio",
10241
10241
  props: {
10242
10242
  id: { default: "radio-id" },
@@ -10260,10 +10260,10 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10260
10260
  ]);
10261
10261
  return G(() => V.modelValue, (i) => {
10262
10262
  C.value = i;
10263
- }, { immediate: !0 }), (i, L) => (t(), r("div", {
10263
+ }, { immediate: !0 }), (i, L) => (m(), a("div", {
10264
10264
  class: p(M.value)
10265
10265
  }, [
10266
- u("input", T1(i.$attrs, {
10266
+ u("input", F1(i.$attrs, {
10267
10267
  id: V.id,
10268
10268
  checked: C.value,
10269
10269
  class: "r-radio__input",
@@ -10272,7 +10272,7 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10272
10272
  type: "radio",
10273
10273
  value: V.value,
10274
10274
  onChange: L[0] || (L[0] = (A) => i.$emit("update:modelValue"))
10275
- }), null, 16, n0),
10275
+ }), null, 16, r0),
10276
10276
  u("span", {
10277
10277
  class: p(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10278
10278
  onClick: L[1] || (L[1] = (A) => i.$emit("update:modelValue"))
@@ -10280,46 +10280,146 @@ const w3 = ["aria-disabled", "aria-selected", "disabled"], v3 = { key: 0 }, y3 =
10280
10280
  u("span", {
10281
10281
  class: p(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
10282
10282
  }, null, 2),
10283
- u("div", r0, [
10284
- V.title ? (t(), r("span", {
10283
+ u("div", a0, [
10284
+ V.title ? (m(), a("span", {
10285
10285
  key: 0,
10286
10286
  class: p(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10287
10287
  }, b(V.title), 3)) : O("", !0),
10288
10288
  u("span", null, b(V.label), 1)
10289
10289
  ])
10290
10290
  ], 2),
10291
- V.hint && !V.errorMsg ? (t(), r("span", {
10291
+ V.hint && !V.errorMsg ? (m(), a("span", {
10292
10292
  key: 0,
10293
10293
  class: p(["r-radio__hint", [V.disabled && "r-radio__hint--disabled"]])
10294
10294
  }, b(V.hint), 3)) : O("", !0),
10295
- V.errorMsg ? (t(), r("span", a0, b(V.errorMsg), 1)) : O("", !0)
10295
+ V.errorMsg ? (m(), a("span", Z0, b(V.errorMsg), 1)) : O("", !0)
10296
10296
  ], 2));
10297
10297
  }
10298
- });
10298
+ }), r1 = /* @__PURE__ */ new WeakMap();
10299
+ function u0(H) {
10300
+ const V = document.createElement("div");
10301
+ V.className = "r-tooltip", V.style.cssText = `
10302
+ position: absolute;
10303
+ z-index: 10000;
10304
+ background: transparent;
10305
+ margin: 0;
10306
+ padding: 0;
10307
+ top: 0;
10308
+ left: 0;
10309
+ display: none;
10310
+ `, V.dataset.show = "false";
10311
+ const C = document.createElement("div");
10312
+ C.className = `r-tooltip__content ${H.dark !== !1 ? "r-tooltip__content--dark" : "r-tooltip__content--light"}`, C.textContent = H.text || "";
10313
+ const M = document.createElement("div");
10314
+ return M.id = "arrow", M.className = `r-tooltip__arrow ${H.dark !== !1 ? "r-tooltip__arrow--dark" : "r-tooltip__arrow--light"}`, H.dark === !1 && V.classList.add("r-tooltip--light"), V.appendChild(C), V.appendChild(M), V;
10315
+ }
10316
+ function S0(H, V, C = "top", M = 8) {
10317
+ const i = V.getBoundingClientRect(), L = window.pageXOffset, A = window.pageYOffset, e = H.querySelector("#arrow");
10318
+ H.style.visibility = "hidden", H.style.display = "block";
10319
+ const t = H.getBoundingClientRect();
10320
+ H.style.visibility = "";
10321
+ let d = 0, l = 0;
10322
+ switch (C) {
10323
+ case "top":
10324
+ d = i.left + L + (i.width - t.width) / 2, l = i.top + A - t.height - M;
10325
+ break;
10326
+ case "bottom":
10327
+ d = i.left + L + (i.width - t.width) / 2, l = i.bottom + A + M;
10328
+ break;
10329
+ case "left":
10330
+ d = i.left + L - t.width - M, l = i.top + A + (i.height - t.height) / 2;
10331
+ break;
10332
+ case "right":
10333
+ d = i.right + L + M, l = i.top + A + (i.height - t.height) / 2;
10334
+ break;
10335
+ }
10336
+ const r = window.innerWidth, o = window.innerHeight;
10337
+ d < 0 && (d = 8), d + t.width > r && (d = r - t.width - 8), l < A && (l = A + 8), l + t.height > A + o && (l = A + o - t.height - 8), H.style.left = `${d}px`, H.style.top = `${l}px`, e && s0(e, C, t);
10338
+ }
10339
+ function s0(H, V, C, M) {
10340
+ H.style.left = "", H.style.top = "", H.style.right = "", H.style.bottom = "";
10341
+ const i = 8;
10342
+ switch (V) {
10343
+ case "top":
10344
+ H.style.left = `${C.width / 2 - i}px`, H.style.bottom = "-4px";
10345
+ break;
10346
+ case "bottom":
10347
+ H.style.left = `${C.width / 2 - i}px`, H.style.top = "-4px";
10348
+ break;
10349
+ case "left":
10350
+ H.style.top = `${C.height / 2 - i}px`, H.style.right = "-4px";
10351
+ break;
10352
+ case "right":
10353
+ H.style.top = `${C.height / 2 - i}px`, H.style.left = "-4px";
10354
+ break;
10355
+ }
10356
+ }
10357
+ function c0(H, V, C) {
10358
+ C.disabled || (document.body.appendChild(H), S0(H, V, C.placement, C.offset), H.style.display = "block", H.classList.add("r-tooltip--active"), H.dataset.show = "true", H.style.animation = "r-tooltip-show 200ms ease-out forwards");
10359
+ }
10360
+ function p0(H) {
10361
+ H.style.display = "", H.classList.remove("r-tooltip--active"), H.dataset.show = "false", H.parentNode && document.body.removeChild(H);
10362
+ }
10363
+ const O0 = {
10364
+ mounted(H, V) {
10365
+ const C = typeof V.value == "string" ? { text: V.value } : { ...V.value };
10366
+ if (!C.text || C.disabled)
10367
+ return;
10368
+ const M = u0(C);
10369
+ let i, L;
10370
+ const A = () => {
10371
+ clearTimeout(L), i = setTimeout(() => {
10372
+ c0(M, H, C);
10373
+ }, C.delay || 0);
10374
+ }, e = () => {
10375
+ clearTimeout(i), L = setTimeout(() => {
10376
+ p0(M);
10377
+ }, 100);
10378
+ }, t = () => {
10379
+ M.parentNode ? e() : A();
10380
+ }, d = (r) => {
10381
+ C.outsideClick && !H.contains(r.target) && !M.contains(r.target) && e();
10382
+ };
10383
+ C.trigger === "click" ? (H.addEventListener("click", t), C.outsideClick && document.addEventListener("click", d)) : (H.addEventListener("mouseenter", A), H.addEventListener("mouseleave", e));
10384
+ const l = () => {
10385
+ clearTimeout(i), clearTimeout(L), H.removeEventListener("mouseenter", A), H.removeEventListener("mouseleave", e), H.removeEventListener("click", t), document.removeEventListener("click", d), M.parentNode && document.body.removeChild(M);
10386
+ };
10387
+ r1.set(H, { element: M, cleanup: l });
10388
+ },
10389
+ updated(H, V) {
10390
+ const C = r1.get(H);
10391
+ C && (C.cleanup(), r1.delete(H)), O0.mounted(H, V, null, null);
10392
+ },
10393
+ unmounted(H) {
10394
+ const V = r1.get(H);
10395
+ V && (V.cleanup(), r1.delete(H));
10396
+ }
10397
+ };
10299
10398
  export {
10300
- u0 as RAccordion,
10301
- S0 as RAlert,
10302
- s0 as RAvatar,
10303
- c0 as RBadge,
10304
- v0 as RBreadcrumb,
10305
- p0 as RButton,
10306
- O0 as RCheckbox,
10307
- V5 as RChip,
10308
- t3 as RDropdown,
10399
+ h0 as RAccordion,
10400
+ g0 as RAlert,
10401
+ k0 as RAvatar,
10402
+ B0 as RBadge,
10403
+ D0 as RBreadcrumb,
10404
+ b0 as RButton,
10405
+ w0 as RCheckbox,
10406
+ L5 as RChip,
10407
+ m3 as RDropdown,
10309
10408
  D as RIcon,
10310
- F0 as RItem,
10311
- T0 as RItemGroup,
10312
- O2 as RLabel,
10313
- f0 as RModal,
10314
- y0 as RPagination,
10315
- P0 as RProgressbar,
10316
- R0 as RRadio,
10317
- h0 as RSidebar,
10318
- g0 as RSnackbar,
10319
- k0 as RSwitch,
10320
- y3 as RTabItem,
10321
- B0 as RTabs,
10322
- b0 as RTextArea,
10323
- w0 as RTextfield,
10324
- U5 as RTooltip
10409
+ N0 as RItem,
10410
+ W0 as RItemGroup,
10411
+ f2 as RLabel,
10412
+ v0 as RModal,
10413
+ _0 as RPagination,
10414
+ E0 as RProgressbar,
10415
+ I0 as RRadio,
10416
+ y0 as RSidebar,
10417
+ P0 as RSnackbar,
10418
+ T0 as RSwitch,
10419
+ P3 as RTabItem,
10420
+ F0 as RTabs,
10421
+ R0 as RTextArea,
10422
+ x0 as RTextfield,
10423
+ z5 as RTooltip,
10424
+ O0 as vTooltip
10325
10425
  };