@wikicasa-dev/components 2.1.2-alpha.2 → 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.BGHgUDoY.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.0x6YWuUP.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/controller.js} +2 -2
  73. package/dist/{chunks/free-mode.DuU7N2XQ.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.DRVbxSum.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/keyboard.js} +14 -13
  76. package/dist/{chunks/navigation.DN21unMg.js → node_modules/.pnpm/swiper@11.2.6/node_modules/swiper/modules/navigation.js} +4 -4
  77. package/dist/{chunks/pagination.DiUF6O5_.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.0ifInQuA.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.42NcLnr9.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.BG9WKjrJ.js +0 -757
  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
@@ -37,5 +37,5 @@ const b = ["tabindex"], x = ["innerHTML"], $ = /* @__PURE__ */ r({
37
37
  }
38
38
  });
39
39
  export {
40
- $ as _
40
+ $ as default
41
41
  };
@@ -0,0 +1,207 @@
1
+ import { defineComponent as _, mergeModels as j, useModel as D, ref as p, useTemplateRef as T, useAttrs as q, onMounted as G, createElementBlock as H, openBlock as J, createElementVNode as x, withModifiers as k, unref as h, createVNode as C } from "vue";
2
+ import E from "../../../../UIKit/BaseInput.js";
3
+ const K = { class: "range_container" }, O = { class: "sliders_control" }, Q = ["value", "min", "max", "step"], W = ["value", "min", "max", "step"], X = { class: "form_control row" }, Y = { class: "pb-15 pb-sm-0 col-sm-6 col-xl-4" }, Z = { class: "col-sm-6 col-xl-4" }, te = /* @__PURE__ */ _({
4
+ __name: "BaseSlider",
5
+ props: /* @__PURE__ */ j({
6
+ type: { default: "linear" },
7
+ min: { default: 0 },
8
+ max: { default: 100 }
9
+ }, {
10
+ minValue: { default: 0 },
11
+ minValueModifiers: {},
12
+ maxValue: { default: 0 },
13
+ maxValueModifiers: {}
14
+ }),
15
+ emits: ["update:minValue", "update:maxValue"],
16
+ setup(m) {
17
+ function M(e, l) {
18
+ const a = parseInt(e.value, 10), t = parseInt(l.value, 10);
19
+ return [a, t];
20
+ }
21
+ const L = (e) => e.minPos + (Math.log(e.value) - e.minlval) / e.scale, z = (e) => Math.exp(
22
+ (e.position - e.minPos) * e.scale + e.minlval
23
+ );
24
+ function V(e, l, a, t, v) {
25
+ const s = l.max - l.min, f = e - l.min, $ = l.value - l.min;
26
+ v.style.background = `linear-gradient(
27
+ to right,
28
+ ${a} 0%,
29
+ ${a} ${f / s * 100}%,
30
+ ${t} ${f / s * 100}%,
31
+ ${t} ${$ / s * 100}%,
32
+ ${a} ${$ / s * 100}%,
33
+ ${a} 100%)`;
34
+ }
35
+ function y(e, l) {
36
+ e <= 0 ? l.style.zIndex = "2" : l.style.zIndex = "0";
37
+ }
38
+ const r = D(m, "minValue"), o = D(m, "maxValue"), n = p(0), u = p(100), c = p(10), d = p(40), F = p(0), P = p(0), B = p(0), g = T("fromSlider"), i = T("toSlider"), S = (e, l) => {
39
+ if (!g.value || !i.value) return;
40
+ l || (l = "0");
41
+ const a = parseInt(l, 10);
42
+ if (e == "min-input") {
43
+ if (a >= o.value) return;
44
+ r.value = a, A(i.value, a, o.value);
45
+ return;
46
+ }
47
+ a < r.value || (o.value = a, N(i.value, i.value, r.value, a));
48
+ }, I = (e) => {
49
+ if (m.type === "logarithmic")
50
+ return e = e || 1, parseInt(
51
+ L({
52
+ value: e,
53
+ minPos: n.value,
54
+ minlval: F.value,
55
+ scale: B.value
56
+ }).toFixed(0),
57
+ 10
58
+ );
59
+ if (m.type === "linear")
60
+ return e;
61
+ throw new Error("The slider type has not been implemented");
62
+ }, b = (e) => {
63
+ if (m.type === "logarithmic")
64
+ return e = e || 1, parseInt(
65
+ z({
66
+ position: e,
67
+ scale: B.value,
68
+ minlval: F.value,
69
+ minPos: n.value
70
+ }).toFixed(0),
71
+ 10
72
+ );
73
+ if (m.type === "linear")
74
+ return e;
75
+ throw new Error("The slider type has not been implemented");
76
+ }, A = (e, l, a) => {
77
+ const t = I(l), v = I(a);
78
+ V(
79
+ t,
80
+ {
81
+ min: n.value,
82
+ max: u.value,
83
+ value: v
84
+ },
85
+ "#B4C2F0",
86
+ "#2B5DFF",
87
+ e
88
+ );
89
+ const s = t, f = o.value;
90
+ s > f ? c.value = f : c.value = s;
91
+ }, N = (e, l, a, t) => {
92
+ const v = I(a), s = I(t);
93
+ V(
94
+ v,
95
+ {
96
+ min: n.value,
97
+ max: u.value,
98
+ value: s
99
+ },
100
+ "#B4C2F0",
101
+ "#2B5DFF",
102
+ l
103
+ );
104
+ const f = r.value, $ = s;
105
+ y(o.value, e), f <= $ ? d.value = $ : d.value = f;
106
+ }, U = (e, l) => {
107
+ if (!l.value) return;
108
+ const [a, t] = M(e, l), v = b(a);
109
+ V(
110
+ a,
111
+ {
112
+ min: n.value,
113
+ max: u.value,
114
+ value: t
115
+ },
116
+ "#B4C2F0",
117
+ "#2B5DFF",
118
+ l
119
+ ), a > t ? (e.value = `${t}`, c.value = t, r.value = t) : (c.value = a, r.value = v);
120
+ }, R = (e, l) => {
121
+ if (!l.value) return;
122
+ const [a, t] = M(e, l), v = b(t);
123
+ V(
124
+ c.value,
125
+ {
126
+ min: n.value,
127
+ max: u.value,
128
+ value: t
129
+ },
130
+ "#B4C2F0",
131
+ "#2B5DFF",
132
+ l
133
+ ), y(parseInt(l.value, 10), l), a <= t ? (d.value = t, o.value = v) : (l.value = `${a}`, d.value = a, o.value = a);
134
+ }, w = q();
135
+ return (() => {
136
+ n.value = parseInt(`${m.min || 0}`, 10), u.value = parseInt(`${m.max || 100}`, 10), c.value = n.value, d.value = u.value, r.value = parseInt(`${w.minValue || n.value}`, 10), o.value = parseInt(`${w.maxValue || u.value}`, 10), F.value = Math.log(r.value || 1), P.value = Math.log(o.value), B.value = (P.value - F.value) / (u.value - n.value);
137
+ })(), G(() => {
138
+ !g.value || !i.value || (V(
139
+ c.value,
140
+ {
141
+ min: n.value,
142
+ max: u.value,
143
+ value: d.value
144
+ },
145
+ "#B4C2F0",
146
+ "#2B5DFF",
147
+ i.value
148
+ ), y(d.value, i.value));
149
+ }), (e, l) => (J(), H("div", K, [
150
+ x("div", O, [
151
+ x("input", {
152
+ ref_key: "fromSlider",
153
+ ref: g,
154
+ class: "fromSlider",
155
+ type: "range",
156
+ value: c.value,
157
+ min: n.value,
158
+ max: u.value,
159
+ step: e.$attrs.step,
160
+ onInput: l[0] || (l[0] = k((a) => U(
161
+ h(g),
162
+ h(i)
163
+ ), ["stop"]))
164
+ }, null, 40, Q),
165
+ x("input", {
166
+ ref_key: "toSlider",
167
+ ref: i,
168
+ class: "toSlider",
169
+ type: "range",
170
+ value: d.value,
171
+ min: n.value,
172
+ max: u.value,
173
+ step: e.$attrs.step,
174
+ onInput: l[1] || (l[1] = k((a) => R(
175
+ h(g),
176
+ h(i)
177
+ ), ["stop"]))
178
+ }, null, 40, W)
179
+ ]),
180
+ x("div", X, [
181
+ x("div", Y, [
182
+ C(E, {
183
+ "label-text": "Min",
184
+ type: "text",
185
+ pattern: "[0-9]*",
186
+ inputmode: "numeric",
187
+ "model-value": r.value,
188
+ "onUpdate:modelValue": l[2] || (l[2] = (a) => S("min-input", `${a || ""}`))
189
+ }, null, 8, ["model-value"])
190
+ ]),
191
+ x("div", Z, [
192
+ C(E, {
193
+ "label-text": "Max",
194
+ type: "text",
195
+ pattern: "[0-9]*",
196
+ inputmode: "numeric",
197
+ "model-value": o.value,
198
+ "onUpdate:modelValue": l[3] || (l[3] = (a) => S("max-input", `${a || ""}`))
199
+ }, null, 8, ["model-value"])
200
+ ])
201
+ ])
202
+ ]));
203
+ }
204
+ });
205
+ export {
206
+ te as default
207
+ };
@@ -0,0 +1,81 @@
1
+ import { defineComponent as b, ref as u, onBeforeMount as f, createBlock as h, openBlock as i, Teleport as y, createElementVNode as e, withModifiers as l, normalizeClass as x, createElementBlock as a, createCommentVNode as s, createVNode as v, unref as _ } from "vue";
2
+ import { CloseIcon as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.11_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/CloseIcon.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 = { class: "snackbar-container uikit-fixed uikit-bottom-10px uikit-left-10px uikit-z-[2000] max-sm:uikit-left-0 max-sm:uikit-w-full" }, T = ["data-cy"], w = ["src", "alt"], L = {
5
+ key: 1,
6
+ class: "snackbar-type-icon uikit-bg-contain uikit-bg-no-repeat"
7
+ }, M = { class: "snackbar-text uikit-px-4 uikit-py-0 uikit-text uikit-font-regular max-sm:uikit-max-w-[80%] max-sm:uikit-pr-0 sm:uikit-text-16" }, B = ["innerHTML"], H = ["innerHTML"], z = /* @__PURE__ */ b({
8
+ inheritAttrs: !1,
9
+ __name: "BaseSnackbar",
10
+ props: {
11
+ type: { default: "" },
12
+ title: {},
13
+ body: {},
14
+ icon: {},
15
+ timeout: { default: 55e4 },
16
+ cb: { default: null }
17
+ },
18
+ emits: ["snackbar-hidden"],
19
+ setup(k, { emit: m }) {
20
+ const n = k, d = m, o = u(null), r = u(null), p = () => {
21
+ o.value && o.value();
22
+ }, c = () => {
23
+ const t = r.value;
24
+ t && (t.classList.remove("snackbar-active"), t.classList.add("snackbar-hidden"), setTimeout(() => {
25
+ d("snackbar-hidden");
26
+ }, 300));
27
+ };
28
+ return f(() => {
29
+ n.cb && (o.value = n.cb), setTimeout(() => {
30
+ c();
31
+ }, n.timeout);
32
+ }), (t, S) => (i(), h(y, { to: "body" }, [
33
+ e("div", g, [
34
+ e("div", {
35
+ ref_key: "snackbar",
36
+ ref: r,
37
+ "data-cy": t.$attrs["data-cy"],
38
+ class: x(["snackbar snackbar-active uikit-flex uikit-items-center uikit-rounded-[5px] uikit-px-4 uikit-py-10px uikit-font-medium uikit-shadow hover:uikit-cursor-pointer max-sm:uikit-relative max-sm:uikit-mx-10px max-sm:uikit-my-0", t.type]),
39
+ onClick: l(p, ["stop"])
40
+ }, [
41
+ t.icon ? (i(), a("img", {
42
+ key: 0,
43
+ src: t.icon.src,
44
+ alt: `${t.icon.alt}`,
45
+ width: "20",
46
+ height: "20"
47
+ }, null, 8, w)) : s("", !0),
48
+ t.type && !t.icon ? (i(), a("span", L)) : s("", !0),
49
+ e("div", M, [
50
+ t.title ? (i(), a("p", {
51
+ key: 0,
52
+ class: "uikit-m-0",
53
+ innerHTML: t.title
54
+ }, null, 8, B)) : s("", !0),
55
+ t.body ? (i(), a("p", {
56
+ key: 1,
57
+ class: "uikit-m-0",
58
+ innerHTML: t.body
59
+ }, null, 8, H)) : s("", !0)
60
+ ]),
61
+ e("button", {
62
+ type: "button",
63
+ "data-cy": "base-snackbar-close-btn",
64
+ class: "uikit-bg-transparent max-sm:uikit-absolute max-sm:uikit-right-5",
65
+ onClick: l(c, ["stop"])
66
+ }, [
67
+ v(_(C), {
68
+ class: "snackbar-close-icon",
69
+ width: 20,
70
+ height: 20,
71
+ "stroke-color": "#000"
72
+ })
73
+ ])
74
+ ], 10, T)
75
+ ])
76
+ ]));
77
+ }
78
+ });
79
+ export {
80
+ z as default
81
+ };
@@ -0,0 +1,127 @@
1
+ import { defineComponent as h, mergeModels as f, useModel as $, ref as x, watch as L, createElementBlock as k, openBlock as b, normalizeClass as s, createElementVNode as o, createCommentVNode as p, unref as a, createVNode as M, withModifiers as d, nextTick as C } from "vue";
2
+ import F from "../../../../UIKit/BaseFloatingLabel.js";
3
+ import { useFloatingLabel as z } from "../../../../composables/useFloatingLabel.js";
4
+ const B = ["id", "data-cy", "rows", "disabled", "aria-labelledby", "readonly", "value"], E = {
5
+ key: 0,
6
+ class: "uikit-visible uikit-float-none uikit-ml-2 uikit-block uikit-h-3 uikit-w-auto uikit-max-w-full uikit-overflow-hidden uikit-whitespace-nowrap uikit-p-0 uikit-text uikit-duration-[50s] uikit-ease-out"
7
+ }, H = ["innerHTML"], q = ["innerHTML"], S = /* @__PURE__ */ h({
8
+ inheritAttrs: !1,
9
+ __name: "BaseTextarea",
10
+ props: /* @__PURE__ */ f({
11
+ labelText: { default: "" },
12
+ feedback: {},
13
+ isValid: { default: null },
14
+ resize: { type: Boolean, default: !1 },
15
+ labelClasses: {}
16
+ }, {
17
+ modelValue: { default: "" },
18
+ modelModifiers: {}
19
+ }),
20
+ emits: /* @__PURE__ */ f(["focusin", "focusout", "click", "keydown"], ["update:modelValue"]),
21
+ setup(v, { expose: m, emit: w }) {
22
+ const r = $(v, "modelValue"), n = w, {
23
+ labelState: l,
24
+ handleFocusIn: c,
25
+ handleFocusOut: g,
26
+ setFloatingLabel: y,
27
+ setInlineLabel: V
28
+ } = z(n), i = x(null);
29
+ L(
30
+ r,
31
+ (e) => {
32
+ `${e}`.length && l.value !== "floating-label" ? y() : !e?.length && l.value !== "inline-label" && document.activeElement !== i.value && V();
33
+ },
34
+ { immediate: !0 }
35
+ );
36
+ const T = ({ target: e }) => {
37
+ r.value = e.value;
38
+ };
39
+ return m({
40
+ disableTextarea: () => {
41
+ i.value && (i.value.setAttribute("readonly", "readonly"), i.value.classList.add("disabled"));
42
+ },
43
+ clearTextareaElem: () => {
44
+ i.value && (i.value.value = "");
45
+ },
46
+ focusDisabledTextarea: () => {
47
+ i.value && (i.value.removeAttribute("readonly"), i.value.classList.remove("disabled"), C(() => {
48
+ i.value && i.value.focus();
49
+ }));
50
+ }
51
+ }), (e, t) => (b(), k("div", {
52
+ class: s(e.$attrs["wrapper-classes"])
53
+ }, [
54
+ o("div", {
55
+ class: s(["input-wrapper uikit-relative uikit-rounded-xs uikit-px-0", [
56
+ a(l) === "floating-label" ? "floating-state" : "inline-state"
57
+ ]])
58
+ }, [
59
+ o("textarea", {
60
+ id: e.$attrs.id,
61
+ ref_key: "textarea",
62
+ ref: i,
63
+ "data-cy": e.$attrs["data-cy"],
64
+ class: s(["textarea-scrollbar uikit-peer/fieldset uikit-relative uikit-z-20 uikit-mb-10px uikit-mt-15px uikit-w-[calc(100%-1px)] uikit-overflow-y-auto uikit-whitespace-pre-wrap uikit-rounded-xs uikit-border-0 uikit-bg-transparent uikit-bg-no-repeat uikit-px-15px uikit-pb-[8px] uikit-outline-none", [
65
+ { "is-invalid invalid-bg !uikit-pr-10": e.isValid === !1 },
66
+ { "is-valid valid-bg !uikit-pr-10": e.isValid },
67
+ { "uikit-resize-none": !e.resize },
68
+ e.$attrs.class
69
+ ]]),
70
+ rows: e.$attrs.rows,
71
+ disabled: e.$attrs.disabled,
72
+ "aria-labelledby": e.$attrs.id,
73
+ readonly: e.$attrs.readonly,
74
+ onFocusin: t[0] || (t[0] = d((u) => a(c)(), ["stop"])),
75
+ onFocusout: t[1] || (t[1] = d((u) => a(g)(`${r.value}`.trim()), ["stop"])),
76
+ onInput: d(T, ["stop"]),
77
+ onKeydown: t[2] || (t[2] = d((u) => n("keydown", u), ["stop"])),
78
+ onClick: t[3] || (t[3] = (u) => n("click", u)),
79
+ value: r.value
80
+ }, null, 42, B),
81
+ o("fieldset", {
82
+ class: s(["uikit-pointer-events-none uikit-absolute -uikit-top-0 uikit-bottom-[3px] uikit-left-0 uikit-right-0 uikit-m-0 uikit-min-w-0 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-bg-white uikit-p-0 uikit-px-2 uikit-text-start uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus/fieldset:uikit-border-2 peer-focus/fieldset:uikit-border-w-primary peer-disabled/fieldset:uikit-bg-w-cultured peer-[&.disabled]/fieldset:uikit-bg-w-cultured peer-focus/fieldset:[&.is-invalid]:uikit-border-w-danger", [
83
+ { "is-invalid": e.isValid === !1, "is-valid": e.isValid },
84
+ { "uikit-border-w-danger": e.isValid === !1 },
85
+ { "uikit-border-w-primary": e.isValid },
86
+ { "uikit-border-w-secondary": e.isValid === null }
87
+ ]])
88
+ }, [
89
+ e.labelText ? (b(), k("legend", E, [
90
+ o("span", {
91
+ class: s(["uikit-px-5px uikit-opacity-0", [
92
+ {
93
+ "uikit-visible uikit-inline-block": a(l) === "floating-label"
94
+ },
95
+ {
96
+ "uikit-invisible uikit-hidden": a(l) === "inline-label"
97
+ }
98
+ ]]),
99
+ innerHTML: e.labelText
100
+ }, null, 10, H)
101
+ ])) : p("", !0)
102
+ ], 2),
103
+ M(F, {
104
+ for: e.$attrs.id,
105
+ "label-text": e.labelText,
106
+ "label-state": a(l),
107
+ required: e.$attrs.required,
108
+ "is-valid": e.isValid,
109
+ "label-classes": [
110
+ a(l) === "floating-label" ? "!-uikit-top-1" : "!uikit-top-4",
111
+ e.labelClasses
112
+ ]
113
+ }, null, 8, ["for", "label-text", "label-state", "required", "is-valid", "label-classes"])
114
+ ], 2),
115
+ (e.isValid || e.isValid === !1) && e.feedback ? (b(), k("div", {
116
+ key: 0,
117
+ class: s(
118
+ e.isValid === !1 ? "uikit-mt-1 uikit-text-12 uikit-text-w-danger" : "uikit-mt-1 uikit-text-12 uikit-text-w-primary"
119
+ ),
120
+ innerHTML: e.isValid === !1 ? e.feedback.invalid : e.feedback.valid
121
+ }, null, 10, q)) : p("", !0)
122
+ ], 2));
123
+ }
124
+ });
125
+ export {
126
+ S as default
127
+ };
@@ -0,0 +1,42 @@
1
+ import { defineComponent as a, mergeModels as n, useModel as d, createElementBlock as k, openBlock as b, normalizeClass as c, renderSlot as l, createElementVNode as t, createCommentVNode as f, withModifiers as p } from "vue";
2
+ const m = { class: "switch uikit-relative uikit-inline-block uikit-min-w-[40px] uikit-text-sm" }, h = ["data-cy", "checked"], g = ["innerHTML"], y = /* @__PURE__ */ a({
3
+ inheritAttrs: !1,
4
+ __name: "BaseToggle",
5
+ props: /* @__PURE__ */ n({
6
+ withRightLabel: { type: Boolean, default: !0 },
7
+ label: { default: "" }
8
+ }, {
9
+ modelValue: { type: Boolean, default: !1 },
10
+ modelModifiers: {}
11
+ }),
12
+ emits: ["update:modelValue"],
13
+ setup(r) {
14
+ const o = d(r, "modelValue"), u = ({ target: e }) => {
15
+ o.value = e.checked;
16
+ };
17
+ return (e, i) => (b(), k("div", {
18
+ class: c(["switch-container uikit-inline-block uikit-items-center", e.$attrs.class])
19
+ }, [
20
+ l(e.$slots, "leftLabel", {}, void 0, !0),
21
+ t("label", m, [
22
+ t("input", {
23
+ "data-cy": e.$attrs["data-cy"] ?? "",
24
+ class: "uikit-peer/toggle uikit-h-0 uikit-w-0 uikit-opacity-0",
25
+ type: "checkbox",
26
+ checked: o.value,
27
+ onInput: i[0] || (i[0] = p((s) => u(s), ["stop"]))
28
+ }, null, 40, h),
29
+ i[1] || (i[1] = t("span", { class: "slider round uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-cursor-pointer uikit-bg-w-lavender uikit-duration-300 before:uikit-absolute before:uikit-bottom-0 before:uikit-left-0 before:uikit-top-0 before:uikit-box-border before:uikit-h-[22px] before:uikit-w-[22px] before:uikit-rounded-circle before:uikit-border before:uikit-border-solid before:uikit-border-w-secondary before:uikit-bg-white before:uikit-shadow-sm before:uikit-duration-300 before:uikit-content-[''] peer-checked/toggle:uikit-bg-w-primary" }, null, -1))
30
+ ]),
31
+ e.withRightLabel ? l(e.$slots, "rightLabel", { key: 0 }, () => [
32
+ t("span", {
33
+ class: "uikit-ml-10px",
34
+ innerHTML: e.label
35
+ }, null, 8, g)
36
+ ], !0) : f("", !0)
37
+ ], 2));
38
+ }
39
+ });
40
+ export {
41
+ y as default
42
+ };
@@ -0,0 +1,41 @@
1
+ import { defineComponent as a, createElementBlock as e, openBlock as t, renderSlot as s, createElementVNode as n, normalizeClass as l, createCommentVNode as i } from "vue";
2
+ const r = { class: "base-tooltip" }, m = /* @__PURE__ */ a({
3
+ __name: "BaseTooltip",
4
+ props: {
5
+ theme: { default: () => ({
6
+ color: "blue",
7
+ size: "sm"
8
+ }) },
9
+ direction: { default: "top" },
10
+ customTooltipClass: { default: "" },
11
+ showTooltipContentManually: { type: Boolean, default: !0 },
12
+ tooltipContentClasses: { default: "" }
13
+ },
14
+ setup(p) {
15
+ return (o, u) => (t(), e("div", r, [
16
+ s(o.$slots, "trigger", {}, void 0, !0),
17
+ n("div", {
18
+ class: l(["bg-transparent", [
19
+ o.theme.size,
20
+ `${o.customTooltipClass ? o.customTooltipClass : "tooltip-content-wrapper"}`
21
+ ]])
22
+ }, [
23
+ o.showTooltipContentManually ? (t(), e("div", {
24
+ key: 0,
25
+ class: l(["tooltip-content uikit-shadow-lg uikit-shadow-w-primary/10", [
26
+ "base-tooltip-arrow",
27
+ o.direction,
28
+ o.theme.color,
29
+ o.theme.size,
30
+ o.tooltipContentClasses
31
+ ]])
32
+ }, [
33
+ s(o.$slots, "content", {}, void 0, !0)
34
+ ], 2)) : i("", !0)
35
+ ], 2)
36
+ ]));
37
+ }
38
+ });
39
+ export {
40
+ m as default
41
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, ref as b, watch as m, createElementBlock as o, openBlock as s, normalizeClass as t, createElementVNode as l, createBlock as h, createCommentVNode as n, renderSlot as v } from "vue";
2
- import w from "../UIKit/BaseFloatingLabel.js";
2
+ import w from "../../../../UIKit/BaseFloatingLabel.js";
3
3
  const C = ["innerHTML"], g = ["for"], y = ["id", "multiple", "accept"], B = /* @__PURE__ */ c({
4
4
  inheritAttrs: !1,
5
5
  __name: "BaseUploadFile",
@@ -67,5 +67,5 @@ const C = ["innerHTML"], g = ["for"], y = ["id", "multiple", "accept"], B = /* @
67
67
  }
68
68
  });
69
69
  export {
70
- B as _
70
+ B as default
71
71
  };
@@ -0,0 +1,75 @@
1
+ import { defineComponent as b, useId as f, computed as h, createElementBlock as r, openBlock as s, withModifiers as d, normalizeClass as l, createElementVNode as u, renderSlot as m, createCommentVNode as C, toDisplayString as g } from "vue";
2
+ const y = ["id"], V = ["id", "data-cy", "checked", "disabled"], v = ["for"], w = /* @__PURE__ */ b({
3
+ __name: "CheckboxBtn",
4
+ props: {
5
+ id: {},
6
+ dataCy: {},
7
+ disabled: { type: Boolean },
8
+ checked: { type: Boolean, default: () => {
9
+ } },
10
+ required: { type: Boolean },
11
+ inputClass: {},
12
+ inline: { type: Boolean, default: !1 },
13
+ label: { default: "" },
14
+ labelClass: {},
15
+ isValid: { default: null },
16
+ containerId: {},
17
+ handleLabelClick: { type: Boolean, default: !0 },
18
+ modelValue: { type: Boolean, default: !1 }
19
+ },
20
+ emits: ["click", "change", "update:modelValue"],
21
+ setup(i, { emit: c }) {
22
+ const a = c, n = f(), o = h(() => `${i.id ?? n}`), k = () => {
23
+ const e = i.checked ?? i.modelValue;
24
+ a("change", {
25
+ id: i.id ?? n,
26
+ label: i.label,
27
+ checked: !e
28
+ }), a("update:modelValue", !e);
29
+ }, p = () => {
30
+ k(), i.handleLabelClick && a("click");
31
+ };
32
+ return (e, t) => (s(), r("div", {
33
+ id: e.containerId,
34
+ class: l(["uikit-group uikit-relative uikit-items-center uikit-pl-30px hover:uikit-cursor-pointer", [
35
+ { "uikit-inline-flex": e.inline },
36
+ { "uikit-flex": !e.inline },
37
+ e.$attrs["wrapper-classes"]
38
+ ]]),
39
+ onClick: d(p, ["stop"])
40
+ }, [
41
+ u("input", {
42
+ id: o.value,
43
+ ref: "checkbox",
44
+ "data-cy": e.dataCy,
45
+ class: l(["uikit-pointer-events-none uikit-absolute uikit-left-0 uikit-size-4 uikit-appearance-none uikit-rounded-3xs uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white checked:uikit-bg-center checked:uikit-bg-no-repeat group-hover:uikit-cursor-pointer", [
46
+ { "!uikit-border-w-danger": e.isValid === !1 },
47
+ e.inputClass,
48
+ e.isValid === !1 ? "checked-bg-invalid" : "checked-bg"
49
+ ]]),
50
+ type: "checkbox",
51
+ checked: e.checked ?? e.modelValue,
52
+ disabled: e.disabled,
53
+ onChange: t[0] || (t[0] = d(() => {
54
+ }, ["prevent", "stop"])),
55
+ onClick: t[1] || (t[1] = d(() => {
56
+ }, ["prevent", "stop"]))
57
+ }, null, 42, V),
58
+ m(e.$slots, "label", {}, () => [
59
+ u("label", {
60
+ class: l(["uikit-text-sm group-hover:uikit-cursor-pointer", [e.labelClass, { "uikit-text-w-danger": e.isValid === !1 }]]),
61
+ for: o.value
62
+ }, g(e.label), 11, v),
63
+ e.required ? (s(), r("span", {
64
+ key: 0,
65
+ class: l(["required after:uikit-content-['*']", [
66
+ e.isValid !== !1 ? "after:uikit-text-w-primary" : "after:uikit-text-w-danger"
67
+ ]])
68
+ }, null, 2)) : C("", !0)
69
+ ], !0)
70
+ ], 10, y));
71
+ }
72
+ });
73
+ export {
74
+ w as default
75
+ };