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