@unicom-cloud/ui 0.8.54 → 0.8.56

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 (429) hide show
  1. package/Affix.js +36 -36
  2. package/Alert.js +41 -45
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +40 -40
  5. package/Avatar.js +36 -36
  6. package/BackTop.js +26 -26
  7. package/Badge.js +43 -43
  8. package/Breadcrumb.js +17 -17
  9. package/Button.js +42 -42
  10. package/Calendar.js +54 -56
  11. package/Card.js +28 -28
  12. package/Carousel.js +42 -43
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +11 -580
  17. package/Comment.js +14 -14
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +26 -26
  20. package/DatePicker.js +661 -670
  21. package/Descriptions.js +53 -53
  22. package/Divider.js +15 -15
  23. package/Draggable.js +16 -16
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +10 -10
  26. package/Empty.js +3 -3
  27. package/Form.js +10 -1410
  28. package/Grid.js +49 -49
  29. package/Icon.js +10 -10
  30. package/IconHover.js +2 -2
  31. package/Image.js +1 -1
  32. package/Input.js +1 -1
  33. package/InputNumber.js +7 -7
  34. package/InputTag.js +1 -1
  35. package/Layout.js +34 -34
  36. package/Link.js +26 -26
  37. package/List.js +39 -39
  38. package/Mentions.js +17 -17
  39. package/Menu.js +1 -1
  40. package/Message.js +3 -3
  41. package/Modal.js +1 -1
  42. package/Notice.js +4 -10
  43. package/Notification.js +3 -3
  44. package/OverflowEllipsis.js +18 -18
  45. package/PageHeader.js +26 -27
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +15 -15
  49. package/Popover.js +22 -22
  50. package/Progress.js +18 -18
  51. package/Radio.js +2 -2
  52. package/Rate.js +40 -43
  53. package/ResizeBox.js +191 -192
  54. package/Result.js +17 -17
  55. package/Select.js +1 -1
  56. package/SelectView.js +56 -56
  57. package/Skeleton.js +35 -35
  58. package/Slider.js +81 -81
  59. package/Space.js +27 -27
  60. package/SpeechSynthesis.js +29 -32
  61. package/Spin.js +15 -15
  62. package/Statistic.js +54 -54
  63. package/Steps.js +44 -44
  64. package/Switch.js +39 -38
  65. package/Table.js +488 -488
  66. package/Tabs.js +1 -1
  67. package/Tag.js +13 -14
  68. package/TimePicker.js +68 -68
  69. package/Timeline.js +1 -1
  70. package/Tooltip.js +27 -28
  71. package/Transfer.js +29 -30
  72. package/Tree.js +1 -1
  73. package/TreeSelect.js +1 -1
  74. package/Trigger.js +53 -52
  75. package/Typography.js +2 -737
  76. package/Upload.js +1 -1
  77. package/VerificationCode.js +1 -1
  78. package/Version.js +1 -1
  79. package/Watermark.js +1 -1
  80. package/chunk/1mEO29GP.js +23 -0
  81. package/chunk/5pZ3ayqs.js +29 -0
  82. package/chunk/9Gh1afjL.js +23 -0
  83. package/chunk/B1S1OEw6.js +29 -0
  84. package/chunk/{RRWbBHK-.js → B2Bp3i5u.js} +221 -221
  85. package/chunk/B45v5S9k.js +209 -0
  86. package/chunk/B6fn5y_s.js +23 -0
  87. package/chunk/B9PsJar0.js +118 -0
  88. package/chunk/BA02BFUV.js +41 -0
  89. package/chunk/BCk8e9fj.js +29 -0
  90. package/chunk/BHK9zpXn.js +207 -0
  91. package/chunk/BHLTzWzi.js +29 -0
  92. package/chunk/BK1FKNAX.js +41 -0
  93. package/chunk/BM6dpkeM.js +32 -0
  94. package/chunk/{DQ3uFRJD.js → BP7xX86Q.js} +223 -202
  95. package/chunk/BWx1cVT_.js +66 -0
  96. package/chunk/BbI3gqVr.js +23 -0
  97. package/chunk/{CIc4yo9k.js → BbYzi8M0.js} +46 -46
  98. package/chunk/Be7oeWU8.js +34 -0
  99. package/chunk/BeM2hfks.js +88 -0
  100. package/chunk/BkHxm4sv.js +41 -0
  101. package/chunk/{BUQBof6z.js → Bl-ODC57.js} +206 -207
  102. package/chunk/BlKc_pDZ.js +678 -0
  103. package/chunk/{BzqZZHGK.js → Bny52uiG.js} +48 -48
  104. package/chunk/{PuuHmqnW.js → BpwDupra.js} +238 -238
  105. package/chunk/BqxwlITu.js +52 -0
  106. package/chunk/BuEC_zcc.js +278 -0
  107. package/chunk/{CqcZfQQ4.js → Bv8ZRDFt.js} +80 -80
  108. package/chunk/{DZGcv_9A.js → C-w9pFY-.js} +32 -32
  109. package/chunk/C2fspJbE.js +23 -0
  110. package/chunk/C7Okdv4u.js +34 -0
  111. package/chunk/C95ipQ6b.js +41 -0
  112. package/chunk/{BzMYgxgO.js → CF3Telny.js} +26 -26
  113. package/chunk/CPl52AZh.js +206 -0
  114. package/chunk/CXNW5Y2a.js +23 -0
  115. package/chunk/Cb_oWoGj.js +40 -0
  116. package/chunk/CcX2pBUh.js +46 -0
  117. package/chunk/{BdJcAQ0Q.js → CggcswbO.js} +18 -18
  118. package/chunk/CilQ012k.js +1796 -0
  119. package/chunk/CkAOsst1.js +73 -0
  120. package/chunk/CnY8SvgY.js +126 -0
  121. package/chunk/{CTSIr-Pr.js → CwXmtKib.js} +89 -101
  122. package/chunk/{C3I_L73_.js → CwjaGytU.js} +39 -40
  123. package/chunk/{DTgc2wl4.js → D6RTBH4C.js} +36 -36
  124. package/chunk/D6mVoX-C.js +116 -0
  125. package/chunk/D9TqtOhq.js +40 -0
  126. package/chunk/{qSJXQ1qu.js → DBJ8d0o0.js} +183 -189
  127. package/chunk/{RL1SNlng.js → DDda6s72.js} +16 -16
  128. package/chunk/{BH5fVprw.js → DJmWXheU.js} +9 -9
  129. package/chunk/DPvnQJ-H.js +52 -0
  130. package/chunk/DQXq1QT0.js +58 -0
  131. package/chunk/DRJO1GfY.js +855 -0
  132. package/chunk/DUxWiN2U.js +1465 -0
  133. package/chunk/DYZzQ2uT.js +29 -0
  134. package/chunk/{CK0H_Yi4.js → DafaH1Qt.js} +140 -138
  135. package/chunk/{ShWkfsJd.js → DalIRWr7.js} +21 -21
  136. package/chunk/{CzTYWtfa.js → Dg2DmtzA.js} +31 -30
  137. package/chunk/DhLbnw3R.js +29 -0
  138. package/chunk/{BmtF7P8U.js → DkIjpuBZ.js} +170 -170
  139. package/chunk/Do1aMgY3.js +12 -0
  140. package/chunk/Dtnux4qL.js +38 -0
  141. package/chunk/{Niaq_og8.js → Dw4SJ4o1.js} +219 -225
  142. package/chunk/{DbtCtriE.js → DxNRWF67.js} +30 -31
  143. package/chunk/JnyGFb5j.js +284 -0
  144. package/chunk/Lk60-jkf.js +1098 -0
  145. package/chunk/V_IcWDFx.js +49 -0
  146. package/chunk/{DG7VgAhL.js → WkB0MERB.js} +107 -108
  147. package/chunk/bsawGxt8.js +32 -0
  148. package/chunk/cUuQh7L_.js +46 -0
  149. package/chunk/fqgc8r6C.js +29 -0
  150. package/chunk/m_kOQCiU.js +29 -0
  151. package/chunk/sl8s35SK.js +29 -0
  152. package/chunk/{Dki1RB5p.js → t51ig1FZ.js} +154 -155
  153. package/chunk/{BC0PujUD.js → yvbAFxtk.js} +119 -121
  154. package/hooks/index.js +52 -246
  155. package/hooks/useForceUpdate.js +6 -6
  156. package/hooks/useIntersectionObserver.js +12 -10
  157. package/hooks/useKeyboardEvent.js +7 -7
  158. package/hooks/useMedia.js +9 -12
  159. package/hooks/useMergeValue.js +10 -8
  160. package/hooks/useResizeObserver.js +16 -0
  161. package/hooks/useUpdateEffect.js +7 -9
  162. package/hooks/useWindowSize.js +16 -20
  163. package/icons.js +6003 -0
  164. package/index.js +377 -472
  165. package/locale/en-US.js +20 -6
  166. package/locale/ja-JP.js +4 -2
  167. package/locale/ko-KR.js +2 -2
  168. package/locale/pt-BR.js +3 -3
  169. package/locale/pt-PT.js +3 -3
  170. package/locale/tr-TR.js +11 -3
  171. package/locale/zh-CN.js +6 -0
  172. package/locale/zh-HK.js +2 -0
  173. package/locale/zh-TW.js +2 -0
  174. package/package.json +1 -1
  175. package/style.css +1 -1
  176. package/types/anchor/util.d.ts +1 -0
  177. package/types/button/index.d.ts +2 -2
  178. package/types/color-picker/colors.d.ts +1 -1
  179. package/types/date-picker/util.d.ts +1 -1
  180. package/types/hooks/index.d.ts +3 -101
  181. package/types/hooks/useForceUpdate.d.ts +1 -2
  182. package/types/hooks/useIntersectionObserver.d.ts +1 -1
  183. package/types/hooks/useKeyboardEvent.d.ts +2 -2
  184. package/types/hooks/useMergeProps.d.ts +1 -1
  185. package/types/hooks/useResizeObserver.d.ts +5 -0
  186. package/types/hooks/useUpdateEffect.d.ts +2 -3
  187. package/types/hooks/useWindowSize.d.ts +1 -1
  188. package/types/icons.d.ts +4 -0
  189. package/types/index.d.ts +12 -2
  190. package/types/locale/en-US.d.ts +4 -0
  191. package/types/locale/interface.d.ts +2 -0
  192. package/types/locale/ja-JP.d.ts +4 -0
  193. package/types/locale/zh-CN.d.ts +4 -0
  194. package/types/locale/zh-HK.d.ts +4 -0
  195. package/types/locale/zh-TW.d.ts +4 -0
  196. package/types/modal/config.d.ts +1 -1
  197. package/types/version/index.d.ts +1 -1
  198. package/utils/CSSTransition.js +1 -1
  199. package/utils/className.js +2 -3
  200. package/utils/contextHolder.js +2 -2
  201. package/utils/copy.js +2 -3
  202. package/utils/is.js +127 -90
  203. package/utils/reactDOM.js +17 -15
  204. package/utils/responsiveObserve.js +16 -16
  205. package/utils/saveAs.js +2 -3
  206. package/utils/scrollIntoView.js +1 -1
  207. package/chunk/BdYAMaw9.js +0 -6
  208. package/chunk/CiZVOdJ3.js +0 -122
  209. package/chunk/DdtfPvgk.js +0 -272
  210. package/chunk/I4RV9SKZ.js +0 -135
  211. package/chunk/TXCrI0jN.js +0 -20
  212. package/chunk/i1A7W8Qt.js +0 -277
  213. package/chunk/xPzFRQJn.js +0 -740
  214. package/hooks/useAsync.js +0 -13
  215. package/hooks/useAsyncFn.js +0 -15
  216. package/hooks/useAsyncRetry.js +0 -17
  217. package/hooks/useAudio.js +0 -5
  218. package/hooks/useBeforeUnload.js +0 -18
  219. package/hooks/useBoolean.js +0 -4
  220. package/hooks/useClickAway.js +0 -22
  221. package/hooks/useCopyToClipboard.js +0 -51
  222. package/hooks/useCounter.js +0 -45
  223. package/hooks/useCreation.js +0 -17
  224. package/hooks/useCustomCompareEffect.js +0 -15
  225. package/hooks/useDebounce.js +0 -9
  226. package/hooks/useDefault.js +0 -10
  227. package/hooks/useDrop.js +0 -44
  228. package/hooks/useDropArea.js +0 -45
  229. package/hooks/useEffectOnce.js +0 -7
  230. package/hooks/useEffectState.js +0 -9
  231. package/hooks/useEnsuredForwardedRef.js +0 -17
  232. package/hooks/useError.js +0 -13
  233. package/hooks/useEvent.js +0 -13
  234. package/hooks/useEventListener.js +0 -39
  235. package/hooks/useFavicon.js +0 -16
  236. package/hooks/useFirstMountState.js +0 -8
  237. package/hooks/useFullscreen.js +0 -39
  238. package/hooks/useGeolocation.js +0 -38
  239. package/hooks/useGetSet.js +0 -18
  240. package/hooks/useGetSetState.js +0 -12
  241. package/hooks/useHash.js +0 -26
  242. package/hooks/useHover.js +0 -16
  243. package/hooks/useHoverDirty.js +0 -17
  244. package/hooks/useIdle.js +0 -34
  245. package/hooks/useIntersection.js +0 -19
  246. package/hooks/useIsomorphicLayoutEffect2.js +0 -6
  247. package/hooks/useKey.js +0 -16
  248. package/hooks/useKeyPress.js +0 -13
  249. package/hooks/useKeyPressEvent.js +0 -11
  250. package/hooks/useLatest.js +0 -8
  251. package/hooks/useLifecycles.js +0 -9
  252. package/hooks/useList.js +0 -67
  253. package/hooks/useLocalStorage.js +0 -42
  254. package/hooks/useLocation.js +0 -51
  255. package/hooks/useLockBodyScroll.js +0 -55
  256. package/hooks/useLogger.js +0 -10
  257. package/hooks/useLongPress.js +0 -24
  258. package/hooks/useMap.js +0 -31
  259. package/hooks/useMeasure.js +0 -34
  260. package/hooks/useMeasureDirty.js +0 -24
  261. package/hooks/useMediaDevices.js +0 -26
  262. package/hooks/useMediatedState.js +0 -14
  263. package/hooks/useMethods.js +0 -14
  264. package/hooks/useMotion.js +0 -56
  265. package/hooks/useMount.js +0 -9
  266. package/hooks/useMountedState.js +0 -10
  267. package/hooks/useMouse.js +0 -44
  268. package/hooks/useMouseHovered.js +0 -9
  269. package/hooks/useMouseWheel.js +0 -14
  270. package/hooks/useMultiStateValidator.js +0 -19
  271. package/hooks/useNetworkState.js +0 -31
  272. package/hooks/useNumber.js +0 -4
  273. package/hooks/useObservable.js +0 -12
  274. package/hooks/useOrientation.js +0 -30
  275. package/hooks/usePageLeave.js +0 -19
  276. package/hooks/usePermission.js +0 -19
  277. package/hooks/usePinchZoom.js +0 -40
  278. package/hooks/usePreviousDistinct.js +0 -10
  279. package/hooks/usePromise.js +0 -19
  280. package/hooks/useQueue.js +0 -25
  281. package/hooks/useRaf.js +0 -24
  282. package/hooks/useRafLoop.js +0 -24
  283. package/hooks/useRafState.js +0 -15
  284. package/hooks/useReactive.js +0 -21
  285. package/hooks/useRendersCount.js +0 -7
  286. package/hooks/useScroll.js +0 -27
  287. package/hooks/useScrolling.js +0 -23
  288. package/hooks/useSearchParam.js +0 -18
  289. package/hooks/useSessionStorage.js +0 -29
  290. package/hooks/useSet.js +0 -15
  291. package/hooks/useSetState.js +0 -16
  292. package/hooks/useSize.js +0 -58
  293. package/hooks/useSlider.js +0 -48
  294. package/hooks/useSpeech.js +0 -45
  295. package/hooks/useStartTyping.js +0 -30
  296. package/hooks/useStateList.js +0 -37
  297. package/hooks/useStateValidator.js +0 -17
  298. package/hooks/useStateWithHistory.js +0 -46
  299. package/hooks/useSyncState.js +0 -14
  300. package/hooks/useThrottle.js +0 -21
  301. package/hooks/useThrottleFn.js +0 -21
  302. package/hooks/useTimeout.js +0 -17
  303. package/hooks/useTimeoutFn.js +0 -16
  304. package/hooks/useTitle.js +0 -18
  305. package/hooks/useToggle.js +0 -5
  306. package/hooks/useTween.js +0 -11
  307. package/hooks/useUnmount.js +0 -9
  308. package/hooks/useUnmountPromise.js +0 -20
  309. package/hooks/useUpdate.js +0 -10
  310. package/hooks/useUpdateTimeout.js +0 -9
  311. package/hooks/useUpsert.js +0 -16
  312. package/hooks/useVibrate.js +0 -21
  313. package/hooks/useVideo.js +0 -5
  314. package/hooks/useWindowScroll.js +0 -29
  315. package/types/hooks/component/UseKey.d.ts +0 -2
  316. package/types/hooks/factory/createBreakpoint.d.ts +0 -4
  317. package/types/hooks/factory/createGlobalState.d.ts +0 -7
  318. package/types/hooks/factory/createHTMLMediaHook.d.ts +0 -33
  319. package/types/hooks/factory/createMemo.d.ts +0 -2
  320. package/types/hooks/factory/createReducer.d.ts +0 -8
  321. package/types/hooks/factory/createReducerContext.d.ts +0 -5
  322. package/types/hooks/factory/createRenderProp.d.ts +0 -1
  323. package/types/hooks/factory/createRouter.d.ts +0 -7
  324. package/types/hooks/factory/createStateContext.d.ts +0 -5
  325. package/types/hooks/misc/hookState.d.ts +0 -8
  326. package/types/hooks/misc/parseTimeRanges.d.ts +0 -4
  327. package/types/hooks/misc/types.d.ts +0 -2
  328. package/types/hooks/misc/util.d.ts +0 -5
  329. package/types/hooks/useAsync.d.ts +0 -20
  330. package/types/hooks/useAsyncFn.d.ts +0 -23
  331. package/types/hooks/useAsyncRetry.d.ts +0 -27
  332. package/types/hooks/useAudio.d.ts +0 -11
  333. package/types/hooks/useBeforeUnload.d.ts +0 -2
  334. package/types/hooks/useBoolean.d.ts +0 -2
  335. package/types/hooks/useClickAway.d.ts +0 -3
  336. package/types/hooks/useCopyToClipboard.d.ts +0 -7
  337. package/types/hooks/useCounter.d.ts +0 -9
  338. package/types/hooks/useCreation.d.ts +0 -2
  339. package/types/hooks/useCustomCompareEffect.d.ts +0 -4
  340. package/types/hooks/useDebounce.d.ts +0 -3
  341. package/types/hooks/useDefault.d.ts +0 -2
  342. package/types/hooks/useDrop.d.ts +0 -17
  343. package/types/hooks/useDropArea.d.ts +0 -18
  344. package/types/hooks/useEffectOnce.d.ts +0 -3
  345. package/types/hooks/useEffectState.d.ts +0 -2
  346. package/types/hooks/useEnsuredForwardedRef.d.ts +0 -3
  347. package/types/hooks/useError.d.ts +0 -2
  348. package/types/hooks/useEvent.d.ts +0 -13
  349. package/types/hooks/useEventListener.d.ts +0 -2
  350. package/types/hooks/useFavicon.d.ts +0 -2
  351. package/types/hooks/useFirstMountState.d.ts +0 -1
  352. package/types/hooks/useFullscreen.d.ts +0 -10
  353. package/types/hooks/useGeolocation.d.ts +0 -21
  354. package/types/hooks/useGetSet.d.ts +0 -3
  355. package/types/hooks/useGetSetState.d.ts +0 -2
  356. package/types/hooks/useHash.d.ts +0 -2
  357. package/types/hooks/useHover.d.ts +0 -4
  358. package/types/hooks/useHoverDirty.d.ts +0 -3
  359. package/types/hooks/useIdle.d.ts +0 -2
  360. package/types/hooks/useIntersection.d.ts +0 -3
  361. package/types/hooks/useIsomorphicLayoutEffect2.d.ts +0 -3
  362. package/types/hooks/useKey.d.ts +0 -12
  363. package/types/hooks/useKeyPress.d.ts +0 -3
  364. package/types/hooks/useKeyPressEvent.d.ts +0 -3
  365. package/types/hooks/useLatest.d.ts +0 -4
  366. package/types/hooks/useLifecycles.d.ts +0 -2
  367. package/types/hooks/useList.d.ts +0 -18
  368. package/types/hooks/useLocalStorage.d.ts +0 -10
  369. package/types/hooks/useLocation.d.ts +0 -16
  370. package/types/hooks/useLockBodyScroll.d.ts +0 -8
  371. package/types/hooks/useLogger.d.ts +0 -2
  372. package/types/hooks/useLongPress.d.ts +0 -12
  373. package/types/hooks/useMap.d.ts +0 -11
  374. package/types/hooks/useMeasure.d.ts +0 -9
  375. package/types/hooks/useMeasureDirty.d.ts +0 -11
  376. package/types/hooks/useMediaDevices.d.ts +0 -2
  377. package/types/hooks/useMediatedState.d.ts +0 -9
  378. package/types/hooks/useMethods.d.ts +0 -8
  379. package/types/hooks/useMotion.d.ts +0 -20
  380. package/types/hooks/useMount.d.ts +0 -2
  381. package/types/hooks/useMountedState.d.ts +0 -1
  382. package/types/hooks/useMouse.d.ts +0 -13
  383. package/types/hooks/useMouseHovered.d.ts +0 -8
  384. package/types/hooks/useMouseWheel.d.ts +0 -2
  385. package/types/hooks/useMultiStateValidator.d.ts +0 -9
  386. package/types/hooks/useNetworkState.d.ts +0 -22
  387. package/types/hooks/useNumber.d.ts +0 -2
  388. package/types/hooks/useObservable.d.ts +0 -8
  389. package/types/hooks/useOrientation.d.ts +0 -6
  390. package/types/hooks/usePageLeave.d.ts +0 -2
  391. package/types/hooks/usePermission.d.ts +0 -16
  392. package/types/hooks/usePinchZoom.d.ts +0 -18
  393. package/types/hooks/usePreviousDistinct.d.ts +0 -2
  394. package/types/hooks/usePromise.d.ts +0 -3
  395. package/types/hooks/useQueue.d.ts +0 -9
  396. package/types/hooks/useRaf.d.ts +0 -2
  397. package/types/hooks/useRafLoop.d.ts +0 -2
  398. package/types/hooks/useRafState.d.ts +0 -3
  399. package/types/hooks/useReactive.d.ts +0 -2
  400. package/types/hooks/useRendersCount.d.ts +0 -1
  401. package/types/hooks/useScroll.d.ts +0 -7
  402. package/types/hooks/useScrolling.d.ts +0 -3
  403. package/types/hooks/useSearchParam.d.ts +0 -3
  404. package/types/hooks/useSessionStorage.d.ts +0 -2
  405. package/types/hooks/useSet.d.ts +0 -11
  406. package/types/hooks/useSetState.d.ts +0 -2
  407. package/types/hooks/useSize.d.ts +0 -8
  408. package/types/hooks/useSlider.d.ts +0 -15
  409. package/types/hooks/useSpeech.d.ts +0 -16
  410. package/types/hooks/useStartTyping.d.ts +0 -2
  411. package/types/hooks/useStateList.d.ts +0 -9
  412. package/types/hooks/useStateValidator.d.ts +0 -8
  413. package/types/hooks/useStateWithHistory.d.ts +0 -18
  414. package/types/hooks/useSyncState.d.ts +0 -3
  415. package/types/hooks/useThrottle.d.ts +0 -2
  416. package/types/hooks/useThrottleFn.d.ts +0 -2
  417. package/types/hooks/useTimeout.d.ts +0 -2
  418. package/types/hooks/useTimeoutFn.d.ts +0 -2
  419. package/types/hooks/useTitle.d.ts +0 -6
  420. package/types/hooks/useToggle.d.ts +0 -2
  421. package/types/hooks/useTween.d.ts +0 -3
  422. package/types/hooks/useUnmount.d.ts +0 -2
  423. package/types/hooks/useUnmountPromise.d.ts +0 -3
  424. package/types/hooks/useUpdate.d.ts +0 -2
  425. package/types/hooks/useUpdateTimeout.d.ts +0 -2
  426. package/types/hooks/useUpsert.d.ts +0 -6
  427. package/types/hooks/useVibrate.d.ts +0 -4
  428. package/types/hooks/useVideo.d.ts +0 -11
  429. package/types/hooks/useWindowScroll.d.ts +0 -6
@@ -2,3 +2,4 @@ export declare function findNode(dom: HTMLElement | Document, selector: string):
2
2
  export declare function slide(el: HTMLElement, top: number, cb: Function): void;
3
3
  export declare function getContainer(targetContainer?: string | HTMLElement | Window): HTMLElement | Window | null;
4
4
  export declare function getContainerElement(scrollContainer: HTMLElement | Window): HTMLElement;
5
+ export declare function getScrollParent(element: any): any;
@@ -3,11 +3,11 @@ import Group from './Group';
3
3
  import type { ButtonProps } from './interface';
4
4
  declare const ForwardRefButton: React.ForwardRefExoticComponent<Partial<{
5
5
  htmlType?: "button" | "submit" | "reset";
6
- } & import("./interface").BaseButtonProps & Omit<React.ButtonHTMLAttributes<any>, "onClick" | "className" | "type"> & {
6
+ } & import("./interface").BaseButtonProps & Omit<React.ButtonHTMLAttributes<any>, "className" | "type" | "onClick"> & {
7
7
  href: string;
8
8
  target?: string;
9
9
  anchorProps?: React.HTMLProps<HTMLAnchorElement>;
10
- } & Omit<React.AnchorHTMLAttributes<any>, "onClick" | "className" | "type">> & React.RefAttributes<unknown>>;
10
+ } & Omit<React.AnchorHTMLAttributes<any>, "className" | "type" | "onClick">> & React.RefAttributes<unknown>>;
11
11
  declare const ButtonComponent: typeof ForwardRefButton & {
12
12
  __PQB_BUTTON: boolean;
13
13
  Group: typeof Group;
@@ -1,2 +1,2 @@
1
- export declare const colors: FlatArray<boolean | string[], 0 | 3 | 2 | 1 | 17 | 18 | 13 | 8 | 9 | 6 | -1 | 20 | 4 | 16 | 10 | 5 | 7 | 11 | 12 | 14 | 15 | 19>[];
1
+ export declare const colors: FlatArray<boolean | string[], 0 | 1 | -1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20>[];
2
2
  export default colors;
@@ -1,6 +1,6 @@
1
1
  import { Dayjs } from 'dayjs';
2
2
  export declare function isTimeArrayChange(prevTime: Dayjs[], nextTime: Dayjs[]): boolean;
3
- export declare function getAvailableDayjsLength(value: any): 0 | 1 | 2;
3
+ export declare function getAvailableDayjsLength(value: any): 1 | 0 | 2;
4
4
  export declare function isDisabledDate(cellDate: any, disabledDate: any, mode: any): boolean;
5
5
  type WeekStartType = 0 | 1 | 2 | 3 | 4 | 5 | 6;
6
6
  export declare function getDefaultWeekStart(dayjsLocale: string): WeekStartType;
@@ -1,124 +1,26 @@
1
1
  export { default as useVerificationCode } from "./use-verification-code";
2
2
  export { default as useWatermark } from "./use-watermark";
3
- export { default as useAsync } from "./useAsync";
4
- export { default as useAsyncFn } from "./useAsyncFn";
5
- export { default as useAsyncRetry } from "./useAsyncRetry";
6
- export { default as useAudio } from "./useAudio";
7
- export { default as useBeforeUnload } from "./useBeforeUnload";
8
- export { default as useBoolean } from "./useBoolean";
9
- export { default as useClickAway } from "./useClickAway";
10
3
  export { default as useComputedState } from "./useComputedState";
11
- export { default as useCopyToClipboard } from "./useCopyToClipboard";
12
- export { default as useCounter } from "./useCounter";
13
- export { default as useCreation } from "./useCreation";
14
- export { default as useCustomCompareEffect } from "./useCustomCompareEffect";
15
- export { default as useDebounce } from "./useDebounce";
16
- export { default as useDefault } from "./useDefault";
17
- export { default as useDrop } from "./useDrop";
18
- export { default as useDropArea } from "./useDropArea";
19
- export { default as useEffectOnce } from "./useEffectOnce";
20
- export { default as useEffectState } from "./useEffectState";
21
- export { default as useEnsuredForwardedRef } from "./useEnsuredForwardedRef";
22
- export { default as useError } from "./useError";
23
- export { default as useEvent } from "./useEvent";
24
- export { default as useEventListener } from "./useEventListener";
25
- export { default as useFavicon } from "./useFavicon";
26
- export { default as useFirstMountState } from "./useFirstMountState";
4
+ export { default as useCreate } from "./useCreate";
27
5
  export { default as useForceUpdate } from "./useForceUpdate";
28
- export { default as useFullscreen } from "./useFullscreen";
29
- export { default as useGeolocation } from "./useGeolocation";
30
- export { default as useGetSet } from "./useGetSet";
31
- export { default as useGetSetState } from "./useGetSetState";
32
- export { default as useHash } from "./useHash";
33
- export { default as useHover } from "./useHover";
34
- export { default as useHoverDirty } from "./useHoverDirty";
35
6
  export { default as useId } from "./useId";
36
- export { default as useIdle } from "./useIdle";
37
- export { default as useInView } from "./useInView";
38
- export { default as useIntersection } from "./useIntersection";
39
7
  export { default as useIntersectionObserver } from "./useIntersectionObserver";
40
8
  export { default as useInterval } from "./useInterval";
9
+ export { default as useInView } from "./useInView";
41
10
  export { default as useIsFirstRender } from "./useIsFirstRender";
42
11
  export { default as useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect";
43
- export { default as useKey } from "./useKey";
44
- export { default as useKeyPress } from "./useKeyPress";
45
- export { default as useKeyPressEvent } from "./useKeyPressEvent";
46
12
  export { default as useKeyboardEvent } from "./useKeyboardEvent";
47
- export { default as useLatest } from "./useLatest";
48
- export { default as useLifecycles } from "./useLifecycles";
49
- export { default as useList } from "./useList";
50
- export { default as useLocalStorage } from "./useLocalStorage";
51
- export { default as useLocation } from "./useLocation";
52
- export { default as useLockBodyScroll } from "./useLockBodyScroll";
53
- export { default as useLogger } from "./useLogger";
54
- export { default as useLongPress } from "./useLongPress";
55
- export { default as useMap } from "./useMap";
56
- export { default as useMeasure } from "./useMeasure";
57
- export { default as useMeasureDirty } from "./useMeasureDirty";
58
13
  export { default as useMedia } from "./useMedia";
59
- export { default as useMediaDevices } from "./useMediaDevices";
60
- export { default as useMediatedState } from "./useMediatedState";
61
14
  export { default as useMergeProps } from "./useMergeProps";
62
15
  export { default as useMergeValue } from "./useMergeValue";
63
- export { default as useMethods } from "./useMethods";
64
- export { default as useMotion } from "./useMotion";
65
- export { default as useMount } from "./useMount";
66
- export { default as useMountedState } from "./useMountedState";
67
- export { default as useMouse } from "./useMouse";
68
- export { default as useMouseHovered } from "./useMouseHovered";
69
- export { default as useMouseWheel } from "./useMouseWheel";
70
- export { default as useMultiStateValidator } from "./useMultiStateValidator";
71
- export { default as useNetworkState } from "./useNetworkState";
72
- export { default as useNumber } from "./useNumber";
73
- export { default as useObservable } from "./useObservable";
74
- export { default as useOrientation } from "./useOrientation";
75
16
  export { default as useOverflowHidden } from "./useOverflowHidden";
76
17
  export { default as useOverrideRef } from "./useOverrideRef";
77
- export { default as usePageLeave } from "./usePageLeave";
78
- export { default as usePermission } from "./usePermission";
79
18
  export { default as usePersistCallback } from "./usePersistCallback";
80
- export { default as usePinchZoom } from "./usePinchZoom";
81
19
  export { default as usePrevious } from "./usePrevious";
82
- export { default as usePreviousDistinct } from "./usePreviousDistinct";
83
- export { default as usePromise } from "./usePromise";
84
- export { default as useQueue } from "./useQueue";
85
- export { default as useRaf } from "./useRaf";
86
- export { default as useRafLoop } from "./useRafLoop";
87
- export { default as useRafState } from "./useRafState";
88
- export { default as useReactive } from "./useReactive";
89
20
  export { default as useRefs } from "./useRefs";
90
- export { default as useRendersCount } from "./useRendersCount";
91
- export { default as useScroll } from "./useScroll";
92
- export { default as useScrolling } from "./useScrolling";
93
- export { default as useSearchParam } from "./useSearchParam";
94
- export { default as useSessionStorage } from "./useSessionStorage";
95
- export { default as useSet } from "./useSet";
96
- export { default as useSetState } from "./useSetState";
97
- export { default as useSize } from "./useSize";
98
- export { default as useSlider } from "./useSlider";
99
- export { default as useSpeech } from "./useSpeech";
100
- export { default as useStartTyping } from "./useStartTyping";
21
+ export { default as useResizeObserver } from "./useResizeObserver";
101
22
  export { default as useStateCallback } from "./useStateCallback";
102
- export { default as useStateList } from "./useStateList";
103
- export { default as useStateValidator } from "./useStateValidator";
104
- export { default as useStateWithHistory } from "./useStateWithHistory";
105
23
  export { default as useStateWithPromise } from "./useStateWithPromise";
106
- export { default as useSyncState } from "./useSyncState";
107
- export { default as useThrottle } from "./useThrottle";
108
- export { default as useThrottleFn } from "./useThrottleFn";
109
- export { default as useTimeout } from "./useTimeout";
110
- export { default as useTimeoutFn } from "./useTimeoutFn";
111
- export { default as useTitle } from "./useTitle";
112
- export { default as useToggle } from "./useToggle";
113
- export { default as useTween } from "./useTween";
114
- export { default as useUnmount } from "./useUnmount";
115
- export { default as useUnmountPromise } from "./useUnmountPromise";
116
- export { default as useUpdate } from "./useUpdate";
117
24
  export { default as useUpdateEffect } from "./useUpdateEffect";
118
- export { default as useUpdateTimeout } from "./useUpdateTimeout";
119
- export { default as useUpsert } from "./useUpsert";
120
- export { default as useVibrate } from "./useVibrate";
121
- export { default as useVideo } from "./useVideo";
122
25
  export { default as useWatch } from "./useWatch";
123
- export { default as useWindowScroll } from "./useWindowScroll";
124
26
  export { default as useWindowSize } from "./useWindowSize";
@@ -1,2 +1 @@
1
- export default useForceUpdate;
2
- declare function useForceUpdate(): () => void;
1
+ export default function useForceUpdate(): import("react").DispatchWithoutAction;
@@ -1,5 +1,5 @@
1
1
  export declare const supportIntersectionObserver: boolean;
2
- declare function useIntersectionObserver(callback: any, options?: {}): {
2
+ declare function useIntersectionObserver(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): {
3
3
  observer: IntersectionObserver | undefined;
4
4
  cor: (elem: Element) => void;
5
5
  dor: () => void;
@@ -2,7 +2,7 @@ import { KeyboardEventHandler } from 'react';
2
2
  type CallBackEventType = 'onPressEnter' | 'onArrowUp' | 'onArrowLeft' | 'onArrowRight' | 'onArrowDown';
3
3
  export default function useKeyboardEvent(props?: {
4
4
  onKeyDown?: KeyboardEventHandler;
5
- }): (callbacks: { [key in CallBackEventType]?: (event: any) => void; }) => {
6
- onKeyDown: (event: any) => void;
5
+ }): (callbacks: { [key in CallBackEventType]?: (e: any) => void; }) => {
6
+ onKeyDown(e: any): void;
7
7
  };
8
8
  export {};
@@ -1,4 +1,4 @@
1
1
  export type MergePropsOptions = {
2
2
  _ignorePropsFromGlobal?: boolean;
3
3
  };
4
- export default function useMergeProps<PropsType>(componentProps: PropsType & MergePropsOptions, defaultProps: Partial<PropsType | undefined>, globalComponentConfig: Partial<PropsType | undefined>): PropsType;
4
+ export default function useMergeProps<PropsType>(componentProps: PropsType & MergePropsOptions, defaultProps: Partial<PropsType>, globalComponentConfig: Partial<PropsType>): PropsType;
@@ -0,0 +1,5 @@
1
+ export default function useResizeObserver(onResize: (entry: ResizeObserverEntry[]) => void): {
2
+ currentOr: ResizeObserver | undefined;
3
+ cor: (elem: Element) => void;
4
+ dor: () => void;
5
+ };
@@ -1,3 +1,2 @@
1
- import { useEffect } from 'react';
2
- declare const useUpdateEffect: typeof useEffect;
3
- export default useUpdateEffect;
1
+ import { DependencyList } from 'react';
2
+ export default function useUpdateEffect(fn: () => void, deps?: DependencyList): void;
@@ -1,4 +1,4 @@
1
- declare const useWindowSize: (initialWidth?: number, initialHeight?: number) => {
1
+ declare const useWindowSize: () => {
2
2
  width: number;
3
3
  height: number;
4
4
  };
@@ -0,0 +1,4 @@
1
+ export * from "@unicom-cloud/icons/ui";
2
+ export { icons };
3
+ export default icons;
4
+ import * as icons from '@unicom-cloud/icons/ui';
package/types/index.d.ts CHANGED
@@ -1,8 +1,15 @@
1
1
  export { default as computeScrollIntoView } from "@unicom-cloud/compute-scroll-into-view";
2
2
  export { default as scrollIntoViewIfNeeded } from "@unicom-cloud/scroll-into-view-if-needed";
3
+ export { default as caseName } from "@unicom-cloud/utils/case-name";
4
+ export { default as className } from "@unicom-cloud/utils/class-name";
5
+ export { default as clipboardCopy } from "@unicom-cloud/utils/clipboard-copy";
6
+ export { default as saveAs } from "@unicom-cloud/utils/file/saveAs";
7
+ export { default as math } from "@unicom-cloud/utils/math";
8
+ export { default as screenfull } from "@unicom-cloud/utils/screenfull";
9
+ export { default as validate } from "@unicom-cloud/utils/validate";
10
+ export * from "@unicom-cloud/utils/is";
3
11
  export * from "./hooks";
4
12
  export * from "./utils/is";
5
- export { default as className } from "./utils/className";
6
13
  export { default as Affix } from "./affix";
7
14
  export { default as Alert } from "./alert";
8
15
  export { default as Anchor } from "./anchor";
@@ -81,5 +88,8 @@ export { default as Upload } from "./upload";
81
88
  export { default as VerificationCode } from "./verification-code";
82
89
  export { default as Version } from "./version";
83
90
  export { default as Watermark } from "./watermark";
84
- export { CSSTransition, SwitchTransition, Transition, TransitionGroup } from "@unicom-cloud/react-transition-group";
91
+ export { CSSTransition, default as ReactTransitionGroup, ReplaceTransition, SwitchTransition, Transition, TransitionGroup } from "@unicom-cloud/react-transition-group";
92
+ export { default as TinyColor, convertDecimalToHex, convertHexToDecimal, hslToRgb, hsvToRgb, numberInputToObject, parseIntFromHex, rgbToHex, rgbToHsl, rgbToHsv, rgbToRgb, rgbaToArgbHex, rgbaToHex } from "@unicom-cloud/utils/tinycolor";
93
+ export { default as Tween, easing } from "@unicom-cloud/utils/tween";
94
+ export { default as UiColor, colorPresets, colors, generate, generateDark, getRgbArrayString, grayPresets, palette, paletteDark } from "@unicom-cloud/utils/ui-color";
85
95
  export { ConfigConsumer, ConfigContext, default as ConfigProvider } from "./config-provider";
@@ -6,6 +6,8 @@ declare const _default: {
6
6
  formatYear: string;
7
7
  formatMonth: string;
8
8
  monthBeforeYear: boolean;
9
+ monthFormat: string;
10
+ yearFormat: string;
9
11
  today: string;
10
12
  view: {
11
13
  month: string;
@@ -71,6 +73,8 @@ declare const _default: {
71
73
  formatYear: string;
72
74
  formatMonth: string;
73
75
  monthBeforeYear: boolean;
76
+ monthFormat: string;
77
+ yearFormat: string;
74
78
  today: string;
75
79
  view: {
76
80
  month: string;
@@ -12,6 +12,8 @@ type CalendarType = {
12
12
  formatYear?: string;
13
13
  formatMonth?: string;
14
14
  monthBeforeYear?: boolean;
15
+ monthFormat?: string;
16
+ yearFormat?: string;
15
17
  };
16
18
  export interface Locale {
17
19
  locale: string;
@@ -6,6 +6,8 @@ declare const _default: {
6
6
  formatYear: string;
7
7
  formatMonth: string;
8
8
  monthBeforeYear: boolean;
9
+ monthFormat: string;
10
+ yearFormat: string;
9
11
  today: string;
10
12
  view: {
11
13
  month: string;
@@ -71,6 +73,8 @@ declare const _default: {
71
73
  formatYear: string;
72
74
  formatMonth: string;
73
75
  monthBeforeYear: boolean;
76
+ monthFormat: string;
77
+ yearFormat: string;
74
78
  today: string;
75
79
  view: {
76
80
  month: string;
@@ -6,6 +6,8 @@ declare const _default: {
6
6
  formatYear: string;
7
7
  formatMonth: string;
8
8
  monthBeforeYear: boolean;
9
+ monthFormat: string;
10
+ yearFormat: string;
9
11
  today: string;
10
12
  view: {
11
13
  month: string;
@@ -71,6 +73,8 @@ declare const _default: {
71
73
  formatYear: string;
72
74
  formatMonth: string;
73
75
  monthBeforeYear: boolean;
76
+ monthFormat: string;
77
+ yearFormat: string;
74
78
  today: string;
75
79
  view: {
76
80
  month: string;
@@ -6,6 +6,8 @@ declare const _default: {
6
6
  formatYear: string;
7
7
  formatMonth: string;
8
8
  monthBeforeYear: boolean;
9
+ yearFormat: string;
10
+ monthFormat: string;
9
11
  today: string;
10
12
  view: {
11
13
  month: string;
@@ -71,6 +73,8 @@ declare const _default: {
71
73
  formatYear: string;
72
74
  formatMonth: string;
73
75
  monthBeforeYear: boolean;
76
+ yearFormat: string;
77
+ monthFormat: string;
74
78
  today: string;
75
79
  view: {
76
80
  month: string;
@@ -6,6 +6,8 @@ declare const _default: {
6
6
  formatYear: string;
7
7
  formatMonth: string;
8
8
  monthBeforeYear: boolean;
9
+ yearFormat: string;
10
+ monthFormat: string;
9
11
  today: string;
10
12
  view: {
11
13
  month: string;
@@ -71,6 +73,8 @@ declare const _default: {
71
73
  formatYear: string;
72
74
  formatMonth: string;
73
75
  monthBeforeYear: boolean;
76
+ yearFormat: string;
77
+ monthFormat: string;
74
78
  today: string;
75
79
  view: {
76
80
  month: string;
@@ -8,4 +8,4 @@ export type ModalConfigType = {
8
8
  export declare const setModalConfig: (config: ModalConfigType) => void;
9
9
  export declare const getModalConfig: () => ModalConfigType;
10
10
  export declare const destroyList: Array<Function>;
11
- export declare const showList: Array<Element>;
11
+ export declare const showList: Array<HTMLElement>;
@@ -1,2 +1,2 @@
1
- export declare const version = "2.63.3";
1
+ export declare const version = "2.64.0";
2
2
  export default version;
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { P as a } from "../chunk/DQ3uFRJD.js";
2
+ import { P as a } from "../chunk/BP7xX86Q.js";
3
3
  import "react";
4
4
  import "./is.js";
5
5
  import "./reactDOM.js";
@@ -1,5 +1,4 @@
1
- import "@unicom-cloud/utils/class-name";
2
- import { default as e } from "@unicom-cloud/utils/class-name";
1
+ import { y as r } from "../chunk/Do1aMgY3.js";
3
2
  export {
4
- e as default
3
+ r as default
5
4
  };
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import { f as t } from "../chunk/xPzFRQJn.js";
2
+ import { o as a } from "../chunk/DUxWiN2U.js";
3
3
  export {
4
- t as default
4
+ a as default
5
5
  };
package/utils/copy.js CHANGED
@@ -1,5 +1,4 @@
1
- import "@unicom-cloud/utils/clipboard-copy";
2
- import { default as p } from "@unicom-cloud/utils/clipboard-copy";
1
+ import { s as r } from "../chunk/Cb_oWoGj.js";
3
2
  export {
4
- p as default
3
+ r as default
5
4
  };
package/utils/is.js CHANGED
@@ -1,105 +1,142 @@
1
- import { isPlainObject as c } from "@unicom-cloud/utils/is";
2
- import { isArguments as L, isArray as h, isArrayBuffer as k, isArrayLike as v, isArrayLikeObject as B, isBlob as P, isBoolean as x, isBuffer as I, isColor as Y, isColor2 as j, isDate as q, isElement as U, isEmpty as V, isEmptyArray as H, isEmptyObject as J, isEmptyValue as z, isEqual as G, isEqualWith as K, isError as Q, isFile as X, isFinite as Z, isFunction as rr, isInteger as ir, isJSON as tr, isLength as sr, isMap as er, isMatch as or, isMatchWith as nr, isNaN as ar, isNative as fr, isNil as ur, isNull as pr, isNumber as yr, isObject as lr, isObjectLike as cr, isPlainObject as Er, isReadableByteStreamControllerSupported as dr, isReadableStream as $r, isReadableStreamSupported as Rr, isReadableStreamSymbolAsyncIteratorSupported as mr, isRegExp as Sr, isSafeInteger as br, isSet as Nr, isString as Ar, isSymbol as Or, isTypedArray as Tr, isUndefined as Cr, isWeakMap as Mr, isWeakSet as _r } from "@unicom-cloud/utils/is";
3
- import { isValidElement as a } from "react";
4
- import f from "react-dom";
5
- import { isForwardRef as u, ForwardRef as e, Memo as E } from "react-is";
6
- function T(r) {
1
+ import { K as D, t as L, r as h, V as k, z as v, G as B, H as P, _ as Y, Y as I, Q as V, f as j, Z as q } from "../chunk/BeM2hfks.js";
2
+ import { isValidElement as i } from "react";
3
+ import u from "react-dom";
4
+ import { isForwardRef as p, ForwardRef as s, Memo as m } from "react-is";
5
+ import y from "lodash/isPlainObject";
6
+ import { default as U } from "lodash/isPlainObject";
7
+ import { default as G } from "lodash/isArguments";
8
+ import { default as K } from "lodash/isArray";
9
+ import { default as Z } from "lodash/isArrayBuffer";
10
+ import { default as rr } from "lodash/isArrayLike";
11
+ import { default as er } from "lodash/isArrayLikeObject";
12
+ import { default as sr } from "lodash/isBoolean";
13
+ import { default as fr } from "lodash/isBuffer";
14
+ import { default as ur } from "lodash/isDate";
15
+ import { default as lr } from "lodash/isElement";
16
+ import { default as dr } from "lodash/isEmpty";
17
+ import { default as yr } from "lodash/isEqual";
18
+ import { default as cr } from "lodash/isEqualWith";
19
+ import { default as $r } from "lodash/isError";
20
+ import { default as Sr } from "lodash/isFinite";
21
+ import { default as Nr } from "lodash/isFunction";
22
+ import { default as Or } from "lodash/isInteger";
23
+ import { default as Cr } from "lodash/isLength";
24
+ import { default as _r } from "lodash/isMap";
25
+ import { default as Fr } from "lodash/isMatch";
26
+ import { default as Wr } from "lodash/isMatchWith";
27
+ import { default as Lr } from "lodash/isNaN";
28
+ import { default as kr } from "lodash/isNative";
29
+ import { default as Br } from "lodash/isNil";
30
+ import { default as Yr } from "lodash/isNull";
31
+ import { default as Vr } from "lodash/isNumber";
32
+ import { default as qr } from "lodash/isObject";
33
+ import { default as Ur } from "lodash/isObjectLike";
34
+ import { default as Gr } from "lodash/isRegExp";
35
+ import { default as Kr } from "lodash/isSafeInteger";
36
+ import { default as Zr } from "lodash/isSet";
37
+ import { default as rt } from "lodash/isString";
38
+ import { default as et } from "lodash/isSymbol";
39
+ import { default as st } from "lodash/isTypedArray";
40
+ import { default as ft } from "lodash/isUndefined";
41
+ import { default as ut } from "lodash/isWeakMap";
42
+ import { default as lt } from "lodash/isWeakSet";
43
+ function O(r) {
7
44
  return r == null;
8
45
  }
9
- function C(r, i) {
10
- return r == null || r === !1 || typeof r == "string" && (i ? r.trim() === "" : r === "");
46
+ function T(r, t) {
47
+ return r == null || r === !1 || typeof r == "string" && (t ? r.trim() === "" : r === "");
11
48
  }
12
- function M(r) {
49
+ function C(r) {
13
50
  return r || r === 0;
14
51
  }
15
- function _(r) {
52
+ function M(r) {
16
53
  return r === window;
17
54
  }
18
- function g(r) {
19
- return c(r) && "$y" in r && "$M" in r && "$D" in r && "$d" in r && "$H" in r && "$m" in r && "$s" in r;
55
+ function _(r) {
56
+ return y(r) && "$y" in r && "$M" in r && "$D" in r && "$d" in r && "$H" in r && "$m" in r && "$s" in r;
20
57
  }
21
- const p = (r) => r && a(r) && typeof r.type == "function", d = (r) => {
22
- var i;
23
- return p(r) && !!((i = r.type.prototype) != null && i.isReactComponent);
24
- }, $ = (r) => a(r) && typeof r.type == "string";
25
- var o;
26
- const F = Number((o = f.version) == null ? void 0 : o.split(".")[0]) > 17;
27
- var n;
28
- const R = Number((n = f.version) == null ? void 0 : n.split(".")[0]) > 18, m = (r) => {
29
- if (!R)
30
- return u(r);
31
- const i = Symbol.for("react.element"), y = Symbol.for("react.transitional.element"), l = Symbol.for("react.forward_ref");
58
+ const l = (r) => r && i(r) && typeof r.type == "function", x = (r) => {
59
+ var t;
60
+ return l(r) && !!((t = r.type.prototype) != null && t.isReactComponent);
61
+ }, c = (r) => i(r) && typeof r.type == "string";
62
+ var a;
63
+ const g = Number((a = u.version) == null ? void 0 : a.split(".")[0]) > 17;
64
+ var f;
65
+ const E = Number((f = u.version) == null ? void 0 : f.split(".")[0]) > 18, $ = (r) => {
66
+ if (!E)
67
+ return p(r);
68
+ const t = Symbol.for("react.element"), n = Symbol.for("react.transitional.element"), d = Symbol.for("react.forward_ref");
32
69
  if (typeof r == "object" && r !== null) {
33
- const t = r.$$typeof;
34
- if (t === i || t === y) {
35
- const s = r.type;
36
- return (s && s.$$typeof) === l;
70
+ const e = r.$$typeof;
71
+ if (e === t || e === n) {
72
+ const o = r.type;
73
+ return (o && o.$$typeof) === d;
37
74
  }
38
75
  }
39
76
  return !1;
40
- }, w = (r) => {
41
- var i;
42
- return r ? $(r) || m(r) || u(r) || r.$$typeof === e ? !0 : r.$$typeof === E ? ((i = r.type) == null ? void 0 : i.$$typeof) === e : p(r) ? d(r) : !1 : !1;
77
+ }, F = (r) => {
78
+ var t;
79
+ return r ? c(r) || $(r) || p(r) || r.$$typeof === s ? !0 : r.$$typeof === m ? ((t = r.type) == null ? void 0 : t.$$typeof) === s : l(r) ? x(r) : !1 : !1;
43
80
  };
44
81
  export {
45
- L as isArguments,
46
- h as isArray,
47
- k as isArrayBuffer,
48
- v as isArrayLike,
49
- B as isArrayLikeObject,
50
- P as isBlob,
51
- x as isBoolean,
52
- I as isBuffer,
53
- d as isClassComponent,
54
- Y as isColor,
55
- j as isColor2,
56
- $ as isDOMElement,
57
- q as isDate,
58
- g as isDayjs,
59
- U as isElement,
60
- V as isEmpty,
61
- H as isEmptyArray,
62
- J as isEmptyObject,
63
- C as isEmptyReactNode,
64
- z as isEmptyValue,
65
- G as isEqual,
66
- K as isEqualWith,
67
- Q as isError,
68
- M as isExist,
69
- X as isFile,
70
- Z as isFinite,
71
- rr as isFunction,
72
- ir as isInteger,
73
- tr as isJSON,
74
- sr as isLength,
75
- er as isMap,
76
- or as isMatch,
77
- nr as isMatchWith,
78
- ar as isNaN,
79
- fr as isNative,
80
- ur as isNil,
81
- pr as isNull,
82
- T as isNullOrUndefined,
83
- yr as isNumber,
84
- lr as isObject,
85
- cr as isObjectLike,
86
- Er as isPlainObject,
87
- F as isReact18,
88
- R as isReact19,
89
- p as isReactComponent,
90
- dr as isReadableByteStreamControllerSupported,
91
- $r as isReadableStream,
92
- Rr as isReadableStreamSupported,
93
- mr as isReadableStreamSymbolAsyncIteratorSupported,
94
- Sr as isRegExp,
95
- br as isSafeInteger,
96
- Nr as isSet,
97
- Ar as isString,
98
- Or as isSymbol,
99
- Tr as isTypedArray,
100
- Cr as isUndefined,
101
- Mr as isWeakMap,
102
- _r as isWeakSet,
103
- _ as isWindow,
104
- w as supportRef
82
+ G as isArguments,
83
+ K as isArray,
84
+ Z as isArrayBuffer,
85
+ rr as isArrayLike,
86
+ er as isArrayLikeObject,
87
+ D as isBlob,
88
+ sr as isBoolean,
89
+ fr as isBuffer,
90
+ x as isClassComponent,
91
+ L as isColor,
92
+ h as isColor2,
93
+ c as isDOMElement,
94
+ ur as isDate,
95
+ _ as isDayjs,
96
+ lr as isElement,
97
+ dr as isEmpty,
98
+ k as isEmptyArray,
99
+ v as isEmptyObject,
100
+ T as isEmptyReactNode,
101
+ B as isEmptyValue,
102
+ yr as isEqual,
103
+ cr as isEqualWith,
104
+ $r as isError,
105
+ C as isExist,
106
+ P as isFile,
107
+ Sr as isFinite,
108
+ Nr as isFunction,
109
+ Or as isInteger,
110
+ Y as isJSON,
111
+ Cr as isLength,
112
+ _r as isMap,
113
+ Fr as isMatch,
114
+ Wr as isMatchWith,
115
+ Lr as isNaN,
116
+ kr as isNative,
117
+ Br as isNil,
118
+ Yr as isNull,
119
+ O as isNullOrUndefined,
120
+ Vr as isNumber,
121
+ qr as isObject,
122
+ Ur as isObjectLike,
123
+ U as isPlainObject,
124
+ g as isReact18,
125
+ E as isReact19,
126
+ l as isReactComponent,
127
+ I as isReadableByteStreamControllerSupported,
128
+ V as isReadableStream,
129
+ j as isReadableStreamSupported,
130
+ q as isReadableStreamSymbolAsyncIteratorSupported,
131
+ Gr as isRegExp,
132
+ Kr as isSafeInteger,
133
+ Zr as isSet,
134
+ rt as isString,
135
+ et as isSymbol,
136
+ st as isTypedArray,
137
+ ft as isUndefined,
138
+ ut as isWeakMap,
139
+ lt as isWeakSet,
140
+ M as isWindow,
141
+ F as supportRef
105
142
  };