@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
@@ -0,0 +1,143 @@
1
+ import { defineComponent as N, ref as T, watch as V, computed as x, createBlock as A, openBlock as w, unref as m, withCtx as n, createElementBlock as M, createCommentVNode as S, renderSlot as E, createVNode as a, createTextVNode as O, toDisplayString as P, createElementVNode as r } from "vue";
2
+ import { ArrowIcon as C } from "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/ArrowIcon.js";
3
+ import "../../../../node_modules/.pnpm/@wikicasa-dev_svg-icons@1.2.12_typescript@5.8.3/node_modules/@wikicasa-dev/svg-icons/dist/PharmacyIcon.js";
4
+ import j from "@vuepic/vue-datepicker";
5
+ import y from "./NativeSelect.vue.js";
6
+ import '../../../../assets/packages/components/lib/UIKit/BaseInput.css';import '../../../../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';import '../../../../assets/packages/components/lib/UIKit/NativeSelect.css';/* empty css */
7
+ /* empty css */
8
+ import z from "./BaseButton.vue.js";
9
+ import R from "./BaseInput.vue.js";
10
+ /* empty css */
11
+ const q = { class: "uikit-flex uikit-w-full uikit-justify-between uikit-border-b uikit-border-solid uikit-border-w-lightgray uikit-px-sm uikit-py-md" }, F = ["onClick"], G = ["onClick"], H = {
12
+ key: 0,
13
+ class: "uikit-grow"
14
+ }, oe = /* @__PURE__ */ N({
15
+ __name: "DatePicker",
16
+ props: {
17
+ btnLabel: {},
18
+ range: { type: Boolean, default: !1 },
19
+ locale: { default: "it-IT" },
20
+ position: { default: "left" },
21
+ rangeConfig: {},
22
+ modelValue: {},
23
+ inputLabel: {}
24
+ },
25
+ emits: ["update:modelValue"],
26
+ setup(u, { emit: $ }) {
27
+ const B = $, o = T(null);
28
+ V(
29
+ () => u.modelValue,
30
+ (e) => {
31
+ Array.isArray(e) && !e.find((l) => l instanceof Date) || (o.value = e ?? null);
32
+ },
33
+ { immediate: !0 }
34
+ );
35
+ const c = x(() => u.range || !!u.rangeConfig), I = (e, l, t) => {
36
+ e(l, t, !1);
37
+ }, U = (e, l, t) => {
38
+ e(l, t, !1);
39
+ }, p = (e, l = []) => l.find((t) => t.value === e);
40
+ let s = [];
41
+ const f = (e = []) => (s.length || (s = e.map((l, t) => ({
42
+ id: `month-${t}`,
43
+ label: l.text,
44
+ value: l.value
45
+ }))), s);
46
+ let d = [];
47
+ const k = (e = []) => (d.length || (d = e.map((l, t) => ({
48
+ id: `year-${t}`,
49
+ label: l.text,
50
+ value: l.value
51
+ }))), d), D = (e) => {
52
+ !e || c.value || o.value.getTime() !== e.getTime() && (o.value = e);
53
+ }, L = (e) => {
54
+ e && (o.value = e);
55
+ };
56
+ return V(o, (e) => {
57
+ e && B("update:modelValue", e);
58
+ }), (e, l) => (w(), A(m(j), {
59
+ "model-value": o.value,
60
+ range: e.range,
61
+ "enable-time-picker": !1,
62
+ ui: { menu: e.range ? "dp__range-mode" : "dp__single_mode" },
63
+ locale: e.locale,
64
+ position: e.position,
65
+ onInternalModelChange: D,
66
+ "onUpdate:modelValue": L
67
+ }, {
68
+ "dp-input": n(({ value: t }) => [
69
+ a(R, {
70
+ "model-value": t,
71
+ "label-text": e.inputLabel
72
+ }, null, 8, ["model-value", "label-text"])
73
+ ]),
74
+ "month-year": n(({
75
+ month: t,
76
+ year: g,
77
+ months: v,
78
+ years: h,
79
+ updateMonthYear: b,
80
+ handleMonthYearChange: _
81
+ }) => [
82
+ r("div", q, [
83
+ r("span", {
84
+ class: "uikit-cursor-pointer",
85
+ onClick: (i) => _?.(!1)
86
+ }, [
87
+ a(m(C), {
88
+ class: "uikit-rotate-90",
89
+ width: 20,
90
+ height: 10,
91
+ "stroke-width": 1.5
92
+ })
93
+ ], 8, F),
94
+ r("div", null, [
95
+ a(y, {
96
+ "model-value": p(t, f(v)),
97
+ options: f(v),
98
+ border: !1,
99
+ "arrow-size": 12,
100
+ "onUpdate:modelValue": (i) => I(b, i?.value, g)
101
+ }, null, 8, ["model-value", "options", "onUpdate:modelValue"]),
102
+ a(y, {
103
+ "model-value": p(g, k(h)),
104
+ options: k(h),
105
+ border: !1,
106
+ "onUpdate:modelValue": (i) => U(b, t, i?.value)
107
+ }, null, 8, ["model-value", "options", "onUpdate:modelValue"])
108
+ ]),
109
+ r("span", {
110
+ class: "uikit-cursor-pointer",
111
+ onClick: (i) => _?.(!1)
112
+ }, [
113
+ a(m(C), {
114
+ class: "-uikit-rotate-90",
115
+ width: 20,
116
+ height: 10,
117
+ "stroke-width": 1.5
118
+ })
119
+ ], 8, G)
120
+ ])
121
+ ]),
122
+ "action-row": n(({ selectDate: t }) => [
123
+ c.value ? (w(), M("div", H, [
124
+ E(e.$slots, "submitBtn", {}, () => [
125
+ a(z, {
126
+ class: "uikit-w-full",
127
+ onClick: t
128
+ }, {
129
+ default: n(() => [
130
+ O(P(e.btnLabel), 1)
131
+ ]),
132
+ _: 2
133
+ }, 1032, ["onClick"])
134
+ ])
135
+ ])) : S("", !0)
136
+ ]),
137
+ _: 3
138
+ }, 8, ["model-value", "range", "ui", "locale", "position"]));
139
+ }
140
+ });
141
+ export {
142
+ oe as default
143
+ };
@@ -0,0 +1,152 @@
1
+ import { defineComponent as E, mergeModels as C, useModel as O, ref as k, watch as y, createElementBlock as w, openBlock as r, createElementVNode as M, createVNode as p, withCtx as u, Fragment as h, renderList as D, createBlock as U, createTextVNode as x, toDisplayString as V, renderSlot as P } from "vue";
2
+ import R from "./BaseButton.vue.js";
3
+ import B from "./BaseInput.vue.js";
4
+ import '../../../../assets/packages/components/lib/UIKit/BaseInput.css';/* empty css */
5
+ import I from "./BaseDropDown.vue.js";
6
+ import L from "./BaseSelect/SelectItem.vue.js";
7
+ const j = { class: "uikit-shadow-surface uikit-flex uikit-h-[360px] uikit-w-[330px] uikit-flex-col uikit-justify-between uikit-rounded-2xs uikit-bg-white uikit-pt-md" }, z = { class: "uikit-relative uikit-flex uikit-gap-x-md uikit-border-b uikit-border-solid uikit-border-w-lightgray uikit-px-md uikit-pb-xs" }, F = { class: "uikit-z-10 uikit-h-[55px] uikit-bg-w-cultured uikit-px-md uikit-py-xs" }, Q = /* @__PURE__ */ E({
8
+ __name: "InputDropdown",
9
+ props: /* @__PURE__ */ C({
10
+ leftSelectOptions: { default: () => [] },
11
+ rightSelectOptions: { default: () => [] },
12
+ submitBtnLabel: {}
13
+ }, {
14
+ leftValue: { default: () => ({ id: -1, label: "" }) },
15
+ leftValueModifiers: {},
16
+ rightValue: { default: () => ({ id: -1, label: "" }) },
17
+ rightValueModifiers: {}
18
+ }),
19
+ emits: /* @__PURE__ */ C(["submit"], ["update:leftValue", "update:rightValue"]),
20
+ setup(f, { emit: K }) {
21
+ const a = O(
22
+ f,
23
+ "leftValue"
24
+ ), d = O(
25
+ f,
26
+ "rightValue"
27
+ ), v = k(!1), m = k(!1), g = k(!1), b = k(!1), $ = (i) => ({
28
+ id: -1,
29
+ label: i ? `${i}` : ""
30
+ }), S = (i, e = []) => {
31
+ if (!i) return null;
32
+ const t = e.find(
33
+ (o) => o.id === i.id || o.label === i.label
34
+ );
35
+ return t || null;
36
+ }, N = K;
37
+ return y(
38
+ a,
39
+ (i) => {
40
+ const e = S(i, f.leftSelectOptions);
41
+ e && (a.value = e);
42
+ },
43
+ { immediate: !0, deep: !0 }
44
+ ), y(
45
+ d,
46
+ (i) => {
47
+ const e = S(i, f.rightSelectOptions);
48
+ e && (d.value = e);
49
+ },
50
+ { immediate: !0, deep: !0 }
51
+ ), (i, e) => (r(), w("div", j, [
52
+ M("div", z, [
53
+ p(I, {
54
+ "toggle-dropdown": m.value,
55
+ "onUpdate:toggleDropdown": e[1] || (e[1] = (t) => m.value = t),
56
+ class: "!uikit-static",
57
+ "dropdown-classes": "!uikit-shadow-none uikit-top-[70px] !uikit-border-none !uikit-rounded-none",
58
+ "disable-space-handler": "",
59
+ "onUpdate:selectedIdx": e[2] || (e[2] = (t) => a.value = i.leftSelectOptions[t]),
60
+ "onUpdate:dropdownState": e[3] || (e[3] = (t) => v.value = t)
61
+ }, {
62
+ btn_slot: u(({ toggleDropdown: t, setActiveIdx: o }) => [
63
+ p(B, {
64
+ "model-value": a.value.label,
65
+ "label-text": "Min",
66
+ onClick: (l) => {
67
+ l.stopPropagation(), v.value || t(), g.value && (b.value = !0);
68
+ },
69
+ onKeyup: (l) => o(-1),
70
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => {
71
+ a.value = $(l);
72
+ })
73
+ }, null, 8, ["model-value", "onClick", "onKeyup"])
74
+ ]),
75
+ default: u(({ activeIdx: t, toggleDropdown: o, setActiveIdx: l }) => [
76
+ (r(!0), w(h, null, D(i.leftSelectOptions, (s, n) => (r(), U(L, {
77
+ key: `left-option-${n}`,
78
+ class: "uikit-rounded-3xs uikit-p-xs uikit-text-16",
79
+ active: t === n,
80
+ onClick: (c) => {
81
+ a.value = s, o();
82
+ },
83
+ onMouseover: (c) => l(n)
84
+ }, {
85
+ default: u(() => [
86
+ x(V(s.label), 1)
87
+ ]),
88
+ _: 2
89
+ }, 1032, ["active", "onClick", "onMouseover"]))), 128))
90
+ ]),
91
+ _: 1
92
+ }, 8, ["toggle-dropdown"]),
93
+ p(I, {
94
+ "toggle-dropdown": b.value,
95
+ "onUpdate:toggleDropdown": e[5] || (e[5] = (t) => b.value = t),
96
+ "disable-space-handler": "",
97
+ class: "!uikit-static",
98
+ "dropdown-classes": "uikit-left-0 !uikit-shadow-none uikit-top-[70px] !uikit-border-none !uikit-rounded-none",
99
+ "onUpdate:selectedIdx": e[6] || (e[6] = (t) => d.value = i.rightSelectOptions[t]),
100
+ "onUpdate:dropdownState": e[7] || (e[7] = (t) => g.value = t)
101
+ }, {
102
+ btn_slot: u(({ toggleDropdown: t, setActiveIdx: o }) => [
103
+ p(B, {
104
+ "model-value": d.value.label,
105
+ "label-text": "Max",
106
+ onClick: (l) => {
107
+ l.stopPropagation(), g.value || t(), v.value && (m.value = !0);
108
+ },
109
+ onKeyup: (l) => o(-1),
110
+ "onUpdate:modelValue": e[4] || (e[4] = (l) => {
111
+ d.value = $(l);
112
+ })
113
+ }, null, 8, ["model-value", "onClick", "onKeyup"])
114
+ ]),
115
+ default: u(({ activeIdx: t, toggleDropdown: o, setActiveIdx: l }) => [
116
+ (r(!0), w(h, null, D(i.rightSelectOptions, (s, n) => (r(), U(L, {
117
+ key: `left-option-${n}`,
118
+ class: "uikit-rounded-3xs uikit-p-xs uikit-text-16",
119
+ active: t === n,
120
+ onClick: (c) => {
121
+ d.value = s, o();
122
+ },
123
+ onMouseover: (c) => l(n)
124
+ }, {
125
+ default: u(() => [
126
+ x(V(s.label), 1)
127
+ ]),
128
+ _: 2
129
+ }, 1032, ["active", "onClick", "onMouseover"]))), 128))
130
+ ]),
131
+ _: 1
132
+ }, 8, ["toggle-dropdown"])
133
+ ]),
134
+ M("div", F, [
135
+ P(i.$slots, "submitBtn", {}, () => [
136
+ p(R, {
137
+ class: "uikit-w-full",
138
+ onClick: e[8] || (e[8] = (t) => N("submit", t))
139
+ }, {
140
+ default: u(() => [
141
+ x(V(i.submitBtnLabel), 1)
142
+ ]),
143
+ _: 1
144
+ })
145
+ ])
146
+ ])
147
+ ]));
148
+ }
149
+ });
150
+ export {
151
+ Q as default
152
+ };
@@ -0,0 +1,65 @@
1
+ import { defineComponent as x, mergeModels as u, useCssVars as C, computed as v, useModel as w, useId as y, watch as S, createElementBlock as a, openBlock as d, createCommentVNode as V, createElementVNode as O, normalizeClass as c, unref as m, toDisplayString as p, Fragment as z, renderList as E } from "vue";
2
+ const B = { class: "select-wrapper" }, D = ["for"], M = ["id"], N = ["data-idx", "selected"], I = /* @__PURE__ */ x({
3
+ __name: "NativeSelect",
4
+ props: /* @__PURE__ */ u({
5
+ labelText: { default: "" },
6
+ options: { default: () => [] },
7
+ border: { type: Boolean, default: !0 },
8
+ labelClasses: {},
9
+ arrowSize: { default: 16 }
10
+ }, {
11
+ modelValue: {
12
+ default: () => ({
13
+ id: -1,
14
+ label: ""
15
+ })
16
+ },
17
+ modelModifiers: {}
18
+ }),
19
+ emits: /* @__PURE__ */ u(["change"], ["update:modelValue"]),
20
+ setup(o, { emit: f }) {
21
+ C((e) => ({
22
+ f3734614: k.value
23
+ }));
24
+ const s = w(o, "modelValue"), b = f, n = y(), k = v(() => `${o.arrowSize}px`), g = ({ target: e }) => {
25
+ const i = (e.selectedOptions?.[0]).dataset.idx;
26
+ if (i === void 0) return;
27
+ const h = o.options[i];
28
+ s.value = h;
29
+ }, r = (e, t) => e.id === t?.id || e.label === t?.label;
30
+ return S(
31
+ s,
32
+ (e) => {
33
+ const t = o.options.find(
34
+ (l) => r(l, e)
35
+ );
36
+ t && (s.value = t);
37
+ },
38
+ { immediate: !0 }
39
+ ), (e, t) => (d(), a("div", B, [
40
+ e.labelText ? (d(), a("label", {
41
+ key: 0,
42
+ for: m(n),
43
+ class: c(["uikit-block", e.labelClasses])
44
+ }, p(e.labelText), 11, D)) : V("", !0),
45
+ O("select", {
46
+ id: m(n),
47
+ class: c(["uikit-cursor-pointer uikit-bg-white uikit-pr-xl uikit-text-16 uikit-font-regular", {
48
+ "uikit-rounded-2xs uikit-border uikit-border-solid uikit-border-w-lightgray uikit-py-md uikit-pl-sm": e.border
49
+ }]),
50
+ onChange: t[0] || (t[0] = (l) => {
51
+ b("change", l), g(l);
52
+ })
53
+ }, [
54
+ (d(!0), a(z, null, E(e.options, (l, i) => (d(), a("option", {
55
+ key: `option-${i}`,
56
+ "data-idx": i,
57
+ selected: r(l, s.value)
58
+ }, p(l.label), 9, N))), 128))
59
+ ], 42, M)
60
+ ]));
61
+ }
62
+ });
63
+ export {
64
+ I as default
65
+ };
@@ -0,0 +1,21 @@
1
+ import { defineComponent as a, createBlock as o, openBlock as n, unref as t, withCtx as i, createVNode as u, renderSlot as r } from "vue";
2
+ import { NavigationMenuRoot as s, NavigationMenuList as l } from "reka-ui";
3
+ const x = /* @__PURE__ */ a({
4
+ __name: "NavigationBar",
5
+ setup(f) {
6
+ return (e, k) => (n(), o(t(s), null, {
7
+ default: i(() => [
8
+ u(t(l), { class: "uikit-navigation-bar-shadow uikit-mx-2xs uikit-flex uikit-w-fit uikit-list-none uikit-gap-x-xs uikit-p-xs uikit-text" }, {
9
+ default: i(() => [
10
+ r(e.$slots, "default")
11
+ ]),
12
+ _: 3
13
+ })
14
+ ]),
15
+ _: 3
16
+ }));
17
+ }
18
+ });
19
+ export {
20
+ x as default
21
+ };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as l, createBlock as k, openBlock as p, unref as e, withCtx as a, createVNode as c, normalizeClass as o, renderSlot as u, withDirectives as m, createElementVNode as d, vShow as f } from "vue";
2
+ import { NavigationMenuItem as v, NavigationMenuLink as b } from "reka-ui";
3
+ const x = /* @__PURE__ */ l({
4
+ __name: "NavigationBarItem",
5
+ props: {
6
+ as: { type: [Object, Function, String], default: "a" },
7
+ activeBorderPosition: {},
8
+ active: { type: Boolean, default: !1 },
9
+ href: {},
10
+ value: {}
11
+ },
12
+ emits: ["select"],
13
+ setup(h, { emit: s }) {
14
+ const r = s;
15
+ return (t, i) => (p(), k(e(v), null, {
16
+ default: a(() => [
17
+ c(e(b), {
18
+ as: t.as,
19
+ class: o([
20
+ "uikit-relative uikit-flex uikit-min-w-[56px] uikit-flex-col uikit-items-center uikit-gap-y-2xs uikit-bg-transparent hover:uikit-cursor-pointer data-[active]:uikit-font-medium data-[active]:uikit-text-w-blue",
21
+ t.activeBorderPosition === "top" ? "uikit-pb-2xs uikit-pt-sm" : "uikit-pb-sm uikit-pt-2xs"
22
+ ]),
23
+ active: t.active,
24
+ href: t.href,
25
+ onSelect: i[0] || (i[0] = (n) => r("select", n))
26
+ }, {
27
+ default: a(() => [
28
+ u(t.$slots, "icon"),
29
+ u(t.$slots, "label"),
30
+ m(d("div", {
31
+ class: o([
32
+ "uikit-absolute uikit-left-1/2 uikit-h-2xs uikit-w-[56px] -uikit-translate-x-1/2 uikit-bg-w-blue",
33
+ t.activeBorderPosition === "top" ? "uikit-top-0 uikit-rounded-t-3xs" : "uikit-bottom-0 uikit-rounded-b-3xs"
34
+ ])
35
+ }, null, 2), [
36
+ [f, t.active]
37
+ ])
38
+ ]),
39
+ _: 3
40
+ }, 8, ["as", "class", "active", "href"])
41
+ ]),
42
+ _: 3
43
+ }));
44
+ }
45
+ });
46
+ export {
47
+ x as default
48
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as k, useId as m, computed as c, createElementBlock as p, openBlock as b, withModifiers as l, createElementVNode as n, normalizeClass as u, createTextVNode as f, toDisplayString as h } from "vue";
2
- const C = ["id", "name", "checked"], V = ["for"], y = /* @__PURE__ */ k({
1
+ import { defineComponent as k, useId as m, computed as c, createElementBlock as b, openBlock as f, withModifiers as l, createElementVNode as n, normalizeClass as s, createTextVNode as p, toDisplayString as h } from "vue";
2
+ const C = ["id", "name", "checked"], g = ["for"], v = /* @__PURE__ */ k({
3
3
  __name: "RadioButton",
4
4
  props: {
5
5
  id: {},
@@ -11,7 +11,7 @@ const C = ["id", "name", "checked"], V = ["for"], y = /* @__PURE__ */ k({
11
11
  },
12
12
  emits: ["change", "update:modelValue"],
13
13
  setup(i, { emit: d }) {
14
- const o = d, a = m(), s = c(() => `${i.id ?? a}`), r = () => {
14
+ const o = d, a = m(), u = c(() => `${i.id ?? a}`), r = () => {
15
15
  if (i.modelValue) return;
16
16
  const e = {
17
17
  id: i.id ?? a,
@@ -20,12 +20,12 @@ const C = ["id", "name", "checked"], V = ["for"], y = /* @__PURE__ */ k({
20
20
  };
21
21
  o("change", e), o("update:modelValue", !i.modelValue);
22
22
  };
23
- return (e, t) => (b(), p("div", {
23
+ return (e, t) => (f(), b("div", {
24
24
  class: "uikit-inline-block",
25
25
  onClick: l(r, ["stop"])
26
26
  }, [
27
27
  n("input", {
28
- id: s.value,
28
+ id: u.value,
29
29
  ref: "checkbox",
30
30
  type: "radio",
31
31
  class: "uikit-pointer-events-none uikit-hidden",
@@ -37,22 +37,22 @@ const C = ["id", "name", "checked"], V = ["for"], y = /* @__PURE__ */ k({
37
37
  }, ["prevent"]))
38
38
  }, null, 40, C),
39
39
  n("label", {
40
- class: u([e.labelClasses, "uikit-flex uikit-cursor-pointer uikit-items-center uikit-text-sm"]),
41
- for: s.value
40
+ class: s([e.labelClasses, "uikit-inline-flex uikit-cursor-pointer uikit-items-center uikit-gap-x-sm uikit-text-16"]),
41
+ for: u.value
42
42
  }, [
43
43
  n("span", {
44
- class: u(["uikit-flex-no-shrink uikit-mr-2 uikit-inline-block uikit-h-4 uikit-w-4 uikit-transform uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-transition-colors uikit-duration-200", [
44
+ class: s(["uikit-flex-no-shrink uikit-inline-block uikit-size-[20px] uikit-transform uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-lightgray uikit-transition-colors uikit-duration-200", [
45
45
  {
46
- "checked uikit-border-w-primary uikit-bg-w-primary uikit-shadow-[0_0_0_2px_white_inset]": e.modelValue
46
+ "checked uikit-border-w-blue uikit-bg-w-blue uikit-shadow-[0_0_0_3px_white_inset]": e.modelValue
47
47
  },
48
48
  e.inputClasses
49
49
  ]])
50
50
  }, null, 2),
51
- f(" " + h(e.label), 1)
52
- ], 10, V)
51
+ p(" " + h(e.label), 1)
52
+ ], 10, g)
53
53
  ]));
54
54
  }
55
55
  });
56
56
  export {
57
- y as _
57
+ v as default
58
58
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, mergeModels as d, useModel as C, ref as h, watch as $, renderSlot as u, createElementVNode as V, normalizeClass as c, createElementBlock as k, openBlock as m, Fragment as R, renderList as g, createBlock as y } from "vue";
2
- import { _ } from "./RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js";
3
- const b = ["data-cy"], w = /* @__PURE__ */ p({
2
+ import b from "./RadioButton.vue.js";
3
+ const B = ["data-cy"], w = /* @__PURE__ */ p({
4
4
  inheritAttrs: !1,
5
5
  __name: "RadioGroup",
6
6
  props: /* @__PURE__ */ d({
@@ -28,7 +28,7 @@ const b = ["data-cy"], w = /* @__PURE__ */ p({
28
28
  }
29
29
  })(), $(n, (e) => {
30
30
  e && t();
31
- }), (e, M) => u(e.$slots, "default", {
31
+ }), (e, _) => u(e.$slots, "default", {
32
32
  handleClick: l,
33
33
  activeValue: a.value,
34
34
  reset: t,
@@ -44,7 +44,7 @@ const b = ["data-cy"], w = /* @__PURE__ */ p({
44
44
  reset: t,
45
45
  isActive: r
46
46
  }, () => [
47
- (m(!0), k(R, null, g(e.radioValues, (s, v) => (m(), y(_, {
47
+ (m(!0), k(R, null, g(e.radioValues, (s, v) => (m(), y(b, {
48
48
  id: s.id,
49
49
  key: v,
50
50
  class: c(e.radioContainerClasses),
@@ -53,10 +53,10 @@ const b = ["data-cy"], w = /* @__PURE__ */ p({
53
53
  onChange: l
54
54
  }, null, 8, ["id", "class", "label", "model-value"]))), 128))
55
55
  ])
56
- ], 10, b)
56
+ ], 10, B)
57
57
  ]);
58
58
  }
59
59
  });
60
60
  export {
61
- w as _
61
+ w as default
62
62
  };
@@ -0,0 +1,93 @@
1
+ import { defineComponent as g, mergeModels as c, useModel as k, createBlock as m, openBlock as a, unref as h, normalizeClass as y, withCtx as d, createElementBlock as p, Fragment as v, renderList as I, renderSlot as C, createTextVNode as M, toDisplayString as V } from "vue";
2
+ import { ToggleGroupRoot as b } from "reka-ui";
3
+ import S from "./SegmentedControlItem.vue.js";
4
+ const E = /* @__PURE__ */ g({
5
+ __name: "SegmentedControl",
6
+ props: /* @__PURE__ */ c({
7
+ items: { default: () => [] },
8
+ type: { default: "single" }
9
+ }, {
10
+ modelValue: {
11
+ required: !0
12
+ },
13
+ modelModifiers: {}
14
+ }),
15
+ emits: ["update:modelValue"],
16
+ setup(i) {
17
+ const o = k(i, "modelValue");
18
+ let u = null, r = null;
19
+ const s = (e = 0, l = 0) => {
20
+ u = e, r = l;
21
+ const t = [];
22
+ for (let n = e; n <= l; n++)
23
+ t.push(i.items[n]);
24
+ o.value = t;
25
+ }, f = (e = 0) => {
26
+ if (i.type === "single") {
27
+ o.value = i.items[e];
28
+ return;
29
+ }
30
+ if (i.items[e].single) {
31
+ u = null, r = null, o.value = [i.items[e]];
32
+ return;
33
+ }
34
+ if (u === null && r === null) {
35
+ s(e, i.items.length);
36
+ return;
37
+ }
38
+ const l = Math.min(u ?? 1 / 0, r ?? 1 / 0), t = Math.max(
39
+ u ?? -1 / 0,
40
+ r ?? -1 / 0
41
+ );
42
+ if (e < l) {
43
+ s(e, t);
44
+ return;
45
+ }
46
+ if (e > t) {
47
+ s(l, e);
48
+ return;
49
+ }
50
+ if (e === l || e === t) {
51
+ s(e, e);
52
+ return;
53
+ }
54
+ s(l, e);
55
+ };
56
+ return (e, l) => (a(), m(h(b), {
57
+ type: e.type,
58
+ class: y([
59
+ "uikit-rounded-2xs uikit-border uikit-border-solid uikit-border-w-lightgray uikit-text-16",
60
+ {
61
+ "uikit-grid uikit-grid-cols-2": e.items.length === 2
62
+ },
63
+ {
64
+ "uikit-grid uikit-grid-cols-3": e.items.length === 3
65
+ },
66
+ {
67
+ "uikit-flex *:uikit-px-md *:uikit-py-sm [&_>_*:first-child]:uikit-px-sm [&_>_*:last-child]:uikit-px-sm": e.items.length === 6
68
+ }
69
+ ]),
70
+ "model-value": o.value
71
+ }, {
72
+ default: d(() => [
73
+ (a(!0), p(v, null, I(e.items, (t, n) => (a(), m(S, {
74
+ key: `segmented-control-item-${n}`,
75
+ theme: e.items.length === 6 ? "square" : "rounded",
76
+ value: t,
77
+ onClick: ($) => f(n)
78
+ }, {
79
+ default: d(() => [
80
+ C(e.$slots, "item", {}, () => [
81
+ M(V(t.label), 1)
82
+ ])
83
+ ]),
84
+ _: 2
85
+ }, 1032, ["theme", "value", "onClick"]))), 128))
86
+ ]),
87
+ _: 3
88
+ }, 8, ["type", "class", "model-value"]));
89
+ }
90
+ });
91
+ export {
92
+ E as default
93
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent as t, createBlock as i, openBlock as a, unref as u, normalizeClass as o, withCtx as r, renderSlot as s } from "vue";
2
+ import { ToggleGroupItem as d } from "reka-ui";
3
+ const m = /* @__PURE__ */ t({
4
+ __name: "SegmentedControlItem",
5
+ props: {
6
+ value: {},
7
+ as: {},
8
+ theme: { default: "rounded" }
9
+ },
10
+ setup(n) {
11
+ return (e, l) => (a(), i(u(d), {
12
+ value: e.value,
13
+ as: e.as,
14
+ class: o(["uikit-h-[46px] uikit-w-full uikit-appearance-none uikit-bg-transparent uikit-outline-none [font-size:inherit] focus-visible:uikit-shadow-[0_0_0_2px_#2b5dff] data-[active]:uikit-border data-[active]:uikit-border-solid data-[active]:uikit-border-w-blue data-[active]:uikit-bg-w-ghost data-[active]:uikit-font-medium data-[active]:uikit-text-w-blue", [
15
+ { "uikit-rounded-2xs": e.theme === "rounded" },
16
+ {
17
+ "first:uikit-rounded-l-2xs last:uikit-rounded-r-2xs": e.theme === "square"
18
+ }
19
+ ]])
20
+ }, {
21
+ default: r(() => [
22
+ s(e.$slots, "default")
23
+ ]),
24
+ _: 3
25
+ }, 8, ["value", "as", "class"]));
26
+ }
27
+ });
28
+ export {
29
+ m as default
30
+ };
@@ -0,0 +1,22 @@
1
+ import { defineComponent as i, createElementBlock as s, openBlock as l, normalizeStyle as r, normalizeClass as t, createElementVNode as a, renderSlot as o } from "vue";
2
+ const d = /* @__PURE__ */ i({
3
+ inheritAttrs: !1,
4
+ __name: "BaseShimmerLoader",
5
+ props: {
6
+ shimmerClasses: { default: "" }
7
+ },
8
+ setup(u) {
9
+ return (e, m) => (l(), s("div", {
10
+ class: t(["uikit-shimmer-loader uikit-relative uikit-overflow-hidden uikit-rounded-3xs uikit-bg-w-cultured", e.$attrs.class]),
11
+ style: r(e.$attrs.style)
12
+ }, [
13
+ a("div", {
14
+ class: t(["shimmer uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-top-0 uikit-h-full -uikit-translate-x-full", e.shimmerClasses])
15
+ }, null, 2),
16
+ o(e.$slots, "default")
17
+ ], 6));
18
+ }
19
+ });
20
+ export {
21
+ d as default
22
+ };