@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.
- package/.virtual/_rolldown/runtime.js +1 -1
- package/animation/Animation.js +2 -2
- package/animation/constants.js +1 -1
- package/animation/context.js +1 -1
- package/animation/index.js +1 -1
- package/animation/style/index.js +1 -1
- package/animation/utils.js +1 -1
- package/base/Base.js +1 -1
- package/base/constants.js +1 -1
- package/base/context.js +1 -1
- package/base/index.js +1 -1
- package/base/style/index.js +1 -1
- package/base/utils.js +1 -1
- package/border-beam/BorderBeam.d.ts +6 -1
- package/border-beam/BorderBeam.js +2 -3
- package/border-beam/Effect.js +1 -1
- package/border-beam/constants.js +1 -1
- package/border-beam/context.js +1 -1
- package/border-beam/hooks/useBorderSize.js +1 -1
- package/border-beam/hooks/useChildDom.js +1 -1
- package/border-beam/index.d.ts +5 -0
- package/border-beam/index.js +1 -1
- package/border-beam/style/index.js +1 -1
- package/border-beam/utils.js +1 -1
- package/development/Development.d.ts +6 -1
- package/development/Development.js +2 -3
- package/development/constants.js +1 -1
- package/development/context.js +1 -1
- package/development/index.d.ts +5 -0
- package/development/index.js +1 -1
- package/development/style/index.js +1 -1
- package/development/utils.js +1 -1
- package/empty/Empty.d.ts +7 -1
- package/empty/Empty.js +2 -3
- package/empty/constants.js +1 -1
- package/empty/context.js +1 -1
- package/empty/index.d.ts +5 -0
- package/empty/index.js +1 -1
- package/empty/style/index.js +1 -1
- package/empty/utils.js +1 -1
- package/flex/Flex.d.ts +12 -2
- package/flex/Flex.js +35 -37
- package/flex/constants.js +1 -1
- package/flex/context.js +1 -1
- package/flex/index.d.ts +11 -1
- package/flex/index.js +1 -1
- package/flex/interface.d.ts +3 -12
- package/flex/style/index.js +1 -1
- package/flex/utils.js +2 -2
- package/higher-order/index.js +1 -1
- package/higher-order/with-speech-synthesis/context.js +1 -1
- package/higher-order/with-speech-synthesis/index.js +1 -1
- package/higher-order/with-speech-synthesis/style/index.js +1 -1
- package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +1 -1
- package/hoc/withContext.js +1 -1
- package/hooks/create-deep-compare-effect/index.js +1 -1
- package/hooks/create-update-effect/index.js +1 -1
- package/hooks/create-use-storage-state/index.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/use-async-effect/index.js +1 -1
- package/hooks/use-boolean/index.js +1 -1
- package/hooks/use-click-away/index.js +1 -1
- package/hooks/use-computed-state/index.js +1 -1
- package/hooks/use-controllable-value/index.js +1 -1
- package/hooks/use-cookie-state/index.js +1 -1
- package/hooks/use-count-down/index.js +1 -1
- package/hooks/use-counter/index.js +1 -1
- package/hooks/use-create/index.js +1 -1
- package/hooks/use-creation/index.js +1 -1
- package/hooks/use-debounce/index.js +1 -1
- package/hooks/use-debounce-effect/index.js +1 -1
- package/hooks/use-debounce-fn/index.js +1 -1
- package/hooks/use-deep-compare-effect/index.js +1 -1
- package/hooks/use-deep-compare-layout-effect/index.js +1 -1
- package/hooks/use-document-visibility/index.js +1 -1
- package/hooks/use-drag/index.js +1 -1
- package/hooks/use-drag-move/index.js +1 -1
- package/hooks/use-drop/index.js +1 -1
- package/hooks/use-effect-event/index.js +1 -1
- package/hooks/use-event/index.js +1 -1
- package/hooks/use-event-emitter/index.js +1 -1
- package/hooks/use-event-listener/index.js +1 -1
- package/hooks/use-event-target/index.js +1 -1
- package/hooks/use-external/index.js +1 -1
- package/hooks/use-favicon/index.js +1 -1
- package/hooks/use-focus-within/index.js +1 -1
- package/hooks/use-force-update/index.js +1 -1
- package/hooks/use-fullscreen/index.js +1 -1
- package/hooks/use-get-state/index.js +1 -1
- package/hooks/use-history-travel/index.js +1 -1
- package/hooks/use-hover/index.js +1 -1
- package/hooks/use-id/index.js +1 -1
- package/hooks/use-in-viewport/index.js +1 -1
- package/hooks/use-infinite-scroll/index.js +1 -1
- package/hooks/use-intersection-observer/index.js +1 -1
- package/hooks/use-intersection-observers/index.js +1 -1
- package/hooks/use-interval/index.js +1 -1
- package/hooks/use-is-first-render/index.js +1 -1
- package/hooks/use-isomorphic-layout-effect/index.js +1 -1
- package/hooks/use-key-press/index.js +1 -1
- package/hooks/use-keyboard-event/index.js +1 -1
- package/hooks/use-latest/index.js +1 -1
- package/hooks/use-listen-window-resize/index.js +1 -1
- package/hooks/use-local-storage-state/index.js +1 -1
- package/hooks/use-lock-fn/index.js +1 -1
- package/hooks/use-long-press/index.js +1 -1
- package/hooks/use-map/index.js +1 -1
- package/hooks/use-media/index.js +1 -1
- package/hooks/use-memo/index.js +1 -1
- package/hooks/use-memoized-fn/index.js +1 -1
- package/hooks/use-merge-props/index.js +1 -1
- package/hooks/use-merge-value/index.js +1 -1
- package/hooks/use-mobile/index.js +1 -1
- package/hooks/use-mount/index.js +1 -1
- package/hooks/use-mouse/index.js +1 -1
- package/hooks/use-move/index.js +1 -1
- package/hooks/use-mutation-observer/index.js +1 -1
- package/hooks/use-mutation-observers/index.js +1 -1
- package/hooks/use-network/index.js +1 -1
- package/hooks/use-online-status/index.js +1 -1
- package/hooks/use-overflow-hidden/index.js +1 -1
- package/hooks/use-override-ref/index.js +1 -1
- package/hooks/use-pagination/index.js +1 -1
- package/hooks/use-paste-image/index.js +1 -1
- package/hooks/use-persist-callback/index.js +1 -1
- package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
- package/hooks/use-previous/index.js +1 -1
- package/hooks/use-raf-interval/index.js +1 -1
- package/hooks/use-raf-state/index.js +1 -1
- package/hooks/use-raf-timeout/index.js +1 -1
- package/hooks/use-reactive/index.js +1 -1
- package/hooks/use-ref-latest/index.js +1 -1
- package/hooks/use-refs/index.js +1 -1
- package/hooks/use-request/index.js +1 -1
- package/hooks/use-request/src/Fetch.js +1 -1
- package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
- package/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
- package/hooks/use-request/src/plugins/useDebouncePlugin.js +29 -22
- package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
- package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
- package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
- package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
- package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
- package/hooks/use-request/src/useRequest.js +1 -1
- package/hooks/use-request/src/useRequestImplement.js +1 -1
- package/hooks/use-request/src/utils/cache.js +1 -1
- package/hooks/use-request/src/utils/cachePromise.js +1 -1
- package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
- package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
- package/hooks/use-request/src/utils/isOnline.js +1 -1
- package/hooks/use-request/src/utils/limit.js +1 -1
- package/hooks/use-request/src/utils/subscribeFocus.js +2 -2
- package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
- package/hooks/use-reset-state/index.js +1 -1
- package/hooks/use-resize-observer/index.js +1 -1
- package/hooks/use-resize-observers/index.js +1 -1
- package/hooks/use-responsive/index.js +1 -1
- package/hooks/use-safe-state/index.js +1 -1
- package/hooks/use-scroll/index.js +1 -1
- package/hooks/use-selections/index.js +1 -1
- package/hooks/use-session-storage-state/index.js +1 -1
- package/hooks/use-set/index.js +1 -1
- package/hooks/use-set-state/index.js +1 -1
- package/hooks/use-size/index.js +1 -1
- package/hooks/use-state-callback/index.js +1 -1
- package/hooks/use-state-with-promise/index.js +1 -1
- package/hooks/use-sync-state/index.js +1 -1
- package/hooks/use-text-selection/index.js +1 -1
- package/hooks/use-theme/index.js +1 -1
- package/hooks/use-throttle/index.js +1 -1
- package/hooks/use-throttle-effect/index.js +1 -1
- package/hooks/use-throttle-fn/index.js +1 -1
- package/hooks/use-throttle-fn-with-raf/index.js +1 -1
- package/hooks/use-timeout/index.js +1 -1
- package/hooks/use-title/index.js +1 -1
- package/hooks/use-toggle/index.js +1 -1
- package/hooks/use-tracked-effect/index.js +1 -1
- package/hooks/use-unmount/index.js +1 -1
- package/hooks/use-unmounted-ref/index.js +1 -1
- package/hooks/use-update/index.js +1 -1
- package/hooks/use-update-effect/index.js +1 -1
- package/hooks/use-update-layout-effect/index.js +1 -1
- package/hooks/use-url-state/index.js +1 -1
- package/hooks/use-virtual-list/index.js +1 -1
- package/hooks/use-watch/index.js +1 -1
- package/hooks/use-web-socket/index.js +1 -1
- package/hooks/use-why-did-you-update/index.js +1 -1
- package/hooks/use-window-size/index.js +1 -1
- package/hooks/utils/createEffectWithTarget.js +1 -1
- package/hooks/utils/depsAreSame.js +1 -1
- package/hooks/utils/depsEqual.js +1 -1
- package/hooks/utils/domTarget.js +1 -1
- package/hooks/utils/getDocumentOrShadow.js +1 -1
- package/hooks/utils/index.js +1 -1
- package/hooks/utils/isAppleDevice.js +1 -1
- package/hooks/utils/isBrowser.js +1 -1
- package/hooks/utils/isDev.js +1 -1
- package/hooks/utils/rect.js +1 -1
- package/hooks/utils/useDeepCompareWithTarget.js +1 -1
- package/hooks/utils/useEffectWithTarget.js +1 -1
- package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
- package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
- package/icons/file/File.d.ts +6 -1
- package/icons/file/File.js +2 -3
- package/icons/file/context.js +1 -1
- package/icons/file/index.d.ts +5 -0
- package/icons/file/index.js +1 -1
- package/icons/file/style/index.js +1 -1
- package/index.js +632 -630
- package/package.json +1 -1
- package/progress/Progress.js +1 -1
- package/progress/constants.js +1 -1
- package/progress/index.js +1 -1
- package/progress/style/index.js +1 -1
- package/progress/utils.js +1 -1
- package/resize-observer/Collection.js +1 -1
- package/resize-observer/ResizeObserver.d.ts +6 -1
- package/resize-observer/ResizeObserver.js +2 -3
- package/resize-observer/SingleObserver.js +20 -17
- package/resize-observer/constants.js +1 -1
- package/resize-observer/context.js +1 -1
- package/resize-observer/index.d.ts +5 -0
- package/resize-observer/index.js +1 -1
- package/resize-observer/observerUtil.js +1 -1
- package/resize-observer/style/index.js +1 -1
- package/resize-observer/utils.js +1 -1
- package/space/Space.d.ts +12 -2
- package/space/Space.js +43 -50
- package/space/constants.js +1 -1
- package/space/context.js +1 -1
- package/space/index.d.ts +11 -1
- package/space/index.js +1 -1
- package/space/interface.d.ts +2 -15
- package/space/style/index.js +1 -1
- package/space/utils.js +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.d.ts +6 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +2 -3
- package/suspense-fallback-test/constants.js +1 -1
- package/suspense-fallback-test/context.js +1 -1
- package/suspense-fallback-test/index.d.ts +5 -0
- package/suspense-fallback-test/index.js +1 -1
- package/suspense-fallback-test/style/index.js +1 -1
- package/suspense-fallback-test/utils.js +1 -1
- package/test.js +1 -1
- package/timer/Timer.d.ts +6 -1
- package/timer/Timer.js +2 -3
- package/timer/constants.js +1 -1
- package/timer/context.js +1 -1
- package/timer/index.d.ts +5 -0
- package/timer/index.js +1 -1
- package/timer/style/index.js +1 -1
- package/timer/utils.js +1 -1
- package/transition/Transition.js +1 -1
- package/transition/TransitionCSS.js +1 -1
- package/transition/TransitionGroup.js +1 -1
- package/transition/TransitionStyle.js +1 -1
- package/transition/constants.js +1 -1
- package/transition/context.js +1 -1
- package/transition/index.js +1 -1
- package/transition/style/index.js +1 -1
- package/transition/utils.js +1 -1
- package/typewriter/Typewriter.d.ts +6 -1
- package/typewriter/Typewriter.js +2 -3
- package/typewriter/constants.js +1 -1
- package/typewriter/context.js +1 -1
- package/typewriter/index.d.ts +5 -0
- package/typewriter/index.js +1 -1
- package/typewriter/style/index.js +1 -1
- package/typewriter/utils.js +1 -1
- package/utils/callOrReturn.js +1 -1
- package/utils/callbackOriginRef.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/className.js +1 -1
- package/utils/constants.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/css.js +1 -1
- package/utils/date.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/document.js +1 -1
- package/utils/dom.d.ts +14 -4
- package/utils/dom.js +21 -10
- package/utils/emitter.js +1 -1
- package/utils/file.js +1 -1
- package/utils/fileRead.js +1 -1
- package/utils/fileToDataURL.js +1 -1
- package/utils/fillNBSP.js +1 -1
- package/utils/getElement.js +5 -5
- package/utils/getHighlightText.js +1 -1
- package/utils/getHotkeyHandler.js +1 -1
- package/utils/getScrollBarHeight.js +1 -1
- package/utils/getScrollBarSize.js +1 -1
- package/utils/getScrollBarWidth.js +1 -1
- package/utils/getScrollParent.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.js +332 -330
- package/utils/initAllLineClamp.js +1 -1
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.d.ts +2 -2
- package/utils/is.js +126 -127
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.d.ts +2 -1
- package/utils/lodash.js +72 -71
- package/utils/math.js +1 -1
- package/utils/mergeProps.js +1 -1
- package/utils/mergedToString.js +1 -1
- package/utils/mutationObserver.js +1 -1
- package/utils/names.js +1 -1
- package/utils/object.js +1 -1
- package/utils/omit.js +1 -1
- package/utils/pad.js +1 -1
- package/utils/pick.js +1 -1
- package/utils/pinyin.js +1 -1
- package/utils/react19Adapter.js +1 -1
- package/utils/reactNode.js +1 -1
- package/utils/ref.js +1 -1
- package/utils/resizeObserver.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +1 -1
- package/utils/scrollIntoViewIfNeeded.js +1 -1
- package/utils/scrollTo.js +1 -1
- package/utils/setCreateRoot.js +1 -1
- package/utils/setDarkTheme.js +1 -1
- package/utils/setDir.js +1 -1
- package/utils/setPrimaryColor.js +1 -1
- package/utils/setTheme.js +1 -1
- package/utils/string.js +1 -1
- package/utils/style.js +1 -1
- package/utils/tinycolor.js +1 -1
- package/utils/toArray.js +1 -1
- package/utils/tree.js +1 -1
- package/utils/tunnel.js +1 -1
- package/utils/tween.js +1 -1
- package/utils/uuid.js +1 -1
- package/utils/validate.js +1 -1
- package/utils/warning.js +1 -1
- package/version/index.js +6 -6
- /package/{suspense-fallback-test → base}/style/index.css +0 -0
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,
|
|
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,
|
|
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-
|
|
2
|
-
import { __exportAll as e, __reExport as
|
|
3
|
-
import
|
|
4
|
-
import { isBrowser as
|
|
5
|
-
import { is32Bit as
|
|
6
|
-
import { isDayjs as
|
|
7
|
-
import
|
|
8
|
-
import { isFragment as
|
|
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
|
|
12
|
-
is32Bit: () =>
|
|
13
|
-
isAllChinese: () =>
|
|
14
|
-
isArguments: () =>
|
|
15
|
-
isArray: () =>
|
|
16
|
-
isArrayAndNotEmpty: () =>
|
|
17
|
-
isArrayBuffer: () =>
|
|
18
|
-
isArrayEmpty: () =>
|
|
19
|
-
isArrayLike: () =>
|
|
20
|
-
isArrayLikeObject: () =>
|
|
21
|
-
isAscii: () =>
|
|
22
|
-
isAsyncFunction: () =>
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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: () =>
|
|
83
|
-
isNumberOrString: () =>
|
|
84
|
-
isObject: () =>
|
|
85
|
-
isObjectLike: () =>
|
|
86
|
-
isPlainObject: () =>
|
|
87
|
-
isPort: () =>
|
|
88
|
-
isPresent: () =>
|
|
89
|
-
isPrimitive: () =>
|
|
90
|
-
isPromise: () =>
|
|
91
|
-
isReact18: () =>
|
|
92
|
-
isReact19: () =>
|
|
93
|
-
isReactClassComponent: () =>
|
|
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: () =>
|
|
96
|
-
isReactFunctionalComponent: () =>
|
|
97
|
-
isReadableStream: () =>
|
|
98
|
-
isRegExp: () =>
|
|
99
|
-
isRgbColor: () =>
|
|
100
|
-
isSafeInteger: () =>
|
|
101
|
-
isSemVer: () =>
|
|
102
|
-
isServerRendering: () =>
|
|
103
|
-
isSet: () =>
|
|
104
|
-
isSlug: () =>
|
|
105
|
-
isSparseArray: () =>
|
|
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: () =>
|
|
108
|
-
isStringOrNumber: () =>
|
|
109
|
-
isStrongPassword: () =>
|
|
110
|
-
isSymbol: () =>
|
|
111
|
-
isThenable: () =>
|
|
112
|
-
isTrue: () =>
|
|
113
|
-
isTypedArray: () =>
|
|
114
|
-
isURL: () =>
|
|
115
|
-
isUUID: () =>
|
|
116
|
-
isUndefined: () =>
|
|
117
|
-
isUndefinedOrNull: () =>
|
|
118
|
-
isVariableWidth: () =>
|
|
119
|
-
isWeakMap: () =>
|
|
120
|
-
isWeakSet: () =>
|
|
121
|
-
isWindow: () =>
|
|
122
|
-
isZero: () =>
|
|
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
|
|
125
|
-
|
|
126
|
-
var
|
|
127
|
-
let
|
|
128
|
-
return e <= parseFloat(
|
|
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
|
|
131
|
-
return !!(Z(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
|
|
134
|
-
return
|
|
132
|
+
function ot(e) {
|
|
133
|
+
return n(e) && !$e(e);
|
|
135
134
|
}
|
|
136
135
|
function $(e) {
|
|
137
|
-
return
|
|
136
|
+
return n(e) && I(e.type);
|
|
138
137
|
}
|
|
139
|
-
function
|
|
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
|
|
145
|
+
return n(e) && I(e.type);
|
|
144
146
|
}
|
|
145
147
|
function ut(e) {
|
|
146
|
-
return
|
|
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 {
|
|
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
|
/* 独立思考,明辨是非 */
|
package/utils/keyboardCode.js
CHANGED
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-
|
|
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/
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
|
|
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-
|
|
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
|
/* 独立思考,明辨是非 */
|
package/utils/mergeProps.js
CHANGED
package/utils/mergedToString.js
CHANGED
package/utils/names.js
CHANGED
package/utils/object.js
CHANGED
package/utils/omit.js
CHANGED
package/utils/pad.js
CHANGED
package/utils/pick.js
CHANGED
package/utils/pinyin.js
CHANGED
package/utils/react19Adapter.js
CHANGED
package/utils/reactNode.js
CHANGED
package/utils/ref.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-08-
|
|
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";
|
package/utils/resizeObserver.js
CHANGED
package/utils/saveAs.js
CHANGED