@unicom-cloud/ui-common 0.1.55 → 0.1.57
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/animation/utils.js +1 -1
- package/base/Base.js +1 -1
- package/base/constants.js +1 -1
- package/base/context.js +1 -1
- package/base/index.js +1 -1
- package/base/style/index.js +1 -1
- package/base/utils.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/development/utils.js +1 -1
- package/empty/Empty.js +1 -1
- package/empty/constants.js +1 -1
- package/empty/context.js +1 -1
- package/empty/index.js +1 -1
- package/empty/style/index.js +1 -1
- package/empty/utils.js +1 -1
- package/flex/Flex.js +1 -1
- package/flex/FlexVertical.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 +9 -9
- package/grid/Grid.js +1 -1
- package/grid/Item.js +1 -1
- package/grid/constants.js +1 -1
- package/grid/context.js +1 -1
- package/grid/index.js +1 -1
- package/grid/style/index.js +1 -1
- package/grid/utils.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/hoc/withContext.js +1 -1
- package/hooks/create-deep-compare-effect/index.js +1 -1
- package/hooks/create-update-effect/index.js +1 -1
- package/hooks/create-use-storage-state/index.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/use-async-effect/index.js +1 -1
- package/hooks/use-boolean/index.js +1 -1
- package/hooks/use-click-away/index.js +1 -1
- package/hooks/use-computed-state/index.js +1 -1
- package/hooks/use-controllable-value/index.js +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-drag-move/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-component-props/index.js +21 -8
- 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-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-file/index.d.ts +1 -1
- package/hooks/use-paste-file/index.js +2 -2
- 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-ref-map/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-throttle-fn-with-raf/index.js +1 -1
- package/hooks/use-timeout/index.js +1 -1
- package/hooks/use-title/index.js +1 -1
- package/hooks/use-toggle/index.js +1 -1
- package/hooks/use-tracked-effect/index.js +1 -1
- package/hooks/use-unmount/index.js +1 -1
- package/hooks/use-unmounted-ref/index.js +1 -1
- package/hooks/use-update/index.js +1 -1
- package/hooks/use-update-effect/index.js +1 -1
- package/hooks/use-update-layout-effect/index.js +1 -1
- package/hooks/use-url-state/index.js +1 -1
- package/hooks/use-virtual-list/index.js +1 -1
- package/hooks/use-watch/index.js +1 -1
- package/hooks/use-web-socket/index.js +1 -1
- package/hooks/use-why-did-you-update/index.js +1 -1
- package/hooks/use-window-size/index.js +1 -1
- package/hooks/utils/createEffectWithTarget.js +1 -1
- package/hooks/utils/depsAreSame.js +1 -1
- package/hooks/utils/depsEqual.js +1 -1
- package/hooks/utils/domTarget.js +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 +319 -319
- package/morphicons/core/interpolate.js +1 -1
- package/morphicons/core/normalize.js +1 -1
- package/morphicons/core/resample.js +1 -1
- package/morphicons/core/serialize.js +1 -1
- package/morphicons/core/spring.js +2 -2
- package/morphicons/dom/index.js +1 -1
- package/morphicons/index.js +1 -1
- package/morphicons/react/index.js +1 -1
- package/package.json +1 -1
- package/progress/Progress.js +1 -1
- package/progress/constants.js +1 -1
- package/progress/context.js +1 -1
- package/progress/index.js +1 -1
- package/progress/style/index.js +1 -1
- package/progress/utils.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/resize-observer/utils.js +1 -1
- package/space/Space.js +1 -1
- package/space/SpaceVertical.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/space/utils.js +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/suspense-fallback-test/utils.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/timer/utils.js +1 -1
- package/transition/Transition.js +1 -1
- package/transition/TransitionCSS.js +1 -1
- package/transition/TransitionGroup.js +1 -1
- package/transition/TransitionStyle.js +1 -1
- package/transition/constants.js +1 -1
- package/transition/context.js +1 -1
- package/transition/index.js +1 -1
- package/transition/style/index.js +1 -1
- package/transition/utils.js +1 -1
- package/utils/callbackOriginRef.js +1 -1
- package/utils/confetti.js +1 -1
- package/utils/constants.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/createRoot.js +1 -1
- package/utils/css.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/document.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/file.js +1 -1
- package/utils/fillNBSP.js +1 -1
- package/utils/getCompatProp.js +1 -1
- package/utils/getElement.js +2 -2
- package/utils/getHighlightText.js +1 -1
- package/utils/getHotkeyHandler.js +1 -1
- package/utils/getPrefixCls.js +1 -1
- package/utils/getScrollBarHeight.js +1 -1
- package/utils/getScrollBarSize.js +1 -1
- package/utils/getScrollBarWidth.js +1 -1
- package/utils/getScrollParent.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/getUrlSearchParam.js +1 -1
- package/utils/index.js +192 -192
- package/utils/initAllLineClamp.js +1 -1
- package/utils/injectLineClamp.js +1 -1
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +1 -1
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.d.ts +2 -1
- package/utils/lodash.js +16 -15
- package/utils/mergeProps.js +1 -1
- package/utils/mergedToString.js +1 -1
- package/utils/migrateLegacyProps.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/react19Adapter.js +1 -1
- package/utils/reactNode.js +1 -1
- package/utils/ref.js +1 -1
- package/utils/resizeObserver.js +1 -1
- package/utils/scrollIntoViewIfNeeded.js +1 -1
- package/utils/scrollTo.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/tinycolor.js +1 -1
- package/utils/toArray.js +1 -1
- package/utils/tunnel.js +1 -1
- package/utils/validate.d.ts +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,65 +1,65 @@
|
|
|
1
|
-
/* 潘启宝 2026-
|
|
1
|
+
/* 潘启宝 2026-11-03 10:36:21 星期二 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import { __exportAll as ee, __reExport as e } from "../.virtual/_rolldown/runtime.js";
|
|
4
4
|
import { object_exports as te } from "./object.js";
|
|
5
5
|
import { call as ne, callWith as re } from "./call.js";
|
|
6
|
-
import { assign as ie, assignIn as t, at as n, camelCase as r, capitalize as i, castArray as a, chain as o, chunk as s, clamp as c, clone as l, cloneDeep as u, cloneDeepWith as d, cloneWith as f, compact as p, curry as m, debounce as h, defaultTo as g, defaults as _, defaultsDeep as v, difference as y, escape as b, extend as x, findKey as S, first as C, flatten as w, flattenDeep as T, flow as E, get as D, groupBy as O, has as k, hasIn as A, intersection as j, invert as M, invertBy as N, invoke as P, kebabCase as F, last as I, mapKeys as L, mapValues as R, mean as z, memoize as B, merge as V, mergeWith as H, move as U, noop as W, omit as G, omitBy as K, orderBy as q, partition as J, pick as Y, pickBy as ae, pullAll as oe, result as se, sample as ce, sampleSize as le, set as ue, setWith as de, shuffle as fe, snakeCase as pe, sortBy as me, startCase as he, swap as ge, throttle as _e, toPath as ve, toSwapped as ye,
|
|
7
|
-
import { isCompositeTypeElement as
|
|
8
|
-
import { composeRef as
|
|
9
|
-
import
|
|
10
|
-
import { screenfull as
|
|
11
|
-
import { canUseDOM as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { callbackOriginRef as
|
|
15
|
-
import { caseName as
|
|
16
|
-
import { className as
|
|
17
|
-
import { confetti as
|
|
18
|
-
import { CSS_VARIABLE_ELEMENT as
|
|
6
|
+
import { assign as ie, assignIn as t, at as n, camelCase as r, capitalize as i, castArray as a, chain as o, chunk as s, clamp as c, clone as l, cloneDeep as u, cloneDeepWith as d, cloneWith as f, compact as p, curry as m, debounce as h, defaultTo as g, defaults as _, defaultsDeep as v, difference as y, escape as b, extend as x, findKey as S, first as C, flatten as w, flattenDeep as T, flow as E, get as D, groupBy as O, has as k, hasIn as A, intersection as j, invert as M, invertBy as N, invoke as P, kebabCase as F, last as I, mapKeys as L, mapValues as R, mean as z, memoize as B, merge as V, mergeWith as H, move as U, noop as W, omit as G, omitBy as K, orderBy as q, partition as J, pick as Y, pickBy as ae, pullAll as oe, result as se, sample as ce, sampleSize as le, set as ue, setWith as de, shuffle as fe, snakeCase as pe, sortBy as me, startCase as he, swap as ge, throttle as _e, toPath as ve, toSwapped as ye, trim as be, truncate as xe, union as Se, uniq as Ce, uniqBy as we, uniqueId as Te, unset as Ee, update as De, updateWith as Oe, upperCase as ke, upperFirst as Ae, without as je, xor as Me, zip as Ne } from "./lodash.js";
|
|
7
|
+
import { isCompositeTypeElement as Pe, isEmptyChildren as Fe, isEmptyReactNode as Ie, isReact18 as Le, isReact19 as Re, isReactClassComponent as ze, isReactComponent as Be, isReactComponentAndNotFragment as Ve, isReactFunctionalComponent as He, isServerRendering as Ue } from "./is.js";
|
|
8
|
+
import { composeRef as We, fillRef as Ge, getNodeRef as Ke, getReactElementRef as qe, supportNodeRef as Je, supportRef as Ye, useComposeRef as Xe } from "./ref.js";
|
|
9
|
+
import Ze from "./getElement.js";
|
|
10
|
+
import { screenfull as Qe } from "./screenfull.js";
|
|
11
|
+
import { canUseDOM as $e, contains as et, findSingleChainDescendantByStyle as tt, focusAtEnd as nt, forceReflow as X, getBody as rt, getBodyContainer as it, getClientRects as at, getDOM as ot, getDocument as st, getDocumentElement as ct, getElementCoordinates as lt, getElementOuterSize as ut, getHead as dt, getScrollElements as ft, getTextLineCount as pt, getTopLevelOverlayContainer as mt, isSingleLine as Z, off as ht, on as gt, parentContainsChildren as _t } from "./dom.js";
|
|
12
|
+
import vt from "./mergeProps.js";
|
|
13
|
+
import yt from "./migrateLegacyProps.js";
|
|
14
|
+
import { callbackOriginRef as bt } from "./callbackOriginRef.js";
|
|
15
|
+
import { caseName as xt } from "./caseName.js";
|
|
16
|
+
import { className as St, cls as Ct, clsx as wt, cs as Tt } from "./className.js";
|
|
17
|
+
import { confetti as Et, fire as Dt } from "./confetti.js";
|
|
18
|
+
import { CSS_VARIABLE_ELEMENT as Ot, DAYJS_DEFAULT_FORMAT as kt, DAYJS_DEFAULT_FORMAT_WITH_TIME as At, PREFIX_CLASS as jt, constants_exports as Mt } from "./constants.js";
|
|
19
19
|
import { clipboardCopy as Q } from "./copy.js";
|
|
20
|
-
import { createRoot as
|
|
20
|
+
import { createRoot as Nt, render as Pt, setCreateRoot as Ft } from "./createRoot.js";
|
|
21
21
|
import "./css.js";
|
|
22
|
-
import { convertTime as
|
|
23
|
-
import { dayjs as
|
|
24
|
-
import { document_exports as
|
|
25
|
-
import { Emitter as
|
|
22
|
+
import { convertTime as It, convertToDurationBasedOnTimeUnits as Lt, dateFormat as Rt, dayjsFormat as zt } from "./date.js";
|
|
23
|
+
import { dayjs as Bt } from "./dayjs.js";
|
|
24
|
+
import { document_exports as Vt } from "./document.js";
|
|
25
|
+
import { Emitter as Ht } from "./emitter.js";
|
|
26
26
|
import "./file.js";
|
|
27
|
-
import { fileRead as
|
|
28
|
-
import { fileToDataURL as
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
27
|
+
import { fileRead as Ut } from "./fileRead.js";
|
|
28
|
+
import { fileToDataURL as Wt } from "./fileToDataURL.js";
|
|
29
|
+
import Gt from "./fillNBSP.js";
|
|
30
|
+
import Kt from "./getCompatProp.js";
|
|
31
|
+
import qt from "./getHighlightText.js";
|
|
32
|
+
import Jt from "./getHotkeyHandler.js";
|
|
33
|
+
import Yt from "./getPrefixCls.js";
|
|
34
|
+
import Xt from "./getScrollBarSize.js";
|
|
35
|
+
import Zt from "./getScrollBarHeight.js";
|
|
36
|
+
import Qt from "./getScrollBarWidth.js";
|
|
37
37
|
import "./getScrollParent.js";
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import { uuid as
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import { div as
|
|
44
|
-
import
|
|
45
|
-
import
|
|
38
|
+
import $t from "./getStringLength.js";
|
|
39
|
+
import en, { getQueryParam as tn } from "./getUrlSearchParam.js";
|
|
40
|
+
import { uuid as nn, uuidv4 as rn } from "./uuid.js";
|
|
41
|
+
import an from "./initAllLineClamp.js";
|
|
42
|
+
import on from "./intersectionObserver.js";
|
|
43
|
+
import { div as sn, math as cn, minus as ln, plus as un, times as dn } from "./math.js";
|
|
44
|
+
import fn from "./mergedToString.js";
|
|
45
|
+
import pn from "./mutationObserver.js";
|
|
46
46
|
import "./omit.js";
|
|
47
|
-
import { padEnd as
|
|
48
|
-
import { pickAttributesByPrefixes as
|
|
49
|
-
import
|
|
50
|
-
import { saveAs as
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import { HYPHEN as
|
|
57
|
-
import { fixedWidth as
|
|
58
|
-
import { tinycolor as
|
|
59
|
-
import
|
|
60
|
-
import { findNodeBy as
|
|
61
|
-
import
|
|
62
|
-
import { Validator as
|
|
47
|
+
import { padEnd as mn, padStart as hn } from "./pad.js";
|
|
48
|
+
import { pickAttributesByPrefixes as gn, pickDataAriaAttributes as _n } from "./pick.js";
|
|
49
|
+
import vn from "./resizeObserver.js";
|
|
50
|
+
import { saveAs as yn } from "./saveAs.js";
|
|
51
|
+
import bn from "./scrollIntoViewIfNeeded.js";
|
|
52
|
+
import xn, { removeDarkTheme as Sn } from "./setDarkTheme.js";
|
|
53
|
+
import Cn from "./setDir.js";
|
|
54
|
+
import wn from "./setPrimaryColor.js";
|
|
55
|
+
import Tn from "./setTheme.js";
|
|
56
|
+
import { HYPHEN as En, replaceEmptyWithHyphen as Dn } from "./string.js";
|
|
57
|
+
import { fixedWidth as On, getStyle as kn, setTransformStyle as An } from "./style.js";
|
|
58
|
+
import { tinycolor as jn } from "./tinycolor.js";
|
|
59
|
+
import Mn from "./toArray.js";
|
|
60
|
+
import { findNodeBy as Nn, getChildWithParentBy as Pn, getItemBy as Fn, getItemByID as In, getLabelFromDictionaryByValue as Ln, searchTree as Rn, tree as zn } from "./tree.js";
|
|
61
|
+
import Bn from "./tunnel.js";
|
|
62
|
+
import { Validator as Vn, ValidatorArray as Hn, ValidatorBase as Un, ValidatorBoolean as Wn, ValidatorCustom as Gn, ValidatorNumber as Kn, ValidatorObject as qn, ValidatorSchema as Jn, ValidatorString as Yn, ValidatorType as Xn } from "./validate.js";
|
|
63
63
|
import Zn from "./warning.js";
|
|
64
64
|
import { keyboardCode as Qn } from "./keyboardCode.js";
|
|
65
65
|
import { COMPONENT_NAMES as $n } from "./names.js";
|
|
@@ -73,219 +73,219 @@ export * from "@unicom-cloud/utils/tinycolor";
|
|
|
73
73
|
// components/common/utils/index.ts
|
|
74
74
|
var $ = /* @__PURE__ */ ee({
|
|
75
75
|
COMPONENT_NAMES: () => $n,
|
|
76
|
-
CSS_VARIABLE_ELEMENT: () =>
|
|
77
|
-
DAYJS_DEFAULT_FORMAT: () =>
|
|
78
|
-
DAYJS_DEFAULT_FORMAT_WITH_TIME: () =>
|
|
79
|
-
Emitter: () =>
|
|
80
|
-
HYPHEN: () =>
|
|
81
|
-
PREFIX_CLASS: () =>
|
|
82
|
-
Validator: () =>
|
|
83
|
-
ValidatorArray: () =>
|
|
84
|
-
ValidatorBase: () =>
|
|
85
|
-
ValidatorBoolean: () =>
|
|
86
|
-
ValidatorCustom: () =>
|
|
87
|
-
ValidatorNumber: () =>
|
|
88
|
-
ValidatorObject: () =>
|
|
89
|
-
ValidatorSchema: () =>
|
|
90
|
-
ValidatorString: () =>
|
|
91
|
-
ValidatorType: () =>
|
|
76
|
+
CSS_VARIABLE_ELEMENT: () => Ot,
|
|
77
|
+
DAYJS_DEFAULT_FORMAT: () => kt,
|
|
78
|
+
DAYJS_DEFAULT_FORMAT_WITH_TIME: () => At,
|
|
79
|
+
Emitter: () => Ht,
|
|
80
|
+
HYPHEN: () => En,
|
|
81
|
+
PREFIX_CLASS: () => jt,
|
|
82
|
+
Validator: () => Vn,
|
|
83
|
+
ValidatorArray: () => Hn,
|
|
84
|
+
ValidatorBase: () => Un,
|
|
85
|
+
ValidatorBoolean: () => Wn,
|
|
86
|
+
ValidatorCustom: () => Gn,
|
|
87
|
+
ValidatorNumber: () => Kn,
|
|
88
|
+
ValidatorObject: () => qn,
|
|
89
|
+
ValidatorSchema: () => Jn,
|
|
90
|
+
ValidatorString: () => Yn,
|
|
91
|
+
ValidatorType: () => Xn,
|
|
92
92
|
assign: () => ie,
|
|
93
93
|
assignIn: () => t,
|
|
94
94
|
at: () => n,
|
|
95
95
|
call: () => ne,
|
|
96
96
|
callWith: () => re,
|
|
97
|
-
callbackOriginRef: () =>
|
|
97
|
+
callbackOriginRef: () => bt,
|
|
98
98
|
camelCase: () => r,
|
|
99
|
-
canUseDOM: () =>
|
|
99
|
+
canUseDOM: () => $e,
|
|
100
100
|
capitalize: () => i,
|
|
101
|
-
caseName: () =>
|
|
101
|
+
caseName: () => xt,
|
|
102
102
|
castArray: () => a,
|
|
103
103
|
chain: () => o,
|
|
104
104
|
chunk: () => s,
|
|
105
105
|
clamp: () => c,
|
|
106
|
-
className: () =>
|
|
106
|
+
className: () => St,
|
|
107
107
|
clipboardCopy: () => Q,
|
|
108
108
|
clone: () => l,
|
|
109
109
|
cloneDeep: () => u,
|
|
110
110
|
cloneDeepWith: () => d,
|
|
111
111
|
cloneWith: () => f,
|
|
112
|
-
cls: () =>
|
|
113
|
-
clsx: () =>
|
|
112
|
+
cls: () => Ct,
|
|
113
|
+
clsx: () => wt,
|
|
114
114
|
compact: () => p,
|
|
115
|
-
composeRef: () =>
|
|
116
|
-
confetti: () =>
|
|
117
|
-
contains: () =>
|
|
118
|
-
convertTime: () =>
|
|
119
|
-
convertToDurationBasedOnTimeUnits: () =>
|
|
115
|
+
composeRef: () => We,
|
|
116
|
+
confetti: () => Et,
|
|
117
|
+
contains: () => et,
|
|
118
|
+
convertTime: () => It,
|
|
119
|
+
convertToDurationBasedOnTimeUnits: () => Lt,
|
|
120
120
|
copy: () => Q,
|
|
121
|
-
createRoot: () =>
|
|
122
|
-
cs: () =>
|
|
121
|
+
createRoot: () => Nt,
|
|
122
|
+
cs: () => Tt,
|
|
123
123
|
curry: () => m,
|
|
124
|
-
dateFormat: () =>
|
|
125
|
-
dayjs: () =>
|
|
126
|
-
dayjsFormat: () =>
|
|
124
|
+
dateFormat: () => Rt,
|
|
125
|
+
dayjs: () => Bt,
|
|
126
|
+
dayjsFormat: () => zt,
|
|
127
127
|
debounce: () => h,
|
|
128
128
|
defaultTo: () => g,
|
|
129
129
|
defaults: () => _,
|
|
130
130
|
defaultsDeep: () => v,
|
|
131
131
|
difference: () => y,
|
|
132
|
-
div: () =>
|
|
132
|
+
div: () => sn,
|
|
133
133
|
escape: () => b,
|
|
134
134
|
extend: () => x,
|
|
135
|
-
fileRead: () =>
|
|
136
|
-
fileToDataURL: () =>
|
|
137
|
-
fillNBSP: () =>
|
|
138
|
-
fillRef: () =>
|
|
135
|
+
fileRead: () => Ut,
|
|
136
|
+
fileToDataURL: () => Wt,
|
|
137
|
+
fillNBSP: () => Gt,
|
|
138
|
+
fillRef: () => Ge,
|
|
139
139
|
findKey: () => S,
|
|
140
|
-
findNodeBy: () =>
|
|
141
|
-
findSingleChainDescendantByStyle: () =>
|
|
142
|
-
fire: () =>
|
|
140
|
+
findNodeBy: () => Nn,
|
|
141
|
+
findSingleChainDescendantByStyle: () => tt,
|
|
142
|
+
fire: () => Dt,
|
|
143
143
|
first: () => C,
|
|
144
|
-
fixedWidth: () =>
|
|
144
|
+
fixedWidth: () => On,
|
|
145
145
|
flatten: () => w,
|
|
146
146
|
flattenDeep: () => T,
|
|
147
147
|
flow: () => E,
|
|
148
|
-
focusAtEnd: () =>
|
|
148
|
+
focusAtEnd: () => nt,
|
|
149
149
|
forceReflow: () => X,
|
|
150
150
|
get: () => D,
|
|
151
|
-
getBody: () =>
|
|
152
|
-
getBodyContainer: () =>
|
|
153
|
-
getChildWithParentBy: () =>
|
|
154
|
-
getClientRects: () =>
|
|
155
|
-
getCompatProp: () =>
|
|
156
|
-
getDOM: () =>
|
|
157
|
-
getDocument: () =>
|
|
158
|
-
getDocumentElement: () =>
|
|
159
|
-
getElement: () =>
|
|
160
|
-
getElementCoordinates: () =>
|
|
161
|
-
getElementOuterSize: () =>
|
|
162
|
-
getHead: () =>
|
|
163
|
-
getHighlightText: () =>
|
|
164
|
-
getHotkeyHandler: () =>
|
|
165
|
-
getItemBy: () =>
|
|
166
|
-
getItemByID: () =>
|
|
167
|
-
getLabelFromDictionaryByValue: () =>
|
|
168
|
-
getNodeRef: () =>
|
|
169
|
-
getPrefixCls: () =>
|
|
170
|
-
getQueryParam: () =>
|
|
171
|
-
getReactElementRef: () =>
|
|
172
|
-
getScrollBarHeight: () =>
|
|
173
|
-
getScrollBarSize: () =>
|
|
174
|
-
getScrollBarWidth: () =>
|
|
175
|
-
getScrollElements: () =>
|
|
176
|
-
getStringLength: () =>
|
|
177
|
-
getStyle: () =>
|
|
178
|
-
getTextLineCount: () =>
|
|
179
|
-
getTopLevelOverlayContainer: () =>
|
|
180
|
-
getUrlSearchParam: () =>
|
|
151
|
+
getBody: () => rt,
|
|
152
|
+
getBodyContainer: () => it,
|
|
153
|
+
getChildWithParentBy: () => Pn,
|
|
154
|
+
getClientRects: () => at,
|
|
155
|
+
getCompatProp: () => Kt,
|
|
156
|
+
getDOM: () => ot,
|
|
157
|
+
getDocument: () => st,
|
|
158
|
+
getDocumentElement: () => ct,
|
|
159
|
+
getElement: () => Ze,
|
|
160
|
+
getElementCoordinates: () => lt,
|
|
161
|
+
getElementOuterSize: () => ut,
|
|
162
|
+
getHead: () => dt,
|
|
163
|
+
getHighlightText: () => qt,
|
|
164
|
+
getHotkeyHandler: () => Jt,
|
|
165
|
+
getItemBy: () => Fn,
|
|
166
|
+
getItemByID: () => In,
|
|
167
|
+
getLabelFromDictionaryByValue: () => Ln,
|
|
168
|
+
getNodeRef: () => Ke,
|
|
169
|
+
getPrefixCls: () => Yt,
|
|
170
|
+
getQueryParam: () => tn,
|
|
171
|
+
getReactElementRef: () => qe,
|
|
172
|
+
getScrollBarHeight: () => Zt,
|
|
173
|
+
getScrollBarSize: () => Xt,
|
|
174
|
+
getScrollBarWidth: () => Qt,
|
|
175
|
+
getScrollElements: () => ft,
|
|
176
|
+
getStringLength: () => $t,
|
|
177
|
+
getStyle: () => kn,
|
|
178
|
+
getTextLineCount: () => pt,
|
|
179
|
+
getTopLevelOverlayContainer: () => mt,
|
|
180
|
+
getUrlSearchParam: () => en,
|
|
181
181
|
groupBy: () => O,
|
|
182
182
|
has: () => k,
|
|
183
183
|
hasIn: () => A,
|
|
184
|
-
initAllLineClamp: () =>
|
|
184
|
+
initAllLineClamp: () => an,
|
|
185
185
|
intersection: () => j,
|
|
186
|
-
intersectionObserver: () =>
|
|
186
|
+
intersectionObserver: () => on,
|
|
187
187
|
invert: () => M,
|
|
188
188
|
invertBy: () => N,
|
|
189
189
|
invoke: () => P,
|
|
190
|
-
isCompositeTypeElement: () =>
|
|
191
|
-
isEmptyChildren: () =>
|
|
192
|
-
isEmptyReactNode: () =>
|
|
193
|
-
isReact18: () =>
|
|
194
|
-
isReact19: () =>
|
|
195
|
-
isReactClassComponent: () =>
|
|
196
|
-
isReactComponent: () =>
|
|
197
|
-
isReactComponentAndNotFragment: () =>
|
|
198
|
-
isReactFunctionalComponent: () =>
|
|
199
|
-
isServerRendering: () =>
|
|
200
|
-
isSingleLine: () =>
|
|
190
|
+
isCompositeTypeElement: () => Pe,
|
|
191
|
+
isEmptyChildren: () => Fe,
|
|
192
|
+
isEmptyReactNode: () => Ie,
|
|
193
|
+
isReact18: () => Le,
|
|
194
|
+
isReact19: () => Re,
|
|
195
|
+
isReactClassComponent: () => ze,
|
|
196
|
+
isReactComponent: () => Be,
|
|
197
|
+
isReactComponentAndNotFragment: () => Ve,
|
|
198
|
+
isReactFunctionalComponent: () => He,
|
|
199
|
+
isServerRendering: () => Ue,
|
|
200
|
+
isSingleLine: () => Z,
|
|
201
201
|
kebabCase: () => F,
|
|
202
202
|
keyboardCode: () => Qn,
|
|
203
203
|
last: () => I,
|
|
204
204
|
mapKeys: () => L,
|
|
205
205
|
mapValues: () => R,
|
|
206
|
-
math: () =>
|
|
206
|
+
math: () => cn,
|
|
207
207
|
mean: () => z,
|
|
208
208
|
memoize: () => B,
|
|
209
209
|
merge: () => V,
|
|
210
|
-
mergeProps: () =>
|
|
210
|
+
mergeProps: () => vt,
|
|
211
211
|
mergeWith: () => H,
|
|
212
|
-
mergedToString: () =>
|
|
213
|
-
migrateLegacyProps: () =>
|
|
214
|
-
minus: () =>
|
|
212
|
+
mergedToString: () => fn,
|
|
213
|
+
migrateLegacyProps: () => yt,
|
|
214
|
+
minus: () => ln,
|
|
215
215
|
move: () => U,
|
|
216
|
-
mutationObserver: () =>
|
|
216
|
+
mutationObserver: () => pn,
|
|
217
217
|
noop: () => W,
|
|
218
|
-
off: () =>
|
|
218
|
+
off: () => ht,
|
|
219
219
|
omit: () => G,
|
|
220
220
|
omitBy: () => K,
|
|
221
|
-
on: () =>
|
|
221
|
+
on: () => gt,
|
|
222
222
|
orderBy: () => q,
|
|
223
|
-
padEnd: () =>
|
|
224
|
-
padStart: () =>
|
|
225
|
-
parentContainsChildren: () =>
|
|
223
|
+
padEnd: () => mn,
|
|
224
|
+
padStart: () => hn,
|
|
225
|
+
parentContainsChildren: () => _t,
|
|
226
226
|
partition: () => J,
|
|
227
227
|
pick: () => Y,
|
|
228
|
-
pickAttributesByPrefixes: () =>
|
|
228
|
+
pickAttributesByPrefixes: () => gn,
|
|
229
229
|
pickBy: () => ae,
|
|
230
|
-
pickDataAriaAttributes: () =>
|
|
231
|
-
plus: () =>
|
|
230
|
+
pickDataAriaAttributes: () => _n,
|
|
231
|
+
plus: () => un,
|
|
232
232
|
pullAll: () => oe,
|
|
233
233
|
reflow: () => X,
|
|
234
|
-
removeDarkTheme: () =>
|
|
235
|
-
render: () =>
|
|
236
|
-
replaceEmptyWithHyphen: () =>
|
|
237
|
-
resizeObserver: () =>
|
|
234
|
+
removeDarkTheme: () => Sn,
|
|
235
|
+
render: () => Pt,
|
|
236
|
+
replaceEmptyWithHyphen: () => Dn,
|
|
237
|
+
resizeObserver: () => vn,
|
|
238
238
|
result: () => se,
|
|
239
239
|
sample: () => ce,
|
|
240
240
|
sampleSize: () => le,
|
|
241
|
-
saveAs: () =>
|
|
242
|
-
screenfull: () =>
|
|
243
|
-
scrollIntoViewIfNeeded: () =>
|
|
244
|
-
searchTree: () =>
|
|
241
|
+
saveAs: () => yn,
|
|
242
|
+
screenfull: () => Qe,
|
|
243
|
+
scrollIntoViewIfNeeded: () => bn,
|
|
244
|
+
searchTree: () => Rn,
|
|
245
245
|
set: () => ue,
|
|
246
|
-
setCreateRoot: () =>
|
|
247
|
-
setDarkTheme: () =>
|
|
248
|
-
setDir: () =>
|
|
249
|
-
setPrimaryColor: () =>
|
|
250
|
-
setTheme: () =>
|
|
251
|
-
setTransformStyle: () =>
|
|
246
|
+
setCreateRoot: () => Ft,
|
|
247
|
+
setDarkTheme: () => xn,
|
|
248
|
+
setDir: () => Cn,
|
|
249
|
+
setPrimaryColor: () => wn,
|
|
250
|
+
setTheme: () => Tn,
|
|
251
|
+
setTransformStyle: () => An,
|
|
252
252
|
setWith: () => de,
|
|
253
253
|
shuffle: () => fe,
|
|
254
254
|
snakeCase: () => pe,
|
|
255
255
|
sortBy: () => me,
|
|
256
256
|
startCase: () => he,
|
|
257
|
-
supportNodeRef: () =>
|
|
258
|
-
supportRef: () =>
|
|
257
|
+
supportNodeRef: () => Je,
|
|
258
|
+
supportRef: () => Ye,
|
|
259
259
|
swap: () => ge,
|
|
260
260
|
throttle: () => _e,
|
|
261
|
-
times: () =>
|
|
262
|
-
tinycolor: () =>
|
|
263
|
-
toArray: () =>
|
|
261
|
+
times: () => dn,
|
|
262
|
+
tinycolor: () => jn,
|
|
263
|
+
toArray: () => Mn,
|
|
264
264
|
toPath: () => ve,
|
|
265
265
|
toSwapped: () => ye,
|
|
266
|
-
tree: () =>
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
266
|
+
tree: () => zn,
|
|
267
|
+
trim: () => be,
|
|
268
|
+
truncate: () => xe,
|
|
269
|
+
tunnel: () => Bn,
|
|
270
|
+
union: () => Se,
|
|
271
|
+
uniq: () => Ce,
|
|
272
|
+
uniqBy: () => we,
|
|
273
|
+
uniqueId: () => Te,
|
|
274
|
+
unset: () => Ee,
|
|
275
|
+
update: () => De,
|
|
276
|
+
updateWith: () => Oe,
|
|
277
|
+
upperCase: () => ke,
|
|
278
|
+
upperFirst: () => Ae,
|
|
279
|
+
useComposeRef: () => Xe,
|
|
280
|
+
uuid: () => nn,
|
|
281
|
+
uuidv4: () => rn,
|
|
282
282
|
warning: () => Zn,
|
|
283
|
-
without: () =>
|
|
284
|
-
xor: () =>
|
|
285
|
-
zip: () =>
|
|
283
|
+
without: () => je,
|
|
284
|
+
xor: () => Me,
|
|
285
|
+
zip: () => Ne
|
|
286
286
|
});
|
|
287
287
|
import * as er from "@unicom-cloud/utils/is";
|
|
288
|
-
e($, er), e($,
|
|
289
|
-
export { $n as COMPONENT_NAMES,
|
|
288
|
+
e($, er), e($, Mt), e($, Vt), e($, te);
|
|
289
|
+
export { $n as COMPONENT_NAMES, Ot as CSS_VARIABLE_ELEMENT, kt as DAYJS_DEFAULT_FORMAT, At as DAYJS_DEFAULT_FORMAT_WITH_TIME, Ht as Emitter, En as HYPHEN, jt as PREFIX_CLASS, Vn as Validator, Hn as ValidatorArray, Un as ValidatorBase, Wn as ValidatorBoolean, Gn as ValidatorCustom, Kn as ValidatorNumber, qn as ValidatorObject, Jn as ValidatorSchema, Yn as ValidatorString, Xn as ValidatorType, ie as assign, t as assignIn, n as at, ne as call, re as callWith, bt as callbackOriginRef, r as camelCase, $e as canUseDOM, i as capitalize, xt as caseName, a as castArray, o as chain, s as chunk, c as clamp, St as className, Q as clipboardCopy, Q as copy, l as clone, u as cloneDeep, d as cloneDeepWith, f as cloneWith, Ct as cls, wt as clsx, p as compact, We as composeRef, Et as confetti, et as contains, It as convertTime, Lt as convertToDurationBasedOnTimeUnits, Nt as createRoot, Tt as cs, m as curry, Rt as dateFormat, Bt as dayjs, zt as dayjsFormat, h as debounce, g as defaultTo, _ as defaults, v as defaultsDeep, y as difference, sn as div, b as escape, x as extend, Ut as fileRead, Wt as fileToDataURL, Gt as fillNBSP, Ge as fillRef, S as findKey, Nn as findNodeBy, tt as findSingleChainDescendantByStyle, Dt as fire, C as first, On as fixedWidth, w as flatten, T as flattenDeep, E as flow, nt as focusAtEnd, X as forceReflow, X as reflow, D as get, rt as getBody, it as getBodyContainer, Pn as getChildWithParentBy, at as getClientRects, Kt as getCompatProp, ot as getDOM, st as getDocument, ct as getDocumentElement, Ze as getElement, lt as getElementCoordinates, ut as getElementOuterSize, dt as getHead, qt as getHighlightText, Jt as getHotkeyHandler, Fn as getItemBy, In as getItemByID, Ln as getLabelFromDictionaryByValue, Ke as getNodeRef, Yt as getPrefixCls, tn as getQueryParam, qe as getReactElementRef, Zt as getScrollBarHeight, Xt as getScrollBarSize, Qt as getScrollBarWidth, ft as getScrollElements, $t as getStringLength, kn as getStyle, pt as getTextLineCount, mt as getTopLevelOverlayContainer, en as getUrlSearchParam, O as groupBy, k as has, A as hasIn, an as initAllLineClamp, j as intersection, on as intersectionObserver, M as invert, N as invertBy, P as invoke, Pe as isCompositeTypeElement, Fe as isEmptyChildren, Ie as isEmptyReactNode, Le as isReact18, Re as isReact19, ze as isReactClassComponent, Be as isReactComponent, Ve as isReactComponentAndNotFragment, He as isReactFunctionalComponent, Ue as isServerRendering, Z as isSingleLine, F as kebabCase, Qn as keyboardCode, I as last, L as mapKeys, R as mapValues, cn as math, z as mean, B as memoize, V as merge, vt as mergeProps, H as mergeWith, fn as mergedToString, yt as migrateLegacyProps, ln as minus, U as move, pn as mutationObserver, W as noop, ht as off, G as omit, K as omitBy, gt as on, q as orderBy, mn as padEnd, hn as padStart, _t as parentContainsChildren, J as partition, Y as pick, gn as pickAttributesByPrefixes, ae as pickBy, _n as pickDataAriaAttributes, un as plus, oe as pullAll, Sn as removeDarkTheme, Pt as render, Dn as replaceEmptyWithHyphen, vn as resizeObserver, se as result, ce as sample, le as sampleSize, yn as saveAs, Qe as screenfull, bn as scrollIntoViewIfNeeded, Rn as searchTree, ue as set, Ft as setCreateRoot, xn as setDarkTheme, Cn as setDir, wn as setPrimaryColor, Tn as setTheme, An as setTransformStyle, de as setWith, fe as shuffle, pe as snakeCase, me as sortBy, he as startCase, Je as supportNodeRef, Ye as supportRef, ge as swap, _e as throttle, dn as times, jn as tinycolor, Mn as toArray, ve as toPath, ye as toSwapped, zn as tree, be as trim, xe as truncate, Bn as tunnel, Se as union, Ce as uniq, we as uniqBy, Te as uniqueId, Ee as unset, De as update, Oe as updateWith, ke as upperCase, Ae as upperFirst, Xe as useComposeRef, $ as utils_exports, nn as uuid, rn as uuidv4, Zn as warning, je as without, Me as xor, Ne as zip };
|
|
290
290
|
/* 欲穷千里目,更上一层楼 */
|
|
291
291
|
/* 独立思考,明辨是非 */
|
package/utils/injectLineClamp.js
CHANGED
package/utils/is.js
CHANGED
package/utils/keyboardCode.js
CHANGED
package/utils/lodash.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ import sortBy from 'lodash/sortBy';
|
|
|
62
62
|
import startCase from 'lodash/startCase';
|
|
63
63
|
import throttle from 'lodash/throttle';
|
|
64
64
|
import toPath from 'lodash/toPath';
|
|
65
|
+
import trim from 'lodash/trim';
|
|
65
66
|
import truncate from 'lodash/truncate';
|
|
66
67
|
import union from 'lodash/union';
|
|
67
68
|
import uniq from 'lodash/uniq';
|
|
@@ -75,4 +76,4 @@ import upperFirst from 'lodash/upperFirst';
|
|
|
75
76
|
import without from 'lodash/without';
|
|
76
77
|
import xor from 'lodash/xor';
|
|
77
78
|
import zip from 'lodash/zip';
|
|
78
|
-
export { assign, assignIn, at, camelCase, capitalize, castArray, chain, chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, compact, curry, debounce, defaults, defaultsDeep, defaultTo, difference, escape, extend, findKey, first, flatten, flattenDeep, flow, get, groupBy, has, hasIn, intersection, invert, invertBy, invoke, kebabCase, last, mapKeys, mapValues, mean, memoize, merge, mergeWith, move, noop, omit, omitBy, orderBy, partition, pick, pickBy, pullAll, result, sample, sampleSize, set, setWith, shuffle, snakeCase, sortBy, startCase, swap, throttle, toPath, toSwapped, truncate, union, uniq, uniqBy, uniqueId, unset, update, updateWith, upperCase, upperFirst, without, xor, zip, };
|
|
79
|
+
export { assign, assignIn, at, camelCase, capitalize, castArray, chain, chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, compact, curry, debounce, defaults, defaultsDeep, defaultTo, difference, escape, extend, findKey, first, flatten, flattenDeep, flow, get, groupBy, has, hasIn, intersection, invert, invertBy, invoke, kebabCase, last, mapKeys, mapValues, mean, memoize, merge, mergeWith, move, noop, omit, omitBy, orderBy, partition, pick, pickBy, pullAll, result, sample, sampleSize, set, setWith, shuffle, snakeCase, sortBy, startCase, swap, throttle, toPath, toSwapped, trim, truncate, union, uniq, uniqBy, uniqueId, unset, update, updateWith, upperCase, upperFirst, without, xor, zip, };
|
package/utils/lodash.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-
|
|
1
|
+
/* 潘启宝 2026-11-03 10:36:21 星期二 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import e from "lodash/castArray";
|
|
4
4
|
import t from "lodash/debounce";
|
|
@@ -64,19 +64,20 @@ import se from "lodash/sortBy";
|
|
|
64
64
|
import ce from "lodash/startCase";
|
|
65
65
|
import le from "lodash/throttle";
|
|
66
66
|
import ue from "lodash/toPath";
|
|
67
|
-
import de from "lodash/
|
|
68
|
-
import fe from "lodash/
|
|
69
|
-
import pe from "lodash/
|
|
70
|
-
import me from "lodash/
|
|
71
|
-
import he from "lodash/
|
|
72
|
-
import ge from "lodash/
|
|
73
|
-
import _e from "lodash/
|
|
74
|
-
import ve from "lodash/
|
|
75
|
-
import ye from "lodash/
|
|
76
|
-
import be from "lodash/
|
|
77
|
-
import xe from "lodash/
|
|
78
|
-
import Se from "lodash/
|
|
79
|
-
import Ce from "lodash/
|
|
80
|
-
|
|
67
|
+
import de from "lodash/trim";
|
|
68
|
+
import fe from "lodash/truncate";
|
|
69
|
+
import pe from "lodash/union";
|
|
70
|
+
import me from "lodash/uniq";
|
|
71
|
+
import he from "lodash/uniqBy";
|
|
72
|
+
import ge from "lodash/uniqueId";
|
|
73
|
+
import _e from "lodash/unset";
|
|
74
|
+
import ve from "lodash/update";
|
|
75
|
+
import ye from "lodash/updateWith";
|
|
76
|
+
import be from "lodash/upperCase";
|
|
77
|
+
import xe from "lodash/upperFirst";
|
|
78
|
+
import Se from "lodash/without";
|
|
79
|
+
import Ce from "lodash/xor";
|
|
80
|
+
import we from "lodash/zip";
|
|
81
|
+
export { a as assign, o as assignIn, s as at, c as camelCase, l as capitalize, e as castArray, u as chain, d as chunk, f as clamp, p as clone, m as cloneDeep, h as cloneDeepWith, g as cloneWith, _ as compact, v as curry, t as debounce, x as defaultTo, y as defaults, b as defaultsDeep, S as difference, C as escape, w as extend, T as findKey, E as first, D as flatten, O as flattenDeep, k as flow, A as get, j as groupBy, M as has, N as hasIn, P as intersection, F as invert, I as invertBy, L as invoke, R as kebabCase, z as last, B as mapKeys, V as mapValues, H as mean, U as memoize, W as merge, G as mergeWith, n as move, K as noop, q as omit, J as omitBy, Y as orderBy, X as partition, Z as pick, Q as pickBy, $ as pullAll, ee as result, te as sample, ne as sampleSize, re as set, ie as setWith, ae as shuffle, oe as snakeCase, se as sortBy, ce as startCase, r as swap, le as throttle, ue as toPath, i as toSwapped, de as trim, fe as truncate, pe as union, me as uniq, he as uniqBy, ge as uniqueId, _e as unset, ve as update, ye as updateWith, be as upperCase, xe as upperFirst, Se as without, Ce as xor, we as zip };
|
|
81
82
|
/* 欲穷千里目,更上一层楼 */
|
|
82
83
|
/* 独立思考,明辨是非 */
|
package/utils/mergeProps.js
CHANGED
package/utils/mergedToString.js
CHANGED