@unicom-cloud/ui-common 0.1.46 → 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 (477) 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 +2 -0
  18. package/border-beam/BorderBeam.js +37 -31
  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 +4 -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 +2 -1
  29. package/development/Development.js +24 -16
  30. package/development/constants.js +3 -1
  31. package/development/context.js +3 -1
  32. package/development/index.d.ts +4 -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 +2 -2
  37. package/empty/Empty.js +20 -13
  38. package/empty/constants.js +3 -1
  39. package/empty/context.js +3 -1
  40. package/empty/index.d.ts +4 -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 +3 -8
  45. package/flex/Flex.js +45 -42
  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 +9 -4
  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 +14 -12
  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 +3 -1
  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 +2 -1
  254. package/icons/file/File.js +39 -34
  255. package/icons/file/context.js +5 -3
  256. package/icons/file/index.d.ts +4 -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 -652
  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 +2 -0
  314. package/resize-observer/ResizeObserver.js +23 -16
  315. package/resize-observer/SingleObserver.js +35 -33
  316. package/resize-observer/constants.js +3 -1
  317. package/resize-observer/context.js +3 -1
  318. package/resize-observer/index.d.ts +4 -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 +3 -8
  324. package/space/Space.js +60 -51
  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 +7 -2
  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 +2 -0
  354. package/suspense-fallback-test/SuspenseFallbackTest.js +11 -4
  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 +4 -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 +2 -0
  363. package/timer/Timer.js +23 -17
  364. package/timer/constants.js +3 -1
  365. package/timer/context.js +3 -1
  366. package/timer/index.d.ts +4 -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 +2 -0
  385. package/typewriter/Typewriter.js +25 -18
  386. package/typewriter/constants.js +3 -1
  387. package/typewriter/context.js +3 -1
  388. package/typewriter/index.d.ts +4 -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.js +38 -35
  408. package/utils/emitter.js +3 -1
  409. package/utils/file.js +3 -1
  410. package/utils/fileRead.js +3 -1
  411. package/utils/fileToDataURL.js +3 -1
  412. package/utils/fillNBSP.js +4 -2
  413. package/utils/getCompatProp.d.ts +9 -0
  414. package/utils/getCompatProp.js +12 -0
  415. package/utils/getElement.js +16 -14
  416. package/utils/getHighlightText.js +20 -17
  417. package/utils/getHotkeyHandler.js +13 -11
  418. package/utils/getPrefixCls.d.ts +2 -0
  419. package/utils/getPrefixCls.js +11 -0
  420. package/utils/getScrollBarHeight.js +3 -1
  421. package/utils/getScrollBarSize.js +9 -7
  422. package/utils/getScrollBarWidth.js +3 -1
  423. package/utils/getScrollParent.js +3 -1
  424. package/utils/getStringLength.js +3 -1
  425. package/utils/include.js +3 -1
  426. package/utils/index.d.ts +6 -0
  427. package/utils/index.js +270 -354
  428. package/utils/initAllLineClamp.js +3 -1
  429. package/utils/intersectionObserver.js +17 -15
  430. package/utils/is.d.ts +2 -6
  431. package/utils/is.js +29 -139
  432. package/utils/keyboardCode.js +3 -1
  433. package/utils/lodash.d.ts +2 -1
  434. package/utils/lodash.js +55 -52
  435. package/utils/math.js +3 -1
  436. package/utils/mergeProps.d.ts +3 -1
  437. package/utils/mergeProps.js +15 -8
  438. package/utils/mergedToString.js +14 -11
  439. package/utils/migrateLegacyProps.d.ts +14 -0
  440. package/utils/migrateLegacyProps.js +19 -0
  441. package/utils/mutationObserver.js +15 -13
  442. package/utils/names.d.ts +31 -19
  443. package/utils/names.js +63 -31
  444. package/utils/object.js +3 -1
  445. package/utils/omit.js +3 -1
  446. package/utils/pad.js +3 -1
  447. package/utils/pick.d.ts +7 -2
  448. package/utils/pick.js +11 -9
  449. package/utils/pinyin.js +3 -1
  450. package/utils/react19Adapter.js +3 -1
  451. package/utils/reactNode.js +11 -9
  452. package/utils/ref.js +23 -19
  453. package/utils/resizeObserver.js +7 -5
  454. package/utils/saveAs.js +3 -1
  455. package/utils/screenfull.js +3 -1
  456. package/utils/scrollIntoViewIfNeeded.js +3 -1
  457. package/utils/scrollTo.js +7 -5
  458. package/utils/setCreateRoot.js +14 -11
  459. package/utils/setDarkTheme.js +16 -14
  460. package/utils/setDir.js +7 -5
  461. package/utils/setPrimaryColor.js +4 -2
  462. package/utils/setTheme.js +14 -12
  463. package/utils/string.js +3 -1
  464. package/utils/style.js +3 -1
  465. package/utils/tinycolor.js +3 -1
  466. package/utils/toArray.js +7 -5
  467. package/utils/tree.js +3 -1
  468. package/utils/tunnel.d.ts +6 -5
  469. package/utils/tunnel.js +22 -20
  470. package/utils/tween.js +3 -1
  471. package/utils/uuid.js +3 -1
  472. package/utils/validate.js +3 -1
  473. package/utils/warning.js +3 -1
  474. package/version/index.d.ts +0 -1
  475. package/version/index.js +10 -8
  476. package/hooks/use-merge-props/index.d.ts +0 -5
  477. package/hooks/use-merge-props/index.js +0 -10
package/utils/index.js CHANGED
@@ -1,65 +1,70 @@
1
- /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
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, isCompositeTypeElement as h, isDataURI as g, isDate as _, isDayjs as v, isElement as y, isEmail as b, isEmpty as x, isEmptyArray as S, isEmptyChildren as C, isEmptyObject as w, isEmptyReactNode as T, isEmptyString as E, isEmptyValue as D, isEqual as O, isEqualWith as k, isError as A, isEventTarget as j, isExist as M, isFalse as N, isFile as P, isFinite as F, isFullWidth as I, isFunction as L, isHSL as R, isHalfWidth as z, isHash as B, isHexColor as V, isIMEI as H, isIP as U, isIPRange as W, isIdentityCard as G, isInteger as K, isJSON as q, isJSON_String as J, isJWT as Y, isLength as ae, isMACAddress as oe, isMD5 as se, isMap as ce, isMatch as le, isMatchWith as ue, isMimeType as de, isMobilePhone as fe, isMobilePhoneLocales as pe, isNaN as me, isNative as he, isNil as ge, isNonNullable as _e, isNotFound as ve, isNull as ye, isNullOrUndefined as be, isNumber as xe, isNumberOrString as Se, isObject as Ce, isObjectLike as we, isPlainObject as Te, isPort as Ee, isPresent as De, isPrimitive as Oe, isPromise as ke, isReact18 as Ae, isReact19 as je, isReactClassComponent as Me, isReactComponent as Ne, isReactComponentAndNotFragment as Pe, isReactFunctionalComponent as Fe, isReadableStream as Ie, isRegExp as Le, isRgbColor as Re, isSafeInteger as ze, isSemVer as Be, isServerRendering as Ve, isSet as He, isSlug as Ue, isSparseArray as We, isString as Ge, isStringAndExist as Ke, isStringOrNumber as qe, isStrongPassword as Je, isSymbol as Ye, isThenable as Xe, isTrue as Ze, isTypedArray as Qe, isURL as $e, isUUID as et, isUndefined as tt, isUndefinedOrNull as nt, isVariableWidth as rt, isWeakMap as it, isWeakSet as at, isWindow as ot, isZero as st, is_exports as ct } from "./is.js";
4
- import { object_exports as lt } from "./object.js";
5
- import { assign as ut, assignIn as dt, at as ft, camelCase as pt, capitalize as mt, castArray as ht, chain as gt, chunk as _t, clamp as vt, clone as yt, cloneDeep as bt, cloneDeepWith as xt, cloneWith as St, compact as Ct, curry as wt, debounce as Tt, defaultTo as Et, defaults as Dt, defaultsDeep as Ot, difference as kt, escape as At, findKey as jt, flatten as Mt, flattenDeep as Nt, flow as Pt, get as Ft, groupBy as It, has as Lt, hasIn as Rt, intersection as zt, invert as Bt, invertBy as Vt, invoke as Ht, kebabCase as Ut, mapKeys as Wt, mapValues as Gt, mean as Kt, memoize as qt, merge as Jt, mergeWith as Yt, move as Xt, noop as Zt, omit as Qt, omitBy as $t, orderBy as en, partition as tn, pick as nn, pickBy as rn, pullAll as an, result as on, sample as X, sampleSize as sn, set as cn, setWith as ln, shuffle as un, snakeCase as dn, sortBy as fn, startCase as pn, swap as mn, throttle as hn, toPath as gn, toSwapped as _n, truncate as vn, union as yn, uniq as bn, uniqueId as xn, unset as Sn, update as Cn, updateWith as wn, upperCase as Tn, upperFirst as En, without as Dn, xor as On, zip as kn } from "./lodash.js";
6
- import { composeRef as An, fillRef as jn, getNodeRef as Mn, getReactElementRef as Nn, supportNodeRef as Pn, supportRef as Fn, useComposeRef as In } from "./ref.js";
7
- import Ln from "./getElement.js";
8
- import { screenfull as Rn } from "./screenfull.js";
9
- import { canUseDOM as zn, contains as Bn, focusAtEnd as Vn, forceReflow as Z, getBody as Hn, getBodyContainer as Un, getDOM as Wn, getDocument as Gn, getDocumentElement as Kn, getElementCoordinates as qn, getElementOuterSize as Jn, getHead as Yn, getScrollElements as Xn, getTopLevelOverlayContainer as Zn, off as Qn, on as $n, parentContainsChildren as er } from "./dom.js";
10
- import tr from "./mergeProps.js";
11
- import { callbackOriginRef as nr } from "./callbackOriginRef.js";
12
- import { callOrReturn as rr } from "./callOrReturn.js";
13
- import { caseName as ir } from "./caseName.js";
14
- import { className as ar, cs as or } from "./className.js";
15
- import { CSS_VARIABLE_ELEMENT as sr, DAYJS_DEFAULT_FORMAT as cr, DAYJS_DEFAULT_FORMAT_WITH_TIME as lr, PREFIX_CLASS as ur, UI_PC_KEY as dr, UI_PC_THEME_DARK_CLASS_NAME as fr } 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 pr, convertToDurationBasedOnTimeUnits as mr, dateFormat as hr, dayjsFormat as gr } from "./date.js";
19
- import { dayjs as _r } from "./dayjs.js";
20
- import { document_exports as vr } from "./document.js";
21
- import { Emitter as yr } 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 br } from "./fileRead.js";
24
- import { fileToDataURL as xr } from "./fileToDataURL.js";
25
- import Sr from "./fillNBSP.js";
26
- import Cr from "./getHighlightText.js";
27
- import wr from "./getHotkeyHandler.js";
28
- import Tr from "./getScrollBarSize.js";
29
- import Er from "./getScrollBarHeight.js";
30
- import Dr 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 Or from "./getStringLength.js";
33
- import kr from "./include.js";
34
- import { uuid as Ar, uuidv4 as jr } from "./uuid.js";
35
- import Mr from "./initAllLineClamp.js";
36
- import Nr from "./intersectionObserver.js";
37
- import { div as Pr, math as Fr, minus as Ir, plus as Lr, times as Rr } from "./math.js";
38
- import zr from "./mergedToString.js";
39
- import Br 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 Vr, padStart as Hr } from "./pad.js";
42
- import { pickDataAttributes as Ur } from "./pick.js";
43
- import Wr from "./resizeObserver.js";
44
- import { saveAs as Gr } from "./saveAs.js";
45
- import Kr from "./scrollIntoViewIfNeeded.js";
46
- import qr, { render as Jr } from "./setCreateRoot.js";
47
- import Yr, { removeDarkTheme as Xr } from "./setDarkTheme.js";
48
- import Zr from "./setDir.js";
49
- import Qr from "./setPrimaryColor.js";
50
- import $r from "./setTheme.js";
51
- import { HYPHEN as ei, replaceEmptyWithHyphen as ti } from "./string.js";
52
- import { fixedWidth as ni, getStyle as ri, setTransformStyle as ii } from "./style.js";
53
- import { tinycolor as ai } from "./tinycolor.js";
54
- import oi from "./toArray.js";
55
- import { findNodeBy as si, getChildWithParentBy as ci, getItemBy as li, getItemByID as ui, getLabelFromDictionaryByValue as di, searchTree as fi, tree as pi } from "./tree.js";
56
- import mi from "./tunnel.js";
57
- import { Tween as hi, easing as gi } from "./tween.js";
58
- import { PqbValidator as _i, Validator as vi, ValidatorArray as yi, ValidatorBase as bi, ValidatorBoolean as xi, ValidatorCustom as Si, ValidatorNumber as Ci, ValidatorObject as wi, ValidatorSchema as Ti, ValidatorString as Ei, ValidatorType as Di, validatorLocale as Oi } from "./validate.js";
59
- import ki from "./warning.js";
60
- import { pinyin_exports as Ai } from "./pinyin.js";
61
- import { keyboardCode as ji } from "./keyboardCode.js";
62
- import { COMPONENT_NAMES as Mi } 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,306 +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: () => Mi,
72
- CSS_VARIABLE_ELEMENT: () => sr,
73
- DAYJS_DEFAULT_FORMAT: () => cr,
74
- DAYJS_DEFAULT_FORMAT_WITH_TIME: () => lr,
75
- Emitter: () => yr,
76
- HYPHEN: () => ei,
77
- PREFIX_CLASS: () => ur,
78
- PqbValidator: () => _i,
79
- Tween: () => hi,
80
- UI_PC_KEY: () => dr,
81
- UI_PC_THEME_DARK_CLASS_NAME: () => fr,
82
- Validator: () => vi,
83
- ValidatorArray: () => yi,
84
- ValidatorBase: () => bi,
85
- ValidatorBoolean: () => xi,
86
- ValidatorCustom: () => Si,
87
- ValidatorNumber: () => Ci,
88
- ValidatorObject: () => wi,
89
- ValidatorSchema: () => Ti,
90
- ValidatorString: () => Ei,
91
- ValidatorType: () => Di,
92
- assign: () => ut,
93
- assignIn: () => dt,
94
- at: () => ft,
95
- callOrReturn: () => rr,
96
- callbackOriginRef: () => nr,
97
- camelCase: () => pt,
98
- canUseDOM: () => zn,
99
- capitalize: () => mt,
100
- caseName: () => ir,
101
- castArray: () => ht,
102
- chain: () => gt,
103
- chunk: () => _t,
104
- clamp: () => vt,
105
- className: () => ar,
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: () => yt,
108
- cloneDeep: () => bt,
109
- cloneDeepWith: () => xt,
110
- cloneWith: () => St,
111
- compact: () => Ct,
112
- composeRef: () => An,
113
- contains: () => Bn,
114
- convertTime: () => pr,
115
- convertToDurationBasedOnTimeUnits: () => mr,
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: () => or,
118
- curry: () => wt,
119
- dateFormat: () => hr,
120
- dayjs: () => _r,
121
- dayjsFormat: () => gr,
122
- debounce: () => Tt,
123
- defaultTo: () => Et,
124
- defaults: () => Dt,
125
- defaultsDeep: () => Ot,
126
- difference: () => kt,
127
- div: () => Pr,
128
- easing: () => gi,
129
- escape: () => At,
130
- fileRead: () => br,
131
- fileToDataURL: () => xr,
132
- fillNBSP: () => Sr,
133
- fillRef: () => jn,
134
- findKey: () => jt,
135
- findNodeBy: () => si,
136
- fixedWidth: () => ni,
137
- flatten: () => Mt,
138
- flattenDeep: () => Nt,
139
- flow: () => Pt,
140
- focusAtEnd: () => Vn,
141
- forceReflow: () => Z,
142
- get: () => Ft,
143
- getBody: () => Hn,
144
- getBodyContainer: () => Un,
145
- getChildWithParentBy: () => ci,
146
- getDOM: () => Wn,
147
- getDocument: () => Gn,
148
- getDocumentElement: () => Kn,
149
- getElement: () => Ln,
150
- getElementCoordinates: () => qn,
151
- getElementOuterSize: () => Jn,
152
- getHead: () => Yn,
153
- getHighlightText: () => Cr,
154
- getHotkeyHandler: () => wr,
155
- getItemBy: () => li,
156
- getItemByID: () => ui,
157
- getLabelFromDictionaryByValue: () => di,
158
- getNodeRef: () => Mn,
159
- getReactElementRef: () => Nn,
160
- getScrollBarHeight: () => Er,
161
- getScrollBarSize: () => Tr,
162
- getScrollBarWidth: () => Dr,
163
- getScrollElements: () => Xn,
164
- getStringLength: () => Or,
165
- getStyle: () => ri,
166
- getTopLevelOverlayContainer: () => Zn,
167
- groupBy: () => It,
168
- has: () => Lt,
169
- hasIn: () => Rt,
170
- include: () => kr,
171
- initAllLineClamp: () => Mr,
172
- intersection: () => zt,
173
- intersectionObserver: () => Nr,
174
- invert: () => Bt,
175
- invertBy: () => Vt,
176
- invoke: () => Ht,
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
- isCompositeTypeElement: () => h,
196
- isDataURI: () => g,
197
- isDate: () => _,
198
- isDayjs: () => v,
199
- isElement: () => y,
200
- isEmail: () => b,
201
- isEmpty: () => x,
202
- isEmptyArray: () => S,
203
- isEmptyChildren: () => C,
204
- isEmptyObject: () => w,
205
- isEmptyReactNode: () => T,
206
- isEmptyString: () => E,
207
- isEmptyValue: () => D,
208
- isEqual: () => O,
209
- isEqualWith: () => k,
210
- isError: () => A,
211
- isEventTarget: () => j,
212
- isExist: () => M,
213
- isFalse: () => N,
214
- isFile: () => P,
215
- isFinite: () => F,
216
- isFullWidth: () => I,
217
- isFunction: () => L,
218
- isHSL: () => R,
219
- isHalfWidth: () => z,
220
- isHash: () => B,
221
- isHexColor: () => V,
222
- isIMEI: () => H,
223
- isIP: () => U,
224
- isIPRange: () => W,
225
- isIdentityCard: () => G,
226
- isInteger: () => K,
227
- isJSON: () => q,
228
- isJSON_String: () => J,
229
- isJWT: () => Y,
230
- isLength: () => ae,
231
- isMACAddress: () => oe,
232
- isMD5: () => se,
233
- isMap: () => ce,
234
- isMatch: () => le,
235
- isMatchWith: () => ue,
236
- isMimeType: () => de,
237
- isMobilePhone: () => fe,
238
- isMobilePhoneLocales: () => pe,
239
- isNaN: () => me,
240
- isNative: () => he,
241
- isNil: () => ge,
242
- isNonNullable: () => _e,
243
- isNotFound: () => ve,
244
- isNull: () => ye,
245
- isNullOrUndefined: () => be,
246
- isNumber: () => xe,
247
- isNumberOrString: () => Se,
248
- isObject: () => Ce,
249
- isObjectLike: () => we,
250
- isPlainObject: () => Te,
251
- isPort: () => Ee,
252
- isPresent: () => De,
253
- isPrimitive: () => Oe,
254
- isPromise: () => ke,
255
- isReact18: () => Ae,
256
- isReact19: () => je,
257
- isReactClassComponent: () => Me,
258
- isReactComponent: () => Ne,
259
- isReactComponentAndNotFragment: () => Pe,
260
- isReactFunctionalComponent: () => Fe,
261
- isReadableStream: () => Ie,
262
- isRegExp: () => Le,
263
- isRgbColor: () => Re,
264
- isSafeInteger: () => ze,
265
- isSemVer: () => Be,
266
- isServerRendering: () => Ve,
267
- isSet: () => He,
268
- isSlug: () => Ue,
269
- isSparseArray: () => We,
270
- isString: () => Ge,
271
- isStringAndExist: () => Ke,
272
- isStringOrNumber: () => qe,
273
- isStrongPassword: () => Je,
274
- isSymbol: () => Ye,
275
- isThenable: () => Xe,
276
- isTrue: () => Ze,
277
- isTypedArray: () => Qe,
278
- isURL: () => $e,
279
- isUUID: () => et,
280
- isUndefined: () => tt,
281
- isUndefinedOrNull: () => nt,
282
- isVariableWidth: () => rt,
283
- isWeakMap: () => it,
284
- isWeakSet: () => at,
285
- isWindow: () => ot,
286
- isZero: () => st,
287
- kebabCase: () => Ut,
288
- keyboardCode: () => ji,
289
- mapKeys: () => Wt,
290
- mapValues: () => Gt,
291
- math: () => Fr,
292
- mean: () => Kt,
293
- memoize: () => qt,
294
- merge: () => Jt,
295
- mergeProps: () => tr,
296
- mergeWith: () => Yt,
297
- mergedToString: () => zr,
298
- minus: () => Ir,
299
- move: () => Xt,
300
- mutationObserver: () => Br,
301
- noop: () => Zt,
302
- off: () => Qn,
303
- omit: () => Qt,
304
- omitBy: () => $t,
305
- on: () => $n,
306
- orderBy: () => en,
307
- padEnd: () => Vr,
308
- padStart: () => Hr,
309
- parentContainsChildren: () => er,
310
- partition: () => tn,
311
- pick: () => nn,
312
- pickBy: () => rn,
313
- pickDataAttributes: () => Ur,
314
- pinyin: () => Ai,
315
- plus: () => Lr,
316
- pullAll: () => an,
317
- reflow: () => Z,
318
- removeDarkTheme: () => Xr,
319
- render: () => Jr,
320
- replaceEmptyWithHyphen: () => ti,
321
- resizeObserver: () => Wr,
322
- result: () => on,
323
- sample: () => X,
324
- sampleSize: () => sn,
325
- saveAs: () => Gr,
326
- screenfull: () => Rn,
327
- scrollIntoViewIfNeeded: () => Kr,
328
- searchTree: () => fi,
329
- set: () => cn,
330
- setCreateRoot: () => qr,
331
- setDarkTheme: () => Yr,
332
- setDir: () => Zr,
333
- setPrimaryColor: () => Qr,
334
- setTheme: () => $r,
335
- setTransformStyle: () => ii,
336
- setWith: () => ln,
337
- shuffle: () => un,
338
- snakeCase: () => dn,
339
- sortBy: () => fn,
340
- startCase: () => pn,
341
- supportNodeRef: () => Pn,
342
- supportRef: () => Fn,
343
- swap: () => mn,
344
- throttle: () => hn,
345
- times: () => Rr,
346
- tinycolor: () => ai,
347
- toArray: () => oi,
348
- toPath: () => gn,
349
- toSwapped: () => _n,
350
- tree: () => pi,
351
- truncate: () => vn,
352
- tunnel: () => mi,
353
- union: () => yn,
354
- uniq: () => bn,
355
- uniqueId: () => xn,
356
- unset: () => Sn,
357
- update: () => Cn,
358
- updateWith: () => wn,
359
- upperCase: () => Tn,
360
- upperFirst: () => En,
361
- useComposeRef: () => In,
362
- uuid: () => Ar,
363
- uuidv4: () => jr,
364
- validatorLocale: () => Oi,
365
- warning: () => ki,
366
- without: () => Dn,
367
- xor: () => On,
368
- zip: () => kn
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,
192
+ isReact18: () => je,
193
+ isReact19: () => Me,
194
+ isReactClassComponent: () => Ne,
195
+ isReactComponent: () => Pe,
196
+ isReactComponentAndNotFragment: () => Fe,
197
+ isReactFunctionalComponent: () => Ie,
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
369
283
  });
370
- e($, vr), e($, ct), e($, lt);
284
+ import * as Yn from "@unicom-cloud/utils/is";
285
+ e($, Yn), e($, At), e($, te);
371
286
  //#endregion
372
- export { Mi as COMPONENT_NAMES, sr as CSS_VARIABLE_ELEMENT, cr as DAYJS_DEFAULT_FORMAT, lr as DAYJS_DEFAULT_FORMAT_WITH_TIME, yr as Emitter, ei as HYPHEN, ur as PREFIX_CLASS, _i as PqbValidator, hi as Tween, dr as UI_PC_KEY, fr as UI_PC_THEME_DARK_CLASS_NAME, vi as Validator, yi as ValidatorArray, bi as ValidatorBase, xi as ValidatorBoolean, Si as ValidatorCustom, Ci as ValidatorNumber, wi as ValidatorObject, Ti as ValidatorSchema, Ei as ValidatorString, Di as ValidatorType, ut as assign, dt as assignIn, ft as at, rr as callOrReturn, nr as callbackOriginRef, pt as camelCase, zn as canUseDOM, mt as capitalize, ir as caseName, ht as castArray, gt as chain, _t as chunk, vt as clamp, ar as className, Q as clipboardCopy, Q as copy, yt as clone, bt as cloneDeep, xt as cloneDeepWith, St as cloneWith, Ct as compact, An as composeRef, Bn as contains, pr as convertTime, mr as convertToDurationBasedOnTimeUnits, or as cs, wt as curry, hr as dateFormat, _r as dayjs, gr as dayjsFormat, Tt as debounce, Et as defaultTo, Dt as defaults, Ot as defaultsDeep, kt as difference, Pr as div, gi as easing, At as escape, br as fileRead, xr as fileToDataURL, Sr as fillNBSP, jn as fillRef, jt as findKey, si as findNodeBy, ni as fixedWidth, Mt as flatten, Nt as flattenDeep, Pt as flow, Vn as focusAtEnd, Z as forceReflow, Z as reflow, Ft as get, Hn as getBody, Un as getBodyContainer, ci as getChildWithParentBy, Wn as getDOM, Gn as getDocument, Kn as getDocumentElement, Ln as getElement, qn as getElementCoordinates, Jn as getElementOuterSize, Yn as getHead, Cr as getHighlightText, wr as getHotkeyHandler, li as getItemBy, ui as getItemByID, di as getLabelFromDictionaryByValue, Mn as getNodeRef, Nn as getReactElementRef, Er as getScrollBarHeight, Tr as getScrollBarSize, Dr as getScrollBarWidth, Xn as getScrollElements, Or as getStringLength, ri as getStyle, Zn as getTopLevelOverlayContainer, It as groupBy, Lt as has, Rt as hasIn, kr as include, Mr as initAllLineClamp, zt as intersection, Nr as intersectionObserver, Bt as invert, Vt as invertBy, Ht 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 isCompositeTypeElement, g as isDataURI, _ as isDate, v as isDayjs, y as isElement, b as isEmail, x as isEmpty, S as isEmptyArray, C as isEmptyChildren, w as isEmptyObject, T as isEmptyReactNode, E as isEmptyString, D as isEmptyValue, O as isEqual, k as isEqualWith, A as isError, j as isEventTarget, M as isExist, N as isFalse, P as isFile, F as isFinite, I as isFullWidth, L as isFunction, R as isHSL, z as isHalfWidth, B as isHash, V as isHexColor, H as isIMEI, U as isIP, W as isIPRange, G as isIdentityCard, K as isInteger, q as isJSON, J as isJSON_String, Y as isJWT, ae as isLength, oe as isMACAddress, se as isMD5, ce as isMap, le as isMatch, ue as isMatchWith, de as isMimeType, fe as isMobilePhone, pe as isMobilePhoneLocales, me as isNaN, he as isNative, ge as isNil, _e as isNonNullable, ve as isNotFound, ye as isNull, be as isNullOrUndefined, xe as isNumber, Se as isNumberOrString, Ce as isObject, we as isObjectLike, Te as isPlainObject, Ee as isPort, De as isPresent, Oe as isPrimitive, ke as isPromise, Ae as isReact18, je as isReact19, Me as isReactClassComponent, Ne as isReactComponent, Pe as isReactComponentAndNotFragment, Fe as isReactFunctionalComponent, Ie as isReadableStream, Le as isRegExp, Re as isRgbColor, ze as isSafeInteger, Be as isSemVer, Ve as isServerRendering, He as isSet, Ue as isSlug, We as isSparseArray, Ge as isString, Ke as isStringAndExist, qe as isStringOrNumber, Je as isStrongPassword, Ye as isSymbol, Xe as isThenable, Ze as isTrue, Qe as isTypedArray, $e as isURL, et as isUUID, tt as isUndefined, nt as isUndefinedOrNull, rt as isVariableWidth, it as isWeakMap, at as isWeakSet, ot as isWindow, st as isZero, Ut as kebabCase, ji as keyboardCode, Wt as mapKeys, Gt as mapValues, Fr as math, Kt as mean, qt as memoize, Jt as merge, tr as mergeProps, Yt as mergeWith, zr as mergedToString, Ir as minus, Xt as move, Br as mutationObserver, Zt as noop, Qn as off, Qt as omit, $t as omitBy, $n as on, en as orderBy, Vr as padEnd, Hr as padStart, er as parentContainsChildren, tn as partition, nn as pick, rn as pickBy, Ur as pickDataAttributes, Ai as pinyin, Lr as plus, an as pullAll, Xr as removeDarkTheme, Jr as render, ti as replaceEmptyWithHyphen, Wr as resizeObserver, on as result, X as sample, sn as sampleSize, Gr as saveAs, Rn as screenfull, Kr as scrollIntoViewIfNeeded, fi as searchTree, cn as set, qr as setCreateRoot, Yr as setDarkTheme, Zr as setDir, Qr as setPrimaryColor, $r as setTheme, ii as setTransformStyle, ln as setWith, un as shuffle, dn as snakeCase, fn as sortBy, pn as startCase, Pn as supportNodeRef, Fn as supportRef, mn as swap, hn as throttle, Rr as times, ai as tinycolor, oi as toArray, gn as toPath, _n as toSwapped, pi as tree, vn as truncate, mi as tunnel, yn as union, bn as uniq, xn as uniqueId, Sn as unset, Cn as update, wn as updateWith, Tn as upperCase, En as upperFirst, In as useComposeRef, $ as utils_exports, Ar as uuid, jr as uuidv4, Oi as validatorLocale, ki as warning, Dn as without, On as xor, kn 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
+ /* 欲穷千里目,更上一层楼 */
373
289
  /* 独立思考,明辨是非 */