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

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 (456) hide show
  1. package/dist/AccessibleSelect.js +4 -0
  2. package/dist/BaseAccordion.js +4 -0
  3. package/dist/BaseAccordionBtn.js +4 -0
  4. package/dist/BaseAccordionContent.js +4 -0
  5. package/dist/BaseAccordionItem.js +4 -0
  6. package/dist/BaseAlert.js +4 -0
  7. package/dist/BaseAutocomplete.js +4 -0
  8. package/dist/BaseBadge.js +4 -0
  9. package/dist/BaseBreadcrumb.js +4 -0
  10. package/dist/BaseButton.js +4 -0
  11. package/dist/BaseCard.js +38 -0
  12. package/dist/BaseComplexToggle.js +107 -0
  13. package/dist/BaseDropDown.js +4 -0
  14. package/dist/BaseFloatingLabel.js +41 -0
  15. package/dist/BaseIcon.js +28 -0
  16. package/dist/BaseInput.js +212 -0
  17. package/dist/BaseModal.js +4 -0
  18. package/dist/BasePagination.js +4 -0
  19. package/dist/BasePaper.js +14 -0
  20. package/dist/BaseShimmerLoader.js +22 -0
  21. package/dist/{UIKit/BaseSlider.vue.js → BaseSlider.js} +52 -49
  22. package/dist/BaseSnackbar.js +82 -0
  23. package/dist/BaseTab.js +4 -0
  24. package/dist/BaseTabList.js +4 -0
  25. package/dist/BaseTabPanel.js +4 -0
  26. package/dist/BaseTabView.js +4 -0
  27. package/dist/BaseTextarea.js +128 -0
  28. package/dist/BaseToggle.js +43 -0
  29. package/dist/BaseTooltip.js +42 -0
  30. package/dist/BaseUploadFile.js +4 -0
  31. package/dist/CheckboxBtn.js +76 -0
  32. package/dist/CheckboxGroup.js +4 -0
  33. package/dist/DoughnutChart.js +4 -0
  34. package/dist/IntersectionObservable.js +4 -0
  35. package/dist/IntersectionObserver.js +4 -0
  36. package/dist/LineChart.js +4 -0
  37. package/dist/RadioButton.js +4 -0
  38. package/dist/RadioGroup.js +4 -0
  39. package/dist/SelectItem.js +4 -0
  40. package/dist/ShimmerMultiLine.js +4 -0
  41. package/dist/{UIKit/Slider/SimpleSlider.vue.js → SimpleSlider.js} +30 -29
  42. package/dist/StaticSpinner.js +28 -0
  43. package/dist/SwiperCarousel.js +5 -0
  44. package/dist/{components/carousel/SwiperSlide.js → SwiperSlide.js} +3 -3
  45. package/dist/UIKit/AccessibleSelect.vue.d.ts +55 -0
  46. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +32 -0
  47. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +34 -0
  48. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +30 -0
  49. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +60 -0
  50. package/dist/UIKit/BaseAlert.vue.d.ts +26 -0
  51. package/dist/UIKit/BaseAutocomplete.vue.d.ts +48 -0
  52. package/dist/UIKit/BaseBadge.vue.d.ts +22 -0
  53. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +35 -0
  54. package/dist/UIKit/BaseButton.vue.d.ts +46 -0
  55. package/dist/UIKit/BaseCard.vue.d.ts +29 -0
  56. package/dist/UIKit/BaseComplexToggle.vue.d.ts +47 -0
  57. package/dist/UIKit/BaseDropDown.vue.d.ts +81 -0
  58. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +17 -0
  59. package/dist/UIKit/BaseIcon.vue.d.ts +11 -0
  60. package/dist/UIKit/BaseInput.vue.d.ts +68 -0
  61. package/dist/UIKit/BaseModal.vue.d.ts +63 -0
  62. package/dist/UIKit/{BasePagination.d.ts → BasePagination.vue.d.ts} +5 -13
  63. package/dist/UIKit/BasePaper.vue.d.ts +2 -0
  64. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +38 -0
  65. package/dist/UIKit/{BaseSlider.d.ts → BaseSlider.vue.d.ts} +7 -6
  66. package/dist/UIKit/BaseSnackbar.vue.d.ts +24 -0
  67. package/dist/UIKit/{BaseTextarea.d.ts → BaseTextarea.vue.d.ts} +10 -10
  68. package/dist/UIKit/BaseToggle.vue.d.ts +32 -0
  69. package/dist/UIKit/BaseTooltip.vue.d.ts +38 -0
  70. package/dist/UIKit/BaseUploadFile.vue.d.ts +42 -0
  71. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +53 -0
  72. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +71 -0
  73. package/dist/UIKit/Radio/RadioButton.vue.d.ts +27 -0
  74. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +54 -0
  75. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +21 -0
  76. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +63 -0
  77. package/dist/UIKit/Slider/{SimpleSlider.d.ts → SimpleSlider.vue.d.ts} +6 -6
  78. package/dist/UIKit/StaticSpinner.vue.d.ts +6 -0
  79. package/dist/UIKit/Tab/BaseTab.vue.d.ts +23 -0
  80. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +14 -0
  81. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +24 -0
  82. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +27 -0
  83. package/dist/UIKit/types.d.ts +52 -10
  84. package/dist/assets/BaseAlert.css +1 -0
  85. package/dist/assets/BaseBadge.css +1 -1
  86. package/dist/assets/BaseCard.css +1 -0
  87. package/dist/assets/BaseComplexToggle.css +1 -0
  88. package/dist/assets/BaseFloatingLabel.css +1 -0
  89. package/dist/assets/BaseIcon.css +1 -0
  90. package/dist/assets/BaseInput.css +1 -0
  91. package/dist/assets/BaseModal.css +1 -0
  92. package/dist/assets/BasePaper.css +1 -0
  93. package/dist/assets/BaseShimmerLoader.css +1 -1
  94. package/dist/assets/BaseSlider.css +1 -0
  95. package/dist/assets/BaseSnackbar.css +1 -1
  96. package/dist/assets/BaseTextarea.css +1 -0
  97. package/dist/assets/BaseToggle.css +1 -0
  98. package/dist/assets/BaseTooltip.css +1 -0
  99. package/dist/assets/CheckboxBtn.css +1 -1
  100. package/dist/assets/SimpleSlider.css +1 -1
  101. package/dist/assets/StaticSpinner.css +1 -1
  102. package/dist/assets/SwiperCarousel.css +1 -1
  103. package/dist/assets/index.css +1 -0
  104. package/dist/chart/DoughnutChart.vue.d.ts +7 -0
  105. package/dist/chart/LineChart.vue.d.ts +19 -0
  106. package/dist/chart/composables/useChartjsModules.d.ts +10 -0
  107. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.QU1FSgY0.js +246 -0
  108. package/dist/chunks/ArrowIcon.Bq6Xr3uH.js +28 -0
  109. package/dist/chunks/BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js +32 -0
  110. package/dist/chunks/BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DEk3SXLJ.js +60 -0
  111. package/dist/chunks/BaseAccordionContent.vue_vue_type_script_setup_true_lang.Qp_TWYFE.js +34 -0
  112. package/dist/chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.BJB5DnDs.js +143 -0
  113. package/dist/chunks/BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js +19 -0
  114. package/dist/chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.S_XFg2zV.js +202 -0
  115. package/dist/chunks/BaseBadge.vue_vue_type_style_index_0_lang.DvAI34Oa.js +19 -0
  116. package/dist/chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BrzeVW2_.js +58 -0
  117. package/dist/chunks/BaseButton.vue_vue_type_script_setup_true_lang.DHwyd5Gb.js +66 -0
  118. package/dist/chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.OKB0gEpo.js +137 -0
  119. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.a2qGyPhV.js +150 -0
  120. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DdFMVFIO.js +164 -0
  121. package/dist/{UIKit/Tab/BaseTab.vue.js → chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js} +3 -3
  122. package/dist/chunks/BaseTabList.vue_vue_type_script_setup_true_lang.CxrS-Vq6.js +43 -0
  123. package/dist/chunks/BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js +24 -0
  124. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DGTsSVEG.js +105 -0
  125. package/dist/chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.BL98w2D8.js +71 -0
  126. package/dist/chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.B_9CFhd2.js +111 -0
  127. package/dist/chunks/CloseIcon.BZ4U3aiI.js +38 -0
  128. package/dist/chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js +27 -0
  129. package/dist/chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js +24 -0
  130. package/dist/chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js +52 -0
  131. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +42 -0
  132. package/dist/chunks/ObjectUtils.DwkJjVq1.js +10 -0
  133. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +11 -0
  134. package/dist/chunks/RadioButton.vue_vue_type_script_setup_true_lang.CxVJji0G.js +58 -0
  135. package/dist/chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BNKSEicl.js +62 -0
  136. package/dist/chunks/SelectItem.vue_vue_type_script_setup_true_lang.jB3LVM3c.js +41 -0
  137. package/dist/chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CPUobRgG.js +29 -0
  138. package/dist/chunks/SwiperCarousel.BheiaKKw.js +748 -0
  139. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
  140. package/dist/chunks/index.BJP9rQkU.js +887 -0
  141. package/dist/chunks/polyline.DjpLdMaW.js +5256 -0
  142. package/dist/chunks/useBreakpoints.BXk8Xcw3.js +5189 -0
  143. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +29 -0
  144. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +57 -0
  145. package/dist/components/carousel/SwiperCarousel.vue.d.ts +57 -0
  146. package/dist/components/carousel/SwiperSlide.vue.d.ts +17 -0
  147. package/dist/composables/useFloatingLabel.d.ts +1 -1
  148. package/dist/index.d.ts +45 -67
  149. package/dist/index.js +85 -150
  150. package/dist/useChartjsModules.js +48 -0
  151. package/dist/utils.js +3 -3
  152. package/package.json +38 -71
  153. package/dist/UIKit/AccessibleSelect.d.ts +0 -64
  154. package/dist/UIKit/AccessibleSelect.js +0 -5
  155. package/dist/UIKit/AccessibleSelect.vue.js +0 -206
  156. package/dist/UIKit/Accordion/AccordionContentPrimitive.d.ts +0 -15
  157. package/dist/UIKit/Accordion/AccordionContentPrimitive.js +0 -4
  158. package/dist/UIKit/Accordion/AccordionContentPrimitive.vue.js +0 -22
  159. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.d.ts +0 -12
  160. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.js +0 -4
  161. package/dist/UIKit/Accordion/AccordionHeaderPrimitive.vue.js +0 -21
  162. package/dist/UIKit/Accordion/AccordionItemPrimitive.d.ts +0 -14
  163. package/dist/UIKit/Accordion/AccordionItemPrimitive.js +0 -4
  164. package/dist/UIKit/Accordion/AccordionItemPrimitive.vue.js +0 -24
  165. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.d.ts +0 -14
  166. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.js +0 -4
  167. package/dist/UIKit/Accordion/AccordionTriggerPrimitive.vue.js +0 -22
  168. package/dist/UIKit/Accordion/BaseAccordion.d.ts +0 -38
  169. package/dist/UIKit/Accordion/BaseAccordion.js +0 -4
  170. package/dist/UIKit/Accordion/BaseAccordion.vue.js +0 -37
  171. package/dist/UIKit/Accordion/BaseAccordionItem.d.ts +0 -33
  172. package/dist/UIKit/Accordion/BaseAccordionItem.js +0 -5
  173. package/dist/UIKit/Accordion/BaseAccordionItem.vue.js +0 -82
  174. package/dist/UIKit/Autocomplete/ClearableAutocomplete.d.ts +0 -75
  175. package/dist/UIKit/Autocomplete/ClearableAutocomplete.js +0 -5
  176. package/dist/UIKit/Autocomplete/ClearableAutocomplete.vue.js +0 -227
  177. package/dist/UIKit/BaseAlert.d.ts +0 -22
  178. package/dist/UIKit/BaseAlert.js +0 -5
  179. package/dist/UIKit/BaseAlert.vue.js +0 -19
  180. package/dist/UIKit/BaseAutocomplete.d.ts +0 -62
  181. package/dist/UIKit/BaseAutocomplete.js +0 -5
  182. package/dist/UIKit/BaseAutocomplete.vue.js +0 -195
  183. package/dist/UIKit/BaseBadge.d.ts +0 -18
  184. package/dist/UIKit/BaseBadge.js +0 -5
  185. package/dist/UIKit/BaseBadge.vue.js +0 -18
  186. package/dist/UIKit/BaseBreadcrumb.d.ts +0 -32
  187. package/dist/UIKit/BaseBreadcrumb.js +0 -4
  188. package/dist/UIKit/BaseBreadcrumb.vue.js +0 -57
  189. package/dist/UIKit/BaseButton.d.ts +0 -75
  190. package/dist/UIKit/BaseButton.js +0 -4
  191. package/dist/UIKit/BaseButton.vue.js +0 -88
  192. package/dist/UIKit/BaseComplexToggle.d.ts +0 -54
  193. package/dist/UIKit/BaseComplexToggle.js +0 -7
  194. package/dist/UIKit/BaseComplexToggle.vue.js +0 -106
  195. package/dist/UIKit/BaseDropDown.d.ts +0 -88
  196. package/dist/UIKit/BaseDropDown.js +0 -5
  197. package/dist/UIKit/BaseDropDown.vue.js +0 -152
  198. package/dist/UIKit/BaseFloatingLabel.d.ts +0 -24
  199. package/dist/UIKit/BaseFloatingLabel.js +0 -7
  200. package/dist/UIKit/BaseFloatingLabel.vue.js +0 -40
  201. package/dist/UIKit/BaseInput.d.ts +0 -63
  202. package/dist/UIKit/BaseInput.js +0 -7
  203. package/dist/UIKit/BaseInput.vue.js +0 -211
  204. package/dist/UIKit/BaseModal.d.ts +0 -65
  205. package/dist/UIKit/BaseModal.js +0 -5
  206. package/dist/UIKit/BaseModal.vue.js +0 -170
  207. package/dist/UIKit/BasePagination.js +0 -4
  208. package/dist/UIKit/BasePagination.vue.js +0 -228
  209. package/dist/UIKit/BaseSelect/SelectItem.d.ts +0 -30
  210. package/dist/UIKit/BaseSelect/SelectItem.js +0 -4
  211. package/dist/UIKit/BaseSelect/SelectItem.vue.js +0 -42
  212. package/dist/UIKit/BaseSlider.js +0 -7
  213. package/dist/UIKit/BaseSnackbar.d.ts +0 -64
  214. package/dist/UIKit/BaseSnackbar.js +0 -5
  215. package/dist/UIKit/BaseSnackbar.vue.js +0 -147
  216. package/dist/UIKit/BaseTextarea.js +0 -7
  217. package/dist/UIKit/BaseTextarea.vue.js +0 -127
  218. package/dist/UIKit/BaseToggle.d.ts +0 -28
  219. package/dist/UIKit/BaseToggle.js +0 -4
  220. package/dist/UIKit/BaseToggle.vue.js +0 -39
  221. package/dist/UIKit/BaseTooltip.d.ts +0 -35
  222. package/dist/UIKit/BaseTooltip.js +0 -7
  223. package/dist/UIKit/BaseTooltip.vue.js +0 -41
  224. package/dist/UIKit/BaseUploadFile.d.ts +0 -38
  225. package/dist/UIKit/BaseUploadFile.js +0 -4
  226. package/dist/UIKit/BaseUploadFile.vue.js +0 -71
  227. package/dist/UIKit/Card/BaseCard.d.ts +0 -25
  228. package/dist/UIKit/Card/BaseCard.js +0 -5
  229. package/dist/UIKit/Card/BaseCard.vue.js +0 -37
  230. package/dist/UIKit/Card/CardDescriptionPrimitive.d.ts +0 -13
  231. package/dist/UIKit/Card/CardDescriptionPrimitive.js +0 -12
  232. package/dist/UIKit/Card/CardImagePrimitive.d.ts +0 -13
  233. package/dist/UIKit/Card/CardImagePrimitive.js +0 -4
  234. package/dist/UIKit/Card/CardImagePrimitive.vue.js +0 -16
  235. package/dist/UIKit/Card/CardRootPrimitive.d.ts +0 -20
  236. package/dist/UIKit/Card/CardRootPrimitive.js +0 -5
  237. package/dist/UIKit/Card/CardRootPrimitive.vue.js +0 -27
  238. package/dist/UIKit/Card/type.d.ts +0 -3
  239. package/dist/UIKit/Card/type.js +0 -4
  240. package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +0 -52
  241. package/dist/UIKit/Checkbox/CheckboxBtn.js +0 -5
  242. package/dist/UIKit/Checkbox/CheckboxBtn.vue.js +0 -82
  243. package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +0 -74
  244. package/dist/UIKit/Checkbox/CheckboxGroup.js +0 -4
  245. package/dist/UIKit/Checkbox/CheckboxGroup.vue.js +0 -117
  246. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.d.ts +0 -41
  247. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +0 -4
  248. package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +0 -78
  249. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.d.ts +0 -31
  250. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.js +0 -4
  251. package/dist/UIKit/Checkbox/v2/CheckboxGroupItemPrimitive.vue.js +0 -35
  252. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.d.ts +0 -26
  253. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.js +0 -4
  254. package/dist/UIKit/Checkbox/v2/CheckboxGroupPrimitive.vue.js +0 -35
  255. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.d.ts +0 -4
  256. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.js +0 -4
  257. package/dist/UIKit/ProgressBar/ProgressIndicatorPrimitive.vue.js +0 -16
  258. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.d.ts +0 -25
  259. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.js +0 -4
  260. package/dist/UIKit/ProgressBar/ProgressRootPrimitive.vue.js +0 -32
  261. package/dist/UIKit/Radio/RadioButton.d.ts +0 -38
  262. package/dist/UIKit/Radio/RadioButton.js +0 -4
  263. package/dist/UIKit/Radio/RadioButton.vue.js +0 -60
  264. package/dist/UIKit/Radio/RadioGroup.d.ts +0 -64
  265. package/dist/UIKit/Radio/RadioGroup.js +0 -4
  266. package/dist/UIKit/Radio/RadioGroup.vue.js +0 -64
  267. package/dist/UIKit/Radio/v2/RadioButtonGroup.d.ts +0 -38
  268. package/dist/UIKit/Radio/v2/RadioButtonGroup.js +0 -4
  269. package/dist/UIKit/Radio/v2/RadioButtonGroup.vue.js +0 -48
  270. package/dist/UIKit/Radio/v2/RadioButtonItem.d.ts +0 -17
  271. package/dist/UIKit/Radio/v2/RadioButtonItem.js +0 -5
  272. package/dist/UIKit/Radio/v2/RadioButtonItem.vue.js +0 -45
  273. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.d.ts +0 -22
  274. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.js +0 -4
  275. package/dist/UIKit/Radio/v2/RadioGroupItemPrimitive.vue.js +0 -31
  276. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.d.ts +0 -15
  277. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +0 -7
  278. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.js +0 -20
  279. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +0 -11
  280. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.js +0 -4
  281. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.js +0 -31
  282. package/dist/UIKit/Slider/SimpleSlider.js +0 -7
  283. package/dist/UIKit/StaticSpinner.d.ts +0 -7
  284. package/dist/UIKit/StaticSpinner.js +0 -7
  285. package/dist/UIKit/StaticSpinner.vue.js +0 -27
  286. package/dist/UIKit/Tab/BaseTab.d.ts +0 -19
  287. package/dist/UIKit/Tab/BaseTab.js +0 -4
  288. package/dist/UIKit/Tab/BaseTabList.d.ts +0 -14
  289. package/dist/UIKit/Tab/BaseTabList.js +0 -4
  290. package/dist/UIKit/Tab/BaseTabList.vue.js +0 -45
  291. package/dist/UIKit/Tab/BaseTabPanel.d.ts +0 -20
  292. package/dist/UIKit/Tab/BaseTabPanel.js +0 -4
  293. package/dist/UIKit/Tab/BaseTabPanel.vue.js +0 -25
  294. package/dist/UIKit/Tab/BaseTabView.d.ts +0 -49
  295. package/dist/UIKit/Tab/BaseTabView.js +0 -4
  296. package/dist/UIKit/Tab/BaseTabView.vue.js +0 -106
  297. package/dist/UIKit/Tab/v2/BaseTabs.d.ts +0 -29
  298. package/dist/UIKit/Tab/v2/BaseTabs.js +0 -5
  299. package/dist/UIKit/Tab/v2/BaseTabs.vue.js +0 -39
  300. package/dist/UIKit/Tab/v2/BaseTabsContent.d.ts +0 -14
  301. package/dist/UIKit/Tab/v2/BaseTabsContent.js +0 -4
  302. package/dist/UIKit/Tab/v2/BaseTabsContent.vue.js +0 -24
  303. package/dist/UIKit/Tab/v2/BaseTabsIndicator.d.ts +0 -16
  304. package/dist/UIKit/Tab/v2/BaseTabsIndicator.js +0 -5
  305. package/dist/UIKit/Tab/v2/BaseTabsIndicator.vue.js +0 -34
  306. package/dist/UIKit/Tab/v2/BaseTabsList.d.ts +0 -14
  307. package/dist/UIKit/Tab/v2/BaseTabsList.js +0 -4
  308. package/dist/UIKit/Tab/v2/BaseTabsList.vue.js +0 -23
  309. package/dist/UIKit/Tab/v2/BaseTabsTrigger.d.ts +0 -25
  310. package/dist/UIKit/Tab/v2/BaseTabsTrigger.js +0 -4
  311. package/dist/UIKit/Tab/v2/BaseTabsTrigger.vue.js +0 -31
  312. package/dist/UIKit/types.js +0 -1
  313. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  314. package/dist/assets/AccessibleSelect.css +0 -1
  315. package/dist/assets/BaseAccordionItem.css +0 -1
  316. package/dist/assets/BaseAutocomplete.css +0 -1
  317. package/dist/assets/BaseComplexToggle2.css +0 -1
  318. package/dist/assets/BaseDropDown.css +0 -1
  319. package/dist/assets/BaseFloatingLabel2.css +0 -1
  320. package/dist/assets/BaseInput2.css +0 -1
  321. package/dist/assets/BaseSlider2.css +0 -1
  322. package/dist/assets/BaseTabs.css +0 -1
  323. package/dist/assets/BaseTabsIndicator.css +0 -1
  324. package/dist/assets/BaseTextarea2.css +0 -1
  325. package/dist/assets/BaseTooltip2.css +0 -1
  326. package/dist/assets/ClearableAutocomplete.css +0 -1
  327. package/dist/assets/RadioButtonItem.css +0 -1
  328. package/dist/assets/SwiperCarousel2.css +0 -1
  329. package/dist/assets/SwiperRootPrimitive.css +0 -1
  330. package/dist/assets/SwiperRootPrimitive2.css +0 -1
  331. package/dist/assets/SwiperSlideImagePrimitive.css +0 -1
  332. package/dist/assets/baseAlert.css +0 -1
  333. package/dist/assets/baseCard.css +0 -1
  334. package/dist/assets/baseComplexToggle.css +0 -1
  335. package/dist/assets/baseFloatingLabel.css +0 -1
  336. package/dist/assets/baseInput.css +0 -1
  337. package/dist/assets/baseModal.css +0 -1
  338. package/dist/assets/baseSlider.css +0 -1
  339. package/dist/assets/baseSpinner.css +0 -1
  340. package/dist/assets/baseTextarea.css +0 -1
  341. package/dist/assets/baseTooltip.css +0 -1
  342. package/dist/assets/swiper-free-mode.css +0 -1
  343. package/dist/assets/swiper-navigation.css +0 -1
  344. package/dist/assets/swiper-pagination.css +0 -1
  345. package/dist/assets/swiper-swiper.css +0 -1
  346. package/dist/assets/swiper-thumbs.css +0 -0
  347. package/dist/assets/swiper-zoom.css +0 -1
  348. package/dist/assets/tailwind.css +0 -1
  349. package/dist/chart/DoughnutChart.d.ts +0 -8
  350. package/dist/chart/DoughnutChart.js +0 -4
  351. package/dist/chart/DoughnutChart.vue.js +0 -26
  352. package/dist/chart/LineChart.d.ts +0 -11
  353. package/dist/chart/LineChart.js +0 -4
  354. package/dist/chart/LineChart.vue.js +0 -30
  355. package/dist/components/IntersectionObserver/IntersectionObservable.d.ts +0 -22
  356. package/dist/components/IntersectionObserver/IntersectionObservable.js +0 -4
  357. package/dist/components/IntersectionObserver/IntersectionObservable.vue.js +0 -24
  358. package/dist/components/IntersectionObserver/IntersectionObserver.d.ts +0 -52
  359. package/dist/components/IntersectionObserver/IntersectionObserver.js +0 -4
  360. package/dist/components/IntersectionObserver/IntersectionObserver.vue.js +0 -50
  361. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.d.ts +0 -21
  362. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.js +0 -4
  363. package/dist/components/IntersectionObserver/v2/IntersectionObserverProvider.vue.js +0 -39
  364. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.d.ts +0 -22
  365. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.js +0 -4
  366. package/dist/components/IntersectionObserver/v2/IntersectionObserverTarget.vue.js +0 -31
  367. package/dist/components/IntersectionObserver/v2/types.d.ts +0 -4
  368. package/dist/components/IntersectionObserver/v2/types.js +0 -6
  369. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.d.ts +0 -9
  370. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.js +0 -4
  371. package/dist/components/carousel/Primitive/SwiperNavigationPrimitive.vue.js +0 -39
  372. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.d.ts +0 -9
  373. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.js +0 -5
  374. package/dist/components/carousel/Primitive/SwiperPaginationPrimitive.vue.js +0 -34
  375. package/dist/components/carousel/Primitive/SwiperPrimitive.d.ts +0 -20
  376. package/dist/components/carousel/Primitive/SwiperPrimitive.js +0 -4
  377. package/dist/components/carousel/Primitive/SwiperPrimitive.vue.js +0 -21
  378. package/dist/components/carousel/Primitive/SwiperRootPrimitive.d.ts +0 -51
  379. package/dist/components/carousel/Primitive/SwiperRootPrimitive.js +0 -11
  380. package/dist/components/carousel/Primitive/SwiperRootPrimitive.vue.js +0 -113
  381. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.d.ts +0 -18
  382. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.js +0 -5
  383. package/dist/components/carousel/Primitive/SwiperSlideImagePrimitive.vue.js +0 -40
  384. package/dist/components/carousel/SwiperCarousel.d.ts +0 -50
  385. package/dist/components/carousel/SwiperCarousel.js +0 -8
  386. package/dist/components/carousel/SwiperCarousel.vue.js +0 -231
  387. package/dist/components/carousel/SwiperSlide.d.ts +0 -13
  388. package/dist/composables/mock.d.ts +0 -25
  389. package/dist/composables/mock.js +0 -49
  390. package/dist/lazyModules/ChartJs/Chart.d.ts +0 -1
  391. package/dist/lazyModules/ChartJs/Chart.js +0 -4
  392. package/dist/lazyModules/ChartJs/DoughnutChart/core.d.ts +0 -2
  393. package/dist/lazyModules/ChartJs/DoughnutChart/core.js +0 -6
  394. package/dist/lazyModules/ChartJs/LineChart/cartesian.d.ts +0 -2
  395. package/dist/lazyModules/ChartJs/LineChart/cartesian.js +0 -6
  396. package/dist/lazyModules/ChartJs/LineChart/core.d.ts +0 -2
  397. package/dist/lazyModules/ChartJs/LineChart/core.js +0 -6
  398. package/dist/lazyModules/ChartJs/Plugins/Legend.d.ts +0 -1
  399. package/dist/lazyModules/ChartJs/Plugins/Legend.js +0 -2
  400. package/dist/lazyModules/ChartJs/Plugins/TimeScale.d.ts +0 -0
  401. package/dist/lazyModules/ChartJs/Plugins/TimeScale.js +0 -3
  402. package/dist/lazyModules/ChartJs/Plugins/Title.d.ts +0 -1
  403. package/dist/lazyModules/ChartJs/Plugins/Title.js +0 -2
  404. package/dist/lazyModules/ChartJs/Plugins/Tooltip.d.ts +0 -1
  405. package/dist/lazyModules/ChartJs/Plugins/Tooltip.js +0 -2
  406. package/dist/lazyModules/Swiper/Autoplay/factory.d.ts +0 -3
  407. package/dist/lazyModules/Swiper/Autoplay/factory.js +0 -9
  408. package/dist/lazyModules/Swiper/Autoplay/index.d.ts +0 -1
  409. package/dist/lazyModules/Swiper/Autoplay/index.js +0 -6
  410. package/dist/lazyModules/Swiper/Controller/factory.d.ts +0 -3
  411. package/dist/lazyModules/Swiper/Controller/factory.js +0 -7
  412. package/dist/lazyModules/Swiper/Controller/index.d.ts +0 -1
  413. package/dist/lazyModules/Swiper/Controller/index.js +0 -6
  414. package/dist/lazyModules/Swiper/FreeMode/factory.d.ts +0 -3
  415. package/dist/lazyModules/Swiper/FreeMode/factory.js +0 -9
  416. package/dist/lazyModules/Swiper/FreeMode/index.d.ts +0 -1
  417. package/dist/lazyModules/Swiper/FreeMode/index.js +0 -6
  418. package/dist/lazyModules/Swiper/Keyboard/factory.d.ts +0 -3
  419. package/dist/lazyModules/Swiper/Keyboard/factory.js +0 -9
  420. package/dist/lazyModules/Swiper/Keyboard/index.d.ts +0 -1
  421. package/dist/lazyModules/Swiper/Keyboard/index.js +0 -6
  422. package/dist/lazyModules/Swiper/Navigation/factory.d.ts +0 -3
  423. package/dist/lazyModules/Swiper/Navigation/factory.js +0 -9
  424. package/dist/lazyModules/Swiper/Navigation/index.d.ts +0 -1
  425. package/dist/lazyModules/Swiper/Navigation/index.js +0 -6
  426. package/dist/lazyModules/Swiper/Pagination/factory.d.ts +0 -3
  427. package/dist/lazyModules/Swiper/Pagination/factory.js +0 -7
  428. package/dist/lazyModules/Swiper/Pagination/index.d.ts +0 -1
  429. package/dist/lazyModules/Swiper/Pagination/index.js +0 -6
  430. package/dist/lazyModules/Swiper/Thumbs/factory.d.ts +0 -3
  431. package/dist/lazyModules/Swiper/Thumbs/factory.js +0 -7
  432. package/dist/lazyModules/Swiper/Thumbs/index.d.ts +0 -1
  433. package/dist/lazyModules/Swiper/Thumbs/index.js +0 -6
  434. package/dist/lazyModules/Swiper/Zoom/factory.d.ts +0 -3
  435. package/dist/lazyModules/Swiper/Zoom/factory.js +0 -9
  436. package/dist/lazyModules/Swiper/Zoom/index.d.ts +0 -1
  437. package/dist/lazyModules/Swiper/Zoom/index.js +0 -6
  438. package/dist/lazyModules/Swiper/factory.d.ts +0 -3
  439. package/dist/lazyModules/Swiper/factory.js +0 -13
  440. package/dist/lazyModules/Swiper/index.d.ts +0 -1
  441. package/dist/lazyModules/Swiper/index.js +0 -5
  442. package/dist/lazyModules/Swiper/swiper-css.d.js +0 -1
  443. package/dist/lazyModules/Swiper/types.d.ts +0 -5
  444. package/dist/lazyModules/Swiper/types.js +0 -1
  445. package/dist/lazyModules/VueChartJs/Doughnut/factory.d.ts +0 -7
  446. package/dist/lazyModules/VueChartJs/Doughnut/factory.js +0 -12
  447. package/dist/lazyModules/VueChartJs/Doughnut/index.d.ts +0 -3
  448. package/dist/lazyModules/VueChartJs/Doughnut/index.js +0 -5
  449. package/dist/lazyModules/VueChartJs/Line/factory.d.ts +0 -7
  450. package/dist/lazyModules/VueChartJs/Line/factory.js +0 -14
  451. package/dist/lazyModules/VueChartJs/Line/index.d.ts +0 -3
  452. package/dist/lazyModules/VueChartJs/Line/index.js +0 -5
  453. package/dist/types/index.d.ts +0 -33
  454. package/dist/types/index.js +0 -1
  455. /package/dist/{composables/useFloatingLabel.js → useFloatingLabel.js} +0 -0
  456. /package/dist/{composables/useValidator.js → useValidator.js} +0 -0
@@ -1,195 +0,0 @@
1
- import { defineComponent as x, useModel as F, shallowRef as s, useTemplateRef as L, computed as k, onBeforeMount as T, watch as f, openBlock as w, createBlock as y, normalizeClass as H, withCtx as c, createElementBlock as K, Fragment as R, renderList as z, unref as N, renderSlot as p, createElementVNode as U, createVNode as A, mergeModels as $ } from "vue";
2
- import W from "./BaseInput.js";
3
- import j from "./BaseDropDown.vue.js";
4
- import '../assets/BaseDropDown.css';/* empty css */
5
- import { debounce as q } from "@wikicasa-dev/utilities";
6
- import G from "./BaseSelect/SelectItem.vue.js";
7
- import { useKeyboardController as J } from "@wikicasa-dev/vue-composables";
8
- const Q = ["innerHTML"], ae = /* @__PURE__ */ x({
9
- __name: "BaseAutocomplete",
10
- props: /* @__PURE__ */ $({
11
- isValid: { type: [Boolean, null], default: null },
12
- theme: { default: "" },
13
- label: { default: "" },
14
- disableCb: { type: Boolean, default: !1 },
15
- onInputChangeCb: { type: Function },
16
- onOptionSelectedCb: { type: [Function, null], default: null },
17
- keepState: { default: null },
18
- cleanupOnClose: { type: Boolean, default: !0 },
19
- dropdownClasses: { default: "" },
20
- closeDropdownOnBodyPressed: { type: Boolean, default: !0 },
21
- inputClasses: {},
22
- fieldsetClasses: {},
23
- dataCy: { default: "" }
24
- }, {
25
- modelValue: {
26
- default() {
27
- return { id: "", label: "" };
28
- }
29
- },
30
- modelModifiers: {}
31
- }),
32
- emits: /* @__PURE__ */ $(["update:dropdownState", "changedValue", "click", "keydown", "keydownEnterPressed"], ["update:modelValue"]),
33
- setup(t, { expose: g, emit: V }) {
34
- const u = F(t, "modelValue"), d = V, i = s(""), o = s([]), v = s(null), b = s(!1), n = s(!1), B = L("baseInput"), S = k(() => o.value.length);
35
- T(() => {
36
- v.value = q({ delay: 300 }, t.onInputChangeCb);
37
- });
38
- const { activeIdx: m, selectedIdx: h } = J({
39
- optionsLength: S,
40
- isDropdownOpen: n,
41
- disableSpaceHandler: !0
42
- }), O = k(() => {
43
- switch (t.theme) {
44
- case "bordered":
45
- return "";
46
- case "all-bordered":
47
- return "!uikit-rounded " + (n.value && "!uikit-rounded-b-none");
48
- case "all-bordered-thick":
49
- return "!uikit-rounded-xl !uikit-h-[52px] " + (n.value && "!uikit-rounded-b-none");
50
- default:
51
- return "";
52
- }
53
- }), I = k(() => {
54
- switch (t.theme) {
55
- case "bordered":
56
- return "";
57
- case "all-bordered":
58
- return "uikit-border uikit-border-w-lavender uikit-border-solid !uikit-rounded !uikit-border-w-lavender !uikit-border " + (n.value ? "!uikit-border-b-0 !uikit-rounded-b-none" : "");
59
- case "all-bordered-thick":
60
- return "!uikit-rounded-xl !uikit-h-[60px] !uikit-border-w-lavender !uikit-border-none " + (n.value ? "!uikit-rounded-b-none" : "");
61
- default:
62
- return "";
63
- }
64
- }), M = k(() => {
65
- const 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";
66
- switch (t.theme) {
67
- case "bordered":
68
- 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";
69
- case "all-bordered":
70
- return e;
71
- case "all-bordered-thick":
72
- return e + " !uikit-border-0";
73
- default:
74
- return "";
75
- }
76
- }), D = async (e) => {
77
- if (i.value !== e && (d("changedValue", e), i.value = e, !!t.onInputChangeCb)) {
78
- if (!e || b.value) {
79
- o.value = [], b.value = !1, h.value = -1, m.value = -1, u.value && (u.value.label = ""), n.value = !1, await v.value?.(null);
80
- return;
81
- }
82
- t.disableCb || (o.value = await v.value?.(e) || [], n.value = !!o.value.length);
83
- }
84
- }, C = (e, l) => {
85
- t.onOptionSelectedCb && t.onOptionSelectedCb(e), t.cleanupOnClose && (o.value = []), b.value = !0, i.value = e.label, u.value = e, n.value = !1, h.value = l;
86
- }, E = () => {
87
- o.value.length && t.keepState !== "closed" && (n.value = !0);
88
- };
89
- return f(
90
- u,
91
- (e, l) => {
92
- e === l || e?.label === i.value || (i.value = e?.label || "");
93
- },
94
- { immediate: !0 }
95
- ), f(h, (e) => {
96
- if (e === -1 || !o.value.length) return;
97
- const l = o.value[e];
98
- b.value && l.label === u.value?.label || C(l, e);
99
- }), f(
100
- () => t.keepState,
101
- (e) => {
102
- e === "closed" ? (n.value = !1, t.cleanupOnClose && (o.value = [])) : e === "open" && o.value.length && (n.value = !0);
103
- }
104
- ), f(n, (e) => {
105
- d("update:dropdownState", e);
106
- }), g({
107
- select: () => {
108
- B.value?.select();
109
- }
110
- }), (e, l) => (w(), y(j, {
111
- class: H(["uikit-autocomplete", e.$attrs["root-classes"]]),
112
- "data-cy": t.dataCy ? t.dataCy : `ac_${e.$attrs.id}`,
113
- "dropdown-element": "ul",
114
- "dropdown-classes": [
115
- { "bordered-dropdown": t.theme === "bordered" },
116
- { "all-bordered-dropdown": t.theme === "all-bordered" },
117
- { "all-bordered-dropdown thick": t.theme === "all-bordered-thick" },
118
- {
119
- "uikit-mt-10px !uikit-border !uikit-border-w-secondary !uikit-rounded-xs": !t.theme
120
- },
121
- M.value,
122
- "uikit-z-30",
123
- t.dropdownClasses
124
- ],
125
- open: n.value,
126
- "keep-state": !o.value.length || t.keepState === "closed" ? "closed" : "opened",
127
- "close-when-clicked-outside": t.closeDropdownOnBodyPressed,
128
- "activate-keyboard-controller": !1,
129
- "onUpdate:open": l[3] || (l[3] = (a) => n.value = a),
130
- onClick: l[4] || (l[4] = (a) => {
131
- d("click"), E();
132
- })
133
- }, {
134
- btn_slot: c(() => [
135
- A(W, {
136
- id: e.$attrs.id ? `ac_input_${e.$attrs.id}` : "",
137
- ref: "baseInput",
138
- "data-cy": t.dataCy ? `ac_input_${t.dataCy}` : `ac_input_${e.$attrs.id}`,
139
- "label-text": t.label,
140
- "model-value": i.value,
141
- "is-valid": t.isValid,
142
- disabled: e.$attrs.disabled,
143
- placeholder: e.$attrs.placeholder,
144
- "with-left-icon": !!e.$slots.lefticon,
145
- "with-right-icon": !!e.$slots.righticon,
146
- "input-class": [
147
- O.value,
148
- t.inputClasses,
149
- "!uikit-ml-0 !uikit-w-full"
150
- ],
151
- "fieldset-classes": [I.value, t.fieldsetClasses],
152
- "onUpdate:modelValue": l[0] || (l[0] = (a) => D(a === void 0 ? "" : `${a}`)),
153
- onKeydown: l[1] || (l[1] = (a) => d("keydown", a)),
154
- onKeydownEnterPressed: l[2] || (l[2] = () => d("keydownEnterPressed"))
155
- }, {
156
- leftIcon: c(() => [
157
- p(e.$slots, "lefticon")
158
- ]),
159
- righticon: c(({ handleClean: a }) => [
160
- p(e.$slots, "righticon", { handleClean: a })
161
- ]),
162
- _: 3
163
- }, 8, ["id", "data-cy", "label-text", "model-value", "is-valid", "disabled", "placeholder", "with-left-icon", "with-right-icon", "input-class", "fieldset-classes"])
164
- ]),
165
- default: c(() => [
166
- (w(!0), K(R, null, z(o.value, (a, r) => (w(), y(G, {
167
- key: r,
168
- active: N(m) === r,
169
- class: "uikit-m-1 uikit-rounded-[5px] uikit-px-5 uikit-py-10px hover:uikit-cursor-pointer",
170
- onClick: (P) => C(
171
- a,
172
- r
173
- ),
174
- onMouseover: (P) => m.value = r
175
- }, {
176
- default: c(() => [
177
- p(e.$slots, "option-content", {
178
- option: a,
179
- idx: r
180
- }, () => [
181
- U("span", {
182
- innerHTML: a.label
183
- }, null, 8, Q)
184
- ])
185
- ]),
186
- _: 2
187
- }, 1032, ["active", "onClick", "onMouseover"]))), 128))
188
- ]),
189
- _: 3
190
- }, 8, ["class", "data-cy", "dropdown-classes", "open", "keep-state", "close-when-clicked-outside"]));
191
- }
192
- });
193
- export {
194
- ae as default
195
- };
@@ -1,18 +0,0 @@
1
- type __VLS_Props = {
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
- };
4
- declare var __VLS_1: {};
5
- type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_1) => any;
7
- };
8
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
- 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
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
- declare const _default: typeof __VLS_export;
13
- export default _default;
14
- type __VLS_WithSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,5 +0,0 @@
1
- import o from "./BaseBadge.vue.js";
2
- import '../assets/BaseBadge.css';/* empty css */
3
- export {
4
- o as default
5
- };
@@ -1,18 +0,0 @@
1
- import { defineComponent as a, openBlock as t, createElementBlock as o, normalizeClass as r, renderSlot as d } from "vue";
2
- const i = ["id"], m = /* @__PURE__ */ a({
3
- __name: "BaseBadge",
4
- props: {
5
- badgeClass: { default: "uikit-badge-w-primary-sm" }
6
- },
7
- setup(s) {
8
- return (e, l) => (t(), o("span", {
9
- id: e.$attrs.id,
10
- class: r(["uikit-badge uikit-shadow-sm", s.badgeClass, e.$attrs.class])
11
- }, [
12
- d(e.$slots, "default")
13
- ], 10, i));
14
- }
15
- });
16
- export {
17
- m as default
18
- };
@@ -1,32 +0,0 @@
1
- import { ClassTypeProp } from './types';
2
- type BreadcrumbItemsType = {
3
- link: string;
4
- label: string;
5
- active?: boolean;
6
- dataTooltip?: string;
7
- };
8
- type BreadcrumbItemsTypeWithIdx = BreadcrumbItemsType & {
9
- idx: number;
10
- };
11
- type __VLS_Props = {
12
- items: BreadcrumbItemsType[];
13
- listClasses?: ClassTypeProp;
14
- listItemClasses?: ClassTypeProp;
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;
23
- };
24
- 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
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
- declare const _default: typeof __VLS_export;
27
- export default _default;
28
- type __VLS_WithSlots<T, S> = T & {
29
- new (): {
30
- $slots: S;
31
- };
32
- };
@@ -1,4 +0,0 @@
1
- import f from "./BaseBreadcrumb.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,57 +0,0 @@
1
- import { defineComponent as d, computed as k, openBlock as l, createElementBlock as i, createElementVNode as n, normalizeClass as r, Fragment as u, renderList as h, renderSlot as c, toDisplayString as b, createVNode as f, unref as p } from "vue";
2
- import { ArrowIcon as C } from "@wikicasa-dev/svg-icons";
3
- const g = { "aria-label": "Breadcrumb" }, w = ["data-tooltip"], I = ["href"], y = /* @__PURE__ */ d({
4
- __name: "BaseBreadcrumb",
5
- props: {
6
- items: {},
7
- listClasses: {},
8
- listItemClasses: {}
9
- },
10
- setup(t) {
11
- const m = k(() => {
12
- let e = 0;
13
- const a = [];
14
- for (; e < t.items.length; )
15
- a.push({ ...t.items[e], idx: e }), e < t.items.length - 1 && a.push({ arrowIcon: !0 }), e++;
16
- return a;
17
- });
18
- return (e, a) => (l(), i("nav", g, [
19
- n("ol", {
20
- class: r(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", t.listClasses])
21
- }, [
22
- (l(!0), i(u, null, h(m.value, (s, o) => (l(), i(u, null, [
23
- s?.label ? (l(), i("li", {
24
- key: `breadcrumb-li-${o}`,
25
- class: r(["uikit-list-none", t.listItemClasses]),
26
- "data-tooltip": s.dataTooltip
27
- }, [
28
- c(e.$slots, "item", {
29
- item: s
30
- }, () => [
31
- n("a", {
32
- class: r(["uikit-text-w-black uikit-no-underline", { "uikit-text-w-primary": s.active }]),
33
- href: s.link
34
- }, b(s.label), 11, I)
35
- ])
36
- ], 10, w)) : (l(), i("li", {
37
- key: `breadcrumb-li-no-label-${o}`,
38
- class: r(["uikit-list-none", t.listItemClasses]),
39
- "aria-hidden": "true"
40
- }, [
41
- c(e.$slots, "separator", {}, () => [
42
- f(p(C), {
43
- class: "-uikit-rotate-90",
44
- "stroke-color": "#222",
45
- width: 10,
46
- height: 10
47
- })
48
- ])
49
- ], 2))
50
- ], 64))), 256))
51
- ], 2)
52
- ]));
53
- }
54
- });
55
- export {
56
- y as default
57
- };
@@ -1,75 +0,0 @@
1
- declare const VARIANT_MAP: {
2
- readonly "uikit-btn-w-primary": "uikit-btn-w-primary";
3
- readonly "uikit-btn-w-secondary": "uikit-btn-w-secondary";
4
- readonly "uikit-btn-w-warning": "uikit-btn-w-warning";
5
- readonly "uikit-btn-w-danger": "uikit-btn-w-danger";
6
- readonly "uikit-btn-transparent": "uikit-btn-transparent";
7
- readonly "uikit-btn-light": "uikit-btn-light";
8
- readonly "uikit-btn-show-more": "uikit-btn-show-more";
9
- readonly "uikit-btn-multi-selection": "uikit-btn-multi-selection";
10
- readonly "uikit-btn-single-selection": "uikit-btn-single-selection";
11
- readonly "uikit-btn-facile": "uikit-btn-facile";
12
- };
13
- declare const SIZE_MAP: {
14
- readonly sm: "uikit-btn-sm";
15
- readonly lg: "uikit-btn-lg";
16
- readonly "": "";
17
- };
18
- export type ButtonType = keyof typeof VARIANT_MAP;
19
- export type ButtonSize = keyof typeof SIZE_MAP;
20
- declare const _default: typeof __VLS_export;
21
- export default _default;
22
- declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
23
- btnClass?: ButtonType;
24
- outlined?: boolean;
25
- size?: ButtonSize;
26
- withMinWidth?: boolean;
27
- keepActive?: boolean;
28
- isLoading?: boolean;
29
- disabled?: boolean;
30
- ariaLabel?: string;
31
- /**
32
- * Add the title for screen readers when the button consists of just an icon
33
- */
34
- title?: string;
35
- dataCy?: string;
36
- type?: "button" | "reset" | "submit" | undefined;
37
- }, {
38
- getRootElement: () => HTMLButtonElement | null;
39
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
- click: (e: MouseEvent) => any;
41
- mouseover: (e: MouseEvent) => any;
42
- mouseout: (e: MouseEvent) => any;
43
- keydown: (e: KeyboardEvent) => any;
44
- }, string, import('vue').PublicProps, Readonly<{
45
- btnClass?: ButtonType;
46
- outlined?: boolean;
47
- size?: ButtonSize;
48
- withMinWidth?: boolean;
49
- keepActive?: boolean;
50
- isLoading?: boolean;
51
- disabled?: boolean;
52
- ariaLabel?: string;
53
- /**
54
- * Add the title for screen readers when the button consists of just an icon
55
- */
56
- title?: string;
57
- dataCy?: string;
58
- type?: "button" | "reset" | "submit" | undefined;
59
- }> & Readonly<{
60
- onClick?: ((e: MouseEvent) => any) | undefined;
61
- onMouseover?: ((e: MouseEvent) => any) | undefined;
62
- onMouseout?: ((e: MouseEvent) => any) | undefined;
63
- onKeydown?: ((e: KeyboardEvent) => any) | undefined;
64
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
65
- default?: (props: {
66
- hover: boolean;
67
- }) => any;
68
- } & {
69
- spinner?: (props: {}) => any;
70
- }>;
71
- type __VLS_WithSlots<T, S> = T & {
72
- new (): {
73
- $slots: S;
74
- };
75
- };
@@ -1,4 +0,0 @@
1
- import f from "./BaseButton.vue.js";
2
- export {
3
- f as default
4
- };
@@ -1,88 +0,0 @@
1
- import { defineComponent as w, useTemplateRef as v, shallowRef as g, computed as l, openBlock as C, createElementBlock as B, withModifiers as u, normalizeStyle as M, normalizeClass as h, renderSlot as s, createVNode as A } from "vue";
2
- import L from "./StaticSpinner.js";
3
- const S = ["id", "data-cy", "type", "data-active", "disabled", "aria-label", "title"], d = {
4
- "uikit-btn-w-primary": "uikit-btn-w-primary",
5
- "uikit-btn-w-secondary": "uikit-btn-w-secondary",
6
- "uikit-btn-w-warning": "uikit-btn-w-warning",
7
- "uikit-btn-w-danger": "uikit-btn-w-danger",
8
- "uikit-btn-transparent": "uikit-btn-transparent",
9
- "uikit-btn-light": "uikit-btn-light",
10
- "uikit-btn-show-more": "uikit-btn-show-more",
11
- "uikit-btn-multi-selection": "uikit-btn-multi-selection",
12
- "uikit-btn-single-selection": "uikit-btn-single-selection",
13
- "uikit-btn-facile": "uikit-btn-facile"
14
- }, z = {
15
- sm: "uikit-btn-sm",
16
- lg: "uikit-btn-lg",
17
- "": ""
18
- }, $ = /* @__PURE__ */ w({
19
- __name: "BaseButton",
20
- props: {
21
- btnClass: { default: "uikit-btn-w-primary" },
22
- outlined: { type: Boolean },
23
- size: {},
24
- withMinWidth: { type: Boolean, default: !0 },
25
- keepActive: { type: Boolean },
26
- isLoading: { type: Boolean },
27
- disabled: { type: Boolean },
28
- ariaLabel: {},
29
- title: {},
30
- dataCy: {},
31
- type: {}
32
- },
33
- emits: ["mouseover", "mouseout", "click", "keydown"],
34
- setup(t, { expose: b, emit: k }) {
35
- const n = k, r = v("buttonEl"), o = g(!1), m = l(() => z[t.size || ""]), y = l(
36
- () => t.btnClass ? d[t.btnClass] : d["uikit-btn-w-primary"]
37
- ), c = () => {
38
- o.value = !0;
39
- }, f = () => {
40
- o.value = !1;
41
- };
42
- return b({
43
- getRootElement: () => r.value
44
- }), (a, e) => (C(), B("button", {
45
- ref: "buttonEl",
46
- id: a.$attrs.id,
47
- "data-cy": t.dataCy,
48
- type: t.type,
49
- class: h([
50
- "uikit-btn",
51
- {
52
- "uikit-btn-outline": t.outlined,
53
- "uikit-btn-empty": !t.withMinWidth,
54
- "active uikit-font-medium": t.keepActive,
55
- "uikit-flex uikit-items-center uikit-justify-center": t.isLoading
56
- },
57
- t.btnClass,
58
- m.value,
59
- y.value
60
- ]),
61
- style: M(a.$attrs.style),
62
- "data-active": t.keepActive,
63
- disabled: t.isLoading || t.disabled,
64
- "aria-label": t.ariaLabel,
65
- title: t.title,
66
- onMouseover: e[0] || (e[0] = u((i) => {
67
- c(), n("mouseover", i);
68
- }, ["stop"])),
69
- onMouseout: e[1] || (e[1] = u((i) => {
70
- f(), n("mouseout", i);
71
- }, ["stop"])),
72
- onClick: e[2] || (e[2] = (i) => n("click", i)),
73
- onKeydown: e[3] || (e[3] = (i) => n("keydown", i))
74
- }, [
75
- t.isLoading ? s(a.$slots, "spinner", { key: 1 }, () => [
76
- A(L, {
77
- "stroke-color": t.outlined ? "#ACB4C3" : "#fff"
78
- }, null, 8, ["stroke-color"])
79
- ]) : s(a.$slots, "default", {
80
- key: 0,
81
- hover: o.value
82
- })
83
- ], 46, S));
84
- }
85
- });
86
- export {
87
- $ as default
88
- };
@@ -1,54 +0,0 @@
1
- import { Nullable } from '@wikicasa-dev/types';
2
- import { ClassTypeProp, Icon } from './types';
3
- import { TwPrefix } from '../types';
4
- export type ToggleType<TID = string | number, TPayload = unknown> = {
5
- id?: TID;
6
- label: string;
7
- icon?: Icon;
8
- checked?: boolean;
9
- payload?: TPayload;
10
- };
11
- export type ComplexToggleType<TID = string | number, TPayload = unknown> = {
12
- leftToggle: ToggleType<TID, TPayload>;
13
- rightToggle: ToggleType<TID, TPayload>;
14
- };
15
- type BgPrefix = "bg-w-";
16
- type BorderPrefix = "border-w-";
17
- type ColorsType = "black" | "primary" | "secondary" | "dark-primary" | "carbon" | "gray" | "warning" | "danger" | "lavender";
18
- type BtnBgColorType = `${TwPrefix}${BgPrefix}${ColorsType}` | "";
19
- type BorderColorType = `${TwPrefix}${BorderPrefix}${ColorsType}`;
20
- export type BaseComplexToggleProps<TID = string | number, TPayload = unknown> = {
21
- labels: ComplexToggleType<TID, TPayload>;
22
- type?: "full" | "padded";
23
- mode?: "mobile" | "";
24
- btnBgColor?: BtnBgColorType;
25
- btnClasses?: ClassTypeProp;
26
- borderContainerColor?: BorderColorType;
27
- size?: "" | "lg";
28
- };
29
- declare const _default: typeof __VLS_export;
30
- export default _default;
31
- declare const __VLS_export: <TID extends string | number, TPayload>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
32
- props: import('vue').PublicProps & __VLS_PrettifyLocal<(BaseComplexToggleProps<TID, TPayload> & {
33
- modelValue?: Nullable<ToggleType> | undefined;
34
- }) & {
35
- "onUpdate:modelValue"?: ((value: Nullable<ToggleType<string | number, unknown>> | undefined) => any) | undefined;
36
- }> & (typeof globalThis extends {
37
- __VLS_PROPS_FALLBACK: infer P;
38
- } ? P : {});
39
- expose: (exposed: {}) => void;
40
- attrs: any;
41
- slots: {
42
- left_icon?: (props: {}) => any;
43
- } & {
44
- right_icon?: (props: {}) => any;
45
- };
46
- emit: (event: "update:modelValue", value: Nullable<ToggleType<string | number, unknown>> | undefined) => void;
47
- }>) => import('vue').VNode & {
48
- __ctx?: Awaited<typeof __VLS_setup>;
49
- };
50
- type __VLS_PrettifyLocal<T> = (T extends any ? {
51
- [K in keyof T]: T[K];
52
- } : {
53
- [K in keyof T as K]: T[K];
54
- }) & {};
@@ -1,7 +0,0 @@
1
- import o from "./BaseComplexToggle.vue.js";
2
- import '../assets/BaseComplexToggle2.css';/* empty css */
3
- import e from "../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-74915e0a"]]);
5
- export {
6
- p as default
7
- };
@@ -1,106 +0,0 @@
1
- import { defineComponent as T, useModel as C, computed as d, openBlock as g, createElementBlock as c, normalizeClass as o, createElementVNode as i, withModifiers as f, renderSlot as m, createCommentVNode as k, mergeModels as x } from "vue";
2
- const y = ["id", "data-cy"], $ = ["data-btn-bg-color", "data-cy"], L = ["src", "alt"], M = ["innerHTML"], z = ["data-btn-bg-color", "data-cy"], B = ["src", "alt"], V = ["innerHTML"], j = /* @__PURE__ */ T({
3
- __name: "BaseComplexToggle",
4
- props: /* @__PURE__ */ x({
5
- labels: {},
6
- type: { default: "full" },
7
- mode: { default: "" },
8
- btnBgColor: { default: "uikit-bg-w-lavender" },
9
- btnClasses: {},
10
- borderContainerColor: { default: "uikit-border-w-secondary" },
11
- size: { default: "" }
12
- }, {
13
- modelValue: {
14
- default: null
15
- },
16
- modelModifiers: {}
17
- }),
18
- emits: ["update:modelValue"],
19
- setup(e) {
20
- const t = e, s = C(e, "modelValue"), n = () => {
21
- s.value = t.labels.leftToggle;
22
- }, u = () => {
23
- s.value = t.labels.rightToggle;
24
- };
25
- (() => {
26
- if (t.labels.leftToggle.checked) {
27
- n();
28
- return;
29
- }
30
- if (t.labels.rightToggle.checked) {
31
- u();
32
- return;
33
- }
34
- n();
35
- })();
36
- const r = (l) => s.value?.label === l.label, b = d(() => r(t.labels.leftToggle)), h = d(() => r(t.labels.rightToggle));
37
- return (l, a) => (g(), c("div", {
38
- id: l.$attrs.id || "",
39
- "data-cy": l.$attrs["data-cy"] || "",
40
- class: o(["base-complex-toggle uikit-relative uikit-flex uikit-justify-center uikit-p-0", [e.mode, e.borderContainerColor, e.size]])
41
- }, [
42
- i("div", {
43
- "data-btn-bg-color": e.btnBgColor,
44
- "data-cy": `bct-left-btn${e.labels.leftToggle.label ? `-${e.labels.leftToggle.label}` : ""}`,
45
- class: o(["left-button uikit-flex uikit-flex-1 uikit-items-center uikit-justify-center hover:uikit-cursor-pointer", [
46
- {
47
- "base-complex-toggle-active": b.value
48
- }
49
- ]]),
50
- onClick: a[0] || (a[0] = f((v) => n(), ["stop"]))
51
- }, [
52
- m(l.$slots, "left_icon", {}, () => [
53
- e.labels.leftToggle.icon ? (g(), c("img", {
54
- key: 0,
55
- class: "base-complex-toggle-icon uikit-relative uikit-z-10 uikit-mr-10px",
56
- src: e.labels.leftToggle.icon.src,
57
- alt: e.labels.leftToggle.icon.alt,
58
- width: "15",
59
- height: "15"
60
- }, null, 8, L)) : k("", !0)
61
- ], !0),
62
- i("span", {
63
- class: "base-complex-toggle-label uikit-relative uikit-z-10",
64
- innerHTML: e.labels.leftToggle.label
65
- }, null, 8, M)
66
- ], 10, $),
67
- i("div", {
68
- "data-btn-bg-color": e.btnBgColor,
69
- "data-cy": `bct-right-btn${e.labels.rightToggle.label ? `-${e.labels.rightToggle.label}` : ""}`,
70
- class: o(["right-button uikit-flex uikit-flex-1 uikit-items-center uikit-justify-center hover:uikit-cursor-pointer", [
71
- {
72
- "base-complex-toggle-active": h.value
73
- }
74
- ]]),
75
- onClick: a[1] || (a[1] = f((v) => u(), ["stop"]))
76
- }, [
77
- m(l.$slots, "right_icon", {}, () => [
78
- e.labels.rightToggle.icon ? (g(), c("img", {
79
- key: 0,
80
- class: "base-complex-toggle-icon uikit-relative uikit-z-10 uikit-mr-10px",
81
- src: e.labels.rightToggle.icon.src,
82
- alt: e.labels.rightToggle.icon.alt,
83
- width: "15",
84
- height: "15"
85
- }, null, 8, B)) : k("", !0)
86
- ], !0),
87
- i("span", {
88
- class: "base-complex-toggle-label uikit-relative uikit-z-10",
89
- innerHTML: e.labels.rightToggle.label
90
- }, null, 8, V)
91
- ], 10, z),
92
- i("div", {
93
- class: o(["uikit-absolute uikit-transition-all uikit-duration-200 uikit-ease-out", [
94
- e.type === "full" ? "base-complex-toggle-active-bg" : "base-complex-toggle-active-padded-bg",
95
- e.btnBgColor,
96
- e.mode,
97
- b.value ? "translateX-left" : "translateX-right",
98
- e.btnClasses
99
- ]])
100
- }, null, 2)
101
- ], 10, y));
102
- }
103
- });
104
- export {
105
- j as default
106
- };