@unicom-cloud/ui-common 0.1.24 → 0.1.26

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 (303) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/.vite/manifest.json +23 -19
  3. package/border-beam/BorderBeam.js +1 -1
  4. package/border-beam/Effect.d.ts +1 -1
  5. package/border-beam/Effect.js +19 -17
  6. package/border-beam/constants.js +3 -3
  7. package/border-beam/hooks/useBorderSize.js +1 -1
  8. package/border-beam/hooks/useChildDom.js +3 -3
  9. package/border-beam/index.d.ts +3 -0
  10. package/border-beam/index.js +2 -2
  11. package/border-beam/utils.js +1 -1
  12. package/development/Development.js +1 -1
  13. package/development/index.d.ts +3 -0
  14. package/development/index.js +2 -2
  15. package/empty/Empty.js +1 -1
  16. package/empty/index.d.ts +3 -0
  17. package/empty/index.js +2 -2
  18. package/flex/Flex.js +1 -1
  19. package/flex/index.d.ts +4 -1
  20. package/flex/index.js +2 -2
  21. package/flex/utils.js +1 -1
  22. package/higher-order/index.js +1 -1
  23. package/higher-order/with-speech-synthesis/index.d.ts +3 -0
  24. package/higher-order/with-speech-synthesis/index.js +2 -2
  25. package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +1 -1
  26. package/hooks/create-deep-compare-effect/index.js +1 -1
  27. package/hooks/create-update-effect/index.js +1 -1
  28. package/hooks/create-use-storage-state/index.d.ts +1 -1
  29. package/hooks/create-use-storage-state/index.js +1 -1
  30. package/hooks/index.js +1 -1
  31. package/hooks/use-async-effect/index.js +1 -1
  32. package/hooks/use-boolean/index.js +1 -1
  33. package/hooks/use-click-away/index.js +1 -1
  34. package/hooks/use-computed-state/index.js +1 -1
  35. package/hooks/use-controllable-value/index.js +1 -1
  36. package/hooks/use-cookie-state/index.d.ts +1 -1
  37. package/hooks/use-cookie-state/index.js +1 -1
  38. package/hooks/use-count-down/index.js +1 -1
  39. package/hooks/use-counter/index.d.ts +4 -4
  40. package/hooks/use-counter/index.js +1 -1
  41. package/hooks/use-create/index.js +1 -1
  42. package/hooks/use-creation/index.js +1 -1
  43. package/hooks/use-debounce/index.js +1 -1
  44. package/hooks/use-debounce-effect/index.js +1 -1
  45. package/hooks/use-debounce-fn/index.js +1 -1
  46. package/hooks/use-deep-compare-effect/index.js +1 -1
  47. package/hooks/use-deep-compare-layout-effect/index.js +1 -1
  48. package/hooks/use-document-visibility/index.js +1 -1
  49. package/hooks/use-drag/index.js +1 -1
  50. package/hooks/use-drop/index.js +1 -1
  51. package/hooks/use-effect-event/index.js +1 -1
  52. package/hooks/use-event/index.js +1 -1
  53. package/hooks/use-event-emitter/index.js +1 -1
  54. package/hooks/use-event-listener/index.js +1 -1
  55. package/hooks/use-event-target/index.js +1 -1
  56. package/hooks/use-external/index.js +1 -1
  57. package/hooks/use-favicon/index.js +1 -1
  58. package/hooks/use-focus-within/index.js +1 -1
  59. package/hooks/use-force-update/index.js +1 -1
  60. package/hooks/use-fullscreen/index.d.ts +3 -3
  61. package/hooks/use-fullscreen/index.js +1 -1
  62. package/hooks/use-get-state/index.js +1 -1
  63. package/hooks/use-history-travel/index.d.ts +5 -5
  64. package/hooks/use-history-travel/index.js +1 -1
  65. package/hooks/use-hover/index.js +1 -1
  66. package/hooks/use-id/index.js +1 -1
  67. package/hooks/use-in-viewport/index.d.ts +1 -0
  68. package/hooks/use-in-viewport/index.js +7 -6
  69. package/hooks/use-infinite-scroll/index.d.ts +4 -4
  70. package/hooks/use-infinite-scroll/index.js +1 -1
  71. package/hooks/use-intersection-observer/index.js +1 -1
  72. package/hooks/use-intersection-observers/index.js +1 -1
  73. package/hooks/use-interval/index.js +1 -1
  74. package/hooks/use-is-first-render/index.js +1 -1
  75. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  76. package/hooks/use-key-press/index.js +1 -1
  77. package/hooks/use-keyboard-event/index.js +1 -1
  78. package/hooks/use-latest/index.js +1 -1
  79. package/hooks/use-listen-window-resize/index.js +1 -1
  80. package/hooks/use-local-storage-state/index.d.ts +1 -1
  81. package/hooks/use-local-storage-state/index.js +1 -1
  82. package/hooks/use-lock-fn/index.js +1 -1
  83. package/hooks/use-long-press/index.js +1 -1
  84. package/hooks/use-map/index.d.ts +5 -5
  85. package/hooks/use-map/index.js +1 -1
  86. package/hooks/use-media/index.js +1 -1
  87. package/hooks/use-memo/index.js +1 -1
  88. package/hooks/use-memoized-fn/index.d.ts +6 -3
  89. package/hooks/use-memoized-fn/index.js +2 -2
  90. package/hooks/use-merge-props/index.js +1 -1
  91. package/hooks/use-merge-value/index.js +1 -1
  92. package/hooks/use-mobile/index.js +1 -1
  93. package/hooks/use-mount/index.js +1 -1
  94. package/hooks/use-mouse/index.js +1 -1
  95. package/hooks/use-move/index.js +1 -1
  96. package/hooks/use-mutation-observer/index.js +1 -1
  97. package/hooks/use-mutation-observers/index.js +1 -1
  98. package/hooks/use-network/index.js +1 -1
  99. package/hooks/use-online-status/index.js +1 -1
  100. package/hooks/use-overflow-hidden/index.js +1 -1
  101. package/hooks/use-override-ref/index.js +1 -1
  102. package/hooks/use-pagination/index.js +1 -1
  103. package/hooks/use-paste-image/index.js +1 -1
  104. package/hooks/use-persist-callback/index.js +1 -1
  105. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  106. package/hooks/use-previous/index.js +1 -1
  107. package/hooks/use-raf-interval/index.js +1 -1
  108. package/hooks/use-raf-state/index.js +1 -1
  109. package/hooks/use-raf-timeout/index.js +1 -1
  110. package/hooks/use-reactive/index.js +1 -1
  111. package/hooks/use-ref-latest/index.js +1 -1
  112. package/hooks/use-refs/index.js +1 -1
  113. package/hooks/use-request/index.js +1 -1
  114. package/hooks/use-request/src/Fetch.js +1 -1
  115. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  116. package/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
  117. package/hooks/use-request/src/plugins/useDebouncePlugin.js +1 -1
  118. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
  119. package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
  120. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
  121. package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
  122. package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
  123. package/hooks/use-request/src/useRequest.js +1 -1
  124. package/hooks/use-request/src/useRequestImplement.js +1 -1
  125. package/hooks/use-request/src/utils/cache.js +1 -1
  126. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  127. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  128. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  129. package/hooks/use-request/src/utils/isOnline.js +1 -1
  130. package/hooks/use-request/src/utils/limit.js +1 -1
  131. package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
  132. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  133. package/hooks/use-reset-state/index.js +1 -1
  134. package/hooks/use-resize-observer/index.js +1 -1
  135. package/hooks/use-resize-observers/index.js +1 -1
  136. package/hooks/use-responsive/index.js +1 -1
  137. package/hooks/use-safe-state/index.js +1 -1
  138. package/hooks/use-scroll/index.js +1 -1
  139. package/hooks/use-selections/index.d.ts +7 -7
  140. package/hooks/use-selections/index.js +1 -1
  141. package/hooks/use-session-storage-state/index.d.ts +1 -1
  142. package/hooks/use-session-storage-state/index.js +1 -1
  143. package/hooks/use-set/index.d.ts +3 -3
  144. package/hooks/use-set/index.js +1 -1
  145. package/hooks/use-set-state/index.d.ts +2 -2
  146. package/hooks/use-set-state/index.js +1 -1
  147. package/hooks/use-size/index.js +1 -1
  148. package/hooks/use-state-callback/index.js +1 -1
  149. package/hooks/use-state-with-promise/index.js +1 -1
  150. package/hooks/use-sync-state/index.js +1 -1
  151. package/hooks/use-text-selection/index.js +1 -1
  152. package/hooks/use-theme/index.d.ts +1 -1
  153. package/hooks/use-theme/index.js +1 -1
  154. package/hooks/use-throttle/index.js +1 -1
  155. package/hooks/use-throttle-effect/index.js +1 -1
  156. package/hooks/use-throttle-fn/index.js +1 -1
  157. package/hooks/use-timeout/index.js +1 -1
  158. package/hooks/use-title/index.js +1 -1
  159. package/hooks/use-toggle/index.js +1 -1
  160. package/hooks/use-tracked-effect/index.js +1 -1
  161. package/hooks/use-unmount/index.js +1 -1
  162. package/hooks/use-unmounted-ref/index.js +1 -1
  163. package/hooks/use-update/index.js +1 -1
  164. package/hooks/use-update-effect/index.js +1 -1
  165. package/hooks/use-update-layout-effect/index.js +1 -1
  166. package/hooks/use-url-state/index.d.ts +2 -1
  167. package/hooks/use-url-state/index.js +1 -1
  168. package/hooks/use-virtual-list/index.d.ts +1 -1
  169. package/hooks/use-virtual-list/index.js +1 -1
  170. package/hooks/use-watch/index.js +1 -1
  171. package/hooks/use-web-socket/index.js +1 -1
  172. package/hooks/use-why-did-you-update/index.js +1 -1
  173. package/hooks/use-window-size/index.js +1 -1
  174. package/hooks/utils/createEffectWithTarget.js +1 -1
  175. package/hooks/utils/depsAreSame.js +1 -1
  176. package/hooks/utils/depsEqual.js +1 -1
  177. package/hooks/utils/domTarget.js +1 -1
  178. package/hooks/utils/getDocumentOrShadow.js +1 -1
  179. package/hooks/utils/index.js +1 -1
  180. package/hooks/utils/isAppleDevice.js +1 -1
  181. package/hooks/utils/isBrowser.js +1 -1
  182. package/hooks/utils/isDev.js +1 -1
  183. package/hooks/utils/rect.js +1 -1
  184. package/hooks/utils/useDeepCompareWithTarget.js +1 -1
  185. package/hooks/utils/useEffectWithTarget.js +1 -1
  186. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  187. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  188. package/icons/file/IconFile.js +1 -1
  189. package/icons/file/index.d.ts +3 -0
  190. package/icons/file/index.js +2 -2
  191. package/index.js +144 -140
  192. package/package.json +1 -1
  193. package/progress/Progress.js +1 -1
  194. package/progress/index.d.ts +3 -0
  195. package/progress/index.js +2 -2
  196. package/resize-observer/Collection.js +1 -1
  197. package/resize-observer/ResizeObserver.js +1 -1
  198. package/resize-observer/SingleObserver.js +1 -1
  199. package/resize-observer/index.d.ts +4 -1
  200. package/resize-observer/index.js +2 -2
  201. package/resize-observer/observerUtil.js +1 -1
  202. package/space/Space.js +1 -1
  203. package/space/index.d.ts +4 -1
  204. package/space/index.js +2 -2
  205. package/style/animation.less +4 -2
  206. package/style/global.less +5 -2
  207. package/style/index.less +5 -1
  208. package/style/normalize.less +10 -0
  209. package/style/variables.less +1 -0
  210. package/style.css +1 -1
  211. package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
  212. package/suspense-fallback-test/index.d.ts +3 -0
  213. package/suspense-fallback-test/index.js +2 -2
  214. package/test.js +1 -1
  215. package/timer/Timer.js +1 -1
  216. package/timer/index.d.ts +3 -0
  217. package/timer/index.js +2 -2
  218. package/transition/Transition.js +63 -62
  219. package/transition/TransitionCSS.js +33 -33
  220. package/transition/TransitionGroup.js +2 -2
  221. package/transition/TransitionStyle.js +2 -2
  222. package/transition/constants.d.ts +18 -15
  223. package/transition/constants.js +49 -40
  224. package/transition/context.js +1 -1
  225. package/transition/index.d.ts +6 -3
  226. package/transition/index.js +10 -10
  227. package/transition/interface.d.ts +10 -12
  228. package/transition/utils.d.ts +1 -1
  229. package/transition/utils.js +61 -61
  230. package/utils/callOrReturn.js +1 -1
  231. package/utils/callbackOriginRef.js +1 -1
  232. package/utils/caseName.js +1 -1
  233. package/utils/className.js +1 -1
  234. package/utils/constant.js +1 -1
  235. package/utils/copy.js +1 -1
  236. package/utils/css.d.ts +1 -0
  237. package/utils/css.js +4 -0
  238. package/utils/date.js +1 -1
  239. package/utils/dayjs.js +1 -1
  240. package/utils/dom.d.ts +2 -1
  241. package/utils/dom.js +21 -21
  242. package/utils/emitter.js +1 -1
  243. package/utils/file.js +1 -1
  244. package/utils/fileRead.js +1 -1
  245. package/utils/fileToDataURL.js +1 -1
  246. package/utils/fillNBSP.js +1 -1
  247. package/utils/findRootElement.d.ts +1 -1
  248. package/utils/findRootElement.js +13 -13
  249. package/utils/findScrollParent.js +1 -1
  250. package/utils/getHighlightText.js +1 -1
  251. package/utils/getHotkeyHandler.js +1 -1
  252. package/utils/getScrollBarHeight.js +1 -1
  253. package/utils/getScrollBarSize.js +1 -1
  254. package/utils/getScrollBarWidth.js +1 -1
  255. package/utils/getStringLength.js +1 -1
  256. package/utils/include.js +1 -1
  257. package/utils/index.d.ts +3 -2
  258. package/utils/index.js +72 -70
  259. package/utils/intersectionObserver.js +1 -1
  260. package/utils/is.js +1 -1
  261. package/utils/keyboardCode.js +1 -1
  262. package/utils/lodash.js +1 -1
  263. package/utils/math.js +1 -1
  264. package/utils/mergeProps.js +1 -1
  265. package/utils/mergedToString.js +1 -1
  266. package/utils/mutationObserver.js +1 -1
  267. package/utils/names.js +1 -1
  268. package/utils/object.js +1 -1
  269. package/utils/omit.js +1 -1
  270. package/utils/pad.js +1 -1
  271. package/utils/pick.js +1 -1
  272. package/utils/pinyin.d.ts +2 -1
  273. package/utils/pinyin.js +10 -3
  274. package/utils/react19Adapter.js +1 -1
  275. package/utils/reactNode.js +1 -1
  276. package/utils/ref.d.ts +3 -3
  277. package/utils/ref.js +1 -1
  278. package/utils/resizeObserver.js +1 -1
  279. package/utils/saveAs.js +1 -1
  280. package/utils/screenfull.js +1 -1
  281. package/utils/scrollIntoViewIfNeeded.js +1 -1
  282. package/utils/setCreateRoot.js +1 -1
  283. package/utils/setDarkTheme.js +1 -1
  284. package/utils/setDir.js +2 -2
  285. package/utils/setPrimaryColor.js +1 -1
  286. package/utils/setTheme.js +2 -2
  287. package/utils/string.js +1 -1
  288. package/utils/style.js +1 -1
  289. package/utils/throttleByRequestAnimationFrame.d.ts +6 -0
  290. package/utils/throttleByRequestAnimationFrame.js +18 -0
  291. package/utils/tinycolor.js +1 -1
  292. package/utils/toArray.js +1 -1
  293. package/utils/tree.js +1 -1
  294. package/utils/tween.js +1 -1
  295. package/utils/uuid.js +1 -1
  296. package/utils/validate.js +1 -1
  297. package/utils/warning.js +1 -1
  298. package/version/index.js +8 -8
  299. package/hooks/use-event-emitter/demo/demo1.d.ts +0 -10
  300. package/utils/throttleByRaf.d.ts +0 -6
  301. package/utils/throttleByRaf.js +0 -16
  302. package/utils/throttleByRaf2.d.ts +0 -6
  303. package/utils/throttleByRaf2.js +0 -9
package/utils/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
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, isEmptyValue as O, isEqual as k, isEqualWith as A, isError as j, isEventTarget as M, isExist as N, isFalse as P, isFile as F, isFinite as I, isFullWidth as L, isFunction as R, isHSL as z, isHTMLElement as B, isHalfWidth as V, isHash as H, isHexColor as U, isIMEI as W, isIP as G, isIPRange as K, isIdentityCard as q, isInteger as J, isJSON as Y, isJSON_String as X, isJWT as ie, isLength as ae, isMACAddress as oe, isMD5 as se, isMap as ce, isMatch as le, isMatchWith as ue, isMimeType as de, isMobilePhone as fe, isMobilePhoneLocales as pe, isNaN as me, isNative as he, isNil as ge, isNonNullable as _e, isNull as ve, isNullOrUndefined as ye, isNumber as be, isNumberOrString as xe, isObject as Se, isObjectLike as Ce, isPlainObject as we, isPort as Te, isPresent as Ee, isPrimitive as De, isPromise as Oe, isReact18 as ke, isReact19 as Ae, isReactClassComponent as je, isReactComponent as Me, isReactComponentAndNotFragment as Ne, isReadableStream as Pe, isRegExp as Fe, isRgbColor as Ie, isSVGElement as Le, isSafeInteger as Re, isScrollElement as ze, isSemVer as Be, isServerRendering as Ve, isSet as He, isSlug as Ue, isSparseArray as We, isString as Ge, isStringAndExist as Ke, isStringOrNumber as qe, isStrongPassword as Je, isSymbol as Ye, isThenable as Xe, isTrue as Ze, isTypedArray as Qe, isURL as $e, isUUID as et, isUndefined as tt, isUndefinedOrNull as nt, isVariableWidth as rt, isWeakMap as it, isWeakSet as at, isWindow as ot } from "./is.js";
4
4
  import { object_exports as st } from "./object.js";
@@ -13,6 +13,7 @@ import { callOrReturn as Gn } from "./callOrReturn.js";
13
13
  import { caseName as Kn } from "./caseName.js";
14
14
  import { className as qn, cs as Jn } from "./className.js";
15
15
  import { clipboardCopy as $ } from "./copy.js";
16
+ import "./css.js";
16
17
  import { convertTime as Yn, convertToDurationBasedOnTimeUnits as Xn, dateFormat as Zn, dayjsFormat as Qn } from "./date.js";
17
18
  import { dayjs as $n } from "./dayjs.js";
18
19
  import { Emitter as er } from "./emitter.js";
@@ -34,55 +35,56 @@ import vr from "./mutationObserver.js";
34
35
  import "./omit.js";
35
36
  import { padEnd as yr, padStart as br } from "./pad.js";
36
37
  import { pickDataAttributes as xr } from "./pick.js";
37
- import { pinyin as Sr } from "./pinyin.js";
38
- import Cr from "./resizeObserver.js";
39
- import { saveAs as wr } from "./saveAs.js";
40
- import { screenfull as Tr } from "./screenfull.js";
41
- import Er from "./scrollIntoViewIfNeeded.js";
42
- import Dr, { render as Or } from "./setCreateRoot.js";
43
- import kr, { removeDarkTheme as Ar } from "./setDarkTheme.js";
44
- import jr from "./setDir.js";
45
- import Mr from "./setPrimaryColor.js";
46
- import Nr from "./setTheme.js";
47
- import { HYPHEN as Pr, replaceEmptyWithHyphen as Fr } from "./string.js";
48
- import { fixedWidth as Ir, getStyle as Lr, setTransformStyle as Rr } from "./style.js";
49
- import zr from "./throttleByRaf.js";
50
- import { tinycolor as Br } from "./tinycolor.js";
51
- import Vr from "./toArray.js";
52
- import { findNodeBy as Hr, getChildWithParentBy as Ur, getItemBy as Wr, getItemByID as Gr, getLabelFromDictionaryByValue as Kr, searchTree as qr, tree as Jr } from "./tree.js";
53
- import { Tween as Yr, easing as Xr } from "./tween.js";
54
- import { uuid as Zr, uuidv4 as Qr } from "./uuid.js";
55
- import { PqbValidator as $r, Validator as ei, ValidatorArray as ti, ValidatorBase as ni, ValidatorBoolean as ri, ValidatorCustom as ii, ValidatorNumber as ai, ValidatorObject as oi, ValidatorSchema as si, ValidatorString as ci, ValidatorType as li, validatorLocale as ui } from "./validate.js";
56
- import di from "./warning.js";
57
- import { keyboardCode as fi } from "./keyboardCode.js";
58
- import { COMPONENT_NAMES as pi } from "./names.js";
38
+ import Sr from "./resizeObserver.js";
39
+ import { saveAs as Cr } from "./saveAs.js";
40
+ import { screenfull as wr } from "./screenfull.js";
41
+ import Tr from "./scrollIntoViewIfNeeded.js";
42
+ import Er, { render as Dr } from "./setCreateRoot.js";
43
+ import Or, { removeDarkTheme as kr } from "./setDarkTheme.js";
44
+ import Ar from "./setDir.js";
45
+ import jr from "./setPrimaryColor.js";
46
+ import Mr from "./setTheme.js";
47
+ import { HYPHEN as Nr, replaceEmptyWithHyphen as Pr } from "./string.js";
48
+ import { fixedWidth as Fr, getStyle as Ir, setTransformStyle as Lr } from "./style.js";
49
+ import Rr from "./throttleByRequestAnimationFrame.js";
50
+ import { tinycolor as zr } from "./tinycolor.js";
51
+ import Br from "./toArray.js";
52
+ import { findNodeBy as Vr, getChildWithParentBy as Hr, getItemBy as Ur, getItemByID as Wr, getLabelFromDictionaryByValue as Gr, searchTree as Kr, tree as qr } from "./tree.js";
53
+ import { Tween as Jr, easing as Yr } from "./tween.js";
54
+ import { uuid as Xr, uuidv4 as Zr } from "./uuid.js";
55
+ import { PqbValidator as Qr, Validator as $r, ValidatorArray as ei, ValidatorBase as ti, ValidatorBoolean as ni, ValidatorCustom as ri, ValidatorNumber as ii, ValidatorObject as ai, ValidatorSchema as oi, ValidatorString as si, ValidatorType as ci, validatorLocale as li } from "./validate.js";
56
+ import ui from "./warning.js";
57
+ import { keyboardCode as di } from "./keyboardCode.js";
58
+ import { COMPONENT_NAMES as fi } from "./names.js";
59
+ import { pinyin_exports as pi } from "./pinyin.js";
59
60
  export * from "@unicom-cloud/utils/is";
60
61
  export * from "@unicom-cloud/utils/object";
62
+ export * from "@unicom-cloud/utils/css";
61
63
  export * from "@unicom-cloud/utils/file";
62
64
  export * from "@unicom-cloud/utils/tinycolor";
63
65
  //#region components/common/utils/index.ts
64
66
  var mi = /* @__PURE__ */ ee({
65
- COMPONENT_NAMES: () => pi,
67
+ COMPONENT_NAMES: () => fi,
66
68
  CSS_VARIABLE_ELEMENT: () => Et,
67
69
  DAYJS_DEFAULT_FORMAT: () => Dt,
68
70
  DAYJS_DEFAULT_FORMAT_WITH_TIME: () => Ot,
69
71
  Emitter: () => er,
70
- HYPHEN: () => Pr,
72
+ HYPHEN: () => Nr,
71
73
  NOOP: () => kt,
72
- PqbValidator: () => $r,
73
- Tween: () => Yr,
74
+ PqbValidator: () => Qr,
75
+ Tween: () => Jr,
74
76
  UI_PC_KEY: () => At,
75
77
  UI_PC_THEME_DARK_CLASS_NAME: () => jt,
76
- Validator: () => ei,
77
- ValidatorArray: () => ti,
78
- ValidatorBase: () => ni,
79
- ValidatorBoolean: () => ri,
80
- ValidatorCustom: () => ii,
81
- ValidatorNumber: () => ai,
82
- ValidatorObject: () => oi,
83
- ValidatorSchema: () => si,
84
- ValidatorString: () => ci,
85
- ValidatorType: () => li,
78
+ Validator: () => $r,
79
+ ValidatorArray: () => ei,
80
+ ValidatorBase: () => ti,
81
+ ValidatorBoolean: () => ni,
82
+ ValidatorCustom: () => ri,
83
+ ValidatorNumber: () => ii,
84
+ ValidatorObject: () => ai,
85
+ ValidatorSchema: () => oi,
86
+ ValidatorString: () => si,
87
+ ValidatorType: () => ci,
86
88
  assign: () => Mt,
87
89
  assignIn: () => Nt,
88
90
  at: () => Pt,
@@ -118,30 +120,30 @@ var mi = /* @__PURE__ */ ee({
118
120
  defaultsDeep: () => Yt,
119
121
  difference: () => Q,
120
122
  div: () => fr,
121
- easing: () => Xr,
123
+ easing: () => Yr,
122
124
  escape: () => Xt,
123
125
  fileRead: () => tr,
124
126
  fileToDataURL: () => nr,
125
127
  fillNBSP: () => rr,
126
128
  fillRef: () => lt,
127
129
  findKey: () => Zt,
128
- findNodeBy: () => Hr,
130
+ findNodeBy: () => Vr,
129
131
  findRootElement: () => ht,
130
- fixedWidth: () => Ir,
132
+ fixedWidth: () => Fr,
131
133
  flattenDeep: () => Qt,
132
134
  flow: () => $t,
133
135
  focusAtEnd: () => vt,
134
136
  forceReflow: () => Z,
135
137
  get: () => en,
136
138
  getBodyContainer: () => yt,
137
- getChildWithParentBy: () => Ur,
139
+ getChildWithParentBy: () => Hr,
138
140
  getDOM: () => bt,
139
141
  getElementCoordinates: () => xt,
140
142
  getHighlightText: () => ir,
141
143
  getHotkeyHandler: () => ar,
142
- getItemBy: () => Wr,
143
- getItemByID: () => Gr,
144
- getLabelFromDictionaryByValue: () => Kr,
144
+ getItemBy: () => Ur,
145
+ getItemByID: () => Wr,
146
+ getLabelFromDictionaryByValue: () => Gr,
145
147
  getNodeRef: () => ut,
146
148
  getReactElementRef: () => dt,
147
149
  getScrollBarHeight: () => sr,
@@ -149,7 +151,7 @@ var mi = /* @__PURE__ */ ee({
149
151
  getScrollBarWidth: () => cr,
150
152
  getScrollElements: () => St,
151
153
  getStringLength: () => lr,
152
- getStyle: () => Lr,
154
+ getStyle: () => Ir,
153
155
  groupBy: () => tn,
154
156
  has: () => nn,
155
157
  include: () => ur,
@@ -268,7 +270,7 @@ var mi = /* @__PURE__ */ ee({
268
270
  isWeakSet: () => at,
269
271
  isWindow: () => ot,
270
272
  kebabCase: () => sn,
271
- keyboardCode: () => fi,
273
+ keyboardCode: () => di,
272
274
  math: () => pr,
273
275
  mean: () => cn,
274
276
  memoize: () => ln,
@@ -291,28 +293,28 @@ var mi = /* @__PURE__ */ ee({
291
293
  pick: () => _n,
292
294
  pickBy: () => vn,
293
295
  pickDataAttributes: () => xr,
294
- pinyin: () => Sr,
296
+ pinyin: () => pi,
295
297
  plus: () => hr,
296
298
  pullAll: () => yn,
297
299
  reflow: () => Z,
298
- removeDarkTheme: () => Ar,
299
- render: () => Or,
300
- replaceEmptyWithHyphen: () => Fr,
301
- resizeObserver: () => Cr,
300
+ removeDarkTheme: () => kr,
301
+ render: () => Dr,
302
+ replaceEmptyWithHyphen: () => Pr,
303
+ resizeObserver: () => Sr,
302
304
  result: () => bn,
303
305
  sample: () => xn,
304
306
  sampleSize: () => Sn,
305
- saveAs: () => wr,
306
- screenfull: () => Tr,
307
- scrollIntoViewIfNeeded: () => Er,
308
- searchTree: () => qr,
307
+ saveAs: () => Cr,
308
+ screenfull: () => wr,
309
+ scrollIntoViewIfNeeded: () => Tr,
310
+ searchTree: () => Kr,
309
311
  set: () => Cn,
310
- setCreateRoot: () => Dr,
311
- setDarkTheme: () => kr,
312
- setDir: () => jr,
313
- setPrimaryColor: () => Mr,
314
- setTheme: () => Nr,
315
- setTransformStyle: () => Rr,
312
+ setCreateRoot: () => Er,
313
+ setDarkTheme: () => Or,
314
+ setDir: () => Ar,
315
+ setPrimaryColor: () => jr,
316
+ setTheme: () => Mr,
317
+ setTransformStyle: () => Lr,
316
318
  setWith: () => wn,
317
319
  shuffle: () => Tn,
318
320
  snakeCase: () => En,
@@ -321,12 +323,12 @@ var mi = /* @__PURE__ */ ee({
321
323
  supportNodeRef: () => ft,
322
324
  supportRef: () => pt,
323
325
  throttle: () => kn,
324
- throttleByRaf: () => zr,
326
+ throttleByRequestAnimationFrame: () => Rr,
325
327
  times: () => gr,
326
- tinycolor: () => Br,
327
- toArray: () => Vr,
328
+ tinycolor: () => zr,
329
+ toArray: () => Br,
328
330
  toPath: () => An,
329
- tree: () => Jr,
331
+ tree: () => qr,
330
332
  truncate: () => jn,
331
333
  union: () => Mn,
332
334
  uniq: () => Nn,
@@ -337,15 +339,15 @@ var mi = /* @__PURE__ */ ee({
337
339
  upperCase: () => Rn,
338
340
  upperFirst: () => zn,
339
341
  useComposeRef: () => mt,
340
- uuid: () => Zr,
341
- uuidv4: () => Qr,
342
- validatorLocale: () => ui,
343
- warning: () => di,
342
+ uuid: () => Xr,
343
+ uuidv4: () => Zr,
344
+ validatorLocale: () => li,
345
+ warning: () => ui,
344
346
  without: () => Bn,
345
347
  xor: () => Vn,
346
348
  zip: () => Hn
347
349
  });
348
350
  te(mi, st);
349
351
  //#endregion
350
- export { pi as COMPONENT_NAMES, Et as CSS_VARIABLE_ELEMENT, Dt as DAYJS_DEFAULT_FORMAT, Ot as DAYJS_DEFAULT_FORMAT_WITH_TIME, er as Emitter, Pr as HYPHEN, kt as NOOP, $r as PqbValidator, Yr as Tween, At as UI_PC_KEY, jt as UI_PC_THEME_DARK_CLASS_NAME, ei as Validator, ti as ValidatorArray, ni as ValidatorBase, ri as ValidatorBoolean, ii as ValidatorCustom, ai as ValidatorNumber, oi as ValidatorObject, si as ValidatorSchema, ci as ValidatorString, li as ValidatorType, Mt as assign, Nt as assignIn, Pt as at, Gn as callOrReturn, Wn as callbackOriginRef, Ft as camelCase, gt as canUseDOM, It as capitalize, Kn as caseName, Lt as castArray, Rt as chain, zt as chunk, qn as className, $ as clipboardCopy, $ as copy, Bt as clone, Vt as cloneDeep, Ht as cloneDeepWith, Ut as cloneWith, Wt as compact, ct as composeRef, _t as contains, Yn as convertTime, Xn as convertToDurationBasedOnTimeUnits, Jn as cs, Gt as curry, Zn as dateFormat, $n as dayjs, Qn as dayjsFormat, Kt as debounce, qt as defaultTo, Jt as defaults, Yt as defaultsDeep, Q as difference, fr as div, Xr as easing, Xt as escape, tr as fileRead, nr as fileToDataURL, rr as fillNBSP, lt as fillRef, Zt as findKey, Hr as findNodeBy, ht as findRootElement, Ir as fixedWidth, Qt as flattenDeep, $t as flow, vt as focusAtEnd, Z as forceReflow, Z as reflow, en as get, yt as getBodyContainer, Ur as getChildWithParentBy, bt as getDOM, xt as getElementCoordinates, ir as getHighlightText, ar as getHotkeyHandler, Wr as getItemBy, Gr as getItemByID, Kr as getLabelFromDictionaryByValue, ut as getNodeRef, dt as getReactElementRef, sr as getScrollBarHeight, or as getScrollBarSize, cr as getScrollBarWidth, St as getScrollElements, lr as getStringLength, Lr as getStyle, tn as groupBy, nn as has, ur as include, rn as intersection, dr as intersectionObserver, an as invert, on as invertBy, ne as is32Bit, re as isAllChinese, e as isArguments, t as isArray, n as isArrayAndNotEmpty, r as isArrayBuffer, i as isArrayEmpty, a as isArrayLike, o as isArrayLikeObject, s as isAscii, c as isAsyncFunction, l as isBase64, u as isBigInt, d as isBlob, f as isBoolean, p as isBuffer, m as isChinese, h as isColorValue, g as isColorValue_, _ as isDOM, v as isDataURI, y as isDate, b as isDayjs, x as isElement, S as isElementByInstanceof, C as isEmail, w as isEmpty, T as isEmptyArray, E as isEmptyObject, D as isEmptyReactNode, O as isEmptyValue, k as isEqual, A as isEqualWith, j as isError, M as isEventTarget, N as isExist, P as isFalse, F as isFile, I as isFinite, L as isFullWidth, R as isFunction, z as isHSL, B as isHTMLElement, V as isHalfWidth, H as isHash, U as isHexColor, W as isIMEI, G as isIP, K as isIPRange, q as isIdentityCard, J as isInteger, Y as isJSON, X as isJSON_String, ie as isJWT, ae as isLength, oe as isMACAddress, se as isMD5, ce as isMap, le as isMatch, ue as isMatchWith, de as isMimeType, fe as isMobilePhone, pe as isMobilePhoneLocales, me as isNaN, he as isNative, ge as isNil, _e as isNonNullable, ve as isNull, ye as isNullOrUndefined, be as isNumber, xe as isNumberOrString, Se as isObject, Ce as isObjectLike, we as isPlainObject, Te as isPort, Ee as isPresent, De as isPrimitive, Oe as isPromise, ke as isReact18, Ae as isReact19, je as isReactClassComponent, Me as isReactComponent, Ne as isReactComponentAndNotFragment, Pe as isReadableStream, Fe as isRegExp, Ie as isRgbColor, Le as isSVGElement, Re as isSafeInteger, ze as isScrollElement, Be as isSemVer, Ve as isServerRendering, He as isSet, Ue as isSlug, We as isSparseArray, Ge as isString, Ke as isStringAndExist, qe as isStringOrNumber, Je as isStrongPassword, Ye as isSymbol, Xe as isThenable, Ze as isTrue, Qe as isTypedArray, $e as isURL, et as isUUID, tt as isUndefined, nt as isUndefinedOrNull, rt as isVariableWidth, it as isWeakMap, at as isWeakSet, ot as isWindow, sn as kebabCase, fi as keyboardCode, pr as math, cn as mean, ln as memoize, un as merge, Un as mergeProps, dn as mergeWith, _r as mergedToString, mr as minus, vr as mutationObserver, fn as noop, Ct as off, pn as omit, mn as omitBy, wt as on, hn as orderBy, yr as padEnd, br as padStart, Tt as parentContainsChildren, gn as partition, _n as pick, vn as pickBy, xr as pickDataAttributes, Sr as pinyin, hr as plus, yn as pullAll, Ar as removeDarkTheme, Or as render, Fr as replaceEmptyWithHyphen, Cr as resizeObserver, bn as result, xn as sample, Sn as sampleSize, wr as saveAs, Tr as screenfull, Er as scrollIntoViewIfNeeded, qr as searchTree, Cn as set, Dr as setCreateRoot, kr as setDarkTheme, jr as setDir, Mr as setPrimaryColor, Nr as setTheme, Rr as setTransformStyle, wn as setWith, Tn as shuffle, En as snakeCase, Dn as sortBy, On as startCase, ft as supportNodeRef, pt as supportRef, kn as throttle, zr as throttleByRaf, gr as times, Br as tinycolor, Vr as toArray, An as toPath, Jr as tree, jn as truncate, Mn as union, Nn as uniq, Pn as uniqueId, Fn as unset, In as update, Ln as updateWith, Rn as upperCase, zn as upperFirst, mt as useComposeRef, mi as utils_exports, Zr as uuid, Qr as uuidv4, ui as validatorLocale, di as warning, Bn as without, Vn as xor, Hn as zip };
352
+ export { fi as COMPONENT_NAMES, Et as CSS_VARIABLE_ELEMENT, Dt as DAYJS_DEFAULT_FORMAT, Ot as DAYJS_DEFAULT_FORMAT_WITH_TIME, er as Emitter, Nr as HYPHEN, kt as NOOP, Qr as PqbValidator, Jr as Tween, At as UI_PC_KEY, jt as UI_PC_THEME_DARK_CLASS_NAME, $r as Validator, ei as ValidatorArray, ti as ValidatorBase, ni as ValidatorBoolean, ri as ValidatorCustom, ii as ValidatorNumber, ai as ValidatorObject, oi as ValidatorSchema, si as ValidatorString, ci as ValidatorType, Mt as assign, Nt as assignIn, Pt as at, Gn as callOrReturn, Wn as callbackOriginRef, Ft as camelCase, gt as canUseDOM, It as capitalize, Kn as caseName, Lt as castArray, Rt as chain, zt as chunk, qn as className, $ as clipboardCopy, $ as copy, Bt as clone, Vt as cloneDeep, Ht as cloneDeepWith, Ut as cloneWith, Wt as compact, ct as composeRef, _t as contains, Yn as convertTime, Xn as convertToDurationBasedOnTimeUnits, Jn as cs, Gt as curry, Zn as dateFormat, $n as dayjs, Qn as dayjsFormat, Kt as debounce, qt as defaultTo, Jt as defaults, Yt as defaultsDeep, Q as difference, fr as div, Yr as easing, Xt as escape, tr as fileRead, nr as fileToDataURL, rr as fillNBSP, lt as fillRef, Zt as findKey, Vr as findNodeBy, ht as findRootElement, Fr as fixedWidth, Qt as flattenDeep, $t as flow, vt as focusAtEnd, Z as forceReflow, Z as reflow, en as get, yt as getBodyContainer, Hr as getChildWithParentBy, bt as getDOM, xt as getElementCoordinates, ir as getHighlightText, ar as getHotkeyHandler, Ur as getItemBy, Wr as getItemByID, Gr as getLabelFromDictionaryByValue, ut as getNodeRef, dt as getReactElementRef, sr as getScrollBarHeight, or as getScrollBarSize, cr as getScrollBarWidth, St as getScrollElements, lr as getStringLength, Ir as getStyle, tn as groupBy, nn as has, ur as include, rn as intersection, dr as intersectionObserver, an as invert, on as invertBy, ne as is32Bit, re as isAllChinese, e as isArguments, t as isArray, n as isArrayAndNotEmpty, r as isArrayBuffer, i as isArrayEmpty, a as isArrayLike, o as isArrayLikeObject, s as isAscii, c as isAsyncFunction, l as isBase64, u as isBigInt, d as isBlob, f as isBoolean, p as isBuffer, m as isChinese, h as isColorValue, g as isColorValue_, _ as isDOM, v as isDataURI, y as isDate, b as isDayjs, x as isElement, S as isElementByInstanceof, C as isEmail, w as isEmpty, T as isEmptyArray, E as isEmptyObject, D as isEmptyReactNode, O as isEmptyValue, k as isEqual, A as isEqualWith, j as isError, M as isEventTarget, N as isExist, P as isFalse, F as isFile, I as isFinite, L as isFullWidth, R as isFunction, z as isHSL, B as isHTMLElement, V as isHalfWidth, H as isHash, U as isHexColor, W as isIMEI, G as isIP, K as isIPRange, q as isIdentityCard, J as isInteger, Y as isJSON, X as isJSON_String, ie as isJWT, ae as isLength, oe as isMACAddress, se as isMD5, ce as isMap, le as isMatch, ue as isMatchWith, de as isMimeType, fe as isMobilePhone, pe as isMobilePhoneLocales, me as isNaN, he as isNative, ge as isNil, _e as isNonNullable, ve as isNull, ye as isNullOrUndefined, be as isNumber, xe as isNumberOrString, Se as isObject, Ce as isObjectLike, we as isPlainObject, Te as isPort, Ee as isPresent, De as isPrimitive, Oe as isPromise, ke as isReact18, Ae as isReact19, je as isReactClassComponent, Me as isReactComponent, Ne as isReactComponentAndNotFragment, Pe as isReadableStream, Fe as isRegExp, Ie as isRgbColor, Le as isSVGElement, Re as isSafeInteger, ze as isScrollElement, Be as isSemVer, Ve as isServerRendering, He as isSet, Ue as isSlug, We as isSparseArray, Ge as isString, Ke as isStringAndExist, qe as isStringOrNumber, Je as isStrongPassword, Ye as isSymbol, Xe as isThenable, Ze as isTrue, Qe as isTypedArray, $e as isURL, et as isUUID, tt as isUndefined, nt as isUndefinedOrNull, rt as isVariableWidth, it as isWeakMap, at as isWeakSet, ot as isWindow, sn as kebabCase, di as keyboardCode, pr as math, cn as mean, ln as memoize, un as merge, Un as mergeProps, dn as mergeWith, _r as mergedToString, mr as minus, vr as mutationObserver, fn as noop, Ct as off, pn as omit, mn as omitBy, wt as on, hn as orderBy, yr as padEnd, br as padStart, Tt as parentContainsChildren, gn as partition, _n as pick, vn as pickBy, xr as pickDataAttributes, pi as pinyin, hr as plus, yn as pullAll, kr as removeDarkTheme, Dr as render, Pr as replaceEmptyWithHyphen, Sr as resizeObserver, bn as result, xn as sample, Sn as sampleSize, Cr as saveAs, wr as screenfull, Tr as scrollIntoViewIfNeeded, Kr as searchTree, Cn as set, Er as setCreateRoot, Or as setDarkTheme, Ar as setDir, jr as setPrimaryColor, Mr as setTheme, Lr as setTransformStyle, wn as setWith, Tn as shuffle, En as snakeCase, Dn as sortBy, On as startCase, ft as supportNodeRef, pt as supportRef, kn as throttle, Rr as throttleByRequestAnimationFrame, gr as times, zr as tinycolor, Br as toArray, An as toPath, qr as tree, jn as truncate, Mn as union, Nn as uniq, Pn as uniqueId, Fn as unset, In as update, Ln as updateWith, Rn as upperCase, zn as upperFirst, mt as useComposeRef, mi as utils_exports, Xr as uuid, Zr as uuidv4, li as validatorLocale, ui as warning, Bn as without, Vn as xor, Hn as zip };
351
353
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isFunction as e } from "./is.js";
3
3
  import t from "lodash/throttle";
4
4
  //#region components/common/utils/intersectionObserver.ts
package/utils/is.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import "../.virtual/_rolldown/runtime.js";
3
3
  import e, { isValidElement as t } from "react";
4
4
  import { isBrowser as n } from "@unicom-cloud/utils/constant/platform";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import * as e from "@unicom-cloud/utils/constant/keyboardCode";
3
3
  export * from "@unicom-cloud/utils/constant/keyboardCode";
4
4
  //#region components/common/utils/keyboardCode.ts
package/utils/lodash.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import e from "lodash/castArray";
3
3
  import t from "lodash/debounce";
4
4
  import n from "lodash/throttle";
package/utils/math.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import e, { div as t, minus as n, plus as r, times as i, default as a } from "@unicom-cloud/utils/math";
3
3
  export { a as default, t as div, e as math, n as minus, r as plus, i as times };
4
4
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isArray as e } from "./is.js";
3
3
  import { defaults as t, pick as n } from "./lodash.js";
4
4
  //#region components/common/utils/mergeProps.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isNumber as e, isPlainObject as t, isString as n } from "./is.js";
3
3
  import r from "react";
4
4
  //#region components/common/utils/mergedToString.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isFunction as e } from "./is.js";
3
3
  import t from "lodash/throttle";
4
4
  //#region components/common/utils/mutationObserver.ts
package/utils/names.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  //#region components/common/utils/names.ts
3
3
  var e = {
4
4
  zh: "边框流光",
package/utils/object.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { __exportAll as e, __reExport as t } from "../.virtual/_rolldown/runtime.js";
3
3
  export * from "@unicom-cloud/utils/object";
4
4
  //#region components/common/utils/object.ts
package/utils/omit.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { omit as e } from "./lodash.js";
3
3
  //#region components/common/utils/omit.ts
4
4
  var t = e;
package/utils/pad.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  //#region components/common/utils/pad.ts
3
3
  function e(t, n, r = " ") {
4
4
  let i = String(t);
package/utils/pick.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { pick as e } from "./lodash.js";
3
3
  //#region components/common/utils/pick.ts
4
4
  function t(e) {
package/utils/pinyin.d.ts CHANGED
@@ -1 +1,2 @@
1
- export { default, default as pinyin } from '@unicom-cloud/utils/pinyin';
1
+ export * from '@unicom-cloud/utils/pinyin';
2
+ export { default } from '@unicom-cloud/utils/pinyin';
package/utils/pinyin.js CHANGED
@@ -1,4 +1,11 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
2
- import e, { default as t } from "@unicom-cloud/utils/pinyin";
3
- export { t as default, e as pinyin };
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
+ import { __exportAll as e, __reExport as t } from "../.virtual/_rolldown/runtime.js";
3
+ import n from "@unicom-cloud/utils/pinyin";
4
+ export * from "@unicom-cloud/utils/pinyin";
5
+ //#region components/common/utils/pinyin.ts
6
+ var r = /* @__PURE__ */ e({ default: () => n });
7
+ import * as i from "@unicom-cloud/utils/pinyin";
8
+ t(r, i);
9
+ //#endregion
10
+ export { n as default, r as pinyin_exports };
4
11
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import e from "./setCreateRoot.js";
3
3
  import { createRoot as t } from "react-dom/client";
4
4
  //#region components/common/utils/react19Adapter.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isFunction as e } from "./is.js";
3
3
  import t from "react";
4
4
  //#region components/common/utils/reactNode.ts
package/utils/ref.d.ts CHANGED
@@ -7,8 +7,8 @@ declare const fillRef: <T>(ref: RefObject<T>, node: T) => void;
7
7
  * Merge refs into one ref function to support ref passing.
8
8
  */
9
9
  declare const composeRef: <T>(...refs: React.Ref<T>[]) => React.Ref<T>;
10
- declare const useComposeRef: <T>(...refs: React.Ref<T>[]) => React.Ref<T>;
11
- declare function supportRef(nodeOrComponent: React.ReactElement): boolean;
10
+ declare const useComposeRef: <T>(...refs: React.Ref<T>[]) => React.Ref<T> | undefined;
11
+ declare function supportRef(nodeOrComponent?: React.ReactElement | null): boolean;
12
12
  declare const supportNodeRef: <T = unknown>(node: React.ReactNode) => node is React.ReactElement & RefAttributes<T>;
13
13
  /**
14
14
  * Returns the ref of a React element handling differences between React 19 and older versions.
@@ -17,7 +17,7 @@ declare const supportNodeRef: <T = unknown>(node: React.ReactNode) => node is Re
17
17
  * @param element React.ReactElement
18
18
  * @returns React.Ref<any> | null
19
19
  */
20
- declare function getReactElementRef(element: React.ReactElement): React.Ref<unknown> | null;
20
+ declare function getReactElementRef(element?: React.ReactElement | null): React.Ref<unknown> | null;
21
21
  /**
22
22
  * In React 19. `ref` is not a property from node.
23
23
  * But a property from `props.ref`.
package/utils/ref.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isFunction as e, isObjectLike as t, isReact19 as n, isReactComponentAndNotFragment as r } from "./is.js";
3
3
  import i from "../hooks/use-memo/index.js";
4
4
  import { isValidElement as a } from "react";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isElementByInstanceof as e, isFunction as t } from "./is.js";
3
3
  import { NOOP as n } from "./constant.js";
4
4
  import r from "lodash/throttle";
package/utils/saveAs.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import e, { default as t } from "@unicom-cloud/utils/file/saveAs";
3
3
  export { t as default, e as saveAs };
4
4
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import e, { default as t } from "@unicom-cloud/utils/screenfull";
3
3
  export { t as default, e as screenfull };
4
4
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  //#region components/common/utils/scrollIntoViewIfNeeded.ts
3
3
  function e(e, t) {
4
4
  e.scrollIntoView(t);
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isFunction as e, isObject as t, isReact18 as n } from "./is.js";
3
3
  import "react";
4
4
  import r from "react-dom";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isElementByInstanceof as e } from "./is.js";
3
3
  import { CSS_VARIABLE_ELEMENT as t } from "./constant.js";
4
4
  import { UI_PC_THEME_DARK_CLASS_NAME as n } from "@unicom-cloud/utils/constant/ui";
package/utils/setDir.js CHANGED
@@ -1,7 +1,7 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isPlainObject as e } from "./is.js";
3
3
  import { CSS_VARIABLE_ELEMENT as t } from "./constant.js";
4
- import { UI_PC_PREFIX as n } from "@unicom-cloud/utils/constant/ui.js";
4
+ import { UI_PC_PREFIX as n } from "@unicom-cloud/utils/constant/ui";
5
5
  //#region components/common/utils/setDir.ts
6
6
  function r(r) {
7
7
  if (!e(r)) return;
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { CSS_VARIABLE_ELEMENT as e } from "./constant.js";
3
3
  import { UI_PC_PREFIX as t } from "@unicom-cloud/utils/constant/ui";
4
4
  import n from "@unicom-cloud/utils/tinycolor";
package/utils/setTheme.js CHANGED
@@ -1,7 +1,7 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isPlainObject as e } from "./is.js";
3
3
  import { CSS_VARIABLE_ELEMENT as t } from "./constant.js";
4
- import { UI_PC_PREFIX as n } from "@unicom-cloud/utils/constant/ui.js";
4
+ import { UI_PC_PREFIX as n } from "@unicom-cloud/utils/constant/ui";
5
5
  import r from "@unicom-cloud/utils/tinycolor";
6
6
  //#region components/common/utils/setTheme.ts
7
7
  function i(i) {
package/utils/string.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isEmptyReactNode as e } from "./is.js";
3
3
  import { HYPHEN as t } from "@unicom-cloud/utils/constant/string";
4
4
  import { replaceEmptyWithHyphen as n } from "@unicom-cloud/utils/string";
package/utils/style.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  //#region components/common/utils/style.ts
3
3
  var e = [
4
4
  "transform",
@@ -0,0 +1,6 @@
1
+ declare function throttleByRequestAnimationFrame(cb: (...args: never[]) => unknown): {
2
+ (...args: never[]): number;
3
+ cancel(): void;
4
+ };
5
+ export { throttleByRequestAnimationFrame };
6
+ export default throttleByRequestAnimationFrame;
@@ -0,0 +1,18 @@
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
+ import { isNumber as e } from "./is.js";
3
+ //#region components/common/utils/throttleByRequestAnimationFrame.ts
4
+ var { requestAnimationFrame: t, cancelAnimationFrame: n, setTimeout: r, clearTimeout: i } = window;
5
+ function a(r) {
6
+ let i = null;
7
+ function a(...e) {
8
+ return i && n(i), i = t(() => {
9
+ r(...e), i = null;
10
+ }), i;
11
+ }
12
+ return a.cancel = () => {
13
+ e(i) && n(i), i = null;
14
+ }, a;
15
+ }
16
+ //#endregion
17
+ export { a as default, a as throttleByRequestAnimationFrame };
18
+ /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import "../.virtual/_rolldown/runtime.js";
3
3
  import e, { default as t } from "@unicom-cloud/utils/tinycolor";
4
4
  export * from "@unicom-cloud/utils/tinycolor";
package/utils/toArray.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { isArray as e, isNullOrUndefined as t } from "./is.js";
3
3
  import n from "react";
4
4
  import { isFragment as r } from "react-is";
package/utils/tree.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import e, { findNodeBy as t, getChildWithParentBy as n, getItemBy as r, getItemByID as i, getLabelFromDictionaryByValue as a, searchTree as o, default as s } from "@unicom-cloud/utils/tree";
3
3
  export { s as default, t as findNodeBy, n as getChildWithParentBy, r as getItemBy, i as getItemByID, a as getLabelFromDictionaryByValue, o as searchTree, e as tree };
4
4
  /* 独立思考,明辨是非 */
package/utils/tween.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import e, { easing as t, default as n } from "@unicom-cloud/utils/tween";
3
3
  export { e as Tween, n as default, t as easing };
4
4
  /* 独立思考,明辨是非 */
package/utils/uuid.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { v4 as e, v4 as t, v4 as n } from "uuid";
3
3
  export { t as default, e as uuid, n as uuidv4 };
4
4
  /* 独立思考,明辨是非 */
package/utils/validate.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  import { PqbValidator as e, Validator as t, ValidatorArray as n, ValidatorBase as r, ValidatorBoolean as i, ValidatorCustom as a, ValidatorNumber as o, ValidatorObject as s, ValidatorSchema as c, ValidatorString as l, ValidatorType as u, validatorLocale as d } from "@unicom-cloud/utils/validate";
3
3
  export { e as PqbValidator, t as Validator, n as ValidatorArray, r as ValidatorBase, i as ValidatorBoolean, a as ValidatorCustom, o as ValidatorNumber, s as ValidatorObject, c as ValidatorSchema, l as ValidatorString, u as ValidatorType, d as validatorLocale };
4
4
  /* 独立思考,明辨是非 */
package/utils/warning.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-05-18 15:16:57 星期一 */
1
+ /* 潘启宝 2026-05-26 15:50:09 星期二 山东省济南市 */
2
2
  //#region components/common/utils/warning.ts
3
3
  function e(e, t, ...n) {}
4
4
  //#endregion