@unicom-cloud/ui-common 0.1.44 → 0.1.46

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 (338) hide show
  1. package/.virtual/_rolldown/runtime.js +1 -1
  2. package/animation/Animation.js +2 -2
  3. package/animation/constants.js +1 -1
  4. package/animation/context.js +1 -1
  5. package/animation/index.js +1 -1
  6. package/animation/style/index.js +1 -1
  7. package/animation/utils.js +1 -1
  8. package/base/Base.js +1 -1
  9. package/base/constants.js +1 -1
  10. package/base/context.js +1 -1
  11. package/base/index.js +1 -1
  12. package/base/style/index.js +1 -1
  13. package/base/utils.js +1 -1
  14. package/border-beam/BorderBeam.d.ts +6 -1
  15. package/border-beam/BorderBeam.js +2 -3
  16. package/border-beam/Effect.js +1 -1
  17. package/border-beam/constants.js +1 -1
  18. package/border-beam/context.js +1 -1
  19. package/border-beam/hooks/useBorderSize.js +1 -1
  20. package/border-beam/hooks/useChildDom.js +1 -1
  21. package/border-beam/index.d.ts +5 -0
  22. package/border-beam/index.js +1 -1
  23. package/border-beam/style/index.js +1 -1
  24. package/border-beam/utils.js +1 -1
  25. package/development/Development.d.ts +6 -1
  26. package/development/Development.js +2 -3
  27. package/development/constants.js +1 -1
  28. package/development/context.js +1 -1
  29. package/development/index.d.ts +5 -0
  30. package/development/index.js +1 -1
  31. package/development/style/index.js +1 -1
  32. package/development/utils.js +1 -1
  33. package/empty/Empty.d.ts +7 -1
  34. package/empty/Empty.js +2 -3
  35. package/empty/constants.js +1 -1
  36. package/empty/context.js +1 -1
  37. package/empty/index.d.ts +5 -0
  38. package/empty/index.js +1 -1
  39. package/empty/style/index.js +1 -1
  40. package/empty/utils.js +1 -1
  41. package/flex/Flex.d.ts +12 -2
  42. package/flex/Flex.js +35 -37
  43. package/flex/constants.js +1 -1
  44. package/flex/context.js +1 -1
  45. package/flex/index.d.ts +11 -1
  46. package/flex/index.js +1 -1
  47. package/flex/interface.d.ts +3 -12
  48. package/flex/style/index.js +1 -1
  49. package/flex/utils.js +2 -2
  50. package/higher-order/index.js +1 -1
  51. package/higher-order/with-speech-synthesis/context.js +1 -1
  52. package/higher-order/with-speech-synthesis/index.js +1 -1
  53. package/higher-order/with-speech-synthesis/style/index.js +1 -1
  54. package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +1 -1
  55. package/hoc/withContext.js +1 -1
  56. package/hooks/create-deep-compare-effect/index.js +1 -1
  57. package/hooks/create-update-effect/index.js +1 -1
  58. package/hooks/create-use-storage-state/index.js +1 -1
  59. package/hooks/index.js +1 -1
  60. package/hooks/use-async-effect/index.js +1 -1
  61. package/hooks/use-boolean/index.js +1 -1
  62. package/hooks/use-click-away/index.js +1 -1
  63. package/hooks/use-computed-state/index.js +1 -1
  64. package/hooks/use-controllable-value/index.js +1 -1
  65. package/hooks/use-cookie-state/index.js +1 -1
  66. package/hooks/use-count-down/index.js +1 -1
  67. package/hooks/use-counter/index.js +1 -1
  68. package/hooks/use-create/index.js +1 -1
  69. package/hooks/use-creation/index.js +1 -1
  70. package/hooks/use-debounce/index.js +1 -1
  71. package/hooks/use-debounce-effect/index.js +1 -1
  72. package/hooks/use-debounce-fn/index.js +1 -1
  73. package/hooks/use-deep-compare-effect/index.js +1 -1
  74. package/hooks/use-deep-compare-layout-effect/index.js +1 -1
  75. package/hooks/use-document-visibility/index.js +1 -1
  76. package/hooks/use-drag/index.js +1 -1
  77. package/hooks/use-drag-move/index.js +1 -1
  78. package/hooks/use-drop/index.js +1 -1
  79. package/hooks/use-effect-event/index.js +1 -1
  80. package/hooks/use-event/index.js +1 -1
  81. package/hooks/use-event-emitter/index.js +1 -1
  82. package/hooks/use-event-listener/index.js +1 -1
  83. package/hooks/use-event-target/index.js +1 -1
  84. package/hooks/use-external/index.js +1 -1
  85. package/hooks/use-favicon/index.js +1 -1
  86. package/hooks/use-focus-within/index.js +1 -1
  87. package/hooks/use-force-update/index.js +1 -1
  88. package/hooks/use-fullscreen/index.js +1 -1
  89. package/hooks/use-get-state/index.js +1 -1
  90. package/hooks/use-history-travel/index.js +1 -1
  91. package/hooks/use-hover/index.js +1 -1
  92. package/hooks/use-id/index.js +1 -1
  93. package/hooks/use-in-viewport/index.js +1 -1
  94. package/hooks/use-infinite-scroll/index.js +1 -1
  95. package/hooks/use-intersection-observer/index.js +1 -1
  96. package/hooks/use-intersection-observers/index.js +1 -1
  97. package/hooks/use-interval/index.js +1 -1
  98. package/hooks/use-is-first-render/index.js +1 -1
  99. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  100. package/hooks/use-key-press/index.js +1 -1
  101. package/hooks/use-keyboard-event/index.js +1 -1
  102. package/hooks/use-latest/index.js +1 -1
  103. package/hooks/use-listen-window-resize/index.js +1 -1
  104. package/hooks/use-local-storage-state/index.js +1 -1
  105. package/hooks/use-lock-fn/index.js +1 -1
  106. package/hooks/use-long-press/index.js +1 -1
  107. package/hooks/use-map/index.js +1 -1
  108. package/hooks/use-media/index.js +1 -1
  109. package/hooks/use-memo/index.js +1 -1
  110. package/hooks/use-memoized-fn/index.js +1 -1
  111. package/hooks/use-merge-props/index.js +1 -1
  112. package/hooks/use-merge-value/index.js +1 -1
  113. package/hooks/use-mobile/index.js +1 -1
  114. package/hooks/use-mount/index.js +1 -1
  115. package/hooks/use-mouse/index.js +1 -1
  116. package/hooks/use-move/index.js +1 -1
  117. package/hooks/use-mutation-observer/index.js +1 -1
  118. package/hooks/use-mutation-observers/index.js +1 -1
  119. package/hooks/use-network/index.js +1 -1
  120. package/hooks/use-online-status/index.js +1 -1
  121. package/hooks/use-overflow-hidden/index.js +1 -1
  122. package/hooks/use-override-ref/index.js +1 -1
  123. package/hooks/use-pagination/index.js +1 -1
  124. package/hooks/use-paste-image/index.js +1 -1
  125. package/hooks/use-persist-callback/index.js +1 -1
  126. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  127. package/hooks/use-previous/index.js +1 -1
  128. package/hooks/use-raf-interval/index.js +1 -1
  129. package/hooks/use-raf-state/index.js +1 -1
  130. package/hooks/use-raf-timeout/index.js +1 -1
  131. package/hooks/use-reactive/index.js +1 -1
  132. package/hooks/use-ref-latest/index.js +1 -1
  133. package/hooks/use-refs/index.js +1 -1
  134. package/hooks/use-request/index.js +1 -1
  135. package/hooks/use-request/src/Fetch.js +1 -1
  136. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  137. package/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
  138. package/hooks/use-request/src/plugins/useDebouncePlugin.js +29 -22
  139. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
  140. package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
  141. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
  142. package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
  143. package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
  144. package/hooks/use-request/src/useRequest.js +1 -1
  145. package/hooks/use-request/src/useRequestImplement.js +1 -1
  146. package/hooks/use-request/src/utils/cache.js +1 -1
  147. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  148. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  149. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  150. package/hooks/use-request/src/utils/isOnline.js +1 -1
  151. package/hooks/use-request/src/utils/limit.js +1 -1
  152. package/hooks/use-request/src/utils/subscribeFocus.js +2 -2
  153. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  154. package/hooks/use-reset-state/index.js +1 -1
  155. package/hooks/use-resize-observer/index.js +1 -1
  156. package/hooks/use-resize-observers/index.js +1 -1
  157. package/hooks/use-responsive/index.js +1 -1
  158. package/hooks/use-safe-state/index.js +1 -1
  159. package/hooks/use-scroll/index.js +1 -1
  160. package/hooks/use-selections/index.js +1 -1
  161. package/hooks/use-session-storage-state/index.js +1 -1
  162. package/hooks/use-set/index.js +1 -1
  163. package/hooks/use-set-state/index.js +1 -1
  164. package/hooks/use-size/index.js +1 -1
  165. package/hooks/use-state-callback/index.js +1 -1
  166. package/hooks/use-state-with-promise/index.js +1 -1
  167. package/hooks/use-sync-state/index.js +1 -1
  168. package/hooks/use-text-selection/index.js +1 -1
  169. package/hooks/use-theme/index.js +1 -1
  170. package/hooks/use-throttle/index.js +1 -1
  171. package/hooks/use-throttle-effect/index.js +1 -1
  172. package/hooks/use-throttle-fn/index.js +1 -1
  173. package/hooks/use-throttle-fn-with-raf/index.js +1 -1
  174. package/hooks/use-timeout/index.js +1 -1
  175. package/hooks/use-title/index.js +1 -1
  176. package/hooks/use-toggle/index.js +1 -1
  177. package/hooks/use-tracked-effect/index.js +1 -1
  178. package/hooks/use-unmount/index.js +1 -1
  179. package/hooks/use-unmounted-ref/index.js +1 -1
  180. package/hooks/use-update/index.js +1 -1
  181. package/hooks/use-update-effect/index.js +1 -1
  182. package/hooks/use-update-layout-effect/index.js +1 -1
  183. package/hooks/use-url-state/index.js +1 -1
  184. package/hooks/use-virtual-list/index.js +1 -1
  185. package/hooks/use-watch/index.js +1 -1
  186. package/hooks/use-web-socket/index.js +1 -1
  187. package/hooks/use-why-did-you-update/index.js +1 -1
  188. package/hooks/use-window-size/index.js +1 -1
  189. package/hooks/utils/createEffectWithTarget.js +1 -1
  190. package/hooks/utils/depsAreSame.js +1 -1
  191. package/hooks/utils/depsEqual.js +1 -1
  192. package/hooks/utils/domTarget.js +1 -1
  193. package/hooks/utils/getDocumentOrShadow.js +1 -1
  194. package/hooks/utils/index.js +1 -1
  195. package/hooks/utils/isAppleDevice.js +1 -1
  196. package/hooks/utils/isBrowser.js +1 -1
  197. package/hooks/utils/isDev.js +1 -1
  198. package/hooks/utils/rect.js +1 -1
  199. package/hooks/utils/useDeepCompareWithTarget.js +1 -1
  200. package/hooks/utils/useEffectWithTarget.js +1 -1
  201. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  202. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  203. package/icons/file/File.d.ts +6 -1
  204. package/icons/file/File.js +2 -3
  205. package/icons/file/context.js +1 -1
  206. package/icons/file/index.d.ts +5 -0
  207. package/icons/file/index.js +1 -1
  208. package/icons/file/style/index.js +1 -1
  209. package/index.js +632 -630
  210. package/package.json +1 -1
  211. package/progress/Progress.js +1 -1
  212. package/progress/constants.js +1 -1
  213. package/progress/index.js +1 -1
  214. package/progress/style/index.js +1 -1
  215. package/progress/utils.js +1 -1
  216. package/resize-observer/Collection.js +1 -1
  217. package/resize-observer/ResizeObserver.d.ts +6 -1
  218. package/resize-observer/ResizeObserver.js +2 -3
  219. package/resize-observer/SingleObserver.js +20 -17
  220. package/resize-observer/constants.js +1 -1
  221. package/resize-observer/context.js +1 -1
  222. package/resize-observer/index.d.ts +5 -0
  223. package/resize-observer/index.js +1 -1
  224. package/resize-observer/observerUtil.js +1 -1
  225. package/resize-observer/style/index.js +1 -1
  226. package/resize-observer/utils.js +1 -1
  227. package/space/Space.d.ts +12 -2
  228. package/space/Space.js +43 -50
  229. package/space/constants.js +1 -1
  230. package/space/context.js +1 -1
  231. package/space/index.d.ts +11 -1
  232. package/space/index.js +1 -1
  233. package/space/interface.d.ts +2 -15
  234. package/space/style/index.js +1 -1
  235. package/space/utils.js +1 -1
  236. package/suspense-fallback-test/SuspenseFallbackTest.d.ts +6 -1
  237. package/suspense-fallback-test/SuspenseFallbackTest.js +2 -3
  238. package/suspense-fallback-test/constants.js +1 -1
  239. package/suspense-fallback-test/context.js +1 -1
  240. package/suspense-fallback-test/index.d.ts +5 -0
  241. package/suspense-fallback-test/index.js +1 -1
  242. package/suspense-fallback-test/style/index.js +1 -1
  243. package/suspense-fallback-test/utils.js +1 -1
  244. package/test.js +1 -1
  245. package/timer/Timer.d.ts +6 -1
  246. package/timer/Timer.js +2 -3
  247. package/timer/constants.js +1 -1
  248. package/timer/context.js +1 -1
  249. package/timer/index.d.ts +5 -0
  250. package/timer/index.js +1 -1
  251. package/timer/style/index.js +1 -1
  252. package/timer/utils.js +1 -1
  253. package/transition/Transition.js +1 -1
  254. package/transition/TransitionCSS.js +1 -1
  255. package/transition/TransitionGroup.js +1 -1
  256. package/transition/TransitionStyle.js +1 -1
  257. package/transition/constants.js +1 -1
  258. package/transition/context.js +1 -1
  259. package/transition/index.js +1 -1
  260. package/transition/style/index.js +1 -1
  261. package/transition/utils.js +1 -1
  262. package/typewriter/Typewriter.d.ts +6 -1
  263. package/typewriter/Typewriter.js +2 -3
  264. package/typewriter/constants.js +1 -1
  265. package/typewriter/context.js +1 -1
  266. package/typewriter/index.d.ts +5 -0
  267. package/typewriter/index.js +1 -1
  268. package/typewriter/style/index.js +1 -1
  269. package/typewriter/utils.js +1 -1
  270. package/utils/callOrReturn.js +1 -1
  271. package/utils/callbackOriginRef.js +1 -1
  272. package/utils/caseName.js +1 -1
  273. package/utils/className.js +1 -1
  274. package/utils/constants.js +1 -1
  275. package/utils/copy.js +1 -1
  276. package/utils/css.js +1 -1
  277. package/utils/date.js +1 -1
  278. package/utils/dayjs.js +1 -1
  279. package/utils/document.js +1 -1
  280. package/utils/dom.d.ts +14 -4
  281. package/utils/dom.js +21 -10
  282. package/utils/emitter.js +1 -1
  283. package/utils/file.js +1 -1
  284. package/utils/fileRead.js +1 -1
  285. package/utils/fileToDataURL.js +1 -1
  286. package/utils/fillNBSP.js +1 -1
  287. package/utils/getElement.js +5 -5
  288. package/utils/getHighlightText.js +1 -1
  289. package/utils/getHotkeyHandler.js +1 -1
  290. package/utils/getScrollBarHeight.js +1 -1
  291. package/utils/getScrollBarSize.js +1 -1
  292. package/utils/getScrollBarWidth.js +1 -1
  293. package/utils/getScrollParent.js +1 -1
  294. package/utils/getStringLength.js +1 -1
  295. package/utils/include.js +1 -1
  296. package/utils/index.js +332 -330
  297. package/utils/initAllLineClamp.js +1 -1
  298. package/utils/intersectionObserver.js +1 -1
  299. package/utils/is.d.ts +2 -2
  300. package/utils/is.js +126 -127
  301. package/utils/keyboardCode.js +1 -1
  302. package/utils/lodash.d.ts +2 -1
  303. package/utils/lodash.js +72 -71
  304. package/utils/math.js +1 -1
  305. package/utils/mergeProps.js +1 -1
  306. package/utils/mergedToString.js +1 -1
  307. package/utils/mutationObserver.js +1 -1
  308. package/utils/names.js +1 -1
  309. package/utils/object.js +1 -1
  310. package/utils/omit.js +1 -1
  311. package/utils/pad.js +1 -1
  312. package/utils/pick.js +1 -1
  313. package/utils/pinyin.js +1 -1
  314. package/utils/react19Adapter.js +1 -1
  315. package/utils/reactNode.js +1 -1
  316. package/utils/ref.js +1 -1
  317. package/utils/resizeObserver.js +1 -1
  318. package/utils/saveAs.js +1 -1
  319. package/utils/screenfull.js +1 -1
  320. package/utils/scrollIntoViewIfNeeded.js +1 -1
  321. package/utils/scrollTo.js +1 -1
  322. package/utils/setCreateRoot.js +1 -1
  323. package/utils/setDarkTheme.js +1 -1
  324. package/utils/setDir.js +1 -1
  325. package/utils/setPrimaryColor.js +1 -1
  326. package/utils/setTheme.js +1 -1
  327. package/utils/string.js +1 -1
  328. package/utils/style.js +1 -1
  329. package/utils/tinycolor.js +1 -1
  330. package/utils/toArray.js +1 -1
  331. package/utils/tree.js +1 -1
  332. package/utils/tunnel.js +1 -1
  333. package/utils/tween.js +1 -1
  334. package/utils/uuid.js +1 -1
  335. package/utils/validate.js +1 -1
  336. package/utils/warning.js +1 -1
  337. package/version/index.js +6 -6
  338. /package/{suspense-fallback-test → base}/style/index.css +0 -0
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { getHead as e } from "./dom.js";
3
3
  import { uuid as t } from "./uuid.js";
4
4
  import { UI_COMMON_PREFIX as n } from "@unicom-cloud/utils/constants/ui";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
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,4 +1,4 @@
1
- import { is32Bit, isAllChinese, isArguments, isArray, isArrayAndNotEmpty, isArrayBuffer, isArrayEmpty, isArrayLike, isArrayLikeObject, isAscii, isAsyncFunction, isBase64, isBigInt, isBlob, isBoolean, isBuffer, isChinese, isColorValue, isColorValue_, isDataURI, isDate, isElement, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEmptyValue, isEqual, isEqualWith, isError, isEventTarget, isExist, isFalse, isFile, isFinite, isFullWidth, isFunction, isHSL, isHalfWidth, isHash, isHexColor, isIMEI, isIP, isIPRange, isIdentityCard, isInteger, isJSON, isJSON_String, isJWT, isLength, isMACAddress, isMD5, isMap, isMatch, isMatchWith, isMimeType, isMobilePhone, isMobilePhoneLocales, isNaN, isNative, isNil, isNonNullable, isNotFound, isNull, isNullOrUndefined, isNumber, isNumberOrString, isObject, isObjectLike, isPlainObject, isPort, isPresent, isPrimitive, isPromise, isReadableStream, isRegExp, isRgbColor, isSafeInteger, isSemVer, isSet, isSlug, isSparseArray, isString, isStringAndExist, isStringOrNumber, isStrongPassword, isSymbol, isThenable, isTrue, isTypedArray, isURL, isUUID, isUndefined, isUndefinedOrNull, isVariableWidth, isWeakMap, isWeakSet, isWindow, isZero } 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, isEmptyString, isEmptyValue, isEqual, isEqualWith, isError, isEventTarget, isExist, isFalse, isFile, isFinite, isFullWidth, isFunction, isHSL, isHalfWidth, isHash, isHexColor, isIMEI, isIP, isIPRange, isIdentityCard, isInteger, isJSON, isJSON_String, isJWT, isLength, isMACAddress, isMD5, isMap, isMatch, isMatchWith, isMimeType, isMobilePhone, isMobilePhoneLocales, isNaN, isNative, isNil, isNonNullable, isNotFound, isNull, isNullOrUndefined, isNumber, isNumberOrString, isObject, isObjectLike, isPlainObject, isPort, isPresent, isPrimitive, isPromise, isReadableStream, isRegExp, isRgbColor, isSafeInteger, isSemVer, isSet, isSlug, isSparseArray, isString, isStringAndExist, isStringOrNumber, isStrongPassword, isSymbol, isThenable, isTrue, isTypedArray, isURL, isUUID, isUndefined, isUndefinedOrNull, isVariableWidth, isWeakMap, isWeakSet, isWindow, isZero } from '@unicom-cloud/utils/is';
2
2
  import { isDayjs } from 'dayjs';
3
3
  import React from 'react';
4
4
  declare const isServerRendering: boolean;
@@ -11,4 +11,4 @@ export declare function isReactFunctionalComponent(Component: any): boolean;
11
11
  export declare function isCompositeTypeElement(element: any): boolean;
12
12
  export declare function isEmptyChildren(children: any): boolean;
13
13
  export * from '@unicom-cloud/utils/is';
14
- export { is32Bit, isAllChinese, isArguments, isArray, isArrayAndNotEmpty, isArrayBuffer, isArrayEmpty, isArrayLike, isArrayLikeObject, isAscii, isAsyncFunction, isBase64, isBigInt, isBlob, isBoolean, isBuffer, isChinese, isColorValue, isColorValue_, isDataURI, isDate, isDayjs, isElement, isEmail, isEmpty, isEmptyArray, isEmptyObject, isEmptyString, isEmptyValue, isEqual, isEqualWith, isError, isEventTarget, isExist, isFalse, isFile, isFinite, isFullWidth, isFunction, isHSL, isHalfWidth, isHash, isHexColor, isIMEI, isIP, isIPRange, isIdentityCard, isInteger, isJSON, isJSON_String, isJWT, isLength, isMACAddress, isMD5, isMap, isMatch, isMatchWith, isMimeType, isMobilePhone, isMobilePhoneLocales, isNaN, isNative, isNil, isNonNullable, isNotFound, isNull, isNullOrUndefined, isNumber, isNumberOrString, isObject, isObjectLike, isPlainObject, isPort, isPresent, isPrimitive, isPromise, isReact18, isReact19, isReadableStream, isRegExp, isRgbColor, isSafeInteger, isSemVer, isServerRendering, isSet, isSlug, isSparseArray, isString, isStringAndExist, isStringOrNumber, isStrongPassword, isSymbol, isThenable, isTrue, isTypedArray, isURL, isUUID, isUndefined, isUndefinedOrNull, isVariableWidth, isWeakMap, isWeakSet, isWindow, isZero, };
14
+ 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, isEmptyString, isEmptyValue, isEqual, isEqualWith, isError, isEventTarget, isExist, isFalse, isFile, isFinite, isFullWidth, isFunction, isHSL, isHalfWidth, isHash, isHexColor, isIMEI, isIP, isIPRange, isIdentityCard, isInteger, isJSON, isJSON_String, isJWT, isLength, isMACAddress, isMD5, isMap, isMatch, isMatchWith, isMimeType, isMobilePhone, isMobilePhoneLocales, isNaN, isNative, isNil, isNonNullable, isNotFound, isNull, isNullOrUndefined, isNumber, isNumberOrString, isObject, isObjectLike, isPlainObject, isPort, isPresent, isPrimitive, isPromise, isReact18, isReact19, isReadableStream, isRegExp, isRgbColor, isSafeInteger, isSemVer, isServerRendering, isSet, isSlug, isSparseArray, isString, isStringAndExist, isStringOrNumber, isStrongPassword, isSymbol, isThenable, isTrue, isTypedArray, isURL, isUUID, isUndefined, isUndefinedOrNull, isVariableWidth, isWeakMap, isWeakSet, isWindow, isZero, };
package/utils/is.js CHANGED
@@ -1,25 +1,25 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
2
- import { __exportAll as e, __reExport as t } from "../.virtual/_rolldown/runtime.js";
3
- import n, { isValidElement as r } from "react";
4
- import { isBrowser as i } from "@unicom-cloud/utils/constants/platform";
5
- import { is32Bit as a, isAllChinese as o, isArguments as s, isArray as ee, isArrayAndNotEmpty as te, isArrayBuffer as ne, isArrayEmpty as re, isArrayLike as c, isArrayLikeObject as l, isAscii as u, isAsyncFunction as ie, isBase64 as d, isBigInt as f, isBlob as p, isBoolean as m, isBuffer as h, isChinese as g, isColorValue as _, isColorValue_ as v, isDataURI as y, isDate as b, isElement as x, isEmail as S, isEmpty as C, isEmptyArray as w, isEmptyObject as T, isEmptyString as E, isEmptyValue as D, isEqual as O, isEqualWith as k, isError as A, isEventTarget as j, isExist as M, isFalse as N, isFile as P, isFinite as F, isFullWidth as I, isFunction as L, isHSL as R, isHalfWidth as z, isHash as B, isHexColor as V, isIMEI as H, isIP as U, isIPRange as W, isIdentityCard as G, isInteger as K, isJSON as q, isJSON_String as J, isJWT as Y, isLength as ae, isMACAddress as oe, isMD5 as se, isMap as ce, isMatch as le, isMatchWith as ue, isMimeType as de, isMobilePhone as fe, isMobilePhoneLocales as pe, isNaN as X, isNative as me, isNil as he, isNonNullable as ge, isNotFound as _e, isNull as ve, isNullOrUndefined as Z, isNumber as ye, isNumberOrString as be, isObject as xe, isObjectLike as Se, isPlainObject as Ce, isPort as we, isPresent as Te, isPrimitive as Ee, isPromise as De, isReadableStream as Oe, isRegExp as ke, isRgbColor as Ae, isSafeInteger as je, isSemVer as Me, isSet as Ne, isSlug as Pe, isSparseArray as Fe, isString as Q, isStringAndExist as Ie, isStringOrNumber as Le, isStrongPassword as Re, isSymbol as ze, isThenable as Be, isTrue as Ve, isTypedArray as He, isURL as Ue, isUUID as We, isUndefined as Ge, isUndefinedOrNull as Ke, isVariableWidth as qe, isWeakMap as Je, isWeakSet as Ye, isWindow as Xe, isZero as Ze } from "@unicom-cloud/utils/is";
6
- import { isDayjs as Qe } from "dayjs";
7
- import $e from "react-dom";
8
- import { isFragment as et } from "react-is";
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
+ import { __exportAll as e, __reExport as ee } from "../.virtual/_rolldown/runtime.js";
3
+ import t, { isValidElement as n } from "react";
4
+ import { isBrowser as r } from "@unicom-cloud/utils/constants/platform";
5
+ import { is32Bit as i, isAllChinese as a, isArguments as o, isArray as te, isArrayAndNotEmpty as ne, isArrayBuffer as re, isArrayEmpty as ie, isArrayLike as s, isArrayLikeObject as c, isAscii as l, isAsyncFunction as u, isBase64 as d, isBigInt as f, isBlob as p, isBoolean as m, isBuffer as h, isChinese as g, isColorValue as _, isDataURI as v, isDate as y, isElement as b, isEmail as x, isEmpty as S, isEmptyArray as C, isEmptyObject as w, isEmptyString as T, isEmptyValue as E, isEqual as D, isEqualWith as O, isError as k, isEventTarget as A, isExist as j, isFalse as M, isFile as N, isFinite as P, isFullWidth as F, isFunction as I, isHSL as L, isHalfWidth as R, isHash as z, isHexColor as B, isIMEI as V, isIP as H, isIPRange as U, isIdentityCard as W, isInteger as G, isJSON as K, isJSON_String as q, isJWT as J, isLength as Y, isMACAddress as ae, isMD5 as oe, isMap as se, isMatch as ce, isMatchWith as le, isMimeType as X, isMobilePhone as ue, isMobilePhoneLocales as de, isNaN as fe, isNative as pe, isNil as me, isNonNullable as he, isNotFound as ge, isNull as _e, isNullOrUndefined as Z, isNumber as ve, isNumberOrString as ye, isObject as be, isObjectLike as xe, isPlainObject as Se, isPort as Ce, isPresent as we, isPrimitive as Te, isPromise as Ee, isReadableStream as De, isRegExp as Oe, isRgbColor as ke, isSafeInteger as Ae, isSemVer as je, isSet as Me, isSlug as Ne, isSparseArray as Pe, isString as Q, isStringAndExist as Fe, isStringOrNumber as Ie, isStrongPassword as Le, isSymbol as Re, isThenable as ze, isTrue as Be, isTypedArray as Ve, isURL as He, isUUID as Ue, isUndefined as We, isUndefinedOrNull as Ge, isVariableWidth as Ke, isWeakMap as qe, isWeakSet as Je, isWindow as Ye, isZero as Xe } from "@unicom-cloud/utils/is";
6
+ import { isDayjs as Ze } from "dayjs";
7
+ import Qe from "react-dom";
8
+ import { isFragment as $e } from "react-is";
9
9
  export * from "@unicom-cloud/utils/is";
10
10
  //#region components/common/utils/is.ts
11
- var tt = /* @__PURE__ */ e({
12
- is32Bit: () => a,
13
- isAllChinese: () => o,
14
- isArguments: () => s,
15
- isArray: () => ee,
16
- isArrayAndNotEmpty: () => te,
17
- isArrayBuffer: () => ne,
18
- isArrayEmpty: () => re,
19
- isArrayLike: () => c,
20
- isArrayLikeObject: () => l,
21
- isAscii: () => u,
22
- isAsyncFunction: () => ie,
11
+ var et = /* @__PURE__ */ e({
12
+ is32Bit: () => i,
13
+ isAllChinese: () => a,
14
+ isArguments: () => o,
15
+ isArray: () => te,
16
+ isArrayAndNotEmpty: () => ne,
17
+ isArrayBuffer: () => re,
18
+ isArrayEmpty: () => ie,
19
+ isArrayLike: () => s,
20
+ isArrayLikeObject: () => c,
21
+ isAscii: () => l,
22
+ isAsyncFunction: () => u,
23
23
  isBase64: () => d,
24
24
  isBigInt: () => f,
25
25
  isBlob: () => p,
@@ -27,127 +27,126 @@ var tt = /* @__PURE__ */ e({
27
27
  isBuffer: () => h,
28
28
  isChinese: () => g,
29
29
  isColorValue: () => _,
30
- isColorValue_: () => v,
31
- isCompositeTypeElement: () => ut,
32
- isDataURI: () => y,
33
- isDate: () => b,
34
- isDayjs: () => Qe,
35
- isElement: () => x,
36
- isEmail: () => S,
37
- isEmpty: () => C,
38
- isEmptyArray: () => w,
39
- isEmptyChildren: () => dt,
40
- isEmptyObject: () => T,
41
- isEmptyReactNode: () => ot,
42
- isEmptyString: () => E,
43
- isEmptyValue: () => D,
44
- isEqual: () => O,
45
- isEqualWith: () => k,
46
- isError: () => A,
47
- isEventTarget: () => j,
48
- isExist: () => M,
49
- isFalse: () => N,
50
- isFile: () => P,
51
- isFinite: () => F,
52
- isFullWidth: () => I,
53
- isFunction: () => L,
54
- isHSL: () => R,
55
- isHalfWidth: () => z,
56
- isHash: () => B,
57
- isHexColor: () => V,
58
- isIMEI: () => H,
59
- isIP: () => U,
60
- isIPRange: () => W,
61
- isIdentityCard: () => G,
62
- isInteger: () => K,
63
- isJSON: () => q,
64
- isJSON_String: () => J,
65
- isJWT: () => Y,
66
- isLength: () => ae,
67
- isMACAddress: () => oe,
68
- isMD5: () => se,
69
- isMap: () => ce,
70
- isMatch: () => le,
71
- isMatchWith: () => ue,
72
- isMimeType: () => de,
73
- isMobilePhone: () => fe,
74
- isMobilePhoneLocales: () => pe,
75
- isNaN: () => X,
76
- isNative: () => me,
77
- isNil: () => he,
78
- isNonNullable: () => ge,
79
- isNotFound: () => _e,
80
- isNull: () => ve,
30
+ isCompositeTypeElement: () => lt,
31
+ isDataURI: () => v,
32
+ isDate: () => y,
33
+ isDayjs: () => Ze,
34
+ isElement: () => b,
35
+ isEmail: () => x,
36
+ isEmpty: () => S,
37
+ isEmptyArray: () => C,
38
+ isEmptyChildren: () => ut,
39
+ isEmptyObject: () => w,
40
+ isEmptyReactNode: () => at,
41
+ isEmptyString: () => T,
42
+ isEmptyValue: () => E,
43
+ isEqual: () => D,
44
+ isEqualWith: () => O,
45
+ isError: () => k,
46
+ isEventTarget: () => A,
47
+ isExist: () => j,
48
+ isFalse: () => M,
49
+ isFile: () => N,
50
+ isFinite: () => P,
51
+ isFullWidth: () => F,
52
+ isFunction: () => I,
53
+ isHSL: () => L,
54
+ isHalfWidth: () => R,
55
+ isHash: () => z,
56
+ isHexColor: () => B,
57
+ isIMEI: () => V,
58
+ isIP: () => H,
59
+ isIPRange: () => U,
60
+ isIdentityCard: () => W,
61
+ isInteger: () => G,
62
+ isJSON: () => K,
63
+ isJSON_String: () => q,
64
+ isJWT: () => J,
65
+ isLength: () => Y,
66
+ isMACAddress: () => ae,
67
+ isMD5: () => oe,
68
+ isMap: () => se,
69
+ isMatch: () => ce,
70
+ isMatchWith: () => le,
71
+ isMimeType: () => X,
72
+ isMobilePhone: () => ue,
73
+ isMobilePhoneLocales: () => de,
74
+ isNaN: () => fe,
75
+ isNative: () => pe,
76
+ isNil: () => me,
77
+ isNonNullable: () => he,
78
+ isNotFound: () => ge,
79
+ isNull: () => _e,
81
80
  isNullOrUndefined: () => Z,
82
- isNumber: () => ye,
83
- isNumberOrString: () => be,
84
- isObject: () => xe,
85
- isObjectLike: () => Se,
86
- isPlainObject: () => Ce,
87
- isPort: () => we,
88
- isPresent: () => Te,
89
- isPrimitive: () => Ee,
90
- isPromise: () => De,
91
- isReact18: () => it,
92
- isReact19: () => at,
93
- isReactClassComponent: () => ct,
81
+ isNumber: () => ve,
82
+ isNumberOrString: () => ye,
83
+ isObject: () => be,
84
+ isObjectLike: () => xe,
85
+ isPlainObject: () => Se,
86
+ isPort: () => Ce,
87
+ isPresent: () => we,
88
+ isPrimitive: () => Te,
89
+ isPromise: () => Ee,
90
+ isReact18: () => rt,
91
+ isReact19: () => it,
92
+ isReactClassComponent: () => st,
94
93
  isReactComponent: () => $,
95
- isReactComponentAndNotFragment: () => st,
96
- isReactFunctionalComponent: () => lt,
97
- isReadableStream: () => Oe,
98
- isRegExp: () => ke,
99
- isRgbColor: () => Ae,
100
- isSafeInteger: () => je,
101
- isSemVer: () => Me,
102
- isServerRendering: () => rt,
103
- isSet: () => Ne,
104
- isSlug: () => Pe,
105
- isSparseArray: () => Fe,
94
+ isReactComponentAndNotFragment: () => ot,
95
+ isReactFunctionalComponent: () => ct,
96
+ isReadableStream: () => De,
97
+ isRegExp: () => Oe,
98
+ isRgbColor: () => ke,
99
+ isSafeInteger: () => Ae,
100
+ isSemVer: () => je,
101
+ isServerRendering: () => nt,
102
+ isSet: () => Me,
103
+ isSlug: () => Ne,
104
+ isSparseArray: () => Pe,
106
105
  isString: () => Q,
107
- isStringAndExist: () => Ie,
108
- isStringOrNumber: () => Le,
109
- isStrongPassword: () => Re,
110
- isSymbol: () => ze,
111
- isThenable: () => Be,
112
- isTrue: () => Ve,
113
- isTypedArray: () => He,
114
- isURL: () => Ue,
115
- isUUID: () => We,
116
- isUndefined: () => Ge,
117
- isUndefinedOrNull: () => Ke,
118
- isVariableWidth: () => qe,
119
- isWeakMap: () => Je,
120
- isWeakSet: () => Ye,
121
- isWindow: () => Xe,
122
- isZero: () => Ze
106
+ isStringAndExist: () => Fe,
107
+ isStringOrNumber: () => Ie,
108
+ isStrongPassword: () => Le,
109
+ isSymbol: () => Re,
110
+ isThenable: () => ze,
111
+ isTrue: () => Be,
112
+ isTypedArray: () => Ve,
113
+ isURL: () => He,
114
+ isUUID: () => Ue,
115
+ isUndefined: () => We,
116
+ isUndefinedOrNull: () => Ge,
117
+ isVariableWidth: () => Ke,
118
+ isWeakMap: () => qe,
119
+ isWeakSet: () => Je,
120
+ isWindow: () => Ye,
121
+ isZero: () => Xe
123
122
  });
124
- import * as nt from "@unicom-cloud/utils/is";
125
- t(tt, nt);
126
- var rt = !i, [it, at] = [18, 19].map((e, t, r) => {
127
- let i = n.version || $e.version || "", a = /\d+/.exec(i)?.[0] ?? "";
128
- return e <= parseFloat(a);
123
+ import * as tt from "@unicom-cloud/utils/is";
124
+ ee(et, tt);
125
+ var nt = !r, [rt, it] = [18, 19].map((e, ee, n) => {
126
+ let r = t.version || Qe.version || "", i = /\d+/.exec(r)?.[0] ?? "";
127
+ return e <= parseFloat(i);
129
128
  });
130
- function ot(e, t) {
131
- return !!(Z(e) || N(e) || Q(e) && E(t ? e.trim() : e) || w(e));
129
+ function at(e, ee) {
130
+ return !!(Z(e) || M(e) || Q(e) && T(ee ? e.trim() : e) || C(e));
132
131
  }
133
- function st(e) {
134
- return r(e) && !et(e);
132
+ function ot(e) {
133
+ return n(e) && !$e(e);
135
134
  }
136
135
  function $(e) {
137
- return r(e) && L(e.type);
136
+ return n(e) && I(e.type);
138
137
  }
139
- function ct(e) {
138
+ function st(e) {
140
139
  return $(e) && !!e.type?.prototype?.isReactComponent;
141
140
  }
141
+ function ct(e) {
142
+ return I(e) && !e.prototype?.isReactComponent;
143
+ }
142
144
  function lt(e) {
143
- return L(e) && !e.prototype?.isReactComponent;
145
+ return n(e) && I(e.type);
144
146
  }
145
147
  function ut(e) {
146
- return r(e) && L(e.type);
147
- }
148
- function dt(e) {
149
- return n.Children.count(e) === 0;
148
+ return t.Children.count(e) === 0;
150
149
  }
151
150
  //#endregion
152
- export { a as is32Bit, o as isAllChinese, s as isArguments, ee as isArray, te as isArrayAndNotEmpty, ne as isArrayBuffer, re as isArrayEmpty, c as isArrayLike, l as isArrayLikeObject, u as isAscii, ie as isAsyncFunction, d as isBase64, f as isBigInt, p as isBlob, m as isBoolean, h as isBuffer, g as isChinese, _ as isColorValue, v as isColorValue_, ut as isCompositeTypeElement, y as isDataURI, b as isDate, Qe as isDayjs, x as isElement, S as isEmail, C as isEmpty, w as isEmptyArray, dt as isEmptyChildren, T as isEmptyObject, ot as isEmptyReactNode, E as isEmptyString, D as isEmptyValue, O as isEqual, k as isEqualWith, A as isError, j as isEventTarget, M as isExist, N as isFalse, P as isFile, F as isFinite, I as isFullWidth, L as isFunction, R as isHSL, z as isHalfWidth, B as isHash, V as isHexColor, H as isIMEI, U as isIP, W as isIPRange, G as isIdentityCard, K as isInteger, q as isJSON, J as isJSON_String, Y as isJWT, ae as isLength, oe as isMACAddress, se as isMD5, ce as isMap, le as isMatch, ue as isMatchWith, de as isMimeType, fe as isMobilePhone, pe as isMobilePhoneLocales, X as isNaN, me as isNative, he as isNil, ge as isNonNullable, _e as isNotFound, ve as isNull, Z as isNullOrUndefined, ye as isNumber, be as isNumberOrString, xe as isObject, Se as isObjectLike, Ce as isPlainObject, we as isPort, Te as isPresent, Ee as isPrimitive, De as isPromise, it as isReact18, at as isReact19, ct as isReactClassComponent, $ as isReactComponent, st as isReactComponentAndNotFragment, lt as isReactFunctionalComponent, Oe as isReadableStream, ke as isRegExp, Ae as isRgbColor, je as isSafeInteger, Me as isSemVer, rt as isServerRendering, Ne as isSet, Pe as isSlug, Fe as isSparseArray, Q as isString, Ie as isStringAndExist, Le as isStringOrNumber, Re as isStrongPassword, ze as isSymbol, Be as isThenable, Ve as isTrue, He as isTypedArray, Ue as isURL, We as isUUID, Ge as isUndefined, Ke as isUndefinedOrNull, qe as isVariableWidth, Je as isWeakMap, Ye as isWeakSet, Xe as isWindow, Ze as isZero, tt as is_exports };
151
+ export { i as is32Bit, a as isAllChinese, o as isArguments, te as isArray, ne as isArrayAndNotEmpty, re as isArrayBuffer, ie as isArrayEmpty, s as isArrayLike, c as isArrayLikeObject, l as isAscii, u as isAsyncFunction, d as isBase64, f as isBigInt, p as isBlob, m as isBoolean, h as isBuffer, g as isChinese, _ as isColorValue, lt as isCompositeTypeElement, v as isDataURI, y as isDate, Ze as isDayjs, b as isElement, x as isEmail, S as isEmpty, C as isEmptyArray, ut as isEmptyChildren, w as isEmptyObject, at as isEmptyReactNode, T as isEmptyString, E as isEmptyValue, D as isEqual, O as isEqualWith, k as isError, A as isEventTarget, j as isExist, M as isFalse, N as isFile, P as isFinite, F as isFullWidth, I as isFunction, L as isHSL, R as isHalfWidth, z as isHash, B as isHexColor, V as isIMEI, H as isIP, U as isIPRange, W as isIdentityCard, G as isInteger, K as isJSON, q as isJSON_String, J as isJWT, Y as isLength, ae as isMACAddress, oe as isMD5, se as isMap, ce as isMatch, le as isMatchWith, X as isMimeType, ue as isMobilePhone, de as isMobilePhoneLocales, fe as isNaN, pe as isNative, me as isNil, he as isNonNullable, ge as isNotFound, _e as isNull, Z as isNullOrUndefined, ve as isNumber, ye as isNumberOrString, be as isObject, xe as isObjectLike, Se as isPlainObject, Ce as isPort, we as isPresent, Te as isPrimitive, Ee as isPromise, rt as isReact18, it as isReact19, st as isReactClassComponent, $ as isReactComponent, ot as isReactComponentAndNotFragment, ct as isReactFunctionalComponent, De as isReadableStream, Oe as isRegExp, ke as isRgbColor, Ae as isSafeInteger, je as isSemVer, nt as isServerRendering, Me as isSet, Ne as isSlug, Pe as isSparseArray, Q as isString, Fe as isStringAndExist, Ie as isStringOrNumber, Le as isStrongPassword, Re as isSymbol, ze as isThenable, Be as isTrue, Ve as isTypedArray, He as isURL, Ue as isUUID, We as isUndefined, Ge as isUndefinedOrNull, Ke as isVariableWidth, qe as isWeakMap, Je as isWeakSet, Ye as isWindow, Xe as isZero, et as is_exports };
153
152
  /* 独立思考,明辨是非 */
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import * as e from "@unicom-cloud/utils/constants/keyboardCode";
3
3
  export * from "@unicom-cloud/utils/constants/keyboardCode";
4
4
  //#region components/common/utils/keyboardCode.ts
package/utils/lodash.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import move from '@unicom-cloud/utils/lodash/move';
2
+ import swap, { toSwapped } from '@unicom-cloud/utils/lodash/swap';
2
3
  import assign from 'lodash/assign';
3
4
  import assignIn from 'lodash/assignIn';
4
5
  import at from 'lodash/at';
@@ -70,4 +71,4 @@ import upperFirst from 'lodash/upperFirst';
70
71
  import without from 'lodash/without';
71
72
  import xor from 'lodash/xor';
72
73
  import zip from 'lodash/zip';
73
- export { assign, assignIn, at, camelCase, capitalize, castArray, chain, chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, compact, curry, debounce, defaults, defaultsDeep, defaultTo, difference, escape, findKey, flatten, flattenDeep, flow, get, groupBy, has, hasIn, intersection, invert, invertBy, invoke, kebabCase, mapKeys, mapValues, mean, memoize, merge, mergeWith, move, noop, omit, omitBy, orderBy, partition, pick, pickBy, pullAll, result, sample, sampleSize, set, setWith, shuffle, snakeCase, sortBy, startCase, throttle, toPath, truncate, union, uniq, uniqueId, unset, update, updateWith, upperCase, upperFirst, without, xor, zip, };
74
+ export { assign, assignIn, at, camelCase, capitalize, castArray, chain, chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, compact, curry, debounce, defaults, defaultsDeep, defaultTo, difference, escape, findKey, flatten, flattenDeep, flow, get, groupBy, has, hasIn, intersection, invert, invertBy, invoke, kebabCase, mapKeys, mapValues, mean, memoize, merge, mergeWith, move, noop, omit, omitBy, orderBy, partition, pick, pickBy, pullAll, result, sample, sampleSize, set, setWith, shuffle, snakeCase, sortBy, startCase, swap, throttle, toPath, toSwapped, truncate, union, uniq, uniqueId, unset, update, updateWith, upperCase, upperFirst, without, xor, zip, };
package/utils/lodash.js CHANGED
@@ -1,75 +1,76 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import e from "lodash/castArray";
3
3
  import t from "lodash/debounce";
4
4
  import n from "@unicom-cloud/utils/lodash/move";
5
- import r from "lodash/assign";
6
- import i from "lodash/assignIn";
7
- import a from "lodash/at";
8
- import o from "lodash/camelCase";
9
- import s from "lodash/capitalize";
10
- import c from "lodash/chain";
11
- import l from "lodash/chunk";
12
- import u from "lodash/clamp";
13
- import d from "lodash/clone";
14
- import f from "lodash/cloneDeep";
15
- import p from "lodash/cloneDeepWith";
16
- import m from "lodash/cloneWith";
17
- import h from "lodash/compact";
18
- import g from "lodash/curry";
19
- import _ from "lodash/defaults";
20
- import v from "lodash/defaultsDeep";
21
- import y from "lodash/defaultTo";
22
- import b from "lodash/difference";
23
- import x from "lodash/escape";
24
- import S from "lodash/findKey";
25
- import C from "lodash/flatten";
26
- import w from "lodash/flattenDeep";
27
- import T from "lodash/flow";
28
- import E from "lodash/get";
29
- import D from "lodash/groupBy";
30
- import O from "lodash/has";
31
- import k from "lodash/hasIn";
32
- import A from "lodash/intersection";
33
- import j from "lodash/invert";
34
- import M from "lodash/invertBy";
35
- import N from "lodash/invoke";
36
- import P from "lodash/kebabCase";
37
- import F from "lodash/mapKeys";
38
- import I from "lodash/mapValues";
39
- import L from "lodash/mean";
40
- import R from "lodash/memoize";
41
- import z from "lodash/merge";
42
- import B from "lodash/mergeWith";
43
- import V from "lodash/noop";
44
- import H from "lodash/omit";
45
- import U from "lodash/omitBy";
46
- import W from "lodash/orderBy";
47
- import G from "lodash/partition";
48
- import K from "lodash/pick";
49
- import q from "lodash/pickBy";
50
- import J from "lodash/pullAll";
51
- import Y from "lodash/result";
52
- import X from "lodash/sample";
53
- import Z from "lodash/sampleSize";
54
- import Q from "lodash/set";
55
- import $ from "lodash/setWith";
56
- import ee from "lodash/shuffle";
57
- import te from "lodash/snakeCase";
58
- import ne from "lodash/sortBy";
59
- import re from "lodash/startCase";
60
- import ie from "lodash/throttle";
61
- import ae from "lodash/toPath";
62
- import oe from "lodash/truncate";
63
- import se from "lodash/union";
64
- import ce from "lodash/uniq";
65
- import le from "lodash/uniqueId";
66
- import ue from "lodash/unset";
67
- import de from "lodash/update";
68
- import fe from "lodash/updateWith";
69
- import pe from "lodash/upperCase";
70
- import me from "lodash/upperFirst";
71
- import he from "lodash/without";
72
- import ge from "lodash/xor";
73
- import _e from "lodash/zip";
74
- export { r as assign, i as assignIn, a as at, o as camelCase, s as capitalize, e as castArray, c as chain, l as chunk, u as clamp, d as clone, f as cloneDeep, p as cloneDeepWith, m as cloneWith, h as compact, g as curry, t as debounce, y as defaultTo, _ as defaults, v as defaultsDeep, b as difference, x as escape, S as findKey, C as flatten, w as flattenDeep, T as flow, E as get, D as groupBy, O as has, k as hasIn, A as intersection, j as invert, M as invertBy, N as invoke, P as kebabCase, F as mapKeys, I as mapValues, L as mean, R as memoize, z as merge, B as mergeWith, n as move, V as noop, H as omit, U as omitBy, W as orderBy, G as partition, K as pick, q as pickBy, J as pullAll, Y as result, X as sample, Z as sampleSize, Q as set, $ as setWith, ee as shuffle, te as snakeCase, ne as sortBy, re as startCase, ie as throttle, ae as toPath, oe as truncate, se as union, ce as uniq, le as uniqueId, ue as unset, de as update, fe as updateWith, pe as upperCase, me as upperFirst, he as without, ge as xor, _e as zip };
5
+ import r, { toSwapped as i } from "@unicom-cloud/utils/lodash/swap";
6
+ import a from "lodash/assign";
7
+ import o from "lodash/assignIn";
8
+ import s from "lodash/at";
9
+ import c from "lodash/camelCase";
10
+ import l from "lodash/capitalize";
11
+ import u from "lodash/chain";
12
+ import d from "lodash/chunk";
13
+ import f from "lodash/clamp";
14
+ import p from "lodash/clone";
15
+ import m from "lodash/cloneDeep";
16
+ import h from "lodash/cloneDeepWith";
17
+ import g from "lodash/cloneWith";
18
+ import _ from "lodash/compact";
19
+ import v from "lodash/curry";
20
+ import y from "lodash/defaults";
21
+ import b from "lodash/defaultsDeep";
22
+ import x from "lodash/defaultTo";
23
+ import S from "lodash/difference";
24
+ import C from "lodash/escape";
25
+ import w from "lodash/findKey";
26
+ import T from "lodash/flatten";
27
+ import E from "lodash/flattenDeep";
28
+ import D from "lodash/flow";
29
+ import O from "lodash/get";
30
+ import k from "lodash/groupBy";
31
+ import A from "lodash/has";
32
+ import j from "lodash/hasIn";
33
+ import M from "lodash/intersection";
34
+ import N from "lodash/invert";
35
+ import P from "lodash/invertBy";
36
+ import F from "lodash/invoke";
37
+ import I from "lodash/kebabCase";
38
+ import L from "lodash/mapKeys";
39
+ import R from "lodash/mapValues";
40
+ import z from "lodash/mean";
41
+ import B from "lodash/memoize";
42
+ import V from "lodash/merge";
43
+ import H from "lodash/mergeWith";
44
+ import U from "lodash/noop";
45
+ import W from "lodash/omit";
46
+ import G from "lodash/omitBy";
47
+ import K from "lodash/orderBy";
48
+ import q from "lodash/partition";
49
+ import J from "lodash/pick";
50
+ import Y from "lodash/pickBy";
51
+ import X from "lodash/pullAll";
52
+ import Z from "lodash/result";
53
+ import Q from "lodash/sample";
54
+ import $ from "lodash/sampleSize";
55
+ import ee from "lodash/set";
56
+ import te from "lodash/setWith";
57
+ import ne from "lodash/shuffle";
58
+ import re from "lodash/snakeCase";
59
+ import ie from "lodash/sortBy";
60
+ import ae from "lodash/startCase";
61
+ import oe from "lodash/throttle";
62
+ import se from "lodash/toPath";
63
+ import ce from "lodash/truncate";
64
+ import le from "lodash/union";
65
+ import ue from "lodash/uniq";
66
+ import de from "lodash/uniqueId";
67
+ import fe from "lodash/unset";
68
+ import pe from "lodash/update";
69
+ import me from "lodash/updateWith";
70
+ import he from "lodash/upperCase";
71
+ import ge from "lodash/upperFirst";
72
+ import _e from "lodash/without";
73
+ import ve from "lodash/xor";
74
+ import ye from "lodash/zip";
75
+ export { a as assign, o as assignIn, s as at, c as camelCase, l as capitalize, e as castArray, u as chain, d as chunk, f as clamp, p as clone, m as cloneDeep, h as cloneDeepWith, g as cloneWith, _ as compact, v as curry, t as debounce, x as defaultTo, y as defaults, b as defaultsDeep, S as difference, C as escape, w as findKey, T as flatten, E as flattenDeep, D as flow, O as get, k as groupBy, A as has, j as hasIn, M as intersection, N as invert, P as invertBy, F as invoke, I as kebabCase, L as mapKeys, R as mapValues, z as mean, B as memoize, V as merge, H as mergeWith, n as move, U as noop, W as omit, G as omitBy, K as orderBy, q as partition, J as pick, Y as pickBy, X as pullAll, Z as result, Q as sample, $ as sampleSize, ee as set, te as setWith, ne as shuffle, re as snakeCase, ie as sortBy, ae as startCase, r as swap, oe as throttle, se as toPath, i as toSwapped, ce as truncate, le as union, ue as uniq, de as uniqueId, fe as unset, pe as update, me as updateWith, he as upperCase, ge as upperFirst, _e as without, ve as xor, ye as zip };
75
76
  /* 独立思考,明辨是非 */
package/utils/math.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
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-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { isArray as e, isTrue as t } from "./is.js";
3
3
  import { defaults as n, defaultsDeep as r, pick as i } from "./lodash.js";
4
4
  //#region components/common/utils/mergeProps.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { isNumber as e, isPlainObject as t, isString as n } from "./is.js";
3
3
  import r from "react";
4
4
  //#region components/common/utils/mergedToString.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { isFunction as e } from "./is.js";
3
3
  import t from "lodash/throttle";
4
4
  //#region components/common/utils/mutationObserver.ts
package/utils/names.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  //#region components/common/utils/names.ts
3
3
  var e = {
4
4
  zh: "边框流光",
package/utils/object.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { __exportAll as e, __reExport as t } from "../.virtual/_rolldown/runtime.js";
3
3
  export * from "@unicom-cloud/utils/object";
4
4
  //#region components/common/utils/object.ts
package/utils/omit.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { omit as e } from "./lodash.js";
3
3
  //#region components/common/utils/omit.ts
4
4
  var t = e;
package/utils/pad.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  //#region components/common/utils/pad.ts
3
3
  function e(t, n, r = " ") {
4
4
  let i = String(t);
package/utils/pick.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { pick as e } from "./lodash.js";
3
3
  //#region components/common/utils/pick.ts
4
4
  function t(e) {
package/utils/pinyin.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { __exportAll as e, __reExport as t } from "../.virtual/_rolldown/runtime.js";
3
3
  import n from "@unicom-cloud/utils/pinyin";
4
4
  export * from "@unicom-cloud/utils/pinyin";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import e from "./setCreateRoot.js";
3
3
  import { createRoot as t } from "react-dom/client";
4
4
  //#region components/common/utils/react19Adapter.ts
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { isFunction as e } from "./is.js";
3
3
  import t from "react";
4
4
  //#region components/common/utils/reactNode.ts
package/utils/ref.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { isFunction as e, isObjectLike as t, isReact19 as n, isReactComponentAndNotFragment as r } from "./is.js";
3
3
  import i from "../hooks/use-memo/index.js";
4
4
  import { isValidElement as a } from "react";
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import { isElement as e, isFunction as t } from "./is.js";
3
3
  import { noop as n } from "./lodash.js";
4
4
  import r from "lodash/throttle";
package/utils/saveAs.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 潘启宝 2026-08-06 15:14:52 星期四 山东省济南市 */
1
+ /* 潘启宝 2026-08-11 11:51:24 星期二 山东省济南市 */
2
2
  import e, { default as t } from "@unicom-cloud/utils/file/saveAs";
3
3
  export { t as default, e as saveAs };
4
4
  /* 独立思考,明辨是非 */