@unicom-cloud/ui-common 0.1.19 → 0.1.21

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