@wikicasa-dev/components 2.1.2 → 2.1.4-alpha.1

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 (252) 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.d.ts +20 -9
  7. package/dist/UIKit/BaseAlert.js +3 -2
  8. package/dist/UIKit/BaseAutocomplete.js +1 -1
  9. package/dist/UIKit/BaseBadge.d.ts +40 -5
  10. package/dist/UIKit/BaseBadge.js +3 -2
  11. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement1.js +4 -0
  12. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement2.js +4 -0
  13. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement3.js +4 -0
  14. package/dist/UIKit/BaseBanner/Background/BaseBannerBgElement4.js +4 -0
  15. package/dist/UIKit/BaseBanner.js +4 -0
  16. package/dist/UIKit/BaseBreadcrumb.js +3 -2
  17. package/dist/UIKit/BaseButton.d.ts +9 -8
  18. package/dist/UIKit/BaseButton.js +1 -1
  19. package/dist/UIKit/BaseCard.js +5 -36
  20. package/dist/UIKit/BaseChip.js +4 -0
  21. package/dist/UIKit/BaseCollapse.js +7 -0
  22. package/dist/UIKit/BaseComplexToggle.d.ts +1 -1
  23. package/dist/UIKit/BaseComplexToggle.js +5 -105
  24. package/dist/UIKit/BaseDropDown.d.ts +5 -0
  25. package/dist/UIKit/BaseDropDown.js +1 -1
  26. package/dist/UIKit/BaseFloatingLabel.js +3 -39
  27. package/dist/UIKit/BaseIcon.js +4 -25
  28. package/dist/UIKit/BaseInput.d.ts +4 -5
  29. package/dist/UIKit/BaseInput.js +3 -210
  30. package/dist/UIKit/BaseModal.js +3 -2
  31. package/dist/UIKit/BaseNotificationBadge.js +4 -0
  32. package/dist/UIKit/BasePagination.d.ts +10 -3
  33. package/dist/UIKit/BasePagination.js +1 -1
  34. package/dist/UIKit/BasePaper.js +9 -9
  35. package/dist/UIKit/BasePin.js +5 -0
  36. package/dist/UIKit/BaseSelect/SelectItem.js +1 -1
  37. package/dist/UIKit/BaseSlider.d.ts +14 -10
  38. package/dist/UIKit/BaseSlider.js +2 -206
  39. package/dist/UIKit/BaseSnackbar.js +5 -80
  40. package/dist/UIKit/BaseTextarea.d.ts +4 -4
  41. package/dist/UIKit/BaseTextarea.js +5 -126
  42. package/dist/UIKit/BaseToggle.d.ts +5 -8
  43. package/dist/UIKit/BaseToggle.js +2 -41
  44. package/dist/UIKit/BaseTooltip.d.ts +10 -20
  45. package/dist/UIKit/BaseTooltip.js +5 -40
  46. package/dist/UIKit/BaseUploadFile.js +1 -1
  47. package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +9 -16
  48. package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -74
  49. package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +2 -3
  50. package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -1
  51. package/dist/UIKit/DatePicker.js +5 -0
  52. package/dist/UIKit/InputDropdown.js +4 -0
  53. package/dist/UIKit/NativeSelect.js +5 -0
  54. package/dist/UIKit/Navigation/NavigationBar.d.ts +17 -0
  55. package/dist/UIKit/Navigation/NavigationBar.js +5 -0
  56. package/dist/UIKit/Navigation/NavigationBarItem.d.ts +34 -0
  57. package/dist/UIKit/Navigation/NavigationBarItem.js +4 -0
  58. package/dist/UIKit/Radio/RadioButton.js +1 -1
  59. package/dist/UIKit/Radio/RadioGroup.js +1 -1
  60. package/dist/UIKit/SegmentedControl/SegmentedControl.js +4 -0
  61. package/dist/UIKit/SegmentedControl/SegmentedControlItem.js +4 -0
  62. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +3 -20
  63. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +1 -5
  64. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
  65. package/dist/UIKit/StaticSpinner.js +5 -26
  66. package/dist/UIKit/Tab/BaseTab.js +1 -1
  67. package/dist/UIKit/Tab/BaseTabItem.d.ts +27 -0
  68. package/dist/UIKit/Tab/BaseTabItem.js +4 -0
  69. package/dist/UIKit/Tab/BaseTabList.d.ts +3 -3
  70. package/dist/UIKit/Tab/BaseTabList.js +1 -1
  71. package/dist/UIKit/Tab/BaseTabPanel.js +1 -1
  72. package/dist/UIKit/Tab/BaseTabView.js +1 -1
  73. package/dist/UIKit/types.d.ts +11 -6
  74. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  75. package/dist/_virtual/polyline.js +2 -0
  76. package/dist/assets/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.16_typescript@5.8.3_/node_modules/@vuepic/vue-datepicker/dist/main.css +1 -0
  77. package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/free-mode.css +1 -0
  78. package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/navigation.css +1 -0
  79. package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/pagination.css +1 -0
  80. package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/zoom.css +1 -0
  81. package/dist/assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/swiper.css +1 -0
  82. package/dist/assets/packages/components/lib/UIKit/BaseAlert.css +1 -0
  83. package/dist/assets/packages/components/lib/UIKit/BaseBadge.css +1 -0
  84. package/dist/assets/packages/components/lib/UIKit/BaseBreadcrumb.css +1 -0
  85. package/dist/assets/packages/components/lib/UIKit/BaseCard.css +1 -0
  86. package/dist/assets/packages/components/lib/UIKit/BaseCollapse.css +1 -0
  87. package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +1 -0
  88. package/dist/assets/packages/components/lib/UIKit/BaseFloatingLabel.css +1 -0
  89. package/dist/assets/packages/components/lib/UIKit/BaseInput.css +1 -0
  90. package/dist/assets/{BaseModal.css → packages/components/lib/UIKit/BaseModal.css} +1 -1
  91. package/dist/assets/packages/components/lib/UIKit/BasePin.css +1 -0
  92. package/dist/assets/{BaseSnackbar.css → packages/components/lib/UIKit/BaseSnackbar.css} +1 -1
  93. package/dist/assets/packages/components/lib/UIKit/BaseTextarea.css +1 -0
  94. package/dist/assets/packages/components/lib/UIKit/BaseTooltip.css +1 -0
  95. package/dist/assets/packages/components/lib/UIKit/DatePicker.css +1 -0
  96. package/dist/assets/packages/components/lib/UIKit/NativeSelect.css +1 -0
  97. package/dist/assets/packages/components/lib/UIKit/Navigation/NavigationBar.css +1 -0
  98. package/dist/assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css +1 -0
  99. package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel.css +1 -0
  100. package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel2.css +1 -0
  101. package/dist/assets/packages/components/src/tailwind.css +1 -0
  102. package/dist/chart/DoughnutChart.js +1 -1
  103. package/dist/chart/LineChart.js +1 -1
  104. package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
  105. package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
  106. package/dist/components/carousel/SwiperCarousel.js +6 -1593
  107. package/dist/components/carousel/SwiperSlide.js +1 -1
  108. package/dist/composables/useFloatingLabel.d.ts +1 -1
  109. package/dist/composables/useFloatingLabel.js +20 -20
  110. package/dist/index.d.ts +3 -2
  111. package/dist/index.js +96 -85
  112. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowFilledIcon.js +19 -0
  113. package/dist/{chunks/ArrowIcon.Bq6Xr3uH.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js} +3 -3
  114. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CheckIcon.js +16 -0
  115. package/dist/{chunks/CloseIcon.BZ4U3aiI.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js} +11 -11
  116. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/DefaultValues-CpabIgVz.js +9 -0
  117. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js +2 -0
  118. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/WarningIconRounded.js +40 -0
  119. package/dist/node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/svgIconFactory-BpnFimFz.js +29 -0
  120. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +15 -0
  121. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +10 -0
  122. package/dist/node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useBreakpoints.js +33 -0
  123. 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 +41 -0
  124. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/decode.js +22 -0
  125. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/encode.js +34 -0
  126. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/polyline.js +12 -0
  127. package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js +71 -0
  128. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/autoplay.css.js +1 -0
  129. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/autoplay.js +129 -0
  130. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/controller.css.js +1 -0
  131. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/controller.js +101 -0
  132. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/free-mode.js +125 -0
  133. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/keyboard.css.js +1 -0
  134. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/keyboard.js +67 -0
  135. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/navigation.js +127 -0
  136. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/pagination.js +227 -0
  137. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/thumbs.css.js +1 -0
  138. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/thumbs.js +121 -0
  139. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/zoom.js +310 -0
  140. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/shared/classes-to-selector.js +6 -0
  141. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/shared/create-element-if-not-defined.js +12 -0
  142. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/shared/ssr-window.esm.js +135 -0
  143. package/dist/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/shared/utils.js +91 -0
  144. package/dist/packages/components/lazyModules/Swiper/autoplay.js +5 -0
  145. package/dist/packages/components/lazyModules/Swiper/controller.js +5 -0
  146. package/dist/packages/components/lazyModules/Swiper/free-mode.js +5 -0
  147. package/dist/packages/components/lazyModules/Swiper/keyboard.js +5 -0
  148. package/dist/packages/components/lazyModules/Swiper/navigation.js +5 -0
  149. package/dist/packages/components/lazyModules/Swiper/pagination.js +5 -0
  150. package/dist/packages/components/lazyModules/Swiper/thumbs.js +5 -0
  151. package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +213 -0
  152. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +33 -0
  153. package/dist/{chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js → packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js} +8 -8
  154. package/dist/{chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js → packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js} +1 -1
  155. package/dist/{chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js → packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js} +25 -25
  156. package/dist/packages/components/lib/UIKit/BaseAlert.vue.js +113 -0
  157. package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +193 -0
  158. package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +54 -0
  159. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement1.vue.js +29 -0
  160. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement2.vue.js +56 -0
  161. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement3.vue.js +56 -0
  162. package/dist/packages/components/lib/UIKit/BaseBanner/Background/BaseBannerBgElement4.vue.js +56 -0
  163. package/dist/packages/components/lib/UIKit/BaseBanner.vue.js +75 -0
  164. package/dist/packages/components/lib/UIKit/BaseBreadcrumb.vue.js +55 -0
  165. package/dist/packages/components/lib/UIKit/BaseButton.vue.js +86 -0
  166. package/dist/packages/components/lib/UIKit/BaseCard.vue.js +37 -0
  167. package/dist/packages/components/lib/UIKit/BaseChip.vue.js +38 -0
  168. package/dist/packages/components/lib/UIKit/BaseCollapse.vue.js +54 -0
  169. package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +106 -0
  170. package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +140 -0
  171. package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +37 -0
  172. package/dist/packages/components/lib/UIKit/BaseIcon.vue.js +27 -0
  173. package/dist/packages/components/lib/UIKit/BaseInput.vue.js +185 -0
  174. package/dist/packages/components/lib/UIKit/BaseModal.vue.js +150 -0
  175. package/dist/packages/components/lib/UIKit/BaseNotificationBadge.vue.js +19 -0
  176. package/dist/packages/components/lib/UIKit/BasePagination.vue.js +107 -0
  177. package/dist/packages/components/lib/UIKit/BasePaper.vue.js +7 -0
  178. package/dist/packages/components/lib/UIKit/BasePin.vue.js +37 -0
  179. package/dist/{chunks/SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js → packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js} +1 -1
  180. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +136 -0
  181. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +81 -0
  182. package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +109 -0
  183. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +38 -0
  184. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +56 -0
  185. package/dist/packages/components/lib/UIKit/BaseUploadFile.vue.js +50 -0
  186. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +78 -0
  187. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +110 -0
  188. package/dist/packages/components/lib/UIKit/DatePicker.vue.js +143 -0
  189. package/dist/packages/components/lib/UIKit/InputDropdown.vue.js +152 -0
  190. package/dist/packages/components/lib/UIKit/NativeSelect.vue.js +65 -0
  191. package/dist/packages/components/lib/UIKit/Navigation/NavigationBar.vue.js +21 -0
  192. package/dist/packages/components/lib/UIKit/Navigation/NavigationBarItem.vue.js +48 -0
  193. package/dist/{chunks/RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → packages/components/lib/UIKit/Radio/RadioButton.vue.js} +12 -12
  194. package/dist/{chunks/RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js → packages/components/lib/UIKit/Radio/RadioGroup.vue.js} +6 -6
  195. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControl.vue.js +93 -0
  196. package/dist/packages/components/lib/UIKit/SegmentedControl/SegmentedControlItem.vue.js +30 -0
  197. package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +22 -0
  198. package/dist/{chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.BoEMYLem.js → packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js} +10 -9
  199. package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +27 -0
  200. package/dist/{chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js → packages/components/lib/UIKit/Tab/BaseTab.vue.js} +3 -3
  201. package/dist/packages/components/lib/UIKit/Tab/BaseTabItem.vue.js +39 -0
  202. package/dist/packages/components/lib/UIKit/Tab/BaseTabList.vue.js +46 -0
  203. package/dist/{chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js → packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js} +1 -1
  204. package/dist/packages/components/lib/UIKit/Tab/BaseTabView.vue.js +109 -0
  205. package/dist/packages/components/lib/chart/DoughnutChart.vue.js +27 -0
  206. package/dist/{chunks/LineChart.vue_vue_type_script_setup_true_lang.ByrHxeZr.js → packages/components/lib/chart/LineChart.vue.js} +2 -2
  207. package/dist/{chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js → packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js} +5 -5
  208. package/dist/{chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js → packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js} +4 -4
  209. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +246 -0
  210. package/dist/utils.d.ts +1 -1
  211. package/dist/utils.js +5 -3
  212. package/package.json +21 -18
  213. package/dist/UIKit/Slider/SimpleSlider.d.ts +0 -19
  214. package/dist/UIKit/Slider/SimpleSlider.js +0 -83
  215. package/dist/assets/BaseAlert.css +0 -1
  216. package/dist/assets/BaseBadge.css +0 -1
  217. package/dist/assets/BaseCard.css +0 -1
  218. package/dist/assets/BaseComplexToggle.css +0 -1
  219. package/dist/assets/BaseFloatingLabel.css +0 -1
  220. package/dist/assets/BaseInput.css +0 -1
  221. package/dist/assets/BaseShimmerLoader.css +0 -1
  222. package/dist/assets/BaseSlider.css +0 -1
  223. package/dist/assets/BaseTextarea.css +0 -1
  224. package/dist/assets/BaseToggle.css +0 -1
  225. package/dist/assets/BaseTooltip.css +0 -1
  226. package/dist/assets/CheckboxBtn.css +0 -1
  227. package/dist/assets/SimpleSlider.css +0 -1
  228. package/dist/assets/SwiperCarousel.css +0 -1
  229. package/dist/assets/index.css +0 -1
  230. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.gRPd8LaO.js +0 -246
  231. package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.BJW28Y_i.js +0 -32
  232. package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js +0 -19
  233. package/dist/chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.Ol7Hmb-E.js +0 -202
  234. package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js +0 -19
  235. package/dist/chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js +0 -58
  236. package/dist/chunks/BaseButton.vue_vue_type_script_setup_true_lang.BPSr-Zxr.js +0 -66
  237. package/dist/chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.Cb0-JXG0.js +0 -137
  238. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.CCb032YN.js +0 -151
  239. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.Cbo8eLhz.js +0 -164
  240. package/dist/chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js +0 -43
  241. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js +0 -105
  242. package/dist/chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.CdwKhQoc.js +0 -71
  243. package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.C9gKO-hI.js +0 -111
  244. package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.M0NEigw0.js +0 -27
  245. package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
  246. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
  247. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -9
  248. package/dist/chunks/polyline.tNTK3v2u.js +0 -129
  249. package/dist/chunks/useKeyboardController.Cs_5GQTJ.js +0 -41
  250. /package/dist/assets/{BaseIcon.css → packages/components/lib/UIKit/BaseIcon.css} +0 -0
  251. /package/dist/assets/{BasePaper.css → packages/components/lib/UIKit/BasePaper.css} +0 -0
  252. /package/dist/assets/{StaticSpinner.css → packages/components/lib/UIKit/StaticSpinner.css} +0 -0
@@ -1,6 +1,7 @@
1
- import { defineComponent as t, createElementBlock as n, openBlock as r, Fragment as s, renderList as l, createBlock as m, normalizeStyle as a, normalizeClass as o } from "vue";
2
- import h from "../UIKit/ShimmerLoader/BaseShimmerLoader.js";
3
- const c = /* @__PURE__ */ t({
1
+ import { defineComponent as i, createElementBlock as n, openBlock as r, Fragment as s, renderList as l, createBlock as m, normalizeStyle as a, normalizeClass as o } from "vue";
2
+ import u from "./BaseShimmerLoader.vue.js";
3
+ import '../../../../../assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css';/* empty css */
4
+ const k = /* @__PURE__ */ i({
4
5
  __name: "ShimmerMultiLine",
5
6
  props: {
6
7
  lines: { default: 1 },
@@ -8,16 +9,16 @@ const c = /* @__PURE__ */ t({
8
9
  shimmerClasses: {},
9
10
  inheritHeight: { type: Boolean, default: !1 }
10
11
  },
11
- setup(u) {
12
- return (e, d) => (r(!0), n(s, null, l(e.lines, (i) => (r(), m(h, {
12
+ setup(h) {
13
+ return (e, f) => (r(!0), n(s, null, l(e.lines, (t) => (r(), m(u, {
14
+ key: `sml-${t}`,
13
15
  ref_for: !0,
14
16
  ref: "shimmerLines",
15
17
  class: o(["shimmer-line", [
16
18
  e.shimmerClasses,
17
- e.inheritHeight ? "uikit-h-[1em]" : "uikit-h-8",
18
- "uikit-mb-2 uikit-rounded-xs"
19
+ e.inheritHeight ? "uikit-h-[1em]" : "uikit-h-xl",
20
+ "uikit-mb-xs uikit-rounded-xs"
19
21
  ]]),
20
- key: `sml-${i}`,
21
22
  style: a({
22
23
  marginRight: e.randomLength ? `${Math.round(Math.random() * 5) * 10}%` : 0
23
24
  })
@@ -25,5 +26,5 @@ const c = /* @__PURE__ */ t({
25
26
  }
26
27
  });
27
28
  export {
28
- c as _
29
+ k as default
29
30
  };
@@ -0,0 +1,27 @@
1
+ import { defineComponent as t, createElementBlock as o, openBlock as s, createElementVNode as n } from "vue";
2
+ const r = {
3
+ viewBox: "0 0 128 128",
4
+ class: "icon-spin uikit-h-6 uikit-w-6"
5
+ }, i = ["stroke", "stroke-width"], k = /* @__PURE__ */ t({
6
+ __name: "StaticSpinner",
7
+ props: {
8
+ thickness: { default: 9 },
9
+ strokeColor: { default: "#fff" }
10
+ },
11
+ setup(c) {
12
+ return (e, l) => (s(), o("svg", r, [
13
+ n("circle", {
14
+ class: "path",
15
+ cx: "64",
16
+ cy: "64",
17
+ r: "42",
18
+ fill: "none",
19
+ stroke: e.strokeColor,
20
+ "stroke-width": e.thickness
21
+ }, null, 8, i)
22
+ ]));
23
+ }
24
+ });
25
+ export {
26
+ k as default
27
+ };
@@ -6,10 +6,10 @@ const o = /* @__PURE__ */ a({
6
6
  headerTitle: {},
7
7
  tabPanelClasses: {}
8
8
  },
9
- setup(s) {
10
- return (e, t) => r(e.$slots, "header");
9
+ setup(t) {
10
+ return (e, s) => r(e.$slots, "header");
11
11
  }
12
12
  });
13
13
  export {
14
- o as _
14
+ o as default
15
15
  };
@@ -0,0 +1,39 @@
1
+ import { defineComponent as n, createBlock as r, openBlock as l, resolveDynamicComponent as a, normalizeClass as e, withCtx as k, renderSlot as p, withDirectives as c, createElementVNode as m, vShow as d } from "vue";
2
+ const v = /* @__PURE__ */ n({
3
+ __name: "BaseTabItem",
4
+ props: {
5
+ component: { type: [Object, Function, String], default: "button" },
6
+ activeBorderPosition: { default: "bottom" },
7
+ isActive: { type: Boolean, default: !1 }
8
+ },
9
+ emits: ["click"],
10
+ setup(b, { emit: o }) {
11
+ const s = o;
12
+ return (t, i) => (l(), r(a(t.component), {
13
+ class: e([
14
+ "uikit-relative uikit-min-w-[56px] uikit-bg-transparent uikit-text hover:uikit-cursor-pointer",
15
+ {
16
+ "uikit-font-semibold uikit-text-w-blue": t.isActive
17
+ },
18
+ t.activeBorderPosition === "top" ? "uikit-pb-2xs uikit-pt-sm" : "uikit-pb-sm uikit-pt-2xs"
19
+ ]),
20
+ onClick: i[0] || (i[0] = (u) => s("click", u))
21
+ }, {
22
+ default: k(() => [
23
+ p(t.$slots, "default"),
24
+ c(m("div", {
25
+ class: e([
26
+ "uikit-absolute uikit-left-1/2 uikit-h-2xs uikit-w-[56px] -uikit-translate-x-1/2 uikit-bg-w-blue",
27
+ t.activeBorderPosition === "top" ? "uikit-top-0 uikit-rounded-t-3xs" : "uikit-bottom-0 uikit-rounded-b-3xs"
28
+ ])
29
+ }, null, 2), [
30
+ [d, t.isActive]
31
+ ])
32
+ ]),
33
+ _: 3
34
+ }, 8, ["class"]));
35
+ }
36
+ });
37
+ export {
38
+ v as default
39
+ };
@@ -0,0 +1,46 @@
1
+ import { defineComponent as C, inject as n, createElementBlock as o, openBlock as i, normalizeClass as l, Fragment as u, renderList as h, unref as s, createBlock as c, withCtx as k, createCommentVNode as v, toDisplayString as _, resolveDynamicComponent as f } from "vue";
2
+ import B from "./BaseTabItem.vue.js";
3
+ const F = ["aria-labelledby", "data-cy"], L = { key: 0 }, D = /* @__PURE__ */ C({
4
+ __name: "BaseTabList",
5
+ props: {
6
+ dataCy: {},
7
+ uid: {},
8
+ tabListClasses: {},
9
+ activeBorderPosition: {}
10
+ },
11
+ emits: ["tabClick"],
12
+ setup($, { emit: d }) {
13
+ const b = n("tabs"), r = n("isTabActive"), m = n("handleClick"), p = d;
14
+ return (t, T) => (i(), o("div", {
15
+ role: "tablist",
16
+ "aria-labelledby": `tablist-${t.uid}`,
17
+ class: l(t.tabListClasses),
18
+ "data-cy": t.dataCy
19
+ }, [
20
+ (i(!0), o(u, null, h(s(b), (e, a) => (i(), c(B, {
21
+ id: e.tabId,
22
+ key: a,
23
+ "active-border-position": t.activeBorderPosition,
24
+ "is-active": s(r)(a),
25
+ "data-cy": e["data-cy"],
26
+ type: "button",
27
+ role: "tab",
28
+ "aria-selected": s(r)(a),
29
+ "aria-controls": `base-tab-panel-${a}-${t.uid}`,
30
+ tabindex: s(r)(a) ? void 0 : -1,
31
+ class: l(e.class),
32
+ onClick: (y) => {
33
+ s(m)(a, e), p("tabClick", y, a, e);
34
+ }
35
+ }, {
36
+ default: k(() => [
37
+ e["header-title"] ? (i(), o("span", L, _(e["header-title"]), 1)) : e.renderFn.children && e.renderFn.children.header ? (i(), c(f(e.renderFn.children.header), { key: 1 })) : v("", !0)
38
+ ]),
39
+ _: 2
40
+ }, 1032, ["id", "active-border-position", "is-active", "data-cy", "aria-selected", "aria-controls", "tabindex", "class", "onClick"]))), 128))
41
+ ], 10, F));
42
+ }
43
+ });
44
+ export {
45
+ D as default
46
+ };
@@ -20,5 +20,5 @@ const n = ["id", "aria-labelledby"], b = /* @__PURE__ */ a({
20
20
  }
21
21
  });
22
22
  export {
23
- b as _
23
+ b as default
24
24
  };
@@ -0,0 +1,109 @@
1
+ import { defineComponent as S, mergeModels as T, useModel as z, ref as b, useId as j, useSlots as q, computed as G, provide as p, watch as k, createElementBlock as v, openBlock as i, normalizeClass as I, createElementVNode as H, createBlock as o, createCommentVNode as c, 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";
4
+ const U = ["data-cy"], W = ["id"], te = /* @__PURE__ */ S({
5
+ inheritAttrs: !1,
6
+ __name: "BaseTabView",
7
+ props: /* @__PURE__ */ T({
8
+ tabsPosition: { default: "top" },
9
+ tabViewDescription: {},
10
+ tabListClasses: {},
11
+ dataCy: {}
12
+ }, {
13
+ activeIdx: { default: 0 },
14
+ activeIdxModifiers: {}
15
+ }),
16
+ emits: /* @__PURE__ */ T(["tabClicked"], ["update:activeIdx"]),
17
+ setup($, { emit: B }) {
18
+ const A = B, l = z($, "activeIdx"), _ = b(""), u = b(null), F = b(null), r = j(), m = q(), d = (e) => e.props ?? null, y = (e) => e.type.__name === "BaseTab", h = (e, a) => ({
19
+ renderFn: e,
20
+ tabId: C(a),
21
+ "active-tab-panel-idx": d(e)?.["active-tab-panel-idx"] ?? a,
22
+ "header-title": d(e)?.["header-title"] || "",
23
+ class: d(e)?.class || "",
24
+ "tab-panel-classes": d(e)?.["tab-panel-classes"] || "",
25
+ "data-cy": d(e)?.["data-cy"] || ""
26
+ }), n = G(() => m.default ? m.default().reduce((e, a) => (a.children && Array.isArray(a.children) ? a.children.forEach((t) => {
27
+ y(t) && e.push(h(t, e.length));
28
+ }) : y(a) && e.push(h(a, e.length)), e), []) : []);
29
+ p("tabs", n), p("isTabActive", (e) => l.value === e);
30
+ const V = (e = -1) => u.value === e, C = (e) => `base-tab-${e}-${r}`, w = (e = -1) => `base-tab-panel-${e}-${r}`, x = (e = -1) => {
31
+ const a = n.value.reduce(
32
+ (t, s, N) => (s["active-tab-panel-idx"] !== e || t.push({ tab: s, idx: N }), t),
33
+ []
34
+ );
35
+ return a && a.length === 1 ? a[0].tab.tabId : a.find((t) => t.idx === l.value)?.tab.tabId;
36
+ }, D = (e) => {
37
+ _.value = C(e);
38
+ }, L = (e) => {
39
+ const a = n.value.at(e ?? -1);
40
+ u.value = a?.["active-tab-panel-idx"] ?? null;
41
+ };
42
+ p("handleClick", (e, a) => {
43
+ D(e), l.value = e, A("tabClicked", { tabIdx: e, tabElement: a });
44
+ }), k(
45
+ l,
46
+ (e) => {
47
+ L(e ?? -1);
48
+ },
49
+ {
50
+ immediate: !0
51
+ }
52
+ );
53
+ const E = (e, a) => {
54
+ for (let t = 0; t < e.length; t++)
55
+ if (e[t] !== a[t]) return t;
56
+ return null;
57
+ }, M = (e = -1) => n.value.find((a) => a["active-tab-panel-idx"] === e);
58
+ return k(
59
+ () => n.value.map((e) => e["active-tab-panel-idx"]),
60
+ (e, a) => {
61
+ const t = E(e, a);
62
+ if (t === null) return;
63
+ const s = n.value[t]["active-tab-panel-idx"];
64
+ l.value !== t || s === void 0 || (u.value = s);
65
+ }
66
+ ), (e, a) => (i(), v("div", {
67
+ ref_key: "root",
68
+ ref: F,
69
+ class: I(e.$attrs.class),
70
+ "data-cy": e.dataCy
71
+ }, [
72
+ H("span", {
73
+ id: `tablist-${f(r)}`,
74
+ class: "uikit-sr-only"
75
+ }, J(e.tabViewDescription), 9, W),
76
+ e.tabsPosition === "top" ? (i(), o(P, {
77
+ key: 0,
78
+ uid: f(r),
79
+ "tab-list-classes": e.tabListClasses,
80
+ "data-cy": e.dataCy ? `${e.dataCy}-tab-list` : "",
81
+ "active-border-position": "bottom"
82
+ }, null, 8, ["uid", "tab-list-classes", "data-cy"])) : c("", !0),
83
+ (i(!0), v(g, null, K(n.value, (t, s) => (i(), v(g, { key: s }, [
84
+ M(s) ? (i(), o(R, {
85
+ key: 0,
86
+ id: w(t["active-tab-panel-idx"]),
87
+ "labelled-by": x(s) ?? "",
88
+ active: V(s),
89
+ class: I(t["tab-panel-classes"])
90
+ }, {
91
+ default: O(() => [
92
+ t.renderFn.children && t.renderFn.children.default ? (i(), o(Q(t.renderFn.children.default), { key: 0 })) : c("", !0)
93
+ ]),
94
+ _: 2
95
+ }, 1032, ["id", "labelled-by", "active", "class"])) : c("", !0)
96
+ ], 64))), 128)),
97
+ e.tabsPosition === "bottom" ? (i(), o(P, {
98
+ key: 1,
99
+ uid: f(r),
100
+ "tab-list-classes": e.tabListClasses,
101
+ "data-cy": e.dataCy ? `${e.dataCy}-tab-list` : "",
102
+ "active-border-position": "top"
103
+ }, null, 8, ["uid", "tab-list-classes", "data-cy"])) : c("", !0)
104
+ ], 10, U));
105
+ }
106
+ });
107
+ export {
108
+ te as default
109
+ };
@@ -0,0 +1,27 @@
1
+ import { defineComponent as u, onBeforeMount as i, createBlock as p, createCommentVNode as m, unref as t, openBlock as c } from "vue";
2
+ import { Doughnut as l } from "vue-chartjs";
3
+ import { Chart as d, DoughnutController as f, ArcElement as g } from "chart.js";
4
+ import { useChartJsModules as h } from "../../../../chart/composables/useChartjsModules.js";
5
+ const y = /* @__PURE__ */ u({
6
+ __name: "DoughnutChart",
7
+ props: {
8
+ options: {},
9
+ data: {}
10
+ },
11
+ setup(e) {
12
+ d.register(f, g);
13
+ const r = e, { registerPlugins: n, resolved: a, executeRegistration: s } = h(
14
+ r.options
15
+ );
16
+ return i(async () => {
17
+ await s(n);
18
+ }), (o, C) => t(a) ? (c(), p(t(l), {
19
+ key: 0,
20
+ options: o.options,
21
+ data: o.data
22
+ }, null, 8, ["options", "data"])) : m("", !0);
23
+ }
24
+ });
25
+ export {
26
+ y as default
27
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, onBeforeMount as u, useTemplateRef as f, computed as d, createBlock as h, createCommentVNode as C, unref as t, openBlock as g } from "vue";
2
2
  import { Line as L } from "vue-chartjs";
3
3
  import { Chart as _, LineController as k, LineElement as x, Filler as y, PointElement as B, CategoryScale as E, LinearScale as v } from "chart.js";
4
- import { useChartJsModules as M } from "../chart/composables/useChartjsModules.js";
4
+ import { useChartJsModules as M } from "../../../../chart/composables/useChartjsModules.js";
5
5
  const A = /* @__PURE__ */ m({
6
6
  __name: "LineChart",
7
7
  props: {
@@ -38,5 +38,5 @@ const A = /* @__PURE__ */ m({
38
38
  }
39
39
  });
40
40
  export {
41
- A as _
41
+ A as default
42
42
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as t, ref as n, onMounted as a, createElementBlock as i, renderSlot as s, openBlock as u, normalizeClass as f } from "vue";
2
- const b = /* @__PURE__ */ t({
1
+ import { defineComponent as t, ref as n, onMounted as a, createElementBlock as u, renderSlot as s, openBlock as f, normalizeClass as i } from "vue";
2
+ const d = /* @__PURE__ */ t({
3
3
  __name: "IntersectionObservable",
4
4
  props: {
5
5
  observer: { default: null },
@@ -9,16 +9,16 @@ const b = /* @__PURE__ */ t({
9
9
  const r = l, o = n(null);
10
10
  return a(() => {
11
11
  !r.observer || !o.value || r.observer.observe(o.value);
12
- }), (e, p) => e.isVisible ? s(e.$slots, "default", { key: 1 }) : (u(), i("div", {
12
+ }), (e, p) => e.isVisible ? s(e.$slots, "default", { key: 1 }) : (f(), u("div", {
13
13
  key: 0,
14
14
  ref_key: "root",
15
15
  ref: o,
16
- class: f(e.$attrs["root-classes"])
16
+ class: i(e.$attrs["root-classes"])
17
17
  }, [
18
18
  s(e.$slots, "default")
19
19
  ], 2));
20
20
  }
21
21
  });
22
22
  export {
23
- b as _
23
+ d as default
24
24
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as p, reactive as d, ref as m, onBeforeMount as h, onBeforeUnmount as V, createElementBlock as k, renderSlot as l, unref as t, openBlock as B, normalizeClass as O } from "vue";
2
- const _ = /* @__PURE__ */ p({
1
+ import { defineComponent as d, reactive as p, ref as m, onBeforeMount as h, onBeforeUnmount as V, createElementBlock as k, renderSlot as l, unref as t, openBlock as B, normalizeClass as O } from "vue";
2
+ const E = /* @__PURE__ */ d({
3
3
  __name: "IntersectionObserver",
4
4
  props: {
5
5
  observeOnce: { type: Boolean, default: !0 },
@@ -9,7 +9,7 @@ const _ = /* @__PURE__ */ p({
9
9
  emits: ["intersection"],
10
10
  setup(a, { emit: u }) {
11
11
  const c = u, o = a;
12
- let r = d({ root: null, isVisible: !1 });
12
+ let r = p({ root: null, isVisible: !1 });
13
13
  const e = m(null), v = (s) => {
14
14
  s.forEach(({ target: n, isIntersecting: i }) => {
15
15
  i && (r.isVisible = !0, c("intersection")), o.observeOnce && i && b(n);
@@ -48,5 +48,5 @@ const _ = /* @__PURE__ */ p({
48
48
  }
49
49
  });
50
50
  export {
51
- _
51
+ E as default
52
52
  };
@@ -0,0 +1,246 @@
1
+ import { defineComponent as J, reactive as Q, ref as k, useId as U, computed as f, onMounted as X, watch as Y, nextTick as M, createElementBlock as l, openBlock as u, normalizeClass as p, createElementVNode as v, createCommentVNode as y, renderSlot as E, Fragment as P, renderList as F, mergeProps as T, withModifiers as O } from "vue";
2
+ import { Swiper as B } from "swiper";
3
+ import x from "../../../../../node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/zoom.js";
4
+ import '../../../../../assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/modules/zoom.css';import '../../../../../assets/node_modules/.pnpm/swiper@11.2.8/node_modules/swiper/swiper.css';/* empty css */
5
+ /* empty css */
6
+ import "../../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
7
+ import { shallowCopyObjectTo as _ } from "../../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js";
8
+ import "../../../../../_virtual/polyline.js";
9
+ const ee = ["id"], te = ["id", "data-cy"], se = ["data-idx", "alt", "width", "height", "onLoad"], ie = ["id"], ae = ["alt"], me = /* @__PURE__ */ J({
10
+ inheritAttrs: !1,
11
+ __name: "SwiperCarousel",
12
+ props: {
13
+ id: {},
14
+ swiperOptions: {},
15
+ thumbSwiperOptions: {},
16
+ lazyLoadImages: { type: Boolean, default: !0 },
17
+ backgroundImage: { type: Boolean, default: !1 },
18
+ images: { default: () => [] },
19
+ artDirection: {},
20
+ shiftFirstImage: { type: Boolean, default: !1 }
21
+ },
22
+ emits: ["moved", "click", "firstSlideLoaded"],
23
+ setup(s, { expose: D, emit: j }) {
24
+ const $ = j, r = Q({
25
+ swiperParams: { modules: [x] },
26
+ swiper: null,
27
+ initCarousel: !1
28
+ }), S = k(), A = k(!1), N = U(), d = f(() => s.id ?? N), g = f(() => s.swiperOptions?.slidesPerView || 1), V = f(() => !!s.swiperOptions?.keyboard), C = f(() => !!s.swiperOptions.navigation), I = f(() => !!s.swiperOptions.pagination), W = f(() => !!s.swiperOptions.autoplay), q = f(
29
+ () => s.swiperOptions?.effect || "slider"
30
+ ), K = () => {
31
+ s.swiperOptions && _(s.swiperOptions, r.swiperParams);
32
+ }, z = (e, i = -1, t = !1) => {
33
+ if (!e.images)
34
+ return { src: e.src || "" };
35
+ let a = "", o = "", b = "";
36
+ if (s.artDirection) {
37
+ for (const n in s.artDirection) {
38
+ const { mq: c, width: m } = s.artDirection[n];
39
+ m && (b += b ? `,${c} ${parseInt(m)}px` : `${c} ${parseInt(m)}px`);
40
+ }
41
+ o = e.images.reduce((n, c, m) => {
42
+ const w = Object.values(s.artDirection)[m];
43
+ return !w || !w.width || (n += n ? `, ${c.storagePath} ${w.width}` : `${c.storagePath} ${w.width}`), n;
44
+ }, ""), a = e.images[0].storagePath;
45
+ } else {
46
+ let n = e.images;
47
+ e.images.length > 3 ? n = e.images.slice(2, 5) : s.shiftFirstImage && (n[0] = n[1]), o = n.reduce((c, m, w) => (w === 0 && (a = `${m.storagePath}`), w > 0 && (c += ", "), `${c}${m.storagePath} ${w + 1}x`), "");
48
+ }
49
+ const G = a, H = o;
50
+ return typeof g.value == "number" && i > g.value ? (a = "", o = "", { sizes: b, "data-src": G, "data-srcset": H }) : t ? {
51
+ src: a,
52
+ srcset: o,
53
+ sizes: b,
54
+ loading: "lazy",
55
+ fetchpriority: "low"
56
+ } : {
57
+ src: a,
58
+ srcset: o,
59
+ sizes: b,
60
+ loading: s.lazyLoadImages || i >= g.value ? "lazy" : void 0,
61
+ fetchpriority: !s.lazyLoadImages && i === 0 ? "high" : "low"
62
+ };
63
+ }, h = [], R = (e) => {
64
+ if (typeof g.value == "string") return;
65
+ const i = h[e];
66
+ if (i && !i.src && (i.src = i.dataset.src || "", i.srcset = i.dataset.srcset || ""), e < g.value || e + 1 >= (s.images ?? []).length)
67
+ return;
68
+ const t = h[e + 1];
69
+ t && !t.src && (t.src = t?.dataset.src || "", t.srcset = t?.dataset.srcset || "");
70
+ };
71
+ D({
72
+ moveTo(e, i = 0, t = !0) {
73
+ r.swiper?.slideTo(e, i, t);
74
+ }
75
+ });
76
+ const L = k(null), Z = (e) => {
77
+ e === 0 && h && h[e] && M(() => {
78
+ L.value?.setAttribute("data-first-slide-loaded", "true"), $("firstSlideLoaded");
79
+ });
80
+ };
81
+ return X(async () => {
82
+ if (K(), V.value) {
83
+ const { Keyboard: t } = await import("../../../lazyModules/Swiper/keyboard.js");
84
+ r.swiperParams.modules?.push(t), r.swiperParams.keyboard = s.swiperOptions.keyboard;
85
+ }
86
+ if (I.value) {
87
+ const { Pagination: t } = await import("../../../lazyModules/Swiper/pagination.js");
88
+ r.swiperParams.modules?.push(t), r.swiperParams.pagination = {
89
+ el: ".swiper-pagination",
90
+ renderFraction: (a, o) => `<div class="uikit-rounded-xs uikit-border-w-black uikit-border uikit-border-solid uikit-px-3 uikit-bg-white uikit-pt-[3px] uikit-pb-[3px]">
91
+ <span data-cy="swiper-pagination-current" class="${a}"></span>
92
+ /
93
+ <span data-cy="swiper-pagination-total" class="${o}"></span>
94
+ </div>`,
95
+ ...typeof r.swiperParams.pagination == "boolean" ? {} : r.swiperParams.pagination
96
+ };
97
+ }
98
+ if (C.value) {
99
+ const { Navigation: t } = await import("../../../lazyModules/Swiper/navigation.js");
100
+ r.swiperParams.modules?.push(t);
101
+ const a = {
102
+ ...s.swiperOptions.navigation.nextEl ?? {
103
+ nextEl: ".swiper-button-next"
104
+ },
105
+ ...s.swiperOptions.navigation.prevEl ?? {
106
+ prevEl: ".swiper-button-prev"
107
+ }
108
+ };
109
+ r.swiperParams.navigation = {
110
+ ...typeof s.swiperOptions.navigation == "object" ? s.swiperOptions.navigation : {},
111
+ ...a
112
+ };
113
+ }
114
+ if (W.value) {
115
+ const { Autoplay: t } = await import("../../../lazyModules/Swiper/autoplay.js");
116
+ r.swiperParams.modules?.push(t), r.swiperParams.autoplay = s.swiperOptions.autoplay;
117
+ }
118
+ const e = {
119
+ ...r.swiperParams,
120
+ on: {
121
+ init: () => {
122
+ A.value = !0;
123
+ },
124
+ slideChange: (t) => {
125
+ R(t.activeIndex), $("moved", { activeIndex: t.activeIndex });
126
+ }
127
+ }
128
+ };
129
+ let i = null;
130
+ if (s.thumbSwiperOptions) {
131
+ const [t, a, o] = await Promise.all([
132
+ import("../../../lazyModules/Swiper/thumbs.js"),
133
+ import("../../../lazyModules/Swiper/free-mode.js"),
134
+ import("../../../lazyModules/Swiper/controller.js")
135
+ ]);
136
+ r.swiperParams.modules?.push(t.Thumbs), r.swiperParams.modules?.push(o.Controller), i = new B(`#thumb_${d.value}`, {
137
+ ...s.thumbSwiperOptions,
138
+ modules: [a.FreeMode]
139
+ }), e.thumbs = {
140
+ swiper: i
141
+ };
142
+ }
143
+ e.lazyPreloadPrevNext = 1, r.swiper = new B(`#${d.value}`, e), S.value?.classList.remove("uikit-hidden");
144
+ }), Y(
145
+ () => s.images,
146
+ () => {
147
+ M(() => {
148
+ r.swiper?.update();
149
+ });
150
+ }
151
+ ), (e, i) => (u(), l("div", {
152
+ id: `root-${d.value}`,
153
+ ref_key: "root",
154
+ ref: L,
155
+ class: p(["swiper-carousel-root", e.$attrs["root-classes"]])
156
+ }, [
157
+ v("div", {
158
+ id: d.value,
159
+ "data-cy": e.$attrs["data-cy"],
160
+ class: p(["swiper", e.$attrs["swiper-classes"]])
161
+ }, [
162
+ v("div", {
163
+ ref_key: "swiperWrapper",
164
+ ref: S,
165
+ class: p(["swiper-wrapper", [
166
+ e.$attrs["swiper-wrapper-classes"],
167
+ q.value === "none" && "no-transition"
168
+ ]]),
169
+ onClick: i[0] || (i[0] = (t) => $("click"))
170
+ }, [
171
+ E(e.$slots, "default", {}, () => [
172
+ (u(!0), l(P, null, F(e.images, (t, a) => (u(), l("div", {
173
+ key: `swiper_${d.value}_${a}`,
174
+ class: p(["swiper-slide", e.$attrs["swiper-slide-classes"]])
175
+ }, [
176
+ v("div", {
177
+ class: p(["swiper-zoom-container", e.$attrs["swiper-zoom-container-classes"]])
178
+ }, [
179
+ e.backgroundImage ? y("", !0) : (u(), l("img", T({
180
+ key: 0,
181
+ ref_for: !0,
182
+ ref: (o) => {
183
+ h.push(o);
184
+ },
185
+ class: ["disable-select", [e.$attrs["slide-img-classes"] || t.classes]],
186
+ "data-idx": `${d.value}-slide-img-${a}`
187
+ }, { ref_for: !0 }, z(t, a), {
188
+ alt: t.alt,
189
+ itemprop: "image",
190
+ width: t.width,
191
+ height: t.height,
192
+ onLoad: (o) => Z(a)
193
+ }), null, 16, se))
194
+ ], 2)
195
+ ], 2))), 128)),
196
+ E(e.$slots, "last_slide", {}, void 0, !0)
197
+ ], !0)
198
+ ], 2),
199
+ I.value ? (u(), l("div", {
200
+ key: 0,
201
+ class: p([e.$attrs["swiper-pagination-classes"], "swiper-pagination [&.swiper-pagination-fraction]:uikit-flex [&.swiper-pagination-fraction]:uikit-justify-center"]),
202
+ onClick: i[1] || (i[1] = O(() => {
203
+ }, ["stop"]))
204
+ }, null, 2)) : y("", !0),
205
+ C.value ? (u(), l(P, { key: 1 }, [
206
+ v("div", {
207
+ class: "swiper-button-prev",
208
+ "data-cy": "swiper-button-prev",
209
+ onClick: i[2] || (i[2] = O(() => {
210
+ }, ["stop"]))
211
+ }),
212
+ v("div", {
213
+ class: "swiper-button-next",
214
+ "data-cy": "swiper-button-next",
215
+ onClick: i[3] || (i[3] = O(() => {
216
+ }, ["stop"]))
217
+ })
218
+ ], 64)) : y("", !0)
219
+ ], 10, te),
220
+ e.thumbSwiperOptions ? (u(), l("div", {
221
+ key: 0,
222
+ id: `thumb_${d.value}`,
223
+ thumbsSlider: "",
224
+ class: p(["swiper", e.$attrs["thumb-swiper-classes"]])
225
+ }, [
226
+ v("div", {
227
+ class: p(["swiper-wrapper", e.$attrs["thumb-swiper-wrapper-classes"]])
228
+ }, [
229
+ (u(!0), l(P, null, F(e.images, (t, a) => (u(), l("div", {
230
+ key: `thumb_${d.value}_${a}`,
231
+ class: p(["swiper-slide", e.$attrs["thumb-img-wrapper-classes"]])
232
+ }, [
233
+ v("img", T({
234
+ class: e.$attrs["thumb-img-classes"]
235
+ }, { ref_for: !0 }, z(t, -1, !1), {
236
+ alt: t.alt
237
+ }), null, 16, ae)
238
+ ], 2))), 128))
239
+ ], 2)
240
+ ], 10, ie)) : y("", !0)
241
+ ], 10, ee));
242
+ }
243
+ });
244
+ export {
245
+ me as default
246
+ };
package/dist/utils.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const getUID: (prefix?: string) => string;
1
+ export declare const log: <T>(message: string, payload: T) => void;
package/dist/utils.js CHANGED
@@ -1,5 +1,7 @@
1
- var t = 0;
2
- const e = (r = "uikit_id_") => (t++, `${r}${t}`);
1
+ const c = (o, l) => console.log("DEBUG:", {
2
+ message: o,
3
+ payload: l
4
+ });
3
5
  export {
4
- e as getUID
6
+ c as log
5
7
  };