@mxenabled/mxui 1.5.11-alpha.al2 → 1.5.11-alpha.al3
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 +200 -197
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -28,7 +28,7 @@ import ve from "@mui/material/Typography";
|
|
|
28
28
|
import ye from "@mui/material/Drawer";
|
|
29
29
|
import He from "@mui/material/Snackbar";
|
|
30
30
|
import Fe from "@mui/material/Alert";
|
|
31
|
-
import { light as ee, buildTheme as
|
|
31
|
+
import { light as ee, buildTheme as $, dark as Oe } from "@mxenabled/design-tokens";
|
|
32
32
|
import { FormControlLabel as ke, Box as _, Typography as X, Radio as B, Checkbox as Le, alpha as b, darken as D, lighten as F, getContrastRatio as De } from "@mui/material";
|
|
33
33
|
import { circularProgressClasses as Ne } from "@mui/material/CircularProgress";
|
|
34
34
|
import { LicenseInfo as we } from "@mui/x-license-pro";
|
|
@@ -58,7 +58,7 @@ const R = ({
|
|
|
58
58
|
name: i,
|
|
59
59
|
size: l = 20,
|
|
60
60
|
sx: c,
|
|
61
|
-
weight:
|
|
61
|
+
weight: r = 300,
|
|
62
62
|
...n
|
|
63
63
|
}) => /* @__PURE__ */ a(
|
|
64
64
|
se,
|
|
@@ -68,7 +68,7 @@ const R = ({
|
|
|
68
68
|
name: i,
|
|
69
69
|
size: l,
|
|
70
70
|
sx: c,
|
|
71
|
-
weight:
|
|
71
|
+
weight: r,
|
|
72
72
|
...n
|
|
73
73
|
}
|
|
74
74
|
), w0 = ({
|
|
@@ -127,7 +127,7 @@ const R = ({
|
|
|
127
127
|
d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm4.358 5.151a.5.5 0 00-.707-.01L6.858 9.803 4.35 7.363a.5.5 0 10-.698.718l2.858 2.777a.5.5 0 00.697 0l5.142-5a.5.5 0 00.01-.707z",
|
|
128
128
|
fill: e
|
|
129
129
|
}
|
|
130
|
-
) })),
|
|
130
|
+
) })), $0 = ({
|
|
131
131
|
color: e = "currentColor",
|
|
132
132
|
...o
|
|
133
133
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -136,7 +136,7 @@ const R = ({
|
|
|
136
136
|
d: "M2.68 5.201a.6.6 0 01.848-.011L8 9.543l4.472-4.353a.6.6 0 11.837.86l-4.89 4.76a.6.6 0 01-.838 0l-4.89-4.76a.6.6 0 01-.012-.849z",
|
|
137
137
|
fill: e
|
|
138
138
|
}
|
|
139
|
-
) })),
|
|
139
|
+
) })), G0 = ({
|
|
140
140
|
color: e = "currentColor",
|
|
141
141
|
...o
|
|
142
142
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -397,10 +397,10 @@ const oe = {
|
|
|
397
397
|
sx: l = {},
|
|
398
398
|
variant: c = "filled"
|
|
399
399
|
}) => {
|
|
400
|
-
const
|
|
400
|
+
const r = H(), n = x.useMemo(
|
|
401
401
|
() => Be.find((u) => u.guid === e) ?? oe,
|
|
402
402
|
[e]
|
|
403
|
-
), s =
|
|
403
|
+
), s = r.palette.categories[n.colorName];
|
|
404
404
|
return /* @__PURE__ */ a(
|
|
405
405
|
I,
|
|
406
406
|
{
|
|
@@ -411,8 +411,8 @@ const oe = {
|
|
|
411
411
|
},
|
|
412
412
|
borderRadius: 1,
|
|
413
413
|
color: () => {
|
|
414
|
-
const u = c === "filled" ?
|
|
415
|
-
return c === "basic" ?
|
|
414
|
+
const u = c === "filled" ? r.palette.common.white : s;
|
|
415
|
+
return c === "basic" ? r.palette.text.primary : u;
|
|
416
416
|
},
|
|
417
417
|
height: i,
|
|
418
418
|
justifyContent: "center",
|
|
@@ -421,13 +421,13 @@ const oe = {
|
|
|
421
421
|
children: /* @__PURE__ */ a(R, { name: n.icon, size: i * o })
|
|
422
422
|
}
|
|
423
423
|
);
|
|
424
|
-
},
|
|
424
|
+
}, $e = ({
|
|
425
425
|
items: e,
|
|
426
426
|
onChange: o,
|
|
427
427
|
isValid: i,
|
|
428
428
|
selected: l
|
|
429
429
|
}) => {
|
|
430
|
-
const c = H(),
|
|
430
|
+
const c = H(), r = e?.map((n) => {
|
|
431
431
|
const s = n.getValue({ isValid: i });
|
|
432
432
|
return {
|
|
433
433
|
label: n.label,
|
|
@@ -437,7 +437,7 @@ const oe = {
|
|
|
437
437
|
disabled: !i(s)
|
|
438
438
|
};
|
|
439
439
|
});
|
|
440
|
-
return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Me, { color: "primary", orientation: "vertical", value: l, children:
|
|
440
|
+
return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Me, { color: "primary", orientation: "vertical", value: l, children: r?.map((n) => /* @__PURE__ */ a(
|
|
441
441
|
Re,
|
|
442
442
|
{
|
|
443
443
|
onClick: n.onClick,
|
|
@@ -465,14 +465,14 @@ const oe = {
|
|
|
465
465
|
},
|
|
466
466
|
n.label
|
|
467
467
|
)) }) });
|
|
468
|
-
},
|
|
468
|
+
}, Ge = ({
|
|
469
469
|
items: e,
|
|
470
470
|
onChange: o,
|
|
471
471
|
isValid: i,
|
|
472
472
|
selected: l,
|
|
473
473
|
selectLabel: c
|
|
474
474
|
}) => {
|
|
475
|
-
const
|
|
475
|
+
const r = e?.map((n) => {
|
|
476
476
|
const s = n.getValue({ isValid: i });
|
|
477
477
|
return {
|
|
478
478
|
label: n.label,
|
|
@@ -496,7 +496,7 @@ const oe = {
|
|
|
496
496
|
sx: { width: "100%" },
|
|
497
497
|
value: l,
|
|
498
498
|
variant: "outlined",
|
|
499
|
-
children:
|
|
499
|
+
children: r?.map((n) => /* @__PURE__ */ a(Ae, { onClick: n.onClick, value: n.label, children: n.label }, n.label))
|
|
500
500
|
}
|
|
501
501
|
) });
|
|
502
502
|
}, Ue = (e) => {
|
|
@@ -535,12 +535,12 @@ const oe = {
|
|
|
535
535
|
selectedShortcut: l = e.dateRangeThisMonth,
|
|
536
536
|
sx: c = {}
|
|
537
537
|
}) => {
|
|
538
|
-
const
|
|
539
|
-
const
|
|
538
|
+
const r = H(), n = fe(r.breakpoints.down("sm")), s = x.useMemo(() => {
|
|
539
|
+
const t = he(), u = ge(t, 1), C = me(t, 1);
|
|
540
540
|
return [
|
|
541
541
|
{
|
|
542
542
|
label: e.dateRangeThisMonth,
|
|
543
|
-
getValue: () => [Z(
|
|
543
|
+
getValue: () => [Z(t), W(t)]
|
|
544
544
|
},
|
|
545
545
|
{
|
|
546
546
|
label: e.dateRangeLastMonth,
|
|
@@ -548,15 +548,15 @@ const oe = {
|
|
|
548
548
|
},
|
|
549
549
|
{
|
|
550
550
|
label: e.dateRangeLast30Days,
|
|
551
|
-
getValue: () => [Y(
|
|
551
|
+
getValue: () => [Y(t, 30), t]
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
554
|
label: e.dateRangeLast90Days,
|
|
555
|
-
getValue: () => [Y(
|
|
555
|
+
getValue: () => [Y(t, 90), t]
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
558
|
label: e.dateRangeYTD,
|
|
559
|
-
getValue: () => [K(
|
|
559
|
+
getValue: () => [K(t), t]
|
|
560
560
|
},
|
|
561
561
|
{
|
|
562
562
|
label: e.dateRangeLastYear,
|
|
@@ -564,12 +564,12 @@ const oe = {
|
|
|
564
564
|
},
|
|
565
565
|
{
|
|
566
566
|
label: e.dateRangeCustom,
|
|
567
|
-
getValue: () => [
|
|
567
|
+
getValue: () => [t, t]
|
|
568
568
|
}
|
|
569
569
|
];
|
|
570
|
-
}, [e]), d = (
|
|
570
|
+
}, [e]), d = (t, u) => {
|
|
571
571
|
const C = u.shortcut;
|
|
572
|
-
i?.(
|
|
572
|
+
i?.(t, C ? C.label : e.dateRangeCustom);
|
|
573
573
|
};
|
|
574
574
|
return /* @__PURE__ */ a(I, { gap: n ? 0 : 16, m: n ? 0 : 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
|
|
575
575
|
Te,
|
|
@@ -594,21 +594,21 @@ const oe = {
|
|
|
594
594
|
slots: {
|
|
595
595
|
...n && { layout: Ue },
|
|
596
596
|
leftArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_left", size: 28 }),
|
|
597
|
-
shortcuts: (
|
|
598
|
-
|
|
597
|
+
shortcuts: (t) => n ? /* @__PURE__ */ a(
|
|
598
|
+
Ge,
|
|
599
599
|
{
|
|
600
600
|
selectLabel: e.dateRangeSelectARange,
|
|
601
601
|
selected: l,
|
|
602
|
-
...
|
|
602
|
+
...t
|
|
603
603
|
}
|
|
604
|
-
) : /* @__PURE__ */ a(
|
|
604
|
+
) : /* @__PURE__ */ a($e, { selected: l, ...t }),
|
|
605
605
|
rightArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_right", size: 28 }),
|
|
606
606
|
...n && {
|
|
607
|
-
toolbar: (
|
|
607
|
+
toolbar: (t) => /* @__PURE__ */ a(
|
|
608
608
|
xe,
|
|
609
609
|
{
|
|
610
610
|
dateSeparator: "",
|
|
611
|
-
...
|
|
611
|
+
...t,
|
|
612
612
|
slotProps: {
|
|
613
613
|
textField: ({ position: u }) => ({
|
|
614
614
|
label: u === "start" ? e.dateRangeFrom : e.dateRangeTo
|
|
@@ -631,7 +631,7 @@ const oe = {
|
|
|
631
631
|
onPrimaryAction: i,
|
|
632
632
|
onSecondaryAction: l,
|
|
633
633
|
primaryColor: c = "primary",
|
|
634
|
-
primaryText:
|
|
634
|
+
primaryText: r = "Save",
|
|
635
635
|
secondaryColor: n = "primary",
|
|
636
636
|
secondaryText: s = "Cancel"
|
|
637
637
|
}) => /* @__PURE__ */ T(
|
|
@@ -658,7 +658,7 @@ const oe = {
|
|
|
658
658
|
disabled: o,
|
|
659
659
|
onClick: i,
|
|
660
660
|
variant: "contained",
|
|
661
|
-
children:
|
|
661
|
+
children: r
|
|
662
662
|
}
|
|
663
663
|
)
|
|
664
664
|
]
|
|
@@ -669,7 +669,7 @@ const oe = {
|
|
|
669
669
|
children: i,
|
|
670
670
|
color: l,
|
|
671
671
|
sx: c = {},
|
|
672
|
-
truncate:
|
|
672
|
+
truncate: r = !0,
|
|
673
673
|
uppercase: n,
|
|
674
674
|
...s
|
|
675
675
|
}) => {
|
|
@@ -714,7 +714,7 @@ const oe = {
|
|
|
714
714
|
e ? {
|
|
715
715
|
fontWeight: 600
|
|
716
716
|
} : {},
|
|
717
|
-
|
|
717
|
+
r ? {
|
|
718
718
|
overflow: "hidden",
|
|
719
719
|
textOverflow: "ellipsis",
|
|
720
720
|
whiteSpace: "nowrap"
|
|
@@ -759,11 +759,11 @@ const oe = {
|
|
|
759
759
|
id: i,
|
|
760
760
|
isOpen: l,
|
|
761
761
|
onClose: c,
|
|
762
|
-
onSave:
|
|
762
|
+
onSave: r,
|
|
763
763
|
primaryText: n,
|
|
764
764
|
secondaryText: s,
|
|
765
765
|
children: d,
|
|
766
|
-
...
|
|
766
|
+
...t
|
|
767
767
|
}) => /* @__PURE__ */ T(
|
|
768
768
|
ye,
|
|
769
769
|
{
|
|
@@ -773,14 +773,14 @@ const oe = {
|
|
|
773
773
|
onClose: c,
|
|
774
774
|
open: l,
|
|
775
775
|
variant: "temporary",
|
|
776
|
-
...
|
|
776
|
+
...t,
|
|
777
777
|
children: [
|
|
778
778
|
d,
|
|
779
|
-
|
|
779
|
+
r && /* @__PURE__ */ a(
|
|
780
780
|
We,
|
|
781
781
|
{
|
|
782
782
|
isPrimaryDisabled: o,
|
|
783
|
-
onPrimaryAction:
|
|
783
|
+
onPrimaryAction: r,
|
|
784
784
|
onSecondaryAction: c,
|
|
785
785
|
primaryText: n,
|
|
786
786
|
secondaryText: s
|
|
@@ -788,7 +788,7 @@ const oe = {
|
|
|
788
788
|
)
|
|
789
789
|
]
|
|
790
790
|
}
|
|
791
|
-
), re = 32,
|
|
791
|
+
), re = 32, G = "https://content.moneydesktop.com/storage/MD_Assets", Ke = `${G}/serenity/default_institution_logo.png`, no = ({
|
|
792
792
|
alt: e,
|
|
793
793
|
institutionGuid: o,
|
|
794
794
|
logoUrl: i,
|
|
@@ -799,8 +799,8 @@ const oe = {
|
|
|
799
799
|
{
|
|
800
800
|
alt: e,
|
|
801
801
|
height: l,
|
|
802
|
-
onError: (
|
|
803
|
-
src: i || `${
|
|
802
|
+
onError: (r) => r.target.src = Ke,
|
|
803
|
+
src: i || `${G}/Ipad%20Logos/100x100/${o}_100x100.png`,
|
|
804
804
|
style: {
|
|
805
805
|
borderRadius: 4
|
|
806
806
|
},
|
|
@@ -814,16 +814,16 @@ const oe = {
|
|
|
814
814
|
size: l = re,
|
|
815
815
|
...c
|
|
816
816
|
}) => {
|
|
817
|
-
const [
|
|
817
|
+
const [r, n] = x.useState(!1), s = H();
|
|
818
818
|
return /* @__PURE__ */ T(j, { display: "inline-block", position: "relative", ...c, children: [
|
|
819
|
-
i && !
|
|
819
|
+
i && !r && /* @__PURE__ */ a(
|
|
820
820
|
"img",
|
|
821
821
|
{
|
|
822
822
|
alt: e,
|
|
823
823
|
"aria-hidden": !e,
|
|
824
824
|
height: l,
|
|
825
825
|
onError: () => n(!0),
|
|
826
|
-
src: `${
|
|
826
|
+
src: `${G}/merchant_logos/${i}.png`,
|
|
827
827
|
style: {
|
|
828
828
|
backgroundColor: s.palette.common.white,
|
|
829
829
|
borderRadius: 4,
|
|
@@ -862,11 +862,11 @@ const so = ({
|
|
|
862
862
|
message: i,
|
|
863
863
|
autoHideDuration: l = 3e3,
|
|
864
864
|
severity: c = "success",
|
|
865
|
-
snackbarSx:
|
|
865
|
+
snackbarSx: r,
|
|
866
866
|
showAction: n = !1,
|
|
867
867
|
showClose: s = !1,
|
|
868
868
|
actionText: d = "Undo",
|
|
869
|
-
onActionClick:
|
|
869
|
+
onActionClick: t,
|
|
870
870
|
multiLine: u = !1
|
|
871
871
|
}) => {
|
|
872
872
|
const C = H(), L = /* @__PURE__ */ T(
|
|
@@ -883,7 +883,7 @@ const so = ({
|
|
|
883
883
|
V,
|
|
884
884
|
{
|
|
885
885
|
color: "inherit",
|
|
886
|
-
onClick:
|
|
886
|
+
onClick: t || o,
|
|
887
887
|
size: "small",
|
|
888
888
|
sx: {
|
|
889
889
|
color: C.palette.success.contrastText,
|
|
@@ -914,7 +914,7 @@ const so = ({
|
|
|
914
914
|
onClose: o,
|
|
915
915
|
open: e,
|
|
916
916
|
sx: {
|
|
917
|
-
...
|
|
917
|
+
...r,
|
|
918
918
|
width: u ? 400 : 325
|
|
919
919
|
},
|
|
920
920
|
children: /* @__PURE__ */ a(
|
|
@@ -967,39 +967,39 @@ const so = ({
|
|
|
967
967
|
LIGHT: "light",
|
|
968
968
|
DARK: "dark"
|
|
969
969
|
}, te = x.createContext(ee), ie = x.createContext(
|
|
970
|
-
|
|
970
|
+
$(N.LIGHT, O.REACT_NATIVE)
|
|
971
971
|
), uo = ({
|
|
972
972
|
children: e,
|
|
973
973
|
target: o = O.REACT,
|
|
974
974
|
theme: i = N.LIGHT,
|
|
975
975
|
tokenOverrides: l
|
|
976
976
|
}) => {
|
|
977
|
-
const [c,
|
|
977
|
+
const [c, r] = x.useState(i === N.LIGHT ? ee : Oe), n = x.useMemo(() => ({
|
|
978
978
|
...l
|
|
979
979
|
}), [l]);
|
|
980
980
|
return x.useEffect(() => {
|
|
981
|
-
const s =
|
|
982
|
-
|
|
981
|
+
const s = $(i, o, { ...n });
|
|
982
|
+
r(s);
|
|
983
983
|
}, [i, o, n]), o === O.REACT ? /* @__PURE__ */ a(te.Provider, { value: c, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(ie.Provider, { value: c, children: e }));
|
|
984
984
|
}, po = (e = O.REACT, o = {}) => {
|
|
985
985
|
const i = e === O.REACT ? te : ie, l = x.useContext(i);
|
|
986
|
-
return l ||
|
|
986
|
+
return l || $(N.LIGHT, e, { ...o });
|
|
987
987
|
}, ho = ({
|
|
988
988
|
component: e = B,
|
|
989
989
|
variant: o = "outlined",
|
|
990
990
|
selected: i,
|
|
991
991
|
onChange: l,
|
|
992
992
|
headline: c,
|
|
993
|
-
message:
|
|
993
|
+
message: r,
|
|
994
994
|
name: n,
|
|
995
995
|
value: s,
|
|
996
996
|
disabled: d = !1,
|
|
997
|
-
error:
|
|
997
|
+
error: t = !1,
|
|
998
998
|
icon: u = !1,
|
|
999
999
|
sx: C = {},
|
|
1000
1000
|
...L
|
|
1001
1001
|
}) => {
|
|
1002
|
-
const m = H(), ae = () => m.palette.background.paper, w = () =>
|
|
1002
|
+
const m = H(), ae = () => m.palette.background.paper, w = () => t ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : d ? i ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${m.palette.action.disabled}` : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : m.shadows[1], ne = () => d || t ? m.palette.background.paper : b(m.palette.primary.main, 0.1), le = () => d || t ? w() : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : w(), ce = () => d || t ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
|
|
1003
1003
|
return /* @__PURE__ */ a(
|
|
1004
1004
|
ke,
|
|
1005
1005
|
{
|
|
@@ -1040,7 +1040,7 @@ const so = ({
|
|
|
1040
1040
|
u && /* @__PURE__ */ a(_, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: u }),
|
|
1041
1041
|
/* @__PURE__ */ T(_, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
1042
1042
|
c && /* @__PURE__ */ a(X, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: c }),
|
|
1043
|
-
/* @__PURE__ */ a(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children:
|
|
1043
|
+
/* @__PURE__ */ a(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: r })
|
|
1044
1044
|
] })
|
|
1045
1045
|
] }),
|
|
1046
1046
|
labelPlacement: "start",
|
|
@@ -1160,15 +1160,15 @@ const so = ({
|
|
|
1160
1160
|
TRAVEL: "#76ACF7",
|
|
1161
1161
|
UNCATEGORIZED: "#BCC6D4"
|
|
1162
1162
|
}, qe = (e, o) => {
|
|
1163
|
-
const i = M(o?.primary || E.PRIMARY), l = M(o?.secondary || E.SECONDARY), c = M(o?.error || E.ERROR),
|
|
1163
|
+
const i = M(o?.primary || E.PRIMARY), l = M(o?.secondary || E.SECONDARY), c = M(o?.error || E.ERROR), r = M(o?.warning || E.WARNING), n = M(o?.info || E.INFO), s = M(o?.success || E.SUCCESS), d = M(o?.grey || E.GREY), t = e === y.LIGHT;
|
|
1164
1164
|
return {
|
|
1165
1165
|
mode: e,
|
|
1166
1166
|
// DEPRECATED: Use grey instead
|
|
1167
1167
|
border: {
|
|
1168
1168
|
/* DEPRECATED: Use light instead */
|
|
1169
|
-
lighter:
|
|
1170
|
-
light:
|
|
1171
|
-
main:
|
|
1169
|
+
lighter: t ? d[300] : d[700],
|
|
1170
|
+
light: t ? d[300] : d[700],
|
|
1171
|
+
main: t ? d[400] : d[600],
|
|
1172
1172
|
dark: d[500],
|
|
1173
1173
|
/* DEPRECATED: Use light instead */
|
|
1174
1174
|
darker: d[500]
|
|
@@ -1180,116 +1180,116 @@ const so = ({
|
|
|
1180
1180
|
primary: {
|
|
1181
1181
|
...i,
|
|
1182
1182
|
/* DEPRECATED: Use light instead */
|
|
1183
|
-
lighter:
|
|
1184
|
-
light:
|
|
1185
|
-
main:
|
|
1186
|
-
dark:
|
|
1183
|
+
lighter: t ? i[100] : i[800],
|
|
1184
|
+
light: t ? i[300] : i[600],
|
|
1185
|
+
main: t ? i[500] : i[400],
|
|
1186
|
+
dark: t ? i[700] : i[200],
|
|
1187
1187
|
/* DEPRECATED: Use dark instead */
|
|
1188
|
-
darker:
|
|
1188
|
+
darker: t ? i[900] : i[100]
|
|
1189
1189
|
},
|
|
1190
1190
|
secondary: {
|
|
1191
1191
|
...l,
|
|
1192
1192
|
/* DEPRECATED: Use light instead */
|
|
1193
|
-
lighter:
|
|
1194
|
-
light:
|
|
1195
|
-
main:
|
|
1196
|
-
dark:
|
|
1193
|
+
lighter: t ? l[100] : l[800],
|
|
1194
|
+
light: t ? l[300] : l[600],
|
|
1195
|
+
main: t ? l[500] : l[400],
|
|
1196
|
+
dark: t ? l[700] : l[200],
|
|
1197
1197
|
/* DEPRECATED: Use dark instead */
|
|
1198
|
-
darker:
|
|
1198
|
+
darker: t ? l[900] : l[100]
|
|
1199
1199
|
},
|
|
1200
1200
|
neutral: {
|
|
1201
1201
|
...d,
|
|
1202
1202
|
/* DEPRECATED: Use light instead */
|
|
1203
|
-
lighter:
|
|
1204
|
-
light:
|
|
1205
|
-
main:
|
|
1206
|
-
dark:
|
|
1203
|
+
lighter: t ? d[100] : d[800],
|
|
1204
|
+
light: t ? d[300] : d[600],
|
|
1205
|
+
main: t ? d[500] : d[400],
|
|
1206
|
+
dark: t ? d[700] : d[200],
|
|
1207
1207
|
/* DEPRECATED: Use dark instead */
|
|
1208
|
-
darker:
|
|
1209
|
-
contrastText: De(
|
|
1208
|
+
darker: t ? d[900] : d[100],
|
|
1209
|
+
contrastText: De(t ? d[700] : d[400], "#fff") > 4.5 ? A : d[900]
|
|
1210
1210
|
},
|
|
1211
1211
|
text: {
|
|
1212
|
-
primary:
|
|
1213
|
-
secondary:
|
|
1214
|
-
disabled:
|
|
1212
|
+
primary: t ? d[900] : A,
|
|
1213
|
+
secondary: t ? d[600] : b(A, 0.7),
|
|
1214
|
+
disabled: t ? d[500] : b(A, 0.38)
|
|
1215
1215
|
},
|
|
1216
1216
|
error: {
|
|
1217
1217
|
...c,
|
|
1218
1218
|
/* DEPRECATED: Use light instead */
|
|
1219
|
-
lighter:
|
|
1220
|
-
light:
|
|
1221
|
-
main:
|
|
1222
|
-
dark:
|
|
1219
|
+
lighter: t ? c[100] : c[800],
|
|
1220
|
+
light: t ? c[300] : c[600],
|
|
1221
|
+
main: t ? c[500] : c[400],
|
|
1222
|
+
dark: t ? c[700] : c[200],
|
|
1223
1223
|
/* DEPRECATED: Use light instead */
|
|
1224
|
-
darker:
|
|
1224
|
+
darker: t ? c[900] : c[100]
|
|
1225
1225
|
},
|
|
1226
1226
|
warning: {
|
|
1227
|
-
...
|
|
1227
|
+
...r,
|
|
1228
1228
|
/* DEPRECATED: Use light instead */
|
|
1229
|
-
lighter:
|
|
1230
|
-
light:
|
|
1231
|
-
main:
|
|
1232
|
-
dark:
|
|
1229
|
+
lighter: t ? r[100] : r[800],
|
|
1230
|
+
light: t ? r[300] : r[600],
|
|
1231
|
+
main: t ? r[500] : r[400],
|
|
1232
|
+
dark: t ? r[700] : r[200],
|
|
1233
1233
|
/* DEPRECATED: Use light instead */
|
|
1234
|
-
darker:
|
|
1234
|
+
darker: t ? r[900] : r[100]
|
|
1235
1235
|
},
|
|
1236
1236
|
info: {
|
|
1237
1237
|
...n,
|
|
1238
1238
|
/* DEPRECATED: Use light instead */
|
|
1239
|
-
lighter:
|
|
1240
|
-
light:
|
|
1241
|
-
main:
|
|
1242
|
-
dark:
|
|
1239
|
+
lighter: t ? n[100] : n[800],
|
|
1240
|
+
light: t ? n[300] : n[600],
|
|
1241
|
+
main: t ? n[500] : n[400],
|
|
1242
|
+
dark: t ? n[700] : n[200],
|
|
1243
1243
|
/* DEPRECATED: Use light instead */
|
|
1244
|
-
darker:
|
|
1244
|
+
darker: t ? n[900] : n[100]
|
|
1245
1245
|
},
|
|
1246
1246
|
success: {
|
|
1247
1247
|
...s,
|
|
1248
1248
|
/* DEPRECATED: Use light instead */
|
|
1249
|
-
lighter:
|
|
1250
|
-
light:
|
|
1251
|
-
main:
|
|
1252
|
-
dark:
|
|
1249
|
+
lighter: t ? s[100] : s[800],
|
|
1250
|
+
light: t ? s[300] : s[600],
|
|
1251
|
+
main: t ? s[500] : s[400],
|
|
1252
|
+
dark: t ? s[700] : s[200],
|
|
1253
1253
|
/* DEPRECATED: Use light instead */
|
|
1254
|
-
darker:
|
|
1254
|
+
darker: t ? s[900] : s[100]
|
|
1255
1255
|
},
|
|
1256
1256
|
grey: d,
|
|
1257
1257
|
action: {
|
|
1258
|
-
active:
|
|
1259
|
-
hoverOpacity:
|
|
1260
|
-
selectedOpacity:
|
|
1258
|
+
active: t ? b(z, 0.56) : b(A, 0.56),
|
|
1259
|
+
hoverOpacity: t ? 0.1 : 0.2,
|
|
1260
|
+
selectedOpacity: t ? 0.16 : 0.25,
|
|
1261
1261
|
focusOpacity: 0.3
|
|
1262
1262
|
},
|
|
1263
1263
|
background: {
|
|
1264
|
-
default:
|
|
1265
|
-
paper:
|
|
1266
|
-
highlight:
|
|
1267
|
-
highlightPrimary:
|
|
1264
|
+
default: t ? o?.background?.default?.light || Xe : o?.background?.default?.dark || je,
|
|
1265
|
+
paper: t ? o?.background?.paper?.light || Qe : o?.background?.paper?.dark || Je,
|
|
1266
|
+
highlight: t ? d[200] : d[600],
|
|
1267
|
+
highlightPrimary: t ? i[100] : i[500]
|
|
1268
1268
|
},
|
|
1269
|
-
divider:
|
|
1269
|
+
divider: t ? b(z, 0.12) : b(A, 0.24),
|
|
1270
1270
|
categories: {
|
|
1271
|
-
autoTransport:
|
|
1272
|
-
billsUtilities:
|
|
1273
|
-
businessServices:
|
|
1274
|
-
education:
|
|
1275
|
-
entertainment:
|
|
1276
|
-
feesCharges:
|
|
1277
|
-
financial:
|
|
1278
|
-
foodDining:
|
|
1279
|
-
giftsDonations:
|
|
1280
|
-
healthFitness:
|
|
1281
|
-
home:
|
|
1282
|
-
income:
|
|
1283
|
-
investments:
|
|
1284
|
-
kids:
|
|
1285
|
-
others:
|
|
1286
|
-
personalCare:
|
|
1287
|
-
pets:
|
|
1288
|
-
shopping:
|
|
1289
|
-
taxes:
|
|
1290
|
-
transfer:
|
|
1291
|
-
travel:
|
|
1292
|
-
uncategorized:
|
|
1271
|
+
autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1272
|
+
billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
1273
|
+
businessServices: t ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
|
|
1274
|
+
education: t ? p.EDUCATION : h.EDUCATION,
|
|
1275
|
+
entertainment: t ? p.ENTERTAINMENT : h.ENTERTAINMENT,
|
|
1276
|
+
feesCharges: t ? p.FEES_CHARGES : h.FEES_CHARGES,
|
|
1277
|
+
financial: t ? p.FINANCIAL : h.FINANCIAL,
|
|
1278
|
+
foodDining: t ? p.FOOD_DINING : h.FOOD_DINING,
|
|
1279
|
+
giftsDonations: t ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
|
|
1280
|
+
healthFitness: t ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
|
|
1281
|
+
home: t ? p.HOME : h.HOME,
|
|
1282
|
+
income: t ? p.INCOME : h.INCOME,
|
|
1283
|
+
investments: t ? p.INVESTMENTS : h.INVESTMENTS,
|
|
1284
|
+
kids: t ? p.KIDS : h.KIDS,
|
|
1285
|
+
others: t ? p.OTHERS : h.OTHERS,
|
|
1286
|
+
personalCare: t ? p.PERSONAL_CARE : h.PERSONAL_CARE,
|
|
1287
|
+
pets: t ? p.PETS : h.PETS,
|
|
1288
|
+
shopping: t ? p.SHOPPING : h.SHOPPING,
|
|
1289
|
+
taxes: t ? p.TAXES : h.TAXES,
|
|
1290
|
+
transfer: t ? p.TRANSFER : h.TRANSFER,
|
|
1291
|
+
travel: t ? p.TRAVEL : h.TRAVEL,
|
|
1292
|
+
uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
|
|
1293
1293
|
},
|
|
1294
1294
|
chart: {
|
|
1295
1295
|
chart1: S.CHART1,
|
|
@@ -1478,19 +1478,19 @@ const go = (e, o) => {
|
|
|
1478
1478
|
variant: "outlined"
|
|
1479
1479
|
},
|
|
1480
1480
|
styleOverrides: {
|
|
1481
|
-
root: ({ theme:
|
|
1481
|
+
root: ({ theme: r, ownerState: n }) => {
|
|
1482
1482
|
const s = n.severity || "info";
|
|
1483
|
-
let d =
|
|
1483
|
+
let d = r.palette.mode === y.LIGHT ? r.palette[s]?.[50] : r.palette[s]?.[800];
|
|
1484
1484
|
if (n.variant === "filled") {
|
|
1485
|
-
const
|
|
1486
|
-
d =
|
|
1485
|
+
const t = s === "warning";
|
|
1486
|
+
d = r.palette[s]?.[t ? 400 : 600];
|
|
1487
1487
|
}
|
|
1488
1488
|
return {
|
|
1489
1489
|
backgroundColor: d,
|
|
1490
|
-
borderRadius:
|
|
1490
|
+
borderRadius: r.shape.borderRadius,
|
|
1491
1491
|
"& .MuiAlert-message": {
|
|
1492
|
-
fontSize:
|
|
1493
|
-
lineHeight:
|
|
1492
|
+
fontSize: r.typography.subtitle1.fontSize,
|
|
1493
|
+
lineHeight: r.typography.subtitle1.lineHeight,
|
|
1494
1494
|
marginTop: "auto",
|
|
1495
1495
|
marginBottom: "auto"
|
|
1496
1496
|
},
|
|
@@ -1516,14 +1516,14 @@ const go = (e, o) => {
|
|
|
1516
1516
|
disableElevation: !0
|
|
1517
1517
|
},
|
|
1518
1518
|
styleOverrides: {
|
|
1519
|
-
root: ({ theme:
|
|
1519
|
+
root: ({ theme: r }) => ({
|
|
1520
1520
|
fontWeight: 600,
|
|
1521
1521
|
textTransform: "none",
|
|
1522
1522
|
"&.Mui-disabled": {
|
|
1523
1523
|
cursor: "not-allowed"
|
|
1524
1524
|
},
|
|
1525
1525
|
"&.Mui-focusVisible": {
|
|
1526
|
-
outline: `2px solid ${
|
|
1526
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1527
1527
|
outlineOffset: "2px"
|
|
1528
1528
|
}
|
|
1529
1529
|
}),
|
|
@@ -1589,22 +1589,22 @@ const go = (e, o) => {
|
|
|
1589
1589
|
},
|
|
1590
1590
|
MuiDataGrid: {
|
|
1591
1591
|
styleOverrides: {
|
|
1592
|
-
root: ({ theme:
|
|
1592
|
+
root: ({ theme: r }) => ({
|
|
1593
1593
|
border: "none",
|
|
1594
1594
|
borderRadius: 0,
|
|
1595
|
-
fontSize:
|
|
1595
|
+
fontSize: r.typography.body2.fontSize,
|
|
1596
1596
|
"& .MuiDataGrid-cell": {
|
|
1597
1597
|
display: "flex",
|
|
1598
1598
|
alignItems: "center",
|
|
1599
1599
|
borderTop: "1px solid",
|
|
1600
|
-
borderColor:
|
|
1600
|
+
borderColor: r.palette.background.highlight
|
|
1601
1601
|
},
|
|
1602
1602
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1603
1603
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1604
1604
|
"& .MuiDataGrid-columnHeaders": {
|
|
1605
|
-
backgroundColor:
|
|
1605
|
+
backgroundColor: r.palette.background.paper,
|
|
1606
1606
|
borderBottom: "2px solid",
|
|
1607
|
-
borderColor:
|
|
1607
|
+
borderColor: r.palette.divider
|
|
1608
1608
|
},
|
|
1609
1609
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1610
1610
|
fontWeight: 600
|
|
@@ -1622,42 +1622,42 @@ const go = (e, o) => {
|
|
|
1622
1622
|
},
|
|
1623
1623
|
MuiDateRangePickerDay: {
|
|
1624
1624
|
styleOverrides: {
|
|
1625
|
-
root: ({ theme:
|
|
1625
|
+
root: ({ theme: r }) => ({
|
|
1626
1626
|
":first-of-type": {
|
|
1627
|
-
borderTopLeftRadius:
|
|
1628
|
-
borderBottomLeftRadius:
|
|
1627
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1628
|
+
borderBottomLeftRadius: r.shape.borderRadius,
|
|
1629
1629
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1630
|
-
borderTopLeftRadius:
|
|
1631
|
-
borderBottomLeftRadius:
|
|
1630
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1631
|
+
borderBottomLeftRadius: r.shape.borderRadius
|
|
1632
1632
|
}
|
|
1633
1633
|
},
|
|
1634
1634
|
":last-of-type": {
|
|
1635
|
-
borderTopRightRadius:
|
|
1636
|
-
borderBottomRightRadius:
|
|
1635
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1636
|
+
borderBottomRightRadius: r.shape.borderRadius,
|
|
1637
1637
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1638
|
-
borderTopRightRadius:
|
|
1639
|
-
borderBottomRightRadius:
|
|
1638
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1639
|
+
borderBottomRightRadius: r.shape.borderRadius
|
|
1640
1640
|
}
|
|
1641
1641
|
},
|
|
1642
1642
|
"& .Mui-selected": {
|
|
1643
|
-
borderRadius:
|
|
1643
|
+
borderRadius: r.shape.borderRadius
|
|
1644
1644
|
},
|
|
1645
1645
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1646
|
-
color:
|
|
1646
|
+
color: r.palette.action.disabled
|
|
1647
1647
|
}
|
|
1648
1648
|
}),
|
|
1649
|
-
day: ({ theme:
|
|
1650
|
-
borderRadius:
|
|
1649
|
+
day: ({ theme: r }) => ({
|
|
1650
|
+
borderRadius: r.shape.borderRadius
|
|
1651
1651
|
}),
|
|
1652
|
-
rangeIntervalDayPreview: ({ theme:
|
|
1653
|
-
borderRadius:
|
|
1652
|
+
rangeIntervalDayPreview: ({ theme: r }) => ({
|
|
1653
|
+
borderRadius: r.shape.borderRadius
|
|
1654
1654
|
})
|
|
1655
1655
|
}
|
|
1656
1656
|
},
|
|
1657
1657
|
MuiDayCalendar: {
|
|
1658
1658
|
styleOverrides: {
|
|
1659
|
-
weekDayLabel: ({ theme:
|
|
1660
|
-
fontSize:
|
|
1659
|
+
weekDayLabel: ({ theme: r }) => ({
|
|
1660
|
+
fontSize: r.typography.body2.fontSize,
|
|
1661
1661
|
fontWeight: 700
|
|
1662
1662
|
})
|
|
1663
1663
|
}
|
|
@@ -1699,14 +1699,14 @@ const go = (e, o) => {
|
|
|
1699
1699
|
},
|
|
1700
1700
|
MuiFormHelperText: {
|
|
1701
1701
|
styleOverrides: {
|
|
1702
|
-
root: ({ theme:
|
|
1702
|
+
root: ({ theme: r }) => ({
|
|
1703
1703
|
fontSize: 13,
|
|
1704
1704
|
// Small
|
|
1705
1705
|
marginLeft: 0,
|
|
1706
1706
|
display: "flex",
|
|
1707
1707
|
alignItems: "center",
|
|
1708
1708
|
position: "relative",
|
|
1709
|
-
color:
|
|
1709
|
+
color: r.palette.text.secondary,
|
|
1710
1710
|
"& .MuiSvgIcon-root": {
|
|
1711
1711
|
height: "16px",
|
|
1712
1712
|
width: "16px",
|
|
@@ -1737,19 +1737,19 @@ const go = (e, o) => {
|
|
|
1737
1737
|
disableFocusRipple: !0
|
|
1738
1738
|
},
|
|
1739
1739
|
styleOverrides: {
|
|
1740
|
-
root: ({ theme:
|
|
1741
|
-
borderRadius:
|
|
1740
|
+
root: ({ theme: r }) => ({
|
|
1741
|
+
borderRadius: r.shape.borderRadius,
|
|
1742
1742
|
minHeight: 44,
|
|
1743
1743
|
// touch target
|
|
1744
1744
|
minWidth: 44,
|
|
1745
1745
|
// touch target
|
|
1746
1746
|
"&.Mui-focusVisible": {
|
|
1747
|
-
outline: `2px solid ${
|
|
1747
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1748
1748
|
outlineOffset: "2px"
|
|
1749
1749
|
},
|
|
1750
1750
|
"& .MuiTouchRipple-root": {
|
|
1751
1751
|
"& .MuiTouchRipple-child": {
|
|
1752
|
-
borderRadius:
|
|
1752
|
+
borderRadius: r.shape.borderRadius
|
|
1753
1753
|
}
|
|
1754
1754
|
}
|
|
1755
1755
|
})
|
|
@@ -1776,7 +1776,7 @@ const go = (e, o) => {
|
|
|
1776
1776
|
},
|
|
1777
1777
|
MuiLink: {
|
|
1778
1778
|
styleOverrides: {
|
|
1779
|
-
root: ({ theme:
|
|
1779
|
+
root: ({ theme: r, color: n }) => ({
|
|
1780
1780
|
cursor: "pointer",
|
|
1781
1781
|
fontWeight: 600,
|
|
1782
1782
|
textDecoration: "none",
|
|
@@ -1788,10 +1788,10 @@ const go = (e, o) => {
|
|
|
1788
1788
|
outlineOffset: "2px"
|
|
1789
1789
|
},
|
|
1790
1790
|
"&:hover": {
|
|
1791
|
-
backgroundColor:
|
|
1791
|
+
backgroundColor: r.palette.action.hover
|
|
1792
1792
|
},
|
|
1793
1793
|
"&:active": {
|
|
1794
|
-
backgroundColor:
|
|
1794
|
+
backgroundColor: r.palette.mode === y.LIGHT ? r.palette[n].light : r.palette[n].dark
|
|
1795
1795
|
}
|
|
1796
1796
|
})
|
|
1797
1797
|
}
|
|
@@ -1818,9 +1818,9 @@ const go = (e, o) => {
|
|
|
1818
1818
|
disablePadding: !0
|
|
1819
1819
|
},
|
|
1820
1820
|
styleOverrides: {
|
|
1821
|
-
root: ({ ownerState:
|
|
1821
|
+
root: ({ ownerState: r }) => ({
|
|
1822
1822
|
minHeight: 64,
|
|
1823
|
-
...!
|
|
1823
|
+
...!r.disablePadding && {
|
|
1824
1824
|
paddingTop: 12,
|
|
1825
1825
|
paddingBottom: 12,
|
|
1826
1826
|
paddingLeft: 24
|
|
@@ -1844,7 +1844,7 @@ const go = (e, o) => {
|
|
|
1844
1844
|
},
|
|
1845
1845
|
MuiListItemButton: {
|
|
1846
1846
|
styleOverrides: {
|
|
1847
|
-
root: ({ theme:
|
|
1847
|
+
root: ({ theme: r }) => ({
|
|
1848
1848
|
minHeight: 64,
|
|
1849
1849
|
paddingLeft: 24,
|
|
1850
1850
|
paddingRight: 24,
|
|
@@ -1853,7 +1853,7 @@ const go = (e, o) => {
|
|
|
1853
1853
|
"&.Mui-focusVisible": {
|
|
1854
1854
|
backgroundColor: "transparent",
|
|
1855
1855
|
borderRadius: 8,
|
|
1856
|
-
outline: `2px solid ${
|
|
1856
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1857
1857
|
outlineOffset: -2
|
|
1858
1858
|
}
|
|
1859
1859
|
})
|
|
@@ -1978,11 +1978,11 @@ const go = (e, o) => {
|
|
|
1978
1978
|
},
|
|
1979
1979
|
MuiPickersToolbar: {
|
|
1980
1980
|
styleOverrides: {
|
|
1981
|
-
content: ({ theme:
|
|
1981
|
+
content: ({ theme: r }) => ({
|
|
1982
1982
|
marginTop: 4,
|
|
1983
1983
|
"& .MuiTypography-root": {
|
|
1984
|
-
fontSize:
|
|
1985
|
-
lineHeight:
|
|
1984
|
+
fontSize: r.typography.h3.fontSize,
|
|
1985
|
+
lineHeight: r.typography.h3.lineHeight
|
|
1986
1986
|
}
|
|
1987
1987
|
})
|
|
1988
1988
|
}
|
|
@@ -2008,7 +2008,7 @@ const go = (e, o) => {
|
|
|
2008
2008
|
disableFocusRipple: !0
|
|
2009
2009
|
},
|
|
2010
2010
|
styleOverrides: {
|
|
2011
|
-
root: ({ theme:
|
|
2011
|
+
root: ({ theme: r }) => ({
|
|
2012
2012
|
width: 37,
|
|
2013
2013
|
height: 20,
|
|
2014
2014
|
padding: 0,
|
|
@@ -2019,7 +2019,7 @@ const go = (e, o) => {
|
|
|
2019
2019
|
"&.Mui-checked": {
|
|
2020
2020
|
transform: "translateX(16px)",
|
|
2021
2021
|
"& + .MuiSwitch-track": {
|
|
2022
|
-
backgroundColor:
|
|
2022
|
+
backgroundColor: r.palette.success.main,
|
|
2023
2023
|
opacity: 1,
|
|
2024
2024
|
border: 0
|
|
2025
2025
|
},
|
|
@@ -2028,27 +2028,27 @@ const go = (e, o) => {
|
|
|
2028
2028
|
}
|
|
2029
2029
|
},
|
|
2030
2030
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
2031
|
-
color:
|
|
2031
|
+
color: r.palette.common.white
|
|
2032
2032
|
},
|
|
2033
2033
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
2034
|
-
backgroundColor:
|
|
2034
|
+
backgroundColor: r.palette.action.disabledBackground,
|
|
2035
2035
|
opacity: 1
|
|
2036
2036
|
}
|
|
2037
2037
|
},
|
|
2038
2038
|
"& .MuiSwitch-input": {
|
|
2039
2039
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
2040
|
-
outline: `2px solid ${
|
|
2040
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
2041
2041
|
outlineOffset: 0
|
|
2042
2042
|
}
|
|
2043
2043
|
},
|
|
2044
2044
|
"& .MuiSwitch-thumb": {
|
|
2045
2045
|
boxSizing: "border-box",
|
|
2046
|
-
backgroundColor:
|
|
2046
|
+
backgroundColor: r.palette.background.paper,
|
|
2047
2047
|
width: 16,
|
|
2048
2048
|
height: 16
|
|
2049
2049
|
},
|
|
2050
2050
|
"& .MuiSwitch-track": {
|
|
2051
|
-
backgroundColor:
|
|
2051
|
+
backgroundColor: r.palette.action.active,
|
|
2052
2052
|
borderRadius: 20 / 2,
|
|
2053
2053
|
opacity: 1
|
|
2054
2054
|
}
|
|
@@ -2100,29 +2100,32 @@ const go = (e, o) => {
|
|
|
2100
2100
|
disableFocusRipple: !0
|
|
2101
2101
|
},
|
|
2102
2102
|
styleOverrides: {
|
|
2103
|
-
root: ({ theme:
|
|
2103
|
+
root: ({ theme: r }) => ({
|
|
2104
2104
|
fontSize: 13,
|
|
2105
2105
|
lineHeight: "16px",
|
|
2106
2106
|
textTransform: "none",
|
|
2107
|
+
"&:focus-visible": {
|
|
2108
|
+
outline: `2px solid ${i.info.main}`,
|
|
2109
|
+
outlineOffset: "2px"
|
|
2110
|
+
},
|
|
2107
2111
|
"&:hover": {
|
|
2108
2112
|
backgroundColor: b(
|
|
2109
|
-
|
|
2113
|
+
r.palette.primary.main,
|
|
2110
2114
|
i.mode === y.LIGHT ? 0.1 : 0.2
|
|
2111
2115
|
),
|
|
2112
|
-
borderColor:
|
|
2116
|
+
borderColor: r.palette.primary.main
|
|
2113
2117
|
},
|
|
2114
2118
|
"&.Mui-selected": {
|
|
2115
2119
|
fontWeight: 600,
|
|
2116
|
-
borderColor:
|
|
2120
|
+
borderColor: r.palette.primary.main,
|
|
2117
2121
|
"&:hover": {
|
|
2118
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2122
|
+
boxShadow: `inset 0px 0px 0px 2px ${r.palette.primary.main}`
|
|
2119
2123
|
}
|
|
2120
2124
|
},
|
|
2121
2125
|
"& .MuiTouchRipple-root": {
|
|
2122
|
-
"& .MuiTouchRipple-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
}
|
|
2126
|
+
"& .MuiTouchRipple-child": {
|
|
2127
|
+
backgroundColor: r.palette.primary.main,
|
|
2128
|
+
borderRadius: r.shape.borderRadius
|
|
2126
2129
|
}
|
|
2127
2130
|
}
|
|
2128
2131
|
})
|
|
@@ -2208,8 +2211,8 @@ export {
|
|
|
2208
2211
|
Be as CategoryIconList,
|
|
2209
2212
|
_e as CategoryIconVariants,
|
|
2210
2213
|
V0 as CheckmarkFilledIcon,
|
|
2211
|
-
|
|
2212
|
-
|
|
2214
|
+
$0 as ChevronDownIcon,
|
|
2215
|
+
G0 as ChevronLeftIcon,
|
|
2213
2216
|
U0 as ChevronRightIcon,
|
|
2214
2217
|
W0 as CloseIcon,
|
|
2215
2218
|
q0 as DateRangePicker,
|