@unicom-cloud/ui-common 0.1.30 → 0.1.32

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 (385) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/animation/Animation.js +32 -32
  3. package/animation/constants.js +1 -1
  4. package/animation/context.d.ts +3 -0
  5. package/animation/context.js +3 -3
  6. package/animation/index.d.ts +2 -0
  7. package/animation/index.js +10 -5
  8. package/animation/style/index.css +1 -0
  9. package/animation/style/index.d.ts +1 -0
  10. package/animation/style/index.js +3 -0
  11. package/border-beam/BorderBeam.js +30 -30
  12. package/border-beam/Effect.js +1 -1
  13. package/border-beam/constants.js +2 -2
  14. package/border-beam/context.d.ts +3 -0
  15. package/border-beam/context.js +8 -0
  16. package/border-beam/hooks/useBorderSize.js +1 -1
  17. package/border-beam/hooks/useChildDom.js +1 -1
  18. package/border-beam/index.d.ts +2 -0
  19. package/border-beam/index.js +9 -4
  20. package/border-beam/style/index.css +1 -0
  21. package/border-beam/style/index.d.ts +1 -0
  22. package/border-beam/style/index.js +3 -0
  23. package/border-beam/utils.js +1 -1
  24. package/development/Development.js +32 -30
  25. package/development/constants.d.ts +0 -0
  26. package/development/constants.js +2 -0
  27. package/development/context.d.ts +3 -0
  28. package/development/context.js +7 -0
  29. package/development/index.d.ts +2 -0
  30. package/development/index.js +9 -4
  31. package/development/style/index.css +1 -0
  32. package/development/style/index.d.ts +1 -0
  33. package/development/style/index.js +3 -0
  34. package/empty/Empty.js +32 -30
  35. package/empty/constants.d.ts +0 -0
  36. package/empty/constants.js +2 -0
  37. package/empty/context.d.ts +3 -0
  38. package/empty/context.js +7 -0
  39. package/empty/index.d.ts +2 -0
  40. package/empty/index.js +9 -4
  41. package/empty/style/index.css +1 -0
  42. package/empty/style/index.d.ts +1 -0
  43. package/empty/style/index.js +3 -0
  44. package/flex/Flex.js +32 -35
  45. package/flex/constants.d.ts +0 -0
  46. package/flex/constants.js +2 -0
  47. package/flex/context.d.ts +3 -0
  48. package/flex/context.js +10 -0
  49. package/flex/index.d.ts +2 -0
  50. package/flex/index.js +9 -6
  51. package/flex/style/index.css +1 -0
  52. package/flex/style/index.d.ts +1 -0
  53. package/flex/style/index.js +3 -0
  54. package/flex/utils.d.ts +1 -1
  55. package/flex/utils.js +1 -1
  56. package/higher-order/index.js +1 -1
  57. package/higher-order/with-speech-synthesis/constants.d.ts +0 -0
  58. package/higher-order/with-speech-synthesis/context.d.ts +3 -0
  59. package/higher-order/with-speech-synthesis/context.js +7 -0
  60. package/higher-order/with-speech-synthesis/index.d.ts +2 -0
  61. package/higher-order/with-speech-synthesis/index.js +9 -4
  62. package/higher-order/with-speech-synthesis/interface.d.ts +2 -1
  63. package/higher-order/with-speech-synthesis/style/index.css +1 -0
  64. package/higher-order/with-speech-synthesis/style/index.d.ts +0 -1
  65. package/higher-order/with-speech-synthesis/style/index.js +3 -0
  66. package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +52 -48
  67. package/hooks/create-deep-compare-effect/index.js +1 -1
  68. package/hooks/create-update-effect/index.js +1 -1
  69. package/hooks/create-use-storage-state/index.js +1 -1
  70. package/hooks/index.d.ts +1 -0
  71. package/hooks/index.js +5 -4
  72. package/hooks/use-async-effect/index.js +1 -1
  73. package/hooks/use-boolean/index.js +1 -1
  74. package/hooks/use-click-away/index.js +1 -1
  75. package/hooks/use-computed-state/index.js +1 -1
  76. package/hooks/use-controllable-value/index.js +1 -1
  77. package/hooks/use-cookie-state/index.js +1 -1
  78. package/hooks/use-count-down/index.js +1 -1
  79. package/hooks/use-counter/index.js +1 -1
  80. package/hooks/use-create/index.js +1 -1
  81. package/hooks/use-creation/index.js +1 -1
  82. package/hooks/use-debounce/index.js +1 -1
  83. package/hooks/use-debounce-effect/index.js +1 -1
  84. package/hooks/use-debounce-fn/index.js +1 -1
  85. package/hooks/use-deep-compare-effect/index.js +1 -1
  86. package/hooks/use-deep-compare-layout-effect/index.js +1 -1
  87. package/hooks/use-document-visibility/index.js +1 -1
  88. package/hooks/use-drag/index.js +1 -1
  89. package/hooks/use-drop/index.js +1 -1
  90. package/hooks/use-effect-event/index.js +1 -1
  91. package/hooks/use-event/index.js +1 -1
  92. package/hooks/use-event-emitter/index.js +1 -1
  93. package/hooks/use-event-listener/index.js +1 -1
  94. package/hooks/use-event-target/index.js +1 -1
  95. package/hooks/use-external/index.js +1 -1
  96. package/hooks/use-favicon/index.js +1 -1
  97. package/hooks/use-focus-within/index.js +1 -1
  98. package/hooks/use-force-update/index.js +1 -1
  99. package/hooks/use-fullscreen/index.js +1 -1
  100. package/hooks/use-get-state/index.js +1 -1
  101. package/hooks/use-history-travel/index.js +1 -1
  102. package/hooks/use-hover/index.js +1 -1
  103. package/hooks/use-id/index.js +1 -1
  104. package/hooks/use-in-viewport/index.js +1 -1
  105. package/hooks/use-infinite-scroll/index.js +1 -1
  106. package/hooks/use-intersection-observer/index.js +1 -1
  107. package/hooks/use-intersection-observers/index.js +2 -2
  108. package/hooks/use-interval/index.js +1 -1
  109. package/hooks/use-is-first-render/index.js +1 -1
  110. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  111. package/hooks/use-key-press/index.js +1 -1
  112. package/hooks/use-keyboard-event/index.js +2 -2
  113. package/hooks/use-latest/index.js +1 -1
  114. package/hooks/use-listen-window-resize/index.js +1 -1
  115. package/hooks/use-local-storage-state/index.js +1 -1
  116. package/hooks/use-lock-fn/index.js +1 -1
  117. package/hooks/use-long-press/index.js +1 -1
  118. package/hooks/use-map/index.js +1 -1
  119. package/hooks/use-media/index.js +1 -1
  120. package/hooks/use-memo/index.js +1 -1
  121. package/hooks/use-memoized-fn/index.js +1 -1
  122. package/hooks/use-merge-props/index.d.ts +2 -2
  123. package/hooks/use-merge-props/index.js +4 -4
  124. package/hooks/use-merge-value/index.js +1 -1
  125. package/hooks/use-mobile/index.js +2 -2
  126. package/hooks/use-mount/index.js +1 -1
  127. package/hooks/use-mouse/index.js +1 -1
  128. package/hooks/use-move/index.js +1 -1
  129. package/hooks/use-mutation-observer/index.js +1 -1
  130. package/hooks/use-mutation-observers/index.js +2 -2
  131. package/hooks/use-network/index.js +1 -1
  132. package/hooks/use-online-status/index.js +1 -1
  133. package/hooks/use-overflow-hidden/index.d.ts +1 -1
  134. package/hooks/use-overflow-hidden/index.js +7 -4
  135. package/hooks/use-override-ref/index.js +1 -1
  136. package/hooks/use-pagination/index.js +1 -1
  137. package/hooks/use-paste-image/index.js +1 -1
  138. package/hooks/use-persist-callback/index.js +1 -1
  139. package/hooks/use-prefers-color-scheme-dark/index.js +2 -2
  140. package/hooks/use-previous/index.js +1 -1
  141. package/hooks/use-raf-interval/index.js +1 -1
  142. package/hooks/use-raf-state/index.js +1 -1
  143. package/hooks/use-raf-timeout/index.js +1 -1
  144. package/hooks/use-reactive/index.js +1 -1
  145. package/hooks/use-ref-latest/index.js +1 -1
  146. package/hooks/use-refs/index.js +1 -1
  147. package/hooks/use-request/index.js +1 -1
  148. package/hooks/use-request/src/Fetch.js +1 -1
  149. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  150. package/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
  151. package/hooks/use-request/src/plugins/useDebouncePlugin.js +1 -1
  152. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
  153. package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
  154. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
  155. package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
  156. package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
  157. package/hooks/use-request/src/useRequest.js +1 -1
  158. package/hooks/use-request/src/useRequestImplement.js +1 -1
  159. package/hooks/use-request/src/utils/cache.js +1 -1
  160. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  161. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  162. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  163. package/hooks/use-request/src/utils/isOnline.js +1 -1
  164. package/hooks/use-request/src/utils/limit.js +1 -1
  165. package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
  166. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  167. package/hooks/use-reset-state/index.js +1 -1
  168. package/hooks/use-resize-observer/index.js +1 -1
  169. package/hooks/use-resize-observers/index.js +2 -2
  170. package/hooks/use-responsive/index.js +1 -1
  171. package/hooks/use-safe-state/index.js +1 -1
  172. package/hooks/use-scroll/index.js +1 -1
  173. package/hooks/use-selections/index.js +1 -1
  174. package/hooks/use-session-storage-state/index.js +1 -1
  175. package/hooks/use-set/index.js +1 -1
  176. package/hooks/use-set-state/index.js +1 -1
  177. package/hooks/use-size/index.js +1 -1
  178. package/hooks/use-state-callback/index.js +1 -1
  179. package/hooks/use-state-with-promise/index.js +1 -1
  180. package/hooks/use-sync-state/index.js +1 -1
  181. package/hooks/use-text-selection/index.js +1 -1
  182. package/hooks/use-theme/index.js +1 -1
  183. package/hooks/use-throttle/index.js +1 -1
  184. package/hooks/use-throttle-effect/index.js +1 -1
  185. package/hooks/use-throttle-fn/index.js +1 -1
  186. package/hooks/use-throttle-fn-with-raf/index.d.ts +6 -0
  187. package/hooks/use-throttle-fn-with-raf/index.js +25 -0
  188. package/hooks/use-timeout/index.js +1 -1
  189. package/hooks/use-title/index.js +1 -1
  190. package/hooks/use-toggle/index.js +1 -1
  191. package/hooks/use-tracked-effect/index.js +1 -1
  192. package/hooks/use-unmount/index.js +1 -1
  193. package/hooks/use-unmounted-ref/index.js +1 -1
  194. package/hooks/use-update/index.js +1 -1
  195. package/hooks/use-update-effect/index.js +1 -1
  196. package/hooks/use-update-layout-effect/index.js +1 -1
  197. package/hooks/use-url-state/index.js +1 -1
  198. package/hooks/use-virtual-list/index.js +1 -1
  199. package/hooks/use-watch/index.js +1 -1
  200. package/hooks/use-web-socket/index.js +1 -1
  201. package/hooks/use-why-did-you-update/index.js +1 -1
  202. package/hooks/use-window-size/index.js +1 -1
  203. package/hooks/utils/createEffectWithTarget.js +1 -1
  204. package/hooks/utils/depsAreSame.js +1 -1
  205. package/hooks/utils/depsEqual.js +1 -1
  206. package/hooks/utils/domTarget.js +1 -1
  207. package/hooks/utils/getDocumentOrShadow.js +1 -1
  208. package/hooks/utils/index.js +1 -1
  209. package/hooks/utils/isAppleDevice.d.ts +1 -1
  210. package/hooks/utils/isAppleDevice.js +2 -2
  211. package/hooks/utils/isBrowser.d.ts +1 -1
  212. package/hooks/utils/isBrowser.js +2 -2
  213. package/hooks/utils/isDev.js +1 -1
  214. package/hooks/utils/noop.d.ts +1 -1
  215. package/hooks/utils/rect.js +1 -1
  216. package/hooks/utils/useDeepCompareWithTarget.js +1 -1
  217. package/hooks/utils/useEffectWithTarget.js +1 -1
  218. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  219. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  220. package/icons/file/File.js +60 -0
  221. package/icons/file/constants.d.ts +0 -0
  222. package/icons/file/context.d.ts +3 -0
  223. package/icons/file/context.js +7 -0
  224. package/icons/file/index.d.ts +2 -0
  225. package/icons/file/index.js +9 -4
  226. package/icons/file/style/index.css +1 -0
  227. package/icons/file/style/index.d.ts +0 -1
  228. package/icons/file/style/index.js +3 -0
  229. package/index.js +72 -71
  230. package/package.json +1 -1
  231. package/progress/Progress.js +2 -2
  232. package/progress/constants.d.ts +0 -0
  233. package/progress/constants.js +2 -0
  234. package/progress/index.d.ts +1 -28
  235. package/progress/index.js +5 -5
  236. package/progress/style/index.css +1 -0
  237. package/progress/style/index.d.ts +1 -0
  238. package/progress/style/index.js +3 -0
  239. package/resize-observer/Collection.js +1 -1
  240. package/resize-observer/ResizeObserver.js +19 -17
  241. package/resize-observer/SingleObserver.js +1 -1
  242. package/resize-observer/constants.d.ts +0 -0
  243. package/resize-observer/constants.js +2 -0
  244. package/resize-observer/context.d.ts +3 -0
  245. package/resize-observer/context.js +7 -0
  246. package/resize-observer/index.d.ts +2 -0
  247. package/resize-observer/index.js +9 -6
  248. package/resize-observer/observerUtil.js +1 -1
  249. package/resize-observer/style/index.d.ts +1 -0
  250. package/resize-observer/style/index.js +3 -0
  251. package/space/Space.js +44 -47
  252. package/space/constants.d.ts +0 -0
  253. package/space/constants.js +2 -0
  254. package/space/context.d.ts +3 -0
  255. package/space/context.js +10 -0
  256. package/space/index.d.ts +2 -0
  257. package/space/index.js +8 -5
  258. package/space/style/index.css +1 -0
  259. package/space/style/index.d.ts +1 -0
  260. package/space/style/index.js +3 -0
  261. package/style/index.less +5 -1
  262. package/style/variables-css.less +5 -0
  263. package/style/variables.less +0 -4
  264. package/style.css +1 -2
  265. package/suspense-fallback-test/SuspenseFallbackTest.js +13 -10
  266. package/suspense-fallback-test/constants.d.ts +0 -0
  267. package/suspense-fallback-test/constants.js +2 -0
  268. package/suspense-fallback-test/context.d.ts +3 -0
  269. package/suspense-fallback-test/context.js +7 -0
  270. package/suspense-fallback-test/index.d.ts +2 -0
  271. package/suspense-fallback-test/index.js +9 -4
  272. package/suspense-fallback-test/style/index.css +1 -0
  273. package/suspense-fallback-test/style/index.d.ts +1 -0
  274. package/suspense-fallback-test/style/index.js +3 -0
  275. package/test.js +1 -1
  276. package/timer/Timer.js +28 -26
  277. package/timer/constants.d.ts +0 -0
  278. package/timer/constants.js +2 -0
  279. package/timer/context.d.ts +3 -0
  280. package/timer/context.js +7 -0
  281. package/timer/index.d.ts +2 -0
  282. package/timer/index.js +9 -4
  283. package/timer/style/index.css +1 -0
  284. package/timer/style/index.d.ts +1 -0
  285. package/timer/style/index.js +3 -0
  286. package/transition/Transition.d.ts +1 -0
  287. package/transition/Transition.js +46 -43
  288. package/transition/TransitionCSS.js +1 -1
  289. package/transition/TransitionGroup.js +1 -1
  290. package/transition/TransitionStyle.js +1 -1
  291. package/transition/constants.js +1 -1
  292. package/transition/context.d.ts +2 -0
  293. package/transition/context.js +5 -5
  294. package/transition/index.d.ts +3 -1
  295. package/transition/index.js +8 -6
  296. package/transition/style/index.css +1 -0
  297. package/transition/style/index.d.ts +1 -0
  298. package/transition/style/index.js +3 -0
  299. package/transition/utils.js +1 -1
  300. package/typewriter/Typewriter.js +35 -37
  301. package/typewriter/constants.d.ts +0 -0
  302. package/typewriter/constants.js +2 -0
  303. package/typewriter/context.d.ts +3 -0
  304. package/typewriter/context.js +10 -0
  305. package/typewriter/index.d.ts +2 -0
  306. package/typewriter/index.js +9 -4
  307. package/typewriter/style/index.css +1 -0
  308. package/typewriter/style/index.d.ts +1 -0
  309. package/typewriter/style/index.js +3 -0
  310. package/utils/callOrReturn.js +1 -1
  311. package/utils/callbackOriginRef.js +1 -1
  312. package/utils/caseName.js +1 -1
  313. package/utils/className.js +1 -1
  314. package/utils/{constant.d.ts → constants.d.ts} +1 -1
  315. package/utils/{constant.js → constants.js} +3 -3
  316. package/utils/copy.js +1 -1
  317. package/utils/css.js +1 -1
  318. package/utils/date.js +1 -1
  319. package/utils/dayjs.js +1 -1
  320. package/utils/document.d.ts +1 -0
  321. package/utils/document.js +4 -0
  322. package/utils/dom.js +1 -1
  323. package/utils/emitter.js +1 -1
  324. package/utils/file.js +1 -1
  325. package/utils/fileRead.js +1 -1
  326. package/utils/fileToDataURL.js +1 -1
  327. package/utils/fillNBSP.js +1 -1
  328. package/utils/findRootElement.js +1 -1
  329. package/utils/findScrollParent.js +1 -1
  330. package/utils/getHighlightText.js +1 -1
  331. package/utils/getHotkeyHandler.js +1 -1
  332. package/utils/getScrollBarHeight.js +1 -1
  333. package/utils/getScrollBarSize.js +1 -1
  334. package/utils/getScrollBarWidth.js +1 -1
  335. package/utils/getStringLength.js +1 -1
  336. package/utils/include.js +1 -1
  337. package/utils/index.d.ts +2 -2
  338. package/utils/index.js +48 -48
  339. package/utils/intersectionObserver.js +1 -1
  340. package/utils/is.js +2 -2
  341. package/utils/keyboardCode.d.ts +2 -2
  342. package/utils/keyboardCode.js +3 -3
  343. package/utils/lodash.js +1 -1
  344. package/utils/math.js +1 -1
  345. package/utils/mergeProps.d.ts +1 -1
  346. package/utils/mergeProps.js +6 -4
  347. package/utils/mergedToString.js +1 -1
  348. package/utils/mutationObserver.js +1 -1
  349. package/utils/names.d.ts +1 -0
  350. package/utils/names.js +2 -2
  351. package/utils/object.js +1 -1
  352. package/utils/omit.js +1 -1
  353. package/utils/pad.js +1 -1
  354. package/utils/pick.js +1 -1
  355. package/utils/pinyin.js +1 -1
  356. package/utils/react19Adapter.js +1 -1
  357. package/utils/reactNode.js +1 -1
  358. package/utils/ref.js +1 -1
  359. package/utils/resizeObserver.js +2 -2
  360. package/utils/saveAs.js +1 -1
  361. package/utils/screenfull.js +1 -1
  362. package/utils/scrollIntoViewIfNeeded.js +1 -1
  363. package/utils/setCreateRoot.js +1 -1
  364. package/utils/setDarkTheme.js +3 -3
  365. package/utils/setDir.js +3 -3
  366. package/utils/setPrimaryColor.js +3 -3
  367. package/utils/setTheme.js +3 -3
  368. package/utils/string.d.ts +1 -1
  369. package/utils/string.js +2 -2
  370. package/utils/style.js +1 -1
  371. package/utils/tinycolor.js +1 -1
  372. package/utils/toArray.js +1 -1
  373. package/utils/tree.js +1 -1
  374. package/utils/tunnel.js +1 -1
  375. package/utils/tween.js +1 -1
  376. package/utils/uuid.js +1 -1
  377. package/utils/validate.js +1 -1
  378. package/utils/warning.js +2 -2
  379. package/version/index.js +8 -8
  380. package/.vite/license.md +0 -3
  381. package/.vite/manifest.json +0 -2750
  382. package/icons/file/IconFile.js +0 -56
  383. package/utils/throttleByRequestAnimationFrame.d.ts +0 -6
  384. package/utils/throttleByRequestAnimationFrame.js +0 -18
  385. /package/icons/file/{IconFile.d.ts → File.d.ts} +0 -0
@@ -0,0 +1,7 @@
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
+ import { createContext as e } from "react";
3
+ //#region components/common/icons/file/context.ts
4
+ var t = e({});
5
+ //#endregion
6
+ export { t as PropsContext };
7
+ /* 独立思考,明辨是非 */
@@ -1,4 +1,6 @@
1
+ import './style';
1
2
  declare const IconFile: import("react").ForwardRefExoticComponent<import("./interface").IconFileProps & import("react").RefAttributes<unknown>> & {
3
+ PropsContext: import("react").Context<Partial<import("./interface").IconFileProps>>;
2
4
  zh: string;
3
5
  en: string;
4
6
  displayName: string;
@@ -1,8 +1,13 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
2
  import { ICON_FILE_COMPONENT_INFO as e } from "../../utils/names.js";
3
- import t from "./IconFile.js";
3
+ import "./style/index.js";
4
+ import { PropsContext as t } from "./context.js";
5
+ import n from "./File.js";
4
6
  //#region components/common/icons/file/index.ts
5
- var n = Object.assign(t, { ...e });
7
+ var r = Object.assign(n, {
8
+ ...e,
9
+ PropsContext: t
10
+ });
6
11
  //#endregion
7
- export { n as default };
12
+ export { r as default };
8
13
  /* 独立思考,明辨是非 */
@@ -0,0 +1 @@
1
+ .pqbc-icons-file{position:relative}.pqbc-icons-file-svg{width:30px;height:30px}.pqbc-icons-file-svg-bg{--primary:26, 94, 255;fill:rgb(var(--pqbc-primary-6,var(--pqb-primary-6,var(--pqbm-primary-6,--primary))))}.pqbc-icons-file-svg-tr{fill:#fff;fill-opacity:.7}.pqbc-icons-file-svg-text{fill:#fff;text-align:center;font-size:66px;font-weight:bolder}
@@ -1,2 +1 @@
1
- import '../../../style/index.less';
2
1
  import './index.less';
@@ -0,0 +1,3 @@
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
+ /* empty css */
3
+ /* 独立思考,明辨是非 */
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
2
  import { __exportAll as ee, __reExport as te } from "./.virtual/_rolldown/runtime.js";
3
3
  /* empty css */
4
4
  import ne from "./hooks/create-update-effect/index.js";
@@ -93,7 +93,7 @@ import xr from "./hooks/use-web-socket/index.js";
93
93
  import Sr from "./hooks/use-why-did-you-update/index.js";
94
94
  import Cr from "./hooks/use-effect-event/index.js";
95
95
  import wr from "./hooks/use-id/index.js";
96
- import { CSS_VARIABLE_ELEMENT as Tr, DAYJS_DEFAULT_FORMAT as Er, DAYJS_DEFAULT_FORMAT_WITH_TIME as Dr, NOOP as Or, PREFIX_CLASS as kr, UI_PC_KEY as Ar, UI_PC_THEME_DARK_CLASS_NAME as jr } from "./utils/constant.js";
96
+ import { CSS_VARIABLE_ELEMENT as Tr, DAYJS_DEFAULT_FORMAT as Er, DAYJS_DEFAULT_FORMAT_WITH_TIME as Dr, NOOP as Or, PREFIX_CLASS as kr, UI_PC_KEY as Ar, UI_PC_THEME_DARK_CLASS_NAME as jr } from "./utils/constants.js";
97
97
  import { assign as Mr, assignIn as Nr, at as Pr, camelCase as Fr, capitalize as Ir, castArray as Lr, chain as Rr, chunk as zr, clone as Br, cloneDeep as Vr, cloneDeepWith as Hr, cloneWith as Ur, compact as Wr, curry as Gr, debounce as Kr, defaultTo as qr, defaults as Jr, defaultsDeep as Yr, difference as Xr, escape as Zr, findKey as Qr, flattenDeep as $r, flow as ei, get as ti, groupBy as ni, has as ri, intersection as ii, invert as ai, invertBy as oi, kebabCase as si, mean as ci, memoize as li, merge as ui, mergeWith as di, noop as L, omit as fi, omitBy as pi, orderBy as mi, partition as hi, pick as gi, pickBy as _i, pullAll as vi, result as yi, sample as bi, sampleSize as xi, set as Si, setWith as Ci, shuffle as wi, snakeCase as Ti, sortBy as Ei, startCase as Di, throttle as Oi, toPath as ki, truncate as Ai, union as ji, uniq as Mi, uniqueId as Ni, unset as Pi, update as Fi, updateWith as Ii, upperCase as Li, upperFirst as Ri, without as zi, xor as Bi, zip as Vi } from "./utils/lodash.js";
98
98
  import Hi from "./hooks/use-intersection-observers/index.js";
99
99
  import Ui from "./hooks/use-is-first-render/index.js";
@@ -137,30 +137,30 @@ import Ia from "./utils/setPrimaryColor.js";
137
137
  import La from "./utils/setTheme.js";
138
138
  import { HYPHEN as Ra, replaceEmptyWithHyphen as za } from "./utils/string.js";
139
139
  import { fixedWidth as Ba, getStyle as Va, setTransformStyle as Ha } from "./utils/style.js";
140
- import Ua from "./utils/throttleByRequestAnimationFrame.js";
141
- import { tinycolor as Wa } from "./utils/tinycolor.js";
142
- import Ga from "./utils/toArray.js";
143
- import { findNodeBy as Ka, getChildWithParentBy as qa, getItemBy as Ja, getItemByID as Ya, getLabelFromDictionaryByValue as Xa, searchTree as Za, tree as Qa } from "./utils/tree.js";
144
- import { uuid as $a, uuidv4 as eo } from "./utils/uuid.js";
145
- import to from "./utils/tunnel.js";
146
- import { Tween as no, easing as ro } from "./utils/tween.js";
147
- import { PqbValidator as io, Validator as ao, ValidatorArray as oo, ValidatorBase as so, ValidatorBoolean as co, ValidatorCustom as lo, ValidatorNumber as uo, ValidatorObject as fo, ValidatorSchema as po, ValidatorString as mo, ValidatorType as ho, validatorLocale as go } from "./utils/validate.js";
148
- import _o from "./utils/warning.js";
149
- import { pinyin_exports as vo } from "./utils/pinyin.js";
150
- import { keyboardCode as yo } from "./utils/keyboardCode.js";
151
- import { COMPONENT_NAMES as bo } from "./utils/names.js";
152
- import { utils_exports as xo } from "./utils/index.js";
153
- import So from "./hooks/use-mutation-observers/index.js";
154
- import Co from "./hooks/use-online-status/index.js";
155
- import wo from "./hooks/use-overflow-hidden/index.js";
156
- import To from "./hooks/use-override-ref/index.js";
157
- import Eo from "./hooks/use-paste-image/index.js";
158
- import Do from "./hooks/use-persist-callback/index.js";
159
- import Oo from "./hooks/use-prefers-color-scheme-dark/index.js";
160
- import ko, { useRefs2 as Ao } from "./hooks/use-refs/index.js";
161
- import jo from "./hooks/use-resize-observer/index.js";
162
- import Mo from "./hooks/use-resize-observers/index.js";
163
- import No from "./hooks/use-state-with-promise/index.js";
140
+ import { tinycolor as Ua } from "./utils/tinycolor.js";
141
+ import Wa from "./utils/toArray.js";
142
+ import { findNodeBy as Ga, getChildWithParentBy as Ka, getItemBy as qa, getItemByID as Ja, getLabelFromDictionaryByValue as Ya, searchTree as Xa, tree as Za } from "./utils/tree.js";
143
+ import { uuid as Qa, uuidv4 as $a } from "./utils/uuid.js";
144
+ import eo from "./utils/tunnel.js";
145
+ import { Tween as to, easing as no } from "./utils/tween.js";
146
+ import { PqbValidator as ro, Validator as io, ValidatorArray as ao, ValidatorBase as oo, ValidatorBoolean as so, ValidatorCustom as co, ValidatorNumber as lo, ValidatorObject as uo, ValidatorSchema as fo, ValidatorString as po, ValidatorType as mo, validatorLocale as ho } from "./utils/validate.js";
147
+ import go from "./utils/warning.js";
148
+ import { pinyin_exports as _o } from "./utils/pinyin.js";
149
+ import { keyboardCode as vo } from "./utils/keyboardCode.js";
150
+ import { COMPONENT_NAMES as yo } from "./utils/names.js";
151
+ import { utils_exports as bo } from "./utils/index.js";
152
+ import xo from "./hooks/use-mutation-observers/index.js";
153
+ import So from "./hooks/use-online-status/index.js";
154
+ import Co from "./hooks/use-overflow-hidden/index.js";
155
+ import wo from "./hooks/use-override-ref/index.js";
156
+ import To from "./hooks/use-paste-image/index.js";
157
+ import Eo from "./hooks/use-persist-callback/index.js";
158
+ import Do from "./hooks/use-prefers-color-scheme-dark/index.js";
159
+ import Oo, { useRefs2 as ko } from "./hooks/use-refs/index.js";
160
+ import Ao from "./hooks/use-resize-observer/index.js";
161
+ import jo from "./hooks/use-resize-observers/index.js";
162
+ import Mo from "./hooks/use-state-with-promise/index.js";
163
+ import No from "./hooks/use-throttle-fn-with-raf/index.js";
164
164
  import Po from "./hooks/use-watch/index.js";
165
165
  import Fo from "./hooks/use-window-size/index.js";
166
166
  import "./hooks/index.js";
@@ -191,12 +191,13 @@ import { VERSION as Vs, VERSION_BUILD_DATE as Hs, VERSION_BUILD_INFO as Us, VERS
191
191
  export * from "@unicom-cloud/utils/is";
192
192
  export * from "@unicom-cloud/utils/object";
193
193
  export * from "@unicom-cloud/utils/css";
194
+ export * from "@unicom-cloud/utils/document";
194
195
  export * from "@unicom-cloud/utils/file";
195
196
  export * from "@unicom-cloud/utils/tinycolor";
196
197
  te(/* @__PURE__ */ ee({
197
198
  ANIMATION_NAMES: () => Ts,
198
199
  Animation: () => Es,
199
- COMPONENT_NAMES: () => bo,
200
+ COMPONENT_NAMES: () => yo,
200
201
  CSS_VARIABLE_ELEMENT: () => Tr,
201
202
  DAYJS_DEFAULT_FORMAT: () => Er,
202
203
  DAYJS_DEFAULT_FORMAT_WITH_TIME: () => Dr,
@@ -210,7 +211,7 @@ te(/* @__PURE__ */ ee({
210
211
  IconFile: () => Is,
211
212
  NOOP: () => Or,
212
213
  PREFIX_CLASS: () => kr,
213
- PqbValidator: () => io,
214
+ PqbValidator: () => ro,
214
215
  Progress: () => Ls,
215
216
  Space: () => Ns,
216
217
  SpaceVertical: () => Ms,
@@ -255,7 +256,7 @@ te(/* @__PURE__ */ ee({
255
256
  TransitionPhaseEvent: () => fs,
256
257
  TransitionStyle: () => ws,
257
258
  TransitionStyleContext: () => gs,
258
- Tween: () => no,
259
+ Tween: () => to,
259
260
  Typewriter: () => Bs,
260
261
  UI_PC_KEY: () => Ar,
261
262
  UI_PC_THEME_DARK_CLASS_NAME: () => jr,
@@ -263,16 +264,16 @@ te(/* @__PURE__ */ ee({
263
264
  VERSION_BUILD_DATE: () => Hs,
264
265
  VERSION_BUILD_INFO: () => Us,
265
266
  VERSION_BUILD_TIME: () => Ws,
266
- Validator: () => ao,
267
- ValidatorArray: () => oo,
268
- ValidatorBase: () => so,
269
- ValidatorBoolean: () => co,
270
- ValidatorCustom: () => lo,
271
- ValidatorNumber: () => uo,
272
- ValidatorObject: () => fo,
273
- ValidatorSchema: () => po,
274
- ValidatorString: () => mo,
275
- ValidatorType: () => ho,
267
+ Validator: () => io,
268
+ ValidatorArray: () => ao,
269
+ ValidatorBase: () => oo,
270
+ ValidatorBoolean: () => so,
271
+ ValidatorCustom: () => co,
272
+ ValidatorNumber: () => lo,
273
+ ValidatorObject: () => uo,
274
+ ValidatorSchema: () => fo,
275
+ ValidatorString: () => po,
276
+ ValidatorType: () => mo,
276
277
  addSuffix: () => _s,
277
278
  assign: () => Mr,
278
279
  assignIn: () => Nr,
@@ -312,14 +313,14 @@ te(/* @__PURE__ */ ee({
312
313
  defaultsDeep: () => Yr,
313
314
  difference: () => Xr,
314
315
  div: () => _a,
315
- easing: () => ro,
316
+ easing: () => no,
316
317
  escape: () => Zr,
317
318
  fileRead: () => oa,
318
319
  fileToDataURL: () => sa,
319
320
  fillNBSP: () => ca,
320
321
  fillRef: () => En,
321
322
  findKey: () => Qr,
322
- findNodeBy: () => Ka,
323
+ findNodeBy: () => Ga,
323
324
  findRootElement: () => Mn,
324
325
  fixedWidth: () => Ba,
325
326
  flattenDeep: () => $r,
@@ -329,14 +330,14 @@ te(/* @__PURE__ */ ee({
329
330
  forceReflow: () => I,
330
331
  get: () => ti,
331
332
  getBodyContainer: () => In,
332
- getChildWithParentBy: () => qa,
333
+ getChildWithParentBy: () => Ka,
333
334
  getDOM: () => Ln,
334
335
  getElementCoordinates: () => Rn,
335
336
  getHighlightText: () => la,
336
337
  getHotkeyHandler: () => ua,
337
- getItemBy: () => Ja,
338
- getItemByID: () => Ya,
339
- getLabelFromDictionaryByValue: () => Xa,
338
+ getItemBy: () => qa,
339
+ getItemByID: () => Ja,
340
+ getLabelFromDictionaryByValue: () => Ya,
340
341
  getNodeRef: () => Dn,
341
342
  getReactElementRef: () => On,
342
343
  getScrollBarHeight: () => fa,
@@ -482,7 +483,7 @@ te(/* @__PURE__ */ ee({
482
483
  isWindow: () => wt,
483
484
  isZero: () => Tt,
484
485
  kebabCase: () => si,
485
- keyboardCode: () => yo,
486
+ keyboardCode: () => vo,
486
487
  math: () => va,
487
488
  mean: () => ci,
488
489
  memoize: () => li,
@@ -505,7 +506,7 @@ te(/* @__PURE__ */ ee({
505
506
  pick: () => gi,
506
507
  pickBy: () => _i,
507
508
  pickDataAttributes: () => Ea,
508
- pinyin: () => vo,
509
+ pinyin: () => _o,
509
510
  plus: () => ba,
510
511
  pullAll: () => vi,
511
512
  reflow: () => I,
@@ -519,7 +520,7 @@ te(/* @__PURE__ */ ee({
519
520
  saveAs: () => Oa,
520
521
  screenfull: () => ka,
521
522
  scrollIntoViewIfNeeded: () => Aa,
522
- searchTree: () => Za,
523
+ searchTree: () => Xa,
523
524
  set: () => Si,
524
525
  setCreateRoot: () => ja,
525
526
  setDarkTheme: () => Na,
@@ -535,10 +536,9 @@ te(/* @__PURE__ */ ee({
535
536
  supportNodeRef: () => kn,
536
537
  supportRef: () => An,
537
538
  throttle: () => Oi,
538
- throttleByRequestAnimationFrame: () => Ua,
539
539
  times: () => xa,
540
- tinycolor: () => Wa,
541
- toArray: () => Ga,
540
+ tinycolor: () => Ua,
541
+ toArray: () => Wa,
542
542
  toPath: () => ki,
543
543
  transitionFallbackAppearToEnter: () => ys,
544
544
  transitionIsActivePhaseHandler: () => z,
@@ -557,9 +557,9 @@ te(/* @__PURE__ */ ee({
557
557
  transitionIsExitStartPhaseHandler: () => Q,
558
558
  transitionIsStartPhaseHandler: () => $,
559
559
  transitionNormalizeDurations: () => bs,
560
- tree: () => Qa,
560
+ tree: () => Za,
561
561
  truncate: () => Ai,
562
- tunnel: () => to,
562
+ tunnel: () => eo,
563
563
  union: () => ji,
564
564
  uniq: () => Mi,
565
565
  uniqueId: () => Ni,
@@ -624,27 +624,27 @@ te(/* @__PURE__ */ ee({
624
624
  useMouse: () => wn,
625
625
  useMove: () => Wn,
626
626
  useMutationObserver: () => Gn,
627
- useMutationObservers: () => So,
627
+ useMutationObservers: () => xo,
628
628
  useNetwork: () => Kn,
629
- useOnlineStatus: () => Co,
630
- useOverflowHidden: () => wo,
631
- useOverrideRef: () => To,
629
+ useOnlineStatus: () => So,
630
+ useOverflowHidden: () => Co,
631
+ useOverrideRef: () => wo,
632
632
  usePagination: () => qn,
633
- usePasteImage: () => Eo,
634
- usePersistCallback: () => Do,
635
- usePrefersColorSchemeDark: () => Oo,
633
+ usePasteImage: () => To,
634
+ usePersistCallback: () => Eo,
635
+ usePrefersColorSchemeDark: () => Do,
636
636
  usePrevious: () => Pt,
637
637
  useRafInterval: () => Jn,
638
638
  useRafState: () => Cn,
639
639
  useRafTimeout: () => Yn,
640
640
  useReactive: () => Xn,
641
641
  useRefLatest: () => Zn,
642
- useRefs: () => ko,
643
- useRefs2: () => Ao,
642
+ useRefs: () => Oo,
643
+ useRefs2: () => ko,
644
644
  useRequest: () => pn,
645
645
  useResetState: () => Qn,
646
- useResizeObserver: () => jo,
647
- useResizeObservers: () => Mo,
646
+ useResizeObserver: () => Ao,
647
+ useResizeObservers: () => jo,
648
648
  useResponsive: () => $n,
649
649
  useSafeState: () => nr,
650
650
  useScroll: () => rr,
@@ -653,13 +653,14 @@ te(/* @__PURE__ */ ee({
653
653
  useSetState: () => sr,
654
654
  useSize: () => cr,
655
655
  useStateCallback: () => or,
656
- useStateWithPromise: () => No,
656
+ useStateWithPromise: () => Mo,
657
657
  useSyncState: () => lr,
658
658
  useTextSelection: () => ur,
659
659
  useTheme: () => dr,
660
660
  useThrottle: () => pr,
661
661
  useThrottleEffect: () => mr,
662
662
  useThrottleFn: () => fr,
663
+ useThrottleFnWithRAF: () => No,
663
664
  useTimeout: () => hr,
664
665
  useTitle: () => gr,
665
666
  useToggle: () => Dt,
@@ -675,15 +676,15 @@ te(/* @__PURE__ */ ee({
675
676
  useWebSocket: () => xr,
676
677
  useWhyDidYouUpdate: () => Sr,
677
678
  useWindowSize: () => Fo,
678
- uuid: () => $a,
679
- uuidv4: () => eo,
680
- validatorLocale: () => go,
681
- warning: () => _o,
679
+ uuid: () => Qa,
680
+ uuidv4: () => $a,
681
+ validatorLocale: () => ho,
682
+ warning: () => go,
682
683
  withSpeechSynthesis: () => Fs,
683
684
  without: () => zi,
684
685
  xor: () => Bi,
685
686
  zip: () => Vi
686
- }), xo);
687
+ }), bo);
687
688
  //#endregion
688
- export { Ts as ANIMATION_NAMES, Es as Animation, bo as COMPONENT_NAMES, Tr as CSS_VARIABLE_ELEMENT, Er as DAYJS_DEFAULT_FORMAT, Dr as DAYJS_DEFAULT_FORMAT_WITH_TIME, Ds as Development, aa as Emitter, Ps as Empty, Os as FLEX_GAP_SIZE_MAP, js as Flex, As as FlexVertical, Ra as HYPHEN, Is as IconFile, Or as NOOP, kr as PREFIX_CLASS, io as PqbValidator, Ls as Progress, Ns as Space, Ms as SpaceVertical, Rs as SuspenseFallbackTest, Io as TRANSITION_ADD_END_LISTENER_KEY, Lo as TRANSITION_ALWAYS_MOUNTED_KEY, Ro as TRANSITION_CSS_CLASS_NAMES_SUFFIX, zo as TRANSITION_DEFAULT_PROPS, Bo as TRANSITION_DURATION_DEFAULT, Vo as TRANSITION_DURATION_KEY, Ho as TRANSITION_EVENT_MAP, Uo as TRANSITION_EVENT_NAME_KEY, Wo as TRANSITION_MOUNT_ON_ENTER_KEY, Go as TRANSITION_NEXT_PHASE_KEY, Ko as TRANSITION_PHASE_APPEAR_ACTIVE, qo as TRANSITION_PHASE_APPEAR_DONE, Jo as TRANSITION_PHASE_APPEAR_KEY, Yo as TRANSITION_PHASE_APPEAR_START, Xo as TRANSITION_PHASE_ENTER_ACTIVE, Zo as TRANSITION_PHASE_ENTER_DONE, Qo as TRANSITION_PHASE_ENTER_KEY, $o as TRANSITION_PHASE_ENTER_START, es as TRANSITION_PHASE_EVENT_ON_ENTER_ACTIVE, ts as TRANSITION_PHASE_EVENT_ON_ENTER_DONE, ns as TRANSITION_PHASE_EVENT_ON_ENTER_START, rs as TRANSITION_PHASE_EVENT_ON_EXIT_ACTIVE, is as TRANSITION_PHASE_EVENT_ON_EXIT_DONE, as as TRANSITION_PHASE_EVENT_ON_EXIT_START, os as TRANSITION_PHASE_EXIT_ACTIVE, ss as TRANSITION_PHASE_EXIT_DONE, cs as TRANSITION_PHASE_EXIT_KEY, ls as TRANSITION_PHASE_EXIT_START, us as TRANSITION_UNMOUNT_ON_EXIT_KEY, zs as Timer, xs as Transition, Ss as TransitionCSS, ps as TransitionCSS_Context, ms as TransitionContext, Cs as TransitionGroup, hs as TransitionGroupContext, ds as TransitionPhase, fs as TransitionPhaseEvent, ws as TransitionStyle, gs as TransitionStyleContext, no as Tween, Bs as Typewriter, Ar as UI_PC_KEY, jr as UI_PC_THEME_DARK_CLASS_NAME, Vs as VERSION, Hs as VERSION_BUILD_DATE, Us as VERSION_BUILD_INFO, Ws as VERSION_BUILD_TIME, ao as Validator, oo as ValidatorArray, so as ValidatorBase, co as ValidatorBoolean, lo as ValidatorCustom, uo as ValidatorNumber, fo as ValidatorObject, po as ValidatorSchema, mo as ValidatorString, ho as ValidatorType, _s as addSuffix, Mr as assign, Nr as assignIn, Pr as at, Xi as callOrReturn, Yi as callbackOriginRef, Fr as camelCase, Nn as canUseDOM, Ir as capitalize, Zi as caseName, Lr as castArray, Rr as chain, zr as chunk, Qi as className, fn as clearCache, R as clipboardCopy, R as copy, Br as clone, Vr as cloneDeep, Hr as cloneDeepWith, Ur as cloneWith, Wr as compact, Tn as composeRef, er as configResponsive, Pn as contains, ea as convertTime, ta as convertToDurationBasedOnTimeUnits, ne as createUpdateEffect, $i as cs, Gr as curry, na as dateFormat, ia as dayjs, ra as dayjsFormat, Kr as debounce, qr as defaultTo, Jr as defaults, Yr as defaultsDeep, Xr as difference, _a as div, ro as easing, Zr as escape, oa as fileRead, sa as fileToDataURL, ca as fillNBSP, En as fillRef, Qr as findKey, Ka as findNodeBy, Mn as findRootElement, Ba as fixedWidth, $r as flattenDeep, ks as flexProcessGap, ei as flow, Fn as focusAtEnd, I as forceReflow, I as reflow, ti as get, In as getBodyContainer, qa as getChildWithParentBy, Ln as getDOM, Rn as getElementCoordinates, la as getHighlightText, ua as getHotkeyHandler, Ja as getItemBy, Ya as getItemByID, Xa as getLabelFromDictionaryByValue, Dn as getNodeRef, On as getReactElementRef, fa as getScrollBarHeight, da as getScrollBarSize, pa as getScrollBarWidth, zn as getScrollElements, ma as getStringLength, Va as getStyle, ni as groupBy, ri as has, vs as inArrayHandler, ha as include, ii as intersection, ga as intersectionObserver, ai as invert, oi as invertBy, re as is32Bit, z as isActivePhaseHandler, ie as isAllChinese, B as isAppearActivePhaseHandler, V as isAppearDonePhaseHandler, H as isAppearPhaseHandler, U as isAppearStartPhaseHandler, ae as isArguments, oe as isArray, se as isArrayAndNotEmpty, ce as isArrayBuffer, le as isArrayEmpty, ue as isArrayLike, de as isArrayLikeObject, fe as isAscii, pe as isAsyncFunction, me as isBase64, he as isBigInt, ge as isBlob, _e as isBoolean, ve as isBuffer, e as isChinese, t as isColorValue, n as isColorValue_, r as isDOM, i as isDataURI, a as isDate, o as isDayjs, W as isDonePhaseHandler, s as isElement, c as isElementByInstanceof, l as isEmail, u as isEmpty, d as isEmptyArray, f as isEmptyObject, p as isEmptyReactNode, m as isEmptyString, h as isEmptyValue, G as isEnterActivePhaseHandler, K as isEnterDonePhaseHandler, q as isEnterPhaseHandler, J as isEnterStartPhaseHandler, g as isEqual, _ as isEqualWith, v as isError, y as isEventTarget, b as isExist, Y as isExitActivePhaseHandler, X as isExitDonePhaseHandler, Z as isExitPhaseHandler, Q as isExitStartPhaseHandler, x as isFalse, S as isFile, C as isFinite, w as isFullWidth, T as isFunction, E as isHSL, D as isHTMLElement, O as isHalfWidth, k as isHash, A as isHexColor, j as isIMEI, M as isIP, N as isIPRange, P as isIdentityCard, F as isInteger, ye as isJSON, be as isJSON_String, xe as isJWT, Se as isLength, Ce as isMACAddress, we as isMD5, Te as isMap, Ee as isMatch, De as isMatchWith, Oe as isMimeType, ke as isMobilePhone, Ae as isMobilePhoneLocales, je as isNaN, Me as isNative, Ne as isNil, Pe as isNonNullable, Fe as isNotFound, Ie as isNull, Le as isNullOrUndefined, Re as isNumber, ze as isNumberOrString, Be as isObject, Ve as isObjectLike, He as isPlainObject, Ue as isPort, We as isPresent, Ge as isPrimitive, Ke as isPromise, qe as isReact18, Je as isReact19, Ye as isReactClassComponent, Xe as isReactComponent, Ze as isReactComponentAndNotFragment, Qe as isReadableStream, $e as isRegExp, et as isRgbColor, tt as isSVGElement, nt as isSafeInteger, rt as isScrollElement, it as isSemVer, at as isServerRendering, ot as isSet, st as isSlug, ct as isSparseArray, $ as isStartPhaseHandler, lt as isString, ut as isStringAndExist, dt as isStringOrNumber, ft as isStrongPassword, pt as isSymbol, mt as isThenable, ht as isTrue, gt as isTypedArray, _t as isURL, vt as isUUID, yt as isUndefined, bt as isUndefinedOrNull, xt as isVariableWidth, St as isWeakMap, Ct as isWeakSet, wt as isWindow, Tt as isZero, si as kebabCase, yo as keyboardCode, va as math, ci as mean, li as memoize, ui as merge, qi as mergeProps, di as mergeWith, Sa as mergedToString, ya as minus, Ca as mutationObserver, L as noop, Bn as off, fi as omit, pi as omitBy, Vn as on, mi as orderBy, wa as padEnd, Ta as padStart, Hn as parentContainsChildren, hi as partition, gi as pick, _i as pickBy, Ea as pickDataAttributes, vo as pinyin, ba as plus, vi as pullAll, Pa as removeDarkTheme, Ma as render, za as replaceEmptyWithHyphen, Da as resizeObserver, yi as result, bi as sample, xi as sampleSize, Oa as saveAs, ka as screenfull, Aa as scrollIntoViewIfNeeded, Za as searchTree, Si as set, ja as setCreateRoot, Na as setDarkTheme, Fa as setDir, Ia as setPrimaryColor, La as setTheme, Ha as setTransformStyle, Ci as setWith, wi as shuffle, Ti as snakeCase, Ei as sortBy, Di as startCase, kn as supportNodeRef, An as supportRef, Oi as throttle, Ua as throttleByRequestAnimationFrame, xa as times, Wa as tinycolor, Ga as toArray, ki as toPath, ys as transitionFallbackAppearToEnter, z as transitionIsActivePhaseHandler, B as transitionIsAppearActivePhaseHandler, V as transitionIsAppearDonePhaseHandler, H as transitionIsAppearPhaseHandler, U as transitionIsAppearStartPhaseHandler, W as transitionIsDonePhaseHandler, G as transitionIsEnterActivePhaseHandler, K as transitionIsEnterDonePhaseHandler, q as transitionIsEnterPhaseHandler, J as transitionIsEnterStartPhaseHandler, Y as transitionIsExitActivePhaseHandler, X as transitionIsExitDonePhaseHandler, Z as transitionIsExitPhaseHandler, Q as transitionIsExitStartPhaseHandler, $ as transitionIsStartPhaseHandler, bs as transitionNormalizeDurations, Qa as tree, Ai as truncate, to as tunnel, ji as union, Mi as uniq, Ni as uniqueId, Pi as unset, Fi as update, Ii as updateWith, Li as upperCase, Ri as upperFirst, Et as useAsyncEffect, Ot as useBoolean, jt as useClickAway, jn as useComposeRef, Mt as useComputedState, It as useControllableValue, Lt as useCookieState, Rt as useCountDown, zt as useCounter, Bt as useCreate, Vt as useCreation, Ut as useDebounce, Gt as useDebounceEffect, Ht as useDebounceFn, Kt as useDeepCompareEffect, qt as useDeepCompareLayoutEffect, Yt as useDocumentVisibility, Zt as useDrag, Qt as useDrop, Cr as useEffectEvent, $t as useEvent, en as useEventEmitter, Jt as useEventListener, tn as useEventTarget, nn as useExternal, rn as useFavicon, an as useFocusWithin, Un as useForceUpdate, on as useFullscreen, sn as useGetState, cn as useHistoryTravel, ln as useHover, wr as useId, dn as useInViewport, mn as useInfiniteScroll, un as useIntersectionObserver, Hi as useIntersectionObservers, hn as useInterval, Ui as useIsFirstRender, gn as useIsomorphicLayoutEffect, _n as useKeyPress, Wi as useKeyboardEvent, kt as useLatest, Gi as useListenWindowResize, vn as useLocalStorageState, yn as useLockFn, bn as useLongPress, Ki as useMedia, xn as useMemo, Nt as useMemoizedFn, Ji as useMergeProps, Sn as useMobile, Xt as useMount, wn as useMouse, Wn as useMove, Gn as useMutationObserver, So as useMutationObservers, Kn as useNetwork, Co as useOnlineStatus, wo as useOverflowHidden, To as useOverrideRef, qn as usePagination, Eo as usePasteImage, Do as usePersistCallback, Oo as usePrefersColorSchemeDark, Pt as usePrevious, Jn as useRafInterval, Cn as useRafState, Yn as useRafTimeout, Xn as useReactive, Zn as useRefLatest, ko as useRefs, Ao as useRefs2, pn as useRequest, Qn as useResetState, jo as useResizeObserver, Mo as useResizeObservers, $n as useResponsive, nr as useSafeState, rr as useScroll, ir as useSelections, ar as useSessionStorageState, sr as useSetState, cr as useSize, or as useStateCallback, No as useStateWithPromise, lr as useSyncState, ur as useTextSelection, dr as useTheme, pr as useThrottle, mr as useThrottleEffect, fr as useThrottleFn, hr as useTimeout, gr as useTitle, Dt as useToggle, _r as useTrackedEffect, At as useUnmount, tr as useUnmountedRef, Ft as useUpdate, Wt as useUpdateEffect, vr as useUpdateLayoutEffect, yr as useUrlState, br as useVirtualList, Po as useWatch, xr as useWebSocket, Sr as useWhyDidYouUpdate, Fo as useWindowSize, $a as uuid, eo as uuidv4, go as validatorLocale, _o as warning, Fs as withSpeechSynthesis, zi as without, Bi as xor, Vi as zip };
689
+ export { Ts as ANIMATION_NAMES, Es as Animation, yo as COMPONENT_NAMES, Tr as CSS_VARIABLE_ELEMENT, Er as DAYJS_DEFAULT_FORMAT, Dr as DAYJS_DEFAULT_FORMAT_WITH_TIME, Ds as Development, aa as Emitter, Ps as Empty, Os as FLEX_GAP_SIZE_MAP, js as Flex, As as FlexVertical, Ra as HYPHEN, Is as IconFile, Or as NOOP, kr as PREFIX_CLASS, ro as PqbValidator, Ls as Progress, Ns as Space, Ms as SpaceVertical, Rs as SuspenseFallbackTest, Io as TRANSITION_ADD_END_LISTENER_KEY, Lo as TRANSITION_ALWAYS_MOUNTED_KEY, Ro as TRANSITION_CSS_CLASS_NAMES_SUFFIX, zo as TRANSITION_DEFAULT_PROPS, Bo as TRANSITION_DURATION_DEFAULT, Vo as TRANSITION_DURATION_KEY, Ho as TRANSITION_EVENT_MAP, Uo as TRANSITION_EVENT_NAME_KEY, Wo as TRANSITION_MOUNT_ON_ENTER_KEY, Go as TRANSITION_NEXT_PHASE_KEY, Ko as TRANSITION_PHASE_APPEAR_ACTIVE, qo as TRANSITION_PHASE_APPEAR_DONE, Jo as TRANSITION_PHASE_APPEAR_KEY, Yo as TRANSITION_PHASE_APPEAR_START, Xo as TRANSITION_PHASE_ENTER_ACTIVE, Zo as TRANSITION_PHASE_ENTER_DONE, Qo as TRANSITION_PHASE_ENTER_KEY, $o as TRANSITION_PHASE_ENTER_START, es as TRANSITION_PHASE_EVENT_ON_ENTER_ACTIVE, ts as TRANSITION_PHASE_EVENT_ON_ENTER_DONE, ns as TRANSITION_PHASE_EVENT_ON_ENTER_START, rs as TRANSITION_PHASE_EVENT_ON_EXIT_ACTIVE, is as TRANSITION_PHASE_EVENT_ON_EXIT_DONE, as as TRANSITION_PHASE_EVENT_ON_EXIT_START, os as TRANSITION_PHASE_EXIT_ACTIVE, ss as TRANSITION_PHASE_EXIT_DONE, cs as TRANSITION_PHASE_EXIT_KEY, ls as TRANSITION_PHASE_EXIT_START, us as TRANSITION_UNMOUNT_ON_EXIT_KEY, zs as Timer, xs as Transition, Ss as TransitionCSS, ps as TransitionCSS_Context, ms as TransitionContext, Cs as TransitionGroup, hs as TransitionGroupContext, ds as TransitionPhase, fs as TransitionPhaseEvent, ws as TransitionStyle, gs as TransitionStyleContext, to as Tween, Bs as Typewriter, Ar as UI_PC_KEY, jr as UI_PC_THEME_DARK_CLASS_NAME, Vs as VERSION, Hs as VERSION_BUILD_DATE, Us as VERSION_BUILD_INFO, Ws as VERSION_BUILD_TIME, io as Validator, ao as ValidatorArray, oo as ValidatorBase, so as ValidatorBoolean, co as ValidatorCustom, lo as ValidatorNumber, uo as ValidatorObject, fo as ValidatorSchema, po as ValidatorString, mo as ValidatorType, _s as addSuffix, Mr as assign, Nr as assignIn, Pr as at, Xi as callOrReturn, Yi as callbackOriginRef, Fr as camelCase, Nn as canUseDOM, Ir as capitalize, Zi as caseName, Lr as castArray, Rr as chain, zr as chunk, Qi as className, fn as clearCache, R as clipboardCopy, R as copy, Br as clone, Vr as cloneDeep, Hr as cloneDeepWith, Ur as cloneWith, Wr as compact, Tn as composeRef, er as configResponsive, Pn as contains, ea as convertTime, ta as convertToDurationBasedOnTimeUnits, ne as createUpdateEffect, $i as cs, Gr as curry, na as dateFormat, ia as dayjs, ra as dayjsFormat, Kr as debounce, qr as defaultTo, Jr as defaults, Yr as defaultsDeep, Xr as difference, _a as div, no as easing, Zr as escape, oa as fileRead, sa as fileToDataURL, ca as fillNBSP, En as fillRef, Qr as findKey, Ga as findNodeBy, Mn as findRootElement, Ba as fixedWidth, $r as flattenDeep, ks as flexProcessGap, ei as flow, Fn as focusAtEnd, I as forceReflow, I as reflow, ti as get, In as getBodyContainer, Ka as getChildWithParentBy, Ln as getDOM, Rn as getElementCoordinates, la as getHighlightText, ua as getHotkeyHandler, qa as getItemBy, Ja as getItemByID, Ya as getLabelFromDictionaryByValue, Dn as getNodeRef, On as getReactElementRef, fa as getScrollBarHeight, da as getScrollBarSize, pa as getScrollBarWidth, zn as getScrollElements, ma as getStringLength, Va as getStyle, ni as groupBy, ri as has, vs as inArrayHandler, ha as include, ii as intersection, ga as intersectionObserver, ai as invert, oi as invertBy, re as is32Bit, z as isActivePhaseHandler, ie as isAllChinese, B as isAppearActivePhaseHandler, V as isAppearDonePhaseHandler, H as isAppearPhaseHandler, U as isAppearStartPhaseHandler, ae as isArguments, oe as isArray, se as isArrayAndNotEmpty, ce as isArrayBuffer, le as isArrayEmpty, ue as isArrayLike, de as isArrayLikeObject, fe as isAscii, pe as isAsyncFunction, me as isBase64, he as isBigInt, ge as isBlob, _e as isBoolean, ve as isBuffer, e as isChinese, t as isColorValue, n as isColorValue_, r as isDOM, i as isDataURI, a as isDate, o as isDayjs, W as isDonePhaseHandler, s as isElement, c as isElementByInstanceof, l as isEmail, u as isEmpty, d as isEmptyArray, f as isEmptyObject, p as isEmptyReactNode, m as isEmptyString, h as isEmptyValue, G as isEnterActivePhaseHandler, K as isEnterDonePhaseHandler, q as isEnterPhaseHandler, J as isEnterStartPhaseHandler, g as isEqual, _ as isEqualWith, v as isError, y as isEventTarget, b as isExist, Y as isExitActivePhaseHandler, X as isExitDonePhaseHandler, Z as isExitPhaseHandler, Q as isExitStartPhaseHandler, x as isFalse, S as isFile, C as isFinite, w as isFullWidth, T as isFunction, E as isHSL, D as isHTMLElement, O as isHalfWidth, k as isHash, A as isHexColor, j as isIMEI, M as isIP, N as isIPRange, P as isIdentityCard, F as isInteger, ye as isJSON, be as isJSON_String, xe as isJWT, Se as isLength, Ce as isMACAddress, we as isMD5, Te as isMap, Ee as isMatch, De as isMatchWith, Oe as isMimeType, ke as isMobilePhone, Ae as isMobilePhoneLocales, je as isNaN, Me as isNative, Ne as isNil, Pe as isNonNullable, Fe as isNotFound, Ie as isNull, Le as isNullOrUndefined, Re as isNumber, ze as isNumberOrString, Be as isObject, Ve as isObjectLike, He as isPlainObject, Ue as isPort, We as isPresent, Ge as isPrimitive, Ke as isPromise, qe as isReact18, Je as isReact19, Ye as isReactClassComponent, Xe as isReactComponent, Ze as isReactComponentAndNotFragment, Qe as isReadableStream, $e as isRegExp, et as isRgbColor, tt as isSVGElement, nt as isSafeInteger, rt as isScrollElement, it as isSemVer, at as isServerRendering, ot as isSet, st as isSlug, ct as isSparseArray, $ as isStartPhaseHandler, lt as isString, ut as isStringAndExist, dt as isStringOrNumber, ft as isStrongPassword, pt as isSymbol, mt as isThenable, ht as isTrue, gt as isTypedArray, _t as isURL, vt as isUUID, yt as isUndefined, bt as isUndefinedOrNull, xt as isVariableWidth, St as isWeakMap, Ct as isWeakSet, wt as isWindow, Tt as isZero, si as kebabCase, vo as keyboardCode, va as math, ci as mean, li as memoize, ui as merge, qi as mergeProps, di as mergeWith, Sa as mergedToString, ya as minus, Ca as mutationObserver, L as noop, Bn as off, fi as omit, pi as omitBy, Vn as on, mi as orderBy, wa as padEnd, Ta as padStart, Hn as parentContainsChildren, hi as partition, gi as pick, _i as pickBy, Ea as pickDataAttributes, _o as pinyin, ba as plus, vi as pullAll, Pa as removeDarkTheme, Ma as render, za as replaceEmptyWithHyphen, Da as resizeObserver, yi as result, bi as sample, xi as sampleSize, Oa as saveAs, ka as screenfull, Aa as scrollIntoViewIfNeeded, Xa as searchTree, Si as set, ja as setCreateRoot, Na as setDarkTheme, Fa as setDir, Ia as setPrimaryColor, La as setTheme, Ha as setTransformStyle, Ci as setWith, wi as shuffle, Ti as snakeCase, Ei as sortBy, Di as startCase, kn as supportNodeRef, An as supportRef, Oi as throttle, xa as times, Ua as tinycolor, Wa as toArray, ki as toPath, ys as transitionFallbackAppearToEnter, z as transitionIsActivePhaseHandler, B as transitionIsAppearActivePhaseHandler, V as transitionIsAppearDonePhaseHandler, H as transitionIsAppearPhaseHandler, U as transitionIsAppearStartPhaseHandler, W as transitionIsDonePhaseHandler, G as transitionIsEnterActivePhaseHandler, K as transitionIsEnterDonePhaseHandler, q as transitionIsEnterPhaseHandler, J as transitionIsEnterStartPhaseHandler, Y as transitionIsExitActivePhaseHandler, X as transitionIsExitDonePhaseHandler, Z as transitionIsExitPhaseHandler, Q as transitionIsExitStartPhaseHandler, $ as transitionIsStartPhaseHandler, bs as transitionNormalizeDurations, Za as tree, Ai as truncate, eo as tunnel, ji as union, Mi as uniq, Ni as uniqueId, Pi as unset, Fi as update, Ii as updateWith, Li as upperCase, Ri as upperFirst, Et as useAsyncEffect, Ot as useBoolean, jt as useClickAway, jn as useComposeRef, Mt as useComputedState, It as useControllableValue, Lt as useCookieState, Rt as useCountDown, zt as useCounter, Bt as useCreate, Vt as useCreation, Ut as useDebounce, Gt as useDebounceEffect, Ht as useDebounceFn, Kt as useDeepCompareEffect, qt as useDeepCompareLayoutEffect, Yt as useDocumentVisibility, Zt as useDrag, Qt as useDrop, Cr as useEffectEvent, $t as useEvent, en as useEventEmitter, Jt as useEventListener, tn as useEventTarget, nn as useExternal, rn as useFavicon, an as useFocusWithin, Un as useForceUpdate, on as useFullscreen, sn as useGetState, cn as useHistoryTravel, ln as useHover, wr as useId, dn as useInViewport, mn as useInfiniteScroll, un as useIntersectionObserver, Hi as useIntersectionObservers, hn as useInterval, Ui as useIsFirstRender, gn as useIsomorphicLayoutEffect, _n as useKeyPress, Wi as useKeyboardEvent, kt as useLatest, Gi as useListenWindowResize, vn as useLocalStorageState, yn as useLockFn, bn as useLongPress, Ki as useMedia, xn as useMemo, Nt as useMemoizedFn, Ji as useMergeProps, Sn as useMobile, Xt as useMount, wn as useMouse, Wn as useMove, Gn as useMutationObserver, xo as useMutationObservers, Kn as useNetwork, So as useOnlineStatus, Co as useOverflowHidden, wo as useOverrideRef, qn as usePagination, To as usePasteImage, Eo as usePersistCallback, Do as usePrefersColorSchemeDark, Pt as usePrevious, Jn as useRafInterval, Cn as useRafState, Yn as useRafTimeout, Xn as useReactive, Zn as useRefLatest, Oo as useRefs, ko as useRefs2, pn as useRequest, Qn as useResetState, Ao as useResizeObserver, jo as useResizeObservers, $n as useResponsive, nr as useSafeState, rr as useScroll, ir as useSelections, ar as useSessionStorageState, sr as useSetState, cr as useSize, or as useStateCallback, Mo as useStateWithPromise, lr as useSyncState, ur as useTextSelection, dr as useTheme, pr as useThrottle, mr as useThrottleEffect, fr as useThrottleFn, No as useThrottleFnWithRAF, hr as useTimeout, gr as useTitle, Dt as useToggle, _r as useTrackedEffect, At as useUnmount, tr as useUnmountedRef, Ft as useUpdate, Wt as useUpdateEffect, vr as useUpdateLayoutEffect, yr as useUrlState, br as useVirtualList, Po as useWatch, xr as useWebSocket, Sr as useWhyDidYouUpdate, Fo as useWindowSize, Qa as uuid, $a as uuidv4, ho as validatorLocale, go as warning, Fs as withSpeechSynthesis, zi as without, Bi as xor, Vi as zip };
689
690
  /* 独立思考,明辨是非 */
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@unicom-cloud/ui-common","version":"0.1.30","dependencies":{"@unicom-cloud/utils":"^0.1.0","@unicom-cloud/icons":"^0.1.0","react-compiler-runtime":"^1.0.0"},"peerDependencies":{"dayjs":"^1.11.21","lodash":"^4.18.1","react":"^18.3.1","react-dom":"^18.3.1","react-is":"^18.3.1"},"type":"module","types":"./index.d.ts","main":"./index.js","bin":{"ui":"./test.js"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
1
+ {"name":"@unicom-cloud/ui-common","version":"0.1.32","dependencies":{"@unicom-cloud/utils":"^0.1.0","@unicom-cloud/icons":"^0.1.0","react-compiler-runtime":"^1.0.0"},"peerDependencies":{"dayjs":"^1.11.21","lodash":"^4.18.1","react":"^18.3.1","react-dom":"^18.3.1","react-is":"^18.3.1"},"type":"module","types":"./index.d.ts","main":"./index.js","bin":{"ui":"./test.js"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
@@ -1,6 +1,6 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
2
  import { isNumber as e, isUndefined as t } from "../utils/is.js";
3
- import { UI_COMMON_PREFIX as n } from "@unicom-cloud/utils/constant/ui";
3
+ import { UI_COMMON_PREFIX as n } from "@unicom-cloud/utils/constants/ui";
4
4
  //#region components/common/progress/Progress.js
5
5
  var r = {
6
6
  status: null,
File without changes
@@ -0,0 +1,2 @@
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
+ /* 独立思考,明辨是非 */
@@ -1,29 +1,2 @@
1
1
  export default Progress;
2
- declare const Progress: {
3
- status: null;
4
- settings: {
5
- parent: HTMLElement;
6
- progress: HTMLDivElement;
7
- bar: HTMLDivElement;
8
- minimum: number;
9
- easing: string;
10
- positionUsing: string;
11
- speed: number;
12
- trickle: boolean;
13
- trickleSpeed: number;
14
- };
15
- configure(options: any): /*elided*/ any;
16
- set(n: any): /*elided*/ any;
17
- isStarted(): boolean;
18
- start(): /*elided*/ any;
19
- done(force: any): /*elided*/ any;
20
- inc(amount: any): /*elided*/ any | undefined;
21
- trickle(): /*elided*/ any | undefined;
22
- render(fromStart: any): HTMLDivElement;
23
- remove(): void;
24
- } & {
25
- zh: string;
26
- en: string;
27
- displayName: string;
28
- id: string;
29
- };
2
+ import Progress from './Progress';
package/progress/index.js CHANGED
@@ -1,8 +1,8 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
2
- import { PROGRESS_COMPONENT_INFO as e } from "../utils/names.js";
3
- import t from "./Progress.js";
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
+ import "./style/index.js";
3
+ import e from "./Progress.js";
4
4
  //#region components/common/progress/index.js
5
- var n = Object.assign(t, { ...e });
5
+ var t = e;
6
6
  //#endregion
7
- export { n as default };
7
+ export { t as default };
8
8
  /* 独立思考,明辨是非 */
@@ -0,0 +1 @@
1
+ .pqbc-progress{pointer-events:none}.pqbc-progress-bar{--primary:26, 94, 255;background-color:rgb(var(--pqbc-primary-6,var(--pqb-primary-6,var(--pqbm-primary-6,--primary))));z-index:870227;width:100%;height:2px;position:fixed;inset-block-start:0;inset-inline-start:0}
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,3 @@
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
+ /* empty css */
3
+ /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
2
  import { createContext as e, useCallback as t, useContext as n, useRef as r } from "react";
3
3
  import { jsx as i } from "react/jsx-runtime";
4
4
  //#region components/common/resize-observer/Collection.tsx
@@ -1,25 +1,27 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
2
  import { isFunction as e } from "../utils/is.js";
3
- import t from "../utils/toArray.js";
3
+ import t from "../hooks/use-merge-props/index.js";
4
+ import n from "../utils/toArray.js";
4
5
  import "../utils/warning.js";
5
- import { RESIZE_OBSERVER_COMPONENT_INFO as n } from "../utils/names.js";
6
- import { Collection as r } from "./Collection.js";
7
- import i from "./SingleObserver.js";
8
- import { createElement as a, forwardRef as o } from "react";
6
+ import { RESIZE_OBSERVER_COMPONENT_INFO as r } from "../utils/names.js";
7
+ import { Collection as i } from "./Collection.js";
8
+ import { PropsContext as a, defaultProps as o } from "./context.js";
9
+ import s from "./SingleObserver.js";
10
+ import { createElement as c, forwardRef as l, useContext as u } from "react";
9
11
  //#region components/common/resize-observer/ResizeObserver.tsx
10
- function s(n, r) {
11
- let { children: o } = n;
12
- return (e(o) ? [o] : t(o)).map((e, t) => {
13
- let o = e?.key || `observer-key-${t}`;
14
- return /* @__PURE__ */ a(i, {
15
- ...n,
16
- key: o,
17
- ref: t === 0 ? r : void 0
12
+ function d(r, i) {
13
+ let l = t(r, { ...u(a) }, o), { children: d } = l;
14
+ return (e(d) ? [d] : n(d)).map((e, t) => {
15
+ let n = e?.key || `observer-key-${t}`;
16
+ return /* @__PURE__ */ c(s, {
17
+ ...l,
18
+ key: n,
19
+ ref: t === 0 ? i : void 0
18
20
  }, e);
19
21
  });
20
22
  }
21
- var c = o(s);
22
- c.displayName = n.displayName;
23
+ var f = l(d);
24
+ f.displayName = r.displayName;
23
25
  //#endregion
24
- export { r as Collection, c as default };
26
+ export { i as Collection, f as default };
25
27
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
2
  import { isFunction as e } from "../utils/is.js";
3
3
  import { getReactElementRef as t, supportRef as n, useComposeRef as r } from "../utils/ref.js";
4
4
  import i from "../utils/findRootElement.js";
File without changes
@@ -0,0 +1,2 @@
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,3 @@
1
+ import type { ResizeObserverProps } from './interface';
2
+ export declare const defaultProps: Partial<ResizeObserverProps>;
3
+ export declare const PropsContext: import("react").Context<Partial<ResizeObserverProps>>;
@@ -0,0 +1,7 @@
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
+ import { createContext as e } from "react";
3
+ //#region components/common/resize-observer/context.ts
4
+ var t = {}, n = e({});
5
+ //#endregion
6
+ export { n as PropsContext, t as defaultProps };
7
+ /* 独立思考,明辨是非 */
@@ -1,5 +1,7 @@
1
+ import './style';
1
2
  import { Collection } from './ResizeObserver';
2
3
  declare const ResizeObserver: import("react").ForwardRefExoticComponent<import("./interface").ResizeObserverProps & import("react").RefAttributes<HTMLElement>> & {
4
+ PropsContext: import("react").Context<Partial<import("./interface").ResizeObserverProps>>;
3
5
  Collection: typeof Collection;
4
6
  SingleObserver: import("react").ForwardRefExoticComponent<import("./SingleObserver").SingleObserverProps & import("react").RefAttributes<HTMLElement>>;
5
7
  zh: string;
@@ -1,14 +1,17 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
2
  import { RESIZE_OBSERVER_COMPONENT_INFO as e } from "../utils/names.js";
3
3
  import { Collection as t } from "./Collection.js";
4
- import n from "./SingleObserver.js";
5
- import r from "./ResizeObserver.js";
4
+ import { PropsContext as n } from "./context.js";
5
+ import r from "./SingleObserver.js";
6
+ import i from "./ResizeObserver.js";
7
+ import "./style/index.js";
6
8
  //#region components/common/resize-observer/index.ts
7
- var i = Object.assign(r, {
9
+ var a = Object.assign(i, {
8
10
  ...e,
11
+ PropsContext: n,
9
12
  Collection: t,
10
- SingleObserver: n
13
+ SingleObserver: r
11
14
  });
12
15
  //#endregion
13
- export { t as Collection, i as default };
16
+ export { t as Collection, a as default };
14
17
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-17 16:03:00 星期三 山东省济南市 */
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
2
  //#region components/common/resize-observer/observerUtil.ts
3
3
  var e = /* @__PURE__ */ new Map();
4
4
  function t(t) {
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,3 @@
1
+ /* 潘启宝 2026-06-25 17:54:51 星期四 山东省济南市 */
2
+ /* empty css */
3
+ /* 独立思考,明辨是非 */