@unicom-cloud/ui-common 0.1.18 → 0.1.20

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