@mxenabled/mxui 1.0.2 → 1.0.3-alpha.JB0
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 +6 -10
- package/dist/index.es.js +630 -599
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Colors.d.ts +73 -1
- package/dist/themes/MXTheme.d.ts +2 -1
- package/dist/themes/Palette.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
1
|
import { jsx as a, jsxs as y } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useTheme as T, createTheme as
|
|
5
|
-
import
|
|
6
|
-
import { endOfMonth as
|
|
7
|
-
import { endOfYear as
|
|
8
|
-
import { startOfToday as
|
|
2
|
+
import m from "react";
|
|
3
|
+
import k from "@mui/material/Stack";
|
|
4
|
+
import { useTheme as T, createTheme as O } from "@mui/material/styles";
|
|
5
|
+
import j from "@mui/material/Icon";
|
|
6
|
+
import { endOfMonth as H } from "date-fns/endOfMonth";
|
|
7
|
+
import { endOfYear as X } from "date-fns/endOfYear";
|
|
8
|
+
import { startOfToday as Y } from "date-fns/startOfToday";
|
|
9
9
|
import { startOfMonth as w } from "date-fns/startOfMonth";
|
|
10
|
-
import { startOfYear as
|
|
11
|
-
import { subDays as
|
|
12
|
-
import { subMonths as
|
|
13
|
-
import { subYears as
|
|
14
|
-
import
|
|
15
|
-
import { LocalizationProvider as
|
|
16
|
-
import { AdapterDateFns as
|
|
10
|
+
import { startOfYear as F } from "date-fns/startOfYear";
|
|
11
|
+
import { subDays as R } from "date-fns/subDays";
|
|
12
|
+
import { subMonths as Q } from "date-fns/subMonths";
|
|
13
|
+
import { subYears as J } from "date-fns/subYears";
|
|
14
|
+
import q from "@mui/material/useMediaQuery";
|
|
15
|
+
import { LocalizationProvider as e0, StaticDateRangePicker as r0 } from "@mui/x-date-pickers-pro";
|
|
16
|
+
import { AdapterDateFns as t0 } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
|
|
17
17
|
import E from "@mui/material/Box";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
18
|
+
import o0 from "@mui/material/ToggleButton";
|
|
19
|
+
import a0 from "@mui/material/ToggleButtonGroup";
|
|
20
|
+
import B from "@mui/material/Slide";
|
|
21
|
+
import D from "@mui/material/Button";
|
|
22
22
|
import _ from "@mui/material/Toolbar";
|
|
23
23
|
import V from "@mui/material/IconButton";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import { light as
|
|
30
|
-
import { LicenseInfo as
|
|
31
|
-
import { circularProgressClasses as
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
const
|
|
24
|
+
import i0 from "@mui/material/Drawer";
|
|
25
|
+
import n0 from "@mui/material/Typography";
|
|
26
|
+
import l0 from "@mui/material/TextField";
|
|
27
|
+
import c0 from "@mui/material/Snackbar";
|
|
28
|
+
import s0 from "@mui/material/Alert";
|
|
29
|
+
import { light as P, buildTheme as L, dark as d0 } from "@mxenabled/design-tokens";
|
|
30
|
+
import { LicenseInfo as u0 } from "@mui/x-license-pro";
|
|
31
|
+
import { circularProgressClasses as p0 } from "@mui/material/CircularProgress";
|
|
32
|
+
import h0 from "@mui/material/styles/createPalette";
|
|
33
|
+
import g0 from "@mui/material/styles/createTypography";
|
|
34
|
+
const h = ({
|
|
35
35
|
children: e,
|
|
36
36
|
height: o,
|
|
37
|
-
size:
|
|
38
|
-
viewBox:
|
|
39
|
-
width:
|
|
37
|
+
size: r = 16,
|
|
38
|
+
viewBox: l = "0 0 16 16",
|
|
39
|
+
width: t
|
|
40
40
|
}) => /* @__PURE__ */ a(
|
|
41
41
|
"svg",
|
|
42
42
|
{
|
|
43
43
|
"aria-hidden": !0,
|
|
44
44
|
className: "mx-kmui-icon",
|
|
45
45
|
focusable: !1,
|
|
46
|
-
height: o ||
|
|
47
|
-
viewBox:
|
|
48
|
-
width:
|
|
46
|
+
height: o || r,
|
|
47
|
+
viewBox: l,
|
|
48
|
+
width: t || r,
|
|
49
49
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50
50
|
children: e
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
var
|
|
54
|
-
const
|
|
53
|
+
var m0 = /* @__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))(m0 || {});
|
|
54
|
+
const f = ({
|
|
55
55
|
color: e,
|
|
56
56
|
fill: o = !1,
|
|
57
|
-
name:
|
|
58
|
-
size:
|
|
59
|
-
sx:
|
|
60
|
-
weight:
|
|
61
|
-
...
|
|
57
|
+
name: r,
|
|
58
|
+
size: l = 20,
|
|
59
|
+
sx: t,
|
|
60
|
+
weight: i = 300,
|
|
61
|
+
...n
|
|
62
62
|
}) => {
|
|
63
|
-
const [
|
|
64
|
-
return
|
|
63
|
+
const [c, b] = m.useState(!1);
|
|
64
|
+
return m.useEffect(() => {
|
|
65
65
|
document.fonts.ready.then(() => {
|
|
66
66
|
b(!0);
|
|
67
67
|
});
|
|
68
68
|
}, []), /* @__PURE__ */ a(
|
|
69
|
-
|
|
69
|
+
j,
|
|
70
70
|
{
|
|
71
|
-
color:
|
|
71
|
+
color: c ? e && e : void 0,
|
|
72
72
|
sx: [
|
|
73
73
|
{
|
|
74
|
-
fontSize:
|
|
74
|
+
fontSize: l,
|
|
75
75
|
fontVariationSettings: `
|
|
76
76
|
'FILL' ${o ? 1 : 0},
|
|
77
|
-
'wght' ${
|
|
77
|
+
'wght' ${i},
|
|
78
78
|
'GRAD' 0,
|
|
79
|
-
'opsz' ${
|
|
79
|
+
'opsz' ${l}
|
|
80
80
|
`
|
|
81
81
|
},
|
|
82
|
-
...Array.isArray(
|
|
82
|
+
...Array.isArray(t) ? t : [t],
|
|
83
83
|
{
|
|
84
|
-
...!
|
|
84
|
+
...!c && { color: "transparent" }
|
|
85
85
|
}
|
|
86
86
|
],
|
|
87
|
-
...
|
|
88
|
-
children:
|
|
87
|
+
...n,
|
|
88
|
+
children: r
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
|
-
},
|
|
91
|
+
}, de = ({
|
|
92
92
|
color: e = "currentColor",
|
|
93
93
|
...o
|
|
94
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
94
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
95
95
|
"path",
|
|
96
96
|
{
|
|
97
97
|
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",
|
|
98
98
|
fill: e
|
|
99
99
|
}
|
|
100
|
-
) })),
|
|
100
|
+
) })), ue = ({
|
|
101
101
|
color: e = "currentColor",
|
|
102
102
|
...o
|
|
103
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
103
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
104
104
|
"path",
|
|
105
105
|
{
|
|
106
106
|
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",
|
|
107
107
|
fill: e
|
|
108
108
|
}
|
|
109
|
-
) })),
|
|
109
|
+
) })), pe = ({
|
|
110
110
|
color: e = "currentColor",
|
|
111
111
|
...o
|
|
112
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
112
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
113
113
|
"path",
|
|
114
114
|
{
|
|
115
115
|
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",
|
|
116
116
|
fill: e
|
|
117
117
|
}
|
|
118
|
-
) })),
|
|
118
|
+
) })), he = ({
|
|
119
119
|
color: e = "currentColor",
|
|
120
120
|
...o
|
|
121
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
121
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
122
122
|
"path",
|
|
123
123
|
{
|
|
124
124
|
clipRule: "evenodd",
|
|
@@ -126,91 +126,91 @@ const M = ({
|
|
|
126
126
|
fill: e,
|
|
127
127
|
fillRule: "evenodd"
|
|
128
128
|
}
|
|
129
|
-
) })),
|
|
129
|
+
) })), ge = ({
|
|
130
130
|
color: e = "currentColor",
|
|
131
131
|
...o
|
|
132
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
132
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
133
133
|
"path",
|
|
134
134
|
{
|
|
135
135
|
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",
|
|
136
136
|
fill: e
|
|
137
137
|
}
|
|
138
|
-
) })),
|
|
138
|
+
) })), me = ({
|
|
139
139
|
color: e = "currentColor",
|
|
140
140
|
...o
|
|
141
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
141
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
142
142
|
"path",
|
|
143
143
|
{
|
|
144
144
|
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",
|
|
145
145
|
fill: e
|
|
146
146
|
}
|
|
147
|
-
) })),
|
|
147
|
+
) })), be = ({
|
|
148
148
|
color: e = "currentColor",
|
|
149
149
|
...o
|
|
150
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
150
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
151
151
|
"path",
|
|
152
152
|
{
|
|
153
153
|
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",
|
|
154
154
|
fill: e
|
|
155
155
|
}
|
|
156
|
-
) })),
|
|
156
|
+
) })), fe = ({
|
|
157
157
|
color: e = "currentColor",
|
|
158
158
|
...o
|
|
159
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
159
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
160
160
|
"path",
|
|
161
161
|
{
|
|
162
162
|
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",
|
|
163
163
|
fill: e
|
|
164
164
|
}
|
|
165
|
-
) })),
|
|
165
|
+
) })), ye = ({
|
|
166
166
|
color: e = "currentColor",
|
|
167
167
|
...o
|
|
168
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
168
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
169
169
|
"path",
|
|
170
170
|
{
|
|
171
171
|
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",
|
|
172
172
|
fill: e
|
|
173
173
|
}
|
|
174
|
-
) })),
|
|
174
|
+
) })), b0 = ({
|
|
175
175
|
color: e = "currentColor",
|
|
176
176
|
...o
|
|
177
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
177
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
178
178
|
"path",
|
|
179
179
|
{
|
|
180
180
|
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",
|
|
181
181
|
fill: e
|
|
182
182
|
}
|
|
183
|
-
) })),
|
|
183
|
+
) })), Me = ({
|
|
184
184
|
color: e = "currentColor",
|
|
185
185
|
...o
|
|
186
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
186
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
187
187
|
"path",
|
|
188
188
|
{
|
|
189
189
|
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",
|
|
190
190
|
fill: e
|
|
191
191
|
}
|
|
192
|
-
) })),
|
|
192
|
+
) })), Te = ({
|
|
193
193
|
color: e = "currentColor",
|
|
194
194
|
...o
|
|
195
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
195
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
196
196
|
"path",
|
|
197
197
|
{
|
|
198
198
|
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",
|
|
199
199
|
fill: e
|
|
200
200
|
}
|
|
201
|
-
) })),
|
|
201
|
+
) })), ve = ({
|
|
202
202
|
color: e = "currentColor",
|
|
203
203
|
...o
|
|
204
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
204
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
205
205
|
"path",
|
|
206
206
|
{
|
|
207
207
|
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",
|
|
208
208
|
fill: e
|
|
209
209
|
}
|
|
210
|
-
) })),
|
|
210
|
+
) })), xe = ({
|
|
211
211
|
color: e = "currentColor",
|
|
212
212
|
...o
|
|
213
|
-
}) => /* @__PURE__ */ y(
|
|
213
|
+
}) => /* @__PURE__ */ y(h, { ...o, children: [
|
|
214
214
|
/* @__PURE__ */ a(
|
|
215
215
|
"path",
|
|
216
216
|
{
|
|
@@ -225,10 +225,10 @@ const M = ({
|
|
|
225
225
|
fill: e
|
|
226
226
|
}
|
|
227
227
|
)
|
|
228
|
-
] }),
|
|
228
|
+
] }), Ae = ({
|
|
229
229
|
color: e = "currentColor",
|
|
230
230
|
...o
|
|
231
|
-
}) => /* @__PURE__ */ y(
|
|
231
|
+
}) => /* @__PURE__ */ y(h, { ...o, children: [
|
|
232
232
|
/* @__PURE__ */ a(
|
|
233
233
|
"path",
|
|
234
234
|
{
|
|
@@ -261,10 +261,10 @@ const M = ({
|
|
|
261
261
|
fillRule: "evenodd"
|
|
262
262
|
}
|
|
263
263
|
)
|
|
264
|
-
] }),
|
|
264
|
+
] }), Ce = ({
|
|
265
265
|
color: e = "currentColor",
|
|
266
266
|
...o
|
|
267
|
-
}) => /* @__PURE__ */ a(
|
|
267
|
+
}) => /* @__PURE__ */ a(h, { ...o, children: /* @__PURE__ */ a(
|
|
268
268
|
"path",
|
|
269
269
|
{
|
|
270
270
|
clipRule: "evenodd",
|
|
@@ -272,10 +272,10 @@ const M = ({
|
|
|
272
272
|
fill: e,
|
|
273
273
|
fillRule: "evenodd"
|
|
274
274
|
}
|
|
275
|
-
) }),
|
|
275
|
+
) }), De = ({
|
|
276
276
|
color: e = "currentColor",
|
|
277
277
|
...o
|
|
278
|
-
}) => /* @__PURE__ */ y(
|
|
278
|
+
}) => /* @__PURE__ */ y(h, { ...o, children: [
|
|
279
279
|
/* @__PURE__ */ a(
|
|
280
280
|
"path",
|
|
281
281
|
{
|
|
@@ -300,164 +300,164 @@ const M = ({
|
|
|
300
300
|
}
|
|
301
301
|
)
|
|
302
302
|
] });
|
|
303
|
-
var
|
|
304
|
-
const
|
|
305
|
-
guid:
|
|
303
|
+
var d = /* @__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))(d || {}), f0 = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(f0 || {});
|
|
304
|
+
const W = {
|
|
305
|
+
guid: d.Uncategorized,
|
|
306
306
|
colorName: "uncategorized",
|
|
307
307
|
icon: "category"
|
|
308
|
-
},
|
|
308
|
+
}, y0 = [
|
|
309
309
|
{
|
|
310
|
-
guid:
|
|
310
|
+
guid: d.AutoTransport,
|
|
311
311
|
colorName: "autoTransport",
|
|
312
312
|
icon: "directions_car"
|
|
313
313
|
},
|
|
314
314
|
{
|
|
315
|
-
guid:
|
|
315
|
+
guid: d.BillsUtilities,
|
|
316
316
|
colorName: "billsUtilities",
|
|
317
317
|
icon: "electrical_services"
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
|
-
guid:
|
|
320
|
+
guid: d.BusinessServices,
|
|
321
321
|
colorName: "businessServices",
|
|
322
322
|
icon: "business_center"
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
|
-
guid:
|
|
325
|
+
guid: d.Education,
|
|
326
326
|
colorName: "education",
|
|
327
327
|
icon: "school"
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
|
-
guid:
|
|
330
|
+
guid: d.Entertainment,
|
|
331
331
|
colorName: "entertainment",
|
|
332
332
|
icon: "stadium"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
guid:
|
|
335
|
+
guid: d.FeesCharges,
|
|
336
336
|
colorName: "feesCharges",
|
|
337
337
|
icon: "problem"
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
|
-
guid:
|
|
340
|
+
guid: d.Financial,
|
|
341
341
|
colorName: "financial",
|
|
342
342
|
icon: "price_check"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
|
-
guid:
|
|
345
|
+
guid: d.FoodDining,
|
|
346
346
|
colorName: "foodDining",
|
|
347
347
|
icon: "grocery"
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
|
-
guid:
|
|
350
|
+
guid: d.GiftsDonations,
|
|
351
351
|
colorName: "giftsDonations",
|
|
352
352
|
icon: "featured_seasonal_and_gifts"
|
|
353
353
|
},
|
|
354
354
|
{
|
|
355
|
-
guid:
|
|
355
|
+
guid: d.HealthFitness,
|
|
356
356
|
colorName: "healthFitness",
|
|
357
357
|
icon: "ecg_heart"
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
|
-
guid:
|
|
360
|
+
guid: d.Home,
|
|
361
361
|
colorName: "home",
|
|
362
362
|
icon: "cottage"
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
|
-
guid:
|
|
365
|
+
guid: d.Income,
|
|
366
366
|
colorName: "income",
|
|
367
367
|
icon: "monetization_on"
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
|
-
guid:
|
|
370
|
+
guid: d.Investments,
|
|
371
371
|
colorName: "investments",
|
|
372
372
|
icon: "bid_landscape"
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
|
-
guid:
|
|
375
|
+
guid: d.Kids,
|
|
376
376
|
colorName: "kids",
|
|
377
377
|
icon: "face"
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
|
-
guid:
|
|
380
|
+
guid: d.PersonalCare,
|
|
381
381
|
colorName: "personalCare",
|
|
382
382
|
icon: "volunteer_activism"
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
|
-
guid:
|
|
385
|
+
guid: d.Pets,
|
|
386
386
|
colorName: "pets",
|
|
387
387
|
icon: "pet_supplies"
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
|
-
guid:
|
|
390
|
+
guid: d.Shopping,
|
|
391
391
|
colorName: "shopping",
|
|
392
392
|
icon: "shopping_cart"
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
|
-
guid:
|
|
395
|
+
guid: d.Taxes,
|
|
396
396
|
colorName: "taxes",
|
|
397
397
|
icon: "heap_snapshot_large"
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
|
-
guid:
|
|
400
|
+
guid: d.Transfer,
|
|
401
401
|
colorName: "transfer",
|
|
402
402
|
icon: "compare_arrows"
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
|
-
guid:
|
|
405
|
+
guid: d.Travel,
|
|
406
406
|
colorName: "travel",
|
|
407
407
|
icon: "airplane_ticket"
|
|
408
408
|
},
|
|
409
|
-
|
|
410
|
-
],
|
|
409
|
+
W
|
|
410
|
+
], M0 = 0.625, T0 = ({
|
|
411
411
|
categoryGuid: e,
|
|
412
|
-
icon_ratio: o =
|
|
413
|
-
size:
|
|
414
|
-
sx:
|
|
415
|
-
variant:
|
|
412
|
+
icon_ratio: o = M0,
|
|
413
|
+
size: r = 32,
|
|
414
|
+
sx: l = {},
|
|
415
|
+
variant: t = "filled"
|
|
416
416
|
}) => {
|
|
417
|
-
const
|
|
418
|
-
() =>
|
|
417
|
+
const i = T(), n = m.useMemo(
|
|
418
|
+
() => y0.find((s) => s.guid === e) ?? W,
|
|
419
419
|
[e]
|
|
420
|
-
),
|
|
420
|
+
), c = i.palette.categories[n.colorName];
|
|
421
421
|
return /* @__PURE__ */ a(
|
|
422
|
-
|
|
422
|
+
k,
|
|
423
423
|
{
|
|
424
424
|
alignItems: "center",
|
|
425
425
|
bgcolor: () => {
|
|
426
|
-
let s =
|
|
427
|
-
return
|
|
426
|
+
let s = c;
|
|
427
|
+
return t === "twotone" && (s = `${s}20`), t === "transparent" || t === "basic" ? "transparent" : s;
|
|
428
428
|
},
|
|
429
429
|
borderRadius: 1,
|
|
430
430
|
color: () => {
|
|
431
|
-
const s =
|
|
432
|
-
return
|
|
431
|
+
const s = t === "filled" ? i.palette.common.white : c;
|
|
432
|
+
return t === "basic" ? i.palette.text.primary : s;
|
|
433
433
|
},
|
|
434
|
-
height:
|
|
434
|
+
height: r,
|
|
435
435
|
justifyContent: "center",
|
|
436
|
-
sx: [...Array.isArray(
|
|
437
|
-
width:
|
|
438
|
-
children: /* @__PURE__ */ a(
|
|
436
|
+
sx: [...Array.isArray(l) ? l : [l]],
|
|
437
|
+
width: r,
|
|
438
|
+
children: /* @__PURE__ */ a(f, { name: n.icon, size: r * o })
|
|
439
439
|
}
|
|
440
440
|
);
|
|
441
|
-
},
|
|
441
|
+
}, v0 = ({
|
|
442
442
|
items: e,
|
|
443
443
|
onChange: o,
|
|
444
|
-
isValid:
|
|
445
|
-
selected:
|
|
444
|
+
isValid: r,
|
|
445
|
+
selected: l
|
|
446
446
|
}) => {
|
|
447
|
-
const
|
|
448
|
-
const
|
|
447
|
+
const t = T(), i = e?.map((n) => {
|
|
448
|
+
const c = n.getValue({ isValid: r });
|
|
449
449
|
return {
|
|
450
|
-
label:
|
|
450
|
+
label: n.label,
|
|
451
451
|
onClick: () => {
|
|
452
|
-
o(
|
|
452
|
+
o(c, "accept", n);
|
|
453
453
|
},
|
|
454
|
-
disabled: !
|
|
454
|
+
disabled: !r(c)
|
|
455
455
|
};
|
|
456
456
|
});
|
|
457
|
-
return /* @__PURE__ */ a(E, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(
|
|
458
|
-
|
|
457
|
+
return /* @__PURE__ */ a(E, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(a0, { color: "primary", orientation: "vertical", value: l, children: i?.map((n) => /* @__PURE__ */ a(
|
|
458
|
+
o0,
|
|
459
459
|
{
|
|
460
|
-
onClick:
|
|
460
|
+
onClick: n.onClick,
|
|
461
461
|
sx: {
|
|
462
462
|
borderWidth: 1,
|
|
463
463
|
color: "secondary.main",
|
|
@@ -468,65 +468,65 @@ const $ = {
|
|
|
468
468
|
boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
|
|
469
469
|
},
|
|
470
470
|
"&:hover": {
|
|
471
|
-
bgcolor:
|
|
472
|
-
borderTop: `1px solid ${
|
|
471
|
+
bgcolor: t.palette.action.hover,
|
|
472
|
+
borderTop: `1px solid ${t.palette.secondary.lighter}`
|
|
473
473
|
},
|
|
474
474
|
"&.Mui-selected": {
|
|
475
|
-
border: `2px solid ${
|
|
475
|
+
border: `2px solid ${t.palette.mode === "light" ? t.palette.primary.main : t.palette.primary.light} !important`,
|
|
476
476
|
marginTop: "-2px !important",
|
|
477
|
-
color:
|
|
477
|
+
color: t.palette.mode === "light" ? "primary" : "primary.light"
|
|
478
478
|
}
|
|
479
479
|
},
|
|
480
|
-
value:
|
|
481
|
-
children:
|
|
480
|
+
value: n.label,
|
|
481
|
+
children: n.label
|
|
482
482
|
},
|
|
483
|
-
|
|
483
|
+
n.label
|
|
484
484
|
)) }) });
|
|
485
|
-
},
|
|
485
|
+
}, ke = ({
|
|
486
486
|
copy: e,
|
|
487
487
|
dateRange: o,
|
|
488
|
-
onRangeChanged:
|
|
489
|
-
selectedShortcut:
|
|
490
|
-
sx:
|
|
488
|
+
onRangeChanged: r,
|
|
489
|
+
selectedShortcut: l = e.dateRangeThisMonth,
|
|
490
|
+
sx: t = {}
|
|
491
491
|
}) => {
|
|
492
|
-
const
|
|
493
|
-
const
|
|
492
|
+
const i = T(), n = q(i.breakpoints.down("sm")), c = m.useMemo(() => {
|
|
493
|
+
const u = Y(), s = Q(u, 1), g = J(u, 1);
|
|
494
494
|
return [
|
|
495
495
|
{
|
|
496
496
|
label: e.dateRangeThisMonth,
|
|
497
|
-
getValue: () => [w(
|
|
497
|
+
getValue: () => [w(u), H(u)]
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
label: e.dateRangeLastMonth,
|
|
501
|
-
getValue: () => [w(s),
|
|
501
|
+
getValue: () => [w(s), H(s)]
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
504
|
label: e.dateRangeLast30Days,
|
|
505
|
-
getValue: () => [
|
|
505
|
+
getValue: () => [R(u, 30), u]
|
|
506
506
|
},
|
|
507
507
|
{
|
|
508
508
|
label: e.dateRangeLast90Days,
|
|
509
|
-
getValue: () => [
|
|
509
|
+
getValue: () => [R(u, 90), u]
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
512
|
label: e.dateRangeYTD,
|
|
513
|
-
getValue: () => [
|
|
513
|
+
getValue: () => [F(u), u]
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
label: e.dateRangeLastYear,
|
|
517
|
-
getValue: () => [
|
|
517
|
+
getValue: () => [F(g), X(g)]
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
label: e.dateRangeCustom,
|
|
521
|
-
getValue: () => [
|
|
521
|
+
getValue: () => [u, u]
|
|
522
522
|
}
|
|
523
523
|
];
|
|
524
|
-
}, [e]), b = (
|
|
525
|
-
const
|
|
526
|
-
|
|
524
|
+
}, [e]), b = (u, s) => {
|
|
525
|
+
const g = s.shortcut;
|
|
526
|
+
r?.(u, g ? g.label : e.dateRangeCustom);
|
|
527
527
|
};
|
|
528
|
-
return /* @__PURE__ */ a(
|
|
529
|
-
|
|
528
|
+
return /* @__PURE__ */ a(k, { gap: 16, m: 8, children: /* @__PURE__ */ a(e0, { dateAdapter: t0, children: /* @__PURE__ */ a(
|
|
529
|
+
r0,
|
|
530
530
|
{
|
|
531
531
|
calendars: 1,
|
|
532
532
|
localeText: {
|
|
@@ -539,32 +539,32 @@ const $ = {
|
|
|
539
539
|
slotProps: {
|
|
540
540
|
actionBar: { actions: [] },
|
|
541
541
|
shortcuts: {
|
|
542
|
-
items:
|
|
542
|
+
items: n ? [] : c
|
|
543
543
|
},
|
|
544
544
|
toolbar: {
|
|
545
545
|
toolbarFormat: "MMM d, yyyy"
|
|
546
546
|
}
|
|
547
547
|
},
|
|
548
548
|
slots: {
|
|
549
|
-
leftArrowIcon: () => /* @__PURE__ */ a(
|
|
550
|
-
shortcuts: (
|
|
551
|
-
rightArrowIcon: () => /* @__PURE__ */ a(
|
|
549
|
+
leftArrowIcon: () => /* @__PURE__ */ a(f, { name: "chevron_left", size: 28 }),
|
|
550
|
+
shortcuts: (u) => /* @__PURE__ */ a(v0, { selected: l, ...u }),
|
|
551
|
+
rightArrowIcon: () => /* @__PURE__ */ a(f, { name: "chevron_right", size: 28 })
|
|
552
552
|
},
|
|
553
|
-
sx: { ...
|
|
553
|
+
sx: { ...t },
|
|
554
554
|
value: o
|
|
555
555
|
}
|
|
556
556
|
) }) });
|
|
557
|
-
},
|
|
558
|
-
return /* @__PURE__ */ a(
|
|
559
|
-
}),
|
|
557
|
+
}, Ee = m.forwardRef(function(o, r) {
|
|
558
|
+
return /* @__PURE__ */ a(B, { direction: "up", ref: r, ...o });
|
|
559
|
+
}), x0 = ({
|
|
560
560
|
hasSecondaryAction: e = !0,
|
|
561
561
|
isPrimaryDisabled: o,
|
|
562
|
-
onPrimaryAction:
|
|
563
|
-
onSecondaryAction:
|
|
564
|
-
primaryColor:
|
|
565
|
-
primaryText:
|
|
566
|
-
secondaryColor:
|
|
567
|
-
secondaryText:
|
|
562
|
+
onPrimaryAction: r,
|
|
563
|
+
onSecondaryAction: l,
|
|
564
|
+
primaryColor: t = "primary",
|
|
565
|
+
primaryText: i = "Save",
|
|
566
|
+
secondaryColor: n = "primary",
|
|
567
|
+
secondaryText: c = "Cancel",
|
|
568
568
|
...b
|
|
569
569
|
}) => /* @__PURE__ */ y(
|
|
570
570
|
_,
|
|
@@ -580,28 +580,28 @@ const $ = {
|
|
|
580
580
|
...b,
|
|
581
581
|
children: [
|
|
582
582
|
e && /* @__PURE__ */ a(
|
|
583
|
-
|
|
583
|
+
D,
|
|
584
584
|
{
|
|
585
|
-
color:
|
|
586
|
-
onClick:
|
|
587
|
-
variant:
|
|
588
|
-
children:
|
|
585
|
+
color: n,
|
|
586
|
+
onClick: l,
|
|
587
|
+
variant: r ? "outlined" : "contained",
|
|
588
|
+
children: c
|
|
589
589
|
}
|
|
590
590
|
),
|
|
591
|
-
|
|
592
|
-
|
|
591
|
+
r && /* @__PURE__ */ a(
|
|
592
|
+
D,
|
|
593
593
|
{
|
|
594
|
-
color:
|
|
594
|
+
color: t,
|
|
595
595
|
disabled: o,
|
|
596
|
-
onClick:
|
|
596
|
+
onClick: r,
|
|
597
597
|
variant: "contained",
|
|
598
|
-
children:
|
|
598
|
+
children: i
|
|
599
599
|
}
|
|
600
600
|
)
|
|
601
601
|
]
|
|
602
602
|
}
|
|
603
|
-
),
|
|
604
|
-
const
|
|
603
|
+
), Le = ({ copy: e, onClose: o, ...r }) => {
|
|
604
|
+
const l = T();
|
|
605
605
|
return /* @__PURE__ */ y(
|
|
606
606
|
_,
|
|
607
607
|
{
|
|
@@ -610,233 +610,233 @@ const $ = {
|
|
|
610
610
|
padding: "24px 24px 8px"
|
|
611
611
|
}
|
|
612
612
|
},
|
|
613
|
-
...
|
|
613
|
+
...r,
|
|
614
614
|
children: [
|
|
615
|
-
/* @__PURE__ */ a(E, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ a(
|
|
616
|
-
/* @__PURE__ */ a(V, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(
|
|
615
|
+
/* @__PURE__ */ a(E, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ a(C0, { sx: { fontWeight: 600 }, variant: "H3", children: e.title }) }),
|
|
616
|
+
/* @__PURE__ */ a(V, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(b0, { color: l.palette.primary.main }) })
|
|
617
617
|
]
|
|
618
618
|
}
|
|
619
619
|
);
|
|
620
|
-
},
|
|
620
|
+
}, Se = ({
|
|
621
621
|
className: e,
|
|
622
622
|
disableSave: o,
|
|
623
|
-
id:
|
|
624
|
-
isOpen:
|
|
625
|
-
onClose:
|
|
626
|
-
onSave:
|
|
627
|
-
primaryText:
|
|
628
|
-
secondaryText:
|
|
623
|
+
id: r,
|
|
624
|
+
isOpen: l,
|
|
625
|
+
onClose: t,
|
|
626
|
+
onSave: i,
|
|
627
|
+
primaryText: n,
|
|
628
|
+
secondaryText: c,
|
|
629
629
|
children: b,
|
|
630
|
-
...
|
|
630
|
+
...u
|
|
631
631
|
}) => /* @__PURE__ */ y(
|
|
632
|
-
|
|
632
|
+
i0,
|
|
633
633
|
{
|
|
634
634
|
anchor: "right",
|
|
635
635
|
className: `mx-kmui-drawer ${e}`,
|
|
636
|
-
id:
|
|
637
|
-
onClose:
|
|
638
|
-
open:
|
|
636
|
+
id: r ?? void 0,
|
|
637
|
+
onClose: t,
|
|
638
|
+
open: l,
|
|
639
639
|
variant: "temporary",
|
|
640
|
-
...
|
|
640
|
+
...u,
|
|
641
641
|
children: [
|
|
642
642
|
b,
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
i && /* @__PURE__ */ a(
|
|
644
|
+
x0,
|
|
645
645
|
{
|
|
646
646
|
isPrimaryDisabled: o,
|
|
647
|
-
onPrimaryAction:
|
|
648
|
-
onSecondaryAction:
|
|
649
|
-
primaryText:
|
|
650
|
-
secondaryText:
|
|
647
|
+
onPrimaryAction: i,
|
|
648
|
+
onSecondaryAction: t,
|
|
649
|
+
primaryText: n,
|
|
650
|
+
secondaryText: c
|
|
651
651
|
}
|
|
652
652
|
)
|
|
653
653
|
]
|
|
654
654
|
}
|
|
655
|
-
),
|
|
655
|
+
), $ = 32, S = "https://content.moneydesktop.com/storage/MD_Assets", A0 = `${S}/serenity/default_institution_logo.png`, Ie = ({
|
|
656
656
|
alt: e,
|
|
657
657
|
institutionGuid: o,
|
|
658
|
-
logoUrl:
|
|
659
|
-
size:
|
|
660
|
-
...
|
|
658
|
+
logoUrl: r,
|
|
659
|
+
size: l = $,
|
|
660
|
+
...t
|
|
661
661
|
}) => /* @__PURE__ */ a(
|
|
662
662
|
"img",
|
|
663
663
|
{
|
|
664
664
|
alt: e,
|
|
665
|
-
height:
|
|
666
|
-
onError: (
|
|
667
|
-
src:
|
|
665
|
+
height: l,
|
|
666
|
+
onError: (i) => i.target.src = A0,
|
|
667
|
+
src: r || `${S}/Ipad%20Logos/100x100/${o}_100x100.png`,
|
|
668
668
|
style: {
|
|
669
669
|
borderRadius: 4
|
|
670
670
|
},
|
|
671
|
-
width:
|
|
672
|
-
...
|
|
671
|
+
width: l,
|
|
672
|
+
...t
|
|
673
673
|
}
|
|
674
|
-
),
|
|
674
|
+
), He = ({
|
|
675
675
|
alt: e = "",
|
|
676
676
|
categoryGuid: o,
|
|
677
|
-
merchantGuid:
|
|
678
|
-
size:
|
|
679
|
-
...
|
|
677
|
+
merchantGuid: r,
|
|
678
|
+
size: l = $,
|
|
679
|
+
...t
|
|
680
680
|
}) => {
|
|
681
|
-
const [
|
|
682
|
-
return /* @__PURE__ */ y(E, { display: "inline-block", position: "relative", ...
|
|
683
|
-
|
|
681
|
+
const [i, n] = m.useState(!1);
|
|
682
|
+
return /* @__PURE__ */ y(E, { display: "inline-block", position: "relative", ...t, children: [
|
|
683
|
+
r && !i && /* @__PURE__ */ a(
|
|
684
684
|
"img",
|
|
685
685
|
{
|
|
686
686
|
alt: e,
|
|
687
687
|
"aria-hidden": !e,
|
|
688
|
-
height:
|
|
689
|
-
onError: () =>
|
|
690
|
-
src: `${
|
|
688
|
+
height: l,
|
|
689
|
+
onError: () => n(!0),
|
|
690
|
+
src: `${S}/merchant_logos/${r}.png`,
|
|
691
691
|
style: {
|
|
692
692
|
borderRadius: 4,
|
|
693
693
|
boxSizing: "border-box",
|
|
694
694
|
position: "absolute"
|
|
695
695
|
},
|
|
696
|
-
width:
|
|
696
|
+
width: l
|
|
697
697
|
}
|
|
698
698
|
),
|
|
699
|
-
/* @__PURE__ */ a(
|
|
699
|
+
/* @__PURE__ */ a(T0, { categoryGuid: o, size: l })
|
|
700
700
|
] });
|
|
701
701
|
}, v = ({
|
|
702
702
|
bold: e,
|
|
703
703
|
className: o = "",
|
|
704
|
-
children:
|
|
705
|
-
color:
|
|
706
|
-
sx:
|
|
707
|
-
truncate:
|
|
708
|
-
uppercase:
|
|
709
|
-
...
|
|
704
|
+
children: r,
|
|
705
|
+
color: l,
|
|
706
|
+
sx: t = {},
|
|
707
|
+
truncate: i = !0,
|
|
708
|
+
uppercase: n,
|
|
709
|
+
...c
|
|
710
710
|
}) => /* @__PURE__ */ a(
|
|
711
|
-
|
|
711
|
+
n0,
|
|
712
712
|
{
|
|
713
713
|
className: `mx-kmui-text ${o}`,
|
|
714
|
-
color:
|
|
714
|
+
color: l,
|
|
715
715
|
sx: [
|
|
716
716
|
e ? {
|
|
717
717
|
fontWeight: 600
|
|
718
718
|
} : {},
|
|
719
|
-
|
|
719
|
+
i ? {
|
|
720
720
|
overflow: "hidden",
|
|
721
721
|
textOverflow: "ellipsis",
|
|
722
722
|
whiteSpace: "nowrap"
|
|
723
723
|
} : {},
|
|
724
|
-
|
|
724
|
+
n ? {
|
|
725
725
|
textTransform: "uppercase"
|
|
726
726
|
} : {},
|
|
727
|
-
...Array.isArray(
|
|
727
|
+
...Array.isArray(t) ? t : [t]
|
|
728
728
|
],
|
|
729
|
-
...
|
|
730
|
-
children:
|
|
729
|
+
...c,
|
|
730
|
+
children: r
|
|
731
731
|
}
|
|
732
|
-
),
|
|
732
|
+
), C0 = ({ className: e = "", children: o, ...r }) => /* @__PURE__ */ a(v, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "H1", ...r, children: o }), we = ({ className: e = "", children: o, ...r }) => /* @__PURE__ */ a(v, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "H2", ...r, children: o }), Fe = ({ className: e = "", children: o, ...r }) => /* @__PURE__ */ a(v, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "H3", ...r, children: o }), Re = ({ className: e = "", children: o, truncate: r, ...l }) => /* @__PURE__ */ a(
|
|
733
733
|
v,
|
|
734
734
|
{
|
|
735
735
|
className: `mx-kmui-text p ${e}`,
|
|
736
736
|
component: "p",
|
|
737
|
-
truncate:
|
|
737
|
+
truncate: r || !1,
|
|
738
738
|
variant: "Body",
|
|
739
|
-
...
|
|
739
|
+
...l,
|
|
740
740
|
children: o
|
|
741
741
|
}
|
|
742
|
-
),
|
|
742
|
+
), Ne = ({
|
|
743
743
|
disabled: e = !1,
|
|
744
744
|
label: o = "",
|
|
745
|
-
shrink:
|
|
746
|
-
variant:
|
|
747
|
-
...
|
|
745
|
+
shrink: r = !0,
|
|
746
|
+
variant: l = "outlined",
|
|
747
|
+
...t
|
|
748
748
|
}) => /* @__PURE__ */ a(
|
|
749
|
-
|
|
749
|
+
l0,
|
|
750
750
|
{
|
|
751
751
|
InputLabelProps: {
|
|
752
|
-
shrink:
|
|
752
|
+
shrink: r
|
|
753
753
|
},
|
|
754
754
|
disabled: e,
|
|
755
755
|
label: o,
|
|
756
|
-
variant:
|
|
757
|
-
...
|
|
756
|
+
variant: l,
|
|
757
|
+
...t
|
|
758
758
|
}
|
|
759
759
|
);
|
|
760
|
-
function
|
|
761
|
-
return /* @__PURE__ */ a(
|
|
760
|
+
function D0(e) {
|
|
761
|
+
return /* @__PURE__ */ a(B, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
762
762
|
}
|
|
763
|
-
const
|
|
763
|
+
const ze = ({
|
|
764
764
|
open: e,
|
|
765
765
|
handleClose: o,
|
|
766
|
-
message:
|
|
767
|
-
autoHideDuration:
|
|
768
|
-
severity:
|
|
769
|
-
snackbarSx:
|
|
770
|
-
showAction:
|
|
771
|
-
showClose:
|
|
766
|
+
message: r,
|
|
767
|
+
autoHideDuration: l = 3e3,
|
|
768
|
+
severity: t = "success",
|
|
769
|
+
snackbarSx: i,
|
|
770
|
+
showAction: n = !1,
|
|
771
|
+
showClose: c = !1,
|
|
772
772
|
actionText: b = "Undo",
|
|
773
|
-
onActionClick:
|
|
773
|
+
onActionClick: u,
|
|
774
774
|
multiLine: s = !1
|
|
775
775
|
}) => {
|
|
776
|
-
const
|
|
777
|
-
success:
|
|
778
|
-
error:
|
|
779
|
-
info:
|
|
780
|
-
warning:
|
|
781
|
-
},
|
|
782
|
-
|
|
776
|
+
const g = T(), K = {
|
|
777
|
+
success: g.palette.success.dark,
|
|
778
|
+
error: g.palette.error.light,
|
|
779
|
+
info: g.palette.info.lighter,
|
|
780
|
+
warning: g.palette.warning.lighter
|
|
781
|
+
}, Z = /* @__PURE__ */ y(
|
|
782
|
+
k,
|
|
783
783
|
{
|
|
784
784
|
alignItems: s ? "flex-end" : "center",
|
|
785
785
|
direction: s ? "column-reverse" : "row",
|
|
786
786
|
justifyContent: (
|
|
787
787
|
// eslint-disable-next-line no-nested-ternary
|
|
788
|
-
s &&
|
|
788
|
+
s && n && c ? "space-between" : "flex-end"
|
|
789
789
|
),
|
|
790
790
|
children: [
|
|
791
|
-
|
|
792
|
-
|
|
791
|
+
n && /* @__PURE__ */ a(
|
|
792
|
+
D,
|
|
793
793
|
{
|
|
794
794
|
color: "inherit",
|
|
795
|
-
onClick:
|
|
795
|
+
onClick: u || o,
|
|
796
796
|
size: "small",
|
|
797
797
|
sx: {
|
|
798
|
-
color:
|
|
798
|
+
color: g.palette.success.contrastText,
|
|
799
799
|
height: 44
|
|
800
800
|
},
|
|
801
801
|
children: b
|
|
802
802
|
}
|
|
803
803
|
),
|
|
804
|
-
|
|
804
|
+
c && /* @__PURE__ */ a(
|
|
805
805
|
V,
|
|
806
806
|
{
|
|
807
807
|
"aria-label": "close",
|
|
808
808
|
color: "inherit",
|
|
809
809
|
onClick: o,
|
|
810
810
|
sx: { height: 44, width: 44 },
|
|
811
|
-
children: /* @__PURE__ */ a(
|
|
811
|
+
children: /* @__PURE__ */ a(f, { fill: !0, name: "close", size: 24, weight: 400 })
|
|
812
812
|
}
|
|
813
813
|
)
|
|
814
814
|
]
|
|
815
815
|
}
|
|
816
816
|
);
|
|
817
817
|
return /* @__PURE__ */ a(
|
|
818
|
-
|
|
818
|
+
c0,
|
|
819
819
|
{
|
|
820
|
-
TransitionComponent:
|
|
820
|
+
TransitionComponent: D0,
|
|
821
821
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
822
|
-
autoHideDuration:
|
|
822
|
+
autoHideDuration: l,
|
|
823
823
|
onClose: o,
|
|
824
824
|
open: e,
|
|
825
825
|
sx: {
|
|
826
|
-
...
|
|
826
|
+
...i,
|
|
827
827
|
width: s ? 400 : 325
|
|
828
828
|
},
|
|
829
829
|
children: /* @__PURE__ */ a(
|
|
830
|
-
|
|
830
|
+
s0,
|
|
831
831
|
{
|
|
832
|
-
action:
|
|
833
|
-
severity:
|
|
832
|
+
action: Z,
|
|
833
|
+
severity: t,
|
|
834
834
|
sx: {
|
|
835
835
|
display: "flex",
|
|
836
836
|
alignItems: "stretch",
|
|
837
|
-
minHeight:
|
|
837
|
+
minHeight: c && n && s ? 120 : 56,
|
|
838
838
|
maxHeight: s ? 120 : 56,
|
|
839
|
-
backgroundColor: (
|
|
839
|
+
backgroundColor: (I) => I.palette.mode === "light" ? I.palette[t].darker : K[t],
|
|
840
840
|
width: "100%",
|
|
841
841
|
"& .MuiAlert-icon": {
|
|
842
842
|
alignSelf: s ? "flex-start" : "center"
|
|
@@ -856,48 +856,48 @@ const N0 = ({
|
|
|
856
856
|
v,
|
|
857
857
|
{
|
|
858
858
|
sx: {
|
|
859
|
-
lineHeight:
|
|
859
|
+
lineHeight: g.typography.Body.lineHeight,
|
|
860
860
|
whiteSpace: s ? "normal" : "nowrap",
|
|
861
861
|
overflow: s ? "visible" : "hidden",
|
|
862
862
|
textOverflow: s ? "clip" : "ellipsis"
|
|
863
863
|
},
|
|
864
864
|
truncate: !s,
|
|
865
|
-
children:
|
|
865
|
+
children: r
|
|
866
866
|
}
|
|
867
867
|
)
|
|
868
868
|
}
|
|
869
869
|
)
|
|
870
870
|
}
|
|
871
871
|
);
|
|
872
|
-
},
|
|
872
|
+
}, M = {
|
|
873
873
|
REACT: "react",
|
|
874
874
|
REACT_NATIVE: "react_native",
|
|
875
875
|
NATIVE: "native"
|
|
876
876
|
}, A = {
|
|
877
877
|
LIGHT: "light",
|
|
878
878
|
DARK: "dark"
|
|
879
|
-
},
|
|
880
|
-
|
|
881
|
-
),
|
|
879
|
+
}, G = m.createContext(P), U = m.createContext(
|
|
880
|
+
L(A.LIGHT, M.REACT_NATIVE)
|
|
881
|
+
), Oe = ({
|
|
882
882
|
children: e,
|
|
883
|
-
target: o =
|
|
884
|
-
theme:
|
|
885
|
-
tokenOverrides:
|
|
883
|
+
target: o = M.REACT,
|
|
884
|
+
theme: r = A.LIGHT,
|
|
885
|
+
tokenOverrides: l
|
|
886
886
|
}) => {
|
|
887
|
-
const [
|
|
888
|
-
...
|
|
889
|
-
}), [
|
|
890
|
-
return
|
|
891
|
-
const
|
|
892
|
-
|
|
893
|
-
}, [
|
|
894
|
-
},
|
|
895
|
-
const
|
|
896
|
-
return
|
|
897
|
-
},
|
|
887
|
+
const [t, i] = m.useState(r === A.LIGHT ? P : d0), n = m.useMemo(() => ({
|
|
888
|
+
...l
|
|
889
|
+
}), [l]);
|
|
890
|
+
return m.useEffect(() => {
|
|
891
|
+
const c = L(r, o, { ...n });
|
|
892
|
+
i(c);
|
|
893
|
+
}, [r, o, n]), o === M.REACT ? /* @__PURE__ */ a(G.Provider, { value: t, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(U.Provider, { value: t, children: e }));
|
|
894
|
+
}, Be = (e = M.REACT, o = {}) => {
|
|
895
|
+
const r = e === M.REACT ? G : U, l = m.useContext(r);
|
|
896
|
+
return l || L(A.LIGHT, e, { ...o });
|
|
897
|
+
}, p = {
|
|
898
898
|
LIGHT: "light",
|
|
899
899
|
DARK: "dark"
|
|
900
|
-
},
|
|
900
|
+
}, k0 = {
|
|
901
901
|
Black: "#000000",
|
|
902
902
|
Error100: "#FCD2CF",
|
|
903
903
|
Error200: "#F45532",
|
|
@@ -930,134 +930,165 @@ const N0 = ({
|
|
|
930
930
|
Warning400: "#E07C02",
|
|
931
931
|
Warning500: "#C33E01",
|
|
932
932
|
White: "#FFFFFF"
|
|
933
|
-
},
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
},
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
},
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
},
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
},
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
933
|
+
}, E0 = (e = {}) => ({
|
|
934
|
+
...k0,
|
|
935
|
+
...e.primary?.[100] && { Primary100: e.primary[100] },
|
|
936
|
+
...e.primary?.[200] && { Primary200: e.primary[200] },
|
|
937
|
+
...e.primary?.[300] && { Primary300: e.primary[300] },
|
|
938
|
+
...e.primary?.[400] && { Primary400: e.primary[400] },
|
|
939
|
+
...e.primary?.[500] && { Primary500: e.primary[500] },
|
|
940
|
+
...e.secondary?.[100] && { Neutral500: e.secondary[100] },
|
|
941
|
+
...e.secondary?.[200] && { Neutral600: e.secondary[200] },
|
|
942
|
+
...e.secondary?.[300] && { Neutral700: e.secondary[300] },
|
|
943
|
+
...e.secondary?.[400] && { Neutral800: e.secondary[400] },
|
|
944
|
+
...e.secondary?.[500] && { Neutral900: e.secondary[500] },
|
|
945
|
+
...e.error?.[100] && { Error100: e.error[100] },
|
|
946
|
+
...e.error?.[200] && { Error200: e.error[200] },
|
|
947
|
+
...e.error?.[300] && { Error300: e.error[300] },
|
|
948
|
+
...e.error?.[400] && { Error400: e.error[400] },
|
|
949
|
+
...e.error?.[500] && { Error500: e.error[500] },
|
|
950
|
+
...e.warning?.[100] && { Warning100: e.warning[100] },
|
|
951
|
+
...e.warning?.[200] && { Warning200: e.warning[200] },
|
|
952
|
+
...e.warning?.[300] && { Warning300: e.warning[300] },
|
|
953
|
+
...e.warning?.[400] && { Warning400: e.warning[400] },
|
|
954
|
+
...e.warning?.[500] && { Warning500: e.warning[500] },
|
|
955
|
+
...e.success?.[100] && { Success100: e.success[100] },
|
|
956
|
+
...e.success?.[150] && { Success150: e.success[150] },
|
|
957
|
+
...e.success?.[200] && { Success200: e.success[200] },
|
|
958
|
+
...e.success?.[300] && { Success300: e.success[300] },
|
|
959
|
+
...e.success?.[400] && { Success400: e.success[400] },
|
|
960
|
+
...e.success?.[500] && { Success500: e.success[500] }
|
|
961
|
+
}), L0 = (e, o = {}) => {
|
|
962
|
+
const r = E0(o);
|
|
963
|
+
return h0({
|
|
964
|
+
mode: e,
|
|
965
|
+
border: {
|
|
966
|
+
lighter: e === "light" ? r.Neutral200 : r.Neutral800,
|
|
967
|
+
light: e === "light" ? r.Neutral300 : r.Neutral700,
|
|
968
|
+
main: e === "light" ? r.Neutral400 : r.Neutral600,
|
|
969
|
+
dark: r.Neutral500,
|
|
970
|
+
darker: e === "light" ? r.Neutral600 : r.Neutral400
|
|
971
|
+
},
|
|
972
|
+
common: {
|
|
973
|
+
white: r.White,
|
|
974
|
+
black: r.Black
|
|
975
|
+
},
|
|
976
|
+
primary: {
|
|
977
|
+
lighter: r.Primary100,
|
|
978
|
+
light: r.Primary200,
|
|
979
|
+
main: r.Primary300,
|
|
980
|
+
dark: r.Primary400,
|
|
981
|
+
darker: r.Primary500
|
|
982
|
+
},
|
|
983
|
+
secondary: {
|
|
984
|
+
lighter: e === "light" ? r.Neutral500 : r.Neutral200,
|
|
985
|
+
light: e === "light" ? r.Neutral600 : r.Neutral300,
|
|
986
|
+
main: e === "light" ? r.Neutral700 : r.Neutral400,
|
|
987
|
+
dark: e === "light" ? r.Neutral800 : r.Neutral500,
|
|
988
|
+
darker: e === "light" ? r.Neutral900 : r.Neutral600
|
|
989
|
+
},
|
|
990
|
+
text: {
|
|
991
|
+
primary: e === "light" ? r.Neutral900 : r.White,
|
|
992
|
+
secondary: e === "light" ? r.Neutral700 : r.Neutral500,
|
|
993
|
+
disabled: e === "light" ? r.Neutral500 : r.Neutral600
|
|
994
|
+
},
|
|
995
|
+
error: {
|
|
996
|
+
lighter: e === "light" ? r.Error100 : r.Error300,
|
|
997
|
+
light: e === "light" ? r.Error200 : r.Error100,
|
|
998
|
+
main: e === "light" ? r.Error300 : r.Error200,
|
|
999
|
+
dark: e === "light" ? r.Error400 : r.Error300,
|
|
1000
|
+
darker: e === "light" ? r.Error500 : r.Error400
|
|
1001
|
+
},
|
|
1002
|
+
warning: {
|
|
1003
|
+
lighter: r.Warning100,
|
|
1004
|
+
light: r.Warning200,
|
|
1005
|
+
main: r.Warning300,
|
|
1006
|
+
dark: r.Warning400,
|
|
1007
|
+
darker: r.Warning500
|
|
1008
|
+
},
|
|
1009
|
+
info: {
|
|
1010
|
+
lighter: r.Primary100,
|
|
1011
|
+
light: r.Primary200,
|
|
1012
|
+
main: r.Primary300,
|
|
1013
|
+
dark: r.Primary400,
|
|
1014
|
+
darker: r.Primary500
|
|
1015
|
+
},
|
|
1016
|
+
success: {
|
|
1017
|
+
lighter: r.Success100,
|
|
1018
|
+
light: e === "light" ? r.Success200 : r.Success150,
|
|
1019
|
+
main: e === "light" ? r.Success300 : r.Success200,
|
|
1020
|
+
dark: e === "light" ? r.Success400 : r.Success300,
|
|
1021
|
+
darker: e === "light" ? r.Success500 : r.Success400
|
|
1022
|
+
},
|
|
1023
|
+
grey: {
|
|
1024
|
+
100: r.Neutral100,
|
|
1025
|
+
200: r.Neutral200,
|
|
1026
|
+
300: r.Neutral300,
|
|
1027
|
+
400: r.Neutral400,
|
|
1028
|
+
500: r.Neutral500,
|
|
1029
|
+
600: r.Neutral600,
|
|
1030
|
+
700: r.Neutral700,
|
|
1031
|
+
800: r.Neutral800,
|
|
1032
|
+
900: r.Neutral900
|
|
1033
|
+
},
|
|
1034
|
+
action: {
|
|
1035
|
+
active: e === "light" ? r.Primary300 : r.Primary200,
|
|
1036
|
+
disabled: r.Neutral500,
|
|
1037
|
+
disabledBackground: e === "light" ? r.Neutral200 : r.Neutral700,
|
|
1038
|
+
hover: e === "light" ? r.Neutral100 : r.Neutral800,
|
|
1039
|
+
hoverOpacity: 0.1,
|
|
1040
|
+
selected: e === "light" ? r.Primary300 : r.Primary200,
|
|
1041
|
+
selectedOpacity: 0.1
|
|
1042
|
+
},
|
|
1043
|
+
background: {
|
|
1044
|
+
default: e === "light" ? r.Neutral100 : r.Neutral800,
|
|
1045
|
+
paper: e === "light" ? r.White : r.Neutral900,
|
|
1046
|
+
highlight: e === "light" ? r.Neutral200 : r.Neutral600,
|
|
1047
|
+
highlightPrimary: e === "light" ? r.Primary100 : r.Primary500
|
|
1048
|
+
},
|
|
1049
|
+
divider: e === "light" ? r.Neutral400 : r.Neutral700,
|
|
1050
|
+
categories: {
|
|
1051
|
+
autoTransport: "#4B9DBC",
|
|
1052
|
+
billsUtilities: "#EF8B2C",
|
|
1053
|
+
businessServices: "#B3DE8C",
|
|
1054
|
+
education: "#F8AB3A",
|
|
1055
|
+
entertainment: "#AB5B89",
|
|
1056
|
+
feesCharges: "#FF9696",
|
|
1057
|
+
financial: "#6BCDDB",
|
|
1058
|
+
foodDining: "#58AC7B",
|
|
1059
|
+
giftsDonations: "#347AA5",
|
|
1060
|
+
healthFitness: "#5C446E",
|
|
1061
|
+
home: "#FFD84D",
|
|
1062
|
+
income: "#133F49",
|
|
1063
|
+
investments: "#FF7070",
|
|
1064
|
+
kids: "#82D196",
|
|
1065
|
+
personalCare: "#338B7A",
|
|
1066
|
+
pets: "#615BAB",
|
|
1067
|
+
shopping: "#CF5F84",
|
|
1068
|
+
taxes: "#32588D",
|
|
1069
|
+
transfer: "#959CA6",
|
|
1070
|
+
travel: "#E37434",
|
|
1071
|
+
uncategorized: "#FA5555"
|
|
1072
|
+
},
|
|
1073
|
+
chart: {
|
|
1074
|
+
chart1: "#74E4DA",
|
|
1075
|
+
chart2: "#ED64A4",
|
|
1076
|
+
chart3: "#F3DC46",
|
|
1077
|
+
chart4: "#BABFC5",
|
|
1078
|
+
chart5: "#60A9FF",
|
|
1079
|
+
chart6: "#C8BAEE",
|
|
1080
|
+
chart7: "#585E67"
|
|
1081
|
+
},
|
|
1082
|
+
chartMono: {
|
|
1083
|
+
chartMono1: "#C3EAFF",
|
|
1084
|
+
chartMono2: "#8ED7FF",
|
|
1085
|
+
chartMono3: "#60A9FF",
|
|
1086
|
+
chartMono4: "#2F73DA",
|
|
1087
|
+
chartMono5: "#034AB3",
|
|
1088
|
+
chartMono6: "#002966"
|
|
1089
|
+
}
|
|
1090
|
+
});
|
|
1091
|
+
}, x = "Inter, Helvetica, Arial, sans-serif", S0 = (e) => g0(e, {
|
|
1061
1092
|
fontFamily: x,
|
|
1062
1093
|
fontSize: 15,
|
|
1063
1094
|
Body: {
|
|
@@ -1114,16 +1145,16 @@ const N0 = ({
|
|
|
1114
1145
|
lineHeight: "16px"
|
|
1115
1146
|
}
|
|
1116
1147
|
});
|
|
1117
|
-
|
|
1148
|
+
u0.setLicenseKey(
|
|
1118
1149
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1119
1150
|
);
|
|
1120
|
-
const
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
const
|
|
1125
|
-
const
|
|
1126
|
-
return
|
|
1151
|
+
const C = [...O().shadows];
|
|
1152
|
+
C[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1153
|
+
C[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1154
|
+
C[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1155
|
+
const N = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", z = "inset 0px 0px 0px 2px rgba(82, 138, 224, 0.8)", I0 = "cubic-bezier(.475,.425,0,.995)", _e = (e, o = {}) => {
|
|
1156
|
+
const r = L0(e, o), l = S0(r);
|
|
1157
|
+
return O({
|
|
1127
1158
|
breakpoints: {
|
|
1128
1159
|
values: {
|
|
1129
1160
|
xs: 0,
|
|
@@ -1133,22 +1164,22 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1133
1164
|
xl: 1200
|
|
1134
1165
|
}
|
|
1135
1166
|
},
|
|
1136
|
-
palette:
|
|
1137
|
-
shadows:
|
|
1167
|
+
palette: r,
|
|
1168
|
+
shadows: C,
|
|
1138
1169
|
shape: {
|
|
1139
1170
|
borderRadius: 4
|
|
1140
1171
|
},
|
|
1141
1172
|
spacing: 1,
|
|
1142
|
-
typography:
|
|
1173
|
+
typography: l,
|
|
1143
1174
|
components: {
|
|
1144
1175
|
MuiAutocomplete: {
|
|
1145
1176
|
styleOverrides: {
|
|
1146
|
-
root: ({ theme:
|
|
1177
|
+
root: ({ theme: t }) => ({
|
|
1147
1178
|
"& .MuiAutocomplete-endAdornment": {
|
|
1148
1179
|
marginTop: -5
|
|
1149
1180
|
},
|
|
1150
1181
|
"& .MuiIconButton-root": {
|
|
1151
|
-
color:
|
|
1182
|
+
color: t.palette.mode === "light" ? t.palette.grey[700] : t.palette.grey[400],
|
|
1152
1183
|
"&:hover": {
|
|
1153
1184
|
backgroundColor: "inherit"
|
|
1154
1185
|
}
|
|
@@ -1159,16 +1190,16 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1159
1190
|
MuiAlert: {
|
|
1160
1191
|
defaultProps: {
|
|
1161
1192
|
iconMapping: {
|
|
1162
|
-
success: /* @__PURE__ */ a(
|
|
1163
|
-
error: /* @__PURE__ */ a(
|
|
1164
|
-
warning: /* @__PURE__ */ a(
|
|
1165
|
-
info: /* @__PURE__ */ a(
|
|
1193
|
+
success: /* @__PURE__ */ a(f, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
|
|
1194
|
+
error: /* @__PURE__ */ a(f, { fill: !0, name: "error", size: 24, weight: 400 }),
|
|
1195
|
+
warning: /* @__PURE__ */ a(f, { fill: !0, name: "warning", size: 24, weight: 400 }),
|
|
1196
|
+
info: /* @__PURE__ */ a(f, { fill: !0, name: "info", size: 24, weight: 400 })
|
|
1166
1197
|
}
|
|
1167
1198
|
},
|
|
1168
1199
|
styleOverrides: {
|
|
1169
|
-
standard: ({ theme:
|
|
1170
|
-
background:
|
|
1171
|
-
color:
|
|
1200
|
+
standard: ({ theme: t }) => ({
|
|
1201
|
+
background: t.palette.background.paper,
|
|
1202
|
+
color: t.palette.text.primary
|
|
1172
1203
|
}),
|
|
1173
1204
|
root: {
|
|
1174
1205
|
alignItems: "center",
|
|
@@ -1187,8 +1218,8 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1187
1218
|
},
|
|
1188
1219
|
MuiAvatar: {
|
|
1189
1220
|
styleOverrides: {
|
|
1190
|
-
root: ({ theme:
|
|
1191
|
-
backgroundColor:
|
|
1221
|
+
root: ({ theme: t }) => ({
|
|
1222
|
+
backgroundColor: t.palette.mode === p.LIGHT ? t.palette.grey[400] : t.palette.grey[700]
|
|
1192
1223
|
})
|
|
1193
1224
|
}
|
|
1194
1225
|
},
|
|
@@ -1199,15 +1230,15 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1199
1230
|
styleOverrides: {
|
|
1200
1231
|
root: {
|
|
1201
1232
|
"&.Mui-focusVisible": {
|
|
1202
|
-
boxShadow:
|
|
1233
|
+
boxShadow: N
|
|
1203
1234
|
}
|
|
1204
1235
|
}
|
|
1205
1236
|
}
|
|
1206
1237
|
},
|
|
1207
1238
|
MuiButton: {
|
|
1208
1239
|
styleOverrides: {
|
|
1209
|
-
contained: ({ ownerState:
|
|
1210
|
-
...i.palette.mode ===
|
|
1240
|
+
contained: ({ ownerState: t, theme: i }) => ({
|
|
1241
|
+
...i.palette.mode === p.DARK && t.color === "primary" && {
|
|
1211
1242
|
color: i.palette.grey[900],
|
|
1212
1243
|
backgroundColor: i.palette.primary.light
|
|
1213
1244
|
},
|
|
@@ -1216,45 +1247,45 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1216
1247
|
boxShadow: "none"
|
|
1217
1248
|
},
|
|
1218
1249
|
"&:active": {
|
|
1219
|
-
backgroundColor:
|
|
1250
|
+
backgroundColor: t.color === "error" ? i.palette.error.darker : i.palette.primary.darker
|
|
1220
1251
|
}
|
|
1221
1252
|
}),
|
|
1222
|
-
outlined: ({ theme:
|
|
1223
|
-
borderColor:
|
|
1253
|
+
outlined: ({ theme: t }) => ({
|
|
1254
|
+
borderColor: t.palette.border.main,
|
|
1224
1255
|
"&:hover": {
|
|
1225
|
-
borderColor:
|
|
1256
|
+
borderColor: t.palette.border.dark
|
|
1226
1257
|
},
|
|
1227
1258
|
"&:active": {
|
|
1228
|
-
borderColor:
|
|
1259
|
+
borderColor: t.palette.border.darker
|
|
1229
1260
|
}
|
|
1230
1261
|
}),
|
|
1231
|
-
outlinedPrimary: ({ theme:
|
|
1232
|
-
...
|
|
1233
|
-
color:
|
|
1262
|
+
outlinedPrimary: ({ theme: t }) => ({
|
|
1263
|
+
...t.palette.mode === p.DARK && {
|
|
1264
|
+
color: t.palette.primary.light
|
|
1234
1265
|
}
|
|
1235
1266
|
}),
|
|
1236
|
-
text: ({ ownerState:
|
|
1267
|
+
text: ({ ownerState: t, theme: i }) => ({
|
|
1237
1268
|
"&:active": {
|
|
1238
|
-
...
|
|
1269
|
+
...t.color === "error" && {
|
|
1239
1270
|
backgroundColor: i.palette.error.lighter
|
|
1240
1271
|
},
|
|
1241
|
-
...
|
|
1272
|
+
...t.color === "primary" && {
|
|
1242
1273
|
backgroundColor: i.palette.primary.light
|
|
1243
1274
|
},
|
|
1244
|
-
...
|
|
1275
|
+
...t.color === "secondary" && {
|
|
1245
1276
|
backgroundColor: i.palette.secondary.lighter
|
|
1246
1277
|
},
|
|
1247
|
-
...i.palette.mode ===
|
|
1278
|
+
...i.palette.mode === p.DARK && {
|
|
1248
1279
|
color: i.palette.common.white
|
|
1249
1280
|
},
|
|
1250
|
-
...i.palette.mode ===
|
|
1281
|
+
...i.palette.mode === p.DARK && t.color === "secondary" && {
|
|
1251
1282
|
color: i.palette.secondary.darker
|
|
1252
1283
|
}
|
|
1253
1284
|
}
|
|
1254
1285
|
}),
|
|
1255
|
-
textPrimary: ({ theme:
|
|
1256
|
-
...
|
|
1257
|
-
color:
|
|
1286
|
+
textPrimary: ({ theme: t }) => ({
|
|
1287
|
+
...t.palette.mode === p.DARK && {
|
|
1288
|
+
color: t.palette.primary.light
|
|
1258
1289
|
}
|
|
1259
1290
|
}),
|
|
1260
1291
|
root: {
|
|
@@ -1266,7 +1297,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1266
1297
|
cursor: "not-allowed"
|
|
1267
1298
|
},
|
|
1268
1299
|
"&.Mui-focusVisible": {
|
|
1269
|
-
boxShadow:
|
|
1300
|
+
boxShadow: N
|
|
1270
1301
|
}
|
|
1271
1302
|
},
|
|
1272
1303
|
sizeMedium: {
|
|
@@ -1279,43 +1310,43 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1279
1310
|
disableRipple: !0
|
|
1280
1311
|
},
|
|
1281
1312
|
styleOverrides: {
|
|
1282
|
-
root: ({ theme:
|
|
1313
|
+
root: ({ theme: t }) => ({
|
|
1283
1314
|
"&:hover": {
|
|
1284
|
-
borderColor:
|
|
1315
|
+
borderColor: t.palette.border.dark
|
|
1285
1316
|
},
|
|
1286
1317
|
"button:hover + button": {
|
|
1287
|
-
borderLeftColor:
|
|
1318
|
+
borderLeftColor: t.palette.border.dark
|
|
1288
1319
|
},
|
|
1289
1320
|
"&:active": {
|
|
1290
|
-
borderColor:
|
|
1321
|
+
borderColor: t.palette.border.darker
|
|
1291
1322
|
},
|
|
1292
1323
|
"button:active + button": {
|
|
1293
|
-
borderLeftColor:
|
|
1324
|
+
borderLeftColor: t.palette.border.darker
|
|
1294
1325
|
}
|
|
1295
1326
|
})
|
|
1296
1327
|
}
|
|
1297
1328
|
},
|
|
1298
1329
|
MuiTabs: {
|
|
1299
1330
|
styleOverrides: {
|
|
1300
|
-
indicator: ({ theme:
|
|
1331
|
+
indicator: ({ theme: t }) => ({
|
|
1301
1332
|
height: 3,
|
|
1302
|
-
backgroundColor:
|
|
1333
|
+
backgroundColor: t.palette.action.selected
|
|
1303
1334
|
})
|
|
1304
1335
|
}
|
|
1305
1336
|
},
|
|
1306
1337
|
MuiTab: {
|
|
1307
1338
|
styleOverrides: {
|
|
1308
|
-
root: ({ theme:
|
|
1339
|
+
root: ({ theme: t }) => ({
|
|
1309
1340
|
textTransform: "none",
|
|
1310
1341
|
fontWeight: 600,
|
|
1311
1342
|
"&.Mui-focusVisible": {
|
|
1312
|
-
boxShadow:
|
|
1343
|
+
boxShadow: z
|
|
1313
1344
|
},
|
|
1314
1345
|
"&:not(.Mui-selected)": {
|
|
1315
|
-
borderBottom: `2px solid ${
|
|
1346
|
+
borderBottom: `2px solid ${t.palette.divider}`
|
|
1316
1347
|
},
|
|
1317
1348
|
"&.Mui-selected": {
|
|
1318
|
-
color:
|
|
1349
|
+
color: t.palette.action.selected,
|
|
1319
1350
|
paddingBottom: 13
|
|
1320
1351
|
}
|
|
1321
1352
|
})
|
|
@@ -1323,35 +1354,35 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1323
1354
|
},
|
|
1324
1355
|
MuiCheckbox: {
|
|
1325
1356
|
styleOverrides: {
|
|
1326
|
-
root: ({ theme:
|
|
1327
|
-
color:
|
|
1357
|
+
root: ({ theme: t }) => ({
|
|
1358
|
+
color: t.palette.mode === p.LIGHT ? t.palette.grey[800] : t.palette.common.white,
|
|
1328
1359
|
"&:hover": {
|
|
1329
1360
|
backgroundColor: "transparent"
|
|
1330
1361
|
},
|
|
1331
1362
|
"&.Mui-checked": {
|
|
1332
|
-
color:
|
|
1363
|
+
color: t.palette.mode === p.LIGHT ? t.palette.primary.main : t.palette.common.white
|
|
1333
1364
|
},
|
|
1334
1365
|
"&.MuiCheckbox-colorError": {
|
|
1335
|
-
color:
|
|
1366
|
+
color: t.palette.error.main
|
|
1336
1367
|
}
|
|
1337
1368
|
})
|
|
1338
1369
|
}
|
|
1339
1370
|
},
|
|
1340
1371
|
MuiChip: {
|
|
1341
1372
|
styleOverrides: {
|
|
1342
|
-
outlined: ({ theme:
|
|
1343
|
-
const { common: i, grey:
|
|
1373
|
+
outlined: ({ theme: t }) => {
|
|
1374
|
+
const { common: i, grey: n, mode: c } = t.palette;
|
|
1344
1375
|
return {
|
|
1345
1376
|
backgroundColor: "transparent",
|
|
1346
|
-
borderColor: c ===
|
|
1377
|
+
borderColor: c === p.LIGHT ? n[600] : n[500],
|
|
1347
1378
|
borderWidth: 1,
|
|
1348
|
-
color: c ===
|
|
1379
|
+
color: c === p.LIGHT ? n[900] : i.white,
|
|
1349
1380
|
fontSize: 11,
|
|
1350
1381
|
// XSmall
|
|
1351
1382
|
height: 24,
|
|
1352
1383
|
"&:hover": {
|
|
1353
|
-
borderColor: c ===
|
|
1354
|
-
backgroundColor: c ===
|
|
1384
|
+
borderColor: c === p.LIGHT ? n[300] : n[600],
|
|
1385
|
+
backgroundColor: c === p.LIGHT ? n[300] : n[600]
|
|
1355
1386
|
}
|
|
1356
1387
|
};
|
|
1357
1388
|
},
|
|
@@ -1390,7 +1421,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1390
1421
|
root: {
|
|
1391
1422
|
animationDuration: "1.6s",
|
|
1392
1423
|
color: "primary",
|
|
1393
|
-
[`& .${
|
|
1424
|
+
[`& .${p0.circle}`]: {
|
|
1394
1425
|
strokeLinecap: "round"
|
|
1395
1426
|
}
|
|
1396
1427
|
}
|
|
@@ -1398,31 +1429,31 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1398
1429
|
},
|
|
1399
1430
|
MuiDayCalendar: {
|
|
1400
1431
|
styleOverrides: {
|
|
1401
|
-
weekDayLabel: ({ theme:
|
|
1432
|
+
weekDayLabel: ({ theme: t }) => ({
|
|
1402
1433
|
// TODO: Need to add additional styles to the theme such as SmallBold or use Caption
|
|
1403
|
-
fontSize:
|
|
1434
|
+
fontSize: t.typography.Small.fontSize,
|
|
1404
1435
|
fontWeight: 700
|
|
1405
1436
|
})
|
|
1406
1437
|
}
|
|
1407
1438
|
},
|
|
1408
1439
|
MuiDataGrid: {
|
|
1409
1440
|
styleOverrides: {
|
|
1410
|
-
root: ({ theme:
|
|
1441
|
+
root: ({ theme: t }) => ({
|
|
1411
1442
|
border: "none",
|
|
1412
1443
|
borderRadius: 0,
|
|
1413
|
-
fontSize:
|
|
1444
|
+
fontSize: t.typography.Small.fontSize,
|
|
1414
1445
|
"& .MuiDataGrid-cell": {
|
|
1415
1446
|
display: "flex",
|
|
1416
1447
|
alignItems: "center",
|
|
1417
1448
|
borderTop: "1px solid",
|
|
1418
|
-
borderColor:
|
|
1449
|
+
borderColor: t.palette.background.highlight
|
|
1419
1450
|
},
|
|
1420
1451
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1421
1452
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1422
1453
|
"& .MuiDataGrid-columnHeaders": {
|
|
1423
|
-
backgroundColor:
|
|
1454
|
+
backgroundColor: t.palette.background.paper,
|
|
1424
1455
|
borderBottom: "2px solid",
|
|
1425
|
-
borderColor:
|
|
1456
|
+
borderColor: t.palette.divider
|
|
1426
1457
|
},
|
|
1427
1458
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1428
1459
|
fontWeight: 600
|
|
@@ -1447,7 +1478,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1447
1478
|
},
|
|
1448
1479
|
MuiDateRangePickerDay: {
|
|
1449
1480
|
styleOverrides: {
|
|
1450
|
-
root: ({ theme:
|
|
1481
|
+
root: ({ theme: t }) => ({
|
|
1451
1482
|
":first-of-type": {
|
|
1452
1483
|
borderTopLeftRadius: 4,
|
|
1453
1484
|
borderBottomLeftRadius: 4,
|
|
@@ -1468,7 +1499,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1468
1499
|
borderRadius: 4
|
|
1469
1500
|
},
|
|
1470
1501
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1471
|
-
color:
|
|
1502
|
+
color: t.palette.grey[500]
|
|
1472
1503
|
}
|
|
1473
1504
|
}),
|
|
1474
1505
|
day: {
|
|
@@ -1509,8 +1540,8 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1509
1540
|
"aria-hidden": !0
|
|
1510
1541
|
},
|
|
1511
1542
|
styleOverrides: {
|
|
1512
|
-
root: ({ theme:
|
|
1513
|
-
borderColor:
|
|
1543
|
+
root: ({ theme: t }) => ({
|
|
1544
|
+
borderColor: t.palette.border.light
|
|
1514
1545
|
}),
|
|
1515
1546
|
inset: {
|
|
1516
1547
|
marginLeft: 68
|
|
@@ -1551,7 +1582,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1551
1582
|
// Body
|
|
1552
1583
|
lineHeight: "20px",
|
|
1553
1584
|
// Body
|
|
1554
|
-
transition: `box-shadow 350ms ${
|
|
1585
|
+
transition: `box-shadow 350ms ${I0}`,
|
|
1555
1586
|
width: "100%",
|
|
1556
1587
|
"&.MuiOutlinedInput-input.Mui-disabled": {
|
|
1557
1588
|
padding: 12,
|
|
@@ -1567,7 +1598,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1567
1598
|
},
|
|
1568
1599
|
MuiLink: {
|
|
1569
1600
|
styleOverrides: {
|
|
1570
|
-
root: ({ theme:
|
|
1601
|
+
root: ({ theme: t }) => ({
|
|
1571
1602
|
display: "inline-flex",
|
|
1572
1603
|
alignItems: "center",
|
|
1573
1604
|
boxSizing: "border-box",
|
|
@@ -1582,7 +1613,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1582
1613
|
outline: "rgba(82, 138, 224, 0.8) auto 1px"
|
|
1583
1614
|
},
|
|
1584
1615
|
"&:hover": {
|
|
1585
|
-
backgroundColor:
|
|
1616
|
+
backgroundColor: t.palette.action.hover,
|
|
1586
1617
|
borderBottom: "1px solid"
|
|
1587
1618
|
},
|
|
1588
1619
|
fontWeight: 600
|
|
@@ -1591,7 +1622,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1591
1622
|
variants: [
|
|
1592
1623
|
{
|
|
1593
1624
|
props: { color: "primary" },
|
|
1594
|
-
style: ({ theme:
|
|
1625
|
+
style: ({ theme: t }) => t.palette.mode === p.DARK ? { color: t.palette.primary.light } : {}
|
|
1595
1626
|
}
|
|
1596
1627
|
]
|
|
1597
1628
|
},
|
|
@@ -1617,17 +1648,17 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1617
1648
|
disablePadding: !0
|
|
1618
1649
|
},
|
|
1619
1650
|
styleOverrides: {
|
|
1620
|
-
root: ({ ownerState:
|
|
1621
|
-
const { mode:
|
|
1651
|
+
root: ({ ownerState: t, theme: i }) => {
|
|
1652
|
+
const { mode: n, primary: c } = i.palette;
|
|
1622
1653
|
return {
|
|
1623
1654
|
minHeight: 64,
|
|
1624
|
-
...!
|
|
1655
|
+
...!t.disablePadding && {
|
|
1625
1656
|
paddingTop: 12,
|
|
1626
1657
|
paddingBottom: 12,
|
|
1627
1658
|
paddingLeft: 24
|
|
1628
1659
|
},
|
|
1629
1660
|
"& .MuiIconButton-root": {
|
|
1630
|
-
color:
|
|
1661
|
+
color: n === p.LIGHT ? c.main : c.light
|
|
1631
1662
|
}
|
|
1632
1663
|
};
|
|
1633
1664
|
}
|
|
@@ -1635,7 +1666,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1635
1666
|
},
|
|
1636
1667
|
MuiCollapse: {
|
|
1637
1668
|
styleOverrides: {
|
|
1638
|
-
root: ({ theme:
|
|
1669
|
+
root: ({ theme: t }) => ({
|
|
1639
1670
|
"& .MuiListItem-root": {
|
|
1640
1671
|
minHeight: 44
|
|
1641
1672
|
},
|
|
@@ -1643,10 +1674,10 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1643
1674
|
minHeight: 44,
|
|
1644
1675
|
paddingLeft: 12,
|
|
1645
1676
|
"&:hover": {
|
|
1646
|
-
backgroundColor: `${
|
|
1677
|
+
backgroundColor: `${t.palette.secondary.lighter}33`
|
|
1647
1678
|
},
|
|
1648
1679
|
"&:active": {
|
|
1649
|
-
backgroundColor: `${
|
|
1680
|
+
backgroundColor: `${t.palette.secondary.lighter}66`
|
|
1650
1681
|
}
|
|
1651
1682
|
}
|
|
1652
1683
|
})
|
|
@@ -1668,21 +1699,21 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1668
1699
|
},
|
|
1669
1700
|
MuiListItemButton: {
|
|
1670
1701
|
styleOverrides: {
|
|
1671
|
-
root: ({ theme:
|
|
1702
|
+
root: ({ theme: t }) => ({
|
|
1672
1703
|
minHeight: 64,
|
|
1673
1704
|
paddingLeft: 24,
|
|
1674
1705
|
paddingRight: 24,
|
|
1675
1706
|
paddingTop: 12,
|
|
1676
1707
|
paddingBottom: 12,
|
|
1677
1708
|
"&.Mui-focusVisible": {
|
|
1678
|
-
boxShadow:
|
|
1709
|
+
boxShadow: z
|
|
1679
1710
|
},
|
|
1680
1711
|
"&:active": {
|
|
1681
|
-
backgroundColor: `${
|
|
1712
|
+
backgroundColor: `${t.palette.secondary.lighter}33`
|
|
1682
1713
|
},
|
|
1683
1714
|
"&.Mui-selected": {
|
|
1684
1715
|
fontWeight: "bold",
|
|
1685
|
-
borderLeft: `3px solid ${
|
|
1716
|
+
borderLeft: `3px solid ${t.palette.primary.main}`,
|
|
1686
1717
|
paddingLeft: 21
|
|
1687
1718
|
}
|
|
1688
1719
|
})
|
|
@@ -1708,10 +1739,10 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1708
1739
|
},
|
|
1709
1740
|
MuiListItemIcon: {
|
|
1710
1741
|
styleOverrides: {
|
|
1711
|
-
root: ({ theme:
|
|
1742
|
+
root: ({ theme: t }) => ({
|
|
1712
1743
|
minWidth: "auto",
|
|
1713
1744
|
marginLeft: 8,
|
|
1714
|
-
color:
|
|
1745
|
+
color: t.palette.text.primary
|
|
1715
1746
|
})
|
|
1716
1747
|
}
|
|
1717
1748
|
},
|
|
@@ -1721,11 +1752,11 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1721
1752
|
// without this it defaults to the secondary color
|
|
1722
1753
|
},
|
|
1723
1754
|
styleOverrides: {
|
|
1724
|
-
root: ({ theme:
|
|
1755
|
+
root: ({ theme: t }) => ({
|
|
1725
1756
|
lineHeight: "inherit",
|
|
1726
1757
|
top: -1,
|
|
1727
1758
|
// This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
|
|
1728
|
-
backgroundColor:
|
|
1759
|
+
backgroundColor: t.palette.background.default
|
|
1729
1760
|
})
|
|
1730
1761
|
}
|
|
1731
1762
|
},
|
|
@@ -1755,14 +1786,14 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1755
1786
|
},
|
|
1756
1787
|
MuiOutlinedInput: {
|
|
1757
1788
|
styleOverrides: {
|
|
1758
|
-
root: ({ theme:
|
|
1789
|
+
root: ({ theme: t }) => ({
|
|
1759
1790
|
"&.Mui-focused": {
|
|
1760
1791
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
1761
1792
|
outline: "none"
|
|
1762
1793
|
}
|
|
1763
1794
|
},
|
|
1764
1795
|
"& .MuiSelect-icon": {
|
|
1765
|
-
color:
|
|
1796
|
+
color: t.palette.mode === p.LIGHT ? t.palette.grey[900] : t.palette.common.white
|
|
1766
1797
|
}
|
|
1767
1798
|
})
|
|
1768
1799
|
}
|
|
@@ -1784,8 +1815,8 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1784
1815
|
},
|
|
1785
1816
|
MuiPickersDay: {
|
|
1786
1817
|
styleOverrides: {
|
|
1787
|
-
today: ({ theme:
|
|
1788
|
-
color:
|
|
1818
|
+
today: ({ theme: t }) => ({
|
|
1819
|
+
color: t.palette.action.selected,
|
|
1789
1820
|
fontWeight: 700,
|
|
1790
1821
|
textDecoration: "2px underline",
|
|
1791
1822
|
textUnderlineOffset: 4,
|
|
@@ -1801,29 +1832,29 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1801
1832
|
backgroundColor: "transparent !important",
|
|
1802
1833
|
padding: 16
|
|
1803
1834
|
},
|
|
1804
|
-
toolbar: ({ theme:
|
|
1835
|
+
toolbar: ({ theme: t }) => ({
|
|
1805
1836
|
gridColumn: "1/4",
|
|
1806
1837
|
"& > .MuiTypography-root": {
|
|
1807
1838
|
textTransform: "uppercase",
|
|
1808
|
-
fontSize:
|
|
1839
|
+
fontSize: t.typography.Small.fontSize,
|
|
1809
1840
|
fontWeight: 600,
|
|
1810
|
-
lineHeight:
|
|
1841
|
+
lineHeight: t.typography.Small.lineHeight
|
|
1811
1842
|
}
|
|
1812
1843
|
})
|
|
1813
1844
|
}
|
|
1814
1845
|
},
|
|
1815
1846
|
MuiPickersToolbar: {
|
|
1816
1847
|
styleOverrides: {
|
|
1817
|
-
content: ({ theme:
|
|
1848
|
+
content: ({ theme: t }) => ({
|
|
1818
1849
|
marginTop: 4,
|
|
1819
1850
|
"& .MuiTypography-root": {
|
|
1820
|
-
fontSize:
|
|
1821
|
-
lineHeight:
|
|
1851
|
+
fontSize: t.typography.H3.fontSize,
|
|
1852
|
+
lineHeight: t.typography.H3.lineHeight
|
|
1822
1853
|
},
|
|
1823
1854
|
"& .MuiPickersToolbarText-root": {
|
|
1824
|
-
color:
|
|
1855
|
+
color: t.palette.mode === p.LIGHT ? t.palette.secondary.light : t.palette.secondary.dark,
|
|
1825
1856
|
"&.Mui-selected": {
|
|
1826
|
-
color:
|
|
1857
|
+
color: t.palette.text.primary
|
|
1827
1858
|
}
|
|
1828
1859
|
}
|
|
1829
1860
|
})
|
|
@@ -1849,20 +1880,20 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1849
1880
|
},
|
|
1850
1881
|
MuiSnackbar: {
|
|
1851
1882
|
styleOverrides: {
|
|
1852
|
-
root: ({ theme:
|
|
1883
|
+
root: ({ theme: t }) => ({
|
|
1853
1884
|
"& .MuiAlert-icon": {
|
|
1854
|
-
color:
|
|
1885
|
+
color: t.palette.success.contrastText
|
|
1855
1886
|
},
|
|
1856
1887
|
"& .MuiAlert-message": {
|
|
1857
|
-
color:
|
|
1888
|
+
color: t.palette.success.contrastText
|
|
1858
1889
|
}
|
|
1859
1890
|
})
|
|
1860
1891
|
}
|
|
1861
1892
|
},
|
|
1862
1893
|
MuiSwitch: {
|
|
1863
1894
|
styleOverrides: {
|
|
1864
|
-
root: ({ theme:
|
|
1865
|
-
const { grey: i, mode:
|
|
1895
|
+
root: ({ theme: t }) => {
|
|
1896
|
+
const { grey: i, mode: n } = t.palette;
|
|
1866
1897
|
return {
|
|
1867
1898
|
width: 34,
|
|
1868
1899
|
height: 18,
|
|
@@ -1886,10 +1917,10 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1886
1917
|
}
|
|
1887
1918
|
},
|
|
1888
1919
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1889
|
-
color:
|
|
1920
|
+
color: n === p.LIGHT ? i[100] : i[600]
|
|
1890
1921
|
},
|
|
1891
1922
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1892
|
-
opacity:
|
|
1923
|
+
opacity: n === p.LIGHT ? 0.7 : 0.3
|
|
1893
1924
|
},
|
|
1894
1925
|
"&.Mui-focusVisible .MuiSwitch-thumb": {
|
|
1895
1926
|
color: "#0AC295",
|
|
@@ -1903,7 +1934,7 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1903
1934
|
height: 14
|
|
1904
1935
|
},
|
|
1905
1936
|
"& .MuiSwitch-track": {
|
|
1906
|
-
backgroundColor:
|
|
1937
|
+
backgroundColor: n === p.LIGHT ? i[400] : i[700],
|
|
1907
1938
|
borderRadius: 18 / 2,
|
|
1908
1939
|
opacity: 1
|
|
1909
1940
|
}
|
|
@@ -1913,8 +1944,8 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1913
1944
|
},
|
|
1914
1945
|
MuiTextField: {
|
|
1915
1946
|
styleOverrides: {
|
|
1916
|
-
root: ({ theme:
|
|
1917
|
-
backgroundColor:
|
|
1947
|
+
root: ({ theme: t }) => ({
|
|
1948
|
+
backgroundColor: t.palette.background.paper
|
|
1918
1949
|
})
|
|
1919
1950
|
}
|
|
1920
1951
|
},
|
|
@@ -1927,50 +1958,50 @@ const z = "0px 0px 0px 2px rgba(82, 138, 224, 0.8)", P = "inset 0px 0px 0px 2px
|
|
|
1927
1958
|
});
|
|
1928
1959
|
};
|
|
1929
1960
|
export {
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1961
|
+
de as AccountsFilledIcon,
|
|
1962
|
+
ue as AccountsIcon,
|
|
1963
|
+
pe as ArrowLeftIcon,
|
|
1964
|
+
he as AttentionFilledIcon,
|
|
1965
|
+
h as BaseIcon,
|
|
1966
|
+
Ee as BottomSheetTransition,
|
|
1967
|
+
ge as CalendarIcon,
|
|
1968
|
+
d as CategoryGuids,
|
|
1969
|
+
T0 as CategoryIcon,
|
|
1970
|
+
y0 as CategoryIconList,
|
|
1971
|
+
f0 as CategoryIconVariants,
|
|
1972
|
+
me as CheckmarkFilledIcon,
|
|
1973
|
+
be as ChevronDownIcon,
|
|
1974
|
+
fe as ChevronLeftIcon,
|
|
1975
|
+
ye as ChevronRightIcon,
|
|
1976
|
+
b0 as CloseIcon,
|
|
1977
|
+
ke as DateRangePicker,
|
|
1978
|
+
x0 as DialogFooter,
|
|
1979
|
+
Le as DialogHeader,
|
|
1980
|
+
Se as Drawer,
|
|
1981
|
+
Me as EditIcon,
|
|
1982
|
+
Te as FilterIcon,
|
|
1983
|
+
x0 as Footer,
|
|
1984
|
+
C0 as H1,
|
|
1985
|
+
we as H2,
|
|
1986
|
+
Fe as H3,
|
|
1987
|
+
ve as HeartIcon,
|
|
1957
1988
|
x as INTER,
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1989
|
+
f as Icon,
|
|
1990
|
+
m0 as IconWeight,
|
|
1991
|
+
Ie as InstitutionLogo,
|
|
1992
|
+
Ae as MXLogoCopyrightIcon,
|
|
1993
|
+
Ce as MXLogoFilledIcon,
|
|
1994
|
+
xe as MXLogoIcon,
|
|
1995
|
+
De as MXLogoOutlineIcon,
|
|
1996
|
+
He as MerchantLogo,
|
|
1997
|
+
Re as P,
|
|
1998
|
+
M as TARGETS,
|
|
1968
1999
|
A as THEMES,
|
|
1969
2000
|
v as Text,
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
2001
|
+
Ne as TextField,
|
|
2002
|
+
ze as Toast,
|
|
2003
|
+
Oe as TokenProvider,
|
|
2004
|
+
_e as createMXTheme,
|
|
2005
|
+
Be as useTokens
|
|
1975
2006
|
};
|
|
1976
2007
|
//# sourceMappingURL=index.es.js.map
|