@vef-framework/components 2.0.11 → 2.1.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 (773) hide show
  1. package/dist/cjs/_base/constants/breakpoints.cjs +1 -1
  2. package/dist/cjs/_base/constants/common.cjs +1 -1
  3. package/dist/cjs/_base/constants/css-vars.cjs +1 -1
  4. package/dist/cjs/_base/constants/index.cjs +1 -1
  5. package/dist/cjs/_base/constants/theme.cjs +1 -0
  6. package/dist/cjs/_base/helpers/breakpoints.cjs +1 -1
  7. package/dist/cjs/_base/helpers/color.cjs +1 -1
  8. package/dist/cjs/_base/helpers/common.cjs +1 -1
  9. package/dist/cjs/_base/helpers/index.cjs +1 -1
  10. package/dist/cjs/_base/helpers/message.cjs +1 -1
  11. package/dist/cjs/_base/helpers/modal.cjs +1 -1
  12. package/dist/cjs/_base/helpers/notification.cjs +1 -1
  13. package/dist/cjs/_base/helpers/props.cjs +1 -1
  14. package/dist/cjs/_base/helpers/react.cjs +1 -1
  15. package/dist/cjs/_base/hooks/index.cjs +1 -1
  16. package/dist/cjs/_base/hooks/use-theme-tokens.cjs +1 -1
  17. package/dist/cjs/_base/index.cjs +1 -1
  18. package/dist/cjs/_base/styles/common.cjs +1 -1
  19. package/dist/cjs/_base/styles/index.cjs +0 -1
  20. package/dist/cjs/_base/types/breakpoints.cjs +0 -1
  21. package/dist/cjs/_base/types/common.cjs +0 -1
  22. package/dist/cjs/_base/types/index.cjs +0 -1
  23. package/dist/cjs/_internal/_rolldown/runtime.cjs +1 -0
  24. package/dist/cjs/action-button/index.cjs +1 -1
  25. package/dist/cjs/action-button/use-action-button.cjs +1 -1
  26. package/dist/cjs/action-group/index.cjs +1 -1
  27. package/dist/cjs/action-group/use-action-group.cjs +1 -1
  28. package/dist/cjs/action-group/use-computed-action-buttons.cjs +1 -1
  29. package/dist/cjs/affix/index.cjs +1 -1
  30. package/dist/cjs/alert/index.cjs +1 -1
  31. package/dist/cjs/anchor/index.cjs +1 -1
  32. package/dist/cjs/auto-complete/index.cjs +1 -1
  33. package/dist/cjs/avatar/index.cjs +1 -1
  34. package/dist/cjs/badge/index.cjs +1 -1
  35. package/dist/cjs/bool/index.cjs +1 -1
  36. package/dist/cjs/breadcrumb/index.cjs +1 -1
  37. package/dist/cjs/button/index.cjs +1 -1
  38. package/dist/cjs/calendar/index.cjs +1 -1
  39. package/dist/cjs/card/index.cjs +1 -1
  40. package/dist/cjs/carousel/index.cjs +1 -1
  41. package/dist/cjs/cascader/index.cjs +1 -1
  42. package/dist/cjs/center/index.cjs +1 -1
  43. package/dist/cjs/charts/chart.cjs +1 -1
  44. package/dist/cjs/charts/helpers/group.cjs +1 -1
  45. package/dist/cjs/charts/helpers/index.cjs +1 -1
  46. package/dist/cjs/charts/hooks/index.cjs +1 -1
  47. package/dist/cjs/charts/hooks/use-chart.cjs +1 -1
  48. package/dist/cjs/charts/index.cjs +1 -1
  49. package/dist/cjs/charts/themes/index.cjs +1 -1
  50. package/dist/cjs/charts/themes/walden-dark.cjs +1 -1
  51. package/dist/cjs/charts/themes/walden.cjs +1 -1
  52. package/dist/cjs/charts/themes/wonderland-dark.cjs +1 -1
  53. package/dist/cjs/charts/themes/wonderland.cjs +1 -1
  54. package/dist/cjs/checkbox/index.cjs +1 -1
  55. package/dist/cjs/code-highlighter/index.cjs +1 -1
  56. package/dist/cjs/col/index.cjs +1 -1
  57. package/dist/cjs/collapse/index.cjs +1 -1
  58. package/dist/cjs/color-picker/index.cjs +1 -1
  59. package/dist/cjs/compact/index.cjs +1 -1
  60. package/dist/cjs/config-provider/app.cjs +1 -1
  61. package/dist/cjs/config-provider/constants.cjs +1 -0
  62. package/dist/cjs/config-provider/context-holder.cjs +1 -1
  63. package/dist/cjs/config-provider/css-vars.cjs +1 -0
  64. package/dist/cjs/config-provider/dark-mode-context.cjs +1 -1
  65. package/dist/cjs/config-provider/error-fallback.cjs +1 -1
  66. package/dist/cjs/config-provider/global-style.cjs +1 -1
  67. package/dist/cjs/config-provider/index.cjs +1 -1
  68. package/dist/cjs/config-provider/theme-config.cjs +1 -0
  69. package/dist/cjs/config-provider/use-config-provider.cjs +1 -1
  70. package/dist/cjs/date-picker/index.cjs +1 -1
  71. package/dist/cjs/descriptions/index.cjs +1 -1
  72. package/dist/cjs/divider/index.cjs +1 -1
  73. package/dist/cjs/drawer/index.cjs +1 -1
  74. package/dist/cjs/dropdown/index.cjs +1 -1
  75. package/dist/cjs/dynamic-icon/index.cjs +1 -1
  76. package/dist/cjs/dynamic-icon/placeholder-icon.cjs +1 -1
  77. package/dist/cjs/dynamic-icon/unknown-icon.cjs +1 -1
  78. package/dist/cjs/empty/empty.cjs +1 -1
  79. package/dist/cjs/empty/index.cjs +1 -1
  80. package/dist/cjs/flex/index.cjs +1 -1
  81. package/dist/cjs/flip-text/index.cjs +1 -1
  82. package/dist/cjs/float-button/index.cjs +1 -1
  83. package/dist/cjs/form/components/form.cjs +1 -1
  84. package/dist/cjs/form/components/index.cjs +1 -1
  85. package/dist/cjs/form/components/reset-button.cjs +1 -1
  86. package/dist/cjs/form/components/submit-button.cjs +1 -1
  87. package/dist/cjs/form/contexts/form-context.cjs +1 -1
  88. package/dist/cjs/form/contexts/form-layout.cjs +1 -1
  89. package/dist/cjs/form/contexts/index.cjs +1 -1
  90. package/dist/cjs/form/fields/auto-complete/index.cjs +1 -1
  91. package/dist/cjs/form/fields/bool/index.cjs +1 -1
  92. package/dist/cjs/form/fields/cascader/index.cjs +1 -1
  93. package/dist/cjs/form/fields/checkbox/index.cjs +1 -1
  94. package/dist/cjs/form/fields/color-picker/index.cjs +1 -1
  95. package/dist/cjs/form/fields/date-picker/index.cjs +1 -1
  96. package/dist/cjs/form/fields/date-range-picker/index.cjs +1 -1
  97. package/dist/cjs/form/fields/index.cjs +1 -1
  98. package/dist/cjs/form/fields/input/index.cjs +1 -1
  99. package/dist/cjs/form/fields/input-number/index.cjs +1 -1
  100. package/dist/cjs/form/fields/mentions/index.cjs +1 -1
  101. package/dist/cjs/form/fields/password/index.cjs +1 -1
  102. package/dist/cjs/form/fields/radio/index.cjs +1 -1
  103. package/dist/cjs/form/fields/rate/index.cjs +1 -1
  104. package/dist/cjs/form/fields/select/index.cjs +1 -1
  105. package/dist/cjs/form/fields/slider/index.cjs +1 -1
  106. package/dist/cjs/form/fields/textarea/index.cjs +1 -1
  107. package/dist/cjs/form/fields/time-picker/index.cjs +1 -1
  108. package/dist/cjs/form/fields/time-range-picker/index.cjs +1 -1
  109. package/dist/cjs/form/fields/transfer/index.cjs +1 -1
  110. package/dist/cjs/form/fields/tree-select/index.cjs +1 -1
  111. package/dist/cjs/form/fields/upload/index.cjs +1 -1
  112. package/dist/cjs/form/form.cjs +1 -1
  113. package/dist/cjs/form/helpers/index.cjs +1 -1
  114. package/dist/cjs/form/helpers/with-form-item.cjs +1 -1
  115. package/dist/cjs/form/hooks/use-form-item-props.cjs +1 -1
  116. package/dist/cjs/form/hooks/use-label-width.cjs +1 -1
  117. package/dist/cjs/form/index.cjs +1 -1
  118. package/dist/cjs/form/use-form.cjs +1 -1
  119. package/dist/cjs/grid/context.cjs +1 -1
  120. package/dist/cjs/grid/grid-item.cjs +1 -1
  121. package/dist/cjs/grid/hooks/index.cjs +1 -1
  122. package/dist/cjs/grid/hooks/use-container-breakpoints.cjs +1 -1
  123. package/dist/cjs/grid/hooks/use-container-width.cjs +1 -1
  124. package/dist/cjs/grid/hooks/use-grid-collapsed.cjs +1 -1
  125. package/dist/cjs/grid/hooks/use-normalized-gap.cjs +1 -1
  126. package/dist/cjs/grid/hooks/use-responsive-breakpoint.cjs +1 -1
  127. package/dist/cjs/grid/hooks/use-responsive-value.cjs +1 -1
  128. package/dist/cjs/grid/index.cjs +1 -1
  129. package/dist/cjs/grid/styles.cjs +1 -1
  130. package/dist/cjs/group/index.cjs +1 -1
  131. package/dist/cjs/icon/index.cjs +1 -1
  132. package/dist/cjs/icon-button/index.cjs +1 -1
  133. package/dist/cjs/image/index.cjs +1 -1
  134. package/dist/cjs/index.cjs +1 -1
  135. package/dist/cjs/input/index.cjs +1 -1
  136. package/dist/cjs/input-number/index.cjs +1 -1
  137. package/dist/cjs/keyboard/index.cjs +1 -1
  138. package/dist/cjs/list/index.cjs +1 -1
  139. package/dist/cjs/loader/index.cjs +1 -1
  140. package/dist/cjs/mentions/index.cjs +1 -1
  141. package/dist/cjs/menu/index.cjs +1 -1
  142. package/dist/cjs/modal/index.cjs +1 -1
  143. package/dist/cjs/operation-button/index.cjs +1 -1
  144. package/dist/cjs/pagination/index.cjs +1 -1
  145. package/dist/cjs/permission-gate/index.cjs +1 -1
  146. package/dist/cjs/popconfirm/index.cjs +1 -1
  147. package/dist/cjs/popover/index.cjs +1 -1
  148. package/dist/cjs/progress/index.cjs +1 -1
  149. package/dist/cjs/qrcode/index.cjs +1 -1
  150. package/dist/cjs/radio/index.cjs +1 -1
  151. package/dist/cjs/rate/index.cjs +1 -1
  152. package/dist/cjs/result/index.cjs +1 -1
  153. package/dist/cjs/row/index.cjs +1 -1
  154. package/dist/cjs/scroll-area/index.cjs +1 -1
  155. package/dist/cjs/scroll-area/styles.cjs +1 -1
  156. package/dist/cjs/segmented/index.cjs +1 -1
  157. package/dist/cjs/select/hooks/index.cjs +1 -1
  158. package/dist/cjs/select/hooks/use-data-options-select.cjs +1 -1
  159. package/dist/cjs/select/index.cjs +1 -1
  160. package/dist/cjs/skeleton/index.cjs +1 -1
  161. package/dist/cjs/slider/index.cjs +1 -1
  162. package/dist/cjs/space/index.cjs +1 -1
  163. package/dist/cjs/space/space.cjs +1 -1
  164. package/dist/cjs/sparkles-text/index.cjs +1 -1
  165. package/dist/cjs/sparkles-text/sparkle.cjs +1 -1
  166. package/dist/cjs/spin/index.cjs +1 -1
  167. package/dist/cjs/split-text/index.cjs +1 -1
  168. package/dist/cjs/splitter/index.cjs +1 -1
  169. package/dist/cjs/stack/index.cjs +1 -1
  170. package/dist/cjs/statistic/index.cjs +1 -1
  171. package/dist/cjs/steps/index.cjs +1 -1
  172. package/dist/cjs/switch/index.cjs +1 -1
  173. package/dist/cjs/table/index.cjs +1 -1
  174. package/dist/cjs/table/use-pagination-props.cjs +1 -1
  175. package/dist/cjs/tabs/index.cjs +1 -1
  176. package/dist/cjs/tag/index.cjs +1 -1
  177. package/dist/cjs/time-picker/index.cjs +1 -1
  178. package/dist/cjs/timeline/index.cjs +1 -1
  179. package/dist/cjs/tooltip/index.cjs +1 -1
  180. package/dist/cjs/tour/index.cjs +1 -1
  181. package/dist/cjs/transfer/index.cjs +1 -1
  182. package/dist/cjs/tree/hooks/index.cjs +1 -1
  183. package/dist/cjs/tree/hooks/use-data-options-tree.cjs +1 -1
  184. package/dist/cjs/tree/index.cjs +1 -1
  185. package/dist/cjs/tree-select/hooks/index.cjs +1 -1
  186. package/dist/cjs/tree-select/hooks/use-data-options-tree-select.cjs +1 -1
  187. package/dist/cjs/tree-select/index.cjs +1 -1
  188. package/dist/cjs/typing-animation/index.cjs +1 -1
  189. package/dist/cjs/typography/index.cjs +1 -1
  190. package/dist/cjs/upload/index.cjs +1 -1
  191. package/dist/cjs/watermark/index.cjs +1 -1
  192. package/dist/es/_base/constants/breakpoints.js +12 -11
  193. package/dist/es/_base/constants/common.js +31 -24
  194. package/dist/es/_base/constants/css-vars.js +677 -676
  195. package/dist/es/_base/constants/index.js +4 -15
  196. package/dist/es/_base/constants/theme.js +5 -0
  197. package/dist/es/_base/helpers/breakpoints.js +19 -21
  198. package/dist/es/_base/helpers/color.js +9 -9
  199. package/dist/es/_base/helpers/common.js +9 -10
  200. package/dist/es/_base/helpers/index.js +9 -34
  201. package/dist/es/_base/helpers/message.js +35 -40
  202. package/dist/es/_base/helpers/modal.js +67 -100
  203. package/dist/es/_base/helpers/notification.js +53 -65
  204. package/dist/es/_base/helpers/props.js +12 -12
  205. package/dist/es/_base/helpers/react.js +7 -6
  206. package/dist/es/_base/hooks/index.js +2 -4
  207. package/dist/es/_base/hooks/use-theme-tokens.js +8 -12
  208. package/dist/es/_base/index.js +13 -5
  209. package/dist/es/_base/styles/common.js +19 -18
  210. package/dist/es/_base/styles/index.js +1 -4
  211. package/dist/es/_base/types/breakpoints.js +1 -1
  212. package/dist/es/_base/types/common.js +1 -1
  213. package/dist/es/_base/types/index.js +1 -2
  214. package/dist/es/action-button/index.js +37 -38
  215. package/dist/es/action-button/use-action-button.js +41 -45
  216. package/dist/es/action-group/index.js +10 -14
  217. package/dist/es/action-group/use-action-group.js +9 -13
  218. package/dist/es/action-group/use-computed-action-buttons.js +34 -25
  219. package/dist/es/affix/index.js +3 -4
  220. package/dist/es/alert/index.js +3 -4
  221. package/dist/es/anchor/index.js +3 -4
  222. package/dist/es/auto-complete/index.js +3 -4
  223. package/dist/es/avatar/index.js +3 -4
  224. package/dist/es/badge/index.js +3 -4
  225. package/dist/es/bool/index.js +68 -49
  226. package/dist/es/breadcrumb/index.js +2 -4
  227. package/dist/es/button/index.js +3 -4
  228. package/dist/es/calendar/index.js +2 -3
  229. package/dist/es/card/index.js +3 -4
  230. package/dist/es/carousel/index.js +3 -5
  231. package/dist/es/cascader/index.js +2 -3
  232. package/dist/es/center/index.js +15 -14
  233. package/dist/es/charts/chart.js +20 -19
  234. package/dist/es/charts/helpers/group.js +9 -9
  235. package/dist/es/charts/helpers/index.js +2 -5
  236. package/dist/es/charts/hooks/index.js +2 -4
  237. package/dist/es/charts/hooks/use-chart.js +107 -109
  238. package/dist/es/charts/index.js +4 -6
  239. package/dist/es/charts/themes/index.js +5 -10
  240. package/dist/es/charts/themes/walden-dark.js +294 -393
  241. package/dist/es/charts/themes/walden.js +277 -358
  242. package/dist/es/charts/themes/wonderland-dark.js +298 -393
  243. package/dist/es/charts/themes/wonderland.js +281 -358
  244. package/dist/es/checkbox/index.js +3 -4
  245. package/dist/es/code-highlighter/index.js +39 -36
  246. package/dist/es/col/index.js +2 -3
  247. package/dist/es/collapse/index.js +3 -4
  248. package/dist/es/color-picker/index.js +2 -3
  249. package/dist/es/compact/index.js +6 -7
  250. package/dist/es/config-provider/app.js +17 -23
  251. package/dist/es/config-provider/constants.js +26 -0
  252. package/dist/es/config-provider/context-holder.js +20 -23
  253. package/dist/es/config-provider/css-vars.js +67 -0
  254. package/dist/es/config-provider/dark-mode-context.js +8 -8
  255. package/dist/es/config-provider/error-fallback.js +48 -13
  256. package/dist/es/config-provider/global-style.js +9 -9
  257. package/dist/es/config-provider/index.js +68 -52
  258. package/dist/es/config-provider/theme-config.js +98 -0
  259. package/dist/es/config-provider/use-config-provider.js +28 -168
  260. package/dist/es/date-picker/index.js +3 -5
  261. package/dist/es/descriptions/index.js +2 -3
  262. package/dist/es/divider/index.js +3 -4
  263. package/dist/es/drawer/index.js +3 -4
  264. package/dist/es/dropdown/index.js +3 -4
  265. package/dist/es/dynamic-icon/index.js +44 -24
  266. package/dist/es/dynamic-icon/placeholder-icon.js +22 -11
  267. package/dist/es/dynamic-icon/unknown-icon.js +57 -13
  268. package/dist/es/empty/empty.js +10 -9
  269. package/dist/es/empty/index.js +2 -4
  270. package/dist/es/flex/index.js +3 -4
  271. package/dist/es/flip-text/index.js +48 -52
  272. package/dist/es/float-button/index.js +3 -4
  273. package/dist/es/form/components/form.js +37 -30
  274. package/dist/es/form/components/index.js +10 -9
  275. package/dist/es/form/components/reset-button.js +24 -20
  276. package/dist/es/form/components/submit-button.js +25 -23
  277. package/dist/es/form/contexts/form-context.js +6 -13
  278. package/dist/es/form/contexts/form-layout.js +13 -16
  279. package/dist/es/form/contexts/index.js +3 -11
  280. package/dist/es/form/fields/auto-complete/index.js +23 -30
  281. package/dist/es/form/fields/bool/index.js +18 -23
  282. package/dist/es/form/fields/cascader/index.js +20 -26
  283. package/dist/es/form/fields/checkbox/index.js +29 -39
  284. package/dist/es/form/fields/color-picker/index.js +18 -24
  285. package/dist/es/form/fields/date-picker/index.js +20 -26
  286. package/dist/es/form/fields/date-range-picker/index.js +20 -26
  287. package/dist/es/form/fields/index.js +46 -45
  288. package/dist/es/form/fields/input/index.js +23 -30
  289. package/dist/es/form/fields/input-number/index.js +21 -27
  290. package/dist/es/form/fields/mentions/index.js +21 -27
  291. package/dist/es/form/fields/password/index.js +23 -30
  292. package/dist/es/form/fields/radio/index.js +21 -27
  293. package/dist/es/form/fields/rate/index.js +19 -25
  294. package/dist/es/form/fields/select/index.js +19 -25
  295. package/dist/es/form/fields/slider/index.js +18 -24
  296. package/dist/es/form/fields/textarea/index.js +23 -30
  297. package/dist/es/form/fields/time-picker/index.js +20 -26
  298. package/dist/es/form/fields/time-range-picker/index.js +20 -26
  299. package/dist/es/form/fields/transfer/index.js +20 -26
  300. package/dist/es/form/fields/tree-select/index.js +18 -24
  301. package/dist/es/form/fields/upload/index.js +36 -45
  302. package/dist/es/form/form.js +14 -24
  303. package/dist/es/form/helpers/index.js +2 -4
  304. package/dist/es/form/helpers/with-form-item.js +32 -41
  305. package/dist/es/form/hooks/use-form-item-props.js +20 -35
  306. package/dist/es/form/hooks/use-label-width.js +11 -11
  307. package/dist/es/form/index.js +3 -8
  308. package/dist/es/form/use-form.js +14 -18
  309. package/dist/es/grid/context.js +10 -11
  310. package/dist/es/grid/grid-item.js +27 -33
  311. package/dist/es/grid/hooks/index.js +7 -15
  312. package/dist/es/grid/hooks/use-container-breakpoints.js +15 -14
  313. package/dist/es/grid/hooks/use-container-width.js +25 -27
  314. package/dist/es/grid/hooks/use-grid-collapsed.js +11 -13
  315. package/dist/es/grid/hooks/use-normalized-gap.js +24 -33
  316. package/dist/es/grid/hooks/use-responsive-breakpoint.js +10 -11
  317. package/dist/es/grid/hooks/use-responsive-value.js +18 -26
  318. package/dist/es/grid/index.js +95 -97
  319. package/dist/es/grid/styles.js +19 -20
  320. package/dist/es/group/index.js +15 -15
  321. package/dist/es/icon/index.js +28 -20
  322. package/dist/es/icon-button/index.js +30 -34
  323. package/dist/es/image/index.js +3 -4
  324. package/dist/es/index.js +109 -254
  325. package/dist/es/input/index.js +3 -4
  326. package/dist/es/input-number/index.js +3 -4
  327. package/dist/es/keyboard/index.js +38 -40
  328. package/dist/es/list/index.js +3 -4
  329. package/dist/es/loader/index.js +29 -35
  330. package/dist/es/mentions/index.js +3 -4
  331. package/dist/es/menu/index.js +3 -5
  332. package/dist/es/modal/index.js +3 -4
  333. package/dist/es/operation-button/index.js +26 -24
  334. package/dist/es/pagination/index.js +3 -4
  335. package/dist/es/permission-gate/index.js +9 -13
  336. package/dist/es/popconfirm/index.js +3 -4
  337. package/dist/es/popover/index.js +2 -3
  338. package/dist/es/progress/index.js +2 -3
  339. package/dist/es/qrcode/index.js +3 -4
  340. package/dist/es/radio/index.js +3 -4
  341. package/dist/es/rate/index.js +3 -4
  342. package/dist/es/result/index.js +3 -4
  343. package/dist/es/row/index.js +2 -3
  344. package/dist/es/scroll-area/index.js +56 -52
  345. package/dist/es/scroll-area/styles.js +30 -32
  346. package/dist/es/segmented/index.js +3 -4
  347. package/dist/es/select/hooks/index.js +2 -4
  348. package/dist/es/select/hooks/use-data-options-select.js +45 -55
  349. package/dist/es/select/index.js +4 -5
  350. package/dist/es/skeleton/index.js +3 -4
  351. package/dist/es/slider/index.js +3 -4
  352. package/dist/es/space/index.js +2 -4
  353. package/dist/es/space/space.js +12 -11
  354. package/dist/es/sparkles-text/index.js +47 -51
  355. package/dist/es/sparkles-text/sparkle.js +52 -34
  356. package/dist/es/spin/index.js +3 -4
  357. package/dist/es/split-text/index.js +148 -161
  358. package/dist/es/splitter/index.js +2 -3
  359. package/dist/es/stack/index.js +14 -14
  360. package/dist/es/statistic/index.js +3 -4
  361. package/dist/es/steps/index.js +3 -4
  362. package/dist/es/switch/index.js +3 -4
  363. package/dist/es/table/index.js +46 -47
  364. package/dist/es/table/use-pagination-props.js +48 -43
  365. package/dist/es/tabs/index.js +3 -4
  366. package/dist/es/tag/index.js +3 -4
  367. package/dist/es/time-picker/index.js +3 -4
  368. package/dist/es/timeline/index.js +3 -4
  369. package/dist/es/tooltip/index.js +3 -4
  370. package/dist/es/tour/index.js +2 -3
  371. package/dist/es/transfer/index.js +3 -4
  372. package/dist/es/tree/hooks/index.js +2 -4
  373. package/dist/es/tree/hooks/use-data-options-tree.js +38 -54
  374. package/dist/es/tree/index.js +4 -5
  375. package/dist/es/tree-select/hooks/index.js +2 -4
  376. package/dist/es/tree-select/hooks/use-data-options-tree-select.js +47 -51
  377. package/dist/es/tree-select/index.js +4 -5
  378. package/dist/es/typing-animation/index.js +45 -43
  379. package/dist/es/typography/index.js +6 -17
  380. package/dist/es/upload/index.js +59 -51
  381. package/dist/es/watermark/index.js +2 -3
  382. package/dist/types/_base/constants/common.d.ts +3 -32
  383. package/dist/types/_base/constants/css-vars.d.ts +673 -673
  384. package/dist/types/_base/constants/index.d.ts +1 -0
  385. package/dist/types/_base/constants/theme.d.ts +5 -6
  386. package/dist/types/_base/helpers/breakpoints.d.ts +1 -4
  387. package/dist/types/_base/helpers/color.d.ts +0 -12
  388. package/dist/types/_base/helpers/common.d.ts +2 -24
  389. package/dist/types/_base/helpers/message.d.ts +4 -31
  390. package/dist/types/_base/helpers/modal.d.ts +10 -87
  391. package/dist/types/_base/helpers/notification.d.ts +6 -63
  392. package/dist/types/_base/helpers/props.d.ts +3 -16
  393. package/dist/types/_base/helpers/react.d.ts +0 -6
  394. package/dist/types/_base/hooks/use-theme-tokens.d.ts +0 -5
  395. package/dist/types/_base/index.d.ts +0 -1
  396. package/dist/types/_base/styles/common.d.ts +2 -1
  397. package/dist/types/_base/types/common.d.ts +8 -71
  398. package/dist/types/action-button/use-action-button.d.ts +5 -2
  399. package/dist/types/action-group/use-action-group.d.ts +2 -1
  400. package/dist/types/action-group/use-computed-action-buttons.d.ts +3 -1
  401. package/dist/types/charts/chart.d.ts +3 -16
  402. package/dist/types/charts/helpers/group.d.ts +0 -8
  403. package/dist/types/charts/hooks/use-chart.d.ts +0 -27
  404. package/dist/types/config-provider/app.d.ts +5 -4
  405. package/dist/types/config-provider/constants.d.ts +22 -0
  406. package/dist/types/config-provider/context-holder.d.ts +6 -5
  407. package/dist/types/config-provider/css-vars.d.ts +6 -0
  408. package/dist/types/config-provider/error-fallback.d.ts +2 -1
  409. package/dist/types/config-provider/index.d.ts +3 -2
  410. package/dist/types/config-provider/theme-config.d.ts +7 -0
  411. package/dist/types/config-provider/use-config-provider.d.ts +8 -5
  412. package/dist/types/dynamic-icon/index.d.ts +1 -1
  413. package/dist/types/form/components/form.d.ts +0 -3
  414. package/dist/types/form/fields/auto-complete/props.d.ts +1 -0
  415. package/dist/types/form/fields/input/props.d.ts +1 -0
  416. package/dist/types/form/fields/password/props.d.ts +1 -0
  417. package/dist/types/form/fields/textarea/props.d.ts +1 -0
  418. package/dist/types/form/form.d.ts +3 -1
  419. package/dist/types/form/helpers/with-form-item.d.ts +1 -1
  420. package/dist/types/form/hooks/use-label-width.d.ts +3 -5
  421. package/dist/types/form/types.d.ts +4 -4
  422. package/dist/types/select/hooks/use-data-options-select.d.ts +1 -0
  423. package/dist/types/split-text/index.d.ts +2 -2
  424. package/dist/types/split-text/props.d.ts +10 -0
  425. package/dist/types/src/_base/constants/breakpoints.d.ts +9 -0
  426. package/dist/types/src/_base/constants/common.d.ts +10 -0
  427. package/dist/types/src/_base/constants/css-vars.d.ts +673 -0
  428. package/dist/types/src/_base/constants/index.d.ts +4 -0
  429. package/dist/types/src/_base/constants/theme.d.ts +8 -0
  430. package/dist/types/src/_base/helpers/breakpoints.d.ts +7 -0
  431. package/dist/types/src/_base/helpers/color.d.ts +3 -0
  432. package/dist/types/src/_base/helpers/common.d.ts +8 -0
  433. package/dist/types/src/_base/helpers/index.d.ts +8 -0
  434. package/dist/types/src/_base/helpers/message.d.ts +11 -0
  435. package/dist/types/src/_base/helpers/modal.d.ts +31 -0
  436. package/dist/types/src/_base/helpers/notification.d.ts +17 -0
  437. package/dist/types/src/_base/helpers/props.d.ts +5 -0
  438. package/dist/types/src/_base/helpers/react.d.ts +2 -0
  439. package/dist/types/src/_base/hooks/index.d.ts +1 -0
  440. package/dist/types/src/_base/hooks/use-theme-tokens.d.ts +2 -0
  441. package/dist/types/src/_base/index.d.ts +5 -0
  442. package/dist/types/src/_base/styles/common.d.ts +4 -0
  443. package/dist/types/src/_base/styles/index.d.ts +1 -0
  444. package/dist/types/src/_base/types/breakpoints.d.ts +2 -0
  445. package/dist/types/src/_base/types/common.d.ts +41 -0
  446. package/dist/types/src/_base/types/index.d.ts +2 -0
  447. package/dist/types/src/action-button/index.d.ts +3 -0
  448. package/dist/types/src/action-button/props.d.ts +39 -0
  449. package/dist/types/src/action-button/use-action-button.d.ts +12 -0
  450. package/dist/types/src/action-group/index.d.ts +7 -0
  451. package/dist/types/src/action-group/props.d.ts +18 -0
  452. package/dist/types/src/action-group/use-action-group.d.ts +8 -0
  453. package/dist/types/src/action-group/use-computed-action-buttons.d.ts +12 -0
  454. package/dist/types/src/affix/index.d.ts +2 -0
  455. package/dist/types/src/alert/index.d.ts +2 -0
  456. package/dist/types/src/anchor/index.d.ts +4 -0
  457. package/dist/types/src/auto-complete/index.d.ts +4 -0
  458. package/dist/types/src/avatar/index.d.ts +3 -0
  459. package/dist/types/src/badge/index.d.ts +4 -0
  460. package/dist/types/src/bool/index.d.ts +4 -0
  461. package/dist/types/src/bool/props.d.ts +67 -0
  462. package/dist/types/src/breadcrumb/index.d.ts +5 -0
  463. package/dist/types/src/button/index.d.ts +3 -0
  464. package/dist/types/src/calendar/index.d.ts +2 -0
  465. package/dist/types/src/card/index.d.ts +3 -0
  466. package/dist/types/src/carousel/index.d.ts +3 -0
  467. package/dist/types/src/cascader/index.d.ts +3 -0
  468. package/dist/types/src/center/index.d.ts +4 -0
  469. package/dist/types/src/center/props.d.ts +13 -0
  470. package/dist/types/src/charts/chart.d.ts +11 -0
  471. package/dist/types/src/charts/helpers/group.d.ts +2 -0
  472. package/dist/types/src/charts/helpers/index.d.ts +1 -0
  473. package/dist/types/src/charts/hooks/index.d.ts +2 -0
  474. package/dist/types/src/charts/hooks/use-chart.d.ts +15 -0
  475. package/dist/types/src/charts/index.d.ts +4 -0
  476. package/dist/types/src/charts/themes/index.d.ts +4 -0
  477. package/dist/types/src/charts/themes/walden-dark.d.ts +1 -0
  478. package/dist/types/src/charts/themes/walden.d.ts +1 -0
  479. package/dist/types/src/charts/themes/wonderland-dark.d.ts +1 -0
  480. package/dist/types/src/charts/themes/wonderland.d.ts +1 -0
  481. package/dist/types/src/checkbox/index.d.ts +5 -0
  482. package/dist/types/src/code-highlighter/index.d.ts +3 -0
  483. package/dist/types/src/code-highlighter/props.d.ts +58 -0
  484. package/dist/types/src/col/index.d.ts +2 -0
  485. package/dist/types/src/collapse/index.d.ts +5 -0
  486. package/dist/types/src/color-picker/index.d.ts +2 -0
  487. package/dist/types/src/compact/index.d.ts +5 -0
  488. package/dist/types/src/config-provider/app.d.ts +9 -0
  489. package/dist/types/src/config-provider/constants.d.ts +22 -0
  490. package/dist/types/src/config-provider/context-holder.d.ts +6 -0
  491. package/dist/types/src/config-provider/css-vars.d.ts +6 -0
  492. package/dist/types/src/config-provider/dark-mode-context.d.ts +3 -0
  493. package/dist/types/src/config-provider/error-fallback.d.ts +3 -0
  494. package/dist/types/src/config-provider/global-style.d.ts +2 -0
  495. package/dist/types/src/config-provider/index.d.ts +5 -0
  496. package/dist/types/src/config-provider/props.d.ts +34 -0
  497. package/dist/types/src/config-provider/theme-config.d.ts +7 -0
  498. package/dist/types/src/config-provider/use-config-provider.d.ts +10 -0
  499. package/dist/types/src/date-picker/index.d.ts +5 -0
  500. package/dist/types/src/descriptions/index.d.ts +4 -0
  501. package/dist/types/src/divider/index.d.ts +2 -0
  502. package/dist/types/src/drawer/index.d.ts +2 -0
  503. package/dist/types/src/dropdown/index.d.ts +5 -0
  504. package/dist/types/src/dynamic-icon/index.d.ts +7 -0
  505. package/dist/types/src/dynamic-icon/placeholder-icon.d.ts +2 -0
  506. package/dist/types/src/dynamic-icon/props.d.ts +13 -0
  507. package/dist/types/src/dynamic-icon/unknown-icon.d.ts +2 -0
  508. package/dist/types/src/empty/empty.d.ts +2 -0
  509. package/dist/types/src/empty/index.d.ts +2 -0
  510. package/dist/types/src/flex/index.d.ts +14 -0
  511. package/dist/types/src/flip-text/index.d.ts +3 -0
  512. package/dist/types/src/flip-text/props.d.ts +32 -0
  513. package/dist/types/src/float-button/index.d.ts +2 -0
  514. package/dist/types/src/form/components/form.d.ts +10 -0
  515. package/dist/types/src/form/components/index.d.ts +11 -0
  516. package/dist/types/src/form/components/reset-button.d.ts +6 -0
  517. package/dist/types/src/form/components/submit-button.d.ts +6 -0
  518. package/dist/types/src/form/contexts/form-context.d.ts +4 -0
  519. package/dist/types/src/form/contexts/form-layout.d.ts +7 -0
  520. package/dist/types/src/form/contexts/index.d.ts +3 -0
  521. package/dist/types/src/form/fields/auto-complete/index.d.ts +5 -0
  522. package/dist/types/src/form/fields/auto-complete/props.d.ts +10 -0
  523. package/dist/types/src/form/fields/bool/index.d.ts +5 -0
  524. package/dist/types/src/form/fields/bool/props.d.ts +4 -0
  525. package/dist/types/src/form/fields/cascader/index.d.ts +5 -0
  526. package/dist/types/src/form/fields/cascader/props.d.ts +4 -0
  527. package/dist/types/src/form/fields/checkbox/index.d.ts +6 -0
  528. package/dist/types/src/form/fields/checkbox/props.d.ts +6 -0
  529. package/dist/types/src/form/fields/color-picker/index.d.ts +5 -0
  530. package/dist/types/src/form/fields/color-picker/props.d.ts +4 -0
  531. package/dist/types/src/form/fields/date-picker/index.d.ts +5 -0
  532. package/dist/types/src/form/fields/date-picker/props.d.ts +4 -0
  533. package/dist/types/src/form/fields/date-range-picker/index.d.ts +5 -0
  534. package/dist/types/src/form/fields/date-range-picker/props.d.ts +4 -0
  535. package/dist/types/src/form/fields/index.d.ts +68 -0
  536. package/dist/types/src/form/fields/input/index.d.ts +5 -0
  537. package/dist/types/src/form/fields/input/props.d.ts +10 -0
  538. package/dist/types/src/form/fields/input-number/index.d.ts +5 -0
  539. package/dist/types/src/form/fields/input-number/props.d.ts +4 -0
  540. package/dist/types/src/form/fields/mentions/index.d.ts +5 -0
  541. package/dist/types/src/form/fields/mentions/props.d.ts +4 -0
  542. package/dist/types/src/form/fields/password/index.d.ts +5 -0
  543. package/dist/types/src/form/fields/password/props.d.ts +10 -0
  544. package/dist/types/src/form/fields/radio/index.d.ts +5 -0
  545. package/dist/types/src/form/fields/radio/props.d.ts +4 -0
  546. package/dist/types/src/form/fields/rate/index.d.ts +5 -0
  547. package/dist/types/src/form/fields/rate/props.d.ts +4 -0
  548. package/dist/types/src/form/fields/select/index.d.ts +6 -0
  549. package/dist/types/src/form/fields/select/props.d.ts +5 -0
  550. package/dist/types/src/form/fields/slider/index.d.ts +5 -0
  551. package/dist/types/src/form/fields/slider/props.d.ts +4 -0
  552. package/dist/types/src/form/fields/textarea/index.d.ts +5 -0
  553. package/dist/types/src/form/fields/textarea/props.d.ts +10 -0
  554. package/dist/types/src/form/fields/time-picker/index.d.ts +5 -0
  555. package/dist/types/src/form/fields/time-picker/props.d.ts +4 -0
  556. package/dist/types/src/form/fields/time-range-picker/index.d.ts +5 -0
  557. package/dist/types/src/form/fields/time-range-picker/props.d.ts +4 -0
  558. package/dist/types/src/form/fields/transfer/index.d.ts +5 -0
  559. package/dist/types/src/form/fields/transfer/props.d.ts +4 -0
  560. package/dist/types/src/form/fields/tree-select/index.d.ts +6 -0
  561. package/dist/types/src/form/fields/tree-select/props.d.ts +5 -0
  562. package/dist/types/src/form/fields/upload/index.d.ts +5 -0
  563. package/dist/types/src/form/fields/upload/props.d.ts +4 -0
  564. package/dist/types/src/form/form.d.ts +183 -0
  565. package/dist/types/src/form/helpers/index.d.ts +1 -0
  566. package/dist/types/src/form/helpers/with-form-item.d.ts +3 -0
  567. package/dist/types/src/form/hooks/use-form-item-props.d.ts +15 -0
  568. package/dist/types/src/form/hooks/use-label-width.d.ts +7 -0
  569. package/dist/types/src/form/index.d.ts +5 -0
  570. package/dist/types/src/form/types.d.ts +17 -0
  571. package/dist/types/src/form/use-form.d.ts +38 -0
  572. package/dist/types/src/grid/context.d.ts +15 -0
  573. package/dist/types/src/grid/grid-item.d.ts +5 -0
  574. package/dist/types/src/grid/hooks/index.d.ts +6 -0
  575. package/dist/types/src/grid/hooks/use-container-breakpoints.d.ts +1 -0
  576. package/dist/types/src/grid/hooks/use-container-width.d.ts +5 -0
  577. package/dist/types/src/grid/hooks/use-grid-collapsed.d.ts +4 -0
  578. package/dist/types/src/grid/hooks/use-normalized-gap.d.ts +3 -0
  579. package/dist/types/src/grid/hooks/use-responsive-breakpoint.d.ts +2 -0
  580. package/dist/types/src/grid/hooks/use-responsive-value.d.ts +4 -0
  581. package/dist/types/src/grid/index.d.ts +8 -0
  582. package/dist/types/src/grid/props.d.ts +85 -0
  583. package/dist/types/src/grid/styles.d.ts +4 -0
  584. package/dist/types/src/group/index.d.ts +4 -0
  585. package/dist/types/src/group/props.d.ts +13 -0
  586. package/dist/types/src/icon/index.d.ts +3 -0
  587. package/dist/types/src/icon/props.d.ts +20 -0
  588. package/dist/types/src/icon-button/index.d.ts +3 -0
  589. package/dist/types/src/icon-button/props.d.ts +22 -0
  590. package/dist/types/src/image/index.d.ts +2 -0
  591. package/dist/types/src/index.d.ts +90 -0
  592. package/dist/types/src/input/index.d.ts +4 -0
  593. package/dist/types/src/input-number/index.d.ts +2 -0
  594. package/dist/types/src/keyboard/index.d.ts +3 -0
  595. package/dist/types/src/keyboard/props.d.ts +13 -0
  596. package/dist/types/src/list/index.d.ts +3 -0
  597. package/dist/types/src/loader/index.d.ts +3 -0
  598. package/dist/types/src/loader/props.d.ts +20 -0
  599. package/dist/types/src/mentions/index.d.ts +4 -0
  600. package/dist/types/src/menu/index.d.ts +5 -0
  601. package/dist/types/src/modal/index.d.ts +2 -0
  602. package/dist/types/src/operation-button/index.d.ts +3 -0
  603. package/dist/types/src/operation-button/props.d.ts +10 -0
  604. package/dist/types/src/pagination/index.d.ts +2 -0
  605. package/dist/types/src/permission-gate/index.d.ts +4 -0
  606. package/dist/types/src/permission-gate/props.d.ts +26 -0
  607. package/dist/types/src/popconfirm/index.d.ts +2 -0
  608. package/dist/types/src/popover/index.d.ts +2 -0
  609. package/dist/types/src/progress/index.d.ts +2 -0
  610. package/dist/types/src/qrcode/index.d.ts +2 -0
  611. package/dist/types/src/radio/index.d.ts +4 -0
  612. package/dist/types/src/rate/index.d.ts +2 -0
  613. package/dist/types/src/result/index.d.ts +2 -0
  614. package/dist/types/src/row/index.d.ts +2 -0
  615. package/dist/types/src/scroll-area/index.d.ts +3 -0
  616. package/dist/types/src/scroll-area/props.d.ts +49 -0
  617. package/dist/types/src/scroll-area/styles.d.ts +5 -0
  618. package/dist/types/src/segmented/index.d.ts +5 -0
  619. package/dist/types/src/select/hooks/index.d.ts +1 -0
  620. package/dist/types/src/select/hooks/use-data-options-select.d.ts +16 -0
  621. package/dist/types/src/select/index.d.ts +5 -0
  622. package/dist/types/src/skeleton/index.d.ts +8 -0
  623. package/dist/types/src/slider/index.d.ts +5 -0
  624. package/dist/types/src/space/index.d.ts +2 -0
  625. package/dist/types/src/space/props.d.ts +13 -0
  626. package/dist/types/src/space/space.d.ts +2 -0
  627. package/dist/types/src/sparkles-text/index.d.ts +3 -0
  628. package/dist/types/src/sparkles-text/props.d.ts +12 -0
  629. package/dist/types/src/sparkles-text/sparkle.d.ts +10 -0
  630. package/dist/types/src/spin/index.d.ts +2 -0
  631. package/dist/types/src/split-text/index.d.ts +4 -0
  632. package/dist/types/src/split-text/props.d.ts +78 -0
  633. package/dist/types/src/splitter/index.d.ts +2 -0
  634. package/dist/types/src/stack/index.d.ts +4 -0
  635. package/dist/types/src/stack/props.d.ts +13 -0
  636. package/dist/types/src/statistic/index.d.ts +2 -0
  637. package/dist/types/src/steps/index.d.ts +2 -0
  638. package/dist/types/src/switch/index.d.ts +2 -0
  639. package/dist/types/src/table/index.d.ts +7 -0
  640. package/dist/types/src/table/props.d.ts +13 -0
  641. package/dist/types/src/table/use-pagination-props.d.ts +9 -0
  642. package/dist/types/src/tabs/index.d.ts +4 -0
  643. package/dist/types/src/tag/index.d.ts +3 -0
  644. package/dist/types/src/time-picker/index.d.ts +2 -0
  645. package/dist/types/src/timeline/index.d.ts +4 -0
  646. package/dist/types/src/tooltip/index.d.ts +3 -0
  647. package/dist/types/src/tour/index.d.ts +4 -0
  648. package/dist/types/src/transfer/index.d.ts +3 -0
  649. package/dist/types/src/tree/hooks/index.d.ts +1 -0
  650. package/dist/types/src/tree/hooks/use-data-options-tree.d.ts +16 -0
  651. package/dist/types/src/tree/index.d.ts +5 -0
  652. package/dist/types/src/tree-select/hooks/index.d.ts +1 -0
  653. package/dist/types/src/tree-select/hooks/use-data-options-tree-select.d.ts +16 -0
  654. package/dist/types/src/tree-select/index.d.ts +3 -0
  655. package/dist/types/src/typing-animation/index.d.ts +3 -0
  656. package/dist/types/src/typing-animation/props.d.ts +25 -0
  657. package/dist/types/src/typography/index.d.ts +11 -0
  658. package/dist/types/src/upload/index.d.ts +4 -0
  659. package/dist/types/src/upload/props.d.ts +15 -0
  660. package/dist/types/src/watermark/index.d.ts +2 -0
  661. package/dist/types/table/props.d.ts +1 -0
  662. package/dist/types/tree-select/hooks/use-data-options-tree-select.d.ts +1 -0
  663. package/dist/types/upload/props.d.ts +1 -0
  664. package/dist/types/x-actions/index.d.ts +2 -0
  665. package/dist/types/x-attachments/index.d.ts +2 -0
  666. package/dist/types/x-bubble/index.d.ts +2 -0
  667. package/dist/types/x-code-highlighter/index.d.ts +3 -0
  668. package/dist/types/x-code-highlighter/props.d.ts +3 -0
  669. package/dist/types/x-conversations/index.d.ts +2 -0
  670. package/dist/types/x-file-card/index.d.ts +2 -0
  671. package/dist/types/x-markdown/components/code/index.d.ts +5 -0
  672. package/dist/types/x-markdown/components/index.d.ts +6 -0
  673. package/dist/types/x-markdown/components/think/index.d.ts +5 -0
  674. package/dist/types/x-markdown/extensions.d.ts +3 -0
  675. package/dist/types/x-markdown/index.d.ts +5 -0
  676. package/dist/types/x-markdown/props.d.ts +3 -0
  677. package/dist/types/x-mermaid/index.d.ts +3 -0
  678. package/dist/types/x-mermaid/props.d.ts +3 -0
  679. package/dist/types/x-notification/index.d.ts +2 -0
  680. package/dist/types/x-prompts/index.d.ts +2 -0
  681. package/dist/types/x-sender/index.d.ts +2 -0
  682. package/dist/types/x-sources/index.d.ts +2 -0
  683. package/dist/types/x-suggestion/index.d.ts +2 -0
  684. package/dist/types/x-think/index.d.ts +2 -0
  685. package/dist/types/x-thought-chain/index.d.ts +2 -0
  686. package/dist/types/x-welcome/index.d.ts +2 -0
  687. package/package.json +16 -15
  688. package/dist/cjs/action-button/props.cjs +0 -1
  689. package/dist/cjs/action-group/props.cjs +0 -1
  690. package/dist/cjs/center/props.cjs +0 -1
  691. package/dist/cjs/code-highlighter/props.cjs +0 -1
  692. package/dist/cjs/config-provider/props.cjs +0 -1
  693. package/dist/cjs/dynamic-icon/props.cjs +0 -1
  694. package/dist/cjs/flip-text/props.cjs +0 -1
  695. package/dist/cjs/form/fields/auto-complete/props.cjs +0 -1
  696. package/dist/cjs/form/fields/bool/props.cjs +0 -1
  697. package/dist/cjs/form/fields/cascader/props.cjs +0 -1
  698. package/dist/cjs/form/fields/checkbox/props.cjs +0 -1
  699. package/dist/cjs/form/fields/color-picker/props.cjs +0 -1
  700. package/dist/cjs/form/fields/date-picker/props.cjs +0 -1
  701. package/dist/cjs/form/fields/date-range-picker/props.cjs +0 -1
  702. package/dist/cjs/form/fields/input/props.cjs +0 -1
  703. package/dist/cjs/form/fields/input-number/props.cjs +0 -1
  704. package/dist/cjs/form/fields/mentions/props.cjs +0 -1
  705. package/dist/cjs/form/fields/password/props.cjs +0 -1
  706. package/dist/cjs/form/fields/radio/props.cjs +0 -1
  707. package/dist/cjs/form/fields/rate/props.cjs +0 -1
  708. package/dist/cjs/form/fields/select/props.cjs +0 -1
  709. package/dist/cjs/form/fields/slider/props.cjs +0 -1
  710. package/dist/cjs/form/fields/textarea/props.cjs +0 -1
  711. package/dist/cjs/form/fields/time-picker/props.cjs +0 -1
  712. package/dist/cjs/form/fields/time-range-picker/props.cjs +0 -1
  713. package/dist/cjs/form/fields/transfer/props.cjs +0 -1
  714. package/dist/cjs/form/fields/tree-select/props.cjs +0 -1
  715. package/dist/cjs/form/fields/upload/props.cjs +0 -1
  716. package/dist/cjs/grid/props.cjs +0 -1
  717. package/dist/cjs/group/props.cjs +0 -1
  718. package/dist/cjs/icon/props.cjs +0 -1
  719. package/dist/cjs/icon-button/props.cjs +0 -1
  720. package/dist/cjs/keyboard/props.cjs +0 -1
  721. package/dist/cjs/loader/props.cjs +0 -1
  722. package/dist/cjs/operation-button/props.cjs +0 -1
  723. package/dist/cjs/permission-gate/props.cjs +0 -1
  724. package/dist/cjs/scroll-area/props.cjs +0 -1
  725. package/dist/cjs/sparkles-text/props.cjs +0 -1
  726. package/dist/cjs/split-text/props.cjs +0 -1
  727. package/dist/cjs/stack/props.cjs +0 -1
  728. package/dist/cjs/table/props.cjs +0 -1
  729. package/dist/cjs/typing-animation/props.cjs +0 -1
  730. package/dist/cjs/upload/props.cjs +0 -1
  731. package/dist/es/action-button/props.js +0 -1
  732. package/dist/es/action-group/props.js +0 -1
  733. package/dist/es/center/props.js +0 -1
  734. package/dist/es/code-highlighter/props.js +0 -1
  735. package/dist/es/config-provider/props.js +0 -1
  736. package/dist/es/dynamic-icon/props.js +0 -1
  737. package/dist/es/flip-text/props.js +0 -1
  738. package/dist/es/form/fields/auto-complete/props.js +0 -1
  739. package/dist/es/form/fields/bool/props.js +0 -1
  740. package/dist/es/form/fields/cascader/props.js +0 -1
  741. package/dist/es/form/fields/checkbox/props.js +0 -1
  742. package/dist/es/form/fields/color-picker/props.js +0 -1
  743. package/dist/es/form/fields/date-picker/props.js +0 -1
  744. package/dist/es/form/fields/date-range-picker/props.js +0 -1
  745. package/dist/es/form/fields/input/props.js +0 -1
  746. package/dist/es/form/fields/input-number/props.js +0 -1
  747. package/dist/es/form/fields/mentions/props.js +0 -1
  748. package/dist/es/form/fields/password/props.js +0 -1
  749. package/dist/es/form/fields/radio/props.js +0 -1
  750. package/dist/es/form/fields/rate/props.js +0 -1
  751. package/dist/es/form/fields/select/props.js +0 -1
  752. package/dist/es/form/fields/slider/props.js +0 -1
  753. package/dist/es/form/fields/textarea/props.js +0 -1
  754. package/dist/es/form/fields/time-picker/props.js +0 -1
  755. package/dist/es/form/fields/time-range-picker/props.js +0 -1
  756. package/dist/es/form/fields/transfer/props.js +0 -1
  757. package/dist/es/form/fields/tree-select/props.js +0 -1
  758. package/dist/es/form/fields/upload/props.js +0 -1
  759. package/dist/es/grid/props.js +0 -1
  760. package/dist/es/group/props.js +0 -1
  761. package/dist/es/icon/props.js +0 -1
  762. package/dist/es/icon-button/props.js +0 -1
  763. package/dist/es/keyboard/props.js +0 -1
  764. package/dist/es/loader/props.js +0 -1
  765. package/dist/es/operation-button/props.js +0 -1
  766. package/dist/es/permission-gate/props.js +0 -1
  767. package/dist/es/scroll-area/props.js +0 -1
  768. package/dist/es/sparkles-text/props.js +0 -1
  769. package/dist/es/split-text/props.js +0 -1
  770. package/dist/es/stack/props.js +0 -1
  771. package/dist/es/table/props.js +0 -1
  772. package/dist/es/typing-animation/props.js +0 -1
  773. package/dist/es/upload/props.js +0 -1
@@ -0,0 +1,4 @@
1
+ export * from './breakpoints';
2
+ export * from './common';
3
+ export * from './css-vars';
4
+ export * from './theme';
@@ -0,0 +1,8 @@
1
+ export interface ThemeColorTokens {
2
+ colors: Record<string, string | number>;
3
+ }
4
+ export interface GlobalThemeTokens {
5
+ light: ThemeColorTokens;
6
+ dark: ThemeColorTokens;
7
+ }
8
+ export declare const globalThemeTokens: GlobalThemeTokens;
@@ -0,0 +1,7 @@
1
+ import { MaybeUndefined } from '@vef-framework/shared';
2
+ import { Breakpoint, Length } from '../types';
3
+ /**
4
+ * Resolves a breakpoint value from a partial breakpoints config.
5
+ * Falls back to the nearest defined breakpoint value (smaller first, then larger).
6
+ */
7
+ export declare function resolveBreakpointValue(breakpointValues: Partial<Record<Breakpoint, Length>>, breakpoint: Breakpoint): MaybeUndefined<Length>;
@@ -0,0 +1,3 @@
1
+ import { PresetColor, SemanticColor } from '../types';
2
+ export declare function isPresetColor(color: string): color is PresetColor;
3
+ export declare function isSemanticColor(color: string): color is SemanticColor;
@@ -0,0 +1,8 @@
1
+ import { MaybeUndefined } from '@vef-framework/shared';
2
+ import { Length, Size } from '../types';
3
+ export declare function getSpacingValue(value: Length): string;
4
+ /**
5
+ * Maps VEF Framework size to Ant Design size.
6
+ * Ant Design uses "middle" instead of the standard "medium".
7
+ */
8
+ export declare function mapSize(size?: Size): MaybeUndefined<"small" | "middle" | "large">;
@@ -0,0 +1,8 @@
1
+ export * from './breakpoints';
2
+ export * from './color';
3
+ export * from './common';
4
+ export * from './message';
5
+ export * from './modal';
6
+ export * from './notification';
7
+ export * from './props';
8
+ export * from './react';
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+ export declare function showSuccessMessage(content: ReactNode): void;
3
+ export declare function showInfoMessage(content: ReactNode): void;
4
+ export declare function showWarningMessage(content: ReactNode): void;
5
+ export declare function showErrorMessage(content: ReactNode): void;
6
+ export interface LoadingMessageHandle {
7
+ close: () => void;
8
+ update: (content: ReactNode) => void;
9
+ }
10
+ export declare function showLoadingMessage(content: ReactNode): LoadingMessageHandle;
11
+ export declare function closeAllMessages(): void;
@@ -0,0 +1,31 @@
1
+ import { Awaitable, Except } from '@vef-framework/shared';
2
+ import { ButtonProps } from 'antd';
3
+ import { ReactNode } from 'react';
4
+ import { Length } from '../types';
5
+ export interface ConfirmOptions {
6
+ title?: ReactNode;
7
+ okText?: ReactNode;
8
+ cancelText?: ReactNode;
9
+ okButtonProps?: ButtonProps;
10
+ cancelButtonProps?: ButtonProps;
11
+ width?: Length;
12
+ closable?: boolean;
13
+ onOk?: () => Awaitable<void>;
14
+ onCancel?: () => Awaitable<void>;
15
+ onAfterOpen?: () => void;
16
+ onAfterClose?: () => void;
17
+ }
18
+ export type AlertOptions = Except<ConfirmOptions, "cancelText" | "cancelButtonProps">;
19
+ export interface ModalHandle {
20
+ close: () => void;
21
+ update: (content: ReactNode, options?: ConfirmOptions) => void;
22
+ }
23
+ export interface AlertHandle {
24
+ close: () => void;
25
+ update: (content: ReactNode, options?: AlertOptions) => void;
26
+ }
27
+ export declare function showConfirm(content: ReactNode, options?: ConfirmOptions): ModalHandle;
28
+ export declare function showSuccessAlert(content: ReactNode, options?: AlertOptions): AlertHandle;
29
+ export declare function showInfoAlert(content: ReactNode, options?: AlertOptions): AlertHandle;
30
+ export declare function showWarningAlert(content: ReactNode, options?: AlertOptions): AlertHandle;
31
+ export declare function showErrorAlert(content: ReactNode, options?: AlertOptions): AlertHandle;
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ export interface NotificationOptions {
3
+ title?: ReactNode;
4
+ duration?: number;
5
+ actions?: ReactNode;
6
+ closable?: boolean;
7
+ icon?: ReactNode;
8
+ }
9
+ export interface NotificationHandle {
10
+ close: () => void;
11
+ update: (content: ReactNode, options?: NotificationOptions) => void;
12
+ }
13
+ export declare function showSuccessNotification(content: ReactNode, options?: NotificationOptions): NotificationHandle;
14
+ export declare function showInfoNotification(content: ReactNode, options?: NotificationOptions): NotificationHandle;
15
+ export declare function showWarningNotification(content: ReactNode, options?: NotificationOptions): NotificationHandle;
16
+ export declare function showErrorNotification(content: ReactNode, options?: NotificationOptions): NotificationHandle;
17
+ export declare function closeAllNotifications(): void;
@@ -0,0 +1,5 @@
1
+ export type FilteredProps<T extends Record<string, unknown>> = {
2
+ [K in keyof T]-?: T[K] extends undefined ? never : T[K];
3
+ };
4
+ export declare function filterProps<T extends Record<string, unknown>>(props: T): FilteredProps<T>;
5
+ export declare function mergeProps<TProps extends Record<string, unknown>, TDefault extends TProps>(props: TProps, defaultProps: TDefault): TDefault & FilteredProps<TProps>;
@@ -0,0 +1,2 @@
1
+ import { FragmentProps, ReactElement, ReactNode } from 'react';
2
+ export declare function isFragment(node: ReactNode): node is ReactElement<FragmentProps>;
@@ -0,0 +1 @@
1
+ export * from './use-theme-tokens';
@@ -0,0 +1,2 @@
1
+ import { GlobalToken } from 'antd';
2
+ export declare function useThemeTokens(): GlobalToken;
@@ -0,0 +1,5 @@
1
+ export * from './constants';
2
+ export * from './helpers';
3
+ export * from './hooks';
4
+ export * from './styles';
5
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ import { SerializedStyles } from '@emotion/react';
2
+ export declare const fullWidth: SerializedStyles;
3
+ export declare const fullHeight: SerializedStyles;
4
+ export declare const fullSize: SerializedStyles;
@@ -0,0 +1 @@
1
+ export * as styles from './common';
@@ -0,0 +1,2 @@
1
+ import { breakpoints } from '../constants';
2
+ export type Breakpoint = keyof typeof breakpoints;
@@ -0,0 +1,41 @@
1
+ import { PermissionCheckMode } from '@vef-framework/core';
2
+ import { AnyObject, Awaitable, EmptyObject, If, IsNever, LiteralUnion, Simplify } from '@vef-framework/shared';
3
+ import { ReactNode, Ref } from 'react';
4
+ import { ButtonColor, ButtonVariant } from '../../button';
5
+ import { colors, fullSizes, presetColors, semanticColors, semanticScenes, sizes } from '../constants';
6
+ export type PresetColor = (typeof presetColors)[number];
7
+ export type SemanticScene = (typeof semanticScenes)[number];
8
+ export type SemanticColor = (typeof semanticColors)[number];
9
+ export type Color = Simplify<PresetColor | SemanticColor>;
10
+ export type Colors = typeof colors;
11
+ export type Size = (typeof sizes)[number];
12
+ export type FullSize = (typeof fullSizes)[number];
13
+ export type Orientation = "horizontal" | "vertical";
14
+ export type ActionConfirmMode = "popover" | "dialog";
15
+ export type Length = string | number;
16
+ export type ActionButtonMaybeComputed<TContext, TValue> = If<IsNever<TContext>, TValue, TValue | ((context: TContext) => TValue)>;
17
+ export type SizeableLength<TSize extends FullSize | Size> = LiteralUnion<TSize, Length>;
18
+ export type { GetProp, GetProps, GetRef } from 'antd';
19
+ export type PropsWithRef<TRef, TProps extends AnyObject = EmptyObject> = TProps & {
20
+ ref?: Ref<TRef>;
21
+ };
22
+ export interface Position {
23
+ x: number;
24
+ y: number;
25
+ }
26
+ export interface ActionButtonConfig<TContext = never> {
27
+ key: string;
28
+ label: string;
29
+ disabled?: ActionButtonMaybeComputed<TContext, boolean>;
30
+ hidden?: ActionButtonMaybeComputed<TContext, boolean>;
31
+ color?: ButtonColor;
32
+ variant?: ButtonVariant;
33
+ icon?: ReactNode;
34
+ permTokens?: string[];
35
+ checkMode?: PermissionCheckMode;
36
+ confirmable?: ActionButtonMaybeComputed<TContext, boolean>;
37
+ confirmMode?: ActionButtonMaybeComputed<TContext, ActionConfirmMode>;
38
+ confirmTitle?: ActionButtonMaybeComputed<TContext, ReactNode>;
39
+ confirmDescription?: ActionButtonMaybeComputed<TContext, ReactNode>;
40
+ onClick: (context: If<IsNever<TContext>, void, TContext>) => Awaitable<void>;
41
+ }
@@ -0,0 +1,2 @@
1
+ export * from './breakpoints';
2
+ export * from './common';
@@ -0,0 +1,3 @@
1
+ import { ActionButtonProps } from './props';
2
+ export declare function ActionButton({ confirmable, confirmMode, confirmTitle, confirmDescription, onClick, ...props }: ActionButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ export { type ActionButtonProps } from './props';
@@ -0,0 +1,39 @@
1
+ import { Awaitable, Except, SetReturnType } from '@vef-framework/shared';
2
+ import { ReactNode } from 'react';
3
+ import { ActionConfirmMode, GetProp } from '../_base';
4
+ import { ButtonProps } from '../button';
5
+ /**
6
+ * The props for the ActionButton component.
7
+ *
8
+ * @see {@link ButtonProps}
9
+ */
10
+ export interface ActionButtonProps extends Except<ButtonProps, "loading" | "onClick"> {
11
+ /**
12
+ * Whether the action requires confirm before execution.
13
+ *
14
+ * @default false
15
+ */
16
+ confirmable?: boolean;
17
+ /**
18
+ * The confirm mode for the action.
19
+ *
20
+ * @default "popover"
21
+ */
22
+ confirmMode?: ActionConfirmMode;
23
+ /**
24
+ * The title of the confirm dialog.
25
+ *
26
+ * @default "确认提示"
27
+ */
28
+ confirmTitle?: ReactNode;
29
+ /**
30
+ * The description of the confirm dialog.
31
+ *
32
+ * @default "确定要执行此操作吗?"
33
+ */
34
+ confirmDescription?: ReactNode;
35
+ /**
36
+ * The click handler that supports async operations.
37
+ */
38
+ onClick?: SetReturnType<GetProp<ButtonProps, "onClick">, Awaitable<void>>;
39
+ }
@@ -0,0 +1,12 @@
1
+ import { Except, SetRequired } from '@vef-framework/shared';
2
+ import { MouseEvent, MouseEventHandler } from 'react';
3
+ import { ButtonProps } from '../button';
4
+ import { ActionButtonProps } from './props';
5
+ type UseActionButtonOptions = SetRequired<Except<ActionButtonProps, keyof Except<ButtonProps, "loading" | "onClick">>, "confirmable" | "confirmMode" | "confirmTitle" | "confirmDescription">;
6
+ interface UseActionButtonReturn {
7
+ loading: boolean;
8
+ invokeClickAction: (event: MouseEvent<HTMLElement>, waitForActionDone?: boolean) => Promise<void>;
9
+ handleClick: MouseEventHandler<HTMLElement>;
10
+ }
11
+ export declare function useActionButton({ confirmable, confirmMode, confirmTitle, confirmDescription, onClick }: UseActionButtonOptions): UseActionButtonReturn;
12
+ export {};
@@ -0,0 +1,7 @@
1
+ import { EmptyObject, If, IsNever } from '@vef-framework/shared';
2
+ import { ReactNode } from 'react';
3
+ import { ActionGroupProps } from './props';
4
+ export declare function ActionGroup<TContext = never>(props: ActionGroupProps<TContext> & If<IsNever<TContext>, EmptyObject, {
5
+ context: TContext;
6
+ }>): ReactNode;
7
+ export { type ActionGroupProps } from './props';
@@ -0,0 +1,18 @@
1
+ import { ReactNode } from 'react';
2
+ import { ActionButtonConfig } from '../_base';
3
+ import { ButtonProps } from '../button';
4
+ /**
5
+ * The props of the action group.
6
+ *
7
+ * @template T - The context type of the action group.
8
+ */
9
+ export interface ActionGroupProps<T = never> extends Pick<ButtonProps, "size"> {
10
+ /**
11
+ * The buttons of the action group.
12
+ */
13
+ buttons: Array<ActionButtonConfig<T>>;
14
+ /**
15
+ * The render wrapper of the action group.
16
+ */
17
+ renderWrapper?: (buttonsNode: ReactNode) => ReactNode;
18
+ }
@@ -0,0 +1,8 @@
1
+ import { EmptyObject, If, IsNever } from '@vef-framework/shared';
2
+ import { ActionGroupProps } from './props';
3
+ import { ReactNode } from 'react';
4
+ export declare function useActionGroup<TContext>(props: ActionGroupProps<TContext> & If<IsNever<TContext>, EmptyObject, {
5
+ context: TContext;
6
+ }>): {
7
+ buttonNodes: ReactNode[];
8
+ };
@@ -0,0 +1,12 @@
1
+ import { SizeType } from 'antd/es/config-provider/SizeContext';
2
+ import { ReactNode } from 'react';
3
+ import { ActionButtonConfig } from '../_base';
4
+ /**
5
+ * The hook to compute the action buttons.
6
+ *
7
+ * @param buttons - The action button configs.
8
+ * @param size - The button size.
9
+ * @param context - The context.
10
+ * @returns The computed action buttons.
11
+ */
12
+ export declare function useComputedActionButtons<TContext>(buttons: Array<ActionButtonConfig<TContext>>, size: SizeType, context: TContext): ReactNode[];
@@ -0,0 +1,2 @@
1
+ export { Affix } from 'antd';
2
+ export type { AffixProps } from 'antd';
@@ -0,0 +1,2 @@
1
+ export { Alert } from 'antd';
2
+ export type { AlertProps } from 'antd';
@@ -0,0 +1,4 @@
1
+ import { AnchorLinkItemProps } from 'antd/es/anchor/Anchor';
2
+ export { Anchor } from 'antd';
3
+ export type { AnchorProps } from 'antd';
4
+ export type AnchorLinkItem = AnchorLinkItemProps;
@@ -0,0 +1,4 @@
1
+ import { DataSourceItemType } from 'antd/es/auto-complete/AutoComplete';
2
+ export { AutoComplete } from 'antd';
3
+ export type { AutoCompleteProps } from 'antd';
4
+ export type AutoCompleteOption = DataSourceItemType;
@@ -0,0 +1,3 @@
1
+ export { Avatar } from 'antd';
2
+ export type { AvatarProps } from 'antd';
3
+ export type { AvatarGroupProps } from 'antd/es/avatar/AvatarGroup';
@@ -0,0 +1,4 @@
1
+ import { RibbonProps } from 'antd/es/badge/Ribbon';
2
+ export { Badge } from 'antd';
3
+ export type { BadgeProps } from 'antd';
4
+ export type BadgeRibbonProps = RibbonProps;
@@ -0,0 +1,4 @@
1
+ import { BoolProps } from './props';
2
+ import { MemoExoticComponent } from 'react';
3
+ export declare const Bool: MemoExoticComponent<(props: BoolProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
4
+ export type { BoolProps, BoolVariant } from './props';
@@ -0,0 +1,67 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { Size } from '../_base';
3
+ /**
4
+ * The variant of the Bool component
5
+ */
6
+ export type BoolVariant = "radio" | "radio-button" | "switch" | "checkbox";
7
+ /**
8
+ * The props for the `Bool` component
9
+ */
10
+ export interface BoolProps {
11
+ /**
12
+ * The class name of the component.
13
+ */
14
+ className?: string;
15
+ /**
16
+ * The style of the component.
17
+ */
18
+ style?: CSSProperties;
19
+ /**
20
+ * The value of the component (controlled).
21
+ */
22
+ value?: boolean;
23
+ /**
24
+ * The default value of the component (uncontrolled).
25
+ */
26
+ defaultValue?: boolean;
27
+ /**
28
+ * The variant of the component.
29
+ *
30
+ * @default "switch"
31
+ */
32
+ variant?: BoolVariant;
33
+ /**
34
+ * The label for the true/checked state.
35
+ * - For radio variant: displayed on the true radio option
36
+ * - For radio-button variant: displayed on the true button
37
+ * - For switch variant: displayed inside the switch when checked
38
+ *
39
+ * @default "是"
40
+ */
41
+ trueLabel?: ReactNode;
42
+ /**
43
+ * The label for the false/unchecked state.
44
+ * - For radio variant: displayed on the false radio option
45
+ * - For radio-button variant: displayed on the false button
46
+ * - For switch variant: displayed inside the switch when unchecked
47
+ *
48
+ * @default "否"
49
+ */
50
+ falseLabel?: ReactNode;
51
+ /**
52
+ * Whether the component is disabled.
53
+ */
54
+ disabled?: boolean;
55
+ /**
56
+ * The size of the component.
57
+ */
58
+ size?: Size;
59
+ /**
60
+ * The callback function when the value changes.
61
+ */
62
+ onChange?: (value: boolean) => void;
63
+ /**
64
+ * The label text for switch/checkbox variants.
65
+ */
66
+ children?: ReactNode;
67
+ }
@@ -0,0 +1,5 @@
1
+ import { ItemType } from 'antd/es/breadcrumb/Breadcrumb';
2
+ export { Breadcrumb } from 'antd';
3
+ export type { BreadcrumbProps } from 'antd';
4
+ export type BreadcrumbItem = ItemType;
5
+ export { type BreadcrumbItemType, type BreadcrumbSeparatorType } from 'antd/es/breadcrumb/Breadcrumb';
@@ -0,0 +1,3 @@
1
+ export { Button } from 'antd';
2
+ export type { ButtonProps } from 'antd';
3
+ export type { ButtonColorType as ButtonColor, ButtonVariantType as ButtonVariant } from 'antd/es/button';
@@ -0,0 +1,2 @@
1
+ export { Calendar } from 'antd';
2
+ export type { CalendarProps } from 'antd';
@@ -0,0 +1,3 @@
1
+ export { Card } from 'antd';
2
+ export type { CardProps } from 'antd';
3
+ export type { CardGridProps, CardMetaProps } from 'antd/es/card';
@@ -0,0 +1,3 @@
1
+ export { Carousel } from 'antd';
2
+ export type { CarouselProps } from 'antd';
3
+ export { type DotPlacement as CarouselDotPlacement, type CarouselEffect, type CarouselRef } from 'antd/es/carousel';
@@ -0,0 +1,3 @@
1
+ export { Cascader } from 'antd';
2
+ export type { CascaderProps } from 'antd';
3
+ export type { DefaultOptionType as CascaderOption } from 'antd/es/cascader';
@@ -0,0 +1,4 @@
1
+ import { PropsWithRef } from '../_base';
2
+ import { CenterProps } from './props';
3
+ export declare function Center({ ref, children, gap, ...props }: PropsWithRef<HTMLDivElement, CenterProps>): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export { type CenterProps } from './props';
@@ -0,0 +1,13 @@
1
+ import { Except, LiteralUnion } from '@vef-framework/shared';
2
+ import { SizeType } from 'antd/es/config-provider/SizeContext';
3
+ import { CSSProperties } from 'react';
4
+ import { FlexProps } from '../flex';
5
+ /**
6
+ * The props for the center component.
7
+ */
8
+ export interface CenterProps extends Except<FlexProps, "vertical" | "gap" | "justify" | "align"> {
9
+ /**
10
+ * The gap between the items.
11
+ */
12
+ gap?: LiteralUnion<SizeType, CSSProperties["gap"]>;
13
+ }
@@ -0,0 +1,11 @@
1
+ import { CSSProperties, MemoExoticComponent } from 'react';
2
+ import { PropsWithRef } from '../_base';
3
+ import { UseChartOptions } from './hooks';
4
+ export interface ChartProps extends UseChartOptions {
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ deepMemo?: boolean;
8
+ }
9
+ declare function ChartComponent({ className, style, ref, deepMemo: _deepMemo, ...options }: PropsWithRef<HTMLDivElement, ChartProps>): import("@emotion/react/jsx-runtime").JSX.Element;
10
+ export declare const Chart: MemoExoticComponent<typeof ChartComponent>;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare function connectCharts(groupId: string): void;
2
+ export declare function disconnectCharts(groupId: string): void;
@@ -0,0 +1 @@
1
+ export { connectCharts, disconnectCharts } from './group';
@@ -0,0 +1,2 @@
1
+ export { useChart } from './use-chart';
2
+ export type { ChartInstance, ChartOption, UseChartOptions } from './use-chart';
@@ -0,0 +1,15 @@
1
+ import { AnyObject, Except } from '@vef-framework/shared';
2
+ import { ECharts, EChartsInitOpts, EChartsOption, SetOptionOpts } from 'echarts';
3
+ import { RefObject } from 'react';
4
+ export interface UseChartOptions extends Except<EChartsInitOpts, "width" | "height">, SetOptionOpts {
5
+ option: EChartsOption;
6
+ theme?: "walden" | "wonderland" | AnyObject;
7
+ loading?: boolean;
8
+ width?: number | "auto";
9
+ height?: number | "auto";
10
+ group?: string;
11
+ onReady?: (chart: ECharts) => void;
12
+ onBeforeDispose?: (chart: ECharts) => void;
13
+ }
14
+ export declare function useChart({ option, theme, loading, group, onReady, onBeforeDispose, notMerge, replaceMerge, lazyUpdate, silent, transition, renderer, devicePixelRatio, width, height, ssr, useCoarsePointer, useDirtyRect, pointerSize, locale }: UseChartOptions): RefObject<HTMLDivElement | null>;
15
+ export type { ECharts as ChartInstance, EChartsOption as ChartOption } from 'echarts';
@@ -0,0 +1,4 @@
1
+ export { Chart, type ChartProps } from './chart';
2
+ export { connectCharts, disconnectCharts } from './helpers';
3
+ export { useChart } from './hooks';
4
+ export type { ChartInstance, ChartOption, UseChartOptions } from './hooks';
@@ -0,0 +1,4 @@
1
+ export { registerWaldenTheme } from './walden';
2
+ export { registerWaldenDarkTheme } from './walden-dark';
3
+ export { registerWonderlandTheme } from './wonderland';
4
+ export { registerWonderlandDarkTheme } from './wonderland-dark';
@@ -0,0 +1 @@
1
+ export declare function registerWaldenDarkTheme(): void;
@@ -0,0 +1 @@
1
+ export declare function registerWaldenTheme(): void;
@@ -0,0 +1 @@
1
+ export declare function registerWonderlandDarkTheme(): void;
@@ -0,0 +1 @@
1
+ export declare function registerWonderlandTheme(): void;
@@ -0,0 +1,5 @@
1
+ import { CheckboxOptionType } from 'antd';
2
+ export { Checkbox } from 'antd';
3
+ export type { CheckboxProps } from 'antd';
4
+ export type { CheckboxGroupProps } from 'antd/es/checkbox';
5
+ export type CheckboxOption<T = any> = CheckboxOptionType<T>;
@@ -0,0 +1,3 @@
1
+ import { CodeHighlighterProps } from './props';
2
+ export declare function CodeHighlighter({ children, language, showLineNumbers, startingLineNumber, wrapLines, wrapLongLines, className, style, customStyle, lineProps }: CodeHighlighterProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ export { type CodeHighlighterProps } from './props';
@@ -0,0 +1,58 @@
1
+ import { CSSProperties } from 'react';
2
+ import { SyntaxHighlighterProps } from 'react-syntax-highlighter';
3
+ /**
4
+ * The props of the CodeHighlighter component.
5
+ */
6
+ export interface CodeHighlighterProps {
7
+ /**
8
+ * The code string to highlight.
9
+ */
10
+ children: string;
11
+ /**
12
+ * The programming language for syntax highlighting.
13
+ *
14
+ * @default "typescript"
15
+ */
16
+ language?: string;
17
+ /**
18
+ * Whether to show line numbers.
19
+ *
20
+ * @default false
21
+ */
22
+ showLineNumbers?: boolean;
23
+ /**
24
+ * Starting line number when showLineNumbers is true.
25
+ *
26
+ * @default 1
27
+ */
28
+ startingLineNumber?: number;
29
+ /**
30
+ * Whether to wrap long lines.
31
+ *
32
+ * @default false
33
+ */
34
+ wrapLines?: boolean;
35
+ /**
36
+ * Whether to wrap long lines with a scrollbar instead of breaking them.
37
+ *
38
+ * @default true
39
+ */
40
+ wrapLongLines?: boolean;
41
+ /**
42
+ * Additional CSS class name for the component.
43
+ */
44
+ className?: string;
45
+ /**
46
+ * Custom CSS styles to apply to the component.
47
+ */
48
+ style?: CSSProperties;
49
+ /**
50
+ * Custom style object for the syntax highlighter.
51
+ * You can import styles from 'react-syntax-highlighter/dist/esm/styles/prism'.
52
+ */
53
+ customStyle?: CSSProperties;
54
+ /**
55
+ * Lines to highlight (e.g., [1, 3, 5] or "1,3,5-7").
56
+ */
57
+ lineProps?: SyntaxHighlighterProps["lineProps"];
58
+ }
@@ -0,0 +1,2 @@
1
+ export { Col } from 'antd';
2
+ export type { ColProps } from 'antd';
@@ -0,0 +1,5 @@
1
+ import { IterableElement } from '@vef-framework/shared';
2
+ import { CollapseProps, GetProp } from 'antd';
3
+ export { Collapse } from 'antd';
4
+ export type { CollapseProps } from 'antd';
5
+ export type CollapseItem = IterableElement<GetProp<CollapseProps, "items">>;
@@ -0,0 +1,2 @@
1
+ export { ColorPicker } from 'antd';
2
+ export type { ColorPickerProps } from 'antd';
@@ -0,0 +1,5 @@
1
+ import { SpaceCompactProps } from 'antd/es/space/Compact';
2
+ import { FC } from 'react';
3
+ declare const Compact: FC<SpaceCompactProps>;
4
+ export { Compact };
5
+ export type CompactProps = SpaceCompactProps;