@unicom-cloud/ui-common 0.1.58 → 0.1.59

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 (435) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/animation/Animation.js +41 -42
  3. package/animation/constants.d.ts +2 -0
  4. package/animation/constants.js +4 -4
  5. package/animation/context.d.ts +0 -1
  6. package/animation/context.js +3 -3
  7. package/animation/index.d.ts +0 -6
  8. package/animation/index.js +6 -10
  9. package/animation/interface.d.ts +1 -1
  10. package/animation/style/index.js +1 -1
  11. package/animation/utils.js +1 -1
  12. package/base/Base.js +1 -1
  13. package/base/constants.d.ts +2 -0
  14. package/base/constants.js +4 -1
  15. package/base/context.d.ts +0 -1
  16. package/base/context.js +3 -3
  17. package/base/index.js +1 -1
  18. package/base/style/index.js +1 -1
  19. package/base/utils.js +1 -1
  20. package/border-beam/BorderBeam.js +14 -14
  21. package/border-beam/Effect.d.ts +1 -6
  22. package/border-beam/Effect.js +3 -3
  23. package/border-beam/constants.d.ts +2 -1
  24. package/border-beam/constants.js +8 -3
  25. package/border-beam/context.d.ts +0 -1
  26. package/border-beam/context.js +4 -10
  27. package/border-beam/hooks/useBorderSize.d.ts +1 -5
  28. package/border-beam/hooks/useBorderSize.js +1 -1
  29. package/border-beam/hooks/useChildDom.d.ts +1 -1
  30. package/border-beam/hooks/useChildDom.js +1 -1
  31. package/border-beam/index.d.ts +0 -6
  32. package/border-beam/index.js +5 -9
  33. package/border-beam/interface.d.ts +27 -4
  34. package/border-beam/style/index.js +1 -1
  35. package/border-beam/utils.d.ts +1 -9
  36. package/border-beam/utils.js +9 -9
  37. package/development/Development.js +6 -5
  38. package/development/constants.d.ts +2 -0
  39. package/development/constants.js +4 -1
  40. package/development/context.d.ts +0 -1
  41. package/development/context.js +3 -3
  42. package/development/index.d.ts +0 -6
  43. package/development/index.js +5 -9
  44. package/development/style/index.js +1 -1
  45. package/development/utils.js +1 -1
  46. package/empty/Empty.d.ts +1 -1
  47. package/empty/Empty.js +28 -27
  48. package/empty/constants.d.ts +2 -0
  49. package/empty/constants.js +4 -1
  50. package/empty/context.d.ts +0 -1
  51. package/empty/context.js +3 -3
  52. package/empty/index.d.ts +1 -7
  53. package/empty/index.js +5 -9
  54. package/empty/style/index.js +1 -1
  55. package/empty/utils.js +1 -1
  56. package/flex/Flex.js +5 -4
  57. package/flex/FlexVertical.js +1 -1
  58. package/flex/constants.d.ts +2 -0
  59. package/flex/constants.js +7 -1
  60. package/flex/context.d.ts +0 -1
  61. package/flex/context.js +3 -6
  62. package/flex/index.d.ts +1 -7
  63. package/flex/index.js +9 -11
  64. package/flex/interface.d.ts +1 -1
  65. package/flex/style/index.js +1 -1
  66. package/flex/utils.d.ts +1 -1
  67. package/flex/utils.js +10 -12
  68. package/grid/Grid.js +16 -15
  69. package/grid/Item.js +10 -9
  70. package/grid/constants.d.ts +3 -0
  71. package/grid/constants.js +8 -1
  72. package/grid/context.d.ts +0 -2
  73. package/grid/context.js +4 -8
  74. package/grid/index.d.ts +0 -6
  75. package/grid/index.js +9 -11
  76. package/grid/style/index.js +1 -1
  77. package/grid/utils.js +1 -1
  78. package/higher-order/with-speech-synthesis/constants.d.ts +2 -0
  79. package/higher-order/with-speech-synthesis/constants.js +7 -0
  80. package/higher-order/with-speech-synthesis/context.d.ts +0 -1
  81. package/higher-order/with-speech-synthesis/context.js +3 -3
  82. package/higher-order/with-speech-synthesis/index.d.ts +0 -6
  83. package/higher-order/with-speech-synthesis/index.js +5 -9
  84. package/higher-order/with-speech-synthesis/style/index.js +1 -1
  85. package/higher-order/with-speech-synthesis/withSpeechSynthesis.d.ts +8 -1
  86. package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +28 -27
  87. package/hoc/withContext.js +1 -1
  88. package/hooks/create-deep-compare-effect/index.js +1 -1
  89. package/hooks/create-update-effect/index.js +1 -1
  90. package/hooks/create-use-storage-state/index.js +9 -9
  91. package/hooks/index.d.ts +1 -0
  92. package/hooks/index.js +93 -92
  93. package/hooks/use-async-effect/index.js +1 -1
  94. package/hooks/use-boolean/index.js +1 -1
  95. package/hooks/use-click-away/index.d.ts +7 -1
  96. package/hooks/use-click-away/index.js +20 -12
  97. package/hooks/use-computed-state/index.js +1 -1
  98. package/hooks/use-controllable-value/index.js +1 -1
  99. package/hooks/use-cookie-state/index.js +2 -2
  100. package/hooks/use-count-down/index.js +1 -1
  101. package/hooks/use-counter/index.js +1 -1
  102. package/hooks/use-create/index.js +6 -5
  103. package/hooks/use-creation/index.js +7 -6
  104. package/hooks/use-debounce/debounceOptions.d.ts +1 -6
  105. package/hooks/use-debounce/index.js +1 -1
  106. package/hooks/use-debounce/interface.d.ts +14 -0
  107. package/hooks/use-debounce-effect/index.js +1 -1
  108. package/hooks/use-debounce-fn/index.js +5 -5
  109. package/hooks/use-deep-compare-effect/index.js +1 -1
  110. package/hooks/use-deep-compare-layout-effect/index.js +1 -1
  111. package/hooks/use-document-visibility/index.js +7 -7
  112. package/hooks/use-drag/index.d.ts +1 -1
  113. package/hooks/use-drag/index.js +10 -10
  114. package/hooks/use-drag-move/index.js +1 -1
  115. package/hooks/use-drop/index.d.ts +1 -1
  116. package/hooks/use-drop/index.js +1 -1
  117. package/hooks/use-dynamic-list/index.d.ts +18 -0
  118. package/hooks/use-dynamic-list/index.js +105 -0
  119. package/hooks/use-effect-event/index.js +1 -1
  120. package/hooks/use-event/index.js +1 -1
  121. package/hooks/use-event-emitter/index.d.ts +13 -1
  122. package/hooks/use-event-emitter/index.js +15 -12
  123. package/hooks/use-event-listener/index.d.ts +2 -7
  124. package/hooks/use-event-listener/index.js +1 -1
  125. package/hooks/use-event-target/index.js +1 -1
  126. package/hooks/use-external/index.js +2 -2
  127. package/hooks/use-favicon/index.js +2 -2
  128. package/hooks/use-focus-within/index.d.ts +1 -5
  129. package/hooks/use-focus-within/index.js +1 -1
  130. package/hooks/use-focus-within/interface.d.ts +13 -0
  131. package/hooks/use-force-update/index.js +1 -1
  132. package/hooks/use-fullscreen/index.js +14 -14
  133. package/hooks/use-get-state/index.d.ts +1 -7
  134. package/hooks/use-get-state/index.js +1 -1
  135. package/hooks/use-history-travel/index.d.ts +1 -1
  136. package/hooks/use-history-travel/index.js +32 -26
  137. package/hooks/use-hover/index.js +1 -1
  138. package/hooks/use-id/index.js +1 -1
  139. package/hooks/use-in-viewport/index.js +10 -10
  140. package/hooks/use-infinite-scroll/index.js +33 -31
  141. package/hooks/use-intersection-observer/index.js +3 -3
  142. package/hooks/use-intersection-observers/index.js +10 -10
  143. package/hooks/use-interval/index.js +1 -1
  144. package/hooks/use-is-first-render/index.js +1 -1
  145. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  146. package/hooks/use-key-press/index.js +1 -1
  147. package/hooks/use-keyboard-event/index.d.ts +1 -0
  148. package/hooks/use-keyboard-event/index.js +1 -1
  149. package/hooks/use-latest/index.js +1 -1
  150. package/hooks/use-listen-window-resize/index.js +1 -1
  151. package/hooks/use-local-storage-state/index.js +4 -4
  152. package/hooks/use-lock-fn/index.js +1 -1
  153. package/hooks/use-long-press/index.js +1 -1
  154. package/hooks/use-map/index.js +1 -1
  155. package/hooks/use-media/index.js +1 -1
  156. package/hooks/use-memo/index.js +1 -1
  157. package/hooks/use-memoized-fn/index.js +1 -1
  158. package/hooks/use-merge-component-props/index.d.ts +2 -2
  159. package/hooks/use-merge-component-props/index.js +2 -1
  160. package/hooks/use-merge-value/index.d.ts +1 -1
  161. package/hooks/use-merge-value/index.js +1 -1
  162. package/hooks/use-mobile/index.js +1 -1
  163. package/hooks/use-mount/index.js +1 -1
  164. package/hooks/use-mouse/index.d.ts +1 -1
  165. package/hooks/use-mouse/index.js +9 -9
  166. package/hooks/use-mutation-observer/index.js +2 -2
  167. package/hooks/use-mutation-observers/index.js +10 -10
  168. package/hooks/use-network/index.js +1 -1
  169. package/hooks/use-online-status/index.js +1 -1
  170. package/hooks/use-overflow-hidden/index.js +1 -1
  171. package/hooks/use-override-ref/index.d.ts +3 -5
  172. package/hooks/use-override-ref/index.js +5 -5
  173. package/hooks/use-pagination/index.js +1 -1
  174. package/hooks/use-pagination/types.d.ts +5 -8
  175. package/hooks/use-paste-file/index.js +9 -9
  176. package/hooks/use-paste-image/index.js +1 -1
  177. package/hooks/use-persist-callback/index.js +1 -1
  178. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  179. package/hooks/use-previous/index.js +1 -1
  180. package/hooks/use-raf-interval/index.js +17 -17
  181. package/hooks/use-raf-state/index.d.ts +1 -6
  182. package/hooks/use-raf-state/index.js +1 -1
  183. package/hooks/use-raf-timeout/index.js +17 -17
  184. package/hooks/use-reactive/index.js +5 -5
  185. package/hooks/use-ref-latest/index.js +1 -1
  186. package/hooks/use-ref-map/index.d.ts +2 -1
  187. package/hooks/use-ref-map/index.js +1 -1
  188. package/hooks/use-refs/index.js +1 -1
  189. package/hooks/use-request/index.js +5 -5
  190. package/hooks/use-request/src/Fetch.js +1 -1
  191. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  192. package/hooks/use-request/src/plugins/useCachePlugin.js +5 -5
  193. package/hooks/use-request/src/plugins/useDebouncePlugin.js +2 -2
  194. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +13 -12
  195. package/hooks/use-request/src/plugins/usePollingPlugin.js +3 -3
  196. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
  197. package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
  198. package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
  199. package/hooks/use-request/src/useRequest.d.ts +11 -4
  200. package/hooks/use-request/src/useRequest.js +1 -1
  201. package/hooks/use-request/src/useRequestImplement.js +18 -18
  202. package/hooks/use-request/src/utils/cache.js +1 -1
  203. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  204. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  205. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  206. package/hooks/use-request/src/utils/isOnline.js +3 -3
  207. package/hooks/use-request/src/utils/limit.js +1 -1
  208. package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
  209. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  210. package/hooks/use-reset-state/index.js +6 -6
  211. package/hooks/use-resize-observer/index.d.ts +6 -1
  212. package/hooks/use-resize-observer/index.js +30 -4
  213. package/hooks/use-resize-observers/index.d.ts +1 -0
  214. package/hooks/use-resize-observers/index.js +23 -24
  215. package/hooks/use-responsive/index.js +2 -2
  216. package/hooks/use-safe-state/index.js +1 -1
  217. package/hooks/use-scroll/index.js +20 -20
  218. package/hooks/use-selections/index.d.ts +1 -1
  219. package/hooks/use-selections/index.js +45 -39
  220. package/hooks/use-session-storage-state/index.js +4 -4
  221. package/hooks/use-set/index.js +1 -1
  222. package/hooks/use-set-state/index.js +1 -1
  223. package/hooks/use-size/index.d.ts +1 -6
  224. package/hooks/use-size/index.js +4 -33
  225. package/hooks/use-state-callback/index.d.ts +1 -5
  226. package/hooks/use-state-callback/index.js +7 -7
  227. package/hooks/use-state-with-promise/index.d.ts +1 -4
  228. package/hooks/use-state-with-promise/index.js +1 -1
  229. package/hooks/use-sync-state/index.js +5 -5
  230. package/hooks/use-text-selection/index.js +1 -1
  231. package/hooks/use-theme/index.js +14 -14
  232. package/hooks/use-throttle/index.js +1 -1
  233. package/hooks/use-throttle/interface.d.ts +13 -0
  234. package/hooks/use-throttle/throttleOptions.d.ts +1 -5
  235. package/hooks/use-throttle-effect/index.js +5 -5
  236. package/hooks/use-throttle-fn/index.js +5 -5
  237. package/hooks/use-throttle-fn-with-raf/index.js +6 -6
  238. package/hooks/use-timeout/index.js +1 -1
  239. package/hooks/use-title/index.js +5 -5
  240. package/hooks/use-toggle/index.d.ts +6 -3
  241. package/hooks/use-toggle/index.js +1 -1
  242. package/hooks/use-tracked-effect/index.js +1 -1
  243. package/hooks/use-unmount/index.js +1 -1
  244. package/hooks/use-unmounted-ref/index.js +1 -1
  245. package/hooks/use-update/index.js +1 -1
  246. package/hooks/use-update-effect/index.js +1 -1
  247. package/hooks/use-update-layout-effect/index.js +1 -1
  248. package/hooks/use-url-state/index.d.ts +1 -1
  249. package/hooks/use-url-state/index.js +1 -1
  250. package/hooks/use-virtual-list/index.js +13 -13
  251. package/hooks/use-watch/index.js +1 -1
  252. package/hooks/use-web-socket/index.js +7 -7
  253. package/hooks/use-why-did-you-update/index.js +1 -1
  254. package/hooks/use-window-size/index.js +7 -7
  255. package/hooks/utils/createEffectWithTarget.js +7 -7
  256. package/hooks/utils/depsAreSame.js +1 -1
  257. package/hooks/utils/depsEqual.js +1 -1
  258. package/hooks/utils/domTarget.js +1 -1
  259. package/hooks/utils/getDocumentOrShadow.js +1 -1
  260. package/hooks/utils/index.js +1 -1
  261. package/hooks/utils/isAppleDevice.js +1 -1
  262. package/hooks/utils/isBrowser.js +1 -1
  263. package/hooks/utils/isDev.js +1 -1
  264. package/hooks/utils/rect.js +1 -1
  265. package/hooks/utils/useDeepCompareWithTarget.js +4 -4
  266. package/hooks/utils/useEffectWithTarget.js +1 -1
  267. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  268. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  269. package/icons/file/File.js +5 -4
  270. package/icons/file/constants.d.ts +2 -0
  271. package/icons/file/constants.js +7 -0
  272. package/icons/file/context.d.ts +0 -1
  273. package/icons/file/context.js +3 -3
  274. package/icons/file/index.js +2 -2
  275. package/icons/file/style/index.js +1 -1
  276. package/index.d.ts +2 -2
  277. package/index.js +542 -537
  278. package/morphicons/core/interpolate.js +1 -1
  279. package/morphicons/core/normalize.js +57 -57
  280. package/morphicons/core/parse.d.ts +1 -9
  281. package/morphicons/core/resample.js +1 -1
  282. package/morphicons/core/serialize.js +1 -1
  283. package/morphicons/core/spring.js +1 -1
  284. package/morphicons/dom/controller.d.ts +3 -3
  285. package/morphicons/dom/index.js +23 -23
  286. package/morphicons/element/index.d.ts +1 -1
  287. package/morphicons/index.d.ts +1 -1
  288. package/morphicons/index.js +6 -6
  289. package/morphicons/react/index.d.ts +1 -1
  290. package/morphicons/react/index.js +65 -65
  291. package/package.json +1 -1
  292. package/progress/Progress.js +20 -20
  293. package/progress/constants.js +1 -1
  294. package/progress/context.js +1 -1
  295. package/progress/index.js +1 -1
  296. package/progress/style/index.js +1 -1
  297. package/progress/utils.js +1 -1
  298. package/resize-observer/Collection.js +1 -1
  299. package/resize-observer/ResizeObserver.js +13 -12
  300. package/resize-observer/SingleObserver.d.ts +1 -5
  301. package/resize-observer/SingleObserver.js +4 -4
  302. package/resize-observer/constants.d.ts +2 -0
  303. package/resize-observer/constants.js +4 -1
  304. package/resize-observer/context.d.ts +0 -1
  305. package/resize-observer/context.js +3 -3
  306. package/resize-observer/index.d.ts +1 -7
  307. package/resize-observer/index.js +7 -9
  308. package/resize-observer/interface.d.ts +18 -0
  309. package/resize-observer/observerUtil.d.ts +1 -1
  310. package/resize-observer/observerUtil.js +1 -1
  311. package/resize-observer/style/index.js +1 -1
  312. package/resize-observer/utils.js +1 -1
  313. package/space/Space.d.ts +2 -1
  314. package/space/Space.js +12 -11
  315. package/space/SpaceVertical.js +1 -1
  316. package/space/constants.d.ts +2 -0
  317. package/space/constants.js +9 -1
  318. package/space/context.d.ts +0 -1
  319. package/space/context.js +3 -8
  320. package/space/index.d.ts +0 -6
  321. package/space/index.js +8 -10
  322. package/space/interface.d.ts +1 -0
  323. package/space/style/index.js +1 -1
  324. package/space/utils.js +1 -1
  325. package/style/animation.less +2 -8
  326. package/style/normalize.less +0 -13
  327. package/style.css +1 -1
  328. package/suspense-fallback-test/NeverLoadLazy.d.ts +3 -0
  329. package/suspense-fallback-test/NeverLoadLazy.js +8 -0
  330. package/suspense-fallback-test/SuspenseFallbackTest.js +14 -14
  331. package/suspense-fallback-test/constants.d.ts +2 -0
  332. package/suspense-fallback-test/constants.js +4 -1
  333. package/suspense-fallback-test/context.d.ts +0 -2
  334. package/suspense-fallback-test/context.js +3 -3
  335. package/suspense-fallback-test/index.d.ts +0 -6
  336. package/suspense-fallback-test/index.js +5 -9
  337. package/suspense-fallback-test/style/index.js +1 -1
  338. package/suspense-fallback-test/utils.js +1 -1
  339. package/test.js +1 -1
  340. package/timer/Timer.js +6 -5
  341. package/timer/constants.d.ts +2 -0
  342. package/timer/constants.js +4 -1
  343. package/timer/context.d.ts +0 -1
  344. package/timer/context.js +3 -3
  345. package/timer/index.d.ts +0 -6
  346. package/timer/index.js +5 -9
  347. package/timer/style/index.js +1 -1
  348. package/timer/utils.js +1 -1
  349. package/transition/Transition.d.ts +0 -1
  350. package/transition/Transition.js +55 -58
  351. package/transition/TransitionCSS.js +15 -15
  352. package/transition/TransitionGroup.js +13 -13
  353. package/transition/TransitionStyle.js +12 -12
  354. package/transition/constants.d.ts +4 -27
  355. package/transition/constants.js +37 -41
  356. package/transition/context.d.ts +2 -3
  357. package/transition/context.js +4 -5
  358. package/transition/index.d.ts +0 -7
  359. package/transition/index.js +15 -16
  360. package/transition/interface.d.ts +26 -1
  361. package/transition/interface.js +11 -0
  362. package/transition/style/index.js +1 -1
  363. package/transition/utils.d.ts +1 -1
  364. package/transition/utils.js +1 -1
  365. package/utils/callbackOriginRef.js +1 -1
  366. package/utils/confetti.js +1 -1
  367. package/utils/constants.d.ts +3 -2
  368. package/utils/constants.js +6 -5
  369. package/utils/copy.js +1 -1
  370. package/utils/createRoot.d.ts +1 -6
  371. package/utils/createRoot.js +11 -11
  372. package/utils/css.js +1 -1
  373. package/utils/date.d.ts +1 -1
  374. package/utils/date.js +1 -1
  375. package/utils/dayjs.js +1 -1
  376. package/utils/document.js +1 -1
  377. package/utils/dom.d.ts +1 -1
  378. package/utils/dom.js +9 -9
  379. package/utils/file.js +1 -1
  380. package/utils/fillNBSP.js +1 -1
  381. package/utils/getCompatProp.js +1 -1
  382. package/utils/getElement.js +1 -1
  383. package/utils/getHighlightText.js +1 -1
  384. package/utils/getHotkeyHandler.d.ts +1 -12
  385. package/utils/getHotkeyHandler.js +17 -17
  386. package/utils/getPrefixCls.js +1 -1
  387. package/utils/getScrollBarHeight.js +1 -1
  388. package/utils/getScrollBarSize.js +1 -1
  389. package/utils/getScrollBarWidth.js +1 -1
  390. package/utils/getScrollParent.js +1 -1
  391. package/utils/getStringLength.js +1 -1
  392. package/utils/getUrlSearchParam.js +1 -1
  393. package/utils/index.js +274 -273
  394. package/utils/initAllLineClamp.js +1 -1
  395. package/utils/injectLineClamp.js +1 -1
  396. package/utils/interface.d.ts +103 -0
  397. package/utils/interface.js +4 -0
  398. package/utils/intersectionObserver.js +1 -1
  399. package/utils/is.js +1 -1
  400. package/utils/keyboardCode.js +1 -1
  401. package/utils/lodash.d.ts +2 -1
  402. package/utils/lodash.js +19 -18
  403. package/utils/math.d.ts +1 -1
  404. package/utils/mergeProps.d.ts +1 -2
  405. package/utils/mergeProps.js +1 -1
  406. package/utils/mergedToString.js +1 -1
  407. package/utils/migrateLegacyProps.d.ts +1 -8
  408. package/utils/migrateLegacyProps.js +1 -1
  409. package/utils/mutationObserver.js +1 -1
  410. package/utils/names.d.ts +1 -8
  411. package/utils/names.js +1 -1
  412. package/utils/object.js +1 -1
  413. package/utils/omit.js +1 -1
  414. package/utils/pad.js +1 -1
  415. package/utils/pick.js +1 -1
  416. package/utils/react19Adapter.js +1 -1
  417. package/utils/reactNode.js +1 -1
  418. package/utils/ref.d.ts +2 -1
  419. package/utils/ref.js +13 -13
  420. package/utils/resizeObserver.js +1 -1
  421. package/utils/scrollIntoViewIfNeeded.js +1 -1
  422. package/utils/scrollTo.js +1 -1
  423. package/utils/setDarkTheme.js +1 -1
  424. package/utils/setDir.js +1 -1
  425. package/utils/setPrimaryColor.js +1 -1
  426. package/utils/setTheme.js +1 -1
  427. package/utils/string.js +1 -1
  428. package/utils/style.js +1 -1
  429. package/utils/tinycolor.js +1 -1
  430. package/utils/toArray.js +1 -1
  431. package/utils/tunnel.d.ts +2 -12
  432. package/utils/tunnel.js +1 -1
  433. package/utils/warning.js +1 -1
  434. package/version/index.js +8 -8
  435. /package/{suspense-fallback-test → resize-observer}/style/index.css +0 -0
package/utils/index.js CHANGED
@@ -1,68 +1,68 @@
1
- /* 潘启宝 2026-11-04 17:31:58 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-11-19 14:01:53 星期四 山东省济南市 */
2
2
  /* 世界因你而美丽 */
3
3
  import { __exportAll as ee, __reExport as e } from "../.virtual/_rolldown/runtime.js";
4
- import { object_exports as te } from "./object.js";
5
- import { call as ne, callWith as re } from "./call.js";
6
- import { assign as ie, assignIn as t, at as n, camelCase as r, capitalize as i, castArray as a, chain as o, chunk as s, clamp as c, clone as l, cloneDeep as u, cloneDeepWith as d, cloneWith as f, compact as p, curry as m, debounce as h, defaultTo as g, defaults as _, defaultsDeep as v, difference as y, escape as b, extend as x, findKey as S, first as C, flatten as w, flattenDeep as T, flow as E, get as D, groupBy as O, has as k, hasIn as A, intersection as j, invert as M, invertBy as N, invoke as P, kebabCase as F, last as I, mapKeys as L, mapValues as R, mean as z, memoize as B, merge as V, mergeWith as H, move as U, noop as W, omit as G, omitBy as K, orderBy as q, partition as J, pick as Y, pickBy as ae, pullAll as oe, result as se, sample as ce, sampleSize as le, set as ue, setWith as de, shuffle as fe, snakeCase as pe, sortBy as me, startCase as he, swap as ge, throttle as _e, toPath as ve, toSwapped as ye, trim as be, truncate as xe, union as Se, uniq as Ce, uniqBy as we, uniqueId as Te, unset as Ee, update as De, updateWith as Oe, upperCase as ke, upperFirst as Ae, without as je, xor as Me, zip as Ne } from "./lodash.js";
7
- import { isCompositeTypeElement as Pe, isEmptyChildren as Fe, isEmptyReactNode as Ie, isReact18 as Le, isReact19 as Re, isReactClassComponent as ze, isReactComponent as Be, isReactComponentAndNotFragment as Ve, isReactFunctionalComponent as He, isServerRendering as Ue } from "./is.js";
8
- import { composeRef as We, fillRef as Ge, getNodeRef as Ke, getReactElementRef as qe, supportNodeRef as Je, supportRef as Ye, useComposeRef as Xe } from "./ref.js";
9
- import Ze from "./getElement.js";
10
- import { screenfull as Qe } from "./screenfull.js";
11
- import { canUseDOM as $e, contains as et, findSingleChainDescendantByStyle as tt, focusAtEnd as nt, forceReflow as X, getBody as rt, getBodyContainer as it, getClientRects as at, getDOM as ot, getDocument as st, getDocumentElement as ct, getElementCoordinates as lt, getElementOuterSize as ut, getHead as dt, getScrollElements as ft, getTextLineCount as pt, getTopLevelOverlayContainer as mt, isSingleLine as Z, off as ht, on as gt, parentContainsChildren as _t } from "./dom.js";
12
- import vt from "./mergeProps.js";
13
- import yt from "./migrateLegacyProps.js";
14
- import { callbackOriginRef as bt } from "./callbackOriginRef.js";
15
- import { caseName as xt } from "./caseName.js";
16
- import { className as St, cls as Ct, clsx as wt, cs as Tt } from "./className.js";
17
- import { confetti as Et, fire as Dt } from "./confetti.js";
18
- import { CSS_VARIABLE_ELEMENT as Ot, DAYJS_DEFAULT_FORMAT as kt, DAYJS_DEFAULT_FORMAT_WITH_TIME as At, PREFIX_CLASS as jt, constants_exports as Mt } from "./constants.js";
19
- import { clipboardCopy as Q } from "./copy.js";
20
- import { createRoot as Nt, render as Pt, setCreateRoot as Ft } from "./createRoot.js";
4
+ import { call as t, callWith as n } from "./call.js";
5
+ import { callbackOriginRef as te } from "./callbackOriginRef.js";
6
+ import { caseName as ne } from "./caseName.js";
7
+ import { className as r, cls as i, clsx as a, cs as o } from "./className.js";
8
+ import { confetti as s, fire as c } from "./confetti.js";
9
+ import { CSS_VARIABLE_ELEMENT as l, DAYJS_FORMAT_DATE_STRING as u, DAYJS_FORMAT_DATE_TIME_STRING as d, DAYJS_FORMAT_TIME_STRING as f, PREFIX_CLASS as p, constants_exports as re } from "./constants.js";
10
+ import { clipboardCopy as m } from "./copy.js";
11
+ import { createRoot as h, render as g, setCreateRoot as _ } from "./createRoot.js";
21
12
  import "./css.js";
22
- import { convertTime as It, convertToDurationBasedOnTimeUnits as Lt, dateFormat as Rt, dayjsFormat as zt } from "./date.js";
23
- import { dayjs as Bt } from "./dayjs.js";
24
- import { document_exports as Vt } from "./document.js";
25
- import { Emitter as Ht } from "./emitter.js";
13
+ import { dateFormat as v, dayjsFormat as y, formatDuration as b } from "./date.js";
14
+ import { dayjs as x } from "./dayjs.js";
15
+ import { document_exports as ie } from "./document.js";
16
+ import { canUseDOM as S, contains as C, findSingleChainDescendantByStyle as w, focusAtEnd as T, forceReflow as E, getBody as D, getBodyContainer as O, getClientRects as k, getDOM as A, getDocument as j, getDocumentElement as M, getElementCoordinates as N, getElementOuterSize as P, getHead as F, getScrollElements as I, getTextLineCount as L, getTopLevelOverlayContainer as R, isSingleLine as z, off as B, on as V, parentContainsChildren as H } from "./dom.js";
17
+ import { Emitter as U } from "./emitter.js";
26
18
  import "./file.js";
27
- import { fileRead as Ut } from "./fileRead.js";
28
- import { fileToDataURL as Wt } from "./fileToDataURL.js";
29
- import Gt from "./fillNBSP.js";
30
- import Kt from "./getCompatProp.js";
31
- import qt from "./getHighlightText.js";
32
- import Jt from "./getHotkeyHandler.js";
33
- import Yt from "./getPrefixCls.js";
34
- import Xt from "./getScrollBarSize.js";
35
- import Zt from "./getScrollBarHeight.js";
36
- import Qt from "./getScrollBarWidth.js";
19
+ import { fileRead as W } from "./fileRead.js";
20
+ import { fileToDataURL as G } from "./fileToDataURL.js";
21
+ import K from "./fillNBSP.js";
22
+ import q from "./getCompatProp.js";
23
+ import J from "./getElement.js";
24
+ import Y from "./getHighlightText.js";
25
+ import X from "./getHotkeyHandler.js";
26
+ import Z from "./getPrefixCls.js";
27
+ import ae from "./getScrollBarHeight.js";
28
+ import oe from "./getScrollBarSize.js";
29
+ import se from "./getScrollBarWidth.js";
37
30
  import "./getScrollParent.js";
38
- import $t from "./getStringLength.js";
39
- import en, { getQueryParam as tn } from "./getUrlSearchParam.js";
40
- import { uuid as nn, uuidv4 as rn } from "./uuid.js";
41
- import an from "./initAllLineClamp.js";
42
- import on from "./intersectionObserver.js";
43
- import { div as sn, math as cn, minus as ln, plus as un, times as dn } from "./math.js";
44
- import fn from "./mergedToString.js";
45
- import pn from "./mutationObserver.js";
31
+ import ce from "./getStringLength.js";
32
+ import le, { getQueryParam as ue } from "./getUrlSearchParam.js";
33
+ import de from "./initAllLineClamp.js";
34
+ import fe from "./intersectionObserver.js";
35
+ import { isCompositeTypeElement as pe, isEmptyChildren as me, isEmptyReactNode as he, isReact18 as ge, isReact19 as _e, isReactClassComponent as ve, isReactComponent as ye, isReactComponentAndNotFragment as be, isReactFunctionalComponent as xe, isServerRendering as Se } from "./is.js";
36
+ import { assign as Ce, assignIn as we, at as Te, camelCase as Ee, capitalize as De, castArray as Oe, chain as ke, chunk as Ae, clamp as je, clone as Me, cloneDeep as Ne, cloneDeepWith as Pe, cloneWith as Fe, compact as Ie, curry as Le, debounce as Re, defaultTo as ze, defaults as Be, defaultsDeep as Ve, difference as He, escape as Ue, extend as We, findKey as Ge, first as Ke, flatten as qe, flattenDeep as Je, flow as Ye, get as Xe, groupBy as Ze, has as Qe, hasIn as $e, intersection as et, invert as tt, invertBy as nt, invoke as rt, kebabCase as it, last as at, mapKeys as ot, mapValues as st, mean as ct, memoize as lt, merge as ut, mergeWith as dt, move as ft, noop as pt, omit as Q, omitBy as mt, orderBy as ht, partition as gt, pick as _t, pickBy as vt, pullAll as yt, result as bt, sample as xt, sampleSize as St, set as Ct, setWith as wt, shuffle as Tt, snakeCase as Et, sortBy as Dt, startCase as Ot, sumBy as kt, swap as At, throttle as jt, toPath as Mt, toSwapped as Nt, trim as Pt, truncate as Ft, union as It, uniq as Lt, uniqBy as Rt, uniqueId as zt, unset as Bt, update as Vt, updateWith as Ht, upperCase as Ut, upperFirst as Wt, without as Gt, xor as Kt, zip as qt } from "./lodash.js";
37
+ import { div as Jt, math as Yt, minus as Xt, plus as Zt, times as Qt } from "./math.js";
38
+ import $t from "./mergedToString.js";
39
+ import en from "./mergeProps.js";
40
+ import tn from "./migrateLegacyProps.js";
41
+ import nn from "./mutationObserver.js";
42
+ import { object_exports as rn } from "./object.js";
46
43
  import "./omit.js";
47
- import { padEnd as mn, padStart as hn } from "./pad.js";
48
- import { pickAttributesByPrefixes as gn, pickDataAriaAttributes as _n } from "./pick.js";
49
- import vn from "./resizeObserver.js";
50
- import { saveAs as yn } from "./saveAs.js";
51
- import bn from "./scrollIntoViewIfNeeded.js";
52
- import xn, { removeDarkTheme as Sn } from "./setDarkTheme.js";
53
- import Cn from "./setDir.js";
54
- import wn from "./setPrimaryColor.js";
55
- import Tn from "./setTheme.js";
56
- import { HYPHEN as En, replaceEmptyWithHyphen as Dn } from "./string.js";
57
- import { fixedWidth as On, getStyle as kn, setTransformStyle as An } from "./style.js";
58
- import { tinycolor as jn } from "./tinycolor.js";
59
- import Mn from "./toArray.js";
60
- import { findNodeBy as Nn, getChildWithParentBy as Pn, getItemBy as Fn, getItemByID as In, getLabelFromDictionaryByValue as Ln, searchTree as Rn, tree as zn } from "./tree.js";
61
- import Bn from "./tunnel.js";
62
- import { Validator as Vn, ValidatorArray as Hn, ValidatorBase as Un, ValidatorBoolean as Wn, ValidatorCustom as Gn, ValidatorNumber as Kn, ValidatorObject as qn, ValidatorSchema as Jn, ValidatorString as Yn, ValidatorType as Xn } from "./validate.js";
63
- import Zn from "./warning.js";
64
- import { keyboardCode as Qn } from "./keyboardCode.js";
65
- import { COMPONENT_NAMES as $n } from "./names.js";
44
+ import { padEnd as an, padStart as on } from "./pad.js";
45
+ import { pickAttributesByPrefixes as sn, pickDataAriaAttributes as cn } from "./pick.js";
46
+ import { composeRef as ln, fillRef as un, getNodeRef as dn, getReactElementRef as fn, supportNodeRef as pn, supportRef as mn, useComposeRef as hn } from "./ref.js";
47
+ import gn from "./resizeObserver.js";
48
+ import { saveAs as _n } from "./saveAs.js";
49
+ import { screenfull as vn } from "./screenfull.js";
50
+ import yn from "./scrollIntoViewIfNeeded.js";
51
+ import bn, { removeDarkTheme as xn } from "./setDarkTheme.js";
52
+ import Sn from "./setDir.js";
53
+ import Cn from "./setPrimaryColor.js";
54
+ import wn from "./setTheme.js";
55
+ import { HYPHEN as Tn, replaceEmptyWithHyphen as En } from "./string.js";
56
+ import { fixedWidth as Dn, getStyle as On, setTransformStyle as kn } from "./style.js";
57
+ import { tinycolor as An } from "./tinycolor.js";
58
+ import jn from "./toArray.js";
59
+ import { findNodeBy as Mn, getChildWithParentBy as Nn, getItemBy as Pn, getItemByID as Fn, getLabelFromDictionaryByValue as In, searchTree as Ln, tree as Rn } from "./tree.js";
60
+ import zn from "./tunnel.js";
61
+ import { uuid as Bn, uuidv4 as Vn } from "./uuid.js";
62
+ import { Validator as Hn, ValidatorArray as Un, ValidatorBase as Wn, ValidatorBoolean as Gn, ValidatorCustom as Kn, ValidatorNumber as qn, ValidatorObject as Jn, ValidatorSchema as Yn, ValidatorString as Xn, ValidatorType as Zn } from "./validate.js";
63
+ import Qn from "./warning.js";
64
+ import { keyboardCode as $n } from "./keyboardCode.js";
65
+ import { COMPONENT_NAMES as er } from "./names.js";
66
66
  export * from "@unicom-cloud/utils/is";
67
67
  export * from "@unicom-cloud/utils/object";
68
68
  export * from "@unicom-cloud/utils/css";
@@ -72,220 +72,221 @@ export * from "@unicom-cloud/utils/file";
72
72
  export * from "@unicom-cloud/utils/tinycolor";
73
73
  // components/common/utils/index.ts
74
74
  var $ = /* @__PURE__ */ ee({
75
- COMPONENT_NAMES: () => $n,
76
- CSS_VARIABLE_ELEMENT: () => Ot,
77
- DAYJS_DEFAULT_FORMAT: () => kt,
78
- DAYJS_DEFAULT_FORMAT_WITH_TIME: () => At,
79
- Emitter: () => Ht,
80
- HYPHEN: () => En,
81
- PREFIX_CLASS: () => jt,
82
- Validator: () => Vn,
83
- ValidatorArray: () => Hn,
84
- ValidatorBase: () => Un,
85
- ValidatorBoolean: () => Wn,
86
- ValidatorCustom: () => Gn,
87
- ValidatorNumber: () => Kn,
88
- ValidatorObject: () => qn,
89
- ValidatorSchema: () => Jn,
90
- ValidatorString: () => Yn,
91
- ValidatorType: () => Xn,
92
- assign: () => ie,
93
- assignIn: () => t,
94
- at: () => n,
95
- call: () => ne,
96
- callWith: () => re,
97
- callbackOriginRef: () => bt,
98
- camelCase: () => r,
99
- canUseDOM: () => $e,
100
- capitalize: () => i,
101
- caseName: () => xt,
102
- castArray: () => a,
103
- chain: () => o,
104
- chunk: () => s,
105
- clamp: () => c,
106
- className: () => St,
107
- clipboardCopy: () => Q,
108
- clone: () => l,
109
- cloneDeep: () => u,
110
- cloneDeepWith: () => d,
111
- cloneWith: () => f,
112
- cls: () => Ct,
113
- clsx: () => wt,
114
- compact: () => p,
115
- composeRef: () => We,
116
- confetti: () => Et,
117
- contains: () => et,
118
- convertTime: () => It,
119
- convertToDurationBasedOnTimeUnits: () => Lt,
120
- copy: () => Q,
121
- createRoot: () => Nt,
122
- cs: () => Tt,
123
- curry: () => m,
124
- dateFormat: () => Rt,
125
- dayjs: () => Bt,
126
- dayjsFormat: () => zt,
127
- debounce: () => h,
128
- defaultTo: () => g,
129
- defaults: () => _,
130
- defaultsDeep: () => v,
131
- difference: () => y,
132
- div: () => sn,
133
- escape: () => b,
134
- extend: () => x,
135
- fileRead: () => Ut,
136
- fileToDataURL: () => Wt,
137
- fillNBSP: () => Gt,
138
- fillRef: () => Ge,
139
- findKey: () => S,
140
- findNodeBy: () => Nn,
141
- findSingleChainDescendantByStyle: () => tt,
142
- fire: () => Dt,
143
- first: () => C,
144
- fixedWidth: () => On,
145
- flatten: () => w,
146
- flattenDeep: () => T,
147
- flow: () => E,
148
- focusAtEnd: () => nt,
149
- forceReflow: () => X,
150
- get: () => D,
151
- getBody: () => rt,
152
- getBodyContainer: () => it,
153
- getChildWithParentBy: () => Pn,
154
- getClientRects: () => at,
155
- getCompatProp: () => Kt,
156
- getDOM: () => ot,
157
- getDocument: () => st,
158
- getDocumentElement: () => ct,
159
- getElement: () => Ze,
160
- getElementCoordinates: () => lt,
161
- getElementOuterSize: () => ut,
162
- getHead: () => dt,
163
- getHighlightText: () => qt,
164
- getHotkeyHandler: () => Jt,
165
- getItemBy: () => Fn,
166
- getItemByID: () => In,
167
- getLabelFromDictionaryByValue: () => Ln,
168
- getNodeRef: () => Ke,
169
- getPrefixCls: () => Yt,
170
- getQueryParam: () => tn,
171
- getReactElementRef: () => qe,
172
- getScrollBarHeight: () => Zt,
173
- getScrollBarSize: () => Xt,
174
- getScrollBarWidth: () => Qt,
175
- getScrollElements: () => ft,
176
- getStringLength: () => $t,
177
- getStyle: () => kn,
178
- getTextLineCount: () => pt,
179
- getTopLevelOverlayContainer: () => mt,
180
- getUrlSearchParam: () => en,
181
- groupBy: () => O,
182
- has: () => k,
183
- hasIn: () => A,
184
- initAllLineClamp: () => an,
185
- intersection: () => j,
186
- intersectionObserver: () => on,
187
- invert: () => M,
188
- invertBy: () => N,
189
- invoke: () => P,
190
- isCompositeTypeElement: () => Pe,
191
- isEmptyChildren: () => Fe,
192
- isEmptyReactNode: () => Ie,
193
- isReact18: () => Le,
194
- isReact19: () => Re,
195
- isReactClassComponent: () => ze,
196
- isReactComponent: () => Be,
197
- isReactComponentAndNotFragment: () => Ve,
198
- isReactFunctionalComponent: () => He,
199
- isServerRendering: () => Ue,
200
- isSingleLine: () => Z,
201
- kebabCase: () => F,
202
- keyboardCode: () => Qn,
203
- last: () => I,
204
- mapKeys: () => L,
205
- mapValues: () => R,
206
- math: () => cn,
207
- mean: () => z,
208
- memoize: () => B,
209
- merge: () => V,
210
- mergeProps: () => vt,
211
- mergeWith: () => H,
212
- mergedToString: () => fn,
213
- migrateLegacyProps: () => yt,
214
- minus: () => ln,
215
- move: () => U,
216
- mutationObserver: () => pn,
217
- noop: () => W,
218
- off: () => ht,
219
- omit: () => G,
220
- omitBy: () => K,
221
- on: () => gt,
222
- orderBy: () => q,
223
- padEnd: () => mn,
224
- padStart: () => hn,
225
- parentContainsChildren: () => _t,
226
- partition: () => J,
227
- pick: () => Y,
228
- pickAttributesByPrefixes: () => gn,
229
- pickBy: () => ae,
230
- pickDataAriaAttributes: () => _n,
231
- plus: () => un,
232
- pullAll: () => oe,
233
- reflow: () => X,
234
- removeDarkTheme: () => Sn,
235
- render: () => Pt,
236
- replaceEmptyWithHyphen: () => Dn,
237
- resizeObserver: () => vn,
238
- result: () => se,
239
- sample: () => ce,
240
- sampleSize: () => le,
241
- saveAs: () => yn,
242
- screenfull: () => Qe,
243
- scrollIntoViewIfNeeded: () => bn,
244
- searchTree: () => Rn,
245
- set: () => ue,
246
- setCreateRoot: () => Ft,
247
- setDarkTheme: () => xn,
248
- setDir: () => Cn,
249
- setPrimaryColor: () => wn,
250
- setTheme: () => Tn,
251
- setTransformStyle: () => An,
252
- setWith: () => de,
253
- shuffle: () => fe,
254
- snakeCase: () => pe,
255
- sortBy: () => me,
256
- startCase: () => he,
257
- supportNodeRef: () => Je,
258
- supportRef: () => Ye,
259
- swap: () => ge,
260
- throttle: () => _e,
261
- times: () => dn,
262
- tinycolor: () => jn,
263
- toArray: () => Mn,
264
- toPath: () => ve,
265
- toSwapped: () => ye,
266
- tree: () => zn,
267
- trim: () => be,
268
- truncate: () => xe,
269
- tunnel: () => Bn,
270
- union: () => Se,
271
- uniq: () => Ce,
272
- uniqBy: () => we,
273
- uniqueId: () => Te,
274
- unset: () => Ee,
275
- update: () => De,
276
- updateWith: () => Oe,
277
- upperCase: () => ke,
278
- upperFirst: () => Ae,
279
- useComposeRef: () => Xe,
280
- uuid: () => nn,
281
- uuidv4: () => rn,
282
- warning: () => Zn,
283
- without: () => je,
284
- xor: () => Me,
285
- zip: () => Ne
75
+ COMPONENT_NAMES: () => er,
76
+ CSS_VARIABLE_ELEMENT: () => l,
77
+ DAYJS_FORMAT_DATE_STRING: () => u,
78
+ DAYJS_FORMAT_DATE_TIME_STRING: () => d,
79
+ DAYJS_FORMAT_TIME_STRING: () => f,
80
+ Emitter: () => U,
81
+ HYPHEN: () => Tn,
82
+ PREFIX_CLASS: () => p,
83
+ Validator: () => Hn,
84
+ ValidatorArray: () => Un,
85
+ ValidatorBase: () => Wn,
86
+ ValidatorBoolean: () => Gn,
87
+ ValidatorCustom: () => Kn,
88
+ ValidatorNumber: () => qn,
89
+ ValidatorObject: () => Jn,
90
+ ValidatorSchema: () => Yn,
91
+ ValidatorString: () => Xn,
92
+ ValidatorType: () => Zn,
93
+ assign: () => Ce,
94
+ assignIn: () => we,
95
+ at: () => Te,
96
+ call: () => t,
97
+ callWith: () => n,
98
+ callbackOriginRef: () => te,
99
+ camelCase: () => Ee,
100
+ canUseDOM: () => S,
101
+ capitalize: () => De,
102
+ caseName: () => ne,
103
+ castArray: () => Oe,
104
+ chain: () => ke,
105
+ chunk: () => Ae,
106
+ clamp: () => je,
107
+ className: () => r,
108
+ clipboardCopy: () => m,
109
+ clone: () => Me,
110
+ cloneDeep: () => Ne,
111
+ cloneDeepWith: () => Pe,
112
+ cloneWith: () => Fe,
113
+ cls: () => i,
114
+ clsx: () => a,
115
+ compact: () => Ie,
116
+ composeRef: () => ln,
117
+ confetti: () => s,
118
+ contains: () => C,
119
+ copy: () => m,
120
+ createRoot: () => h,
121
+ cs: () => o,
122
+ curry: () => Le,
123
+ dateFormat: () => v,
124
+ dayjs: () => x,
125
+ dayjsFormat: () => y,
126
+ debounce: () => Re,
127
+ defaultTo: () => ze,
128
+ defaults: () => Be,
129
+ defaultsDeep: () => Ve,
130
+ difference: () => He,
131
+ div: () => Jt,
132
+ escape: () => Ue,
133
+ extend: () => We,
134
+ fileRead: () => W,
135
+ fileToDataURL: () => G,
136
+ fillNBSP: () => K,
137
+ fillRef: () => un,
138
+ findKey: () => Ge,
139
+ findNodeBy: () => Mn,
140
+ findSingleChainDescendantByStyle: () => w,
141
+ fire: () => c,
142
+ first: () => Ke,
143
+ fixedWidth: () => Dn,
144
+ flatten: () => qe,
145
+ flattenDeep: () => Je,
146
+ flow: () => Ye,
147
+ focusAtEnd: () => T,
148
+ forceReflow: () => E,
149
+ formatDuration: () => b,
150
+ get: () => Xe,
151
+ getBody: () => D,
152
+ getBodyContainer: () => O,
153
+ getChildWithParentBy: () => Nn,
154
+ getClientRects: () => k,
155
+ getCompatProp: () => q,
156
+ getDOM: () => A,
157
+ getDocument: () => j,
158
+ getDocumentElement: () => M,
159
+ getElement: () => J,
160
+ getElementCoordinates: () => N,
161
+ getElementOuterSize: () => P,
162
+ getHead: () => F,
163
+ getHighlightText: () => Y,
164
+ getHotkeyHandler: () => X,
165
+ getItemBy: () => Pn,
166
+ getItemByID: () => Fn,
167
+ getLabelFromDictionaryByValue: () => In,
168
+ getNodeRef: () => dn,
169
+ getPrefixCls: () => Z,
170
+ getQueryParam: () => ue,
171
+ getReactElementRef: () => fn,
172
+ getScrollBarHeight: () => ae,
173
+ getScrollBarSize: () => oe,
174
+ getScrollBarWidth: () => se,
175
+ getScrollElements: () => I,
176
+ getStringLength: () => ce,
177
+ getStyle: () => On,
178
+ getTextLineCount: () => L,
179
+ getTopLevelOverlayContainer: () => R,
180
+ getUrlSearchParam: () => le,
181
+ groupBy: () => Ze,
182
+ has: () => Qe,
183
+ hasIn: () => $e,
184
+ initAllLineClamp: () => de,
185
+ intersection: () => et,
186
+ intersectionObserver: () => fe,
187
+ invert: () => tt,
188
+ invertBy: () => nt,
189
+ invoke: () => rt,
190
+ isCompositeTypeElement: () => pe,
191
+ isEmptyChildren: () => me,
192
+ isEmptyReactNode: () => he,
193
+ isReact18: () => ge,
194
+ isReact19: () => _e,
195
+ isReactClassComponent: () => ve,
196
+ isReactComponent: () => ye,
197
+ isReactComponentAndNotFragment: () => be,
198
+ isReactFunctionalComponent: () => xe,
199
+ isServerRendering: () => Se,
200
+ isSingleLine: () => z,
201
+ kebabCase: () => it,
202
+ keyboardCode: () => $n,
203
+ last: () => at,
204
+ mapKeys: () => ot,
205
+ mapValues: () => st,
206
+ math: () => Yt,
207
+ mean: () => ct,
208
+ memoize: () => lt,
209
+ merge: () => ut,
210
+ mergeProps: () => en,
211
+ mergeWith: () => dt,
212
+ mergedToString: () => $t,
213
+ migrateLegacyProps: () => tn,
214
+ minus: () => Xt,
215
+ move: () => ft,
216
+ mutationObserver: () => nn,
217
+ noop: () => pt,
218
+ off: () => B,
219
+ omit: () => Q,
220
+ omitBy: () => mt,
221
+ on: () => V,
222
+ orderBy: () => ht,
223
+ padEnd: () => an,
224
+ padStart: () => on,
225
+ parentContainsChildren: () => H,
226
+ partition: () => gt,
227
+ pick: () => _t,
228
+ pickAttributesByPrefixes: () => sn,
229
+ pickBy: () => vt,
230
+ pickDataAriaAttributes: () => cn,
231
+ plus: () => Zt,
232
+ pullAll: () => yt,
233
+ reflow: () => E,
234
+ removeDarkTheme: () => xn,
235
+ render: () => g,
236
+ replaceEmptyWithHyphen: () => En,
237
+ resizeObserver: () => gn,
238
+ result: () => bt,
239
+ sample: () => xt,
240
+ sampleSize: () => St,
241
+ saveAs: () => _n,
242
+ screenfull: () => vn,
243
+ scrollIntoViewIfNeeded: () => yn,
244
+ searchTree: () => Ln,
245
+ set: () => Ct,
246
+ setCreateRoot: () => _,
247
+ setDarkTheme: () => bn,
248
+ setDir: () => Sn,
249
+ setPrimaryColor: () => Cn,
250
+ setTheme: () => wn,
251
+ setTransformStyle: () => kn,
252
+ setWith: () => wt,
253
+ shuffle: () => Tt,
254
+ snakeCase: () => Et,
255
+ sortBy: () => Dt,
256
+ startCase: () => Ot,
257
+ sumBy: () => kt,
258
+ supportNodeRef: () => pn,
259
+ supportRef: () => mn,
260
+ swap: () => At,
261
+ throttle: () => jt,
262
+ times: () => Qt,
263
+ tinycolor: () => An,
264
+ toArray: () => jn,
265
+ toPath: () => Mt,
266
+ toSwapped: () => Nt,
267
+ tree: () => Rn,
268
+ trim: () => Pt,
269
+ truncate: () => Ft,
270
+ tunnel: () => zn,
271
+ union: () => It,
272
+ uniq: () => Lt,
273
+ uniqBy: () => Rt,
274
+ uniqueId: () => zt,
275
+ unset: () => Bt,
276
+ update: () => Vt,
277
+ updateWith: () => Ht,
278
+ upperCase: () => Ut,
279
+ upperFirst: () => Wt,
280
+ useComposeRef: () => hn,
281
+ uuid: () => Bn,
282
+ uuidv4: () => Vn,
283
+ warning: () => Qn,
284
+ without: () => Gt,
285
+ xor: () => Kt,
286
+ zip: () => qt
286
287
  });
287
- import * as er from "@unicom-cloud/utils/is";
288
- e($, er), e($, Mt), e($, Vt), e($, te);
289
- export { $n as COMPONENT_NAMES, Ot as CSS_VARIABLE_ELEMENT, kt as DAYJS_DEFAULT_FORMAT, At as DAYJS_DEFAULT_FORMAT_WITH_TIME, Ht as Emitter, En as HYPHEN, jt as PREFIX_CLASS, Vn as Validator, Hn as ValidatorArray, Un as ValidatorBase, Wn as ValidatorBoolean, Gn as ValidatorCustom, Kn as ValidatorNumber, qn as ValidatorObject, Jn as ValidatorSchema, Yn as ValidatorString, Xn as ValidatorType, ie as assign, t as assignIn, n as at, ne as call, re as callWith, bt as callbackOriginRef, r as camelCase, $e as canUseDOM, i as capitalize, xt as caseName, a as castArray, o as chain, s as chunk, c as clamp, St as className, Q as clipboardCopy, Q as copy, l as clone, u as cloneDeep, d as cloneDeepWith, f as cloneWith, Ct as cls, wt as clsx, p as compact, We as composeRef, Et as confetti, et as contains, It as convertTime, Lt as convertToDurationBasedOnTimeUnits, Nt as createRoot, Tt as cs, m as curry, Rt as dateFormat, Bt as dayjs, zt as dayjsFormat, h as debounce, g as defaultTo, _ as defaults, v as defaultsDeep, y as difference, sn as div, b as escape, x as extend, Ut as fileRead, Wt as fileToDataURL, Gt as fillNBSP, Ge as fillRef, S as findKey, Nn as findNodeBy, tt as findSingleChainDescendantByStyle, Dt as fire, C as first, On as fixedWidth, w as flatten, T as flattenDeep, E as flow, nt as focusAtEnd, X as forceReflow, X as reflow, D as get, rt as getBody, it as getBodyContainer, Pn as getChildWithParentBy, at as getClientRects, Kt as getCompatProp, ot as getDOM, st as getDocument, ct as getDocumentElement, Ze as getElement, lt as getElementCoordinates, ut as getElementOuterSize, dt as getHead, qt as getHighlightText, Jt as getHotkeyHandler, Fn as getItemBy, In as getItemByID, Ln as getLabelFromDictionaryByValue, Ke as getNodeRef, Yt as getPrefixCls, tn as getQueryParam, qe as getReactElementRef, Zt as getScrollBarHeight, Xt as getScrollBarSize, Qt as getScrollBarWidth, ft as getScrollElements, $t as getStringLength, kn as getStyle, pt as getTextLineCount, mt as getTopLevelOverlayContainer, en as getUrlSearchParam, O as groupBy, k as has, A as hasIn, an as initAllLineClamp, j as intersection, on as intersectionObserver, M as invert, N as invertBy, P as invoke, Pe as isCompositeTypeElement, Fe as isEmptyChildren, Ie as isEmptyReactNode, Le as isReact18, Re as isReact19, ze as isReactClassComponent, Be as isReactComponent, Ve as isReactComponentAndNotFragment, He as isReactFunctionalComponent, Ue as isServerRendering, Z as isSingleLine, F as kebabCase, Qn as keyboardCode, I as last, L as mapKeys, R as mapValues, cn as math, z as mean, B as memoize, V as merge, vt as mergeProps, H as mergeWith, fn as mergedToString, yt as migrateLegacyProps, ln as minus, U as move, pn as mutationObserver, W as noop, ht as off, G as omit, K as omitBy, gt as on, q as orderBy, mn as padEnd, hn as padStart, _t as parentContainsChildren, J as partition, Y as pick, gn as pickAttributesByPrefixes, ae as pickBy, _n as pickDataAriaAttributes, un as plus, oe as pullAll, Sn as removeDarkTheme, Pt as render, Dn as replaceEmptyWithHyphen, vn as resizeObserver, se as result, ce as sample, le as sampleSize, yn as saveAs, Qe as screenfull, bn as scrollIntoViewIfNeeded, Rn as searchTree, ue as set, Ft as setCreateRoot, xn as setDarkTheme, Cn as setDir, wn as setPrimaryColor, Tn as setTheme, An as setTransformStyle, de as setWith, fe as shuffle, pe as snakeCase, me as sortBy, he as startCase, Je as supportNodeRef, Ye as supportRef, ge as swap, _e as throttle, dn as times, jn as tinycolor, Mn as toArray, ve as toPath, ye as toSwapped, zn as tree, be as trim, xe as truncate, Bn as tunnel, Se as union, Ce as uniq, we as uniqBy, Te as uniqueId, Ee as unset, De as update, Oe as updateWith, ke as upperCase, Ae as upperFirst, Xe as useComposeRef, $ as utils_exports, nn as uuid, rn as uuidv4, Zn as warning, je as without, Me as xor, Ne as zip };
288
+ import * as tr from "@unicom-cloud/utils/is";
289
+ e($, tr), e($, re), e($, ie), e($, rn);
290
+ export { er as COMPONENT_NAMES, l as CSS_VARIABLE_ELEMENT, u as DAYJS_FORMAT_DATE_STRING, d as DAYJS_FORMAT_DATE_TIME_STRING, f as DAYJS_FORMAT_TIME_STRING, U as Emitter, Tn as HYPHEN, p as PREFIX_CLASS, Hn as Validator, Un as ValidatorArray, Wn as ValidatorBase, Gn as ValidatorBoolean, Kn as ValidatorCustom, qn as ValidatorNumber, Jn as ValidatorObject, Yn as ValidatorSchema, Xn as ValidatorString, Zn as ValidatorType, Ce as assign, we as assignIn, Te as at, t as call, n as callWith, te as callbackOriginRef, Ee as camelCase, S as canUseDOM, De as capitalize, ne as caseName, Oe as castArray, ke as chain, Ae as chunk, je as clamp, r as className, m as clipboardCopy, m as copy, Me as clone, Ne as cloneDeep, Pe as cloneDeepWith, Fe as cloneWith, i as cls, a as clsx, Ie as compact, ln as composeRef, s as confetti, C as contains, h as createRoot, o as cs, Le as curry, v as dateFormat, x as dayjs, y as dayjsFormat, Re as debounce, ze as defaultTo, Be as defaults, Ve as defaultsDeep, He as difference, Jt as div, Ue as escape, We as extend, W as fileRead, G as fileToDataURL, K as fillNBSP, un as fillRef, Ge as findKey, Mn as findNodeBy, w as findSingleChainDescendantByStyle, c as fire, Ke as first, Dn as fixedWidth, qe as flatten, Je as flattenDeep, Ye as flow, T as focusAtEnd, E as forceReflow, E as reflow, b as formatDuration, Xe as get, D as getBody, O as getBodyContainer, Nn as getChildWithParentBy, k as getClientRects, q as getCompatProp, A as getDOM, j as getDocument, M as getDocumentElement, J as getElement, N as getElementCoordinates, P as getElementOuterSize, F as getHead, Y as getHighlightText, X as getHotkeyHandler, Pn as getItemBy, Fn as getItemByID, In as getLabelFromDictionaryByValue, dn as getNodeRef, Z as getPrefixCls, ue as getQueryParam, fn as getReactElementRef, ae as getScrollBarHeight, oe as getScrollBarSize, se as getScrollBarWidth, I as getScrollElements, ce as getStringLength, On as getStyle, L as getTextLineCount, R as getTopLevelOverlayContainer, le as getUrlSearchParam, Ze as groupBy, Qe as has, $e as hasIn, de as initAllLineClamp, et as intersection, fe as intersectionObserver, tt as invert, nt as invertBy, rt as invoke, pe as isCompositeTypeElement, me as isEmptyChildren, he as isEmptyReactNode, ge as isReact18, _e as isReact19, ve as isReactClassComponent, ye as isReactComponent, be as isReactComponentAndNotFragment, xe as isReactFunctionalComponent, Se as isServerRendering, z as isSingleLine, it as kebabCase, $n as keyboardCode, at as last, ot as mapKeys, st as mapValues, Yt as math, ct as mean, lt as memoize, ut as merge, en as mergeProps, dt as mergeWith, $t as mergedToString, tn as migrateLegacyProps, Xt as minus, ft as move, nn as mutationObserver, pt as noop, B as off, Q as omit, mt as omitBy, V as on, ht as orderBy, an as padEnd, on as padStart, H as parentContainsChildren, gt as partition, _t as pick, sn as pickAttributesByPrefixes, vt as pickBy, cn as pickDataAriaAttributes, Zt as plus, yt as pullAll, xn as removeDarkTheme, g as render, En as replaceEmptyWithHyphen, gn as resizeObserver, bt as result, xt as sample, St as sampleSize, _n as saveAs, vn as screenfull, yn as scrollIntoViewIfNeeded, Ln as searchTree, Ct as set, _ as setCreateRoot, bn as setDarkTheme, Sn as setDir, Cn as setPrimaryColor, wn as setTheme, kn as setTransformStyle, wt as setWith, Tt as shuffle, Et as snakeCase, Dt as sortBy, Ot as startCase, kt as sumBy, pn as supportNodeRef, mn as supportRef, At as swap, jt as throttle, Qt as times, An as tinycolor, jn as toArray, Mt as toPath, Nt as toSwapped, Rn as tree, Pt as trim, Ft as truncate, zn as tunnel, It as union, Lt as uniq, Rt as uniqBy, zt as uniqueId, Bt as unset, Vt as update, Ht as updateWith, Ut as upperCase, Wt as upperFirst, hn as useComposeRef, $ as utils_exports, Bn as uuid, Vn as uuidv4, Qn as warning, Gt as without, Kt as xor, qt as zip };
290
291
  /* 欲穷千里目,更上一层楼 */
291
292
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-11-04 17:31:58 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-11-19 14:01:53 星期四 山东省济南市 */
2
2
  /* 世界因你而美丽 */
3
3
  import { getHead as e } from "./dom.js";
4
4
  import { uuid as t } from "./uuid.js";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-11-04 17:31:58 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-11-19 14:01:53 星期四 山东省济南市 */
2
2
  /* 世界因你而美丽 */
3
3
  import { constants_exports as e } from "./constants.js";
4
4
  // components/common/utils/injectLineClamp.js