@unicom-cloud/ui 0.8.83 → 0.8.84

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 (1070) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/AutoComplete.js +2 -2
  4. package/BackTop.js +2 -2
  5. package/Badge.js +1 -1
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +4 -4
  9. package/Card.js +1 -1
  10. package/Carousel.js +1 -1
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/Collapse.js +1 -1
  14. package/ColorPicker.js +2 -2
  15. package/Comment.js +1 -1
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +1 -1
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Development.js +8 -0
  21. package/Divider.js +1 -1
  22. package/Draggable.js +1 -1
  23. package/Dropdown.js +1 -1
  24. package/Empty.js +2 -4
  25. package/Icon.js +1 -1
  26. package/IconHover.js +1 -1
  27. package/Image.js +1 -1
  28. package/Input.js +8 -9
  29. package/InputNumber.js +1 -1
  30. package/Layout.js +1 -1
  31. package/Link.js +1 -1
  32. package/List.js +2 -2
  33. package/Mentions.js +2 -2
  34. package/Menu.js +1 -1
  35. package/Message.js +1 -1
  36. package/Modal.js +1 -1
  37. package/Notice.js +1 -1
  38. package/Notification.js +1 -1
  39. package/OverflowEllipsis.js +1 -1
  40. package/PageHeader.js +1 -1
  41. package/Pagination.js +1 -1
  42. package/Popconfirm.js +1 -1
  43. package/Popover.js +1 -1
  44. package/Progress.js +1 -1
  45. package/Radio.js +1 -1
  46. package/Rate.js +1 -1
  47. package/ResizeBox.js +1 -1
  48. package/Result.js +1 -1
  49. package/Select.js +1 -1
  50. package/Skeleton.js +1 -1
  51. package/Slider.js +1 -1
  52. package/Space.js +1 -1
  53. package/SpeechSynthesis.js +2 -44
  54. package/Spin.js +1 -1
  55. package/Statistic.js +2 -2
  56. package/Steps.js +1 -1
  57. package/Switch.js +1 -1
  58. package/Table.js +1 -1
  59. package/Tabs.js +1 -1
  60. package/Tag.js +1 -1
  61. package/Tooltip.js +1 -1
  62. package/Transfer.js +2 -2
  63. package/Tree.js +1 -1
  64. package/TreeSelect.js +1 -1
  65. package/Trigger.js +1 -1
  66. package/Typography.js +1 -1
  67. package/affix/index.js +1 -1
  68. package/alert/index.js +1 -1
  69. package/anchor/Anchor.js +1 -1
  70. package/anchor/Link.js +1 -1
  71. package/anchor/util.js +1 -1
  72. package/auto-complete/index.js +2 -2
  73. package/avatar/Avatar.js +1 -1
  74. package/avatar/Group.js +1 -1
  75. package/back-top/index.js +9 -9
  76. package/badge/index.js +1 -1
  77. package/breadcrumb/index.js +2 -2
  78. package/button/Group.js +1 -1
  79. package/button/index.js +1 -1
  80. package/calendar/Month.js +2 -2
  81. package/calendar/Year.js +11 -11
  82. package/calendar/index.js +4 -4
  83. package/card/Grid.js +1 -1
  84. package/card/Meta.js +1 -1
  85. package/card/index.js +1 -1
  86. package/carousel/Arrow.js +1 -1
  87. package/carousel/Indicator.js +1 -1
  88. package/carousel/index.js +1 -1
  89. package/cascader/Cascader.js +2 -2
  90. package/cascader/index.js +1 -1
  91. package/cascader/util.js +1 -1
  92. package/checkbox/Checkbox.js +2 -2
  93. package/checkbox/Group.js +2 -2
  94. package/checkbox/GroupBlock.js +2 -2
  95. package/checkbox/index.js +2 -2
  96. package/chunk/{R-uQJib2.js → B1kymbJZ.js} +2 -2
  97. package/chunk/B44Hj5ad.js +697 -0
  98. package/chunk/{BZ9g7J4R.js → BC2OXILt.js} +1 -1
  99. package/chunk/{ev6oHWqY.js → BJjotfW6.js} +1 -1
  100. package/chunk/{uKZyjtff.js → BNevupAU.js} +4 -5
  101. package/chunk/BRPQJFSI.js +649 -0
  102. package/chunk/{CVSWh4ZZ.js → BZJwzdhZ.js} +1 -1
  103. package/chunk/C7bohPVD.js +185 -0
  104. package/chunk/{BmulTYLW.js → DO3k0z6J.js} +2802 -2791
  105. package/chunk/Doi4-DdV.js +1472 -0
  106. package/chunk/{DdJVL_4g.js → DuWBv5j3.js} +1 -1
  107. package/chunk/{DSRHFFrc.js → DzekwbB4.js} +1 -1
  108. package/collapse/Collapse.js +2 -2
  109. package/collapse/Item.js +2 -2
  110. package/collapse/index.js +1 -1
  111. package/color-picker/ControlBar.js +1 -1
  112. package/color-picker/InputAlpha.js +1 -1
  113. package/color-picker/InputHex.js +4 -4
  114. package/color-picker/InputRgb.js +3 -3
  115. package/color-picker/Palette.js +1 -1
  116. package/color-picker/Panel.js +2 -2
  117. package/color-picker/index.js +2 -2
  118. package/comment/index.js +1 -1
  119. package/config-provider/ConfigProvider.js +2 -2
  120. package/config-provider/context.js +1 -1
  121. package/config-provider/index.js +2 -2
  122. package/copy/index.js +1 -1
  123. package/date-picker/Picker.js +2 -2
  124. package/date-picker/RangePicker.js +3 -3
  125. package/date-picker/index.js +1 -1
  126. package/date-picker/util.js +1 -1
  127. package/descriptions/index.js +1 -1
  128. package/development/index.js +42 -0
  129. package/divider/index.js +1 -1
  130. package/draggable/index.js +1 -1
  131. package/drawer/Drawer.js +153 -152
  132. package/dropdown/Button.js +1 -1
  133. package/dropdown/index.js +1 -1
  134. package/empty/index.js +2 -4
  135. package/form/Form.js +1 -1
  136. package/form/FormItem.js +1 -1
  137. package/form/context.js +1 -1
  138. package/grid/Col.js +1 -1
  139. package/grid/Row.js +1 -1
  140. package/grid/grid-item.js +1 -1
  141. package/grid/grid.js +1 -1
  142. package/icon/index.js +1 -1
  143. package/icon-hover/index.js +1 -1
  144. package/image/Image.js +2 -2
  145. package/image/ImagePreview.js +2 -2
  146. package/image/ImagePreviewArrow.js +1 -1
  147. package/image/ImagePreviewGroup.js +1 -1
  148. package/image/index.js +1 -1
  149. package/index.js +310 -308
  150. package/input/Button.js +1 -1
  151. package/input/Group.js +1 -1
  152. package/input/Input.js +332 -330
  153. package/input/InputElement.js +1 -1
  154. package/input/Password.js +1 -1
  155. package/input/Search.js +1 -1
  156. package/input/Textarea.js +1 -1
  157. package/input/index.js +7 -8
  158. package/input-number/index.js +1 -1
  159. package/input-tag/InputTag.js +1 -1
  160. package/layout/Content.js +1 -1
  161. package/layout/Footer.js +1 -1
  162. package/layout/Header.js +1 -1
  163. package/layout/Sider.js +1 -1
  164. package/layout/index.js +1 -1
  165. package/link/index.js +1 -1
  166. package/list/Item.js +1 -1
  167. package/list/Meta.js +1 -1
  168. package/list/index.js +2 -2
  169. package/mentions/index.js +2 -2
  170. package/menu/Menu.js +2 -2
  171. package/menu/OverflowWrap.js +1 -1
  172. package/menu/index.js +2 -2
  173. package/message/index.js +1 -1
  174. package/message/useMessage.js +1 -1
  175. package/modal/Confirm.js +2 -2
  176. package/modal/Modal.js +2 -2
  177. package/modal/index.js +1 -1
  178. package/notice/index.js +1 -1
  179. package/notification/index.js +1 -1
  180. package/notification/useNotification.js +1 -1
  181. package/overflow-ellipsis/OverflowItem.js +1 -1
  182. package/overflow-ellipsis/index.js +1 -1
  183. package/package.json +1 -1
  184. package/page-header/index.js +1 -1
  185. package/pagination/PageItem.js +1 -1
  186. package/pagination/PageJumper.js +4 -4
  187. package/pagination/PageOption.js +2 -2
  188. package/pagination/Pagination.js +2 -2
  189. package/pagination/index.js +1 -1
  190. package/picker/Input.js +1 -1
  191. package/picker/InputRange.js +1 -1
  192. package/popconfirm/index.js +1 -1
  193. package/popover/index.js +1 -1
  194. package/progress/index.js +1 -1
  195. package/radio/Group.js +2 -2
  196. package/radio/GroupBlock.js +2 -2
  197. package/radio/Radio.js +2 -2
  198. package/radio/index.js +2 -2
  199. package/rate/index.js +1 -1
  200. package/resize-box/ResizeTrigger.js +1 -1
  201. package/resize-box/Split.js +1 -1
  202. package/resize-box/SplitGroup.js +1 -1
  203. package/resize-box/index.js +1 -1
  204. package/result/index.js +1 -1
  205. package/select/Option.js +1 -1
  206. package/select/Select.js +2 -2
  207. package/select/index.js +2 -2
  208. package/select/util.js +1 -1
  209. package/select-view/Core.js +77 -77
  210. package/skeleton/index.js +1 -1
  211. package/slider/Button.js +1 -1
  212. package/slider/index.js +59 -59
  213. package/space/index.js +1 -1
  214. package/speech-synthesis/index.js +41 -83
  215. package/spin/DotLoading.js +1 -1
  216. package/spin/index.js +1 -1
  217. package/statistic/Countdown.js +2 -2
  218. package/statistic/index.js +18 -18
  219. package/steps/index.js +1 -1
  220. package/style.css +1 -1
  221. package/switch/index.js +1 -1
  222. package/table/Table.js +3 -3
  223. package/table/index.js +1 -1
  224. package/tabs/Tab.js +2 -2
  225. package/tabs/TabContent.js +2 -2
  226. package/tabs/TabPane.js +1 -1
  227. package/tabs/index.js +2 -2
  228. package/tag/index.js +1 -1
  229. package/time-picker/Picker.js +92 -90
  230. package/time-picker/RangePicker.js +1 -1
  231. package/time-picker/TimePicker.js +2 -2
  232. package/time-picker/util.js +6 -6
  233. package/timeline/Item.js +1 -1
  234. package/timeline/Timeline.js +1 -1
  235. package/tooltip/index.js +1 -1
  236. package/transfer/Item.js +2 -2
  237. package/transfer/List.js +2 -2
  238. package/transfer/index.js +2 -2
  239. package/tree/Animation.js +2 -2
  240. package/tree/Node.js +2 -2
  241. package/tree/NodeList.js +1 -1
  242. package/tree/Tree.js +2 -2
  243. package/tree/index.js +1 -1
  244. package/tree/util.js +34 -34
  245. package/tree-select/List.js +1 -1
  246. package/tree-select/Select.js +2 -2
  247. package/tree-select/index.js +2 -2
  248. package/trigger/index.js +1 -1
  249. package/types/common/assets/hourglass.d.ts +2 -0
  250. package/types/common/development/index.d.ts +2 -0
  251. package/types/common/empty/index.d.ts +4 -0
  252. package/types/common/empty/interface.d.ts +24 -0
  253. package/types/common/higher-order/with-speech-synthesis/index.d.ts +2 -0
  254. package/types/common/hooks/useComputedState.d.ts +4 -0
  255. package/types/common/hooks/useCreate.d.ts +2 -0
  256. package/types/common/hooks/useForceUpdate.d.ts +16 -0
  257. package/types/common/hooks/useId.d.ts +6 -0
  258. package/types/common/hooks/useInView.d.ts +11 -0
  259. package/types/common/hooks/useIntersectionObserver.d.ts +7 -0
  260. package/types/common/hooks/useInterval.d.ts +2 -0
  261. package/types/common/hooks/useIsFirstRender.d.ts +2 -0
  262. package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  263. package/types/common/hooks/useKeyboardEvent.d.ts +8 -0
  264. package/types/common/hooks/useListenResize.d.ts +18 -0
  265. package/types/common/hooks/useMedia.d.ts +2 -0
  266. package/types/common/hooks/useMergeProps.d.ts +5 -0
  267. package/types/common/hooks/useMergeValue.d.ts +6 -0
  268. package/types/common/hooks/useOnlineStatus.d.ts +2 -0
  269. package/types/common/hooks/useOverflowHidden.d.ts +5 -0
  270. package/types/common/hooks/useOverrideRef.d.ts +6 -0
  271. package/types/common/hooks/usePersistCallback.d.ts +2 -0
  272. package/types/common/hooks/usePrefersColorSchemeDark.d.ts +2 -0
  273. package/types/common/hooks/usePrevious.d.ts +3 -0
  274. package/types/common/hooks/useRefs.d.ts +2 -0
  275. package/types/common/hooks/useResizeObserver.d.ts +6 -0
  276. package/types/common/hooks/useStateCallback.d.ts +5 -0
  277. package/types/common/hooks/useStateWithPromise.d.ts +2 -0
  278. package/types/common/hooks/useUpdateEffect.d.ts +19 -0
  279. package/types/common/hooks/useWatch.d.ts +3 -0
  280. package/types/common/hooks/useWindowSize.d.ts +18 -0
  281. package/types/common/utils/PqbCSSTransition.d.ts +4 -0
  282. package/types/common/utils/caseName.d.ts +1 -0
  283. package/types/common/utils/className.d.ts +1 -0
  284. package/types/common/utils/constant.d.ts +2 -0
  285. package/types/{utils → common/utils}/copy.d.ts +1 -1
  286. package/types/common/utils/dayjs.d.ts +22 -0
  287. package/types/common/utils/dom.d.ts +12 -0
  288. package/types/common/utils/fileToURL.d.ts +1 -0
  289. package/types/common/utils/fillNBSP.d.ts +3 -0
  290. package/types/common/utils/getHighlightText.d.ts +7 -0
  291. package/types/common/utils/getHotkeyHandler.d.ts +18 -0
  292. package/types/common/utils/getStringLength.d.ts +3 -0
  293. package/types/common/utils/include.d.ts +3 -0
  294. package/types/common/utils/is.d.ts +17 -0
  295. package/types/common/utils/lodash.d.ts +17 -0
  296. package/types/common/utils/mergeProps.d.ts +3 -0
  297. package/types/common/utils/mergedToString.d.ts +4 -0
  298. package/types/common/utils/omit.d.ts +3 -0
  299. package/types/common/utils/pad.d.ts +2 -0
  300. package/types/common/utils/pick.d.ts +6 -0
  301. package/types/common/utils/react19Adapter.d.ts +1 -0
  302. package/types/common/utils/reactDOM.d.ts +14 -0
  303. package/types/common/utils/resizeObserverEffect.d.ts +2 -0
  304. package/types/common/utils/saveAs.d.ts +1 -0
  305. package/types/common/utils/screenfull.d.ts +1 -0
  306. package/types/common/utils/scrollIntoView.d.ts +4 -0
  307. package/types/common/utils/style.d.ts +3 -0
  308. package/types/common/utils/throttleByRaf.d.ts +6 -0
  309. package/types/common/utils/warning.d.ts +3 -0
  310. package/types/pc/affix/interface.d.ts +52 -0
  311. package/types/pc/alert/interface.d.ts +66 -0
  312. package/types/pc/anchor/interface.d.ts +105 -0
  313. package/types/{anchor → pc/anchor}/util.d.ts +1 -1
  314. package/types/pc/auto-complete/interface.d.ts +127 -0
  315. package/types/pc/avatar/interface.d.ts +95 -0
  316. package/types/pc/back-top/interface.d.ts +42 -0
  317. package/types/pc/badge/interface.d.ts +66 -0
  318. package/types/pc/breadcrumb/interface.d.ts +78 -0
  319. package/types/{button → pc/button}/index.d.ts +2 -2
  320. package/types/pc/button/interface.d.ts +115 -0
  321. package/types/pc/calendar/hook/useCellClassName.d.ts +2 -0
  322. package/types/pc/calendar/interface.d.ts +122 -0
  323. package/types/pc/card/interface.d.ts +99 -0
  324. package/types/pc/carousel/interface.d.ts +144 -0
  325. package/types/{cascader → pc/cascader}/base/node.d.ts +30 -0
  326. package/types/{cascader → pc/cascader}/base/store.d.ts +17 -0
  327. package/types/pc/cascader/interface.d.ts +308 -0
  328. package/types/pc/checkbox/interface.d.ts +102 -0
  329. package/types/{checkbox → pc/checkbox}/useCheckbox.d.ts +9 -0
  330. package/types/pc/collapse/interface.d.ts +111 -0
  331. package/types/{color-picker → pc/color-picker}/hooks/useColorPicker.d.ts +2 -2
  332. package/types/pc/color-picker/interface.d.ts +149 -0
  333. package/types/pc/comment/interface.d.ts +41 -0
  334. package/types/{config-provider → pc/config-provider}/interface.d.ts +71 -0
  335. package/types/pc/date-picker/RangePicker.d.ts +3 -0
  336. package/types/pc/date-picker/hook/useCellClassName.d.ts +2 -0
  337. package/types/pc/date-picker/interface.d.ts +518 -0
  338. package/types/pc/descriptions/interface.d.ts +79 -0
  339. package/types/pc/development/index.d.ts +2 -0
  340. package/types/pc/divider/interface.d.ts +21 -0
  341. package/types/{draggable → pc/draggable}/interface.d.ts +2 -0
  342. package/types/pc/drawer/interface.d.ts +181 -0
  343. package/types/pc/dropdown/interface.d.ts +110 -0
  344. package/types/pc/empty/index.d.ts +4 -0
  345. package/types/pc/empty/interface.d.ts +8 -0
  346. package/types/{form → pc/form}/Control.d.ts +8 -0
  347. package/types/{form → pc/form}/hook/useContext.d.ts +3 -0
  348. package/types/pc/form/interface.d.ts +544 -0
  349. package/types/{form → pc/form}/store.d.ts +10 -0
  350. package/types/pc/grid/interface.d.ts +239 -0
  351. package/types/{hooks → pc/hooks}/use-verification-code/interface.d.ts +41 -0
  352. package/types/pc/hooks/use-watermark/interface.d.ts +81 -0
  353. package/types/pc/hooks/useComputedState.d.ts +1 -0
  354. package/types/pc/hooks/useCreate.d.ts +1 -0
  355. package/types/pc/hooks/useForceUpdate.d.ts +1 -0
  356. package/types/pc/hooks/useId.d.ts +1 -0
  357. package/types/pc/hooks/useInView.d.ts +1 -0
  358. package/types/pc/hooks/useIntersectionObserver.d.ts +1 -0
  359. package/types/pc/hooks/useInterval.d.ts +1 -0
  360. package/types/pc/hooks/useIsFirstRender.d.ts +1 -0
  361. package/types/pc/hooks/useIsomorphicLayoutEffect.d.ts +1 -0
  362. package/types/pc/hooks/useKeyboardEvent.d.ts +1 -0
  363. package/types/pc/hooks/useListenResize.d.ts +1 -0
  364. package/types/pc/hooks/useMedia.d.ts +1 -0
  365. package/types/pc/hooks/useMergeProps.d.ts +2 -0
  366. package/types/pc/hooks/useMergeValue.d.ts +1 -0
  367. package/types/pc/hooks/useOnlineStatus.d.ts +1 -0
  368. package/types/pc/hooks/useOverflowHidden.d.ts +1 -0
  369. package/types/pc/hooks/useOverrideRef.d.ts +1 -0
  370. package/types/pc/hooks/usePersistCallback.d.ts +1 -0
  371. package/types/pc/hooks/usePrefersColorSchemeDark.d.ts +1 -0
  372. package/types/pc/hooks/usePrevious.d.ts +1 -0
  373. package/types/pc/hooks/useRefs.d.ts +1 -0
  374. package/types/pc/hooks/useResizeObserver.d.ts +1 -0
  375. package/types/pc/hooks/useStateCallback.d.ts +1 -0
  376. package/types/pc/hooks/useStateWithPromise.d.ts +1 -0
  377. package/types/pc/hooks/useUpdateEffect.d.ts +1 -0
  378. package/types/pc/hooks/useWatch.d.ts +1 -0
  379. package/types/pc/hooks/useWindowSize.d.ts +1 -0
  380. package/types/pc/image/interface.d.ts +275 -0
  381. package/types/{index.d.ts → pc/index.d.ts} +1 -0
  382. package/types/{input → pc/input}/Input.d.ts +7 -8
  383. package/types/{input → pc/input}/Textarea.d.ts +3 -0
  384. package/types/{input → pc/input}/index.d.ts +2 -2
  385. package/types/pc/input/interface.d.ts +344 -0
  386. package/types/{input-number → pc/input-number}/decimal.d.ts +5 -0
  387. package/types/pc/input-number/interface.d.ts +141 -0
  388. package/types/{input-number → pc/input-number}/util.d.ts +15 -0
  389. package/types/pc/input-tag/interface.d.ts +215 -0
  390. package/types/pc/layout/interface.d.ts +121 -0
  391. package/types/pc/link/interface.d.ts +30 -0
  392. package/types/pc/list/interface.d.ts +192 -0
  393. package/types/pc/mentions/interface.d.ts +92 -0
  394. package/types/{menu → pc/menu}/context.d.ts +1 -1
  395. package/types/pc/menu/interface.d.ts +233 -0
  396. package/types/pc/message/interface.d.ts +84 -0
  397. package/types/pc/modal/interface.d.ts +186 -0
  398. package/types/pc/notification/interface.d.ts +78 -0
  399. package/types/pc/page-header/interface.d.ts +49 -0
  400. package/types/{pagination → pc/pagination}/PageItem.d.ts +11 -0
  401. package/types/pc/pagination/interface.d.ts +134 -0
  402. package/types/pc/popconfirm/interface.d.ts +114 -0
  403. package/types/{popover → pc/popover}/interface.d.ts +12 -0
  404. package/types/{portal → pc/portal}/Portal.d.ts +1 -0
  405. package/types/{portal → pc/portal}/index.d.ts +1 -0
  406. package/types/pc/progress/interface.d.ts +92 -0
  407. package/types/pc/radio/interface.d.ts +103 -0
  408. package/types/pc/rate/interface.d.ts +70 -0
  409. package/types/{resize-box → pc/resize-box}/ResizeTrigger.d.ts +6 -0
  410. package/types/pc/resize-box/interface.d.ts +264 -0
  411. package/types/pc/result/interface.d.ts +35 -0
  412. package/types/pc/select/interface.d.ts +321 -0
  413. package/types/{select → pc/select}/util.d.ts +2 -1
  414. package/types/pc/select-view/interface.d.ts +151 -0
  415. package/types/{skeleton → pc/skeleton}/interface.d.ts +26 -0
  416. package/types/pc/slider/interface.d.ts +122 -0
  417. package/types/pc/space/interface.d.ts +38 -0
  418. package/types/pc/spin/interface.d.ts +50 -0
  419. package/types/pc/statistic/interface.d.ts +139 -0
  420. package/types/pc/steps/interface.d.ts +124 -0
  421. package/types/pc/switch/interface.d.ts +65 -0
  422. package/types/{table → pc/table}/hook/useThResizable.d.ts +1 -1
  423. package/types/pc/table/interface.d.ts +713 -0
  424. package/types/pc/tabs/interface.d.ts +217 -0
  425. package/types/pc/tag/interface.d.ts +76 -0
  426. package/types/pc/time-picker/interface.d.ts +244 -0
  427. package/types/pc/timeline/interface.d.ts +95 -0
  428. package/types/pc/tooltip/interface.d.ts +92 -0
  429. package/types/pc/transfer/interface.d.ts +225 -0
  430. package/types/pc/tree/interface.d.ts +354 -0
  431. package/types/pc/tree-select/interface.d.ts +211 -0
  432. package/types/pc/trigger/interface.d.ts +247 -0
  433. package/types/pc/typography/interface.d.ts +262 -0
  434. package/types/pc/upload/interface.d.ts +337 -0
  435. package/types/pc/utils/PqbCSSTransition.d.ts +3 -0
  436. package/types/pc/utils/caseName.d.ts +3 -0
  437. package/types/pc/utils/className.d.ts +3 -0
  438. package/types/pc/utils/constant.d.ts +4 -0
  439. package/types/pc/utils/copy.d.ts +3 -0
  440. package/types/{utils → pc/utils}/dayjs.d.ts +1 -1
  441. package/types/{utils → pc/utils}/dom.d.ts +1 -1
  442. package/types/pc/utils/fileToURL.d.ts +3 -0
  443. package/types/pc/utils/fillNBSP.d.ts +3 -0
  444. package/types/pc/utils/getHighlightText.d.ts +3 -0
  445. package/types/pc/utils/getHotkeyHandler.d.ts +4 -0
  446. package/types/pc/utils/getStringLength.d.ts +3 -0
  447. package/types/pc/utils/include.d.ts +3 -0
  448. package/types/{utils → pc/utils}/is.d.ts +1 -1
  449. package/types/pc/utils/keyboardCode.d.ts +4 -0
  450. package/types/{utils → pc/utils}/lodash.d.ts +1 -1
  451. package/types/pc/utils/mergeProps.d.ts +3 -0
  452. package/types/pc/utils/mergedToString.d.ts +3 -0
  453. package/types/{utils → pc/utils}/names.d.ts +6 -0
  454. package/types/pc/utils/omit.d.ts +3 -0
  455. package/types/pc/utils/pad.d.ts +1 -0
  456. package/types/pc/utils/pick.d.ts +3 -0
  457. package/types/pc/utils/react19Adapter.d.ts +1 -0
  458. package/types/pc/utils/reactDOM.d.ts +1 -0
  459. package/types/pc/utils/resizeObserverEffect.d.ts +2 -0
  460. package/types/pc/utils/saveAs.d.ts +3 -0
  461. package/types/pc/utils/screenfull.d.ts +3 -0
  462. package/types/{utils → pc/utils}/scrollIntoView.d.ts +1 -1
  463. package/types/pc/utils/setDarkTheme.d.ts +3 -0
  464. package/types/pc/utils/setPrimaryColor.d.ts +2 -0
  465. package/types/pc/utils/setTheme.d.ts +2 -0
  466. package/types/pc/utils/style.d.ts +1 -0
  467. package/types/pc/utils/throttleByRaf.d.ts +1 -0
  468. package/types/pc/utils/throttleByRaf2.d.ts +1 -0
  469. package/types/pc/utils/tinycolor.d.ts +1 -0
  470. package/types/pc/utils/type.d.ts +1 -0
  471. package/types/pc/utils/warning.d.ts +1 -0
  472. package/types/pc/verification-code/interface.d.ts +80 -0
  473. package/types/{virtual-list → pc/virtual-list}/Filler.d.ts +5 -0
  474. package/types/{virtual-list → pc/virtual-list}/VirtualList.d.ts +1 -0
  475. package/types/pc/virtual-list/util/algorithm.d.ts +23 -0
  476. package/types/{virtual-list → pc/virtual-list}/util/item.d.ts +31 -0
  477. package/types/pc/watermark/interface.d.ts +70 -0
  478. package/typography/Base.js +1 -1
  479. package/typography/Ellipsis.js +9 -9
  480. package/typography/Paragraph.js +1 -1
  481. package/typography/Typography.js +1 -1
  482. package/typography/index.js +1 -1
  483. package/upload/TriggerNode.js +1 -1
  484. package/upload/Upload.js +1 -1
  485. package/upload/request.js +1 -1
  486. package/upload/request_.js +1 -1
  487. package/utils/constant.js +5 -5
  488. package/utils/contextHolder.js +1 -1
  489. package/utils/dayjs.js +1 -1
  490. package/utils/index.js +20 -20
  491. package/utils/names.js +4 -0
  492. package/utils/setPrimaryColor.js +14 -14
  493. package/utils/setTheme.js +3 -3
  494. package/utils/tween.js +1 -1
  495. package/utils/type.js +1 -4
  496. package/verification-code/VerificationCode.js +1 -1
  497. package/version/index.js +1 -1
  498. package/watermark/Watermark.js +1 -1
  499. package/chunk/C9oo3EJI.js +0 -692
  500. package/chunk/DILUZgXW.js +0 -1464
  501. package/chunk/DlHiTTJO.js +0 -648
  502. package/chunk/tamGhTJp.js +0 -186
  503. package/types/affix/interface.d.ts +0 -12
  504. package/types/affix/style/index.d.ts +0 -2
  505. package/types/alert/interface.d.ts +0 -17
  506. package/types/alert/style/index.d.ts +0 -2
  507. package/types/anchor/interface.d.ts +0 -24
  508. package/types/anchor/style/index.d.ts +0 -3
  509. package/types/auto-complete/interface.d.ts +0 -36
  510. package/types/auto-complete/style/index.d.ts +0 -4
  511. package/types/avatar/interface.d.ts +0 -24
  512. package/types/avatar/style/index.d.ts +0 -3
  513. package/types/back-top/interface.d.ts +0 -11
  514. package/types/back-top/style/index.d.ts +0 -2
  515. package/types/badge/interface.d.ts +0 -18
  516. package/types/badge/style/index.d.ts +0 -2
  517. package/types/breadcrumb/interface.d.ts +0 -31
  518. package/types/breadcrumb/style/index.d.ts +0 -3
  519. package/types/button/interface.d.ts +0 -37
  520. package/types/button/style/index.d.ts +0 -2
  521. package/types/calendar/hook/useCellClassName.d.ts +0 -2
  522. package/types/calendar/interface.d.ts +0 -41
  523. package/types/calendar/style/index.d.ts +0 -4
  524. package/types/card/interface.d.ts +0 -32
  525. package/types/card/style/index.d.ts +0 -3
  526. package/types/carousel/interface.d.ts +0 -52
  527. package/types/carousel/style/index.d.ts +0 -2
  528. package/types/cascader/interface.d.ts +0 -105
  529. package/types/cascader/style/index.d.ts +0 -6
  530. package/types/checkbox/interface.d.ts +0 -36
  531. package/types/checkbox/style/index.d.ts +0 -2
  532. package/types/collapse/interface.d.ts +0 -27
  533. package/types/collapse/style/index.d.ts +0 -2
  534. package/types/color-picker/interface.d.ts +0 -61
  535. package/types/color-picker/style/index.d.ts +0 -4
  536. package/types/comment/interface.d.ts +0 -14
  537. package/types/comment/style/index.d.ts +0 -2
  538. package/types/config-provider/style/index.d.ts +0 -2
  539. package/types/copy/style/index.d.ts +0 -3
  540. package/types/date-picker/RangePicker.d.ts +0 -3
  541. package/types/date-picker/hook/useCellClassName.d.ts +0 -2
  542. package/types/date-picker/interface.d.ts +0 -167
  543. package/types/date-picker/style/index.d.ts +0 -7
  544. package/types/descriptions/interface.d.ts +0 -29
  545. package/types/descriptions/style/index.d.ts +0 -2
  546. package/types/divider/interface.d.ts +0 -8
  547. package/types/divider/style/index.d.ts +0 -2
  548. package/types/draggable/style/index.d.ts +0 -2
  549. package/types/drawer/interface.d.ts +0 -46
  550. package/types/drawer/style/index.d.ts +0 -3
  551. package/types/dropdown/interface.d.ts +0 -29
  552. package/types/dropdown/style/index.d.ts +0 -4
  553. package/types/empty/index.d.ts +0 -5
  554. package/types/empty/interface.d.ts +0 -8
  555. package/types/empty/style/index.d.ts +0 -2
  556. package/types/form/interface.d.ts +0 -228
  557. package/types/form/style/index.d.ts +0 -3
  558. package/types/grid/interface.d.ts +0 -76
  559. package/types/grid/style/index.d.ts +0 -2
  560. package/types/hooks/use-watermark/interface.d.ts +0 -22
  561. package/types/hooks/useComputedState.d.ts +0 -1
  562. package/types/hooks/useCreate.d.ts +0 -1
  563. package/types/hooks/useForceUpdate.d.ts +0 -1
  564. package/types/hooks/useId.d.ts +0 -1
  565. package/types/hooks/useInView.d.ts +0 -1
  566. package/types/hooks/useIntersectionObserver.d.ts +0 -1
  567. package/types/hooks/useInterval.d.ts +0 -1
  568. package/types/hooks/useIsFirstRender.d.ts +0 -1
  569. package/types/hooks/useIsomorphicLayoutEffect.d.ts +0 -1
  570. package/types/hooks/useKeyboardEvent.d.ts +0 -1
  571. package/types/hooks/useListenResize.d.ts +0 -1
  572. package/types/hooks/useMedia.d.ts +0 -1
  573. package/types/hooks/useMergeProps.d.ts +0 -1
  574. package/types/hooks/useMergeValue.d.ts +0 -1
  575. package/types/hooks/useOnlineStatus.d.ts +0 -1
  576. package/types/hooks/useOverflowHidden.d.ts +0 -1
  577. package/types/hooks/useOverrideRef.d.ts +0 -1
  578. package/types/hooks/usePersistCallback.d.ts +0 -1
  579. package/types/hooks/usePrefersColorSchemeDark.d.ts +0 -1
  580. package/types/hooks/usePrevious.d.ts +0 -1
  581. package/types/hooks/useRefs.d.ts +0 -1
  582. package/types/hooks/useResizeObserver.d.ts +0 -1
  583. package/types/hooks/useStateCallback.d.ts +0 -1
  584. package/types/hooks/useStateWithPromise.d.ts +0 -1
  585. package/types/hooks/useUpdateEffect.d.ts +0 -1
  586. package/types/hooks/useWatch.d.ts +0 -1
  587. package/types/hooks/useWindowSize.d.ts +0 -1
  588. package/types/icon/style/index.d.ts +0 -2
  589. package/types/icon-hover/style/index.d.ts +0 -2
  590. package/types/image/interface.d.ts +0 -59
  591. package/types/image/style/index.d.ts +0 -2
  592. package/types/input/interface.d.ts +0 -100
  593. package/types/input/style/index.d.ts +0 -3
  594. package/types/input-number/interface.d.ts +0 -37
  595. package/types/input-number/style/index.d.ts +0 -3
  596. package/types/input-tag/interface.d.ts +0 -60
  597. package/types/input-tag/style/index.d.ts +0 -3
  598. package/types/layout/interface.d.ts +0 -39
  599. package/types/layout/style/index.d.ts +0 -4
  600. package/types/link/interface.d.ts +0 -9
  601. package/types/link/style/index.d.ts +0 -2
  602. package/types/list/interface.d.ts +0 -57
  603. package/types/list/style/index.d.ts +0 -6
  604. package/types/loading/style/index.d.ts +0 -2
  605. package/types/mentions/interface.d.ts +0 -26
  606. package/types/mentions/style/index.d.ts +0 -2
  607. package/types/menu/interface.d.ts +0 -77
  608. package/types/menu/style/index.d.ts +0 -4
  609. package/types/message/interface.d.ts +0 -31
  610. package/types/message/style/index.d.ts +0 -2
  611. package/types/modal/interface.d.ts +0 -57
  612. package/types/modal/style/index.d.ts +0 -3
  613. package/types/notice/style/index.d.ts +0 -2
  614. package/types/notification/interface.d.ts +0 -27
  615. package/types/notification/style/index.d.ts +0 -2
  616. package/types/page-header/interface.d.ts +0 -14
  617. package/types/page-header/style/index.d.ts +0 -3
  618. package/types/pagination/interface.d.ts +0 -35
  619. package/types/pagination/style/index.d.ts +0 -4
  620. package/types/picker/style/index.d.ts +0 -2
  621. package/types/popconfirm/interface.d.ts +0 -28
  622. package/types/popconfirm/style/index.d.ts +0 -5
  623. package/types/popover/style/index.d.ts +0 -3
  624. package/types/portal/style/index.d.ts +0 -2
  625. package/types/progress/interface.d.ts +0 -22
  626. package/types/progress/style/index.d.ts +0 -3
  627. package/types/radio/interface.d.ts +0 -39
  628. package/types/radio/style/index.d.ts +0 -2
  629. package/types/rate/interface.d.ts +0 -17
  630. package/types/rate/style/index.d.ts +0 -3
  631. package/types/resize-box/interface.d.ts +0 -73
  632. package/types/resize-box/style/index.d.ts +0 -2
  633. package/types/result/interface.d.ts +0 -11
  634. package/types/result/style/index.d.ts +0 -2
  635. package/types/select/interface.d.ts +0 -103
  636. package/types/select/style/index.d.ts +0 -6
  637. package/types/select-view/interface.d.ts +0 -62
  638. package/types/select-view/style/index.d.ts +0 -2
  639. package/types/skeleton/style/index.d.ts +0 -2
  640. package/types/slider/interface.d.ts +0 -32
  641. package/types/slider/style/index.d.ts +0 -5
  642. package/types/space/interface.d.ts +0 -12
  643. package/types/space/style/index.d.ts +0 -2
  644. package/types/spin/interface.d.ts +0 -14
  645. package/types/spin/style/index.d.ts +0 -2
  646. package/types/statistic/interface.d.ts +0 -33
  647. package/types/statistic/style/index.d.ts +0 -3
  648. package/types/steps/interface.d.ts +0 -42
  649. package/types/steps/style/index.d.ts +0 -2
  650. package/types/switch/interface.d.ts +0 -17
  651. package/types/switch/style/index.d.ts +0 -2
  652. package/types/table/interface.d.ts +0 -301
  653. package/types/table/style/index.d.ts +0 -12
  654. package/types/tabs/interface.d.ts +0 -66
  655. package/types/tabs/style/index.d.ts +0 -3
  656. package/types/tag/interface.d.ts +0 -23
  657. package/types/tag/style/index.d.ts +0 -2
  658. package/types/time-picker/interface.d.ts +0 -62
  659. package/types/time-picker/style/index.d.ts +0 -5
  660. package/types/timeline/interface.d.ts +0 -26
  661. package/types/timeline/style/index.d.ts +0 -2
  662. package/types/tooltip/interface.d.ts +0 -23
  663. package/types/tooltip/style/index.d.ts +0 -3
  664. package/types/transfer/interface.d.ts +0 -91
  665. package/types/transfer/style/index.d.ts +0 -6
  666. package/types/tree/interface.d.ts +0 -153
  667. package/types/tree/style/index.d.ts +0 -3
  668. package/types/tree-select/interface.d.ts +0 -79
  669. package/types/tree-select/style/index.d.ts +0 -5
  670. package/types/trigger/interface.d.ts +0 -73
  671. package/types/trigger/style/index.d.ts +0 -2
  672. package/types/typography/interface.d.ts +0 -97
  673. package/types/typography/style/index.d.ts +0 -5
  674. package/types/upload/interface.d.ts +0 -126
  675. package/types/upload/style/index.d.ts +0 -6
  676. package/types/utils/PqbCSSTransition.d.ts +0 -3
  677. package/types/utils/caseName.d.ts +0 -3
  678. package/types/utils/className.d.ts +0 -3
  679. package/types/utils/constant.d.ts +0 -4
  680. package/types/utils/fileToURL.d.ts +0 -3
  681. package/types/utils/fillNBSP.d.ts +0 -3
  682. package/types/utils/getHighlightText.d.ts +0 -3
  683. package/types/utils/getHotkeyHandler.d.ts +0 -3
  684. package/types/utils/getStringLength.d.ts +0 -3
  685. package/types/utils/include.d.ts +0 -3
  686. package/types/utils/mergeProps.d.ts +0 -3
  687. package/types/utils/mergedToString.d.ts +0 -3
  688. package/types/utils/omit.d.ts +0 -3
  689. package/types/utils/pad.d.ts +0 -1
  690. package/types/utils/pick.d.ts +0 -3
  691. package/types/utils/react19Adapter.d.ts +0 -1
  692. package/types/utils/reactDOM.d.ts +0 -1
  693. package/types/utils/resizeObserverEffect.d.ts +0 -2
  694. package/types/utils/saveAs.d.ts +0 -3
  695. package/types/utils/screenfull.d.ts +0 -3
  696. package/types/utils/style.d.ts +0 -1
  697. package/types/utils/throttleByRaf.d.ts +0 -1
  698. package/types/utils/throttleByRaf2.d.ts +0 -1
  699. package/types/utils/warning.d.ts +0 -1
  700. package/types/verification-code/interface.d.ts +0 -25
  701. package/types/verification-code/style/index.d.ts +0 -3
  702. package/types/virtual-list/style/index.d.ts +0 -2
  703. package/types/virtual-list/util/algorithm.d.ts +0 -6
  704. package/types/watermark/interface.d.ts +0 -21
  705. package/types/watermark/style/index.d.ts +0 -1
  706. /package/types/{utils → common/utils}/keyboardCode.d.ts +0 -0
  707. /package/types/{utils → common/utils}/setDarkTheme.d.ts +0 -0
  708. /package/types/{utils → common/utils}/setPrimaryColor.d.ts +0 -0
  709. /package/types/{utils → common/utils}/setTheme.d.ts +0 -0
  710. /package/types/{utils → common/utils}/tinycolor.d.ts +0 -0
  711. /package/types/{utils → common/utils}/type.d.ts +0 -0
  712. /package/types/{affix → pc/affix}/index.d.ts +0 -0
  713. /package/types/{alert → pc/alert}/index.d.ts +0 -0
  714. /package/types/{anchor → pc/anchor}/Anchor.d.ts +0 -0
  715. /package/types/{anchor → pc/anchor}/Link.d.ts +0 -0
  716. /package/types/{anchor → pc/anchor}/context.d.ts +0 -0
  717. /package/types/{anchor → pc/anchor}/index.d.ts +0 -0
  718. /package/types/{auto-complete → pc/auto-complete}/index.d.ts +0 -0
  719. /package/types/{avatar → pc/avatar}/Avatar.d.ts +0 -0
  720. /package/types/{avatar → pc/avatar}/Group.d.ts +0 -0
  721. /package/types/{avatar → pc/avatar}/context.d.ts +0 -0
  722. /package/types/{avatar → pc/avatar}/index.d.ts +0 -0
  723. /package/types/{back-top → pc/back-top}/index.d.ts +0 -0
  724. /package/types/{badge → pc/badge}/Count.d.ts +0 -0
  725. /package/types/{badge → pc/badge}/index.d.ts +0 -0
  726. /package/types/{breadcrumb → pc/breadcrumb}/Item.d.ts +0 -0
  727. /package/types/{breadcrumb → pc/breadcrumb}/index.d.ts +0 -0
  728. /package/types/{button → pc/button}/Group.d.ts +0 -0
  729. /package/types/{calendar → pc/calendar}/Month.d.ts +0 -0
  730. /package/types/{calendar → pc/calendar}/WeekList.d.ts +0 -0
  731. /package/types/{calendar → pc/calendar}/Year.d.ts +0 -0
  732. /package/types/{calendar → pc/calendar}/header/Panel.d.ts +0 -0
  733. /package/types/{calendar → pc/calendar}/header/index.d.ts +0 -0
  734. /package/types/{calendar → pc/calendar}/index.d.ts +0 -0
  735. /package/types/{card → pc/card}/Grid.d.ts +0 -0
  736. /package/types/{card → pc/card}/Meta.d.ts +0 -0
  737. /package/types/{card → pc/card}/index.d.ts +0 -0
  738. /package/types/{carousel → pc/carousel}/Arrow.d.ts +0 -0
  739. /package/types/{carousel → pc/carousel}/Indicator.d.ts +0 -0
  740. /package/types/{carousel → pc/carousel}/index.d.ts +0 -0
  741. /package/types/{cascader → pc/cascader}/Cascader.d.ts +0 -0
  742. /package/types/{cascader → pc/cascader}/hook/useRefCurrent.d.ts +0 -0
  743. /package/types/{cascader → pc/cascader}/index.d.ts +0 -0
  744. /package/types/{cascader → pc/cascader}/panel/List.d.ts +0 -0
  745. /package/types/{cascader → pc/cascader}/panel/Option.d.ts +0 -0
  746. /package/types/{cascader → pc/cascader}/panel/Search.d.ts +0 -0
  747. /package/types/{cascader → pc/cascader}/util.d.ts +0 -0
  748. /package/types/{checkbox → pc/checkbox}/Checkbox.d.ts +0 -0
  749. /package/types/{checkbox → pc/checkbox}/Group.d.ts +0 -0
  750. /package/types/{checkbox → pc/checkbox}/GroupBlock.d.ts +0 -0
  751. /package/types/{checkbox → pc/checkbox}/IconCheck.d.ts +0 -0
  752. /package/types/{checkbox → pc/checkbox}/index.d.ts +0 -0
  753. /package/types/{collapse → pc/collapse}/Collapse.d.ts +0 -0
  754. /package/types/{collapse → pc/collapse}/Item.d.ts +0 -0
  755. /package/types/{collapse → pc/collapse}/index.d.ts +0 -0
  756. /package/types/{color-picker → pc/color-picker}/ControlBar.d.ts +0 -0
  757. /package/types/{color-picker → pc/color-picker}/InputAlpha.d.ts +0 -0
  758. /package/types/{color-picker → pc/color-picker}/InputHex.d.ts +0 -0
  759. /package/types/{color-picker → pc/color-picker}/InputRgb.d.ts +0 -0
  760. /package/types/{color-picker → pc/color-picker}/Mode.d.ts +0 -0
  761. /package/types/{color-picker → pc/color-picker}/Palette.d.ts +0 -0
  762. /package/types/{color-picker → pc/color-picker}/Panel.d.ts +0 -0
  763. /package/types/{color-picker → pc/color-picker}/colors.d.ts +0 -0
  764. /package/types/{color-picker → pc/color-picker}/hooks/useControlBlock.d.ts +0 -0
  765. /package/types/{color-picker → pc/color-picker}/index.d.ts +0 -0
  766. /package/types/{color-picker → pc/color-picker}/utils.d.ts +0 -0
  767. /package/types/{comment → pc/comment}/index.d.ts +0 -0
  768. /package/types/{config-provider → pc/config-provider}/ConfigProvider.d.ts +0 -0
  769. /package/types/{config-provider → pc/config-provider}/context.d.ts +0 -0
  770. /package/types/{config-provider → pc/config-provider}/index.d.ts +0 -0
  771. /package/types/{copy → pc/copy}/index.d.ts +0 -0
  772. /package/types/{copy → pc/copy}/interface.d.ts +0 -0
  773. /package/types/{date-picker → pc/date-picker}/Picker.d.ts +0 -0
  774. /package/types/{date-picker → pc/date-picker}/context.d.ts +0 -0
  775. /package/types/{date-picker → pc/date-picker}/index.d.ts +0 -0
  776. /package/types/{date-picker → pc/date-picker}/panel/Body.d.ts +0 -0
  777. /package/types/{date-picker → pc/date-picker}/panel/Footer.d.ts +0 -0
  778. /package/types/{date-picker → pc/date-picker}/panel/Header.d.ts +0 -0
  779. /package/types/{date-picker → pc/date-picker}/panel/Shortcut.d.ts +0 -0
  780. /package/types/{date-picker → pc/date-picker}/panel/WeekList.d.ts +0 -0
  781. /package/types/{date-picker → pc/date-picker}/panel/date/index.d.ts +0 -0
  782. /package/types/{date-picker → pc/date-picker}/panel/month/index.d.ts +0 -0
  783. /package/types/{date-picker → pc/date-picker}/panel/quarter/index.d.ts +0 -0
  784. /package/types/{date-picker → pc/date-picker}/panel/range/index.d.ts +0 -0
  785. /package/types/{date-picker → pc/date-picker}/panel/week/index.d.ts +0 -0
  786. /package/types/{date-picker → pc/date-picker}/panel/year/index.d.ts +0 -0
  787. /package/types/{date-picker → pc/date-picker}/util.d.ts +0 -0
  788. /package/types/{descriptions → pc/descriptions}/index.d.ts +0 -0
  789. /package/types/{divider → pc/divider}/index.d.ts +0 -0
  790. /package/types/{draggable → pc/draggable}/Item.d.ts +0 -0
  791. /package/types/{draggable → pc/draggable}/index.d.ts +0 -0
  792. /package/types/{drawer → pc/drawer}/Drawer.d.ts +0 -0
  793. /package/types/{drawer → pc/drawer}/index.d.ts +0 -0
  794. /package/types/{dropdown → pc/dropdown}/Button.d.ts +0 -0
  795. /package/types/{dropdown → pc/dropdown}/index.d.ts +0 -0
  796. /package/types/{form → pc/form}/Form.d.ts +0 -0
  797. /package/types/{form → pc/form}/FormItem.d.ts +0 -0
  798. /package/types/{form → pc/form}/FormLabel.d.ts +0 -0
  799. /package/types/{form → pc/form}/FormList.d.ts +0 -0
  800. /package/types/{form → pc/form}/FormProvider.d.ts +0 -0
  801. /package/types/{form → pc/form}/IconSymbol.d.ts +0 -0
  802. /package/types/{form → pc/form}/context.d.ts +0 -0
  803. /package/types/{form → pc/form}/hook/useState.d.ts +0 -0
  804. /package/types/{form → pc/form}/hook/useWatch.d.ts +0 -0
  805. /package/types/{form → pc/form}/index.d.ts +0 -0
  806. /package/types/{form → pc/form}/promisify.d.ts +0 -0
  807. /package/types/{form → pc/form}/useForm.d.ts +0 -0
  808. /package/types/{form → pc/form}/util.d.ts +0 -0
  809. /package/types/{grid → pc/grid}/Col.d.ts +0 -0
  810. /package/types/{grid → pc/grid}/Row.d.ts +0 -0
  811. /package/types/{grid → pc/grid}/context.d.ts +0 -0
  812. /package/types/{grid → pc/grid}/grid-item.d.ts +0 -0
  813. /package/types/{grid → pc/grid}/grid.d.ts +0 -0
  814. /package/types/{grid → pc/grid}/hook/useResponsiveState.d.ts +0 -0
  815. /package/types/{grid → pc/grid}/index.d.ts +0 -0
  816. /package/types/{grid → pc/grid}/util.d.ts +0 -0
  817. /package/types/{hooks → pc/hooks}/index.d.ts +0 -0
  818. /package/types/{hooks → pc/hooks}/use-verification-code/index.d.ts +0 -0
  819. /package/types/{hooks → pc/hooks}/use-watermark/index.d.ts +0 -0
  820. /package/types/{hooks → pc/hooks}/use-watermark/utils.d.ts +0 -0
  821. /package/types/{icon → pc/icon}/addFromIconFontCn.d.ts +0 -0
  822. /package/types/{icon → pc/icon}/index.d.ts +0 -0
  823. /package/types/{icon-hover → pc/icon-hover}/index.d.ts +0 -0
  824. /package/types/{icons.d.ts → pc/icons.d.ts} +0 -0
  825. /package/types/{image → pc/image}/Image.d.ts +0 -0
  826. /package/types/{image → pc/image}/ImageFooter.d.ts +0 -0
  827. /package/types/{image → pc/image}/ImagePreview.d.ts +0 -0
  828. /package/types/{image → pc/image}/ImagePreviewArrow.d.ts +0 -0
  829. /package/types/{image → pc/image}/ImagePreviewGroup.d.ts +0 -0
  830. /package/types/{image → pc/image}/ImagePreviewToolbar.d.ts +0 -0
  831. /package/types/{image → pc/image}/TriggerForToolbar.d.ts +0 -0
  832. /package/types/{image → pc/image}/index.d.ts +0 -0
  833. /package/types/{image → pc/image}/previewGroupContext.d.ts +0 -0
  834. /package/types/{image → pc/image}/util/getFixTranslate.d.ts +0 -0
  835. /package/types/{image → pc/image}/util/getScale.d.ts +0 -0
  836. /package/types/{image → pc/image}/util/hook/useImageStatus.d.ts +0 -0
  837. /package/types/{image → pc/image}/util/hook/useShowFooter.d.ts +0 -0
  838. /package/types/{input → pc/input}/Button.d.ts +0 -0
  839. /package/types/{input → pc/input}/Group.d.ts +0 -0
  840. /package/types/{input → pc/input}/InputElement.d.ts +0 -0
  841. /package/types/{input → pc/input}/Number.d.ts +0 -0
  842. /package/types/{input → pc/input}/Password.d.ts +0 -0
  843. /package/types/{input → pc/input}/Search.d.ts +0 -0
  844. /package/types/{input → pc/input}/Tag.d.ts +0 -0
  845. /package/types/{input → pc/input}/autoSizeTextAreaHeight.d.ts +0 -0
  846. /package/types/{input → pc/input}/useComposition.d.ts +0 -0
  847. /package/types/{input-number → pc/input-number}/index.d.ts +0 -0
  848. /package/types/{input-number → pc/input-number}/useSelectionRange.d.ts +0 -0
  849. /package/types/{input-tag → pc/input-tag}/InputTag.d.ts +0 -0
  850. /package/types/{input-tag → pc/input-tag}/index.d.ts +0 -0
  851. /package/types/{layout → pc/layout}/Content.d.ts +0 -0
  852. /package/types/{layout → pc/layout}/Footer.d.ts +0 -0
  853. /package/types/{layout → pc/layout}/Header.d.ts +0 -0
  854. /package/types/{layout → pc/layout}/Sider.d.ts +0 -0
  855. /package/types/{layout → pc/layout}/index.d.ts +0 -0
  856. /package/types/{link → pc/link}/index.d.ts +0 -0
  857. /package/types/{list → pc/list}/Item.d.ts +0 -0
  858. /package/types/{list → pc/list}/Meta.d.ts +0 -0
  859. /package/types/{list → pc/list}/index.d.ts +0 -0
  860. /package/types/{loading → pc/loading}/index.d.ts +0 -0
  861. /package/types/{locale → pc/locale}/ar-EG.d.ts +0 -0
  862. /package/types/{locale → pc/locale}/de-DE.d.ts +0 -0
  863. /package/types/{locale → pc/locale}/default.d.ts +0 -0
  864. /package/types/{locale → pc/locale}/en-US.d.ts +0 -0
  865. /package/types/{locale → pc/locale}/es-ES.d.ts +0 -0
  866. /package/types/{locale → pc/locale}/fr-FR.d.ts +0 -0
  867. /package/types/{locale → pc/locale}/id-ID.d.ts +0 -0
  868. /package/types/{locale → pc/locale}/interface.d.ts +0 -0
  869. /package/types/{locale → pc/locale}/it-IT.d.ts +0 -0
  870. /package/types/{locale → pc/locale}/ja-JP.d.ts +0 -0
  871. /package/types/{locale → pc/locale}/ko-KR.d.ts +0 -0
  872. /package/types/{locale → pc/locale}/ms-MY.d.ts +0 -0
  873. /package/types/{locale → pc/locale}/pt-BR.d.ts +0 -0
  874. /package/types/{locale → pc/locale}/pt-PT.d.ts +0 -0
  875. /package/types/{locale → pc/locale}/ru-RU.d.ts +0 -0
  876. /package/types/{locale → pc/locale}/th-TH.d.ts +0 -0
  877. /package/types/{locale → pc/locale}/tr-TR.d.ts +0 -0
  878. /package/types/{locale → pc/locale}/vi-VN.d.ts +0 -0
  879. /package/types/{locale → pc/locale}/zh-CN.d.ts +0 -0
  880. /package/types/{locale → pc/locale}/zh-HK.d.ts +0 -0
  881. /package/types/{locale → pc/locale}/zh-TW.d.ts +0 -0
  882. /package/types/{mentions → pc/mentions}/index.d.ts +0 -0
  883. /package/types/{mentions → pc/mentions}/util.d.ts +0 -0
  884. /package/types/{menu → pc/menu}/Indent.d.ts +0 -0
  885. /package/types/{menu → pc/menu}/Item.d.ts +0 -0
  886. /package/types/{menu → pc/menu}/ItemGroup.d.ts +0 -0
  887. /package/types/{menu → pc/menu}/Menu.d.ts +0 -0
  888. /package/types/{menu → pc/menu}/OverflowWrap.d.ts +0 -0
  889. /package/types/{menu → pc/menu}/index.d.ts +0 -0
  890. /package/types/{menu → pc/menu}/sub-menu/Inline.d.ts +0 -0
  891. /package/types/{menu → pc/menu}/sub-menu/Pop.d.ts +0 -0
  892. /package/types/{menu → pc/menu}/sub-menu/index.d.ts +0 -0
  893. /package/types/{menu → pc/menu}/util.d.ts +0 -0
  894. /package/types/{message → pc/message}/index.d.ts +0 -0
  895. /package/types/{message → pc/message}/useMessage.d.ts +0 -0
  896. /package/types/{modal → pc/modal}/Confirm.d.ts +0 -0
  897. /package/types/{modal → pc/modal}/Modal.d.ts +0 -0
  898. /package/types/{modal → pc/modal}/config.d.ts +0 -0
  899. /package/types/{modal → pc/modal}/index.d.ts +0 -0
  900. /package/types/{modal → pc/modal}/use-modal/Hook.d.ts +0 -0
  901. /package/types/{modal → pc/modal}/use-modal/index.d.ts +0 -0
  902. /package/types/{notice → pc/notice}/index.d.ts +0 -0
  903. /package/types/{notification → pc/notification}/index.d.ts +0 -0
  904. /package/types/{notification → pc/notification}/useNotification.d.ts +0 -0
  905. /package/types/{notification → pc/notification}/withNotification.d.ts +0 -0
  906. /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/OverflowItem.d.ts +0 -0
  907. /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/index.d.ts +0 -0
  908. /package/types/{page-header → pc/page-header}/index.d.ts +0 -0
  909. /package/types/{pagination → pc/pagination}/PageJumper.d.ts +0 -0
  910. /package/types/{pagination → pc/pagination}/PageOption.d.ts +0 -0
  911. /package/types/{pagination → pc/pagination}/Pagination.d.ts +0 -0
  912. /package/types/{pagination → pc/pagination}/index.d.ts +0 -0
  913. /package/types/{picker → pc/picker}/Input.d.ts +0 -0
  914. /package/types/{picker → pc/picker}/InputRange.d.ts +0 -0
  915. /package/types/{picker → pc/picker}/index.d.ts +0 -0
  916. /package/types/{popconfirm → pc/popconfirm}/index.d.ts +0 -0
  917. /package/types/{popover → pc/popover}/index.d.ts +0 -0
  918. /package/types/{progress → pc/progress}/CircleProgress.d.ts +0 -0
  919. /package/types/{progress → pc/progress}/LineProgess.d.ts +0 -0
  920. /package/types/{progress → pc/progress}/StepProgress.d.ts +0 -0
  921. /package/types/{progress → pc/progress}/index.d.ts +0 -0
  922. /package/types/{radio → pc/radio}/Group.d.ts +0 -0
  923. /package/types/{radio → pc/radio}/GroupBlock.d.ts +0 -0
  924. /package/types/{radio → pc/radio}/Radio.d.ts +0 -0
  925. /package/types/{radio → pc/radio}/index.d.ts +0 -0
  926. /package/types/{rate → pc/rate}/index.d.ts +0 -0
  927. /package/types/{resize-box → pc/resize-box}/Split.d.ts +0 -0
  928. /package/types/{resize-box → pc/resize-box}/SplitGroup.d.ts +0 -0
  929. /package/types/{resize-box → pc/resize-box}/index.d.ts +0 -0
  930. /package/types/{result → pc/result}/403.d.ts +0 -0
  931. /package/types/{result → pc/result}/404.d.ts +0 -0
  932. /package/types/{result → pc/result}/500.d.ts +0 -0
  933. /package/types/{result → pc/result}/index.d.ts +0 -0
  934. /package/types/{select → pc/select}/OptGroup.d.ts +0 -0
  935. /package/types/{select → pc/select}/Option.d.ts +0 -0
  936. /package/types/{select → pc/select}/Select.d.ts +0 -0
  937. /package/types/{select → pc/select}/index.d.ts +0 -0
  938. /package/types/{select-view → pc/select-view}/Core.d.ts +0 -0
  939. /package/types/{select-view → pc/select-view}/index.d.ts +0 -0
  940. /package/types/{skeleton → pc/skeleton}/Image.d.ts +0 -0
  941. /package/types/{skeleton → pc/skeleton}/Text.d.ts +0 -0
  942. /package/types/{skeleton → pc/skeleton}/index.d.ts +0 -0
  943. /package/types/{slider → pc/slider}/Button.d.ts +0 -0
  944. /package/types/{slider → pc/slider}/Dot.d.ts +0 -0
  945. /package/types/{slider → pc/slider}/Input.d.ts +0 -0
  946. /package/types/{slider → pc/slider}/Mark.d.ts +0 -0
  947. /package/types/{slider → pc/slider}/Tick.d.ts +0 -0
  948. /package/types/{slider → pc/slider}/hook/useInterval.d.ts +0 -0
  949. /package/types/{slider → pc/slider}/hook/useLegalValue.d.ts +0 -0
  950. /package/types/{slider → pc/slider}/index.d.ts +0 -0
  951. /package/types/{slider → pc/slider}/util.d.ts +0 -0
  952. /package/types/{space → pc/space}/index.d.ts +0 -0
  953. /package/types/{space → pc/space}/toArray.d.ts +0 -0
  954. /package/types/{speech-synthesis → pc/speech-synthesis}/index.d.ts +0 -0
  955. /package/types/{speech-synthesis → pc/speech-synthesis}/style/index.d.ts +0 -0
  956. /package/types/{spin → pc/spin}/DotLoading.d.ts +0 -0
  957. /package/types/{spin → pc/spin}/index.d.ts +0 -0
  958. /package/types/{statistic → pc/statistic}/Countdown.d.ts +0 -0
  959. /package/types/{statistic → pc/statistic}/index.d.ts +0 -0
  960. /package/types/{statistic → pc/statistic}/util.d.ts +0 -0
  961. /package/types/{steps → pc/steps}/Step.d.ts +0 -0
  962. /package/types/{steps → pc/steps}/index.d.ts +0 -0
  963. /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/index.d.ts +0 -0
  964. /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/style/index.d.ts +0 -0
  965. /package/types/{switch → pc/switch}/index.d.ts +0 -0
  966. /package/types/{table → pc/table}/ColGroup.d.ts +0 -0
  967. /package/types/{table → pc/table}/Table.d.ts +0 -0
  968. /package/types/{table → pc/table}/constant.d.ts +0 -0
  969. /package/types/{table → pc/table}/hook/useColumns.d.ts +0 -0
  970. /package/types/{table → pc/table}/hook/useComponent.d.ts +0 -0
  971. /package/types/{table → pc/table}/hook/useExpand.d.ts +0 -0
  972. /package/types/{table → pc/table}/hook/useRowSelection.d.ts +0 -0
  973. /package/types/{table → pc/table}/hook/useSorter.d.ts +0 -0
  974. /package/types/{table → pc/table}/hook/useStickyClassNames.d.ts +0 -0
  975. /package/types/{table → pc/table}/hook/useStickyOffsets.d.ts +0 -0
  976. /package/types/{table → pc/table}/index.d.ts +0 -0
  977. /package/types/{table → pc/table}/summary/Cell.d.ts +0 -0
  978. /package/types/{table → pc/table}/summary/Row.d.ts +0 -0
  979. /package/types/{table → pc/table}/summary/context.d.ts +0 -0
  980. /package/types/{table → pc/table}/summary/index.d.ts +0 -0
  981. /package/types/{table → pc/table}/tbody/Td.d.ts +0 -0
  982. /package/types/{table → pc/table}/tbody/Tr.d.ts +0 -0
  983. /package/types/{table → pc/table}/tbody/index.d.ts +0 -0
  984. /package/types/{table → pc/table}/tfoot/index.d.ts +0 -0
  985. /package/types/{table → pc/table}/th-resizable/index.d.ts +0 -0
  986. /package/types/{table → pc/table}/thead/Column.d.ts +0 -0
  987. /package/types/{table → pc/table}/thead/index.d.ts +0 -0
  988. /package/types/{table → pc/table}/util.d.ts +0 -0
  989. /package/types/{tabs → pc/tabs}/Tab.d.ts +0 -0
  990. /package/types/{tabs → pc/tabs}/TabContent.d.ts +0 -0
  991. /package/types/{tabs → pc/tabs}/TabPane.d.ts +0 -0
  992. /package/types/{tabs → pc/tabs}/hook/useDomSize.d.ts +0 -0
  993. /package/types/{tabs → pc/tabs}/hook/useHeaderScroll.d.ts +0 -0
  994. /package/types/{tabs → pc/tabs}/index.d.ts +0 -0
  995. /package/types/{tabs → pc/tabs}/tab-header/DropdownIcon.d.ts +0 -0
  996. /package/types/{tabs → pc/tabs}/tab-header/TabInk.d.ts +0 -0
  997. /package/types/{tabs → pc/tabs}/tab-header/TabNavIcon.d.ts +0 -0
  998. /package/types/{tabs → pc/tabs}/tab-header/TabTitle.d.ts +0 -0
  999. /package/types/{tabs → pc/tabs}/tab-header/index.d.ts +0 -0
  1000. /package/types/{tabs → pc/tabs}/util.d.ts +0 -0
  1001. /package/types/{tag → pc/tag}/index.d.ts +0 -0
  1002. /package/types/{time-picker → pc/time-picker}/Picker.d.ts +0 -0
  1003. /package/types/{time-picker → pc/time-picker}/RangePicker.d.ts +0 -0
  1004. /package/types/{time-picker → pc/time-picker}/TimeColumn.d.ts +0 -0
  1005. /package/types/{time-picker → pc/time-picker}/TimePicker.d.ts +0 -0
  1006. /package/types/{time-picker → pc/time-picker}/context.d.ts +0 -0
  1007. /package/types/{time-picker → pc/time-picker}/index.d.ts +0 -0
  1008. /package/types/{time-picker → pc/time-picker}/util.d.ts +0 -0
  1009. /package/types/{timeline → pc/timeline}/Item.d.ts +0 -0
  1010. /package/types/{timeline → pc/timeline}/Timeline.d.ts +0 -0
  1011. /package/types/{timeline → pc/timeline}/index.d.ts +0 -0
  1012. /package/types/{tooltip → pc/tooltip}/index.d.ts +0 -0
  1013. /package/types/{transfer → pc/transfer}/Item.d.ts +0 -0
  1014. /package/types/{transfer → pc/transfer}/List.d.ts +0 -0
  1015. /package/types/{transfer → pc/transfer}/index.d.ts +0 -0
  1016. /package/types/{tree → pc/tree}/Animation.d.ts +0 -0
  1017. /package/types/{tree → pc/tree}/Context.d.ts +0 -0
  1018. /package/types/{tree → pc/tree}/Node.d.ts +0 -0
  1019. /package/types/{tree → pc/tree}/NodeList.d.ts +0 -0
  1020. /package/types/{tree → pc/tree}/Tree.d.ts +0 -0
  1021. /package/types/{tree → pc/tree}/index.d.ts +0 -0
  1022. /package/types/{tree → pc/tree}/util.d.ts +0 -0
  1023. /package/types/{tree-select → pc/tree-select}/List.d.ts +0 -0
  1024. /package/types/{tree-select → pc/tree-select}/Select.d.ts +0 -0
  1025. /package/types/{tree-select → pc/tree-select}/hook/useKeyCache.d.ts +0 -0
  1026. /package/types/{tree-select → pc/tree-select}/hook/useStateValue.d.ts +0 -0
  1027. /package/types/{tree-select → pc/tree-select}/hook/useTreeData.d.ts +0 -0
  1028. /package/types/{tree-select → pc/tree-select}/index.d.ts +0 -0
  1029. /package/types/{tree-select → pc/tree-select}/util.d.ts +0 -0
  1030. /package/types/{trigger → pc/trigger}/getPopupStyle.d.ts +0 -0
  1031. /package/types/{trigger → pc/trigger}/index.d.ts +0 -0
  1032. /package/types/{typography → pc/typography}/Base.d.ts +0 -0
  1033. /package/types/{typography → pc/typography}/EditContent.d.ts +0 -0
  1034. /package/types/{typography → pc/typography}/Ellipsis.d.ts +0 -0
  1035. /package/types/{typography → pc/typography}/Operations.d.ts +0 -0
  1036. /package/types/{typography → pc/typography}/Paragraph.d.ts +0 -0
  1037. /package/types/{typography → pc/typography}/Text.d.ts +0 -0
  1038. /package/types/{typography → pc/typography}/Title.d.ts +0 -0
  1039. /package/types/{typography → pc/typography}/Typography.d.ts +0 -0
  1040. /package/types/{typography → pc/typography}/index.d.ts +0 -0
  1041. /package/types/{typography → pc/typography}/useCssEllipsis.d.ts +0 -0
  1042. /package/types/{typography → pc/typography}/useEllipsis.d.ts +0 -0
  1043. /package/types/{upload → pc/upload}/TriggerNode.d.ts +0 -0
  1044. /package/types/{upload → pc/upload}/Upload.d.ts +0 -0
  1045. /package/types/{upload → pc/upload}/Uploader.d.ts +0 -0
  1046. /package/types/{upload → pc/upload}/index.d.ts +0 -0
  1047. /package/types/{upload → pc/upload}/list/PictureItem.d.ts +0 -0
  1048. /package/types/{upload → pc/upload}/list/TextItem.d.ts +0 -0
  1049. /package/types/{upload → pc/upload}/list/UploadProgress.d.ts +0 -0
  1050. /package/types/{upload → pc/upload}/list/index.d.ts +0 -0
  1051. /package/types/{upload → pc/upload}/request.d.ts +0 -0
  1052. /package/types/{upload → pc/upload}/request_.d.ts +0 -0
  1053. /package/types/{upload → pc/upload}/util.d.ts +0 -0
  1054. /package/types/{utils → pc/utils}/color.d.ts +0 -0
  1055. /package/types/{utils → pc/utils}/computeScrollIntoView.d.ts +0 -0
  1056. /package/types/{utils → pc/utils}/contextHolder.d.ts +0 -0
  1057. /package/types/{utils → pc/utils}/index.d.ts +0 -0
  1058. /package/types/{utils → pc/utils}/math.d.ts +0 -0
  1059. /package/types/{utils → pc/utils}/reactTransitionGroup.d.ts +0 -0
  1060. /package/types/{utils → pc/utils}/responsiveObserve.d.ts +0 -0
  1061. /package/types/{utils → pc/utils}/tree.d.ts +0 -0
  1062. /package/types/{utils → pc/utils}/tween.d.ts +0 -0
  1063. /package/types/{utils → pc/utils}/uuid.d.ts +0 -0
  1064. /package/types/{utils → pc/utils}/validate.d.ts +0 -0
  1065. /package/types/{verification-code → pc/verification-code}/VerificationCode.d.ts +0 -0
  1066. /package/types/{verification-code → pc/verification-code}/index.d.ts +0 -0
  1067. /package/types/{version → pc/version}/index.d.ts +0 -0
  1068. /package/types/{virtual-list → pc/virtual-list}/index.d.ts +0 -0
  1069. /package/types/{watermark → pc/watermark}/Watermark.d.ts +0 -0
  1070. /package/types/{watermark → pc/watermark}/index.d.ts +0 -0
@@ -0,0 +1,713 @@
1
+ import React, { CSSProperties, ReactNode } from 'react';
2
+ import { PaginationProps } from '../pagination/Pagination';
3
+ import { SpinProps } from '../spin';
4
+ import type { TooltipProps } from '../tooltip';
5
+ import { TriggerProps } from '../trigger';
6
+ import { AvailableVirtualListProps, VirtualListHandle } from '../virtual-list';
7
+ export type RowCallbackProps = {
8
+ onClick?: (event: any) => void;
9
+ onDoubleClick?: (event: any) => void;
10
+ onContextMenu?: (event: any) => void;
11
+ onMouseEnter?: (event: any) => void;
12
+ onMouseLeave?: (event: any) => void;
13
+ onHandleSave?: (row: any) => void;
14
+ [name: string]: any;
15
+ };
16
+ export type SorterFn = (a: any, b: any) => number;
17
+ /**
18
+ * @title Table
19
+ */
20
+ export interface TableProps<T = any> {
21
+ style?: CSSProperties;
22
+ className?: string | string[];
23
+ /**
24
+ * @zh 表格的 `table-layout` 属性设置为 `fixed`,设置为 `fixed` 后,表格的宽度不会被内容撑开超出 100%。
25
+ * @en The table's `table-layout` property is set to `fixed`. After set to `fixed`, the width of the table will not be stretched by the content beyond 100%.
26
+ */
27
+ tableLayoutFixed?: boolean;
28
+ /**
29
+ * @zh 表格行 key 的取值字段
30
+ * @en Table row key
31
+ * @defaultValue key
32
+ */
33
+ rowKey?: React.Key | ((record: T) => React.Key);
34
+ /**
35
+ * @zh 列描述数据对象的数组
36
+ * @en An array of column objects
37
+ */
38
+ columns?: ColumnProps<T>[];
39
+ /**
40
+ * @zh 覆盖原生表格标签
41
+ * @en Override native table tag
42
+ */
43
+ component?: ComponentProps;
44
+ /**
45
+ * @zh 表格数据
46
+ * @en Data record array to be displayed
47
+ */
48
+ data?: T[];
49
+ /**
50
+ * @zh 边框设置
51
+ * @en Configure border
52
+ * @defaultValue true
53
+ */
54
+ border?: boolean | {
55
+ wrapper?: boolean;
56
+ headerCell?: boolean;
57
+ bodyCell?: boolean;
58
+ cell?: boolean;
59
+ };
60
+ /**
61
+ * @zh 是否显示单元格边框,作用等同于 `border={{ cell: true }}`
62
+ * @en Whether to display the table cell border, equivalent to `border={{ cell: true }}`
63
+ */
64
+ borderCell?: boolean;
65
+ /**
66
+ * @zh 是否开启鼠标悬浮效果
67
+ * @en Whether to enable the hover style
68
+ * @defaultValue true
69
+ */
70
+ hover?: boolean;
71
+ /**
72
+ * @zh 默认展开所有可展开的行
73
+ * @en Expand all expandable rows by default
74
+ */
75
+ defaultExpandAllRows?: boolean;
76
+ /**
77
+ * @zh 展开的行(受控)
78
+ * @en To set expanded rows.
79
+ */
80
+ expandedRowKeys?: (string | number)[];
81
+ /**
82
+ * @zh 默认展开的行
83
+ * @en To set default expanded rows
84
+ */
85
+ defaultExpandedRowKeys?: (string | number)[];
86
+ /**
87
+ * @zh 点击展开额外的行,渲染函数。返回值为 `null` 时,不会渲染展开按钮
88
+ * @en Click to expand additional rows, rendering functions. When the return value is `null`, the expand button will not be rendered
89
+ */
90
+ expandedRowRender?: (record: T, index: number) => ReactNode;
91
+ /**
92
+ * @zh 自定义展开/关闭列的图标,宽度,标题,具体用法看[这个例子](/react/component/table#定制展开参数)
93
+ * @en Customize the icon, width, and title of the expandable column, see [this example](/react/component/table#custom expand parameters) for usage
94
+ */
95
+ expandProps?: ExpandProps<T>;
96
+ /**
97
+ * @zh 点击展开的回调
98
+ * @en Callback when click to expand
99
+ */
100
+ onExpand?: (record: T, expanded: boolean) => void;
101
+ /**
102
+ * @zh 点击展开时触发,参数为展开行数组
103
+ * @en Callback when expanded button is clicked, the parameter is an array of expanded rows
104
+ */
105
+ onExpandedRowsChange?: (expandedRows: (string | number)[]) => void;
106
+ /**
107
+ * @zh 表格是否在加载中
108
+ * @en Whether the table is in loading
109
+ */
110
+ loading?: boolean | SpinProps;
111
+ /**
112
+ * @zh 没有数据的时候显示的元素
113
+ * @en Element to be displayed when there is no data
114
+ */
115
+ noDataElement?: string | ReactNode;
116
+ /**
117
+ * @zh 是否显示表头
118
+ * @en Whether to show the header
119
+ * @defaultValue true
120
+ */
121
+ showHeader?: boolean;
122
+ /**
123
+ * @zh
124
+ * 表头是否显示下一次排序的 tooltip 提示。可以设置对象,可以传 `Tooltip` 组件的所有参数。
125
+ * @en
126
+ * Whether the header shows the tooltip for the next sorting. The object can be set,
127
+ * and all the parameters of the `Tooltip` component can be passed.
128
+ * @version 2.19.0
129
+ * @defaultValue true
130
+ */
131
+ showSorterTooltip?: boolean | TooltipProps;
132
+ /**
133
+ * @zh 是否开启斑马纹
134
+ * @en Whether to show stripe style
135
+ */
136
+ stripe?: boolean;
137
+ /**
138
+ * @zh 表格尺寸,分为 默认,`默认` `中` `小` `迷你` 四个尺寸
139
+ * @en The table size is divided into four sizes, `default` `medium` `small` `mini`
140
+ */
141
+ size?: 'default' | 'middle' | 'small' | 'mini';
142
+ /**
143
+ * @zh 分页、排序、筛选时的回调
144
+ * @en Callback when pagination, sorting, and filtering changes
145
+ * @version extra in `2.19.0`, currentAllData in 2.53.0
146
+ */
147
+ onChange?: (pagination: PaginationProps, sorter: SorterInfo | SorterInfo[], filters: Partial<Record<keyof T, string[]>>, extra: {
148
+ currentData: T[];
149
+ currentAllData: T[];
150
+ action: 'paginate' | 'sort' | 'filter';
151
+ }) => void;
152
+ /**
153
+ * @zh 分页器设置,参考[Pagination组件](/react/component/pagination),设置 `false` 不展示分页
154
+ * @en Pagination settings, refer to [Pagination component](/react/component/pagination), set `false` to hide pagination
155
+ */
156
+ pagination?: PaginationProps | boolean;
157
+ /**
158
+ * @zh 自定义分页渲染。
159
+ * @en Customized pagination render
160
+ * @version 2.11.0
161
+ */
162
+ renderPagination?: (paginationNode?: ReactNode) => ReactNode;
163
+ /**
164
+ * @zh
165
+ * 设置x轴或y轴的滚动。`x` 设置为 `true`,会给 table 添加 `table-layout: fixed` 以及给父元素添加 `overflow: auto`。
166
+ * `y` 设置为 `true`,表头和表身会分离,放在两个 table 中
167
+ * @en
168
+ * Set the scroll of x-axis or y-axis. Setting `x` to `true` will add `table-layout: fixed` to the table and `overflow: auto` to the parent element.
169
+ * If `y` is set to `true`, the header and body will be separated and placed in two tables
170
+ */
171
+ scroll?: {
172
+ x?: number | string | boolean;
173
+ y?: number | string | boolean;
174
+ };
175
+ /**
176
+ * @zh 表格行的类名
177
+ * @en ClassName of table row
178
+ */
179
+ rowClassName?: (record: T, index: number) => string;
180
+ /**
181
+ * @zh 设置表格行是否可选,选中事件等。[配置项](#rowselection)
182
+ * @en Set whether the table row is selectable, select event, etc. [Configuration item](#rowselection)
183
+ */
184
+ rowSelection?: RowSelectionProps<T>;
185
+ /**
186
+ * @zh 设置表头行单元格的各项事件回调
187
+ * @en Set the event callback of the header row
188
+ */
189
+ onHeaderRow?: (columns: ColumnProps<T>[], index: number) => RowCallbackProps;
190
+ /**
191
+ * @zh 设置表格行的各项事件回调
192
+ * @en Set the event callback of the table row
193
+ */
194
+ onRow?: (record: T, index: number) => RowCallbackProps;
195
+ prefixCls?: string;
196
+ /**
197
+ * @zh 当单元格内容为空时,显示占位符,优先级低于 `column.placeholder`。
198
+ * @en When the cell content is empty, a placeholder is displayed, and the priority is lower than `column.placeholder`.
199
+ * @version 2.23.0
200
+ */
201
+ placeholder?: ReactNode;
202
+ /**
203
+ * @zh 设置分页器的位置,有六个方位 `右下` `左下` `右上` `左上` `上中` `下中`
204
+ * @en Set the position of the pagination, there are six positions `bottom right` `bottom left` `top right` `top left` `top center` `bottom center`
205
+ * @defaultValue br
206
+ */
207
+ pagePosition?: 'br' | 'bl' | 'tr' | 'tl' | 'topCenter' | 'bottomCenter';
208
+ /**
209
+ * @zh 树形数据在 `data` 中的字段名,默认是 `children`
210
+ * @en The field name of the tree data in `data`, default is `children`
211
+ * @defaultValue children
212
+ */
213
+ childrenColumnName?: string;
214
+ /**
215
+ * @zh 树形数据每个层级向左偏移的像素
216
+ * @en The pixel offset to the left of each level of the tree data
217
+ * @defaultValue 15
218
+ */
219
+ indentSize?: number;
220
+ /**
221
+ * @zh 表格头部
222
+ * @en The header of the table
223
+ */
224
+ header?: (currentPageDate: any) => ReactNode;
225
+ /**
226
+ * @zh 表格尾部
227
+ * @en The footer of the table
228
+ */
229
+ footer?: (currentPageDate: any) => ReactNode;
230
+ /**
231
+ * @zh
232
+ * 表格开启虚拟滚动,用于处理大数据场景。( 注意:虚拟滚动会自动关闭对树形数据的支持 )
233
+ * @en
234
+ * The table enables virtual scrolling for processing big data scenarios.
235
+ * (Note: Virtual scrolling will automatically turn off support for tree data)
236
+ */
237
+ virtualized?: boolean;
238
+ /**
239
+ * @zh
240
+ * 用于配置虚拟滚动。
241
+ * @en
242
+ * Used to configure `VirtualList`.
243
+ * @version 2.46.0
244
+ */
245
+ virtualListProps?: AvailableVirtualListProps;
246
+ /**
247
+ * @zh 总结栏
248
+ * @en Table Summary
249
+ * @version 2.17.0
250
+ */
251
+ summary?: (currentData?: T[]) => ReactNode;
252
+ }
253
+ /**
254
+ * @title RowSelection
255
+ *
256
+ * @zh `<Table>` 参数 `rowSelection` 的详细参数。
257
+ * @en The detailed parameters of `rowSelection`.
258
+ */
259
+ export interface RowSelectionProps<T = any> {
260
+ /**
261
+ * @zh 多选模式下是否开启全选功能
262
+ * @en Whether to show check all button
263
+ */
264
+ checkAll?: boolean;
265
+ /**
266
+ * @zh 设置为 `false` 的时候父子选择会自动关联。
267
+ * @en When set to `false`, parent-child selections are automatically associated.
268
+ * @version 2.33.0
269
+ * @defaultValue true
270
+ */
271
+ checkStrictly?: boolean;
272
+ /**
273
+ * @zh 多选模式下的复选框是否跨分页,只在非受控模式下生效。配合 preserveSelectedRowKeys: true 使用,可在受控模式下生效。
274
+ * @en Whether the checkboxes in multi-select mode cross pages, only works in uncontrolled mode, but also works in controlled mode with preserveSelectedRowKeys: true.
275
+ */
276
+ checkCrossPage?: boolean;
277
+ /**
278
+ * @zh 自定义列表选择的标题
279
+ * @en Customize the title of the selection column
280
+ */
281
+ columnTitle?: string | ReactNode;
282
+ /**
283
+ * @zh 选择框列的宽度
284
+ * @en The width of the selection column
285
+ */
286
+ columnWidth?: number;
287
+ /**
288
+ * @zh 选择框的属性配置
289
+ * @en Configure the selection checkbox
290
+ */
291
+ checkboxProps?: (record: T) => {
292
+ [key: string]: any;
293
+ };
294
+ /**
295
+ * @zh 是否固定选择列到左边
296
+ * @en Whether to fix column to the left
297
+ */
298
+ fixed?: boolean;
299
+ /**
300
+ * @zh 单选或多选的选中项发生改变时的回调
301
+ * @en Callback when the checkbox/radio changes
302
+ */
303
+ onChange?: (selectedRowKeys: (string | number)[], selectedRows: T[]) => void;
304
+ /**
305
+ * @zh 用户手动选择/取消选择的回调
306
+ * @en Callback for user manual selection/deselection
307
+ * @version 2.22.0
308
+ */
309
+ onSelect?: (selected: boolean, record: T, selectedRows: T[]) => void;
310
+ /**
311
+ * @zh 用户手动选择/取消选择所有行的回调
312
+ * @en Callback when the user to manually select/deselect all rows
313
+ * @version 2.6.0
314
+ */
315
+ onSelectAll?: (selected: boolean, selectedRows: any) => void;
316
+ /**
317
+ * @zh 在数据项被删除时仍然保留选项的 `key`
318
+ * @en The `key` is still retained in `selectedRowKeys` when the data item is deleted
319
+ * @version 2.19.0
320
+ */
321
+ preserveSelectedRowKeys?: boolean;
322
+ /**
323
+ * @zh 定制复选框,用法与 `column.render` 相同。
324
+ * @en Customize checkbox, the usage is same as `column.render`.
325
+ * @version 2.19.0
326
+ */
327
+ renderCell?: (originNode: any, checked: boolean, record: T) => ReactNode;
328
+ /**
329
+ * @zh Table选中的项,(受控模式,需要跟 `onChange` 配合使用)
330
+ * @en Table selected row, (controlled mode, need to be used with `onChange`)
331
+ */
332
+ selectedRowKeys?: (string | number)[];
333
+ /**
334
+ * @zh 多选或者单选
335
+ * @en Multi-select or single-select
336
+ */
337
+ type?: 'checkbox' | 'radio';
338
+ pureKeys?: boolean;
339
+ }
340
+ /**
341
+ * @title ExpandProps
342
+ *
343
+ * @zh `<Table>` 参数 `expandProps` 的详细参数。
344
+ * @en The detailed parameters of `expandProps`.
345
+ */
346
+ export interface ExpandProps<T = any> {
347
+ /**
348
+ * @zh 定制展开按钮的图标
349
+ * @en Customize the icon of the expand button
350
+ */
351
+ icon?: (props: {
352
+ expanded: boolean;
353
+ record: Record<string, any>;
354
+ }) => ReactNode;
355
+ /**
356
+ * @zh 展开按钮列的宽度
357
+ * @en The width of expand icon column
358
+ */
359
+ width?: number;
360
+ /**
361
+ * @zh 展开按钮列的表头标题
362
+ * @en The table header title of expand icon column
363
+ */
364
+ columnTitle?: ReactNode;
365
+ /**
366
+ * @zh
367
+ * 是否允许行展开。如果不指定该参数,会以 expandedRowRender 是否有返回值决定。当出现性能问题时,建议使用 rowExpandable。
368
+ * @en
369
+ * Whether to allow row expansion. If this parameter is not specified,
370
+ * it will be determined by whether expandedRowRender has a return value. When performance problems occur, rowExpandable is recommended.
371
+ * @version 2.16.0
372
+ */
373
+ rowExpandable?: (record: T) => boolean;
374
+ /**
375
+ * @zh 支持通过点击行来展开
376
+ * @en Clicking on the row to expand
377
+ * @version 2.19.0
378
+ */
379
+ expandRowByClick?: boolean;
380
+ /**
381
+ * @zh 树形数据时,只有 `children` 是数组且长度大于 1 才显示展开图标。
382
+ * @en For tree data, only when `children` is an array and the length is greater than 1, the expand icon will be displayed.
383
+ * @defaultValue true
384
+ * @version 2.27.0
385
+ */
386
+ strictTreeData?: boolean;
387
+ }
388
+ /**
389
+ * @title Column
390
+ *
391
+ * @zh 列描述数据对象,是 `columns` 中的一项。
392
+ * @en The column describes the data object and is an item in `columns`.
393
+ */
394
+ export interface ColumnProps<T = unknown> {
395
+ /**
396
+ * @zh 列的类名
397
+ * @en ClassName of the column
398
+ */
399
+ className?: string | string[];
400
+ headerClassName?: string | string[];
401
+ bodyClassName?: string | string[] | ((item: T, index: number) => string | string[]);
402
+ /**
403
+ * @zh 设置列的对齐方式
404
+ * @en Set the alignment of the column
405
+ * @defaultValue left
406
+ */
407
+ align?: 'left' | 'center' | 'right';
408
+ /**
409
+ * @zh
410
+ * 单元格内容超出长度后,是否自动省略,显示 `...`。设置这个属性后,table 的 `table-layout` 将自动变成 `fixed`。
411
+ * @en
412
+ * If the cell content exceeds the length, whether it is automatically omitted and displays `...`.
413
+ * After setting this property, the `table-layout` of the table will automatically become `fixed`.
414
+ */
415
+ ellipsis?: boolean;
416
+ /**
417
+ * @zh 表头单元格自定义样式
418
+ * @en Table header cell style
419
+ */
420
+ headerCellStyle?: CSSProperties;
421
+ /**
422
+ * @zh 表身单元格自定义样式
423
+ * @en Table body cell style
424
+ */
425
+ bodyCellStyle?: CSSProperties;
426
+ cellStyle?: CSSProperties;
427
+ /**
428
+ * @zh 列标题
429
+ * @en Column title
430
+ */
431
+ title: React.ReactNode;
432
+ /**
433
+ * @zh 列宽度
434
+ * @en Column width
435
+ */
436
+ width?: number | string;
437
+ /**
438
+ * @zh
439
+ * 列数据在数据项中对应的 `key`,用于取值显示,支持 `a[0].b.c[1]` 的嵌套写法,
440
+ * 详情看 [lodash.get](https://www.npmjs.com/package/lodash.get)。
441
+ * @en
442
+ * The `key` corresponding to the column data in the data item is used to display the value.
443
+ * It supports the nested writing of `a[0].bc[1]`, see [lodash.get](https:// www.npmjs.com/package/lodash.get).
444
+ */
445
+ dataIndex?: string;
446
+ /**
447
+ * @zh React的 key值,如果不指定,默认取 `dataIndex` 的值
448
+ * @en React key value, if not specified, the default value of `dataIndex` is taken
449
+ */
450
+ key?: string | number;
451
+ /**
452
+ * @zh 自定义单元格显示的内容
453
+ * @en Customize the content displayed in the cell
454
+ */
455
+ render?: (col: any, item: T, index: number) => any;
456
+ /**
457
+ * @zh 当单元格内容为空时,显示占位符,优先级低于 `render`。
458
+ * @en When the cell content is empty, a placeholder is displayed, and the priority is lower than `render`.
459
+ * @version 2.22.0
460
+ */
461
+ placeholder?: ReactNode;
462
+ /**
463
+ * @zh 排序函数,如果想要服务端排序或者添加更多自定义操作,设置为true,利用`onChange`函数进行自定义排序
464
+ * @en Sorting function, if you want server-side sorting or adding more custom operations, set to true and use the `onChange` function for custom sorting
465
+ */
466
+ sorter?: SorterFn | boolean | {
467
+ compare?: SorterFn;
468
+ multiple?: number;
469
+ };
470
+ /**
471
+ * @zh 筛选项,需要配合 `onFilter` 或者 `onChange` 使用
472
+ * @en Filter items, need to be used with `onFilter` or `onChange`
473
+ * @defaultValue []
474
+ */
475
+ filters?: {
476
+ text?: ReactNode;
477
+ value?: any;
478
+ [key: string]: any;
479
+ }[];
480
+ /**
481
+ * @zh 默认筛选条件
482
+ * @en To set default filters
483
+ */
484
+ defaultFilters?: string[];
485
+ /**
486
+ * @zh 默认排序方式
487
+ * @en To set default sort order
488
+ */
489
+ defaultSortOrder?: 'ascend' | 'descend';
490
+ /**
491
+ * @zh 筛选的受控属性,值为筛选的 value 数组
492
+ * @en To set filtered value, the value is the filtered value array
493
+ */
494
+ filteredValue?: string[];
495
+ /**
496
+ * @zh 排序的受控属性,可以控制列的排序,可设置为 `ascend` `descend`
497
+ * @en To set sort order, which can control the sorting of columns, can be set to `ascend` `descend`
498
+ */
499
+ sortOrder?: 'ascend' | 'descend';
500
+ /**
501
+ * @zh 支持的排序方式。
502
+ * @en Supported sorting methods.
503
+ * @defaultValue ['ascend','descend']
504
+ */
505
+ sortDirections?: Array<'ascend' | 'descend'>;
506
+ /**
507
+ * @zh 是否可以筛选多项
508
+ * @en Is it possible to filter multiple items
509
+ * @defaultValue true
510
+ */
511
+ filterMultiple?: boolean;
512
+ /**
513
+ * @zh 自定义筛选图标。
514
+ * @en Custom filter icon.
515
+ */
516
+ filterIcon?: ReactNode;
517
+ /**
518
+ * @zh 自定义筛选框。
519
+ * @en Custom filter popup box.
520
+ */
521
+ filterDropdown?: (props: {
522
+ filterKeys?: string[];
523
+ setFilterKeys?: (filterKeys: string[], callback?: Function) => void;
524
+ confirm?: Function;
525
+ }) => ReactNode;
526
+ /**
527
+ * @zh 配置筛选弹出框的一些属性。
528
+ * @en Configure properties of the filter popup box.
529
+ */
530
+ filterDropdownProps?: {
531
+ triggerProps?: TriggerProps;
532
+ };
533
+ /**
534
+ * @zh 筛选框打开关闭的回调
535
+ * @en Callback when the visible of filter popup changes
536
+ */
537
+ onFilterDropdownVisibleChange?: (visible: boolean) => void;
538
+ /**
539
+ * @zh 筛选函数,配合`filters`
540
+ * @en Callback when filter changes
541
+ */
542
+ onFilter?: (value: any, row: any) => any;
543
+ /**
544
+ * @zh 固定头和列到左边或者右边
545
+ * @en Fixed header and column to the left or right
546
+ */
547
+ fixed?: 'left' | 'right';
548
+ /**
549
+ * @zh 设置头部单元格的各项事件回调
550
+ * @en Set the event callback of the table head cell
551
+ */
552
+ onHeaderCell?: (column: any, index: any) => RowCallbackProps;
553
+ /**
554
+ * @zh 设置表身单元格的各项事件回调
555
+ * @en Set the event callback of the table body cell
556
+ */
557
+ onCell?: (record: any, trIndex: any, column: any, other: {
558
+ rowKey: undefined | string;
559
+ }) => RowCallbackProps;
560
+ children?: ColumnProps<T>[];
561
+ rowSpan?: number;
562
+ colSpan?: number;
563
+ headerCellProps?: RowCallbackProps;
564
+ editable?: boolean;
565
+ prefixCls?: string;
566
+ currentFilters?: {
567
+ [key: string]: any;
568
+ };
569
+ component?: ComponentProps;
570
+ columnFixedStyle?: CSSProperties;
571
+ column?: any;
572
+ [key: string]: any;
573
+ }
574
+ export type InternalColumnProps<T = any> = ColumnProps<T> & {
575
+ $$isOperation?: boolean;
576
+ $$isFirstColumn?: boolean;
577
+ $$columnIndex?: number | number[];
578
+ node?: ReactNode;
579
+ };
580
+ export interface ColumnComponentProps<T = any> extends ColumnProps<T> {
581
+ onSort: (direction: string | undefined, field: string | number) => void;
582
+ onHandleFilter: (column: Record<string, any>, filter: Record<string, any>) => void;
583
+ onHandleFilterReset: (column: {
584
+ [key: string]: any;
585
+ }) => void;
586
+ currentSorter?: SorterInfo;
587
+ currentFilter?: {
588
+ [key: string]: any;
589
+ };
590
+ _key?: string | number;
591
+ showSorterTooltip?: boolean | TooltipProps;
592
+ index?: number;
593
+ }
594
+ export type ComponentProps = {
595
+ table?: any;
596
+ header?: {
597
+ operations?: (nodes: {
598
+ selectionNode?: ReactNode;
599
+ expandNode?: ReactNode;
600
+ }) => {
601
+ name?: string;
602
+ node?: ReactNode;
603
+ width?: number;
604
+ }[];
605
+ wrapper?: any;
606
+ thead?: any;
607
+ row?: any;
608
+ th?: any;
609
+ cell?: any;
610
+ };
611
+ body?: {
612
+ operations?: (nodes: {
613
+ selectionNode?: ReactNode;
614
+ expandNode?: ReactNode;
615
+ }) => {
616
+ name?: string;
617
+ node?: ReactNode | ((record: any) => ReactNode);
618
+ width?: number;
619
+ }[];
620
+ wrapper?: any;
621
+ tbody?: any;
622
+ row?: any;
623
+ td?: any;
624
+ cell?: any;
625
+ };
626
+ };
627
+ export interface TheadProps<T = any> {
628
+ expandedRowRender?: (record: {
629
+ [key: string]: any;
630
+ }, index: number) => ReactNode;
631
+ onCheckAll: (_: any, e: any) => void;
632
+ onSort: (direction: any, field: any) => void;
633
+ data: T[];
634
+ onHandleFilter: (column: any, filter: any) => void;
635
+ onHandleFilterReset: (filter: any) => void;
636
+ currentSorter: SorterInfo;
637
+ activeSorters: SorterInfo[];
638
+ selectedRowKeys: (string | number)[];
639
+ onHeaderRow?: (columns: any, index: number) => RowCallbackProps;
640
+ prefixCls?: string;
641
+ rowSelection?: RowSelectionProps;
642
+ columnTitle?: string | ReactNode;
643
+ currentFilters?: Partial<Record<keyof T, string[]>>;
644
+ rowKey?: TableProps['rowKey'];
645
+ component?: ComponentProps;
646
+ expandProps?: ExpandProps<T>;
647
+ allSelectedRowKeys?: (string | number)[];
648
+ groupColumns?: InternalColumnProps<T>[][];
649
+ stickyOffsets?: number[];
650
+ groupStickyClassNames?: string[][];
651
+ showSorterTooltip?: boolean | TooltipProps;
652
+ }
653
+ export type GetRowKeyType<T> = (record: T) => string;
654
+ export interface TbodyProps<T = any> {
655
+ data: T[];
656
+ selectedRowKeys: React.Key[];
657
+ indeterminateKeys: React.Key[];
658
+ component?: ComponentProps;
659
+ expandedRowKeys: React.Key[];
660
+ columns: InternalColumnProps<T>[];
661
+ noDataElement?: string | ReactNode;
662
+ onCheck: (checked: boolean, record: any) => void;
663
+ onCheckRadio: (key: any, record: any) => void;
664
+ onClickExpandBtn: (key: React.Key) => void;
665
+ pagination?: PaginationProps | boolean;
666
+ scroll?: {
667
+ x?: number | string | boolean;
668
+ y?: number | string | boolean;
669
+ };
670
+ expandedRowRender?: (record: T, index: number) => ReactNode;
671
+ rowClassName?: (record: T, index: number) => string;
672
+ onRow?: (record: T, index: number) => RowCallbackProps;
673
+ prefixCls?: string;
674
+ rowSelection?: RowSelectionProps<T>;
675
+ expandProps?: ExpandProps<T>;
676
+ childrenColumnName?: string;
677
+ indentSize?: number;
678
+ hasFixedColumn?: boolean;
679
+ tableViewWidth?: number;
680
+ currentSorter?: SorterInfo;
681
+ activeSorters?: SorterInfo[];
682
+ virtualized?: boolean;
683
+ virtualListProps?: AvailableVirtualListProps;
684
+ stickyOffsets?: number[];
685
+ stickyClassNames?: string[];
686
+ getRowKey?: GetRowKeyType<T>;
687
+ placeholder?: ReactNode;
688
+ saveVirtualListRef?: (ref: VirtualListHandle) => void;
689
+ saveRef?: (ref: HTMLElement | HTMLDivElement) => void;
690
+ }
691
+ export interface TfootProps<T = any> {
692
+ prefixCls?: string;
693
+ summary?: (currentData?: T[]) => ReactNode;
694
+ data?: T[];
695
+ columns?: InternalColumnProps<T>[];
696
+ stickyOffsets?: number[];
697
+ stickyClassNames?: string[];
698
+ }
699
+ export declare type SortDirection = 'descend' | 'ascend';
700
+ export interface SorterResult {
701
+ direction?: SortDirection;
702
+ field?: string;
703
+ }
704
+ export interface SorterInfo {
705
+ direction?: SortDirection;
706
+ field?: string | number;
707
+ sorterFn?: SorterFn;
708
+ priority?: number;
709
+ }
710
+ export interface SummaryProps {
711
+ fixed?: 'top' | 'bottom';
712
+ children?: ReactNode;
713
+ }