@mxenabled/mxui 1.5.2 → 1.5.4

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,35 +1,35 @@
1
1
  import { jsx as a, jsxs as x } from "react/jsx-runtime";
2
2
  import C from "react";
3
- import k 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 $ } from "date-fns/endOfMonth";
7
- import { endOfYear as pe } from "date-fns/endOfYear";
8
- import { startOfToday as he } from "date-fns/startOfToday";
3
+ import F from "@mui/material/Stack";
4
+ import { useTheme as H, createTheme as X } from "@mui/material/styles";
5
+ import { Icon as ce, Close as se } from "@mxenabled/mx-icons";
6
+ import { endOfMonth as U } from "date-fns/endOfMonth";
7
+ import { endOfYear as de } from "date-fns/endOfYear";
8
+ import { startOfToday as ue } from "date-fns/startOfToday";
9
9
  import { startOfMonth as W } from "date-fns/startOfMonth";
10
10
  import { startOfYear as Z } from "date-fns/startOfYear";
11
11
  import { subDays as K } 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 Y, Typography as X, Radio as L, Checkbox as ye, alpha as b, darken as N, lighten as y, getContrastRatio as Oe } from "@mui/material";
30
- import { circularProgressClasses as ke } from "@mui/material/CircularProgress";
31
- import { LicenseInfo as Fe } from "@mui/x-license-pro";
32
- const f = ({
12
+ import { subMonths as pe } from "date-fns/subMonths";
13
+ import { subYears as he } from "date-fns/subYears";
14
+ import ge from "@mui/material/useMediaQuery";
15
+ import { LocalizationProvider as fe, StaticDateRangePicker as me } from "@mui/x-date-pickers-pro";
16
+ import { AdapterDateFns as be } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
+ import j from "@mui/material/Box";
18
+ import Te from "@mui/material/ToggleButton";
19
+ import Ce from "@mui/material/ToggleButtonGroup";
20
+ import Q from "@mui/material/Slide";
21
+ import V from "@mui/material/Button";
22
+ import J from "@mui/material/IconButton";
23
+ import xe from "@mui/material/Typography";
24
+ import Re from "@mui/material/Drawer";
25
+ import Me from "@mui/material/TextField";
26
+ import Ae from "@mui/material/Snackbar";
27
+ import Ee from "@mui/material/Alert";
28
+ import { light as q, buildTheme as G, dark as Se } from "@mxenabled/design-tokens";
29
+ import { FormControlLabel as Ie, Box as B, Typography as Y, Radio as z, Checkbox as ve, alpha as b, darken as L, lighten as y, getContrastRatio as He } from "@mui/material";
30
+ import { circularProgressClasses as ye } from "@mui/material/CircularProgress";
31
+ import { LicenseInfo as Oe } from "@mui/x-license-pro";
32
+ const m = ({
33
33
  children: e,
34
34
  height: o,
35
35
  size: i = 16,
@@ -48,7 +48,7 @@ const f = ({
48
48
  children: e
49
49
  }
50
50
  );
51
- var De = /* @__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))(De || {});
51
+ var Fe = /* @__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))(Fe || {});
52
52
  const M = ({
53
53
  color: e,
54
54
  fill: o = !1,
@@ -56,9 +56,9 @@ const M = ({
56
56
  size: n = 20,
57
57
  sx: r,
58
58
  weight: d = 300,
59
- ...c
59
+ ...l
60
60
  }) => /* @__PURE__ */ a(
61
- de,
61
+ ce,
62
62
  {
63
63
  color: e,
64
64
  fill: o,
@@ -66,39 +66,39 @@ const M = ({
66
66
  size: n,
67
67
  sx: r,
68
68
  weight: d,
69
- ...c
69
+ ...l
70
70
  }
71
- ), I0 = ({
71
+ ), A0 = ({
72
72
  color: e = "currentColor",
73
73
  ...o
74
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
74
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
75
75
  "path",
76
76
  {
77
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
78
  fill: e
79
79
  }
80
- ) })), v0 = ({
80
+ ) })), E0 = ({
81
81
  color: e = "currentColor",
82
82
  ...o
83
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
83
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
84
84
  "path",
85
85
  {
86
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
87
  fill: e
88
88
  }
89
- ) })), H0 = ({
89
+ ) })), S0 = ({
90
90
  color: e = "currentColor",
91
91
  ...o
92
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
92
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
93
93
  "path",
94
94
  {
95
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
96
  fill: e
97
97
  }
98
- ) })), y0 = ({
98
+ ) })), I0 = ({
99
99
  color: e = "currentColor",
100
100
  ...o
101
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
101
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
102
102
  "path",
103
103
  {
104
104
  clipRule: "evenodd",
@@ -106,91 +106,91 @@ const M = ({
106
106
  fill: e,
107
107
  fillRule: "evenodd"
108
108
  }
109
- ) })), O0 = ({
109
+ ) })), v0 = ({
110
110
  color: e = "currentColor",
111
111
  ...o
112
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
112
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
113
113
  "path",
114
114
  {
115
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
116
  fill: e
117
117
  }
118
- ) })), k0 = ({
118
+ ) })), H0 = ({
119
119
  color: e = "currentColor",
120
120
  ...o
121
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
121
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
122
122
  "path",
123
123
  {
124
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
125
  fill: e
126
126
  }
127
- ) })), F0 = ({
127
+ ) })), y0 = ({
128
128
  color: e = "currentColor",
129
129
  ...o
130
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
130
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
131
131
  "path",
132
132
  {
133
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
134
  fill: e
135
135
  }
136
- ) })), D0 = ({
136
+ ) })), O0 = ({
137
137
  color: e = "currentColor",
138
138
  ...o
139
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
139
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
140
140
  "path",
141
141
  {
142
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
143
  fill: e
144
144
  }
145
- ) })), L0 = ({
145
+ ) })), F0 = ({
146
146
  color: e = "currentColor",
147
147
  ...o
148
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
148
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
149
149
  "path",
150
150
  {
151
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
152
  fill: e
153
153
  }
154
- ) })), N0 = ({
154
+ ) })), k0 = ({
155
155
  color: e = "currentColor",
156
156
  ...o
157
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
157
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
158
158
  "path",
159
159
  {
160
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
161
  fill: e
162
162
  }
163
- ) })), w0 = ({
163
+ ) })), D0 = ({
164
164
  color: e = "currentColor",
165
165
  ...o
166
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
166
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
167
167
  "path",
168
168
  {
169
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
170
  fill: e
171
171
  }
172
- ) })), _0 = ({
172
+ ) })), L0 = ({
173
173
  color: e = "currentColor",
174
174
  ...o
175
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
175
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
176
176
  "path",
177
177
  {
178
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
179
  fill: e
180
180
  }
181
- ) })), P0 = ({
181
+ ) })), N0 = ({
182
182
  color: e = "currentColor",
183
183
  ...o
184
- }) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
184
+ }) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
185
185
  "path",
186
186
  {
187
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
188
  fill: e
189
189
  }
190
- ) })), B0 = ({
190
+ ) })), w0 = ({
191
191
  color: e = "currentColor",
192
192
  ...o
193
- }) => /* @__PURE__ */ x(f, { ...o, children: [
193
+ }) => /* @__PURE__ */ x(m, { ...o, children: [
194
194
  /* @__PURE__ */ a(
195
195
  "path",
196
196
  {
@@ -205,10 +205,10 @@ const M = ({
205
205
  fill: e
206
206
  }
207
207
  )
208
- ] }), z0 = ({
208
+ ] }), _0 = ({
209
209
  color: e = "currentColor",
210
210
  ...o
211
- }) => /* @__PURE__ */ x(f, { ...o, children: [
211
+ }) => /* @__PURE__ */ x(m, { ...o, children: [
212
212
  /* @__PURE__ */ a(
213
213
  "path",
214
214
  {
@@ -241,10 +241,10 @@ const M = ({
241
241
  fillRule: "evenodd"
242
242
  }
243
243
  )
244
- ] }), V0 = ({
244
+ ] }), P0 = ({
245
245
  color: e = "currentColor",
246
246
  ...o
247
- }) => /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
247
+ }) => /* @__PURE__ */ a(m, { ...o, children: /* @__PURE__ */ a(
248
248
  "path",
249
249
  {
250
250
  clipRule: "evenodd",
@@ -252,10 +252,10 @@ const M = ({
252
252
  fill: e,
253
253
  fillRule: "evenodd"
254
254
  }
255
- ) }), G0 = ({
255
+ ) }), B0 = ({
256
256
  color: e = "currentColor",
257
257
  ...o
258
- }) => /* @__PURE__ */ x(f, { ...o, children: [
258
+ }) => /* @__PURE__ */ x(m, { ...o, children: [
259
259
  /* @__PURE__ */ a(
260
260
  "path",
261
261
  {
@@ -280,12 +280,12 @@ const M = ({
280
280
  }
281
281
  )
282
282
  ] });
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 || {}), Le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Le || {});
284
- const oe = {
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 || {}), ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(ke || {});
284
+ const ee = {
285
285
  guid: g.Uncategorized,
286
286
  colorName: "uncategorized",
287
287
  icon: "category"
288
- }, Ne = [
288
+ }, De = [
289
289
  {
290
290
  guid: g.AutoTransport,
291
291
  colorName: "autoTransport",
@@ -386,58 +386,58 @@ const oe = {
386
386
  colorName: "travel",
387
387
  icon: "airplane_ticket"
388
388
  },
389
- oe
390
- ], we = 0.625, _e = ({
389
+ ee
390
+ ], Le = 0.625, Ne = ({
391
391
  categoryGuid: e,
392
- icon_ratio: o = we,
392
+ icon_ratio: o = Le,
393
393
  size: i = 32,
394
394
  sx: n = {},
395
395
  variant: r = "filled"
396
396
  }) => {
397
- const d = H(), c = C.useMemo(
398
- () => Ne.find((u) => u.guid === e) ?? oe,
397
+ const d = H(), l = C.useMemo(
398
+ () => De.find((u) => u.guid === e) ?? ee,
399
399
  [e]
400
- ), l = d.palette.categories[c.colorName];
400
+ ), c = d.palette.categories[l.colorName];
401
401
  return /* @__PURE__ */ a(
402
- k,
402
+ F,
403
403
  {
404
404
  alignItems: "center",
405
405
  bgcolor: () => {
406
- let u = l;
406
+ let u = c;
407
407
  return r === "twotone" && (u = `${u}20`), r === "transparent" || r === "basic" ? "transparent" : u;
408
408
  },
409
409
  borderRadius: 1,
410
410
  color: () => {
411
- const u = r === "filled" ? d.palette.common.white : l;
411
+ const u = r === "filled" ? d.palette.common.white : c;
412
412
  return r === "basic" ? d.palette.text.primary : u;
413
413
  },
414
414
  height: i,
415
415
  justifyContent: "center",
416
416
  sx: [...Array.isArray(n) ? n : [n]],
417
417
  width: i,
418
- children: /* @__PURE__ */ a(M, { name: c.icon, size: i * o })
418
+ children: /* @__PURE__ */ a(M, { name: l.icon, size: i * o })
419
419
  }
420
420
  );
421
- }, Pe = ({
421
+ }, we = ({
422
422
  items: e,
423
423
  onChange: o,
424
424
  isValid: i,
425
425
  selected: n
426
426
  }) => {
427
- const r = H(), d = e?.map((c) => {
428
- const l = c.getValue({ isValid: i });
427
+ const r = H(), d = e?.map((l) => {
428
+ const c = l.getValue({ isValid: i });
429
429
  return {
430
- label: c.label,
430
+ label: l.label,
431
431
  onClick: () => {
432
- o(l, "accept", c);
432
+ o(c, "accept", l);
433
433
  },
434
- disabled: !i(l)
434
+ disabled: !i(c)
435
435
  };
436
436
  });
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,
437
+ return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Ce, { color: "primary", orientation: "vertical", value: n, children: d?.map((l) => /* @__PURE__ */ a(
438
+ Te,
439
439
  {
440
- onClick: c.onClick,
440
+ onClick: l.onClick,
441
441
  sx: {
442
442
  borderWidth: 1,
443
443
  color: "secondary.main",
@@ -457,28 +457,28 @@ const oe = {
457
457
  color: "primary"
458
458
  }
459
459
  },
460
- value: c.label,
461
- children: c.label
460
+ value: l.label,
461
+ children: l.label
462
462
  },
463
- c.label
463
+ l.label
464
464
  )) }) });
465
- }, U0 = ({
465
+ }, z0 = ({
466
466
  copy: e,
467
467
  dateRange: o,
468
468
  onRangeChanged: i,
469
469
  selectedShortcut: n = e.dateRangeThisMonth,
470
470
  sx: r = {}
471
471
  }) => {
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);
472
+ const d = H(), l = ge(d.breakpoints.down("sm")), c = C.useMemo(() => {
473
+ const t = ue(), u = pe(t, 1), T = he(t, 1);
474
474
  return [
475
475
  {
476
476
  label: e.dateRangeThisMonth,
477
- getValue: () => [W(t), $(t)]
477
+ getValue: () => [W(t), U(t)]
478
478
  },
479
479
  {
480
480
  label: e.dateRangeLastMonth,
481
- getValue: () => [W(u), $(u)]
481
+ getValue: () => [W(u), U(u)]
482
482
  },
483
483
  {
484
484
  label: e.dateRangeLast30Days,
@@ -494,7 +494,7 @@ const oe = {
494
494
  },
495
495
  {
496
496
  label: e.dateRangeLastYear,
497
- getValue: () => [Z(T), pe(T)]
497
+ getValue: () => [Z(T), de(T)]
498
498
  },
499
499
  {
500
500
  label: e.dateRangeCustom,
@@ -505,8 +505,8 @@ const oe = {
505
505
  const T = u.shortcut;
506
506
  i?.(t, T ? T.label : e.dateRangeCustom);
507
507
  };
508
- return /* @__PURE__ */ a(k, { gap: 16, m: 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
509
- Te,
508
+ return /* @__PURE__ */ a(F, { gap: 16, m: 8, children: /* @__PURE__ */ a(fe, { dateAdapter: be, children: /* @__PURE__ */ a(
509
+ me,
510
510
  {
511
511
  calendars: 1,
512
512
  localeText: {
@@ -519,7 +519,7 @@ const oe = {
519
519
  slotProps: {
520
520
  actionBar: { actions: [] },
521
521
  shortcuts: {
522
- items: c ? [] : l
522
+ items: l ? [] : c
523
523
  },
524
524
  toolbar: {
525
525
  toolbarFormat: "MMM d, yyyy"
@@ -527,26 +527,26 @@ const oe = {
527
527
  },
528
528
  slots: {
529
529
  leftArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_left", size: 28 }),
530
- shortcuts: (t) => /* @__PURE__ */ a(Pe, { selected: n, ...t }),
530
+ shortcuts: (t) => /* @__PURE__ */ a(we, { selected: n, ...t }),
531
531
  rightArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_right", size: 28 })
532
532
  },
533
533
  sx: { ...r },
534
534
  value: o
535
535
  }
536
536
  ) }) });
537
- }, $0 = C.forwardRef(function(o, i) {
538
- return /* @__PURE__ */ a(J, { direction: "up", ref: i, ...o });
539
- }), Be = ({
537
+ }, V0 = C.forwardRef(function(o, i) {
538
+ return /* @__PURE__ */ a(Q, { direction: "up", ref: i, ...o });
539
+ }), _e = ({
540
540
  hasSecondaryAction: e = !0,
541
541
  isPrimaryDisabled: o,
542
542
  onPrimaryAction: i,
543
543
  onSecondaryAction: n,
544
544
  primaryColor: r = "primary",
545
545
  primaryText: d = "Save",
546
- secondaryColor: c = "primary",
547
- secondaryText: l = "Cancel"
546
+ secondaryColor: l = "primary",
547
+ secondaryText: c = "Cancel"
548
548
  }) => /* @__PURE__ */ x(
549
- k,
549
+ F,
550
550
  {
551
551
  direction: "row",
552
552
  gap: 16,
@@ -554,16 +554,16 @@ const oe = {
554
554
  sx: { bgcolor: "background.paper", width: "100%", p: 24 },
555
555
  children: [
556
556
  e && /* @__PURE__ */ a(
557
- B,
557
+ V,
558
558
  {
559
- color: c,
559
+ color: l,
560
560
  onClick: n,
561
561
  variant: i ? "outlined" : "contained",
562
- children: l
562
+ children: c
563
563
  }
564
564
  ),
565
565
  i && /* @__PURE__ */ a(
566
- B,
566
+ V,
567
567
  {
568
568
  color: r,
569
569
  disabled: o,
@@ -574,50 +574,50 @@ const oe = {
574
574
  )
575
575
  ]
576
576
  }
577
- ), F = ({
577
+ ), k = ({
578
578
  bold: e,
579
579
  className: o = "",
580
580
  children: i,
581
581
  color: n,
582
582
  sx: r = {},
583
583
  truncate: d = !0,
584
- uppercase: c,
585
- ...l
584
+ uppercase: l,
585
+ ...c
586
586
  }) => {
587
- switch (l.variant) {
587
+ switch (c.variant) {
588
588
  case "Body":
589
- l.variant = "body1";
589
+ c.variant = "body1";
590
590
  break;
591
591
  case "Button":
592
- l.variant = "button";
592
+ c.variant = "button";
593
593
  break;
594
594
  case "H1":
595
- l.variant = "h1";
595
+ c.variant = "h1";
596
596
  break;
597
597
  case "H2":
598
- l.variant = "h2";
598
+ c.variant = "h2";
599
599
  break;
600
600
  case "H3":
601
- l.variant = "h3";
601
+ c.variant = "h3";
602
602
  break;
603
603
  case "Paragraph":
604
- l.variant = "subtitle1";
604
+ c.variant = "subtitle1";
605
605
  break;
606
606
  case "ParagraphSmall":
607
- l.variant = "subtitle2";
607
+ c.variant = "subtitle2";
608
608
  break;
609
609
  case "Small":
610
- l.variant = "body2";
610
+ c.variant = "body2";
611
611
  break;
612
612
  case "Tiny":
613
- l.variant = "tiny";
613
+ c.variant = "tiny";
614
614
  break;
615
615
  case "XSmall":
616
- l.variant = "caption";
616
+ c.variant = "caption";
617
617
  break;
618
618
  }
619
619
  return /* @__PURE__ */ a(
620
- Me,
620
+ xe,
621
621
  {
622
622
  className: `mx-kmui-text ${o}`,
623
623
  color: n,
@@ -630,17 +630,17 @@ const oe = {
630
630
  textOverflow: "ellipsis",
631
631
  whiteSpace: "nowrap"
632
632
  } : {},
633
- c ? {
633
+ l ? {
634
634
  textTransform: "uppercase"
635
635
  } : {},
636
636
  ...Array.isArray(r) ? r : [r]
637
637
  ],
638
- ...l,
638
+ ...c,
639
639
  children: i
640
640
  }
641
641
  );
642
- }, ze = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(F, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), W0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(F, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), Z0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(F, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), K0 = ({ className: e = "", children: o, truncate: i, ...n }) => /* @__PURE__ */ a(
643
- F,
642
+ }, Pe = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), G0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), $0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), U0 = ({ className: e = "", children: o, truncate: i, ...n }) => /* @__PURE__ */ a(
643
+ k,
644
644
  {
645
645
  className: `mx-kmui-text p ${e}`,
646
646
  component: "p",
@@ -649,8 +649,8 @@ const oe = {
649
649
  ...n,
650
650
  children: o
651
651
  }
652
- ), Y0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
653
- k,
652
+ ), W0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
653
+ F,
654
654
  {
655
655
  sx: {
656
656
  alignItems: "center",
@@ -660,23 +660,23 @@ const oe = {
660
660
  py: 14
661
661
  },
662
662
  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, {}) })
663
+ /* @__PURE__ */ a(Pe, { variant: "h3", children: e.title }),
664
+ /* @__PURE__ */ a(J, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(se, {}) })
665
665
  ]
666
666
  }
667
- ), X0 = ({
667
+ ), Z0 = ({
668
668
  className: e,
669
669
  disableSave: o,
670
670
  id: i,
671
671
  isOpen: n,
672
672
  onClose: r,
673
673
  onSave: d,
674
- primaryText: c,
675
- secondaryText: l,
674
+ primaryText: l,
675
+ secondaryText: c,
676
676
  children: s,
677
677
  ...t
678
678
  }) => /* @__PURE__ */ x(
679
- Ae,
679
+ Re,
680
680
  {
681
681
  anchor: "right",
682
682
  className: `mx-kmui-drawer ${e}`,
@@ -688,55 +688,55 @@ const oe = {
688
688
  children: [
689
689
  s,
690
690
  d && /* @__PURE__ */ a(
691
- Be,
691
+ _e,
692
692
  {
693
693
  isPrimaryDisabled: o,
694
694
  onPrimaryAction: d,
695
695
  onSecondaryAction: r,
696
- primaryText: c,
697
- secondaryText: l
696
+ primaryText: l,
697
+ secondaryText: c
698
698
  }
699
699
  )
700
700
  ]
701
701
  }
702
- ), re = 32, V = "https://content.moneydesktop.com/storage/MD_Assets", Ve = `${V}/serenity/default_institution_logo.png`, j0 = ({
702
+ ), oe = 32, $ = "https://content.moneydesktop.com/storage/MD_Assets", Be = `${$}/serenity/default_institution_logo.png`, K0 = ({
703
703
  alt: e,
704
704
  institutionGuid: o,
705
705
  logoUrl: i,
706
- size: n = re,
706
+ size: n = oe,
707
707
  ...r
708
708
  }) => /* @__PURE__ */ a(
709
709
  "img",
710
710
  {
711
711
  alt: e,
712
712
  height: n,
713
- onError: (d) => d.target.src = Ve,
714
- src: i || `${V}/Ipad%20Logos/100x100/${o}_100x100.png`,
713
+ onError: (d) => d.target.src = Be,
714
+ src: i || `${$}/Ipad%20Logos/100x100/${o}_100x100.png`,
715
715
  style: {
716
716
  borderRadius: 4
717
717
  },
718
718
  width: n,
719
719
  ...r
720
720
  }
721
- ), Q0 = ({
721
+ ), Y0 = ({
722
722
  alt: e = "",
723
723
  categoryGuid: o,
724
724
  merchantGuid: i,
725
- size: n = re,
725
+ size: n = oe,
726
726
  ...r
727
727
  }) => {
728
- const [d, c] = C.useState(!1), l = H();
729
- return /* @__PURE__ */ x(Q, { display: "inline-block", position: "relative", ...r, children: [
728
+ const [d, l] = C.useState(!1), c = H();
729
+ return /* @__PURE__ */ x(j, { display: "inline-block", position: "relative", ...r, children: [
730
730
  i && !d && /* @__PURE__ */ a(
731
731
  "img",
732
732
  {
733
733
  alt: e,
734
734
  "aria-hidden": !e,
735
735
  height: n,
736
- onError: () => c(!0),
737
- src: `${V}/merchant_logos/${i}.png`,
736
+ onError: () => l(!0),
737
+ src: `${$}/merchant_logos/${i}.png`,
738
738
  style: {
739
- backgroundColor: l.palette.common.white,
739
+ backgroundColor: c.palette.common.white,
740
740
  borderRadius: 4,
741
741
  boxSizing: "border-box",
742
742
  position: "absolute"
@@ -744,16 +744,16 @@ const oe = {
744
744
  width: n
745
745
  }
746
746
  ),
747
- /* @__PURE__ */ a(_e, { categoryGuid: o, size: n })
747
+ /* @__PURE__ */ a(Ne, { categoryGuid: o, size: n })
748
748
  ] });
749
- }, J0 = ({
749
+ }, X0 = ({
750
750
  disabled: e = !1,
751
751
  label: o = "",
752
752
  shrink: i = !0,
753
753
  variant: n = "outlined",
754
754
  ...r
755
755
  }) => /* @__PURE__ */ a(
756
- Ee,
756
+ Me,
757
757
  {
758
758
  InputLabelProps: {
759
759
  shrink: i
@@ -764,34 +764,34 @@ const oe = {
764
764
  ...r
765
765
  }
766
766
  );
767
- function Ge(e) {
768
- return /* @__PURE__ */ a(J, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
767
+ function ze(e) {
768
+ return /* @__PURE__ */ a(Q, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
769
769
  }
770
- const q0 = ({
770
+ const j0 = ({
771
771
  open: e,
772
772
  handleClose: o,
773
773
  message: i,
774
774
  autoHideDuration: n = 3e3,
775
775
  severity: r = "success",
776
776
  snackbarSx: d,
777
- showAction: c = !1,
778
- showClose: l = !1,
777
+ showAction: l = !1,
778
+ showClose: c = !1,
779
779
  actionText: s = "Undo",
780
780
  onActionClick: t,
781
781
  multiLine: u = !1
782
782
  }) => {
783
783
  const T = H(), D = /* @__PURE__ */ x(
784
- k,
784
+ F,
785
785
  {
786
786
  alignItems: u ? "flex-end" : "center",
787
787
  direction: u ? "column-reverse" : "row",
788
788
  justifyContent: (
789
789
  // eslint-disable-next-line no-nested-ternary
790
- u && c && l ? "space-between" : "flex-end"
790
+ u && l && c ? "space-between" : "flex-end"
791
791
  ),
792
792
  children: [
793
- c && /* @__PURE__ */ a(
794
- B,
793
+ l && /* @__PURE__ */ a(
794
+ V,
795
795
  {
796
796
  color: "inherit",
797
797
  onClick: t || o,
@@ -803,8 +803,8 @@ const q0 = ({
803
803
  children: s
804
804
  }
805
805
  ),
806
- l && /* @__PURE__ */ a(
807
- q,
806
+ c && /* @__PURE__ */ a(
807
+ J,
808
808
  {
809
809
  "aria-label": "close",
810
810
  color: "inherit",
@@ -817,9 +817,9 @@ const q0 = ({
817
817
  }
818
818
  );
819
819
  return /* @__PURE__ */ a(
820
- Se,
820
+ Ae,
821
821
  {
822
- TransitionComponent: Ge,
822
+ TransitionComponent: ze,
823
823
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
824
824
  autoHideDuration: n,
825
825
  onClose: o,
@@ -829,14 +829,14 @@ const q0 = ({
829
829
  width: u ? 400 : 325
830
830
  },
831
831
  children: /* @__PURE__ */ a(
832
- Ie,
832
+ Ee,
833
833
  {
834
834
  action: D,
835
835
  severity: r,
836
836
  sx: {
837
837
  display: "flex",
838
838
  alignItems: "stretch",
839
- minHeight: l && c && u ? 120 : 56,
839
+ minHeight: c && l && u ? 120 : 56,
840
840
  maxHeight: u ? 120 : 56,
841
841
  width: "100%",
842
842
  "& .MuiAlert-icon": {
@@ -854,7 +854,7 @@ const q0 = ({
854
854
  },
855
855
  variant: "filled",
856
856
  children: /* @__PURE__ */ a(
857
- F,
857
+ k,
858
858
  {
859
859
  sx: {
860
860
  lineHeight: T.typography.body1.lineHeight,
@@ -874,142 +874,118 @@ const q0 = ({
874
874
  REACT: "react",
875
875
  REACT_NATIVE: "react_native",
876
876
  NATIVE: "native"
877
- }, _ = {
877
+ }, w = {
878
878
  LIGHT: "light",
879
879
  DARK: "dark"
880
- }, te = C.createContext(ee), ie = C.createContext(
881
- z(_.LIGHT, O.REACT_NATIVE)
882
- ), eo = ({
880
+ }, re = C.createContext(q), te = C.createContext(
881
+ G(w.LIGHT, O.REACT_NATIVE)
882
+ ), Q0 = ({
883
883
  children: e,
884
884
  target: o = O.REACT,
885
- theme: i = _.LIGHT,
885
+ theme: i = w.LIGHT,
886
886
  tokenOverrides: n
887
887
  }) => {
888
- const [r, d] = C.useState(i === _.LIGHT ? ee : ve), c = C.useMemo(() => ({
888
+ const [r, d] = C.useState(i === w.LIGHT ? q : Se), l = C.useMemo(() => ({
889
889
  ...n
890
890
  }), [n]);
891
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
- }, oo = (e = O.REACT, o = {}) => {
896
- const i = e === O.REACT ? te : ie, n = C.useContext(i);
897
- return n || z(_.LIGHT, e, { ...o });
898
- }, ro = ({
899
- component: e = L,
892
+ const c = G(i, o, { ...l });
893
+ d(c);
894
+ }, [i, o, l]), o === O.REACT ? /* @__PURE__ */ a(re.Provider, { value: r, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(te.Provider, { value: r, children: e }));
895
+ }, J0 = (e = O.REACT, o = {}) => {
896
+ const i = e === O.REACT ? re : te, n = C.useContext(i);
897
+ return n || G(w.LIGHT, e, { ...o });
898
+ }, q0 = ({
899
+ component: e = z,
900
900
  variant: o = "outlined",
901
901
  selected: i,
902
902
  onChange: n,
903
903
  headline: r,
904
904
  message: d,
905
- name: c,
906
- value: l,
905
+ name: l,
906
+ value: c,
907
907
  disabled: s = !1,
908
908
  error: t = !1,
909
909
  icon: u = !1,
910
910
  sx: T = {},
911
911
  ...D
912
912
  }) => {
913
- const m = H(), ae = () => {
914
- if (!s && n) {
915
- const U = e === L ? !0 : !i;
916
- n({
917
- target: { value: l, checked: U }
918
- }, U);
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,
913
+ const f = H(), ie = () => f.palette.background.paper, P = () => t ? `inset 0px 0px 0px 2px ${f.palette.error.main}` : s ? i ? `inset 0px 0px 0px 2px ${f.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${f.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${f.palette.action.disabled}` : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(f.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(f.palette.common.black, 0.23)}` : i ? `inset 0px 0px 0px 2px ${b(f.palette.primary.main, 0.5)}` : f.shadows[1], ae = () => s || t ? f.palette.background.paper : b(f.palette.primary.main, 0.1), ne = () => s || t ? P() : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(f.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(f.palette.primary.main, 0.5)}` : P(), le = () => s || t ? f.palette.background.paper : b(f.palette.primary.main, 0.3);
914
+ return /* @__PURE__ */ a(
915
+ Ie,
923
916
  {
924
- elevation: o === "elevation" ? 1 : 0,
925
- onClick: ae,
917
+ checked: i,
918
+ control: e === z ? /* @__PURE__ */ a(
919
+ z,
920
+ {
921
+ name: l,
922
+ sx: {
923
+ p: 0,
924
+ ml: 16,
925
+ mt: "8px",
926
+ flexShrink: 0,
927
+ "& .MuiSvgIcon-root": {
928
+ fontSize: "20px"
929
+ }
930
+ },
931
+ ...D
932
+ }
933
+ ) : /* @__PURE__ */ a(
934
+ ve,
935
+ {
936
+ name: l,
937
+ sx: {
938
+ p: 0,
939
+ ml: 16,
940
+ mt: "8px",
941
+ flexShrink: 0,
942
+ "& .MuiSvgIcon-root": {
943
+ fontSize: "20px"
944
+ }
945
+ },
946
+ ...D
947
+ }
948
+ ),
949
+ disabled: s,
950
+ label: /* @__PURE__ */ x(B, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
951
+ u && /* @__PURE__ */ a(B, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: u }),
952
+ /* @__PURE__ */ x(B, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
953
+ r && /* @__PURE__ */ a(Y, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
954
+ /* @__PURE__ */ a(Y, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
955
+ ] })
956
+ ] }),
957
+ labelPlacement: "start",
958
+ onChange: n,
926
959
  sx: {
927
960
  display: "flex",
928
961
  padding: "6px 16px",
929
962
  alignItems: "flex-start",
930
963
  justifyContent: "space-between",
931
- borderRadius: m.shape.borderRadius / 2,
964
+ borderRadius: f.shape.borderRadius / 2,
932
965
  mb: 16,
933
966
  cursor: s ? "not-allowed" : "pointer",
934
967
  opacity: s ? 0.6 : 1,
935
- backgroundColor: ne(),
968
+ backgroundColor: ie(),
936
969
  border: "none",
937
- boxShadow: G(),
970
+ boxShadow: P(),
938
971
  boxSizing: "border-box",
939
- transition: m.transitions.create(["background-color", "box-shadow"], {
940
- duration: m.transitions.duration.short
972
+ transition: f.transitions.create(["background-color", "box-shadow"], {
973
+ duration: f.transitions.duration.short
941
974
  }),
942
975
  "&:hover": {
943
- backgroundColor: le(),
944
- boxShadow: ce()
976
+ backgroundColor: ae(),
977
+ boxShadow: ne()
945
978
  },
946
979
  "&:active": {
947
- backgroundColor: se()
980
+ backgroundColor: le()
948
981
  },
949
982
  "&:focus-visible": {
950
- outline: `2px solid ${m.palette.info.main}`,
983
+ outline: `2px solid ${f.palette.info.main}`,
951
984
  outlineOffset: "2px"
952
985
  },
953
986
  ...T
954
987
  },
955
- tabIndex: 0,
956
- variant: o,
957
- children: [
958
- u && /* @__PURE__ */ a(
959
- Y,
960
- {
961
- sx: {
962
- mr: 12,
963
- mt: "8px",
964
- flexShrink: 0
965
- },
966
- children: u
967
- }
968
- ),
969
- /* @__PURE__ */ x(Y, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
970
- r && /* @__PURE__ */ a(X, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
971
- /* @__PURE__ */ a(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
972
- ] }),
973
- e === L ? /* @__PURE__ */ a(
974
- L,
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
- ...D
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
- ...D
1010
- }
1011
- )
1012
- ]
988
+ value: c
1013
989
  }
1014
990
  );
1015
991
  }, v = {
@@ -1021,11 +997,11 @@ const q0 = ({
1021
997
  300: y(e, 0.55),
1022
998
  400: y(e, 0.3),
1023
999
  500: e,
1024
- 600: N(e, 0.3),
1025
- 700: N(e, 0.5),
1026
- 800: N(e, 0.65),
1027
- 900: N(e, 0.75)
1028
- }), R = "#FFFFFF", w = "#000000", Ue = "#F9F9F9", $e = "#1A1A1A", E = {
1000
+ 600: L(e, 0.3),
1001
+ 700: L(e, 0.5),
1002
+ 800: L(e, 0.65),
1003
+ 900: L(e, 0.75)
1004
+ }), R = "#FFFFFF", N = "#000000", Ve = "#F9F9F9", Ge = "#1A1A1A", E = {
1029
1005
  PRIMARY: "#2C64EF",
1030
1006
  SECONDARY: "#808080",
1031
1007
  INFO: "#2C64EF",
@@ -1094,8 +1070,8 @@ const q0 = ({
1094
1070
  TRANSFER: "#75C7B7",
1095
1071
  TRAVEL: "#76ACF7",
1096
1072
  UNCATEGORIZED: "#BCC6D4"
1097
- }, We = (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;
1073
+ }, $e = (e, o) => {
1074
+ 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), l = A(o?.info || E.INFO), c = A(o?.success || E.SUCCESS), s = A(o?.grey || E.GREY), t = e === v.LIGHT;
1099
1075
  return {
1100
1076
  mode: e,
1101
1077
  // DEPRECATED: Use grey instead
@@ -1110,7 +1086,7 @@ const q0 = ({
1110
1086
  },
1111
1087
  common: {
1112
1088
  white: R,
1113
- black: w
1089
+ black: N
1114
1090
  },
1115
1091
  primary: {
1116
1092
  ...i,
@@ -1141,7 +1117,7 @@ const q0 = ({
1141
1117
  dark: t ? s[700] : s[200],
1142
1118
  /* DEPRECATED: Use dark instead */
1143
1119
  darker: t ? s[900] : s[100],
1144
- contrastText: Oe(t ? s[700] : s[400], "#fff") > 4.5 ? R : s[900]
1120
+ contrastText: He(t ? s[700] : s[400], "#fff") > 4.5 ? R : s[900]
1145
1121
  },
1146
1122
  text: {
1147
1123
  primary: t ? s[900] : R,
@@ -1169,16 +1145,6 @@ const q0 = ({
1169
1145
  darker: t ? d[900] : d[100]
1170
1146
  },
1171
1147
  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]
1180
- },
1181
- success: {
1182
1148
  ...l,
1183
1149
  /* DEPRECATED: Use light instead */
1184
1150
  lighter: t ? l[100] : l[800],
@@ -1188,20 +1154,30 @@ const q0 = ({
1188
1154
  /* DEPRECATED: Use light instead */
1189
1155
  darker: t ? l[900] : l[100]
1190
1156
  },
1157
+ success: {
1158
+ ...c,
1159
+ /* DEPRECATED: Use light instead */
1160
+ lighter: t ? c[100] : c[800],
1161
+ light: t ? c[300] : c[600],
1162
+ main: t ? c[500] : c[400],
1163
+ dark: t ? c[700] : c[200],
1164
+ /* DEPRECATED: Use light instead */
1165
+ darker: t ? c[900] : c[100]
1166
+ },
1191
1167
  grey: s,
1192
1168
  action: {
1193
- active: t ? b(w, 0.56) : b(R, 0.56),
1169
+ active: t ? b(N, 0.56) : b(R, 0.56),
1194
1170
  hoverOpacity: t ? 0.1 : 0.2,
1195
1171
  selectedOpacity: t ? 0.16 : 0.25,
1196
1172
  focusOpacity: 0.3
1197
1173
  },
1198
1174
  background: {
1199
- default: t ? o?.background?.default?.light || Ue : o?.background?.default?.dark || $e,
1200
- paper: t ? o?.background?.paper?.light || R : o?.background?.paper?.dark || w,
1175
+ default: t ? o?.background?.default?.light || Ve : o?.background?.default?.dark || Ge,
1176
+ paper: t ? o?.background?.paper?.light || R : o?.background?.paper?.dark || N,
1201
1177
  highlight: t ? s[200] : s[600],
1202
1178
  highlightPrimary: t ? i[100] : i[500]
1203
1179
  },
1204
- divider: t ? b(w, 0.12) : b(R, 0.24),
1180
+ divider: t ? b(N, 0.12) : b(R, 0.24),
1205
1181
  categories: {
1206
1182
  autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1207
1183
  billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
@@ -1244,8 +1220,8 @@ const q0 = ({
1244
1220
  chartMono6: I.CHART_MONO6
1245
1221
  }
1246
1222
  };
1247
- }, Ze = "Inter, Helvetica, Arial, sans-serif", Ke = (e) => {
1248
- const o = e?.fontFamily || Ze;
1223
+ }, Ue = "Inter, Helvetica, Arial, sans-serif", We = (e) => {
1224
+ const o = e?.fontFamily || Ue;
1249
1225
  return {
1250
1226
  fontFamily: o,
1251
1227
  fontSize: 15,
@@ -1378,16 +1354,16 @@ const q0 = ({
1378
1354
  ...e
1379
1355
  };
1380
1356
  };
1381
- Fe.setLicenseKey(
1357
+ Oe.setLicenseKey(
1382
1358
  "6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
1383
1359
  );
1384
- const P = [...j().shadows];
1385
- P[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1386
- P[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1387
- P[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1388
- const to = (e, o) => {
1389
- const i = We(e, o?.paletteOptions), n = Ke(o?.typographyOptions);
1390
- return j({
1360
+ const _ = [...X().shadows];
1361
+ _[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1362
+ _[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1363
+ _[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1364
+ const eo = (e, o) => {
1365
+ const i = $e(e, o?.paletteOptions), n = We(o?.typographyOptions);
1366
+ return X({
1391
1367
  breakpoints: {
1392
1368
  values: {
1393
1369
  xs: 444,
@@ -1398,7 +1374,7 @@ const to = (e, o) => {
1398
1374
  }
1399
1375
  },
1400
1376
  palette: i,
1401
- shadows: P,
1377
+ shadows: _,
1402
1378
  shape: {
1403
1379
  borderRadius: o?.shapeOptions?.borderRadius || 4
1404
1380
  },
@@ -1418,14 +1394,14 @@ const to = (e, o) => {
1418
1394
  },
1419
1395
  styleOverrides: {
1420
1396
  root: ({ theme: r, ownerState: d }) => {
1421
- const c = d.severity || "info";
1422
- let l = r.palette.mode === v.LIGHT ? r.palette[c]?.[50] : r.palette[c]?.[800];
1397
+ const l = d.severity || "info";
1398
+ let c = r.palette.mode === v.LIGHT ? r.palette[l]?.[50] : r.palette[l]?.[800];
1423
1399
  if (d.variant === "filled") {
1424
- const s = c === "warning";
1425
- l = r.palette[c]?.[s ? 400 : 600];
1400
+ const s = l === "warning";
1401
+ c = r.palette[l]?.[s ? 400 : 600];
1426
1402
  }
1427
1403
  return {
1428
- backgroundColor: l,
1404
+ backgroundColor: c,
1429
1405
  borderRadius: r.shape.borderRadius,
1430
1406
  "& .MuiAlert-message": {
1431
1407
  fontSize: r.typography.subtitle1.fontSize,
@@ -1507,7 +1483,7 @@ const to = (e, o) => {
1507
1483
  MuiCircularProgress: {
1508
1484
  styleOverrides: {
1509
1485
  root: {
1510
- [`& .${ke.circle}`]: {
1486
+ [`& .${ye.circle}`]: {
1511
1487
  strokeLinecap: "round"
1512
1488
  }
1513
1489
  }
@@ -2138,51 +2114,51 @@ const to = (e, o) => {
2138
2114
  });
2139
2115
  };
2140
2116
  export {
2141
- I0 as AccountsFilledIcon,
2142
- v0 as AccountsIcon,
2143
- H0 as ArrowLeftIcon,
2144
- y0 as AttentionFilledIcon,
2145
- f as BaseIcon,
2146
- $0 as BottomSheetTransition,
2147
- O0 as CalendarIcon,
2117
+ A0 as AccountsFilledIcon,
2118
+ E0 as AccountsIcon,
2119
+ S0 as ArrowLeftIcon,
2120
+ I0 as AttentionFilledIcon,
2121
+ m as BaseIcon,
2122
+ V0 as BottomSheetTransition,
2123
+ v0 as CalendarIcon,
2148
2124
  g as CategoryGuids,
2149
- _e as CategoryIcon,
2150
- Ne as CategoryIconList,
2151
- Le as CategoryIconVariants,
2152
- k0 as CheckmarkFilledIcon,
2153
- F0 as ChevronDownIcon,
2154
- D0 as ChevronLeftIcon,
2155
- L0 as ChevronRightIcon,
2156
- N0 as CloseIcon,
2157
- U0 as DateRangePicker,
2158
- Be as DialogFooter,
2159
- Y0 as DialogHeader,
2160
- X0 as Drawer,
2161
- w0 as EditIcon,
2162
- _0 as FilterIcon,
2163
- Be as Footer,
2164
- ze as H1,
2165
- W0 as H2,
2166
- Z0 as H3,
2167
- P0 as HeartIcon,
2168
- Ze as INTER,
2125
+ Ne as CategoryIcon,
2126
+ De as CategoryIconList,
2127
+ ke as CategoryIconVariants,
2128
+ H0 as CheckmarkFilledIcon,
2129
+ y0 as ChevronDownIcon,
2130
+ O0 as ChevronLeftIcon,
2131
+ F0 as ChevronRightIcon,
2132
+ k0 as CloseIcon,
2133
+ z0 as DateRangePicker,
2134
+ _e as DialogFooter,
2135
+ W0 as DialogHeader,
2136
+ Z0 as Drawer,
2137
+ D0 as EditIcon,
2138
+ L0 as FilterIcon,
2139
+ _e as Footer,
2140
+ Pe as H1,
2141
+ G0 as H2,
2142
+ $0 as H3,
2143
+ N0 as HeartIcon,
2144
+ Ue as INTER,
2169
2145
  M as Icon,
2170
- De as IconWeight,
2171
- j0 as InstitutionLogo,
2172
- z0 as MXLogoCopyrightIcon,
2173
- V0 as MXLogoFilledIcon,
2174
- B0 as MXLogoIcon,
2175
- G0 as MXLogoOutlineIcon,
2176
- Q0 as MerchantLogo,
2177
- K0 as P,
2178
- ro as SelectionBox,
2146
+ Fe as IconWeight,
2147
+ K0 as InstitutionLogo,
2148
+ _0 as MXLogoCopyrightIcon,
2149
+ P0 as MXLogoFilledIcon,
2150
+ w0 as MXLogoIcon,
2151
+ B0 as MXLogoOutlineIcon,
2152
+ Y0 as MerchantLogo,
2153
+ U0 as P,
2154
+ q0 as SelectionBox,
2179
2155
  O as TARGETS,
2180
- _ as THEMES,
2181
- F as Text,
2182
- J0 as TextField,
2183
- q0 as Toast,
2184
- eo as TokenProvider,
2185
- to as createMXTheme,
2186
- oo as useTokens
2156
+ w as THEMES,
2157
+ k as Text,
2158
+ X0 as TextField,
2159
+ j0 as Toast,
2160
+ Q0 as TokenProvider,
2161
+ eo as createMXTheme,
2162
+ J0 as useTokens
2187
2163
  };
2188
2164
  //# sourceMappingURL=index.es.js.map