@mxenabled/mxui 1.5.9-alpha.al0 → 1.5.11-alpha.al0

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 CHANGED
@@ -1,75 +1,75 @@
1
1
  import { jsx as a, jsxs as T } from "react/jsx-runtime";
2
- import R from "react";
2
+ import x from "react";
3
3
  import I from "@mui/material/Stack";
4
- import { useTheme as H, createTheme as ce } from "@mui/material/styles";
4
+ import { useTheme as H, createTheme as U } from "@mui/material/styles";
5
5
  import { Icon as se, ExpandMore as de, Close as ue } from "@mxenabled/mx-icons";
6
- import { endOfMonth as U } from "date-fns/endOfMonth";
6
+ import { endOfMonth as W } from "date-fns/endOfMonth";
7
7
  import { endOfYear as pe } from "date-fns/endOfYear";
8
8
  import { startOfToday as he } from "date-fns/startOfToday";
9
- import { startOfMonth as W } from "date-fns/startOfMonth";
10
- import { startOfYear as Z } from "date-fns/startOfYear";
11
- import { subDays as K } from "date-fns/subDays";
9
+ import { startOfMonth as Z } from "date-fns/startOfMonth";
10
+ import { startOfYear as K } from "date-fns/startOfYear";
11
+ import { subDays as Y } from "date-fns/subDays";
12
12
  import { subMonths as ge } from "date-fns/subMonths";
13
13
  import { subYears as me } from "date-fns/subYears";
14
14
  import fe from "@mui/material/useMediaQuery";
15
15
  import { LocalizationProvider as be, StaticDateRangePicker as Te } from "@mui/x-date-pickers-pro";
16
16
  import { AdapterDateFns as Ce } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
- import { MultiInputDateRangeField as Re } from "@mui/x-date-pickers-pro/MultiInputDateRangeField";
18
- import X from "@mui/material/Box";
19
- import xe from "@mui/material/ToggleButton";
17
+ import { MultiInputDateRangeField as xe } from "@mui/x-date-pickers-pro/MultiInputDateRangeField";
18
+ import j from "@mui/material/Box";
19
+ import Re from "@mui/material/ToggleButton";
20
20
  import Me from "@mui/material/ToggleButtonGroup";
21
21
  import Ae from "@mui/material/MenuItem";
22
- import j from "@mui/material/TextField";
22
+ import Q from "@mui/material/TextField";
23
23
  import { usePickerLayout as Ee, PickersLayoutRoot as Se, PickersLayoutContentWrapper as Ie, pickersLayoutClasses as P } from "@mui/x-date-pickers/PickersLayout";
24
- import Q from "@mui/material/Slide";
24
+ import J from "@mui/material/Slide";
25
25
  import V from "@mui/material/Button";
26
- import J from "@mui/material/IconButton";
26
+ import q from "@mui/material/IconButton";
27
27
  import ve from "@mui/material/Typography";
28
28
  import ye from "@mui/material/Drawer";
29
29
  import He from "@mui/material/Snackbar";
30
30
  import Fe from "@mui/material/Alert";
31
- import { light as q, buildTheme as $, dark as Oe } from "@mxenabled/design-tokens";
32
- import { FormControlLabel as ke, Box as _, Typography as Y, Radio as B, Checkbox as Le, alpha as b, darken as D, lighten as F, getContrastRatio as De } from "@mui/material";
31
+ import { light as ee, buildTheme as $, dark as Oe } from "@mxenabled/design-tokens";
32
+ import { FormControlLabel as ke, Box as _, Typography as X, Radio as B, Checkbox as Le, alpha as b, darken as D, lighten as F, getContrastRatio as De } from "@mui/material";
33
33
  import { circularProgressClasses as Ne } from "@mui/material/CircularProgress";
34
34
  import { LicenseInfo as we } from "@mui/x-license-pro";
35
35
  const f = ({
36
36
  children: e,
37
37
  height: o,
38
- size: t = 16,
39
- viewBox: n = "0 0 16 16",
40
- width: r
38
+ size: i = 16,
39
+ viewBox: l = "0 0 16 16",
40
+ width: c
41
41
  }) => /* @__PURE__ */ a(
42
42
  "svg",
43
43
  {
44
44
  "aria-hidden": !0,
45
45
  className: "mx-kmui-icon",
46
46
  focusable: !1,
47
- height: o || t,
48
- viewBox: n,
49
- width: r || t,
47
+ height: o || i,
48
+ viewBox: l,
49
+ width: c || i,
50
50
  xmlns: "http://www.w3.org/2000/svg",
51
51
  children: e
52
52
  }
53
53
  );
54
54
  var Pe = /* @__PURE__ */ ((e) => (e[e.Lighter = 100] = "Lighter", e[e.Light = 200] = "Light", e[e.Normal = 300] = "Normal", e[e.Dark = 400] = "Dark", e[e.Darker = 500] = "Darker", e))(Pe || {});
55
- const x = ({
55
+ const R = ({
56
56
  color: e,
57
57
  fill: o = !1,
58
- name: t,
59
- size: n = 20,
60
- sx: r,
61
- weight: c = 300,
62
- ...l
58
+ name: i,
59
+ size: l = 20,
60
+ sx: c,
61
+ weight: t = 300,
62
+ ...n
63
63
  }) => /* @__PURE__ */ a(
64
64
  se,
65
65
  {
66
66
  color: e,
67
67
  fill: o,
68
- name: t,
69
- size: n,
70
- sx: r,
71
- weight: c,
72
- ...l
68
+ name: i,
69
+ size: l,
70
+ sx: c,
71
+ weight: t,
72
+ ...n
73
73
  }
74
74
  ), w0 = ({
75
75
  color: e = "currentColor",
@@ -284,7 +284,7 @@ const x = ({
284
284
  )
285
285
  ] });
286
286
  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 || {}), _e = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(_e || {});
287
- const ee = {
287
+ const oe = {
288
288
  guid: g.Uncategorized,
289
289
  colorName: "uncategorized",
290
290
  icon: "category"
@@ -389,58 +389,58 @@ const ee = {
389
389
  colorName: "travel",
390
390
  icon: "airplane_ticket"
391
391
  },
392
- ee
392
+ oe
393
393
  ], ze = 0.625, Ve = ({
394
394
  categoryGuid: e,
395
395
  icon_ratio: o = ze,
396
- size: t = 32,
397
- sx: n = {},
398
- variant: r = "filled"
396
+ size: i = 32,
397
+ sx: l = {},
398
+ variant: c = "filled"
399
399
  }) => {
400
- const c = H(), l = R.useMemo(
401
- () => Be.find((u) => u.guid === e) ?? ee,
400
+ const t = H(), n = x.useMemo(
401
+ () => Be.find((u) => u.guid === e) ?? oe,
402
402
  [e]
403
- ), s = c.palette.categories[l.colorName];
403
+ ), s = t.palette.categories[n.colorName];
404
404
  return /* @__PURE__ */ a(
405
405
  I,
406
406
  {
407
407
  alignItems: "center",
408
408
  bgcolor: () => {
409
409
  let u = s;
410
- return r === "twotone" && (u = `${u}20`), r === "transparent" || r === "basic" ? "transparent" : u;
410
+ return c === "twotone" && (u = `${u}20`), c === "transparent" || c === "basic" ? "transparent" : u;
411
411
  },
412
412
  borderRadius: 1,
413
413
  color: () => {
414
- const u = r === "filled" ? c.palette.common.white : s;
415
- return r === "basic" ? c.palette.text.primary : u;
414
+ const u = c === "filled" ? t.palette.common.white : s;
415
+ return c === "basic" ? t.palette.text.primary : u;
416
416
  },
417
- height: t,
417
+ height: i,
418
418
  justifyContent: "center",
419
- sx: [...Array.isArray(n) ? n : [n]],
420
- width: t,
421
- children: /* @__PURE__ */ a(x, { name: l.icon, size: t * o })
419
+ sx: [...Array.isArray(l) ? l : [l]],
420
+ width: i,
421
+ children: /* @__PURE__ */ a(R, { name: n.icon, size: i * o })
422
422
  }
423
423
  );
424
424
  }, $e = ({
425
425
  items: e,
426
426
  onChange: o,
427
- isValid: t,
428
- selected: n
427
+ isValid: i,
428
+ selected: l
429
429
  }) => {
430
- const r = H(), c = e?.map((l) => {
431
- const s = l.getValue({ isValid: t });
430
+ const c = H(), t = e?.map((n) => {
431
+ const s = n.getValue({ isValid: i });
432
432
  return {
433
- label: l.label,
433
+ label: n.label,
434
434
  onClick: () => {
435
- o(s, "accept", l);
435
+ o(s, "accept", n);
436
436
  },
437
- disabled: !t(s)
437
+ disabled: !i(s)
438
438
  };
439
439
  });
440
- return /* @__PURE__ */ a(X, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Me, { color: "primary", orientation: "vertical", value: n, children: c?.map((l) => /* @__PURE__ */ a(
441
- xe,
440
+ return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Me, { color: "primary", orientation: "vertical", value: l, children: t?.map((n) => /* @__PURE__ */ a(
441
+ Re,
442
442
  {
443
- onClick: l.onClick,
443
+ onClick: n.onClick,
444
444
  sx: {
445
445
  borderWidth: 1,
446
446
  color: "secondary.main",
@@ -451,55 +451,56 @@ const ee = {
451
451
  boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
452
452
  },
453
453
  "&:hover": {
454
- bgcolor: r.palette.action.hover,
455
- borderTop: `1px solid ${r.palette.secondary.light}`
454
+ bgcolor: c.palette.action.hover,
455
+ borderTop: `1px solid ${c.palette.secondary.light}`
456
456
  },
457
457
  "&.Mui-selected": {
458
- border: `2px solid ${r.palette.primary.main} !important`,
458
+ border: `2px solid ${c.palette.primary.main} !important`,
459
459
  marginTop: "-2px !important",
460
460
  color: "primary"
461
461
  }
462
462
  },
463
- value: l.label,
464
- children: l.label
463
+ value: n.label,
464
+ children: n.label
465
465
  },
466
- l.label
466
+ n.label
467
467
  )) }) });
468
468
  }, Ge = ({
469
469
  items: e,
470
470
  onChange: o,
471
- isValid: t,
472
- selected: n
471
+ isValid: i,
472
+ selected: l,
473
+ selectLabel: c
473
474
  }) => {
474
- const r = e?.map((c) => {
475
- const l = c.getValue({ isValid: t });
475
+ const t = e?.map((n) => {
476
+ const s = n.getValue({ isValid: i });
476
477
  return {
477
- label: c.label,
478
+ label: n.label,
478
479
  onClick: () => {
479
- o(l, "accept", c);
480
+ o(s, "accept", n);
480
481
  },
481
- disabled: !t(l)
482
+ disabled: !i(s)
482
483
  };
483
484
  });
484
485
  return /* @__PURE__ */ a(I, { sx: { py: 16 }, children: /* @__PURE__ */ a(
485
- j,
486
+ Q,
486
487
  {
487
488
  InputLabelProps: {
488
489
  shrink: !0
489
490
  },
490
491
  SelectProps: { IconComponent: de },
491
- defaultValue: n,
492
+ defaultValue: l,
492
493
  id: "select",
493
- label: "Select Date Range",
494
+ label: c,
494
495
  select: !0,
495
496
  sx: { width: "100%" },
496
- value: n,
497
+ value: l,
497
498
  variant: "outlined",
498
- children: r?.map((c) => /* @__PURE__ */ a(Ae, { onClick: c.onClick, value: c.label, children: c.label }, c.label))
499
+ children: t?.map((n) => /* @__PURE__ */ a(Ae, { onClick: n.onClick, value: n.label, children: n.label }, n.label))
499
500
  }
500
501
  ) });
501
502
  }, Ue = (e) => {
502
- const { toolbar: o, content: t, shortcuts: n } = Ee(e);
503
+ const { toolbar: o, content: i, shortcuts: l } = Ee(e);
503
504
  return /* @__PURE__ */ T(
504
505
  Se,
505
506
  {
@@ -520,57 +521,57 @@ const ee = {
520
521
  },
521
522
  children: [
522
523
  /* @__PURE__ */ T(I, { sx: { gridColumn: 1, gridRow: 1, p: 16 }, children: [
523
- n,
524
+ l,
524
525
  o
525
526
  ] }),
526
- /* @__PURE__ */ a(Ie, { className: P.contentWrapper, children: t })
527
+ /* @__PURE__ */ a(Ie, { className: P.contentWrapper, children: i })
527
528
  ]
528
529
  }
529
530
  );
530
531
  }, q0 = ({
531
532
  copy: e,
532
533
  dateRange: o,
533
- onRangeChanged: t,
534
- selectedShortcut: n = e.dateRangeThisMonth,
535
- sx: r = {}
534
+ onRangeChanged: i,
535
+ selectedShortcut: l = e.dateRangeThisMonth,
536
+ sx: c = {}
536
537
  }) => {
537
- const c = H(), l = fe(c.breakpoints.down("sm")), s = R.useMemo(() => {
538
- const i = he(), u = ge(i, 1), C = me(i, 1);
538
+ const t = H(), n = fe(t.breakpoints.down("sm")), s = x.useMemo(() => {
539
+ const r = he(), u = ge(r, 1), C = me(r, 1);
539
540
  return [
540
541
  {
541
542
  label: e.dateRangeThisMonth,
542
- getValue: () => [W(i), U(i)]
543
+ getValue: () => [Z(r), W(r)]
543
544
  },
544
545
  {
545
546
  label: e.dateRangeLastMonth,
546
- getValue: () => [W(u), U(u)]
547
+ getValue: () => [Z(u), W(u)]
547
548
  },
548
549
  {
549
550
  label: e.dateRangeLast30Days,
550
- getValue: () => [K(i, 30), i]
551
+ getValue: () => [Y(r, 30), r]
551
552
  },
552
553
  {
553
554
  label: e.dateRangeLast90Days,
554
- getValue: () => [K(i, 90), i]
555
+ getValue: () => [Y(r, 90), r]
555
556
  },
556
557
  {
557
558
  label: e.dateRangeYTD,
558
- getValue: () => [Z(i), i]
559
+ getValue: () => [K(r), r]
559
560
  },
560
561
  {
561
562
  label: e.dateRangeLastYear,
562
- getValue: () => [Z(C), pe(C)]
563
+ getValue: () => [K(C), pe(C)]
563
564
  },
564
565
  {
565
566
  label: e.dateRangeCustom,
566
- getValue: () => [i, i]
567
+ getValue: () => [r, r]
567
568
  }
568
569
  ];
569
- }, [e]), d = (i, u) => {
570
+ }, [e]), d = (r, u) => {
570
571
  const C = u.shortcut;
571
- t?.(i, C ? C.label : e.dateRangeCustom);
572
+ i?.(r, C ? C.label : e.dateRangeCustom);
572
573
  };
573
- return /* @__PURE__ */ a(I, { gap: l ? 0 : 16, m: l ? 0 : 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
574
+ return /* @__PURE__ */ a(I, { gap: n ? 0 : 16, m: n ? 0 : 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
574
575
  Te,
575
576
  {
576
577
  calendars: 1,
@@ -587,32 +588,51 @@ const ee = {
587
588
  items: s
588
589
  },
589
590
  toolbar: {
590
- toolbarFormat: l ? "MM/dd/yyyy" : "MMM d, yyyy"
591
+ toolbarFormat: n ? "MM/dd/yyyy" : "MMM d, yyyy"
591
592
  }
592
593
  },
593
594
  slots: {
594
- ...l && { layout: Ue },
595
- leftArrowIcon: () => /* @__PURE__ */ a(x, { name: "chevron_left", size: 28 }),
596
- shortcuts: (i) => l ? /* @__PURE__ */ a(Ge, { selected: n, ...i }) : /* @__PURE__ */ a($e, { selected: n, ...i }),
597
- rightArrowIcon: () => /* @__PURE__ */ a(x, { name: "chevron_right", size: 28 }),
598
- ...l && {
599
- toolbar: (i) => /* @__PURE__ */ a(Re, { dateSeparator: "", ...i, sx: { gap: 8 } })
595
+ ...n && { layout: Ue },
596
+ leftArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_left", size: 28 }),
597
+ shortcuts: (r) => n ? /* @__PURE__ */ a(
598
+ Ge,
599
+ {
600
+ selectLabel: e.dateRangeSelectARange,
601
+ selected: l,
602
+ ...r
603
+ }
604
+ ) : /* @__PURE__ */ a($e, { selected: l, ...r }),
605
+ rightArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_right", size: 28 }),
606
+ ...n && {
607
+ toolbar: (r) => /* @__PURE__ */ a(
608
+ xe,
609
+ {
610
+ dateSeparator: "",
611
+ ...r,
612
+ slotProps: {
613
+ textField: ({ position: u }) => ({
614
+ label: u === "start" ? e.dateRangeFrom : e.dateRangeTo
615
+ })
616
+ },
617
+ sx: { gap: 8 }
618
+ }
619
+ )
600
620
  }
601
621
  },
602
- sx: { ...r },
622
+ sx: { ...c },
603
623
  value: o
604
624
  }
605
625
  ) }) });
606
- }, eo = R.forwardRef(function(o, t) {
607
- return /* @__PURE__ */ a(Q, { direction: "up", ref: t, ...o });
626
+ }, eo = x.forwardRef(function(o, i) {
627
+ return /* @__PURE__ */ a(J, { direction: "up", ref: i, ...o });
608
628
  }), We = ({
609
629
  hasSecondaryAction: e = !0,
610
630
  isPrimaryDisabled: o,
611
- onPrimaryAction: t,
612
- onSecondaryAction: n,
613
- primaryColor: r = "primary",
614
- primaryText: c = "Save",
615
- secondaryColor: l = "primary",
631
+ onPrimaryAction: i,
632
+ onSecondaryAction: l,
633
+ primaryColor: c = "primary",
634
+ primaryText: t = "Save",
635
+ secondaryColor: n = "primary",
616
636
  secondaryText: s = "Cancel"
617
637
  }) => /* @__PURE__ */ T(
618
638
  I,
@@ -625,20 +645,20 @@ const ee = {
625
645
  e && /* @__PURE__ */ a(
626
646
  V,
627
647
  {
628
- color: l,
629
- onClick: n,
630
- variant: t ? "outlined" : "contained",
648
+ color: n,
649
+ onClick: l,
650
+ variant: i ? "outlined" : "contained",
631
651
  children: s
632
652
  }
633
653
  ),
634
- t && /* @__PURE__ */ a(
654
+ i && /* @__PURE__ */ a(
635
655
  V,
636
656
  {
637
- color: r,
657
+ color: c,
638
658
  disabled: o,
639
- onClick: t,
659
+ onClick: i,
640
660
  variant: "contained",
641
- children: c
661
+ children: t
642
662
  }
643
663
  )
644
664
  ]
@@ -646,11 +666,11 @@ const ee = {
646
666
  ), k = ({
647
667
  bold: e,
648
668
  className: o = "",
649
- children: t,
650
- color: n,
651
- sx: r = {},
652
- truncate: c = !0,
653
- uppercase: l,
669
+ children: i,
670
+ color: l,
671
+ sx: c = {},
672
+ truncate: t = !0,
673
+ uppercase: n,
654
674
  ...s
655
675
  }) => {
656
676
  switch (s.variant) {
@@ -689,33 +709,33 @@ const ee = {
689
709
  ve,
690
710
  {
691
711
  className: `mx-kmui-text ${o}`,
692
- color: n,
712
+ color: l,
693
713
  sx: [
694
714
  e ? {
695
715
  fontWeight: 600
696
716
  } : {},
697
- c ? {
717
+ t ? {
698
718
  overflow: "hidden",
699
719
  textOverflow: "ellipsis",
700
720
  whiteSpace: "nowrap"
701
721
  } : {},
702
- l ? {
722
+ n ? {
703
723
  textTransform: "uppercase"
704
724
  } : {},
705
- ...Array.isArray(r) ? r : [r]
725
+ ...Array.isArray(c) ? c : [c]
706
726
  ],
707
727
  ...s,
708
- children: t
728
+ children: i
709
729
  }
710
730
  );
711
- }, Ze = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...t, children: o }), oo = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...t, children: o }), ro = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...t, children: o }), to = ({ className: e = "", children: o, truncate: t, ...n }) => /* @__PURE__ */ a(
731
+ }, Ze = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), oo = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), to = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), ro = ({ className: e = "", children: o, truncate: i, ...l }) => /* @__PURE__ */ a(
712
732
  k,
713
733
  {
714
734
  className: `mx-kmui-text p ${e}`,
715
735
  component: "p",
716
- truncate: t || !1,
736
+ truncate: i || !1,
717
737
  variant: "body1",
718
- ...n,
738
+ ...l,
719
739
  children: o
720
740
  }
721
741
  ), io = ({ copy: e, onClose: o }) => /* @__PURE__ */ T(
@@ -730,123 +750,123 @@ const ee = {
730
750
  },
731
751
  children: [
732
752
  /* @__PURE__ */ a(Ze, { variant: "h3", children: e.title }),
733
- /* @__PURE__ */ a(J, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ue, {}) })
753
+ /* @__PURE__ */ a(q, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ue, {}) })
734
754
  ]
735
755
  }
736
756
  ), ao = ({
737
757
  className: e,
738
758
  disableSave: o,
739
- id: t,
740
- isOpen: n,
741
- onClose: r,
742
- onSave: c,
743
- primaryText: l,
759
+ id: i,
760
+ isOpen: l,
761
+ onClose: c,
762
+ onSave: t,
763
+ primaryText: n,
744
764
  secondaryText: s,
745
765
  children: d,
746
- ...i
766
+ ...r
747
767
  }) => /* @__PURE__ */ T(
748
768
  ye,
749
769
  {
750
770
  anchor: "right",
751
771
  className: `mx-kmui-drawer ${e}`,
752
- id: t ?? void 0,
753
- onClose: r,
754
- open: n,
772
+ id: i ?? void 0,
773
+ onClose: c,
774
+ open: l,
755
775
  variant: "temporary",
756
- ...i,
776
+ ...r,
757
777
  children: [
758
778
  d,
759
- c && /* @__PURE__ */ a(
779
+ t && /* @__PURE__ */ a(
760
780
  We,
761
781
  {
762
782
  isPrimaryDisabled: o,
763
- onPrimaryAction: c,
764
- onSecondaryAction: r,
765
- primaryText: l,
783
+ onPrimaryAction: t,
784
+ onSecondaryAction: c,
785
+ primaryText: n,
766
786
  secondaryText: s
767
787
  }
768
788
  )
769
789
  ]
770
790
  }
771
- ), oe = 32, G = "https://content.moneydesktop.com/storage/MD_Assets", Ke = `${G}/serenity/default_institution_logo.png`, no = ({
791
+ ), te = 32, G = "https://content.moneydesktop.com/storage/MD_Assets", Ke = `${G}/serenity/default_institution_logo.png`, no = ({
772
792
  alt: e,
773
793
  institutionGuid: o,
774
- logoUrl: t,
775
- size: n = oe,
776
- ...r
794
+ logoUrl: i,
795
+ size: l = te,
796
+ ...c
777
797
  }) => /* @__PURE__ */ a(
778
798
  "img",
779
799
  {
780
800
  alt: e,
781
- height: n,
782
- onError: (c) => c.target.src = Ke,
783
- src: t || `${G}/Ipad%20Logos/100x100/${o}_100x100.png`,
801
+ height: l,
802
+ onError: (t) => t.target.src = Ke,
803
+ src: i || `${G}/Ipad%20Logos/100x100/${o}_100x100.png`,
784
804
  style: {
785
805
  borderRadius: 4
786
806
  },
787
- width: n,
788
- ...r
807
+ width: l,
808
+ ...c
789
809
  }
790
810
  ), lo = ({
791
811
  alt: e = "",
792
812
  categoryGuid: o,
793
- merchantGuid: t,
794
- size: n = oe,
795
- ...r
813
+ merchantGuid: i,
814
+ size: l = te,
815
+ ...c
796
816
  }) => {
797
- const [c, l] = R.useState(!1), s = H();
798
- return /* @__PURE__ */ T(X, { display: "inline-block", position: "relative", ...r, children: [
799
- t && !c && /* @__PURE__ */ a(
817
+ const [t, n] = x.useState(!1), s = H();
818
+ return /* @__PURE__ */ T(j, { display: "inline-block", position: "relative", ...c, children: [
819
+ i && !t && /* @__PURE__ */ a(
800
820
  "img",
801
821
  {
802
822
  alt: e,
803
823
  "aria-hidden": !e,
804
- height: n,
805
- onError: () => l(!0),
806
- src: `${G}/merchant_logos/${t}.png`,
824
+ height: l,
825
+ onError: () => n(!0),
826
+ src: `${G}/merchant_logos/${i}.png`,
807
827
  style: {
808
828
  backgroundColor: s.palette.common.white,
809
829
  borderRadius: 4,
810
830
  boxSizing: "border-box",
811
831
  position: "absolute"
812
832
  },
813
- width: n
833
+ width: l
814
834
  }
815
835
  ),
816
- /* @__PURE__ */ a(Ve, { categoryGuid: o, size: n })
836
+ /* @__PURE__ */ a(Ve, { categoryGuid: o, size: l })
817
837
  ] });
818
838
  }, co = ({
819
839
  disabled: e = !1,
820
840
  label: o = "",
821
- shrink: t = !0,
822
- variant: n = "outlined",
823
- ...r
841
+ shrink: i = !0,
842
+ variant: l = "outlined",
843
+ ...c
824
844
  }) => /* @__PURE__ */ a(
825
- j,
845
+ Q,
826
846
  {
827
847
  InputLabelProps: {
828
- shrink: t
848
+ shrink: i
829
849
  },
830
850
  disabled: e,
831
851
  label: o,
832
- variant: n,
833
- ...r
852
+ variant: l,
853
+ ...c
834
854
  }
835
855
  );
836
856
  function Ye(e) {
837
- return /* @__PURE__ */ a(Q, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
857
+ return /* @__PURE__ */ a(J, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
838
858
  }
839
859
  const so = ({
840
860
  open: e,
841
861
  handleClose: o,
842
- message: t,
843
- autoHideDuration: n = 3e3,
844
- severity: r = "success",
845
- snackbarSx: c,
846
- showAction: l = !1,
862
+ message: i,
863
+ autoHideDuration: l = 3e3,
864
+ severity: c = "success",
865
+ snackbarSx: t,
866
+ showAction: n = !1,
847
867
  showClose: s = !1,
848
868
  actionText: d = "Undo",
849
- onActionClick: i,
869
+ onActionClick: r,
850
870
  multiLine: u = !1
851
871
  }) => {
852
872
  const C = H(), L = /* @__PURE__ */ T(
@@ -856,14 +876,14 @@ const so = ({
856
876
  direction: u ? "column-reverse" : "row",
857
877
  justifyContent: (
858
878
  // eslint-disable-next-line no-nested-ternary
859
- u && l && s ? "space-between" : "flex-end"
879
+ u && n && s ? "space-between" : "flex-end"
860
880
  ),
861
881
  children: [
862
- l && /* @__PURE__ */ a(
882
+ n && /* @__PURE__ */ a(
863
883
  V,
864
884
  {
865
885
  color: "inherit",
866
- onClick: i || o,
886
+ onClick: r || o,
867
887
  size: "small",
868
888
  sx: {
869
889
  color: C.palette.success.contrastText,
@@ -873,13 +893,13 @@ const so = ({
873
893
  }
874
894
  ),
875
895
  s && /* @__PURE__ */ a(
876
- J,
896
+ q,
877
897
  {
878
898
  "aria-label": "close",
879
899
  color: "inherit",
880
900
  onClick: o,
881
901
  sx: { height: 44, width: 44 },
882
- children: /* @__PURE__ */ a(x, { fill: !0, name: "close", size: 24, weight: 400 })
902
+ children: /* @__PURE__ */ a(R, { fill: !0, name: "close", size: 24, weight: 400 })
883
903
  }
884
904
  )
885
905
  ]
@@ -890,22 +910,22 @@ const so = ({
890
910
  {
891
911
  TransitionComponent: Ye,
892
912
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
893
- autoHideDuration: n,
913
+ autoHideDuration: l,
894
914
  onClose: o,
895
915
  open: e,
896
916
  sx: {
897
- ...c,
917
+ ...t,
898
918
  width: u ? 400 : 325
899
919
  },
900
920
  children: /* @__PURE__ */ a(
901
921
  Fe,
902
922
  {
903
923
  action: L,
904
- severity: r,
924
+ severity: c,
905
925
  sx: {
906
926
  display: "flex",
907
927
  alignItems: "stretch",
908
- minHeight: s && l && u ? 120 : 56,
928
+ minHeight: s && n && u ? 120 : 56,
909
929
  maxHeight: u ? 120 : 56,
910
930
  width: "100%",
911
931
  "& .MuiAlert-icon": {
@@ -932,7 +952,7 @@ const so = ({
932
952
  textOverflow: u ? "clip" : "ellipsis"
933
953
  },
934
954
  truncate: !u,
935
- children: t
955
+ children: i
936
956
  }
937
957
  )
938
958
  }
@@ -946,48 +966,48 @@ const so = ({
946
966
  }, N = {
947
967
  LIGHT: "light",
948
968
  DARK: "dark"
949
- }, re = R.createContext(q), te = R.createContext(
969
+ }, re = x.createContext(ee), ie = x.createContext(
950
970
  $(N.LIGHT, O.REACT_NATIVE)
951
971
  ), uo = ({
952
972
  children: e,
953
973
  target: o = O.REACT,
954
- theme: t = N.LIGHT,
955
- tokenOverrides: n
974
+ theme: i = N.LIGHT,
975
+ tokenOverrides: l
956
976
  }) => {
957
- const [r, c] = R.useState(t === N.LIGHT ? q : Oe), l = R.useMemo(() => ({
958
- ...n
959
- }), [n]);
960
- return R.useEffect(() => {
961
- const s = $(t, o, { ...l });
962
- c(s);
963
- }, [t, o, l]), o === O.REACT ? /* @__PURE__ */ a(re.Provider, { value: r, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(te.Provider, { value: r, children: e }));
977
+ const [c, t] = x.useState(i === N.LIGHT ? ee : Oe), n = x.useMemo(() => ({
978
+ ...l
979
+ }), [l]);
980
+ return x.useEffect(() => {
981
+ const s = $(i, o, { ...n });
982
+ t(s);
983
+ }, [i, o, n]), o === O.REACT ? /* @__PURE__ */ a(re.Provider, { value: c, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(ie.Provider, { value: c, children: e }));
964
984
  }, po = (e = O.REACT, o = {}) => {
965
- const t = e === O.REACT ? re : te, n = R.useContext(t);
966
- return n || $(N.LIGHT, e, { ...o });
985
+ const i = e === O.REACT ? re : ie, l = x.useContext(i);
986
+ return l || $(N.LIGHT, e, { ...o });
967
987
  }, ho = ({
968
988
  component: e = B,
969
989
  variant: o = "outlined",
970
- selected: t,
971
- onChange: n,
972
- headline: r,
973
- message: c,
974
- name: l,
990
+ selected: i,
991
+ onChange: l,
992
+ headline: c,
993
+ message: t,
994
+ name: n,
975
995
  value: s,
976
996
  disabled: d = !1,
977
- error: i = !1,
997
+ error: r = !1,
978
998
  icon: u = !1,
979
999
  sx: C = {},
980
1000
  ...L
981
1001
  }) => {
982
- const m = H(), ie = () => m.palette.background.paper, w = () => i ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : d ? t ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${m.palette.action.disabled}` : o === "outlined" ? t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : m.shadows[1], ae = () => d || i ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ne = () => d || i ? w() : o === "outlined" ? t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : w(), le = () => d || i ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
1002
+ const m = H(), ae = () => m.palette.background.paper, w = () => r ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : d ? i ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${m.palette.action.disabled}` : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : m.shadows[1], ne = () => d || r ? m.palette.background.paper : b(m.palette.primary.main, 0.1), le = () => d || r ? w() : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : w(), ce = () => d || r ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
983
1003
  return /* @__PURE__ */ a(
984
1004
  ke,
985
1005
  {
986
- checked: t,
1006
+ checked: i,
987
1007
  control: e === B ? /* @__PURE__ */ a(
988
1008
  B,
989
1009
  {
990
- name: l,
1010
+ name: n,
991
1011
  sx: {
992
1012
  p: 0,
993
1013
  ml: 16,
@@ -1002,7 +1022,7 @@ const so = ({
1002
1022
  ) : /* @__PURE__ */ a(
1003
1023
  Le,
1004
1024
  {
1005
- name: l,
1025
+ name: n,
1006
1026
  sx: {
1007
1027
  p: 0,
1008
1028
  ml: 16,
@@ -1019,12 +1039,12 @@ const so = ({
1019
1039
  label: /* @__PURE__ */ T(_, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
1020
1040
  u && /* @__PURE__ */ a(_, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: u }),
1021
1041
  /* @__PURE__ */ T(_, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
1022
- r && /* @__PURE__ */ a(Y, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
1023
- /* @__PURE__ */ a(Y, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: c })
1042
+ c && /* @__PURE__ */ a(X, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: c }),
1043
+ /* @__PURE__ */ a(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: t })
1024
1044
  ] })
1025
1045
  ] }),
1026
1046
  labelPlacement: "start",
1027
- onChange: n,
1047
+ onChange: l,
1028
1048
  sx: {
1029
1049
  display: "flex",
1030
1050
  padding: "6px 16px",
@@ -1034,7 +1054,7 @@ const so = ({
1034
1054
  mb: 16,
1035
1055
  cursor: d ? "not-allowed" : "pointer",
1036
1056
  opacity: d ? 0.6 : 1,
1037
- backgroundColor: ie(),
1057
+ backgroundColor: ae(),
1038
1058
  border: "none",
1039
1059
  boxShadow: w(),
1040
1060
  boxSizing: "border-box",
@@ -1042,11 +1062,11 @@ const so = ({
1042
1062
  duration: m.transitions.duration.short
1043
1063
  }),
1044
1064
  "&:hover": {
1045
- backgroundColor: ae(),
1046
- boxShadow: ne()
1065
+ backgroundColor: ne(),
1066
+ boxShadow: le()
1047
1067
  },
1048
1068
  "&:active": {
1049
- backgroundColor: le()
1069
+ backgroundColor: ce()
1050
1070
  },
1051
1071
  "&:focus-visible": {
1052
1072
  outline: `2px solid ${m.palette.info.main}`,
@@ -1140,15 +1160,15 @@ const so = ({
1140
1160
  TRAVEL: "#76ACF7",
1141
1161
  UNCATEGORIZED: "#BCC6D4"
1142
1162
  }, qe = (e, o) => {
1143
- const t = M(o?.primary || E.PRIMARY), n = M(o?.secondary || E.SECONDARY), r = M(o?.error || E.ERROR), c = M(o?.warning || E.WARNING), l = M(o?.info || E.INFO), s = M(o?.success || E.SUCCESS), d = M(o?.grey || E.GREY), i = e === y.LIGHT;
1163
+ const i = M(o?.primary || E.PRIMARY), l = M(o?.secondary || E.SECONDARY), c = M(o?.error || E.ERROR), t = M(o?.warning || E.WARNING), n = M(o?.info || E.INFO), s = M(o?.success || E.SUCCESS), d = M(o?.grey || E.GREY), r = e === y.LIGHT;
1144
1164
  return {
1145
1165
  mode: e,
1146
1166
  // DEPRECATED: Use grey instead
1147
1167
  border: {
1148
1168
  /* DEPRECATED: Use light instead */
1149
- lighter: i ? d[300] : d[700],
1150
- light: i ? d[300] : d[700],
1151
- main: i ? d[400] : d[600],
1169
+ lighter: r ? d[300] : d[700],
1170
+ light: r ? d[300] : d[700],
1171
+ main: r ? d[400] : d[600],
1152
1172
  dark: d[500],
1153
1173
  /* DEPRECATED: Use light instead */
1154
1174
  darker: d[500]
@@ -1158,118 +1178,118 @@ const so = ({
1158
1178
  black: z
1159
1179
  },
1160
1180
  primary: {
1161
- ...t,
1181
+ ...i,
1162
1182
  /* DEPRECATED: Use light instead */
1163
- lighter: i ? t[100] : t[800],
1164
- light: i ? t[300] : t[600],
1165
- main: i ? t[500] : t[400],
1166
- dark: i ? t[700] : t[200],
1183
+ lighter: r ? i[100] : i[800],
1184
+ light: r ? i[300] : i[600],
1185
+ main: r ? i[500] : i[400],
1186
+ dark: r ? i[700] : i[200],
1167
1187
  /* DEPRECATED: Use dark instead */
1168
- darker: i ? t[900] : t[100]
1188
+ darker: r ? i[900] : i[100]
1169
1189
  },
1170
1190
  secondary: {
1171
- ...n,
1191
+ ...l,
1172
1192
  /* DEPRECATED: Use light instead */
1173
- lighter: i ? n[100] : n[800],
1174
- light: i ? n[300] : n[600],
1175
- main: i ? n[500] : n[400],
1176
- dark: i ? n[700] : n[200],
1193
+ lighter: r ? l[100] : l[800],
1194
+ light: r ? l[300] : l[600],
1195
+ main: r ? l[500] : l[400],
1196
+ dark: r ? l[700] : l[200],
1177
1197
  /* DEPRECATED: Use dark instead */
1178
- darker: i ? n[900] : n[100]
1198
+ darker: r ? l[900] : l[100]
1179
1199
  },
1180
1200
  neutral: {
1181
1201
  ...d,
1182
1202
  /* DEPRECATED: Use light instead */
1183
- lighter: i ? d[100] : d[800],
1184
- light: i ? d[300] : d[600],
1185
- main: i ? d[500] : d[400],
1186
- dark: i ? d[700] : d[200],
1203
+ lighter: r ? d[100] : d[800],
1204
+ light: r ? d[300] : d[600],
1205
+ main: r ? d[500] : d[400],
1206
+ dark: r ? d[700] : d[200],
1187
1207
  /* DEPRECATED: Use dark instead */
1188
- darker: i ? d[900] : d[100],
1189
- contrastText: De(i ? d[700] : d[400], "#fff") > 4.5 ? A : d[900]
1208
+ darker: r ? d[900] : d[100],
1209
+ contrastText: De(r ? d[700] : d[400], "#fff") > 4.5 ? A : d[900]
1190
1210
  },
1191
1211
  text: {
1192
- primary: i ? d[900] : A,
1193
- secondary: i ? d[600] : b(A, 0.7),
1194
- disabled: i ? d[500] : b(A, 0.38)
1212
+ primary: r ? d[900] : A,
1213
+ secondary: r ? d[600] : b(A, 0.7),
1214
+ disabled: r ? d[500] : b(A, 0.38)
1195
1215
  },
1196
1216
  error: {
1197
- ...r,
1217
+ ...c,
1198
1218
  /* DEPRECATED: Use light instead */
1199
- lighter: i ? r[100] : r[800],
1200
- light: i ? r[300] : r[600],
1201
- main: i ? r[500] : r[400],
1202
- dark: i ? r[700] : r[200],
1219
+ lighter: r ? c[100] : c[800],
1220
+ light: r ? c[300] : c[600],
1221
+ main: r ? c[500] : c[400],
1222
+ dark: r ? c[700] : c[200],
1203
1223
  /* DEPRECATED: Use light instead */
1204
- darker: i ? r[900] : r[100]
1224
+ darker: r ? c[900] : c[100]
1205
1225
  },
1206
1226
  warning: {
1207
- ...c,
1227
+ ...t,
1208
1228
  /* DEPRECATED: Use light instead */
1209
- lighter: i ? c[100] : c[800],
1210
- light: i ? c[300] : c[600],
1211
- main: i ? c[500] : c[400],
1212
- dark: i ? c[700] : c[200],
1229
+ lighter: r ? t[100] : t[800],
1230
+ light: r ? t[300] : t[600],
1231
+ main: r ? t[500] : t[400],
1232
+ dark: r ? t[700] : t[200],
1213
1233
  /* DEPRECATED: Use light instead */
1214
- darker: i ? c[900] : c[100]
1234
+ darker: r ? t[900] : t[100]
1215
1235
  },
1216
1236
  info: {
1217
- ...l,
1237
+ ...n,
1218
1238
  /* DEPRECATED: Use light instead */
1219
- lighter: i ? l[100] : l[800],
1220
- light: i ? l[300] : l[600],
1221
- main: i ? l[500] : l[400],
1222
- dark: i ? l[700] : l[200],
1239
+ lighter: r ? n[100] : n[800],
1240
+ light: r ? n[300] : n[600],
1241
+ main: r ? n[500] : n[400],
1242
+ dark: r ? n[700] : n[200],
1223
1243
  /* DEPRECATED: Use light instead */
1224
- darker: i ? l[900] : l[100]
1244
+ darker: r ? n[900] : n[100]
1225
1245
  },
1226
1246
  success: {
1227
1247
  ...s,
1228
1248
  /* DEPRECATED: Use light instead */
1229
- lighter: i ? s[100] : s[800],
1230
- light: i ? s[300] : s[600],
1231
- main: i ? s[500] : s[400],
1232
- dark: i ? s[700] : s[200],
1249
+ lighter: r ? s[100] : s[800],
1250
+ light: r ? s[300] : s[600],
1251
+ main: r ? s[500] : s[400],
1252
+ dark: r ? s[700] : s[200],
1233
1253
  /* DEPRECATED: Use light instead */
1234
- darker: i ? s[900] : s[100]
1254
+ darker: r ? s[900] : s[100]
1235
1255
  },
1236
1256
  grey: d,
1237
1257
  action: {
1238
- active: i ? b(z, 0.56) : b(A, 0.56),
1239
- hoverOpacity: i ? 0.1 : 0.2,
1240
- selectedOpacity: i ? 0.16 : 0.25,
1258
+ active: r ? b(z, 0.56) : b(A, 0.56),
1259
+ hoverOpacity: r ? 0.1 : 0.2,
1260
+ selectedOpacity: r ? 0.16 : 0.25,
1241
1261
  focusOpacity: 0.3
1242
1262
  },
1243
1263
  background: {
1244
- default: i ? o?.background?.default?.light || Xe : o?.background?.default?.dark || je,
1245
- paper: i ? o?.background?.paper?.light || Qe : o?.background?.paper?.dark || Je,
1246
- highlight: i ? d[200] : d[600],
1247
- highlightPrimary: i ? t[100] : t[500]
1264
+ default: r ? o?.background?.default?.light || Xe : o?.background?.default?.dark || je,
1265
+ paper: r ? o?.background?.paper?.light || Qe : o?.background?.paper?.dark || Je,
1266
+ highlight: r ? d[200] : d[600],
1267
+ highlightPrimary: r ? i[100] : i[500]
1248
1268
  },
1249
- divider: i ? b(z, 0.12) : b(A, 0.24),
1269
+ divider: r ? b(z, 0.12) : b(A, 0.24),
1250
1270
  categories: {
1251
- autoTransport: i ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1252
- billsUtilities: i ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1253
- businessServices: i ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1254
- education: i ? p.EDUCATION : h.EDUCATION,
1255
- entertainment: i ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1256
- feesCharges: i ? p.FEES_CHARGES : h.FEES_CHARGES,
1257
- financial: i ? p.FINANCIAL : h.FINANCIAL,
1258
- foodDining: i ? p.FOOD_DINING : h.FOOD_DINING,
1259
- giftsDonations: i ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1260
- healthFitness: i ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1261
- home: i ? p.HOME : h.HOME,
1262
- income: i ? p.INCOME : h.INCOME,
1263
- investments: i ? p.INVESTMENTS : h.INVESTMENTS,
1264
- kids: i ? p.KIDS : h.KIDS,
1265
- others: i ? p.OTHERS : h.OTHERS,
1266
- personalCare: i ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1267
- pets: i ? p.PETS : h.PETS,
1268
- shopping: i ? p.SHOPPING : h.SHOPPING,
1269
- taxes: i ? p.TAXES : h.TAXES,
1270
- transfer: i ? p.TRANSFER : h.TRANSFER,
1271
- travel: i ? p.TRAVEL : h.TRAVEL,
1272
- uncategorized: i ? p.UNCATEGORIZED : h.UNCATEGORIZED
1271
+ autoTransport: r ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1272
+ billsUtilities: r ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1273
+ businessServices: r ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1274
+ education: r ? p.EDUCATION : h.EDUCATION,
1275
+ entertainment: r ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1276
+ feesCharges: r ? p.FEES_CHARGES : h.FEES_CHARGES,
1277
+ financial: r ? p.FINANCIAL : h.FINANCIAL,
1278
+ foodDining: r ? p.FOOD_DINING : h.FOOD_DINING,
1279
+ giftsDonations: r ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1280
+ healthFitness: r ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1281
+ home: r ? p.HOME : h.HOME,
1282
+ income: r ? p.INCOME : h.INCOME,
1283
+ investments: r ? p.INVESTMENTS : h.INVESTMENTS,
1284
+ kids: r ? p.KIDS : h.KIDS,
1285
+ others: r ? p.OTHERS : h.OTHERS,
1286
+ personalCare: r ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1287
+ pets: r ? p.PETS : h.PETS,
1288
+ shopping: r ? p.SHOPPING : h.SHOPPING,
1289
+ taxes: r ? p.TAXES : h.TAXES,
1290
+ transfer: r ? p.TRANSFER : h.TRANSFER,
1291
+ travel: r ? p.TRAVEL : h.TRAVEL,
1292
+ uncategorized: r ? p.UNCATEGORIZED : h.UNCATEGORIZED
1273
1293
  },
1274
1294
  chart: {
1275
1295
  chart1: S.CHART1,
@@ -1427,8 +1447,8 @@ we.setLicenseKey(
1427
1447
  "702b0c04dc7df078768d2d45cd3a98c6Tz0xMjEzMDYsRT0xNzkzNzUwMzk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
1428
1448
  );
1429
1449
  const go = (e, o) => {
1430
- const t = qe(e, o?.paletteOptions), n = o0(o?.typographyOptions);
1431
- return ce({
1450
+ const i = qe(e, o?.paletteOptions), l = o0(o?.typographyOptions), c = [...U().shadows];
1451
+ return c[1] = "0px 2px 8px 0 rgba(0, 0, 0, 0.12)", c[8] = "0px 6px 12px 0 rgba(0, 0, 0, 0.16), 0px 3px 8px 0 rgba(0, 0, 0, 0.06)", c[16] = "0px 12px 20px 0 rgba(0, 0, 0, 0.22)", U({
1432
1452
  breakpoints: {
1433
1453
  values: {
1434
1454
  xs: 444,
@@ -1438,38 +1458,39 @@ const go = (e, o) => {
1438
1458
  xl: 1536
1439
1459
  }
1440
1460
  },
1441
- palette: t,
1461
+ palette: i,
1442
1462
  shape: {
1443
1463
  borderRadius: o?.shapeOptions?.borderRadius || 4
1444
1464
  },
1465
+ shadows: c,
1445
1466
  spacing: 1,
1446
1467
  // TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
1447
- typography: n,
1468
+ typography: l,
1448
1469
  components: {
1449
1470
  MuiAlert: {
1450
1471
  defaultProps: {
1451
1472
  iconMapping: {
1452
- success: /* @__PURE__ */ a(x, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1453
- error: /* @__PURE__ */ a(x, { fill: !0, name: "error", size: 24, weight: 400 }),
1454
- warning: /* @__PURE__ */ a(x, { fill: !0, name: "warning", size: 24, weight: 400 }),
1455
- info: /* @__PURE__ */ a(x, { fill: !0, name: "info", size: 24, weight: 400 })
1473
+ success: /* @__PURE__ */ a(R, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1474
+ error: /* @__PURE__ */ a(R, { fill: !0, name: "error", size: 24, weight: 400 }),
1475
+ warning: /* @__PURE__ */ a(R, { fill: !0, name: "warning", size: 24, weight: 400 }),
1476
+ info: /* @__PURE__ */ a(R, { fill: !0, name: "info", size: 24, weight: 400 })
1456
1477
  },
1457
1478
  variant: "outlined"
1458
1479
  },
1459
1480
  styleOverrides: {
1460
- root: ({ theme: r, ownerState: c }) => {
1461
- const l = c.severity || "info";
1462
- let s = r.palette.mode === y.LIGHT ? r.palette[l]?.[50] : r.palette[l]?.[800];
1463
- if (c.variant === "filled") {
1464
- const d = l === "warning";
1465
- s = r.palette[l]?.[d ? 400 : 600];
1481
+ root: ({ theme: t, ownerState: n }) => {
1482
+ const s = n.severity || "info";
1483
+ let d = t.palette.mode === y.LIGHT ? t.palette[s]?.[50] : t.palette[s]?.[800];
1484
+ if (n.variant === "filled") {
1485
+ const r = s === "warning";
1486
+ d = t.palette[s]?.[r ? 400 : 600];
1466
1487
  }
1467
1488
  return {
1468
- backgroundColor: s,
1469
- borderRadius: r.shape.borderRadius,
1489
+ backgroundColor: d,
1490
+ borderRadius: t.shape.borderRadius,
1470
1491
  "& .MuiAlert-message": {
1471
- fontSize: r.typography.subtitle1.fontSize,
1472
- lineHeight: r.typography.subtitle1.lineHeight,
1492
+ fontSize: t.typography.subtitle1.fontSize,
1493
+ lineHeight: t.typography.subtitle1.lineHeight,
1473
1494
  marginTop: "auto",
1474
1495
  marginBottom: "auto"
1475
1496
  },
@@ -1495,14 +1516,14 @@ const go = (e, o) => {
1495
1516
  disableElevation: !0
1496
1517
  },
1497
1518
  styleOverrides: {
1498
- root: ({ theme: r }) => ({
1519
+ root: ({ theme: t }) => ({
1499
1520
  fontWeight: 600,
1500
1521
  textTransform: "none",
1501
1522
  "&.Mui-disabled": {
1502
1523
  cursor: "not-allowed"
1503
1524
  },
1504
1525
  "&.Mui-focusVisible": {
1505
- outline: `2px solid ${r.palette.info.main}`,
1526
+ outline: `2px solid ${t.palette.info.main}`,
1506
1527
  outlineOffset: "2px"
1507
1528
  }
1508
1529
  }),
@@ -1539,7 +1560,7 @@ const go = (e, o) => {
1539
1560
  styleOverrides: {
1540
1561
  root: {
1541
1562
  "&.Mui-focusVisible": {
1542
- boxShadow: `inset 0 0 0 2px ${t.info.main}`
1563
+ boxShadow: `inset 0 0 0 2px ${i.info.main}`
1543
1564
  }
1544
1565
  }
1545
1566
  }
@@ -1568,22 +1589,22 @@ const go = (e, o) => {
1568
1589
  },
1569
1590
  MuiDataGrid: {
1570
1591
  styleOverrides: {
1571
- root: ({ theme: r }) => ({
1592
+ root: ({ theme: t }) => ({
1572
1593
  border: "none",
1573
1594
  borderRadius: 0,
1574
- fontSize: r.typography.body2.fontSize,
1595
+ fontSize: t.typography.body2.fontSize,
1575
1596
  "& .MuiDataGrid-cell": {
1576
1597
  display: "flex",
1577
1598
  alignItems: "center",
1578
1599
  borderTop: "1px solid",
1579
- borderColor: r.palette.background.highlight
1600
+ borderColor: t.palette.background.highlight
1580
1601
  },
1581
1602
  "& .MuiDataGrid-cell:focus": { outline: "unset" },
1582
1603
  "& .MuiDataGrid-iconSeparator": { display: "none" },
1583
1604
  "& .MuiDataGrid-columnHeaders": {
1584
- backgroundColor: r.palette.background.paper,
1605
+ backgroundColor: t.palette.background.paper,
1585
1606
  borderBottom: "2px solid",
1586
- borderColor: r.palette.divider
1607
+ borderColor: t.palette.divider
1587
1608
  },
1588
1609
  "& .MuiDataGrid-columnHeaderTitle": {
1589
1610
  fontWeight: 600
@@ -1601,42 +1622,42 @@ const go = (e, o) => {
1601
1622
  },
1602
1623
  MuiDateRangePickerDay: {
1603
1624
  styleOverrides: {
1604
- root: ({ theme: r }) => ({
1625
+ root: ({ theme: t }) => ({
1605
1626
  ":first-of-type": {
1606
- borderTopLeftRadius: r.shape.borderRadius,
1607
- borderBottomLeftRadius: r.shape.borderRadius,
1627
+ borderTopLeftRadius: t.shape.borderRadius,
1628
+ borderBottomLeftRadius: t.shape.borderRadius,
1608
1629
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1609
- borderTopLeftRadius: r.shape.borderRadius,
1610
- borderBottomLeftRadius: r.shape.borderRadius
1630
+ borderTopLeftRadius: t.shape.borderRadius,
1631
+ borderBottomLeftRadius: t.shape.borderRadius
1611
1632
  }
1612
1633
  },
1613
1634
  ":last-of-type": {
1614
- borderTopRightRadius: r.shape.borderRadius,
1615
- borderBottomRightRadius: r.shape.borderRadius,
1635
+ borderTopRightRadius: t.shape.borderRadius,
1636
+ borderBottomRightRadius: t.shape.borderRadius,
1616
1637
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1617
- borderTopRightRadius: r.shape.borderRadius,
1618
- borderBottomRightRadius: r.shape.borderRadius
1638
+ borderTopRightRadius: t.shape.borderRadius,
1639
+ borderBottomRightRadius: t.shape.borderRadius
1619
1640
  }
1620
1641
  },
1621
1642
  "& .Mui-selected": {
1622
- borderRadius: r.shape.borderRadius
1643
+ borderRadius: t.shape.borderRadius
1623
1644
  },
1624
1645
  "& .MuiPickersDay-dayOutsideMonth": {
1625
- color: r.palette.action.disabled
1646
+ color: t.palette.action.disabled
1626
1647
  }
1627
1648
  }),
1628
- day: ({ theme: r }) => ({
1629
- borderRadius: r.shape.borderRadius
1649
+ day: ({ theme: t }) => ({
1650
+ borderRadius: t.shape.borderRadius
1630
1651
  }),
1631
- rangeIntervalDayPreview: ({ theme: r }) => ({
1632
- borderRadius: r.shape.borderRadius
1652
+ rangeIntervalDayPreview: ({ theme: t }) => ({
1653
+ borderRadius: t.shape.borderRadius
1633
1654
  })
1634
1655
  }
1635
1656
  },
1636
1657
  MuiDayCalendar: {
1637
1658
  styleOverrides: {
1638
- weekDayLabel: ({ theme: r }) => ({
1639
- fontSize: r.typography.body2.fontSize,
1659
+ weekDayLabel: ({ theme: t }) => ({
1660
+ fontSize: t.typography.body2.fontSize,
1640
1661
  fontWeight: 700
1641
1662
  })
1642
1663
  }
@@ -1678,14 +1699,14 @@ const go = (e, o) => {
1678
1699
  },
1679
1700
  MuiFormHelperText: {
1680
1701
  styleOverrides: {
1681
- root: ({ theme: r }) => ({
1702
+ root: ({ theme: t }) => ({
1682
1703
  fontSize: 13,
1683
1704
  // Small
1684
1705
  marginLeft: 0,
1685
1706
  display: "flex",
1686
1707
  alignItems: "center",
1687
1708
  position: "relative",
1688
- color: r.palette.text.secondary,
1709
+ color: t.palette.text.secondary,
1689
1710
  "& .MuiSvgIcon-root": {
1690
1711
  height: "16px",
1691
1712
  width: "16px",
@@ -1701,7 +1722,7 @@ const go = (e, o) => {
1701
1722
  MuiFormLabel: {
1702
1723
  styleOverrides: {
1703
1724
  asterisk: {
1704
- color: t.error.main
1725
+ color: i.error.main
1705
1726
  }
1706
1727
  }
1707
1728
  },
@@ -1716,19 +1737,19 @@ const go = (e, o) => {
1716
1737
  disableFocusRipple: !0
1717
1738
  },
1718
1739
  styleOverrides: {
1719
- root: ({ theme: r }) => ({
1720
- borderRadius: r.shape.borderRadius,
1740
+ root: ({ theme: t }) => ({
1741
+ borderRadius: t.shape.borderRadius,
1721
1742
  minHeight: 44,
1722
1743
  // touch target
1723
1744
  minWidth: 44,
1724
1745
  // touch target
1725
1746
  "&.Mui-focusVisible": {
1726
- outline: `2px solid ${r.palette.info.main}`,
1747
+ outline: `2px solid ${t.palette.info.main}`,
1727
1748
  outlineOffset: "2px"
1728
1749
  },
1729
1750
  "& .MuiTouchRipple-root": {
1730
1751
  "& .MuiTouchRipple-child": {
1731
- borderRadius: r.shape.borderRadius
1752
+ borderRadius: t.shape.borderRadius
1732
1753
  }
1733
1754
  }
1734
1755
  })
@@ -1749,13 +1770,13 @@ const go = (e, o) => {
1749
1770
  borderRadius: 4
1750
1771
  },
1751
1772
  colorPrimary: {
1752
- backgroundColor: t.grey[300]
1773
+ backgroundColor: i.grey[300]
1753
1774
  }
1754
1775
  }
1755
1776
  },
1756
1777
  MuiLink: {
1757
1778
  styleOverrides: {
1758
- root: ({ theme: r, color: c }) => ({
1779
+ root: ({ theme: t, color: n }) => ({
1759
1780
  cursor: "pointer",
1760
1781
  fontWeight: 600,
1761
1782
  textDecoration: "none",
@@ -1767,10 +1788,10 @@ const go = (e, o) => {
1767
1788
  outlineOffset: "2px"
1768
1789
  },
1769
1790
  "&:hover": {
1770
- backgroundColor: r.palette.action.hover
1791
+ backgroundColor: t.palette.action.hover
1771
1792
  },
1772
1793
  "&:active": {
1773
- backgroundColor: r.palette.mode === y.LIGHT ? r.palette[c].light : r.palette[c].dark
1794
+ backgroundColor: t.palette.mode === y.LIGHT ? t.palette[n].light : t.palette[n].dark
1774
1795
  }
1775
1796
  })
1776
1797
  }
@@ -1797,9 +1818,9 @@ const go = (e, o) => {
1797
1818
  disablePadding: !0
1798
1819
  },
1799
1820
  styleOverrides: {
1800
- root: ({ ownerState: r }) => ({
1821
+ root: ({ ownerState: t }) => ({
1801
1822
  minHeight: 64,
1802
- ...!r.disablePadding && {
1823
+ ...!t.disablePadding && {
1803
1824
  paddingTop: 12,
1804
1825
  paddingBottom: 12,
1805
1826
  paddingLeft: 24
@@ -1823,7 +1844,7 @@ const go = (e, o) => {
1823
1844
  },
1824
1845
  MuiListItemButton: {
1825
1846
  styleOverrides: {
1826
- root: ({ theme: r }) => ({
1847
+ root: ({ theme: t }) => ({
1827
1848
  minHeight: 64,
1828
1849
  paddingLeft: 24,
1829
1850
  paddingRight: 24,
@@ -1832,7 +1853,7 @@ const go = (e, o) => {
1832
1853
  "&.Mui-focusVisible": {
1833
1854
  backgroundColor: "transparent",
1834
1855
  borderRadius: 8,
1835
- outline: `2px solid ${r.palette.info.main}`,
1856
+ outline: `2px solid ${t.palette.info.main}`,
1836
1857
  outlineOffset: -2
1837
1858
  }
1838
1859
  })
@@ -1854,7 +1875,7 @@ const go = (e, o) => {
1854
1875
  },
1855
1876
  secondaryTypographyProps: {
1856
1877
  fontSize: 11,
1857
- color: t.text.secondary
1878
+ color: i.text.secondary
1858
1879
  }
1859
1880
  },
1860
1881
  styleOverrides: {
@@ -1874,7 +1895,7 @@ const go = (e, o) => {
1874
1895
  lineHeight: "inherit",
1875
1896
  top: -1,
1876
1897
  // This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
1877
- backgroundColor: t.background.default
1898
+ backgroundColor: i.background.default
1878
1899
  }
1879
1900
  }
1880
1901
  },
@@ -1948,20 +1969,20 @@ const go = (e, o) => {
1948
1969
  gridColumn: "1/4",
1949
1970
  "& > .MuiTypography-root": {
1950
1971
  textTransform: "uppercase",
1951
- fontSize: n.body2.fontSize,
1972
+ fontSize: l.body2.fontSize,
1952
1973
  fontWeight: 600,
1953
- lineHeight: n.body2.lineHeight
1974
+ lineHeight: l.body2.lineHeight
1954
1975
  }
1955
1976
  }
1956
1977
  }
1957
1978
  },
1958
1979
  MuiPickersToolbar: {
1959
1980
  styleOverrides: {
1960
- content: ({ theme: r }) => ({
1981
+ content: ({ theme: t }) => ({
1961
1982
  marginTop: 4,
1962
1983
  "& .MuiTypography-root": {
1963
- fontSize: r.typography.h3.fontSize,
1964
- lineHeight: r.typography.h3.lineHeight
1984
+ fontSize: t.typography.h3.fontSize,
1985
+ lineHeight: t.typography.h3.lineHeight
1965
1986
  }
1966
1987
  })
1967
1988
  }
@@ -1987,7 +2008,7 @@ const go = (e, o) => {
1987
2008
  disableFocusRipple: !0
1988
2009
  },
1989
2010
  styleOverrides: {
1990
- root: ({ theme: r }) => ({
2011
+ root: ({ theme: t }) => ({
1991
2012
  width: 37,
1992
2013
  height: 20,
1993
2014
  padding: 0,
@@ -1998,7 +2019,7 @@ const go = (e, o) => {
1998
2019
  "&.Mui-checked": {
1999
2020
  transform: "translateX(16px)",
2000
2021
  "& + .MuiSwitch-track": {
2001
- backgroundColor: r.palette.success.main,
2022
+ backgroundColor: t.palette.success.main,
2002
2023
  opacity: 1,
2003
2024
  border: 0
2004
2025
  },
@@ -2007,27 +2028,27 @@ const go = (e, o) => {
2007
2028
  }
2008
2029
  },
2009
2030
  "&.Mui-disabled .MuiSwitch-thumb": {
2010
- color: r.palette.common.white
2031
+ color: t.palette.common.white
2011
2032
  },
2012
2033
  "&.Mui-disabled + .MuiSwitch-track": {
2013
- backgroundColor: r.palette.action.disabledBackground,
2034
+ backgroundColor: t.palette.action.disabledBackground,
2014
2035
  opacity: 1
2015
2036
  }
2016
2037
  },
2017
2038
  "& .MuiSwitch-input": {
2018
2039
  "&:focus-visible ~ .MuiSwitch-thumb": {
2019
- outline: `2px solid ${r.palette.info.main}`,
2040
+ outline: `2px solid ${t.palette.info.main}`,
2020
2041
  outlineOffset: 0
2021
2042
  }
2022
2043
  },
2023
2044
  "& .MuiSwitch-thumb": {
2024
2045
  boxSizing: "border-box",
2025
- backgroundColor: r.palette.background.paper,
2046
+ backgroundColor: t.palette.background.paper,
2026
2047
  width: 16,
2027
2048
  height: 16
2028
2049
  },
2029
2050
  "& .MuiSwitch-track": {
2030
- backgroundColor: r.palette.action.active,
2051
+ backgroundColor: t.palette.action.active,
2031
2052
  borderRadius: 20 / 2,
2032
2053
  opacity: 1
2033
2054
  }
@@ -2044,7 +2065,7 @@ const go = (e, o) => {
2044
2065
  fontWeight: 600,
2045
2066
  "&.Mui-focusVisible": {
2046
2067
  outline: "none",
2047
- boxShadow: `inset 0 0 0 2px ${t.info.main}`,
2068
+ boxShadow: `inset 0 0 0 2px ${i.info.main}`,
2048
2069
  borderRadius: 4
2049
2070
  }
2050
2071
  }
@@ -2055,7 +2076,7 @@ const go = (e, o) => {
2055
2076
  root: {
2056
2077
  borderBottomStyle: "solid",
2057
2078
  borderBottomWidth: 1,
2058
- borderColor: t.divider,
2079
+ borderColor: i.divider,
2059
2080
  marginBottom: 8
2060
2081
  }
2061
2082
  }
@@ -2069,7 +2090,7 @@ const go = (e, o) => {
2069
2090
  },
2070
2091
  styleOverrides: {
2071
2092
  root: {
2072
- backgroundColor: t.background.paper
2093
+ backgroundColor: i.background.paper
2073
2094
  }
2074
2095
  }
2075
2096
  },
@@ -2079,53 +2100,56 @@ const go = (e, o) => {
2079
2100
  disableFocusRipple: !0
2080
2101
  },
2081
2102
  styleOverrides: {
2082
- root: {
2083
- color: t.text.primary,
2103
+ root: ({ theme: t }) => ({
2104
+ color: t.palette.text.primary,
2084
2105
  fontSize: 13,
2085
2106
  lineHeight: "16px",
2086
2107
  textTransform: "none",
2087
2108
  "&:focus-visible": {
2088
- outline: `2px solid ${t.info.main}`,
2109
+ outline: `2px solid ${t.palette.info.main}`,
2089
2110
  outlineOffset: "2px"
2090
2111
  },
2091
2112
  "&:hover": {
2092
- backgroundColor: b(t.primary.main, t.mode === y.LIGHT ? 0.1 : 0.2),
2093
- borderColor: t.primary.main
2113
+ backgroundColor: b(
2114
+ t.palette.primary.main,
2115
+ t.palette.mode === y.LIGHT ? 0.1 : 0.2
2116
+ ),
2117
+ borderColor: t.palette.primary.main
2094
2118
  },
2095
2119
  "&.Mui-selected": {
2096
2120
  fontWeight: 600,
2097
- borderColor: t.primary.main,
2121
+ borderColor: t.palette.primary.main,
2098
2122
  "&:hover": {
2099
- boxShadow: `inset 0px 0px 0px 2px ${t.primary.main}`
2123
+ boxShadow: `inset 0px 0px 0px 2px ${t.palette.primary.main}`
2100
2124
  }
2101
2125
  },
2102
2126
  "& .MuiTouchRipple-root": {
2103
2127
  "& .MuiTouchRipple-ripple": {
2104
2128
  "& .MuiTouchRipple-child": {
2105
- backgroundColor: t.primary.main
2129
+ backgroundColor: t.palette.primary.main
2106
2130
  }
2107
2131
  }
2108
2132
  }
2109
- }
2133
+ })
2110
2134
  },
2111
2135
  variants: [
2112
2136
  {
2113
2137
  props: { color: "error" },
2114
2138
  style: {
2115
2139
  "&:hover": {
2116
- backgroundColor: b(t.error.main, t.mode === y.LIGHT ? 0.1 : 0.2),
2117
- borderColor: t.error.main
2140
+ backgroundColor: b(i.error.main, i.mode === y.LIGHT ? 0.1 : 0.2),
2141
+ borderColor: i.error.main
2118
2142
  },
2119
2143
  "&.Mui-selected": {
2120
- borderColor: t.error.main,
2144
+ borderColor: i.error.main,
2121
2145
  "&:hover": {
2122
- boxShadow: `inset 0px 0px 0px 2px ${t.error.main}`
2146
+ boxShadow: `inset 0px 0px 0px 2px ${i.error.main}`
2123
2147
  }
2124
2148
  },
2125
2149
  "& .MuiTouchRipple-root": {
2126
2150
  "& .MuiTouchRipple-ripple": {
2127
2151
  "& .MuiTouchRipple-child": {
2128
- backgroundColor: t.error.main
2152
+ backgroundColor: i.error.main
2129
2153
  }
2130
2154
  }
2131
2155
  }
@@ -2136,21 +2160,21 @@ const go = (e, o) => {
2136
2160
  style: {
2137
2161
  "&:hover": {
2138
2162
  backgroundColor: b(
2139
- t.secondary.main,
2140
- t.mode === y.LIGHT ? 0.1 : 0.2
2163
+ i.secondary.main,
2164
+ i.mode === y.LIGHT ? 0.1 : 0.2
2141
2165
  ),
2142
- borderColor: t.secondary.main
2166
+ borderColor: i.secondary.main
2143
2167
  },
2144
2168
  "&.Mui-selected": {
2145
- borderColor: t.secondary.main,
2169
+ borderColor: i.secondary.main,
2146
2170
  "&:hover": {
2147
- boxShadow: `inset 0px 0px 0px 2px ${t.secondary.main}`
2171
+ boxShadow: `inset 0px 0px 0px 2px ${i.secondary.main}`
2148
2172
  }
2149
2173
  },
2150
2174
  "& .MuiTouchRipple-root": {
2151
2175
  "& .MuiTouchRipple-ripple": {
2152
2176
  "& .MuiTouchRipple-child": {
2153
- backgroundColor: t.secondary.main
2177
+ backgroundColor: i.secondary.main
2154
2178
  }
2155
2179
  }
2156
2180
  }
@@ -2202,10 +2226,10 @@ export {
2202
2226
  We as Footer,
2203
2227
  Ze as H1,
2204
2228
  oo as H2,
2205
- ro as H3,
2229
+ to as H3,
2206
2230
  Y0 as HeartIcon,
2207
2231
  e0 as INTER,
2208
- x as Icon,
2232
+ R as Icon,
2209
2233
  Pe as IconWeight,
2210
2234
  no as InstitutionLogo,
2211
2235
  j0 as MXLogoCopyrightIcon,
@@ -2213,7 +2237,7 @@ export {
2213
2237
  X0 as MXLogoIcon,
2214
2238
  J0 as MXLogoOutlineIcon,
2215
2239
  lo as MerchantLogo,
2216
- to as P,
2240
+ ro as P,
2217
2241
  ho as SelectionBox,
2218
2242
  O as TARGETS,
2219
2243
  N as THEMES,