@mi-avalon/libs 0.0.20 → 0.0.21

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