@unicom-cloud/ui 0.8.84 → 0.8.85
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/AutoComplete.js +1 -1
- package/Calendar.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/ColorPicker.js +1 -1
- package/Form.js +13 -13
- package/List.js +1 -1
- package/Mentions.js +1 -1
- package/Pagination.js +1 -1
- package/Radio.js +1 -1
- package/Select.js +1 -1
- package/Space.js +2 -2
- package/Table.js +1 -1
- package/Transfer.js +1 -1
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Typography.js +1 -1
- package/auto-complete/index.js +1 -1
- package/calendar/index.js +1 -1
- package/cascader/Cascader.js +1 -1
- package/cascader/index.js +1 -1
- package/cascader/util.js +1 -1
- package/checkbox/Checkbox.js +1 -1
- package/checkbox/Group.js +1 -1
- package/checkbox/GroupBlock.js +1 -1
- package/checkbox/index.js +2 -2
- package/chunk/BP4igg_F.js +213 -0
- package/chunk/{DO3k0z6J.js → DSXeBMp3.js} +11 -9
- package/color-picker/Panel.js +1 -1
- package/color-picker/index.js +1 -1
- package/development/index.js +1 -1
- package/form/Form.js +14 -158
- package/form/FormList.js +3 -2
- package/form/index.js +57 -56
- package/icons/file.js +67 -0
- package/index.js +288 -283
- package/list/index.js +1 -1
- package/mentions/index.js +1 -1
- package/package.json +1 -1
- package/pagination/PageOption.js +1 -1
- package/pagination/Pagination.js +1 -1
- package/pagination/index.js +1 -1
- package/radio/Group.js +1 -1
- package/radio/GroupBlock.js +1 -1
- package/radio/Radio.js +1 -1
- package/radio/index.js +2 -2
- package/select/Option.js +1 -1
- package/select/Select.js +1 -1
- package/select/index.js +2 -2
- package/select/util.js +1 -1
- package/space/index.js +135 -83
- package/space-/index.js +92 -0
- package/space-/interface.js +1 -0
- package/{space → space-}/toArray.js +2 -2
- package/style.css +1 -1
- package/table/Table.js +1 -1
- package/table/index.js +1 -1
- package/transfer/Item.js +1 -1
- package/transfer/List.js +1 -1
- package/transfer/index.js +1 -1
- package/tree/Animation.js +1 -1
- package/tree/Node.js +1 -1
- package/tree/NodeList.js +1 -1
- package/tree/Tree.js +1 -1
- package/tree/index.js +1 -1
- package/tree-select/List.js +1 -1
- package/tree-select/Select.js +1 -1
- package/tree-select/index.js +2 -2
- package/trigger/index.js +83 -83
- package/types/common/icons/file/index.d.ts +4 -0
- package/types/common/icons/file/interface.d.ts +20 -0
- package/types/common/space/index.d.ts +5 -0
- package/types/common/space/interface.d.ts +32 -0
- package/types/common/utils/color.d.ts +1 -0
- package/types/common/utils/computeScrollIntoView.d.ts +1 -0
- package/types/common/utils/index.d.ts +40 -0
- package/types/common/utils/is.d.ts +1 -1
- package/types/common/utils/math.d.ts +1 -0
- package/types/common/utils/reactTransitionGroup.d.ts +1 -0
- package/types/common/utils/tree.d.ts +1 -0
- package/types/common/utils/tween.d.ts +1 -0
- package/types/common/utils/uuid.d.ts +1 -0
- package/types/common/utils/validate.d.ts +1 -0
- package/types/pc/cascader/base/node.d.ts +1 -1
- package/types/pc/date-picker/RangePicker.d.ts +1 -1
- package/types/pc/form/FormList.d.ts +5 -5
- package/types/pc/form/hook/useForm.d.ts +5 -0
- package/types/pc/form/index.d.ts +3 -2
- package/types/pc/icons/file/index.d.ts +4 -0
- package/types/pc/icons/file/interface.d.ts +7 -0
- package/types/pc/index.d.ts +3 -0
- package/types/pc/space/index.d.ts +3 -5
- package/types/pc/space/interface.d.ts +5 -33
- package/types/pc/space-/index.d.ts +6 -0
- package/types/pc/space-/interface.d.ts +38 -0
- package/types/pc/space-/toArray.d.ts +3 -0
- package/types/pc/table/interface.d.ts +3 -1
- package/types/pc/table/util.d.ts +1 -1
- package/typography/Ellipsis.js +4 -2
- package/typography/index.js +1 -1
- package/version/index.js +1 -1
- package/form/useForm.js +0 -53
- package/types/pc/form/useForm.d.ts +0 -4
- package/types/pc/space/toArray.d.ts +0 -2
package/AutoComplete.js
CHANGED
|
@@ -5,7 +5,7 @@ import "./chunk/B44Hj5ad.js";
|
|
|
5
5
|
import "./chunk/BFTV6myl.js";
|
|
6
6
|
import "./chunk/CXPOj2uy.js";
|
|
7
7
|
import "./input/Input.js";
|
|
8
|
-
import { A as x } from "./chunk/
|
|
8
|
+
import { A as x } from "./chunk/DSXeBMp3.js";
|
|
9
9
|
import "@unicom-cloud/utils/class-name";
|
|
10
10
|
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
11
11
|
import "./chunk/BKKEev13.js";
|
package/Calendar.js
CHANGED
package/Cascader.js
CHANGED
package/Checkbox.js
CHANGED
package/ColorPicker.js
CHANGED
|
@@ -8,7 +8,7 @@ import "./chunk/BFTV6myl.js";
|
|
|
8
8
|
import "./trigger/index.js";
|
|
9
9
|
import "@unicom-cloud/utils/class-name";
|
|
10
10
|
import "./color-picker/colors.js";
|
|
11
|
-
import { d as x } from "./chunk/
|
|
11
|
+
import { d as x } from "./chunk/DSXeBMp3.js";
|
|
12
12
|
import "./color-picker/utils.js";
|
|
13
13
|
export {
|
|
14
14
|
x as default
|
package/Form.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
1
|
+
import { g as e, u as t } from "./chunk/BP4igg_F.js";
|
|
2
|
+
import { default as a } from "./form/Control.js";
|
|
3
|
+
import { default as f } from "./form/FormItem.js";
|
|
4
|
+
import { default as F } from "./form/FormList.js";
|
|
5
5
|
import { default as d } from "./form/FormProvider.js";
|
|
6
|
-
import { default as p, useFormContext as
|
|
7
|
-
import { default as C } from "./form/useForm.js";
|
|
6
|
+
import { default as p, useFormContext as n, useFormState as c, useWatch as g } from "./form/index.js";
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
a as FormControl,
|
|
9
|
+
f as FormItem,
|
|
10
|
+
F as FormList,
|
|
12
11
|
d as FormProvider,
|
|
13
12
|
p as default,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
e as getFormInstance,
|
|
14
|
+
t as useForm,
|
|
15
|
+
n as useFormContext,
|
|
16
|
+
c as useFormState,
|
|
17
|
+
g as useWatch
|
|
18
18
|
};
|
package/List.js
CHANGED
|
@@ -5,7 +5,7 @@ import "./chunk/B44Hj5ad.js";
|
|
|
5
5
|
import "./grid/Col.js";
|
|
6
6
|
import "./grid/Row.js";
|
|
7
7
|
import "./chunk/BFTV6myl.js";
|
|
8
|
-
import { L as I } from "./chunk/
|
|
8
|
+
import { L as I } from "./chunk/DSXeBMp3.js";
|
|
9
9
|
import "./spin/index.js";
|
|
10
10
|
import "@unicom-cloud/utils/class-name";
|
|
11
11
|
import "./chunk/BKKEev13.js";
|
package/Mentions.js
CHANGED
|
@@ -4,7 +4,7 @@ import "./chunk/B44Hj5ad.js";
|
|
|
4
4
|
import "./chunk/BFTV6myl.js";
|
|
5
5
|
import "./chunk/CXPOj2uy.js";
|
|
6
6
|
import "./input/Input.js";
|
|
7
|
-
import { M as s } from "./chunk/
|
|
7
|
+
import { M as s } from "./chunk/DSXeBMp3.js";
|
|
8
8
|
import "@unicom-cloud/utils/class-name";
|
|
9
9
|
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
10
10
|
import "./mentions/util.js";
|
package/Pagination.js
CHANGED
package/Radio.js
CHANGED
package/Select.js
CHANGED
package/Space.js
CHANGED
|
@@ -5,8 +5,8 @@ import "react";
|
|
|
5
5
|
import "./chunk/B44Hj5ad.js";
|
|
6
6
|
import "./chunk/BFTV6myl.js";
|
|
7
7
|
import "@unicom-cloud/utils/class-name";
|
|
8
|
-
import "./space
|
|
9
|
-
import { SpaceVertical as l, default as d } from "./space
|
|
8
|
+
import "./space-/toArray.js";
|
|
9
|
+
import { SpaceVertical as l, default as d } from "./space-/index.js";
|
|
10
10
|
export {
|
|
11
11
|
l as SpaceVertical,
|
|
12
12
|
d as default
|
package/Table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as s, i as l, j as o, T as u, u as m, k as t, l as b, m as T, n, o as r, p as f, q as p } from "./chunk/
|
|
1
|
+
import { h as s, i as l, j as o, T as u, u as m, k as t, l as b, m as T, n, o as r, p as f, q as p } from "./chunk/DSXeBMp3.js";
|
|
2
2
|
import { defaultComponent as C } from "./table/constant.js";
|
|
3
3
|
export {
|
|
4
4
|
s as TableSummary,
|
package/Transfer.js
CHANGED
|
@@ -9,7 +9,7 @@ import "./chunk/BFTV6myl.js";
|
|
|
9
9
|
import "./chunk/CXPOj2uy.js";
|
|
10
10
|
import "@unicom-cloud/utils/class-name";
|
|
11
11
|
import "./chunk/ClqoGc3r.js";
|
|
12
|
-
import { r as x } from "./chunk/
|
|
12
|
+
import { r as x } from "./chunk/DSXeBMp3.js";
|
|
13
13
|
export {
|
|
14
14
|
x as default
|
|
15
15
|
};
|
package/Tree.js
CHANGED
package/TreeSelect.js
CHANGED
package/Typography.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as o, w as t } from "./chunk/
|
|
1
|
+
import { E as o, w as t } from "./chunk/DSXeBMp3.js";
|
|
2
2
|
import { default as f } from "./typography/Paragraph.js";
|
|
3
3
|
import { default as l } from "./typography/Text.js";
|
|
4
4
|
import { default as T } from "./typography/Title.js";
|
package/auto-complete/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import "../chunk/B44Hj5ad.js";
|
|
|
5
5
|
import "../chunk/BFTV6myl.js";
|
|
6
6
|
import "../chunk/CXPOj2uy.js";
|
|
7
7
|
import "../input/Input.js";
|
|
8
|
-
import { A as x } from "../chunk/
|
|
8
|
+
import { A as x } from "../chunk/DSXeBMp3.js";
|
|
9
9
|
import "@unicom-cloud/utils/class-name";
|
|
10
10
|
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
11
11
|
import "../chunk/BKKEev13.js";
|
package/calendar/index.js
CHANGED
package/cascader/Cascader.js
CHANGED
|
@@ -19,7 +19,7 @@ import "../select-view/index.js";
|
|
|
19
19
|
import "../trigger/index.js";
|
|
20
20
|
import "@unicom-cloud/utils/class-name";
|
|
21
21
|
import "@unicom-cloud/utils/constant/keyboardCode";
|
|
22
|
-
import { X as k, a as n } from "../chunk/
|
|
22
|
+
import { X as k, a as n } from "../chunk/DSXeBMp3.js";
|
|
23
23
|
export {
|
|
24
24
|
k as DefaultFieldNames,
|
|
25
25
|
n as default
|
package/cascader/index.js
CHANGED
package/cascader/util.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as s, D as t, B as o, V as r, U as l, H as u, W as S, I as V, Q as m, J as f, K as g } from "../chunk/
|
|
1
|
+
import { F as s, D as t, B as o, V as r, U as l, H as u, W as S, I as V, Q as m, J as f, K as g } from "../chunk/DSXeBMp3.js";
|
|
2
2
|
export {
|
|
3
3
|
s as PANEL_MODE,
|
|
4
4
|
t as SHOW_CHILD,
|
package/checkbox/Checkbox.js
CHANGED
|
@@ -9,7 +9,7 @@ import "../chunk/BFTV6myl.js";
|
|
|
9
9
|
import "../chunk/CXPOj2uy.js";
|
|
10
10
|
import "@unicom-cloud/utils/class-name";
|
|
11
11
|
import "../chunk/BKKEev13.js";
|
|
12
|
-
import { G as f, c as k, b as h } from "../chunk/
|
|
12
|
+
import { G as f, c as k, b as h } from "../chunk/DSXeBMp3.js";
|
|
13
13
|
import { default as C } from "./useCheckbox.js";
|
|
14
14
|
export {
|
|
15
15
|
f as CheckboxGroup,
|
package/checkbox/Group.js
CHANGED
|
@@ -6,7 +6,7 @@ import "../chunk/B44Hj5ad.js";
|
|
|
6
6
|
import "../chunk/CXPOj2uy.js";
|
|
7
7
|
import "@unicom-cloud/utils/class-name";
|
|
8
8
|
import "../utils/constant.js";
|
|
9
|
-
import { y as s, z as u, G } from "../chunk/
|
|
9
|
+
import { y as s, z as u, G } from "../chunk/DSXeBMp3.js";
|
|
10
10
|
export {
|
|
11
11
|
s as CheckboxGroupContext,
|
|
12
12
|
u as ClearCheckboxGroupContext,
|
package/checkbox/GroupBlock.js
CHANGED
package/checkbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as e } from "../chunk/
|
|
2
|
-
import { G as p, c as t } from "../chunk/
|
|
1
|
+
import { b as e } from "../chunk/DSXeBMp3.js";
|
|
2
|
+
import { G as p, c as t } from "../chunk/DSXeBMp3.js";
|
|
3
3
|
import { default as c } from "./useCheckbox.js";
|
|
4
4
|
export {
|
|
5
5
|
p as CheckboxGroup,
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { jsx as F } from "react/jsx-runtime";
|
|
2
|
+
import { p as G } from "./Coz3rCng.js";
|
|
3
|
+
import O from "lodash/isPlainObject";
|
|
4
|
+
import A from "lodash/merge";
|
|
5
|
+
import { useRef as R, forwardRef as _, useContext as $, useEffect as H, useImperativeHandle as U } from "react";
|
|
6
|
+
import { a as X, b as B } from "./B44Hj5ad.js";
|
|
7
|
+
import { u as J } from "./5_U1CBIu.js";
|
|
8
|
+
import { u as K } from "./BFTV6myl.js";
|
|
9
|
+
import L from "@unicom-cloud/utils/class-name";
|
|
10
|
+
import { o as Q } from "./BKKEev13.js";
|
|
11
|
+
import { FormProviderContext as Y, FormContext as Z } from "../form/context.js";
|
|
12
|
+
import ee from "../form/store.js";
|
|
13
|
+
import { ID_SUFFIX as te } from "../form/util.js";
|
|
14
|
+
function re() {
|
|
15
|
+
const e = new ee();
|
|
16
|
+
return {
|
|
17
|
+
getFieldsValue: e.getFieldsValue,
|
|
18
|
+
getFieldValue: e.getFieldValue,
|
|
19
|
+
getFieldError: e.getFieldError,
|
|
20
|
+
getFieldsError: e.getFieldsError,
|
|
21
|
+
getTouchedFields: e.getTouchedFields,
|
|
22
|
+
getFields: e.getFields,
|
|
23
|
+
getInitialValues: e.getInitialValues,
|
|
24
|
+
setInitialValues: e.setInitialValues,
|
|
25
|
+
setInitialValue: e.setInitialValue,
|
|
26
|
+
setFieldValue: e.setFieldValue,
|
|
27
|
+
setFieldsValue: e.setFieldsValue,
|
|
28
|
+
setFields: e.setFields,
|
|
29
|
+
resetFields: e.resetFields,
|
|
30
|
+
clearFields: e.clearFields,
|
|
31
|
+
submit: e.submit,
|
|
32
|
+
validate: e.validate,
|
|
33
|
+
scrollToField: () => {
|
|
34
|
+
},
|
|
35
|
+
getFieldsState: e.getFieldsState,
|
|
36
|
+
getInnerMethods: (a) => {
|
|
37
|
+
const o = {};
|
|
38
|
+
return a && [
|
|
39
|
+
"registerField",
|
|
40
|
+
"registerWatcher",
|
|
41
|
+
"registerStateWatcher",
|
|
42
|
+
"registerFormWatcher",
|
|
43
|
+
"innerSetInitialValues",
|
|
44
|
+
"innerSetInitialValue",
|
|
45
|
+
"innerSetCallbacks",
|
|
46
|
+
"innerSetFieldValue",
|
|
47
|
+
"innerGetStore",
|
|
48
|
+
"innerGetStoreStatus",
|
|
49
|
+
"innerGetFieldValue",
|
|
50
|
+
"innerCollectFormState"
|
|
51
|
+
].map((i) => {
|
|
52
|
+
o[i] = e[i];
|
|
53
|
+
}), o;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function oe(e) {
|
|
58
|
+
const a = R(e);
|
|
59
|
+
a.current || (e ? a.current = e : o());
|
|
60
|
+
function o() {
|
|
61
|
+
a.current = re();
|
|
62
|
+
}
|
|
63
|
+
return [a.current, o];
|
|
64
|
+
}
|
|
65
|
+
function g(e, a) {
|
|
66
|
+
const o = a.replace(/[[.]/g, "_").replace(/\]/g, "");
|
|
67
|
+
return e ? `${e}-${o}` : `${o}`;
|
|
68
|
+
}
|
|
69
|
+
const ie = {
|
|
70
|
+
layout: "horizontal",
|
|
71
|
+
labelCol: { span: 5, offset: 0 },
|
|
72
|
+
labelAlign: "right",
|
|
73
|
+
wrapperCol: { span: 19, offset: 0 },
|
|
74
|
+
requiredSymbol: !0,
|
|
75
|
+
wrapper: "form",
|
|
76
|
+
validateTrigger: "onChange"
|
|
77
|
+
}, ne = (e, a) => {
|
|
78
|
+
var h, b, C, I;
|
|
79
|
+
const o = $(X), i = $(Y), m = R(null), [u] = oe(
|
|
80
|
+
e.form
|
|
81
|
+
), t = K(
|
|
82
|
+
e,
|
|
83
|
+
ie,
|
|
84
|
+
(h = o.componentConfig) == null ? void 0 : h.Form
|
|
85
|
+
), {
|
|
86
|
+
layout: f,
|
|
87
|
+
labelCol: w,
|
|
88
|
+
wrapperCol: y,
|
|
89
|
+
wrapper: E,
|
|
90
|
+
id: p,
|
|
91
|
+
requiredSymbol: M,
|
|
92
|
+
labelAlign: T,
|
|
93
|
+
disabled: N,
|
|
94
|
+
colon: z,
|
|
95
|
+
className: v,
|
|
96
|
+
validateTrigger: P,
|
|
97
|
+
prefixCls: q,
|
|
98
|
+
validateMessages: D,
|
|
99
|
+
...W
|
|
100
|
+
} = t, d = q || ((b = o.getPrefixCls) == null ? void 0 : b.call(o, "form")), j = o.rtl, V = "size" in t ? t.size : o.size, S = u.getInnerMethods(!0);
|
|
101
|
+
J(() => {
|
|
102
|
+
S.innerSetInitialValues(t.initialValues);
|
|
103
|
+
}), H(() => {
|
|
104
|
+
let r;
|
|
105
|
+
return i.register && (r = i.register(t.id, u)), r;
|
|
106
|
+
}, [t.id, u]), u.scrollToField = (r, s) => {
|
|
107
|
+
const n = m.current, l = t.id;
|
|
108
|
+
if (!n)
|
|
109
|
+
return;
|
|
110
|
+
let c = n.querySelector(
|
|
111
|
+
`#${g(l, r)}`
|
|
112
|
+
);
|
|
113
|
+
c || (c = n.querySelector(
|
|
114
|
+
`#${g(l, r)}${te}`
|
|
115
|
+
)), c && G(c, {
|
|
116
|
+
behavior: "smooth",
|
|
117
|
+
block: "nearest",
|
|
118
|
+
scrollMode: "if-needed",
|
|
119
|
+
...s
|
|
120
|
+
});
|
|
121
|
+
}, S.innerSetCallbacks({
|
|
122
|
+
onValuesChange: (r, s) => {
|
|
123
|
+
var n, l;
|
|
124
|
+
(n = t.onValuesChange) == null || n.call(t, r, s), (l = i.onFormValuesChange) == null || l.call(i, t.id, r);
|
|
125
|
+
},
|
|
126
|
+
onChange: t.onChange,
|
|
127
|
+
onValidateFail: (r) => {
|
|
128
|
+
const s = t.scrollToFirstError;
|
|
129
|
+
if (s) {
|
|
130
|
+
const n = O(s) ? s : {};
|
|
131
|
+
u.scrollToField(
|
|
132
|
+
Object.keys(r)[0],
|
|
133
|
+
n
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
onSubmitFailed: t.onSubmitFailed,
|
|
138
|
+
onSubmit: (r) => {
|
|
139
|
+
var n, l;
|
|
140
|
+
const s = (n = t.onSubmit) == null ? void 0 : n.call(t, r);
|
|
141
|
+
return (l = i.onFormSubmit) == null || l.call(i, t.id, r), s;
|
|
142
|
+
},
|
|
143
|
+
onReset: (r) => {
|
|
144
|
+
var n, l;
|
|
145
|
+
const s = (n = t.onReset) == null ? void 0 : n.call(t, r);
|
|
146
|
+
return (l = i == null ? void 0 : i.onFormReset) == null || l.call(i, t.id, r), s;
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
const k = {
|
|
150
|
+
requiredSymbol: M,
|
|
151
|
+
labelAlign: T,
|
|
152
|
+
disabled: N,
|
|
153
|
+
colon: z,
|
|
154
|
+
labelCol: w,
|
|
155
|
+
wrapperCol: y,
|
|
156
|
+
layout: f,
|
|
157
|
+
store: u,
|
|
158
|
+
prefixCls: d,
|
|
159
|
+
validateTrigger: P,
|
|
160
|
+
validateMessages: A(
|
|
161
|
+
{},
|
|
162
|
+
(I = (C = o.locale) == null ? void 0 : C.Form) == null ? void 0 : I.validateMessages,
|
|
163
|
+
D
|
|
164
|
+
),
|
|
165
|
+
getFormElementId: (r) => g(p, r)
|
|
166
|
+
}, x = Z;
|
|
167
|
+
return U(a, () => ({
|
|
168
|
+
...u,
|
|
169
|
+
getRootDOMNode() {
|
|
170
|
+
return m.current;
|
|
171
|
+
}
|
|
172
|
+
})), /* @__PURE__ */ F(B, { ...o, childrenName: "Form", size: V, children: /* @__PURE__ */ F(x.Provider, { value: k, children: /* @__PURE__ */ F(
|
|
173
|
+
E,
|
|
174
|
+
{
|
|
175
|
+
ref: m,
|
|
176
|
+
...Q(W, [
|
|
177
|
+
"form",
|
|
178
|
+
"size",
|
|
179
|
+
"initialValues",
|
|
180
|
+
"onValuesChange",
|
|
181
|
+
"onChange",
|
|
182
|
+
"wrapperProps",
|
|
183
|
+
"scrollToFirstError",
|
|
184
|
+
"onSubmit",
|
|
185
|
+
"onSubmitFailed",
|
|
186
|
+
"onReset"
|
|
187
|
+
]),
|
|
188
|
+
...t.wrapperProps,
|
|
189
|
+
className: L(
|
|
190
|
+
d,
|
|
191
|
+
`${d}-${f}`,
|
|
192
|
+
`${d}-size-${V}`,
|
|
193
|
+
{ [`${d}-rtl`]: j },
|
|
194
|
+
v
|
|
195
|
+
),
|
|
196
|
+
style: t.style,
|
|
197
|
+
onSubmit: (r) => {
|
|
198
|
+
r.preventDefault(), r.stopPropagation(), u.submit();
|
|
199
|
+
},
|
|
200
|
+
onReset: (r) => {
|
|
201
|
+
r.preventDefault(), r.stopPropagation(), u.resetFields();
|
|
202
|
+
},
|
|
203
|
+
id: p,
|
|
204
|
+
children: t.children
|
|
205
|
+
}
|
|
206
|
+
) }) });
|
|
207
|
+
}, se = _(ne);
|
|
208
|
+
se.displayName = "Form";
|
|
209
|
+
export {
|
|
210
|
+
se as F,
|
|
211
|
+
re as g,
|
|
212
|
+
oe as u
|
|
213
|
+
};
|
|
@@ -101,6 +101,7 @@ import "../dropdown/index.js";
|
|
|
101
101
|
import "../form/index.js";
|
|
102
102
|
import "../grid/index.js";
|
|
103
103
|
import "../icon/index.js";
|
|
104
|
+
import "../icons/file.js";
|
|
104
105
|
import "../image/Image.js";
|
|
105
106
|
import "../input-tag/InputTag.js";
|
|
106
107
|
import "../layout/index.js";
|
|
@@ -136,6 +137,7 @@ import "../result/index.js";
|
|
|
136
137
|
import "../skeleton/index.js";
|
|
137
138
|
import "../slider/index.js";
|
|
138
139
|
import Oo from "../space/index.js";
|
|
140
|
+
import "../space-/index.js";
|
|
139
141
|
import "../speech-synthesis/index.js";
|
|
140
142
|
import "../statistic/index.js";
|
|
141
143
|
import "../steps/index.js";
|
|
@@ -187,7 +189,7 @@ const as = {
|
|
|
187
189
|
},
|
|
188
190
|
unRegisterValue: () => {
|
|
189
191
|
}
|
|
190
|
-
}, nr = jn(as),
|
|
192
|
+
}, nr = jn(as), yu = ({
|
|
191
193
|
children: e
|
|
192
194
|
}) => /* @__PURE__ */ o(nr.Provider, { value: as, children: e });
|
|
193
195
|
function cs(e) {
|
|
@@ -268,7 +270,7 @@ const ds = {
|
|
|
268
270
|
type: "radio",
|
|
269
271
|
mode: "outline",
|
|
270
272
|
direction: "horizontal"
|
|
271
|
-
}, wn = jn(ds),
|
|
273
|
+
}, wn = jn(ds), Cu = ({ children: e }) => /* @__PURE__ */ o(wn.Provider, { value: ds, children: e });
|
|
272
274
|
function us(e) {
|
|
273
275
|
const {
|
|
274
276
|
getPrefixCls: s,
|
|
@@ -3315,7 +3317,7 @@ function qi(e) {
|
|
|
3315
3317
|
)) ?? {} : { onHandleSave: () => {
|
|
3316
3318
|
} }, J = n == null ? void 0 : n.render;
|
|
3317
3319
|
let R = Ke(() => J == null ? void 0 : J(
|
|
3318
|
-
Te(b, n == null ? void 0 : n.dataIndex),
|
|
3320
|
+
Te(b, (n == null ? void 0 : n.dataIndex) ?? ""),
|
|
3319
3321
|
Ue(b),
|
|
3320
3322
|
f,
|
|
3321
3323
|
n,
|
|
@@ -4697,7 +4699,7 @@ function cl(e) {
|
|
|
4697
4699
|
)
|
|
4698
4700
|
] });
|
|
4699
4701
|
}
|
|
4700
|
-
function
|
|
4702
|
+
function bu(e = {}) {
|
|
4701
4703
|
function s(i, t) {
|
|
4702
4704
|
return {
|
|
4703
4705
|
column: i,
|
|
@@ -6589,7 +6591,7 @@ cn.Node = st.Node;
|
|
|
6589
6591
|
cn.SHOW_ALL = st.SHOW_ALL;
|
|
6590
6592
|
cn.SHOW_PARENT = st.SHOW_PARENT;
|
|
6591
6593
|
cn.SHOW_CHILD = st.SHOW_CHILD;
|
|
6592
|
-
const
|
|
6594
|
+
const ku = st.Node, Ll = {
|
|
6593
6595
|
rows: 1,
|
|
6594
6596
|
expandable: !0,
|
|
6595
6597
|
defaultExpanded: !1
|
|
@@ -7813,14 +7815,14 @@ export {
|
|
|
7813
7815
|
Ui as n,
|
|
7814
7816
|
Gi as o,
|
|
7815
7817
|
ji as p,
|
|
7816
|
-
|
|
7818
|
+
bu as q,
|
|
7817
7819
|
yl as r,
|
|
7818
7820
|
st as s,
|
|
7819
7821
|
cn as t,
|
|
7820
7822
|
zi as u,
|
|
7821
|
-
|
|
7823
|
+
ku as v,
|
|
7822
7824
|
Dt as w,
|
|
7823
|
-
|
|
7825
|
+
Cu as x,
|
|
7824
7826
|
nr as y,
|
|
7825
|
-
|
|
7827
|
+
yu as z
|
|
7826
7828
|
};
|
package/color-picker/Panel.js
CHANGED
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../chunk/9TSjT7x_.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../chunk/B44Hj5ad.js";
|
|
5
|
-
import { Z as b } from "../chunk/
|
|
5
|
+
import { Z as b } from "../chunk/DSXeBMp3.js";
|
|
6
6
|
import "../tooltip/index.js";
|
|
7
7
|
import "@unicom-cloud/utils/class-name";
|
|
8
8
|
import "./ControlBar.js";
|
package/color-picker/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import "../chunk/BFTV6myl.js";
|
|
|
8
8
|
import "../trigger/index.js";
|
|
9
9
|
import "@unicom-cloud/utils/class-name";
|
|
10
10
|
import "./colors.js";
|
|
11
|
-
import { d as x } from "../chunk/
|
|
11
|
+
import { d as x } from "../chunk/DSXeBMp3.js";
|
|
12
12
|
import "./utils.js";
|
|
13
13
|
export {
|
|
14
14
|
x as default
|
package/development/index.js
CHANGED
|
@@ -19,7 +19,7 @@ function V(A, D) {
|
|
|
19
19
|
},
|
|
20
20
|
"img"
|
|
21
21
|
),
|
|
22
|
-
/* @__PURE__ */ w("div", { className: B(`${g}-label`, A.labelClassName), children: A.tip ?? A.label ?? "
|
|
22
|
+
/* @__PURE__ */ w("div", { className: B(`${g}-label`, A.labelClassName), children: A.tip ?? A.label ?? "等待开发" })
|
|
23
23
|
] });
|
|
24
24
|
}
|
|
25
25
|
const t = M(V);
|