@unicom-cloud/ui-common 0.1.45 → 0.1.47

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 (478) hide show
  1. package/.virtual/_rolldown/runtime.js +3 -1
  2. package/animation/Animation.d.ts +2 -1
  3. package/animation/Animation.js +30 -28
  4. package/animation/constants.js +3 -1
  5. package/animation/context.js +3 -1
  6. package/animation/index.d.ts +4 -0
  7. package/animation/index.js +5 -3
  8. package/animation/style/index.js +3 -1
  9. package/animation/utils.js +3 -1
  10. package/base/Base.js +3 -1
  11. package/base/constants.js +3 -1
  12. package/base/context.js +3 -1
  13. package/base/index.d.ts +0 -1
  14. package/base/index.js +3 -1
  15. package/base/style/index.js +3 -1
  16. package/base/utils.js +3 -1
  17. package/border-beam/BorderBeam.d.ts +8 -1
  18. package/border-beam/BorderBeam.js +37 -32
  19. package/border-beam/Effect.js +3 -1
  20. package/border-beam/constants.js +3 -1
  21. package/border-beam/context.js +3 -1
  22. package/border-beam/hooks/useBorderSize.js +3 -1
  23. package/border-beam/hooks/useChildDom.js +10 -8
  24. package/border-beam/index.d.ts +9 -0
  25. package/border-beam/index.js +4 -2
  26. package/border-beam/style/index.js +3 -1
  27. package/border-beam/utils.js +4 -2
  28. package/development/Development.d.ts +8 -2
  29. package/development/Development.js +24 -17
  30. package/development/constants.js +3 -1
  31. package/development/context.js +3 -1
  32. package/development/index.d.ts +9 -1
  33. package/development/index.js +4 -2
  34. package/development/style/index.js +3 -1
  35. package/development/utils.js +3 -1
  36. package/empty/Empty.d.ts +8 -2
  37. package/empty/Empty.js +21 -15
  38. package/empty/constants.js +3 -1
  39. package/empty/context.js +3 -1
  40. package/empty/index.d.ts +9 -1
  41. package/empty/index.js +5 -3
  42. package/empty/style/index.js +3 -1
  43. package/empty/utils.js +3 -1
  44. package/flex/Flex.d.ts +9 -4
  45. package/flex/Flex.js +45 -45
  46. package/flex/FlexVertical.d.ts +10 -0
  47. package/flex/FlexVertical.js +19 -0
  48. package/flex/constants.js +3 -1
  49. package/flex/context.js +3 -1
  50. package/flex/index.d.ts +20 -5
  51. package/flex/index.js +8 -5
  52. package/flex/interface.d.ts +14 -7
  53. package/flex/style/index.js +3 -1
  54. package/flex/utils.d.ts +7 -3
  55. package/flex/utils.js +27 -18
  56. package/globe/Globe.d.ts +10 -0
  57. package/globe/Globe.js +140 -0
  58. package/globe/constants.d.ts +0 -0
  59. package/globe/constants.js +4 -0
  60. package/globe/context.d.ts +3 -0
  61. package/globe/context.js +26 -0
  62. package/globe/globe.json.js +42585 -0
  63. package/globe/hooks/index.d.ts +0 -0
  64. package/globe/index.d.ts +19 -0
  65. package/globe/index.js +15 -0
  66. package/globe/interface.d.ts +46 -0
  67. package/globe/style/index.css +1 -0
  68. package/globe/style/index.d.ts +1 -0
  69. package/globe/style/index.js +5 -0
  70. package/globe/utils.d.ts +0 -0
  71. package/globe/utils.js +4 -0
  72. package/grid/Grid.d.ts +10 -0
  73. package/grid/Grid.js +58 -0
  74. package/grid/Item.d.ts +10 -0
  75. package/grid/Item.js +40 -0
  76. package/grid/constants.d.ts +0 -0
  77. package/grid/constants.js +4 -0
  78. package/grid/context.d.ts +12 -0
  79. package/grid/context.js +13 -0
  80. package/grid/hooks/index.d.ts +0 -0
  81. package/grid/index.d.ts +35 -0
  82. package/grid/index.js +18 -0
  83. package/grid/interface.d.ts +89 -0
  84. package/grid/style/index.css +1 -0
  85. package/grid/style/index.d.ts +1 -0
  86. package/grid/style/index.js +5 -0
  87. package/grid/utils.d.ts +3 -0
  88. package/grid/utils.js +26 -0
  89. package/higher-order/index.js +3 -1
  90. package/higher-order/with-speech-synthesis/context.js +5 -3
  91. package/higher-order/with-speech-synthesis/index.d.ts +2 -1
  92. package/higher-order/with-speech-synthesis/index.js +4 -2
  93. package/higher-order/with-speech-synthesis/style/index.js +3 -1
  94. package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +62 -57
  95. package/hoc/withContext.js +3 -1
  96. package/hooks/create-deep-compare-effect/index.js +8 -6
  97. package/hooks/create-update-effect/index.js +3 -1
  98. package/hooks/create-use-storage-state/index.js +24 -22
  99. package/hooks/index.d.ts +3 -2
  100. package/hooks/index.js +7 -4
  101. package/hooks/use-async-effect/index.js +12 -10
  102. package/hooks/use-boolean/index.js +3 -1
  103. package/hooks/use-click-away/index.js +3 -1
  104. package/hooks/use-computed-state/index.js +3 -1
  105. package/hooks/use-controllable-value/index.js +34 -39
  106. package/hooks/use-cookie-state/index.js +14 -12
  107. package/hooks/use-count-down/index.js +9 -7
  108. package/hooks/use-counter/index.js +16 -14
  109. package/hooks/use-create/index.js +3 -1
  110. package/hooks/use-creation/index.js +3 -1
  111. package/hooks/use-debounce/index.js +3 -1
  112. package/hooks/use-debounce-effect/index.js +3 -1
  113. package/hooks/use-debounce-fn/index.js +11 -9
  114. package/hooks/use-deep-compare-effect/index.js +3 -1
  115. package/hooks/use-deep-compare-layout-effect/index.js +3 -1
  116. package/hooks/use-document-visibility/index.js +3 -1
  117. package/hooks/use-drag/index.js +21 -19
  118. package/hooks/use-drag-move/index.js +31 -29
  119. package/hooks/use-drop/index.js +31 -29
  120. package/hooks/use-effect-event/index.js +3 -1
  121. package/hooks/use-event/index.js +5 -3
  122. package/hooks/use-event-emitter/index.js +3 -1
  123. package/hooks/use-event-listener/index.js +3 -1
  124. package/hooks/use-event-target/index.js +10 -8
  125. package/hooks/use-external/index.js +30 -28
  126. package/hooks/use-favicon/index.js +3 -1
  127. package/hooks/use-focus-within/index.js +3 -1
  128. package/hooks/use-force-update/index.js +3 -1
  129. package/hooks/use-fullscreen/index.js +20 -18
  130. package/hooks/use-get-state/index.d.ts +1 -1
  131. package/hooks/use-get-state/index.js +3 -1
  132. package/hooks/use-history-travel/index.js +23 -21
  133. package/hooks/use-hover/index.js +3 -1
  134. package/hooks/use-id/index.js +7 -5
  135. package/hooks/use-in-viewport/index.js +17 -14
  136. package/hooks/use-infinite-scroll/index.js +47 -45
  137. package/hooks/use-intersection-observer/index.js +11 -8
  138. package/hooks/use-intersection-observers/index.js +22 -20
  139. package/hooks/use-interval/index.js +9 -7
  140. package/hooks/use-is-first-render/index.js +3 -1
  141. package/hooks/use-isomorphic-layout-effect/index.js +3 -1
  142. package/hooks/use-key-press/index.js +30 -28
  143. package/hooks/use-keyboard-event/index.js +3 -1
  144. package/hooks/use-latest/index.js +3 -1
  145. package/hooks/use-listen-window-resize/index.js +3 -1
  146. package/hooks/use-local-storage-state/index.js +3 -1
  147. package/hooks/use-lock-fn/index.js +3 -1
  148. package/hooks/use-long-press/index.js +3 -1
  149. package/hooks/use-map/index.js +3 -1
  150. package/hooks/use-media/index.js +13 -11
  151. package/hooks/use-memo/index.js +3 -1
  152. package/hooks/use-memoized-fn/index.js +9 -7
  153. package/hooks/use-merge-component-props/index.d.ts +14 -0
  154. package/hooks/use-merge-component-props/index.js +14 -0
  155. package/hooks/use-merge-value/index.js +13 -11
  156. package/hooks/use-mobile/index.js +3 -1
  157. package/hooks/use-mount/index.js +8 -6
  158. package/hooks/use-mouse/index.js +3 -1
  159. package/hooks/use-move/index.js +3 -1
  160. package/hooks/use-mutation-observer/index.js +3 -1
  161. package/hooks/use-mutation-observers/index.js +22 -20
  162. package/hooks/use-network/index.js +10 -8
  163. package/hooks/use-online-status/index.js +3 -1
  164. package/hooks/use-overflow-hidden/index.js +3 -1
  165. package/hooks/use-override-ref/index.js +3 -1
  166. package/hooks/use-pagination/index.js +3 -1
  167. package/hooks/use-paste-image/index.js +15 -13
  168. package/hooks/use-persist-callback/index.js +3 -1
  169. package/hooks/use-prefers-color-scheme-dark/index.js +3 -1
  170. package/hooks/use-previous/index.js +3 -1
  171. package/hooks/use-raf-interval/index.js +17 -15
  172. package/hooks/use-raf-state/index.js +3 -1
  173. package/hooks/use-raf-timeout/index.js +16 -14
  174. package/hooks/use-reactive/index.js +26 -24
  175. package/hooks/use-ref-latest/index.js +3 -1
  176. package/hooks/use-ref-map/index.d.ts +3 -0
  177. package/hooks/use-ref-map/index.js +14 -0
  178. package/hooks/use-refs/index.d.ts +1 -2
  179. package/hooks/use-refs/index.js +8 -12
  180. package/hooks/use-request/index.js +3 -1
  181. package/hooks/use-request/src/Fetch.js +11 -9
  182. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +3 -1
  183. package/hooks/use-request/src/plugins/useCachePlugin.js +3 -1
  184. package/hooks/use-request/src/plugins/useDebouncePlugin.js +28 -19
  185. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +3 -1
  186. package/hooks/use-request/src/plugins/usePollingPlugin.js +3 -1
  187. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +3 -1
  188. package/hooks/use-request/src/plugins/useRetryPlugin.js +3 -1
  189. package/hooks/use-request/src/plugins/useThrottlePlugin.js +7 -5
  190. package/hooks/use-request/src/useRequest.js +3 -1
  191. package/hooks/use-request/src/useRequestImplement.js +39 -37
  192. package/hooks/use-request/src/utils/cache.js +3 -1
  193. package/hooks/use-request/src/utils/cachePromise.js +3 -1
  194. package/hooks/use-request/src/utils/cacheSubscribe.js +3 -1
  195. package/hooks/use-request/src/utils/isDocumentVisible.js +3 -1
  196. package/hooks/use-request/src/utils/isOnline.js +6 -4
  197. package/hooks/use-request/src/utils/limit.js +3 -1
  198. package/hooks/use-request/src/utils/subscribeFocus.js +4 -2
  199. package/hooks/use-request/src/utils/subscribeReVisible.js +3 -1
  200. package/hooks/use-reset-state/index.js +9 -7
  201. package/hooks/use-resize-observer/index.js +3 -1
  202. package/hooks/use-resize-observers/index.js +22 -20
  203. package/hooks/use-responsive/index.js +3 -1
  204. package/hooks/use-safe-state/index.d.ts +1 -1
  205. package/hooks/use-safe-state/index.js +3 -1
  206. package/hooks/use-scroll/index.js +3 -1
  207. package/hooks/use-selections/index.js +21 -19
  208. package/hooks/use-session-storage-state/index.js +3 -1
  209. package/hooks/use-set/index.js +3 -1
  210. package/hooks/use-set-state/index.d.ts +7 -2
  211. package/hooks/use-set-state/index.js +15 -13
  212. package/hooks/use-size/index.js +22 -20
  213. package/hooks/use-state-callback/index.d.ts +2 -2
  214. package/hooks/use-state-callback/index.js +13 -11
  215. package/hooks/use-state-with-promise/index.js +15 -13
  216. package/hooks/use-sync-state/index.d.ts +1 -1
  217. package/hooks/use-sync-state/index.js +10 -8
  218. package/hooks/use-text-selection/index.js +3 -1
  219. package/hooks/use-theme/index.js +3 -1
  220. package/hooks/use-throttle/index.js +3 -1
  221. package/hooks/use-throttle-effect/index.js +3 -1
  222. package/hooks/use-throttle-fn/index.js +11 -9
  223. package/hooks/use-throttle-fn-with-raf/index.js +14 -12
  224. package/hooks/use-timeout/index.js +9 -7
  225. package/hooks/use-title/index.js +3 -1
  226. package/hooks/use-toggle/index.js +10 -8
  227. package/hooks/use-tracked-effect/index.js +3 -1
  228. package/hooks/use-unmount/index.js +10 -8
  229. package/hooks/use-unmounted-ref/index.js +3 -1
  230. package/hooks/use-update/index.js +13 -11
  231. package/hooks/use-update-effect/index.js +3 -1
  232. package/hooks/use-update-layout-effect/index.js +3 -1
  233. package/hooks/use-url-state/index.js +11 -9
  234. package/hooks/use-virtual-list/index.js +35 -33
  235. package/hooks/use-watch/index.js +9 -7
  236. package/hooks/use-web-socket/index.js +3 -1
  237. package/hooks/use-why-did-you-update/index.js +3 -1
  238. package/hooks/use-window-size/index.js +17 -15
  239. package/hooks/utils/createEffectWithTarget.js +3 -1
  240. package/hooks/utils/depsAreSame.js +3 -1
  241. package/hooks/utils/depsEqual.js +4 -2
  242. package/hooks/utils/domTarget.js +7 -5
  243. package/hooks/utils/getDocumentOrShadow.js +3 -1
  244. package/hooks/utils/index.js +3 -1
  245. package/hooks/utils/isAppleDevice.js +3 -1
  246. package/hooks/utils/isBrowser.js +3 -1
  247. package/hooks/utils/isDev.js +3 -1
  248. package/hooks/utils/rect.js +3 -1
  249. package/hooks/utils/useDeepCompareWithTarget.js +3 -1
  250. package/hooks/utils/useEffectWithTarget.js +3 -1
  251. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +3 -1
  252. package/hooks/utils/useLayoutEffectWithTarget.js +3 -1
  253. package/icons/file/File.d.ts +8 -2
  254. package/icons/file/File.js +39 -35
  255. package/icons/file/context.js +5 -3
  256. package/icons/file/index.d.ts +9 -1
  257. package/icons/file/index.js +4 -2
  258. package/icons/file/style/index.js +3 -1
  259. package/index.d.ts +3 -1
  260. package/index.js +572 -651
  261. package/liquid-logo/LiquidLogo.d.ts +10 -0
  262. package/liquid-logo/LiquidLogo.js +122 -0
  263. package/liquid-logo/constants.d.ts +0 -0
  264. package/liquid-logo/constants.js +4 -0
  265. package/liquid-logo/context.d.ts +3 -0
  266. package/liquid-logo/context.js +17 -0
  267. package/liquid-logo/hooks/index.d.ts +0 -0
  268. package/liquid-logo/index.d.ts +21 -0
  269. package/liquid-logo/index.js +17 -0
  270. package/liquid-logo/interface.d.ts +12 -0
  271. package/liquid-logo/parseLogoImage.d.ts +4 -0
  272. package/liquid-logo/parseLogoImage.js +77 -0
  273. package/liquid-logo/shader.d.ts +2 -0
  274. package/liquid-logo/shader.js +8 -0
  275. package/liquid-logo/style/index.d.ts +1 -0
  276. package/liquid-logo/style/index.js +5 -0
  277. package/liquid-logo/utils.d.ts +0 -0
  278. package/liquid-logo/utils.js +4 -0
  279. package/morphicons/adapters/canvas.d.ts +43 -0
  280. package/morphicons/adapters/index.d.ts +3 -0
  281. package/morphicons/adapters/mask.d.ts +42 -0
  282. package/morphicons/adapters/svg.d.ts +8 -0
  283. package/morphicons/core/interpolate.d.ts +6 -0
  284. package/morphicons/core/interpolate.js +29 -0
  285. package/morphicons/core/normalize.d.ts +16 -0
  286. package/morphicons/core/normalize.js +166 -0
  287. package/morphicons/core/parse.d.ts +27 -0
  288. package/morphicons/core/parse.js +131 -0
  289. package/morphicons/core/plan.d.ts +64 -0
  290. package/morphicons/core/plan.js +198 -0
  291. package/morphicons/core/resample.d.ts +18 -0
  292. package/morphicons/core/resample.js +132 -0
  293. package/morphicons/core/serialize.d.ts +7 -0
  294. package/morphicons/core/serialize.js +32 -0
  295. package/morphicons/core/spring.d.ts +30 -0
  296. package/morphicons/core/spring.js +39 -0
  297. package/morphicons/core/types.d.ts +27 -0
  298. package/morphicons/dom/controller.d.ts +53 -0
  299. package/morphicons/dom/index.d.ts +46 -0
  300. package/morphicons/element/index.d.ts +39 -0
  301. package/morphicons/index.d.ts +7 -0
  302. package/morphicons/index.js +11 -0
  303. package/morphicons/react/index.d.ts +36 -0
  304. package/package.json +1 -1
  305. package/progress/Progress.js +24 -22
  306. package/progress/constants.js +3 -1
  307. package/progress/context.d.ts +0 -0
  308. package/progress/context.js +4 -0
  309. package/progress/index.js +3 -1
  310. package/progress/style/index.js +3 -1
  311. package/progress/utils.js +3 -1
  312. package/resize-observer/Collection.js +3 -1
  313. package/resize-observer/ResizeObserver.d.ts +8 -1
  314. package/resize-observer/ResizeObserver.js +23 -17
  315. package/resize-observer/SingleObserver.js +24 -19
  316. package/resize-observer/constants.js +3 -1
  317. package/resize-observer/context.js +3 -1
  318. package/resize-observer/index.d.ts +9 -1
  319. package/resize-observer/index.js +4 -2
  320. package/resize-observer/observerUtil.js +3 -1
  321. package/resize-observer/style/index.js +3 -1
  322. package/resize-observer/utils.js +3 -1
  323. package/space/Space.d.ts +9 -4
  324. package/space/Space.js +60 -54
  325. package/space/SpaceVertical.d.ts +10 -0
  326. package/space/SpaceVertical.js +16 -0
  327. package/space/constants.js +3 -1
  328. package/space/context.js +3 -1
  329. package/space/index.d.ts +18 -3
  330. package/space/index.js +6 -3
  331. package/space/interface.d.ts +3 -25
  332. package/space/style/index.js +3 -1
  333. package/space/utils.js +3 -1
  334. package/splash-cursor/FluidCursor.d.ts +2 -0
  335. package/splash-cursor/FluidCursor.js +9 -0
  336. package/splash-cursor/SplashCursor.d.ts +10 -0
  337. package/splash-cursor/SplashCursor.js +437 -0
  338. package/splash-cursor/constants.d.ts +0 -0
  339. package/splash-cursor/constants.js +4 -0
  340. package/splash-cursor/context.d.ts +3 -0
  341. package/splash-cursor/context.js +9 -0
  342. package/splash-cursor/hooks/index.d.ts +0 -0
  343. package/splash-cursor/index.d.ts +21 -0
  344. package/splash-cursor/index.js +16 -0
  345. package/splash-cursor/interface.d.ts +59 -0
  346. package/splash-cursor/style/index.css +1 -0
  347. package/splash-cursor/style/index.d.ts +1 -0
  348. package/splash-cursor/style/index.js +5 -0
  349. package/splash-cursor/utils.d.ts +2 -0
  350. package/splash-cursor/utils.js +25 -0
  351. package/style/global.less +22 -1
  352. package/style.css +1 -1
  353. package/suspense-fallback-test/SuspenseFallbackTest.d.ts +8 -1
  354. package/suspense-fallback-test/SuspenseFallbackTest.js +12 -6
  355. package/suspense-fallback-test/constants.js +3 -1
  356. package/suspense-fallback-test/context.js +3 -1
  357. package/suspense-fallback-test/index.d.ts +9 -1
  358. package/suspense-fallback-test/index.js +4 -2
  359. package/suspense-fallback-test/style/index.js +3 -1
  360. package/suspense-fallback-test/utils.js +3 -1
  361. package/test.js +3 -1
  362. package/timer/Timer.d.ts +8 -1
  363. package/timer/Timer.js +24 -19
  364. package/timer/constants.js +3 -1
  365. package/timer/context.js +3 -1
  366. package/timer/index.d.ts +9 -1
  367. package/timer/index.js +4 -2
  368. package/timer/style/index.js +3 -1
  369. package/timer/utils.js +3 -1
  370. package/transition/Transition.d.ts +2 -1
  371. package/transition/Transition.js +77 -67
  372. package/transition/TransitionCSS.d.ts +2 -1
  373. package/transition/TransitionCSS.js +28 -26
  374. package/transition/TransitionGroup.d.ts +2 -1
  375. package/transition/TransitionGroup.js +38 -36
  376. package/transition/TransitionStyle.d.ts +2 -1
  377. package/transition/TransitionStyle.js +22 -20
  378. package/transition/constants.js +3 -1
  379. package/transition/context.js +3 -1
  380. package/transition/index.d.ts +21 -13
  381. package/transition/index.js +8 -6
  382. package/transition/style/index.js +3 -1
  383. package/transition/utils.js +45 -43
  384. package/typewriter/Typewriter.d.ts +8 -1
  385. package/typewriter/Typewriter.js +26 -20
  386. package/typewriter/constants.js +3 -1
  387. package/typewriter/context.js +3 -1
  388. package/typewriter/index.d.ts +9 -0
  389. package/typewriter/index.js +4 -2
  390. package/typewriter/style/index.js +3 -1
  391. package/typewriter/utils.js +3 -1
  392. package/utils/callOrReturn.js +3 -1
  393. package/utils/callbackOriginRef.d.ts +1 -2
  394. package/utils/callbackOriginRef.js +3 -1
  395. package/utils/caseName.d.ts +1 -1
  396. package/utils/caseName.js +5 -3
  397. package/utils/className.d.ts +1 -1
  398. package/utils/className.js +5 -3
  399. package/utils/confetti.d.ts +20 -0
  400. package/utils/confetti.js +31 -0
  401. package/utils/constants.js +3 -1
  402. package/utils/copy.js +3 -1
  403. package/utils/css.js +3 -1
  404. package/utils/date.js +3 -1
  405. package/utils/dayjs.js +3 -1
  406. package/utils/document.js +3 -1
  407. package/utils/dom.d.ts +4 -4
  408. package/utils/dom.js +34 -31
  409. package/utils/emitter.js +3 -1
  410. package/utils/file.js +3 -1
  411. package/utils/fileRead.js +3 -1
  412. package/utils/fileToDataURL.js +3 -1
  413. package/utils/fillNBSP.js +4 -2
  414. package/utils/getCompatProp.d.ts +9 -0
  415. package/utils/getCompatProp.js +12 -0
  416. package/utils/getElement.js +16 -14
  417. package/utils/getHighlightText.js +20 -17
  418. package/utils/getHotkeyHandler.js +13 -11
  419. package/utils/getPrefixCls.d.ts +2 -0
  420. package/utils/getPrefixCls.js +11 -0
  421. package/utils/getScrollBarHeight.js +3 -1
  422. package/utils/getScrollBarSize.js +9 -7
  423. package/utils/getScrollBarWidth.js +3 -1
  424. package/utils/getScrollParent.js +3 -1
  425. package/utils/getStringLength.js +3 -1
  426. package/utils/include.js +3 -1
  427. package/utils/index.d.ts +6 -0
  428. package/utils/index.js +264 -347
  429. package/utils/initAllLineClamp.js +3 -1
  430. package/utils/intersectionObserver.js +17 -15
  431. package/utils/is.d.ts +2 -6
  432. package/utils/is.js +30 -141
  433. package/utils/keyboardCode.js +3 -1
  434. package/utils/lodash.d.ts +3 -1
  435. package/utils/lodash.js +75 -71
  436. package/utils/math.js +3 -1
  437. package/utils/mergeProps.d.ts +3 -1
  438. package/utils/mergeProps.js +15 -8
  439. package/utils/mergedToString.js +14 -11
  440. package/utils/migrateLegacyProps.d.ts +14 -0
  441. package/utils/migrateLegacyProps.js +19 -0
  442. package/utils/mutationObserver.js +15 -13
  443. package/utils/names.d.ts +31 -19
  444. package/utils/names.js +63 -31
  445. package/utils/object.js +3 -1
  446. package/utils/omit.js +3 -1
  447. package/utils/pad.js +3 -1
  448. package/utils/pick.d.ts +7 -2
  449. package/utils/pick.js +11 -9
  450. package/utils/pinyin.js +3 -1
  451. package/utils/react19Adapter.js +3 -1
  452. package/utils/reactNode.js +11 -9
  453. package/utils/ref.js +23 -19
  454. package/utils/resizeObserver.js +7 -5
  455. package/utils/saveAs.js +3 -1
  456. package/utils/screenfull.js +3 -1
  457. package/utils/scrollIntoViewIfNeeded.js +3 -1
  458. package/utils/scrollTo.js +7 -5
  459. package/utils/setCreateRoot.js +14 -11
  460. package/utils/setDarkTheme.js +16 -14
  461. package/utils/setDir.js +7 -5
  462. package/utils/setPrimaryColor.js +4 -2
  463. package/utils/setTheme.js +14 -12
  464. package/utils/string.js +3 -1
  465. package/utils/style.js +3 -1
  466. package/utils/tinycolor.js +3 -1
  467. package/utils/toArray.js +7 -5
  468. package/utils/tree.js +3 -1
  469. package/utils/tunnel.d.ts +6 -5
  470. package/utils/tunnel.js +22 -20
  471. package/utils/tween.js +3 -1
  472. package/utils/uuid.js +3 -1
  473. package/utils/validate.js +3 -1
  474. package/utils/warning.js +3 -1
  475. package/version/index.d.ts +0 -1
  476. package/version/index.js +10 -8
  477. package/hooks/use-merge-props/index.d.ts +0 -5
  478. package/hooks/use-merge-props/index.js +0 -10
package/utils/index.js CHANGED
@@ -1,65 +1,70 @@
1
- /* 潘启宝 2026-08-08 11:09:06 星期六 山东省济南市 */
1
+ /* 潘启宝 2026-09-03 10:06:59 星期四 山东省济南市 */
2
+ /* 世界因你而美丽 */
2
3
  import { __exportAll as ee, __reExport as e } from "../.virtual/_rolldown/runtime.js";
3
- import { is32Bit as te, isAllChinese as ne, isArguments as re, isArray as ie, isArrayAndNotEmpty as t, isArrayBuffer as n, isArrayEmpty as r, isArrayLike as i, isArrayLikeObject as a, isAscii as o, isAsyncFunction as s, isBase64 as c, isBigInt as l, isBlob as u, isBoolean as d, isBuffer as f, isChinese as p, isColorValue as m, isColorValue_ as h, isCompositeTypeElement as g, isDataURI as _, isDate as v, isDayjs as y, isElement as b, isEmail as x, isEmpty as S, isEmptyArray as C, isEmptyChildren as w, isEmptyObject as T, isEmptyReactNode as E, isEmptyString as D, isEmptyValue as O, isEqual as k, isEqualWith as A, isError as j, isEventTarget as M, isExist as N, isFalse as P, isFile as F, isFinite as I, isFullWidth as L, isFunction as R, isHSL as z, isHalfWidth as B, isHash as V, isHexColor as H, isIMEI as U, isIP as W, isIPRange as G, isIdentityCard as K, isInteger as q, isJSON as J, isJSON_String as Y, isJWT as ae, isLength as oe, isMACAddress as se, isMD5 as ce, isMap as le, isMatch as ue, isMatchWith as de, isMimeType as fe, isMobilePhone as pe, isMobilePhoneLocales as me, isNaN as he, isNative as ge, isNil as _e, isNonNullable as ve, isNotFound as ye, isNull as be, isNullOrUndefined as xe, isNumber as Se, isNumberOrString as Ce, isObject as we, isObjectLike as Te, isPlainObject as Ee, isPort as De, isPresent as Oe, isPrimitive as ke, isPromise as Ae, isReact18 as je, isReact19 as Me, isReactClassComponent as Ne, isReactComponent as Pe, isReactComponentAndNotFragment as Fe, isReactFunctionalComponent as Ie, isReadableStream as Le, isRegExp as Re, isRgbColor as ze, isSafeInteger as Be, isSemVer as Ve, isServerRendering as He, isSet as Ue, isSlug as We, isSparseArray as Ge, isString as Ke, isStringAndExist as qe, isStringOrNumber as Je, isStrongPassword as Ye, isSymbol as Xe, isThenable as Ze, isTrue as Qe, isTypedArray as $e, isURL as et, isUUID as tt, isUndefined as nt, isUndefinedOrNull as rt, isVariableWidth as it, isWeakMap as at, isWeakSet as ot, isWindow as st, isZero as ct, is_exports as lt } from "./is.js";
4
- import { object_exports as ut } from "./object.js";
5
- import { assign as dt, assignIn as ft, at as pt, camelCase as mt, capitalize as ht, castArray as gt, chain as _t, chunk as vt, clamp as yt, clone as bt, cloneDeep as xt, cloneDeepWith as St, cloneWith as Ct, compact as wt, curry as Tt, debounce as Et, defaultTo as Dt, defaults as Ot, defaultsDeep as kt, difference as At, escape as jt, findKey as Mt, flatten as Nt, flattenDeep as Pt, flow as Ft, get as It, groupBy as Lt, has as Rt, hasIn as zt, intersection as Bt, invert as Vt, invertBy as Ht, invoke as Ut, kebabCase as Wt, mapKeys as Gt, mapValues as Kt, mean as qt, memoize as Jt, merge as Yt, mergeWith as Xt, move as Zt, noop as Qt, omit as $t, omitBy as en, orderBy as tn, partition as nn, pick as rn, pickBy as an, pullAll as on, result as X, sample as sn, sampleSize as cn, set as ln, setWith as un, shuffle as dn, snakeCase as fn, sortBy as pn, startCase as mn, throttle as hn, toPath as gn, truncate as _n, union as vn, uniq as yn, uniqueId as bn, unset as xn, update as Sn, updateWith as Cn, upperCase as wn, upperFirst as Tn, without as En, xor as Dn, zip as On } from "./lodash.js";
6
- import { composeRef as kn, fillRef as An, getNodeRef as jn, getReactElementRef as Mn, supportNodeRef as Nn, supportRef as Pn, useComposeRef as Fn } from "./ref.js";
7
- import In from "./getElement.js";
8
- import { screenfull as Ln } from "./screenfull.js";
9
- import { canUseDOM as Rn, contains as zn, focusAtEnd as Bn, forceReflow as Z, getBody as Vn, getBodyContainer as Hn, getDOM as Un, getDocument as Wn, getDocumentElement as Gn, getElementCoordinates as Kn, getElementOuterSize as qn, getHead as Jn, getScrollElements as Yn, getTopLevelOverlayContainer as Xn, off as Zn, on as Qn, parentContainsChildren as $n } from "./dom.js";
10
- import er from "./mergeProps.js";
11
- import { callbackOriginRef as tr } from "./callbackOriginRef.js";
12
- import { callOrReturn as nr } from "./callOrReturn.js";
13
- import { caseName as rr } from "./caseName.js";
14
- import { className as ir, cs as ar } from "./className.js";
15
- import { CSS_VARIABLE_ELEMENT as or, DAYJS_DEFAULT_FORMAT as sr, DAYJS_DEFAULT_FORMAT_WITH_TIME as cr, PREFIX_CLASS as lr, UI_PC_KEY as ur, UI_PC_THEME_DARK_CLASS_NAME as dr } from "./constants.js";
4
+ import { object_exports as te } from "./object.js";
5
+ import { assign as ne, assignIn as re, at as ie, camelCase as t, capitalize as n, castArray as r, chain as i, chunk as a, clamp as o, clone as s, cloneDeep as c, cloneDeepWith as l, cloneWith as u, compact as d, curry as f, debounce as p, defaultTo as m, defaults as h, defaultsDeep as g, difference as _, escape as v, extend as y, findKey as b, flatten as x, flattenDeep as S, flow as C, get as w, groupBy as T, has as E, hasIn as D, intersection as O, invert as k, invertBy as A, invoke as j, kebabCase as M, mapKeys as N, mapValues as P, mean as F, memoize as I, merge as L, mergeWith as R, move as z, noop as B, omit as V, omitBy as H, orderBy as U, partition as W, pick as G, pickBy as K, pullAll as q, result as J, sample as Y, sampleSize as ae, set as oe, setWith as se, shuffle as ce, snakeCase as le, sortBy as ue, startCase as de, swap as fe, throttle as pe, toPath as me, toSwapped as he, truncate as ge, union as _e, uniq as ve, uniqueId as ye, unset as be, update as xe, updateWith as Se, upperCase as Ce, upperFirst as we, without as Te, xor as Ee, zip as De } from "./lodash.js";
6
+ import { isCompositeTypeElement as Oe, isEmptyChildren as ke, isEmptyReactNode as Ae, isReact18 as je, isReact19 as Me, isReactClassComponent as Ne, isReactComponent as Pe, isReactComponentAndNotFragment as Fe, isReactFunctionalComponent as Ie, isServerRendering as Le } from "./is.js";
7
+ import { composeRef as Re, fillRef as ze, getNodeRef as Be, getReactElementRef as Ve, supportNodeRef as He, supportRef as Ue, useComposeRef as We } from "./ref.js";
8
+ import Ge from "./getElement.js";
9
+ import { screenfull as Ke } from "./screenfull.js";
10
+ import { canUseDOM as qe, contains as Je, focusAtEnd as Ye, forceReflow as X, getBody as Xe, getBodyContainer as Ze, getDOM as Qe, getDocument as $e, getDocumentElement as et, getElementCoordinates as tt, getElementOuterSize as nt, getHead as rt, getScrollElements as it, getTopLevelOverlayContainer as at, off as ot, on as st, parentContainsChildren as ct } from "./dom.js";
11
+ import lt from "./mergeProps.js";
12
+ import ut from "./migrateLegacyProps.js";
13
+ import { callbackOriginRef as Z } from "./callbackOriginRef.js";
14
+ import { callOrReturn as dt } from "./callOrReturn.js";
15
+ import { caseName as ft } from "./caseName.js";
16
+ import { className as pt, cls as mt, clsx as ht, cs as gt } from "./className.js";
17
+ import { confetti as _t, fire as vt } from "./confetti.js";
18
+ import { CSS_VARIABLE_ELEMENT as yt, DAYJS_DEFAULT_FORMAT as bt, DAYJS_DEFAULT_FORMAT_WITH_TIME as xt, PREFIX_CLASS as St, UI_PC_KEY as Ct, UI_PC_THEME_DARK_CLASS_NAME as wt } from "./constants.js";
16
19
  import { clipboardCopy as Q } from "./copy.js";
17
20
  import "./css.js";
18
- import { convertTime as fr, convertToDurationBasedOnTimeUnits as pr, dateFormat as mr, dayjsFormat as hr } from "./date.js";
19
- import { dayjs as gr } from "./dayjs.js";
20
- import { document_exports as _r } from "./document.js";
21
- import { Emitter as vr } from "./emitter.js";
21
+ import { convertTime as Tt, convertToDurationBasedOnTimeUnits as Et, dateFormat as Dt, dayjsFormat as Ot } from "./date.js";
22
+ import { dayjs as kt } from "./dayjs.js";
23
+ import { document_exports as At } from "./document.js";
24
+ import { Emitter as jt } from "./emitter.js";
22
25
  import "./file.js";
23
- import { fileRead as yr } from "./fileRead.js";
24
- import { fileToDataURL as br } from "./fileToDataURL.js";
25
- import xr from "./fillNBSP.js";
26
- import Sr from "./getHighlightText.js";
27
- import Cr from "./getHotkeyHandler.js";
28
- import wr from "./getScrollBarSize.js";
29
- import Tr from "./getScrollBarHeight.js";
30
- import Er from "./getScrollBarWidth.js";
26
+ import { fileRead as Mt } from "./fileRead.js";
27
+ import { fileToDataURL as Nt } from "./fileToDataURL.js";
28
+ import Pt from "./fillNBSP.js";
29
+ import Ft from "./getCompatProp.js";
30
+ import It from "./getHighlightText.js";
31
+ import Lt from "./getHotkeyHandler.js";
32
+ import Rt from "./getPrefixCls.js";
33
+ import zt from "./getScrollBarSize.js";
34
+ import Bt from "./getScrollBarHeight.js";
35
+ import Vt from "./getScrollBarWidth.js";
31
36
  import "./getScrollParent.js";
32
- import Dr from "./getStringLength.js";
33
- import Or from "./include.js";
34
- import { uuid as kr, uuidv4 as Ar } from "./uuid.js";
35
- import jr from "./initAllLineClamp.js";
36
- import Mr from "./intersectionObserver.js";
37
- import { div as Nr, math as Pr, minus as Fr, plus as Ir, times as Lr } from "./math.js";
38
- import Rr from "./mergedToString.js";
39
- import zr from "./mutationObserver.js";
37
+ import Ht from "./getStringLength.js";
38
+ import Ut from "./include.js";
39
+ import { uuid as Wt, uuidv4 as Gt } from "./uuid.js";
40
+ import Kt from "./initAllLineClamp.js";
41
+ import qt from "./intersectionObserver.js";
42
+ import { div as Jt, math as Yt, minus as Xt, plus as Zt, times as Qt } from "./math.js";
43
+ import $t from "./mergedToString.js";
44
+ import en from "./mutationObserver.js";
40
45
  import "./omit.js";
41
- import { padEnd as Br, padStart as Vr } from "./pad.js";
42
- import { pickDataAttributes as Hr } from "./pick.js";
43
- import Ur from "./resizeObserver.js";
44
- import { saveAs as Wr } from "./saveAs.js";
45
- import Gr from "./scrollIntoViewIfNeeded.js";
46
- import Kr, { render as qr } from "./setCreateRoot.js";
47
- import Jr, { removeDarkTheme as Yr } from "./setDarkTheme.js";
48
- import Xr from "./setDir.js";
49
- import Zr from "./setPrimaryColor.js";
50
- import Qr from "./setTheme.js";
51
- import { HYPHEN as $r, replaceEmptyWithHyphen as ei } from "./string.js";
52
- import { fixedWidth as ti, getStyle as ni, setTransformStyle as ri } from "./style.js";
53
- import { tinycolor as ii } from "./tinycolor.js";
54
- import ai from "./toArray.js";
55
- import { findNodeBy as oi, getChildWithParentBy as si, getItemBy as ci, getItemByID as li, getLabelFromDictionaryByValue as ui, searchTree as di, tree as fi } from "./tree.js";
56
- import pi from "./tunnel.js";
57
- import { Tween as mi, easing as hi } from "./tween.js";
58
- import { PqbValidator as gi, Validator as _i, ValidatorArray as vi, ValidatorBase as yi, ValidatorBoolean as bi, ValidatorCustom as xi, ValidatorNumber as Si, ValidatorObject as Ci, ValidatorSchema as wi, ValidatorString as Ti, ValidatorType as Ei, validatorLocale as Di } from "./validate.js";
59
- import Oi from "./warning.js";
60
- import { pinyin_exports as ki } from "./pinyin.js";
61
- import { keyboardCode as Ai } from "./keyboardCode.js";
62
- import { COMPONENT_NAMES as ji } from "./names.js";
46
+ import { padEnd as tn, padStart as nn } from "./pad.js";
47
+ import { pickAttributesByPrefixes as rn, pickDataAriaAttributes as an } from "./pick.js";
48
+ import on from "./resizeObserver.js";
49
+ import { saveAs as sn } from "./saveAs.js";
50
+ import cn from "./scrollIntoViewIfNeeded.js";
51
+ import ln, { render as un } from "./setCreateRoot.js";
52
+ import dn, { removeDarkTheme as fn } from "./setDarkTheme.js";
53
+ import pn from "./setDir.js";
54
+ import mn from "./setPrimaryColor.js";
55
+ import hn from "./setTheme.js";
56
+ import { HYPHEN as gn, replaceEmptyWithHyphen as _n } from "./string.js";
57
+ import { fixedWidth as vn, getStyle as yn, setTransformStyle as bn } from "./style.js";
58
+ import { tinycolor as xn } from "./tinycolor.js";
59
+ import Sn from "./toArray.js";
60
+ import { findNodeBy as Cn, getChildWithParentBy as wn, getItemBy as Tn, getItemByID as En, getLabelFromDictionaryByValue as Dn, searchTree as On, tree as kn } from "./tree.js";
61
+ import An from "./tunnel.js";
62
+ import { Tween as jn, easing as Mn } from "./tween.js";
63
+ import { PqbValidator as Nn, Validator as Pn, ValidatorArray as Fn, ValidatorBase as In, ValidatorBoolean as Ln, ValidatorCustom as Rn, ValidatorNumber as zn, ValidatorObject as Bn, ValidatorSchema as Vn, ValidatorString as Hn, ValidatorType as Un, validatorLocale as Wn } from "./validate.js";
64
+ import Gn from "./warning.js";
65
+ import { pinyin_exports as Kn } from "./pinyin.js";
66
+ import { keyboardCode as qn } from "./keyboardCode.js";
67
+ import { COMPONENT_NAMES as Jn } from "./names.js";
63
68
  export * from "@unicom-cloud/utils/is";
64
69
  export * from "@unicom-cloud/utils/object";
65
70
  export * from "@unicom-cloud/utils/css";
@@ -68,305 +73,217 @@ export * from "@unicom-cloud/utils/file";
68
73
  export * from "@unicom-cloud/utils/tinycolor";
69
74
  //#region components/common/utils/index.ts
70
75
  var $ = /* @__PURE__ */ ee({
71
- COMPONENT_NAMES: () => ji,
72
- CSS_VARIABLE_ELEMENT: () => or,
73
- DAYJS_DEFAULT_FORMAT: () => sr,
74
- DAYJS_DEFAULT_FORMAT_WITH_TIME: () => cr,
75
- Emitter: () => vr,
76
- HYPHEN: () => $r,
77
- PREFIX_CLASS: () => lr,
78
- PqbValidator: () => gi,
79
- Tween: () => mi,
80
- UI_PC_KEY: () => ur,
81
- UI_PC_THEME_DARK_CLASS_NAME: () => dr,
82
- Validator: () => _i,
83
- ValidatorArray: () => vi,
84
- ValidatorBase: () => yi,
85
- ValidatorBoolean: () => bi,
86
- ValidatorCustom: () => xi,
87
- ValidatorNumber: () => Si,
88
- ValidatorObject: () => Ci,
89
- ValidatorSchema: () => wi,
90
- ValidatorString: () => Ti,
91
- ValidatorType: () => Ei,
92
- assign: () => dt,
93
- assignIn: () => ft,
94
- at: () => pt,
95
- callOrReturn: () => nr,
96
- callbackOriginRef: () => tr,
97
- camelCase: () => mt,
98
- canUseDOM: () => Rn,
99
- capitalize: () => ht,
100
- caseName: () => rr,
101
- castArray: () => gt,
102
- chain: () => _t,
103
- chunk: () => vt,
104
- clamp: () => yt,
105
- className: () => ir,
76
+ COMPONENT_NAMES: () => Jn,
77
+ CSS_VARIABLE_ELEMENT: () => yt,
78
+ DAYJS_DEFAULT_FORMAT: () => bt,
79
+ DAYJS_DEFAULT_FORMAT_WITH_TIME: () => xt,
80
+ Emitter: () => jt,
81
+ HYPHEN: () => gn,
82
+ PREFIX_CLASS: () => St,
83
+ PqbValidator: () => Nn,
84
+ Tween: () => jn,
85
+ UI_PC_KEY: () => Ct,
86
+ UI_PC_THEME_DARK_CLASS_NAME: () => wt,
87
+ Validator: () => Pn,
88
+ ValidatorArray: () => Fn,
89
+ ValidatorBase: () => In,
90
+ ValidatorBoolean: () => Ln,
91
+ ValidatorCustom: () => Rn,
92
+ ValidatorNumber: () => zn,
93
+ ValidatorObject: () => Bn,
94
+ ValidatorSchema: () => Vn,
95
+ ValidatorString: () => Hn,
96
+ ValidatorType: () => Un,
97
+ assign: () => ne,
98
+ assignIn: () => re,
99
+ at: () => ie,
100
+ callOrReturn: () => dt,
101
+ callbackOriginRef: () => Z,
102
+ camelCase: () => t,
103
+ canUseDOM: () => qe,
104
+ capitalize: () => n,
105
+ caseName: () => ft,
106
+ castArray: () => r,
107
+ chain: () => i,
108
+ chunk: () => a,
109
+ clamp: () => o,
110
+ className: () => pt,
106
111
  clipboardCopy: () => Q,
107
- clone: () => bt,
108
- cloneDeep: () => xt,
109
- cloneDeepWith: () => St,
110
- cloneWith: () => Ct,
111
- compact: () => wt,
112
- composeRef: () => kn,
113
- contains: () => zn,
114
- convertTime: () => fr,
115
- convertToDurationBasedOnTimeUnits: () => pr,
112
+ clone: () => s,
113
+ cloneDeep: () => c,
114
+ cloneDeepWith: () => l,
115
+ cloneWith: () => u,
116
+ cls: () => mt,
117
+ clsx: () => ht,
118
+ compact: () => d,
119
+ composeRef: () => Re,
120
+ confetti: () => _t,
121
+ contains: () => Je,
122
+ convertTime: () => Tt,
123
+ convertToDurationBasedOnTimeUnits: () => Et,
116
124
  copy: () => Q,
117
- cs: () => ar,
118
- curry: () => Tt,
119
- dateFormat: () => mr,
120
- dayjs: () => gr,
121
- dayjsFormat: () => hr,
122
- debounce: () => Et,
123
- defaultTo: () => Dt,
124
- defaults: () => Ot,
125
- defaultsDeep: () => kt,
126
- difference: () => At,
127
- div: () => Nr,
128
- easing: () => hi,
129
- escape: () => jt,
130
- fileRead: () => yr,
131
- fileToDataURL: () => br,
132
- fillNBSP: () => xr,
133
- fillRef: () => An,
134
- findKey: () => Mt,
135
- findNodeBy: () => oi,
136
- fixedWidth: () => ti,
137
- flatten: () => Nt,
138
- flattenDeep: () => Pt,
139
- flow: () => Ft,
140
- focusAtEnd: () => Bn,
141
- forceReflow: () => Z,
142
- get: () => It,
143
- getBody: () => Vn,
144
- getBodyContainer: () => Hn,
145
- getChildWithParentBy: () => si,
146
- getDOM: () => Un,
147
- getDocument: () => Wn,
148
- getDocumentElement: () => Gn,
149
- getElement: () => In,
150
- getElementCoordinates: () => Kn,
151
- getElementOuterSize: () => qn,
152
- getHead: () => Jn,
153
- getHighlightText: () => Sr,
154
- getHotkeyHandler: () => Cr,
155
- getItemBy: () => ci,
156
- getItemByID: () => li,
157
- getLabelFromDictionaryByValue: () => ui,
158
- getNodeRef: () => jn,
159
- getReactElementRef: () => Mn,
160
- getScrollBarHeight: () => Tr,
161
- getScrollBarSize: () => wr,
162
- getScrollBarWidth: () => Er,
163
- getScrollElements: () => Yn,
164
- getStringLength: () => Dr,
165
- getStyle: () => ni,
166
- getTopLevelOverlayContainer: () => Xn,
167
- groupBy: () => Lt,
168
- has: () => Rt,
169
- hasIn: () => zt,
170
- include: () => Or,
171
- initAllLineClamp: () => jr,
172
- intersection: () => Bt,
173
- intersectionObserver: () => Mr,
174
- invert: () => Vt,
175
- invertBy: () => Ht,
176
- invoke: () => Ut,
177
- is32Bit: () => te,
178
- isAllChinese: () => ne,
179
- isArguments: () => re,
180
- isArray: () => ie,
181
- isArrayAndNotEmpty: () => t,
182
- isArrayBuffer: () => n,
183
- isArrayEmpty: () => r,
184
- isArrayLike: () => i,
185
- isArrayLikeObject: () => a,
186
- isAscii: () => o,
187
- isAsyncFunction: () => s,
188
- isBase64: () => c,
189
- isBigInt: () => l,
190
- isBlob: () => u,
191
- isBoolean: () => d,
192
- isBuffer: () => f,
193
- isChinese: () => p,
194
- isColorValue: () => m,
195
- isColorValue_: () => h,
196
- isCompositeTypeElement: () => g,
197
- isDataURI: () => _,
198
- isDate: () => v,
199
- isDayjs: () => y,
200
- isElement: () => b,
201
- isEmail: () => x,
202
- isEmpty: () => S,
203
- isEmptyArray: () => C,
204
- isEmptyChildren: () => w,
205
- isEmptyObject: () => T,
206
- isEmptyReactNode: () => E,
207
- isEmptyString: () => D,
208
- isEmptyValue: () => O,
209
- isEqual: () => k,
210
- isEqualWith: () => A,
211
- isError: () => j,
212
- isEventTarget: () => M,
213
- isExist: () => N,
214
- isFalse: () => P,
215
- isFile: () => F,
216
- isFinite: () => I,
217
- isFullWidth: () => L,
218
- isFunction: () => R,
219
- isHSL: () => z,
220
- isHalfWidth: () => B,
221
- isHash: () => V,
222
- isHexColor: () => H,
223
- isIMEI: () => U,
224
- isIP: () => W,
225
- isIPRange: () => G,
226
- isIdentityCard: () => K,
227
- isInteger: () => q,
228
- isJSON: () => J,
229
- isJSON_String: () => Y,
230
- isJWT: () => ae,
231
- isLength: () => oe,
232
- isMACAddress: () => se,
233
- isMD5: () => ce,
234
- isMap: () => le,
235
- isMatch: () => ue,
236
- isMatchWith: () => de,
237
- isMimeType: () => fe,
238
- isMobilePhone: () => pe,
239
- isMobilePhoneLocales: () => me,
240
- isNaN: () => he,
241
- isNative: () => ge,
242
- isNil: () => _e,
243
- isNonNullable: () => ve,
244
- isNotFound: () => ye,
245
- isNull: () => be,
246
- isNullOrUndefined: () => xe,
247
- isNumber: () => Se,
248
- isNumberOrString: () => Ce,
249
- isObject: () => we,
250
- isObjectLike: () => Te,
251
- isPlainObject: () => Ee,
252
- isPort: () => De,
253
- isPresent: () => Oe,
254
- isPrimitive: () => ke,
255
- isPromise: () => Ae,
125
+ cs: () => gt,
126
+ curry: () => f,
127
+ dateFormat: () => Dt,
128
+ dayjs: () => kt,
129
+ dayjsFormat: () => Ot,
130
+ debounce: () => p,
131
+ defaultTo: () => m,
132
+ defaults: () => h,
133
+ defaultsDeep: () => g,
134
+ difference: () => _,
135
+ div: () => Jt,
136
+ easing: () => Mn,
137
+ escape: () => v,
138
+ extend: () => y,
139
+ fileRead: () => Mt,
140
+ fileToDataURL: () => Nt,
141
+ fillNBSP: () => Pt,
142
+ fillRef: () => ze,
143
+ findKey: () => b,
144
+ findNodeBy: () => Cn,
145
+ fire: () => vt,
146
+ fixedWidth: () => vn,
147
+ flatten: () => x,
148
+ flattenDeep: () => S,
149
+ flow: () => C,
150
+ focusAtEnd: () => Ye,
151
+ forceReflow: () => X,
152
+ get: () => w,
153
+ getBody: () => Xe,
154
+ getBodyContainer: () => Ze,
155
+ getChildWithParentBy: () => wn,
156
+ getCompatProp: () => Ft,
157
+ getDOM: () => Qe,
158
+ getDocument: () => $e,
159
+ getDocumentElement: () => et,
160
+ getElement: () => Ge,
161
+ getElementCoordinates: () => tt,
162
+ getElementOuterSize: () => nt,
163
+ getHead: () => rt,
164
+ getHighlightText: () => It,
165
+ getHotkeyHandler: () => Lt,
166
+ getItemBy: () => Tn,
167
+ getItemByID: () => En,
168
+ getLabelFromDictionaryByValue: () => Dn,
169
+ getNodeRef: () => Be,
170
+ getPrefixCls: () => Rt,
171
+ getReactElementRef: () => Ve,
172
+ getScrollBarHeight: () => Bt,
173
+ getScrollBarSize: () => zt,
174
+ getScrollBarWidth: () => Vt,
175
+ getScrollElements: () => it,
176
+ getStringLength: () => Ht,
177
+ getStyle: () => yn,
178
+ getTopLevelOverlayContainer: () => at,
179
+ groupBy: () => T,
180
+ has: () => E,
181
+ hasIn: () => D,
182
+ include: () => Ut,
183
+ initAllLineClamp: () => Kt,
184
+ intersection: () => O,
185
+ intersectionObserver: () => qt,
186
+ invert: () => k,
187
+ invertBy: () => A,
188
+ invoke: () => j,
189
+ isCompositeTypeElement: () => Oe,
190
+ isEmptyChildren: () => ke,
191
+ isEmptyReactNode: () => Ae,
256
192
  isReact18: () => je,
257
193
  isReact19: () => Me,
258
194
  isReactClassComponent: () => Ne,
259
195
  isReactComponent: () => Pe,
260
196
  isReactComponentAndNotFragment: () => Fe,
261
197
  isReactFunctionalComponent: () => Ie,
262
- isReadableStream: () => Le,
263
- isRegExp: () => Re,
264
- isRgbColor: () => ze,
265
- isSafeInteger: () => Be,
266
- isSemVer: () => Ve,
267
- isServerRendering: () => He,
268
- isSet: () => Ue,
269
- isSlug: () => We,
270
- isSparseArray: () => Ge,
271
- isString: () => Ke,
272
- isStringAndExist: () => qe,
273
- isStringOrNumber: () => Je,
274
- isStrongPassword: () => Ye,
275
- isSymbol: () => Xe,
276
- isThenable: () => Ze,
277
- isTrue: () => Qe,
278
- isTypedArray: () => $e,
279
- isURL: () => et,
280
- isUUID: () => tt,
281
- isUndefined: () => nt,
282
- isUndefinedOrNull: () => rt,
283
- isVariableWidth: () => it,
284
- isWeakMap: () => at,
285
- isWeakSet: () => ot,
286
- isWindow: () => st,
287
- isZero: () => ct,
288
- kebabCase: () => Wt,
289
- keyboardCode: () => Ai,
290
- mapKeys: () => Gt,
291
- mapValues: () => Kt,
292
- math: () => Pr,
293
- mean: () => qt,
294
- memoize: () => Jt,
295
- merge: () => Yt,
296
- mergeProps: () => er,
297
- mergeWith: () => Xt,
298
- mergedToString: () => Rr,
299
- minus: () => Fr,
300
- move: () => Zt,
301
- mutationObserver: () => zr,
302
- noop: () => Qt,
303
- off: () => Zn,
304
- omit: () => $t,
305
- omitBy: () => en,
306
- on: () => Qn,
307
- orderBy: () => tn,
308
- padEnd: () => Br,
309
- padStart: () => Vr,
310
- parentContainsChildren: () => $n,
311
- partition: () => nn,
312
- pick: () => rn,
313
- pickBy: () => an,
314
- pickDataAttributes: () => Hr,
315
- pinyin: () => ki,
316
- plus: () => Ir,
317
- pullAll: () => on,
318
- reflow: () => Z,
319
- removeDarkTheme: () => Yr,
320
- render: () => qr,
321
- replaceEmptyWithHyphen: () => ei,
322
- resizeObserver: () => Ur,
323
- result: () => X,
324
- sample: () => sn,
325
- sampleSize: () => cn,
326
- saveAs: () => Wr,
327
- screenfull: () => Ln,
328
- scrollIntoViewIfNeeded: () => Gr,
329
- searchTree: () => di,
330
- set: () => ln,
331
- setCreateRoot: () => Kr,
332
- setDarkTheme: () => Jr,
333
- setDir: () => Xr,
334
- setPrimaryColor: () => Zr,
335
- setTheme: () => Qr,
336
- setTransformStyle: () => ri,
337
- setWith: () => un,
338
- shuffle: () => dn,
339
- snakeCase: () => fn,
340
- sortBy: () => pn,
341
- startCase: () => mn,
342
- supportNodeRef: () => Nn,
343
- supportRef: () => Pn,
344
- throttle: () => hn,
345
- times: () => Lr,
346
- tinycolor: () => ii,
347
- toArray: () => ai,
348
- toPath: () => gn,
349
- tree: () => fi,
350
- truncate: () => _n,
351
- tunnel: () => pi,
352
- union: () => vn,
353
- uniq: () => yn,
354
- uniqueId: () => bn,
355
- unset: () => xn,
356
- update: () => Sn,
357
- updateWith: () => Cn,
358
- upperCase: () => wn,
359
- upperFirst: () => Tn,
360
- useComposeRef: () => Fn,
361
- uuid: () => kr,
362
- uuidv4: () => Ar,
363
- validatorLocale: () => Di,
364
- warning: () => Oi,
365
- without: () => En,
366
- xor: () => Dn,
367
- zip: () => On
198
+ isServerRendering: () => Le,
199
+ kebabCase: () => M,
200
+ keyboardCode: () => qn,
201
+ mapKeys: () => N,
202
+ mapValues: () => P,
203
+ math: () => Yt,
204
+ mean: () => F,
205
+ memoize: () => I,
206
+ merge: () => L,
207
+ mergeProps: () => lt,
208
+ mergeWith: () => R,
209
+ mergedToString: () => $t,
210
+ migrateLegacyProps: () => ut,
211
+ minus: () => Xt,
212
+ move: () => z,
213
+ mutationObserver: () => en,
214
+ noop: () => B,
215
+ off: () => ot,
216
+ omit: () => V,
217
+ omitBy: () => H,
218
+ on: () => st,
219
+ orderBy: () => U,
220
+ padEnd: () => tn,
221
+ padStart: () => nn,
222
+ parentContainsChildren: () => ct,
223
+ partition: () => W,
224
+ pick: () => G,
225
+ pickAttributesByPrefixes: () => rn,
226
+ pickBy: () => K,
227
+ pickDataAriaAttributes: () => an,
228
+ pinyin: () => Kn,
229
+ plus: () => Zt,
230
+ pullAll: () => q,
231
+ reflow: () => X,
232
+ removeDarkTheme: () => fn,
233
+ render: () => un,
234
+ replaceEmptyWithHyphen: () => _n,
235
+ resizeObserver: () => on,
236
+ result: () => J,
237
+ sample: () => Y,
238
+ sampleSize: () => ae,
239
+ saveAs: () => sn,
240
+ screenfull: () => Ke,
241
+ scrollIntoViewIfNeeded: () => cn,
242
+ searchTree: () => On,
243
+ set: () => oe,
244
+ setCreateRoot: () => ln,
245
+ setDarkTheme: () => dn,
246
+ setDir: () => pn,
247
+ setPrimaryColor: () => mn,
248
+ setTheme: () => hn,
249
+ setTransformStyle: () => bn,
250
+ setWith: () => se,
251
+ shuffle: () => ce,
252
+ snakeCase: () => le,
253
+ sortBy: () => ue,
254
+ startCase: () => de,
255
+ supportNodeRef: () => He,
256
+ supportRef: () => Ue,
257
+ swap: () => fe,
258
+ throttle: () => pe,
259
+ times: () => Qt,
260
+ tinycolor: () => xn,
261
+ toArray: () => Sn,
262
+ toPath: () => me,
263
+ toSwapped: () => he,
264
+ tree: () => kn,
265
+ truncate: () => ge,
266
+ tunnel: () => An,
267
+ union: () => _e,
268
+ uniq: () => ve,
269
+ uniqueId: () => ye,
270
+ unset: () => be,
271
+ update: () => xe,
272
+ updateWith: () => Se,
273
+ upperCase: () => Ce,
274
+ upperFirst: () => we,
275
+ useComposeRef: () => We,
276
+ uuid: () => Wt,
277
+ uuidv4: () => Gt,
278
+ validatorLocale: () => Wn,
279
+ warning: () => Gn,
280
+ without: () => Te,
281
+ xor: () => Ee,
282
+ zip: () => De
368
283
  });
369
- e($, _r), e($, lt), e($, ut);
284
+ import * as Yn from "@unicom-cloud/utils/is";
285
+ e($, Yn), e($, At), e($, te);
370
286
  //#endregion
371
- export { ji as COMPONENT_NAMES, or as CSS_VARIABLE_ELEMENT, sr as DAYJS_DEFAULT_FORMAT, cr as DAYJS_DEFAULT_FORMAT_WITH_TIME, vr as Emitter, $r as HYPHEN, lr as PREFIX_CLASS, gi as PqbValidator, mi as Tween, ur as UI_PC_KEY, dr as UI_PC_THEME_DARK_CLASS_NAME, _i as Validator, vi as ValidatorArray, yi as ValidatorBase, bi as ValidatorBoolean, xi as ValidatorCustom, Si as ValidatorNumber, Ci as ValidatorObject, wi as ValidatorSchema, Ti as ValidatorString, Ei as ValidatorType, dt as assign, ft as assignIn, pt as at, nr as callOrReturn, tr as callbackOriginRef, mt as camelCase, Rn as canUseDOM, ht as capitalize, rr as caseName, gt as castArray, _t as chain, vt as chunk, yt as clamp, ir as className, Q as clipboardCopy, Q as copy, bt as clone, xt as cloneDeep, St as cloneDeepWith, Ct as cloneWith, wt as compact, kn as composeRef, zn as contains, fr as convertTime, pr as convertToDurationBasedOnTimeUnits, ar as cs, Tt as curry, mr as dateFormat, gr as dayjs, hr as dayjsFormat, Et as debounce, Dt as defaultTo, Ot as defaults, kt as defaultsDeep, At as difference, Nr as div, hi as easing, jt as escape, yr as fileRead, br as fileToDataURL, xr as fillNBSP, An as fillRef, Mt as findKey, oi as findNodeBy, ti as fixedWidth, Nt as flatten, Pt as flattenDeep, Ft as flow, Bn as focusAtEnd, Z as forceReflow, Z as reflow, It as get, Vn as getBody, Hn as getBodyContainer, si as getChildWithParentBy, Un as getDOM, Wn as getDocument, Gn as getDocumentElement, In as getElement, Kn as getElementCoordinates, qn as getElementOuterSize, Jn as getHead, Sr as getHighlightText, Cr as getHotkeyHandler, ci as getItemBy, li as getItemByID, ui as getLabelFromDictionaryByValue, jn as getNodeRef, Mn as getReactElementRef, Tr as getScrollBarHeight, wr as getScrollBarSize, Er as getScrollBarWidth, Yn as getScrollElements, Dr as getStringLength, ni as getStyle, Xn as getTopLevelOverlayContainer, Lt as groupBy, Rt as has, zt as hasIn, Or as include, jr as initAllLineClamp, Bt as intersection, Mr as intersectionObserver, Vt as invert, Ht as invertBy, Ut as invoke, te as is32Bit, ne as isAllChinese, re as isArguments, ie as isArray, t as isArrayAndNotEmpty, n as isArrayBuffer, r as isArrayEmpty, i as isArrayLike, a as isArrayLikeObject, o as isAscii, s as isAsyncFunction, c as isBase64, l as isBigInt, u as isBlob, d as isBoolean, f as isBuffer, p as isChinese, m as isColorValue, h as isColorValue_, g as isCompositeTypeElement, _ as isDataURI, v as isDate, y as isDayjs, b as isElement, x as isEmail, S as isEmpty, C as isEmptyArray, w as isEmptyChildren, T as isEmptyObject, E as isEmptyReactNode, D as isEmptyString, O as isEmptyValue, k as isEqual, A as isEqualWith, j as isError, M as isEventTarget, N as isExist, P as isFalse, F as isFile, I as isFinite, L as isFullWidth, R as isFunction, z as isHSL, B as isHalfWidth, V as isHash, H as isHexColor, U as isIMEI, W as isIP, G as isIPRange, K as isIdentityCard, q as isInteger, J as isJSON, Y as isJSON_String, ae as isJWT, oe as isLength, se as isMACAddress, ce as isMD5, le as isMap, ue as isMatch, de as isMatchWith, fe as isMimeType, pe as isMobilePhone, me as isMobilePhoneLocales, he as isNaN, ge as isNative, _e as isNil, ve as isNonNullable, ye as isNotFound, be as isNull, xe as isNullOrUndefined, Se as isNumber, Ce as isNumberOrString, we as isObject, Te as isObjectLike, Ee as isPlainObject, De as isPort, Oe as isPresent, ke as isPrimitive, Ae as isPromise, je as isReact18, Me as isReact19, Ne as isReactClassComponent, Pe as isReactComponent, Fe as isReactComponentAndNotFragment, Ie as isReactFunctionalComponent, Le as isReadableStream, Re as isRegExp, ze as isRgbColor, Be as isSafeInteger, Ve as isSemVer, He as isServerRendering, Ue as isSet, We as isSlug, Ge as isSparseArray, Ke as isString, qe as isStringAndExist, Je as isStringOrNumber, Ye as isStrongPassword, Xe as isSymbol, Ze as isThenable, Qe as isTrue, $e as isTypedArray, et as isURL, tt as isUUID, nt as isUndefined, rt as isUndefinedOrNull, it as isVariableWidth, at as isWeakMap, ot as isWeakSet, st as isWindow, ct as isZero, Wt as kebabCase, Ai as keyboardCode, Gt as mapKeys, Kt as mapValues, Pr as math, qt as mean, Jt as memoize, Yt as merge, er as mergeProps, Xt as mergeWith, Rr as mergedToString, Fr as minus, Zt as move, zr as mutationObserver, Qt as noop, Zn as off, $t as omit, en as omitBy, Qn as on, tn as orderBy, Br as padEnd, Vr as padStart, $n as parentContainsChildren, nn as partition, rn as pick, an as pickBy, Hr as pickDataAttributes, ki as pinyin, Ir as plus, on as pullAll, Yr as removeDarkTheme, qr as render, ei as replaceEmptyWithHyphen, Ur as resizeObserver, X as result, sn as sample, cn as sampleSize, Wr as saveAs, Ln as screenfull, Gr as scrollIntoViewIfNeeded, di as searchTree, ln as set, Kr as setCreateRoot, Jr as setDarkTheme, Xr as setDir, Zr as setPrimaryColor, Qr as setTheme, ri as setTransformStyle, un as setWith, dn as shuffle, fn as snakeCase, pn as sortBy, mn as startCase, Nn as supportNodeRef, Pn as supportRef, hn as throttle, Lr as times, ii as tinycolor, ai as toArray, gn as toPath, fi as tree, _n as truncate, pi as tunnel, vn as union, yn as uniq, bn as uniqueId, xn as unset, Sn as update, Cn as updateWith, wn as upperCase, Tn as upperFirst, Fn as useComposeRef, $ as utils_exports, kr as uuid, Ar as uuidv4, Di as validatorLocale, Oi as warning, En as without, Dn as xor, On as zip };
287
+ export { Jn as COMPONENT_NAMES, yt as CSS_VARIABLE_ELEMENT, bt as DAYJS_DEFAULT_FORMAT, xt as DAYJS_DEFAULT_FORMAT_WITH_TIME, jt as Emitter, gn as HYPHEN, St as PREFIX_CLASS, Nn as PqbValidator, jn as Tween, Ct as UI_PC_KEY, wt as UI_PC_THEME_DARK_CLASS_NAME, Pn as Validator, Fn as ValidatorArray, In as ValidatorBase, Ln as ValidatorBoolean, Rn as ValidatorCustom, zn as ValidatorNumber, Bn as ValidatorObject, Vn as ValidatorSchema, Hn as ValidatorString, Un as ValidatorType, ne as assign, re as assignIn, ie as at, dt as callOrReturn, Z as callbackOriginRef, t as camelCase, qe as canUseDOM, n as capitalize, ft as caseName, r as castArray, i as chain, a as chunk, o as clamp, pt as className, Q as clipboardCopy, Q as copy, s as clone, c as cloneDeep, l as cloneDeepWith, u as cloneWith, mt as cls, ht as clsx, d as compact, Re as composeRef, _t as confetti, Je as contains, Tt as convertTime, Et as convertToDurationBasedOnTimeUnits, gt as cs, f as curry, Dt as dateFormat, kt as dayjs, Ot as dayjsFormat, p as debounce, m as defaultTo, h as defaults, g as defaultsDeep, _ as difference, Jt as div, Mn as easing, v as escape, y as extend, Mt as fileRead, Nt as fileToDataURL, Pt as fillNBSP, ze as fillRef, b as findKey, Cn as findNodeBy, vt as fire, vn as fixedWidth, x as flatten, S as flattenDeep, C as flow, Ye as focusAtEnd, X as forceReflow, X as reflow, w as get, Xe as getBody, Ze as getBodyContainer, wn as getChildWithParentBy, Ft as getCompatProp, Qe as getDOM, $e as getDocument, et as getDocumentElement, Ge as getElement, tt as getElementCoordinates, nt as getElementOuterSize, rt as getHead, It as getHighlightText, Lt as getHotkeyHandler, Tn as getItemBy, En as getItemByID, Dn as getLabelFromDictionaryByValue, Be as getNodeRef, Rt as getPrefixCls, Ve as getReactElementRef, Bt as getScrollBarHeight, zt as getScrollBarSize, Vt as getScrollBarWidth, it as getScrollElements, Ht as getStringLength, yn as getStyle, at as getTopLevelOverlayContainer, T as groupBy, E as has, D as hasIn, Ut as include, Kt as initAllLineClamp, O as intersection, qt as intersectionObserver, k as invert, A as invertBy, j as invoke, Oe as isCompositeTypeElement, ke as isEmptyChildren, Ae as isEmptyReactNode, je as isReact18, Me as isReact19, Ne as isReactClassComponent, Pe as isReactComponent, Fe as isReactComponentAndNotFragment, Ie as isReactFunctionalComponent, Le as isServerRendering, M as kebabCase, qn as keyboardCode, N as mapKeys, P as mapValues, Yt as math, F as mean, I as memoize, L as merge, lt as mergeProps, R as mergeWith, $t as mergedToString, ut as migrateLegacyProps, Xt as minus, z as move, en as mutationObserver, B as noop, ot as off, V as omit, H as omitBy, st as on, U as orderBy, tn as padEnd, nn as padStart, ct as parentContainsChildren, W as partition, G as pick, rn as pickAttributesByPrefixes, K as pickBy, an as pickDataAriaAttributes, Kn as pinyin, Zt as plus, q as pullAll, fn as removeDarkTheme, un as render, _n as replaceEmptyWithHyphen, on as resizeObserver, J as result, Y as sample, ae as sampleSize, sn as saveAs, Ke as screenfull, cn as scrollIntoViewIfNeeded, On as searchTree, oe as set, ln as setCreateRoot, dn as setDarkTheme, pn as setDir, mn as setPrimaryColor, hn as setTheme, bn as setTransformStyle, se as setWith, ce as shuffle, le as snakeCase, ue as sortBy, de as startCase, He as supportNodeRef, Ue as supportRef, fe as swap, pe as throttle, Qt as times, xn as tinycolor, Sn as toArray, me as toPath, he as toSwapped, kn as tree, ge as truncate, An as tunnel, _e as union, ve as uniq, ye as uniqueId, be as unset, xe as update, Se as updateWith, Ce as upperCase, we as upperFirst, We as useComposeRef, $ as utils_exports, Wt as uuid, Gt as uuidv4, Wn as validatorLocale, Gn as warning, Te as without, Ee as xor, De as zip };
288
+ /* 欲穷千里目,更上一层楼 */
372
289
  /* 独立思考,明辨是非 */