@mi-avalon/libs 0.0.18 → 0.0.20

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