@mxenabled/mxui 2.9.2 → 2.9.3
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 +174 -173
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -34,7 +34,7 @@ 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 }), Fr = ({
|
|
53
53
|
color: r = "currentColor",
|
|
54
54
|
...i
|
|
55
55
|
}) => /* @__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,16 +512,16 @@ 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
|
}
|
|
@@ -531,7 +531,7 @@ const oe = {
|
|
|
531
531
|
), F = ({
|
|
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(F, { className: `mx-mxui-text h1 ${r}`, component: "h1", variant: "h1", ...o, children: i }), Dr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(F, { className: `mx-mxui-text h2 ${r}`, component: "h2", variant: "h2", ...o, children: i }), wr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(F, { className: `mx-mxui-text h3 ${r}`, component: "h3", variant: "h3", ...o, children: i }), Pr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(F, { 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(), v = d && /* @__PURE__ */ n(ee, { "aria-label":
|
|
722
|
+
const x = O(), v = 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
|
{
|
|
@@ -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
|
...v
|
|
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
|
Fe,
|
|
823
823
|
{
|
|
824
|
-
checked:
|
|
824
|
+
checked: o,
|
|
825
825
|
control: r === B ? /* @__PURE__ */ n(
|
|
826
826
|
B,
|
|
827
827
|
{
|
|
@@ -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"
|
|
@@ -1579,7 +1579,7 @@ const Kr = (r, i) => {
|
|
|
1579
1579
|
MuiFormLabel: {
|
|
1580
1580
|
styleOverrides: {
|
|
1581
1581
|
asterisk: {
|
|
1582
|
-
color:
|
|
1582
|
+
color: o.error.main
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
1585
|
},
|
|
@@ -1627,7 +1627,7 @@ const Kr = (r, i) => {
|
|
|
1627
1627
|
borderRadius: 4
|
|
1628
1628
|
},
|
|
1629
1629
|
colorPrimary: {
|
|
1630
|
-
backgroundColor:
|
|
1630
|
+
backgroundColor: o.grey[300]
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
1633
|
},
|
|
@@ -1679,7 +1679,8 @@ const Kr = (r, i) => {
|
|
|
1679
1679
|
...!e.disablePadding && {
|
|
1680
1680
|
paddingTop: 12,
|
|
1681
1681
|
paddingBottom: 12,
|
|
1682
|
-
paddingLeft: 24
|
|
1682
|
+
paddingLeft: 24,
|
|
1683
|
+
paddingRight: 24
|
|
1683
1684
|
}
|
|
1684
1685
|
})
|
|
1685
1686
|
}
|
|
@@ -1726,7 +1727,7 @@ const Kr = (r, i) => {
|
|
|
1726
1727
|
},
|
|
1727
1728
|
secondary: {
|
|
1728
1729
|
fontSize: 11,
|
|
1729
|
-
color:
|
|
1730
|
+
color: o.text.secondary
|
|
1730
1731
|
}
|
|
1731
1732
|
}
|
|
1732
1733
|
},
|
|
@@ -1747,7 +1748,7 @@ const Kr = (r, i) => {
|
|
|
1747
1748
|
lineHeight: "inherit",
|
|
1748
1749
|
top: -1,
|
|
1749
1750
|
// This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
|
|
1750
|
-
backgroundColor:
|
|
1751
|
+
backgroundColor: o.background.default
|
|
1751
1752
|
}
|
|
1752
1753
|
}
|
|
1753
1754
|
},
|
|
@@ -1924,7 +1925,7 @@ const Kr = (r, i) => {
|
|
|
1924
1925
|
fontWeight: 600,
|
|
1925
1926
|
"&.Mui-focusVisible": {
|
|
1926
1927
|
outline: "none",
|
|
1927
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1928
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`,
|
|
1928
1929
|
borderRadius: 4
|
|
1929
1930
|
}
|
|
1930
1931
|
}
|
|
@@ -1935,7 +1936,7 @@ const Kr = (r, i) => {
|
|
|
1935
1936
|
root: {
|
|
1936
1937
|
borderBottomStyle: "solid",
|
|
1937
1938
|
borderBottomWidth: 1,
|
|
1938
|
-
borderColor:
|
|
1939
|
+
borderColor: o.divider,
|
|
1939
1940
|
marginBottom: 8
|
|
1940
1941
|
}
|
|
1941
1942
|
}
|
|
@@ -1951,7 +1952,7 @@ const Kr = (r, i) => {
|
|
|
1951
1952
|
},
|
|
1952
1953
|
styleOverrides: {
|
|
1953
1954
|
root: {
|
|
1954
|
-
backgroundColor:
|
|
1955
|
+
backgroundColor: o.background.paper
|
|
1955
1956
|
}
|
|
1956
1957
|
}
|
|
1957
1958
|
},
|
|
@@ -1966,13 +1967,13 @@ const Kr = (r, i) => {
|
|
|
1966
1967
|
lineHeight: "16px",
|
|
1967
1968
|
textTransform: "none",
|
|
1968
1969
|
"&:focus-visible": {
|
|
1969
|
-
outline: `2px solid ${
|
|
1970
|
+
outline: `2px solid ${o.info.main}`,
|
|
1970
1971
|
outlineOffset: "2px"
|
|
1971
1972
|
},
|
|
1972
1973
|
"&:hover": {
|
|
1973
1974
|
backgroundColor: m(
|
|
1974
1975
|
e.palette.primary.main,
|
|
1975
|
-
|
|
1976
|
+
o.mode === S.LIGHT ? 0.1 : 0.2
|
|
1976
1977
|
),
|
|
1977
1978
|
borderColor: e.palette.primary.main
|
|
1978
1979
|
},
|
|
@@ -1996,19 +1997,19 @@ const Kr = (r, i) => {
|
|
|
1996
1997
|
props: { color: "error" },
|
|
1997
1998
|
style: {
|
|
1998
1999
|
"&:hover": {
|
|
1999
|
-
backgroundColor: m(
|
|
2000
|
-
borderColor:
|
|
2000
|
+
backgroundColor: m(o.error.main, o.mode === S.LIGHT ? 0.1 : 0.2),
|
|
2001
|
+
borderColor: o.error.main
|
|
2001
2002
|
},
|
|
2002
2003
|
"&.Mui-selected": {
|
|
2003
|
-
borderColor:
|
|
2004
|
+
borderColor: o.error.main,
|
|
2004
2005
|
"&:hover": {
|
|
2005
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2006
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.error.main}`
|
|
2006
2007
|
}
|
|
2007
2008
|
},
|
|
2008
2009
|
"& .MuiTouchRipple-root": {
|
|
2009
2010
|
"& .MuiTouchRipple-ripple": {
|
|
2010
2011
|
"& .MuiTouchRipple-child": {
|
|
2011
|
-
backgroundColor:
|
|
2012
|
+
backgroundColor: o.error.main
|
|
2012
2013
|
}
|
|
2013
2014
|
}
|
|
2014
2015
|
}
|
|
@@ -2019,21 +2020,21 @@ const Kr = (r, i) => {
|
|
|
2019
2020
|
style: {
|
|
2020
2021
|
"&:hover": {
|
|
2021
2022
|
backgroundColor: m(
|
|
2022
|
-
|
|
2023
|
-
|
|
2023
|
+
o.secondary.main,
|
|
2024
|
+
o.mode === S.LIGHT ? 0.1 : 0.2
|
|
2024
2025
|
),
|
|
2025
|
-
borderColor:
|
|
2026
|
+
borderColor: o.secondary.main
|
|
2026
2027
|
},
|
|
2027
2028
|
"&.Mui-selected": {
|
|
2028
|
-
borderColor:
|
|
2029
|
+
borderColor: o.secondary.main,
|
|
2029
2030
|
"&:hover": {
|
|
2030
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2031
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.secondary.main}`
|
|
2031
2032
|
}
|
|
2032
2033
|
},
|
|
2033
2034
|
"& .MuiTouchRipple-root": {
|
|
2034
2035
|
"& .MuiTouchRipple-ripple": {
|
|
2035
2036
|
"& .MuiTouchRipple-child": {
|
|
2036
|
-
backgroundColor:
|
|
2037
|
+
backgroundColor: o.secondary.main
|
|
2037
2038
|
}
|
|
2038
2039
|
}
|
|
2039
2040
|
}
|