@unicom-cloud/ui-common 0.1.18 → 0.1.19

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