@unicom-cloud/ui 0.8.42 → 0.8.44
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/Affix.js +2 -2
- package/Alert.js +2 -2
- package/Anchor.js +2 -2
- package/AutoComplete.js +6 -6
- package/Avatar.js +2 -2
- package/BackTop.js +2 -2
- package/Badge.js +2 -2
- package/Breadcrumb.js +4 -4
- package/Button.js +2 -2
- package/Calendar.js +6 -6
- package/Card.js +2 -2
- package/Carousel.js +2 -2
- package/Cascader.js +5 -5
- package/Checkbox.js +2 -2
- package/Collapse.js +2 -2
- package/ColorPicker.js +6 -6
- package/Comment.js +2 -2
- package/ConfigProvider.js +3 -3
- package/Copy.js +2 -2
- package/DatePicker.js +4 -4
- package/Descriptions.js +2 -2
- package/Divider.js +2 -2
- package/Draggable.js +2 -2
- package/Drawer.js +2 -2
- package/Dropdown.js +2 -2
- package/Empty.js +2 -2
- package/Form.js +4 -4
- package/Grid.js +5 -3
- package/Icon.js +2 -2
- package/IconHover.js +2 -2
- package/Image.js +3 -3
- package/Input.js +2 -2
- package/InputNumber.js +3 -3
- package/InputTag.js +2 -2
- package/Layout.js +3 -3
- package/Link.js +2 -2
- package/List.js +7 -7
- package/Loading.js +1 -1
- package/Mentions.js +7 -7
- package/Menu.js +2 -2
- package/Message.js +2 -2
- package/Modal.js +2 -2
- package/Notice.js +2 -2
- package/Notification.js +2 -2
- package/NotificationBase.js +1 -1
- package/OverflowEllipsis.js +2 -2
- package/PageHeader.js +3 -3
- package/Pagination.js +6 -6
- package/Picker.js +2 -2
- package/Popconfirm.js +2 -2
- package/Popover.js +2 -2
- package/Progress.js +2 -2
- package/Radio.js +3 -3
- package/Rate.js +2 -2
- package/ResizeBox.js +2 -2
- package/Result.js +2 -2
- package/Select.js +5 -5
- package/SelectView.js +4 -4
- package/Skeleton.js +2 -2
- package/Slider.js +3 -3
- package/Space.js +2 -2
- package/Spin.js +2 -2
- package/Statistic.js +2 -2
- package/Steps.js +2 -2
- package/SuspenseFallbackTest.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +7 -7
- package/Tabs.js +3 -3
- package/Tag.js +2 -2
- package/TimePicker.js +4 -4
- package/Timeline.js +2 -2
- package/Tooltip.js +2 -2
- package/Transfer.js +8 -8
- package/Tree.js +3 -3
- package/TreeSelect.js +5 -5
- package/Trigger.js +2 -2
- package/Typography.js +25 -24
- package/Upload.js +3 -3
- package/VerificationCode.js +2 -2
- package/VirtualList.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{CEMQTMlX.js → B1P8u7kB.js} +2 -2
- package/chunk/{B-h-HjBo.js → B2ufZjjd.js} +3 -3
- package/chunk/{GfGTdWbJ.js → B7QOJqps.js} +2 -2
- package/chunk/{cRoKuTbN.js → B9asjXwm.js} +2 -2
- package/chunk/{BGGDhLVD.js → BBz3S3zo.js} +3 -3
- package/chunk/{CA-kzjHQ.js → BCEX3Acw.js} +2 -2
- package/chunk/{vpaTr5dz.js → BNRfcEHj.js} +3 -3
- package/chunk/{Bl5t8Z6F.js → BSs6uXmc.js} +5 -5
- package/chunk/{CuIVS4do.js → BTjUAV8T.js} +2 -2
- package/chunk/{DF-4xm4m.js → BYQeEcKe.js} +3 -3
- package/chunk/{CICfjLap.js → Ba4UXIST.js} +16 -16
- package/chunk/{Cpp8T23i.js → BfaXVcik.js} +1 -1
- package/chunk/{DdK6eiNS.js → Bs11tCU6.js} +2 -2
- package/chunk/{CwewmGEF.js → C7FC7dzS.js} +4 -4
- package/chunk/{CUK6MU72.js → CLzbve11.js} +4 -4
- package/chunk/{DQ_eXwj8.js → CN4zXU4b.js} +4 -4
- package/chunk/{BdWYJb9B.js → CYTPZUHD.js} +3 -3
- package/chunk/{ehTyphn0.js → CcCo_dK0.js} +2 -2
- package/chunk/{CwIyJM0N.js → CoCXcpQd.js} +2 -2
- package/chunk/{kAbgUN-k.js → D4yH4UKK.js} +3 -3
- package/chunk/{DhodcKwW.js → DiSLYN2-.js} +2 -2
- package/chunk/{Dc_89PVN.js → Dr0iXIXO.js} +1 -1
- package/chunk/{BTvIp2Ol.js → G3-2uJao.js} +3 -3
- package/chunk/{Da4Rq2D4.js → Z-mtdHUQ.js} +2 -2
- package/chunk/{DYwvc9zo.js → ZISxNnaR.js} +2 -2
- package/chunk/{Kt5-772l.js → aPJXnDSb.js} +7 -7
- package/chunk/{BVC51EZ7.js → i605JRmI.js} +2 -2
- package/index.js +130 -127
- package/locale/de-DE.js +1 -1
- package/package.json +1 -1
- package/types/grid/index.d.ts +1 -0
- package/types/index.d.ts +2 -0
- package/types/input-tag/interface.d.ts +1 -1
- package/utils/contextHolder.js +2 -2
- package/utils/dayjs.js +7 -7
- /package/types/{Popover → popover}/index.d.ts +0 -0
- /package/types/{Popover → popover}/interface.d.ts +0 -0
- /package/types/{Popover → popover}/style/index.d.ts +0 -0
|
@@ -5,8 +5,8 @@ import pe from "lodash/isFunction";
|
|
|
5
5
|
import fe, { useContext as he, useRef as O, useState as g, useCallback as Ce, useMemo as xe, useImperativeHandle as ye, useEffect as z } from "react";
|
|
6
6
|
import { findDOMNode as ke } from "react-dom";
|
|
7
7
|
import F from "../Button.js";
|
|
8
|
-
import "./
|
|
9
|
-
import { a as Ne, I as ge, b as B } from "./
|
|
8
|
+
import "./C6Kfwj0f.js";
|
|
9
|
+
import { a as Ne, I as ge, b as B } from "./Dr0iXIXO.js";
|
|
10
10
|
import we from "../hooks/useMergeProps.js";
|
|
11
11
|
import be from "../hooks/useOverflowHidden.js";
|
|
12
12
|
import ve from "../Portal.js";
|
|
@@ -2,8 +2,8 @@ import { jsx as i, jsxs as z, Fragment as O } from "react/jsx-runtime";
|
|
|
2
2
|
import j from "lodash/isFunction";
|
|
3
3
|
import w from "lodash/isNil";
|
|
4
4
|
import B, { createContext as H, useContext as G, useRef as L } from "react";
|
|
5
|
-
import "./
|
|
6
|
-
import { a as A, I as Q } from "./
|
|
5
|
+
import "./C6Kfwj0f.js";
|
|
6
|
+
import { a as A, I as Q } from "./Dr0iXIXO.js";
|
|
7
7
|
import D from "../hooks/useMergeProps.js";
|
|
8
8
|
import F from "../hooks/useMergeValue.js";
|
|
9
9
|
import I from "@unicom-cloud/utils/class-name";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as L, Fragment as Ee } from "react/jsx-runtime";
|
|
2
2
|
import W, { useContext as O, useState as Je, useRef as me, useEffect as te, forwardRef as Oe, createElement as J } from "react";
|
|
3
|
-
import "./
|
|
4
|
-
import { a as A } from "./
|
|
3
|
+
import "./C6Kfwj0f.js";
|
|
4
|
+
import { a as A } from "./Dr0iXIXO.js";
|
|
5
5
|
import Ae from "../hooks/useMergeProps.js";
|
|
6
6
|
import se from "../hooks/useMergeValue.js";
|
|
7
7
|
import q from "@unicom-cloud/utils/class-name";
|
|
@@ -13,14 +13,14 @@ import ge from "../hooks/useKeyboardEvent.js";
|
|
|
13
13
|
import Ue from "lodash/isFunction";
|
|
14
14
|
import Be from "lodash/isPlainObject";
|
|
15
15
|
import le from "lodash/isUndefined";
|
|
16
|
-
import "./
|
|
16
|
+
import "./l0sNRNKZ.js";
|
|
17
17
|
import "./DP2rzg_V.js";
|
|
18
|
-
import { I as Ke } from "./
|
|
19
|
-
import "./
|
|
18
|
+
import { I as Ke } from "./BSs6uXmc.js";
|
|
19
|
+
import "./i605JRmI.js";
|
|
20
20
|
import "../Tag.js";
|
|
21
|
-
import "./
|
|
21
|
+
import "./BYQeEcKe.js";
|
|
22
22
|
import "../Trigger.js";
|
|
23
|
-
import { S as pe } from "./
|
|
23
|
+
import { S as pe } from "./CYTPZUHD.js";
|
|
24
24
|
var E = /* @__PURE__ */ ((e) => (e[e.previous = 0] = "previous", e[e.next = 1] = "next", e))(E || {});
|
|
25
25
|
function Ve(e) {
|
|
26
26
|
var M, t, h;
|
|
@@ -4,8 +4,8 @@ import B from "@unicom-cloud/icons/IconUiMinus";
|
|
|
4
4
|
import I from "lodash/isFunction";
|
|
5
5
|
import J from "lodash/isNil";
|
|
6
6
|
import P, { createContext as K, useState as j, useContext as R, useCallback as F, useMemo as M, useRef as Q, useEffect as X } from "react";
|
|
7
|
-
import "./
|
|
8
|
-
import { a as U, I as Y } from "./
|
|
7
|
+
import "./C6Kfwj0f.js";
|
|
8
|
+
import { a as U, I as Y } from "./Dr0iXIXO.js";
|
|
9
9
|
import Z from "../hooks/useMergeProps.js";
|
|
10
10
|
import z from "../hooks/useMergeValue.js";
|
|
11
11
|
import D from "@unicom-cloud/utils/class-name";
|
package/index.js
CHANGED
|
@@ -8,9 +8,9 @@ import { default as g, default as y } from "./hooks/useToggle.js";
|
|
|
8
8
|
import { default as M } from "./hooks/useClickAway.js";
|
|
9
9
|
import { default as h } from "./hooks/useComputedState.js";
|
|
10
10
|
import { default as b } from "./hooks/useCopyToClipboard.js";
|
|
11
|
-
import { default as
|
|
11
|
+
import { default as R, default as D } from "./hooks/useCounter.js";
|
|
12
12
|
import { default as k } from "./hooks/useCreation.js";
|
|
13
|
-
import { default as
|
|
13
|
+
import { default as A } from "./hooks/useCustomCompareEffect.js";
|
|
14
14
|
import { default as U } from "./hooks/useDebounce.js";
|
|
15
15
|
import { default as B } from "./hooks/useDefault.js";
|
|
16
16
|
import { default as H } from "./hooks/useDrop.js";
|
|
@@ -35,9 +35,9 @@ import { default as Pe } from "./hooks/useId.js";
|
|
|
35
35
|
import { default as ve } from "./hooks/useIdle.js";
|
|
36
36
|
import { default as Le } from "./hooks/useInView.js";
|
|
37
37
|
import { default as Ie } from "./hooks/useIntersection.js";
|
|
38
|
-
import { default as
|
|
38
|
+
import { default as De } from "./hooks/useIntersectionObserver.js";
|
|
39
39
|
import { useInterval as ke } from "./hooks/useInterval.js";
|
|
40
|
-
import { default as
|
|
40
|
+
import { default as Ae } from "./hooks/useIsFirstRender.js";
|
|
41
41
|
import { default as Ue } from "./hooks/useIsomorphicLayoutEffect.js";
|
|
42
42
|
import { default as Be } from "./hooks/useKey.js";
|
|
43
43
|
import { default as He } from "./hooks/useKeyPress.js";
|
|
@@ -61,9 +61,9 @@ import { default as yo } from "./hooks/useMergeProps.js";
|
|
|
61
61
|
import { default as Mo } from "./hooks/useMergeValue.js";
|
|
62
62
|
import { default as ho } from "./hooks/useMethods.js";
|
|
63
63
|
import { default as bo } from "./hooks/useMotion.js";
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
64
|
+
import { default as Ro } from "./hooks/useMount.js";
|
|
65
|
+
import { default as Eo } from "./hooks/useMountedState.js";
|
|
66
|
+
import { default as wo } from "./hooks/useMouse.js";
|
|
67
67
|
import { default as Fo } from "./hooks/useMouseHovered.js";
|
|
68
68
|
import { default as Vo } from "./hooks/useMouseWheel.js";
|
|
69
69
|
import { useMultiStateValidator as Wo } from "./hooks/useMultiStateValidator.js";
|
|
@@ -88,9 +88,9 @@ import { default as yt } from "./hooks/useScroll.js";
|
|
|
88
88
|
import { default as Mt } from "./hooks/useScrolling.js";
|
|
89
89
|
import { default as ht } from "./hooks/useSearchParam.js";
|
|
90
90
|
import { default as bt } from "./hooks/useSessionStorage.js";
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
91
|
+
import { default as Rt } from "./hooks/useSet.js";
|
|
92
|
+
import { default as Et } from "./hooks/useSetState.js";
|
|
93
|
+
import { default as wt } from "./hooks/useSize.js";
|
|
94
94
|
import { default as Ft } from "./hooks/useSlider.js";
|
|
95
95
|
import { default as Vt } from "./hooks/useSpeech.js";
|
|
96
96
|
import { default as Wt } from "./hooks/useStartTyping.js";
|
|
@@ -115,14 +115,14 @@ import { default as yr } from "./hooks/useUpsert.js";
|
|
|
115
115
|
import { default as Mr } from "./hooks/useVibrate.js";
|
|
116
116
|
import { default as hr } from "./hooks/useVideo.js";
|
|
117
117
|
import { default as br } from "./hooks/useWatch.js";
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
118
|
+
import { default as Rr } from "./hooks/useWindowScroll.js";
|
|
119
|
+
import { default as Er } from "./hooks/useWindowSize.js";
|
|
120
|
+
import { default as wr } from "@unicom-cloud/utils/class-name";
|
|
121
121
|
import { default as Fr } from "./Affix.js";
|
|
122
122
|
import { default as Vr } from "./Alert.js";
|
|
123
|
-
import "./chunk/
|
|
123
|
+
import "./chunk/C6Kfwj0f.js";
|
|
124
124
|
import "./chunk/K6Dvbx-E.js";
|
|
125
|
-
import { A as Wr } from "./chunk/
|
|
125
|
+
import { A as Wr } from "./chunk/BTjUAV8T.js";
|
|
126
126
|
import { default as Nr } from "./AutoComplete.js";
|
|
127
127
|
import { default as Gr } from "./Avatar.js";
|
|
128
128
|
import { default as zr } from "./BackTop.js";
|
|
@@ -132,68 +132,69 @@ import { default as Xr } from "./Button.js";
|
|
|
132
132
|
import { default as _r } from "./Calendar.js";
|
|
133
133
|
import { default as ea } from "./Card.js";
|
|
134
134
|
import { default as ta } from "./Carousel.js";
|
|
135
|
-
import { C as aa } from "./chunk/
|
|
136
|
-
import { C as fa, a as ua, b as pa, E as ma, M as la, N as da } from "./chunk/
|
|
135
|
+
import { C as aa } from "./chunk/i605JRmI.js";
|
|
136
|
+
import { C as fa, a as ua, b as pa, E as ma, M as la, N as da } from "./chunk/Dr0iXIXO.js";
|
|
137
137
|
import { default as ia } from "./Tag.js";
|
|
138
|
-
import { I as ca } from "./chunk/
|
|
138
|
+
import { I as ca } from "./chunk/BYQeEcKe.js";
|
|
139
139
|
import { default as Ca } from "./Trigger.js";
|
|
140
|
-
import { C as ga } from "./chunk/
|
|
141
|
-
import { C as Pa } from "./chunk/
|
|
140
|
+
import { C as ga } from "./chunk/B2ufZjjd.js";
|
|
141
|
+
import { C as Pa } from "./chunk/Bs11tCU6.js";
|
|
142
142
|
import { default as va } from "./Comment.js";
|
|
143
143
|
import { default as La } from "./Copy.js";
|
|
144
144
|
import { default as Ia } from "./DatePicker.js";
|
|
145
|
-
import { default as
|
|
145
|
+
import { default as Da } from "./Descriptions.js";
|
|
146
146
|
import { default as ka } from "./Divider.js";
|
|
147
|
-
import "./chunk/
|
|
148
|
-
import { D as
|
|
147
|
+
import "./chunk/l0sNRNKZ.js";
|
|
148
|
+
import { D as Aa } from "./chunk/Z-mtdHUQ.js";
|
|
149
149
|
import { default as Ua } from "./Dropdown.js";
|
|
150
150
|
import { default as Ba } from "./Form.js";
|
|
151
151
|
import { default as Ha } from "./Grid.js";
|
|
152
|
-
import {
|
|
153
|
-
import "./
|
|
154
|
-
import
|
|
152
|
+
import { C as Oa, R as Ga } from "./chunk/DiSLYN2-.js";
|
|
153
|
+
import { default as za } from "./Icon.js";
|
|
154
|
+
import "./chunk/B1P8u7kB.js";
|
|
155
|
+
import { I as Za } from "./chunk/G3-2uJao.js";
|
|
155
156
|
import "./chunk/DP2rzg_V.js";
|
|
156
|
-
import { I as
|
|
157
|
-
import { default as
|
|
158
|
-
import { default as
|
|
159
|
-
import { default as
|
|
160
|
-
import { default as
|
|
161
|
-
import { default as
|
|
162
|
-
import { M as
|
|
163
|
-
import { E as
|
|
164
|
-
import { default as
|
|
165
|
-
import { S as
|
|
166
|
-
import { P as
|
|
167
|
-
import { default as
|
|
168
|
-
import { default as
|
|
169
|
-
import { default as
|
|
170
|
-
import { default as
|
|
171
|
-
import { default as
|
|
172
|
-
import { default as
|
|
173
|
-
import { R as
|
|
174
|
-
import { default as
|
|
175
|
-
import { default as
|
|
176
|
-
import { default as
|
|
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
|
|
184
|
-
import { default as
|
|
185
|
-
import { default as
|
|
186
|
-
import { default as
|
|
187
|
-
import { T as
|
|
188
|
-
import { default as
|
|
189
|
-
import { T as
|
|
190
|
-
import { default as
|
|
191
|
-
import { T as
|
|
192
|
-
import { T as
|
|
193
|
-
import { U as
|
|
194
|
-
import { V as
|
|
195
|
-
import { version as
|
|
196
|
-
import { W as
|
|
157
|
+
import { I as qa, a as Ja } from "./chunk/BSs6uXmc.js";
|
|
158
|
+
import { default as Ya } from "./Layout.js";
|
|
159
|
+
import { default as $a } from "./Link.js";
|
|
160
|
+
import { default as os } from "./List.js";
|
|
161
|
+
import { default as rs } from "./Mentions.js";
|
|
162
|
+
import { default as ss } from "./Tooltip.js";
|
|
163
|
+
import { M as us } from "./chunk/CLzbve11.js";
|
|
164
|
+
import { E as ms } from "./chunk/Ba4UXIST.js";
|
|
165
|
+
import { default as ds } from "./PageHeader.js";
|
|
166
|
+
import { S as is } from "./chunk/CYTPZUHD.js";
|
|
167
|
+
import { P as cs } from "./chunk/aPJXnDSb.js";
|
|
168
|
+
import { default as Cs } from "./Popconfirm.js";
|
|
169
|
+
import { default as gs } from "./Popover.js";
|
|
170
|
+
import { default as Ps } from "./Portal.js";
|
|
171
|
+
import { default as vs } from "./Progress.js";
|
|
172
|
+
import { default as Ls } from "./ColorPicker.js";
|
|
173
|
+
import { default as Is } from "./Loading.js";
|
|
174
|
+
import { R as Ds } from "./chunk/ZISxNnaR.js";
|
|
175
|
+
import { default as ks } from "./Rate.js";
|
|
176
|
+
import { default as As } from "./ResizeBox.js";
|
|
177
|
+
import { default as Us } from "./Result.js";
|
|
178
|
+
import { default as Bs } from "./Skeleton.js";
|
|
179
|
+
import { default as Hs } from "./Slider.js";
|
|
180
|
+
import { default as Os } from "./Space.js";
|
|
181
|
+
import { default as Ks } from "./SpeechSynthesis.js";
|
|
182
|
+
import { default as Qs } from "./Spin.js";
|
|
183
|
+
import { default as js } from "./Statistic.js";
|
|
184
|
+
import { default as Js } from "./Steps.js";
|
|
185
|
+
import { default as Ys } from "./SuspenseFallbackTest.js";
|
|
186
|
+
import { default as $s } from "./Switch.js";
|
|
187
|
+
import { default as of } from "./Table.js";
|
|
188
|
+
import { T as rf } from "./chunk/CN4zXU4b.js";
|
|
189
|
+
import { default as sf } from "./TimePicker.js";
|
|
190
|
+
import { T as uf } from "./chunk/B7QOJqps.js";
|
|
191
|
+
import { default as mf } from "./Transfer.js";
|
|
192
|
+
import { T as df } from "./chunk/BNRfcEHj.js";
|
|
193
|
+
import { T as nf } from "./chunk/C7FC7dzS.js";
|
|
194
|
+
import { U as Sf } from "./chunk/BBz3S3zo.js";
|
|
195
|
+
import { V as Tf } from "./chunk/D4yH4UKK.js";
|
|
196
|
+
import { version as yf } from "./Version.js";
|
|
197
|
+
import { W as Mf } from "./chunk/BCEX3Acw.js";
|
|
197
198
|
export {
|
|
198
199
|
Fr as Affix,
|
|
199
200
|
Vr as Alert,
|
|
@@ -209,71 +210,73 @@ export {
|
|
|
209
210
|
ta as Carousel,
|
|
210
211
|
ga as Cascader,
|
|
211
212
|
aa as Checkbox,
|
|
213
|
+
Oa as Col,
|
|
212
214
|
Pa as Collapse,
|
|
213
|
-
|
|
215
|
+
Ls as ColorPicker,
|
|
214
216
|
va as Comment,
|
|
215
217
|
fa as ConfigConsumer,
|
|
216
218
|
ua as ConfigContext,
|
|
217
219
|
pa as ConfigProvider,
|
|
218
220
|
La as Copy,
|
|
219
221
|
Ia as DatePicker,
|
|
220
|
-
|
|
222
|
+
Da as Descriptions,
|
|
221
223
|
ka as Divider,
|
|
222
|
-
|
|
224
|
+
Aa as Drawer,
|
|
223
225
|
Ua as Dropdown,
|
|
224
226
|
ma as Empty,
|
|
225
227
|
Ba as Form,
|
|
226
228
|
Ha as Grid,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
za as Icon,
|
|
230
|
+
Za as Image,
|
|
231
|
+
qa as Input,
|
|
232
|
+
Ja as InputNumber,
|
|
231
233
|
ca as InputTag,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
234
|
+
Ya as Layout,
|
|
235
|
+
$a as Link,
|
|
236
|
+
os as List,
|
|
237
|
+
Is as Loading,
|
|
238
|
+
rs as Mentions,
|
|
239
|
+
us as Menu,
|
|
238
240
|
la as Message,
|
|
239
|
-
|
|
241
|
+
ms as Modal,
|
|
240
242
|
da as Notification,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
243
|
+
ds as PageHeader,
|
|
244
|
+
cs as Pagination,
|
|
245
|
+
Cs as Popconfirm,
|
|
246
|
+
gs as Popover,
|
|
247
|
+
Ps as Portal,
|
|
248
|
+
vs as Progress,
|
|
249
|
+
Ds as Radio,
|
|
250
|
+
ks as Rate,
|
|
251
|
+
As as ResizeBox,
|
|
252
|
+
Us as Result,
|
|
253
|
+
Ga as Row,
|
|
254
|
+
is as Select,
|
|
255
|
+
Bs as Skeleton,
|
|
256
|
+
Hs as Slider,
|
|
257
|
+
Os as Space,
|
|
258
|
+
Ks as SpeechSynthesis,
|
|
259
|
+
Qs as Spin,
|
|
260
|
+
js as Statistic,
|
|
261
|
+
Js as Steps,
|
|
262
|
+
Ys as SuspenseFallbackTest,
|
|
263
|
+
$s as Switch,
|
|
264
|
+
of as Table,
|
|
265
|
+
rf as Tabs,
|
|
263
266
|
ia as Tag,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
267
|
+
sf as TimePicker,
|
|
268
|
+
uf as Timeline,
|
|
269
|
+
ss as Tooltip,
|
|
270
|
+
mf as Transfer,
|
|
271
|
+
df as Tree,
|
|
272
|
+
nf as TreeSelect,
|
|
270
273
|
Ca as Trigger,
|
|
271
274
|
u as Typography,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
275
|
+
Sf as Upload,
|
|
276
|
+
Tf as VerificationCode,
|
|
277
|
+
yf as Version,
|
|
278
|
+
Mf as Watermark,
|
|
279
|
+
wr as className,
|
|
277
280
|
m as useAsync,
|
|
278
281
|
d as useAsyncFn,
|
|
279
282
|
i as useAsyncRetry,
|
|
@@ -283,9 +286,9 @@ export {
|
|
|
283
286
|
M as useClickAway,
|
|
284
287
|
h as useComputedState,
|
|
285
288
|
b as useCopyToClipboard,
|
|
286
|
-
|
|
289
|
+
R as useCounter,
|
|
287
290
|
k as useCreation,
|
|
288
|
-
|
|
291
|
+
A as useCustomCompareEffect,
|
|
289
292
|
U as useDebounce,
|
|
290
293
|
B as useDefault,
|
|
291
294
|
H as useDrop,
|
|
@@ -310,9 +313,9 @@ export {
|
|
|
310
313
|
ve as useIdle,
|
|
311
314
|
Le as useInView,
|
|
312
315
|
Ie as useIntersection,
|
|
313
|
-
|
|
316
|
+
De as useIntersectionObserver,
|
|
314
317
|
ke as useInterval,
|
|
315
|
-
|
|
318
|
+
Ae as useIsFirstRender,
|
|
316
319
|
Ue as useIsomorphicLayoutEffect,
|
|
317
320
|
Be as useKey,
|
|
318
321
|
He as useKeyPress,
|
|
@@ -336,14 +339,14 @@ export {
|
|
|
336
339
|
Mo as useMergeValue,
|
|
337
340
|
ho as useMethods,
|
|
338
341
|
bo as useMotion,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
+
Ro as useMount,
|
|
343
|
+
Eo as useMountedState,
|
|
344
|
+
wo as useMouse,
|
|
342
345
|
Fo as useMouseHovered,
|
|
343
346
|
Vo as useMouseWheel,
|
|
344
347
|
Wo as useMultiStateValidator,
|
|
345
348
|
No as useNetworkState,
|
|
346
|
-
|
|
349
|
+
D as useNumber,
|
|
347
350
|
Go as useObservable,
|
|
348
351
|
zo as useOrientation,
|
|
349
352
|
Zo as useOverflowHidden,
|
|
@@ -364,9 +367,9 @@ export {
|
|
|
364
367
|
Mt as useScrolling,
|
|
365
368
|
ht as useSearchParam,
|
|
366
369
|
bt as useSessionStorage,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
+
Rt as useSet,
|
|
371
|
+
Et as useSetState,
|
|
372
|
+
wt as useSize,
|
|
370
373
|
Ft as useSlider,
|
|
371
374
|
Vt as useSpeech,
|
|
372
375
|
Wt as useStartTyping,
|
|
@@ -392,6 +395,6 @@ export {
|
|
|
392
395
|
Mr as useVibrate,
|
|
393
396
|
hr as useVideo,
|
|
394
397
|
br as useWatch,
|
|
395
|
-
|
|
396
|
-
|
|
398
|
+
Rr as useWindowScroll,
|
|
399
|
+
Er as useWindowSize
|
|
397
400
|
};
|
package/locale/de-DE.js
CHANGED
|
@@ -119,7 +119,7 @@ const e = {
|
|
|
119
119
|
okText: "OK",
|
|
120
120
|
resetText: "Zurücksetzen",
|
|
121
121
|
sortAscend: "Klicken zur aufsteigenden Sortierung",
|
|
122
|
-
sortDescend: "Klicken zur absteigenden
|
|
122
|
+
sortDescend: "Klicken zur absteigenden Sortierung",
|
|
123
123
|
cancelSort: "Klicken zum Abbrechen der Sortierung"
|
|
124
124
|
},
|
|
125
125
|
TimePicker: {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui","version":"0.8.
|
|
1
|
+
{"name":"@unicom-cloud/ui","version":"0.8.44","dependencies":{"dayjs":"^1.11.11","lodash":"^4.17.21","react":"^18.2.0","react-dom":"^18.2.0","@unicom-cloud/icons":"latest","@unicom-cloud/utils":"latest","@unicom-cloud/scroll-into-view-if-needed":"latest","@unicom-cloud/react-sticky":"latest","@unicom-cloud/react-sortable-hoc":"latest","@unicom-cloud/react-easy-crop":"latest","@unicom-cloud/compute-scroll-into-view":"latest","@unicom-cloud/react-transition-group":"latest"},"peerDependencies":{},"peerDependenciesMeta":{},"main":"index.js","module":"index.js","type":"module","types":"types/index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
package/types/grid/index.d.ts
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -144,6 +144,8 @@ export { default as Dropdown } from "./dropdown";
|
|
|
144
144
|
export { default as Empty } from "./empty";
|
|
145
145
|
export { default as Form } from "./form";
|
|
146
146
|
export { default as Grid } from "./grid";
|
|
147
|
+
export { default as Col } from "./grid/Col";
|
|
148
|
+
export { default as Row } from "./grid/Row";
|
|
147
149
|
export { default as Icon } from "./icon";
|
|
148
150
|
export { default as Image } from "./image";
|
|
149
151
|
export { default as Input } from "./input";
|
package/utils/contextHolder.js
CHANGED
package/utils/dayjs.js
CHANGED
|
@@ -54,7 +54,7 @@ const a = c, y = {
|
|
|
54
54
|
minute: 4,
|
|
55
55
|
second: 5
|
|
56
56
|
}, T = {}, M = (t, e) => {
|
|
57
|
-
const n = `${t}
|
|
57
|
+
const n = `${t}|short`;
|
|
58
58
|
let o = T[n];
|
|
59
59
|
return o || (o = new Intl.DateTimeFormat("en-US", {
|
|
60
60
|
hour12: !1,
|
|
@@ -103,7 +103,7 @@ function b(t, e) {
|
|
|
103
103
|
e
|
|
104
104
|
)[1];
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function B(t, e) {
|
|
107
107
|
return O(t) && !e ? a() : l(a(), t, e);
|
|
108
108
|
}
|
|
109
109
|
function l(t, e, n, o) {
|
|
@@ -112,10 +112,10 @@ function l(t, e, n, o) {
|
|
|
112
112
|
const s = -t.toDate().getTimezoneOffset(), r = O(e) ? n ? b(t.valueOf(), n) : s : e, i = Math.abs(r) <= 16 ? r * 60 : r, f = o ? s - i : i - s;
|
|
113
113
|
return a(a(t).valueOf() + f * 60 * 1e3);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function G(t, e, n) {
|
|
116
116
|
return l(t, e, n, !0);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Q(t) {
|
|
119
119
|
const e = ["H", "h", "m", "s", "A", "a"];
|
|
120
120
|
let n = "";
|
|
121
121
|
return e.some((o) => t.indexOf(o) !== -1 ? (n = `${o}${t.split(` ${o}`)[1]}`, !0) : !1), n || "HH:mm:ss";
|
|
@@ -160,15 +160,15 @@ function X(t, e, n) {
|
|
|
160
160
|
export {
|
|
161
161
|
a as dayjs,
|
|
162
162
|
_ as getDayjsValue,
|
|
163
|
-
|
|
163
|
+
B as getNow,
|
|
164
164
|
E as getSortedDayjsArray,
|
|
165
|
-
|
|
165
|
+
Q as getTimeFormat,
|
|
166
166
|
q as getValueWithTime,
|
|
167
167
|
K as isDayjsArrayChange,
|
|
168
168
|
J as isDayjsChange,
|
|
169
169
|
X as isValidTimeString,
|
|
170
170
|
y as methods,
|
|
171
171
|
b as timezoneToOffset,
|
|
172
|
-
|
|
172
|
+
G as toLocal,
|
|
173
173
|
l as toTimezone
|
|
174
174
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|