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