@mxenabled/mxui 2.7.1 → 2.8.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 +178 -184
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -16,8 +16,8 @@ import { usePickerContext as Z, useIsValidValue as Q, LocalizationProvider as fe
|
|
|
16
16
|
import { AdapterDateFns as xe } from "@mui/x-date-pickers-pro/AdapterDateFns";
|
|
17
17
|
import { MultiInputDateRangeField as Te } from "@mui/x-date-pickers-pro/MultiInputDateRangeField";
|
|
18
18
|
import k from "@mui/material/Box";
|
|
19
|
-
import
|
|
20
|
-
import
|
|
19
|
+
import Re from "@mui/material/ToggleButton";
|
|
20
|
+
import Me from "@mui/material/ToggleButtonGroup";
|
|
21
21
|
import Ce from "@mui/material/MenuItem";
|
|
22
22
|
import J from "@mui/material/TextField";
|
|
23
23
|
import { usePickerLayout as ye, PickersLayoutRoot as Se, PickersLayoutContentWrapper as Ae, pickersLayoutClasses as w } from "@mui/x-date-pickers/PickersLayout";
|
|
@@ -34,7 +34,7 @@ import { LicenseInfo as Ne } from "@mui/x-license";
|
|
|
34
34
|
const H = ({
|
|
35
35
|
children: e,
|
|
36
36
|
height: i,
|
|
37
|
-
size:
|
|
37
|
+
size: t = 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 || t,
|
|
47
47
|
viewBox: s,
|
|
48
|
-
width: l ||
|
|
48
|
+
width: l || t,
|
|
49
49
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50
50
|
children: e
|
|
51
51
|
}
|
|
52
|
-
), T = ({ color: e, fill: i = !1, name:
|
|
52
|
+
), T = ({ color: e, fill: i = !1, name: t, size: s = 20, sx: l, ...r }) => /* @__PURE__ */ n(se, { color: e, fill: i, name: t, size: s, sx: l, ...r }), Fr = ({
|
|
53
53
|
color: e = "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__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(g || {}), He = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(He || {});
|
|
146
|
-
const
|
|
146
|
+
const oe = {
|
|
147
147
|
guid: g.Uncategorized,
|
|
148
148
|
colorName: "uncategorized",
|
|
149
149
|
icon: "category"
|
|
@@ -248,16 +248,16 @@ const te = {
|
|
|
248
248
|
colorName: "travel",
|
|
249
249
|
icon: "airplane_ticket"
|
|
250
250
|
},
|
|
251
|
-
|
|
251
|
+
oe
|
|
252
252
|
], we = 0.625, Pe = ({
|
|
253
253
|
categoryGuid: e,
|
|
254
254
|
icon_ratio: i = we,
|
|
255
|
-
size:
|
|
255
|
+
size: t = 32,
|
|
256
256
|
sx: s = {},
|
|
257
257
|
variant: l = "filled"
|
|
258
258
|
}) => {
|
|
259
259
|
const r = O(), a = N.useMemo(
|
|
260
|
-
() => De.find((m) => m.guid === e) ??
|
|
260
|
+
() => De.find((m) => m.guid === e) ?? oe,
|
|
261
261
|
[e]
|
|
262
262
|
), c = r.palette.categories[a.colorName];
|
|
263
263
|
return /* @__PURE__ */ n(
|
|
@@ -273,15 +273,15 @@ const te = {
|
|
|
273
273
|
const m = l === "filled" ? r.palette.common.white : c;
|
|
274
274
|
return l === "basic" ? r.palette.text.primary : m;
|
|
275
275
|
},
|
|
276
|
-
height:
|
|
276
|
+
height: t,
|
|
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: t,
|
|
280
|
+
children: /* @__PURE__ */ n(T, { name: a.icon, size: t * i })
|
|
281
281
|
}
|
|
282
282
|
);
|
|
283
283
|
}, Be = ({ items: e, selected: i }) => {
|
|
284
|
-
const
|
|
284
|
+
const t = O(), { setValue: s } = Z(), l = Q(), r = e?.map((a) => {
|
|
285
285
|
const c = a.getValue({ isValid: l });
|
|
286
286
|
return {
|
|
287
287
|
label: a.label,
|
|
@@ -291,8 +291,8 @@ const te = {
|
|
|
291
291
|
disabled: !l(c)
|
|
292
292
|
};
|
|
293
293
|
});
|
|
294
|
-
return /* @__PURE__ */ n(k, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ n(
|
|
295
|
-
|
|
294
|
+
return /* @__PURE__ */ n(k, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ n(Me, { color: "primary", orientation: "vertical", value: i, children: r?.map((a) => /* @__PURE__ */ n(
|
|
295
|
+
Re,
|
|
296
296
|
{
|
|
297
297
|
onClick: a.onClick,
|
|
298
298
|
sx: {
|
|
@@ -305,11 +305,11 @@ const te = {
|
|
|
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: t.palette.action.hover,
|
|
309
|
+
borderTop: `1px solid ${t.palette.secondary.light}`
|
|
310
310
|
},
|
|
311
311
|
"&.Mui-selected": {
|
|
312
|
-
border: `2px solid ${
|
|
312
|
+
border: `2px solid ${t.palette.primary.main} !important`,
|
|
313
313
|
marginTop: "-2px !important",
|
|
314
314
|
color: "primary"
|
|
315
315
|
}
|
|
@@ -322,7 +322,7 @@ const te = {
|
|
|
322
322
|
}, _e = ({
|
|
323
323
|
items: e,
|
|
324
324
|
selected: i,
|
|
325
|
-
selectLabel:
|
|
325
|
+
selectLabel: t
|
|
326
326
|
}) => {
|
|
327
327
|
const { setValue: s } = Z(), l = Q(), r = e?.map((a) => {
|
|
328
328
|
const c = a.getValue({ isValid: l });
|
|
@@ -339,7 +339,7 @@ const te = {
|
|
|
339
339
|
{
|
|
340
340
|
defaultValue: i,
|
|
341
341
|
id: "select",
|
|
342
|
-
label:
|
|
342
|
+
label: t,
|
|
343
343
|
select: !0,
|
|
344
344
|
slotProps: { inputLabel: { shrink: !0 }, select: { IconComponent: ce } },
|
|
345
345
|
sx: { width: "100%" },
|
|
@@ -349,7 +349,7 @@ const te = {
|
|
|
349
349
|
}
|
|
350
350
|
) });
|
|
351
351
|
}, ze = (e) => {
|
|
352
|
-
const { toolbar: i, content:
|
|
352
|
+
const { toolbar: i, content: t, shortcuts: s, ownerState: l } = ye(e);
|
|
353
353
|
return /* @__PURE__ */ b(
|
|
354
354
|
Se,
|
|
355
355
|
{
|
|
@@ -378,7 +378,7 @@ const te = {
|
|
|
378
378
|
{
|
|
379
379
|
className: w.contentWrapper,
|
|
380
380
|
ownerState: l,
|
|
381
|
-
children:
|
|
381
|
+
children: t
|
|
382
382
|
}
|
|
383
383
|
)
|
|
384
384
|
]
|
|
@@ -387,16 +387,16 @@ const te = {
|
|
|
387
387
|
}, Nr = ({
|
|
388
388
|
copy: e,
|
|
389
389
|
dateRange: i,
|
|
390
|
-
onRangeChanged:
|
|
390
|
+
onRangeChanged: t,
|
|
391
391
|
selectedShortcut: s = e.dateRangeThisMonth,
|
|
392
392
|
sx: l = {}
|
|
393
393
|
}) => {
|
|
394
394
|
const r = O(), a = me(r.breakpoints.down("sm")), c = N.useMemo(() => {
|
|
395
|
-
const
|
|
395
|
+
const o = ue(), m = ge(o, 1), x = he(o, 1);
|
|
396
396
|
return [
|
|
397
397
|
{
|
|
398
398
|
label: e.dateRangeThisMonth,
|
|
399
|
-
getValue: () => [W(
|
|
399
|
+
getValue: () => [W(o), V(o)]
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
402
|
label: e.dateRangeLastMonth,
|
|
@@ -404,15 +404,15 @@ const te = {
|
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
406
|
label: e.dateRangeLast30Days,
|
|
407
|
-
getValue: () => [Y(
|
|
407
|
+
getValue: () => [Y(o, 30), o]
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
410
|
label: e.dateRangeLast90Days,
|
|
411
|
-
getValue: () => [Y(
|
|
411
|
+
getValue: () => [Y(o, 90), o]
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
414
|
label: e.dateRangeYTD,
|
|
415
|
-
getValue: () => [K(
|
|
415
|
+
getValue: () => [K(o), o]
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
418
|
label: e.dateRangeLastYear,
|
|
@@ -420,12 +420,12 @@ const te = {
|
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
422
|
label: e.dateRangeCustom,
|
|
423
|
-
getValue: () => [
|
|
423
|
+
getValue: () => [o, o]
|
|
424
424
|
}
|
|
425
425
|
];
|
|
426
|
-
}, [e]), d = (
|
|
426
|
+
}, [e]), d = (o, m) => {
|
|
427
427
|
const x = m.shortcut;
|
|
428
|
-
|
|
428
|
+
t?.(o, x ? x.label : e.dateRangeCustom);
|
|
429
429
|
};
|
|
430
430
|
return /* @__PURE__ */ n(A, { gap: a ? 0 : 16, m: a ? 0 : 8, children: /* @__PURE__ */ n(fe, { dateAdapter: xe, children: /* @__PURE__ */ n(
|
|
431
431
|
be,
|
|
@@ -458,22 +458,22 @@ const te = {
|
|
|
458
458
|
slots: {
|
|
459
459
|
...a && { layout: ze },
|
|
460
460
|
leftArrowIcon: () => /* @__PURE__ */ n(T, { name: "chevron_left", size: 28 }),
|
|
461
|
-
shortcuts: (
|
|
461
|
+
shortcuts: (o) => a ? /* @__PURE__ */ n(
|
|
462
462
|
_e,
|
|
463
463
|
{
|
|
464
464
|
selectLabel: e.dateRangeSelectARange,
|
|
465
465
|
selected: s,
|
|
466
|
-
...
|
|
466
|
+
...o
|
|
467
467
|
}
|
|
468
|
-
) : /* @__PURE__ */ n(Be, { selected: s, ...
|
|
468
|
+
) : /* @__PURE__ */ n(Be, { selected: s, ...o }),
|
|
469
469
|
rightArrowIcon: () => /* @__PURE__ */ n(T, { name: "chevron_right", size: 28 }),
|
|
470
470
|
...a && {
|
|
471
|
-
toolbar: (
|
|
471
|
+
toolbar: (o) => /* @__PURE__ */ n(
|
|
472
472
|
Te,
|
|
473
473
|
{
|
|
474
474
|
dateSeparator: "",
|
|
475
475
|
format: "MM/dd/yyyy",
|
|
476
|
-
...
|
|
476
|
+
...o,
|
|
477
477
|
slotProps: {
|
|
478
478
|
textField: ({ position: m }) => ({
|
|
479
479
|
label: m === "start" ? e.dateRangeFrom : e.dateRangeTo
|
|
@@ -488,12 +488,12 @@ const te = {
|
|
|
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, t) {
|
|
492
|
+
return /* @__PURE__ */ n(q, { direction: "up", ref: t, ...i });
|
|
493
493
|
}), $e = ({
|
|
494
494
|
hasSecondaryAction: e = !0,
|
|
495
495
|
isPrimaryDisabled: i,
|
|
496
|
-
onPrimaryAction:
|
|
496
|
+
onPrimaryAction: t,
|
|
497
497
|
onSecondaryAction: s,
|
|
498
498
|
primaryColor: l = "primary",
|
|
499
499
|
primaryText: r = "Save",
|
|
@@ -512,16 +512,16 @@ const te = {
|
|
|
512
512
|
{
|
|
513
513
|
color: a,
|
|
514
514
|
onClick: s,
|
|
515
|
-
variant:
|
|
515
|
+
variant: t ? "outlined" : "contained",
|
|
516
516
|
children: c
|
|
517
517
|
}
|
|
518
518
|
),
|
|
519
|
-
|
|
519
|
+
t && /* @__PURE__ */ n(
|
|
520
520
|
$,
|
|
521
521
|
{
|
|
522
522
|
color: l,
|
|
523
523
|
disabled: i,
|
|
524
|
-
onClick:
|
|
524
|
+
onClick: t,
|
|
525
525
|
variant: "contained",
|
|
526
526
|
children: r
|
|
527
527
|
}
|
|
@@ -531,7 +531,7 @@ const te = {
|
|
|
531
531
|
), F = ({
|
|
532
532
|
bold: e,
|
|
533
533
|
className: i = "",
|
|
534
|
-
children:
|
|
534
|
+
children: t,
|
|
535
535
|
color: s,
|
|
536
536
|
sx: l = {},
|
|
537
537
|
truncate: r,
|
|
@@ -557,9 +557,9 @@ const te = {
|
|
|
557
557
|
...Array.isArray(l) ? l : [l]
|
|
558
558
|
],
|
|
559
559
|
...c,
|
|
560
|
-
children:
|
|
560
|
+
children: t
|
|
561
561
|
}
|
|
562
|
-
), Ue = ({ className: e = "", children: i, ...
|
|
562
|
+
), Ue = ({ className: e = "", children: i, ...t }) => /* @__PURE__ */ n(F, { className: `mx-mxui-text h1 ${e}`, component: "h1", variant: "h1", ...t, children: i }), Dr = ({ className: e = "", children: i, ...t }) => /* @__PURE__ */ n(F, { className: `mx-mxui-text h2 ${e}`, component: "h2", variant: "h2", ...t, children: i }), wr = ({ className: e = "", children: i, ...t }) => /* @__PURE__ */ n(F, { className: `mx-mxui-text h3 ${e}`, component: "h3", variant: "h3", ...t, children: i }), Pr = ({ className: e = "", children: i, ...t }) => /* @__PURE__ */ n(F, { className: `mx-mxui-text p ${e}`, component: "p", variant: "body1", ...t, children: i }), Br = ({ copy: e, onClose: i, truncate: t = !1 }) => /* @__PURE__ */ b(
|
|
563
563
|
A,
|
|
564
564
|
{
|
|
565
565
|
sx: {
|
|
@@ -570,31 +570,31 @@ const te = {
|
|
|
570
570
|
py: 14
|
|
571
571
|
},
|
|
572
572
|
children: [
|
|
573
|
-
/* @__PURE__ */ n(Ue, { truncate:
|
|
573
|
+
/* @__PURE__ */ n(Ue, { truncate: t, variant: "h3", children: e.title }),
|
|
574
574
|
/* @__PURE__ */ n(ee, { "aria-label": e.close_aria, onClick: i, sx: { mr: -12 }, children: /* @__PURE__ */ n(de, {}) })
|
|
575
575
|
]
|
|
576
576
|
}
|
|
577
577
|
), _r = ({
|
|
578
578
|
className: e,
|
|
579
579
|
disableSave: i,
|
|
580
|
-
id:
|
|
580
|
+
id: t,
|
|
581
581
|
isOpen: s,
|
|
582
582
|
onClose: l,
|
|
583
583
|
onSave: r,
|
|
584
584
|
primaryText: a,
|
|
585
585
|
secondaryText: c,
|
|
586
586
|
children: d,
|
|
587
|
-
...
|
|
587
|
+
...o
|
|
588
588
|
}) => /* @__PURE__ */ b(
|
|
589
589
|
Ie,
|
|
590
590
|
{
|
|
591
591
|
anchor: "right",
|
|
592
592
|
className: `mx-kmui-drawer ${e}`,
|
|
593
|
-
id:
|
|
593
|
+
id: t ?? void 0,
|
|
594
594
|
onClose: l,
|
|
595
595
|
open: s,
|
|
596
596
|
variant: "temporary",
|
|
597
|
-
...
|
|
597
|
+
...o,
|
|
598
598
|
children: [
|
|
599
599
|
d,
|
|
600
600
|
r && /* @__PURE__ */ n(
|
|
@@ -609,11 +609,11 @@ const te = {
|
|
|
609
609
|
)
|
|
610
610
|
]
|
|
611
611
|
}
|
|
612
|
-
),
|
|
612
|
+
), te = 32, U = "https://content.moneydesktop.com/storage/MD_Assets", j = `${U}/serenity/default_institution_logo.png`, zr = ({
|
|
613
613
|
alt: e,
|
|
614
614
|
institutionGuid: i,
|
|
615
|
-
logoUrl:
|
|
616
|
-
size: s =
|
|
615
|
+
logoUrl: t,
|
|
616
|
+
size: s = te,
|
|
617
617
|
...l
|
|
618
618
|
}) => /* @__PURE__ */ n(
|
|
619
619
|
"img",
|
|
@@ -624,7 +624,7 @@ const te = {
|
|
|
624
624
|
const a = r.target;
|
|
625
625
|
a.src !== j && (a.src = j);
|
|
626
626
|
},
|
|
627
|
-
src:
|
|
627
|
+
src: t || `${U}/Ipad%20Logos/100x100/${i}_100x100.png`,
|
|
628
628
|
style: {
|
|
629
629
|
borderRadius: 4
|
|
630
630
|
},
|
|
@@ -634,20 +634,20 @@ const te = {
|
|
|
634
634
|
), $r = ({
|
|
635
635
|
alt: e = "",
|
|
636
636
|
categoryGuid: i,
|
|
637
|
-
merchantGuid:
|
|
638
|
-
size: s =
|
|
637
|
+
merchantGuid: t,
|
|
638
|
+
size: s = te,
|
|
639
639
|
...l
|
|
640
640
|
}) => {
|
|
641
641
|
const [r, a] = N.useState(!1), c = O();
|
|
642
642
|
return /* @__PURE__ */ b(k, { display: "inline-block", position: "relative", ...l, children: [
|
|
643
|
-
|
|
643
|
+
t && !r && /* @__PURE__ */ n(
|
|
644
644
|
"img",
|
|
645
645
|
{
|
|
646
646
|
alt: e,
|
|
647
647
|
"aria-hidden": !e,
|
|
648
648
|
height: s,
|
|
649
649
|
onError: () => a(!0),
|
|
650
|
-
src: `${U}/merchant_logos/${
|
|
650
|
+
src: `${U}/merchant_logos/${t}.png`,
|
|
651
651
|
style: {
|
|
652
652
|
backgroundColor: c.palette.common.white,
|
|
653
653
|
borderRadius: 4,
|
|
@@ -662,7 +662,7 @@ const te = {
|
|
|
662
662
|
}, Ur = ({
|
|
663
663
|
disabled: e = !1,
|
|
664
664
|
label: i = "",
|
|
665
|
-
shrink:
|
|
665
|
+
shrink: t = !0,
|
|
666
666
|
truncate: s = !1,
|
|
667
667
|
variant: l = "outlined",
|
|
668
668
|
...r
|
|
@@ -673,7 +673,7 @@ const te = {
|
|
|
673
673
|
label: i,
|
|
674
674
|
slotProps: {
|
|
675
675
|
inputLabel: {
|
|
676
|
-
shrink:
|
|
676
|
+
shrink: t,
|
|
677
677
|
...s && {
|
|
678
678
|
sx: {
|
|
679
679
|
maxWidth: "100%",
|
|
@@ -694,17 +694,17 @@ function Ge(e) {
|
|
|
694
694
|
const Gr = ({
|
|
695
695
|
open: e = !0,
|
|
696
696
|
handleClose: i,
|
|
697
|
-
closeAriaLabel:
|
|
697
|
+
closeAriaLabel: t,
|
|
698
698
|
message: s,
|
|
699
699
|
autoHideDuration: l = 3e3,
|
|
700
700
|
severity: r = "success",
|
|
701
701
|
snackbarSx: a,
|
|
702
702
|
showAction: c = !1,
|
|
703
703
|
showClose: d = !1,
|
|
704
|
-
actionText:
|
|
704
|
+
actionText: o = "Undo",
|
|
705
705
|
onActionClick: m
|
|
706
706
|
}) => {
|
|
707
|
-
const x = O(), v = d && /* @__PURE__ */ n(ee, { "aria-label":
|
|
707
|
+
const x = O(), v = d && /* @__PURE__ */ n(ee, { "aria-label": t, color: "inherit", onClick: i, size: "small", children: /* @__PURE__ */ n(T, { fill: !0, name: "close" }) }), h = `${r}.main`;
|
|
708
708
|
return /* @__PURE__ */ n(
|
|
709
709
|
Oe,
|
|
710
710
|
{
|
|
@@ -777,7 +777,7 @@ const Gr = ({
|
|
|
777
777
|
minWidth: "auto",
|
|
778
778
|
justifyContent: "flex-start"
|
|
779
779
|
},
|
|
780
|
-
children:
|
|
780
|
+
children: o
|
|
781
781
|
}
|
|
782
782
|
)
|
|
783
783
|
]
|
|
@@ -790,23 +790,23 @@ const Gr = ({
|
|
|
790
790
|
}, Vr = ({
|
|
791
791
|
component: e = B,
|
|
792
792
|
variant: i = "outlined",
|
|
793
|
-
selected:
|
|
793
|
+
selected: t,
|
|
794
794
|
onChange: s,
|
|
795
795
|
headline: l,
|
|
796
796
|
message: r,
|
|
797
797
|
name: a,
|
|
798
798
|
value: c,
|
|
799
799
|
disabled: d = !1,
|
|
800
|
-
error:
|
|
800
|
+
error: o = !1,
|
|
801
801
|
icon: m = !1,
|
|
802
802
|
sx: x = {},
|
|
803
803
|
...v
|
|
804
804
|
}) => {
|
|
805
|
-
const h = O(), ie = () => h.palette.background.paper, D = () =>
|
|
805
|
+
const h = O(), ie = () => h.palette.background.paper, D = () => o ? `inset 0px 0px 0px 2px ${h.palette.error.main}` : d ? t ? `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" ? t ? `inset 0px 0px 0px 2px ${f(h.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${f(h.palette.common.black, 0.23)}` : t ? `inset 0px 0px 0px 2px ${f(h.palette.primary.main, 0.5)}` : h.shadows[1], ae = () => d || o ? h.palette.background.paper : f(h.palette.primary.main, 0.1), ne = () => d || o ? D() : i === "outlined" ? t ? `inset 0px 0px 0px 2px ${f(h.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${f(h.palette.primary.main, 0.5)}` : D(), le = () => d || o ? h.palette.background.paper : f(h.palette.primary.main, 0.3);
|
|
806
806
|
return /* @__PURE__ */ n(
|
|
807
807
|
Fe,
|
|
808
808
|
{
|
|
809
|
-
checked:
|
|
809
|
+
checked: t,
|
|
810
810
|
control: e === B ? /* @__PURE__ */ n(
|
|
811
811
|
B,
|
|
812
812
|
{
|
|
@@ -882,7 +882,7 @@ const Gr = ({
|
|
|
882
882
|
);
|
|
883
883
|
}, S = {
|
|
884
884
|
LIGHT: "light"
|
|
885
|
-
}, Wr = ({ color: e = "neutral", icon: i, label:
|
|
885
|
+
}, Wr = ({ color: e = "neutral", icon: i, label: t, size: s = "small", sx: l, ...r }) => /* @__PURE__ */ b(
|
|
886
886
|
k,
|
|
887
887
|
{
|
|
888
888
|
component: "span",
|
|
@@ -924,12 +924,12 @@ const Gr = ({
|
|
|
924
924
|
component: "span",
|
|
925
925
|
sx: { fontWeight: "bold", textTransform: "uppercase" },
|
|
926
926
|
variant: "tiny",
|
|
927
|
-
children:
|
|
927
|
+
children: t
|
|
928
928
|
}
|
|
929
929
|
)
|
|
930
930
|
]
|
|
931
931
|
}
|
|
932
|
-
),
|
|
932
|
+
), R = (e) => ({
|
|
933
933
|
50: E(e, 0.95),
|
|
934
934
|
100: E(e, 0.85),
|
|
935
935
|
200: E(e, 0.7),
|
|
@@ -940,7 +940,7 @@ const Gr = ({
|
|
|
940
940
|
700: L(e, 0.5),
|
|
941
941
|
800: L(e, 0.65),
|
|
942
942
|
900: L(e, 0.75)
|
|
943
|
-
}),
|
|
943
|
+
}), M = "#FFFFFF", _ = "#000000", Ve = "#F9F9F9", We = "#000000", Ke = "#FFFFFF", Ye = "#000000", C = {
|
|
944
944
|
PRIMARY: "#2C64EF",
|
|
945
945
|
SECONDARY: "#808080",
|
|
946
946
|
INFO: "#2C64EF",
|
|
@@ -1010,112 +1010,112 @@ const Gr = ({
|
|
|
1010
1010
|
TRAVEL: "#76ACF7",
|
|
1011
1011
|
UNCATEGORIZED: "#BCC6D4"
|
|
1012
1012
|
}, Xe = (e, i) => {
|
|
1013
|
-
const
|
|
1013
|
+
const t = R(i?.primary || C.PRIMARY), s = R(i?.secondary || C.SECONDARY), l = R(i?.error || C.ERROR), r = R(i?.warning || C.WARNING), a = R(i?.info || C.INFO), c = R(i?.success || C.SUCCESS), d = R(i?.grey || C.GREY), o = e === S.LIGHT;
|
|
1014
1014
|
return {
|
|
1015
1015
|
mode: e,
|
|
1016
1016
|
common: {
|
|
1017
|
-
white:
|
|
1017
|
+
white: M,
|
|
1018
1018
|
black: _
|
|
1019
1019
|
},
|
|
1020
1020
|
primary: {
|
|
1021
|
-
...
|
|
1022
|
-
lighter:
|
|
1023
|
-
light:
|
|
1024
|
-
main:
|
|
1025
|
-
dark:
|
|
1026
|
-
darker:
|
|
1021
|
+
...t,
|
|
1022
|
+
lighter: o ? t[100] : t[700],
|
|
1023
|
+
light: o ? t[300] : t[600],
|
|
1024
|
+
main: o ? t[500] : t[400],
|
|
1025
|
+
dark: o ? t[700] : t[200],
|
|
1026
|
+
darker: o ? t[800] : t[100]
|
|
1027
1027
|
},
|
|
1028
1028
|
secondary: {
|
|
1029
1029
|
...s,
|
|
1030
|
-
lighter:
|
|
1031
|
-
light:
|
|
1032
|
-
main:
|
|
1033
|
-
dark:
|
|
1034
|
-
darker:
|
|
1030
|
+
lighter: o ? s[100] : s[800],
|
|
1031
|
+
light: o ? s[300] : s[600],
|
|
1032
|
+
main: o ? s[500] : s[400],
|
|
1033
|
+
dark: o ? s[700] : s[200],
|
|
1034
|
+
darker: o ? s[800] : s[100]
|
|
1035
1035
|
},
|
|
1036
1036
|
neutral: {
|
|
1037
1037
|
...d,
|
|
1038
|
-
lighter:
|
|
1039
|
-
light:
|
|
1040
|
-
main:
|
|
1041
|
-
dark:
|
|
1042
|
-
darker:
|
|
1043
|
-
contrastText: Le(
|
|
1038
|
+
lighter: o ? d[100] : d[800],
|
|
1039
|
+
light: o ? d[300] : d[600],
|
|
1040
|
+
main: o ? d[500] : d[400],
|
|
1041
|
+
dark: o ? d[700] : d[200],
|
|
1042
|
+
darker: o ? d[800] : d[100],
|
|
1043
|
+
contrastText: Le(o ? d[700] : d[400], "#fff") > 4.5 ? M : d[900]
|
|
1044
1044
|
},
|
|
1045
1045
|
text: {
|
|
1046
|
-
primary:
|
|
1047
|
-
secondary:
|
|
1048
|
-
disabled:
|
|
1046
|
+
primary: o ? d[900] : M,
|
|
1047
|
+
secondary: o ? d[600] : f(M, 0.7),
|
|
1048
|
+
disabled: o ? d[500] : f(M, 0.38)
|
|
1049
1049
|
},
|
|
1050
1050
|
error: {
|
|
1051
1051
|
...l,
|
|
1052
|
-
lighter:
|
|
1053
|
-
light:
|
|
1054
|
-
main:
|
|
1055
|
-
dark:
|
|
1056
|
-
darker:
|
|
1052
|
+
lighter: o ? l[100] : l[700],
|
|
1053
|
+
light: o ? l[300] : l[600],
|
|
1054
|
+
main: o ? l[500] : l[400],
|
|
1055
|
+
dark: o ? l[700] : l[200],
|
|
1056
|
+
darker: o ? l[800] : l[100]
|
|
1057
1057
|
},
|
|
1058
1058
|
warning: {
|
|
1059
1059
|
...r,
|
|
1060
|
-
lighter:
|
|
1061
|
-
light:
|
|
1062
|
-
main:
|
|
1063
|
-
dark:
|
|
1064
|
-
darker:
|
|
1060
|
+
lighter: o ? r[100] : r[700],
|
|
1061
|
+
light: o ? r[300] : r[600],
|
|
1062
|
+
main: o ? r[500] : r[400],
|
|
1063
|
+
dark: o ? r[700] : r[200],
|
|
1064
|
+
darker: o ? r[800] : r[100]
|
|
1065
1065
|
},
|
|
1066
1066
|
info: {
|
|
1067
1067
|
...a,
|
|
1068
|
-
lighter:
|
|
1069
|
-
light:
|
|
1070
|
-
main:
|
|
1071
|
-
dark:
|
|
1072
|
-
darker:
|
|
1068
|
+
lighter: o ? a[100] : a[700],
|
|
1069
|
+
light: o ? a[300] : a[600],
|
|
1070
|
+
main: o ? a[500] : a[400],
|
|
1071
|
+
dark: o ? a[700] : a[200],
|
|
1072
|
+
darker: o ? a[800] : a[100]
|
|
1073
1073
|
},
|
|
1074
1074
|
success: {
|
|
1075
1075
|
...c,
|
|
1076
|
-
lighter:
|
|
1077
|
-
light:
|
|
1078
|
-
main:
|
|
1079
|
-
dark:
|
|
1080
|
-
darker:
|
|
1076
|
+
lighter: o ? c[100] : c[700],
|
|
1077
|
+
light: o ? c[300] : c[600],
|
|
1078
|
+
main: o ? c[500] : c[400],
|
|
1079
|
+
dark: o ? c[700] : c[200],
|
|
1080
|
+
darker: o ? c[800] : c[100]
|
|
1081
1081
|
},
|
|
1082
1082
|
grey: d,
|
|
1083
1083
|
action: {
|
|
1084
|
-
active:
|
|
1085
|
-
hoverOpacity:
|
|
1086
|
-
selectedOpacity:
|
|
1084
|
+
active: o ? f(_, 0.56) : f(M, 0.56),
|
|
1085
|
+
hoverOpacity: o ? 0.1 : 0.2,
|
|
1086
|
+
selectedOpacity: o ? 0.16 : 0.25,
|
|
1087
1087
|
focusOpacity: 0.3
|
|
1088
1088
|
},
|
|
1089
1089
|
background: {
|
|
1090
|
-
default:
|
|
1091
|
-
paper:
|
|
1092
|
-
highlight:
|
|
1093
|
-
highlightPrimary:
|
|
1090
|
+
default: o ? i?.background?.default?.light || Ve : i?.background?.default?.dark || We,
|
|
1091
|
+
paper: o ? i?.background?.paper?.light || Ke : i?.background?.paper?.dark || Ye,
|
|
1092
|
+
highlight: o ? d[200] : d[600],
|
|
1093
|
+
highlightPrimary: o ? t[100] : t[500]
|
|
1094
1094
|
},
|
|
1095
|
-
divider:
|
|
1095
|
+
divider: o ? f(_, 0.12) : f(M, 0.24),
|
|
1096
1096
|
categories: {
|
|
1097
|
-
autoTransport:
|
|
1098
|
-
billsUtilities:
|
|
1099
|
-
businessServices:
|
|
1100
|
-
education:
|
|
1101
|
-
entertainment:
|
|
1102
|
-
feesCharges:
|
|
1103
|
-
financial:
|
|
1104
|
-
foodDining:
|
|
1105
|
-
giftsDonations:
|
|
1106
|
-
healthFitness:
|
|
1107
|
-
home:
|
|
1108
|
-
income:
|
|
1109
|
-
investments:
|
|
1110
|
-
kids:
|
|
1111
|
-
others:
|
|
1112
|
-
personalCare:
|
|
1113
|
-
pets:
|
|
1114
|
-
shopping:
|
|
1115
|
-
taxes:
|
|
1116
|
-
transfer:
|
|
1117
|
-
travel:
|
|
1118
|
-
uncategorized:
|
|
1097
|
+
autoTransport: o ? p.AUTO_TRANSPORTT : u.AUTO_TRANSPORTT,
|
|
1098
|
+
billsUtilities: o ? p.BILLS_UTILITIES : u.BILLS_UTILITIES,
|
|
1099
|
+
businessServices: o ? p.BUSINESS_SERVICES : u.BUSINESS_SERVICES,
|
|
1100
|
+
education: o ? p.EDUCATION : u.EDUCATION,
|
|
1101
|
+
entertainment: o ? p.ENTERTAINMENT : u.ENTERTAINMENT,
|
|
1102
|
+
feesCharges: o ? p.FEES_CHARGES : u.FEES_CHARGES,
|
|
1103
|
+
financial: o ? p.FINANCIAL : u.FINANCIAL,
|
|
1104
|
+
foodDining: o ? p.FOOD_DINING : u.FOOD_DINING,
|
|
1105
|
+
giftsDonations: o ? p.GIFTS_DONATIONS : u.GIFTS_DONATIONS,
|
|
1106
|
+
healthFitness: o ? p.HEALTH_FITNESS : u.HEALTH_FITNESS,
|
|
1107
|
+
home: o ? p.HOME : u.HOME,
|
|
1108
|
+
income: o ? p.INCOME : u.INCOME,
|
|
1109
|
+
investments: o ? p.INVESTMENTS : u.INVESTMENTS,
|
|
1110
|
+
kids: o ? p.KIDS : u.KIDS,
|
|
1111
|
+
others: o ? p.OTHERS : u.OTHERS,
|
|
1112
|
+
personalCare: o ? p.PERSONAL_CARE : u.PERSONAL_CARE,
|
|
1113
|
+
pets: o ? p.PETS : u.PETS,
|
|
1114
|
+
shopping: o ? p.SHOPPING : u.SHOPPING,
|
|
1115
|
+
taxes: o ? p.TAXES : u.TAXES,
|
|
1116
|
+
transfer: o ? p.TRANSFER : u.TRANSFER,
|
|
1117
|
+
travel: o ? p.TRAVEL : u.TRAVEL,
|
|
1118
|
+
uncategorized: o ? p.UNCATEGORIZED : u.UNCATEGORIZED
|
|
1119
1119
|
},
|
|
1120
1120
|
chart: {
|
|
1121
1121
|
chart1: y.CHART1,
|
|
@@ -1136,7 +1136,7 @@ const Gr = ({
|
|
|
1136
1136
|
}
|
|
1137
1137
|
};
|
|
1138
1138
|
}, z = "Inter, Helvetica, Arial, sans-serif", je = (e) => {
|
|
1139
|
-
const i = e?.fontFamily ? `${e?.fontFamily}, ${z}` : z,
|
|
1139
|
+
const i = e?.fontFamily ? `${e?.fontFamily}, ${z}` : z, t = e?.headerFontFamily ? `${e.headerFontFamily}, ${z}` : i;
|
|
1140
1140
|
return {
|
|
1141
1141
|
fontFamily: i,
|
|
1142
1142
|
fontSize: 15,
|
|
@@ -1160,19 +1160,19 @@ const Gr = ({
|
|
|
1160
1160
|
lineHeight: "16px"
|
|
1161
1161
|
},
|
|
1162
1162
|
h1: {
|
|
1163
|
-
fontFamily:
|
|
1163
|
+
fontFamily: t,
|
|
1164
1164
|
fontWeight: 700,
|
|
1165
1165
|
fontSize: 31,
|
|
1166
1166
|
lineHeight: "40px"
|
|
1167
1167
|
},
|
|
1168
1168
|
h2: {
|
|
1169
|
-
fontFamily:
|
|
1169
|
+
fontFamily: t,
|
|
1170
1170
|
fontWeight: 700,
|
|
1171
1171
|
fontSize: 23,
|
|
1172
1172
|
lineHeight: "32px"
|
|
1173
1173
|
},
|
|
1174
1174
|
h3: {
|
|
1175
|
-
fontFamily:
|
|
1175
|
+
fontFamily: t,
|
|
1176
1176
|
fontWeight: 700,
|
|
1177
1177
|
fontSize: 18,
|
|
1178
1178
|
lineHeight: "24px"
|
|
@@ -1198,7 +1198,7 @@ Ne.setLicenseKey(
|
|
|
1198
1198
|
"702b0c04dc7df078768d2d45cd3a98c6Tz0xMjEzMDYsRT0xNzkzNzUwMzk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
|
|
1199
1199
|
);
|
|
1200
1200
|
const Kr = (e, i) => {
|
|
1201
|
-
const
|
|
1201
|
+
const t = Xe(e, i?.paletteOptions), s = je(i?.typographyOptions), l = [...G().shadows];
|
|
1202
1202
|
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({
|
|
1203
1203
|
breakpoints: i?.breakpoints || {
|
|
1204
1204
|
values: {
|
|
@@ -1213,7 +1213,7 @@ const Kr = (e, i) => {
|
|
|
1213
1213
|
cssVariables: {
|
|
1214
1214
|
colorSchemeSelector: "class"
|
|
1215
1215
|
},
|
|
1216
|
-
palette:
|
|
1216
|
+
palette: t,
|
|
1217
1217
|
shape: {
|
|
1218
1218
|
borderRadius: i?.shapeOptions?.borderRadius || 4
|
|
1219
1219
|
},
|
|
@@ -1237,8 +1237,8 @@ const Kr = (e, i) => {
|
|
|
1237
1237
|
const c = a.severity || "info";
|
|
1238
1238
|
let d = r.palette.mode === S.LIGHT ? r.palette[c]?.[50] : r.palette[c]?.[800];
|
|
1239
1239
|
if (a.variant === "filled") {
|
|
1240
|
-
const
|
|
1241
|
-
d = r.palette[c]?.[
|
|
1240
|
+
const o = c === "warning";
|
|
1241
|
+
d = r.palette[c]?.[o ? 400 : 600];
|
|
1242
1242
|
}
|
|
1243
1243
|
return {
|
|
1244
1244
|
backgroundColor: d,
|
|
@@ -1323,7 +1323,7 @@ const Kr = (e, i) => {
|
|
|
1323
1323
|
styleOverrides: {
|
|
1324
1324
|
root: {
|
|
1325
1325
|
"&.Mui-focusVisible": {
|
|
1326
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1326
|
+
boxShadow: `inset 0 0 0 2px ${t.info.main}`
|
|
1327
1327
|
}
|
|
1328
1328
|
}
|
|
1329
1329
|
}
|
|
@@ -1335,12 +1335,12 @@ const Kr = (e, i) => {
|
|
|
1335
1335
|
},
|
|
1336
1336
|
styleOverrides: {
|
|
1337
1337
|
root: ({ theme: r, ownerState: a }) => {
|
|
1338
|
-
const c = !a.color || a.color === "default" ? "primary" : a.color, d = a.size === "small",
|
|
1338
|
+
const c = !a.color || a.color === "default" ? "primary" : a.color, d = a.size === "small", o = d ? r.typography.caption : r.typography.body2;
|
|
1339
1339
|
return {
|
|
1340
1340
|
borderRadius: r.shape.borderRadius,
|
|
1341
1341
|
color: r.palette[c].main,
|
|
1342
|
-
fontSize:
|
|
1343
|
-
lineHeight:
|
|
1342
|
+
fontSize: o.fontSize,
|
|
1343
|
+
lineHeight: o.lineHeight,
|
|
1344
1344
|
"&.Mui-focusVisible": {
|
|
1345
1345
|
outline: `2px solid ${r.palette.info.main}`,
|
|
1346
1346
|
outlineOffset: "2px"
|
|
@@ -1564,7 +1564,7 @@ const Kr = (e, i) => {
|
|
|
1564
1564
|
MuiFormLabel: {
|
|
1565
1565
|
styleOverrides: {
|
|
1566
1566
|
asterisk: {
|
|
1567
|
-
color:
|
|
1567
|
+
color: t.error.main
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
1570
|
},
|
|
@@ -1612,7 +1612,7 @@ const Kr = (e, i) => {
|
|
|
1612
1612
|
borderRadius: 4
|
|
1613
1613
|
},
|
|
1614
1614
|
colorPrimary: {
|
|
1615
|
-
backgroundColor:
|
|
1615
|
+
backgroundColor: t.grey[300]
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
},
|
|
@@ -1672,14 +1672,8 @@ const Kr = (e, i) => {
|
|
|
1672
1672
|
MuiListItemAvatar: {
|
|
1673
1673
|
styleOverrides: {
|
|
1674
1674
|
root: {
|
|
1675
|
-
height: 32,
|
|
1676
1675
|
marginRight: 12,
|
|
1677
|
-
minWidth:
|
|
1678
|
-
width: 32,
|
|
1679
|
-
"& .MuiAvatar-root": {
|
|
1680
|
-
height: 32,
|
|
1681
|
-
width: 32
|
|
1682
|
-
}
|
|
1676
|
+
minWidth: "unset"
|
|
1683
1677
|
}
|
|
1684
1678
|
}
|
|
1685
1679
|
},
|
|
@@ -1717,7 +1711,7 @@ const Kr = (e, i) => {
|
|
|
1717
1711
|
},
|
|
1718
1712
|
secondary: {
|
|
1719
1713
|
fontSize: 11,
|
|
1720
|
-
color:
|
|
1714
|
+
color: t.text.secondary
|
|
1721
1715
|
}
|
|
1722
1716
|
}
|
|
1723
1717
|
},
|
|
@@ -1738,7 +1732,7 @@ const Kr = (e, i) => {
|
|
|
1738
1732
|
lineHeight: "inherit",
|
|
1739
1733
|
top: -1,
|
|
1740
1734
|
// This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
|
|
1741
|
-
backgroundColor:
|
|
1735
|
+
backgroundColor: t.background.default
|
|
1742
1736
|
}
|
|
1743
1737
|
}
|
|
1744
1738
|
},
|
|
@@ -1915,7 +1909,7 @@ const Kr = (e, i) => {
|
|
|
1915
1909
|
fontWeight: 600,
|
|
1916
1910
|
"&.Mui-focusVisible": {
|
|
1917
1911
|
outline: "none",
|
|
1918
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1912
|
+
boxShadow: `inset 0 0 0 2px ${t.info.main}`,
|
|
1919
1913
|
borderRadius: 4
|
|
1920
1914
|
}
|
|
1921
1915
|
}
|
|
@@ -1926,7 +1920,7 @@ const Kr = (e, i) => {
|
|
|
1926
1920
|
root: {
|
|
1927
1921
|
borderBottomStyle: "solid",
|
|
1928
1922
|
borderBottomWidth: 1,
|
|
1929
|
-
borderColor:
|
|
1923
|
+
borderColor: t.divider,
|
|
1930
1924
|
marginBottom: 8
|
|
1931
1925
|
}
|
|
1932
1926
|
}
|
|
@@ -1942,7 +1936,7 @@ const Kr = (e, i) => {
|
|
|
1942
1936
|
},
|
|
1943
1937
|
styleOverrides: {
|
|
1944
1938
|
root: {
|
|
1945
|
-
backgroundColor:
|
|
1939
|
+
backgroundColor: t.background.paper
|
|
1946
1940
|
}
|
|
1947
1941
|
}
|
|
1948
1942
|
},
|
|
@@ -1957,13 +1951,13 @@ const Kr = (e, i) => {
|
|
|
1957
1951
|
lineHeight: "16px",
|
|
1958
1952
|
textTransform: "none",
|
|
1959
1953
|
"&:focus-visible": {
|
|
1960
|
-
outline: `2px solid ${
|
|
1954
|
+
outline: `2px solid ${t.info.main}`,
|
|
1961
1955
|
outlineOffset: "2px"
|
|
1962
1956
|
},
|
|
1963
1957
|
"&:hover": {
|
|
1964
1958
|
backgroundColor: f(
|
|
1965
1959
|
r.palette.primary.main,
|
|
1966
|
-
|
|
1960
|
+
t.mode === S.LIGHT ? 0.1 : 0.2
|
|
1967
1961
|
),
|
|
1968
1962
|
borderColor: r.palette.primary.main
|
|
1969
1963
|
},
|
|
@@ -1987,19 +1981,19 @@ const Kr = (e, i) => {
|
|
|
1987
1981
|
props: { color: "error" },
|
|
1988
1982
|
style: {
|
|
1989
1983
|
"&:hover": {
|
|
1990
|
-
backgroundColor: f(
|
|
1991
|
-
borderColor:
|
|
1984
|
+
backgroundColor: f(t.error.main, t.mode === S.LIGHT ? 0.1 : 0.2),
|
|
1985
|
+
borderColor: t.error.main
|
|
1992
1986
|
},
|
|
1993
1987
|
"&.Mui-selected": {
|
|
1994
|
-
borderColor:
|
|
1988
|
+
borderColor: t.error.main,
|
|
1995
1989
|
"&:hover": {
|
|
1996
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
1990
|
+
boxShadow: `inset 0px 0px 0px 2px ${t.error.main}`
|
|
1997
1991
|
}
|
|
1998
1992
|
},
|
|
1999
1993
|
"& .MuiTouchRipple-root": {
|
|
2000
1994
|
"& .MuiTouchRipple-ripple": {
|
|
2001
1995
|
"& .MuiTouchRipple-child": {
|
|
2002
|
-
backgroundColor:
|
|
1996
|
+
backgroundColor: t.error.main
|
|
2003
1997
|
}
|
|
2004
1998
|
}
|
|
2005
1999
|
}
|
|
@@ -2010,21 +2004,21 @@ const Kr = (e, i) => {
|
|
|
2010
2004
|
style: {
|
|
2011
2005
|
"&:hover": {
|
|
2012
2006
|
backgroundColor: f(
|
|
2013
|
-
|
|
2014
|
-
|
|
2007
|
+
t.secondary.main,
|
|
2008
|
+
t.mode === S.LIGHT ? 0.1 : 0.2
|
|
2015
2009
|
),
|
|
2016
|
-
borderColor:
|
|
2010
|
+
borderColor: t.secondary.main
|
|
2017
2011
|
},
|
|
2018
2012
|
"&.Mui-selected": {
|
|
2019
|
-
borderColor:
|
|
2013
|
+
borderColor: t.secondary.main,
|
|
2020
2014
|
"&:hover": {
|
|
2021
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2015
|
+
boxShadow: `inset 0px 0px 0px 2px ${t.secondary.main}`
|
|
2022
2016
|
}
|
|
2023
2017
|
},
|
|
2024
2018
|
"& .MuiTouchRipple-root": {
|
|
2025
2019
|
"& .MuiTouchRipple-ripple": {
|
|
2026
2020
|
"& .MuiTouchRipple-child": {
|
|
2027
|
-
backgroundColor:
|
|
2021
|
+
backgroundColor: t.secondary.main
|
|
2028
2022
|
}
|
|
2029
2023
|
}
|
|
2030
2024
|
}
|