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