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