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