@unicom-cloud/ui 0.8.119 → 0.8.120

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 (1395) hide show
  1. package/Affix.js +10 -11
  2. package/Alert.js +4 -4
  3. package/Anchor.js +1 -1
  4. package/App.js +1 -1
  5. package/AutoComplete.js +11 -12
  6. package/Avatar.js +1 -1
  7. package/BackTop.js +8 -8
  8. package/Badge.js +11 -12
  9. package/Breadcrumb.js +5 -5
  10. package/Button.js +10 -11
  11. package/Calendar.js +11 -12
  12. package/Card.js +3 -3
  13. package/Carousel.js +10 -11
  14. package/Cascader.js +1 -1
  15. package/Checkbox.js +1 -1
  16. package/Collapse.js +1 -1
  17. package/ColorPicker.js +18 -19
  18. package/Comment.js +7 -8
  19. package/ConfigProvider.js +1 -1
  20. package/Constant.js +1 -1
  21. package/Copy.js +8 -9
  22. package/Countdown.js +8 -25
  23. package/DatePicker.js +1 -1
  24. package/Descriptions.js +6 -7
  25. package/Details.js +9 -27
  26. package/Development.js +4 -6
  27. package/Divider.js +3 -3
  28. package/Draggable.js +2 -2
  29. package/Drawer.js +1 -1
  30. package/Dropdown.js +13 -14
  31. package/Empty.js +5 -11
  32. package/Flex.js +10 -29
  33. package/Form.js +1 -1
  34. package/Grid.js +1 -1
  35. package/Icon.js +2 -2
  36. package/IconHover.js +2 -2
  37. package/Image.js +1 -1
  38. package/Input.js +1 -1
  39. package/InputNumber.js +7 -8
  40. package/InputTag.js +1 -1
  41. package/Layout.js +15 -16
  42. package/Link.js +4 -4
  43. package/LiquidFill.js +7 -8
  44. package/List.js +11 -12
  45. package/Loading.js +8 -26
  46. package/Marquee.js +96 -168
  47. package/Mentions.js +4 -4
  48. package/Menu.js +1 -1
  49. package/Message.js +11 -18
  50. package/Modal.js +1 -1
  51. package/Notice.js +8 -26
  52. package/Notification.js +12 -19
  53. package/OverflowEllipsis.js +3 -3
  54. package/PageHeader.js +9 -10
  55. package/Pagination.js +1 -1
  56. package/Picker.js +1 -1
  57. package/Popconfirm.js +7 -8
  58. package/Popover.js +6 -7
  59. package/Portal.js +1 -1
  60. package/Progress.js +4 -4
  61. package/QrCode.js +10 -28
  62. package/Radio.js +1 -1
  63. package/Rate.js +7 -8
  64. package/ResizeBox.js +13 -14
  65. package/Result.js +3 -3
  66. package/RichText.js +3 -3
  67. package/RowCol.js +1 -1
  68. package/Segmented.js +9 -28
  69. package/Select.js +1 -1
  70. package/SelectView.js +6 -7
  71. package/Skeleton.js +7 -8
  72. package/Slider.js +10 -11
  73. package/Space.js +10 -29
  74. package/SpeechSynthesis.js +4 -8
  75. package/Spin.js +4 -4
  76. package/Splitter.js +1 -1
  77. package/Statistic.js +10 -11
  78. package/Steps.js +10 -11
  79. package/SuspenseFallbackTest.js +2 -2
  80. package/Switch.js +9 -16
  81. package/Table.js +1 -1
  82. package/Tabs.js +1 -1
  83. package/Tag.js +9 -10
  84. package/TimePicker.js +1 -1
  85. package/Timeline.js +1 -1
  86. package/Tooltip.js +7 -8
  87. package/Tour.js +11 -29
  88. package/Transfer.js +8 -9
  89. package/Tree.js +1 -1
  90. package/TreeSelect.js +1 -1
  91. package/Trigger.js +14 -21
  92. package/Typography.js +1 -1
  93. package/Upload.js +1 -1
  94. package/VerificationCode.js +1 -1
  95. package/VirtualList.js +1 -1
  96. package/Watermark.js +1 -1
  97. package/affix/index.js +43 -44
  98. package/alert/index.js +33 -33
  99. package/anchor/Anchor.js +93 -95
  100. package/anchor/Link.js +28 -29
  101. package/anchor/context.js +1 -1
  102. package/anchor/index.js +1 -1
  103. package/anchor/utils.js +16 -17
  104. package/app/App.js +1 -1
  105. package/app/context.js +1 -1
  106. package/app/index.js +1 -1
  107. package/app/useApp.js +1 -1
  108. package/auto-complete/index.js +69 -70
  109. package/avatar/Avatar.js +16 -17
  110. package/avatar/Group.js +25 -26
  111. package/avatar/context.js +1 -1
  112. package/avatar/index.js +1 -1
  113. package/back-top/index.js +30 -30
  114. package/badge/Count.js +15 -15
  115. package/badge/index.js +55 -56
  116. package/breadcrumb/Item.js +23 -24
  117. package/breadcrumb/index.js +18 -18
  118. package/button/Group.js +8 -8
  119. package/button/index.js +25 -26
  120. package/calendar/Lunar.js +27 -28
  121. package/calendar/Month.js +36 -37
  122. package/calendar/WeekList.js +1 -1
  123. package/calendar/Year.js +18 -19
  124. package/calendar/header/Panel.js +19 -20
  125. package/calendar/header/index.js +26 -27
  126. package/calendar/hook/useCellClassName.js +20 -21
  127. package/calendar/index.js +43 -44
  128. package/card/Grid.js +13 -13
  129. package/card/Meta.js +16 -16
  130. package/card/index.js +28 -28
  131. package/carousel/Arrow.js +18 -18
  132. package/carousel/Indicator.js +17 -17
  133. package/carousel/index.js +54 -55
  134. package/cascader/Cascader.js +59 -60
  135. package/cascader/base/node.js +19 -20
  136. package/cascader/base/store.js +14 -15
  137. package/cascader/hook/useRefCurrent.js +9 -9
  138. package/cascader/index.js +1 -1
  139. package/cascader/panel/List.js +72 -79
  140. package/cascader/panel/Option.js +1 -1
  141. package/cascader/panel/Search.js +51 -52
  142. package/cascader/utils.js +10 -11
  143. package/checkbox/Checkbox.js +65 -66
  144. package/checkbox/Group.js +50 -51
  145. package/checkbox/GroupBlock.js +18 -18
  146. package/checkbox/IconCheck.js +1 -1
  147. package/checkbox/index.js +1 -1
  148. package/checkbox/useCheckbox.js +4 -5
  149. package/collapse/Collapse.js +51 -52
  150. package/collapse/Item.js +41 -50
  151. package/collapse/index.js +1 -1
  152. package/color-picker/ControlBar.js +20 -20
  153. package/color-picker/InputAlpha.js +1 -1
  154. package/color-picker/InputHex.js +1 -1
  155. package/color-picker/InputRgb.js +1 -1
  156. package/color-picker/Mode.js +6 -7
  157. package/color-picker/Palette.js +1 -1
  158. package/color-picker/Panel.js +17 -18
  159. package/color-picker/colors.js +1 -1
  160. package/color-picker/hooks/useColorPicker.js +75 -76
  161. package/color-picker/hooks/useControlBlock.js +8 -9
  162. package/color-picker/index.js +81 -82
  163. package/color-picker/interface.js +1 -1
  164. package/color-picker/utils.js +19 -20
  165. package/comment/index.js +24 -25
  166. package/config-provider/ConfigProvider.js +40 -40
  167. package/config-provider/context.js +1 -1
  168. package/config-provider/index.js +1 -1
  169. package/constant/index.js +1 -1
  170. package/copy/index.js +23 -24
  171. package/countdown/index.js +46 -63
  172. package/countdown/utils.js +2 -2
  173. package/date-picker/Picker.js +107 -109
  174. package/date-picker/RangePicker.js +118 -119
  175. package/date-picker/context.js +1 -1
  176. package/date-picker/hook/useCellClassName.js +46 -47
  177. package/date-picker/index.js +1 -1
  178. package/date-picker/panel/Body.js +17 -15
  179. package/date-picker/panel/Footer.js +24 -25
  180. package/date-picker/panel/Header.js +13 -14
  181. package/date-picker/panel/Shortcut.js +14 -15
  182. package/date-picker/panel/WeekList.js +1 -1
  183. package/date-picker/panel/date/index.js +62 -63
  184. package/date-picker/panel/month/index.js +30 -30
  185. package/date-picker/panel/quarter/index.js +31 -31
  186. package/date-picker/panel/range/index.js +22 -23
  187. package/date-picker/panel/week/index.js +11 -11
  188. package/date-picker/panel/year/index.js +25 -25
  189. package/date-picker/utils.js +25 -26
  190. package/descriptions/index.js +54 -55
  191. package/details/index.js +72 -90
  192. package/development/index.js +12 -14
  193. package/divider/index.js +31 -31
  194. package/draggable/Item.js +2 -2
  195. package/draggable/index.js +10 -10
  196. package/drawer/Drawer.js +39 -40
  197. package/drawer/index.js +1 -1
  198. package/dropdown/Button.js +18 -18
  199. package/dropdown/index.js +67 -68
  200. package/empty/index.js +14 -20
  201. package/flex/index.js +30 -49
  202. package/form/Control.js +59 -60
  203. package/form/Form.js +41 -42
  204. package/form/FormItem.js +25 -26
  205. package/form/FormLabel.js +22 -23
  206. package/form/FormList.js +19 -20
  207. package/form/FormProvider.js +1 -1
  208. package/form/context.js +7 -6
  209. package/form/hook/useContext.js +10 -10
  210. package/form/hook/useForm.js +1 -1
  211. package/form/hook/useState.js +12 -13
  212. package/form/hook/useWatch.js +10 -11
  213. package/form/index.js +1 -1
  214. package/form/interface.js +1 -1
  215. package/form/promisify.js +10 -11
  216. package/form/store.js +10 -11
  217. package/form/utils.js +19 -20
  218. package/grid/Grid.js +39 -40
  219. package/grid/Item.js +16 -17
  220. package/grid/context.js +1 -1
  221. package/grid/index.js +1 -1
  222. package/grid/utils.js +1 -1
  223. package/hooks/index.js +6 -199
  224. package/hooks/use-computed-state/index.js +2 -2
  225. package/hooks/use-create/index.js +2 -2
  226. package/hooks/use-creation/index.js +2 -2
  227. package/hooks/use-force-update/index.js +2 -2
  228. package/hooks/use-id/index.js +2 -2
  229. package/hooks/use-in-view/index.js +2 -2
  230. package/hooks/use-intersection-observer/index.js +2 -2
  231. package/hooks/use-interval/index.js +2 -2
  232. package/hooks/use-is-first-render/index.js +2 -2
  233. package/hooks/use-isomorphic-layout-effect/index.js +2 -2
  234. package/hooks/use-keyboard-event/index.js +2 -2
  235. package/hooks/use-listen-window-resize/index.js +2 -2
  236. package/hooks/use-media/index.js +2 -2
  237. package/hooks/use-merge-props/index.js +2 -2
  238. package/hooks/use-merge-value/index.js +2 -2
  239. package/hooks/use-online-status/index.js +2 -2
  240. package/hooks/use-overflow-hidden/index.js +2 -2
  241. package/hooks/use-override-ref/index.js +2 -2
  242. package/hooks/use-persist-callback/index.js +2 -2
  243. package/hooks/use-prefers-color-scheme-dark/index.js +2 -2
  244. package/hooks/use-previous/index.js +2 -2
  245. package/hooks/use-refs/index.js +2 -2
  246. package/hooks/use-resize-observer/index.js +2 -2
  247. package/hooks/use-responsive-state/index.js +8 -9
  248. package/hooks/use-state-callback/index.js +2 -2
  249. package/hooks/use-state-with-promise/index.js +2 -2
  250. package/hooks/use-update-effect/index.js +2 -2
  251. package/hooks/use-verification-code/index.js +15 -16
  252. package/hooks/use-watch/index.js +2 -2
  253. package/hooks/use-watermark/index.js +6 -7
  254. package/hooks/use-watermark/utils.js +1 -1
  255. package/hooks/use-window-size/index.js +2 -2
  256. package/hooks/useComputedState.js +2 -2
  257. package/hooks/useCreate.js +2 -2
  258. package/hooks/useCreation.js +2 -2
  259. package/hooks/useForceUpdate.js +2 -2
  260. package/hooks/useId.js +2 -2
  261. package/hooks/useInView.js +2 -2
  262. package/hooks/useIntersectionObserver.js +2 -2
  263. package/hooks/useInterval.js +2 -2
  264. package/hooks/useIsFirstRender.js +2 -2
  265. package/hooks/useIsomorphicLayoutEffect.js +2 -2
  266. package/hooks/useKeyboardEvent.js +2 -2
  267. package/hooks/useListenWindowResize.js +2 -2
  268. package/hooks/useMedia.js +2 -2
  269. package/hooks/useMergeProps.js +2 -2
  270. package/hooks/useMergeValue.js +2 -2
  271. package/hooks/useOnlineStatus.js +2 -2
  272. package/hooks/useOverflowHidden.js +2 -2
  273. package/hooks/useOverrideRef.js +2 -2
  274. package/hooks/usePersistCallback.js +2 -2
  275. package/hooks/usePrefersColorSchemeDark.js +2 -2
  276. package/hooks/usePrevious.js +2 -2
  277. package/hooks/useRefs.js +2 -2
  278. package/hooks/useResizeObserver.js +2 -2
  279. package/hooks/useResponsiveState.js +5 -6
  280. package/hooks/useStateCallback.js +2 -2
  281. package/hooks/useStateWithPromise.js +2 -2
  282. package/hooks/useUpdateEffect.js +2 -2
  283. package/hooks/useVerificationCode.js +6 -7
  284. package/hooks/useWatch.js +2 -2
  285. package/hooks/useWatermark.js +6 -7
  286. package/hooks/useWindowSize.js +2 -2
  287. package/icon/addFromIconFontCn.js +5 -6
  288. package/icon/index.js +10 -10
  289. package/icon-hover/index.js +15 -15
  290. package/icons/file/index.js +11 -12
  291. package/icons/file.js +5 -6
  292. package/icons.js +1 -1
  293. package/image/Image.js +77 -78
  294. package/image/ImageFooter.js +10 -10
  295. package/image/ImagePreview.js +88 -106
  296. package/image/ImagePreviewArrow.js +6 -6
  297. package/image/ImagePreviewGroup.js +35 -36
  298. package/image/ImagePreviewToolbar.js +8 -8
  299. package/image/TriggerForToolbar.js +8 -8
  300. package/image/index.js +1 -1
  301. package/image/previewGroupContext.js +1 -1
  302. package/image/utils/getFixTranslate.js +1 -1
  303. package/image/utils/getScale.js +4 -5
  304. package/image/utils/hook/useImageStatus.js +1 -1
  305. package/image/utils/hook/useShowFooter.js +1 -1
  306. package/index.js +563 -906
  307. package/input/Button.js +29 -30
  308. package/input/Group.js +11 -11
  309. package/input/Input.js +69 -70
  310. package/input/InputElement.js +65 -66
  311. package/input/Number.js +1 -1
  312. package/input/Password.js +28 -28
  313. package/input/Search.js +34 -35
  314. package/input/Tag.js +1 -1
  315. package/input/Textarea.js +107 -102
  316. package/input/autoSizeTextAreaHeight.js +4 -5
  317. package/input/index.js +1 -1
  318. package/input/useComposition.js +1 -1
  319. package/input-number/decimal.js +7 -8
  320. package/input-number/index.js +37 -38
  321. package/input-number/useSelectionRange.js +12 -13
  322. package/input-number/utils.js +30 -31
  323. package/input-tag/InputTag.js +170 -177
  324. package/input-tag/index.js +1 -1
  325. package/layout/Content.js +7 -7
  326. package/layout/Footer.js +7 -7
  327. package/layout/Header.js +7 -7
  328. package/layout/Sider.js +42 -43
  329. package/layout/index.js +34 -35
  330. package/link/index.js +29 -29
  331. package/liquid-fill/index.js +62 -63
  332. package/list/Item.js +18 -18
  333. package/list/Meta.js +9 -9
  334. package/list/index.js +52 -53
  335. package/loading/index.js +38 -56
  336. package/locale/ar-EG.js +1 -1
  337. package/locale/de-DE.js +1 -1
  338. package/locale/default.js +1 -1
  339. package/locale/en-US.js +2 -2
  340. package/locale/es-ES.js +1 -1
  341. package/locale/fr-FR.js +1 -1
  342. package/locale/id-ID.js +1 -1
  343. package/locale/it-IT.js +1 -1
  344. package/locale/ja-JP.js +1 -1
  345. package/locale/ko-KR.js +1 -1
  346. package/locale/ms-MY.js +1 -1
  347. package/locale/pt-BR.js +1 -1
  348. package/locale/pt-PT.js +1 -1
  349. package/locale/ru-RU.js +1 -1
  350. package/locale/th-TH.js +1 -1
  351. package/locale/tr-TR.js +2 -2
  352. package/locale/vi-VN.js +1 -1
  353. package/locale/zh-CN.js +1 -1
  354. package/locale/zh-HK.js +1 -1
  355. package/locale/zh-TW.js +1 -1
  356. package/marquee/index.js +93 -165
  357. package/mentions/index.js +41 -41
  358. package/mentions/utils.js +8 -9
  359. package/menu/Indent.js +1 -1
  360. package/menu/Item.js +45 -46
  361. package/menu/ItemGroup.js +9 -9
  362. package/menu/Menu.js +68 -69
  363. package/menu/OverflowWrap.js +9 -9
  364. package/menu/context.js +1 -1
  365. package/menu/index.js +1 -1
  366. package/menu/sub-menu/Inline.js +34 -34
  367. package/menu/sub-menu/Pop.js +20 -20
  368. package/menu/sub-menu/index.js +5 -6
  369. package/menu/utils.js +16 -17
  370. package/message/index.js +57 -64
  371. package/message/useMessage.js +58 -97
  372. package/modal/Confirm.js +1 -1
  373. package/modal/Modal.js +61 -62
  374. package/modal/config.js +1 -1
  375. package/modal/index.js +1 -1
  376. package/modal/use-modal/Hook.js +1 -1
  377. package/modal/use-modal/index.js +1 -1
  378. package/notice/index.js +81 -99
  379. package/notification/index.js +47 -54
  380. package/notification/useNotification.js +44 -83
  381. package/notification/withNotification.js +1 -1
  382. package/overflow-ellipsis/OverflowItem.js +16 -17
  383. package/overflow-ellipsis/index.js +41 -41
  384. package/package.json +1 -1
  385. package/page-header/index.js +41 -42
  386. package/pagination/PageItem.js +21 -21
  387. package/pagination/PageJumper.js +8 -9
  388. package/pagination/PageOption.js +54 -93
  389. package/pagination/Pagination.js +41 -42
  390. package/pagination/index.js +1 -1
  391. package/pagination/interface.js +1 -1
  392. package/picker/Input.js +29 -30
  393. package/picker/InputRange.js +25 -26
  394. package/picker/index.js +1 -1
  395. package/popconfirm/index.js +34 -35
  396. package/popover/index.js +25 -26
  397. package/portal/Portal.js +7 -7
  398. package/portal/index.js +1 -1
  399. package/progress/CircleProgress.js +17 -18
  400. package/progress/LineProgess.js +19 -20
  401. package/progress/StepProgress.js +20 -21
  402. package/progress/index.js +28 -28
  403. package/qr-code/index.js +24 -42
  404. package/qr-code/src/LICENSE +21 -0
  405. package/qr-code/src/index.js +2 -3
  406. package/qr-code/src/qrcodegen.js +1 -1
  407. package/radio/Group.js +41 -42
  408. package/radio/GroupBlock.js +25 -25
  409. package/radio/Radio.js +44 -45
  410. package/radio/index.js +1 -1
  411. package/rate/index.js +54 -55
  412. package/resize-box/ResizeTrigger.js +37 -38
  413. package/resize-box/Split.js +34 -35
  414. package/resize-box/SplitGroup.js +13 -14
  415. package/resize-box/index.js +45 -46
  416. package/result/403.js +1 -1
  417. package/result/404.js +1 -1
  418. package/result/500.js +1 -1
  419. package/result/index.js +43 -43
  420. package/rich-text/constant.js +1 -1
  421. package/rich-text/index.js +28 -28
  422. package/rich-text/lib/LICENSE +31 -0
  423. package/rich-text/lib/assets/icons/align-center.svg.js +1 -1
  424. package/rich-text/lib/assets/icons/align-justify.svg.js +1 -1
  425. package/rich-text/lib/assets/icons/align-left.svg.js +1 -1
  426. package/rich-text/lib/assets/icons/align-right.svg.js +1 -1
  427. package/rich-text/lib/assets/icons/background.svg.js +1 -1
  428. package/rich-text/lib/assets/icons/blockquote.svg.js +1 -1
  429. package/rich-text/lib/assets/icons/bold.svg.js +1 -1
  430. package/rich-text/lib/assets/icons/clean.svg.js +1 -1
  431. package/rich-text/lib/assets/icons/code.svg.js +1 -1
  432. package/rich-text/lib/assets/icons/color.svg.js +1 -1
  433. package/rich-text/lib/assets/icons/direction-ltr.svg.js +1 -1
  434. package/rich-text/lib/assets/icons/direction-rtl.svg.js +1 -1
  435. package/rich-text/lib/assets/icons/divider.svg.js +1 -1
  436. package/rich-text/lib/assets/icons/dropdown.svg.js +1 -1
  437. package/rich-text/lib/assets/icons/formula.svg.js +1 -1
  438. package/rich-text/lib/assets/icons/fullscreen-exit.svg.js +1 -1
  439. package/rich-text/lib/assets/icons/fullscreen.svg.js +1 -1
  440. package/rich-text/lib/assets/icons/header-2.svg.js +1 -1
  441. package/rich-text/lib/assets/icons/header-3.svg.js +1 -1
  442. package/rich-text/lib/assets/icons/header-4.svg.js +1 -1
  443. package/rich-text/lib/assets/icons/header-5.svg.js +1 -1
  444. package/rich-text/lib/assets/icons/header-6.svg.js +1 -1
  445. package/rich-text/lib/assets/icons/header.svg.js +1 -1
  446. package/rich-text/lib/assets/icons/image.svg.js +1 -1
  447. package/rich-text/lib/assets/icons/indent.svg.js +1 -1
  448. package/rich-text/lib/assets/icons/italic.svg.js +1 -1
  449. package/rich-text/lib/assets/icons/link.svg.js +1 -1
  450. package/rich-text/lib/assets/icons/list-bullet.svg.js +1 -1
  451. package/rich-text/lib/assets/icons/list-ordered.svg.js +1 -1
  452. package/rich-text/lib/assets/icons/outdent.svg.js +1 -1
  453. package/rich-text/lib/assets/icons/redo.svg.js +1 -1
  454. package/rich-text/lib/assets/icons/strike.svg.js +1 -1
  455. package/rich-text/lib/assets/icons/subscript.svg.js +1 -1
  456. package/rich-text/lib/assets/icons/superscript.svg.js +1 -1
  457. package/rich-text/lib/assets/icons/table.svg.js +1 -1
  458. package/rich-text/lib/assets/icons/underline.svg.js +1 -1
  459. package/rich-text/lib/assets/icons/undo.svg.js +1 -1
  460. package/rich-text/lib/assets/icons/video.svg.js +1 -1
  461. package/rich-text/lib/blots/block.js +12 -13
  462. package/rich-text/lib/blots/break.js +2 -2
  463. package/rich-text/lib/blots/container.js +2 -2
  464. package/rich-text/lib/blots/cursor.js +2 -2
  465. package/rich-text/lib/blots/embed.js +2 -2
  466. package/rich-text/lib/blots/inline.js +2 -2
  467. package/rich-text/lib/blots/scroll.js +39 -40
  468. package/rich-text/lib/blots/text.js +2 -2
  469. package/rich-text/lib/core/composition.js +1 -1
  470. package/rich-text/lib/core/editor.js +33 -34
  471. package/rich-text/lib/core/emitter.js +1 -1
  472. package/rich-text/lib/core/instances.js +1 -1
  473. package/rich-text/lib/core/logger.js +1 -1
  474. package/rich-text/lib/core/module.js +1 -1
  475. package/rich-text/lib/core/rich.js +34 -35
  476. package/rich-text/lib/core/selection.js +10 -11
  477. package/rich-text/lib/core/theme.js +1 -1
  478. package/rich-text/lib/core/utils/createRegistryWithFormats.js +2 -2
  479. package/rich-text/lib/core/utils/scrollRectIntoView.js +1 -1
  480. package/rich-text/lib/core.js +1 -1
  481. package/rich-text/lib/delta/AttributeMap.js +11 -12
  482. package/rich-text/lib/delta/LICENSE +28 -0
  483. package/rich-text/lib/delta/Op.js +4 -5
  484. package/rich-text/lib/delta/OpIterator.js +9 -10
  485. package/rich-text/lib/delta/index.js +2 -3
  486. package/rich-text/lib/diff/index.js +2 -3
  487. package/rich-text/lib/formats/align.js +1 -1
  488. package/rich-text/lib/formats/background.js +2 -2
  489. package/rich-text/lib/formats/blockquote.js +1 -1
  490. package/rich-text/lib/formats/bold.js +1 -1
  491. package/rich-text/lib/formats/code.js +1 -1
  492. package/rich-text/lib/formats/color.js +2 -2
  493. package/rich-text/lib/formats/direction.js +1 -1
  494. package/rich-text/lib/formats/font.js +2 -2
  495. package/rich-text/lib/formats/formula.js +6 -7
  496. package/rich-text/lib/formats/header.js +1 -1
  497. package/rich-text/lib/formats/hr.js +7 -8
  498. package/rich-text/lib/formats/image-resize/index.js +1 -1
  499. package/rich-text/lib/formats/image-resize/modules/BaseModule.js +1 -1
  500. package/rich-text/lib/formats/image-resize/modules/DisplaySize.js +1 -1
  501. package/rich-text/lib/formats/image-resize/modules/Resize.js +1 -1
  502. package/rich-text/lib/formats/image-resize/options.js +1 -1
  503. package/rich-text/lib/formats/image.js +7 -8
  504. package/rich-text/lib/formats/indent.js +9 -10
  505. package/rich-text/lib/formats/italic.js +1 -1
  506. package/rich-text/lib/formats/lineHeight.js +2 -2
  507. package/rich-text/lib/formats/link.js +1 -1
  508. package/rich-text/lib/formats/list.js +1 -1
  509. package/rich-text/lib/formats/script.js +1 -1
  510. package/rich-text/lib/formats/size.js +2 -2
  511. package/rich-text/lib/formats/strike.js +1 -1
  512. package/rich-text/lib/formats/table.js +1 -1
  513. package/rich-text/lib/formats/underline.js +1 -1
  514. package/rich-text/lib/formats/video.js +1 -1
  515. package/rich-text/lib/index.js +1 -1
  516. package/rich-text/lib/modules/clipboard.js +41 -42
  517. package/rich-text/lib/modules/history.js +8 -9
  518. package/rich-text/lib/modules/input.js +12 -13
  519. package/rich-text/lib/modules/keyboard.js +15 -16
  520. package/rich-text/lib/modules/normalizeExternalHTML/index.js +1 -1
  521. package/rich-text/lib/modules/normalizeExternalHTML/normalizers/googleDocs.js +1 -1
  522. package/rich-text/lib/modules/normalizeExternalHTML/normalizers/msWord.js +1 -1
  523. package/rich-text/lib/modules/syntax.js +16 -17
  524. package/rich-text/lib/modules/table.js +1 -1
  525. package/rich-text/lib/modules/toolbar.js +2 -3
  526. package/rich-text/lib/modules/uiNode.js +2 -2
  527. package/rich-text/lib/modules/uploader.js +1 -1
  528. package/rich-text/lib/parchment/LICENSE +30 -0
  529. package/rich-text/lib/parchment/attributor/attributor.js +4 -5
  530. package/rich-text/lib/parchment/attributor/class.js +1 -1
  531. package/rich-text/lib/parchment/attributor/store.js +1 -1
  532. package/rich-text/lib/parchment/attributor/style.js +1 -1
  533. package/rich-text/lib/parchment/blot/abstract/container.js +1 -1
  534. package/rich-text/lib/parchment/blot/abstract/leaf.js +1 -1
  535. package/rich-text/lib/parchment/blot/abstract/parent.js +9 -10
  536. package/rich-text/lib/parchment/blot/abstract/shadow.js +14 -15
  537. package/rich-text/lib/parchment/blot/block.js +14 -15
  538. package/rich-text/lib/parchment/blot/embed.js +1 -1
  539. package/rich-text/lib/parchment/blot/inline.js +39 -40
  540. package/rich-text/lib/parchment/blot/scroll.js +1 -1
  541. package/rich-text/lib/parchment/blot/text.js +1 -1
  542. package/rich-text/lib/parchment/collection/linked-list.js +1 -1
  543. package/rich-text/lib/parchment/error.js +1 -1
  544. package/rich-text/lib/parchment/index.js +1 -1
  545. package/rich-text/lib/parchment/registry.js +2 -3
  546. package/rich-text/lib/parchment/scope.js +1 -1
  547. package/rich-text/lib/themes/base.js +14 -15
  548. package/rich-text/lib/themes/pqb.js +1 -1
  549. package/rich-text/lib/ui/color-picker.js +1 -1
  550. package/rich-text/lib/ui/icon-picker.js +1 -1
  551. package/rich-text/lib/ui/icons.js +1 -1
  552. package/rich-text/lib/ui/picker.js +1 -1
  553. package/rich-text/lib/ui/tooltip.js +1 -1
  554. package/row-col/Col-.js +55 -56
  555. package/row-col/Col.js +56 -57
  556. package/row-col/Row.js +30 -31
  557. package/row-col/context.js +1 -1
  558. package/row-col/index.js +1 -1
  559. package/segmented/index.js +51 -70
  560. package/select/OptGroup.js +8 -8
  561. package/select/Option.js +23 -24
  562. package/select/Select.js +78 -79
  563. package/select/index.js +1 -1
  564. package/select/utils.js +64 -65
  565. package/select-view/Core.js +51 -52
  566. package/select-view/index.js +23 -24
  567. package/skeleton/Image.js +14 -14
  568. package/skeleton/Text.js +15 -16
  569. package/skeleton/index.js +23 -24
  570. package/slider/Button.js +64 -65
  571. package/slider/Dot.js +14 -15
  572. package/slider/Input.js +19 -19
  573. package/slider/Mark.js +11 -12
  574. package/slider/Tick.js +13 -13
  575. package/slider/hook/useInterval.js +23 -24
  576. package/slider/hook/useLegalValue.js +14 -15
  577. package/slider/index.js +75 -76
  578. package/slider/utils.js +1 -1
  579. package/space/index.js +30 -49
  580. package/speech-synthesis/index.js +7 -11
  581. package/spin/DotLoading.js +7 -8
  582. package/spin/index.js +34 -34
  583. package/splitter/Panel.js +16 -16
  584. package/splitter/SplitBar.js +21 -22
  585. package/splitter/Splitter.js +74 -75
  586. package/splitter/hooks/useEvent.js +1 -1
  587. package/splitter/hooks/useItems.js +7 -8
  588. package/splitter/hooks/useResizable.js +1 -1
  589. package/splitter/hooks/useResize.js +14 -15
  590. package/splitter/hooks/useSizes.js +11 -12
  591. package/splitter/index.js +1 -1
  592. package/statistic/index.js +27 -28
  593. package/statistic/interface.js +1 -1
  594. package/steps/Step.js +16 -16
  595. package/steps/index.js +32 -33
  596. package/style.css +1 -1
  597. package/suspense-fallback-test/index.js +4 -3
  598. package/switch/index.js +50 -57
  599. package/table/ColGroup.js +13 -14
  600. package/table/Table.js +365 -362
  601. package/table/constant.js +1 -1
  602. package/table/context.js +1 -1
  603. package/table/hook/useColumns.js +25 -26
  604. package/table/hook/useComponent.js +20 -21
  605. package/table/hook/useExpand.js +14 -15
  606. package/table/hook/useRowSelection.js +23 -24
  607. package/table/hook/useSorter.js +43 -41
  608. package/table/hook/useStickyClassNames.js +7 -8
  609. package/table/hook/useStickyOffsets.js +1 -1
  610. package/table/hook/useThResizable.js +11 -12
  611. package/table/index.js +1 -1
  612. package/table/summary/Cell.js +7 -7
  613. package/table/summary/Row.js +3 -3
  614. package/table/summary/context.js +1 -1
  615. package/table/summary/index.js +1 -1
  616. package/table/tbody/Td.js +35 -36
  617. package/table/tbody/Tr.js +12 -13
  618. package/table/tbody/index.js +28 -29
  619. package/table/tfoot/index.js +1 -1
  620. package/table/th-resizable/index.js +14 -15
  621. package/table/thead/Column.js +64 -65
  622. package/table/thead/index.js +10 -11
  623. package/table/utils.js +26 -27
  624. package/tabs/Tab.js +39 -40
  625. package/tabs/TabContent.js +7 -7
  626. package/tabs/TabPane.js +12 -12
  627. package/tabs/hook/useDomSize.js +1 -1
  628. package/tabs/hook/useHeaderScroll.js +2 -2
  629. package/tabs/index.js +1 -1
  630. package/tabs/tab-header/DropdownIcon.js +9 -10
  631. package/tabs/tab-header/TabInk.js +18 -19
  632. package/tabs/tab-header/TabNavIcon.js +25 -26
  633. package/tabs/tab-header/TabTitle.js +18 -19
  634. package/tabs/tab-header/index.js +74 -75
  635. package/tabs/utils.js +1 -1
  636. package/tag/index.js +33 -34
  637. package/time-picker/Picker.js +83 -84
  638. package/time-picker/RangePicker.js +11 -12
  639. package/time-picker/TimeColumn.js +24 -24
  640. package/time-picker/TimePicker.js +61 -62
  641. package/time-picker/context.js +1 -1
  642. package/time-picker/index.js +1 -1
  643. package/time-picker/utils.js +8 -8
  644. package/timeline/Item.js +28 -28
  645. package/timeline/Timeline.js +19 -19
  646. package/timeline/index.js +1 -1
  647. package/tooltip/index.js +41 -42
  648. package/tour/index.js +81 -99
  649. package/transfer/Item.js +23 -23
  650. package/transfer/List.js +51 -52
  651. package/transfer/index.js +41 -42
  652. package/tree/Animation.js +13 -14
  653. package/tree/Context.js +1 -1
  654. package/tree/Node.js +13 -14
  655. package/tree/NodeList.js +22 -23
  656. package/tree/Tree.js +59 -60
  657. package/tree/index.js +1 -1
  658. package/tree/utils.js +1 -1
  659. package/tree-select/List.js +19 -20
  660. package/tree-select/Select.js +74 -75
  661. package/tree-select/hook/useKeyCache.js +28 -28
  662. package/tree-select/hook/useStateValue.js +29 -30
  663. package/tree-select/hook/useTreeData.js +10 -10
  664. package/tree-select/index.js +1 -1
  665. package/tree-select/interface.js +1 -1
  666. package/tree-select/utils.js +5 -6
  667. package/trigger/getPopupStyle.js +5 -6
  668. package/trigger/index.js +126 -133
  669. package/types/config-provider/interface.d.ts +2 -1
  670. package/types/development/interface.d.ts +1 -1
  671. package/types/empty/interface.d.ts +1 -1
  672. package/types/flex/interface.d.ts +1 -1
  673. package/types/form/interface.d.ts +1 -1
  674. package/types/hooks/index.d.ts +1 -2
  675. package/types/hooks/use-computed-state/index.d.ts +1 -2
  676. package/types/hooks/use-create/index.d.ts +1 -2
  677. package/types/hooks/use-creation/index.d.ts +1 -2
  678. package/types/hooks/use-force-update/index.d.ts +1 -2
  679. package/types/hooks/use-id/index.d.ts +1 -2
  680. package/types/hooks/use-in-view/index.d.ts +1 -2
  681. package/types/hooks/use-intersection-observer/index.d.ts +1 -2
  682. package/types/hooks/use-interval/index.d.ts +1 -2
  683. package/types/hooks/use-is-first-render/index.d.ts +1 -2
  684. package/types/hooks/use-isomorphic-layout-effect/index.d.ts +1 -2
  685. package/types/hooks/use-keyboard-event/index.d.ts +1 -2
  686. package/types/hooks/use-listen-window-resize/index.d.ts +1 -2
  687. package/types/hooks/use-media/index.d.ts +1 -2
  688. package/types/hooks/use-merge-props/index.d.ts +1 -2
  689. package/types/hooks/use-merge-value/index.d.ts +1 -2
  690. package/types/hooks/use-online-status/index.d.ts +1 -2
  691. package/types/hooks/use-overflow-hidden/index.d.ts +1 -2
  692. package/types/hooks/use-override-ref/index.d.ts +1 -2
  693. package/types/hooks/use-persist-callback/index.d.ts +1 -2
  694. package/types/hooks/use-prefers-color-scheme-dark/index.d.ts +1 -2
  695. package/types/hooks/use-previous/index.d.ts +1 -2
  696. package/types/hooks/use-refs/index.d.ts +1 -2
  697. package/types/hooks/use-resize-observer/index.d.ts +1 -2
  698. package/types/hooks/use-state-callback/index.d.ts +1 -2
  699. package/types/hooks/use-state-with-promise/index.d.ts +1 -2
  700. package/types/hooks/use-update-effect/index.d.ts +1 -2
  701. package/types/hooks/use-watch/index.d.ts +1 -2
  702. package/types/hooks/use-window-size/index.d.ts +1 -2
  703. package/types/icons/file/interface.d.ts +1 -1
  704. package/types/input/Input.d.ts +1 -1
  705. package/types/select/interface.d.ts +1 -1
  706. package/types/space/interface.d.ts +1 -1
  707. package/types/speech-synthesis/interface.d.ts +1 -1
  708. package/types/suspense-fallback-test/index.d.ts +1 -1
  709. package/types/suspense-fallback-test/interface.d.ts +1 -1
  710. package/types/utils/caseName.d.ts +1 -2
  711. package/types/utils/className.d.ts +1 -2
  712. package/types/utils/constant.d.ts +1 -2
  713. package/types/utils/copy.d.ts +1 -2
  714. package/types/utils/date.d.ts +0 -1
  715. package/types/utils/dayjs.d.ts +5 -5
  716. package/types/utils/dom.d.ts +1 -2
  717. package/types/utils/emitter.d.ts +1 -2
  718. package/types/utils/fileToURL.d.ts +1 -2
  719. package/types/utils/fillNBSP.d.ts +1 -2
  720. package/types/utils/findScrollParent.d.ts +1 -2
  721. package/types/utils/getHighlightText.d.ts +1 -2
  722. package/types/utils/getHotkeyHandler.d.ts +1 -2
  723. package/types/utils/getStringLength.d.ts +1 -2
  724. package/types/utils/include.d.ts +1 -2
  725. package/types/utils/index.d.ts +0 -1
  726. package/types/utils/intersectionObserver.d.ts +1 -2
  727. package/types/utils/is.d.ts +1 -2
  728. package/types/utils/keyboardCode.d.ts +0 -1
  729. package/types/utils/lodash.d.ts +1 -2
  730. package/types/utils/math.d.ts +0 -1
  731. package/types/utils/mergeProps.d.ts +1 -2
  732. package/types/utils/mergedToString.d.ts +1 -2
  733. package/types/utils/mutationObserver.d.ts +1 -2
  734. package/types/utils/omit.d.ts +1 -2
  735. package/types/utils/pad.d.ts +1 -2
  736. package/types/utils/pick.d.ts +1 -2
  737. package/types/utils/pinyin.d.ts +1 -2
  738. package/types/utils/react19Adapter.d.ts +1 -2
  739. package/types/utils/reactDOM.d.ts +1 -2
  740. package/types/utils/resizeObserver.d.ts +1 -2
  741. package/types/utils/saveAs.d.ts +1 -2
  742. package/types/utils/screenfull.d.ts +1 -2
  743. package/types/utils/scrollIntoViewIfNeeded.d.ts +1 -2
  744. package/types/utils/setDarkTheme.d.ts +0 -1
  745. package/types/utils/setPrimaryColor.d.ts +0 -1
  746. package/types/utils/setTheme.d.ts +0 -1
  747. package/types/utils/style.d.ts +1 -2
  748. package/types/utils/supportRef.d.ts +1 -2
  749. package/types/utils/throttleByRaf.d.ts +1 -2
  750. package/types/utils/throttleByRaf2.d.ts +1 -2
  751. package/types/utils/toArray.d.ts +1 -2
  752. package/types/utils/tree.d.ts +2 -3
  753. package/types/utils/tween.d.ts +1 -2
  754. package/types/utils/validate.d.ts +1 -2
  755. package/types/utils/warning.d.ts +1 -2
  756. package/types/version/index.d.ts +1 -1
  757. package/types/virtual-list/interface.d.ts +1 -1
  758. package/typography/Base.js +39 -40
  759. package/typography/EditContent.js +27 -27
  760. package/typography/Ellipsis.js +47 -48
  761. package/typography/Operations.js +27 -28
  762. package/typography/Paragraph.js +6 -6
  763. package/typography/Text.js +1 -1
  764. package/typography/Title.js +1 -1
  765. package/typography/Typography.js +8 -8
  766. package/typography/index.js +1 -1
  767. package/typography/useCssEllipsis.js +9 -10
  768. package/typography/useEllipsis.js +33 -34
  769. package/upload/TriggerNode.js +34 -34
  770. package/upload/Upload.js +45 -46
  771. package/upload/Uploader.js +25 -26
  772. package/upload/constant.js +1 -1
  773. package/upload/index.js +1 -1
  774. package/upload/list/PictureItem.js +32 -33
  775. package/upload/list/TextItem.js +12 -13
  776. package/upload/list/UploadProgress.js +10 -11
  777. package/upload/list/index.js +60 -67
  778. package/upload/request.js +4 -4
  779. package/upload/utils.js +6 -7
  780. package/utils/caseName.js +3 -3
  781. package/utils/className.js +5 -5
  782. package/utils/constant.js +7 -8
  783. package/utils/contextHolder.js +1 -1
  784. package/utils/copy.js +3 -3
  785. package/utils/date.js +1 -1
  786. package/utils/dayjs.js +43 -42
  787. package/utils/dom.js +2 -16
  788. package/utils/emitter.js +2 -2
  789. package/utils/fileToURL.js +3 -3
  790. package/utils/fillNBSP.js +5 -4
  791. package/utils/findScrollParent.js +4 -3
  792. package/utils/getHighlightText.js +5 -4
  793. package/utils/getHotkeyHandler.js +5 -4
  794. package/utils/getStringLength.js +5 -4
  795. package/utils/include.js +5 -4
  796. package/utils/index.js +180 -330
  797. package/utils/intersectionObserver.js +4 -3
  798. package/utils/is.js +47 -49
  799. package/utils/keyboardCode.js +1 -1
  800. package/utils/lodash.js +2 -121
  801. package/utils/math.js +1 -1
  802. package/utils/mergeProps.js +5 -4
  803. package/utils/mergedToString.js +5 -4
  804. package/utils/mutationObserver.js +4 -3
  805. package/utils/names.js +1 -1
  806. package/utils/omit.js +5 -4
  807. package/utils/pad.js +2 -2
  808. package/utils/pick.js +5 -5
  809. package/utils/pinyin.js +2 -2
  810. package/utils/react19Adapter.js +2 -2
  811. package/utils/reactDOM.js +2 -2
  812. package/utils/resizeObserver.js +4 -3
  813. package/utils/responsiveObserve.js +8 -9
  814. package/utils/saveAs.js +3 -3
  815. package/utils/screenfull.js +5 -5
  816. package/utils/scrollIntoViewIfNeeded.js +7 -8
  817. package/utils/setDarkTheme.js +6 -6
  818. package/utils/setPrimaryColor.js +5 -5
  819. package/utils/setTheme.js +7 -7
  820. package/utils/style.js +2 -2
  821. package/utils/supportRef.js +2 -2
  822. package/utils/throttleByRaf.js +2 -2
  823. package/utils/throttleByRaf2.js +2 -2
  824. package/utils/toArray.js +5 -4
  825. package/utils/tree.js +4 -12
  826. package/utils/tween.js +4 -4
  827. package/utils/uuid.js +1 -1
  828. package/utils/validate.js +2 -18
  829. package/utils/warning.js +2 -2
  830. package/verification-code/VerificationCode.js +29 -30
  831. package/verification-code/index.js +1 -1
  832. package/version/index.js +2 -2
  833. package/virtual-list/Filler.js +1 -1
  834. package/virtual-list/VirtualList.js +140 -141
  835. package/virtual-list/index.js +1 -1
  836. package/virtual-list/utils/algorithm.js +1 -1
  837. package/virtual-list/utils/item.js +25 -26
  838. package/watermark/Watermark.js +12 -12
  839. package/watermark/index.js +1 -1
  840. package/dist/ui-common/development/index.js +0 -48
  841. package/dist/ui-common/empty/index.js +0 -52
  842. package/dist/ui-common/flex/index.js +0 -76
  843. package/dist/ui-common/flex/interface.js +0 -10
  844. package/dist/ui-common/higher-order/with-speech-synthesis/index.js +0 -83
  845. package/dist/ui-common/hooks/create-deep-compare-effect/index.js +0 -10
  846. package/dist/ui-common/hooks/create-update-effect/index.js +0 -15
  847. package/dist/ui-common/hooks/create-use-storage-state/index.js +0 -79
  848. package/dist/ui-common/hooks/use-async-effect/index.js +0 -26
  849. package/dist/ui-common/hooks/use-boolean/index.js +0 -15
  850. package/dist/ui-common/hooks/use-click-away/index.js +0 -32
  851. package/dist/ui-common/hooks/use-computed-state/index.js +0 -12
  852. package/dist/ui-common/hooks/use-controllable-value/index.js +0 -27
  853. package/dist/ui-common/hooks/use-cookie-state/index.js +0 -21
  854. package/dist/ui-common/hooks/use-count-down/index.js +0 -37
  855. package/dist/ui-common/hooks/use-counter/index.js +0 -44
  856. package/dist/ui-common/hooks/use-create/index.js +0 -9
  857. package/dist/ui-common/hooks/use-creation/index.js +0 -14
  858. package/dist/ui-common/hooks/use-debounce/index.js +0 -14
  859. package/dist/ui-common/hooks/use-debounce-effect/index.js +0 -13
  860. package/dist/ui-common/hooks/use-debounce-fn/index.js +0 -31
  861. package/dist/ui-common/hooks/use-deep-compare-effect/index.js +0 -7
  862. package/dist/ui-common/hooks/use-deep-compare-layout-effect/index.js +0 -7
  863. package/dist/ui-common/hooks/use-document-visibility/index.js +0 -20
  864. package/dist/ui-common/hooks/use-drag/index.js +0 -47
  865. package/dist/ui-common/hooks/use-drop/index.js +0 -60
  866. package/dist/ui-common/hooks/use-event-listener/index.js +0 -37
  867. package/dist/ui-common/hooks/use-event-target/index.js +0 -21
  868. package/dist/ui-common/hooks/use-external/index.js +0 -65
  869. package/dist/ui-common/hooks/use-favicon/index.js +0 -18
  870. package/dist/ui-common/hooks/use-focus-within/index.js +0 -26
  871. package/dist/ui-common/hooks/use-fullscreen/index.js +0 -75
  872. package/dist/ui-common/hooks/use-get-state/index.js +0 -10
  873. package/dist/ui-common/hooks/use-history-travel/index.js +0 -79
  874. package/dist/ui-common/hooks/use-hover/index.js +0 -26
  875. package/dist/ui-common/hooks/use-id/index.js +0 -11
  876. package/dist/ui-common/hooks/use-in-view/index.js +0 -32
  877. package/dist/ui-common/hooks/use-in-viewport/index.js +0 -34
  878. package/dist/ui-common/hooks/use-infinite-scroll/index.js +0 -83
  879. package/dist/ui-common/hooks/use-intersection-observer/index.js +0 -25
  880. package/dist/ui-common/hooks/use-interval/index.js +0 -17
  881. package/dist/ui-common/hooks/use-is-first-render/index.js +0 -10
  882. package/dist/ui-common/hooks/use-isomorphic-layout-effect/index.js +0 -7
  883. package/dist/ui-common/hooks/use-key-press/index.js +0 -169
  884. package/dist/ui-common/hooks/use-keyboard-event/index.js +0 -17
  885. package/dist/ui-common/hooks/use-latest/index.js +0 -9
  886. package/dist/ui-common/hooks/use-listen-window-resize/index.js +0 -10
  887. package/dist/ui-common/hooks/use-local-storage-state/index.js +0 -9
  888. package/dist/ui-common/hooks/use-lock-fn/index.js +0 -23
  889. package/dist/ui-common/hooks/use-long-press/index.js +0 -59
  890. package/dist/ui-common/hooks/use-media/index.js +0 -16
  891. package/dist/ui-common/hooks/use-memoized-fn/index.js +0 -19
  892. package/dist/ui-common/hooks/use-merge-props/index.js +0 -18
  893. package/dist/ui-common/hooks/use-merge-value/index.js +0 -21
  894. package/dist/ui-common/hooks/use-mount/index.js +0 -13
  895. package/dist/ui-common/hooks/use-mouse/index.js +0 -50
  896. package/dist/ui-common/hooks/use-mutation-observer/index.js +0 -23
  897. package/dist/ui-common/hooks/use-network/index.js +0 -57
  898. package/dist/ui-common/hooks/use-online-status/index.js +0 -21
  899. package/dist/ui-common/hooks/use-overflow-hidden/index.js +0 -27
  900. package/dist/ui-common/hooks/use-override-ref/index.js +0 -15
  901. package/dist/ui-common/hooks/use-pagination/index.js +0 -49
  902. package/dist/ui-common/hooks/use-persist-callback/index.js +0 -9
  903. package/dist/ui-common/hooks/use-prefers-color-scheme-dark/index.js +0 -25
  904. package/dist/ui-common/hooks/use-previous/index.js +0 -10
  905. package/dist/ui-common/hooks/use-raf-interval/index.js +0 -36
  906. package/dist/ui-common/hooks/use-raf-state/index.js +0 -16
  907. package/dist/ui-common/hooks/use-raf-timeout/index.js +0 -35
  908. package/dist/ui-common/hooks/use-reactive/index.js +0 -38
  909. package/dist/ui-common/hooks/use-refs/index.js +0 -11
  910. package/dist/ui-common/hooks/use-request/src/Fetch.js +0 -93
  911. package/dist/ui-common/hooks/use-request/src/plugins/useAutoRunPlugin.js +0 -30
  912. package/dist/ui-common/hooks/use-request/src/plugins/useCachePlugin.js +0 -66
  913. package/dist/ui-common/hooks/use-request/src/plugins/useDebouncePlugin.js +0 -34
  914. package/dist/ui-common/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +0 -28
  915. package/dist/ui-common/hooks/use-request/src/plugins/usePollingPlugin.js +0 -37
  916. package/dist/ui-common/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +0 -29
  917. package/dist/ui-common/hooks/use-request/src/plugins/useRetryPlugin.js +0 -28
  918. package/dist/ui-common/hooks/use-request/src/plugins/useThrottlePlugin.js +0 -31
  919. package/dist/ui-common/hooks/use-request/src/useRequest.js +0 -26
  920. package/dist/ui-common/hooks/use-request/src/useRequestImplement.js +0 -54
  921. package/dist/ui-common/hooks/use-request/src/utils/cache.js +0 -20
  922. package/dist/ui-common/hooks/use-request/src/utils/cachePromise.js +0 -10
  923. package/dist/ui-common/hooks/use-request/src/utils/cacheSubscribe.js +0 -11
  924. package/dist/ui-common/hooks/use-request/src/utils/isDocumentVisible.js +0 -8
  925. package/dist/ui-common/hooks/use-request/src/utils/isOnline.js +0 -8
  926. package/dist/ui-common/hooks/use-request/src/utils/limit.js +0 -12
  927. package/dist/ui-common/hooks/use-request/src/utils/subscribeFocus.js +0 -19
  928. package/dist/ui-common/hooks/use-request/src/utils/subscribeReVisible.js +0 -18
  929. package/dist/ui-common/hooks/use-reset-state/index.js +0 -18
  930. package/dist/ui-common/hooks/use-responsive/index.js +0 -47
  931. package/dist/ui-common/hooks/use-safe-state/index.js +0 -12
  932. package/dist/ui-common/hooks/use-scroll/index.js +0 -44
  933. package/dist/ui-common/hooks/use-selections/index.js +0 -58
  934. package/dist/ui-common/hooks/use-session-storage-state/index.js +0 -9
  935. package/dist/ui-common/hooks/use-set-state/index.js +0 -17
  936. package/dist/ui-common/hooks/use-size/index.js +0 -41
  937. package/dist/ui-common/hooks/use-state-callback/index.js +0 -16
  938. package/dist/ui-common/hooks/use-state-with-promise/index.js +0 -36
  939. package/dist/ui-common/hooks/use-text-selection/index.js +0 -56
  940. package/dist/ui-common/hooks/use-theme/index.js +0 -34
  941. package/dist/ui-common/hooks/use-throttle/index.js +0 -14
  942. package/dist/ui-common/hooks/use-throttle-effect/index.js +0 -13
  943. package/dist/ui-common/hooks/use-throttle-fn/index.js +0 -31
  944. package/dist/ui-common/hooks/use-timeout/index.js +0 -17
  945. package/dist/ui-common/hooks/use-title/index.js +0 -18
  946. package/dist/ui-common/hooks/use-toggle/index.js +0 -17
  947. package/dist/ui-common/hooks/use-tracked-effect/index.js +0 -12
  948. package/dist/ui-common/hooks/use-unmount/index.js +0 -21
  949. package/dist/ui-common/hooks/use-unmounted-ref/index.js +0 -11
  950. package/dist/ui-common/hooks/use-update/index.js +0 -9
  951. package/dist/ui-common/hooks/use-update-effect/index.js +0 -7
  952. package/dist/ui-common/hooks/use-update-layout-effect/index.js +0 -7
  953. package/dist/ui-common/hooks/use-url-state/index.js +0 -60
  954. package/dist/ui-common/hooks/use-virtual-list/index.js +0 -83
  955. package/dist/ui-common/hooks/use-watch/index.js +0 -14
  956. package/dist/ui-common/hooks/use-web-socket/index.js +0 -72
  957. package/dist/ui-common/hooks/use-why-did-you-update/index.js +0 -20
  958. package/dist/ui-common/hooks/use-window-size/index.js +0 -40
  959. package/dist/ui-common/hooks/utils/createEffectWithTarget.js +0 -23
  960. package/dist/ui-common/hooks/utils/depsAreSame.js +0 -12
  961. package/dist/ui-common/hooks/utils/depsEqual.js +0 -7
  962. package/dist/ui-common/hooks/utils/domTarget.js +0 -16
  963. package/dist/ui-common/hooks/utils/getDocumentOrShadow.js +0 -16
  964. package/dist/ui-common/hooks/utils/isDev.js +0 -5
  965. package/dist/ui-common/hooks/utils/rect.js +0 -19
  966. package/dist/ui-common/hooks/utils/useDeepCompareWithTarget.js +0 -11
  967. package/dist/ui-common/hooks/utils/useEffectWithTarget.js +0 -7
  968. package/dist/ui-common/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +0 -8
  969. package/dist/ui-common/hooks/utils/useLayoutEffectWithTarget.js +0 -7
  970. package/dist/ui-common/icons/file/index.js +0 -59
  971. package/dist/ui-common/space/index.js +0 -77
  972. package/dist/ui-common/suspense-fallback-test/index.js +0 -17
  973. package/dist/ui-common/transition-group/CSSTransition.js +0 -91
  974. package/dist/ui-common/transition-group/PqbCSSTransition.js +0 -36
  975. package/dist/ui-common/transition-group/ReplaceTransition.js +0 -34
  976. package/dist/ui-common/transition-group/SwitchTransition.js +0 -102
  977. package/dist/ui-common/transition-group/Transition.js +0 -188
  978. package/dist/ui-common/transition-group/TransitionGroup.js +0 -50
  979. package/dist/ui-common/transition-group/TransitionGroupContext.js +0 -6
  980. package/dist/ui-common/transition-group/utils/ChildMapping.js +0 -66
  981. package/dist/ui-common/utils/compute.js +0 -142
  982. package/dist/ui-common/utils/constant.js +0 -10
  983. package/dist/ui-common/utils/dayjs.js +0 -23
  984. package/dist/ui-common/utils/dom.js +0 -63
  985. package/dist/ui-common/utils/fillNBSP.js +0 -10
  986. package/dist/ui-common/utils/findScrollParent.js +0 -18
  987. package/dist/ui-common/utils/getHighlightText.js +0 -45
  988. package/dist/ui-common/utils/getHotkeyHandler.js +0 -29
  989. package/dist/ui-common/utils/getStringLength.js +0 -11
  990. package/dist/ui-common/utils/include.js +0 -11
  991. package/dist/ui-common/utils/intersectionObserver.js +0 -23
  992. package/dist/ui-common/utils/is.js +0 -98
  993. package/dist/ui-common/utils/mergeProps.js +0 -13
  994. package/dist/ui-common/utils/mergedToString.js +0 -16
  995. package/dist/ui-common/utils/mutationObserver.js +0 -21
  996. package/dist/ui-common/utils/omit.js +0 -13
  997. package/dist/ui-common/utils/pad.js +0 -19
  998. package/dist/ui-common/utils/pick.js +0 -19
  999. package/dist/ui-common/utils/react19Adapter.js +0 -4
  1000. package/dist/ui-common/utils/reactDOM.js +0 -54
  1001. package/dist/ui-common/utils/resizeObserver.js +0 -33
  1002. package/dist/ui-common/utils/scrollIntoViewIfNeeded.js +0 -75
  1003. package/dist/ui-common/utils/setDarkTheme.js +0 -28
  1004. package/dist/ui-common/utils/setDir.js +0 -14
  1005. package/dist/ui-common/utils/setPrimaryColor.js +0 -31
  1006. package/dist/ui-common/utils/setTheme.js +0 -56
  1007. package/dist/ui-common/utils/style.js +0 -40
  1008. package/dist/ui-common/utils/supportRef.js +0 -10
  1009. package/dist/ui-common/utils/throttleByRaf.js +0 -17
  1010. package/dist/ui-common/utils/throttleByRaf2.js +0 -9
  1011. package/dist/ui-common/utils/toArray.js +0 -15
  1012. package/dist/ui-common/utils/warning.js +0 -12
  1013. package/types/_common/development/index.d.ts +0 -8
  1014. package/types/_common/development/interface.d.ts +0 -22
  1015. package/types/_common/empty/index.d.ts +0 -5
  1016. package/types/_common/empty/interface.d.ts +0 -24
  1017. package/types/_common/flex/index.d.ts +0 -8
  1018. package/types/_common/flex/interface.d.ts +0 -73
  1019. package/types/_common/higher-order/index.d.ts +0 -1
  1020. package/types/_common/higher-order/with-speech-synthesis/index.d.ts +0 -7
  1021. package/types/_common/higher-order/with-speech-synthesis/interface.d.ts +0 -13
  1022. package/types/_common/hooks/create-deep-compare-effect/index.d.ts +0 -5
  1023. package/types/_common/hooks/create-update-effect/index.d.ts +0 -4
  1024. package/types/_common/hooks/create-use-storage-state/index.d.ts +0 -11
  1025. package/types/_common/hooks/index.d.ts +0 -97
  1026. package/types/_common/hooks/use-async-effect/demo/demo1.d.ts +0 -1
  1027. package/types/_common/hooks/use-async-effect/demo/demo2.d.ts +0 -1
  1028. package/types/_common/hooks/use-async-effect/index.d.ts +0 -3
  1029. package/types/_common/hooks/use-boolean/demo/demo1.d.ts +0 -1
  1030. package/types/_common/hooks/use-boolean/index.d.ts +0 -7
  1031. package/types/_common/hooks/use-click-away/demo/demo1.d.ts +0 -1
  1032. package/types/_common/hooks/use-click-away/demo/demo2.d.ts +0 -1
  1033. package/types/_common/hooks/use-click-away/demo/demo3.d.ts +0 -1
  1034. package/types/_common/hooks/use-click-away/demo/demo4.d.ts +0 -1
  1035. package/types/_common/hooks/use-click-away/demo/demo5.d.ts +0 -1
  1036. package/types/_common/hooks/use-click-away/demo/demo6.d.ts +0 -1
  1037. package/types/_common/hooks/use-click-away/index.d.ts +0 -4
  1038. package/types/_common/hooks/use-computed-state/index.d.ts +0 -4
  1039. package/types/_common/hooks/use-controllable-value/demo/demo1.d.ts +0 -1
  1040. package/types/_common/hooks/use-controllable-value/demo/demo2.d.ts +0 -2
  1041. package/types/_common/hooks/use-controllable-value/demo/demo3.d.ts +0 -2
  1042. package/types/_common/hooks/use-controllable-value/index.d.ts +0 -16
  1043. package/types/_common/hooks/use-cookie-state/demo/demo1.d.ts +0 -1
  1044. package/types/_common/hooks/use-cookie-state/demo/demo2.d.ts +0 -1
  1045. package/types/_common/hooks/use-cookie-state/demo/demo3.d.ts +0 -1
  1046. package/types/_common/hooks/use-cookie-state/index.d.ts +0 -7
  1047. package/types/_common/hooks/use-count-down/demo/demo1.d.ts +0 -1
  1048. package/types/_common/hooks/use-count-down/demo/demo2.d.ts +0 -1
  1049. package/types/_common/hooks/use-count-down/demo/demo3.d.ts +0 -1
  1050. package/types/_common/hooks/use-count-down/index.d.ts +0 -17
  1051. package/types/_common/hooks/use-counter/demo/demo1.d.ts +0 -1
  1052. package/types/_common/hooks/use-counter/index.d.ts +0 -18
  1053. package/types/_common/hooks/use-create/index.d.ts +0 -2
  1054. package/types/_common/hooks/use-creation/demo/demo1.d.ts +0 -1
  1055. package/types/_common/hooks/use-creation/index.d.ts +0 -3
  1056. package/types/_common/hooks/use-debounce/debounceOptions.d.ts +0 -6
  1057. package/types/_common/hooks/use-debounce/demo/demo1.d.ts +0 -1
  1058. package/types/_common/hooks/use-debounce/index.d.ts +0 -3
  1059. package/types/_common/hooks/use-debounce-effect/demo/demo1.d.ts +0 -1
  1060. package/types/_common/hooks/use-debounce-effect/index.d.ts +0 -4
  1061. package/types/_common/hooks/use-debounce-fn/demo/demo1.d.ts +0 -1
  1062. package/types/_common/hooks/use-debounce-fn/index.d.ts +0 -8
  1063. package/types/_common/hooks/use-deep-compare-effect/demo/demo1.d.ts +0 -1
  1064. package/types/_common/hooks/use-deep-compare-effect/index.d.ts +0 -3
  1065. package/types/_common/hooks/use-deep-compare-layout-effect/demo/demo1.d.ts +0 -1
  1066. package/types/_common/hooks/use-deep-compare-layout-effect/index.d.ts +0 -3
  1067. package/types/_common/hooks/use-document-visibility/demo/demo1.d.ts +0 -1
  1068. package/types/_common/hooks/use-document-visibility/index.d.ts +0 -3
  1069. package/types/_common/hooks/use-drag/index.d.ts +0 -13
  1070. package/types/_common/hooks/use-drop/demo/demo1.d.ts +0 -1
  1071. package/types/_common/hooks/use-drop/demo/demo2.d.ts +0 -2
  1072. package/types/_common/hooks/use-drop/index.d.ts +0 -15
  1073. package/types/_common/hooks/use-event-listener/demo/demo1.d.ts +0 -1
  1074. package/types/_common/hooks/use-event-listener/demo/demo2.d.ts +0 -1
  1075. package/types/_common/hooks/use-event-listener/demo/demo3.d.ts +0 -1
  1076. package/types/_common/hooks/use-event-listener/index.d.ts +0 -17
  1077. package/types/_common/hooks/use-event-target/demo/demo1.d.ts +0 -1
  1078. package/types/_common/hooks/use-event-target/demo/demo2.d.ts +0 -1
  1079. package/types/_common/hooks/use-event-target/index.d.ts +0 -14
  1080. package/types/_common/hooks/use-external/demo/demo1.d.ts +0 -1
  1081. package/types/_common/hooks/use-external/demo/demo2.d.ts +0 -1
  1082. package/types/_common/hooks/use-external/demo/demo3.d.ts +0 -1
  1083. package/types/_common/hooks/use-external/index.d.ts +0 -20
  1084. package/types/_common/hooks/use-favicon/demo/demo1.d.ts +0 -3
  1085. package/types/_common/hooks/use-favicon/index.d.ts +0 -2
  1086. package/types/_common/hooks/use-focus-within/demo/demo1.d.ts +0 -1
  1087. package/types/_common/hooks/use-focus-within/demo/demo2.d.ts +0 -1
  1088. package/types/_common/hooks/use-focus-within/index.d.ts +0 -7
  1089. package/types/_common/hooks/use-force-update/index.d.ts +0 -16
  1090. package/types/_common/hooks/use-fullscreen/demo/demo1.d.ts +0 -1
  1091. package/types/_common/hooks/use-fullscreen/demo/demo2.d.ts +0 -1
  1092. package/types/_common/hooks/use-fullscreen/demo/demo3.d.ts +0 -1
  1093. package/types/_common/hooks/use-fullscreen/demo/demo4.d.ts +0 -1
  1094. package/types/_common/hooks/use-fullscreen/index.d.ts +0 -17
  1095. package/types/_common/hooks/use-get-state/demo/demo1.d.ts +0 -1
  1096. package/types/_common/hooks/use-get-state/index.d.ts +0 -9
  1097. package/types/_common/hooks/use-history-travel/demo/demo1.d.ts +0 -1
  1098. package/types/_common/hooks/use-history-travel/demo/demo2.d.ts +0 -1
  1099. package/types/_common/hooks/use-history-travel/demo/demo3.d.ts +0 -1
  1100. package/types/_common/hooks/use-history-travel/index.d.ts +0 -10
  1101. package/types/_common/hooks/use-hover/demo/demo1.d.ts +0 -1
  1102. package/types/_common/hooks/use-hover/demo/demo2.d.ts +0 -1
  1103. package/types/_common/hooks/use-hover/index.d.ts +0 -8
  1104. package/types/_common/hooks/use-id/index.d.ts +0 -6
  1105. package/types/_common/hooks/use-in-view/index.d.ts +0 -11
  1106. package/types/_common/hooks/use-in-viewport/demo/demo1.d.ts +0 -1
  1107. package/types/_common/hooks/use-in-viewport/demo/demo2.d.ts +0 -1
  1108. package/types/_common/hooks/use-in-viewport/demo/demo3.d.ts +0 -1
  1109. package/types/_common/hooks/use-in-viewport/index.d.ts +0 -10
  1110. package/types/_common/hooks/use-infinite-scroll/demo/default.d.ts +0 -1
  1111. package/types/_common/hooks/use-infinite-scroll/demo/mutate.d.ts +0 -1
  1112. package/types/_common/hooks/use-infinite-scroll/demo/pagination.d.ts +0 -1
  1113. package/types/_common/hooks/use-infinite-scroll/demo/reload.d.ts +0 -1
  1114. package/types/_common/hooks/use-infinite-scroll/demo/scroll.d.ts +0 -1
  1115. package/types/_common/hooks/use-infinite-scroll/demo/scrollTop.d.ts +0 -1
  1116. package/types/_common/hooks/use-infinite-scroll/index.d.ts +0 -15
  1117. package/types/_common/hooks/use-infinite-scroll/types.d.ts +0 -32
  1118. package/types/_common/hooks/use-intersection-observer/index.d.ts +0 -7
  1119. package/types/_common/hooks/use-interval/demo/demo1.d.ts +0 -1
  1120. package/types/_common/hooks/use-interval/demo/demo2.d.ts +0 -1
  1121. package/types/_common/hooks/use-interval/index.d.ts +0 -4
  1122. package/types/_common/hooks/use-is-first-render/index.d.ts +0 -2
  1123. package/types/_common/hooks/use-isomorphic-layout-effect/index.d.ts +0 -3
  1124. package/types/_common/hooks/use-key-press/demo/demo1.d.ts +0 -1
  1125. package/types/_common/hooks/use-key-press/demo/demo2.d.ts +0 -1
  1126. package/types/_common/hooks/use-key-press/demo/demo3.d.ts +0 -1
  1127. package/types/_common/hooks/use-key-press/demo/demo4.d.ts +0 -1
  1128. package/types/_common/hooks/use-key-press/demo/demo5.d.ts +0 -1
  1129. package/types/_common/hooks/use-key-press/demo/demo6.d.ts +0 -1
  1130. package/types/_common/hooks/use-key-press/demo/demo7.d.ts +0 -1
  1131. package/types/_common/hooks/use-key-press/demo/demo8.d.ts +0 -1
  1132. package/types/_common/hooks/use-key-press/index.d.ts +0 -14
  1133. package/types/_common/hooks/use-keyboard-event/index.d.ts +0 -8
  1134. package/types/_common/hooks/use-latest/demo/demo1.d.ts +0 -1
  1135. package/types/_common/hooks/use-latest/index.d.ts +0 -2
  1136. package/types/_common/hooks/use-listen-window-resize/index.d.ts +0 -16
  1137. package/types/_common/hooks/use-local-storage-state/demo/demo1.d.ts +0 -1
  1138. package/types/_common/hooks/use-local-storage-state/demo/demo2.d.ts +0 -1
  1139. package/types/_common/hooks/use-local-storage-state/demo/demo3.d.ts +0 -1
  1140. package/types/_common/hooks/use-local-storage-state/demo/demo4.d.ts +0 -1
  1141. package/types/_common/hooks/use-local-storage-state/index.d.ts +0 -2
  1142. package/types/_common/hooks/use-lock-fn/demo/demo1.d.ts +0 -1
  1143. package/types/_common/hooks/use-lock-fn/index.d.ts +0 -2
  1144. package/types/_common/hooks/use-long-press/demo/demo1.d.ts +0 -1
  1145. package/types/_common/hooks/use-long-press/demo/demo2.d.ts +0 -1
  1146. package/types/_common/hooks/use-long-press/demo/demo3.d.ts +0 -1
  1147. package/types/_common/hooks/use-long-press/index.d.ts +0 -13
  1148. package/types/_common/hooks/use-map/demo/demo1.d.ts +0 -1
  1149. package/types/_common/hooks/use-map/index.d.ts +0 -8
  1150. package/types/_common/hooks/use-media/index.d.ts +0 -2
  1151. package/types/_common/hooks/use-memoized-fn/demo/demo1.d.ts +0 -1
  1152. package/types/_common/hooks/use-memoized-fn/demo/demo2.d.ts +0 -2
  1153. package/types/_common/hooks/use-memoized-fn/index.d.ts +0 -4
  1154. package/types/_common/hooks/use-merge-props/index.d.ts +0 -5
  1155. package/types/_common/hooks/use-merge-value/index.d.ts +0 -6
  1156. package/types/_common/hooks/use-mount/demo/demo1.d.ts +0 -1
  1157. package/types/_common/hooks/use-mount/index.d.ts +0 -3
  1158. package/types/_common/hooks/use-mouse/demo/demo1.d.ts +0 -1
  1159. package/types/_common/hooks/use-mouse/demo/demo2.d.ts +0 -1
  1160. package/types/_common/hooks/use-mouse/index.d.ts +0 -17
  1161. package/types/_common/hooks/use-mutation-observer/demo/demo1.d.ts +0 -1
  1162. package/types/_common/hooks/use-mutation-observer/index.d.ts +0 -3
  1163. package/types/_common/hooks/use-network/demo/demo1.d.ts +0 -1
  1164. package/types/_common/hooks/use-network/index.d.ts +0 -12
  1165. package/types/_common/hooks/use-online-status/index.d.ts +0 -2
  1166. package/types/_common/hooks/use-overflow-hidden/index.d.ts +0 -5
  1167. package/types/_common/hooks/use-override-ref/index.d.ts +0 -3
  1168. package/types/_common/hooks/use-pagination/demo/demo1.d.ts +0 -1
  1169. package/types/_common/hooks/use-pagination/demo/demo2.d.ts +0 -1
  1170. package/types/_common/hooks/use-pagination/demo/demo3.d.ts +0 -1
  1171. package/types/_common/hooks/use-pagination/demo/demo4.d.ts +0 -2
  1172. package/types/_common/hooks/use-pagination/index.d.ts +0 -3
  1173. package/types/_common/hooks/use-pagination/types.d.ts +0 -29
  1174. package/types/_common/hooks/use-persist-callback/index.d.ts +0 -2
  1175. package/types/_common/hooks/use-prefers-color-scheme-dark/index.d.ts +0 -2
  1176. package/types/_common/hooks/use-previous/demo/demo1.d.ts +0 -1
  1177. package/types/_common/hooks/use-previous/index.d.ts +0 -3
  1178. package/types/_common/hooks/use-raf-interval/demo/demo1.d.ts +0 -1
  1179. package/types/_common/hooks/use-raf-interval/demo/demo2.d.ts +0 -1
  1180. package/types/_common/hooks/use-raf-interval/index.d.ts +0 -4
  1181. package/types/_common/hooks/use-raf-state/demo/demo1.d.ts +0 -1
  1182. package/types/_common/hooks/use-raf-state/index.d.ts +0 -7
  1183. package/types/_common/hooks/use-raf-timeout/demo/demo1.d.ts +0 -1
  1184. package/types/_common/hooks/use-raf-timeout/demo/demo2.d.ts +0 -1
  1185. package/types/_common/hooks/use-raf-timeout/index.d.ts +0 -2
  1186. package/types/_common/hooks/use-reactive/demo/demo1.d.ts +0 -1
  1187. package/types/_common/hooks/use-reactive/demo/demo2.d.ts +0 -1
  1188. package/types/_common/hooks/use-reactive/demo/demo3.d.ts +0 -1
  1189. package/types/_common/hooks/use-reactive/demo/demo4.d.ts +0 -1
  1190. package/types/_common/hooks/use-reactive/demo/index.d.ts +0 -1
  1191. package/types/_common/hooks/use-reactive/index.d.ts +0 -2
  1192. package/types/_common/hooks/use-ref-latest/index.d.ts +0 -2
  1193. package/types/_common/hooks/use-refs/index.d.ts +0 -2
  1194. package/types/_common/hooks/use-request/doc/basic/demo/cancel.d.ts +0 -1
  1195. package/types/_common/hooks/use-request/doc/basic/demo/default.d.ts +0 -1
  1196. package/types/_common/hooks/use-request/doc/basic/demo/lifeCycle.d.ts +0 -1
  1197. package/types/_common/hooks/use-request/doc/basic/demo/manual-run.d.ts +0 -1
  1198. package/types/_common/hooks/use-request/doc/basic/demo/manual-runAsync.d.ts +0 -1
  1199. package/types/_common/hooks/use-request/doc/basic/demo/mutate.d.ts +0 -1
  1200. package/types/_common/hooks/use-request/doc/basic/demo/params.d.ts +0 -1
  1201. package/types/_common/hooks/use-request/doc/basic/demo/refresh.d.ts +0 -1
  1202. package/types/_common/hooks/use-request/doc/cache/demo/cacheKey.d.ts +0 -2
  1203. package/types/_common/hooks/use-request/doc/cache/demo/clearCache.d.ts +0 -1
  1204. package/types/_common/hooks/use-request/doc/cache/demo/params.d.ts +0 -1
  1205. package/types/_common/hooks/use-request/doc/cache/demo/setCache.d.ts +0 -2
  1206. package/types/_common/hooks/use-request/doc/cache/demo/share.d.ts +0 -1
  1207. package/types/_common/hooks/use-request/doc/cache/demo/staleTime.d.ts +0 -1
  1208. package/types/_common/hooks/use-request/doc/debounce/demo/index.d.ts +0 -1
  1209. package/types/_common/hooks/use-request/doc/index/demo/default.d.ts +0 -1
  1210. package/types/_common/hooks/use-request/doc/index/demo/manual.d.ts +0 -1
  1211. package/types/_common/hooks/use-request/doc/loadingDelay/demo/index.d.ts +0 -1
  1212. package/types/_common/hooks/use-request/doc/polling/demo/index.d.ts +0 -1
  1213. package/types/_common/hooks/use-request/doc/polling/demo/indexError.d.ts +0 -1
  1214. package/types/_common/hooks/use-request/doc/ready/demo/index.d.ts +0 -1
  1215. package/types/_common/hooks/use-request/doc/ready/demo/indexManual.d.ts +0 -1
  1216. package/types/_common/hooks/use-request/doc/refreshDeps/demo/index.d.ts +0 -1
  1217. package/types/_common/hooks/use-request/doc/refreshDeps/demo/indexAction.d.ts +0 -1
  1218. package/types/_common/hooks/use-request/doc/refreshOnWindowFocus/demo/index.d.ts +0 -1
  1219. package/types/_common/hooks/use-request/doc/retry/demo/index.d.ts +0 -1
  1220. package/types/_common/hooks/use-request/doc/throttle/demo/index.d.ts +0 -1
  1221. package/types/_common/hooks/use-request/index.d.ts +0 -4
  1222. package/types/_common/hooks/use-request/src/Fetch.d.ts +0 -20
  1223. package/types/_common/hooks/use-request/src/plugins/useAutoRunPlugin.d.ts +0 -3
  1224. package/types/_common/hooks/use-request/src/plugins/useCachePlugin.d.ts +0 -3
  1225. package/types/_common/hooks/use-request/src/plugins/useDebouncePlugin.d.ts +0 -3
  1226. package/types/_common/hooks/use-request/src/plugins/useLoadingDelayPlugin.d.ts +0 -3
  1227. package/types/_common/hooks/use-request/src/plugins/usePollingPlugin.d.ts +0 -3
  1228. package/types/_common/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.d.ts +0 -3
  1229. package/types/_common/hooks/use-request/src/plugins/useRetryPlugin.d.ts +0 -3
  1230. package/types/_common/hooks/use-request/src/plugins/useThrottlePlugin.d.ts +0 -3
  1231. package/types/_common/hooks/use-request/src/types.d.ts +0 -73
  1232. package/types/_common/hooks/use-request/src/useRequest.d.ts +0 -3
  1233. package/types/_common/hooks/use-request/src/useRequestImplement.d.ts +0 -3
  1234. package/types/_common/hooks/use-request/src/utils/cache.d.ts +0 -14
  1235. package/types/_common/hooks/use-request/src/utils/cachePromise.d.ts +0 -4
  1236. package/types/_common/hooks/use-request/src/utils/cacheSubscribe.d.ts +0 -4
  1237. package/types/_common/hooks/use-request/src/utils/isDocumentVisible.d.ts +0 -1
  1238. package/types/_common/hooks/use-request/src/utils/isOnline.d.ts +0 -2
  1239. package/types/_common/hooks/use-request/src/utils/limit.d.ts +0 -1
  1240. package/types/_common/hooks/use-request/src/utils/subscribeFocus.d.ts +0 -3
  1241. package/types/_common/hooks/use-request/src/utils/subscribeReVisible.d.ts +0 -3
  1242. package/types/_common/hooks/use-reset-state/demo/demo1.d.ts +0 -1
  1243. package/types/_common/hooks/use-reset-state/index.d.ts +0 -4
  1244. package/types/_common/hooks/use-resize-observer/index.d.ts +0 -2
  1245. package/types/_common/hooks/use-responsive/demo/demo1.d.ts +0 -1
  1246. package/types/_common/hooks/use-responsive/index.d.ts +0 -5
  1247. package/types/_common/hooks/use-safe-state/demo/demo1.d.ts +0 -1
  1248. package/types/_common/hooks/use-safe-state/index.d.ts +0 -7
  1249. package/types/_common/hooks/use-scroll/demo/demo1.d.ts +0 -1
  1250. package/types/_common/hooks/use-scroll/demo/demo2.d.ts +0 -1
  1251. package/types/_common/hooks/use-scroll/demo/demo3.d.ts +0 -1
  1252. package/types/_common/hooks/use-scroll/index.d.ts +0 -9
  1253. package/types/_common/hooks/use-selections/demo/demo1.d.ts +0 -1
  1254. package/types/_common/hooks/use-selections/demo/demo2.d.ts +0 -1
  1255. package/types/_common/hooks/use-selections/demo/demo3.d.ts +0 -1
  1256. package/types/_common/hooks/use-selections/index.d.ts +0 -21
  1257. package/types/_common/hooks/use-session-storage-state/index.d.ts +0 -2
  1258. package/types/_common/hooks/use-set/demo/demo1.d.ts +0 -1
  1259. package/types/_common/hooks/use-set/index.d.ts +0 -6
  1260. package/types/_common/hooks/use-set-state/demo/demo1.d.ts +0 -1
  1261. package/types/_common/hooks/use-set-state/demo/demo2.d.ts +0 -1
  1262. package/types/_common/hooks/use-set-state/index.d.ts +0 -3
  1263. package/types/_common/hooks/use-size/demo/demo1.d.ts +0 -1
  1264. package/types/_common/hooks/use-size/demo/demo2.d.ts +0 -1
  1265. package/types/_common/hooks/use-size/index.d.ts +0 -7
  1266. package/types/_common/hooks/use-state-callback/index.d.ts +0 -5
  1267. package/types/_common/hooks/use-state-with-promise/index.d.ts +0 -2
  1268. package/types/_common/hooks/use-text-selection/demo/demo1.d.ts +0 -1
  1269. package/types/_common/hooks/use-text-selection/demo/demo2.d.ts +0 -1
  1270. package/types/_common/hooks/use-text-selection/demo/demo3.d.ts +0 -1
  1271. package/types/_common/hooks/use-text-selection/index.d.ts +0 -14
  1272. package/types/_common/hooks/use-theme/demo/demo1.d.ts +0 -1
  1273. package/types/_common/hooks/use-theme/index.d.ts +0 -16
  1274. package/types/_common/hooks/use-throttle/demo/demo1.d.ts +0 -1
  1275. package/types/_common/hooks/use-throttle/index.d.ts +0 -3
  1276. package/types/_common/hooks/use-throttle/throttleOptions.d.ts +0 -5
  1277. package/types/_common/hooks/use-throttle-effect/demo/demo1.d.ts +0 -1
  1278. package/types/_common/hooks/use-throttle-effect/index.d.ts +0 -4
  1279. package/types/_common/hooks/use-throttle-fn/demo/demo1.d.ts +0 -1
  1280. package/types/_common/hooks/use-throttle-fn/index.d.ts +0 -8
  1281. package/types/_common/hooks/use-timeout/demo/demo1.d.ts +0 -1
  1282. package/types/_common/hooks/use-timeout/demo/demo2.d.ts +0 -1
  1283. package/types/_common/hooks/use-timeout/index.d.ts +0 -2
  1284. package/types/_common/hooks/use-title/demo/demo1.d.ts +0 -1
  1285. package/types/_common/hooks/use-title/index.d.ts +0 -5
  1286. package/types/_common/hooks/use-toggle/demo/demo1.d.ts +0 -1
  1287. package/types/_common/hooks/use-toggle/demo/demo2.d.ts +0 -1
  1288. package/types/_common/hooks/use-toggle/index.d.ts +0 -10
  1289. package/types/_common/hooks/use-tracked-effect/demo/demo1.d.ts +0 -1
  1290. package/types/_common/hooks/use-tracked-effect/index.d.ts +0 -4
  1291. package/types/_common/hooks/use-unmount/demo/demo1.d.ts +0 -1
  1292. package/types/_common/hooks/use-unmount/index.d.ts +0 -2
  1293. package/types/_common/hooks/use-unmounted-ref/demo/demo1.d.ts +0 -1
  1294. package/types/_common/hooks/use-unmounted-ref/index.d.ts +0 -2
  1295. package/types/_common/hooks/use-update/demo/demo1.d.ts +0 -1
  1296. package/types/_common/hooks/use-update/index.d.ts +0 -2
  1297. package/types/_common/hooks/use-update-effect/demo/demo1.d.ts +0 -1
  1298. package/types/_common/hooks/use-update-effect/index.d.ts +0 -3
  1299. package/types/_common/hooks/use-update-layout-effect/demo/demo1.d.ts +0 -1
  1300. package/types/_common/hooks/use-update-layout-effect/index.d.ts +0 -3
  1301. package/types/_common/hooks/use-url-state/demo/demo1.d.ts +0 -1
  1302. package/types/_common/hooks/use-url-state/demo/demo2.d.ts +0 -1
  1303. package/types/_common/hooks/use-url-state/demo/demo3.d.ts +0 -1
  1304. package/types/_common/hooks/use-url-state/demo/demo4.d.ts +0 -1
  1305. package/types/_common/hooks/use-url-state/index.d.ts +0 -10
  1306. package/types/_common/hooks/use-virtual-list/demo/demo1.d.ts +0 -1
  1307. package/types/_common/hooks/use-virtual-list/demo/demo2.d.ts +0 -2
  1308. package/types/_common/hooks/use-virtual-list/index.d.ts +0 -13
  1309. package/types/_common/hooks/use-watch/index.d.ts +0 -3
  1310. package/types/_common/hooks/use-web-socket/demo/demo1.d.ts +0 -1
  1311. package/types/_common/hooks/use-web-socket/index.d.ts +0 -26
  1312. package/types/_common/hooks/use-why-did-you-update/demo/demo1.d.ts +0 -1
  1313. package/types/_common/hooks/use-why-did-you-update/index.d.ts +0 -3
  1314. package/types/_common/hooks/use-window-size/index.d.ts +0 -18
  1315. package/types/_common/hooks/utils/createEffectWithTarget.d.ts +0 -4
  1316. package/types/_common/hooks/utils/depsAreSame.d.ts +0 -3
  1317. package/types/_common/hooks/utils/depsEqual.d.ts +0 -2
  1318. package/types/_common/hooks/utils/domTarget.d.ts +0 -6
  1319. package/types/_common/hooks/utils/getDocumentOrShadow.d.ts +0 -3
  1320. package/types/_common/hooks/utils/index.d.ts +0 -2
  1321. package/types/_common/hooks/utils/isAppleDevice.d.ts +0 -2
  1322. package/types/_common/hooks/utils/isBrowser.d.ts +0 -2
  1323. package/types/_common/hooks/utils/isDev.d.ts +0 -2
  1324. package/types/_common/hooks/utils/rect.d.ts +0 -4
  1325. package/types/_common/hooks/utils/useDeepCompareWithTarget.d.ts +0 -4
  1326. package/types/_common/hooks/utils/useEffectWithTarget.d.ts +0 -2
  1327. package/types/_common/hooks/utils/useIsomorphicLayoutEffectWithTarget.d.ts +0 -2
  1328. package/types/_common/hooks/utils/useLayoutEffectWithTarget.d.ts +0 -2
  1329. package/types/_common/icons/file/index.d.ts +0 -4
  1330. package/types/_common/icons/file/interface.d.ts +0 -20
  1331. package/types/_common/index.d.ts +0 -16
  1332. package/types/_common/progress/index.d.ts +0 -437
  1333. package/types/_common/space/index.d.ts +0 -7
  1334. package/types/_common/space/interface.d.ts +0 -53
  1335. package/types/_common/suspense-fallback-test/index.d.ts +0 -7
  1336. package/types/_common/suspense-fallback-test/interface.d.ts +0 -1
  1337. package/types/_common/transition-group/CSSTransition.d.ts +0 -98
  1338. package/types/_common/transition-group/PqbCSSTransition.d.ts +0 -4
  1339. package/types/_common/transition-group/ReplaceTransition.d.ts +0 -23
  1340. package/types/_common/transition-group/SwitchTransition.d.ts +0 -88
  1341. package/types/_common/transition-group/Transition.d.ts +0 -130
  1342. package/types/_common/transition-group/TransitionGroup.d.ts +0 -31
  1343. package/types/_common/transition-group/TransitionGroupContext.d.ts +0 -3
  1344. package/types/_common/transition-group/index.d.ts +0 -10
  1345. package/types/_common/transition-group/utils/ChildMapping.d.ts +0 -27
  1346. package/types/_common/utils/caseName.d.ts +0 -2
  1347. package/types/_common/utils/className.d.ts +0 -2
  1348. package/types/_common/utils/compute.d.ts +0 -100
  1349. package/types/_common/utils/constant.d.ts +0 -3
  1350. package/types/_common/utils/copy.d.ts +0 -4
  1351. package/types/_common/utils/date.d.ts +0 -2
  1352. package/types/_common/utils/dayjs.d.ts +0 -3
  1353. package/types/_common/utils/dom.d.ts +0 -27
  1354. package/types/_common/utils/emitter.d.ts +0 -2
  1355. package/types/_common/utils/fileToURL.d.ts +0 -2
  1356. package/types/_common/utils/fillNBSP.d.ts +0 -3
  1357. package/types/_common/utils/findScrollParent.d.ts +0 -2
  1358. package/types/_common/utils/getHighlightText.d.ts +0 -7
  1359. package/types/_common/utils/getHotkeyHandler.d.ts +0 -18
  1360. package/types/_common/utils/getStringLength.d.ts +0 -3
  1361. package/types/_common/utils/include.d.ts +0 -3
  1362. package/types/_common/utils/index.d.ts +0 -46
  1363. package/types/_common/utils/intersectionObserver.d.ts +0 -3
  1364. package/types/_common/utils/is.d.ts +0 -10
  1365. package/types/_common/utils/keyboardCode.d.ts +0 -5
  1366. package/types/_common/utils/lodash.d.ts +0 -60
  1367. package/types/_common/utils/math.d.ts +0 -2
  1368. package/types/_common/utils/mergeProps.d.ts +0 -3
  1369. package/types/_common/utils/mergedToString.d.ts +0 -4
  1370. package/types/_common/utils/mutationObserver.d.ts +0 -3
  1371. package/types/_common/utils/omit.d.ts +0 -3
  1372. package/types/_common/utils/pad.d.ts +0 -2
  1373. package/types/_common/utils/pick.d.ts +0 -6
  1374. package/types/_common/utils/pinyin.d.ts +0 -2
  1375. package/types/_common/utils/react19Adapter.d.ts +0 -1
  1376. package/types/_common/utils/reactDOM.d.ts +0 -34
  1377. package/types/_common/utils/resizeObserver.d.ts +0 -3
  1378. package/types/_common/utils/saveAs.d.ts +0 -2
  1379. package/types/_common/utils/screenfull.d.ts +0 -2
  1380. package/types/_common/utils/scrollIntoViewIfNeeded.d.ts +0 -12
  1381. package/types/_common/utils/setDarkTheme.d.ts +0 -4
  1382. package/types/_common/utils/setDir.d.ts +0 -3
  1383. package/types/_common/utils/setPrimaryColor.d.ts +0 -3
  1384. package/types/_common/utils/setTheme.d.ts +0 -3
  1385. package/types/_common/utils/style.d.ts +0 -3
  1386. package/types/_common/utils/supportRef.d.ts +0 -3
  1387. package/types/_common/utils/throttleByRaf.d.ts +0 -6
  1388. package/types/_common/utils/throttleByRaf2.d.ts +0 -6
  1389. package/types/_common/utils/tinycolor.d.ts +0 -3
  1390. package/types/_common/utils/toArray.d.ts +0 -13
  1391. package/types/_common/utils/tree.d.ts +0 -2
  1392. package/types/_common/utils/tween.d.ts +0 -2
  1393. package/types/_common/utils/uuid.d.ts +0 -1
  1394. package/types/_common/utils/validate.d.ts +0 -2
  1395. package/types/_common/utils/warning.d.ts +0 -3
package/table/Table.js CHANGED
@@ -1,37 +1,36 @@
1
- /* 2025-11-11 09:22:07 */
2
- import { jsx as a, jsxs as w, Fragment as ve } from "react/jsx-runtime";
3
- import ur from "lodash/throttle";
4
- import mr, { forwardRef as pr, useContext as gr, useMemo as ce, useRef as h, useState as K, useImperativeHandle as hr, useCallback as yr, useEffect as nt } from "react";
1
+ /* 2025-11-14 09:11:22 */
2
+ import { jsx as a, jsxs as T, Fragment as ve } from "react/jsx-runtime";
3
+ import mr from "lodash/throttle";
4
+ import pr, { forwardRef as gr, useContext as hr, useMemo as ae, useRef as g, useState as j, useImperativeHandle as yr, useCallback as br, useEffect as st } from "react";
5
5
  import "../config-provider/ConfigProvider.js";
6
- import Cr from "../dist/ui-common/hooks/use-isomorphic-layout-effect/index.js";
7
- import lt from "../dist/ui-common/hooks/use-merge-props/index.js";
8
- import br from "../dist/ui-common/hooks/use-size/index.js";
9
- import st from "../dist/ui-common/hooks/use-update-effect/index.js";
10
- import xr from "../dist/ui-common/hooks/use-window-size/index.js";
6
+ import Cr from "@unicom-cloud/ui-common/hooks/use-isomorphic-layout-effect";
7
+ import lt from "@unicom-cloud/ui-common/hooks/use-merge-props";
8
+ import xr from "@unicom-cloud/ui-common/hooks/use-resize-observer";
9
+ import it from "@unicom-cloud/ui-common/hooks/use-update-effect";
10
+ import Sr from "@unicom-cloud/ui-common/hooks/use-window-size";
11
11
  import "../pagination/PageOption.js";
12
- import it from "../pagination/Pagination.js";
13
- import Sr from "../spin/index.js";
14
- import De from "@unicom-cloud/utils/class-name";
15
- import { on as Be, off as Le } from "../dist/ui-common/utils/dom.js";
16
- import "../dist/ui-common/utils/is.js";
17
- import { pickDataAttributes as Fr } from "../dist/ui-common/utils/pick.js";
18
- import Pr from "../dist/ui-common/utils/resizeObserver.js";
19
- import ae from "./ColGroup.js";
20
- import { TableContext as wr } from "./context.js";
21
- import $r from "./hook/useColumns.js";
22
- import Tr from "./hook/useComponent.js";
23
- import Nr from "./hook/useExpand.js";
24
- import vr from "./hook/useRowSelection.js";
25
- import Dr from "./hook/useSorter.js";
26
- import Br from "./hook/useStickyClassNames.js";
27
- import Lr from "./hook/useStickyOffsets.js";
28
- import Rr from "./tbody/index.js";
29
- import zr from "./tfoot/index.js";
30
- import kr from "./thead/index.js";
31
- import { deepCloneData as Er, getOriginData as x, getSorterPriority as ct, getSorterFn as at, getScrollBarHeight as Hr, getScrollBarWidth as Wr } from "./utils.js";
32
- import Or from "../config-provider/context.js";
33
- import { isPlainObject as b, isFunction as T, isNumber as H, isString as Re, isBoolean as Ar, isArray as M, isObjectLike as Vr, isUndefined as dt } from "@unicom-cloud/utils/is";
34
- const Ir = [], Yr = [], Kr = {
12
+ import ct from "../pagination/Pagination.js";
13
+ import Pr from "../spin/index.js";
14
+ import De from "@unicom-cloud/ui-common/utils/className";
15
+ import { on as Be, off as Le } from "@unicom-cloud/ui-common/utils/dom";
16
+ import { isPlainObject as b, isFunction as v, isNil as ze, isNumber as W, isString as Re, isBoolean as Fr, isArray as U, isObjectLike as wr, isUndefined as at } from "@unicom-cloud/ui-common/utils/is";
17
+ import { pickDataAttributes as Nr } from "@unicom-cloud/ui-common/utils/pick";
18
+ import Tr from "@unicom-cloud/ui-common/utils/resizeObserver";
19
+ import de from "./ColGroup.js";
20
+ import { TableContext as $r } from "./context.js";
21
+ import vr from "./hook/useColumns.js";
22
+ import Dr from "./hook/useComponent.js";
23
+ import Br from "./hook/useExpand.js";
24
+ import Lr from "./hook/useRowSelection.js";
25
+ import zr from "./hook/useSorter.js";
26
+ import Rr from "./hook/useStickyClassNames.js";
27
+ import Er from "./hook/useStickyOffsets.js";
28
+ import Or from "./tbody/index.js";
29
+ import kr from "./tfoot/index.js";
30
+ import Hr from "./thead/index.js";
31
+ import { deepCloneData as Wr, getOriginData as x, getSorterPriority as dt, getSorterFn as ft, getScrollBarHeight as Ar, getScrollBarWidth as Ir } from "./utils.js";
32
+ import Vr from "../config-provider/context.js";
33
+ const Yr = [], Kr = [], Mr = {
35
34
  showHeader: !0,
36
35
  border: !0,
37
36
  hover: !0,
@@ -41,172 +40,176 @@ const Ir = [], Yr = [], Kr = {
41
40
  indentSize: 15,
42
41
  showSorterTooltip: !0
43
42
  };
44
- function Mr(de, ft) {
43
+ function jr(fe, ut) {
45
44
  const {
46
- prefixCls: Ur,
47
- getPrefixCls: ut,
48
- loadingElement: mt,
49
- size: ze,
50
- tablePagination: pt,
51
- renderEmpty: gt,
52
- componentConfig: fe,
53
- rtl: N
54
- } = gr(Or), u = lt(
55
- de,
56
- Kr,
57
- fe?.Table
58
- ), v = lt(
59
- b(de?.pagination) ? de?.pagination : {},
60
- b(fe?.Table?.pagination) ? fe?.Table?.pagination : {},
61
- pt || {}
45
+ prefixCls: qr,
46
+ getPrefixCls: mt,
47
+ loadingElement: pt,
48
+ size: Ee,
49
+ tablePagination: gt,
50
+ renderEmpty: ht,
51
+ componentConfig: ue,
52
+ rtl: D
53
+ } = hr(Vr), u = lt(
54
+ fe,
55
+ Mr,
56
+ ue?.Table
57
+ ), B = lt(
58
+ b(fe?.pagination) ? fe?.pagination : {},
59
+ b(ue?.Table?.pagination) ? ue?.Table?.pagination : {},
60
+ gt || {}
62
61
  ), {
63
- style: ht,
64
- className: yt,
62
+ style: yt,
63
+ className: bt,
65
64
  component: Ct,
66
- border: y,
67
- borderCell: ue,
68
- columns: ke = Yr,
69
- data: m = Ir,
65
+ border: h,
66
+ borderCell: me,
67
+ columns: Oe = Kr,
68
+ data: m = Yr,
70
69
  scroll: c,
71
- noDataElement: bt,
72
- showHeader: xt,
73
- stripe: St,
70
+ noDataElement: xt,
71
+ showHeader: St,
72
+ stripe: Pt,
74
73
  hover: Ft,
75
- pagination: P,
76
- onChange: j,
74
+ pagination: w,
75
+ onChange: q,
77
76
  pagePosition: S,
78
- childrenColumnName: W,
79
- indentSize: Pt,
80
- rowSelection: O,
81
- tableLayoutFixed: wt,
82
- header: Ee,
77
+ childrenColumnName: A,
78
+ indentSize: wt,
79
+ rowSelection: I,
80
+ tableLayoutFixed: Nt,
81
+ header: ke,
83
82
  // 潘启宝添加
84
83
  footer: He,
85
- virtualized: D,
84
+ virtualized: L,
86
85
  renderPagination: We,
87
- summary: me,
88
- rowKey: U,
89
- triggerProps: $t
90
- } = u, q = c && b(c) && c.x, Oe = ce(
91
- () => Er(m, W),
92
- [m, W]
93
- ), n = ut?.("table"), pe = u.size || (["default", "middle", "small", "mini"].indexOf(ze) > -1 ? ze : "default"), B = h(null), C = h(null), ge = h(null), p = h(null), L = h(null), Ae = h(null), Ve = h(null), Ie = h(null), he = h(null), X = h(null), _ = h(0), ye = h(!1), [Ye, d] = $r(u), { currentFilters: Tt, defaultSorters: Nt } = At(), [A, Ce] = K(1), [vt, Dt] = K(
94
- v.pageSize || v.defaultPageSize || 10
95
- ), [Ke, Me] = K(Tt), [Bt, Lt] = K(0), [Rt, zt] = K([]), be = Lr(d), [kt, je] = Br(
96
- Ye,
86
+ summary: pe,
87
+ rowKey: X,
88
+ triggerProps: Tt
89
+ } = u, _ = c && b(c) && c.x, Ae = ae(
90
+ () => Wr(m, A),
91
+ [m, A]
92
+ ), n = mt?.("table"), ge = u.size || (["default", "middle", "small", "mini"].indexOf(Ee) > -1 ? Ee : "default"), z = g(null), y = g(null), he = g(null), p = g(null), R = g(null), Ie = g(null), Ve = g(null), Ye = g(null), ye = g(null), G = g(null), J = g(0), be = g(!1), [Ke, d] = vr(u), { currentFilters: $t, defaultSorters: vt } = It(), [V, Ce] = j(1), [Dt, Bt] = j(
93
+ B.pageSize || B.defaultPageSize || 10
94
+ ), [Me, je] = j($t), [Lt, zt] = j(0), [Rt, Et] = j([]), xe = Er(d), [Ot, Ue] = Rr(
95
+ Ke,
97
96
  d,
98
97
  n
99
98
  ), {
100
- currentSorter: V,
99
+ currentSorter: Y,
101
100
  activeSorters: f,
102
- getNextActiveSorters: Et,
101
+ getNextActiveSorters: kt,
103
102
  updateStateSorters: Ht
104
- } = Dr(d, Nt), { ComponentTable: G, ComponentBodyWrapper: Wt, ComponentHeaderWrapper: Ot } = Tr(Ct), xe = ce(() => T(U) ? (e) => U(x(e)) : (e) => e[U], [U]);
105
- function At() {
103
+ } = zr(d, vt), { ComponentTable: Q, ComponentBodyWrapper: Wt, ComponentHeaderWrapper: At } = Dr(Ct), Se = ae(() => v(X) ? (e) => X(x(e)) : (e) => e[X], [X]);
104
+ function It() {
106
105
  const e = {};
107
106
  let t = [];
108
107
  return d.forEach((r) => {
109
108
  const o = r.dataIndex || r.key;
110
- if (r.defaultFilters && (e[o] = r.defaultFilters), r.filteredValue && (e[o] = r.filteredValue), "defaultSortOrder" in r || "sortOrder" in r) {
111
- const l = ct(r.sorter), i = "sortOrder" in r ? r.sortOrder : r.defaultSortOrder, s = {
112
- field: o,
113
- direction: i,
114
- sorterFn: at(r.sorter),
115
- priority: l
116
- };
117
- i ? H(l) ? t.every(
118
- (g) => H(g.priority) || !g.direction
119
- ) && t.push(s) : t.every((g) => !g.direction) ? t.push(s) : t = [s] : t.push(s);
109
+ r.defaultFilters && (e[o] = r.defaultFilters), r.filteredValue && (e[o] = r.filteredValue);
110
+ const s = "defaultSortOrder" in r && !ze(r.defaultSortOrder), i = "sortOrder" in r && !ze(r.sortOrder);
111
+ if (s || i) {
112
+ const l = dt(r.sorter), C = i ? r.sortOrder : r.defaultSortOrder;
113
+ if (C) {
114
+ const N = {
115
+ field: o,
116
+ direction: C,
117
+ sorterFn: ft(r.sorter),
118
+ priority: l
119
+ };
120
+ W(l) ? t.every((F) => W(F.priority) || !F.direction) && t.push(N) : t.every((F) => !F.direction) ? t.push(N) : t = [N];
121
+ }
120
122
  }
121
123
  }), { currentFilters: e, defaultSorters: t };
122
124
  }
123
- const J = ce(() => {
125
+ const Z = ae(() => {
124
126
  const e = d.filter(
125
127
  (r) => "filteredValue" in r
126
128
  ), t = {};
127
129
  return e.length && e.forEach((r, o) => {
128
- const l = r.key || r.dataIndex || o;
129
- l !== void 0 && (t[l] = r.filteredValue);
130
+ const s = r.key || r.dataIndex || o;
131
+ s !== void 0 && (t[s] = r.filteredValue);
130
132
  }), t;
131
- }, [d]), $ = ce(() => Object.keys(J).length ? J : Ke, [Ke, J]);
133
+ }, [d]), $ = ae(() => Object.keys(Z).length ? Z : Me, [Me, Z]);
132
134
  function Vt(e, t) {
133
- const r = Je(t);
135
+ const r = Qe(t);
134
136
  if (!r) return;
135
137
  const o = {
136
138
  direction: e,
137
139
  field: t,
138
- sorterFn: at(r.sorter),
139
- priority: ct(r.sorter)
140
- }, l = Et(o);
141
- Ht(o, l);
142
- const i = te(
140
+ sorterFn: ft(r.sorter),
141
+ priority: dt(r.sorter)
142
+ }, s = kt(o);
143
+ Ht(o, s);
144
+ const i = oe(
143
145
  o,
144
- l,
146
+ s,
145
147
  $
146
- ), s = I(i);
147
- j?.(z(i), o, $, {
148
- currentData: x(s),
148
+ ), l = K(i);
149
+ q?.(O(i), o, $, {
150
+ currentData: x(l),
149
151
  currentAllData: x(i),
150
152
  action: "sort"
151
153
  });
152
154
  }
153
- function It(e) {
154
- const t = function(o, l) {
155
- return (i, s) => {
156
- const g = o(i, s);
157
- return l === "descend" ? -g : g;
155
+ function Yt(e) {
156
+ const t = function(o, s) {
157
+ return (i, l) => {
158
+ const C = o(i, l);
159
+ return s === "descend" ? -C : C;
158
160
  };
159
161
  }, r = [...e];
160
- return r.sort((o, l) => l.priority - o.priority), (o, l) => {
161
- for (let i = 0, s = r.length; i < s; i++) {
162
- const { sorterFn: g, direction: Ne } = r[i];
163
- if (!T(g)) continue;
164
- const ie = t(g, Ne)(o, l);
165
- if (ie !== 0)
166
- return ie;
162
+ return r.sort((o, s) => s.priority - o.priority), (o, s) => {
163
+ for (let i = 0, l = r.length; i < l; i++) {
164
+ const { sorterFn: C, direction: N } = r[i];
165
+ if (!v(C) || ze(N))
166
+ continue;
167
+ const F = t(C, N)(o, s);
168
+ if (F !== 0)
169
+ return F;
167
170
  }
168
171
  return 0;
169
172
  };
170
173
  }
171
- function Yt(e, t) {
174
+ function Kt(e, t) {
172
175
  const r = {
173
176
  ...$,
174
177
  [e.dataIndex]: t
175
178
  }, o = {
176
179
  ...r,
177
- ...J
180
+ ...Z
178
181
  };
179
- if (M(t) && t.length) {
180
- Me(o);
181
- const l = te(
182
- V,
182
+ if (U(t) && t.length) {
183
+ je(o);
184
+ const s = oe(
185
+ Y,
183
186
  f,
184
187
  r
185
- ), i = I(l);
186
- j?.(
187
- z(l),
188
+ ), i = K(s);
189
+ q?.(
190
+ O(s),
188
191
  f.length === 1 ? f[0] : f,
189
192
  r,
190
193
  {
191
194
  currentData: x(i),
192
- currentAllData: x(l),
195
+ currentAllData: x(s),
193
196
  action: "filter"
194
197
  }
195
198
  );
196
- } else M(t) && !t.length && Ue(e);
199
+ } else U(t) && !t.length && qe(e);
197
200
  }
198
- function Ue({ dataIndex: e }) {
201
+ function qe({ dataIndex: e }) {
199
202
  const t = {
200
203
  ...$
201
204
  };
202
- delete t[e], Me(t);
203
- const r = te(
204
- V,
205
+ delete t[e], je(t);
206
+ const r = oe(
207
+ Y,
205
208
  f,
206
209
  t
207
- ), o = I(r);
208
- j?.(
209
- z(r),
210
+ ), o = K(r);
211
+ q?.(
212
+ O(r),
210
213
  f.length === 1 ? f[0] : f,
211
214
  t,
212
215
  {
@@ -216,245 +219,245 @@ function Mr(de, ft) {
216
219
  }
217
220
  );
218
221
  }
219
- const Q = !!d.find((e) => e.fixed === "left"), Z = !!d.find((e) => e.fixed === "right"), ee = Q || Z;
220
- function te(e, t, r) {
221
- let o = (Oe || []).slice();
222
+ const ee = !!d.find((e) => e.fixed === "left"), te = !!d.find((e) => e.fixed === "right"), re = ee || te;
223
+ function oe(e, t, r) {
224
+ let o = (Ae || []).slice();
222
225
  Object.keys(r).forEach((i) => {
223
226
  if (r[i] && r[i].length) {
224
- const s = Je(i);
225
- s && T(s.onFilter) && (o = o.filter((g) => r[i].reduce(
226
- (Ne, ie) => Ne || s.onFilter(ie, g),
227
+ const l = Qe(i);
228
+ l && v(l.onFilter) && (o = o.filter((C) => r[i].reduce(
229
+ (N, F) => N || l.onFilter(F, C),
227
230
  !1
228
231
  )));
229
232
  }
230
233
  });
231
- const l = (i) => i.slice().sort(It(t)).map((s) => M(s[W]) ? {
232
- ...s,
233
- [W]: l(s[W])
234
- } : s);
235
- return e.direction && T(e.sorterFn) || t.length ? l(o) : o;
234
+ const s = (i) => i.slice().sort(Yt(t)).map((l) => U(l[A]) ? {
235
+ ...l,
236
+ [A]: s(l[A])
237
+ } : l);
238
+ return e.direction && v(e.sorterFn) || t.length ? s(o) : o;
236
239
  }
237
- const R = te(
238
- V,
240
+ const E = oe(
241
+ Y,
239
242
  f,
240
243
  $
241
244
  );
242
- function z(e = R) {
243
- const t = v.pageSize || vt || 10, r = pe === "middle" ? "default" : pe;
245
+ function O(e = E) {
246
+ const t = B.pageSize || Dt || 10, r = ge === "middle" ? "default" : ge;
244
247
  let o = "top";
245
248
  S === "tl" || S === "bl" ? o = "bottom" : o = "top";
246
- const l = M(e) ? e.length : 0, i = Math.ceil(l / t) < A ? 1 : A;
247
- i !== A && Ce(i);
248
- let s = {
249
+ const s = U(e) ? e.length : 0, i = Math.ceil(s / t) < V ? 1 : V;
250
+ i !== V && Ce(i);
251
+ let l = {
249
252
  size: r,
250
- total: l,
253
+ total: s,
251
254
  pageSize: t,
252
255
  current: i,
253
256
  selectProps: {
254
257
  triggerProps: {
255
- ...$t,
258
+ ...Tt,
256
259
  position: o
257
260
  }
258
261
  }
259
262
  };
260
- return Vr(P) && P.selectProps && (s.selectProps = {
261
- ...s.selectProps,
262
- ...P.selectProps
263
- }), b(P) && (s = {
264
- ...s,
265
- ...P
266
- }), b(v) && (s = {
267
- ...s,
268
- ...v
269
- }), s.onChange = Qt, s;
263
+ return wr(w) && w.selectProps && (l.selectProps = {
264
+ ...l.selectProps,
265
+ ...w.selectProps
266
+ }), b(w) && (l = {
267
+ ...l,
268
+ ...w
269
+ }), b(B) && (l = {
270
+ ...l,
271
+ ...B
272
+ }), l.onChange = Zt, l;
270
273
  }
271
- const re = z(), k = I();
272
- function I(e = R, t = re) {
274
+ const ne = O(), k = K();
275
+ function K(e = E, t = ne) {
273
276
  const { current: r = 0, pageSize: o = 10 } = t;
274
- return P === !1 || b(P) && m.length <= o ? e : e.slice((r - 1) * o, r * o);
277
+ return w === !1 || b(w) && m.length <= o ? e : e.slice((r - 1) * o, r * o);
275
278
  }
276
- const F = !!(c && c.y), Y = me?.(x(R)), Se = me && mr.isValidElement(Y) && Y.props.fixed, Kt = F && Se;
279
+ const P = !!(c && c.y), M = pe?.(x(E)), Pe = pe && pr.isValidElement(M) && M.props.fixed, Mt = P && Pe;
277
280
  Cr(() => {
278
281
  Fe();
279
- const e = B.current, t = C.current, r = p.current;
280
- t && Be(t, "scroll", E);
282
+ const e = z.current, t = y.current, r = p.current;
283
+ t && Be(t, "scroll", H);
281
284
  const o = e && e.parentNode;
282
- return e && o && Be(o, "scroll", E), r && Be(r, "scroll", E), () => {
283
- t && Le(t, "scroll", E), o && Le(o, "scroll", E), r && Le(r, "scroll", E);
285
+ return e && o && Be(o, "scroll", H), r && Be(r, "scroll", H), () => {
286
+ t && Le(t, "scroll", H), o && Le(o, "scroll", H), r && Le(r, "scroll", H);
284
287
  };
285
288
  }, [
286
- Q,
287
- Z,
289
+ ee,
290
+ te,
288
291
  c?.x,
289
292
  c?.y,
290
293
  d.length,
291
294
  m
292
- ]), st(() => {
293
- const { total: e, pageSize: t } = z(m);
294
- Math.ceil(e / t) < A && Ce(1);
295
- }, [m?.length]), st(() => {
296
- oe();
297
- }, [m, Q, Z, N]), hr(ft, () => ({
298
- getRootDomElement: qe,
295
+ ]), it(() => {
296
+ const { total: e, pageSize: t } = O(m);
297
+ Math.ceil(e / t) < V && Ce(1);
298
+ }, [m?.length]), it(() => {
299
+ se();
300
+ }, [m, ee, te, D]), yr(ut, () => ({
301
+ getRootDomElement: Xe,
299
302
  scrollIntoView: (e) => {
300
- he.current && he.current.scrollTo({ key: e });
303
+ ye.current && ye.current.scrollTo({ key: e });
301
304
  },
302
- getRootDOMNode: qe
305
+ getRootDOMNode: Xe
303
306
  }));
304
- function qe() {
305
- return L.current;
307
+ function Xe() {
308
+ return R.current;
306
309
  }
307
- br(Xe(), (e) => {
310
+ xr(_e(), (e) => {
308
311
  Fe();
309
- }), xr(!0, Fe);
312
+ }), Sr(!0, Fe);
310
313
  function Fe() {
311
- if (ee || q) {
312
- oe();
313
- const e = Xe();
314
+ if (re || _) {
315
+ se();
316
+ const e = _e();
314
317
  if (e) {
315
318
  const t = e?.clientWidth ?? e?.getBoundingClientRect?.()?.width;
316
- Lt(t);
319
+ zt(t);
317
320
  }
318
321
  }
319
322
  }
320
- function Xe() {
321
- return C.current || Ie.current || Ve.current || Ae.current || L.current;
323
+ function _e() {
324
+ return y.current || Ye.current || Ve.current || Ie.current || R.current;
322
325
  }
323
- const Mt = yr(
324
- ur(() => {
325
- const e = L.current, t = F ? C.current : X.current && X.current.parentNode;
326
+ const jt = br(
327
+ mr(() => {
328
+ const e = R.current, t = P ? y.current : G.current && G.current.parentNode;
326
329
  if (t) {
327
- const r = N ? -t.scrollLeft : t.scrollLeft, o = r === 0, l = r + 1 >= t.children[0].getBoundingClientRect().width - t.getBoundingClientRect().width;
328
- o && l ? ne(
330
+ const r = D ? -t.scrollLeft : t.scrollLeft, o = r === 0, s = r + 1 >= t.children[0].getBoundingClientRect().width - t.getBoundingClientRect().width;
331
+ o && s ? le(
329
332
  e.classList,
330
333
  `${n}-scroll-position-both`
331
- ) : o ? ne(
334
+ ) : o ? le(
332
335
  e.classList,
333
- `${n}-scroll-position-${N ? "right" : "left"}`
334
- ) : l ? ne(
336
+ `${n}-scroll-position-${D ? "right" : "left"}`
337
+ ) : s ? le(
335
338
  e.classList,
336
- `${n}-scroll-position-${N ? "left" : "right"}`
337
- ) : ne(
339
+ `${n}-scroll-position-${D ? "left" : "right"}`
340
+ ) : le(
338
341
  e.classList,
339
342
  `${n}-scroll-position-middle`
340
343
  );
341
344
  } else
342
- e && Ge(e.classList);
345
+ e && Je(e.classList);
343
346
  }, 100),
344
- [L.current, C.current, F, N]
347
+ [R.current, y.current, P, D]
345
348
  );
346
- function oe() {
347
- if (ee || q) {
348
- const e = L.current;
349
- e && (Q && _e(
349
+ function se() {
350
+ if (re || _) {
351
+ const e = R.current;
352
+ e && (ee && Ge(
350
353
  e.classList,
351
354
  `${n}-has-fixed-col-left`
352
- ), Z && _e(
355
+ ), te && Ge(
353
356
  e.classList,
354
357
  `${n}-has-fixed-col-right`
355
- )), Mt();
358
+ )), jt();
356
359
  }
357
360
  }
358
- function _e(e, t) {
361
+ function Ge(e, t) {
359
362
  e.contains(t) || e.add(t);
360
363
  }
361
- function Ge(e) {
364
+ function Je(e) {
362
365
  e.remove(`${n}-scroll-position-both`), e.remove(`${n}-scroll-position-left`), e.remove(`${n}-scroll-position-right`), e.remove(`${n}-scroll-position-middle`);
363
366
  }
364
- function ne(e, t) {
365
- e.contains(t) || (Ge(e), e.add(t));
367
+ function le(e, t) {
368
+ e.contains(t) || (Je(e), e.add(t));
366
369
  }
367
370
  const {
368
- selectedRowKeys: Pe,
369
- indeterminateKeys: jt,
370
- onCheckAll: Ut,
371
- onCheck: qt,
372
- onCheckRadio: Xt,
373
- setSelectedRowKeys: _t,
374
- allSelectedRowKeys: Gt,
375
- flattenData: Jt
376
- } = vr(u, k, Oe, xe);
377
- function Je(e) {
378
- return d.find((t, r) => dt(t.key) ? dt(t.dataIndex) ? H(e) ? r === e : !1 : t.dataIndex === e : H(t.key) && Re(e) ? t.key.toString() === e : t.key === e);
371
+ selectedRowKeys: we,
372
+ indeterminateKeys: Ut,
373
+ onCheckAll: qt,
374
+ onCheck: Xt,
375
+ onCheckRadio: _t,
376
+ setSelectedRowKeys: Gt,
377
+ allSelectedRowKeys: Jt,
378
+ flattenData: Qt
379
+ } = Lr(u, k, Ae, Se);
380
+ function Qe(e) {
381
+ return d.find((t, r) => at(t.key) ? at(t.dataIndex) ? W(e) ? r === e : !1 : t.dataIndex === e : W(t.key) && Re(e) ? t.key.toString() === e : t.key === e);
379
382
  }
380
- function Qt(e, t) {
381
- Ce(e), Dt(t), e !== A && Zt(), O && !O.checkCrossPage && Pe.length && (_t([]), O.onChange?.([], []));
382
- const r = { ...z(), current: e, pageSize: t };
383
- j?.(
383
+ function Zt(e, t) {
384
+ Ce(e), Bt(t), e !== V && er(), I && !I.checkCrossPage && we.length && (Gt([]), I.onChange?.([], []));
385
+ const r = { ...O(), current: e, pageSize: t };
386
+ q?.(
384
387
  r,
385
388
  f.length === 1 ? f[0] : f,
386
389
  $,
387
390
  {
388
391
  currentData: x(
389
- I(R, r)
392
+ K(E, r)
390
393
  ),
391
- currentAllData: x(R),
394
+ currentAllData: x(E),
392
395
  action: "paginate"
393
396
  }
394
- ), v.onChange?.(e, t);
397
+ ), B.onChange?.(e, t);
395
398
  }
396
- function Zt() {
397
- const e = C.current;
399
+ function er() {
400
+ const e = y.current;
398
401
  e && e.scrollTo({ top: 0, behavior: "smooth" });
399
402
  }
400
- function E(e) {
401
- const { target: t } = e, r = C.current, o = B.current && B.current.parentNode, l = p.current;
402
- t.scrollLeft !== _.current && (o && (o.scrollLeft = t.scrollLeft), r && (r.scrollLeft = t.scrollLeft), l && (l.scrollLeft = t.scrollLeft), oe()), _.current = e.target.scrollLeft;
403
+ function H(e) {
404
+ const { target: t } = e, r = y.current, o = z.current && z.current.parentNode, s = p.current;
405
+ t.scrollLeft !== J.current && (o && (o.scrollLeft = t.scrollLeft), r && (r.scrollLeft = t.scrollLeft), s && (s.scrollLeft = t.scrollLeft), se()), J.current = e.target.scrollLeft;
403
406
  }
404
- function er(e) {
405
- const { target: t } = e, r = X.current;
406
- t.scrollLeft !== _.current && (r.scrollLeft = t.scrollLeft, oe()), _.current = e.target.scrollLeft;
407
+ function tr(e) {
408
+ const { target: t } = e, r = G.current;
409
+ t.scrollLeft !== J.current && (r.scrollLeft = t.scrollLeft, se()), J.current = e.target.scrollLeft;
407
410
  }
408
- const [Qe, tr] = Nr(
411
+ const [Ze, rr] = Br(
409
412
  u,
410
- Jt,
411
- xe
413
+ Qt,
414
+ Se
412
415
  );
413
- let Ze = {}, we = {};
414
- c && (c.x && (H(c.x) || Re(c.x)) && (we = {
416
+ let et = {}, Ne = {};
417
+ c && (c.x && (W(c.x) || Re(c.x)) && (Ne = {
415
418
  width: c.x
416
- }), c.y && (H(c.y) || Re(c.y)) && (Ze = {
419
+ }), c.y && (W(c.y) || Re(c.y)) && (et = {
417
420
  maxHeight: c.y
418
421
  }));
419
- function rr() {
422
+ function or() {
420
423
  requestAnimationFrame((e) => {
421
- const t = B.current && B.current.parentNode, r = Hr(t);
424
+ const t = z.current && z.current.parentNode, r = Ar(t);
422
425
  r && r > 0 && (t.style.marginBottom = `-${r}px`, t.style.paddingBottom = "0px", p.current && (p.current.style.marginBottom = `-${r}px`, p.current.style.paddingBottom = "0px")), setTimeout(() => {
423
- const o = C.current;
424
- Wr(o) ? (ye.current = !0, t && (t.style.overflowY = "scroll", t.style.scrollSnapType = "y mandatory"), p.current && (p.current.style.overflowY = "scroll", p.current.style.overflowY = "y mandatory")) : t && ye.current && (ye.current = !1, t.style.overflowY = "auto", t.style.overflowY = "y mandatory", p.current && (p.current.style.overflowY = "auto", p.current.style.overflowY = "y mandatory"));
426
+ const o = y.current;
427
+ Ir(o) ? (be.current = !0, t && (t.style.overflowY = "scroll", t.style.scrollSnapType = "y mandatory"), p.current && (p.current.style.overflowY = "scroll", p.current.style.overflowY = "y mandatory")) : t && be.current && (be.current = !1, t.style.overflowY = "auto", t.style.overflowY = "y mandatory", p.current && (p.current.style.overflowY = "auto", p.current.style.overflowY = "y mandatory"));
425
428
  }, 0);
426
429
  });
427
430
  }
428
- const et = /* @__PURE__ */ a(
429
- kr,
431
+ const tt = /* @__PURE__ */ a(
432
+ Hr,
430
433
  {
431
434
  ...u,
432
435
  activeSorters: f,
433
- currentSorter: V,
434
- selectedRowKeys: Pe,
436
+ currentSorter: Y,
437
+ selectedRowKeys: we,
435
438
  currentFilters: $,
436
- onCheckAll: Ut,
439
+ onCheckAll: qt,
437
440
  onSort: Vt,
438
441
  data: k,
439
- onHandleFilter: Yt,
440
- onHandleFilterReset: Ue,
442
+ onHandleFilter: Kt,
443
+ onHandleFilterReset: qe,
441
444
  prefixCls: n,
442
- allSelectedRowKeys: Gt,
443
- groupColumns: Ye,
444
- stickyOffsets: be,
445
- groupStickyClassNames: kt
445
+ allSelectedRowKeys: Jt,
446
+ groupColumns: Ke,
447
+ stickyOffsets: xe,
448
+ groupStickyClassNames: Ot
446
449
  }
447
450
  );
448
- function or() {
449
- const e = q && c.x === "max-content";
450
- return F || D ? /* @__PURE__ */ a(Ot, { className: `${n}-header`, children: /* @__PURE__ */ w(
451
- G,
451
+ function nr() {
452
+ const e = _ && c.x === "max-content";
453
+ return P || L ? /* @__PURE__ */ a(At, { className: `${n}-header`, children: /* @__PURE__ */ T(
454
+ Q,
452
455
  {
453
- ref: B,
454
- style: e ? {} : we,
456
+ ref: z,
457
+ style: e ? {} : Ne,
455
458
  children: [
456
459
  /* @__PURE__ */ a(
457
- ae,
460
+ de,
458
461
  {
459
462
  columns: d,
460
463
  prefixCls: n,
@@ -462,101 +465,101 @@ function Mr(de, ft) {
462
465
  columnWidths: e && c.y ? Rt : null
463
466
  }
464
467
  ),
465
- et
468
+ tt
466
469
  ]
467
470
  }
468
- ) }) : et;
471
+ ) }) : tt;
469
472
  }
470
- const tt = Y && /* @__PURE__ */ a(
471
- zr,
473
+ const rt = M && /* @__PURE__ */ a(
474
+ kr,
472
475
  {
473
476
  prefixCls: n,
474
- summary: me,
477
+ summary: pe,
475
478
  data: k,
476
479
  columns: d,
477
- stickyOffsets: be,
478
- stickyClassNames: je
480
+ stickyOffsets: xe,
481
+ stickyClassNames: Ue
479
482
  }
480
- ), rt = /* @__PURE__ */ a(
481
- Rr,
483
+ ), ot = /* @__PURE__ */ a(
484
+ Or,
482
485
  {
483
486
  ...u,
484
- saveRef: (e) => ge.current = e,
485
- selectedRowKeys: Pe,
486
- indeterminateKeys: jt,
487
- expandedRowKeys: Qe,
488
- onCheck: qt,
489
- onCheckRadio: Xt,
490
- onClickExpandBtn: tr,
487
+ saveRef: (e) => he.current = e,
488
+ selectedRowKeys: we,
489
+ indeterminateKeys: Ut,
490
+ expandedRowKeys: Ze,
491
+ onCheck: Xt,
492
+ onCheckRadio: _t,
493
+ onClickExpandBtn: rr,
491
494
  columns: d,
492
495
  data: k,
493
496
  prefixCls: n,
494
- hasFixedColumn: ee,
495
- tableViewWidth: Bt,
496
- indentSize: Pt,
497
- noDataElement: bt || gt("Table"),
497
+ hasFixedColumn: re,
498
+ tableViewWidth: Lt,
499
+ indentSize: wt,
500
+ noDataElement: xt || ht("Table"),
498
501
  activeSorters: f,
499
- currentSorter: V,
500
- stickyOffsets: be,
501
- stickyClassNames: je,
502
- getRowKey: xe,
502
+ currentSorter: Y,
503
+ stickyOffsets: xe,
504
+ stickyClassNames: Ue,
505
+ getRowKey: Se,
503
506
  saveVirtualListRef: (e) => {
504
- D && (he.current = e, C.current = e?.dom);
507
+ L && (ye.current = e, y.current = e?.dom);
505
508
  }
506
509
  }
507
- ), ot = !D && !Kt ? /* @__PURE__ */ w(ve, { children: [
508
- rt,
509
- tt
510
- ] }) : rt;
511
- if (nt(() => {
512
- const e = C.current || ge.current, t = Pr([e], rr);
510
+ ), nt = !L && !Mt ? /* @__PURE__ */ T(ve, { children: [
511
+ ot,
512
+ rt
513
+ ] }) : ot;
514
+ if (st(() => {
515
+ const e = y.current || he.current, t = Tr([e], or);
513
516
  return () => {
514
517
  t();
515
518
  };
516
- }, [C.current, ge.current]), nt(() => (u.consoleTable && console.table(m), () => {
517
- }), [m, u.consoleTable]), !ke.length) return null;
518
- function nr() {
519
- const e = b(c) && c.x === "max-content" && !!c.y && M(m) && m.length > 0;
520
- return F && !D ? /* @__PURE__ */ a(
519
+ }, [y.current, he.current]), st(() => (u.consoleTable && console.table(m), () => {
520
+ }), [m, u.consoleTable]), !Oe.length) return null;
521
+ function sr() {
522
+ const e = b(c) && c.x === "max-content" && !!c.y && U(m) && m.length > 0;
523
+ return P && !L ? /* @__PURE__ */ a(
521
524
  Wt,
522
525
  {
523
- ref: C,
526
+ ref: y,
524
527
  className: De(`${n}-content-body`, `${n}-body`),
525
- style: Ze,
526
- children: /* @__PURE__ */ w(G, { style: we, children: [
528
+ style: et,
529
+ children: /* @__PURE__ */ T(Q, { style: Ne, children: [
527
530
  /* @__PURE__ */ a(
528
- ae,
531
+ de,
529
532
  {
530
533
  columns: d,
531
534
  prefixCls: n,
532
535
  producer: e,
533
- onSetColumnWidths: zt,
534
- expandedRowKeys: Qe,
536
+ onSetColumnWidths: Et,
537
+ expandedRowKeys: Ze,
535
538
  data: m
536
539
  }
537
540
  ),
538
- ot
541
+ nt
539
542
  ] })
540
543
  }
541
- ) : ot;
544
+ ) : nt;
542
545
  }
543
546
  function lr() {
544
547
  let e = {};
545
- q && (e = {
548
+ _ && (e = {
546
549
  width: c.x
547
550
  });
548
- const t = /* @__PURE__ */ a("div", { className: `${n}-tfoot`, ref: p, children: /* @__PURE__ */ w(G, { style: e, children: [
549
- /* @__PURE__ */ a(ae, { columns: d, prefixCls: n }),
550
- tt
551
- ] }) }), r = Y && F && Se === "top", o = Y && F && Se === "bottom", l = /* @__PURE__ */ w(ve, { children: [
552
- xt ? or() : null,
551
+ const t = /* @__PURE__ */ a("div", { className: `${n}-tfoot`, ref: p, children: /* @__PURE__ */ T(Q, { style: e, children: [
552
+ /* @__PURE__ */ a(de, { columns: d, prefixCls: n }),
553
+ rt
554
+ ] }) }), r = M && P && Pe === "top", o = M && P && Pe === "bottom", s = /* @__PURE__ */ T(ve, { children: [
555
+ St ? nr() : null,
553
556
  r && t,
554
- nr(),
557
+ sr(),
555
558
  o && t
556
- ] }), i = T(Ee) && Ee(k), s = T(He) && He(k);
557
- return /* @__PURE__ */ w(ve, { children: [
559
+ ] }), i = v(ke) && ke(k), l = v(He) && He(k);
560
+ return /* @__PURE__ */ T(ve, { children: [
558
561
  !!i && /* @__PURE__ */ a("div", { className: `${n}-header-`, children: i }),
559
- /* @__PURE__ */ a("div", { ref: Ae, className: `${n}-container`, children: /* @__PURE__ */ a(
562
+ /* @__PURE__ */ a("div", { ref: Ie, className: `${n}-container`, children: /* @__PURE__ */ a(
560
563
  "div",
561
564
  {
562
565
  ref: Ve,
@@ -564,71 +567,71 @@ function Mr(de, ft) {
564
567
  children: /* @__PURE__ */ a(
565
568
  "div",
566
569
  {
567
- ref: Ie,
570
+ ref: Ye,
568
571
  className: `${n}-content-inner`,
569
- onScroll: F ? void 0 : er,
570
- children: F || D ? l : /* @__PURE__ */ w(G, { ref: X, style: e, children: [
571
- /* @__PURE__ */ a(ae, { prefixCls: n, columns: d }),
572
- l
572
+ onScroll: P ? void 0 : tr,
573
+ children: P || L ? s : /* @__PURE__ */ T(Q, { ref: G, style: e, children: [
574
+ /* @__PURE__ */ a(de, { prefixCls: n, columns: d }),
575
+ s
573
576
  ] })
574
577
  }
575
578
  )
576
579
  }
577
580
  ) }),
578
- !!s && /* @__PURE__ */ a("div", { className: `${n}-footer`, children: s })
581
+ !!l && /* @__PURE__ */ a("div", { className: `${n}-footer`, children: l })
579
582
  ] });
580
583
  }
581
- const sr = b(y) ? y.wrapper : y, $e = b(y) ? y.cell : ue, ir = b(y) ? y.cell || y.headerCell : ue, cr = b(y) ? y.cell || y.bodyCell : ue, ar = De(
584
+ const ir = b(h) ? h.wrapper : h, Te = b(h) ? h.cell : me, cr = b(h) ? h.cell || h.headerCell : me, ar = b(h) ? h.cell || h.bodyCell : me, dr = De(
582
585
  n,
583
- `${n}-size-${pe}`,
586
+ `${n}-size-${ge}`,
584
587
  {
585
- [`${n}-border`]: sr,
586
- [`${n}-border-cell`]: $e,
587
- [`${n}-border-header-cell`]: !$e && ir,
588
- [`${n}-border-body-cell`]: !$e && cr,
589
- [`${n}-stripe`]: St,
588
+ [`${n}-border`]: ir,
589
+ [`${n}-border-cell`]: Te,
590
+ [`${n}-border-header-cell`]: !Te && cr,
591
+ [`${n}-border-body-cell`]: !Te && ar,
592
+ [`${n}-stripe`]: Pt,
590
593
  [`${n}-hover`]: Ft,
591
- [`${n}-type-radio`]: O && O.type === "radio",
592
- [`${n}-layout-fixed`]: wt || c && (c.x || c.y) || ke.find((e) => e.ellipsis),
593
- [`${n}-fixed-column`]: ee,
594
- [`${n}-virtualized`]: D,
595
- [`${n}-rtl`]: N
594
+ [`${n}-type-radio`]: I && I.type === "radio",
595
+ [`${n}-layout-fixed`]: Nt || c && (c.x || c.y) || Oe.find((e) => e.ellipsis),
596
+ [`${n}-fixed-column`]: re,
597
+ [`${n}-virtualized`]: L,
598
+ [`${n}-rtl`]: D
596
599
  },
597
- yt
598
- ), Te = S === "tl" || S === "tr" || S === "topCenter", dr = De(`${n}-pagination`, {
600
+ bt
601
+ ), $e = S === "tl" || S === "tr" || S === "topCenter", fr = De(`${n}-pagination`, {
599
602
  [`${n}-pagination-left`]: S === "tl" || S === "bl",
600
603
  [`${n}-pagination-center`]: S === "topCenter" || S === "bottomCenter",
601
- [`${n}-pagination-top`]: Te
604
+ [`${n}-pagination-top`]: $e
602
605
  });
603
- let le = u.loading;
604
- Ar(le) && (le = { loading: le });
605
- const fr = P !== !1 && (R.length !== 0 || re?.total > 0);
606
- let se;
607
- return fr && (T(We) ? se = We(/* @__PURE__ */ a(it, { ...re })) : se = /* @__PURE__ */ a("div", { className: dr, children: /* @__PURE__ */ a(it, { ...re }) })), /* @__PURE__ */ a(wr.Provider, { value: u, children: /* @__PURE__ */ a(
606
+ let ie = u.loading;
607
+ Fr(ie) && (ie = { loading: ie });
608
+ const ur = w !== !1 && (E.length !== 0 || ne?.total > 0);
609
+ let ce;
610
+ return ur && (v(We) ? ce = We(/* @__PURE__ */ a(ct, { ...ne })) : ce = /* @__PURE__ */ a("div", { className: fr, children: /* @__PURE__ */ a(ct, { ...ne }) })), /* @__PURE__ */ a($r.Provider, { value: u, children: /* @__PURE__ */ a(
608
611
  "div",
609
612
  {
610
- ref: L,
611
- style: ht,
612
- className: ar,
613
- ...Fr(u),
614
- children: /* @__PURE__ */ w(
615
- Sr,
613
+ ref: R,
614
+ style: yt,
615
+ className: dr,
616
+ ...Nr(u),
617
+ children: /* @__PURE__ */ T(
618
+ Pr,
616
619
  {
617
620
  className: `${n}-spin`,
618
- element: mt,
619
- ...le,
621
+ element: pt,
622
+ ...ie,
620
623
  children: [
621
- Te && se,
624
+ $e && ce,
622
625
  lr(),
623
- !Te && se
626
+ !$e && ce
624
627
  ]
625
628
  }
626
629
  )
627
630
  }
628
631
  ) });
629
632
  }
630
- const jr = pr(Mr);
631
- jr.displayName = "Table";
633
+ const Ur = gr(jr);
634
+ Ur.displayName = "Table";
632
635
  export {
633
- jr as default
636
+ Ur as default
634
637
  };