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