@wikicasa-dev/components 3.0.0-alpha.0 → 3.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/dist/UIKit/AccessibleSelect.d.ts +64 -0
  2. package/dist/UIKit/AccessibleSelect.js +4 -0
  3. package/dist/UIKit/AccessibleSelect.vue.js +217 -0
  4. package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +17 -0
  5. package/dist/UIKit/Accordion/AccordionContentPrimitive.js +4 -0
  6. package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +23 -0
  7. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.d.ts +12 -0
  8. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +4 -0
  9. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +22 -0
  10. package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +21 -0
  11. package/dist/UIKit/Accordion/AccordionItemPrimitive.js +4 -0
  12. package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +25 -0
  13. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.d.ts +14 -0
  14. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +4 -0
  15. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +23 -0
  16. package/dist/UIKit/Accordion/BaseAccordion.d.ts +44 -0
  17. package/dist/UIKit/Accordion/BaseAccordion.js +4 -0
  18. package/dist/UIKit/Accordion/BaseAccordion.vue.js +51 -0
  19. package/dist/UIKit/Accordion/BaseAccordionItem.d.ts +33 -0
  20. package/dist/UIKit/Accordion/BaseAccordionItem.js +4 -0
  21. package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +71 -0
  22. package/dist/UIKit/Autocomplete/ClearableAutocomplete.d.ts +77 -0
  23. package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +4 -0
  24. package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +270 -0
  25. package/dist/UIKit/BaseAlert.d.ts +24 -0
  26. package/dist/UIKit/BaseAlert.js +4 -0
  27. package/dist/UIKit/BaseAlert.vue.js +14 -0
  28. package/dist/UIKit/BaseAutocomplete.d.ts +62 -0
  29. package/dist/UIKit/BaseAutocomplete.js +4 -0
  30. package/dist/UIKit/BaseAutocomplete.vue.js +192 -0
  31. package/dist/UIKit/BaseBadge.d.ts +20 -0
  32. package/dist/UIKit/BaseBadge.js +4 -0
  33. package/dist/UIKit/BaseBadge.vue.js +17 -0
  34. package/dist/UIKit/BaseBreadcrumb.d.ts +34 -0
  35. package/dist/UIKit/BaseBreadcrumb.js +4 -0
  36. package/dist/UIKit/BaseBreadcrumb.vue.js +39 -0
  37. package/dist/UIKit/BaseButton.d.ts +75 -0
  38. package/dist/UIKit/BaseButton.js +4 -0
  39. package/dist/UIKit/BaseButton.vue.js +90 -0
  40. package/dist/UIKit/BaseComplexToggle.d.ts +54 -0
  41. package/dist/UIKit/BaseComplexToggle.js +5 -0
  42. package/dist/UIKit/BaseComplexToggle.vue.js +77 -0
  43. package/dist/UIKit/BaseDropDown.d.ts +95 -0
  44. package/dist/UIKit/BaseDropDown.js +4 -0
  45. package/dist/UIKit/BaseDropDown.vue.js +171 -0
  46. package/dist/UIKit/BaseFloatingLabel.d.ts +24 -0
  47. package/dist/UIKit/BaseFloatingLabel.js +5 -0
  48. package/dist/UIKit/BaseFloatingLabel.vue.js +43 -0
  49. package/dist/UIKit/BaseInput.d.ts +63 -0
  50. package/dist/UIKit/BaseInput.js +5 -0
  51. package/dist/UIKit/BaseInput.vue.js +191 -0
  52. package/dist/UIKit/BaseModal.d.ts +72 -0
  53. package/dist/UIKit/BaseModal.js +4 -0
  54. package/dist/UIKit/BaseModal.vue.js +161 -0
  55. package/dist/UIKit/{BasePagination.vue.d.ts → BasePagination.d.ts} +13 -5
  56. package/dist/UIKit/BasePagination.js +4 -0
  57. package/dist/UIKit/BasePagination.vue.js +199 -0
  58. package/dist/UIKit/BaseSelect/SelectItem.d.ts +47 -0
  59. package/dist/UIKit/BaseSelect/SelectItem.js +4 -0
  60. package/dist/UIKit/BaseSelect/SelectItem.vue.js +38 -0
  61. package/dist/UIKit/{BaseSlider.vue.d.ts → BaseSlider.d.ts} +6 -7
  62. package/dist/UIKit/BaseSlider.js +5 -0
  63. package/dist/UIKit/BaseSlider.vue.js +152 -0
  64. package/dist/UIKit/BaseSnackbar.d.ts +64 -0
  65. package/dist/UIKit/BaseSnackbar.js +4 -0
  66. package/dist/UIKit/BaseSnackbar.vue.js +140 -0
  67. package/dist/UIKit/{BaseTextarea.vue.d.ts → BaseTextarea.d.ts} +10 -10
  68. package/dist/UIKit/BaseTextarea.js +5 -0
  69. package/dist/UIKit/BaseTextarea.vue.js +118 -0
  70. package/dist/UIKit/BaseToggle.d.ts +30 -0
  71. package/dist/UIKit/BaseToggle.js +4 -0
  72. package/dist/UIKit/BaseToggle.vue.js +37 -0
  73. package/dist/UIKit/BaseTooltip.d.ts +37 -0
  74. package/dist/UIKit/BaseTooltip.js +5 -0
  75. package/dist/UIKit/BaseTooltip.vue.js +31 -0
  76. package/dist/UIKit/BaseUploadFile.d.ts +40 -0
  77. package/dist/UIKit/BaseUploadFile.js +4 -0
  78. package/dist/UIKit/BaseUploadFile.vue.js +63 -0
  79. package/dist/UIKit/Card/BaseCard.d.ts +25 -0
  80. package/dist/UIKit/Card/BaseCard.js +4 -0
  81. package/dist/UIKit/Card/BaseCard.vue.js +24 -0
  82. package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +15 -0
  83. package/dist/UIKit/Card/CardDescriptionPrimitive.js +9 -0
  84. package/dist/UIKit/Card/CardImagePrimitive.d.ts +15 -0
  85. package/dist/UIKit/Card/CardImagePrimitive.js +4 -0
  86. package/dist/UIKit/Card/CardImagePrimitive.vue.js +11 -0
  87. package/dist/UIKit/Card/CardRootPrimitive.d.ts +20 -0
  88. package/dist/UIKit/Card/CardRootPrimitive.js +4 -0
  89. package/dist/UIKit/Card/CardRootPrimitive.vue.js +23 -0
  90. package/dist/UIKit/Card/type.d.ts +3 -0
  91. package/dist/UIKit/Card/type.js +3 -0
  92. package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +52 -0
  93. package/dist/UIKit/Checkbox/CheckboxBtn.js +4 -0
  94. package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +76 -0
  95. package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +74 -0
  96. package/dist/UIKit/Checkbox/CheckboxGroup.js +4 -0
  97. package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +131 -0
  98. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.d.ts +45 -0
  99. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +4 -0
  100. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +55 -0
  101. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +31 -0
  102. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +4 -0
  103. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +37 -0
  104. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.d.ts +26 -0
  105. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +4 -0
  106. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +38 -0
  107. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.d.ts +4 -0
  108. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +4 -0
  109. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +19 -0
  110. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +90 -0
  111. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +4 -0
  112. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +33 -0
  113. package/dist/UIKit/Radio/RadioButton.d.ts +38 -0
  114. package/dist/UIKit/Radio/RadioButton.js +4 -0
  115. package/dist/UIKit/Radio/RadioButton.vue.js +51 -0
  116. package/dist/UIKit/Radio/RadioGroup.d.ts +64 -0
  117. package/dist/UIKit/Radio/RadioGroup.js +4 -0
  118. package/dist/UIKit/Radio/RadioGroup.vue.js +67 -0
  119. package/dist/UIKit/Radio/v2/RadioButtonGroup.d.ts +38 -0
  120. package/dist/UIKit/Radio/v2/RadioButtonGroup.js +4 -0
  121. package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +42 -0
  122. package/dist/UIKit/Radio/v2/RadioButtonItem.d.ts +17 -0
  123. package/dist/UIKit/Radio/v2/RadioButtonItem.js +4 -0
  124. package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +46 -0
  125. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +28 -0
  126. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +4 -0
  127. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +32 -0
  128. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.d.ts +15 -0
  129. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +5 -0
  130. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +19 -0
  131. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +11 -0
  132. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +4 -0
  133. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +41 -0
  134. package/dist/UIKit/Slider/{SimpleSlider.vue.d.ts → SimpleSlider.d.ts} +6 -6
  135. package/dist/UIKit/Slider/SimpleSlider.js +5 -0
  136. package/dist/UIKit/Slider/SimpleSlider.vue.js +74 -0
  137. package/dist/UIKit/StaticSpinner.d.ts +7 -0
  138. package/dist/UIKit/StaticSpinner.js +5 -0
  139. package/dist/UIKit/StaticSpinner.vue.js +24 -0
  140. package/dist/UIKit/Tab/BaseTab.d.ts +21 -0
  141. package/dist/UIKit/Tab/BaseTab.js +4 -0
  142. package/dist/UIKit/Tab/BaseTab.vue.js +14 -0
  143. package/dist/UIKit/Tab/BaseTabList.d.ts +14 -0
  144. package/dist/UIKit/Tab/BaseTabList.js +4 -0
  145. package/dist/UIKit/Tab/BaseTabList.vue.js +45 -0
  146. package/dist/UIKit/Tab/BaseTabPanel.d.ts +22 -0
  147. package/dist/UIKit/Tab/BaseTabPanel.js +4 -0
  148. package/dist/UIKit/Tab/BaseTabPanel.vue.js +27 -0
  149. package/dist/UIKit/Tab/BaseTabView.d.ts +49 -0
  150. package/dist/UIKit/Tab/BaseTabView.js +4 -0
  151. package/dist/UIKit/Tab/BaseTabView.vue.js +107 -0
  152. package/dist/UIKit/Tab/v2/BaseTabs.d.ts +35 -0
  153. package/dist/UIKit/Tab/v2/BaseTabs.js +4 -0
  154. package/dist/UIKit/Tab/v2/BaseTabs.vue.js +42 -0
  155. package/dist/UIKit/Tab/v2/BaseTabsContent.d.ts +14 -0
  156. package/dist/UIKit/Tab/v2/BaseTabsContent.js +4 -0
  157. package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +25 -0
  158. package/dist/UIKit/Tab/v2/BaseTabsIndicator.d.ts +16 -0
  159. package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +4 -0
  160. package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +28 -0
  161. package/dist/UIKit/Tab/v2/BaseTabsList.d.ts +14 -0
  162. package/dist/UIKit/Tab/v2/BaseTabsList.js +4 -0
  163. package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +24 -0
  164. package/dist/UIKit/Tab/v2/BaseTabsTrigger.d.ts +25 -0
  165. package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +4 -0
  166. package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +25 -0
  167. package/dist/UIKit/frameUtils.d.ts +14 -0
  168. package/dist/UIKit/frameUtils.js +5 -0
  169. package/dist/UIKit/types.d.ts +10 -52
  170. package/dist/UIKit/types.js +0 -0
  171. package/dist/UIKit/useScrollLock.d.ts +4 -0
  172. package/dist/UIKit/useScrollLock.js +27 -0
  173. package/dist/_virtual/_plugin-vue_export-helper.js +7 -0
  174. package/dist/chart/DoughnutChart.d.ts +8 -0
  175. package/dist/chart/DoughnutChart.js +4 -0
  176. package/dist/chart/DoughnutChart.vue.js +25 -0
  177. package/dist/chart/LineChart.d.ts +11 -0
  178. package/dist/chart/LineChart.js +4 -0
  179. package/dist/chart/LineChart.vue.js +27 -0
  180. package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +24 -0
  181. package/dist/components/IntersectionObserver/IntersectionObservable.js +4 -0
  182. package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +24 -0
  183. package/dist/components/IntersectionObserver/{IntersectionObserver.vue.d.ts → IntersectionObserver.d.ts} +16 -19
  184. package/dist/components/IntersectionObserver/IntersectionObserver.js +4 -0
  185. package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +50 -0
  186. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.d.ts +21 -0
  187. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +4 -0
  188. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +43 -0
  189. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +27 -0
  190. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +4 -0
  191. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +24 -0
  192. package/dist/components/IntersectionObserver/v2/types.d.ts +4 -0
  193. package/dist/components/IntersectionObserver/v2/types.js +3 -0
  194. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.d.ts +9 -0
  195. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +5 -0
  196. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +30 -0
  197. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.d.ts +9 -0
  198. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +4 -0
  199. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +30 -0
  200. package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +22 -0
  201. package/dist/components/carousel/Primitive/SwiperPrimitive.js +4 -0
  202. package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +16 -0
  203. package/dist/components/carousel/Primitive/SwiperRootPrimitive.d.ts +69 -0
  204. package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -0
  205. package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +98 -0
  206. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.d.ts +18 -0
  207. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +4 -0
  208. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +45 -0
  209. package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.d.ts +62 -0
  210. package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.js +4 -0
  211. package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.vue.js +56 -0
  212. package/dist/components/carousel/Primitive/deferredImages.d.ts +17 -0
  213. package/dist/components/carousel/Primitive/deferredImages.js +10 -0
  214. package/dist/components/carousel/SwiperCarousel.d.ts +57 -0
  215. package/dist/components/carousel/SwiperCarousel.js +5 -0
  216. package/dist/components/carousel/SwiperCarousel.vue.js +197 -0
  217. package/dist/components/carousel/SwiperSlide.d.ts +15 -0
  218. package/dist/components/carousel/SwiperSlide.js +9 -0
  219. package/dist/composables/mock.d.ts +25 -0
  220. package/dist/composables/mock.js +50 -0
  221. package/dist/composables/useFloatingLabel.d.ts +1 -1
  222. package/dist/composables/useFloatingLabel.js +28 -0
  223. package/dist/composables/useValidator.js +5 -0
  224. package/dist/css/AccessibleSelect.css +1 -0
  225. package/dist/css/BaseAccordionItem.css +1 -0
  226. package/dist/css/BaseAlert.css +1 -0
  227. package/dist/css/BaseAutocomplete.css +1 -0
  228. package/dist/css/BaseBadge.css +1 -0
  229. package/dist/css/BaseCard.css +1 -0
  230. package/dist/css/BaseComplexToggle.css +1 -0
  231. package/dist/css/BaseDropDown.css +1 -0
  232. package/dist/css/BaseFloatingLabel.css +1 -0
  233. package/dist/css/BaseInput.css +1 -0
  234. package/dist/css/BaseModal.css +1 -0
  235. package/dist/css/BaseShimmerLoader.css +1 -0
  236. package/dist/css/BaseSlider.css +1 -0
  237. package/dist/css/BaseSnackbar.css +1 -0
  238. package/dist/css/BaseTabs.css +1 -0
  239. package/dist/css/BaseTabsIndicator.css +1 -0
  240. package/dist/css/BaseTextarea.css +1 -0
  241. package/dist/css/BaseTooltip.css +1 -0
  242. package/dist/css/CheckboxBtn.css +1 -0
  243. package/dist/css/ClearableAutocomplete.css +1 -0
  244. package/dist/css/RadioButtonItem.css +1 -0
  245. package/dist/css/SimpleSlider.css +1 -0
  246. package/dist/css/StaticSpinner.css +1 -0
  247. package/dist/css/SwiperCarousel.css +1 -0
  248. package/dist/css/SwiperNavigationPrimitive.css +1 -0
  249. package/dist/css/SwiperPaginationPrimitive.css +1 -0
  250. package/dist/css/SwiperRootPrimitive.css +1 -0
  251. package/dist/css/SwiperSlideImagePrimitive.css +1 -0
  252. package/dist/css/swiper-free-mode.css +1 -0
  253. package/dist/css/swiper-navigation.css +1 -0
  254. package/dist/css/swiper-pagination.css +1 -0
  255. package/dist/css/swiper-swiper.css +1 -0
  256. package/dist/css/swiper-zoom.css +1 -0
  257. package/dist/css/tailwind.css +1 -0
  258. package/dist/css/tokens.css +1 -0
  259. package/dist/docs/AccessibleSelect.md +123 -0
  260. package/dist/docs/AccordionContentPrimitive.md +70 -0
  261. package/dist/docs/AccordionHeaderPrimitive.md +70 -0
  262. package/dist/docs/AccordionItemPrimitive.md +98 -0
  263. package/dist/docs/AccordionTriggerPrimitive.md +71 -0
  264. package/dist/docs/BaseAccordion.md +98 -0
  265. package/dist/docs/BaseAccordionItem.md +102 -0
  266. package/dist/docs/BaseAlert.md +85 -0
  267. package/dist/docs/BaseAutocomplete.md +127 -0
  268. package/dist/docs/BaseBadge.md +94 -0
  269. package/dist/docs/BaseBreadcrumb.md +83 -0
  270. package/dist/docs/BaseButton.md +129 -0
  271. package/dist/docs/BaseCard.md +112 -0
  272. package/dist/docs/BaseComplexToggle.md +101 -0
  273. package/dist/docs/BaseDropDown.md +124 -0
  274. package/dist/docs/BaseFloatingLabel.md +91 -0
  275. package/dist/docs/BaseInput.md +132 -0
  276. package/dist/docs/BaseModal.md +131 -0
  277. package/dist/docs/BasePagination.md +109 -0
  278. package/dist/docs/BaseShimmerLoader.md +88 -0
  279. package/dist/docs/BaseSlider.md +89 -0
  280. package/dist/docs/BaseSnackbar.md +122 -0
  281. package/dist/docs/BaseTab.md +84 -0
  282. package/dist/docs/BaseTabView.md +90 -0
  283. package/dist/docs/BaseTabs.md +118 -0
  284. package/dist/docs/BaseTabsContent.md +71 -0
  285. package/dist/docs/BaseTabsIndicator.md +75 -0
  286. package/dist/docs/BaseTabsList.md +76 -0
  287. package/dist/docs/BaseTabsTrigger.md +70 -0
  288. package/dist/docs/BaseTextarea.md +101 -0
  289. package/dist/docs/BaseToggle.md +88 -0
  290. package/dist/docs/BaseTooltip.md +89 -0
  291. package/dist/docs/BaseUploadFile.md +96 -0
  292. package/dist/docs/CardDescriptionPrimitive.md +73 -0
  293. package/dist/docs/CardImagePrimitive.md +73 -0
  294. package/dist/docs/CardRootPrimitive.md +101 -0
  295. package/dist/docs/CheckboxBtn.md +98 -0
  296. package/dist/docs/CheckboxButtonGroup.md +115 -0
  297. package/dist/docs/CheckboxGroup.md +102 -0
  298. package/dist/docs/CheckboxGroupItemPrimitive.md +105 -0
  299. package/dist/docs/CheckboxGroupPrimitive.md +107 -0
  300. package/dist/docs/ClearableAutocomplete.md +137 -0
  301. package/dist/docs/DoughnutChart.md +88 -0
  302. package/dist/docs/INDEX.md +133 -0
  303. package/dist/docs/IntersectionObservable.md +78 -0
  304. package/dist/docs/IntersectionObserver.md +84 -0
  305. package/dist/docs/IntersectionObserverProvider.md +98 -0
  306. package/dist/docs/IntersectionObserverTarget.md +73 -0
  307. package/dist/docs/LineChart.md +98 -0
  308. package/dist/docs/ProgressIndicatorPrimitive.md +70 -0
  309. package/dist/docs/ProgressRootPrimitive.md +106 -0
  310. package/dist/docs/RadioButton.md +86 -0
  311. package/dist/docs/RadioButtonGroup.md +107 -0
  312. package/dist/docs/RadioButtonItem.md +103 -0
  313. package/dist/docs/RadioGroup.md +95 -0
  314. package/dist/docs/RadioGroupItemPrimitive.md +102 -0
  315. package/dist/docs/SelectItem.md +100 -0
  316. package/dist/docs/ShimmerMultiLine.md +79 -0
  317. package/dist/docs/SimpleSlider.md +82 -0
  318. package/dist/docs/StaticSpinner.md +78 -0
  319. package/dist/docs/SwiperCarousel.md +128 -0
  320. package/dist/docs/SwiperNavigationPrimitive.md +85 -0
  321. package/dist/docs/SwiperPaginationPrimitive.md +82 -0
  322. package/dist/docs/SwiperPrimitive.md +77 -0
  323. package/dist/docs/SwiperRootPrimitive.md +125 -0
  324. package/dist/docs/SwiperSlide.md +75 -0
  325. package/dist/docs/SwiperSlideImagePrimitive.md +100 -0
  326. package/dist/docs/SwiperThumbnailPrimitive.md +96 -0
  327. package/dist/docs/TOKENS.md +50 -0
  328. package/dist/docs/agent-index.md +86 -0
  329. package/dist/index.d.ts +68 -45
  330. package/dist/index.js +68 -86
  331. package/dist/lazyModules/ChartJs/Chart.d.ts +8 -0
  332. package/dist/lazyModules/ChartJs/Chart.js +4 -0
  333. package/dist/lazyModules/ChartJs/DoughnutChart/core.d.ts +2 -0
  334. package/dist/lazyModules/ChartJs/DoughnutChart/core.js +4 -0
  335. package/dist/lazyModules/ChartJs/LineChart/cartesian.d.ts +2 -0
  336. package/dist/lazyModules/ChartJs/LineChart/cartesian.js +4 -0
  337. package/dist/lazyModules/ChartJs/LineChart/core.d.ts +2 -0
  338. package/dist/lazyModules/ChartJs/LineChart/core.js +4 -0
  339. package/dist/lazyModules/ChartJs/Plugins/Legend.d.ts +1 -0
  340. package/dist/lazyModules/ChartJs/Plugins/Legend.js +3 -0
  341. package/dist/lazyModules/ChartJs/Plugins/TimeScale.d.ts +0 -0
  342. package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +4 -0
  343. package/dist/lazyModules/ChartJs/Plugins/Title.d.ts +1 -0
  344. package/dist/lazyModules/ChartJs/Plugins/Title.js +3 -0
  345. package/dist/lazyModules/ChartJs/Plugins/Tooltip.d.ts +1 -0
  346. package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +3 -0
  347. package/dist/lazyModules/Swiper/Autoplay/factory.d.ts +3 -0
  348. package/dist/lazyModules/Swiper/Autoplay/factory.js +6 -0
  349. package/dist/lazyModules/Swiper/Autoplay/index.d.ts +1 -0
  350. package/dist/lazyModules/Swiper/Autoplay/index.js +2 -0
  351. package/dist/lazyModules/Swiper/Controller/factory.d.ts +3 -0
  352. package/dist/lazyModules/Swiper/Controller/factory.js +6 -0
  353. package/dist/lazyModules/Swiper/Controller/index.d.ts +1 -0
  354. package/dist/lazyModules/Swiper/Controller/index.js +2 -0
  355. package/dist/lazyModules/Swiper/FreeMode/factory.d.ts +3 -0
  356. package/dist/lazyModules/Swiper/FreeMode/factory.js +6 -0
  357. package/dist/lazyModules/Swiper/FreeMode/index.d.ts +1 -0
  358. package/dist/lazyModules/Swiper/FreeMode/index.js +2 -0
  359. package/dist/lazyModules/Swiper/Keyboard/factory.d.ts +3 -0
  360. package/dist/lazyModules/Swiper/Keyboard/factory.js +6 -0
  361. package/dist/lazyModules/Swiper/Keyboard/index.d.ts +1 -0
  362. package/dist/lazyModules/Swiper/Keyboard/index.js +2 -0
  363. package/dist/lazyModules/Swiper/Navigation/factory.d.ts +3 -0
  364. package/dist/lazyModules/Swiper/Navigation/factory.js +6 -0
  365. package/dist/lazyModules/Swiper/Navigation/index.d.ts +1 -0
  366. package/dist/lazyModules/Swiper/Navigation/index.js +2 -0
  367. package/dist/lazyModules/Swiper/Pagination/factory.d.ts +3 -0
  368. package/dist/lazyModules/Swiper/Pagination/factory.js +6 -0
  369. package/dist/lazyModules/Swiper/Pagination/index.d.ts +1 -0
  370. package/dist/lazyModules/Swiper/Pagination/index.js +2 -0
  371. package/dist/lazyModules/Swiper/Thumbs/factory.d.ts +3 -0
  372. package/dist/lazyModules/Swiper/Thumbs/factory.js +6 -0
  373. package/dist/lazyModules/Swiper/Thumbs/index.d.ts +1 -0
  374. package/dist/lazyModules/Swiper/Thumbs/index.js +2 -0
  375. package/dist/lazyModules/Swiper/Zoom/factory.d.ts +3 -0
  376. package/dist/lazyModules/Swiper/Zoom/factory.js +6 -0
  377. package/dist/lazyModules/Swiper/Zoom/index.d.ts +1 -0
  378. package/dist/lazyModules/Swiper/Zoom/index.js +2 -0
  379. package/dist/lazyModules/Swiper/factory.d.ts +3 -0
  380. package/dist/lazyModules/Swiper/factory.js +9 -0
  381. package/dist/lazyModules/Swiper/index.d.ts +20 -0
  382. package/dist/lazyModules/Swiper/index.js +5 -0
  383. package/dist/lazyModules/Swiper/swiper-css.d.js +0 -0
  384. package/dist/lazyModules/Swiper/types.d.ts +5 -0
  385. package/dist/lazyModules/Swiper/types.js +0 -0
  386. package/dist/lazyModules/VueChartJs/Doughnut/factory.d.ts +7 -0
  387. package/dist/lazyModules/VueChartJs/Doughnut/factory.js +8 -0
  388. package/dist/lazyModules/VueChartJs/Doughnut/index.d.ts +9 -0
  389. package/dist/lazyModules/VueChartJs/Doughnut/index.js +4 -0
  390. package/dist/lazyModules/VueChartJs/Line/factory.d.ts +7 -0
  391. package/dist/lazyModules/VueChartJs/Line/factory.js +8 -0
  392. package/dist/lazyModules/VueChartJs/Line/index.d.ts +9 -0
  393. package/dist/lazyModules/VueChartJs/Line/index.js +4 -0
  394. package/dist/types/index.d.ts +33 -0
  395. package/dist/types/index.js +0 -0
  396. package/dist/types.js +0 -1
  397. package/dist/utils.js +3 -5
  398. package/package.json +73 -42
  399. package/dist/AccessibleSelect.js +0 -4
  400. package/dist/BaseAccordion.js +0 -4
  401. package/dist/BaseAccordionBtn.js +0 -4
  402. package/dist/BaseAccordionContent.js +0 -4
  403. package/dist/BaseAccordionItem.js +0 -4
  404. package/dist/BaseAlert.js +0 -4
  405. package/dist/BaseAutocomplete.js +0 -4
  406. package/dist/BaseBadge.js +0 -4
  407. package/dist/BaseBreadcrumb.js +0 -4
  408. package/dist/BaseButton.js +0 -4
  409. package/dist/BaseCard.js +0 -38
  410. package/dist/BaseComplexToggle.js +0 -107
  411. package/dist/BaseDropDown.js +0 -4
  412. package/dist/BaseFloatingLabel.js +0 -41
  413. package/dist/BaseIcon.js +0 -28
  414. package/dist/BaseInput.js +0 -212
  415. package/dist/BaseModal.js +0 -4
  416. package/dist/BasePagination.js +0 -4
  417. package/dist/BasePaper.js +0 -14
  418. package/dist/BaseShimmerLoader.js +0 -22
  419. package/dist/BaseSlider.js +0 -208
  420. package/dist/BaseSnackbar.js +0 -82
  421. package/dist/BaseTab.js +0 -4
  422. package/dist/BaseTabList.js +0 -4
  423. package/dist/BaseTabPanel.js +0 -4
  424. package/dist/BaseTabView.js +0 -4
  425. package/dist/BaseTextarea.js +0 -128
  426. package/dist/BaseToggle.js +0 -43
  427. package/dist/BaseTooltip.js +0 -42
  428. package/dist/BaseUploadFile.js +0 -4
  429. package/dist/CheckboxBtn.js +0 -76
  430. package/dist/CheckboxGroup.js +0 -4
  431. package/dist/DoughnutChart.js +0 -4
  432. package/dist/IntersectionObservable.js +0 -4
  433. package/dist/IntersectionObserver.js +0 -4
  434. package/dist/LineChart.js +0 -4
  435. package/dist/RadioButton.js +0 -4
  436. package/dist/RadioGroup.js +0 -4
  437. package/dist/SelectItem.js +0 -4
  438. package/dist/ShimmerMultiLine.js +0 -4
  439. package/dist/SimpleSlider.js +0 -83
  440. package/dist/StaticSpinner.js +0 -28
  441. package/dist/SwiperCarousel.js +0 -5
  442. package/dist/SwiperSlide.js +0 -14
  443. package/dist/UIKit/AccessibleSelect.vue.d.ts +0 -55
  444. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +0 -32
  445. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +0 -34
  446. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +0 -30
  447. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +0 -60
  448. package/dist/UIKit/BaseAlert.vue.d.ts +0 -26
  449. package/dist/UIKit/BaseAutocomplete.vue.d.ts +0 -48
  450. package/dist/UIKit/BaseBadge.vue.d.ts +0 -22
  451. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +0 -35
  452. package/dist/UIKit/BaseButton.vue.d.ts +0 -46
  453. package/dist/UIKit/BaseCard.vue.d.ts +0 -29
  454. package/dist/UIKit/BaseComplexToggle.vue.d.ts +0 -47
  455. package/dist/UIKit/BaseDropDown.vue.d.ts +0 -81
  456. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +0 -17
  457. package/dist/UIKit/BaseIcon.vue.d.ts +0 -11
  458. package/dist/UIKit/BaseInput.vue.d.ts +0 -68
  459. package/dist/UIKit/BaseModal.vue.d.ts +0 -63
  460. package/dist/UIKit/BasePaper.vue.d.ts +0 -2
  461. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +0 -38
  462. package/dist/UIKit/BaseSnackbar.vue.d.ts +0 -24
  463. package/dist/UIKit/BaseToggle.vue.d.ts +0 -32
  464. package/dist/UIKit/BaseTooltip.vue.d.ts +0 -38
  465. package/dist/UIKit/BaseUploadFile.vue.d.ts +0 -42
  466. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +0 -53
  467. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +0 -71
  468. package/dist/UIKit/Radio/RadioButton.vue.d.ts +0 -27
  469. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +0 -54
  470. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +0 -21
  471. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +0 -63
  472. package/dist/UIKit/StaticSpinner.vue.d.ts +0 -6
  473. package/dist/UIKit/Tab/BaseTab.vue.d.ts +0 -23
  474. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +0 -14
  475. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +0 -24
  476. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +0 -27
  477. package/dist/assets/BaseAlert.css +0 -1
  478. package/dist/assets/BaseBadge.css +0 -1
  479. package/dist/assets/BaseCard.css +0 -1
  480. package/dist/assets/BaseComplexToggle.css +0 -1
  481. package/dist/assets/BaseFloatingLabel.css +0 -1
  482. package/dist/assets/BaseIcon.css +0 -1
  483. package/dist/assets/BaseInput.css +0 -1
  484. package/dist/assets/BaseModal.css +0 -1
  485. package/dist/assets/BasePaper.css +0 -1
  486. package/dist/assets/BaseShimmerLoader.css +0 -1
  487. package/dist/assets/BaseSlider.css +0 -1
  488. package/dist/assets/BaseSnackbar.css +0 -1
  489. package/dist/assets/BaseTextarea.css +0 -1
  490. package/dist/assets/BaseToggle.css +0 -1
  491. package/dist/assets/BaseTooltip.css +0 -1
  492. package/dist/assets/CheckboxBtn.css +0 -1
  493. package/dist/assets/SimpleSlider.css +0 -1
  494. package/dist/assets/StaticSpinner.css +0 -1
  495. package/dist/assets/SwiperCarousel.css +0 -1
  496. package/dist/assets/index.css +0 -1
  497. package/dist/chart/DoughnutChart.vue.d.ts +0 -7
  498. package/dist/chart/LineChart.vue.d.ts +0 -19
  499. package/dist/chart/composables/useChartjsModules.d.ts +0 -10
  500. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.QU1FSgY0.js +0 -246
  501. package/dist/chunks/ArrowIcon.Bq6Xr3uH.js +0 -28
  502. package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js +0 -32
  503. package/dist/chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DEk3SXLJ.js +0 -60
  504. package/dist/chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Qp_TWYFE.js +0 -34
  505. package/dist/chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.BJB5DnDs.js +0 -143
  506. package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js +0 -19
  507. package/dist/chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.S_XFg2zV.js +0 -202
  508. package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.DvAI34Oa.js +0 -19
  509. package/dist/chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BrzeVW2_.js +0 -58
  510. package/dist/chunks/BaseButton.vue_vue_type_script_setup_true_lang.DHwyd5Gb.js +0 -66
  511. package/dist/chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.OKB0gEpo.js +0 -137
  512. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.a2qGyPhV.js +0 -150
  513. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DdFMVFIO.js +0 -164
  514. package/dist/chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js +0 -15
  515. package/dist/chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CxrS-Vq6.js +0 -43
  516. package/dist/chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js +0 -24
  517. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DGTsSVEG.js +0 -105
  518. package/dist/chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.BL98w2D8.js +0 -71
  519. package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.B_9CFhd2.js +0 -111
  520. package/dist/chunks/CloseIcon.BZ4U3aiI.js +0 -38
  521. package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js +0 -27
  522. package/dist/chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js +0 -24
  523. package/dist/chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js +0 -52
  524. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +0 -42
  525. package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
  526. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
  527. package/dist/chunks/RadioButton.vue_vue_type_script_setup_true_lang.CxVJji0G.js +0 -58
  528. package/dist/chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BNKSEicl.js +0 -62
  529. package/dist/chunks/SelectItem.vue_vue_type_script_setup_true_lang.jB3LVM3c.js +0 -41
  530. package/dist/chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CPUobRgG.js +0 -29
  531. package/dist/chunks/SwiperCarousel.BheiaKKw.js +0 -748
  532. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -9
  533. package/dist/chunks/index.BJP9rQkU.js +0 -887
  534. package/dist/chunks/polyline.DjpLdMaW.js +0 -5256
  535. package/dist/chunks/useBreakpoints.BXk8Xcw3.js +0 -5189
  536. package/dist/city-640x359.jpg +0 -0
  537. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +0 -29
  538. package/dist/components/carousel/SwiperCarousel.vue.d.ts +0 -57
  539. package/dist/components/carousel/SwiperSlide.vue.d.ts +0 -17
  540. package/dist/favicon.ico +0 -0
  541. package/dist/useChartjsModules.js +0 -48
  542. package/dist/useFloatingLabel.js +0 -33
  543. package/dist/useValidator.js +0 -8
@@ -0,0 +1,131 @@
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
+ inheritAttrs: !1,
7
+ __name: "CheckboxGroup",
8
+ props: /*@__PURE__*/ s({
9
+ checkboxData: { default() {
10
+ return [];
11
+ } },
12
+ formCheckInline: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ reset: {
17
+ type: Boolean,
18
+ default: !1
19
+ },
20
+ checkboxContainerClasses: { default: "" },
21
+ autoCheckResetAll: {
22
+ type: Boolean,
23
+ default: !1
24
+ },
25
+ autoCheckResetEmpty: {
26
+ type: Boolean,
27
+ default: !1
28
+ },
29
+ manualToggleResetButton: {
30
+ type: Boolean,
31
+ default: !1
32
+ },
33
+ getKey: {
34
+ type: Function,
35
+ default: (e) => typeof e == "string" || typeof e == "number" ? `${e}` : `${e.id}`
36
+ },
37
+ groupId: { default: "" },
38
+ dataCy: { default: "" }
39
+ }, {
40
+ refresh: {
41
+ type: Boolean,
42
+ default: !1
43
+ },
44
+ refreshModifiers: {}
45
+ }),
46
+ emits: /*@__PURE__*/ s([
47
+ "resetted",
48
+ "update:modelValue",
49
+ "checkedGroup"
50
+ ], ["update:refresh"]),
51
+ setup(o, { emit: s }) {
52
+ let b = o, x = s, S = m(o, "refresh"), C = u(/* @__PURE__ */ new Map()), w = t(() => {
53
+ for (let e of b.checkboxData) if (e.reset) return e;
54
+ return null;
55
+ }), T = t(() => b.checkboxData.length), E = t(() => {
56
+ let e = 0;
57
+ return C.value.forEach((t) => {
58
+ t.checked && e++;
59
+ }), e;
60
+ }), D = () => {
61
+ let e = [], t = /* @__PURE__ */ new Map();
62
+ for (let n of b.checkboxData) t.set(`${n.id}`, {
63
+ ...n,
64
+ checked: !!n.checked
65
+ }), n.checked && e.push(n);
66
+ C.value = t, x("update:modelValue", e);
67
+ };
68
+ D();
69
+ let O = (e, t) => {
70
+ let n = C.value.get(e);
71
+ n && (t ? C.value.set(e, {
72
+ ...n,
73
+ ...t
74
+ }) : C.value.set(e, {
75
+ ...n,
76
+ checked: !n.checked
77
+ }));
78
+ }, k = () => {
79
+ C.value.forEach((e) => {
80
+ e.checked = !1;
81
+ });
82
+ }, A = () => {
83
+ k(), x("update:modelValue", []), x("resetted");
84
+ }, j = (e) => C.value.get(b.getKey(e))?.checked ?? !1, M = (e) => {
85
+ if (g(b.checkboxData)) return;
86
+ let t = C.value.get(e.id);
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) => {
88
+ e.checked = !!e.reset;
89
+ }), !b.autoCheckResetEmpty || !w.value || E.value || b.manualToggleResetButton && t?.reset || O(b.getKey(w.value), { checked: !0 });
90
+ let n = [];
91
+ C.value.forEach((e) => {
92
+ e.checked && n.push(e);
93
+ }), x("update:modelValue", n), x("checkedGroup", b.groupId);
94
+ };
95
+ return h(() => b.reset, (e) => {
96
+ e && A();
97
+ }), h(S, (e) => {
98
+ e && (D(), S.value = !1);
99
+ }), (t, s) => f(t.$slots, "default", {
100
+ isActive: j,
101
+ handleChange: M,
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", {
108
+ isActive: j,
109
+ handleChange: M,
110
+ checkboxesData: o.checkboxData,
111
+ reset: A
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)
121
+ }, null, 8, [
122
+ "id",
123
+ "data-cy",
124
+ "label",
125
+ "inline",
126
+ "model-value",
127
+ "class"
128
+ ]))), 128)) : r("", !0)])], 10, y)]);
129
+ }
130
+ });
131
+ export { b as default };
@@ -0,0 +1,45 @@
1
+ export type CheckboxValue = string | number | boolean | null | undefined;
2
+ export interface CheckboxButtonGroupProps<T extends CheckboxValue = CheckboxValue> {
3
+ dataCy?: string;
4
+ items?: CheckboxButtonItem<T>[];
5
+ /**
6
+ * Value of the reset button
7
+ */
8
+ resetValue?: T;
9
+ }
10
+ export interface CheckboxButtonItem<T extends CheckboxValue = CheckboxValue> {
11
+ dataCy?: string;
12
+ value: T;
13
+ required?: boolean;
14
+ label: string;
15
+ }
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ declare const __VLS_export: <T extends CheckboxValue = CheckboxValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
19
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<(CheckboxButtonGroupProps<T> & {
20
+ modelValue?: NonNullable<T>[];
21
+ reset?: boolean;
22
+ }) & {
23
+ "onUpdate:modelValue"?: ((value: NonNullable<T>[]) => any) | undefined;
24
+ "onUpdate:reset"?: ((value: boolean) => any) | undefined;
25
+ }> & (typeof globalThis extends {
26
+ __VLS_PROPS_FALLBACK: infer P;
27
+ } ? P : {});
28
+ expose: (exposed: {}) => void;
29
+ attrs: any;
30
+ slots: {
31
+ default?: (props: {
32
+ isChecked: (value: T) => boolean;
33
+ handleCheck: (value: T, checked: boolean) => void;
34
+ handleResetCheck: (checked: boolean) => void;
35
+ }) => any;
36
+ };
37
+ emit: ((event: "update:modelValue", value: NonNullable<T>[]) => void) & ((event: "update:reset", value: boolean) => void);
38
+ }>) => import('vue').VNode & {
39
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
40
+ };
41
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
42
+ [K in keyof T]: T[K];
43
+ } : {
44
+ [K in keyof T as K]: T[K];
45
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import e from "./CheckboxButtonGroup.vue.js";
2
+ // lib/UIKit/Checkbox/v2/CheckboxButtonGroup.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,55 @@
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
+ __name: "CheckboxButtonGroup",
6
+ props: /*@__PURE__*/ a({
7
+ dataCy: {},
8
+ items: { default: () => [] },
9
+ resetValue: {}
10
+ }, {
11
+ modelValue: { default: () => [] },
12
+ modelModifiers: {},
13
+ reset: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ resetModifiers: {}
18
+ }),
19
+ emits: ["update:modelValue", "update:reset"],
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
+ if (!e) return;
23
+ let 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;
25
+ }, b = (e) => {
26
+ i.resetValue && (e ? a.value = [i.resetValue] : a.value = a.value.filter((e) => e !== i.resetValue));
27
+ };
28
+ return s("addItem", (e, t) => {
29
+ e && t && _.set(e, t);
30
+ }), s("removeItem", (e) => {
31
+ e && _.delete(e);
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", {
35
+ isChecked: v,
36
+ handleCheck: y,
37
+ handleResetCheck: b
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)
44
+ }, {
45
+ label: p(() => [r(u(e.label), 1)]),
46
+ _: 2
47
+ }, 1032, [
48
+ "required",
49
+ "data-cy",
50
+ "model-value",
51
+ "onUpdate:modelValue"
52
+ ]))), 128))])], 8, h));
53
+ }
54
+ });
55
+ export { g as default };
@@ -0,0 +1,31 @@
1
+ import { CheckboxRootProps } from 'reka-ui';
2
+ export type CheckboxGroupItemPrimitiveValueType<T extends undefined | CheckboxRootProps["value"] = undefined> = T;
3
+ export interface CheckboxGroupItemPrimitiveProps<T = boolean, TValue extends CheckboxRootProps["value"] | undefined = undefined> extends Omit<CheckboxRootProps<T>, "value"> {
4
+ dataCy?: string;
5
+ value: CheckboxGroupItemPrimitiveValueType<TValue>;
6
+ }
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: <T, TValue extends CheckboxRootProps["value"] | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
10
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<CheckboxGroupItemPrimitiveProps<T, TValue> & {
11
+ "onUpdate:modelValue"?: ((value: "indeterminate" | T) => any) | undefined;
12
+ }> & (typeof globalThis extends {
13
+ __VLS_PROPS_FALLBACK: infer P;
14
+ } ? P : {});
15
+ expose: (exposed: {}) => void;
16
+ attrs: any;
17
+ slots: {
18
+ default?: (props: {
19
+ modelValue: "indeterminate" | T;
20
+ state: boolean | "indeterminate";
21
+ }) => any;
22
+ };
23
+ emit: (evt: "update:modelValue", value: "indeterminate" | T) => void;
24
+ }>) => import('vue').VNode & {
25
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
26
+ };
27
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
28
+ [K in keyof T]: T[K];
29
+ } : {
30
+ [K in keyof T as K]: T[K];
31
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import e from "./CheckboxGroupItemPrimitive.vue.js";
2
+ // lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,37 @@
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
+ import { CheckboxRoot as u } from "reka-ui";
3
+ // lib/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var d = /*@__PURE__*/ n({
5
+ __name: "CheckboxGroupItemPrimitive",
6
+ props: {
7
+ dataCy: {},
8
+ value: {},
9
+ defaultValue: {},
10
+ modelValue: {},
11
+ disabled: { type: Boolean },
12
+ parent: { type: Boolean },
13
+ id: {},
14
+ trueValue: {},
15
+ falseValue: {},
16
+ asChild: { type: Boolean },
17
+ as: { type: [
18
+ String,
19
+ Object,
20
+ Function
21
+ ] },
22
+ name: {},
23
+ required: { type: Boolean }
24
+ },
25
+ emits: ["update:modelValue"],
26
+ setup(n, { emit: d }) {
27
+ let f = t(n, ["dataCy"]), p = d;
28
+ return (t, d) => (o(), e(c(u), i(f, {
29
+ "data-cy": n.dataCy,
30
+ "onUpdate:modelValue": d[0] ||= (e) => p("update:modelValue", e)
31
+ }), {
32
+ default: l((e) => [s(t.$slots, "default", a(r(e)))]),
33
+ _: 3
34
+ }, 16, ["data-cy"]));
35
+ }
36
+ });
37
+ export { d as default };
@@ -0,0 +1,26 @@
1
+ import { CheckboxGroupRootProps, AcceptableValue } from 'reka-ui';
2
+ export interface CheckboxGroupPrimitiveProps<T extends AcceptableValue> extends CheckboxGroupRootProps<T> {
3
+ dataCy?: string;
4
+ }
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: <T extends AcceptableValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<CheckboxGroupPrimitiveProps<T> & {
9
+ "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
10
+ }> & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
13
+ expose: (exposed: {}) => void;
14
+ attrs: any;
15
+ slots: {
16
+ default?: (props: {}) => any;
17
+ };
18
+ emit: (evt: "update:modelValue", value: T[]) => void;
19
+ }>) => import('vue').VNode & {
20
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
21
+ };
22
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
23
+ [K in keyof T]: T[K];
24
+ } : {
25
+ [K in keyof T as K]: T[K];
26
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import e from "./CheckboxGroupPrimitive.vue.js";
2
+ // lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,38 @@
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
+ import { CheckboxGroupRoot as c } from "reka-ui";
3
+ // lib/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var l = /*@__PURE__*/ n({
5
+ __name: "CheckboxGroupPrimitive",
6
+ props: {
7
+ dataCy: {},
8
+ defaultValue: {},
9
+ modelValue: {},
10
+ rovingFocus: { type: Boolean },
11
+ disabled: { type: Boolean },
12
+ max: {},
13
+ allValues: {},
14
+ as: { type: [
15
+ String,
16
+ Object,
17
+ Function
18
+ ] },
19
+ asChild: { type: Boolean },
20
+ dir: {},
21
+ orientation: {},
22
+ loop: { type: Boolean },
23
+ name: {},
24
+ required: { type: Boolean }
25
+ },
26
+ emits: ["update:modelValue"],
27
+ setup(n, { emit: l }) {
28
+ let u = t(n, ["dataCy"]), d = l;
29
+ return (t, l) => (i(), e(o(c), r(u, {
30
+ "data-cy": n.dataCy,
31
+ "onUpdate:modelValue": l[0] ||= (e) => d("update:modelValue", e)
32
+ }), {
33
+ default: s(() => [a(t.$slots, "default")]),
34
+ _: 3
35
+ }, 16, ["data-cy"]));
36
+ }
37
+ });
38
+ export { l as default };
@@ -0,0 +1,4 @@
1
+ import { ProgressIndicatorProps } from 'reka-ui';
2
+ declare const __VLS_export: import('vue').DefineComponent<ProgressIndicatorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import e from "./ProgressIndicatorPrimitive.vue.js";
2
+ // lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,19 @@
1
+ import { createBlock as e, defineComponent as t, guardReactiveProps as n, normalizeProps as r, openBlock as i, unref as a } from "vue";
2
+ import { ProgressIndicator as o } from "reka-ui";
3
+ // lib/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var s = /*@__PURE__*/ t({
5
+ __name: "ProgressIndicatorPrimitive",
6
+ props: {
7
+ asChild: { type: Boolean },
8
+ as: { type: [
9
+ String,
10
+ Object,
11
+ Function
12
+ ] }
13
+ },
14
+ setup(t) {
15
+ let s = t;
16
+ return (t, c) => (i(), e(a(o), r(n(s)), null, 16));
17
+ }
18
+ });
19
+ export { s as default };
@@ -0,0 +1,90 @@
1
+ import { ProgressRootProps } from 'reka-ui';
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {
5
+ modelValue: number | null | undefined;
6
+ }) => any;
7
+ };
8
+ __VLS_TemplateRefs: {
9
+ root: ({
10
+ $: import('vue').ComponentInternalInstance;
11
+ $data: {};
12
+ $props: {
13
+ readonly modelValue?: number | null | undefined;
14
+ readonly max?: number | undefined;
15
+ readonly getValueLabel?: ((value: number | null | undefined, max: number) => string | undefined) | undefined;
16
+ readonly getValueText?: ((value: number | null | undefined, max: number) => string | undefined) | undefined;
17
+ readonly asChild?: boolean | undefined;
18
+ readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
19
+ readonly "onUpdate:modelValue"?: ((value: number | null | undefined) => any) | undefined | undefined;
20
+ readonly "onUpdate:max"?: ((value: number) => any) | undefined | undefined;
21
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
22
+ $attrs: import('vue').Attrs;
23
+ $refs: {
24
+ [x: string]: unknown;
25
+ };
26
+ $slots: Readonly<{
27
+ [name: string]: import('vue').Slot<any> | undefined;
28
+ }>;
29
+ $root: import('vue').ComponentPublicInstance | null;
30
+ $parent: import('vue').ComponentPublicInstance | null;
31
+ $host: Element | null;
32
+ $emit: ((event: "update:modelValue", value: number | null | undefined) => void) & ((event: "update:max", value: number) => void);
33
+ $el: any;
34
+ $options: import('vue').ComponentOptionsBase<Readonly<ProgressRootProps> & Readonly<{
35
+ "onUpdate:modelValue"?: ((value: number | null | undefined) => any) | undefined;
36
+ "onUpdate:max"?: ((value: number) => any) | undefined;
37
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ "update:modelValue": (value: number | null | undefined) => any;
39
+ "update:max": (value: number) => any;
40
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
41
+ beforeCreate?: (() => void) | (() => void)[];
42
+ created?: (() => void) | (() => void)[];
43
+ beforeMount?: (() => void) | (() => void)[];
44
+ mounted?: (() => void) | (() => void)[];
45
+ beforeUpdate?: (() => void) | (() => void)[];
46
+ updated?: (() => void) | (() => void)[];
47
+ activated?: (() => void) | (() => void)[];
48
+ deactivated?: (() => void) | (() => void)[];
49
+ beforeDestroy?: (() => void) | (() => void)[];
50
+ beforeUnmount?: (() => void) | (() => void)[];
51
+ destroyed?: (() => void) | (() => void)[];
52
+ unmounted?: (() => void) | (() => void)[];
53
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
54
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
55
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
56
+ };
57
+ $forceUpdate: () => void;
58
+ $nextTick: typeof import('vue').nextTick;
59
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
60
+ } & Readonly<{}> & Omit<Readonly<ProgressRootProps> & Readonly<{
61
+ "onUpdate:modelValue"?: ((value: number | null | undefined) => any) | undefined;
62
+ "onUpdate:max"?: ((value: number) => any) | undefined;
63
+ }>, never> & {} & import('vue').ComponentCustomProperties & {} & {
64
+ $slots: {
65
+ default?: (props: {
66
+ modelValue: number | null | undefined;
67
+ }) => any;
68
+ };
69
+ }) | null;
70
+ };
71
+ };
72
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
73
+ declare const __VLS_base: import('vue').DefineComponent<ProgressRootProps, {
74
+ getValueLabel: (value: number | null | undefined, max: number) => string | undefined;
75
+ getValueText: (value: number | null | undefined, max: number) => string | undefined;
76
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
77
+ "update:modelValue": (value: number | null | undefined) => any;
78
+ "update:max": (value: number) => any;
79
+ }, string, import('vue').PublicProps, Readonly<ProgressRootProps> & Readonly<{
80
+ "onUpdate:modelValue"?: ((value: number | null | undefined) => any) | undefined;
81
+ "onUpdate:max"?: ((value: number) => any) | undefined;
82
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
83
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
84
+ declare const _default: typeof __VLS_export;
85
+ export default _default;
86
+ type __VLS_WithSlots<T, S> = T & {
87
+ new (): {
88
+ $slots: S;
89
+ };
90
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./ProgressRootPrimitive.vue.js";
2
+ // lib/UIKit/ProgressBar/ProgressRootPrimitive.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,33 @@
1
+ import { createBlock as e, defineComponent as t, guardReactiveProps as n, mergeProps as r, normalizeProps as i, openBlock as a, renderSlot as o, unref as s, useTemplateRef as c, withCtx as l } from "vue";
2
+ import { ProgressRoot as u } from "reka-ui";
3
+ // lib/UIKit/ProgressBar/ProgressRootPrimitive.vue?vue&type=script&setup=true&lang.ts
4
+ var d = /*@__PURE__*/ t({
5
+ __name: "ProgressRootPrimitive",
6
+ props: {
7
+ modelValue: {},
8
+ max: {},
9
+ getValueLabel: { type: Function },
10
+ getValueText: { type: Function },
11
+ asChild: { type: Boolean },
12
+ as: { type: [
13
+ String,
14
+ Object,
15
+ Function
16
+ ] }
17
+ },
18
+ emits: ["update:modelValue", "update:max"],
19
+ setup(t, { expose: d, emit: f }) {
20
+ let p = t, m = f, h = c("root");
21
+ return d({
22
+ getValueLabel: (e, t) => h.value?.getValueLabel?.(e, t),
23
+ getValueText: (e, t) => h.value?.getValueText?.(e, t)
24
+ }), (t, c) => (a(), e(s(u), r({ ref: "root" }, p, {
25
+ "onUpdate:modelValue": c[0] ||= (e) => m("update:modelValue", e),
26
+ "onUpdate:max": c[1] ||= (e) => m("update:max", e)
27
+ }), {
28
+ default: l((e) => [o(t.$slots, "default", i(n(e)))]),
29
+ _: 3
30
+ }, 16));
31
+ }
32
+ });
33
+ export { d as default };
@@ -0,0 +1,38 @@
1
+ import { ClassTypeProp } from '../types';
2
+ declare const __VLS_export: <TID extends string | number | null>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<{
4
+ id?: TID;
5
+ dataCy?: string;
6
+ name?: string;
7
+ label: string;
8
+ modelValue?: boolean;
9
+ inputClasses?: ClassTypeProp;
10
+ labelClasses?: ClassTypeProp;
11
+ } & {
12
+ "onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
13
+ onChange?: ((args_0: {
14
+ id: NonNullable<TID>;
15
+ label: string;
16
+ name?: string;
17
+ }) => any) | undefined;
18
+ }> & (typeof globalThis extends {
19
+ __VLS_PROPS_FALLBACK: infer P;
20
+ } ? P : {});
21
+ expose: (exposed: {}) => void;
22
+ attrs: any;
23
+ slots: {};
24
+ emit: ((evt: "update:modelValue", args_0: boolean) => void) & ((evt: "change", args_0: {
25
+ id: NonNullable<TID>;
26
+ label: string;
27
+ name?: string;
28
+ }) => void);
29
+ }>) => import('vue').VNode & {
30
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
31
+ };
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
35
+ [K in keyof T]: T[K];
36
+ } : {
37
+ [K in keyof T as K]: T[K];
38
+ }) & {};
@@ -0,0 +1,4 @@
1
+ import e from "./RadioButton.vue.js";
2
+ // lib/UIKit/Radio/RadioButton.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,51 @@
1
+ import { computed as e, createElementBlock as t, createElementVNode as n, createTextVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, toDisplayString as s, useId as c, withModifiers as l } from "vue";
2
+ // lib/UIKit/Radio/RadioButton.vue?vue&type=script&setup=true&lang.ts
3
+ var u = ["data-cy"], d = [
4
+ "id",
5
+ "name",
6
+ "checked"
7
+ ], f = ["for"], p = /*@__PURE__*/ i({
8
+ __name: "RadioButton",
9
+ props: {
10
+ id: {},
11
+ dataCy: {},
12
+ name: {},
13
+ label: {},
14
+ modelValue: {
15
+ type: Boolean,
16
+ default: !1
17
+ },
18
+ inputClasses: {},
19
+ labelClasses: {}
20
+ },
21
+ emits: ["change", "update:modelValue"],
22
+ setup(i, { emit: p }) {
23
+ let m = p, h = c(), g = e(() => `${i.id ?? h}`), _ = () => {
24
+ if (i.modelValue) return;
25
+ let e = {
26
+ id: i.id ?? h,
27
+ label: i.label,
28
+ name: i.name
29
+ };
30
+ m("change", e), m("update:modelValue", !i.modelValue);
31
+ };
32
+ return (e, c) => (o(), t("div", {
33
+ class: "uikit-inline-block",
34
+ "data-cy": i.dataCy,
35
+ onClick: l(_, ["stop"])
36
+ }, [n("input", {
37
+ id: g.value,
38
+ ref: "checkbox",
39
+ type: "radio",
40
+ class: "uikit-pointer-events-none uikit-hidden",
41
+ name: i.name,
42
+ checked: i.modelValue,
43
+ onChange: c[0] ||= l(() => {}, ["prevent"]),
44
+ onClick: c[1] ||= l(() => {}, ["prevent"])
45
+ }, null, 40, d), n("label", {
46
+ class: a([i.labelClasses, "uikit-flex uikit-cursor-pointer uikit-items-center uikit-text-sm"]),
47
+ for: g.value
48
+ }, [n("span", { class: a(["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", [{ "checked uikit-border-w-primary uikit-bg-w-primary uikit-shadow-[0_0_0_2px_white_inset]": i.modelValue }, i.inputClasses]]) }, null, 2), r(" " + s(i.label), 1)], 10, f)], 8, u));
49
+ }
50
+ });
51
+ export { p as default };