@unicom-cloud/ui 0.8.82 → 0.8.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1074) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +1 -1
  3. package/AutoComplete.js +2 -2
  4. package/BackTop.js +2 -2
  5. package/Badge.js +1 -1
  6. package/Breadcrumb.js +2 -2
  7. package/Button.js +1 -1
  8. package/Calendar.js +4 -4
  9. package/Card.js +1 -1
  10. package/Carousel.js +1 -1
  11. package/Cascader.js +1 -1
  12. package/Checkbox.js +1 -1
  13. package/Collapse.js +1 -1
  14. package/ColorPicker.js +2 -2
  15. package/Comment.js +1 -1
  16. package/ConfigProvider.js +1 -1
  17. package/Copy.js +1 -1
  18. package/DatePicker.js +1 -1
  19. package/Descriptions.js +1 -1
  20. package/Development.js +8 -0
  21. package/Divider.js +1 -1
  22. package/Draggable.js +1 -1
  23. package/Dropdown.js +1 -1
  24. package/Empty.js +2 -4
  25. package/Icon.js +1 -1
  26. package/IconHover.js +1 -1
  27. package/Image.js +1 -1
  28. package/Input.js +9 -9
  29. package/InputNumber.js +1 -1
  30. package/Layout.js +1 -1
  31. package/Link.js +1 -1
  32. package/List.js +2 -2
  33. package/Mentions.js +2 -2
  34. package/Menu.js +1 -1
  35. package/Message.js +1 -1
  36. package/Modal.js +1 -1
  37. package/Notice.js +1 -1
  38. package/Notification.js +1 -1
  39. package/OverflowEllipsis.js +1 -1
  40. package/PageHeader.js +1 -1
  41. package/Pagination.js +1 -1
  42. package/Popconfirm.js +1 -1
  43. package/Popover.js +1 -1
  44. package/Progress.js +1 -1
  45. package/Radio.js +1 -1
  46. package/Rate.js +1 -1
  47. package/ResizeBox.js +1 -1
  48. package/Result.js +1 -1
  49. package/Select.js +1 -1
  50. package/Skeleton.js +1 -1
  51. package/Slider.js +1 -1
  52. package/Space.js +1 -1
  53. package/SpeechSynthesis.js +2 -44
  54. package/Spin.js +1 -1
  55. package/Statistic.js +2 -2
  56. package/Steps.js +1 -1
  57. package/Switch.js +1 -1
  58. package/Table.js +1 -1
  59. package/Tabs.js +1 -1
  60. package/Tag.js +1 -1
  61. package/Tooltip.js +1 -1
  62. package/Transfer.js +2 -2
  63. package/Tree.js +1 -1
  64. package/TreeSelect.js +1 -1
  65. package/Trigger.js +1 -1
  66. package/Typography.js +1 -1
  67. package/affix/index.js +1 -1
  68. package/alert/index.js +1 -1
  69. package/anchor/Anchor.js +1 -1
  70. package/anchor/Link.js +1 -1
  71. package/anchor/util.js +1 -1
  72. package/auto-complete/index.js +2 -2
  73. package/avatar/Avatar.js +1 -1
  74. package/avatar/Group.js +1 -1
  75. package/back-top/index.js +9 -9
  76. package/badge/index.js +1 -1
  77. package/breadcrumb/index.js +2 -2
  78. package/button/Group.js +1 -1
  79. package/button/index.js +1 -1
  80. package/calendar/Month.js +2 -2
  81. package/calendar/Year.js +11 -11
  82. package/calendar/index.js +4 -4
  83. package/card/Grid.js +1 -1
  84. package/card/Meta.js +1 -1
  85. package/card/index.js +1 -1
  86. package/carousel/Arrow.js +1 -1
  87. package/carousel/Indicator.js +1 -1
  88. package/carousel/index.js +1 -1
  89. package/cascader/Cascader.js +2 -2
  90. package/cascader/index.js +1 -1
  91. package/cascader/util.js +1 -1
  92. package/checkbox/Checkbox.js +2 -2
  93. package/checkbox/Group.js +2 -2
  94. package/checkbox/GroupBlock.js +2 -2
  95. package/checkbox/index.js +2 -2
  96. package/chunk/{dKvAiKxr.js → B1kymbJZ.js} +2 -2
  97. package/chunk/B44Hj5ad.js +697 -0
  98. package/chunk/B6r8jPCd.js +6 -0
  99. package/chunk/{BZ9g7J4R.js → BC2OXILt.js} +1 -1
  100. package/chunk/{DfrB26fI.js → BJjotfW6.js} +1 -1
  101. package/chunk/{uKZyjtff.js → BNevupAU.js} +4 -5
  102. package/chunk/BRPQJFSI.js +649 -0
  103. package/chunk/{D0338Pbq.js → BZJwzdhZ.js} +1 -1
  104. package/chunk/C7bohPVD.js +185 -0
  105. package/chunk/{w221i0nK.js → DO3k0z6J.js} +2803 -2791
  106. package/chunk/Doi4-DdV.js +1472 -0
  107. package/chunk/{CQI1gsQs.js → DuWBv5j3.js} +1 -1
  108. package/chunk/DzekwbB4.js +53 -0
  109. package/collapse/Collapse.js +2 -2
  110. package/collapse/Item.js +2 -2
  111. package/collapse/index.js +1 -1
  112. package/color-picker/ControlBar.js +1 -1
  113. package/color-picker/InputAlpha.js +1 -1
  114. package/color-picker/InputHex.js +4 -4
  115. package/color-picker/InputRgb.js +3 -3
  116. package/color-picker/Palette.js +1 -1
  117. package/color-picker/Panel.js +2 -2
  118. package/color-picker/index.js +2 -2
  119. package/comment/index.js +1 -1
  120. package/config-provider/ConfigProvider.js +6 -5
  121. package/config-provider/context.js +1 -1
  122. package/config-provider/index.js +2 -2
  123. package/copy/index.js +1 -1
  124. package/date-picker/Picker.js +2 -2
  125. package/date-picker/RangePicker.js +3 -3
  126. package/date-picker/index.js +1 -1
  127. package/date-picker/util.js +1 -1
  128. package/descriptions/index.js +1 -1
  129. package/development/index.js +42 -0
  130. package/divider/index.js +1 -1
  131. package/draggable/index.js +1 -1
  132. package/drawer/Drawer.js +153 -152
  133. package/dropdown/Button.js +1 -1
  134. package/dropdown/index.js +1 -1
  135. package/empty/index.js +2 -4
  136. package/form/Form.js +1 -1
  137. package/form/FormItem.js +1 -1
  138. package/form/context.js +1 -1
  139. package/grid/Col.js +1 -1
  140. package/grid/Row.js +1 -1
  141. package/grid/grid-item.js +1 -1
  142. package/grid/grid.js +1 -1
  143. package/icon/index.js +1 -1
  144. package/icon-hover/index.js +1 -1
  145. package/image/Image.js +2 -2
  146. package/image/ImagePreview.js +2 -2
  147. package/image/ImagePreviewArrow.js +1 -1
  148. package/image/ImagePreviewGroup.js +1 -1
  149. package/image/index.js +1 -1
  150. package/index.js +447 -442
  151. package/input/Button.js +11 -0
  152. package/input/Group.js +1 -1
  153. package/input/Input.js +456 -400
  154. package/input/InputElement.js +1 -1
  155. package/input/Password.js +1 -1
  156. package/input/Search.js +1 -1
  157. package/input/Textarea.js +1 -1
  158. package/input/index.js +12 -12
  159. package/input-number/index.js +1 -1
  160. package/input-tag/InputTag.js +1 -1
  161. package/layout/Content.js +1 -1
  162. package/layout/Footer.js +1 -1
  163. package/layout/Header.js +1 -1
  164. package/layout/Sider.js +1 -1
  165. package/layout/index.js +1 -1
  166. package/link/index.js +1 -1
  167. package/list/Item.js +1 -1
  168. package/list/Meta.js +1 -1
  169. package/list/index.js +2 -2
  170. package/mentions/index.js +2 -2
  171. package/menu/Menu.js +2 -2
  172. package/menu/OverflowWrap.js +1 -1
  173. package/menu/index.js +2 -2
  174. package/message/index.js +1 -1
  175. package/message/useMessage.js +1 -1
  176. package/modal/Confirm.js +2 -2
  177. package/modal/Modal.js +2 -2
  178. package/modal/index.js +1 -1
  179. package/notice/index.js +1 -1
  180. package/notification/index.js +1 -1
  181. package/notification/useNotification.js +1 -1
  182. package/overflow-ellipsis/OverflowItem.js +1 -1
  183. package/overflow-ellipsis/index.js +1 -1
  184. package/package.json +1 -1
  185. package/page-header/index.js +1 -1
  186. package/pagination/PageItem.js +1 -1
  187. package/pagination/PageJumper.js +4 -4
  188. package/pagination/PageOption.js +2 -2
  189. package/pagination/Pagination.js +2 -2
  190. package/pagination/index.js +1 -1
  191. package/picker/Input.js +1 -1
  192. package/picker/InputRange.js +1 -1
  193. package/popconfirm/index.js +1 -1
  194. package/popover/index.js +1 -1
  195. package/progress/index.js +1 -1
  196. package/radio/Group.js +2 -2
  197. package/radio/GroupBlock.js +2 -2
  198. package/radio/Radio.js +2 -2
  199. package/radio/index.js +2 -2
  200. package/rate/index.js +1 -1
  201. package/resize-box/ResizeTrigger.js +1 -1
  202. package/resize-box/Split.js +1 -1
  203. package/resize-box/SplitGroup.js +1 -1
  204. package/resize-box/index.js +1 -1
  205. package/result/index.js +1 -1
  206. package/select/Option.js +1 -1
  207. package/select/Select.js +2 -2
  208. package/select/index.js +2 -2
  209. package/select/util.js +1 -1
  210. package/select-view/Core.js +77 -77
  211. package/skeleton/index.js +1 -1
  212. package/slider/Button.js +1 -1
  213. package/slider/index.js +59 -59
  214. package/space/index.js +1 -1
  215. package/speech-synthesis/index.js +41 -83
  216. package/spin/DotLoading.js +1 -1
  217. package/spin/index.js +1 -1
  218. package/statistic/Countdown.js +2 -2
  219. package/statistic/index.js +18 -18
  220. package/steps/index.js +1 -1
  221. package/style.css +1 -1
  222. package/switch/index.js +1 -1
  223. package/table/Table.js +3 -3
  224. package/table/index.js +1 -1
  225. package/tabs/Tab.js +2 -2
  226. package/tabs/TabContent.js +2 -2
  227. package/tabs/TabPane.js +1 -1
  228. package/tabs/index.js +2 -2
  229. package/tag/index.js +1 -1
  230. package/time-picker/Picker.js +92 -90
  231. package/time-picker/RangePicker.js +1 -1
  232. package/time-picker/TimePicker.js +2 -2
  233. package/time-picker/util.js +6 -6
  234. package/timeline/Item.js +1 -1
  235. package/timeline/Timeline.js +1 -1
  236. package/tooltip/index.js +1 -1
  237. package/transfer/Item.js +2 -2
  238. package/transfer/List.js +2 -2
  239. package/transfer/index.js +2 -2
  240. package/tree/Animation.js +2 -2
  241. package/tree/Node.js +2 -2
  242. package/tree/NodeList.js +1 -1
  243. package/tree/Tree.js +2 -2
  244. package/tree/index.js +1 -1
  245. package/tree/util.js +34 -34
  246. package/tree-select/List.js +1 -1
  247. package/tree-select/Select.js +2 -2
  248. package/tree-select/index.js +2 -2
  249. package/trigger/index.js +1 -1
  250. package/types/common/assets/hourglass.d.ts +2 -0
  251. package/types/common/development/index.d.ts +2 -0
  252. package/types/common/empty/index.d.ts +4 -0
  253. package/types/common/empty/interface.d.ts +24 -0
  254. package/types/common/higher-order/with-speech-synthesis/index.d.ts +2 -0
  255. package/types/common/hooks/useComputedState.d.ts +4 -0
  256. package/types/common/hooks/useCreate.d.ts +2 -0
  257. package/types/common/hooks/useForceUpdate.d.ts +16 -0
  258. package/types/common/hooks/useId.d.ts +6 -0
  259. package/types/common/hooks/useInView.d.ts +11 -0
  260. package/types/common/hooks/useIntersectionObserver.d.ts +7 -0
  261. package/types/common/hooks/useInterval.d.ts +2 -0
  262. package/types/common/hooks/useIsFirstRender.d.ts +2 -0
  263. package/types/common/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
  264. package/types/common/hooks/useKeyboardEvent.d.ts +8 -0
  265. package/types/common/hooks/useListenResize.d.ts +18 -0
  266. package/types/common/hooks/useMedia.d.ts +2 -0
  267. package/types/common/hooks/useMergeProps.d.ts +5 -0
  268. package/types/common/hooks/useMergeValue.d.ts +6 -0
  269. package/types/common/hooks/useOnlineStatus.d.ts +2 -0
  270. package/types/common/hooks/useOverflowHidden.d.ts +5 -0
  271. package/types/common/hooks/useOverrideRef.d.ts +6 -0
  272. package/types/common/hooks/usePersistCallback.d.ts +2 -0
  273. package/types/common/hooks/usePrefersColorSchemeDark.d.ts +2 -0
  274. package/types/common/hooks/usePrevious.d.ts +3 -0
  275. package/types/common/hooks/useRefs.d.ts +2 -0
  276. package/types/common/hooks/useResizeObserver.d.ts +6 -0
  277. package/types/common/hooks/useStateCallback.d.ts +5 -0
  278. package/types/common/hooks/useStateWithPromise.d.ts +2 -0
  279. package/types/common/hooks/useUpdateEffect.d.ts +19 -0
  280. package/types/common/hooks/useWatch.d.ts +3 -0
  281. package/types/common/hooks/useWindowSize.d.ts +18 -0
  282. package/types/common/utils/PqbCSSTransition.d.ts +4 -0
  283. package/types/common/utils/caseName.d.ts +1 -0
  284. package/types/common/utils/className.d.ts +1 -0
  285. package/types/common/utils/constant.d.ts +2 -0
  286. package/types/{utils → common/utils}/copy.d.ts +1 -1
  287. package/types/common/utils/dayjs.d.ts +22 -0
  288. package/types/common/utils/dom.d.ts +12 -0
  289. package/types/common/utils/fileToURL.d.ts +1 -0
  290. package/types/common/utils/fillNBSP.d.ts +3 -0
  291. package/types/common/utils/getHighlightText.d.ts +7 -0
  292. package/types/common/utils/getHotkeyHandler.d.ts +18 -0
  293. package/types/common/utils/getStringLength.d.ts +3 -0
  294. package/types/common/utils/include.d.ts +3 -0
  295. package/types/common/utils/is.d.ts +17 -0
  296. package/types/common/utils/lodash.d.ts +17 -0
  297. package/types/common/utils/mergeProps.d.ts +3 -0
  298. package/types/common/utils/mergedToString.d.ts +4 -0
  299. package/types/common/utils/omit.d.ts +3 -0
  300. package/types/common/utils/pad.d.ts +2 -0
  301. package/types/common/utils/pick.d.ts +6 -0
  302. package/types/common/utils/react19Adapter.d.ts +1 -0
  303. package/types/common/utils/reactDOM.d.ts +14 -0
  304. package/types/common/utils/resizeObserverEffect.d.ts +2 -0
  305. package/types/common/utils/saveAs.d.ts +1 -0
  306. package/types/common/utils/screenfull.d.ts +1 -0
  307. package/types/common/utils/scrollIntoView.d.ts +4 -0
  308. package/types/common/utils/setTheme.d.ts +2 -0
  309. package/types/common/utils/style.d.ts +3 -0
  310. package/types/common/utils/throttleByRaf.d.ts +6 -0
  311. package/types/common/utils/warning.d.ts +3 -0
  312. package/types/pc/affix/interface.d.ts +52 -0
  313. package/types/pc/alert/interface.d.ts +66 -0
  314. package/types/pc/anchor/interface.d.ts +105 -0
  315. package/types/{anchor → pc/anchor}/util.d.ts +1 -1
  316. package/types/pc/auto-complete/interface.d.ts +127 -0
  317. package/types/pc/avatar/interface.d.ts +95 -0
  318. package/types/pc/back-top/interface.d.ts +42 -0
  319. package/types/pc/badge/interface.d.ts +66 -0
  320. package/types/pc/breadcrumb/interface.d.ts +78 -0
  321. package/types/{button → pc/button}/index.d.ts +2 -2
  322. package/types/pc/button/interface.d.ts +115 -0
  323. package/types/pc/calendar/hook/useCellClassName.d.ts +2 -0
  324. package/types/pc/calendar/interface.d.ts +122 -0
  325. package/types/pc/card/interface.d.ts +99 -0
  326. package/types/pc/carousel/interface.d.ts +144 -0
  327. package/types/{cascader → pc/cascader}/base/node.d.ts +30 -0
  328. package/types/{cascader → pc/cascader}/base/store.d.ts +17 -0
  329. package/types/pc/cascader/interface.d.ts +308 -0
  330. package/types/pc/checkbox/interface.d.ts +102 -0
  331. package/types/{checkbox → pc/checkbox}/useCheckbox.d.ts +9 -0
  332. package/types/pc/collapse/interface.d.ts +111 -0
  333. package/types/{color-picker → pc/color-picker}/hooks/useColorPicker.d.ts +2 -2
  334. package/types/pc/color-picker/interface.d.ts +149 -0
  335. package/types/pc/comment/interface.d.ts +41 -0
  336. package/types/{config-provider → pc/config-provider}/interface.d.ts +71 -0
  337. package/types/pc/date-picker/RangePicker.d.ts +3 -0
  338. package/types/pc/date-picker/hook/useCellClassName.d.ts +2 -0
  339. package/types/pc/date-picker/interface.d.ts +518 -0
  340. package/types/pc/descriptions/interface.d.ts +79 -0
  341. package/types/pc/development/index.d.ts +2 -0
  342. package/types/pc/divider/interface.d.ts +21 -0
  343. package/types/{draggable → pc/draggable}/interface.d.ts +2 -0
  344. package/types/pc/drawer/interface.d.ts +181 -0
  345. package/types/pc/dropdown/interface.d.ts +110 -0
  346. package/types/pc/empty/index.d.ts +4 -0
  347. package/types/pc/empty/interface.d.ts +8 -0
  348. package/types/{form → pc/form}/Control.d.ts +8 -0
  349. package/types/{form → pc/form}/hook/useContext.d.ts +3 -0
  350. package/types/pc/form/interface.d.ts +544 -0
  351. package/types/{form → pc/form}/store.d.ts +10 -0
  352. package/types/pc/grid/interface.d.ts +239 -0
  353. package/types/{hooks → pc/hooks}/use-verification-code/interface.d.ts +41 -0
  354. package/types/pc/hooks/use-watermark/interface.d.ts +81 -0
  355. package/types/pc/hooks/useComputedState.d.ts +1 -0
  356. package/types/pc/hooks/useCreate.d.ts +1 -0
  357. package/types/pc/hooks/useForceUpdate.d.ts +1 -0
  358. package/types/pc/hooks/useId.d.ts +1 -0
  359. package/types/pc/hooks/useInView.d.ts +1 -0
  360. package/types/pc/hooks/useIntersectionObserver.d.ts +1 -0
  361. package/types/pc/hooks/useInterval.d.ts +1 -0
  362. package/types/pc/hooks/useIsFirstRender.d.ts +1 -0
  363. package/types/pc/hooks/useIsomorphicLayoutEffect.d.ts +1 -0
  364. package/types/pc/hooks/useKeyboardEvent.d.ts +1 -0
  365. package/types/pc/hooks/useListenResize.d.ts +1 -0
  366. package/types/pc/hooks/useMedia.d.ts +1 -0
  367. package/types/pc/hooks/useMergeProps.d.ts +2 -0
  368. package/types/pc/hooks/useMergeValue.d.ts +1 -0
  369. package/types/pc/hooks/useOnlineStatus.d.ts +1 -0
  370. package/types/pc/hooks/useOverflowHidden.d.ts +1 -0
  371. package/types/pc/hooks/useOverrideRef.d.ts +1 -0
  372. package/types/pc/hooks/usePersistCallback.d.ts +1 -0
  373. package/types/pc/hooks/usePrefersColorSchemeDark.d.ts +1 -0
  374. package/types/pc/hooks/usePrevious.d.ts +1 -0
  375. package/types/pc/hooks/useRefs.d.ts +1 -0
  376. package/types/pc/hooks/useResizeObserver.d.ts +1 -0
  377. package/types/pc/hooks/useStateCallback.d.ts +1 -0
  378. package/types/pc/hooks/useStateWithPromise.d.ts +1 -0
  379. package/types/pc/hooks/useUpdateEffect.d.ts +1 -0
  380. package/types/pc/hooks/useWatch.d.ts +1 -0
  381. package/types/pc/hooks/useWindowSize.d.ts +1 -0
  382. package/types/pc/image/interface.d.ts +275 -0
  383. package/types/{index.d.ts → pc/index.d.ts} +2 -1
  384. package/types/pc/input/Button.d.ts +5 -0
  385. package/types/{input → pc/input}/Input.d.ts +9 -7
  386. package/types/{input → pc/input}/Textarea.d.ts +3 -0
  387. package/types/{input → pc/input}/index.d.ts +2 -2
  388. package/types/pc/input/interface.d.ts +344 -0
  389. package/types/{input-number → pc/input-number}/decimal.d.ts +5 -0
  390. package/types/pc/input-number/interface.d.ts +141 -0
  391. package/types/{input-number → pc/input-number}/util.d.ts +15 -0
  392. package/types/pc/input-tag/interface.d.ts +215 -0
  393. package/types/pc/layout/interface.d.ts +121 -0
  394. package/types/pc/link/interface.d.ts +30 -0
  395. package/types/pc/list/interface.d.ts +192 -0
  396. package/types/pc/mentions/interface.d.ts +92 -0
  397. package/types/{menu → pc/menu}/context.d.ts +1 -1
  398. package/types/pc/menu/interface.d.ts +233 -0
  399. package/types/pc/message/interface.d.ts +84 -0
  400. package/types/pc/modal/interface.d.ts +186 -0
  401. package/types/pc/notification/interface.d.ts +78 -0
  402. package/types/pc/page-header/interface.d.ts +49 -0
  403. package/types/{pagination → pc/pagination}/PageItem.d.ts +11 -0
  404. package/types/pc/pagination/interface.d.ts +134 -0
  405. package/types/pc/popconfirm/interface.d.ts +114 -0
  406. package/types/{popover → pc/popover}/interface.d.ts +12 -0
  407. package/types/{portal → pc/portal}/Portal.d.ts +1 -0
  408. package/types/{portal → pc/portal}/index.d.ts +1 -0
  409. package/types/pc/progress/interface.d.ts +92 -0
  410. package/types/pc/radio/interface.d.ts +103 -0
  411. package/types/pc/rate/interface.d.ts +70 -0
  412. package/types/{resize-box → pc/resize-box}/ResizeTrigger.d.ts +6 -0
  413. package/types/pc/resize-box/interface.d.ts +264 -0
  414. package/types/pc/result/interface.d.ts +35 -0
  415. package/types/pc/select/interface.d.ts +321 -0
  416. package/types/{select → pc/select}/util.d.ts +2 -1
  417. package/types/pc/select-view/interface.d.ts +151 -0
  418. package/types/{skeleton → pc/skeleton}/interface.d.ts +26 -0
  419. package/types/pc/slider/interface.d.ts +122 -0
  420. package/types/pc/space/interface.d.ts +38 -0
  421. package/types/pc/spin/interface.d.ts +50 -0
  422. package/types/pc/statistic/interface.d.ts +139 -0
  423. package/types/pc/steps/interface.d.ts +124 -0
  424. package/types/pc/switch/interface.d.ts +65 -0
  425. package/types/{table → pc/table}/hook/useThResizable.d.ts +1 -1
  426. package/types/pc/table/interface.d.ts +713 -0
  427. package/types/pc/tabs/interface.d.ts +217 -0
  428. package/types/pc/tag/interface.d.ts +76 -0
  429. package/types/pc/time-picker/interface.d.ts +244 -0
  430. package/types/pc/timeline/interface.d.ts +95 -0
  431. package/types/pc/tooltip/interface.d.ts +92 -0
  432. package/types/pc/transfer/interface.d.ts +225 -0
  433. package/types/pc/tree/interface.d.ts +354 -0
  434. package/types/pc/tree-select/interface.d.ts +211 -0
  435. package/types/pc/trigger/interface.d.ts +247 -0
  436. package/types/pc/typography/interface.d.ts +262 -0
  437. package/types/pc/upload/interface.d.ts +337 -0
  438. package/types/pc/utils/PqbCSSTransition.d.ts +3 -0
  439. package/types/pc/utils/caseName.d.ts +3 -0
  440. package/types/pc/utils/className.d.ts +3 -0
  441. package/types/pc/utils/constant.d.ts +4 -0
  442. package/types/pc/utils/copy.d.ts +3 -0
  443. package/types/{utils → pc/utils}/dayjs.d.ts +1 -1
  444. package/types/{utils → pc/utils}/dom.d.ts +1 -1
  445. package/types/pc/utils/fileToURL.d.ts +3 -0
  446. package/types/pc/utils/fillNBSP.d.ts +3 -0
  447. package/types/pc/utils/getHighlightText.d.ts +3 -0
  448. package/types/pc/utils/getHotkeyHandler.d.ts +4 -0
  449. package/types/pc/utils/getStringLength.d.ts +3 -0
  450. package/types/pc/utils/include.d.ts +3 -0
  451. package/types/{utils → pc/utils}/index.d.ts +1 -0
  452. package/types/{utils → pc/utils}/is.d.ts +1 -1
  453. package/types/pc/utils/keyboardCode.d.ts +4 -0
  454. package/types/{utils → pc/utils}/lodash.d.ts +1 -1
  455. package/types/pc/utils/mergeProps.d.ts +3 -0
  456. package/types/pc/utils/mergedToString.d.ts +3 -0
  457. package/types/{utils → pc/utils}/names.d.ts +6 -0
  458. package/types/pc/utils/omit.d.ts +3 -0
  459. package/types/pc/utils/pad.d.ts +1 -0
  460. package/types/pc/utils/pick.d.ts +3 -0
  461. package/types/pc/utils/react19Adapter.d.ts +1 -0
  462. package/types/pc/utils/reactDOM.d.ts +1 -0
  463. package/types/pc/utils/resizeObserverEffect.d.ts +2 -0
  464. package/types/pc/utils/saveAs.d.ts +3 -0
  465. package/types/pc/utils/screenfull.d.ts +3 -0
  466. package/types/{utils → pc/utils}/scrollIntoView.d.ts +1 -1
  467. package/types/pc/utils/setDarkTheme.d.ts +3 -0
  468. package/types/pc/utils/setPrimaryColor.d.ts +2 -0
  469. package/types/pc/utils/setTheme.d.ts +2 -0
  470. package/types/pc/utils/style.d.ts +1 -0
  471. package/types/pc/utils/throttleByRaf.d.ts +1 -0
  472. package/types/pc/utils/throttleByRaf2.d.ts +1 -0
  473. package/types/pc/utils/tinycolor.d.ts +1 -0
  474. package/types/pc/utils/type.d.ts +1 -0
  475. package/types/pc/utils/warning.d.ts +1 -0
  476. package/types/pc/verification-code/interface.d.ts +80 -0
  477. package/types/{virtual-list → pc/virtual-list}/Filler.d.ts +5 -0
  478. package/types/{virtual-list → pc/virtual-list}/VirtualList.d.ts +1 -0
  479. package/types/pc/virtual-list/util/algorithm.d.ts +23 -0
  480. package/types/{virtual-list → pc/virtual-list}/util/item.d.ts +31 -0
  481. package/types/pc/watermark/interface.d.ts +70 -0
  482. package/typography/Base.js +1 -1
  483. package/typography/Ellipsis.js +11 -10
  484. package/typography/Paragraph.js +1 -1
  485. package/typography/Typography.js +1 -1
  486. package/typography/index.js +1 -1
  487. package/upload/TriggerNode.js +1 -1
  488. package/upload/Upload.js +1 -1
  489. package/upload/request.js +1 -1
  490. package/upload/request_.js +1 -1
  491. package/utils/constant.js +5 -5
  492. package/utils/contextHolder.js +1 -1
  493. package/utils/dayjs.js +1 -1
  494. package/utils/dom.js +1 -1
  495. package/utils/index.js +114 -112
  496. package/utils/names.js +4 -0
  497. package/utils/setDarkTheme.js +23 -22
  498. package/utils/setPrimaryColor.js +21 -20
  499. package/utils/setTheme.js +9 -0
  500. package/utils/tween.js +1 -1
  501. package/utils/type.js +1 -4
  502. package/verification-code/VerificationCode.js +1 -1
  503. package/version/index.js +1 -1
  504. package/watermark/Watermark.js +1 -1
  505. package/chunk/CmMehQON.js +0 -1464
  506. package/chunk/Cplu5dtQ.js +0 -730
  507. package/chunk/D0ZWT7db.js +0 -5
  508. package/chunk/DXDbeIai.js +0 -648
  509. package/chunk/tamGhTJp.js +0 -186
  510. package/types/affix/interface.d.ts +0 -12
  511. package/types/affix/style/index.d.ts +0 -2
  512. package/types/alert/interface.d.ts +0 -17
  513. package/types/alert/style/index.d.ts +0 -2
  514. package/types/anchor/interface.d.ts +0 -24
  515. package/types/anchor/style/index.d.ts +0 -3
  516. package/types/auto-complete/interface.d.ts +0 -36
  517. package/types/auto-complete/style/index.d.ts +0 -4
  518. package/types/avatar/interface.d.ts +0 -24
  519. package/types/avatar/style/index.d.ts +0 -3
  520. package/types/back-top/interface.d.ts +0 -11
  521. package/types/back-top/style/index.d.ts +0 -2
  522. package/types/badge/interface.d.ts +0 -18
  523. package/types/badge/style/index.d.ts +0 -2
  524. package/types/breadcrumb/interface.d.ts +0 -31
  525. package/types/breadcrumb/style/index.d.ts +0 -3
  526. package/types/button/interface.d.ts +0 -37
  527. package/types/button/style/index.d.ts +0 -2
  528. package/types/calendar/hook/useCellClassName.d.ts +0 -2
  529. package/types/calendar/interface.d.ts +0 -41
  530. package/types/calendar/style/index.d.ts +0 -4
  531. package/types/card/interface.d.ts +0 -32
  532. package/types/card/style/index.d.ts +0 -3
  533. package/types/carousel/interface.d.ts +0 -52
  534. package/types/carousel/style/index.d.ts +0 -2
  535. package/types/cascader/interface.d.ts +0 -105
  536. package/types/cascader/style/index.d.ts +0 -6
  537. package/types/checkbox/interface.d.ts +0 -36
  538. package/types/checkbox/style/index.d.ts +0 -2
  539. package/types/collapse/interface.d.ts +0 -27
  540. package/types/collapse/style/index.d.ts +0 -2
  541. package/types/color-picker/interface.d.ts +0 -61
  542. package/types/color-picker/style/index.d.ts +0 -4
  543. package/types/comment/interface.d.ts +0 -14
  544. package/types/comment/style/index.d.ts +0 -2
  545. package/types/config-provider/style/index.d.ts +0 -2
  546. package/types/copy/style/index.d.ts +0 -3
  547. package/types/date-picker/RangePicker.d.ts +0 -3
  548. package/types/date-picker/hook/useCellClassName.d.ts +0 -2
  549. package/types/date-picker/interface.d.ts +0 -167
  550. package/types/date-picker/style/index.d.ts +0 -7
  551. package/types/descriptions/interface.d.ts +0 -29
  552. package/types/descriptions/style/index.d.ts +0 -2
  553. package/types/divider/interface.d.ts +0 -8
  554. package/types/divider/style/index.d.ts +0 -2
  555. package/types/draggable/style/index.d.ts +0 -2
  556. package/types/drawer/interface.d.ts +0 -46
  557. package/types/drawer/style/index.d.ts +0 -3
  558. package/types/dropdown/interface.d.ts +0 -29
  559. package/types/dropdown/style/index.d.ts +0 -4
  560. package/types/empty/index.d.ts +0 -5
  561. package/types/empty/interface.d.ts +0 -8
  562. package/types/empty/style/index.d.ts +0 -2
  563. package/types/form/interface.d.ts +0 -228
  564. package/types/form/style/index.d.ts +0 -3
  565. package/types/grid/interface.d.ts +0 -76
  566. package/types/grid/style/index.d.ts +0 -2
  567. package/types/hooks/use-watermark/interface.d.ts +0 -22
  568. package/types/hooks/useComputedState.d.ts +0 -1
  569. package/types/hooks/useCreate.d.ts +0 -1
  570. package/types/hooks/useForceUpdate.d.ts +0 -1
  571. package/types/hooks/useId.d.ts +0 -1
  572. package/types/hooks/useInView.d.ts +0 -1
  573. package/types/hooks/useIntersectionObserver.d.ts +0 -1
  574. package/types/hooks/useInterval.d.ts +0 -1
  575. package/types/hooks/useIsFirstRender.d.ts +0 -1
  576. package/types/hooks/useIsomorphicLayoutEffect.d.ts +0 -1
  577. package/types/hooks/useKeyboardEvent.d.ts +0 -1
  578. package/types/hooks/useListenResize.d.ts +0 -1
  579. package/types/hooks/useMedia.d.ts +0 -1
  580. package/types/hooks/useMergeProps.d.ts +0 -1
  581. package/types/hooks/useMergeValue.d.ts +0 -1
  582. package/types/hooks/useOnlineStatus.d.ts +0 -1
  583. package/types/hooks/useOverflowHidden.d.ts +0 -1
  584. package/types/hooks/useOverrideRef.d.ts +0 -1
  585. package/types/hooks/usePersistCallback.d.ts +0 -1
  586. package/types/hooks/usePrefersColorSchemeDark.d.ts +0 -1
  587. package/types/hooks/usePrevious.d.ts +0 -1
  588. package/types/hooks/useRefs.d.ts +0 -1
  589. package/types/hooks/useResizeObserver.d.ts +0 -1
  590. package/types/hooks/useStateCallback.d.ts +0 -1
  591. package/types/hooks/useStateWithPromise.d.ts +0 -1
  592. package/types/hooks/useUpdateEffect.d.ts +0 -1
  593. package/types/hooks/useWatch.d.ts +0 -1
  594. package/types/hooks/useWindowSize.d.ts +0 -1
  595. package/types/icon/style/index.d.ts +0 -2
  596. package/types/icon-hover/style/index.d.ts +0 -2
  597. package/types/image/interface.d.ts +0 -59
  598. package/types/image/style/index.d.ts +0 -2
  599. package/types/input/interface.d.ts +0 -93
  600. package/types/input/style/index.d.ts +0 -3
  601. package/types/input-number/interface.d.ts +0 -37
  602. package/types/input-number/style/index.d.ts +0 -3
  603. package/types/input-tag/interface.d.ts +0 -60
  604. package/types/input-tag/style/index.d.ts +0 -3
  605. package/types/layout/interface.d.ts +0 -39
  606. package/types/layout/style/index.d.ts +0 -4
  607. package/types/link/interface.d.ts +0 -9
  608. package/types/link/style/index.d.ts +0 -2
  609. package/types/list/interface.d.ts +0 -57
  610. package/types/list/style/index.d.ts +0 -6
  611. package/types/loading/style/index.d.ts +0 -2
  612. package/types/mentions/interface.d.ts +0 -26
  613. package/types/mentions/style/index.d.ts +0 -2
  614. package/types/menu/interface.d.ts +0 -77
  615. package/types/menu/style/index.d.ts +0 -4
  616. package/types/message/interface.d.ts +0 -31
  617. package/types/message/style/index.d.ts +0 -2
  618. package/types/modal/interface.d.ts +0 -57
  619. package/types/modal/style/index.d.ts +0 -3
  620. package/types/notice/style/index.d.ts +0 -2
  621. package/types/notification/interface.d.ts +0 -27
  622. package/types/notification/style/index.d.ts +0 -2
  623. package/types/page-header/interface.d.ts +0 -14
  624. package/types/page-header/style/index.d.ts +0 -3
  625. package/types/pagination/interface.d.ts +0 -35
  626. package/types/pagination/style/index.d.ts +0 -4
  627. package/types/picker/style/index.d.ts +0 -2
  628. package/types/popconfirm/interface.d.ts +0 -28
  629. package/types/popconfirm/style/index.d.ts +0 -5
  630. package/types/popover/style/index.d.ts +0 -3
  631. package/types/portal/style/index.d.ts +0 -2
  632. package/types/progress/interface.d.ts +0 -22
  633. package/types/progress/style/index.d.ts +0 -3
  634. package/types/radio/interface.d.ts +0 -39
  635. package/types/radio/style/index.d.ts +0 -2
  636. package/types/rate/interface.d.ts +0 -17
  637. package/types/rate/style/index.d.ts +0 -3
  638. package/types/resize-box/interface.d.ts +0 -73
  639. package/types/resize-box/style/index.d.ts +0 -2
  640. package/types/result/interface.d.ts +0 -11
  641. package/types/result/style/index.d.ts +0 -2
  642. package/types/select/interface.d.ts +0 -103
  643. package/types/select/style/index.d.ts +0 -6
  644. package/types/select-view/interface.d.ts +0 -62
  645. package/types/select-view/style/index.d.ts +0 -2
  646. package/types/skeleton/style/index.d.ts +0 -2
  647. package/types/slider/interface.d.ts +0 -32
  648. package/types/slider/style/index.d.ts +0 -5
  649. package/types/space/interface.d.ts +0 -12
  650. package/types/space/style/index.d.ts +0 -2
  651. package/types/spin/interface.d.ts +0 -14
  652. package/types/spin/style/index.d.ts +0 -2
  653. package/types/statistic/interface.d.ts +0 -33
  654. package/types/statistic/style/index.d.ts +0 -3
  655. package/types/steps/interface.d.ts +0 -42
  656. package/types/steps/style/index.d.ts +0 -2
  657. package/types/switch/interface.d.ts +0 -17
  658. package/types/switch/style/index.d.ts +0 -2
  659. package/types/table/interface.d.ts +0 -301
  660. package/types/table/style/index.d.ts +0 -12
  661. package/types/tabs/interface.d.ts +0 -66
  662. package/types/tabs/style/index.d.ts +0 -3
  663. package/types/tag/interface.d.ts +0 -23
  664. package/types/tag/style/index.d.ts +0 -2
  665. package/types/time-picker/interface.d.ts +0 -62
  666. package/types/time-picker/style/index.d.ts +0 -5
  667. package/types/timeline/interface.d.ts +0 -26
  668. package/types/timeline/style/index.d.ts +0 -2
  669. package/types/tooltip/interface.d.ts +0 -23
  670. package/types/tooltip/style/index.d.ts +0 -3
  671. package/types/transfer/interface.d.ts +0 -91
  672. package/types/transfer/style/index.d.ts +0 -6
  673. package/types/tree/interface.d.ts +0 -153
  674. package/types/tree/style/index.d.ts +0 -3
  675. package/types/tree-select/interface.d.ts +0 -79
  676. package/types/tree-select/style/index.d.ts +0 -5
  677. package/types/trigger/interface.d.ts +0 -73
  678. package/types/trigger/style/index.d.ts +0 -2
  679. package/types/typography/interface.d.ts +0 -97
  680. package/types/typography/style/index.d.ts +0 -5
  681. package/types/upload/interface.d.ts +0 -126
  682. package/types/upload/style/index.d.ts +0 -6
  683. package/types/utils/PqbCSSTransition.d.ts +0 -3
  684. package/types/utils/caseName.d.ts +0 -3
  685. package/types/utils/className.d.ts +0 -3
  686. package/types/utils/constant.d.ts +0 -4
  687. package/types/utils/fileToURL.d.ts +0 -3
  688. package/types/utils/fillNBSP.d.ts +0 -3
  689. package/types/utils/getHighlightText.d.ts +0 -3
  690. package/types/utils/getHotkeyHandler.d.ts +0 -3
  691. package/types/utils/getStringLength.d.ts +0 -3
  692. package/types/utils/include.d.ts +0 -3
  693. package/types/utils/mergeProps.d.ts +0 -3
  694. package/types/utils/mergedToString.d.ts +0 -3
  695. package/types/utils/omit.d.ts +0 -3
  696. package/types/utils/pad.d.ts +0 -1
  697. package/types/utils/pick.d.ts +0 -3
  698. package/types/utils/react19Adapter.d.ts +0 -1
  699. package/types/utils/reactDOM.d.ts +0 -1
  700. package/types/utils/resizeObserverEffect.d.ts +0 -2
  701. package/types/utils/saveAs.d.ts +0 -3
  702. package/types/utils/screenfull.d.ts +0 -3
  703. package/types/utils/style.d.ts +0 -1
  704. package/types/utils/throttleByRaf.d.ts +0 -1
  705. package/types/utils/throttleByRaf2.d.ts +0 -1
  706. package/types/utils/warning.d.ts +0 -1
  707. package/types/verification-code/interface.d.ts +0 -25
  708. package/types/verification-code/style/index.d.ts +0 -3
  709. package/types/virtual-list/style/index.d.ts +0 -2
  710. package/types/virtual-list/util/algorithm.d.ts +0 -6
  711. package/types/watermark/interface.d.ts +0 -21
  712. package/types/watermark/style/index.d.ts +0 -1
  713. /package/types/{utils → common/utils}/keyboardCode.d.ts +0 -0
  714. /package/types/{utils → common/utils}/setDarkTheme.d.ts +0 -0
  715. /package/types/{utils → common/utils}/setPrimaryColor.d.ts +0 -0
  716. /package/types/{utils → common/utils}/tinycolor.d.ts +0 -0
  717. /package/types/{utils → common/utils}/type.d.ts +0 -0
  718. /package/types/{affix → pc/affix}/index.d.ts +0 -0
  719. /package/types/{alert → pc/alert}/index.d.ts +0 -0
  720. /package/types/{anchor → pc/anchor}/Anchor.d.ts +0 -0
  721. /package/types/{anchor → pc/anchor}/Link.d.ts +0 -0
  722. /package/types/{anchor → pc/anchor}/context.d.ts +0 -0
  723. /package/types/{anchor → pc/anchor}/index.d.ts +0 -0
  724. /package/types/{auto-complete → pc/auto-complete}/index.d.ts +0 -0
  725. /package/types/{avatar → pc/avatar}/Avatar.d.ts +0 -0
  726. /package/types/{avatar → pc/avatar}/Group.d.ts +0 -0
  727. /package/types/{avatar → pc/avatar}/context.d.ts +0 -0
  728. /package/types/{avatar → pc/avatar}/index.d.ts +0 -0
  729. /package/types/{back-top → pc/back-top}/index.d.ts +0 -0
  730. /package/types/{badge → pc/badge}/Count.d.ts +0 -0
  731. /package/types/{badge → pc/badge}/index.d.ts +0 -0
  732. /package/types/{breadcrumb → pc/breadcrumb}/Item.d.ts +0 -0
  733. /package/types/{breadcrumb → pc/breadcrumb}/index.d.ts +0 -0
  734. /package/types/{button → pc/button}/Group.d.ts +0 -0
  735. /package/types/{calendar → pc/calendar}/Month.d.ts +0 -0
  736. /package/types/{calendar → pc/calendar}/WeekList.d.ts +0 -0
  737. /package/types/{calendar → pc/calendar}/Year.d.ts +0 -0
  738. /package/types/{calendar → pc/calendar}/header/Panel.d.ts +0 -0
  739. /package/types/{calendar → pc/calendar}/header/index.d.ts +0 -0
  740. /package/types/{calendar → pc/calendar}/index.d.ts +0 -0
  741. /package/types/{card → pc/card}/Grid.d.ts +0 -0
  742. /package/types/{card → pc/card}/Meta.d.ts +0 -0
  743. /package/types/{card → pc/card}/index.d.ts +0 -0
  744. /package/types/{carousel → pc/carousel}/Arrow.d.ts +0 -0
  745. /package/types/{carousel → pc/carousel}/Indicator.d.ts +0 -0
  746. /package/types/{carousel → pc/carousel}/index.d.ts +0 -0
  747. /package/types/{cascader → pc/cascader}/Cascader.d.ts +0 -0
  748. /package/types/{cascader → pc/cascader}/hook/useRefCurrent.d.ts +0 -0
  749. /package/types/{cascader → pc/cascader}/index.d.ts +0 -0
  750. /package/types/{cascader → pc/cascader}/panel/List.d.ts +0 -0
  751. /package/types/{cascader → pc/cascader}/panel/Option.d.ts +0 -0
  752. /package/types/{cascader → pc/cascader}/panel/Search.d.ts +0 -0
  753. /package/types/{cascader → pc/cascader}/util.d.ts +0 -0
  754. /package/types/{checkbox → pc/checkbox}/Checkbox.d.ts +0 -0
  755. /package/types/{checkbox → pc/checkbox}/Group.d.ts +0 -0
  756. /package/types/{checkbox → pc/checkbox}/GroupBlock.d.ts +0 -0
  757. /package/types/{checkbox → pc/checkbox}/IconCheck.d.ts +0 -0
  758. /package/types/{checkbox → pc/checkbox}/index.d.ts +0 -0
  759. /package/types/{collapse → pc/collapse}/Collapse.d.ts +0 -0
  760. /package/types/{collapse → pc/collapse}/Item.d.ts +0 -0
  761. /package/types/{collapse → pc/collapse}/index.d.ts +0 -0
  762. /package/types/{color-picker → pc/color-picker}/ControlBar.d.ts +0 -0
  763. /package/types/{color-picker → pc/color-picker}/InputAlpha.d.ts +0 -0
  764. /package/types/{color-picker → pc/color-picker}/InputHex.d.ts +0 -0
  765. /package/types/{color-picker → pc/color-picker}/InputRgb.d.ts +0 -0
  766. /package/types/{color-picker → pc/color-picker}/Mode.d.ts +0 -0
  767. /package/types/{color-picker → pc/color-picker}/Palette.d.ts +0 -0
  768. /package/types/{color-picker → pc/color-picker}/Panel.d.ts +0 -0
  769. /package/types/{color-picker → pc/color-picker}/colors.d.ts +0 -0
  770. /package/types/{color-picker → pc/color-picker}/hooks/useControlBlock.d.ts +0 -0
  771. /package/types/{color-picker → pc/color-picker}/index.d.ts +0 -0
  772. /package/types/{color-picker → pc/color-picker}/utils.d.ts +0 -0
  773. /package/types/{comment → pc/comment}/index.d.ts +0 -0
  774. /package/types/{config-provider → pc/config-provider}/ConfigProvider.d.ts +0 -0
  775. /package/types/{config-provider → pc/config-provider}/context.d.ts +0 -0
  776. /package/types/{config-provider → pc/config-provider}/index.d.ts +0 -0
  777. /package/types/{copy → pc/copy}/index.d.ts +0 -0
  778. /package/types/{copy → pc/copy}/interface.d.ts +0 -0
  779. /package/types/{date-picker → pc/date-picker}/Picker.d.ts +0 -0
  780. /package/types/{date-picker → pc/date-picker}/context.d.ts +0 -0
  781. /package/types/{date-picker → pc/date-picker}/index.d.ts +0 -0
  782. /package/types/{date-picker → pc/date-picker}/panel/Body.d.ts +0 -0
  783. /package/types/{date-picker → pc/date-picker}/panel/Footer.d.ts +0 -0
  784. /package/types/{date-picker → pc/date-picker}/panel/Header.d.ts +0 -0
  785. /package/types/{date-picker → pc/date-picker}/panel/Shortcut.d.ts +0 -0
  786. /package/types/{date-picker → pc/date-picker}/panel/WeekList.d.ts +0 -0
  787. /package/types/{date-picker → pc/date-picker}/panel/date/index.d.ts +0 -0
  788. /package/types/{date-picker → pc/date-picker}/panel/month/index.d.ts +0 -0
  789. /package/types/{date-picker → pc/date-picker}/panel/quarter/index.d.ts +0 -0
  790. /package/types/{date-picker → pc/date-picker}/panel/range/index.d.ts +0 -0
  791. /package/types/{date-picker → pc/date-picker}/panel/week/index.d.ts +0 -0
  792. /package/types/{date-picker → pc/date-picker}/panel/year/index.d.ts +0 -0
  793. /package/types/{date-picker → pc/date-picker}/util.d.ts +0 -0
  794. /package/types/{descriptions → pc/descriptions}/index.d.ts +0 -0
  795. /package/types/{divider → pc/divider}/index.d.ts +0 -0
  796. /package/types/{draggable → pc/draggable}/Item.d.ts +0 -0
  797. /package/types/{draggable → pc/draggable}/index.d.ts +0 -0
  798. /package/types/{drawer → pc/drawer}/Drawer.d.ts +0 -0
  799. /package/types/{drawer → pc/drawer}/index.d.ts +0 -0
  800. /package/types/{dropdown → pc/dropdown}/Button.d.ts +0 -0
  801. /package/types/{dropdown → pc/dropdown}/index.d.ts +0 -0
  802. /package/types/{form → pc/form}/Form.d.ts +0 -0
  803. /package/types/{form → pc/form}/FormItem.d.ts +0 -0
  804. /package/types/{form → pc/form}/FormLabel.d.ts +0 -0
  805. /package/types/{form → pc/form}/FormList.d.ts +0 -0
  806. /package/types/{form → pc/form}/FormProvider.d.ts +0 -0
  807. /package/types/{form → pc/form}/IconSymbol.d.ts +0 -0
  808. /package/types/{form → pc/form}/context.d.ts +0 -0
  809. /package/types/{form → pc/form}/hook/useState.d.ts +0 -0
  810. /package/types/{form → pc/form}/hook/useWatch.d.ts +0 -0
  811. /package/types/{form → pc/form}/index.d.ts +0 -0
  812. /package/types/{form → pc/form}/promisify.d.ts +0 -0
  813. /package/types/{form → pc/form}/useForm.d.ts +0 -0
  814. /package/types/{form → pc/form}/util.d.ts +0 -0
  815. /package/types/{grid → pc/grid}/Col.d.ts +0 -0
  816. /package/types/{grid → pc/grid}/Row.d.ts +0 -0
  817. /package/types/{grid → pc/grid}/context.d.ts +0 -0
  818. /package/types/{grid → pc/grid}/grid-item.d.ts +0 -0
  819. /package/types/{grid → pc/grid}/grid.d.ts +0 -0
  820. /package/types/{grid → pc/grid}/hook/useResponsiveState.d.ts +0 -0
  821. /package/types/{grid → pc/grid}/index.d.ts +0 -0
  822. /package/types/{grid → pc/grid}/util.d.ts +0 -0
  823. /package/types/{hooks → pc/hooks}/index.d.ts +0 -0
  824. /package/types/{hooks → pc/hooks}/use-verification-code/index.d.ts +0 -0
  825. /package/types/{hooks → pc/hooks}/use-watermark/index.d.ts +0 -0
  826. /package/types/{hooks → pc/hooks}/use-watermark/utils.d.ts +0 -0
  827. /package/types/{icon → pc/icon}/addFromIconFontCn.d.ts +0 -0
  828. /package/types/{icon → pc/icon}/index.d.ts +0 -0
  829. /package/types/{icon-hover → pc/icon-hover}/index.d.ts +0 -0
  830. /package/types/{icons.d.ts → pc/icons.d.ts} +0 -0
  831. /package/types/{image → pc/image}/Image.d.ts +0 -0
  832. /package/types/{image → pc/image}/ImageFooter.d.ts +0 -0
  833. /package/types/{image → pc/image}/ImagePreview.d.ts +0 -0
  834. /package/types/{image → pc/image}/ImagePreviewArrow.d.ts +0 -0
  835. /package/types/{image → pc/image}/ImagePreviewGroup.d.ts +0 -0
  836. /package/types/{image → pc/image}/ImagePreviewToolbar.d.ts +0 -0
  837. /package/types/{image → pc/image}/TriggerForToolbar.d.ts +0 -0
  838. /package/types/{image → pc/image}/index.d.ts +0 -0
  839. /package/types/{image → pc/image}/previewGroupContext.d.ts +0 -0
  840. /package/types/{image → pc/image}/util/getFixTranslate.d.ts +0 -0
  841. /package/types/{image → pc/image}/util/getScale.d.ts +0 -0
  842. /package/types/{image → pc/image}/util/hook/useImageStatus.d.ts +0 -0
  843. /package/types/{image → pc/image}/util/hook/useShowFooter.d.ts +0 -0
  844. /package/types/{input → pc/input}/Group.d.ts +0 -0
  845. /package/types/{input → pc/input}/InputElement.d.ts +0 -0
  846. /package/types/{input → pc/input}/Number.d.ts +0 -0
  847. /package/types/{input → pc/input}/Password.d.ts +0 -0
  848. /package/types/{input → pc/input}/Search.d.ts +0 -0
  849. /package/types/{input → pc/input}/Tag.d.ts +0 -0
  850. /package/types/{input → pc/input}/autoSizeTextAreaHeight.d.ts +0 -0
  851. /package/types/{input → pc/input}/useComposition.d.ts +0 -0
  852. /package/types/{input-number → pc/input-number}/index.d.ts +0 -0
  853. /package/types/{input-number → pc/input-number}/useSelectionRange.d.ts +0 -0
  854. /package/types/{input-tag → pc/input-tag}/InputTag.d.ts +0 -0
  855. /package/types/{input-tag → pc/input-tag}/index.d.ts +0 -0
  856. /package/types/{layout → pc/layout}/Content.d.ts +0 -0
  857. /package/types/{layout → pc/layout}/Footer.d.ts +0 -0
  858. /package/types/{layout → pc/layout}/Header.d.ts +0 -0
  859. /package/types/{layout → pc/layout}/Sider.d.ts +0 -0
  860. /package/types/{layout → pc/layout}/index.d.ts +0 -0
  861. /package/types/{link → pc/link}/index.d.ts +0 -0
  862. /package/types/{list → pc/list}/Item.d.ts +0 -0
  863. /package/types/{list → pc/list}/Meta.d.ts +0 -0
  864. /package/types/{list → pc/list}/index.d.ts +0 -0
  865. /package/types/{loading → pc/loading}/index.d.ts +0 -0
  866. /package/types/{locale → pc/locale}/ar-EG.d.ts +0 -0
  867. /package/types/{locale → pc/locale}/de-DE.d.ts +0 -0
  868. /package/types/{locale → pc/locale}/default.d.ts +0 -0
  869. /package/types/{locale → pc/locale}/en-US.d.ts +0 -0
  870. /package/types/{locale → pc/locale}/es-ES.d.ts +0 -0
  871. /package/types/{locale → pc/locale}/fr-FR.d.ts +0 -0
  872. /package/types/{locale → pc/locale}/id-ID.d.ts +0 -0
  873. /package/types/{locale → pc/locale}/interface.d.ts +0 -0
  874. /package/types/{locale → pc/locale}/it-IT.d.ts +0 -0
  875. /package/types/{locale → pc/locale}/ja-JP.d.ts +0 -0
  876. /package/types/{locale → pc/locale}/ko-KR.d.ts +0 -0
  877. /package/types/{locale → pc/locale}/ms-MY.d.ts +0 -0
  878. /package/types/{locale → pc/locale}/pt-BR.d.ts +0 -0
  879. /package/types/{locale → pc/locale}/pt-PT.d.ts +0 -0
  880. /package/types/{locale → pc/locale}/ru-RU.d.ts +0 -0
  881. /package/types/{locale → pc/locale}/th-TH.d.ts +0 -0
  882. /package/types/{locale → pc/locale}/tr-TR.d.ts +0 -0
  883. /package/types/{locale → pc/locale}/vi-VN.d.ts +0 -0
  884. /package/types/{locale → pc/locale}/zh-CN.d.ts +0 -0
  885. /package/types/{locale → pc/locale}/zh-HK.d.ts +0 -0
  886. /package/types/{locale → pc/locale}/zh-TW.d.ts +0 -0
  887. /package/types/{mentions → pc/mentions}/index.d.ts +0 -0
  888. /package/types/{mentions → pc/mentions}/util.d.ts +0 -0
  889. /package/types/{menu → pc/menu}/Indent.d.ts +0 -0
  890. /package/types/{menu → pc/menu}/Item.d.ts +0 -0
  891. /package/types/{menu → pc/menu}/ItemGroup.d.ts +0 -0
  892. /package/types/{menu → pc/menu}/Menu.d.ts +0 -0
  893. /package/types/{menu → pc/menu}/OverflowWrap.d.ts +0 -0
  894. /package/types/{menu → pc/menu}/index.d.ts +0 -0
  895. /package/types/{menu → pc/menu}/sub-menu/Inline.d.ts +0 -0
  896. /package/types/{menu → pc/menu}/sub-menu/Pop.d.ts +0 -0
  897. /package/types/{menu → pc/menu}/sub-menu/index.d.ts +0 -0
  898. /package/types/{menu → pc/menu}/util.d.ts +0 -0
  899. /package/types/{message → pc/message}/index.d.ts +0 -0
  900. /package/types/{message → pc/message}/useMessage.d.ts +0 -0
  901. /package/types/{modal → pc/modal}/Confirm.d.ts +0 -0
  902. /package/types/{modal → pc/modal}/Modal.d.ts +0 -0
  903. /package/types/{modal → pc/modal}/config.d.ts +0 -0
  904. /package/types/{modal → pc/modal}/index.d.ts +0 -0
  905. /package/types/{modal → pc/modal}/use-modal/Hook.d.ts +0 -0
  906. /package/types/{modal → pc/modal}/use-modal/index.d.ts +0 -0
  907. /package/types/{notice → pc/notice}/index.d.ts +0 -0
  908. /package/types/{notification → pc/notification}/index.d.ts +0 -0
  909. /package/types/{notification → pc/notification}/useNotification.d.ts +0 -0
  910. /package/types/{notification → pc/notification}/withNotification.d.ts +0 -0
  911. /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/OverflowItem.d.ts +0 -0
  912. /package/types/{overflow-ellipsis → pc/overflow-ellipsis}/index.d.ts +0 -0
  913. /package/types/{page-header → pc/page-header}/index.d.ts +0 -0
  914. /package/types/{pagination → pc/pagination}/PageJumper.d.ts +0 -0
  915. /package/types/{pagination → pc/pagination}/PageOption.d.ts +0 -0
  916. /package/types/{pagination → pc/pagination}/Pagination.d.ts +0 -0
  917. /package/types/{pagination → pc/pagination}/index.d.ts +0 -0
  918. /package/types/{picker → pc/picker}/Input.d.ts +0 -0
  919. /package/types/{picker → pc/picker}/InputRange.d.ts +0 -0
  920. /package/types/{picker → pc/picker}/index.d.ts +0 -0
  921. /package/types/{popconfirm → pc/popconfirm}/index.d.ts +0 -0
  922. /package/types/{popover → pc/popover}/index.d.ts +0 -0
  923. /package/types/{progress → pc/progress}/CircleProgress.d.ts +0 -0
  924. /package/types/{progress → pc/progress}/LineProgess.d.ts +0 -0
  925. /package/types/{progress → pc/progress}/StepProgress.d.ts +0 -0
  926. /package/types/{progress → pc/progress}/index.d.ts +0 -0
  927. /package/types/{radio → pc/radio}/Group.d.ts +0 -0
  928. /package/types/{radio → pc/radio}/GroupBlock.d.ts +0 -0
  929. /package/types/{radio → pc/radio}/Radio.d.ts +0 -0
  930. /package/types/{radio → pc/radio}/index.d.ts +0 -0
  931. /package/types/{rate → pc/rate}/index.d.ts +0 -0
  932. /package/types/{resize-box → pc/resize-box}/Split.d.ts +0 -0
  933. /package/types/{resize-box → pc/resize-box}/SplitGroup.d.ts +0 -0
  934. /package/types/{resize-box → pc/resize-box}/index.d.ts +0 -0
  935. /package/types/{result → pc/result}/403.d.ts +0 -0
  936. /package/types/{result → pc/result}/404.d.ts +0 -0
  937. /package/types/{result → pc/result}/500.d.ts +0 -0
  938. /package/types/{result → pc/result}/index.d.ts +0 -0
  939. /package/types/{select → pc/select}/OptGroup.d.ts +0 -0
  940. /package/types/{select → pc/select}/Option.d.ts +0 -0
  941. /package/types/{select → pc/select}/Select.d.ts +0 -0
  942. /package/types/{select → pc/select}/index.d.ts +0 -0
  943. /package/types/{select-view → pc/select-view}/Core.d.ts +0 -0
  944. /package/types/{select-view → pc/select-view}/index.d.ts +0 -0
  945. /package/types/{skeleton → pc/skeleton}/Image.d.ts +0 -0
  946. /package/types/{skeleton → pc/skeleton}/Text.d.ts +0 -0
  947. /package/types/{skeleton → pc/skeleton}/index.d.ts +0 -0
  948. /package/types/{slider → pc/slider}/Button.d.ts +0 -0
  949. /package/types/{slider → pc/slider}/Dot.d.ts +0 -0
  950. /package/types/{slider → pc/slider}/Input.d.ts +0 -0
  951. /package/types/{slider → pc/slider}/Mark.d.ts +0 -0
  952. /package/types/{slider → pc/slider}/Tick.d.ts +0 -0
  953. /package/types/{slider → pc/slider}/hook/useInterval.d.ts +0 -0
  954. /package/types/{slider → pc/slider}/hook/useLegalValue.d.ts +0 -0
  955. /package/types/{slider → pc/slider}/index.d.ts +0 -0
  956. /package/types/{slider → pc/slider}/util.d.ts +0 -0
  957. /package/types/{space → pc/space}/index.d.ts +0 -0
  958. /package/types/{space → pc/space}/toArray.d.ts +0 -0
  959. /package/types/{speech-synthesis → pc/speech-synthesis}/index.d.ts +0 -0
  960. /package/types/{speech-synthesis → pc/speech-synthesis}/style/index.d.ts +0 -0
  961. /package/types/{spin → pc/spin}/DotLoading.d.ts +0 -0
  962. /package/types/{spin → pc/spin}/index.d.ts +0 -0
  963. /package/types/{statistic → pc/statistic}/Countdown.d.ts +0 -0
  964. /package/types/{statistic → pc/statistic}/index.d.ts +0 -0
  965. /package/types/{statistic → pc/statistic}/util.d.ts +0 -0
  966. /package/types/{steps → pc/steps}/Step.d.ts +0 -0
  967. /package/types/{steps → pc/steps}/index.d.ts +0 -0
  968. /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/index.d.ts +0 -0
  969. /package/types/{suspense-fallback-test → pc/suspense-fallback-test}/style/index.d.ts +0 -0
  970. /package/types/{switch → pc/switch}/index.d.ts +0 -0
  971. /package/types/{table → pc/table}/ColGroup.d.ts +0 -0
  972. /package/types/{table → pc/table}/Table.d.ts +0 -0
  973. /package/types/{table → pc/table}/constant.d.ts +0 -0
  974. /package/types/{table → pc/table}/hook/useColumns.d.ts +0 -0
  975. /package/types/{table → pc/table}/hook/useComponent.d.ts +0 -0
  976. /package/types/{table → pc/table}/hook/useExpand.d.ts +0 -0
  977. /package/types/{table → pc/table}/hook/useRowSelection.d.ts +0 -0
  978. /package/types/{table → pc/table}/hook/useSorter.d.ts +0 -0
  979. /package/types/{table → pc/table}/hook/useStickyClassNames.d.ts +0 -0
  980. /package/types/{table → pc/table}/hook/useStickyOffsets.d.ts +0 -0
  981. /package/types/{table → pc/table}/index.d.ts +0 -0
  982. /package/types/{table → pc/table}/summary/Cell.d.ts +0 -0
  983. /package/types/{table → pc/table}/summary/Row.d.ts +0 -0
  984. /package/types/{table → pc/table}/summary/context.d.ts +0 -0
  985. /package/types/{table → pc/table}/summary/index.d.ts +0 -0
  986. /package/types/{table → pc/table}/tbody/Td.d.ts +0 -0
  987. /package/types/{table → pc/table}/tbody/Tr.d.ts +0 -0
  988. /package/types/{table → pc/table}/tbody/index.d.ts +0 -0
  989. /package/types/{table → pc/table}/tfoot/index.d.ts +0 -0
  990. /package/types/{table → pc/table}/th-resizable/index.d.ts +0 -0
  991. /package/types/{table → pc/table}/thead/Column.d.ts +0 -0
  992. /package/types/{table → pc/table}/thead/index.d.ts +0 -0
  993. /package/types/{table → pc/table}/util.d.ts +0 -0
  994. /package/types/{tabs → pc/tabs}/Tab.d.ts +0 -0
  995. /package/types/{tabs → pc/tabs}/TabContent.d.ts +0 -0
  996. /package/types/{tabs → pc/tabs}/TabPane.d.ts +0 -0
  997. /package/types/{tabs → pc/tabs}/hook/useDomSize.d.ts +0 -0
  998. /package/types/{tabs → pc/tabs}/hook/useHeaderScroll.d.ts +0 -0
  999. /package/types/{tabs → pc/tabs}/index.d.ts +0 -0
  1000. /package/types/{tabs → pc/tabs}/tab-header/DropdownIcon.d.ts +0 -0
  1001. /package/types/{tabs → pc/tabs}/tab-header/TabInk.d.ts +0 -0
  1002. /package/types/{tabs → pc/tabs}/tab-header/TabNavIcon.d.ts +0 -0
  1003. /package/types/{tabs → pc/tabs}/tab-header/TabTitle.d.ts +0 -0
  1004. /package/types/{tabs → pc/tabs}/tab-header/index.d.ts +0 -0
  1005. /package/types/{tabs → pc/tabs}/util.d.ts +0 -0
  1006. /package/types/{tag → pc/tag}/index.d.ts +0 -0
  1007. /package/types/{time-picker → pc/time-picker}/Picker.d.ts +0 -0
  1008. /package/types/{time-picker → pc/time-picker}/RangePicker.d.ts +0 -0
  1009. /package/types/{time-picker → pc/time-picker}/TimeColumn.d.ts +0 -0
  1010. /package/types/{time-picker → pc/time-picker}/TimePicker.d.ts +0 -0
  1011. /package/types/{time-picker → pc/time-picker}/context.d.ts +0 -0
  1012. /package/types/{time-picker → pc/time-picker}/index.d.ts +0 -0
  1013. /package/types/{time-picker → pc/time-picker}/util.d.ts +0 -0
  1014. /package/types/{timeline → pc/timeline}/Item.d.ts +0 -0
  1015. /package/types/{timeline → pc/timeline}/Timeline.d.ts +0 -0
  1016. /package/types/{timeline → pc/timeline}/index.d.ts +0 -0
  1017. /package/types/{tooltip → pc/tooltip}/index.d.ts +0 -0
  1018. /package/types/{transfer → pc/transfer}/Item.d.ts +0 -0
  1019. /package/types/{transfer → pc/transfer}/List.d.ts +0 -0
  1020. /package/types/{transfer → pc/transfer}/index.d.ts +0 -0
  1021. /package/types/{tree → pc/tree}/Animation.d.ts +0 -0
  1022. /package/types/{tree → pc/tree}/Context.d.ts +0 -0
  1023. /package/types/{tree → pc/tree}/Node.d.ts +0 -0
  1024. /package/types/{tree → pc/tree}/NodeList.d.ts +0 -0
  1025. /package/types/{tree → pc/tree}/Tree.d.ts +0 -0
  1026. /package/types/{tree → pc/tree}/index.d.ts +0 -0
  1027. /package/types/{tree → pc/tree}/util.d.ts +0 -0
  1028. /package/types/{tree-select → pc/tree-select}/List.d.ts +0 -0
  1029. /package/types/{tree-select → pc/tree-select}/Select.d.ts +0 -0
  1030. /package/types/{tree-select → pc/tree-select}/hook/useKeyCache.d.ts +0 -0
  1031. /package/types/{tree-select → pc/tree-select}/hook/useStateValue.d.ts +0 -0
  1032. /package/types/{tree-select → pc/tree-select}/hook/useTreeData.d.ts +0 -0
  1033. /package/types/{tree-select → pc/tree-select}/index.d.ts +0 -0
  1034. /package/types/{tree-select → pc/tree-select}/util.d.ts +0 -0
  1035. /package/types/{trigger → pc/trigger}/getPopupStyle.d.ts +0 -0
  1036. /package/types/{trigger → pc/trigger}/index.d.ts +0 -0
  1037. /package/types/{typography → pc/typography}/Base.d.ts +0 -0
  1038. /package/types/{typography → pc/typography}/EditContent.d.ts +0 -0
  1039. /package/types/{typography → pc/typography}/Ellipsis.d.ts +0 -0
  1040. /package/types/{typography → pc/typography}/Operations.d.ts +0 -0
  1041. /package/types/{typography → pc/typography}/Paragraph.d.ts +0 -0
  1042. /package/types/{typography → pc/typography}/Text.d.ts +0 -0
  1043. /package/types/{typography → pc/typography}/Title.d.ts +0 -0
  1044. /package/types/{typography → pc/typography}/Typography.d.ts +0 -0
  1045. /package/types/{typography → pc/typography}/index.d.ts +0 -0
  1046. /package/types/{typography → pc/typography}/useCssEllipsis.d.ts +0 -0
  1047. /package/types/{typography → pc/typography}/useEllipsis.d.ts +0 -0
  1048. /package/types/{upload → pc/upload}/TriggerNode.d.ts +0 -0
  1049. /package/types/{upload → pc/upload}/Upload.d.ts +0 -0
  1050. /package/types/{upload → pc/upload}/Uploader.d.ts +0 -0
  1051. /package/types/{upload → pc/upload}/index.d.ts +0 -0
  1052. /package/types/{upload → pc/upload}/list/PictureItem.d.ts +0 -0
  1053. /package/types/{upload → pc/upload}/list/TextItem.d.ts +0 -0
  1054. /package/types/{upload → pc/upload}/list/UploadProgress.d.ts +0 -0
  1055. /package/types/{upload → pc/upload}/list/index.d.ts +0 -0
  1056. /package/types/{upload → pc/upload}/request.d.ts +0 -0
  1057. /package/types/{upload → pc/upload}/request_.d.ts +0 -0
  1058. /package/types/{upload → pc/upload}/util.d.ts +0 -0
  1059. /package/types/{utils → pc/utils}/color.d.ts +0 -0
  1060. /package/types/{utils → pc/utils}/computeScrollIntoView.d.ts +0 -0
  1061. /package/types/{utils → pc/utils}/contextHolder.d.ts +0 -0
  1062. /package/types/{utils → pc/utils}/math.d.ts +0 -0
  1063. /package/types/{utils → pc/utils}/reactTransitionGroup.d.ts +0 -0
  1064. /package/types/{utils → pc/utils}/responsiveObserve.d.ts +0 -0
  1065. /package/types/{utils → pc/utils}/tree.d.ts +0 -0
  1066. /package/types/{utils → pc/utils}/tween.d.ts +0 -0
  1067. /package/types/{utils → pc/utils}/uuid.d.ts +0 -0
  1068. /package/types/{utils → pc/utils}/validate.d.ts +0 -0
  1069. /package/types/{verification-code → pc/verification-code}/VerificationCode.d.ts +0 -0
  1070. /package/types/{verification-code → pc/verification-code}/index.d.ts +0 -0
  1071. /package/types/{version → pc/version}/index.d.ts +0 -0
  1072. /package/types/{virtual-list → pc/virtual-list}/index.d.ts +0 -0
  1073. /package/types/{watermark → pc/watermark}/Watermark.d.ts +0 -0
  1074. /package/types/{watermark → pc/watermark}/index.d.ts +0 -0
package/tree/util.js CHANGED
@@ -1,76 +1,76 @@
1
1
  import o from "react";
2
- const C = (t) => {
3
- const n = (r) => o.Children.map(r, (e) => {
2
+ const K = (t) => {
3
+ const n = (a) => o.Children.map(a, (e) => {
4
4
  if (!o.isValidElement(e))
5
5
  return;
6
- const d = e.key;
6
+ const i = e.key;
7
7
  return {
8
8
  ...e.props,
9
- key: d,
9
+ key: i,
10
10
  children: n(e.props.children)
11
11
  };
12
12
  });
13
13
  return n(t);
14
14
  };
15
15
  function f(t, n) {
16
- const r = /* @__PURE__ */ new Set(), e = (d) => {
17
- d.map((s) => {
18
- const c = s.key, a = n[c];
19
- !a || a.disabled || a.disableCheckbox || a.checkable === !1 || (r.add(c), e(a.children || []));
16
+ const a = /* @__PURE__ */ new Set(), e = (i) => {
17
+ i.map((s) => {
18
+ const c = s.key, r = n[c];
19
+ !r || r.disabled || r.disableCheckbox || r.checkable === !1 || (a.add(c), e(r.children || []));
20
20
  });
21
21
  };
22
- return t && e(t.children || []), r;
22
+ return t && e(t.children || []), a;
23
23
  }
24
- const u = (t, n, r, e) => {
24
+ const u = (t, n, a, e) => {
25
25
  [...n[t].pathParentKeys].reverse().some((s) => {
26
26
  const c = n[s];
27
27
  if (c && !c.disabled && !c.disableCheckbox && c.checkable !== !1) {
28
- let a = 0, l = 0;
29
- c.children.some(({ key: i }) => {
30
- const h = n[i];
28
+ let r = 0, l = 0;
29
+ c.children.some(({ key: d }) => {
30
+ const h = n[d];
31
31
  if (!h || h.disabled || h.disableCheckbox || h.checkable === !1)
32
32
  return !1;
33
- if (a++, r.has(i))
33
+ if (r++, a.has(d))
34
34
  l++;
35
- else if (e.has(i))
35
+ else if (e.has(d))
36
36
  return l += 0.5, !0;
37
- }), !l || l === a ? e.delete(s) : e.add(s), l && l === a ? r.add(s) : r.delete(s);
37
+ }), !l || l === r ? e.delete(s) : e.add(s), l && l === r ? a.add(s) : a.delete(s);
38
38
  } else
39
39
  return !0;
40
40
  });
41
41
  };
42
- function K(t, n) {
43
- const r = new Set(t || []), e = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
42
+ function S(t, n) {
43
+ const a = new Set(t || []), e = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set();
44
44
  return t.forEach((s) => {
45
- d.has(s) || f(n[s], n).forEach((a) => {
46
- d.add(a);
45
+ i.has(s) || f(n[s], n).forEach((r, l, d) => {
46
+ i.add(r);
47
47
  }), n[s] && !n[s].pathParentKeys.some(
48
- (c) => r.has(c)
49
- ) && u(s, n, r, e);
48
+ (c) => a.has(c)
49
+ ) && u(s, n, a, e);
50
50
  }), {
51
- checkedKeys: [.../* @__PURE__ */ new Set([...r, ...d])],
51
+ checkedKeys: [.../* @__PURE__ */ new Set([...a, ...i])],
52
52
  indeterminateKeys: [...e]
53
53
  };
54
54
  }
55
- function S(t, n, r, e, d) {
55
+ function m(t, n, a, e, i) {
56
56
  if (!e[t])
57
57
  return {
58
- checkedKeys: r,
59
- indeterminateKeys: d
58
+ checkedKeys: a,
59
+ indeterminateKeys: i
60
60
  };
61
- const s = new Set(r), c = new Set(d), a = f(e[t], e), l = s;
62
- return n ? (l.add(t), c.delete(t), a.forEach((i) => {
63
- l.add(i);
64
- })) : (c.delete(t), l.delete(t), a.forEach((i) => {
65
- l.delete(i);
61
+ const s = new Set(a), c = new Set(i), r = f(e[t], e), l = s;
62
+ return n ? (l.add(t), c.delete(t), r.forEach((d, h, b) => {
63
+ l.add(d);
64
+ })) : (c.delete(t), l.delete(t), r.forEach((d, h, b) => {
65
+ l.delete(d);
66
66
  })), u(t, e, s, c), {
67
67
  checkedKeys: [...l],
68
68
  indeterminateKeys: [...c]
69
69
  };
70
70
  }
71
71
  export {
72
- S as getAllCheckedKeysByCheck,
73
- K as getCheckedKeysByInitKeys,
72
+ m as getAllCheckedKeysByCheck,
73
+ S as getCheckedKeysByInitKeys,
74
74
  f as getChildNodeKeys,
75
- C as getTreeDataFromTreeChildren
75
+ K as getTreeDataFromTreeChildren
76
76
  };
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "lodash/isFunction";
3
3
  import "lodash/isString";
4
4
  import "react";
5
- import { a4 as a } from "../chunk/w221i0nK.js";
5
+ import { a4 as a } from "../chunk/DO3k0z6J.js";
6
6
  export {
7
7
  a as default
8
8
  };
@@ -5,13 +5,13 @@ import "lodash/isArray";
5
5
  import "lodash/isFunction";
6
6
  import "lodash/isNil";
7
7
  import "react";
8
- import "../chunk/Cplu5dtQ.js";
8
+ import "../chunk/B44Hj5ad.js";
9
9
  import "../chunk/B4YRLi8r.js";
10
10
  import "../chunk/oopARUrq.js";
11
11
  import "../chunk/BFTV6myl.js";
12
12
  import "../chunk/CXPOj2uy.js";
13
13
  import "../select-view/index.js";
14
- import { v as h, t as j } from "../chunk/w221i0nK.js";
14
+ import { v as h, t as j } from "../chunk/DO3k0z6J.js";
15
15
  import "../tree/util.js";
16
16
  import "../trigger/index.js";
17
17
  import "@unicom-cloud/utils/class-name";
@@ -1,5 +1,5 @@
1
- import { t as o } from "../chunk/w221i0nK.js";
2
- import { v as a } from "../chunk/w221i0nK.js";
1
+ import { t as o } from "../chunk/DO3k0z6J.js";
2
+ import { v as a } from "../chunk/DO3k0z6J.js";
3
3
  export {
4
4
  a as TreeSelectTreeNode,
5
5
  o as default
package/trigger/index.js CHANGED
@@ -4,7 +4,7 @@ import ct from "lodash/isArray";
4
4
  import S from "lodash/isFunction";
5
5
  import { forwardRef as lt, useContext as pt, useRef as R, useState as at, Children as He, useCallback as be, cloneElement as Ie, useImperativeHandle as ft, useLayoutEffect as dt, useEffect as g, Fragment as mt } from "react";
6
6
  import { createPortal as gt } from "react-dom";
7
- import { a as yt } from "../chunk/Cplu5dtQ.js";
7
+ import { a as yt } from "../chunk/B44Hj5ad.js";
8
8
  import te from "@unicom-cloud/utils/class-name";
9
9
  import { on as oe, off as ne, getScrollElements as Tt, isScrollElement as Ct, contains as Le } from "../utils/dom.js";
10
10
  import { s as ht } from "../chunk/ClM74To2.js";
@@ -0,0 +1,2 @@
1
+ import emojiAnim from '../../assets/hourglass.webp';
2
+ export default emojiAnim;
@@ -0,0 +1,2 @@
1
+ export default Development;
2
+ declare const Development: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<any>>;
@@ -0,0 +1,4 @@
1
+ import { EmptyProps } from './interface';
2
+ declare const Empty: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<EmptyProps & import("react").RefAttributes<unknown>>>;
3
+ export default Empty;
4
+ export type { EmptyProps };
@@ -0,0 +1,24 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ /**
3
+ * @title Empty
4
+ */
5
+ export interface EmptyProps {
6
+ style?: CSSProperties;
7
+ prefixCls?: string;
8
+ className?: string | string[];
9
+ /**
10
+ * @zh 显示文案
11
+ * @en Description of empty content
12
+ */
13
+ description?: ReactNode;
14
+ /**
15
+ * @zh 自定义显示图案
16
+ * @en Custom icon
17
+ */
18
+ icon?: ReactNode;
19
+ /**
20
+ * @zh 将图标替换为图片
21
+ * @en Replace icon with picture
22
+ */
23
+ imgSrc?: string;
24
+ }
@@ -0,0 +1,2 @@
1
+ export default withSpeechSynthesis;
2
+ declare function withSpeechSynthesis(WrappedComponent: any): import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<any>>>;
@@ -0,0 +1,4 @@
1
+ import { ComponentState, PropsWithoutRef } from 'react';
2
+ type Dependency<T> = PropsWithoutRef<T> | ComponentState;
3
+ declare function useComputedState<T>(computed: () => any, deps: Dependency<T>[]): any;
4
+ export default useComputedState;
@@ -0,0 +1,2 @@
1
+ declare function useCreate(fn: any): void;
2
+ export default useCreate;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * 手动触发一次组件的rerender
3
+ * @desc {en} Manually trigger the rerender of the component once
4
+ * @example
5
+ * ```
6
+ * import { useForceUpdate } from './hooks';
7
+ *
8
+ * const update = useForceUpdate();
9
+ *
10
+ * function forceUpdate() {
11
+ * update();
12
+ * }
13
+ * ```
14
+ */
15
+ declare function useForceUpdate(): import("react").DispatchWithoutAction;
16
+ export default useForceUpdate;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Provide unique component name while using this hook
3
+ * In react 18, React.useId is a better way to choose
4
+ */
5
+ declare function useId(prefix: string): string | undefined;
6
+ export default useId;
@@ -0,0 +1,11 @@
1
+ interface UserInViewProps extends IntersectionObserverInit {
2
+ onChange?: (inView: boolean, entry: IntersectionObserverEntry) => void;
3
+ defaultInView?: boolean;
4
+ unobserverOnEnter?: boolean;
5
+ target?: Element;
6
+ }
7
+ declare function useInView(props: UserInViewProps): {
8
+ inView: boolean | undefined;
9
+ observer: IntersectionObserver | undefined;
10
+ };
11
+ export default useInView;
@@ -0,0 +1,7 @@
1
+ export declare const supportIntersectionObserver: boolean;
2
+ declare function useIntersectionObserver(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): {
3
+ observer: IntersectionObserver | undefined;
4
+ cor: (elem: Element) => void;
5
+ dor: () => void;
6
+ };
7
+ export default useIntersectionObserver;
@@ -0,0 +1,2 @@
1
+ declare function useInterval(callback: Function, delay: null | number): () => void;
2
+ export default useInterval;
@@ -0,0 +1,2 @@
1
+ declare function useIsFirstRender(): boolean;
2
+ export default useIsFirstRender;
@@ -0,0 +1,3 @@
1
+ import { useEffect } from 'react';
2
+ declare const useIsomorphicLayoutEffect: typeof useEffect;
3
+ export default useIsomorphicLayoutEffect;
@@ -0,0 +1,8 @@
1
+ import { KeyboardEventHandler } from 'react';
2
+ type CallBackEventType = 'onPressEnter' | 'onArrowUp' | 'onArrowLeft' | 'onArrowRight' | 'onArrowDown';
3
+ declare function useKeyboardEvent(props?: {
4
+ onKeyDown?: KeyboardEventHandler;
5
+ }): (callbacks: { [key in CallBackEventType]?: (e: any) => void; }) => {
6
+ onKeyDown(e: any): void;
7
+ };
8
+ export default useKeyboardEvent;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * 监听页面resize事件的统一封装
3
+ * @desc {en} Unified encapsulation for monitoring page resize events
4
+ * @param resizeHandler resize事件回调
5
+ * @param resizeHandler {en} Resize event callback
6
+ * @param deps 触发事件绑定更新的依赖
7
+ * @param deps {en} Dependencies that trigger event binding updates
8
+ * @param needListen 是否开启事件监听,默认开启
9
+ * @param needListen {en} Whether to enable event monitoring
10
+ * @example
11
+ * ```
12
+ * import { useListenResize } from './hooks';
13
+ *
14
+ * useListenResize(setSize, [], listenResize);
15
+ * ```
16
+ */
17
+ declare function useListenResize(resizeHandler: (e: any) => void, deps?: unknown[]): void;
18
+ export default useListenResize;
@@ -0,0 +1,2 @@
1
+ declare const useMedia: (query: string, defaultState?: boolean) => boolean;
2
+ export default useMedia;
@@ -0,0 +1,5 @@
1
+ export interface MergePropsOptions {
2
+ _ignorePropsFromGlobal?: boolean;
3
+ }
4
+ declare function useMergeProps<PropsType>(componentProps: PropsType & MergePropsOptions, defaultProps: Partial<PropsType>, globalComponentConfig?: Partial<PropsType> | undefined): PropsType;
5
+ export default useMergeProps;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare function useMergeValue<T>(defaultStateValue: T, props?: {
3
+ defaultValue?: T;
4
+ value?: T;
5
+ }): [T, React.Dispatch<React.SetStateAction<T>>, T];
6
+ export default useMergeValue;
@@ -0,0 +1,2 @@
1
+ export default useOnlineStatus;
2
+ declare function useOnlineStatus(): boolean;
@@ -0,0 +1,5 @@
1
+ interface Option {
2
+ hidden: boolean;
3
+ }
4
+ declare function useOverflowHidden(getContainer: () => HTMLElement, { hidden }: Option): (() => void)[];
5
+ export default useOverflowHidden;
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ declare function useOverrideRef<T>(): [
3
+ (originNode: any) => ReactNode,
4
+ React.MutableRefObject<T>
5
+ ];
6
+ export default useOverrideRef;
@@ -0,0 +1,2 @@
1
+ declare function usePersistCallback<T extends (...args: any[]) => any>(fn: T): T;
2
+ export default usePersistCallback;
@@ -0,0 +1,2 @@
1
+ export default usePrefersColorSchemeDark;
2
+ declare function usePrefersColorSchemeDark(): boolean;
@@ -0,0 +1,3 @@
1
+ import { ComponentState, PropsWithoutRef } from 'react';
2
+ declare function usePrevious<T>(value: PropsWithoutRef<T> | ComponentState): undefined;
3
+ export default usePrevious;
@@ -0,0 +1,2 @@
1
+ declare function useRefs<T>(defaultValue?: T[]): [T[], (node: T, index?: number) => void];
2
+ export default useRefs;
@@ -0,0 +1,6 @@
1
+ declare function useResizeObserver(onResize: (entry: ResizeObserverEntry[]) => void): {
2
+ currentOr: ResizeObserver | undefined;
3
+ cor: (elem: Element) => void;
4
+ dor: () => void;
5
+ };
6
+ export default useResizeObserver;
@@ -0,0 +1,5 @@
1
+ import { SetStateAction } from 'react';
2
+ type Callback<T> = (value?: T) => void;
3
+ type DispatchWithCallback<T> = (value: T, callback?: Callback<T>) => void;
4
+ declare function useStateCallback<T>(initialState: T | (() => T)): [T, DispatchWithCallback<SetStateAction<T>>];
5
+ export default useStateCallback;
@@ -0,0 +1,2 @@
1
+ declare function useStateWithPromise<T>(defaultVal: T): [T, (updater: any) => Promise<T>];
2
+ export default useStateWithPromise;
@@ -0,0 +1,19 @@
1
+ import { DependencyList } from 'react';
2
+ /**
3
+ * useEffect特殊封装,仅在非首次依赖更新时触发回调
4
+ * @desc {en} Special encapsulation of useEffect, which only triggers the callback when the dependency is not updated for the first time
5
+ * @param effect useEffect回调
6
+ * @param effect {en} useEffect callback
7
+ * @param dependencies useEffect依赖
8
+ * @param dependencies {en} useEffect dependencies
9
+ * @example
10
+ * ```
11
+ * import { useUpdateEffect } from './hooks';
12
+ *
13
+ * useUpdateEffect(() => {
14
+ * handleIndexChange(index);
15
+ * }, [index]);
16
+ * ```
17
+ */
18
+ declare function useUpdateEffect(fn: () => void, deps?: DependencyList): void;
19
+ export default useUpdateEffect;
@@ -0,0 +1,3 @@
1
+ import { ComponentState, PropsWithoutRef } from 'react';
2
+ declare function useWatch<T>(value: PropsWithoutRef<T> | ComponentState, callback: (value: any, prevValue: any) => void): void;
3
+ export default useWatch;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * 获取页面视口宽高大小,并在页面有resize时更新大小
3
+ * @desc {en} Get the width and height of the page viewport, and update the size when the page is resized
4
+ * @param needListen 是否开启resize事件监听
5
+ * @param needListen {en} Whether to enable resize event monitoring
6
+ * @returns 页面宽高,{ windowWidth, windowHeight }
7
+ * @example
8
+ * ```
9
+ * import { useWindowSize } from './hooks';
10
+ *
11
+ * const { windowHeight, windowWidth } = useWindowSize();
12
+ * ```
13
+ */
14
+ declare const useWindowSize: (useDebounce?: boolean) => {
15
+ width: number;
16
+ height: number;
17
+ };
18
+ export default useWindowSize;
@@ -0,0 +1,4 @@
1
+ import { CSSTransition } from '@unicom-cloud/react-transition-group';
2
+ declare function PqbCSSTransition(props: CSSTransition): import("react/jsx-dev-runtime").JSX.Element;
3
+ export { PqbCSSTransition };
4
+ export default PqbCSSTransition;
@@ -0,0 +1 @@
1
+ export { default as caseName, default } from '@unicom-cloud/utils/case-name';
@@ -0,0 +1 @@
1
+ export { default as className, default } from '@unicom-cloud/utils/class-name';
@@ -0,0 +1,2 @@
1
+ export declare const CSS_VARIABLE_ELEMENT: HTMLElement;
2
+ export declare const NOOP: () => void;
@@ -1,3 +1,3 @@
1
1
  export default copy;
2
- import copy from '@unicom-cloud/ui-common/utils/copy';
2
+ import copy from '@unicom-cloud/utils/clipboard-copy';
3
3
  export { copy as clipboardCopy, copy };
@@ -0,0 +1,22 @@
1
+ import originDayjs, { Dayjs, OpUnitType, UnitType } from 'dayjs';
2
+ export declare const dayjs: typeof originDayjs;
3
+ export declare const methods: {
4
+ add(time: any, value: number, unit: UnitType): any;
5
+ subtract(time: any, value: number, unit: UnitType): any;
6
+ startOf(time: any, unit?: OpUnitType): any;
7
+ endOf(time: any, unit?: OpUnitType): any;
8
+ set(time: any, unit: UnitType, value: number): any;
9
+ isSameWeek(date1: any, date2: any, weekStart: number, localeName: any): any;
10
+ };
11
+ export declare function timezoneToOffset(inputTs: number, timezone: string): any;
12
+ export declare function getNow(utcOffset?: number, timezone?: string): originDayjs.Dayjs;
13
+ export declare function toTimezone(time: Dayjs, utcOffset?: number, timezone?: string, local?: boolean): Dayjs;
14
+ export declare function toLocal(time: Dayjs, utcOffset?: number, timezone?: string): Dayjs;
15
+ export declare function getTimeFormat(format: any): string;
16
+ export declare function getDayjsValue(time: any, format: string | string[], utcOffset?: number, timezone?: string): originDayjs.Dayjs | (originDayjs.Dayjs | undefined)[] | undefined;
17
+ export declare function getValueWithTime(date: Dayjs, time?: Dayjs): Dayjs;
18
+ export declare function getSortedDayjsArray(values?: Dayjs[]): originDayjs.Dayjs[] | undefined;
19
+ export declare function isDayjsChange(prevValue: Dayjs | undefined, currentValue: Dayjs | undefined): boolean | originDayjs.Dayjs;
20
+ export declare function isDayjsArrayChange(prevValue: Dayjs[] | undefined, currentValue: Dayjs[] | undefined): boolean | originDayjs.Dayjs[];
21
+ export declare function isValidTimeString(str: string, format: string | string[], index?: number): boolean;
22
+ export default dayjs;
@@ -0,0 +1,12 @@
1
+ export declare const isServerRendering: boolean;
2
+ export declare const on: (element: EventTarget | null, event: string, handler: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void;
3
+ export declare const off: (element: EventTarget | null, event: string, handler: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void;
4
+ export declare const contains: (root: HTMLElement, ele: any) => boolean;
5
+ export declare function isScrollElement(element: any): boolean;
6
+ /**
7
+ * 从当前节点向上查找所有的滚动元素
8
+ * @param container 当前节点
9
+ * @param top 查找到 top 节点就终止,不再继续查找
10
+ * @returns
11
+ */
12
+ export declare const getScrollElements: (container: HTMLElement, top?: HTMLElement) => HTMLElement[];
@@ -0,0 +1 @@
1
+ export { default, default as fileToURL } from "@unicom-cloud/utils/file/fileToURL";
@@ -0,0 +1,3 @@
1
+ declare function fillNBSP(str: any): any;
2
+ export { fillNBSP };
3
+ export default fillNBSP;
@@ -0,0 +1,7 @@
1
+ declare function getHighlightText<T>({ nodeList, pattern, highlightClassName, }: {
2
+ nodeList: T;
3
+ pattern: string;
4
+ highlightClassName: string;
5
+ }): T;
6
+ export { getHighlightText };
7
+ export default getHighlightText;
@@ -0,0 +1,18 @@
1
+ export interface Key {
2
+ /** Keyboard key code */
3
+ code: number | string;
4
+ /** Ctrl / ⌃ */
5
+ ctrl?: boolean;
6
+ /** Shift key */
7
+ shift?: boolean;
8
+ /** Alt / ⌥ */
9
+ alt?: boolean;
10
+ /** meta ⌘ / ⊞ */
11
+ meta?: boolean;
12
+ }
13
+ /**
14
+ * @param hotkeyMap - 快捷键描述对象
15
+ */
16
+ declare function getHotkeyHandler(hotkeyMap: Map<Key | number | string, Function>): (e: KeyboardEvent) => void;
17
+ export { getHotkeyHandler };
18
+ export default getHotkeyHandler;
@@ -0,0 +1,3 @@
1
+ declare function getStringLength(str: string): number;
2
+ export { getStringLength };
3
+ export default getStringLength;
@@ -0,0 +1,3 @@
1
+ declare function include<T extends object, K extends keyof T>(obj: T, keys: Array<K | string>): Partial<T> /** TODO: Pick */;
2
+ export { include };
3
+ export default include;
@@ -0,0 +1,17 @@
1
+ import { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isBlob, isBoolean, isBuffer, isColor, isColor2, isDate, isElement, isEmpty, isEmptyArray, isEmptyObject, isEmptyValue, isEqual, isEqualWith, isError, isFile, isFinite, isFunction, isInteger, isJSON, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNil, isNull, isNumber, isObject, isObjectLike, isPlainObject, isPromise, isReadableByteStreamControllerSupported, isReadableStream, isReadableStreamDefaultControllerSupported, isReadableStreamSupported, isReadableStreamSymbolAsyncIteratorSupported, isRegExp, isSafeInteger, isSet, isString, isSymbol, isTypedArray, isUndefined, isValidColor, isWeakMap, isWeakSet } from '@unicom-cloud/utils/is';
2
+ import { Dayjs } from 'dayjs';
3
+ import { isAsyncMode as isReactAsyncMode, isConcurrentMode as isReactConcurrentMode, isContextConsumer as isReactContextConsumer, isContextProvider as isReactContextProvider, isElement as isReactElement, isForwardRef as isReactForwardRef, isFragment as isReactFragment, isLazy as isReactLazy, isMemo as isReactMemo, isPortal as isReactPortal, isProfiler as isReactProfiler, isStrictMode as isReactStrictMode, isSuspense as isReactSuspense, isValidElementType as isReactValidElementType } from 'react-is';
4
+ declare function isNullOrUndefined(obj: any): boolean;
5
+ declare function isEmptyReactNode(content: any, trim?: boolean): boolean;
6
+ declare function isExist(obj: any): boolean;
7
+ declare function isWindow(el: any): el is Window;
8
+ declare function isDayjs(time: any): time is Dayjs;
9
+ declare const isReactComponent: (element: any) => boolean;
10
+ declare const isClassComponent: (element: any) => boolean;
11
+ declare const isDOMElement: (element: any) => boolean;
12
+ declare const isReact18: boolean;
13
+ declare const isReact19: boolean;
14
+ declare const isForwardRefReact: (object: any) => any;
15
+ declare const supportRef: (element: any) => boolean;
16
+ declare const isSupportRef: (element: any) => boolean;
17
+ export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isBlob, isBoolean, isBuffer, isClassComponent, isColor, isColor2, isDate, isDayjs, isDOMElement, isElement, isEmpty, isEmptyArray, isEmptyObject, isEmptyReactNode, isEmptyValue, isEqual, isEqualWith, isError, isExist, isFile, isFinite, isForwardRefReact, isFunction, isInteger, isJSON, isLength, isMap, isMatch, isMatchWith, isNaN, isNative, isNil, isNull, isNullOrUndefined, isNumber, isObject, isObjectLike, isPlainObject, isPromise, isReact18, isReact19, isReactAsyncMode, isReactComponent, isReactConcurrentMode, isReactContextConsumer, isReactContextProvider, isReactElement, isReactForwardRef, isReactFragment, isReactLazy, isReactMemo, isReactPortal, isReactProfiler, isReactStrictMode, isReactSuspense, isReactValidElementType, isReadableByteStreamControllerSupported, isReadableStream, isReadableStreamDefaultControllerSupported, isReadableStreamSupported, isReadableStreamSymbolAsyncIteratorSupported, isRegExp, isSafeInteger, isSet, isString, isSupportRef, isSymbol, isTypedArray, isUndefined, isValidColor, isWeakMap, isWeakSet, isWindow, supportRef, };
@@ -0,0 +1,17 @@
1
+ import camelCase from 'lodash/camelCase';
2
+ import capitalize from 'lodash/capitalize';
3
+ import cloneDeep from 'lodash/cloneDeep';
4
+ import debounce from 'lodash/debounce';
5
+ import get from 'lodash/get';
6
+ import has from 'lodash/has';
7
+ import kebabCase from 'lodash/kebabCase';
8
+ import merge from 'lodash/merge';
9
+ import mergeWith from 'lodash/mergeWith';
10
+ import set from 'lodash/set';
11
+ import setWith from 'lodash/setWith';
12
+ import snakeCase from 'lodash/snakeCase';
13
+ import startCase from 'lodash/startCase';
14
+ import throttle from 'lodash/throttle';
15
+ import uniq from 'lodash/uniq';
16
+ import upperFirst from 'lodash/upperFirst';
17
+ export { camelCase, capitalize, cloneDeep, debounce, get, has, kebabCase, merge, mergeWith, set, setWith, snakeCase, startCase, throttle, uniq, upperFirst, };
@@ -0,0 +1,3 @@
1
+ declare function mergeProps<PropsType>(_componentProps: PropsType, _defaultProps: Partial<PropsType>, _globalComponentConfig: PropsType, propsNameList?: string[]): Partial<PropsType>;
2
+ export { mergeProps };
3
+ export default mergeProps;
@@ -0,0 +1,4 @@
1
+ /** merge multiple children to a string node */
2
+ declare function mergedToString(children: any): string;
3
+ export { mergedToString };
4
+ export default mergedToString;
@@ -0,0 +1,3 @@
1
+ declare function omit<T extends object, K extends keyof T>(obj: T, keys: Array<K | string>): Omit<T, K>;
2
+ export { omit };
3
+ export default omit;
@@ -0,0 +1,2 @@
1
+ export declare function padStart(string: any, length: number, char?: string): any;
2
+ export declare function padEnd(string: any, length: number, char?: string): any;
@@ -0,0 +1,6 @@
1
+ declare function pick<T extends object, K extends keyof T>(o: T, keys: Array<K | string>): Pick<T, K>;
2
+ export declare function pickDataAttributes<T extends object, K extends keyof T>(o: T | undefined): {
3
+ [key in K]: unknown;
4
+ };
5
+ export { pick };
6
+ export default pick;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ import { ReactElement, ReactInstance } from 'react';
2
+ /**
3
+ *
4
+ * @param element
5
+ * @param instance: 兜底 findDOMNode 查找,一般都是 this
6
+ * @returns
7
+ */
8
+ export declare const findDOMNode_: (element: unknown, instance?: ReactInstance) => any;
9
+ export declare const callbackOriginRef: (children: any, node: any) => void;
10
+ export declare const setCreateRoot: (_createRoot: any) => void;
11
+ export declare const render: (node: any, el: any) => {
12
+ render: (container: ReactElement) => void;
13
+ _unmount: () => void;
14
+ };
@@ -0,0 +1,2 @@
1
+ export default resizeObserverEffect;
2
+ export function resizeObserverEffect(elements: any, callback: any): () => void;