@unicom-cloud/ui-common 0.1.8 → 0.1.9

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 (376) hide show
  1. package/Development.js +1 -1
  2. package/Empty.js +1 -1
  3. package/Flex.js +7 -5
  4. package/Motion.js +1 -1
  5. package/Progress.js +1 -1
  6. package/ResizeObserver.js +1 -1
  7. package/Space.js +5 -7
  8. package/SuspenseFallbackTest.js +1 -1
  9. package/TransitionGroup.js +27 -26
  10. package/development/index.js +27 -25
  11. package/empty/index.js +1 -1
  12. package/flex/index.js +63 -67
  13. package/flex/utils.js +31 -0
  14. package/higher-order/index.js +1 -1
  15. package/higher-order/with-speech-synthesis/index.js +1 -1
  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 +54 -52
  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 +1 -1
  27. package/hooks/use-computed-state/index.js +1 -1
  28. package/hooks/use-controllable-value/index.js +1 -1
  29. package/hooks/use-cookie-state/index.js +1 -1
  30. package/hooks/use-count-down/index.js +1 -1
  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 +1 -1
  41. package/hooks/use-drop/index.js +1 -1
  42. package/hooks/use-event/index.js +1 -1
  43. package/hooks/use-event-listener/index.js +1 -1
  44. package/hooks/use-event-target/index.js +1 -1
  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 +1 -1
  50. package/hooks/use-get-state/index.js +1 -1
  51. package/hooks/use-history-travel/index.js +1 -1
  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 +1 -1
  56. package/hooks/use-infinite-scroll/index.js +34 -29
  57. package/hooks/use-intersection-observer/index.js +10 -12
  58. package/hooks/use-intersection-observers/index.js +5 -32
  59. package/hooks/use-interval/index.js +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +9 -12
  75. package/hooks/use-mount/index.js +1 -1
  76. package/hooks/use-mouse/index.js +1 -1
  77. package/hooks/use-move/index.js +59 -49
  78. package/hooks/use-mutation-observer/index.js +1 -1
  79. package/hooks/use-mutation-observers/index.js +5 -4
  80. package/hooks/use-network/index.js +1 -1
  81. package/hooks/use-online-status/index.js +1 -1
  82. package/hooks/use-overflow-hidden/index.js +1 -1
  83. package/hooks/use-override-ref/index.js +1 -1
  84. package/hooks/use-pagination/index.js +1 -1
  85. package/hooks/use-paste-image/index.js +20 -0
  86. package/hooks/use-persist-callback/index.js +1 -1
  87. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  88. package/hooks/use-previous/index.js +1 -1
  89. package/hooks/use-raf-interval/index.js +1 -1
  90. package/hooks/use-raf-state/index.js +1 -1
  91. package/hooks/use-raf-timeout/index.js +1 -1
  92. package/hooks/use-reactive/index.js +1 -1
  93. package/hooks/use-ref-latest/index.js +1 -1
  94. package/hooks/use-refs/index.js +1 -1
  95. package/hooks/use-request/index.js +1 -1
  96. package/hooks/use-request/src/Fetch.js +1 -1
  97. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  98. package/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
  99. package/hooks/use-request/src/plugins/useDebouncePlugin.js +1 -1
  100. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
  101. package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
  102. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
  103. package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
  104. package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
  105. package/hooks/use-request/src/useRequest.js +1 -1
  106. package/hooks/use-request/src/useRequestImplement.js +1 -1
  107. package/hooks/use-request/src/utils/cache.js +1 -1
  108. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  109. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  110. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  111. package/hooks/use-request/src/utils/isOnline.js +1 -1
  112. package/hooks/use-request/src/utils/limit.js +1 -1
  113. package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
  114. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  115. package/hooks/use-reset-state/index.js +1 -1
  116. package/hooks/use-resize-observer/index.js +1 -1
  117. package/hooks/use-resize-observers/index.js +5 -4
  118. package/hooks/use-responsive/index.js +1 -1
  119. package/hooks/use-safe-state/index.js +1 -1
  120. package/hooks/use-scroll/index.js +1 -1
  121. package/hooks/use-selections/index.js +1 -1
  122. package/hooks/use-session-storage-state/index.js +1 -1
  123. package/hooks/use-set/index.js +1 -1
  124. package/hooks/use-set-state/index.js +1 -1
  125. package/hooks/use-size/index.js +1 -1
  126. package/hooks/use-state-callback/index.js +1 -1
  127. package/hooks/use-state-with-promise/index.js +1 -1
  128. package/hooks/use-sync-state/index.js +1 -1
  129. package/hooks/use-text-selection/index.js +1 -1
  130. package/hooks/use-theme/index.js +1 -1
  131. package/hooks/use-throttle/index.js +1 -1
  132. package/hooks/use-throttle-effect/index.js +1 -1
  133. package/hooks/use-throttle-fn/index.js +1 -1
  134. package/hooks/use-timeout/index.js +1 -1
  135. package/hooks/use-title/index.js +1 -1
  136. package/hooks/use-toggle/index.js +1 -1
  137. package/hooks/use-tracked-effect/index.js +1 -1
  138. package/hooks/use-unmount/index.js +1 -1
  139. package/hooks/use-unmounted-ref/index.js +1 -1
  140. package/hooks/use-update/index.js +1 -1
  141. package/hooks/use-update-effect/index.js +1 -1
  142. package/hooks/use-update-layout-effect/index.js +1 -1
  143. package/hooks/use-url-state/index.js +1 -1
  144. package/hooks/use-virtual-list/index.js +1 -1
  145. package/hooks/use-watch/index.js +1 -1
  146. package/hooks/use-web-socket/index.js +1 -1
  147. package/hooks/use-why-did-you-update/index.js +1 -1
  148. package/hooks/use-window-size/index.js +1 -1
  149. package/hooks/useAsyncEffect.js +1 -1
  150. package/hooks/useBoolean.js +1 -1
  151. package/hooks/useClickAway.js +1 -1
  152. package/hooks/useComputedState.js +1 -1
  153. package/hooks/useControllableValue.js +1 -1
  154. package/hooks/useCookieState.js +1 -1
  155. package/hooks/useCountDown.js +1 -1
  156. package/hooks/useCounter.js +1 -1
  157. package/hooks/useCreate.js +1 -1
  158. package/hooks/useCreation.js +1 -1
  159. package/hooks/useDebounce.js +1 -1
  160. package/hooks/useDebounceEffect.js +1 -1
  161. package/hooks/useDebounceFn.js +1 -1
  162. package/hooks/useDeepCompareEffect.js +1 -1
  163. package/hooks/useDeepCompareLayoutEffect.js +1 -1
  164. package/hooks/useDocumentVisibility.js +1 -1
  165. package/hooks/useDrag.js +1 -1
  166. package/hooks/useDrop.js +1 -1
  167. package/hooks/useEvent.js +1 -1
  168. package/hooks/useEventListener.js +1 -1
  169. package/hooks/useEventTarget.js +1 -1
  170. package/hooks/useExternal.js +1 -1
  171. package/hooks/useFavicon.js +1 -1
  172. package/hooks/useFocusWithin.js +1 -1
  173. package/hooks/useForceUpdate.js +1 -1
  174. package/hooks/useFullscreen.js +1 -1
  175. package/hooks/useGetState.js +1 -1
  176. package/hooks/useHistoryTravel.js +1 -1
  177. package/hooks/useHover.js +1 -1
  178. package/hooks/useId.js +1 -1
  179. package/hooks/useInView.js +1 -1
  180. package/hooks/useInViewport.js +1 -1
  181. package/hooks/useInfiniteScroll.js +1 -1
  182. package/hooks/useIntersectionObserver.js +4 -6
  183. package/hooks/useIntersectionObservers.js +5 -32
  184. package/hooks/useInterval.js +1 -1
  185. package/hooks/useIsFirstRender.js +1 -1
  186. package/hooks/useIsomorphicLayoutEffect.js +1 -1
  187. package/hooks/useKeyPress.js +1 -1
  188. package/hooks/useKeyboardEvent.js +1 -1
  189. package/hooks/useLatest.js +1 -1
  190. package/hooks/useListenWindowResize.js +1 -1
  191. package/hooks/useLocalStorageState.js +1 -1
  192. package/hooks/useLockFn.js +1 -1
  193. package/hooks/useLongPress.js +1 -1
  194. package/hooks/useMap.js +1 -1
  195. package/hooks/useMedia.js +1 -1
  196. package/hooks/useMemo.js +1 -1
  197. package/hooks/useMemoizedFn.js +1 -1
  198. package/hooks/useMergeProps.js +1 -1
  199. package/hooks/useMergeValue.js +4 -3
  200. package/hooks/useMount.js +1 -1
  201. package/hooks/useMouse.js +1 -1
  202. package/hooks/useMove.js +4 -3
  203. package/hooks/useMutationObserver.js +1 -1
  204. package/hooks/useMutationObservers.js +5 -4
  205. package/hooks/useNetwork.js +1 -1
  206. package/hooks/useOnlineStatus.js +1 -1
  207. package/hooks/useOverflowHidden.js +1 -1
  208. package/hooks/useOverrideRef.js +1 -1
  209. package/hooks/usePagination.js +1 -1
  210. package/hooks/usePasteImage.js +9 -0
  211. package/hooks/usePersistCallback.js +1 -1
  212. package/hooks/usePrefersColorSchemeDark.js +1 -1
  213. package/hooks/usePrevious.js +1 -1
  214. package/hooks/useRafInterval.js +1 -1
  215. package/hooks/useRafState.js +1 -1
  216. package/hooks/useRafTimeout.js +1 -1
  217. package/hooks/useReactive.js +1 -1
  218. package/hooks/useRefLatest.js +1 -1
  219. package/hooks/useRefs.js +1 -1
  220. package/hooks/useRequest.js +1 -1
  221. package/hooks/useResetState.js +1 -1
  222. package/hooks/useResizeObserver.js +1 -1
  223. package/hooks/useResizeObservers.js +5 -4
  224. package/hooks/useResponsive.js +1 -1
  225. package/hooks/useSafeState.js +1 -1
  226. package/hooks/useScroll.js +1 -1
  227. package/hooks/useSelections.js +1 -1
  228. package/hooks/useSessionStorageState.js +1 -1
  229. package/hooks/useSet.js +1 -1
  230. package/hooks/useSetState.js +1 -1
  231. package/hooks/useSize.js +1 -1
  232. package/hooks/useStateCallback.js +1 -1
  233. package/hooks/useStateWithPromise.js +1 -1
  234. package/hooks/useSyncState.js +1 -1
  235. package/hooks/useTextSelection.js +1 -1
  236. package/hooks/useTheme.js +1 -1
  237. package/hooks/useThrottle.js +1 -1
  238. package/hooks/useThrottleEffect.js +1 -1
  239. package/hooks/useThrottleFn.js +1 -1
  240. package/hooks/useTimeout.js +1 -1
  241. package/hooks/useTitle.js +1 -1
  242. package/hooks/useToggle.js +1 -1
  243. package/hooks/useTrackedEffect.js +1 -1
  244. package/hooks/useUnmount.js +1 -1
  245. package/hooks/useUnmountedRef.js +1 -1
  246. package/hooks/useUpdate.js +1 -1
  247. package/hooks/useUpdateEffect.js +1 -1
  248. package/hooks/useUpdateLayoutEffect.js +1 -1
  249. package/hooks/useUrlState.js +1 -1
  250. package/hooks/useVirtualList.js +1 -1
  251. package/hooks/useWatch.js +1 -1
  252. package/hooks/useWebSocket.js +1 -1
  253. package/hooks/useWhyDidYouUpdate.js +1 -1
  254. package/hooks/useWindowSize.js +1 -1
  255. package/hooks/utils/createEffectWithTarget.js +1 -1
  256. package/hooks/utils/depsAreSame.js +1 -1
  257. package/hooks/utils/depsEqual.js +1 -1
  258. package/hooks/utils/domTarget.js +1 -1
  259. package/hooks/utils/getDocumentOrShadow.js +1 -1
  260. package/hooks/utils/index.js +1 -1
  261. package/hooks/utils/isAppleDevice.js +1 -1
  262. package/hooks/utils/isBrowser.js +1 -1
  263. package/hooks/utils/isDev.js +1 -1
  264. package/hooks/utils/rect.js +1 -1
  265. package/hooks/utils/useDeepCompareWithTarget.js +1 -1
  266. package/hooks/utils/useEffectWithTarget.js +1 -1
  267. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  268. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  269. package/hooks/utils.js +1 -1
  270. package/icons/file/index.js +1 -1
  271. package/icons/file.js +1 -1
  272. package/index.js +635 -48
  273. package/motion/CSSMotion.js +1 -1
  274. package/motion/CSSMotionList.js +1 -1
  275. package/motion/context.js +1 -1
  276. package/motion/hooks/useDomMotionEvents.js +1 -1
  277. package/motion/hooks/useNextFrame.js +1 -1
  278. package/motion/hooks/useStatus.js +1 -1
  279. package/motion/hooks/useStepQueue.js +1 -1
  280. package/motion/index.js +1 -1
  281. package/motion/interface.js +1 -1
  282. package/motion/util/diff.js +1 -1
  283. package/motion/util/motion.js +11 -10
  284. package/package.json +1 -1
  285. package/progress/index.js +40 -53
  286. package/resize-observer/Collection.js +1 -1
  287. package/resize-observer/SingleObserver.js +1 -1
  288. package/resize-observer/index.js +1 -1
  289. package/resize-observer/observerUtil.js +1 -1
  290. package/space/index.js +79 -88
  291. package/style.css +1 -1
  292. package/suspense-fallback-test/index.js +1 -1
  293. package/transition-group/CSSTransition.js +36 -35
  294. package/transition-group/ChildMapping.js +1 -1
  295. package/transition-group/PqbCSSTransition.js +1 -1
  296. package/transition-group/ReplaceTransition.js +1 -1
  297. package/transition-group/SwitchTransition.js +1 -1
  298. package/transition-group/Transition.js +2 -1
  299. package/transition-group/TransitionGroup.js +1 -1
  300. package/transition-group/TransitionGroupContext.js +1 -1
  301. package/transition-group/index.js +27 -26
  302. package/types/development/interface.d.ts +3 -2
  303. package/types/flex/index.d.ts +6 -5
  304. package/types/flex/interface.d.ts +13 -12
  305. package/types/flex/utils.d.ts +19 -0
  306. package/types/hooks/index.d.ts +1 -0
  307. package/types/hooks/use-paste-image/index.d.ts +3 -0
  308. package/types/hooks/use-theme/index.d.ts +2 -2
  309. package/types/index.d.ts +3 -1
  310. package/types/motion/hooks/useStepQueue.d.ts +1 -1
  311. package/types/progress/index.d.ts +0 -28
  312. package/types/space/index.d.ts +4 -4
  313. package/types/space/interface.d.ts +17 -10
  314. package/types/transition-group/index.d.ts +10 -10
  315. package/types/utils/date.d.ts +1 -1
  316. package/types/utils/dom.d.ts +8 -9
  317. package/types/utils/is.d.ts +3 -2
  318. package/types/utils/ref.d.ts +11 -11
  319. package/types/utils/scrollIntoViewIfNeeded.d.ts +1 -1
  320. package/types/utils/tree.d.ts +1 -1
  321. package/types/utils/uuid.d.ts +1 -1
  322. package/types/utils/validate.d.ts +2 -1
  323. package/utils/callbackOriginRef.js +1 -1
  324. package/utils/caseName.js +1 -1
  325. package/utils/className.js +1 -1
  326. package/utils/compute.js +1 -1
  327. package/utils/constant.js +1 -1
  328. package/utils/copy.js +1 -1
  329. package/utils/date.js +8 -2
  330. package/utils/dayjs.js +1 -1
  331. package/utils/dom.js +19 -25
  332. package/utils/emitter.js +1 -1
  333. package/utils/fileToURL.js +1 -1
  334. package/utils/fillNBSP.js +1 -1
  335. package/utils/findRootElement.js +15 -15
  336. package/utils/findScrollParent.js +1 -1
  337. package/utils/getHighlightText.js +1 -1
  338. package/utils/getHotkeyHandler.js +1 -1
  339. package/utils/getStringLength.js +1 -1
  340. package/utils/include.js +6 -6
  341. package/utils/index.js +355 -323
  342. package/utils/intersectionObserver.js +1 -1
  343. package/utils/is.js +113 -76
  344. package/utils/keyboardCode.js +1 -1
  345. package/utils/lodash.js +1 -1
  346. package/utils/math.js +1 -1
  347. package/utils/mergeProps.js +1 -1
  348. package/utils/mergedToString.js +1 -1
  349. package/utils/mutationObserver.js +1 -1
  350. package/utils/omit.js +1 -1
  351. package/utils/pad.js +1 -1
  352. package/utils/pick.js +1 -1
  353. package/utils/pinyin.js +1 -1
  354. package/utils/react19Adapter.js +1 -1
  355. package/utils/ref.js +1 -1
  356. package/utils/resizeObserver.js +1 -1
  357. package/utils/saveAs.js +1 -1
  358. package/utils/screenfull.js +1 -1
  359. package/utils/scrollIntoViewIfNeeded.js +1 -1
  360. package/utils/setCreateRoot.js +1 -1
  361. package/utils/setDarkTheme.js +1 -1
  362. package/utils/setDir.js +1 -1
  363. package/utils/setPrimaryColor.js +1 -1
  364. package/utils/setTheme.js +1 -1
  365. package/utils/string.js +1 -1
  366. package/utils/style.js +1 -1
  367. package/utils/throttleByRaf.js +1 -1
  368. package/utils/throttleByRaf2.js +1 -1
  369. package/utils/tinycolor.js +1 -1
  370. package/utils/toArray.js +1 -1
  371. package/utils/tree.js +7 -9
  372. package/utils/tween.js +1 -1
  373. package/utils/uuid.js +5 -4
  374. package/utils/validate.js +14 -16
  375. package/utils/warning.js +1 -1
  376. package/flex/interface.js +0 -10
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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,89 +1,126 @@
1
- /* 2025-11-28 16:31:16 */
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();
1
+ /* 2025-12-17 18:27:04 */
2
+ import { isBrowser as o } from "@unicom-cloud/utils/constant/platform";
3
+ import { isNullOrUndefined as n, isString as a, isEmptyArray as l, isFunction as c } from "@unicom-cloud/utils/is";
4
+ import { is32Bit as w, isAllChinese as B, isArguments as F, isArray as L, isArrayBuffer as P, isArrayLike as H, isArrayLikeObject as U, isAscii as V, isBase64 as j, isBlob as x, isBoolean as D, isBuffer as k, isChinese as T, isColorValue as J, isDataURI as q, isDate as X, isElement as Y, isEmail as _, isEmpty as z, isEmptyArray as G, isEmptyObject as K, isEmptyValue as Q, isEqual as Z, isEqualWith as $, isError as ii, isEventTarget as si, isExist as ti, isFile as ei, isFinite as ri, isFullWidth as oi, isFunction as ni, isHSL as ai, isHalfWidth as li, isHash as ci, isHexColor as ui, isIMEI as fi, isIP as di, isIPRange as mi, isIdentityCard as pi, isInteger as yi, isJSON as Ei, isJSON_String as gi, isJWT as hi, isLength as Si, isMACAddress as Ri, isMD5 as bi, isMap as Ai, isMatch as Ci, isMatchWith as Mi, isMimeType as Ni, isMobilePhone as Wi, isMobilePhoneLocales as vi, isNaN as Ii, isNative as Oi, isNil as wi, isNull as Bi, isNullOrUndefined as Fi, isNumber as Li, isObject as Pi, isObjectLike as Hi, isPlainObject as Ui, isPort as Vi, isPromise as ji, isReadableStream as xi, isRegExp as Di, isRgbColor as ki, isSafeInteger as Ti, isSemVer as Ji, isSet as qi, isSlug as Xi, isString as Yi, isStrongPassword as _i, isSymbol as zi, isTypedArray as Gi, isURL as Ki, isUUID as Qi, isUndefined as Zi, isVariableWidth as $i, isWeakMap as is, isWeakSet as ss, isWindow as ts } from "@unicom-cloud/utils/is";
5
+ import { isDayjs as rs } from "dayjs";
6
+ import u, { isValidElement as e } from "react";
7
+ import f from "react-dom";
8
+ import { isFragment as d } from "react-is";
9
+ const R = !o, [b, A] = [18, 19].map((i, s, t) => {
10
+ const r = (u.version || f.version || "").match(/\d+/).toString();
11
11
  return i <= parseFloat(r);
12
12
  });
13
- function O(i, s) {
14
- return !!(n(i) || i === !1 || o(i) && (s ? i.trim() === "" : i === "") || a(i));
13
+ function C(i, s) {
14
+ return !!(n(i) || i === !1 || a(i) && (s ? i.trim() === "" : i === "") || l(i));
15
15
  }
16
- function B(i) {
17
- return t(i) && !p(i);
16
+ function M(i) {
17
+ return e(i) && !d(i);
18
18
  }
19
- function f(i) {
20
- return t(i) && c(i.type);
19
+ function m(i) {
20
+ return e(i) && c(i.type);
21
21
  }
22
- function F(i) {
23
- return f(i) && !!i.type.prototype?.isReactComponent;
22
+ function N(i) {
23
+ return m(i) && !!i.type.prototype?.isReactComponent;
24
24
  }
25
- function h(i) {
25
+ function W(i) {
26
26
  return i instanceof Element;
27
27
  }
28
+ function v(i) {
29
+ if (!(i instanceof HTMLElement) || [document.documentElement].includes(i))
30
+ return !1;
31
+ const s = window.getComputedStyle(i), t = ["auto", "scroll", "overlay"];
32
+ return i.scrollHeight > i.offsetHeight && t.includes(s.overflowY) || i.scrollWidth > i.offsetWidth && t.includes(s.overflowX);
33
+ }
28
34
  export {
29
- C as is32Bit,
30
- k as isArguments,
31
- x as isArray,
32
- M as isArrayBuffer,
33
- V as isArrayLike,
34
- W as isArrayLikeObject,
35
- L as isBlob,
35
+ w as is32Bit,
36
+ B as isAllChinese,
37
+ F as isArguments,
38
+ L as isArray,
39
+ P as isArrayBuffer,
40
+ H as isArrayLike,
41
+ U as isArrayLikeObject,
42
+ V as isAscii,
43
+ j as isBase64,
44
+ x as isBlob,
36
45
  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,
45
- J as isEmptyObject,
46
- O as isEmptyReactNode,
47
- z as isEmptyValue,
48
- G as isEqual,
49
- H as isEqualWith,
50
- K as isError,
51
- Q as isEventTarget,
52
- X as isExist,
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,
46
+ k as isBuffer,
47
+ T as isChinese,
48
+ J as isColorValue,
49
+ q as isDataURI,
50
+ X as isDate,
51
+ rs as isDayjs,
52
+ Y as isElement,
53
+ W as isElementByInstanceof,
54
+ _ as isEmail,
55
+ z as isEmpty,
56
+ G as isEmptyArray,
57
+ K as isEmptyObject,
58
+ C as isEmptyReactNode,
59
+ Q as isEmptyValue,
60
+ Z as isEqual,
61
+ $ as isEqualWith,
62
+ ii as isError,
63
+ si as isEventTarget,
64
+ ti as isExist,
65
+ ei as isFile,
66
+ ri as isFinite,
67
+ oi as isFullWidth,
68
+ ni as isFunction,
69
+ ai as isHSL,
70
+ li as isHalfWidth,
71
+ ci as isHash,
72
+ ui as isHexColor,
73
+ fi as isIMEI,
74
+ di as isIP,
75
+ mi as isIPRange,
76
+ pi as isIdentityCard,
77
+ yi as isInteger,
78
+ Ei as isJSON,
79
+ gi as isJSON_String,
80
+ hi as isJWT,
81
+ Si as isLength,
82
+ Ri as isMACAddress,
83
+ bi as isMD5,
84
+ Ai as isMap,
85
+ Ci as isMatch,
86
+ Mi as isMatchWith,
87
+ Ni as isMimeType,
88
+ Wi as isMobilePhone,
89
+ vi as isMobilePhoneLocales,
90
+ Ii as isNaN,
91
+ Oi as isNative,
92
+ wi as isNil,
93
+ Bi as isNull,
94
+ Fi as isNullOrUndefined,
95
+ Li as isNumber,
96
+ Pi as isObject,
97
+ Hi as isObjectLike,
98
+ Ui as isPlainObject,
99
+ Vi as isPort,
100
+ ji as isPromise,
72
101
  b as isReact18,
73
102
  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
103
+ N as isReactClassComponent,
104
+ m as isReactComponent,
105
+ M as isReactComponentAndNotFragment,
106
+ xi as isReadableStream,
107
+ Di as isRegExp,
108
+ ki as isRgbColor,
109
+ Ti as isSafeInteger,
110
+ v as isScrollElement,
111
+ Ji as isSemVer,
112
+ R as isServerRendering,
113
+ qi as isSet,
114
+ Xi as isSlug,
115
+ Yi as isString,
116
+ _i as isStrongPassword,
117
+ zi as isSymbol,
118
+ Gi as isTypedArray,
119
+ Ki as isURL,
120
+ Qi as isUUID,
121
+ Zi as isUndefined,
122
+ $i as isVariableWidth,
123
+ is as isWeakMap,
124
+ ss as isWeakSet,
125
+ ts as isWindow
89
126
  };
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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";
package/utils/math.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
2
2
  import { createRoot as o } from "react-dom/client";
3
3
  import { setCreateRoot as t } from "./setCreateRoot.js";
4
4
  t(o);
package/utils/ref.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
2
2
  import { isValidElement as n } from "react";
3
3
  import { isMemo as p, ForwardRef as u } from "react-is";
4
4
  import l from "../hooks/use-memo/index.js";
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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";
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
2
2
  import i from "react-dom";
3
3
  import m from "react-dom/client";
4
4
  import { isReact18 as R } from "./is.js";
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
2
2
  const o = [
3
3
  "transform",
4
4
  "WebkitTransform",
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
2
2
  function i(n, a = 1) {
3
3
  let e = null;
4
4
  function t(...l) {
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
2
2
  import f from "react";
3
3
  import { isFragment as o } from "react-is";
4
4
  import "./is.js";
package/utils/tree.js CHANGED
@@ -1,14 +1,12 @@
1
- /* 2025-11-28 16:31:16 */
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";
1
+ /* 2025-12-17 18:27:04 */
2
+ import { default as a, findNodeBy as r, getChildWithParentBy as y, getItemBy as d, getItemByID as i, getLabelFromDictionaryByValue as l, searchTree as o, default as B } from "@unicom-cloud/utils/tree";
3
3
  export {
4
4
  a as default,
5
5
  r as findNodeBy,
6
6
  y as getChildWithParentBy,
7
- B as getItemBy,
8
- g as getItemBy2,
9
- m as getItemBy3,
10
- d as getItemByID,
11
- i as getLabelFromDictionaryByValue,
12
- l as searchTree,
13
- o as tree
7
+ d as getItemBy,
8
+ i as getItemByID,
9
+ l as getLabelFromDictionaryByValue,
10
+ o as searchTree,
11
+ B as tree
14
12
  };
package/utils/tween.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
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,6 +1,7 @@
1
- /* 2025-11-28 16:31:16 */
2
- import { v4 as a, v4 as d } from "uuid";
1
+ /* 2025-12-17 18:27:04 */
2
+ import { v4 as v, v4 as d, v4 as s } from "uuid";
3
3
  export {
4
- a as uuid,
5
- d as uuidv4
4
+ v as default,
5
+ d as uuid,
6
+ s as uuidv4
6
7
  };
package/utils/validate.js CHANGED
@@ -1,18 +1,16 @@
1
- /* 2025-11-28 16:31:16 */
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";
1
+ /* 2025-12-17 18:27:04 */
2
+ import { PqbValidator as r, Validator as t, ValidatorArray as l, ValidatorBase as i, ValidatorBoolean as d, ValidatorCustom as V, ValidatorNumber as e, ValidatorObject as m, ValidatorSchema as b, ValidatorString as c, ValidatorType as n, validatorLocale as p } from "@unicom-cloud/utils/validate";
3
3
  export {
4
- l as ArrayValidator,
5
- t as BooleanValidator,
6
- o as CustomValidator,
7
- d as DefaultValidateMessage,
8
- r as NumberValidator,
9
- i as ObjectValidator,
10
- V as Schema,
11
- m as StringValidator,
12
- c as TypeValidator,
13
- u as defaultValidateLocale,
14
- f as enUSValidateLocale,
15
- s as mergeTemplate,
16
- g as validate,
17
- n as zhCNValidateLocale
4
+ r as PqbValidator,
5
+ t as Validator,
6
+ l as ValidatorArray,
7
+ i as ValidatorBase,
8
+ d as ValidatorBoolean,
9
+ V as ValidatorCustom,
10
+ e as ValidatorNumber,
11
+ m as ValidatorObject,
12
+ b as ValidatorSchema,
13
+ c as ValidatorString,
14
+ n as ValidatorType,
15
+ p as validatorLocale
18
16
  };
package/utils/warning.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2025-11-28 16:31:16 */
1
+ /* 2025-12-17 18:27:04 */
2
2
  function i(e, n, ...o) {
3
3
  if (process.env.NODE_ENV !== "production" && console && e)
4
4
  return console.error(
package/flex/interface.js DELETED
@@ -1,10 +0,0 @@
1
- /* 2025-11-28 16:31:16 */
2
- const m = {
3
- mini: 4,
4
- small: 8,
5
- medium: 16,
6
- large: 24
7
- };
8
- export {
9
- m as GAP_SIZE_MAP
10
- };