@unicom-cloud/ui 0.8.47 → 0.8.48
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/LICENSE +21 -0
- package/Typography.js +2 -3
- package/hooks/useFullscreen.js +2 -2
- package/index.js +410 -408
- package/package.json +1 -1
- package/types/pc/index.d.ts +3 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Bytedance, Inc. and its affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/Typography.js
CHANGED
|
@@ -4,6 +4,7 @@ import { a as ct } from "./chunk/z7sBNzI4.js";
|
|
|
4
4
|
import bt from "./hooks/useMergeProps.js";
|
|
5
5
|
import gt from "./hooks/useMergeValue.js";
|
|
6
6
|
/* empty css */
|
|
7
|
+
import "./chunk/uUGMUxt_.js";
|
|
7
8
|
import "lodash/isEqualWith";
|
|
8
9
|
import { isObject as Q, isUndefined as ht } from "./utils/is.js";
|
|
9
10
|
import Tt from "lodash/isNumber";
|
|
@@ -17,8 +18,6 @@ import "./hooks/useLocation.js";
|
|
|
17
18
|
import "./hooks/useNetworkState.js";
|
|
18
19
|
import "./utils/reactDOM.js";
|
|
19
20
|
import "@unicom-cloud/utils/tween/easing";
|
|
20
|
-
import "@unicom-cloud/utils/is";
|
|
21
|
-
import "@unicom-cloud/utils/ui-color";
|
|
22
21
|
import D from "@unicom-cloud/utils/class-name";
|
|
23
22
|
import "./Affix.js";
|
|
24
23
|
import "./Alert.js";
|
|
@@ -89,6 +88,7 @@ import "./TimePicker.js";
|
|
|
89
88
|
import "./chunk/DfvdYCUz.js";
|
|
90
89
|
import ft from "./Tooltip.js";
|
|
91
90
|
import "./Transfer.js";
|
|
91
|
+
import "@unicom-cloud/utils/is";
|
|
92
92
|
import "lodash/get";
|
|
93
93
|
import "lodash/has";
|
|
94
94
|
import Rt from "lodash/isArray";
|
|
@@ -96,7 +96,6 @@ import "lodash/isFunction";
|
|
|
96
96
|
import Mt from "lodash/isUndefined";
|
|
97
97
|
import "./chunk/n58kSv9T.js";
|
|
98
98
|
import "./chunk/CQvJK4kb.js";
|
|
99
|
-
import "./chunk/uUGMUxt_.js";
|
|
100
99
|
import "lodash/isEqual";
|
|
101
100
|
import "./utils/raf.js";
|
|
102
101
|
import yt from "./utils/throttleByRaf.js";
|
package/hooks/useFullscreen.js
CHANGED
|
@@ -2,7 +2,7 @@ import r from "@unicom-cloud/utils/screenfull";
|
|
|
2
2
|
import { useState as F } from "react";
|
|
3
3
|
import { o as b, a as i, n as m } from "../chunk/TXCrI0jN.js";
|
|
4
4
|
import E from "./useIsomorphicLayoutEffect.js";
|
|
5
|
-
const
|
|
5
|
+
const d = (c, l, f = {}) => {
|
|
6
6
|
const { video: e, onClose: s = m } = f, [a, n] = F(l);
|
|
7
7
|
return E(() => {
|
|
8
8
|
if (!l || !c.current)
|
|
@@ -35,5 +35,5 @@ const h = (c, l, f = {}) => {
|
|
|
35
35
|
}, [l, e, c]), a;
|
|
36
36
|
};
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
d as default
|
|
39
39
|
};
|
package/index.js
CHANGED
|
@@ -1,412 +1,414 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as b } from "./hooks/
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as D
|
|
14
|
-
import { default as A } from "./hooks/
|
|
15
|
-
import { default as U } from "./hooks/
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as Q } from "./hooks/
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as me } from "./hooks/
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as Ee } from "./hooks/
|
|
41
|
-
import {
|
|
42
|
-
import { default as Ue } from "./hooks/
|
|
43
|
-
import {
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as Qe } from "./hooks/
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as mo } from "./hooks/
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import {
|
|
62
|
-
import { default as
|
|
63
|
-
import {
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as Do } from "./hooks/
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as Fo } from "./hooks/
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import {
|
|
72
|
-
import { default as
|
|
73
|
-
import {
|
|
74
|
-
import { default as Zo } from "./hooks/
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import {
|
|
105
|
-
import { default as
|
|
106
|
-
import {
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as
|
|
113
|
-
import { default as
|
|
114
|
-
import { default as
|
|
115
|
-
import { default as
|
|
116
|
-
import { default as
|
|
117
|
-
import { default as
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
121
|
-
import { default as
|
|
122
|
-
import { default as
|
|
123
|
-
import { default as
|
|
124
|
-
import
|
|
125
|
-
import
|
|
126
|
-
import
|
|
127
|
-
import { default as
|
|
128
|
-
import { default as
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import { default as
|
|
132
|
-
import { default as
|
|
133
|
-
import { default as
|
|
134
|
-
import { default as
|
|
135
|
-
import { default as
|
|
136
|
-
import { default as
|
|
137
|
-
import { default as
|
|
138
|
-
import { default as
|
|
139
|
-
import {
|
|
140
|
-
import { C as
|
|
141
|
-
import { C as
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import { default as
|
|
146
|
-
import { default as
|
|
147
|
-
import { default as
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import { default as
|
|
151
|
-
import { default as
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import { I as
|
|
156
|
-
import { I as
|
|
157
|
-
import {
|
|
158
|
-
import { default as
|
|
159
|
-
import { default as
|
|
160
|
-
import { default as
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import { default as
|
|
167
|
-
import { default as
|
|
168
|
-
import { default as
|
|
169
|
-
import { default as
|
|
170
|
-
import { default as
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import { default as
|
|
174
|
-
import { default as
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import { default as
|
|
178
|
-
import { default as
|
|
179
|
-
import { default as
|
|
180
|
-
import { default as
|
|
181
|
-
import { default as
|
|
182
|
-
import { default as
|
|
183
|
-
import { default as Xs } from "./Steps.js";
|
|
2
|
+
import { t as a, y as s } from "./chunk/CiZVOdJ3.js";
|
|
3
|
+
import { v as u, T as p, l, j as m } from "./chunk/uUGMUxt_.js";
|
|
4
|
+
import { default as x } from "./hooks/use-verification-code.js";
|
|
5
|
+
import { default as n } from "./hooks/use-watermark.js";
|
|
6
|
+
import { default as S } from "./hooks/useAsync.js";
|
|
7
|
+
import { default as T } from "./hooks/useAsyncFn.js";
|
|
8
|
+
import { default as v } from "./hooks/useAsyncRetry.js";
|
|
9
|
+
import { default as P } from "./hooks/useAudio.js";
|
|
10
|
+
import { default as I } from "./hooks/useBeforeUnload.js";
|
|
11
|
+
import { default as b, default as L } from "./hooks/useToggle.js";
|
|
12
|
+
import { default as k } from "./hooks/useClickAway.js";
|
|
13
|
+
import { default as D } from "./hooks/useComputedState.js";
|
|
14
|
+
import { default as A } from "./hooks/useCopyToClipboard.js";
|
|
15
|
+
import { default as F, default as U } from "./hooks/useCounter.js";
|
|
16
|
+
import { default as B } from "./hooks/useCreation.js";
|
|
17
|
+
import { default as N } from "./hooks/useCustomCompareEffect.js";
|
|
18
|
+
import { default as G } from "./hooks/useDebounce.js";
|
|
19
|
+
import { default as z } from "./hooks/useDefault.js";
|
|
20
|
+
import { default as Q } from "./hooks/useDrop.js";
|
|
21
|
+
import { default as q } from "./hooks/useDropArea.js";
|
|
22
|
+
import { default as X } from "./hooks/useEffectOnce.js";
|
|
23
|
+
import { default as _ } from "./hooks/useEffectState.js";
|
|
24
|
+
import { default as ee } from "./hooks/useEnsuredForwardedRef.js";
|
|
25
|
+
import { default as te } from "./hooks/useError.js";
|
|
26
|
+
import { default as ae } from "./hooks/useEvent.js";
|
|
27
|
+
import { default as fe } from "./hooks/useEventListener.js";
|
|
28
|
+
import { default as pe } from "./hooks/useFavicon.js";
|
|
29
|
+
import { default as me } from "./hooks/useFirstMountState.js";
|
|
30
|
+
import { default as xe } from "./hooks/useForceUpdate.js";
|
|
31
|
+
import { default as ne } from "./hooks/useFullscreen.js";
|
|
32
|
+
import { default as Se } from "./hooks/useGeolocation.js";
|
|
33
|
+
import { default as Te } from "./hooks/useGetSet.js";
|
|
34
|
+
import { default as ve } from "./hooks/useGetSetState.js";
|
|
35
|
+
import { default as Pe } from "./hooks/useHash.js";
|
|
36
|
+
import { default as Ie } from "./hooks/useHover.js";
|
|
37
|
+
import { default as be } from "./hooks/useHoverDirty.js";
|
|
38
|
+
import { default as Re } from "./hooks/useId.js";
|
|
39
|
+
import { default as we } from "./hooks/useIdle.js";
|
|
40
|
+
import { default as Ee } from "./hooks/useInView.js";
|
|
41
|
+
import { default as Ve } from "./hooks/useIntersection.js";
|
|
42
|
+
import { default as Ue } from "./hooks/useIntersectionObserver.js";
|
|
43
|
+
import { useInterval as Be } from "./hooks/useInterval.js";
|
|
44
|
+
import { default as Ne } from "./hooks/useIsFirstRender.js";
|
|
45
|
+
import { default as Ge } from "./hooks/useIsomorphicLayoutEffect.js";
|
|
46
|
+
import { default as ze } from "./hooks/useKey.js";
|
|
47
|
+
import { default as Qe } from "./hooks/useKeyPress.js";
|
|
48
|
+
import { default as qe } from "./hooks/useKeyPressEvent.js";
|
|
49
|
+
import { default as Xe } from "./hooks/useKeyboardEvent.js";
|
|
50
|
+
import { default as _e } from "./hooks/useLatest.js";
|
|
51
|
+
import { default as eo } from "./hooks/useLifecycles.js";
|
|
52
|
+
import { default as to } from "./hooks/useList.js";
|
|
53
|
+
import { default as ao } from "./hooks/useLocalStorage.js";
|
|
54
|
+
import { default as fo } from "./hooks/useLocation.js";
|
|
55
|
+
import { default as po } from "./hooks/useLockBodyScroll.js";
|
|
56
|
+
import { default as mo } from "./hooks/useLogger.js";
|
|
57
|
+
import { default as io } from "./hooks/useLongPress.js";
|
|
58
|
+
import { default as co } from "./hooks/useMap.js";
|
|
59
|
+
import { default as Co } from "./hooks/useMeasure.js";
|
|
60
|
+
import { default as go } from "./hooks/useMeasureDirty.js";
|
|
61
|
+
import { default as yo } from "./hooks/useMedia.js";
|
|
62
|
+
import { default as Mo } from "./hooks/useMediaDevices.js";
|
|
63
|
+
import { useMediatedState as ho } from "./hooks/useMediatedState.js";
|
|
64
|
+
import { default as Lo } from "./hooks/useMergeProps.js";
|
|
65
|
+
import { default as ko } from "./hooks/useMergeValue.js";
|
|
66
|
+
import { default as Do } from "./hooks/useMethods.js";
|
|
67
|
+
import { default as Ao } from "./hooks/useMotion.js";
|
|
68
|
+
import { default as Fo } from "./hooks/useMount.js";
|
|
69
|
+
import { default as Wo } from "./hooks/useMountedState.js";
|
|
70
|
+
import { default as Ho } from "./hooks/useMouse.js";
|
|
71
|
+
import { default as Oo } from "./hooks/useMouseHovered.js";
|
|
72
|
+
import { default as Ko } from "./hooks/useMouseWheel.js";
|
|
73
|
+
import { useMultiStateValidator as jo } from "./hooks/useMultiStateValidator.js";
|
|
74
|
+
import { default as Zo } from "./hooks/useNetworkState.js";
|
|
75
|
+
import { default as Jo } from "./hooks/useObservable.js";
|
|
76
|
+
import { default as Yo } from "./hooks/useOrientation.js";
|
|
77
|
+
import { default as $o } from "./hooks/useOverflowHidden.js";
|
|
78
|
+
import { default as ot } from "./hooks/useOverrideRef.js";
|
|
79
|
+
import { default as rt } from "./hooks/usePageLeave.js";
|
|
80
|
+
import { default as st } from "./hooks/usePermission.js";
|
|
81
|
+
import { default as ut } from "./hooks/usePersistCallback.js";
|
|
82
|
+
import { default as lt } from "./hooks/usePinchZoom.js";
|
|
83
|
+
import { default as dt } from "./hooks/usePrevious.js";
|
|
84
|
+
import { default as it } from "./hooks/usePreviousDistinct.js";
|
|
85
|
+
import { default as ct } from "./hooks/usePromise.js";
|
|
86
|
+
import { default as Ct } from "./hooks/useQueue.js";
|
|
87
|
+
import { default as gt } from "./hooks/useRaf.js";
|
|
88
|
+
import { default as yt } from "./hooks/useRafLoop.js";
|
|
89
|
+
import { default as Mt } from "./hooks/useRafState.js";
|
|
90
|
+
import { default as ht } from "./hooks/useReactive.js";
|
|
91
|
+
import { default as Lt } from "./hooks/useRefs.js";
|
|
92
|
+
import { default as kt } from "./hooks/useRendersCount.js";
|
|
93
|
+
import { default as Dt } from "./hooks/useScroll.js";
|
|
94
|
+
import { default as At } from "./hooks/useScrolling.js";
|
|
95
|
+
import { default as Ft } from "./hooks/useSearchParam.js";
|
|
96
|
+
import { default as Wt } from "./hooks/useSessionStorage.js";
|
|
97
|
+
import { default as Ht } from "./hooks/useSet.js";
|
|
98
|
+
import { default as Ot } from "./hooks/useSetState.js";
|
|
99
|
+
import { default as Kt } from "./hooks/useSize.js";
|
|
100
|
+
import { default as jt } from "./hooks/useSlider.js";
|
|
101
|
+
import { default as Zt } from "./hooks/useSpeech.js";
|
|
102
|
+
import { default as Jt } from "./hooks/useStartTyping.js";
|
|
103
|
+
import { default as Yt } from "./hooks/useStateCallback.js";
|
|
104
|
+
import { default as $t } from "./hooks/useStateList.js";
|
|
105
|
+
import { default as or } from "./hooks/useStateValidator.js";
|
|
106
|
+
import { useStateWithHistory as rr } from "./hooks/useStateWithHistory.js";
|
|
107
|
+
import { default as sr } from "./hooks/useStateWithPromise.js";
|
|
108
|
+
import { default as ur } from "./hooks/useSyncState.js";
|
|
109
|
+
import { default as lr } from "./hooks/useThrottle.js";
|
|
110
|
+
import { default as dr } from "./hooks/useThrottleFn.js";
|
|
111
|
+
import { default as ir } from "./hooks/useTimeout.js";
|
|
112
|
+
import { default as cr } from "./hooks/useTimeoutFn.js";
|
|
113
|
+
import { default as Cr } from "./hooks/useTitle.js";
|
|
114
|
+
import { default as gr } from "./hooks/useTween.js";
|
|
115
|
+
import { default as yr } from "./hooks/useUnmount.js";
|
|
116
|
+
import { default as Mr } from "./hooks/useUnmountPromise.js";
|
|
117
|
+
import { default as hr } from "./hooks/useUpdate.js";
|
|
118
|
+
import { default as Lr } from "./hooks/useUpdateEffect.js";
|
|
119
|
+
import { default as kr } from "./hooks/useUpdateTimeout.js";
|
|
120
|
+
import { default as Dr } from "./hooks/useUpsert.js";
|
|
121
|
+
import { default as Ar } from "./hooks/useVibrate.js";
|
|
122
|
+
import { default as Fr } from "./hooks/useVideo.js";
|
|
123
|
+
import { default as Wr } from "./hooks/useWatch.js";
|
|
124
|
+
import { default as Hr } from "./hooks/useWindowScroll.js";
|
|
125
|
+
import { default as Or } from "./hooks/useWindowSize.js";
|
|
126
|
+
import { default as Kr } from "@unicom-cloud/utils/class-name";
|
|
127
|
+
import { default as jr } from "./Affix.js";
|
|
128
|
+
import { default as Zr } from "./Alert.js";
|
|
129
|
+
import { A as Jr } from "./chunk/tkU8zIK4.js";
|
|
130
|
+
import { default as Yr } from "./AutoComplete.js";
|
|
131
|
+
import { default as $r } from "./Avatar.js";
|
|
132
|
+
import { default as oa } from "./BackTop.js";
|
|
133
|
+
import { default as ra } from "./Badge.js";
|
|
134
|
+
import { default as sa } from "./Breadcrumb.js";
|
|
135
|
+
import { default as ua } from "./Button.js";
|
|
136
|
+
import { default as la } from "./Calendar.js";
|
|
137
|
+
import { default as da } from "./Card.js";
|
|
138
|
+
import { default as ia } from "./Carousel.js";
|
|
139
|
+
import { C as ca } from "./chunk/Cw63stMm.js";
|
|
140
|
+
import { C as Ca } from "./chunk/Ct7mcZuW.js";
|
|
141
|
+
import { C as ga } from "./chunk/5PpvDpEt.js";
|
|
142
|
+
import { default as ya } from "./Comment.js";
|
|
143
|
+
import { C as Ma, a as Ia, b as ha, E as ba, I as La, M as Ra, N as ka } from "./chunk/z7sBNzI4.js";
|
|
144
|
+
import { default as Da } from "./Copy.js";
|
|
145
|
+
import { default as Aa } from "./DatePicker.js";
|
|
146
|
+
import { default as Fa } from "./Descriptions.js";
|
|
147
|
+
import { default as Wa } from "./Divider.js";
|
|
148
|
+
import { D as Ha } from "./chunk/DWGwYNvC.js";
|
|
149
|
+
import { default as Oa } from "./Dropdown.js";
|
|
150
|
+
import { default as Ka } from "./Form.js";
|
|
151
|
+
import { default as ja } from "./Grid.js";
|
|
152
|
+
import { C as Za, R as qa } from "./chunk/9AJ-uN8F.js";
|
|
153
|
+
import { default as Xa } from "./Icon.js";
|
|
154
|
+
import { I as _a } from "./chunk/DG5zSZDd.js";
|
|
155
|
+
import { I as es, a as os } from "./chunk/I0bfWb5y.js";
|
|
156
|
+
import { I as rs } from "./chunk/dhljdm11.js";
|
|
157
|
+
import { default as ss } from "./Layout.js";
|
|
158
|
+
import { default as us } from "./Link.js";
|
|
159
|
+
import { default as ls } from "./List.js";
|
|
160
|
+
import { default as ds } from "./Mentions.js";
|
|
161
|
+
import { M as is } from "./chunk/DUX5Hw8l.js";
|
|
162
|
+
import { E as cs } from "./chunk/DMeJAY1S.js";
|
|
163
|
+
import { default as Cs } from "./PageHeader.js";
|
|
164
|
+
import { P as gs } from "./chunk/DXMtLuTP.js";
|
|
165
|
+
import { default as ys } from "./Popconfirm.js";
|
|
166
|
+
import { default as Ms } from "./Popover.js";
|
|
167
|
+
import { default as hs } from "./Portal.js";
|
|
168
|
+
import { default as Ls } from "./Progress.js";
|
|
169
|
+
import { default as ks } from "./ColorPicker.js";
|
|
170
|
+
import { default as Ds } from "./Loading.js";
|
|
171
|
+
import { R as As } from "./chunk/CkIWpIl6.js";
|
|
172
|
+
import { default as Fs } from "./Rate.js";
|
|
173
|
+
import { default as Ws } from "./ResizeBox.js";
|
|
174
|
+
import { default as Hs } from "./Result.js";
|
|
175
|
+
import { S as Os } from "./chunk/DCe3olyi.js";
|
|
176
|
+
import { default as Ks } from "./Skeleton.js";
|
|
177
|
+
import { default as js } from "./Slider.js";
|
|
178
|
+
import { default as Zs } from "./Space.js";
|
|
179
|
+
import { default as Js } from "./SpeechSynthesis.js";
|
|
180
|
+
import { default as Ys } from "./Spin.js";
|
|
181
|
+
import { default as $s } from "./Statistic.js";
|
|
182
|
+
import { default as of } from "./Steps.js";
|
|
184
183
|
/* empty css */
|
|
185
|
-
import { S as
|
|
186
|
-
import { default as
|
|
187
|
-
import { default as
|
|
188
|
-
import { T as
|
|
189
|
-
import { default as
|
|
190
|
-
import { default as
|
|
191
|
-
import { T as
|
|
192
|
-
import { default as
|
|
193
|
-
import { default as
|
|
194
|
-
import { T as
|
|
195
|
-
import { T as
|
|
196
|
-
import { default as
|
|
197
|
-
import { default as
|
|
198
|
-
import { U as
|
|
199
|
-
import { V as
|
|
200
|
-
import { version as
|
|
201
|
-
import { W as
|
|
184
|
+
import { S as rf } from "./chunk/BA79xaFV.js";
|
|
185
|
+
import { default as sf } from "./Switch.js";
|
|
186
|
+
import { default as uf } from "./Table.js";
|
|
187
|
+
import { T as lf } from "./chunk/CfqAfcA3.js";
|
|
188
|
+
import { default as df } from "./Tag.js";
|
|
189
|
+
import { default as nf } from "./TimePicker.js";
|
|
190
|
+
import { T as Sf } from "./chunk/DfvdYCUz.js";
|
|
191
|
+
import { default as Tf } from "./Tooltip.js";
|
|
192
|
+
import { default as vf } from "./Transfer.js";
|
|
193
|
+
import { T as Pf } from "./chunk/n58kSv9T.js";
|
|
194
|
+
import { T as If } from "./chunk/CQvJK4kb.js";
|
|
195
|
+
import { default as bf } from "./Trigger.js";
|
|
196
|
+
import { default as Rf } from "./Typography.js";
|
|
197
|
+
import { U as wf } from "./chunk/m3_n9fBe.js";
|
|
198
|
+
import { V as Ef } from "./chunk/B9nYZhXo.js";
|
|
199
|
+
import { version as Vf } from "./Version.js";
|
|
200
|
+
import { W as Uf } from "./chunk/BHWpeAbb.js";
|
|
202
201
|
export {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
v as
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
te as
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
ve as
|
|
320
|
-
|
|
321
|
-
Ie as
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
to as
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
yo as
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
Zo as
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
202
|
+
jr as Affix,
|
|
203
|
+
Zr as Alert,
|
|
204
|
+
Jr as Anchor,
|
|
205
|
+
Yr as AutoComplete,
|
|
206
|
+
$r as Avatar,
|
|
207
|
+
oa as BackTop,
|
|
208
|
+
ra as Badge,
|
|
209
|
+
sa as Breadcrumb,
|
|
210
|
+
ua as Button,
|
|
211
|
+
u as CSSTransition,
|
|
212
|
+
la as Calendar,
|
|
213
|
+
da as Card,
|
|
214
|
+
ia as Carousel,
|
|
215
|
+
ca as Cascader,
|
|
216
|
+
Ca as Checkbox,
|
|
217
|
+
Za as Col,
|
|
218
|
+
ga as Collapse,
|
|
219
|
+
ks as ColorPicker,
|
|
220
|
+
ya as Comment,
|
|
221
|
+
Ma as ConfigConsumer,
|
|
222
|
+
Ia as ConfigContext,
|
|
223
|
+
ha as ConfigProvider,
|
|
224
|
+
Da as Copy,
|
|
225
|
+
Aa as DatePicker,
|
|
226
|
+
Fa as Descriptions,
|
|
227
|
+
Wa as Divider,
|
|
228
|
+
Ha as Drawer,
|
|
229
|
+
Oa as Dropdown,
|
|
230
|
+
ba as Empty,
|
|
231
|
+
Ka as Form,
|
|
232
|
+
ja as Grid,
|
|
233
|
+
Xa as Icon,
|
|
234
|
+
La as IconHover,
|
|
235
|
+
_a as Image,
|
|
236
|
+
es as Input,
|
|
237
|
+
os as InputNumber,
|
|
238
|
+
rs as InputTag,
|
|
239
|
+
ss as Layout,
|
|
240
|
+
us as Link,
|
|
241
|
+
ls as List,
|
|
242
|
+
Ds as Loading,
|
|
243
|
+
ds as Mentions,
|
|
244
|
+
is as Menu,
|
|
245
|
+
Ra as Message,
|
|
246
|
+
cs as Modal,
|
|
247
|
+
ka as Notification,
|
|
248
|
+
Cs as PageHeader,
|
|
249
|
+
gs as Pagination,
|
|
250
|
+
ys as Popconfirm,
|
|
251
|
+
Ms as Popover,
|
|
252
|
+
hs as Portal,
|
|
253
|
+
Ls as Progress,
|
|
254
|
+
As as Radio,
|
|
255
|
+
Fs as Rate,
|
|
256
|
+
Ws as ResizeBox,
|
|
257
|
+
Hs as Result,
|
|
258
|
+
qa as Row,
|
|
259
|
+
Os as Select,
|
|
260
|
+
Ks as Skeleton,
|
|
261
|
+
js as Slider,
|
|
262
|
+
Zs as Space,
|
|
263
|
+
Js as SpeechSynthesis,
|
|
264
|
+
Ys as Spin,
|
|
265
|
+
$s as Statistic,
|
|
266
|
+
of as Steps,
|
|
267
|
+
rf as SuspenseFallbackTest,
|
|
268
|
+
sf as Switch,
|
|
269
|
+
p as SwitchTransition,
|
|
270
|
+
uf as Table,
|
|
271
|
+
lf as Tabs,
|
|
272
|
+
df as Tag,
|
|
273
|
+
nf as TimePicker,
|
|
274
|
+
Sf as Timeline,
|
|
275
|
+
Tf as Tooltip,
|
|
276
|
+
vf as Transfer,
|
|
277
|
+
l as Transition,
|
|
278
|
+
m as TransitionGroup,
|
|
279
|
+
Pf as Tree,
|
|
280
|
+
If as TreeSelect,
|
|
281
|
+
bf as Trigger,
|
|
282
|
+
Rf as Typography,
|
|
283
|
+
wf as Upload,
|
|
284
|
+
Ef as VerificationCode,
|
|
285
|
+
Vf as Version,
|
|
286
|
+
Uf as Watermark,
|
|
287
|
+
Kr as className,
|
|
288
|
+
a as computeScrollIntoView,
|
|
289
|
+
s as scrollIntoViewIfNeeded,
|
|
290
|
+
S as useAsync,
|
|
291
|
+
T as useAsyncFn,
|
|
292
|
+
v as useAsyncRetry,
|
|
293
|
+
P as useAudio,
|
|
294
|
+
I as useBeforeUnload,
|
|
295
|
+
b as useBoolean,
|
|
296
|
+
k as useClickAway,
|
|
297
|
+
D as useComputedState,
|
|
298
|
+
A as useCopyToClipboard,
|
|
299
|
+
F as useCounter,
|
|
300
|
+
B as useCreation,
|
|
301
|
+
N as useCustomCompareEffect,
|
|
302
|
+
G as useDebounce,
|
|
303
|
+
z as useDefault,
|
|
304
|
+
Q as useDrop,
|
|
305
|
+
q as useDropArea,
|
|
306
|
+
X as useEffectOnce,
|
|
307
|
+
_ as useEffectState,
|
|
308
|
+
ee as useEnsuredForwardedRef,
|
|
309
|
+
te as useError,
|
|
310
|
+
ae as useEvent,
|
|
311
|
+
fe as useEventListener,
|
|
312
|
+
pe as useFavicon,
|
|
313
|
+
me as useFirstMountState,
|
|
314
|
+
xe as useForceUpdate,
|
|
315
|
+
ne as useFullscreen,
|
|
316
|
+
Se as useGeolocation,
|
|
317
|
+
Te as useGetSet,
|
|
318
|
+
ve as useGetSetState,
|
|
319
|
+
Pe as useHash,
|
|
320
|
+
Ie as useHover,
|
|
321
|
+
be as useHoverDirty,
|
|
322
|
+
Re as useId,
|
|
323
|
+
we as useIdle,
|
|
324
|
+
Ee as useInView,
|
|
325
|
+
Ve as useIntersection,
|
|
326
|
+
Ue as useIntersectionObserver,
|
|
327
|
+
Be as useInterval,
|
|
328
|
+
Ne as useIsFirstRender,
|
|
329
|
+
Ge as useIsomorphicLayoutEffect,
|
|
330
|
+
ze as useKey,
|
|
331
|
+
Qe as useKeyPress,
|
|
332
|
+
qe as useKeyPressEvent,
|
|
333
|
+
Xe as useKeyboardEvent,
|
|
334
|
+
_e as useLatest,
|
|
335
|
+
eo as useLifecycles,
|
|
336
|
+
to as useList,
|
|
337
|
+
ao as useLocalStorage,
|
|
338
|
+
fo as useLocation,
|
|
339
|
+
po as useLockBodyScroll,
|
|
340
|
+
mo as useLogger,
|
|
341
|
+
io as useLongPress,
|
|
342
|
+
co as useMap,
|
|
343
|
+
Co as useMeasure,
|
|
344
|
+
go as useMeasureDirty,
|
|
345
|
+
yo as useMedia,
|
|
346
|
+
Mo as useMediaDevices,
|
|
347
|
+
ho as useMediatedState,
|
|
348
|
+
Lo as useMergeProps,
|
|
349
|
+
ko as useMergeValue,
|
|
350
|
+
Do as useMethods,
|
|
351
|
+
Ao as useMotion,
|
|
352
|
+
Fo as useMount,
|
|
353
|
+
Wo as useMountedState,
|
|
354
|
+
Ho as useMouse,
|
|
355
|
+
Oo as useMouseHovered,
|
|
356
|
+
Ko as useMouseWheel,
|
|
357
|
+
jo as useMultiStateValidator,
|
|
358
|
+
Zo as useNetworkState,
|
|
359
|
+
U as useNumber,
|
|
360
|
+
Jo as useObservable,
|
|
361
|
+
Yo as useOrientation,
|
|
362
|
+
$o as useOverflowHidden,
|
|
363
|
+
ot as useOverrideRef,
|
|
364
|
+
rt as usePageLeave,
|
|
365
|
+
st as usePermission,
|
|
366
|
+
ut as usePersistCallback,
|
|
367
|
+
lt as usePinchZoom,
|
|
368
|
+
dt as usePrevious,
|
|
369
|
+
it as usePreviousDistinct,
|
|
370
|
+
ct as usePromise,
|
|
371
|
+
Ct as useQueue,
|
|
372
|
+
gt as useRaf,
|
|
373
|
+
yt as useRafLoop,
|
|
374
|
+
Mt as useRafState,
|
|
375
|
+
ht as useReactive,
|
|
376
|
+
Lt as useRefs,
|
|
377
|
+
kt as useRendersCount,
|
|
378
|
+
Dt as useScroll,
|
|
379
|
+
At as useScrolling,
|
|
380
|
+
Ft as useSearchParam,
|
|
381
|
+
Wt as useSessionStorage,
|
|
382
|
+
Ht as useSet,
|
|
383
|
+
Ot as useSetState,
|
|
384
|
+
Kt as useSize,
|
|
385
|
+
jt as useSlider,
|
|
386
|
+
Zt as useSpeech,
|
|
387
|
+
Jt as useStartTyping,
|
|
388
|
+
Yt as useStateCallback,
|
|
389
|
+
$t as useStateList,
|
|
390
|
+
or as useStateValidator,
|
|
391
|
+
rr as useStateWithHistory,
|
|
392
|
+
sr as useStateWithPromise,
|
|
393
|
+
ur as useSyncState,
|
|
394
|
+
lr as useThrottle,
|
|
395
|
+
dr as useThrottleFn,
|
|
396
|
+
ir as useTimeout,
|
|
397
|
+
cr as useTimeoutFn,
|
|
398
|
+
Cr as useTitle,
|
|
399
|
+
L as useToggle,
|
|
400
|
+
gr as useTween,
|
|
401
|
+
yr as useUnmount,
|
|
402
|
+
Mr as useUnmountPromise,
|
|
403
|
+
hr as useUpdate,
|
|
404
|
+
Lr as useUpdateEffect,
|
|
405
|
+
kr as useUpdateTimeout,
|
|
406
|
+
Dr as useUpsert,
|
|
407
|
+
x as useVerificationCode,
|
|
408
|
+
Ar as useVibrate,
|
|
409
|
+
Fr as useVideo,
|
|
410
|
+
Wr as useWatch,
|
|
411
|
+
n as useWatermark,
|
|
412
|
+
Hr as useWindowScroll,
|
|
413
|
+
Or as useWindowSize
|
|
412
414
|
};
|
package/package.json
CHANGED
package/types/pc/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
export { default as computeScrollIntoView } from "@unicom-cloud/compute-scroll-into-view";
|
|
2
|
+
export { default as scrollIntoViewIfNeeded } from "@unicom-cloud/scroll-into-view-if-needed";
|
|
1
3
|
export * from "./hooks";
|
|
2
|
-
export * as is from "@unicom-cloud/utils/is";
|
|
3
|
-
export * as screenfull from "@unicom-cloud/utils/screenfull";
|
|
4
|
-
export * as uiColor from "@unicom-cloud/utils/ui-color";
|
|
5
4
|
export { default as className } from "./utils/className";
|
|
6
5
|
export { default as Affix } from "./affix";
|
|
7
6
|
export { default as Alert } from "./alert";
|
|
@@ -81,4 +80,5 @@ export { default as Upload } from "./upload";
|
|
|
81
80
|
export { default as VerificationCode } from "./verification-code";
|
|
82
81
|
export { default as Version } from "./version";
|
|
83
82
|
export { default as Watermark } from "./watermark";
|
|
83
|
+
export { CSSTransition, SwitchTransition, Transition, TransitionGroup } from "@unicom-cloud/react-transition-group";
|
|
84
84
|
export { ConfigConsumer, ConfigContext, default as ConfigProvider } from "./config-provider";
|