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