@mxenabled/mxui 1.5.8 → 1.5.9-alpha.al0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,38 +1,41 @@
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,
38
+ size: t = 16,
36
39
  viewBox: n = "0 0 16 16",
37
40
  width: r
38
41
  }) => /* @__PURE__ */ a(
@@ -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,
47
+ height: o || t,
45
48
  viewBox: n,
46
- width: r || i,
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,
58
+ name: t,
56
59
  size: n = 20,
57
60
  sx: r,
58
- weight: d = 300,
61
+ weight: c = 300,
59
62
  ...l
60
63
  }) => /* @__PURE__ */ a(
61
- le,
64
+ se,
62
65
  {
63
66
  color: e,
64
67
  fill: o,
65
- name: i,
68
+ name: t,
66
69
  size: n,
67
70
  sx: r,
68
- weight: d,
71
+ weight: c,
69
72
  ...l
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,56 +389,56 @@ 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,
395
+ icon_ratio: o = ze,
396
+ size: t = 32,
394
397
  sx: n = {},
395
398
  variant: r = "filled"
396
399
  }) => {
397
- const d = H(), l = C.useMemo(
398
- () => Le.find((u) => u.guid === e) ?? J,
400
+ const c = H(), l = R.useMemo(
401
+ () => Be.find((u) => u.guid === e) ?? ee,
399
402
  [e]
400
- ), c = d.palette.categories[l.colorName];
403
+ ), s = c.palette.categories[l.colorName];
401
404
  return /* @__PURE__ */ a(
402
- F,
405
+ I,
403
406
  {
404
407
  alignItems: "center",
405
408
  bgcolor: () => {
406
- let u = c;
409
+ let u = s;
407
410
  return r === "twotone" && (u = `${u}20`), r === "transparent" || r === "basic" ? "transparent" : u;
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" ? c.palette.common.white : s;
415
+ return r === "basic" ? c.palette.text.primary : u;
413
416
  },
414
- height: i,
417
+ height: t,
415
418
  justifyContent: "center",
416
419
  sx: [...Array.isArray(n) ? n : [n]],
417
- width: i,
418
- children: /* @__PURE__ */ a(x, { name: l.icon, size: i * o })
420
+ width: t,
421
+ children: /* @__PURE__ */ a(x, { name: l.icon, size: t * o })
419
422
  }
420
423
  );
421
- }, Ne = ({
424
+ }, $e = ({
422
425
  items: e,
423
426
  onChange: o,
424
- isValid: i,
427
+ isValid: t,
425
428
  selected: n
426
429
  }) => {
427
- const r = H(), d = e?.map((l) => {
428
- const c = l.getValue({ isValid: i });
430
+ const r = H(), c = e?.map((l) => {
431
+ const s = l.getValue({ isValid: t });
429
432
  return {
430
433
  label: l.label,
431
434
  onClick: () => {
432
- o(c, "accept", l);
435
+ o(s, "accept", l);
433
436
  },
434
- disabled: !i(c)
437
+ disabled: !t(s)
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: n, children: c?.map((l) => /* @__PURE__ */ a(
441
+ xe,
439
442
  {
440
443
  onClick: l.onClick,
441
444
  sx: {
@@ -462,51 +465,113 @@ const J = {
462
465
  },
463
466
  l.label
464
467
  )) }) });
465
- }, V0 = ({
468
+ }, Ge = ({
469
+ items: e,
470
+ onChange: o,
471
+ isValid: t,
472
+ selected: n
473
+ }) => {
474
+ const r = e?.map((c) => {
475
+ const l = c.getValue({ isValid: t });
476
+ return {
477
+ label: c.label,
478
+ onClick: () => {
479
+ o(l, "accept", c);
480
+ },
481
+ disabled: !t(l)
482
+ };
483
+ });
484
+ return /* @__PURE__ */ a(I, { sx: { py: 16 }, children: /* @__PURE__ */ a(
485
+ j,
486
+ {
487
+ InputLabelProps: {
488
+ shrink: !0
489
+ },
490
+ SelectProps: { IconComponent: de },
491
+ defaultValue: n,
492
+ id: "select",
493
+ label: "Select Date Range",
494
+ select: !0,
495
+ sx: { width: "100%" },
496
+ value: n,
497
+ variant: "outlined",
498
+ children: r?.map((c) => /* @__PURE__ */ a(Ae, { onClick: c.onClick, value: c.label, children: c.label }, c.label))
499
+ }
500
+ ) });
501
+ }, Ue = (e) => {
502
+ const { toolbar: o, content: t, shortcuts: n } = Ee(e);
503
+ return /* @__PURE__ */ T(
504
+ Se,
505
+ {
506
+ ownerState: e,
507
+ sx: {
508
+ gridTemplateColumns: "minmax(320px, 1fr)",
509
+ overflow: "auto",
510
+ p: 0,
511
+ [`.${P.toolbar}`]: {
512
+ gridColumn: 1,
513
+ gridRow: 2
514
+ },
515
+ [`.${P.contentWrapper}`]: {
516
+ alignItems: "center",
517
+ gridColumn: 1,
518
+ gridRow: 3
519
+ }
520
+ },
521
+ children: [
522
+ /* @__PURE__ */ T(I, { sx: { gridColumn: 1, gridRow: 1, p: 16 }, children: [
523
+ n,
524
+ o
525
+ ] }),
526
+ /* @__PURE__ */ a(Ie, { className: P.contentWrapper, children: t })
527
+ ]
528
+ }
529
+ );
530
+ }, q0 = ({
466
531
  copy: e,
467
532
  dateRange: o,
468
- onRangeChanged: i,
533
+ onRangeChanged: t,
469
534
  selectedShortcut: n = e.dateRangeThisMonth,
470
535
  sx: r = {}
471
536
  }) => {
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);
537
+ const c = H(), l = fe(c.breakpoints.down("sm")), s = R.useMemo(() => {
538
+ const i = he(), u = ge(i, 1), C = me(i, 1);
474
539
  return [
475
540
  {
476
541
  label: e.dateRangeThisMonth,
477
- getValue: () => [$(t), U(t)]
542
+ getValue: () => [W(i), U(i)]
478
543
  },
479
544
  {
480
545
  label: e.dateRangeLastMonth,
481
- getValue: () => [$(u), U(u)]
546
+ getValue: () => [W(u), U(u)]
482
547
  },
483
548
  {
484
549
  label: e.dateRangeLast30Days,
485
- getValue: () => [Z(t, 30), t]
550
+ getValue: () => [K(i, 30), i]
486
551
  },
487
552
  {
488
553
  label: e.dateRangeLast90Days,
489
- getValue: () => [Z(t, 90), t]
554
+ getValue: () => [K(i, 90), i]
490
555
  },
491
556
  {
492
557
  label: e.dateRangeYTD,
493
- getValue: () => [W(t), t]
558
+ getValue: () => [Z(i), i]
494
559
  },
495
560
  {
496
561
  label: e.dateRangeLastYear,
497
- getValue: () => [W(T), se(T)]
562
+ getValue: () => [Z(C), pe(C)]
498
563
  },
499
564
  {
500
565
  label: e.dateRangeCustom,
501
- getValue: () => [t, t]
566
+ getValue: () => [i, i]
502
567
  }
503
568
  ];
504
- }, [e]), s = (t, u) => {
505
- const T = u.shortcut;
506
- i?.(t, T ? T.label : e.dateRangeCustom);
569
+ }, [e]), d = (i, u) => {
570
+ const C = u.shortcut;
571
+ t?.(i, C ? C.label : e.dateRangeCustom);
507
572
  };
508
- return /* @__PURE__ */ a(F, { gap: 16, m: 8, children: /* @__PURE__ */ a(ge, { dateAdapter: fe, children: /* @__PURE__ */ a(
509
- me,
573
+ return /* @__PURE__ */ a(I, { gap: l ? 0 : 16, m: l ? 0 : 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
574
+ Te,
510
575
  {
511
576
  calendars: 1,
512
577
  localeText: {
@@ -514,39 +579,43 @@ const J = {
514
579
  end: e.dateRangeTo,
515
580
  toolbarTitle: e.dateRangeToolbarTitle
516
581
  },
517
- onChange: s,
582
+ onChange: d,
518
583
  showDaysOutsideCurrentMonth: !0,
519
584
  slotProps: {
520
585
  actionBar: { actions: [] },
521
586
  shortcuts: {
522
- items: l ? [] : c
587
+ items: s
523
588
  },
524
589
  toolbar: {
525
- toolbarFormat: "MMM d, yyyy"
590
+ toolbarFormat: l ? "MM/dd/yyyy" : "MMM d, yyyy"
526
591
  }
527
592
  },
528
593
  slots: {
594
+ ...l && { layout: Ue },
529
595
  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 })
596
+ shortcuts: (i) => l ? /* @__PURE__ */ a(Ge, { selected: n, ...i }) : /* @__PURE__ */ a($e, { selected: n, ...i }),
597
+ rightArrowIcon: () => /* @__PURE__ */ a(x, { name: "chevron_right", size: 28 }),
598
+ ...l && {
599
+ toolbar: (i) => /* @__PURE__ */ a(Re, { dateSeparator: "", ...i, sx: { gap: 8 } })
600
+ }
532
601
  },
533
602
  sx: { ...r },
534
603
  value: o
535
604
  }
536
605
  ) }) });
537
- }, G0 = C.forwardRef(function(o, i) {
538
- return /* @__PURE__ */ a(X, { direction: "up", ref: i, ...o });
539
- }), we = ({
606
+ }, eo = R.forwardRef(function(o, t) {
607
+ return /* @__PURE__ */ a(Q, { direction: "up", ref: t, ...o });
608
+ }), We = ({
540
609
  hasSecondaryAction: e = !0,
541
610
  isPrimaryDisabled: o,
542
- onPrimaryAction: i,
611
+ onPrimaryAction: t,
543
612
  onSecondaryAction: n,
544
613
  primaryColor: r = "primary",
545
- primaryText: d = "Save",
614
+ primaryText: c = "Save",
546
615
  secondaryColor: l = "primary",
547
- secondaryText: c = "Cancel"
548
- }) => /* @__PURE__ */ R(
549
- F,
616
+ secondaryText: s = "Cancel"
617
+ }) => /* @__PURE__ */ T(
618
+ I,
550
619
  {
551
620
  direction: "row",
552
621
  gap: 16,
@@ -554,70 +623,70 @@ const J = {
554
623
  sx: { bgcolor: "background.paper", p: 24 },
555
624
  children: [
556
625
  e && /* @__PURE__ */ a(
557
- z,
626
+ V,
558
627
  {
559
628
  color: l,
560
629
  onClick: n,
561
- variant: i ? "outlined" : "contained",
562
- children: c
630
+ variant: t ? "outlined" : "contained",
631
+ children: s
563
632
  }
564
633
  ),
565
- i && /* @__PURE__ */ a(
566
- z,
634
+ t && /* @__PURE__ */ a(
635
+ V,
567
636
  {
568
637
  color: r,
569
638
  disabled: o,
570
- onClick: i,
639
+ onClick: t,
571
640
  variant: "contained",
572
- children: d
641
+ children: c
573
642
  }
574
643
  )
575
644
  ]
576
645
  }
577
- ), L = ({
646
+ ), k = ({
578
647
  bold: e,
579
648
  className: o = "",
580
- children: i,
649
+ children: t,
581
650
  color: n,
582
651
  sx: r = {},
583
- truncate: d = !0,
652
+ truncate: c = !0,
584
653
  uppercase: l,
585
- ...c
654
+ ...s
586
655
  }) => {
587
- switch (c.variant) {
656
+ switch (s.variant) {
588
657
  case "Body":
589
- c.variant = "body1";
658
+ s.variant = "body1";
590
659
  break;
591
660
  case "Button":
592
- c.variant = "button";
661
+ s.variant = "button";
593
662
  break;
594
663
  case "H1":
595
- c.variant = "h1";
664
+ s.variant = "h1";
596
665
  break;
597
666
  case "H2":
598
- c.variant = "h2";
667
+ s.variant = "h2";
599
668
  break;
600
669
  case "H3":
601
- c.variant = "h3";
670
+ s.variant = "h3";
602
671
  break;
603
672
  case "Paragraph":
604
- c.variant = "subtitle1";
673
+ s.variant = "subtitle1";
605
674
  break;
606
675
  case "ParagraphSmall":
607
- c.variant = "subtitle2";
676
+ s.variant = "subtitle2";
608
677
  break;
609
678
  case "Small":
610
- c.variant = "body2";
679
+ s.variant = "body2";
611
680
  break;
612
681
  case "Tiny":
613
- c.variant = "tiny";
682
+ s.variant = "tiny";
614
683
  break;
615
684
  case "XSmall":
616
- c.variant = "caption";
685
+ s.variant = "caption";
617
686
  break;
618
687
  }
619
688
  return /* @__PURE__ */ a(
620
- Ce,
689
+ ve,
621
690
  {
622
691
  className: `mx-kmui-text ${o}`,
623
692
  color: n,
@@ -625,7 +694,7 @@ const J = {
625
694
  e ? {
626
695
  fontWeight: 600
627
696
  } : {},
628
- d ? {
697
+ c ? {
629
698
  overflow: "hidden",
630
699
  textOverflow: "ellipsis",
631
700
  whiteSpace: "nowrap"
@@ -635,22 +704,22 @@ const J = {
635
704
  } : {},
636
705
  ...Array.isArray(r) ? r : [r]
637
706
  ],
638
- ...c,
639
- children: i
707
+ ...s,
708
+ children: t
640
709
  }
641
710
  );
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,
711
+ }, Ze = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...t, children: o }), oo = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...t, children: o }), ro = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...t, children: o }), to = ({ className: e = "", children: o, truncate: t, ...n }) => /* @__PURE__ */ a(
712
+ k,
644
713
  {
645
714
  className: `mx-kmui-text p ${e}`,
646
715
  component: "p",
647
- truncate: i || !1,
716
+ truncate: t || !1,
648
717
  variant: "body1",
649
718
  ...n,
650
719
  children: o
651
720
  }
652
- ), Z0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ R(
653
- F,
721
+ ), io = ({ copy: e, onClose: o }) => /* @__PURE__ */ T(
722
+ I,
654
723
  {
655
724
  sx: {
656
725
  alignItems: "center",
@@ -660,83 +729,83 @@ const J = {
660
729
  py: 14
661
730
  },
662
731
  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, {}) })
732
+ /* @__PURE__ */ a(Ze, { variant: "h3", children: e.title }),
733
+ /* @__PURE__ */ a(J, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ue, {}) })
665
734
  ]
666
735
  }
667
- ), K0 = ({
736
+ ), ao = ({
668
737
  className: e,
669
738
  disableSave: o,
670
- id: i,
739
+ id: t,
671
740
  isOpen: n,
672
741
  onClose: r,
673
- onSave: d,
742
+ onSave: c,
674
743
  primaryText: l,
675
- secondaryText: c,
676
- children: s,
677
- ...t
678
- }) => /* @__PURE__ */ R(
679
- Re,
744
+ secondaryText: s,
745
+ children: d,
746
+ ...i
747
+ }) => /* @__PURE__ */ T(
748
+ ye,
680
749
  {
681
750
  anchor: "right",
682
751
  className: `mx-kmui-drawer ${e}`,
683
- id: i ?? void 0,
752
+ id: t ?? void 0,
684
753
  onClose: r,
685
754
  open: n,
686
755
  variant: "temporary",
687
- ...t,
756
+ ...i,
688
757
  children: [
689
- s,
690
- d && /* @__PURE__ */ a(
691
- we,
758
+ d,
759
+ c && /* @__PURE__ */ a(
760
+ We,
692
761
  {
693
762
  isPrimaryDisabled: o,
694
- onPrimaryAction: d,
763
+ onPrimaryAction: c,
695
764
  onSecondaryAction: r,
696
765
  primaryText: l,
697
- secondaryText: c
766
+ secondaryText: s
698
767
  }
699
768
  )
700
769
  ]
701
770
  }
702
- ), q = 32, G = "https://content.moneydesktop.com/storage/MD_Assets", Pe = `${G}/serenity/default_institution_logo.png`, Y0 = ({
771
+ ), oe = 32, G = "https://content.moneydesktop.com/storage/MD_Assets", Ke = `${G}/serenity/default_institution_logo.png`, no = ({
703
772
  alt: e,
704
773
  institutionGuid: o,
705
- logoUrl: i,
706
- size: n = q,
774
+ logoUrl: t,
775
+ size: n = oe,
707
776
  ...r
708
777
  }) => /* @__PURE__ */ a(
709
778
  "img",
710
779
  {
711
780
  alt: e,
712
781
  height: n,
713
- onError: (d) => d.target.src = Pe,
714
- src: i || `${G}/Ipad%20Logos/100x100/${o}_100x100.png`,
782
+ onError: (c) => c.target.src = Ke,
783
+ src: t || `${G}/Ipad%20Logos/100x100/${o}_100x100.png`,
715
784
  style: {
716
785
  borderRadius: 4
717
786
  },
718
787
  width: n,
719
788
  ...r
720
789
  }
721
- ), X0 = ({
790
+ ), lo = ({
722
791
  alt: e = "",
723
792
  categoryGuid: o,
724
- merchantGuid: i,
725
- size: n = q,
793
+ merchantGuid: t,
794
+ size: n = oe,
726
795
  ...r
727
796
  }) => {
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(
797
+ const [c, l] = R.useState(!1), s = H();
798
+ return /* @__PURE__ */ T(X, { display: "inline-block", position: "relative", ...r, children: [
799
+ t && !c && /* @__PURE__ */ a(
731
800
  "img",
732
801
  {
733
802
  alt: e,
734
803
  "aria-hidden": !e,
735
804
  height: n,
736
805
  onError: () => l(!0),
737
- src: `${G}/merchant_logos/${i}.png`,
806
+ src: `${G}/merchant_logos/${t}.png`,
738
807
  style: {
739
- backgroundColor: c.palette.common.white,
808
+ backgroundColor: s.palette.common.white,
740
809
  borderRadius: 4,
741
810
  boxSizing: "border-box",
742
811
  position: "absolute"
@@ -744,19 +813,19 @@ const J = {
744
813
  width: n
745
814
  }
746
815
  ),
747
- /* @__PURE__ */ a(ke, { categoryGuid: o, size: n })
816
+ /* @__PURE__ */ a(Ve, { categoryGuid: o, size: n })
748
817
  ] });
749
- }, j0 = ({
818
+ }, co = ({
750
819
  disabled: e = !1,
751
820
  label: o = "",
752
- shrink: i = !0,
821
+ shrink: t = !0,
753
822
  variant: n = "outlined",
754
823
  ...r
755
824
  }) => /* @__PURE__ */ a(
756
- xe,
825
+ j,
757
826
  {
758
827
  InputLabelProps: {
759
- shrink: i
828
+ shrink: t
760
829
  },
761
830
  disabled: e,
762
831
  label: o,
@@ -764,47 +833,47 @@ const J = {
764
833
  ...r
765
834
  }
766
835
  );
767
- function Be(e) {
768
- return /* @__PURE__ */ a(X, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
836
+ function Ye(e) {
837
+ return /* @__PURE__ */ a(Q, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
769
838
  }
770
- const Q0 = ({
839
+ const so = ({
771
840
  open: e,
772
841
  handleClose: o,
773
- message: i,
842
+ message: t,
774
843
  autoHideDuration: n = 3e3,
775
844
  severity: r = "success",
776
- snackbarSx: d,
845
+ snackbarSx: c,
777
846
  showAction: l = !1,
778
- showClose: c = !1,
779
- actionText: s = "Undo",
780
- onActionClick: t,
847
+ showClose: s = !1,
848
+ actionText: d = "Undo",
849
+ onActionClick: i,
781
850
  multiLine: u = !1
782
851
  }) => {
783
- const T = H(), D = /* @__PURE__ */ R(
784
- F,
852
+ const C = H(), L = /* @__PURE__ */ T(
853
+ I,
785
854
  {
786
855
  alignItems: u ? "flex-end" : "center",
787
856
  direction: u ? "column-reverse" : "row",
788
857
  justifyContent: (
789
858
  // eslint-disable-next-line no-nested-ternary
790
- u && l && c ? "space-between" : "flex-end"
859
+ u && l && s ? "space-between" : "flex-end"
791
860
  ),
792
861
  children: [
793
862
  l && /* @__PURE__ */ a(
794
- z,
863
+ V,
795
864
  {
796
865
  color: "inherit",
797
- onClick: t || o,
866
+ onClick: i || o,
798
867
  size: "small",
799
868
  sx: {
800
- color: T.palette.success.contrastText,
869
+ color: C.palette.success.contrastText,
801
870
  height: 44
802
871
  },
803
- children: s
872
+ children: d
804
873
  }
805
874
  ),
806
- c && /* @__PURE__ */ a(
807
- j,
875
+ s && /* @__PURE__ */ a(
876
+ J,
808
877
  {
809
878
  "aria-label": "close",
810
879
  color: "inherit",
@@ -817,26 +886,26 @@ const Q0 = ({
817
886
  }
818
887
  );
819
888
  return /* @__PURE__ */ a(
820
- Ae,
889
+ He,
821
890
  {
822
- TransitionComponent: Be,
891
+ TransitionComponent: Ye,
823
892
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
824
893
  autoHideDuration: n,
825
894
  onClose: o,
826
895
  open: e,
827
896
  sx: {
828
- ...d,
897
+ ...c,
829
898
  width: u ? 400 : 325
830
899
  },
831
900
  children: /* @__PURE__ */ a(
832
- Me,
901
+ Fe,
833
902
  {
834
- action: D,
903
+ action: L,
835
904
  severity: r,
836
905
  sx: {
837
906
  display: "flex",
838
907
  alignItems: "stretch",
839
- minHeight: c && l && u ? 120 : 56,
908
+ minHeight: s && l && u ? 120 : 56,
840
909
  maxHeight: u ? 120 : 56,
841
910
  width: "100%",
842
911
  "& .MuiAlert-icon": {
@@ -854,16 +923,16 @@ const Q0 = ({
854
923
  },
855
924
  variant: "filled",
856
925
  children: /* @__PURE__ */ a(
857
- L,
926
+ k,
858
927
  {
859
928
  sx: {
860
- lineHeight: T.typography.body1.lineHeight,
929
+ lineHeight: C.typography.body1.lineHeight,
861
930
  whiteSpace: u ? "normal" : "nowrap",
862
931
  overflow: u ? "visible" : "hidden",
863
932
  textOverflow: u ? "clip" : "ellipsis"
864
933
  },
865
934
  truncate: !u,
866
- children: i
935
+ children: t
867
936
  }
868
937
  )
869
938
  }
@@ -877,46 +946,46 @@ const Q0 = ({
877
946
  }, N = {
878
947
  LIGHT: "light",
879
948
  DARK: "dark"
880
- }, ee = C.createContext(Q), oe = C.createContext(
881
- V(N.LIGHT, O.REACT_NATIVE)
882
- ), J0 = ({
949
+ }, re = R.createContext(q), te = R.createContext(
950
+ $(N.LIGHT, O.REACT_NATIVE)
951
+ ), uo = ({
883
952
  children: e,
884
953
  target: o = O.REACT,
885
- theme: i = N.LIGHT,
954
+ theme: t = N.LIGHT,
886
955
  tokenOverrides: n
887
956
  }) => {
888
- const [r, d] = C.useState(i === N.LIGHT ? Q : Ee), l = C.useMemo(() => ({
957
+ const [r, c] = R.useState(t === N.LIGHT ? q : Oe), l = R.useMemo(() => ({
889
958
  ...n
890
959
  }), [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,
960
+ return R.useEffect(() => {
961
+ const s = $(t, o, { ...l });
962
+ c(s);
963
+ }, [t, o, l]), o === O.REACT ? /* @__PURE__ */ a(re.Provider, { value: r, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(te.Provider, { value: r, children: e }));
964
+ }, po = (e = O.REACT, o = {}) => {
965
+ const t = e === O.REACT ? re : te, n = R.useContext(t);
966
+ return n || $(N.LIGHT, e, { ...o });
967
+ }, ho = ({
968
+ component: e = B,
900
969
  variant: o = "outlined",
901
- selected: i,
970
+ selected: t,
902
971
  onChange: n,
903
972
  headline: r,
904
- message: d,
973
+ message: c,
905
974
  name: l,
906
- value: c,
907
- disabled: s = !1,
908
- error: t = !1,
975
+ value: s,
976
+ disabled: d = !1,
977
+ error: i = !1,
909
978
  icon: u = !1,
910
- sx: T = {},
911
- ...D
979
+ sx: C = {},
980
+ ...L
912
981
  }) => {
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);
982
+ const m = H(), ie = () => m.palette.background.paper, w = () => i ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : d ? t ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${m.palette.action.disabled}` : o === "outlined" ? t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : m.shadows[1], ae = () => d || i ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ne = () => d || i ? w() : o === "outlined" ? t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : w(), le = () => d || i ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
914
983
  return /* @__PURE__ */ a(
915
- Se,
984
+ ke,
916
985
  {
917
- checked: i,
918
- control: e === P ? /* @__PURE__ */ a(
919
- P,
986
+ checked: t,
987
+ control: e === B ? /* @__PURE__ */ a(
988
+ B,
920
989
  {
921
990
  name: l,
922
991
  sx: {
@@ -928,10 +997,10 @@ const Q0 = ({
928
997
  fontSize: "20px"
929
998
  }
930
999
  },
931
- ...D
1000
+ ...L
932
1001
  }
933
1002
  ) : /* @__PURE__ */ a(
934
- Ie,
1003
+ Le,
935
1004
  {
936
1005
  name: l,
937
1006
  sx: {
@@ -943,15 +1012,15 @@ const Q0 = ({
943
1012
  fontSize: "20px"
944
1013
  }
945
1014
  },
946
- ...D
1015
+ ...L
947
1016
  }
948
1017
  ),
949
- disabled: s,
950
- label: /* @__PURE__ */ R(_, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
1018
+ disabled: d,
1019
+ label: /* @__PURE__ */ T(_, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
951
1020
  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 })
1021
+ /* @__PURE__ */ T(_, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
1022
+ r && /* @__PURE__ */ a(Y, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
1023
+ /* @__PURE__ */ a(Y, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: c })
955
1024
  ] })
956
1025
  ] }),
957
1026
  labelPlacement: "start",
@@ -963,9 +1032,9 @@ const Q0 = ({
963
1032
  justifyContent: "space-between",
964
1033
  borderRadius: m.shape.borderRadius / 2,
965
1034
  mb: 16,
966
- cursor: s ? "not-allowed" : "pointer",
967
- opacity: s ? 0.6 : 1,
968
- backgroundColor: re(),
1035
+ cursor: d ? "not-allowed" : "pointer",
1036
+ opacity: d ? 0.6 : 1,
1037
+ backgroundColor: ie(),
969
1038
  border: "none",
970
1039
  boxShadow: w(),
971
1040
  boxSizing: "border-box",
@@ -973,35 +1042,35 @@ const Q0 = ({
973
1042
  duration: m.transitions.duration.short
974
1043
  }),
975
1044
  "&:hover": {
976
- backgroundColor: te(),
977
- boxShadow: ie()
1045
+ backgroundColor: ae(),
1046
+ boxShadow: ne()
978
1047
  },
979
1048
  "&:active": {
980
- backgroundColor: ae()
1049
+ backgroundColor: le()
981
1050
  },
982
1051
  "&:focus-visible": {
983
1052
  outline: `2px solid ${m.palette.info.main}`,
984
1053
  outlineOffset: "2px"
985
1054
  },
986
- ...T
1055
+ ...C
987
1056
  },
988
- value: c
1057
+ value: s
989
1058
  }
990
1059
  );
991
- }, v = {
1060
+ }, y = {
992
1061
  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),
1062
+ }, M = (e) => ({
1063
+ 50: F(e, 0.95),
1064
+ 100: F(e, 0.85),
1065
+ 200: F(e, 0.7),
1066
+ 300: F(e, 0.55),
1067
+ 400: F(e, 0.3),
999
1068
  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 = {
1069
+ 600: D(e, 0.3),
1070
+ 700: D(e, 0.5),
1071
+ 800: D(e, 0.65),
1072
+ 900: D(e, 0.75)
1073
+ }), A = "#FFFFFF", z = "#000000", Xe = "#F9F9F9", je = "#000000", Qe = "#FFFFFF", Je = "#1A1A1A", E = {
1005
1074
  PRIMARY: "#2C64EF",
1006
1075
  SECONDARY: "#808080",
1007
1076
  INFO: "#2C64EF",
@@ -1017,7 +1086,7 @@ const Q0 = ({
1017
1086
  CHART5: "#60A9FF",
1018
1087
  CHART6: "#C8BAEE",
1019
1088
  CHART7: "#585E67"
1020
- }, I = {
1089
+ }, v = {
1021
1090
  CHART_MONO1: "#C3EAFF",
1022
1091
  CHART_MONO2: "#8ED7FF",
1023
1092
  CHART_MONO3: "#60A9FF",
@@ -1070,137 +1139,137 @@ const Q0 = ({
1070
1139
  TRANSFER: "#75C7B7",
1071
1140
  TRAVEL: "#76ACF7",
1072
1141
  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;
1142
+ }, qe = (e, o) => {
1143
+ const t = M(o?.primary || E.PRIMARY), n = M(o?.secondary || E.SECONDARY), r = M(o?.error || E.ERROR), c = M(o?.warning || E.WARNING), l = M(o?.info || E.INFO), s = M(o?.success || E.SUCCESS), d = M(o?.grey || E.GREY), i = e === y.LIGHT;
1075
1144
  return {
1076
1145
  mode: e,
1077
1146
  // DEPRECATED: Use grey instead
1078
1147
  border: {
1079
1148
  /* 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],
1149
+ lighter: i ? d[300] : d[700],
1150
+ light: i ? d[300] : d[700],
1151
+ main: i ? d[400] : d[600],
1152
+ dark: d[500],
1084
1153
  /* DEPRECATED: Use light instead */
1085
- darker: s[500]
1154
+ darker: d[500]
1086
1155
  },
1087
1156
  common: {
1088
- white: M,
1089
- black: B
1157
+ white: A,
1158
+ black: z
1090
1159
  },
1091
1160
  primary: {
1092
- ...i,
1161
+ ...t,
1093
1162
  /* 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],
1163
+ lighter: i ? t[100] : t[800],
1164
+ light: i ? t[300] : t[600],
1165
+ main: i ? t[500] : t[400],
1166
+ dark: i ? t[700] : t[200],
1098
1167
  /* DEPRECATED: Use dark instead */
1099
- darker: t ? i[900] : i[100]
1168
+ darker: i ? t[900] : t[100]
1100
1169
  },
1101
1170
  secondary: {
1102
1171
  ...n,
1103
1172
  /* 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],
1173
+ lighter: i ? n[100] : n[800],
1174
+ light: i ? n[300] : n[600],
1175
+ main: i ? n[500] : n[400],
1176
+ dark: i ? n[700] : n[200],
1108
1177
  /* DEPRECATED: Use dark instead */
1109
- darker: t ? n[900] : n[100]
1178
+ darker: i ? n[900] : n[100]
1110
1179
  },
1111
1180
  neutral: {
1112
- ...s,
1181
+ ...d,
1113
1182
  /* 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],
1183
+ lighter: i ? d[100] : d[800],
1184
+ light: i ? d[300] : d[600],
1185
+ main: i ? d[500] : d[400],
1186
+ dark: i ? d[700] : d[200],
1118
1187
  /* 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]
1188
+ darker: i ? d[900] : d[100],
1189
+ contrastText: De(i ? d[700] : d[400], "#fff") > 4.5 ? A : d[900]
1121
1190
  },
1122
1191
  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)
1192
+ primary: i ? d[900] : A,
1193
+ secondary: i ? d[600] : b(A, 0.7),
1194
+ disabled: i ? d[500] : b(A, 0.38)
1126
1195
  },
1127
1196
  error: {
1128
1197
  ...r,
1129
1198
  /* 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],
1199
+ lighter: i ? r[100] : r[800],
1200
+ light: i ? r[300] : r[600],
1201
+ main: i ? r[500] : r[400],
1202
+ dark: i ? r[700] : r[200],
1134
1203
  /* DEPRECATED: Use light instead */
1135
- darker: t ? r[900] : r[100]
1204
+ darker: i ? r[900] : r[100]
1136
1205
  },
1137
1206
  warning: {
1138
- ...d,
1207
+ ...c,
1139
1208
  /* 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],
1209
+ lighter: i ? c[100] : c[800],
1210
+ light: i ? c[300] : c[600],
1211
+ main: i ? c[500] : c[400],
1212
+ dark: i ? c[700] : c[200],
1144
1213
  /* DEPRECATED: Use light instead */
1145
- darker: t ? d[900] : d[100]
1214
+ darker: i ? c[900] : c[100]
1146
1215
  },
1147
1216
  info: {
1148
1217
  ...l,
1149
1218
  /* 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],
1219
+ lighter: i ? l[100] : l[800],
1220
+ light: i ? l[300] : l[600],
1221
+ main: i ? l[500] : l[400],
1222
+ dark: i ? l[700] : l[200],
1154
1223
  /* DEPRECATED: Use light instead */
1155
- darker: t ? l[900] : l[100]
1224
+ darker: i ? l[900] : l[100]
1156
1225
  },
1157
1226
  success: {
1158
- ...c,
1227
+ ...s,
1159
1228
  /* 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],
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],
1164
1233
  /* DEPRECATED: Use light instead */
1165
- darker: t ? c[900] : c[100]
1234
+ darker: i ? s[900] : s[100]
1166
1235
  },
1167
- grey: s,
1236
+ grey: d,
1168
1237
  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,
1238
+ active: i ? b(z, 0.56) : b(A, 0.56),
1239
+ hoverOpacity: i ? 0.1 : 0.2,
1240
+ selectedOpacity: i ? 0.16 : 0.25,
1172
1241
  focusOpacity: 0.3
1173
1242
  },
1174
1243
  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]
1244
+ default: i ? o?.background?.default?.light || Xe : o?.background?.default?.dark || je,
1245
+ paper: i ? o?.background?.paper?.light || Qe : o?.background?.paper?.dark || Je,
1246
+ highlight: i ? d[200] : d[600],
1247
+ highlightPrimary: i ? t[100] : t[500]
1179
1248
  },
1180
- divider: t ? b(B, 0.12) : b(M, 0.24),
1249
+ divider: i ? b(z, 0.12) : b(A, 0.24),
1181
1250
  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
1251
+ autoTransport: i ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1252
+ billsUtilities: i ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1253
+ businessServices: i ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1254
+ education: i ? p.EDUCATION : h.EDUCATION,
1255
+ entertainment: i ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1256
+ feesCharges: i ? p.FEES_CHARGES : h.FEES_CHARGES,
1257
+ financial: i ? p.FINANCIAL : h.FINANCIAL,
1258
+ foodDining: i ? p.FOOD_DINING : h.FOOD_DINING,
1259
+ giftsDonations: i ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1260
+ healthFitness: i ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1261
+ home: i ? p.HOME : h.HOME,
1262
+ income: i ? p.INCOME : h.INCOME,
1263
+ investments: i ? p.INVESTMENTS : h.INVESTMENTS,
1264
+ kids: i ? p.KIDS : h.KIDS,
1265
+ others: i ? p.OTHERS : h.OTHERS,
1266
+ personalCare: i ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1267
+ pets: i ? p.PETS : h.PETS,
1268
+ shopping: i ? p.SHOPPING : h.SHOPPING,
1269
+ taxes: i ? p.TAXES : h.TAXES,
1270
+ transfer: i ? p.TRANSFER : h.TRANSFER,
1271
+ travel: i ? p.TRAVEL : h.TRAVEL,
1272
+ uncategorized: i ? p.UNCATEGORIZED : h.UNCATEGORIZED
1204
1273
  },
1205
1274
  chart: {
1206
1275
  chart1: S.CHART1,
@@ -1212,16 +1281,16 @@ const Q0 = ({
1212
1281
  chart7: S.CHART7
1213
1282
  },
1214
1283
  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
1284
+ chartMono1: v.CHART_MONO1,
1285
+ chartMono2: v.CHART_MONO2,
1286
+ chartMono3: v.CHART_MONO3,
1287
+ chartMono4: v.CHART_MONO4,
1288
+ chartMono5: v.CHART_MONO5,
1289
+ chartMono6: v.CHART_MONO6
1221
1290
  }
1222
1291
  };
1223
- }, We = "Inter, Helvetica, Arial, sans-serif", Ze = (e) => {
1224
- const o = e?.fontFamily || We;
1292
+ }, e0 = "Inter, Helvetica, Arial, sans-serif", o0 = (e) => {
1293
+ const o = e?.fontFamily || e0;
1225
1294
  return {
1226
1295
  fontFamily: o,
1227
1296
  fontSize: 15,
@@ -1354,12 +1423,12 @@ const Q0 = ({
1354
1423
  ...e
1355
1424
  };
1356
1425
  };
1357
- ye.setLicenseKey(
1426
+ we.setLicenseKey(
1358
1427
  "702b0c04dc7df078768d2d45cd3a98c6Tz0xMjEzMDYsRT0xNzkzNzUwMzk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
1359
1428
  );
1360
- const oo = (e, o) => {
1361
- const i = $e(e, o?.paletteOptions), n = Ze(o?.typographyOptions);
1362
- return ne({
1429
+ const go = (e, o) => {
1430
+ const t = qe(e, o?.paletteOptions), n = o0(o?.typographyOptions);
1431
+ return ce({
1363
1432
  breakpoints: {
1364
1433
  values: {
1365
1434
  xs: 444,
@@ -1369,7 +1438,7 @@ const oo = (e, o) => {
1369
1438
  xl: 1536
1370
1439
  }
1371
1440
  },
1372
- palette: i,
1441
+ palette: t,
1373
1442
  shape: {
1374
1443
  borderRadius: o?.shapeOptions?.borderRadius || 4
1375
1444
  },
@@ -1388,15 +1457,15 @@ const oo = (e, o) => {
1388
1457
  variant: "outlined"
1389
1458
  },
1390
1459
  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];
1460
+ root: ({ theme: r, ownerState: c }) => {
1461
+ const l = c.severity || "info";
1462
+ let s = r.palette.mode === y.LIGHT ? r.palette[l]?.[50] : r.palette[l]?.[800];
1463
+ if (c.variant === "filled") {
1464
+ const d = l === "warning";
1465
+ s = r.palette[l]?.[d ? 400 : 600];
1397
1466
  }
1398
1467
  return {
1399
- backgroundColor: c,
1468
+ backgroundColor: s,
1400
1469
  borderRadius: r.shape.borderRadius,
1401
1470
  "& .MuiAlert-message": {
1402
1471
  fontSize: r.typography.subtitle1.fontSize,
@@ -1470,7 +1539,7 @@ const oo = (e, o) => {
1470
1539
  styleOverrides: {
1471
1540
  root: {
1472
1541
  "&.Mui-focusVisible": {
1473
- boxShadow: `inset 0 0 0 2px ${i.info.main}`
1542
+ boxShadow: `inset 0 0 0 2px ${t.info.main}`
1474
1543
  }
1475
1544
  }
1476
1545
  }
@@ -1478,7 +1547,7 @@ const oo = (e, o) => {
1478
1547
  MuiCircularProgress: {
1479
1548
  styleOverrides: {
1480
1549
  root: {
1481
- [`& .${He.circle}`]: {
1550
+ [`& .${Ne.circle}`]: {
1482
1551
  strokeLinecap: "round"
1483
1552
  }
1484
1553
  }
@@ -1632,7 +1701,7 @@ const oo = (e, o) => {
1632
1701
  MuiFormLabel: {
1633
1702
  styleOverrides: {
1634
1703
  asterisk: {
1635
- color: i.error.main
1704
+ color: t.error.main
1636
1705
  }
1637
1706
  }
1638
1707
  },
@@ -1680,13 +1749,13 @@ const oo = (e, o) => {
1680
1749
  borderRadius: 4
1681
1750
  },
1682
1751
  colorPrimary: {
1683
- backgroundColor: i.grey[300]
1752
+ backgroundColor: t.grey[300]
1684
1753
  }
1685
1754
  }
1686
1755
  },
1687
1756
  MuiLink: {
1688
1757
  styleOverrides: {
1689
- root: ({ theme: r, color: d }) => ({
1758
+ root: ({ theme: r, color: c }) => ({
1690
1759
  cursor: "pointer",
1691
1760
  fontWeight: 600,
1692
1761
  textDecoration: "none",
@@ -1701,7 +1770,7 @@ const oo = (e, o) => {
1701
1770
  backgroundColor: r.palette.action.hover
1702
1771
  },
1703
1772
  "&:active": {
1704
- backgroundColor: r.palette.mode === v.LIGHT ? r.palette[d].light : r.palette[d].dark
1773
+ backgroundColor: r.palette.mode === y.LIGHT ? r.palette[c].light : r.palette[c].dark
1705
1774
  }
1706
1775
  })
1707
1776
  }
@@ -1785,7 +1854,7 @@ const oo = (e, o) => {
1785
1854
  },
1786
1855
  secondaryTypographyProps: {
1787
1856
  fontSize: 11,
1788
- color: i.text.secondary
1857
+ color: t.text.secondary
1789
1858
  }
1790
1859
  },
1791
1860
  styleOverrides: {
@@ -1805,7 +1874,7 @@ const oo = (e, o) => {
1805
1874
  lineHeight: "inherit",
1806
1875
  top: -1,
1807
1876
  // This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
1808
- backgroundColor: i.background.default
1877
+ backgroundColor: t.background.default
1809
1878
  }
1810
1879
  }
1811
1880
  },
@@ -1975,7 +2044,7 @@ const oo = (e, o) => {
1975
2044
  fontWeight: 600,
1976
2045
  "&.Mui-focusVisible": {
1977
2046
  outline: "none",
1978
- boxShadow: `inset 0 0 0 2px ${i.info.main}`,
2047
+ boxShadow: `inset 0 0 0 2px ${t.info.main}`,
1979
2048
  borderRadius: 4
1980
2049
  }
1981
2050
  }
@@ -1986,7 +2055,7 @@ const oo = (e, o) => {
1986
2055
  root: {
1987
2056
  borderBottomStyle: "solid",
1988
2057
  borderBottomWidth: 1,
1989
- borderColor: i.divider,
2058
+ borderColor: t.divider,
1990
2059
  marginBottom: 8
1991
2060
  }
1992
2061
  }
@@ -2000,7 +2069,7 @@ const oo = (e, o) => {
2000
2069
  },
2001
2070
  styleOverrides: {
2002
2071
  root: {
2003
- backgroundColor: i.background.paper
2072
+ backgroundColor: t.background.paper
2004
2073
  }
2005
2074
  }
2006
2075
  },
@@ -2011,29 +2080,29 @@ const oo = (e, o) => {
2011
2080
  },
2012
2081
  styleOverrides: {
2013
2082
  root: {
2014
- color: i.text.primary,
2083
+ color: t.text.primary,
2015
2084
  fontSize: 13,
2016
2085
  lineHeight: "16px",
2017
2086
  textTransform: "none",
2018
2087
  "&:focus-visible": {
2019
- outline: `2px solid ${i.info.main}`,
2088
+ outline: `2px solid ${t.info.main}`,
2020
2089
  outlineOffset: "2px"
2021
2090
  },
2022
2091
  "&:hover": {
2023
- backgroundColor: b(i.primary.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2024
- borderColor: i.primary.main
2092
+ backgroundColor: b(t.primary.main, t.mode === y.LIGHT ? 0.1 : 0.2),
2093
+ borderColor: t.primary.main
2025
2094
  },
2026
2095
  "&.Mui-selected": {
2027
2096
  fontWeight: 600,
2028
- borderColor: i.primary.main,
2097
+ borderColor: t.primary.main,
2029
2098
  "&:hover": {
2030
- boxShadow: `inset 0px 0px 0px 2px ${i.primary.main}`
2099
+ boxShadow: `inset 0px 0px 0px 2px ${t.primary.main}`
2031
2100
  }
2032
2101
  },
2033
2102
  "& .MuiTouchRipple-root": {
2034
2103
  "& .MuiTouchRipple-ripple": {
2035
2104
  "& .MuiTouchRipple-child": {
2036
- backgroundColor: i.primary.main
2105
+ backgroundColor: t.primary.main
2037
2106
  }
2038
2107
  }
2039
2108
  }
@@ -2044,19 +2113,19 @@ const oo = (e, o) => {
2044
2113
  props: { color: "error" },
2045
2114
  style: {
2046
2115
  "&:hover": {
2047
- backgroundColor: b(i.error.main, i.mode === v.LIGHT ? 0.1 : 0.2),
2048
- borderColor: i.error.main
2116
+ backgroundColor: b(t.error.main, t.mode === y.LIGHT ? 0.1 : 0.2),
2117
+ borderColor: t.error.main
2049
2118
  },
2050
2119
  "&.Mui-selected": {
2051
- borderColor: i.error.main,
2120
+ borderColor: t.error.main,
2052
2121
  "&:hover": {
2053
- boxShadow: `inset 0px 0px 0px 2px ${i.error.main}`
2122
+ boxShadow: `inset 0px 0px 0px 2px ${t.error.main}`
2054
2123
  }
2055
2124
  },
2056
2125
  "& .MuiTouchRipple-root": {
2057
2126
  "& .MuiTouchRipple-ripple": {
2058
2127
  "& .MuiTouchRipple-child": {
2059
- backgroundColor: i.error.main
2128
+ backgroundColor: t.error.main
2060
2129
  }
2061
2130
  }
2062
2131
  }
@@ -2067,21 +2136,21 @@ const oo = (e, o) => {
2067
2136
  style: {
2068
2137
  "&:hover": {
2069
2138
  backgroundColor: b(
2070
- i.secondary.main,
2071
- i.mode === v.LIGHT ? 0.1 : 0.2
2139
+ t.secondary.main,
2140
+ t.mode === y.LIGHT ? 0.1 : 0.2
2072
2141
  ),
2073
- borderColor: i.secondary.main
2142
+ borderColor: t.secondary.main
2074
2143
  },
2075
2144
  "&.Mui-selected": {
2076
- borderColor: i.secondary.main,
2145
+ borderColor: t.secondary.main,
2077
2146
  "&:hover": {
2078
- boxShadow: `inset 0px 0px 0px 2px ${i.secondary.main}`
2147
+ boxShadow: `inset 0px 0px 0px 2px ${t.secondary.main}`
2079
2148
  }
2080
2149
  },
2081
2150
  "& .MuiTouchRipple-root": {
2082
2151
  "& .MuiTouchRipple-ripple": {
2083
2152
  "& .MuiTouchRipple-child": {
2084
- backgroundColor: i.secondary.main
2153
+ backgroundColor: t.secondary.main
2085
2154
  }
2086
2155
  }
2087
2156
  }
@@ -2108,51 +2177,51 @@ const oo = (e, o) => {
2108
2177
  });
2109
2178
  };
2110
2179
  export {
2111
- E0 as AccountsFilledIcon,
2112
- S0 as AccountsIcon,
2113
- I0 as ArrowLeftIcon,
2114
- v0 as AttentionFilledIcon,
2180
+ w0 as AccountsFilledIcon,
2181
+ P0 as AccountsIcon,
2182
+ _0 as ArrowLeftIcon,
2183
+ B0 as AttentionFilledIcon,
2115
2184
  f as BaseIcon,
2116
- G0 as BottomSheetTransition,
2117
- H0 as CalendarIcon,
2185
+ eo as BottomSheetTransition,
2186
+ z0 as CalendarIcon,
2118
2187
  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,
2188
+ Ve as CategoryIcon,
2189
+ Be as CategoryIconList,
2190
+ _e as CategoryIconVariants,
2191
+ V0 as CheckmarkFilledIcon,
2192
+ $0 as ChevronDownIcon,
2193
+ G0 as ChevronLeftIcon,
2194
+ U0 as ChevronRightIcon,
2195
+ W0 as CloseIcon,
2196
+ q0 as DateRangePicker,
2197
+ We as DialogFooter,
2198
+ io as DialogHeader,
2199
+ ao as Drawer,
2200
+ Z0 as EditIcon,
2201
+ K0 as FilterIcon,
2202
+ We as Footer,
2203
+ Ze as H1,
2204
+ oo as H2,
2205
+ ro as H3,
2206
+ Y0 as HeartIcon,
2207
+ e0 as INTER,
2139
2208
  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,
2209
+ Pe as IconWeight,
2210
+ no as InstitutionLogo,
2211
+ j0 as MXLogoCopyrightIcon,
2212
+ Q0 as MXLogoFilledIcon,
2213
+ X0 as MXLogoIcon,
2214
+ J0 as MXLogoOutlineIcon,
2215
+ lo as MerchantLogo,
2216
+ to as P,
2217
+ ho as SelectionBox,
2149
2218
  O as TARGETS,
2150
2219
  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
2220
+ k as Text,
2221
+ co as TextField,
2222
+ so as Toast,
2223
+ uo as TokenProvider,
2224
+ go as createMXTheme,
2225
+ po as useTokens
2157
2226
  };
2158
2227
  //# sourceMappingURL=index.es.js.map