rc-lib-ui 1.0.24 → 1.0.26

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/README.md CHANGED
@@ -86,6 +86,7 @@ export const App = () => {
86
86
  </Toolbar>
87
87
  </>
88
88
  )}
89
+ itemsProps={{MuiHeader: {AfterComponent: <OfflineDetection/>}}}
89
90
  children={/*...*/}
90
91
  />;
91
92
 
@@ -17,7 +17,7 @@ export interface DashboardProps extends Pick<ListMenuProps, 'listMenu' | 'styleL
17
17
  statuses?: Partial<Record<Statuses_OR, boolean>>;
18
18
  sx?: SxProps<Theme>;
19
19
  itemsProps?: {
20
- MuiHeader?: Pick<MuiHeaderProps, 'sx' | 'bgColor'>;
20
+ MuiHeader?: Pick<MuiHeaderProps, 'sx' | 'bgColor' | 'AfterComponent'>;
21
21
  };
22
22
  classes?: Partial<Record<'listMenu' | 'header', string>>;
23
23
  }
@@ -2,11 +2,11 @@ import { jsxs as Ae, jsx as ie, Fragment as Rr } from "react/jsx-runtime";
2
2
  import * as Re from "react";
3
3
  import vt, { forwardRef as St, useMemo as Ct, useState as Tt, useRef as Et, useEffect as wt, useImperativeHandle as $t } from "react";
4
4
  import { useTheme as Ot } from "@mui/material/styles";
5
- import { Box as Pr, Divider as kr, IconButton as xt } from "@mui/material";
5
+ import { Box as kr, Divider as Pr, IconButton as xt } from "@mui/material";
6
6
  import At, { internal_processStyles as _t } from "@mui/styled-engine";
7
7
  import { setStateDecorator as Rt } from "../_helpers/index.js";
8
- import { ContentBox as Pt } from "./components/ContentBox.js";
9
- import { DrawerToggleMenu as kt } from "./components/DrawerToggleMenu.js";
8
+ import { ContentBox as kt } from "./components/ContentBox.js";
9
+ import { DrawerToggleMenu as Pt } from "./components/DrawerToggleMenu.js";
10
10
  import { ListMenu as It } from "./components/ListMemu/ListMenu.js";
11
11
  import { MuiHeader as Nt } from "./components/MuiHeader.js";
12
12
  import { MuiMenu as Dt } from "./components/MuiMenu.js";
@@ -165,7 +165,7 @@ function Vt() {
165
165
  }
166
166
  }
167
167
  }
168
- var h = f, R = l, H = s, te = c, Q = r, i = g, T = n, A = S, P = v, K = t, re = a, ne = o, ce = d, ve = !1;
168
+ var h = f, R = l, H = s, ne = c, K = r, i = g, T = n, A = S, D = v, Q = t, J = a, re = o, ce = d, ve = !1;
169
169
  function Ce(C) {
170
170
  return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), b(C) || $(C) === f;
171
171
  }
@@ -175,10 +175,10 @@ function Vt() {
175
175
  function E(C) {
176
176
  return $(C) === s;
177
177
  }
178
- function D(C) {
178
+ function N(C) {
179
179
  return $(C) === c;
180
180
  }
181
- function I(C) {
181
+ function P(C) {
182
182
  return typeof C == "object" && C !== null && C.$$typeof === r;
183
183
  }
184
184
  function _(C) {
@@ -190,7 +190,7 @@ function Vt() {
190
190
  function k(C) {
191
191
  return $(C) === S;
192
192
  }
193
- function N(C) {
193
+ function I(C) {
194
194
  return $(C) === v;
195
195
  }
196
196
  function B(C) {
@@ -205,7 +205,7 @@ function Vt() {
205
205
  function oe(C) {
206
206
  return $(C) === d;
207
207
  }
208
- z.AsyncMode = h, z.ConcurrentMode = R, z.ContextConsumer = H, z.ContextProvider = te, z.Element = Q, z.ForwardRef = i, z.Fragment = T, z.Lazy = A, z.Memo = P, z.Portal = K, z.Profiler = re, z.StrictMode = ne, z.Suspense = ce, z.isAsyncMode = Ce, z.isConcurrentMode = b, z.isContextConsumer = E, z.isContextProvider = D, z.isElement = I, z.isForwardRef = _, z.isFragment = M, z.isLazy = k, z.isMemo = N, z.isPortal = B, z.isProfiler = V, z.isStrictMode = j, z.isSuspense = oe, z.isValidElementType = w, z.typeOf = $;
208
+ z.AsyncMode = h, z.ConcurrentMode = R, z.ContextConsumer = H, z.ContextProvider = ne, z.Element = K, z.ForwardRef = i, z.Fragment = T, z.Lazy = A, z.Memo = D, z.Portal = Q, z.Profiler = J, z.StrictMode = re, z.Suspense = ce, z.isAsyncMode = Ce, z.isConcurrentMode = b, z.isContextConsumer = E, z.isContextProvider = N, z.isElement = P, z.isForwardRef = _, z.isFragment = M, z.isLazy = k, z.isMemo = I, z.isPortal = B, z.isProfiler = V, z.isStrictMode = j, z.isSuspense = oe, z.isValidElementType = w, z.typeOf = $;
209
209
  }()), z;
210
210
  }
211
211
  var Mr;
@@ -362,11 +362,11 @@ function Lt() {
362
362
  elementType: h(),
363
363
  instanceOf: R,
364
364
  node: i(),
365
- objectOf: te,
365
+ objectOf: ne,
366
366
  oneOf: H,
367
- oneOfType: Q,
367
+ oneOfType: K,
368
368
  shape: A,
369
- exact: P
369
+ exact: D
370
370
  };
371
371
  function S(b, E) {
372
372
  return b === E ? b !== 0 || 1 / b === 1 / E : b !== b && E !== E;
@@ -377,30 +377,30 @@ function Lt() {
377
377
  y.prototype = Error.prototype;
378
378
  function p(b) {
379
379
  if (process.env.NODE_ENV !== "production")
380
- var E = {}, D = 0;
381
- function I(M, k, N, B, V, j, oe) {
382
- if (B = B || m, j = j || N, oe !== t) {
380
+ var E = {}, N = 0;
381
+ function P(M, k, I, B, V, j, oe) {
382
+ if (B = B || m, j = j || I, oe !== t) {
383
383
  if (f) {
384
384
  var C = new Error(
385
385
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
386
386
  );
387
387
  throw C.name = "Invariant Violation", C;
388
388
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
389
- var le = B + ":" + N;
389
+ var le = B + ":" + I;
390
390
  !E[le] && // Avoid spamming the console because they are often not actionable except for lib authors
391
- D < 3 && (a(
391
+ N < 3 && (a(
392
392
  "You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + B + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
393
- ), E[le] = !0, D++);
393
+ ), E[le] = !0, N++);
394
394
  }
395
395
  }
396
- return k[N] == null ? M ? k[N] === null ? new y("The " + V + " `" + j + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new y("The " + V + " `" + j + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : b(k, N, B, V, j);
396
+ return k[I] == null ? M ? k[I] === null ? new y("The " + V + " `" + j + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new y("The " + V + " `" + j + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : b(k, I, B, V, j);
397
397
  }
398
- var _ = I.bind(null, !1);
399
- return _.isRequired = I.bind(null, !0), _;
398
+ var _ = P.bind(null, !1);
399
+ return _.isRequired = P.bind(null, !0), _;
400
400
  }
401
401
  function O(b) {
402
- function E(D, I, _, M, k, N) {
403
- var B = D[I], V = ne(B);
402
+ function E(N, P, _, M, k, I) {
403
+ var B = N[P], V = re(B);
404
404
  if (V !== b) {
405
405
  var j = ce(B);
406
406
  return new y(
@@ -416,16 +416,16 @@ function Lt() {
416
416
  return p(c);
417
417
  }
418
418
  function w(b) {
419
- function E(D, I, _, M, k) {
419
+ function E(N, P, _, M, k) {
420
420
  if (typeof b != "function")
421
421
  return new y("Property `" + k + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
422
- var N = D[I];
423
- if (!Array.isArray(N)) {
424
- var B = ne(N);
422
+ var I = N[P];
423
+ if (!Array.isArray(I)) {
424
+ var B = re(I);
425
425
  return new y("Invalid " + M + " `" + k + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected an array."));
426
426
  }
427
- for (var V = 0; V < N.length; V++) {
428
- var j = b(N, V, _, M, k + "[" + V + "]", t);
427
+ for (var V = 0; V < I.length; V++) {
428
+ var j = b(I, V, _, M, k + "[" + V + "]", t);
429
429
  if (j instanceof Error)
430
430
  return j;
431
431
  }
@@ -434,32 +434,32 @@ function Lt() {
434
434
  return p(E);
435
435
  }
436
436
  function $() {
437
- function b(E, D, I, _, M) {
438
- var k = E[D];
437
+ function b(E, N, P, _, M) {
438
+ var k = E[N];
439
439
  if (!s(k)) {
440
- var N = ne(k);
441
- return new y("Invalid " + _ + " `" + M + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement."));
440
+ var I = re(k);
441
+ return new y("Invalid " + _ + " `" + M + "` of type " + ("`" + I + "` supplied to `" + P + "`, expected a single ReactElement."));
442
442
  }
443
443
  return null;
444
444
  }
445
445
  return p(b);
446
446
  }
447
447
  function h() {
448
- function b(E, D, I, _, M) {
449
- var k = E[D];
448
+ function b(E, N, P, _, M) {
449
+ var k = E[N];
450
450
  if (!e.isValidElementType(k)) {
451
- var N = ne(k);
452
- return new y("Invalid " + _ + " `" + M + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement type."));
451
+ var I = re(k);
452
+ return new y("Invalid " + _ + " `" + M + "` of type " + ("`" + I + "` supplied to `" + P + "`, expected a single ReactElement type."));
453
453
  }
454
454
  return null;
455
455
  }
456
456
  return p(b);
457
457
  }
458
458
  function R(b) {
459
- function E(D, I, _, M, k) {
460
- if (!(D[I] instanceof b)) {
461
- var N = b.name || m, B = Ce(D[I]);
462
- return new y("Invalid " + M + " `" + k + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected ") + ("instance of `" + N + "`."));
459
+ function E(N, P, _, M, k) {
460
+ if (!(N[P] instanceof b)) {
461
+ var I = b.name || m, B = Ce(N[P]);
462
+ return new y("Invalid " + M + " `" + k + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected ") + ("instance of `" + I + "`."));
463
463
  }
464
464
  return null;
465
465
  }
@@ -470,28 +470,28 @@ function Lt() {
470
470
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
471
471
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
472
472
  ) : a("Invalid argument supplied to oneOf, expected an array.")), c;
473
- function E(D, I, _, M, k) {
474
- for (var N = D[I], B = 0; B < b.length; B++)
475
- if (S(N, b[B]))
473
+ function E(N, P, _, M, k) {
474
+ for (var I = N[P], B = 0; B < b.length; B++)
475
+ if (S(I, b[B]))
476
476
  return null;
477
477
  var V = JSON.stringify(b, function(oe, C) {
478
478
  var le = ce(C);
479
479
  return le === "symbol" ? String(C) : C;
480
480
  });
481
- return new y("Invalid " + M + " `" + k + "` of value `" + String(N) + "` " + ("supplied to `" + _ + "`, expected one of " + V + "."));
481
+ return new y("Invalid " + M + " `" + k + "` of value `" + String(I) + "` " + ("supplied to `" + _ + "`, expected one of " + V + "."));
482
482
  }
483
483
  return p(E);
484
484
  }
485
- function te(b) {
486
- function E(D, I, _, M, k) {
485
+ function ne(b) {
486
+ function E(N, P, _, M, k) {
487
487
  if (typeof b != "function")
488
488
  return new y("Property `" + k + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
489
- var N = D[I], B = ne(N);
489
+ var I = N[P], B = re(I);
490
490
  if (B !== "object")
491
491
  return new y("Invalid " + M + " `" + k + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected an object."));
492
- for (var V in N)
493
- if (n(N, V)) {
494
- var j = b(N, V, _, M, k + "." + V, t);
492
+ for (var V in I)
493
+ if (n(I, V)) {
494
+ var j = b(I, V, _, M, k + "." + V, t);
495
495
  if (j instanceof Error)
496
496
  return j;
497
497
  }
@@ -499,49 +499,49 @@ function Lt() {
499
499
  }
500
500
  return p(E);
501
501
  }
502
- function Q(b) {
502
+ function K(b) {
503
503
  if (!Array.isArray(b))
504
504
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), c;
505
505
  for (var E = 0; E < b.length; E++) {
506
- var D = b[E];
507
- if (typeof D != "function")
506
+ var N = b[E];
507
+ if (typeof N != "function")
508
508
  return a(
509
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ve(D) + " at index " + E + "."
509
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ve(N) + " at index " + E + "."
510
510
  ), c;
511
511
  }
512
- function I(_, M, k, N, B) {
512
+ function P(_, M, k, I, B) {
513
513
  for (var V = [], j = 0; j < b.length; j++) {
514
- var oe = b[j], C = oe(_, M, k, N, B, t);
514
+ var oe = b[j], C = oe(_, M, k, I, B, t);
515
515
  if (C == null)
516
516
  return null;
517
517
  C.data && n(C.data, "expectedType") && V.push(C.data.expectedType);
518
518
  }
519
519
  var le = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
520
- return new y("Invalid " + N + " `" + B + "` supplied to " + ("`" + k + "`" + le + "."));
520
+ return new y("Invalid " + I + " `" + B + "` supplied to " + ("`" + k + "`" + le + "."));
521
521
  }
522
- return p(I);
522
+ return p(P);
523
523
  }
524
524
  function i() {
525
- function b(E, D, I, _, M) {
526
- return K(E[D]) ? null : new y("Invalid " + _ + " `" + M + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
525
+ function b(E, N, P, _, M) {
526
+ return Q(E[N]) ? null : new y("Invalid " + _ + " `" + M + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
527
527
  }
528
528
  return p(b);
529
529
  }
530
- function T(b, E, D, I, _) {
530
+ function T(b, E, N, P, _) {
531
531
  return new y(
532
- (b || "React class") + ": " + E + " type `" + D + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
532
+ (b || "React class") + ": " + E + " type `" + N + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
533
533
  );
534
534
  }
535
535
  function A(b) {
536
- function E(D, I, _, M, k) {
537
- var N = D[I], B = ne(N);
536
+ function E(N, P, _, M, k) {
537
+ var I = N[P], B = re(I);
538
538
  if (B !== "object")
539
539
  return new y("Invalid " + M + " `" + k + "` of type `" + B + "` " + ("supplied to `" + _ + "`, expected `object`."));
540
540
  for (var V in b) {
541
541
  var j = b[V];
542
542
  if (typeof j != "function")
543
543
  return T(_, M, k, V, ce(j));
544
- var oe = j(N, V, _, M, k + "." + V, t);
544
+ var oe = j(I, V, _, M, k + "." + V, t);
545
545
  if (oe)
546
546
  return oe;
547
547
  }
@@ -549,22 +549,22 @@ function Lt() {
549
549
  }
550
550
  return p(E);
551
551
  }
552
- function P(b) {
553
- function E(D, I, _, M, k) {
554
- var N = D[I], B = ne(N);
552
+ function D(b) {
553
+ function E(N, P, _, M, k) {
554
+ var I = N[P], B = re(I);
555
555
  if (B !== "object")
556
556
  return new y("Invalid " + M + " `" + k + "` of type `" + B + "` " + ("supplied to `" + _ + "`, expected `object`."));
557
- var V = r({}, D[I], b);
557
+ var V = r({}, N[P], b);
558
558
  for (var j in V) {
559
559
  var oe = b[j];
560
560
  if (n(b, j) && typeof oe != "function")
561
561
  return T(_, M, k, j, ce(oe));
562
562
  if (!oe)
563
563
  return new y(
564
- "Invalid " + M + " `" + k + "` key `" + j + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(D[I], null, " ") + `
564
+ "Invalid " + M + " `" + k + "` key `" + j + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(N[P], null, " ") + `
565
565
  Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
566
566
  );
567
- var C = oe(N, j, _, M, k + "." + j, t);
567
+ var C = oe(I, j, _, M, k + "." + j, t);
568
568
  if (C)
569
569
  return C;
570
570
  }
@@ -572,7 +572,7 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
572
572
  }
573
573
  return p(E);
574
574
  }
575
- function K(b) {
575
+ function Q(b) {
576
576
  switch (typeof b) {
577
577
  case "number":
578
578
  case "string":
@@ -582,20 +582,20 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
582
582
  return !b;
583
583
  case "object":
584
584
  if (Array.isArray(b))
585
- return b.every(K);
585
+ return b.every(Q);
586
586
  if (b === null || s(b))
587
587
  return !0;
588
588
  var E = d(b);
589
589
  if (E) {
590
- var D = E.call(b), I;
590
+ var N = E.call(b), P;
591
591
  if (E !== b.entries) {
592
- for (; !(I = D.next()).done; )
593
- if (!K(I.value))
592
+ for (; !(P = N.next()).done; )
593
+ if (!Q(P.value))
594
594
  return !1;
595
595
  } else
596
- for (; !(I = D.next()).done; ) {
597
- var _ = I.value;
598
- if (_ && !K(_[1]))
596
+ for (; !(P = N.next()).done; ) {
597
+ var _ = P.value;
598
+ if (_ && !Q(_[1]))
599
599
  return !1;
600
600
  }
601
601
  } else
@@ -605,17 +605,17 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
605
605
  return !1;
606
606
  }
607
607
  }
608
- function re(b, E) {
608
+ function J(b, E) {
609
609
  return b === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
610
610
  }
611
- function ne(b) {
611
+ function re(b) {
612
612
  var E = typeof b;
613
- return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : re(E, b) ? "symbol" : E;
613
+ return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : J(E, b) ? "symbol" : E;
614
614
  }
615
615
  function ce(b) {
616
616
  if (typeof b > "u" || b === null)
617
617
  return "" + b;
618
- var E = ne(b);
618
+ var E = re(b);
619
619
  if (E === "object") {
620
620
  if (b instanceof Date)
621
621
  return "date";
@@ -837,17 +837,17 @@ function Kt() {
837
837
  }
838
838
  }
839
839
  }
840
- var R = c, H = a, te = e, Q = f, i = t, T = m, A = d, P = r, K = o, re = n, ne = l, ce = g, ve = !1, Ce = !1;
840
+ var R = c, H = a, ne = e, K = f, i = t, T = m, A = d, D = r, Q = o, J = n, re = l, ce = g, ve = !1, Ce = !1;
841
841
  function b(x) {
842
842
  return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
843
843
  }
844
844
  function E(x) {
845
845
  return Ce || (Ce = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
846
846
  }
847
- function D(x) {
847
+ function N(x) {
848
848
  return h(x) === c;
849
849
  }
850
- function I(x) {
850
+ function P(x) {
851
851
  return h(x) === a;
852
852
  }
853
853
  function _(x) {
@@ -859,7 +859,7 @@ function Kt() {
859
859
  function k(x) {
860
860
  return h(x) === t;
861
861
  }
862
- function N(x) {
862
+ function I(x) {
863
863
  return h(x) === m;
864
864
  }
865
865
  function B(x) {
@@ -880,7 +880,7 @@ function Kt() {
880
880
  function le(x) {
881
881
  return h(x) === g;
882
882
  }
883
- U.ContextConsumer = R, U.ContextProvider = H, U.Element = te, U.ForwardRef = Q, U.Fragment = i, U.Lazy = T, U.Memo = A, U.Portal = P, U.Profiler = K, U.StrictMode = re, U.Suspense = ne, U.SuspenseList = ce, U.isAsyncMode = b, U.isConcurrentMode = E, U.isContextConsumer = D, U.isContextProvider = I, U.isElement = _, U.isForwardRef = M, U.isFragment = k, U.isLazy = N, U.isMemo = B, U.isPortal = V, U.isProfiler = j, U.isStrictMode = oe, U.isSuspense = C, U.isSuspenseList = le, U.isValidElementType = $, U.typeOf = h;
883
+ U.ContextConsumer = R, U.ContextProvider = H, U.Element = ne, U.ForwardRef = K, U.Fragment = i, U.Lazy = T, U.Memo = A, U.Portal = D, U.Profiler = Q, U.StrictMode = J, U.Suspense = re, U.SuspenseList = ce, U.isAsyncMode = b, U.isConcurrentMode = E, U.isContextConsumer = N, U.isContextProvider = P, U.isElement = _, U.isForwardRef = M, U.isFragment = k, U.isLazy = I, U.isMemo = B, U.isPortal = V, U.isProfiler = j, U.isStrictMode = oe, U.isSuspense = C, U.isSuspenseList = le, U.isValidElementType = $, U.typeOf = h;
884
884
  }()), U;
885
885
  }
886
886
  process.env.NODE_ENV === "production" ? hr.exports = Ht() : hr.exports = Kt();
@@ -1137,7 +1137,7 @@ function qe(e, r, t, n = t) {
1137
1137
  let o;
1138
1138
  return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = Ke(e, t) || n, r && (o = r(o, n, e)), o;
1139
1139
  }
1140
- function ee(e) {
1140
+ function te(e) {
1141
1141
  const {
1142
1142
  prop: r,
1143
1143
  cssProperty: t = e.prop,
@@ -1220,16 +1220,16 @@ function dt(e, r) {
1220
1220
  const t = Er(e.theme);
1221
1221
  return Object.keys(e).map((n) => bn(e, r, n, t)).reduce(Ne, {});
1222
1222
  }
1223
- function J(e) {
1223
+ function Z(e) {
1224
1224
  return dt(e, Qe);
1225
1225
  }
1226
- J.propTypes = process.env.NODE_ENV !== "production" ? Qe.reduce((e, r) => (e[r] = be, e), {}) : {};
1227
- J.filterProps = Qe;
1228
- function Z(e) {
1226
+ Z.propTypes = process.env.NODE_ENV !== "production" ? Qe.reduce((e, r) => (e[r] = be, e), {}) : {};
1227
+ Z.filterProps = Qe;
1228
+ function ee(e) {
1229
1229
  return dt(e, Xe);
1230
1230
  }
1231
- Z.propTypes = process.env.NODE_ENV !== "production" ? Xe.reduce((e, r) => (e[r] = be, e), {}) : {};
1232
- Z.filterProps = Xe;
1231
+ ee.propTypes = process.env.NODE_ENV !== "production" ? Xe.reduce((e, r) => (e[r] = be, e), {}) : {};
1232
+ ee.filterProps = Xe;
1233
1233
  process.env.NODE_ENV !== "production" && hn.reduce((e, r) => (e[r] = be, e), {});
1234
1234
  function Je(...e) {
1235
1235
  const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
@@ -1241,7 +1241,7 @@ function ue(e) {
1241
1241
  return typeof e != "number" ? e : `${e}px solid`;
1242
1242
  }
1243
1243
  function fe(e, r) {
1244
- return ee({
1244
+ return te({
1245
1245
  prop: e,
1246
1246
  themeKey: "borders",
1247
1247
  transform: r
@@ -1300,39 +1300,39 @@ tr.propTypes = process.env.NODE_ENV !== "production" ? {
1300
1300
  rowGap: be
1301
1301
  } : {};
1302
1302
  tr.filterProps = ["rowGap"];
1303
- const Pn = ee({
1303
+ const kn = te({
1304
1304
  prop: "gridColumn"
1305
- }), kn = ee({
1305
+ }), Pn = te({
1306
1306
  prop: "gridRow"
1307
- }), In = ee({
1307
+ }), In = te({
1308
1308
  prop: "gridAutoFlow"
1309
- }), Nn = ee({
1309
+ }), Nn = te({
1310
1310
  prop: "gridAutoColumns"
1311
- }), Dn = ee({
1311
+ }), Dn = te({
1312
1312
  prop: "gridAutoRows"
1313
- }), Mn = ee({
1313
+ }), Mn = te({
1314
1314
  prop: "gridTemplateColumns"
1315
- }), Bn = ee({
1315
+ }), Bn = te({
1316
1316
  prop: "gridTemplateRows"
1317
- }), jn = ee({
1317
+ }), jn = te({
1318
1318
  prop: "gridTemplateAreas"
1319
- }), Fn = ee({
1319
+ }), Fn = te({
1320
1320
  prop: "gridArea"
1321
1321
  });
1322
- Je(er, rr, tr, Pn, kn, In, Nn, Dn, Mn, Bn, jn, Fn);
1322
+ Je(er, rr, tr, kn, Pn, In, Nn, Dn, Mn, Bn, jn, Fn);
1323
1323
  function _e(e, r) {
1324
1324
  return r === "grey" ? r : e;
1325
1325
  }
1326
- const Vn = ee({
1326
+ const Vn = te({
1327
1327
  prop: "color",
1328
1328
  themeKey: "palette",
1329
1329
  transform: _e
1330
- }), Wn = ee({
1330
+ }), Wn = te({
1331
1331
  prop: "bgcolor",
1332
1332
  cssProperty: "backgroundColor",
1333
1333
  themeKey: "palette",
1334
1334
  transform: _e
1335
- }), zn = ee({
1335
+ }), zn = te({
1336
1336
  prop: "backgroundColor",
1337
1337
  themeKey: "palette",
1338
1338
  transform: _e
@@ -1341,7 +1341,7 @@ Je(Vn, Wn, zn);
1341
1341
  function ae(e) {
1342
1342
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1343
1343
  }
1344
- const Ln = ee({
1344
+ const Ln = te({
1345
1345
  prop: "width",
1346
1346
  transform: ae
1347
1347
  }), wr = (e) => {
@@ -1362,30 +1362,30 @@ const Ln = ee({
1362
1362
  return null;
1363
1363
  };
1364
1364
  wr.filterProps = ["maxWidth"];
1365
- const Un = ee({
1365
+ const Un = te({
1366
1366
  prop: "minWidth",
1367
1367
  transform: ae
1368
- }), Yn = ee({
1368
+ }), Yn = te({
1369
1369
  prop: "height",
1370
1370
  transform: ae
1371
- }), Gn = ee({
1371
+ }), Gn = te({
1372
1372
  prop: "maxHeight",
1373
1373
  transform: ae
1374
- }), qn = ee({
1374
+ }), qn = te({
1375
1375
  prop: "minHeight",
1376
1376
  transform: ae
1377
1377
  });
1378
- ee({
1378
+ te({
1379
1379
  prop: "size",
1380
1380
  cssProperty: "width",
1381
1381
  transform: ae
1382
1382
  });
1383
- ee({
1383
+ te({
1384
1384
  prop: "size",
1385
1385
  cssProperty: "height",
1386
1386
  transform: ae
1387
1387
  });
1388
- const Hn = ee({
1388
+ const Hn = te({
1389
1389
  prop: "boxSizing"
1390
1390
  });
1391
1391
  Je(Ln, wr, Un, Yn, Gn, qn, Hn);
@@ -1453,124 +1453,124 @@ const nr = {
1453
1453
  },
1454
1454
  // spacing
1455
1455
  p: {
1456
- style: Z
1456
+ style: ee
1457
1457
  },
1458
1458
  pt: {
1459
- style: Z
1459
+ style: ee
1460
1460
  },
1461
1461
  pr: {
1462
- style: Z
1462
+ style: ee
1463
1463
  },
1464
1464
  pb: {
1465
- style: Z
1465
+ style: ee
1466
1466
  },
1467
1467
  pl: {
1468
- style: Z
1468
+ style: ee
1469
1469
  },
1470
1470
  px: {
1471
- style: Z
1471
+ style: ee
1472
1472
  },
1473
1473
  py: {
1474
- style: Z
1474
+ style: ee
1475
1475
  },
1476
1476
  padding: {
1477
- style: Z
1477
+ style: ee
1478
1478
  },
1479
1479
  paddingTop: {
1480
- style: Z
1480
+ style: ee
1481
1481
  },
1482
1482
  paddingRight: {
1483
- style: Z
1483
+ style: ee
1484
1484
  },
1485
1485
  paddingBottom: {
1486
- style: Z
1486
+ style: ee
1487
1487
  },
1488
1488
  paddingLeft: {
1489
- style: Z
1489
+ style: ee
1490
1490
  },
1491
1491
  paddingX: {
1492
- style: Z
1492
+ style: ee
1493
1493
  },
1494
1494
  paddingY: {
1495
- style: Z
1495
+ style: ee
1496
1496
  },
1497
1497
  paddingInline: {
1498
- style: Z
1498
+ style: ee
1499
1499
  },
1500
1500
  paddingInlineStart: {
1501
- style: Z
1501
+ style: ee
1502
1502
  },
1503
1503
  paddingInlineEnd: {
1504
- style: Z
1504
+ style: ee
1505
1505
  },
1506
1506
  paddingBlock: {
1507
- style: Z
1507
+ style: ee
1508
1508
  },
1509
1509
  paddingBlockStart: {
1510
- style: Z
1510
+ style: ee
1511
1511
  },
1512
1512
  paddingBlockEnd: {
1513
- style: Z
1513
+ style: ee
1514
1514
  },
1515
1515
  m: {
1516
- style: J
1516
+ style: Z
1517
1517
  },
1518
1518
  mt: {
1519
- style: J
1519
+ style: Z
1520
1520
  },
1521
1521
  mr: {
1522
- style: J
1522
+ style: Z
1523
1523
  },
1524
1524
  mb: {
1525
- style: J
1525
+ style: Z
1526
1526
  },
1527
1527
  ml: {
1528
- style: J
1528
+ style: Z
1529
1529
  },
1530
1530
  mx: {
1531
- style: J
1531
+ style: Z
1532
1532
  },
1533
1533
  my: {
1534
- style: J
1534
+ style: Z
1535
1535
  },
1536
1536
  margin: {
1537
- style: J
1537
+ style: Z
1538
1538
  },
1539
1539
  marginTop: {
1540
- style: J
1540
+ style: Z
1541
1541
  },
1542
1542
  marginRight: {
1543
- style: J
1543
+ style: Z
1544
1544
  },
1545
1545
  marginBottom: {
1546
- style: J
1546
+ style: Z
1547
1547
  },
1548
1548
  marginLeft: {
1549
- style: J
1549
+ style: Z
1550
1550
  },
1551
1551
  marginX: {
1552
- style: J
1552
+ style: Z
1553
1553
  },
1554
1554
  marginY: {
1555
- style: J
1555
+ style: Z
1556
1556
  },
1557
1557
  marginInline: {
1558
- style: J
1558
+ style: Z
1559
1559
  },
1560
1560
  marginInlineStart: {
1561
- style: J
1561
+ style: Z
1562
1562
  },
1563
1563
  marginInlineEnd: {
1564
- style: J
1564
+ style: Z
1565
1565
  },
1566
1566
  marginBlock: {
1567
- style: J
1567
+ style: Z
1568
1568
  },
1569
1569
  marginBlockStart: {
1570
- style: J
1570
+ style: Z
1571
1571
  },
1572
1572
  marginBlockEnd: {
1573
- style: J
1573
+ style: Z
1574
1574
  },
1575
1575
  // display
1576
1576
  displayPrint: {
@@ -1964,29 +1964,29 @@ function oo(e = {}) {
1964
1964
  label: O,
1965
1965
  ...S
1966
1966
  }), $ = (R) => typeof R == "function" && R.__emotion_real !== R || me(R) ? (H) => Ge(R, Le(H, r, t)) : R, h = (R, ...H) => {
1967
- let te = $(R);
1968
- const Q = H ? H.map($) : [];
1969
- l && v && Q.push((A) => {
1970
- const P = br(r, A.theme, t);
1971
- if (!P.components || !P.components[l] || !P.components[l].styleOverrides)
1967
+ let ne = $(R);
1968
+ const K = H ? H.map($) : [];
1969
+ l && v && K.push((A) => {
1970
+ const D = br(r, A.theme, t);
1971
+ if (!D.components || !D.components[l] || !D.components[l].styleOverrides)
1972
1972
  return null;
1973
- const K = P.components[l].styleOverrides, re = {}, ne = Le(A, r, t);
1974
- for (const ce in K)
1975
- re[ce] = Ge(K[ce], ne);
1976
- return v(A, re);
1977
- }), l && !y && Q.push((A) => {
1978
- var re, ne;
1979
- const P = br(r, A.theme, t), K = (ne = (re = P == null ? void 0 : P.components) == null ? void 0 : re[l]) == null ? void 0 : ne.variants;
1980
- return K ? Ge({
1981
- variants: K
1973
+ const Q = D.components[l].styleOverrides, J = {}, re = Le(A, r, t);
1974
+ for (const ce in Q)
1975
+ J[ce] = Ge(Q[ce], re);
1976
+ return v(A, J);
1977
+ }), l && !y && K.push((A) => {
1978
+ var J, re;
1979
+ const D = br(r, A.theme, t), Q = (re = (J = D == null ? void 0 : D.components) == null ? void 0 : J[l]) == null ? void 0 : re.variants;
1980
+ return Q ? Ge({
1981
+ variants: Q
1982
1982
  }, Le(A, r, t)) : null;
1983
- }), p || Q.push(a);
1984
- const i = Q.length - H.length;
1983
+ }), p || K.push(a);
1984
+ const i = K.length - H.length;
1985
1985
  if (Array.isArray(R) && i > 0) {
1986
1986
  const A = new Array(i).fill("");
1987
- te = [...R, ...A], te.raw = [...R.raw, ...A];
1987
+ ne = [...R, ...A], ne.raw = [...R.raw, ...A];
1988
1988
  }
1989
- const T = w(te, ...Q);
1989
+ const T = w(ne, ...K);
1990
1990
  if (process.env.NODE_ENV !== "production") {
1991
1991
  let A;
1992
1992
  l && (A = `${l}${Se(g || "")}`), A === void 0 && (A = `Styled(${Qt(s)})`), T.displayName = A;
@@ -2044,7 +2044,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
2044
2044
  const co = (e) => {
2045
2045
  const r = ye(e);
2046
2046
  return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
2047
- }, ke = (e, r) => {
2047
+ }, Pe = (e, r) => {
2048
2048
  try {
2049
2049
  return co(e);
2050
2050
  } catch {
@@ -2275,7 +2275,7 @@ function bo(e, r = {}) {
2275
2275
  }), w;
2276
2276
  },
2277
2277
  generateStyleSheets: () => {
2278
- var te, Q;
2278
+ var ne, K;
2279
2279
  const w = [], $ = e.defaultColorScheme || "light";
2280
2280
  function h(i, T) {
2281
2281
  Object.keys(T).length && w.push(typeof i == "string" ? {
@@ -2294,7 +2294,7 @@ function bo(e, r = {}) {
2294
2294
  if (R) {
2295
2295
  const {
2296
2296
  css: i
2297
- } = R, T = (Q = (te = a[$]) == null ? void 0 : te.palette) == null ? void 0 : Q.mode, A = !n && T ? {
2297
+ } = R, T = (K = (ne = a[$]) == null ? void 0 : ne.palette) == null ? void 0 : K.mode, A = !n && T ? {
2298
2298
  colorScheme: T,
2299
2299
  ...i
2300
2300
  } : {
@@ -2307,16 +2307,16 @@ function bo(e, r = {}) {
2307
2307
  return Object.entries(H).forEach(([i, {
2308
2308
  css: T
2309
2309
  }]) => {
2310
- var K, re;
2311
- const A = (re = (K = a[i]) == null ? void 0 : K.palette) == null ? void 0 : re.mode, P = !n && A ? {
2310
+ var Q, J;
2311
+ const A = (J = (Q = a[i]) == null ? void 0 : Q.palette) == null ? void 0 : J.mode, D = !n && A ? {
2312
2312
  colorScheme: A,
2313
2313
  ...T
2314
2314
  } : {
2315
2315
  ...T
2316
2316
  };
2317
2317
  h(t(i, {
2318
- ...P
2319
- }), P);
2318
+ ...D
2319
+ }), D);
2320
2320
  }), w;
2321
2321
  }
2322
2322
  };
@@ -2374,7 +2374,7 @@ const De = {
2374
2374
  A200: "#ff5252",
2375
2375
  A400: "#ff1744",
2376
2376
  A700: "#d50000"
2377
- }, Pe = {
2377
+ }, ke = {
2378
2378
  50: "#fff3e0",
2379
2379
  100: "#ffe0b2",
2380
2380
  200: "#ffcc80",
@@ -2558,14 +2558,14 @@ function $o(e = "light") {
2558
2558
  }
2559
2559
  function Oo(e = "light") {
2560
2560
  return e === "dark" ? {
2561
- main: Pe[400],
2562
- light: Pe[300],
2563
- dark: Pe[700]
2561
+ main: ke[400],
2562
+ light: ke[300],
2563
+ dark: ke[700]
2564
2564
  } : {
2565
2565
  main: "#ed6c02",
2566
2566
  // closest to orange[800] that pass 3:1.
2567
- light: Pe[500],
2568
- dark: Pe[900]
2567
+ light: ke[500],
2568
+ dark: ke[900]
2569
2569
  };
2570
2570
  }
2571
2571
  function Ar(e) {
@@ -2773,9 +2773,9 @@ function Ro(e, r) {
2773
2773
  // No need to clone deep
2774
2774
  });
2775
2775
  }
2776
- const Po = 0.2, ko = 0.14, Io = 0.12;
2776
+ const ko = 0.2, Po = 0.14, Io = 0.12;
2777
2777
  function X(...e) {
2778
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Po})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ko})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Io})`].join(",");
2778
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ko})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Po})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Io})`].join(",");
2779
2779
  }
2780
2780
  const No = ["none", X(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), X(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), X(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), X(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), X(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), X(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), X(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), X(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), X(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), X(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), X(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), X(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), X(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), X(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), X(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), X(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), X(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), X(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), X(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), X(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), X(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), X(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), X(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), X(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Do = {
2781
2781
  // This is the most common easing curve.
@@ -3027,7 +3027,7 @@ function Ie(e) {
3027
3027
  return !e || !e.startsWith("hsl") ? e : gt(e);
3028
3028
  }
3029
3029
  function pe(e, r) {
3030
- `${r}Channel` in e || (e[`${r}Channel`] = ke(Ie(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
3030
+ `${r}Channel` in e || (e[`${r}Channel`] = Pe(Ie(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
3031
3031
  To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
3032
3032
  }
3033
3033
  function Ko(e) {
@@ -3113,10 +3113,10 @@ function Xo(e = {}, ...r) {
3113
3113
  },
3114
3114
  spacing: Ko(l.spacing)
3115
3115
  };
3116
- Object.keys($.colorSchemes).forEach((Q) => {
3117
- const i = $.colorSchemes[Q].palette, T = (A) => {
3118
- const P = A.split("-"), K = P[1], re = P[2];
3119
- return m(A, i[K][re]);
3116
+ Object.keys($.colorSchemes).forEach((K) => {
3117
+ const i = $.colorSchemes[K].palette, T = (A) => {
3118
+ const D = A.split("-"), Q = D[1], J = D[2];
3119
+ return m(A, i[Q][J]);
3120
3120
  };
3121
3121
  if (i.mode === "light" && (u(i.common, "background", "#fff"), u(i.common, "onBackground", "#000")), i.mode === "dark" && (u(i.common, "background", "#000"), u(i.common, "onBackground", "#fff")), Ho(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
3122
3122
  u(i.Alert, "errorColor", G(i.error.light, 0.6)), u(i.Alert, "infoColor", G(i.info.light, 0.6)), u(i.Alert, "successColor", G(i.success.light, 0.6)), u(i.Alert, "warningColor", G(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", T("palette-error-main")), u(i.Alert, "infoFilledBg", T("palette-info-main")), u(i.Alert, "successFilledBg", T("palette-success-main")), u(i.Alert, "warningFilledBg", T("palette-warning-main")), u(i.Alert, "errorFilledColor", de(() => i.getContrastText(i.error.main))), u(i.Alert, "infoFilledColor", de(() => i.getContrastText(i.info.main))), u(i.Alert, "successFilledColor", de(() => i.getContrastText(i.success.main))), u(i.Alert, "warningFilledColor", de(() => i.getContrastText(i.warning.main))), u(i.Alert, "errorStandardBg", q(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", q(i.info.light, 0.9)), u(i.Alert, "successStandardBg", q(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", q(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", T("palette-error-main")), u(i.Alert, "infoIconColor", T("palette-info-main")), u(i.Alert, "successIconColor", T("palette-success-main")), u(i.Alert, "warningIconColor", T("palette-warning-main")), u(i.AppBar, "defaultBg", T("palette-grey-100")), u(i.Avatar, "defaultBg", T("palette-grey-400")), u(i.Button, "inheritContainedBg", T("palette-grey-300")), u(i.Button, "inheritContainedHoverBg", T("palette-grey-A100")), u(i.Chip, "defaultBorder", T("palette-grey-400")), u(i.Chip, "defaultAvatarColor", T("palette-grey-700")), u(i.Chip, "defaultIconColor", T("palette-grey-700")), u(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(i.LinearProgress, "primaryBg", q(i.primary.main, 0.62)), u(i.LinearProgress, "secondaryBg", q(i.secondary.main, 0.62)), u(i.LinearProgress, "errorBg", q(i.error.main, 0.62)), u(i.LinearProgress, "infoBg", q(i.info.main, 0.62)), u(i.LinearProgress, "successBg", q(i.success.main, 0.62)), u(i.LinearProgress, "warningBg", q(i.warning.main, 0.62)), u(i.Skeleton, "bg", `rgba(${T("palette-text-primaryChannel")} / 0.11)`), u(i.Slider, "primaryTrack", q(i.primary.main, 0.62)), u(i.Slider, "secondaryTrack", q(i.secondary.main, 0.62)), u(i.Slider, "errorTrack", q(i.error.main, 0.62)), u(i.Slider, "infoTrack", q(i.info.main, 0.62)), u(i.Slider, "successTrack", q(i.success.main, 0.62)), u(i.Slider, "warningTrack", q(i.warning.main, 0.62));
@@ -3129,10 +3129,10 @@ function Xo(e = {}, ...r) {
3129
3129
  u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color", de(() => i.getContrastText(A))), u(i.SpeedDialAction, "fabHoverBg", Ye(i.background.paper, 0.15)), u(i.StepConnector, "border", T("palette-grey-600")), u(i.StepContent, "border", T("palette-grey-600")), u(i.Switch, "defaultColor", T("palette-grey-300")), u(i.Switch, "defaultDisabledColor", T("palette-grey-600")), u(i.Switch, "primaryDisabledColor", G(i.primary.main, 0.55)), u(i.Switch, "secondaryDisabledColor", G(i.secondary.main, 0.55)), u(i.Switch, "errorDisabledColor", G(i.error.main, 0.55)), u(i.Switch, "infoDisabledColor", G(i.info.main, 0.55)), u(i.Switch, "successDisabledColor", G(i.success.main, 0.55)), u(i.Switch, "warningDisabledColor", G(i.warning.main, 0.55)), u(i.TableCell, "border", G(Ue(i.divider, 1), 0.68)), u(i.Tooltip, "bg", Ue(i.grey[700], 0.92));
3130
3130
  }
3131
3131
  pe(i.background, "default"), pe(i.background, "paper"), pe(i.common, "background"), pe(i.common, "onBackground"), pe(i, "divider"), Object.keys(i).forEach((A) => {
3132
- const P = i[A];
3133
- P && typeof P == "object" && (P.main && u(i[A], "mainChannel", ke(Ie(P.main))), P.light && u(i[A], "lightChannel", ke(Ie(P.light))), P.dark && u(i[A], "darkChannel", ke(Ie(P.dark))), P.contrastText && u(i[A], "contrastTextChannel", ke(Ie(P.contrastText))), A === "text" && (pe(i[A], "primary"), pe(i[A], "secondary")), A === "action" && (P.active && pe(i[A], "active"), P.selected && pe(i[A], "selected")));
3132
+ const D = i[A];
3133
+ D && typeof D == "object" && (D.main && u(i[A], "mainChannel", Pe(Ie(D.main))), D.light && u(i[A], "lightChannel", Pe(Ie(D.light))), D.dark && u(i[A], "darkChannel", Pe(Ie(D.dark))), D.contrastText && u(i[A], "contrastTextChannel", Pe(Ie(D.contrastText))), A === "text" && (pe(i[A], "primary"), pe(i[A], "secondary")), A === "action" && (D.active && pe(i[A], "active"), D.selected && pe(i[A], "selected")));
3134
3134
  });
3135
- }), $ = r.reduce((Q, i) => se(Q, i), $);
3135
+ }), $ = r.reduce((K, i) => se(K, i), $);
3136
3136
  const h = {
3137
3137
  prefix: a,
3138
3138
  disableCssColorScheme: o,
@@ -3141,11 +3141,11 @@ function Xo(e = {}, ...r) {
3141
3141
  }, {
3142
3142
  vars: R,
3143
3143
  generateThemeVars: H,
3144
- generateStyleSheets: te
3144
+ generateStyleSheets: ne
3145
3145
  } = bo($, h);
3146
- return $.vars = R, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([Q, i]) => {
3147
- $[Q] = i;
3148
- }), $.generateThemeVars = H, $.generateStyleSheets = te, $.generateSpacing = function() {
3146
+ return $.vars = R, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([K, i]) => {
3147
+ $[K] = i;
3148
+ }), $.generateThemeVars = H, $.generateStyleSheets = ne, $.generateSpacing = function() {
3149
3149
  return pt(l.spacing, Er(this));
3150
3150
  }, $.getColorSchemeSelector = vo(s), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = c, $.unstable_sxConfig = {
3151
3151
  ...nr,
@@ -3483,7 +3483,7 @@ const li = bt(/* @__PURE__ */ ie("path", {
3483
3483
  const { clientWidth: r, offsetWidth: t } = e;
3484
3484
  return t - r;
3485
3485
  }, fi = St(({ Footer: e, listMenu: r, children: t, HeaderContent: n, statuses: o, itemsProps: a, classes: c, columnMenu: s, styleList: f, sx: l }, g) => {
3486
- var T, A;
3486
+ var T, A, D;
3487
3487
  const d = Ot(), m = (s == null ? void 0 : s.position) === "right", v = !1, S = !0;
3488
3488
  //!!statuses?.isScrollIndentation
3489
3489
  const y = (o == null ? void 0 : o.isHeaderDefault) === void 0 ? !0 : o == null ? void 0 : o.isHeaderDefault, p = (o == null ? void 0 : o.isHeader) === void 0 ? !0 : o == null ? void 0 : o.isHeader, O = (s == null ? void 0 : s.initWidth) || 250, Y = Ct(() => s != null && s.minWidthColumn && Object.keys(s == null ? void 0 : s.minWidthColumn).length ? s == null ? void 0 : s.minWidthColumn : {
@@ -3498,29 +3498,29 @@ const li = bt(/* @__PURE__ */ ie("path", {
3498
3498
  }), h = Rt(w, $), R = Et(null);
3499
3499
  wt(() => {
3500
3500
  if (R.current) {
3501
- const P = at(R.current);
3502
- let K = !1;
3503
- P > 0 && (K = !0), h({ widthScroll: K ? P + 1 : 0 }), window.onresize = function() {
3501
+ const Q = at(R.current);
3502
+ let J = !1;
3503
+ Q > 0 && (J = !0), h({ widthScroll: J ? Q + 1 : 0 }), window.onresize = function() {
3504
3504
  if (R.current) {
3505
3505
  const re = at(R.current);
3506
- K && !re && (K = !1, h({ widthScroll: 0 })), !K && re && (K = !0, h({ widthScroll: re + 1 }));
3506
+ J && !re && (J = !1, h({ widthScroll: 0 })), !J && re && (J = !0, h({ widthScroll: re + 1 }));
3507
3507
  }
3508
3508
  };
3509
3509
  }
3510
3510
  }, [S]);
3511
3511
  const H = () => {
3512
3512
  h({ isOpen: !0 });
3513
- }, te = () => {
3513
+ }, ne = () => {
3514
3514
  h({ isOpen: !1 });
3515
- }, Q = () => {
3516
- $((P) => ({ ...P, isOpen: !P.isOpen }));
3515
+ }, K = () => {
3516
+ $((Q) => ({ ...Q, isOpen: !Q.isOpen }));
3517
3517
  }, i = {
3518
3518
  isOpen: w.isOpen,
3519
3519
  handleMenuOpen: H,
3520
- handleMenuClose: te,
3521
- handleMenuToggle: Q
3520
+ handleMenuClose: ne,
3521
+ handleMenuToggle: K
3522
3522
  };
3523
- return $t(g, () => i), /* @__PURE__ */ Ae(Pr, { sx: { display: "flex", height: "inherit" }, children: [
3523
+ return $t(g, () => i), /* @__PURE__ */ Ae(kr, { sx: { display: "flex", height: "inherit" }, children: [
3524
3524
  p ? y ? /* @__PURE__ */ ie(
3525
3525
  Nt,
3526
3526
  {
@@ -3531,6 +3531,7 @@ const li = bt(/* @__PURE__ */ ie("path", {
3531
3531
  isHeaderResize: o == null ? void 0 : o.isHeaderResize,
3532
3532
  sx: (A = a == null ? void 0 : a.MuiHeader) == null ? void 0 : A.sx,
3533
3533
  className: c == null ? void 0 : c.header,
3534
+ AfterComponent: (D = a == null ? void 0 : a.MuiHeader) == null ? void 0 : D.AfterComponent,
3534
3535
  children: typeof n == "function" ? n(i) : n
3535
3536
  }
3536
3537
  ) : typeof n == "function" ? n(i) : n : null,
@@ -3546,9 +3547,9 @@ const li = bt(/* @__PURE__ */ ie("path", {
3546
3547
  children: [
3547
3548
  (o == null ? void 0 : o.isMenuHeader) !== !1 && /* @__PURE__ */ Ae(Rr, { children: [
3548
3549
  /* @__PURE__ */ ie(Ir, {}),
3549
- /* @__PURE__ */ ie(kr, {})
3550
+ /* @__PURE__ */ ie(Pr, {})
3550
3551
  ] }),
3551
- /* @__PURE__ */ ie(Pr, { className: "MuiListWrap", sx: {
3552
+ /* @__PURE__ */ ie(kr, { className: "MuiListWrap", sx: {
3552
3553
  display: "flex",
3553
3554
  flexDirection: "column",
3554
3555
  flexGrow: 1,
@@ -3571,15 +3572,15 @@ const li = bt(/* @__PURE__ */ ie("path", {
3571
3572
  styleList: f
3572
3573
  }
3573
3574
  ) }),
3574
- (o == null ? void 0 : o.isButtonCenterMenu) !== !1 && /* @__PURE__ */ ie(kt, { children: /* @__PURE__ */ ie(xt, { onClick: Q, sx: { pointerEvents: "auto" }, children: w.isOpen ? /* @__PURE__ */ ie(ui, {}) : /* @__PURE__ */ ie(li, {}) }) }),
3575
+ (o == null ? void 0 : o.isButtonCenterMenu) !== !1 && /* @__PURE__ */ ie(Pt, { children: /* @__PURE__ */ ie(xt, { onClick: K, sx: { pointerEvents: "auto" }, children: w.isOpen ? /* @__PURE__ */ ie(ui, {}) : /* @__PURE__ */ ie(li, {}) }) }),
3575
3576
  e && /* @__PURE__ */ ie(Rr, { children: /* @__PURE__ */ Ae(Mt, { children: [
3576
- /* @__PURE__ */ ie(kr, {}),
3577
+ /* @__PURE__ */ ie(Pr, {}),
3577
3578
  e
3578
3579
  ] }) })
3579
3580
  ]
3580
3581
  }
3581
3582
  ),
3582
- /* @__PURE__ */ Ae(Pt, { children: [
3583
+ /* @__PURE__ */ Ae(kt, { children: [
3583
3584
  p && /* @__PURE__ */ ie(Ir, {}),
3584
3585
  t
3585
3586
  ] })
@@ -3,6 +3,7 @@ import { SxProps, Theme } from '@mui/material';
3
3
  export interface MuiHeaderProps extends AppBarProps {
4
4
  className?: string;
5
5
  sx?: SxProps<Theme>;
6
+ AfterComponent?: React.ReactNode;
6
7
  }
7
8
  export declare const MuiHeader: React.NamedExoticComponent<MuiHeaderProps>;
8
9
  interface AppBarProps {
@@ -1,33 +1,37 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import l from "react";
3
- import { styled as g, AppBar as p, Container as c, Toolbar as u } from "@mui/material";
4
- import { Utils as m } from "../../_helpers/index.js";
5
- const x = ({
1
+ import { jsxs as g, jsx as d } from "react/jsx-runtime";
2
+ import c from "react";
3
+ import { styled as p, AppBar as u, Container as x, Toolbar as m } from "@mui/material";
4
+ import { Utils as f } from "../../_helpers/index.js";
5
+ const w = ({
6
6
  initWidth: r,
7
7
  isOpen: n,
8
8
  children: o,
9
9
  isRight: i,
10
10
  isHeaderResize: a = !0,
11
11
  bgColor: t,
12
- className: e,
13
- sx: d
14
- }) => /* @__PURE__ */ s(
15
- f,
12
+ className: s,
13
+ AfterComponent: e,
14
+ sx: l
15
+ }) => /* @__PURE__ */ g(
16
+ b,
16
17
  {
17
- className: e,
18
+ className: s,
18
19
  bgColor: t,
19
20
  isRight: i,
20
21
  position: "fixed",
21
22
  initWidth: r,
22
23
  isOpen: n,
23
24
  isHeaderResize: a,
24
- sx: d,
25
- children: /* @__PURE__ */ s(c, { maxWidth: "xl", children: /* @__PURE__ */ s(u, { sx: { flexGrow: 1 }, disableGutters: !0, children: o }) })
25
+ sx: l,
26
+ children: [
27
+ /* @__PURE__ */ d(x, { maxWidth: "xl", children: /* @__PURE__ */ d(m, { sx: { flexGrow: 1 }, disableGutters: !0, children: o }) }),
28
+ e && e
29
+ ]
26
30
  }
27
- ), z = l.memo(x), f = g(p, {
31
+ ), _ = c.memo(w), b = p(u, {
28
32
  shouldForwardProp: (r) => !["isOpen", "isRight", "initWidth", "bgColor", "isHeaderResize"].includes(r)
29
33
  })(({ theme: r, isOpen: n, isRight: o, initWidth: i = 250, bgColor: a = "primary", isHeaderResize: t }) => ({
30
- backgroundColor: m.colors.getColorPalette(r, a),
34
+ backgroundColor: f.colors.getColorPalette(r, a),
31
35
  zIndex: r.zIndex.drawer + 1,
32
36
  color: "info.main",
33
37
  transition: r.transitions.create(["width", "margin"], {
@@ -45,5 +49,5 @@ const x = ({
45
49
  }
46
50
  }));
47
51
  export {
48
- z as MuiHeader
52
+ _ as MuiHeader
49
53
  };
@@ -0,0 +1,12 @@
1
+ import { TypographyProps } from '@mui/material';
2
+ import { default as React } from 'react';
3
+ type TypographyCustomProps = Omit<TypographyProps, 'children' | 'itemProp'>;
4
+ export interface TextLineProps extends TypographyCustomProps {
5
+ first?: string;
6
+ second?: string;
7
+ isFirst?: boolean;
8
+ isSecond?: boolean;
9
+ itemsProps?: Partial<Record<'first' | 'second', TypographyCustomProps>>;
10
+ }
11
+ export declare const TextLine: React.NamedExoticComponent<TextLineProps>;
12
+ export {};
@@ -0,0 +1,40 @@
1
+ import { jsxs as g, jsx as o } from "react/jsx-runtime";
2
+ import { styled as t, Typography as e } from "@mui/material";
3
+ import h from "react";
4
+ const u = t(e)({
5
+ display: "flex",
6
+ alignItems: "center",
7
+ "& .Mui-Typography--first": {
8
+ lineHeight: "normal"
9
+ },
10
+ "& .Mui-Typography--second": {
11
+ lineHeight: "normal",
12
+ fontWeight: 600
13
+ }
14
+ }), x = t(e, {
15
+ target: "Mui-Typography--first"
16
+ })({}), T = t(e, {
17
+ target: "Mui-Typography--second"
18
+ })({
19
+ marginLeft: 5
20
+ }), r = (n) => n ? { ...c, ...n } : { ...c }, c = {
21
+ variant: "subtitle1"
22
+ }, m = ({ itemsProps: n, variant: i = "body2", first: a, second: l, isSecond: p = !0, isFirst: d = !0, ...s }) => {
23
+ const y = r(n == null ? void 0 : n.first), f = r(n == null ? void 0 : n.second);
24
+ return /* @__PURE__ */ g(
25
+ u,
26
+ {
27
+ component: "div",
28
+ variant: i,
29
+ color: "text.secondary",
30
+ ...s,
31
+ children: [
32
+ d && /* @__PURE__ */ o(x, { component: "span", ...y, children: a }),
33
+ p && /* @__PURE__ */ o(T, { component: "span", ...f, children: l })
34
+ ]
35
+ }
36
+ );
37
+ }, j = h.memo(m);
38
+ export {
39
+ j as TextLine
40
+ };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './Preloaders/Preloaders';
2
2
  export * from './Dashboard';
3
+ export * from './TextLine/TextLine';
package/dist/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  import { Preloaders as e } from "./Preloaders/Preloaders.js";
2
- import { Dashboard as d } from "./Dashboard/Dashboard.js";
2
+ import { Dashboard as x } from "./Dashboard/Dashboard.js";
3
+ import { TextLine as f } from "./TextLine/TextLine.js";
3
4
  export {
4
- d as Dashboard,
5
- e as Preloaders
5
+ x as Dashboard,
6
+ e as Preloaders,
7
+ f as TextLine
6
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rc-lib-ui",
3
3
  "private": false,
4
- "version": "1.0.24",
4
+ "version": "1.0.26",
5
5
  "author": "SinGlEBW",
6
6
  "license": "MIT",
7
7
  "type": "module",