@mxenabled/mxui 1.2.0 → 1.2.1-alpha.bb2

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,7 +1,7 @@
1
1
  import { jsx as o, jsxs as E } from "react/jsx-runtime";
2
- import b from "react";
3
- import O from "@mui/material/Stack";
4
- import { useTheme as L, createTheme as $ } from "@mui/material/styles";
2
+ import C from "react";
3
+ import x from "@mui/material/Stack";
4
+ import { useTheme as D, createTheme as $ } from "@mui/material/styles";
5
5
  import o0 from "@mui/material/Icon";
6
6
  import { endOfMonth as B } from "date-fns/endOfMonth";
7
7
  import { endOfYear as r0 } from "date-fns/endOfYear";
@@ -20,24 +20,24 @@ import h0 from "@mui/material/ToggleButtonGroup";
20
20
  import Z from "@mui/material/Slide";
21
21
  import w from "@mui/material/Button";
22
22
  import { Close as p0 } from "@mui/icons-material";
23
- import X from "@mui/material/IconButton";
23
+ import K from "@mui/material/IconButton";
24
24
  import f0 from "@mui/material/Typography";
25
25
  import g0 from "@mui/material/Drawer";
26
26
  import m0 from "@mui/material/TextField";
27
27
  import T0 from "@mui/material/Snackbar";
28
28
  import b0 from "@mui/material/Alert";
29
- import { light as Y, buildTheme as P, dark as C0 } from "@mxenabled/design-tokens";
29
+ import { light as X, buildTheme as _, dark as C0 } from "@mxenabled/design-tokens";
30
30
  import { circularProgressClasses as A0 } from "@mui/material/CircularProgress";
31
- import { LicenseInfo as E0 } from "@mui/x-license-pro";
32
- import { darken as N, lighten as F, alpha as m } from "@mui/material";
33
- import M0 from "@mui/material/styles/createPalette";
34
- import R0 from "@mui/material/styles/createTypography";
31
+ import { LicenseInfo as R0 } from "@mui/x-license-pro";
32
+ import { darken as N, lighten as v, alpha as m } from "@mui/material";
33
+ import E0 from "@mui/material/styles/createPalette";
34
+ import M0 from "@mui/material/styles/createTypography";
35
35
  const g = ({
36
36
  children: e,
37
37
  height: t,
38
38
  size: a = 16,
39
39
  viewBox: r = "0 0 16 16",
40
- width: l
40
+ width: n
41
41
  }) => /* @__PURE__ */ o(
42
42
  "svg",
43
43
  {
@@ -46,30 +46,30 @@ const g = ({
46
46
  focusable: !1,
47
47
  height: t || a,
48
48
  viewBox: r,
49
- width: l || a,
49
+ width: n || a,
50
50
  xmlns: "http://www.w3.org/2000/svg",
51
51
  children: e
52
52
  }
53
53
  );
54
- var I0 = /* @__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))(I0 || {});
55
- const A = ({
54
+ var S0 = /* @__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))(S0 || {});
55
+ const R = ({
56
56
  color: e,
57
57
  fill: t = !1,
58
58
  name: a,
59
59
  size: r = 20,
60
- sx: l,
60
+ sx: n,
61
61
  weight: s = 300,
62
62
  ...c
63
63
  }) => {
64
- const [n, i] = b.useState(!1);
65
- return b.useEffect(() => {
64
+ const [l, i] = C.useState(!1);
65
+ return C.useEffect(() => {
66
66
  document.fonts.ready.then(() => {
67
67
  i(!0);
68
68
  });
69
69
  }, []), /* @__PURE__ */ o(
70
70
  o0,
71
71
  {
72
- color: n ? e && e : void 0,
72
+ color: l ? e && e : void 0,
73
73
  sx: [
74
74
  {
75
75
  fontSize: r,
@@ -80,16 +80,16 @@ const A = ({
80
80
  'opsz' ${r}
81
81
  `
82
82
  },
83
- ...Array.isArray(l) ? l : [l],
83
+ ...Array.isArray(n) ? n : [n],
84
84
  {
85
- ...!n && { color: "transparent" }
85
+ ...!l && { color: "transparent" }
86
86
  }
87
87
  ],
88
88
  ...c,
89
89
  children: a
90
90
  }
91
91
  );
92
- }, me = ({
92
+ }, be = ({
93
93
  color: e = "currentColor",
94
94
  ...t
95
95
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -98,7 +98,7 @@ const A = ({
98
98
  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",
99
99
  fill: e
100
100
  }
101
- ) })), Te = ({
101
+ ) })), Ce = ({
102
102
  color: e = "currentColor",
103
103
  ...t
104
104
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -107,7 +107,7 @@ const A = ({
107
107
  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",
108
108
  fill: e
109
109
  }
110
- ) })), be = ({
110
+ ) })), Ae = ({
111
111
  color: e = "currentColor",
112
112
  ...t
113
113
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -116,7 +116,7 @@ const A = ({
116
116
  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",
117
117
  fill: e
118
118
  }
119
- ) })), Ce = ({
119
+ ) })), Re = ({
120
120
  color: e = "currentColor",
121
121
  ...t
122
122
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -127,7 +127,7 @@ const A = ({
127
127
  fill: e,
128
128
  fillRule: "evenodd"
129
129
  }
130
- ) })), Ae = ({
130
+ ) })), Ee = ({
131
131
  color: e = "currentColor",
132
132
  ...t
133
133
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -136,7 +136,7 @@ const A = ({
136
136
  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",
137
137
  fill: e
138
138
  }
139
- ) })), Ee = ({
139
+ ) })), Me = ({
140
140
  color: e = "currentColor",
141
141
  ...t
142
142
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -145,7 +145,7 @@ const A = ({
145
145
  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",
146
146
  fill: e
147
147
  }
148
- ) })), Me = ({
148
+ ) })), Se = ({
149
149
  color: e = "currentColor",
150
150
  ...t
151
151
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -154,7 +154,7 @@ const A = ({
154
154
  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",
155
155
  fill: e
156
156
  }
157
- ) })), Re = ({
157
+ ) })), Ie = ({
158
158
  color: e = "currentColor",
159
159
  ...t
160
160
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -163,7 +163,7 @@ const A = ({
163
163
  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",
164
164
  fill: e
165
165
  }
166
- ) })), Ie = ({
166
+ ) })), He = ({
167
167
  color: e = "currentColor",
168
168
  ...t
169
169
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -172,7 +172,7 @@ const A = ({
172
172
  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",
173
173
  fill: e
174
174
  }
175
- ) })), Se = ({
175
+ ) })), Fe = ({
176
176
  color: e = "currentColor",
177
177
  ...t
178
178
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -181,7 +181,7 @@ const A = ({
181
181
  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",
182
182
  fill: e
183
183
  }
184
- ) })), He = ({
184
+ ) })), ve = ({
185
185
  color: e = "currentColor",
186
186
  ...t
187
187
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -190,7 +190,7 @@ const A = ({
190
190
  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",
191
191
  fill: e
192
192
  }
193
- ) })), ve = ({
193
+ ) })), Oe = ({
194
194
  color: e = "currentColor",
195
195
  ...t
196
196
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -199,7 +199,7 @@ const A = ({
199
199
  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",
200
200
  fill: e
201
201
  }
202
- ) })), Fe = ({
202
+ ) })), xe = ({
203
203
  color: e = "currentColor",
204
204
  ...t
205
205
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -208,7 +208,7 @@ const A = ({
208
208
  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",
209
209
  fill: e
210
210
  }
211
- ) })), xe = ({
211
+ ) })), De = ({
212
212
  color: e = "currentColor",
213
213
  ...t
214
214
  }) => /* @__PURE__ */ E(g, { ...t, children: [
@@ -226,7 +226,7 @@ const A = ({
226
226
  fill: e
227
227
  }
228
228
  )
229
- ] }), Oe = ({
229
+ ] }), Le = ({
230
230
  color: e = "currentColor",
231
231
  ...t
232
232
  }) => /* @__PURE__ */ E(g, { ...t, children: [
@@ -262,7 +262,7 @@ const A = ({
262
262
  fillRule: "evenodd"
263
263
  }
264
264
  )
265
- ] }), Le = ({
265
+ ] }), Ne = ({
266
266
  color: e = "currentColor",
267
267
  ...t
268
268
  }) => /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
@@ -273,7 +273,7 @@ const A = ({
273
273
  fill: e,
274
274
  fillRule: "evenodd"
275
275
  }
276
- ) }), De = ({
276
+ ) }), ye = ({
277
277
  color: e = "currentColor",
278
278
  ...t
279
279
  }) => /* @__PURE__ */ E(g, { ...t, children: [
@@ -301,158 +301,158 @@ const A = ({
301
301
  }
302
302
  )
303
303
  ] });
304
- var u = /* @__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))(u || {}), S0 = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(S0 || {});
305
- const K = {
306
- guid: u.Uncategorized,
304
+ var p = /* @__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))(p || {}), I0 = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(I0 || {});
305
+ const Y = {
306
+ guid: p.Uncategorized,
307
307
  colorName: "uncategorized",
308
308
  icon: "category"
309
309
  }, H0 = [
310
310
  {
311
- guid: u.AutoTransport,
311
+ guid: p.AutoTransport,
312
312
  colorName: "autoTransport",
313
313
  icon: "directions_car"
314
314
  },
315
315
  {
316
- guid: u.BillsUtilities,
316
+ guid: p.BillsUtilities,
317
317
  colorName: "billsUtilities",
318
318
  icon: "electrical_services"
319
319
  },
320
320
  {
321
- guid: u.BusinessServices,
321
+ guid: p.BusinessServices,
322
322
  colorName: "businessServices",
323
323
  icon: "business_center"
324
324
  },
325
325
  {
326
- guid: u.Education,
326
+ guid: p.Education,
327
327
  colorName: "education",
328
328
  icon: "school"
329
329
  },
330
330
  {
331
- guid: u.Entertainment,
331
+ guid: p.Entertainment,
332
332
  colorName: "entertainment",
333
333
  icon: "stadium"
334
334
  },
335
335
  {
336
- guid: u.FeesCharges,
336
+ guid: p.FeesCharges,
337
337
  colorName: "feesCharges",
338
338
  icon: "problem"
339
339
  },
340
340
  {
341
- guid: u.Financial,
341
+ guid: p.Financial,
342
342
  colorName: "financial",
343
343
  icon: "price_check"
344
344
  },
345
345
  {
346
- guid: u.FoodDining,
346
+ guid: p.FoodDining,
347
347
  colorName: "foodDining",
348
348
  icon: "grocery"
349
349
  },
350
350
  {
351
- guid: u.GiftsDonations,
351
+ guid: p.GiftsDonations,
352
352
  colorName: "giftsDonations",
353
353
  icon: "featured_seasonal_and_gifts"
354
354
  },
355
355
  {
356
- guid: u.HealthFitness,
356
+ guid: p.HealthFitness,
357
357
  colorName: "healthFitness",
358
358
  icon: "ecg_heart"
359
359
  },
360
360
  {
361
- guid: u.Home,
361
+ guid: p.Home,
362
362
  colorName: "home",
363
363
  icon: "cottage"
364
364
  },
365
365
  {
366
- guid: u.Income,
366
+ guid: p.Income,
367
367
  colorName: "income",
368
368
  icon: "monetization_on"
369
369
  },
370
370
  {
371
- guid: u.Investments,
371
+ guid: p.Investments,
372
372
  colorName: "investments",
373
373
  icon: "bid_landscape"
374
374
  },
375
375
  {
376
- guid: u.Kids,
376
+ guid: p.Kids,
377
377
  colorName: "kids",
378
378
  icon: "face"
379
379
  },
380
380
  {
381
- guid: u.PersonalCare,
381
+ guid: p.PersonalCare,
382
382
  colorName: "personalCare",
383
383
  icon: "volunteer_activism"
384
384
  },
385
385
  {
386
- guid: u.Pets,
386
+ guid: p.Pets,
387
387
  colorName: "pets",
388
388
  icon: "pet_supplies"
389
389
  },
390
390
  {
391
- guid: u.Shopping,
391
+ guid: p.Shopping,
392
392
  colorName: "shopping",
393
393
  icon: "shopping_cart"
394
394
  },
395
395
  {
396
- guid: u.Taxes,
396
+ guid: p.Taxes,
397
397
  colorName: "taxes",
398
398
  icon: "heap_snapshot_large"
399
399
  },
400
400
  {
401
- guid: u.Transfer,
401
+ guid: p.Transfer,
402
402
  colorName: "transfer",
403
403
  icon: "compare_arrows"
404
404
  },
405
405
  {
406
- guid: u.Travel,
406
+ guid: p.Travel,
407
407
  colorName: "travel",
408
408
  icon: "airplane_ticket"
409
409
  },
410
- K
411
- ], v0 = 0.625, F0 = ({
410
+ Y
411
+ ], F0 = 0.625, v0 = ({
412
412
  categoryGuid: e,
413
- icon_ratio: t = v0,
413
+ icon_ratio: t = F0,
414
414
  size: a = 32,
415
415
  sx: r = {},
416
- variant: l = "filled"
416
+ variant: n = "filled"
417
417
  }) => {
418
- const s = L(), c = b.useMemo(
419
- () => H0.find((d) => d.guid === e) ?? K,
418
+ const s = D(), c = C.useMemo(
419
+ () => H0.find((d) => d.guid === e) ?? Y,
420
420
  [e]
421
- ), n = s.palette.categories[c.colorName];
421
+ ), l = s.palette.categories[c.colorName];
422
422
  return /* @__PURE__ */ o(
423
- O,
423
+ x,
424
424
  {
425
425
  alignItems: "center",
426
426
  bgcolor: () => {
427
- let d = n;
428
- return l === "twotone" && (d = `${d}20`), l === "transparent" || l === "basic" ? "transparent" : d;
427
+ let d = l;
428
+ return n === "twotone" && (d = `${d}20`), n === "transparent" || n === "basic" ? "transparent" : d;
429
429
  },
430
430
  borderRadius: 1,
431
431
  color: () => {
432
- const d = l === "filled" ? s.palette.common.white : n;
433
- return l === "basic" ? s.palette.text.primary : d;
432
+ const d = n === "filled" ? s.palette.common.white : l;
433
+ return n === "basic" ? s.palette.text.primary : d;
434
434
  },
435
435
  height: a,
436
436
  justifyContent: "center",
437
437
  sx: [...Array.isArray(r) ? r : [r]],
438
438
  width: a,
439
- children: /* @__PURE__ */ o(A, { name: c.icon, size: a * t })
439
+ children: /* @__PURE__ */ o(R, { name: c.icon, size: a * t })
440
440
  }
441
441
  );
442
- }, x0 = ({
442
+ }, O0 = ({
443
443
  items: e,
444
444
  onChange: t,
445
445
  isValid: a,
446
446
  selected: r
447
447
  }) => {
448
- const l = L(), s = e?.map((c) => {
449
- const n = c.getValue({ isValid: a });
448
+ const n = D(), s = e?.map((c) => {
449
+ const l = c.getValue({ isValid: a });
450
450
  return {
451
451
  label: c.label,
452
452
  onClick: () => {
453
- t(n, "accept", c);
453
+ t(l, "accept", c);
454
454
  },
455
- disabled: !a(n)
455
+ disabled: !a(l)
456
456
  };
457
457
  });
458
458
  return /* @__PURE__ */ o(W, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ o(h0, { color: "primary", orientation: "vertical", value: r, children: s?.map((c) => /* @__PURE__ */ o(
@@ -469,11 +469,11 @@ const K = {
469
469
  boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
470
470
  },
471
471
  "&:hover": {
472
- bgcolor: l.palette.action.hover,
473
- borderTop: `1px solid ${l.palette.secondary.light}`
472
+ bgcolor: n.palette.action.hover,
473
+ borderTop: `1px solid ${n.palette.secondary.light}`
474
474
  },
475
475
  "&.Mui-selected": {
476
- border: `2px solid ${l.palette.primary.main} !important`,
476
+ border: `2px solid ${n.palette.primary.main} !important`,
477
477
  marginTop: "-2px !important",
478
478
  color: "primary"
479
479
  }
@@ -483,19 +483,19 @@ const K = {
483
483
  },
484
484
  c.label
485
485
  )) }) });
486
- }, Ne = ({
486
+ }, ke = ({
487
487
  copy: e,
488
488
  dateRange: t,
489
489
  onRangeChanged: a,
490
490
  selectedShortcut: r = e.dateRangeThisMonth,
491
- sx: l = {}
491
+ sx: n = {}
492
492
  }) => {
493
- const s = L(), c = l0(s.breakpoints.down("sm")), n = b.useMemo(() => {
494
- const h = i0(), d = a0(h, 1), T = n0(h, 1);
493
+ const s = D(), c = l0(s.breakpoints.down("sm")), l = C.useMemo(() => {
494
+ const f = i0(), d = a0(f, 1), T = n0(f, 1);
495
495
  return [
496
496
  {
497
497
  label: e.dateRangeThisMonth,
498
- getValue: () => [V(h), B(h)]
498
+ getValue: () => [V(f), B(f)]
499
499
  },
500
500
  {
501
501
  label: e.dateRangeLastMonth,
@@ -503,15 +503,15 @@ const K = {
503
503
  },
504
504
  {
505
505
  label: e.dateRangeLast30Days,
506
- getValue: () => [G(h, 30), h]
506
+ getValue: () => [G(f, 30), f]
507
507
  },
508
508
  {
509
509
  label: e.dateRangeLast90Days,
510
- getValue: () => [G(h, 90), h]
510
+ getValue: () => [G(f, 90), f]
511
511
  },
512
512
  {
513
513
  label: e.dateRangeYTD,
514
- getValue: () => [U(h), h]
514
+ getValue: () => [U(f), f]
515
515
  },
516
516
  {
517
517
  label: e.dateRangeLastYear,
@@ -519,14 +519,14 @@ const K = {
519
519
  },
520
520
  {
521
521
  label: e.dateRangeCustom,
522
- getValue: () => [h, h]
522
+ getValue: () => [f, f]
523
523
  }
524
524
  ];
525
- }, [e]), i = (h, d) => {
525
+ }, [e]), i = (f, d) => {
526
526
  const T = d.shortcut;
527
- a?.(h, T ? T.label : e.dateRangeCustom);
527
+ a?.(f, T ? T.label : e.dateRangeCustom);
528
528
  };
529
- return /* @__PURE__ */ o(O, { gap: 16, m: 8, children: /* @__PURE__ */ o(c0, { dateAdapter: d0, children: /* @__PURE__ */ o(
529
+ return /* @__PURE__ */ o(x, { gap: 16, m: 8, children: /* @__PURE__ */ o(c0, { dateAdapter: d0, children: /* @__PURE__ */ o(
530
530
  s0,
531
531
  {
532
532
  calendars: 1,
@@ -540,92 +540,92 @@ const K = {
540
540
  slotProps: {
541
541
  actionBar: { actions: [] },
542
542
  shortcuts: {
543
- items: c ? [] : n
543
+ items: c ? [] : l
544
544
  },
545
545
  toolbar: {
546
546
  toolbarFormat: "MMM d, yyyy"
547
547
  }
548
548
  },
549
549
  slots: {
550
- leftArrowIcon: () => /* @__PURE__ */ o(A, { name: "chevron_left", size: 28 }),
551
- shortcuts: (h) => /* @__PURE__ */ o(x0, { selected: r, ...h }),
552
- rightArrowIcon: () => /* @__PURE__ */ o(A, { name: "chevron_right", size: 28 })
550
+ leftArrowIcon: () => /* @__PURE__ */ o(R, { name: "chevron_left", size: 28 }),
551
+ shortcuts: (f) => /* @__PURE__ */ o(O0, { selected: r, ...f }),
552
+ rightArrowIcon: () => /* @__PURE__ */ o(R, { name: "chevron_right", size: 28 })
553
553
  },
554
- sx: { ...l },
554
+ sx: { ...n },
555
555
  value: t
556
556
  }
557
557
  ) }) });
558
- }, ye = b.forwardRef(function(t, a) {
558
+ }, we = C.forwardRef(function(t, a) {
559
559
  return /* @__PURE__ */ o(Z, { direction: "up", ref: a, ...t });
560
- }), O0 = ({
560
+ }), x0 = ({
561
561
  hasSecondaryAction: e = !0,
562
562
  isPrimaryDisabled: t,
563
563
  onPrimaryAction: a,
564
564
  onSecondaryAction: r,
565
- primaryColor: l = "primary",
565
+ primaryColor: n = "primary",
566
566
  primaryText: s = "Save",
567
567
  secondaryColor: c = "primary",
568
- secondaryText: n = "Cancel"
569
- }) => /* @__PURE__ */ E(O, { direction: "row", gap: 16, justifyContent: "flex-end", sx: { width: "100%", p: 24 }, children: [
568
+ secondaryText: l = "Cancel"
569
+ }) => /* @__PURE__ */ E(x, { direction: "row", gap: 16, justifyContent: "flex-end", sx: { width: "100%", p: 24 }, children: [
570
570
  e && /* @__PURE__ */ o(
571
571
  w,
572
572
  {
573
573
  color: c,
574
574
  onClick: r,
575
575
  variant: a ? "outlined" : "contained",
576
- children: n
576
+ children: l
577
577
  }
578
578
  ),
579
579
  a && /* @__PURE__ */ o(
580
580
  w,
581
581
  {
582
- color: l,
582
+ color: n,
583
583
  disabled: t,
584
584
  onClick: a,
585
585
  variant: "contained",
586
586
  children: s
587
587
  }
588
588
  )
589
- ] }), D = ({
589
+ ] }), L = ({
590
590
  bold: e,
591
591
  className: t = "",
592
592
  children: a,
593
593
  color: r,
594
- sx: l = {},
594
+ sx: n = {},
595
595
  truncate: s = !0,
596
596
  uppercase: c,
597
- ...n
597
+ ...l
598
598
  }) => {
599
- switch (n.variant) {
599
+ switch (l.variant) {
600
600
  case "Body":
601
- n.variant = "body1";
601
+ l.variant = "body1";
602
602
  break;
603
603
  case "Button":
604
- n.variant = "button";
604
+ l.variant = "button";
605
605
  break;
606
606
  case "H1":
607
- n.variant = "h1";
607
+ l.variant = "h1";
608
608
  break;
609
609
  case "H2":
610
- n.variant = "h2";
610
+ l.variant = "h2";
611
611
  break;
612
612
  case "H3":
613
- n.variant = "h3";
613
+ l.variant = "h3";
614
614
  break;
615
615
  case "Paragraph":
616
- n.variant = "subtitle1";
616
+ l.variant = "subtitle1";
617
617
  break;
618
618
  case "ParagraphSmall":
619
- n.variant = "subtitle2";
619
+ l.variant = "subtitle2";
620
620
  break;
621
621
  case "Small":
622
- n.variant = "body2";
622
+ l.variant = "body2";
623
623
  break;
624
624
  case "Tiny":
625
- n.variant = "tiny";
625
+ l.variant = "tiny";
626
626
  break;
627
627
  case "XSmall":
628
- n.variant = "caption";
628
+ l.variant = "caption";
629
629
  break;
630
630
  }
631
631
  return /* @__PURE__ */ o(
@@ -645,14 +645,14 @@ const K = {
645
645
  c ? {
646
646
  textTransform: "uppercase"
647
647
  } : {},
648
- ...Array.isArray(l) ? l : [l]
648
+ ...Array.isArray(n) ? n : [n]
649
649
  ],
650
- ...n,
650
+ ...l,
651
651
  children: a
652
652
  }
653
653
  );
654
- }, L0 = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(D, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...a, children: t }), ke = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(D, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...a, children: t }), we = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(D, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...a, children: t }), Pe = ({ className: e = "", children: t, truncate: a, ...r }) => /* @__PURE__ */ o(
655
- D,
654
+ }, D0 = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...a, children: t }), _e = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...a, children: t }), Pe = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...a, children: t }), ze = ({ className: e = "", children: t, truncate: a, ...r }) => /* @__PURE__ */ o(
655
+ L,
656
656
  {
657
657
  className: `mx-kmui-text p ${e}`,
658
658
  component: "p",
@@ -661,8 +661,8 @@ const K = {
661
661
  ...r,
662
662
  children: t
663
663
  }
664
- ), _e = ({ copy: e, onClose: t }) => /* @__PURE__ */ E(
665
- O,
664
+ ), Be = ({ copy: e, onClose: t }) => /* @__PURE__ */ E(
665
+ x,
666
666
  {
667
667
  sx: {
668
668
  alignItems: "center",
@@ -672,73 +672,73 @@ const K = {
672
672
  py: 14
673
673
  },
674
674
  children: [
675
- /* @__PURE__ */ o(L0, { variant: "h3", children: e.title }),
676
- /* @__PURE__ */ o(X, { "aria-label": e.close_aria, onClick: t, sx: { mr: -12 }, children: /* @__PURE__ */ o(p0, {}) })
675
+ /* @__PURE__ */ o(D0, { variant: "h3", children: e.title }),
676
+ /* @__PURE__ */ o(K, { "aria-label": e.close_aria, onClick: t, sx: { mr: -12 }, children: /* @__PURE__ */ o(p0, {}) })
677
677
  ]
678
678
  }
679
- ), ze = ({
679
+ ), Ve = ({
680
680
  className: e,
681
681
  disableSave: t,
682
682
  id: a,
683
683
  isOpen: r,
684
- onClose: l,
684
+ onClose: n,
685
685
  onSave: s,
686
686
  primaryText: c,
687
- secondaryText: n,
687
+ secondaryText: l,
688
688
  children: i,
689
- ...h
689
+ ...f
690
690
  }) => /* @__PURE__ */ E(
691
691
  g0,
692
692
  {
693
693
  anchor: "right",
694
694
  className: `mx-kmui-drawer ${e}`,
695
695
  id: a ?? void 0,
696
- onClose: l,
696
+ onClose: n,
697
697
  open: r,
698
698
  variant: "temporary",
699
- ...h,
699
+ ...f,
700
700
  children: [
701
701
  i,
702
702
  s && /* @__PURE__ */ o(
703
- O0,
703
+ x0,
704
704
  {
705
705
  isPrimaryDisabled: t,
706
706
  onPrimaryAction: s,
707
- onSecondaryAction: l,
707
+ onSecondaryAction: n,
708
708
  primaryText: c,
709
- secondaryText: n
709
+ secondaryText: l
710
710
  }
711
711
  )
712
712
  ]
713
713
  }
714
- ), j = 32, _ = "https://content.moneydesktop.com/storage/MD_Assets", D0 = `${_}/serenity/default_institution_logo.png`, Be = ({
714
+ ), j = 32, P = "https://content.moneydesktop.com/storage/MD_Assets", L0 = `${P}/serenity/default_institution_logo.png`, Ue = ({
715
715
  alt: e,
716
716
  institutionGuid: t,
717
717
  logoUrl: a,
718
718
  size: r = j,
719
- ...l
719
+ ...n
720
720
  }) => /* @__PURE__ */ o(
721
721
  "img",
722
722
  {
723
723
  alt: e,
724
724
  height: r,
725
- onError: (s) => s.target.src = D0,
726
- src: a || `${_}/Ipad%20Logos/100x100/${t}_100x100.png`,
725
+ onError: (s) => s.target.src = L0,
726
+ src: a || `${P}/Ipad%20Logos/100x100/${t}_100x100.png`,
727
727
  style: {
728
728
  borderRadius: 4
729
729
  },
730
730
  width: r,
731
- ...l
731
+ ...n
732
732
  }
733
- ), Ve = ({
733
+ ), Ge = ({
734
734
  alt: e = "",
735
735
  categoryGuid: t,
736
736
  merchantGuid: a,
737
737
  size: r = j,
738
- ...l
738
+ ...n
739
739
  }) => {
740
- const [s, c] = b.useState(!1), n = L();
741
- return /* @__PURE__ */ E(W, { display: "inline-block", position: "relative", ...l, children: [
740
+ const [s, c] = C.useState(!1), l = D();
741
+ return /* @__PURE__ */ E(W, { display: "inline-block", position: "relative", ...n, children: [
742
742
  a && !s && /* @__PURE__ */ o(
743
743
  "img",
744
744
  {
@@ -746,9 +746,9 @@ const K = {
746
746
  "aria-hidden": !e,
747
747
  height: r,
748
748
  onError: () => c(!0),
749
- src: `${_}/merchant_logos/${a}.png`,
749
+ src: `${P}/merchant_logos/${a}.png`,
750
750
  style: {
751
- backgroundColor: n.palette.common.white,
751
+ backgroundColor: l.palette.common.white,
752
752
  borderRadius: 4,
753
753
  boxSizing: "border-box",
754
754
  position: "absolute"
@@ -756,14 +756,14 @@ const K = {
756
756
  width: r
757
757
  }
758
758
  ),
759
- /* @__PURE__ */ o(F0, { categoryGuid: t, size: r })
759
+ /* @__PURE__ */ o(v0, { categoryGuid: t, size: r })
760
760
  ] });
761
- }, Ue = ({
761
+ }, $e = ({
762
762
  disabled: e = !1,
763
763
  label: t = "",
764
764
  shrink: a = !0,
765
765
  variant: r = "outlined",
766
- ...l
766
+ ...n
767
767
  }) => /* @__PURE__ */ o(
768
768
  m0,
769
769
  {
@@ -773,45 +773,45 @@ const K = {
773
773
  disabled: e,
774
774
  label: t,
775
775
  variant: r,
776
- ...l
776
+ ...n
777
777
  }
778
778
  );
779
779
  function N0(e) {
780
780
  return /* @__PURE__ */ o(Z, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
781
781
  }
782
- const Ge = ({
782
+ const We = ({
783
783
  open: e,
784
784
  handleClose: t,
785
785
  message: a,
786
786
  autoHideDuration: r = 3e3,
787
- severity: l = "success",
787
+ severity: n = "success",
788
788
  snackbarSx: s,
789
789
  showAction: c = !1,
790
- showClose: n = !1,
790
+ showClose: l = !1,
791
791
  actionText: i = "Undo",
792
- onActionClick: h,
792
+ onActionClick: f,
793
793
  multiLine: d = !1
794
794
  }) => {
795
- const T = L(), e0 = {
795
+ const T = D(), e0 = {
796
796
  success: T.palette.success.dark,
797
797
  error: T.palette.error.light,
798
798
  info: T.palette.info.lighter,
799
799
  warning: T.palette.warning.lighter
800
800
  }, t0 = /* @__PURE__ */ E(
801
- O,
801
+ x,
802
802
  {
803
803
  alignItems: d ? "flex-end" : "center",
804
804
  direction: d ? "column-reverse" : "row",
805
805
  justifyContent: (
806
806
  // eslint-disable-next-line no-nested-ternary
807
- d && c && n ? "space-between" : "flex-end"
807
+ d && c && l ? "space-between" : "flex-end"
808
808
  ),
809
809
  children: [
810
810
  c && /* @__PURE__ */ o(
811
811
  w,
812
812
  {
813
813
  color: "inherit",
814
- onClick: h || t,
814
+ onClick: f || t,
815
815
  size: "small",
816
816
  sx: {
817
817
  color: T.palette.success.contrastText,
@@ -820,14 +820,14 @@ const Ge = ({
820
820
  children: i
821
821
  }
822
822
  ),
823
- n && /* @__PURE__ */ o(
824
- X,
823
+ l && /* @__PURE__ */ o(
824
+ K,
825
825
  {
826
826
  "aria-label": "close",
827
827
  color: "inherit",
828
828
  onClick: t,
829
829
  sx: { height: 44, width: 44 },
830
- children: /* @__PURE__ */ o(A, { fill: !0, name: "close", size: 24, weight: 400 })
830
+ children: /* @__PURE__ */ o(R, { fill: !0, name: "close", size: 24, weight: 400 })
831
831
  }
832
832
  )
833
833
  ]
@@ -849,13 +849,13 @@ const Ge = ({
849
849
  b0,
850
850
  {
851
851
  action: t0,
852
- severity: l,
852
+ severity: n,
853
853
  sx: {
854
854
  display: "flex",
855
855
  alignItems: "stretch",
856
- minHeight: n && c && d ? 120 : 56,
856
+ minHeight: l && c && d ? 120 : 56,
857
857
  maxHeight: d ? 120 : 56,
858
- backgroundColor: (z) => z.palette.mode === "light" ? z.palette[l].main : e0[l],
858
+ backgroundColor: (z) => z.palette.mode === "light" ? z.palette[n].main : e0[n],
859
859
  width: "100%",
860
860
  "& .MuiAlert-icon": {
861
861
  alignSelf: d ? "flex-start" : "center"
@@ -872,7 +872,7 @@ const Ge = ({
872
872
  },
873
873
  variant: "filled",
874
874
  children: /* @__PURE__ */ o(
875
- D,
875
+ L,
876
876
  {
877
877
  sx: {
878
878
  lineHeight: T.typography.body1.lineHeight,
@@ -888,45 +888,45 @@ const Ge = ({
888
888
  )
889
889
  }
890
890
  );
891
- }, x = {
891
+ }, O = {
892
892
  REACT: "react",
893
893
  REACT_NATIVE: "react_native",
894
894
  NATIVE: "native"
895
895
  }, y = {
896
896
  LIGHT: "light",
897
897
  DARK: "dark"
898
- }, Q = b.createContext(Y), J = b.createContext(
899
- P(y.LIGHT, x.REACT_NATIVE)
900
- ), $e = ({
898
+ }, Q = C.createContext(X), J = C.createContext(
899
+ _(y.LIGHT, O.REACT_NATIVE)
900
+ ), Ze = ({
901
901
  children: e,
902
- target: t = x.REACT,
902
+ target: t = O.REACT,
903
903
  theme: a = y.LIGHT,
904
904
  tokenOverrides: r
905
905
  }) => {
906
- const [l, s] = b.useState(a === y.LIGHT ? Y : C0), c = b.useMemo(() => ({
906
+ const [n, s] = C.useState(a === y.LIGHT ? X : C0), c = C.useMemo(() => ({
907
907
  ...r
908
908
  }), [r]);
909
- return b.useEffect(() => {
910
- const n = P(a, t, { ...c });
911
- s(n);
912
- }, [a, t, c]), t === x.REACT ? /* @__PURE__ */ o(Q.Provider, { value: l, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ o(J.Provider, { value: l, children: e }));
913
- }, We = (e = x.REACT, t = {}) => {
914
- const a = e === x.REACT ? Q : J, r = b.useContext(a);
915
- return r || P(y.LIGHT, e, { ...t });
909
+ return C.useEffect(() => {
910
+ const l = _(a, t, { ...c });
911
+ s(l);
912
+ }, [a, t, c]), t === O.REACT ? /* @__PURE__ */ o(Q.Provider, { value: n, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ o(J.Provider, { value: n, children: e }));
913
+ }, Ke = (e = O.REACT, t = {}) => {
914
+ const a = e === O.REACT ? Q : J, r = C.useContext(a);
915
+ return r || _(y.LIGHT, e, { ...t });
916
916
  }, q = {
917
917
  LIGHT: "light"
918
918
  }, M = (e) => ({
919
- 50: F(e, 0.95),
920
- 100: F(e, 0.85),
921
- 200: F(e, 0.7),
922
- 300: F(e, 0.55),
923
- 400: F(e, 0.3),
919
+ 50: v(e, 0.95),
920
+ 100: v(e, 0.85),
921
+ 200: v(e, 0.7),
922
+ 300: v(e, 0.55),
923
+ 400: v(e, 0.3),
924
924
  500: e,
925
925
  600: N(e, 0.3),
926
926
  700: N(e, 0.5),
927
927
  800: N(e, 0.65),
928
928
  900: N(e, 0.75)
929
- }), C = "#FFFFFF", R = "#000000", I = {
929
+ }), b = "#FFFFFF", A = "#000000", y0 = "#F9F9F9", k0 = "#1A1A1A", S = {
930
930
  PRIMARY: "#2C64EF",
931
931
  SECONDARY: "#808080",
932
932
  INFO: "#2C64EF",
@@ -934,7 +934,7 @@ const Ge = ({
934
934
  WARNING: "#FF7B00",
935
935
  ERROR: "#E32727",
936
936
  NEUTRAL: "#808080"
937
- }, S = {
937
+ }, I = {
938
938
  CHART1: "#74E4DA",
939
939
  CHART2: "#ED64A4",
940
940
  CHART3: "#F3DC46",
@@ -942,14 +942,14 @@ const Ge = ({
942
942
  CHART5: "#60A9FF",
943
943
  CHART6: "#C8BAEE",
944
944
  CHART7: "#585E67"
945
- }, v = {
945
+ }, F = {
946
946
  CHART_MONO1: "#C3EAFF",
947
947
  CHART_MONO2: "#8ED7FF",
948
948
  CHART_MONO3: "#60A9FF",
949
949
  CHART_MONO4: "#2F73DA",
950
950
  CHART_MONO5: "#034AB3",
951
951
  CHART_MONO6: "#002966"
952
- }, p = {
952
+ }, u = {
953
953
  AUTO_TRANSPORTT: "#00B0FF",
954
954
  BILLS_UTILITIES: "#F949BD",
955
955
  BUSINESS_SERVICES: "#2979FF",
@@ -964,6 +964,7 @@ const Ge = ({
964
964
  INCOME: "#009526",
965
965
  INVESTMENTS: "#00C9E0",
966
966
  KIDS: "#FF9700",
967
+ OTHERS: "#66718D",
967
968
  PERSONAL_CARE: "#DF0683",
968
969
  PETS: "#FF5D00",
969
970
  SHOPPING: "#7469FF",
@@ -971,7 +972,7 @@ const Ge = ({
971
972
  TRANSFER: "#2B9580",
972
973
  TRAVEL: "#3D5AFE",
973
974
  UNCATEGORIZED: "#8495AD"
974
- }, f = {
975
+ }, h = {
975
976
  AUTO_TRANSPORTT: "#77DAFF",
976
977
  BILLS_UTILITIES: "#FF81D4",
977
978
  BUSINESS_SERVICES: "#4BBAFF",
@@ -986,6 +987,7 @@ const Ge = ({
986
987
  INCOME: "#95ECAB",
987
988
  INVESTMENTS: "#8BE7F5",
988
989
  KIDS: "#FFB13F",
990
+ OTHERS: "#B2BCD5",
989
991
  PERSONAL_CARE: "#FF50B5",
990
992
  PETS: "#FF8A46",
991
993
  SHOPPING: "#AEA8FA",
@@ -993,148 +995,149 @@ const Ge = ({
993
995
  TRANSFER: "#75C7B7",
994
996
  TRAVEL: "#76ACF7",
995
997
  UNCATEGORIZED: "#BCC6D4"
996
- }, y0 = (e) => {
997
- const t = M(I.PRIMARY), a = M(I.SECONDARY), r = M(I.ERROR), l = M(I.WARNING), s = M(I.INFO), c = M(I.SUCCESS), n = M(I.NEUTRAL), i = e === q.LIGHT;
998
- return M0({
998
+ }, w0 = (e) => {
999
+ const t = M(S.PRIMARY), a = M(S.SECONDARY), r = M(S.ERROR), n = M(S.WARNING), s = M(S.INFO), c = M(S.SUCCESS), l = M(S.NEUTRAL), i = e === q.LIGHT;
1000
+ return E0({
999
1001
  mode: e,
1000
1002
  // DEPRECATED: Use Neutral instead
1001
1003
  border: {
1002
1004
  /* DEPRECATED: Use light instead */
1003
- lighter: i ? n[300] : n[700],
1004
- light: i ? n[300] : n[700],
1005
- main: i ? n[400] : n[600],
1006
- dark: n[500],
1005
+ lighter: i ? l[300] : l[700],
1006
+ light: i ? l[300] : l[700],
1007
+ main: i ? l[400] : l[600],
1008
+ dark: l[500],
1007
1009
  /* DEPRECATED: Use light instead */
1008
- darker: n[500]
1010
+ darker: l[500]
1009
1011
  },
1010
1012
  common: {
1011
- white: C,
1012
- black: R
1013
+ white: b,
1014
+ black: A
1013
1015
  },
1014
1016
  primary: {
1015
1017
  ...t,
1016
1018
  /* DEPRECATED: Use light instead */
1017
- lighter: i ? t[300] : t[600],
1019
+ lighter: i ? t[100] : t[800],
1018
1020
  light: i ? t[300] : t[600],
1019
1021
  main: i ? t[500] : t[400],
1020
1022
  dark: i ? t[700] : t[200],
1021
1023
  /* DEPRECATED: Use dark instead */
1022
- darker: i ? t[700] : t[200]
1024
+ darker: i ? t[900] : t[100]
1023
1025
  },
1024
1026
  secondary: {
1025
1027
  ...a,
1026
1028
  /* DEPRECATED: Use light instead */
1027
- lighter: a[500],
1029
+ lighter: i ? a[300] : a[700],
1028
1030
  light: a[500],
1029
1031
  main: i ? a[700] : a[300],
1030
1032
  dark: i ? a[900] : a[100],
1031
1033
  /* DEPRECATED: Use dark instead */
1032
- darker: i ? a[900] : a[100]
1034
+ darker: i ? a[900] : a[50]
1033
1035
  },
1034
1036
  text: {
1035
- primary: i ? n[900] : C,
1036
- secondary: i ? n[600] : m(C, 0.7),
1037
- disabled: i ? n[500] : m(C, 0.38)
1037
+ primary: i ? l[900] : b,
1038
+ secondary: i ? l[600] : m(b, 0.7),
1039
+ disabled: i ? l[500] : m(b, 0.38)
1038
1040
  },
1039
1041
  error: {
1040
1042
  ...r,
1041
1043
  /* DEPRECATED: Use light instead */
1042
- lighter: i ? r[300] : r[600],
1044
+ lighter: i ? r[100] : r[800],
1043
1045
  light: i ? r[300] : r[600],
1044
1046
  main: i ? r[500] : r[400],
1045
1047
  dark: i ? r[700] : r[200],
1046
1048
  /* DEPRECATED: Use light instead */
1047
- darker: i ? r[700] : r[200]
1049
+ darker: i ? r[900] : r[100]
1048
1050
  },
1049
1051
  warning: {
1050
- ...l,
1052
+ ...n,
1051
1053
  /* DEPRECATED: Use light instead */
1052
- lighter: i ? l[300] : l[600],
1053
- light: i ? l[300] : l[600],
1054
- main: i ? l[500] : l[400],
1055
- dark: i ? l[700] : l[200],
1054
+ lighter: i ? n[100] : n[800],
1055
+ light: i ? n[300] : n[600],
1056
+ main: i ? n[500] : n[400],
1057
+ dark: i ? n[700] : n[200],
1056
1058
  /* DEPRECATED: Use light instead */
1057
- darker: i ? l[700] : l[200]
1059
+ darker: i ? n[900] : n[100]
1058
1060
  },
1059
1061
  info: {
1060
1062
  ...s,
1061
1063
  /* DEPRECATED: Use light instead */
1062
- lighter: i ? s[300] : s[600],
1064
+ lighter: i ? s[100] : s[800],
1063
1065
  light: i ? s[300] : s[600],
1064
1066
  main: i ? s[500] : s[400],
1065
1067
  dark: i ? s[700] : s[200],
1066
1068
  /* DEPRECATED: Use light instead */
1067
- darker: i ? s[700] : s[200]
1069
+ darker: i ? s[900] : s[100]
1068
1070
  },
1069
1071
  success: {
1070
1072
  ...c,
1071
1073
  /* DEPRECATED: Use light instead */
1072
- lighter: i ? c[300] : c[600],
1074
+ lighter: i ? c[100] : c[800],
1073
1075
  light: i ? c[300] : c[600],
1074
1076
  main: i ? c[500] : c[400],
1075
1077
  dark: i ? c[700] : c[200],
1076
1078
  /* DEPRECATED: Use light instead */
1077
- darker: i ? c[700] : c[200]
1079
+ darker: i ? c[900] : c[100]
1078
1080
  },
1079
- grey: n,
1081
+ grey: l,
1080
1082
  action: {
1081
- active: e === "light" ? m(R, 0.56) : m(C, 0.56),
1082
- hover: e === "light" ? m(R, 0.04) : m(C, 0.08),
1083
+ active: e === "light" ? m(A, 0.56) : m(b, 0.56),
1084
+ hover: e === "light" ? m(A, 0.04) : m(b, 0.08),
1083
1085
  // also used for text hover
1084
- selected: e === "light" ? m(R, 0.08) : m(C, 0.16),
1085
- focus: e === "light" ? m(R, 0.12) : m(C, 0.12),
1086
- disabled: e === "light" ? m(R, 0.38) : m(C, 0.38),
1087
- disabledBackground: e === "light" ? m(R, 0.12) : m(C, 0.12)
1086
+ selected: e === "light" ? m(A, 0.08) : m(b, 0.16),
1087
+ focus: e === "light" ? m(A, 0.12) : m(b, 0.12),
1088
+ disabled: e === "light" ? m(A, 0.38) : m(b, 0.38),
1089
+ disabledBackground: e === "light" ? m(A, 0.12) : m(b, 0.12)
1088
1090
  },
1089
1091
  background: {
1090
- default: i ? n[100] : n[800],
1091
- paper: i ? C : n[900],
1092
- highlight: i ? n[200] : n[600],
1092
+ default: i ? y0 : k0,
1093
+ paper: i ? b : A,
1094
+ highlight: i ? l[200] : l[600],
1093
1095
  highlightPrimary: i ? t[100] : t[500]
1094
1096
  },
1095
- // divider: isLight ? neutral[400] : neutral[700],
1097
+ divider: i ? m(A, 0.12) : m(b, 0.12),
1096
1098
  categories: {
1097
- autoTransport: i ? p.AUTO_TRANSPORTT : f.AUTO_TRANSPORTT,
1098
- billsUtilities: i ? p.BILLS_UTILITIES : f.BILLS_UTILITIES,
1099
- businessServices: i ? p.BUSINESS_SERVICES : f.BUSINESS_SERVICES,
1100
- education: i ? p.EDUCATION : f.EDUCATION,
1101
- entertainment: i ? p.ENTERTAINMENT : f.ENTERTAINMENT,
1102
- feesCharges: i ? p.FEES_CHARGES : f.FEES_CHARGES,
1103
- financial: i ? p.FINANCIAL : f.FINANCIAL,
1104
- foodDining: i ? p.FOOD_DINING : f.FOOD_DINING,
1105
- giftsDonations: i ? p.GIFTS_DONATIONS : f.GIFTS_DONATIONS,
1106
- healthFitness: i ? p.HEALTH_FITNESS : f.HEALTH_FITNESS,
1107
- home: i ? p.HOME : f.HOME,
1108
- income: i ? p.INCOME : f.INCOME,
1109
- investments: i ? p.INVESTMENTS : f.INVESTMENTS,
1110
- kids: i ? p.KIDS : f.KIDS,
1111
- personalCare: i ? p.PERSONAL_CARE : f.PERSONAL_CARE,
1112
- pets: i ? p.PETS : f.PETS,
1113
- shopping: i ? p.SHOPPING : f.SHOPPING,
1114
- taxes: i ? p.TAXES : f.TAXES,
1115
- transfer: i ? p.TRANSFER : f.TRANSFER,
1116
- travel: i ? p.TRAVEL : f.TRAVEL,
1117
- uncategorized: i ? p.UNCATEGORIZED : f.UNCATEGORIZED
1099
+ autoTransport: i ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1100
+ billsUtilities: i ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
1101
+ businessServices: i ? u.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1102
+ education: i ? u.EDUCATION : h.EDUCATION,
1103
+ entertainment: i ? u.ENTERTAINMENT : h.ENTERTAINMENT,
1104
+ feesCharges: i ? u.FEES_CHARGES : h.FEES_CHARGES,
1105
+ financial: i ? u.FINANCIAL : h.FINANCIAL,
1106
+ foodDining: i ? u.FOOD_DINING : h.FOOD_DINING,
1107
+ giftsDonations: i ? u.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1108
+ healthFitness: i ? u.HEALTH_FITNESS : h.HEALTH_FITNESS,
1109
+ home: i ? u.HOME : h.HOME,
1110
+ income: i ? u.INCOME : h.INCOME,
1111
+ investments: i ? u.INVESTMENTS : h.INVESTMENTS,
1112
+ kids: i ? u.KIDS : h.KIDS,
1113
+ others: i ? u.OTHERS : h.OTHERS,
1114
+ personalCare: i ? u.PERSONAL_CARE : h.PERSONAL_CARE,
1115
+ pets: i ? u.PETS : h.PETS,
1116
+ shopping: i ? u.SHOPPING : h.SHOPPING,
1117
+ taxes: i ? u.TAXES : h.TAXES,
1118
+ transfer: i ? u.TRANSFER : h.TRANSFER,
1119
+ travel: i ? u.TRAVEL : h.TRAVEL,
1120
+ uncategorized: i ? u.UNCATEGORIZED : h.UNCATEGORIZED
1118
1121
  },
1119
1122
  chart: {
1120
- chart1: S.CHART1,
1121
- chart2: S.CHART2,
1122
- chart3: S.CHART3,
1123
- chart4: S.CHART4,
1124
- chart5: S.CHART5,
1125
- chart6: S.CHART6,
1126
- chart7: S.CHART7
1123
+ chart1: I.CHART1,
1124
+ chart2: I.CHART2,
1125
+ chart3: I.CHART3,
1126
+ chart4: I.CHART4,
1127
+ chart5: I.CHART5,
1128
+ chart6: I.CHART6,
1129
+ chart7: I.CHART7
1127
1130
  },
1128
1131
  chartMono: {
1129
- chartMono1: v.CHART_MONO1,
1130
- chartMono2: v.CHART_MONO2,
1131
- chartMono3: v.CHART_MONO3,
1132
- chartMono4: v.CHART_MONO4,
1133
- chartMono5: v.CHART_MONO5,
1134
- chartMono6: v.CHART_MONO6
1132
+ chartMono1: F.CHART_MONO1,
1133
+ chartMono2: F.CHART_MONO2,
1134
+ chartMono3: F.CHART_MONO3,
1135
+ chartMono4: F.CHART_MONO4,
1136
+ chartMono5: F.CHART_MONO5,
1137
+ chartMono6: F.CHART_MONO6
1135
1138
  }
1136
1139
  });
1137
- }, H = "Inter, Helvetica, Arial, sans-serif", k0 = (e) => R0(e, {
1140
+ }, H = "Inter, Helvetica, Arial, sans-serif", _0 = (e) => M0(e, {
1138
1141
  fontFamily: H,
1139
1142
  fontSize: 15,
1140
1143
  Body: {
@@ -1242,15 +1245,15 @@ const Ge = ({
1242
1245
  lineHeight: "12px"
1243
1246
  }
1244
1247
  });
1245
- E0.setLicenseKey(
1248
+ R0.setLicenseKey(
1246
1249
  "6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
1247
1250
  );
1248
1251
  const k = [...$().shadows];
1249
1252
  k[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1250
1253
  k[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1251
1254
  k[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1252
- const Ze = (e) => {
1253
- const t = y0(e), a = k0(t);
1255
+ const Xe = (e) => {
1256
+ const t = w0(e), a = _0(t);
1254
1257
  return $({
1255
1258
  breakpoints: {
1256
1259
  values: {
@@ -1273,10 +1276,10 @@ const Ze = (e) => {
1273
1276
  MuiAlert: {
1274
1277
  defaultProps: {
1275
1278
  iconMapping: {
1276
- success: /* @__PURE__ */ o(A, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1277
- error: /* @__PURE__ */ o(A, { fill: !0, name: "error", size: 24, weight: 400 }),
1278
- warning: /* @__PURE__ */ o(A, { fill: !0, name: "warning", size: 24, weight: 400 }),
1279
- info: /* @__PURE__ */ o(A, { fill: !0, name: "info", size: 24, weight: 400 })
1279
+ success: /* @__PURE__ */ o(R, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1280
+ error: /* @__PURE__ */ o(R, { fill: !0, name: "error", size: 24, weight: 400 }),
1281
+ warning: /* @__PURE__ */ o(R, { fill: !0, name: "warning", size: 24, weight: 400 }),
1282
+ info: /* @__PURE__ */ o(R, { fill: !0, name: "info", size: 24, weight: 400 })
1280
1283
  },
1281
1284
  variant: "filled"
1282
1285
  },
@@ -1696,7 +1699,6 @@ const Ze = (e) => {
1696
1699
  root: {
1697
1700
  height: "44px",
1698
1701
  "&.MuiInputBase-multiline": {
1699
- padding: 0,
1700
1702
  minHeight: "44px",
1701
1703
  height: "auto"
1702
1704
  }
@@ -1863,50 +1865,50 @@ const Ze = (e) => {
1863
1865
  });
1864
1866
  };
1865
1867
  export {
1866
- me as AccountsFilledIcon,
1867
- Te as AccountsIcon,
1868
- be as ArrowLeftIcon,
1869
- Ce as AttentionFilledIcon,
1868
+ be as AccountsFilledIcon,
1869
+ Ce as AccountsIcon,
1870
+ Ae as ArrowLeftIcon,
1871
+ Re as AttentionFilledIcon,
1870
1872
  g as BaseIcon,
1871
- ye as BottomSheetTransition,
1872
- Ae as CalendarIcon,
1873
- u as CategoryGuids,
1874
- F0 as CategoryIcon,
1873
+ we as BottomSheetTransition,
1874
+ Ee as CalendarIcon,
1875
+ p as CategoryGuids,
1876
+ v0 as CategoryIcon,
1875
1877
  H0 as CategoryIconList,
1876
- S0 as CategoryIconVariants,
1877
- Ee as CheckmarkFilledIcon,
1878
- Me as ChevronDownIcon,
1879
- Re as ChevronLeftIcon,
1880
- Ie as ChevronRightIcon,
1881
- Se as CloseIcon,
1882
- Ne as DateRangePicker,
1883
- O0 as DialogFooter,
1884
- _e as DialogHeader,
1885
- ze as Drawer,
1886
- He as EditIcon,
1887
- ve as FilterIcon,
1888
- O0 as Footer,
1889
- L0 as H1,
1890
- ke as H2,
1891
- we as H3,
1892
- Fe as HeartIcon,
1878
+ I0 as CategoryIconVariants,
1879
+ Me as CheckmarkFilledIcon,
1880
+ Se as ChevronDownIcon,
1881
+ Ie as ChevronLeftIcon,
1882
+ He as ChevronRightIcon,
1883
+ Fe as CloseIcon,
1884
+ ke as DateRangePicker,
1885
+ x0 as DialogFooter,
1886
+ Be as DialogHeader,
1887
+ Ve as Drawer,
1888
+ ve as EditIcon,
1889
+ Oe as FilterIcon,
1890
+ x0 as Footer,
1891
+ D0 as H1,
1892
+ _e as H2,
1893
+ Pe as H3,
1894
+ xe as HeartIcon,
1893
1895
  H as INTER,
1894
- A as Icon,
1895
- I0 as IconWeight,
1896
- Be as InstitutionLogo,
1897
- Oe as MXLogoCopyrightIcon,
1898
- Le as MXLogoFilledIcon,
1899
- xe as MXLogoIcon,
1900
- De as MXLogoOutlineIcon,
1901
- Ve as MerchantLogo,
1902
- Pe as P,
1903
- x as TARGETS,
1896
+ R as Icon,
1897
+ S0 as IconWeight,
1898
+ Ue as InstitutionLogo,
1899
+ Le as MXLogoCopyrightIcon,
1900
+ Ne as MXLogoFilledIcon,
1901
+ De as MXLogoIcon,
1902
+ ye as MXLogoOutlineIcon,
1903
+ Ge as MerchantLogo,
1904
+ ze as P,
1905
+ O as TARGETS,
1904
1906
  y as THEMES,
1905
- D as Text,
1906
- Ue as TextField,
1907
- Ge as Toast,
1908
- $e as TokenProvider,
1909
- Ze as createMXTheme,
1910
- We as useTokens
1907
+ L as Text,
1908
+ $e as TextField,
1909
+ We as Toast,
1910
+ Ze as TokenProvider,
1911
+ Xe as createMXTheme,
1912
+ Ke as useTokens
1911
1913
  };
1912
1914
  //# sourceMappingURL=index.es.js.map