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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/dist/UIKit/AccessibleSelect.js +1 -2
  2. package/dist/UIKit/AccessibleSelect.vue.js +75 -76
  3. package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +5 -3
  4. package/dist/UIKit/Accordion/AccordionContentPrimitive.js +1 -2
  5. package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +6 -3
  6. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +1 -2
  7. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +6 -3
  8. package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +9 -2
  9. package/dist/UIKit/Accordion/AccordionItemPrimitive.js +1 -2
  10. package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +12 -9
  11. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +1 -2
  12. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +6 -3
  13. package/dist/UIKit/Accordion/BaseAccordion.d.ts +6 -0
  14. package/dist/UIKit/Accordion/BaseAccordion.js +1 -2
  15. package/dist/UIKit/Accordion/BaseAccordion.vue.js +18 -6
  16. package/dist/UIKit/Accordion/BaseAccordionItem.js +1 -2
  17. package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +34 -28
  18. package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +1 -2
  19. package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +84 -97
  20. package/dist/UIKit/BaseAlert.d.ts +5 -3
  21. package/dist/UIKit/BaseAlert.js +1 -2
  22. package/dist/UIKit/BaseAlert.vue.js +1 -2
  23. package/dist/UIKit/BaseAutocomplete.js +1 -2
  24. package/dist/UIKit/BaseAutocomplete.vue.js +65 -72
  25. package/dist/UIKit/BaseBadge.d.ts +5 -3
  26. package/dist/UIKit/BaseBadge.js +1 -2
  27. package/dist/UIKit/BaseBadge.vue.js +1 -2
  28. package/dist/UIKit/BaseBreadcrumb.d.ts +9 -7
  29. package/dist/UIKit/BaseBreadcrumb.js +1 -2
  30. package/dist/UIKit/BaseBreadcrumb.vue.js +1 -2
  31. package/dist/UIKit/BaseButton.js +1 -2
  32. package/dist/UIKit/BaseButton.vue.js +26 -27
  33. package/dist/UIKit/BaseComplexToggle.js +4 -5
  34. package/dist/UIKit/BaseComplexToggle.vue.js +2 -13
  35. package/dist/UIKit/BaseDropDown.d.ts +27 -20
  36. package/dist/UIKit/BaseDropDown.js +1 -2
  37. package/dist/UIKit/BaseDropDown.vue.js +48 -49
  38. package/dist/UIKit/BaseFloatingLabel.js +4 -5
  39. package/dist/UIKit/BaseFloatingLabel.vue.js +1 -2
  40. package/dist/UIKit/BaseInput.js +4 -5
  41. package/dist/UIKit/BaseInput.vue.js +65 -66
  42. package/dist/UIKit/BaseModal.d.ts +22 -15
  43. package/dist/UIKit/BaseModal.js +1 -2
  44. package/dist/UIKit/BaseModal.vue.js +50 -56
  45. package/dist/UIKit/BasePagination.js +1 -2
  46. package/dist/UIKit/BasePagination.vue.js +9 -3
  47. package/dist/UIKit/BaseSelect/SelectItem.d.ts +10 -5
  48. package/dist/UIKit/BaseSelect/SelectItem.js +1 -2
  49. package/dist/UIKit/BaseSelect/SelectItem.vue.js +1 -2
  50. package/dist/UIKit/BaseSlider.js +4 -5
  51. package/dist/UIKit/BaseSlider.vue.js +29 -32
  52. package/dist/UIKit/BaseSnackbar.js +1 -2
  53. package/dist/UIKit/BaseSnackbar.vue.js +19 -24
  54. package/dist/UIKit/BaseTextarea.js +4 -5
  55. package/dist/UIKit/BaseTextarea.vue.js +51 -52
  56. package/dist/UIKit/BaseToggle.d.ts +7 -5
  57. package/dist/UIKit/BaseToggle.js +1 -2
  58. package/dist/UIKit/BaseToggle.vue.js +1 -2
  59. package/dist/UIKit/BaseTooltip.d.ts +8 -6
  60. package/dist/UIKit/BaseTooltip.js +4 -5
  61. package/dist/UIKit/BaseTooltip.vue.js +1 -2
  62. package/dist/UIKit/BaseUploadFile.d.ts +7 -5
  63. package/dist/UIKit/BaseUploadFile.js +1 -2
  64. package/dist/UIKit/BaseUploadFile.vue.js +26 -27
  65. package/dist/UIKit/Card/BaseCard.js +1 -2
  66. package/dist/UIKit/Card/BaseCard.vue.js +2 -2
  67. package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +5 -3
  68. package/dist/UIKit/Card/CardDescriptionPrimitive.js +6 -7
  69. package/dist/UIKit/Card/CardImagePrimitive.d.ts +5 -3
  70. package/dist/UIKit/Card/CardImagePrimitive.js +1 -2
  71. package/dist/UIKit/Card/CardImagePrimitive.vue.js +7 -8
  72. package/dist/UIKit/Card/CardRootPrimitive.js +1 -2
  73. package/dist/UIKit/Card/CardRootPrimitive.vue.js +11 -11
  74. package/dist/UIKit/Card/type.js +1 -2
  75. package/dist/UIKit/Checkbox/CheckboxBtn.js +1 -2
  76. package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +6 -7
  77. package/dist/UIKit/Checkbox/CheckboxGroup.js +1 -2
  78. package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +39 -46
  79. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +1 -2
  80. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +21 -32
  81. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +1 -1
  82. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +1 -2
  83. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +7 -3
  84. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +1 -2
  85. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +8 -3
  86. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +1 -2
  87. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +6 -3
  88. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +72 -7
  89. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +1 -2
  90. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +6 -3
  91. package/dist/UIKit/Radio/RadioButton.js +1 -2
  92. package/dist/UIKit/Radio/RadioButton.vue.js +1 -2
  93. package/dist/UIKit/Radio/RadioGroup.js +1 -2
  94. package/dist/UIKit/Radio/RadioGroup.vue.js +23 -24
  95. package/dist/UIKit/Radio/v2/RadioButtonGroup.js +1 -2
  96. package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +17 -14
  97. package/dist/UIKit/Radio/v2/RadioButtonItem.js +1 -2
  98. package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +6 -3
  99. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +9 -3
  100. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +1 -2
  101. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +6 -3
  102. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +4 -5
  103. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +1 -2
  104. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +1 -2
  105. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +12 -13
  106. package/dist/UIKit/Slider/SimpleSlider.js +4 -5
  107. package/dist/UIKit/Slider/SimpleSlider.vue.js +1 -2
  108. package/dist/UIKit/StaticSpinner.js +1 -2
  109. package/dist/UIKit/StaticSpinner.vue.js +1 -2
  110. package/dist/UIKit/Tab/BaseTab.d.ts +5 -3
  111. package/dist/UIKit/Tab/BaseTab.js +1 -2
  112. package/dist/UIKit/Tab/BaseTab.vue.js +1 -2
  113. package/dist/UIKit/Tab/BaseTabList.js +1 -2
  114. package/dist/UIKit/Tab/BaseTabList.vue.js +1 -2
  115. package/dist/UIKit/Tab/BaseTabPanel.d.ts +5 -3
  116. package/dist/UIKit/Tab/BaseTabPanel.js +1 -2
  117. package/dist/UIKit/Tab/BaseTabPanel.vue.js +1 -2
  118. package/dist/UIKit/Tab/BaseTabView.js +1 -2
  119. package/dist/UIKit/Tab/BaseTabView.vue.js +36 -37
  120. package/dist/UIKit/Tab/v2/BaseTabs.d.ts +6 -0
  121. package/dist/UIKit/Tab/v2/BaseTabs.js +1 -2
  122. package/dist/UIKit/Tab/v2/BaseTabs.vue.js +13 -6
  123. package/dist/UIKit/Tab/v2/BaseTabsContent.js +1 -2
  124. package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +6 -3
  125. package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +1 -2
  126. package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +6 -3
  127. package/dist/UIKit/Tab/v2/BaseTabsList.js +1 -2
  128. package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +6 -3
  129. package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +1 -2
  130. package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +6 -3
  131. package/dist/UIKit/frameUtils.js +1 -2
  132. package/dist/UIKit/useScrollLock.js +2 -3
  133. package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
  134. package/dist/chart/DoughnutChart.js +1 -2
  135. package/dist/chart/DoughnutChart.vue.js +14 -15
  136. package/dist/chart/LineChart.js +1 -2
  137. package/dist/chart/LineChart.vue.js +16 -17
  138. package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +7 -5
  139. package/dist/components/IntersectionObserver/IntersectionObservable.js +1 -2
  140. package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +1 -2
  141. package/dist/components/IntersectionObserver/IntersectionObserver.d.ts +31 -29
  142. package/dist/components/IntersectionObserver/IntersectionObserver.js +1 -2
  143. package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +2 -7
  144. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +1 -2
  145. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +16 -17
  146. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +14 -9
  147. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +1 -2
  148. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +12 -13
  149. package/dist/components/IntersectionObserver/v2/types.js +1 -2
  150. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +4 -4
  151. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +13 -14
  152. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +1 -2
  153. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +12 -13
  154. package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +5 -3
  155. package/dist/components/carousel/Primitive/SwiperPrimitive.js +1 -2
  156. package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +1 -2
  157. package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +5 -6
  158. package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +39 -40
  159. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +1 -2
  160. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +13 -14
  161. package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.js +1 -2
  162. package/dist/components/carousel/Primitive/SwiperThumbnailPrimitive.vue.js +27 -28
  163. package/dist/components/carousel/Primitive/deferredImages.js +1 -2
  164. package/dist/components/carousel/SwiperCarousel.d.ts +14 -7
  165. package/dist/components/carousel/SwiperCarousel.js +4 -5
  166. package/dist/components/carousel/SwiperCarousel.vue.js +82 -83
  167. package/dist/components/carousel/SwiperSlide.d.ts +5 -3
  168. package/dist/components/carousel/SwiperSlide.js +6 -7
  169. package/dist/composables/mock.js +1 -2
  170. package/dist/composables/useFloatingLabel.js +2 -7
  171. package/dist/composables/useValidator.js +1 -2
  172. package/dist/css/BaseAccordionItem.css +1 -0
  173. package/dist/{assets/BaseInput2.css → css/BaseInput.css} +1 -1
  174. package/dist/css/BaseModal.css +1 -0
  175. package/dist/css/BaseSlider.css +1 -0
  176. package/dist/css/BaseSnackbar.css +1 -0
  177. package/dist/{assets → css}/ClearableAutocomplete.css +1 -1
  178. package/dist/css/SwiperCarousel.css +1 -0
  179. package/dist/css/SwiperNavigationPrimitive.css +1 -0
  180. package/dist/css/SwiperRootPrimitive.css +1 -0
  181. package/dist/docs/AccessibleSelect.md +3 -1
  182. package/dist/docs/AccordionContentPrimitive.md +1 -1
  183. package/dist/docs/AccordionHeaderPrimitive.md +1 -1
  184. package/dist/docs/AccordionItemPrimitive.md +3 -3
  185. package/dist/docs/AccordionTriggerPrimitive.md +1 -1
  186. package/dist/docs/BaseAccordion.md +3 -3
  187. package/dist/docs/BaseAccordionItem.md +3 -1
  188. package/dist/docs/BaseAlert.md +3 -1
  189. package/dist/docs/BaseAutocomplete.md +3 -1
  190. package/dist/docs/BaseBadge.md +3 -1
  191. package/dist/docs/BaseBreadcrumb.md +1 -1
  192. package/dist/docs/BaseButton.md +1 -1
  193. package/dist/docs/BaseCard.md +3 -1
  194. package/dist/docs/BaseComplexToggle.md +3 -1
  195. package/dist/docs/BaseDropDown.md +3 -1
  196. package/dist/docs/BaseFloatingLabel.md +3 -1
  197. package/dist/docs/BaseInput.md +3 -1
  198. package/dist/docs/BaseModal.md +3 -1
  199. package/dist/docs/BasePagination.md +1 -1
  200. package/dist/docs/BaseShimmerLoader.md +3 -1
  201. package/dist/docs/BaseSlider.md +3 -1
  202. package/dist/docs/BaseSnackbar.md +4 -2
  203. package/dist/docs/BaseTab.md +1 -1
  204. package/dist/docs/BaseTabView.md +1 -1
  205. package/dist/docs/BaseTabs.md +4 -2
  206. package/dist/docs/BaseTabsContent.md +1 -1
  207. package/dist/docs/BaseTabsIndicator.md +3 -1
  208. package/dist/docs/BaseTabsList.md +1 -1
  209. package/dist/docs/BaseTabsTrigger.md +1 -1
  210. package/dist/docs/BaseTextarea.md +3 -1
  211. package/dist/docs/BaseToggle.md +1 -1
  212. package/dist/docs/BaseTooltip.md +3 -1
  213. package/dist/docs/BaseUploadFile.md +1 -1
  214. package/dist/docs/CardDescriptionPrimitive.md +1 -1
  215. package/dist/docs/CardImagePrimitive.md +1 -1
  216. package/dist/docs/CardRootPrimitive.md +3 -1
  217. package/dist/docs/CheckboxBtn.md +3 -1
  218. package/dist/docs/CheckboxButtonGroup.md +1 -1
  219. package/dist/docs/CheckboxGroup.md +1 -1
  220. package/dist/docs/CheckboxGroupItemPrimitive.md +6 -5
  221. package/dist/docs/CheckboxGroupPrimitive.md +3 -1
  222. package/dist/docs/ClearableAutocomplete.md +3 -1
  223. package/dist/docs/DoughnutChart.md +1 -1
  224. package/dist/docs/INDEX.md +2 -2
  225. package/dist/docs/IntersectionObservable.md +1 -1
  226. package/dist/docs/IntersectionObserver.md +1 -1
  227. package/dist/docs/IntersectionObserverProvider.md +1 -1
  228. package/dist/docs/IntersectionObserverTarget.md +1 -1
  229. package/dist/docs/LineChart.md +1 -1
  230. package/dist/docs/ProgressIndicatorPrimitive.md +1 -1
  231. package/dist/docs/ProgressRootPrimitive.md +2 -2
  232. package/dist/docs/RadioButton.md +1 -1
  233. package/dist/docs/RadioButtonGroup.md +1 -1
  234. package/dist/docs/RadioButtonItem.md +3 -1
  235. package/dist/docs/RadioGroup.md +1 -1
  236. package/dist/docs/RadioGroupItemPrimitive.md +1 -1
  237. package/dist/docs/SelectItem.md +1 -1
  238. package/dist/docs/ShimmerMultiLine.md +1 -1
  239. package/dist/docs/SimpleSlider.md +3 -1
  240. package/dist/docs/StaticSpinner.md +3 -1
  241. package/dist/docs/SwiperCarousel.md +3 -1
  242. package/dist/docs/SwiperNavigationPrimitive.md +3 -1
  243. package/dist/docs/SwiperPaginationPrimitive.md +3 -1
  244. package/dist/docs/SwiperPrimitive.md +1 -1
  245. package/dist/docs/SwiperRootPrimitive.md +3 -1
  246. package/dist/docs/SwiperSlide.md +1 -1
  247. package/dist/docs/SwiperSlideImagePrimitive.md +3 -1
  248. package/dist/docs/SwiperThumbnailPrimitive.md +1 -1
  249. package/dist/docs/TOKENS.md +1 -1
  250. package/dist/docs/agent-index.md +1 -1
  251. package/dist/index.js +25 -25
  252. package/dist/lazyModules/ChartJs/Chart.js +1 -2
  253. package/dist/lazyModules/ChartJs/DoughnutChart/core.js +1 -2
  254. package/dist/lazyModules/ChartJs/LineChart/cartesian.js +1 -2
  255. package/dist/lazyModules/ChartJs/LineChart/core.js +1 -2
  256. package/dist/lazyModules/ChartJs/Plugins/Legend.js +1 -2
  257. package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +2 -3
  258. package/dist/lazyModules/ChartJs/Plugins/Title.js +1 -2
  259. package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +1 -2
  260. package/dist/lazyModules/Swiper/Autoplay/factory.js +1 -2
  261. package/dist/lazyModules/Swiper/Autoplay/index.js +2 -3
  262. package/dist/lazyModules/Swiper/Controller/factory.js +1 -2
  263. package/dist/lazyModules/Swiper/Controller/index.js +2 -3
  264. package/dist/lazyModules/Swiper/FreeMode/factory.js +1 -2
  265. package/dist/lazyModules/Swiper/FreeMode/index.js +2 -3
  266. package/dist/lazyModules/Swiper/Keyboard/factory.js +1 -2
  267. package/dist/lazyModules/Swiper/Keyboard/index.js +2 -3
  268. package/dist/lazyModules/Swiper/Navigation/factory.js +1 -2
  269. package/dist/lazyModules/Swiper/Navigation/index.js +2 -3
  270. package/dist/lazyModules/Swiper/Pagination/factory.js +1 -2
  271. package/dist/lazyModules/Swiper/Pagination/index.js +2 -3
  272. package/dist/lazyModules/Swiper/Thumbs/factory.js +1 -2
  273. package/dist/lazyModules/Swiper/Thumbs/index.js +2 -3
  274. package/dist/lazyModules/Swiper/Zoom/factory.js +1 -2
  275. package/dist/lazyModules/Swiper/Zoom/index.js +2 -3
  276. package/dist/lazyModules/Swiper/factory.js +1 -2
  277. package/dist/lazyModules/Swiper/index.js +2 -3
  278. package/dist/lazyModules/VueChartJs/Doughnut/factory.js +1 -2
  279. package/dist/lazyModules/VueChartJs/Doughnut/index.js +1 -2
  280. package/dist/lazyModules/VueChartJs/Line/factory.js +1 -2
  281. package/dist/lazyModules/VueChartJs/Line/index.js +1 -2
  282. package/dist/utils.js +1 -2
  283. package/package.json +31 -31
  284. package/dist/assets/BaseAccordionItem.css +0 -1
  285. package/dist/assets/BaseSlider2.css +0 -1
  286. package/dist/assets/BaseSnackbar.css +0 -1
  287. package/dist/assets/SwiperCarousel.css +0 -1
  288. package/dist/assets/SwiperRootPrimitive.css +0 -1
  289. package/dist/assets/SwiperRootPrimitive2.css +0 -1
  290. package/dist/assets/baseComplexToggle.css +0 -1
  291. package/dist/assets/baseFloatingLabel.css +0 -1
  292. package/dist/assets/baseInput.css +0 -1
  293. package/dist/assets/baseModal.css +0 -1
  294. package/dist/assets/baseSlider.css +0 -1
  295. package/dist/assets/baseSpinner.css +0 -1
  296. package/dist/assets/baseTextarea.css +0 -1
  297. package/dist/assets/baseTooltip.css +0 -1
  298. package/dist/assets/swiper-autoplay.css +0 -1
  299. /package/dist/{assets → css}/AccessibleSelect.css +0 -0
  300. /package/dist/{assets/baseAlert.css → css/BaseAlert.css} +0 -0
  301. /package/dist/{assets → css}/BaseAutocomplete.css +0 -0
  302. /package/dist/{assets → css}/BaseBadge.css +0 -0
  303. /package/dist/{assets/baseCard.css → css/BaseCard.css} +0 -0
  304. /package/dist/{assets/BaseComplexToggle2.css → css/BaseComplexToggle.css} +0 -0
  305. /package/dist/{assets → css}/BaseDropDown.css +0 -0
  306. /package/dist/{assets/BaseFloatingLabel2.css → css/BaseFloatingLabel.css} +0 -0
  307. /package/dist/{assets → css}/BaseShimmerLoader.css +0 -0
  308. /package/dist/{assets → css}/BaseTabs.css +0 -0
  309. /package/dist/{assets → css}/BaseTabsIndicator.css +0 -0
  310. /package/dist/{assets/BaseTextarea2.css → css/BaseTextarea.css} +0 -0
  311. /package/dist/{assets/BaseTooltip2.css → css/BaseTooltip.css} +0 -0
  312. /package/dist/{assets → css}/CheckboxBtn.css +0 -0
  313. /package/dist/{assets → css}/RadioButtonItem.css +0 -0
  314. /package/dist/{assets → css}/SimpleSlider.css +0 -0
  315. /package/dist/{assets → css}/StaticSpinner.css +0 -0
  316. /package/dist/{assets/swiperPaginationBullet.css → css/SwiperPaginationPrimitive.css} +0 -0
  317. /package/dist/{assets → css}/SwiperSlideImagePrimitive.css +0 -0
  318. /package/dist/{assets → css}/swiper-free-mode.css +0 -0
  319. /package/dist/{assets → css}/swiper-navigation.css +0 -0
  320. /package/dist/{assets → css}/swiper-pagination.css +0 -0
  321. /package/dist/{assets → css}/swiper-swiper.css +0 -0
  322. /package/dist/{assets → css}/swiper-zoom.css +0 -0
  323. /package/dist/{assets → css}/tailwind.css +0 -0
  324. /package/dist/{assets → css}/tokens.css +0 -0
@@ -1,8 +1,8 @@
1
- import e from "../BaseSelect/SelectItem.js";
2
- import t from "../BaseDropDown.js";
3
- import { afterPaint as n } from "../frameUtils.js";
4
- import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, defineComponent as u, isMemoSame as ee, mergeModels as d, normalizeClass as f, normalizeStyle as te, onMounted as ne, onUnmounted as re, openBlock as p, renderList as ie, renderSlot as m, shallowRef as h, toDisplayString as ae, unref as oe, useId as g, useModel as _, useTemplateRef as v, vModelText as se, vShow as ce, watch as y, withCtx as b, withDirectives as x, withModifiers as le } from "vue";
5
- import '../../assets/ClearableAutocomplete.css';//#region lib/UIKit/Autocomplete/ClearableAutocomplete.vue?vue&type=script&setup=true&lang.ts
1
+ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, isMemoSame as c, mergeModels as l, normalizeClass as u, normalizeStyle as d, onMounted as ee, onUnmounted as te, openBlock as f, renderList as ne, renderSlot as p, shallowRef as m, toDisplayString as re, unref as ie, useId as ae, useModel as h, useTemplateRef as g, vModelText as _, vShow as oe, watch as v, withCtx as y, withDirectives as b, withModifiers as se } from "vue";
2
+ import ce from "../BaseDropDown.js";
3
+ import le from "../BaseSelect/SelectItem.js";
4
+ import { afterPaint as x } from "../frameUtils.js";
5
+ import '../../css/ClearableAutocomplete.css';// lib/UIKit/Autocomplete/ClearableAutocomplete.vue?vue&type=script&setup=true&lang.ts
6
6
  var ue = [
7
7
  "id",
8
8
  "data-cy",
@@ -11,9 +11,9 @@ var ue = [
11
11
  key: 1,
12
12
  name: "loading-state",
13
13
  class: "uikit-progress-bar-track uikit-absolute uikit-left-0 uikit-top-0 uikit-w-full"
14
- }, pe = ["innerHTML"], S = /*@__PURE__*/ u({
14
+ }, pe = ["innerHTML"], S = /*@__PURE__*/ s({
15
15
  __name: "ClearableAutocomplete",
16
- props: /*@__PURE__*/ d({
16
+ props: /*@__PURE__*/ l({
17
17
  dataCy: {},
18
18
  placeholder: {},
19
19
  enableKeyboardController: {
@@ -44,7 +44,7 @@ var ue = [
44
44
  inputValue: { default: "" },
45
45
  inputValueModifiers: {}
46
46
  }),
47
- emits: /*@__PURE__*/ d([
47
+ emits: /*@__PURE__*/ l([
48
48
  "input",
49
49
  "click",
50
50
  "inputClick",
@@ -54,8 +54,8 @@ var ue = [
54
54
  "update:modelValue",
55
55
  "update:inputValue"
56
56
  ]),
57
- setup(u, { expose: d, emit: S }) {
58
- let C = _(u, "open"), w = _(u, "modelValue"), T = _(u, "inputValue"), E = S, me = g(), D = v("inputRef"), O = h(0), k = h(!1), A = h(!1), j = h(!1), M = h(-1), N = h(-1), P = h([]), he = i(() => ["uikit-z-30", u.dropdownClasses]), F = null, I = 0, L = v("dropdownRef"), R = v("hiddenSpan"), z = v("inputWrapperRef"), B = v("clearButtonRef"), V = () => {
57
+ setup(s, { expose: l, emit: S }) {
58
+ let C = h(s, "open"), w = h(s, "modelValue"), T = h(s, "inputValue"), E = S, me = ae(), D = g("inputRef"), O = m(0), k = m(!1), A = m(!1), j = m(!1), M = m(-1), N = m(-1), P = m([]), he = t(() => ["uikit-z-30", s.dropdownClasses]), F = null, I = 0, L = g("dropdownRef"), R = g("hiddenSpan"), z = g("inputWrapperRef"), B = g("clearButtonRef"), V = () => {
59
59
  M.value = -1, N.value = -1;
60
60
  }, H = () => {
61
61
  F &&= (clearTimeout(F), null), I += 1, A.value = !1, j.value = !1;
@@ -70,7 +70,7 @@ var ue = [
70
70
  F = null, C.value = !0, j.value = !0;
71
71
  let n = [];
72
72
  try {
73
- n = await u.onInputChangeCb(e);
73
+ n = await s.onInputChangeCb(e);
74
74
  } catch {
75
75
  n = [];
76
76
  }
@@ -78,25 +78,17 @@ var ue = [
78
78
  }, 300);
79
79
  }, K = () => {
80
80
  H(), W(), C.value = !1, T.value = "", w.value = null, k.value = !1, O.value = 0, V();
81
- }, q = () => {
81
+ }, _e = () => {
82
82
  K();
83
- }, _e = (e) => {
84
- if (!e) {
85
- K();
86
- return;
87
- }
88
- if (u.disableCb && e === w.value?.label) {
89
- H(), G();
90
- return;
91
- }
92
- ge(e);
93
83
  }, ve = (e) => {
94
- E("input", e), k.value = !1, O.value = 0, !e.isComposing && _e(e.target.value);
95
- }, J = (e = -1, t) => {
96
- let r = P.value[e];
97
- r && r.id !== w.value?.id && (N.value = e, u.onOptionSelectedCb?.(r, { trigger: t }), T.value = r.label, C.value = !1, w.value = r, k.value = !0, H(), U = !0, n(G));
98
- }, Y = (e) => {
99
- if (!u.enableKeyboardController || !C.value || ![
84
+ e ? s.disableCb && e === w.value?.label ? (H(), G()) : ge(e) : K();
85
+ }, ye = (e) => {
86
+ E("input", e), k.value = !1, O.value = 0, e.isComposing || ve(e.target.value);
87
+ }, q = (e = -1, t) => {
88
+ let n = P.value[e];
89
+ n && n.id !== w.value?.id && (N.value = e, s.onOptionSelectedCb?.(n, { trigger: t }), T.value = n.label, C.value = !1, w.value = n, k.value = !0, H(), U = !0, x(G));
90
+ }, J = (e) => {
91
+ if (!s.enableKeyboardController || !C.value || ![
100
92
  "ArrowUp",
101
93
  "ArrowDown",
102
94
  "Enter",
@@ -123,12 +115,12 @@ var ue = [
123
115
  else if (e.key === "ArrowDown") M.value = M.value >= t ? 0 : M.value + 1;
124
116
  else if (e.key === "Enter") {
125
117
  if (M.value === -1) return;
126
- e.preventDefault(), J(M.value, "enter");
118
+ e.preventDefault(), q(M.value, "enter");
127
119
  } else e.key === "PageUp" || e.key === "Home" ? M.value = 0 : (e.key === "PageDown" || e.key === "End") && (M.value = t);
128
120
  e.stopPropagation();
129
- }, ye = (e) => {
130
- E("keydown", e), Y(e);
131
- }, be = () => {
121
+ }, be = (e) => {
122
+ E("keydown", e), J(e);
123
+ }, Y = () => {
132
124
  H(), W(), V(), C.value = !1;
133
125
  }, xe = () => {
134
126
  D.value?.select();
@@ -140,126 +132,122 @@ var ue = [
140
132
  if (!e || !t) return;
141
133
  let r = e.offsetWidth, i = t.offsetWidth;
142
134
  if (!i) return;
143
- let a = u.clearButton?.offset || 0, o = u.clearButton?.width || n?.offsetWidth || 0, s = i - a - o, c = Math.min(r, s);
144
- c !== O.value && (O.value = c);
135
+ let a = s.clearButton?.offset || 0, o = s.clearButton?.width || n?.offsetWidth || 0, c = i - a - o, l = Math.min(r, c);
136
+ l !== O.value && (O.value = l);
145
137
  }, Q = !1, $ = () => {
146
- Q || (Q = !0, n(() => {
138
+ Q || (Q = !0, x(() => {
147
139
  Q = !1, Z();
148
140
  }));
149
141
  };
150
- return ne(() => {
142
+ return ee(() => {
151
143
  z.value && (X = new ResizeObserver(() => {
152
- if (O.value) {
153
- Z();
154
- return;
155
- }
156
- $();
144
+ O.value ? Z() : $();
157
145
  }), X.observe(z.value));
158
- }), re(() => {
146
+ }), te(() => {
159
147
  X?.disconnect(), H();
160
- }), y([
148
+ }), v([
161
149
  T,
162
150
  k,
163
151
  R,
164
152
  B
165
153
  ], () => {
166
154
  $();
167
- }), y(w, (e) => {
155
+ }), v(w, (e) => {
168
156
  if (e?.label === T.value) return;
169
157
  let t = e?.label || "";
170
158
  T.value = t, t && (k.value = !0);
171
- }, { immediate: !0 }), d({
159
+ }, { immediate: !0 }), l({
172
160
  getRootElement: () => L.value?.getRootElement(),
173
- clearSuggestions: be,
161
+ clearSuggestions: Y,
174
162
  select: xe,
175
163
  focus: Se
176
- }), (n, i) => (p(), a(t, {
164
+ }), (t, l) => (f(), n(ce, {
177
165
  ref: "dropdownRef",
178
166
  class: "uikit-clearable-autocomplete",
179
- "data-cy": u.dataCy,
167
+ "data-cy": s.dataCy,
180
168
  "dropdown-element": "ul",
181
169
  "dropdown-classes": he.value,
182
- "keep-state": u.keepState === "closed" ? "closed" : "opened",
170
+ "keep-state": s.keepState === "closed" ? "closed" : "opened",
183
171
  "activate-keyboard-controller": !1,
184
172
  open: C.value,
185
- "onUpdate:open": i[5] ||= (e) => C.value = e
173
+ "onUpdate:open": l[5] ||= (e) => C.value = e
186
174
  }, {
187
- btn_slot: b(() => [c("div", {
188
- class: f(["uikit-text-16", u.triggerWrapperClasses]),
189
- onClick: i[2] ||= (e) => E("click", e)
175
+ btn_slot: y(() => [a("div", {
176
+ class: u(["uikit-text-16", s.triggerWrapperClasses]),
177
+ onClick: l[2] ||= (e) => E("click", e)
190
178
  }, [
191
- m(n.$slots, "left-icon"),
192
- c("div", {
179
+ p(t.$slots, "left-icon"),
180
+ a("div", {
193
181
  ref: "inputWrapperRef",
194
- class: f(["uikit-relative", u.inputWrapperClasses])
182
+ class: u(["uikit-relative", s.inputWrapperClasses])
195
183
  }, [
196
- x(c("input", {
184
+ b(a("input", {
197
185
  ref: "inputRef",
198
- "onUpdate:modelValue": i[0] ||= (e) => T.value = e,
199
- id: oe(me),
200
- "data-cy": u.dataCy ? `ac_input_${u.dataCy}` : "",
186
+ "onUpdate:modelValue": l[0] ||= (e) => T.value = e,
187
+ id: ie(me),
188
+ "data-cy": s.dataCy ? `ac_input_${s.dataCy}` : "",
201
189
  type: "text",
202
190
  autocomplete: "off",
203
- class: f(["uikit-w-full uikit-border-none focus-visible:uikit-outline-none", u.inputClasses]),
191
+ class: u(["uikit-w-full uikit-border-none focus-visible:uikit-outline-none", s.inputClasses]),
204
192
  style: {
205
193
  font: "inherit",
206
194
  fontSize: "inherit"
207
195
  },
208
- placeholder: u.placeholder,
209
- onKeydown: ye,
210
- onInput: ve,
211
- onClick: i[1] ||= (e) => {
196
+ placeholder: s.placeholder,
197
+ onKeydown: be,
198
+ onInput: ye,
199
+ onClick: l[1] ||= (e) => {
212
200
  E("inputClick", e), D.value?.select();
213
201
  }
214
- }, null, 42, ue), [[se, T.value]]),
215
- c("span", {
202
+ }, null, 42, ue), [[_, T.value]]),
203
+ a("span", {
216
204
  ref_key: "hiddenSpan",
217
205
  ref: R,
218
- class: f(["uikit-invisible uikit-absolute uikit-left-0 uikit-top-0 uikit-max-w-full uikit-overflow-hidden uikit-whitespace-pre", u.hiddenTextClasses]),
206
+ class: u(["uikit-invisible uikit-absolute uikit-left-0 uikit-top-0 uikit-max-w-full uikit-overflow-hidden uikit-whitespace-pre", s.hiddenTextClasses]),
219
207
  style: {
220
208
  font: "inherit",
221
209
  fontSize: "inherit"
222
210
  }
223
- }, ae(T.value), 3),
224
- x(c("button", {
211
+ }, re(T.value), 3),
212
+ b(a("button", {
225
213
  ref: "clearButtonRef",
226
214
  type: "button",
227
- class: f(["uikit-clear-btn uikit-absolute uikit-top-1/2 -uikit-translate-y-1/2 uikit-appearance-none", u.clearButton?.classes]),
228
- "data-cy": u.clearButton?.dataCy || "clear-btn",
215
+ class: u(["uikit-clear-btn uikit-absolute uikit-top-1/2 -uikit-translate-y-1/2 uikit-appearance-none", s.clearButton?.classes]),
216
+ "data-cy": s.clearButton?.dataCy || "clear-btn",
229
217
  "aria-label": "Clear input",
230
- style: te({
231
- left: `${O.value + (u.clearButton?.offset || 0)}px`,
232
- width: u.clearButton?.width ? `${u.clearButton.width}px` : "auto",
233
- height: u.clearButton?.height ? `${u.clearButton.height}px` : "auto"
218
+ style: d({
219
+ left: `${O.value + (s.clearButton?.offset || 0)}px`,
220
+ width: s.clearButton?.width ? `${s.clearButton.width}px` : "auto",
221
+ height: s.clearButton?.height ? `${s.clearButton.height}px` : "auto"
234
222
  }),
235
- onClick: le(q, ["stop"])
236
- }, [m(n.$slots, "clear-icon", {}, () => [i[6] ||= l("X", -1)])], 14, de), [[ce, k.value && O.value]])
223
+ onClick: se(_e, ["stop"])
224
+ }, [p(t.$slots, "clear-icon", {}, () => [l[6] ||= o("X", -1)])], 14, de), [[oe, k.value && O.value]])
237
225
  ], 2),
238
- m(n.$slots, "right-icon")
226
+ p(t.$slots, "right-icon")
239
227
  ], 2)]),
240
- default: b(() => [
241
- j.value && !P.value.length ? m(n.$slots, "loading-state", {}, void 0, void 0, 0) : o("", !0),
242
- A.value && P.value.length ? (p(), s("div", fe, [...i[7] ||= [c("div", { class: "uikit-progress-bar-fill" }, null, -1)]])) : o("", !0),
243
- P.value.length ? (p(!0), s(r, { key: 2 }, ie(P.value, (t, r, i, o) => {
244
- let s = [
245
- t,
228
+ default: y(() => [
229
+ j.value && !P.value.length ? p(t.$slots, "loading-state", {}, void 0, void 0, 0) : r("", !0),
230
+ A.value && P.value.length ? (f(), i("div", fe, [...l[7] ||= [a("div", { class: "uikit-progress-bar-fill" }, null, -1)]])) : r("", !0),
231
+ P.value.length ? (f(!0), i(e, { key: 2 }, ne(P.value, (e, r, i, o) => {
232
+ let l = [
233
+ e,
246
234
  M.value === r,
247
- u.enableKeyboardController
235
+ s.enableKeyboardController
248
236
  ];
249
- if (o && o.el && o.key === r && ee(o, s)) return o;
250
- let l = (p(), a(e, {
237
+ if (o && o.el && o.key === r && c(o, l)) return o;
238
+ let u = (f(), n(le, {
251
239
  key: r,
252
240
  active: M.value === r,
253
- "focus-on-active": u.enableKeyboardController,
241
+ "focus-on-active": s.enableKeyboardController,
254
242
  class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
255
- onClick: (e) => J(r, "click"),
256
- onKeydown: Y,
243
+ onClick: (e) => q(r, "click"),
244
+ onKeydown: J,
257
245
  onMouseover: (e) => M.value = r
258
246
  }, {
259
- default: b(() => [m(n.$slots, "option-content", {
260
- option: t,
247
+ default: y(() => [p(t.$slots, "option-content", {
248
+ option: e,
261
249
  idx: r
262
- }, () => [c("span", { innerHTML: t.label }, null, 8, pe)])]),
250
+ }, () => [a("span", { innerHTML: e.label }, null, 8, pe)])]),
263
251
  _: 2
264
252
  }, 1032, [
265
253
  "active",
@@ -267,8 +255,8 @@ var ue = [
267
255
  "onClick",
268
256
  "onMouseover"
269
257
  ]));
270
- return l.memo = s, l;
271
- }, i, 3), 128)) : o("", !0)
258
+ return u.memo = l, u;
259
+ }, l, 3), 128)) : r("", !0)
272
260
  ]),
273
261
  _: 3
274
262
  }, 8, [
@@ -279,5 +267,4 @@ var ue = [
279
267
  ]));
280
268
  }
281
269
  });
282
- //#endregion
283
270
  export { S as default };
@@ -5,10 +5,12 @@ type AlertClass = `${TwPrefix}${AlertClassPrefix}${AlertColors}` | "";
5
5
  type __VLS_Props = {
6
6
  alertClass?: AlertClass;
7
7
  };
8
- declare var __VLS_1: {};
9
- type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_1) => any;
8
+ declare const __VLS_template: () => {
9
+ __VLS_Slots: {
10
+ default?: (props: {}) => any;
11
+ };
11
12
  };
13
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
14
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
15
  alertClass: AlertClass;
14
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,5 +1,4 @@
1
1
  import e from "./BaseAlert.vue.js";
2
- //#region lib/UIKit/BaseAlert.vue
2
+ // lib/UIKit/BaseAlert.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, defineComponent as t, normalizeClass as n, openBlock as r, renderSlot as i } from "vue";
2
- import '../assets/baseAlert.css';//#region lib/UIKit/BaseAlert.vue?vue&type=script&setup=true&lang.ts
2
+ import '../css/BaseAlert.css';// lib/UIKit/BaseAlert.vue?vue&type=script&setup=true&lang.ts
3
3
  var a = ["id"], o = /*@__PURE__*/ t({
4
4
  __name: "BaseAlert",
5
5
  props: { alertClass: { default: "" } },
@@ -11,5 +11,4 @@ var a = ["id"], o = /*@__PURE__*/ t({
11
11
  }, [i(o.$slots, "default")], 10, a));
12
12
  }
13
13
  });
14
- //#endregion
15
14
  export { o as default };
@@ -1,5 +1,4 @@
1
1
  import e from "./BaseAutocomplete.vue.js";
2
- //#region lib/UIKit/BaseAutocomplete.vue
2
+ // lib/UIKit/BaseAutocomplete.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,13 +1,13 @@
1
- import e from "./BaseSelect/SelectItem.js";
2
- import t from "./BaseDropDown.js";
3
- import n from "./BaseInput.js";
4
- import { Fragment as r, computed as i, createBlock as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeModels as u, normalizeClass as d, onBeforeMount as f, openBlock as p, renderList as m, renderSlot as h, shallowRef as g, unref as _, useModel as v, useTemplateRef as y, watch as b, withCtx as x } from "vue";
5
- import { debounce as S } from "@wikicasa-dev/utilities";
1
+ import { Fragment as e, computed as t, createBlock as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, mergeModels as s, normalizeClass as c, onBeforeMount as l, openBlock as u, renderList as d, renderSlot as f, shallowRef as p, unref as m, useModel as h, useTemplateRef as g, watch as _, withCtx as v } from "vue";
2
+ import y from "./BaseInput.js";
3
+ import b from "./BaseDropDown.js";
4
+ import { debounce as x } from "@wikicasa-dev/utilities";
5
+ import S from "./BaseSelect/SelectItem.js";
6
6
  import { useKeyboardController as C } from "@wikicasa-dev/vue-composables";
7
- import '../assets/BaseAutocomplete.css';//#region lib/UIKit/BaseAutocomplete.vue?vue&type=script&setup=true&lang.ts
8
- var w = ["innerHTML"], T = /*@__PURE__*/ l({
7
+ import '../css/BaseAutocomplete.css';// lib/UIKit/BaseAutocomplete.vue?vue&type=script&setup=true&lang.ts
8
+ var w = ["innerHTML"], T = /*@__PURE__*/ o({
9
9
  __name: "BaseAutocomplete",
10
- props: /*@__PURE__*/ u({
10
+ props: /*@__PURE__*/ s({
11
11
  isValid: {
12
12
  type: [Boolean, null],
13
13
  default: null
@@ -45,114 +45,108 @@ var w = ["innerHTML"], T = /*@__PURE__*/ l({
45
45
  } },
46
46
  modelModifiers: {}
47
47
  }),
48
- emits: /*@__PURE__*/ u([
48
+ emits: /*@__PURE__*/ s([
49
49
  "update:dropdownState",
50
50
  "changedValue",
51
51
  "click",
52
52
  "keydown",
53
53
  "keydownEnterPressed"
54
54
  ], ["update:modelValue"]),
55
- setup(l, { expose: u, emit: T }) {
56
- let E = v(l, "modelValue"), D = T, O = g(""), k = g([]), A = g(null), j = g(!1), M = g(!1), N = y("baseInput"), P = i(() => k.value.length);
57
- f(() => {
58
- A.value = S({ delay: 300 }, l.onInputChangeCb);
55
+ setup(o, { expose: s, emit: T }) {
56
+ let E = h(o, "modelValue"), D = T, O = p(""), k = p([]), A = p(null), j = p(!1), M = p(!1), N = g("baseInput"), P = t(() => k.value.length);
57
+ l(() => {
58
+ A.value = x({ delay: 300 }, o.onInputChangeCb);
59
59
  });
60
60
  let { activeIdx: F, selectedIdx: I } = C({
61
61
  optionsLength: P,
62
62
  isDropdownOpen: M,
63
63
  disableSpaceHandler: !0
64
- }), L = i(() => {
65
- switch (l.theme) {
64
+ }), L = t(() => {
65
+ switch (o.theme) {
66
66
  case "bordered": return "";
67
67
  case "all-bordered": return "!uikit-rounded " + (M.value && "!uikit-rounded-b-none");
68
68
  case "all-bordered-thick": return "!uikit-rounded-xl !uikit-h-[52px] " + (M.value && "!uikit-rounded-b-none");
69
69
  default: return "";
70
70
  }
71
- }), R = i(() => {
72
- switch (l.theme) {
71
+ }), R = t(() => {
72
+ switch (o.theme) {
73
73
  case "bordered": return "";
74
74
  case "all-bordered": return "uikit-border uikit-border-w-lavender uikit-border-solid !uikit-rounded !uikit-border-w-lavender !uikit-border " + (M.value ? "!uikit-border-b-0 !uikit-rounded-b-none" : "");
75
75
  case "all-bordered-thick": return "!uikit-rounded-xl !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (M.value ? "!uikit-rounded-b-none" : "");
76
76
  default: return "";
77
77
  }
78
- }), z = i(() => {
78
+ }), z = t(() => {
79
79
  let e = "uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mb-0 !uikit-mt-0 uikit-text-w-black !uikit-rounded-b-xl !uikit-rounded-t-none";
80
- switch (l.theme) {
80
+ switch (o.theme) {
81
81
  case "bordered": return "before:uikit-content-[''] before:uikit-absolute before:uikit-w-1/2 before:uikit-border-b before:uikit-border-b-w-lavender before:[border-bottom-style:solid] before:uikit-right-1/4 uikit-rounded-b-xl uikit-shadow uikit-rounded-t-none uikit-mt-5px uikit-mb-0";
82
82
  case "all-bordered": return e;
83
83
  case "all-bordered-thick": return e + " !uikit-border-0";
84
84
  default: return "";
85
85
  }
86
86
  }), B = async (e) => {
87
- if (O.value !== e && (D("changedValue", e), O.value = e, l.onInputChangeCb)) {
88
- if (!e || j.value) {
89
- k.value = [], j.value = !1, I.value = -1, F.value = -1, E.value && (E.value.label = ""), M.value = !1, await A.value?.(null);
90
- return;
91
- }
92
- l.disableCb || (k.value = await A.value?.(e) || [], M.value = !!k.value.length);
93
- }
87
+ O.value !== e && (D("changedValue", e), O.value = e, o.onInputChangeCb && (!e || j.value ? (k.value = [], j.value = !1, I.value = -1, F.value = -1, E.value && (E.value.label = ""), M.value = !1, await A.value?.(null)) : o.disableCb || (k.value = await A.value?.(e) || [], M.value = !!k.value.length)));
94
88
  }, V = (e, t) => {
95
- l.onOptionSelectedCb && l.onOptionSelectedCb(e), l.cleanupOnClose && (k.value = []), j.value = !0, O.value = e.label, E.value = e, M.value = !1, I.value = t;
89
+ o.onOptionSelectedCb && o.onOptionSelectedCb(e), o.cleanupOnClose && (k.value = []), j.value = !0, O.value = e.label, E.value = e, M.value = !1, I.value = t;
96
90
  }, H = () => {
97
- k.value.length && l.keepState !== "closed" && (M.value = !0);
91
+ k.value.length && o.keepState !== "closed" && (M.value = !0);
98
92
  };
99
- return b(E, (e, t) => {
93
+ return _(E, (e, t) => {
100
94
  e !== t && e?.label !== O.value && (O.value = e?.label || "");
101
- }, { immediate: !0 }), b(I, (e) => {
95
+ }, { immediate: !0 }), _(I, (e) => {
102
96
  if (e === -1 || !k.value.length) return;
103
97
  let t = k.value[e];
104
98
  j.value && t.label === E.value?.label || V(t, e);
105
- }), b(() => l.keepState, (e) => {
106
- e === "closed" ? (M.value = !1, l.cleanupOnClose && (k.value = [])) : e === "open" && k.value.length && (M.value = !0);
107
- }), b(M, (e) => {
99
+ }), _(() => o.keepState, (e) => {
100
+ e === "closed" ? (M.value = !1, o.cleanupOnClose && (k.value = [])) : e === "open" && k.value.length && (M.value = !0);
101
+ }), _(M, (e) => {
108
102
  D("update:dropdownState", e);
109
- }), u({ select: () => {
103
+ }), s({ select: () => {
110
104
  N.value?.select();
111
- } }), (i, u) => (p(), a(t, {
112
- class: d(["uikit-autocomplete", i.$attrs["root-classes"]]),
113
- "data-cy": l.dataCy ? l.dataCy : `ac_${i.$attrs.id}`,
105
+ } }), (t, s) => (u(), n(b, {
106
+ class: c(["uikit-autocomplete", t.$attrs["root-classes"]]),
107
+ "data-cy": o.dataCy ? o.dataCy : `ac_${t.$attrs.id}`,
114
108
  "dropdown-element": "ul",
115
109
  "dropdown-classes": [
116
- { "bordered-dropdown": l.theme === "bordered" },
117
- { "all-bordered-dropdown": l.theme === "all-bordered" },
118
- { "all-bordered-dropdown thick": l.theme === "all-bordered-thick" },
119
- { "uikit-mt-10px !uikit-border !uikit-border-w-secondary !uikit-rounded-xs": !l.theme },
110
+ { "bordered-dropdown": o.theme === "bordered" },
111
+ { "all-bordered-dropdown": o.theme === "all-bordered" },
112
+ { "all-bordered-dropdown thick": o.theme === "all-bordered-thick" },
113
+ { "uikit-mt-10px !uikit-border !uikit-border-w-secondary !uikit-rounded-xs": !o.theme },
120
114
  z.value,
121
115
  "uikit-z-30",
122
- l.dropdownClasses
116
+ o.dropdownClasses
123
117
  ],
124
118
  open: M.value,
125
- "keep-state": !k.value.length || l.keepState === "closed" ? "closed" : "opened",
126
- "close-when-clicked-outside": l.closeDropdownOnBodyPressed,
119
+ "keep-state": !k.value.length || o.keepState === "closed" ? "closed" : "opened",
120
+ "close-when-clicked-outside": o.closeDropdownOnBodyPressed,
127
121
  "activate-keyboard-controller": !1,
128
- "onUpdate:open": u[3] ||= (e) => M.value = e,
129
- onClick: u[4] ||= (e) => {
122
+ "onUpdate:open": s[3] ||= (e) => M.value = e,
123
+ onClick: s[4] ||= (e) => {
130
124
  D("click"), H();
131
125
  }
132
126
  }, {
133
- btn_slot: x(() => [c(n, {
134
- id: i.$attrs.id ? `ac_input_${i.$attrs.id}` : "",
127
+ btn_slot: v(() => [a(y, {
128
+ id: t.$attrs.id ? `ac_input_${t.$attrs.id}` : "",
135
129
  ref: "baseInput",
136
- "data-cy": l.dataCy ? `ac_input_${l.dataCy}` : `ac_input_${i.$attrs.id}`,
137
- "label-text": l.label,
130
+ "data-cy": o.dataCy ? `ac_input_${o.dataCy}` : `ac_input_${t.$attrs.id}`,
131
+ "label-text": o.label,
138
132
  "model-value": O.value,
139
- "is-valid": l.isValid,
140
- disabled: i.$attrs.disabled,
141
- placeholder: i.$attrs.placeholder,
142
- "with-left-icon": !!i.$slots.lefticon,
143
- "with-right-icon": !!i.$slots.righticon,
133
+ "is-valid": o.isValid,
134
+ disabled: t.$attrs.disabled,
135
+ placeholder: t.$attrs.placeholder,
136
+ "with-left-icon": !!t.$slots.lefticon,
137
+ "with-right-icon": !!t.$slots.righticon,
144
138
  "input-class": [
145
139
  L.value,
146
- l.inputClasses,
140
+ o.inputClasses,
147
141
  "!uikit-ml-0 !uikit-w-full"
148
142
  ],
149
- "fieldset-classes": [R.value, l.fieldsetClasses],
150
- "onUpdate:modelValue": u[0] ||= (e) => B(e === void 0 ? "" : `${e}`),
151
- onKeydown: u[1] ||= (e) => D("keydown", e),
152
- onKeydownEnterPressed: u[2] ||= () => D("keydownEnterPressed")
143
+ "fieldset-classes": [R.value, o.fieldsetClasses],
144
+ "onUpdate:modelValue": s[0] ||= (e) => B(e === void 0 ? "" : `${e}`),
145
+ onKeydown: s[1] ||= (e) => D("keydown", e),
146
+ onKeydownEnterPressed: s[2] ||= () => D("keydownEnterPressed")
153
147
  }, {
154
- leftIcon: x(() => [h(i.$slots, "lefticon")]),
155
- righticon: x(({ handleClean: e }) => [h(i.$slots, "righticon", { handleClean: e })]),
148
+ leftIcon: v(() => [f(t.$slots, "lefticon")]),
149
+ righticon: v(({ handleClean: e }) => [f(t.$slots, "righticon", { handleClean: e })]),
156
150
  _: 3
157
151
  }, 8, [
158
152
  "id",
@@ -167,17 +161,17 @@ var w = ["innerHTML"], T = /*@__PURE__*/ l({
167
161
  "input-class",
168
162
  "fieldset-classes"
169
163
  ])]),
170
- default: x(() => [(p(!0), o(r, null, m(k.value, (t, n) => (p(), a(e, {
171
- key: n,
172
- active: _(F) === n,
164
+ default: v(() => [(u(!0), r(e, null, d(k.value, (e, r) => (u(), n(S, {
165
+ key: r,
166
+ active: m(F) === r,
173
167
  class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
174
- onClick: (e) => V(t, n),
175
- onMouseover: (e) => F.value = n
168
+ onClick: (t) => V(e, r),
169
+ onMouseover: (e) => F.value = r
176
170
  }, {
177
- default: x(() => [h(i.$slots, "option-content", {
178
- option: t,
179
- idx: n
180
- }, () => [s("span", { innerHTML: t.label }, null, 8, w)])]),
171
+ default: v(() => [f(t.$slots, "option-content", {
172
+ option: e,
173
+ idx: r
174
+ }, () => [i("span", { innerHTML: e.label }, null, 8, w)])]),
181
175
  _: 2
182
176
  }, 1032, [
183
177
  "active",
@@ -195,5 +189,4 @@ var w = ["innerHTML"], T = /*@__PURE__*/ l({
195
189
  ]));
196
190
  }
197
191
  });
198
- //#endregion
199
192
  export { T as default };
@@ -1,10 +1,12 @@
1
1
  type __VLS_Props = {
2
2
  badgeClass?: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary" | "uikit-badge-w-danger" | "badge-black" | "badge-gray" | "badge-gold" | "badge-silver";
3
3
  };
4
- declare var __VLS_1: {};
5
- type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_1) => any;
4
+ declare const __VLS_template: () => {
5
+ __VLS_Slots: {
6
+ default?: (props: {}) => any;
7
+ };
7
8
  };
9
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
10
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
11
  badgeClass: "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-w-primary-sm" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary" | "uikit-badge-w-danger" | "badge-black" | "badge-gray" | "badge-gold" | "badge-silver";
10
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,5 +1,4 @@
1
1
  import e from "./BaseBadge.vue.js";
2
- //#region lib/UIKit/BaseBadge.vue
2
+ // lib/UIKit/BaseBadge.vue
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, defineComponent as t, normalizeClass as n, openBlock as r, renderSlot as i } from "vue";
2
- import '../assets/BaseBadge.css';//#region lib/UIKit/BaseBadge.vue?vue&type=script&setup=true&lang.ts
2
+ import '../css/BaseBadge.css';// lib/UIKit/BaseBadge.vue?vue&type=script&setup=true&lang.ts
3
3
  var a = ["id"], o = /*@__PURE__*/ t({
4
4
  __name: "BaseBadge",
5
5
  props: { badgeClass: { default: "uikit-badge-w-primary-sm" } },
@@ -14,5 +14,4 @@ var a = ["id"], o = /*@__PURE__*/ t({
14
14
  }, [i(o.$slots, "default")], 10, a));
15
15
  }
16
16
  });
17
- //#endregion
18
17
  export { o as default };
@@ -13,14 +13,16 @@ type __VLS_Props = {
13
13
  listClasses?: ClassTypeProp;
14
14
  listItemClasses?: ClassTypeProp;
15
15
  };
16
- declare var __VLS_1: {
17
- item: BreadcrumbItemsTypeWithIdx;
18
- }, __VLS_3: {};
19
- type __VLS_Slots = {} & {
20
- item?: (props: typeof __VLS_1) => any;
21
- } & {
22
- separator?: (props: typeof __VLS_3) => any;
16
+ declare const __VLS_template: () => {
17
+ __VLS_Slots: {
18
+ item?: (props: {
19
+ item: BreadcrumbItemsTypeWithIdx;
20
+ }) => any;
21
+ } & {
22
+ separator?: (props: {}) => any;
23
+ };
23
24
  };
25
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
24
26
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
28
  declare const _default: typeof __VLS_export;