@wikicasa-dev/components 2.1.23 → 2.1.24-alpha.0

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 (203) hide show
  1. package/dist/UIKit/AccessibleSelect.js +1 -1
  2. package/dist/UIKit/Accordion/BaseAccordion.js +1 -1
  3. package/dist/UIKit/Accordion/BaseAccordionBtn.js +1 -1
  4. package/dist/UIKit/Accordion/BaseAccordionContent.js +1 -1
  5. package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -1
  6. package/dist/UIKit/BaseAlert.js +2 -2
  7. package/dist/UIKit/BaseAutocomplete.js +1 -1
  8. package/dist/UIKit/BaseBadge.js +2 -2
  9. package/dist/UIKit/BaseBreadcrumb.js +1 -1
  10. package/dist/UIKit/BaseButton.js +1 -1
  11. package/dist/UIKit/BaseCard.js +2 -2
  12. package/dist/UIKit/BaseComplexToggle.js +2 -2
  13. package/dist/UIKit/BaseDropDown.js +1 -1
  14. package/dist/UIKit/BaseFloatingLabel.js +2 -2
  15. package/dist/UIKit/BaseIcon.js +2 -2
  16. package/dist/UIKit/BaseInput.js +2 -2
  17. package/dist/UIKit/BaseModal.js +2 -2
  18. package/dist/UIKit/BasePagination.js +1 -1
  19. package/dist/UIKit/BasePaper.js +2 -2
  20. package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
  21. package/dist/UIKit/BaseSlider.js +2 -2
  22. package/dist/UIKit/BaseSnackbar.d.ts +39 -20
  23. package/dist/UIKit/BaseSnackbar.js +3 -5
  24. package/dist/UIKit/BaseTextarea.js +2 -2
  25. package/dist/UIKit/BaseToggle.js +2 -2
  26. package/dist/UIKit/BaseTooltip.js +2 -2
  27. package/dist/UIKit/BaseUploadFile.js +1 -1
  28. package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -2
  29. package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
  30. package/dist/UIKit/Radio/RadioButton.js +1 -1
  31. package/dist/UIKit/Radio/RadioGroup.js +1 -1
  32. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +2 -2
  33. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
  34. package/dist/UIKit/Slider/SimpleSlider.js +2 -2
  35. package/dist/UIKit/StaticSpinner.js +2 -2
  36. package/dist/UIKit/Tab/BaseTab.js +1 -1
  37. package/dist/UIKit/Tab/BaseTabList.js +1 -1
  38. package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
  39. package/dist/UIKit/Tab/BaseTabView.js +1 -1
  40. package/dist/_virtual/polyline.js +1 -1
  41. package/dist/assets/{packages/components/lib → lib}/UIKit/BaseBadge.css +1 -1
  42. package/dist/assets/lib/UIKit/BaseCard.css +1 -0
  43. package/dist/assets/lib/UIKit/BaseComplexToggle.css +1 -0
  44. package/dist/assets/lib/UIKit/BaseModal.css +1 -0
  45. package/dist/assets/lib/UIKit/BaseSnackbar.css +1 -0
  46. package/dist/assets/lib/UIKit/Slider/SimpleSlider.css +1 -0
  47. package/dist/assets/node_modules/swiper/modules/keyboard.css +0 -0
  48. package/dist/assets/node_modules/swiper/modules/navigation.css +1 -0
  49. package/dist/assets/node_modules/swiper/swiper.css +1 -0
  50. package/dist/assets/src/tailwind.css +1 -0
  51. package/dist/chart/DoughnutChart.js +1 -1
  52. package/dist/chart/LineChart.js +1 -1
  53. package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
  54. package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
  55. package/dist/components/carousel/SwiperCarousel.d.ts +11 -4
  56. package/dist/components/carousel/SwiperCarousel.js +3 -3
  57. package/dist/index.js +89 -88
  58. package/dist/lazyModules/Swiper/autoplay.js +5 -0
  59. package/dist/lazyModules/Swiper/controller.js +5 -0
  60. package/dist/lazyModules/Swiper/free-mode.js +5 -0
  61. package/dist/lazyModules/Swiper/keyboard.js +5 -0
  62. package/dist/lazyModules/Swiper/navigation.js +5 -0
  63. package/dist/lazyModules/Swiper/pagination.js +5 -0
  64. package/dist/lazyModules/Swiper/thumbs.js +5 -0
  65. package/dist/lib/UIKit/AccessibleSelect.vue.js +211 -0
  66. package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordion.vue.js +3 -3
  67. package/dist/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +60 -0
  68. package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionContent.vue.js +10 -10
  69. package/dist/{packages/components/lib → lib}/UIKit/Accordion/BaseAccordionItem.vue.js +54 -54
  70. package/dist/lib/UIKit/BaseAlert.vue.js +19 -0
  71. package/dist/lib/UIKit/BaseAutocomplete.vue.js +192 -0
  72. package/dist/lib/UIKit/BaseBadge.vue.js +19 -0
  73. package/dist/lib/UIKit/BaseBreadcrumb.vue.js +58 -0
  74. package/dist/{packages/components/lib → lib}/UIKit/BaseButton.vue.js +18 -18
  75. package/dist/lib/UIKit/BaseCard.vue.js +37 -0
  76. package/dist/{packages/components/lib → lib}/UIKit/BaseComplexToggle.vue.js +29 -29
  77. package/dist/lib/UIKit/BaseDropDown.vue.js +135 -0
  78. package/dist/{packages/components/lib → lib}/UIKit/BaseFloatingLabel.vue.js +14 -14
  79. package/dist/lib/UIKit/BaseIcon.vue.js +27 -0
  80. package/dist/{packages/components/lib → lib}/UIKit/BaseInput.vue.js +86 -86
  81. package/dist/{packages/components/lib → lib}/UIKit/BaseModal.vue.js +61 -61
  82. package/dist/{packages/components/lib → lib}/UIKit/BasePagination.vue.js +93 -95
  83. package/dist/lib/UIKit/BaseSelect/SelectItem.vue.js +41 -0
  84. package/dist/{packages/components/lib → lib}/UIKit/BaseSlider.vue.js +45 -45
  85. package/dist/lib/UIKit/BaseSnackbar.vue.js +119 -0
  86. package/dist/{packages/components/lib → lib}/UIKit/BaseTextarea.vue.js +57 -57
  87. package/dist/{packages/components/lib → lib}/UIKit/BaseToggle.vue.js +15 -15
  88. package/dist/lib/UIKit/BaseTooltip.vue.js +41 -0
  89. package/dist/lib/UIKit/BaseUploadFile.vue.js +71 -0
  90. package/dist/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxBtn.vue.js +26 -26
  91. package/dist/lib/UIKit/Checkbox/CheckboxGroup.vue.js +112 -0
  92. package/dist/lib/UIKit/Radio/RadioButton.vue.js +58 -0
  93. package/dist/lib/UIKit/Radio/RadioGroup.vue.js +60 -0
  94. package/dist/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +7 -7
  95. package/dist/{packages/components/lib → lib}/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +8 -8
  96. package/dist/{packages/components/lib → lib}/UIKit/Slider/SimpleSlider.vue.js +7 -7
  97. package/dist/{packages/components/lib → lib}/UIKit/StaticSpinner.vue.js +3 -3
  98. package/dist/lib/UIKit/Tab/BaseTabList.vue.js +45 -0
  99. package/dist/lib/UIKit/Tab/BaseTabPanel.vue.js +25 -0
  100. package/dist/lib/UIKit/Tab/BaseTabView.vue.js +107 -0
  101. package/dist/lib/chart/DoughnutChart.vue.js +27 -0
  102. package/dist/lib/chart/LineChart.vue.js +42 -0
  103. package/dist/lib/components/IntersectionObserver/IntersectionObservable.vue.js +24 -0
  104. package/dist/{packages/components/lib → lib}/components/carousel/SwiperCarousel.vue.js +26 -27
  105. package/dist/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +41 -0
  106. package/dist/node_modules/{.pnpm/js-cookie@3.0.5/node_modules/js-cookie → js-cookie}/dist/js.cookie.js +0 -1
  107. package/dist/node_modules/swiper/modules/autoplay.js +128 -0
  108. package/dist/node_modules/swiper/modules/controller.js +100 -0
  109. package/dist/node_modules/swiper/modules/free-mode.js +123 -0
  110. package/dist/node_modules/swiper/modules/keyboard.js +66 -0
  111. package/dist/node_modules/swiper/modules/navigation.js +136 -0
  112. package/dist/node_modules/swiper/modules/pagination.js +226 -0
  113. package/dist/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/modules/thumbs.js +33 -34
  114. package/dist/node_modules/swiper/modules/zoom.js +309 -0
  115. package/dist/node_modules/swiper/shared/classes-to-selector.js +6 -0
  116. package/dist/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/shared/ssr-window.esm.js +9 -10
  117. package/dist/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/shared/utils.js +42 -39
  118. package/package.json +34 -30
  119. package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.css +0 -1
  120. package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css +0 -1
  121. package/dist/assets/packages/components/lib/UIKit/BaseCard.css +0 -1
  122. package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +0 -1
  123. package/dist/assets/packages/components/lib/UIKit/BaseModal.css +0 -1
  124. package/dist/assets/packages/components/lib/UIKit/BaseSnackbar.css +0 -1
  125. package/dist/assets/packages/components/lib/UIKit/Slider/SimpleSlider.css +0 -1
  126. package/dist/assets/packages/components/src/tailwind.css +0 -1
  127. package/dist/node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js +0 -41
  128. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.css.js +0 -1
  129. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.js +0 -129
  130. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.css.js +0 -1
  131. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js +0 -101
  132. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.js +0 -125
  133. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.css.js +0 -1
  134. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js +0 -67
  135. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js +0 -127
  136. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.js +0 -227
  137. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.css.js +0 -1
  138. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js +0 -310
  139. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/classes-to-selector.js +0 -6
  140. package/dist/packages/components/lazyModules/Swiper/autoplay.js +0 -5
  141. package/dist/packages/components/lazyModules/Swiper/controller.js +0 -5
  142. package/dist/packages/components/lazyModules/Swiper/free-mode.js +0 -5
  143. package/dist/packages/components/lazyModules/Swiper/keyboard.js +0 -5
  144. package/dist/packages/components/lazyModules/Swiper/navigation.js +0 -5
  145. package/dist/packages/components/lazyModules/Swiper/pagination.js +0 -5
  146. package/dist/packages/components/lazyModules/Swiper/thumbs.js +0 -5
  147. package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +0 -213
  148. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +0 -60
  149. package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +0 -19
  150. package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +0 -192
  151. package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +0 -19
  152. package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +0 -58
  153. package/dist/packages/components/lib/UIKit/BaseCard.vue.js +0 -37
  154. package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +0 -137
  155. package/dist/packages/components/lib/UIKit/BaseIcon.vue.js +0 -27
  156. package/dist/packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js +0 -41
  157. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +0 -81
  158. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +0 -41
  159. package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +0 -71
  160. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +0 -114
  161. package/dist/packages/components/lib/UIKit/Radio/RadioButton.vue.js +0 -58
  162. package/dist/packages/components/lib/UIKit/Radio/RadioGroup.vue.js +0 -62
  163. package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +0 -45
  164. package/dist/packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js +0 -25
  165. package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +0 -107
  166. package/dist/packages/components/lib/chart/DoughnutChart.vue.js +0 -27
  167. package/dist/packages/components/lib/chart/LineChart.vue.js +0 -42
  168. package/dist/packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js +0 -24
  169. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseAlert.css +0 -0
  170. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseFloatingLabel.css +0 -0
  171. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseIcon.css +0 -0
  172. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseInput.css +0 -0
  173. /package/dist/assets/{packages/components/lib → lib}/UIKit/BasePaper.css +0 -0
  174. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseSlider.css +0 -0
  175. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseTextarea.css +0 -0
  176. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseToggle.css +0 -0
  177. /package/dist/assets/{packages/components/lib → lib}/UIKit/BaseTooltip.css +0 -0
  178. /package/dist/assets/{packages/components/lib → lib}/UIKit/Checkbox/CheckboxBtn.css +0 -0
  179. /package/dist/assets/{packages/components/lib → lib}/UIKit/ShimmerLoader/BaseShimmerLoader.css +0 -0
  180. /package/dist/assets/{packages/components/lib → lib}/UIKit/StaticSpinner.css +0 -0
  181. /package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel.css +0 -0
  182. /package/dist/assets/{packages/components/lib → lib}/components/carousel/SwiperCarousel2.css +0 -0
  183. /package/dist/assets/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/modules/free-mode.css +0 -0
  184. /package/dist/assets/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/modules/pagination.css +0 -0
  185. /package/dist/assets/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/modules/zoom.css +0 -0
  186. /package/dist/{packages/components/lib → lib}/UIKit/BasePaper.vue.js +0 -0
  187. /package/dist/{packages/components/lib → lib}/UIKit/Tab/BaseTab.vue.js +0 -0
  188. /package/dist/{packages/components/lib → lib}/components/IntersectionObserver/IntersectionObserver.vue.js +0 -0
  189. /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/ArrowIcon.js +0 -0
  190. /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/CloseIcon.js +0 -0
  191. /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -0
  192. /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/PharmacyIcon.js +0 -0
  193. /package/dist/node_modules/{.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev → @wikicasa-dev}/svg-icons/dist/WarningIconRounded.js +0 -0
  194. /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/ArrayUtils.js +0 -0
  195. /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/DeviceDetectionUtils.js +0 -0
  196. /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/FunctionUtils.js +0 -0
  197. /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/GenericUtils.js +0 -0
  198. /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/ObjectUtils.js +0 -0
  199. /package/dist/node_modules/{.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev → @wikicasa-dev}/utilities/dist/utils/StringUtils.js +0 -0
  200. /package/dist/node_modules/{.pnpm/google-polyline@1.0.3/node_modules/google-polyline → google-polyline}/lib/decode.js +0 -0
  201. /package/dist/node_modules/{.pnpm/google-polyline@1.0.3/node_modules/google-polyline → google-polyline}/lib/encode.js +0 -0
  202. /package/dist/node_modules/{.pnpm/google-polyline@1.0.3/node_modules/google-polyline → google-polyline}/lib/polyline.js +0 -0
  203. /package/dist/node_modules/{.pnpm/swiper@11.2.6/node_modules/swiper → swiper}/shared/create-element-if-not-defined.js +0 -0
@@ -1,10 +1,10 @@
1
- import { defineComponent as T, ref as n, useTemplateRef as z, onUnmounted as H, watch as I, createBlock as O, openBlock as k, Teleport as $, createElementVNode as s, normalizeClass as o, withModifiers as v, createElementBlock as y, createCommentVNode as h, renderSlot as d, createVNode as D, unref as K, nextTick as N } from "vue";
2
- import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
3
- import { isWindows as w } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js";
4
- import { awaitableSetTimeout as S } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
5
- import "../../../../_virtual/polyline.js";
6
- import { CloseIcon as V } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
7
- import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
1
+ import { defineComponent as T, ref as n, useTemplateRef as z, onUnmounted as H, watch as I, createBlock as O, openBlock as k, Teleport as $, createElementVNode as l, normalizeClass as s, withModifiers as y, createElementBlock as h, createCommentVNode as w, renderSlot as d, createVNode as D, unref as K, nextTick as N } from "vue";
2
+ import "../../node_modules/js-cookie/dist/js.cookie.js";
3
+ import { isWindows as C } from "../../node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js";
4
+ import { awaitableSetTimeout as S } from "../../node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js";
5
+ import "../../_virtual/polyline.js";
6
+ import { CloseIcon as V } from "../../node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js";
7
+ import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
8
8
  const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
9
9
  __name: "BaseModal",
10
10
  props: {
@@ -27,115 +27,115 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
27
27
  titleClasses: {}
28
28
  },
29
29
  emits: ["closed", "opened", "dialogClick"],
30
- setup(l, { emit: C }) {
31
- const r = C, t = n(!1), m = n(null), a = z("modalDialog"), c = n(!1), u = n(!1), f = ({ key: e }) => {
32
- e === "Escape" && i();
33
- }, g = () => {
34
- document?.body.addEventListener("keydown", f);
30
+ setup(e, { emit: g }) {
31
+ const c = g, i = n(!1), m = n(null), a = z("modalDialog"), r = n(!1), u = n(!1), f = ({ key: t }) => {
32
+ t === "Escape" && o();
35
33
  }, p = () => {
34
+ document?.body.addEventListener("keydown", f);
35
+ }, b = () => {
36
36
  document?.body.removeEventListener("keydown", f);
37
- }, M = async () => {
38
- t.value = !0, N(() => {
39
- g(), w() ? document?.body.classList.add("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.add("uikit-no-scrolling");
40
- }), r("opened"), l.autoClose !== void 0 && setTimeout(() => {
41
- i();
42
- }, l.autoClose);
43
- }, B = (e) => {
44
- a.value && a.value.contains(e.target) && (u.value = !0);
45
- }, x = (e) => {
46
- a.value && a.value.contains(e.target) && (u.value = !1);
37
+ }, x = async () => {
38
+ i.value = !0, N(() => {
39
+ p(), C() ? document?.body.classList.add("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.add("uikit-no-scrolling");
40
+ }), c("opened"), e.autoClose !== void 0 && setTimeout(() => {
41
+ o();
42
+ }, e.autoClose);
43
+ }, M = (t) => {
44
+ a.value && a.value.contains(t.target) && (u.value = !0);
45
+ }, B = (t) => {
46
+ a.value && a.value.contains(t.target) && (u.value = !1);
47
47
  }, L = async () => {
48
- if (l.closeOnClickOut) {
48
+ if (e.closeOnClickOut) {
49
49
  if (u.value) {
50
50
  u.value = !1;
51
51
  return;
52
52
  }
53
- await i();
53
+ await o();
54
54
  }
55
- }, i = async () => {
56
- t.value = !1, p(), document?.documentElement.classList.remove("uikit-no-scrolling"), navigator.userAgent.includes("Windows") ? document?.body.classList.remove("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.remove("uikit-no-scrolling"), await S(() => {
57
- m.value?.classList.add("uikit-hidden"), r("closed");
55
+ }, o = async () => {
56
+ i.value = !1, b(), document?.documentElement.classList.remove("uikit-no-scrolling"), navigator.userAgent.includes("Windows") ? document?.body.classList.remove("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.remove("uikit-no-scrolling"), await S(() => {
57
+ m.value?.classList.add("uikit-hidden"), c("closed");
58
58
  }, 250);
59
59
  };
60
60
  return H(() => {
61
- p(), document?.documentElement.classList.remove("uikit-no-scrolling"), w() ? document?.body.classList.remove("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.remove("uikit-no-scrolling");
61
+ b(), document?.documentElement.classList.remove("uikit-no-scrolling"), C() ? document?.body.classList.remove("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.remove("uikit-no-scrolling");
62
62
  }), I(
63
- () => l.showModal,
64
- async (e) => {
65
- !e && !t.value ? c.value = !0 : c.value = !1, e && !t.value && await M(), !e && t.value && await i(), t.value = e;
63
+ () => e.showModal,
64
+ async (t) => {
65
+ !t && !i.value ? r.value = !0 : r.value = !1, t && !i.value && await x(), !t && i.value && await o(), i.value = t;
66
66
  },
67
67
  { immediate: !0 }
68
- ), (e, b) => (k(), O($, { to: "body" }, [
69
- s("div", {
68
+ ), (t, v) => (k(), O($, { to: "body" }, [
69
+ l("div", {
70
70
  ref_key: "backdropEl",
71
71
  ref: m,
72
- class: o(["bbt-backdrop uikit-fixed uikit-left-0 uikit-top-0 uikit-h-full uikit-w-full", [
72
+ class: s(["bbt-backdrop uikit-fixed uikit-left-0 uikit-top-0 uikit-h-full uikit-w-full", [
73
73
  e.customBackdropClasses,
74
74
  {
75
- "uikit-animate-[backdrop-opacity_0.3s_ease-out_0s_backwards] uikit-bg-w-secondary/70": t.value
75
+ "uikit-animate-[backdrop-opacity_0.3s_ease-out_0s_backwards] uikit-bg-w-secondary/70": i.value
76
76
  },
77
- { "uikit-bg-transparent": !t.value },
77
+ { "uikit-bg-transparent": !i.value },
78
78
  { "sm:uikit-pt-[30px]": !e.centered },
79
- { hide: c.value }
79
+ { hide: r.value }
80
80
  ]]),
81
81
  style: { "z-index": "1062" },
82
82
  onClick: L,
83
- onMousedown: B,
84
- onMouseup: x
83
+ onMousedown: M,
84
+ onMouseup: B
85
85
  }, [
86
- s("dialog", {
86
+ l("dialog", {
87
87
  id: e.id,
88
88
  ref: "modalDialog",
89
89
  "data-cy": e.dataCy,
90
- class: o(["uikit-modal-dialog transition-y uikit-mx-auto uikit-block uikit-w-full uikit-overflow-y-auto uikit-overflow-x-hidden uikit-rounded uikit-border-none uikit-bg-transparent uikit-bg-white uikit-p-0 uikit-shadow-lg uikit-no-scrollbar uikit-safe-bottom max-sm:uikit-fixed max-sm:uikit-bottom-0 max-sm:uikit-max-h-[95%] max-sm:uikit-rounded-bl-none max-sm:uikit-rounded-br-none sm:uikit-h-auto", [
90
+ class: s(["uikit-modal-dialog transition-y uikit-mx-auto uikit-block uikit-w-full uikit-overflow-y-auto uikit-overflow-x-hidden uikit-rounded uikit-border-none uikit-bg-transparent uikit-bg-white uikit-p-0 uikit-shadow-lg uikit-no-scrollbar uikit-safe-bottom max-sm:uikit-fixed max-sm:uikit-bottom-0 max-sm:uikit-max-h-[95%] max-sm:uikit-rounded-bl-none max-sm:uikit-rounded-br-none sm:uikit-h-auto", [
91
91
  e.customModalDialogClasses,
92
- { show: t.value },
93
- { "closed uikit-overflow-hidden": !t.value },
92
+ { show: i.value },
93
+ { "closed uikit-overflow-hidden": !i.value },
94
94
  { centered: e.centered },
95
95
  { "uikit-absolute": e.centered },
96
96
  { "uikit-static": !e.centered },
97
97
  `base-${e.size}`,
98
98
  e.fullHeight ? "uikit-h-[95%]" : "uikit-h-auto"
99
99
  ]]),
100
- onClick: b[0] || (b[0] = v((E) => r("dialogClick", E), ["stop"]))
100
+ onClick: v[0] || (v[0] = y((E) => c("dialogClick", E), ["stop"]))
101
101
  }, [
102
- s("div", {
103
- class: o(["default-header uikit-sticky uikit-top-0 uikit-z-10 uikit-rounded-t uikit-border-0 uikit-bg-white uikit-px-4 uikit-pb-10px uikit-pt-20px sm:uikit-px-6", [e.customModalHeaderClasses]])
102
+ l("div", {
103
+ class: s(["default-header uikit-sticky uikit-top-0 uikit-z-10 uikit-rounded-t uikit-border-0 uikit-bg-white uikit-px-4 uikit-pb-10px uikit-pt-20px sm:uikit-px-6", [e.customModalHeaderClasses]])
104
104
  }, [
105
- e.withCloseIcon ? (k(), y("button", {
105
+ e.withCloseIcon ? (k(), h("button", {
106
106
  key: 0,
107
107
  id: "close-icon-btn",
108
108
  "data-cy": "bbt-default-close-icon-btn",
109
- class: o(["uikit-absolute uikit-right-15px uikit-top-15px uikit-z-10 uikit-bg-transparent", e.closeIconBtnClasses]),
109
+ class: s(["uikit-absolute uikit-right-15px uikit-top-15px uikit-z-10 uikit-bg-transparent", e.closeIconBtnClasses]),
110
110
  type: "button",
111
111
  "aria-label": "Close",
112
- onClick: v(i, ["prevent", "stop"])
112
+ onClick: y(o, ["prevent", "stop"])
113
113
  }, [
114
114
  D(K(V), {
115
115
  class: "bbt-close-icon uikit-box-border uikit-p-5px",
116
116
  width: 30,
117
117
  height: 30
118
118
  })
119
- ], 2)) : h("", !0),
120
- d(e.$slots, "header", { closeModal: i }, () => [
121
- s("span", {
122
- class: o(["uikit-w-auto uikit-text-18 uikit-font-semibold sm:uikit-text-22", e.titleClasses]),
119
+ ], 2)) : w("", !0),
120
+ d(t.$slots, "header", { closeModal: o }, () => [
121
+ l("span", {
122
+ class: s(["uikit-w-auto uikit-text-18 uikit-font-semibold sm:uikit-text-22", e.titleClasses]),
123
123
  innerHTML: e.headerTitle
124
124
  }, null, 10, U)
125
125
  ])
126
126
  ], 2),
127
- s("div", {
128
- class: o(["uikit-bbt-body uikit-flex-auto uikit-overflow-y-auto uikit-overflow-x-hidden uikit-px-4 uikit-pb-0 uikit-no-scrollbar sm:uikit-px-6 sm:uikit-pb-25px", [e.customModalBodyClasses]])
127
+ l("div", {
128
+ class: s(["uikit-bbt-body uikit-flex-auto uikit-overflow-y-auto uikit-overflow-x-hidden uikit-px-4 uikit-pb-0 uikit-no-scrollbar sm:uikit-px-6 sm:uikit-pb-25px", [e.customModalBodyClasses]])
129
129
  }, [
130
- d(e.$slots, "body", { closeModal: i })
130
+ d(t.$slots, "body", { closeModal: o })
131
131
  ], 2),
132
- e.$slots.footer ? (k(), y("div", {
132
+ t.$slots.footer ? (k(), h("div", {
133
133
  key: 0,
134
- class: o(["uikit-bbt-footer uikit-sticky uikit-bottom-0 uikit-border-0 uikit-bg-white uikit-px-4 uikit-py-15px sm:uikit-px-6", e.customModalFooterClasses])
134
+ class: s(["uikit-bbt-footer uikit-sticky uikit-bottom-0 uikit-border-0 uikit-bg-white uikit-px-4 uikit-py-15px sm:uikit-px-6", e.customModalFooterClasses])
135
135
  }, [
136
- d(e.$slots, "footer", { closeModal: i })
137
- ], 2)) : h("", !0),
138
- d(e.$slots, "fixed-bottom")
136
+ d(t.$slots, "footer", { closeModal: o })
137
+ ], 2)) : w("", !0),
138
+ d(t.$slots, "fixed-bottom")
139
139
  ], 10, F)
140
140
  ], 34)
141
141
  ]));
@@ -1,6 +1,6 @@
1
- import { defineComponent as O, mergeModels as V, useModel as A, computed as s, createElementBlock as o, openBlock as r, createCommentVNode as k, createElementVNode as x, createBlock as m, resolveDynamicComponent as c, mergeProps as h, withCtx as f, createVNode as M, unref as $, toDisplayString as d, Fragment as w, createTextVNode as g, renderList as j } from "vue";
2
- import { ArrowIcon as B } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
- import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
1
+ import { defineComponent as O, mergeModels as V, useModel as A, computed as s, createElementBlock as o, openBlock as a, createCommentVNode as k, createElementVNode as P, createBlock as v, resolveDynamicComponent as m, mergeProps as h, withCtx as f, createVNode as $, unref as p, toDisplayString as g, Fragment as w, createTextVNode as x, renderList as j } from "vue";
2
+ import { ArrowIcon as B } from "../../node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
+ import "../../node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
4
4
  const Q = {
5
5
  "aria-label": "Page navigation",
6
6
  class: "uikit-overflow-auto"
@@ -42,59 +42,59 @@ const Q = {
42
42
  pageNumberModifiers: {}
43
43
  }),
44
44
  emits: ["update:pageNumber"],
45
- setup(a) {
46
- const u = A(a, "pageNumber"), y = s(() => (u.value || 1) + 1), b = s(() => (u.value || 1) - 1), v = s(() => a.baseUrl ? a.linkTag : "span"), l = s(() => Math.ceil((a.count + a.additionalCount) / a.limit)), D = (e = 1) => e < 1, S = (e = 1) => e === l.value, P = s(() => (u.value || 0) > a.siblings + 2), C = s(
47
- () => (u.value || 0) < l.value - a.siblings - 1
48
- ), N = s(() => {
49
- let i = u.value || 0, t = 0;
50
- for (; i > 2 && t < a.siblings; )
51
- i--, t++;
52
- return t;
53
- }), L = s(() => {
54
- let i = u.value || 0, t = 0;
55
- for (; i < l.value - 1 && t < a.siblings; )
56
- i++, t++;
57
- return t;
45
+ setup(e) {
46
+ const u = A(e, "pageNumber"), y = s(() => (u.value || 1) + 1), b = s(() => (u.value || 1) - 1), c = s(() => e.baseUrl ? e.linkTag : "span"), r = s(() => Math.ceil((e.count + e.additionalCount) / e.limit)), D = (l = 1) => l < 1, S = (l = 1) => l === r.value, C = s(() => (u.value || 0) > e.siblings + 2), N = s(
47
+ () => (u.value || 0) < r.value - e.siblings - 1
48
+ ), L = s(() => {
49
+ let t = u.value || 0, i = 0;
50
+ for (; t > 2 && i < e.siblings; )
51
+ t--, i++;
52
+ return i;
53
+ }), M = s(() => {
54
+ let t = u.value || 0, i = 0;
55
+ for (; t < r.value - 1 && i < e.siblings; )
56
+ t++, i++;
57
+ return i;
58
58
  }), U = s(() => {
59
- const e = N.value + /* Filling with the remaining right siblings */
60
- Math.abs(L.value - a.siblings) + /* If there is no suspension points on the right, let's fill it */
61
- new Number(!C.value).valueOf() + /* If the pageNumber is the same of the last, let's fill it */
62
- new Number(u.value === l.value).valueOf();
63
- let i = Math.max((u.value || 0) - e, 2);
64
- const t = [];
65
- for (i; i < (u.value || 0); i++) t.push(i);
66
- return t;
59
+ const l = L.value + /* Filling with the remaining right siblings */
60
+ Math.abs(M.value - e.siblings) + /* If there is no suspension points on the right, let's fill it */
61
+ new Number(!N.value).valueOf() + /* If the pageNumber is the same of the last, let's fill it */
62
+ new Number(u.value === r.value).valueOf();
63
+ let t = Math.max((u.value || 0) - l, 2);
64
+ const i = [];
65
+ for (t; t < (u.value || 0); t++) i.push(t);
66
+ return i;
67
67
  }), T = s(() => {
68
- const e = L.value + /* Filling with the remaining left siblings */
69
- Math.abs(N.value - a.siblings) + /* If there is no suspension points on the left, let's fill it */
70
- new Number(!P.value).valueOf() + /* If the pageNumber is the same of the firstPage, let's fill it */
68
+ const l = M.value + /* Filling with the remaining left siblings */
69
+ Math.abs(L.value - e.siblings) + /* If there is no suspension points on the left, let's fill it */
70
+ new Number(!C.value).valueOf() + /* If the pageNumber is the same of the firstPage, let's fill it */
71
71
  new Number(u.value === 1).valueOf();
72
- let i = Math.min(u.value || 0, l.value - 1);
73
- const t = [];
74
- for (i; i < Math.min((u.value || 0) + e, l.value - 1); i++)
75
- t.push(i + 1);
76
- return t;
77
- }), p = (e) => {
78
- e < 1 || e > l.value || setTimeout(() => {
79
- u.value = e;
72
+ let t = Math.min(u.value || 0, r.value - 1);
73
+ const i = [];
74
+ for (t; t < Math.min((u.value || 0) + l, r.value - 1); t++)
75
+ i.push(t + 1);
76
+ return i;
77
+ }), d = (l) => {
78
+ l < 1 || l > r.value || setTimeout(() => {
79
+ u.value = l;
80
80
  });
81
- }, n = (e = 1) => {
82
- if (a.baseUrl)
81
+ }, n = (l = 1) => {
82
+ if (e.baseUrl)
83
83
  try {
84
- const i = new URL(a.baseUrl);
85
- return e <= 1 ? (i.searchParams.delete(a.pageQueryParameter), `${i.pathname}${i.search}${i.hash}`) : (i.searchParams.set(a.pageQueryParameter, `${e}`), `${i.pathname}${i.search}${i.hash}`);
86
- } catch (i) {
87
- console.error(i);
84
+ const t = new URL(e.baseUrl);
85
+ return l <= 1 ? (t.searchParams.delete(e.pageQueryParameter), `${t.pathname}${t.search}${t.hash}`) : (t.searchParams.set(e.pageQueryParameter, `${l}`), `${t.pathname}${t.search}${t.hash}`);
86
+ } catch (t) {
87
+ console.error(t);
88
88
  return;
89
89
  }
90
90
  };
91
- return (e, i) => (r(), o("nav", Q, [
92
- e.count > 0 ? (r(), o("ul", E, [
93
- x("li", {
91
+ return (l, t) => (a(), o("nav", Q, [
92
+ e.count > 0 ? (a(), o("ul", E, [
93
+ P("li", {
94
94
  "data-cy": e.prevDataCy,
95
- onClick: i[0] || (i[0] = (t) => p(b.value))
95
+ onClick: t[0] || (t[0] = (i) => d(b.value))
96
96
  }, [
97
- (r(), m(c(D(b.value) ? "span" : v.value), h({
97
+ (a(), v(m(D(b.value) ? "span" : c.value), h({
98
98
  href: n(b.value),
99
99
  to: n(b.value),
100
100
  class: ["arrow-button prev-page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px", {
@@ -104,53 +104,52 @@ const Q = {
104
104
  }]
105
105
  }, e.linkProps), {
106
106
  default: f(() => [
107
- M($(B), {
107
+ $(p(B), {
108
108
  width: 20,
109
109
  height: 11,
110
110
  "stroke-color": u.value === 1 ? "#8996A9" : e.arrowColor,
111
111
  class: "uikit-inline-block uikit-rotate-90"
112
112
  }, null, 8, ["stroke-color"]),
113
- e.small && e.prevLabel ? (r(), o("span", q, d(e.prevLabel), 1)) : k("", !0)
113
+ e.small && e.prevLabel ? (a(), o("span", q, g(e.prevLabel), 1)) : k("", !0)
114
114
  ]),
115
115
  _: 1
116
116
  }, 16, ["href", "to", "class"]))
117
117
  ], 8, R),
118
- e.small ? k("", !0) : (r(), o(w, { key: 0 }, [
119
- (u.value || 0) > 1 ? (r(), o("li", {
118
+ e.small ? k("", !0) : (a(), o(w, { key: 0 }, [
119
+ (u.value || 0) > 1 ? (a(), o("li", {
120
120
  key: 0,
121
- onClick: i[1] || (i[1] = (t) => p(1))
121
+ onClick: t[1] || (t[1] = (i) => d(1))
122
122
  }, [
123
- (r(), m(c(v.value), h({
123
+ (a(), v(m(c.value), h({
124
124
  href: n(1),
125
125
  to: n(1),
126
126
  class: "page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
127
127
  }, e.linkProps), {
128
- default: f(() => i[4] || (i[4] = [
129
- g(" 1 ")
130
- ])),
128
+ default: f(() => [...t[4] || (t[4] = [
129
+ x(" 1 ", -1)
130
+ ])]),
131
131
  _: 1
132
132
  }, 16, ["href", "to"]))
133
133
  ])) : k("", !0),
134
- P.value ? (r(), o("li", z, " ... ")) : k("", !0),
135
- (r(!0), o(w, null, j(U.value, (t) => (r(), o("li", {
136
- key: t,
137
- onClick: (F) => p(t)
134
+ C.value ? (a(), o("li", z, " ... ")) : k("", !0),
135
+ (a(!0), o(w, null, j(U.value, (i) => (a(), o("li", {
136
+ key: i,
137
+ onClick: (F) => d(i)
138
138
  }, [
139
- (r(), m(c(v.value), h({
140
- href: n(t),
141
- to: n(t),
142
- class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white",
143
- ref_for: !0
144
- }, e.linkProps), {
139
+ (a(), v(m(c.value), h({
140
+ href: n(i),
141
+ to: n(i),
142
+ class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
143
+ }, { ref_for: !0 }, e.linkProps), {
145
144
  default: f(() => [
146
- g(d(e.formatter ? e.formatter(t) : t), 1)
145
+ x(g(e.formatter ? e.formatter(i) : i), 1)
147
146
  ]),
148
147
  _: 2
149
148
  }, 1040, ["href", "to"]))
150
149
  ], 8, G))), 128))
151
150
  ], 64)),
152
- x("li", null, [
153
- (r(), m(c(v.value), h({
151
+ P("li", null, [
152
+ (a(), v(m(c.value), h({
154
153
  href: n(u.value),
155
154
  to: n(u.value),
156
155
  class: ["selected uikit-pointer-events-none uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline", {
@@ -158,62 +157,61 @@ const Q = {
158
157
  }]
159
158
  }, e.linkProps), {
160
159
  default: f(() => [
161
- g(d(e.formatter ? e.formatter(u.value) : u.value), 1)
160
+ x(g(e.formatter ? e.formatter(u.value) : u.value), 1)
162
161
  ]),
163
162
  _: 1
164
163
  }, 16, ["href", "to", "class"]))
165
164
  ]),
166
- e.small ? k("", !0) : (r(), o(w, { key: 1 }, [
167
- (r(!0), o(w, null, j(T.value, (t) => (r(), o("li", {
168
- key: t,
169
- onClick: (F) => p(t)
165
+ e.small ? k("", !0) : (a(), o(w, { key: 1 }, [
166
+ (a(!0), o(w, null, j(T.value, (i) => (a(), o("li", {
167
+ key: i,
168
+ onClick: (F) => d(i)
170
169
  }, [
171
- (r(), m(c(v.value), h({
172
- href: n(t),
173
- to: n(t),
174
- class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-text-w-black uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white",
175
- ref_for: !0
176
- }, e.linkProps), {
170
+ (a(), v(m(c.value), h({
171
+ href: n(i),
172
+ to: n(i),
173
+ class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-text-w-black uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
174
+ }, { ref_for: !0 }, e.linkProps), {
177
175
  default: f(() => [
178
- g(d(e.formatter ? e.formatter(t) : t), 1)
176
+ x(g(e.formatter ? e.formatter(i) : i), 1)
179
177
  ]),
180
178
  _: 2
181
179
  }, 1040, ["href", "to"]))
182
180
  ], 8, H))), 128)),
183
- C.value ? (r(), o("li", J, " ... ")) : k("", !0),
184
- (u.value || 0) < l.value ? (r(), o("li", {
181
+ N.value ? (a(), o("li", J, " ... ")) : k("", !0),
182
+ (u.value || 0) < r.value ? (a(), o("li", {
185
183
  key: 1,
186
- onClick: i[2] || (i[2] = (t) => p(l.value))
184
+ onClick: t[2] || (t[2] = (i) => d(r.value))
187
185
  }, [
188
- (r(), m(c(v.value), h({
189
- href: n(l.value),
190
- to: n(l.value),
186
+ (a(), v(m(c.value), h({
187
+ href: n(r.value),
188
+ to: n(r.value),
191
189
  class: "uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-cursor-pointer uikit-select-none uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px uikit-no-underline hover:uikit-bg-w-primary hover:uikit-text-white"
192
190
  }, e.linkProps), {
193
191
  default: f(() => [
194
- g(d(e.formatter ? e.formatter(l.value) : l.value), 1)
192
+ x(g(e.formatter ? e.formatter(r.value) : r.value), 1)
195
193
  ]),
196
194
  _: 1
197
195
  }, 16, ["href", "to"]))
198
196
  ])) : k("", !0)
199
197
  ], 64)),
200
- x("li", {
198
+ P("li", {
201
199
  "data-cy": e.nextDataCy,
202
- onClick: i[3] || (i[3] = (t) => p(y.value))
200
+ onClick: t[3] || (t[3] = (i) => d(y.value))
203
201
  }, [
204
- (r(), m(c(S(u.value) ? "span" : v.value), h({
202
+ (a(), v(m(S(u.value) ? "span" : c.value), h({
205
203
  href: n(y.value),
206
204
  to: n(y.value),
207
205
  class: ["arrow-button next-page uikit-flex uikit-h-30px uikit-min-w-[30px] uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px", {
208
- "uikit-cursor-pointer active:max-sm:uikit-bg-w-primary hover:sm:uikit-bg-w-primary [&_svg]:active:max-sm:uikit-brightness-0 [&_svg]:active:max-sm:uikit-invert [&_svg]:hover:sm:uikit-brightness-0 [&_svg]:hover:sm:uikit-invert": (u.value || 0) < l.value,
209
- "active:max-sm:uikit-text-white hover:sm:uikit-text-white": e.small && (u.value || 0) < l.value,
206
+ "uikit-cursor-pointer active:max-sm:uikit-bg-w-primary hover:sm:uikit-bg-w-primary [&_svg]:active:max-sm:uikit-brightness-0 [&_svg]:active:max-sm:uikit-invert [&_svg]:hover:sm:uikit-brightness-0 [&_svg]:hover:sm:uikit-invert": (u.value || 0) < r.value,
207
+ "active:max-sm:uikit-text-white hover:sm:uikit-text-white": e.small && (u.value || 0) < r.value,
210
208
  "uikit-rounded-xs": e.small && e.nextLabel
211
209
  }]
212
210
  }, e.linkProps), {
213
211
  default: f(() => [
214
- e.small && e.nextLabel ? (r(), o("span", W, d(e.nextLabel), 1)) : k("", !0),
215
- M($(B), {
216
- "stroke-color": (u.value || 0) === l.value ? "#8996A9" : e.arrowColor,
212
+ e.small && e.nextLabel ? (a(), o("span", W, g(e.nextLabel), 1)) : k("", !0),
213
+ $(p(B), {
214
+ "stroke-color": (u.value || 0) === r.value ? "#8996A9" : e.arrowColor,
217
215
  width: 20,
218
216
  height: 11,
219
217
  class: "uikit-inline-block -uikit-rotate-90"
@@ -0,0 +1,41 @@
1
+ import { defineComponent as u, useTemplateRef as r, watch as m, nextTick as c, createElementBlock as d, openBlock as f, normalizeClass as k, renderSlot as v, createElementVNode as x } from "vue";
2
+ const p = ["tabindex"], b = ["innerHTML"], $ = /* @__PURE__ */ u({
3
+ __name: "SelectItem",
4
+ props: {
5
+ label: { default: "" },
6
+ active: { type: Boolean, default: !1 },
7
+ idx: { default: -1 }
8
+ },
9
+ emits: ["click", "mouseover"],
10
+ setup(l, { emit: a }) {
11
+ const n = a, t = l, o = r("liItem");
12
+ return m(
13
+ () => t.active,
14
+ (e) => {
15
+ e && c(() => {
16
+ o.value && o.value.focus();
17
+ });
18
+ },
19
+ { immediate: !0 }
20
+ ), (e, i) => (f(), d("li", {
21
+ ref: "liItem",
22
+ class: k(["uikit-list-none uikit-text-w-black", [
23
+ { "active uikit-bg-w-cultured": l.active },
24
+ "uikit-outline-none",
25
+ e.$attrs.class
26
+ ]]),
27
+ tabindex: e.$attrs.tabindex ?? -1,
28
+ onClick: i[0] || (i[0] = (s) => n("click", t.idx)),
29
+ onMouseover: i[1] || (i[1] = (s) => n("mouseover", t.idx))
30
+ }, [
31
+ v(e.$slots, "default", { itemIdx: l.idx }, () => [
32
+ x("span", {
33
+ innerHTML: t.label
34
+ }, null, 8, b)
35
+ ])
36
+ ], 42, p));
37
+ }
38
+ });
39
+ export {
40
+ $ as default
41
+ };