@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,22 @@
1
+ type __VLS_Props = {
2
+ dataCy?: string;
3
+ };
4
+ declare const __VLS_template: () => {
5
+ __VLS_Slots: {
6
+ default?: (props: {}) => any;
7
+ };
8
+ };
9
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
10
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ click: (args_0: MouseEvent) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onClick?: ((args_0: MouseEvent) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./SwiperPrimitive.vue.js";
2
+ // lib/components/carousel/Primitive/SwiperPrimitive.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,16 @@
1
+ import { createElementBlock as e, defineComponent as t, openBlock as n, renderSlot as r } from "vue";
2
+ // lib/components/carousel/Primitive/SwiperPrimitive.vue?vue&type=script&setup=true&lang.ts
3
+ var i = ["data-cy"], a = /*@__PURE__*/ t({
4
+ __name: "SwiperPrimitive",
5
+ props: { dataCy: {} },
6
+ emits: ["click"],
7
+ setup(t, { emit: a }) {
8
+ let o = a;
9
+ return (a, s) => (n(), e("div", {
10
+ "data-cy": t.dataCy,
11
+ class: "swiper-wrapper",
12
+ onClick: s[0] ||= (e) => o("click", e)
13
+ }, [r(a.$slots, "default")], 8, i));
14
+ }
15
+ });
16
+ export { a as default };
@@ -0,0 +1,69 @@
1
+ import { Nullable } from '@wikicasa-dev/types';
2
+ import { SwiperModuleDescriptor } from '../../../lazyModules/Swiper/types';
3
+ import { InjectionKey } from 'vue';
4
+ import { Swiper, SwiperOptions } from 'swiper/types';
5
+ import { ClassTypeProp } from '../../../UIKit/types';
6
+ export declare const setLazyImagesLoaderKey: InjectionKey<(v: boolean) => void>;
7
+ export declare const addModuleDescriptorKey: InjectionKey<(m: Nullable<SwiperModuleDescriptor>) => void>;
8
+ export type SwiperRootPrimitiveProps = Omit<SwiperOptions, "pagination" | "navigation">;
9
+ export type SwiperRootPrimitiveEmits = {
10
+ moved: [{
11
+ activeIndex: number;
12
+ }];
13
+ click: [];
14
+ /**
15
+ * Fired right after Swiper initialization.
16
+ */
17
+ init: [Swiper];
18
+ };
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
22
+ rootClasses?: ClassTypeProp;
23
+ swiperOptions?: SwiperRootPrimitiveProps;
24
+ /**
25
+ * Slides to promote beyond each edge of the visible window.
26
+ *
27
+ * Falls back to `swiperOptions.lazyPreloadPrevNext` when unset, which is how this was
28
+ * configured before and stays supported - but that option's documented job is Swiper's own
29
+ * `loading="lazy"` preloading, which these slides do not use. Prefer this prop.
30
+ */
31
+ preloadCount?: number;
32
+ }, {
33
+ swiper: import('vue').ShallowRef<Nullable<Swiper>, Nullable<Swiper>>;
34
+ updateSlidesPerView: (value: number) => void;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ click: () => any;
37
+ init: (args_0: Swiper) => any;
38
+ moved: (args_0: {
39
+ activeIndex: number;
40
+ }) => any;
41
+ }, string, import('vue').PublicProps, Readonly<{
42
+ rootClasses?: ClassTypeProp;
43
+ swiperOptions?: SwiperRootPrimitiveProps;
44
+ /**
45
+ * Slides to promote beyond each edge of the visible window.
46
+ *
47
+ * Falls back to `swiperOptions.lazyPreloadPrevNext` when unset, which is how this was
48
+ * configured before and stays supported - but that option's documented job is Swiper's own
49
+ * `loading="lazy"` preloading, which these slides do not use. Prefer this prop.
50
+ */
51
+ preloadCount?: number;
52
+ }> & Readonly<{
53
+ onClick?: (() => any) | undefined;
54
+ onInit?: ((args_0: Swiper) => any) | undefined;
55
+ onMoved?: ((args_0: {
56
+ activeIndex: number;
57
+ }) => any) | undefined;
58
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
59
+ default?: (props: {}) => any;
60
+ } & {
61
+ placeholder?: (props: {}) => any;
62
+ } & {
63
+ thumbs?: (props: {}) => any;
64
+ }>;
65
+ type __VLS_WithSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
@@ -0,0 +1,5 @@
1
+ import e, { addModuleDescriptorKey as t, setLazyImagesLoaderKey as n } from "./SwiperRootPrimitive.vue.js";
2
+ import r from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // lib/components/carousel/Primitive/SwiperRootPrimitive.vue
4
+ var i = /*#__PURE__*/ r(e, [["__scopeId", "data-v-e9b561b3"]]);
5
+ export { t as addModuleDescriptorKey, i as default, n as setLazyImagesLoaderKey };
@@ -0,0 +1,98 @@
1
+ import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, defineComponent as r, normalizeClass as i, onBeforeUnmount as a, onMounted as o, openBlock as s, provide as c, renderSlot as l, shallowRef as u, useTemplateRef as d } from "vue";
2
+ import { createSwiper as f } from "../../../lazyModules/Swiper/factory.js";
3
+ import { AutoplayModule as p } from "../../../lazyModules/Swiper/Autoplay/factory.js";
4
+ import { KeyboardModule as m } from "../../../lazyModules/Swiper/Keyboard/factory.js";
5
+ import { ZoomModule as h } from "../../../lazyModules/Swiper/Zoom/factory.js";
6
+ import { collectSlideImages as g, startDeferredImageLoad as _, waitForImageLoad as v } from "./deferredImages.js";
7
+ import '../../../css/SwiperRootPrimitive.css';// lib/components/carousel/Primitive/SwiperRootPrimitive.vue?vue&type=script&setup=true&lang.ts
8
+ var y = {
9
+ key: 0,
10
+ class: "uikit-absolute uikit-inset-0"
11
+ }, b = Symbol(), x = Symbol(), S = /*@__PURE__*/ r({
12
+ __name: "SwiperRootPrimitive",
13
+ props: {
14
+ rootClasses: {},
15
+ swiperOptions: {},
16
+ preloadCount: {}
17
+ },
18
+ emits: [
19
+ "moved",
20
+ "click",
21
+ "init"
22
+ ],
23
+ setup(r, { expose: S, emit: C }) {
24
+ let w = C, T = u(null), E = d("root"), D = u(!1), O = !!r.swiperOptions?.keyboard, k = !!r.swiperOptions?.autoplay, A = [], j = !1, M = (e) => {
25
+ "requestIdleCallback" in window ? requestIdleCallback(e) : setTimeout(e, 200);
26
+ }, N = (e, t) => e.params.loop ? e.slides[(t % e.slides.length + e.slides.length) % e.slides.length] : e.slides[t], P = (e, t) => {
27
+ let { params: n } = e, i = r.preloadCount ?? n.lazyPreloadPrevNext ?? 0, a = Math.ceil(typeof n.slidesPerView == "number" ? n.slidesPerView : e.slidesPerViewDynamic()), o = n.centeredSlides ? Math.floor(a / 2) : 0, s = g(N(e, t)), c = [], l = [];
28
+ for (let r = t - o - i; r <= t + a - 1 - o + i; r++) {
29
+ if (r === t || !n.loop && (r < 0 || r >= e.slides.length)) continue;
30
+ let i = g(N(e, r), "img[data-src]");
31
+ (r >= t - o && r < t + a - o ? c : l).push(...i);
32
+ }
33
+ return {
34
+ visibleImages: s,
35
+ inViewImages: c,
36
+ preloadImages: l
37
+ };
38
+ }, F = (e) => {
39
+ D.value = !0, w("init", e);
40
+ }, I = async (e) => {
41
+ let { visibleImages: t, inViewImages: n, preloadImages: r } = P(e, e.activeIndex), i, a = new Promise((e) => i = setTimeout(e, 6e3)), o = Promise.all(t.map(v)).finally(() => {
42
+ clearTimeout(i);
43
+ });
44
+ await Promise.race([o, a]), n.forEach(_), M(() => {
45
+ r.forEach(_);
46
+ }), F(e);
47
+ }, L = (e) => {
48
+ let { visibleImages: t, inViewImages: n, preloadImages: r } = P(e, e.activeIndex);
49
+ [
50
+ ...t,
51
+ ...n,
52
+ ...r
53
+ ].forEach(_);
54
+ }, R = async (e) => {
55
+ T.value = await f(e, {
56
+ ...r.swiperOptions,
57
+ on: {
58
+ ...r.swiperOptions?.on,
59
+ init: (e) => (r.swiperOptions?.on?.init?.(e), I(e)),
60
+ slideChange: (e) => {
61
+ w("moved", { activeIndex: e.activeIndex }), L(e), r.swiperOptions?.on?.slideChange?.(e);
62
+ },
63
+ slidesUpdated: (e) => {
64
+ D.value && L(e), r.swiperOptions?.on?.slidesUpdated?.(e);
65
+ }
66
+ }
67
+ }, [
68
+ h(r.swiperOptions?.zoom),
69
+ O ? m(r.swiperOptions?.keyboard) : void 0,
70
+ k ? p(r.swiperOptions.autoplay) : void 0,
71
+ ...A
72
+ ].filter(Boolean));
73
+ };
74
+ return o(() => {
75
+ E.value && setTimeout(() => R(E.value));
76
+ }), a(() => {
77
+ let e = T.value;
78
+ T.value = null, e?.destroy(!0, !1);
79
+ }), c(x, (e) => {
80
+ e && A.push(e);
81
+ }), c(b, (e) => {
82
+ e !== j && (j = e);
83
+ }), S({
84
+ swiper: T,
85
+ updateSlidesPerView: (e) => {
86
+ T.value && T.value.params.slidesPerView !== e && (T.value.params.slidesPerView = e, T.value.update());
87
+ }
88
+ }), (a, o) => (s(), t("div", { class: i(["uikit-relative", { "is-initialized": D.value }]) }, [
89
+ n("div", {
90
+ ref: "root",
91
+ class: i(["swiper uikit-carousel", r.rootClasses])
92
+ }, [l(a.$slots, "default", {}, void 0, !0)], 2),
93
+ D.value ? e("", !0) : (s(), t("div", y, [l(a.$slots, "placeholder", {}, void 0, !0)])),
94
+ l(a.$slots, "thumbs", {}, void 0, !0)
95
+ ], 2));
96
+ }
97
+ });
98
+ export { x as addModuleDescriptorKey, S as default, b as setLazyImagesLoaderKey };
@@ -0,0 +1,18 @@
1
+ import { ClassTypeProp } from '../../../UIKit/types';
2
+ export interface SwiperSlideImagePrimitiveProps {
3
+ src?: string;
4
+ srcset?: string;
5
+ alt?: string;
6
+ width?: number;
7
+ height?: number;
8
+ sizes?: string;
9
+ imgClasses?: ClassTypeProp;
10
+ decoding?: "auto" | "sync" | "async";
11
+ crossorigin?: "anonymous" | "use-credentials";
12
+ fetchpriority?: "auto" | "high" | "low";
13
+ loading?: "lazy" | "eager";
14
+ lazy?: boolean;
15
+ }
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ declare const __VLS_export: import('vue').DefineComponent<SwiperSlideImagePrimitiveProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SwiperSlideImagePrimitiveProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,4 @@
1
+ import e from "./SwiperSlideImagePrimitive.vue.js";
2
+ // lib/components/carousel/Primitive/SwiperSlideImagePrimitive.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,45 @@
1
+ import { createBlock as e, createElementVNode as t, createPropsRestProxy as n, defineComponent as r, inject as i, mergeProps as a, openBlock as o, shallowRef as s, unref as c, withCtx as l } from "vue";
2
+ import u from "../SwiperSlide.js";
3
+ import { setLazyImagesLoaderKey as d } from "./SwiperRootPrimitive.vue.js";
4
+ import '../../../css/SwiperSlideImagePrimitive.css';// lib/components/carousel/Primitive/SwiperSlideImagePrimitive.vue?vue&type=script&setup=true&lang.ts
5
+ var f = [
6
+ "src",
7
+ "srcset",
8
+ "data-src",
9
+ "data-srcset"
10
+ ], p = /*@__PURE__*/ r({
11
+ __name: "SwiperSlideImagePrimitive",
12
+ props: {
13
+ src: {},
14
+ srcset: {},
15
+ alt: {},
16
+ width: {},
17
+ height: {},
18
+ sizes: {},
19
+ imgClasses: {},
20
+ decoding: {},
21
+ crossorigin: {},
22
+ fetchpriority: {},
23
+ loading: {},
24
+ lazy: { type: Boolean }
25
+ },
26
+ setup(r) {
27
+ let p = n(r, [
28
+ "src",
29
+ "srcset",
30
+ "imgClasses",
31
+ "lazy"
32
+ ]), m = r.lazy, h = s(), g = s(), _ = i(d, void 0);
33
+ return m && (h.value = r.src, g.value = r.srcset, _?.(!0)), (n, i) => (o(), e(u, null, {
34
+ default: l(() => [t("img", a(p, {
35
+ class: ["swiper-slide-image-primitive", r.imgClasses],
36
+ src: c(m) ? void 0 : r.src,
37
+ srcset: c(m) ? void 0 : r.srcset,
38
+ "data-src": h.value,
39
+ "data-srcset": g.value
40
+ }), null, 16, f)]),
41
+ _: 1
42
+ }));
43
+ }
44
+ });
45
+ export { p as default };
@@ -0,0 +1,62 @@
1
+ import { Nullable } from '@wikicasa-dev/types';
2
+ import { Swiper, SwiperOptions } from 'swiper/types';
3
+ import { ClassTypeProp } from '../../../UIKit/types';
4
+ /**
5
+ * `modules` is discarded by `createSwiper`, which builds that list from the descriptors, and
6
+ * `thumbs` is this component's own concern - it is what wires the strip to the carousel.
7
+ *
8
+ * `watchSlidesProgress` and `slideToClickedSlide` are force-assigned by Swiper's thumbs module
9
+ * when it adopts the strip, so accepting them would be advertising a setting that is silently
10
+ * reverted.
11
+ */
12
+ export type SwiperThumbnailPrimitiveProps = Omit<SwiperOptions, "thumbs" | "modules" | "watchSlidesProgress" | "slideToClickedSlide">;
13
+ export type SwiperThumbnailPrimitiveEmits = {
14
+ /**
15
+ * Fired right after the strip's own Swiper initialization.
16
+ */
17
+ init: [Swiper];
18
+ };
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
22
+ dataCy?: string;
23
+ rootClasses?: ClassTypeProp;
24
+ wrapperClasses?: ClassTypeProp;
25
+ swiperOptions?: SwiperThumbnailPrimitiveProps;
26
+ /**
27
+ * Thumbnails to promote beyond each edge of the visible window. A rail whose next thumbnail
28
+ * pops in under the finger reads as broken, so this leans one slide out by default.
29
+ *
30
+ * Deliberately not Swiper's `lazyPreloadPrevNext`: that option drives Swiper's own
31
+ * `loading="lazy"` preloading, which these slides do not use - borrowing it would both
32
+ * misname the knob and switch on a second preloading pass on every slide change.
33
+ */
34
+ preloadCount?: number;
35
+ }, {
36
+ swiper: import('vue').ShallowRef<Nullable<Swiper>, Nullable<Swiper>>;
37
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ init: (args_0: Swiper) => any;
39
+ }, string, import('vue').PublicProps, Readonly<{
40
+ dataCy?: string;
41
+ rootClasses?: ClassTypeProp;
42
+ wrapperClasses?: ClassTypeProp;
43
+ swiperOptions?: SwiperThumbnailPrimitiveProps;
44
+ /**
45
+ * Thumbnails to promote beyond each edge of the visible window. A rail whose next thumbnail
46
+ * pops in under the finger reads as broken, so this leans one slide out by default.
47
+ *
48
+ * Deliberately not Swiper's `lazyPreloadPrevNext`: that option drives Swiper's own
49
+ * `loading="lazy"` preloading, which these slides do not use - borrowing it would both
50
+ * misname the knob and switch on a second preloading pass on every slide change.
51
+ */
52
+ preloadCount?: number;
53
+ }> & Readonly<{
54
+ onInit?: ((args_0: Swiper) => any) | undefined;
55
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
56
+ default?: (props: {}) => any;
57
+ }>;
58
+ type __VLS_WithSlots<T, S> = T & {
59
+ new (): {
60
+ $slots: S;
61
+ };
62
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./SwiperThumbnailPrimitive.vue.js";
2
+ // lib/components/carousel/Primitive/SwiperThumbnailPrimitive.vue
3
+ var t = e;
4
+ export { t as default };
@@ -0,0 +1,56 @@
1
+ import { createElementBlock as e, createElementVNode as t, defineComponent as n, inject as r, normalizeClass as i, onBeforeUnmount as a, openBlock as o, renderSlot as s, shallowRef as c, useTemplateRef as l } from "vue";
2
+ import { addModuleDescriptorKey as u } from "./SwiperRootPrimitive.vue.js";
3
+ import { createSwiper as d } from "../../../lazyModules/Swiper/factory.js";
4
+ import { ThumbsModule as f } from "../../../lazyModules/Swiper/Thumbs/factory.js";
5
+ import { FreemodeModule as p } from "../../../lazyModules/Swiper/FreeMode/factory.js";
6
+ import { collectSlideImages as m, startDeferredImageLoad as h } from "./deferredImages.js";
7
+ // lib/components/carousel/Primitive/SwiperThumbnailPrimitive.vue?vue&type=script&setup=true&lang.ts
8
+ var g = ["data-cy"], _ = /*@__PURE__*/ n({
9
+ __name: "SwiperThumbnailPrimitive",
10
+ props: {
11
+ dataCy: {},
12
+ rootClasses: {},
13
+ wrapperClasses: {},
14
+ swiperOptions: {},
15
+ preloadCount: { default: 1 }
16
+ },
17
+ emits: ["init"],
18
+ setup(n, { expose: _, emit: v }) {
19
+ let y = v, b = c(null), x = l("root"), S = /* @__PURE__ */ new WeakSet(), C = (e) => {
20
+ let { slides: t, activeIndex: r, params: i } = e, a = Math.ceil(typeof i.slidesPerView == "number" ? i.slidesPerView : e.slidesPerViewDynamic()), o = i.centeredSlides ? Math.floor(a / 2) : 0, s = Math.max(0, r - o - n.preloadCount), c = Math.min(t.length - 1, r + a - 1 - o + n.preloadCount);
21
+ for (let e = s; e <= c; e++) {
22
+ let n = t[e];
23
+ n && !S.has(n) && (S.add(n), m(n).forEach(h));
24
+ }
25
+ }, w = (e) => (t) => {
26
+ C(t), e?.(t);
27
+ }, T = {}, E = f(T);
28
+ r(u, void 0)?.({
29
+ ...E,
30
+ loader: async () => {
31
+ let [e] = await Promise.all([E.loader(), D().catch(() => void 0)]);
32
+ return e;
33
+ }
34
+ });
35
+ async function D() {
36
+ x.value && (b.value = await d(x.value, {
37
+ ...n.swiperOptions,
38
+ on: {
39
+ ...n.swiperOptions?.on,
40
+ init: w(n.swiperOptions?.on?.init),
41
+ slideChange: w(n.swiperOptions?.on?.slideChange),
42
+ slidesUpdated: w(n.swiperOptions?.on?.slidesUpdated)
43
+ }
44
+ }, n.swiperOptions?.freeMode ? [p(n.swiperOptions.freeMode)] : []), T.swiper = b.value, y("init", b.value));
45
+ }
46
+ return a(() => {
47
+ let e = b.value;
48
+ b.value = null, e?.destroy(!0, !1);
49
+ }), _({ swiper: b }), (r, a) => (o(), e("div", {
50
+ ref: "root",
51
+ "data-cy": n.dataCy,
52
+ class: i(["swiper", n.rootClasses])
53
+ }, [t("div", { class: i(["swiper-wrapper", n.wrapperClasses]) }, [s(r.$slots, "default")], 2)], 10, g));
54
+ }
55
+ });
56
+ export { _ as default };
@@ -0,0 +1,17 @@
1
+ import { Nullable } from '@wikicasa-dev/types';
2
+ /**
3
+ * Deferred image loading for a Swiper instance.
4
+ *
5
+ * Slides opt in by rendering `data-src` / `data-srcset` instead of `src` / `srcset`
6
+ * (see `SwiperSlideImagePrimitive`'s `lazy` prop). Nothing then loads until one of these
7
+ * helpers promotes the attributes.
8
+ *
9
+ * This exists rather than `loading="lazy"` because Safari does not honour that attribute on
10
+ * these slides - it fetches every one of them up front, which on a gallery of originals is the
11
+ * whole page weight. Every carousel that owns its own Swiper instance has to run this itself:
12
+ * the helpers walk the slides of the instance they are handed, so a second instance (a thumbs
13
+ * strip) is not covered by the main carousel's pass. Shared here so the two cannot drift.
14
+ */
15
+ export declare const collectSlideImages: (slide: Nullable<HTMLElement>, selector?: string) => HTMLImageElement[];
16
+ export declare const startDeferredImageLoad: (img: HTMLImageElement) => void;
17
+ export declare const waitForImageLoad: (img: HTMLImageElement) => Promise<void>;
@@ -0,0 +1,10 @@
1
+ // lib/components/carousel/Primitive/deferredImages.ts
2
+ var e = (e, t = "img") => Array.from(e?.querySelectorAll(t) ?? []), t = (e) => {
3
+ e.src || (e.src = e.dataset.src || "", e.srcset = e.dataset.srcset || "", e.dataset.src = "", e.dataset.srcset = "", e.removeAttribute("lazy"));
4
+ }, n = async (e) => {
5
+ let n = e.complete && e.src ? Promise.resolve() : new Promise((t) => {
6
+ e.addEventListener("load", () => t(), { once: !0 }), e.addEventListener("error", () => t(), { once: !0 });
7
+ });
8
+ t(e), await n, await e.decode?.().catch(() => void 0);
9
+ };
10
+ export { e as collectSlideImages, t as startDeferredImageLoad, n as waitForImageLoad };
@@ -0,0 +1,57 @@
1
+ import { Image, Nullable } from '@wikicasa-dev/types';
2
+ import { Swiper, SwiperOptions } from 'swiper/types';
3
+ type SwiperCarouselProps = {
4
+ id?: string;
5
+ swiperOptions: SwiperOptions;
6
+ thumbSwiperOptions?: SwiperOptions;
7
+ lazyLoadImages?: boolean;
8
+ backgroundImage?: boolean;
9
+ images?: Image[];
10
+ artDirection?: Record<string, {
11
+ mq: string;
12
+ width: string;
13
+ }>;
14
+ shiftFirstImage?: boolean;
15
+ };
16
+ declare const __VLS_template: () => {
17
+ __VLS_Slots: {
18
+ default?: (props: {}) => any;
19
+ } & {
20
+ last_slide?: (props: {}) => any;
21
+ } & {
22
+ placeholder?: (props: {}) => any;
23
+ };
24
+ __VLS_TemplateRefs: {
25
+ swiperRef: __VLS_Elements["div"];
26
+ } & {
27
+ thumbsRef: __VLS_Elements["div"];
28
+ };
29
+ };
30
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
31
+ declare const __VLS_base: import('vue').DefineComponent<SwiperCarouselProps, {
32
+ swiper: import('vue').ShallowRef<Nullable<Swiper>, Nullable<Swiper>>;
33
+ moveTo(index: number, speed?: number, runCallbacks?: boolean): void;
34
+ updateSlidesPerView: (value: number) => void;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ click: () => any;
37
+ init: () => any;
38
+ moved: (args_0: {
39
+ activeIndex: number;
40
+ }) => any;
41
+ firstSlideLoaded: () => any;
42
+ }, string, import('vue').PublicProps, Readonly<SwiperCarouselProps> & Readonly<{
43
+ onClick?: (() => any) | undefined;
44
+ onInit?: (() => any) | undefined;
45
+ onMoved?: ((args_0: {
46
+ activeIndex: number;
47
+ }) => any) | undefined;
48
+ onFirstSlideLoaded?: (() => any) | undefined;
49
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
50
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
51
+ declare const _default: typeof __VLS_export;
52
+ export default _default;
53
+ type __VLS_WithSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
@@ -0,0 +1,5 @@
1
+ import e from "./SwiperCarousel.vue.js";
2
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // lib/components/carousel/SwiperCarousel.vue
4
+ var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-60300bc1"]]);
5
+ export { n as default };