@unicom-cloud/ui 0.8.68 → 0.8.69
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/form/Control.js +84 -81
- package/index.js +184 -184
- package/package.json +1 -1
- package/types/index.d.ts +1 -1
- package/types/version/index.d.ts +4 -4
- package/version/index.js +5 -5
package/form/Control.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var P = (p, g, e) => g in p ?
|
|
3
|
-
var
|
|
1
|
+
var M = Object.defineProperty;
|
|
2
|
+
var P = (p, g, e) => g in p ? M(p, g, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[g] = e;
|
|
3
|
+
var s = (p, g, e) => P(p, typeof g != "symbol" ? g + "" : g, e);
|
|
4
4
|
import { jsx as m, jsxs as E } from "react/jsx-runtime";
|
|
5
5
|
import W from "@unicom-cloud/icons/IconUiCheckCircleFill";
|
|
6
6
|
import $ from "@unicom-cloud/icons/IconUiCloseCircleFill";
|
|
7
7
|
import N from "@unicom-cloud/icons/IconUiExclamationCircleFill";
|
|
8
8
|
import L from "@unicom-cloud/icons/IconUiLoading";
|
|
9
|
-
import
|
|
9
|
+
import V from "lodash/get";
|
|
10
10
|
import b from "lodash/isArray";
|
|
11
11
|
import R from "lodash/isBoolean";
|
|
12
12
|
import y from "lodash/isEqualWith";
|
|
@@ -20,51 +20,51 @@ import { FormItemContext as O } from "./context.js";
|
|
|
20
20
|
import { isFieldMatch as C, schemaValidate as k, isSyntheticEvent as q, ID_SUFFIX as B } from "./util.js";
|
|
21
21
|
class x extends z {
|
|
22
22
|
constructor(e, t) {
|
|
23
|
-
var i,
|
|
23
|
+
var i, l, o;
|
|
24
24
|
super(e);
|
|
25
|
-
|
|
25
|
+
s(this, "context");
|
|
26
26
|
// 校验信息
|
|
27
|
-
|
|
27
|
+
s(this, "errors", null);
|
|
28
28
|
// 校验 warning 信息
|
|
29
|
-
|
|
29
|
+
s(this, "warnings", null);
|
|
30
30
|
// undefined => validating => success / error => (validating or undefined)
|
|
31
|
-
|
|
31
|
+
s(this, "validateStatus");
|
|
32
32
|
// 是否被用户操作过
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
s(this, "touched");
|
|
34
|
+
s(this, "isDestroyed", !1);
|
|
35
35
|
// 保存 props.children 或函数类型 props.children() 的返回值
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
s(this, "childrenElement", null);
|
|
37
|
+
s(this, "removeRegisterField");
|
|
38
38
|
// 触发 store 进行状态收集
|
|
39
39
|
// TODO: error, validateStatus ,touched 状态和 UI 组件解耦,统一维护在 store 内部
|
|
40
|
-
|
|
40
|
+
s(this, "triggerStateCollect", () => {
|
|
41
41
|
const { innerCollectFormState: e } = this.context.store.getInnerMethods(!0);
|
|
42
42
|
e();
|
|
43
43
|
});
|
|
44
44
|
// 切换校验状态
|
|
45
|
-
|
|
45
|
+
s(this, "toggleValidateStatus", (e) => {
|
|
46
46
|
this.validateStatus = e, this.triggerStateCollect();
|
|
47
47
|
});
|
|
48
48
|
// 切换 touch 状态
|
|
49
|
-
|
|
49
|
+
s(this, "toggleTouched", (e) => {
|
|
50
50
|
this.touched = R(e) ? e : !this.touched, this.triggerStateCollect();
|
|
51
51
|
});
|
|
52
|
-
|
|
52
|
+
s(this, "setWarnings", (e) => {
|
|
53
53
|
this.warnings = e, this.triggerStateCollect();
|
|
54
54
|
});
|
|
55
|
-
|
|
55
|
+
s(this, "setErrors", (e) => {
|
|
56
56
|
this.errors = e, this.triggerStateCollect();
|
|
57
57
|
});
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
s(this, "getErrors", () => this.errors);
|
|
59
|
+
s(this, "getWarnings", () => this.warnings || []);
|
|
60
|
+
s(this, "isTouched", () => this.touched);
|
|
61
|
+
s(this, "getValidateStatus", () => this.props.validateStatus ? this.props.validateStatus : this.validateStatus);
|
|
62
|
+
s(this, "hasFieldProps", () => !!this.props.field);
|
|
63
|
+
s(this, "clearFormItemError", (e = this.props.field) => {
|
|
64
64
|
const { updateFormItem: t } = this.context;
|
|
65
65
|
t == null || t(e, { errors: null, warnings: null });
|
|
66
66
|
});
|
|
67
|
-
|
|
67
|
+
s(this, "updateFormItem", () => {
|
|
68
68
|
if (this.isDestroyed) return;
|
|
69
69
|
this.forceUpdate();
|
|
70
70
|
const { updateFormItem: e } = this.context;
|
|
@@ -73,17 +73,17 @@ class x extends z {
|
|
|
73
73
|
warnings: this.warnings
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
|
-
|
|
76
|
+
s(this, "getFieldValue", () => {
|
|
77
77
|
const e = this.props.field, t = this.context.store;
|
|
78
78
|
return e ? t.getInnerMethods(!0).innerGetFieldValue(e) : void 0;
|
|
79
79
|
});
|
|
80
|
-
|
|
81
|
-
const i = b(t.field) ? t.field : [t.field], { field:
|
|
82
|
-
if (
|
|
83
|
-
b(
|
|
84
|
-
else if (
|
|
80
|
+
s(this, "onStoreChange", (e, t) => {
|
|
81
|
+
const i = b(t.field) ? t.field : [t.field], { field: l, shouldUpdate: o, dependencies: r } = this.props, a = (d) => {
|
|
82
|
+
if (r && o && U(!0, "`shouldUpdate` of the `Form.Item` will be ignored."), r)
|
|
83
|
+
b(r) && r.some((n) => C(n, i)) && this.isTouched() && this.validateField();
|
|
84
|
+
else if (o) {
|
|
85
85
|
let n = !1;
|
|
86
|
-
F(
|
|
86
|
+
F(o) ? n = o(t.prev, t.current, {
|
|
87
87
|
field: t.field,
|
|
88
88
|
...d
|
|
89
89
|
}) : n = !y(t.prev, t.current), n && this.updateFormItem();
|
|
@@ -91,10 +91,10 @@ class x extends z {
|
|
|
91
91
|
};
|
|
92
92
|
switch (e) {
|
|
93
93
|
case "reset":
|
|
94
|
-
this.toggleTouched(!1), this.toggleValidateStatus(void 0), this.setErrors(null), this.setWarnings(null),
|
|
94
|
+
this.toggleTouched(!1), this.toggleValidateStatus(void 0), this.setErrors(null), this.setWarnings(null), r || o ? a() : this.updateFormItem();
|
|
95
95
|
break;
|
|
96
96
|
case "innerSetValue":
|
|
97
|
-
if (C(
|
|
97
|
+
if (C(l, i)) {
|
|
98
98
|
this.toggleTouched(!0), this.updateFormItem();
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
@@ -104,31 +104,31 @@ class x extends z {
|
|
|
104
104
|
});
|
|
105
105
|
break;
|
|
106
106
|
case "setFieldValue":
|
|
107
|
-
if (C(
|
|
107
|
+
if (C(l, i)) {
|
|
108
108
|
this.toggleTouched(!0), t.data && "touched" in t.data && this.toggleTouched(t.data.touched), t.data && "warnings" in t.data && this.setWarnings(
|
|
109
109
|
_(t.data.warnings) ? [] : [].concat(t.data.warnings)
|
|
110
|
-
), t.data && "errors" in t.data ? this.setErrors(t.data.errors) : y(
|
|
110
|
+
), t.data && "errors" in t.data ? this.setErrors(t.data.errors) : y(V(t.prev, l), V(t.current, l)) || this.setErrors(null), this.updateFormItem();
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
113
|
a();
|
|
114
114
|
break;
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
|
-
|
|
118
|
-
var
|
|
117
|
+
s(this, "innerSetFieldValue", (e, t) => {
|
|
118
|
+
var r, a;
|
|
119
119
|
if (!e) return;
|
|
120
120
|
const { store: i } = this.context;
|
|
121
121
|
i.getInnerMethods(!0).innerSetFieldValue(e, t);
|
|
122
|
-
const
|
|
123
|
-
j(
|
|
122
|
+
const o = {};
|
|
123
|
+
j(o, e, t), (a = (r = this.props) == null ? void 0 : r.onValuesChange) == null || a.call(r, o, {
|
|
124
124
|
...i.getFieldsValue()
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
127
|
// 仅仅校验下值,不做任何状态变更
|
|
128
|
-
|
|
129
|
-
const { validateMessages: e } = this.context, { field: t, rules: i } = this.props,
|
|
130
|
-
return k(t,
|
|
131
|
-
({ error:
|
|
128
|
+
s(this, "validateFieldOnly", () => {
|
|
129
|
+
const { validateMessages: e } = this.context, { field: t, rules: i } = this.props, l = this.getFieldValue();
|
|
130
|
+
return k(t, l, i, e).then(
|
|
131
|
+
({ error: o, warning: r }) => Promise.resolve({ error: o, value: l, warning: r, field: t })
|
|
132
132
|
);
|
|
133
133
|
});
|
|
134
134
|
/**
|
|
@@ -136,27 +136,27 @@ class x extends z {
|
|
|
136
136
|
* @param triggerType the value of validateTrigger.
|
|
137
137
|
* @returns
|
|
138
138
|
*/
|
|
139
|
-
|
|
140
|
-
const { validateTrigger: t, validateMessages: i } = this.context, { field:
|
|
139
|
+
s(this, "validateField", (e) => {
|
|
140
|
+
const { validateTrigger: t, validateMessages: i } = this.context, { field: l, rules: o, validateTrigger: r } = this.props, a = this.getFieldValue(), d = () => {
|
|
141
141
|
var c;
|
|
142
142
|
const h = this.errors || ((c = this.warnings) == null ? void 0 : c.length);
|
|
143
143
|
this.toggleValidateStatus("validating"), this.setErrors(null), this.setWarnings(null), h && this.updateFormItem();
|
|
144
|
-
}, n = e ? (
|
|
145
|
-
h.validateTrigger ||
|
|
146
|
-
).indexOf(e) > -1) :
|
|
147
|
-
return n && n.length &&
|
|
144
|
+
}, n = e ? (o || []).filter((h) => [].concat(
|
|
145
|
+
h.validateTrigger || r || t
|
|
146
|
+
).indexOf(e) > -1) : o;
|
|
147
|
+
return n && n.length && l ? (d(), k(l, a, n, i).then(
|
|
148
148
|
({ error: h, warning: c }) => {
|
|
149
149
|
var u;
|
|
150
|
-
return this.setErrors(h ? h[
|
|
150
|
+
return this.setErrors(h ? h[l] : null), this.setWarnings(c || null), this.toggleValidateStatus(
|
|
151
151
|
this.errors ? "error" : (u = this.warnings) != null && u.length ? "warning" : "success"
|
|
152
|
-
), this.updateFormItem(), Promise.resolve({ error: h, value: a, field:
|
|
152
|
+
), this.updateFormItem(), Promise.resolve({ error: h, value: a, field: l });
|
|
153
153
|
}
|
|
154
|
-
)) : Promise.resolve({ error: null, value: a, field:
|
|
154
|
+
)) : Promise.resolve({ error: null, value: a, field: l });
|
|
155
155
|
});
|
|
156
156
|
// 每次 render 都会作为 onChange 传递给 children,需要保证引用地址不变
|
|
157
157
|
// 所以 handleTrigger 需要声明在类上,并且直接作为 children.props.onChange
|
|
158
|
-
|
|
159
|
-
const i = this.childrenElement || this.props.children, { store:
|
|
158
|
+
s(this, "handleTrigger", (e, ...t) => {
|
|
159
|
+
const i = this.childrenElement || this.props.children, { store: l } = this.context, { field: o, trigger: r, normalize: a, getValueFromEvent: d } = this.props, n = F(d) ? d(e, ...t) : e;
|
|
160
160
|
let h = n;
|
|
161
161
|
if (q(n)) {
|
|
162
162
|
U(
|
|
@@ -165,11 +165,11 @@ class x extends z {
|
|
|
165
165
|
), n.stopPropagation();
|
|
166
166
|
return;
|
|
167
167
|
}
|
|
168
|
-
typeof a == "function" && (h = a(n,
|
|
169
|
-
...
|
|
170
|
-
})), this.toggleTouched(!0), this.innerSetFieldValue(
|
|
168
|
+
typeof a == "function" && (h = a(n, l.getFieldValue(o), {
|
|
169
|
+
...l.getFieldsValue()
|
|
170
|
+
})), this.toggleTouched(!0), this.innerSetFieldValue(o, h), this.validateField(r), A(i) && i.props && i.props[r] && (this.props.isFormList || i.props[r](h, ...t));
|
|
171
171
|
});
|
|
172
|
-
|
|
172
|
+
s(this, "getChild", () => {
|
|
173
173
|
const { children: e } = this.props, { store: t } = this.context;
|
|
174
174
|
let i = e;
|
|
175
175
|
return F(e) && (i = e(
|
|
@@ -183,7 +183,10 @@ class x extends z {
|
|
|
183
183
|
}
|
|
184
184
|
)), this.childrenElement = i, i;
|
|
185
185
|
});
|
|
186
|
-
"initialValue" in e && this.hasFieldProps()
|
|
186
|
+
if ("initialValue" in e && this.hasFieldProps()) {
|
|
187
|
+
const r = (l = (i = t == null ? void 0 : t.store) == null ? void 0 : i.getInnerMethods) == null ? void 0 : l.call(i, !0);
|
|
188
|
+
(o = r == null ? void 0 : r.innerSetInitialValue) == null || o.call(r, e.field, e.initialValue);
|
|
189
|
+
}
|
|
187
190
|
}
|
|
188
191
|
componentDidMount() {
|
|
189
192
|
const { store: e } = this.context ?? {};
|
|
@@ -207,56 +210,56 @@ class x extends z {
|
|
|
207
210
|
getValidateTrigger() {
|
|
208
211
|
const e = this.props.validateTrigger || this.context.validateTrigger || "onChange", t = this.props.rules || [];
|
|
209
212
|
let i = [];
|
|
210
|
-
return t.map((
|
|
211
|
-
i = i.concat(
|
|
213
|
+
return t.map((l) => {
|
|
214
|
+
i = i.concat(l.validateTrigger || e);
|
|
212
215
|
}), Array.from(new Set(i));
|
|
213
216
|
}
|
|
214
217
|
renderControl(e, t) {
|
|
215
218
|
var T;
|
|
216
219
|
const {
|
|
217
220
|
field: i,
|
|
218
|
-
trigger:
|
|
219
|
-
triggerPropName:
|
|
220
|
-
validateStatus:
|
|
221
|
+
trigger: l = "onChange",
|
|
222
|
+
triggerPropName: o = "value",
|
|
223
|
+
validateStatus: r,
|
|
221
224
|
formatter: a
|
|
222
225
|
} = this.props, { store: d, disabled: n } = this.context, h = "disabled" in this.props ? this.props.disabled : n, c = I.Children.only(e), u = {
|
|
223
226
|
// used by label
|
|
224
227
|
id: G(((T = c.props) == null ? void 0 : T.id) || { [`${t}${B}`]: t })
|
|
225
228
|
};
|
|
226
|
-
this.getValidateTrigger().forEach((
|
|
227
|
-
u[
|
|
229
|
+
this.getValidateTrigger().forEach((S) => {
|
|
230
|
+
u[S] = (D) => {
|
|
228
231
|
var f, w;
|
|
229
|
-
this.validateField(
|
|
232
|
+
this.validateField(S), (w = (f = c.props) == null ? void 0 : f[S]) == null || w.call(f, D);
|
|
230
233
|
};
|
|
231
|
-
}), u[
|
|
232
|
-
let v =
|
|
233
|
-
return F(a) && (v = a(v)), u[
|
|
234
|
+
}), u[l] = this.handleTrigger, h !== void 0 && !("disabled" in c.props) && (u.disabled = h);
|
|
235
|
+
let v = V(d.getInnerMethods(!0).innerGetStore(), i);
|
|
236
|
+
return F(a) && (v = a(v)), u[o] = v, !r && this.errors && (u.error = !0), I.cloneElement(c, u);
|
|
234
237
|
}
|
|
235
238
|
render() {
|
|
236
|
-
const { noStyle: e, field: t, isFormList: i, hasFeedback:
|
|
239
|
+
const { noStyle: e, field: t, isFormList: i, hasFeedback: l } = this.props, o = this.getValidateStatus(), { prefixCls: r, getFormElementId: a } = this.context;
|
|
237
240
|
let d = this.getChild();
|
|
238
241
|
const n = this.hasFieldProps() ? a == null ? void 0 : a(t) : void 0;
|
|
239
|
-
return this.hasFieldProps() && !i && I.Children.count(d) === 1 && (d = this.renderControl(d, n)), e ? d : /* @__PURE__ */ m("div", { className: `${
|
|
242
|
+
return this.hasFieldProps() && !i && I.Children.count(d) === 1 && (d = this.renderControl(d, n)), e ? d : /* @__PURE__ */ m("div", { className: `${r}-item-control-wrapper`, children: /* @__PURE__ */ m("div", { className: `${r}-item-control`, id: n, children: /* @__PURE__ */ E("div", { className: `${r}-item-control-children`, children: [
|
|
240
243
|
d,
|
|
241
|
-
|
|
244
|
+
o && l && /* @__PURE__ */ E(
|
|
242
245
|
"div",
|
|
243
246
|
{
|
|
244
|
-
className: `${
|
|
247
|
+
className: `${r}-item-feedback ${r}-item-feedback-${o}`,
|
|
245
248
|
children: [
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
249
|
+
o === "warning" && /* @__PURE__ */ m(N, {}),
|
|
250
|
+
o === "success" && /* @__PURE__ */ m(W, {}),
|
|
251
|
+
o === "error" && /* @__PURE__ */ m($, {}),
|
|
252
|
+
o === "validating" && /* @__PURE__ */ m(L, {})
|
|
250
253
|
]
|
|
251
254
|
}
|
|
252
255
|
)
|
|
253
256
|
] }) }) });
|
|
254
257
|
}
|
|
255
258
|
}
|
|
256
|
-
|
|
259
|
+
s(x, "defaultProps", {
|
|
257
260
|
trigger: "onChange",
|
|
258
261
|
triggerPropName: "value"
|
|
259
|
-
}),
|
|
262
|
+
}), s(x, "isFormControl", !0), s(x, "contextType", O);
|
|
260
263
|
export {
|
|
261
264
|
x as default
|
|
262
265
|
};
|
package/index.js
CHANGED
|
@@ -8,17 +8,17 @@ import { u as c } from "./chunk/Biupwn8l.js";
|
|
|
8
8
|
import { u as T } from "./chunk/C4OrxKE6.js";
|
|
9
9
|
import { u as b } from "./chunk/b1e8awfs.js";
|
|
10
10
|
import { u as y } from "./chunk/oopARUrq.js";
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as
|
|
15
|
-
import { u as
|
|
16
|
-
import { u as
|
|
11
|
+
import { u as P } from "./chunk/B2yFlXke.js";
|
|
12
|
+
import { u as I } from "./chunk/XTEsYGuF.js";
|
|
13
|
+
import { u as A } from "./chunk/BXAeh0_V.js";
|
|
14
|
+
import { u as v } from "./chunk/BFTV6myl.js";
|
|
15
|
+
import { u as O } from "./chunk/CdaT1b_F.js";
|
|
16
|
+
import { u as M } from "./chunk/zmmqLCF4.js";
|
|
17
17
|
import { u as F } from "./chunk/CbLaCJmG.js";
|
|
18
18
|
import { u as B } from "./chunk/DonYzv30.js";
|
|
19
|
-
import { u as
|
|
20
|
-
import { u as
|
|
21
|
-
import { u as
|
|
19
|
+
import { u as V } from "./chunk/BsY85n3_.js";
|
|
20
|
+
import { u as G } from "./chunk/BBkdXHrJ.js";
|
|
21
|
+
import { u as j } from "./chunk/VSe_Wq1g.js";
|
|
22
22
|
import { u as _ } from "./chunk/Bg3uJGPu.js";
|
|
23
23
|
import { u as Y } from "./chunk/CmZzBtA4.js";
|
|
24
24
|
import { u as K } from "./chunk/hEWZQ8Zi.js";
|
|
@@ -29,11 +29,11 @@ import { u as ae } from "./chunk/Clo26EcR.js";
|
|
|
29
29
|
import { C as oe, g as te } from "./chunk/BDB0LByj.js";
|
|
30
30
|
import { i as fe, i as pe, p as me, p as ue } from "./chunk/CVYWxu00.js";
|
|
31
31
|
import { c as ie, P as de, m as xe, h as ne, u as ce, b as Se } from "./chunk/DzVH9IBy.js";
|
|
32
|
-
import { n as ge, d as be, j as Ce, k as ye, S as
|
|
33
|
-
import { x as
|
|
32
|
+
import { n as ge, d as be, j as Ce, k as ye, S as Re, R as Pe, b as he, H as Ie, T as ke, l as Ae, A as Ee, p as ve, W as Ne } from "./chunk/B4JiMp8I.js";
|
|
33
|
+
import { x as De, I as Me } from "./chunk/uKZyjtff.js";
|
|
34
34
|
import { t as Fe, Y as Le, p as Be } from "./chunk/CCv-5KFt.js";
|
|
35
|
-
import { v4 as
|
|
36
|
-
import { default as
|
|
35
|
+
import { v4 as Ve, v4 as We } from "uuid";
|
|
36
|
+
import { default as Ue } from "./affix/index.js";
|
|
37
37
|
import { default as ze } from "./alert/index.js";
|
|
38
38
|
import { default as qe } from "./anchor/Anchor.js";
|
|
39
39
|
import { default as Je } from "./auto-complete/index.js";
|
|
@@ -48,10 +48,10 @@ import { default as na } from "./carousel/index.js";
|
|
|
48
48
|
import { C as Sa } from "./chunk/Bi4UkwOR.js";
|
|
49
49
|
import { C as ga } from "./chunk/SSK90wgo.js";
|
|
50
50
|
import { C as Ca } from "./chunk/BSaQv6mx.js";
|
|
51
|
-
import { default as
|
|
52
|
-
import { C as ha, a as
|
|
51
|
+
import { default as Ra } from "./comment/index.js";
|
|
52
|
+
import { C as ha, a as Ia, b as ka, d as Aa, E as Ea, I as va, M as Na, N as Oa, u as Da, c as Ma } from "./chunk/ll867Bf3.js";
|
|
53
53
|
import { default as Fa } from "./copy/index.js";
|
|
54
|
-
import { default as Ba, MonthPicker as Ha, QuarterPicker as
|
|
54
|
+
import { default as Ba, MonthPicker as Ha, QuarterPicker as Va, RangePicker as Wa, WeekPicker as Ga, YearPicker as Ua } from "./date-picker/index.js";
|
|
55
55
|
import { default as za } from "./descriptions/index.js";
|
|
56
56
|
import { default as qa } from "./divider/index.js";
|
|
57
57
|
import { default as Ja } from "./drawer/Drawer.js";
|
|
@@ -63,16 +63,16 @@ import { default as ur } from "./image/Image.js";
|
|
|
63
63
|
import { default as ir, InputNumber as dr, InputPassword as xr, InputSearch as nr, InputTextArea as cr, InputTextArea as Sr } from "./input/Input.js";
|
|
64
64
|
import { default as gr } from "./input-tag/InputTag.js";
|
|
65
65
|
import { default as Cr } from "./layout/index.js";
|
|
66
|
-
import { default as
|
|
66
|
+
import { default as Rr } from "./link/index.js";
|
|
67
67
|
import { default as hr } from "./list/index.js";
|
|
68
|
-
import { default as
|
|
69
|
-
import { M as
|
|
70
|
-
import { E as
|
|
68
|
+
import { default as kr } from "./mentions/index.js";
|
|
69
|
+
import { M as Er, S as vr, S as Nr } from "./chunk/C98ks5S8.js";
|
|
70
|
+
import { E as Dr } from "./chunk/BjpUSKM3.js";
|
|
71
71
|
import { default as wr } from "./page-header/index.js";
|
|
72
72
|
import { default as Lr } from "./pagination/Pagination.js";
|
|
73
73
|
import { default as Hr } from "./popconfirm/index.js";
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
74
|
+
import { default as Wr } from "./popover/index.js";
|
|
75
|
+
import { default as Ur } from "./portal/index.js";
|
|
76
76
|
import { default as zr } from "./progress/index.js";
|
|
77
77
|
import { default as qr } from "./color-picker/index.js";
|
|
78
78
|
import { default as Jr } from "./loading/index.js";
|
|
@@ -87,15 +87,15 @@ import { default as xo, SpaceVertical as no } from "./space/index.js";
|
|
|
87
87
|
import { default as So } from "./speech-synthesis/index.js";
|
|
88
88
|
import { default as go } from "./spin/index.js";
|
|
89
89
|
import { default as Co } from "./statistic/index.js";
|
|
90
|
-
import { default as
|
|
90
|
+
import { default as Ro } from "./steps/index.js";
|
|
91
91
|
import { default as ho } from "./suspense-fallback-test/index.js";
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
92
|
+
import { default as ko } from "./switch/index.js";
|
|
93
|
+
import { default as Eo, TableSummary as vo, TableSummaryCell as No, TableSummaryRow as Oo, useTableThResizable as Do } from "./table/index.js";
|
|
94
94
|
import { T as wo } from "./chunk/vmgkWLYf.js";
|
|
95
95
|
import { default as Lo } from "./tag/index.js";
|
|
96
|
-
import { default as Ho, TimeRangePicker as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
96
|
+
import { default as Ho, TimeRangePicker as Vo } from "./time-picker/index.js";
|
|
97
|
+
import { default as Go } from "./timeline/Timeline.js";
|
|
98
|
+
import { default as jo } from "./tooltip/index.js";
|
|
99
99
|
import { default as _o } from "./transfer/index.js";
|
|
100
100
|
import { default as Yo } from "./tree/Tree.js";
|
|
101
101
|
import { default as Ko, TreeSelectTreeNode as Qo } from "./tree-select/Select.js";
|
|
@@ -103,23 +103,23 @@ import { default as Zo } from "./trigger/index.js";
|
|
|
103
103
|
import { default as et, TypographyEllipsis as at } from "./typography/index.js";
|
|
104
104
|
import { default as ot, UploadList as tt } from "./upload/Upload.js";
|
|
105
105
|
import { default as ft } from "./verification-code/VerificationCode.js";
|
|
106
|
-
import {
|
|
106
|
+
import { VERSION as mt, VERSION_BUILD_DATE as ut, VERSION_BUILD_TIME as lt } from "./version/index.js";
|
|
107
107
|
import { default as dt } from "./watermark/Watermark.js";
|
|
108
108
|
import { default as nt } from "./button/Group.js";
|
|
109
109
|
import { default as St } from "./form/Control.js";
|
|
110
110
|
import { default as gt } from "./form/FormItem.js";
|
|
111
111
|
import { default as Ct } from "./form/FormList.js";
|
|
112
|
-
import { default as
|
|
112
|
+
import { default as Rt } from "./form/FormProvider.js";
|
|
113
113
|
import { default as ht } from "./form/useForm.js";
|
|
114
|
-
import { default as
|
|
115
|
-
import { default as
|
|
116
|
-
import { default as
|
|
117
|
-
import { P as
|
|
114
|
+
import { default as kt } from "./grid/Col.js";
|
|
115
|
+
import { default as Et } from "./grid/grid-item.js";
|
|
116
|
+
import { default as Nt } from "./grid/Row.js";
|
|
117
|
+
import { P as Dt } from "./chunk/CgurXnoy.js";
|
|
118
118
|
import { default as wt } from "./image/ImagePreviewGroup.js";
|
|
119
119
|
import { default as Lt } from "./input/Group.js";
|
|
120
120
|
import { default as Ht } from "./layout/Content.js";
|
|
121
|
-
import { default as
|
|
122
|
-
import { default as
|
|
121
|
+
import { default as Wt } from "./layout/Footer.js";
|
|
122
|
+
import { default as Ut } from "./layout/Header.js";
|
|
123
123
|
import { default as zt } from "./layout/Sider.js";
|
|
124
124
|
import { default as qt } from "./list/Item.js";
|
|
125
125
|
import { default as Jt } from "./menu/Item.js";
|
|
@@ -132,17 +132,17 @@ import { default as fs } from "./statistic/Countdown.js";
|
|
|
132
132
|
import { default as ms, default as us } from "./steps/Step.js";
|
|
133
133
|
import { u as is, a as ds, b as xs, c as ns, d as cs, e as Ss, f as Ts } from "./chunk/CzQObzKd.js";
|
|
134
134
|
import { default as bs, default as Cs } from "./tabs/TabPane.js";
|
|
135
|
-
import { default as
|
|
135
|
+
import { default as Rs } from "./timeline/Item.js";
|
|
136
136
|
import { default as hs } from "./typography/Paragraph.js";
|
|
137
|
-
import { default as
|
|
138
|
-
import { default as
|
|
139
|
-
import { d as
|
|
140
|
-
import { m as
|
|
137
|
+
import { default as ks } from "./typography/Text.js";
|
|
138
|
+
import { default as Es } from "./typography/Title.js";
|
|
139
|
+
import { d as Ns } from "./chunk/BsWphzcT.js";
|
|
140
|
+
import { m as Ds } from "./chunk/JPPo5nY_.js";
|
|
141
141
|
import { s as ws, s as Fs } from "./chunk/Ey4YJCkX.js";
|
|
142
142
|
import { l as Bs } from "./chunk/CTxjmYmx.js";
|
|
143
|
-
import { f as
|
|
144
|
-
import { g as
|
|
145
|
-
import { g as
|
|
143
|
+
import { f as Vs } from "./chunk/CftuXmo_.js";
|
|
144
|
+
import { g as Gs } from "./chunk/B7M-FGia.js";
|
|
145
|
+
import { g as js } from "./chunk/Dh7Osrvr.js";
|
|
146
146
|
import { g as _s } from "./chunk/DKHXj8Kf.js";
|
|
147
147
|
import { i as Ys } from "./chunk/CYhxqVkn.js";
|
|
148
148
|
import { k as Ks } from "./chunk/BrOW642m.js";
|
|
@@ -157,9 +157,9 @@ import { default as cf } from "./utils/throttleByRaf.js";
|
|
|
157
157
|
import { default as Tf } from "./utils/warning.js";
|
|
158
158
|
import { defaultComponent as bf } from "./table/constant.js";
|
|
159
159
|
import { N as yf } from "./chunk/CKyu68pu.js";
|
|
160
|
-
import { STATUS as
|
|
161
|
-
import { s as
|
|
162
|
-
import { w as Ff, k as Lf, z as Bf, A as Hf, G as
|
|
160
|
+
import { STATUS as Pf } from "./upload/interface.js";
|
|
161
|
+
import { s as If, r as kf, d as Af, l as Ef, i as vf, c as Nf, u as Of, m as Df, o as Mf } from "./chunk/BibHFOCF.js";
|
|
162
|
+
import { w as Ff, k as Lf, z as Bf, A as Hf, G as Vf, D as Wf, s as Gf, b as Uf, P as jf } from "./chunk/B6X4lnd0.js";
|
|
163
163
|
import { N as _f } from "./chunk/D0ZWT7db.js";
|
|
164
164
|
import { newArray as Yf, pickTriggerPropsFromRest as Jf } from "./utils/constant.js";
|
|
165
165
|
import { d as Qf, g as Xf, a as Zf, b as $f, c as ep, e as ap, i as rp, f as op, h as tp, m as sp, t as fp, j as pp, k as mp } from "./chunk/tamGhTJp.js";
|
|
@@ -167,10 +167,10 @@ import { contains as lp, getScrollElements as ip, isScrollElement as dp, isServe
|
|
|
167
167
|
import { default as Tp } from "lodash/isArguments.js";
|
|
168
168
|
import { default as bp } from "lodash/isArray.js";
|
|
169
169
|
import { default as yp } from "lodash/isArrayBuffer.js";
|
|
170
|
-
import { default as
|
|
171
|
-
import { default as
|
|
172
|
-
import { Q as
|
|
173
|
-
import { default as
|
|
170
|
+
import { default as Pp } from "lodash/isArrayLike.js";
|
|
171
|
+
import { default as Ip } from "lodash/isArrayLikeObject.js";
|
|
172
|
+
import { Q as Ap, r as Ep, m as vp, z as Np, G as Op, H as Dp, K as Mp, t as wp, v as Fp, Z as Lp, X as Bp, Y as Hp, f as Vp, _ as Wp, J as Gp } from "./chunk/URXCKjXr.js";
|
|
173
|
+
import { default as jp } from "lodash/isBoolean.js";
|
|
174
174
|
import { default as _p } from "lodash/isBuffer.js";
|
|
175
175
|
import { default as Yp } from "lodash/isDate.js";
|
|
176
176
|
import { isAsyncMode as Kp, isConcurrentMode as Qp, isContextConsumer as Xp, isContextProvider as Zp, isElement as $p, isForwardRef as em, isFragment as am, isLazy as rm, isMemo as om, isPortal as tm, isProfiler as sm, isStrictMode as fm, isSuspense as pm, isValidElementType as mm } from "react-is";
|
|
@@ -180,17 +180,17 @@ import { default as nm } from "lodash/isEqualWith.js";
|
|
|
180
180
|
import { default as Sm } from "lodash/isError.js";
|
|
181
181
|
import { default as gm } from "lodash/isFinite.js";
|
|
182
182
|
import { default as Cm } from "lodash/isFunction.js";
|
|
183
|
-
import { default as
|
|
183
|
+
import { default as Rm } from "lodash/isInteger.js";
|
|
184
184
|
import { default as hm } from "lodash/isLength.js";
|
|
185
|
-
import { default as
|
|
186
|
-
import { default as
|
|
187
|
-
import { default as
|
|
188
|
-
import { default as
|
|
185
|
+
import { default as km } from "lodash/isMap.js";
|
|
186
|
+
import { default as Em } from "lodash/isMatch.js";
|
|
187
|
+
import { default as Nm } from "lodash/isMatchWith.js";
|
|
188
|
+
import { default as Dm } from "lodash/isNaN.js";
|
|
189
189
|
import { default as wm } from "lodash/isNative.js";
|
|
190
190
|
import { default as Lm } from "lodash/isNil.js";
|
|
191
191
|
import { default as Hm } from "lodash/isNull.js";
|
|
192
|
-
import { default as
|
|
193
|
-
import { default as
|
|
192
|
+
import { default as Wm } from "lodash/isNumber.js";
|
|
193
|
+
import { default as Um } from "lodash/isObject.js";
|
|
194
194
|
import { default as zm } from "lodash/isObjectLike.js";
|
|
195
195
|
import { default as qm } from "lodash/isPlainObject.js";
|
|
196
196
|
import { default as Jm } from "lodash/isRegExp.js";
|
|
@@ -202,17 +202,17 @@ import { default as tu } from "lodash/isTypedArray.js";
|
|
|
202
202
|
import { default as fu } from "lodash/isUndefined.js";
|
|
203
203
|
import { default as mu } from "lodash/isWeakMap.js";
|
|
204
204
|
import { default as lu } from "lodash/isWeakSet.js";
|
|
205
|
-
import { f as du, g as xu, d as nu, a as cu, b as Su, k as Tu, i as gu, h as bu, j as Cu, e as yu, c as
|
|
206
|
-
import { default as
|
|
207
|
-
import { default as
|
|
208
|
-
import { default as
|
|
209
|
-
import { default as
|
|
210
|
-
import { default as
|
|
205
|
+
import { f as du, g as xu, d as nu, a as cu, b as Su, k as Tu, i as gu, h as bu, j as Cu, e as yu, c as Ru, s as Pu } from "./chunk/D-TPB2Do.js";
|
|
206
|
+
import { default as Iu } from "lodash/camelCase";
|
|
207
|
+
import { default as Au } from "lodash/capitalize";
|
|
208
|
+
import { default as vu } from "lodash/cloneDeep";
|
|
209
|
+
import { default as Ou } from "lodash/debounce";
|
|
210
|
+
import { default as Mu } from "lodash/get";
|
|
211
211
|
import { default as Fu } from "lodash/has";
|
|
212
212
|
import { default as Bu } from "lodash/kebabCase";
|
|
213
|
-
import { default as
|
|
214
|
-
import { default as
|
|
215
|
-
import { default as
|
|
213
|
+
import { default as Vu } from "lodash/merge";
|
|
214
|
+
import { default as Gu } from "lodash/mergeWith";
|
|
215
|
+
import { default as ju } from "lodash/set";
|
|
216
216
|
import { default as _u } from "lodash/setWith";
|
|
217
217
|
import { default as Yu } from "lodash/snakeCase";
|
|
218
218
|
import { default as Ku } from "lodash/startCase";
|
|
@@ -224,7 +224,7 @@ import { padEnd as sl, padStart as fl } from "./utils/pad.js";
|
|
|
224
224
|
import { c as ml, f as ul } from "./chunk/C48SmsN-.js";
|
|
225
225
|
import { fixedWidth as il, getStyle as dl, setTransformStyle as xl } from "./utils/style.js";
|
|
226
226
|
export {
|
|
227
|
-
|
|
227
|
+
Ue as Affix,
|
|
228
228
|
ze as Alert,
|
|
229
229
|
qe as Anchor,
|
|
230
230
|
Je as AutoComplete,
|
|
@@ -245,14 +245,14 @@ export {
|
|
|
245
245
|
na as Carousel,
|
|
246
246
|
Sa as Cascader,
|
|
247
247
|
ga as Checkbox,
|
|
248
|
-
|
|
248
|
+
kt as Col,
|
|
249
249
|
Ca as Collapse,
|
|
250
250
|
qr as ColorPicker,
|
|
251
|
-
|
|
251
|
+
Ra as Comment,
|
|
252
252
|
ha as ConfigConsumer,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
253
|
+
Ia as ConfigContext,
|
|
254
|
+
ka as ConfigProvider,
|
|
255
|
+
Aa as ContextHolderElement,
|
|
256
256
|
Fa as Copy,
|
|
257
257
|
Ba as DatePicker,
|
|
258
258
|
Fe as DefaultValidateMessage,
|
|
@@ -261,18 +261,18 @@ export {
|
|
|
261
261
|
Ja as Drawer,
|
|
262
262
|
Qa as Dropdown,
|
|
263
263
|
Xa as DropdownButton,
|
|
264
|
-
|
|
264
|
+
Ea as Empty,
|
|
265
265
|
$a as Form,
|
|
266
266
|
St as FormControl,
|
|
267
267
|
gt as FormItem,
|
|
268
268
|
Ct as FormList,
|
|
269
|
-
|
|
269
|
+
Rt as FormProvider,
|
|
270
270
|
tr as Grid,
|
|
271
|
-
|
|
271
|
+
Et as GridItem,
|
|
272
272
|
fr as Icon,
|
|
273
|
-
|
|
273
|
+
va as IconHover,
|
|
274
274
|
ur as Image,
|
|
275
|
-
|
|
275
|
+
Dt as ImagePreview,
|
|
276
276
|
wt as ImagePreviewGroup,
|
|
277
277
|
ir as Input,
|
|
278
278
|
Lt as InputGroup,
|
|
@@ -283,42 +283,42 @@ export {
|
|
|
283
283
|
cr as InputTextArea,
|
|
284
284
|
Cr as Layout,
|
|
285
285
|
Ht as LayoutContent,
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
Wt as LayoutFooter,
|
|
287
|
+
Ut as LayoutHeader,
|
|
288
288
|
zt as LayoutSider,
|
|
289
|
-
|
|
289
|
+
Rr as Link,
|
|
290
290
|
hr as List,
|
|
291
291
|
qt as ListItem,
|
|
292
292
|
Jr as Loading,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
kr as Mentions,
|
|
294
|
+
Er as Menu,
|
|
295
295
|
Jt as MenuItem,
|
|
296
296
|
Qt as MenuItemGroup,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
297
|
+
vr as MenuSubMenu,
|
|
298
|
+
Na as Message,
|
|
299
|
+
Dr as Modal,
|
|
300
300
|
Ha as MonthPicker,
|
|
301
301
|
_f as NOOP,
|
|
302
|
-
|
|
302
|
+
Oa as Notification,
|
|
303
303
|
wr as PageHeader,
|
|
304
304
|
Lr as Pagination,
|
|
305
305
|
Hr as Popconfirm,
|
|
306
|
-
|
|
307
|
-
|
|
306
|
+
Wr as Popover,
|
|
307
|
+
Ur as Portal,
|
|
308
308
|
de as PqbCSSTransition,
|
|
309
309
|
zr as Progress,
|
|
310
|
-
|
|
310
|
+
Va as QuarterPicker,
|
|
311
311
|
Qr as Radio,
|
|
312
312
|
Xr as RadioGroup,
|
|
313
313
|
Zr as RadioGroupContext,
|
|
314
|
-
|
|
314
|
+
Wa as RangePicker,
|
|
315
315
|
eo as Rate,
|
|
316
316
|
xe as ReplaceTransition,
|
|
317
317
|
ro as ResizeBox,
|
|
318
318
|
Zt as ResizeBoxSplit,
|
|
319
319
|
es as ResizeBoxSplitGroup,
|
|
320
320
|
to as Result,
|
|
321
|
-
|
|
321
|
+
Nt as Row,
|
|
322
322
|
Le as Schema,
|
|
323
323
|
fo as Select,
|
|
324
324
|
rs as SelectOption,
|
|
@@ -331,28 +331,28 @@ export {
|
|
|
331
331
|
go as Spin,
|
|
332
332
|
Co as Statistic,
|
|
333
333
|
fs as StatisticCountdown,
|
|
334
|
-
|
|
334
|
+
Ro as Steps,
|
|
335
335
|
ms as StepsItem,
|
|
336
336
|
us as StepsStep,
|
|
337
|
-
|
|
337
|
+
Nr as SubMenu,
|
|
338
338
|
ho as SuspenseFallbackTest,
|
|
339
|
-
|
|
339
|
+
ko as Switch,
|
|
340
340
|
ne as SwitchTransition,
|
|
341
341
|
bs as TabPane,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
342
|
+
Eo as Table,
|
|
343
|
+
vo as TableSummary,
|
|
344
|
+
No as TableSummaryCell,
|
|
345
|
+
Oo as TableSummaryRow,
|
|
346
346
|
wo as Tabs,
|
|
347
347
|
Cs as TabsTabPane,
|
|
348
348
|
Lo as Tag,
|
|
349
349
|
Sr as TextArea,
|
|
350
350
|
Ho as TimePicker,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
351
|
+
Vo as TimeRangePicker,
|
|
352
|
+
Go as Timeline,
|
|
353
|
+
Rs as TimelineItem,
|
|
354
354
|
ge as TinyColor,
|
|
355
|
-
|
|
355
|
+
jo as Tooltip,
|
|
356
356
|
_o as Transfer,
|
|
357
357
|
ce as Transition,
|
|
358
358
|
Se as TransitionGroup,
|
|
@@ -364,26 +364,27 @@ export {
|
|
|
364
364
|
et as Typography,
|
|
365
365
|
at as TypographyEllipsis,
|
|
366
366
|
hs as TypographyParagraph,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
ks as TypographyText,
|
|
368
|
+
Es as TypographyTitle,
|
|
369
|
+
Pf as UPLOAD_STATUS,
|
|
370
370
|
ot as Upload,
|
|
371
371
|
tt as UploadList,
|
|
372
|
+
mt as VERSION,
|
|
373
|
+
ut as VERSION_BUILD_DATE,
|
|
374
|
+
lt as VERSION_BUILD_TIME,
|
|
372
375
|
ft as VerificationCode,
|
|
373
376
|
dt as Watermark,
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
+
Ga as WeekPicker,
|
|
378
|
+
Ua as YearPicker,
|
|
379
|
+
If as add,
|
|
377
380
|
pr as addFromIconFontCn,
|
|
378
|
-
mt as buildDate,
|
|
379
|
-
ut as buildTime,
|
|
380
381
|
ml as callbackOriginRef,
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
382
|
+
Iu as camelCase,
|
|
383
|
+
Au as capitalize,
|
|
384
|
+
Ns as caseName,
|
|
385
|
+
Ds as className,
|
|
385
386
|
ws as clipboardCopy,
|
|
386
|
-
|
|
387
|
+
vu as cloneDeep,
|
|
387
388
|
Ff as colorPresets,
|
|
388
389
|
Lf as colors,
|
|
389
390
|
oe as compareColorByRange,
|
|
@@ -394,46 +395,46 @@ export {
|
|
|
394
395
|
Ce as convertHexToDecimal,
|
|
395
396
|
Fs as copy,
|
|
396
397
|
Qf as dayjs,
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
398
|
+
Ou as debounce,
|
|
399
|
+
kf as div,
|
|
400
|
+
Af as divide,
|
|
401
|
+
De as easing,
|
|
401
402
|
Bs as fileToURL,
|
|
402
|
-
|
|
403
|
+
Vs as fillNBSP,
|
|
403
404
|
ul as findDOMNode_,
|
|
404
405
|
il as fixedWidth,
|
|
405
406
|
Bf as generate,
|
|
406
407
|
Hf as generateDark,
|
|
407
|
-
|
|
408
|
+
Mu as get,
|
|
408
409
|
te as getColorWithPercentage,
|
|
409
410
|
Xf as getDayjsValue,
|
|
410
|
-
|
|
411
|
-
|
|
411
|
+
Gs as getHighlightText,
|
|
412
|
+
js as getHotkeyHandler,
|
|
412
413
|
Zf as getNow,
|
|
413
|
-
|
|
414
|
+
Vf as getRgbArrayString,
|
|
414
415
|
ip as getScrollElements,
|
|
415
416
|
$f as getSortedDayjsArray,
|
|
416
417
|
_s as getStringLength,
|
|
417
418
|
dl as getStyle,
|
|
418
419
|
ep as getTimeFormat,
|
|
419
420
|
ap as getValueWithTime,
|
|
420
|
-
|
|
421
|
+
Wf as grayPresets,
|
|
421
422
|
Fu as has,
|
|
422
423
|
ye as hslToRgb,
|
|
423
|
-
|
|
424
|
+
Re as hsvToRgb,
|
|
424
425
|
Ys as include,
|
|
425
426
|
Tp as isArguments,
|
|
426
427
|
bp as isArray,
|
|
427
428
|
yp as isArrayBuffer,
|
|
428
|
-
|
|
429
|
-
|
|
429
|
+
Pp as isArrayLike,
|
|
430
|
+
Ip as isArrayLikeObject,
|
|
430
431
|
Kp as isAsyncMode,
|
|
431
|
-
|
|
432
|
-
|
|
432
|
+
Ap as isBlob,
|
|
433
|
+
jp as isBoolean,
|
|
433
434
|
_p as isBuffer,
|
|
434
435
|
du as isClassComponent,
|
|
435
|
-
|
|
436
|
-
|
|
436
|
+
Ep as isColor,
|
|
437
|
+
vp as isColor2,
|
|
437
438
|
Qp as isConcurrentMode,
|
|
438
439
|
Xp as isContextConsumer,
|
|
439
440
|
Zp as isContextProvider,
|
|
@@ -444,35 +445,35 @@ export {
|
|
|
444
445
|
op as isDayjsChange,
|
|
445
446
|
$p as isElement,
|
|
446
447
|
lm as isEmpty,
|
|
447
|
-
|
|
448
|
-
|
|
448
|
+
Np as isEmptyArray,
|
|
449
|
+
Op as isEmptyObject,
|
|
449
450
|
cu as isEmptyReactNode,
|
|
450
|
-
|
|
451
|
+
Dp as isEmptyValue,
|
|
451
452
|
dm as isEqual,
|
|
452
453
|
nm as isEqualWith,
|
|
453
454
|
Sm as isError,
|
|
454
455
|
Su as isExist,
|
|
455
|
-
|
|
456
|
+
Mp as isFile,
|
|
456
457
|
gm as isFinite,
|
|
457
458
|
em as isForwardRef,
|
|
458
459
|
Tu as isForwardRefReact,
|
|
459
460
|
am as isFragment,
|
|
460
461
|
Cm as isFunction,
|
|
461
|
-
|
|
462
|
+
Rm as isInteger,
|
|
462
463
|
wp as isJSON,
|
|
463
464
|
rm as isLazy,
|
|
464
465
|
hm as isLength,
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
km as isMap,
|
|
467
|
+
Em as isMatch,
|
|
468
|
+
Nm as isMatchWith,
|
|
468
469
|
om as isMemo,
|
|
469
|
-
|
|
470
|
+
Dm as isNaN,
|
|
470
471
|
wm as isNative,
|
|
471
472
|
Lm as isNil,
|
|
472
473
|
Hm as isNull,
|
|
473
474
|
gu as isNullOrUndefined,
|
|
474
|
-
|
|
475
|
-
|
|
475
|
+
Wm as isNumber,
|
|
476
|
+
Um as isObject,
|
|
476
477
|
zm as isObjectLike,
|
|
477
478
|
qm as isPlainObject,
|
|
478
479
|
tm as isPortal,
|
|
@@ -484,8 +485,8 @@ export {
|
|
|
484
485
|
Lp as isReadableByteStreamControllerSupported,
|
|
485
486
|
Bp as isReadableStream,
|
|
486
487
|
Hp as isReadableStreamDefaultControllerSupported,
|
|
487
|
-
|
|
488
|
-
|
|
488
|
+
Vp as isReadableStreamSupported,
|
|
489
|
+
Wp as isReadableStreamSymbolAsyncIteratorSupported,
|
|
489
490
|
Jm as isRegExp,
|
|
490
491
|
Qm as isSafeInteger,
|
|
491
492
|
dp as isScrollElement,
|
|
@@ -497,65 +498,65 @@ export {
|
|
|
497
498
|
ru as isSymbol,
|
|
498
499
|
tu as isTypedArray,
|
|
499
500
|
fu as isUndefined,
|
|
500
|
-
|
|
501
|
+
Gp as isValidColor,
|
|
501
502
|
mm as isValidElementType,
|
|
502
503
|
tp as isValidTimeString,
|
|
503
504
|
mu as isWeakMap,
|
|
504
505
|
lu as isWeakSet,
|
|
505
|
-
|
|
506
|
+
Ru as isWindow,
|
|
506
507
|
Bu as kebabCase,
|
|
507
508
|
Ks as keyboardCode,
|
|
508
|
-
|
|
509
|
-
|
|
509
|
+
Ef as math,
|
|
510
|
+
Vu as merge,
|
|
510
511
|
$s as mergeProps,
|
|
511
|
-
|
|
512
|
+
Gu as mergeWith,
|
|
512
513
|
Xs as mergedToString,
|
|
513
514
|
sp as methods,
|
|
514
|
-
|
|
515
|
-
|
|
515
|
+
vf as minus,
|
|
516
|
+
Nf as multiply,
|
|
516
517
|
Yf as newArray,
|
|
517
|
-
|
|
518
|
+
Pe as numberInputToObject,
|
|
518
519
|
np as off,
|
|
519
520
|
af as omit,
|
|
520
521
|
cp as on,
|
|
521
522
|
sl as padEnd,
|
|
522
523
|
fl as padStart,
|
|
523
|
-
|
|
524
|
-
|
|
524
|
+
Gf as palette,
|
|
525
|
+
Uf as paletteDark,
|
|
525
526
|
he as parseIntFromHex,
|
|
526
527
|
of as pick,
|
|
527
528
|
tf as pickDataAttributes,
|
|
528
529
|
Jf as pickTriggerPropsFromRest,
|
|
529
|
-
|
|
530
|
+
Of as plus,
|
|
530
531
|
ff as responsiveArray,
|
|
531
532
|
pf as responsiveMap,
|
|
532
533
|
mf as responsiveObserve,
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
534
|
+
Ie as rgbToHex,
|
|
535
|
+
ke as rgbToHsl,
|
|
536
|
+
Ae as rgbToHsv,
|
|
537
|
+
Ee as rgbToRgb,
|
|
538
|
+
ve as rgbaToArgbHex,
|
|
539
|
+
Ne as rgbaToHex,
|
|
539
540
|
lf as saveAs,
|
|
540
541
|
xf as screenfull,
|
|
541
542
|
me as scrollIntoView,
|
|
542
543
|
ue as scrollIntoViewIfNeeded,
|
|
543
|
-
|
|
544
|
+
ju as set,
|
|
544
545
|
xl as setTransformStyle,
|
|
545
546
|
_u as setWith,
|
|
546
547
|
Yu as snakeCase,
|
|
547
548
|
Ku as startCase,
|
|
548
|
-
|
|
549
|
-
|
|
549
|
+
Df as subtract,
|
|
550
|
+
Pu as supportRef,
|
|
550
551
|
bf as tableDefaultComponent,
|
|
551
552
|
Xu as throttle,
|
|
552
553
|
cf as throttleByRaf,
|
|
553
|
-
|
|
554
|
+
Mf as times,
|
|
554
555
|
fp as timezoneToOffset,
|
|
555
556
|
pp as toLocal,
|
|
556
557
|
mp as toTimezone,
|
|
557
|
-
|
|
558
|
-
|
|
558
|
+
Me as tween,
|
|
559
|
+
jf as uiColor,
|
|
559
560
|
$u as uniq,
|
|
560
561
|
al as upperFirst,
|
|
561
562
|
p as useComputedState,
|
|
@@ -569,19 +570,19 @@ export {
|
|
|
569
570
|
c as useIntersectionObserver,
|
|
570
571
|
T as useInterval,
|
|
571
572
|
y as useIsFirstRender,
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
573
|
+
P as useIsomorphicLayoutEffect,
|
|
574
|
+
I as useKeyboardEvent,
|
|
575
|
+
A as useMedia,
|
|
576
|
+
v as useMergeProps,
|
|
577
|
+
O as useMergeValue,
|
|
578
|
+
Da as useMessage,
|
|
579
|
+
Ma as useNotification,
|
|
580
|
+
M as useOnlineStatus,
|
|
580
581
|
F as useOverflowHidden,
|
|
581
582
|
B as useOverrideRef,
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
583
|
+
V as usePersistCallback,
|
|
584
|
+
G as usePrefersColorSchemeDark,
|
|
585
|
+
j as usePrevious,
|
|
585
586
|
_ as useRefs,
|
|
586
587
|
Y as useResizeObserver,
|
|
587
588
|
K as useStateCallback,
|
|
@@ -593,15 +594,14 @@ export {
|
|
|
593
594
|
cs as useTableSorter,
|
|
594
595
|
Ss as useTableStickyClassNames,
|
|
595
596
|
Ts as useTableStickyOffsets,
|
|
596
|
-
|
|
597
|
+
Do as useTableThResizable,
|
|
597
598
|
$ as useUpdateEffect,
|
|
598
599
|
o as useVerificationCode,
|
|
599
600
|
rr as useWatch,
|
|
600
601
|
s as useWatermark,
|
|
601
602
|
ae as useWindowSize,
|
|
602
|
-
|
|
603
|
-
|
|
603
|
+
Ve as uuid,
|
|
604
|
+
We as uuidv4,
|
|
604
605
|
Be as validate,
|
|
605
|
-
lt as version,
|
|
606
606
|
Tf as warning
|
|
607
607
|
};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui","version":"0.8.
|
|
1
|
+
{"name":"@unicom-cloud/ui","version":"0.8.69","dependencies":{"@unicom-cloud/icons":"latest"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
package/types/index.d.ts
CHANGED
|
@@ -151,6 +151,6 @@ export { default as Upload, UPLOAD_STATUS, UploadList } from './upload';
|
|
|
151
151
|
export type { UploadProps } from './upload/interface';
|
|
152
152
|
export { default as VerificationCode } from './verification-code';
|
|
153
153
|
export type { VerificationCodeProps } from './verification-code/interface';
|
|
154
|
-
export {
|
|
154
|
+
export { VERSION, VERSION_BUILD_DATE, VERSION_BUILD_TIME } from './version';
|
|
155
155
|
export { default as Watermark } from './watermark';
|
|
156
156
|
export type { WatermarkProps } from './watermark/interface';
|
package/types/version/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export default
|
|
1
|
+
export declare const VERSION_BUILD_DATE: any;
|
|
2
|
+
export declare const VERSION_BUILD_TIME: any;
|
|
3
|
+
export declare const VERSION = "2.66.0-beta.2";
|
|
4
|
+
export default VERSION;
|
package/version/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const t = "2025-03-18
|
|
1
|
+
const t = "2025-03-18 11:08:01", I = "1742267281124", E = "2.66.0-beta.2";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
E as VERSION,
|
|
4
|
+
t as VERSION_BUILD_DATE,
|
|
5
|
+
I as VERSION_BUILD_TIME,
|
|
6
|
+
E as default
|
|
7
7
|
};
|