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