@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,212 +1,5 @@
1
- import { defineComponent as z, mergeModels as C, useModel as A, ref as m, watch as g, useAttrs as N, createElementBlock as r, openBlock as u, normalizeClass as v, unref as s, renderSlot as p, createElementVNode as h, createBlock as O, createCommentVNode as w, withKeys as j, withModifiers as y, Fragment as T, renderList as B } from "vue";
2
- import D from "./BaseFloatingLabel.js";
3
- import { useFloatingLabel as G } from "../composables/useFloatingLabel.js";
4
- import { _ as J } from "../chunks/_plugin-vue_export-helper.CHgC5LLL.js";
5
- import '../assets/BaseInput.css';const Q = ["id", "data-cy", "name", "autocomplete", "disabled", "aria-labelledby", "readonly", "type", "pattern", "min", "max", "maxlength", "inputmode", "placeholder", "value"], W = { class: "uikit-invisible uikit-float-none uikit-mb-2 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-transition-[max-width] uikit-duration-[50ms] uikit-ease-out" }, X = ["innerHTML"], Y = ["innerHTML"], Z = ["innerHTML"], x = {
6
- key: 1,
7
- class: "under-label uikit-absolute uikit-text-12"
8
- }, U = /* @__PURE__ */ z({
9
- inheritAttrs: !1,
10
- __name: "BaseInput",
11
- props: /* @__PURE__ */ C({
12
- inputClass: {},
13
- labelText: { default: "" },
14
- feedback: {},
15
- isValid: { default: null },
16
- keepFloatingLabel: { type: Boolean, default: !1 },
17
- formatter: { default: null },
18
- labelClasses: {},
19
- fieldsetClasses: {},
20
- labelTextClasses: {},
21
- withLeftIcon: { type: Boolean, default: () => {
22
- } },
23
- withRightIcon: { type: Boolean, default: () => {
24
- } },
25
- dataCy: {}
26
- }, {
27
- modelValue: { default: "" },
28
- modelModifiers: {}
29
- }),
30
- emits: /* @__PURE__ */ C(["click", "keydownEnterPressed", "focusin", "focusout", "keydown", "keyup"], ["update:modelValue"]),
31
- setup(l, { expose: M, emit: E }) {
32
- const o = A(l, "modelValue"), a = m(""), k = E, {
33
- labelState: d,
34
- handleFocusIn: H,
35
- handleFocusOut: $,
36
- setInlineLabel: I,
37
- setFloatingLabel: V
38
- } = G(k), n = m("text"), f = m({}), b = m(null), R = () => {
39
- l.feedback && (f.value = l.feedback, l.feedback.valid && typeof l.feedback.valid == "string" && (f.value.valid = [l.feedback.valid]), l.feedback.invalid && typeof l.feedback.invalid == "string" && (f.value.invalid = [l.feedback.invalid]));
40
- }, L = (e, i) => {
41
- if (!l.formatter || !l.formatter.formatFn)
42
- return a.value = e, "";
43
- const t = e.length ? l.formatter.formatFn(e) : e;
44
- return i && (i.value = t), a.value = t, t;
45
- }, F = (e, i = !0) => {
46
- if (i && (!l.formatter || !l.formatter.unFormatFn))
47
- return o.value = e, e;
48
- if (!i || !l.formatter || !l.formatter.unFormatFn) return;
49
- const t = l.formatter.unFormatFn(e);
50
- return o.value = t ?? "", t;
51
- }, P = ({ target: e }) => {
52
- const i = e, t = F(i.value);
53
- L(
54
- `${t}`,
55
- t === o.value ? i : void 0
56
- );
57
- }, q = () => {
58
- o.value = "", I();
59
- }, K = () => {
60
- n.value === "password" ? n.value = "text" : n.value === "text" && (n.value = "password");
61
- };
62
- g(
63
- () => l.feedback,
64
- () => {
65
- R();
66
- },
67
- {
68
- immediate: !0
69
- }
70
- ), g(
71
- o,
72
- (e) => {
73
- L(
74
- `${e}`,
75
- F(`${e}`, !1) === e ? b.value : void 0
76
- ), a.value != null && a.value.length > 0 && d.value !== "floating-label" ? V() : !a.value && document && document.activeElement !== b.value && I();
77
- },
78
- {
79
- immediate: !0
80
- }
81
- ), g(
82
- () => l.keepFloatingLabel,
83
- (e) => {
84
- e ? V() : $(o.value);
85
- }
86
- );
87
- const S = N();
88
- return n.value = S.type || "text", M({
89
- select: () => {
90
- b.value?.select();
91
- }
92
- }), (e, i) => (u(), r("div", {
93
- class: v(["input-wrapper uikit-relative uikit-inline-block uikit-w-full [&.has-right-icon.is-invalid_.text-input-icon]:uikit-mr-25px [&.has-right-icon.is-valid_.text-input-icon]:uikit-mr-25px", [
94
- e.$attrs.class,
95
- { "floating-label": e.labelText },
96
- s(d) === "floating-label" ? "floating-state" : "inline-state",
97
- {
98
- "has-right-icon": e.withRightIcon !== void 0 ? e.withRightIcon : !!e.$slots.righticon
99
- },
100
- {
101
- "has-left-icon": e.withLeftIcon !== void 0 ? e.withLeftIcon : !!e.$slots.leftIcon
102
- },
103
- { "is-invalid": e.isValid === !1, "is-valid": e.isValid }
104
- ]])
105
- }, [
106
- p(e.$slots, "leftIcon", {}, void 0, !0),
107
- p(e.$slots, "righticon", {
108
- handleClean: q,
109
- handleShowPasswd: K,
110
- curType: n.value
111
- }, void 0, !0),
112
- h("input", {
113
- id: e.$attrs.id,
114
- ref_key: "baseInputEl",
115
- ref: b,
116
- "data-cy": e.dataCy,
117
- name: e.$attrs.name,
118
- class: v(["input-element uikit-peer uikit-relative uikit-ml-[1px] uikit-mt-[6px] uikit-box-border uikit-block uikit-h-[42px] uikit-w-[calc(100%-2px)] uikit-appearance-none uikit-truncate uikit-rounded-[11px] !uikit-border-none uikit-bg-white uikit-bg-no-repeat uikit-px-4 uikit-outline-0 focus:uikit-shadow-none focus:uikit-outline-none disabled:uikit-bg-w-cultured disabled:uikit-text-w-secondary", [
119
- {
120
- "is-invalid invalid-bg !uikit-pr-9": e.isValid === !1,
121
- "is-valid valid-bg !uikit-pr-9": e.isValid
122
- },
123
- {
124
- "uikit-pr-[42px]": e.withRightIcon !== void 0 ? e.withRightIcon : !!e.$slots.righticon
125
- },
126
- {
127
- "uikit-pl-[42px]": e.withLeftIcon !== void 0 ? e.withLeftIcon : !!e.$slots.leftIcon
128
- },
129
- e.inputClass
130
- ]]),
131
- autocomplete: e.$attrs.autocomplete === "on" ? "on" : "off",
132
- disabled: e.$attrs.disabled,
133
- "aria-labelledby": e.$attrs.id,
134
- readonly: e.$attrs.readonly,
135
- type: n.value,
136
- pattern: e.$attrs.pattern,
137
- min: e.$attrs.min,
138
- max: e.$attrs.max,
139
- maxlength: e.$attrs.maxlength,
140
- inputmode: e.$attrs.inputmode,
141
- placeholder: e.$attrs.placeholder,
142
- value: a.value,
143
- onClick: i[0] || (i[0] = (t) => k("click", t)),
144
- onFocusin: i[1] || (i[1] = y(() => e.labelText && s(H)(), ["stop"])),
145
- onFocusout: i[2] || (i[2] = y((t) => e.labelText && !e.keepFloatingLabel && s($)(a.value), ["stop"])),
146
- onInput: y(P, ["stop"]),
147
- onKeydown: [
148
- i[3] || (i[3] = j(() => k("keydownEnterPressed"), ["enter"])),
149
- i[4] || (i[4] = (t) => k("keydown", t))
150
- ],
151
- onKeyup: i[5] || (i[5] = (t) => k("keyup", t))
152
- }, null, 42, Q),
153
- h("fieldset", {
154
- class: v(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 uikit-py-0 uikit-text-left uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus:uikit-border-2 peer-focus:uikit-border-w-primary peer-focus:[&.is-invalid]:uikit-border-w-danger", [
155
- {
156
- "is-invalid uikit-border-w-danger": e.isValid === !1,
157
- "is-valid uikit-border-w-primary": e.isValid,
158
- "uikit-border-w-secondary": e.isValid === null
159
- },
160
- { "uikit-top-0": !e.labelText },
161
- e.fieldsetClasses
162
- ]])
163
- }, [
164
- h("legend", W, [
165
- h("span", {
166
- class: v(["visible-label uikit-opacity-0", [
167
- { "uikit-mx-5px": e.labelText },
168
- {
169
- "uikit-visible uikit-inline-block": s(d) === "floating-label"
170
- },
171
- {
172
- "uikit-invisible uikit-hidden": s(d) === "inline-label"
173
- }
174
- ]]),
175
- innerHTML: e.labelText
176
- }, null, 10, X)
177
- ])
178
- ], 2),
179
- e.labelText ? (u(), O(D, {
180
- key: 0,
181
- for: e.$attrs.id,
182
- "label-text": e.labelText,
183
- "label-state": s(d),
184
- "is-valid": e.isValid,
185
- required: e.$attrs.required,
186
- disabled: e.$attrs.disabled,
187
- "label-classes": [
188
- s(d) === "floating-label" ? "!-uikit-top-1" : "!uikit-top-4",
189
- e.labelClasses
190
- ],
191
- "label-text-classes": e.labelTextClasses
192
- }, null, 8, ["for", "label-text", "label-state", "is-valid", "required", "disabled", "label-classes", "label-text-classes"])) : w("", !0),
193
- p(e.$slots, "feedback", {}, () => [
194
- e.isValid === !1 ? (u(!0), r(T, { key: 0 }, B(f.value.invalid, (t, c) => (u(), r("div", {
195
- key: `${e.$attrs.id}_invalid_${c}`,
196
- class: "uikit-mt-1 uikit-text-12 uikit-text-w-danger",
197
- innerHTML: t
198
- }, null, 8, Y))), 128)) : e.isValid === !0 ? (u(!0), r(T, { key: 1 }, B(f.value.valid, (t, c) => (u(), r("div", {
199
- key: `${e.$attrs.id}_valid_${c}`,
200
- class: "uikit-mt-1 uikit-text-12 uikit-text-w-primary",
201
- innerHTML: t
202
- }, null, 8, Z))), 128)) : w("", !0)
203
- ], !0),
204
- e.$slots["under-label"] ? (u(), r("div", x, [
205
- p(e.$slots, "under-label", {}, void 0, !0)
206
- ])) : w("", !0)
207
- ], 2));
208
- }
209
- }), ae = /* @__PURE__ */ J(U, [["__scopeId", "data-v-919095a8"]]);
1
+ import o from "../packages/components/lib/UIKit/BaseInput.vue.js";
2
+ import '../assets/packages/components/lib/UIKit/BaseInput.css';/* empty css */
210
3
  export {
211
- ae as default
4
+ o as default
212
5
  };
@@ -1,4 +1,5 @@
1
- import { _ as f } from "../chunks/BaseModal.vue_vue_type_style_index_0_lang.CCb032YN.js";
1
+ import o from "../packages/components/lib/UIKit/BaseModal.vue.js";
2
+ import '../assets/packages/components/lib/UIKit/BaseModal.css';/* empty css */
2
3
  export {
3
- f as default
4
+ o as default
4
5
  };
@@ -0,0 +1,4 @@
1
+ import f from "../packages/components/lib/UIKit/BaseNotificationBadge.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,11 +1,18 @@
1
1
  import { Optional } from '@wikicasa-dev/types';
2
2
  type __VLS_Props = {
3
+ /**
4
+ * Number of elements in the list
5
+ */
3
6
  count?: number;
7
+ /**
8
+ * Items per page
9
+ */
4
10
  limit?: number;
11
+ /**
12
+ * Number of sibling should be shown around the current page
13
+ */
5
14
  siblings?: number;
6
- additionalCount?: number;
7
15
  arrowColor?: string;
8
- small?: boolean;
9
16
  prevLabel?: string;
10
17
  nextLabel?: string;
11
18
  prevDataCy?: string;
@@ -18,5 +25,5 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
18
25
  "update:pageNumber": (value: Optional<number>) => any;
19
26
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
27
  "onUpdate:pageNumber"?: ((value: Optional<number>) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
28
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
29
  export default _default;
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/BasePagination.vue_vue_type_script_setup_true_lang.Cbo8eLhz.js";
1
+ import f from "../packages/components/lib/UIKit/BasePagination.vue.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as o, createElementBlock as t, openBlock as r, renderSlot as s } from "vue";
2
- import { _ as n } from "../chunks/_plugin-vue_export-helper.CHgC5LLL.js";
3
- import '../assets/BasePaper.css';const a = o({
4
- name: "BasePaper"
5
- }), c = { class: "base-paper" };
6
- function p(e, _, d, f, i, m) {
7
- return r(), t("div", c, [
1
+ import o from "../packages/components/lib/UIKit/BasePaper.vue.js";
2
+ import { createElementBlock as t, openBlock as r, renderSlot as s } from "vue";
3
+ import '../assets/packages/components/lib/UIKit/BasePaper.css';/* empty css */
4
+ import p from "../_virtual/_plugin-vue_export-helper.js";
5
+ const a = { class: "base-paper" };
6
+ function c(e, n, _, d, i, f) {
7
+ return r(), t("div", a, [
8
8
  s(e.$slots, "content", {}, void 0, !0)
9
9
  ]);
10
10
  }
11
- const $ = /* @__PURE__ */ n(a, [["render", p], ["__scopeId", "data-v-f52750e0"]]);
11
+ const v = /* @__PURE__ */ p(o, [["render", c], ["__scopeId", "data-v-f52750e0"]]);
12
12
  export {
13
- $ as default
13
+ v as default
14
14
  };
@@ -0,0 +1,5 @@
1
+ import o from "../packages/components/lib/UIKit/BasePin.vue.js";
2
+ import '../assets/packages/components/lib/UIKit/BasePin.css';/* empty css */
3
+ export {
4
+ o as default
5
+ };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../../chunks/SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js";
1
+ import f from "../../packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,19 +3,23 @@ type __VLS_Props = {
3
3
  type?: "linear" | "logarithmic";
4
4
  min?: number;
5
5
  max?: number;
6
+ step?: number;
7
+ dataCy?: Partial<{
8
+ rangeMinInput: string;
9
+ rangeMaxInput: string;
10
+ thumbMin: string;
11
+ thumbMax: string;
12
+ }>;
6
13
  };
7
14
  type __VLS_PublicProps = {
8
- "minValue"?: Optional<number>;
9
- "maxValue"?: Optional<number>;
15
+ "rangeMin"?: Optional<number>;
16
+ "rangeMax"?: Optional<number>;
10
17
  } & __VLS_Props;
11
18
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- "update:minValue": (value: Optional<number>) => any;
13
- "update:maxValue": (value: Optional<number>) => any;
19
+ "update:rangeMin": (value: Optional<number>) => any;
20
+ "update:rangeMax": (value: Optional<number>) => any;
14
21
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
- "onUpdate:minValue"?: ((value: Optional<number>) => any) | undefined;
16
- "onUpdate:maxValue"?: ((value: Optional<number>) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
- fromSlider: HTMLInputElement;
19
- toSlider: HTMLInputElement;
20
- }, HTMLDivElement>;
22
+ "onUpdate:rangeMin"?: ((value: Optional<number>) => any) | undefined;
23
+ "onUpdate:rangeMax"?: ((value: Optional<number>) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
25
  export default _default;
@@ -1,208 +1,4 @@
1
- import { defineComponent as R, 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 _, unref as h, createVNode as k } from "vue";
2
- import C from "./BaseInput.js";
3
- import { _ as K } from "../chunks/_plugin-vue_export-helper.CHgC5LLL.js";
4
- import '../assets/BaseSlider.css';const O = { class: "range_container" }, Q = { class: "sliders_control" }, W = ["value", "min", "max", "step"], X = ["value", "min", "max", "step"], Y = { class: "form_control row" }, Z = { class: "pb-15 pb-sm-0 col-sm-6 col-xl-4" }, ee = { class: "col-sm-6 col-xl-4" }, le = /* @__PURE__ */ R({
5
- __name: "BaseSlider",
6
- props: /* @__PURE__ */ j({
7
- type: { default: "linear" },
8
- min: { default: 0 },
9
- max: { default: 100 }
10
- }, {
11
- minValue: { default: 0 },
12
- minValueModifiers: {},
13
- maxValue: { default: 0 },
14
- maxValueModifiers: {}
15
- }),
16
- emits: ["update:minValue", "update:maxValue"],
17
- setup(m) {
18
- function M(e, l) {
19
- const a = parseInt(e.value, 10), t = parseInt(l.value, 10);
20
- return [a, t];
21
- }
22
- const E = (e) => e.minPos + (Math.log(e.value) - e.minlval) / e.scale, L = (e) => Math.exp(
23
- (e.position - e.minPos) * e.scale + e.minlval
24
- );
25
- function V(e, l, a, t, v) {
26
- const i = l.max - l.min, f = e - l.min, $ = l.value - l.min;
27
- v.style.background = `linear-gradient(
28
- to right,
29
- ${a} 0%,
30
- ${a} ${f / i * 100}%,
31
- ${t} ${f / i * 100}%,
32
- ${t} ${$ / i * 100}%,
33
- ${a} ${$ / i * 100}%,
34
- ${a} 100%)`;
35
- }
36
- function y(e, l) {
37
- e <= 0 ? l.style.zIndex = "2" : l.style.zIndex = "0";
38
- }
39
- 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"), s = T("toSlider"), S = (e, l) => {
40
- if (!g.value || !s.value) return;
41
- l || (l = "0");
42
- const a = parseInt(l, 10);
43
- if (e == "min-input") {
44
- if (a >= o.value) return;
45
- r.value = a, z(s.value, a, o.value);
46
- return;
47
- }
48
- a < r.value || (o.value = a, A(s.value, s.value, r.value, a));
49
- }, I = (e) => {
50
- if (m.type === "logarithmic")
51
- return e = e || 1, parseInt(
52
- E({
53
- value: e,
54
- minPos: n.value,
55
- minlval: F.value,
56
- scale: B.value
57
- }).toFixed(0),
58
- 10
59
- );
60
- if (m.type === "linear")
61
- return e;
62
- throw new Error("The slider type has not been implemented");
63
- }, b = (e) => {
64
- if (m.type === "logarithmic")
65
- return e = e || 1, parseInt(
66
- L({
67
- position: e,
68
- scale: B.value,
69
- minlval: F.value,
70
- minPos: n.value
71
- }).toFixed(0),
72
- 10
73
- );
74
- if (m.type === "linear")
75
- return e;
76
- throw new Error("The slider type has not been implemented");
77
- }, z = (e, l, a) => {
78
- const t = I(l), v = I(a);
79
- V(
80
- t,
81
- {
82
- min: n.value,
83
- max: u.value,
84
- value: v
85
- },
86
- "#B4C2F0",
87
- "#2B5DFF",
88
- e
89
- );
90
- const i = t, f = o.value;
91
- i > f ? c.value = f : c.value = i;
92
- }, A = (e, l, a, t) => {
93
- const v = I(a), i = I(t);
94
- V(
95
- v,
96
- {
97
- min: n.value,
98
- max: u.value,
99
- value: i
100
- },
101
- "#B4C2F0",
102
- "#2B5DFF",
103
- l
104
- );
105
- const f = r.value, $ = i;
106
- y(o.value, e), f <= $ ? d.value = $ : d.value = f;
107
- }, N = (e, l) => {
108
- if (!l.value) return;
109
- const [a, t] = M(e, l), v = b(a);
110
- V(
111
- a,
112
- {
113
- min: n.value,
114
- max: u.value,
115
- value: t
116
- },
117
- "#B4C2F0",
118
- "#2B5DFF",
119
- l
120
- ), a > t ? (e.value = `${t}`, c.value = t, r.value = t) : (c.value = a, r.value = v);
121
- }, U = (e, l) => {
122
- if (!l.value) return;
123
- const [a, t] = M(e, l), v = b(t);
124
- V(
125
- c.value,
126
- {
127
- min: n.value,
128
- max: u.value,
129
- value: t
130
- },
131
- "#B4C2F0",
132
- "#2B5DFF",
133
- l
134
- ), y(parseInt(l.value, 10), l), a <= t ? (d.value = t, o.value = v) : (l.value = `${a}`, d.value = a, o.value = a);
135
- }, w = q();
136
- return (() => {
137
- 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);
138
- })(), G(() => {
139
- !g.value || !s.value || (V(
140
- c.value,
141
- {
142
- min: n.value,
143
- max: u.value,
144
- value: d.value
145
- },
146
- "#B4C2F0",
147
- "#2B5DFF",
148
- s.value
149
- ), y(d.value, s.value));
150
- }), (e, l) => (J(), H("div", O, [
151
- x("div", Q, [
152
- x("input", {
153
- ref_key: "fromSlider",
154
- ref: g,
155
- class: "fromSlider",
156
- type: "range",
157
- value: c.value,
158
- min: n.value,
159
- max: u.value,
160
- step: e.$attrs.step,
161
- onInput: l[0] || (l[0] = _((a) => N(
162
- h(g),
163
- h(s)
164
- ), ["stop"]))
165
- }, null, 40, W),
166
- x("input", {
167
- ref_key: "toSlider",
168
- ref: s,
169
- class: "toSlider",
170
- type: "range",
171
- value: d.value,
172
- min: n.value,
173
- max: u.value,
174
- step: e.$attrs.step,
175
- onInput: l[1] || (l[1] = _((a) => U(
176
- h(g),
177
- h(s)
178
- ), ["stop"]))
179
- }, null, 40, X)
180
- ]),
181
- x("div", Y, [
182
- x("div", Z, [
183
- k(C, {
184
- "label-text": "Min",
185
- type: "text",
186
- pattern: "[0-9]*",
187
- inputmode: "numeric",
188
- "model-value": r.value,
189
- "onUpdate:modelValue": l[2] || (l[2] = (a) => S("min-input", `${a || ""}`))
190
- }, null, 8, ["model-value"])
191
- ]),
192
- x("div", ee, [
193
- k(C, {
194
- "label-text": "Max",
195
- type: "text",
196
- pattern: "[0-9]*",
197
- inputmode: "numeric",
198
- "model-value": o.value,
199
- "onUpdate:modelValue": l[3] || (l[3] = (a) => S("max-input", `${a || ""}`))
200
- }, null, 8, ["model-value"])
201
- ])
202
- ])
203
- ]));
204
- }
205
- }), oe = /* @__PURE__ */ K(le, [["__scopeId", "data-v-581ec7f4"]]);
1
+ import f from "../packages/components/lib/UIKit/BaseSlider.vue.js";
206
2
  export {
207
- oe as default
3
+ f as default
208
4
  };
@@ -1,82 +1,7 @@
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 _, unref as v } from "vue";
2
- import { l as g } from "../chunks/CloseIcon.BZ4U3aiI.js";
3
- import "../chunks/PharmacyIcon.DEQ8mOEJ.js";
4
- import { _ as C } from "../chunks/_plugin-vue_export-helper.CHgC5LLL.js";
5
- import '../assets/BaseSnackbar.css';const T = { class: "snackbar-container uikit-fixed uikit-bottom-10px uikit-left-10px uikit-z-[2000] max-sm:uikit-left-0 max-sm:uikit-w-full" }, w = ["data-cy"], B = ["src", "alt"], L = {
6
- key: 1,
7
- class: "snackbar-type-icon uikit-bg-contain uikit-bg-no-repeat"
8
- }, 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" }, S = ["innerHTML"], H = ["innerHTML"], E = /* @__PURE__ */ b({
9
- inheritAttrs: !1,
10
- __name: "BaseSnackbar",
11
- props: {
12
- type: { default: "" },
13
- title: {},
14
- body: {},
15
- icon: {},
16
- timeout: { default: 55e4 },
17
- cb: { default: null }
18
- },
19
- emits: ["snackbar-hidden"],
20
- setup(k, { emit: m }) {
21
- const n = k, d = m, o = u(null), r = u(null), p = () => {
22
- o.value && o.value();
23
- }, c = () => {
24
- const t = r.value;
25
- t && (t.classList.remove("snackbar-active"), t.classList.add("snackbar-hidden"), setTimeout(() => {
26
- d("snackbar-hidden");
27
- }, 300));
28
- };
29
- return f(() => {
30
- n.cb && (o.value = n.cb), setTimeout(() => {
31
- c();
32
- }, n.timeout);
33
- }), (t, N) => (i(), h(y, { to: "body" }, [
34
- e("div", T, [
35
- e("div", {
36
- ref_key: "snackbar",
37
- ref: r,
38
- "data-cy": t.$attrs["data-cy"],
39
- 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]),
40
- onClick: l(p, ["stop"])
41
- }, [
42
- t.icon ? (i(), a("img", {
43
- key: 0,
44
- src: t.icon.src,
45
- alt: `${t.icon.alt}`,
46
- width: "20",
47
- height: "20"
48
- }, null, 8, B)) : s("", !0),
49
- t.type && !t.icon ? (i(), a("span", L)) : s("", !0),
50
- e("div", M, [
51
- t.title ? (i(), a("p", {
52
- key: 0,
53
- class: "uikit-m-0",
54
- innerHTML: t.title
55
- }, null, 8, S)) : s("", !0),
56
- t.body ? (i(), a("p", {
57
- key: 1,
58
- class: "uikit-m-0",
59
- innerHTML: t.body
60
- }, null, 8, H)) : s("", !0)
61
- ]),
62
- e("button", {
63
- type: "button",
64
- "data-cy": "base-snackbar-close-btn",
65
- class: "uikit-bg-transparent max-sm:uikit-absolute max-sm:uikit-right-5",
66
- onClick: l(c, ["stop"])
67
- }, [
68
- _(v(g), {
69
- class: "snackbar-close-icon",
70
- width: 20,
71
- height: 20,
72
- "stroke-color": "#000"
73
- })
74
- ])
75
- ], 10, w)
76
- ])
77
- ]));
78
- }
79
- }), I = /* @__PURE__ */ C(E, [["__scopeId", "data-v-ac8cba3f"]]);
1
+ import o from "../packages/components/lib/UIKit/BaseSnackbar.vue.js";
2
+ import '../assets/packages/components/lib/UIKit/BaseSnackbar.css';/* empty css */
3
+ import a from "../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ a(o, [["__scopeId", "data-v-8080638b"]]);
80
5
  export {
81
- I as default
6
+ p as default
82
7
  };
@@ -17,14 +17,14 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
17
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
18
  click: (args_0: MouseEvent) => any;
19
19
  "update:modelValue": (value: string | undefined) => any;
20
- focusin: () => any;
21
- focusout: () => any;
20
+ focusin: (args_0: FocusEvent) => any;
21
+ focusout: (args_0: FocusEvent) => any;
22
22
  keydown: (args_0: KeyboardEvent) => any;
23
23
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
24
  onClick?: ((args_0: MouseEvent) => any) | undefined;
25
25
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
26
- onFocusin?: (() => any) | undefined;
27
- onFocusout?: (() => any) | undefined;
26
+ onFocusin?: ((args_0: FocusEvent) => any) | undefined;
27
+ onFocusout?: ((args_0: FocusEvent) => any) | undefined;
28
28
  onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
29
29
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
30
  textarea: HTMLTextAreaElement;