@mxenabled/mxui 1.5.8 → 1.5.9

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,39 +1,42 @@
1
- import { jsx as a, jsxs as R } from "react/jsx-runtime";
2
- import C from "react";
3
- import F from "@mui/material/Stack";
4
- import { useTheme as H, createTheme as ne } from "@mui/material/styles";
5
- import { Icon as le, Close as ce } from "@mxenabled/mx-icons";
1
+ import { jsx as a, jsxs as T } from "react/jsx-runtime";
2
+ import R from "react";
3
+ import I from "@mui/material/Stack";
4
+ import { useTheme as H, createTheme as ce } from "@mui/material/styles";
5
+ import { Icon as se, ExpandMore as de, Close as ue } from "@mxenabled/mx-icons";
6
6
  import { endOfMonth as U } from "date-fns/endOfMonth";
7
- import { endOfYear as se } from "date-fns/endOfYear";
8
- import { startOfToday as de } from "date-fns/startOfToday";
9
- import { startOfMonth as $ } from "date-fns/startOfMonth";
10
- import { startOfYear as W } from "date-fns/startOfYear";
11
- import { subDays as Z } from "date-fns/subDays";
12
- import { subMonths as ue } from "date-fns/subMonths";
13
- import { subYears as pe } from "date-fns/subYears";
14
- import he from "@mui/material/useMediaQuery";
15
- import { LocalizationProvider as ge, StaticDateRangePicker as me } from "@mui/x-date-pickers-pro";
16
- import { AdapterDateFns as fe } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
- import Y from "@mui/material/Box";
18
- import be from "@mui/material/ToggleButton";
19
- import Te from "@mui/material/ToggleButtonGroup";
20
- import X from "@mui/material/Slide";
21
- import z from "@mui/material/Button";
22
- import j from "@mui/material/IconButton";
23
- import Ce from "@mui/material/Typography";
24
- import Re from "@mui/material/Drawer";
25
- import xe from "@mui/material/TextField";
26
- import Ae from "@mui/material/Snackbar";
27
- import Me from "@mui/material/Alert";
28
- import { light as Q, buildTheme as V, dark as Ee } from "@mxenabled/design-tokens";
29
- import { FormControlLabel as Se, Box as _, Typography as K, Radio as P, Checkbox as Ie, alpha as b, darken as k, lighten as y, getContrastRatio as ve } from "@mui/material";
30
- import { circularProgressClasses as He } from "@mui/material/CircularProgress";
31
- import { LicenseInfo as ye } from "@mui/x-license-pro";
7
+ import { endOfYear as pe } from "date-fns/endOfYear";
8
+ import { startOfToday as he } from "date-fns/startOfToday";
9
+ import { startOfMonth as W } from "date-fns/startOfMonth";
10
+ import { startOfYear as Z } from "date-fns/startOfYear";
11
+ import { subDays as K } from "date-fns/subDays";
12
+ import { subMonths as ge } from "date-fns/subMonths";
13
+ import { subYears as me } from "date-fns/subYears";
14
+ import fe 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 { MultiInputDateRangeField as Re } from "@mui/x-date-pickers-pro/MultiInputDateRangeField";
18
+ import X from "@mui/material/Box";
19
+ import xe from "@mui/material/ToggleButton";
20
+ import Me from "@mui/material/ToggleButtonGroup";
21
+ import Ae from "@mui/material/MenuItem";
22
+ import j from "@mui/material/TextField";
23
+ import { usePickerLayout as Ee, PickersLayoutRoot as Se, PickersLayoutContentWrapper as Ie, pickersLayoutClasses as P } from "@mui/x-date-pickers/PickersLayout";
24
+ import Q from "@mui/material/Slide";
25
+ import V from "@mui/material/Button";
26
+ import J from "@mui/material/IconButton";
27
+ import ve from "@mui/material/Typography";
28
+ import ye from "@mui/material/Drawer";
29
+ import He from "@mui/material/Snackbar";
30
+ import Fe from "@mui/material/Alert";
31
+ import { light as q, buildTheme as $, dark as Oe } from "@mxenabled/design-tokens";
32
+ import { FormControlLabel as ke, Box as _, Typography as Y, Radio as B, Checkbox as Le, alpha as b, darken as D, lighten as F, getContrastRatio as De } from "@mui/material";
33
+ import { circularProgressClasses as Ne } from "@mui/material/CircularProgress";
34
+ import { LicenseInfo as we } from "@mui/x-license-pro";
32
35
  const f = ({
33
36
  children: e,
34
37
  height: o,
35
- size: i = 16,
36
- viewBox: n = "0 0 16 16",
38
+ size: t = 16,
39
+ viewBox: l = "0 0 16 16",
37
40
  width: r
38
41
  }) => /* @__PURE__ */ a(
39
42
  "svg",
@@ -41,34 +44,34 @@ const f = ({
41
44
  "aria-hidden": !0,
42
45
  className: "mx-kmui-icon",
43
46
  focusable: !1,
44
- height: o || i,
45
- viewBox: n,
46
- width: r || i,
47
+ height: o || t,
48
+ viewBox: l,
49
+ width: r || t,
47
50
  xmlns: "http://www.w3.org/2000/svg",
48
51
  children: e
49
52
  }
50
53
  );
51
- var Oe = /* @__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))(Oe || {});
54
+ var Pe = /* @__PURE__ */ ((e) => (e[e.Lighter = 100] = "Lighter", e[e.Light = 200] = "Light", e[e.Normal = 300] = "Normal", e[e.Dark = 400] = "Dark", e[e.Darker = 500] = "Darker", e))(Pe || {});
52
55
  const x = ({
53
56
  color: e,
54
57
  fill: o = !1,
55
- name: i,
56
- size: n = 20,
58
+ name: t,
59
+ size: l = 20,
57
60
  sx: r,
58
- weight: d = 300,
59
- ...l
61
+ weight: s = 300,
62
+ ...n
60
63
  }) => /* @__PURE__ */ a(
61
- le,
64
+ se,
62
65
  {
63
66
  color: e,
64
67
  fill: o,
65
- name: i,
66
- size: n,
68
+ name: t,
69
+ size: l,
67
70
  sx: r,
68
- weight: d,
69
- ...l
71
+ weight: s,
72
+ ...n
70
73
  }
71
- ), E0 = ({
74
+ ), w0 = ({
72
75
  color: e = "currentColor",
73
76
  ...o
74
77
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -77,7 +80,7 @@ const x = ({
77
80
  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
81
  fill: e
79
82
  }
80
- ) })), S0 = ({
83
+ ) })), P0 = ({
81
84
  color: e = "currentColor",
82
85
  ...o
83
86
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -86,7 +89,7 @@ const x = ({
86
89
  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
90
  fill: e
88
91
  }
89
- ) })), I0 = ({
92
+ ) })), _0 = ({
90
93
  color: e = "currentColor",
91
94
  ...o
92
95
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -95,7 +98,7 @@ const x = ({
95
98
  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
99
  fill: e
97
100
  }
98
- ) })), v0 = ({
101
+ ) })), B0 = ({
99
102
  color: e = "currentColor",
100
103
  ...o
101
104
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -106,7 +109,7 @@ const x = ({
106
109
  fill: e,
107
110
  fillRule: "evenodd"
108
111
  }
109
- ) })), H0 = ({
112
+ ) })), z0 = ({
110
113
  color: e = "currentColor",
111
114
  ...o
112
115
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -115,7 +118,7 @@ const x = ({
115
118
  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
119
  fill: e
117
120
  }
118
- ) })), y0 = ({
121
+ ) })), V0 = ({
119
122
  color: e = "currentColor",
120
123
  ...o
121
124
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -124,7 +127,7 @@ const x = ({
124
127
  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
128
  fill: e
126
129
  }
127
- ) })), O0 = ({
130
+ ) })), $0 = ({
128
131
  color: e = "currentColor",
129
132
  ...o
130
133
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -133,7 +136,7 @@ const x = ({
133
136
  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
137
  fill: e
135
138
  }
136
- ) })), F0 = ({
139
+ ) })), G0 = ({
137
140
  color: e = "currentColor",
138
141
  ...o
139
142
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -142,7 +145,7 @@ const x = ({
142
145
  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
146
  fill: e
144
147
  }
145
- ) })), L0 = ({
148
+ ) })), U0 = ({
146
149
  color: e = "currentColor",
147
150
  ...o
148
151
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -151,7 +154,7 @@ const x = ({
151
154
  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
155
  fill: e
153
156
  }
154
- ) })), D0 = ({
157
+ ) })), W0 = ({
155
158
  color: e = "currentColor",
156
159
  ...o
157
160
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -160,7 +163,7 @@ const x = ({
160
163
  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
164
  fill: e
162
165
  }
163
- ) })), k0 = ({
166
+ ) })), Z0 = ({
164
167
  color: e = "currentColor",
165
168
  ...o
166
169
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -169,7 +172,7 @@ const x = ({
169
172
  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
173
  fill: e
171
174
  }
172
- ) })), N0 = ({
175
+ ) })), K0 = ({
173
176
  color: e = "currentColor",
174
177
  ...o
175
178
  }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -178,7 +181,7 @@ const x = ({
178
181
  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
182
  fill: e
180
183
  }
181
- ) })), w0 = ({
184
+ ) })), Y0 = ({
182
185
  color: e = "currentColor",
183
186
  ...o
184
187
  }) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -187,10 +190,10 @@ const x = ({
187
190
  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
191
  fill: e
189
192
  }
190
- ) })), _0 = ({
193
+ ) })), X0 = ({
191
194
  color: e = "currentColor",
192
195
  ...o
193
- }) => /* @__PURE__ */ R(f, { ...o, children: [
196
+ }) => /* @__PURE__ */ T(f, { ...o, children: [
194
197
  /* @__PURE__ */ a(
195
198
  "path",
196
199
  {
@@ -205,10 +208,10 @@ const x = ({
205
208
  fill: e
206
209
  }
207
210
  )
208
- ] }), P0 = ({
211
+ ] }), j0 = ({
209
212
  color: e = "currentColor",
210
213
  ...o
211
- }) => /* @__PURE__ */ R(f, { ...o, children: [
214
+ }) => /* @__PURE__ */ T(f, { ...o, children: [
212
215
  /* @__PURE__ */ a(
213
216
  "path",
214
217
  {
@@ -241,7 +244,7 @@ const x = ({
241
244
  fillRule: "evenodd"
242
245
  }
243
246
  )
244
- ] }), B0 = ({
247
+ ] }), Q0 = ({
245
248
  color: e = "currentColor",
246
249
  ...o
247
250
  }) => /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
@@ -252,10 +255,10 @@ const x = ({
252
255
  fill: e,
253
256
  fillRule: "evenodd"
254
257
  }
255
- ) }), z0 = ({
258
+ ) }), J0 = ({
256
259
  color: e = "currentColor",
257
260
  ...o
258
- }) => /* @__PURE__ */ R(f, { ...o, children: [
261
+ }) => /* @__PURE__ */ T(f, { ...o, children: [
259
262
  /* @__PURE__ */ a(
260
263
  "path",
261
264
  {
@@ -280,12 +283,12 @@ const x = ({
280
283
  }
281
284
  )
282
285
  ] });
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 || {}), Fe = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Fe || {});
284
- const J = {
286
+ var g = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(g || {}), _e = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(_e || {});
287
+ const ee = {
285
288
  guid: g.Uncategorized,
286
289
  colorName: "uncategorized",
287
290
  icon: "category"
288
- }, Le = [
291
+ }, Be = [
289
292
  {
290
293
  guid: g.AutoTransport,
291
294
  colorName: "autoTransport",
@@ -386,20 +389,20 @@ const J = {
386
389
  colorName: "travel",
387
390
  icon: "airplane_ticket"
388
391
  },
389
- J
390
- ], De = 0.625, ke = ({
392
+ ee
393
+ ], ze = 0.625, Ve = ({
391
394
  categoryGuid: e,
392
- icon_ratio: o = De,
393
- size: i = 32,
394
- sx: n = {},
395
+ icon_ratio: o = ze,
396
+ size: t = 32,
397
+ sx: l = {},
395
398
  variant: r = "filled"
396
399
  }) => {
397
- const d = H(), l = C.useMemo(
398
- () => Le.find((u) => u.guid === e) ?? J,
400
+ const s = H(), n = R.useMemo(
401
+ () => Be.find((u) => u.guid === e) ?? ee,
399
402
  [e]
400
- ), c = d.palette.categories[l.colorName];
403
+ ), c = s.palette.categories[n.colorName];
401
404
  return /* @__PURE__ */ a(
402
- F,
405
+ I,
403
406
  {
404
407
  alignItems: "center",
405
408
  bgcolor: () => {
@@ -408,36 +411,36 @@ const J = {
408
411
  },
409
412
  borderRadius: 1,
410
413
  color: () => {
411
- const u = r === "filled" ? d.palette.common.white : c;
412
- return r === "basic" ? d.palette.text.primary : u;
414
+ const u = r === "filled" ? s.palette.common.white : c;
415
+ return r === "basic" ? s.palette.text.primary : u;
413
416
  },
414
- height: i,
417
+ height: t,
415
418
  justifyContent: "center",
416
- sx: [...Array.isArray(n) ? n : [n]],
417
- width: i,
418
- children: /* @__PURE__ */ a(x, { name: l.icon, size: i * o })
419
+ sx: [...Array.isArray(l) ? l : [l]],
420
+ width: t,
421
+ children: /* @__PURE__ */ a(x, { name: n.icon, size: t * o })
419
422
  }
420
423
  );
421
- }, Ne = ({
424
+ }, $e = ({
422
425
  items: e,
423
426
  onChange: o,
424
- isValid: i,
425
- selected: n
427
+ isValid: t,
428
+ selected: l
426
429
  }) => {
427
- const r = H(), d = e?.map((l) => {
428
- const c = l.getValue({ isValid: i });
430
+ const r = H(), s = e?.map((n) => {
431
+ const c = n.getValue({ isValid: t });
429
432
  return {
430
- label: l.label,
433
+ label: n.label,
431
434
  onClick: () => {
432
- o(c, "accept", l);
435
+ o(c, "accept", n);
433
436
  },
434
- disabled: !i(c)
437
+ disabled: !t(c)
435
438
  };
436
439
  });
437
- return /* @__PURE__ */ a(Y, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Te, { color: "primary", orientation: "vertical", value: n, children: d?.map((l) => /* @__PURE__ */ a(
438
- be,
440
+ return /* @__PURE__ */ a(X, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Me, { color: "primary", orientation: "vertical", value: l, children: s?.map((n) => /* @__PURE__ */ a(
441
+ xe,
439
442
  {
440
- onClick: l.onClick,
443
+ onClick: n.onClick,
441
444
  sx: {
442
445
  borderWidth: 1,
443
446
  color: "secondary.main",
@@ -457,56 +460,119 @@ const J = {
457
460
  color: "primary"
458
461
  }
459
462
  },
460
- value: l.label,
461
- children: l.label
463
+ value: n.label,
464
+ children: n.label
462
465
  },
463
- l.label
466
+ n.label
464
467
  )) }) });
465
- }, V0 = ({
468
+ }, Ge = ({
469
+ items: e,
470
+ onChange: o,
471
+ isValid: t,
472
+ selected: l,
473
+ selectLabel: r
474
+ }) => {
475
+ const s = e?.map((n) => {
476
+ const c = n.getValue({ isValid: t });
477
+ return {
478
+ label: n.label,
479
+ onClick: () => {
480
+ o(c, "accept", n);
481
+ },
482
+ disabled: !t(c)
483
+ };
484
+ });
485
+ return /* @__PURE__ */ a(I, { sx: { py: 16 }, children: /* @__PURE__ */ a(
486
+ j,
487
+ {
488
+ InputLabelProps: {
489
+ shrink: !0
490
+ },
491
+ SelectProps: { IconComponent: de },
492
+ defaultValue: l,
493
+ id: "select",
494
+ label: r,
495
+ select: !0,
496
+ sx: { width: "100%" },
497
+ value: l,
498
+ variant: "outlined",
499
+ children: s?.map((n) => /* @__PURE__ */ a(Ae, { onClick: n.onClick, value: n.label, children: n.label }, n.label))
500
+ }
501
+ ) });
502
+ }, Ue = (e) => {
503
+ const { toolbar: o, content: t, shortcuts: l } = Ee(e);
504
+ return /* @__PURE__ */ T(
505
+ Se,
506
+ {
507
+ ownerState: e,
508
+ sx: {
509
+ gridTemplateColumns: "minmax(320px, 1fr)",
510
+ overflow: "auto",
511
+ p: 0,
512
+ [`.${P.toolbar}`]: {
513
+ gridColumn: 1,
514
+ gridRow: 2
515
+ },
516
+ [`.${P.contentWrapper}`]: {
517
+ alignItems: "center",
518
+ gridColumn: 1,
519
+ gridRow: 3
520
+ }
521
+ },
522
+ children: [
523
+ /* @__PURE__ */ T(I, { sx: { gridColumn: 1, gridRow: 1, p: 16 }, children: [
524
+ l,
525
+ o
526
+ ] }),
527
+ /* @__PURE__ */ a(Ie, { className: P.contentWrapper, children: t })
528
+ ]
529
+ }
530
+ );
531
+ }, q0 = ({
466
532
  copy: e,
467
533
  dateRange: o,
468
- onRangeChanged: i,
469
- selectedShortcut: n = e.dateRangeThisMonth,
534
+ onRangeChanged: t,
535
+ selectedShortcut: l = e.dateRangeThisMonth,
470
536
  sx: r = {}
471
537
  }) => {
472
- const d = H(), l = he(d.breakpoints.down("sm")), c = C.useMemo(() => {
473
- const t = de(), u = ue(t, 1), T = pe(t, 1);
538
+ const s = H(), n = fe(s.breakpoints.down("sm")), c = R.useMemo(() => {
539
+ const i = he(), u = ge(i, 1), C = me(i, 1);
474
540
  return [
475
541
  {
476
542
  label: e.dateRangeThisMonth,
477
- getValue: () => [$(t), U(t)]
543
+ getValue: () => [W(i), U(i)]
478
544
  },
479
545
  {
480
546
  label: e.dateRangeLastMonth,
481
- getValue: () => [$(u), U(u)]
547
+ getValue: () => [W(u), U(u)]
482
548
  },
483
549
  {
484
550
  label: e.dateRangeLast30Days,
485
- getValue: () => [Z(t, 30), t]
551
+ getValue: () => [K(i, 30), i]
486
552
  },
487
553
  {
488
554
  label: e.dateRangeLast90Days,
489
- getValue: () => [Z(t, 90), t]
555
+ getValue: () => [K(i, 90), i]
490
556
  },
491
557
  {
492
558
  label: e.dateRangeYTD,
493
- getValue: () => [W(t), t]
559
+ getValue: () => [Z(i), i]
494
560
  },
495
561
  {
496
562
  label: e.dateRangeLastYear,
497
- getValue: () => [W(T), se(T)]
563
+ getValue: () => [Z(C), pe(C)]
498
564
  },
499
565
  {
500
566
  label: e.dateRangeCustom,
501
- getValue: () => [t, t]
567
+ getValue: () => [i, i]
502
568
  }
503
569
  ];
504
- }, [e]), s = (t, u) => {
505
- const T = u.shortcut;
506
- i?.(t, T ? T.label : e.dateRangeCustom);
570
+ }, [e]), d = (i, u) => {
571
+ const C = u.shortcut;
572
+ t?.(i, C ? C.label : e.dateRangeCustom);
507
573
  };
508
- return /* @__PURE__ */ a(F, { gap: 16, m: 8, children: /* @__PURE__ */ a(ge, { dateAdapter: fe, children: /* @__PURE__ */ a(
509
- me,
574
+ return /* @__PURE__ */ a(I, { gap: n ? 0 : 16, m: n ? 0 : 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
575
+ Te,
510
576
  {
511
577
  calendars: 1,
512
578
  localeText: {
@@ -514,39 +580,62 @@ const J = {
514
580
  end: e.dateRangeTo,
515
581
  toolbarTitle: e.dateRangeToolbarTitle
516
582
  },
517
- onChange: s,
583
+ onChange: d,
518
584
  showDaysOutsideCurrentMonth: !0,
519
585
  slotProps: {
520
586
  actionBar: { actions: [] },
521
587
  shortcuts: {
522
- items: l ? [] : c
588
+ items: c
523
589
  },
524
590
  toolbar: {
525
- toolbarFormat: "MMM d, yyyy"
591
+ toolbarFormat: n ? "MM/dd/yyyy" : "MMM d, yyyy"
526
592
  }
527
593
  },
528
594
  slots: {
595
+ ...n && { layout: Ue },
529
596
  leftArrowIcon: () => /* @__PURE__ */ a(x, { name: "chevron_left", size: 28 }),
530
- shortcuts: (t) => /* @__PURE__ */ a(Ne, { selected: n, ...t }),
531
- rightArrowIcon: () => /* @__PURE__ */ a(x, { name: "chevron_right", size: 28 })
597
+ shortcuts: (i) => n ? /* @__PURE__ */ a(
598
+ Ge,
599
+ {
600
+ selectLabel: e.dateRangeSelectARange,
601
+ selected: l,
602
+ ...i
603
+ }
604
+ ) : /* @__PURE__ */ a($e, { selected: l, ...i }),
605
+ rightArrowIcon: () => /* @__PURE__ */ a(x, { name: "chevron_right", size: 28 }),
606
+ ...n && {
607
+ toolbar: (i) => /* @__PURE__ */ a(
608
+ Re,
609
+ {
610
+ dateSeparator: "",
611
+ ...i,
612
+ slotProps: {
613
+ textField: ({ position: u }) => ({
614
+ label: u === "start" ? e.dateRangeFrom : e.dateRangeTo
615
+ })
616
+ },
617
+ sx: { gap: 8 }
618
+ }
619
+ )
620
+ }
532
621
  },
533
622
  sx: { ...r },
534
623
  value: o
535
624
  }
536
625
  ) }) });
537
- }, G0 = C.forwardRef(function(o, i) {
538
- return /* @__PURE__ */ a(X, { direction: "up", ref: i, ...o });
539
- }), we = ({
626
+ }, eo = R.forwardRef(function(o, t) {
627
+ return /* @__PURE__ */ a(Q, { direction: "up", ref: t, ...o });
628
+ }), We = ({
540
629
  hasSecondaryAction: e = !0,
541
630
  isPrimaryDisabled: o,
542
- onPrimaryAction: i,
543
- onSecondaryAction: n,
631
+ onPrimaryAction: t,
632
+ onSecondaryAction: l,
544
633
  primaryColor: r = "primary",
545
- primaryText: d = "Save",
546
- secondaryColor: l = "primary",
634
+ primaryText: s = "Save",
635
+ secondaryColor: n = "primary",
547
636
  secondaryText: c = "Cancel"
548
- }) => /* @__PURE__ */ R(
549
- F,
637
+ }) => /* @__PURE__ */ T(
638
+ I,
550
639
  {
551
640
  direction: "row",
552
641
  gap: 16,
@@ -554,34 +643,34 @@ const J = {
554
643
  sx: { bgcolor: "background.paper", p: 24 },
555
644
  children: [
556
645
  e && /* @__PURE__ */ a(
557
- z,
646
+ V,
558
647
  {
559
- color: l,
560
- onClick: n,
561
- variant: i ? "outlined" : "contained",
648
+ color: n,
649
+ onClick: l,
650
+ variant: t ? "outlined" : "contained",
562
651
  children: c
563
652
  }
564
653
  ),
565
- i && /* @__PURE__ */ a(
566
- z,
654
+ t && /* @__PURE__ */ a(
655
+ V,
567
656
  {
568
657
  color: r,
569
658
  disabled: o,
570
- onClick: i,
659
+ onClick: t,
571
660
  variant: "contained",
572
- children: d
661
+ children: s
573
662
  }
574
663
  )
575
664
  ]
576
665
  }
577
- ), L = ({
666
+ ), k = ({
578
667
  bold: e,
579
668
  className: o = "",
580
- children: i,
581
- color: n,
669
+ children: t,
670
+ color: l,
582
671
  sx: r = {},
583
- truncate: d = !0,
584
- uppercase: l,
672
+ truncate: s = !0,
673
+ uppercase: n,
585
674
  ...c
586
675
  }) => {
587
676
  switch (c.variant) {
@@ -617,40 +706,40 @@ const J = {
617
706
  break;
618
707
  }
619
708
  return /* @__PURE__ */ a(
620
- Ce,
709
+ ve,
621
710
  {
622
711
  className: `mx-kmui-text ${o}`,
623
- color: n,
712
+ color: l,
624
713
  sx: [
625
714
  e ? {
626
715
  fontWeight: 600
627
716
  } : {},
628
- d ? {
717
+ s ? {
629
718
  overflow: "hidden",
630
719
  textOverflow: "ellipsis",
631
720
  whiteSpace: "nowrap"
632
721
  } : {},
633
- l ? {
722
+ n ? {
634
723
  textTransform: "uppercase"
635
724
  } : {},
636
725
  ...Array.isArray(r) ? r : [r]
637
726
  ],
638
727
  ...c,
639
- children: i
728
+ children: t
640
729
  }
641
730
  );
642
- }, _e = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(L, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), U0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(L, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), $0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(L, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), W0 = ({ className: e = "", children: o, truncate: i, ...n }) => /* @__PURE__ */ a(
643
- L,
731
+ }, Ze = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...t, children: o }), oo = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...t, children: o }), ro = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...t, children: o }), to = ({ className: e = "", children: o, truncate: t, ...l }) => /* @__PURE__ */ a(
732
+ k,
644
733
  {
645
734
  className: `mx-kmui-text p ${e}`,
646
735
  component: "p",
647
- truncate: i || !1,
736
+ truncate: t || !1,
648
737
  variant: "body1",
649
- ...n,
738
+ ...l,
650
739
  children: o
651
740
  }
652
- ), Z0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ R(
653
- F,
741
+ ), io = ({ copy: e, onClose: o }) => /* @__PURE__ */ T(
742
+ I,
654
743
  {
655
744
  sx: {
656
745
  alignItems: "center",
@@ -660,151 +749,151 @@ const J = {
660
749
  py: 14
661
750
  },
662
751
  children: [
663
- /* @__PURE__ */ a(_e, { variant: "h3", children: e.title }),
664
- /* @__PURE__ */ a(j, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ce, {}) })
752
+ /* @__PURE__ */ a(Ze, { variant: "h3", children: e.title }),
753
+ /* @__PURE__ */ a(J, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ue, {}) })
665
754
  ]
666
755
  }
667
- ), K0 = ({
756
+ ), ao = ({
668
757
  className: e,
669
758
  disableSave: o,
670
- id: i,
671
- isOpen: n,
759
+ id: t,
760
+ isOpen: l,
672
761
  onClose: r,
673
- onSave: d,
674
- primaryText: l,
762
+ onSave: s,
763
+ primaryText: n,
675
764
  secondaryText: c,
676
- children: s,
677
- ...t
678
- }) => /* @__PURE__ */ R(
679
- Re,
765
+ children: d,
766
+ ...i
767
+ }) => /* @__PURE__ */ T(
768
+ ye,
680
769
  {
681
770
  anchor: "right",
682
771
  className: `mx-kmui-drawer ${e}`,
683
- id: i ?? void 0,
772
+ id: t ?? void 0,
684
773
  onClose: r,
685
- open: n,
774
+ open: l,
686
775
  variant: "temporary",
687
- ...t,
776
+ ...i,
688
777
  children: [
689
- s,
690
- d && /* @__PURE__ */ a(
691
- we,
778
+ d,
779
+ s && /* @__PURE__ */ a(
780
+ We,
692
781
  {
693
782
  isPrimaryDisabled: o,
694
- onPrimaryAction: d,
783
+ onPrimaryAction: s,
695
784
  onSecondaryAction: r,
696
- primaryText: l,
785
+ primaryText: n,
697
786
  secondaryText: c
698
787
  }
699
788
  )
700
789
  ]
701
790
  }
702
- ), q = 32, G = "https://content.moneydesktop.com/storage/MD_Assets", Pe = `${G}/serenity/default_institution_logo.png`, Y0 = ({
791
+ ), oe = 32, G = "https://content.moneydesktop.com/storage/MD_Assets", Ke = `${G}/serenity/default_institution_logo.png`, no = ({
703
792
  alt: e,
704
793
  institutionGuid: o,
705
- logoUrl: i,
706
- size: n = q,
794
+ logoUrl: t,
795
+ size: l = oe,
707
796
  ...r
708
797
  }) => /* @__PURE__ */ a(
709
798
  "img",
710
799
  {
711
800
  alt: e,
712
- height: n,
713
- onError: (d) => d.target.src = Pe,
714
- src: i || `${G}/Ipad%20Logos/100x100/${o}_100x100.png`,
801
+ height: l,
802
+ onError: (s) => s.target.src = Ke,
803
+ src: t || `${G}/Ipad%20Logos/100x100/${o}_100x100.png`,
715
804
  style: {
716
805
  borderRadius: 4
717
806
  },
718
- width: n,
807
+ width: l,
719
808
  ...r
720
809
  }
721
- ), X0 = ({
810
+ ), lo = ({
722
811
  alt: e = "",
723
812
  categoryGuid: o,
724
- merchantGuid: i,
725
- size: n = q,
813
+ merchantGuid: t,
814
+ size: l = oe,
726
815
  ...r
727
816
  }) => {
728
- const [d, l] = C.useState(!1), c = H();
729
- return /* @__PURE__ */ R(Y, { display: "inline-block", position: "relative", ...r, children: [
730
- i && !d && /* @__PURE__ */ a(
817
+ const [s, n] = R.useState(!1), c = H();
818
+ return /* @__PURE__ */ T(X, { display: "inline-block", position: "relative", ...r, children: [
819
+ t && !s && /* @__PURE__ */ a(
731
820
  "img",
732
821
  {
733
822
  alt: e,
734
823
  "aria-hidden": !e,
735
- height: n,
736
- onError: () => l(!0),
737
- src: `${G}/merchant_logos/${i}.png`,
824
+ height: l,
825
+ onError: () => n(!0),
826
+ src: `${G}/merchant_logos/${t}.png`,
738
827
  style: {
739
828
  backgroundColor: c.palette.common.white,
740
829
  borderRadius: 4,
741
830
  boxSizing: "border-box",
742
831
  position: "absolute"
743
832
  },
744
- width: n
833
+ width: l
745
834
  }
746
835
  ),
747
- /* @__PURE__ */ a(ke, { categoryGuid: o, size: n })
836
+ /* @__PURE__ */ a(Ve, { categoryGuid: o, size: l })
748
837
  ] });
749
- }, j0 = ({
838
+ }, co = ({
750
839
  disabled: e = !1,
751
840
  label: o = "",
752
- shrink: i = !0,
753
- variant: n = "outlined",
841
+ shrink: t = !0,
842
+ variant: l = "outlined",
754
843
  ...r
755
844
  }) => /* @__PURE__ */ a(
756
- xe,
845
+ j,
757
846
  {
758
847
  InputLabelProps: {
759
- shrink: i
848
+ shrink: t
760
849
  },
761
850
  disabled: e,
762
851
  label: o,
763
- variant: n,
852
+ variant: l,
764
853
  ...r
765
854
  }
766
855
  );
767
- function Be(e) {
768
- return /* @__PURE__ */ a(X, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
856
+ function Ye(e) {
857
+ return /* @__PURE__ */ a(Q, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
769
858
  }
770
- const Q0 = ({
859
+ const so = ({
771
860
  open: e,
772
861
  handleClose: o,
773
- message: i,
774
- autoHideDuration: n = 3e3,
862
+ message: t,
863
+ autoHideDuration: l = 3e3,
775
864
  severity: r = "success",
776
- snackbarSx: d,
777
- showAction: l = !1,
865
+ snackbarSx: s,
866
+ showAction: n = !1,
778
867
  showClose: c = !1,
779
- actionText: s = "Undo",
780
- onActionClick: t,
868
+ actionText: d = "Undo",
869
+ onActionClick: i,
781
870
  multiLine: u = !1
782
871
  }) => {
783
- const T = H(), D = /* @__PURE__ */ R(
784
- F,
872
+ const C = H(), L = /* @__PURE__ */ T(
873
+ I,
785
874
  {
786
875
  alignItems: u ? "flex-end" : "center",
787
876
  direction: u ? "column-reverse" : "row",
788
877
  justifyContent: (
789
878
  // eslint-disable-next-line no-nested-ternary
790
- u && l && c ? "space-between" : "flex-end"
879
+ u && n && c ? "space-between" : "flex-end"
791
880
  ),
792
881
  children: [
793
- l && /* @__PURE__ */ a(
794
- z,
882
+ n && /* @__PURE__ */ a(
883
+ V,
795
884
  {
796
885
  color: "inherit",
797
- onClick: t || o,
886
+ onClick: i || o,
798
887
  size: "small",
799
888
  sx: {
800
- color: T.palette.success.contrastText,
889
+ color: C.palette.success.contrastText,
801
890
  height: 44
802
891
  },
803
- children: s
892
+ children: d
804
893
  }
805
894
  ),
806
895
  c && /* @__PURE__ */ a(
807
- j,
896
+ J,
808
897
  {
809
898
  "aria-label": "close",
810
899
  color: "inherit",
@@ -817,26 +906,26 @@ const Q0 = ({
817
906
  }
818
907
  );
819
908
  return /* @__PURE__ */ a(
820
- Ae,
909
+ He,
821
910
  {
822
- TransitionComponent: Be,
911
+ TransitionComponent: Ye,
823
912
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
824
- autoHideDuration: n,
913
+ autoHideDuration: l,
825
914
  onClose: o,
826
915
  open: e,
827
916
  sx: {
828
- ...d,
917
+ ...s,
829
918
  width: u ? 400 : 325
830
919
  },
831
920
  children: /* @__PURE__ */ a(
832
- Me,
921
+ Fe,
833
922
  {
834
- action: D,
923
+ action: L,
835
924
  severity: r,
836
925
  sx: {
837
926
  display: "flex",
838
927
  alignItems: "stretch",
839
- minHeight: c && l && u ? 120 : 56,
928
+ minHeight: c && n && u ? 120 : 56,
840
929
  maxHeight: u ? 120 : 56,
841
930
  width: "100%",
842
931
  "& .MuiAlert-icon": {
@@ -854,16 +943,16 @@ const Q0 = ({
854
943
  },
855
944
  variant: "filled",
856
945
  children: /* @__PURE__ */ a(
857
- L,
946
+ k,
858
947
  {
859
948
  sx: {
860
- lineHeight: T.typography.body1.lineHeight,
949
+ lineHeight: C.typography.body1.lineHeight,
861
950
  whiteSpace: u ? "normal" : "nowrap",
862
951
  overflow: u ? "visible" : "hidden",
863
952
  textOverflow: u ? "clip" : "ellipsis"
864
953
  },
865
954
  truncate: !u,
866
- children: i
955
+ children: t
867
956
  }
868
957
  )
869
958
  }
@@ -877,48 +966,48 @@ const Q0 = ({
877
966
  }, N = {
878
967
  LIGHT: "light",
879
968
  DARK: "dark"
880
- }, ee = C.createContext(Q), oe = C.createContext(
881
- V(N.LIGHT, O.REACT_NATIVE)
882
- ), J0 = ({
969
+ }, re = R.createContext(q), te = R.createContext(
970
+ $(N.LIGHT, O.REACT_NATIVE)
971
+ ), uo = ({
883
972
  children: e,
884
973
  target: o = O.REACT,
885
- theme: i = N.LIGHT,
886
- tokenOverrides: n
974
+ theme: t = N.LIGHT,
975
+ tokenOverrides: l
887
976
  }) => {
888
- const [r, d] = C.useState(i === N.LIGHT ? Q : Ee), l = C.useMemo(() => ({
889
- ...n
890
- }), [n]);
891
- return C.useEffect(() => {
892
- const c = V(i, o, { ...l });
893
- d(c);
894
- }, [i, o, l]), o === O.REACT ? /* @__PURE__ */ a(ee.Provider, { value: r, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(oe.Provider, { value: r, children: e }));
895
- }, q0 = (e = O.REACT, o = {}) => {
896
- const i = e === O.REACT ? ee : oe, n = C.useContext(i);
897
- return n || V(N.LIGHT, e, { ...o });
898
- }, eo = ({
899
- component: e = P,
977
+ const [r, s] = R.useState(t === N.LIGHT ? q : Oe), n = R.useMemo(() => ({
978
+ ...l
979
+ }), [l]);
980
+ return R.useEffect(() => {
981
+ const c = $(t, o, { ...n });
982
+ s(c);
983
+ }, [t, o, n]), 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 }));
984
+ }, po = (e = O.REACT, o = {}) => {
985
+ const t = e === O.REACT ? re : te, l = R.useContext(t);
986
+ return l || $(N.LIGHT, e, { ...o });
987
+ }, ho = ({
988
+ component: e = B,
900
989
  variant: o = "outlined",
901
- selected: i,
902
- onChange: n,
990
+ selected: t,
991
+ onChange: l,
903
992
  headline: r,
904
- message: d,
905
- name: l,
993
+ message: s,
994
+ name: n,
906
995
  value: c,
907
- disabled: s = !1,
908
- error: t = !1,
996
+ disabled: d = !1,
997
+ error: i = !1,
909
998
  icon: u = !1,
910
- sx: T = {},
911
- ...D
999
+ sx: C = {},
1000
+ ...L
912
1001
  }) => {
913
- const m = H(), re = () => m.palette.background.paper, w = () => 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}` : `inset 0px 0px 0px 1px ${m.palette.action.disabled}` : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : m.shadows[1], te = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ie = () => s || t ? w() : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : w(), ae = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
1002
+ const m = H(), ie = () => m.palette.background.paper, w = () => i ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : d ? t ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${m.palette.action.disabled}` : o === "outlined" ? t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : m.shadows[1], ae = () => d || i ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ne = () => d || i ? w() : o === "outlined" ? t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : w(), le = () => d || i ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
914
1003
  return /* @__PURE__ */ a(
915
- Se,
1004
+ ke,
916
1005
  {
917
- checked: i,
918
- control: e === P ? /* @__PURE__ */ a(
919
- P,
1006
+ checked: t,
1007
+ control: e === B ? /* @__PURE__ */ a(
1008
+ B,
920
1009
  {
921
- name: l,
1010
+ name: n,
922
1011
  sx: {
923
1012
  p: 0,
924
1013
  ml: 16,
@@ -928,12 +1017,12 @@ const Q0 = ({
928
1017
  fontSize: "20px"
929
1018
  }
930
1019
  },
931
- ...D
1020
+ ...L
932
1021
  }
933
1022
  ) : /* @__PURE__ */ a(
934
- Ie,
1023
+ Le,
935
1024
  {
936
- name: l,
1025
+ name: n,
937
1026
  sx: {
938
1027
  p: 0,
939
1028
  ml: 16,
@@ -943,19 +1032,19 @@ const Q0 = ({
943
1032
  fontSize: "20px"
944
1033
  }
945
1034
  },
946
- ...D
1035
+ ...L
947
1036
  }
948
1037
  ),
949
- disabled: s,
950
- label: /* @__PURE__ */ R(_, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
1038
+ disabled: d,
1039
+ label: /* @__PURE__ */ T(_, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
951
1040
  u && /* @__PURE__ */ a(_, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: u }),
952
- /* @__PURE__ */ R(_, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
953
- r && /* @__PURE__ */ a(K, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
954
- /* @__PURE__ */ a(K, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
1041
+ /* @__PURE__ */ T(_, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
1042
+ r && /* @__PURE__ */ a(Y, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
1043
+ /* @__PURE__ */ a(Y, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: s })
955
1044
  ] })
956
1045
  ] }),
957
1046
  labelPlacement: "start",
958
- onChange: n,
1047
+ onChange: l,
959
1048
  sx: {
960
1049
  display: "flex",
961
1050
  padding: "6px 16px",
@@ -963,9 +1052,9 @@ const Q0 = ({
963
1052
  justifyContent: "space-between",
964
1053
  borderRadius: m.shape.borderRadius / 2,
965
1054
  mb: 16,
966
- cursor: s ? "not-allowed" : "pointer",
967
- opacity: s ? 0.6 : 1,
968
- backgroundColor: re(),
1055
+ cursor: d ? "not-allowed" : "pointer",
1056
+ opacity: d ? 0.6 : 1,
1057
+ backgroundColor: ie(),
969
1058
  border: "none",
970
1059
  boxShadow: w(),
971
1060
  boxSizing: "border-box",
@@ -973,35 +1062,35 @@ const Q0 = ({
973
1062
  duration: m.transitions.duration.short
974
1063
  }),
975
1064
  "&:hover": {
976
- backgroundColor: te(),
977
- boxShadow: ie()
1065
+ backgroundColor: ae(),
1066
+ boxShadow: ne()
978
1067
  },
979
1068
  "&:active": {
980
- backgroundColor: ae()
1069
+ backgroundColor: le()
981
1070
  },
982
1071
  "&:focus-visible": {
983
1072
  outline: `2px solid ${m.palette.info.main}`,
984
1073
  outlineOffset: "2px"
985
1074
  },
986
- ...T
1075
+ ...C
987
1076
  },
988
1077
  value: c
989
1078
  }
990
1079
  );
991
- }, v = {
1080
+ }, y = {
992
1081
  LIGHT: "light"
993
- }, A = (e) => ({
994
- 50: y(e, 0.95),
995
- 100: y(e, 0.85),
996
- 200: y(e, 0.7),
997
- 300: y(e, 0.55),
998
- 400: y(e, 0.3),
1082
+ }, M = (e) => ({
1083
+ 50: F(e, 0.95),
1084
+ 100: F(e, 0.85),
1085
+ 200: F(e, 0.7),
1086
+ 300: F(e, 0.55),
1087
+ 400: F(e, 0.3),
999
1088
  500: e,
1000
- 600: k(e, 0.3),
1001
- 700: k(e, 0.5),
1002
- 800: k(e, 0.65),
1003
- 900: k(e, 0.75)
1004
- }), M = "#FFFFFF", B = "#000000", ze = "#F9F9F9", Ve = "#000000", Ge = "#FFFFFF", Ue = "#1A1A1A", E = {
1089
+ 600: D(e, 0.3),
1090
+ 700: D(e, 0.5),
1091
+ 800: D(e, 0.65),
1092
+ 900: D(e, 0.75)
1093
+ }), A = "#FFFFFF", z = "#000000", Xe = "#F9F9F9", je = "#000000", Qe = "#FFFFFF", Je = "#1A1A1A", E = {
1005
1094
  PRIMARY: "#2C64EF",
1006
1095
  SECONDARY: "#808080",
1007
1096
  INFO: "#2C64EF",
@@ -1017,7 +1106,7 @@ const Q0 = ({
1017
1106
  CHART5: "#60A9FF",
1018
1107
  CHART6: "#C8BAEE",
1019
1108
  CHART7: "#585E67"
1020
- }, I = {
1109
+ }, v = {
1021
1110
  CHART_MONO1: "#C3EAFF",
1022
1111
  CHART_MONO2: "#8ED7FF",
1023
1112
  CHART_MONO3: "#60A9FF",
@@ -1070,137 +1159,137 @@ const Q0 = ({
1070
1159
  TRANSFER: "#75C7B7",
1071
1160
  TRAVEL: "#76ACF7",
1072
1161
  UNCATEGORIZED: "#BCC6D4"
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;
1162
+ }, qe = (e, o) => {
1163
+ const t = M(o?.primary || E.PRIMARY), l = M(o?.secondary || E.SECONDARY), r = M(o?.error || E.ERROR), s = M(o?.warning || E.WARNING), n = M(o?.info || E.INFO), c = M(o?.success || E.SUCCESS), d = M(o?.grey || E.GREY), i = e === y.LIGHT;
1075
1164
  return {
1076
1165
  mode: e,
1077
1166
  // DEPRECATED: Use grey instead
1078
1167
  border: {
1079
1168
  /* DEPRECATED: Use light instead */
1080
- lighter: t ? s[300] : s[700],
1081
- light: t ? s[300] : s[700],
1082
- main: t ? s[400] : s[600],
1083
- dark: s[500],
1169
+ lighter: i ? d[300] : d[700],
1170
+ light: i ? d[300] : d[700],
1171
+ main: i ? d[400] : d[600],
1172
+ dark: d[500],
1084
1173
  /* DEPRECATED: Use light instead */
1085
- darker: s[500]
1174
+ darker: d[500]
1086
1175
  },
1087
1176
  common: {
1088
- white: M,
1089
- black: B
1177
+ white: A,
1178
+ black: z
1090
1179
  },
1091
1180
  primary: {
1092
- ...i,
1181
+ ...t,
1093
1182
  /* DEPRECATED: Use light instead */
1094
- lighter: t ? i[100] : i[800],
1095
- light: t ? i[300] : i[600],
1096
- main: t ? i[500] : i[400],
1097
- dark: t ? i[700] : i[200],
1183
+ lighter: i ? t[100] : t[800],
1184
+ light: i ? t[300] : t[600],
1185
+ main: i ? t[500] : t[400],
1186
+ dark: i ? t[700] : t[200],
1098
1187
  /* DEPRECATED: Use dark instead */
1099
- darker: t ? i[900] : i[100]
1188
+ darker: i ? t[900] : t[100]
1100
1189
  },
1101
1190
  secondary: {
1102
- ...n,
1191
+ ...l,
1103
1192
  /* DEPRECATED: Use light instead */
1104
- lighter: t ? n[100] : n[800],
1105
- light: t ? n[300] : n[600],
1106
- main: t ? n[500] : n[400],
1107
- dark: t ? n[700] : n[200],
1193
+ lighter: i ? l[100] : l[800],
1194
+ light: i ? l[300] : l[600],
1195
+ main: i ? l[500] : l[400],
1196
+ dark: i ? l[700] : l[200],
1108
1197
  /* DEPRECATED: Use dark instead */
1109
- darker: t ? n[900] : n[100]
1198
+ darker: i ? l[900] : l[100]
1110
1199
  },
1111
1200
  neutral: {
1112
- ...s,
1201
+ ...d,
1113
1202
  /* DEPRECATED: Use light instead */
1114
- lighter: t ? s[100] : s[800],
1115
- light: t ? s[300] : s[600],
1116
- main: t ? s[500] : s[400],
1117
- dark: t ? s[700] : s[200],
1203
+ lighter: i ? d[100] : d[800],
1204
+ light: i ? d[300] : d[600],
1205
+ main: i ? d[500] : d[400],
1206
+ dark: i ? d[700] : d[200],
1118
1207
  /* DEPRECATED: Use dark instead */
1119
- darker: t ? s[900] : s[100],
1120
- contrastText: ve(t ? s[700] : s[400], "#fff") > 4.5 ? M : s[900]
1208
+ darker: i ? d[900] : d[100],
1209
+ contrastText: De(i ? d[700] : d[400], "#fff") > 4.5 ? A : d[900]
1121
1210
  },
1122
1211
  text: {
1123
- primary: t ? s[900] : M,
1124
- secondary: t ? s[600] : b(M, 0.7),
1125
- disabled: t ? s[500] : b(M, 0.38)
1212
+ primary: i ? d[900] : A,
1213
+ secondary: i ? d[600] : b(A, 0.7),
1214
+ disabled: i ? d[500] : b(A, 0.38)
1126
1215
  },
1127
1216
  error: {
1128
1217
  ...r,
1129
1218
  /* DEPRECATED: Use light instead */
1130
- lighter: t ? r[100] : r[800],
1131
- light: t ? r[300] : r[600],
1132
- main: t ? r[500] : r[400],
1133
- dark: t ? r[700] : r[200],
1219
+ lighter: i ? r[100] : r[800],
1220
+ light: i ? r[300] : r[600],
1221
+ main: i ? r[500] : r[400],
1222
+ dark: i ? r[700] : r[200],
1134
1223
  /* DEPRECATED: Use light instead */
1135
- darker: t ? r[900] : r[100]
1224
+ darker: i ? r[900] : r[100]
1136
1225
  },
1137
1226
  warning: {
1138
- ...d,
1227
+ ...s,
1139
1228
  /* DEPRECATED: Use light instead */
1140
- lighter: t ? d[100] : d[800],
1141
- light: t ? d[300] : d[600],
1142
- main: t ? d[500] : d[400],
1143
- dark: t ? d[700] : d[200],
1229
+ lighter: i ? s[100] : s[800],
1230
+ light: i ? s[300] : s[600],
1231
+ main: i ? s[500] : s[400],
1232
+ dark: i ? s[700] : s[200],
1144
1233
  /* DEPRECATED: Use light instead */
1145
- darker: t ? d[900] : d[100]
1234
+ darker: i ? s[900] : s[100]
1146
1235
  },
1147
1236
  info: {
1148
- ...l,
1237
+ ...n,
1149
1238
  /* DEPRECATED: Use light instead */
1150
- lighter: t ? l[100] : l[800],
1151
- light: t ? l[300] : l[600],
1152
- main: t ? l[500] : l[400],
1153
- dark: t ? l[700] : l[200],
1239
+ lighter: i ? n[100] : n[800],
1240
+ light: i ? n[300] : n[600],
1241
+ main: i ? n[500] : n[400],
1242
+ dark: i ? n[700] : n[200],
1154
1243
  /* DEPRECATED: Use light instead */
1155
- darker: t ? l[900] : l[100]
1244
+ darker: i ? n[900] : n[100]
1156
1245
  },
1157
1246
  success: {
1158
1247
  ...c,
1159
1248
  /* 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],
1249
+ lighter: i ? c[100] : c[800],
1250
+ light: i ? c[300] : c[600],
1251
+ main: i ? c[500] : c[400],
1252
+ dark: i ? c[700] : c[200],
1164
1253
  /* DEPRECATED: Use light instead */
1165
- darker: t ? c[900] : c[100]
1254
+ darker: i ? c[900] : c[100]
1166
1255
  },
1167
- grey: s,
1256
+ grey: d,
1168
1257
  action: {
1169
- active: t ? b(B, 0.56) : b(M, 0.56),
1170
- hoverOpacity: t ? 0.1 : 0.2,
1171
- selectedOpacity: t ? 0.16 : 0.25,
1258
+ active: i ? b(z, 0.56) : b(A, 0.56),
1259
+ hoverOpacity: i ? 0.1 : 0.2,
1260
+ selectedOpacity: i ? 0.16 : 0.25,
1172
1261
  focusOpacity: 0.3
1173
1262
  },
1174
1263
  background: {
1175
- default: t ? o?.background?.default?.light || ze : o?.background?.default?.dark || Ve,
1176
- paper: t ? o?.background?.paper?.light || Ge : o?.background?.paper?.dark || Ue,
1177
- highlight: t ? s[200] : s[600],
1178
- highlightPrimary: t ? i[100] : i[500]
1264
+ default: i ? o?.background?.default?.light || Xe : o?.background?.default?.dark || je,
1265
+ paper: i ? o?.background?.paper?.light || Qe : o?.background?.paper?.dark || Je,
1266
+ highlight: i ? d[200] : d[600],
1267
+ highlightPrimary: i ? t[100] : t[500]
1179
1268
  },
1180
- divider: t ? b(B, 0.12) : b(M, 0.24),
1269
+ divider: i ? b(z, 0.12) : b(A, 0.24),
1181
1270
  categories: {
1182
- autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1183
- billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1184
- businessServices: t ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1185
- education: t ? p.EDUCATION : h.EDUCATION,
1186
- entertainment: t ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1187
- feesCharges: t ? p.FEES_CHARGES : h.FEES_CHARGES,
1188
- financial: t ? p.FINANCIAL : h.FINANCIAL,
1189
- foodDining: t ? p.FOOD_DINING : h.FOOD_DINING,
1190
- giftsDonations: t ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1191
- healthFitness: t ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1192
- home: t ? p.HOME : h.HOME,
1193
- income: t ? p.INCOME : h.INCOME,
1194
- investments: t ? p.INVESTMENTS : h.INVESTMENTS,
1195
- kids: t ? p.KIDS : h.KIDS,
1196
- others: t ? p.OTHERS : h.OTHERS,
1197
- personalCare: t ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1198
- pets: t ? p.PETS : h.PETS,
1199
- shopping: t ? p.SHOPPING : h.SHOPPING,
1200
- taxes: t ? p.TAXES : h.TAXES,
1201
- transfer: t ? p.TRANSFER : h.TRANSFER,
1202
- travel: t ? p.TRAVEL : h.TRAVEL,
1203
- uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
1271
+ autoTransport: i ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1272
+ billsUtilities: i ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1273
+ businessServices: i ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1274
+ education: i ? p.EDUCATION : h.EDUCATION,
1275
+ entertainment: i ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1276
+ feesCharges: i ? p.FEES_CHARGES : h.FEES_CHARGES,
1277
+ financial: i ? p.FINANCIAL : h.FINANCIAL,
1278
+ foodDining: i ? p.FOOD_DINING : h.FOOD_DINING,
1279
+ giftsDonations: i ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1280
+ healthFitness: i ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1281
+ home: i ? p.HOME : h.HOME,
1282
+ income: i ? p.INCOME : h.INCOME,
1283
+ investments: i ? p.INVESTMENTS : h.INVESTMENTS,
1284
+ kids: i ? p.KIDS : h.KIDS,
1285
+ others: i ? p.OTHERS : h.OTHERS,
1286
+ personalCare: i ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1287
+ pets: i ? p.PETS : h.PETS,
1288
+ shopping: i ? p.SHOPPING : h.SHOPPING,
1289
+ taxes: i ? p.TAXES : h.TAXES,
1290
+ transfer: i ? p.TRANSFER : h.TRANSFER,
1291
+ travel: i ? p.TRAVEL : h.TRAVEL,
1292
+ uncategorized: i ? p.UNCATEGORIZED : h.UNCATEGORIZED
1204
1293
  },
1205
1294
  chart: {
1206
1295
  chart1: S.CHART1,
@@ -1212,16 +1301,16 @@ const Q0 = ({
1212
1301
  chart7: S.CHART7
1213
1302
  },
1214
1303
  chartMono: {
1215
- chartMono1: I.CHART_MONO1,
1216
- chartMono2: I.CHART_MONO2,
1217
- chartMono3: I.CHART_MONO3,
1218
- chartMono4: I.CHART_MONO4,
1219
- chartMono5: I.CHART_MONO5,
1220
- chartMono6: I.CHART_MONO6
1304
+ chartMono1: v.CHART_MONO1,
1305
+ chartMono2: v.CHART_MONO2,
1306
+ chartMono3: v.CHART_MONO3,
1307
+ chartMono4: v.CHART_MONO4,
1308
+ chartMono5: v.CHART_MONO5,
1309
+ chartMono6: v.CHART_MONO6
1221
1310
  }
1222
1311
  };
1223
- }, We = "Inter, Helvetica, Arial, sans-serif", Ze = (e) => {
1224
- const o = e?.fontFamily || We;
1312
+ }, e0 = "Inter, Helvetica, Arial, sans-serif", o0 = (e) => {
1313
+ const o = e?.fontFamily || e0;
1225
1314
  return {
1226
1315
  fontFamily: o,
1227
1316
  fontSize: 15,
@@ -1354,12 +1443,12 @@ const Q0 = ({
1354
1443
  ...e
1355
1444
  };
1356
1445
  };
1357
- ye.setLicenseKey(
1446
+ we.setLicenseKey(
1358
1447
  "702b0c04dc7df078768d2d45cd3a98c6Tz0xMjEzMDYsRT0xNzkzNzUwMzk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
1359
1448
  );
1360
- const oo = (e, o) => {
1361
- const i = $e(e, o?.paletteOptions), n = Ze(o?.typographyOptions);
1362
- return ne({
1449
+ const go = (e, o) => {
1450
+ const t = qe(e, o?.paletteOptions), l = o0(o?.typographyOptions);
1451
+ return ce({
1363
1452
  breakpoints: {
1364
1453
  values: {
1365
1454
  xs: 444,
@@ -1369,13 +1458,13 @@ const oo = (e, o) => {
1369
1458
  xl: 1536
1370
1459
  }
1371
1460
  },
1372
- palette: i,
1461
+ palette: t,
1373
1462
  shape: {
1374
1463
  borderRadius: o?.shapeOptions?.borderRadius || 4
1375
1464
  },
1376
1465
  spacing: 1,
1377
1466
  // TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
1378
- typography: n,
1467
+ typography: l,
1379
1468
  components: {
1380
1469
  MuiAlert: {
1381
1470
  defaultProps: {
@@ -1388,12 +1477,12 @@ const oo = (e, o) => {
1388
1477
  variant: "outlined"
1389
1478
  },
1390
1479
  styleOverrides: {
1391
- root: ({ theme: r, ownerState: d }) => {
1392
- const l = d.severity || "info";
1393
- let c = r.palette.mode === v.LIGHT ? r.palette[l]?.[50] : r.palette[l]?.[800];
1394
- if (d.variant === "filled") {
1395
- const s = l === "warning";
1396
- c = r.palette[l]?.[s ? 400 : 600];
1480
+ root: ({ theme: r, ownerState: s }) => {
1481
+ const n = s.severity || "info";
1482
+ let c = r.palette.mode === y.LIGHT ? r.palette[n]?.[50] : r.palette[n]?.[800];
1483
+ if (s.variant === "filled") {
1484
+ const d = n === "warning";
1485
+ c = r.palette[n]?.[d ? 400 : 600];
1397
1486
  }
1398
1487
  return {
1399
1488
  backgroundColor: c,
@@ -1470,7 +1559,7 @@ const oo = (e, o) => {
1470
1559
  styleOverrides: {
1471
1560
  root: {
1472
1561
  "&.Mui-focusVisible": {
1473
- boxShadow: `inset 0 0 0 2px ${i.info.main}`
1562
+ boxShadow: `inset 0 0 0 2px ${t.info.main}`
1474
1563
  }
1475
1564
  }
1476
1565
  }
@@ -1478,7 +1567,7 @@ const oo = (e, o) => {
1478
1567
  MuiCircularProgress: {
1479
1568
  styleOverrides: {
1480
1569
  root: {
1481
- [`& .${He.circle}`]: {
1570
+ [`& .${Ne.circle}`]: {
1482
1571
  strokeLinecap: "round"
1483
1572
  }
1484
1573
  }
@@ -1632,7 +1721,7 @@ const oo = (e, o) => {
1632
1721
  MuiFormLabel: {
1633
1722
  styleOverrides: {
1634
1723
  asterisk: {
1635
- color: i.error.main
1724
+ color: t.error.main
1636
1725
  }
1637
1726
  }
1638
1727
  },
@@ -1680,13 +1769,13 @@ const oo = (e, o) => {
1680
1769
  borderRadius: 4
1681
1770
  },
1682
1771
  colorPrimary: {
1683
- backgroundColor: i.grey[300]
1772
+ backgroundColor: t.grey[300]
1684
1773
  }
1685
1774
  }
1686
1775
  },
1687
1776
  MuiLink: {
1688
1777
  styleOverrides: {
1689
- root: ({ theme: r, color: d }) => ({
1778
+ root: ({ theme: r, color: s }) => ({
1690
1779
  cursor: "pointer",
1691
1780
  fontWeight: 600,
1692
1781
  textDecoration: "none",
@@ -1701,7 +1790,7 @@ const oo = (e, o) => {
1701
1790
  backgroundColor: r.palette.action.hover
1702
1791
  },
1703
1792
  "&:active": {
1704
- backgroundColor: r.palette.mode === v.LIGHT ? r.palette[d].light : r.palette[d].dark
1793
+ backgroundColor: r.palette.mode === y.LIGHT ? r.palette[s].light : r.palette[s].dark
1705
1794
  }
1706
1795
  })
1707
1796
  }
@@ -1785,7 +1874,7 @@ const oo = (e, o) => {
1785
1874
  },
1786
1875
  secondaryTypographyProps: {
1787
1876
  fontSize: 11,
1788
- color: i.text.secondary
1877
+ color: t.text.secondary
1789
1878
  }
1790
1879
  },
1791
1880
  styleOverrides: {
@@ -1805,7 +1894,7 @@ const oo = (e, o) => {
1805
1894
  lineHeight: "inherit",
1806
1895
  top: -1,
1807
1896
  // This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
1808
- backgroundColor: i.background.default
1897
+ backgroundColor: t.background.default
1809
1898
  }
1810
1899
  }
1811
1900
  },
@@ -1879,9 +1968,9 @@ const oo = (e, o) => {
1879
1968
  gridColumn: "1/4",
1880
1969
  "& > .MuiTypography-root": {
1881
1970
  textTransform: "uppercase",
1882
- fontSize: n.body2.fontSize,
1971
+ fontSize: l.body2.fontSize,
1883
1972
  fontWeight: 600,
1884
- lineHeight: n.body2.lineHeight
1973
+ lineHeight: l.body2.lineHeight
1885
1974
  }
1886
1975
  }
1887
1976
  }
@@ -1975,7 +2064,7 @@ const oo = (e, o) => {
1975
2064
  fontWeight: 600,
1976
2065
  "&.Mui-focusVisible": {
1977
2066
  outline: "none",
1978
- boxShadow: `inset 0 0 0 2px ${i.info.main}`,
2067
+ boxShadow: `inset 0 0 0 2px ${t.info.main}`,
1979
2068
  borderRadius: 4
1980
2069
  }
1981
2070
  }
@@ -1986,7 +2075,7 @@ const oo = (e, o) => {
1986
2075
  root: {
1987
2076
  borderBottomStyle: "solid",
1988
2077
  borderBottomWidth: 1,
1989
- borderColor: i.divider,
2078
+ borderColor: t.divider,
1990
2079
  marginBottom: 8
1991
2080
  }
1992
2081
  }
@@ -2000,7 +2089,7 @@ const oo = (e, o) => {
2000
2089
  },
2001
2090
  styleOverrides: {
2002
2091
  root: {
2003
- backgroundColor: i.background.paper
2092
+ backgroundColor: t.background.paper
2004
2093
  }
2005
2094
  }
2006
2095
  },
@@ -2011,29 +2100,29 @@ const oo = (e, o) => {
2011
2100
  },
2012
2101
  styleOverrides: {
2013
2102
  root: {
2014
- color: i.text.primary,
2103
+ color: t.text.primary,
2015
2104
  fontSize: 13,
2016
2105
  lineHeight: "16px",
2017
2106
  textTransform: "none",
2018
2107
  "&:focus-visible": {
2019
- outline: `2px solid ${i.info.main}`,
2108
+ outline: `2px solid ${t.info.main}`,
2020
2109
  outlineOffset: "2px"
2021
2110
  },
2022
2111
  "&:hover": {
2023
- backgroundColor: b(i.primary.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2024
- borderColor: i.primary.main
2112
+ backgroundColor: b(t.primary.main, t.mode === y.LIGHT ? 0.1 : 0.2),
2113
+ borderColor: t.primary.main
2025
2114
  },
2026
2115
  "&.Mui-selected": {
2027
2116
  fontWeight: 600,
2028
- borderColor: i.primary.main,
2117
+ borderColor: t.primary.main,
2029
2118
  "&:hover": {
2030
- boxShadow: `inset 0px 0px 0px 2px ${i.primary.main}`
2119
+ boxShadow: `inset 0px 0px 0px 2px ${t.primary.main}`
2031
2120
  }
2032
2121
  },
2033
2122
  "& .MuiTouchRipple-root": {
2034
2123
  "& .MuiTouchRipple-ripple": {
2035
2124
  "& .MuiTouchRipple-child": {
2036
- backgroundColor: i.primary.main
2125
+ backgroundColor: t.primary.main
2037
2126
  }
2038
2127
  }
2039
2128
  }
@@ -2044,19 +2133,19 @@ const oo = (e, o) => {
2044
2133
  props: { color: "error" },
2045
2134
  style: {
2046
2135
  "&:hover": {
2047
- backgroundColor: b(i.error.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2048
- borderColor: i.error.main
2136
+ backgroundColor: b(t.error.main, t.mode === y.LIGHT ? 0.1 : 0.2),
2137
+ borderColor: t.error.main
2049
2138
  },
2050
2139
  "&.Mui-selected": {
2051
- borderColor: i.error.main,
2140
+ borderColor: t.error.main,
2052
2141
  "&:hover": {
2053
- boxShadow: `inset 0px 0px 0px 2px ${i.error.main}`
2142
+ boxShadow: `inset 0px 0px 0px 2px ${t.error.main}`
2054
2143
  }
2055
2144
  },
2056
2145
  "& .MuiTouchRipple-root": {
2057
2146
  "& .MuiTouchRipple-ripple": {
2058
2147
  "& .MuiTouchRipple-child": {
2059
- backgroundColor: i.error.main
2148
+ backgroundColor: t.error.main
2060
2149
  }
2061
2150
  }
2062
2151
  }
@@ -2067,21 +2156,21 @@ const oo = (e, o) => {
2067
2156
  style: {
2068
2157
  "&:hover": {
2069
2158
  backgroundColor: b(
2070
- i.secondary.main,
2071
- i.mode === v.LIGHT ? 0.1 : 0.2
2159
+ t.secondary.main,
2160
+ t.mode === y.LIGHT ? 0.1 : 0.2
2072
2161
  ),
2073
- borderColor: i.secondary.main
2162
+ borderColor: t.secondary.main
2074
2163
  },
2075
2164
  "&.Mui-selected": {
2076
- borderColor: i.secondary.main,
2165
+ borderColor: t.secondary.main,
2077
2166
  "&:hover": {
2078
- boxShadow: `inset 0px 0px 0px 2px ${i.secondary.main}`
2167
+ boxShadow: `inset 0px 0px 0px 2px ${t.secondary.main}`
2079
2168
  }
2080
2169
  },
2081
2170
  "& .MuiTouchRipple-root": {
2082
2171
  "& .MuiTouchRipple-ripple": {
2083
2172
  "& .MuiTouchRipple-child": {
2084
- backgroundColor: i.secondary.main
2173
+ backgroundColor: t.secondary.main
2085
2174
  }
2086
2175
  }
2087
2176
  }
@@ -2108,51 +2197,51 @@ const oo = (e, o) => {
2108
2197
  });
2109
2198
  };
2110
2199
  export {
2111
- E0 as AccountsFilledIcon,
2112
- S0 as AccountsIcon,
2113
- I0 as ArrowLeftIcon,
2114
- v0 as AttentionFilledIcon,
2200
+ w0 as AccountsFilledIcon,
2201
+ P0 as AccountsIcon,
2202
+ _0 as ArrowLeftIcon,
2203
+ B0 as AttentionFilledIcon,
2115
2204
  f as BaseIcon,
2116
- G0 as BottomSheetTransition,
2117
- H0 as CalendarIcon,
2205
+ eo as BottomSheetTransition,
2206
+ z0 as CalendarIcon,
2118
2207
  g as CategoryGuids,
2119
- ke as CategoryIcon,
2120
- Le as CategoryIconList,
2121
- Fe as CategoryIconVariants,
2122
- y0 as CheckmarkFilledIcon,
2123
- O0 as ChevronDownIcon,
2124
- F0 as ChevronLeftIcon,
2125
- L0 as ChevronRightIcon,
2126
- D0 as CloseIcon,
2127
- V0 as DateRangePicker,
2128
- we as DialogFooter,
2129
- Z0 as DialogHeader,
2130
- K0 as Drawer,
2131
- k0 as EditIcon,
2132
- N0 as FilterIcon,
2133
- we as Footer,
2134
- _e as H1,
2135
- U0 as H2,
2136
- $0 as H3,
2137
- w0 as HeartIcon,
2138
- We as INTER,
2208
+ Ve as CategoryIcon,
2209
+ Be as CategoryIconList,
2210
+ _e as CategoryIconVariants,
2211
+ V0 as CheckmarkFilledIcon,
2212
+ $0 as ChevronDownIcon,
2213
+ G0 as ChevronLeftIcon,
2214
+ U0 as ChevronRightIcon,
2215
+ W0 as CloseIcon,
2216
+ q0 as DateRangePicker,
2217
+ We as DialogFooter,
2218
+ io as DialogHeader,
2219
+ ao as Drawer,
2220
+ Z0 as EditIcon,
2221
+ K0 as FilterIcon,
2222
+ We as Footer,
2223
+ Ze as H1,
2224
+ oo as H2,
2225
+ ro as H3,
2226
+ Y0 as HeartIcon,
2227
+ e0 as INTER,
2139
2228
  x as Icon,
2140
- Oe as IconWeight,
2141
- Y0 as InstitutionLogo,
2142
- P0 as MXLogoCopyrightIcon,
2143
- B0 as MXLogoFilledIcon,
2144
- _0 as MXLogoIcon,
2145
- z0 as MXLogoOutlineIcon,
2146
- X0 as MerchantLogo,
2147
- W0 as P,
2148
- eo as SelectionBox,
2229
+ Pe as IconWeight,
2230
+ no as InstitutionLogo,
2231
+ j0 as MXLogoCopyrightIcon,
2232
+ Q0 as MXLogoFilledIcon,
2233
+ X0 as MXLogoIcon,
2234
+ J0 as MXLogoOutlineIcon,
2235
+ lo as MerchantLogo,
2236
+ to as P,
2237
+ ho as SelectionBox,
2149
2238
  O as TARGETS,
2150
2239
  N as THEMES,
2151
- L as Text,
2152
- j0 as TextField,
2153
- Q0 as Toast,
2154
- J0 as TokenProvider,
2155
- oo as createMXTheme,
2156
- q0 as useTokens
2240
+ k as Text,
2241
+ co as TextField,
2242
+ so as Toast,
2243
+ uo as TokenProvider,
2244
+ go as createMXTheme,
2245
+ po as useTokens
2157
2246
  };
2158
2247
  //# sourceMappingURL=index.es.js.map