@wikicasa-dev/components 2.1.2-alpha.4 → 2.1.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 (168) 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 -3
  7. package/dist/UIKit/BaseAutocomplete.js +1 -1
  8. package/dist/UIKit/BaseBadge.js +2 -3
  9. package/dist/UIKit/BaseBreadcrumb.js +1 -1
  10. package/dist/UIKit/BaseButton.js +1 -1
  11. package/dist/UIKit/BaseCard.js +36 -5
  12. package/dist/UIKit/BaseComplexToggle.js +105 -5
  13. package/dist/UIKit/BaseDropDown.js +1 -1
  14. package/dist/UIKit/BaseFloatingLabel.js +39 -5
  15. package/dist/UIKit/BaseIcon.js +25 -4
  16. package/dist/UIKit/BaseInput.js +210 -5
  17. package/dist/UIKit/BaseModal.js +2 -3
  18. package/dist/UIKit/BasePagination.js +1 -1
  19. package/dist/UIKit/BasePaper.js +9 -9
  20. package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
  21. package/dist/UIKit/BaseSlider.js +206 -5
  22. package/dist/UIKit/BaseSnackbar.js +80 -5
  23. package/dist/UIKit/BaseTextarea.js +126 -5
  24. package/dist/UIKit/BaseToggle.js +41 -5
  25. package/dist/UIKit/BaseTooltip.js +40 -5
  26. package/dist/UIKit/BaseUploadFile.js +1 -1
  27. package/dist/UIKit/Checkbox/CheckboxBtn.js +74 -5
  28. package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
  29. package/dist/UIKit/Radio/RadioButton.js +1 -1
  30. package/dist/UIKit/Radio/RadioGroup.js +1 -1
  31. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +20 -5
  32. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
  33. package/dist/UIKit/Slider/SimpleSlider.js +81 -5
  34. package/dist/UIKit/StaticSpinner.js +26 -5
  35. package/dist/UIKit/Tab/BaseTab.js +1 -1
  36. package/dist/UIKit/Tab/BaseTabList.js +1 -1
  37. package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
  38. package/dist/UIKit/Tab/BaseTabView.js +1 -1
  39. package/dist/assets/SwiperCarousel.css +1 -0
  40. package/dist/chart/DoughnutChart.js +1 -1
  41. package/dist/chart/LineChart.js +1 -1
  42. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.gRPd8LaO.js +246 -0
  43. package/dist/{node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js → chunks/ArrowIcon.Bq6Xr3uH.js} +3 -3
  44. package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.BJW28Y_i.js +32 -0
  45. package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js → chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js} +8 -8
  46. package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js → chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js} +1 -1
  47. package/dist/{packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js → chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js} +21 -21
  48. package/dist/{packages/components/lib/UIKit/BaseAlert.vue.js → chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js} +2 -2
  49. package/dist/{packages/components/lib/UIKit/BaseAutocomplete.vue.js → chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.Ol7Hmb-E.js} +74 -64
  50. package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js +19 -0
  51. package/dist/{packages/components/lib/UIKit/BaseBreadcrumb.vue.js → chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js} +5 -5
  52. package/dist/{packages/components/lib/UIKit/BaseButton.vue.js → chunks/BaseButton.vue_vue_type_script_setup_true_lang.BPSr-Zxr.js} +6 -6
  53. package/dist/{packages/components/lib/UIKit/BaseDropDown.vue.js → chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.Cb0-JXG0.js} +25 -25
  54. package/dist/{packages/components/lib/UIKit/BaseModal.vue.js → chunks/BaseModal.vue_vue_type_style_index_0_lang.CCb032YN.js} +61 -56
  55. package/dist/{packages/components/lib/UIKit/BasePagination.vue.js → chunks/BasePagination.vue_vue_type_script_setup_true_lang.Cbo8eLhz.js} +83 -71
  56. package/dist/{packages/components/lib/UIKit/Tab/BaseTab.vue.js → chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js} +3 -3
  57. package/dist/{packages/components/lib/UIKit/Tab/BaseTabList.vue.js → chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js} +1 -1
  58. package/dist/{packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js → chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js} +1 -1
  59. package/dist/{packages/components/lib/UIKit/Tab/BaseTabView.vue.js → chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js} +17 -17
  60. package/dist/{packages/components/lib/UIKit/BaseUploadFile.vue.js → chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.CdwKhQoc.js} +2 -2
  61. package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.C9gKO-hI.js +111 -0
  62. package/dist/{node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js → chunks/CloseIcon.BZ4U3aiI.js} +11 -11
  63. package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.M0NEigw0.js +27 -0
  64. package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js → chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js} +5 -5
  65. package/dist/{packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js → chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js} +4 -4
  66. package/dist/{packages/components/lib/chart/LineChart.vue.js → chunks/LineChart.vue_vue_type_script_setup_true_lang.ByrHxeZr.js} +2 -2
  67. package/dist/chunks/ObjectUtils.DwkJjVq1.js +10 -0
  68. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +11 -0
  69. package/dist/{packages/components/lib/UIKit/Radio/RadioButton.vue.js → chunks/RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js} +9 -9
  70. package/dist/{packages/components/lib/UIKit/Radio/RadioGroup.vue.js → chunks/RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js} +6 -6
  71. package/dist/{packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js → chunks/SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js} +1 -1
  72. package/dist/{packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js → chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.BoEMYLem.js} +8 -8
  73. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
  74. package/dist/chunks/polyline.tNTK3v2u.js +129 -0
  75. package/dist/chunks/useKeyboardController.Cs_5GQTJ.js +41 -0
  76. package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
  77. package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
  78. package/dist/components/carousel/SwiperCarousel.js +1593 -6
  79. package/dist/components/carousel/SwiperSlide.js +1 -1
  80. package/dist/index.js +85 -89
  81. package/package.json +1 -1
  82. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  83. package/dist/_virtual/polyline.js +0 -2
  84. package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.css +0 -1
  85. package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.css +0 -1
  86. package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.css +0 -1
  87. package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.css +0 -1
  88. package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css +0 -1
  89. package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel.css +0 -1
  90. package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel2.css +0 -1
  91. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +0 -9
  92. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +0 -2
  93. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +0 -40
  94. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +0 -4
  95. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +0 -4
  96. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +0 -15
  97. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +0 -12
  98. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +0 -18
  99. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +0 -10
  100. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +0 -4
  101. 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
  102. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/decode.js +0 -22
  103. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/encode.js +0 -34
  104. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/polyline.js +0 -12
  105. package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js +0 -71
  106. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.css.js +0 -1
  107. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.js +0 -129
  108. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.css.js +0 -1
  109. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js +0 -101
  110. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.js +0 -125
  111. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.css.js +0 -1
  112. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js +0 -67
  113. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js +0 -127
  114. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.js +0 -227
  115. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.css.js +0 -1
  116. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.js +0 -121
  117. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js +0 -310
  118. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/classes-to-selector.js +0 -6
  119. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/create-element-if-not-defined.js +0 -12
  120. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/ssr-window.esm.js +0 -135
  121. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/utils.js +0 -85
  122. package/dist/packages/components/lazyModules/Swiper/autoplay.js +0 -5
  123. package/dist/packages/components/lazyModules/Swiper/controller.js +0 -5
  124. package/dist/packages/components/lazyModules/Swiper/free-mode.js +0 -5
  125. package/dist/packages/components/lazyModules/Swiper/keyboard.js +0 -5
  126. package/dist/packages/components/lazyModules/Swiper/navigation.js +0 -5
  127. package/dist/packages/components/lazyModules/Swiper/pagination.js +0 -5
  128. package/dist/packages/components/lazyModules/Swiper/thumbs.js +0 -5
  129. package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +0 -213
  130. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +0 -33
  131. package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +0 -19
  132. package/dist/packages/components/lib/UIKit/BaseCard.vue.js +0 -37
  133. package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +0 -106
  134. package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +0 -40
  135. package/dist/packages/components/lib/UIKit/BaseIcon.vue.js +0 -27
  136. package/dist/packages/components/lib/UIKit/BaseInput.vue.js +0 -211
  137. package/dist/packages/components/lib/UIKit/BasePaper.vue.js +0 -7
  138. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +0 -207
  139. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +0 -81
  140. package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +0 -127
  141. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +0 -42
  142. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +0 -41
  143. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +0 -75
  144. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +0 -114
  145. package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -21
  146. package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +0 -82
  147. package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +0 -27
  148. package/dist/packages/components/lib/chart/DoughnutChart.vue.js +0 -27
  149. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +0 -247
  150. /package/dist/assets/{packages/components/lib/UIKit/BaseAlert.css → BaseAlert.css} +0 -0
  151. /package/dist/assets/{packages/components/lib/UIKit/BaseBadge.css → BaseBadge.css} +0 -0
  152. /package/dist/assets/{packages/components/lib/UIKit/BaseCard.css → BaseCard.css} +0 -0
  153. /package/dist/assets/{packages/components/lib/UIKit/BaseComplexToggle.css → BaseComplexToggle.css} +0 -0
  154. /package/dist/assets/{packages/components/lib/UIKit/BaseFloatingLabel.css → BaseFloatingLabel.css} +0 -0
  155. /package/dist/assets/{packages/components/lib/UIKit/BaseIcon.css → BaseIcon.css} +0 -0
  156. /package/dist/assets/{packages/components/lib/UIKit/BaseInput.css → BaseInput.css} +0 -0
  157. /package/dist/assets/{packages/components/lib/UIKit/BaseModal.css → BaseModal.css} +0 -0
  158. /package/dist/assets/{packages/components/lib/UIKit/BasePaper.css → BasePaper.css} +0 -0
  159. /package/dist/assets/{packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css → BaseShimmerLoader.css} +0 -0
  160. /package/dist/assets/{packages/components/lib/UIKit/BaseSlider.css → BaseSlider.css} +0 -0
  161. /package/dist/assets/{packages/components/lib/UIKit/BaseSnackbar.css → BaseSnackbar.css} +0 -0
  162. /package/dist/assets/{packages/components/lib/UIKit/BaseTextarea.css → BaseTextarea.css} +0 -0
  163. /package/dist/assets/{packages/components/lib/UIKit/BaseToggle.css → BaseToggle.css} +0 -0
  164. /package/dist/assets/{packages/components/lib/UIKit/BaseTooltip.css → BaseTooltip.css} +0 -0
  165. /package/dist/assets/{packages/components/lib/UIKit/Checkbox/CheckboxBtn.css → CheckboxBtn.css} +0 -0
  166. /package/dist/assets/{packages/components/lib/UIKit/Slider/SimpleSlider.css → SimpleSlider.css} +0 -0
  167. /package/dist/assets/{packages/components/lib/UIKit/StaticSpinner.css → StaticSpinner.css} +0 -0
  168. /package/dist/assets/{packages/components/src/tailwind.css → index.css} +0 -0
@@ -1,11 +1,16 @@
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";
8
- const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
1
+ import { defineComponent as T, ref as d, useTemplateRef as z, onUnmounted as H, watch as O, createBlock as $, openBlock as m, Teleport as D, createElementVNode as a, normalizeClass as s, withModifiers as y, createElementBlock as h, createCommentVNode as w, renderSlot as r, createVNode as I, unref as K, nextTick as N } from "vue";
2
+ import "./polyline.tNTK3v2u.js";
3
+ import { l as V } from "./CloseIcon.BZ4U3aiI.js";
4
+ import "./PharmacyIcon.DEQ8mOEJ.js";
5
+ import '../assets/BaseModal.css';const g = () => navigator?.userAgent.includes("Windows"), A = (o, c) => new Promise((l, t) => {
6
+ setTimeout(() => {
7
+ try {
8
+ o && o(), l();
9
+ } catch {
10
+ t();
11
+ }
12
+ }, c);
13
+ }), F = ["id", "data-cy"], P = ["innerHTML"], j = /* @__PURE__ */ T({
9
14
  __name: "BaseModal",
10
15
  props: {
11
16
  id: { default: "base-bt-modal" },
@@ -27,67 +32,67 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
27
32
  titleClasses: {}
28
33
  },
29
34
  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 }) => {
35
+ setup(o, { emit: c }) {
36
+ const l = c, t = d(!1), f = d(null), u = z("modalDialog"), k = d(!1), n = d(!1), p = ({ key: e }) => {
32
37
  e === "Escape" && i();
33
- }, g = () => {
34
- document?.body.addEventListener("keydown", f);
35
- }, p = () => {
36
- document?.body.removeEventListener("keydown", f);
38
+ }, C = () => {
39
+ document?.body.addEventListener("keydown", p);
40
+ }, b = () => {
41
+ document?.body.removeEventListener("keydown", p);
37
42
  }, M = async () => {
38
43
  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(() => {
44
+ C(), g() ? document?.body.classList.add("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.add("uikit-no-scrolling");
45
+ }), l("opened"), o.autoClose !== void 0 && setTimeout(() => {
41
46
  i();
42
- }, l.autoClose);
47
+ }, o.autoClose);
43
48
  }, B = (e) => {
44
- a.value && a.value.contains(e.target) && (u.value = !0);
49
+ u.value && u.value.contains(e.target) && (n.value = !0);
45
50
  }, x = (e) => {
46
- a.value && a.value.contains(e.target) && (u.value = !1);
51
+ u.value && u.value.contains(e.target) && (n.value = !1);
47
52
  }, L = async () => {
48
- if (l.closeOnClickOut) {
49
- if (u.value) {
50
- u.value = !1;
53
+ if (o.closeOnClickOut) {
54
+ if (n.value) {
55
+ n.value = !1;
51
56
  return;
52
57
  }
53
58
  await i();
54
59
  }
55
60
  }, 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");
61
+ t.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 A(() => {
62
+ f.value?.classList.add("uikit-hidden"), l("closed");
58
63
  }, 250);
59
64
  };
60
65
  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");
62
- }), I(
63
- () => l.showModal,
66
+ b(), document?.documentElement.classList.remove("uikit-no-scrolling"), g() ? document?.body.classList.remove("uikit-no-scrolling", "sm:uikit-pr-15px") : document?.body.classList.remove("uikit-no-scrolling");
67
+ }), O(
68
+ () => o.showModal,
64
69
  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;
70
+ !e && !t.value ? k.value = !0 : k.value = !1, e && !t.value && await M(), !e && t.value && await i(), t.value = e;
66
71
  },
67
72
  { immediate: !0 }
68
- ), (e, b) => (k(), O($, { to: "body" }, [
69
- s("div", {
73
+ ), (e, v) => (m(), $(D, { to: "body" }, [
74
+ a("div", {
70
75
  ref_key: "backdropEl",
71
- ref: m,
72
- class: o(["bbt-backdrop uikit-fixed uikit-left-0 uikit-top-0 uikit-h-full uikit-w-full", [
76
+ ref: f,
77
+ class: s(["bbt-backdrop uikit-fixed uikit-left-0 uikit-top-0 uikit-h-full uikit-w-full", [
73
78
  e.customBackdropClasses,
74
79
  {
75
80
  "uikit-animate-[backdrop-opacity_0.3s_ease-out_0s_backwards] uikit-bg-w-secondary/70": t.value
76
81
  },
77
82
  { "uikit-bg-transparent": !t.value },
78
83
  { "sm:uikit-pt-[30px]": !e.centered },
79
- { hide: c.value }
84
+ { hide: k.value }
80
85
  ]]),
81
86
  style: { "z-index": "1062" },
82
87
  onClick: L,
83
88
  onMousedown: B,
84
89
  onMouseup: x
85
90
  }, [
86
- s("dialog", {
91
+ a("dialog", {
87
92
  id: e.id,
88
93
  ref: "modalDialog",
89
94
  "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", [
95
+ 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
96
  e.customModalDialogClasses,
92
97
  { show: t.value },
93
98
  { "closed uikit-overflow-hidden": !t.value },
@@ -97,50 +102,50 @@ const F = ["id", "data-cy"], U = ["innerHTML"], J = /* @__PURE__ */ T({
97
102
  `base-${e.size}`,
98
103
  e.fullHeight ? "uikit-h-[95%]" : "uikit-h-auto"
99
104
  ]]),
100
- onClick: b[0] || (b[0] = v((E) => r("dialogClick", E), ["stop"]))
105
+ onClick: v[0] || (v[0] = y((E) => l("dialogClick", E), ["stop"]))
101
106
  }, [
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]])
107
+ a("div", {
108
+ 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
109
  }, [
105
- e.withCloseIcon ? (k(), y("button", {
110
+ e.withCloseIcon ? (m(), h("button", {
106
111
  key: 0,
107
112
  id: "close-icon-btn",
108
113
  "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]),
114
+ class: s(["uikit-absolute uikit-right-15px uikit-top-15px uikit-z-10 uikit-bg-transparent", e.closeIconBtnClasses]),
110
115
  type: "button",
111
116
  "aria-label": "Close",
112
- onClick: v(i, ["prevent", "stop"])
117
+ onClick: y(i, ["prevent", "stop"])
113
118
  }, [
114
- D(K(V), {
119
+ I(K(V), {
115
120
  class: "bbt-close-icon uikit-box-border uikit-p-5px",
116
121
  width: 30,
117
122
  height: 30
118
123
  })
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]),
124
+ ], 2)) : w("", !0),
125
+ r(e.$slots, "header", { closeModal: i }, () => [
126
+ a("span", {
127
+ class: s(["uikit-w-auto uikit-text-18 uikit-font-semibold sm:uikit-text-22", e.titleClasses]),
123
128
  innerHTML: e.headerTitle
124
- }, null, 10, U)
129
+ }, null, 10, P)
125
130
  ])
126
131
  ], 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]])
132
+ a("div", {
133
+ 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
134
  }, [
130
- d(e.$slots, "body", { closeModal: i })
135
+ r(e.$slots, "body", { closeModal: i })
131
136
  ], 2),
132
- e.$slots.footer ? (k(), y("div", {
137
+ e.$slots.footer ? (m(), h("div", {
133
138
  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])
139
+ 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
140
  }, [
136
- d(e.$slots, "footer", { closeModal: i })
137
- ], 2)) : h("", !0),
138
- d(e.$slots, "fixed-bottom")
141
+ r(e.$slots, "footer", { closeModal: i })
142
+ ], 2)) : w("", !0),
143
+ r(e.$slots, "fixed-bottom")
139
144
  ], 10, F)
140
145
  ], 34)
141
146
  ]));
142
147
  }
143
148
  });
144
149
  export {
145
- J as default
150
+ j as _
146
151
  };
@@ -1,28 +1,40 @@
1
- import { defineComponent as j, mergeModels as P, useModel as S, computed as s, createElementBlock as l, openBlock as r, createCommentVNode as o, createElementVNode as p, normalizeClass as h, createVNode as y, unref as v, toDisplayString as c, Fragment as m, renderList as x } from "vue";
2
- import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
3
- import { formatInteger as d } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js";
4
- import "../../../../_virtual/polyline.js";
5
- import { ArrowIcon as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
6
- import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
7
- const D = {
1
+ import { defineComponent as j, mergeModels as P, useModel as D, computed as s, createElementBlock as n, openBlock as r, createCommentVNode as o, createElementVNode as p, normalizeClass as h, createVNode as y, unref as v, toDisplayString as c, Fragment as m, renderList as x } from "vue";
2
+ import "./polyline.tNTK3v2u.js";
3
+ import { a as C } from "./ArrowIcon.Bq6Xr3uH.js";
4
+ import "./PharmacyIcon.DEQ8mOEJ.js";
5
+ function d(l, t = !1) {
6
+ return l == null ? "" : S(t ? Math.round(l) : Math.floor(l), 0);
7
+ }
8
+ function S(l, t) {
9
+ return !l && l !== 0 ? "" : l.toLocaleString(
10
+ "it-IT",
11
+ // usare una stringa tipo 'en-US' per sovrascrivere la lingua del browser
12
+ {
13
+ minimumFractionDigits: t,
14
+ maximumFractionDigits: t,
15
+ useGrouping: "always"
16
+ }
17
+ );
18
+ }
19
+ const $ = {
8
20
  "aria-label": "Page navigation",
9
21
  class: "uikit-overflow-auto"
10
- }, $ = {
22
+ }, B = {
11
23
  key: 0,
12
24
  class: "uikit-text-14 uikit-m-0 uikit-flex uikit-list-none uikit-content-center uikit-gap-4 uikit-p-0 uikit-pl-0 uikit-font-semibold sm:uikit-gap-5"
13
- }, B = ["data-cy"], O = {
25
+ }, F = ["data-cy"], O = {
14
26
  key: 0,
15
27
  class: "uikit-mx-10px uikit-select-none"
16
- }, A = {
28
+ }, V = {
17
29
  key: 1,
18
30
  class: "font-weight-bold 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 hover:uikit-bg-w-primary hover:uikit-text-white"
19
- }, F = ["onClick"], V = ["onClick"], E = {
31
+ }, A = ["onClick"], E = ["onClick"], z = {
20
32
  key: 0,
21
33
  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 hover:uikit-bg-w-primary hover:uikit-text-white"
22
- }, z = ["data-cy"], q = {
34
+ }, G = ["data-cy"], T = {
23
35
  key: 0,
24
36
  class: "uikit-mx-10px uikit-select-none"
25
- }, T = /* @__PURE__ */ j({
37
+ }, Q = /* @__PURE__ */ j({
26
38
  __name: "BasePagination",
27
39
  props: /* @__PURE__ */ P({
28
40
  count: { default: 0 },
@@ -40,113 +52,113 @@ const D = {
40
52
  pageNumberModifiers: {}
41
53
  }),
42
54
  emits: ["update:pageNumber"],
43
- setup(a) {
44
- const u = S(a, "pageNumber"), n = s(() => Math.ceil((a.count + a.additionalCount) / a.limit)), g = s(() => (u.value || 0) > a.siblings + 2), f = s(
45
- () => (u.value || 0) < n.value - a.siblings - 1
55
+ setup(l) {
56
+ const t = D(l, "pageNumber"), a = s(() => Math.ceil((l.count + l.additionalCount) / l.limit)), g = s(() => (t.value || 0) > l.siblings + 2), f = s(
57
+ () => (t.value || 0) < a.value - l.siblings - 1
46
58
  ), b = s(() => {
47
- let e = u.value || 0, t = 0;
48
- for (; e > 2 && t < a.siblings; )
49
- e--, t++;
50
- return t;
59
+ let e = t.value || 0, u = 0;
60
+ for (; e > 2 && u < l.siblings; )
61
+ e--, u++;
62
+ return u;
51
63
  }), w = s(() => {
52
- let e = u.value || 0, t = 0;
53
- for (; e < n.value - 1 && t < a.siblings; )
54
- e++, t++;
55
- return t;
64
+ let e = t.value || 0, u = 0;
65
+ for (; e < a.value - 1 && u < l.siblings; )
66
+ e++, u++;
67
+ return u;
56
68
  }), N = s(() => {
57
69
  const i = b.value + /* Filling with the remaining right siblings */
58
- Math.abs(w.value - a.siblings) + /* If there is no suspension points on the right, let's fill it */
70
+ Math.abs(w.value - l.siblings) + /* If there is no suspension points on the right, let's fill it */
59
71
  new Number(!f.value).valueOf() + /* If the pageNumber is the same of the last, let's fill it */
60
- new Number(u.value === n.value).valueOf();
61
- let e = Math.max((u.value || 0) - i, 2);
62
- const t = [];
63
- for (e; e < (u.value || 0); e++) t.push(e);
64
- return t;
72
+ new Number(t.value === a.value).valueOf();
73
+ let e = Math.max((t.value || 0) - i, 2);
74
+ const u = [];
75
+ for (e; e < (t.value || 0); e++) u.push(e);
76
+ return u;
65
77
  }), M = s(() => {
66
78
  const i = w.value + /* Filling with the remaining left siblings */
67
- Math.abs(b.value - a.siblings) + /* If there is no suspension points on the left, let's fill it */
79
+ Math.abs(b.value - l.siblings) + /* If there is no suspension points on the left, let's fill it */
68
80
  new Number(!g.value).valueOf() + /* If the pageNumber is the same of the firstPage, let's fill it */
69
- new Number(u.value === 1).valueOf();
70
- let e = Math.min(u.value || 0, n.value - 1);
71
- const t = [];
72
- for (e; e < Math.min((u.value || 0) + i, n.value - 1); e++)
73
- t.push(e + 1);
74
- return t;
81
+ new Number(t.value === 1).valueOf();
82
+ let e = Math.min(t.value || 0, a.value - 1);
83
+ const u = [];
84
+ for (e; e < Math.min((t.value || 0) + i, a.value - 1); e++)
85
+ u.push(e + 1);
86
+ return u;
75
87
  }), k = (i) => {
76
88
  let e = i;
77
- i < 1 ? e = 1 : i > n.value && (e = n.value), u.value = e;
89
+ i < 1 ? e = 1 : i > a.value && (e = a.value), t.value = e;
78
90
  };
79
- return (i, e) => (r(), l("nav", D, [
80
- i.count > 0 ? (r(), l("ul", $, [
91
+ return (i, e) => (r(), n("nav", $, [
92
+ i.count > 0 ? (r(), n("ul", B, [
81
93
  p("li", {
82
94
  class: h(["arrow-button prev-page uikit-h-30x uikit-flex uikit-min-w-[30px] uikit-items-center uikit-justify-center uikit-rounded-circle uikit-p-5px", {
83
- "uikit-cursor-pointer hover:uikit-bg-w-primary [&_>_svg]:hover:uikit-brightness-0 [&_>_svg]:hover:uikit-invert": u.value !== 1,
84
- "hover:uikit-text-white": i.small && u.value !== 1,
95
+ "uikit-cursor-pointer hover:uikit-bg-w-primary [&_>_svg]:hover:uikit-brightness-0 [&_>_svg]:hover:uikit-invert": t.value !== 1,
96
+ "hover:uikit-text-white": i.small && t.value !== 1,
85
97
  "uikit-rounded-xs": i.small && i.prevLabel
86
98
  }]),
87
99
  "data-cy": i.prevDataCy,
88
- onClick: e[0] || (e[0] = (t) => k((u.value || 0) - 1))
100
+ onClick: e[0] || (e[0] = (u) => k((t.value || 0) - 1))
89
101
  }, [
90
102
  y(v(C), {
91
103
  width: 20,
92
104
  height: 11,
93
- "stroke-color": u.value === 1 ? "#8996A9" : i.arrowColor,
105
+ "stroke-color": t.value === 1 ? "#8996A9" : i.arrowColor,
94
106
  class: "uikit-inline-block uikit-rotate-90"
95
107
  }, null, 8, ["stroke-color"]),
96
- i.small && i.prevLabel ? (r(), l("span", O, c(i.prevLabel), 1)) : o("", !0)
97
- ], 10, B),
98
- i.small ? o("", !0) : (r(), l(m, { key: 0 }, [
99
- (u.value || 0) > 1 ? (r(), l("li", {
108
+ i.small && i.prevLabel ? (r(), n("span", O, c(i.prevLabel), 1)) : o("", !0)
109
+ ], 10, F),
110
+ i.small ? o("", !0) : (r(), n(m, { key: 0 }, [
111
+ (t.value || 0) > 1 ? (r(), n("li", {
100
112
  key: 0,
101
113
  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 hover:uikit-bg-w-primary hover:uikit-text-white",
102
- onClick: e[1] || (e[1] = (t) => k(0))
114
+ onClick: e[1] || (e[1] = (u) => k(0))
103
115
  }, " 1 ")) : o("", !0),
104
- g.value ? (r(), l("li", A, " ... ")) : o("", !0),
105
- (r(!0), l(m, null, x(N.value, (t) => (r(), l("li", {
106
- key: t,
116
+ g.value ? (r(), n("li", V, " ... ")) : o("", !0),
117
+ (r(!0), n(m, null, x(N.value, (u) => (r(), n("li", {
118
+ key: u,
107
119
  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 hover:uikit-bg-w-primary hover:uikit-text-white",
108
- onClick: (L) => k(t)
109
- }, c(v(d)(t)), 9, F))), 128))
120
+ onClick: (L) => k(u)
121
+ }, c(v(d)(u)), 9, A))), 128))
110
122
  ], 64)),
111
123
  p("li", {
112
124
  class: h(["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", {
113
125
  "uikit-bg-w-primary uikit-text-white hover:uikit-bg-w-primary hover:uikit-text-white": !i.small
114
126
  }])
115
- }, c(u.value || 0), 3),
116
- i.small ? o("", !0) : (r(), l(m, { key: 1 }, [
117
- (r(!0), l(m, null, x(M.value, (t) => (r(), l("li", {
118
- key: t,
127
+ }, c(t.value || 0), 3),
128
+ i.small ? o("", !0) : (r(), n(m, { key: 1 }, [
129
+ (r(!0), n(m, null, x(M.value, (u) => (r(), n("li", {
130
+ key: u,
119
131
  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 hover:uikit-bg-w-primary hover:uikit-text-white",
120
- onClick: (L) => k(t)
121
- }, c(v(d)(t)), 9, V))), 128)),
122
- f.value ? (r(), l("li", E, " ... ")) : o("", !0),
123
- (u.value || 0) < n.value ? (r(), l("li", {
132
+ onClick: (L) => k(u)
133
+ }, c(v(d)(u)), 9, E))), 128)),
134
+ f.value ? (r(), n("li", z, " ... ")) : o("", !0),
135
+ (t.value || 0) < a.value ? (r(), n("li", {
124
136
  key: 1,
125
137
  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 hover:uikit-bg-w-primary hover:uikit-text-white",
126
- onClick: e[2] || (e[2] = (t) => k(n.value))
127
- }, c(v(d)(n.value)), 1)) : o("", !0)
138
+ onClick: e[2] || (e[2] = (u) => k(a.value))
139
+ }, c(v(d)(a.value)), 1)) : o("", !0)
128
140
  ], 64)),
129
141
  p("li", {
130
142
  class: h(["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", {
131
- "uikit-cursor-pointer hover:uikit-bg-w-primary [&_>_svg]:hover:uikit-brightness-0 [&_>_svg]:hover:uikit-invert": (u.value || 0) < n.value,
132
- "hover:uikit-text-white": i.small && (u.value || 0) < n.value,
143
+ "uikit-cursor-pointer hover:uikit-bg-w-primary [&_>_svg]:hover:uikit-brightness-0 [&_>_svg]:hover:uikit-invert": (t.value || 0) < a.value,
144
+ "hover:uikit-text-white": i.small && (t.value || 0) < a.value,
133
145
  "uikit-rounded-xs": i.small && i.nextLabel
134
146
  }]),
135
147
  "data-cy": i.nextDataCy,
136
- onClick: e[3] || (e[3] = (t) => k((u.value || 0) + 1))
148
+ onClick: e[3] || (e[3] = (u) => k((t.value || 0) + 1))
137
149
  }, [
138
- i.small && i.nextLabel ? (r(), l("span", q, c(i.nextLabel), 1)) : o("", !0),
150
+ i.small && i.nextLabel ? (r(), n("span", T, c(i.nextLabel), 1)) : o("", !0),
139
151
  y(v(C), {
140
- "stroke-color": (u.value || 0) === n.value ? "#8996A9" : i.arrowColor,
152
+ "stroke-color": (t.value || 0) === a.value ? "#8996A9" : i.arrowColor,
141
153
  width: 20,
142
154
  height: 11,
143
155
  class: "uikit-inline-block -uikit-rotate-90"
144
156
  }, null, 8, ["stroke-color"])
145
- ], 10, z)
157
+ ], 10, G)
146
158
  ])) : o("", !0)
147
159
  ]));
148
160
  }
149
161
  });
150
162
  export {
151
- T as default
163
+ Q as _
152
164
  };
@@ -6,10 +6,10 @@ const o = /* @__PURE__ */ a({
6
6
  headerTitle: {},
7
7
  tabPanelClasses: {}
8
8
  },
9
- setup(t) {
10
- return (e, s) => r(e.$slots, "header");
9
+ setup(s) {
10
+ return (e, t) => r(e.$slots, "header");
11
11
  }
12
12
  });
13
13
  export {
14
- o as default
14
+ o as _
15
15
  };
@@ -39,5 +39,5 @@ const v = ["aria-labelledby"], B = ["id", "data-cy", "aria-selected", "aria-cont
39
39
  }
40
40
  });
41
41
  export {
42
- $ as default
42
+ $ as _
43
43
  };
@@ -20,5 +20,5 @@ const n = ["id", "aria-labelledby"], b = /* @__PURE__ */ a({
20
20
  }
21
21
  });
22
22
  export {
23
- b as default
23
+ b as _
24
24
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as S, mergeModels as C, useModel as z, ref as b, useId as j, useSlots as q, computed as G, provide as v, watch as k, createElementBlock as p, openBlock as l, normalizeClass as I, createElementVNode as H, createBlock as d, createCommentVNode as o, unref as f, toDisplayString as J, Fragment as g, renderList as K, withCtx as O, resolveDynamicComponent as Q } from "vue";
2
- import R from "./BaseTabPanel.vue.js";
3
- import P from "./BaseTabList.vue.js";
1
+ import { defineComponent as S, mergeModels as C, useModel as z, ref as b, useId as j, useSlots as q, computed as G, provide as v, watch as k, createElementBlock as p, openBlock as i, normalizeClass as I, createElementVNode as H, createBlock as d, createCommentVNode as o, unref as f, toDisplayString as J, Fragment as _, renderList as K, withCtx as O, resolveDynamicComponent as Q } from "vue";
2
+ import { _ as R } from "./BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js";
3
+ import { _ as g } from "./BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js";
4
4
  const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
5
5
  inheritAttrs: !1,
6
6
  __name: "BaseTabView",
@@ -14,8 +14,8 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
14
14
  activeIdxModifiers: {}
15
15
  }),
16
16
  emits: /* @__PURE__ */ C(["tabClicked"], ["update:activeIdx"]),
17
- setup(_, { emit: x }) {
18
- const B = x, i = z(_, "activeIdx"), $ = b(""), u = b(null), A = b(null), r = j(), m = q(), c = (e) => e.props ?? null, h = (e) => e.type.__name === "BaseTab", y = (e, a) => ({
17
+ setup(P, { emit: x }) {
18
+ const B = x, l = z(P, "activeIdx"), $ = b(""), u = b(null), A = b(null), r = j(), m = q(), c = (e) => e.props ?? null, h = (e) => e.type.__name === "BaseTab", y = (e, a) => ({
19
19
  renderFn: e,
20
20
  tabId: T(a),
21
21
  "active-tab-panel-idx": c(e)?.["active-tab-panel-idx"] ?? a,
@@ -26,13 +26,13 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
26
26
  }), n = G(() => m.default ? m.default().reduce((e, a) => (a.children && Array.isArray(a.children) ? a.children.forEach((t) => {
27
27
  h(t) && e.push(y(t, e.length));
28
28
  }) : h(a) && e.push(y(a, e.length)), e), []) : []);
29
- v("tabs", n), v("isTabActive", (e) => i.value === e);
29
+ v("tabs", n), v("isTabActive", (e) => l.value === e);
30
30
  const F = (e = -1) => u.value === e, T = (e) => `base-tab-${e}-${r}`, V = (e = -1) => `base-tab-panel-${e}-${r}`, w = (e = -1) => {
31
31
  const a = n.value.reduce(
32
32
  (t, s, N) => (s["active-tab-panel-idx"] !== e || t.push({ tab: s, idx: N }), t),
33
33
  []
34
34
  );
35
- return a && a.length === 1 ? a[0].tab.tabId : a.find((t) => t.idx === i.value)?.tab.tabId;
35
+ return a && a.length === 1 ? a[0].tab.tabId : a.find((t) => t.idx === l.value)?.tab.tabId;
36
36
  }, D = (e) => {
37
37
  $.value = T(e);
38
38
  }, L = (e) => {
@@ -40,9 +40,9 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
40
40
  u.value = a?.["active-tab-panel-idx"] ?? null;
41
41
  };
42
42
  v("handleClick", (e, a) => {
43
- D(e), i.value = e, B("tabClicked", { tabIdx: e, tabElement: a });
43
+ D(e), l.value = e, B("tabClicked", { tabIdx: e, tabElement: a });
44
44
  }), k(
45
- i,
45
+ l,
46
46
  (e) => {
47
47
  L(e ?? -1);
48
48
  },
@@ -61,9 +61,9 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
61
61
  const t = E(e, a);
62
62
  if (t === null) return;
63
63
  const s = n.value[t]["active-tab-panel-idx"];
64
- i.value !== t || s === void 0 || (u.value = s);
64
+ l.value !== t || s === void 0 || (u.value = s);
65
65
  }
66
- ), (e, a) => (l(), p("div", {
66
+ ), (e, a) => (i(), p("div", {
67
67
  ref_key: "root",
68
68
  ref: A,
69
69
  class: I(e.$attrs.class),
@@ -73,13 +73,13 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
73
73
  id: `tablist-${f(r)}`,
74
74
  class: "uikit-sr-only"
75
75
  }, J(e.tabViewDescription), 9, W),
76
- e.tabsPosition === "top" ? (l(), d(P, {
76
+ e.tabsPosition === "top" ? (i(), d(g, {
77
77
  key: 0,
78
78
  uid: f(r),
79
79
  "tab-list-classes": e.tabListClasses
80
80
  }, null, 8, ["uid", "tab-list-classes"])) : o("", !0),
81
- (l(!0), p(g, null, K(n.value, (t, s) => (l(), p(g, { key: s }, [
82
- M(s) ? (l(), d(R, {
81
+ (i(!0), p(_, null, K(n.value, (t, s) => (i(), p(_, { key: s }, [
82
+ M(s) ? (i(), d(R, {
83
83
  key: 0,
84
84
  id: V(t["active-tab-panel-idx"]),
85
85
  "labelled-by": w(s) ?? "",
@@ -87,12 +87,12 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
87
87
  class: I(t["tab-panel-classes"])
88
88
  }, {
89
89
  default: O(() => [
90
- t.renderFn.children && t.renderFn.children.default ? (l(), d(Q(t.renderFn.children.default), { key: 0 })) : o("", !0)
90
+ t.renderFn.children && t.renderFn.children.default ? (i(), d(Q(t.renderFn.children.default), { key: 0 })) : o("", !0)
91
91
  ]),
92
92
  _: 2
93
93
  }, 1032, ["id", "labelled-by", "active", "class"])) : o("", !0)
94
94
  ], 64))), 128)),
95
- e.tabsPosition === "bottom" ? (l(), d(P, {
95
+ e.tabsPosition === "bottom" ? (i(), d(g, {
96
96
  key: 1,
97
97
  uid: f(r),
98
98
  "tab-list-classes": e.tabListClasses
@@ -101,5 +101,5 @@ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
101
101
  }
102
102
  });
103
103
  export {
104
- te as default
104
+ te as _
105
105
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, ref as b, watch as m, createElementBlock as o, openBlock as s, normalizeClass as t, createElementVNode as l, createBlock as h, createCommentVNode as n, renderSlot as v } from "vue";
2
- import w from "../../../../UIKit/BaseFloatingLabel.js";
2
+ import w from "../UIKit/BaseFloatingLabel.js";
3
3
  const C = ["innerHTML"], g = ["for"], y = ["id", "multiple", "accept"], B = /* @__PURE__ */ c({
4
4
  inheritAttrs: !1,
5
5
  __name: "BaseUploadFile",
@@ -67,5 +67,5 @@ const C = ["innerHTML"], g = ["for"], y = ["id", "multiple", "accept"], B = /* @
67
67
  }
68
68
  });
69
69
  export {
70
- B as default
70
+ B as _
71
71
  };