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

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 (219) 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 +3 -2
  7. package/dist/UIKit/BaseAutocomplete.js +1 -1
  8. package/dist/UIKit/BaseBadge.js +3 -2
  9. package/dist/UIKit/BaseBreadcrumb.js +1 -1
  10. package/dist/UIKit/BaseButton.js +1 -1
  11. package/dist/UIKit/BaseCard.js +5 -36
  12. package/dist/UIKit/BaseComplexToggle.js +5 -105
  13. package/dist/UIKit/BaseDropDown.js +1 -1
  14. package/dist/UIKit/BaseFloatingLabel.js +5 -39
  15. package/dist/UIKit/BaseIcon.js +4 -25
  16. package/dist/UIKit/BaseInput.js +5 -210
  17. package/dist/UIKit/BaseModal.js +3 -2
  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 +5 -206
  22. package/dist/UIKit/BaseSnackbar.js +5 -80
  23. package/dist/UIKit/BaseTextarea.js +5 -126
  24. package/dist/UIKit/BaseToggle.js +5 -41
  25. package/dist/UIKit/BaseTooltip.js +5 -40
  26. package/dist/UIKit/BaseUploadFile.js +1 -1
  27. package/dist/UIKit/Checkbox/CheckboxBtn.js +5 -74
  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 +5 -20
  32. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -1
  33. package/dist/UIKit/Slider/SimpleSlider.js +5 -81
  34. package/dist/UIKit/StaticSpinner.js +5 -26
  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/_virtual/_plugin-vue_export-helper.js +9 -0
  40. package/dist/_virtual/polyline.js +2 -0
  41. package/dist/assets/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.css +1 -0
  42. package/dist/assets/{SwiperCarousel.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/swiper.css} +1 -1
  43. package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel.css +1 -0
  44. package/dist/assets/packages/components/lib/components/carousel/SwiperCarousel2.css +1 -0
  45. package/dist/chart/DoughnutChart.js +1 -1
  46. package/dist/chart/LineChart.js +1 -1
  47. package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -1
  48. package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -1
  49. package/dist/components/carousel/SwiperCarousel.js +6 -3
  50. package/dist/components/carousel/SwiperSlide.js +1 -1
  51. package/dist/index.js +89 -85
  52. package/dist/{chunks/ArrowIcon.Bq6Xr3uH.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js} +3 -3
  53. package/dist/{chunks/CloseIcon.BZ4U3aiI.js → node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.js} +11 -11
  54. 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 +9 -0
  55. 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 +2 -0
  56. 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 +40 -0
  57. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ArrayUtils.js +4 -0
  58. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/DeviceDetectionUtils.js +4 -0
  59. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js +15 -0
  60. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/GenericUtils.js +12 -0
  61. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/NumberUtils.js +18 -0
  62. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/ObjectUtils.js +10 -0
  63. package/dist/node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/StringUtils.js +4 -0
  64. 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
  65. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/decode.js +22 -0
  66. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/encode.js +34 -0
  67. package/dist/node_modules/.pnpm/google-polyline@1.0.3/node_modules/google-polyline/lib/polyline.js +12 -0
  68. package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js +71 -0
  69. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.css.js +1 -0
  70. package/dist/{chunks/autoplay.PAkd8mEA.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/autoplay.js} +2 -2
  71. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.css.js +1 -0
  72. package/dist/{chunks/controller.B4dN1HzT.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js} +2 -2
  73. package/dist/{chunks/free-mode.CgW-CG5o.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.js} +3 -3
  74. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.css.js +1 -0
  75. package/dist/{chunks/keyboard.1cl3p4mk.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js} +14 -13
  76. package/dist/{chunks/navigation.BMbGenMb.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js} +4 -4
  77. package/dist/{chunks/pagination.BY56pkKE.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.js} +46 -48
  78. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.css.js +1 -0
  79. package/dist/{chunks/thumbs.DMUSQ4UG.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/thumbs.js} +7 -6
  80. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/zoom.js +310 -0
  81. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/classes-to-selector.js +6 -0
  82. package/dist/{chunks/create-element-if-not-defined.DjTnEoTJ.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/create-element-if-not-defined.js} +1 -1
  83. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/ssr-window.esm.js +135 -0
  84. package/dist/node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/shared/utils.js +85 -0
  85. package/dist/packages/components/lazyModules/Swiper/autoplay.js +5 -0
  86. package/dist/packages/components/lazyModules/Swiper/controller.js +5 -0
  87. package/dist/packages/components/lazyModules/Swiper/free-mode.js +5 -0
  88. package/dist/packages/components/lazyModules/Swiper/keyboard.js +5 -0
  89. package/dist/packages/components/lazyModules/Swiper/navigation.js +5 -0
  90. package/dist/packages/components/lazyModules/Swiper/pagination.js +5 -0
  91. package/dist/packages/components/lazyModules/Swiper/thumbs.js +5 -0
  92. package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +213 -0
  93. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordion.vue.js +33 -0
  94. package/dist/{chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js → packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js} +8 -8
  95. package/dist/{chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js → packages/components/lib/UIKit/Accordion/BaseAccordionContent.vue.js} +1 -1
  96. package/dist/{chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js → packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js} +21 -21
  97. package/dist/{chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js → packages/components/lib/UIKit/BaseAlert.vue.js} +2 -2
  98. package/dist/{chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.Ol7Hmb-E.js → packages/components/lib/UIKit/BaseAutocomplete.vue.js} +64 -74
  99. package/dist/packages/components/lib/UIKit/BaseBadge.vue.js +19 -0
  100. package/dist/{chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js → packages/components/lib/UIKit/BaseBreadcrumb.vue.js} +5 -5
  101. package/dist/{chunks/BaseButton.vue_vue_type_script_setup_true_lang.BPSr-Zxr.js → packages/components/lib/UIKit/BaseButton.vue.js} +6 -6
  102. package/dist/packages/components/lib/UIKit/BaseCard.vue.js +37 -0
  103. package/dist/packages/components/lib/UIKit/BaseComplexToggle.vue.js +106 -0
  104. package/dist/{chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.Cb0-JXG0.js → packages/components/lib/UIKit/BaseDropDown.vue.js} +25 -25
  105. package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +40 -0
  106. package/dist/packages/components/lib/UIKit/BaseIcon.vue.js +27 -0
  107. package/dist/packages/components/lib/UIKit/BaseInput.vue.js +211 -0
  108. package/dist/{chunks/BaseModal.vue_vue_type_style_index_0_lang.CCb032YN.js → packages/components/lib/UIKit/BaseModal.vue.js} +56 -61
  109. package/dist/{chunks/BasePagination.vue_vue_type_script_setup_true_lang.Cbo8eLhz.js → packages/components/lib/UIKit/BasePagination.vue.js} +71 -83
  110. package/dist/packages/components/lib/UIKit/BasePaper.vue.js +7 -0
  111. package/dist/{chunks/SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js → packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js} +1 -1
  112. package/dist/packages/components/lib/UIKit/BaseSlider.vue.js +207 -0
  113. package/dist/packages/components/lib/UIKit/BaseSnackbar.vue.js +81 -0
  114. package/dist/packages/components/lib/UIKit/BaseTextarea.vue.js +127 -0
  115. package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +42 -0
  116. package/dist/packages/components/lib/UIKit/BaseTooltip.vue.js +41 -0
  117. package/dist/{chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.CdwKhQoc.js → packages/components/lib/UIKit/BaseUploadFile.vue.js} +2 -2
  118. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +75 -0
  119. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +114 -0
  120. package/dist/{chunks/RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → packages/components/lib/UIKit/Radio/RadioButton.vue.js} +9 -9
  121. package/dist/{chunks/RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js → packages/components/lib/UIKit/Radio/RadioGroup.vue.js} +6 -6
  122. package/dist/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +21 -0
  123. package/dist/{chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.BoEMYLem.js → packages/components/lib/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js} +8 -8
  124. package/dist/packages/components/lib/UIKit/Slider/SimpleSlider.vue.js +82 -0
  125. package/dist/packages/components/lib/UIKit/StaticSpinner.vue.js +27 -0
  126. package/dist/{chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js → packages/components/lib/UIKit/Tab/BaseTab.vue.js} +3 -3
  127. package/dist/{chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js → packages/components/lib/UIKit/Tab/BaseTabList.vue.js} +1 -1
  128. package/dist/{chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js → packages/components/lib/UIKit/Tab/BaseTabPanel.vue.js} +1 -1
  129. package/dist/{chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js → packages/components/lib/UIKit/Tab/BaseTabView.vue.js} +17 -17
  130. package/dist/packages/components/lib/chart/DoughnutChart.vue.js +27 -0
  131. package/dist/{chunks/LineChart.vue_vue_type_script_setup_true_lang.ByrHxeZr.js → packages/components/lib/chart/LineChart.vue.js} +2 -2
  132. package/dist/{chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js → packages/components/lib/components/IntersectionObserver/IntersectionObservable.vue.js} +5 -5
  133. package/dist/{chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js → packages/components/lib/components/IntersectionObserver/IntersectionObserver.vue.js} +4 -4
  134. package/dist/packages/components/lib/components/carousel/SwiperCarousel.vue.js +242 -0
  135. package/package.json +1 -1
  136. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.gRPd8LaO.js +0 -246
  137. package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.BJW28Y_i.js +0 -32
  138. package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js +0 -19
  139. package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.C9gKO-hI.js +0 -111
  140. package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.M0NEigw0.js +0 -27
  141. package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
  142. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
  143. package/dist/chunks/SwiperCarousel.BymL6KSO.js +0 -753
  144. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -9
  145. package/dist/chunks/polyline.tNTK3v2u.js +0 -129
  146. package/dist/chunks/useKeyboardController.Cs_5GQTJ.js +0 -41
  147. /package/dist/{lib/UIKit → UIKit}/AccessibleSelect.d.ts +0 -0
  148. /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordion.d.ts +0 -0
  149. /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionBtn.d.ts +0 -0
  150. /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionContent.d.ts +0 -0
  151. /package/dist/{lib/UIKit → UIKit}/Accordion/BaseAccordionItem.d.ts +0 -0
  152. /package/dist/{lib/UIKit → UIKit}/BaseAlert.d.ts +0 -0
  153. /package/dist/{lib/UIKit → UIKit}/BaseAutocomplete.d.ts +0 -0
  154. /package/dist/{lib/UIKit → UIKit}/BaseBadge.d.ts +0 -0
  155. /package/dist/{lib/UIKit → UIKit}/BaseBreadcrumb.d.ts +0 -0
  156. /package/dist/{lib/UIKit → UIKit}/BaseButton.d.ts +0 -0
  157. /package/dist/{lib/UIKit → UIKit}/BaseCard.d.ts +0 -0
  158. /package/dist/{lib/UIKit → UIKit}/BaseComplexToggle.d.ts +0 -0
  159. /package/dist/{lib/UIKit → UIKit}/BaseDropDown.d.ts +0 -0
  160. /package/dist/{lib/UIKit → UIKit}/BaseFloatingLabel.d.ts +0 -0
  161. /package/dist/{lib/UIKit → UIKit}/BaseIcon.d.ts +0 -0
  162. /package/dist/{lib/UIKit → UIKit}/BaseInput.d.ts +0 -0
  163. /package/dist/{lib/UIKit → UIKit}/BaseModal.d.ts +0 -0
  164. /package/dist/{lib/UIKit → UIKit}/BasePagination.d.ts +0 -0
  165. /package/dist/{lib/UIKit → UIKit}/BasePaper.d.ts +0 -0
  166. /package/dist/{lib/UIKit → UIKit}/BaseSelect/SelectItem.d.ts +0 -0
  167. /package/dist/{lib/UIKit → UIKit}/BaseSlider.d.ts +0 -0
  168. /package/dist/{lib/UIKit → UIKit}/BaseSnackbar.d.ts +0 -0
  169. /package/dist/{lib/UIKit → UIKit}/BaseTextarea.d.ts +0 -0
  170. /package/dist/{lib/UIKit → UIKit}/BaseToggle.d.ts +0 -0
  171. /package/dist/{lib/UIKit → UIKit}/BaseTooltip.d.ts +0 -0
  172. /package/dist/{lib/UIKit → UIKit}/BaseUploadFile.d.ts +0 -0
  173. /package/dist/{lib/UIKit → UIKit}/Checkbox/CheckboxBtn.d.ts +0 -0
  174. /package/dist/{lib/UIKit → UIKit}/Checkbox/CheckboxGroup.d.ts +0 -0
  175. /package/dist/{lib/UIKit → UIKit}/Radio/RadioButton.d.ts +0 -0
  176. /package/dist/{lib/UIKit → UIKit}/Radio/RadioGroup.d.ts +0 -0
  177. /package/dist/{lib/UIKit → UIKit}/ShimmerLoader/BaseShimmerLoader.d.ts +0 -0
  178. /package/dist/{lib/UIKit → UIKit}/ShimmerLoader/ShimmerMultiLine.d.ts +0 -0
  179. /package/dist/{lib/UIKit → UIKit}/Slider/SimpleSlider.d.ts +0 -0
  180. /package/dist/{lib/UIKit → UIKit}/StaticSpinner.d.ts +0 -0
  181. /package/dist/{lib/UIKit → UIKit}/Tab/BaseTab.d.ts +0 -0
  182. /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabList.d.ts +0 -0
  183. /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabPanel.d.ts +0 -0
  184. /package/dist/{lib/UIKit → UIKit}/Tab/BaseTabView.d.ts +0 -0
  185. /package/dist/{lib/UIKit → UIKit}/types.d.ts +0 -0
  186. /package/dist/assets/{free-mode.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/free-mode.css} +0 -0
  187. /package/dist/assets/{navigation.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.css} +0 -0
  188. /package/dist/assets/{pagination.css → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/pagination.css} +0 -0
  189. /package/dist/assets/{BaseAlert.css → packages/components/lib/UIKit/BaseAlert.css} +0 -0
  190. /package/dist/assets/{BaseBadge.css → packages/components/lib/UIKit/BaseBadge.css} +0 -0
  191. /package/dist/assets/{BaseCard.css → packages/components/lib/UIKit/BaseCard.css} +0 -0
  192. /package/dist/assets/{BaseComplexToggle.css → packages/components/lib/UIKit/BaseComplexToggle.css} +0 -0
  193. /package/dist/assets/{BaseFloatingLabel.css → packages/components/lib/UIKit/BaseFloatingLabel.css} +0 -0
  194. /package/dist/assets/{BaseIcon.css → packages/components/lib/UIKit/BaseIcon.css} +0 -0
  195. /package/dist/assets/{BaseInput.css → packages/components/lib/UIKit/BaseInput.css} +0 -0
  196. /package/dist/assets/{BaseModal.css → packages/components/lib/UIKit/BaseModal.css} +0 -0
  197. /package/dist/assets/{BasePaper.css → packages/components/lib/UIKit/BasePaper.css} +0 -0
  198. /package/dist/assets/{BaseSlider.css → packages/components/lib/UIKit/BaseSlider.css} +0 -0
  199. /package/dist/assets/{BaseSnackbar.css → packages/components/lib/UIKit/BaseSnackbar.css} +0 -0
  200. /package/dist/assets/{BaseTextarea.css → packages/components/lib/UIKit/BaseTextarea.css} +0 -0
  201. /package/dist/assets/{BaseToggle.css → packages/components/lib/UIKit/BaseToggle.css} +0 -0
  202. /package/dist/assets/{BaseTooltip.css → packages/components/lib/UIKit/BaseTooltip.css} +0 -0
  203. /package/dist/assets/{CheckboxBtn.css → packages/components/lib/UIKit/Checkbox/CheckboxBtn.css} +0 -0
  204. /package/dist/assets/{BaseShimmerLoader.css → packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css} +0 -0
  205. /package/dist/assets/{SimpleSlider.css → packages/components/lib/UIKit/Slider/SimpleSlider.css} +0 -0
  206. /package/dist/assets/{StaticSpinner.css → packages/components/lib/UIKit/StaticSpinner.css} +0 -0
  207. /package/dist/assets/{index.css → packages/components/src/tailwind.css} +0 -0
  208. /package/dist/{lib/chart → chart}/DoughnutChart.d.ts +0 -0
  209. /package/dist/{lib/chart → chart}/LineChart.d.ts +0 -0
  210. /package/dist/{lib/chart → chart}/composables/useChartjsModules.d.ts +0 -0
  211. /package/dist/{lib/components → components}/IntersectionObserver/IntersectionObservable.d.ts +0 -0
  212. /package/dist/{lib/components → components}/IntersectionObserver/IntersectionObserver.d.ts +0 -0
  213. /package/dist/{lib/components → components}/carousel/SwiperCarousel.d.ts +0 -0
  214. /package/dist/{lib/components → components}/carousel/SwiperSlide.d.ts +0 -0
  215. /package/dist/{lib/composables → composables}/useFloatingLabel.d.ts +0 -0
  216. /package/dist/{lib/composables → composables}/useValidator.d.ts +0 -0
  217. /package/dist/{lib/index.d.ts → index.d.ts} +0 -0
  218. /package/dist/{lib/types.d.ts → types.d.ts} +0 -0
  219. /package/dist/{lib/utils.d.ts → utils.d.ts} +0 -0
@@ -1,24 +1,14 @@
1
- import { defineComponent as T, mergeModels as $, useModel as L, ref as r, computed as k, onBeforeMount as F, watch as f, createBlock as S, openBlock as C, normalizeClass as H, withCtx as s, createElementBlock as z, Fragment as A, renderList as K, unref as N, createElementVNode as U, createVNode as W, renderSlot as V } from "vue";
2
- import j from "../UIKit/BaseInput.js";
3
- import { _ as q } from "./BaseDropDown.vue_vue_type_script_setup_true_lang.Cb0-JXG0.js";
4
- import "./polyline.tNTK3v2u.js";
5
- import { _ as G } from "./SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js";
6
- import { A as J } from "./useKeyboardController.Cs_5GQTJ.js";
7
- function Q(t, p) {
8
- return (...v) => new Promise((d, u) => {
9
- t.id && clearTimeout(t.id), t.id = setTimeout(() => {
10
- try {
11
- const i = p(...v);
12
- d(i);
13
- } catch (i) {
14
- u(i);
15
- }
16
- }, t.delay);
17
- });
18
- }
19
- const R = ["innerHTML"], le = /* @__PURE__ */ T({
1
+ import { defineComponent as L, mergeModels as y, useModel as F, ref as d, computed as k, onBeforeMount as H, watch as f, createBlock as g, openBlock as h, normalizeClass as K, withCtx as s, createElementBlock as T, Fragment as z, renderList as A, unref as N, createElementVNode as U, createVNode as W, renderSlot as $ } from "vue";
2
+ import j from "../../../../UIKit/BaseInput.js";
3
+ import q from "./BaseDropDown.vue.js";
4
+ import "../../../../node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.js";
5
+ import { debounce as G } from "../../../../node_modules/.pnpm/@wikicasa-dev_utilities@1.1.21/node_modules/@wikicasa-dev/utilities/dist/utils/FunctionUtils.js";
6
+ import "../../../../_virtual/polyline.js";
7
+ import J from "./BaseSelect/SelectItem.vue.js";
8
+ import { useKeyboardController as Q } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
9
+ const R = ["innerHTML"], ne = /* @__PURE__ */ L({
20
10
  __name: "BaseAutocomplete",
21
- props: /* @__PURE__ */ $({
11
+ props: /* @__PURE__ */ y({
22
12
  isValid: { default: null },
23
13
  theme: { default: "" },
24
14
  label: { default: "" },
@@ -40,44 +30,44 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
40
30
  },
41
31
  modelModifiers: {}
42
32
  }),
43
- emits: /* @__PURE__ */ $(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
44
- setup(t, { expose: p, emit: v }) {
45
- const d = L(
46
- t,
33
+ emits: /* @__PURE__ */ y(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
34
+ setup(o, { expose: S, emit: V }) {
35
+ const r = F(
36
+ o,
47
37
  "modelValue"
48
- ), u = v, i = r(""), n = r([]), m = r(null), c = r(!1), o = r(!1), y = r(null), B = k(() => n.value.length);
49
- F(() => {
50
- m.value = Q({ delay: 300 }, t.onInputChangeCb);
38
+ ), u = V, i = d(""), n = d([]), p = d(null), b = d(!1), l = d(!1), w = d(null), B = k(() => n.value.length);
39
+ H(() => {
40
+ p.value = G({ delay: 300 }, o.onInputChangeCb);
51
41
  });
52
- const { activeIdx: h, selectedIdx: w } = J({
42
+ const { activeIdx: v, selectedIdx: m } = Q({
53
43
  optionsLength: B,
54
- isDropdownOpen: o,
44
+ isDropdownOpen: l,
55
45
  disableSpaceHandler: !0
56
46
  }), O = k(() => {
57
- switch (t.theme) {
47
+ switch (o.theme) {
58
48
  case "bordered":
59
49
  return "";
60
50
  case "all-bordered":
61
- return "!uikit-rounded " + (o.value && "!uikit-rounded-b-none");
51
+ return "!uikit-rounded " + (l.value && "!uikit-rounded-b-none");
62
52
  case "all-bordered-thick":
63
- return "!uikit-rounded-xl !uikit-h-[52px] " + (o.value && "!uikit-rounded-b-none");
53
+ return "!uikit-rounded-xl !uikit-h-[52px] " + (l.value && "!uikit-rounded-b-none");
64
54
  default:
65
55
  return "";
66
56
  }
67
57
  }), I = k(() => {
68
- switch (t.theme) {
58
+ switch (o.theme) {
69
59
  case "bordered":
70
60
  return "";
71
61
  case "all-bordered":
72
- return "uikit-border uikit-border-w-lavender uikit-border-solid !uikit-rounded !uikit-border-w-lavender !uikit-border " + (o.value ? "!uikit-border-b-0 !uikit-rounded-b-none" : "");
62
+ return "uikit-border uikit-border-w-lavender uikit-border-solid !uikit-rounded !uikit-border-w-lavender !uikit-border " + (l.value ? "!uikit-border-b-0 !uikit-rounded-b-none" : "");
73
63
  case "all-bordered-thick":
74
- return "!uikit-rounded-xl !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (o.value ? "!uikit-rounded-b-none" : "");
64
+ return "!uikit-rounded-xl !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (l.value ? "!uikit-rounded-b-none" : "");
75
65
  default:
76
66
  return "";
77
67
  }
78
68
  }), M = k(() => {
79
69
  const e = "uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mb-0 !uikit-mt-0 uikit-text-w-black !uikit-rounded-b-xl !uikit-rounded-t-none";
80
- switch (t.theme) {
70
+ switch (o.theme) {
81
71
  case "bordered":
82
72
  return "before:uikit-content-[''] before:uikit-absolute before:uikit-w-1/2 before:uikit-border-b before:uikit-border-b-w-lavender before:[border-bottom-style:solid] before:uikit-right-1/4 uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mt-5px uikit-mb-0";
83
73
  case "all-bordered":
@@ -87,42 +77,42 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
87
77
  default:
88
78
  return "";
89
79
  }
90
- }), P = async (e) => {
91
- if (i.value !== e && (u("changedValue", e), i.value = e, !!t.onInputChangeCb)) {
92
- if (!e || c.value) {
93
- n.value = [], c.value = !1, w.value = -1, h.value = -1, d.value && (d.value.label = ""), o.value = !1, await m.value(null);
80
+ }), D = async (e) => {
81
+ if (i.value !== e && (u("changedValue", e), i.value = e, !!o.onInputChangeCb)) {
82
+ if (!e || b.value) {
83
+ n.value = [], b.value = !1, m.value = -1, v.value = -1, r.value && (r.value.label = ""), l.value = !1, await p.value(null);
94
84
  return;
95
85
  }
96
- t.disableCb || (n.value = await m.value(e), o.value = !!n.value.length);
86
+ o.disableCb || (n.value = await p.value(e), l.value = !!n.value.length);
97
87
  }
98
- }, g = (e, l) => {
99
- t.onOptionSelectedCb && t.onOptionSelectedCb(e), t.cleanupOnClose && (n.value = []), c.value = !0, i.value = e.label, d.value = e, o.value = !1, w.value = l;
100
- }, D = () => {
101
- n.value.length && t.keepState !== "closed" && (o.value = !0);
88
+ }, C = (e, t) => {
89
+ o.onOptionSelectedCb && o.onOptionSelectedCb(e), o.cleanupOnClose && (n.value = []), b.value = !0, i.value = e.label, r.value = e, l.value = !1, m.value = t;
90
+ }, E = () => {
91
+ n.value.length && o.keepState !== "closed" && (l.value = !0);
102
92
  };
103
93
  return f(
104
- d,
105
- (e, l) => {
106
- e === l || e?.label === i.value || (i.value = e?.label || "");
94
+ r,
95
+ (e, t) => {
96
+ e === t || e?.label === i.value || (i.value = e?.label || "");
107
97
  },
108
98
  { immediate: !0 }
109
- ), f(w, (e) => {
99
+ ), f(m, (e) => {
110
100
  if (e === -1 || !n.value.length) return;
111
- const l = n.value[e];
112
- c.value && l.label === d.value?.label || g(l, e);
101
+ const t = n.value[e];
102
+ b.value && t.label === r.value?.label || C(t, e);
113
103
  }), f(
114
- () => t.keepState,
104
+ () => o.keepState,
115
105
  (e) => {
116
- e === "closed" ? (o.value = !1, t.cleanupOnClose && (n.value = [])) : e === "open" && n.value.length && (o.value = !0);
106
+ e === "closed" ? (l.value = !1, o.cleanupOnClose && (n.value = [])) : e === "open" && n.value.length && (l.value = !0);
117
107
  }
118
- ), f(o, (e) => {
108
+ ), f(l, (e) => {
119
109
  u("update:dropdownState", e);
120
- }), p({
110
+ }), S({
121
111
  select: () => {
122
- y.value?.select();
112
+ w.value?.select();
123
113
  }
124
- }), (e, l) => (C(), S(q, {
125
- class: H(e.$attrs["root-classes"]),
114
+ }), (e, t) => (h(), g(q, {
115
+ class: K(e.$attrs["root-classes"]),
126
116
  "data-cy": e.dataCy ? e.dataCy : `ac_${e.$attrs.id}`,
127
117
  "dropdown-element": "ul",
128
118
  "dropdown-classes": [
@@ -136,20 +126,20 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
136
126
  "!uikit-max-h-[210px] uikit-z-30",
137
127
  e.dropdownClasses
138
128
  ],
139
- "open-dropdown": o.value,
129
+ "open-dropdown": l.value,
140
130
  "keep-state": !n.value.length || e.keepState === "closed" ? "closed" : "opened",
141
131
  "close-when-clicked-outside": e.closeDropdownOnBodyPressed,
142
132
  "activate-keyboard-controller": !1,
143
- "onUpdate:dropdownState": l[3] || (l[3] = (a) => o.value = a),
144
- onClick: l[4] || (l[4] = (a) => {
145
- u("click"), D();
133
+ "onUpdate:dropdownState": t[3] || (t[3] = (a) => l.value = a),
134
+ onClick: t[4] || (t[4] = (a) => {
135
+ u("click"), E();
146
136
  })
147
137
  }, {
148
138
  btn_slot: s(() => [
149
139
  W(j, {
150
140
  id: e.$attrs.id ? `ac_input_${e.$attrs.id}` : "",
151
141
  ref_key: "baseInput",
152
- ref: y,
142
+ ref: w,
153
143
  "data-cy": e.dataCy ? `ac_input_${e.dataCy}` : `ac_input_${e.$attrs.id}`,
154
144
  "label-text": e.label,
155
145
  "model-value": i.value,
@@ -164,26 +154,26 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
164
154
  "!uikit-ml-0 !uikit-w-full"
165
155
  ],
166
156
  "fieldset-classes": [I.value, e.fieldsetClasses],
167
- "onUpdate:modelValue": l[0] || (l[0] = (a) => P(a === void 0 ? "" : `${a}`)),
168
- onKeydown: l[1] || (l[1] = (a) => u("keydown", a)),
169
- onKeydownEnterPressed: l[2] || (l[2] = () => u("keydownEnterPressed"))
157
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => D(a === void 0 ? "" : `${a}`)),
158
+ onKeydown: t[1] || (t[1] = (a) => u("keydown", a)),
159
+ onKeydownEnterPressed: t[2] || (t[2] = () => u("keydownEnterPressed"))
170
160
  }, {
171
161
  leftIcon: s(() => [
172
- V(e.$slots, "lefticon")
162
+ $(e.$slots, "lefticon")
173
163
  ]),
174
164
  righticon: s(({ handleClean: a }) => [
175
- V(e.$slots, "righticon", { handleClean: a })
165
+ $(e.$slots, "righticon", { handleClean: a })
176
166
  ]),
177
167
  _: 3
178
168
  }, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
179
169
  ]),
180
170
  default: s(() => [
181
- (C(!0), z(A, null, K(n.value, (a, b) => (C(), S(G, {
182
- key: b,
183
- active: N(h) === b,
171
+ (h(!0), T(z, null, A(n.value, (a, c) => (h(), g(J, {
172
+ key: c,
173
+ active: N(v) === c,
184
174
  class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
185
- onClick: (E) => g(a, b),
186
- onMouseover: (E) => h.value = b
175
+ onClick: (P) => C(a, c),
176
+ onMouseover: (P) => v.value = c
187
177
  }, {
188
178
  default: s(() => [
189
179
  U("span", {
@@ -198,5 +188,5 @@ const R = ["innerHTML"], le = /* @__PURE__ */ T({
198
188
  }
199
189
  });
200
190
  export {
201
- le as _
191
+ ne as default
202
192
  };
@@ -0,0 +1,19 @@
1
+ import { defineComponent as s, createElementBlock as a, openBlock as t, normalizeClass as r, renderSlot as i } from "vue";
2
+ const o = ["id"], p = /* @__PURE__ */ s({
3
+ inheritAttrs: !1,
4
+ __name: "BaseBadge",
5
+ props: {
6
+ badgeClass: { default: "uikit-badge-w-primary-sm" }
7
+ },
8
+ setup(d) {
9
+ return (e, l) => (t(), a("span", {
10
+ id: e.$attrs.id,
11
+ class: r(["uikit-badge uikit-shadow-sm", e.badgeClass, e.$attrs.class])
12
+ }, [
13
+ i(e.$slots, "default")
14
+ ], 10, o));
15
+ }
16
+ });
17
+ export {
18
+ p as default
19
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as d, computed as k, createElementBlock as s, openBlock as i, createElementVNode as n, normalizeClass as a, Fragment as u, renderList as p, renderSlot as c, toDisplayString as h, createVNode as b, unref as f } from "vue";
2
- import { a as C } from "./ArrowIcon.Bq6Xr3uH.js";
3
- import "./PharmacyIcon.DEQ8mOEJ.js";
4
- const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], B = ["href"], $ = /* @__PURE__ */ d({
2
+ 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";
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";
4
+ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], v = /* @__PURE__ */ d({
5
5
  __name: "BaseBreadcrumb",
6
6
  props: {
7
7
  items: {},
@@ -32,7 +32,7 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], B = ["href"], $
32
32
  n("a", {
33
33
  class: a(["uikit-text-w-black uikit-no-underline", { "uikit-text-w-primary": t.active }]),
34
34
  href: t.link
35
- }, h(t.label), 11, B)
35
+ }, h(t.label), 11, I)
36
36
  ])
37
37
  ], 10, w)) : (i(), s("li", {
38
38
  key: `breadcrumb-li-no-label-${o}`,
@@ -54,5 +54,5 @@ const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], B = ["href"], $
54
54
  }
55
55
  });
56
56
  export {
57
- $ as _
57
+ v as default
58
58
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as y, ref as b, computed as s, createElementBlock as f, openBlock as v, withModifiers as l, normalizeStyle as B, normalizeClass as C, renderSlot as u, createVNode as c } from "vue";
2
- import M from "../UIKit/StaticSpinner.js";
1
+ import { defineComponent as y, ref as b, computed as l, createElementBlock as f, openBlock as v, withModifiers as s, normalizeStyle as B, normalizeClass as C, renderSlot as u, createVNode as c } from "vue";
2
+ import M from "../../../../UIKit/StaticSpinner.js";
3
3
  const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], S = /* @__PURE__ */ y({
4
4
  __name: "BaseButton",
5
5
  props: {
@@ -17,7 +17,7 @@ const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
17
17
  },
18
18
  emits: ["mouseover", "mouseout", "click"],
19
19
  setup(o, { emit: r }) {
20
- const a = r, n = b(!1), d = s(() => o.size ? `uikit-btn-${o.size}` : ""), m = s(() => o.outlined ? "uikit-btn-outline" : ""), p = () => {
20
+ const a = r, n = b(!1), d = l(() => o.size ? `uikit-btn-${o.size}` : ""), m = l(() => o.outlined ? "uikit-btn-outline" : ""), p = () => {
21
21
  n.value = !0;
22
22
  }, k = () => {
23
23
  n.value = !1;
@@ -42,10 +42,10 @@ const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
42
42
  disabled: e.isLoading || e.disabled,
43
43
  "aria-label": e.ariaLabel,
44
44
  title: e.title,
45
- onMouseover: t[0] || (t[0] = l((i) => {
45
+ onMouseover: t[0] || (t[0] = s((i) => {
46
46
  p(), a("mouseover", i);
47
47
  }, ["stop"])),
48
- onMouseout: t[1] || (t[1] = l((i) => {
48
+ onMouseout: t[1] || (t[1] = s((i) => {
49
49
  k(), a("mouseout", i);
50
50
  }, ["stop"])),
51
51
  onClick: t[2] || (t[2] = (i) => a("click", i))
@@ -62,5 +62,5 @@ const z = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "ti
62
62
  }
63
63
  });
64
64
  export {
65
- S as _
65
+ S as default
66
66
  };
@@ -0,0 +1,37 @@
1
+ import { defineComponent as m, computed as o, createBlock as u, openBlock as C, resolveDynamicComponent as p, normalizeClass as a, withCtx as y, createElementVNode as d, renderSlot as l } from "vue";
2
+ const g = /* @__PURE__ */ m({
3
+ __name: "BaseCard",
4
+ props: {
5
+ type: { default: "" },
6
+ rootComponent: { default: "div" },
7
+ cardImgClasses: { default: "" },
8
+ cardBodyClasses: { default: "" }
9
+ },
10
+ emits: ["click"],
11
+ setup(s, { emit: r }) {
12
+ const c = r, n = o(
13
+ () => s.type === "news" ? "news-card" : s.type
14
+ ), i = o(() => s.type ? `${s.type}-img` : "");
15
+ return (e, t) => (C(), u(p(e.rootComponent), {
16
+ class: a(["card", [n.value]]),
17
+ onClick: t[0] || (t[0] = (f) => c("click"))
18
+ }, {
19
+ default: y(() => [
20
+ d("div", {
21
+ class: a(["card-img", [i.value, e.cardImgClasses]])
22
+ }, [
23
+ l(e.$slots, "card-image", {}, void 0, !0)
24
+ ], 2),
25
+ d("div", {
26
+ class: a(["card-body", [e.cardBodyClasses]])
27
+ }, [
28
+ l(e.$slots, "card-description", {}, void 0, !0)
29
+ ], 2)
30
+ ]),
31
+ _: 3
32
+ }, 8, ["class"]));
33
+ }
34
+ });
35
+ export {
36
+ g as default
37
+ };
@@ -0,0 +1,106 @@
1
+ import { defineComponent as v, mergeModels as T, useModel as C, computed as c, createElementBlock as n, openBlock as r, normalizeClass as o, createElementVNode as t, withModifiers as f, renderSlot as m, createCommentVNode as k } from "vue";
2
+ const y = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "alt"], M = ["innerHTML"], z = ["data-btn-bg-color", "data-cy"], B = ["src", "alt"], V = ["innerHTML"], j = /* @__PURE__ */ v({
3
+ __name: "BaseComplexToggle",
4
+ props: /* @__PURE__ */ T({
5
+ labels: {},
6
+ type: { default: "full" },
7
+ mode: { default: "" },
8
+ btnBgColor: { default: "uikit-bg-w-lavender" },
9
+ btnClasses: {},
10
+ borderContainerColor: { default: "uikit-border-w-secondary" },
11
+ size: { default: "" }
12
+ }, {
13
+ modelValue: {
14
+ default: null
15
+ },
16
+ modelModifiers: {}
17
+ }),
18
+ emits: ["update:modelValue"],
19
+ setup(g) {
20
+ const l = g, a = C(g, "modelValue"), s = () => {
21
+ a.value = l.labels.leftToggle;
22
+ }, u = () => {
23
+ a.value = l.labels.rightToggle;
24
+ };
25
+ (() => {
26
+ if (l.labels.leftToggle.checked) {
27
+ s();
28
+ return;
29
+ }
30
+ if (l.labels.rightToggle.checked) {
31
+ u();
32
+ return;
33
+ }
34
+ s();
35
+ })();
36
+ const b = (e) => a.value?.label === e.label, d = c(() => b(l.labels.leftToggle)), p = c(() => b(l.labels.rightToggle));
37
+ return (e, i) => (r(), n("div", {
38
+ id: e.$attrs.id || "",
39
+ "data-cy": e.$attrs["data-cy"] || "",
40
+ class: o(["base-complex-toggle uikit-relative uikit-flex uikit-justify-center uikit-p-0", [e.mode, e.borderContainerColor, e.size]])
41
+ }, [
42
+ t("div", {
43
+ "data-btn-bg-color": e.btnBgColor,
44
+ "data-cy": `bct-left-btn${e.labels.leftToggle.label ? `-${e.labels.leftToggle.label}` : ""}`,
45
+ class: o(["left-button uikit-flex uikit-flex-1 uikit-items-center uikit-justify-center hover:uikit-cursor-pointer", [
46
+ {
47
+ "base-complex-toggle-active": d.value
48
+ }
49
+ ]]),
50
+ onClick: i[0] || (i[0] = f((h) => s(), ["stop"]))
51
+ }, [
52
+ m(e.$slots, "left_icon", {}, () => [
53
+ e.labels.leftToggle.icon ? (r(), n("img", {
54
+ key: 0,
55
+ class: "base-complex-toggle-icon uikit-relative uikit-z-10 uikit-mr-10px",
56
+ src: e.labels.leftToggle.icon.src,
57
+ alt: e.labels.leftToggle.icon.alt,
58
+ width: "15",
59
+ height: "15"
60
+ }, null, 8, L)) : k("", !0)
61
+ ], !0),
62
+ t("span", {
63
+ class: "base-complex-toggle-label uikit-relative uikit-z-10",
64
+ innerHTML: e.labels.leftToggle.label
65
+ }, null, 8, M)
66
+ ], 10, $),
67
+ t("div", {
68
+ "data-btn-bg-color": e.btnBgColor,
69
+ "data-cy": `bct-right-btn${e.labels.rightToggle.label ? `-${e.labels.rightToggle.label}` : ""}`,
70
+ class: o(["right-button uikit-flex uikit-flex-1 uikit-items-center uikit-justify-center hover:uikit-cursor-pointer", [
71
+ {
72
+ "base-complex-toggle-active": p.value
73
+ }
74
+ ]]),
75
+ onClick: i[1] || (i[1] = f((h) => u(), ["stop"]))
76
+ }, [
77
+ m(e.$slots, "right_icon", {}, () => [
78
+ e.labels.rightToggle.icon ? (r(), n("img", {
79
+ key: 0,
80
+ class: "base-complex-toggle-icon uikit-relative uikit-z-10 uikit-mr-10px",
81
+ src: e.labels.rightToggle.icon.src,
82
+ alt: e.labels.rightToggle.icon.alt,
83
+ width: "15",
84
+ height: "15"
85
+ }, null, 8, B)) : k("", !0)
86
+ ], !0),
87
+ t("span", {
88
+ class: "base-complex-toggle-label uikit-relative uikit-z-10",
89
+ innerHTML: e.labels.rightToggle.label
90
+ }, null, 8, V)
91
+ ], 10, z),
92
+ t("div", {
93
+ class: o(["uikit-absolute uikit-transition-all uikit-duration-200 uikit-ease-out", [
94
+ e.type === "full" ? "base-complex-toggle-active-bg" : "base-complex-toggle-active-padded-bg",
95
+ e.btnBgColor,
96
+ e.mode,
97
+ d.value ? "translateX-left" : "translateX-right",
98
+ e.btnClasses
99
+ ]])
100
+ }, null, 2)
101
+ ], 10, y));
102
+ }
103
+ });
104
+ export {
105
+ j as default
106
+ };
@@ -1,9 +1,9 @@
1
- import { defineComponent as M, mergeModels as b, useId as A, useModel as E, ref as h, computed as O, useTemplateRef as W, watch as n, onBeforeMount as $, onMounted as H, onUnmounted as N, createElementBlock as T, openBlock as u, withModifiers as g, normalizeClass as i, renderSlot as C, createBlock as y, createVNode as V, unref as l, withCtx as D, createElementVNode as K, createCommentVNode as q, resolveDynamicComponent as z } from "vue";
2
- import { _ as R } from "./BaseButton.vue_vue_type_script_setup_true_lang.BPSr-Zxr.js";
3
- import { a as U } from "./ArrowIcon.Bq6Xr3uH.js";
4
- import "./PharmacyIcon.DEQ8mOEJ.js";
5
- import { A as j } from "./useKeyboardController.Cs_5GQTJ.js";
6
- const F = ["innerHTML"], Z = /* @__PURE__ */ M({
1
+ import { defineComponent as L, mergeModels as b, useId as M, useModel as E, ref as h, computed as O, useTemplateRef as W, watch as n, onBeforeMount as $, onMounted as H, onUnmounted as K, createElementBlock as N, openBlock as u, withModifiers as C, normalizeClass as i, renderSlot as g, createBlock as y, createVNode as T, unref as l, withCtx as D, createElementVNode as V, createCommentVNode as q, resolveDynamicComponent as z } from "vue";
2
+ import R from "./BaseButton.vue.js";
3
+ import { ArrowIcon as U } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
4
+ import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
5
+ import { useKeyboardController as j } from "../../../../node_modules/.pnpm/@wikicasa-dev_vue-composables@0.0.23_typescript@5.8.3/node_modules/@wikicasa-dev/vue-composables/dist/useKeyboardController.js";
6
+ const F = ["innerHTML"], Z = /* @__PURE__ */ L({
7
7
  inheritAttrs: !1,
8
8
  __name: "BaseDropDown",
9
9
  props: /* @__PURE__ */ b({
@@ -30,8 +30,8 @@ const F = ["innerHTML"], Z = /* @__PURE__ */ M({
30
30
  }),
31
31
  emits: /* @__PURE__ */ b(["click", "update:dropdownState"], ["update:toggleDropdown"]),
32
32
  setup(p, { emit: B }) {
33
- const o = p, c = A(), k = B, f = E(p, "toggleDropdown"), t = h(!1), d = h([]), S = O(() => d.value.length), w = W("dropdown"), { activeIdx: m, selectedIdx: r } = j({
34
- optionsLength: S,
33
+ const o = p, c = M(), f = B, k = E(p, "toggleDropdown"), t = h(!1), d = h([]), I = O(() => d.value.length), w = W("dropdown"), { activeIdx: m, selectedIdx: r } = j({
34
+ optionsLength: I,
35
35
  isDropdownOpen: t,
36
36
  activate: o.activateKeyboardController
37
37
  });
@@ -44,9 +44,9 @@ const F = ["innerHTML"], Z = /* @__PURE__ */ M({
44
44
  immediate: !0
45
45
  }
46
46
  ), n(t, (e) => {
47
- k("update:dropdownState", e);
48
- }), n(f, (e) => {
49
- e && (t.value = !t.value, f.value = !1);
47
+ f("update:dropdownState", e);
48
+ }), n(k, (e) => {
49
+ e && (t.value = !t.value, k.value = !1);
50
50
  }), n(r, (e) => {
51
51
  e !== -1 && d.value[e].querySelector("a")?.click();
52
52
  });
@@ -54,28 +54,28 @@ const F = ["innerHTML"], Z = /* @__PURE__ */ M({
54
54
  t.value = !1;
55
55
  }, s = () => {
56
56
  o.keepState === "closed" && !t.value || o.keepState === "opened" && t.value || (t.value = !t.value);
57
- }, I = (e) => {
57
+ }, S = (e) => {
58
58
  e != null && (m.value = e);
59
- }, L = (e) => {
59
+ }, A = (e) => {
60
60
  e != null && (r.value = e);
61
61
  };
62
62
  return $(() => {
63
63
  o.closeWhenClickedOutside && document.body.addEventListener("click", v);
64
64
  }), H(() => {
65
65
  w.value && (d.value = w.value.children || []);
66
- }), N(() => {
66
+ }), K(() => {
67
67
  o.closeWhenClickedOutside && document.body.removeEventListener("click", v);
68
- }), (e, a) => (u(), T("div", {
68
+ }), (e, a) => (u(), N("div", {
69
69
  class: i(["uikit-relative uikit-block", e.$attrs.class]),
70
- onClick: a[1] || (a[1] = g((G) => {
71
- k("click"), s();
70
+ onClick: a[1] || (a[1] = C((G) => {
71
+ f("click"), s();
72
72
  }, ["stop"]))
73
73
  }, [
74
- C(e.$slots, "btn_slot", {
74
+ g(e.$slots, "btn_slot", {
75
75
  toggleDropdown: s,
76
76
  isOpen: t.value
77
77
  }, () => [
78
- V(R, {
78
+ T(R, {
79
79
  id: l(c),
80
80
  type: "button",
81
81
  "data-cy": e.dataCy,
@@ -87,7 +87,7 @@ const F = ["innerHTML"], Z = /* @__PURE__ */ M({
87
87
  "btn-class": "uikit-btn-single-selection"
88
88
  }, {
89
89
  default: D(() => [
90
- K("span", {
90
+ V("span", {
91
91
  class: i(["uikit-mr-5px", e.labelClasses]),
92
92
  innerHTML: e.btnLabel
93
93
  }, null, 10, F),
@@ -114,17 +114,17 @@ const F = ["innerHTML"], Z = /* @__PURE__ */ M({
114
114
  { "uikit-absolute": e.isAbsolute }
115
115
  ]]),
116
116
  "aria-hidden": !t.value,
117
- onClick: a[0] || (a[0] = g(() => {
117
+ onClick: a[0] || (a[0] = C(() => {
118
118
  }, ["stop"]))
119
119
  }, {
120
120
  default: D(() => [
121
- C(e.$slots, "default", {
121
+ g(e.$slots, "default", {
122
122
  isOpen: t.value,
123
123
  toggleDropdown: s,
124
124
  activeIdx: l(m),
125
125
  selectedIdx: l(r),
126
- setActiveIdx: I,
127
- setSelectedIdx: L
126
+ setActiveIdx: S,
127
+ setSelectedIdx: A
128
128
  })
129
129
  ]),
130
130
  _: 3
@@ -133,5 +133,5 @@ const F = ["innerHTML"], Z = /* @__PURE__ */ M({
133
133
  }
134
134
  });
135
135
  export {
136
- Z as _
136
+ Z as default
137
137
  };
@@ -0,0 +1,40 @@
1
+ import { defineComponent as o, createElementBlock as l, openBlock as s, withModifiers as r, normalizeClass as t, createElementVNode as u, createCommentVNode as d } from "vue";
2
+ const k = ["for"], b = ["innerHTML"], c = /* @__PURE__ */ o({
3
+ __name: "BaseFloatingLabel",
4
+ props: {
5
+ labelState: { default: "inline-label" },
6
+ isValid: { default: null },
7
+ labelText: {},
8
+ disabled: { type: [String, Boolean], default: !1 },
9
+ labelClasses: {},
10
+ labelTextClasses: {}
11
+ },
12
+ emits: ["click"],
13
+ setup(m, { emit: a }) {
14
+ const n = a;
15
+ return (e, i) => (s(), l("label", {
16
+ for: e.$attrs.for,
17
+ class: t(["uikit-pointer-events-none uikit-absolute uikit-left-15px uikit-h-5 uikit-text-sm", [e.labelState, { "uikit-text-w-secondary": e.disabled }, e.labelClasses]]),
18
+ onClick: i[0] || (i[0] = r((p) => n("click"), ["stop"]))
19
+ }, [
20
+ u("span", {
21
+ class: t(["uikit-text uikit-font-medium", [
22
+ e.disabled ? "uikit-text-w-secondary" : "uikit-text-w-black",
23
+ e.labelTextClasses
24
+ ]]),
25
+ innerHTML: e.labelText
26
+ }, null, 10, b),
27
+ e.$attrs.required ? (s(), l("sup", {
28
+ key: 0,
29
+ class: t(["uikit-absolute -uikit-top-[0.3rem] uikit-text", [
30
+ { "uikit-text-w-secondary": e.disabled },
31
+ { "uikit-text-w-danger": e.isValid === !1 },
32
+ { "uikit-text-w-primary": (e.isValid || e.isValid === null) && !e.disabled }
33
+ ]])
34
+ }, " *", 2)) : d("", !0)
35
+ ], 10, k));
36
+ }
37
+ });
38
+ export {
39
+ c as default
40
+ };
@@ -0,0 +1,27 @@
1
+ import { defineComponent as e, createElementBlock as i, openBlock as a, normalizeStyle as l, normalizeClass as o } from "vue";
2
+ const s = ["id", "alt", "src", "width", "height", "loading"], h = /* @__PURE__ */ e({
3
+ __name: "BaseIcon",
4
+ props: {
5
+ lazyLoading: { type: Boolean },
6
+ altAttribute: {},
7
+ iconType: { default: "icon-md" },
8
+ iconClass: { default: "uikit-mr-5px" },
9
+ width: {},
10
+ height: {}
11
+ },
12
+ setup(n) {
13
+ return (t, r) => (a(), i("img", {
14
+ id: t.$attrs.id,
15
+ class: o(["uikit-inline-block", t.iconType, t.iconClass]),
16
+ alt: t.altAttribute || t.$attrs.alt,
17
+ style: l(t.$attrs.style),
18
+ src: t.$attrs.src ? t.$attrs.src : "",
19
+ width: t.width,
20
+ height: t.height,
21
+ loading: t.lazyLoading ? "lazy" : "eager"
22
+ }, null, 14, s));
23
+ }
24
+ });
25
+ export {
26
+ h as default
27
+ };