@wikicasa-dev/components 2.10.0 → 3.0.0-alpha.2

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 (324) hide show
  1. package/dist/UIKit/AccessibleSelect.js +1 -2
  2. package/dist/UIKit/AccessibleSelect.vue.js +75 -76
  3. package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +5 -3
  4. package/dist/UIKit/Accordion/AccordionContentPrimitive.js +1 -2
  5. package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +6 -3
  6. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +1 -2
  7. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +6 -3
  8. package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +9 -2
  9. package/dist/UIKit/Accordion/AccordionItemPrimitive.js +1 -2
  10. package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +12 -9
  11. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +1 -2
  12. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +6 -3
  13. package/dist/UIKit/Accordion/BaseAccordion.d.ts +6 -0
  14. package/dist/UIKit/Accordion/BaseAccordion.js +1 -2
  15. package/dist/UIKit/Accordion/BaseAccordion.vue.js +18 -6
  16. package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -2
  17. package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +34 -28
  18. package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +1 -2
  19. package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +84 -97
  20. package/dist/UIKit/BaseAlert.d.ts +5 -3
  21. package/dist/UIKit/BaseAlert.js +1 -2
  22. package/dist/UIKit/BaseAlert.vue.js +1 -2
  23. package/dist/UIKit/BaseAutocomplete.js +1 -2
  24. package/dist/UIKit/BaseAutocomplete.vue.js +65 -72
  25. package/dist/UIKit/BaseBadge.d.ts +5 -3
  26. package/dist/UIKit/BaseBadge.js +1 -2
  27. package/dist/UIKit/BaseBadge.vue.js +1 -2
  28. package/dist/UIKit/BaseBreadcrumb.d.ts +9 -7
  29. package/dist/UIKit/BaseBreadcrumb.js +1 -2
  30. package/dist/UIKit/BaseBreadcrumb.vue.js +1 -2
  31. package/dist/UIKit/BaseButton.js +1 -2
  32. package/dist/UIKit/BaseButton.vue.js +26 -27
  33. package/dist/UIKit/BaseComplexToggle.js +4 -5
  34. package/dist/UIKit/BaseComplexToggle.vue.js +2 -13
  35. package/dist/UIKit/BaseDropDown.d.ts +27 -20
  36. package/dist/UIKit/BaseDropDown.js +1 -2
  37. package/dist/UIKit/BaseDropDown.vue.js +48 -49
  38. package/dist/UIKit/BaseFloatingLabel.js +4 -5
  39. package/dist/UIKit/BaseFloatingLabel.vue.js +1 -2
  40. package/dist/UIKit/BaseInput.js +4 -5
  41. package/dist/UIKit/BaseInput.vue.js +65 -66
  42. package/dist/UIKit/BaseModal.d.ts +22 -15
  43. package/dist/UIKit/BaseModal.js +1 -2
  44. package/dist/UIKit/BaseModal.vue.js +50 -56
  45. package/dist/UIKit/BasePagination.js +1 -2
  46. package/dist/UIKit/BasePagination.vue.js +9 -3
  47. package/dist/UIKit/BaseSelect/SelectItem.d.ts +10 -5
  48. package/dist/UIKit/BaseSelect/SelectItem.js +1 -2
  49. package/dist/UIKit/BaseSelect/SelectItem.vue.js +1 -2
  50. package/dist/UIKit/BaseSlider.js +4 -5
  51. package/dist/UIKit/BaseSlider.vue.js +29 -32
  52. package/dist/UIKit/BaseSnackbar.js +1 -2
  53. package/dist/UIKit/BaseSnackbar.vue.js +19 -24
  54. package/dist/UIKit/BaseTextarea.js +4 -5
  55. package/dist/UIKit/BaseTextarea.vue.js +51 -52
  56. package/dist/UIKit/BaseToggle.d.ts +7 -5
  57. package/dist/UIKit/BaseToggle.js +1 -2
  58. package/dist/UIKit/BaseToggle.vue.js +1 -2
  59. package/dist/UIKit/BaseTooltip.d.ts +8 -6
  60. package/dist/UIKit/BaseTooltip.js +4 -5
  61. package/dist/UIKit/BaseTooltip.vue.js +1 -2
  62. package/dist/UIKit/BaseUploadFile.d.ts +7 -5
  63. package/dist/UIKit/BaseUploadFile.js +1 -2
  64. package/dist/UIKit/BaseUploadFile.vue.js +26 -27
  65. package/dist/UIKit/Card/BaseCard.js +1 -2
  66. package/dist/UIKit/Card/BaseCard.vue.js +2 -2
  67. package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +5 -3
  68. package/dist/UIKit/Card/CardDescriptionPrimitive.js +6 -7
  69. package/dist/UIKit/Card/CardImagePrimitive.d.ts +5 -3
  70. package/dist/UIKit/Card/CardImagePrimitive.js +1 -2
  71. package/dist/UIKit/Card/CardImagePrimitive.vue.js +7 -8
  72. package/dist/UIKit/Card/CardRootPrimitive.js +1 -2
  73. package/dist/UIKit/Card/CardRootPrimitive.vue.js +11 -11
  74. package/dist/UIKit/Card/type.js +1 -2
  75. package/dist/UIKit/Checkbox/CheckboxBtn.js +1 -2
  76. package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +6 -7
  77. package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -2
  78. package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +39 -46
  79. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +1 -2
  80. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +21 -32
  81. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +1 -1
  82. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +1 -2
  83. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +7 -3
  84. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +1 -2
  85. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +8 -3
  86. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +1 -2
  87. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +6 -3
  88. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +72 -7
  89. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +1 -2
  90. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +6 -3
  91. package/dist/UIKit/Radio/RadioButton.js +1 -2
  92. package/dist/UIKit/Radio/RadioButton.vue.js +1 -2
  93. package/dist/UIKit/Radio/RadioGroup.js +1 -2
  94. package/dist/UIKit/Radio/RadioGroup.vue.js +23 -24
  95. package/dist/UIKit/Radio/v2/RadioButtonGroup.js +1 -2
  96. package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +17 -14
  97. package/dist/UIKit/Radio/v2/RadioButtonItem.js +1 -2
  98. package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +6 -3
  99. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +9 -3
  100. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +1 -2
  101. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +6 -3
  102. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +4 -5
  103. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +1 -2
  104. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -2
  105. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +12 -13
  106. package/dist/UIKit/Slider/SimpleSlider.js +4 -5
  107. package/dist/UIKit/Slider/SimpleSlider.vue.js +1 -2
  108. package/dist/UIKit/StaticSpinner.js +1 -2
  109. package/dist/UIKit/StaticSpinner.vue.js +1 -2
  110. package/dist/UIKit/Tab/BaseTab.d.ts +5 -3
  111. package/dist/UIKit/Tab/BaseTab.js +1 -2
  112. package/dist/UIKit/Tab/BaseTab.vue.js +1 -2
  113. package/dist/UIKit/Tab/BaseTabList.js +1 -2
  114. package/dist/UIKit/Tab/BaseTabList.vue.js +1 -2
  115. package/dist/UIKit/Tab/BaseTabPanel.d.ts +5 -3
  116. package/dist/UIKit/Tab/BaseTabPanel.js +1 -2
  117. package/dist/UIKit/Tab/BaseTabPanel.vue.js +1 -2
  118. package/dist/UIKit/Tab/BaseTabView.js +1 -2
  119. package/dist/UIKit/Tab/BaseTabView.vue.js +36 -37
  120. package/dist/UIKit/Tab/v2/BaseTabs.d.ts +6 -0
  121. package/dist/UIKit/Tab/v2/BaseTabs.js +1 -2
  122. package/dist/UIKit/Tab/v2/BaseTabs.vue.js +13 -6
  123. package/dist/UIKit/Tab/v2/BaseTabsContent.js +1 -2
  124. package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +6 -3
  125. package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +1 -2
  126. package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +6 -3
  127. package/dist/UIKit/Tab/v2/BaseTabsList.js +1 -2
  128. package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +6 -3
  129. package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +1 -2
  130. package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +6 -3
  131. package/dist/UIKit/frameUtils.js +1 -2
  132. package/dist/UIKit/useScrollLock.js +2 -3
  133. package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
  134. package/dist/chart/DoughnutChart.js +1 -2
  135. package/dist/chart/DoughnutChart.vue.js +14 -15
  136. package/dist/chart/LineChart.js +1 -2
  137. package/dist/chart/LineChart.vue.js +16 -17
  138. package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +7 -5
  139. package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -2
  140. package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +1 -2
  141. package/dist/components/IntersectionObserver/IntersectionObserver.d.ts +31 -29
  142. package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -2
  143. package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +2 -7
  144. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +1 -2
  145. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +16 -17
  146. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +14 -9
  147. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +1 -2
  148. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +12 -13
  149. package/dist/components/IntersectionObserver/v2/types.js +1 -2
  150. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +4 -4
  151. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +13 -14
  152. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +1 -2
  153. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +12 -13
  154. package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +5 -3
  155. package/dist/components/carousel/Primitive/SwiperPrimitive.js +1 -2
  156. package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +1 -2
  157. package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -6
  158. package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +39 -40
  159. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +1 -2
  160. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +13 -14
  161. package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.js +1 -2
  162. package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.vue.js +27 -28
  163. package/dist/components/carousel/Primitive/deferredImages.js +1 -2
  164. package/dist/components/carousel/SwiperCarousel.d.ts +14 -7
  165. package/dist/components/carousel/SwiperCarousel.js +4 -5
  166. package/dist/components/carousel/SwiperCarousel.vue.js +82 -83
  167. package/dist/components/carousel/SwiperSlide.d.ts +5 -3
  168. package/dist/components/carousel/SwiperSlide.js +6 -7
  169. package/dist/composables/mock.js +1 -2
  170. package/dist/composables/useFloatingLabel.js +2 -7
  171. package/dist/composables/useValidator.js +1 -2
  172. package/dist/css/BaseAccordionItem.css +1 -0
  173. package/dist/{assets/BaseInput2.css → css/BaseInput.css} +1 -1
  174. package/dist/css/BaseModal.css +1 -0
  175. package/dist/css/BaseSlider.css +1 -0
  176. package/dist/css/BaseSnackbar.css +1 -0
  177. package/dist/{assets → css}/ClearableAutocomplete.css +1 -1
  178. package/dist/css/SwiperCarousel.css +1 -0
  179. package/dist/css/SwiperNavigationPrimitive.css +1 -0
  180. package/dist/css/SwiperRootPrimitive.css +1 -0
  181. package/dist/docs/AccessibleSelect.md +3 -1
  182. package/dist/docs/AccordionContentPrimitive.md +1 -1
  183. package/dist/docs/AccordionHeaderPrimitive.md +1 -1
  184. package/dist/docs/AccordionItemPrimitive.md +3 -3
  185. package/dist/docs/AccordionTriggerPrimitive.md +1 -1
  186. package/dist/docs/BaseAccordion.md +3 -3
  187. package/dist/docs/BaseAccordionItem.md +3 -1
  188. package/dist/docs/BaseAlert.md +3 -1
  189. package/dist/docs/BaseAutocomplete.md +3 -1
  190. package/dist/docs/BaseBadge.md +3 -1
  191. package/dist/docs/BaseBreadcrumb.md +1 -1
  192. package/dist/docs/BaseButton.md +1 -1
  193. package/dist/docs/BaseCard.md +3 -1
  194. package/dist/docs/BaseComplexToggle.md +3 -1
  195. package/dist/docs/BaseDropDown.md +3 -1
  196. package/dist/docs/BaseFloatingLabel.md +3 -1
  197. package/dist/docs/BaseInput.md +3 -1
  198. package/dist/docs/BaseModal.md +3 -1
  199. package/dist/docs/BasePagination.md +1 -1
  200. package/dist/docs/BaseShimmerLoader.md +3 -1
  201. package/dist/docs/BaseSlider.md +3 -1
  202. package/dist/docs/BaseSnackbar.md +4 -2
  203. package/dist/docs/BaseTab.md +1 -1
  204. package/dist/docs/BaseTabView.md +1 -1
  205. package/dist/docs/BaseTabs.md +4 -2
  206. package/dist/docs/BaseTabsContent.md +1 -1
  207. package/dist/docs/BaseTabsIndicator.md +3 -1
  208. package/dist/docs/BaseTabsList.md +1 -1
  209. package/dist/docs/BaseTabsTrigger.md +1 -1
  210. package/dist/docs/BaseTextarea.md +3 -1
  211. package/dist/docs/BaseToggle.md +1 -1
  212. package/dist/docs/BaseTooltip.md +3 -1
  213. package/dist/docs/BaseUploadFile.md +1 -1
  214. package/dist/docs/CardDescriptionPrimitive.md +1 -1
  215. package/dist/docs/CardImagePrimitive.md +1 -1
  216. package/dist/docs/CardRootPrimitive.md +3 -1
  217. package/dist/docs/CheckboxBtn.md +3 -1
  218. package/dist/docs/CheckboxButtonGroup.md +1 -1
  219. package/dist/docs/CheckboxGroup.md +1 -1
  220. package/dist/docs/CheckboxGroupItemPrimitive.md +6 -5
  221. package/dist/docs/CheckboxGroupPrimitive.md +3 -1
  222. package/dist/docs/ClearableAutocomplete.md +3 -1
  223. package/dist/docs/DoughnutChart.md +1 -1
  224. package/dist/docs/INDEX.md +2 -2
  225. package/dist/docs/IntersectionObservable.md +1 -1
  226. package/dist/docs/IntersectionObserver.md +1 -1
  227. package/dist/docs/IntersectionObserverProvider.md +1 -1
  228. package/dist/docs/IntersectionObserverTarget.md +1 -1
  229. package/dist/docs/LineChart.md +1 -1
  230. package/dist/docs/ProgressIndicatorPrimitive.md +1 -1
  231. package/dist/docs/ProgressRootPrimitive.md +2 -2
  232. package/dist/docs/RadioButton.md +1 -1
  233. package/dist/docs/RadioButtonGroup.md +1 -1
  234. package/dist/docs/RadioButtonItem.md +3 -1
  235. package/dist/docs/RadioGroup.md +1 -1
  236. package/dist/docs/RadioGroupItemPrimitive.md +1 -1
  237. package/dist/docs/SelectItem.md +1 -1
  238. package/dist/docs/ShimmerMultiLine.md +1 -1
  239. package/dist/docs/SimpleSlider.md +3 -1
  240. package/dist/docs/StaticSpinner.md +3 -1
  241. package/dist/docs/SwiperCarousel.md +3 -1
  242. package/dist/docs/SwiperNavigationPrimitive.md +3 -1
  243. package/dist/docs/SwiperPaginationPrimitive.md +3 -1
  244. package/dist/docs/SwiperPrimitive.md +1 -1
  245. package/dist/docs/SwiperRootPrimitive.md +3 -1
  246. package/dist/docs/SwiperSlide.md +1 -1
  247. package/dist/docs/SwiperSlideImagePrimitive.md +3 -1
  248. package/dist/docs/SwiperThumbnailPrimitive.md +1 -1
  249. package/dist/docs/TOKENS.md +1 -1
  250. package/dist/docs/agent-index.md +1 -1
  251. package/dist/index.js +25 -25
  252. package/dist/lazyModules/ChartJs/Chart.js +1 -2
  253. package/dist/lazyModules/ChartJs/DoughnutChart/core.js +1 -2
  254. package/dist/lazyModules/ChartJs/LineChart/cartesian.js +1 -2
  255. package/dist/lazyModules/ChartJs/LineChart/core.js +1 -2
  256. package/dist/lazyModules/ChartJs/Plugins/Legend.js +1 -2
  257. package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +2 -3
  258. package/dist/lazyModules/ChartJs/Plugins/Title.js +1 -2
  259. package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +1 -2
  260. package/dist/lazyModules/Swiper/Autoplay/factory.js +1 -2
  261. package/dist/lazyModules/Swiper/Autoplay/index.js +2 -3
  262. package/dist/lazyModules/Swiper/Controller/factory.js +1 -2
  263. package/dist/lazyModules/Swiper/Controller/index.js +2 -3
  264. package/dist/lazyModules/Swiper/FreeMode/factory.js +1 -2
  265. package/dist/lazyModules/Swiper/FreeMode/index.js +2 -3
  266. package/dist/lazyModules/Swiper/Keyboard/factory.js +1 -2
  267. package/dist/lazyModules/Swiper/Keyboard/index.js +2 -3
  268. package/dist/lazyModules/Swiper/Navigation/factory.js +1 -2
  269. package/dist/lazyModules/Swiper/Navigation/index.js +2 -3
  270. package/dist/lazyModules/Swiper/Pagination/factory.js +1 -2
  271. package/dist/lazyModules/Swiper/Pagination/index.js +2 -3
  272. package/dist/lazyModules/Swiper/Thumbs/factory.js +1 -2
  273. package/dist/lazyModules/Swiper/Thumbs/index.js +2 -3
  274. package/dist/lazyModules/Swiper/Zoom/factory.js +1 -2
  275. package/dist/lazyModules/Swiper/Zoom/index.js +2 -3
  276. package/dist/lazyModules/Swiper/factory.js +1 -2
  277. package/dist/lazyModules/Swiper/index.js +2 -3
  278. package/dist/lazyModules/VueChartJs/Doughnut/factory.js +1 -2
  279. package/dist/lazyModules/VueChartJs/Doughnut/index.js +1 -2
  280. package/dist/lazyModules/VueChartJs/Line/factory.js +1 -2
  281. package/dist/lazyModules/VueChartJs/Line/index.js +1 -2
  282. package/dist/utils.js +1 -2
  283. package/package.json +31 -31
  284. package/dist/assets/BaseAccordionItem.css +0 -1
  285. package/dist/assets/BaseSlider2.css +0 -1
  286. package/dist/assets/BaseSnackbar.css +0 -1
  287. package/dist/assets/SwiperCarousel.css +0 -1
  288. package/dist/assets/SwiperRootPrimitive.css +0 -1
  289. package/dist/assets/SwiperRootPrimitive2.css +0 -1
  290. package/dist/assets/baseComplexToggle.css +0 -1
  291. package/dist/assets/baseFloatingLabel.css +0 -1
  292. package/dist/assets/baseInput.css +0 -1
  293. package/dist/assets/baseModal.css +0 -1
  294. package/dist/assets/baseSlider.css +0 -1
  295. package/dist/assets/baseSpinner.css +0 -1
  296. package/dist/assets/baseTextarea.css +0 -1
  297. package/dist/assets/baseTooltip.css +0 -1
  298. package/dist/assets/swiper-autoplay.css +0 -1
  299. /package/dist/{assets → css}/AccessibleSelect.css +0 -0
  300. /package/dist/{assets/baseAlert.css → css/BaseAlert.css} +0 -0
  301. /package/dist/{assets → css}/BaseAutocomplete.css +0 -0
  302. /package/dist/{assets → css}/BaseBadge.css +0 -0
  303. /package/dist/{assets/baseCard.css → css/BaseCard.css} +0 -0
  304. /package/dist/{assets/BaseComplexToggle2.css → css/BaseComplexToggle.css} +0 -0
  305. /package/dist/{assets → css}/BaseDropDown.css +0 -0
  306. /package/dist/{assets/BaseFloatingLabel2.css → css/BaseFloatingLabel.css} +0 -0
  307. /package/dist/{assets → css}/BaseShimmerLoader.css +0 -0
  308. /package/dist/{assets → css}/BaseTabs.css +0 -0
  309. /package/dist/{assets → css}/BaseTabsIndicator.css +0 -0
  310. /package/dist/{assets/BaseTextarea2.css → css/BaseTextarea.css} +0 -0
  311. /package/dist/{assets/BaseTooltip2.css → css/BaseTooltip.css} +0 -0
  312. /package/dist/{assets → css}/CheckboxBtn.css +0 -0
  313. /package/dist/{assets → css}/RadioButtonItem.css +0 -0
  314. /package/dist/{assets → css}/SimpleSlider.css +0 -0
  315. /package/dist/{assets → css}/StaticSpinner.css +0 -0
  316. /package/dist/{assets/swiperPaginationBullet.css → css/SwiperPaginationPrimitive.css} +0 -0
  317. /package/dist/{assets → css}/SwiperSlideImagePrimitive.css +0 -0
  318. /package/dist/{assets → css}/swiper-free-mode.css +0 -0
  319. /package/dist/{assets → css}/swiper-navigation.css +0 -0
  320. /package/dist/{assets → css}/swiper-pagination.css +0 -0
  321. /package/dist/{assets → css}/swiper-swiper.css +0 -0
  322. /package/dist/{assets → css}/swiper-zoom.css +0 -0
  323. /package/dist/{assets → css}/tailwind.css +0 -0
  324. /package/dist/{assets → css}/tokens.css +0 -0
@@ -1,11 +1,11 @@
1
- import e from "./BaseFloatingLabel.js";
2
- import { createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, ref as c, renderSlot as l, watch as u } from "vue";
3
- //#region lib/UIKit/BaseUploadFile.vue?vue&type=script&setup=true&lang.ts
1
+ import { createBlock as e, createCommentVNode as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, ref as s, renderSlot as c, watch as l } from "vue";
2
+ import u from "./BaseFloatingLabel.js";
3
+ // lib/UIKit/BaseUploadFile.vue?vue&type=script&setup=true&lang.ts
4
4
  var d = ["innerHTML"], f = ["for"], p = [
5
5
  "id",
6
6
  "multiple",
7
7
  "accept"
8
- ], m = /*@__PURE__*/ a({
8
+ ], m = /*@__PURE__*/ i({
9
9
  inheritAttrs: !1,
10
10
  __name: "BaseUploadFile",
11
11
  props: {
@@ -21,9 +21,9 @@ var d = ["innerHTML"], f = ["for"], p = [
21
21
  legendClasses: { default: "" }
22
22
  },
23
23
  emits: ["cleared", "uploaded"],
24
- setup(a, { emit: m }) {
25
- let h = a, g = m, _ = c("");
26
- u(() => h.clear, (e) => {
24
+ setup(i, { emit: m }) {
25
+ let h = i, g = m, _ = s("");
26
+ l(() => h.clear, (e) => {
27
27
  e && (_.value = "", g("cleared"));
28
28
  });
29
29
  let v = ({ target: e }) => {
@@ -31,34 +31,33 @@ var d = ["innerHTML"], f = ["for"], p = [
31
31
  let t = e.files;
32
32
  t?.length && (_.value = t[0].name, g("uploaded", t[0]));
33
33
  };
34
- return (c, u) => (s(), r("div", { class: o(["base-upload-file-wrapper uikit-relative", [c.$attrs.class]]) }, [
35
- i("fieldset", { class: o(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-dashed uikit-border-w-secondary uikit-bg-w-lavender uikit-px-2 uikit-py-0 uikit-text-start", a.fieldsetClasses]) }, [a.labelText ? (s(), r("legend", {
34
+ return (s, l) => (o(), n("div", { class: a(["base-upload-file-wrapper uikit-relative", [s.$attrs.class]]) }, [
35
+ r("fieldset", { class: a(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-dashed uikit-border-w-secondary uikit-bg-w-lavender uikit-px-2 uikit-py-0 uikit-text-start", i.fieldsetClasses]) }, [i.labelText ? (o(), n("legend", {
36
36
  key: 0,
37
- class: o(["uikit-invisible 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", a.legendClasses])
38
- }, [i("span", {
37
+ class: a(["uikit-invisible 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", i.legendClasses])
38
+ }, [r("span", {
39
39
  class: "uikit-visible uikit-inline-block uikit-px-5px uikit-opacity-0",
40
- innerHTML: a.labelText
41
- }, null, 8, d)], 2)) : n("", !0)], 2),
42
- a.labelText ? (s(), t(e, {
40
+ innerHTML: i.labelText
41
+ }, null, 8, d)], 2)) : t("", !0)], 2),
42
+ i.labelText ? (o(), e(u, {
43
43
  key: 0,
44
- class: o(a.floatingLabelClasses),
45
- "label-text": a.labelText,
44
+ class: a(i.floatingLabelClasses),
45
+ "label-text": i.labelText,
46
46
  "label-state": "floating-label",
47
47
  "label-classes": "!-uikit-top-1"
48
- }, null, 8, ["class", "label-text"])) : n("", !0),
49
- i("label", {
50
- class: o(["upload-file-input uikit-relative uikit-z-10 uikit-flex uikit-h-12 uikit-w-full uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-xs uikit-text-sm", a.labelClasses]),
51
- for: a.id
52
- }, [i("input", {
53
- id: a.id,
54
- multiple: c.$attrs.multiple,
48
+ }, null, 8, ["class", "label-text"])) : t("", !0),
49
+ r("label", {
50
+ class: a(["upload-file-input uikit-relative uikit-z-10 uikit-flex uikit-h-12 uikit-w-full uikit-cursor-pointer uikit-items-center uikit-justify-center uikit-rounded-xs uikit-text-sm", i.labelClasses]),
51
+ for: i.id
52
+ }, [r("input", {
53
+ id: i.id,
54
+ multiple: s.$attrs.multiple,
55
55
  type: "file",
56
56
  class: "uikit-hidden",
57
- accept: c.$attrs.accept,
58
- onInput: u[0] ||= (e) => v(e)
59
- }, null, 40, p), l(c.$slots, "label", { filename: _.value })], 10, f)
57
+ accept: s.$attrs.accept,
58
+ onInput: l[0] ||= (e) => v(e)
59
+ }, null, 40, p), c(s.$slots, "label", { filename: _.value })], 10, f)
60
60
  ], 2));
61
61
  }
62
62
  });
63
- //#endregion
64
63
  export { m as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./BaseCard.vue.js";
2
- //#region lib/UIKit/Card/BaseCard.vue
2
+ // lib/UIKit/Card/BaseCard.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,5 +1,6 @@
1
1
  import { computed as e, createBlock as t, createElementVNode as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o, resolveDynamicComponent as s, withCtx as c } from "vue";
2
- import '../../assets/baseCard.css';//#region lib/UIKit/Card/BaseCard.vue?vue&type=script&setup=true&lang.ts
2
+ import '../../css/BaseCard.css';/* empty css */
3
+ // lib/UIKit/Card/BaseCard.vue?vue&type=script&setup=true&lang.ts
3
4
  var l = /*@__PURE__*/ r({
4
5
  __name: "BaseCard",
5
6
  props: {
@@ -20,5 +21,4 @@ var l = /*@__PURE__*/ r({
20
21
  }, 8, ["class"]));
21
22
  }
22
23
  });
23
- //#endregion
24
24
  export { l as default };
@@ -1,7 +1,9 @@
1
- declare var __VLS_1: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_1) => any;
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ default?: (props: {}) => any;
4
+ };
4
5
  };
6
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
5
7
  declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
9
  declare const _default: typeof __VLS_export;
@@ -1,10 +1,9 @@
1
- import e from "../../_virtual/_plugin-vue_export-helper.js";
2
- import { createElementBlock as t, openBlock as n, renderSlot as r } from "vue";
3
- //#region lib/UIKit/Card/CardDescriptionPrimitive.vue
1
+ import { createElementBlock as e, openBlock as t, renderSlot as n } from "vue";
2
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // lib/UIKit/Card/CardDescriptionPrimitive.vue
4
4
  var i = {}, a = { class: "card-body" };
5
- function o(e, i) {
6
- return n(), t("div", a, [r(e.$slots, "default")]);
5
+ function o(r, i) {
6
+ return t(), e("div", a, [n(r.$slots, "default")]);
7
7
  }
8
- var s = /*#__PURE__*/ e(i, [["render", o]]);
9
- //#endregion
8
+ var s = /*#__PURE__*/ r(i, [["render", o]]);
10
9
  export { s as default };
@@ -1,7 +1,9 @@
1
- declare var __VLS_1: {};
2
- type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_1) => any;
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ default?: (props: {}) => any;
4
+ };
4
5
  };
6
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
5
7
  declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
9
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,4 @@
1
1
  import e from "./CardImagePrimitive.vue.js";
2
- //#region lib/UIKit/Card/CardImagePrimitive.vue
2
+ // lib/UIKit/Card/CardImagePrimitive.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,12 +1,11 @@
1
- import { CardTypeKey as e } from "./type.js";
2
- import { computed as t, createElementBlock as n, defineComponent as r, inject as i, normalizeClass as a, openBlock as o, renderSlot as s } from "vue";
3
- //#region lib/UIKit/Card/CardImagePrimitive.vue?vue&type=script&setup=true&lang.ts
4
- var c = /*@__PURE__*/ r({
1
+ import { computed as e, createElementBlock as t, defineComponent as n, inject as r, normalizeClass as i, openBlock as a, renderSlot as o } from "vue";
2
+ import { CardTypeKey as s } from "./type.js";
3
+ // lib/UIKit/Card/CardImagePrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var c = /*@__PURE__*/ n({
5
5
  __name: "CardImagePrimitive",
6
- setup(r) {
7
- let c = i(e, void 0), l = t(() => c ? `${c}-img` : "");
8
- return (e, t) => (o(), n("div", { class: a(["card-img", [l.value]]) }, [s(e.$slots, "default")], 2));
6
+ setup(n) {
7
+ let c = r(s, void 0), l = e(() => c ? `${c}-img` : "");
8
+ return (e, n) => (a(), t("div", { class: i(["card-img", [l.value]]) }, [o(e.$slots, "default")], 2));
9
9
  }
10
10
  });
11
- //#endregion
12
11
  export { c as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./CardRootPrimitive.vue.js";
2
- //#region lib/UIKit/Card/CardRootPrimitive.vue
2
+ // lib/UIKit/Card/CardRootPrimitive.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,23 +1,23 @@
1
- import { CardTypeKey as e } from "./type.js";
2
- import { computed as t, createBlock as n, defineComponent as r, normalizeClass as i, openBlock as a, provide as o, renderSlot as s, resolveDynamicComponent as c, withCtx as l } from "vue";
3
- import '../../assets/baseCard.css';//#region lib/UIKit/Card/CardRootPrimitive.vue?vue&type=script&setup=true&lang.ts
4
- var u = /*@__PURE__*/ r({
1
+ import { computed as e, createBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, provide as a, renderSlot as o, resolveDynamicComponent as s, withCtx as c } from "vue";
2
+ import '../../css/BaseCard.css';/* empty css */
3
+ import { CardTypeKey as l } from "./type.js";
4
+ // lib/UIKit/Card/CardRootPrimitive.vue?vue&type=script&setup=true&lang.ts
5
+ var u = /*@__PURE__*/ n({
5
6
  __name: "CardRootPrimitive",
6
7
  props: {
7
8
  type: { default: "" },
8
9
  as: { default: "div" }
9
10
  },
10
11
  emits: ["click"],
11
- setup(r, { emit: u }) {
12
- let d = u, f = t(() => r.type === "news" ? "news-card" : r.type);
13
- return o(e, r.type), (e, t) => (a(), n(c(r.as), {
14
- class: i(["uikit-card", f.value]),
15
- onClick: t[0] ||= (e) => d("click", e)
12
+ setup(n, { emit: u }) {
13
+ let d = u, f = e(() => n.type === "news" ? "news-card" : n.type);
14
+ return a(l, n.type), (e, a) => (i(), t(s(n.as), {
15
+ class: r(["uikit-card", f.value]),
16
+ onClick: a[0] ||= (e) => d("click", e)
16
17
  }, {
17
- default: l(() => [s(e.$slots, "default")]),
18
+ default: c(() => [o(e.$slots, "default")]),
18
19
  _: 3
19
20
  }, 8, ["class"]));
20
21
  }
21
22
  });
22
- //#endregion
23
23
  export { u as default };
@@ -1,4 +1,3 @@
1
- //#region lib/UIKit/Card/type.ts
1
+ // lib/UIKit/Card/type.ts
2
2
  var e = Symbol();
3
- //#endregion
4
3
  export { e as CardTypeKey };
@@ -1,5 +1,4 @@
1
1
  import e from "./CheckboxBtn.vue.js";
2
- //#region lib/UIKit/Checkbox/CheckboxBtn.vue
2
+ // lib/UIKit/Checkbox/CheckboxBtn.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,7 +1,7 @@
1
1
  import { createBlock as e, createCommentVNode as t, createElementBlock as n, createTextVNode as r, createVNode as i, defineComponent as a, inject as o, mergeModels as s, normalizeClass as c, onMounted as l, onUnmounted as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useId as h, useModel as g, useTemplateRef as _, watch as v, withCtx as y } from "vue";
2
- import { CheckboxIndicator as b, CheckboxRoot as x } from "reka-ui";
3
- import { CheckIcon as S } from "@wikicasa-dev/svg-icons";
4
- import '../../assets/CheckboxBtn.css';//#region lib/UIKit/Checkbox/CheckboxBtn.vue?vue&type=script&setup=true&lang.ts
2
+ import { CheckIcon as b } from "@wikicasa-dev/svg-icons";
3
+ import { CheckboxIndicator as x, CheckboxRoot as S } from "reka-ui";
4
+ import '../../css/CheckboxBtn.css';// lib/UIKit/Checkbox/CheckboxBtn.vue?vue&type=script&setup=true&lang.ts
5
5
  var C = /*@__PURE__*/ a({
6
6
  __name: "CheckboxBtn",
7
7
  props: /*@__PURE__*/ s({
@@ -47,7 +47,7 @@ var C = /*@__PURE__*/ a({
47
47
  ref: "root",
48
48
  class: "uikit-checkbox-btn uikit-flex uikit-items-center uikit-gap-[12px]",
49
49
  onClick: s[0] ||= (e) => O("click", e)
50
- }, [i(m(x), {
50
+ }, [i(m(S), {
51
51
  ref: "checkboxRoot",
52
52
  "model-value": D.value,
53
53
  "data-cy": a.dataCy,
@@ -55,8 +55,8 @@ var C = /*@__PURE__*/ a({
55
55
  class: c(["uikit-inline-flex uikit-size-[20px] uikit-shrink-0 uikit-items-center uikit-justify-center uikit-rounded-[4px] uikit-p-0 data-[state='unchecked']:uikit-border data-[state='unchecked']:uikit-border-solid data-[state='unchecked']:uikit-border-w-lightgray data-[state='checked']:uikit-bg-w-primary data-[state='unchecked']:uikit-bg-white", a.inputClass]),
56
56
  "onUpdate:modelValue": k
57
57
  }, {
58
- default: y(() => [i(m(b), { class: "uikit-flex" }, {
59
- default: y(() => [D.value === !0 ? (d(), e(m(S), {
58
+ default: y(() => [i(m(x), { class: "uikit-flex" }, {
59
+ default: y(() => [D.value === !0 ? (d(), e(m(b), {
60
60
  key: 0,
61
61
  "fill-color": "#fff",
62
62
  width: 12,
@@ -73,5 +73,4 @@ var C = /*@__PURE__*/ a({
73
73
  ]), f(o.$slots, "label", {}, () => [r(p(a.label), 1)])], 512));
74
74
  }
75
75
  });
76
- //#endregion
77
76
  export { C as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./CheckboxGroup.vue.js";
2
- //#region lib/UIKit/Checkbox/CheckboxGroup.vue
2
+ // lib/UIKit/Checkbox/CheckboxGroup.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,11 +1,11 @@
1
- import e from "./CheckboxBtn.js";
2
- import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, mergeModels as c, normalizeClass as l, openBlock as u, ref as d, renderList as f, renderSlot as p, unref as m, useModel as h, watch as g } from "vue";
3
- import { isArrNullOrEmpty as _, stringToHyphened as v } from "@wikicasa-dev/utilities";
4
- //#region lib/UIKit/Checkbox/CheckboxGroup.vue?vue&type=script&setup=true&lang.ts
5
- var y = ["id", "data-cy"], b = /*@__PURE__*/ s({
1
+ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, mergeModels as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, renderSlot as f, unref as p, useModel as m, watch as h } from "vue";
2
+ import { isArrNullOrEmpty as g, stringToHyphened as _ } from "@wikicasa-dev/utilities";
3
+ import v from "./CheckboxBtn.js";
4
+ // lib/UIKit/Checkbox/CheckboxGroup.vue?vue&type=script&setup=true&lang.ts
5
+ var y = ["id", "data-cy"], b = /*@__PURE__*/ o({
6
6
  inheritAttrs: !1,
7
7
  __name: "CheckboxGroup",
8
- props: /*@__PURE__*/ c({
8
+ props: /*@__PURE__*/ s({
9
9
  checkboxData: { default() {
10
10
  return [];
11
11
  } },
@@ -43,16 +43,16 @@ var y = ["id", "data-cy"], b = /*@__PURE__*/ s({
43
43
  },
44
44
  refreshModifiers: {}
45
45
  }),
46
- emits: /*@__PURE__*/ c([
46
+ emits: /*@__PURE__*/ s([
47
47
  "resetted",
48
48
  "update:modelValue",
49
49
  "checkedGroup"
50
50
  ], ["update:refresh"]),
51
- setup(s, { emit: c }) {
52
- let b = s, x = c, S = h(s, "refresh"), C = d(/* @__PURE__ */ new Map()), w = n(() => {
51
+ setup(o, { emit: s }) {
52
+ let b = o, x = s, S = m(o, "refresh"), C = u(/* @__PURE__ */ new Map()), w = t(() => {
53
53
  for (let e of b.checkboxData) if (e.reset) return e;
54
54
  return null;
55
- }), T = n(() => b.checkboxData.length), E = n(() => {
55
+ }), T = t(() => b.checkboxData.length), E = t(() => {
56
56
  let e = 0;
57
57
  return C.value.forEach((t) => {
58
58
  t.checked && e++;
@@ -68,19 +68,13 @@ var y = ["id", "data-cy"], b = /*@__PURE__*/ s({
68
68
  D();
69
69
  let O = (e, t) => {
70
70
  let n = C.value.get(e);
71
- if (n) {
72
- if (t) {
73
- C.value.set(e, {
74
- ...n,
75
- ...t
76
- });
77
- return;
78
- }
79
- C.value.set(e, {
80
- ...n,
81
- checked: !n.checked
82
- });
83
- }
71
+ n && (t ? C.value.set(e, {
72
+ ...n,
73
+ ...t
74
+ }) : C.value.set(e, {
75
+ ...n,
76
+ checked: !n.checked
77
+ }));
84
78
  }, k = () => {
85
79
  C.value.forEach((e) => {
86
80
  e.checked = !1;
@@ -88,42 +82,42 @@ var y = ["id", "data-cy"], b = /*@__PURE__*/ s({
88
82
  }, A = () => {
89
83
  k(), x("update:modelValue", []), x("resetted");
90
84
  }, j = (e) => C.value.get(b.getKey(e))?.checked ?? !1, M = (e) => {
91
- if (_(b.checkboxData)) return;
85
+ if (g(b.checkboxData)) return;
92
86
  let t = C.value.get(e.id);
93
87
  t?.reset && e.checked ? k() : w.value && !t?.reset && O(b.getKey(w.value), { checked: !1 }), O(`${e.id}`), b.autoCheckResetAll && w.value && E.value === T.value - 1 && C.value.forEach((e) => {
94
88
  e.checked = !!e.reset;
95
- }), b.autoCheckResetEmpty && w.value && !E.value && (!b.manualToggleResetButton || !t?.reset) && O(b.getKey(w.value), { checked: !0 });
89
+ }), !b.autoCheckResetEmpty || !w.value || E.value || b.manualToggleResetButton && t?.reset || O(b.getKey(w.value), { checked: !0 });
96
90
  let n = [];
97
91
  C.value.forEach((e) => {
98
92
  e.checked && n.push(e);
99
93
  }), x("update:modelValue", n), x("checkedGroup", b.groupId);
100
94
  };
101
- return g(() => b.reset, (e) => {
95
+ return h(() => b.reset, (e) => {
102
96
  e && A();
103
- }), g(S, (e) => {
97
+ }), h(S, (e) => {
104
98
  e && (D(), S.value = !1);
105
- }), (n, c) => p(n.$slots, "default", {
99
+ }), (t, s) => f(t.$slots, "default", {
106
100
  isActive: j,
107
101
  handleChange: M,
108
- checkboxesData: s.checkboxData
109
- }, () => [o("div", {
110
- id: s.groupId,
111
- class: l(["checkbox-group-container", n.$attrs.class || ""]),
112
- "data-cy": s.dataCy
113
- }, [p(n.$slots, "checkbox_elements", {
102
+ checkboxesData: o.checkboxData
103
+ }, () => [a("div", {
104
+ id: o.groupId,
105
+ class: c(["checkbox-group-container", t.$attrs.class || ""]),
106
+ "data-cy": o.dataCy
107
+ }, [f(t.$slots, "checkbox_elements", {
114
108
  isActive: j,
115
109
  handleChange: M,
116
- checkboxesData: s.checkboxData,
110
+ checkboxesData: o.checkboxData,
117
111
  reset: A
118
- }, () => [s.checkboxData ? (u(!0), a(t, { key: 0 }, f(s.checkboxData, (t, n) => (u(), r(e, {
119
- id: s.getKey(t),
120
- key: n,
121
- "data-cy": t.dataCy ?? `checkbox_${m(v)(`${t.label}`)}`,
122
- label: t.label,
123
- inline: s.formCheckInline,
124
- "model-value": j(t),
125
- class: l([s.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px", s.checkboxContainerClasses]),
126
- onChange: c[0] ||= (e) => M(e)
112
+ }, () => [o.checkboxData ? (l(!0), i(e, { key: 0 }, d(o.checkboxData, (e, t) => (l(), n(v, {
113
+ id: o.getKey(e),
114
+ key: t,
115
+ "data-cy": e.dataCy ?? `checkbox_${p(_)(`${e.label}`)}`,
116
+ label: e.label,
117
+ inline: o.formCheckInline,
118
+ "model-value": j(e),
119
+ class: c([o.formCheckInline ? "uikit-mr-10px" : "uikit-mb-10px", o.checkboxContainerClasses]),
120
+ onChange: s[0] ||= (e) => M(e)
127
121
  }, null, 8, [
128
122
  "id",
129
123
  "data-cy",
@@ -131,8 +125,7 @@ var y = ["id", "data-cy"], b = /*@__PURE__*/ s({
131
125
  "inline",
132
126
  "model-value",
133
127
  "class"
134
- ]))), 128)) : i("", !0)])], 10, y)]);
128
+ ]))), 128)) : r("", !0)])], 10, y)]);
135
129
  }
136
130
  });
137
- //#endregion
138
131
  export { b as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./CheckboxButtonGroup.vue.js";
2
- //#region lib/UIKit/Checkbox/v2/CheckboxButtonGroup.vue
2
+ // lib/UIKit/Checkbox/v2/CheckboxButtonGroup.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,9 +1,9 @@
1
- import e from "../CheckboxBtn.js";
2
- import { Fragment as t, createBlock as n, createElementBlock as r, createTextVNode as i, defineComponent as a, mergeModels as o, openBlock as s, provide as c, renderList as l, renderSlot as u, toDisplayString as d, useModel as f, watch as p, withCtx as m } from "vue";
3
- //#region lib/UIKit/Checkbox/v2/CheckboxButtonGroup.vue?vue&type=script&setup=true&lang.ts
4
- var h = ["data-cy"], g = /*@__PURE__*/ a({
1
+ import { Fragment as e, createBlock as t, createElementBlock as n, createTextVNode as r, defineComponent as i, mergeModels as a, openBlock as o, provide as s, renderList as c, renderSlot as l, toDisplayString as u, useModel as d, watch as f, withCtx as p } from "vue";
2
+ import m from "../CheckboxBtn.js";
3
+ // lib/UIKit/Checkbox/v2/CheckboxButtonGroup.vue?vue&type=script&setup=true&lang.ts
4
+ var h = ["data-cy"], g = /*@__PURE__*/ i({
5
5
  __name: "CheckboxButtonGroup",
6
- props: /*@__PURE__*/ o({
6
+ props: /*@__PURE__*/ a({
7
7
  dataCy: {},
8
8
  items: { default: () => [] },
9
9
  resetValue: {}
@@ -17,42 +17,32 @@ var h = ["data-cy"], g = /*@__PURE__*/ a({
17
17
  resetModifiers: {}
18
18
  }),
19
19
  emits: ["update:modelValue", "update:reset"],
20
- setup(a) {
21
- let o = f(a, "modelValue"), g = f(a, "reset"), _ = /* @__PURE__ */ new Map(), v = (e) => e ? o.value.includes(e) : !1, y = (e, t) => {
20
+ setup(i) {
21
+ let a = d(i, "modelValue"), g = d(i, "reset"), _ = /* @__PURE__ */ new Map(), v = (e) => e ? a.value.includes(e) : !1, y = (e, t) => {
22
22
  if (!e) return;
23
23
  let n = [];
24
- if (n = t ? [...o.value, e] : o.value.filter((t) => t !== e), !a.resetValue) {
25
- o.value = n;
26
- return;
27
- }
28
- n = n.filter((e) => e !== a.resetValue), Array.from(_.keys()).filter((e) => !n.includes(e)).length === _.size && (n = [a.resetValue], _.get(a.resetValue)?.focus?.()), n.length === _.size - 1 && (n = [a.resetValue], _.get(a.resetValue)?.focus?.()), o.value = n;
24
+ n = t ? [...a.value, e] : a.value.filter((t) => t !== e), i.resetValue && (n = n.filter((e) => e !== i.resetValue), Array.from(_.keys()).filter((e) => !n.includes(e)).length === _.size && (n = [i.resetValue], _.get(i.resetValue)?.focus?.()), n.length === _.size - 1 && (n = [i.resetValue], _.get(i.resetValue)?.focus?.())), a.value = n;
29
25
  }, b = (e) => {
30
- if (a.resetValue) {
31
- if (e) {
32
- o.value = [a.resetValue];
33
- return;
34
- }
35
- o.value = o.value.filter((e) => e !== a.resetValue);
36
- }
26
+ i.resetValue && (e ? a.value = [i.resetValue] : a.value = a.value.filter((e) => e !== i.resetValue));
37
27
  };
38
- return c("addItem", (e, t) => {
28
+ return s("addItem", (e, t) => {
39
29
  e && t && _.set(e, t);
40
- }), c("removeItem", (e) => {
30
+ }), s("removeItem", (e) => {
41
31
  e && _.delete(e);
42
- }), p(g, (e) => {
43
- e && (o.value = [], g.value = !1);
44
- }), (o, c) => (s(), r("div", { "data-cy": a.dataCy }, [u(o.$slots, "default", {
32
+ }), f(g, (e) => {
33
+ e && (a.value = [], g.value = !1);
34
+ }), (a, s) => (o(), n("div", { "data-cy": i.dataCy }, [l(a.$slots, "default", {
45
35
  isChecked: v,
46
36
  handleCheck: y,
47
37
  handleResetCheck: b
48
- }, () => [(s(!0), r(t, null, l(a.items, (t) => (s(), n(e, {
49
- key: `checkbox-item-${t.value}`,
50
- required: t.required,
51
- "data-cy": t.dataCy,
52
- "model-value": v(t.value),
53
- "onUpdate:modelValue": (e) => y(t.value, e)
38
+ }, () => [(o(!0), n(e, null, c(i.items, (e) => (o(), t(m, {
39
+ key: `checkbox-item-${e.value}`,
40
+ required: e.required,
41
+ "data-cy": e.dataCy,
42
+ "model-value": v(e.value),
43
+ "onUpdate:modelValue": (t) => y(e.value, t)
54
44
  }, {
55
- label: m(() => [i(d(t.label), 1)]),
45
+ label: p(() => [r(u(e.label), 1)]),
56
46
  _: 2
57
47
  }, 1032, [
58
48
  "required",
@@ -62,5 +52,4 @@ var h = ["data-cy"], g = /*@__PURE__*/ a({
62
52
  ]))), 128))])], 8, h));
63
53
  }
64
54
  });
65
- //#endregion
66
55
  export { g as default };
@@ -17,7 +17,7 @@ declare const __VLS_export: <T, TValue extends CheckboxRootProps["value"] | unde
17
17
  slots: {
18
18
  default?: (props: {
19
19
  modelValue: "indeterminate" | T;
20
- state: import('reka-ui').CheckboxCheckedState;
20
+ state: boolean | "indeterminate";
21
21
  }) => any;
22
22
  };
23
23
  emit: (evt: "update:modelValue", value: "indeterminate" | T) => void;
@@ -1,5 +1,4 @@
1
1
  import e from "./CheckboxGroupItemPrimitive.vue.js";
2
- //#region lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue
2
+ // lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,6 +1,6 @@
1
1
  import { createBlock as e, createPropsRestProxy as t, defineComponent as n, guardReactiveProps as r, mergeProps as i, normalizeProps as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
2
2
  import { CheckboxRoot as u } from "reka-ui";
3
- //#region lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue?vue&type=script&setup=true&lang.ts
3
+ // lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue?vue&type=script&setup=true&lang.ts
4
4
  var d = /*@__PURE__*/ n({
5
5
  __name: "CheckboxGroupItemPrimitive",
6
6
  props: {
@@ -9,11 +9,16 @@ var d = /*@__PURE__*/ n({
9
9
  defaultValue: {},
10
10
  modelValue: {},
11
11
  disabled: { type: Boolean },
12
+ parent: { type: Boolean },
12
13
  id: {},
13
14
  trueValue: {},
14
15
  falseValue: {},
15
16
  asChild: { type: Boolean },
16
- as: {},
17
+ as: { type: [
18
+ String,
19
+ Object,
20
+ Function
21
+ ] },
17
22
  name: {},
18
23
  required: { type: Boolean }
19
24
  },
@@ -29,5 +34,4 @@ var d = /*@__PURE__*/ n({
29
34
  }, 16, ["data-cy"]));
30
35
  }
31
36
  });
32
- //#endregion
33
37
  export { d as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./CheckboxGroupPrimitive.vue.js";
2
- //#region lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue
2
+ // lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,6 +1,6 @@
1
1
  import { createBlock as e, createPropsRestProxy as t, defineComponent as n, mergeProps as r, openBlock as i, renderSlot as a, unref as o, withCtx as s } from "vue";
2
2
  import { CheckboxGroupRoot as c } from "reka-ui";
3
- //#region lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue?vue&type=script&setup=true&lang.ts
3
+ // lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue?vue&type=script&setup=true&lang.ts
4
4
  var l = /*@__PURE__*/ n({
5
5
  __name: "CheckboxGroupPrimitive",
6
6
  props: {
@@ -9,7 +9,13 @@ var l = /*@__PURE__*/ n({
9
9
  modelValue: {},
10
10
  rovingFocus: { type: Boolean },
11
11
  disabled: { type: Boolean },
12
- as: {},
12
+ max: {},
13
+ allValues: {},
14
+ as: { type: [
15
+ String,
16
+ Object,
17
+ Function
18
+ ] },
13
19
  asChild: { type: Boolean },
14
20
  dir: {},
15
21
  orientation: {},
@@ -29,5 +35,4 @@ var l = /*@__PURE__*/ n({
29
35
  }, 16, ["data-cy"]));
30
36
  }
31
37
  });
32
- //#endregion
33
38
  export { l as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./ProgressIndicatorPrimitive.vue.js";
2
- //#region lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue
2
+ // lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };