@unicom-cloud/ui-common 0.1.48 → 0.1.49
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 +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 -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 +1 -1
- package/hooks/use-merge-value/index.js +1 -1
- package/hooks/use-mobile/index.js +1 -1
- package/hooks/use-mount/index.js +1 -1
- package/hooks/use-mouse/index.js +1 -1
- package/hooks/use-move/index.js +1 -1
- package/hooks/use-mutation-observer/index.js +1 -1
- package/hooks/use-mutation-observers/index.js +1 -1
- package/hooks/use-network/index.js +1 -1
- package/hooks/use-online-status/index.js +1 -1
- package/hooks/use-overflow-hidden/index.js +1 -1
- package/hooks/use-override-ref/index.js +1 -1
- package/hooks/use-pagination/index.js +1 -1
- package/hooks/use-paste-image/index.js +1 -1
- package/hooks/use-persist-callback/index.js +1 -1
- package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
- package/hooks/use-previous/index.js +1 -1
- package/hooks/use-raf-interval/index.js +1 -1
- package/hooks/use-raf-state/index.js +1 -1
- package/hooks/use-raf-timeout/index.js +1 -1
- package/hooks/use-reactive/index.js +1 -1
- package/hooks/use-ref-latest/index.js +1 -1
- package/hooks/use-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 +251 -250
- package/morphicons/core/interpolate.js +1 -1
- package/morphicons/core/normalize.js +1 -1
- package/morphicons/core/resample.js +2 -2
- package/morphicons/core/serialize.js +1 -1
- package/morphicons/core/spring.js +1 -1
- package/morphicons/dom/index.js +2 -2
- 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 +2 -2
- 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 -1
- package/utils/callbackOriginRef.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/className.js +1 -1
- package/utils/confetti.js +1 -1
- package/utils/constants.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/createRoot.d.ts +14 -0
- package/utils/createRoot.js +57 -0
- package/utils/css.js +1 -1
- package/utils/date.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/document.js +1 -1
- package/utils/dom.js +25 -25
- package/utils/emitter.js +1 -1
- package/utils/file.js +1 -1
- package/utils/fileRead.js +1 -1
- package/utils/fileToDataURL.js +1 -1
- package/utils/fillNBSP.js +1 -1
- package/utils/getCompatProp.js +1 -1
- package/utils/getElement.js +1 -1
- 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 +12 -12
- package/utils/getScrollBarWidth.js +1 -1
- package/utils/getScrollParent.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/getURLSearchByParams.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.d.ts +1 -1
- package/utils/index.js +127 -126
- package/utils/initAllLineClamp.js +1 -1
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +1 -1
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +1 -1
- package/utils/math.js +1 -1
- package/utils/mergeProps.js +1 -1
- package/utils/mergedToString.js +1 -1
- package/utils/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/pinyin.js +1 -1
- package/utils/react19Adapter.js +2 -2
- package/utils/reactNode.js +1 -1
- package/utils/ref.js +1 -1
- package/utils/resizeObserver.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +1 -1
- package/utils/scrollIntoViewIfNeeded.js +1 -1
- package/utils/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 +2 -2
- package/utils/tree.js +1 -1
- package/utils/tunnel.js +1 -1
- package/utils/tween.js +1 -1
- package/utils/uuid.js +1 -1
- package/utils/validate.js +1 -1
- package/utils/warning.js +1 -1
- package/version/index.js +7 -7
- package/utils/setCreateRoot.d.ts +0 -13
- package/utils/setCreateRoot.js +0 -55
- /package/{base → resize-observer}/style/index.css +0 -0
package/utils/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-09-
|
|
1
|
+
/* 潘启宝 2026-09-14 17:09:24 星期一 山东省济南市 */
|
|
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";
|
|
@@ -17,55 +17,55 @@ import { className as pt, cls as mt, clsx as ht, cs as gt } from "./className.js
|
|
|
17
17
|
import { confetti as _t, fire as vt } from "./confetti.js";
|
|
18
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";
|
|
19
19
|
import { clipboardCopy as Q } from "./copy.js";
|
|
20
|
+
import { createRoot as Tt, render as Et, setCreateRoot as Dt } from "./createRoot.js";
|
|
20
21
|
import "./css.js";
|
|
21
|
-
import { convertTime as
|
|
22
|
-
import { dayjs as
|
|
23
|
-
import { document_exports as
|
|
24
|
-
import { Emitter as
|
|
22
|
+
import { convertTime as Ot, convertToDurationBasedOnTimeUnits as kt, dateFormat as At, dayjsFormat as jt } from "./date.js";
|
|
23
|
+
import { dayjs as Mt } from "./dayjs.js";
|
|
24
|
+
import { document_exports as Nt } from "./document.js";
|
|
25
|
+
import { Emitter as Pt } from "./emitter.js";
|
|
25
26
|
import "./file.js";
|
|
26
|
-
import { fileRead as
|
|
27
|
-
import { fileToDataURL as
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
27
|
+
import { fileRead as Ft } from "./fileRead.js";
|
|
28
|
+
import { fileToDataURL as It } from "./fileToDataURL.js";
|
|
29
|
+
import Lt from "./fillNBSP.js";
|
|
30
|
+
import Rt from "./getCompatProp.js";
|
|
31
|
+
import zt from "./getHighlightText.js";
|
|
32
|
+
import Bt from "./getHotkeyHandler.js";
|
|
33
|
+
import Vt from "./getPrefixCls.js";
|
|
34
|
+
import Ht from "./getScrollBarSize.js";
|
|
35
|
+
import Ut from "./getScrollBarHeight.js";
|
|
36
|
+
import Wt from "./getScrollBarWidth.js";
|
|
36
37
|
import "./getScrollParent.js";
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import { uuid as
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import { div as
|
|
44
|
-
import
|
|
45
|
-
import
|
|
38
|
+
import Gt from "./getStringLength.js";
|
|
39
|
+
import Kt from "./getURLSearchByParams.js";
|
|
40
|
+
import qt from "./include.js";
|
|
41
|
+
import { uuid as Jt, uuidv4 as Yt } from "./uuid.js";
|
|
42
|
+
import Xt from "./initAllLineClamp.js";
|
|
43
|
+
import Zt from "./intersectionObserver.js";
|
|
44
|
+
import { div as Qt, math as $t, minus as en, plus as tn, times as nn } from "./math.js";
|
|
45
|
+
import rn from "./mergedToString.js";
|
|
46
|
+
import an from "./mutationObserver.js";
|
|
46
47
|
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
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import {
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import { COMPONENT_NAMES as Yn } from "./names.js";
|
|
48
|
+
import { padEnd as on, padStart as sn } from "./pad.js";
|
|
49
|
+
import { pickAttributesByPrefixes as cn, pickDataAriaAttributes as ln } from "./pick.js";
|
|
50
|
+
import un from "./resizeObserver.js";
|
|
51
|
+
import { saveAs as dn } from "./saveAs.js";
|
|
52
|
+
import fn from "./scrollIntoViewIfNeeded.js";
|
|
53
|
+
import pn, { removeDarkTheme as mn } from "./setDarkTheme.js";
|
|
54
|
+
import hn from "./setDir.js";
|
|
55
|
+
import gn from "./setPrimaryColor.js";
|
|
56
|
+
import _n from "./setTheme.js";
|
|
57
|
+
import { HYPHEN as vn, replaceEmptyWithHyphen as yn } from "./string.js";
|
|
58
|
+
import { fixedWidth as bn, getStyle as xn, setTransformStyle as Sn } from "./style.js";
|
|
59
|
+
import { tinycolor as Cn } from "./tinycolor.js";
|
|
60
|
+
import wn from "./toArray.js";
|
|
61
|
+
import { findNodeBy as Tn, getChildWithParentBy as En, getItemBy as Dn, getItemByID as On, getLabelFromDictionaryByValue as kn, searchTree as An, tree as jn } from "./tree.js";
|
|
62
|
+
import Mn from "./tunnel.js";
|
|
63
|
+
import { Tween as Nn, easing as Pn } from "./tween.js";
|
|
64
|
+
import { PqbValidator as Fn, Validator as In, ValidatorArray as Ln, ValidatorBase as Rn, ValidatorBoolean as zn, ValidatorCustom as Bn, ValidatorNumber as Vn, ValidatorObject as Hn, ValidatorSchema as Un, ValidatorString as Wn, ValidatorType as Gn, validatorLocale as Kn } from "./validate.js";
|
|
65
|
+
import qn from "./warning.js";
|
|
66
|
+
import { pinyin_exports as Jn } from "./pinyin.js";
|
|
67
|
+
import { keyboardCode as Yn } from "./keyboardCode.js";
|
|
68
|
+
import { COMPONENT_NAMES as Xn } from "./names.js";
|
|
69
69
|
export * from "@unicom-cloud/utils/is";
|
|
70
70
|
export * from "@unicom-cloud/utils/object";
|
|
71
71
|
export * from "@unicom-cloud/utils/css";
|
|
@@ -74,27 +74,27 @@ export * from "@unicom-cloud/utils/file";
|
|
|
74
74
|
export * from "@unicom-cloud/utils/tinycolor";
|
|
75
75
|
//#region components/common/utils/index.ts
|
|
76
76
|
var $ = /* @__PURE__ */ ee({
|
|
77
|
-
COMPONENT_NAMES: () =>
|
|
77
|
+
COMPONENT_NAMES: () => Xn,
|
|
78
78
|
CSS_VARIABLE_ELEMENT: () => yt,
|
|
79
79
|
DAYJS_DEFAULT_FORMAT: () => bt,
|
|
80
80
|
DAYJS_DEFAULT_FORMAT_WITH_TIME: () => xt,
|
|
81
|
-
Emitter: () =>
|
|
82
|
-
HYPHEN: () =>
|
|
81
|
+
Emitter: () => Pt,
|
|
82
|
+
HYPHEN: () => vn,
|
|
83
83
|
PREFIX_CLASS: () => St,
|
|
84
|
-
PqbValidator: () =>
|
|
85
|
-
Tween: () =>
|
|
84
|
+
PqbValidator: () => Fn,
|
|
85
|
+
Tween: () => Nn,
|
|
86
86
|
UI_PC_KEY: () => Ct,
|
|
87
87
|
UI_PC_THEME_DARK_CLASS_NAME: () => wt,
|
|
88
|
-
Validator: () =>
|
|
89
|
-
ValidatorArray: () =>
|
|
90
|
-
ValidatorBase: () =>
|
|
91
|
-
ValidatorBoolean: () =>
|
|
92
|
-
ValidatorCustom: () =>
|
|
93
|
-
ValidatorNumber: () =>
|
|
94
|
-
ValidatorObject: () =>
|
|
95
|
-
ValidatorSchema: () =>
|
|
96
|
-
ValidatorString: () =>
|
|
97
|
-
ValidatorType: () =>
|
|
88
|
+
Validator: () => In,
|
|
89
|
+
ValidatorArray: () => Ln,
|
|
90
|
+
ValidatorBase: () => Rn,
|
|
91
|
+
ValidatorBoolean: () => zn,
|
|
92
|
+
ValidatorCustom: () => Bn,
|
|
93
|
+
ValidatorNumber: () => Vn,
|
|
94
|
+
ValidatorObject: () => Hn,
|
|
95
|
+
ValidatorSchema: () => Un,
|
|
96
|
+
ValidatorString: () => Wn,
|
|
97
|
+
ValidatorType: () => Gn,
|
|
98
98
|
assign: () => ne,
|
|
99
99
|
assignIn: () => re,
|
|
100
100
|
at: () => ie,
|
|
@@ -120,31 +120,32 @@ var $ = /* @__PURE__ */ ee({
|
|
|
120
120
|
composeRef: () => Re,
|
|
121
121
|
confetti: () => _t,
|
|
122
122
|
contains: () => Je,
|
|
123
|
-
convertTime: () =>
|
|
124
|
-
convertToDurationBasedOnTimeUnits: () =>
|
|
123
|
+
convertTime: () => Ot,
|
|
124
|
+
convertToDurationBasedOnTimeUnits: () => kt,
|
|
125
125
|
copy: () => Q,
|
|
126
|
+
createRoot: () => Tt,
|
|
126
127
|
cs: () => gt,
|
|
127
128
|
curry: () => f,
|
|
128
|
-
dateFormat: () =>
|
|
129
|
-
dayjs: () =>
|
|
130
|
-
dayjsFormat: () =>
|
|
129
|
+
dateFormat: () => At,
|
|
130
|
+
dayjs: () => Mt,
|
|
131
|
+
dayjsFormat: () => jt,
|
|
131
132
|
debounce: () => p,
|
|
132
133
|
defaultTo: () => m,
|
|
133
134
|
defaults: () => h,
|
|
134
135
|
defaultsDeep: () => g,
|
|
135
136
|
difference: () => _,
|
|
136
|
-
div: () =>
|
|
137
|
-
easing: () =>
|
|
137
|
+
div: () => Qt,
|
|
138
|
+
easing: () => Pn,
|
|
138
139
|
escape: () => v,
|
|
139
140
|
extend: () => y,
|
|
140
|
-
fileRead: () =>
|
|
141
|
-
fileToDataURL: () =>
|
|
142
|
-
fillNBSP: () =>
|
|
141
|
+
fileRead: () => Ft,
|
|
142
|
+
fileToDataURL: () => It,
|
|
143
|
+
fillNBSP: () => Lt,
|
|
143
144
|
fillRef: () => ze,
|
|
144
145
|
findKey: () => b,
|
|
145
|
-
findNodeBy: () =>
|
|
146
|
+
findNodeBy: () => Tn,
|
|
146
147
|
fire: () => vt,
|
|
147
|
-
fixedWidth: () =>
|
|
148
|
+
fixedWidth: () => bn,
|
|
148
149
|
flatten: () => x,
|
|
149
150
|
flattenDeep: () => S,
|
|
150
151
|
flow: () => C,
|
|
@@ -153,8 +154,8 @@ var $ = /* @__PURE__ */ ee({
|
|
|
153
154
|
get: () => w,
|
|
154
155
|
getBody: () => Xe,
|
|
155
156
|
getBodyContainer: () => Ze,
|
|
156
|
-
getChildWithParentBy: () =>
|
|
157
|
-
getCompatProp: () =>
|
|
157
|
+
getChildWithParentBy: () => En,
|
|
158
|
+
getCompatProp: () => Rt,
|
|
158
159
|
getDOM: () => Qe,
|
|
159
160
|
getDocument: () => $e,
|
|
160
161
|
getDocumentElement: () => et,
|
|
@@ -162,29 +163,29 @@ var $ = /* @__PURE__ */ ee({
|
|
|
162
163
|
getElementCoordinates: () => tt,
|
|
163
164
|
getElementOuterSize: () => nt,
|
|
164
165
|
getHead: () => rt,
|
|
165
|
-
getHighlightText: () =>
|
|
166
|
-
getHotkeyHandler: () =>
|
|
167
|
-
getItemBy: () =>
|
|
168
|
-
getItemByID: () =>
|
|
169
|
-
getLabelFromDictionaryByValue: () =>
|
|
166
|
+
getHighlightText: () => zt,
|
|
167
|
+
getHotkeyHandler: () => Bt,
|
|
168
|
+
getItemBy: () => Dn,
|
|
169
|
+
getItemByID: () => On,
|
|
170
|
+
getLabelFromDictionaryByValue: () => kn,
|
|
170
171
|
getNodeRef: () => Be,
|
|
171
|
-
getPrefixCls: () =>
|
|
172
|
+
getPrefixCls: () => Vt,
|
|
172
173
|
getReactElementRef: () => Ve,
|
|
173
|
-
getScrollBarHeight: () =>
|
|
174
|
-
getScrollBarSize: () =>
|
|
175
|
-
getScrollBarWidth: () =>
|
|
174
|
+
getScrollBarHeight: () => Ut,
|
|
175
|
+
getScrollBarSize: () => Ht,
|
|
176
|
+
getScrollBarWidth: () => Wt,
|
|
176
177
|
getScrollElements: () => it,
|
|
177
|
-
getStringLength: () =>
|
|
178
|
-
getStyle: () =>
|
|
178
|
+
getStringLength: () => Gt,
|
|
179
|
+
getStyle: () => xn,
|
|
179
180
|
getTopLevelOverlayContainer: () => at,
|
|
180
|
-
getURLSearchByParams: () =>
|
|
181
|
+
getURLSearchByParams: () => Kt,
|
|
181
182
|
groupBy: () => T,
|
|
182
183
|
has: () => E,
|
|
183
184
|
hasIn: () => D,
|
|
184
|
-
include: () =>
|
|
185
|
-
initAllLineClamp: () =>
|
|
185
|
+
include: () => qt,
|
|
186
|
+
initAllLineClamp: () => Xt,
|
|
186
187
|
intersection: () => O,
|
|
187
|
-
intersectionObserver: () =>
|
|
188
|
+
intersectionObserver: () => Zt,
|
|
188
189
|
invert: () => k,
|
|
189
190
|
invertBy: () => A,
|
|
190
191
|
invoke: () => j,
|
|
@@ -199,56 +200,56 @@ var $ = /* @__PURE__ */ ee({
|
|
|
199
200
|
isReactFunctionalComponent: () => Ie,
|
|
200
201
|
isServerRendering: () => Le,
|
|
201
202
|
kebabCase: () => M,
|
|
202
|
-
keyboardCode: () =>
|
|
203
|
+
keyboardCode: () => Yn,
|
|
203
204
|
mapKeys: () => N,
|
|
204
205
|
mapValues: () => P,
|
|
205
|
-
math: () =>
|
|
206
|
+
math: () => $t,
|
|
206
207
|
mean: () => F,
|
|
207
208
|
memoize: () => I,
|
|
208
209
|
merge: () => L,
|
|
209
210
|
mergeProps: () => lt,
|
|
210
211
|
mergeWith: () => R,
|
|
211
|
-
mergedToString: () =>
|
|
212
|
+
mergedToString: () => rn,
|
|
212
213
|
migrateLegacyProps: () => ut,
|
|
213
|
-
minus: () =>
|
|
214
|
+
minus: () => en,
|
|
214
215
|
move: () => z,
|
|
215
|
-
mutationObserver: () =>
|
|
216
|
+
mutationObserver: () => an,
|
|
216
217
|
noop: () => B,
|
|
217
218
|
off: () => ot,
|
|
218
219
|
omit: () => V,
|
|
219
220
|
omitBy: () => H,
|
|
220
221
|
on: () => st,
|
|
221
222
|
orderBy: () => U,
|
|
222
|
-
padEnd: () =>
|
|
223
|
-
padStart: () =>
|
|
223
|
+
padEnd: () => on,
|
|
224
|
+
padStart: () => sn,
|
|
224
225
|
parentContainsChildren: () => ct,
|
|
225
226
|
partition: () => W,
|
|
226
227
|
pick: () => G,
|
|
227
|
-
pickAttributesByPrefixes: () =>
|
|
228
|
+
pickAttributesByPrefixes: () => cn,
|
|
228
229
|
pickBy: () => K,
|
|
229
|
-
pickDataAriaAttributes: () =>
|
|
230
|
-
pinyin: () =>
|
|
231
|
-
plus: () =>
|
|
230
|
+
pickDataAriaAttributes: () => ln,
|
|
231
|
+
pinyin: () => Jn,
|
|
232
|
+
plus: () => tn,
|
|
232
233
|
pullAll: () => q,
|
|
233
234
|
reflow: () => X,
|
|
234
|
-
removeDarkTheme: () =>
|
|
235
|
-
render: () =>
|
|
236
|
-
replaceEmptyWithHyphen: () =>
|
|
237
|
-
resizeObserver: () =>
|
|
235
|
+
removeDarkTheme: () => mn,
|
|
236
|
+
render: () => Et,
|
|
237
|
+
replaceEmptyWithHyphen: () => yn,
|
|
238
|
+
resizeObserver: () => un,
|
|
238
239
|
result: () => J,
|
|
239
240
|
sample: () => Y,
|
|
240
241
|
sampleSize: () => ae,
|
|
241
|
-
saveAs: () =>
|
|
242
|
+
saveAs: () => dn,
|
|
242
243
|
screenfull: () => Ke,
|
|
243
|
-
scrollIntoViewIfNeeded: () =>
|
|
244
|
-
searchTree: () =>
|
|
244
|
+
scrollIntoViewIfNeeded: () => fn,
|
|
245
|
+
searchTree: () => An,
|
|
245
246
|
set: () => oe,
|
|
246
|
-
setCreateRoot: () =>
|
|
247
|
-
setDarkTheme: () =>
|
|
248
|
-
setDir: () =>
|
|
249
|
-
setPrimaryColor: () =>
|
|
250
|
-
setTheme: () =>
|
|
251
|
-
setTransformStyle: () =>
|
|
247
|
+
setCreateRoot: () => Dt,
|
|
248
|
+
setDarkTheme: () => pn,
|
|
249
|
+
setDir: () => hn,
|
|
250
|
+
setPrimaryColor: () => gn,
|
|
251
|
+
setTheme: () => _n,
|
|
252
|
+
setTransformStyle: () => Sn,
|
|
252
253
|
setWith: () => se,
|
|
253
254
|
shuffle: () => ce,
|
|
254
255
|
snakeCase: () => le,
|
|
@@ -258,14 +259,14 @@ var $ = /* @__PURE__ */ ee({
|
|
|
258
259
|
supportRef: () => Ue,
|
|
259
260
|
swap: () => fe,
|
|
260
261
|
throttle: () => pe,
|
|
261
|
-
times: () =>
|
|
262
|
-
tinycolor: () =>
|
|
263
|
-
toArray: () =>
|
|
262
|
+
times: () => nn,
|
|
263
|
+
tinycolor: () => Cn,
|
|
264
|
+
toArray: () => wn,
|
|
264
265
|
toPath: () => me,
|
|
265
266
|
toSwapped: () => he,
|
|
266
|
-
tree: () =>
|
|
267
|
+
tree: () => jn,
|
|
267
268
|
truncate: () => ge,
|
|
268
|
-
tunnel: () =>
|
|
269
|
+
tunnel: () => Mn,
|
|
269
270
|
union: () => _e,
|
|
270
271
|
uniq: () => ve,
|
|
271
272
|
uniqueId: () => ye,
|
|
@@ -275,17 +276,17 @@ var $ = /* @__PURE__ */ ee({
|
|
|
275
276
|
upperCase: () => Ce,
|
|
276
277
|
upperFirst: () => we,
|
|
277
278
|
useComposeRef: () => We,
|
|
278
|
-
uuid: () =>
|
|
279
|
-
uuidv4: () =>
|
|
280
|
-
validatorLocale: () =>
|
|
281
|
-
warning: () =>
|
|
279
|
+
uuid: () => Jt,
|
|
280
|
+
uuidv4: () => Yt,
|
|
281
|
+
validatorLocale: () => Kn,
|
|
282
|
+
warning: () => qn,
|
|
282
283
|
without: () => Te,
|
|
283
284
|
xor: () => Ee,
|
|
284
285
|
zip: () => De
|
|
285
286
|
});
|
|
286
|
-
import * as
|
|
287
|
-
e($,
|
|
287
|
+
import * as Zn from "@unicom-cloud/utils/is";
|
|
288
|
+
e($, Zn), e($, Nt), e($, te);
|
|
288
289
|
//#endregion
|
|
289
|
-
export {
|
|
290
|
+
export { Xn as COMPONENT_NAMES, yt as CSS_VARIABLE_ELEMENT, bt as DAYJS_DEFAULT_FORMAT, xt as DAYJS_DEFAULT_FORMAT_WITH_TIME, Pt as Emitter, vn as HYPHEN, St as PREFIX_CLASS, Fn as PqbValidator, Nn as Tween, Ct as UI_PC_KEY, wt as UI_PC_THEME_DARK_CLASS_NAME, In as Validator, Ln as ValidatorArray, Rn as ValidatorBase, zn as ValidatorBoolean, Bn as ValidatorCustom, Vn as ValidatorNumber, Hn as ValidatorObject, Un as ValidatorSchema, Wn as ValidatorString, Gn 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, Ot as convertTime, kt as convertToDurationBasedOnTimeUnits, Tt as createRoot, gt as cs, f as curry, At as dateFormat, Mt as dayjs, jt as dayjsFormat, p as debounce, m as defaultTo, h as defaults, g as defaultsDeep, _ as difference, Qt as div, Pn as easing, v as escape, y as extend, Ft as fileRead, It as fileToDataURL, Lt as fillNBSP, ze as fillRef, b as findKey, Tn as findNodeBy, vt as fire, bn 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, En as getChildWithParentBy, Rt as getCompatProp, Qe as getDOM, $e as getDocument, et as getDocumentElement, Ge as getElement, tt as getElementCoordinates, nt as getElementOuterSize, rt as getHead, zt as getHighlightText, Bt as getHotkeyHandler, Dn as getItemBy, On as getItemByID, kn as getLabelFromDictionaryByValue, Be as getNodeRef, Vt as getPrefixCls, Ve as getReactElementRef, Ut as getScrollBarHeight, Ht as getScrollBarSize, Wt as getScrollBarWidth, it as getScrollElements, Gt as getStringLength, xn as getStyle, at as getTopLevelOverlayContainer, Kt as getURLSearchByParams, T as groupBy, E as has, D as hasIn, qt as include, Xt as initAllLineClamp, O as intersection, Zt 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, Yn as keyboardCode, N as mapKeys, P as mapValues, $t as math, F as mean, I as memoize, L as merge, lt as mergeProps, R as mergeWith, rn as mergedToString, ut as migrateLegacyProps, en as minus, z as move, an as mutationObserver, B as noop, ot as off, V as omit, H as omitBy, st as on, U as orderBy, on as padEnd, sn as padStart, ct as parentContainsChildren, W as partition, G as pick, cn as pickAttributesByPrefixes, K as pickBy, ln as pickDataAriaAttributes, Jn as pinyin, tn as plus, q as pullAll, mn as removeDarkTheme, Et as render, yn as replaceEmptyWithHyphen, un as resizeObserver, J as result, Y as sample, ae as sampleSize, dn as saveAs, Ke as screenfull, fn as scrollIntoViewIfNeeded, An as searchTree, oe as set, Dt as setCreateRoot, pn as setDarkTheme, hn as setDir, gn as setPrimaryColor, _n as setTheme, Sn 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, nn as times, Cn as tinycolor, wn as toArray, me as toPath, he as toSwapped, jn as tree, ge as truncate, Mn 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, Jt as uuid, Yt as uuidv4, Kn as validatorLocale, qn as warning, Te as without, Ee as xor, De as zip };
|
|
290
291
|
/* 欲穷千里目,更上一层楼 */
|
|
291
292
|
/* 独立思考,明辨是非 */
|
package/utils/is.js
CHANGED
package/utils/keyboardCode.js
CHANGED
package/utils/lodash.js
CHANGED
package/utils/math.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-09-
|
|
1
|
+
/* 潘启宝 2026-09-14 17:09:24 星期一 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
3
|
import e, { div as t, minus as n, plus as r, times as i, default as a } from "@unicom-cloud/utils/math";
|
|
4
4
|
export { a as default, t as div, e as math, n as minus, r as plus, i as times };
|
package/utils/mergeProps.js
CHANGED
package/utils/mergedToString.js
CHANGED
package/utils/names.js
CHANGED
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
package/utils/react19Adapter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* 潘启宝 2026-09-
|
|
1
|
+
/* 潘启宝 2026-09-14 17:09:24 星期一 山东省济南市 */
|
|
2
2
|
/* 世界因你而美丽 */
|
|
3
|
-
import e from "./
|
|
3
|
+
import { setCreateRoot as e } from "./createRoot.js";
|
|
4
4
|
import { createRoot as t } from "react-dom/client";
|
|
5
5
|
//#region components/common/utils/react19Adapter.ts
|
|
6
6
|
e(t);
|
package/utils/reactNode.js
CHANGED
package/utils/ref.js
CHANGED
package/utils/resizeObserver.js
CHANGED
package/utils/saveAs.js
CHANGED
package/utils/screenfull.js
CHANGED
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