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