@unicom-cloud/ui 0.8.118 → 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 (1415) 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 -29
  44. package/List.js +11 -12
  45. package/Loading.js +8 -26
  46. package/Marquee.js +107 -175
  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 +52 -48
  98. package/alert/index.js +47 -47
  99. package/anchor/Anchor.js +98 -95
  100. package/anchor/Link.js +33 -30
  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 +84 -81
  109. package/avatar/Avatar.js +26 -22
  110. package/avatar/Group.js +39 -35
  111. package/avatar/context.js +1 -1
  112. package/avatar/index.js +1 -1
  113. package/back-top/index.js +31 -31
  114. package/badge/Count.js +15 -15
  115. package/badge/index.js +52 -48
  116. package/breadcrumb/Item.js +23 -24
  117. package/breadcrumb/index.js +40 -35
  118. package/button/Group.js +7 -7
  119. package/button/index.js +76 -76
  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 +95 -95
  128. package/card/Grid.js +14 -14
  129. package/card/Meta.js +18 -18
  130. package/card/index.js +46 -40
  131. package/carousel/Arrow.js +19 -19
  132. package/carousel/Indicator.js +20 -20
  133. package/carousel/index.js +64 -60
  134. package/cascader/Cascader.js +66 -67
  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 +64 -60
  144. package/checkbox/Group.js +50 -47
  145. package/checkbox/GroupBlock.js +26 -22
  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 +50 -46
  150. package/collapse/Item.js +46 -55
  151. package/collapse/index.js +1 -1
  152. package/color-picker/ControlBar.js +26 -26
  153. package/color-picker/InputAlpha.js +8 -8
  154. package/color-picker/InputHex.js +23 -23
  155. package/color-picker/InputRgb.js +11 -11
  156. package/color-picker/Mode.js +6 -7
  157. package/color-picker/Palette.js +6 -6
  158. package/color-picker/Panel.js +30 -27
  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 +84 -85
  163. package/color-picker/interface.js +1 -1
  164. package/color-picker/utils.js +19 -20
  165. package/comment/index.js +37 -33
  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 +29 -25
  171. package/countdown/index.js +63 -75
  172. package/countdown/utils.js +2 -2
  173. package/date-picker/Picker.js +161 -153
  174. package/date-picker/RangePicker.js +256 -244
  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 +25 -23
  180. package/date-picker/panel/Header.js +71 -45
  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 +188 -157
  184. package/date-picker/panel/month/index.js +74 -63
  185. package/date-picker/panel/quarter/index.js +76 -65
  186. package/date-picker/panel/range/index.js +165 -152
  187. package/date-picker/panel/week/index.js +36 -23
  188. package/date-picker/panel/year/index.js +61 -50
  189. package/date-picker/utils.js +25 -26
  190. package/descriptions/index.js +79 -79
  191. package/details/index.js +75 -88
  192. package/development/index.js +16 -14
  193. package/divider/index.js +40 -36
  194. package/draggable/Item.js +2 -2
  195. package/draggable/index.js +15 -15
  196. package/drawer/Drawer.js +55 -56
  197. package/drawer/index.js +1 -1
  198. package/dropdown/Button.js +31 -31
  199. package/dropdown/index.js +61 -62
  200. package/empty/index.js +18 -23
  201. package/flex/index.js +36 -50
  202. package/form/Control.js +59 -60
  203. package/form/Form.js +41 -42
  204. package/form/FormItem.js +79 -78
  205. package/form/FormLabel.js +65 -38
  206. package/form/FormList.js +19 -20
  207. package/form/FormProvider.js +1 -1
  208. package/form/context.js +21 -16
  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 +9 -10
  216. package/form/store.js +10 -11
  217. package/form/utils.js +19 -20
  218. package/grid/Grid.js +46 -42
  219. package/grid/Item.js +31 -27
  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 +18 -18
  290. package/icons/file/index.js +14 -14
  291. package/icons/file.js +5 -6
  292. package/icons.js +1 -1
  293. package/image/Image.js +78 -74
  294. package/image/ImageFooter.js +10 -10
  295. package/image/ImagePreview.js +121 -134
  296. package/image/ImagePreviewArrow.js +21 -21
  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 +37 -38
  308. package/input/Group.js +15 -11
  309. package/input/Input.js +98 -98
  310. package/input/InputElement.js +65 -66
  311. package/input/Number.js +1 -1
  312. package/input/Password.js +31 -31
  313. package/input/Search.js +42 -43
  314. package/input/Tag.js +1 -1
  315. package/input/Textarea.js +108 -99
  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 +45 -45
  321. package/input-number/useSelectionRange.js +12 -13
  322. package/input-number/utils.js +30 -31
  323. package/input-tag/InputTag.js +165 -172
  324. package/input-tag/index.js +1 -1
  325. package/layout/Content.js +9 -9
  326. package/layout/Footer.js +10 -10
  327. package/layout/Header.js +11 -11
  328. package/layout/Sider.js +33 -34
  329. package/layout/index.js +25 -22
  330. package/link/index.js +39 -34
  331. package/liquid-fill/index.js +82 -100
  332. package/list/Item.js +24 -20
  333. package/list/Meta.js +9 -9
  334. package/list/index.js +51 -51
  335. package/loading/index.js +39 -52
  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 +96 -164
  357. package/mentions/index.js +47 -42
  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 +71 -67
  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 +31 -31
  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 +63 -64
  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 +113 -130
  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 +18 -19
  383. package/overflow-ellipsis/index.js +41 -41
  384. package/package.json +1 -1
  385. package/page-header/index.js +44 -40
  386. package/pagination/PageItem.js +57 -57
  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 +33 -34
  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 +118 -119
  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 +70 -71
  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 +50 -50
  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 +46 -53
  599. package/table/ColGroup.js +13 -14
  600. package/table/Table.js +367 -363
  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 +20 -21
  618. package/table/tbody/index.js +28 -29
  619. package/table/tfoot/index.js +1 -1
  620. package/table/th-resizable/index.js +18 -19
  621. package/table/thead/Column.js +76 -77
  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 +100 -102
  638. package/time-picker/RangePicker.js +11 -12
  639. package/time-picker/TimeColumn.js +42 -58
  640. package/time-picker/TimePicker.js +94 -97
  641. package/time-picker/context.js +1 -1
  642. package/time-picker/index.js +1 -1
  643. package/time-picker/utils.js +15 -25
  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 +43 -44
  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 +76 -77
  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 +136 -143
  669. package/types/checkbox/Checkbox.d.ts +1 -1
  670. package/types/checkbox/interface.d.ts +3 -3
  671. package/types/config-provider/interface.d.ts +8 -2
  672. package/types/date-picker/index.d.ts +2 -2
  673. package/types/date-picker/interface.d.ts +16 -13
  674. package/types/date-picker/panel/Header.d.ts +2 -0
  675. package/types/date-picker/panel/date/index.d.ts +1 -1
  676. package/types/date-picker/panel/month/index.d.ts +3 -3
  677. package/types/date-picker/panel/quarter/index.d.ts +3 -3
  678. package/types/date-picker/panel/range/index.d.ts +3 -3
  679. package/types/date-picker/panel/week/index.d.ts +3 -3
  680. package/types/date-picker/panel/year/index.d.ts +3 -3
  681. package/types/development/interface.d.ts +1 -1
  682. package/types/empty/interface.d.ts +1 -1
  683. package/types/flex/interface.d.ts +1 -1
  684. package/types/form/interface.d.ts +2 -1
  685. package/types/hooks/index.d.ts +1 -2
  686. package/types/hooks/use-computed-state/index.d.ts +1 -2
  687. package/types/hooks/use-create/index.d.ts +1 -2
  688. package/types/hooks/use-creation/index.d.ts +1 -2
  689. package/types/hooks/use-force-update/index.d.ts +1 -2
  690. package/types/hooks/use-id/index.d.ts +1 -2
  691. package/types/hooks/use-in-view/index.d.ts +1 -2
  692. package/types/hooks/use-intersection-observer/index.d.ts +1 -2
  693. package/types/hooks/use-interval/index.d.ts +1 -2
  694. package/types/hooks/use-is-first-render/index.d.ts +1 -2
  695. package/types/hooks/use-isomorphic-layout-effect/index.d.ts +1 -2
  696. package/types/hooks/use-keyboard-event/index.d.ts +1 -2
  697. package/types/hooks/use-listen-window-resize/index.d.ts +1 -2
  698. package/types/hooks/use-media/index.d.ts +1 -2
  699. package/types/hooks/use-merge-props/index.d.ts +1 -2
  700. package/types/hooks/use-merge-value/index.d.ts +1 -2
  701. package/types/hooks/use-online-status/index.d.ts +1 -2
  702. package/types/hooks/use-overflow-hidden/index.d.ts +1 -2
  703. package/types/hooks/use-override-ref/index.d.ts +1 -2
  704. package/types/hooks/use-persist-callback/index.d.ts +1 -2
  705. package/types/hooks/use-prefers-color-scheme-dark/index.d.ts +1 -2
  706. package/types/hooks/use-previous/index.d.ts +1 -2
  707. package/types/hooks/use-refs/index.d.ts +1 -2
  708. package/types/hooks/use-resize-observer/index.d.ts +1 -2
  709. package/types/hooks/use-state-callback/index.d.ts +1 -2
  710. package/types/hooks/use-state-with-promise/index.d.ts +1 -2
  711. package/types/hooks/use-update-effect/index.d.ts +1 -2
  712. package/types/hooks/use-watch/index.d.ts +1 -2
  713. package/types/hooks/use-window-size/index.d.ts +1 -2
  714. package/types/icons/file/interface.d.ts +1 -1
  715. package/types/index.d.ts +2 -2
  716. package/types/input/Input.d.ts +1 -1
  717. package/types/select/interface.d.ts +1 -1
  718. package/types/space/interface.d.ts +1 -1
  719. package/types/speech-synthesis/interface.d.ts +1 -1
  720. package/types/suspense-fallback-test/index.d.ts +1 -1
  721. package/types/suspense-fallback-test/interface.d.ts +1 -1
  722. package/types/time-picker/RangePicker.d.ts +2 -2
  723. package/types/time-picker/TimeColumn.d.ts +0 -1
  724. package/types/time-picker/index.d.ts +3 -3
  725. package/types/time-picker/interface.d.ts +2 -8
  726. package/types/time-picker/utils.d.ts +0 -1
  727. package/types/utils/caseName.d.ts +1 -2
  728. package/types/utils/className.d.ts +1 -2
  729. package/types/utils/constant.d.ts +1 -2
  730. package/types/utils/copy.d.ts +1 -2
  731. package/types/utils/date.d.ts +0 -1
  732. package/types/utils/dayjs.d.ts +5 -5
  733. package/types/utils/dom.d.ts +1 -2
  734. package/types/utils/emitter.d.ts +1 -2
  735. package/types/utils/fileToURL.d.ts +1 -2
  736. package/types/utils/fillNBSP.d.ts +1 -2
  737. package/types/utils/findScrollParent.d.ts +1 -2
  738. package/types/utils/getHighlightText.d.ts +1 -2
  739. package/types/utils/getHotkeyHandler.d.ts +1 -2
  740. package/types/utils/getStringLength.d.ts +1 -2
  741. package/types/utils/include.d.ts +1 -2
  742. package/types/utils/index.d.ts +0 -1
  743. package/types/utils/intersectionObserver.d.ts +1 -2
  744. package/types/utils/is.d.ts +1 -2
  745. package/types/utils/keyboardCode.d.ts +0 -1
  746. package/types/utils/lodash.d.ts +1 -2
  747. package/types/utils/math.d.ts +0 -1
  748. package/types/utils/mergeProps.d.ts +1 -2
  749. package/types/utils/mergedToString.d.ts +1 -2
  750. package/types/utils/mutationObserver.d.ts +1 -2
  751. package/types/utils/omit.d.ts +1 -2
  752. package/types/utils/pad.d.ts +1 -2
  753. package/types/utils/pick.d.ts +1 -2
  754. package/types/utils/pinyin.d.ts +1 -2
  755. package/types/utils/react19Adapter.d.ts +1 -2
  756. package/types/utils/reactDOM.d.ts +1 -2
  757. package/types/utils/resizeObserver.d.ts +1 -2
  758. package/types/utils/saveAs.d.ts +1 -2
  759. package/types/utils/screenfull.d.ts +1 -2
  760. package/types/utils/scrollIntoViewIfNeeded.d.ts +1 -2
  761. package/types/utils/setDarkTheme.d.ts +0 -1
  762. package/types/utils/setPrimaryColor.d.ts +0 -1
  763. package/types/utils/setTheme.d.ts +0 -1
  764. package/types/utils/style.d.ts +1 -2
  765. package/types/utils/supportRef.d.ts +1 -2
  766. package/types/utils/throttleByRaf.d.ts +1 -2
  767. package/types/utils/throttleByRaf2.d.ts +1 -2
  768. package/types/utils/toArray.d.ts +1 -2
  769. package/types/utils/tree.d.ts +2 -3
  770. package/types/utils/tween.d.ts +1 -2
  771. package/types/utils/validate.d.ts +1 -2
  772. package/types/utils/warning.d.ts +1 -2
  773. package/types/version/index.d.ts +1 -1
  774. package/types/virtual-list/interface.d.ts +1 -1
  775. package/typography/Base.js +39 -40
  776. package/typography/EditContent.js +27 -27
  777. package/typography/Ellipsis.js +47 -48
  778. package/typography/Operations.js +27 -28
  779. package/typography/Paragraph.js +6 -6
  780. package/typography/Text.js +1 -1
  781. package/typography/Title.js +1 -1
  782. package/typography/Typography.js +8 -8
  783. package/typography/index.js +1 -1
  784. package/typography/useCssEllipsis.js +9 -10
  785. package/typography/useEllipsis.js +33 -34
  786. package/upload/TriggerNode.js +34 -34
  787. package/upload/Upload.js +45 -46
  788. package/upload/Uploader.js +35 -36
  789. package/upload/constant.js +1 -1
  790. package/upload/index.js +1 -1
  791. package/upload/list/PictureItem.js +35 -36
  792. package/upload/list/TextItem.js +13 -14
  793. package/upload/list/UploadProgress.js +10 -11
  794. package/upload/list/index.js +60 -67
  795. package/upload/request.js +4 -4
  796. package/upload/utils.js +6 -7
  797. package/utils/caseName.js +3 -3
  798. package/utils/className.js +5 -5
  799. package/utils/constant.js +7 -8
  800. package/utils/contextHolder.js +1 -1
  801. package/utils/copy.js +3 -3
  802. package/utils/date.js +1 -1
  803. package/utils/dayjs.js +43 -42
  804. package/utils/dom.js +2 -16
  805. package/utils/emitter.js +2 -2
  806. package/utils/fileToURL.js +3 -3
  807. package/utils/fillNBSP.js +5 -4
  808. package/utils/findScrollParent.js +4 -3
  809. package/utils/getHighlightText.js +5 -4
  810. package/utils/getHotkeyHandler.js +5 -4
  811. package/utils/getStringLength.js +5 -4
  812. package/utils/include.js +5 -4
  813. package/utils/index.js +180 -330
  814. package/utils/intersectionObserver.js +4 -3
  815. package/utils/is.js +47 -49
  816. package/utils/keyboardCode.js +1 -1
  817. package/utils/lodash.js +2 -121
  818. package/utils/math.js +1 -1
  819. package/utils/mergeProps.js +5 -4
  820. package/utils/mergedToString.js +5 -4
  821. package/utils/mutationObserver.js +4 -3
  822. package/utils/names.js +1 -1
  823. package/utils/omit.js +5 -4
  824. package/utils/pad.js +2 -2
  825. package/utils/pick.js +5 -5
  826. package/utils/pinyin.js +2 -2
  827. package/utils/react19Adapter.js +2 -2
  828. package/utils/reactDOM.js +2 -2
  829. package/utils/resizeObserver.js +4 -3
  830. package/utils/responsiveObserve.js +8 -9
  831. package/utils/saveAs.js +3 -3
  832. package/utils/screenfull.js +5 -5
  833. package/utils/scrollIntoViewIfNeeded.js +7 -8
  834. package/utils/setDarkTheme.js +6 -6
  835. package/utils/setPrimaryColor.js +5 -5
  836. package/utils/setTheme.js +7 -7
  837. package/utils/style.js +2 -2
  838. package/utils/supportRef.js +2 -2
  839. package/utils/throttleByRaf.js +2 -2
  840. package/utils/throttleByRaf2.js +2 -2
  841. package/utils/toArray.js +5 -4
  842. package/utils/tree.js +4 -12
  843. package/utils/tween.js +4 -4
  844. package/utils/uuid.js +1 -1
  845. package/utils/validate.js +2 -18
  846. package/utils/warning.js +2 -2
  847. package/verification-code/VerificationCode.js +29 -30
  848. package/verification-code/index.js +1 -1
  849. package/version/index.js +2 -2
  850. package/virtual-list/Filler.js +1 -1
  851. package/virtual-list/VirtualList.js +140 -141
  852. package/virtual-list/index.js +1 -1
  853. package/virtual-list/utils/algorithm.js +1 -1
  854. package/virtual-list/utils/item.js +25 -26
  855. package/watermark/Watermark.js +12 -12
  856. package/watermark/index.js +1 -1
  857. package/LICENSE +0 -21
  858. package/dist/ui-common/development/index.js +0 -48
  859. package/dist/ui-common/empty/index.js +0 -52
  860. package/dist/ui-common/flex/index.js +0 -76
  861. package/dist/ui-common/flex/interface.js +0 -10
  862. package/dist/ui-common/higher-order/with-speech-synthesis/index.js +0 -83
  863. package/dist/ui-common/hooks/create-deep-compare-effect/index.js +0 -10
  864. package/dist/ui-common/hooks/create-update-effect/index.js +0 -15
  865. package/dist/ui-common/hooks/create-use-storage-state/index.js +0 -79
  866. package/dist/ui-common/hooks/use-async-effect/index.js +0 -26
  867. package/dist/ui-common/hooks/use-boolean/index.js +0 -15
  868. package/dist/ui-common/hooks/use-click-away/index.js +0 -32
  869. package/dist/ui-common/hooks/use-computed-state/index.js +0 -12
  870. package/dist/ui-common/hooks/use-controllable-value/index.js +0 -27
  871. package/dist/ui-common/hooks/use-cookie-state/index.js +0 -21
  872. package/dist/ui-common/hooks/use-count-down/index.js +0 -37
  873. package/dist/ui-common/hooks/use-counter/index.js +0 -44
  874. package/dist/ui-common/hooks/use-create/index.js +0 -9
  875. package/dist/ui-common/hooks/use-creation/index.js +0 -14
  876. package/dist/ui-common/hooks/use-debounce/index.js +0 -14
  877. package/dist/ui-common/hooks/use-debounce-effect/index.js +0 -13
  878. package/dist/ui-common/hooks/use-debounce-fn/index.js +0 -31
  879. package/dist/ui-common/hooks/use-deep-compare-effect/index.js +0 -7
  880. package/dist/ui-common/hooks/use-deep-compare-layout-effect/index.js +0 -7
  881. package/dist/ui-common/hooks/use-document-visibility/index.js +0 -20
  882. package/dist/ui-common/hooks/use-drag/index.js +0 -47
  883. package/dist/ui-common/hooks/use-drop/index.js +0 -60
  884. package/dist/ui-common/hooks/use-event-listener/index.js +0 -37
  885. package/dist/ui-common/hooks/use-event-target/index.js +0 -21
  886. package/dist/ui-common/hooks/use-external/index.js +0 -65
  887. package/dist/ui-common/hooks/use-favicon/index.js +0 -18
  888. package/dist/ui-common/hooks/use-focus-within/index.js +0 -26
  889. package/dist/ui-common/hooks/use-fullscreen/index.js +0 -75
  890. package/dist/ui-common/hooks/use-get-state/index.js +0 -10
  891. package/dist/ui-common/hooks/use-history-travel/index.js +0 -79
  892. package/dist/ui-common/hooks/use-hover/index.js +0 -26
  893. package/dist/ui-common/hooks/use-id/index.js +0 -11
  894. package/dist/ui-common/hooks/use-in-view/index.js +0 -32
  895. package/dist/ui-common/hooks/use-in-viewport/index.js +0 -34
  896. package/dist/ui-common/hooks/use-infinite-scroll/index.js +0 -83
  897. package/dist/ui-common/hooks/use-intersection-observer/index.js +0 -25
  898. package/dist/ui-common/hooks/use-interval/index.js +0 -17
  899. package/dist/ui-common/hooks/use-is-first-render/index.js +0 -10
  900. package/dist/ui-common/hooks/use-isomorphic-layout-effect/index.js +0 -7
  901. package/dist/ui-common/hooks/use-key-press/index.js +0 -169
  902. package/dist/ui-common/hooks/use-keyboard-event/index.js +0 -17
  903. package/dist/ui-common/hooks/use-latest/index.js +0 -9
  904. package/dist/ui-common/hooks/use-listen-window-resize/index.js +0 -10
  905. package/dist/ui-common/hooks/use-local-storage-state/index.js +0 -9
  906. package/dist/ui-common/hooks/use-lock-fn/index.js +0 -23
  907. package/dist/ui-common/hooks/use-long-press/index.js +0 -59
  908. package/dist/ui-common/hooks/use-media/index.js +0 -16
  909. package/dist/ui-common/hooks/use-memoized-fn/index.js +0 -19
  910. package/dist/ui-common/hooks/use-merge-props/index.js +0 -18
  911. package/dist/ui-common/hooks/use-merge-value/index.js +0 -21
  912. package/dist/ui-common/hooks/use-mount/index.js +0 -13
  913. package/dist/ui-common/hooks/use-mouse/index.js +0 -50
  914. package/dist/ui-common/hooks/use-mutation-observer/index.js +0 -23
  915. package/dist/ui-common/hooks/use-network/index.js +0 -57
  916. package/dist/ui-common/hooks/use-online-status/index.js +0 -21
  917. package/dist/ui-common/hooks/use-overflow-hidden/index.js +0 -27
  918. package/dist/ui-common/hooks/use-override-ref/index.js +0 -15
  919. package/dist/ui-common/hooks/use-pagination/index.js +0 -49
  920. package/dist/ui-common/hooks/use-persist-callback/index.js +0 -9
  921. package/dist/ui-common/hooks/use-prefers-color-scheme-dark/index.js +0 -25
  922. package/dist/ui-common/hooks/use-previous/index.js +0 -10
  923. package/dist/ui-common/hooks/use-raf-interval/index.js +0 -36
  924. package/dist/ui-common/hooks/use-raf-state/index.js +0 -16
  925. package/dist/ui-common/hooks/use-raf-timeout/index.js +0 -35
  926. package/dist/ui-common/hooks/use-reactive/index.js +0 -38
  927. package/dist/ui-common/hooks/use-refs/index.js +0 -11
  928. package/dist/ui-common/hooks/use-request/src/Fetch.js +0 -93
  929. package/dist/ui-common/hooks/use-request/src/plugins/useAutoRunPlugin.js +0 -30
  930. package/dist/ui-common/hooks/use-request/src/plugins/useCachePlugin.js +0 -66
  931. package/dist/ui-common/hooks/use-request/src/plugins/useDebouncePlugin.js +0 -34
  932. package/dist/ui-common/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +0 -28
  933. package/dist/ui-common/hooks/use-request/src/plugins/usePollingPlugin.js +0 -37
  934. package/dist/ui-common/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +0 -29
  935. package/dist/ui-common/hooks/use-request/src/plugins/useRetryPlugin.js +0 -28
  936. package/dist/ui-common/hooks/use-request/src/plugins/useThrottlePlugin.js +0 -31
  937. package/dist/ui-common/hooks/use-request/src/useRequest.js +0 -26
  938. package/dist/ui-common/hooks/use-request/src/useRequestImplement.js +0 -54
  939. package/dist/ui-common/hooks/use-request/src/utils/cache.js +0 -20
  940. package/dist/ui-common/hooks/use-request/src/utils/cachePromise.js +0 -10
  941. package/dist/ui-common/hooks/use-request/src/utils/cacheSubscribe.js +0 -11
  942. package/dist/ui-common/hooks/use-request/src/utils/isDocumentVisible.js +0 -8
  943. package/dist/ui-common/hooks/use-request/src/utils/isOnline.js +0 -8
  944. package/dist/ui-common/hooks/use-request/src/utils/limit.js +0 -12
  945. package/dist/ui-common/hooks/use-request/src/utils/subscribeFocus.js +0 -19
  946. package/dist/ui-common/hooks/use-request/src/utils/subscribeReVisible.js +0 -18
  947. package/dist/ui-common/hooks/use-reset-state/index.js +0 -18
  948. package/dist/ui-common/hooks/use-responsive/index.js +0 -47
  949. package/dist/ui-common/hooks/use-safe-state/index.js +0 -12
  950. package/dist/ui-common/hooks/use-scroll/index.js +0 -44
  951. package/dist/ui-common/hooks/use-selections/index.js +0 -58
  952. package/dist/ui-common/hooks/use-session-storage-state/index.js +0 -9
  953. package/dist/ui-common/hooks/use-set-state/index.js +0 -17
  954. package/dist/ui-common/hooks/use-size/index.js +0 -41
  955. package/dist/ui-common/hooks/use-state-callback/index.js +0 -16
  956. package/dist/ui-common/hooks/use-state-with-promise/index.js +0 -36
  957. package/dist/ui-common/hooks/use-text-selection/index.js +0 -56
  958. package/dist/ui-common/hooks/use-theme/index.js +0 -34
  959. package/dist/ui-common/hooks/use-throttle/index.js +0 -14
  960. package/dist/ui-common/hooks/use-throttle-effect/index.js +0 -13
  961. package/dist/ui-common/hooks/use-throttle-fn/index.js +0 -31
  962. package/dist/ui-common/hooks/use-timeout/index.js +0 -17
  963. package/dist/ui-common/hooks/use-title/index.js +0 -18
  964. package/dist/ui-common/hooks/use-toggle/index.js +0 -17
  965. package/dist/ui-common/hooks/use-tracked-effect/index.js +0 -12
  966. package/dist/ui-common/hooks/use-unmount/index.js +0 -21
  967. package/dist/ui-common/hooks/use-unmounted-ref/index.js +0 -11
  968. package/dist/ui-common/hooks/use-update/index.js +0 -9
  969. package/dist/ui-common/hooks/use-update-effect/index.js +0 -7
  970. package/dist/ui-common/hooks/use-update-layout-effect/index.js +0 -7
  971. package/dist/ui-common/hooks/use-url-state/index.js +0 -60
  972. package/dist/ui-common/hooks/use-virtual-list/index.js +0 -83
  973. package/dist/ui-common/hooks/use-watch/index.js +0 -14
  974. package/dist/ui-common/hooks/use-web-socket/index.js +0 -72
  975. package/dist/ui-common/hooks/use-why-did-you-update/index.js +0 -20
  976. package/dist/ui-common/hooks/use-window-size/index.js +0 -40
  977. package/dist/ui-common/hooks/utils/createEffectWithTarget.js +0 -23
  978. package/dist/ui-common/hooks/utils/depsAreSame.js +0 -12
  979. package/dist/ui-common/hooks/utils/depsEqual.js +0 -7
  980. package/dist/ui-common/hooks/utils/domTarget.js +0 -16
  981. package/dist/ui-common/hooks/utils/getDocumentOrShadow.js +0 -16
  982. package/dist/ui-common/hooks/utils/isDev.js +0 -5
  983. package/dist/ui-common/hooks/utils/rect.js +0 -19
  984. package/dist/ui-common/hooks/utils/useDeepCompareWithTarget.js +0 -11
  985. package/dist/ui-common/hooks/utils/useEffectWithTarget.js +0 -7
  986. package/dist/ui-common/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +0 -8
  987. package/dist/ui-common/hooks/utils/useLayoutEffectWithTarget.js +0 -7
  988. package/dist/ui-common/icons/file/index.js +0 -59
  989. package/dist/ui-common/space/index.js +0 -77
  990. package/dist/ui-common/suspense-fallback-test/index.js +0 -17
  991. package/dist/ui-common/transition-group/CSSTransition.js +0 -91
  992. package/dist/ui-common/transition-group/PqbCSSTransition.js +0 -36
  993. package/dist/ui-common/transition-group/ReplaceTransition.js +0 -34
  994. package/dist/ui-common/transition-group/SwitchTransition.js +0 -102
  995. package/dist/ui-common/transition-group/Transition.js +0 -188
  996. package/dist/ui-common/transition-group/TransitionGroup.js +0 -50
  997. package/dist/ui-common/transition-group/TransitionGroupContext.js +0 -6
  998. package/dist/ui-common/transition-group/utils/ChildMapping.js +0 -66
  999. package/dist/ui-common/utils/compute.js +0 -142
  1000. package/dist/ui-common/utils/constant.js +0 -10
  1001. package/dist/ui-common/utils/dayjs.js +0 -23
  1002. package/dist/ui-common/utils/dom.js +0 -63
  1003. package/dist/ui-common/utils/fillNBSP.js +0 -10
  1004. package/dist/ui-common/utils/findScrollParent.js +0 -18
  1005. package/dist/ui-common/utils/getHighlightText.js +0 -45
  1006. package/dist/ui-common/utils/getHotkeyHandler.js +0 -29
  1007. package/dist/ui-common/utils/getStringLength.js +0 -11
  1008. package/dist/ui-common/utils/include.js +0 -11
  1009. package/dist/ui-common/utils/intersectionObserver.js +0 -23
  1010. package/dist/ui-common/utils/is.js +0 -98
  1011. package/dist/ui-common/utils/mergeProps.js +0 -13
  1012. package/dist/ui-common/utils/mergedToString.js +0 -16
  1013. package/dist/ui-common/utils/mutationObserver.js +0 -21
  1014. package/dist/ui-common/utils/omit.js +0 -13
  1015. package/dist/ui-common/utils/pad.js +0 -19
  1016. package/dist/ui-common/utils/pick.js +0 -19
  1017. package/dist/ui-common/utils/react19Adapter.js +0 -4
  1018. package/dist/ui-common/utils/reactDOM.js +0 -54
  1019. package/dist/ui-common/utils/resizeObserver.js +0 -33
  1020. package/dist/ui-common/utils/scrollIntoViewIfNeeded.js +0 -75
  1021. package/dist/ui-common/utils/setDarkTheme.js +0 -28
  1022. package/dist/ui-common/utils/setDir.js +0 -14
  1023. package/dist/ui-common/utils/setPrimaryColor.js +0 -31
  1024. package/dist/ui-common/utils/setTheme.js +0 -56
  1025. package/dist/ui-common/utils/style.js +0 -40
  1026. package/dist/ui-common/utils/supportRef.js +0 -10
  1027. package/dist/ui-common/utils/throttleByRaf.js +0 -17
  1028. package/dist/ui-common/utils/throttleByRaf2.js +0 -9
  1029. package/dist/ui-common/utils/toArray.js +0 -15
  1030. package/dist/ui-common/utils/warning.js +0 -12
  1031. package/form/IconSymbol.js +0 -21
  1032. package/types/_common/development/index.d.ts +0 -8
  1033. package/types/_common/development/interface.d.ts +0 -22
  1034. package/types/_common/empty/index.d.ts +0 -5
  1035. package/types/_common/empty/interface.d.ts +0 -24
  1036. package/types/_common/flex/index.d.ts +0 -8
  1037. package/types/_common/flex/interface.d.ts +0 -73
  1038. package/types/_common/higher-order/index.d.ts +0 -1
  1039. package/types/_common/higher-order/with-speech-synthesis/index.d.ts +0 -7
  1040. package/types/_common/higher-order/with-speech-synthesis/interface.d.ts +0 -13
  1041. package/types/_common/hooks/create-deep-compare-effect/index.d.ts +0 -5
  1042. package/types/_common/hooks/create-update-effect/index.d.ts +0 -4
  1043. package/types/_common/hooks/create-use-storage-state/index.d.ts +0 -11
  1044. package/types/_common/hooks/index.d.ts +0 -97
  1045. package/types/_common/hooks/use-async-effect/demo/demo1.d.ts +0 -1
  1046. package/types/_common/hooks/use-async-effect/demo/demo2.d.ts +0 -1
  1047. package/types/_common/hooks/use-async-effect/index.d.ts +0 -3
  1048. package/types/_common/hooks/use-boolean/demo/demo1.d.ts +0 -1
  1049. package/types/_common/hooks/use-boolean/index.d.ts +0 -7
  1050. package/types/_common/hooks/use-click-away/demo/demo1.d.ts +0 -1
  1051. package/types/_common/hooks/use-click-away/demo/demo2.d.ts +0 -1
  1052. package/types/_common/hooks/use-click-away/demo/demo3.d.ts +0 -1
  1053. package/types/_common/hooks/use-click-away/demo/demo4.d.ts +0 -1
  1054. package/types/_common/hooks/use-click-away/demo/demo5.d.ts +0 -1
  1055. package/types/_common/hooks/use-click-away/demo/demo6.d.ts +0 -1
  1056. package/types/_common/hooks/use-click-away/index.d.ts +0 -4
  1057. package/types/_common/hooks/use-computed-state/index.d.ts +0 -4
  1058. package/types/_common/hooks/use-controllable-value/demo/demo1.d.ts +0 -1
  1059. package/types/_common/hooks/use-controllable-value/demo/demo2.d.ts +0 -2
  1060. package/types/_common/hooks/use-controllable-value/demo/demo3.d.ts +0 -2
  1061. package/types/_common/hooks/use-controllable-value/index.d.ts +0 -16
  1062. package/types/_common/hooks/use-cookie-state/demo/demo1.d.ts +0 -1
  1063. package/types/_common/hooks/use-cookie-state/demo/demo2.d.ts +0 -1
  1064. package/types/_common/hooks/use-cookie-state/demo/demo3.d.ts +0 -1
  1065. package/types/_common/hooks/use-cookie-state/index.d.ts +0 -7
  1066. package/types/_common/hooks/use-count-down/demo/demo1.d.ts +0 -1
  1067. package/types/_common/hooks/use-count-down/demo/demo2.d.ts +0 -1
  1068. package/types/_common/hooks/use-count-down/demo/demo3.d.ts +0 -1
  1069. package/types/_common/hooks/use-count-down/index.d.ts +0 -17
  1070. package/types/_common/hooks/use-counter/demo/demo1.d.ts +0 -1
  1071. package/types/_common/hooks/use-counter/index.d.ts +0 -18
  1072. package/types/_common/hooks/use-create/index.d.ts +0 -2
  1073. package/types/_common/hooks/use-creation/demo/demo1.d.ts +0 -1
  1074. package/types/_common/hooks/use-creation/index.d.ts +0 -3
  1075. package/types/_common/hooks/use-debounce/debounceOptions.d.ts +0 -6
  1076. package/types/_common/hooks/use-debounce/demo/demo1.d.ts +0 -1
  1077. package/types/_common/hooks/use-debounce/index.d.ts +0 -3
  1078. package/types/_common/hooks/use-debounce-effect/demo/demo1.d.ts +0 -1
  1079. package/types/_common/hooks/use-debounce-effect/index.d.ts +0 -4
  1080. package/types/_common/hooks/use-debounce-fn/demo/demo1.d.ts +0 -1
  1081. package/types/_common/hooks/use-debounce-fn/index.d.ts +0 -8
  1082. package/types/_common/hooks/use-deep-compare-effect/demo/demo1.d.ts +0 -1
  1083. package/types/_common/hooks/use-deep-compare-effect/index.d.ts +0 -3
  1084. package/types/_common/hooks/use-deep-compare-layout-effect/demo/demo1.d.ts +0 -1
  1085. package/types/_common/hooks/use-deep-compare-layout-effect/index.d.ts +0 -3
  1086. package/types/_common/hooks/use-document-visibility/demo/demo1.d.ts +0 -1
  1087. package/types/_common/hooks/use-document-visibility/index.d.ts +0 -3
  1088. package/types/_common/hooks/use-drag/index.d.ts +0 -13
  1089. package/types/_common/hooks/use-drop/demo/demo1.d.ts +0 -1
  1090. package/types/_common/hooks/use-drop/demo/demo2.d.ts +0 -2
  1091. package/types/_common/hooks/use-drop/index.d.ts +0 -15
  1092. package/types/_common/hooks/use-event-listener/demo/demo1.d.ts +0 -1
  1093. package/types/_common/hooks/use-event-listener/demo/demo2.d.ts +0 -1
  1094. package/types/_common/hooks/use-event-listener/demo/demo3.d.ts +0 -1
  1095. package/types/_common/hooks/use-event-listener/index.d.ts +0 -17
  1096. package/types/_common/hooks/use-event-target/demo/demo1.d.ts +0 -1
  1097. package/types/_common/hooks/use-event-target/demo/demo2.d.ts +0 -1
  1098. package/types/_common/hooks/use-event-target/index.d.ts +0 -14
  1099. package/types/_common/hooks/use-external/demo/demo1.d.ts +0 -1
  1100. package/types/_common/hooks/use-external/demo/demo2.d.ts +0 -1
  1101. package/types/_common/hooks/use-external/demo/demo3.d.ts +0 -1
  1102. package/types/_common/hooks/use-external/index.d.ts +0 -20
  1103. package/types/_common/hooks/use-favicon/demo/demo1.d.ts +0 -3
  1104. package/types/_common/hooks/use-favicon/index.d.ts +0 -2
  1105. package/types/_common/hooks/use-focus-within/demo/demo1.d.ts +0 -1
  1106. package/types/_common/hooks/use-focus-within/demo/demo2.d.ts +0 -1
  1107. package/types/_common/hooks/use-focus-within/index.d.ts +0 -7
  1108. package/types/_common/hooks/use-force-update/index.d.ts +0 -16
  1109. package/types/_common/hooks/use-fullscreen/demo/demo1.d.ts +0 -1
  1110. package/types/_common/hooks/use-fullscreen/demo/demo2.d.ts +0 -1
  1111. package/types/_common/hooks/use-fullscreen/demo/demo3.d.ts +0 -1
  1112. package/types/_common/hooks/use-fullscreen/demo/demo4.d.ts +0 -1
  1113. package/types/_common/hooks/use-fullscreen/index.d.ts +0 -17
  1114. package/types/_common/hooks/use-get-state/demo/demo1.d.ts +0 -1
  1115. package/types/_common/hooks/use-get-state/index.d.ts +0 -9
  1116. package/types/_common/hooks/use-history-travel/demo/demo1.d.ts +0 -1
  1117. package/types/_common/hooks/use-history-travel/demo/demo2.d.ts +0 -1
  1118. package/types/_common/hooks/use-history-travel/demo/demo3.d.ts +0 -1
  1119. package/types/_common/hooks/use-history-travel/index.d.ts +0 -10
  1120. package/types/_common/hooks/use-hover/demo/demo1.d.ts +0 -1
  1121. package/types/_common/hooks/use-hover/demo/demo2.d.ts +0 -1
  1122. package/types/_common/hooks/use-hover/index.d.ts +0 -8
  1123. package/types/_common/hooks/use-id/index.d.ts +0 -6
  1124. package/types/_common/hooks/use-in-view/index.d.ts +0 -11
  1125. package/types/_common/hooks/use-in-viewport/demo/demo1.d.ts +0 -1
  1126. package/types/_common/hooks/use-in-viewport/demo/demo2.d.ts +0 -1
  1127. package/types/_common/hooks/use-in-viewport/demo/demo3.d.ts +0 -1
  1128. package/types/_common/hooks/use-in-viewport/index.d.ts +0 -10
  1129. package/types/_common/hooks/use-infinite-scroll/demo/default.d.ts +0 -1
  1130. package/types/_common/hooks/use-infinite-scroll/demo/mutate.d.ts +0 -1
  1131. package/types/_common/hooks/use-infinite-scroll/demo/pagination.d.ts +0 -1
  1132. package/types/_common/hooks/use-infinite-scroll/demo/reload.d.ts +0 -1
  1133. package/types/_common/hooks/use-infinite-scroll/demo/scroll.d.ts +0 -1
  1134. package/types/_common/hooks/use-infinite-scroll/demo/scrollTop.d.ts +0 -1
  1135. package/types/_common/hooks/use-infinite-scroll/index.d.ts +0 -15
  1136. package/types/_common/hooks/use-infinite-scroll/types.d.ts +0 -32
  1137. package/types/_common/hooks/use-intersection-observer/index.d.ts +0 -7
  1138. package/types/_common/hooks/use-interval/demo/demo1.d.ts +0 -1
  1139. package/types/_common/hooks/use-interval/demo/demo2.d.ts +0 -1
  1140. package/types/_common/hooks/use-interval/index.d.ts +0 -4
  1141. package/types/_common/hooks/use-is-first-render/index.d.ts +0 -2
  1142. package/types/_common/hooks/use-isomorphic-layout-effect/index.d.ts +0 -3
  1143. package/types/_common/hooks/use-key-press/demo/demo1.d.ts +0 -1
  1144. package/types/_common/hooks/use-key-press/demo/demo2.d.ts +0 -1
  1145. package/types/_common/hooks/use-key-press/demo/demo3.d.ts +0 -1
  1146. package/types/_common/hooks/use-key-press/demo/demo4.d.ts +0 -1
  1147. package/types/_common/hooks/use-key-press/demo/demo5.d.ts +0 -1
  1148. package/types/_common/hooks/use-key-press/demo/demo6.d.ts +0 -1
  1149. package/types/_common/hooks/use-key-press/demo/demo7.d.ts +0 -1
  1150. package/types/_common/hooks/use-key-press/demo/demo8.d.ts +0 -1
  1151. package/types/_common/hooks/use-key-press/index.d.ts +0 -14
  1152. package/types/_common/hooks/use-keyboard-event/index.d.ts +0 -8
  1153. package/types/_common/hooks/use-latest/demo/demo1.d.ts +0 -1
  1154. package/types/_common/hooks/use-latest/index.d.ts +0 -2
  1155. package/types/_common/hooks/use-listen-window-resize/index.d.ts +0 -16
  1156. package/types/_common/hooks/use-local-storage-state/demo/demo1.d.ts +0 -1
  1157. package/types/_common/hooks/use-local-storage-state/demo/demo2.d.ts +0 -1
  1158. package/types/_common/hooks/use-local-storage-state/demo/demo3.d.ts +0 -1
  1159. package/types/_common/hooks/use-local-storage-state/demo/demo4.d.ts +0 -1
  1160. package/types/_common/hooks/use-local-storage-state/index.d.ts +0 -2
  1161. package/types/_common/hooks/use-lock-fn/demo/demo1.d.ts +0 -1
  1162. package/types/_common/hooks/use-lock-fn/index.d.ts +0 -2
  1163. package/types/_common/hooks/use-long-press/demo/demo1.d.ts +0 -1
  1164. package/types/_common/hooks/use-long-press/demo/demo2.d.ts +0 -1
  1165. package/types/_common/hooks/use-long-press/demo/demo3.d.ts +0 -1
  1166. package/types/_common/hooks/use-long-press/index.d.ts +0 -13
  1167. package/types/_common/hooks/use-map/demo/demo1.d.ts +0 -1
  1168. package/types/_common/hooks/use-map/index.d.ts +0 -8
  1169. package/types/_common/hooks/use-media/index.d.ts +0 -2
  1170. package/types/_common/hooks/use-memoized-fn/demo/demo1.d.ts +0 -1
  1171. package/types/_common/hooks/use-memoized-fn/demo/demo2.d.ts +0 -2
  1172. package/types/_common/hooks/use-memoized-fn/index.d.ts +0 -4
  1173. package/types/_common/hooks/use-merge-props/index.d.ts +0 -5
  1174. package/types/_common/hooks/use-merge-value/index.d.ts +0 -6
  1175. package/types/_common/hooks/use-mount/demo/demo1.d.ts +0 -1
  1176. package/types/_common/hooks/use-mount/index.d.ts +0 -3
  1177. package/types/_common/hooks/use-mouse/demo/demo1.d.ts +0 -1
  1178. package/types/_common/hooks/use-mouse/demo/demo2.d.ts +0 -1
  1179. package/types/_common/hooks/use-mouse/index.d.ts +0 -17
  1180. package/types/_common/hooks/use-mutation-observer/demo/demo1.d.ts +0 -1
  1181. package/types/_common/hooks/use-mutation-observer/index.d.ts +0 -3
  1182. package/types/_common/hooks/use-network/demo/demo1.d.ts +0 -1
  1183. package/types/_common/hooks/use-network/index.d.ts +0 -12
  1184. package/types/_common/hooks/use-online-status/index.d.ts +0 -2
  1185. package/types/_common/hooks/use-overflow-hidden/index.d.ts +0 -5
  1186. package/types/_common/hooks/use-override-ref/index.d.ts +0 -3
  1187. package/types/_common/hooks/use-pagination/demo/demo1.d.ts +0 -1
  1188. package/types/_common/hooks/use-pagination/demo/demo2.d.ts +0 -1
  1189. package/types/_common/hooks/use-pagination/demo/demo3.d.ts +0 -1
  1190. package/types/_common/hooks/use-pagination/demo/demo4.d.ts +0 -2
  1191. package/types/_common/hooks/use-pagination/index.d.ts +0 -3
  1192. package/types/_common/hooks/use-pagination/types.d.ts +0 -29
  1193. package/types/_common/hooks/use-persist-callback/index.d.ts +0 -2
  1194. package/types/_common/hooks/use-prefers-color-scheme-dark/index.d.ts +0 -2
  1195. package/types/_common/hooks/use-previous/demo/demo1.d.ts +0 -1
  1196. package/types/_common/hooks/use-previous/index.d.ts +0 -3
  1197. package/types/_common/hooks/use-raf-interval/demo/demo1.d.ts +0 -1
  1198. package/types/_common/hooks/use-raf-interval/demo/demo2.d.ts +0 -1
  1199. package/types/_common/hooks/use-raf-interval/index.d.ts +0 -4
  1200. package/types/_common/hooks/use-raf-state/demo/demo1.d.ts +0 -1
  1201. package/types/_common/hooks/use-raf-state/index.d.ts +0 -7
  1202. package/types/_common/hooks/use-raf-timeout/demo/demo1.d.ts +0 -1
  1203. package/types/_common/hooks/use-raf-timeout/demo/demo2.d.ts +0 -1
  1204. package/types/_common/hooks/use-raf-timeout/index.d.ts +0 -2
  1205. package/types/_common/hooks/use-reactive/demo/demo1.d.ts +0 -1
  1206. package/types/_common/hooks/use-reactive/demo/demo2.d.ts +0 -1
  1207. package/types/_common/hooks/use-reactive/demo/demo3.d.ts +0 -1
  1208. package/types/_common/hooks/use-reactive/demo/demo4.d.ts +0 -1
  1209. package/types/_common/hooks/use-reactive/demo/index.d.ts +0 -1
  1210. package/types/_common/hooks/use-reactive/index.d.ts +0 -2
  1211. package/types/_common/hooks/use-ref-latest/index.d.ts +0 -2
  1212. package/types/_common/hooks/use-refs/index.d.ts +0 -2
  1213. package/types/_common/hooks/use-request/doc/basic/demo/cancel.d.ts +0 -1
  1214. package/types/_common/hooks/use-request/doc/basic/demo/default.d.ts +0 -1
  1215. package/types/_common/hooks/use-request/doc/basic/demo/lifeCycle.d.ts +0 -1
  1216. package/types/_common/hooks/use-request/doc/basic/demo/manual-run.d.ts +0 -1
  1217. package/types/_common/hooks/use-request/doc/basic/demo/manual-runAsync.d.ts +0 -1
  1218. package/types/_common/hooks/use-request/doc/basic/demo/mutate.d.ts +0 -1
  1219. package/types/_common/hooks/use-request/doc/basic/demo/params.d.ts +0 -1
  1220. package/types/_common/hooks/use-request/doc/basic/demo/refresh.d.ts +0 -1
  1221. package/types/_common/hooks/use-request/doc/cache/demo/cacheKey.d.ts +0 -2
  1222. package/types/_common/hooks/use-request/doc/cache/demo/clearCache.d.ts +0 -1
  1223. package/types/_common/hooks/use-request/doc/cache/demo/params.d.ts +0 -1
  1224. package/types/_common/hooks/use-request/doc/cache/demo/setCache.d.ts +0 -2
  1225. package/types/_common/hooks/use-request/doc/cache/demo/share.d.ts +0 -1
  1226. package/types/_common/hooks/use-request/doc/cache/demo/staleTime.d.ts +0 -1
  1227. package/types/_common/hooks/use-request/doc/debounce/demo/index.d.ts +0 -1
  1228. package/types/_common/hooks/use-request/doc/index/demo/default.d.ts +0 -1
  1229. package/types/_common/hooks/use-request/doc/index/demo/manual.d.ts +0 -1
  1230. package/types/_common/hooks/use-request/doc/loadingDelay/demo/index.d.ts +0 -1
  1231. package/types/_common/hooks/use-request/doc/polling/demo/index.d.ts +0 -1
  1232. package/types/_common/hooks/use-request/doc/polling/demo/indexError.d.ts +0 -1
  1233. package/types/_common/hooks/use-request/doc/ready/demo/index.d.ts +0 -1
  1234. package/types/_common/hooks/use-request/doc/ready/demo/indexManual.d.ts +0 -1
  1235. package/types/_common/hooks/use-request/doc/refreshDeps/demo/index.d.ts +0 -1
  1236. package/types/_common/hooks/use-request/doc/refreshDeps/demo/indexAction.d.ts +0 -1
  1237. package/types/_common/hooks/use-request/doc/refreshOnWindowFocus/demo/index.d.ts +0 -1
  1238. package/types/_common/hooks/use-request/doc/retry/demo/index.d.ts +0 -1
  1239. package/types/_common/hooks/use-request/doc/throttle/demo/index.d.ts +0 -1
  1240. package/types/_common/hooks/use-request/index.d.ts +0 -4
  1241. package/types/_common/hooks/use-request/src/Fetch.d.ts +0 -20
  1242. package/types/_common/hooks/use-request/src/plugins/useAutoRunPlugin.d.ts +0 -3
  1243. package/types/_common/hooks/use-request/src/plugins/useCachePlugin.d.ts +0 -3
  1244. package/types/_common/hooks/use-request/src/plugins/useDebouncePlugin.d.ts +0 -3
  1245. package/types/_common/hooks/use-request/src/plugins/useLoadingDelayPlugin.d.ts +0 -3
  1246. package/types/_common/hooks/use-request/src/plugins/usePollingPlugin.d.ts +0 -3
  1247. package/types/_common/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.d.ts +0 -3
  1248. package/types/_common/hooks/use-request/src/plugins/useRetryPlugin.d.ts +0 -3
  1249. package/types/_common/hooks/use-request/src/plugins/useThrottlePlugin.d.ts +0 -3
  1250. package/types/_common/hooks/use-request/src/types.d.ts +0 -73
  1251. package/types/_common/hooks/use-request/src/useRequest.d.ts +0 -3
  1252. package/types/_common/hooks/use-request/src/useRequestImplement.d.ts +0 -3
  1253. package/types/_common/hooks/use-request/src/utils/cache.d.ts +0 -14
  1254. package/types/_common/hooks/use-request/src/utils/cachePromise.d.ts +0 -4
  1255. package/types/_common/hooks/use-request/src/utils/cacheSubscribe.d.ts +0 -4
  1256. package/types/_common/hooks/use-request/src/utils/isDocumentVisible.d.ts +0 -1
  1257. package/types/_common/hooks/use-request/src/utils/isOnline.d.ts +0 -2
  1258. package/types/_common/hooks/use-request/src/utils/limit.d.ts +0 -1
  1259. package/types/_common/hooks/use-request/src/utils/subscribeFocus.d.ts +0 -3
  1260. package/types/_common/hooks/use-request/src/utils/subscribeReVisible.d.ts +0 -3
  1261. package/types/_common/hooks/use-reset-state/demo/demo1.d.ts +0 -1
  1262. package/types/_common/hooks/use-reset-state/index.d.ts +0 -4
  1263. package/types/_common/hooks/use-resize-observer/index.d.ts +0 -2
  1264. package/types/_common/hooks/use-responsive/demo/demo1.d.ts +0 -1
  1265. package/types/_common/hooks/use-responsive/index.d.ts +0 -5
  1266. package/types/_common/hooks/use-safe-state/demo/demo1.d.ts +0 -1
  1267. package/types/_common/hooks/use-safe-state/index.d.ts +0 -7
  1268. package/types/_common/hooks/use-scroll/demo/demo1.d.ts +0 -1
  1269. package/types/_common/hooks/use-scroll/demo/demo2.d.ts +0 -1
  1270. package/types/_common/hooks/use-scroll/demo/demo3.d.ts +0 -1
  1271. package/types/_common/hooks/use-scroll/index.d.ts +0 -9
  1272. package/types/_common/hooks/use-selections/demo/demo1.d.ts +0 -1
  1273. package/types/_common/hooks/use-selections/demo/demo2.d.ts +0 -1
  1274. package/types/_common/hooks/use-selections/demo/demo3.d.ts +0 -1
  1275. package/types/_common/hooks/use-selections/index.d.ts +0 -21
  1276. package/types/_common/hooks/use-session-storage-state/index.d.ts +0 -2
  1277. package/types/_common/hooks/use-set/demo/demo1.d.ts +0 -1
  1278. package/types/_common/hooks/use-set/index.d.ts +0 -6
  1279. package/types/_common/hooks/use-set-state/demo/demo1.d.ts +0 -1
  1280. package/types/_common/hooks/use-set-state/demo/demo2.d.ts +0 -1
  1281. package/types/_common/hooks/use-set-state/index.d.ts +0 -3
  1282. package/types/_common/hooks/use-size/demo/demo1.d.ts +0 -1
  1283. package/types/_common/hooks/use-size/demo/demo2.d.ts +0 -1
  1284. package/types/_common/hooks/use-size/index.d.ts +0 -7
  1285. package/types/_common/hooks/use-state-callback/index.d.ts +0 -5
  1286. package/types/_common/hooks/use-state-with-promise/index.d.ts +0 -2
  1287. package/types/_common/hooks/use-text-selection/demo/demo1.d.ts +0 -1
  1288. package/types/_common/hooks/use-text-selection/demo/demo2.d.ts +0 -1
  1289. package/types/_common/hooks/use-text-selection/demo/demo3.d.ts +0 -1
  1290. package/types/_common/hooks/use-text-selection/index.d.ts +0 -14
  1291. package/types/_common/hooks/use-theme/demo/demo1.d.ts +0 -1
  1292. package/types/_common/hooks/use-theme/index.d.ts +0 -16
  1293. package/types/_common/hooks/use-throttle/demo/demo1.d.ts +0 -1
  1294. package/types/_common/hooks/use-throttle/index.d.ts +0 -3
  1295. package/types/_common/hooks/use-throttle/throttleOptions.d.ts +0 -5
  1296. package/types/_common/hooks/use-throttle-effect/demo/demo1.d.ts +0 -1
  1297. package/types/_common/hooks/use-throttle-effect/index.d.ts +0 -4
  1298. package/types/_common/hooks/use-throttle-fn/demo/demo1.d.ts +0 -1
  1299. package/types/_common/hooks/use-throttle-fn/index.d.ts +0 -8
  1300. package/types/_common/hooks/use-timeout/demo/demo1.d.ts +0 -1
  1301. package/types/_common/hooks/use-timeout/demo/demo2.d.ts +0 -1
  1302. package/types/_common/hooks/use-timeout/index.d.ts +0 -2
  1303. package/types/_common/hooks/use-title/demo/demo1.d.ts +0 -1
  1304. package/types/_common/hooks/use-title/index.d.ts +0 -5
  1305. package/types/_common/hooks/use-toggle/demo/demo1.d.ts +0 -1
  1306. package/types/_common/hooks/use-toggle/demo/demo2.d.ts +0 -1
  1307. package/types/_common/hooks/use-toggle/index.d.ts +0 -10
  1308. package/types/_common/hooks/use-tracked-effect/demo/demo1.d.ts +0 -1
  1309. package/types/_common/hooks/use-tracked-effect/index.d.ts +0 -4
  1310. package/types/_common/hooks/use-unmount/demo/demo1.d.ts +0 -1
  1311. package/types/_common/hooks/use-unmount/index.d.ts +0 -2
  1312. package/types/_common/hooks/use-unmounted-ref/demo/demo1.d.ts +0 -1
  1313. package/types/_common/hooks/use-unmounted-ref/index.d.ts +0 -2
  1314. package/types/_common/hooks/use-update/demo/demo1.d.ts +0 -1
  1315. package/types/_common/hooks/use-update/index.d.ts +0 -2
  1316. package/types/_common/hooks/use-update-effect/demo/demo1.d.ts +0 -1
  1317. package/types/_common/hooks/use-update-effect/index.d.ts +0 -3
  1318. package/types/_common/hooks/use-update-layout-effect/demo/demo1.d.ts +0 -1
  1319. package/types/_common/hooks/use-update-layout-effect/index.d.ts +0 -3
  1320. package/types/_common/hooks/use-url-state/demo/demo1.d.ts +0 -1
  1321. package/types/_common/hooks/use-url-state/demo/demo2.d.ts +0 -1
  1322. package/types/_common/hooks/use-url-state/demo/demo3.d.ts +0 -1
  1323. package/types/_common/hooks/use-url-state/demo/demo4.d.ts +0 -1
  1324. package/types/_common/hooks/use-url-state/index.d.ts +0 -10
  1325. package/types/_common/hooks/use-virtual-list/demo/demo1.d.ts +0 -1
  1326. package/types/_common/hooks/use-virtual-list/demo/demo2.d.ts +0 -2
  1327. package/types/_common/hooks/use-virtual-list/index.d.ts +0 -13
  1328. package/types/_common/hooks/use-watch/index.d.ts +0 -3
  1329. package/types/_common/hooks/use-web-socket/demo/demo1.d.ts +0 -1
  1330. package/types/_common/hooks/use-web-socket/index.d.ts +0 -26
  1331. package/types/_common/hooks/use-why-did-you-update/demo/demo1.d.ts +0 -1
  1332. package/types/_common/hooks/use-why-did-you-update/index.d.ts +0 -3
  1333. package/types/_common/hooks/use-window-size/index.d.ts +0 -18
  1334. package/types/_common/hooks/utils/createEffectWithTarget.d.ts +0 -4
  1335. package/types/_common/hooks/utils/depsAreSame.d.ts +0 -3
  1336. package/types/_common/hooks/utils/depsEqual.d.ts +0 -2
  1337. package/types/_common/hooks/utils/domTarget.d.ts +0 -6
  1338. package/types/_common/hooks/utils/getDocumentOrShadow.d.ts +0 -3
  1339. package/types/_common/hooks/utils/index.d.ts +0 -2
  1340. package/types/_common/hooks/utils/isAppleDevice.d.ts +0 -2
  1341. package/types/_common/hooks/utils/isBrowser.d.ts +0 -2
  1342. package/types/_common/hooks/utils/isDev.d.ts +0 -2
  1343. package/types/_common/hooks/utils/rect.d.ts +0 -4
  1344. package/types/_common/hooks/utils/useDeepCompareWithTarget.d.ts +0 -4
  1345. package/types/_common/hooks/utils/useEffectWithTarget.d.ts +0 -2
  1346. package/types/_common/hooks/utils/useIsomorphicLayoutEffectWithTarget.d.ts +0 -2
  1347. package/types/_common/hooks/utils/useLayoutEffectWithTarget.d.ts +0 -2
  1348. package/types/_common/icons/file/index.d.ts +0 -4
  1349. package/types/_common/icons/file/interface.d.ts +0 -20
  1350. package/types/_common/index.d.ts +0 -16
  1351. package/types/_common/progress/index.d.ts +0 -437
  1352. package/types/_common/space/index.d.ts +0 -7
  1353. package/types/_common/space/interface.d.ts +0 -53
  1354. package/types/_common/suspense-fallback-test/index.d.ts +0 -7
  1355. package/types/_common/suspense-fallback-test/interface.d.ts +0 -1
  1356. package/types/_common/transition-group/CSSTransition.d.ts +0 -98
  1357. package/types/_common/transition-group/PqbCSSTransition.d.ts +0 -4
  1358. package/types/_common/transition-group/ReplaceTransition.d.ts +0 -23
  1359. package/types/_common/transition-group/SwitchTransition.d.ts +0 -88
  1360. package/types/_common/transition-group/Transition.d.ts +0 -130
  1361. package/types/_common/transition-group/TransitionGroup.d.ts +0 -31
  1362. package/types/_common/transition-group/TransitionGroupContext.d.ts +0 -3
  1363. package/types/_common/transition-group/index.d.ts +0 -10
  1364. package/types/_common/transition-group/utils/ChildMapping.d.ts +0 -27
  1365. package/types/_common/utils/caseName.d.ts +0 -2
  1366. package/types/_common/utils/className.d.ts +0 -2
  1367. package/types/_common/utils/compute.d.ts +0 -100
  1368. package/types/_common/utils/constant.d.ts +0 -3
  1369. package/types/_common/utils/copy.d.ts +0 -4
  1370. package/types/_common/utils/date.d.ts +0 -2
  1371. package/types/_common/utils/dayjs.d.ts +0 -3
  1372. package/types/_common/utils/dom.d.ts +0 -27
  1373. package/types/_common/utils/emitter.d.ts +0 -2
  1374. package/types/_common/utils/fileToURL.d.ts +0 -2
  1375. package/types/_common/utils/fillNBSP.d.ts +0 -3
  1376. package/types/_common/utils/findScrollParent.d.ts +0 -2
  1377. package/types/_common/utils/getHighlightText.d.ts +0 -7
  1378. package/types/_common/utils/getHotkeyHandler.d.ts +0 -18
  1379. package/types/_common/utils/getStringLength.d.ts +0 -3
  1380. package/types/_common/utils/include.d.ts +0 -3
  1381. package/types/_common/utils/index.d.ts +0 -46
  1382. package/types/_common/utils/intersectionObserver.d.ts +0 -3
  1383. package/types/_common/utils/is.d.ts +0 -10
  1384. package/types/_common/utils/keyboardCode.d.ts +0 -5
  1385. package/types/_common/utils/lodash.d.ts +0 -60
  1386. package/types/_common/utils/math.d.ts +0 -2
  1387. package/types/_common/utils/mergeProps.d.ts +0 -3
  1388. package/types/_common/utils/mergedToString.d.ts +0 -4
  1389. package/types/_common/utils/mutationObserver.d.ts +0 -3
  1390. package/types/_common/utils/omit.d.ts +0 -3
  1391. package/types/_common/utils/pad.d.ts +0 -2
  1392. package/types/_common/utils/pick.d.ts +0 -6
  1393. package/types/_common/utils/pinyin.d.ts +0 -2
  1394. package/types/_common/utils/react19Adapter.d.ts +0 -1
  1395. package/types/_common/utils/reactDOM.d.ts +0 -34
  1396. package/types/_common/utils/resizeObserver.d.ts +0 -3
  1397. package/types/_common/utils/saveAs.d.ts +0 -2
  1398. package/types/_common/utils/screenfull.d.ts +0 -2
  1399. package/types/_common/utils/scrollIntoViewIfNeeded.d.ts +0 -12
  1400. package/types/_common/utils/setDarkTheme.d.ts +0 -4
  1401. package/types/_common/utils/setDir.d.ts +0 -3
  1402. package/types/_common/utils/setPrimaryColor.d.ts +0 -3
  1403. package/types/_common/utils/setTheme.d.ts +0 -3
  1404. package/types/_common/utils/style.d.ts +0 -3
  1405. package/types/_common/utils/supportRef.d.ts +0 -3
  1406. package/types/_common/utils/throttleByRaf.d.ts +0 -6
  1407. package/types/_common/utils/throttleByRaf2.d.ts +0 -6
  1408. package/types/_common/utils/tinycolor.d.ts +0 -3
  1409. package/types/_common/utils/toArray.d.ts +0 -13
  1410. package/types/_common/utils/tree.d.ts +0 -2
  1411. package/types/_common/utils/tween.d.ts +0 -2
  1412. package/types/_common/utils/uuid.d.ts +0 -1
  1413. package/types/_common/utils/validate.d.ts +0 -2
  1414. package/types/_common/utils/warning.d.ts +0 -3
  1415. package/types/form/IconSymbol.d.ts +0 -4
@@ -1,50 +1,49 @@
1
- /* 2025-11-04 14:07:05 */
2
- import { jsx as I, jsxs as R } from "react/jsx-runtime";
3
- import b, { forwardRef as w, useContext as N, useRef as F, createElement as j } from "react";
1
+ /* 2025-11-14 09:11:22 */
2
+ import { jsx as I, jsxs as N } from "react/jsx-runtime";
3
+ import R, { forwardRef as b, useContext as w, useRef as F, createElement as j } from "react";
4
4
  import "../config-provider/ConfigProvider.js";
5
- import z from "../dist/ui-common/hooks/use-merge-props/index.js";
5
+ import z from "@unicom-cloud/ui-common/hooks/use-merge-props";
6
6
  import { useVerificationCode as D } from "../hooks/use-verification-code/index.js";
7
7
  import E from "../input/InputElement.js";
8
- import p from "@unicom-cloud/utils/class-name";
9
- import "../dist/ui-common/utils/is.js";
10
- import K from "../config-provider/context.js";
11
- import { isString as L } from "@unicom-cloud/utils/is";
12
- const S = {
8
+ import p from "@unicom-cloud/ui-common/utils/className";
9
+ import { isString as K } from "@unicom-cloud/ui-common/utils/is";
10
+ import L from "../config-provider/context.js";
11
+ const M = {
13
12
  length: 6
14
13
  };
15
- function m(u, _) {
16
- const t = N(K), e = z(
14
+ function m(u, S) {
15
+ const o = w(L), e = z(
17
16
  u,
18
- S,
19
- t.componentConfig?.VerificationCode
20
- ), { size: a, separator: C, status: l, length: g, masked: y, disabled: h } = e, c = F([]), { value: v, filledValue: $, getInputProps: x } = D({
17
+ M,
18
+ o.componentConfig?.VerificationCode
19
+ ), { size: a, separator: C, status: l, length: g, masked: y, disabled: h } = e, c = F([]), { value: v, filledValue: $, getInputProps: P } = D({
21
20
  defaultValue: e.defaultValue,
22
21
  value: e.value,
23
22
  length: g,
24
23
  getInputRefList: () => c.current,
25
24
  onChange: e.onChange,
26
25
  onFinish: e.onFinish
27
- }), i = t.getPrefixCls?.("verification-code"), o = t.getPrefixCls?.("input");
26
+ }), s = o.getPrefixCls?.("verification-code"), t = o.getPrefixCls?.("input");
28
27
  return /* @__PURE__ */ I(
29
28
  "div",
30
29
  {
31
- className: p(`${i}`, e.className, {
32
- [`${i}-rtl`]: t.rtl
30
+ className: p(`${s}`, e.className, {
31
+ [`${s}-rtl`]: o.rtl
33
32
  }),
34
33
  style: e.style,
35
- children: $.map((P, n) => {
36
- const { onChange: f, onClick: O, onPaste: V, onKeyDown: k, ...d } = x(n);
37
- return /* @__PURE__ */ R(b.Fragment, { children: [
34
+ children: $.map((x, n) => {
35
+ const { onChange: f, onClick: O, onPaste: V, onKeyDown: k, ...d } = P(n);
36
+ return /* @__PURE__ */ N(R.Fragment, { children: [
38
37
  /* @__PURE__ */ j(
39
38
  E,
40
39
  {
41
40
  disabled: e.disabled,
42
41
  readOnly: e.readOnly,
43
- className: p(o, `${i}-input`, {
44
- [`${o}-size-${a}`]: a,
45
- [`${o}-${l}`]: l,
46
- [`${o}-disabled`]: h,
47
- [`${o}-rtl`]: t.rtl
42
+ className: p(t, `${s}-input`, {
43
+ [`${t}-size-${a}`]: a,
44
+ [`${t}-${l}`]: l,
45
+ [`${t}-disabled`]: h,
46
+ [`${t}-rtl`]: o.rtl
48
47
  }),
49
48
  ref: (r) => {
50
49
  c.current[n] = r?.dom;
@@ -56,28 +55,28 @@ function m(u, _) {
56
55
  onKeyDown: e.readOnly ? void 0 : k,
57
56
  onChange: e.readOnly ? void 0 : (r) => {
58
57
  if (e.validate) {
59
- const s = e?.validate({
58
+ const i = e?.validate({
60
59
  inputValue: r,
61
60
  index: n,
62
61
  value: v
63
62
  });
64
- s !== !1 && f(L(s) ? s : r);
63
+ i !== !1 && f(K(i) ? i : r);
65
64
  } else
66
65
  f(r);
67
66
  },
68
67
  type: y ? "password" : "text"
69
68
  }
70
69
  ),
71
- C?.({ index: n, character: P })
70
+ C?.({ index: n, character: x })
72
71
  ] }, n);
73
72
  })
74
73
  }
75
74
  );
76
75
  }
77
76
  m.displayName = "VerificationCodeComponent";
78
- const W = w(m);
77
+ const U = b(m);
79
78
  export {
80
79
  m as VerificationCodeComponent,
81
- W as default,
80
+ U as default,
82
81
  D as useVerificationCode
83
82
  };
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 14:07:05 */
1
+ /* 2025-11-14 09:11:22 */
2
2
  import { useVerificationCode as t } from "../hooks/use-verification-code/index.js";
3
3
  import e from "./VerificationCode.js";
4
4
  export {
package/version/index.js CHANGED
@@ -1,5 +1,5 @@
1
- /* 2025-11-04 14:07:05 */
2
- const I = "2025-11-04 14:07:05", t = "1762236425188", E = "2.66.7";
1
+ /* 2025-11-14 09:11:22 */
2
+ const I = "2025-11-14 09:11:22", t = "1763082682479", E = "2.66.8";
3
3
  export {
4
4
  E as VERSION,
5
5
  I as VERSION_BUILD_DATE,
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 14:07:05 */
1
+ /* 2025-11-14 09:11:22 */
2
2
  import { jsx as r } from "react/jsx-runtime";
3
3
  const a = ({
4
4
  height: n,
@@ -1,20 +1,19 @@
1
- /* 2025-11-04 14:07:05 */
2
- import { jsx as E, jsxs as Ct, Fragment as Ft } from "react/jsx-runtime";
3
- import J, { useRef as T, useState as Nt, useMemo as kt, useEffect as M, useImperativeHandle as Ut } from "react";
4
- import Vt from "../dist/ui-common/hooks/use-update/index.js";
5
- import jt from "../dist/ui-common/hooks/use-is-first-render/index.js";
6
- import Dt from "../dist/ui-common/hooks/use-isomorphic-layout-effect/index.js";
7
- import Kt from "../dist/ui-common/hooks/use-previous/index.js";
8
- import Bt from "../dist/ui-common/hooks/use-state-with-promise/index.js";
9
- import "../dist/ui-common/utils/is.js";
10
- import qt from "../dist/ui-common/utils/resizeObserver.js";
11
- import ft from "./Filler.js";
12
- import { findListDiffIndex as Gt, getIndexByStartLoc as Yt } from "./utils/algorithm.js";
13
- import { getItemRelativeTop as Q, getScrollPercentage as v, getItemAbsoluteTop as Wt, getRangeIndex as pt, getValidScrollTop as gt, GHOST_ITEM_KEY as zt, getCompareItemRelativeTop as Xt, getLocationItem as $t, getLongestItemIndex as Jt, getNodeHeight as ht } from "./utils/item.js";
14
- import { isNumber as Z, isObjectLike as Qt, isFunction as It, isString as Zt } from "@unicom-cloud/utils/is";
1
+ /* 2025-11-14 09:11:22 */
2
+ import { jsx as E, jsxs as Ft, Fragment as Ct } from "react/jsx-runtime";
3
+ import J, { useRef as T, useState as Nt, useMemo as kt, useEffect as P, useImperativeHandle as Ut } from "react";
4
+ import Vt from "@unicom-cloud/ui-common/hooks/use-force-update";
5
+ import jt from "@unicom-cloud/ui-common/hooks/use-is-first-render";
6
+ import Dt from "@unicom-cloud/ui-common/hooks/use-isomorphic-layout-effect";
7
+ import Kt from "@unicom-cloud/ui-common/hooks/use-previous";
8
+ import Bt from "@unicom-cloud/ui-common/hooks/use-state-with-promise";
9
+ import { isNumber as Q, isObjectLike as qt, isFunction as ft, isString as Gt } from "@unicom-cloud/ui-common/utils/is";
10
+ import Wt from "@unicom-cloud/ui-common/utils/resizeObserver";
11
+ import pt from "./Filler.js";
12
+ import { findListDiffIndex as Yt, getIndexByStartLoc as zt } from "./utils/algorithm.js";
13
+ import { getItemRelativeTop as Z, getScrollPercentage as A, getItemAbsoluteTop as Xt, getRangeIndex as gt, getValidScrollTop as ht, GHOST_ITEM_KEY as $t, getCompareItemRelativeTop as Jt, getLocationItem as Qt, getLongestItemIndex as Zt, getNodeHeight as It } from "./utils/item.js";
15
14
  const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`, ee = (h) => {
16
15
  const x = Vt(), { current: f } = h;
17
- M(() => {
16
+ P(() => {
18
17
  Object.keys(f).length && !f[L] && (f[L] = Object.entries(f).reduce(
19
18
  (_, [, H], m, S) => {
20
19
  const w = _ + H;
@@ -25,7 +24,7 @@ const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`,
25
24
  }, [Object.keys(f).length]);
26
25
  }, re = (h) => {
27
26
  const x = T({}), f = T(h);
28
- return M(() => {
27
+ return P(() => {
29
28
  f.current = h;
30
29
  }, [h]), h !== f.current && (x.current = {}), (_, H, m) => (Object.prototype.hasOwnProperty.call(x.current, H) || (x.current[H] = h(_, H, m)), x.current[H]);
31
30
  }, ne = J.forwardRef((h, x) => {
@@ -47,10 +46,10 @@ const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`,
47
46
  outerStyle: et,
48
47
  innerStyle: rt,
49
48
  wrapperChild: B = J.Fragment,
50
- ...Mt
51
- } = h, U = f && f.maxHeight || xt, C = T({}), [Rt, bt] = Nt(200), nt = re(H);
52
- ee(C);
53
- const R = m.length, b = Ht || C.current[L] || te, V = Z(U) ? U : Rt, P = Math.ceil(V / b), q = b * R, I = w !== null && R >= w && q > V, o = T(null), Pt = T({}), y = T(null), F = T(!1), ot = T(I), it = kt(() => {
49
+ ...Pt
50
+ } = h, U = f && f.maxHeight || xt, F = T({}), [Rt, bt] = Nt(200), nt = re(H);
51
+ ee(F);
52
+ const R = m.length, b = Ht || F.current[L] || te, V = Q(U) ? U : Rt, M = Math.ceil(V / b), q = b * R, I = w !== null && R >= w && q > V, o = T(null), Mt = T({}), y = T(null), C = T(!1), ot = T(I), st = kt(() => {
54
53
  if (o.current) {
55
54
  const t = (e) => +window.getComputedStyle(o.current)[e].replace(/\D/g, "");
56
55
  return {
@@ -59,7 +58,7 @@ const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`,
59
58
  };
60
59
  }
61
60
  return { top: 0, bottom: 0 };
62
- }, [o.current]), [i, N] = Bt({
61
+ }, [o.current]), [s, N] = Bt({
63
62
  // measure status
64
63
  status: "NONE",
65
64
  // render range info
@@ -70,31 +69,31 @@ const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`,
70
69
  // scroll info
71
70
  startItemTop: 0,
72
71
  scrollTop: 0
73
- }), j = Kt(m) || [], Ot = jt(), k = (t, e) => It(S) ? S(t, e) : Zt(S) ? t[S] : t.key || e, p = (t, e = m) => {
72
+ }), j = Kt(m) || [], Ot = jt(), k = (t, e) => ft(S) ? S(t, e) : Gt(S) ? t[S] : t.key || e, p = (t, e = m) => {
74
73
  if (t === e.length)
75
- return zt;
76
- const s = e[t];
77
- return s !== void 0 ? k(s, t) : null;
78
- }, g = (t) => C.current[t] || b, st = (t) => {
79
- const { itemIndex: e, relativeTop: s } = t, { scrollHeight: r, clientHeight: l } = o.current, c = i.scrollTop, n = r - l;
80
- let a = Number.MAX_VALUE, u = null, d = null, O = null, A = null, ct = null, Y = 0;
81
- for (let W = 0; W < n; W++) {
82
- const at = Yt(0, n, c, W), ut = v({
83
- scrollTop: at,
74
+ return $t;
75
+ const i = e[t];
76
+ return i !== void 0 ? k(i, t) : null;
77
+ }, g = (t) => F.current[t] || b, it = (t) => {
78
+ const { itemIndex: e, relativeTop: i } = t, { scrollHeight: r, clientHeight: l } = o.current, c = s.scrollTop, n = r - l;
79
+ let u = Number.MAX_VALUE, a = null, d = null, O = null, v = null, ct = null, W = 0;
80
+ for (let Y = 0; Y < n; Y++) {
81
+ const ut = zt(0, n, c, Y), at = A({
82
+ scrollTop: ut,
84
83
  scrollHeight: r,
85
84
  clientHeight: l
86
- }), { itemIndex: z, itemOffsetPtg: mt, startIndex: X, endIndex: $ } = pt(
87
- ut,
85
+ }), { itemIndex: z, itemOffsetPtg: mt, startIndex: X, endIndex: $ } = gt(
86
+ at,
88
87
  R,
89
- P
88
+ M
90
89
  );
91
90
  if (X <= e && e <= $) {
92
- const _t = Q({
91
+ const _t = Z({
93
92
  itemHeight: g(p(z)),
94
93
  itemOffsetPtg: mt,
95
94
  clientHeight: l,
96
- scrollPtg: ut
97
- }), wt = Xt({
95
+ scrollPtg: at
96
+ }), wt = Jt({
98
97
  locatedItemRelativeTop: _t,
99
98
  locatedItemIndex: z,
100
99
  compareItemIndex: e,
@@ -102,131 +101,131 @@ const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`,
102
101
  endIndex: $,
103
102
  itemHeight: b,
104
103
  getItemKey: p,
105
- itemElementHeights: C.current
106
- }), dt = Math.abs(wt - s);
107
- dt < a ? (a = dt, u = at, d = z, O = mt, A = X, ct = $, Y = 0) : Y += 1;
104
+ itemElementHeights: F.current
105
+ }), dt = Math.abs(wt - i);
106
+ dt < u ? (u = dt, a = ut, d = z, O = mt, v = X, ct = $, W = 0) : W += 1;
108
107
  }
109
- if (Y > 10)
108
+ if (W > 10)
110
109
  break;
111
110
  }
112
- u !== null && (F.current = !0, o.current.scrollTop = u, N({
113
- ...i,
111
+ a !== null && (C.current = !0, o.current.scrollTop = a, N({
112
+ ...s,
114
113
  status: "MEASURE_START",
115
- scrollTop: u,
114
+ scrollTop: a,
116
115
  itemIndex: d,
117
116
  itemOffsetPtg: O,
118
- startIndex: A,
117
+ startIndex: v,
119
118
  endIndex: ct
120
119
  })), y.current = requestAnimationFrame(() => {
121
- F.current = !1;
120
+ C.current = !1;
122
121
  });
123
- }, At = (t) => {
122
+ }, vt = (t) => {
124
123
  const {
125
124
  scrollTop: e,
126
- clientHeight: s,
125
+ clientHeight: i,
127
126
  scrollHeight: r
128
- } = o.current, l = gt(
127
+ } = o.current, l = ht(
129
128
  e,
130
- r - s
131
- ), c = v({
129
+ r - i
130
+ ), c = A({
132
131
  scrollTop: l,
133
- clientHeight: s,
132
+ clientHeight: i,
134
133
  scrollHeight: r
135
- }), { index: n, offsetPtg: a } = $t(c, R);
134
+ }), { index: n, offsetPtg: u } = Qt(c, R);
136
135
  N({
137
- ...i,
136
+ ...s,
138
137
  scrollTop: l,
139
138
  itemIndex: n,
140
- itemOffsetPtg: a
139
+ itemOffsetPtg: u
141
140
  }), t && tt?.(t, { index: n });
142
141
  }, lt = (t, e = !1) => {
143
- const s = q, { scrollTop: r, clientHeight: l } = o.current, c = gt(
142
+ const i = q, { scrollTop: r, clientHeight: l } = o.current, c = ht(
144
143
  r,
145
- s - l
144
+ i - l
146
145
  );
147
- if (!e && (c === i.scrollTop || F.current))
146
+ if (!e && (c === s.scrollTop || C.current))
148
147
  return;
149
- const n = v({
148
+ const n = A({
150
149
  scrollTop: c,
151
150
  clientHeight: l,
152
- scrollHeight: s
153
- }), { itemIndex: a, itemOffsetPtg: u, startIndex: d, endIndex: O } = pt(
151
+ scrollHeight: i
152
+ }), { itemIndex: u, itemOffsetPtg: a, startIndex: d, endIndex: O } = gt(
154
153
  n,
155
154
  R,
156
- P
155
+ M
157
156
  );
158
157
  N({
159
- ...i,
158
+ ...s,
160
159
  scrollTop: c,
161
- itemIndex: a,
162
- itemOffsetPtg: u,
160
+ itemIndex: u,
161
+ itemOffsetPtg: a,
163
162
  startIndex: d,
164
163
  endIndex: O,
165
164
  status: "MEASURE_START"
166
- }), t && tt?.(t, { index: a });
165
+ }), t && tt?.(t, { index: u });
167
166
  };
168
- M(() => () => {
167
+ P(() => () => {
169
168
  y.current && cancelAnimationFrame(y.current);
170
- }, []), M(() => {
169
+ }, []), P(() => {
171
170
  o.current && (Ot && (o.current.scrollTop = 0), lt(null, !0));
172
- }, [P]), M(() => {
171
+ }, [M]), P(() => {
173
172
  if (!o.current)
174
173
  return;
175
174
  let t = null;
176
175
  const e = ot.current !== I ? I ? "virtual" : "raw" : "";
177
176
  if (ot.current = I, V && j.length !== m.length) {
178
- const s = Gt(j, m, k);
179
- t = s ? s.index : null;
177
+ const i = Yt(j, m, k);
178
+ t = i ? i.index : null;
180
179
  }
181
180
  if (e || I && t) {
182
- const { clientHeight: s } = o.current, r = Q({
181
+ const { clientHeight: i } = o.current, r = Z({
183
182
  itemHeight: g(
184
- p(i.itemIndex, j)
183
+ p(s.itemIndex, j)
185
184
  ),
186
- itemOffsetPtg: i.itemOffsetPtg,
187
- scrollPtg: v({
188
- scrollTop: i.scrollTop,
185
+ itemOffsetPtg: s.itemOffsetPtg,
186
+ scrollPtg: A({
187
+ scrollTop: s.scrollTop,
189
188
  scrollHeight: j.length * b,
190
- clientHeight: s
189
+ clientHeight: i
191
190
  }),
192
- clientHeight: s
191
+ clientHeight: i
193
192
  });
194
193
  if (e === "raw") {
195
194
  let l = r;
196
- for (let c = 0; c < i.itemIndex; c++)
195
+ for (let c = 0; c < s.itemIndex; c++)
197
196
  l -= g(p(c));
198
- o.current.scrollTop = -l, F.current = !0, y.current = requestAnimationFrame(() => {
199
- F.current = !1;
197
+ o.current.scrollTop = -l, C.current = !0, y.current = requestAnimationFrame(() => {
198
+ C.current = !1;
200
199
  });
201
200
  } else
202
- st({
203
- itemIndex: i.itemIndex,
201
+ it({
202
+ itemIndex: s.itemIndex,
204
203
  relativeTop: r
205
204
  });
206
205
  }
207
206
  }, [m, I]), Dt(() => {
208
- if (i.status === "MEASURE_START" && o.current) {
209
- const { scrollTop: t, scrollHeight: e, clientHeight: s } = o.current, r = v({
207
+ if (s.status === "MEASURE_START" && o.current) {
208
+ const { scrollTop: t, scrollHeight: e, clientHeight: i } = o.current, r = A({
210
209
  scrollTop: t,
211
210
  scrollHeight: e,
212
- clientHeight: s
211
+ clientHeight: i
213
212
  });
214
- let l = Wt({
213
+ let l = Xt({
215
214
  scrollPtg: r,
216
- clientHeight: s,
217
- scrollTop: t - (it.top + it.bottom) * r,
218
- itemHeight: g(p(i.itemIndex)),
219
- itemOffsetPtg: i.itemOffsetPtg
215
+ clientHeight: i,
216
+ scrollTop: t - (st.top + st.bottom) * r,
217
+ itemHeight: g(p(s.itemIndex)),
218
+ itemOffsetPtg: s.itemOffsetPtg
220
219
  });
221
- for (let c = i.itemIndex - 1; c >= i.startIndex; c--)
220
+ for (let c = s.itemIndex - 1; c >= s.startIndex; c--)
222
221
  l -= g(p(c));
223
222
  N({
224
- ...i,
223
+ ...s,
225
224
  startItemTop: l,
226
225
  status: "MEASURE_DONE"
227
226
  });
228
227
  }
229
- }, [i]), Ut(
228
+ }, [s]), Ut(
230
229
  x,
231
230
  () => ({
232
231
  dom: o.current,
@@ -235,48 +234,48 @@ const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`,
235
234
  scrollTo: (t) => {
236
235
  y.current && cancelAnimationFrame(y.current), y.current = requestAnimationFrame(() => {
237
236
  if (!o.current) return;
238
- if (Z(t)) {
237
+ if (Q(t)) {
239
238
  o.current.scrollTop = t;
240
239
  return;
241
240
  }
242
241
  let e = 0;
243
242
  "index" in t ? e = t.index : "key" in t ? e = m.findIndex(
244
- (n, a) => k(n, a) === t.key
243
+ (n, u) => k(n, u) === t.key
245
244
  ) : e = 0;
246
- const s = m[e];
247
- if (!s) return;
248
- let r = Qt(t) && t.options?.block ? t.options.block : yt?.block || "nearest";
245
+ const i = m[e];
246
+ if (!i) return;
247
+ let r = qt(t) && t.options?.block ? t.options.block : yt?.block || "nearest";
249
248
  const { clientHeight: l, scrollTop: c } = o.current;
250
249
  if (I && !K) {
251
250
  if (r === "nearest") {
252
- const { itemIndex: n, itemOffsetPtg: a } = i;
253
- if (Math.abs(n - e) < P) {
254
- let u = Q({
251
+ const { itemIndex: n, itemOffsetPtg: u } = s;
252
+ if (Math.abs(n - e) < M) {
253
+ let a = Z({
255
254
  itemHeight: g(p(n)),
256
- itemOffsetPtg: a,
255
+ itemOffsetPtg: u,
257
256
  clientHeight: l,
258
- scrollPtg: v(o.current)
257
+ scrollPtg: A(o.current)
259
258
  });
260
259
  if (e < n)
261
260
  for (let d = e; d < n; d++)
262
- u -= g(p(d));
261
+ a -= g(p(d));
263
262
  else
264
263
  for (let d = n; d < e; d++)
265
- u += g(p(d));
266
- if (u < 0 || u > l)
267
- r = u < 0 ? "start" : "end";
264
+ a += g(p(d));
265
+ if (a < 0 || a > l)
266
+ r = a < 0 ? "start" : "end";
268
267
  else
269
268
  return;
270
269
  } else
271
270
  r = e < n ? "start" : "end";
272
271
  }
273
272
  N({
274
- ...i,
275
- startIndex: Math.max(0, e - P),
276
- endIndex: Math.min(R - 1, e + P)
273
+ ...s,
274
+ startIndex: Math.max(0, e - M),
275
+ endIndex: Math.min(R - 1, e + M)
277
276
  }).then(() => {
278
- const n = g(k(s, e));
279
- st({
277
+ const n = g(k(i, e));
278
+ it({
280
279
  itemIndex: e,
281
280
  relativeTop: r === "start" ? 0 : (l - n) / (r === "center" ? 2 : 1)
282
281
  });
@@ -285,52 +284,52 @@ const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`,
285
284
  const n = g(
286
285
  p(e)
287
286
  );
288
- let a = 0;
289
- for (let A = 0; A < e; A++)
290
- a += g(p(A));
291
- const u = a + n, d = a + n / 2;
287
+ let u = 0;
288
+ for (let v = 0; v < e; v++)
289
+ u += g(p(v));
290
+ const a = u + n, d = u + n / 2;
292
291
  if (d > c && d < l + c)
293
292
  return;
294
- r === "nearest" && (a < c ? r = "start" : u > c + l && (r = "end"));
293
+ r === "nearest" && (u < c ? r = "start" : a > c + l && (r = "end"));
295
294
  const O = l - n;
296
- o.current.scrollTop = a - (r === "start" ? 0 : O / (r === "center" ? 2 : 1));
295
+ o.current.scrollTop = u - (r === "start" ? 0 : O / (r === "center" ? 2 : 1));
297
296
  }
298
297
  });
299
298
  }
300
299
  }),
301
- [m, b, i]
300
+ [m, b, s]
302
301
  );
303
- const G = (t, e = 0) => t.map((s, r) => {
304
- const l = e + r, c = nt(s, l, {
302
+ const G = (t, e = 0) => t.map((i, r) => {
303
+ const l = e + r, c = nt(i, l, {
305
304
  style: {},
306
305
  itemIndex: r
307
- }), n = k(s, l);
306
+ }), n = k(i, l);
308
307
  return J.cloneElement(c, {
309
308
  key: n,
310
- ref: (a) => {
311
- const { current: u } = C;
312
- a && (Pt.current[r] = a, i.status === "MEASURE_START" && (!K || u[n] === void 0) && (K ? (u[L] || (u[L] = ht(a, !0)), u[n] = u[L]) : u[n] = ht(a, !0))), It(c?.ref) && c?.ref(a);
309
+ ref: (u) => {
310
+ const { current: a } = F;
311
+ u && (Mt.current[r] = u, s.status === "MEASURE_START" && (!K || a[n] === void 0) && (K ? (a[L] || (a[L] = It(u, !0)), a[n] = a[L]) : a[n] = It(u, !0))), ft(c?.ref) && c?.ref(u);
313
312
  }
314
313
  });
315
314
  }), D = T(null);
316
- M(() => {
315
+ P(() => {
317
316
  D.current = null;
318
317
  }, [m]);
319
- const vt = () => {
318
+ const At = () => {
320
319
  if (St) {
321
- const t = D.current === null ? Jt(m) : D.current, e = m[t];
320
+ const t = D.current === null ? Zt(m) : D.current, e = m[t];
322
321
  return D.current = t, e ? /* @__PURE__ */ E("div", { style: { height: 1, overflow: "hidden", opacity: 0 }, children: nt(e, t, { style: {} }) }) : null;
323
322
  }
324
323
  return null;
325
324
  };
326
325
  function Lt() {
327
- if (o.current && !Z(U)) {
326
+ if (o.current && !Q(U)) {
328
327
  const { clientHeight: t } = o.current;
329
328
  bt(t);
330
329
  }
331
330
  }
332
- return M(() => {
333
- const t = qt([o.current], Lt);
331
+ return P(() => {
332
+ const t = Wt([o.current], Lt);
334
333
  return () => {
335
334
  t();
336
335
  };
@@ -346,25 +345,25 @@ const te = 32, L = `__virtual_item_height_${Math.random().toFixed(5).slice(2)}`,
346
345
  maxHeight: U
347
346
  },
348
347
  className: _,
349
- onScroll: I ? lt : At,
350
- ...Mt,
351
- children: I ? /* @__PURE__ */ Ct(Ft, { children: [
348
+ onScroll: I ? lt : vt,
349
+ ...Pt,
350
+ children: I ? /* @__PURE__ */ Ft(Ct, { children: [
352
351
  /* @__PURE__ */ E(
353
- ft,
352
+ pt,
354
353
  {
355
354
  height: q,
356
355
  outerStyle: et,
357
356
  innerStyle: rt,
358
- offset: i.status === "MEASURE_DONE" ? i.startItemTop : 0,
357
+ offset: s.status === "MEASURE_DONE" ? s.startItemTop : 0,
359
358
  children: /* @__PURE__ */ E(B, { children: G(
360
- m.slice(i.startIndex, i.endIndex + 1),
361
- i.startIndex
359
+ m.slice(s.startIndex, s.endIndex + 1),
360
+ s.startIndex
362
361
  ) })
363
362
  }
364
363
  ),
365
- vt()
364
+ At()
366
365
  ] }) : Et ? /* @__PURE__ */ E(
367
- ft,
366
+ pt,
368
367
  {
369
368
  height: V,
370
369
  outerStyle: et,
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 14:07:05 */
1
+ /* 2025-11-14 09:11:22 */
2
2
  import r from "./VirtualList.js";
3
3
  export {
4
4
  r as default
@@ -1,4 +1,4 @@
1
- /* 2025-11-04 14:07:05 */
1
+ /* 2025-11-14 09:11:22 */
2
2
  function y(f, r, t, e) {
3
3
  const o = t - f, l = r - t, u = Math.min(o, l) * 2;
4
4
  if (e <= u) {