@unicom-cloud/ui-common 0.1.5 → 0.1.7

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 (396) hide show
  1. package/Development.js +1 -1
  2. package/Empty.js +1 -1
  3. package/Flex.js +1 -1
  4. package/Motion.js +9 -0
  5. package/Progress.js +1 -1
  6. package/ResizeObserver.js +10 -0
  7. package/Space.js +1 -1
  8. package/SuspenseFallbackTest.js +1 -1
  9. package/TransitionGroup.js +30 -29
  10. package/development/index.js +38 -27
  11. package/empty/index.js +36 -32
  12. package/flex/index.js +56 -50
  13. package/flex/interface.js +1 -1
  14. package/higher-order/index.js +1 -1
  15. package/higher-order/with-speech-synthesis/index.js +33 -37
  16. package/higher-order/withSpeechSynthesis.js +1 -1
  17. package/hooks/create-deep-compare-effect/index.js +1 -1
  18. package/hooks/create-update-effect/index.js +1 -1
  19. package/hooks/create-use-storage-state/index.js +1 -1
  20. package/hooks/createDeepCompareEffect.js +1 -1
  21. package/hooks/createUpdateEffect.js +1 -1
  22. package/hooks/createUseStorageState.js +1 -1
  23. package/hooks/index.js +177 -171
  24. package/hooks/use-async-effect/index.js +1 -1
  25. package/hooks/use-boolean/index.js +1 -1
  26. package/hooks/use-click-away/index.js +19 -20
  27. package/hooks/use-computed-state/index.js +1 -1
  28. package/hooks/use-controllable-value/index.js +5 -5
  29. package/hooks/use-cookie-state/index.js +1 -1
  30. package/hooks/use-count-down/index.js +3 -3
  31. package/hooks/use-counter/index.js +1 -1
  32. package/hooks/use-create/index.js +1 -1
  33. package/hooks/use-creation/index.js +1 -1
  34. package/hooks/use-debounce/index.js +1 -1
  35. package/hooks/use-debounce-effect/index.js +1 -1
  36. package/hooks/use-debounce-fn/index.js +1 -1
  37. package/hooks/use-deep-compare-effect/index.js +1 -1
  38. package/hooks/use-deep-compare-layout-effect/index.js +1 -1
  39. package/hooks/use-document-visibility/index.js +1 -1
  40. package/hooks/use-drag/index.js +10 -10
  41. package/hooks/use-drop/index.js +1 -1
  42. package/hooks/use-event/index.js +10 -0
  43. package/hooks/use-event-listener/index.js +15 -16
  44. package/hooks/use-event-target/index.js +3 -3
  45. package/hooks/use-external/index.js +1 -1
  46. package/hooks/use-favicon/index.js +1 -1
  47. package/hooks/use-focus-within/index.js +1 -1
  48. package/hooks/use-force-update/index.js +1 -1
  49. package/hooks/use-fullscreen/index.js +13 -13
  50. package/hooks/use-get-state/index.js +6 -6
  51. package/hooks/use-history-travel/index.js +18 -18
  52. package/hooks/use-hover/index.js +1 -1
  53. package/hooks/use-id/index.js +1 -1
  54. package/hooks/use-in-view/index.js +1 -1
  55. package/hooks/use-in-viewport/index.js +17 -18
  56. package/hooks/use-infinite-scroll/index.js +1 -1
  57. package/hooks/use-intersection-observer/index.js +7 -6
  58. package/hooks/use-intersection-observers/index.js +34 -26
  59. package/hooks/use-interval/index.js +7 -7
  60. package/hooks/use-is-first-render/index.js +1 -1
  61. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  62. package/hooks/use-key-press/index.js +21 -21
  63. package/hooks/use-keyboard-event/index.js +1 -1
  64. package/hooks/use-latest/index.js +1 -1
  65. package/hooks/use-listen-window-resize/index.js +4 -4
  66. package/hooks/use-local-storage-state/index.js +1 -1
  67. package/hooks/use-lock-fn/index.js +1 -1
  68. package/hooks/use-long-press/index.js +24 -24
  69. package/hooks/use-map/index.js +1 -1
  70. package/hooks/use-media/index.js +1 -1
  71. package/hooks/use-memo/index.js +9 -0
  72. package/hooks/use-memoized-fn/index.js +1 -1
  73. package/hooks/use-merge-props/index.js +1 -1
  74. package/hooks/use-merge-value/index.js +1 -1
  75. package/hooks/use-mount/index.js +1 -1
  76. package/hooks/use-mouse/index.js +1 -1
  77. package/hooks/use-mutation-observer/index.js +9 -9
  78. package/hooks/use-mutation-observers/index.js +33 -25
  79. package/hooks/use-network/index.js +1 -1
  80. package/hooks/use-online-status/index.js +1 -1
  81. package/hooks/use-overflow-hidden/index.js +1 -1
  82. package/hooks/use-override-ref/index.js +3 -3
  83. package/hooks/use-pagination/index.js +1 -1
  84. package/hooks/use-persist-callback/index.js +1 -1
  85. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  86. package/hooks/use-previous/index.js +1 -1
  87. package/hooks/use-raf-interval/index.js +15 -15
  88. package/hooks/use-raf-state/index.js +1 -1
  89. package/hooks/use-raf-timeout/index.js +3 -3
  90. package/hooks/use-reactive/index.js +7 -7
  91. package/hooks/use-ref-latest/index.js +1 -1
  92. package/hooks/use-refs/index.js +4 -4
  93. package/hooks/use-request/index.js +1 -1
  94. package/hooks/use-request/src/Fetch.js +1 -1
  95. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  96. package/hooks/use-request/src/plugins/useCachePlugin.js +3 -3
  97. package/hooks/use-request/src/plugins/useDebouncePlugin.js +1 -1
  98. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +8 -8
  99. package/hooks/use-request/src/plugins/usePollingPlugin.js +13 -13
  100. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +3 -3
  101. package/hooks/use-request/src/plugins/useRetryPlugin.js +5 -5
  102. package/hooks/use-request/src/plugins/useThrottlePlugin.js +3 -3
  103. package/hooks/use-request/src/useRequest.js +1 -1
  104. package/hooks/use-request/src/useRequestImplement.js +7 -7
  105. package/hooks/use-request/src/utils/cache.js +1 -1
  106. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  107. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  108. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  109. package/hooks/use-request/src/utils/isOnline.js +1 -1
  110. package/hooks/use-request/src/utils/limit.js +1 -1
  111. package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
  112. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  113. package/hooks/use-reset-state/index.js +7 -7
  114. package/hooks/use-resize-observer/index.js +1 -1
  115. package/hooks/use-resize-observers/index.js +34 -26
  116. package/hooks/use-responsive/index.js +1 -1
  117. package/hooks/use-safe-state/index.js +4 -4
  118. package/hooks/use-scroll/index.js +1 -1
  119. package/hooks/use-selections/index.js +1 -1
  120. package/hooks/use-session-storage-state/index.js +1 -1
  121. package/hooks/use-set/index.js +1 -1
  122. package/hooks/use-set-state/index.js +1 -1
  123. package/hooks/use-size/index.js +20 -23
  124. package/hooks/use-state-callback/index.js +6 -6
  125. package/hooks/use-state-with-promise/index.js +1 -1
  126. package/hooks/use-sync-state/index.js +15 -0
  127. package/hooks/use-text-selection/index.js +13 -13
  128. package/hooks/use-theme/index.js +1 -1
  129. package/hooks/use-throttle/index.js +1 -1
  130. package/hooks/use-throttle-effect/index.js +1 -1
  131. package/hooks/use-throttle-fn/index.js +6 -6
  132. package/hooks/use-timeout/index.js +3 -3
  133. package/hooks/use-title/index.js +1 -1
  134. package/hooks/use-toggle/index.js +1 -1
  135. package/hooks/use-tracked-effect/index.js +1 -1
  136. package/hooks/use-unmount/index.js +1 -1
  137. package/hooks/use-unmounted-ref/index.js +4 -4
  138. package/hooks/use-update/index.js +1 -1
  139. package/hooks/use-update-effect/index.js +1 -1
  140. package/hooks/use-update-layout-effect/index.js +1 -1
  141. package/hooks/use-url-state/index.js +3 -3
  142. package/hooks/use-virtual-list/index.js +10 -10
  143. package/hooks/use-watch/index.js +1 -1
  144. package/hooks/use-web-socket/index.js +30 -30
  145. package/hooks/use-why-did-you-update/index.js +1 -1
  146. package/hooks/use-window-size/index.js +28 -25
  147. package/hooks/useAsyncEffect.js +1 -1
  148. package/hooks/useBoolean.js +1 -1
  149. package/hooks/useClickAway.js +4 -5
  150. package/hooks/useComputedState.js +1 -1
  151. package/hooks/useControllableValue.js +1 -1
  152. package/hooks/useCookieState.js +1 -1
  153. package/hooks/useCountDown.js +1 -1
  154. package/hooks/useCounter.js +1 -1
  155. package/hooks/useCreate.js +1 -1
  156. package/hooks/useCreation.js +1 -1
  157. package/hooks/useDebounce.js +1 -1
  158. package/hooks/useDebounceEffect.js +1 -1
  159. package/hooks/useDebounceFn.js +1 -1
  160. package/hooks/useDeepCompareEffect.js +1 -1
  161. package/hooks/useDeepCompareLayoutEffect.js +1 -1
  162. package/hooks/useDocumentVisibility.js +1 -1
  163. package/hooks/useDrag.js +1 -1
  164. package/hooks/useDrop.js +1 -1
  165. package/hooks/useEvent.js +7 -0
  166. package/hooks/useEventListener.js +4 -5
  167. package/hooks/useEventTarget.js +1 -1
  168. package/hooks/useExternal.js +1 -1
  169. package/hooks/useFavicon.js +1 -1
  170. package/hooks/useFocusWithin.js +1 -1
  171. package/hooks/useForceUpdate.js +1 -1
  172. package/hooks/useFullscreen.js +1 -1
  173. package/hooks/useGetState.js +1 -1
  174. package/hooks/useHistoryTravel.js +1 -1
  175. package/hooks/useHover.js +1 -1
  176. package/hooks/useId.js +1 -1
  177. package/hooks/useInView.js +1 -1
  178. package/hooks/useInViewport.js +4 -5
  179. package/hooks/useInfiniteScroll.js +1 -1
  180. package/hooks/useIntersectionObserver.js +5 -4
  181. package/hooks/useIntersectionObservers.js +11 -7
  182. package/hooks/useInterval.js +1 -1
  183. package/hooks/useIsFirstRender.js +1 -1
  184. package/hooks/useIsomorphicLayoutEffect.js +1 -1
  185. package/hooks/useKeyPress.js +1 -1
  186. package/hooks/useKeyboardEvent.js +1 -1
  187. package/hooks/useLatest.js +1 -1
  188. package/hooks/useListenWindowResize.js +1 -1
  189. package/hooks/useLocalStorageState.js +1 -1
  190. package/hooks/useLockFn.js +1 -1
  191. package/hooks/useLongPress.js +1 -1
  192. package/hooks/useMap.js +1 -1
  193. package/hooks/useMedia.js +1 -1
  194. package/hooks/useMemo.js +6 -0
  195. package/hooks/useMemoizedFn.js +1 -1
  196. package/hooks/useMergeProps.js +1 -1
  197. package/hooks/useMergeValue.js +1 -1
  198. package/hooks/useMount.js +1 -1
  199. package/hooks/useMouse.js +1 -1
  200. package/hooks/useMutationObserver.js +1 -1
  201. package/hooks/useMutationObservers.js +11 -7
  202. package/hooks/useNetwork.js +1 -1
  203. package/hooks/useOnlineStatus.js +1 -1
  204. package/hooks/useOverflowHidden.js +1 -1
  205. package/hooks/useOverrideRef.js +3 -3
  206. package/hooks/usePagination.js +1 -1
  207. package/hooks/usePersistCallback.js +1 -1
  208. package/hooks/usePrefersColorSchemeDark.js +1 -1
  209. package/hooks/usePrevious.js +1 -1
  210. package/hooks/useRafInterval.js +1 -1
  211. package/hooks/useRafState.js +1 -1
  212. package/hooks/useRafTimeout.js +1 -1
  213. package/hooks/useReactive.js +1 -1
  214. package/hooks/useRefLatest.js +1 -1
  215. package/hooks/useRefs.js +1 -1
  216. package/hooks/useRequest.js +1 -1
  217. package/hooks/useResetState.js +1 -1
  218. package/hooks/useResizeObserver.js +1 -1
  219. package/hooks/useResizeObservers.js +11 -7
  220. package/hooks/useResponsive.js +1 -1
  221. package/hooks/useSafeState.js +1 -1
  222. package/hooks/useScroll.js +1 -1
  223. package/hooks/useSelections.js +1 -1
  224. package/hooks/useSessionStorageState.js +1 -1
  225. package/hooks/useSet.js +1 -1
  226. package/hooks/useSetState.js +1 -1
  227. package/hooks/useSize.js +4 -3
  228. package/hooks/useStateCallback.js +1 -1
  229. package/hooks/useStateWithPromise.js +1 -1
  230. package/hooks/useSyncState.js +10 -0
  231. package/hooks/useTextSelection.js +1 -1
  232. package/hooks/useTheme.js +1 -1
  233. package/hooks/useThrottle.js +1 -1
  234. package/hooks/useThrottleEffect.js +1 -1
  235. package/hooks/useThrottleFn.js +1 -1
  236. package/hooks/useTimeout.js +1 -1
  237. package/hooks/useTitle.js +1 -1
  238. package/hooks/useToggle.js +1 -1
  239. package/hooks/useTrackedEffect.js +1 -1
  240. package/hooks/useUnmount.js +1 -1
  241. package/hooks/useUnmountedRef.js +1 -1
  242. package/hooks/useUpdate.js +1 -1
  243. package/hooks/useUpdateEffect.js +1 -1
  244. package/hooks/useUpdateLayoutEffect.js +1 -1
  245. package/hooks/useUrlState.js +1 -1
  246. package/hooks/useVirtualList.js +1 -1
  247. package/hooks/useWatch.js +1 -1
  248. package/hooks/useWebSocket.js +1 -1
  249. package/hooks/useWhyDidYouUpdate.js +1 -1
  250. package/hooks/useWindowSize.js +4 -3
  251. package/hooks/utils/createEffectWithTarget.js +11 -12
  252. package/hooks/utils/depsAreSame.js +1 -1
  253. package/hooks/utils/depsEqual.js +1 -1
  254. package/hooks/utils/domTarget.js +1 -1
  255. package/hooks/utils/getDocumentOrShadow.js +5 -6
  256. package/hooks/utils/index.js +1 -1
  257. package/hooks/utils/isAppleDevice.js +1 -1
  258. package/hooks/utils/isBrowser.js +1 -1
  259. package/hooks/utils/isDev.js +1 -1
  260. package/hooks/utils/rect.js +1 -1
  261. package/hooks/utils/useDeepCompareWithTarget.js +4 -4
  262. package/hooks/utils/useEffectWithTarget.js +1 -1
  263. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  264. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  265. package/hooks/utils.js +1 -1
  266. package/icons/file/index.js +31 -24
  267. package/icons/file.js +1 -1
  268. package/index.js +47 -46
  269. package/motion/CSSMotion.js +102 -0
  270. package/motion/CSSMotionList.js +100 -0
  271. package/motion/context.js +14 -0
  272. package/motion/hooks/useDomMotionEvents.js +21 -0
  273. package/motion/hooks/useNextFrame.js +24 -0
  274. package/motion/hooks/useStatus.js +121 -0
  275. package/motion/hooks/useStepQueue.js +44 -0
  276. package/motion/index.js +9 -0
  277. package/motion/interface.js +14 -0
  278. package/motion/util/diff.js +56 -0
  279. package/motion/util/motion.js +56 -0
  280. package/package.json +1 -1
  281. package/progress/index.js +1 -1
  282. package/resize-observer/Collection.js +25 -0
  283. package/resize-observer/SingleObserver.js +48 -0
  284. package/resize-observer/index.js +27 -0
  285. package/resize-observer/observerUtil.js +22 -0
  286. package/space/index.js +65 -52
  287. package/suspense-fallback-test/index.js +1 -1
  288. package/transition-group/CSSTransition.js +59 -54
  289. package/transition-group/ChildMapping.js +68 -0
  290. package/transition-group/PqbCSSTransition.js +22 -18
  291. package/transition-group/ReplaceTransition.js +7 -7
  292. package/transition-group/SwitchTransition.js +1 -1
  293. package/transition-group/Transition.js +56 -52
  294. package/transition-group/TransitionGroup.js +2 -3
  295. package/transition-group/TransitionGroupContext.js +1 -1
  296. package/transition-group/index.js +30 -29
  297. package/types/hooks/index.d.ts +3 -0
  298. package/types/hooks/use-event/index.d.ts +2 -0
  299. package/types/hooks/use-intersection-observers/index.d.ts +3 -1
  300. package/types/hooks/use-listen-window-resize/index.d.ts +4 -4
  301. package/types/hooks/use-memo/index.d.ts +2 -0
  302. package/types/hooks/use-mutation-observers/index.d.ts +3 -1
  303. package/types/hooks/use-resize-observers/index.d.ts +3 -1
  304. package/types/hooks/use-size/index.d.ts +1 -1
  305. package/types/hooks/use-sync-state/index.d.ts +10 -0
  306. package/types/hooks/use-window-size/index.d.ts +2 -3
  307. package/types/motion/CSSMotion.d.ts +77 -0
  308. package/types/motion/CSSMotionList.d.ts +34 -0
  309. package/types/motion/context.d.ts +9 -0
  310. package/types/motion/hooks/useDomMotionEvents.d.ts +3 -0
  311. package/types/motion/hooks/useNextFrame.d.ts +7 -0
  312. package/types/motion/hooks/useStatus.d.ts +5 -0
  313. package/types/motion/hooks/useStepQueue.d.ts +8 -0
  314. package/types/motion/index.d.ts +9 -0
  315. package/types/motion/interface.d.ts +22 -0
  316. package/types/motion/util/diff.d.ts +20 -0
  317. package/types/motion/util/motion.d.ts +10 -0
  318. package/types/resize-observer/Collection.d.ts +9 -0
  319. package/types/resize-observer/SingleObserver.d.ts +7 -0
  320. package/types/resize-observer/index.d.ts +7 -0
  321. package/types/resize-observer/interface.d.ts +25 -0
  322. package/types/resize-observer/observerUtil.d.ts +3 -0
  323. package/types/space/interface.d.ts +1 -1
  324. package/types/transition-group/CSSTransition.d.ts +0 -1
  325. package/types/transition-group/{utils/ChildMapping.d.ts → ChildMapping.d.ts} +4 -4
  326. package/types/transition-group/SwitchTransition.d.ts +3 -3
  327. package/types/transition-group/Transition.d.ts +1 -1
  328. package/types/transition-group/TransitionGroup.d.ts +1 -1
  329. package/types/transition-group/index.d.ts +1 -1
  330. package/types/utils/callbackOriginRef.d.ts +4 -0
  331. package/types/utils/dom.d.ts +2 -1
  332. package/types/utils/findRootElement.d.ts +23 -0
  333. package/types/utils/index.d.ts +4 -2
  334. package/types/utils/is.d.ts +5 -4
  335. package/types/utils/lodash.d.ts +2 -1
  336. package/types/utils/ref.d.ts +27 -0
  337. package/types/utils/setCreateRoot.d.ts +13 -0
  338. package/types/utils/toArray.d.ts +3 -3
  339. package/utils/callbackOriginRef.js +11 -0
  340. package/utils/caseName.js +1 -1
  341. package/utils/className.js +1 -1
  342. package/utils/compute.js +1 -1
  343. package/utils/constant.js +1 -1
  344. package/utils/copy.js +1 -1
  345. package/utils/date.js +1 -1
  346. package/utils/dayjs.js +1 -1
  347. package/utils/dom.js +12 -10
  348. package/utils/emitter.js +1 -1
  349. package/utils/fileToURL.js +1 -1
  350. package/utils/fillNBSP.js +1 -1
  351. package/utils/findRootElement.js +28 -0
  352. package/utils/findScrollParent.js +1 -1
  353. package/utils/getHighlightText.js +1 -1
  354. package/utils/getHotkeyHandler.js +1 -1
  355. package/utils/getStringLength.js +1 -1
  356. package/utils/include.js +1 -1
  357. package/utils/index.js +341 -329
  358. package/utils/intersectionObserver.js +1 -1
  359. package/utils/is.js +72 -81
  360. package/utils/keyboardCode.js +1 -1
  361. package/utils/lodash.js +45 -43
  362. package/utils/math.js +1 -1
  363. package/utils/mergeProps.js +1 -1
  364. package/utils/mergedToString.js +1 -1
  365. package/utils/mutationObserver.js +1 -1
  366. package/utils/omit.js +1 -1
  367. package/utils/pad.js +1 -1
  368. package/utils/pick.js +1 -1
  369. package/utils/pinyin.js +1 -1
  370. package/utils/react19Adapter.js +2 -2
  371. package/utils/ref.js +41 -0
  372. package/utils/resizeObserver.js +1 -1
  373. package/utils/saveAs.js +1 -1
  374. package/utils/screenfull.js +1 -1
  375. package/utils/scrollIntoViewIfNeeded.js +1 -1
  376. package/utils/setCreateRoot.js +53 -0
  377. package/utils/setDarkTheme.js +1 -1
  378. package/utils/setDir.js +1 -1
  379. package/utils/setPrimaryColor.js +1 -1
  380. package/utils/setTheme.js +1 -1
  381. package/utils/string.js +1 -1
  382. package/utils/style.js +1 -1
  383. package/utils/throttleByRaf.js +1 -1
  384. package/utils/throttleByRaf2.js +1 -1
  385. package/utils/tinycolor.js +1 -1
  386. package/utils/toArray.js +9 -9
  387. package/utils/tree.js +1 -1
  388. package/utils/tween.js +1 -1
  389. package/utils/uuid.js +1 -1
  390. package/utils/validate.js +1 -1
  391. package/utils/warning.js +1 -1
  392. package/transition-group/utils/ChildMapping.js +0 -66
  393. package/types/utils/reactDOM.d.ts +0 -34
  394. package/types/utils/supportRef.d.ts +0 -3
  395. package/utils/reactDOM.js +0 -87
  396. package/utils/supportRef.js +0 -10
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import a from "lodash/throttle";
3
3
  import "./is.js";
4
4
  import { isFunction as f } from "@unicom-cloud/utils/is";
package/utils/is.js CHANGED
@@ -1,98 +1,89 @@
1
- /* 2025-11-19 09:09:36 */
2
- import { isBrowser as f } from "@unicom-cloud/utils/constant/platform";
3
- import { isNullOrUndefined as p, isString as n, isEmptyArray as m, isFunction as u, isObjectLike as y } from "@unicom-cloud/utils/is";
4
- import { is32Bit as h, isArguments as k, isArray as v, isArrayBuffer as B, isArrayLike as w, isArrayLikeObject as x, isBlob as D, isBoolean as P, isBuffer as V, isColorValue as j, isDate as U, isElement as Y, isEmpty as q, isEmptyArray as I, isEmptyObject as J, isEmptyValue as z, isEqual as G, isEqualWith as H, isError as K, isEventTarget as Q, isExist as X, isFile as Z, isFinite as ii, isFunction as ei, isInteger as ri, isJSON as si, isLength as ti, isMap as oi, isMatch as ni, isMatchWith as ai, isNaN as fi, isNative as pi, isNil as mi, isNull as ui, isNullOrUndefined as yi, isNumber as ci, isObject as li, isObjectLike as Ei, isPlainObject as Ri, isPromise as di, isReadableStream as Ni, isRegExp as Si, isSafeInteger as Ai, isSet as Oi, isString as Ti, isSymbol as bi, isTypedArray as gi, isUndefined as $i, isWeakMap as Fi, isWeakSet as _i, isWindow as Ci } from "@unicom-cloud/utils/is";
5
- import { isDayjs as Li } from "dayjs";
6
- import c, { isValidElement as a } from "react";
7
- import l from "react-dom";
8
- import { isForwardRef as E } from "react-is";
9
- const g = !f, [$, R] = [18, 19].map((i, e, s) => {
10
- const r = (c.version || l.version || "").match(/\d+/).toString();
1
+ /* 2025-11-27 12:10:58 */
2
+ import { isBrowser as e } from "@unicom-cloud/utils/constant/platform";
3
+ import { isNullOrUndefined as n, isString as o, isEmptyArray as a, isFunction as c } from "@unicom-cloud/utils/is";
4
+ import { is32Bit as C, isArguments as k, isArray as x, isArrayBuffer as M, isArrayLike as V, isArrayLikeObject as W, isBlob as L, isBoolean as D, isBuffer as I, isColorValue as U, isDate as q, isElement as w, isEmpty as P, isEmptyArray as T, isEmptyObject as J, isEmptyValue as z, isEqual as G, isEqualWith as H, isError as K, isEventTarget as Q, isExist as X, isFile as Y, isFinite as Z, isFunction as _, isInteger as $, isJSON as ii, isLength as si, isMap as ti, isMatch as ri, isMatchWith as ei, isNaN as ni, isNative as oi, isNil as ai, isNull as ci, isNullOrUndefined as ui, isNumber as mi, isObject as pi, isObjectLike as fi, isPlainObject as yi, isPromise as li, isReadableStream as Ei, isRegExp as di, isSafeInteger as gi, isSet as Ri, isString as Ni, isSymbol as Si, isTypedArray as bi, isUndefined as Ai, isWeakMap as Oi, isWeakSet as Bi, isWindow as Fi } from "@unicom-cloud/utils/is";
5
+ import { isDayjs as ji } from "dayjs";
6
+ import u, { isValidElement as t } from "react";
7
+ import m from "react-dom";
8
+ import { isFragment as p } from "react-is";
9
+ const S = !e, [b, A] = [18, 19].map((i, s, y) => {
10
+ const r = (u.version || m.version || "").match(/\d+/).toString();
11
11
  return i <= parseFloat(r);
12
12
  });
13
- function F(i, e) {
14
- return !!(p(i) || i === !1 || n(i) && (e ? i.trim() === "" : i === "") || m(i));
13
+ function O(i, s) {
14
+ return !!(n(i) || i === !1 || o(i) && (s ? i.trim() === "" : i === "") || a(i));
15
15
  }
16
- function d(i) {
17
- return i && a(i) && u(i.type);
16
+ function B(i) {
17
+ return t(i) && !p(i);
18
18
  }
19
- function _(i) {
20
- return d(i) && !!i.type.prototype?.isReactComponent;
19
+ function f(i) {
20
+ return t(i) && c(i.type);
21
21
  }
22
- function C(i) {
23
- return a(i) && n(i.type);
22
+ function F(i) {
23
+ return f(i) && !!i.type.prototype?.isReactComponent;
24
24
  }
25
- function M(i) {
26
- if (!R) return E(i);
27
- const e = Symbol.for("react.element"), s = Symbol.for("react.transitional.element"), t = Symbol.for("react.forward_ref");
28
- if (y(i)) {
29
- const r = i.$$typeof;
30
- if (r === e || r === s) {
31
- const o = i.type;
32
- return (o && o.$$typeof) === t;
33
- }
34
- }
35
- return !1;
25
+ function h(i) {
26
+ return i instanceof Element;
36
27
  }
37
28
  export {
38
- h as is32Bit,
29
+ C as is32Bit,
39
30
  k as isArguments,
40
- v as isArray,
41
- B as isArrayBuffer,
42
- w as isArrayLike,
43
- x as isArrayLikeObject,
44
- D as isBlob,
45
- P as isBoolean,
46
- V as isBuffer,
47
- _ as isClassComponent,
48
- j as isColorValue,
49
- C as isDOMElement,
50
- U as isDate,
51
- Li as isDayjs,
52
- Y as isElement,
53
- q as isEmpty,
54
- I as isEmptyArray,
31
+ x as isArray,
32
+ M as isArrayBuffer,
33
+ V as isArrayLike,
34
+ W as isArrayLikeObject,
35
+ L as isBlob,
36
+ D as isBoolean,
37
+ I as isBuffer,
38
+ U as isColorValue,
39
+ q as isDate,
40
+ ji as isDayjs,
41
+ w as isElement,
42
+ h as isElementByInstanceof,
43
+ P as isEmpty,
44
+ T as isEmptyArray,
55
45
  J as isEmptyObject,
56
- F as isEmptyReactNode,
46
+ O as isEmptyReactNode,
57
47
  z as isEmptyValue,
58
48
  G as isEqual,
59
49
  H as isEqualWith,
60
50
  K as isError,
61
51
  Q as isEventTarget,
62
52
  X as isExist,
63
- Z as isFile,
64
- ii as isFinite,
65
- M as isForwardRefReact,
66
- ei as isFunction,
67
- ri as isInteger,
68
- si as isJSON,
69
- ti as isLength,
70
- oi as isMap,
71
- ni as isMatch,
72
- ai as isMatchWith,
73
- fi as isNaN,
74
- pi as isNative,
75
- mi as isNil,
76
- ui as isNull,
77
- yi as isNullOrUndefined,
78
- ci as isNumber,
79
- li as isObject,
80
- Ei as isObjectLike,
81
- Ri as isPlainObject,
82
- di as isPromise,
83
- $ as isReact18,
84
- R as isReact19,
85
- d as isReactComponent,
86
- Ni as isReadableStream,
87
- Si as isRegExp,
88
- Ai as isSafeInteger,
89
- g as isServerRendering,
90
- Oi as isSet,
91
- Ti as isString,
92
- bi as isSymbol,
93
- gi as isTypedArray,
94
- $i as isUndefined,
95
- Fi as isWeakMap,
96
- _i as isWeakSet,
97
- Ci as isWindow
53
+ Y as isFile,
54
+ Z as isFinite,
55
+ _ as isFunction,
56
+ $ as isInteger,
57
+ ii as isJSON,
58
+ si as isLength,
59
+ ti as isMap,
60
+ ri as isMatch,
61
+ ei as isMatchWith,
62
+ ni as isNaN,
63
+ oi as isNative,
64
+ ai as isNil,
65
+ ci as isNull,
66
+ ui as isNullOrUndefined,
67
+ mi as isNumber,
68
+ pi as isObject,
69
+ fi as isObjectLike,
70
+ yi as isPlainObject,
71
+ li as isPromise,
72
+ b as isReact18,
73
+ A as isReact19,
74
+ F as isReactClassComponent,
75
+ f as isReactComponent,
76
+ B as isReactComponentAndNotFragment,
77
+ Ei as isReadableStream,
78
+ di as isRegExp,
79
+ gi as isSafeInteger,
80
+ S as isServerRendering,
81
+ Ri as isSet,
82
+ Ni as isString,
83
+ Si as isSymbol,
84
+ bi as isTypedArray,
85
+ Ai as isUndefined,
86
+ Oi as isWeakMap,
87
+ Bi as isWeakSet,
88
+ Fi as isWindow
98
89
  };
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import * as o from "@unicom-cloud/utils/constant/keyboardCode";
3
3
  export * from "@unicom-cloud/utils/constant/keyboardCode";
4
4
  export {
package/utils/lodash.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { default as a } from "lodash/assign";
3
3
  import { default as o } from "lodash/assignIn";
4
4
  import { default as s } from "lodash/at";
@@ -7,10 +7,10 @@ import { default as d } from "lodash/capitalize";
7
7
  import { default as x } from "lodash/castArray";
8
8
  import { default as n } from "lodash/chain";
9
9
  import { default as h } from "lodash/chunk";
10
- import { default as y } from "lodash/clone";
10
+ import { default as g } from "lodash/clone";
11
11
  import { default as W } from "lodash/cloneDeep";
12
- import { default as D } from "lodash/cloneDeepWith";
13
- import { default as k } from "lodash/cloneWith";
12
+ import { default as B } from "lodash/cloneDeepWith";
13
+ import { default as b } from "lodash/cloneWith";
14
14
  import { default as q } from "lodash/compact";
15
15
  import { default as w } from "lodash/curry";
16
16
  import { default as I } from "lodash/debounce";
@@ -34,30 +34,31 @@ import { default as de } from "lodash/memoize";
34
34
  import { default as xe } from "lodash/merge";
35
35
  import { default as ne } from "lodash/mergeWith";
36
36
  import { default as he } from "lodash/orderBy";
37
- import { default as ye } from "lodash/partition";
37
+ import { default as ge } from "lodash/partition";
38
38
  import { default as We } from "lodash/pullAll";
39
- import { default as De } from "lodash/result";
40
- import { default as ke } from "lodash/sample";
39
+ import { default as Be } from "lodash/result";
40
+ import { default as be } from "lodash/sample";
41
41
  import { default as qe } from "lodash/sampleSize";
42
42
  import { default as we } from "lodash/set";
43
43
  import { default as Ie } from "lodash/setWith";
44
44
  import { default as Ke } from "lodash/shuffle";
45
45
  import { default as Se } from "lodash/snakeCase";
46
- import { default as je } from "lodash/startCase";
47
- import { default as Ge } from "lodash/throttle";
48
- import { default as Je } from "lodash/toPath";
49
- import { default as Me } from "lodash/truncate";
50
- import { default as Oe } from "lodash/union";
51
- import { default as Re } from "lodash/uniq";
52
- import { default as Ve } from "lodash/uniqueId";
53
- import { default as Ye } from "lodash/unset";
54
- import { default as _e } from "lodash/update";
55
- import { default as et } from "lodash/updateWith";
56
- import { default as at } from "lodash/upperCase";
57
- import { default as ot } from "lodash/upperFirst";
58
- import { default as st } from "lodash/without";
59
- import { default as lt } from "lodash/xor";
60
- import { default as dt } from "lodash/zip";
46
+ import { default as je } from "lodash/sortBy";
47
+ import { default as Ge } from "lodash/startCase";
48
+ import { default as Je } from "lodash/throttle";
49
+ import { default as Me } from "lodash/toPath";
50
+ import { default as Oe } from "lodash/truncate";
51
+ import { default as Re } from "lodash/union";
52
+ import { default as Ve } from "lodash/uniq";
53
+ import { default as Ye } from "lodash/uniqueId";
54
+ import { default as _e } from "lodash/unset";
55
+ import { default as et } from "lodash/update";
56
+ import { default as at } from "lodash/updateWith";
57
+ import { default as ot } from "lodash/upperCase";
58
+ import { default as st } from "lodash/upperFirst";
59
+ import { default as lt } from "lodash/without";
60
+ import { default as dt } from "lodash/xor";
61
+ import { default as xt } from "lodash/zip";
61
62
  export {
62
63
  a as assign,
63
64
  o as assignIn,
@@ -67,10 +68,10 @@ export {
67
68
  x as castArray,
68
69
  n as chain,
69
70
  h as chunk,
70
- y as clone,
71
+ g as clone,
71
72
  W as cloneDeep,
72
- D as cloneDeepWith,
73
- k as cloneWith,
73
+ B as cloneDeepWith,
74
+ b as cloneWith,
74
75
  q as compact,
75
76
  w as curry,
76
77
  I as debounce,
@@ -94,28 +95,29 @@ export {
94
95
  xe as merge,
95
96
  ne as mergeWith,
96
97
  he as orderBy,
97
- ye as partition,
98
+ ge as partition,
98
99
  We as pullAll,
99
- De as result,
100
- ke as sample,
100
+ Be as result,
101
+ be as sample,
101
102
  qe as sampleSize,
102
103
  we as set,
103
104
  Ie as setWith,
104
105
  Ke as shuffle,
105
106
  Se as snakeCase,
106
- je as startCase,
107
- Ge as throttle,
108
- Je as toPath,
109
- Me as truncate,
110
- Oe as union,
111
- Re as uniq,
112
- Ve as uniqueId,
113
- Ye as unset,
114
- _e as update,
115
- et as updateWith,
116
- at as upperCase,
117
- ot as upperFirst,
118
- st as without,
119
- lt as xor,
120
- dt as zip
107
+ je as sortBy,
108
+ Ge as startCase,
109
+ Je as throttle,
110
+ Me as toPath,
111
+ Oe as truncate,
112
+ Re as union,
113
+ Ve as uniq,
114
+ Ye as uniqueId,
115
+ _e as unset,
116
+ et as update,
117
+ at as updateWith,
118
+ ot as upperCase,
119
+ st as upperFirst,
120
+ lt as without,
121
+ dt as xor,
122
+ xt as zip
121
123
  };
package/utils/math.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { default as e, div as m, default as s, minus as u, plus as d, times as f } from "@unicom-cloud/utils/math";
3
3
  export {
4
4
  e as default,
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  function u(f, i, l, s) {
3
3
  const c = i || {}, e = l || {}, o = f || {}, b = s ? new Set(s) : new Set(
4
4
  Object.keys(o).concat(Object.keys(c)).concat(Object.keys(e))
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import p from "react";
3
3
  import "./is.js";
4
4
  import { isPlainObject as i, isString as f, isNumber as m } from "@unicom-cloud/utils/is";
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import s from "lodash/throttle";
3
3
  import "./is.js";
4
4
  import { isFunction as u } from "@unicom-cloud/utils/is";
package/utils/omit.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  function c(n, o) {
3
3
  const t = {
4
4
  ...n
package/utils/pad.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  function s(o, n, i = " ") {
3
3
  const t = String(o);
4
4
  if (!n)
package/utils/pick.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  function s(n, i) {
3
3
  const t = {};
4
4
  return i.forEach((a) => {
package/utils/pinyin.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { default as f, default as t } from "@unicom-cloud/utils/pinyin";
3
3
  export {
4
4
  f as default,
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { createRoot as o } from "react-dom/client";
3
- import { setCreateRoot as t } from "./reactDOM.js";
3
+ import { setCreateRoot as t } from "./setCreateRoot.js";
4
4
  t(o);
package/utils/ref.js ADDED
@@ -0,0 +1,41 @@
1
+ /* 2025-11-27 12:10:58 */
2
+ import { isValidElement as n } from "react";
3
+ import { isMemo as p, ForwardRef as u } from "react-is";
4
+ import l from "../hooks/use-memo/index.js";
5
+ import { isReact19 as s, isReactComponentAndNotFragment as o } from "./is.js";
6
+ import { isFunction as i, isObjectLike as a } from "@unicom-cloud/utils/is";
7
+ const R = (t, e) => {
8
+ i(t) ? t(e) : a(t) && "current" in t && (t.current = e);
9
+ }, m = (...t) => {
10
+ const e = t.filter(Boolean);
11
+ return e.length <= 1 ? e[0] : (r) => {
12
+ t.forEach((f) => {
13
+ R(f, r);
14
+ });
15
+ };
16
+ }, L = (...t) => l(
17
+ () => m(...t),
18
+ t,
19
+ (e, r) => e.length !== r.length || e.every((f, c) => f !== r[c])
20
+ );
21
+ function y(t) {
22
+ if (!t) return !1;
23
+ if (o(t) && s)
24
+ return !0;
25
+ const e = p(t) ? t.type.type : t.type;
26
+ return !(i(e) && !e.prototype?.render && e.$$typeof !== u || i(t) && !t.prototype?.render && t.$$typeof !== u);
27
+ }
28
+ const M = (t) => o(t) && y(t);
29
+ function g(t) {
30
+ return n(t) ? s ? t.props?.ref : t.ref : null;
31
+ }
32
+ const b = g;
33
+ export {
34
+ m as composeRef,
35
+ R as fillRef,
36
+ b as getNodeRef,
37
+ g as getReactElementRef,
38
+ M as supportNodeRef,
39
+ y as supportRef,
40
+ L as useComposeRef
41
+ };
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import u from "lodash/throttle";
3
3
  import { NOOP as l } from "./constant.js";
4
4
  import "./is.js";
package/utils/saveAs.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { default as f, default as s } from "@unicom-cloud/utils/file/saveAs";
3
3
  export {
4
4
  f as default,
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { default as l, default as a } from "@unicom-cloud/utils/screenfull";
3
3
  export {
4
4
  l as default,
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { getScrollMargins as d, compute as c } from "./compute.js";
3
3
  import { alignNearest as x, canOverflow as C, getFrameElement as F, getParentElement as H, isHiddenByFrame as j, isScrollable as E } from "./compute.js";
4
4
  import "./is.js";
@@ -0,0 +1,53 @@
1
+ /* 2025-11-27 12:10:58 */
2
+ import i from "react-dom";
3
+ import m from "react-dom/client";
4
+ import { isReact18 as R } from "./is.js";
5
+ import { isFunction as _, isObject as E } from "@unicom-cloud/utils/is";
6
+ const c = "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED";
7
+ function s(e) {
8
+ E(i[c]) && (i[c].usingClientEntryPoint = e);
9
+ }
10
+ let u;
11
+ try {
12
+ u = i.createRoot || m.createRoot;
13
+ } catch (e) {
14
+ console.error(e);
15
+ }
16
+ let f;
17
+ function a(e) {
18
+ e && (u = e), R && u ? f = (n, o) => {
19
+ s(!0);
20
+ const t = u(o);
21
+ return s(!1), t.render(n), {
22
+ ...t,
23
+ render(r) {
24
+ t.render(r);
25
+ },
26
+ _unmount() {
27
+ return setTimeout(() => {
28
+ t?.unmount?.();
29
+ });
30
+ }
31
+ };
32
+ } : f = (n, o) => {
33
+ const t = i.render;
34
+ return _(t) && t(n, o), {
35
+ render(r) {
36
+ _(t) && t(r, o);
37
+ },
38
+ _unmount() {
39
+ const r = i.unmountComponentAtNode;
40
+ _(r) && r(o);
41
+ }
42
+ };
43
+ };
44
+ }
45
+ a();
46
+ function O(e, n) {
47
+ return f(e, n);
48
+ }
49
+ export {
50
+ a as default,
51
+ O as render,
52
+ a as setCreateRoot
53
+ };
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { UI_PC_THEME_DARK_CLASS_NAME as i } from "@unicom-cloud/utils/constant/ui";
3
3
  import { CSS_VARIABLE_ELEMENT as n } from "./constant.js";
4
4
  const o = "dark";
package/utils/setDir.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { UI_PC_PREFIX as e } from "@unicom-cloud/utils/constant/ui.js";
3
3
  import { CSS_VARIABLE_ELEMENT as s } from "./constant.js";
4
4
  import "./is.js";
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { UI_PC_PREFIX as y } from "@unicom-cloud/utils/constant/ui";
3
3
  import c from "@unicom-cloud/utils/tinycolor";
4
4
  import * as o from "@unicom-cloud/utils/ui-color";
package/utils/setTheme.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { UI_PC_PREFIX as m } from "@unicom-cloud/utils/constant/ui.js";
3
3
  import n from "@unicom-cloud/utils/tinycolor";
4
4
  import { CSS_VARIABLE_ELEMENT as p } from "./constant.js";
package/utils/string.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { replaceEmptyWithHyphen as p } from "@unicom-cloud/utils/string";
3
3
  import { isEmptyReactNode as r } from "./is.js";
4
4
  function m(t) {
package/utils/style.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  const o = [
3
3
  "transform",
4
4
  "WebkitTransform",
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  function i(n, a = 1) {
3
3
  let e = null;
4
4
  function t(...l) {
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { throttleByRaf as r } from "./throttleByRaf.js";
3
3
  function e(t) {
4
4
  return r(t, 2);
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  export * from "@unicom-cloud/utils/tinycolor";
3
3
  import { default as e, default as f } from "@unicom-cloud/utils/tinycolor";
4
4
  export {
package/utils/toArray.js CHANGED
@@ -1,15 +1,15 @@
1
- /* 2025-11-19 09:09:36 */
2
- import s from "react";
3
- import { isFragment as f } from "react-is";
1
+ /* 2025-11-27 12:10:58 */
2
+ import f from "react";
3
+ import { isFragment as o } from "react-is";
4
4
  import "./is.js";
5
- import { isArray as m } from "@unicom-cloud/utils/is";
6
- function t(o, p = {}) {
5
+ import { isNullOrUndefined as m, isArray as n } from "@unicom-cloud/utils/is";
6
+ function p(s, t = {}) {
7
7
  const e = [];
8
- return s.Children.forEach(o, (r) => {
9
- r == null && !p.keepEmpty || (m(r) ? e.push(...t(r, p)) : f(r) && "props" in r && r.props ? e.push(...t(r.props.children, p)) : e.push(r));
8
+ return f.Children.forEach(s, (r) => {
9
+ m(r) && !t.keepEmpty || (n(r) ? e.push(...p(r, t)) : o(r) && r.props ? e.push(...p(r.props.children, t)) : e.push(r));
10
10
  }), e;
11
11
  }
12
12
  export {
13
- t as default,
14
- t as toArray
13
+ p as default,
14
+ p as toArray
15
15
  };
package/utils/tree.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { default as a, findNodeBy as r, getChildWithParentBy as y, getItemBy as B, getItemBy2 as g, getItemBy3 as m, getItemByID as d, getLabelFromDictionaryByValue as i, searchTree as l, default as o } from "@unicom-cloud/utils/tree";
3
3
  export {
4
4
  a as default,
package/utils/tween.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { default as f, default as t, easing as d } from "@unicom-cloud/utils/tween";
3
3
  export {
4
4
  f as Tween,
package/utils/uuid.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { v4 as a, v4 as d } from "uuid";
3
3
  export {
4
4
  a as uuid,
package/utils/validate.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  import { ArrayValidator as l, BooleanValidator as t, CustomValidator as o, DefaultValidateMessage as d, NumberValidator as r, ObjectValidator as i, Schema as V, StringValidator as m, TypeValidator as c, defaultValidateLocale as u, enUSValidateLocale as f, mergeTemplate as s, default as g, zhCNValidateLocale as n } from "@unicom-cloud/utils/validate";
3
3
  export {
4
4
  l as ArrayValidator,
package/utils/warning.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-19 09:09:36 */
1
+ /* 2025-11-27 12:10:58 */
2
2
  function i(e, n, ...o) {
3
3
  if (process.env.NODE_ENV !== "production" && console && e)
4
4
  return console.error(