@mxenabled/mxui 1.6.0-alpha.5 → 1.6.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/README.md +19 -1
- package/dist/components/daterangepicker/small/DatePickerShortcutsSmall.d.ts +8 -0
- package/dist/components/daterangepicker/small/DateRangePickerSmall.d.ts +4 -0
- package/dist/components/icon/Icon.d.ts +1 -1
- package/dist/components/selectionbox/SelectionBox.d.ts +3 -1
- package/dist/components/text/Text.d.ts +5 -5
- package/dist/components/toast/Toast.d.ts +2 -2
- package/dist/index.es.js +657 -606
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Colors.d.ts +3 -1
- package/dist/themes/Typography.d.ts +2 -2
- package/package.json +40 -40
package/dist/index.es.js
CHANGED
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useTheme as H, createTheme as
|
|
5
|
-
import { Icon as de, Close as ue } from "@mxenabled/mx-icons";
|
|
6
|
-
import { endOfMonth as
|
|
1
|
+
import { jsx as a, jsxs as T } from "react/jsx-runtime";
|
|
2
|
+
import x from "react";
|
|
3
|
+
import I from "@mui/material/Stack";
|
|
4
|
+
import { useTheme as H, createTheme as U } from "@mui/material/styles";
|
|
5
|
+
import { Icon as se, ExpandMore as de, Close as ue } from "@mxenabled/mx-icons";
|
|
6
|
+
import { endOfMonth as W } from "date-fns/endOfMonth";
|
|
7
7
|
import { endOfYear as pe } from "date-fns/endOfYear";
|
|
8
8
|
import { startOfToday as he } from "date-fns/startOfToday";
|
|
9
|
-
import { startOfMonth as
|
|
10
|
-
import { startOfYear as
|
|
9
|
+
import { startOfMonth as Z } from "date-fns/startOfMonth";
|
|
10
|
+
import { startOfYear as K } from "date-fns/startOfYear";
|
|
11
11
|
import { subDays as Y } from "date-fns/subDays";
|
|
12
12
|
import { subMonths as ge } from "date-fns/subMonths";
|
|
13
|
-
import { subYears as
|
|
14
|
-
import
|
|
13
|
+
import { subYears as me } from "date-fns/subYears";
|
|
14
|
+
import fe from "@mui/material/useMediaQuery";
|
|
15
15
|
import { LocalizationProvider as be, StaticDateRangePicker as Te } from "@mui/x-date-pickers-pro";
|
|
16
16
|
import { AdapterDateFns as Ce } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import Re from "@mui/material/
|
|
17
|
+
import { MultiInputDateRangeField as xe } from "@mui/x-date-pickers-pro/MultiInputDateRangeField";
|
|
18
|
+
import j from "@mui/material/Box";
|
|
19
|
+
import Re from "@mui/material/ToggleButton";
|
|
20
|
+
import Me from "@mui/material/ToggleButtonGroup";
|
|
21
|
+
import Ae from "@mui/material/MenuItem";
|
|
22
|
+
import Q from "@mui/material/TextField";
|
|
23
|
+
import { usePickerLayout as Ee, PickersLayoutRoot as Se, PickersLayoutContentWrapper as Ie, pickersLayoutClasses as P } from "@mui/x-date-pickers/PickersLayout";
|
|
20
24
|
import J from "@mui/material/Slide";
|
|
21
|
-
import
|
|
25
|
+
import V from "@mui/material/Button";
|
|
22
26
|
import q from "@mui/material/IconButton";
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { LicenseInfo as ke } from "@mui/x-license-pro";
|
|
27
|
+
import ye from "@mui/material/Typography";
|
|
28
|
+
import ve from "@mui/material/Drawer";
|
|
29
|
+
import He from "@mui/material/Snackbar";
|
|
30
|
+
import Le from "@mui/material/Alert";
|
|
31
|
+
import { light as ee, buildTheme as G, dark as Fe } from "@mxenabled/design-tokens";
|
|
32
|
+
import { FormControlLabel as ke, Box as _, Typography as X, Radio as B, Checkbox as Oe, alpha as b, darken as D, lighten as L, getContrastRatio as De } from "@mui/material";
|
|
33
|
+
import { circularProgressClasses as Ne } from "@mui/material/CircularProgress";
|
|
34
|
+
import { LicenseInfo as we } from "@mui/x-license-pro";
|
|
32
35
|
const f = ({
|
|
33
36
|
children: e,
|
|
34
37
|
height: o,
|
|
35
38
|
size: i = 16,
|
|
36
|
-
viewBox:
|
|
37
|
-
width:
|
|
39
|
+
viewBox: l = "0 0 16 16",
|
|
40
|
+
width: c
|
|
38
41
|
}) => /* @__PURE__ */ a(
|
|
39
42
|
"svg",
|
|
40
43
|
{
|
|
@@ -42,33 +45,33 @@ const f = ({
|
|
|
42
45
|
className: "mx-kmui-icon",
|
|
43
46
|
focusable: !1,
|
|
44
47
|
height: o || i,
|
|
45
|
-
viewBox:
|
|
46
|
-
width:
|
|
48
|
+
viewBox: l,
|
|
49
|
+
width: c || i,
|
|
47
50
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
51
|
children: e
|
|
49
52
|
}
|
|
50
53
|
);
|
|
51
|
-
var
|
|
52
|
-
const
|
|
54
|
+
var Pe = /* @__PURE__ */ ((e) => (e[e.Lighter = 100] = "Lighter", e[e.Light = 200] = "Light", e[e.Normal = 300] = "Normal", e[e.Dark = 400] = "Dark", e[e.Darker = 500] = "Darker", e))(Pe || {});
|
|
55
|
+
const R = ({
|
|
53
56
|
color: e,
|
|
54
57
|
fill: o = !1,
|
|
55
58
|
name: i,
|
|
56
|
-
size:
|
|
57
|
-
sx:
|
|
58
|
-
weight:
|
|
59
|
-
...
|
|
59
|
+
size: l = 20,
|
|
60
|
+
sx: c,
|
|
61
|
+
weight: r = 300,
|
|
62
|
+
...n
|
|
60
63
|
}) => /* @__PURE__ */ a(
|
|
61
|
-
|
|
64
|
+
se,
|
|
62
65
|
{
|
|
63
66
|
color: e,
|
|
64
67
|
fill: o,
|
|
65
68
|
name: i,
|
|
66
|
-
size:
|
|
67
|
-
sx:
|
|
68
|
-
weight:
|
|
69
|
-
...
|
|
69
|
+
size: l,
|
|
70
|
+
sx: c,
|
|
71
|
+
weight: r,
|
|
72
|
+
...n
|
|
70
73
|
}
|
|
71
|
-
),
|
|
74
|
+
), w0 = ({
|
|
72
75
|
color: e = "currentColor",
|
|
73
76
|
...o
|
|
74
77
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -77,7 +80,7 @@ const M = ({
|
|
|
77
80
|
d: "M2.24801 6.76647H0.573286C0.327604 6.76647 0.110586 6.60678 0.0327867 6.37748C-0.0450124 6.14408 0.0327866 5.88612 0.229332 5.73871L7.6571 0.116699C7.85774 -0.0388996 8.14027 -0.0388996 8.34501 0.116699L15.7728 5.73871C15.9693 5.89021 16.0471 6.14408 15.9693 6.37748C15.8915 6.61088 15.6745 6.76647 15.4288 6.76647H13.7582V12.323H14.3929C14.7122 12.323 14.9661 12.5809 14.9661 12.8962C14.9661 13.2156 14.7082 13.4695 14.3929 13.4695H1.60924C1.28986 13.4695 1.03599 13.2115 1.03599 12.8962C1.03599 12.5768 1.29395 12.323 1.60924 12.323H2.24801V6.76647ZM5.70393 6.76647H3.39043V12.323H5.70393V6.76647ZM9.15985 12.323V6.76647H6.84635V12.323H9.15985ZM10.3023 12.3189H12.6158V6.76647H10.3023V12.3189ZM0.573256 14.8535H15.4288C15.7441 14.8535 15.998 15.1115 15.998 15.4267C15.998 15.7461 15.74 16 15.4247 16H0.573256C0.253871 16 0 15.742 0 15.4267C0 15.1074 0.257965 14.8535 0.573256 14.8535Z",
|
|
78
81
|
fill: e
|
|
79
82
|
}
|
|
80
|
-
) })),
|
|
83
|
+
) })), P0 = ({
|
|
81
84
|
color: e = "currentColor",
|
|
82
85
|
...o
|
|
83
86
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -86,7 +89,7 @@ const M = ({
|
|
|
86
89
|
d: "M15.429 14.854H.573a.572.572 0 100 1.146h14.852a.572.572 0 00.004-1.146zM.573 6.766h1.675v5.557h-.639a.572.572 0 100 1.146h12.784a.572.572 0 100-1.146h-.635V6.766h1.67a.568.568 0 00.541-.389.574.574 0 00-.196-.638L8.345.117a.565.565 0 00-.688 0L.23 5.739a.572.572 0 00.344 1.027zm2.817 0h2.314v5.557H3.39V6.766zm5.77 0v5.557H6.846V6.766H9.16zm3.456 5.553h-2.314V6.766h2.314v5.553zM8 1.288l5.724 4.336H2.277L8 1.288z",
|
|
87
90
|
fill: e
|
|
88
91
|
}
|
|
89
|
-
) })),
|
|
92
|
+
) })), _0 = ({
|
|
90
93
|
color: e = "currentColor",
|
|
91
94
|
...o
|
|
92
95
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -95,7 +98,7 @@ const M = ({
|
|
|
95
98
|
d: "M5.854 3.133a.426.426 0 010 .643L1.757 7.5h13.774c.26 0 .469.224.469.5s-.21.5-.469.5H1.757l4.097 3.724a.426.426 0 010 .643.536.536 0 01-.708 0l-5-4.546a.426.426 0 010-.642l5-4.546a.536.536 0 01.708 0z",
|
|
96
99
|
fill: e
|
|
97
100
|
}
|
|
98
|
-
) })),
|
|
101
|
+
) })), B0 = ({
|
|
99
102
|
color: e = "currentColor",
|
|
100
103
|
...o
|
|
101
104
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -106,7 +109,7 @@ const M = ({
|
|
|
106
109
|
fill: e,
|
|
107
110
|
fillRule: "evenodd"
|
|
108
111
|
}
|
|
109
|
-
) })),
|
|
112
|
+
) })), z0 = ({
|
|
110
113
|
color: e = "currentColor",
|
|
111
114
|
...o
|
|
112
115
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -115,7 +118,7 @@ const M = ({
|
|
|
115
118
|
d: "M11.5 0a.5.5 0 01.5.5V2h2.5A1.5 1.5 0 0116 3.5v11a1.5 1.5 0 01-1.5 1.5h-13A1.5 1.5 0 010 14.5v-11A1.5 1.5 0 011.5 2H4V.5a.5.5 0 011 0V2h6V.5a.5.5 0 01.5-.5zM15 6H1v8.5a.5.5 0 00.5.5h13a.5.5 0 00.5-.5V6zm-4.5 1a.5.5 0 01.5.5V10h2.5a.5.5 0 010 1H11v2.5a.5.5 0 01-1 0V11H6v2.5a.5.5 0 01-1 0V11H2.5a.5.5 0 010-1H5V7.5a.5.5 0 011 0V10h4V7.5a.5.5 0 01.5-.5zm4-4h-13a.5.5 0 00-.5.5V5h14V3.5a.5.5 0 00-.5-.5z",
|
|
116
119
|
fill: e
|
|
117
120
|
}
|
|
118
|
-
) })),
|
|
121
|
+
) })), V0 = ({
|
|
119
122
|
color: e = "currentColor",
|
|
120
123
|
...o
|
|
121
124
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -124,7 +127,7 @@ const M = ({
|
|
|
124
127
|
d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm4.358 5.151a.5.5 0 00-.707-.01L6.858 9.803 4.35 7.363a.5.5 0 10-.698.718l2.858 2.777a.5.5 0 00.697 0l5.142-5a.5.5 0 00.01-.707z",
|
|
125
128
|
fill: e
|
|
126
129
|
}
|
|
127
|
-
) })),
|
|
130
|
+
) })), G0 = ({
|
|
128
131
|
color: e = "currentColor",
|
|
129
132
|
...o
|
|
130
133
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -133,7 +136,7 @@ const M = ({
|
|
|
133
136
|
d: "M2.68 5.201a.6.6 0 01.848-.011L8 9.543l4.472-4.353a.6.6 0 11.837.86l-4.89 4.76a.6.6 0 01-.838 0l-4.89-4.76a.6.6 0 01-.012-.849z",
|
|
134
137
|
fill: e
|
|
135
138
|
}
|
|
136
|
-
) })),
|
|
139
|
+
) })), $0 = ({
|
|
137
140
|
color: e = "currentColor",
|
|
138
141
|
...o
|
|
139
142
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -142,7 +145,7 @@ const M = ({
|
|
|
142
145
|
d: "M10.799 2.68a.6.6 0 01.011.848L6.457 8l4.353 4.472a.6.6 0 01-.86.837L5.19 8.42a.6.6 0 010-.838l4.76-4.89a.6.6 0 01.849-.012z",
|
|
143
146
|
fill: e
|
|
144
147
|
}
|
|
145
|
-
) })),
|
|
148
|
+
) })), U0 = ({
|
|
146
149
|
color: e = "currentColor",
|
|
147
150
|
...o
|
|
148
151
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -151,7 +154,7 @@ const M = ({
|
|
|
151
154
|
d: "M5.207 13.32a.6.6 0 01-.012-.848L9.55 8 5.195 3.528a.6.6 0 11.86-.837l4.76 4.89a.6.6 0 010 .838l-4.76 4.89a.6.6 0 01-.848.012z",
|
|
152
155
|
fill: e
|
|
153
156
|
}
|
|
154
|
-
) })),
|
|
157
|
+
) })), W0 = ({
|
|
155
158
|
color: e = "currentColor",
|
|
156
159
|
...o
|
|
157
160
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -160,7 +163,7 @@ const M = ({
|
|
|
160
163
|
d: "M13.79 2.21a.72.72 0 0 1 0 1.02L9.018 8l4.77 4.77a.72.72 0 1 1-1.018 1.02L8 9.018l-4.77 4.77a.72.72 0 1 1-1.02-1.018L6.982 8l-4.77-4.77A.72.72 0 0 1 3.23 2.21L8 6.982l4.77-4.77a.72.72 0 0 1 1.02 0Z",
|
|
161
164
|
fill: e
|
|
162
165
|
}
|
|
163
|
-
) })),
|
|
166
|
+
) })), Z0 = ({
|
|
164
167
|
color: e = "currentColor",
|
|
165
168
|
...o
|
|
166
169
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -169,7 +172,7 @@ const M = ({
|
|
|
169
172
|
d: "M12.644.156l3.2 3.2a.533.533 0 010 .754L5.177 14.777a.534.534 0 01-.247.14L.663 15.984a.533.533 0 01-.647-.647l1.067-4.267a.534.534 0 01.14-.248L11.89.156a.533.533 0 01.754 0zM10.133 3.42l-8.051 8.052-.815 3.261 3.26-.815 8.052-8.052-2.446-2.446zm2.134-2.132l-1.38 1.378 2.446 2.446 1.38-1.379-2.446-2.445z",
|
|
170
173
|
fill: e
|
|
171
174
|
}
|
|
172
|
-
) })),
|
|
175
|
+
) })), K0 = ({
|
|
173
176
|
color: e = "currentColor",
|
|
174
177
|
...o
|
|
175
178
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -178,7 +181,7 @@ const M = ({
|
|
|
178
181
|
d: "M1.5 1.933l5.4 6.72c.066.081.1.18.1.28v5.134h2V8.933c0-.1.036-.199.1-.28l5.4-6.72h-13zM6 9.09L.1 1.747C-.145 1.439.09 1 .5 1h15c.413 0 .648.439.4.747L10 9.089v5.444c0 .258-.223.467-.5.467h-3c-.275 0-.5-.209-.5-.467V9.09z",
|
|
179
182
|
fill: e
|
|
180
183
|
}
|
|
181
|
-
) })),
|
|
184
|
+
) })), Y0 = ({
|
|
182
185
|
color: e = "currentColor",
|
|
183
186
|
...o
|
|
184
187
|
}) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -187,10 +190,10 @@ const M = ({
|
|
|
187
190
|
d: "M1.317 2.317a4.5 4.5 0 016.364 0c.117.117.223.238.32.363.095-.124.2-.245.316-.362a4.5 4.5 0 016.364 6.364l-.004.004-6.328 6.172a.5.5 0 01-.698 0L1.317 8.682a4.5 4.5 0 010-6.365zm5.657.708a3.5 3.5 0 00-4.952 4.947L8 13.802l5.977-5.83a3.5 3.5 0 00-4.952-4.947c-.235.235-.42.51-.586.815a.5.5 0 01-.878 0 3.46 3.46 0 00-.587-.815z",
|
|
188
191
|
fill: e
|
|
189
192
|
}
|
|
190
|
-
) })),
|
|
193
|
+
) })), X0 = ({
|
|
191
194
|
color: e = "currentColor",
|
|
192
195
|
...o
|
|
193
|
-
}) => /* @__PURE__ */
|
|
196
|
+
}) => /* @__PURE__ */ T(f, { ...o, children: [
|
|
194
197
|
/* @__PURE__ */ a(
|
|
195
198
|
"path",
|
|
196
199
|
{
|
|
@@ -205,10 +208,10 @@ const M = ({
|
|
|
205
208
|
fill: e
|
|
206
209
|
}
|
|
207
210
|
)
|
|
208
|
-
] }),
|
|
211
|
+
] }), j0 = ({
|
|
209
212
|
color: e = "currentColor",
|
|
210
213
|
...o
|
|
211
|
-
}) => /* @__PURE__ */
|
|
214
|
+
}) => /* @__PURE__ */ T(f, { ...o, children: [
|
|
212
215
|
/* @__PURE__ */ a(
|
|
213
216
|
"path",
|
|
214
217
|
{
|
|
@@ -241,7 +244,7 @@ const M = ({
|
|
|
241
244
|
fillRule: "evenodd"
|
|
242
245
|
}
|
|
243
246
|
)
|
|
244
|
-
] }),
|
|
247
|
+
] }), Q0 = ({
|
|
245
248
|
color: e = "currentColor",
|
|
246
249
|
...o
|
|
247
250
|
}) => /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
@@ -252,10 +255,10 @@ const M = ({
|
|
|
252
255
|
fill: e,
|
|
253
256
|
fillRule: "evenodd"
|
|
254
257
|
}
|
|
255
|
-
) }),
|
|
258
|
+
) }), J0 = ({
|
|
256
259
|
color: e = "currentColor",
|
|
257
260
|
...o
|
|
258
|
-
}) => /* @__PURE__ */
|
|
261
|
+
}) => /* @__PURE__ */ T(f, { ...o, children: [
|
|
259
262
|
/* @__PURE__ */ a(
|
|
260
263
|
"path",
|
|
261
264
|
{
|
|
@@ -280,164 +283,164 @@ const M = ({
|
|
|
280
283
|
}
|
|
281
284
|
)
|
|
282
285
|
] });
|
|
283
|
-
var
|
|
286
|
+
var h = /* @__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))(h || {}), _e = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(_e || {});
|
|
284
287
|
const oe = {
|
|
285
|
-
guid:
|
|
288
|
+
guid: h.Uncategorized,
|
|
286
289
|
colorName: "uncategorized",
|
|
287
290
|
icon: "category"
|
|
288
|
-
},
|
|
291
|
+
}, Be = [
|
|
289
292
|
{
|
|
290
|
-
guid:
|
|
293
|
+
guid: h.AutoTransport,
|
|
291
294
|
colorName: "autoTransport",
|
|
292
295
|
icon: "directions_car"
|
|
293
296
|
},
|
|
294
297
|
{
|
|
295
|
-
guid:
|
|
298
|
+
guid: h.BillsUtilities,
|
|
296
299
|
colorName: "billsUtilities",
|
|
297
300
|
icon: "electrical_services"
|
|
298
301
|
},
|
|
299
302
|
{
|
|
300
|
-
guid:
|
|
303
|
+
guid: h.BusinessServices,
|
|
301
304
|
colorName: "businessServices",
|
|
302
305
|
icon: "business_center"
|
|
303
306
|
},
|
|
304
307
|
{
|
|
305
|
-
guid:
|
|
308
|
+
guid: h.Education,
|
|
306
309
|
colorName: "education",
|
|
307
310
|
icon: "school"
|
|
308
311
|
},
|
|
309
312
|
{
|
|
310
|
-
guid:
|
|
313
|
+
guid: h.Entertainment,
|
|
311
314
|
colorName: "entertainment",
|
|
312
315
|
icon: "stadium"
|
|
313
316
|
},
|
|
314
317
|
{
|
|
315
|
-
guid:
|
|
318
|
+
guid: h.FeesCharges,
|
|
316
319
|
colorName: "feesCharges",
|
|
317
320
|
icon: "problem"
|
|
318
321
|
},
|
|
319
322
|
{
|
|
320
|
-
guid:
|
|
323
|
+
guid: h.Financial,
|
|
321
324
|
colorName: "financial",
|
|
322
325
|
icon: "price_check"
|
|
323
326
|
},
|
|
324
327
|
{
|
|
325
|
-
guid:
|
|
328
|
+
guid: h.FoodDining,
|
|
326
329
|
colorName: "foodDining",
|
|
327
330
|
icon: "grocery"
|
|
328
331
|
},
|
|
329
332
|
{
|
|
330
|
-
guid:
|
|
333
|
+
guid: h.GiftsDonations,
|
|
331
334
|
colorName: "giftsDonations",
|
|
332
335
|
icon: "featured_seasonal_and_gifts"
|
|
333
336
|
},
|
|
334
337
|
{
|
|
335
|
-
guid:
|
|
338
|
+
guid: h.HealthFitness,
|
|
336
339
|
colorName: "healthFitness",
|
|
337
340
|
icon: "ecg_heart"
|
|
338
341
|
},
|
|
339
342
|
{
|
|
340
|
-
guid:
|
|
343
|
+
guid: h.Home,
|
|
341
344
|
colorName: "home",
|
|
342
345
|
icon: "cottage"
|
|
343
346
|
},
|
|
344
347
|
{
|
|
345
|
-
guid:
|
|
348
|
+
guid: h.Income,
|
|
346
349
|
colorName: "income",
|
|
347
350
|
icon: "monetization_on"
|
|
348
351
|
},
|
|
349
352
|
{
|
|
350
|
-
guid:
|
|
353
|
+
guid: h.Investments,
|
|
351
354
|
colorName: "investments",
|
|
352
355
|
icon: "bid_landscape"
|
|
353
356
|
},
|
|
354
357
|
{
|
|
355
|
-
guid:
|
|
358
|
+
guid: h.Kids,
|
|
356
359
|
colorName: "kids",
|
|
357
360
|
icon: "face"
|
|
358
361
|
},
|
|
359
362
|
{
|
|
360
|
-
guid:
|
|
363
|
+
guid: h.PersonalCare,
|
|
361
364
|
colorName: "personalCare",
|
|
362
365
|
icon: "volunteer_activism"
|
|
363
366
|
},
|
|
364
367
|
{
|
|
365
|
-
guid:
|
|
368
|
+
guid: h.Pets,
|
|
366
369
|
colorName: "pets",
|
|
367
370
|
icon: "pet_supplies"
|
|
368
371
|
},
|
|
369
372
|
{
|
|
370
|
-
guid:
|
|
373
|
+
guid: h.Shopping,
|
|
371
374
|
colorName: "shopping",
|
|
372
375
|
icon: "shopping_cart"
|
|
373
376
|
},
|
|
374
377
|
{
|
|
375
|
-
guid:
|
|
378
|
+
guid: h.Taxes,
|
|
376
379
|
colorName: "taxes",
|
|
377
380
|
icon: "heap_snapshot_large"
|
|
378
381
|
},
|
|
379
382
|
{
|
|
380
|
-
guid:
|
|
383
|
+
guid: h.Transfer,
|
|
381
384
|
colorName: "transfer",
|
|
382
385
|
icon: "compare_arrows"
|
|
383
386
|
},
|
|
384
387
|
{
|
|
385
|
-
guid:
|
|
388
|
+
guid: h.Travel,
|
|
386
389
|
colorName: "travel",
|
|
387
390
|
icon: "airplane_ticket"
|
|
388
391
|
},
|
|
389
392
|
oe
|
|
390
|
-
],
|
|
393
|
+
], ze = 0.625, Ve = ({
|
|
391
394
|
categoryGuid: e,
|
|
392
|
-
icon_ratio: o =
|
|
395
|
+
icon_ratio: o = ze,
|
|
393
396
|
size: i = 32,
|
|
394
|
-
sx:
|
|
395
|
-
variant:
|
|
397
|
+
sx: l = {},
|
|
398
|
+
variant: c = "filled"
|
|
396
399
|
}) => {
|
|
397
|
-
const
|
|
398
|
-
() =>
|
|
400
|
+
const r = H(), n = x.useMemo(
|
|
401
|
+
() => Be.find((m) => m.guid === e) ?? oe,
|
|
399
402
|
[e]
|
|
400
|
-
),
|
|
403
|
+
), s = r.palette.categories[n.colorName];
|
|
401
404
|
return /* @__PURE__ */ a(
|
|
402
|
-
|
|
405
|
+
I,
|
|
403
406
|
{
|
|
404
407
|
alignItems: "center",
|
|
405
408
|
bgcolor: () => {
|
|
406
|
-
let
|
|
407
|
-
return
|
|
409
|
+
let m = s;
|
|
410
|
+
return c === "twotone" && (m = `${m}20`), c === "transparent" || c === "basic" ? "transparent" : m;
|
|
408
411
|
},
|
|
409
412
|
borderRadius: 1,
|
|
410
413
|
color: () => {
|
|
411
|
-
const
|
|
412
|
-
return
|
|
414
|
+
const m = c === "filled" ? r.palette.common.white : s;
|
|
415
|
+
return c === "basic" ? r.palette.text.primary : m;
|
|
413
416
|
},
|
|
414
417
|
height: i,
|
|
415
418
|
justifyContent: "center",
|
|
416
|
-
sx: [...Array.isArray(
|
|
419
|
+
sx: [...Array.isArray(l) ? l : [l]],
|
|
417
420
|
width: i,
|
|
418
|
-
children: /* @__PURE__ */ a(
|
|
421
|
+
children: /* @__PURE__ */ a(R, { name: n.icon, size: i * o })
|
|
419
422
|
}
|
|
420
423
|
);
|
|
421
|
-
},
|
|
424
|
+
}, Ge = ({
|
|
422
425
|
items: e,
|
|
423
426
|
onChange: o,
|
|
424
427
|
isValid: i,
|
|
425
|
-
selected:
|
|
428
|
+
selected: l
|
|
426
429
|
}) => {
|
|
427
|
-
const
|
|
428
|
-
const
|
|
430
|
+
const c = H(), r = e?.map((n) => {
|
|
431
|
+
const s = n.getValue({ isValid: i });
|
|
429
432
|
return {
|
|
430
|
-
label:
|
|
433
|
+
label: n.label,
|
|
431
434
|
onClick: () => {
|
|
432
|
-
o(
|
|
435
|
+
o(s, "accept", n);
|
|
433
436
|
},
|
|
434
|
-
disabled: !i(
|
|
437
|
+
disabled: !i(s)
|
|
435
438
|
};
|
|
436
439
|
});
|
|
437
|
-
return /* @__PURE__ */ a(
|
|
438
|
-
|
|
440
|
+
return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Me, { color: "primary", orientation: "vertical", value: l, children: r?.map((n) => /* @__PURE__ */ a(
|
|
441
|
+
Re,
|
|
439
442
|
{
|
|
440
|
-
onClick:
|
|
443
|
+
onClick: n.onClick,
|
|
441
444
|
sx: {
|
|
442
445
|
borderWidth: 1,
|
|
443
446
|
color: "secondary.main",
|
|
@@ -448,37 +451,100 @@ const oe = {
|
|
|
448
451
|
boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
|
|
449
452
|
},
|
|
450
453
|
"&:hover": {
|
|
451
|
-
bgcolor:
|
|
452
|
-
borderTop: `1px solid ${
|
|
454
|
+
bgcolor: c.palette.action.hover,
|
|
455
|
+
borderTop: `1px solid ${c.palette.secondary.light}`
|
|
453
456
|
},
|
|
454
457
|
"&.Mui-selected": {
|
|
455
|
-
border: `2px solid ${
|
|
458
|
+
border: `2px solid ${c.palette.primary.main} !important`,
|
|
456
459
|
marginTop: "-2px !important",
|
|
457
460
|
color: "primary"
|
|
458
461
|
}
|
|
459
462
|
},
|
|
460
|
-
value:
|
|
461
|
-
children:
|
|
463
|
+
value: n.label,
|
|
464
|
+
children: n.label
|
|
462
465
|
},
|
|
463
|
-
|
|
466
|
+
n.label
|
|
464
467
|
)) }) });
|
|
465
|
-
},
|
|
468
|
+
}, $e = ({
|
|
469
|
+
items: e,
|
|
470
|
+
onChange: o,
|
|
471
|
+
isValid: i,
|
|
472
|
+
selected: l,
|
|
473
|
+
selectLabel: c
|
|
474
|
+
}) => {
|
|
475
|
+
const r = e?.map((n) => {
|
|
476
|
+
const s = n.getValue({ isValid: i });
|
|
477
|
+
return {
|
|
478
|
+
label: n.label,
|
|
479
|
+
onClick: () => {
|
|
480
|
+
o(s, "accept", n);
|
|
481
|
+
},
|
|
482
|
+
disabled: !i(s)
|
|
483
|
+
};
|
|
484
|
+
});
|
|
485
|
+
return /* @__PURE__ */ a(I, { sx: { py: 16 }, children: /* @__PURE__ */ a(
|
|
486
|
+
Q,
|
|
487
|
+
{
|
|
488
|
+
InputLabelProps: {
|
|
489
|
+
shrink: !0
|
|
490
|
+
},
|
|
491
|
+
SelectProps: { IconComponent: de },
|
|
492
|
+
defaultValue: l,
|
|
493
|
+
id: "select",
|
|
494
|
+
label: c,
|
|
495
|
+
select: !0,
|
|
496
|
+
sx: { width: "100%" },
|
|
497
|
+
value: l,
|
|
498
|
+
variant: "outlined",
|
|
499
|
+
children: r?.map((n) => /* @__PURE__ */ a(Ae, { onClick: n.onClick, value: n.label, children: n.label }, n.label))
|
|
500
|
+
}
|
|
501
|
+
) });
|
|
502
|
+
}, Ue = (e) => {
|
|
503
|
+
const { toolbar: o, content: i, shortcuts: l } = Ee(e);
|
|
504
|
+
return /* @__PURE__ */ T(
|
|
505
|
+
Se,
|
|
506
|
+
{
|
|
507
|
+
ownerState: e,
|
|
508
|
+
sx: {
|
|
509
|
+
gridTemplateColumns: "minmax(320px, 1fr)",
|
|
510
|
+
overflow: "auto",
|
|
511
|
+
p: 0,
|
|
512
|
+
[`.${P.toolbar}`]: {
|
|
513
|
+
gridColumn: 1,
|
|
514
|
+
gridRow: 2
|
|
515
|
+
},
|
|
516
|
+
[`.${P.contentWrapper}`]: {
|
|
517
|
+
alignItems: "center",
|
|
518
|
+
gridColumn: 1,
|
|
519
|
+
gridRow: 3
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
children: [
|
|
523
|
+
/* @__PURE__ */ T(I, { sx: { gridColumn: 1, gridRow: 1, p: 16 }, children: [
|
|
524
|
+
l,
|
|
525
|
+
o
|
|
526
|
+
] }),
|
|
527
|
+
/* @__PURE__ */ a(Ie, { className: P.contentWrapper, children: i })
|
|
528
|
+
]
|
|
529
|
+
}
|
|
530
|
+
);
|
|
531
|
+
}, q0 = ({
|
|
466
532
|
copy: e,
|
|
467
533
|
dateRange: o,
|
|
468
534
|
onRangeChanged: i,
|
|
469
|
-
selectedShortcut:
|
|
470
|
-
sx:
|
|
535
|
+
selectedShortcut: l = e.dateRangeThisMonth,
|
|
536
|
+
sx: c = {}
|
|
471
537
|
}) => {
|
|
472
|
-
const
|
|
473
|
-
const t = he(),
|
|
538
|
+
const r = H(), n = fe(r.breakpoints.down("sm")), s = x.useMemo(() => {
|
|
539
|
+
const t = he(), m = ge(t, 1), C = me(t, 1);
|
|
474
540
|
return [
|
|
475
541
|
{
|
|
476
542
|
label: e.dateRangeThisMonth,
|
|
477
|
-
getValue: () => [
|
|
543
|
+
getValue: () => [Z(t), W(t)]
|
|
478
544
|
},
|
|
479
545
|
{
|
|
480
546
|
label: e.dateRangeLastMonth,
|
|
481
|
-
getValue: () => [
|
|
547
|
+
getValue: () => [Z(m), W(m)]
|
|
482
548
|
},
|
|
483
549
|
{
|
|
484
550
|
label: e.dateRangeLast30Days,
|
|
@@ -490,22 +556,22 @@ const oe = {
|
|
|
490
556
|
},
|
|
491
557
|
{
|
|
492
558
|
label: e.dateRangeYTD,
|
|
493
|
-
getValue: () => [
|
|
559
|
+
getValue: () => [K(t), t]
|
|
494
560
|
},
|
|
495
561
|
{
|
|
496
562
|
label: e.dateRangeLastYear,
|
|
497
|
-
getValue: () => [
|
|
563
|
+
getValue: () => [K(C), pe(C)]
|
|
498
564
|
},
|
|
499
565
|
{
|
|
500
566
|
label: e.dateRangeCustom,
|
|
501
567
|
getValue: () => [t, t]
|
|
502
568
|
}
|
|
503
569
|
];
|
|
504
|
-
}, [e]),
|
|
505
|
-
const
|
|
506
|
-
i?.(t,
|
|
570
|
+
}, [e]), d = (t, m) => {
|
|
571
|
+
const C = m.shortcut;
|
|
572
|
+
i?.(t, C ? C.label : e.dateRangeCustom);
|
|
507
573
|
};
|
|
508
|
-
return /* @__PURE__ */ a(
|
|
574
|
+
return /* @__PURE__ */ a(I, { gap: n ? 0 : 16, m: n ? 0 : 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
|
|
509
575
|
Te,
|
|
510
576
|
{
|
|
511
577
|
calendars: 1,
|
|
@@ -514,62 +580,93 @@ const oe = {
|
|
|
514
580
|
end: e.dateRangeTo,
|
|
515
581
|
toolbarTitle: e.dateRangeToolbarTitle
|
|
516
582
|
},
|
|
517
|
-
onChange:
|
|
583
|
+
onChange: d,
|
|
518
584
|
showDaysOutsideCurrentMonth: !0,
|
|
519
585
|
slotProps: {
|
|
520
586
|
actionBar: { actions: [] },
|
|
587
|
+
layout: {
|
|
588
|
+
sx: {
|
|
589
|
+
"& .MuiPickersLayout-toolbar": {
|
|
590
|
+
gridColumn: "1/4",
|
|
591
|
+
gridRow: 1
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
},
|
|
521
595
|
shortcuts: {
|
|
522
|
-
items:
|
|
596
|
+
items: s
|
|
523
597
|
},
|
|
524
598
|
toolbar: {
|
|
525
|
-
toolbarFormat: "MMM d, yyyy"
|
|
599
|
+
toolbarFormat: n ? "MM/dd/yyyy" : "MMM d, yyyy"
|
|
526
600
|
}
|
|
527
601
|
},
|
|
528
602
|
slots: {
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
603
|
+
...n && { layout: Ue },
|
|
604
|
+
leftArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_left", size: 28 }),
|
|
605
|
+
shortcuts: (t) => n ? /* @__PURE__ */ a(
|
|
606
|
+
$e,
|
|
607
|
+
{
|
|
608
|
+
selectLabel: e.dateRangeSelectARange,
|
|
609
|
+
selected: l,
|
|
610
|
+
...t
|
|
611
|
+
}
|
|
612
|
+
) : /* @__PURE__ */ a(Ge, { selected: l, ...t }),
|
|
613
|
+
rightArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_right", size: 28 }),
|
|
614
|
+
...n && {
|
|
615
|
+
toolbar: (t) => /* @__PURE__ */ a(
|
|
616
|
+
xe,
|
|
617
|
+
{
|
|
618
|
+
dateSeparator: "",
|
|
619
|
+
...t,
|
|
620
|
+
slotProps: {
|
|
621
|
+
textField: ({ position: m }) => ({
|
|
622
|
+
label: m === "start" ? e.dateRangeFrom : e.dateRangeTo
|
|
623
|
+
})
|
|
624
|
+
},
|
|
625
|
+
sx: { gap: 8 }
|
|
626
|
+
}
|
|
627
|
+
)
|
|
628
|
+
}
|
|
532
629
|
},
|
|
533
|
-
sx: { ...
|
|
630
|
+
sx: { ...c },
|
|
534
631
|
value: o
|
|
535
632
|
}
|
|
536
633
|
) }) });
|
|
537
|
-
},
|
|
634
|
+
}, eo = x.forwardRef(function(o, i) {
|
|
538
635
|
return /* @__PURE__ */ a(J, { direction: "up", ref: i, ...o });
|
|
539
|
-
}),
|
|
636
|
+
}), We = ({
|
|
540
637
|
hasSecondaryAction: e = !0,
|
|
541
638
|
isPrimaryDisabled: o,
|
|
542
639
|
onPrimaryAction: i,
|
|
543
|
-
onSecondaryAction:
|
|
544
|
-
primaryColor:
|
|
545
|
-
primaryText:
|
|
546
|
-
secondaryColor:
|
|
547
|
-
secondaryText:
|
|
548
|
-
}) => /* @__PURE__ */
|
|
549
|
-
|
|
640
|
+
onSecondaryAction: l,
|
|
641
|
+
primaryColor: c = "primary",
|
|
642
|
+
primaryText: r = "Save",
|
|
643
|
+
secondaryColor: n = "primary",
|
|
644
|
+
secondaryText: s = "Cancel"
|
|
645
|
+
}) => /* @__PURE__ */ T(
|
|
646
|
+
I,
|
|
550
647
|
{
|
|
551
648
|
direction: "row",
|
|
552
649
|
gap: 16,
|
|
553
650
|
justifyContent: "flex-end",
|
|
554
|
-
sx: { bgcolor: "background.paper",
|
|
651
|
+
sx: { bgcolor: "background.paper", p: 24 },
|
|
555
652
|
children: [
|
|
556
653
|
e && /* @__PURE__ */ a(
|
|
557
|
-
|
|
654
|
+
V,
|
|
558
655
|
{
|
|
559
|
-
color:
|
|
560
|
-
onClick:
|
|
656
|
+
color: n,
|
|
657
|
+
onClick: l,
|
|
561
658
|
variant: i ? "outlined" : "contained",
|
|
562
|
-
children:
|
|
659
|
+
children: s
|
|
563
660
|
}
|
|
564
661
|
),
|
|
565
662
|
i && /* @__PURE__ */ a(
|
|
566
|
-
|
|
663
|
+
V,
|
|
567
664
|
{
|
|
568
|
-
color:
|
|
665
|
+
color: c,
|
|
569
666
|
disabled: o,
|
|
570
667
|
onClick: i,
|
|
571
668
|
variant: "contained",
|
|
572
|
-
children:
|
|
669
|
+
children: r
|
|
573
670
|
}
|
|
574
671
|
)
|
|
575
672
|
]
|
|
@@ -578,79 +675,79 @@ const oe = {
|
|
|
578
675
|
bold: e,
|
|
579
676
|
className: o = "",
|
|
580
677
|
children: i,
|
|
581
|
-
color:
|
|
582
|
-
sx:
|
|
583
|
-
truncate:
|
|
584
|
-
uppercase:
|
|
585
|
-
...
|
|
678
|
+
color: l,
|
|
679
|
+
sx: c = {},
|
|
680
|
+
truncate: r = !0,
|
|
681
|
+
uppercase: n,
|
|
682
|
+
...s
|
|
586
683
|
}) => {
|
|
587
|
-
switch (
|
|
684
|
+
switch (s.variant) {
|
|
588
685
|
case "Body":
|
|
589
|
-
|
|
686
|
+
s.variant = "body1";
|
|
590
687
|
break;
|
|
591
688
|
case "Button":
|
|
592
|
-
|
|
689
|
+
s.variant = "button";
|
|
593
690
|
break;
|
|
594
691
|
case "H1":
|
|
595
|
-
|
|
692
|
+
s.variant = "h1";
|
|
596
693
|
break;
|
|
597
694
|
case "H2":
|
|
598
|
-
|
|
695
|
+
s.variant = "h2";
|
|
599
696
|
break;
|
|
600
697
|
case "H3":
|
|
601
|
-
|
|
698
|
+
s.variant = "h3";
|
|
602
699
|
break;
|
|
603
700
|
case "Paragraph":
|
|
604
|
-
|
|
701
|
+
s.variant = "subtitle1";
|
|
605
702
|
break;
|
|
606
703
|
case "ParagraphSmall":
|
|
607
|
-
|
|
704
|
+
s.variant = "subtitle2";
|
|
608
705
|
break;
|
|
609
706
|
case "Small":
|
|
610
|
-
|
|
707
|
+
s.variant = "body2";
|
|
611
708
|
break;
|
|
612
709
|
case "Tiny":
|
|
613
|
-
|
|
710
|
+
s.variant = "tiny";
|
|
614
711
|
break;
|
|
615
712
|
case "XSmall":
|
|
616
|
-
|
|
713
|
+
s.variant = "caption";
|
|
617
714
|
break;
|
|
618
715
|
}
|
|
619
716
|
return /* @__PURE__ */ a(
|
|
620
|
-
|
|
717
|
+
ye,
|
|
621
718
|
{
|
|
622
719
|
className: `mx-kmui-text ${o}`,
|
|
623
|
-
color:
|
|
720
|
+
color: l,
|
|
624
721
|
sx: [
|
|
625
722
|
e ? {
|
|
626
723
|
fontWeight: 600
|
|
627
724
|
} : {},
|
|
628
|
-
|
|
725
|
+
r ? {
|
|
629
726
|
overflow: "hidden",
|
|
630
727
|
textOverflow: "ellipsis",
|
|
631
728
|
whiteSpace: "nowrap"
|
|
632
729
|
} : {},
|
|
633
|
-
|
|
730
|
+
n ? {
|
|
634
731
|
textTransform: "uppercase"
|
|
635
732
|
} : {},
|
|
636
|
-
...Array.isArray(
|
|
733
|
+
...Array.isArray(c) ? c : [c]
|
|
637
734
|
],
|
|
638
|
-
...
|
|
735
|
+
...s,
|
|
639
736
|
children: i
|
|
640
737
|
}
|
|
641
738
|
);
|
|
642
|
-
},
|
|
739
|
+
}, Ze = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), oo = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), ro = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), to = ({ className: e = "", children: o, truncate: i, ...l }) => /* @__PURE__ */ a(
|
|
643
740
|
k,
|
|
644
741
|
{
|
|
645
742
|
className: `mx-kmui-text p ${e}`,
|
|
646
743
|
component: "p",
|
|
647
744
|
truncate: i || !1,
|
|
648
745
|
variant: "body1",
|
|
649
|
-
...
|
|
746
|
+
...l,
|
|
650
747
|
children: o
|
|
651
748
|
}
|
|
652
|
-
),
|
|
653
|
-
|
|
749
|
+
), io = ({ copy: e, onClose: o }) => /* @__PURE__ */ T(
|
|
750
|
+
I,
|
|
654
751
|
{
|
|
655
752
|
sx: {
|
|
656
753
|
alignItems: "center",
|
|
@@ -660,372 +757,342 @@ const oe = {
|
|
|
660
757
|
py: 14
|
|
661
758
|
},
|
|
662
759
|
children: [
|
|
663
|
-
/* @__PURE__ */ a(
|
|
760
|
+
/* @__PURE__ */ a(Ze, { variant: "h3", children: e.title }),
|
|
664
761
|
/* @__PURE__ */ a(q, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ue, {}) })
|
|
665
762
|
]
|
|
666
763
|
}
|
|
667
|
-
),
|
|
764
|
+
), ao = ({
|
|
668
765
|
className: e,
|
|
669
766
|
disableSave: o,
|
|
670
767
|
id: i,
|
|
671
|
-
isOpen:
|
|
672
|
-
onClose:
|
|
673
|
-
onSave:
|
|
674
|
-
primaryText:
|
|
675
|
-
secondaryText:
|
|
676
|
-
children:
|
|
768
|
+
isOpen: l,
|
|
769
|
+
onClose: c,
|
|
770
|
+
onSave: r,
|
|
771
|
+
primaryText: n,
|
|
772
|
+
secondaryText: s,
|
|
773
|
+
children: d,
|
|
677
774
|
...t
|
|
678
|
-
}) => /* @__PURE__ */
|
|
679
|
-
|
|
775
|
+
}) => /* @__PURE__ */ T(
|
|
776
|
+
ve,
|
|
680
777
|
{
|
|
681
778
|
anchor: "right",
|
|
682
779
|
className: `mx-kmui-drawer ${e}`,
|
|
683
780
|
id: i ?? void 0,
|
|
684
|
-
onClose:
|
|
685
|
-
open:
|
|
781
|
+
onClose: c,
|
|
782
|
+
open: l,
|
|
686
783
|
variant: "temporary",
|
|
687
784
|
...t,
|
|
688
785
|
children: [
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
786
|
+
d,
|
|
787
|
+
r && /* @__PURE__ */ a(
|
|
788
|
+
We,
|
|
692
789
|
{
|
|
693
790
|
isPrimaryDisabled: o,
|
|
694
|
-
onPrimaryAction:
|
|
695
|
-
onSecondaryAction:
|
|
696
|
-
primaryText:
|
|
697
|
-
secondaryText:
|
|
791
|
+
onPrimaryAction: r,
|
|
792
|
+
onSecondaryAction: c,
|
|
793
|
+
primaryText: n,
|
|
794
|
+
secondaryText: s
|
|
698
795
|
}
|
|
699
796
|
)
|
|
700
797
|
]
|
|
701
798
|
}
|
|
702
|
-
), re = 32,
|
|
799
|
+
), re = 32, $ = "https://content.moneydesktop.com/storage/MD_Assets", Ke = `${$}/serenity/default_institution_logo.png`, no = ({
|
|
703
800
|
alt: e,
|
|
704
801
|
institutionGuid: o,
|
|
705
802
|
logoUrl: i,
|
|
706
|
-
size:
|
|
707
|
-
...
|
|
803
|
+
size: l = re,
|
|
804
|
+
...c
|
|
708
805
|
}) => /* @__PURE__ */ a(
|
|
709
806
|
"img",
|
|
710
807
|
{
|
|
711
808
|
alt: e,
|
|
712
|
-
height:
|
|
713
|
-
onError: (
|
|
714
|
-
src: i || `${
|
|
809
|
+
height: l,
|
|
810
|
+
onError: (r) => r.target.src = Ke,
|
|
811
|
+
src: i || `${$}/Ipad%20Logos/100x100/${o}_100x100.png`,
|
|
715
812
|
style: {
|
|
716
813
|
borderRadius: 4
|
|
717
814
|
},
|
|
718
|
-
width:
|
|
719
|
-
...
|
|
815
|
+
width: l,
|
|
816
|
+
...c
|
|
720
817
|
}
|
|
721
|
-
),
|
|
818
|
+
), lo = ({
|
|
722
819
|
alt: e = "",
|
|
723
820
|
categoryGuid: o,
|
|
724
821
|
merchantGuid: i,
|
|
725
|
-
size:
|
|
726
|
-
...
|
|
822
|
+
size: l = re,
|
|
823
|
+
...c
|
|
727
824
|
}) => {
|
|
728
|
-
const [
|
|
729
|
-
return /* @__PURE__ */
|
|
730
|
-
i && !
|
|
825
|
+
const [r, n] = x.useState(!1), s = H();
|
|
826
|
+
return /* @__PURE__ */ T(j, { display: "inline-block", position: "relative", ...c, children: [
|
|
827
|
+
i && !r && /* @__PURE__ */ a(
|
|
731
828
|
"img",
|
|
732
829
|
{
|
|
733
830
|
alt: e,
|
|
734
831
|
"aria-hidden": !e,
|
|
735
|
-
height:
|
|
736
|
-
onError: () =>
|
|
737
|
-
src: `${
|
|
832
|
+
height: l,
|
|
833
|
+
onError: () => n(!0),
|
|
834
|
+
src: `${$}/merchant_logos/${i}.png`,
|
|
738
835
|
style: {
|
|
739
|
-
backgroundColor:
|
|
836
|
+
backgroundColor: s.palette.common.white,
|
|
740
837
|
borderRadius: 4,
|
|
741
838
|
boxSizing: "border-box",
|
|
742
839
|
position: "absolute"
|
|
743
840
|
},
|
|
744
|
-
width:
|
|
841
|
+
width: l
|
|
745
842
|
}
|
|
746
843
|
),
|
|
747
|
-
/* @__PURE__ */ a(
|
|
844
|
+
/* @__PURE__ */ a(Ve, { categoryGuid: o, size: l })
|
|
748
845
|
] });
|
|
749
|
-
},
|
|
846
|
+
}, co = ({
|
|
750
847
|
disabled: e = !1,
|
|
751
848
|
label: o = "",
|
|
752
849
|
shrink: i = !0,
|
|
753
|
-
variant:
|
|
754
|
-
...
|
|
850
|
+
variant: l = "outlined",
|
|
851
|
+
...c
|
|
755
852
|
}) => /* @__PURE__ */ a(
|
|
756
|
-
|
|
853
|
+
Q,
|
|
757
854
|
{
|
|
758
855
|
InputLabelProps: {
|
|
759
856
|
shrink: i
|
|
760
857
|
},
|
|
761
858
|
disabled: e,
|
|
762
859
|
label: o,
|
|
763
|
-
variant:
|
|
764
|
-
...
|
|
860
|
+
variant: l,
|
|
861
|
+
...c
|
|
765
862
|
}
|
|
766
863
|
);
|
|
767
|
-
function
|
|
864
|
+
function Ye(e) {
|
|
768
865
|
return /* @__PURE__ */ a(J, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
769
866
|
}
|
|
770
|
-
const
|
|
771
|
-
open: e,
|
|
867
|
+
const so = ({
|
|
868
|
+
open: e = !0,
|
|
772
869
|
handleClose: o,
|
|
773
|
-
|
|
774
|
-
|
|
870
|
+
closeAriaLabel: i,
|
|
871
|
+
message: l,
|
|
872
|
+
autoHideDuration: c = 3e3,
|
|
775
873
|
severity: r = "success",
|
|
776
|
-
snackbarSx:
|
|
777
|
-
showAction:
|
|
778
|
-
showClose:
|
|
779
|
-
actionText:
|
|
780
|
-
onActionClick:
|
|
781
|
-
multiLine: u = !1
|
|
874
|
+
snackbarSx: n,
|
|
875
|
+
showAction: s = !1,
|
|
876
|
+
showClose: d = !1,
|
|
877
|
+
actionText: t = "Undo",
|
|
878
|
+
onActionClick: m
|
|
782
879
|
}) => {
|
|
783
|
-
const
|
|
784
|
-
F,
|
|
785
|
-
{
|
|
786
|
-
alignItems: u ? "flex-end" : "center",
|
|
787
|
-
direction: u ? "column-reverse" : "row",
|
|
788
|
-
justifyContent: (
|
|
789
|
-
// eslint-disable-next-line no-nested-ternary
|
|
790
|
-
u && c && l ? "space-between" : "flex-end"
|
|
791
|
-
),
|
|
792
|
-
children: [
|
|
793
|
-
c && /* @__PURE__ */ a(
|
|
794
|
-
B,
|
|
795
|
-
{
|
|
796
|
-
color: "inherit",
|
|
797
|
-
onClick: t || o,
|
|
798
|
-
size: "small",
|
|
799
|
-
sx: {
|
|
800
|
-
color: T.palette.success.contrastText,
|
|
801
|
-
height: 44
|
|
802
|
-
},
|
|
803
|
-
children: s
|
|
804
|
-
}
|
|
805
|
-
),
|
|
806
|
-
l && /* @__PURE__ */ a(
|
|
807
|
-
q,
|
|
808
|
-
{
|
|
809
|
-
"aria-label": "close",
|
|
810
|
-
color: "inherit",
|
|
811
|
-
onClick: o,
|
|
812
|
-
sx: { height: 44, width: 44 },
|
|
813
|
-
children: /* @__PURE__ */ a(M, { fill: !0, name: "close", size: 24, weight: 400 })
|
|
814
|
-
}
|
|
815
|
-
)
|
|
816
|
-
]
|
|
817
|
-
}
|
|
818
|
-
);
|
|
880
|
+
const C = H(), O = d && /* @__PURE__ */ a(q, { "aria-label": i, color: "inherit", onClick: o, size: "small", children: /* @__PURE__ */ a(R, { fill: !0, name: "close" }) }), g = `${r}.main`;
|
|
819
881
|
return /* @__PURE__ */ a(
|
|
820
|
-
|
|
882
|
+
He,
|
|
821
883
|
{
|
|
822
|
-
TransitionComponent:
|
|
884
|
+
TransitionComponent: Ye,
|
|
823
885
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
824
|
-
autoHideDuration:
|
|
886
|
+
autoHideDuration: c,
|
|
825
887
|
onClose: o,
|
|
826
888
|
open: e,
|
|
827
889
|
sx: {
|
|
828
|
-
...
|
|
829
|
-
|
|
890
|
+
...n,
|
|
891
|
+
maxWidth: 568,
|
|
892
|
+
minWidth: 288,
|
|
893
|
+
minHeight: 56
|
|
830
894
|
},
|
|
831
895
|
children: /* @__PURE__ */ a(
|
|
832
|
-
|
|
896
|
+
Le,
|
|
833
897
|
{
|
|
834
|
-
action:
|
|
898
|
+
action: O,
|
|
835
899
|
severity: r,
|
|
836
900
|
sx: {
|
|
901
|
+
backgroundColor: g,
|
|
837
902
|
display: "flex",
|
|
838
|
-
alignItems: "stretch",
|
|
839
|
-
minHeight: l && c && u ? 120 : 56,
|
|
840
|
-
maxHeight: u ? 120 : 56,
|
|
841
903
|
width: "100%",
|
|
842
|
-
|
|
843
|
-
alignSelf: u ? "flex-start" : "center"
|
|
844
|
-
},
|
|
904
|
+
py: 8,
|
|
845
905
|
"& .MuiAlert-message": {
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
906
|
+
my: 0,
|
|
907
|
+
flex: 1,
|
|
908
|
+
overflow: "hidden"
|
|
849
909
|
},
|
|
850
910
|
"& .MuiAlert-action": {
|
|
851
|
-
alignItems: "
|
|
852
|
-
height: "auto"
|
|
911
|
+
alignItems: d ? "flex-start" : "center"
|
|
853
912
|
}
|
|
854
913
|
},
|
|
855
914
|
variant: "filled",
|
|
856
|
-
children: /* @__PURE__ */
|
|
857
|
-
|
|
915
|
+
children: /* @__PURE__ */ T(
|
|
916
|
+
I,
|
|
858
917
|
{
|
|
859
918
|
sx: {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
919
|
+
flexDirection: "row",
|
|
920
|
+
flexWrap: "wrap",
|
|
921
|
+
alignItems: "baseline",
|
|
922
|
+
justifyContent: "space-between",
|
|
923
|
+
width: "100%",
|
|
924
|
+
rowGap: "16px",
|
|
925
|
+
columnGap: "16px"
|
|
864
926
|
},
|
|
865
|
-
|
|
866
|
-
|
|
927
|
+
children: [
|
|
928
|
+
/* @__PURE__ */ a(
|
|
929
|
+
k,
|
|
930
|
+
{
|
|
931
|
+
sx: {
|
|
932
|
+
lineHeight: C.typography.body1.lineHeight,
|
|
933
|
+
flex: 1,
|
|
934
|
+
minWidth: "70%",
|
|
935
|
+
px: 5
|
|
936
|
+
},
|
|
937
|
+
truncate: !1,
|
|
938
|
+
children: l
|
|
939
|
+
}
|
|
940
|
+
),
|
|
941
|
+
s && /* @__PURE__ */ a(
|
|
942
|
+
V,
|
|
943
|
+
{
|
|
944
|
+
color: "inherit",
|
|
945
|
+
onClick: m || o,
|
|
946
|
+
size: "small",
|
|
947
|
+
sx: {
|
|
948
|
+
color: C.palette.success.contrastText,
|
|
949
|
+
whiteSpace: "nowrap",
|
|
950
|
+
flexShrink: 0,
|
|
951
|
+
minWidth: "auto",
|
|
952
|
+
justifyContent: "flex-start"
|
|
953
|
+
},
|
|
954
|
+
children: t
|
|
955
|
+
}
|
|
956
|
+
)
|
|
957
|
+
]
|
|
867
958
|
}
|
|
868
959
|
)
|
|
869
960
|
}
|
|
870
961
|
)
|
|
871
962
|
}
|
|
872
963
|
);
|
|
873
|
-
},
|
|
964
|
+
}, F = {
|
|
874
965
|
REACT: "react",
|
|
875
966
|
REACT_NATIVE: "react_native",
|
|
876
967
|
NATIVE: "native"
|
|
877
|
-
},
|
|
968
|
+
}, N = {
|
|
878
969
|
LIGHT: "light",
|
|
879
970
|
DARK: "dark"
|
|
880
|
-
}, te =
|
|
881
|
-
|
|
882
|
-
),
|
|
971
|
+
}, te = x.createContext(ee), ie = x.createContext(
|
|
972
|
+
G(N.LIGHT, F.REACT_NATIVE)
|
|
973
|
+
), uo = ({
|
|
883
974
|
children: e,
|
|
884
|
-
target: o =
|
|
885
|
-
theme: i =
|
|
886
|
-
tokenOverrides:
|
|
975
|
+
target: o = F.REACT,
|
|
976
|
+
theme: i = N.LIGHT,
|
|
977
|
+
tokenOverrides: l
|
|
887
978
|
}) => {
|
|
888
|
-
const [
|
|
889
|
-
...
|
|
890
|
-
}), [
|
|
891
|
-
return
|
|
892
|
-
const
|
|
893
|
-
|
|
894
|
-
}, [i, o,
|
|
895
|
-
},
|
|
896
|
-
const i = e ===
|
|
897
|
-
return
|
|
898
|
-
},
|
|
899
|
-
component: e =
|
|
979
|
+
const [c, r] = x.useState(i === N.LIGHT ? ee : Fe), n = x.useMemo(() => ({
|
|
980
|
+
...l
|
|
981
|
+
}), [l]);
|
|
982
|
+
return x.useEffect(() => {
|
|
983
|
+
const s = G(i, o, { ...n });
|
|
984
|
+
r(s);
|
|
985
|
+
}, [i, o, n]), o === F.REACT ? /* @__PURE__ */ a(te.Provider, { value: c, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(ie.Provider, { value: c, children: e }));
|
|
986
|
+
}, po = (e = F.REACT, o = {}) => {
|
|
987
|
+
const i = e === F.REACT ? te : ie, l = x.useContext(i);
|
|
988
|
+
return l || G(N.LIGHT, e, { ...o });
|
|
989
|
+
}, ho = ({
|
|
990
|
+
component: e = B,
|
|
900
991
|
variant: o = "outlined",
|
|
901
992
|
selected: i,
|
|
902
|
-
onChange:
|
|
903
|
-
headline:
|
|
904
|
-
message:
|
|
905
|
-
name:
|
|
906
|
-
value:
|
|
907
|
-
disabled:
|
|
993
|
+
onChange: l,
|
|
994
|
+
headline: c,
|
|
995
|
+
message: r,
|
|
996
|
+
name: n,
|
|
997
|
+
value: s,
|
|
998
|
+
disabled: d = !1,
|
|
908
999
|
error: t = !1,
|
|
909
|
-
icon:
|
|
910
|
-
sx:
|
|
911
|
-
...
|
|
1000
|
+
icon: m = !1,
|
|
1001
|
+
sx: C = {},
|
|
1002
|
+
...O
|
|
912
1003
|
}) => {
|
|
913
|
-
const
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
n({
|
|
917
|
-
target: { value: l, checked: $ }
|
|
918
|
-
}, $);
|
|
919
|
-
}
|
|
920
|
-
}, ne = () => m.palette.background.paper, G = () => t ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : s ? i ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : void 0 : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : void 0, le = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ce = () => s || t ? G() : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : void 0, se = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
|
|
921
|
-
return /* @__PURE__ */ x(
|
|
922
|
-
He,
|
|
1004
|
+
const g = H(), ae = () => g.palette.background.paper, w = () => t ? `inset 0px 0px 0px 2px ${g.palette.error.main}` : d ? i ? `inset 0px 0px 0px 2px ${g.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${g.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${g.palette.action.disabled}` : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(g.palette.common.black, 0.23)}` : i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : g.shadows[1], ne = () => d || t ? g.palette.background.paper : b(g.palette.primary.main, 0.1), le = () => d || t ? w() : o === "outlined" ? i ? `inset 0px 0px 0px 2px ${b(g.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(g.palette.primary.main, 0.5)}` : w(), ce = () => d || t ? g.palette.background.paper : b(g.palette.primary.main, 0.3);
|
|
1005
|
+
return /* @__PURE__ */ a(
|
|
1006
|
+
ke,
|
|
923
1007
|
{
|
|
924
|
-
|
|
925
|
-
|
|
1008
|
+
checked: i,
|
|
1009
|
+
control: e === B ? /* @__PURE__ */ a(
|
|
1010
|
+
B,
|
|
1011
|
+
{
|
|
1012
|
+
name: n,
|
|
1013
|
+
sx: {
|
|
1014
|
+
p: 0,
|
|
1015
|
+
ml: 16,
|
|
1016
|
+
mt: "8px",
|
|
1017
|
+
flexShrink: 0,
|
|
1018
|
+
"& .MuiSvgIcon-root": {
|
|
1019
|
+
fontSize: "20px"
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
...O
|
|
1023
|
+
}
|
|
1024
|
+
) : /* @__PURE__ */ a(
|
|
1025
|
+
Oe,
|
|
1026
|
+
{
|
|
1027
|
+
name: n,
|
|
1028
|
+
sx: {
|
|
1029
|
+
p: 0,
|
|
1030
|
+
ml: 16,
|
|
1031
|
+
mt: "8px",
|
|
1032
|
+
flexShrink: 0,
|
|
1033
|
+
"& .MuiSvgIcon-root": {
|
|
1034
|
+
fontSize: "20px"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
...O
|
|
1038
|
+
}
|
|
1039
|
+
),
|
|
1040
|
+
disabled: d,
|
|
1041
|
+
label: /* @__PURE__ */ T(_, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
|
|
1042
|
+
m && /* @__PURE__ */ a(_, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: m }),
|
|
1043
|
+
/* @__PURE__ */ T(_, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
1044
|
+
c && /* @__PURE__ */ a(X, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: c }),
|
|
1045
|
+
/* @__PURE__ */ a(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: r })
|
|
1046
|
+
] })
|
|
1047
|
+
] }),
|
|
1048
|
+
labelPlacement: "start",
|
|
1049
|
+
onChange: l,
|
|
926
1050
|
sx: {
|
|
927
1051
|
display: "flex",
|
|
928
1052
|
padding: "6px 16px",
|
|
929
1053
|
alignItems: "flex-start",
|
|
930
1054
|
justifyContent: "space-between",
|
|
931
|
-
borderRadius:
|
|
1055
|
+
borderRadius: g.shape.borderRadius / 2,
|
|
932
1056
|
mb: 16,
|
|
933
|
-
cursor:
|
|
934
|
-
opacity:
|
|
935
|
-
backgroundColor:
|
|
1057
|
+
cursor: d ? "not-allowed" : "pointer",
|
|
1058
|
+
opacity: d ? 0.6 : 1,
|
|
1059
|
+
backgroundColor: ae(),
|
|
936
1060
|
border: "none",
|
|
937
|
-
boxShadow:
|
|
1061
|
+
boxShadow: w(),
|
|
938
1062
|
boxSizing: "border-box",
|
|
939
|
-
transition:
|
|
940
|
-
duration:
|
|
1063
|
+
transition: g.transitions.create(["background-color", "box-shadow"], {
|
|
1064
|
+
duration: g.transitions.duration.short
|
|
941
1065
|
}),
|
|
942
1066
|
"&:hover": {
|
|
943
|
-
backgroundColor:
|
|
944
|
-
boxShadow:
|
|
1067
|
+
backgroundColor: ne(),
|
|
1068
|
+
boxShadow: le()
|
|
945
1069
|
},
|
|
946
1070
|
"&:active": {
|
|
947
|
-
backgroundColor:
|
|
1071
|
+
backgroundColor: ce()
|
|
948
1072
|
},
|
|
949
1073
|
"&:focus-visible": {
|
|
950
|
-
outline: `2px solid ${
|
|
1074
|
+
outline: `2px solid ${g.palette.info.main}`,
|
|
951
1075
|
outlineOffset: "2px"
|
|
952
1076
|
},
|
|
953
|
-
...
|
|
1077
|
+
...C
|
|
954
1078
|
},
|
|
955
|
-
|
|
956
|
-
variant: o,
|
|
957
|
-
children: [
|
|
958
|
-
u && /* @__PURE__ */ a(
|
|
959
|
-
X,
|
|
960
|
-
{
|
|
961
|
-
sx: {
|
|
962
|
-
mr: 12,
|
|
963
|
-
mt: "8px",
|
|
964
|
-
flexShrink: 0
|
|
965
|
-
},
|
|
966
|
-
children: u
|
|
967
|
-
}
|
|
968
|
-
),
|
|
969
|
-
/* @__PURE__ */ x(X, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
970
|
-
r && /* @__PURE__ */ a(K, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
|
|
971
|
-
/* @__PURE__ */ a(K, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
|
|
972
|
-
] }),
|
|
973
|
-
e === D ? /* @__PURE__ */ a(
|
|
974
|
-
D,
|
|
975
|
-
{
|
|
976
|
-
checked: i,
|
|
977
|
-
disabled: s,
|
|
978
|
-
name: c,
|
|
979
|
-
onChange: n,
|
|
980
|
-
sx: {
|
|
981
|
-
p: 0,
|
|
982
|
-
ml: 16,
|
|
983
|
-
mt: "8px",
|
|
984
|
-
flexShrink: 0,
|
|
985
|
-
"& .MuiSvgIcon-root": {
|
|
986
|
-
fontSize: "20px"
|
|
987
|
-
}
|
|
988
|
-
},
|
|
989
|
-
value: l,
|
|
990
|
-
...L
|
|
991
|
-
}
|
|
992
|
-
) : /* @__PURE__ */ a(
|
|
993
|
-
ye,
|
|
994
|
-
{
|
|
995
|
-
checked: i,
|
|
996
|
-
disabled: s,
|
|
997
|
-
name: c,
|
|
998
|
-
onChange: n,
|
|
999
|
-
sx: {
|
|
1000
|
-
p: 0,
|
|
1001
|
-
ml: 16,
|
|
1002
|
-
mt: "8px",
|
|
1003
|
-
flexShrink: 0,
|
|
1004
|
-
"& .MuiSvgIcon-root": {
|
|
1005
|
-
fontSize: "20px"
|
|
1006
|
-
}
|
|
1007
|
-
},
|
|
1008
|
-
value: l,
|
|
1009
|
-
...L
|
|
1010
|
-
}
|
|
1011
|
-
)
|
|
1012
|
-
]
|
|
1079
|
+
value: s
|
|
1013
1080
|
}
|
|
1014
1081
|
);
|
|
1015
1082
|
}, v = {
|
|
1016
1083
|
LIGHT: "light"
|
|
1017
|
-
},
|
|
1018
|
-
50:
|
|
1019
|
-
100:
|
|
1020
|
-
200:
|
|
1021
|
-
300:
|
|
1022
|
-
400:
|
|
1084
|
+
}, M = (e) => ({
|
|
1085
|
+
50: L(e, 0.95),
|
|
1086
|
+
100: L(e, 0.85),
|
|
1087
|
+
200: L(e, 0.7),
|
|
1088
|
+
300: L(e, 0.55),
|
|
1089
|
+
400: L(e, 0.3),
|
|
1023
1090
|
500: e,
|
|
1024
|
-
600:
|
|
1025
|
-
700:
|
|
1026
|
-
800:
|
|
1027
|
-
900:
|
|
1028
|
-
}),
|
|
1091
|
+
600: D(e, 0.3),
|
|
1092
|
+
700: D(e, 0.5),
|
|
1093
|
+
800: D(e, 0.65),
|
|
1094
|
+
900: D(e, 0.75)
|
|
1095
|
+
}), A = "#FFFFFF", z = "#000000", Xe = "#F9F9F9", je = "#000000", Qe = "#FFFFFF", Je = "#1A1A1A", E = {
|
|
1029
1096
|
PRIMARY: "#2C64EF",
|
|
1030
1097
|
SECONDARY: "#808080",
|
|
1031
1098
|
INFO: "#2C64EF",
|
|
@@ -1041,14 +1108,14 @@ const J0 = ({
|
|
|
1041
1108
|
CHART5: "#60A9FF",
|
|
1042
1109
|
CHART6: "#C8BAEE",
|
|
1043
1110
|
CHART7: "#585E67"
|
|
1044
|
-
},
|
|
1111
|
+
}, y = {
|
|
1045
1112
|
CHART_MONO1: "#C3EAFF",
|
|
1046
1113
|
CHART_MONO2: "#8ED7FF",
|
|
1047
1114
|
CHART_MONO3: "#60A9FF",
|
|
1048
1115
|
CHART_MONO4: "#2F73DA",
|
|
1049
1116
|
CHART_MONO5: "#034AB3",
|
|
1050
1117
|
CHART_MONO6: "#002966"
|
|
1051
|
-
},
|
|
1118
|
+
}, u = {
|
|
1052
1119
|
AUTO_TRANSPORTT: "#00B0FF",
|
|
1053
1120
|
BILLS_UTILITIES: "#F949BD",
|
|
1054
1121
|
BUSINESS_SERVICES: "#2979FF",
|
|
@@ -1071,7 +1138,7 @@ const J0 = ({
|
|
|
1071
1138
|
TRANSFER: "#2B9580",
|
|
1072
1139
|
TRAVEL: "#3D5AFE",
|
|
1073
1140
|
UNCATEGORIZED: "#8495AD"
|
|
1074
|
-
},
|
|
1141
|
+
}, p = {
|
|
1075
1142
|
AUTO_TRANSPORTT: "#77DAFF",
|
|
1076
1143
|
BILLS_UTILITIES: "#FF81D4",
|
|
1077
1144
|
BUSINESS_SERVICES: "#4BBAFF",
|
|
@@ -1094,141 +1161,121 @@ const J0 = ({
|
|
|
1094
1161
|
TRANSFER: "#75C7B7",
|
|
1095
1162
|
TRAVEL: "#76ACF7",
|
|
1096
1163
|
UNCATEGORIZED: "#BCC6D4"
|
|
1097
|
-
},
|
|
1098
|
-
const i =
|
|
1164
|
+
}, qe = (e, o) => {
|
|
1165
|
+
const i = M(o?.primary || E.PRIMARY), l = M(o?.secondary || E.SECONDARY), c = M(o?.error || E.ERROR), r = M(o?.warning || E.WARNING), n = M(o?.info || E.INFO), s = M(o?.success || E.SUCCESS), d = M(o?.grey || E.GREY), t = e === v.LIGHT;
|
|
1099
1166
|
return {
|
|
1100
1167
|
mode: e,
|
|
1101
1168
|
// DEPRECATED: Use grey instead
|
|
1102
1169
|
border: {
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
/* DEPRECATED: Use light instead */
|
|
1109
|
-
darker: s[500]
|
|
1170
|
+
lighter: t ? d[300] : d[700],
|
|
1171
|
+
light: t ? d[300] : d[700],
|
|
1172
|
+
main: t ? d[400] : d[600],
|
|
1173
|
+
dark: d[500],
|
|
1174
|
+
darker: d[500]
|
|
1110
1175
|
},
|
|
1111
1176
|
common: {
|
|
1112
|
-
white:
|
|
1113
|
-
black:
|
|
1177
|
+
white: A,
|
|
1178
|
+
black: z
|
|
1114
1179
|
},
|
|
1115
1180
|
primary: {
|
|
1116
1181
|
...i,
|
|
1117
|
-
|
|
1118
|
-
lighter: t ? i[100] : i[800],
|
|
1182
|
+
lighter: t ? i[100] : i[700],
|
|
1119
1183
|
light: t ? i[300] : i[600],
|
|
1120
1184
|
main: t ? i[500] : i[400],
|
|
1121
1185
|
dark: t ? i[700] : i[200],
|
|
1122
|
-
|
|
1123
|
-
darker: t ? i[900] : i[100]
|
|
1186
|
+
darker: t ? i[800] : i[100]
|
|
1124
1187
|
},
|
|
1125
1188
|
secondary: {
|
|
1126
|
-
...
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
/* DEPRECATED: Use dark instead */
|
|
1133
|
-
darker: t ? n[900] : n[100]
|
|
1189
|
+
...l,
|
|
1190
|
+
lighter: t ? l[100] : l[800],
|
|
1191
|
+
light: t ? l[300] : l[600],
|
|
1192
|
+
main: t ? l[500] : l[400],
|
|
1193
|
+
dark: t ? l[700] : l[200],
|
|
1194
|
+
darker: t ? l[800] : l[100]
|
|
1134
1195
|
},
|
|
1135
1196
|
neutral: {
|
|
1136
|
-
...s,
|
|
1137
|
-
/* DEPRECATED: Use light instead */
|
|
1138
|
-
lighter: t ? s[100] : s[800],
|
|
1139
|
-
light: t ? s[300] : s[600],
|
|
1140
|
-
main: t ? s[500] : s[400],
|
|
1141
|
-
dark: t ? s[700] : s[200],
|
|
1142
|
-
/* DEPRECATED: Use dark instead */
|
|
1143
|
-
darker: t ? s[900] : s[100],
|
|
1144
|
-
contrastText: Oe(t ? s[700] : s[400], "#fff") > 4.5 ? R : s[900]
|
|
1145
|
-
},
|
|
1146
|
-
text: {
|
|
1147
|
-
primary: t ? s[900] : R,
|
|
1148
|
-
secondary: t ? s[600] : b(R, 0.7),
|
|
1149
|
-
disabled: t ? s[500] : b(R, 0.38)
|
|
1150
|
-
},
|
|
1151
|
-
error: {
|
|
1152
|
-
...r,
|
|
1153
|
-
/* DEPRECATED: Use light instead */
|
|
1154
|
-
lighter: t ? r[100] : r[800],
|
|
1155
|
-
light: t ? r[300] : r[600],
|
|
1156
|
-
main: t ? r[500] : r[400],
|
|
1157
|
-
dark: t ? r[700] : r[200],
|
|
1158
|
-
/* DEPRECATED: Use light instead */
|
|
1159
|
-
darker: t ? r[900] : r[100]
|
|
1160
|
-
},
|
|
1161
|
-
warning: {
|
|
1162
1197
|
...d,
|
|
1163
|
-
/* DEPRECATED: Use light instead */
|
|
1164
1198
|
lighter: t ? d[100] : d[800],
|
|
1165
1199
|
light: t ? d[300] : d[600],
|
|
1166
1200
|
main: t ? d[500] : d[400],
|
|
1167
1201
|
dark: t ? d[700] : d[200],
|
|
1168
|
-
|
|
1169
|
-
|
|
1202
|
+
darker: t ? d[800] : d[100],
|
|
1203
|
+
contrastText: De(t ? d[700] : d[400], "#fff") > 4.5 ? A : d[900]
|
|
1170
1204
|
},
|
|
1171
|
-
|
|
1205
|
+
text: {
|
|
1206
|
+
primary: t ? d[900] : A,
|
|
1207
|
+
secondary: t ? d[600] : b(A, 0.7),
|
|
1208
|
+
disabled: t ? d[500] : b(A, 0.38)
|
|
1209
|
+
},
|
|
1210
|
+
error: {
|
|
1172
1211
|
...c,
|
|
1173
|
-
|
|
1174
|
-
lighter: t ? c[100] : c[800],
|
|
1212
|
+
lighter: t ? c[100] : c[700],
|
|
1175
1213
|
light: t ? c[300] : c[600],
|
|
1176
1214
|
main: t ? c[500] : c[400],
|
|
1177
1215
|
dark: t ? c[700] : c[200],
|
|
1178
|
-
|
|
1179
|
-
|
|
1216
|
+
darker: t ? c[800] : c[100]
|
|
1217
|
+
},
|
|
1218
|
+
warning: {
|
|
1219
|
+
...r,
|
|
1220
|
+
lighter: t ? r[100] : r[700],
|
|
1221
|
+
light: t ? r[300] : r[600],
|
|
1222
|
+
main: t ? r[500] : r[400],
|
|
1223
|
+
dark: t ? r[700] : r[200],
|
|
1224
|
+
darker: t ? r[800] : r[100]
|
|
1225
|
+
},
|
|
1226
|
+
info: {
|
|
1227
|
+
...n,
|
|
1228
|
+
lighter: t ? n[100] : n[700],
|
|
1229
|
+
light: t ? n[300] : n[600],
|
|
1230
|
+
main: t ? n[500] : n[400],
|
|
1231
|
+
dark: t ? n[700] : n[200],
|
|
1232
|
+
darker: t ? n[800] : n[100]
|
|
1180
1233
|
},
|
|
1181
1234
|
success: {
|
|
1182
|
-
...
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
/* DEPRECATED: Use light instead */
|
|
1189
|
-
darker: t ? l[900] : l[100]
|
|
1235
|
+
...s,
|
|
1236
|
+
lighter: t ? s[100] : s[700],
|
|
1237
|
+
light: t ? s[300] : s[600],
|
|
1238
|
+
main: t ? s[500] : s[400],
|
|
1239
|
+
dark: t ? s[700] : s[200],
|
|
1240
|
+
darker: t ? s[800] : s[100]
|
|
1190
1241
|
},
|
|
1191
|
-
grey:
|
|
1242
|
+
grey: d,
|
|
1192
1243
|
action: {
|
|
1193
|
-
active: t ? b(
|
|
1244
|
+
active: t ? b(z, 0.56) : b(A, 0.56),
|
|
1194
1245
|
hoverOpacity: t ? 0.1 : 0.2,
|
|
1195
1246
|
selectedOpacity: t ? 0.16 : 0.25,
|
|
1196
1247
|
focusOpacity: 0.3
|
|
1197
1248
|
},
|
|
1198
1249
|
background: {
|
|
1199
|
-
default: t ?
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
paper: t ? R : s[900],
|
|
1203
|
-
// ? paletteCustomizations?.background?.paper?.light || WHITE
|
|
1204
|
-
// : paletteCustomizations?.background?.paper?.dark || BLACK,
|
|
1205
|
-
highlight: t ? s[200] : s[600],
|
|
1250
|
+
default: t ? o?.background?.default?.light || Xe : o?.background?.default?.dark || je,
|
|
1251
|
+
paper: t ? o?.background?.paper?.light || Qe : o?.background?.paper?.dark || Je,
|
|
1252
|
+
highlight: t ? d[200] : d[600],
|
|
1206
1253
|
highlightPrimary: t ? i[100] : i[500]
|
|
1207
1254
|
},
|
|
1208
|
-
divider: t ? b(
|
|
1255
|
+
divider: t ? b(z, 0.12) : b(A, 0.24),
|
|
1209
1256
|
categories: {
|
|
1210
|
-
autoTransport: t ?
|
|
1211
|
-
billsUtilities: t ?
|
|
1212
|
-
businessServices: t ?
|
|
1213
|
-
education: t ?
|
|
1214
|
-
entertainment: t ?
|
|
1215
|
-
feesCharges: t ?
|
|
1216
|
-
financial: t ?
|
|
1217
|
-
foodDining: t ?
|
|
1218
|
-
giftsDonations: t ?
|
|
1219
|
-
healthFitness: t ?
|
|
1220
|
-
home: t ?
|
|
1221
|
-
income: t ?
|
|
1222
|
-
investments: t ?
|
|
1223
|
-
kids: t ?
|
|
1224
|
-
others: t ?
|
|
1225
|
-
personalCare: t ?
|
|
1226
|
-
pets: t ?
|
|
1227
|
-
shopping: t ?
|
|
1228
|
-
taxes: t ?
|
|
1229
|
-
transfer: t ?
|
|
1230
|
-
travel: t ?
|
|
1231
|
-
uncategorized: t ?
|
|
1257
|
+
autoTransport: t ? u.AUTO_TRANSPORTT : p.AUTO_TRANSPORTT,
|
|
1258
|
+
billsUtilities: t ? u.BILLS_UTILITIES : p.BILLS_UTILITIES,
|
|
1259
|
+
businessServices: t ? u.BUSINESS_SERVICES : p.BUSINESS_SERVICES,
|
|
1260
|
+
education: t ? u.EDUCATION : p.EDUCATION,
|
|
1261
|
+
entertainment: t ? u.ENTERTAINMENT : p.ENTERTAINMENT,
|
|
1262
|
+
feesCharges: t ? u.FEES_CHARGES : p.FEES_CHARGES,
|
|
1263
|
+
financial: t ? u.FINANCIAL : p.FINANCIAL,
|
|
1264
|
+
foodDining: t ? u.FOOD_DINING : p.FOOD_DINING,
|
|
1265
|
+
giftsDonations: t ? u.GIFTS_DONATIONS : p.GIFTS_DONATIONS,
|
|
1266
|
+
healthFitness: t ? u.HEALTH_FITNESS : p.HEALTH_FITNESS,
|
|
1267
|
+
home: t ? u.HOME : p.HOME,
|
|
1268
|
+
income: t ? u.INCOME : p.INCOME,
|
|
1269
|
+
investments: t ? u.INVESTMENTS : p.INVESTMENTS,
|
|
1270
|
+
kids: t ? u.KIDS : p.KIDS,
|
|
1271
|
+
others: t ? u.OTHERS : p.OTHERS,
|
|
1272
|
+
personalCare: t ? u.PERSONAL_CARE : p.PERSONAL_CARE,
|
|
1273
|
+
pets: t ? u.PETS : p.PETS,
|
|
1274
|
+
shopping: t ? u.SHOPPING : p.SHOPPING,
|
|
1275
|
+
taxes: t ? u.TAXES : p.TAXES,
|
|
1276
|
+
transfer: t ? u.TRANSFER : p.TRANSFER,
|
|
1277
|
+
travel: t ? u.TRAVEL : p.TRAVEL,
|
|
1278
|
+
uncategorized: t ? u.UNCATEGORIZED : p.UNCATEGORIZED
|
|
1232
1279
|
},
|
|
1233
1280
|
chart: {
|
|
1234
1281
|
chart1: S.CHART1,
|
|
@@ -1240,16 +1287,16 @@ const J0 = ({
|
|
|
1240
1287
|
chart7: S.CHART7
|
|
1241
1288
|
},
|
|
1242
1289
|
chartMono: {
|
|
1243
|
-
chartMono1:
|
|
1244
|
-
chartMono2:
|
|
1245
|
-
chartMono3:
|
|
1246
|
-
chartMono4:
|
|
1247
|
-
chartMono5:
|
|
1248
|
-
chartMono6:
|
|
1290
|
+
chartMono1: y.CHART_MONO1,
|
|
1291
|
+
chartMono2: y.CHART_MONO2,
|
|
1292
|
+
chartMono3: y.CHART_MONO3,
|
|
1293
|
+
chartMono4: y.CHART_MONO4,
|
|
1294
|
+
chartMono5: y.CHART_MONO5,
|
|
1295
|
+
chartMono6: y.CHART_MONO6
|
|
1249
1296
|
}
|
|
1250
1297
|
};
|
|
1251
|
-
},
|
|
1252
|
-
const o = e?.fontFamily ||
|
|
1298
|
+
}, e0 = "Inter, Helvetica, Arial, sans-serif", o0 = (e) => {
|
|
1299
|
+
const o = e?.fontFamily || e0;
|
|
1253
1300
|
return {
|
|
1254
1301
|
fontFamily: o,
|
|
1255
1302
|
fontSize: 15,
|
|
@@ -1382,16 +1429,12 @@ const J0 = ({
|
|
|
1382
1429
|
...e
|
|
1383
1430
|
};
|
|
1384
1431
|
};
|
|
1385
|
-
|
|
1386
|
-
"
|
|
1432
|
+
we.setLicenseKey(
|
|
1433
|
+
"702b0c04dc7df078768d2d45cd3a98c6Tz0xMjEzMDYsRT0xNzkzNzUwMzk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
|
|
1387
1434
|
);
|
|
1388
|
-
const
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
_[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1392
|
-
const ro = (e, o) => {
|
|
1393
|
-
const i = Ue(e, o?.paletteOptions), n = Ze(o?.typographyOptions);
|
|
1394
|
-
return j({
|
|
1435
|
+
const go = (e, o) => {
|
|
1436
|
+
const i = qe(e, o?.paletteOptions), l = o0(o?.typographyOptions), c = [...U().shadows];
|
|
1437
|
+
return c[1] = "0px 2px 8px 0 rgba(0, 0, 0, 0.12)", c[8] = "0px 6px 12px 0 rgba(0, 0, 0, 0.16), 0px 3px 8px 0 rgba(0, 0, 0, 0.06)", c[16] = "0px 12px 20px 0 rgba(0, 0, 0, 0.22)", U({
|
|
1395
1438
|
breakpoints: {
|
|
1396
1439
|
values: {
|
|
1397
1440
|
xs: 444,
|
|
@@ -1402,34 +1445,34 @@ const ro = (e, o) => {
|
|
|
1402
1445
|
}
|
|
1403
1446
|
},
|
|
1404
1447
|
palette: i,
|
|
1405
|
-
shadows: _,
|
|
1406
1448
|
shape: {
|
|
1407
1449
|
borderRadius: o?.shapeOptions?.borderRadius || 4
|
|
1408
1450
|
},
|
|
1451
|
+
shadows: c,
|
|
1409
1452
|
spacing: 1,
|
|
1410
1453
|
// TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
|
|
1411
|
-
typography:
|
|
1454
|
+
typography: l,
|
|
1412
1455
|
components: {
|
|
1413
1456
|
MuiAlert: {
|
|
1414
1457
|
defaultProps: {
|
|
1415
1458
|
iconMapping: {
|
|
1416
|
-
success: /* @__PURE__ */ a(
|
|
1417
|
-
error: /* @__PURE__ */ a(
|
|
1418
|
-
warning: /* @__PURE__ */ a(
|
|
1419
|
-
info: /* @__PURE__ */ a(
|
|
1459
|
+
success: /* @__PURE__ */ a(R, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
|
|
1460
|
+
error: /* @__PURE__ */ a(R, { fill: !0, name: "error", size: 24, weight: 400 }),
|
|
1461
|
+
warning: /* @__PURE__ */ a(R, { fill: !0, name: "warning", size: 24, weight: 400 }),
|
|
1462
|
+
info: /* @__PURE__ */ a(R, { fill: !0, name: "info", size: 24, weight: 400 })
|
|
1420
1463
|
},
|
|
1421
1464
|
variant: "outlined"
|
|
1422
1465
|
},
|
|
1423
1466
|
styleOverrides: {
|
|
1424
|
-
root: ({ theme: r, ownerState:
|
|
1425
|
-
const
|
|
1426
|
-
let
|
|
1427
|
-
if (
|
|
1428
|
-
const
|
|
1429
|
-
|
|
1467
|
+
root: ({ theme: r, ownerState: n }) => {
|
|
1468
|
+
const s = n.severity || "info";
|
|
1469
|
+
let d = r.palette.mode === v.LIGHT ? r.palette[s]?.[50] : r.palette[s]?.[800];
|
|
1470
|
+
if (n.variant === "filled") {
|
|
1471
|
+
const t = s === "warning";
|
|
1472
|
+
d = r.palette[s]?.[t ? 400 : 600];
|
|
1430
1473
|
}
|
|
1431
1474
|
return {
|
|
1432
|
-
backgroundColor:
|
|
1475
|
+
backgroundColor: d,
|
|
1433
1476
|
borderRadius: r.shape.borderRadius,
|
|
1434
1477
|
"& .MuiAlert-message": {
|
|
1435
1478
|
fontSize: r.typography.subtitle1.fontSize,
|
|
@@ -1475,6 +1518,14 @@ const ro = (e, o) => {
|
|
|
1475
1518
|
}
|
|
1476
1519
|
},
|
|
1477
1520
|
variants: [
|
|
1521
|
+
{
|
|
1522
|
+
props: { variant: "outlined", color: "error" },
|
|
1523
|
+
style: ({ theme: r }) => ({
|
|
1524
|
+
"&:hover, &:active": {
|
|
1525
|
+
color: r.palette.error.dark
|
|
1526
|
+
}
|
|
1527
|
+
})
|
|
1528
|
+
},
|
|
1478
1529
|
{
|
|
1479
1530
|
props: { size: "small" },
|
|
1480
1531
|
style: {
|
|
@@ -1511,7 +1562,7 @@ const ro = (e, o) => {
|
|
|
1511
1562
|
MuiCircularProgress: {
|
|
1512
1563
|
styleOverrides: {
|
|
1513
1564
|
root: {
|
|
1514
|
-
[`& .${
|
|
1565
|
+
[`& .${Ne.circle}`]: {
|
|
1515
1566
|
strokeLinecap: "round"
|
|
1516
1567
|
}
|
|
1517
1568
|
}
|
|
@@ -1719,7 +1770,7 @@ const ro = (e, o) => {
|
|
|
1719
1770
|
},
|
|
1720
1771
|
MuiLink: {
|
|
1721
1772
|
styleOverrides: {
|
|
1722
|
-
root: ({ theme: r, color:
|
|
1773
|
+
root: ({ theme: r, color: n }) => ({
|
|
1723
1774
|
cursor: "pointer",
|
|
1724
1775
|
fontWeight: 600,
|
|
1725
1776
|
textDecoration: "none",
|
|
@@ -1734,7 +1785,7 @@ const ro = (e, o) => {
|
|
|
1734
1785
|
backgroundColor: r.palette.action.hover
|
|
1735
1786
|
},
|
|
1736
1787
|
"&:active": {
|
|
1737
|
-
backgroundColor: r.palette.mode === v.LIGHT ? r.palette[
|
|
1788
|
+
backgroundColor: r.palette.mode === v.LIGHT ? r.palette[n].light : r.palette[n].dark
|
|
1738
1789
|
}
|
|
1739
1790
|
})
|
|
1740
1791
|
}
|
|
@@ -1878,9 +1929,8 @@ const ro = (e, o) => {
|
|
|
1878
1929
|
},
|
|
1879
1930
|
MuiPaper: {
|
|
1880
1931
|
styleOverrides: {
|
|
1881
|
-
|
|
1932
|
+
rounded: {
|
|
1882
1933
|
borderRadius: 8
|
|
1883
|
-
// backgroundImage: 'unset',
|
|
1884
1934
|
}
|
|
1885
1935
|
}
|
|
1886
1936
|
},
|
|
@@ -1913,9 +1963,9 @@ const ro = (e, o) => {
|
|
|
1913
1963
|
gridColumn: "1/4",
|
|
1914
1964
|
"& > .MuiTypography-root": {
|
|
1915
1965
|
textTransform: "uppercase",
|
|
1916
|
-
fontSize:
|
|
1966
|
+
fontSize: l.body2.fontSize,
|
|
1917
1967
|
fontWeight: 600,
|
|
1918
|
-
lineHeight:
|
|
1968
|
+
lineHeight: l.body2.lineHeight
|
|
1919
1969
|
}
|
|
1920
1970
|
}
|
|
1921
1971
|
}
|
|
@@ -2044,8 +2094,7 @@ const ro = (e, o) => {
|
|
|
2044
2094
|
disableFocusRipple: !0
|
|
2045
2095
|
},
|
|
2046
2096
|
styleOverrides: {
|
|
2047
|
-
root: {
|
|
2048
|
-
color: i.text.primary,
|
|
2097
|
+
root: ({ theme: r }) => ({
|
|
2049
2098
|
fontSize: 13,
|
|
2050
2099
|
lineHeight: "16px",
|
|
2051
2100
|
textTransform: "none",
|
|
@@ -2054,24 +2103,26 @@ const ro = (e, o) => {
|
|
|
2054
2103
|
outlineOffset: "2px"
|
|
2055
2104
|
},
|
|
2056
2105
|
"&:hover": {
|
|
2057
|
-
backgroundColor: b(
|
|
2058
|
-
|
|
2106
|
+
backgroundColor: b(
|
|
2107
|
+
r.palette.primary.main,
|
|
2108
|
+
i.mode === v.LIGHT ? 0.1 : 0.2
|
|
2109
|
+
),
|
|
2110
|
+
borderColor: r.palette.primary.main
|
|
2059
2111
|
},
|
|
2060
2112
|
"&.Mui-selected": {
|
|
2061
2113
|
fontWeight: 600,
|
|
2062
|
-
borderColor:
|
|
2114
|
+
borderColor: r.palette.primary.main,
|
|
2063
2115
|
"&:hover": {
|
|
2064
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2116
|
+
boxShadow: `inset 0px 0px 0px 2px ${r.palette.primary.main}`
|
|
2065
2117
|
}
|
|
2066
2118
|
},
|
|
2067
2119
|
"& .MuiTouchRipple-root": {
|
|
2068
|
-
"& .MuiTouchRipple-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
}
|
|
2120
|
+
"& .MuiTouchRipple-child": {
|
|
2121
|
+
backgroundColor: r.palette.primary.main,
|
|
2122
|
+
borderRadius: r.shape.borderRadius
|
|
2072
2123
|
}
|
|
2073
2124
|
}
|
|
2074
|
-
}
|
|
2125
|
+
})
|
|
2075
2126
|
},
|
|
2076
2127
|
variants: [
|
|
2077
2128
|
{
|
|
@@ -2142,51 +2193,51 @@ const ro = (e, o) => {
|
|
|
2142
2193
|
});
|
|
2143
2194
|
};
|
|
2144
2195
|
export {
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2196
|
+
w0 as AccountsFilledIcon,
|
|
2197
|
+
P0 as AccountsIcon,
|
|
2198
|
+
_0 as ArrowLeftIcon,
|
|
2199
|
+
B0 as AttentionFilledIcon,
|
|
2149
2200
|
f as BaseIcon,
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2201
|
+
eo as BottomSheetTransition,
|
|
2202
|
+
z0 as CalendarIcon,
|
|
2203
|
+
h as CategoryGuids,
|
|
2204
|
+
Ve as CategoryIcon,
|
|
2205
|
+
Be as CategoryIconList,
|
|
2206
|
+
_e as CategoryIconVariants,
|
|
2207
|
+
V0 as CheckmarkFilledIcon,
|
|
2208
|
+
G0 as ChevronDownIcon,
|
|
2209
|
+
$0 as ChevronLeftIcon,
|
|
2210
|
+
U0 as ChevronRightIcon,
|
|
2211
|
+
W0 as CloseIcon,
|
|
2212
|
+
q0 as DateRangePicker,
|
|
2213
|
+
We as DialogFooter,
|
|
2214
|
+
io as DialogHeader,
|
|
2215
|
+
ao as Drawer,
|
|
2216
|
+
Z0 as EditIcon,
|
|
2217
|
+
K0 as FilterIcon,
|
|
2218
|
+
We as Footer,
|
|
2219
|
+
Ze as H1,
|
|
2220
|
+
oo as H2,
|
|
2221
|
+
ro as H3,
|
|
2222
|
+
Y0 as HeartIcon,
|
|
2223
|
+
e0 as INTER,
|
|
2224
|
+
R as Icon,
|
|
2225
|
+
Pe as IconWeight,
|
|
2226
|
+
no as InstitutionLogo,
|
|
2227
|
+
j0 as MXLogoCopyrightIcon,
|
|
2228
|
+
Q0 as MXLogoFilledIcon,
|
|
2229
|
+
X0 as MXLogoIcon,
|
|
2230
|
+
J0 as MXLogoOutlineIcon,
|
|
2231
|
+
lo as MerchantLogo,
|
|
2232
|
+
to as P,
|
|
2233
|
+
ho as SelectionBox,
|
|
2234
|
+
F as TARGETS,
|
|
2235
|
+
N as THEMES,
|
|
2185
2236
|
k as Text,
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2237
|
+
co as TextField,
|
|
2238
|
+
so as Toast,
|
|
2239
|
+
uo as TokenProvider,
|
|
2240
|
+
go as createMXTheme,
|
|
2241
|
+
po as useTokens
|
|
2191
2242
|
};
|
|
2192
2243
|
//# sourceMappingURL=index.es.js.map
|