@mxenabled/mxui 1.6.0-alpha.5 → 2.0.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.
Files changed (29) hide show
  1. package/README.md +32 -0
  2. package/dist/components/icon/Icon.d.ts +1 -9
  3. package/dist/components/icon/icons/index.d.ts +0 -13
  4. package/dist/components/icon/index.d.ts +1 -1
  5. package/dist/components/selectionbox/SelectionBox.d.ts +3 -1
  6. package/dist/index.d.ts +0 -1
  7. package/dist/index.es.js +568 -928
  8. package/dist/index.es.js.map +1 -1
  9. package/dist/themes/Augmentations.d.ts +0 -43
  10. package/dist/themes/Palette.d.ts +0 -21
  11. package/dist/themes/Typography.d.ts +55 -31
  12. package/package.json +42 -48
  13. package/dist/components/icon/icons/AccountsFilledIcon.d.ts +0 -3
  14. package/dist/components/icon/icons/AccountsIcon.d.ts +0 -3
  15. package/dist/components/icon/icons/ArrowLeftIcon.d.ts +0 -3
  16. package/dist/components/icon/icons/AttentionFilledIcon.d.ts +0 -3
  17. package/dist/components/icon/icons/CalendarIcon.d.ts +0 -3
  18. package/dist/components/icon/icons/CheckmarkFilledIcon.d.ts +0 -3
  19. package/dist/components/icon/icons/ChevronDownIcon.d.ts +0 -3
  20. package/dist/components/icon/icons/ChevronLeftIcon.d.ts +0 -3
  21. package/dist/components/icon/icons/ChevronRightIcon.d.ts +0 -3
  22. package/dist/components/icon/icons/CloseIcon.d.ts +0 -3
  23. package/dist/components/icon/icons/EditIcon.d.ts +0 -3
  24. package/dist/components/icon/icons/FilterIcon.d.ts +0 -3
  25. package/dist/components/icon/icons/HeartIcon.d.ts +0 -3
  26. package/dist/components/tokenprovider/Constants.d.ts +0 -9
  27. package/dist/components/tokenprovider/Hooks.d.ts +0 -1
  28. package/dist/components/tokenprovider/TokenProvider.d.ts +0 -11
  29. package/dist/components/tokenprovider/index.d.ts +0 -3
package/dist/index.es.js CHANGED
@@ -1,196 +1,55 @@
1
- import { jsx as a, jsxs as x } from "react/jsx-runtime";
2
- import C from "react";
3
- import F from "@mui/material/Stack";
4
- import { useTheme as H, createTheme as j } from "@mui/material/styles";
5
- import { Icon as de, Close as ue } from "@mxenabled/mx-icons";
6
- import { endOfMonth as U } from "date-fns/endOfMonth";
7
- import { endOfYear as pe } from "date-fns/endOfYear";
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 Y } from "date-fns/subDays";
12
- import { subMonths as ge } from "date-fns/subMonths";
13
- import { subYears as fe } from "date-fns/subYears";
14
- import me from "@mui/material/useMediaQuery";
15
- import { LocalizationProvider as be, StaticDateRangePicker as Te } from "@mui/x-date-pickers-pro";
16
- import { AdapterDateFns as Ce } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
- import Q from "@mui/material/Box";
18
- import xe from "@mui/material/ToggleButton";
19
- import Re from "@mui/material/ToggleButtonGroup";
20
- import J from "@mui/material/Slide";
21
- import B from "@mui/material/Button";
22
- import q from "@mui/material/IconButton";
23
- import Me from "@mui/material/Typography";
24
- import Ae from "@mui/material/Drawer";
25
- import Ee from "@mui/material/TextField";
26
- import Se from "@mui/material/Snackbar";
27
- import Ie from "@mui/material/Alert";
28
- import { light as ee, buildTheme as z, dark as ve } from "@mxenabled/design-tokens";
29
- import { Paper as He, Box as X, Typography as K, Radio as D, Checkbox as ye, alpha as b, darken as N, lighten as y, getContrastRatio as Oe } from "@mui/material";
30
- import { circularProgressClasses as Fe } from "@mui/material/CircularProgress";
31
- import { LicenseInfo as ke } from "@mui/x-license-pro";
32
- const f = ({
1
+ import { jsx as a, jsxs as T } from "react/jsx-runtime";
2
+ import L from "react";
3
+ import E from "@mui/material/Stack";
4
+ import { useTheme as y, createTheme as K } from "@mui/material/styles";
5
+ import { Icon as re, Close as ie } from "@mxenabled/mx-icons";
6
+ import { endOfMonth as $ } from "date-fns/endOfMonth";
7
+ import { endOfYear as ae } from "date-fns/endOfYear";
8
+ import { startOfToday as ne } from "date-fns/startOfToday";
9
+ import { startOfMonth as U } from "date-fns/startOfMonth";
10
+ import { startOfYear as G } from "date-fns/startOfYear";
11
+ import { subDays as V } from "date-fns/subDays";
12
+ import { subMonths as le } from "date-fns/subMonths";
13
+ import { subYears as se } from "date-fns/subYears";
14
+ import ce from "@mui/material/useMediaQuery";
15
+ import { usePickerContext as de, useIsValidValue as pe, LocalizationProvider as ue, StaticDateRangePicker as he } from "@mui/x-date-pickers-pro";
16
+ import { AdapterDateFns as ge } from "@mui/x-date-pickers-pro/AdapterDateFns";
17
+ import j from "@mui/material/Box";
18
+ import fe from "@mui/material/ToggleButton";
19
+ import me from "@mui/material/ToggleButtonGroup";
20
+ import X from "@mui/material/Slide";
21
+ import P from "@mui/material/Button";
22
+ import Z from "@mui/material/IconButton";
23
+ import be from "@mui/material/Typography";
24
+ import Te from "@mui/material/Drawer";
25
+ import xe from "@mui/material/TextField";
26
+ import Re from "@mui/material/Snackbar";
27
+ import Me from "@mui/material/Alert";
28
+ import { FormControlLabel as Ce, Box as B, Typography as W, Radio as _, Checkbox as Se, alpha as m, darken as N, lighten as I, getContrastRatio as Ae } from "@mui/material";
29
+ import { circularProgressClasses as Oe } from "@mui/material/CircularProgress";
30
+ import { LicenseInfo as ye } from "@mui/x-license";
31
+ const D = ({
33
32
  children: e,
34
- height: o,
35
- size: i = 16,
33
+ height: i,
34
+ size: o = 16,
36
35
  viewBox: n = "0 0 16 16",
37
- width: r
36
+ width: t
38
37
  }) => /* @__PURE__ */ a(
39
38
  "svg",
40
39
  {
41
40
  "aria-hidden": !0,
42
41
  className: "mx-kmui-icon",
43
42
  focusable: !1,
44
- height: o || i,
43
+ height: i || o,
45
44
  viewBox: n,
46
- width: r || i,
45
+ width: t || o,
47
46
  xmlns: "http://www.w3.org/2000/svg",
48
47
  children: e
49
48
  }
50
- );
51
- var Le = /* @__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))(Le || {});
52
- const M = ({
53
- color: e,
54
- fill: o = !1,
55
- name: i,
56
- size: n = 20,
57
- sx: r,
58
- weight: d = 300,
59
- ...c
60
- }) => /* @__PURE__ */ a(
61
- de,
62
- {
63
- color: e,
64
- fill: o,
65
- name: i,
66
- size: n,
67
- sx: r,
68
- weight: d,
69
- ...c
70
- }
71
- ), S0 = ({
72
- color: e = "currentColor",
73
- ...o
74
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
75
- "path",
76
- {
77
- d: "M2.24801 6.76647H0.573286C0.327604 6.76647 0.110586 6.60678 0.0327867 6.37748C-0.0450124 6.14408 0.0327866 5.88612 0.229332 5.73871L7.6571 0.116699C7.85774 -0.0388996 8.14027 -0.0388996 8.34501 0.116699L15.7728 5.73871C15.9693 5.89021 16.0471 6.14408 15.9693 6.37748C15.8915 6.61088 15.6745 6.76647 15.4288 6.76647H13.7582V12.323H14.3929C14.7122 12.323 14.9661 12.5809 14.9661 12.8962C14.9661 13.2156 14.7082 13.4695 14.3929 13.4695H1.60924C1.28986 13.4695 1.03599 13.2115 1.03599 12.8962C1.03599 12.5768 1.29395 12.323 1.60924 12.323H2.24801V6.76647ZM5.70393 6.76647H3.39043V12.323H5.70393V6.76647ZM9.15985 12.323V6.76647H6.84635V12.323H9.15985ZM10.3023 12.3189H12.6158V6.76647H10.3023V12.3189ZM0.573256 14.8535H15.4288C15.7441 14.8535 15.998 15.1115 15.998 15.4267C15.998 15.7461 15.74 16 15.4247 16H0.573256C0.253871 16 0 15.742 0 15.4267C0 15.1074 0.257965 14.8535 0.573256 14.8535Z",
78
- fill: e
79
- }
80
- ) })), I0 = ({
81
- color: e = "currentColor",
82
- ...o
83
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
84
- "path",
85
- {
86
- d: "M15.429 14.854H.573a.572.572 0 100 1.146h14.852a.572.572 0 00.004-1.146zM.573 6.766h1.675v5.557h-.639a.572.572 0 100 1.146h12.784a.572.572 0 100-1.146h-.635V6.766h1.67a.568.568 0 00.541-.389.574.574 0 00-.196-.638L8.345.117a.565.565 0 00-.688 0L.23 5.739a.572.572 0 00.344 1.027zm2.817 0h2.314v5.557H3.39V6.766zm5.77 0v5.557H6.846V6.766H9.16zm3.456 5.553h-2.314V6.766h2.314v5.553zM8 1.288l5.724 4.336H2.277L8 1.288z",
87
- fill: e
88
- }
89
- ) })), v0 = ({
90
- color: e = "currentColor",
91
- ...o
92
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
93
- "path",
94
- {
95
- d: "M5.854 3.133a.426.426 0 010 .643L1.757 7.5h13.774c.26 0 .469.224.469.5s-.21.5-.469.5H1.757l4.097 3.724a.426.426 0 010 .643.536.536 0 01-.708 0l-5-4.546a.426.426 0 010-.642l5-4.546a.536.536 0 01.708 0z",
96
- fill: e
97
- }
98
- ) })), H0 = ({
99
- color: e = "currentColor",
100
- ...o
101
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
102
- "path",
103
- {
104
- clipRule: "evenodd",
105
- d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm0 11a1 1 0 100 2 1 1 0 000-2zm.02-8c-.398 0-.72.364-.72.813v4.874c0 .45.322.813.72.813.398 0 .72-.364.72-.813V3.814c0-.45-.322-.813-.72-.813z",
106
- fill: e,
107
- fillRule: "evenodd"
108
- }
109
- ) })), y0 = ({
110
- color: e = "currentColor",
111
- ...o
112
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
113
- "path",
114
- {
115
- d: "M11.5 0a.5.5 0 01.5.5V2h2.5A1.5 1.5 0 0116 3.5v11a1.5 1.5 0 01-1.5 1.5h-13A1.5 1.5 0 010 14.5v-11A1.5 1.5 0 011.5 2H4V.5a.5.5 0 011 0V2h6V.5a.5.5 0 01.5-.5zM15 6H1v8.5a.5.5 0 00.5.5h13a.5.5 0 00.5-.5V6zm-4.5 1a.5.5 0 01.5.5V10h2.5a.5.5 0 010 1H11v2.5a.5.5 0 01-1 0V11H6v2.5a.5.5 0 01-1 0V11H2.5a.5.5 0 010-1H5V7.5a.5.5 0 011 0V10h4V7.5a.5.5 0 01.5-.5zm4-4h-13a.5.5 0 00-.5.5V5h14V3.5a.5.5 0 00-.5-.5z",
116
- fill: e
117
- }
118
- ) })), O0 = ({
49
+ ), R = ({ color: e, fill: i = !1, name: o, size: n = 20, sx: t, ...s }) => /* @__PURE__ */ a(re, { color: e, fill: i, name: o, size: n, sx: t, ...s }), mt = ({
119
50
  color: e = "currentColor",
120
- ...o
121
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
122
- "path",
123
- {
124
- d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm4.358 5.151a.5.5 0 00-.707-.01L6.858 9.803 4.35 7.363a.5.5 0 10-.698.718l2.858 2.777a.5.5 0 00.697 0l5.142-5a.5.5 0 00.01-.707z",
125
- fill: e
126
- }
127
- ) })), F0 = ({
128
- color: e = "currentColor",
129
- ...o
130
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
131
- "path",
132
- {
133
- d: "M2.68 5.201a.6.6 0 01.848-.011L8 9.543l4.472-4.353a.6.6 0 11.837.86l-4.89 4.76a.6.6 0 01-.838 0l-4.89-4.76a.6.6 0 01-.012-.849z",
134
- fill: e
135
- }
136
- ) })), k0 = ({
137
- color: e = "currentColor",
138
- ...o
139
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
140
- "path",
141
- {
142
- d: "M10.799 2.68a.6.6 0 01.011.848L6.457 8l4.353 4.472a.6.6 0 01-.86.837L5.19 8.42a.6.6 0 010-.838l4.76-4.89a.6.6 0 01.849-.012z",
143
- fill: e
144
- }
145
- ) })), L0 = ({
146
- color: e = "currentColor",
147
- ...o
148
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
149
- "path",
150
- {
151
- d: "M5.207 13.32a.6.6 0 01-.012-.848L9.55 8 5.195 3.528a.6.6 0 11.86-.837l4.76 4.89a.6.6 0 010 .838l-4.76 4.89a.6.6 0 01-.848.012z",
152
- fill: e
153
- }
154
- ) })), D0 = ({
155
- color: e = "currentColor",
156
- ...o
157
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
158
- "path",
159
- {
160
- d: "M13.79 2.21a.72.72 0 0 1 0 1.02L9.018 8l4.77 4.77a.72.72 0 1 1-1.018 1.02L8 9.018l-4.77 4.77a.72.72 0 1 1-1.02-1.018L6.982 8l-4.77-4.77A.72.72 0 0 1 3.23 2.21L8 6.982l4.77-4.77a.72.72 0 0 1 1.02 0Z",
161
- fill: e
162
- }
163
- ) })), N0 = ({
164
- color: e = "currentColor",
165
- ...o
166
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
167
- "path",
168
- {
169
- d: "M12.644.156l3.2 3.2a.533.533 0 010 .754L5.177 14.777a.534.534 0 01-.247.14L.663 15.984a.533.533 0 01-.647-.647l1.067-4.267a.534.534 0 01.14-.248L11.89.156a.533.533 0 01.754 0zM10.133 3.42l-8.051 8.052-.815 3.261 3.26-.815 8.052-8.052-2.446-2.446zm2.134-2.132l-1.38 1.378 2.446 2.446 1.38-1.379-2.446-2.445z",
170
- fill: e
171
- }
172
- ) })), w0 = ({
173
- color: e = "currentColor",
174
- ...o
175
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
176
- "path",
177
- {
178
- d: "M1.5 1.933l5.4 6.72c.066.081.1.18.1.28v5.134h2V8.933c0-.1.036-.199.1-.28l5.4-6.72h-13zM6 9.09L.1 1.747C-.145 1.439.09 1 .5 1h15c.413 0 .648.439.4.747L10 9.089v5.444c0 .258-.223.467-.5.467h-3c-.275 0-.5-.209-.5-.467V9.09z",
179
- fill: e
180
- }
181
- ) })), P0 = ({
182
- color: e = "currentColor",
183
- ...o
184
- }) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
185
- "path",
186
- {
187
- d: "M1.317 2.317a4.5 4.5 0 016.364 0c.117.117.223.238.32.363.095-.124.2-.245.316-.362a4.5 4.5 0 016.364 6.364l-.004.004-6.328 6.172a.5.5 0 01-.698 0L1.317 8.682a4.5 4.5 0 010-6.365zm5.657.708a3.5 3.5 0 00-4.952 4.947L8 13.802l5.977-5.83a3.5 3.5 0 00-4.952-4.947c-.235.235-.42.51-.586.815a.5.5 0 01-.878 0 3.46 3.46 0 00-.587-.815z",
188
- fill: e
189
- }
190
- ) })), _0 = ({
191
- color: e = "currentColor",
192
- ...o
193
- }) => /* @__PURE__ */ x(f, { ...o, children: [
51
+ ...i
52
+ }) => /* @__PURE__ */ T(D, { ...i, children: [
194
53
  /* @__PURE__ */ a(
195
54
  "path",
196
55
  {
@@ -205,10 +64,10 @@ const M = ({
205
64
  fill: e
206
65
  }
207
66
  )
208
- ] }), B0 = ({
67
+ ] }), bt = ({
209
68
  color: e = "currentColor",
210
- ...o
211
- }) => /* @__PURE__ */ x(f, { ...o, children: [
69
+ ...i
70
+ }) => /* @__PURE__ */ T(D, { ...i, children: [
212
71
  /* @__PURE__ */ a(
213
72
  "path",
214
73
  {
@@ -241,10 +100,10 @@ const M = ({
241
100
  fillRule: "evenodd"
242
101
  }
243
102
  )
244
- ] }), z0 = ({
103
+ ] }), Tt = ({
245
104
  color: e = "currentColor",
246
- ...o
247
- }) => /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
105
+ ...i
106
+ }) => /* @__PURE__ */ a(D, { ...i, children: /* @__PURE__ */ a(
248
107
  "path",
249
108
  {
250
109
  clipRule: "evenodd",
@@ -252,10 +111,10 @@ const M = ({
252
111
  fill: e,
253
112
  fillRule: "evenodd"
254
113
  }
255
- ) }), V0 = ({
114
+ ) }), xt = ({
256
115
  color: e = "currentColor",
257
- ...o
258
- }) => /* @__PURE__ */ x(f, { ...o, children: [
116
+ ...i
117
+ }) => /* @__PURE__ */ T(D, { ...i, children: [
259
118
  /* @__PURE__ */ a(
260
119
  "path",
261
120
  {
@@ -280,12 +139,12 @@ const M = ({
280
139
  }
281
140
  )
282
141
  ] });
283
- 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 || {}), De = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(De || {});
284
- const oe = {
142
+ 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 || {}), Ie = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Ie || {});
143
+ const Q = {
285
144
  guid: g.Uncategorized,
286
145
  colorName: "uncategorized",
287
146
  icon: "category"
288
- }, Ne = [
147
+ }, Ee = [
289
148
  {
290
149
  guid: g.AutoTransport,
291
150
  colorName: "autoTransport",
@@ -386,58 +245,53 @@ const oe = {
386
245
  colorName: "travel",
387
246
  icon: "airplane_ticket"
388
247
  },
389
- oe
390
- ], we = 0.625, Pe = ({
248
+ Q
249
+ ], ve = 0.625, Fe = ({
391
250
  categoryGuid: e,
392
- icon_ratio: o = we,
393
- size: i = 32,
251
+ icon_ratio: i = ve,
252
+ size: o = 32,
394
253
  sx: n = {},
395
- variant: r = "filled"
254
+ variant: t = "filled"
396
255
  }) => {
397
- const d = H(), c = C.useMemo(
398
- () => Ne.find((u) => u.guid === e) ?? oe,
256
+ const s = y(), l = L.useMemo(
257
+ () => Ee.find((p) => p.guid === e) ?? Q,
399
258
  [e]
400
- ), l = d.palette.categories[c.colorName];
259
+ ), d = s.palette.categories[l.colorName];
401
260
  return /* @__PURE__ */ a(
402
- F,
261
+ E,
403
262
  {
404
263
  alignItems: "center",
405
264
  bgcolor: () => {
406
- let u = l;
407
- return r === "twotone" && (u = `${u}20`), r === "transparent" || r === "basic" ? "transparent" : u;
265
+ let p = d;
266
+ return t === "twotone" && (p = `${p}20`), t === "transparent" || t === "basic" ? "transparent" : p;
408
267
  },
409
268
  borderRadius: 1,
410
269
  color: () => {
411
- const u = r === "filled" ? d.palette.common.white : l;
412
- return r === "basic" ? d.palette.text.primary : u;
270
+ const p = t === "filled" ? s.palette.common.white : d;
271
+ return t === "basic" ? s.palette.text.primary : p;
413
272
  },
414
- height: i,
273
+ height: o,
415
274
  justifyContent: "center",
416
275
  sx: [...Array.isArray(n) ? n : [n]],
417
- width: i,
418
- children: /* @__PURE__ */ a(M, { name: c.icon, size: i * o })
276
+ width: o,
277
+ children: /* @__PURE__ */ a(R, { name: l.icon, size: o * i })
419
278
  }
420
279
  );
421
- }, _e = ({
422
- items: e,
423
- onChange: o,
424
- isValid: i,
425
- selected: n
426
- }) => {
427
- const r = H(), d = e?.map((c) => {
428
- const l = c.getValue({ isValid: i });
280
+ }, Ne = ({ items: e, selected: i }) => {
281
+ const o = y(), { setValue: n } = de(), t = pe(), s = e?.map((l) => {
282
+ const d = l.getValue({ isValid: t });
429
283
  return {
430
- label: c.label,
284
+ label: l.label,
431
285
  onClick: () => {
432
- o(l, "accept", c);
286
+ n(d, { changeImportance: "accept", shortcut: l });
433
287
  },
434
- disabled: !i(l)
288
+ disabled: !t(d)
435
289
  };
436
290
  });
437
- return /* @__PURE__ */ a(Q, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Re, { color: "primary", orientation: "vertical", value: n, children: d?.map((c) => /* @__PURE__ */ a(
438
- xe,
291
+ 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: i, children: s?.map((l) => /* @__PURE__ */ a(
292
+ fe,
439
293
  {
440
- onClick: c.onClick,
294
+ onClick: l.onClick,
441
295
  sx: {
442
296
  borderWidth: 1,
443
297
  color: "secondary.main",
@@ -448,65 +302,65 @@ const oe = {
448
302
  boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
449
303
  },
450
304
  "&:hover": {
451
- bgcolor: r.palette.action.hover,
452
- borderTop: `1px solid ${r.palette.secondary.light}`
305
+ bgcolor: o.palette.action.hover,
306
+ borderTop: `1px solid ${o.palette.secondary.light}`
453
307
  },
454
308
  "&.Mui-selected": {
455
- border: `2px solid ${r.palette.primary.main} !important`,
309
+ border: `2px solid ${o.palette.primary.main} !important`,
456
310
  marginTop: "-2px !important",
457
311
  color: "primary"
458
312
  }
459
313
  },
460
- value: c.label,
461
- children: c.label
314
+ value: l.label,
315
+ children: l.label
462
316
  },
463
- c.label
317
+ l.label
464
318
  )) }) });
465
- }, G0 = ({
319
+ }, Rt = ({
466
320
  copy: e,
467
- dateRange: o,
468
- onRangeChanged: i,
321
+ dateRange: i,
322
+ onRangeChanged: o,
469
323
  selectedShortcut: n = e.dateRangeThisMonth,
470
- sx: r = {}
324
+ sx: t = {}
471
325
  }) => {
472
- const d = H(), c = me(d.breakpoints.down("sm")), l = C.useMemo(() => {
473
- const t = he(), u = ge(t, 1), T = fe(t, 1);
326
+ const s = y(), l = ce(s.breakpoints.down("sm")), d = L.useMemo(() => {
327
+ const r = ne(), p = le(r, 1), b = se(r, 1);
474
328
  return [
475
329
  {
476
330
  label: e.dateRangeThisMonth,
477
- getValue: () => [W(t), U(t)]
331
+ getValue: () => [U(r), $(r)]
478
332
  },
479
333
  {
480
334
  label: e.dateRangeLastMonth,
481
- getValue: () => [W(u), U(u)]
335
+ getValue: () => [U(p), $(p)]
482
336
  },
483
337
  {
484
338
  label: e.dateRangeLast30Days,
485
- getValue: () => [Y(t, 30), t]
339
+ getValue: () => [V(r, 30), r]
486
340
  },
487
341
  {
488
342
  label: e.dateRangeLast90Days,
489
- getValue: () => [Y(t, 90), t]
343
+ getValue: () => [V(r, 90), r]
490
344
  },
491
345
  {
492
346
  label: e.dateRangeYTD,
493
- getValue: () => [Z(t), t]
347
+ getValue: () => [G(r), r]
494
348
  },
495
349
  {
496
350
  label: e.dateRangeLastYear,
497
- getValue: () => [Z(T), pe(T)]
351
+ getValue: () => [G(b), ae(b)]
498
352
  },
499
353
  {
500
354
  label: e.dateRangeCustom,
501
- getValue: () => [t, t]
355
+ getValue: () => [r, r]
502
356
  }
503
357
  ];
504
- }, [e]), s = (t, u) => {
505
- const T = u.shortcut;
506
- i?.(t, T ? T.label : e.dateRangeCustom);
358
+ }, [e]), c = (r, p) => {
359
+ const b = p.shortcut;
360
+ o?.(r, b ? b.label : e.dateRangeCustom);
507
361
  };
508
- return /* @__PURE__ */ a(F, { gap: 16, m: 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
509
- Te,
362
+ return /* @__PURE__ */ a(E, { gap: 16, m: 8, children: /* @__PURE__ */ a(ue, { dateAdapter: ge, children: /* @__PURE__ */ a(
363
+ he,
510
364
  {
511
365
  calendars: 1,
512
366
  localeText: {
@@ -514,143 +368,109 @@ const oe = {
514
368
  end: e.dateRangeTo,
515
369
  toolbarTitle: e.dateRangeToolbarTitle
516
370
  },
517
- onChange: s,
371
+ onChange: c,
518
372
  showDaysOutsideCurrentMonth: !0,
519
373
  slotProps: {
520
374
  actionBar: { actions: [] },
521
375
  shortcuts: {
522
- items: c ? [] : l
376
+ items: l ? [] : d
523
377
  },
524
378
  toolbar: {
525
379
  toolbarFormat: "MMM d, yyyy"
526
380
  }
527
381
  },
528
382
  slots: {
529
- leftArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_left", size: 28 }),
530
- shortcuts: (t) => /* @__PURE__ */ a(_e, { selected: n, ...t }),
531
- rightArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_right", size: 28 })
383
+ leftArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_left", size: 28 }),
384
+ shortcuts: (r) => /* @__PURE__ */ a(Ne, { selected: n, ...r }),
385
+ rightArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_right", size: 28 })
532
386
  },
533
- sx: { ...r },
534
- value: o
387
+ sx: { ...t },
388
+ value: i
535
389
  }
536
390
  ) }) });
537
- }, $0 = C.forwardRef(function(o, i) {
538
- return /* @__PURE__ */ a(J, { direction: "up", ref: i, ...o });
539
- }), Be = ({
391
+ }, Mt = L.forwardRef(function(i, o) {
392
+ return /* @__PURE__ */ a(X, { direction: "up", ref: o, ...i });
393
+ }), He = ({
540
394
  hasSecondaryAction: e = !0,
541
- isPrimaryDisabled: o,
542
- onPrimaryAction: i,
395
+ isPrimaryDisabled: i,
396
+ onPrimaryAction: o,
543
397
  onSecondaryAction: n,
544
- primaryColor: r = "primary",
545
- primaryText: d = "Save",
546
- secondaryColor: c = "primary",
547
- secondaryText: l = "Cancel"
548
- }) => /* @__PURE__ */ x(
549
- F,
398
+ primaryColor: t = "primary",
399
+ primaryText: s = "Save",
400
+ secondaryColor: l = "primary",
401
+ secondaryText: d = "Cancel"
402
+ }) => /* @__PURE__ */ T(
403
+ E,
550
404
  {
551
405
  direction: "row",
552
406
  gap: 16,
553
407
  justifyContent: "flex-end",
554
- sx: { bgcolor: "background.paper", width: "100%", p: 24 },
408
+ sx: { bgcolor: "background.paper", p: 24 },
555
409
  children: [
556
410
  e && /* @__PURE__ */ a(
557
- B,
411
+ P,
558
412
  {
559
- color: c,
413
+ color: l,
560
414
  onClick: n,
561
- variant: i ? "outlined" : "contained",
562
- children: l
415
+ variant: o ? "outlined" : "contained",
416
+ children: d
563
417
  }
564
418
  ),
565
- i && /* @__PURE__ */ a(
566
- B,
419
+ o && /* @__PURE__ */ a(
420
+ P,
567
421
  {
568
- color: r,
569
- disabled: o,
570
- onClick: i,
422
+ color: t,
423
+ disabled: i,
424
+ onClick: o,
571
425
  variant: "contained",
572
- children: d
426
+ children: s
573
427
  }
574
428
  )
575
429
  ]
576
430
  }
577
- ), k = ({
431
+ ), v = ({
578
432
  bold: e,
579
- className: o = "",
580
- children: i,
433
+ className: i = "",
434
+ children: o,
581
435
  color: n,
582
- sx: r = {},
583
- truncate: d = !0,
584
- uppercase: c,
585
- ...l
586
- }) => {
587
- switch (l.variant) {
588
- case "Body":
589
- l.variant = "body1";
590
- break;
591
- case "Button":
592
- l.variant = "button";
593
- break;
594
- case "H1":
595
- l.variant = "h1";
596
- break;
597
- case "H2":
598
- l.variant = "h2";
599
- break;
600
- case "H3":
601
- l.variant = "h3";
602
- break;
603
- case "Paragraph":
604
- l.variant = "subtitle1";
605
- break;
606
- case "ParagraphSmall":
607
- l.variant = "subtitle2";
608
- break;
609
- case "Small":
610
- l.variant = "body2";
611
- break;
612
- case "Tiny":
613
- l.variant = "tiny";
614
- break;
615
- case "XSmall":
616
- l.variant = "caption";
617
- break;
436
+ sx: t = {},
437
+ truncate: s = !0,
438
+ uppercase: l,
439
+ ...d
440
+ }) => /* @__PURE__ */ a(
441
+ be,
442
+ {
443
+ className: `mx-kmui-text ${i}`,
444
+ color: n,
445
+ sx: [
446
+ e ? {
447
+ fontWeight: 600
448
+ } : {},
449
+ s ? {
450
+ overflow: "hidden",
451
+ textOverflow: "ellipsis",
452
+ whiteSpace: "nowrap"
453
+ } : {},
454
+ l ? {
455
+ textTransform: "uppercase"
456
+ } : {},
457
+ ...Array.isArray(t) ? t : [t]
458
+ ],
459
+ ...d,
460
+ children: o
618
461
  }
619
- return /* @__PURE__ */ a(
620
- Me,
621
- {
622
- className: `mx-kmui-text ${o}`,
623
- color: n,
624
- sx: [
625
- e ? {
626
- fontWeight: 600
627
- } : {},
628
- d ? {
629
- overflow: "hidden",
630
- textOverflow: "ellipsis",
631
- whiteSpace: "nowrap"
632
- } : {},
633
- c ? {
634
- textTransform: "uppercase"
635
- } : {},
636
- ...Array.isArray(r) ? r : [r]
637
- ],
638
- ...l,
639
- children: i
640
- }
641
- );
642
- }, ze = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), U0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), W0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), Z0 = ({ className: e = "", children: o, truncate: i, ...n }) => /* @__PURE__ */ a(
643
- k,
462
+ ), Le = ({ className: e = "", children: i, ...o }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h1 ${e}`, component: "h1", variant: "h1", ...o, children: i }), Ct = ({ className: e = "", children: i, ...o }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h2 ${e}`, component: "h2", variant: "h2", ...o, children: i }), St = ({ className: e = "", children: i, ...o }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h3 ${e}`, component: "h3", variant: "h3", ...o, children: i }), At = ({ className: e = "", children: i, truncate: o, ...n }) => /* @__PURE__ */ a(
463
+ v,
644
464
  {
645
- className: `mx-kmui-text p ${e}`,
465
+ className: `mx-mxui-text p ${e}`,
646
466
  component: "p",
647
- truncate: i || !1,
467
+ truncate: o || !1,
648
468
  variant: "body1",
649
469
  ...n,
650
- children: o
470
+ children: i
651
471
  }
652
- ), Y0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
653
- F,
472
+ ), Ot = ({ copy: e, onClose: i }) => /* @__PURE__ */ T(
473
+ E,
654
474
  {
655
475
  sx: {
656
476
  alignItems: "center",
@@ -660,83 +480,83 @@ const oe = {
660
480
  py: 14
661
481
  },
662
482
  children: [
663
- /* @__PURE__ */ a(ze, { variant: "h3", children: e.title }),
664
- /* @__PURE__ */ a(q, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ue, {}) })
483
+ /* @__PURE__ */ a(Le, { variant: "h3", children: e.title }),
484
+ /* @__PURE__ */ a(Z, { "aria-label": e.close_aria, onClick: i, sx: { mr: -12 }, children: /* @__PURE__ */ a(ie, {}) })
665
485
  ]
666
486
  }
667
- ), X0 = ({
487
+ ), yt = ({
668
488
  className: e,
669
- disableSave: o,
670
- id: i,
489
+ disableSave: i,
490
+ id: o,
671
491
  isOpen: n,
672
- onClose: r,
673
- onSave: d,
674
- primaryText: c,
675
- secondaryText: l,
676
- children: s,
677
- ...t
678
- }) => /* @__PURE__ */ x(
679
- Ae,
492
+ onClose: t,
493
+ onSave: s,
494
+ primaryText: l,
495
+ secondaryText: d,
496
+ children: c,
497
+ ...r
498
+ }) => /* @__PURE__ */ T(
499
+ Te,
680
500
  {
681
501
  anchor: "right",
682
502
  className: `mx-kmui-drawer ${e}`,
683
- id: i ?? void 0,
684
- onClose: r,
503
+ id: o ?? void 0,
504
+ onClose: t,
685
505
  open: n,
686
506
  variant: "temporary",
687
- ...t,
507
+ ...r,
688
508
  children: [
689
- s,
690
- d && /* @__PURE__ */ a(
691
- Be,
509
+ c,
510
+ s && /* @__PURE__ */ a(
511
+ He,
692
512
  {
693
- isPrimaryDisabled: o,
694
- onPrimaryAction: d,
695
- onSecondaryAction: r,
696
- primaryText: c,
697
- secondaryText: l
513
+ isPrimaryDisabled: i,
514
+ onPrimaryAction: s,
515
+ onSecondaryAction: t,
516
+ primaryText: l,
517
+ secondaryText: d
698
518
  }
699
519
  )
700
520
  ]
701
521
  }
702
- ), re = 32, V = "https://content.moneydesktop.com/storage/MD_Assets", Ve = `${V}/serenity/default_institution_logo.png`, K0 = ({
522
+ ), J = 32, z = "https://content.moneydesktop.com/storage/MD_Assets", De = `${z}/serenity/default_institution_logo.png`, It = ({
703
523
  alt: e,
704
- institutionGuid: o,
705
- logoUrl: i,
706
- size: n = re,
707
- ...r
524
+ institutionGuid: i,
525
+ logoUrl: o,
526
+ size: n = J,
527
+ ...t
708
528
  }) => /* @__PURE__ */ a(
709
529
  "img",
710
530
  {
711
531
  alt: e,
712
532
  height: n,
713
- onError: (d) => d.target.src = Ve,
714
- src: i || `${V}/Ipad%20Logos/100x100/${o}_100x100.png`,
533
+ onError: (s) => s.target.src = De,
534
+ src: o || `${z}/Ipad%20Logos/100x100/${i}_100x100.png`,
715
535
  style: {
716
536
  borderRadius: 4
717
537
  },
718
538
  width: n,
719
- ...r
539
+ ...t
720
540
  }
721
- ), j0 = ({
541
+ ), Et = ({
722
542
  alt: e = "",
723
- categoryGuid: o,
724
- merchantGuid: i,
725
- size: n = re,
726
- ...r
543
+ categoryGuid: i,
544
+ merchantGuid: o,
545
+ size: n = J,
546
+ ...t
727
547
  }) => {
728
- const [d, c] = C.useState(!1), l = H();
729
- return /* @__PURE__ */ x(Q, { display: "inline-block", position: "relative", ...r, children: [
730
- i && !d && /* @__PURE__ */ a(
548
+ const [s, l] = L.useState(!1), d = y();
549
+ return /* @__PURE__ */ T(j, { display: "inline-block", position: "relative", ...t, children: [
550
+ o && !s && /* @__PURE__ */ a(
731
551
  "img",
732
552
  {
733
553
  alt: e,
734
554
  "aria-hidden": !e,
735
555
  height: n,
736
- onError: () => c(!0),
737
- src: `${V}/merchant_logos/${i}.png`,
556
+ onError: () => l(!0),
557
+ src: `${z}/merchant_logos/${o}.png`,
738
558
  style: {
739
- backgroundColor: l.palette.common.white,
559
+ backgroundColor: d.palette.common.white,
740
560
  borderRadius: 4,
741
561
  boxSizing: "border-box",
742
562
  position: "absolute"
@@ -744,108 +564,108 @@ const oe = {
744
564
  width: n
745
565
  }
746
566
  ),
747
- /* @__PURE__ */ a(Pe, { categoryGuid: o, size: n })
567
+ /* @__PURE__ */ a(Fe, { categoryGuid: i, size: n })
748
568
  ] });
749
- }, Q0 = ({
569
+ }, vt = ({
750
570
  disabled: e = !1,
751
- label: o = "",
752
- shrink: i = !0,
571
+ label: i = "",
572
+ shrink: o = !0,
753
573
  variant: n = "outlined",
754
- ...r
574
+ ...t
755
575
  }) => /* @__PURE__ */ a(
756
- Ee,
576
+ xe,
757
577
  {
758
578
  InputLabelProps: {
759
- shrink: i
579
+ shrink: o
760
580
  },
761
581
  disabled: e,
762
- label: o,
582
+ label: i,
763
583
  variant: n,
764
- ...r
584
+ ...t
765
585
  }
766
586
  );
767
- function Ge(e) {
768
- return /* @__PURE__ */ a(J, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
587
+ function ke(e) {
588
+ return /* @__PURE__ */ a(X, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
769
589
  }
770
- const J0 = ({
590
+ const Ft = ({
771
591
  open: e,
772
- handleClose: o,
773
- message: i,
592
+ handleClose: i,
593
+ message: o,
774
594
  autoHideDuration: n = 3e3,
775
- severity: r = "success",
776
- snackbarSx: d,
777
- showAction: c = !1,
778
- showClose: l = !1,
779
- actionText: s = "Undo",
780
- onActionClick: t,
781
- multiLine: u = !1
595
+ severity: t = "success",
596
+ snackbarSx: s,
597
+ showAction: l = !1,
598
+ showClose: d = !1,
599
+ actionText: c = "Undo",
600
+ onActionClick: r,
601
+ multiLine: p = !1
782
602
  }) => {
783
- const T = H(), L = /* @__PURE__ */ x(
784
- F,
603
+ const b = y(), F = /* @__PURE__ */ T(
604
+ E,
785
605
  {
786
- alignItems: u ? "flex-end" : "center",
787
- direction: u ? "column-reverse" : "row",
606
+ alignItems: p ? "flex-end" : "center",
607
+ direction: p ? "column-reverse" : "row",
788
608
  justifyContent: (
789
609
  // eslint-disable-next-line no-nested-ternary
790
- u && c && l ? "space-between" : "flex-end"
610
+ p && l && d ? "space-between" : "flex-end"
791
611
  ),
792
612
  children: [
793
- c && /* @__PURE__ */ a(
794
- B,
613
+ l && /* @__PURE__ */ a(
614
+ P,
795
615
  {
796
616
  color: "inherit",
797
- onClick: t || o,
617
+ onClick: r || i,
798
618
  size: "small",
799
619
  sx: {
800
- color: T.palette.success.contrastText,
620
+ color: b.palette.success.contrastText,
801
621
  height: 44
802
622
  },
803
- children: s
623
+ children: c
804
624
  }
805
625
  ),
806
- l && /* @__PURE__ */ a(
807
- q,
626
+ d && /* @__PURE__ */ a(
627
+ Z,
808
628
  {
809
629
  "aria-label": "close",
810
630
  color: "inherit",
811
- onClick: o,
631
+ onClick: i,
812
632
  sx: { height: 44, width: 44 },
813
- children: /* @__PURE__ */ a(M, { fill: !0, name: "close", size: 24, weight: 400 })
633
+ children: /* @__PURE__ */ a(R, { fill: !0, name: "close", size: 24 })
814
634
  }
815
635
  )
816
636
  ]
817
637
  }
818
638
  );
819
639
  return /* @__PURE__ */ a(
820
- Se,
640
+ Re,
821
641
  {
822
- TransitionComponent: Ge,
642
+ TransitionComponent: ke,
823
643
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
824
644
  autoHideDuration: n,
825
- onClose: o,
645
+ onClose: i,
826
646
  open: e,
827
647
  sx: {
828
- ...d,
829
- width: u ? 400 : 325
648
+ ...s,
649
+ width: p ? 400 : 325
830
650
  },
831
651
  children: /* @__PURE__ */ a(
832
- Ie,
652
+ Me,
833
653
  {
834
- action: L,
835
- severity: r,
654
+ action: F,
655
+ severity: t,
836
656
  sx: {
837
657
  display: "flex",
838
658
  alignItems: "stretch",
839
- minHeight: l && c && u ? 120 : 56,
840
- maxHeight: u ? 120 : 56,
659
+ minHeight: d && l && p ? 120 : 56,
660
+ maxHeight: p ? 120 : 56,
841
661
  width: "100%",
842
662
  "& .MuiAlert-icon": {
843
- alignSelf: u ? "flex-start" : "center"
663
+ alignSelf: p ? "flex-start" : "center"
844
664
  },
845
665
  "& .MuiAlert-message": {
846
- paddingTop: u ? 12 : 8,
847
- paddingBottom: u ? 12 : 8,
848
- alignSelf: u ? "flex-start" : "center"
666
+ paddingTop: p ? 12 : 8,
667
+ paddingBottom: p ? 12 : 8,
668
+ alignSelf: p ? "flex-start" : "center"
849
669
  },
850
670
  "& .MuiAlert-action": {
851
671
  alignItems: "stretch",
@@ -854,178 +674,129 @@ const J0 = ({
854
674
  },
855
675
  variant: "filled",
856
676
  children: /* @__PURE__ */ a(
857
- k,
677
+ v,
858
678
  {
859
679
  sx: {
860
- lineHeight: T.typography.body1.lineHeight,
861
- whiteSpace: u ? "normal" : "nowrap",
862
- overflow: u ? "visible" : "hidden",
863
- textOverflow: u ? "clip" : "ellipsis"
680
+ lineHeight: b.typography.body1.lineHeight,
681
+ whiteSpace: p ? "normal" : "nowrap",
682
+ overflow: p ? "visible" : "hidden",
683
+ textOverflow: p ? "clip" : "ellipsis"
864
684
  },
865
- truncate: !u,
866
- children: i
685
+ truncate: !p,
686
+ children: o
867
687
  }
868
688
  )
869
689
  }
870
690
  )
871
691
  }
872
692
  );
873
- }, O = {
874
- REACT: "react",
875
- REACT_NATIVE: "react_native",
876
- NATIVE: "native"
877
- }, P = {
878
- LIGHT: "light",
879
- DARK: "dark"
880
- }, te = C.createContext(ee), ie = C.createContext(
881
- z(P.LIGHT, O.REACT_NATIVE)
882
- ), q0 = ({
883
- children: e,
884
- target: o = O.REACT,
885
- theme: i = P.LIGHT,
886
- tokenOverrides: n
887
- }) => {
888
- const [r, d] = C.useState(i === P.LIGHT ? ee : ve), c = C.useMemo(() => ({
889
- ...n
890
- }), [n]);
891
- return C.useEffect(() => {
892
- const l = z(i, o, { ...c });
893
- d(l);
894
- }, [i, o, c]), o === O.REACT ? /* @__PURE__ */ a(te.Provider, { value: r, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(ie.Provider, { value: r, children: e }));
895
- }, eo = (e = O.REACT, o = {}) => {
896
- const i = e === O.REACT ? te : ie, n = C.useContext(i);
897
- return n || z(P.LIGHT, e, { ...o });
898
- }, oo = ({
899
- component: e = D,
900
- variant: o = "outlined",
901
- selected: i,
693
+ }, Nt = ({
694
+ component: e = _,
695
+ variant: i = "outlined",
696
+ selected: o,
902
697
  onChange: n,
903
- headline: r,
904
- message: d,
905
- name: c,
906
- value: l,
907
- disabled: s = !1,
908
- error: t = !1,
909
- icon: u = !1,
910
- sx: T = {},
911
- ...L
698
+ headline: t,
699
+ message: s,
700
+ name: l,
701
+ value: d,
702
+ disabled: c = !1,
703
+ error: r = !1,
704
+ icon: p = !1,
705
+ sx: b = {},
706
+ ...F
912
707
  }) => {
913
- const m = H(), ae = () => {
914
- if (!s && n) {
915
- const $ = e === D ? !0 : !i;
916
- n({
917
- target: { value: l, checked: $ }
918
- }, $);
919
- }
920
- }, ne = () => m.palette.background.paper, G = () => t ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : s ? i ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : void 0 : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : void 0, le = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ce = () => s || t ? G() : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : void 0, se = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
921
- return /* @__PURE__ */ x(
922
- He,
708
+ const f = y(), q = () => f.palette.background.paper, w = () => r ? `inset 0px 0px 0px 2px ${f.palette.error.main}` : c ? o ? `inset 0px 0px 0px 2px ${f.palette.action.disabled}` : i === "outlined" ? `inset 0px 0px 0px 1px ${f.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${f.palette.action.disabled}` : i === "outlined" ? o ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${m(f.palette.common.black, 0.23)}` : o ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : f.shadows[1], ee = () => c || r ? f.palette.background.paper : m(f.palette.primary.main, 0.1), te = () => c || r ? w() : i === "outlined" ? o ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${m(f.palette.primary.main, 0.5)}` : w(), oe = () => c || r ? f.palette.background.paper : m(f.palette.primary.main, 0.3);
709
+ return /* @__PURE__ */ a(
710
+ Ce,
923
711
  {
924
- elevation: o === "elevation" ? 1 : 0,
925
- onClick: ae,
712
+ checked: o,
713
+ control: e === _ ? /* @__PURE__ */ a(
714
+ _,
715
+ {
716
+ name: l,
717
+ sx: {
718
+ p: 0,
719
+ ml: 16,
720
+ mt: "8px",
721
+ flexShrink: 0,
722
+ "& .MuiSvgIcon-root": {
723
+ fontSize: "20px"
724
+ }
725
+ },
726
+ ...F
727
+ }
728
+ ) : /* @__PURE__ */ a(
729
+ Se,
730
+ {
731
+ name: l,
732
+ sx: {
733
+ p: 0,
734
+ ml: 16,
735
+ mt: "8px",
736
+ flexShrink: 0,
737
+ "& .MuiSvgIcon-root": {
738
+ fontSize: "20px"
739
+ }
740
+ },
741
+ ...F
742
+ }
743
+ ),
744
+ disabled: c,
745
+ label: /* @__PURE__ */ T(B, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
746
+ p && /* @__PURE__ */ a(B, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: p }),
747
+ /* @__PURE__ */ T(B, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
748
+ t && /* @__PURE__ */ a(W, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: t }),
749
+ /* @__PURE__ */ a(W, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: s })
750
+ ] })
751
+ ] }),
752
+ labelPlacement: "start",
753
+ onChange: n,
926
754
  sx: {
927
755
  display: "flex",
928
756
  padding: "6px 16px",
929
757
  alignItems: "flex-start",
930
758
  justifyContent: "space-between",
931
- borderRadius: m.shape.borderRadius / 2,
759
+ borderRadius: f.shape.borderRadius / 2,
932
760
  mb: 16,
933
- cursor: s ? "not-allowed" : "pointer",
934
- opacity: s ? 0.6 : 1,
935
- backgroundColor: ne(),
761
+ cursor: c ? "not-allowed" : "pointer",
762
+ opacity: c ? 0.6 : 1,
763
+ backgroundColor: q(),
936
764
  border: "none",
937
- boxShadow: G(),
765
+ boxShadow: w(),
938
766
  boxSizing: "border-box",
939
- transition: m.transitions.create(["background-color", "box-shadow"], {
940
- duration: m.transitions.duration.short
767
+ transition: f.transitions.create(["background-color", "box-shadow"], {
768
+ duration: f.transitions.duration.short
941
769
  }),
942
770
  "&:hover": {
943
- backgroundColor: le(),
944
- boxShadow: ce()
771
+ backgroundColor: ee(),
772
+ boxShadow: te()
945
773
  },
946
774
  "&:active": {
947
- backgroundColor: se()
775
+ backgroundColor: oe()
948
776
  },
949
777
  "&:focus-visible": {
950
- outline: `2px solid ${m.palette.info.main}`,
778
+ outline: `2px solid ${f.palette.info.main}`,
951
779
  outlineOffset: "2px"
952
780
  },
953
- ...T
781
+ ...b
954
782
  },
955
- tabIndex: 0,
956
- variant: o,
957
- children: [
958
- u && /* @__PURE__ */ a(
959
- X,
960
- {
961
- sx: {
962
- mr: 12,
963
- mt: "8px",
964
- flexShrink: 0
965
- },
966
- children: u
967
- }
968
- ),
969
- /* @__PURE__ */ x(X, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
970
- r && /* @__PURE__ */ a(K, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
971
- /* @__PURE__ */ a(K, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
972
- ] }),
973
- e === D ? /* @__PURE__ */ a(
974
- D,
975
- {
976
- checked: i,
977
- disabled: s,
978
- name: c,
979
- onChange: n,
980
- sx: {
981
- p: 0,
982
- ml: 16,
983
- mt: "8px",
984
- flexShrink: 0,
985
- "& .MuiSvgIcon-root": {
986
- fontSize: "20px"
987
- }
988
- },
989
- value: l,
990
- ...L
991
- }
992
- ) : /* @__PURE__ */ a(
993
- ye,
994
- {
995
- checked: i,
996
- disabled: s,
997
- name: c,
998
- onChange: n,
999
- sx: {
1000
- p: 0,
1001
- ml: 16,
1002
- mt: "8px",
1003
- flexShrink: 0,
1004
- "& .MuiSvgIcon-root": {
1005
- fontSize: "20px"
1006
- }
1007
- },
1008
- value: l,
1009
- ...L
1010
- }
1011
- )
1012
- ]
783
+ value: d
1013
784
  }
1014
785
  );
1015
- }, v = {
786
+ }, O = {
1016
787
  LIGHT: "light"
1017
- }, A = (e) => ({
1018
- 50: y(e, 0.95),
1019
- 100: y(e, 0.85),
1020
- 200: y(e, 0.7),
1021
- 300: y(e, 0.55),
1022
- 400: y(e, 0.3),
788
+ }, M = (e) => ({
789
+ 50: I(e, 0.95),
790
+ 100: I(e, 0.85),
791
+ 200: I(e, 0.7),
792
+ 300: I(e, 0.55),
793
+ 400: I(e, 0.3),
1023
794
  500: e,
1024
795
  600: N(e, 0.3),
1025
796
  700: N(e, 0.5),
1026
797
  800: N(e, 0.65),
1027
798
  900: N(e, 0.75)
1028
- }), R = "#FFFFFF", w = "#000000", $e = "#F9F9F9", E = {
799
+ }), x = "#FFFFFF", H = "#000000", we = "#F9F9F9", Be = "#1A1A1A", C = {
1029
800
  PRIMARY: "#2C64EF",
1030
801
  SECONDARY: "#808080",
1031
802
  INFO: "#2C64EF",
@@ -1041,14 +812,14 @@ const J0 = ({
1041
812
  CHART5: "#60A9FF",
1042
813
  CHART6: "#C8BAEE",
1043
814
  CHART7: "#585E67"
1044
- }, I = {
815
+ }, A = {
1045
816
  CHART_MONO1: "#C3EAFF",
1046
817
  CHART_MONO2: "#8ED7FF",
1047
818
  CHART_MONO3: "#60A9FF",
1048
819
  CHART_MONO4: "#2F73DA",
1049
820
  CHART_MONO5: "#034AB3",
1050
821
  CHART_MONO6: "#002966"
1051
- }, p = {
822
+ }, u = {
1052
823
  AUTO_TRANSPORTT: "#00B0FF",
1053
824
  BILLS_UTILITIES: "#F949BD",
1054
825
  BUSINESS_SERVICES: "#2979FF",
@@ -1094,141 +865,99 @@ const J0 = ({
1094
865
  TRANSFER: "#75C7B7",
1095
866
  TRAVEL: "#76ACF7",
1096
867
  UNCATEGORIZED: "#BCC6D4"
1097
- }, Ue = (e, o) => {
1098
- const i = A(o?.primary || E.PRIMARY), n = A(o?.secondary || E.SECONDARY), r = A(o?.error || E.ERROR), d = A(o?.warning || E.WARNING), c = A(o?.info || E.INFO), l = A(o?.success || E.SUCCESS), s = A(o?.grey || E.GREY), t = e === v.LIGHT;
868
+ }, _e = (e, i) => {
869
+ const o = M(i?.primary || C.PRIMARY), n = M(i?.secondary || C.SECONDARY), t = M(i?.error || C.ERROR), s = M(i?.warning || C.WARNING), l = M(i?.info || C.INFO), d = M(i?.success || C.SUCCESS), c = M(i?.grey || C.GREY), r = e === O.LIGHT;
1099
870
  return {
1100
871
  mode: e,
1101
- // DEPRECATED: Use grey instead
1102
- border: {
1103
- /* DEPRECATED: Use light instead */
1104
- lighter: t ? s[300] : s[700],
1105
- light: t ? s[300] : s[700],
1106
- main: t ? s[400] : s[600],
1107
- dark: s[500],
1108
- /* DEPRECATED: Use light instead */
1109
- darker: s[500]
1110
- },
1111
872
  common: {
1112
- white: R,
1113
- black: w
873
+ white: x,
874
+ black: H
1114
875
  },
1115
876
  primary: {
1116
- ...i,
1117
- /* DEPRECATED: Use light instead */
1118
- lighter: t ? i[100] : i[800],
1119
- light: t ? i[300] : i[600],
1120
- main: t ? i[500] : i[400],
1121
- dark: t ? i[700] : i[200],
1122
- /* DEPRECATED: Use dark instead */
1123
- darker: t ? i[900] : i[100]
877
+ ...o,
878
+ light: r ? o[300] : o[600],
879
+ main: r ? o[500] : o[400],
880
+ dark: r ? o[700] : o[200]
1124
881
  },
1125
882
  secondary: {
1126
883
  ...n,
1127
- /* DEPRECATED: Use light instead */
1128
- lighter: t ? n[100] : n[800],
1129
- light: t ? n[300] : n[600],
1130
- main: t ? n[500] : n[400],
1131
- dark: t ? n[700] : n[200],
1132
- /* DEPRECATED: Use dark instead */
1133
- darker: t ? n[900] : n[100]
884
+ light: r ? n[300] : n[600],
885
+ main: r ? n[500] : n[400],
886
+ dark: r ? n[700] : n[200]
1134
887
  },
1135
888
  neutral: {
1136
- ...s,
1137
- /* DEPRECATED: Use light instead */
1138
- lighter: t ? s[100] : s[800],
1139
- light: t ? s[300] : s[600],
1140
- main: t ? s[500] : s[400],
1141
- dark: t ? s[700] : s[200],
1142
- /* DEPRECATED: Use dark instead */
1143
- darker: t ? s[900] : s[100],
1144
- contrastText: Oe(t ? s[700] : s[400], "#fff") > 4.5 ? R : s[900]
889
+ ...c,
890
+ light: r ? c[300] : c[600],
891
+ main: r ? c[500] : c[400],
892
+ dark: r ? c[700] : c[200],
893
+ contrastText: Ae(r ? c[700] : c[400], "#fff") > 4.5 ? x : c[900]
1145
894
  },
1146
895
  text: {
1147
- primary: t ? s[900] : R,
1148
- secondary: t ? s[600] : b(R, 0.7),
1149
- disabled: t ? s[500] : b(R, 0.38)
896
+ primary: r ? c[900] : x,
897
+ secondary: r ? c[600] : m(x, 0.7),
898
+ disabled: r ? c[500] : m(x, 0.38)
1150
899
  },
1151
900
  error: {
1152
- ...r,
1153
- /* DEPRECATED: Use light instead */
1154
- lighter: t ? r[100] : r[800],
1155
- light: t ? r[300] : r[600],
1156
- main: t ? r[500] : r[400],
1157
- dark: t ? r[700] : r[200],
1158
- /* DEPRECATED: Use light instead */
1159
- darker: t ? r[900] : r[100]
901
+ ...t,
902
+ light: r ? t[300] : t[600],
903
+ main: r ? t[500] : t[400],
904
+ dark: r ? t[700] : t[200]
1160
905
  },
1161
906
  warning: {
1162
- ...d,
1163
- /* DEPRECATED: Use light instead */
1164
- lighter: t ? d[100] : d[800],
1165
- light: t ? d[300] : d[600],
1166
- main: t ? d[500] : d[400],
1167
- dark: t ? d[700] : d[200],
1168
- /* DEPRECATED: Use light instead */
1169
- darker: t ? d[900] : d[100]
907
+ ...s,
908
+ light: r ? s[300] : s[600],
909
+ main: r ? s[500] : s[400],
910
+ dark: r ? s[700] : s[200]
1170
911
  },
1171
912
  info: {
1172
- ...c,
1173
- /* DEPRECATED: Use light instead */
1174
- lighter: t ? c[100] : c[800],
1175
- light: t ? c[300] : c[600],
1176
- main: t ? c[500] : c[400],
1177
- dark: t ? c[700] : c[200],
1178
- /* DEPRECATED: Use light instead */
1179
- darker: t ? c[900] : c[100]
913
+ ...l,
914
+ light: r ? l[300] : l[600],
915
+ main: r ? l[500] : l[400],
916
+ dark: r ? l[700] : l[200]
1180
917
  },
1181
918
  success: {
1182
- ...l,
1183
- /* DEPRECATED: Use light instead */
1184
- lighter: t ? l[100] : l[800],
1185
- light: t ? l[300] : l[600],
1186
- main: t ? l[500] : l[400],
1187
- dark: t ? l[700] : l[200],
1188
- /* DEPRECATED: Use light instead */
1189
- darker: t ? l[900] : l[100]
919
+ ...d,
920
+ light: r ? d[300] : d[600],
921
+ main: r ? d[500] : d[400],
922
+ dark: r ? d[700] : d[200]
1190
923
  },
1191
- grey: s,
924
+ grey: c,
1192
925
  action: {
1193
- active: t ? b(w, 0.56) : b(R, 0.56),
1194
- hoverOpacity: t ? 0.1 : 0.2,
1195
- selectedOpacity: t ? 0.16 : 0.25,
926
+ active: r ? m(H, 0.56) : m(x, 0.56),
927
+ hoverOpacity: r ? 0.1 : 0.2,
928
+ selectedOpacity: r ? 0.16 : 0.25,
1196
929
  focusOpacity: 0.3
1197
930
  },
1198
931
  background: {
1199
- default: t ? $e : w,
1200
- // ? paletteCustomizations?.background?.default?.light || DEFAULT_BACKGROUND_LIGHT
1201
- // : paletteCustomizations?.background?.default?.dark || DEFAULT_BACKGROUND_DARK,
1202
- paper: t ? R : s[900],
1203
- // ? paletteCustomizations?.background?.paper?.light || WHITE
1204
- // : paletteCustomizations?.background?.paper?.dark || BLACK,
1205
- highlight: t ? s[200] : s[600],
1206
- highlightPrimary: t ? i[100] : i[500]
932
+ default: r ? i?.background?.default?.light || we : i?.background?.default?.dark || H,
933
+ paper: r ? i?.background?.paper?.light || x : i?.background?.paper?.dark || Be,
934
+ highlight: r ? c[200] : c[600],
935
+ highlightPrimary: r ? o[100] : o[500]
1207
936
  },
1208
- divider: t ? b(w, 0.12) : b(R, 0.24),
937
+ divider: r ? m(H, 0.12) : m(x, 0.24),
1209
938
  categories: {
1210
- autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1211
- billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1212
- businessServices: t ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1213
- education: t ? p.EDUCATION : h.EDUCATION,
1214
- entertainment: t ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1215
- feesCharges: t ? p.FEES_CHARGES : h.FEES_CHARGES,
1216
- financial: t ? p.FINANCIAL : h.FINANCIAL,
1217
- foodDining: t ? p.FOOD_DINING : h.FOOD_DINING,
1218
- giftsDonations: t ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1219
- healthFitness: t ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1220
- home: t ? p.HOME : h.HOME,
1221
- income: t ? p.INCOME : h.INCOME,
1222
- investments: t ? p.INVESTMENTS : h.INVESTMENTS,
1223
- kids: t ? p.KIDS : h.KIDS,
1224
- others: t ? p.OTHERS : h.OTHERS,
1225
- personalCare: t ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1226
- pets: t ? p.PETS : h.PETS,
1227
- shopping: t ? p.SHOPPING : h.SHOPPING,
1228
- taxes: t ? p.TAXES : h.TAXES,
1229
- transfer: t ? p.TRANSFER : h.TRANSFER,
1230
- travel: t ? p.TRAVEL : h.TRAVEL,
1231
- uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
939
+ autoTransport: r ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
940
+ billsUtilities: r ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
941
+ businessServices: r ? u.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
942
+ education: r ? u.EDUCATION : h.EDUCATION,
943
+ entertainment: r ? u.ENTERTAINMENT : h.ENTERTAINMENT,
944
+ feesCharges: r ? u.FEES_CHARGES : h.FEES_CHARGES,
945
+ financial: r ? u.FINANCIAL : h.FINANCIAL,
946
+ foodDining: r ? u.FOOD_DINING : h.FOOD_DINING,
947
+ giftsDonations: r ? u.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
948
+ healthFitness: r ? u.HEALTH_FITNESS : h.HEALTH_FITNESS,
949
+ home: r ? u.HOME : h.HOME,
950
+ income: r ? u.INCOME : h.INCOME,
951
+ investments: r ? u.INVESTMENTS : h.INVESTMENTS,
952
+ kids: r ? u.KIDS : h.KIDS,
953
+ others: r ? u.OTHERS : h.OTHERS,
954
+ personalCare: r ? u.PERSONAL_CARE : h.PERSONAL_CARE,
955
+ pets: r ? u.PETS : h.PETS,
956
+ shopping: r ? u.SHOPPING : h.SHOPPING,
957
+ taxes: r ? u.TAXES : h.TAXES,
958
+ transfer: r ? u.TRANSFER : h.TRANSFER,
959
+ travel: r ? u.TRAVEL : h.TRAVEL,
960
+ uncategorized: r ? u.UNCATEGORIZED : h.UNCATEGORIZED
1232
961
  },
1233
962
  chart: {
1234
963
  chart1: S.CHART1,
@@ -1240,158 +969,84 @@ const J0 = ({
1240
969
  chart7: S.CHART7
1241
970
  },
1242
971
  chartMono: {
1243
- chartMono1: I.CHART_MONO1,
1244
- chartMono2: I.CHART_MONO2,
1245
- chartMono3: I.CHART_MONO3,
1246
- chartMono4: I.CHART_MONO4,
1247
- chartMono5: I.CHART_MONO5,
1248
- chartMono6: I.CHART_MONO6
972
+ chartMono1: A.CHART_MONO1,
973
+ chartMono2: A.CHART_MONO2,
974
+ chartMono3: A.CHART_MONO3,
975
+ chartMono4: A.CHART_MONO4,
976
+ chartMono5: A.CHART_MONO5,
977
+ chartMono6: A.CHART_MONO6
1249
978
  }
1250
979
  };
1251
- }, We = "Inter, Helvetica, Arial, sans-serif", Ze = (e) => {
1252
- const o = e?.fontFamily || We;
980
+ }, Y = "Inter, Helvetica, Arial, sans-serif", Pe = (e) => {
981
+ const i = e?.fontFamily ? `${e?.fontFamily}, ${Y}` : Y;
1253
982
  return {
1254
- fontFamily: o,
983
+ fontFamily: i,
1255
984
  fontSize: 15,
1256
- Body: {
1257
- // DEPRECATED: Use body1 instead
1258
- fontFamily: o,
1259
- fontSize: 15,
1260
- lineHeight: "20px"
1261
- },
1262
985
  body1: {
1263
- fontFamily: o,
1264
- fontSize: 15,
1265
- lineHeight: "20px"
1266
- },
1267
- Small: {
1268
- // DEPRECATED: Use body2 instead
1269
- fontFamily: o,
986
+ fontFamily: i,
1270
987
  fontSize: 15,
1271
988
  lineHeight: "20px"
1272
989
  },
1273
990
  body2: {
1274
- fontFamily: o,
991
+ fontFamily: i,
1275
992
  fontSize: 13,
1276
993
  lineHeight: "16px"
1277
994
  },
1278
- Button: {
1279
- // DEPRECATED: Use button instead
1280
- fontFamily: o,
1281
- fontSize: 15
1282
- },
1283
995
  button: {
1284
- fontFamily: o,
996
+ fontFamily: i,
1285
997
  fontSize: 15
1286
998
  },
1287
- XSmall: {
1288
- // DEPRECATED: Use caption instead
1289
- fontFamily: o,
1290
- fontSize: 11,
1291
- lineHeight: "16px"
1292
- },
1293
999
  caption: {
1294
- fontFamily: o,
1000
+ fontFamily: i,
1295
1001
  fontSize: 11,
1296
1002
  lineHeight: "16px"
1297
1003
  },
1298
- H1: {
1299
- // DEPRECATED: Use h1 instead
1300
- fontFamily: o,
1301
- fontWeight: 700,
1302
- fontSize: 31,
1303
- lineHeight: "40px"
1304
- },
1305
1004
  h1: {
1306
- fontFamily: o,
1005
+ fontFamily: i,
1307
1006
  fontWeight: 700,
1308
1007
  fontSize: 31,
1309
1008
  lineHeight: "40px"
1310
1009
  },
1311
- H2: {
1312
- // DEPRECATED: Use h2 instead
1313
- fontFamily: o,
1314
- fontWeight: 700,
1315
- fontSize: 23,
1316
- lineHeight: "32px"
1317
- },
1318
1010
  h2: {
1319
- fontFamily: o,
1011
+ fontFamily: i,
1320
1012
  fontWeight: 700,
1321
1013
  fontSize: 23,
1322
1014
  lineHeight: "32px"
1323
1015
  },
1324
- H3: {
1325
- // DEPRECATED: Use h3 instead
1326
- fontFamily: o,
1327
- fontWeight: 700,
1328
- fontSize: 18,
1329
- lineHeight: "24px"
1330
- },
1331
1016
  h3: {
1332
- fontFamily: o,
1017
+ fontFamily: i,
1333
1018
  fontWeight: 700,
1334
1019
  fontSize: 18,
1335
1020
  lineHeight: "24px"
1336
1021
  },
1337
- // h4: {
1338
- // fontFamily,
1339
- // },
1340
- // h5: {
1341
- // fontFamily,
1342
- // },
1343
- // h6: {
1344
- // fontFamily,
1345
- // },
1346
- // overline: {
1347
- // fontFamily,
1348
- // },
1349
- Paragraph: {
1350
- // DEPRECATED: Use subtitle1 instead
1351
- fontFamily: o,
1352
- fontSize: 15,
1353
- lineHeight: "24px"
1354
- },
1355
1022
  subtitle1: {
1356
- fontFamily: o,
1023
+ fontFamily: i,
1357
1024
  fontSize: 15,
1358
1025
  lineHeight: "24px"
1359
1026
  },
1360
- ParagraphSmall: {
1361
- // DEPRECATED: Use subtitle2 instead
1362
- fontFamily: o,
1363
- fontSize: 13,
1364
- lineHeight: "20px"
1365
- },
1366
1027
  subtitle2: {
1367
- fontFamily: o,
1028
+ fontFamily: i,
1368
1029
  fontSize: 13,
1369
1030
  lineHeight: "20px"
1370
1031
  },
1371
- Tiny: {
1372
- // DEPRECATED: Use tiny instead
1373
- fontFamily: o,
1374
- fontSize: 9,
1375
- lineHeight: "12px"
1376
- },
1377
1032
  tiny: {
1378
- fontFamily: o,
1033
+ fontFamily: i,
1379
1034
  fontSize: 9,
1380
1035
  lineHeight: "12px"
1381
1036
  },
1382
1037
  ...e
1383
1038
  };
1384
1039
  };
1385
- ke.setLicenseKey(
1040
+ ye.setLicenseKey(
1386
1041
  "6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
1387
1042
  );
1388
- const _ = [...j().shadows];
1389
- _[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1390
- _[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1391
- _[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1392
- const ro = (e, o) => {
1393
- const i = Ue(e, o?.paletteOptions), n = Ze(o?.typographyOptions);
1394
- return j({
1043
+ const k = [...K().shadows];
1044
+ k[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1045
+ k[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1046
+ k[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1047
+ const Ht = (e, i) => {
1048
+ const o = _e(e, i?.paletteOptions), n = Pe(i?.typographyOptions);
1049
+ return K({
1395
1050
  breakpoints: {
1396
1051
  values: {
1397
1052
  xs: 444,
@@ -1401,10 +1056,10 @@ const ro = (e, o) => {
1401
1056
  xl: 1536
1402
1057
  }
1403
1058
  },
1404
- palette: i,
1405
- shadows: _,
1059
+ palette: o,
1060
+ shadows: k,
1406
1061
  shape: {
1407
- borderRadius: o?.shapeOptions?.borderRadius || 4
1062
+ borderRadius: i?.shapeOptions?.borderRadius || 4
1408
1063
  },
1409
1064
  spacing: 1,
1410
1065
  // TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
@@ -1413,27 +1068,27 @@ const ro = (e, o) => {
1413
1068
  MuiAlert: {
1414
1069
  defaultProps: {
1415
1070
  iconMapping: {
1416
- success: /* @__PURE__ */ a(M, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1417
- error: /* @__PURE__ */ a(M, { fill: !0, name: "error", size: 24, weight: 400 }),
1418
- warning: /* @__PURE__ */ a(M, { fill: !0, name: "warning", size: 24, weight: 400 }),
1419
- info: /* @__PURE__ */ a(M, { fill: !0, name: "info", size: 24, weight: 400 })
1071
+ success: /* @__PURE__ */ a(R, { fill: !0, name: "check_circle", size: 24 }),
1072
+ error: /* @__PURE__ */ a(R, { fill: !0, name: "error", size: 24 }),
1073
+ warning: /* @__PURE__ */ a(R, { fill: !0, name: "warning", size: 24 }),
1074
+ info: /* @__PURE__ */ a(R, { fill: !0, name: "info", size: 24 })
1420
1075
  },
1421
1076
  variant: "outlined"
1422
1077
  },
1423
1078
  styleOverrides: {
1424
- root: ({ theme: r, ownerState: d }) => {
1425
- const c = d.severity || "info";
1426
- let l = r.palette.mode === v.LIGHT ? r.palette[c]?.[50] : r.palette[c]?.[800];
1427
- if (d.variant === "filled") {
1428
- const s = c === "warning";
1429
- l = r.palette[c]?.[s ? 400 : 600];
1079
+ root: ({ theme: t, ownerState: s }) => {
1080
+ const l = s.severity || "info";
1081
+ let d = t.palette.mode === O.LIGHT ? t.palette[l]?.[50] : t.palette[l]?.[800];
1082
+ if (s.variant === "filled") {
1083
+ const c = l === "warning";
1084
+ d = t.palette[l]?.[c ? 400 : 600];
1430
1085
  }
1431
1086
  return {
1432
- backgroundColor: l,
1433
- borderRadius: r.shape.borderRadius,
1087
+ backgroundColor: d,
1088
+ borderRadius: t.shape.borderRadius,
1434
1089
  "& .MuiAlert-message": {
1435
- fontSize: r.typography.subtitle1.fontSize,
1436
- lineHeight: r.typography.subtitle1.lineHeight,
1090
+ fontSize: t.typography.subtitle1.fontSize,
1091
+ lineHeight: t.typography.subtitle1.lineHeight,
1437
1092
  marginTop: "auto",
1438
1093
  marginBottom: "auto"
1439
1094
  },
@@ -1459,14 +1114,14 @@ const ro = (e, o) => {
1459
1114
  disableElevation: !0
1460
1115
  },
1461
1116
  styleOverrides: {
1462
- root: ({ theme: r }) => ({
1117
+ root: ({ theme: t }) => ({
1463
1118
  fontWeight: 600,
1464
1119
  textTransform: "none",
1465
1120
  "&.Mui-disabled": {
1466
1121
  cursor: "not-allowed"
1467
1122
  },
1468
1123
  "&.Mui-focusVisible": {
1469
- outline: `2px solid ${r.palette.info.main}`,
1124
+ outline: `2px solid ${t.palette.info.main}`,
1470
1125
  outlineOffset: "2px"
1471
1126
  }
1472
1127
  }),
@@ -1503,7 +1158,7 @@ const ro = (e, o) => {
1503
1158
  styleOverrides: {
1504
1159
  root: {
1505
1160
  "&.Mui-focusVisible": {
1506
- boxShadow: `inset 0 0 0 2px ${i.info.main}`
1161
+ boxShadow: `inset 0 0 0 2px ${o.info.main}`
1507
1162
  }
1508
1163
  }
1509
1164
  }
@@ -1511,7 +1166,7 @@ const ro = (e, o) => {
1511
1166
  MuiCircularProgress: {
1512
1167
  styleOverrides: {
1513
1168
  root: {
1514
- [`& .${Fe.circle}`]: {
1169
+ [`& .${Oe.circle}`]: {
1515
1170
  strokeLinecap: "round"
1516
1171
  }
1517
1172
  }
@@ -1532,22 +1187,22 @@ const ro = (e, o) => {
1532
1187
  },
1533
1188
  MuiDataGrid: {
1534
1189
  styleOverrides: {
1535
- root: ({ theme: r }) => ({
1190
+ root: ({ theme: t }) => ({
1536
1191
  border: "none",
1537
1192
  borderRadius: 0,
1538
- fontSize: r.typography.body2.fontSize,
1193
+ fontSize: t.typography.body2.fontSize,
1539
1194
  "& .MuiDataGrid-cell": {
1540
1195
  display: "flex",
1541
1196
  alignItems: "center",
1542
1197
  borderTop: "1px solid",
1543
- borderColor: r.palette.background.highlight
1198
+ borderColor: t.palette.background.highlight
1544
1199
  },
1545
1200
  "& .MuiDataGrid-cell:focus": { outline: "unset" },
1546
1201
  "& .MuiDataGrid-iconSeparator": { display: "none" },
1547
1202
  "& .MuiDataGrid-columnHeaders": {
1548
- backgroundColor: r.palette.background.paper,
1203
+ backgroundColor: t.palette.background.paper,
1549
1204
  borderBottom: "2px solid",
1550
- borderColor: r.palette.divider
1205
+ borderColor: t.palette.divider
1551
1206
  },
1552
1207
  "& .MuiDataGrid-columnHeaderTitle": {
1553
1208
  fontWeight: 600
@@ -1565,42 +1220,42 @@ const ro = (e, o) => {
1565
1220
  },
1566
1221
  MuiDateRangePickerDay: {
1567
1222
  styleOverrides: {
1568
- root: ({ theme: r }) => ({
1223
+ root: ({ theme: t }) => ({
1569
1224
  ":first-of-type": {
1570
- borderTopLeftRadius: r.shape.borderRadius,
1571
- borderBottomLeftRadius: r.shape.borderRadius,
1225
+ borderTopLeftRadius: t.shape.borderRadius,
1226
+ borderBottomLeftRadius: t.shape.borderRadius,
1572
1227
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1573
- borderTopLeftRadius: r.shape.borderRadius,
1574
- borderBottomLeftRadius: r.shape.borderRadius
1228
+ borderTopLeftRadius: t.shape.borderRadius,
1229
+ borderBottomLeftRadius: t.shape.borderRadius
1575
1230
  }
1576
1231
  },
1577
1232
  ":last-of-type": {
1578
- borderTopRightRadius: r.shape.borderRadius,
1579
- borderBottomRightRadius: r.shape.borderRadius,
1233
+ borderTopRightRadius: t.shape.borderRadius,
1234
+ borderBottomRightRadius: t.shape.borderRadius,
1580
1235
  "& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
1581
- borderTopRightRadius: r.shape.borderRadius,
1582
- borderBottomRightRadius: r.shape.borderRadius
1236
+ borderTopRightRadius: t.shape.borderRadius,
1237
+ borderBottomRightRadius: t.shape.borderRadius
1583
1238
  }
1584
1239
  },
1585
1240
  "& .Mui-selected": {
1586
- borderRadius: r.shape.borderRadius
1241
+ borderRadius: t.shape.borderRadius
1587
1242
  },
1588
1243
  "& .MuiPickersDay-dayOutsideMonth": {
1589
- color: r.palette.action.disabled
1244
+ color: t.palette.action.disabled
1590
1245
  }
1591
1246
  }),
1592
- day: ({ theme: r }) => ({
1593
- borderRadius: r.shape.borderRadius
1247
+ day: ({ theme: t }) => ({
1248
+ borderRadius: t.shape.borderRadius
1594
1249
  }),
1595
- rangeIntervalDayPreview: ({ theme: r }) => ({
1596
- borderRadius: r.shape.borderRadius
1250
+ rangeIntervalDayPreview: ({ theme: t }) => ({
1251
+ borderRadius: t.shape.borderRadius
1597
1252
  })
1598
1253
  }
1599
1254
  },
1600
1255
  MuiDayCalendar: {
1601
1256
  styleOverrides: {
1602
- weekDayLabel: ({ theme: r }) => ({
1603
- fontSize: r.typography.body2.fontSize,
1257
+ weekDayLabel: ({ theme: t }) => ({
1258
+ fontSize: t.typography.body2.fontSize,
1604
1259
  fontWeight: 700
1605
1260
  })
1606
1261
  }
@@ -1642,14 +1297,14 @@ const ro = (e, o) => {
1642
1297
  },
1643
1298
  MuiFormHelperText: {
1644
1299
  styleOverrides: {
1645
- root: ({ theme: r }) => ({
1300
+ root: ({ theme: t }) => ({
1646
1301
  fontSize: 13,
1647
1302
  // Small
1648
1303
  marginLeft: 0,
1649
1304
  display: "flex",
1650
1305
  alignItems: "center",
1651
1306
  position: "relative",
1652
- color: r.palette.text.secondary,
1307
+ color: t.palette.text.secondary,
1653
1308
  "& .MuiSvgIcon-root": {
1654
1309
  height: "16px",
1655
1310
  width: "16px",
@@ -1665,7 +1320,7 @@ const ro = (e, o) => {
1665
1320
  MuiFormLabel: {
1666
1321
  styleOverrides: {
1667
1322
  asterisk: {
1668
- color: i.error.main
1323
+ color: o.error.main
1669
1324
  }
1670
1325
  }
1671
1326
  },
@@ -1680,19 +1335,19 @@ const ro = (e, o) => {
1680
1335
  disableFocusRipple: !0
1681
1336
  },
1682
1337
  styleOverrides: {
1683
- root: ({ theme: r }) => ({
1684
- borderRadius: r.shape.borderRadius,
1338
+ root: ({ theme: t }) => ({
1339
+ borderRadius: t.shape.borderRadius,
1685
1340
  minHeight: 44,
1686
1341
  // touch target
1687
1342
  minWidth: 44,
1688
1343
  // touch target
1689
1344
  "&.Mui-focusVisible": {
1690
- outline: `2px solid ${r.palette.info.main}`,
1345
+ outline: `2px solid ${t.palette.info.main}`,
1691
1346
  outlineOffset: "2px"
1692
1347
  },
1693
1348
  "& .MuiTouchRipple-root": {
1694
1349
  "& .MuiTouchRipple-child": {
1695
- borderRadius: r.shape.borderRadius
1350
+ borderRadius: t.shape.borderRadius
1696
1351
  }
1697
1352
  }
1698
1353
  })
@@ -1713,13 +1368,13 @@ const ro = (e, o) => {
1713
1368
  borderRadius: 4
1714
1369
  },
1715
1370
  colorPrimary: {
1716
- backgroundColor: i.grey[300]
1371
+ backgroundColor: o.grey[300]
1717
1372
  }
1718
1373
  }
1719
1374
  },
1720
1375
  MuiLink: {
1721
1376
  styleOverrides: {
1722
- root: ({ theme: r, color: d }) => ({
1377
+ root: ({ theme: t, color: s }) => ({
1723
1378
  cursor: "pointer",
1724
1379
  fontWeight: 600,
1725
1380
  textDecoration: "none",
@@ -1731,10 +1386,10 @@ const ro = (e, o) => {
1731
1386
  outlineOffset: "2px"
1732
1387
  },
1733
1388
  "&:hover": {
1734
- backgroundColor: r.palette.action.hover
1389
+ backgroundColor: t.palette.action.hover
1735
1390
  },
1736
1391
  "&:active": {
1737
- backgroundColor: r.palette.mode === v.LIGHT ? r.palette[d].light : r.palette[d].dark
1392
+ backgroundColor: t.palette.mode === O.LIGHT ? t.palette[s].light : t.palette[s].dark
1738
1393
  }
1739
1394
  })
1740
1395
  }
@@ -1761,9 +1416,9 @@ const ro = (e, o) => {
1761
1416
  disablePadding: !0
1762
1417
  },
1763
1418
  styleOverrides: {
1764
- root: ({ ownerState: r }) => ({
1419
+ root: ({ ownerState: t }) => ({
1765
1420
  minHeight: 64,
1766
- ...!r.disablePadding && {
1421
+ ...!t.disablePadding && {
1767
1422
  paddingTop: 12,
1768
1423
  paddingBottom: 12,
1769
1424
  paddingLeft: 24
@@ -1787,7 +1442,7 @@ const ro = (e, o) => {
1787
1442
  },
1788
1443
  MuiListItemButton: {
1789
1444
  styleOverrides: {
1790
- root: ({ theme: r }) => ({
1445
+ root: ({ theme: t }) => ({
1791
1446
  minHeight: 64,
1792
1447
  paddingLeft: 24,
1793
1448
  paddingRight: 24,
@@ -1796,7 +1451,7 @@ const ro = (e, o) => {
1796
1451
  "&.Mui-focusVisible": {
1797
1452
  backgroundColor: "transparent",
1798
1453
  borderRadius: 8,
1799
- outline: `2px solid ${r.palette.info.main}`,
1454
+ outline: `2px solid ${t.palette.info.main}`,
1800
1455
  outlineOffset: -2
1801
1456
  }
1802
1457
  })
@@ -1812,13 +1467,15 @@ const ro = (e, o) => {
1812
1467
  },
1813
1468
  MuiListItemText: {
1814
1469
  defaultProps: {
1815
- primaryTypographyProps: {
1816
- fontWeight: 600,
1817
- fontSize: 15
1818
- },
1819
- secondaryTypographyProps: {
1820
- fontSize: 11,
1821
- color: i.text.secondary
1470
+ slotProps: {
1471
+ primary: {
1472
+ fontWeight: 600,
1473
+ fontSize: 15
1474
+ },
1475
+ secondary: {
1476
+ fontSize: 11,
1477
+ color: o.text.secondary
1478
+ }
1822
1479
  }
1823
1480
  },
1824
1481
  styleOverrides: {
@@ -1838,7 +1495,7 @@ const ro = (e, o) => {
1838
1495
  lineHeight: "inherit",
1839
1496
  top: -1,
1840
1497
  // This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
1841
- backgroundColor: i.background.default
1498
+ backgroundColor: o.background.default
1842
1499
  }
1843
1500
  }
1844
1501
  },
@@ -1880,7 +1537,6 @@ const ro = (e, o) => {
1880
1537
  styleOverrides: {
1881
1538
  root: {
1882
1539
  borderRadius: 8
1883
- // backgroundImage: 'unset',
1884
1540
  }
1885
1541
  }
1886
1542
  },
@@ -1922,11 +1578,11 @@ const ro = (e, o) => {
1922
1578
  },
1923
1579
  MuiPickersToolbar: {
1924
1580
  styleOverrides: {
1925
- content: ({ theme: r }) => ({
1581
+ content: ({ theme: t }) => ({
1926
1582
  marginTop: 4,
1927
1583
  "& .MuiTypography-root": {
1928
- fontSize: r.typography.h3.fontSize,
1929
- lineHeight: r.typography.h3.lineHeight
1584
+ fontSize: t.typography.h3.fontSize,
1585
+ lineHeight: t.typography.h3.lineHeight
1930
1586
  }
1931
1587
  })
1932
1588
  }
@@ -1952,7 +1608,7 @@ const ro = (e, o) => {
1952
1608
  disableFocusRipple: !0
1953
1609
  },
1954
1610
  styleOverrides: {
1955
- root: ({ theme: r }) => ({
1611
+ root: ({ theme: t }) => ({
1956
1612
  width: 37,
1957
1613
  height: 20,
1958
1614
  padding: 0,
@@ -1963,7 +1619,7 @@ const ro = (e, o) => {
1963
1619
  "&.Mui-checked": {
1964
1620
  transform: "translateX(16px)",
1965
1621
  "& + .MuiSwitch-track": {
1966
- backgroundColor: r.palette.success.main,
1622
+ backgroundColor: t.palette.success.main,
1967
1623
  opacity: 1,
1968
1624
  border: 0
1969
1625
  },
@@ -1972,27 +1628,27 @@ const ro = (e, o) => {
1972
1628
  }
1973
1629
  },
1974
1630
  "&.Mui-disabled .MuiSwitch-thumb": {
1975
- color: r.palette.common.white
1631
+ color: t.palette.common.white
1976
1632
  },
1977
1633
  "&.Mui-disabled + .MuiSwitch-track": {
1978
- backgroundColor: r.palette.action.disabledBackground,
1634
+ backgroundColor: t.palette.action.disabledBackground,
1979
1635
  opacity: 1
1980
1636
  }
1981
1637
  },
1982
1638
  "& .MuiSwitch-input": {
1983
1639
  "&:focus-visible ~ .MuiSwitch-thumb": {
1984
- outline: `2px solid ${r.palette.info.main}`,
1640
+ outline: `2px solid ${t.palette.info.main}`,
1985
1641
  outlineOffset: 0
1986
1642
  }
1987
1643
  },
1988
1644
  "& .MuiSwitch-thumb": {
1989
1645
  boxSizing: "border-box",
1990
- backgroundColor: r.palette.background.paper,
1646
+ backgroundColor: t.palette.background.paper,
1991
1647
  width: 16,
1992
1648
  height: 16
1993
1649
  },
1994
1650
  "& .MuiSwitch-track": {
1995
- backgroundColor: r.palette.action.active,
1651
+ backgroundColor: t.palette.action.active,
1996
1652
  borderRadius: 20 / 2,
1997
1653
  opacity: 1
1998
1654
  }
@@ -2009,7 +1665,7 @@ const ro = (e, o) => {
2009
1665
  fontWeight: 600,
2010
1666
  "&.Mui-focusVisible": {
2011
1667
  outline: "none",
2012
- boxShadow: `inset 0 0 0 2px ${i.info.main}`,
1668
+ boxShadow: `inset 0 0 0 2px ${o.info.main}`,
2013
1669
  borderRadius: 4
2014
1670
  }
2015
1671
  }
@@ -2020,21 +1676,23 @@ const ro = (e, o) => {
2020
1676
  root: {
2021
1677
  borderBottomStyle: "solid",
2022
1678
  borderBottomWidth: 1,
2023
- borderColor: i.divider,
1679
+ borderColor: o.divider,
2024
1680
  marginBottom: 8
2025
1681
  }
2026
1682
  }
2027
1683
  },
2028
1684
  MuiTextField: {
2029
1685
  defaultProps: {
2030
- InputLabelProps: {
2031
- shrink: !0
1686
+ slotProps: {
1687
+ inputLabel: {
1688
+ shrink: !0
1689
+ }
2032
1690
  },
2033
1691
  variant: "outlined"
2034
1692
  },
2035
1693
  styleOverrides: {
2036
1694
  root: {
2037
- backgroundColor: i.background.paper
1695
+ backgroundColor: o.background.paper
2038
1696
  }
2039
1697
  }
2040
1698
  },
@@ -2045,29 +1703,29 @@ const ro = (e, o) => {
2045
1703
  },
2046
1704
  styleOverrides: {
2047
1705
  root: {
2048
- color: i.text.primary,
1706
+ color: o.text.primary,
2049
1707
  fontSize: 13,
2050
1708
  lineHeight: "16px",
2051
1709
  textTransform: "none",
2052
1710
  "&:focus-visible": {
2053
- outline: `2px solid ${i.info.main}`,
1711
+ outline: `2px solid ${o.info.main}`,
2054
1712
  outlineOffset: "2px"
2055
1713
  },
2056
1714
  "&:hover": {
2057
- backgroundColor: b(i.primary.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2058
- borderColor: i.primary.main
1715
+ backgroundColor: m(o.primary.main, o.mode === O.LIGHT ? 0.1 : 0.2),
1716
+ borderColor: o.primary.main
2059
1717
  },
2060
1718
  "&.Mui-selected": {
2061
1719
  fontWeight: 600,
2062
- borderColor: i.primary.main,
1720
+ borderColor: o.primary.main,
2063
1721
  "&:hover": {
2064
- boxShadow: `inset 0px 0px 0px 2px ${i.primary.main}`
1722
+ boxShadow: `inset 0px 0px 0px 2px ${o.primary.main}`
2065
1723
  }
2066
1724
  },
2067
1725
  "& .MuiTouchRipple-root": {
2068
1726
  "& .MuiTouchRipple-ripple": {
2069
1727
  "& .MuiTouchRipple-child": {
2070
- backgroundColor: i.primary.main
1728
+ backgroundColor: o.primary.main
2071
1729
  }
2072
1730
  }
2073
1731
  }
@@ -2078,19 +1736,19 @@ const ro = (e, o) => {
2078
1736
  props: { color: "error" },
2079
1737
  style: {
2080
1738
  "&:hover": {
2081
- backgroundColor: b(i.error.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2082
- borderColor: i.error.main
1739
+ backgroundColor: m(o.error.main, o.mode === O.LIGHT ? 0.1 : 0.2),
1740
+ borderColor: o.error.main
2083
1741
  },
2084
1742
  "&.Mui-selected": {
2085
- borderColor: i.error.main,
1743
+ borderColor: o.error.main,
2086
1744
  "&:hover": {
2087
- boxShadow: `inset 0px 0px 0px 2px ${i.error.main}`
1745
+ boxShadow: `inset 0px 0px 0px 2px ${o.error.main}`
2088
1746
  }
2089
1747
  },
2090
1748
  "& .MuiTouchRipple-root": {
2091
1749
  "& .MuiTouchRipple-ripple": {
2092
1750
  "& .MuiTouchRipple-child": {
2093
- backgroundColor: i.error.main
1751
+ backgroundColor: o.error.main
2094
1752
  }
2095
1753
  }
2096
1754
  }
@@ -2100,22 +1758,22 @@ const ro = (e, o) => {
2100
1758
  props: { color: "standard" },
2101
1759
  style: {
2102
1760
  "&:hover": {
2103
- backgroundColor: b(
2104
- i.secondary.main,
2105
- i.mode === v.LIGHT ? 0.1 : 0.2
1761
+ backgroundColor: m(
1762
+ o.secondary.main,
1763
+ o.mode === O.LIGHT ? 0.1 : 0.2
2106
1764
  ),
2107
- borderColor: i.secondary.main
1765
+ borderColor: o.secondary.main
2108
1766
  },
2109
1767
  "&.Mui-selected": {
2110
- borderColor: i.secondary.main,
1768
+ borderColor: o.secondary.main,
2111
1769
  "&:hover": {
2112
- boxShadow: `inset 0px 0px 0px 2px ${i.secondary.main}`
1770
+ boxShadow: `inset 0px 0px 0px 2px ${o.secondary.main}`
2113
1771
  }
2114
1772
  },
2115
1773
  "& .MuiTouchRipple-root": {
2116
1774
  "& .MuiTouchRipple-ripple": {
2117
1775
  "& .MuiTouchRipple-child": {
2118
- backgroundColor: i.secondary.main
1776
+ backgroundColor: o.secondary.main
2119
1777
  }
2120
1778
  }
2121
1779
  }
@@ -2142,51 +1800,33 @@ const ro = (e, o) => {
2142
1800
  });
2143
1801
  };
2144
1802
  export {
2145
- S0 as AccountsFilledIcon,
2146
- I0 as AccountsIcon,
2147
- v0 as ArrowLeftIcon,
2148
- H0 as AttentionFilledIcon,
2149
- f as BaseIcon,
2150
- $0 as BottomSheetTransition,
2151
- y0 as CalendarIcon,
1803
+ D as BaseIcon,
1804
+ Mt as BottomSheetTransition,
2152
1805
  g as CategoryGuids,
2153
- Pe as CategoryIcon,
2154
- Ne as CategoryIconList,
2155
- De as CategoryIconVariants,
2156
- O0 as CheckmarkFilledIcon,
2157
- F0 as ChevronDownIcon,
2158
- k0 as ChevronLeftIcon,
2159
- L0 as ChevronRightIcon,
2160
- D0 as CloseIcon,
2161
- G0 as DateRangePicker,
2162
- Be as DialogFooter,
2163
- Y0 as DialogHeader,
2164
- X0 as Drawer,
2165
- N0 as EditIcon,
2166
- w0 as FilterIcon,
2167
- Be as Footer,
2168
- ze as H1,
2169
- U0 as H2,
2170
- W0 as H3,
2171
- P0 as HeartIcon,
2172
- We as INTER,
2173
- M as Icon,
2174
- Le as IconWeight,
2175
- K0 as InstitutionLogo,
2176
- B0 as MXLogoCopyrightIcon,
2177
- z0 as MXLogoFilledIcon,
2178
- _0 as MXLogoIcon,
2179
- V0 as MXLogoOutlineIcon,
2180
- j0 as MerchantLogo,
2181
- Z0 as P,
2182
- oo as SelectionBox,
2183
- O as TARGETS,
2184
- P as THEMES,
2185
- k as Text,
2186
- Q0 as TextField,
2187
- J0 as Toast,
2188
- q0 as TokenProvider,
2189
- ro as createMXTheme,
2190
- eo as useTokens
1806
+ Fe as CategoryIcon,
1807
+ Ee as CategoryIconList,
1808
+ Ie as CategoryIconVariants,
1809
+ Rt as DateRangePicker,
1810
+ He as DialogFooter,
1811
+ Ot as DialogHeader,
1812
+ yt as Drawer,
1813
+ He as Footer,
1814
+ Le as H1,
1815
+ Ct as H2,
1816
+ St as H3,
1817
+ Y as INTER,
1818
+ R as Icon,
1819
+ It as InstitutionLogo,
1820
+ bt as MXLogoCopyrightIcon,
1821
+ Tt as MXLogoFilledIcon,
1822
+ mt as MXLogoIcon,
1823
+ xt as MXLogoOutlineIcon,
1824
+ Et as MerchantLogo,
1825
+ At as P,
1826
+ Nt as SelectionBox,
1827
+ v as Text,
1828
+ vt as TextField,
1829
+ Ft as Toast,
1830
+ Ht as createMXTheme
2191
1831
  };
2192
1832
  //# sourceMappingURL=index.es.js.map