@antify/ui-module 1.7.3 → 1.8.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 (364) hide show
  1. package/README.md +43 -52
  2. package/dist/module.d.mts +1 -251
  3. package/dist/module.d.ts +1 -251
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +97 -418
  6. package/dist/runtime/composables/useUiClient.d.ts +2 -2
  7. package/dist/runtime/composables/useUiClient.mjs +1 -2
  8. package/dist/runtime/plugins/ui-module.mjs +3 -2
  9. package/dist/runtime/tailwind.config.d.ts +2 -3
  10. package/dist/runtime/tailwind.config.mjs +20 -204
  11. package/dist/types.d.mts +1 -1
  12. package/dist/types.d.ts +1 -1
  13. package/package.json +10 -41
  14. package/dist/runtime/components/AntAccordion.vue +0 -64
  15. package/dist/runtime/components/AntAccordionItem.vue +0 -81
  16. package/dist/runtime/components/AntAlert.vue +0 -146
  17. package/dist/runtime/components/AntCard.vue +0 -34
  18. package/dist/runtime/components/AntContent.vue +0 -16
  19. package/dist/runtime/components/AntDropdown.vue +0 -79
  20. package/dist/runtime/components/AntIcon.vue +0 -56
  21. package/dist/runtime/components/AntKeycap.vue +0 -45
  22. package/dist/runtime/components/AntListGroup.vue +0 -24
  23. package/dist/runtime/components/AntListGroupItem.vue +0 -83
  24. package/dist/runtime/components/AntModal.vue +0 -88
  25. package/dist/runtime/components/AntPagination.vue +0 -206
  26. package/dist/runtime/components/AntPopover.vue +0 -114
  27. package/dist/runtime/components/AntSkeleton.vue +0 -38
  28. package/dist/runtime/components/AntSpinner.vue +0 -101
  29. package/dist/runtime/components/AntTag.vue +0 -114
  30. package/dist/runtime/components/AntToast.vue +0 -119
  31. package/dist/runtime/components/AntToaster.vue +0 -51
  32. package/dist/runtime/components/AntTooltip.vue +0 -189
  33. package/dist/runtime/components/Main.mdx +0 -11
  34. package/dist/runtime/components/Main.stories.d.ts +0 -7
  35. package/dist/runtime/components/Main.stories.mjs +0 -8
  36. package/dist/runtime/components/__stories/AntAccordion.stories.d.ts +0 -9
  37. package/dist/runtime/components/__stories/AntAccordion.stories.mjs +0 -101
  38. package/dist/runtime/components/__stories/AntAlert.stories.d.ts +0 -11
  39. package/dist/runtime/components/__stories/AntAlert.stories.mjs +0 -81
  40. package/dist/runtime/components/__stories/AntCard.stories.d.ts +0 -7
  41. package/dist/runtime/components/__stories/AntCard.stories.mjs +0 -87
  42. package/dist/runtime/components/__stories/AntContent.stories.d.ts +0 -6
  43. package/dist/runtime/components/__stories/AntContent.stories.mjs +0 -26
  44. package/dist/runtime/components/__stories/AntDropdown.stories.d.ts +0 -6
  45. package/dist/runtime/components/__stories/AntDropdown.stories.mjs +0 -52
  46. package/dist/runtime/components/__stories/AntIcon.stories.d.ts +0 -8
  47. package/dist/runtime/components/__stories/AntIcon.stories.mjs +0 -93
  48. package/dist/runtime/components/__stories/AntKeycap.stories.d.ts +0 -9
  49. package/dist/runtime/components/__stories/AntKeycap.stories.mjs +0 -69
  50. package/dist/runtime/components/__stories/AntListGroup.stories.d.ts +0 -7
  51. package/dist/runtime/components/__stories/AntListGroup.stories.mjs +0 -36
  52. package/dist/runtime/components/__stories/AntListGroupItem.stories.d.ts +0 -10
  53. package/dist/runtime/components/__stories/AntListGroupItem.stories.mjs +0 -62
  54. package/dist/runtime/components/__stories/AntModal.stories.d.ts +0 -7
  55. package/dist/runtime/components/__stories/AntModal.stories.mjs +0 -78
  56. package/dist/runtime/components/__stories/AntPagination.stories.d.ts +0 -8
  57. package/dist/runtime/components/__stories/AntPagination.stories.mjs +0 -39
  58. package/dist/runtime/components/__stories/AntPopover.stories.d.ts +0 -6
  59. package/dist/runtime/components/__stories/AntPopover.stories.mjs +0 -47
  60. package/dist/runtime/components/__stories/AntSkeleton.stories.d.ts +0 -8
  61. package/dist/runtime/components/__stories/AntSkeleton.stories.mjs +0 -43
  62. package/dist/runtime/components/__stories/AntSpinner.stories.d.ts +0 -6
  63. package/dist/runtime/components/__stories/AntSpinner.stories.mjs +0 -34
  64. package/dist/runtime/components/__stories/AntTag.stories.d.ts +0 -7
  65. package/dist/runtime/components/__stories/AntTag.stories.mjs +0 -43
  66. package/dist/runtime/components/__stories/AntToast.stories.d.ts +0 -8
  67. package/dist/runtime/components/__stories/AntToast.stories.mjs +0 -66
  68. package/dist/runtime/components/__stories/AntToaster.stories.d.ts +0 -34
  69. package/dist/runtime/components/__stories/AntToaster.stories.mjs +0 -42
  70. package/dist/runtime/components/__stories/AntTooltip.stories.d.ts +0 -16
  71. package/dist/runtime/components/__stories/AntTooltip.stories.mjs +0 -241
  72. package/dist/runtime/components/__types/AntAccordion.types.d.ts +0 -4
  73. package/dist/runtime/components/__types/AntAccordion.types.mjs +0 -5
  74. package/dist/runtime/components/__types/AntIcon.types.d.ts +0 -8
  75. package/dist/runtime/components/__types/AntIcon.types.mjs +0 -9
  76. package/dist/runtime/components/__types/AntKeycap.types.d.ts +0 -4
  77. package/dist/runtime/components/__types/AntKeycap.types.mjs +0 -5
  78. package/dist/runtime/components/__types/AntListGroupItem.types.d.ts +0 -9
  79. package/dist/runtime/components/__types/AntListGroupItem.types.mjs +0 -10
  80. package/dist/runtime/components/__types/AntSpinner.types.d.ts +0 -10
  81. package/dist/runtime/components/__types/AntSpinner.types.mjs +0 -11
  82. package/dist/runtime/components/__types/AntTag.types.d.ts +0 -17
  83. package/dist/runtime/components/__types/AntTag.types.mjs +0 -19
  84. package/dist/runtime/components/__types/AntToaster.types.d.ts +0 -8
  85. package/dist/runtime/components/__types/AntToaster.types.mjs +0 -0
  86. package/dist/runtime/components/__types/index.d.ts +0 -7
  87. package/dist/runtime/components/__types/index.mjs +0 -7
  88. package/dist/runtime/components/buttons/AntActionButton.vue +0 -74
  89. package/dist/runtime/components/buttons/AntButton.vue +0 -257
  90. package/dist/runtime/components/buttons/AntCreateButton.vue +0 -54
  91. package/dist/runtime/components/buttons/AntDeleteButton.vue +0 -54
  92. package/dist/runtime/components/buttons/AntDuplicateButton.vue +0 -54
  93. package/dist/runtime/components/buttons/AntEditButton.vue +0 -54
  94. package/dist/runtime/components/buttons/AntSaveAndNewButton.vue +0 -56
  95. package/dist/runtime/components/buttons/AntSaveButton.vue +0 -55
  96. package/dist/runtime/components/buttons/__stories/AntActionButton.stories.d.ts +0 -11
  97. package/dist/runtime/components/buttons/__stories/AntActionButton.stories.mjs +0 -86
  98. package/dist/runtime/components/buttons/__stories/AntButton.stories.d.ts +0 -16
  99. package/dist/runtime/components/buttons/__stories/AntButton.stories.mjs +0 -313
  100. package/dist/runtime/components/buttons/__stories/AntCreateButton.stories.d.ts +0 -12
  101. package/dist/runtime/components/buttons/__stories/AntCreateButton.stories.mjs +0 -76
  102. package/dist/runtime/components/buttons/__stories/AntDeleteButton.stories.d.ts +0 -12
  103. package/dist/runtime/components/buttons/__stories/AntDeleteButton.stories.mjs +0 -76
  104. package/dist/runtime/components/buttons/__stories/AntDuplicateButton.stories.d.ts +0 -12
  105. package/dist/runtime/components/buttons/__stories/AntDuplicateButton.stories.mjs +0 -76
  106. package/dist/runtime/components/buttons/__stories/AntEditButton.stories.d.ts +0 -12
  107. package/dist/runtime/components/buttons/__stories/AntEditButton.stories.mjs +0 -76
  108. package/dist/runtime/components/buttons/__stories/AntSaveAndNewButton.stories.d.ts +0 -12
  109. package/dist/runtime/components/buttons/__stories/AntSaveAndNewButton.stories.mjs +0 -76
  110. package/dist/runtime/components/buttons/__stories/AntSaveButton.stories.d.ts +0 -12
  111. package/dist/runtime/components/buttons/__stories/AntSaveButton.stories.mjs +0 -76
  112. package/dist/runtime/components/buttons/__types/AntButton.types.d.ts +0 -4
  113. package/dist/runtime/components/buttons/__types/AntButton.types.mjs +0 -5
  114. package/dist/runtime/components/buttons/__types/index.d.ts +0 -1
  115. package/dist/runtime/components/buttons/__types/index.mjs +0 -1
  116. package/dist/runtime/components/crud/AntCrud.vue +0 -45
  117. package/dist/runtime/components/crud/AntCrudDetail.vue +0 -11
  118. package/dist/runtime/components/crud/AntCrudDetailActions.vue +0 -58
  119. package/dist/runtime/components/crud/AntCrudDetailNav.vue +0 -64
  120. package/dist/runtime/components/crud/AntCrudTableFilter.vue +0 -122
  121. package/dist/runtime/components/crud/AntCrudTableNav.vue +0 -149
  122. package/dist/runtime/components/crud/__stories/AntCrud.stories.d.ts +0 -6
  123. package/dist/runtime/components/crud/__stories/AntCrud.stories.mjs +0 -126
  124. package/dist/runtime/components/crud/__stories/AntCrudDetail.stories.d.ts +0 -7
  125. package/dist/runtime/components/crud/__stories/AntCrudDetail.stories.mjs +0 -80
  126. package/dist/runtime/components/crud/__stories/AntCrudDetailActions.stories.d.ts +0 -6
  127. package/dist/runtime/components/crud/__stories/AntCrudDetailActions.stories.mjs +0 -25
  128. package/dist/runtime/components/crud/__stories/AntCrudDetailNav.stories.d.ts +0 -6
  129. package/dist/runtime/components/crud/__stories/AntCrudDetailNav.stories.mjs +0 -41
  130. package/dist/runtime/components/crud/__stories/AntCrudTableFilter.stories.d.ts +0 -6
  131. package/dist/runtime/components/crud/__stories/AntCrudTableFilter.stories.mjs +0 -25
  132. package/dist/runtime/components/crud/__stories/AntCrudTableNav.stories.d.ts +0 -8
  133. package/dist/runtime/components/crud/__stories/AntCrudTableNav.stories.mjs +0 -56
  134. package/dist/runtime/components/dialogs/AntDeleteDialog.vue +0 -29
  135. package/dist/runtime/components/dialogs/AntDialog.vue +0 -147
  136. package/dist/runtime/components/dialogs/__stories/AndDeleteDialog.stories.d.ts +0 -6
  137. package/dist/runtime/components/dialogs/__stories/AndDeleteDialog.stories.mjs +0 -32
  138. package/dist/runtime/components/dialogs/__stories/AntDialog.stories.d.ts +0 -6
  139. package/dist/runtime/components/dialogs/__stories/AntDialog.stories.mjs +0 -60
  140. package/dist/runtime/components/forms/AntField.vue +0 -123
  141. package/dist/runtime/components/forms/AntFormGroup.vue +0 -36
  142. package/dist/runtime/components/forms/AntFormGroupLabel.vue +0 -5
  143. package/dist/runtime/components/forms/__stories/AntField.stories.d.ts +0 -6
  144. package/dist/runtime/components/forms/__stories/AntField.stories.mjs +0 -80
  145. package/dist/runtime/components/forms/__stories/AntFormGroup.stories.d.ts +0 -6
  146. package/dist/runtime/components/forms/__stories/AntFormGroup.stories.mjs +0 -33
  147. package/dist/runtime/components/forms/__stories/AntFormGroupLabel.stories.d.ts +0 -6
  148. package/dist/runtime/components/forms/__stories/AntFormGroupLabel.stories.mjs +0 -20
  149. package/dist/runtime/components/index.d.ts +0 -62
  150. package/dist/runtime/components/index.mjs +0 -124
  151. package/dist/runtime/components/inputs/AntCheckbox.vue +0 -182
  152. package/dist/runtime/components/inputs/AntCheckboxGroup.vue +0 -117
  153. package/dist/runtime/components/inputs/AntDateInput.vue +0 -104
  154. package/dist/runtime/components/inputs/AntNumberInput.vue +0 -157
  155. package/dist/runtime/components/inputs/AntPasswordInput.vue +0 -107
  156. package/dist/runtime/components/inputs/AntRadio.vue +0 -206
  157. package/dist/runtime/components/inputs/AntRadioGroup.vue +0 -127
  158. package/dist/runtime/components/inputs/AntRangeSlider.vue +0 -101
  159. package/dist/runtime/components/inputs/AntRichTextEditor.vue +0 -237
  160. package/dist/runtime/components/inputs/AntSearch.vue +0 -75
  161. package/dist/runtime/components/inputs/AntSelect.vue +0 -319
  162. package/dist/runtime/components/inputs/AntSwitch.vue +0 -192
  163. package/dist/runtime/components/inputs/AntSwitcher.vue +0 -196
  164. package/dist/runtime/components/inputs/AntTagInput.vue +0 -339
  165. package/dist/runtime/components/inputs/AntTextInput.vue +0 -75
  166. package/dist/runtime/components/inputs/AntTextarea.vue +0 -191
  167. package/dist/runtime/components/inputs/AntUnitInput.vue +0 -96
  168. package/dist/runtime/components/inputs/Elements/AntBaseInput.vue +0 -271
  169. package/dist/runtime/components/inputs/Elements/AntDropDown.vue +0 -189
  170. package/dist/runtime/components/inputs/Elements/AntInputDescription.vue +0 -58
  171. package/dist/runtime/components/inputs/Elements/AntInputLabel.vue +0 -62
  172. package/dist/runtime/components/inputs/Elements/AntInputLimiter.vue +0 -58
  173. package/dist/runtime/components/inputs/Elements/__stories/AntBaseInput.stories.d.ts +0 -11
  174. package/dist/runtime/components/inputs/Elements/__stories/AntBaseInput.stories.mjs +0 -234
  175. package/dist/runtime/components/inputs/Elements/__stories/AntInputDescription.stories.d.ts +0 -6
  176. package/dist/runtime/components/inputs/Elements/__stories/AntInputDescription.stories.mjs +0 -34
  177. package/dist/runtime/components/inputs/Elements/__stories/AntInputLabel.stories.d.ts +0 -7
  178. package/dist/runtime/components/inputs/Elements/__stories/AntInputLabel.stories.mjs +0 -46
  179. package/dist/runtime/components/inputs/Elements/__stories/AntInputLimiter.stories.d.ts +0 -6
  180. package/dist/runtime/components/inputs/Elements/__stories/AntInputLimiter.stories.mjs +0 -37
  181. package/dist/runtime/components/inputs/Elements/__types/AntBaseInput.types.d.ts +0 -17
  182. package/dist/runtime/components/inputs/Elements/__types/AntBaseInput.types.mjs +0 -18
  183. package/dist/runtime/components/inputs/Elements/__types/index.d.ts +0 -1
  184. package/dist/runtime/components/inputs/Elements/__types/index.mjs +0 -1
  185. package/dist/runtime/components/inputs/Elements/index.d.ts +0 -6
  186. package/dist/runtime/components/inputs/Elements/index.mjs +0 -12
  187. package/dist/runtime/components/inputs/__stories/AntCheckbox.stories.d.ts +0 -8
  188. package/dist/runtime/components/inputs/__stories/AntCheckbox.stories.mjs +0 -382
  189. package/dist/runtime/components/inputs/__stories/AntCheckboxGroup.stories.d.ts +0 -7
  190. package/dist/runtime/components/inputs/__stories/AntCheckboxGroup.stories.mjs +0 -84
  191. package/dist/runtime/components/inputs/__stories/AntDateInput.stories.d.ts +0 -8
  192. package/dist/runtime/components/inputs/__stories/AntDateInput.stories.mjs +0 -193
  193. package/dist/runtime/components/inputs/__stories/AntNumberInput.stories.d.ts +0 -10
  194. package/dist/runtime/components/inputs/__stories/AntNumberInput.stories.mjs +0 -246
  195. package/dist/runtime/components/inputs/__stories/AntPasswordInput.stories.d.ts +0 -8
  196. package/dist/runtime/components/inputs/__stories/AntPasswordInput.stories.mjs +0 -156
  197. package/dist/runtime/components/inputs/__stories/AntRadioGroup.stories.d.ts +0 -8
  198. package/dist/runtime/components/inputs/__stories/AntRadioGroup.stories.mjs +0 -251
  199. package/dist/runtime/components/inputs/__stories/AntRangeSlider.stories.d.ts +0 -7
  200. package/dist/runtime/components/inputs/__stories/AntRangeSlider.stories.mjs +0 -67
  201. package/dist/runtime/components/inputs/__stories/AntRichTextEditor.stories-old.d.ts +0 -0
  202. package/dist/runtime/components/inputs/__stories/AntRichTextEditor.stories-old.mjs +0 -0
  203. package/dist/runtime/components/inputs/__stories/AntSearch.stories.d.ts +0 -7
  204. package/dist/runtime/components/inputs/__stories/AntSearch.stories.mjs +0 -103
  205. package/dist/runtime/components/inputs/__stories/AntSelect.stories.d.ts +0 -13
  206. package/dist/runtime/components/inputs/__stories/AntSelect.stories.mjs +0 -255
  207. package/dist/runtime/components/inputs/__stories/AntSwitch.stories.d.ts +0 -8
  208. package/dist/runtime/components/inputs/__stories/AntSwitch.stories.mjs +0 -344
  209. package/dist/runtime/components/inputs/__stories/AntSwitcher.stories.d.ts +0 -8
  210. package/dist/runtime/components/inputs/__stories/AntSwitcher.stories.mjs +0 -235
  211. package/dist/runtime/components/inputs/__stories/AntTagInput.stories.d.ts +0 -9
  212. package/dist/runtime/components/inputs/__stories/AntTagInput.stories.mjs +0 -228
  213. package/dist/runtime/components/inputs/__stories/AntTextInput.stories.d.ts +0 -9
  214. package/dist/runtime/components/inputs/__stories/AntTextInput.stories.mjs +0 -225
  215. package/dist/runtime/components/inputs/__stories/AntTextarea.stories.d.ts +0 -9
  216. package/dist/runtime/components/inputs/__stories/AntTextarea.stories.mjs +0 -144
  217. package/dist/runtime/components/inputs/__stories/AntUnitInput.stories.d.ts +0 -9
  218. package/dist/runtime/components/inputs/__stories/AntUnitInput.stories.mjs +0 -116
  219. package/dist/runtime/components/inputs/__types/AntCheckbox.types.d.ts +0 -6
  220. package/dist/runtime/components/inputs/__types/AntCheckbox.types.mjs +0 -0
  221. package/dist/runtime/components/inputs/__types/AntDateInput.types.d.ts +0 -7
  222. package/dist/runtime/components/inputs/__types/AntDateInput.types.mjs +0 -8
  223. package/dist/runtime/components/inputs/__types/AntRadio.types.d.ts +0 -9
  224. package/dist/runtime/components/inputs/__types/AntRadio.types.mjs +0 -0
  225. package/dist/runtime/components/inputs/__types/AntSelect.types.d.ts +0 -4
  226. package/dist/runtime/components/inputs/__types/AntSelect.types.mjs +0 -0
  227. package/dist/runtime/components/inputs/__types/AntSwitcher.types.d.ts +0 -4
  228. package/dist/runtime/components/inputs/__types/AntSwitcher.types.mjs +0 -0
  229. package/dist/runtime/components/inputs/__types/AntTagInput.types.d.ts +0 -5
  230. package/dist/runtime/components/inputs/__types/AntTagInput.types.mjs +0 -6
  231. package/dist/runtime/components/inputs/__types/AntTextInput.types.d.ts +0 -6
  232. package/dist/runtime/components/inputs/__types/AntTextInput.types.mjs +0 -7
  233. package/dist/runtime/components/inputs/__types/index.d.ts +0 -7
  234. package/dist/runtime/components/inputs/__types/index.mjs +0 -7
  235. package/dist/runtime/components/layouts/AntNavLeftLayout.vue +0 -36
  236. package/dist/runtime/components/layouts/__stories/AntNavLeftLayout.stories.d.ts +0 -7
  237. package/dist/runtime/components/layouts/__stories/AntNavLeftLayout.stories.mjs +0 -68
  238. package/dist/runtime/components/navbar/AntNavbar.vue +0 -25
  239. package/dist/runtime/components/navbar/AntNavbarItem.vue +0 -78
  240. package/dist/runtime/components/navbar/__stories/AntNavbar.stories.d.ts +0 -6
  241. package/dist/runtime/components/navbar/__stories/AntNavbar.stories.mjs +0 -66
  242. package/dist/runtime/components/navbar/__types/NavbarItem.types.d.ts +0 -10
  243. package/dist/runtime/components/navbar/__types/NavbarItem.types.mjs +0 -0
  244. package/dist/runtime/components/navbar/__types/index.d.ts +0 -1
  245. package/dist/runtime/components/navbar/__types/index.mjs +0 -1
  246. package/dist/runtime/components/table/AntTable.vue +0 -218
  247. package/dist/runtime/components/table/AntTableSortButton.vue +0 -48
  248. package/dist/runtime/components/table/AntTd.vue +0 -81
  249. package/dist/runtime/components/table/AntTh.vue +0 -78
  250. package/dist/runtime/components/table/__stories/AntTable.stories.d.ts +0 -9
  251. package/dist/runtime/components/table/__stories/AntTable.stories.mjs +0 -273
  252. package/dist/runtime/components/table/__types/TableHeader.types.d.ts +0 -36
  253. package/dist/runtime/components/table/__types/TableHeader.types.mjs +0 -25
  254. package/dist/runtime/components/table/__types/index.d.ts +0 -1
  255. package/dist/runtime/components/table/__types/index.mjs +0 -1
  256. package/dist/runtime/components/tabs/AntTabItem.vue +0 -118
  257. package/dist/runtime/components/tabs/AntTabs.vue +0 -47
  258. package/dist/runtime/components/tabs/__stories/AntTabItem.stories.d.ts +0 -6
  259. package/dist/runtime/components/tabs/__stories/AntTabItem.stories.mjs +0 -32
  260. package/dist/runtime/components/tabs/__stories/AntTabs.stories.d.ts +0 -9
  261. package/dist/runtime/components/tabs/__stories/AntTabs.stories.mjs +0 -173
  262. package/dist/runtime/components/tabs/__types/AntTabItem.types.d.ts +0 -17
  263. package/dist/runtime/components/tabs/__types/AntTabItem.types.mjs +0 -6
  264. package/dist/runtime/components/tabs/__types/index.d.ts +0 -1
  265. package/dist/runtime/components/tabs/__types/index.mjs +0 -1
  266. package/dist/runtime/components/transitions/AntTransitionCollapseHeight.vue +0 -92
  267. package/dist/runtime/composables/useUi.d.ts +0 -20
  268. package/dist/runtime/composables/useUi.mjs +0 -31
  269. package/dist/runtime/composables/useValidator.d.ts +0 -1
  270. package/dist/runtime/composables/useValidator.mjs +0 -1
  271. package/dist/runtime/enums/Direction.enum.d.ts +0 -4
  272. package/dist/runtime/enums/Direction.enum.mjs +0 -5
  273. package/dist/runtime/enums/Grouped.enum.d.ts +0 -6
  274. package/dist/runtime/enums/Grouped.enum.mjs +0 -7
  275. package/dist/runtime/enums/Position.enum.d.ts +0 -12
  276. package/dist/runtime/enums/Position.enum.mjs +0 -14
  277. package/dist/runtime/enums/Size.enum.d.ts +0 -7
  278. package/dist/runtime/enums/Size.enum.mjs +0 -8
  279. package/dist/runtime/enums/State.enum.d.ts +0 -16
  280. package/dist/runtime/enums/State.enum.mjs +0 -18
  281. package/dist/runtime/enums/index.d.ts +0 -5
  282. package/dist/runtime/enums/index.mjs +0 -5
  283. package/dist/runtime/env.d.ts +0 -8
  284. package/dist/runtime/handler.d.ts +0 -1
  285. package/dist/runtime/handler.mjs +0 -5
  286. package/dist/runtime/plugins/toaster.d.ts +0 -22
  287. package/dist/runtime/plugins/toaster.mjs +0 -53
  288. package/dist/runtime/shims/vue.d.ts +0 -5
  289. package/dist/runtime/types.d.ts +0 -8
  290. package/dist/runtime/types.mjs +0 -8
  291. package/dist/runtime/utils/helper.d.ts +0 -4
  292. package/dist/runtime/utils/helper.mjs +0 -12
  293. package/dist/runtime/utils.d.ts +0 -20
  294. package/dist/runtime/utils.mjs +0 -41
  295. package/src/runtime/components/AntAccordion.vue +0 -64
  296. package/src/runtime/components/AntAccordionItem.vue +0 -119
  297. package/src/runtime/components/AntAlert.vue +0 -146
  298. package/src/runtime/components/AntCard.vue +0 -34
  299. package/src/runtime/components/AntContent.vue +0 -16
  300. package/src/runtime/components/AntDropdown.vue +0 -100
  301. package/src/runtime/components/AntIcon.vue +0 -56
  302. package/src/runtime/components/AntKeycap.vue +0 -45
  303. package/src/runtime/components/AntListGroup.vue +0 -24
  304. package/src/runtime/components/AntListGroupItem.vue +0 -83
  305. package/src/runtime/components/AntModal.vue +0 -130
  306. package/src/runtime/components/AntPagination.vue +0 -206
  307. package/src/runtime/components/AntPopover.vue +0 -135
  308. package/src/runtime/components/AntSkeleton.vue +0 -38
  309. package/src/runtime/components/AntSpinner.vue +0 -101
  310. package/src/runtime/components/AntTag.vue +0 -114
  311. package/src/runtime/components/AntToast.vue +0 -119
  312. package/src/runtime/components/AntToaster.vue +0 -70
  313. package/src/runtime/components/AntTooltip.vue +0 -189
  314. package/src/runtime/components/buttons/AntActionButton.vue +0 -74
  315. package/src/runtime/components/buttons/AntButton.vue +0 -257
  316. package/src/runtime/components/buttons/AntCreateButton.vue +0 -54
  317. package/src/runtime/components/buttons/AntDeleteButton.vue +0 -54
  318. package/src/runtime/components/buttons/AntDuplicateButton.vue +0 -54
  319. package/src/runtime/components/buttons/AntEditButton.vue +0 -54
  320. package/src/runtime/components/buttons/AntSaveAndNewButton.vue +0 -56
  321. package/src/runtime/components/buttons/AntSaveButton.vue +0 -55
  322. package/src/runtime/components/crud/AntCrud.vue +0 -69
  323. package/src/runtime/components/crud/AntCrudDetail.vue +0 -11
  324. package/src/runtime/components/crud/AntCrudDetailActions.vue +0 -58
  325. package/src/runtime/components/crud/AntCrudDetailNav.vue +0 -64
  326. package/src/runtime/components/crud/AntCrudTableFilter.vue +0 -122
  327. package/src/runtime/components/crud/AntCrudTableNav.vue +0 -149
  328. package/src/runtime/components/dialogs/AntDeleteDialog.vue +0 -29
  329. package/src/runtime/components/dialogs/AntDialog.vue +0 -181
  330. package/src/runtime/components/forms/AntField.vue +0 -123
  331. package/src/runtime/components/forms/AntFormGroup.vue +0 -36
  332. package/src/runtime/components/forms/AntFormGroupLabel.vue +0 -5
  333. package/src/runtime/components/inputs/AntCheckbox.vue +0 -201
  334. package/src/runtime/components/inputs/AntCheckboxGroup.vue +0 -117
  335. package/src/runtime/components/inputs/AntDateInput.vue +0 -104
  336. package/src/runtime/components/inputs/AntNumberInput.vue +0 -157
  337. package/src/runtime/components/inputs/AntPasswordInput.vue +0 -107
  338. package/src/runtime/components/inputs/AntRadio.vue +0 -214
  339. package/src/runtime/components/inputs/AntRadioGroup.vue +0 -127
  340. package/src/runtime/components/inputs/AntRangeSlider.vue +0 -121
  341. package/src/runtime/components/inputs/AntRichTextEditor.vue +0 -237
  342. package/src/runtime/components/inputs/AntSearch.vue +0 -75
  343. package/src/runtime/components/inputs/AntSelect.vue +0 -319
  344. package/src/runtime/components/inputs/AntSwitch.vue +0 -192
  345. package/src/runtime/components/inputs/AntSwitcher.vue +0 -196
  346. package/src/runtime/components/inputs/AntTagInput.vue +0 -339
  347. package/src/runtime/components/inputs/AntTextInput.vue +0 -75
  348. package/src/runtime/components/inputs/AntTextarea.vue +0 -191
  349. package/src/runtime/components/inputs/AntUnitInput.vue +0 -96
  350. package/src/runtime/components/inputs/Elements/AntBaseInput.vue +0 -319
  351. package/src/runtime/components/inputs/Elements/AntDropDown.vue +0 -189
  352. package/src/runtime/components/inputs/Elements/AntInputDescription.vue +0 -58
  353. package/src/runtime/components/inputs/Elements/AntInputLabel.vue +0 -62
  354. package/src/runtime/components/inputs/Elements/AntInputLimiter.vue +0 -58
  355. package/src/runtime/components/layouts/AntNavLeftLayout.vue +0 -36
  356. package/src/runtime/components/navbar/AntNavbar.vue +0 -25
  357. package/src/runtime/components/navbar/AntNavbarItem.vue +0 -78
  358. package/src/runtime/components/table/AntTable.vue +0 -218
  359. package/src/runtime/components/table/AntTableSortButton.vue +0 -48
  360. package/src/runtime/components/table/AntTd.vue +0 -81
  361. package/src/runtime/components/table/AntTh.vue +0 -78
  362. package/src/runtime/components/tabs/AntTabItem.vue +0 -118
  363. package/src/runtime/components/tabs/AntTabs.vue +0 -47
  364. package/src/runtime/components/transitions/AntTransitionCollapseHeight.vue +0 -96
@@ -1,173 +0,0 @@
1
- import AntTabs from "../AntTabs.vue";
2
- import { ref } from "vue";
3
- import { faUserCircle } from "@fortawesome/free-regular-svg-icons";
4
- import { TabItemState } from "../__types/AntTabItem.types.mjs";
5
- const meta = {
6
- title: "Components/Tabs",
7
- component: AntTabs,
8
- parameters: { controls: { sort: "requiredFirst" } },
9
- decorators: [() => ({ template: '<div class="border border-neutral-300 border-dashed"><story /></div>' })],
10
- argTypes: {
11
- modelValue: {
12
- control: "text",
13
- table: {
14
- type: {
15
- summary: "string | undefined"
16
- }
17
- }
18
- }
19
- }
20
- };
21
- export default meta;
22
- export const Docs = {
23
- render: (args) => ({
24
- components: { AntTabs },
25
- setup() {
26
- return { args };
27
- },
28
- template: `
29
- <AntTabs v-bind="args" v-model="args.modelValue"/>
30
- `
31
- }),
32
- args: {
33
- tabItems: [
34
- {
35
- id: "1",
36
- label: "First tab"
37
- },
38
- {
39
- id: "2",
40
- label: "Second tab"
41
- },
42
- {
43
- id: "3",
44
- label: "Third tab"
45
- },
46
- {
47
- id: "4",
48
- label: "Fourth tab"
49
- }
50
- ]
51
- }
52
- };
53
- export const FixedHeight = {
54
- render: (args) => ({
55
- components: { AntTabs },
56
- setup() {
57
- return { args };
58
- },
59
- template: `
60
- <div class="h-20">
61
- <AntTabs v-bind="args" v-model="args.modelValue"/>
62
- </div>
63
- `
64
- }),
65
- args: Docs.args
66
- };
67
- export const DifferentStates = {
68
- render: Docs.render,
69
- args: {
70
- tabItems: [
71
- {
72
- id: "1",
73
- label: "First tab"
74
- },
75
- {
76
- id: "2",
77
- label: "Second tab"
78
- },
79
- {
80
- id: "3",
81
- label: "Third tab",
82
- state: TabItemState.warning
83
- },
84
- {
85
- id: "4",
86
- label: "Fourth tab",
87
- state: TabItemState.danger
88
- }
89
- ]
90
- }
91
- };
92
- export const Overview = {
93
- render: (args) => ({
94
- components: { AntTabs },
95
- setup() {
96
- const value_1 = ref();
97
- const value_2 = ref();
98
- const value_3 = ref("2");
99
- const tabItems_1 = [
100
- {
101
- id: "1",
102
- label: "My account"
103
- }
104
- ];
105
- const tabItems_2 = [
106
- {
107
- id: "1",
108
- appendIcon: faUserCircle,
109
- label: "My account"
110
- },
111
- {
112
- id: "2",
113
- prependIcon: faUserCircle,
114
- label: "Downloads"
115
- }
116
- ];
117
- const tabItems_3 = [
118
- {
119
- id: "1",
120
- appendIcon: faUserCircle,
121
- prependIcon: faUserCircle,
122
- label: "My account",
123
- to: "/#"
124
- },
125
- {
126
- id: "2",
127
- prependIcon: faUserCircle,
128
- appendIcon: faUserCircle,
129
- label: "Downloads",
130
- to: "/#"
131
- },
132
- {
133
- id: "3",
134
- appendIcon: faUserCircle,
135
- prependIcon: faUserCircle,
136
- label: "Messages",
137
- to: "/#"
138
- }
139
- ];
140
- return {
141
- args,
142
- value_1,
143
- value_2,
144
- value_3,
145
- tabItems_1,
146
- tabItems_2,
147
- tabItems_3
148
- };
149
- },
150
- template: `
151
- <div>Default:</div>
152
- <div class="flex flex-col gap-3 flex-nowrap">
153
- <AntTabs v-model="value_1" :tab-items="tabItems_1"/>
154
- <AntTabs v-model="value_2" :tab-items="tabItems_2"/>
155
- <AntTabs v-model="value_3" :tab-items="tabItems_3"/>
156
- </div>
157
-
158
- <div class="mt-8">Expanded:</div>
159
- <div class="flex flex-col gap-3 flex-nowrap">
160
- <AntTabs v-model="value_1" :tab-items="tabItems_1" expanded separators/>
161
- <AntTabs v-model="value_2" :tab-items="tabItems_2" expanded separators/>
162
- <AntTabs v-model="value_3" :tab-items="tabItems_3" expanded separators/>
163
- </div>
164
-
165
- <div class="mt-8">Larger container:</div>
166
-
167
- <div class="h-16 bg-primary-500">
168
- <AntTabs v-model="value_3" :tab-items="tabItems_3" expanded separators/>
169
- </div>
170
- `
171
- }),
172
- args: {}
173
- };
@@ -1,17 +0,0 @@
1
- import { type IconDefinition } from '@fortawesome/free-solid-svg-icons';
2
- import { type RouteLocationRaw } from 'vue-router';
3
- export type TabItem = {
4
- id: string;
5
- label: string;
6
- state?: TabItemState;
7
- showIcon?: boolean;
8
- icon?: IconDefinition;
9
- to?: string | RouteLocationRaw;
10
- clickHandler?: () => void;
11
- [key: string]: unknown;
12
- };
13
- export declare enum TabItemState {
14
- base = "base",
15
- warning = "warning",
16
- danger = "danger"
17
- }
@@ -1,6 +0,0 @@
1
- export var TabItemState = /* @__PURE__ */ ((TabItemState2) => {
2
- TabItemState2["base"] = "base";
3
- TabItemState2["warning"] = "warning";
4
- TabItemState2["danger"] = "danger";
5
- return TabItemState2;
6
- })(TabItemState || {});
@@ -1 +0,0 @@
1
- export * from './AntTabItem.types';
@@ -1 +0,0 @@
1
- export * from "./AntTabItem.types.mjs";
@@ -1,92 +0,0 @@
1
- <script setup lang="ts">
2
- /**
3
- * It is not possible to smoothly animate height or max-height with CSS transitions not using a fixed value
4
- * like 'height: 1rem';
5
- *
6
- * This component does it via javascript.
7
- */
8
-
9
- // @ts-nocheck
10
- // TODO:: fix typescript errors
11
- /**
12
- * @param {HTMLElement} element
13
- */
14
- function beforeEnter(element) {
15
- requestAnimationFrame(() => {
16
- if (!element.style.height) {
17
- element.style.height = '0px';
18
- }
19
-
20
- element.style.display = '';
21
- // element.style.display = null;
22
- });
23
- }
24
-
25
- /**
26
- * @param {HTMLElement} element
27
- */
28
- function enter(element) {
29
- requestAnimationFrame(() => {
30
- requestAnimationFrame(() => {
31
- element.style.height = `${element.scrollHeight}px`;
32
- });
33
- });
34
- }
35
-
36
- /**
37
- * @param {HTMLElement} element
38
- */
39
- function afterEnter(element) {
40
- element.style.height = '';
41
- // element.style.height = null;
42
- }
43
-
44
- /**
45
- * @param {HTMLElement} element
46
- */
47
- function beforeLeave(element) {
48
- requestAnimationFrame(() => {
49
- if (!element.style.height) {
50
- element.style.height = `${element.offsetHeight}px`;
51
- }
52
- });
53
- }
54
-
55
- /**
56
- * @param {HTMLElement} element
57
- */
58
- function leave(element) {
59
- requestAnimationFrame(() => {
60
- requestAnimationFrame(() => {
61
- element.style.height = '0px';
62
- });
63
- });
64
- }
65
-
66
- /**
67
- * @param {HTMLElement} element
68
- */
69
- function afterLeave(element) {
70
- element.style.height = '';
71
- // element.style.height = null;
72
- }
73
- </script>
74
-
75
- <template>
76
- <transition
77
- enter-active-class="enter-active"
78
- leave-active-class="leave-active"
79
- @before-enter="beforeEnter"
80
- @enter="enter"
81
- @after-enter="afterEnter"
82
- @before-leave="beforeLeave"
83
- @leave="leave"
84
- @after-leave="afterLeave"
85
- >
86
- <slot/>
87
- </transition>
88
- </template>
89
-
90
- <style scoped>
91
- .enter-active,.leave-active{overflow:hidden;transition:height .4s ease-in-out}
92
- </style>
@@ -1,20 +0,0 @@
1
- import { State, InputState } from '../enums/State.enum';
2
- import { TabItemState as TabItemState } from '../components/tabs/__types/AntTabItem.types';
3
- import { Direction } from '../enums/Direction.enum';
4
- import { Grouped } from '../enums/Grouped.enum';
5
- import { Position, CornerPosition } from '../enums/Position.enum';
6
- import { Size } from '../enums/Size.enum';
7
- import { AntTableRowTypes, AntTableAlign, AntTableSortDirection } from '../components/table/__types/TableHeader.types';
8
- export declare const useUi: () => {
9
- Direction: typeof Direction;
10
- State: typeof State;
11
- InputState: typeof InputState;
12
- TabItemState: typeof TabItemState;
13
- Grouped: typeof Grouped;
14
- Position: typeof Position;
15
- CornerPosition: typeof CornerPosition;
16
- Size: typeof Size;
17
- AntTableRowTypes: typeof AntTableRowTypes;
18
- AntTableAlign: typeof AntTableAlign;
19
- AntTableSortDirection: typeof AntTableSortDirection;
20
- };
@@ -1,31 +0,0 @@
1
- import {
2
- State,
3
- InputState
4
- } from "../enums/State.enum.mjs";
5
- import {
6
- TabItemState
7
- } from "../components/tabs/__types/AntTabItem.types.mjs";
8
- import { Direction } from "../enums/Direction.enum.mjs";
9
- import { Grouped } from "../enums/Grouped.enum.mjs";
10
- import { Position, CornerPosition } from "../enums/Position.enum.mjs";
11
- import { Size } from "../enums/Size.enum.mjs";
12
- import {
13
- AntTableRowTypes,
14
- AntTableAlign,
15
- AntTableSortDirection
16
- } from "../components/table/__types/TableHeader.types.mjs";
17
- export const useUi = () => {
18
- return {
19
- Direction,
20
- State,
21
- InputState,
22
- TabItemState,
23
- Grouped,
24
- Position,
25
- CornerPosition,
26
- Size,
27
- AntTableRowTypes,
28
- AntTableAlign,
29
- AntTableSortDirection
30
- };
31
- };
@@ -1 +0,0 @@
1
- export { useValidator } from '@antify/validate';
@@ -1 +0,0 @@
1
- export { useValidator } from "@antify/validate";
@@ -1,4 +0,0 @@
1
- export declare enum Direction {
2
- column = "column",
3
- row = "row"
4
- }
@@ -1,5 +0,0 @@
1
- export var Direction = /* @__PURE__ */ ((Direction2) => {
2
- Direction2["column"] = "column";
3
- Direction2["row"] = "row";
4
- return Direction2;
5
- })(Direction || {});
@@ -1,6 +0,0 @@
1
- export declare enum Grouped {
2
- none = "none",
3
- left = "left",
4
- center = "center",
5
- right = "right"
6
- }
@@ -1,7 +0,0 @@
1
- export var Grouped = /* @__PURE__ */ ((Grouped2) => {
2
- Grouped2["none"] = "none";
3
- Grouped2["left"] = "left";
4
- Grouped2["center"] = "center";
5
- Grouped2["right"] = "right";
6
- return Grouped2;
7
- })(Grouped || {});
@@ -1,12 +0,0 @@
1
- export declare enum Position {
2
- top = "top",
3
- right = "right",
4
- bottom = "bottom",
5
- left = "left"
6
- }
7
- export declare enum CornerPosition {
8
- topLeft = "topLeft",
9
- topRight = "topRight",
10
- bottomRight = "bottomRight",
11
- bottomLeft = "bottomLeft"
12
- }
@@ -1,14 +0,0 @@
1
- export var Position = /* @__PURE__ */ ((Position2) => {
2
- Position2["top"] = "top";
3
- Position2["right"] = "right";
4
- Position2["bottom"] = "bottom";
5
- Position2["left"] = "left";
6
- return Position2;
7
- })(Position || {});
8
- export var CornerPosition = /* @__PURE__ */ ((CornerPosition2) => {
9
- CornerPosition2["topLeft"] = "topLeft";
10
- CornerPosition2["topRight"] = "topRight";
11
- CornerPosition2["bottomRight"] = "bottomRight";
12
- CornerPosition2["bottomLeft"] = "bottomLeft";
13
- return CornerPosition2;
14
- })(CornerPosition || {});
@@ -1,7 +0,0 @@
1
- export declare enum Size {
2
- lg = "lg",
3
- md = "md",
4
- sm = "sm",
5
- xs = "xs",
6
- xs2 = "2xs"
7
- }
@@ -1,8 +0,0 @@
1
- export var Size = /* @__PURE__ */ ((Size2) => {
2
- Size2["lg"] = "lg";
3
- Size2["md"] = "md";
4
- Size2["sm"] = "sm";
5
- Size2["xs"] = "xs";
6
- Size2["xs2"] = "2xs";
7
- return Size2;
8
- })(Size || {});
@@ -1,16 +0,0 @@
1
- export declare enum State {
2
- base = "base",
3
- primary = "primary",
4
- secondary = "secondary",
5
- danger = "danger",
6
- info = "info",
7
- success = "success",
8
- warning = "warning"
9
- }
10
- export declare enum InputState {
11
- base = "base",
12
- danger = "danger",
13
- info = "info",
14
- success = "success",
15
- warning = "warning"
16
- }
@@ -1,18 +0,0 @@
1
- export var State = /* @__PURE__ */ ((State2) => {
2
- State2["base"] = "base";
3
- State2["primary"] = "primary";
4
- State2["secondary"] = "secondary";
5
- State2["danger"] = "danger";
6
- State2["info"] = "info";
7
- State2["success"] = "success";
8
- State2["warning"] = "warning";
9
- return State2;
10
- })(State || {});
11
- export var InputState = /* @__PURE__ */ ((InputState2) => {
12
- InputState2["base"] = "base";
13
- InputState2["danger"] = "danger";
14
- InputState2["info"] = "info";
15
- InputState2["success"] = "success";
16
- InputState2["warning"] = "warning";
17
- return InputState2;
18
- })(InputState || {});
@@ -1,5 +0,0 @@
1
- export * from './Direction.enum';
2
- export * from './Grouped.enum';
3
- export * from './Position.enum';
4
- export * from './Size.enum';
5
- export * from './State.enum';
@@ -1,5 +0,0 @@
1
- export * from "./Direction.enum.mjs";
2
- export * from "./Grouped.enum.mjs";
3
- export * from "./Position.enum.mjs";
4
- export * from "./Size.enum.mjs";
5
- export * from "./State.enum.mjs";
@@ -1,8 +0,0 @@
1
- /// <reference types="vite/client" />
2
-
3
- declare module '*.vue' {
4
- import type { DefineComponent } from 'vue'
5
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
6
- const component: DefineComponent<{}, {}, any>
7
- export default component
8
- }
@@ -1 +0,0 @@
1
- export declare function handleEnumValidation(value: any, allowedValues: object, propertyName: string): void;
@@ -1,5 +0,0 @@
1
- export function handleEnumValidation(value, allowedValues, propertyName) {
2
- if (Object.values(allowedValues).indexOf(value) === -1) {
3
- throw Error(`${propertyName} ${value} not allowed. Use one of ${Object.values(allowedValues).join(" | ")}`);
4
- }
5
- }
@@ -1,22 +0,0 @@
1
- import { type Toast } from '../components/__types/AntToaster.types';
2
- import { InputState } from '../enums';
3
- declare const _default: () => {
4
- getToasts(): {
5
- id?: string | undefined;
6
- title: string;
7
- content?: string | undefined;
8
- type: InputState;
9
- hasIcon?: boolean | undefined;
10
- }[];
11
- toast(toast: Toast): void;
12
- removeToast(toast: Toast): void;
13
- toastSuccess(message: string): void;
14
- toastError(message: string): void;
15
- toastWarning(message: string): void;
16
- toastInfo(message: string): void;
17
- toastDeleted(): void;
18
- toastCreated(): void;
19
- toastUpdated(): void;
20
- toastDuplicated(): void;
21
- };
22
- export default _default;
@@ -1,53 +0,0 @@
1
- import { InputState } from "../enums/index.mjs";
2
- import { ref } from "vue";
3
- export default () => {
4
- const toasts = ref([]);
5
- return {
6
- getToasts() {
7
- return [...toasts.value].reverse();
8
- },
9
- toast(toast) {
10
- const id = `${Date.now()}`;
11
- toasts.value.push({
12
- ...toast,
13
- id
14
- });
15
- setTimeout(() => {
16
- const index = toasts.value.findIndex((toast2) => toast2.id === id);
17
- if (index !== -1) {
18
- toasts.value.splice(index, 1);
19
- }
20
- }, 5e3);
21
- },
22
- removeToast(toast) {
23
- const index = toasts.value.indexOf(toast);
24
- if (index !== -1) {
25
- toasts.value.splice(index, 1);
26
- }
27
- },
28
- toastSuccess(message) {
29
- this.toast({ title: message, type: InputState.success });
30
- },
31
- toastError(message) {
32
- this.toast({ title: message, type: InputState.danger });
33
- },
34
- toastWarning(message) {
35
- this.toast({ title: message, type: InputState.warning });
36
- },
37
- toastInfo(message) {
38
- this.toast({ title: message, type: InputState.info });
39
- },
40
- toastDeleted() {
41
- this.toastSuccess("Deleted");
42
- },
43
- toastCreated() {
44
- this.toastSuccess("Saved");
45
- },
46
- toastUpdated() {
47
- this.toastSuccess("Saved");
48
- },
49
- toastDuplicated() {
50
- this.toastSuccess("Duplicated");
51
- }
52
- };
53
- };
@@ -1,5 +0,0 @@
1
- declare module '*.vue' {
2
- import { defineComponent } from 'vue';
3
- const component: ReturnType<typeof defineComponent>;
4
- export default component;
5
- }
@@ -1,8 +0,0 @@
1
- export * from './enums';
2
- export * from './components/__types';
3
- export * from './components/buttons/__types';
4
- export * from './components/inputs/__types';
5
- export * from './components/inputs/Elements/__types';
6
- export * from './components/navbar/__types';
7
- export * from './components/table/__types';
8
- export * from './components/tabs/__types';
@@ -1,8 +0,0 @@
1
- export * from "./enums/index.mjs";
2
- export * from "./components/__types/index.mjs";
3
- export * from "./components/buttons/__types/index.mjs";
4
- export * from "./components/inputs/__types/index.mjs";
5
- export * from "./components/inputs/Elements/__types/index.mjs";
6
- export * from "./components/navbar/__types/index.mjs";
7
- export * from "./components/table/__types/index.mjs";
8
- export * from "./components/tabs/__types/index.mjs";
@@ -1,4 +0,0 @@
1
- export declare const generateId: (length: number) => string;
2
- export declare const antfocus: {
3
- mounted: (el: HTMLElement) => void;
4
- };
@@ -1,12 +0,0 @@
1
- export const generateId = (length) => {
2
- let result = "";
3
- const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
4
- const charactersLength = characters.length;
5
- for (var i = 0; i < length; i++) {
6
- result += characters.charAt(Math.floor(Math.random() * charactersLength));
7
- }
8
- return result;
9
- };
10
- export const antfocus = {
11
- mounted: (el) => el.focus()
12
- };
@@ -1,20 +0,0 @@
1
- import type { Slot } from 'vue';
2
- /**
3
- * Convert html class syntax given as undefined, string ("text-base bg-primary-500") or
4
- * object syntax ({"text-base bg-primary-500": true}) always to object syntax ({"text-base bg-primary-500": true}).
5
- *
6
- * @param classes
7
- */
8
- export declare function classesToObjectSyntax(classes: string | undefined | Record<string, boolean>): Record<string, boolean>;
9
- /**
10
- * Convert the given enum to a string for documentation.
11
- *
12
- * @param value
13
- * @param className
14
- */
15
- export declare function enumToPlainText(value: object, className: string): string;
16
- /**
17
- * Detect if the given vue template slot exists and has content.
18
- * To get a slot in your component, call $slots['slotName'] or useSlots()['slotName'].
19
- */
20
- export declare function hasSlotContent(slot: Slot<any> | undefined): boolean;