@unicom-cloud/ui 0.8.69 → 0.8.71
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 +2 -2
- package/AutoComplete.js +1 -1
- package/BackTop.js +2 -2
- package/Badge.js +2 -2
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +1 -1
- 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 +1 -1
- package/Comment.js +1 -1
- package/ConfigProvider.js +1 -1
- package/Copy.js +1 -1
- package/DatePicker.js +1 -1
- package/Descriptions.js +1 -1
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Dropdown.js +2 -2
- package/Empty.js +1 -1
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/InputNumber.js +1 -1
- package/Layout.js +1 -1
- package/Link.js +1 -1
- package/List.js +1 -1
- package/Mentions.js +1 -1
- package/Menu.js +1 -1
- package/Message.js +2 -2
- package/Modal.js +1 -1
- package/Notice.js +2 -2
- package/Notification.js +2 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +1 -1
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +1 -1
- package/SpeechSynthesis.js +3 -3
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +1 -1
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/Trigger.js +3 -3
- package/affix/index.js +1 -1
- package/alert/index.js +2 -2
- package/anchor/Anchor.js +1 -1
- package/anchor/Link.js +1 -1
- package/auto-complete/index.js +1 -1
- package/avatar/Avatar.js +1 -1
- package/avatar/Group.js +1 -1
- package/back-top/index.js +2 -2
- package/badge/Count.js +1 -1
- package/badge/index.js +2 -2
- package/breadcrumb/index.js +2 -2
- package/button/Group.js +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +2 -2
- package/card/Grid.js +1 -1
- package/card/Meta.js +1 -1
- package/card/index.js +1 -1
- package/carousel/Arrow.js +1 -1
- package/carousel/Indicator.js +1 -1
- package/carousel/index.js +1 -1
- package/cascader/Cascader.js +3 -3
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +2 -2
- package/checkbox/Group.js +2 -2
- package/checkbox/index.js +1 -1
- package/chunk/{CKyu68pu.js → 8V534cS3.js} +3 -3
- package/chunk/{CCv-5KFt.js → BHL-PzAD.js} +149 -152
- package/chunk/BL9DMeor.js +9 -0
- package/chunk/{Clo26EcR.js → BPD5iNdA.js} +16 -21
- package/chunk/BlElSWJg.js +257 -0
- package/chunk/{SSK90wgo.js → BzPNDYAX.js} +1 -1
- package/chunk/{CgurXnoy.js → C5X9bDyX.js} +4 -4
- package/chunk/C6AJxF7d.js +1820 -0
- package/chunk/CQTxhsUk.js +170 -0
- package/chunk/{C98ks5S8.js → CUs1AOCZ.js} +2 -2
- package/chunk/CZWGeRVA.js +715 -0
- package/chunk/{C48SmsN-.js → ClaNycDy.js} +27 -18
- package/chunk/{CpGBWmuz.js → D2DSUGNT.js} +2 -2
- package/chunk/{DonYzv30.js → DV7ywe_q.js} +1 -1
- package/chunk/{BjpUSKM3.js → Dm1NCTkX.js} +3 -3
- package/chunk/{BDB0LByj.js → EHx6bIK_.js} +3 -3
- package/chunk/{Bi4UkwOR.js → I1dqAgn_.js} +4 -4
- package/chunk/a3hR6zLw.js +12 -0
- package/chunk/{DzVH9IBy.js → fFjj2KuF.js} +1 -1
- package/chunk/{vmgkWLYf.js → pEI3aB9Z.js} +2 -2
- package/collapse/Collapse.js +2 -2
- package/collapse/Item.js +3 -3
- package/collapse/index.js +1 -1
- package/color-picker/ControlBar.js +1 -1
- package/color-picker/InputAlpha.js +1 -1
- package/color-picker/InputHex.js +1 -1
- package/color-picker/InputRgb.js +1 -1
- package/color-picker/Palette.js +1 -1
- package/color-picker/Panel.js +2 -2
- package/color-picker/index.js +1 -1
- package/comment/index.js +1 -1
- package/config-provider/ConfigProvider.js +1 -1
- package/config-provider/context.js +1 -1
- package/config-provider/index.js +2 -2
- package/copy/index.js +1 -1
- package/date-picker/Picker.js +2 -2
- package/date-picker/PickerRange.js +3 -3
- package/date-picker/index.js +1 -1
- package/descriptions/index.js +80 -75
- package/divider/index.js +1 -1
- package/draggable/index.js +1 -1
- package/drawer/Drawer.js +3 -3
- package/dropdown/Button.js +1 -1
- package/dropdown/index.js +2 -2
- package/empty/index.js +1 -1
- package/form/Form.js +1 -1
- package/form/FormItem.js +2 -2
- package/form/util.js +11 -11
- package/grid/Col.js +1 -1
- package/grid/Row.js +1 -1
- package/grid/grid-item.js +1 -1
- package/grid/grid.js +1 -1
- package/hooks/index.js +36 -34
- package/hooks/useListenResize.js +4 -0
- package/hooks/useOverrideRef.js +1 -1
- package/hooks/useUpdateEffect.js +1 -1
- package/hooks/useWindowSize.js +1 -1
- package/icon/index.js +1 -1
- package/icon-hover/index.js +1 -1
- package/image/Image.js +2 -2
- package/image/ImagePreview.js +5 -5
- package/image/ImagePreviewArrow.js +1 -1
- package/image/ImagePreviewGroup.js +1 -1
- package/image/index.js +1 -1
- package/index.js +582 -580
- package/input/Group.js +1 -1
- package/input/Input.js +1 -1
- package/input/InputElement.js +1 -1
- package/input/Password.js +1 -1
- package/input/Search.js +1 -1
- package/input/Textarea.js +1 -1
- package/input-number/index.js +1 -1
- package/input-tag/InputTag.js +2 -2
- package/layout/Content.js +1 -1
- package/layout/Footer.js +1 -1
- package/layout/Header.js +1 -1
- package/layout/Sider.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/list/Item.js +1 -1
- package/list/Meta.js +1 -1
- package/list/index.js +1 -1
- package/locale/en-US.js +1 -1
- package/locale/tr-TR.js +1 -1
- package/mentions/index.js +1 -1
- package/menu/Menu.js +2 -2
- package/menu/OverflowWrap.js +1 -1
- package/menu/index.js +2 -2
- package/message/index.js +2 -2
- package/message/useMessage.js +1 -1
- package/modal/Confirm.js +2 -2
- package/modal/Modal.js +4 -4
- package/modal/index.js +1 -1
- package/notice/index.js +2 -2
- package/notification/index.js +2 -2
- package/notification/useNotification.js +1 -1
- package/notification/withNotification.js +43 -35
- package/overflow-ellipsis/OverflowItem.js +1 -1
- package/overflow-ellipsis/index.js +1 -1
- package/package.json +1 -1
- package/page-header/index.js +1 -1
- package/pagination/PageItem.js +1 -1
- package/pagination/PageJumper.js +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/picker/Input.js +1 -1
- package/picker/InputRange.js +1 -1
- package/popconfirm/index.js +1 -1
- package/popover/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/Group.js +2 -2
- package/radio/Radio.js +2 -2
- package/radio/index.js +2 -2
- package/rate/index.js +1 -1
- package/resize-box/ResizeTrigger.js +1 -1
- package/resize-box/Split.js +1 -1
- package/resize-box/SplitGroup.js +1 -1
- package/resize-box/index.js +1 -1
- package/result/index.js +1 -1
- package/select/Option.js +1 -1
- package/select/Select.js +2 -2
- package/select-view/Core.js +1 -1
- package/skeleton/index.js +1 -1
- package/slider/Button.js +1 -1
- package/slider/index.js +2 -2
- package/space/index.js +20 -20
- package/speech-synthesis/index.js +39 -39
- package/spin/DotLoading.js +1 -1
- package/spin/index.js +1 -1
- package/statistic/Countdown.js +1 -1
- package/statistic/index.js +1 -1
- package/steps/index.js +1 -1
- package/switch/index.js +2 -2
- package/table/Table.js +3 -3
- package/table/index.js +89 -81
- package/tabs/Tab.js +2 -2
- package/tabs/TabContent.js +2 -2
- package/tabs/TabPane.js +1 -1
- package/tabs/index.js +2 -2
- package/tag/index.js +1 -1
- package/time-picker/Picker.js +2 -2
- package/time-picker/TimePicker.js +1 -1
- package/timeline/Item.js +1 -1
- package/timeline/Timeline.js +1 -1
- package/tooltip/index.js +1 -1
- package/transfer/Item.js +2 -2
- package/transfer/List.js +2 -2
- package/transfer/index.js +1 -1
- package/tree/Animation.js +3 -3
- package/tree/Node.js +3 -3
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +2 -2
- package/tree/index.js +1 -1
- package/tree-select/Select.js +2 -2
- package/trigger/index.js +3 -3
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/useListenResize.d.ts +1 -0
- package/types/locale/en-US.d.ts +12 -12
- package/types/locale/tr-TR.d.ts +12 -12
- package/types/message/interface.d.ts +0 -1
- package/types/notification/interface.d.ts +0 -1
- package/types/space/index.d.ts +3 -4
- package/types/table/hook/useThResizable.d.ts +1 -1
- package/types/table/interface.d.ts +3 -1
- package/types/utils/react19Adapter.d.ts +1 -0
- package/typography/Base.js +2 -2
- package/typography/Ellipsis.js +11 -11
- package/typography/Paragraph.js +1 -1
- package/typography/Typography.js +1 -1
- package/typography/index.js +11 -11
- package/typography/useEllipsis.js +1 -1
- package/upload/TriggerNode.js +1 -1
- package/upload/Upload.js +2 -2
- package/upload/Uploader.js +2 -2
- package/utils/CSSTransition.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/index.js +4 -4
- package/utils/react19Adapter.js +3 -0
- package/utils/reactDOM.js +1 -1
- package/verification-code/VerificationCode.js +1 -1
- package/version/index.js +1 -1
- package/virtual-list/VirtualList.js +1 -1
- package/watermark/Watermark.js +1 -1
- package/chunk/BSCrLtfQ.js +0 -10
- package/chunk/BSaQv6mx.js +0 -251
- package/chunk/CD3AUpzo.js +0 -166
- package/chunk/CzQObzKd.js +0 -1817
- package/chunk/ll867Bf3.js +0 -730
package/descriptions/index.js
CHANGED
|
@@ -1,80 +1,85 @@
|
|
|
1
1
|
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { a as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
2
|
+
import C from "lodash/isArray";
|
|
3
|
+
import V from "lodash/isNumber";
|
|
4
|
+
import q from "lodash/isPlainObject";
|
|
5
|
+
import { useContext as B, useState as G, useRef as J, useEffect as K, Fragment as x } from "react";
|
|
6
|
+
import { a as Q } from "../chunk/CZWGeRVA.js";
|
|
7
|
+
import { u as U } from "../chunk/BFTV6myl.js";
|
|
8
|
+
import { m as W } from "../chunk/JPPo5nY_.js";
|
|
9
|
+
import P, { responsiveArray as k } from "../utils/responsiveObserve.js";
|
|
10
|
+
const z = (f) => C(f) ? f.reduce((h, p) => h + (p.span || 1), 0) : 0, X = {
|
|
11
11
|
layout: "horizontal",
|
|
12
12
|
column: 3,
|
|
13
13
|
tableLayout: "auto"
|
|
14
14
|
};
|
|
15
|
-
function
|
|
16
|
-
const {
|
|
15
|
+
function Y(f) {
|
|
16
|
+
const {
|
|
17
|
+
getPrefixCls: h,
|
|
18
|
+
componentConfig: p,
|
|
19
|
+
rtl: I,
|
|
20
|
+
size: v
|
|
21
|
+
} = B(Q), w = U(
|
|
17
22
|
f,
|
|
18
|
-
|
|
23
|
+
X,
|
|
19
24
|
p == null ? void 0 : p.Descriptions
|
|
20
25
|
), {
|
|
21
|
-
style:
|
|
22
|
-
className:
|
|
26
|
+
style: D,
|
|
27
|
+
className: L,
|
|
23
28
|
column: m,
|
|
24
|
-
title:
|
|
29
|
+
title: N,
|
|
25
30
|
data: b,
|
|
26
|
-
border:
|
|
31
|
+
border: O,
|
|
27
32
|
labelStyle: y,
|
|
28
33
|
valueStyle: $,
|
|
29
34
|
colon: d,
|
|
30
35
|
layout: u,
|
|
31
|
-
size:
|
|
32
|
-
tableLayout:
|
|
33
|
-
} =
|
|
34
|
-
|
|
35
|
-
for (let t = 0; t <
|
|
36
|
-
const e =
|
|
37
|
-
if (
|
|
38
|
-
|
|
36
|
+
size: g,
|
|
37
|
+
tableLayout: j
|
|
38
|
+
} = w, s = h("descriptions"), [A, E] = G(), S = J(null);
|
|
39
|
+
K(() => (S.current = P.subscribe((n) => {
|
|
40
|
+
for (let t = 0; t < k.length; t++) {
|
|
41
|
+
const e = k[t];
|
|
42
|
+
if (n[e]) {
|
|
43
|
+
E(e);
|
|
39
44
|
break;
|
|
40
45
|
}
|
|
41
46
|
}
|
|
42
47
|
}), () => {
|
|
43
|
-
|
|
48
|
+
P.unsubscribe(S.current);
|
|
44
49
|
}), []);
|
|
45
|
-
let
|
|
46
|
-
|
|
50
|
+
let l = 3;
|
|
51
|
+
q(m) && (l = m[A] || 3), V(m) && m > 0 && (l = m);
|
|
47
52
|
const o = [];
|
|
48
|
-
if (
|
|
53
|
+
if (C(b) && b.length > 0 && l) {
|
|
49
54
|
b.forEach((e) => {
|
|
50
|
-
const i = o[o.length - 1],
|
|
51
|
-
|
|
55
|
+
const i = o[o.length - 1], a = z(i);
|
|
56
|
+
a === 0 ? o.push([
|
|
52
57
|
{
|
|
53
58
|
...e,
|
|
54
|
-
span: e.span ? e.span >
|
|
59
|
+
span: e.span ? e.span > l ? l : e.span : 1
|
|
55
60
|
}
|
|
56
|
-
]) :
|
|
61
|
+
]) : a === l ? o.push([
|
|
57
62
|
{
|
|
58
63
|
...e,
|
|
59
|
-
span: e.span ? e.span >
|
|
64
|
+
span: e.span ? e.span > l ? l : e.span : 1
|
|
60
65
|
}
|
|
61
66
|
]) : i.push({
|
|
62
67
|
...e,
|
|
63
|
-
span: e.span ? e.span +
|
|
68
|
+
span: e.span ? e.span + a > l ? l - a : e.span : 1
|
|
64
69
|
});
|
|
65
70
|
});
|
|
66
|
-
const
|
|
67
|
-
t <
|
|
71
|
+
const n = o[o.length - 1], t = z(n);
|
|
72
|
+
t < l && (n[n.length - 1].span = n[n.length - 1].span + l - t);
|
|
68
73
|
}
|
|
69
|
-
function
|
|
70
|
-
return /* @__PURE__ */ c(
|
|
71
|
-
/* @__PURE__ */ r("tr", { className: `${
|
|
72
|
-
const
|
|
74
|
+
function F(n, t) {
|
|
75
|
+
return /* @__PURE__ */ c(x, { children: [
|
|
76
|
+
/* @__PURE__ */ r("tr", { className: `${s}-row`, children: n.map((e, i) => {
|
|
77
|
+
const a = e.span > 1 ? { colSpan: e.span } : {};
|
|
73
78
|
return /* @__PURE__ */ c(
|
|
74
79
|
"td",
|
|
75
80
|
{
|
|
76
|
-
className: `${
|
|
77
|
-
...
|
|
81
|
+
className: `${s}-item-label`,
|
|
82
|
+
...a,
|
|
78
83
|
style: y,
|
|
79
84
|
children: [
|
|
80
85
|
e.label,
|
|
@@ -84,13 +89,13 @@ function X(f) {
|
|
|
84
89
|
`${e.key || i}_label`
|
|
85
90
|
);
|
|
86
91
|
}) }),
|
|
87
|
-
/* @__PURE__ */ r("tr", { className: `${
|
|
88
|
-
const
|
|
92
|
+
/* @__PURE__ */ r("tr", { className: `${s}-row`, children: n.map((e, i) => {
|
|
93
|
+
const a = e.span > 1 ? { colSpan: e.span } : {};
|
|
89
94
|
return /* @__PURE__ */ r(
|
|
90
95
|
"td",
|
|
91
96
|
{
|
|
92
|
-
className: `${
|
|
93
|
-
...
|
|
97
|
+
className: `${s}-item-value`,
|
|
98
|
+
...a,
|
|
94
99
|
style: $,
|
|
95
100
|
children: e.value
|
|
96
101
|
},
|
|
@@ -99,19 +104,19 @@ function X(f) {
|
|
|
99
104
|
}) })
|
|
100
105
|
] }, t);
|
|
101
106
|
}
|
|
102
|
-
function
|
|
103
|
-
return /* @__PURE__ */ r("tr", { className: `${
|
|
104
|
-
const
|
|
105
|
-
return /* @__PURE__ */ c(
|
|
106
|
-
/* @__PURE__ */ c("td", { className: `${
|
|
107
|
+
function H(n, t) {
|
|
108
|
+
return /* @__PURE__ */ r("tr", { className: `${s}-row`, children: n.map((e, i) => {
|
|
109
|
+
const a = e.span > 1 ? { colSpan: e.span * 2 - 1 } : {};
|
|
110
|
+
return /* @__PURE__ */ c(x, { children: [
|
|
111
|
+
/* @__PURE__ */ c("td", { className: `${s}-item-label`, style: y, children: [
|
|
107
112
|
e.label,
|
|
108
113
|
d
|
|
109
114
|
] }),
|
|
110
115
|
/* @__PURE__ */ r(
|
|
111
116
|
"td",
|
|
112
117
|
{
|
|
113
|
-
className: `${
|
|
114
|
-
...
|
|
118
|
+
className: `${s}-item-value`,
|
|
119
|
+
...a,
|
|
115
120
|
style: $,
|
|
116
121
|
children: e.value
|
|
117
122
|
}
|
|
@@ -119,19 +124,19 @@ function X(f) {
|
|
|
119
124
|
] }, e.key || i);
|
|
120
125
|
}) }, t);
|
|
121
126
|
}
|
|
122
|
-
function
|
|
123
|
-
return /* @__PURE__ */ r("tr", { className: `${
|
|
124
|
-
const
|
|
127
|
+
function M(n, t) {
|
|
128
|
+
return /* @__PURE__ */ r("tr", { className: `${s}-row`, children: n.map((e, i) => {
|
|
129
|
+
const a = e.span > 1 ? { colSpan: e.span } : {};
|
|
125
130
|
return /* @__PURE__ */ c(
|
|
126
131
|
"td",
|
|
127
132
|
{
|
|
128
|
-
...
|
|
129
|
-
className: `${
|
|
133
|
+
...a,
|
|
134
|
+
className: `${s}-item`,
|
|
130
135
|
children: [
|
|
131
136
|
/* @__PURE__ */ c(
|
|
132
137
|
"div",
|
|
133
138
|
{
|
|
134
|
-
className: `${
|
|
139
|
+
className: `${s}-item-label-inline`,
|
|
135
140
|
style: y,
|
|
136
141
|
children: [
|
|
137
142
|
e.label,
|
|
@@ -142,7 +147,7 @@ function X(f) {
|
|
|
142
147
|
/* @__PURE__ */ r(
|
|
143
148
|
"div",
|
|
144
149
|
{
|
|
145
|
-
className: `${
|
|
150
|
+
className: `${s}-item-value-inline`,
|
|
146
151
|
style: $,
|
|
147
152
|
children: e.value
|
|
148
153
|
}
|
|
@@ -153,26 +158,26 @@ function X(f) {
|
|
|
153
158
|
);
|
|
154
159
|
}) }, t);
|
|
155
160
|
}
|
|
156
|
-
function
|
|
157
|
-
return u === "inline-vertical" || u === "inline-horizontal" ?
|
|
161
|
+
function R(n, t) {
|
|
162
|
+
return u === "inline-vertical" || u === "inline-horizontal" ? M(n, t) : u === "vertical" ? F(n, t) : H(n, t);
|
|
158
163
|
}
|
|
159
|
-
const
|
|
160
|
-
|
|
164
|
+
const T = W(
|
|
165
|
+
s,
|
|
161
166
|
{
|
|
162
|
-
[`${
|
|
163
|
-
[`${
|
|
164
|
-
[`${
|
|
165
|
-
[`${
|
|
166
|
-
[`${
|
|
167
|
+
[`${s}-border`]: O,
|
|
168
|
+
[`${s}-layout-${u}`]: u,
|
|
169
|
+
[`${s}-size-${g || v}`]: g || v,
|
|
170
|
+
[`${s}-table-layout-fixed`]: j === "fixed",
|
|
171
|
+
[`${s}-rtl`]: I
|
|
167
172
|
},
|
|
168
|
-
|
|
173
|
+
L
|
|
169
174
|
);
|
|
170
|
-
return /* @__PURE__ */ c("div", { className:
|
|
171
|
-
|
|
172
|
-
/* @__PURE__ */ r("div", { className: `${
|
|
175
|
+
return /* @__PURE__ */ c("div", { className: T, style: D, children: [
|
|
176
|
+
N && /* @__PURE__ */ r("div", { className: `${s}-title`, children: N }),
|
|
177
|
+
/* @__PURE__ */ r("div", { className: `${s}-body`, children: /* @__PURE__ */ r("table", { className: `${s}-table`, cellPadding: 0, cellSpacing: 0, children: /* @__PURE__ */ r("tbody", { children: o.map((n, t) => R(n, t)) }) }) })
|
|
173
178
|
] });
|
|
174
179
|
}
|
|
175
|
-
|
|
180
|
+
Y.displayName = "Descriptions";
|
|
176
181
|
export {
|
|
177
|
-
|
|
182
|
+
Y as default
|
|
178
183
|
};
|
package/divider/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as x, useContext as u } from "react";
|
|
3
|
-
import { a as $ } from "../chunk/
|
|
3
|
+
import { a as $ } from "../chunk/CZWGeRVA.js";
|
|
4
4
|
import { u as h } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { m as v } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
const C = {
|
package/draggable/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as I, useState as C } from "react";
|
|
3
|
-
import { a as D } from "../chunk/
|
|
3
|
+
import { a as D } from "../chunk/CZWGeRVA.js";
|
|
4
4
|
import { m as h } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
import v from "./Item.js";
|
|
6
6
|
function R(s) {
|
package/drawer/Drawer.js
CHANGED
|
@@ -3,16 +3,16 @@ import pe from "@unicom-cloud/icons/IconUiClose";
|
|
|
3
3
|
import fe from "lodash/isFunction";
|
|
4
4
|
import he, { useContext as Ce, useRef as T, useState as d, useCallback as xe, useMemo as ye, useImperativeHandle as ke, useEffect as z } from "react";
|
|
5
5
|
import F from "../button/index.js";
|
|
6
|
-
import { a as Ne, I as be, b as B } from "../chunk/
|
|
6
|
+
import { a as Ne, I as be, b as B } from "../chunk/CZWGeRVA.js";
|
|
7
7
|
import { u as ge } from "../chunk/BFTV6myl.js";
|
|
8
8
|
import { u as we } from "../chunk/CbLaCJmG.js";
|
|
9
9
|
import Ie from "../portal/index.js";
|
|
10
|
-
import { P as j } from "../chunk/
|
|
10
|
+
import { P as j } from "../chunk/fFjj2KuF.js";
|
|
11
11
|
import { m as g } from "../chunk/JPPo5nY_.js";
|
|
12
12
|
import { isServerRendering as ve, contains as Pe } from "../utils/dom.js";
|
|
13
13
|
import { o as $e } from "../chunk/BrOW642m.js";
|
|
14
14
|
import { o as Ee } from "../chunk/BKKEev13.js";
|
|
15
|
-
import { f as Re } from "../chunk/
|
|
15
|
+
import { f as Re } from "../chunk/ClaNycDy.js";
|
|
16
16
|
const Se = {
|
|
17
17
|
placement: "right",
|
|
18
18
|
width: 250,
|
package/dropdown/Button.js
CHANGED
|
@@ -3,7 +3,7 @@ import "@unicom-cloud/icons/IconUiMore";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import { DropdownButton as f } from "./index.js";
|
|
5
5
|
import "../button/index.js";
|
|
6
|
-
import "../chunk/
|
|
6
|
+
import "../chunk/CZWGeRVA.js";
|
|
7
7
|
import "../chunk/BFTV6myl.js";
|
|
8
8
|
import "../chunk/ClqoGc3r.js";
|
|
9
9
|
export {
|
package/dropdown/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as S } from "react/jsx-runtime";
|
|
2
2
|
import A from "lodash/get";
|
|
3
3
|
import l, { forwardRef as W, useContext as z, useRef as j } from "react";
|
|
4
|
-
import { a as F } from "../chunk/
|
|
4
|
+
import { a as F } from "../chunk/CZWGeRVA.js";
|
|
5
5
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { u as X } from "../chunk/CdaT1b_F.js";
|
|
7
7
|
import Y, { EventsByTriggerNeed as Z } from "../trigger/index.js";
|
|
@@ -9,7 +9,7 @@ import { m as U } from "../chunk/JPPo5nY_.js";
|
|
|
9
9
|
import { s as oo } from "../chunk/D-TPB2Do.js";
|
|
10
10
|
import { o as eo } from "../chunk/BKKEev13.js";
|
|
11
11
|
import { a as L, p as to } from "../chunk/ClqoGc3r.js";
|
|
12
|
-
import { f as no } from "../chunk/
|
|
12
|
+
import { f as no } from "../chunk/ClaNycDy.js";
|
|
13
13
|
import Q from "@unicom-cloud/icons/IconUiMore";
|
|
14
14
|
import k from "../button/index.js";
|
|
15
15
|
const ro = {
|
package/empty/index.js
CHANGED
package/form/Form.js
CHANGED
|
@@ -3,7 +3,7 @@ import { p as k } from "../chunk/CVYWxu00.js";
|
|
|
3
3
|
import v from "lodash/isPlainObject";
|
|
4
4
|
import O from "lodash/merge";
|
|
5
5
|
import { forwardRef as A, useContext as $, useRef as _, useEffect as H, useImperativeHandle as U } from "react";
|
|
6
|
-
import { a as W, b as X } from "../chunk/
|
|
6
|
+
import { a as W, b as X } from "../chunk/CZWGeRVA.js";
|
|
7
7
|
import { u as B } from "../chunk/5_U1CBIu.js";
|
|
8
8
|
import { u as G } from "../chunk/BFTV6myl.js";
|
|
9
9
|
import { m as J } from "../chunk/JPPo5nY_.js";
|
package/form/FormItem.js
CHANGED
|
@@ -4,10 +4,10 @@ import ge from "lodash/isArray";
|
|
|
4
4
|
import he from "lodash/isFunction";
|
|
5
5
|
import y from "lodash/isPlainObject";
|
|
6
6
|
import w from "lodash/isUndefined";
|
|
7
|
-
import { a as Ce } from "../chunk/
|
|
7
|
+
import { a as Ce } from "../chunk/CZWGeRVA.js";
|
|
8
8
|
import Y from "../grid/index.js";
|
|
9
9
|
import { u as ye } from "../chunk/BFTV6myl.js";
|
|
10
|
-
import { P as ve } from "../chunk/
|
|
10
|
+
import { P as ve } from "../chunk/fFjj2KuF.js";
|
|
11
11
|
import { m as v } from "../chunk/JPPo5nY_.js";
|
|
12
12
|
import { o as we } from "../chunk/BKKEev13.js";
|
|
13
13
|
import I from "./Control.js";
|
package/form/util.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as l } from "../chunk/BHL-PzAD.js";
|
|
2
2
|
import h from "lodash/cloneDeepWith";
|
|
3
3
|
import g from "lodash/flatten";
|
|
4
4
|
import v from "lodash/has";
|
|
@@ -18,20 +18,20 @@ const G = (t, n) => h(t, (e) => {
|
|
|
18
18
|
if (E(e))
|
|
19
19
|
return (s) => e(s, n);
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function H(t, n, e) {
|
|
22
22
|
return S(t, n, F(e)), t;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function L(t, n = "") {
|
|
25
25
|
const e = /* @__PURE__ */ new Set(), s = (r, o = "") => r ? e.has(r) ? [] : (e.add(r), g(
|
|
26
26
|
Object.keys(r).map((i) => (d(r[i]) || y(r[i])) && Object.keys(r[i]).length && !O.isValidElement(r[i]) ? s(r[i], `${o + i}.`) : o + i)
|
|
27
27
|
)) : [];
|
|
28
28
|
return s(t, n);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function R(t) {
|
|
31
31
|
var n;
|
|
32
32
|
return ((n = t == null ? void 0 : t.constructor) == null ? void 0 : n.name) === "SyntheticEvent" || (t == null ? void 0 : t.nativeEvent) instanceof Event;
|
|
33
33
|
}
|
|
34
|
-
async function
|
|
34
|
+
async function U(t, n, e, s) {
|
|
35
35
|
const r = [...e || []];
|
|
36
36
|
let o = 0;
|
|
37
37
|
return new Promise(async (i) => {
|
|
@@ -58,7 +58,7 @@ async function X(t, n, e, s) {
|
|
|
58
58
|
f(r[o]);
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function X(t, n) {
|
|
62
62
|
const e = w({}, t, void 0, Object);
|
|
63
63
|
return n.some((s) => v(e, s));
|
|
64
64
|
}
|
|
@@ -67,9 +67,9 @@ export {
|
|
|
67
67
|
$ as ID_SUFFIX,
|
|
68
68
|
F as cloneDeep,
|
|
69
69
|
G as formatValidateMsg,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
X as isFieldMatch,
|
|
71
|
+
R as isSyntheticEvent,
|
|
72
|
+
L as iterativelyGetKeys,
|
|
73
|
+
U as schemaValidate,
|
|
74
|
+
H as set
|
|
75
75
|
};
|
package/grid/Col.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as H } from "react/jsx-runtime";
|
|
|
2
2
|
import T from "lodash/isNumber";
|
|
3
3
|
import q from "lodash/isPlainObject";
|
|
4
4
|
import { forwardRef as C, useContext as S, useMemo as D } from "react";
|
|
5
|
-
import { a as I } from "../chunk/
|
|
5
|
+
import { a as I } from "../chunk/CZWGeRVA.js";
|
|
6
6
|
import { u as J } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { m as K } from "../chunk/JPPo5nY_.js";
|
|
8
8
|
import { RowContext as N } from "./context.js";
|
package/grid/Row.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S, useContext as z, useState as G, useRef as H, useEffect as V } from "react";
|
|
3
|
-
import { a as B } from "../chunk/
|
|
3
|
+
import { a as B } from "../chunk/CZWGeRVA.js";
|
|
4
4
|
import { u as E } from "../chunk/BFTV6myl.js";
|
|
5
5
|
import { m as L } from "../chunk/JPPo5nY_.js";
|
|
6
6
|
import { o as M } from "../chunk/BKKEev13.js";
|
package/grid/grid-item.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as Q } from "react/jsx-runtime";
|
|
|
2
2
|
import T from "lodash/isFunction";
|
|
3
3
|
import V from "lodash/isString";
|
|
4
4
|
import c, { forwardRef as k, useContext as l, useMemo as u, useEffect as q } from "react";
|
|
5
|
-
import { a as z } from "../chunk/
|
|
5
|
+
import { a as z } from "../chunk/CZWGeRVA.js";
|
|
6
6
|
import { u as A } from "../chunk/BFTV6myl.js";
|
|
7
7
|
import { m as H } from "../chunk/JPPo5nY_.js";
|
|
8
8
|
import { GridContext as J, GridDataCollectorContext as K } from "./context.js";
|
package/grid/grid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import $ from "lodash/get";
|
|
3
3
|
import f, { forwardRef as h, useState as S, useContext as E } from "react";
|
|
4
|
-
import { a as T } from "../chunk/
|
|
4
|
+
import { a as T } from "../chunk/CZWGeRVA.js";
|
|
5
5
|
import { u as b } from "../chunk/BFTV6myl.js";
|
|
6
6
|
import { m as j } from "../chunk/JPPo5nY_.js";
|
|
7
7
|
import { GridDataCollectorContext as B, GridContext as Q } from "./context.js";
|
package/hooks/index.js
CHANGED
|
@@ -9,23 +9,24 @@ import { u as v } from "../chunk/C4OrxKE6.js";
|
|
|
9
9
|
import { u as I } from "../chunk/b1e8awfs.js";
|
|
10
10
|
import { u as b } from "../chunk/oopARUrq.js";
|
|
11
11
|
import { u as P } from "../chunk/B2yFlXke.js";
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as W } from "../chunk/
|
|
14
|
-
import { u as
|
|
15
|
-
import { u as
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as F } from "../chunk/
|
|
18
|
-
import { u as
|
|
19
|
-
import { u as
|
|
20
|
-
import { u as j } from "../chunk/
|
|
21
|
-
import { u as A } from "../chunk/
|
|
22
|
-
import { u as G } from "../chunk/
|
|
23
|
-
import { u as N } from "../chunk/
|
|
24
|
-
import { u as T } from "../chunk/
|
|
25
|
-
import { u as Y } from "../chunk/
|
|
26
|
-
import { u as _ } from "../chunk/
|
|
27
|
-
import { u as ee } from "../chunk/
|
|
28
|
-
import { u as oe } from "../chunk/
|
|
12
|
+
import { u as h } from "../chunk/XTEsYGuF.js";
|
|
13
|
+
import { u as W } from "../chunk/BL9DMeor.js";
|
|
14
|
+
import { u as z } from "../chunk/BXAeh0_V.js";
|
|
15
|
+
import { u as M } from "../chunk/BFTV6myl.js";
|
|
16
|
+
import { u as g } from "../chunk/CdaT1b_F.js";
|
|
17
|
+
import { u as F } from "../chunk/zmmqLCF4.js";
|
|
18
|
+
import { u as U } from "../chunk/CbLaCJmG.js";
|
|
19
|
+
import { u as H } from "../chunk/DV7ywe_q.js";
|
|
20
|
+
import { u as j } from "../chunk/BsY85n3_.js";
|
|
21
|
+
import { u as A } from "../chunk/BBkdXHrJ.js";
|
|
22
|
+
import { u as G } from "../chunk/VSe_Wq1g.js";
|
|
23
|
+
import { u as N } from "../chunk/Bg3uJGPu.js";
|
|
24
|
+
import { u as T } from "../chunk/CmZzBtA4.js";
|
|
25
|
+
import { u as Y } from "../chunk/hEWZQ8Zi.js";
|
|
26
|
+
import { u as _ } from "../chunk/Duezix3m.js";
|
|
27
|
+
import { u as ee } from "../chunk/a3hR6zLw.js";
|
|
28
|
+
import { u as oe } from "../chunk/BKT9BFf4.js";
|
|
29
|
+
import { u as ue } from "../chunk/BPD5iNdA.js";
|
|
29
30
|
export {
|
|
30
31
|
a as useComputedState,
|
|
31
32
|
m as useCreate,
|
|
@@ -36,23 +37,24 @@ export {
|
|
|
36
37
|
v as useInterval,
|
|
37
38
|
b as useIsFirstRender,
|
|
38
39
|
P as useIsomorphicLayoutEffect,
|
|
39
|
-
|
|
40
|
-
W as
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
F as
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
j as
|
|
48
|
-
A as
|
|
49
|
-
G as
|
|
50
|
-
N as
|
|
51
|
-
T as
|
|
52
|
-
Y as
|
|
53
|
-
_ as
|
|
40
|
+
h as useKeyboardEvent,
|
|
41
|
+
W as useListenResize,
|
|
42
|
+
z as useMedia,
|
|
43
|
+
M as useMergeProps,
|
|
44
|
+
g as useMergeValue,
|
|
45
|
+
F as useOnlineStatus,
|
|
46
|
+
U as useOverflowHidden,
|
|
47
|
+
H as useOverrideRef,
|
|
48
|
+
j as usePersistCallback,
|
|
49
|
+
A as usePrefersColorSchemeDark,
|
|
50
|
+
G as usePrevious,
|
|
51
|
+
N as useRefs,
|
|
52
|
+
T as useResizeObserver,
|
|
53
|
+
Y as useStateCallback,
|
|
54
|
+
_ as useStateWithPromise,
|
|
55
|
+
ee as useUpdateEffect,
|
|
54
56
|
o as useVerificationCode,
|
|
55
|
-
|
|
57
|
+
oe as useWatch,
|
|
56
58
|
u as useWatermark,
|
|
57
|
-
|
|
59
|
+
ue as useWindowSize
|
|
58
60
|
};
|
package/hooks/useOverrideRef.js
CHANGED
package/hooks/useUpdateEffect.js
CHANGED
package/hooks/useWindowSize.js
CHANGED
package/icon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { C as g } from "../chunk/
|
|
3
|
+
import { C as g } from "../chunk/CZWGeRVA.js";
|
|
4
4
|
import { m as x } from "../chunk/JPPo5nY_.js";
|
|
5
5
|
import { isServerRendering as y } from "../utils/dom.js";
|
|
6
6
|
const C = [];
|
package/icon-hover/index.js
CHANGED
package/image/Image.js
CHANGED
|
@@ -5,7 +5,7 @@ import E from "lodash/isNumber";
|
|
|
5
5
|
import D from "lodash/isPlainObject";
|
|
6
6
|
import Ne from "lodash/isUndefined";
|
|
7
7
|
import Ve, { useContext as H, useMemo as p, useRef as J, useEffect as g } from "react";
|
|
8
|
-
import { a as xe } from "../chunk/
|
|
8
|
+
import { a as xe } from "../chunk/CZWGeRVA.js";
|
|
9
9
|
import { u as Le } from "../chunk/b1e8awfs.js";
|
|
10
10
|
import { u as ye } from "../chunk/XTEsYGuF.js";
|
|
11
11
|
import { u as Ee } from "../chunk/BFTV6myl.js";
|
|
@@ -13,7 +13,7 @@ import { u as Ge } from "../chunk/CdaT1b_F.js";
|
|
|
13
13
|
import { m as Q } from "../chunk/JPPo5nY_.js";
|
|
14
14
|
import { o as Re } from "../chunk/BKKEev13.js";
|
|
15
15
|
import { u as je, I as Se } from "../chunk/DpoumMDw.js";
|
|
16
|
-
import { P as W, u as Ue } from "../chunk/
|
|
16
|
+
import { P as W, u as Ue } from "../chunk/C5X9bDyX.js";
|
|
17
17
|
import Fe from "./ImagePreviewGroup.js";
|
|
18
18
|
import { PreviewGroupContext as Me } from "./previewGroupContext.js";
|
|
19
19
|
let G = 0;
|
package/image/ImagePreview.js
CHANGED
|
@@ -12,7 +12,7 @@ import "@unicom-cloud/icons/IconUiZoomIn";
|
|
|
12
12
|
import "@unicom-cloud/icons/IconUiZoomOut";
|
|
13
13
|
import "lodash/isUndefined";
|
|
14
14
|
import "react";
|
|
15
|
-
import "../chunk/
|
|
15
|
+
import "../chunk/CZWGeRVA.js";
|
|
16
16
|
import "lodash/isEqualWith";
|
|
17
17
|
import "../chunk/CdaT1b_F.js";
|
|
18
18
|
import "../chunk/D-TPB2Do.js";
|
|
@@ -23,19 +23,19 @@ import "../utils/dom.js";
|
|
|
23
23
|
import "../chunk/Biupwn8l.js";
|
|
24
24
|
import "../chunk/BFTV6myl.js";
|
|
25
25
|
import "../chunk/CbLaCJmG.js";
|
|
26
|
-
import "../chunk/
|
|
26
|
+
import "../chunk/ClaNycDy.js";
|
|
27
27
|
import "../chunk/Ce1j9KTi.js";
|
|
28
|
-
import "../chunk/
|
|
28
|
+
import "../chunk/a3hR6zLw.js";
|
|
29
29
|
import "lodash/debounce";
|
|
30
30
|
import "../portal/index.js";
|
|
31
|
-
import "../chunk/
|
|
31
|
+
import "../chunk/fFjj2KuF.js";
|
|
32
32
|
import "../chunk/JPPo5nY_.js";
|
|
33
33
|
import "../chunk/Ey4YJCkX.js";
|
|
34
34
|
import "../chunk/CIRG541s.js";
|
|
35
35
|
import "./ImagePreviewArrow.js";
|
|
36
36
|
import "./ImagePreviewToolbar.js";
|
|
37
37
|
import "./previewGroupContext.js";
|
|
38
|
-
import { P as M } from "../chunk/
|
|
38
|
+
import { P as M } from "../chunk/C5X9bDyX.js";
|
|
39
39
|
export {
|
|
40
40
|
M as default
|
|
41
41
|
};
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import d from "@unicom-cloud/icons/IconUiLeft";
|
|
3
3
|
import p from "@unicom-cloud/icons/IconUiRight";
|
|
4
4
|
import { useContext as w } from "react";
|
|
5
|
-
import { a as u } from "../chunk/
|
|
5
|
+
import { a as u } from "../chunk/CZWGeRVA.js";
|
|
6
6
|
import { m as a } from "../chunk/JPPo5nY_.js";
|
|
7
7
|
function j(l) {
|
|
8
8
|
const {
|