@unicom-cloud/ui-common 0.1.31 → 0.1.33
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 +1 -1
- package/animation/constants.js +1 -1
- package/animation/context.js +2 -2
- package/animation/index.js +1 -1
- package/animation/style/index.js +1 -1
- package/border-beam/BorderBeam.js +2 -2
- package/border-beam/Effect.js +1 -1
- package/border-beam/constants.js +1 -1
- package/border-beam/context.js +2 -2
- package/border-beam/hooks/useBorderSize.js +1 -1
- package/border-beam/hooks/useChildDom.js +1 -1
- 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.js +2 -2
- package/development/constants.js +1 -1
- package/development/context.js +2 -2
- package/development/index.js +1 -1
- package/development/style/index.js +1 -1
- package/empty/Empty.js +2 -2
- package/empty/constants.js +1 -1
- package/empty/context.js +2 -2
- package/empty/index.js +1 -1
- package/empty/style/index.js +1 -1
- package/flex/Flex.js +3 -3
- package/flex/constants.js +1 -1
- package/flex/context.js +2 -2
- package/flex/index.js +1 -1
- package/flex/style/index.js +1 -1
- package/flex/utils.js +1 -1
- package/higher-order/index.js +1 -1
- package/higher-order/with-speech-synthesis/context.js +2 -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 +5 -2
- 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.d.ts +1 -0
- package/hooks/index.js +5 -4
- 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 +30 -31
- 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-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 +1 -1
- 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 +1 -1
- 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.d.ts +6 -0
- package/hooks/use-throttle-fn-with-raf/index.js +25 -0
- 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.d.ts +3 -3
- package/hooks/use-update/index.js +13 -9
- 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.js +2 -2
- package/icons/file/context.js +2 -1
- package/icons/file/index.js +1 -1
- package/icons/file/style/index.js +1 -1
- package/index.js +409 -406
- 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/resize-observer/Collection.js +1 -1
- package/resize-observer/ResizeObserver.js +2 -2
- package/resize-observer/SingleObserver.js +1 -1
- package/resize-observer/constants.js +1 -1
- package/resize-observer/context.js +2 -2
- package/resize-observer/index.js +1 -1
- package/resize-observer/observerUtil.js +1 -1
- package/resize-observer/style/index.js +1 -1
- package/space/Space.js +3 -3
- package/space/constants.js +1 -1
- package/space/context.js +2 -2
- package/space/index.js +1 -1
- package/space/style/index.js +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +2 -2
- package/suspense-fallback-test/constants.js +1 -1
- package/suspense-fallback-test/context.js +2 -2
- package/suspense-fallback-test/index.js +1 -1
- package/suspense-fallback-test/style/index.js +1 -1
- package/test.js +1 -1
- package/timer/Timer.js +2 -2
- package/timer/constants.js +1 -1
- package/timer/context.js +2 -2
- package/timer/index.js +1 -1
- package/timer/style/index.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 +2 -2
- package/transition/index.js +1 -1
- package/transition/style/index.js +1 -1
- package/transition/utils.js +1 -1
- package/typewriter/Typewriter.js +2 -2
- package/typewriter/constants.js +1 -1
- package/typewriter/context.js +2 -2
- package/typewriter/index.js +1 -1
- package/typewriter/style/index.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 +2 -1
- package/utils/dom.d.ts +11 -9
- package/utils/dom.js +12 -6
- 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/findRootElement.js +1 -1
- package/utils/findScrollParent.js +1 -1
- 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/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.d.ts +1 -1
- package/utils/index.js +213 -211
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +1 -1
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +1 -1
- 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.d.ts +44 -228
- 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/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 +5 -5
- package/utils/throttleByRequestAnimationFrame.d.ts +0 -6
- package/utils/throttleByRequestAnimationFrame.js +0 -18
- /package/{suspense-fallback-test → resize-observer}/style/index.css +0 -0
package/utils/getStringLength.js
CHANGED
package/utils/include.js
CHANGED
package/utils/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './copy';
|
|
|
7
7
|
export * from './css';
|
|
8
8
|
export * from './date';
|
|
9
9
|
export * from './dayjs';
|
|
10
|
+
export * from './document';
|
|
10
11
|
export * from './dom';
|
|
11
12
|
export * from './emitter';
|
|
12
13
|
export * from './file';
|
|
@@ -45,7 +46,6 @@ export * from './setPrimaryColor';
|
|
|
45
46
|
export * from './setTheme';
|
|
46
47
|
export * from './string';
|
|
47
48
|
export * from './style';
|
|
48
|
-
export * from './throttleByRequestAnimationFrame';
|
|
49
49
|
export * from './tinycolor';
|
|
50
50
|
export * from './toArray';
|
|
51
51
|
export * from './tree';
|
package/utils/index.js
CHANGED
|
@@ -1,166 +1,169 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-26 17:14:56 星期五 山东省济南市 */
|
|
2
2
|
import { __exportAll as ee, __reExport as te } from "../.virtual/_rolldown/runtime.js";
|
|
3
3
|
import { is32Bit as ne, isAllChinese as re, isArguments as e, isArray as t, isArrayAndNotEmpty as n, isArrayBuffer as r, isArrayEmpty as i, isArrayLike as a, 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, isColorValue_ as g, isDOM as _, isDataURI as v, isDate as y, isDayjs as b, isElement as x, isElementByInstanceof as S, isEmail as C, isEmpty as w, isEmptyArray as T, isEmptyObject as E, isEmptyReactNode as D, isEmptyString as O, isEmptyValue as k, isEqual as A, isEqualWith as j, isError as M, isEventTarget as N, isExist as P, isFalse as F, isFile as I, isFinite as L, isFullWidth as R, isFunction as z, isHSL as B, isHTMLElement as V, isHalfWidth as H, isHash as U, isHexColor as W, isIMEI as G, isIP as K, isIPRange as q, isIdentityCard as J, isInteger as Y, isJSON as X, isJSON_String as ie, isJWT as ae, isLength as oe, isMACAddress as se, isMD5 as ce, isMap as le, isMatch as ue, isMatchWith as de, isMimeType as fe, isMobilePhone as pe, isMobilePhoneLocales as me, isNaN as he, isNative as ge, isNil as _e, isNonNullable as ve, isNotFound as ye, isNull as be, isNullOrUndefined as xe, isNumber as Se, isNumberOrString as Ce, isObject as we, isObjectLike as Te, isPlainObject as Ee, isPort as De, isPresent as Oe, isPrimitive as ke, isPromise as Ae, isReact18 as je, isReact19 as Me, isReactClassComponent as Ne, isReactComponent as Pe, isReactComponentAndNotFragment as Fe, isReadableStream as Ie, isRegExp as Le, isRgbColor as Re, isSVGElement as ze, isSafeInteger as Be, isScrollElement as Ve, isSemVer as He, isServerRendering as Ue, isSet as We, isSlug as Ge, isSparseArray as Ke, isString as qe, isStringAndExist as Je, isStringOrNumber as Ye, isStrongPassword as Xe, isSymbol as Ze, isThenable as Qe, isTrue as $e, isTypedArray as et, isURL as tt, isUUID as nt, isUndefined as rt, isUndefinedOrNull as it, isVariableWidth as at, isWeakMap as ot, isWeakSet as st, isWindow as ct, isZero as lt } from "./is.js";
|
|
4
4
|
import { object_exports as ut } from "./object.js";
|
|
5
5
|
import { composeRef as dt, fillRef as ft, getNodeRef as pt, getReactElementRef as mt, supportNodeRef as ht, supportRef as gt, useComposeRef as _t } from "./ref.js";
|
|
6
6
|
import vt from "./findRootElement.js";
|
|
7
|
-
import { canUseDOM as yt, contains as bt, focusAtEnd as xt, forceReflow as Z, getBodyContainer as St, getDOM as Ct,
|
|
8
|
-
import { CSS_VARIABLE_ELEMENT as
|
|
9
|
-
import { assign as
|
|
10
|
-
import
|
|
11
|
-
import { callbackOriginRef as
|
|
12
|
-
import { callOrReturn as
|
|
13
|
-
import { caseName as
|
|
14
|
-
import { className as
|
|
7
|
+
import { canUseDOM as yt, contains as bt, focusAtEnd as xt, forceReflow as Z, getBodyContainer as St, getDOM as Ct, getDocument as wt, getDocumentElement as Tt, getElementCoordinates as Et, getScrollElements as Dt, off as Ot, on as kt, parentContainsChildren as At } from "./dom.js";
|
|
8
|
+
import { CSS_VARIABLE_ELEMENT as jt, DAYJS_DEFAULT_FORMAT as Mt, DAYJS_DEFAULT_FORMAT_WITH_TIME as Nt, NOOP as Pt, PREFIX_CLASS as Ft, UI_PC_KEY as It, UI_PC_THEME_DARK_CLASS_NAME as Lt } from "./constants.js";
|
|
9
|
+
import { assign as Rt, assignIn as zt, at as Bt, camelCase as Vt, capitalize as Ht, castArray as Ut, chain as Wt, chunk as Gt, clone as Kt, cloneDeep as qt, cloneDeepWith as Jt, cloneWith as Yt, compact as Xt, curry as Zt, debounce as Qt, defaultTo as $t, defaults as Q, defaultsDeep as en, difference as tn, escape as nn, findKey as rn, flattenDeep as an, flow as on, get as sn, groupBy as cn, has as ln, intersection as un, invert as dn, invertBy as fn, kebabCase as pn, mean as mn, memoize as hn, merge as gn, mergeWith as _n, noop as vn, omit as yn, omitBy as bn, orderBy as xn, partition as Sn, pick as Cn, pickBy as wn, pullAll as Tn, result as En, sample as Dn, sampleSize as On, set as kn, setWith as An, shuffle as jn, snakeCase as Mn, sortBy as Nn, startCase as Pn, throttle as Fn, toPath as In, truncate as Ln, union as Rn, uniq as zn, uniqueId as Bn, unset as Vn, update as Hn, updateWith as Un, upperCase as Wn, upperFirst as Gn, without as Kn, xor as qn, zip as Jn } from "./lodash.js";
|
|
10
|
+
import Yn from "./mergeProps.js";
|
|
11
|
+
import { callbackOriginRef as Xn } from "./callbackOriginRef.js";
|
|
12
|
+
import { callOrReturn as Zn } from "./callOrReturn.js";
|
|
13
|
+
import { caseName as Qn } from "./caseName.js";
|
|
14
|
+
import { className as $n, cs as er } from "./className.js";
|
|
15
15
|
import { clipboardCopy as $ } from "./copy.js";
|
|
16
16
|
import "./css.js";
|
|
17
|
-
import { convertTime as
|
|
18
|
-
import { dayjs as
|
|
19
|
-
import
|
|
17
|
+
import { convertTime as tr, convertToDurationBasedOnTimeUnits as nr, dateFormat as rr, dayjsFormat as ir } from "./date.js";
|
|
18
|
+
import { dayjs as ar } from "./dayjs.js";
|
|
19
|
+
import "./document.js";
|
|
20
|
+
import { Emitter as or } from "./emitter.js";
|
|
20
21
|
import "./file.js";
|
|
21
|
-
import { fileRead as
|
|
22
|
-
import { fileToDataURL as
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import { div as
|
|
33
|
-
import
|
|
34
|
-
import
|
|
22
|
+
import { fileRead as sr } from "./fileRead.js";
|
|
23
|
+
import { fileToDataURL as cr } from "./fileToDataURL.js";
|
|
24
|
+
import lr from "./fillNBSP.js";
|
|
25
|
+
import ur from "./getHighlightText.js";
|
|
26
|
+
import dr from "./getHotkeyHandler.js";
|
|
27
|
+
import fr from "./getScrollBarSize.js";
|
|
28
|
+
import pr from "./getScrollBarHeight.js";
|
|
29
|
+
import mr from "./getScrollBarWidth.js";
|
|
30
|
+
import hr from "./getStringLength.js";
|
|
31
|
+
import gr from "./include.js";
|
|
32
|
+
import _r from "./intersectionObserver.js";
|
|
33
|
+
import { div as vr, math as yr, minus as br, plus as xr, times as Sr } from "./math.js";
|
|
34
|
+
import Cr from "./mergedToString.js";
|
|
35
|
+
import wr from "./mutationObserver.js";
|
|
35
36
|
import "./omit.js";
|
|
36
|
-
import { padEnd as
|
|
37
|
-
import { pickDataAttributes as
|
|
38
|
-
import
|
|
39
|
-
import { saveAs as
|
|
40
|
-
import { screenfull as
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import { HYPHEN as
|
|
48
|
-
import { fixedWidth as
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import {
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import {
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import { COMPONENT_NAMES as vi } from "./names.js";
|
|
37
|
+
import { padEnd as Tr, padStart as Er } from "./pad.js";
|
|
38
|
+
import { pickDataAttributes as Dr } from "./pick.js";
|
|
39
|
+
import Or from "./resizeObserver.js";
|
|
40
|
+
import { saveAs as kr } from "./saveAs.js";
|
|
41
|
+
import { screenfull as Ar } from "./screenfull.js";
|
|
42
|
+
import jr from "./scrollIntoViewIfNeeded.js";
|
|
43
|
+
import Mr, { render as Nr } from "./setCreateRoot.js";
|
|
44
|
+
import Pr, { removeDarkTheme as Fr } from "./setDarkTheme.js";
|
|
45
|
+
import Ir from "./setDir.js";
|
|
46
|
+
import Lr from "./setPrimaryColor.js";
|
|
47
|
+
import Rr from "./setTheme.js";
|
|
48
|
+
import { HYPHEN as zr, replaceEmptyWithHyphen as Br } from "./string.js";
|
|
49
|
+
import { fixedWidth as Vr, getStyle as Hr, setTransformStyle as Ur } from "./style.js";
|
|
50
|
+
import { tinycolor as Wr } from "./tinycolor.js";
|
|
51
|
+
import Gr from "./toArray.js";
|
|
52
|
+
import { findNodeBy as Kr, getChildWithParentBy as qr, getItemBy as Jr, getItemByID as Yr, getLabelFromDictionaryByValue as Xr, searchTree as Zr, tree as Qr } from "./tree.js";
|
|
53
|
+
import { uuid as $r, uuidv4 as ei } from "./uuid.js";
|
|
54
|
+
import ti from "./tunnel.js";
|
|
55
|
+
import { Tween as ni, easing as ri } from "./tween.js";
|
|
56
|
+
import { PqbValidator as ii, Validator as ai, ValidatorArray as oi, ValidatorBase as si, ValidatorBoolean as ci, ValidatorCustom as li, ValidatorNumber as ui, ValidatorObject as di, ValidatorSchema as fi, ValidatorString as pi, ValidatorType as mi, validatorLocale as hi } from "./validate.js";
|
|
57
|
+
import gi from "./warning.js";
|
|
58
|
+
import { pinyin_exports as _i } from "./pinyin.js";
|
|
59
|
+
import { keyboardCode as vi } from "./keyboardCode.js";
|
|
60
|
+
import { COMPONENT_NAMES as yi } from "./names.js";
|
|
61
61
|
export * from "@unicom-cloud/utils/is";
|
|
62
62
|
export * from "@unicom-cloud/utils/object";
|
|
63
63
|
export * from "@unicom-cloud/utils/css";
|
|
64
|
+
export * from "@unicom-cloud/utils/document";
|
|
64
65
|
export * from "@unicom-cloud/utils/file";
|
|
65
66
|
export * from "@unicom-cloud/utils/tinycolor";
|
|
66
67
|
//#region components/common/utils/index.ts
|
|
67
|
-
var
|
|
68
|
-
COMPONENT_NAMES: () =>
|
|
69
|
-
CSS_VARIABLE_ELEMENT: () =>
|
|
70
|
-
DAYJS_DEFAULT_FORMAT: () =>
|
|
71
|
-
DAYJS_DEFAULT_FORMAT_WITH_TIME: () =>
|
|
72
|
-
Emitter: () =>
|
|
73
|
-
HYPHEN: () =>
|
|
74
|
-
NOOP: () =>
|
|
75
|
-
PREFIX_CLASS: () =>
|
|
76
|
-
PqbValidator: () =>
|
|
77
|
-
Tween: () =>
|
|
78
|
-
UI_PC_KEY: () =>
|
|
79
|
-
UI_PC_THEME_DARK_CLASS_NAME: () =>
|
|
80
|
-
Validator: () =>
|
|
81
|
-
ValidatorArray: () =>
|
|
82
|
-
ValidatorBase: () =>
|
|
83
|
-
ValidatorBoolean: () =>
|
|
84
|
-
ValidatorCustom: () =>
|
|
85
|
-
ValidatorNumber: () =>
|
|
86
|
-
ValidatorObject: () =>
|
|
87
|
-
ValidatorSchema: () =>
|
|
88
|
-
ValidatorString: () =>
|
|
89
|
-
ValidatorType: () =>
|
|
90
|
-
assign: () =>
|
|
91
|
-
assignIn: () =>
|
|
92
|
-
at: () =>
|
|
93
|
-
callOrReturn: () =>
|
|
94
|
-
callbackOriginRef: () =>
|
|
95
|
-
camelCase: () =>
|
|
68
|
+
var bi = /* @__PURE__ */ ee({
|
|
69
|
+
COMPONENT_NAMES: () => yi,
|
|
70
|
+
CSS_VARIABLE_ELEMENT: () => jt,
|
|
71
|
+
DAYJS_DEFAULT_FORMAT: () => Mt,
|
|
72
|
+
DAYJS_DEFAULT_FORMAT_WITH_TIME: () => Nt,
|
|
73
|
+
Emitter: () => or,
|
|
74
|
+
HYPHEN: () => zr,
|
|
75
|
+
NOOP: () => Pt,
|
|
76
|
+
PREFIX_CLASS: () => Ft,
|
|
77
|
+
PqbValidator: () => ii,
|
|
78
|
+
Tween: () => ni,
|
|
79
|
+
UI_PC_KEY: () => It,
|
|
80
|
+
UI_PC_THEME_DARK_CLASS_NAME: () => Lt,
|
|
81
|
+
Validator: () => ai,
|
|
82
|
+
ValidatorArray: () => oi,
|
|
83
|
+
ValidatorBase: () => si,
|
|
84
|
+
ValidatorBoolean: () => ci,
|
|
85
|
+
ValidatorCustom: () => li,
|
|
86
|
+
ValidatorNumber: () => ui,
|
|
87
|
+
ValidatorObject: () => di,
|
|
88
|
+
ValidatorSchema: () => fi,
|
|
89
|
+
ValidatorString: () => pi,
|
|
90
|
+
ValidatorType: () => mi,
|
|
91
|
+
assign: () => Rt,
|
|
92
|
+
assignIn: () => zt,
|
|
93
|
+
at: () => Bt,
|
|
94
|
+
callOrReturn: () => Zn,
|
|
95
|
+
callbackOriginRef: () => Xn,
|
|
96
|
+
camelCase: () => Vt,
|
|
96
97
|
canUseDOM: () => yt,
|
|
97
|
-
capitalize: () =>
|
|
98
|
-
caseName: () =>
|
|
99
|
-
castArray: () =>
|
|
100
|
-
chain: () =>
|
|
101
|
-
chunk: () =>
|
|
102
|
-
className: () =>
|
|
98
|
+
capitalize: () => Ht,
|
|
99
|
+
caseName: () => Qn,
|
|
100
|
+
castArray: () => Ut,
|
|
101
|
+
chain: () => Wt,
|
|
102
|
+
chunk: () => Gt,
|
|
103
|
+
className: () => $n,
|
|
103
104
|
clipboardCopy: () => $,
|
|
104
|
-
clone: () =>
|
|
105
|
-
cloneDeep: () =>
|
|
106
|
-
cloneDeepWith: () =>
|
|
107
|
-
cloneWith: () =>
|
|
108
|
-
compact: () =>
|
|
105
|
+
clone: () => Kt,
|
|
106
|
+
cloneDeep: () => qt,
|
|
107
|
+
cloneDeepWith: () => Jt,
|
|
108
|
+
cloneWith: () => Yt,
|
|
109
|
+
compact: () => Xt,
|
|
109
110
|
composeRef: () => dt,
|
|
110
111
|
contains: () => bt,
|
|
111
|
-
convertTime: () =>
|
|
112
|
-
convertToDurationBasedOnTimeUnits: () =>
|
|
112
|
+
convertTime: () => tr,
|
|
113
|
+
convertToDurationBasedOnTimeUnits: () => nr,
|
|
113
114
|
copy: () => $,
|
|
114
|
-
cs: () =>
|
|
115
|
-
curry: () =>
|
|
116
|
-
dateFormat: () =>
|
|
117
|
-
dayjs: () =>
|
|
118
|
-
dayjsFormat: () =>
|
|
119
|
-
debounce: () =>
|
|
120
|
-
defaultTo: () =>
|
|
121
|
-
defaults: () =>
|
|
122
|
-
defaultsDeep: () =>
|
|
123
|
-
difference: () =>
|
|
124
|
-
div: () =>
|
|
125
|
-
easing: () =>
|
|
126
|
-
escape: () =>
|
|
127
|
-
fileRead: () =>
|
|
128
|
-
fileToDataURL: () =>
|
|
129
|
-
fillNBSP: () =>
|
|
115
|
+
cs: () => er,
|
|
116
|
+
curry: () => Zt,
|
|
117
|
+
dateFormat: () => rr,
|
|
118
|
+
dayjs: () => ar,
|
|
119
|
+
dayjsFormat: () => ir,
|
|
120
|
+
debounce: () => Qt,
|
|
121
|
+
defaultTo: () => $t,
|
|
122
|
+
defaults: () => Q,
|
|
123
|
+
defaultsDeep: () => en,
|
|
124
|
+
difference: () => tn,
|
|
125
|
+
div: () => vr,
|
|
126
|
+
easing: () => ri,
|
|
127
|
+
escape: () => nn,
|
|
128
|
+
fileRead: () => sr,
|
|
129
|
+
fileToDataURL: () => cr,
|
|
130
|
+
fillNBSP: () => lr,
|
|
130
131
|
fillRef: () => ft,
|
|
131
|
-
findKey: () =>
|
|
132
|
-
findNodeBy: () =>
|
|
132
|
+
findKey: () => rn,
|
|
133
|
+
findNodeBy: () => Kr,
|
|
133
134
|
findRootElement: () => vt,
|
|
134
|
-
fixedWidth: () =>
|
|
135
|
-
flattenDeep: () =>
|
|
136
|
-
flow: () =>
|
|
135
|
+
fixedWidth: () => Vr,
|
|
136
|
+
flattenDeep: () => an,
|
|
137
|
+
flow: () => on,
|
|
137
138
|
focusAtEnd: () => xt,
|
|
138
139
|
forceReflow: () => Z,
|
|
139
|
-
get: () =>
|
|
140
|
+
get: () => sn,
|
|
140
141
|
getBodyContainer: () => St,
|
|
141
|
-
getChildWithParentBy: () =>
|
|
142
|
+
getChildWithParentBy: () => qr,
|
|
142
143
|
getDOM: () => Ct,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
144
|
+
getDocument: () => wt,
|
|
145
|
+
getDocumentElement: () => Tt,
|
|
146
|
+
getElementCoordinates: () => Et,
|
|
147
|
+
getHighlightText: () => ur,
|
|
148
|
+
getHotkeyHandler: () => dr,
|
|
149
|
+
getItemBy: () => Jr,
|
|
150
|
+
getItemByID: () => Yr,
|
|
151
|
+
getLabelFromDictionaryByValue: () => Xr,
|
|
149
152
|
getNodeRef: () => pt,
|
|
150
153
|
getReactElementRef: () => mt,
|
|
151
|
-
getScrollBarHeight: () =>
|
|
152
|
-
getScrollBarSize: () =>
|
|
153
|
-
getScrollBarWidth: () =>
|
|
154
|
-
getScrollElements: () =>
|
|
155
|
-
getStringLength: () =>
|
|
156
|
-
getStyle: () =>
|
|
157
|
-
groupBy: () =>
|
|
158
|
-
has: () =>
|
|
159
|
-
include: () =>
|
|
160
|
-
intersection: () =>
|
|
161
|
-
intersectionObserver: () =>
|
|
162
|
-
invert: () =>
|
|
163
|
-
invertBy: () =>
|
|
154
|
+
getScrollBarHeight: () => pr,
|
|
155
|
+
getScrollBarSize: () => fr,
|
|
156
|
+
getScrollBarWidth: () => mr,
|
|
157
|
+
getScrollElements: () => Dt,
|
|
158
|
+
getStringLength: () => hr,
|
|
159
|
+
getStyle: () => Hr,
|
|
160
|
+
groupBy: () => cn,
|
|
161
|
+
has: () => ln,
|
|
162
|
+
include: () => gr,
|
|
163
|
+
intersection: () => un,
|
|
164
|
+
intersectionObserver: () => _r,
|
|
165
|
+
invert: () => dn,
|
|
166
|
+
invertBy: () => fn,
|
|
164
167
|
is32Bit: () => ne,
|
|
165
168
|
isAllChinese: () => re,
|
|
166
169
|
isArguments: () => e,
|
|
@@ -274,86 +277,85 @@ var yi = /* @__PURE__ */ ee({
|
|
|
274
277
|
isWeakSet: () => st,
|
|
275
278
|
isWindow: () => ct,
|
|
276
279
|
isZero: () => lt,
|
|
277
|
-
kebabCase: () =>
|
|
278
|
-
keyboardCode: () =>
|
|
279
|
-
math: () =>
|
|
280
|
-
mean: () =>
|
|
281
|
-
memoize: () =>
|
|
282
|
-
merge: () =>
|
|
283
|
-
mergeProps: () =>
|
|
284
|
-
mergeWith: () =>
|
|
285
|
-
mergedToString: () =>
|
|
286
|
-
minus: () =>
|
|
287
|
-
mutationObserver: () =>
|
|
288
|
-
noop: () =>
|
|
289
|
-
off: () =>
|
|
290
|
-
omit: () =>
|
|
291
|
-
omitBy: () =>
|
|
292
|
-
on: () =>
|
|
293
|
-
orderBy: () =>
|
|
294
|
-
padEnd: () =>
|
|
295
|
-
padStart: () =>
|
|
296
|
-
parentContainsChildren: () =>
|
|
297
|
-
partition: () =>
|
|
298
|
-
pick: () =>
|
|
299
|
-
pickBy: () =>
|
|
300
|
-
pickDataAttributes: () =>
|
|
301
|
-
pinyin: () =>
|
|
302
|
-
plus: () =>
|
|
303
|
-
pullAll: () =>
|
|
280
|
+
kebabCase: () => pn,
|
|
281
|
+
keyboardCode: () => vi,
|
|
282
|
+
math: () => yr,
|
|
283
|
+
mean: () => mn,
|
|
284
|
+
memoize: () => hn,
|
|
285
|
+
merge: () => gn,
|
|
286
|
+
mergeProps: () => Yn,
|
|
287
|
+
mergeWith: () => _n,
|
|
288
|
+
mergedToString: () => Cr,
|
|
289
|
+
minus: () => br,
|
|
290
|
+
mutationObserver: () => wr,
|
|
291
|
+
noop: () => vn,
|
|
292
|
+
off: () => Ot,
|
|
293
|
+
omit: () => yn,
|
|
294
|
+
omitBy: () => bn,
|
|
295
|
+
on: () => kt,
|
|
296
|
+
orderBy: () => xn,
|
|
297
|
+
padEnd: () => Tr,
|
|
298
|
+
padStart: () => Er,
|
|
299
|
+
parentContainsChildren: () => At,
|
|
300
|
+
partition: () => Sn,
|
|
301
|
+
pick: () => Cn,
|
|
302
|
+
pickBy: () => wn,
|
|
303
|
+
pickDataAttributes: () => Dr,
|
|
304
|
+
pinyin: () => _i,
|
|
305
|
+
plus: () => xr,
|
|
306
|
+
pullAll: () => Tn,
|
|
304
307
|
reflow: () => Z,
|
|
305
|
-
removeDarkTheme: () =>
|
|
306
|
-
render: () =>
|
|
307
|
-
replaceEmptyWithHyphen: () =>
|
|
308
|
-
resizeObserver: () =>
|
|
309
|
-
result: () =>
|
|
310
|
-
sample: () =>
|
|
311
|
-
sampleSize: () =>
|
|
312
|
-
saveAs: () =>
|
|
313
|
-
screenfull: () =>
|
|
314
|
-
scrollIntoViewIfNeeded: () =>
|
|
315
|
-
searchTree: () =>
|
|
316
|
-
set: () =>
|
|
317
|
-
setCreateRoot: () =>
|
|
318
|
-
setDarkTheme: () =>
|
|
319
|
-
setDir: () =>
|
|
320
|
-
setPrimaryColor: () =>
|
|
321
|
-
setTheme: () =>
|
|
322
|
-
setTransformStyle: () =>
|
|
323
|
-
setWith: () =>
|
|
324
|
-
shuffle: () =>
|
|
325
|
-
snakeCase: () =>
|
|
326
|
-
sortBy: () =>
|
|
327
|
-
startCase: () =>
|
|
308
|
+
removeDarkTheme: () => Fr,
|
|
309
|
+
render: () => Nr,
|
|
310
|
+
replaceEmptyWithHyphen: () => Br,
|
|
311
|
+
resizeObserver: () => Or,
|
|
312
|
+
result: () => En,
|
|
313
|
+
sample: () => Dn,
|
|
314
|
+
sampleSize: () => On,
|
|
315
|
+
saveAs: () => kr,
|
|
316
|
+
screenfull: () => Ar,
|
|
317
|
+
scrollIntoViewIfNeeded: () => jr,
|
|
318
|
+
searchTree: () => Zr,
|
|
319
|
+
set: () => kn,
|
|
320
|
+
setCreateRoot: () => Mr,
|
|
321
|
+
setDarkTheme: () => Pr,
|
|
322
|
+
setDir: () => Ir,
|
|
323
|
+
setPrimaryColor: () => Lr,
|
|
324
|
+
setTheme: () => Rr,
|
|
325
|
+
setTransformStyle: () => Ur,
|
|
326
|
+
setWith: () => An,
|
|
327
|
+
shuffle: () => jn,
|
|
328
|
+
snakeCase: () => Mn,
|
|
329
|
+
sortBy: () => Nn,
|
|
330
|
+
startCase: () => Pn,
|
|
328
331
|
supportNodeRef: () => ht,
|
|
329
332
|
supportRef: () => gt,
|
|
330
|
-
throttle: () =>
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
upperFirst: () => Un,
|
|
333
|
+
throttle: () => Fn,
|
|
334
|
+
times: () => Sr,
|
|
335
|
+
tinycolor: () => Wr,
|
|
336
|
+
toArray: () => Gr,
|
|
337
|
+
toPath: () => In,
|
|
338
|
+
tree: () => Qr,
|
|
339
|
+
truncate: () => Ln,
|
|
340
|
+
tunnel: () => ti,
|
|
341
|
+
union: () => Rn,
|
|
342
|
+
uniq: () => zn,
|
|
343
|
+
uniqueId: () => Bn,
|
|
344
|
+
unset: () => Vn,
|
|
345
|
+
update: () => Hn,
|
|
346
|
+
updateWith: () => Un,
|
|
347
|
+
upperCase: () => Wn,
|
|
348
|
+
upperFirst: () => Gn,
|
|
347
349
|
useComposeRef: () => _t,
|
|
348
|
-
uuid: () =>
|
|
349
|
-
uuidv4: () =>
|
|
350
|
-
validatorLocale: () =>
|
|
351
|
-
warning: () =>
|
|
352
|
-
without: () =>
|
|
353
|
-
xor: () =>
|
|
354
|
-
zip: () =>
|
|
350
|
+
uuid: () => $r,
|
|
351
|
+
uuidv4: () => ei,
|
|
352
|
+
validatorLocale: () => hi,
|
|
353
|
+
warning: () => gi,
|
|
354
|
+
without: () => Kn,
|
|
355
|
+
xor: () => qn,
|
|
356
|
+
zip: () => Jn
|
|
355
357
|
});
|
|
356
|
-
te(
|
|
358
|
+
te(bi, ut);
|
|
357
359
|
//#endregion
|
|
358
|
-
export {
|
|
360
|
+
export { yi as COMPONENT_NAMES, jt as CSS_VARIABLE_ELEMENT, Mt as DAYJS_DEFAULT_FORMAT, Nt as DAYJS_DEFAULT_FORMAT_WITH_TIME, or as Emitter, zr as HYPHEN, Pt as NOOP, Ft as PREFIX_CLASS, ii as PqbValidator, ni as Tween, It as UI_PC_KEY, Lt as UI_PC_THEME_DARK_CLASS_NAME, ai as Validator, oi as ValidatorArray, si as ValidatorBase, ci as ValidatorBoolean, li as ValidatorCustom, ui as ValidatorNumber, di as ValidatorObject, fi as ValidatorSchema, pi as ValidatorString, mi as ValidatorType, Rt as assign, zt as assignIn, Bt as at, Zn as callOrReturn, Xn as callbackOriginRef, Vt as camelCase, yt as canUseDOM, Ht as capitalize, Qn as caseName, Ut as castArray, Wt as chain, Gt as chunk, $n as className, $ as clipboardCopy, $ as copy, Kt as clone, qt as cloneDeep, Jt as cloneDeepWith, Yt as cloneWith, Xt as compact, dt as composeRef, bt as contains, tr as convertTime, nr as convertToDurationBasedOnTimeUnits, er as cs, Zt as curry, rr as dateFormat, ar as dayjs, ir as dayjsFormat, Qt as debounce, $t as defaultTo, Q as defaults, en as defaultsDeep, tn as difference, vr as div, ri as easing, nn as escape, sr as fileRead, cr as fileToDataURL, lr as fillNBSP, ft as fillRef, rn as findKey, Kr as findNodeBy, vt as findRootElement, Vr as fixedWidth, an as flattenDeep, on as flow, xt as focusAtEnd, Z as forceReflow, Z as reflow, sn as get, St as getBodyContainer, qr as getChildWithParentBy, Ct as getDOM, wt as getDocument, Tt as getDocumentElement, Et as getElementCoordinates, ur as getHighlightText, dr as getHotkeyHandler, Jr as getItemBy, Yr as getItemByID, Xr as getLabelFromDictionaryByValue, pt as getNodeRef, mt as getReactElementRef, pr as getScrollBarHeight, fr as getScrollBarSize, mr as getScrollBarWidth, Dt as getScrollElements, hr as getStringLength, Hr as getStyle, cn as groupBy, ln as has, gr as include, un as intersection, _r as intersectionObserver, dn as invert, fn as invertBy, ne as is32Bit, re as isAllChinese, e as isArguments, t as isArray, n as isArrayAndNotEmpty, r as isArrayBuffer, i as isArrayEmpty, a 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 isColorValue_, _ as isDOM, v as isDataURI, y as isDate, b as isDayjs, x as isElement, S as isElementByInstanceof, C as isEmail, w as isEmpty, T as isEmptyArray, E as isEmptyObject, D as isEmptyReactNode, O as isEmptyString, k as isEmptyValue, A as isEqual, j as isEqualWith, M as isError, N as isEventTarget, P as isExist, F as isFalse, I as isFile, L as isFinite, R as isFullWidth, z as isFunction, B as isHSL, V as isHTMLElement, H as isHalfWidth, U as isHash, W as isHexColor, G as isIMEI, K as isIP, q as isIPRange, J as isIdentityCard, Y as isInteger, X as isJSON, ie as isJSON_String, ae as isJWT, oe as isLength, se as isMACAddress, ce as isMD5, le as isMap, ue as isMatch, de as isMatchWith, fe as isMimeType, pe as isMobilePhone, me as isMobilePhoneLocales, he as isNaN, ge as isNative, _e as isNil, ve as isNonNullable, ye as isNotFound, be as isNull, xe as isNullOrUndefined, Se as isNumber, Ce as isNumberOrString, we as isObject, Te as isObjectLike, Ee as isPlainObject, De as isPort, Oe as isPresent, ke as isPrimitive, Ae as isPromise, je as isReact18, Me as isReact19, Ne as isReactClassComponent, Pe as isReactComponent, Fe as isReactComponentAndNotFragment, Ie as isReadableStream, Le as isRegExp, Re as isRgbColor, ze as isSVGElement, Be as isSafeInteger, Ve as isScrollElement, He as isSemVer, Ue as isServerRendering, We as isSet, Ge as isSlug, Ke as isSparseArray, qe as isString, Je as isStringAndExist, Ye as isStringOrNumber, Xe as isStrongPassword, Ze as isSymbol, Qe as isThenable, $e as isTrue, et as isTypedArray, tt as isURL, nt as isUUID, rt as isUndefined, it as isUndefinedOrNull, at as isVariableWidth, ot as isWeakMap, st as isWeakSet, ct as isWindow, lt as isZero, pn as kebabCase, vi as keyboardCode, yr as math, mn as mean, hn as memoize, gn as merge, Yn as mergeProps, _n as mergeWith, Cr as mergedToString, br as minus, wr as mutationObserver, vn as noop, Ot as off, yn as omit, bn as omitBy, kt as on, xn as orderBy, Tr as padEnd, Er as padStart, At as parentContainsChildren, Sn as partition, Cn as pick, wn as pickBy, Dr as pickDataAttributes, _i as pinyin, xr as plus, Tn as pullAll, Fr as removeDarkTheme, Nr as render, Br as replaceEmptyWithHyphen, Or as resizeObserver, En as result, Dn as sample, On as sampleSize, kr as saveAs, Ar as screenfull, jr as scrollIntoViewIfNeeded, Zr as searchTree, kn as set, Mr as setCreateRoot, Pr as setDarkTheme, Ir as setDir, Lr as setPrimaryColor, Rr as setTheme, Ur as setTransformStyle, An as setWith, jn as shuffle, Mn as snakeCase, Nn as sortBy, Pn as startCase, ht as supportNodeRef, gt as supportRef, Fn as throttle, Sr as times, Wr as tinycolor, Gr as toArray, In as toPath, Qr as tree, Ln as truncate, ti as tunnel, Rn as union, zn as uniq, Bn as uniqueId, Vn as unset, Hn as update, Un as updateWith, Wn as upperCase, Gn as upperFirst, _t as useComposeRef, bi as utils_exports, $r as uuid, ei as uuidv4, hi as validatorLocale, gi as warning, Kn as without, qn as xor, Jn as zip };
|
|
359
361
|
/* 独立思考,明辨是非 */
|
package/utils/is.js
CHANGED
package/utils/keyboardCode.js
CHANGED
package/utils/lodash.js
CHANGED
package/utils/math.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-26 17:14:56 星期五 山东省济南市 */
|
|
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