@mxenabled/mxui 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsx as n, jsxs as R } from "react/jsx-runtime";
|
|
2
2
|
import C from "react";
|
|
3
|
-
import
|
|
4
|
-
import { useTheme as H, createTheme as
|
|
3
|
+
import k from "@mui/material/Stack";
|
|
4
|
+
import { useTheme as H, createTheme as J } from "@mui/material/styles";
|
|
5
5
|
import { Icon as ge, Close as fe } from "@mxenabled/mx-icons";
|
|
6
|
-
import { endOfMonth as
|
|
6
|
+
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
7
7
|
import { endOfYear as me } from "date-fns/endOfYear";
|
|
8
8
|
import { startOfToday as be } from "date-fns/startOfToday";
|
|
9
|
-
import { startOfMonth as
|
|
10
|
-
import { startOfYear as
|
|
11
|
-
import { subDays as
|
|
9
|
+
import { startOfMonth as K } from "date-fns/startOfMonth";
|
|
10
|
+
import { startOfYear as Y } from "date-fns/startOfYear";
|
|
11
|
+
import { subDays as X } from "date-fns/subDays";
|
|
12
12
|
import { subMonths as Te } from "date-fns/subMonths";
|
|
13
13
|
import { subYears as Ce } from "date-fns/subYears";
|
|
14
14
|
import Re from "@mui/material/useMediaQuery";
|
|
15
15
|
import { LocalizationProvider as Ae, StaticDateRangePicker as Me } from "@mui/x-date-pickers-pro";
|
|
16
16
|
import { AdapterDateFns as Ee } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
|
|
17
|
-
import
|
|
17
|
+
import q from "@mui/material/Box";
|
|
18
18
|
import Se from "@mui/material/ToggleButton";
|
|
19
19
|
import xe from "@mui/material/ToggleButtonGroup";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
20
|
+
import ee from "@mui/material/Slide";
|
|
21
|
+
import V from "@mui/material/Button";
|
|
22
|
+
import re from "@mui/material/IconButton";
|
|
23
23
|
import Ie from "@mui/material/Typography";
|
|
24
24
|
import ve from "@mui/material/Drawer";
|
|
25
25
|
import He from "@mui/material/TextField";
|
|
26
26
|
import ye from "@mui/material/Snackbar";
|
|
27
27
|
import Oe from "@mui/material/Alert";
|
|
28
|
-
import { light as
|
|
29
|
-
import { Paper as
|
|
30
|
-
import { circularProgressClasses as
|
|
31
|
-
import { LicenseInfo as
|
|
32
|
-
const
|
|
28
|
+
import { light as oe, buildTheme as G, dark as Fe } from "@mxenabled/design-tokens";
|
|
29
|
+
import { Paper as ke, Box as j, Typography as Q, Radio as N, Checkbox as De, alpha as b, darken as w, lighten as O, getContrastRatio as Le } from "@mui/material";
|
|
30
|
+
import { circularProgressClasses as Ne } from "@mui/material/CircularProgress";
|
|
31
|
+
import { LicenseInfo as we } from "@mui/x-license-pro";
|
|
32
|
+
const f = ({
|
|
33
33
|
children: e,
|
|
34
34
|
height: r,
|
|
35
35
|
size: i = 16,
|
|
@@ -48,7 +48,7 @@ const m = ({
|
|
|
48
48
|
children: e
|
|
49
49
|
}
|
|
50
50
|
);
|
|
51
|
-
var
|
|
51
|
+
var _e = /* @__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))(_e || {});
|
|
52
52
|
const M = ({
|
|
53
53
|
color: e,
|
|
54
54
|
fill: r = !1,
|
|
@@ -68,28 +68,28 @@ const M = ({
|
|
|
68
68
|
weight: d,
|
|
69
69
|
...c
|
|
70
70
|
}
|
|
71
|
-
),
|
|
71
|
+
), O0 = ({
|
|
72
72
|
color: e = "currentColor",
|
|
73
73
|
...r
|
|
74
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
74
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
75
75
|
"path",
|
|
76
76
|
{
|
|
77
77
|
d: "M2.24801 6.76647H0.573286C0.327604 6.76647 0.110586 6.60678 0.0327867 6.37748C-0.0450124 6.14408 0.0327866 5.88612 0.229332 5.73871L7.6571 0.116699C7.85774 -0.0388996 8.14027 -0.0388996 8.34501 0.116699L15.7728 5.73871C15.9693 5.89021 16.0471 6.14408 15.9693 6.37748C15.8915 6.61088 15.6745 6.76647 15.4288 6.76647H13.7582V12.323H14.3929C14.7122 12.323 14.9661 12.5809 14.9661 12.8962C14.9661 13.2156 14.7082 13.4695 14.3929 13.4695H1.60924C1.28986 13.4695 1.03599 13.2115 1.03599 12.8962C1.03599 12.5768 1.29395 12.323 1.60924 12.323H2.24801V6.76647ZM5.70393 6.76647H3.39043V12.323H5.70393V6.76647ZM9.15985 12.323V6.76647H6.84635V12.323H9.15985ZM10.3023 12.3189H12.6158V6.76647H10.3023V12.3189ZM0.573256 14.8535H15.4288C15.7441 14.8535 15.998 15.1115 15.998 15.4267C15.998 15.7461 15.74 16 15.4247 16H0.573256C0.253871 16 0 15.742 0 15.4267C0 15.1074 0.257965 14.8535 0.573256 14.8535Z",
|
|
78
78
|
fill: e
|
|
79
79
|
}
|
|
80
|
-
) })),
|
|
80
|
+
) })), F0 = ({
|
|
81
81
|
color: e = "currentColor",
|
|
82
82
|
...r
|
|
83
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
83
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
84
84
|
"path",
|
|
85
85
|
{
|
|
86
86
|
d: "M15.429 14.854H.573a.572.572 0 100 1.146h14.852a.572.572 0 00.004-1.146zM.573 6.766h1.675v5.557h-.639a.572.572 0 100 1.146h12.784a.572.572 0 100-1.146h-.635V6.766h1.67a.568.568 0 00.541-.389.574.574 0 00-.196-.638L8.345.117a.565.565 0 00-.688 0L.23 5.739a.572.572 0 00.344 1.027zm2.817 0h2.314v5.557H3.39V6.766zm5.77 0v5.557H6.846V6.766H9.16zm3.456 5.553h-2.314V6.766h2.314v5.553zM8 1.288l5.724 4.336H2.277L8 1.288z",
|
|
87
87
|
fill: e
|
|
88
88
|
}
|
|
89
|
-
) })),
|
|
89
|
+
) })), k0 = ({
|
|
90
90
|
color: e = "currentColor",
|
|
91
91
|
...r
|
|
92
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
92
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
93
93
|
"path",
|
|
94
94
|
{
|
|
95
95
|
d: "M5.854 3.133a.426.426 0 010 .643L1.757 7.5h13.774c.26 0 .469.224.469.5s-.21.5-.469.5H1.757l4.097 3.724a.426.426 0 010 .643.536.536 0 01-.708 0l-5-4.546a.426.426 0 010-.642l5-4.546a.536.536 0 01.708 0z",
|
|
@@ -98,7 +98,7 @@ const M = ({
|
|
|
98
98
|
) })), D0 = ({
|
|
99
99
|
color: e = "currentColor",
|
|
100
100
|
...r
|
|
101
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
101
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
102
102
|
"path",
|
|
103
103
|
{
|
|
104
104
|
clipRule: "evenodd",
|
|
@@ -106,91 +106,91 @@ const M = ({
|
|
|
106
106
|
fill: e,
|
|
107
107
|
fillRule: "evenodd"
|
|
108
108
|
}
|
|
109
|
-
) })),
|
|
109
|
+
) })), L0 = ({
|
|
110
110
|
color: e = "currentColor",
|
|
111
111
|
...r
|
|
112
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
112
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
113
113
|
"path",
|
|
114
114
|
{
|
|
115
115
|
d: "M11.5 0a.5.5 0 01.5.5V2h2.5A1.5 1.5 0 0116 3.5v11a1.5 1.5 0 01-1.5 1.5h-13A1.5 1.5 0 010 14.5v-11A1.5 1.5 0 011.5 2H4V.5a.5.5 0 011 0V2h6V.5a.5.5 0 01.5-.5zM15 6H1v8.5a.5.5 0 00.5.5h13a.5.5 0 00.5-.5V6zm-4.5 1a.5.5 0 01.5.5V10h2.5a.5.5 0 010 1H11v2.5a.5.5 0 01-1 0V11H6v2.5a.5.5 0 01-1 0V11H2.5a.5.5 0 010-1H5V7.5a.5.5 0 011 0V10h4V7.5a.5.5 0 01.5-.5zm4-4h-13a.5.5 0 00-.5.5V5h14V3.5a.5.5 0 00-.5-.5z",
|
|
116
116
|
fill: e
|
|
117
117
|
}
|
|
118
|
-
) })),
|
|
118
|
+
) })), N0 = ({
|
|
119
119
|
color: e = "currentColor",
|
|
120
120
|
...r
|
|
121
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
121
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
122
122
|
"path",
|
|
123
123
|
{
|
|
124
124
|
d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm4.358 5.151a.5.5 0 00-.707-.01L6.858 9.803 4.35 7.363a.5.5 0 10-.698.718l2.858 2.777a.5.5 0 00.697 0l5.142-5a.5.5 0 00.01-.707z",
|
|
125
125
|
fill: e
|
|
126
126
|
}
|
|
127
|
-
) })),
|
|
127
|
+
) })), w0 = ({
|
|
128
128
|
color: e = "currentColor",
|
|
129
129
|
...r
|
|
130
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
130
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
131
131
|
"path",
|
|
132
132
|
{
|
|
133
133
|
d: "M2.68 5.201a.6.6 0 01.848-.011L8 9.543l4.472-4.353a.6.6 0 11.837.86l-4.89 4.76a.6.6 0 01-.838 0l-4.89-4.76a.6.6 0 01-.012-.849z",
|
|
134
134
|
fill: e
|
|
135
135
|
}
|
|
136
|
-
) })),
|
|
136
|
+
) })), _0 = ({
|
|
137
137
|
color: e = "currentColor",
|
|
138
138
|
...r
|
|
139
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
139
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
140
140
|
"path",
|
|
141
141
|
{
|
|
142
142
|
d: "M10.799 2.68a.6.6 0 01.011.848L6.457 8l4.353 4.472a.6.6 0 01-.86.837L5.19 8.42a.6.6 0 010-.838l4.76-4.89a.6.6 0 01.849-.012z",
|
|
143
143
|
fill: e
|
|
144
144
|
}
|
|
145
|
-
) })),
|
|
145
|
+
) })), P0 = ({
|
|
146
146
|
color: e = "currentColor",
|
|
147
147
|
...r
|
|
148
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
148
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
149
149
|
"path",
|
|
150
150
|
{
|
|
151
151
|
d: "M5.207 13.32a.6.6 0 01-.012-.848L9.55 8 5.195 3.528a.6.6 0 11.86-.837l4.76 4.89a.6.6 0 010 .838l-4.76 4.89a.6.6 0 01-.848.012z",
|
|
152
152
|
fill: e
|
|
153
153
|
}
|
|
154
|
-
) })),
|
|
154
|
+
) })), B0 = ({
|
|
155
155
|
color: e = "currentColor",
|
|
156
156
|
...r
|
|
157
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
157
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
158
158
|
"path",
|
|
159
159
|
{
|
|
160
160
|
d: "M13.79 2.21a.72.72 0 0 1 0 1.02L9.018 8l4.77 4.77a.72.72 0 1 1-1.018 1.02L8 9.018l-4.77 4.77a.72.72 0 1 1-1.02-1.018L6.982 8l-4.77-4.77A.72.72 0 0 1 3.23 2.21L8 6.982l4.77-4.77a.72.72 0 0 1 1.02 0Z",
|
|
161
161
|
fill: e
|
|
162
162
|
}
|
|
163
|
-
) })),
|
|
163
|
+
) })), z0 = ({
|
|
164
164
|
color: e = "currentColor",
|
|
165
165
|
...r
|
|
166
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
166
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
167
167
|
"path",
|
|
168
168
|
{
|
|
169
169
|
d: "M12.644.156l3.2 3.2a.533.533 0 010 .754L5.177 14.777a.534.534 0 01-.247.14L.663 15.984a.533.533 0 01-.647-.647l1.067-4.267a.534.534 0 01.14-.248L11.89.156a.533.533 0 01.754 0zM10.133 3.42l-8.051 8.052-.815 3.261 3.26-.815 8.052-8.052-2.446-2.446zm2.134-2.132l-1.38 1.378 2.446 2.446 1.38-1.379-2.446-2.445z",
|
|
170
170
|
fill: e
|
|
171
171
|
}
|
|
172
|
-
) })),
|
|
172
|
+
) })), V0 = ({
|
|
173
173
|
color: e = "currentColor",
|
|
174
174
|
...r
|
|
175
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
175
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
176
176
|
"path",
|
|
177
177
|
{
|
|
178
178
|
d: "M1.5 1.933l5.4 6.72c.066.081.1.18.1.28v5.134h2V8.933c0-.1.036-.199.1-.28l5.4-6.72h-13zM6 9.09L.1 1.747C-.145 1.439.09 1 .5 1h15c.413 0 .648.439.4.747L10 9.089v5.444c0 .258-.223.467-.5.467h-3c-.275 0-.5-.209-.5-.467V9.09z",
|
|
179
179
|
fill: e
|
|
180
180
|
}
|
|
181
|
-
) })),
|
|
181
|
+
) })), G0 = ({
|
|
182
182
|
color: e = "currentColor",
|
|
183
183
|
...r
|
|
184
|
-
}) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(
|
|
184
|
+
}) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
185
185
|
"path",
|
|
186
186
|
{
|
|
187
187
|
d: "M1.317 2.317a4.5 4.5 0 016.364 0c.117.117.223.238.32.363.095-.124.2-.245.316-.362a4.5 4.5 0 016.364 6.364l-.004.004-6.328 6.172a.5.5 0 01-.698 0L1.317 8.682a4.5 4.5 0 010-6.365zm5.657.708a3.5 3.5 0 00-4.952 4.947L8 13.802l5.977-5.83a3.5 3.5 0 00-4.952-4.947c-.235.235-.42.51-.586.815a.5.5 0 01-.878 0 3.46 3.46 0 00-.587-.815z",
|
|
188
188
|
fill: e
|
|
189
189
|
}
|
|
190
|
-
) })),
|
|
190
|
+
) })), U0 = ({
|
|
191
191
|
color: e = "currentColor",
|
|
192
192
|
...r
|
|
193
|
-
}) => /* @__PURE__ */ R(
|
|
193
|
+
}) => /* @__PURE__ */ R(f, { ...r, children: [
|
|
194
194
|
/* @__PURE__ */ n(
|
|
195
195
|
"path",
|
|
196
196
|
{
|
|
@@ -205,10 +205,10 @@ const M = ({
|
|
|
205
205
|
fill: e
|
|
206
206
|
}
|
|
207
207
|
)
|
|
208
|
-
] }),
|
|
208
|
+
] }), $0 = ({
|
|
209
209
|
color: e = "currentColor",
|
|
210
210
|
...r
|
|
211
|
-
}) => /* @__PURE__ */ R(
|
|
211
|
+
}) => /* @__PURE__ */ R(f, { ...r, children: [
|
|
212
212
|
/* @__PURE__ */ n(
|
|
213
213
|
"path",
|
|
214
214
|
{
|
|
@@ -241,10 +241,10 @@ const M = ({
|
|
|
241
241
|
fillRule: "evenodd"
|
|
242
242
|
}
|
|
243
243
|
)
|
|
244
|
-
] }),
|
|
244
|
+
] }), W0 = ({
|
|
245
245
|
color: e = "currentColor",
|
|
246
246
|
...r
|
|
247
|
-
}) => /* @__PURE__ */ n(
|
|
247
|
+
}) => /* @__PURE__ */ n(f, { ...r, children: /* @__PURE__ */ n(
|
|
248
248
|
"path",
|
|
249
249
|
{
|
|
250
250
|
clipRule: "evenodd",
|
|
@@ -252,10 +252,10 @@ const M = ({
|
|
|
252
252
|
fill: e,
|
|
253
253
|
fillRule: "evenodd"
|
|
254
254
|
}
|
|
255
|
-
) }),
|
|
255
|
+
) }), Z0 = ({
|
|
256
256
|
color: e = "currentColor",
|
|
257
257
|
...r
|
|
258
|
-
}) => /* @__PURE__ */ R(
|
|
258
|
+
}) => /* @__PURE__ */ R(f, { ...r, children: [
|
|
259
259
|
/* @__PURE__ */ n(
|
|
260
260
|
"path",
|
|
261
261
|
{
|
|
@@ -280,12 +280,12 @@ const M = ({
|
|
|
280
280
|
}
|
|
281
281
|
)
|
|
282
282
|
] });
|
|
283
|
-
var g = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(g || {}),
|
|
284
|
-
const
|
|
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 || {}), Pe = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Pe || {});
|
|
284
|
+
const te = {
|
|
285
285
|
guid: g.Uncategorized,
|
|
286
286
|
colorName: "uncategorized",
|
|
287
287
|
icon: "category"
|
|
288
|
-
},
|
|
288
|
+
}, Be = [
|
|
289
289
|
{
|
|
290
290
|
guid: g.AutoTransport,
|
|
291
291
|
colorName: "autoTransport",
|
|
@@ -386,20 +386,20 @@ const oe = {
|
|
|
386
386
|
colorName: "travel",
|
|
387
387
|
icon: "airplane_ticket"
|
|
388
388
|
},
|
|
389
|
-
|
|
390
|
-
],
|
|
389
|
+
te
|
|
390
|
+
], ze = 0.625, Ve = ({
|
|
391
391
|
categoryGuid: e,
|
|
392
|
-
icon_ratio: r =
|
|
392
|
+
icon_ratio: r = ze,
|
|
393
393
|
size: i = 32,
|
|
394
394
|
sx: a = {},
|
|
395
395
|
variant: o = "filled"
|
|
396
396
|
}) => {
|
|
397
397
|
const d = H(), c = C.useMemo(
|
|
398
|
-
() =>
|
|
398
|
+
() => Be.find((u) => u.guid === e) ?? te,
|
|
399
399
|
[e]
|
|
400
400
|
), l = d.palette.categories[c.colorName];
|
|
401
401
|
return /* @__PURE__ */ n(
|
|
402
|
-
|
|
402
|
+
k,
|
|
403
403
|
{
|
|
404
404
|
alignItems: "center",
|
|
405
405
|
bgcolor: () => {
|
|
@@ -418,7 +418,7 @@ const oe = {
|
|
|
418
418
|
children: /* @__PURE__ */ n(M, { name: c.icon, size: i * r })
|
|
419
419
|
}
|
|
420
420
|
);
|
|
421
|
-
},
|
|
421
|
+
}, Ge = ({
|
|
422
422
|
items: e,
|
|
423
423
|
onChange: r,
|
|
424
424
|
isValid: i,
|
|
@@ -434,7 +434,7 @@ const oe = {
|
|
|
434
434
|
disabled: !i(l)
|
|
435
435
|
};
|
|
436
436
|
});
|
|
437
|
-
return /* @__PURE__ */ n(
|
|
437
|
+
return /* @__PURE__ */ n(q, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ n(xe, { color: "primary", orientation: "vertical", value: a, children: d?.map((c) => /* @__PURE__ */ n(
|
|
438
438
|
Se,
|
|
439
439
|
{
|
|
440
440
|
onClick: c.onClick,
|
|
@@ -462,7 +462,7 @@ const oe = {
|
|
|
462
462
|
},
|
|
463
463
|
c.label
|
|
464
464
|
)) }) });
|
|
465
|
-
},
|
|
465
|
+
}, K0 = ({
|
|
466
466
|
copy: e,
|
|
467
467
|
dateRange: r,
|
|
468
468
|
onRangeChanged: i,
|
|
@@ -474,27 +474,27 @@ const oe = {
|
|
|
474
474
|
return [
|
|
475
475
|
{
|
|
476
476
|
label: e.dateRangeThisMonth,
|
|
477
|
-
getValue: () => [
|
|
477
|
+
getValue: () => [K(t), Z(t)]
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
label: e.dateRangeLastMonth,
|
|
481
|
-
getValue: () => [
|
|
481
|
+
getValue: () => [K(u), Z(u)]
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
label: e.dateRangeLast30Days,
|
|
485
|
-
getValue: () => [
|
|
485
|
+
getValue: () => [X(t, 30), t]
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
label: e.dateRangeLast90Days,
|
|
489
|
-
getValue: () => [
|
|
489
|
+
getValue: () => [X(t, 90), t]
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
label: e.dateRangeYTD,
|
|
493
|
-
getValue: () => [
|
|
493
|
+
getValue: () => [Y(t), t]
|
|
494
494
|
},
|
|
495
495
|
{
|
|
496
496
|
label: e.dateRangeLastYear,
|
|
497
|
-
getValue: () => [
|
|
497
|
+
getValue: () => [Y(T), me(T)]
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
label: e.dateRangeCustom,
|
|
@@ -505,7 +505,7 @@ const oe = {
|
|
|
505
505
|
const T = u.shortcut;
|
|
506
506
|
i?.(t, T ? T.label : e.dateRangeCustom);
|
|
507
507
|
};
|
|
508
|
-
return /* @__PURE__ */ n(
|
|
508
|
+
return /* @__PURE__ */ n(k, { gap: 16, m: 8, children: /* @__PURE__ */ n(Ae, { dateAdapter: Ee, children: /* @__PURE__ */ n(
|
|
509
509
|
Me,
|
|
510
510
|
{
|
|
511
511
|
calendars: 1,
|
|
@@ -527,16 +527,16 @@ const oe = {
|
|
|
527
527
|
},
|
|
528
528
|
slots: {
|
|
529
529
|
leftArrowIcon: () => /* @__PURE__ */ n(M, { name: "chevron_left", size: 28 }),
|
|
530
|
-
shortcuts: (t) => /* @__PURE__ */ n(
|
|
530
|
+
shortcuts: (t) => /* @__PURE__ */ n(Ge, { selected: a, ...t }),
|
|
531
531
|
rightArrowIcon: () => /* @__PURE__ */ n(M, { name: "chevron_right", size: 28 })
|
|
532
532
|
},
|
|
533
533
|
sx: { ...o },
|
|
534
534
|
value: r
|
|
535
535
|
}
|
|
536
536
|
) }) });
|
|
537
|
-
},
|
|
538
|
-
return /* @__PURE__ */ n(
|
|
539
|
-
}),
|
|
537
|
+
}, Y0 = C.forwardRef(function(r, i) {
|
|
538
|
+
return /* @__PURE__ */ n(ee, { direction: "up", ref: i, ...r });
|
|
539
|
+
}), Ue = ({
|
|
540
540
|
hasSecondaryAction: e = !0,
|
|
541
541
|
isPrimaryDisabled: r,
|
|
542
542
|
onPrimaryAction: i,
|
|
@@ -546,7 +546,7 @@ const oe = {
|
|
|
546
546
|
secondaryColor: c = "primary",
|
|
547
547
|
secondaryText: l = "Cancel"
|
|
548
548
|
}) => /* @__PURE__ */ R(
|
|
549
|
-
|
|
549
|
+
k,
|
|
550
550
|
{
|
|
551
551
|
direction: "row",
|
|
552
552
|
gap: 16,
|
|
@@ -554,7 +554,7 @@ const oe = {
|
|
|
554
554
|
sx: { bgcolor: "background.paper", width: "100%", p: 24 },
|
|
555
555
|
children: [
|
|
556
556
|
e && /* @__PURE__ */ n(
|
|
557
|
-
|
|
557
|
+
V,
|
|
558
558
|
{
|
|
559
559
|
color: c,
|
|
560
560
|
onClick: a,
|
|
@@ -563,7 +563,7 @@ const oe = {
|
|
|
563
563
|
}
|
|
564
564
|
),
|
|
565
565
|
i && /* @__PURE__ */ n(
|
|
566
|
-
|
|
566
|
+
V,
|
|
567
567
|
{
|
|
568
568
|
color: o,
|
|
569
569
|
disabled: r,
|
|
@@ -574,7 +574,7 @@ const oe = {
|
|
|
574
574
|
)
|
|
575
575
|
]
|
|
576
576
|
}
|
|
577
|
-
),
|
|
577
|
+
), D = ({
|
|
578
578
|
bold: e,
|
|
579
579
|
className: r = "",
|
|
580
580
|
children: i,
|
|
@@ -639,8 +639,8 @@ const oe = {
|
|
|
639
639
|
children: i
|
|
640
640
|
}
|
|
641
641
|
);
|
|
642
|
-
},
|
|
643
|
-
|
|
642
|
+
}, $e = ({ className: e = "", children: r, ...i }) => /* @__PURE__ */ n(D, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: r }), X0 = ({ className: e = "", children: r, ...i }) => /* @__PURE__ */ n(D, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: r }), j0 = ({ className: e = "", children: r, ...i }) => /* @__PURE__ */ n(D, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: r }), Q0 = ({ className: e = "", children: r, truncate: i, ...a }) => /* @__PURE__ */ n(
|
|
643
|
+
D,
|
|
644
644
|
{
|
|
645
645
|
className: `mx-kmui-text p ${e}`,
|
|
646
646
|
component: "p",
|
|
@@ -649,8 +649,8 @@ const oe = {
|
|
|
649
649
|
...a,
|
|
650
650
|
children: r
|
|
651
651
|
}
|
|
652
|
-
),
|
|
653
|
-
|
|
652
|
+
), J0 = ({ copy: e, onClose: r }) => /* @__PURE__ */ R(
|
|
653
|
+
k,
|
|
654
654
|
{
|
|
655
655
|
sx: {
|
|
656
656
|
alignItems: "center",
|
|
@@ -660,11 +660,11 @@ const oe = {
|
|
|
660
660
|
py: 14
|
|
661
661
|
},
|
|
662
662
|
children: [
|
|
663
|
-
/* @__PURE__ */ n(
|
|
664
|
-
/* @__PURE__ */ n(
|
|
663
|
+
/* @__PURE__ */ n($e, { variant: "h3", children: e.title }),
|
|
664
|
+
/* @__PURE__ */ n(re, { "aria-label": e.close_aria, onClick: r, sx: { mr: -12 }, children: /* @__PURE__ */ n(fe, {}) })
|
|
665
665
|
]
|
|
666
666
|
}
|
|
667
|
-
),
|
|
667
|
+
), q0 = ({
|
|
668
668
|
className: e,
|
|
669
669
|
disableSave: r,
|
|
670
670
|
id: i,
|
|
@@ -688,7 +688,7 @@ const oe = {
|
|
|
688
688
|
children: [
|
|
689
689
|
s,
|
|
690
690
|
d && /* @__PURE__ */ n(
|
|
691
|
-
|
|
691
|
+
Ue,
|
|
692
692
|
{
|
|
693
693
|
isPrimaryDisabled: r,
|
|
694
694
|
onPrimaryAction: d,
|
|
@@ -699,34 +699,34 @@ const oe = {
|
|
|
699
699
|
)
|
|
700
700
|
]
|
|
701
701
|
}
|
|
702
|
-
),
|
|
702
|
+
), ie = 32, U = "https://content.moneydesktop.com/storage/MD_Assets", We = `${U}/serenity/default_institution_logo.png`, er = ({
|
|
703
703
|
alt: e,
|
|
704
704
|
institutionGuid: r,
|
|
705
705
|
logoUrl: i,
|
|
706
|
-
size: a =
|
|
706
|
+
size: a = ie,
|
|
707
707
|
...o
|
|
708
708
|
}) => /* @__PURE__ */ n(
|
|
709
709
|
"img",
|
|
710
710
|
{
|
|
711
711
|
alt: e,
|
|
712
712
|
height: a,
|
|
713
|
-
onError: (d) => d.target.src =
|
|
714
|
-
src: i || `${
|
|
713
|
+
onError: (d) => d.target.src = We,
|
|
714
|
+
src: i || `${U}/Ipad%20Logos/100x100/${r}_100x100.png`,
|
|
715
715
|
style: {
|
|
716
716
|
borderRadius: 4
|
|
717
717
|
},
|
|
718
718
|
width: a,
|
|
719
719
|
...o
|
|
720
720
|
}
|
|
721
|
-
),
|
|
721
|
+
), rr = ({
|
|
722
722
|
alt: e = "",
|
|
723
723
|
categoryGuid: r,
|
|
724
724
|
merchantGuid: i,
|
|
725
|
-
size: a =
|
|
725
|
+
size: a = ie,
|
|
726
726
|
...o
|
|
727
727
|
}) => {
|
|
728
728
|
const [d, c] = C.useState(!1), l = H();
|
|
729
|
-
return /* @__PURE__ */ R(
|
|
729
|
+
return /* @__PURE__ */ R(q, { display: "inline-block", position: "relative", ...o, children: [
|
|
730
730
|
i && !d && /* @__PURE__ */ n(
|
|
731
731
|
"img",
|
|
732
732
|
{
|
|
@@ -734,7 +734,7 @@ const oe = {
|
|
|
734
734
|
"aria-hidden": !e,
|
|
735
735
|
height: a,
|
|
736
736
|
onError: () => c(!0),
|
|
737
|
-
src: `${
|
|
737
|
+
src: `${U}/merchant_logos/${i}.png`,
|
|
738
738
|
style: {
|
|
739
739
|
backgroundColor: l.palette.common.white,
|
|
740
740
|
borderRadius: 4,
|
|
@@ -744,9 +744,9 @@ const oe = {
|
|
|
744
744
|
width: a
|
|
745
745
|
}
|
|
746
746
|
),
|
|
747
|
-
/* @__PURE__ */ n(
|
|
747
|
+
/* @__PURE__ */ n(Ve, { categoryGuid: r, size: a })
|
|
748
748
|
] });
|
|
749
|
-
},
|
|
749
|
+
}, or = ({
|
|
750
750
|
disabled: e = !1,
|
|
751
751
|
label: r = "",
|
|
752
752
|
shrink: i = !0,
|
|
@@ -764,10 +764,10 @@ const oe = {
|
|
|
764
764
|
...o
|
|
765
765
|
}
|
|
766
766
|
);
|
|
767
|
-
function
|
|
768
|
-
return /* @__PURE__ */ n(
|
|
767
|
+
function Ze(e) {
|
|
768
|
+
return /* @__PURE__ */ n(ee, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
769
769
|
}
|
|
770
|
-
const
|
|
770
|
+
const tr = ({
|
|
771
771
|
open: e,
|
|
772
772
|
handleClose: r,
|
|
773
773
|
message: i,
|
|
@@ -780,8 +780,8 @@ const or = ({
|
|
|
780
780
|
onActionClick: t,
|
|
781
781
|
multiLine: u = !1
|
|
782
782
|
}) => {
|
|
783
|
-
const T = H(),
|
|
784
|
-
|
|
783
|
+
const T = H(), L = /* @__PURE__ */ R(
|
|
784
|
+
k,
|
|
785
785
|
{
|
|
786
786
|
alignItems: u ? "flex-end" : "center",
|
|
787
787
|
direction: u ? "column-reverse" : "row",
|
|
@@ -791,7 +791,7 @@ const or = ({
|
|
|
791
791
|
),
|
|
792
792
|
children: [
|
|
793
793
|
c && /* @__PURE__ */ n(
|
|
794
|
-
|
|
794
|
+
V,
|
|
795
795
|
{
|
|
796
796
|
color: "inherit",
|
|
797
797
|
onClick: t || r,
|
|
@@ -804,7 +804,7 @@ const or = ({
|
|
|
804
804
|
}
|
|
805
805
|
),
|
|
806
806
|
l && /* @__PURE__ */ n(
|
|
807
|
-
|
|
807
|
+
re,
|
|
808
808
|
{
|
|
809
809
|
"aria-label": "close",
|
|
810
810
|
color: "inherit",
|
|
@@ -819,7 +819,7 @@ const or = ({
|
|
|
819
819
|
return /* @__PURE__ */ n(
|
|
820
820
|
ye,
|
|
821
821
|
{
|
|
822
|
-
TransitionComponent:
|
|
822
|
+
TransitionComponent: Ze,
|
|
823
823
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
824
824
|
autoHideDuration: a,
|
|
825
825
|
onClose: r,
|
|
@@ -831,7 +831,7 @@ const or = ({
|
|
|
831
831
|
children: /* @__PURE__ */ n(
|
|
832
832
|
Oe,
|
|
833
833
|
{
|
|
834
|
-
action:
|
|
834
|
+
action: L,
|
|
835
835
|
severity: o,
|
|
836
836
|
sx: {
|
|
837
837
|
display: "flex",
|
|
@@ -854,7 +854,7 @@ const or = ({
|
|
|
854
854
|
},
|
|
855
855
|
variant: "filled",
|
|
856
856
|
children: /* @__PURE__ */ n(
|
|
857
|
-
|
|
857
|
+
D,
|
|
858
858
|
{
|
|
859
859
|
sx: {
|
|
860
860
|
lineHeight: T.typography.body1.lineHeight,
|
|
@@ -874,29 +874,29 @@ const or = ({
|
|
|
874
874
|
REACT: "react",
|
|
875
875
|
REACT_NATIVE: "react_native",
|
|
876
876
|
NATIVE: "native"
|
|
877
|
-
},
|
|
877
|
+
}, P = {
|
|
878
878
|
LIGHT: "light",
|
|
879
879
|
DARK: "dark"
|
|
880
|
-
},
|
|
881
|
-
|
|
882
|
-
),
|
|
880
|
+
}, ne = C.createContext(oe), ae = C.createContext(
|
|
881
|
+
G(P.LIGHT, F.REACT_NATIVE)
|
|
882
|
+
), ir = ({
|
|
883
883
|
children: e,
|
|
884
884
|
target: r = F.REACT,
|
|
885
|
-
theme: i =
|
|
885
|
+
theme: i = P.LIGHT,
|
|
886
886
|
tokenOverrides: a
|
|
887
887
|
}) => {
|
|
888
|
-
const [o, d] = C.useState(i ===
|
|
888
|
+
const [o, d] = C.useState(i === P.LIGHT ? oe : Fe), c = C.useMemo(() => ({
|
|
889
889
|
...a
|
|
890
890
|
}), [a]);
|
|
891
891
|
return C.useEffect(() => {
|
|
892
|
-
const l =
|
|
892
|
+
const l = G(i, r, { ...c });
|
|
893
893
|
d(l);
|
|
894
|
-
}, [i, r, c]), r === F.REACT ? /* @__PURE__ */ n(
|
|
895
|
-
},
|
|
896
|
-
const i = e === F.REACT ?
|
|
897
|
-
return a ||
|
|
898
|
-
},
|
|
899
|
-
component: e =
|
|
894
|
+
}, [i, r, c]), r === F.REACT ? /* @__PURE__ */ n(ne.Provider, { value: o, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ n(ae.Provider, { value: o, children: e }));
|
|
895
|
+
}, nr = (e = F.REACT, r = {}) => {
|
|
896
|
+
const i = e === F.REACT ? ne : ae, a = C.useContext(i);
|
|
897
|
+
return a || G(P.LIGHT, e, { ...r });
|
|
898
|
+
}, ar = ({
|
|
899
|
+
component: e = N,
|
|
900
900
|
variant: r = "outlined",
|
|
901
901
|
selected: i,
|
|
902
902
|
onChange: a,
|
|
@@ -907,24 +907,25 @@ const or = ({
|
|
|
907
907
|
disabled: s = !1,
|
|
908
908
|
error: t = !1,
|
|
909
909
|
icon: u = !1,
|
|
910
|
-
sx: T = {}
|
|
910
|
+
sx: T = {},
|
|
911
|
+
...L
|
|
911
912
|
}) => {
|
|
912
|
-
const
|
|
913
|
+
const m = H(), le = () => {
|
|
913
914
|
if (!s && a && l) {
|
|
914
|
-
const
|
|
915
|
+
const W = e === N ? !0 : !i;
|
|
915
916
|
a({
|
|
916
|
-
target: { value: l, checked:
|
|
917
|
-
},
|
|
917
|
+
target: { value: l, checked: W }
|
|
918
|
+
}, W);
|
|
918
919
|
}
|
|
919
|
-
},
|
|
920
|
+
}, $ = () => t ? m.palette.error.main : i ? b(m.palette.primary.main, 0.5) : m.palette.border.main, y = () => m.palette.background.paper, ce = () => i ? "2px" : "1px", se = () => {
|
|
920
921
|
if (!s)
|
|
921
|
-
return t ?
|
|
922
|
-
}, de = () => s || t ? y() : b(
|
|
922
|
+
return t ? m.palette.error.main : b(m.palette.primary.main, 0.5);
|
|
923
|
+
}, de = () => s || t ? y() : b(m.palette.primary.main, 0.1), ue = () => {
|
|
923
924
|
if (!s)
|
|
924
|
-
return t ?
|
|
925
|
-
}, pe = () => s || t ? y() : b(
|
|
925
|
+
return t ? m.palette.error.main : b(m.palette.primary.main, 0.5);
|
|
926
|
+
}, pe = () => s || t ? y() : b(m.palette.primary.main, 0.3), he = () => s ? $() : t ? m.palette.error.main : m.palette.info.main, z = () => !!(r === "outlined" || r === "elevation" && (t || i));
|
|
926
927
|
return /* @__PURE__ */ R(
|
|
927
|
-
|
|
928
|
+
ke,
|
|
928
929
|
{
|
|
929
930
|
elevation: r === "elevation" ? 1 : 0,
|
|
930
931
|
onClick: le,
|
|
@@ -933,21 +934,21 @@ const or = ({
|
|
|
933
934
|
padding: "6px 16px",
|
|
934
935
|
alignItems: "flex-start",
|
|
935
936
|
justifyContent: "space-between",
|
|
936
|
-
borderRadius:
|
|
937
|
+
borderRadius: m.shape.borderRadius / 2,
|
|
937
938
|
mb: 16,
|
|
938
939
|
cursor: s ? "not-allowed" : "pointer",
|
|
939
940
|
opacity: s ? 0.6 : 1,
|
|
940
941
|
backgroundColor: y(),
|
|
941
|
-
border:
|
|
942
|
-
transition:
|
|
943
|
-
duration:
|
|
942
|
+
border: z() ? `${ce()} solid ${$()}` : "none",
|
|
943
|
+
transition: m.transitions.create(["border-color", "box-shadow", "background-color"], {
|
|
944
|
+
duration: m.transitions.duration.short
|
|
944
945
|
}),
|
|
945
946
|
"&:hover": {
|
|
946
|
-
borderColor:
|
|
947
|
+
borderColor: z() ? se() : void 0,
|
|
947
948
|
backgroundColor: de()
|
|
948
949
|
},
|
|
949
950
|
"&:active": {
|
|
950
|
-
borderColor:
|
|
951
|
+
borderColor: z() ? ue() : void 0,
|
|
951
952
|
backgroundColor: pe()
|
|
952
953
|
},
|
|
953
954
|
"&:focus-visible": {
|
|
@@ -960,7 +961,7 @@ const or = ({
|
|
|
960
961
|
variant: r,
|
|
961
962
|
children: [
|
|
962
963
|
u && /* @__PURE__ */ n(
|
|
963
|
-
|
|
964
|
+
j,
|
|
964
965
|
{
|
|
965
966
|
sx: {
|
|
966
967
|
mr: 16,
|
|
@@ -970,12 +971,31 @@ const or = ({
|
|
|
970
971
|
children: u
|
|
971
972
|
}
|
|
972
973
|
),
|
|
973
|
-
/* @__PURE__ */ R(
|
|
974
|
-
o && /* @__PURE__ */ n(
|
|
975
|
-
/* @__PURE__ */ n(
|
|
974
|
+
/* @__PURE__ */ R(j, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
975
|
+
o && /* @__PURE__ */ n(Q, { fontWeight: 600, sx: { lineHeight: "24px" }, variant: "body1", children: o }),
|
|
976
|
+
/* @__PURE__ */ n(Q, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
|
|
976
977
|
] }),
|
|
977
|
-
/* @__PURE__ */ n(
|
|
978
|
-
|
|
978
|
+
e === N ? /* @__PURE__ */ n(
|
|
979
|
+
N,
|
|
980
|
+
{
|
|
981
|
+
checked: i,
|
|
982
|
+
disabled: s,
|
|
983
|
+
name: c,
|
|
984
|
+
onChange: a,
|
|
985
|
+
sx: {
|
|
986
|
+
p: 0,
|
|
987
|
+
ml: 16,
|
|
988
|
+
mt: "8px",
|
|
989
|
+
flexShrink: 0,
|
|
990
|
+
"& .MuiSvgIcon-root": {
|
|
991
|
+
fontSize: "20px"
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
value: l,
|
|
995
|
+
...L
|
|
996
|
+
}
|
|
997
|
+
) : /* @__PURE__ */ n(
|
|
998
|
+
De,
|
|
979
999
|
{
|
|
980
1000
|
checked: i,
|
|
981
1001
|
disabled: s,
|
|
@@ -990,7 +1010,8 @@ const or = ({
|
|
|
990
1010
|
fontSize: "20px"
|
|
991
1011
|
}
|
|
992
1012
|
},
|
|
993
|
-
value: l
|
|
1013
|
+
value: l,
|
|
1014
|
+
...L
|
|
994
1015
|
}
|
|
995
1016
|
)
|
|
996
1017
|
]
|
|
@@ -1005,11 +1026,11 @@ const or = ({
|
|
|
1005
1026
|
300: O(e, 0.55),
|
|
1006
1027
|
400: O(e, 0.3),
|
|
1007
1028
|
500: e,
|
|
1008
|
-
600:
|
|
1009
|
-
700:
|
|
1010
|
-
800:
|
|
1011
|
-
900:
|
|
1012
|
-
}), A = "#FFFFFF",
|
|
1029
|
+
600: w(e, 0.3),
|
|
1030
|
+
700: w(e, 0.5),
|
|
1031
|
+
800: w(e, 0.65),
|
|
1032
|
+
900: w(e, 0.75)
|
|
1033
|
+
}), A = "#FFFFFF", _ = "#000000", Ke = "#F9F9F9", Ye = "#1A1A1A", S = {
|
|
1013
1034
|
PRIMARY: "#2C64EF",
|
|
1014
1035
|
SECONDARY: "#808080",
|
|
1015
1036
|
INFO: "#2C64EF",
|
|
@@ -1078,7 +1099,7 @@ const or = ({
|
|
|
1078
1099
|
TRANSFER: "#75C7B7",
|
|
1079
1100
|
TRAVEL: "#76ACF7",
|
|
1080
1101
|
UNCATEGORIZED: "#BCC6D4"
|
|
1081
|
-
},
|
|
1102
|
+
}, Xe = (e, r) => {
|
|
1082
1103
|
const i = E(r?.primary || S.PRIMARY), a = E(r?.secondary || S.SECONDARY), o = E(r?.error || S.ERROR), d = E(r?.warning || S.WARNING), c = E(r?.info || S.INFO), l = E(r?.success || S.SUCCESS), s = E(r?.grey || S.GREY), t = e === v.LIGHT;
|
|
1083
1104
|
return {
|
|
1084
1105
|
mode: e,
|
|
@@ -1094,7 +1115,7 @@ const or = ({
|
|
|
1094
1115
|
},
|
|
1095
1116
|
common: {
|
|
1096
1117
|
white: A,
|
|
1097
|
-
black:
|
|
1118
|
+
black: _
|
|
1098
1119
|
},
|
|
1099
1120
|
primary: {
|
|
1100
1121
|
...i,
|
|
@@ -1125,7 +1146,7 @@ const or = ({
|
|
|
1125
1146
|
dark: t ? s[700] : s[200],
|
|
1126
1147
|
/* DEPRECATED: Use dark instead */
|
|
1127
1148
|
darker: t ? s[900] : s[100],
|
|
1128
|
-
contrastText:
|
|
1149
|
+
contrastText: Le(t ? s[700] : s[400], "#fff") > 4.5 ? A : s[900]
|
|
1129
1150
|
},
|
|
1130
1151
|
text: {
|
|
1131
1152
|
primary: t ? s[900] : A,
|
|
@@ -1174,18 +1195,18 @@ const or = ({
|
|
|
1174
1195
|
},
|
|
1175
1196
|
grey: s,
|
|
1176
1197
|
action: {
|
|
1177
|
-
active: t ? b(
|
|
1198
|
+
active: t ? b(_, 0.56) : b(A, 0.56),
|
|
1178
1199
|
hoverOpacity: t ? 0.1 : 0.2,
|
|
1179
1200
|
selectedOpacity: t ? 0.16 : 0.25,
|
|
1180
1201
|
focusOpacity: 0.3
|
|
1181
1202
|
},
|
|
1182
1203
|
background: {
|
|
1183
|
-
default: t ? r?.background?.default?.light ||
|
|
1184
|
-
paper: t ? r?.background?.paper?.light || A : r?.background?.paper?.dark ||
|
|
1204
|
+
default: t ? r?.background?.default?.light || Ke : r?.background?.default?.dark || Ye,
|
|
1205
|
+
paper: t ? r?.background?.paper?.light || A : r?.background?.paper?.dark || _,
|
|
1185
1206
|
highlight: t ? s[200] : s[600],
|
|
1186
1207
|
highlightPrimary: t ? i[100] : i[500]
|
|
1187
1208
|
},
|
|
1188
|
-
divider: t ? b(
|
|
1209
|
+
divider: t ? b(_, 0.12) : b(A, 0.24),
|
|
1189
1210
|
categories: {
|
|
1190
1211
|
autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1191
1212
|
billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
@@ -1228,8 +1249,8 @@ const or = ({
|
|
|
1228
1249
|
chartMono6: I.CHART_MONO6
|
|
1229
1250
|
}
|
|
1230
1251
|
};
|
|
1231
|
-
},
|
|
1232
|
-
const r = e?.fontFamily ||
|
|
1252
|
+
}, je = "Inter, Helvetica, Arial, sans-serif", Qe = (e) => {
|
|
1253
|
+
const r = e?.fontFamily || je;
|
|
1233
1254
|
return {
|
|
1234
1255
|
fontFamily: r,
|
|
1235
1256
|
fontSize: 15,
|
|
@@ -1362,16 +1383,16 @@ const or = ({
|
|
|
1362
1383
|
...e
|
|
1363
1384
|
};
|
|
1364
1385
|
};
|
|
1365
|
-
|
|
1386
|
+
we.setLicenseKey(
|
|
1366
1387
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1367
1388
|
);
|
|
1368
|
-
const
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
const
|
|
1373
|
-
const i =
|
|
1374
|
-
return
|
|
1389
|
+
const B = [...J().shadows];
|
|
1390
|
+
B[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1391
|
+
B[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1392
|
+
B[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1393
|
+
const lr = (e, r) => {
|
|
1394
|
+
const i = Xe(e, r?.paletteOptions), a = Qe(r?.typographyOptions);
|
|
1395
|
+
return J({
|
|
1375
1396
|
breakpoints: {
|
|
1376
1397
|
values: {
|
|
1377
1398
|
xs: 444,
|
|
@@ -1382,7 +1403,7 @@ const ar = (e, r) => {
|
|
|
1382
1403
|
}
|
|
1383
1404
|
},
|
|
1384
1405
|
palette: i,
|
|
1385
|
-
shadows:
|
|
1406
|
+
shadows: B,
|
|
1386
1407
|
shape: {
|
|
1387
1408
|
borderRadius: r?.shapeOptions?.borderRadius || 4
|
|
1388
1409
|
},
|
|
@@ -1491,7 +1512,7 @@ const ar = (e, r) => {
|
|
|
1491
1512
|
MuiCircularProgress: {
|
|
1492
1513
|
styleOverrides: {
|
|
1493
1514
|
root: {
|
|
1494
|
-
[`& .${
|
|
1515
|
+
[`& .${Ne.circle}`]: {
|
|
1495
1516
|
strokeLinecap: "round"
|
|
1496
1517
|
}
|
|
1497
1518
|
}
|
|
@@ -2122,51 +2143,51 @@ const ar = (e, r) => {
|
|
|
2122
2143
|
});
|
|
2123
2144
|
};
|
|
2124
2145
|
export {
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2146
|
+
O0 as AccountsFilledIcon,
|
|
2147
|
+
F0 as AccountsIcon,
|
|
2148
|
+
k0 as ArrowLeftIcon,
|
|
2128
2149
|
D0 as AttentionFilledIcon,
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2150
|
+
f as BaseIcon,
|
|
2151
|
+
Y0 as BottomSheetTransition,
|
|
2152
|
+
L0 as CalendarIcon,
|
|
2132
2153
|
g as CategoryGuids,
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2154
|
+
Ve as CategoryIcon,
|
|
2155
|
+
Be as CategoryIconList,
|
|
2156
|
+
Pe as CategoryIconVariants,
|
|
2157
|
+
N0 as CheckmarkFilledIcon,
|
|
2158
|
+
w0 as ChevronDownIcon,
|
|
2159
|
+
_0 as ChevronLeftIcon,
|
|
2160
|
+
P0 as ChevronRightIcon,
|
|
2161
|
+
B0 as CloseIcon,
|
|
2162
|
+
K0 as DateRangePicker,
|
|
2163
|
+
Ue as DialogFooter,
|
|
2164
|
+
J0 as DialogHeader,
|
|
2165
|
+
q0 as Drawer,
|
|
2166
|
+
z0 as EditIcon,
|
|
2167
|
+
V0 as FilterIcon,
|
|
2168
|
+
Ue as Footer,
|
|
2169
|
+
$e as H1,
|
|
2170
|
+
X0 as H2,
|
|
2171
|
+
j0 as H3,
|
|
2172
|
+
G0 as HeartIcon,
|
|
2173
|
+
je as INTER,
|
|
2153
2174
|
M as Icon,
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2175
|
+
_e as IconWeight,
|
|
2176
|
+
er as InstitutionLogo,
|
|
2177
|
+
$0 as MXLogoCopyrightIcon,
|
|
2178
|
+
W0 as MXLogoFilledIcon,
|
|
2179
|
+
U0 as MXLogoIcon,
|
|
2180
|
+
Z0 as MXLogoOutlineIcon,
|
|
2181
|
+
rr as MerchantLogo,
|
|
2182
|
+
Q0 as P,
|
|
2183
|
+
ar as SelectionBox,
|
|
2163
2184
|
F as TARGETS,
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2185
|
+
P as THEMES,
|
|
2186
|
+
D as Text,
|
|
2187
|
+
or as TextField,
|
|
2188
|
+
tr as Toast,
|
|
2189
|
+
ir as TokenProvider,
|
|
2190
|
+
lr as createMXTheme,
|
|
2191
|
+
nr as useTokens
|
|
2171
2192
|
};
|
|
2172
2193
|
//# sourceMappingURL=index.es.js.map
|