@unicom-cloud/ui-common 0.1.41 → 0.1.42

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