@mxenabled/mxui 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,106 +1,106 @@
1
- import { jsx as t, jsxs as A } from "react/jsx-runtime";
2
- import T from "react";
3
- import O from "@mui/material/Stack";
4
- import { useTheme as y, createTheme as W } from "@mui/material/styles";
5
- import { Icon as re, Close as te } from "@mxenabled/mx-icons";
6
- import { endOfMonth as V } from "date-fns/endOfMonth";
7
- import { endOfYear as ie } from "date-fns/endOfYear";
8
- import { startOfToday as ae } from "date-fns/startOfToday";
9
- import { startOfMonth as U } from "date-fns/startOfMonth";
10
- import { startOfYear as G } from "date-fns/startOfYear";
11
- import { subDays as $ } from "date-fns/subDays";
12
- import { subMonths as ne } from "date-fns/subMonths";
13
- import { subYears as le } from "date-fns/subYears";
14
- import ce from "@mui/material/useMediaQuery";
15
- import { LocalizationProvider as se, StaticDateRangePicker as de } from "@mui/x-date-pickers-pro";
16
- import { AdapterDateFns as ue } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
- import Z from "@mui/material/Box";
18
- import he from "@mui/material/ToggleButton";
19
- import pe from "@mui/material/ToggleButtonGroup";
20
- import K from "@mui/material/Slide";
21
- import _ from "@mui/material/Button";
22
- import X from "@mui/material/IconButton";
23
- import me from "@mui/material/Typography";
24
- import ge from "@mui/material/Drawer";
25
- import fe from "@mui/material/TextField";
26
- import Te from "@mui/material/Snackbar";
27
- import be from "@mui/material/Alert";
28
- import { light as Y, buildTheme as P, dark as Ce } from "@mxenabled/design-tokens";
29
- import { darken as D, lighten as x, alpha as b } from "@mui/material";
30
- import { circularProgressClasses as Ae } from "@mui/material/CircularProgress";
31
- import { LicenseInfo as Me } from "@mui/x-license-pro";
32
- import Re from "@mui/material/styles/createPalette";
33
- import Ee from "@mui/material/styles/createTypography";
34
- const g = ({
1
+ import { jsx as i, jsxs as A } from "react/jsx-runtime";
2
+ import C from "react";
3
+ import D from "@mui/material/Stack";
4
+ import { useTheme as y, createTheme as ee } from "@mui/material/styles";
5
+ import { Icon as ge, Close as fe } from "@mxenabled/mx-icons";
6
+ import { endOfMonth as K } from "date-fns/endOfMonth";
7
+ import { endOfYear as be } from "date-fns/endOfYear";
8
+ import { startOfToday as Te } from "date-fns/startOfToday";
9
+ import { startOfMonth as X } from "date-fns/startOfMonth";
10
+ import { startOfYear as Y } from "date-fns/startOfYear";
11
+ import { subDays as j } from "date-fns/subDays";
12
+ import { subMonths as Ce } from "date-fns/subMonths";
13
+ import { subYears as Ae } from "date-fns/subYears";
14
+ import Re from "@mui/material/useMediaQuery";
15
+ import { LocalizationProvider as Me, StaticDateRangePicker as Ee } from "@mui/x-date-pickers-pro";
16
+ import { AdapterDateFns as Se } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
17
+ import oe from "@mui/material/Box";
18
+ import xe from "@mui/material/ToggleButton";
19
+ import Ie from "@mui/material/ToggleButtonGroup";
20
+ import re from "@mui/material/Slide";
21
+ import U from "@mui/material/Button";
22
+ import te from "@mui/material/IconButton";
23
+ import ve from "@mui/material/Typography";
24
+ import He from "@mui/material/Drawer";
25
+ import ye from "@mui/material/TextField";
26
+ import Fe from "@mui/material/Snackbar";
27
+ import Oe from "@mui/material/Alert";
28
+ import { light as ie, buildTheme as G, dark as Le } from "@mxenabled/design-tokens";
29
+ import { Paper as De, Box as Q, Typography as J, Radio as q, alpha as T, darken as w, lighten as O } from "@mui/material";
30
+ import { circularProgressClasses as Ne } from "@mui/material/CircularProgress";
31
+ import { LicenseInfo as ke } from "@mui/x-license-pro";
32
+ import we from "@mui/material/styles/createPalette";
33
+ import _e from "@mui/material/styles/createTypography";
34
+ const f = ({
35
35
  children: e,
36
36
  height: o,
37
- size: a = 16,
37
+ size: n = 16,
38
38
  viewBox: r = "0 0 16 16",
39
- width: n
40
- }) => /* @__PURE__ */ t(
39
+ width: a
40
+ }) => /* @__PURE__ */ i(
41
41
  "svg",
42
42
  {
43
43
  "aria-hidden": !0,
44
44
  className: "mx-kmui-icon",
45
45
  focusable: !1,
46
- height: o || a,
46
+ height: o || n,
47
47
  viewBox: r,
48
- width: n || a,
48
+ width: a || n,
49
49
  xmlns: "http://www.w3.org/2000/svg",
50
50
  children: e
51
51
  }
52
52
  );
53
- var Se = /* @__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))(Se || {});
54
- const C = ({
53
+ 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 || {});
54
+ const R = ({
55
55
  color: e,
56
56
  fill: o = !1,
57
- name: a,
57
+ name: n,
58
58
  size: r = 20,
59
- sx: n,
59
+ sx: a,
60
60
  weight: s = 300,
61
61
  ...c
62
- }) => /* @__PURE__ */ t(
63
- re,
62
+ }) => /* @__PURE__ */ i(
63
+ ge,
64
64
  {
65
65
  color: e,
66
66
  fill: o,
67
- name: a,
67
+ name: n,
68
68
  size: r,
69
- sx: n,
69
+ sx: a,
70
70
  weight: s,
71
71
  ...c
72
72
  }
73
- ), T0 = ({
73
+ ), L0 = ({
74
74
  color: e = "currentColor",
75
75
  ...o
76
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
76
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
77
77
  "path",
78
78
  {
79
79
  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",
80
80
  fill: e
81
81
  }
82
- ) })), b0 = ({
82
+ ) })), D0 = ({
83
83
  color: e = "currentColor",
84
84
  ...o
85
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
85
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
86
86
  "path",
87
87
  {
88
88
  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",
89
89
  fill: e
90
90
  }
91
- ) })), C0 = ({
91
+ ) })), N0 = ({
92
92
  color: e = "currentColor",
93
93
  ...o
94
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
94
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
95
95
  "path",
96
96
  {
97
97
  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",
98
98
  fill: e
99
99
  }
100
- ) })), A0 = ({
100
+ ) })), k0 = ({
101
101
  color: e = "currentColor",
102
102
  ...o
103
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
103
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
104
104
  "path",
105
105
  {
106
106
  clipRule: "evenodd",
@@ -108,124 +108,124 @@ const C = ({
108
108
  fill: e,
109
109
  fillRule: "evenodd"
110
110
  }
111
- ) })), M0 = ({
111
+ ) })), w0 = ({
112
112
  color: e = "currentColor",
113
113
  ...o
114
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
114
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
115
115
  "path",
116
116
  {
117
117
  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",
118
118
  fill: e
119
119
  }
120
- ) })), R0 = ({
120
+ ) })), _0 = ({
121
121
  color: e = "currentColor",
122
122
  ...o
123
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
123
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
124
124
  "path",
125
125
  {
126
126
  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",
127
127
  fill: e
128
128
  }
129
- ) })), E0 = ({
129
+ ) })), P0 = ({
130
130
  color: e = "currentColor",
131
131
  ...o
132
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
132
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
133
133
  "path",
134
134
  {
135
135
  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",
136
136
  fill: e
137
137
  }
138
- ) })), S0 = ({
138
+ ) })), B0 = ({
139
139
  color: e = "currentColor",
140
140
  ...o
141
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
141
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
142
142
  "path",
143
143
  {
144
144
  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",
145
145
  fill: e
146
146
  }
147
- ) })), I0 = ({
147
+ ) })), z0 = ({
148
148
  color: e = "currentColor",
149
149
  ...o
150
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
150
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
151
151
  "path",
152
152
  {
153
153
  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",
154
154
  fill: e
155
155
  }
156
- ) })), v0 = ({
156
+ ) })), V0 = ({
157
157
  color: e = "currentColor",
158
158
  ...o
159
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
159
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
160
160
  "path",
161
161
  {
162
162
  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",
163
163
  fill: e
164
164
  }
165
- ) })), H0 = ({
165
+ ) })), U0 = ({
166
166
  color: e = "currentColor",
167
167
  ...o
168
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
168
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
169
169
  "path",
170
170
  {
171
171
  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",
172
172
  fill: e
173
173
  }
174
- ) })), x0 = ({
174
+ ) })), G0 = ({
175
175
  color: e = "currentColor",
176
176
  ...o
177
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
177
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
178
178
  "path",
179
179
  {
180
180
  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",
181
181
  fill: e
182
182
  }
183
- ) })), F0 = ({
183
+ ) })), $0 = ({
184
184
  color: e = "currentColor",
185
185
  ...o
186
- }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
186
+ }) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
187
187
  "path",
188
188
  {
189
189
  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",
190
190
  fill: e
191
191
  }
192
- ) })), O0 = ({
192
+ ) })), W0 = ({
193
193
  color: e = "currentColor",
194
194
  ...o
195
- }) => /* @__PURE__ */ A(g, { ...o, children: [
196
- /* @__PURE__ */ t(
195
+ }) => /* @__PURE__ */ A(f, { ...o, children: [
196
+ /* @__PURE__ */ i(
197
197
  "path",
198
198
  {
199
199
  d: "M14.368 4.5h1.604c.024 0 .037.028.021.044L13.28 7.992c-.008.008-.008.025 0 .032l2.714 3.448c.016.02 0 .045-.021.045h-1.604a.023.023 0 01-.02-.013l-1.895-2.46c-.009-.01-.029-.01-.041 0l-1.895 2.46a.022.022 0 01-.02.013H8.892c-.02 0-.031-.03-.02-.045l2.713-3.448c.008-.007.008-.024 0-.032L8.871 4.544a.027.027 0 01.021-.044h1.605c.008 0 .015.004.02.013l1.895 2.458c.008.013.028.013.04 0l1.896-2.458a.023.023 0 01.02-.013z",
200
200
  fill: e
201
201
  }
202
202
  ),
203
- /* @__PURE__ */ t(
203
+ /* @__PURE__ */ i(
204
204
  "path",
205
205
  {
206
206
  d: "M8.242 11.363l1.056-1.293a.047.047 0 00.012-.029l-.81-5.5c-.004-.02-.02-.036-.04-.036H7.39c-.016 0-.032.008-.036.024L4.816 9.668c-.015.032-.06.032-.073 0l-2.562-5.14c-.009-.015-.02-.023-.036-.023h-1.08c-.021 0-.038.016-.043.036L.001 11.472a.042.042 0 00.04.049H1.29c.02 0 .042-.016.042-.036l.616-4.505c.004-.04.063-.048.08-.011L4.287 11.5c.008.017.021.024.037.024h.884c.016 0 .033-.008.037-.024l2.235-4.508c.015-.037.074-.029.078.011l.608 4.338c.005.037.054.048.075.021z",
207
207
  fill: e
208
208
  }
209
209
  )
210
- ] }), y0 = ({
210
+ ] }), Z0 = ({
211
211
  color: e = "currentColor",
212
212
  ...o
213
- }) => /* @__PURE__ */ A(g, { ...o, children: [
214
- /* @__PURE__ */ t(
213
+ }) => /* @__PURE__ */ A(f, { ...o, children: [
214
+ /* @__PURE__ */ i(
215
215
  "path",
216
216
  {
217
217
  d: "M7.93 11l.871-1.124c.01-.01.01-.02.01-.03l-.77-5.305c0-.02-.02-.041-.04-.041H7a.059.059 0 00-.024.008.077.077 0 00-.017.012l-2.4 4.89c-.005.019-.026.026-.043.023a.034.034 0 01-.027-.022l-2.42-4.89a.139.139 0 00-.01-.01.046.046 0 00-.031-.011H1.016c-.02 0-.04.01-.04.04l-.972 6.673c-.01.02.01.04.04.04h1.175c.02 0 .04-.01.04-.04l.587-4.273c.01-.04.061-.05.081-.01l2.137 4.303a.17.17 0 00.01.009.045.045 0 00.03.011h.83c.01 0 .03-.01.041-.02L7.08 6.981c.02-.04.07-.03.08.01l.578 4.14c.01.041.05.051.07.021L7.93 11z",
218
218
  fill: e
219
219
  }
220
220
  ),
221
- /* @__PURE__ */ t(
221
+ /* @__PURE__ */ i(
222
222
  "path",
223
223
  {
224
224
  d: "M15.079 4.5H13.6c-.004 0-.008.002-.013.004h-.002a.1.1 0 01-.009.004.057.057 0 01-.016.002L11.788 6.83c-.01.02-.05.02-.07 0L9.944 4.51a.03.03 0 00-.01-.007c-.008-.003-.017-.003-.03-.003H8.427c-.04 0-.051.04-.04.07l2.54 3.291c.01.01.01.041 0 .051l-2.52 3.28c-.02.031 0 .071.04.071h1.478a.031.031 0 00.011-.002c.008-.003.016-.008.03-.008l1.771-2.318c.01-.02.051-.02.071 0l1.772 2.318c.01.01.02.01.04.01h1.469c.04 0 .05-.04.04-.07l-2.541-3.291a.023.023 0 01-.005-.01.047.047 0 01-.002-.008c-.002-.012 0-.026.007-.033l2.541-3.29c0-.02-.01-.061-.05-.061z",
225
225
  fill: e
226
226
  }
227
227
  ),
228
- /* @__PURE__ */ t(
228
+ /* @__PURE__ */ i(
229
229
  "path",
230
230
  {
231
231
  clipRule: "evenodd",
@@ -234,7 +234,7 @@ const C = ({
234
234
  fillRule: "evenodd"
235
235
  }
236
236
  ),
237
- /* @__PURE__ */ t(
237
+ /* @__PURE__ */ i(
238
238
  "path",
239
239
  {
240
240
  clipRule: "evenodd",
@@ -243,10 +243,10 @@ const C = ({
243
243
  fillRule: "evenodd"
244
244
  }
245
245
  )
246
- ] }), L0 = ({
246
+ ] }), K0 = ({
247
247
  color: e = "currentColor",
248
248
  ...o
249
- }) => /* @__PURE__ */ t(g, { ...o, children: /* @__PURE__ */ t(
249
+ }) => /* @__PURE__ */ i(f, { ...o, children: /* @__PURE__ */ i(
250
250
  "path",
251
251
  {
252
252
  clipRule: "evenodd",
@@ -254,25 +254,25 @@ const C = ({
254
254
  fill: e,
255
255
  fillRule: "evenodd"
256
256
  }
257
- ) }), D0 = ({
257
+ ) }), X0 = ({
258
258
  color: e = "currentColor",
259
259
  ...o
260
- }) => /* @__PURE__ */ A(g, { ...o, children: [
261
- /* @__PURE__ */ t(
260
+ }) => /* @__PURE__ */ A(f, { ...o, children: [
261
+ /* @__PURE__ */ i(
262
262
  "path",
263
263
  {
264
264
  d: "M12.662 5.973h-.94a.013.013 0 00-.012.007L10.6 7.42c-.007.008-.019.008-.024 0l-1.11-1.44a.013.013 0 00-.011-.007h-.94c-.012 0-.02.014-.012.026l1.59 2.02c.004.004.004.014 0 .018l-1.59 2.02c-.006.009 0 .026.012.026h.94c.005 0 .009-.002.012-.008l1.11-1.44c.007-.007.018-.007.024 0l1.11 1.44a.013.013 0 00.011.008h.94a.016.016 0 00.012-.027l-1.59-2.019c-.004-.004-.004-.014 0-.019l1.59-2.02c.01-.008.002-.025-.012-.025z",
265
265
  fill: e
266
266
  }
267
267
  ),
268
- /* @__PURE__ */ t(
268
+ /* @__PURE__ */ i(
269
269
  "path",
270
270
  {
271
271
  d: "M8.753 9.235l-.619.758c-.012.015-.041.009-.044-.013l-.356-2.54c-.003-.024-.037-.029-.046-.007l-1.308 2.64c-.003.01-.013.014-.022.014H5.84c-.01 0-.017-.004-.022-.014L4.494 7.42c-.01-.022-.044-.018-.047.006l-.36 2.639c0 .011-.013.02-.026.02h-.73a.025.025 0 01-.024-.027l.599-4.06c.002-.012.012-.022.024-.022h.633c.01 0 .016.005.02.015L6.086 9c.007.019.033.019.043 0l1.486-3.01c.002-.01.012-.015.021-.015h.626c.012 0 .022.01.024.022l.475 3.221a.027.027 0 01-.007.017z",
272
272
  fill: e
273
273
  }
274
274
  ),
275
- /* @__PURE__ */ t(
275
+ /* @__PURE__ */ i(
276
276
  "path",
277
277
  {
278
278
  clipRule: "evenodd",
@@ -282,162 +282,162 @@ const C = ({
282
282
  }
283
283
  )
284
284
  ] });
285
- var p = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(p || {}), Ie = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Ie || {});
286
- const j = {
287
- guid: p.Uncategorized,
285
+ var m = /* @__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))(m || {}), Be = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Be || {});
286
+ const ne = {
287
+ guid: m.Uncategorized,
288
288
  colorName: "uncategorized",
289
289
  icon: "category"
290
- }, ve = [
290
+ }, ze = [
291
291
  {
292
- guid: p.AutoTransport,
292
+ guid: m.AutoTransport,
293
293
  colorName: "autoTransport",
294
294
  icon: "directions_car"
295
295
  },
296
296
  {
297
- guid: p.BillsUtilities,
297
+ guid: m.BillsUtilities,
298
298
  colorName: "billsUtilities",
299
299
  icon: "electrical_services"
300
300
  },
301
301
  {
302
- guid: p.BusinessServices,
302
+ guid: m.BusinessServices,
303
303
  colorName: "businessServices",
304
304
  icon: "business_center"
305
305
  },
306
306
  {
307
- guid: p.Education,
307
+ guid: m.Education,
308
308
  colorName: "education",
309
309
  icon: "school"
310
310
  },
311
311
  {
312
- guid: p.Entertainment,
312
+ guid: m.Entertainment,
313
313
  colorName: "entertainment",
314
314
  icon: "stadium"
315
315
  },
316
316
  {
317
- guid: p.FeesCharges,
317
+ guid: m.FeesCharges,
318
318
  colorName: "feesCharges",
319
319
  icon: "problem"
320
320
  },
321
321
  {
322
- guid: p.Financial,
322
+ guid: m.Financial,
323
323
  colorName: "financial",
324
324
  icon: "price_check"
325
325
  },
326
326
  {
327
- guid: p.FoodDining,
327
+ guid: m.FoodDining,
328
328
  colorName: "foodDining",
329
329
  icon: "grocery"
330
330
  },
331
331
  {
332
- guid: p.GiftsDonations,
332
+ guid: m.GiftsDonations,
333
333
  colorName: "giftsDonations",
334
334
  icon: "featured_seasonal_and_gifts"
335
335
  },
336
336
  {
337
- guid: p.HealthFitness,
337
+ guid: m.HealthFitness,
338
338
  colorName: "healthFitness",
339
339
  icon: "ecg_heart"
340
340
  },
341
341
  {
342
- guid: p.Home,
342
+ guid: m.Home,
343
343
  colorName: "home",
344
344
  icon: "cottage"
345
345
  },
346
346
  {
347
- guid: p.Income,
347
+ guid: m.Income,
348
348
  colorName: "income",
349
349
  icon: "monetization_on"
350
350
  },
351
351
  {
352
- guid: p.Investments,
352
+ guid: m.Investments,
353
353
  colorName: "investments",
354
354
  icon: "bid_landscape"
355
355
  },
356
356
  {
357
- guid: p.Kids,
357
+ guid: m.Kids,
358
358
  colorName: "kids",
359
359
  icon: "face"
360
360
  },
361
361
  {
362
- guid: p.PersonalCare,
362
+ guid: m.PersonalCare,
363
363
  colorName: "personalCare",
364
364
  icon: "volunteer_activism"
365
365
  },
366
366
  {
367
- guid: p.Pets,
367
+ guid: m.Pets,
368
368
  colorName: "pets",
369
369
  icon: "pet_supplies"
370
370
  },
371
371
  {
372
- guid: p.Shopping,
372
+ guid: m.Shopping,
373
373
  colorName: "shopping",
374
374
  icon: "shopping_cart"
375
375
  },
376
376
  {
377
- guid: p.Taxes,
377
+ guid: m.Taxes,
378
378
  colorName: "taxes",
379
379
  icon: "heap_snapshot_large"
380
380
  },
381
381
  {
382
- guid: p.Transfer,
382
+ guid: m.Transfer,
383
383
  colorName: "transfer",
384
384
  icon: "compare_arrows"
385
385
  },
386
386
  {
387
- guid: p.Travel,
387
+ guid: m.Travel,
388
388
  colorName: "travel",
389
389
  icon: "airplane_ticket"
390
390
  },
391
- j
392
- ], He = 0.625, xe = ({
391
+ ne
392
+ ], Ve = 0.625, Ue = ({
393
393
  categoryGuid: e,
394
- icon_ratio: o = He,
395
- size: a = 32,
394
+ icon_ratio: o = Ve,
395
+ size: n = 32,
396
396
  sx: r = {},
397
- variant: n = "filled"
397
+ variant: a = "filled"
398
398
  }) => {
399
- const s = y(), c = T.useMemo(
400
- () => ve.find((d) => d.guid === e) ?? j,
399
+ const s = y(), c = C.useMemo(
400
+ () => ze.find((d) => d.guid === e) ?? ne,
401
401
  [e]
402
402
  ), l = s.palette.categories[c.colorName];
403
- return /* @__PURE__ */ t(
404
- O,
403
+ return /* @__PURE__ */ i(
404
+ D,
405
405
  {
406
406
  alignItems: "center",
407
407
  bgcolor: () => {
408
408
  let d = l;
409
- return n === "twotone" && (d = `${d}20`), n === "transparent" || n === "basic" ? "transparent" : d;
409
+ return a === "twotone" && (d = `${d}20`), a === "transparent" || a === "basic" ? "transparent" : d;
410
410
  },
411
411
  borderRadius: 1,
412
412
  color: () => {
413
- const d = n === "filled" ? s.palette.common.white : l;
414
- return n === "basic" ? s.palette.text.primary : d;
413
+ const d = a === "filled" ? s.palette.common.white : l;
414
+ return a === "basic" ? s.palette.text.primary : d;
415
415
  },
416
- height: a,
416
+ height: n,
417
417
  justifyContent: "center",
418
418
  sx: [...Array.isArray(r) ? r : [r]],
419
- width: a,
420
- children: /* @__PURE__ */ t(C, { name: c.icon, size: a * o })
419
+ width: n,
420
+ children: /* @__PURE__ */ i(R, { name: c.icon, size: n * o })
421
421
  }
422
422
  );
423
- }, Fe = ({
423
+ }, Ge = ({
424
424
  items: e,
425
425
  onChange: o,
426
- isValid: a,
426
+ isValid: n,
427
427
  selected: r
428
428
  }) => {
429
- const n = y(), s = e?.map((c) => {
430
- const l = c.getValue({ isValid: a });
429
+ const a = y(), s = e?.map((c) => {
430
+ const l = c.getValue({ isValid: n });
431
431
  return {
432
432
  label: c.label,
433
433
  onClick: () => {
434
434
  o(l, "accept", c);
435
435
  },
436
- disabled: !a(l)
436
+ disabled: !n(l)
437
437
  };
438
438
  });
439
- return /* @__PURE__ */ t(Z, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ t(pe, { color: "primary", orientation: "vertical", value: r, children: s?.map((c) => /* @__PURE__ */ t(
440
- he,
439
+ return /* @__PURE__ */ i(oe, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ i(Ie, { color: "primary", orientation: "vertical", value: r, children: s?.map((c) => /* @__PURE__ */ i(
440
+ xe,
441
441
  {
442
442
  onClick: c.onClick,
443
443
  sx: {
@@ -450,11 +450,11 @@ const j = {
450
450
  boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
451
451
  },
452
452
  "&:hover": {
453
- bgcolor: n.palette.action.hover,
454
- borderTop: `1px solid ${n.palette.secondary.light}`
453
+ bgcolor: a.palette.action.hover,
454
+ borderTop: `1px solid ${a.palette.secondary.light}`
455
455
  },
456
456
  "&.Mui-selected": {
457
- border: `2px solid ${n.palette.primary.main} !important`,
457
+ border: `2px solid ${a.palette.primary.main} !important`,
458
458
  marginTop: "-2px !important",
459
459
  color: "primary"
460
460
  }
@@ -464,51 +464,51 @@ const j = {
464
464
  },
465
465
  c.label
466
466
  )) }) });
467
- }, N0 = ({
467
+ }, Y0 = ({
468
468
  copy: e,
469
469
  dateRange: o,
470
- onRangeChanged: a,
470
+ onRangeChanged: n,
471
471
  selectedShortcut: r = e.dateRangeThisMonth,
472
- sx: n = {}
472
+ sx: a = {}
473
473
  }) => {
474
- const s = y(), c = ce(s.breakpoints.down("sm")), l = T.useMemo(() => {
475
- const m = ae(), d = ne(m, 1), f = le(m, 1);
474
+ const s = y(), c = Re(s.breakpoints.down("sm")), l = C.useMemo(() => {
475
+ const u = Te(), d = Ce(u, 1), b = Ae(u, 1);
476
476
  return [
477
477
  {
478
478
  label: e.dateRangeThisMonth,
479
- getValue: () => [U(m), V(m)]
479
+ getValue: () => [X(u), K(u)]
480
480
  },
481
481
  {
482
482
  label: e.dateRangeLastMonth,
483
- getValue: () => [U(d), V(d)]
483
+ getValue: () => [X(d), K(d)]
484
484
  },
485
485
  {
486
486
  label: e.dateRangeLast30Days,
487
- getValue: () => [$(m, 30), m]
487
+ getValue: () => [j(u, 30), u]
488
488
  },
489
489
  {
490
490
  label: e.dateRangeLast90Days,
491
- getValue: () => [$(m, 90), m]
491
+ getValue: () => [j(u, 90), u]
492
492
  },
493
493
  {
494
494
  label: e.dateRangeYTD,
495
- getValue: () => [G(m), m]
495
+ getValue: () => [Y(u), u]
496
496
  },
497
497
  {
498
498
  label: e.dateRangeLastYear,
499
- getValue: () => [G(f), ie(f)]
499
+ getValue: () => [Y(b), be(b)]
500
500
  },
501
501
  {
502
502
  label: e.dateRangeCustom,
503
- getValue: () => [m, m]
503
+ getValue: () => [u, u]
504
504
  }
505
505
  ];
506
- }, [e]), i = (m, d) => {
507
- const f = d.shortcut;
508
- a?.(m, f ? f.label : e.dateRangeCustom);
506
+ }, [e]), t = (u, d) => {
507
+ const b = d.shortcut;
508
+ n?.(u, b ? b.label : e.dateRangeCustom);
509
509
  };
510
- return /* @__PURE__ */ t(O, { gap: 16, m: 8, children: /* @__PURE__ */ t(se, { dateAdapter: ue, children: /* @__PURE__ */ t(
511
- de,
510
+ return /* @__PURE__ */ i(D, { gap: 16, m: 8, children: /* @__PURE__ */ i(Me, { dateAdapter: Se, children: /* @__PURE__ */ i(
511
+ Ee,
512
512
  {
513
513
  calendars: 1,
514
514
  localeText: {
@@ -516,7 +516,7 @@ const j = {
516
516
  end: e.dateRangeTo,
517
517
  toolbarTitle: e.dateRangeToolbarTitle
518
518
  },
519
- onChange: i,
519
+ onChange: t,
520
520
  showDaysOutsideCurrentMonth: !0,
521
521
  slotProps: {
522
522
  actionBar: { actions: [] },
@@ -528,60 +528,60 @@ const j = {
528
528
  }
529
529
  },
530
530
  slots: {
531
- leftArrowIcon: () => /* @__PURE__ */ t(C, { name: "chevron_left", size: 28 }),
532
- shortcuts: (m) => /* @__PURE__ */ t(Fe, { selected: r, ...m }),
533
- rightArrowIcon: () => /* @__PURE__ */ t(C, { name: "chevron_right", size: 28 })
531
+ leftArrowIcon: () => /* @__PURE__ */ i(R, { name: "chevron_left", size: 28 }),
532
+ shortcuts: (u) => /* @__PURE__ */ i(Ge, { selected: r, ...u }),
533
+ rightArrowIcon: () => /* @__PURE__ */ i(R, { name: "chevron_right", size: 28 })
534
534
  },
535
- sx: { ...n },
535
+ sx: { ...a },
536
536
  value: o
537
537
  }
538
538
  ) }) });
539
- }, k0 = T.forwardRef(function(o, a) {
540
- return /* @__PURE__ */ t(K, { direction: "up", ref: a, ...o });
541
- }), Oe = ({
539
+ }, j0 = C.forwardRef(function(o, n) {
540
+ return /* @__PURE__ */ i(re, { direction: "up", ref: n, ...o });
541
+ }), $e = ({
542
542
  hasSecondaryAction: e = !0,
543
543
  isPrimaryDisabled: o,
544
- onPrimaryAction: a,
544
+ onPrimaryAction: n,
545
545
  onSecondaryAction: r,
546
- primaryColor: n = "primary",
546
+ primaryColor: a = "primary",
547
547
  primaryText: s = "Save",
548
548
  secondaryColor: c = "primary",
549
549
  secondaryText: l = "Cancel"
550
550
  }) => /* @__PURE__ */ A(
551
- O,
551
+ D,
552
552
  {
553
553
  direction: "row",
554
554
  gap: 16,
555
555
  justifyContent: "flex-end",
556
556
  sx: { bgcolor: "background.paper", width: "100%", p: 24 },
557
557
  children: [
558
- e && /* @__PURE__ */ t(
559
- _,
558
+ e && /* @__PURE__ */ i(
559
+ U,
560
560
  {
561
561
  color: c,
562
562
  onClick: r,
563
- variant: a ? "outlined" : "contained",
563
+ variant: n ? "outlined" : "contained",
564
564
  children: l
565
565
  }
566
566
  ),
567
- a && /* @__PURE__ */ t(
568
- _,
567
+ n && /* @__PURE__ */ i(
568
+ U,
569
569
  {
570
- color: n,
570
+ color: a,
571
571
  disabled: o,
572
- onClick: a,
572
+ onClick: n,
573
573
  variant: "contained",
574
574
  children: s
575
575
  }
576
576
  )
577
577
  ]
578
578
  }
579
- ), L = ({
579
+ ), N = ({
580
580
  bold: e,
581
581
  className: o = "",
582
- children: a,
582
+ children: n,
583
583
  color: r,
584
- sx: n = {},
584
+ sx: a = {},
585
585
  truncate: s = !0,
586
586
  uppercase: c,
587
587
  ...l
@@ -618,8 +618,8 @@ const j = {
618
618
  l.variant = "caption";
619
619
  break;
620
620
  }
621
- return /* @__PURE__ */ t(
622
- me,
621
+ return /* @__PURE__ */ i(
622
+ ve,
623
623
  {
624
624
  className: `mx-kmui-text ${o}`,
625
625
  color: r,
@@ -635,24 +635,24 @@ const j = {
635
635
  c ? {
636
636
  textTransform: "uppercase"
637
637
  } : {},
638
- ...Array.isArray(n) ? n : [n]
638
+ ...Array.isArray(a) ? a : [a]
639
639
  ],
640
640
  ...l,
641
- children: a
641
+ children: n
642
642
  }
643
643
  );
644
- }, ye = ({ className: e = "", children: o, ...a }) => /* @__PURE__ */ t(L, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...a, children: o }), w0 = ({ className: e = "", children: o, ...a }) => /* @__PURE__ */ t(L, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...a, children: o }), _0 = ({ className: e = "", children: o, ...a }) => /* @__PURE__ */ t(L, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...a, children: o }), P0 = ({ className: e = "", children: o, truncate: a, ...r }) => /* @__PURE__ */ t(
645
- L,
644
+ }, We = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ i(N, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...n, children: o }), Q0 = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ i(N, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...n, children: o }), J0 = ({ className: e = "", children: o, ...n }) => /* @__PURE__ */ i(N, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...n, children: o }), q0 = ({ className: e = "", children: o, truncate: n, ...r }) => /* @__PURE__ */ i(
645
+ N,
646
646
  {
647
647
  className: `mx-kmui-text p ${e}`,
648
648
  component: "p",
649
- truncate: a || !1,
649
+ truncate: n || !1,
650
650
  variant: "body1",
651
651
  ...r,
652
652
  children: o
653
653
  }
654
- ), z0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ A(
655
- O,
654
+ ), eo = ({ copy: e, onClose: o }) => /* @__PURE__ */ A(
655
+ D,
656
656
  {
657
657
  sx: {
658
658
  alignItems: "center",
@@ -662,81 +662,81 @@ const j = {
662
662
  py: 14
663
663
  },
664
664
  children: [
665
- /* @__PURE__ */ t(ye, { variant: "h3", children: e.title }),
666
- /* @__PURE__ */ t(X, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ t(te, {}) })
665
+ /* @__PURE__ */ i(We, { variant: "h3", children: e.title }),
666
+ /* @__PURE__ */ i(te, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ i(fe, {}) })
667
667
  ]
668
668
  }
669
- ), B0 = ({
669
+ ), oo = ({
670
670
  className: e,
671
671
  disableSave: o,
672
- id: a,
672
+ id: n,
673
673
  isOpen: r,
674
- onClose: n,
674
+ onClose: a,
675
675
  onSave: s,
676
676
  primaryText: c,
677
677
  secondaryText: l,
678
- children: i,
679
- ...m
678
+ children: t,
679
+ ...u
680
680
  }) => /* @__PURE__ */ A(
681
- ge,
681
+ He,
682
682
  {
683
683
  anchor: "right",
684
684
  className: `mx-kmui-drawer ${e}`,
685
- id: a ?? void 0,
686
- onClose: n,
685
+ id: n ?? void 0,
686
+ onClose: a,
687
687
  open: r,
688
688
  variant: "temporary",
689
- ...m,
689
+ ...u,
690
690
  children: [
691
- i,
692
- s && /* @__PURE__ */ t(
693
- Oe,
691
+ t,
692
+ s && /* @__PURE__ */ i(
693
+ $e,
694
694
  {
695
695
  isPrimaryDisabled: o,
696
696
  onPrimaryAction: s,
697
- onSecondaryAction: n,
697
+ onSecondaryAction: a,
698
698
  primaryText: c,
699
699
  secondaryText: l
700
700
  }
701
701
  )
702
702
  ]
703
703
  }
704
- ), Q = 32, z = "https://content.moneydesktop.com/storage/MD_Assets", Le = `${z}/serenity/default_institution_logo.png`, V0 = ({
704
+ ), ae = 32, $ = "https://content.moneydesktop.com/storage/MD_Assets", Ze = `${$}/serenity/default_institution_logo.png`, ro = ({
705
705
  alt: e,
706
706
  institutionGuid: o,
707
- logoUrl: a,
708
- size: r = Q,
709
- ...n
710
- }) => /* @__PURE__ */ t(
707
+ logoUrl: n,
708
+ size: r = ae,
709
+ ...a
710
+ }) => /* @__PURE__ */ i(
711
711
  "img",
712
712
  {
713
713
  alt: e,
714
714
  height: r,
715
- onError: (s) => s.target.src = Le,
716
- src: a || `${z}/Ipad%20Logos/100x100/${o}_100x100.png`,
715
+ onError: (s) => s.target.src = Ze,
716
+ src: n || `${$}/Ipad%20Logos/100x100/${o}_100x100.png`,
717
717
  style: {
718
718
  borderRadius: 4
719
719
  },
720
720
  width: r,
721
- ...n
721
+ ...a
722
722
  }
723
- ), U0 = ({
723
+ ), to = ({
724
724
  alt: e = "",
725
725
  categoryGuid: o,
726
- merchantGuid: a,
727
- size: r = Q,
728
- ...n
726
+ merchantGuid: n,
727
+ size: r = ae,
728
+ ...a
729
729
  }) => {
730
- const [s, c] = T.useState(!1), l = y();
731
- return /* @__PURE__ */ A(Z, { display: "inline-block", position: "relative", ...n, children: [
732
- a && !s && /* @__PURE__ */ t(
730
+ const [s, c] = C.useState(!1), l = y();
731
+ return /* @__PURE__ */ A(oe, { display: "inline-block", position: "relative", ...a, children: [
732
+ n && !s && /* @__PURE__ */ i(
733
733
  "img",
734
734
  {
735
735
  alt: e,
736
736
  "aria-hidden": !e,
737
737
  height: r,
738
738
  onError: () => c(!0),
739
- src: `${z}/merchant_logos/${a}.png`,
739
+ src: `${$}/merchant_logos/${n}.png`,
740
740
  style: {
741
741
  backgroundColor: l.palette.common.white,
742
742
  borderRadius: 4,
@@ -746,49 +746,49 @@ const j = {
746
746
  width: r
747
747
  }
748
748
  ),
749
- /* @__PURE__ */ t(xe, { categoryGuid: o, size: r })
749
+ /* @__PURE__ */ i(Ue, { categoryGuid: o, size: r })
750
750
  ] });
751
- }, G0 = ({
751
+ }, io = ({
752
752
  disabled: e = !1,
753
753
  label: o = "",
754
- shrink: a = !0,
754
+ shrink: n = !0,
755
755
  variant: r = "outlined",
756
- ...n
757
- }) => /* @__PURE__ */ t(
758
- fe,
756
+ ...a
757
+ }) => /* @__PURE__ */ i(
758
+ ye,
759
759
  {
760
760
  InputLabelProps: {
761
- shrink: a
761
+ shrink: n
762
762
  },
763
763
  disabled: e,
764
764
  label: o,
765
765
  variant: r,
766
- ...n
766
+ ...a
767
767
  }
768
768
  );
769
- function De(e) {
770
- return /* @__PURE__ */ t(K, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
769
+ function Ke(e) {
770
+ return /* @__PURE__ */ i(re, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
771
771
  }
772
- const $0 = ({
772
+ const no = ({
773
773
  open: e,
774
774
  handleClose: o,
775
- message: a,
775
+ message: n,
776
776
  autoHideDuration: r = 3e3,
777
- severity: n = "success",
777
+ severity: a = "success",
778
778
  snackbarSx: s,
779
779
  showAction: c = !1,
780
780
  showClose: l = !1,
781
- actionText: i = "Undo",
782
- onActionClick: m,
781
+ actionText: t = "Undo",
782
+ onActionClick: u,
783
783
  multiLine: d = !1
784
784
  }) => {
785
- const f = y(), ee = {
786
- success: f.palette.success.dark,
787
- error: f.palette.error.light,
788
- info: f.palette.info.lighter,
789
- warning: f.palette.warning.lighter
790
- }, oe = /* @__PURE__ */ A(
791
- O,
785
+ const b = y(), g = {
786
+ success: b.palette.success.dark,
787
+ error: b.palette.error.light,
788
+ info: b.palette.info.lighter,
789
+ warning: b.palette.warning.lighter
790
+ }, z = /* @__PURE__ */ A(
791
+ D,
792
792
  {
793
793
  alignItems: d ? "flex-end" : "center",
794
794
  direction: d ? "column-reverse" : "row",
@@ -797,36 +797,36 @@ const $0 = ({
797
797
  d && c && l ? "space-between" : "flex-end"
798
798
  ),
799
799
  children: [
800
- c && /* @__PURE__ */ t(
801
- _,
800
+ c && /* @__PURE__ */ i(
801
+ U,
802
802
  {
803
803
  color: "inherit",
804
- onClick: m || o,
804
+ onClick: u || o,
805
805
  size: "small",
806
806
  sx: {
807
- color: f.palette.success.contrastText,
807
+ color: b.palette.success.contrastText,
808
808
  height: 44
809
809
  },
810
- children: i
810
+ children: t
811
811
  }
812
812
  ),
813
- l && /* @__PURE__ */ t(
814
- X,
813
+ l && /* @__PURE__ */ i(
814
+ te,
815
815
  {
816
816
  "aria-label": "close",
817
817
  color: "inherit",
818
818
  onClick: o,
819
819
  sx: { height: 44, width: 44 },
820
- children: /* @__PURE__ */ t(C, { fill: !0, name: "close", size: 24, weight: 400 })
820
+ children: /* @__PURE__ */ i(R, { fill: !0, name: "close", size: 24, weight: 400 })
821
821
  }
822
822
  )
823
823
  ]
824
824
  }
825
825
  );
826
- return /* @__PURE__ */ t(
827
- Te,
826
+ return /* @__PURE__ */ i(
827
+ Fe,
828
828
  {
829
- TransitionComponent: De,
829
+ TransitionComponent: Ke,
830
830
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
831
831
  autoHideDuration: r,
832
832
  onClose: o,
@@ -835,17 +835,17 @@ const $0 = ({
835
835
  ...s,
836
836
  width: d ? 400 : 325
837
837
  },
838
- children: /* @__PURE__ */ t(
839
- be,
838
+ children: /* @__PURE__ */ i(
839
+ Oe,
840
840
  {
841
- action: oe,
842
- severity: n,
841
+ action: z,
842
+ severity: a,
843
843
  sx: {
844
844
  display: "flex",
845
845
  alignItems: "stretch",
846
846
  minHeight: l && c && d ? 120 : 56,
847
847
  maxHeight: d ? 120 : 56,
848
- backgroundColor: (B) => B.palette.mode === "light" ? B.palette[n].main : ee[n],
848
+ backgroundColor: (k) => k.palette.mode === "light" ? k.palette[a].main : g[a],
849
849
  width: "100%",
850
850
  "& .MuiAlert-icon": {
851
851
  alignSelf: d ? "flex-start" : "center"
@@ -861,62 +861,163 @@ const $0 = ({
861
861
  }
862
862
  },
863
863
  variant: "filled",
864
- children: /* @__PURE__ */ t(
865
- L,
864
+ children: /* @__PURE__ */ i(
865
+ N,
866
866
  {
867
867
  sx: {
868
- lineHeight: f.typography.body1.lineHeight,
868
+ lineHeight: b.typography.body1.lineHeight,
869
869
  whiteSpace: d ? "normal" : "nowrap",
870
870
  overflow: d ? "visible" : "hidden",
871
871
  textOverflow: d ? "clip" : "ellipsis"
872
872
  },
873
873
  truncate: !d,
874
- children: a
874
+ children: n
875
875
  }
876
876
  )
877
877
  }
878
878
  )
879
879
  }
880
880
  );
881
- }, F = {
881
+ }, L = {
882
882
  REACT: "react",
883
883
  REACT_NATIVE: "react_native",
884
884
  NATIVE: "native"
885
- }, k = {
885
+ }, P = {
886
886
  LIGHT: "light",
887
887
  DARK: "dark"
888
- }, J = T.createContext(Y), q = T.createContext(
889
- P(k.LIGHT, F.REACT_NATIVE)
890
- ), W0 = ({
888
+ }, le = C.createContext(ie), ce = C.createContext(
889
+ G(P.LIGHT, L.REACT_NATIVE)
890
+ ), ao = ({
891
891
  children: e,
892
- target: o = F.REACT,
893
- theme: a = k.LIGHT,
892
+ target: o = L.REACT,
893
+ theme: n = P.LIGHT,
894
894
  tokenOverrides: r
895
895
  }) => {
896
- const [n, s] = T.useState(a === k.LIGHT ? Y : Ce), c = T.useMemo(() => ({
896
+ const [a, s] = C.useState(n === P.LIGHT ? ie : Le), c = C.useMemo(() => ({
897
897
  ...r
898
898
  }), [r]);
899
- return T.useEffect(() => {
900
- const l = P(a, o, { ...c });
899
+ return C.useEffect(() => {
900
+ const l = G(n, o, { ...c });
901
901
  s(l);
902
- }, [a, o, c]), o === F.REACT ? /* @__PURE__ */ t(J.Provider, { value: n, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ t(q.Provider, { value: n, children: e }));
903
- }, Z0 = (e = F.REACT, o = {}) => {
904
- const a = e === F.REACT ? J : q, r = T.useContext(a);
905
- return r || P(k.LIGHT, e, { ...o });
902
+ }, [n, o, c]), o === L.REACT ? /* @__PURE__ */ i(le.Provider, { value: a, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ i(ce.Provider, { value: a, children: e }));
903
+ }, lo = (e = L.REACT, o = {}) => {
904
+ const n = e === L.REACT ? le : ce, r = C.useContext(n);
905
+ return r || G(P.LIGHT, e, { ...o });
906
+ }, co = ({
907
+ component: e = q,
908
+ variant: o = "outlined",
909
+ selected: n,
910
+ onChange: r,
911
+ headline: a,
912
+ message: s,
913
+ name: c,
914
+ value: l,
915
+ disabled: t = !1,
916
+ error: u = !1,
917
+ icon: d = !1,
918
+ sx: b = {}
919
+ }) => {
920
+ const g = y(), z = e, k = () => {
921
+ if (!t && r && l) {
922
+ const Z = e === q ? !0 : !n;
923
+ r({
924
+ target: { value: l, checked: Z }
925
+ }, Z);
926
+ }
927
+ }, W = () => u ? g.palette.error.main : n ? T(g.palette.primary.main, 0.5) : g.palette.border.main, F = () => g.palette.background.paper, se = () => n ? "2px" : "1px", de = () => {
928
+ if (!t)
929
+ return u ? g.palette.error.main : T(g.palette.primary.main, 0.5);
930
+ }, ue = () => t || u ? F() : T(g.palette.primary.main, 0.1), pe = () => {
931
+ if (!t)
932
+ return u ? g.palette.error.main : T(g.palette.primary.main, 0.5);
933
+ }, he = () => t || u ? F() : T(g.palette.primary.main, 0.3), me = () => t ? W() : u ? g.palette.error.main : g.palette.info.main, V = () => !!(o === "outlined" || o === "elevation" && (u || n));
934
+ return /* @__PURE__ */ A(
935
+ De,
936
+ {
937
+ elevation: o === "elevation" ? 1 : 0,
938
+ onClick: k,
939
+ sx: {
940
+ display: "flex",
941
+ padding: "6px 16px",
942
+ alignItems: "flex-start",
943
+ justifyContent: "space-between",
944
+ borderRadius: g.shape.borderRadius / 2,
945
+ mb: 16,
946
+ cursor: t ? "not-allowed" : "pointer",
947
+ opacity: t ? 0.6 : 1,
948
+ backgroundColor: F(),
949
+ border: V() ? `${se()} solid ${W()}` : "none",
950
+ transition: g.transitions.create(["border-color", "box-shadow", "background-color"], {
951
+ duration: g.transitions.duration.short
952
+ }),
953
+ "&:hover": {
954
+ borderColor: V() ? de() : void 0,
955
+ backgroundColor: ue()
956
+ },
957
+ "&:active": {
958
+ borderColor: V() ? pe() : void 0,
959
+ backgroundColor: he()
960
+ },
961
+ "&:focus-visible": {
962
+ outline: `2px solid ${me()}`,
963
+ outlineOffset: "2px"
964
+ },
965
+ ...b
966
+ },
967
+ tabIndex: 0,
968
+ variant: o,
969
+ children: [
970
+ d && /* @__PURE__ */ i(
971
+ Q,
972
+ {
973
+ sx: {
974
+ mr: 16,
975
+ mt: "8px",
976
+ flexShrink: 0
977
+ },
978
+ children: d
979
+ }
980
+ ),
981
+ /* @__PURE__ */ A(Q, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
982
+ a && /* @__PURE__ */ i(J, { fontWeight: 600, sx: { lineHeight: "24px" }, variant: "body1", children: a }),
983
+ /* @__PURE__ */ i(J, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: s })
984
+ ] }),
985
+ /* @__PURE__ */ i(
986
+ z,
987
+ {
988
+ checked: n,
989
+ disabled: t,
990
+ name: c,
991
+ onChange: r,
992
+ sx: {
993
+ p: 0,
994
+ ml: 16,
995
+ mt: "8px",
996
+ flexShrink: 0,
997
+ "& .MuiSvgIcon-root": {
998
+ fontSize: "20px"
999
+ }
1000
+ },
1001
+ value: l
1002
+ }
1003
+ )
1004
+ ]
1005
+ }
1006
+ );
906
1007
  }, H = {
907
1008
  LIGHT: "light"
908
1009
  }, M = (e) => ({
909
- 50: x(e, 0.95),
910
- 100: x(e, 0.85),
911
- 200: x(e, 0.7),
912
- 300: x(e, 0.55),
913
- 400: x(e, 0.3),
1010
+ 50: O(e, 0.95),
1011
+ 100: O(e, 0.85),
1012
+ 200: O(e, 0.7),
1013
+ 300: O(e, 0.55),
1014
+ 400: O(e, 0.3),
914
1015
  500: e,
915
- 600: D(e, 0.3),
916
- 700: D(e, 0.5),
917
- 800: D(e, 0.65),
918
- 900: D(e, 0.75)
919
- }), R = "#FFFFFF", N = "#000000", Ne = "#F9F9F9", ke = "#1A1A1A", E = {
1016
+ 600: w(e, 0.3),
1017
+ 700: w(e, 0.5),
1018
+ 800: w(e, 0.65),
1019
+ 900: w(e, 0.75)
1020
+ }), E = "#FFFFFF", _ = "#000000", Xe = "#F9F9F9", Ye = "#1A1A1A", S = {
920
1021
  PRIMARY: "#2C64EF",
921
1022
  SECONDARY: "#808080",
922
1023
  INFO: "#2C64EF",
@@ -924,7 +1025,7 @@ const $0 = ({
924
1025
  WARNING: "#FF7B00",
925
1026
  ERROR: "#E32727",
926
1027
  NEUTRAL: "#808080"
927
- }, S = {
1028
+ }, x = {
928
1029
  CHART1: "#74E4DA",
929
1030
  CHART2: "#ED64A4",
930
1031
  CHART3: "#F3DC46",
@@ -939,7 +1040,7 @@ const $0 = ({
939
1040
  CHART_MONO4: "#2F73DA",
940
1041
  CHART_MONO5: "#034AB3",
941
1042
  CHART_MONO6: "#002966"
942
- }, u = {
1043
+ }, p = {
943
1044
  AUTO_TRANSPORTT: "#00B0FF",
944
1045
  BILLS_UTILITIES: "#F949BD",
945
1046
  BUSINESS_SERVICES: "#2979FF",
@@ -985,135 +1086,135 @@ const $0 = ({
985
1086
  TRANSFER: "#75C7B7",
986
1087
  TRAVEL: "#76ACF7",
987
1088
  UNCATEGORIZED: "#BCC6D4"
988
- }, we = (e) => {
989
- const o = M(E.PRIMARY), a = M(E.SECONDARY), r = M(E.ERROR), n = M(E.WARNING), s = M(E.INFO), c = M(E.SUCCESS), l = M(E.NEUTRAL), i = e === H.LIGHT;
990
- return Re({
1089
+ }, je = (e) => {
1090
+ const o = M(S.PRIMARY), n = M(S.SECONDARY), r = M(S.ERROR), a = M(S.WARNING), s = M(S.INFO), c = M(S.SUCCESS), l = M(S.NEUTRAL), t = e === H.LIGHT;
1091
+ return we({
991
1092
  mode: e,
992
1093
  // DEPRECATED: Use Neutral instead
993
1094
  border: {
994
1095
  /* DEPRECATED: Use light instead */
995
- lighter: i ? l[300] : l[700],
996
- light: i ? l[300] : l[700],
997
- main: i ? l[400] : l[600],
1096
+ lighter: t ? l[300] : l[700],
1097
+ light: t ? l[300] : l[700],
1098
+ main: t ? l[400] : l[600],
998
1099
  dark: l[500],
999
1100
  /* DEPRECATED: Use light instead */
1000
1101
  darker: l[500]
1001
1102
  },
1002
1103
  common: {
1003
- white: R,
1004
- black: N
1104
+ white: E,
1105
+ black: _
1005
1106
  },
1006
1107
  primary: {
1007
1108
  ...o,
1008
1109
  /* DEPRECATED: Use light instead */
1009
- lighter: i ? o[100] : o[800],
1010
- light: i ? o[300] : o[600],
1011
- main: i ? o[500] : o[400],
1012
- dark: i ? o[700] : o[200],
1110
+ lighter: t ? o[100] : o[800],
1111
+ light: t ? o[300] : o[600],
1112
+ main: t ? o[500] : o[400],
1113
+ dark: t ? o[700] : o[200],
1013
1114
  /* DEPRECATED: Use dark instead */
1014
- darker: i ? o[900] : o[100]
1115
+ darker: t ? o[900] : o[100]
1015
1116
  },
1016
1117
  secondary: {
1017
- ...a,
1118
+ ...n,
1018
1119
  /* DEPRECATED: Use light instead */
1019
- lighter: i ? a[300] : a[700],
1020
- light: a[500],
1021
- main: i ? a[700] : a[300],
1022
- dark: i ? a[900] : a[100],
1120
+ lighter: t ? n[300] : n[700],
1121
+ light: n[500],
1122
+ main: t ? n[700] : n[300],
1123
+ dark: t ? n[900] : n[100],
1023
1124
  /* DEPRECATED: Use dark instead */
1024
- darker: i ? a[900] : a[50]
1125
+ darker: t ? n[900] : n[50]
1025
1126
  },
1026
1127
  text: {
1027
- primary: i ? l[900] : R,
1028
- secondary: i ? l[600] : b(R, 0.7),
1029
- disabled: i ? l[500] : b(R, 0.38)
1128
+ primary: t ? l[900] : E,
1129
+ secondary: t ? l[600] : T(E, 0.7),
1130
+ disabled: t ? l[500] : T(E, 0.38)
1030
1131
  },
1031
1132
  error: {
1032
1133
  ...r,
1033
1134
  /* DEPRECATED: Use light instead */
1034
- lighter: i ? r[100] : r[800],
1035
- light: i ? r[300] : r[600],
1036
- main: i ? r[500] : r[400],
1037
- dark: i ? r[700] : r[200],
1135
+ lighter: t ? r[100] : r[800],
1136
+ light: t ? r[300] : r[600],
1137
+ main: t ? r[500] : r[400],
1138
+ dark: t ? r[700] : r[200],
1038
1139
  /* DEPRECATED: Use light instead */
1039
- darker: i ? r[900] : r[100]
1140
+ darker: t ? r[900] : r[100]
1040
1141
  },
1041
1142
  warning: {
1042
- ...n,
1143
+ ...a,
1043
1144
  /* DEPRECATED: Use light instead */
1044
- lighter: i ? n[100] : n[800],
1045
- light: i ? n[300] : n[600],
1046
- main: i ? n[500] : n[400],
1047
- dark: i ? n[700] : n[200],
1145
+ lighter: t ? a[100] : a[800],
1146
+ light: t ? a[300] : a[600],
1147
+ main: t ? a[500] : a[400],
1148
+ dark: t ? a[700] : a[200],
1048
1149
  /* DEPRECATED: Use light instead */
1049
- darker: i ? n[900] : n[100]
1150
+ darker: t ? a[900] : a[100]
1050
1151
  },
1051
1152
  info: {
1052
1153
  ...s,
1053
1154
  /* DEPRECATED: Use light instead */
1054
- lighter: i ? s[100] : s[800],
1055
- light: i ? s[300] : s[600],
1056
- main: i ? s[500] : s[400],
1057
- dark: i ? s[700] : s[200],
1155
+ lighter: t ? s[100] : s[800],
1156
+ light: t ? s[300] : s[600],
1157
+ main: t ? s[500] : s[400],
1158
+ dark: t ? s[700] : s[200],
1058
1159
  /* DEPRECATED: Use light instead */
1059
- darker: i ? s[900] : s[100]
1160
+ darker: t ? s[900] : s[100]
1060
1161
  },
1061
1162
  success: {
1062
1163
  ...c,
1063
1164
  /* DEPRECATED: Use light instead */
1064
- lighter: i ? c[100] : c[800],
1065
- light: i ? c[300] : c[600],
1066
- main: i ? c[500] : c[400],
1067
- dark: i ? c[700] : c[200],
1165
+ lighter: t ? c[100] : c[800],
1166
+ light: t ? c[300] : c[600],
1167
+ main: t ? c[500] : c[400],
1168
+ dark: t ? c[700] : c[200],
1068
1169
  /* DEPRECATED: Use light instead */
1069
- darker: i ? c[900] : c[100]
1170
+ darker: t ? c[900] : c[100]
1070
1171
  },
1071
1172
  grey: l,
1072
1173
  action: {
1073
- active: i ? b(N, 0.56) : b(R, 0.56),
1074
- hoverOpacity: i ? 0.1 : 0.2,
1075
- selectedOpacity: i ? 0.16 : 0.25,
1174
+ active: t ? T(_, 0.56) : T(E, 0.56),
1175
+ hoverOpacity: t ? 0.1 : 0.2,
1176
+ selectedOpacity: t ? 0.16 : 0.25,
1076
1177
  focusOpacity: 0.3
1077
1178
  },
1078
1179
  background: {
1079
- default: i ? Ne : ke,
1080
- paper: i ? R : N,
1081
- highlight: i ? l[200] : l[600],
1082
- highlightPrimary: i ? o[100] : o[500]
1180
+ default: t ? Xe : Ye,
1181
+ paper: t ? E : _,
1182
+ highlight: t ? l[200] : l[600],
1183
+ highlightPrimary: t ? o[100] : o[500]
1083
1184
  },
1084
- divider: i ? b(N, 0.12) : b(R, 0.24),
1185
+ divider: t ? T(_, 0.12) : T(E, 0.24),
1085
1186
  categories: {
1086
- autoTransport: i ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1087
- billsUtilities: i ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
1088
- businessServices: i ? u.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1089
- education: i ? u.EDUCATION : h.EDUCATION,
1090
- entertainment: i ? u.ENTERTAINMENT : h.ENTERTAINMENT,
1091
- feesCharges: i ? u.FEES_CHARGES : h.FEES_CHARGES,
1092
- financial: i ? u.FINANCIAL : h.FINANCIAL,
1093
- foodDining: i ? u.FOOD_DINING : h.FOOD_DINING,
1094
- giftsDonations: i ? u.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1095
- healthFitness: i ? u.HEALTH_FITNESS : h.HEALTH_FITNESS,
1096
- home: i ? u.HOME : h.HOME,
1097
- income: i ? u.INCOME : h.INCOME,
1098
- investments: i ? u.INVESTMENTS : h.INVESTMENTS,
1099
- kids: i ? u.KIDS : h.KIDS,
1100
- others: i ? u.OTHERS : h.OTHERS,
1101
- personalCare: i ? u.PERSONAL_CARE : h.PERSONAL_CARE,
1102
- pets: i ? u.PETS : h.PETS,
1103
- shopping: i ? u.SHOPPING : h.SHOPPING,
1104
- taxes: i ? u.TAXES : h.TAXES,
1105
- transfer: i ? u.TRANSFER : h.TRANSFER,
1106
- travel: i ? u.TRAVEL : h.TRAVEL,
1107
- uncategorized: i ? u.UNCATEGORIZED : h.UNCATEGORIZED
1187
+ autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
1188
+ billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
1189
+ businessServices: t ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
1190
+ education: t ? p.EDUCATION : h.EDUCATION,
1191
+ entertainment: t ? p.ENTERTAINMENT : h.ENTERTAINMENT,
1192
+ feesCharges: t ? p.FEES_CHARGES : h.FEES_CHARGES,
1193
+ financial: t ? p.FINANCIAL : h.FINANCIAL,
1194
+ foodDining: t ? p.FOOD_DINING : h.FOOD_DINING,
1195
+ giftsDonations: t ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
1196
+ healthFitness: t ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
1197
+ home: t ? p.HOME : h.HOME,
1198
+ income: t ? p.INCOME : h.INCOME,
1199
+ investments: t ? p.INVESTMENTS : h.INVESTMENTS,
1200
+ kids: t ? p.KIDS : h.KIDS,
1201
+ others: t ? p.OTHERS : h.OTHERS,
1202
+ personalCare: t ? p.PERSONAL_CARE : h.PERSONAL_CARE,
1203
+ pets: t ? p.PETS : h.PETS,
1204
+ shopping: t ? p.SHOPPING : h.SHOPPING,
1205
+ taxes: t ? p.TAXES : h.TAXES,
1206
+ transfer: t ? p.TRANSFER : h.TRANSFER,
1207
+ travel: t ? p.TRAVEL : h.TRAVEL,
1208
+ uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
1108
1209
  },
1109
1210
  chart: {
1110
- chart1: S.CHART1,
1111
- chart2: S.CHART2,
1112
- chart3: S.CHART3,
1113
- chart4: S.CHART4,
1114
- chart5: S.CHART5,
1115
- chart6: S.CHART6,
1116
- chart7: S.CHART7
1211
+ chart1: x.CHART1,
1212
+ chart2: x.CHART2,
1213
+ chart3: x.CHART3,
1214
+ chart4: x.CHART4,
1215
+ chart5: x.CHART5,
1216
+ chart6: x.CHART6,
1217
+ chart7: x.CHART7
1117
1218
  },
1118
1219
  chartMono: {
1119
1220
  chartMono1: v.CHART_MONO1,
@@ -1124,7 +1225,7 @@ const $0 = ({
1124
1225
  chartMono6: v.CHART_MONO6
1125
1226
  }
1126
1227
  });
1127
- }, I = "Inter, Helvetica, Arial, sans-serif", _e = (e) => Ee(e, {
1228
+ }, I = "Inter, Helvetica, Arial, sans-serif", Qe = (e) => _e(e, {
1128
1229
  fontFamily: I,
1129
1230
  fontSize: 15,
1130
1231
  Body: {
@@ -1232,16 +1333,16 @@ const $0 = ({
1232
1333
  lineHeight: "12px"
1233
1334
  }
1234
1335
  });
1235
- Me.setLicenseKey(
1336
+ ke.setLicenseKey(
1236
1337
  "6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
1237
1338
  );
1238
- const w = [...W().shadows];
1239
- w[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1240
- w[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1241
- w[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1242
- const K0 = (e) => {
1243
- const o = we(e), a = _e(o);
1244
- return W({
1339
+ const B = [...ee().shadows];
1340
+ B[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
1341
+ B[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
1342
+ B[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
1343
+ const so = (e) => {
1344
+ const o = je(e), n = Qe(o);
1345
+ return ee({
1245
1346
  breakpoints: {
1246
1347
  values: {
1247
1348
  xs: 444,
@@ -1252,34 +1353,34 @@ const K0 = (e) => {
1252
1353
  }
1253
1354
  },
1254
1355
  palette: o,
1255
- shadows: w,
1356
+ shadows: B,
1256
1357
  shape: {
1257
1358
  borderRadius: 4
1258
1359
  },
1259
1360
  spacing: 1,
1260
1361
  // TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
1261
- typography: a,
1362
+ typography: n,
1262
1363
  components: {
1263
1364
  MuiAlert: {
1264
1365
  defaultProps: {
1265
1366
  iconMapping: {
1266
- success: /* @__PURE__ */ t(C, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1267
- error: /* @__PURE__ */ t(C, { fill: !0, name: "error", size: 24, weight: 400 }),
1268
- warning: /* @__PURE__ */ t(C, { fill: !0, name: "warning", size: 24, weight: 400 }),
1269
- info: /* @__PURE__ */ t(C, { fill: !0, name: "info", size: 24, weight: 400 })
1367
+ success: /* @__PURE__ */ i(R, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
1368
+ error: /* @__PURE__ */ i(R, { fill: !0, name: "error", size: 24, weight: 400 }),
1369
+ warning: /* @__PURE__ */ i(R, { fill: !0, name: "warning", size: 24, weight: 400 }),
1370
+ info: /* @__PURE__ */ i(R, { fill: !0, name: "info", size: 24, weight: 400 })
1270
1371
  },
1271
1372
  variant: "outlined"
1272
1373
  },
1273
1374
  styleOverrides: {
1274
- root: ({ theme: r, ownerState: n }) => {
1275
- const s = n.severity || "info";
1375
+ root: ({ theme: r, ownerState: a }) => {
1376
+ const s = a.severity || "info";
1276
1377
  let c = o.mode === H.LIGHT ? o[s]?.[50] : o[s]?.[800];
1277
- return n.variant === "filled" && (c = o[s]?.main), {
1378
+ return a.variant === "filled" && (c = o[s]?.main), {
1278
1379
  backgroundColor: c,
1279
1380
  borderRadius: r.shape.borderRadius,
1280
1381
  "& .MuiAlert-message": {
1281
- fontSize: a.subtitle1.fontSize,
1282
- lineHeight: a.subtitle1.lineHeight,
1382
+ fontSize: n.subtitle1.fontSize,
1383
+ lineHeight: n.subtitle1.lineHeight,
1283
1384
  marginTop: "auto",
1284
1385
  marginBottom: "auto"
1285
1386
  },
@@ -1357,7 +1458,7 @@ const K0 = (e) => {
1357
1458
  MuiCircularProgress: {
1358
1459
  styleOverrides: {
1359
1460
  root: {
1360
- [`& .${Ae.circle}`]: {
1461
+ [`& .${Ne.circle}`]: {
1361
1462
  strokeLinecap: "round"
1362
1463
  }
1363
1464
  }
@@ -1381,7 +1482,7 @@ const K0 = (e) => {
1381
1482
  root: {
1382
1483
  border: "none",
1383
1484
  borderRadius: 0,
1384
- fontSize: a.body2.fontSize,
1485
+ fontSize: n.body2.fontSize,
1385
1486
  "& .MuiDataGrid-cell": {
1386
1487
  display: "flex",
1387
1488
  alignItems: "center",
@@ -1760,9 +1861,9 @@ const K0 = (e) => {
1760
1861
  gridColumn: "1/4",
1761
1862
  "& > .MuiTypography-root": {
1762
1863
  textTransform: "uppercase",
1763
- fontSize: a.body2.fontSize,
1864
+ fontSize: n.body2.fontSize,
1764
1865
  fontWeight: 600,
1765
- lineHeight: a.body2.lineHeight
1866
+ lineHeight: n.body2.lineHeight
1766
1867
  }
1767
1868
  }
1768
1869
  }
@@ -1901,7 +2002,7 @@ const K0 = (e) => {
1901
2002
  outlineOffset: "2px"
1902
2003
  },
1903
2004
  "&:hover": {
1904
- backgroundColor: b(o.primary.main, o.mode === H.LIGHT ? 0.1 : 0.2),
2005
+ backgroundColor: T(o.primary.main, o.mode === H.LIGHT ? 0.1 : 0.2),
1905
2006
  borderColor: o.primary.main
1906
2007
  },
1907
2008
  "&.Mui-selected": {
@@ -1925,7 +2026,7 @@ const K0 = (e) => {
1925
2026
  props: { color: "error" },
1926
2027
  style: {
1927
2028
  "&:hover": {
1928
- backgroundColor: b(o.error.main, o.mode === H.LIGHT ? 0.1 : 0.2),
2029
+ backgroundColor: T(o.error.main, o.mode === H.LIGHT ? 0.1 : 0.2),
1929
2030
  borderColor: o.error.main
1930
2031
  },
1931
2032
  "&.Mui-selected": {
@@ -1947,7 +2048,7 @@ const K0 = (e) => {
1947
2048
  props: { color: "standard" },
1948
2049
  style: {
1949
2050
  "&:hover": {
1950
- backgroundColor: b(
2051
+ backgroundColor: T(
1951
2052
  o.secondary.main,
1952
2053
  o.mode === H.LIGHT ? 0.1 : 0.2
1953
2054
  ),
@@ -1989,50 +2090,51 @@ const K0 = (e) => {
1989
2090
  });
1990
2091
  };
1991
2092
  export {
1992
- T0 as AccountsFilledIcon,
1993
- b0 as AccountsIcon,
1994
- C0 as ArrowLeftIcon,
1995
- A0 as AttentionFilledIcon,
1996
- g as BaseIcon,
1997
- k0 as BottomSheetTransition,
1998
- M0 as CalendarIcon,
1999
- p as CategoryGuids,
2000
- xe as CategoryIcon,
2001
- ve as CategoryIconList,
2002
- Ie as CategoryIconVariants,
2003
- R0 as CheckmarkFilledIcon,
2004
- E0 as ChevronDownIcon,
2005
- S0 as ChevronLeftIcon,
2006
- I0 as ChevronRightIcon,
2007
- v0 as CloseIcon,
2008
- N0 as DateRangePicker,
2009
- Oe as DialogFooter,
2010
- z0 as DialogHeader,
2011
- B0 as Drawer,
2012
- H0 as EditIcon,
2013
- x0 as FilterIcon,
2014
- Oe as Footer,
2015
- ye as H1,
2016
- w0 as H2,
2017
- _0 as H3,
2018
- F0 as HeartIcon,
2093
+ L0 as AccountsFilledIcon,
2094
+ D0 as AccountsIcon,
2095
+ N0 as ArrowLeftIcon,
2096
+ k0 as AttentionFilledIcon,
2097
+ f as BaseIcon,
2098
+ j0 as BottomSheetTransition,
2099
+ w0 as CalendarIcon,
2100
+ m as CategoryGuids,
2101
+ Ue as CategoryIcon,
2102
+ ze as CategoryIconList,
2103
+ Be as CategoryIconVariants,
2104
+ _0 as CheckmarkFilledIcon,
2105
+ P0 as ChevronDownIcon,
2106
+ B0 as ChevronLeftIcon,
2107
+ z0 as ChevronRightIcon,
2108
+ V0 as CloseIcon,
2109
+ Y0 as DateRangePicker,
2110
+ $e as DialogFooter,
2111
+ eo as DialogHeader,
2112
+ oo as Drawer,
2113
+ U0 as EditIcon,
2114
+ G0 as FilterIcon,
2115
+ $e as Footer,
2116
+ We as H1,
2117
+ Q0 as H2,
2118
+ J0 as H3,
2119
+ $0 as HeartIcon,
2019
2120
  I as INTER,
2020
- C as Icon,
2021
- Se as IconWeight,
2022
- V0 as InstitutionLogo,
2023
- y0 as MXLogoCopyrightIcon,
2024
- L0 as MXLogoFilledIcon,
2025
- O0 as MXLogoIcon,
2026
- D0 as MXLogoOutlineIcon,
2027
- U0 as MerchantLogo,
2028
- P0 as P,
2029
- F as TARGETS,
2030
- k as THEMES,
2031
- L as Text,
2032
- G0 as TextField,
2033
- $0 as Toast,
2034
- W0 as TokenProvider,
2035
- K0 as createMXTheme,
2036
- Z0 as useTokens
2121
+ R as Icon,
2122
+ Pe as IconWeight,
2123
+ ro as InstitutionLogo,
2124
+ Z0 as MXLogoCopyrightIcon,
2125
+ K0 as MXLogoFilledIcon,
2126
+ W0 as MXLogoIcon,
2127
+ X0 as MXLogoOutlineIcon,
2128
+ to as MerchantLogo,
2129
+ q0 as P,
2130
+ co as SelectionBox,
2131
+ L as TARGETS,
2132
+ P as THEMES,
2133
+ N as Text,
2134
+ io as TextField,
2135
+ no as Toast,
2136
+ ao as TokenProvider,
2137
+ so as createMXTheme,
2138
+ lo as useTokens
2037
2139
  };
2038
2140
  //# sourceMappingURL=index.es.js.map