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