@unicom-cloud/ui-common 0.1.27 → 0.1.29

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 (289) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/.vite/manifest.json +26 -1
  3. package/border-beam/BorderBeam.js +1 -1
  4. package/border-beam/Effect.d.ts +2 -2
  5. package/border-beam/Effect.js +1 -1
  6. package/border-beam/constants.js +1 -1
  7. package/border-beam/hooks/useBorderSize.js +1 -1
  8. package/border-beam/hooks/useChildDom.js +1 -1
  9. package/border-beam/index.js +1 -1
  10. package/border-beam/interface.d.ts +2 -3
  11. package/border-beam/utils.js +1 -1
  12. package/development/Development.js +1 -1
  13. package/development/index.js +1 -1
  14. package/empty/Empty.js +1 -1
  15. package/empty/index.js +1 -1
  16. package/empty/interface.d.ts +1 -1
  17. package/flex/Flex.js +1 -1
  18. package/flex/index.js +1 -1
  19. package/flex/interface.d.ts +2 -1
  20. package/flex/utils.js +1 -1
  21. package/higher-order/index.js +1 -1
  22. package/higher-order/with-speech-synthesis/index.js +1 -1
  23. package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +1 -1
  24. package/hooks/create-deep-compare-effect/index.js +1 -1
  25. package/hooks/create-update-effect/index.js +1 -1
  26. package/hooks/create-use-storage-state/index.js +1 -1
  27. package/hooks/index.js +1 -1
  28. package/hooks/use-async-effect/index.js +1 -1
  29. package/hooks/use-boolean/index.js +1 -1
  30. package/hooks/use-click-away/index.js +1 -1
  31. package/hooks/use-computed-state/index.js +1 -1
  32. package/hooks/use-controllable-value/index.js +1 -1
  33. package/hooks/use-cookie-state/index.js +1 -1
  34. package/hooks/use-count-down/index.js +1 -1
  35. package/hooks/use-counter/index.js +1 -1
  36. package/hooks/use-create/index.js +1 -1
  37. package/hooks/use-creation/index.js +1 -1
  38. package/hooks/use-debounce/index.js +1 -1
  39. package/hooks/use-debounce-effect/index.js +1 -1
  40. package/hooks/use-debounce-fn/index.js +1 -1
  41. package/hooks/use-deep-compare-effect/index.js +1 -1
  42. package/hooks/use-deep-compare-layout-effect/index.js +1 -1
  43. package/hooks/use-document-visibility/index.js +1 -1
  44. package/hooks/use-drag/index.js +1 -1
  45. package/hooks/use-drop/index.js +1 -1
  46. package/hooks/use-effect-event/index.js +1 -1
  47. package/hooks/use-event/index.js +1 -1
  48. package/hooks/use-event-emitter/index.js +1 -1
  49. package/hooks/use-event-listener/index.js +1 -1
  50. package/hooks/use-event-target/index.js +1 -1
  51. package/hooks/use-external/index.js +1 -1
  52. package/hooks/use-favicon/index.js +1 -1
  53. package/hooks/use-focus-within/index.js +1 -1
  54. package/hooks/use-force-update/index.js +1 -1
  55. package/hooks/use-fullscreen/index.js +1 -1
  56. package/hooks/use-get-state/index.js +1 -1
  57. package/hooks/use-history-travel/index.js +1 -1
  58. package/hooks/use-hover/index.js +1 -1
  59. package/hooks/use-id/index.js +1 -1
  60. package/hooks/use-in-viewport/index.js +1 -1
  61. package/hooks/use-infinite-scroll/index.js +1 -1
  62. package/hooks/use-intersection-observer/index.js +1 -1
  63. package/hooks/use-intersection-observers/index.d.ts +1 -1
  64. package/hooks/use-intersection-observers/index.js +1 -1
  65. package/hooks/use-interval/index.js +1 -1
  66. package/hooks/use-is-first-render/index.js +1 -1
  67. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  68. package/hooks/use-key-press/index.js +1 -1
  69. package/hooks/use-keyboard-event/index.d.ts +1 -1
  70. package/hooks/use-keyboard-event/index.js +1 -1
  71. package/hooks/use-latest/index.js +1 -1
  72. package/hooks/use-listen-window-resize/index.js +1 -1
  73. package/hooks/use-local-storage-state/index.js +1 -1
  74. package/hooks/use-lock-fn/index.js +1 -1
  75. package/hooks/use-long-press/index.js +1 -1
  76. package/hooks/use-map/index.js +1 -1
  77. package/hooks/use-media/index.js +1 -1
  78. package/hooks/use-memo/index.js +1 -1
  79. package/hooks/use-memoized-fn/index.js +1 -1
  80. package/hooks/use-merge-props/index.js +1 -1
  81. package/hooks/use-merge-value/index.js +1 -1
  82. package/hooks/use-mobile/index.js +1 -1
  83. package/hooks/use-mount/index.js +1 -1
  84. package/hooks/use-mouse/index.js +1 -1
  85. package/hooks/use-move/index.js +4 -4
  86. package/hooks/use-mutation-observer/index.js +1 -1
  87. package/hooks/use-mutation-observers/index.d.ts +1 -1
  88. package/hooks/use-mutation-observers/index.js +1 -1
  89. package/hooks/use-network/index.js +1 -1
  90. package/hooks/use-online-status/index.js +1 -1
  91. package/hooks/use-overflow-hidden/index.js +1 -1
  92. package/hooks/use-override-ref/index.d.ts +1 -1
  93. package/hooks/use-override-ref/index.js +1 -1
  94. package/hooks/use-pagination/index.js +1 -1
  95. package/hooks/use-paste-image/index.d.ts +1 -1
  96. package/hooks/use-paste-image/index.js +1 -1
  97. package/hooks/use-persist-callback/index.js +1 -1
  98. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  99. package/hooks/use-previous/index.js +1 -1
  100. package/hooks/use-raf-interval/index.js +1 -1
  101. package/hooks/use-raf-state/index.js +1 -1
  102. package/hooks/use-raf-timeout/index.js +1 -1
  103. package/hooks/use-reactive/index.js +1 -1
  104. package/hooks/use-ref-latest/index.js +1 -1
  105. package/hooks/use-refs/index.js +1 -1
  106. package/hooks/use-request/index.js +1 -1
  107. package/hooks/use-request/src/Fetch.js +1 -1
  108. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  109. package/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
  110. package/hooks/use-request/src/plugins/useDebouncePlugin.js +1 -1
  111. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
  112. package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
  113. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
  114. package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
  115. package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
  116. package/hooks/use-request/src/useRequest.js +1 -1
  117. package/hooks/use-request/src/useRequestImplement.js +1 -1
  118. package/hooks/use-request/src/utils/cache.js +1 -1
  119. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  120. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  121. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  122. package/hooks/use-request/src/utils/isOnline.js +1 -1
  123. package/hooks/use-request/src/utils/limit.js +1 -1
  124. package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
  125. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  126. package/hooks/use-reset-state/index.js +1 -1
  127. package/hooks/use-resize-observer/index.js +1 -1
  128. package/hooks/use-resize-observers/index.d.ts +1 -1
  129. package/hooks/use-resize-observers/index.js +1 -1
  130. package/hooks/use-responsive/index.js +1 -1
  131. package/hooks/use-safe-state/index.js +1 -1
  132. package/hooks/use-scroll/index.js +1 -1
  133. package/hooks/use-selections/index.js +1 -1
  134. package/hooks/use-session-storage-state/index.js +1 -1
  135. package/hooks/use-set/index.js +1 -1
  136. package/hooks/use-set-state/index.js +1 -1
  137. package/hooks/use-size/index.js +1 -1
  138. package/hooks/use-state-callback/index.js +1 -1
  139. package/hooks/use-state-with-promise/index.js +1 -1
  140. package/hooks/use-sync-state/index.js +1 -1
  141. package/hooks/use-text-selection/index.js +1 -1
  142. package/hooks/use-theme/index.js +1 -1
  143. package/hooks/use-throttle/index.js +1 -1
  144. package/hooks/use-throttle-effect/index.js +1 -1
  145. package/hooks/use-throttle-fn/index.js +1 -1
  146. package/hooks/use-timeout/index.js +1 -1
  147. package/hooks/use-title/index.js +1 -1
  148. package/hooks/use-toggle/index.js +1 -1
  149. package/hooks/use-tracked-effect/index.js +1 -1
  150. package/hooks/use-unmount/index.js +1 -1
  151. package/hooks/use-unmounted-ref/index.js +1 -1
  152. package/hooks/use-update/index.js +1 -1
  153. package/hooks/use-update-effect/index.js +1 -1
  154. package/hooks/use-update-layout-effect/index.js +1 -1
  155. package/hooks/use-url-state/index.js +1 -1
  156. package/hooks/use-virtual-list/index.js +1 -1
  157. package/hooks/use-watch/index.js +1 -1
  158. package/hooks/use-web-socket/index.js +1 -1
  159. package/hooks/use-why-did-you-update/index.js +1 -1
  160. package/hooks/use-window-size/index.js +1 -1
  161. package/hooks/utils/createEffectWithTarget.js +1 -1
  162. package/hooks/utils/depsAreSame.js +1 -1
  163. package/hooks/utils/depsEqual.js +1 -1
  164. package/hooks/utils/domTarget.js +1 -1
  165. package/hooks/utils/getDocumentOrShadow.js +1 -1
  166. package/hooks/utils/index.js +1 -1
  167. package/hooks/utils/isAppleDevice.js +1 -1
  168. package/hooks/utils/isBrowser.js +1 -1
  169. package/hooks/utils/isDev.js +1 -1
  170. package/hooks/utils/rect.js +1 -1
  171. package/hooks/utils/useDeepCompareWithTarget.js +1 -1
  172. package/hooks/utils/useEffectWithTarget.js +1 -1
  173. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  174. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  175. package/icons/file/IconFile.js +1 -1
  176. package/icons/file/index.js +1 -1
  177. package/icons/file/interface.d.ts +1 -1
  178. package/index.d.ts +2 -0
  179. package/index.js +9 -7
  180. package/package.json +1 -1
  181. package/progress/Progress.js +1 -1
  182. package/progress/index.js +1 -1
  183. package/resize-observer/Collection.js +1 -1
  184. package/resize-observer/ResizeObserver.js +2 -1
  185. package/resize-observer/SingleObserver.d.ts +1 -1
  186. package/resize-observer/SingleObserver.js +1 -1
  187. package/resize-observer/index.js +1 -1
  188. package/resize-observer/observerUtil.js +1 -1
  189. package/space/Space.js +1 -1
  190. package/space/index.js +1 -1
  191. package/space/interface.d.ts +1 -1
  192. package/style/global.less +27 -2
  193. package/style/keyframes.less +18 -0
  194. package/style.css +1 -1
  195. package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
  196. package/suspense-fallback-test/index.js +1 -1
  197. package/test.js +1 -1
  198. package/timer/Timer.js +1 -1
  199. package/timer/index.js +1 -1
  200. package/timer/interface.d.ts +1 -1
  201. package/transition/Transition.js +1 -1
  202. package/transition/TransitionCSS.d.ts +1 -3
  203. package/transition/TransitionCSS.js +33 -33
  204. package/transition/TransitionGroup.d.ts +1 -1
  205. package/transition/TransitionGroup.js +1 -1
  206. package/transition/TransitionStyle.d.ts +2 -2
  207. package/transition/TransitionStyle.js +28 -28
  208. package/transition/constants.js +1 -1
  209. package/transition/context.d.ts +1 -1
  210. package/transition/context.js +1 -1
  211. package/transition/index.d.ts +3 -5
  212. package/transition/index.js +1 -1
  213. package/transition/interface.d.ts +11 -13
  214. package/transition/utils.js +1 -1
  215. package/typewriter/Typewriter.d.ts +3 -0
  216. package/typewriter/Typewriter.js +54 -0
  217. package/typewriter/index.d.ts +7 -0
  218. package/typewriter/index.js +8 -0
  219. package/typewriter/interface.d.ts +17 -0
  220. package/utils/callOrReturn.js +1 -1
  221. package/utils/callbackOriginRef.js +1 -1
  222. package/utils/caseName.js +1 -1
  223. package/utils/className.js +1 -1
  224. package/utils/constant.js +1 -1
  225. package/utils/copy.js +1 -1
  226. package/utils/css.js +1 -1
  227. package/utils/date.js +1 -1
  228. package/utils/dayjs.js +1 -1
  229. package/utils/dom.js +1 -1
  230. package/utils/emitter.js +1 -1
  231. package/utils/file.js +1 -1
  232. package/utils/fileRead.js +1 -1
  233. package/utils/fileToDataURL.js +1 -1
  234. package/utils/fillNBSP.d.ts +1 -1
  235. package/utils/fillNBSP.js +1 -1
  236. package/utils/findRootElement.d.ts +1 -1
  237. package/utils/findRootElement.js +1 -1
  238. package/utils/findScrollParent.js +1 -1
  239. package/utils/getHighlightText.js +1 -1
  240. package/utils/getHotkeyHandler.js +1 -1
  241. package/utils/getScrollBarHeight.js +1 -1
  242. package/utils/getScrollBarSize.js +1 -1
  243. package/utils/getScrollBarWidth.js +1 -1
  244. package/utils/getStringLength.js +1 -1
  245. package/utils/include.js +1 -1
  246. package/utils/index.js +1 -1
  247. package/utils/intersectionObserver.js +1 -1
  248. package/utils/is.js +4 -4
  249. package/utils/keyboardCode.js +1 -1
  250. package/utils/lodash.js +1 -1
  251. package/utils/math.js +1 -1
  252. package/utils/mergeProps.js +1 -1
  253. package/utils/mergedToString.js +1 -1
  254. package/utils/mutationObserver.js +1 -1
  255. package/utils/names.d.ts +12 -0
  256. package/utils/names.js +10 -4
  257. package/utils/object.js +1 -1
  258. package/utils/omit.js +1 -1
  259. package/utils/pad.js +1 -1
  260. package/utils/pick.js +1 -1
  261. package/utils/pinyin.js +1 -1
  262. package/utils/react19Adapter.js +1 -1
  263. package/utils/reactNode.js +1 -1
  264. package/utils/ref.d.ts +1 -1
  265. package/utils/ref.js +1 -1
  266. package/utils/resizeObserver.js +1 -1
  267. package/utils/saveAs.js +1 -1
  268. package/utils/screenfull.js +1 -1
  269. package/utils/scrollIntoViewIfNeeded.js +1 -1
  270. package/utils/setCreateRoot.d.ts +1 -1
  271. package/utils/setCreateRoot.js +1 -1
  272. package/utils/setDarkTheme.js +1 -1
  273. package/utils/setDir.js +1 -1
  274. package/utils/setPrimaryColor.js +1 -1
  275. package/utils/setTheme.js +1 -1
  276. package/utils/string.js +1 -1
  277. package/utils/style.js +1 -1
  278. package/utils/throttleByRequestAnimationFrame.js +1 -1
  279. package/utils/tinycolor.js +1 -1
  280. package/utils/toArray.js +1 -1
  281. package/utils/tree.js +1 -1
  282. package/utils/tunnel.d.ts +1 -1
  283. package/utils/tunnel.js +1 -1
  284. package/utils/tween.js +1 -1
  285. package/utils/uuid.js +1 -1
  286. package/utils/validate.d.ts +1 -1
  287. package/utils/validate.js +1 -1
  288. package/utils/warning.js +2 -1
  289. package/version/index.js +6 -6
@@ -1,39 +1,39 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
2
- import { isArray as e, isPlainObject as t, isString as n, isStringAndExist as r } from "../utils/is.js";
3
- import { castArray as i } from "../utils/lodash.js";
4
- import a from "../utils/className.js";
5
- import { TRANSITION_CSS_COMPONENT_INFO as o } from "../utils/names.js";
6
- import { TRANSITION_CSS_CLASS_NAMES_SUFFIX as s, TRANSITION_PHASE_APPEAR_KEY as c } from "./constants.js";
7
- import { TransitionCSS_Context as l } from "./context.js";
8
- import { addSuffix as u, isAppearPhaseHandler as d, transitionFallbackAppearToEnter as f } from "./utils.js";
9
- import { Transition as p } from "./Transition.js";
10
- import { cloneElement as m, isValidElement as h, memo as g } from "react";
11
- import { jsx as _ } from "react/jsx-runtime";
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
+ import { isArray as e, isFunction as t, isPlainObject as n, isString as r, isStringAndExist as i } from "../utils/is.js";
3
+ import { castArray as a } from "../utils/lodash.js";
4
+ import o from "../utils/className.js";
5
+ import { TRANSITION_CSS_COMPONENT_INFO as s } from "../utils/names.js";
6
+ import { TRANSITION_CSS_CLASS_NAMES_SUFFIX as c, TRANSITION_PHASE_APPEAR_KEY as l } from "./constants.js";
7
+ import { TransitionCSS_Context as u } from "./context.js";
8
+ import { addSuffix as d, isAppearPhaseHandler as f, transitionFallbackAppearToEnter as p } from "./utils.js";
9
+ import { Transition as m } from "./Transition.js";
10
+ import { cloneElement as h, isValidElement as g, memo as _ } from "react";
11
+ import { jsx as v } from "react/jsx-runtime";
12
12
  //#region components/common/transition/TransitionCSS.tsx
13
- function v(o) {
14
- let { children: p, classNames: g = "", phase: v, [c]: y } = o, b = g;
15
- if (!h(p)) return null;
16
- if (!b) return p;
17
- let x = "";
18
- if (n(b) && (b = i(b)), e(b)) {
19
- let t = s[v];
20
- r(t) ? x = a(u(b, t)) : e(t) && (x = a(t.map((e, t, n) => u(b, e))));
21
- } else if (t(b)) {
22
- let e = { ...b };
23
- y && d(v) && Object.assign(e, f(e)), x = e[v] ?? "";
13
+ function y(s) {
14
+ let { children: m, classNames: _ = "", phase: y, [l]: b } = s, x = _;
15
+ if (!g(m)) return null;
16
+ if (!x) return m;
17
+ let S = "";
18
+ if (r(x) && (x = a(x)), e(x)) {
19
+ let t = c[y];
20
+ i(t) ? S = o(d(x, t)) : e(t) && (S = o(t.map((e, t, n) => d(x, e))));
21
+ } else if (n(x)) {
22
+ let e = { ...x };
23
+ b && f(y) && Object.assign(e, p(e)), S = e[y] ?? "";
24
24
  }
25
- if (!r(x)) return p;
26
- let { className: S } = p.props, C = a(S, x);
27
- return /* @__PURE__ */ _(l.Provider, {
28
- value: { className: x },
29
- children: m(p, { className: C })
30
- });
25
+ if (!i(S)) return m;
26
+ let { className: C } = m.props, w = o(C, S), T = m;
27
+ return t(T) && (T = T(s, y)), T = /* @__PURE__ */ v(u.Provider, {
28
+ value: { className: S },
29
+ children: h(T, { className: w })
30
+ }), T;
31
31
  }
32
- function y(e) {
32
+ function b(e) {
33
33
  let { children: t, classNames: n = "", ...r } = e;
34
- return /* @__PURE__ */ _(p, {
34
+ return /* @__PURE__ */ v(m, {
35
35
  ...r,
36
- children: (e, r, i) => /* @__PURE__ */ _(v, {
36
+ children: (e, r, i) => /* @__PURE__ */ v(y, {
37
37
  ...e,
38
38
  classNames: n,
39
39
  phase: i,
@@ -41,7 +41,7 @@ function y(e) {
41
41
  })
42
42
  });
43
43
  }
44
- var b = Object.assign(g(y), { ...o });
44
+ var x = Object.assign(_(b), { ...s });
45
45
  //#endregion
46
- export { b as TransitionCSS, b as default };
46
+ export { x as TransitionCSS, x as default };
47
47
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- import { ReactElement } from 'react';
1
+ import { type ReactElement } from 'react';
2
2
  import type { TransitionGroupProps } from './interface';
3
3
  /**
4
4
  * TransitionGroup 组件用于管理一组 Transition 子元素
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { isNumber as e } from "../utils/is.js";
3
3
  import { getReactElementRef as t } from "../utils/ref.js";
4
4
  import { defaults as n } from "../utils/lodash.js";
@@ -6,8 +6,8 @@ import type { TransitionStyleProps } from './interface';
6
6
  */
7
7
  declare function Component(props: TransitionStyleProps): import("react").JSX.Element;
8
8
  declare const TransitionStyle: import("react").NamedExoticComponent<Omit<import("./interface").TransitionProps, "children"> & {
9
- children: React.ReactElement<{
10
- style?: React.CSSProperties;
9
+ children: import("react").ReactElement<{
10
+ style?: import("react").CSSProperties;
11
11
  }>;
12
12
  styles: import("./interface").TransitionStyleStyles;
13
13
  }> & {
@@ -1,33 +1,33 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
2
- import { isEmpty as e } from "../utils/is.js";
3
- import { TRANSITION_STYLE_COMPONENT_INFO as t } from "../utils/names.js";
4
- import { TRANSITION_PHASE_APPEAR_KEY as n } from "./constants.js";
5
- import { TransitionStyleContext as r } from "./context.js";
6
- import { isAppearPhaseHandler as i, transitionFallbackAppearToEnter as a } from "./utils.js";
7
- import { Transition as o } from "./Transition.js";
8
- import { cloneElement as s, isValidElement as c, memo as l } from "react";
9
- import { jsx as u } from "react/jsx-runtime";
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
+ import { isEmpty as e, isFunction as t } from "../utils/is.js";
3
+ import { TRANSITION_STYLE_COMPONENT_INFO as n } from "../utils/names.js";
4
+ import { TRANSITION_PHASE_APPEAR_KEY as r } from "./constants.js";
5
+ import { TransitionStyleContext as i } from "./context.js";
6
+ import { isAppearPhaseHandler as a, transitionFallbackAppearToEnter as o } from "./utils.js";
7
+ import { Transition as s } from "./Transition.js";
8
+ import { cloneElement as c, isValidElement as l, memo as u } from "react";
9
+ import { jsx as d } from "react/jsx-runtime";
10
10
  //#region components/common/transition/TransitionStyle.tsx
11
- function d(t) {
12
- let { children: o, styles: l = {}, phase: d, [n]: f } = t, p = { ...l };
13
- if (!c(o)) return null;
14
- f && i(d) && Object.assign(p, a(p));
15
- let m = p[d];
16
- if (e(m)) return o;
17
- let { style: h } = o.props, g = {
18
- ...h,
19
- ...m
20
- }, _ = o;
21
- return _ = /* @__PURE__ */ u(r.Provider, {
22
- value: { style: m },
23
- children: s(o, { style: g })
24
- }), _;
11
+ function f(n) {
12
+ let { children: s, styles: u = {}, phase: f, [r]: p } = n, m = { ...u };
13
+ if (!l(s)) return null;
14
+ p && a(f) && Object.assign(m, o(m));
15
+ let h = m[f];
16
+ if (e(h)) return s;
17
+ let { style: g } = s.props, _ = {
18
+ ...g,
19
+ ...h
20
+ }, v = s;
21
+ return t(v) && (v = v(n, f)), v = /* @__PURE__ */ d(i.Provider, {
22
+ value: { style: h },
23
+ children: c(v, { style: _ })
24
+ }), v;
25
25
  }
26
- function f(e) {
26
+ function p(e) {
27
27
  let { children: t, styles: n = {}, ...r } = e;
28
- return /* @__PURE__ */ u(o, {
28
+ return /* @__PURE__ */ d(s, {
29
29
  ...r,
30
- children: (e, r, i) => /* @__PURE__ */ u(d, {
30
+ children: (e, r, i) => /* @__PURE__ */ d(f, {
31
31
  ...e,
32
32
  styles: n,
33
33
  phase: i,
@@ -35,7 +35,7 @@ function f(e) {
35
35
  })
36
36
  });
37
37
  }
38
- var p = Object.assign(l(f), { ...t });
38
+ var m = Object.assign(u(p), { ...n });
39
39
  //#endregion
40
- export { p as TransitionStyle, p as default };
40
+ export { m as TransitionStyle, m as default };
41
41
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  //#region components/common/transition/constants.ts
3
3
  var e = "mountOnEnter", t = "unmountOnExit", n = "alwaysMounted", r = "addEndListener", i = "duration", a = 500, o = "appear", s = "enter", c = "exit", l = /* @__PURE__ */ function(e) {
4
4
  return e.APPEAR_START = `${o}Start`, e.APPEAR_ACTIVE = `${o}Active`, e.APPEAR_DONE = `${o}Done`, e.ENTER_START = `${s}Start`, e.ENTER_ACTIVE = `${s}Active`, e.ENTER_DONE = `${s}Done`, e.EXIT_START = `${c}Start`, e.EXIT_ACTIVE = `${c}Active`, e.EXIT_DONE = `${c}Done`, e;
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from 'react';
1
+ import { type CSSProperties } from 'react';
2
2
  import { TransitionPhase } from './constants.ts';
3
3
  import type { TransitionProps } from './interface.ts';
4
4
  declare const TransitionContext: import("react").Context<{
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import "./constants.js";
3
3
  import { createContext as e } from "react";
4
4
  //#region components/common/transition/context.ts
@@ -21,9 +21,7 @@ declare const Transition: import("react").ForwardRefExoticComponent<TransitionPr
21
21
  id: string;
22
22
  } & {
23
23
  CSS: import("react").NamedExoticComponent<Omit<TransitionProps, "children"> & {
24
- children: React.ReactElement<{
25
- className?: string;
26
- }>;
24
+ children: import("react").ReactElement<import("react").HTMLAttributes<HTMLElement>>;
27
25
  classNames: TransitionCSS_ClassNames;
28
26
  }> & {
29
27
  readonly type: (props: TransitionCSS_Props) => import("react").JSX.Element;
@@ -42,8 +40,8 @@ declare const Transition: import("react").ForwardRefExoticComponent<TransitionPr
42
40
  id: string;
43
41
  };
44
42
  Style: import("react").NamedExoticComponent<Omit<TransitionProps, "children"> & {
45
- children: React.ReactElement<{
46
- style?: React.CSSProperties;
43
+ children: import("react").ReactElement<{
44
+ style?: import("react").CSSProperties;
47
45
  }>;
48
46
  styles: TransitionStyleStyles;
49
47
  }> & {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { TRANSITION_COMPONENT_INFO as e } from "../utils/names.js";
3
3
  import { TRANSITION_ADD_END_LISTENER_KEY as t, TRANSITION_ALWAYS_MOUNTED_KEY as n, TRANSITION_CSS_CLASS_NAMES_SUFFIX as r, TRANSITION_DEFAULT_PROPS as ee, TRANSITION_DURATION_DEFAULT as i, TRANSITION_DURATION_KEY as a, TRANSITION_EVENT_MAP as o, TRANSITION_EVENT_NAME_KEY as s, TRANSITION_MOUNT_ON_ENTER_KEY as c, TRANSITION_NEXT_PHASE_KEY as l, TRANSITION_PHASE_APPEAR_ACTIVE as u, TRANSITION_PHASE_APPEAR_DONE as d, TRANSITION_PHASE_APPEAR_KEY as f, TRANSITION_PHASE_APPEAR_START as p, TRANSITION_PHASE_ENTER_ACTIVE as m, TRANSITION_PHASE_ENTER_DONE as h, TRANSITION_PHASE_ENTER_KEY as te, TRANSITION_PHASE_ENTER_START as ne, TRANSITION_PHASE_EVENT_ON_ENTER_ACTIVE as re, TRANSITION_PHASE_EVENT_ON_ENTER_DONE as ie, TRANSITION_PHASE_EVENT_ON_ENTER_START as g, TRANSITION_PHASE_EVENT_ON_EXIT_ACTIVE as _, TRANSITION_PHASE_EVENT_ON_EXIT_DONE as v, TRANSITION_PHASE_EVENT_ON_EXIT_START as y, TRANSITION_PHASE_EXIT_ACTIVE as b, TRANSITION_PHASE_EXIT_DONE as x, TRANSITION_PHASE_EXIT_KEY as S, TRANSITION_PHASE_EXIT_START as C, TRANSITION_UNMOUNT_ON_EXIT_KEY as w, TransitionPhase as T, TransitionPhaseEvent as E } from "./constants.js";
4
4
  import { TransitionCSS_Context as D, TransitionContext as O, TransitionGroupContext as k, TransitionStyleContext as A } from "./context.js";
@@ -1,6 +1,6 @@
1
- import { RefObject } from 'react';
1
+ import type { CSSProperties, HTMLAttributes, ReactElement, ReactNode, RefObject } from 'react';
2
2
  import type { ElementLike } from '../utils/findRootElement';
3
- import { TransitionPhase } from './constants';
3
+ import type { TransitionPhase } from './constants';
4
4
  /**
5
5
  * 类型表示每个过渡阶段的状态。
6
6
  * 每个阶段都与一个布尔值相关联,指示该阶段是否处于活动状态。
@@ -68,7 +68,7 @@ export type TransitionProps = {
68
68
  * @param activePhase - 当前正在进行的阶段(例如,"appearActive"、"enterDone")。
69
69
  * @returns 要渲染的 React 节点。
70
70
  */
71
- children: React.ReactNode | ((transitionProps: TransitionProps, transitionState: TransitionState, activePhase: TransitionPhase) => React.ReactNode);
71
+ children: ReactNode | ((transitionProps: TransitionProps, transitionState: TransitionState, activePhase: TransitionPhase) => ReactNode);
72
72
  /**
73
73
  * 要被执行动画的元素。
74
74
  * @deprecated
@@ -124,9 +124,7 @@ export type TransitionCSS_Props = Omit<TransitionProps, 'children'> & {
124
124
  * 这应该是一个支持 `className` 属性的单个 React 元素。
125
125
  * `className` 属性将根据当前过渡阶段与 `classNames` 属性中的类名组合。
126
126
  */
127
- children: React.ReactElement<{
128
- className?: string;
129
- }>;
127
+ children: ReactElement<HTMLAttributes<HTMLElement>>;
130
128
  /**
131
129
  * 定义每个过渡阶段要应用的 CSS 类名。
132
130
  */
@@ -137,22 +135,22 @@ export type TransitionCSS_ChildProps = TransitionCSS_Props & {
137
135
  };
138
136
  /**
139
137
  * 类型表示不同过渡阶段的样式。
140
- * `TransitionPhase` 是表示不同阶段的键,值是 `React.CSSProperties` 对象。
138
+ * `TransitionPhase` 是表示不同阶段的键,值是 `CSSProperties` 对象。
141
139
  */
142
- export type TransitionStyleStyles = Partial<Record<TransitionPhase, React.CSSProperties>>;
140
+ export type TransitionStyleStyles = Partial<Record<TransitionPhase, CSSProperties>>;
143
141
  export type TransitionStyleProps = Omit<TransitionProps, 'children'> & {
144
142
  /**
145
143
  * 要应用动画的子元素。
146
144
  * 这应该是一个支持 `style` 属性的单个 React 元素。
147
145
  * `style` 属性将与当前过渡阶段的 `styles` 属性中指定的样式组合。
148
146
  */
149
- children: React.ReactElement<{
150
- style?: React.CSSProperties;
147
+ children: ReactElement<{
148
+ style?: CSSProperties;
151
149
  }>;
152
150
  /**
153
151
  * 包含不同动画阶段样式的对象。
154
152
  * `TransitionPhase` 表示动画阶段,可应用特定样式。
155
- * 每个阶段样式由 `React.CSSProperties` 对象表示。
153
+ * 每个阶段样式由 `CSSProperties` 对象表示。
156
154
  */
157
155
  styles: TransitionStyleStyles;
158
156
  };
@@ -160,7 +158,7 @@ export type TransitionStyleChildProps = TransitionStyleProps & {
160
158
  phase: TransitionPhase;
161
159
  };
162
160
  export type TransitionGroupProps = {
163
- children: React.ReactNode;
161
+ children: ReactNode;
164
162
  /**
165
163
  * 一个布尔值,指示子元素在组件首次挂载时是否应过渡通过 "appear" 阶段。
166
164
  *
@@ -193,6 +191,6 @@ export type TransitionGroupProps = {
193
191
  alwaysMounted?: TransitionProps['alwaysMounted'];
194
192
  };
195
193
  export type TransitionGroupVisibleElementProps = {
196
- element: React.ReactElement<unknown>;
194
+ element: ReactElement<unknown>;
197
195
  removeTimeout?: number;
198
196
  };
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { isNullOrUndefined as e, isNumber as t, isPlainObject as n } from "../utils/is.js";
3
3
  import { TRANSITION_PHASE_APPEAR_ACTIVE as r, TRANSITION_PHASE_APPEAR_DONE as i, TRANSITION_PHASE_APPEAR_KEY as a, TRANSITION_PHASE_APPEAR_START as o, TRANSITION_PHASE_ENTER_ACTIVE as s, TRANSITION_PHASE_ENTER_DONE as c, TRANSITION_PHASE_ENTER_KEY as l, TRANSITION_PHASE_ENTER_START as u, TRANSITION_PHASE_EXIT_ACTIVE as d, TRANSITION_PHASE_EXIT_DONE as f, TRANSITION_PHASE_EXIT_KEY as p, TRANSITION_PHASE_EXIT_START as m } from "./constants.js";
4
4
  //#region components/common/transition/utils.ts
@@ -0,0 +1,3 @@
1
+ import type { TypewriterProps } from './interface';
2
+ declare const Typewriter: import("react").ForwardRefExoticComponent<TypewriterProps & import("react").RefAttributes<unknown>>;
3
+ export default Typewriter;
@@ -0,0 +1,54 @@
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
+ import { isFunction as e } from "../utils/is.js";
3
+ import t from "../hooks/use-force-update/index.js";
4
+ import n from "../hooks/use-merge-props/index.js";
5
+ import r from "../utils/className.js";
6
+ import { TYPEWRITER_COMPONENT_INFO as i } from "../utils/names.js";
7
+ import { forwardRef as a, useEffect as o, useImperativeHandle as s, useRef as c } from "react";
8
+ import { UI_COMMON_PREFIX as l } from "@unicom-cloud/utils/constant/ui";
9
+ import { jsx as u } from "react/jsx-runtime";
10
+ //#region components/common/typewriter/Typewriter.tsx
11
+ var { requestAnimationFrame: d, cancelAnimationFrame: f, setTimeout: p, clearTimeout: m, setInterval: h, clearInterval: g } = window, _ = {
12
+ timeout: 227,
13
+ appendTextLength: 1
14
+ };
15
+ function v(i, a) {
16
+ let { style: d, className: f, children: p = "", text: m = p, timeout: v = _.timeout, appendTextLength: y = _.appendTextLength, onEnd: b } = n(i, _, {}), x = t(), S = c({
17
+ text: "",
18
+ className: "",
19
+ setIntervalId: -1
20
+ }), C = `${l}-typewriter`;
21
+ function w(e = "") {
22
+ return S.current.text === e || S.current.text.length >= e.length;
23
+ }
24
+ o(() => (S.current.text = S.current.className = "", S.current.setIntervalId = h(() => {
25
+ if (w(m)) {
26
+ let t = S.current.setIntervalId;
27
+ if (g(t), t !== -1 && e(b)) {
28
+ let { className: e } = b(m) ?? {};
29
+ S.current.className = e;
30
+ }
31
+ S.current.setIntervalId = -1;
32
+ } else {
33
+ let t = y;
34
+ e(t) && (t = t(m) ?? _.appendTextLength), S.current.text = m.substring(0, S.current.text.length + t);
35
+ }
36
+ x();
37
+ }, v), () => {
38
+ g(S.current.setIntervalId);
39
+ }), [m, v]);
40
+ let T = c(null);
41
+ return s(a, () => ({ getRootElement() {
42
+ return T.current;
43
+ } })), /* @__PURE__ */ u("span", {
44
+ ref: T,
45
+ style: d,
46
+ className: r(C, !w(m) && `${C}-blink`, f, S.current.className),
47
+ children: S.current.text
48
+ });
49
+ }
50
+ var y = a(v);
51
+ y.displayName = i.displayName;
52
+ //#endregion
53
+ export { y as default };
54
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,7 @@
1
+ declare const Typewriter: import("react").ForwardRefExoticComponent<import("./interface").TypewriterProps & import("react").RefAttributes<unknown>> & {
2
+ zh: string;
3
+ en: string;
4
+ displayName: string;
5
+ id: string;
6
+ };
7
+ export default Typewriter;
@@ -0,0 +1,8 @@
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
+ import { TYPEWRITER_COMPONENT_INFO as e } from "../utils/names.js";
3
+ import t from "./Typewriter.js";
4
+ //#region components/common/typewriter/index.tsx
5
+ var n = Object.assign(t, { ...e });
6
+ //#endregion
7
+ export { n as default };
8
+ /* 独立思考,明辨是非 */
@@ -0,0 +1,17 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ /**
3
+ * @title Typewriter 打字机效果
4
+ * @description 模拟打字机效果。
5
+ */
6
+ export type OnEndReturnType = {
7
+ className: string;
8
+ };
9
+ export type AppendTextLengthType = (text: string) => number;
10
+ export interface TypewriterProps extends PropsWithChildren {
11
+ style?: React.CSSProperties;
12
+ className?: string;
13
+ text?: string;
14
+ timeout?: number;
15
+ appendTextLength?: number | AppendTextLengthType;
16
+ onEnd?: (text: string) => void | OnEndReturnType;
17
+ }
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { callOrReturn as e, callOrReturn as t } from "@unicom-cloud/utils/function";
3
3
  export { e as callOrReturn, t as default };
4
4
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { fillRef as e, getReactElementRef as t } from "./ref.js";
3
3
  //#region components/common/utils/callbackOriginRef.ts
4
4
  function n(n, r) {
package/utils/caseName.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e, { default as t } from "@unicom-cloud/utils/case-name";
3
3
  export { e as caseName, t as default };
4
4
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e, { default as t, default as n } from "@unicom-cloud/utils/class-name";
3
3
  export { e as className, n as cs, t as default };
4
4
  /* 独立思考,明辨是非 */
package/utils/constant.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { UI_COMMON_PREFIX as e, UI_PC_KEY as t, UI_PC_THEME_DARK_CLASS_NAME as n } from "@unicom-cloud/utils/constant/ui";
3
3
  import r from "lodash/noop";
4
4
  //#region components/common/utils/constant.ts
package/utils/copy.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e from "@unicom-cloud/utils/clipboard-copy";
3
3
  //#region components/common/utils/copy.ts
4
4
  var t = e;
package/utils/css.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import "../.virtual/_rolldown/runtime.js";
3
3
  export * from "@unicom-cloud/utils/css";
4
4
  /* 独立思考,明辨是非 */
package/utils/date.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { convertTime as e, convertToDurationBasedOnTimeUnits as t, dateFormat as n, dayjsFormat as r } from "@unicom-cloud/utils/date";
3
3
  export { e as convertTime, t as convertToDurationBasedOnTimeUnits, n as dateFormat, r as dayjsFormat };
4
4
  /* 独立思考,明辨是非 */
package/utils/dayjs.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e from "dayjs";
3
3
  import "dayjs/locale/zh-cn.js";
4
4
  import t from "dayjs/plugin/advancedFormat.js";
package/utils/dom.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { isEventTarget as e, isFunction as t, isScrollElement as n, isServerRendering as r, isString as i } from "./is.js";
3
3
  import a from "./findRootElement.js";
4
4
  import o from "@unicom-cloud/utils/dom-helpers/canUseDOM";
package/utils/emitter.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e, { default as t } from "@unicom-cloud/utils/emitter";
3
3
  export { e as Emitter, t as default };
4
4
  /* 独立思考,明辨是非 */
package/utils/file.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import "../.virtual/_rolldown/runtime.js";
3
3
  export * from "@unicom-cloud/utils/file";
4
4
  /* 独立思考,明辨是非 */
package/utils/fileRead.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e, { fileRead as t } from "@unicom-cloud/utils/file/fileRead";
3
3
  export { e as default, t as fileRead };
4
4
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e, { fileToDataURL as t } from "@unicom-cloud/utils/file/fileToDataURL";
3
3
  export { e as default, t as fileToDataURL };
4
4
  /* 独立思考,明辨是非 */
@@ -1,3 +1,3 @@
1
- declare function fillNBSP(str: string): string;
1
+ declare function fillNBSP(params?: string): string | undefined;
2
2
  export { fillNBSP };
3
3
  export default fillNBSP;
package/utils/fillNBSP.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { isString as e } from "./is.js";
3
3
  //#region components/common/utils/fillNBSP.ts
4
4
  function t(t) {
@@ -1,4 +1,4 @@
1
- import { RefObject } from 'react';
1
+ import { type RefObject } from 'react';
2
2
  type Ref = RefObject<Element | null> | ((instance: Element | null) => void);
3
3
  export type ChildrenProps = {
4
4
  ref?: Ref;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { isDOM as e, isElementByInstanceof as t, isFunction as n } from "./is.js";
3
3
  import { getReactElementRef as r } from "./ref.js";
4
4
  import { Component as i } from "react";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  //#region components/common/utils/findScrollParent.ts
3
3
  function e(e, t = !1) {
4
4
  if (!e) return document.documentElement;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { isArray as e, isString as t } from "./is.js";
3
3
  import { cloneElement as n, createElement as r } from "react";
4
4
  import i from "lodash/escapeRegExp";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { isNumber as e, isString as t } from "./is.js";
3
3
  //#region components/common/utils/getHotkeyHandler.ts
4
4
  var n = (e) => JSON.stringify({
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e from "./getScrollBarSize.js";
3
3
  //#region components/common/utils/getScrollBarHeight.ts
4
4
  var t = (t) => e(t, "height");
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { isNaN as e } from "./is.js";
3
3
  //#region components/common/utils/getScrollBarSize.ts
4
4
  var t = (t, n = "width") => {
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import e from "./getScrollBarSize.js";
3
3
  //#region components/common/utils/getScrollBarWidth.ts
4
4
  var t = (t) => e(t);
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  //#region components/common/utils/getStringLength.ts
3
3
  function e(e) {
4
4
  let t = 0;
package/utils/include.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  //#region components/common/utils/include.ts
3
3
  function e(e, t) {
4
4
  let n = {};
package/utils/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-06-02 15:43:18 星期二 山东省济南市 */
1
+ /* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
2
2
  import { __exportAll as ee, __reExport as te } from "../.virtual/_rolldown/runtime.js";
3
3
  import { is32Bit as ne, isAllChinese as re, isArguments as e, isArray as t, isArrayAndNotEmpty as n, isArrayBuffer as r, isArrayEmpty as i, isArrayLike as a, isArrayLikeObject as o, isAscii as s, isAsyncFunction as c, isBase64 as l, isBigInt as u, isBlob as d, isBoolean as f, isBuffer as p, isChinese as m, isColorValue as h, isColorValue_ as g, isDOM as _, isDataURI as v, isDate as y, isDayjs as b, isElement as x, isElementByInstanceof as S, isEmail as C, isEmpty as w, isEmptyArray as T, isEmptyObject as E, isEmptyReactNode as D, isEmptyString as O, isEmptyValue as k, isEqual as A, isEqualWith as j, isError as M, isEventTarget as N, isExist as P, isFalse as F, isFile as I, isFinite as L, isFullWidth as R, isFunction as z, isHSL as B, isHTMLElement as V, isHalfWidth as H, isHash as U, isHexColor as W, isIMEI as G, isIP as K, isIPRange as q, isIdentityCard as J, isInteger as Y, isJSON as X, isJSON_String as ie, isJWT as ae, isLength as oe, isMACAddress as se, isMD5 as ce, isMap as le, isMatch as ue, isMatchWith as de, isMimeType as fe, isMobilePhone as pe, isMobilePhoneLocales as me, isNaN as he, isNative as ge, isNil as _e, isNonNullable as ve, isNotFound as ye, isNull as be, isNullOrUndefined as xe, isNumber as Se, isNumberOrString as Ce, isObject as we, isObjectLike as Te, isPlainObject as Ee, isPort as De, isPresent as Oe, isPrimitive as ke, isPromise as Ae, isReact18 as je, isReact19 as Me, isReactClassComponent as Ne, isReactComponent as Pe, isReactComponentAndNotFragment as Fe, isReadableStream as Ie, isRegExp as Le, isRgbColor as Re, isSVGElement as ze, isSafeInteger as Be, isScrollElement as Ve, isSemVer as He, isServerRendering as Ue, isSet as We, isSlug as Ge, isSparseArray as Ke, isString as qe, isStringAndExist as Je, isStringOrNumber as Ye, isStrongPassword as Xe, isSymbol as Ze, isThenable as Qe, isTrue as $e, isTypedArray as et, isURL as tt, isUUID as nt, isUndefined as rt, isUndefinedOrNull as it, isVariableWidth as at, isWeakMap as ot, isWeakSet as st, isWindow as ct, isZero as lt } from "./is.js";
4
4
  import { object_exports as ut } from "./object.js";