@mxenabled/mxui 2.9.2 → 2.10.0
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 +196 -187
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Augmentations.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -28,13 +28,13 @@ import re from "@mui/material/Typography";
|
|
|
28
28
|
import Ie from "@mui/material/Drawer";
|
|
29
29
|
import Oe from "@mui/material/Snackbar";
|
|
30
30
|
import Ee from "@mui/material/Alert";
|
|
31
|
-
import { FormControlLabel as
|
|
31
|
+
import { FormControlLabel as ve, Box as P, Typography as X, Radio as B, Checkbox as Fe, alpha as m, darken as L, lighten as E, getContrastRatio as Le } from "@mui/material";
|
|
32
32
|
import { circularProgressClasses as ke } from "@mui/material/CircularProgress";
|
|
33
33
|
import { LicenseInfo as Ne } from "@mui/x-license";
|
|
34
34
|
const H = ({
|
|
35
35
|
children: r,
|
|
36
36
|
height: i,
|
|
37
|
-
size:
|
|
37
|
+
size: o = 16,
|
|
38
38
|
viewBox: s = "0 0 16 16",
|
|
39
39
|
width: l
|
|
40
40
|
}) => /* @__PURE__ */ n(
|
|
@@ -43,13 +43,13 @@ const H = ({
|
|
|
43
43
|
"aria-hidden": !0,
|
|
44
44
|
className: "mx-kmui-icon",
|
|
45
45
|
focusable: !1,
|
|
46
|
-
height: i ||
|
|
46
|
+
height: i || o,
|
|
47
47
|
viewBox: s,
|
|
48
|
-
width: l ||
|
|
48
|
+
width: l || o,
|
|
49
49
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50
50
|
children: r
|
|
51
51
|
}
|
|
52
|
-
), T = ({ color: r, fill: i = !1, name:
|
|
52
|
+
), T = ({ color: r, fill: i = !1, name: o, size: s = 20, sx: l, ...e }) => /* @__PURE__ */ n(se, { color: r, fill: i, name: o, size: s, sx: l, ...e }), vr = ({
|
|
53
53
|
color: r = "currentColor",
|
|
54
54
|
...i
|
|
55
55
|
}) => /* @__PURE__ */ b(H, { ...i, children: [
|
|
@@ -67,7 +67,7 @@ const H = ({
|
|
|
67
67
|
fill: r
|
|
68
68
|
}
|
|
69
69
|
)
|
|
70
|
-
] }),
|
|
70
|
+
] }), Fr = ({
|
|
71
71
|
color: r = "currentColor",
|
|
72
72
|
...i
|
|
73
73
|
}) => /* @__PURE__ */ b(H, { ...i, children: [
|
|
@@ -143,7 +143,7 @@ const H = ({
|
|
|
143
143
|
)
|
|
144
144
|
] });
|
|
145
145
|
var g = /* @__PURE__ */ ((r) => (r.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", r.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", r.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", r.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", r.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", r.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", r.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", r.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", r.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", r.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", r.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", r.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", r.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", r.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", r.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", r.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", r.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", r.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", r.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", r.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", r.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", r))(g || {}), He = /* @__PURE__ */ ((r) => (r.Basic = "basic", r.Filled = "filled", r.Transparent = "transparent", r.TwoTone = "two-tone", r))(He || {});
|
|
146
|
-
const
|
|
146
|
+
const te = {
|
|
147
147
|
guid: g.Uncategorized,
|
|
148
148
|
colorName: "uncategorized",
|
|
149
149
|
icon: "category"
|
|
@@ -248,16 +248,16 @@ const oe = {
|
|
|
248
248
|
colorName: "travel",
|
|
249
249
|
icon: "airplane_ticket"
|
|
250
250
|
},
|
|
251
|
-
|
|
251
|
+
te
|
|
252
252
|
], we = 0.625, Pe = ({
|
|
253
253
|
categoryGuid: r,
|
|
254
254
|
icon_ratio: i = we,
|
|
255
|
-
size:
|
|
255
|
+
size: o = 32,
|
|
256
256
|
sx: s = {},
|
|
257
257
|
variant: l = "filled"
|
|
258
258
|
}) => {
|
|
259
259
|
const e = O(), a = N.useMemo(
|
|
260
|
-
() => De.find((f) => f.guid === r) ??
|
|
260
|
+
() => De.find((f) => f.guid === r) ?? te,
|
|
261
261
|
[r]
|
|
262
262
|
), c = e.palette.categories[a.colorName];
|
|
263
263
|
return /* @__PURE__ */ n(
|
|
@@ -273,15 +273,15 @@ const oe = {
|
|
|
273
273
|
const f = l === "filled" ? e.palette.common.white : c;
|
|
274
274
|
return l === "basic" ? e.palette.text.primary : f;
|
|
275
275
|
},
|
|
276
|
-
height:
|
|
276
|
+
height: o,
|
|
277
277
|
justifyContent: "center",
|
|
278
278
|
sx: [...Array.isArray(s) ? s : [s]],
|
|
279
|
-
width:
|
|
280
|
-
children: /* @__PURE__ */ n(T, { name: a.icon, size:
|
|
279
|
+
width: o,
|
|
280
|
+
children: /* @__PURE__ */ n(T, { name: a.icon, size: o * i })
|
|
281
281
|
}
|
|
282
282
|
);
|
|
283
283
|
}, Be = ({ items: r, selected: i }) => {
|
|
284
|
-
const
|
|
284
|
+
const o = O(), { setValue: s } = Z(), l = Q(), e = r?.map((a) => {
|
|
285
285
|
const c = a.getValue({ isValid: l });
|
|
286
286
|
return {
|
|
287
287
|
label: a.label,
|
|
@@ -305,11 +305,11 @@ const oe = {
|
|
|
305
305
|
boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
|
|
306
306
|
},
|
|
307
307
|
"&:hover": {
|
|
308
|
-
bgcolor:
|
|
309
|
-
borderTop: `1px solid ${
|
|
308
|
+
bgcolor: o.palette.action.hover,
|
|
309
|
+
borderTop: `1px solid ${o.palette.secondary.light}`
|
|
310
310
|
},
|
|
311
311
|
"&.Mui-selected": {
|
|
312
|
-
border: `2px solid ${
|
|
312
|
+
border: `2px solid ${o.palette.primary.main} !important`,
|
|
313
313
|
marginTop: "-2px !important",
|
|
314
314
|
color: "primary"
|
|
315
315
|
}
|
|
@@ -322,7 +322,7 @@ const oe = {
|
|
|
322
322
|
}, _e = ({
|
|
323
323
|
items: r,
|
|
324
324
|
selected: i,
|
|
325
|
-
selectLabel:
|
|
325
|
+
selectLabel: o
|
|
326
326
|
}) => {
|
|
327
327
|
const { setValue: s } = Z(), l = Q(), e = r?.map((a) => {
|
|
328
328
|
const c = a.getValue({ isValid: l });
|
|
@@ -339,7 +339,7 @@ const oe = {
|
|
|
339
339
|
{
|
|
340
340
|
defaultValue: i,
|
|
341
341
|
id: "select",
|
|
342
|
-
label:
|
|
342
|
+
label: o,
|
|
343
343
|
select: !0,
|
|
344
344
|
slotProps: { inputLabel: { shrink: !0 }, select: { IconComponent: ce } },
|
|
345
345
|
sx: { width: "100%" },
|
|
@@ -349,7 +349,7 @@ const oe = {
|
|
|
349
349
|
}
|
|
350
350
|
) });
|
|
351
351
|
}, ze = (r) => {
|
|
352
|
-
const { toolbar: i, content:
|
|
352
|
+
const { toolbar: i, content: o, shortcuts: s, ownerState: l } = ye(r);
|
|
353
353
|
return /* @__PURE__ */ b(
|
|
354
354
|
Se,
|
|
355
355
|
{
|
|
@@ -378,7 +378,7 @@ const oe = {
|
|
|
378
378
|
{
|
|
379
379
|
className: w.contentWrapper,
|
|
380
380
|
ownerState: l,
|
|
381
|
-
children:
|
|
381
|
+
children: o
|
|
382
382
|
}
|
|
383
383
|
)
|
|
384
384
|
]
|
|
@@ -387,16 +387,16 @@ const oe = {
|
|
|
387
387
|
}, Nr = ({
|
|
388
388
|
copy: r,
|
|
389
389
|
dateRange: i,
|
|
390
|
-
onRangeChanged:
|
|
390
|
+
onRangeChanged: o,
|
|
391
391
|
selectedShortcut: s = r.dateRangeThisMonth,
|
|
392
392
|
sx: l = {}
|
|
393
393
|
}) => {
|
|
394
394
|
const e = O(), a = fe(e.breakpoints.down("sm")), c = N.useMemo(() => {
|
|
395
|
-
const
|
|
395
|
+
const t = ue(), f = ge(t, 1), x = he(t, 1);
|
|
396
396
|
return [
|
|
397
397
|
{
|
|
398
398
|
label: r.dateRangeThisMonth,
|
|
399
|
-
getValue: () => [W(
|
|
399
|
+
getValue: () => [W(t), V(t)]
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
402
|
label: r.dateRangeLastMonth,
|
|
@@ -404,15 +404,15 @@ const oe = {
|
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
label: r.dateRangeLast30Days,
|
|
407
|
-
getValue: () => [Y(
|
|
407
|
+
getValue: () => [Y(t, 30), t]
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
410
|
label: r.dateRangeLast90Days,
|
|
411
|
-
getValue: () => [Y(
|
|
411
|
+
getValue: () => [Y(t, 90), t]
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
414
|
label: r.dateRangeYTD,
|
|
415
|
-
getValue: () => [K(
|
|
415
|
+
getValue: () => [K(t), t]
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
418
|
label: r.dateRangeLastYear,
|
|
@@ -420,12 +420,12 @@ const oe = {
|
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
label: r.dateRangeCustom,
|
|
423
|
-
getValue: () => [
|
|
423
|
+
getValue: () => [t, t]
|
|
424
424
|
}
|
|
425
425
|
];
|
|
426
|
-
}, [r]), d = (
|
|
426
|
+
}, [r]), d = (t, f) => {
|
|
427
427
|
const x = f.shortcut;
|
|
428
|
-
|
|
428
|
+
o?.(t, x ? x.label : r.dateRangeCustom);
|
|
429
429
|
};
|
|
430
430
|
return /* @__PURE__ */ n(A, { gap: a ? 0 : "16px", m: a ? 0 : "8px", children: /* @__PURE__ */ n(me, { dateAdapter: xe, children: /* @__PURE__ */ n(
|
|
431
431
|
be,
|
|
@@ -458,22 +458,22 @@ const oe = {
|
|
|
458
458
|
slots: {
|
|
459
459
|
...a && { layout: ze },
|
|
460
460
|
leftArrowIcon: () => /* @__PURE__ */ n(T, { name: "chevron_left", size: 28 }),
|
|
461
|
-
shortcuts: (
|
|
461
|
+
shortcuts: (t) => a ? /* @__PURE__ */ n(
|
|
462
462
|
_e,
|
|
463
463
|
{
|
|
464
464
|
selectLabel: r.dateRangeSelectARange,
|
|
465
465
|
selected: s,
|
|
466
|
-
...
|
|
466
|
+
...t
|
|
467
467
|
}
|
|
468
|
-
) : /* @__PURE__ */ n(Be, { selected: s, ...
|
|
468
|
+
) : /* @__PURE__ */ n(Be, { selected: s, ...t }),
|
|
469
469
|
rightArrowIcon: () => /* @__PURE__ */ n(T, { name: "chevron_right", size: 28 }),
|
|
470
470
|
...a && {
|
|
471
|
-
toolbar: (
|
|
471
|
+
toolbar: (t) => /* @__PURE__ */ n(
|
|
472
472
|
Te,
|
|
473
473
|
{
|
|
474
474
|
dateSeparator: "",
|
|
475
475
|
format: "MM/dd/yyyy",
|
|
476
|
-
...
|
|
476
|
+
...t,
|
|
477
477
|
slotProps: {
|
|
478
478
|
textField: ({ position: f }) => ({
|
|
479
479
|
label: f === "start" ? r.dateRangeFrom : r.dateRangeTo
|
|
@@ -488,12 +488,12 @@ const oe = {
|
|
|
488
488
|
value: i
|
|
489
489
|
}
|
|
490
490
|
) }) });
|
|
491
|
-
}, Hr = N.forwardRef(function(i,
|
|
492
|
-
return /* @__PURE__ */ n(q, { direction: "up", ref:
|
|
491
|
+
}, Hr = N.forwardRef(function(i, o) {
|
|
492
|
+
return /* @__PURE__ */ n(q, { direction: "up", ref: o, ...i });
|
|
493
493
|
}), $e = ({
|
|
494
494
|
hasSecondaryAction: r = !0,
|
|
495
495
|
isPrimaryDisabled: i,
|
|
496
|
-
onPrimaryAction:
|
|
496
|
+
onPrimaryAction: o,
|
|
497
497
|
onSecondaryAction: s,
|
|
498
498
|
primaryColor: l = "primary",
|
|
499
499
|
primaryText: e = "Save",
|
|
@@ -512,26 +512,26 @@ const oe = {
|
|
|
512
512
|
{
|
|
513
513
|
color: a,
|
|
514
514
|
onClick: s,
|
|
515
|
-
variant:
|
|
515
|
+
variant: o ? "outlined" : "contained",
|
|
516
516
|
children: c
|
|
517
517
|
}
|
|
518
518
|
),
|
|
519
|
-
|
|
519
|
+
o && /* @__PURE__ */ n(
|
|
520
520
|
$,
|
|
521
521
|
{
|
|
522
522
|
color: l,
|
|
523
523
|
disabled: i,
|
|
524
|
-
onClick:
|
|
524
|
+
onClick: o,
|
|
525
525
|
variant: "contained",
|
|
526
526
|
children: e
|
|
527
527
|
}
|
|
528
528
|
)
|
|
529
529
|
]
|
|
530
530
|
}
|
|
531
|
-
),
|
|
531
|
+
), v = ({
|
|
532
532
|
bold: r,
|
|
533
533
|
className: i = "",
|
|
534
|
-
children:
|
|
534
|
+
children: o,
|
|
535
535
|
color: s,
|
|
536
536
|
sx: l = {},
|
|
537
537
|
truncate: e,
|
|
@@ -557,12 +557,12 @@ const oe = {
|
|
|
557
557
|
...Array.isArray(l) ? l : [l]
|
|
558
558
|
],
|
|
559
559
|
...c,
|
|
560
|
-
children:
|
|
560
|
+
children: o
|
|
561
561
|
}
|
|
562
|
-
), Ue = ({ className: r = "", children: i, ...
|
|
562
|
+
), Ue = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(v, { className: `mx-mxui-text h1 ${r}`, component: "h1", variant: "h1", ...o, children: i }), Dr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(v, { className: `mx-mxui-text h2 ${r}`, component: "h2", variant: "h2", ...o, children: i }), wr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(v, { className: `mx-mxui-text h3 ${r}`, component: "h3", variant: "h3", ...o, children: i }), Pr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(v, { className: `mx-mxui-text p ${r}`, component: "p", variant: "body1", ...o, children: i }), Br = ({
|
|
563
563
|
ariaHidden: r = !1,
|
|
564
564
|
copy: i,
|
|
565
|
-
id:
|
|
565
|
+
id: o,
|
|
566
566
|
onClose: s,
|
|
567
567
|
truncate: l = !1
|
|
568
568
|
}) => /* @__PURE__ */ b(
|
|
@@ -579,8 +579,8 @@ const oe = {
|
|
|
579
579
|
/* @__PURE__ */ n(
|
|
580
580
|
Ue,
|
|
581
581
|
{
|
|
582
|
-
"aria-hidden": r &&
|
|
583
|
-
id:
|
|
582
|
+
"aria-hidden": r && o ? !0 : void 0,
|
|
583
|
+
id: o,
|
|
584
584
|
truncate: l,
|
|
585
585
|
variant: "h3",
|
|
586
586
|
children: i.title
|
|
@@ -592,24 +592,24 @@ const oe = {
|
|
|
592
592
|
), _r = ({
|
|
593
593
|
className: r,
|
|
594
594
|
disableSave: i,
|
|
595
|
-
id:
|
|
595
|
+
id: o,
|
|
596
596
|
isOpen: s,
|
|
597
597
|
onClose: l,
|
|
598
598
|
onSave: e,
|
|
599
599
|
primaryText: a,
|
|
600
600
|
secondaryText: c,
|
|
601
601
|
children: d,
|
|
602
|
-
...
|
|
602
|
+
...t
|
|
603
603
|
}) => /* @__PURE__ */ b(
|
|
604
604
|
Ie,
|
|
605
605
|
{
|
|
606
606
|
anchor: "right",
|
|
607
607
|
className: `mx-kmui-drawer ${r}`,
|
|
608
|
-
id:
|
|
608
|
+
id: o ?? void 0,
|
|
609
609
|
onClose: l,
|
|
610
610
|
open: s,
|
|
611
611
|
variant: "temporary",
|
|
612
|
-
...
|
|
612
|
+
...t,
|
|
613
613
|
children: [
|
|
614
614
|
d,
|
|
615
615
|
e && /* @__PURE__ */ n(
|
|
@@ -624,11 +624,11 @@ const oe = {
|
|
|
624
624
|
)
|
|
625
625
|
]
|
|
626
626
|
}
|
|
627
|
-
),
|
|
627
|
+
), oe = 32, U = "https://content.moneydesktop.com/storage/MD_Assets", j = `${U}/serenity/default_institution_logo.png`, zr = ({
|
|
628
628
|
alt: r,
|
|
629
629
|
institutionGuid: i,
|
|
630
|
-
logoUrl:
|
|
631
|
-
size: s =
|
|
630
|
+
logoUrl: o,
|
|
631
|
+
size: s = oe,
|
|
632
632
|
...l
|
|
633
633
|
}) => /* @__PURE__ */ n(
|
|
634
634
|
"img",
|
|
@@ -639,7 +639,7 @@ const oe = {
|
|
|
639
639
|
const a = e.target;
|
|
640
640
|
a.src !== j && (a.src = j);
|
|
641
641
|
},
|
|
642
|
-
src:
|
|
642
|
+
src: o || `${U}/Ipad%20Logos/100x100/${i}_100x100.png`,
|
|
643
643
|
style: {
|
|
644
644
|
borderRadius: 4
|
|
645
645
|
},
|
|
@@ -649,20 +649,20 @@ const oe = {
|
|
|
649
649
|
), $r = ({
|
|
650
650
|
alt: r = "",
|
|
651
651
|
categoryGuid: i,
|
|
652
|
-
merchantGuid:
|
|
653
|
-
size: s =
|
|
652
|
+
merchantGuid: o,
|
|
653
|
+
size: s = oe,
|
|
654
654
|
...l
|
|
655
655
|
}) => {
|
|
656
656
|
const [e, a] = N.useState(!1), c = O();
|
|
657
657
|
return /* @__PURE__ */ b(k, { display: "inline-block", position: "relative", ...l, children: [
|
|
658
|
-
|
|
658
|
+
o && !e && /* @__PURE__ */ n(
|
|
659
659
|
"img",
|
|
660
660
|
{
|
|
661
661
|
alt: r,
|
|
662
662
|
"aria-hidden": !r,
|
|
663
663
|
height: s,
|
|
664
664
|
onError: () => a(!0),
|
|
665
|
-
src: `${U}/merchant_logos/${
|
|
665
|
+
src: `${U}/merchant_logos/${o}.png`,
|
|
666
666
|
style: {
|
|
667
667
|
backgroundColor: c.palette.common.white,
|
|
668
668
|
borderRadius: 4,
|
|
@@ -677,7 +677,7 @@ const oe = {
|
|
|
677
677
|
}, Ur = ({
|
|
678
678
|
disabled: r = !1,
|
|
679
679
|
label: i = "",
|
|
680
|
-
shrink:
|
|
680
|
+
shrink: o = !0,
|
|
681
681
|
truncate: s = !1,
|
|
682
682
|
variant: l = "outlined",
|
|
683
683
|
...e
|
|
@@ -688,7 +688,7 @@ const oe = {
|
|
|
688
688
|
label: i,
|
|
689
689
|
slotProps: {
|
|
690
690
|
inputLabel: {
|
|
691
|
-
shrink:
|
|
691
|
+
shrink: o,
|
|
692
692
|
...s && {
|
|
693
693
|
sx: {
|
|
694
694
|
maxWidth: "100%",
|
|
@@ -709,17 +709,17 @@ function Ge(r) {
|
|
|
709
709
|
const Gr = ({
|
|
710
710
|
open: r = !0,
|
|
711
711
|
handleClose: i,
|
|
712
|
-
closeAriaLabel:
|
|
712
|
+
closeAriaLabel: o,
|
|
713
713
|
message: s,
|
|
714
714
|
autoHideDuration: l = 3e3,
|
|
715
715
|
severity: e = "success",
|
|
716
716
|
snackbarSx: a,
|
|
717
717
|
showAction: c = !1,
|
|
718
718
|
showClose: d = !1,
|
|
719
|
-
actionText:
|
|
719
|
+
actionText: t = "Undo",
|
|
720
720
|
onActionClick: f
|
|
721
721
|
}) => {
|
|
722
|
-
const x = O(),
|
|
722
|
+
const x = O(), F = d && /* @__PURE__ */ n(ee, { "aria-label": o, color: "inherit", onClick: i, size: "small", children: /* @__PURE__ */ n(T, { fill: !0, name: "close" }) }), h = `${e}.main`;
|
|
723
723
|
return /* @__PURE__ */ n(
|
|
724
724
|
Oe,
|
|
725
725
|
{
|
|
@@ -737,7 +737,7 @@ const Gr = ({
|
|
|
737
737
|
children: /* @__PURE__ */ n(
|
|
738
738
|
Ee,
|
|
739
739
|
{
|
|
740
|
-
action:
|
|
740
|
+
action: F,
|
|
741
741
|
severity: e,
|
|
742
742
|
sx: {
|
|
743
743
|
backgroundColor: h,
|
|
@@ -768,7 +768,7 @@ const Gr = ({
|
|
|
768
768
|
},
|
|
769
769
|
children: [
|
|
770
770
|
/* @__PURE__ */ n(
|
|
771
|
-
|
|
771
|
+
v,
|
|
772
772
|
{
|
|
773
773
|
sx: {
|
|
774
774
|
lineHeight: x.typography.body1.lineHeight,
|
|
@@ -792,7 +792,7 @@ const Gr = ({
|
|
|
792
792
|
minWidth: "auto",
|
|
793
793
|
justifyContent: "flex-start"
|
|
794
794
|
},
|
|
795
|
-
children:
|
|
795
|
+
children: t
|
|
796
796
|
}
|
|
797
797
|
)
|
|
798
798
|
]
|
|
@@ -805,23 +805,23 @@ const Gr = ({
|
|
|
805
805
|
}, Vr = ({
|
|
806
806
|
component: r = B,
|
|
807
807
|
variant: i = "outlined",
|
|
808
|
-
selected:
|
|
808
|
+
selected: o,
|
|
809
809
|
onChange: s,
|
|
810
810
|
headline: l,
|
|
811
811
|
message: e,
|
|
812
812
|
name: a,
|
|
813
813
|
value: c,
|
|
814
814
|
disabled: d = !1,
|
|
815
|
-
error:
|
|
815
|
+
error: t = !1,
|
|
816
816
|
icon: f = !1,
|
|
817
817
|
sx: x = {},
|
|
818
|
-
...
|
|
818
|
+
...F
|
|
819
819
|
}) => {
|
|
820
|
-
const h = O(), ie = () => h.palette.background.paper, D = () =>
|
|
820
|
+
const h = O(), ie = () => h.palette.background.paper, D = () => t ? `inset 0px 0px 0px 2px ${h.palette.error.main}` : d ? o ? `inset 0px 0px 0px 2px ${h.palette.action.disabled}` : i === "outlined" ? `inset 0px 0px 0px 1px ${h.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${h.palette.action.disabled}` : i === "outlined" ? o ? `inset 0px 0px 0px 2px ${m(h.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${m(h.palette.common.black, 0.23)}` : o ? `inset 0px 0px 0px 2px ${m(h.palette.primary.main, 0.5)}` : h.shadows[1], ae = () => d || t ? h.palette.background.paper : m(h.palette.primary.main, 0.1), ne = () => d || t ? D() : i === "outlined" ? o ? `inset 0px 0px 0px 2px ${m(h.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${m(h.palette.primary.main, 0.5)}` : D(), le = () => d || t ? h.palette.background.paper : m(h.palette.primary.main, 0.3);
|
|
821
821
|
return /* @__PURE__ */ n(
|
|
822
|
-
|
|
822
|
+
ve,
|
|
823
823
|
{
|
|
824
|
-
checked:
|
|
824
|
+
checked: o,
|
|
825
825
|
control: r === B ? /* @__PURE__ */ n(
|
|
826
826
|
B,
|
|
827
827
|
{
|
|
@@ -835,10 +835,10 @@ const Gr = ({
|
|
|
835
835
|
fontSize: "20px"
|
|
836
836
|
}
|
|
837
837
|
},
|
|
838
|
-
...
|
|
838
|
+
...F
|
|
839
839
|
}
|
|
840
840
|
) : /* @__PURE__ */ n(
|
|
841
|
-
|
|
841
|
+
Fe,
|
|
842
842
|
{
|
|
843
843
|
name: a,
|
|
844
844
|
sx: {
|
|
@@ -850,7 +850,7 @@ const Gr = ({
|
|
|
850
850
|
fontSize: "20px"
|
|
851
851
|
}
|
|
852
852
|
},
|
|
853
|
-
...
|
|
853
|
+
...F
|
|
854
854
|
}
|
|
855
855
|
),
|
|
856
856
|
disabled: d,
|
|
@@ -897,7 +897,7 @@ const Gr = ({
|
|
|
897
897
|
);
|
|
898
898
|
}, S = {
|
|
899
899
|
LIGHT: "light"
|
|
900
|
-
}, Wr = ({ color: r = "neutral", icon: i, label:
|
|
900
|
+
}, Wr = ({ color: r = "neutral", icon: i, label: o, size: s = "small", sx: l, ...e }) => /* @__PURE__ */ b(
|
|
901
901
|
k,
|
|
902
902
|
{
|
|
903
903
|
component: "span",
|
|
@@ -939,7 +939,7 @@ const Gr = ({
|
|
|
939
939
|
component: "span",
|
|
940
940
|
sx: { fontWeight: "bold", textTransform: "uppercase" },
|
|
941
941
|
variant: "tiny",
|
|
942
|
-
children:
|
|
942
|
+
children: o
|
|
943
943
|
}
|
|
944
944
|
)
|
|
945
945
|
]
|
|
@@ -1025,7 +1025,7 @@ const Gr = ({
|
|
|
1025
1025
|
TRAVEL: "#76ACF7",
|
|
1026
1026
|
UNCATEGORIZED: "#BCC6D4"
|
|
1027
1027
|
}, Xe = (r, i) => {
|
|
1028
|
-
const
|
|
1028
|
+
const o = R(i?.primary || C.PRIMARY), s = R(i?.secondary || C.SECONDARY), l = R(i?.error || C.ERROR), e = R(i?.warning || C.WARNING), a = R(i?.info || C.INFO), c = R(i?.success || C.SUCCESS), d = R(i?.grey || C.GREY), t = r === S.LIGHT;
|
|
1029
1029
|
return {
|
|
1030
1030
|
mode: r,
|
|
1031
1031
|
common: {
|
|
@@ -1033,104 +1033,104 @@ const Gr = ({
|
|
|
1033
1033
|
black: _
|
|
1034
1034
|
},
|
|
1035
1035
|
primary: {
|
|
1036
|
-
...
|
|
1037
|
-
lighter:
|
|
1038
|
-
light:
|
|
1039
|
-
main:
|
|
1040
|
-
dark:
|
|
1041
|
-
darker:
|
|
1036
|
+
...o,
|
|
1037
|
+
lighter: t ? o[100] : o[700],
|
|
1038
|
+
light: t ? o[300] : o[600],
|
|
1039
|
+
main: t ? o[500] : o[400],
|
|
1040
|
+
dark: t ? o[700] : o[200],
|
|
1041
|
+
darker: t ? o[800] : o[100]
|
|
1042
1042
|
},
|
|
1043
1043
|
secondary: {
|
|
1044
1044
|
...s,
|
|
1045
|
-
lighter:
|
|
1046
|
-
light:
|
|
1047
|
-
main:
|
|
1048
|
-
dark:
|
|
1049
|
-
darker:
|
|
1045
|
+
lighter: t ? s[100] : s[800],
|
|
1046
|
+
light: t ? s[300] : s[600],
|
|
1047
|
+
main: t ? s[500] : s[400],
|
|
1048
|
+
dark: t ? s[700] : s[200],
|
|
1049
|
+
darker: t ? s[800] : s[100]
|
|
1050
1050
|
},
|
|
1051
1051
|
neutral: {
|
|
1052
1052
|
...d,
|
|
1053
|
-
lighter:
|
|
1054
|
-
light:
|
|
1055
|
-
main:
|
|
1056
|
-
dark:
|
|
1057
|
-
darker:
|
|
1058
|
-
contrastText: Le(
|
|
1053
|
+
lighter: t ? d[100] : d[800],
|
|
1054
|
+
light: t ? d[300] : d[600],
|
|
1055
|
+
main: t ? d[500] : d[400],
|
|
1056
|
+
dark: t ? d[700] : d[200],
|
|
1057
|
+
darker: t ? d[800] : d[100],
|
|
1058
|
+
contrastText: Le(t ? d[700] : d[400], "#fff") > 4.5 ? M : d[900]
|
|
1059
1059
|
},
|
|
1060
1060
|
text: {
|
|
1061
|
-
primary:
|
|
1062
|
-
secondary:
|
|
1063
|
-
disabled:
|
|
1061
|
+
primary: t ? d[900] : M,
|
|
1062
|
+
secondary: t ? d[600] : m(M, 0.7),
|
|
1063
|
+
disabled: t ? d[500] : m(M, 0.38)
|
|
1064
1064
|
},
|
|
1065
1065
|
error: {
|
|
1066
1066
|
...l,
|
|
1067
|
-
lighter:
|
|
1068
|
-
light:
|
|
1069
|
-
main:
|
|
1070
|
-
dark:
|
|
1071
|
-
darker:
|
|
1067
|
+
lighter: t ? l[100] : l[700],
|
|
1068
|
+
light: t ? l[300] : l[600],
|
|
1069
|
+
main: t ? l[500] : l[400],
|
|
1070
|
+
dark: t ? l[700] : l[200],
|
|
1071
|
+
darker: t ? l[800] : l[100]
|
|
1072
1072
|
},
|
|
1073
1073
|
warning: {
|
|
1074
1074
|
...e,
|
|
1075
|
-
lighter:
|
|
1076
|
-
light:
|
|
1077
|
-
main:
|
|
1078
|
-
dark:
|
|
1079
|
-
darker:
|
|
1075
|
+
lighter: t ? e[100] : e[700],
|
|
1076
|
+
light: t ? e[300] : e[600],
|
|
1077
|
+
main: t ? e[500] : e[400],
|
|
1078
|
+
dark: t ? e[700] : e[200],
|
|
1079
|
+
darker: t ? e[800] : e[100]
|
|
1080
1080
|
},
|
|
1081
1081
|
info: {
|
|
1082
1082
|
...a,
|
|
1083
|
-
lighter:
|
|
1084
|
-
light:
|
|
1085
|
-
main:
|
|
1086
|
-
dark:
|
|
1087
|
-
darker:
|
|
1083
|
+
lighter: t ? a[100] : a[700],
|
|
1084
|
+
light: t ? a[300] : a[600],
|
|
1085
|
+
main: t ? a[500] : a[400],
|
|
1086
|
+
dark: t ? a[700] : a[200],
|
|
1087
|
+
darker: t ? a[800] : a[100]
|
|
1088
1088
|
},
|
|
1089
1089
|
success: {
|
|
1090
1090
|
...c,
|
|
1091
|
-
lighter:
|
|
1092
|
-
light:
|
|
1093
|
-
main:
|
|
1094
|
-
dark:
|
|
1095
|
-
darker:
|
|
1091
|
+
lighter: t ? c[100] : c[700],
|
|
1092
|
+
light: t ? c[300] : c[600],
|
|
1093
|
+
main: t ? c[500] : c[400],
|
|
1094
|
+
dark: t ? c[700] : c[200],
|
|
1095
|
+
darker: t ? c[800] : c[100]
|
|
1096
1096
|
},
|
|
1097
1097
|
grey: d,
|
|
1098
1098
|
action: {
|
|
1099
|
-
active:
|
|
1100
|
-
hoverOpacity:
|
|
1101
|
-
selectedOpacity:
|
|
1099
|
+
active: t ? m(_, 0.56) : m(M, 0.56),
|
|
1100
|
+
hoverOpacity: t ? 0.1 : 0.2,
|
|
1101
|
+
selectedOpacity: t ? 0.16 : 0.25,
|
|
1102
1102
|
focusOpacity: 0.3
|
|
1103
1103
|
},
|
|
1104
1104
|
background: {
|
|
1105
|
-
default:
|
|
1106
|
-
paper:
|
|
1107
|
-
highlight:
|
|
1108
|
-
highlightPrimary:
|
|
1105
|
+
default: t ? i?.background?.default?.light || Ve : i?.background?.default?.dark || We,
|
|
1106
|
+
paper: t ? i?.background?.paper?.light || Ke : i?.background?.paper?.dark || Ye,
|
|
1107
|
+
highlight: t ? d[200] : d[600],
|
|
1108
|
+
highlightPrimary: t ? o[100] : o[500]
|
|
1109
1109
|
},
|
|
1110
|
-
divider:
|
|
1110
|
+
divider: t ? m(_, 0.12) : m(M, 0.24),
|
|
1111
1111
|
categories: {
|
|
1112
|
-
autoTransport:
|
|
1113
|
-
billsUtilities:
|
|
1114
|
-
businessServices:
|
|
1115
|
-
education:
|
|
1116
|
-
entertainment:
|
|
1117
|
-
feesCharges:
|
|
1118
|
-
financial:
|
|
1119
|
-
foodDining:
|
|
1120
|
-
giftsDonations:
|
|
1121
|
-
healthFitness:
|
|
1122
|
-
home:
|
|
1123
|
-
income:
|
|
1124
|
-
investments:
|
|
1125
|
-
kids:
|
|
1126
|
-
others:
|
|
1127
|
-
personalCare:
|
|
1128
|
-
pets:
|
|
1129
|
-
shopping:
|
|
1130
|
-
taxes:
|
|
1131
|
-
transfer:
|
|
1132
|
-
travel:
|
|
1133
|
-
uncategorized:
|
|
1112
|
+
autoTransport: t ? p.AUTO_TRANSPORTT : u.AUTO_TRANSPORTT,
|
|
1113
|
+
billsUtilities: t ? p.BILLS_UTILITIES : u.BILLS_UTILITIES,
|
|
1114
|
+
businessServices: t ? p.BUSINESS_SERVICES : u.BUSINESS_SERVICES,
|
|
1115
|
+
education: t ? p.EDUCATION : u.EDUCATION,
|
|
1116
|
+
entertainment: t ? p.ENTERTAINMENT : u.ENTERTAINMENT,
|
|
1117
|
+
feesCharges: t ? p.FEES_CHARGES : u.FEES_CHARGES,
|
|
1118
|
+
financial: t ? p.FINANCIAL : u.FINANCIAL,
|
|
1119
|
+
foodDining: t ? p.FOOD_DINING : u.FOOD_DINING,
|
|
1120
|
+
giftsDonations: t ? p.GIFTS_DONATIONS : u.GIFTS_DONATIONS,
|
|
1121
|
+
healthFitness: t ? p.HEALTH_FITNESS : u.HEALTH_FITNESS,
|
|
1122
|
+
home: t ? p.HOME : u.HOME,
|
|
1123
|
+
income: t ? p.INCOME : u.INCOME,
|
|
1124
|
+
investments: t ? p.INVESTMENTS : u.INVESTMENTS,
|
|
1125
|
+
kids: t ? p.KIDS : u.KIDS,
|
|
1126
|
+
others: t ? p.OTHERS : u.OTHERS,
|
|
1127
|
+
personalCare: t ? p.PERSONAL_CARE : u.PERSONAL_CARE,
|
|
1128
|
+
pets: t ? p.PETS : u.PETS,
|
|
1129
|
+
shopping: t ? p.SHOPPING : u.SHOPPING,
|
|
1130
|
+
taxes: t ? p.TAXES : u.TAXES,
|
|
1131
|
+
transfer: t ? p.TRANSFER : u.TRANSFER,
|
|
1132
|
+
travel: t ? p.TRAVEL : u.TRAVEL,
|
|
1133
|
+
uncategorized: t ? p.UNCATEGORIZED : u.UNCATEGORIZED
|
|
1134
1134
|
},
|
|
1135
1135
|
chart: {
|
|
1136
1136
|
chart1: y.CHART1,
|
|
@@ -1151,7 +1151,7 @@ const Gr = ({
|
|
|
1151
1151
|
}
|
|
1152
1152
|
};
|
|
1153
1153
|
}, z = "Inter, Helvetica, Arial, sans-serif", je = (r) => {
|
|
1154
|
-
const i = r?.fontFamily ? `${r?.fontFamily}, ${z}` : z,
|
|
1154
|
+
const i = r?.fontFamily ? `${r?.fontFamily}, ${z}` : z, o = r?.headerFontFamily ? `${r.headerFontFamily}, ${z}` : i;
|
|
1155
1155
|
return {
|
|
1156
1156
|
fontFamily: i,
|
|
1157
1157
|
fontSize: 15,
|
|
@@ -1175,19 +1175,19 @@ const Gr = ({
|
|
|
1175
1175
|
lineHeight: "16px"
|
|
1176
1176
|
},
|
|
1177
1177
|
h1: {
|
|
1178
|
-
fontFamily:
|
|
1178
|
+
fontFamily: o,
|
|
1179
1179
|
fontWeight: 700,
|
|
1180
1180
|
fontSize: 31,
|
|
1181
1181
|
lineHeight: "40px"
|
|
1182
1182
|
},
|
|
1183
1183
|
h2: {
|
|
1184
|
-
fontFamily:
|
|
1184
|
+
fontFamily: o,
|
|
1185
1185
|
fontWeight: 700,
|
|
1186
1186
|
fontSize: 23,
|
|
1187
1187
|
lineHeight: "32px"
|
|
1188
1188
|
},
|
|
1189
1189
|
h3: {
|
|
1190
|
-
fontFamily:
|
|
1190
|
+
fontFamily: o,
|
|
1191
1191
|
fontWeight: 700,
|
|
1192
1192
|
fontSize: 18,
|
|
1193
1193
|
lineHeight: "24px"
|
|
@@ -1213,7 +1213,7 @@ Ne.setLicenseKey(
|
|
|
1213
1213
|
"702b0c04dc7df078768d2d45cd3a98c6Tz0xMjEzMDYsRT0xNzkzNzUwMzk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
|
|
1214
1214
|
);
|
|
1215
1215
|
const Kr = (r, i) => {
|
|
1216
|
-
const
|
|
1216
|
+
const o = Xe(r, i?.paletteOptions), s = je(i?.typographyOptions), l = [...G().shadows];
|
|
1217
1217
|
return l[1] = "0px 2px 8px 0 rgba(0, 0, 0, 0.12)", l[8] = "0px 6px 12px 0 rgba(0, 0, 0, 0.16), 0px 3px 8px 0 rgba(0, 0, 0, 0.06)", l[16] = "0px 12px 20px 0 rgba(0, 0, 0, 0.22)", G({
|
|
1218
1218
|
breakpoints: i?.breakpoints || {
|
|
1219
1219
|
values: {
|
|
@@ -1228,7 +1228,7 @@ const Kr = (r, i) => {
|
|
|
1228
1228
|
cssVariables: {
|
|
1229
1229
|
colorSchemeSelector: "class"
|
|
1230
1230
|
},
|
|
1231
|
-
palette:
|
|
1231
|
+
palette: o,
|
|
1232
1232
|
shape: {
|
|
1233
1233
|
borderRadius: i?.shapeOptions?.borderRadius || 4
|
|
1234
1234
|
},
|
|
@@ -1252,8 +1252,8 @@ const Kr = (r, i) => {
|
|
|
1252
1252
|
const c = a.severity || "info";
|
|
1253
1253
|
let d = e.palette.mode === S.LIGHT ? e.palette[c]?.[50] : e.palette[c]?.[800];
|
|
1254
1254
|
if (a.variant === "filled") {
|
|
1255
|
-
const
|
|
1256
|
-
d = e.palette[c]?.[
|
|
1255
|
+
const t = c === "warning";
|
|
1256
|
+
d = e.palette[c]?.[t ? 400 : 600];
|
|
1257
1257
|
}
|
|
1258
1258
|
return {
|
|
1259
1259
|
backgroundColor: d,
|
|
@@ -1338,7 +1338,7 @@ const Kr = (r, i) => {
|
|
|
1338
1338
|
styleOverrides: {
|
|
1339
1339
|
root: {
|
|
1340
1340
|
"&.Mui-focusVisible": {
|
|
1341
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1341
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`
|
|
1342
1342
|
}
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
@@ -1350,12 +1350,12 @@ const Kr = (r, i) => {
|
|
|
1350
1350
|
},
|
|
1351
1351
|
styleOverrides: {
|
|
1352
1352
|
root: ({ theme: e, ownerState: a }) => {
|
|
1353
|
-
const c = !a.color || a.color === "default" ? "primary" : a.color, d = a.size === "small",
|
|
1353
|
+
const c = !a.color || a.color === "default" ? "primary" : a.color, d = a.size === "small", t = d ? e.typography.caption : e.typography.body2;
|
|
1354
1354
|
return {
|
|
1355
1355
|
borderRadius: e.shape.borderRadius,
|
|
1356
1356
|
color: e.palette[c].main,
|
|
1357
|
-
fontSize:
|
|
1358
|
-
lineHeight:
|
|
1357
|
+
fontSize: t.fontSize,
|
|
1358
|
+
lineHeight: t.lineHeight,
|
|
1359
1359
|
"&.Mui-focusVisible": {
|
|
1360
1360
|
outline: `2px solid ${e.palette.info.main}`,
|
|
1361
1361
|
outlineOffset: "2px"
|
|
@@ -1526,7 +1526,15 @@ const Kr = (r, i) => {
|
|
|
1526
1526
|
MuiDivider: {
|
|
1527
1527
|
defaultProps: {
|
|
1528
1528
|
"aria-hidden": !0
|
|
1529
|
-
}
|
|
1529
|
+
},
|
|
1530
|
+
variants: [
|
|
1531
|
+
{
|
|
1532
|
+
props: { variant: "partialInset" },
|
|
1533
|
+
style: {
|
|
1534
|
+
marginLeft: "24px"
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
]
|
|
1530
1538
|
},
|
|
1531
1539
|
MuiDrawer: {
|
|
1532
1540
|
styleOverrides: {
|
|
@@ -1579,7 +1587,7 @@ const Kr = (r, i) => {
|
|
|
1579
1587
|
MuiFormLabel: {
|
|
1580
1588
|
styleOverrides: {
|
|
1581
1589
|
asterisk: {
|
|
1582
|
-
color:
|
|
1590
|
+
color: o.error.main
|
|
1583
1591
|
}
|
|
1584
1592
|
}
|
|
1585
1593
|
},
|
|
@@ -1627,7 +1635,7 @@ const Kr = (r, i) => {
|
|
|
1627
1635
|
borderRadius: 4
|
|
1628
1636
|
},
|
|
1629
1637
|
colorPrimary: {
|
|
1630
|
-
backgroundColor:
|
|
1638
|
+
backgroundColor: o.grey[300]
|
|
1631
1639
|
}
|
|
1632
1640
|
}
|
|
1633
1641
|
},
|
|
@@ -1679,7 +1687,8 @@ const Kr = (r, i) => {
|
|
|
1679
1687
|
...!e.disablePadding && {
|
|
1680
1688
|
paddingTop: 12,
|
|
1681
1689
|
paddingBottom: 12,
|
|
1682
|
-
paddingLeft: 24
|
|
1690
|
+
paddingLeft: 24,
|
|
1691
|
+
paddingRight: 24
|
|
1683
1692
|
}
|
|
1684
1693
|
})
|
|
1685
1694
|
}
|
|
@@ -1726,7 +1735,7 @@ const Kr = (r, i) => {
|
|
|
1726
1735
|
},
|
|
1727
1736
|
secondary: {
|
|
1728
1737
|
fontSize: 11,
|
|
1729
|
-
color:
|
|
1738
|
+
color: o.text.secondary
|
|
1730
1739
|
}
|
|
1731
1740
|
}
|
|
1732
1741
|
},
|
|
@@ -1747,7 +1756,7 @@ const Kr = (r, i) => {
|
|
|
1747
1756
|
lineHeight: "inherit",
|
|
1748
1757
|
top: -1,
|
|
1749
1758
|
// This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
|
|
1750
|
-
backgroundColor:
|
|
1759
|
+
backgroundColor: o.background.default
|
|
1751
1760
|
}
|
|
1752
1761
|
}
|
|
1753
1762
|
},
|
|
@@ -1924,7 +1933,7 @@ const Kr = (r, i) => {
|
|
|
1924
1933
|
fontWeight: 600,
|
|
1925
1934
|
"&.Mui-focusVisible": {
|
|
1926
1935
|
outline: "none",
|
|
1927
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1936
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`,
|
|
1928
1937
|
borderRadius: 4
|
|
1929
1938
|
}
|
|
1930
1939
|
}
|
|
@@ -1935,7 +1944,7 @@ const Kr = (r, i) => {
|
|
|
1935
1944
|
root: {
|
|
1936
1945
|
borderBottomStyle: "solid",
|
|
1937
1946
|
borderBottomWidth: 1,
|
|
1938
|
-
borderColor:
|
|
1947
|
+
borderColor: o.divider,
|
|
1939
1948
|
marginBottom: 8
|
|
1940
1949
|
}
|
|
1941
1950
|
}
|
|
@@ -1951,7 +1960,7 @@ const Kr = (r, i) => {
|
|
|
1951
1960
|
},
|
|
1952
1961
|
styleOverrides: {
|
|
1953
1962
|
root: {
|
|
1954
|
-
backgroundColor:
|
|
1963
|
+
backgroundColor: o.background.paper
|
|
1955
1964
|
}
|
|
1956
1965
|
}
|
|
1957
1966
|
},
|
|
@@ -1966,13 +1975,13 @@ const Kr = (r, i) => {
|
|
|
1966
1975
|
lineHeight: "16px",
|
|
1967
1976
|
textTransform: "none",
|
|
1968
1977
|
"&:focus-visible": {
|
|
1969
|
-
outline: `2px solid ${
|
|
1978
|
+
outline: `2px solid ${o.info.main}`,
|
|
1970
1979
|
outlineOffset: "2px"
|
|
1971
1980
|
},
|
|
1972
1981
|
"&:hover": {
|
|
1973
1982
|
backgroundColor: m(
|
|
1974
1983
|
e.palette.primary.main,
|
|
1975
|
-
|
|
1984
|
+
o.mode === S.LIGHT ? 0.1 : 0.2
|
|
1976
1985
|
),
|
|
1977
1986
|
borderColor: e.palette.primary.main
|
|
1978
1987
|
},
|
|
@@ -1996,19 +2005,19 @@ const Kr = (r, i) => {
|
|
|
1996
2005
|
props: { color: "error" },
|
|
1997
2006
|
style: {
|
|
1998
2007
|
"&:hover": {
|
|
1999
|
-
backgroundColor: m(
|
|
2000
|
-
borderColor:
|
|
2008
|
+
backgroundColor: m(o.error.main, o.mode === S.LIGHT ? 0.1 : 0.2),
|
|
2009
|
+
borderColor: o.error.main
|
|
2001
2010
|
},
|
|
2002
2011
|
"&.Mui-selected": {
|
|
2003
|
-
borderColor:
|
|
2012
|
+
borderColor: o.error.main,
|
|
2004
2013
|
"&:hover": {
|
|
2005
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2014
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.error.main}`
|
|
2006
2015
|
}
|
|
2007
2016
|
},
|
|
2008
2017
|
"& .MuiTouchRipple-root": {
|
|
2009
2018
|
"& .MuiTouchRipple-ripple": {
|
|
2010
2019
|
"& .MuiTouchRipple-child": {
|
|
2011
|
-
backgroundColor:
|
|
2020
|
+
backgroundColor: o.error.main
|
|
2012
2021
|
}
|
|
2013
2022
|
}
|
|
2014
2023
|
}
|
|
@@ -2019,21 +2028,21 @@ const Kr = (r, i) => {
|
|
|
2019
2028
|
style: {
|
|
2020
2029
|
"&:hover": {
|
|
2021
2030
|
backgroundColor: m(
|
|
2022
|
-
|
|
2023
|
-
|
|
2031
|
+
o.secondary.main,
|
|
2032
|
+
o.mode === S.LIGHT ? 0.1 : 0.2
|
|
2024
2033
|
),
|
|
2025
|
-
borderColor:
|
|
2034
|
+
borderColor: o.secondary.main
|
|
2026
2035
|
},
|
|
2027
2036
|
"&.Mui-selected": {
|
|
2028
|
-
borderColor:
|
|
2037
|
+
borderColor: o.secondary.main,
|
|
2029
2038
|
"&:hover": {
|
|
2030
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2039
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.secondary.main}`
|
|
2031
2040
|
}
|
|
2032
2041
|
},
|
|
2033
2042
|
"& .MuiTouchRipple-root": {
|
|
2034
2043
|
"& .MuiTouchRipple-ripple": {
|
|
2035
2044
|
"& .MuiTouchRipple-child": {
|
|
2036
|
-
backgroundColor:
|
|
2045
|
+
backgroundColor: o.secondary.main
|
|
2037
2046
|
}
|
|
2038
2047
|
}
|
|
2039
2048
|
}
|
|
@@ -2077,15 +2086,15 @@ export {
|
|
|
2077
2086
|
z as INTER,
|
|
2078
2087
|
T as Icon,
|
|
2079
2088
|
zr as InstitutionLogo,
|
|
2080
|
-
|
|
2089
|
+
Fr as MXLogoCopyrightIcon,
|
|
2081
2090
|
Lr as MXLogoFilledIcon,
|
|
2082
|
-
|
|
2091
|
+
vr as MXLogoIcon,
|
|
2083
2092
|
kr as MXLogoOutlineIcon,
|
|
2084
2093
|
$r as MerchantLogo,
|
|
2085
2094
|
Pr as P,
|
|
2086
2095
|
Vr as SelectionBox,
|
|
2087
2096
|
Wr as Tag,
|
|
2088
|
-
|
|
2097
|
+
v as Text,
|
|
2089
2098
|
Ur as TextField,
|
|
2090
2099
|
Gr as Toast,
|
|
2091
2100
|
Kr as createMXTheme
|