@unicom-cloud/ui-common 0.1.52 → 0.1.54
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 +17 -15
- 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 +1 -1
- 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/index.js +1 -4
- 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.d.ts +1 -0
- package/hooks/index.js +14 -13
- package/hooks/use-async-effect/index.d.ts +1 -1
- package/hooks/use-async-effect/index.js +11 -9
- 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 +2 -12
- 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 +4 -13
- 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 +61 -42
- 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.d.ts +2 -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 +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 -4
- 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 +10 -0
- package/hooks/use-paste-file/index.js +30 -0
- package/hooks/use-paste-image/index.d.ts +2 -3
- package/hooks/use-paste-image/index.js +7 -18
- 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 +2 -2
- 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 +5 -5
- package/hooks/use-state-callback/index.js +10 -10
- 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.d.ts +2 -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 +2 -6
- 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 +2 -6
- 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 +442 -443
- package/morphicons/core/interpolate.js +1 -1
- package/morphicons/core/normalize.js +1 -1
- package/morphicons/core/plan.js +4 -10
- package/morphicons/core/resample.js +1 -1
- package/morphicons/core/serialize.js +1 -1
- package/morphicons/core/spring.js +1 -1
- 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 +41 -40
- package/space/SpaceVertical.js +6 -5
- package/space/constants.js +1 -1
- package/space/context.js +6 -5
- package/space/index.js +1 -1
- package/space/style/index.js +1 -1
- package/space/utils.js +1 -1
- package/style/global.less +5 -4
- package/style.css +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
- package/suspense-fallback-test/constants.js +1 -1
- package/suspense-fallback-test/context.js +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/suspense-fallback-test/style/index.js +1 -1
- package/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/callOrReturn.js +1 -4
- package/utils/callbackOriginRef.js +1 -1
- package/utils/caseName.js +1 -4
- package/utils/className.js +1 -4
- package/utils/confetti.js +2 -2
- package/utils/constants.js +14 -6
- package/utils/copy.js +1 -1
- package/utils/createRoot.js +15 -15
- package/utils/css.js +1 -1
- package/utils/date.js +1 -4
- package/utils/dayjs.js +12 -11
- package/utils/document.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/emitter.js +1 -4
- package/utils/file.js +1 -1
- package/utils/fileRead.js +1 -4
- package/utils/fileToDataURL.js +1 -4
- package/utils/fillNBSP.js +1 -1
- package/utils/getCompatProp.js +1 -1
- package/utils/getElement.js +13 -13
- 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.d.ts +3 -0
- package/utils/getUrlSearchParam.js +11 -0
- package/utils/index.d.ts +1 -3
- package/utils/index.js +248 -251
- package/utils/initAllLineClamp.js +1 -1
- package/utils/injectLineClamp.d.ts +2 -0
- package/utils/injectLineClamp.js +24 -0
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +1 -1
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.d.ts +3 -1
- package/utils/lodash.js +54 -52
- package/utils/math.js +1 -4
- 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 +21 -1
- package/utils/object.js +1 -1
- package/utils/omit.js +1 -1
- package/utils/pad.js +1 -1
- package/utils/pick.js +1 -1
- package/utils/pinyin.js +1 -4
- package/utils/react19Adapter.js +1 -1
- package/utils/reactNode.js +1 -1
- package/utils/ref.js +1 -1
- package/utils/resizeObserver.js +1 -1
- package/utils/saveAs.js +1 -4
- package/utils/screenfull.js +1 -4
- 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 +2 -3
- package/utils/toArray.js +1 -1
- package/utils/tree.js +1 -4
- package/utils/tunnel.js +1 -1
- package/utils/uuid.js +1 -4
- package/utils/validate.d.ts +2 -2
- package/utils/validate.js +1 -4
- package/utils/warning.js +1 -1
- package/version/index.js +10 -10
- package/utils/getURLSearchByParams.d.ts +0 -2
- package/utils/getURLSearchByParams.js +0 -10
- package/utils/include.d.ts +0 -3
- package/utils/include.js +0 -13
- package/utils/tween.d.ts +0 -1
- package/utils/tween.js +0 -6
package/utils/lodash.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import difference from 'lodash/difference';
|
|
|
23
23
|
import escape from 'lodash/escape';
|
|
24
24
|
import extend from 'lodash/extend';
|
|
25
25
|
import findKey from 'lodash/findKey';
|
|
26
|
+
import first from 'lodash/first';
|
|
26
27
|
import flatten from 'lodash/flatten';
|
|
27
28
|
import flattenDeep from 'lodash/flattenDeep';
|
|
28
29
|
import flow from 'lodash/flow';
|
|
@@ -64,6 +65,7 @@ import toPath from 'lodash/toPath';
|
|
|
64
65
|
import truncate from 'lodash/truncate';
|
|
65
66
|
import union from 'lodash/union';
|
|
66
67
|
import uniq from 'lodash/uniq';
|
|
68
|
+
import uniqBy from 'lodash/uniqBy';
|
|
67
69
|
import uniqueId from 'lodash/uniqueId';
|
|
68
70
|
import unset from 'lodash/unset';
|
|
69
71
|
import update from 'lodash/update';
|
|
@@ -73,4 +75,4 @@ import upperFirst from 'lodash/upperFirst';
|
|
|
73
75
|
import without from 'lodash/without';
|
|
74
76
|
import xor from 'lodash/xor';
|
|
75
77
|
import zip from 'lodash/zip';
|
|
76
|
-
export { assign, assignIn, at, camelCase, capitalize, castArray, chain, chunk, clamp, clone, cloneDeep, cloneDeepWith, cloneWith, compact, curry, debounce, defaults, defaultsDeep, defaultTo, difference, escape, extend, findKey, 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, uniqueId, unset, update, updateWith, upperCase, upperFirst, without, xor, 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, };
|
package/utils/lodash.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-
|
|
1
|
+
/* 潘启宝 2026-10-22 18:04:28 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import e from "lodash/castArray";
|
|
4
4
|
import t from "lodash/debounce";
|
|
@@ -25,56 +25,58 @@ import S from "lodash/difference";
|
|
|
25
25
|
import C from "lodash/escape";
|
|
26
26
|
import w from "lodash/extend";
|
|
27
27
|
import T from "lodash/findKey";
|
|
28
|
-
import E from "lodash/
|
|
29
|
-
import D from "lodash/
|
|
30
|
-
import O from "lodash/
|
|
31
|
-
import k from "lodash/
|
|
32
|
-
import A from "lodash/
|
|
33
|
-
import j from "lodash/
|
|
34
|
-
import M from "lodash/
|
|
35
|
-
import N from "lodash/
|
|
36
|
-
import P from "lodash/
|
|
37
|
-
import F from "lodash/
|
|
38
|
-
import I from "lodash/
|
|
39
|
-
import L from "lodash/
|
|
40
|
-
import R from "lodash/
|
|
41
|
-
import z from "lodash/
|
|
42
|
-
import B from "lodash/
|
|
43
|
-
import V from "lodash/
|
|
44
|
-
import H from "lodash/
|
|
45
|
-
import U from "lodash/
|
|
46
|
-
import W from "lodash/
|
|
47
|
-
import G from "lodash/
|
|
48
|
-
import K from "lodash/
|
|
49
|
-
import q from "lodash/
|
|
50
|
-
import J from "lodash/
|
|
51
|
-
import Y from "lodash/
|
|
52
|
-
import X from "lodash/
|
|
53
|
-
import Z from "lodash/
|
|
54
|
-
import Q from "lodash/
|
|
55
|
-
import $ from "lodash/
|
|
56
|
-
import ee from "lodash/
|
|
57
|
-
import te from "lodash/
|
|
58
|
-
import ne from "lodash/
|
|
59
|
-
import re from "lodash/
|
|
60
|
-
import ie from "lodash/
|
|
61
|
-
import ae from "lodash/
|
|
62
|
-
import oe from "lodash/
|
|
63
|
-
import se from "lodash/
|
|
64
|
-
import ce from "lodash/
|
|
65
|
-
import le from "lodash/
|
|
66
|
-
import ue from "lodash/
|
|
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
|
-
|
|
28
|
+
import E from "lodash/first";
|
|
29
|
+
import D from "lodash/flatten";
|
|
30
|
+
import O from "lodash/flattenDeep";
|
|
31
|
+
import k from "lodash/flow";
|
|
32
|
+
import A from "lodash/get";
|
|
33
|
+
import j from "lodash/groupBy";
|
|
34
|
+
import M from "lodash/has";
|
|
35
|
+
import N from "lodash/hasIn";
|
|
36
|
+
import P from "lodash/intersection";
|
|
37
|
+
import F from "lodash/invert";
|
|
38
|
+
import I from "lodash/invertBy";
|
|
39
|
+
import L from "lodash/invoke";
|
|
40
|
+
import R from "lodash/kebabCase";
|
|
41
|
+
import z from "lodash/last";
|
|
42
|
+
import B from "lodash/mapKeys";
|
|
43
|
+
import V from "lodash/mapValues";
|
|
44
|
+
import H from "lodash/mean";
|
|
45
|
+
import U from "lodash/memoize";
|
|
46
|
+
import W from "lodash/merge";
|
|
47
|
+
import G from "lodash/mergeWith";
|
|
48
|
+
import K from "lodash/noop";
|
|
49
|
+
import q from "lodash/omit";
|
|
50
|
+
import J from "lodash/omitBy";
|
|
51
|
+
import Y from "lodash/orderBy";
|
|
52
|
+
import X from "lodash/partition";
|
|
53
|
+
import Z from "lodash/pick";
|
|
54
|
+
import Q from "lodash/pickBy";
|
|
55
|
+
import $ from "lodash/pullAll";
|
|
56
|
+
import ee from "lodash/result";
|
|
57
|
+
import te from "lodash/sample";
|
|
58
|
+
import ne from "lodash/sampleSize";
|
|
59
|
+
import re from "lodash/set";
|
|
60
|
+
import ie from "lodash/setWith";
|
|
61
|
+
import ae from "lodash/shuffle";
|
|
62
|
+
import oe from "lodash/snakeCase";
|
|
63
|
+
import se from "lodash/sortBy";
|
|
64
|
+
import ce from "lodash/startCase";
|
|
65
|
+
import le from "lodash/throttle";
|
|
66
|
+
import ue from "lodash/toPath";
|
|
67
|
+
import de from "lodash/truncate";
|
|
68
|
+
import fe from "lodash/union";
|
|
69
|
+
import pe from "lodash/uniq";
|
|
70
|
+
import me from "lodash/uniqBy";
|
|
71
|
+
import he from "lodash/uniqueId";
|
|
72
|
+
import ge from "lodash/unset";
|
|
73
|
+
import _e from "lodash/update";
|
|
74
|
+
import ve from "lodash/updateWith";
|
|
75
|
+
import ye from "lodash/upperCase";
|
|
76
|
+
import be from "lodash/upperFirst";
|
|
77
|
+
import xe from "lodash/without";
|
|
78
|
+
import Se from "lodash/xor";
|
|
79
|
+
import Ce from "lodash/zip";
|
|
80
|
+
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 truncate, fe as union, pe as uniq, me as uniqBy, he as uniqueId, ge as unset, _e as update, ve as updateWith, ye as upperCase, be as upperFirst, xe as without, Se as xor, Ce as zip };
|
|
79
81
|
/* 欲穷千里目,更上一层楼 */
|
|
80
82
|
/* 独立思考,明辨是非 */
|
package/utils/math.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
/* 世界因你而美丽 */
|
|
3
|
-
import e, { div as t, minus as n, plus as r, times as i, default as a } from "@unicom-cloud/utils/math";
|
|
4
|
-
export { a as default, t as div, e as math, n as minus, r as plus, i as times };
|
|
1
|
+
export { default, div, default as math, minus, plus, times } from "@unicom-cloud/utils/math";
|
|
5
2
|
/* 欲穷千里目,更上一层楼 */
|
|
6
3
|
/* 独立思考,明辨是非 */
|
package/utils/mergeProps.js
CHANGED
package/utils/mergedToString.js
CHANGED
package/utils/names.js
CHANGED
|
@@ -1,105 +1,125 @@
|
|
|
1
|
-
/* 潘启宝 2026-
|
|
1
|
+
/* 潘启宝 2026-10-22 18:04:28 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
//#region components/common/utils/names.ts
|
|
4
4
|
var e = {
|
|
5
5
|
zh: "边框流光",
|
|
6
6
|
en: "BorderBeam",
|
|
7
7
|
displayName: "BorderBeam",
|
|
8
|
+
descriptions: "边框流光,容器边框持续流动的装饰性高亮效果。",
|
|
8
9
|
id: "9a264e00-3fbe-4973-b8cb-ad8b761bd0f5"
|
|
9
10
|
}, t = {
|
|
10
11
|
zh: "等待开发",
|
|
11
12
|
en: "Development",
|
|
12
13
|
displayName: "Development",
|
|
14
|
+
descriptions: "占位组件,表示该功能等待开发。",
|
|
13
15
|
id: "d125fa3c-84c3-4dfd-89ec-f17150165d9b"
|
|
14
16
|
}, n = {
|
|
15
17
|
zh: "空状态",
|
|
16
18
|
en: "Empty",
|
|
17
19
|
displayName: "Empty",
|
|
20
|
+
descriptions: "空状态组件,表示当前场景没有对应数据。",
|
|
18
21
|
id: "8348cf3a-655a-4c87-b7ab-e48b34340d6d"
|
|
19
22
|
}, r = {
|
|
20
23
|
zh: "弹性布局",
|
|
21
24
|
en: "Flex",
|
|
22
25
|
displayName: "Flex",
|
|
26
|
+
descriptions: "弹性布局组件,方便设置元素间距及水平/垂直对齐方式。",
|
|
23
27
|
id: "142fe0f1-6d45-4335-830e-89284c93b0f8"
|
|
24
28
|
}, i = {
|
|
25
29
|
zh: "弹性布局.垂直",
|
|
26
30
|
en: "Flex.Vertical",
|
|
27
31
|
displayName: "FlexVertical",
|
|
32
|
+
descriptions: "垂直方向的弹性布局容器,子元素纵向排列。",
|
|
28
33
|
id: "0ab4a84d-90a9-4c05-938f-f57e77c9931f"
|
|
29
34
|
}, a = {
|
|
30
35
|
zh: "栅格",
|
|
31
36
|
en: "Grid",
|
|
32
37
|
displayName: "Grid",
|
|
38
|
+
descriptions: "栅格组件,通过行列划分保证页面一致性与逻辑性。",
|
|
33
39
|
id: "c25e21c7-4bf2-4aea-a313-da4c595280b6"
|
|
34
40
|
}, o = {
|
|
35
41
|
zh: "栅格.项",
|
|
36
42
|
en: "Grid.Item",
|
|
37
43
|
displayName: "GridItem",
|
|
44
|
+
descriptions: "栅格系统的单个子项组件,承载具体内容。",
|
|
38
45
|
id: "2e0c9aa2-0bfa-48fd-ab8f-cc8047330d0b"
|
|
39
46
|
}, s = {
|
|
40
47
|
zh: "朗读",
|
|
41
48
|
en: "SpeechSynthesis",
|
|
42
49
|
displayName: "SpeechSynthesis",
|
|
50
|
+
descriptions: "朗读组件,将文字通过语音合成朗读出来。",
|
|
43
51
|
id: "cf39c90b-e3c8-4236-bb36-c82364f7ddf1"
|
|
44
52
|
}, c = {
|
|
45
53
|
zh: "文件图标",
|
|
46
54
|
en: "IconFile",
|
|
47
55
|
displayName: "IconFile",
|
|
56
|
+
descriptions: "文件图标,根据文件类型展示对应图标。",
|
|
48
57
|
id: "51ce6209-3c79-475b-80ce-c4c113972c39"
|
|
49
58
|
}, l = {
|
|
50
59
|
zh: "进度条",
|
|
51
60
|
en: "Progress",
|
|
52
61
|
displayName: "Progress",
|
|
62
|
+
descriptions: "进度条组件,展示任务执行状态。",
|
|
53
63
|
id: "101d0fec-3fad-4051-9b00-dcecdf09c38a"
|
|
54
64
|
}, u = {
|
|
55
65
|
zh: "边界尺寸变化",
|
|
56
66
|
en: "ResizeObserver",
|
|
57
67
|
displayName: "ResizeObserver",
|
|
68
|
+
descriptions: "边界尺寸变化监听,用于响应元素尺寸改变。",
|
|
58
69
|
id: "50b9d18f-322e-4d0d-840b-03d8d4e92a03"
|
|
59
70
|
}, d = {
|
|
60
71
|
zh: "间距",
|
|
61
72
|
en: "Space",
|
|
62
73
|
displayName: "Space",
|
|
74
|
+
descriptions: "基于 Flex 封装的间距组件,内置统一间距、子元素包裹层及 separator 分隔符,适合快速排列简单元素。",
|
|
63
75
|
id: "36fad944-cfb8-4da6-a72a-58c48a19fc3f"
|
|
64
76
|
}, f = {
|
|
65
77
|
zh: "间距.垂直",
|
|
66
78
|
en: "SpaceVertical",
|
|
67
79
|
displayName: "SpaceVertical",
|
|
80
|
+
descriptions: "垂直方向的间距组件,子元素纵向排列并保持统一间距。",
|
|
68
81
|
id: "06dd5c47-65fe-4d31-afe5-19212a608a9d"
|
|
69
82
|
}, p = {
|
|
70
83
|
zh: "加载时显示后备方案",
|
|
71
84
|
en: "SuspenseFallbackTest",
|
|
72
85
|
displayName: "SuspenseFallbackTest",
|
|
86
|
+
descriptions: "Suspense 加载时显示后备内容。",
|
|
73
87
|
id: "99d2b67d-a958-459f-8e70-0e0f327ecc6d"
|
|
74
88
|
}, m = {
|
|
75
89
|
zh: "时间",
|
|
76
90
|
en: "Timer",
|
|
77
91
|
displayName: "Timer",
|
|
92
|
+
descriptions: "时间工具组件,用于计时与延迟调度。",
|
|
78
93
|
id: "e533969f-752b-4fc4-95aa-a58e87781916"
|
|
79
94
|
}, h = {
|
|
80
95
|
zh: "动画过渡",
|
|
81
96
|
en: "Transition",
|
|
82
97
|
displayName: "Transition",
|
|
98
|
+
descriptions: "动画过渡组件,管理元素和元素组的过渡效果。",
|
|
83
99
|
id: "20512ad9-c54f-4352-8bdb-1d3d753fe993"
|
|
84
100
|
}, g = {
|
|
85
101
|
zh: "动画过渡 CSS",
|
|
86
102
|
en: "Transition.CSS",
|
|
87
103
|
displayName: "TransitionCSS",
|
|
104
|
+
descriptions: "基于 CSS transition 的轻量动画过渡封装。",
|
|
88
105
|
id: "7e73317b-fe40-4a36-9070-27607e0b6de7"
|
|
89
106
|
}, _ = {
|
|
90
107
|
zh: "动画过渡 Style",
|
|
91
108
|
en: "Transition.Style",
|
|
92
109
|
displayName: "TransitionStyle",
|
|
110
|
+
descriptions: "基于 Style 的动画过渡。",
|
|
93
111
|
id: "522e3883-c266-4ba0-9ad1-34c1d58e9098"
|
|
94
112
|
}, v = {
|
|
95
113
|
zh: "动画过渡群组",
|
|
96
114
|
en: "Transition.Group",
|
|
97
115
|
displayName: "TransitionGroup",
|
|
116
|
+
descriptions: "元素组的动画过渡,子元素进出列表时自动应用过渡。",
|
|
98
117
|
id: "899e40ed-fca7-4982-829d-e7cf5383413d"
|
|
99
118
|
}, y = {
|
|
100
119
|
zh: "动画",
|
|
101
120
|
en: "Animation",
|
|
102
121
|
displayName: "Animation",
|
|
122
|
+
descriptions: "预设动画效果集合,封装常用的入场、出场与循环动效。",
|
|
103
123
|
id: "f56f66f0-19b2-437f-bb89-8c00cd656961"
|
|
104
124
|
}, b = {
|
|
105
125
|
BorderBeam: e,
|
package/utils/object.js
CHANGED
package/utils/omit.js
CHANGED
package/utils/pad.js
CHANGED
package/utils/pick.js
CHANGED
package/utils/pinyin.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/* 世界因你而美丽 */
|
|
3
|
-
import e from "@unicom-cloud/utils/pinyin";
|
|
1
|
+
export { default } from "@unicom-cloud/utils/pinyin";
|
|
4
2
|
export * from "@unicom-cloud/utils/pinyin";
|
|
5
|
-
export { e as default };
|
|
6
3
|
/* 欲穷千里目,更上一层楼 */
|
|
7
4
|
/* 独立思考,明辨是非 */
|
package/utils/react19Adapter.js
CHANGED
package/utils/reactNode.js
CHANGED
package/utils/ref.js
CHANGED
package/utils/resizeObserver.js
CHANGED
package/utils/saveAs.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
/* 世界因你而美丽 */
|
|
3
|
-
import e, { saveAs as t } from "@unicom-cloud/utils/file/saveAs";
|
|
4
|
-
export { e as default, t as saveAs };
|
|
1
|
+
export { default, saveAs } from "@unicom-cloud/utils/file/saveAs";
|
|
5
2
|
/* 欲穷千里目,更上一层楼 */
|
|
6
3
|
/* 独立思考,明辨是非 */
|
package/utils/screenfull.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
/* 世界因你而美丽 */
|
|
3
|
-
import e, { default as t } from "@unicom-cloud/utils/screenfull";
|
|
4
|
-
export { t as default, e as screenfull };
|
|
1
|
+
export { default, default as screenfull } from "@unicom-cloud/utils/screenfull";
|
|
5
2
|
/* 欲穷千里目,更上一层楼 */
|
|
6
3
|
/* 独立思考,明辨是非 */
|
package/utils/scrollTo.js
CHANGED
package/utils/setDarkTheme.js
CHANGED
package/utils/setDir.js
CHANGED
package/utils/setPrimaryColor.js
CHANGED
package/utils/setTheme.js
CHANGED
package/utils/string.js
CHANGED
package/utils/style.js
CHANGED
package/utils/tinycolor.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/* 潘启宝 2026-
|
|
1
|
+
/* 潘启宝 2026-10-22 18:04:28 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import "../.virtual/_rolldown/runtime.js";
|
|
4
|
-
|
|
4
|
+
export { default, default as tinycolor } from "@unicom-cloud/utils/tinycolor";
|
|
5
5
|
export * from "@unicom-cloud/utils/tinycolor";
|
|
6
|
-
export { t as default, e as tinycolor };
|
|
7
6
|
/* 欲穷千里目,更上一层楼 */
|
|
8
7
|
/* 独立思考,明辨是非 */
|
package/utils/toArray.js
CHANGED
package/utils/tree.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
/* 世界因你而美丽 */
|
|
3
|
-
import e, { findNodeBy as t, getChildWithParentBy as n, getItemBy as r, getItemByID as i, getLabelFromDictionaryByValue as a, searchTree as o, default as s } from "@unicom-cloud/utils/tree";
|
|
4
|
-
export { s as default, t as findNodeBy, n as getChildWithParentBy, r as getItemBy, i as getItemByID, a as getLabelFromDictionaryByValue, o as searchTree, e as tree };
|
|
1
|
+
export { default, findNodeBy, getChildWithParentBy, getItemBy, getItemByID, getLabelFromDictionaryByValue, searchTree, default as tree } from "@unicom-cloud/utils/tree";
|
|
5
2
|
/* 欲穷千里目,更上一层楼 */
|
|
6
3
|
/* 独立思考,明辨是非 */
|
package/utils/tunnel.js
CHANGED
package/utils/uuid.js
CHANGED
package/utils/validate.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export type { ValidateInnerOptions, ValidateMessagesTemplateType, ValidateMessagesType,
|
|
1
|
+
export { Validator, ValidatorArray, ValidatorBase, ValidatorBoolean, ValidatorCustom, validatorLocale, ValidatorNumber, ValidatorObject, ValidatorSchema, ValidatorString, ValidatorType, } from '@unicom-cloud/utils/validate';
|
|
2
|
+
export type { ValidateInnerOptions, ValidateMessagesTemplateType, ValidateMessagesType, ValidateRuleType, ValidateSchemaOptions, ValidateSchemaRuleType, ValidateSchemaType, ValidatorCustomType, ValidatorError, } from '@unicom-cloud/utils/validate';
|
package/utils/validate.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
/* 世界因你而美丽 */
|
|
3
|
-
import { PqbValidator as e, Validator as t, ValidatorArray as n, ValidatorBase as r, ValidatorBoolean as i, ValidatorCustom as a, ValidatorNumber as o, ValidatorObject as s, ValidatorSchema as c, ValidatorString as l, ValidatorType as u, validatorLocale as d } from "@unicom-cloud/utils/validate";
|
|
4
|
-
export { e as PqbValidator, t as Validator, n as ValidatorArray, r as ValidatorBase, i as ValidatorBoolean, a as ValidatorCustom, o as ValidatorNumber, s as ValidatorObject, c as ValidatorSchema, l as ValidatorString, u as ValidatorType, d as validatorLocale };
|
|
1
|
+
export { Validator, ValidatorArray, ValidatorBase, ValidatorBoolean, ValidatorCustom, ValidatorNumber, ValidatorObject, ValidatorSchema, ValidatorString, ValidatorType, validatorLocale } from "@unicom-cloud/utils/validate";
|
|
5
2
|
/* 欲穷千里目,更上一层楼 */
|
|
6
3
|
/* 独立思考,明辨是非 */
|
package/utils/warning.js
CHANGED
package/version/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* 潘启宝 2026-
|
|
1
|
+
/* 潘启宝 2026-10-22 18:04:28 星期四 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
//#region components/common/version/index.ts
|
|
4
4
|
var e = {
|
|
5
5
|
name: "潘启宝",
|
|
6
|
-
date: "2026-
|
|
6
|
+
date: "2026-10-22 18:04:26",
|
|
7
7
|
platform: "darwin",
|
|
8
8
|
arch: "arm64",
|
|
9
9
|
hostname: "Mac-mini-2.local",
|
|
@@ -11,18 +11,18 @@ var e = {
|
|
|
11
11
|
cpu: "Apple M4",
|
|
12
12
|
endianness: "LE",
|
|
13
13
|
release: "Darwin27.0.0",
|
|
14
|
-
uptime:
|
|
15
|
-
UUID: "
|
|
14
|
+
uptime: 32928,
|
|
15
|
+
UUID: "dca8353f-7d03-4971-add4-e0e4d59573c6",
|
|
16
16
|
mac: "02:00:00:00:00:00",
|
|
17
17
|
version: {
|
|
18
|
-
node: "24.
|
|
19
|
-
npm: "11.
|
|
20
|
-
vite: "8.3.
|
|
21
|
-
rolldown: "1.2.
|
|
18
|
+
node: "24.21.0",
|
|
19
|
+
npm: "11.19.0",
|
|
20
|
+
vite: "8.3.4",
|
|
21
|
+
rolldown: "1.2.13",
|
|
22
22
|
self: "0.0.0",
|
|
23
|
-
react: "19.3.
|
|
23
|
+
react: "19.3.1"
|
|
24
24
|
}
|
|
25
|
-
}, t = "2026-
|
|
25
|
+
}, t = "2026-10-22 18:04:26", n = "1792663466279", r = "0.1.0";
|
|
26
26
|
//#endregion
|
|
27
27
|
export { r as VERSION, r as default, t as VERSION_BUILD_DATE, e as VERSION_BUILD_INFO, n as VERSION_BUILD_TIME };
|
|
28
28
|
/* 欲穷千里目,更上一层楼 */
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* 潘启宝 2026-09-29 14:33:57 星期二 山东省济南市 */
|
|
2
|
-
/* 世界因你而美丽 */
|
|
3
|
-
//#region components/common/utils/getURLSearchByParams.ts
|
|
4
|
-
function e(e) {
|
|
5
|
-
return new URLSearchParams(window.location.search).get(e);
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { e as default, e as getURLSearchByParams };
|
|
9
|
-
/* 欲穷千里目,更上一层楼 */
|
|
10
|
-
/* 独立思考,明辨是非 */
|
package/utils/include.d.ts
DELETED
package/utils/include.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* 潘启宝 2026-09-29 14:33:57 星期二 山东省济南市 */
|
|
2
|
-
/* 世界因你而美丽 */
|
|
3
|
-
//#region components/common/utils/include.ts
|
|
4
|
-
function e(e, t) {
|
|
5
|
-
let n = {};
|
|
6
|
-
return Object.keys(e).forEach((r) => {
|
|
7
|
-
t.includes(r) && (n[r] = e[r]);
|
|
8
|
-
}), n;
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { e as default, e as include };
|
|
12
|
-
/* 欲穷千里目,更上一层楼 */
|
|
13
|
-
/* 独立思考,明辨是非 */
|
package/utils/tween.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, easing, default as Tween } from '@unicom-cloud/utils/tween';
|