@unicom-cloud/ui 0.8.63 → 0.8.64
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 +1 -1
- package/Alert.js +1 -1
- package/Anchor.js +1 -1
- package/AutoComplete.js +3 -3
- package/Avatar.js +1 -1
- package/BackTop.js +1 -1
- package/Badge.js +1 -1
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +3 -3
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +4 -4
- package/Comment.js +1 -1
- package/ConfigProvider.js +2 -2
- package/Copy.js +1 -1
- package/DatePicker.js +3 -3
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Drawer.js +1 -1
- package/Dropdown.js +26 -25
- package/Empty.js +1 -1
- package/Form.js +1 -1
- package/Grid.js +2 -2
- package/Icon.js +2 -1
- package/IconHover.js +1 -1
- package/Image.js +4 -1
- package/Input.js +11 -2
- package/InputNumber.js +2 -2
- package/InputTag.js +1 -1
- package/Layout.js +24 -20
- package/Link.js +1 -1
- package/List.js +4 -3
- package/Mentions.js +3 -3
- package/Menu.js +7 -2
- package/Message.js +3 -2
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +3 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +4 -2
- package/Rate.js +1 -1
- package/ResizeBox.js +66 -64
- package/Result.js +1 -1
- package/Select.js +4 -1
- package/SelectView.js +3 -3
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +54 -50
- package/Spin.js +1 -1
- package/Statistic.js +28 -27
- package/Steps.js +40 -38
- package/Switch.js +1 -1
- package/Table.js +7 -4
- package/Tabs.js +6 -2
- package/Tag.js +1 -1
- package/TimePicker.js +37 -36
- package/Timeline.js +4 -2
- package/Tooltip.js +1 -1
- package/Transfer.js +3 -3
- package/Tree.js +1 -1
- package/TreeSelect.js +3 -1
- package/Trigger.js +1 -1
- package/Typography.js +6 -2
- package/Upload.js +5 -4
- package/VerificationCode.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{DDDuw0Zi.js → -IELMT_x.js} +1 -1
- package/chunk/{C5S_amaH.js → B5GDq8NJ.js} +7 -5
- package/chunk/{DbLgopUR.js → B68hRpYG.js} +1 -1
- package/chunk/{BLLKKgZJ.js → BCxoi4Kf.js} +22 -20
- package/chunk/{B5gIo-hD.js → BHnRi7Xh.js} +3 -3
- package/chunk/{CfZWOhnc.js → BJSjbYSN.js} +1 -1
- package/chunk/{CfTcP6nF.js → BSBJlVZH.js} +2 -2
- package/chunk/{rlfmXePI.js → BfHNSLva.js} +2 -2
- package/chunk/{JpKOcIfl.js → BtIG250j.js} +6 -3
- package/chunk/{DXZ8-ha7.js → BwSpYGK-.js} +1 -1
- package/chunk/{Dpzgtdt-.js → CA69nxbj.js} +1 -1
- package/chunk/{BoDdbbF_.js → CAhODOfT.js} +3 -2
- package/chunk/{DbPYtS7-.js → CAiaqaWc.js} +1 -1
- package/chunk/{CvlD3aiv.js → CBgwLBAC.js} +40 -38
- package/chunk/{aqSmxUbY.js → CTF5o0OX.js} +1 -1
- package/chunk/{BEB_A9eY.js → CYQ1EE4h.js} +1 -1
- package/chunk/{C6Zb_-OE.js → CZfGDXaB.js} +1 -1
- package/chunk/{BcwdVUDs.js → CtUTlwlQ.js} +1 -1
- package/chunk/{QFkhCtUr.js → CxpFYX4B.js} +2 -2
- package/chunk/{BnLshM9R.js → D-oHJail.js} +58 -54
- package/chunk/{Bn2-vqTg.js → D01b7bWX.js} +50 -45
- package/chunk/{CD7dGcUa.js → DPJEIBKZ.js} +2 -2
- package/chunk/{Dk6hL04k.js → DQ561AmR.js} +2 -2
- package/chunk/{B9w_puFP.js → QlYCEvCX.js} +1 -1
- package/chunk/{D3dcFbex.js → Yvz-hPQB.js} +2 -2
- package/chunk/{Co3idurS.js → _m8hLSsx.js} +4 -2
- package/chunk/{CZ1wrD_H.js → oR9TkA35.js} +1 -1
- package/chunk/{CAxIyiy6.js → pq-36BDW.js} +5 -3
- package/chunk/{CgDayZDE.js → tW_FgNSv.js} +1 -1
- package/index.js +536 -486
- package/package.json +1 -1
- package/types/calendar/hook/useCellClassName.d.ts +2 -1
- package/types/checkbox/IconCheck.d.ts +2 -1
- package/types/date-picker/hook/useCellClassName.d.ts +2 -1
- package/types/date-picker/panel/Footer.d.ts +2 -1
- package/types/dropdown/index.d.ts +1 -0
- package/types/form/IconSymbol.d.ts +2 -1
- package/types/form/useForm.d.ts +2 -1
- package/types/icon/addFromIconFontCn.d.ts +2 -1
- package/types/icon/index.d.ts +2 -0
- package/types/image/Image.d.ts +1 -0
- package/types/image/index.d.ts +2 -1
- package/types/image/util/getFixTranslate.d.ts +2 -1
- package/types/image/util/hook/useImageStatus.d.ts +2 -2
- package/types/image/util/hook/useShowFooter.d.ts +2 -2
- package/types/index.d.ts +23 -23
- package/types/input/Input.d.ts +1 -0
- package/types/input/index.d.ts +1 -0
- package/types/input/useComposition.d.ts +2 -1
- package/types/input-number/useSelectionRange.d.ts +2 -1
- package/types/layout/index.d.ts +1 -0
- package/types/list/index.d.ts +1 -0
- package/types/menu/Indent.d.ts +2 -1
- package/types/menu/Menu.d.ts +1 -0
- package/types/menu/index.d.ts +1 -0
- package/types/message/index.d.ts +2 -0
- package/types/notification/index.d.ts +2 -0
- package/types/overflow-ellipsis/OverflowItem.d.ts +2 -2
- package/types/overflow-ellipsis/index.d.ts +2 -2
- package/types/radio/Radio.d.ts +2 -0
- package/types/radio/index.d.ts +2 -1
- package/types/resize-box/ResizeTrigger.d.ts +2 -1
- package/types/resize-box/index.d.ts +1 -0
- package/types/result/403.d.ts +2 -1
- package/types/result/404.d.ts +2 -1
- package/types/result/500.d.ts +2 -1
- package/types/select/Select.d.ts +1 -1
- package/types/select/index.d.ts +1 -0
- package/types/skeleton/Image.d.ts +2 -1
- package/types/skeleton/Text.d.ts +2 -1
- package/types/slider/hook/useLegalValue.d.ts +2 -1
- package/types/space/index.d.ts +2 -0
- package/types/space/toArray.d.ts +2 -1
- package/types/speech-synthesis/index.d.ts +2 -1
- package/types/spin/DotLoading.d.ts +2 -1
- package/types/statistic/index.d.ts +1 -0
- package/types/steps/index.d.ts +1 -0
- package/types/table/hook/useComponent.d.ts +2 -1
- package/types/table/hook/useExpand.d.ts +2 -1
- package/types/table/hook/useRowSelection.d.ts +2 -1
- package/types/table/hook/useSorter.d.ts +2 -1
- package/types/table/index.d.ts +2 -1
- package/types/table/summary/index.d.ts +3 -0
- package/types/tabs/Tab.d.ts +1 -0
- package/types/tabs/TabContent.d.ts +2 -2
- package/types/tabs/hook/useDomSize.d.ts +2 -1
- package/types/tabs/hook/useHeaderScroll.d.ts +2 -1
- package/types/tabs/index.d.ts +1 -0
- package/types/tabs/tab-header/DropdownIcon.d.ts +2 -1
- package/types/time-picker/TimeColumn.d.ts +2 -2
- package/types/time-picker/index.d.ts +5 -0
- package/types/timeline/Timeline.d.ts +1 -0
- package/types/timeline/index.d.ts +1 -0
- package/types/tree-select/Select.d.ts +5 -0
- package/types/tree-select/hook/useTreeData.d.ts +2 -1
- package/types/tree-select/index.d.ts +2 -1
- package/types/typography/Operations.d.ts +2 -1
- package/types/typography/index.d.ts +1 -0
- package/types/upload/Upload.d.ts +2 -1
- package/types/upload/index.d.ts +2 -3
- package/types/utils/fillNBSP.d.ts +2 -1
- package/types/utils/getHighlightText.d.ts +2 -1
- package/types/utils/getHotkeyHandler.d.ts +2 -1
- package/types/utils/getStringLength.d.ts +2 -1
- package/types/utils/include.d.ts +2 -1
- package/types/utils/mergeProps.d.ts +2 -1
- package/types/utils/mergedToString.d.ts +2 -1
- package/types/utils/omit.d.ts +2 -1
- package/types/utils/pick.d.ts +2 -1
- package/types/utils/throttleByRaf.d.ts +2 -1
- package/types/utils/throttleByRafV2.d.ts +2 -1
- package/types/utils/warning.d.ts +2 -1
- package/utils/contextHolder.js +1 -1
- package/utils/index.js +2 -2
package/TimePicker.js
CHANGED
|
@@ -3,16 +3,16 @@ import Re from "@unicom-cloud/icons/IconUiClockCircle";
|
|
|
3
3
|
import { isDayjs as L } from "dayjs";
|
|
4
4
|
import p from "lodash/isArray";
|
|
5
5
|
import He, { useContext as pe, useState as z, useRef as ze } from "react";
|
|
6
|
-
import { d as Ae } from "./chunk/
|
|
6
|
+
import { d as Ae } from "./chunk/B5GDq8NJ.js";
|
|
7
7
|
import { useMergeProps as Oe } from "./hooks/useMergeProps.js";
|
|
8
8
|
import { usePrevious as ce } from "./hooks/usePrevious.js";
|
|
9
9
|
import { useUpdateEffect as Ee } from "./hooks/useUpdateEffect.js";
|
|
10
|
-
import { a as Fe, I as Ne } from "./chunk/
|
|
10
|
+
import { a as Fe, I as Ne } from "./chunk/CA69nxbj.js";
|
|
11
11
|
import Ue from "./Trigger.js";
|
|
12
12
|
import { y as $e } from "./chunk/BzPkh4Zv.js";
|
|
13
13
|
import { getDayjsValue as B, toLocal as d, toTimezone as X, isValidTimeString as Q, getSortedDayjsArray as Be, isDayjsArrayChange as Le, isDayjsChange as Me } from "./utils/dayjs.js";
|
|
14
14
|
import { pickDataAttributes as We } from "./utils/pick.js";
|
|
15
|
-
import { P as me, g as _e, T as de } from "./chunk/
|
|
15
|
+
import { P as me, g as _e, T as de } from "./chunk/CZfGDXaB.js";
|
|
16
16
|
import qe from "./utils/omit.js";
|
|
17
17
|
function Ge(h) {
|
|
18
18
|
return h.format || "HH:mm:ss";
|
|
@@ -26,8 +26,8 @@ const fe = {
|
|
|
26
26
|
scrollSticky: !0
|
|
27
27
|
}, Je = { bottom: 4 }, Ke = (h) => {
|
|
28
28
|
var se, ae;
|
|
29
|
-
const { locale: u, getPrefixCls: v, componentConfig: l, rtl:
|
|
30
|
-
|
|
29
|
+
const { locale: u, getPrefixCls: v, componentConfig: l, rtl: T } = pe(Ae);
|
|
30
|
+
T && (fe.position = "br");
|
|
31
31
|
const t = Oe(
|
|
32
32
|
h,
|
|
33
33
|
fe,
|
|
@@ -36,8 +36,8 @@ const fe = {
|
|
|
36
36
|
allowClear: A = !0,
|
|
37
37
|
className: f,
|
|
38
38
|
disableConfirm: M,
|
|
39
|
-
style:
|
|
40
|
-
placeholder:
|
|
39
|
+
style: x,
|
|
40
|
+
placeholder: y,
|
|
41
41
|
getPopupContainer: O,
|
|
42
42
|
disabled: b,
|
|
43
43
|
position: W,
|
|
@@ -56,15 +56,15 @@ const fe = {
|
|
|
56
56
|
order: ve,
|
|
57
57
|
utcOffset: n,
|
|
58
58
|
timezone: r
|
|
59
|
-
} = t, a = Ge(t),
|
|
60
|
-
function
|
|
59
|
+
} = t, a = Ge(t), ke = v("timepicker");
|
|
60
|
+
function Ce() {
|
|
61
61
|
let e;
|
|
62
62
|
return t.value ? e = B(t.value, a, n, r) : t.defaultValue && (e = B(t.defaultValue, a, n, r)), e;
|
|
63
63
|
}
|
|
64
|
-
const [ee, oe] = z(!1), [
|
|
64
|
+
const [ee, oe] = z(!1), [k, te] = z(Ce()), [i, j] = z(), [R, C] = z(), [E, Ie] = z(0), V = "value" in t ? B(P, a, n, r) : k, q = "popupVisible" in t ? t.popupVisible : ee, F = ce(n), N = ce(r);
|
|
65
65
|
Ee(() => {
|
|
66
|
-
if (
|
|
67
|
-
const e = p(
|
|
66
|
+
if (k && (F !== n || r !== N)) {
|
|
67
|
+
const e = p(k) ? k.map((c) => d(c, F, N)) : d(k, F, N), o = p(e) ? e.map((c) => X(c, n, r)) : X(e, n, r);
|
|
68
68
|
te(o);
|
|
69
69
|
}
|
|
70
70
|
}, [n, F, r, N]);
|
|
@@ -76,19 +76,19 @@ const fe = {
|
|
|
76
76
|
function K(e) {
|
|
77
77
|
Ie(e), setTimeout(() => J(e));
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Te(e) {
|
|
80
80
|
e ? H(e, () => {
|
|
81
81
|
setTimeout(() => J());
|
|
82
82
|
}) : H(!1);
|
|
83
83
|
}
|
|
84
84
|
function H(e, o) {
|
|
85
|
-
oe(e),
|
|
85
|
+
oe(e), C(void 0), o == null || o(), e || j(void 0);
|
|
86
86
|
}
|
|
87
87
|
function U(e) {
|
|
88
88
|
const o = g && ve && p(e) ? Be(e.map((c) => _e(c))) : e;
|
|
89
|
-
te(o), j(void 0),
|
|
89
|
+
te(o), j(void 0), C(void 0), xe(o), M || H(!1);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function xe(e) {
|
|
92
92
|
p(e) && Le(V, e) && (s == null || s(
|
|
93
93
|
e.map((o) => d(o, n, r).format(a)),
|
|
94
94
|
e.map((o) => d(o, n, r))
|
|
@@ -102,14 +102,14 @@ const fe = {
|
|
|
102
102
|
return /* @__PURE__ */ m(
|
|
103
103
|
"div",
|
|
104
104
|
{
|
|
105
|
-
className: $e(`${
|
|
106
|
-
style: e ?
|
|
105
|
+
className: $e(`${ke}-container`, e ? f : ""),
|
|
106
|
+
style: e ? x : {},
|
|
107
107
|
onClick: () => J(),
|
|
108
108
|
children: He.cloneElement(_, {
|
|
109
109
|
...t,
|
|
110
110
|
format: a,
|
|
111
111
|
inputValue: R,
|
|
112
|
-
setInputValue:
|
|
112
|
+
setInputValue: C,
|
|
113
113
|
onConfirmValue: U,
|
|
114
114
|
setValueShow: j,
|
|
115
115
|
valueShow: o,
|
|
@@ -123,14 +123,14 @@ const fe = {
|
|
|
123
123
|
}
|
|
124
124
|
function ne(e) {
|
|
125
125
|
const o = e.target.value;
|
|
126
|
-
ee || oe(!0),
|
|
126
|
+
ee || oe(!0), C(o), ye(o);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function ye(e) {
|
|
129
129
|
var c, ue;
|
|
130
130
|
const o = B(e, a);
|
|
131
131
|
if (g) {
|
|
132
132
|
const I = [
|
|
133
|
-
...p(i) ? i :
|
|
133
|
+
...p(i) ? i : k || []
|
|
134
134
|
];
|
|
135
135
|
if (Q(e, a)) {
|
|
136
136
|
I[E] = o;
|
|
@@ -141,11 +141,11 @@ const fe = {
|
|
|
141
141
|
t,
|
|
142
142
|
le.map(($) => $ && $.format(a)),
|
|
143
143
|
le
|
|
144
|
-
), j(I),
|
|
144
|
+
), j(I), C(void 0);
|
|
145
145
|
}
|
|
146
146
|
} else if (Q(e, a)) {
|
|
147
147
|
const I = d(o, n, r);
|
|
148
|
-
(ue = t.onSelect) == null || ue.call(t, I.format(a), I), j(o),
|
|
148
|
+
(ue = t.onSelect) == null || ue.call(t, I.format(a), I), j(o), C(void 0);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
function be() {
|
|
@@ -155,8 +155,8 @@ const fe = {
|
|
|
155
155
|
var o;
|
|
156
156
|
e.stopPropagation(), U(void 0), s == null || s(void 0, void 0), (o = t.onClear) == null || o.call(t);
|
|
157
157
|
}
|
|
158
|
-
const we = g && p(
|
|
159
|
-
style:
|
|
158
|
+
const we = g && p(y) ? y : (se = u == null ? void 0 : u.TimePicker) == null ? void 0 : se.placeholders, De = y || ((ae = u == null ? void 0 : u.TimePicker) == null ? void 0 : ae.placeholder), je = Z && Z.inputSuffix || /* @__PURE__ */ m(Re, {}), re = {
|
|
159
|
+
style: x,
|
|
160
160
|
className: f,
|
|
161
161
|
popupVisible: q,
|
|
162
162
|
format: a,
|
|
@@ -182,7 +182,7 @@ const fe = {
|
|
|
182
182
|
disabled: b,
|
|
183
183
|
popupAlign: Je,
|
|
184
184
|
getPopupContainer: O,
|
|
185
|
-
onVisibleChange:
|
|
185
|
+
onVisibleChange: Te,
|
|
186
186
|
popupVisible: q,
|
|
187
187
|
classNames: "slideDynamicOrigin",
|
|
188
188
|
unmountOnExit: !!he,
|
|
@@ -218,25 +218,25 @@ function Qe(h) {
|
|
|
218
218
|
format: u = "HH:mm:ss",
|
|
219
219
|
onSelect: v,
|
|
220
220
|
focusedInputIndex: l,
|
|
221
|
-
changeFocusedInputIndex:
|
|
221
|
+
changeFocusedInputIndex: T,
|
|
222
222
|
popupVisible: t,
|
|
223
223
|
onConfirmValue: A,
|
|
224
224
|
valueShow: f = [],
|
|
225
225
|
setValueShow: M,
|
|
226
|
-
disableConfirm:
|
|
227
|
-
...
|
|
226
|
+
disableConfirm: x,
|
|
227
|
+
...y
|
|
228
228
|
} = h, { utcOffset: O, timezone: b } = pe(me);
|
|
229
229
|
function W(Y, w) {
|
|
230
230
|
const D = f.slice(), P = f.map((s) => d(s, O, b));
|
|
231
231
|
D[l] = X(w, O, b), P[l] = w, v == null || v(
|
|
232
232
|
P.map((s) => s.format(u)),
|
|
233
233
|
P
|
|
234
|
-
), M(D),
|
|
234
|
+
), M(D), x && p(P) && L(P[0]) && L(P[1]) && A(D);
|
|
235
235
|
}
|
|
236
236
|
function g() {
|
|
237
|
-
f.length && (f[0] === void 0 || f[1] === void 0) ?
|
|
237
|
+
f.length && (f[0] === void 0 || f[1] === void 0) ? T(l === 0 ? 1 : 0) : A(f);
|
|
238
238
|
}
|
|
239
|
-
const _ = qe(
|
|
239
|
+
const _ = qe(y, [
|
|
240
240
|
"defaultValue",
|
|
241
241
|
"placeholder",
|
|
242
242
|
"value",
|
|
@@ -253,14 +253,14 @@ function Qe(h) {
|
|
|
253
253
|
confirmBtnDisabled: !L(S),
|
|
254
254
|
valueShow: S,
|
|
255
255
|
popupVisible: t,
|
|
256
|
-
disableConfirm:
|
|
256
|
+
disableConfirm: x,
|
|
257
257
|
..._
|
|
258
258
|
}
|
|
259
259
|
);
|
|
260
260
|
}
|
|
261
261
|
function ge(h, u, v) {
|
|
262
|
-
function l(
|
|
263
|
-
return /* @__PURE__ */ m(Ke, { ...
|
|
262
|
+
function l(T) {
|
|
263
|
+
return /* @__PURE__ */ m(Ke, { ...T, picker: h, isRangePicker: v === "range" });
|
|
264
264
|
}
|
|
265
265
|
return l.displayName = u, l;
|
|
266
266
|
}
|
|
@@ -271,5 +271,6 @@ const Xe = ge(/* @__PURE__ */ m(de, {}), "TimePicker"), Ye = ge(
|
|
|
271
271
|
);
|
|
272
272
|
Object.assign(Xe, { RangePicker: Ye });
|
|
273
273
|
export {
|
|
274
|
+
Ye as TimeRangePicker,
|
|
274
275
|
Xe as default
|
|
275
276
|
};
|
package/Timeline.js
CHANGED
package/Tooltip.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { d as F, f as I } from "./chunk/
|
|
2
|
+
import { d as F, f as I } from "./chunk/B5GDq8NJ.js";
|
|
3
3
|
import S from "lodash/isFunction";
|
|
4
4
|
import { forwardRef as j, useContext as z, useRef as B, useImperativeHandle as W, useMemo as q } from "react";
|
|
5
5
|
import { useMergeProps as G } from "./hooks/useMergeProps.js";
|
package/Transfer.js
CHANGED
|
@@ -4,16 +4,16 @@ import Ie from "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import ne from "lodash/isPlainObject";
|
|
5
5
|
import de, { useRef as le, useState as G, useEffect as oe, useContext as fe, useMemo as ce } from "react";
|
|
6
6
|
import ue from "./Button.js";
|
|
7
|
-
import { I as pe, d as me } from "./chunk/
|
|
7
|
+
import { I as pe, d as me } from "./chunk/B5GDq8NJ.js";
|
|
8
8
|
import { useMergeProps as Ke } from "./hooks/useMergeProps.js";
|
|
9
9
|
import { useMergeValue as ie } from "./hooks/useMergeValue.js";
|
|
10
10
|
import { y as se } from "./chunk/BzPkh4Zv.js";
|
|
11
11
|
import { pickDataAttributes as xe } from "./utils/pick.js";
|
|
12
12
|
import Ce from "@unicom-cloud/icons/IconUiDelete";
|
|
13
13
|
import $e from "@unicom-cloud/icons/IconUiSearch";
|
|
14
|
-
import { C as ae } from "./chunk/
|
|
14
|
+
import { C as ae } from "./chunk/QlYCEvCX.js";
|
|
15
15
|
import { useKeyboardEvent as ge } from "./hooks/useKeyboardEvent.js";
|
|
16
|
-
import { I as ve } from "./chunk/
|
|
16
|
+
import { I as ve } from "./chunk/D01b7bWX.js";
|
|
17
17
|
import Se from "./List.js";
|
|
18
18
|
import Te from "@unicom-cloud/icons/IconUiClose";
|
|
19
19
|
import Ne from "@unicom-cloud/icons/IconUiDragDotVertical";
|
package/Tree.js
CHANGED
package/TreeSelect.js
CHANGED
package/Trigger.js
CHANGED
|
@@ -7,7 +7,7 @@ import et from "lodash/isArray";
|
|
|
7
7
|
import lt from "lodash/isEqual";
|
|
8
8
|
import W from "lodash/isFunction";
|
|
9
9
|
import A, { useRef as pt, useEffect as ht, PureComponent as ut, createRef as Q } from "react";
|
|
10
|
-
import { d as at } from "./chunk/
|
|
10
|
+
import { d as at } from "./chunk/B5GDq8NJ.js";
|
|
11
11
|
import { y as _ } from "./chunk/BzPkh4Zv.js";
|
|
12
12
|
import { isServerRendering as it, on as U, off as Y, getScrollElements as ct, isScrollElement as ft, contains as q } from "./utils/dom.js";
|
|
13
13
|
import { supportRef as dt } from "./utils/is.js";
|
package/Typography.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { T as
|
|
1
|
+
import { E as r, P as y, a as s, b as T, T as o } from "./chunk/D-oHJail.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
r as TypographyEllipsis,
|
|
4
|
+
y as TypographyParagraph,
|
|
5
|
+
s as TypographyText,
|
|
6
|
+
T as TypographyTitle,
|
|
7
|
+
o as default
|
|
4
8
|
};
|
package/Upload.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { U as o } from "./chunk/
|
|
2
|
-
import { S as
|
|
1
|
+
import { U as o } from "./chunk/DQ561AmR.js";
|
|
2
|
+
import { S, F as U, S as r } from "./chunk/DQ561AmR.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
S as STATUS,
|
|
5
|
+
U as UploadList,
|
|
6
|
+
r as UploadSTATUS,
|
|
6
7
|
o as default
|
|
7
8
|
};
|
package/VerificationCode.js
CHANGED
package/Watermark.js
CHANGED
|
@@ -5,7 +5,7 @@ import _ from "lodash/isNumber";
|
|
|
5
5
|
import Pt from "lodash/throttle";
|
|
6
6
|
import Rt, { createContext as Tt, forwardRef as ct, useContext as q, useRef as N, useImperativeHandle as st, useEffect as O, isValidElement as $t, useState as Et, useCallback as D } from "react";
|
|
7
7
|
import bt from "../Affix.js";
|
|
8
|
-
import { d as lt } from "./
|
|
8
|
+
import { d as lt } from "./B5GDq8NJ.js";
|
|
9
9
|
import { useIsFirstRender as Mt } from "../hooks/useIsFirstRender.js";
|
|
10
10
|
import { useMergeProps as at } from "../hooks/useMergeProps.js";
|
|
11
11
|
import { useStateWithPromise as Ot } from "../hooks/useStateWithPromise.js";
|
|
@@ -1486,11 +1486,13 @@ export {
|
|
|
1486
1486
|
R as e,
|
|
1487
1487
|
C as f,
|
|
1488
1488
|
q as g,
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1489
|
+
xe as h,
|
|
1490
|
+
Xe as i,
|
|
1491
|
+
Je as j,
|
|
1492
|
+
Qe as k,
|
|
1493
|
+
Ye as l,
|
|
1494
|
+
J as m,
|
|
1494
1495
|
Ke as s,
|
|
1496
|
+
me as u,
|
|
1495
1497
|
X as y
|
|
1496
1498
|
};
|
|
@@ -19,7 +19,7 @@ import Dt from "@unicom-cloud/icons/IconUiRotateLeft";
|
|
|
19
19
|
import Ot from "@unicom-cloud/icons/IconUiRotateRight";
|
|
20
20
|
import Vt from "@unicom-cloud/icons/IconUiZoomIn";
|
|
21
21
|
import Yt from "@unicom-cloud/icons/IconUiZoomOut";
|
|
22
|
-
import { d as qe, a as Ft } from "./
|
|
22
|
+
import { d as qe, a as Ft } from "./B5GDq8NJ.js";
|
|
23
23
|
import "lodash/isEqualWith";
|
|
24
24
|
import "../utils/is.js";
|
|
25
25
|
import { A as Xt, c as Bt, a as Gt, b as Wt, d as Zt } from "./C2lIz2F9.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
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 { d as A, I as Q } from "./
|
|
5
|
+
import { d as A, I as Q } from "./B5GDq8NJ.js";
|
|
6
6
|
import { useMergeProps as D } from "../hooks/useMergeProps.js";
|
|
7
7
|
import { useMergeValue as F } from "../hooks/useMergeValue.js";
|
|
8
8
|
import { y as I } from "./BzPkh4Zv.js";
|
|
@@ -17,7 +17,7 @@ const _ = {
|
|
|
17
17
|
type: "radio",
|
|
18
18
|
mode: "outline",
|
|
19
19
|
direction: "horizontal"
|
|
20
|
-
}, x = H(_), ne = ({ children: C }) => /* @__PURE__ */
|
|
20
|
+
}, x = H(_), ne = ({ children: C }) => /* @__PURE__ */ i(x.Provider, { value: _, children: C });
|
|
21
21
|
function M(C) {
|
|
22
22
|
const {
|
|
23
23
|
getPrefixCls: b,
|
|
@@ -37,7 +37,7 @@ function M(C) {
|
|
|
37
37
|
type: v,
|
|
38
38
|
mode: k,
|
|
39
39
|
options: g,
|
|
40
|
-
disabled:
|
|
40
|
+
disabled: s
|
|
41
41
|
} = e, [l, R] = F(void 0, {
|
|
42
42
|
defaultValue: e.defaultValue,
|
|
43
43
|
value: e.value
|
|
@@ -47,7 +47,7 @@ function M(C) {
|
|
|
47
47
|
[`${n}-group-type-button`]: v !== "radio",
|
|
48
48
|
[`${n}-size-${$}`]: !!$,
|
|
49
49
|
[`${n}-mode-${k}`]: !!k,
|
|
50
|
-
[`${n}-group-disabled`]:
|
|
50
|
+
[`${n}-group-disabled`]: s,
|
|
51
51
|
[`${n}-group-direction-vertical`]: p === "vertical",
|
|
52
52
|
[`${n}-group-rtl`]: N
|
|
53
53
|
},
|
|
@@ -59,11 +59,11 @@ function M(C) {
|
|
|
59
59
|
},
|
|
60
60
|
type: v,
|
|
61
61
|
value: l,
|
|
62
|
-
disabled:
|
|
62
|
+
disabled: s,
|
|
63
63
|
group: !0,
|
|
64
64
|
name: c
|
|
65
65
|
};
|
|
66
|
-
return /* @__PURE__ */
|
|
66
|
+
return /* @__PURE__ */ i(x.Provider, { value: u, children: /* @__PURE__ */ i(
|
|
67
67
|
"div",
|
|
68
68
|
{
|
|
69
69
|
className: P,
|
|
@@ -71,15 +71,15 @@ function M(C) {
|
|
|
71
71
|
style: r,
|
|
72
72
|
...E(e),
|
|
73
73
|
...J(e),
|
|
74
|
-
children: g && T(g) ? g.map((a, f) => q(a) ? /* @__PURE__ */
|
|
74
|
+
children: g && T(g) ? g.map((a, f) => q(a) ? /* @__PURE__ */ i(
|
|
75
75
|
h,
|
|
76
76
|
{
|
|
77
|
-
disabled:
|
|
77
|
+
disabled: s || a.disabled,
|
|
78
78
|
value: a.value,
|
|
79
79
|
children: a.label
|
|
80
80
|
},
|
|
81
81
|
a.value
|
|
82
|
-
) : /* @__PURE__ */
|
|
82
|
+
) : /* @__PURE__ */ i(h, { value: a, disabled: s, children: a }, f)) : m
|
|
83
83
|
}
|
|
84
84
|
) });
|
|
85
85
|
}
|
|
@@ -91,7 +91,7 @@ function h(C) {
|
|
|
91
91
|
d == null ? void 0 : d.Radio
|
|
92
92
|
), r = G(x), o = y("radio"), c = { ...e };
|
|
93
93
|
r.group && (c.checked = r.value === e.value, c.disabled = "disabled" in e ? e.disabled : r.disabled);
|
|
94
|
-
const { disabled: m, children: p, value: v, style: k, className: g, ...
|
|
94
|
+
const { disabled: m, children: p, value: v, style: k, className: g, ...s } = c, [l, R] = F(!1, {
|
|
95
95
|
value: c.checked,
|
|
96
96
|
defaultValue: c.defaultChecked
|
|
97
97
|
}), $ = I(
|
|
@@ -109,19 +109,19 @@ function h(C) {
|
|
|
109
109
|
}, P = B.useCallback(
|
|
110
110
|
(t) => {
|
|
111
111
|
var u;
|
|
112
|
-
j(e.children) && (t.preventDefault(), b.current && b.current.click()), (u =
|
|
112
|
+
j(e.children) && (t.preventDefault(), b.current && b.current.click()), (u = s.onClick) == null || u.call(s, t);
|
|
113
113
|
},
|
|
114
|
-
[e.children,
|
|
114
|
+
[e.children, s.onClick]
|
|
115
115
|
);
|
|
116
116
|
return /* @__PURE__ */ z(
|
|
117
117
|
"label",
|
|
118
118
|
{
|
|
119
|
-
...S(
|
|
119
|
+
...S(s, ["checked", "onChange"]),
|
|
120
120
|
onClick: P,
|
|
121
121
|
style: k,
|
|
122
122
|
className: $,
|
|
123
123
|
children: [
|
|
124
|
-
/* @__PURE__ */
|
|
124
|
+
/* @__PURE__ */ i(
|
|
125
125
|
"input",
|
|
126
126
|
{
|
|
127
127
|
ref: b,
|
|
@@ -139,17 +139,17 @@ function h(C) {
|
|
|
139
139
|
}
|
|
140
140
|
),
|
|
141
141
|
j(p) ? p({ checked: l }) : r.type === "radio" ? /* @__PURE__ */ z(O, { children: [
|
|
142
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ i(
|
|
143
143
|
Q,
|
|
144
144
|
{
|
|
145
145
|
prefix: o,
|
|
146
146
|
className: `${o}-mask-wrapper`,
|
|
147
147
|
disabled: l || m,
|
|
148
|
-
children: /* @__PURE__ */
|
|
148
|
+
children: /* @__PURE__ */ i("div", { className: `${o}-mask` })
|
|
149
149
|
}
|
|
150
150
|
),
|
|
151
|
-
!w(p) && /* @__PURE__ */
|
|
152
|
-
] }) : r.type === "button" && /* @__PURE__ */
|
|
151
|
+
!w(p) && /* @__PURE__ */ i("span", { className: `${o}-text`, children: p })
|
|
152
|
+
] }) : r.type === "button" && /* @__PURE__ */ i("span", { className: `${o}-button-inner`, children: p })
|
|
153
153
|
]
|
|
154
154
|
}
|
|
155
155
|
);
|
|
@@ -160,5 +160,7 @@ h.Group = M;
|
|
|
160
160
|
h.GroupContext = x;
|
|
161
161
|
export {
|
|
162
162
|
ne as C,
|
|
163
|
-
|
|
163
|
+
M as G,
|
|
164
|
+
h as R,
|
|
165
|
+
x as a
|
|
164
166
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i, jsxs as _, Fragment as Je } from "react/jsx-runtime";
|
|
2
2
|
import W, { useContext as O, useState as Oe, useRef as ge, useEffect as te, forwardRef as Ae, createElement as J } from "react";
|
|
3
|
-
import { d as A } from "./
|
|
3
|
+
import { d as A } from "./B5GDq8NJ.js";
|
|
4
4
|
import { useMergeProps as Fe } from "../hooks/useMergeProps.js";
|
|
5
5
|
import { useMergeValue as le } from "../hooks/useMergeValue.js";
|
|
6
6
|
import { y as q } from "./BzPkh4Zv.js";
|
|
@@ -12,8 +12,8 @@ import { useKeyboardEvent as pe } from "../hooks/useKeyboardEvent.js";
|
|
|
12
12
|
import Be from "lodash/isFunction";
|
|
13
13
|
import Ke from "lodash/isPlainObject";
|
|
14
14
|
import ce from "lodash/isUndefined";
|
|
15
|
-
import { I as Ve } from "./
|
|
16
|
-
import { S as fe } from "./
|
|
15
|
+
import { I as Ve } from "./D01b7bWX.js";
|
|
16
|
+
import { S as fe } from "./_m8hLSsx.js";
|
|
17
17
|
var R = /* @__PURE__ */ ((e) => (e[e.previous = 0] = "previous", e[e.next = 1] = "next", e))(R || {});
|
|
18
18
|
function De(e) {
|
|
19
19
|
var M, h, t;
|
|
@@ -3,7 +3,7 @@ import tn from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import we from "lodash/isFunction";
|
|
4
4
|
import on, { forwardRef as Ie, useState as I, useImperativeHandle as rn, useRef as g, useContext as ln, useCallback as S, useEffect as oe } from "react";
|
|
5
5
|
import ye from "../Button.js";
|
|
6
|
-
import {
|
|
6
|
+
import { i as T, a as $e, j as sn, k as an, C as cn, s as un, d as dn, l as y, I as mn } from "./B5GDq8NJ.js";
|
|
7
7
|
import "lodash/isEqualWith";
|
|
8
8
|
import { useMergeValue as fn } from "../hooks/useMergeValue.js";
|
|
9
9
|
import "../utils/is.js";
|
|
@@ -10,14 +10,14 @@ import me from "lodash/isArray";
|
|
|
10
10
|
import I from "lodash/isEqualWith";
|
|
11
11
|
import $ from "lodash/isFunction";
|
|
12
12
|
import te from "lodash/isUndefined";
|
|
13
|
-
import { d as z, I as xe } from "./
|
|
13
|
+
import { d as z, I as xe } from "./B5GDq8NJ.js";
|
|
14
14
|
import { y as M } from "./BzPkh4Zv.js";
|
|
15
15
|
import { pickDataAttributes as Ne } from "../utils/pick.js";
|
|
16
16
|
import be from "@unicom-cloud/icons/IconUiCaretDown";
|
|
17
17
|
import De from "@unicom-cloud/icons/IconUiDragDotVertical";
|
|
18
18
|
import Ce from "@unicom-cloud/icons/IconUiFile";
|
|
19
19
|
import Pe from "@unicom-cloud/icons/IconUiLoading";
|
|
20
|
-
import { C as Ee } from "./
|
|
20
|
+
import { C as Ee } from "./QlYCEvCX.js";
|
|
21
21
|
import we from "../utils/throttleByRaf.js";
|
|
22
22
|
import Se from "lodash/isNumber";
|
|
23
23
|
import { P as _e } from "./CLBavO5c.js";
|
|
@@ -12,7 +12,7 @@ import W from "lodash/isFunction";
|
|
|
12
12
|
import ne from "lodash/isPlainObject";
|
|
13
13
|
import Y from "lodash/isString";
|
|
14
14
|
import qe, { useRef as K, useState as ae, useCallback as se, useEffect as Z, forwardRef as Je, useContext as Ge, useImperativeHandle as Qe } from "react";
|
|
15
|
-
import { d as Xe } from "./
|
|
15
|
+
import { d as Xe } from "./B5GDq8NJ.js";
|
|
16
16
|
import { useForceUpdate as ue } from "../hooks/useForceUpdate.js";
|
|
17
17
|
import { useId as Ye } from "../hooks/useId.js";
|
|
18
18
|
import { useMergeProps as Ze } from "../hooks/useMergeProps.js";
|
|
@@ -26,7 +26,7 @@ import { _ as at, P as st } from "./CLBavO5c.js";
|
|
|
26
26
|
import me from "lodash/isEqualWith";
|
|
27
27
|
import ee from "lodash/get";
|
|
28
28
|
import { p as it } from "./CANaGbGR.js";
|
|
29
|
-
import { C as Oe } from "./
|
|
29
|
+
import { C as Oe } from "./QlYCEvCX.js";
|
|
30
30
|
import { useIsFirstRender as ct } from "../hooks/useIsFirstRender.js";
|
|
31
31
|
import { on as Le, off as de } from "../utils/dom.js";
|
|
32
32
|
import "../utils/is.js";
|
|
@@ -3,13 +3,13 @@ import Ae from "@unicom-cloud/icons/IconUiMenuFold";
|
|
|
3
3
|
import Ue from "@unicom-cloud/icons/IconUiMenuUnfold";
|
|
4
4
|
import He from "lodash/isPlainObject";
|
|
5
5
|
import L, { createContext as Be, useContext as K, forwardRef as X, useRef as J, useEffect as Z, useState as Ce, useMemo as Fe } from "react";
|
|
6
|
-
import { d as Ie } from "./
|
|
6
|
+
import { d as Ie } from "./B5GDq8NJ.js";
|
|
7
7
|
import { useForceUpdate as Ve } from "../hooks/useForceUpdate.js";
|
|
8
8
|
import { useId as le } from "../hooks/useId.js";
|
|
9
9
|
import { useKeyboardEvent as We } from "../hooks/useKeyboardEvent.js";
|
|
10
10
|
import { useMergeProps as Ge } from "../hooks/useMergeProps.js";
|
|
11
11
|
import { useMergeValue as re } from "../hooks/useMergeValue.js";
|
|
12
|
-
import { a as ze } from "./
|
|
12
|
+
import { a as ze } from "./CAiaqaWc.js";
|
|
13
13
|
import { y as H } from "./BzPkh4Zv.js";
|
|
14
14
|
import z from "../utils/omit.js";
|
|
15
15
|
import { p as je } from "./CANaGbGR.js";
|
|
@@ -691,5 +691,8 @@ j.SubMenu = te;
|
|
|
691
691
|
j.ItemGroup = ae;
|
|
692
692
|
j.__PQB_MENU__ = !0;
|
|
693
693
|
export {
|
|
694
|
-
|
|
694
|
+
ce as I,
|
|
695
|
+
j as M,
|
|
696
|
+
te as S,
|
|
697
|
+
ae as a
|
|
695
698
|
};
|
|
@@ -3,7 +3,7 @@ import O from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import tt from "lodash/isFunction";
|
|
4
4
|
import ot, { useRef as N, useState as A, useImperativeHandle as et, useEffect as T } from "react";
|
|
5
5
|
import { useKeyboardEvent as nt } from "../hooks/useKeyboardEvent.js";
|
|
6
|
-
import { I as rt } from "./
|
|
6
|
+
import { I as rt } from "./B5GDq8NJ.js";
|
|
7
7
|
import { y as V } from "./BzPkh4Zv.js";
|
|
8
8
|
import it from "../utils/fillNBSP.js";
|
|
9
9
|
import "../utils/is.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as q, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import oe from "@unicom-cloud/icons/IconUiClose";
|
|
3
3
|
import U from "lodash/isArray";
|
|
4
4
|
import { forwardRef as fe, useContext as te, useRef as b, useState as se, useImperativeHandle as ne } from "react";
|
|
5
|
-
import { d as re, I as me } from "./
|
|
5
|
+
import { d as re, I as me } from "./B5GDq8NJ.js";
|
|
6
6
|
import { y as G } from "./BzPkh4Zv.js";
|
|
7
7
|
import { E as ie, T as Ne } from "./C2lIz2F9.js";
|
|
8
8
|
import $e from "../utils/omit.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as I, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import v, { useContext as D, useRef as j, useEffect as k } from "react";
|
|
3
|
-
import { d as S } from "./
|
|
3
|
+
import { d as S } from "./B5GDq8NJ.js";
|
|
4
4
|
import { useMergeProps as F } from "../hooks/useMergeProps.js";
|
|
5
5
|
import E from "../Spin.js";
|
|
6
6
|
import { y as b } from "./BzPkh4Zv.js";
|
|
@@ -157,5 +157,6 @@ const q = v.forwardRef(Y), W = q;
|
|
|
157
157
|
W.displayName = "Timeline";
|
|
158
158
|
W.Item = C;
|
|
159
159
|
export {
|
|
160
|
-
W as T
|
|
160
|
+
W as T,
|
|
161
|
+
C as a
|
|
161
162
|
};
|
|
@@ -4,7 +4,7 @@ import q from "@unicom-cloud/icons/IconUiRight";
|
|
|
4
4
|
import X from "lodash/isArray";
|
|
5
5
|
import y from "lodash/isNumber";
|
|
6
6
|
import { createContext as Y, forwardRef as Z, useContext as ee, useState as re, useRef as A, useEffect as F, useMemo as te } from "react";
|
|
7
|
-
import { d as ie } from "./
|
|
7
|
+
import { d as ie } from "./B5GDq8NJ.js";
|
|
8
8
|
import { useMergeValue as se } from "../hooks/useMergeValue.js";
|
|
9
9
|
import oe from "../ResizeBox.js";
|
|
10
10
|
import { y as H } from "./BzPkh4Zv.js";
|