@mi-avalon/libs 0.0.19 → 0.0.20
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/dist/components/MBreadcrumb/index.d.ts +17 -0
- package/dist/components/MBreadcrumb/index.js +34 -0
- package/dist/components/MTable/index.d.ts +7 -0
- package/dist/components/MTable/index.js +10 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +4 -5
- package/dist/index.es.js +444 -367
- package/dist/index.umd.js +11 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/MyButton/index.d.ts +0 -10
- package/dist/components/MyButton/index.js +0 -7
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
var Er = Object.defineProperty;
|
|
2
|
+
var yr = (s, a, p) => a in s ? Er(s, a, { enumerable: !0, configurable: !0, writable: !0, value: p }) : s[a] = p;
|
|
3
|
+
var d = (s, a, p) => (yr(s, typeof a != "symbol" ? a + "" : a, p), p);
|
|
4
|
+
import * as K from "react";
|
|
5
|
+
import Fe, { createContext as xr, useContext as Cr } from "react";
|
|
6
|
+
import { theme as jr, ConfigProvider as wr, Button as Sr, Affix as Or, Card as $r, Breadcrumb as Ye, Descriptions as Ae, Table as Dr } from "antd";
|
|
7
|
+
var se = { exports: {} }, H = {};
|
|
7
8
|
/**
|
|
8
9
|
* @license React
|
|
9
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,25 +14,25 @@ var ae = { exports: {} }, N = {};
|
|
|
13
14
|
* This source code is licensed under the MIT license found in the
|
|
14
15
|
* LICENSE file in the root directory of this source tree.
|
|
15
16
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
function b(
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
for (
|
|
26
|
-
|
|
27
|
-
if (
|
|
28
|
-
for (
|
|
29
|
-
|
|
30
|
-
return { $$typeof:
|
|
17
|
+
var Pe;
|
|
18
|
+
function Tr() {
|
|
19
|
+
if (Pe)
|
|
20
|
+
return H;
|
|
21
|
+
Pe = 1;
|
|
22
|
+
var s = Fe, a = Symbol.for("react.element"), p = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, w = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, $ = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
|
+
function b(x, h, S) {
|
|
24
|
+
var _, c = {}, C = null, Y = null;
|
|
25
|
+
S !== void 0 && (C = "" + S), h.key !== void 0 && (C = "" + h.key), h.ref !== void 0 && (Y = h.ref);
|
|
26
|
+
for (_ in h)
|
|
27
|
+
f.call(h, _) && !$.hasOwnProperty(_) && (c[_] = h[_]);
|
|
28
|
+
if (x && x.defaultProps)
|
|
29
|
+
for (_ in h = x.defaultProps, h)
|
|
30
|
+
c[_] === void 0 && (c[_] = h[_]);
|
|
31
|
+
return { $$typeof: a, type: x, key: C, ref: Y, props: c, _owner: w.current };
|
|
31
32
|
}
|
|
32
|
-
return
|
|
33
|
+
return H.Fragment = p, H.jsx = b, H.jsxs = b, H;
|
|
33
34
|
}
|
|
34
|
-
var
|
|
35
|
+
var z = {};
|
|
35
36
|
/**
|
|
36
37
|
* @license React
|
|
37
38
|
* react-jsx-runtime.development.js
|
|
@@ -41,91 +42,91 @@ var H = {};
|
|
|
41
42
|
* This source code is licensed under the MIT license found in the
|
|
42
43
|
* LICENSE file in the root directory of this source tree.
|
|
43
44
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
47
|
-
var
|
|
48
|
-
function
|
|
45
|
+
var ke;
|
|
46
|
+
function Yr() {
|
|
47
|
+
return ke || (ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
+
var s = Fe, a = Symbol.for("react.element"), p = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), x = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), U = Symbol.iterator, k = "@@iterator";
|
|
49
|
+
function G(e) {
|
|
49
50
|
if (e === null || typeof e != "object")
|
|
50
51
|
return null;
|
|
51
|
-
var r =
|
|
52
|
+
var r = U && e[U] || e[k];
|
|
52
53
|
return typeof r == "function" ? r : null;
|
|
53
54
|
}
|
|
54
|
-
var
|
|
55
|
-
function
|
|
55
|
+
var T = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
56
|
+
function E(e) {
|
|
56
57
|
{
|
|
57
58
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
58
59
|
t[n - 1] = arguments[n];
|
|
59
|
-
|
|
60
|
+
We("error", e, t);
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
|
-
function
|
|
63
|
+
function We(e, r, t) {
|
|
63
64
|
{
|
|
64
|
-
var n =
|
|
65
|
-
|
|
66
|
-
var
|
|
67
|
-
return String(
|
|
65
|
+
var n = T.ReactDebugCurrentFrame, l = n.getStackAddendum();
|
|
66
|
+
l !== "" && (r += "%s", t = t.concat([l]));
|
|
67
|
+
var u = t.map(function(o) {
|
|
68
|
+
return String(o);
|
|
68
69
|
});
|
|
69
|
-
|
|
70
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
|
-
var
|
|
73
|
-
|
|
74
|
-
function
|
|
75
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
73
|
+
var He = !1, ze = !1, Le = !1, Ue = !1, Ve = !1, le;
|
|
74
|
+
le = Symbol.for("react.module.reference");
|
|
75
|
+
function Ze(e) {
|
|
76
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === $ || Ve || e === w || e === S || e === _ || Ue || e === Y || He || ze || Le || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === c || e.$$typeof === b || e.$$typeof === x || e.$$typeof === h || // This needs to include all possible module reference object
|
|
76
77
|
// types supported by any Flight configuration anywhere since
|
|
77
78
|
// we don't know which Flight build this will end up being used
|
|
78
79
|
// with.
|
|
79
|
-
e.$$typeof ===
|
|
80
|
+
e.$$typeof === le || e.getModuleId !== void 0));
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function Be(e, r, t) {
|
|
82
83
|
var n = e.displayName;
|
|
83
84
|
if (n)
|
|
84
85
|
return n;
|
|
85
|
-
var
|
|
86
|
-
return
|
|
86
|
+
var l = r.displayName || r.name || "";
|
|
87
|
+
return l !== "" ? t + "(" + l + ")" : t;
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
+
function ue(e) {
|
|
89
90
|
return e.displayName || "Context";
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
+
function D(e) {
|
|
92
93
|
if (e == null)
|
|
93
94
|
return null;
|
|
94
|
-
if (typeof e.tag == "number" &&
|
|
95
|
+
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
95
96
|
return e.displayName || e.name || null;
|
|
96
97
|
if (typeof e == "string")
|
|
97
98
|
return e;
|
|
98
99
|
switch (e) {
|
|
99
|
-
case
|
|
100
|
+
case f:
|
|
100
101
|
return "Fragment";
|
|
101
|
-
case
|
|
102
|
+
case p:
|
|
102
103
|
return "Portal";
|
|
103
|
-
case
|
|
104
|
+
case $:
|
|
104
105
|
return "Profiler";
|
|
105
|
-
case
|
|
106
|
+
case w:
|
|
106
107
|
return "StrictMode";
|
|
107
|
-
case
|
|
108
|
+
case S:
|
|
108
109
|
return "Suspense";
|
|
109
|
-
case
|
|
110
|
+
case _:
|
|
110
111
|
return "SuspenseList";
|
|
111
112
|
}
|
|
112
113
|
if (typeof e == "object")
|
|
113
114
|
switch (e.$$typeof) {
|
|
114
|
-
case
|
|
115
|
+
case x:
|
|
115
116
|
var r = e;
|
|
116
|
-
return
|
|
117
|
+
return ue(r) + ".Consumer";
|
|
117
118
|
case b:
|
|
118
119
|
var t = e;
|
|
119
|
-
return
|
|
120
|
-
case
|
|
121
|
-
return
|
|
122
|
-
case
|
|
120
|
+
return ue(t._context) + ".Provider";
|
|
121
|
+
case h:
|
|
122
|
+
return Be(e, e.render, "ForwardRef");
|
|
123
|
+
case c:
|
|
123
124
|
var n = e.displayName || null;
|
|
124
|
-
return n !== null ? n :
|
|
125
|
-
case
|
|
126
|
-
var
|
|
125
|
+
return n !== null ? n : D(e.type) || "Memo";
|
|
126
|
+
case C: {
|
|
127
|
+
var l = e, u = l._payload, o = l._init;
|
|
127
128
|
try {
|
|
128
|
-
return
|
|
129
|
+
return D(o(u));
|
|
129
130
|
} catch {
|
|
130
131
|
return null;
|
|
131
132
|
}
|
|
@@ -133,18 +134,18 @@ function Cr() {
|
|
|
133
134
|
}
|
|
134
135
|
return null;
|
|
135
136
|
}
|
|
136
|
-
var
|
|
137
|
-
function
|
|
137
|
+
var A = Object.assign, I = 0, ce, fe, de, ve, me, pe, he;
|
|
138
|
+
function ge() {
|
|
138
139
|
}
|
|
139
|
-
|
|
140
|
-
function
|
|
140
|
+
ge.__reactDisabledLog = !0;
|
|
141
|
+
function Je() {
|
|
141
142
|
{
|
|
142
|
-
if (
|
|
143
|
-
|
|
143
|
+
if (I === 0) {
|
|
144
|
+
ce = console.log, fe = console.info, de = console.warn, ve = console.error, me = console.group, pe = console.groupCollapsed, he = console.groupEnd;
|
|
144
145
|
var e = {
|
|
145
146
|
configurable: !0,
|
|
146
147
|
enumerable: !0,
|
|
147
|
-
value:
|
|
148
|
+
value: ge,
|
|
148
149
|
writable: !0
|
|
149
150
|
};
|
|
150
151
|
Object.defineProperties(console, {
|
|
@@ -157,254 +158,254 @@ function Cr() {
|
|
|
157
158
|
groupEnd: e
|
|
158
159
|
});
|
|
159
160
|
}
|
|
160
|
-
|
|
161
|
+
I++;
|
|
161
162
|
}
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
+
function Ke() {
|
|
164
165
|
{
|
|
165
|
-
if (
|
|
166
|
+
if (I--, I === 0) {
|
|
166
167
|
var e = {
|
|
167
168
|
configurable: !0,
|
|
168
169
|
enumerable: !0,
|
|
169
170
|
writable: !0
|
|
170
171
|
};
|
|
171
172
|
Object.defineProperties(console, {
|
|
172
|
-
log:
|
|
173
|
-
value: se
|
|
174
|
-
}),
|
|
175
|
-
info: T({}, e, {
|
|
176
|
-
value: ue
|
|
177
|
-
}),
|
|
178
|
-
warn: T({}, e, {
|
|
179
|
-
value: le
|
|
180
|
-
}),
|
|
181
|
-
error: T({}, e, {
|
|
173
|
+
log: A({}, e, {
|
|
182
174
|
value: ce
|
|
183
175
|
}),
|
|
184
|
-
|
|
176
|
+
info: A({}, e, {
|
|
185
177
|
value: fe
|
|
186
178
|
}),
|
|
187
|
-
|
|
179
|
+
warn: A({}, e, {
|
|
188
180
|
value: de
|
|
189
181
|
}),
|
|
190
|
-
|
|
182
|
+
error: A({}, e, {
|
|
191
183
|
value: ve
|
|
184
|
+
}),
|
|
185
|
+
group: A({}, e, {
|
|
186
|
+
value: me
|
|
187
|
+
}),
|
|
188
|
+
groupCollapsed: A({}, e, {
|
|
189
|
+
value: pe
|
|
190
|
+
}),
|
|
191
|
+
groupEnd: A({}, e, {
|
|
192
|
+
value: he
|
|
192
193
|
})
|
|
193
194
|
});
|
|
194
195
|
}
|
|
195
|
-
|
|
196
|
+
I < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
196
197
|
}
|
|
197
198
|
}
|
|
198
|
-
var
|
|
199
|
-
function
|
|
199
|
+
var X = T.ReactCurrentDispatcher, Q;
|
|
200
|
+
function V(e, r, t) {
|
|
200
201
|
{
|
|
201
|
-
if (
|
|
202
|
+
if (Q === void 0)
|
|
202
203
|
try {
|
|
203
204
|
throw Error();
|
|
204
|
-
} catch (
|
|
205
|
-
var n =
|
|
206
|
-
|
|
205
|
+
} catch (l) {
|
|
206
|
+
var n = l.stack.trim().match(/\n( *(at )?)/);
|
|
207
|
+
Q = n && n[1] || "";
|
|
207
208
|
}
|
|
208
209
|
return `
|
|
209
|
-
` +
|
|
210
|
+
` + Q + e;
|
|
210
211
|
}
|
|
211
212
|
}
|
|
212
|
-
var
|
|
213
|
+
var ee = !1, Z;
|
|
213
214
|
{
|
|
214
|
-
var
|
|
215
|
-
|
|
215
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
216
|
+
Z = new qe();
|
|
216
217
|
}
|
|
217
|
-
function
|
|
218
|
-
if (!e ||
|
|
218
|
+
function be(e, r) {
|
|
219
|
+
if (!e || ee)
|
|
219
220
|
return "";
|
|
220
221
|
{
|
|
221
|
-
var t =
|
|
222
|
+
var t = Z.get(e);
|
|
222
223
|
if (t !== void 0)
|
|
223
224
|
return t;
|
|
224
225
|
}
|
|
225
226
|
var n;
|
|
226
|
-
|
|
227
|
-
var
|
|
227
|
+
ee = !0;
|
|
228
|
+
var l = Error.prepareStackTrace;
|
|
228
229
|
Error.prepareStackTrace = void 0;
|
|
229
|
-
var
|
|
230
|
-
|
|
230
|
+
var u;
|
|
231
|
+
u = X.current, X.current = null, Je();
|
|
231
232
|
try {
|
|
232
233
|
if (r) {
|
|
233
|
-
var
|
|
234
|
+
var o = function() {
|
|
234
235
|
throw Error();
|
|
235
236
|
};
|
|
236
|
-
if (Object.defineProperty(
|
|
237
|
+
if (Object.defineProperty(o.prototype, "props", {
|
|
237
238
|
set: function() {
|
|
238
239
|
throw Error();
|
|
239
240
|
}
|
|
240
241
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
241
242
|
try {
|
|
242
|
-
Reflect.construct(
|
|
243
|
-
} catch (
|
|
244
|
-
n =
|
|
243
|
+
Reflect.construct(o, []);
|
|
244
|
+
} catch (j) {
|
|
245
|
+
n = j;
|
|
245
246
|
}
|
|
246
|
-
Reflect.construct(e, [],
|
|
247
|
+
Reflect.construct(e, [], o);
|
|
247
248
|
} else {
|
|
248
249
|
try {
|
|
249
|
-
|
|
250
|
-
} catch (
|
|
251
|
-
n =
|
|
250
|
+
o.call();
|
|
251
|
+
} catch (j) {
|
|
252
|
+
n = j;
|
|
252
253
|
}
|
|
253
|
-
e.call(
|
|
254
|
+
e.call(o.prototype);
|
|
254
255
|
}
|
|
255
256
|
} else {
|
|
256
257
|
try {
|
|
257
258
|
throw Error();
|
|
258
|
-
} catch (
|
|
259
|
-
n =
|
|
259
|
+
} catch (j) {
|
|
260
|
+
n = j;
|
|
260
261
|
}
|
|
261
262
|
e();
|
|
262
263
|
}
|
|
263
|
-
} catch (
|
|
264
|
-
if (
|
|
265
|
-
for (var
|
|
266
|
-
`),
|
|
267
|
-
`),
|
|
268
|
-
|
|
269
|
-
for (;
|
|
270
|
-
if (
|
|
271
|
-
if (
|
|
264
|
+
} catch (j) {
|
|
265
|
+
if (j && n && typeof j.stack == "string") {
|
|
266
|
+
for (var i = j.stack.split(`
|
|
267
|
+
`), y = n.stack.split(`
|
|
268
|
+
`), m = i.length - 1, g = y.length - 1; m >= 1 && g >= 0 && i[m] !== y[g]; )
|
|
269
|
+
g--;
|
|
270
|
+
for (; m >= 1 && g >= 0; m--, g--)
|
|
271
|
+
if (i[m] !== y[g]) {
|
|
272
|
+
if (m !== 1 || g !== 1)
|
|
272
273
|
do
|
|
273
|
-
if (
|
|
274
|
-
var
|
|
275
|
-
` +
|
|
276
|
-
return e.displayName &&
|
|
274
|
+
if (m--, g--, g < 0 || i[m] !== y[g]) {
|
|
275
|
+
var O = `
|
|
276
|
+
` + i[m].replace(" at new ", " at ");
|
|
277
|
+
return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, O), O;
|
|
277
278
|
}
|
|
278
|
-
while (
|
|
279
|
+
while (m >= 1 && g >= 0);
|
|
279
280
|
break;
|
|
280
281
|
}
|
|
281
282
|
}
|
|
282
283
|
} finally {
|
|
283
|
-
|
|
284
|
+
ee = !1, X.current = u, Ke(), Error.prepareStackTrace = l;
|
|
284
285
|
}
|
|
285
|
-
var
|
|
286
|
-
return typeof e == "function" &&
|
|
286
|
+
var F = e ? e.displayName || e.name : "", P = F ? V(F) : "";
|
|
287
|
+
return typeof e == "function" && Z.set(e, P), P;
|
|
287
288
|
}
|
|
288
|
-
function
|
|
289
|
-
return
|
|
289
|
+
function Ge(e, r, t) {
|
|
290
|
+
return be(e, !1);
|
|
290
291
|
}
|
|
291
|
-
function
|
|
292
|
+
function Xe(e) {
|
|
292
293
|
var r = e.prototype;
|
|
293
294
|
return !!(r && r.isReactComponent);
|
|
294
295
|
}
|
|
295
|
-
function
|
|
296
|
+
function B(e, r, t) {
|
|
296
297
|
if (e == null)
|
|
297
298
|
return "";
|
|
298
299
|
if (typeof e == "function")
|
|
299
|
-
return
|
|
300
|
+
return be(e, Xe(e));
|
|
300
301
|
if (typeof e == "string")
|
|
301
|
-
return
|
|
302
|
+
return V(e);
|
|
302
303
|
switch (e) {
|
|
303
|
-
case
|
|
304
|
-
return
|
|
305
|
-
case
|
|
306
|
-
return
|
|
304
|
+
case S:
|
|
305
|
+
return V("Suspense");
|
|
306
|
+
case _:
|
|
307
|
+
return V("SuspenseList");
|
|
307
308
|
}
|
|
308
309
|
if (typeof e == "object")
|
|
309
310
|
switch (e.$$typeof) {
|
|
310
|
-
case
|
|
311
|
-
return
|
|
312
|
-
case
|
|
313
|
-
return
|
|
314
|
-
case
|
|
315
|
-
var n = e,
|
|
311
|
+
case h:
|
|
312
|
+
return Ge(e.render);
|
|
313
|
+
case c:
|
|
314
|
+
return B(e.type, r, t);
|
|
315
|
+
case C: {
|
|
316
|
+
var n = e, l = n._payload, u = n._init;
|
|
316
317
|
try {
|
|
317
|
-
return
|
|
318
|
+
return B(u(l), r, t);
|
|
318
319
|
} catch {
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
}
|
|
322
323
|
return "";
|
|
323
324
|
}
|
|
324
|
-
var
|
|
325
|
+
var N = Object.prototype.hasOwnProperty, Re = {}, _e = T.ReactDebugCurrentFrame;
|
|
325
326
|
function J(e) {
|
|
326
327
|
if (e) {
|
|
327
|
-
var r = e._owner, t =
|
|
328
|
-
|
|
328
|
+
var r = e._owner, t = B(e.type, e._source, r ? r.type : null);
|
|
329
|
+
_e.setExtraStackFrame(t);
|
|
329
330
|
} else
|
|
330
|
-
|
|
331
|
+
_e.setExtraStackFrame(null);
|
|
331
332
|
}
|
|
332
|
-
function
|
|
333
|
+
function Qe(e, r, t, n, l) {
|
|
333
334
|
{
|
|
334
|
-
var
|
|
335
|
-
for (var
|
|
336
|
-
if (
|
|
337
|
-
var
|
|
335
|
+
var u = Function.call.bind(N);
|
|
336
|
+
for (var o in e)
|
|
337
|
+
if (u(e, o)) {
|
|
338
|
+
var i = void 0;
|
|
338
339
|
try {
|
|
339
|
-
if (typeof e[
|
|
340
|
-
var
|
|
341
|
-
throw
|
|
340
|
+
if (typeof e[o] != "function") {
|
|
341
|
+
var y = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
342
|
+
throw y.name = "Invariant Violation", y;
|
|
342
343
|
}
|
|
343
|
-
|
|
344
|
-
} catch (
|
|
345
|
-
|
|
344
|
+
i = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
345
|
+
} catch (m) {
|
|
346
|
+
i = m;
|
|
346
347
|
}
|
|
347
|
-
|
|
348
|
+
i && !(i instanceof Error) && (J(l), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof i), J(null)), i instanceof Error && !(i.message in Re) && (Re[i.message] = !0, J(l), E("Failed %s type: %s", t, i.message), J(null));
|
|
348
349
|
}
|
|
349
350
|
}
|
|
350
351
|
}
|
|
351
|
-
var
|
|
352
|
-
function
|
|
353
|
-
return
|
|
352
|
+
var er = Array.isArray;
|
|
353
|
+
function re(e) {
|
|
354
|
+
return er(e);
|
|
354
355
|
}
|
|
355
|
-
function
|
|
356
|
+
function rr(e) {
|
|
356
357
|
{
|
|
357
358
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
358
359
|
return t;
|
|
359
360
|
}
|
|
360
361
|
}
|
|
361
|
-
function
|
|
362
|
+
function tr(e) {
|
|
362
363
|
try {
|
|
363
|
-
return
|
|
364
|
+
return Ee(e), !1;
|
|
364
365
|
} catch {
|
|
365
366
|
return !0;
|
|
366
367
|
}
|
|
367
368
|
}
|
|
368
|
-
function
|
|
369
|
+
function Ee(e) {
|
|
369
370
|
return "" + e;
|
|
370
371
|
}
|
|
371
|
-
function
|
|
372
|
-
if (
|
|
373
|
-
return
|
|
372
|
+
function ye(e) {
|
|
373
|
+
if (tr(e))
|
|
374
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(e)), Ee(e);
|
|
374
375
|
}
|
|
375
|
-
var W =
|
|
376
|
+
var W = T.ReactCurrentOwner, nr = {
|
|
376
377
|
key: !0,
|
|
377
378
|
ref: !0,
|
|
378
379
|
__self: !0,
|
|
379
380
|
__source: !0
|
|
380
|
-
},
|
|
381
|
-
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
381
|
+
}, xe, Ce, te;
|
|
382
|
+
te = {};
|
|
383
|
+
function ar(e) {
|
|
384
|
+
if (N.call(e, "ref")) {
|
|
384
385
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
385
386
|
if (r && r.isReactWarning)
|
|
386
387
|
return !1;
|
|
387
388
|
}
|
|
388
389
|
return e.ref !== void 0;
|
|
389
390
|
}
|
|
390
|
-
function
|
|
391
|
-
if (
|
|
391
|
+
function ir(e) {
|
|
392
|
+
if (N.call(e, "key")) {
|
|
392
393
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
393
394
|
if (r && r.isReactWarning)
|
|
394
395
|
return !1;
|
|
395
396
|
}
|
|
396
397
|
return e.key !== void 0;
|
|
397
398
|
}
|
|
398
|
-
function
|
|
399
|
+
function or(e, r) {
|
|
399
400
|
if (typeof e.ref == "string" && W.current && r && W.current.stateNode !== r) {
|
|
400
|
-
var t =
|
|
401
|
-
|
|
401
|
+
var t = D(W.current.type);
|
|
402
|
+
te[t] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(W.current.type), e.ref), te[t] = !0);
|
|
402
403
|
}
|
|
403
404
|
}
|
|
404
|
-
function
|
|
405
|
+
function sr(e, r) {
|
|
405
406
|
{
|
|
406
407
|
var t = function() {
|
|
407
|
-
|
|
408
|
+
xe || (xe = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
408
409
|
};
|
|
409
410
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
410
411
|
get: t,
|
|
@@ -412,10 +413,10 @@ function Cr() {
|
|
|
412
413
|
});
|
|
413
414
|
}
|
|
414
415
|
}
|
|
415
|
-
function
|
|
416
|
+
function lr(e, r) {
|
|
416
417
|
{
|
|
417
418
|
var t = function() {
|
|
418
|
-
|
|
419
|
+
Ce || (Ce = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
419
420
|
};
|
|
420
421
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
421
422
|
get: t,
|
|
@@ -423,70 +424,70 @@ function Cr() {
|
|
|
423
424
|
});
|
|
424
425
|
}
|
|
425
426
|
}
|
|
426
|
-
var
|
|
427
|
-
var
|
|
427
|
+
var ur = function(e, r, t, n, l, u, o) {
|
|
428
|
+
var i = {
|
|
428
429
|
// This tag allows us to uniquely identify this as a React Element
|
|
429
|
-
$$typeof:
|
|
430
|
+
$$typeof: a,
|
|
430
431
|
// Built-in properties that belong on the element
|
|
431
432
|
type: e,
|
|
432
433
|
key: r,
|
|
433
434
|
ref: t,
|
|
434
|
-
props:
|
|
435
|
+
props: o,
|
|
435
436
|
// Record the component responsible for creating this element.
|
|
436
|
-
_owner:
|
|
437
|
+
_owner: u
|
|
437
438
|
};
|
|
438
|
-
return
|
|
439
|
+
return i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
439
440
|
configurable: !1,
|
|
440
441
|
enumerable: !1,
|
|
441
442
|
writable: !0,
|
|
442
443
|
value: !1
|
|
443
|
-
}), Object.defineProperty(
|
|
444
|
+
}), Object.defineProperty(i, "_self", {
|
|
444
445
|
configurable: !1,
|
|
445
446
|
enumerable: !1,
|
|
446
447
|
writable: !1,
|
|
447
448
|
value: n
|
|
448
|
-
}), Object.defineProperty(
|
|
449
|
+
}), Object.defineProperty(i, "_source", {
|
|
449
450
|
configurable: !1,
|
|
450
451
|
enumerable: !1,
|
|
451
452
|
writable: !1,
|
|
452
|
-
value:
|
|
453
|
-
}), Object.freeze && (Object.freeze(
|
|
453
|
+
value: l
|
|
454
|
+
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
454
455
|
};
|
|
455
|
-
function
|
|
456
|
+
function cr(e, r, t, n, l) {
|
|
456
457
|
{
|
|
457
|
-
var
|
|
458
|
-
t !== void 0 && (
|
|
459
|
-
for (
|
|
460
|
-
|
|
458
|
+
var u, o = {}, i = null, y = null;
|
|
459
|
+
t !== void 0 && (ye(t), i = "" + t), ir(r) && (ye(r.key), i = "" + r.key), ar(r) && (y = r.ref, or(r, l));
|
|
460
|
+
for (u in r)
|
|
461
|
+
N.call(r, u) && !nr.hasOwnProperty(u) && (o[u] = r[u]);
|
|
461
462
|
if (e && e.defaultProps) {
|
|
462
|
-
var
|
|
463
|
-
for (
|
|
464
|
-
|
|
463
|
+
var m = e.defaultProps;
|
|
464
|
+
for (u in m)
|
|
465
|
+
o[u] === void 0 && (o[u] = m[u]);
|
|
465
466
|
}
|
|
466
|
-
if (
|
|
467
|
-
var
|
|
468
|
-
|
|
467
|
+
if (i || y) {
|
|
468
|
+
var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
469
|
+
i && sr(o, g), y && lr(o, g);
|
|
469
470
|
}
|
|
470
|
-
return
|
|
471
|
+
return ur(e, i, y, l, n, W.current, o);
|
|
471
472
|
}
|
|
472
473
|
}
|
|
473
|
-
var
|
|
474
|
-
function
|
|
474
|
+
var ne = T.ReactCurrentOwner, je = T.ReactDebugCurrentFrame;
|
|
475
|
+
function M(e) {
|
|
475
476
|
if (e) {
|
|
476
|
-
var r = e._owner, t =
|
|
477
|
-
|
|
477
|
+
var r = e._owner, t = B(e.type, e._source, r ? r.type : null);
|
|
478
|
+
je.setExtraStackFrame(t);
|
|
478
479
|
} else
|
|
479
|
-
|
|
480
|
+
je.setExtraStackFrame(null);
|
|
480
481
|
}
|
|
481
|
-
var
|
|
482
|
-
|
|
483
|
-
function
|
|
484
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
482
|
+
var ae;
|
|
483
|
+
ae = !1;
|
|
484
|
+
function ie(e) {
|
|
485
|
+
return typeof e == "object" && e !== null && e.$$typeof === a;
|
|
485
486
|
}
|
|
486
|
-
function
|
|
487
|
+
function we() {
|
|
487
488
|
{
|
|
488
|
-
if (
|
|
489
|
-
var e =
|
|
489
|
+
if (ne.current) {
|
|
490
|
+
var e = D(ne.current.type);
|
|
490
491
|
if (e)
|
|
491
492
|
return `
|
|
492
493
|
|
|
@@ -495,7 +496,7 @@ Check the render method of \`` + e + "`.";
|
|
|
495
496
|
return "";
|
|
496
497
|
}
|
|
497
498
|
}
|
|
498
|
-
function
|
|
499
|
+
function fr(e) {
|
|
499
500
|
{
|
|
500
501
|
if (e !== void 0) {
|
|
501
502
|
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
@@ -507,9 +508,9 @@ Check your code at ` + r + ":" + t + ".";
|
|
|
507
508
|
}
|
|
508
509
|
}
|
|
509
510
|
var Se = {};
|
|
510
|
-
function
|
|
511
|
+
function dr(e) {
|
|
511
512
|
{
|
|
512
|
-
var r =
|
|
513
|
+
var r = we();
|
|
513
514
|
if (!r) {
|
|
514
515
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
515
516
|
t && (r = `
|
|
@@ -519,39 +520,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
519
520
|
return r;
|
|
520
521
|
}
|
|
521
522
|
}
|
|
522
|
-
function
|
|
523
|
+
function Oe(e, r) {
|
|
523
524
|
{
|
|
524
525
|
if (!e._store || e._store.validated || e.key != null)
|
|
525
526
|
return;
|
|
526
527
|
e._store.validated = !0;
|
|
527
|
-
var t =
|
|
528
|
+
var t = dr(r);
|
|
528
529
|
if (Se[t])
|
|
529
530
|
return;
|
|
530
531
|
Se[t] = !0;
|
|
531
532
|
var n = "";
|
|
532
|
-
e && e._owner && e._owner !==
|
|
533
|
+
e && e._owner && e._owner !== ne.current && (n = " It was passed a child from " + D(e._owner.type) + "."), M(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), M(null);
|
|
533
534
|
}
|
|
534
535
|
}
|
|
535
|
-
function
|
|
536
|
+
function $e(e, r) {
|
|
536
537
|
{
|
|
537
538
|
if (typeof e != "object")
|
|
538
539
|
return;
|
|
539
|
-
if (
|
|
540
|
+
if (re(e))
|
|
540
541
|
for (var t = 0; t < e.length; t++) {
|
|
541
542
|
var n = e[t];
|
|
542
|
-
|
|
543
|
+
ie(n) && Oe(n, r);
|
|
543
544
|
}
|
|
544
|
-
else if (
|
|
545
|
+
else if (ie(e))
|
|
545
546
|
e._store && (e._store.validated = !0);
|
|
546
547
|
else if (e) {
|
|
547
|
-
var
|
|
548
|
-
if (typeof
|
|
549
|
-
for (var
|
|
550
|
-
|
|
548
|
+
var l = G(e);
|
|
549
|
+
if (typeof l == "function" && l !== e.entries)
|
|
550
|
+
for (var u = l.call(e), o; !(o = u.next()).done; )
|
|
551
|
+
ie(o.value) && Oe(o.value, r);
|
|
551
552
|
}
|
|
552
553
|
}
|
|
553
554
|
}
|
|
554
|
-
function
|
|
555
|
+
function vr(e) {
|
|
555
556
|
{
|
|
556
557
|
var r = e.type;
|
|
557
558
|
if (r == null || typeof r == "string")
|
|
@@ -559,158 +560,229 @@ Check the top-level render call using <` + t + ">.");
|
|
|
559
560
|
var t;
|
|
560
561
|
if (typeof r == "function")
|
|
561
562
|
t = r.propTypes;
|
|
562
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
563
|
+
else if (typeof r == "object" && (r.$$typeof === h || // Note: Memo only checks outer props here.
|
|
563
564
|
// Inner props are checked in the reconciler.
|
|
564
|
-
r.$$typeof ===
|
|
565
|
+
r.$$typeof === c))
|
|
565
566
|
t = r.propTypes;
|
|
566
567
|
else
|
|
567
568
|
return;
|
|
568
569
|
if (t) {
|
|
569
|
-
var n =
|
|
570
|
-
|
|
571
|
-
} else if (r.PropTypes !== void 0 && !
|
|
572
|
-
|
|
573
|
-
var
|
|
574
|
-
|
|
570
|
+
var n = D(r);
|
|
571
|
+
Qe(t, e.props, "prop", n, e);
|
|
572
|
+
} else if (r.PropTypes !== void 0 && !ae) {
|
|
573
|
+
ae = !0;
|
|
574
|
+
var l = D(r);
|
|
575
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
|
|
575
576
|
}
|
|
576
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
577
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
577
578
|
}
|
|
578
579
|
}
|
|
579
|
-
function
|
|
580
|
+
function mr(e) {
|
|
580
581
|
{
|
|
581
582
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
582
583
|
var n = r[t];
|
|
583
584
|
if (n !== "children" && n !== "key") {
|
|
584
|
-
|
|
585
|
+
M(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), M(null);
|
|
585
586
|
break;
|
|
586
587
|
}
|
|
587
588
|
}
|
|
588
|
-
e.ref !== null && (
|
|
589
|
+
e.ref !== null && (M(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), M(null));
|
|
589
590
|
}
|
|
590
591
|
}
|
|
591
|
-
var
|
|
592
|
-
function
|
|
592
|
+
var De = {};
|
|
593
|
+
function Te(e, r, t, n, l, u) {
|
|
593
594
|
{
|
|
594
|
-
var
|
|
595
|
-
if (!
|
|
596
|
-
var
|
|
597
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
598
|
-
var
|
|
599
|
-
|
|
600
|
-
var
|
|
601
|
-
e === null ?
|
|
595
|
+
var o = Ze(e);
|
|
596
|
+
if (!o) {
|
|
597
|
+
var i = "";
|
|
598
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
599
|
+
var y = fr(l);
|
|
600
|
+
y ? i += y : i += we();
|
|
601
|
+
var m;
|
|
602
|
+
e === null ? m = "null" : re(e) ? m = "array" : e !== void 0 && e.$$typeof === a ? (m = "<" + (D(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, i);
|
|
602
603
|
}
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
605
|
-
return
|
|
606
|
-
if (
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
604
|
+
var g = cr(e, r, t, l, u);
|
|
605
|
+
if (g == null)
|
|
606
|
+
return g;
|
|
607
|
+
if (o) {
|
|
608
|
+
var O = r.children;
|
|
609
|
+
if (O !== void 0)
|
|
609
610
|
if (n)
|
|
610
|
-
if (
|
|
611
|
-
for (var
|
|
612
|
-
|
|
613
|
-
Object.freeze && Object.freeze(
|
|
611
|
+
if (re(O)) {
|
|
612
|
+
for (var F = 0; F < O.length; F++)
|
|
613
|
+
$e(O[F], e);
|
|
614
|
+
Object.freeze && Object.freeze(O);
|
|
614
615
|
} else
|
|
615
|
-
|
|
616
|
+
E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
616
617
|
else
|
|
617
|
-
|
|
618
|
+
$e(O, e);
|
|
618
619
|
}
|
|
619
|
-
if (
|
|
620
|
-
var
|
|
621
|
-
return
|
|
622
|
-
}),
|
|
623
|
-
if (!
|
|
624
|
-
var
|
|
625
|
-
|
|
620
|
+
if (N.call(r, "key")) {
|
|
621
|
+
var P = D(e), j = Object.keys(r).filter(function(_r) {
|
|
622
|
+
return _r !== "key";
|
|
623
|
+
}), oe = j.length > 0 ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
624
|
+
if (!De[P + oe]) {
|
|
625
|
+
var Rr = j.length > 0 ? "{" + j.join(": ..., ") + ": ...}" : "{}";
|
|
626
|
+
E(`A props object containing a "key" prop is being spread into JSX:
|
|
626
627
|
let props = %s;
|
|
627
628
|
<%s {...props} />
|
|
628
629
|
React keys must be passed directly to JSX without using spread:
|
|
629
630
|
let props = %s;
|
|
630
|
-
<%s key={someKey} {...props} />`,
|
|
631
|
+
<%s key={someKey} {...props} />`, oe, P, Rr, P), De[P + oe] = !0;
|
|
631
632
|
}
|
|
632
633
|
}
|
|
633
|
-
return e ===
|
|
634
|
+
return e === f ? mr(g) : vr(g), g;
|
|
634
635
|
}
|
|
635
636
|
}
|
|
636
|
-
function
|
|
637
|
-
return
|
|
637
|
+
function pr(e, r, t) {
|
|
638
|
+
return Te(e, r, t, !0);
|
|
638
639
|
}
|
|
639
|
-
function
|
|
640
|
-
return
|
|
640
|
+
function hr(e, r, t) {
|
|
641
|
+
return Te(e, r, t, !1);
|
|
641
642
|
}
|
|
642
|
-
var
|
|
643
|
-
|
|
644
|
-
}()),
|
|
643
|
+
var gr = hr, br = pr;
|
|
644
|
+
z.Fragment = f, z.jsx = gr, z.jsxs = br;
|
|
645
|
+
}()), z;
|
|
645
646
|
}
|
|
646
|
-
process.env.NODE_ENV === "production" ?
|
|
647
|
-
var
|
|
648
|
-
const
|
|
647
|
+
process.env.NODE_ENV === "production" ? se.exports = Tr() : se.exports = Yr();
|
|
648
|
+
var R = se.exports;
|
|
649
|
+
const Ie = xr({
|
|
649
650
|
theme: {
|
|
650
651
|
cssVar: !0,
|
|
651
|
-
algorithm: [
|
|
652
|
+
algorithm: [jr.defaultAlgorithm]
|
|
652
653
|
}
|
|
653
|
-
});
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
return br($e);
|
|
654
|
+
}), Nr = Ie.Provider;
|
|
655
|
+
function Ar() {
|
|
656
|
+
return Cr(Ie);
|
|
657
657
|
}
|
|
658
|
-
function
|
|
659
|
-
const { theme:
|
|
660
|
-
return /* @__PURE__ */
|
|
658
|
+
function q(s) {
|
|
659
|
+
const { theme: a } = Ar();
|
|
660
|
+
return /* @__PURE__ */ R.jsx(wr, { theme: a, children: s.children });
|
|
661
661
|
}
|
|
662
|
-
const
|
|
662
|
+
const Ne = (s, a) => {
|
|
663
|
+
const p = s;
|
|
664
|
+
let f = s;
|
|
665
|
+
if (a.includes(" ")) {
|
|
666
|
+
f = "";
|
|
667
|
+
const w = a == null ? void 0 : a.split(" ");
|
|
668
|
+
for (const $ of w)
|
|
669
|
+
f += ` ${p}-${$}`;
|
|
670
|
+
} else
|
|
671
|
+
a && (f = `${s}-${a}`);
|
|
672
|
+
return f;
|
|
673
|
+
}, Me = (s = "") => Ne("items-row", s), Pr = (s) => s.items ? /* @__PURE__ */ R.jsx(q, { children: /* @__PURE__ */ R.jsx("div", { className: `${Me()} ${s.className || ""}`, style: s.style, children: (s.items || []).map((a, p) => {
|
|
674
|
+
const f = `${Me("item")} ${a.className}`;
|
|
675
|
+
return a.render ? /* @__PURE__ */ R.jsx("span", { className: f, children: a.render() }, p) : /* @__PURE__ */ R.jsx(
|
|
676
|
+
Sr,
|
|
677
|
+
{
|
|
678
|
+
className: f,
|
|
679
|
+
...a.btnProps,
|
|
680
|
+
type: a.type || "primary",
|
|
681
|
+
onClick: a.onClick,
|
|
682
|
+
children: a.label
|
|
683
|
+
},
|
|
684
|
+
a.label
|
|
685
|
+
);
|
|
686
|
+
}) }) }) : null;
|
|
687
|
+
const L = (s = "") => Ne("m-breadcrumb", s), Wr = (s) => {
|
|
663
688
|
const {
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
689
|
+
routes: a,
|
|
690
|
+
customItems: p,
|
|
691
|
+
style: f,
|
|
692
|
+
className: w,
|
|
693
|
+
offsetTop: $ = 64,
|
|
694
|
+
mainAppBaseUrl: b,
|
|
695
|
+
microAppName: x
|
|
696
|
+
} = s, h = K.useRef(null), S = K.useCallback(() => {
|
|
697
|
+
var c, C;
|
|
698
|
+
(C = (c = h.current) == null ? void 0 : c.updatePosition) == null || C.call(c);
|
|
699
|
+
}, []);
|
|
700
|
+
K.useEffect(() => (window.addEventListener("scroll", S, !0), () => window.removeEventListener("scroll", S)), [S]);
|
|
701
|
+
const _ = K.useCallback(
|
|
702
|
+
(c) => {
|
|
703
|
+
if (!c)
|
|
704
|
+
return "";
|
|
705
|
+
const C = c.replace(/^\/+/, "");
|
|
706
|
+
return `/${[
|
|
707
|
+
b == null ? void 0 : b.replace(/\/+$/, ""),
|
|
708
|
+
x == null ? void 0 : x.replace(/\/+$/, ""),
|
|
709
|
+
C
|
|
710
|
+
].filter(Boolean).join("/")}`;
|
|
711
|
+
},
|
|
712
|
+
[b, x]
|
|
713
|
+
);
|
|
714
|
+
return /* @__PURE__ */ R.jsx(q, { children: /* @__PURE__ */ R.jsx("div", { className: `${L()} ${w || ""}`, style: f, children: /* @__PURE__ */ R.jsx(Or, { ref: h, offsetTop: $, children: /* @__PURE__ */ R.jsxs(
|
|
715
|
+
$r,
|
|
716
|
+
{
|
|
717
|
+
className: L("container"),
|
|
718
|
+
rootClassName: L("body"),
|
|
719
|
+
variant: "borderless",
|
|
720
|
+
children: [
|
|
721
|
+
/* @__PURE__ */ R.jsx(Ye, { className: L("inner-breadcrumb"), style: { fontSize: "18px" }, children: a == null ? void 0 : a.map((c) => /* @__PURE__ */ R.jsx(Ye.Item, { children: c.url ? /* @__PURE__ */ R.jsx("a", { href: `#${_(c.url)}`, children: c.name }) : c.name }, c.url || c.name)) }),
|
|
722
|
+
/* @__PURE__ */ R.jsx("div", { className: L("custom-item-wrapper"), children: /* @__PURE__ */ R.jsx(Pr, { items: p }) })
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
) }) }) });
|
|
726
|
+
}, kr = (s) => {
|
|
727
|
+
const {
|
|
728
|
+
data: a,
|
|
729
|
+
title: p,
|
|
730
|
+
column: f = 3,
|
|
731
|
+
lineHeight: w,
|
|
732
|
+
align: $ = "left",
|
|
669
733
|
itemLayout: b,
|
|
670
|
-
colon:
|
|
671
|
-
bordered:
|
|
672
|
-
style:
|
|
673
|
-
className:
|
|
674
|
-
labelStyle:
|
|
675
|
-
contentStyle:
|
|
676
|
-
} =
|
|
677
|
-
...
|
|
678
|
-
textAlign:
|
|
734
|
+
colon: x = !0,
|
|
735
|
+
bordered: h = !1,
|
|
736
|
+
style: S,
|
|
737
|
+
className: _,
|
|
738
|
+
labelStyle: c,
|
|
739
|
+
contentStyle: C
|
|
740
|
+
} = s, Y = {
|
|
741
|
+
...w ? { lineHeight: `${w}px` } : {},
|
|
742
|
+
textAlign: $,
|
|
679
743
|
...b != null && b.label ? { width: `${b.label}px` } : {},
|
|
680
|
-
...
|
|
681
|
-
},
|
|
682
|
-
...
|
|
744
|
+
...c
|
|
745
|
+
}, U = {
|
|
746
|
+
...w ? { lineHeight: `${w}px` } : {},
|
|
683
747
|
...b != null && b.value ? { width: `${b.value}px` } : {},
|
|
684
|
-
...
|
|
748
|
+
...C
|
|
685
749
|
};
|
|
686
|
-
return /* @__PURE__ */
|
|
687
|
-
|
|
750
|
+
return /* @__PURE__ */ R.jsx(q, { children: /* @__PURE__ */ R.jsx(
|
|
751
|
+
Ae,
|
|
688
752
|
{
|
|
689
|
-
title:
|
|
690
|
-
column:
|
|
691
|
-
colon:
|
|
692
|
-
bordered:
|
|
693
|
-
style:
|
|
694
|
-
className:
|
|
695
|
-
labelStyle:
|
|
696
|
-
contentStyle:
|
|
697
|
-
children:
|
|
698
|
-
var
|
|
699
|
-
return /* @__PURE__ */
|
|
700
|
-
|
|
753
|
+
title: p,
|
|
754
|
+
column: f,
|
|
755
|
+
colon: x,
|
|
756
|
+
bordered: h,
|
|
757
|
+
style: S,
|
|
758
|
+
className: _,
|
|
759
|
+
labelStyle: Y,
|
|
760
|
+
contentStyle: U,
|
|
761
|
+
children: a.map((k, G) => {
|
|
762
|
+
var T;
|
|
763
|
+
return /* @__PURE__ */ R.jsx(
|
|
764
|
+
Ae.Item,
|
|
701
765
|
{
|
|
702
766
|
label: k.label,
|
|
703
767
|
span: k.span,
|
|
704
768
|
children: k.value || "-"
|
|
705
769
|
},
|
|
706
|
-
((
|
|
770
|
+
((T = k.label) == null ? void 0 : T.toString()) || G
|
|
707
771
|
);
|
|
708
772
|
})
|
|
709
773
|
}
|
|
710
774
|
) });
|
|
711
775
|
};
|
|
712
|
-
|
|
713
|
-
|
|
776
|
+
kr.displayName = "MDescriptions";
|
|
777
|
+
function Hr(s) {
|
|
778
|
+
var p;
|
|
779
|
+
const a = ((p = s.columns) == null ? void 0 : p.map((f) => ({ ...f, dataIndex: f.key }))) ?? [];
|
|
780
|
+
return /* @__PURE__ */ R.jsxs(q, { children: [
|
|
781
|
+
/* @__PURE__ */ R.jsx(Dr, { rowKey: (f) => f.id, ...s, columns: a }),
|
|
782
|
+
";"
|
|
783
|
+
] });
|
|
784
|
+
}
|
|
785
|
+
const zr = {
|
|
714
786
|
YMD_Hms: "YYYY-MM-DD HH:mm:ss",
|
|
715
787
|
YMD: "YYYY-MM-DD",
|
|
716
788
|
YMD2: "YYYYMMDD",
|
|
@@ -720,36 +792,41 @@ const Tr = ({ type: p = "primary", children: d, onClick: R, custom: C }) => /* @
|
|
|
720
792
|
YMD_000: "YYYY-MM-DD 00:00:00",
|
|
721
793
|
YMD_end: "YYYY-MM-DD 23:59:59",
|
|
722
794
|
YMD_Hm: "YYYYMMDD HHmm"
|
|
723
|
-
},
|
|
724
|
-
class
|
|
795
|
+
}, Lr = 10;
|
|
796
|
+
class v {
|
|
725
797
|
}
|
|
726
798
|
// 整数
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
799
|
+
d(v, "integerRegex", /^-?\d+$/), // 正整数
|
|
800
|
+
d(v, "positiveIntegerRegex", /^[1-9]\d*$/), // 负整数
|
|
801
|
+
d(v, "negativeIntegerRegex", /^-[1-9]\d*$/), // 浮点数
|
|
802
|
+
d(v, "floatRegex", /^-?\d+(\.\d+)?$/), // 字母
|
|
803
|
+
d(v, "letter", /^[a-zA-Z]+$/), // 汉字
|
|
804
|
+
d(v, "chinese", /^[\u4e00-\u9fa5]+$/), // 数字
|
|
805
|
+
d(v, "number", /^[0-9]*$/), // 用户名 字母开头,允许字母数字下划线,长度4-16
|
|
806
|
+
d(v, "username", /^[a-zA-Z]\w{3,15}$/), // 强用户名 必须包含大小写字母和数字,6-20位
|
|
807
|
+
d(v, "strongUsername", /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{6,20}$/), // 密码 至少8位,包含字母和数字
|
|
808
|
+
d(v, "password", /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/), // 强密码 至少8位,包含大小写字母、数字和特殊字符
|
|
809
|
+
d(v, "strongPassword", /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/), // 中国大陆的手机号
|
|
810
|
+
d(v, "phone", /^1[3-9]\d{9}$/), // 带区号的手机号
|
|
811
|
+
d(v, "phoneWithAreaCode", /^\+?\d{2,3}-?\d{8,11}$/), // 邮箱
|
|
812
|
+
d(v, "email", /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/), // 身份证
|
|
813
|
+
d(v, "idCard", /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/), // 银行卡
|
|
814
|
+
d(v, "bankCard", /^[1-9]\d{3,30}$/), // 邮政编码
|
|
815
|
+
d(v, "zipCode", /^[1-9]\d{5}$/), // IP
|
|
816
|
+
d(v, "ip", /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/), // URL
|
|
817
|
+
d(v, "url", /^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/), // 车牌
|
|
818
|
+
d(v, "carNumber", /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z][A-HJ-NP-Z0-9]{4,5}[A-HJ-NP-Z0-9挂学警港澳]$/), // 时间 hh:mm:ss
|
|
819
|
+
d(v, "time", /^([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/), // 日期 YYYY-MM-DD
|
|
820
|
+
d(v, "date", /^(\d{4})-(\d{2})-(\d{2})$/);
|
|
749
821
|
export {
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
822
|
+
q as CompThemeProvider,
|
|
823
|
+
zr as DATE_FORMAT,
|
|
824
|
+
Pr as ItemsRow,
|
|
825
|
+
Wr as MBreadcrumb,
|
|
826
|
+
kr as MDescriptions,
|
|
827
|
+
Hr as MTable,
|
|
828
|
+
Nr as MiThemeProvider,
|
|
829
|
+
Lr as PAGE_SIZE,
|
|
830
|
+
v as PatternType,
|
|
831
|
+
Ar as useMiThemeConfig
|
|
755
832
|
};
|