@unicom-cloud/ui-common 0.1.45 → 0.1.47
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 +3 -1
- package/animation/Animation.d.ts +2 -1
- package/animation/Animation.js +30 -28
- package/animation/constants.js +3 -1
- package/animation/context.js +3 -1
- package/animation/index.d.ts +4 -0
- package/animation/index.js +5 -3
- package/animation/style/index.js +3 -1
- package/animation/utils.js +3 -1
- package/base/Base.js +3 -1
- package/base/constants.js +3 -1
- package/base/context.js +3 -1
- package/base/index.d.ts +0 -1
- package/base/index.js +3 -1
- package/base/style/index.js +3 -1
- package/base/utils.js +3 -1
- package/border-beam/BorderBeam.d.ts +8 -1
- package/border-beam/BorderBeam.js +37 -32
- package/border-beam/Effect.js +3 -1
- package/border-beam/constants.js +3 -1
- package/border-beam/context.js +3 -1
- package/border-beam/hooks/useBorderSize.js +3 -1
- package/border-beam/hooks/useChildDom.js +10 -8
- package/border-beam/index.d.ts +9 -0
- package/border-beam/index.js +4 -2
- package/border-beam/style/index.js +3 -1
- package/border-beam/utils.js +4 -2
- package/development/Development.d.ts +8 -2
- package/development/Development.js +24 -17
- package/development/constants.js +3 -1
- package/development/context.js +3 -1
- package/development/index.d.ts +9 -1
- package/development/index.js +4 -2
- package/development/style/index.js +3 -1
- package/development/utils.js +3 -1
- package/empty/Empty.d.ts +8 -2
- package/empty/Empty.js +21 -15
- package/empty/constants.js +3 -1
- package/empty/context.js +3 -1
- package/empty/index.d.ts +9 -1
- package/empty/index.js +5 -3
- package/empty/style/index.js +3 -1
- package/empty/utils.js +3 -1
- package/flex/Flex.d.ts +9 -4
- package/flex/Flex.js +45 -45
- package/flex/FlexVertical.d.ts +10 -0
- package/flex/FlexVertical.js +19 -0
- package/flex/constants.js +3 -1
- package/flex/context.js +3 -1
- package/flex/index.d.ts +20 -5
- package/flex/index.js +8 -5
- package/flex/interface.d.ts +14 -7
- package/flex/style/index.js +3 -1
- package/flex/utils.d.ts +7 -3
- package/flex/utils.js +27 -18
- package/globe/Globe.d.ts +10 -0
- package/globe/Globe.js +140 -0
- package/globe/constants.d.ts +0 -0
- package/globe/constants.js +4 -0
- package/globe/context.d.ts +3 -0
- package/globe/context.js +26 -0
- package/globe/globe.json.js +42585 -0
- package/globe/hooks/index.d.ts +0 -0
- package/globe/index.d.ts +19 -0
- package/globe/index.js +15 -0
- package/globe/interface.d.ts +46 -0
- package/globe/style/index.css +1 -0
- package/globe/style/index.d.ts +1 -0
- package/globe/style/index.js +5 -0
- package/globe/utils.d.ts +0 -0
- package/globe/utils.js +4 -0
- package/grid/Grid.d.ts +10 -0
- package/grid/Grid.js +58 -0
- package/grid/Item.d.ts +10 -0
- package/grid/Item.js +40 -0
- package/grid/constants.d.ts +0 -0
- package/grid/constants.js +4 -0
- package/grid/context.d.ts +12 -0
- package/grid/context.js +13 -0
- package/grid/hooks/index.d.ts +0 -0
- package/grid/index.d.ts +35 -0
- package/grid/index.js +18 -0
- package/grid/interface.d.ts +89 -0
- package/grid/style/index.css +1 -0
- package/grid/style/index.d.ts +1 -0
- package/grid/style/index.js +5 -0
- package/grid/utils.d.ts +3 -0
- package/grid/utils.js +26 -0
- package/higher-order/index.js +3 -1
- package/higher-order/with-speech-synthesis/context.js +5 -3
- package/higher-order/with-speech-synthesis/index.d.ts +2 -1
- package/higher-order/with-speech-synthesis/index.js +4 -2
- package/higher-order/with-speech-synthesis/style/index.js +3 -1
- package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +62 -57
- package/hoc/withContext.js +3 -1
- package/hooks/create-deep-compare-effect/index.js +8 -6
- package/hooks/create-update-effect/index.js +3 -1
- package/hooks/create-use-storage-state/index.js +24 -22
- package/hooks/index.d.ts +3 -2
- package/hooks/index.js +7 -4
- package/hooks/use-async-effect/index.js +12 -10
- package/hooks/use-boolean/index.js +3 -1
- package/hooks/use-click-away/index.js +3 -1
- package/hooks/use-computed-state/index.js +3 -1
- package/hooks/use-controllable-value/index.js +34 -39
- package/hooks/use-cookie-state/index.js +14 -12
- package/hooks/use-count-down/index.js +9 -7
- package/hooks/use-counter/index.js +16 -14
- package/hooks/use-create/index.js +3 -1
- package/hooks/use-creation/index.js +3 -1
- package/hooks/use-debounce/index.js +3 -1
- package/hooks/use-debounce-effect/index.js +3 -1
- package/hooks/use-debounce-fn/index.js +11 -9
- package/hooks/use-deep-compare-effect/index.js +3 -1
- package/hooks/use-deep-compare-layout-effect/index.js +3 -1
- package/hooks/use-document-visibility/index.js +3 -1
- package/hooks/use-drag/index.js +21 -19
- package/hooks/use-drag-move/index.js +31 -29
- package/hooks/use-drop/index.js +31 -29
- package/hooks/use-effect-event/index.js +3 -1
- package/hooks/use-event/index.js +5 -3
- package/hooks/use-event-emitter/index.js +3 -1
- package/hooks/use-event-listener/index.js +3 -1
- package/hooks/use-event-target/index.js +10 -8
- package/hooks/use-external/index.js +30 -28
- package/hooks/use-favicon/index.js +3 -1
- package/hooks/use-focus-within/index.js +3 -1
- package/hooks/use-force-update/index.js +3 -1
- package/hooks/use-fullscreen/index.js +20 -18
- package/hooks/use-get-state/index.d.ts +1 -1
- package/hooks/use-get-state/index.js +3 -1
- package/hooks/use-history-travel/index.js +23 -21
- package/hooks/use-hover/index.js +3 -1
- package/hooks/use-id/index.js +7 -5
- package/hooks/use-in-viewport/index.js +17 -14
- package/hooks/use-infinite-scroll/index.js +47 -45
- package/hooks/use-intersection-observer/index.js +11 -8
- package/hooks/use-intersection-observers/index.js +22 -20
- package/hooks/use-interval/index.js +9 -7
- package/hooks/use-is-first-render/index.js +3 -1
- package/hooks/use-isomorphic-layout-effect/index.js +3 -1
- package/hooks/use-key-press/index.js +30 -28
- package/hooks/use-keyboard-event/index.js +3 -1
- package/hooks/use-latest/index.js +3 -1
- package/hooks/use-listen-window-resize/index.js +3 -1
- package/hooks/use-local-storage-state/index.js +3 -1
- package/hooks/use-lock-fn/index.js +3 -1
- package/hooks/use-long-press/index.js +3 -1
- package/hooks/use-map/index.js +3 -1
- package/hooks/use-media/index.js +13 -11
- package/hooks/use-memo/index.js +3 -1
- package/hooks/use-memoized-fn/index.js +9 -7
- package/hooks/use-merge-component-props/index.d.ts +14 -0
- package/hooks/use-merge-component-props/index.js +14 -0
- package/hooks/use-merge-value/index.js +13 -11
- package/hooks/use-mobile/index.js +3 -1
- package/hooks/use-mount/index.js +8 -6
- package/hooks/use-mouse/index.js +3 -1
- package/hooks/use-move/index.js +3 -1
- package/hooks/use-mutation-observer/index.js +3 -1
- package/hooks/use-mutation-observers/index.js +22 -20
- package/hooks/use-network/index.js +10 -8
- package/hooks/use-online-status/index.js +3 -1
- package/hooks/use-overflow-hidden/index.js +3 -1
- package/hooks/use-override-ref/index.js +3 -1
- package/hooks/use-pagination/index.js +3 -1
- package/hooks/use-paste-image/index.js +15 -13
- package/hooks/use-persist-callback/index.js +3 -1
- package/hooks/use-prefers-color-scheme-dark/index.js +3 -1
- package/hooks/use-previous/index.js +3 -1
- package/hooks/use-raf-interval/index.js +17 -15
- package/hooks/use-raf-state/index.js +3 -1
- package/hooks/use-raf-timeout/index.js +16 -14
- package/hooks/use-reactive/index.js +26 -24
- package/hooks/use-ref-latest/index.js +3 -1
- package/hooks/use-ref-map/index.d.ts +3 -0
- package/hooks/use-ref-map/index.js +14 -0
- package/hooks/use-refs/index.d.ts +1 -2
- package/hooks/use-refs/index.js +8 -12
- package/hooks/use-request/index.js +3 -1
- package/hooks/use-request/src/Fetch.js +11 -9
- package/hooks/use-request/src/plugins/useAutoRunPlugin.js +3 -1
- package/hooks/use-request/src/plugins/useCachePlugin.js +3 -1
- package/hooks/use-request/src/plugins/useDebouncePlugin.js +28 -19
- package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +3 -1
- package/hooks/use-request/src/plugins/usePollingPlugin.js +3 -1
- package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +3 -1
- package/hooks/use-request/src/plugins/useRetryPlugin.js +3 -1
- package/hooks/use-request/src/plugins/useThrottlePlugin.js +7 -5
- package/hooks/use-request/src/useRequest.js +3 -1
- package/hooks/use-request/src/useRequestImplement.js +39 -37
- package/hooks/use-request/src/utils/cache.js +3 -1
- package/hooks/use-request/src/utils/cachePromise.js +3 -1
- package/hooks/use-request/src/utils/cacheSubscribe.js +3 -1
- package/hooks/use-request/src/utils/isDocumentVisible.js +3 -1
- package/hooks/use-request/src/utils/isOnline.js +6 -4
- package/hooks/use-request/src/utils/limit.js +3 -1
- package/hooks/use-request/src/utils/subscribeFocus.js +4 -2
- package/hooks/use-request/src/utils/subscribeReVisible.js +3 -1
- package/hooks/use-reset-state/index.js +9 -7
- package/hooks/use-resize-observer/index.js +3 -1
- package/hooks/use-resize-observers/index.js +22 -20
- package/hooks/use-responsive/index.js +3 -1
- package/hooks/use-safe-state/index.d.ts +1 -1
- package/hooks/use-safe-state/index.js +3 -1
- package/hooks/use-scroll/index.js +3 -1
- package/hooks/use-selections/index.js +21 -19
- package/hooks/use-session-storage-state/index.js +3 -1
- package/hooks/use-set/index.js +3 -1
- package/hooks/use-set-state/index.d.ts +7 -2
- package/hooks/use-set-state/index.js +15 -13
- package/hooks/use-size/index.js +22 -20
- package/hooks/use-state-callback/index.d.ts +2 -2
- package/hooks/use-state-callback/index.js +13 -11
- package/hooks/use-state-with-promise/index.js +15 -13
- package/hooks/use-sync-state/index.d.ts +1 -1
- package/hooks/use-sync-state/index.js +10 -8
- package/hooks/use-text-selection/index.js +3 -1
- package/hooks/use-theme/index.js +3 -1
- package/hooks/use-throttle/index.js +3 -1
- package/hooks/use-throttle-effect/index.js +3 -1
- package/hooks/use-throttle-fn/index.js +11 -9
- package/hooks/use-throttle-fn-with-raf/index.js +14 -12
- package/hooks/use-timeout/index.js +9 -7
- package/hooks/use-title/index.js +3 -1
- package/hooks/use-toggle/index.js +10 -8
- package/hooks/use-tracked-effect/index.js +3 -1
- package/hooks/use-unmount/index.js +10 -8
- package/hooks/use-unmounted-ref/index.js +3 -1
- package/hooks/use-update/index.js +13 -11
- package/hooks/use-update-effect/index.js +3 -1
- package/hooks/use-update-layout-effect/index.js +3 -1
- package/hooks/use-url-state/index.js +11 -9
- package/hooks/use-virtual-list/index.js +35 -33
- package/hooks/use-watch/index.js +9 -7
- package/hooks/use-web-socket/index.js +3 -1
- package/hooks/use-why-did-you-update/index.js +3 -1
- package/hooks/use-window-size/index.js +17 -15
- package/hooks/utils/createEffectWithTarget.js +3 -1
- package/hooks/utils/depsAreSame.js +3 -1
- package/hooks/utils/depsEqual.js +4 -2
- package/hooks/utils/domTarget.js +7 -5
- package/hooks/utils/getDocumentOrShadow.js +3 -1
- package/hooks/utils/index.js +3 -1
- package/hooks/utils/isAppleDevice.js +3 -1
- package/hooks/utils/isBrowser.js +3 -1
- package/hooks/utils/isDev.js +3 -1
- package/hooks/utils/rect.js +3 -1
- package/hooks/utils/useDeepCompareWithTarget.js +3 -1
- package/hooks/utils/useEffectWithTarget.js +3 -1
- package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +3 -1
- package/hooks/utils/useLayoutEffectWithTarget.js +3 -1
- package/icons/file/File.d.ts +8 -2
- package/icons/file/File.js +39 -35
- package/icons/file/context.js +5 -3
- package/icons/file/index.d.ts +9 -1
- package/icons/file/index.js +4 -2
- package/icons/file/style/index.js +3 -1
- package/index.d.ts +3 -1
- package/index.js +572 -651
- package/liquid-logo/LiquidLogo.d.ts +10 -0
- package/liquid-logo/LiquidLogo.js +122 -0
- package/liquid-logo/constants.d.ts +0 -0
- package/liquid-logo/constants.js +4 -0
- package/liquid-logo/context.d.ts +3 -0
- package/liquid-logo/context.js +17 -0
- package/liquid-logo/hooks/index.d.ts +0 -0
- package/liquid-logo/index.d.ts +21 -0
- package/liquid-logo/index.js +17 -0
- package/liquid-logo/interface.d.ts +12 -0
- package/liquid-logo/parseLogoImage.d.ts +4 -0
- package/liquid-logo/parseLogoImage.js +77 -0
- package/liquid-logo/shader.d.ts +2 -0
- package/liquid-logo/shader.js +8 -0
- package/liquid-logo/style/index.d.ts +1 -0
- package/liquid-logo/style/index.js +5 -0
- package/liquid-logo/utils.d.ts +0 -0
- package/liquid-logo/utils.js +4 -0
- package/morphicons/adapters/canvas.d.ts +43 -0
- package/morphicons/adapters/index.d.ts +3 -0
- package/morphicons/adapters/mask.d.ts +42 -0
- package/morphicons/adapters/svg.d.ts +8 -0
- package/morphicons/core/interpolate.d.ts +6 -0
- package/morphicons/core/interpolate.js +29 -0
- package/morphicons/core/normalize.d.ts +16 -0
- package/morphicons/core/normalize.js +166 -0
- package/morphicons/core/parse.d.ts +27 -0
- package/morphicons/core/parse.js +131 -0
- package/morphicons/core/plan.d.ts +64 -0
- package/morphicons/core/plan.js +198 -0
- package/morphicons/core/resample.d.ts +18 -0
- package/morphicons/core/resample.js +132 -0
- package/morphicons/core/serialize.d.ts +7 -0
- package/morphicons/core/serialize.js +32 -0
- package/morphicons/core/spring.d.ts +30 -0
- package/morphicons/core/spring.js +39 -0
- package/morphicons/core/types.d.ts +27 -0
- package/morphicons/dom/controller.d.ts +53 -0
- package/morphicons/dom/index.d.ts +46 -0
- package/morphicons/element/index.d.ts +39 -0
- package/morphicons/index.d.ts +7 -0
- package/morphicons/index.js +11 -0
- package/morphicons/react/index.d.ts +36 -0
- package/package.json +1 -1
- package/progress/Progress.js +24 -22
- package/progress/constants.js +3 -1
- package/progress/context.d.ts +0 -0
- package/progress/context.js +4 -0
- package/progress/index.js +3 -1
- package/progress/style/index.js +3 -1
- package/progress/utils.js +3 -1
- package/resize-observer/Collection.js +3 -1
- package/resize-observer/ResizeObserver.d.ts +8 -1
- package/resize-observer/ResizeObserver.js +23 -17
- package/resize-observer/SingleObserver.js +24 -19
- package/resize-observer/constants.js +3 -1
- package/resize-observer/context.js +3 -1
- package/resize-observer/index.d.ts +9 -1
- package/resize-observer/index.js +4 -2
- package/resize-observer/observerUtil.js +3 -1
- package/resize-observer/style/index.js +3 -1
- package/resize-observer/utils.js +3 -1
- package/space/Space.d.ts +9 -4
- package/space/Space.js +60 -54
- package/space/SpaceVertical.d.ts +10 -0
- package/space/SpaceVertical.js +16 -0
- package/space/constants.js +3 -1
- package/space/context.js +3 -1
- package/space/index.d.ts +18 -3
- package/space/index.js +6 -3
- package/space/interface.d.ts +3 -25
- package/space/style/index.js +3 -1
- package/space/utils.js +3 -1
- package/splash-cursor/FluidCursor.d.ts +2 -0
- package/splash-cursor/FluidCursor.js +9 -0
- package/splash-cursor/SplashCursor.d.ts +10 -0
- package/splash-cursor/SplashCursor.js +437 -0
- package/splash-cursor/constants.d.ts +0 -0
- package/splash-cursor/constants.js +4 -0
- package/splash-cursor/context.d.ts +3 -0
- package/splash-cursor/context.js +9 -0
- package/splash-cursor/hooks/index.d.ts +0 -0
- package/splash-cursor/index.d.ts +21 -0
- package/splash-cursor/index.js +16 -0
- package/splash-cursor/interface.d.ts +59 -0
- package/splash-cursor/style/index.css +1 -0
- package/splash-cursor/style/index.d.ts +1 -0
- package/splash-cursor/style/index.js +5 -0
- package/splash-cursor/utils.d.ts +2 -0
- package/splash-cursor/utils.js +25 -0
- package/style/global.less +22 -1
- package/style.css +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.d.ts +8 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +12 -6
- package/suspense-fallback-test/constants.js +3 -1
- package/suspense-fallback-test/context.js +3 -1
- package/suspense-fallback-test/index.d.ts +9 -1
- package/suspense-fallback-test/index.js +4 -2
- package/suspense-fallback-test/style/index.js +3 -1
- package/suspense-fallback-test/utils.js +3 -1
- package/test.js +3 -1
- package/timer/Timer.d.ts +8 -1
- package/timer/Timer.js +24 -19
- package/timer/constants.js +3 -1
- package/timer/context.js +3 -1
- package/timer/index.d.ts +9 -1
- package/timer/index.js +4 -2
- package/timer/style/index.js +3 -1
- package/timer/utils.js +3 -1
- package/transition/Transition.d.ts +2 -1
- package/transition/Transition.js +77 -67
- package/transition/TransitionCSS.d.ts +2 -1
- package/transition/TransitionCSS.js +28 -26
- package/transition/TransitionGroup.d.ts +2 -1
- package/transition/TransitionGroup.js +38 -36
- package/transition/TransitionStyle.d.ts +2 -1
- package/transition/TransitionStyle.js +22 -20
- package/transition/constants.js +3 -1
- package/transition/context.js +3 -1
- package/transition/index.d.ts +21 -13
- package/transition/index.js +8 -6
- package/transition/style/index.js +3 -1
- package/transition/utils.js +45 -43
- package/typewriter/Typewriter.d.ts +8 -1
- package/typewriter/Typewriter.js +26 -20
- package/typewriter/constants.js +3 -1
- package/typewriter/context.js +3 -1
- package/typewriter/index.d.ts +9 -0
- package/typewriter/index.js +4 -2
- package/typewriter/style/index.js +3 -1
- package/typewriter/utils.js +3 -1
- package/utils/callOrReturn.js +3 -1
- package/utils/callbackOriginRef.d.ts +1 -2
- package/utils/callbackOriginRef.js +3 -1
- package/utils/caseName.d.ts +1 -1
- package/utils/caseName.js +5 -3
- package/utils/className.d.ts +1 -1
- package/utils/className.js +5 -3
- package/utils/confetti.d.ts +20 -0
- package/utils/confetti.js +31 -0
- package/utils/constants.js +3 -1
- package/utils/copy.js +3 -1
- package/utils/css.js +3 -1
- package/utils/date.js +3 -1
- package/utils/dayjs.js +3 -1
- package/utils/document.js +3 -1
- package/utils/dom.d.ts +4 -4
- package/utils/dom.js +34 -31
- package/utils/emitter.js +3 -1
- package/utils/file.js +3 -1
- package/utils/fileRead.js +3 -1
- package/utils/fileToDataURL.js +3 -1
- package/utils/fillNBSP.js +4 -2
- package/utils/getCompatProp.d.ts +9 -0
- package/utils/getCompatProp.js +12 -0
- package/utils/getElement.js +16 -14
- package/utils/getHighlightText.js +20 -17
- package/utils/getHotkeyHandler.js +13 -11
- package/utils/getPrefixCls.d.ts +2 -0
- package/utils/getPrefixCls.js +11 -0
- package/utils/getScrollBarHeight.js +3 -1
- package/utils/getScrollBarSize.js +9 -7
- package/utils/getScrollBarWidth.js +3 -1
- package/utils/getScrollParent.js +3 -1
- package/utils/getStringLength.js +3 -1
- package/utils/include.js +3 -1
- package/utils/index.d.ts +6 -0
- package/utils/index.js +264 -347
- package/utils/initAllLineClamp.js +3 -1
- package/utils/intersectionObserver.js +17 -15
- package/utils/is.d.ts +2 -6
- package/utils/is.js +30 -141
- package/utils/keyboardCode.js +3 -1
- package/utils/lodash.d.ts +3 -1
- package/utils/lodash.js +75 -71
- package/utils/math.js +3 -1
- package/utils/mergeProps.d.ts +3 -1
- package/utils/mergeProps.js +15 -8
- package/utils/mergedToString.js +14 -11
- package/utils/migrateLegacyProps.d.ts +14 -0
- package/utils/migrateLegacyProps.js +19 -0
- package/utils/mutationObserver.js +15 -13
- package/utils/names.d.ts +31 -19
- package/utils/names.js +63 -31
- package/utils/object.js +3 -1
- package/utils/omit.js +3 -1
- package/utils/pad.js +3 -1
- package/utils/pick.d.ts +7 -2
- package/utils/pick.js +11 -9
- package/utils/pinyin.js +3 -1
- package/utils/react19Adapter.js +3 -1
- package/utils/reactNode.js +11 -9
- package/utils/ref.js +23 -19
- package/utils/resizeObserver.js +7 -5
- package/utils/saveAs.js +3 -1
- package/utils/screenfull.js +3 -1
- package/utils/scrollIntoViewIfNeeded.js +3 -1
- package/utils/scrollTo.js +7 -5
- package/utils/setCreateRoot.js +14 -11
- package/utils/setDarkTheme.js +16 -14
- package/utils/setDir.js +7 -5
- package/utils/setPrimaryColor.js +4 -2
- package/utils/setTheme.js +14 -12
- package/utils/string.js +3 -1
- package/utils/style.js +3 -1
- package/utils/tinycolor.js +3 -1
- package/utils/toArray.js +7 -5
- package/utils/tree.js +3 -1
- package/utils/tunnel.d.ts +6 -5
- package/utils/tunnel.js +22 -20
- package/utils/tween.js +3 -1
- package/utils/uuid.js +3 -1
- package/utils/validate.js +3 -1
- package/utils/warning.js +3 -1
- package/version/index.d.ts +0 -1
- package/version/index.js +10 -8
- package/hooks/use-merge-props/index.d.ts +0 -5
- package/hooks/use-merge-props/index.js +0 -10
package/utils/index.js
CHANGED
|
@@ -1,65 +1,70 @@
|
|
|
1
|
-
/* 潘启宝 2026-
|
|
1
|
+
/* 潘启宝 2026-09-03 10:06:59 星期四 山东省济南市 */
|
|
2
|
+
/* 世界因你而美丽 */
|
|
2
3
|
import { __exportAll as ee, __reExport as e } from "../.virtual/_rolldown/runtime.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { composeRef as
|
|
7
|
-
import
|
|
8
|
-
import { screenfull as
|
|
9
|
-
import { canUseDOM as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
4
|
+
import { object_exports as te } from "./object.js";
|
|
5
|
+
import { assign as ne, assignIn as re, at as ie, camelCase as t, capitalize as n, castArray as r, chain as i, chunk as a, clamp as o, clone as s, cloneDeep as c, cloneDeepWith as l, cloneWith as u, compact as d, curry as f, debounce as p, defaultTo as m, defaults as h, defaultsDeep as g, difference as _, escape as v, extend as y, findKey as b, flatten as x, flattenDeep as S, flow as C, get as w, groupBy as T, has as E, hasIn as D, intersection as O, invert as k, invertBy as A, invoke as j, kebabCase as M, mapKeys as N, mapValues as P, mean as F, memoize as I, merge as L, mergeWith as R, move as z, noop as B, omit as V, omitBy as H, orderBy as U, partition as W, pick as G, pickBy as K, pullAll as q, result as J, sample as Y, sampleSize as ae, set as oe, setWith as se, shuffle as ce, snakeCase as le, sortBy as ue, startCase as de, swap as fe, throttle as pe, toPath as me, toSwapped as he, truncate as ge, union as _e, uniq as ve, uniqueId as ye, unset as be, update as xe, updateWith as Se, upperCase as Ce, upperFirst as we, without as Te, xor as Ee, zip as De } from "./lodash.js";
|
|
6
|
+
import { isCompositeTypeElement as Oe, isEmptyChildren as ke, isEmptyReactNode as Ae, isReact18 as je, isReact19 as Me, isReactClassComponent as Ne, isReactComponent as Pe, isReactComponentAndNotFragment as Fe, isReactFunctionalComponent as Ie, isServerRendering as Le } from "./is.js";
|
|
7
|
+
import { composeRef as Re, fillRef as ze, getNodeRef as Be, getReactElementRef as Ve, supportNodeRef as He, supportRef as Ue, useComposeRef as We } from "./ref.js";
|
|
8
|
+
import Ge from "./getElement.js";
|
|
9
|
+
import { screenfull as Ke } from "./screenfull.js";
|
|
10
|
+
import { canUseDOM as qe, contains as Je, focusAtEnd as Ye, forceReflow as X, getBody as Xe, getBodyContainer as Ze, getDOM as Qe, getDocument as $e, getDocumentElement as et, getElementCoordinates as tt, getElementOuterSize as nt, getHead as rt, getScrollElements as it, getTopLevelOverlayContainer as at, off as ot, on as st, parentContainsChildren as ct } from "./dom.js";
|
|
11
|
+
import lt from "./mergeProps.js";
|
|
12
|
+
import ut from "./migrateLegacyProps.js";
|
|
13
|
+
import { callbackOriginRef as Z } from "./callbackOriginRef.js";
|
|
14
|
+
import { callOrReturn as dt } from "./callOrReturn.js";
|
|
15
|
+
import { caseName as ft } from "./caseName.js";
|
|
16
|
+
import { className as pt, cls as mt, clsx as ht, cs as gt } from "./className.js";
|
|
17
|
+
import { confetti as _t, fire as vt } from "./confetti.js";
|
|
18
|
+
import { CSS_VARIABLE_ELEMENT as yt, DAYJS_DEFAULT_FORMAT as bt, DAYJS_DEFAULT_FORMAT_WITH_TIME as xt, PREFIX_CLASS as St, UI_PC_KEY as Ct, UI_PC_THEME_DARK_CLASS_NAME as wt } from "./constants.js";
|
|
16
19
|
import { clipboardCopy as Q } from "./copy.js";
|
|
17
20
|
import "./css.js";
|
|
18
|
-
import { convertTime as
|
|
19
|
-
import { dayjs as
|
|
20
|
-
import { document_exports as
|
|
21
|
-
import { Emitter as
|
|
21
|
+
import { convertTime as Tt, convertToDurationBasedOnTimeUnits as Et, dateFormat as Dt, dayjsFormat as Ot } from "./date.js";
|
|
22
|
+
import { dayjs as kt } from "./dayjs.js";
|
|
23
|
+
import { document_exports as At } from "./document.js";
|
|
24
|
+
import { Emitter as jt } from "./emitter.js";
|
|
22
25
|
import "./file.js";
|
|
23
|
-
import { fileRead as
|
|
24
|
-
import { fileToDataURL as
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
26
|
+
import { fileRead as Mt } from "./fileRead.js";
|
|
27
|
+
import { fileToDataURL as Nt } from "./fileToDataURL.js";
|
|
28
|
+
import Pt from "./fillNBSP.js";
|
|
29
|
+
import Ft from "./getCompatProp.js";
|
|
30
|
+
import It from "./getHighlightText.js";
|
|
31
|
+
import Lt from "./getHotkeyHandler.js";
|
|
32
|
+
import Rt from "./getPrefixCls.js";
|
|
33
|
+
import zt from "./getScrollBarSize.js";
|
|
34
|
+
import Bt from "./getScrollBarHeight.js";
|
|
35
|
+
import Vt from "./getScrollBarWidth.js";
|
|
31
36
|
import "./getScrollParent.js";
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import { uuid as
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import { div as
|
|
38
|
-
import
|
|
39
|
-
import
|
|
37
|
+
import Ht from "./getStringLength.js";
|
|
38
|
+
import Ut from "./include.js";
|
|
39
|
+
import { uuid as Wt, uuidv4 as Gt } from "./uuid.js";
|
|
40
|
+
import Kt from "./initAllLineClamp.js";
|
|
41
|
+
import qt from "./intersectionObserver.js";
|
|
42
|
+
import { div as Jt, math as Yt, minus as Xt, plus as Zt, times as Qt } from "./math.js";
|
|
43
|
+
import $t from "./mergedToString.js";
|
|
44
|
+
import en from "./mutationObserver.js";
|
|
40
45
|
import "./omit.js";
|
|
41
|
-
import { padEnd as
|
|
42
|
-
import {
|
|
43
|
-
import
|
|
44
|
-
import { saveAs as
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import { HYPHEN as
|
|
52
|
-
import { fixedWidth as
|
|
53
|
-
import { tinycolor as
|
|
54
|
-
import
|
|
55
|
-
import { findNodeBy as
|
|
56
|
-
import
|
|
57
|
-
import { Tween as
|
|
58
|
-
import { PqbValidator as
|
|
59
|
-
import
|
|
60
|
-
import { pinyin_exports as
|
|
61
|
-
import { keyboardCode as
|
|
62
|
-
import { COMPONENT_NAMES as
|
|
46
|
+
import { padEnd as tn, padStart as nn } from "./pad.js";
|
|
47
|
+
import { pickAttributesByPrefixes as rn, pickDataAriaAttributes as an } from "./pick.js";
|
|
48
|
+
import on from "./resizeObserver.js";
|
|
49
|
+
import { saveAs as sn } from "./saveAs.js";
|
|
50
|
+
import cn from "./scrollIntoViewIfNeeded.js";
|
|
51
|
+
import ln, { render as un } from "./setCreateRoot.js";
|
|
52
|
+
import dn, { removeDarkTheme as fn } from "./setDarkTheme.js";
|
|
53
|
+
import pn from "./setDir.js";
|
|
54
|
+
import mn from "./setPrimaryColor.js";
|
|
55
|
+
import hn from "./setTheme.js";
|
|
56
|
+
import { HYPHEN as gn, replaceEmptyWithHyphen as _n } from "./string.js";
|
|
57
|
+
import { fixedWidth as vn, getStyle as yn, setTransformStyle as bn } from "./style.js";
|
|
58
|
+
import { tinycolor as xn } from "./tinycolor.js";
|
|
59
|
+
import Sn from "./toArray.js";
|
|
60
|
+
import { findNodeBy as Cn, getChildWithParentBy as wn, getItemBy as Tn, getItemByID as En, getLabelFromDictionaryByValue as Dn, searchTree as On, tree as kn } from "./tree.js";
|
|
61
|
+
import An from "./tunnel.js";
|
|
62
|
+
import { Tween as jn, easing as Mn } from "./tween.js";
|
|
63
|
+
import { PqbValidator as Nn, Validator as Pn, ValidatorArray as Fn, ValidatorBase as In, ValidatorBoolean as Ln, ValidatorCustom as Rn, ValidatorNumber as zn, ValidatorObject as Bn, ValidatorSchema as Vn, ValidatorString as Hn, ValidatorType as Un, validatorLocale as Wn } from "./validate.js";
|
|
64
|
+
import Gn from "./warning.js";
|
|
65
|
+
import { pinyin_exports as Kn } from "./pinyin.js";
|
|
66
|
+
import { keyboardCode as qn } from "./keyboardCode.js";
|
|
67
|
+
import { COMPONENT_NAMES as Jn } from "./names.js";
|
|
63
68
|
export * from "@unicom-cloud/utils/is";
|
|
64
69
|
export * from "@unicom-cloud/utils/object";
|
|
65
70
|
export * from "@unicom-cloud/utils/css";
|
|
@@ -68,305 +73,217 @@ export * from "@unicom-cloud/utils/file";
|
|
|
68
73
|
export * from "@unicom-cloud/utils/tinycolor";
|
|
69
74
|
//#region components/common/utils/index.ts
|
|
70
75
|
var $ = /* @__PURE__ */ ee({
|
|
71
|
-
COMPONENT_NAMES: () =>
|
|
72
|
-
CSS_VARIABLE_ELEMENT: () =>
|
|
73
|
-
DAYJS_DEFAULT_FORMAT: () =>
|
|
74
|
-
DAYJS_DEFAULT_FORMAT_WITH_TIME: () =>
|
|
75
|
-
Emitter: () =>
|
|
76
|
-
HYPHEN: () =>
|
|
77
|
-
PREFIX_CLASS: () =>
|
|
78
|
-
PqbValidator: () =>
|
|
79
|
-
Tween: () =>
|
|
80
|
-
UI_PC_KEY: () =>
|
|
81
|
-
UI_PC_THEME_DARK_CLASS_NAME: () =>
|
|
82
|
-
Validator: () =>
|
|
83
|
-
ValidatorArray: () =>
|
|
84
|
-
ValidatorBase: () =>
|
|
85
|
-
ValidatorBoolean: () =>
|
|
86
|
-
ValidatorCustom: () =>
|
|
87
|
-
ValidatorNumber: () =>
|
|
88
|
-
ValidatorObject: () =>
|
|
89
|
-
ValidatorSchema: () =>
|
|
90
|
-
ValidatorString: () =>
|
|
91
|
-
ValidatorType: () =>
|
|
92
|
-
assign: () =>
|
|
93
|
-
assignIn: () =>
|
|
94
|
-
at: () =>
|
|
95
|
-
callOrReturn: () =>
|
|
96
|
-
callbackOriginRef: () =>
|
|
97
|
-
camelCase: () =>
|
|
98
|
-
canUseDOM: () =>
|
|
99
|
-
capitalize: () =>
|
|
100
|
-
caseName: () =>
|
|
101
|
-
castArray: () =>
|
|
102
|
-
chain: () =>
|
|
103
|
-
chunk: () =>
|
|
104
|
-
clamp: () =>
|
|
105
|
-
className: () =>
|
|
76
|
+
COMPONENT_NAMES: () => Jn,
|
|
77
|
+
CSS_VARIABLE_ELEMENT: () => yt,
|
|
78
|
+
DAYJS_DEFAULT_FORMAT: () => bt,
|
|
79
|
+
DAYJS_DEFAULT_FORMAT_WITH_TIME: () => xt,
|
|
80
|
+
Emitter: () => jt,
|
|
81
|
+
HYPHEN: () => gn,
|
|
82
|
+
PREFIX_CLASS: () => St,
|
|
83
|
+
PqbValidator: () => Nn,
|
|
84
|
+
Tween: () => jn,
|
|
85
|
+
UI_PC_KEY: () => Ct,
|
|
86
|
+
UI_PC_THEME_DARK_CLASS_NAME: () => wt,
|
|
87
|
+
Validator: () => Pn,
|
|
88
|
+
ValidatorArray: () => Fn,
|
|
89
|
+
ValidatorBase: () => In,
|
|
90
|
+
ValidatorBoolean: () => Ln,
|
|
91
|
+
ValidatorCustom: () => Rn,
|
|
92
|
+
ValidatorNumber: () => zn,
|
|
93
|
+
ValidatorObject: () => Bn,
|
|
94
|
+
ValidatorSchema: () => Vn,
|
|
95
|
+
ValidatorString: () => Hn,
|
|
96
|
+
ValidatorType: () => Un,
|
|
97
|
+
assign: () => ne,
|
|
98
|
+
assignIn: () => re,
|
|
99
|
+
at: () => ie,
|
|
100
|
+
callOrReturn: () => dt,
|
|
101
|
+
callbackOriginRef: () => Z,
|
|
102
|
+
camelCase: () => t,
|
|
103
|
+
canUseDOM: () => qe,
|
|
104
|
+
capitalize: () => n,
|
|
105
|
+
caseName: () => ft,
|
|
106
|
+
castArray: () => r,
|
|
107
|
+
chain: () => i,
|
|
108
|
+
chunk: () => a,
|
|
109
|
+
clamp: () => o,
|
|
110
|
+
className: () => pt,
|
|
106
111
|
clipboardCopy: () => Q,
|
|
107
|
-
clone: () =>
|
|
108
|
-
cloneDeep: () =>
|
|
109
|
-
cloneDeepWith: () =>
|
|
110
|
-
cloneWith: () =>
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
clone: () => s,
|
|
113
|
+
cloneDeep: () => c,
|
|
114
|
+
cloneDeepWith: () => l,
|
|
115
|
+
cloneWith: () => u,
|
|
116
|
+
cls: () => mt,
|
|
117
|
+
clsx: () => ht,
|
|
118
|
+
compact: () => d,
|
|
119
|
+
composeRef: () => Re,
|
|
120
|
+
confetti: () => _t,
|
|
121
|
+
contains: () => Je,
|
|
122
|
+
convertTime: () => Tt,
|
|
123
|
+
convertToDurationBasedOnTimeUnits: () => Et,
|
|
116
124
|
copy: () => Q,
|
|
117
|
-
cs: () =>
|
|
118
|
-
curry: () =>
|
|
119
|
-
dateFormat: () =>
|
|
120
|
-
dayjs: () =>
|
|
121
|
-
dayjsFormat: () =>
|
|
122
|
-
debounce: () =>
|
|
123
|
-
defaultTo: () =>
|
|
124
|
-
defaults: () =>
|
|
125
|
-
defaultsDeep: () =>
|
|
126
|
-
difference: () =>
|
|
127
|
-
div: () =>
|
|
128
|
-
easing: () =>
|
|
129
|
-
escape: () =>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
isArrayLike: () => i,
|
|
185
|
-
isArrayLikeObject: () => a,
|
|
186
|
-
isAscii: () => o,
|
|
187
|
-
isAsyncFunction: () => s,
|
|
188
|
-
isBase64: () => c,
|
|
189
|
-
isBigInt: () => l,
|
|
190
|
-
isBlob: () => u,
|
|
191
|
-
isBoolean: () => d,
|
|
192
|
-
isBuffer: () => f,
|
|
193
|
-
isChinese: () => p,
|
|
194
|
-
isColorValue: () => m,
|
|
195
|
-
isColorValue_: () => h,
|
|
196
|
-
isCompositeTypeElement: () => g,
|
|
197
|
-
isDataURI: () => _,
|
|
198
|
-
isDate: () => v,
|
|
199
|
-
isDayjs: () => y,
|
|
200
|
-
isElement: () => b,
|
|
201
|
-
isEmail: () => x,
|
|
202
|
-
isEmpty: () => S,
|
|
203
|
-
isEmptyArray: () => C,
|
|
204
|
-
isEmptyChildren: () => w,
|
|
205
|
-
isEmptyObject: () => T,
|
|
206
|
-
isEmptyReactNode: () => E,
|
|
207
|
-
isEmptyString: () => D,
|
|
208
|
-
isEmptyValue: () => O,
|
|
209
|
-
isEqual: () => k,
|
|
210
|
-
isEqualWith: () => A,
|
|
211
|
-
isError: () => j,
|
|
212
|
-
isEventTarget: () => M,
|
|
213
|
-
isExist: () => N,
|
|
214
|
-
isFalse: () => P,
|
|
215
|
-
isFile: () => F,
|
|
216
|
-
isFinite: () => I,
|
|
217
|
-
isFullWidth: () => L,
|
|
218
|
-
isFunction: () => R,
|
|
219
|
-
isHSL: () => z,
|
|
220
|
-
isHalfWidth: () => B,
|
|
221
|
-
isHash: () => V,
|
|
222
|
-
isHexColor: () => H,
|
|
223
|
-
isIMEI: () => U,
|
|
224
|
-
isIP: () => W,
|
|
225
|
-
isIPRange: () => G,
|
|
226
|
-
isIdentityCard: () => K,
|
|
227
|
-
isInteger: () => q,
|
|
228
|
-
isJSON: () => J,
|
|
229
|
-
isJSON_String: () => Y,
|
|
230
|
-
isJWT: () => ae,
|
|
231
|
-
isLength: () => oe,
|
|
232
|
-
isMACAddress: () => se,
|
|
233
|
-
isMD5: () => ce,
|
|
234
|
-
isMap: () => le,
|
|
235
|
-
isMatch: () => ue,
|
|
236
|
-
isMatchWith: () => de,
|
|
237
|
-
isMimeType: () => fe,
|
|
238
|
-
isMobilePhone: () => pe,
|
|
239
|
-
isMobilePhoneLocales: () => me,
|
|
240
|
-
isNaN: () => he,
|
|
241
|
-
isNative: () => ge,
|
|
242
|
-
isNil: () => _e,
|
|
243
|
-
isNonNullable: () => ve,
|
|
244
|
-
isNotFound: () => ye,
|
|
245
|
-
isNull: () => be,
|
|
246
|
-
isNullOrUndefined: () => xe,
|
|
247
|
-
isNumber: () => Se,
|
|
248
|
-
isNumberOrString: () => Ce,
|
|
249
|
-
isObject: () => we,
|
|
250
|
-
isObjectLike: () => Te,
|
|
251
|
-
isPlainObject: () => Ee,
|
|
252
|
-
isPort: () => De,
|
|
253
|
-
isPresent: () => Oe,
|
|
254
|
-
isPrimitive: () => ke,
|
|
255
|
-
isPromise: () => Ae,
|
|
125
|
+
cs: () => gt,
|
|
126
|
+
curry: () => f,
|
|
127
|
+
dateFormat: () => Dt,
|
|
128
|
+
dayjs: () => kt,
|
|
129
|
+
dayjsFormat: () => Ot,
|
|
130
|
+
debounce: () => p,
|
|
131
|
+
defaultTo: () => m,
|
|
132
|
+
defaults: () => h,
|
|
133
|
+
defaultsDeep: () => g,
|
|
134
|
+
difference: () => _,
|
|
135
|
+
div: () => Jt,
|
|
136
|
+
easing: () => Mn,
|
|
137
|
+
escape: () => v,
|
|
138
|
+
extend: () => y,
|
|
139
|
+
fileRead: () => Mt,
|
|
140
|
+
fileToDataURL: () => Nt,
|
|
141
|
+
fillNBSP: () => Pt,
|
|
142
|
+
fillRef: () => ze,
|
|
143
|
+
findKey: () => b,
|
|
144
|
+
findNodeBy: () => Cn,
|
|
145
|
+
fire: () => vt,
|
|
146
|
+
fixedWidth: () => vn,
|
|
147
|
+
flatten: () => x,
|
|
148
|
+
flattenDeep: () => S,
|
|
149
|
+
flow: () => C,
|
|
150
|
+
focusAtEnd: () => Ye,
|
|
151
|
+
forceReflow: () => X,
|
|
152
|
+
get: () => w,
|
|
153
|
+
getBody: () => Xe,
|
|
154
|
+
getBodyContainer: () => Ze,
|
|
155
|
+
getChildWithParentBy: () => wn,
|
|
156
|
+
getCompatProp: () => Ft,
|
|
157
|
+
getDOM: () => Qe,
|
|
158
|
+
getDocument: () => $e,
|
|
159
|
+
getDocumentElement: () => et,
|
|
160
|
+
getElement: () => Ge,
|
|
161
|
+
getElementCoordinates: () => tt,
|
|
162
|
+
getElementOuterSize: () => nt,
|
|
163
|
+
getHead: () => rt,
|
|
164
|
+
getHighlightText: () => It,
|
|
165
|
+
getHotkeyHandler: () => Lt,
|
|
166
|
+
getItemBy: () => Tn,
|
|
167
|
+
getItemByID: () => En,
|
|
168
|
+
getLabelFromDictionaryByValue: () => Dn,
|
|
169
|
+
getNodeRef: () => Be,
|
|
170
|
+
getPrefixCls: () => Rt,
|
|
171
|
+
getReactElementRef: () => Ve,
|
|
172
|
+
getScrollBarHeight: () => Bt,
|
|
173
|
+
getScrollBarSize: () => zt,
|
|
174
|
+
getScrollBarWidth: () => Vt,
|
|
175
|
+
getScrollElements: () => it,
|
|
176
|
+
getStringLength: () => Ht,
|
|
177
|
+
getStyle: () => yn,
|
|
178
|
+
getTopLevelOverlayContainer: () => at,
|
|
179
|
+
groupBy: () => T,
|
|
180
|
+
has: () => E,
|
|
181
|
+
hasIn: () => D,
|
|
182
|
+
include: () => Ut,
|
|
183
|
+
initAllLineClamp: () => Kt,
|
|
184
|
+
intersection: () => O,
|
|
185
|
+
intersectionObserver: () => qt,
|
|
186
|
+
invert: () => k,
|
|
187
|
+
invertBy: () => A,
|
|
188
|
+
invoke: () => j,
|
|
189
|
+
isCompositeTypeElement: () => Oe,
|
|
190
|
+
isEmptyChildren: () => ke,
|
|
191
|
+
isEmptyReactNode: () => Ae,
|
|
256
192
|
isReact18: () => je,
|
|
257
193
|
isReact19: () => Me,
|
|
258
194
|
isReactClassComponent: () => Ne,
|
|
259
195
|
isReactComponent: () => Pe,
|
|
260
196
|
isReactComponentAndNotFragment: () => Fe,
|
|
261
197
|
isReactFunctionalComponent: () => Ie,
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
toArray: () => ai,
|
|
348
|
-
toPath: () => gn,
|
|
349
|
-
tree: () => fi,
|
|
350
|
-
truncate: () => _n,
|
|
351
|
-
tunnel: () => pi,
|
|
352
|
-
union: () => vn,
|
|
353
|
-
uniq: () => yn,
|
|
354
|
-
uniqueId: () => bn,
|
|
355
|
-
unset: () => xn,
|
|
356
|
-
update: () => Sn,
|
|
357
|
-
updateWith: () => Cn,
|
|
358
|
-
upperCase: () => wn,
|
|
359
|
-
upperFirst: () => Tn,
|
|
360
|
-
useComposeRef: () => Fn,
|
|
361
|
-
uuid: () => kr,
|
|
362
|
-
uuidv4: () => Ar,
|
|
363
|
-
validatorLocale: () => Di,
|
|
364
|
-
warning: () => Oi,
|
|
365
|
-
without: () => En,
|
|
366
|
-
xor: () => Dn,
|
|
367
|
-
zip: () => On
|
|
198
|
+
isServerRendering: () => Le,
|
|
199
|
+
kebabCase: () => M,
|
|
200
|
+
keyboardCode: () => qn,
|
|
201
|
+
mapKeys: () => N,
|
|
202
|
+
mapValues: () => P,
|
|
203
|
+
math: () => Yt,
|
|
204
|
+
mean: () => F,
|
|
205
|
+
memoize: () => I,
|
|
206
|
+
merge: () => L,
|
|
207
|
+
mergeProps: () => lt,
|
|
208
|
+
mergeWith: () => R,
|
|
209
|
+
mergedToString: () => $t,
|
|
210
|
+
migrateLegacyProps: () => ut,
|
|
211
|
+
minus: () => Xt,
|
|
212
|
+
move: () => z,
|
|
213
|
+
mutationObserver: () => en,
|
|
214
|
+
noop: () => B,
|
|
215
|
+
off: () => ot,
|
|
216
|
+
omit: () => V,
|
|
217
|
+
omitBy: () => H,
|
|
218
|
+
on: () => st,
|
|
219
|
+
orderBy: () => U,
|
|
220
|
+
padEnd: () => tn,
|
|
221
|
+
padStart: () => nn,
|
|
222
|
+
parentContainsChildren: () => ct,
|
|
223
|
+
partition: () => W,
|
|
224
|
+
pick: () => G,
|
|
225
|
+
pickAttributesByPrefixes: () => rn,
|
|
226
|
+
pickBy: () => K,
|
|
227
|
+
pickDataAriaAttributes: () => an,
|
|
228
|
+
pinyin: () => Kn,
|
|
229
|
+
plus: () => Zt,
|
|
230
|
+
pullAll: () => q,
|
|
231
|
+
reflow: () => X,
|
|
232
|
+
removeDarkTheme: () => fn,
|
|
233
|
+
render: () => un,
|
|
234
|
+
replaceEmptyWithHyphen: () => _n,
|
|
235
|
+
resizeObserver: () => on,
|
|
236
|
+
result: () => J,
|
|
237
|
+
sample: () => Y,
|
|
238
|
+
sampleSize: () => ae,
|
|
239
|
+
saveAs: () => sn,
|
|
240
|
+
screenfull: () => Ke,
|
|
241
|
+
scrollIntoViewIfNeeded: () => cn,
|
|
242
|
+
searchTree: () => On,
|
|
243
|
+
set: () => oe,
|
|
244
|
+
setCreateRoot: () => ln,
|
|
245
|
+
setDarkTheme: () => dn,
|
|
246
|
+
setDir: () => pn,
|
|
247
|
+
setPrimaryColor: () => mn,
|
|
248
|
+
setTheme: () => hn,
|
|
249
|
+
setTransformStyle: () => bn,
|
|
250
|
+
setWith: () => se,
|
|
251
|
+
shuffle: () => ce,
|
|
252
|
+
snakeCase: () => le,
|
|
253
|
+
sortBy: () => ue,
|
|
254
|
+
startCase: () => de,
|
|
255
|
+
supportNodeRef: () => He,
|
|
256
|
+
supportRef: () => Ue,
|
|
257
|
+
swap: () => fe,
|
|
258
|
+
throttle: () => pe,
|
|
259
|
+
times: () => Qt,
|
|
260
|
+
tinycolor: () => xn,
|
|
261
|
+
toArray: () => Sn,
|
|
262
|
+
toPath: () => me,
|
|
263
|
+
toSwapped: () => he,
|
|
264
|
+
tree: () => kn,
|
|
265
|
+
truncate: () => ge,
|
|
266
|
+
tunnel: () => An,
|
|
267
|
+
union: () => _e,
|
|
268
|
+
uniq: () => ve,
|
|
269
|
+
uniqueId: () => ye,
|
|
270
|
+
unset: () => be,
|
|
271
|
+
update: () => xe,
|
|
272
|
+
updateWith: () => Se,
|
|
273
|
+
upperCase: () => Ce,
|
|
274
|
+
upperFirst: () => we,
|
|
275
|
+
useComposeRef: () => We,
|
|
276
|
+
uuid: () => Wt,
|
|
277
|
+
uuidv4: () => Gt,
|
|
278
|
+
validatorLocale: () => Wn,
|
|
279
|
+
warning: () => Gn,
|
|
280
|
+
without: () => Te,
|
|
281
|
+
xor: () => Ee,
|
|
282
|
+
zip: () => De
|
|
368
283
|
});
|
|
369
|
-
|
|
284
|
+
import * as Yn from "@unicom-cloud/utils/is";
|
|
285
|
+
e($, Yn), e($, At), e($, te);
|
|
370
286
|
//#endregion
|
|
371
|
-
export {
|
|
287
|
+
export { Jn as COMPONENT_NAMES, yt as CSS_VARIABLE_ELEMENT, bt as DAYJS_DEFAULT_FORMAT, xt as DAYJS_DEFAULT_FORMAT_WITH_TIME, jt as Emitter, gn as HYPHEN, St as PREFIX_CLASS, Nn as PqbValidator, jn as Tween, Ct as UI_PC_KEY, wt as UI_PC_THEME_DARK_CLASS_NAME, Pn as Validator, Fn as ValidatorArray, In as ValidatorBase, Ln as ValidatorBoolean, Rn as ValidatorCustom, zn as ValidatorNumber, Bn as ValidatorObject, Vn as ValidatorSchema, Hn as ValidatorString, Un as ValidatorType, ne as assign, re as assignIn, ie as at, dt as callOrReturn, Z as callbackOriginRef, t as camelCase, qe as canUseDOM, n as capitalize, ft as caseName, r as castArray, i as chain, a as chunk, o as clamp, pt as className, Q as clipboardCopy, Q as copy, s as clone, c as cloneDeep, l as cloneDeepWith, u as cloneWith, mt as cls, ht as clsx, d as compact, Re as composeRef, _t as confetti, Je as contains, Tt as convertTime, Et as convertToDurationBasedOnTimeUnits, gt as cs, f as curry, Dt as dateFormat, kt as dayjs, Ot as dayjsFormat, p as debounce, m as defaultTo, h as defaults, g as defaultsDeep, _ as difference, Jt as div, Mn as easing, v as escape, y as extend, Mt as fileRead, Nt as fileToDataURL, Pt as fillNBSP, ze as fillRef, b as findKey, Cn as findNodeBy, vt as fire, vn as fixedWidth, x as flatten, S as flattenDeep, C as flow, Ye as focusAtEnd, X as forceReflow, X as reflow, w as get, Xe as getBody, Ze as getBodyContainer, wn as getChildWithParentBy, Ft as getCompatProp, Qe as getDOM, $e as getDocument, et as getDocumentElement, Ge as getElement, tt as getElementCoordinates, nt as getElementOuterSize, rt as getHead, It as getHighlightText, Lt as getHotkeyHandler, Tn as getItemBy, En as getItemByID, Dn as getLabelFromDictionaryByValue, Be as getNodeRef, Rt as getPrefixCls, Ve as getReactElementRef, Bt as getScrollBarHeight, zt as getScrollBarSize, Vt as getScrollBarWidth, it as getScrollElements, Ht as getStringLength, yn as getStyle, at as getTopLevelOverlayContainer, T as groupBy, E as has, D as hasIn, Ut as include, Kt as initAllLineClamp, O as intersection, qt as intersectionObserver, k as invert, A as invertBy, j as invoke, Oe as isCompositeTypeElement, ke as isEmptyChildren, Ae as isEmptyReactNode, je as isReact18, Me as isReact19, Ne as isReactClassComponent, Pe as isReactComponent, Fe as isReactComponentAndNotFragment, Ie as isReactFunctionalComponent, Le as isServerRendering, M as kebabCase, qn as keyboardCode, N as mapKeys, P as mapValues, Yt as math, F as mean, I as memoize, L as merge, lt as mergeProps, R as mergeWith, $t as mergedToString, ut as migrateLegacyProps, Xt as minus, z as move, en as mutationObserver, B as noop, ot as off, V as omit, H as omitBy, st as on, U as orderBy, tn as padEnd, nn as padStart, ct as parentContainsChildren, W as partition, G as pick, rn as pickAttributesByPrefixes, K as pickBy, an as pickDataAriaAttributes, Kn as pinyin, Zt as plus, q as pullAll, fn as removeDarkTheme, un as render, _n as replaceEmptyWithHyphen, on as resizeObserver, J as result, Y as sample, ae as sampleSize, sn as saveAs, Ke as screenfull, cn as scrollIntoViewIfNeeded, On as searchTree, oe as set, ln as setCreateRoot, dn as setDarkTheme, pn as setDir, mn as setPrimaryColor, hn as setTheme, bn as setTransformStyle, se as setWith, ce as shuffle, le as snakeCase, ue as sortBy, de as startCase, He as supportNodeRef, Ue as supportRef, fe as swap, pe as throttle, Qt as times, xn as tinycolor, Sn as toArray, me as toPath, he as toSwapped, kn as tree, ge as truncate, An as tunnel, _e as union, ve as uniq, ye as uniqueId, be as unset, xe as update, Se as updateWith, Ce as upperCase, we as upperFirst, We as useComposeRef, $ as utils_exports, Wt as uuid, Gt as uuidv4, Wn as validatorLocale, Gn as warning, Te as without, Ee as xor, De as zip };
|
|
288
|
+
/* 欲穷千里目,更上一层楼 */
|
|
372
289
|
/* 独立思考,明辨是非 */
|