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