@mxenabled/mxui 1.2.1-alpha.bb3 → 1.2.1-alpha.bb4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +364 -282
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t, jsxs as M } from "react/jsx-runtime";
|
|
2
2
|
import C from "react";
|
|
3
|
-
import
|
|
4
|
-
import { useTheme as D, createTheme as
|
|
5
|
-
import
|
|
6
|
-
import { endOfMonth as
|
|
3
|
+
import L from "@mui/material/Stack";
|
|
4
|
+
import { useTheme as D, createTheme as W } from "@mui/material/styles";
|
|
5
|
+
import t0 from "@mui/material/Icon";
|
|
6
|
+
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
7
7
|
import { endOfYear as r0 } from "date-fns/endOfYear";
|
|
8
8
|
import { startOfToday as i0 } from "date-fns/startOfToday";
|
|
9
|
-
import { startOfMonth as
|
|
10
|
-
import { startOfYear as
|
|
11
|
-
import { subDays as
|
|
9
|
+
import { startOfMonth as U } from "date-fns/startOfMonth";
|
|
10
|
+
import { startOfYear as G } from "date-fns/startOfYear";
|
|
11
|
+
import { subDays as $ } from "date-fns/subDays";
|
|
12
12
|
import { subMonths as a0 } from "date-fns/subMonths";
|
|
13
13
|
import { subYears as n0 } from "date-fns/subYears";
|
|
14
14
|
import l0 from "@mui/material/useMediaQuery";
|
|
15
15
|
import { LocalizationProvider as c0, StaticDateRangePicker as s0 } from "@mui/x-date-pickers-pro";
|
|
16
16
|
import { AdapterDateFns as d0 } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
|
|
17
|
-
import
|
|
17
|
+
import Z from "@mui/material/Box";
|
|
18
18
|
import u0 from "@mui/material/ToggleButton";
|
|
19
19
|
import h0 from "@mui/material/ToggleButtonGroup";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
20
|
+
import K from "@mui/material/Slide";
|
|
21
|
+
import _ from "@mui/material/Button";
|
|
22
22
|
import { Close as p0 } from "@mui/icons-material";
|
|
23
|
-
import
|
|
24
|
-
import
|
|
23
|
+
import X from "@mui/material/IconButton";
|
|
24
|
+
import m0 from "@mui/material/Typography";
|
|
25
25
|
import g0 from "@mui/material/Drawer";
|
|
26
|
-
import
|
|
26
|
+
import f0 from "@mui/material/TextField";
|
|
27
27
|
import T0 from "@mui/material/Snackbar";
|
|
28
28
|
import b0 from "@mui/material/Alert";
|
|
29
|
-
import { light as
|
|
29
|
+
import { light as Y, buildTheme as P, dark as C0 } from "@mxenabled/design-tokens";
|
|
30
|
+
import { darken as N, lighten as H, alpha as g } from "@mui/material";
|
|
30
31
|
import { circularProgressClasses as A0 } from "@mui/material/CircularProgress";
|
|
31
32
|
import { LicenseInfo as R0 } from "@mui/x-license-pro";
|
|
32
|
-
import
|
|
33
|
-
import E0 from "@mui/material/styles/
|
|
34
|
-
|
|
35
|
-
const g = ({
|
|
33
|
+
import M0 from "@mui/material/styles/createPalette";
|
|
34
|
+
import E0 from "@mui/material/styles/createTypography";
|
|
35
|
+
const f = ({
|
|
36
36
|
children: e,
|
|
37
|
-
height:
|
|
37
|
+
height: o,
|
|
38
38
|
size: a = 16,
|
|
39
39
|
viewBox: r = "0 0 16 16",
|
|
40
40
|
width: n
|
|
41
|
-
}) => /* @__PURE__ */
|
|
41
|
+
}) => /* @__PURE__ */ t(
|
|
42
42
|
"svg",
|
|
43
43
|
{
|
|
44
44
|
"aria-hidden": !0,
|
|
45
45
|
className: "mx-kmui-icon",
|
|
46
46
|
focusable: !1,
|
|
47
|
-
height:
|
|
47
|
+
height: o || a,
|
|
48
48
|
viewBox: r,
|
|
49
49
|
width: n || a,
|
|
50
50
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -54,7 +54,7 @@ const g = ({
|
|
|
54
54
|
var S0 = /* @__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))(S0 || {});
|
|
55
55
|
const R = ({
|
|
56
56
|
color: e,
|
|
57
|
-
fill:
|
|
57
|
+
fill: o = !1,
|
|
58
58
|
name: a,
|
|
59
59
|
size: r = 20,
|
|
60
60
|
sx: n,
|
|
@@ -66,15 +66,15 @@ const R = ({
|
|
|
66
66
|
document.fonts.ready.then(() => {
|
|
67
67
|
i(!0);
|
|
68
68
|
});
|
|
69
|
-
}, []), /* @__PURE__ */
|
|
70
|
-
|
|
69
|
+
}, []), /* @__PURE__ */ t(
|
|
70
|
+
t0,
|
|
71
71
|
{
|
|
72
72
|
color: l ? e && e : void 0,
|
|
73
73
|
sx: [
|
|
74
74
|
{
|
|
75
75
|
fontSize: r,
|
|
76
76
|
fontVariationSettings: `
|
|
77
|
-
'FILL' ${
|
|
77
|
+
'FILL' ${o ? 1 : 0},
|
|
78
78
|
'wght' ${s},
|
|
79
79
|
'GRAD' 0,
|
|
80
80
|
'opsz' ${r}
|
|
@@ -91,8 +91,8 @@ const R = ({
|
|
|
91
91
|
);
|
|
92
92
|
}, be = ({
|
|
93
93
|
color: e = "currentColor",
|
|
94
|
-
...
|
|
95
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
94
|
+
...o
|
|
95
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
96
96
|
"path",
|
|
97
97
|
{
|
|
98
98
|
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",
|
|
@@ -100,8 +100,8 @@ const R = ({
|
|
|
100
100
|
}
|
|
101
101
|
) })), Ce = ({
|
|
102
102
|
color: e = "currentColor",
|
|
103
|
-
...
|
|
104
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
103
|
+
...o
|
|
104
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
105
105
|
"path",
|
|
106
106
|
{
|
|
107
107
|
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",
|
|
@@ -109,8 +109,8 @@ const R = ({
|
|
|
109
109
|
}
|
|
110
110
|
) })), Ae = ({
|
|
111
111
|
color: e = "currentColor",
|
|
112
|
-
...
|
|
113
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
112
|
+
...o
|
|
113
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
114
114
|
"path",
|
|
115
115
|
{
|
|
116
116
|
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",
|
|
@@ -118,8 +118,8 @@ const R = ({
|
|
|
118
118
|
}
|
|
119
119
|
) })), Re = ({
|
|
120
120
|
color: e = "currentColor",
|
|
121
|
-
...
|
|
122
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
121
|
+
...o
|
|
122
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
123
123
|
"path",
|
|
124
124
|
{
|
|
125
125
|
clipRule: "evenodd",
|
|
@@ -127,19 +127,19 @@ const R = ({
|
|
|
127
127
|
fill: e,
|
|
128
128
|
fillRule: "evenodd"
|
|
129
129
|
}
|
|
130
|
-
) })),
|
|
130
|
+
) })), Me = ({
|
|
131
131
|
color: e = "currentColor",
|
|
132
|
-
...
|
|
133
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
132
|
+
...o
|
|
133
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
134
134
|
"path",
|
|
135
135
|
{
|
|
136
136
|
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",
|
|
137
137
|
fill: e
|
|
138
138
|
}
|
|
139
|
-
) })),
|
|
139
|
+
) })), Ee = ({
|
|
140
140
|
color: e = "currentColor",
|
|
141
|
-
...
|
|
142
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
141
|
+
...o
|
|
142
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
143
143
|
"path",
|
|
144
144
|
{
|
|
145
145
|
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",
|
|
@@ -147,8 +147,8 @@ const R = ({
|
|
|
147
147
|
}
|
|
148
148
|
) })), Se = ({
|
|
149
149
|
color: e = "currentColor",
|
|
150
|
-
...
|
|
151
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
150
|
+
...o
|
|
151
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
152
152
|
"path",
|
|
153
153
|
{
|
|
154
154
|
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",
|
|
@@ -156,95 +156,95 @@ const R = ({
|
|
|
156
156
|
}
|
|
157
157
|
) })), Ie = ({
|
|
158
158
|
color: e = "currentColor",
|
|
159
|
-
...
|
|
160
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
159
|
+
...o
|
|
160
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
161
161
|
"path",
|
|
162
162
|
{
|
|
163
163
|
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",
|
|
164
164
|
fill: e
|
|
165
165
|
}
|
|
166
|
-
) })),
|
|
166
|
+
) })), xe = ({
|
|
167
167
|
color: e = "currentColor",
|
|
168
|
-
...
|
|
169
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
168
|
+
...o
|
|
169
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
170
170
|
"path",
|
|
171
171
|
{
|
|
172
172
|
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",
|
|
173
173
|
fill: e
|
|
174
174
|
}
|
|
175
|
-
) })),
|
|
175
|
+
) })), ve = ({
|
|
176
176
|
color: e = "currentColor",
|
|
177
|
-
...
|
|
178
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
177
|
+
...o
|
|
178
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
179
179
|
"path",
|
|
180
180
|
{
|
|
181
181
|
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",
|
|
182
182
|
fill: e
|
|
183
183
|
}
|
|
184
|
-
) })),
|
|
184
|
+
) })), He = ({
|
|
185
185
|
color: e = "currentColor",
|
|
186
|
-
...
|
|
187
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
186
|
+
...o
|
|
187
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
188
188
|
"path",
|
|
189
189
|
{
|
|
190
190
|
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",
|
|
191
191
|
fill: e
|
|
192
192
|
}
|
|
193
|
-
) })),
|
|
193
|
+
) })), Fe = ({
|
|
194
194
|
color: e = "currentColor",
|
|
195
|
-
...
|
|
196
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
195
|
+
...o
|
|
196
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
197
197
|
"path",
|
|
198
198
|
{
|
|
199
199
|
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",
|
|
200
200
|
fill: e
|
|
201
201
|
}
|
|
202
|
-
) })),
|
|
202
|
+
) })), Oe = ({
|
|
203
203
|
color: e = "currentColor",
|
|
204
|
-
...
|
|
205
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
204
|
+
...o
|
|
205
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
206
206
|
"path",
|
|
207
207
|
{
|
|
208
208
|
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",
|
|
209
209
|
fill: e
|
|
210
210
|
}
|
|
211
|
-
) })),
|
|
211
|
+
) })), Le = ({
|
|
212
212
|
color: e = "currentColor",
|
|
213
|
-
...
|
|
214
|
-
}) => /* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
213
|
+
...o
|
|
214
|
+
}) => /* @__PURE__ */ M(f, { ...o, children: [
|
|
215
|
+
/* @__PURE__ */ t(
|
|
216
216
|
"path",
|
|
217
217
|
{
|
|
218
218
|
d: "M14.368 4.5h1.604c.024 0 .037.028.021.044L13.28 7.992c-.008.008-.008.025 0 .032l2.714 3.448c.016.02 0 .045-.021.045h-1.604a.023.023 0 01-.02-.013l-1.895-2.46c-.009-.01-.029-.01-.041 0l-1.895 2.46a.022.022 0 01-.02.013H8.892c-.02 0-.031-.03-.02-.045l2.713-3.448c.008-.007.008-.024 0-.032L8.871 4.544a.027.027 0 01.021-.044h1.605c.008 0 .015.004.02.013l1.895 2.458c.008.013.028.013.04 0l1.896-2.458a.023.023 0 01.02-.013z",
|
|
219
219
|
fill: e
|
|
220
220
|
}
|
|
221
221
|
),
|
|
222
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ t(
|
|
223
223
|
"path",
|
|
224
224
|
{
|
|
225
225
|
d: "M8.242 11.363l1.056-1.293a.047.047 0 00.012-.029l-.81-5.5c-.004-.02-.02-.036-.04-.036H7.39c-.016 0-.032.008-.036.024L4.816 9.668c-.015.032-.06.032-.073 0l-2.562-5.14c-.009-.015-.02-.023-.036-.023h-1.08c-.021 0-.038.016-.043.036L.001 11.472a.042.042 0 00.04.049H1.29c.02 0 .042-.016.042-.036l.616-4.505c.004-.04.063-.048.08-.011L4.287 11.5c.008.017.021.024.037.024h.884c.016 0 .033-.008.037-.024l2.235-4.508c.015-.037.074-.029.078.011l.608 4.338c.005.037.054.048.075.021z",
|
|
226
226
|
fill: e
|
|
227
227
|
}
|
|
228
228
|
)
|
|
229
|
-
] }),
|
|
229
|
+
] }), De = ({
|
|
230
230
|
color: e = "currentColor",
|
|
231
|
-
...
|
|
232
|
-
}) => /* @__PURE__ */
|
|
233
|
-
/* @__PURE__ */
|
|
231
|
+
...o
|
|
232
|
+
}) => /* @__PURE__ */ M(f, { ...o, children: [
|
|
233
|
+
/* @__PURE__ */ t(
|
|
234
234
|
"path",
|
|
235
235
|
{
|
|
236
236
|
d: "M7.93 11l.871-1.124c.01-.01.01-.02.01-.03l-.77-5.305c0-.02-.02-.041-.04-.041H7a.059.059 0 00-.024.008.077.077 0 00-.017.012l-2.4 4.89c-.005.019-.026.026-.043.023a.034.034 0 01-.027-.022l-2.42-4.89a.139.139 0 00-.01-.01.046.046 0 00-.031-.011H1.016c-.02 0-.04.01-.04.04l-.972 6.673c-.01.02.01.04.04.04h1.175c.02 0 .04-.01.04-.04l.587-4.273c.01-.04.061-.05.081-.01l2.137 4.303a.17.17 0 00.01.009.045.045 0 00.03.011h.83c.01 0 .03-.01.041-.02L7.08 6.981c.02-.04.07-.03.08.01l.578 4.14c.01.041.05.051.07.021L7.93 11z",
|
|
237
237
|
fill: e
|
|
238
238
|
}
|
|
239
239
|
),
|
|
240
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ t(
|
|
241
241
|
"path",
|
|
242
242
|
{
|
|
243
243
|
d: "M15.079 4.5H13.6c-.004 0-.008.002-.013.004h-.002a.1.1 0 01-.009.004.057.057 0 01-.016.002L11.788 6.83c-.01.02-.05.02-.07 0L9.944 4.51a.03.03 0 00-.01-.007c-.008-.003-.017-.003-.03-.003H8.427c-.04 0-.051.04-.04.07l2.54 3.291c.01.01.01.041 0 .051l-2.52 3.28c-.02.031 0 .071.04.071h1.478a.031.031 0 00.011-.002c.008-.003.016-.008.03-.008l1.771-2.318c.01-.02.051-.02.071 0l1.772 2.318c.01.01.02.01.04.01h1.469c.04 0 .05-.04.04-.07l-2.541-3.291a.023.023 0 01-.005-.01.047.047 0 01-.002-.008c-.002-.012 0-.026.007-.033l2.541-3.29c0-.02-.01-.061-.05-.061z",
|
|
244
244
|
fill: e
|
|
245
245
|
}
|
|
246
246
|
),
|
|
247
|
-
/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ t(
|
|
248
248
|
"path",
|
|
249
249
|
{
|
|
250
250
|
clipRule: "evenodd",
|
|
@@ -253,7 +253,7 @@ const R = ({
|
|
|
253
253
|
fillRule: "evenodd"
|
|
254
254
|
}
|
|
255
255
|
),
|
|
256
|
-
/* @__PURE__ */
|
|
256
|
+
/* @__PURE__ */ t(
|
|
257
257
|
"path",
|
|
258
258
|
{
|
|
259
259
|
clipRule: "evenodd",
|
|
@@ -262,10 +262,10 @@ const R = ({
|
|
|
262
262
|
fillRule: "evenodd"
|
|
263
263
|
}
|
|
264
264
|
)
|
|
265
|
-
] }),
|
|
265
|
+
] }), ye = ({
|
|
266
266
|
color: e = "currentColor",
|
|
267
|
-
...
|
|
268
|
-
}) => /* @__PURE__ */
|
|
267
|
+
...o
|
|
268
|
+
}) => /* @__PURE__ */ t(f, { ...o, children: /* @__PURE__ */ t(
|
|
269
269
|
"path",
|
|
270
270
|
{
|
|
271
271
|
clipRule: "evenodd",
|
|
@@ -273,25 +273,25 @@ const R = ({
|
|
|
273
273
|
fill: e,
|
|
274
274
|
fillRule: "evenodd"
|
|
275
275
|
}
|
|
276
|
-
) }),
|
|
276
|
+
) }), Ne = ({
|
|
277
277
|
color: e = "currentColor",
|
|
278
|
-
...
|
|
279
|
-
}) => /* @__PURE__ */
|
|
280
|
-
/* @__PURE__ */
|
|
278
|
+
...o
|
|
279
|
+
}) => /* @__PURE__ */ M(f, { ...o, children: [
|
|
280
|
+
/* @__PURE__ */ t(
|
|
281
281
|
"path",
|
|
282
282
|
{
|
|
283
283
|
d: "M12.662 5.973h-.94a.013.013 0 00-.012.007L10.6 7.42c-.007.008-.019.008-.024 0l-1.11-1.44a.013.013 0 00-.011-.007h-.94c-.012 0-.02.014-.012.026l1.59 2.02c.004.004.004.014 0 .018l-1.59 2.02c-.006.009 0 .026.012.026h.94c.005 0 .009-.002.012-.008l1.11-1.44c.007-.007.018-.007.024 0l1.11 1.44a.013.013 0 00.011.008h.94a.016.016 0 00.012-.027l-1.59-2.019c-.004-.004-.004-.014 0-.019l1.59-2.02c.01-.008.002-.025-.012-.025z",
|
|
284
284
|
fill: e
|
|
285
285
|
}
|
|
286
286
|
),
|
|
287
|
-
/* @__PURE__ */
|
|
287
|
+
/* @__PURE__ */ t(
|
|
288
288
|
"path",
|
|
289
289
|
{
|
|
290
290
|
d: "M8.753 9.235l-.619.758c-.012.015-.041.009-.044-.013l-.356-2.54c-.003-.024-.037-.029-.046-.007l-1.308 2.64c-.003.01-.013.014-.022.014H5.84c-.01 0-.017-.004-.022-.014L4.494 7.42c-.01-.022-.044-.018-.047.006l-.36 2.639c0 .011-.013.02-.026.02h-.73a.025.025 0 01-.024-.027l.599-4.06c.002-.012.012-.022.024-.022h.633c.01 0 .016.005.02.015L6.086 9c.007.019.033.019.043 0l1.486-3.01c.002-.01.012-.015.021-.015h.626c.012 0 .022.01.024.022l.475 3.221a.027.027 0 01-.007.017z",
|
|
291
291
|
fill: e
|
|
292
292
|
}
|
|
293
293
|
),
|
|
294
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ t(
|
|
295
295
|
"path",
|
|
296
296
|
{
|
|
297
297
|
clipRule: "evenodd",
|
|
@@ -302,11 +302,11 @@ const R = ({
|
|
|
302
302
|
)
|
|
303
303
|
] });
|
|
304
304
|
var p = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(p || {}), I0 = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(I0 || {});
|
|
305
|
-
const
|
|
305
|
+
const j = {
|
|
306
306
|
guid: p.Uncategorized,
|
|
307
307
|
colorName: "uncategorized",
|
|
308
308
|
icon: "category"
|
|
309
|
-
},
|
|
309
|
+
}, x0 = [
|
|
310
310
|
{
|
|
311
311
|
guid: p.AutoTransport,
|
|
312
312
|
colorName: "autoTransport",
|
|
@@ -407,20 +407,20 @@ const Y = {
|
|
|
407
407
|
colorName: "travel",
|
|
408
408
|
icon: "airplane_ticket"
|
|
409
409
|
},
|
|
410
|
-
|
|
411
|
-
],
|
|
410
|
+
j
|
|
411
|
+
], v0 = 0.625, H0 = ({
|
|
412
412
|
categoryGuid: e,
|
|
413
|
-
icon_ratio:
|
|
413
|
+
icon_ratio: o = v0,
|
|
414
414
|
size: a = 32,
|
|
415
415
|
sx: r = {},
|
|
416
416
|
variant: n = "filled"
|
|
417
417
|
}) => {
|
|
418
418
|
const s = D(), c = C.useMemo(
|
|
419
|
-
() =>
|
|
419
|
+
() => x0.find((d) => d.guid === e) ?? j,
|
|
420
420
|
[e]
|
|
421
421
|
), l = s.palette.categories[c.colorName];
|
|
422
|
-
return /* @__PURE__ */
|
|
423
|
-
|
|
422
|
+
return /* @__PURE__ */ t(
|
|
423
|
+
L,
|
|
424
424
|
{
|
|
425
425
|
alignItems: "center",
|
|
426
426
|
bgcolor: () => {
|
|
@@ -436,12 +436,12 @@ const Y = {
|
|
|
436
436
|
justifyContent: "center",
|
|
437
437
|
sx: [...Array.isArray(r) ? r : [r]],
|
|
438
438
|
width: a,
|
|
439
|
-
children: /* @__PURE__ */
|
|
439
|
+
children: /* @__PURE__ */ t(R, { name: c.icon, size: a * o })
|
|
440
440
|
}
|
|
441
441
|
);
|
|
442
|
-
},
|
|
442
|
+
}, F0 = ({
|
|
443
443
|
items: e,
|
|
444
|
-
onChange:
|
|
444
|
+
onChange: o,
|
|
445
445
|
isValid: a,
|
|
446
446
|
selected: r
|
|
447
447
|
}) => {
|
|
@@ -450,12 +450,12 @@ const Y = {
|
|
|
450
450
|
return {
|
|
451
451
|
label: c.label,
|
|
452
452
|
onClick: () => {
|
|
453
|
-
|
|
453
|
+
o(l, "accept", c);
|
|
454
454
|
},
|
|
455
455
|
disabled: !a(l)
|
|
456
456
|
};
|
|
457
457
|
});
|
|
458
|
-
return /* @__PURE__ */
|
|
458
|
+
return /* @__PURE__ */ t(Z, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ t(h0, { color: "primary", orientation: "vertical", value: r, children: s?.map((c) => /* @__PURE__ */ t(
|
|
459
459
|
u0,
|
|
460
460
|
{
|
|
461
461
|
onClick: c.onClick,
|
|
@@ -485,48 +485,48 @@ const Y = {
|
|
|
485
485
|
)) }) });
|
|
486
486
|
}, ke = ({
|
|
487
487
|
copy: e,
|
|
488
|
-
dateRange:
|
|
488
|
+
dateRange: o,
|
|
489
489
|
onRangeChanged: a,
|
|
490
490
|
selectedShortcut: r = e.dateRangeThisMonth,
|
|
491
491
|
sx: n = {}
|
|
492
492
|
}) => {
|
|
493
493
|
const s = D(), c = l0(s.breakpoints.down("sm")), l = C.useMemo(() => {
|
|
494
|
-
const
|
|
494
|
+
const m = i0(), d = a0(m, 1), T = n0(m, 1);
|
|
495
495
|
return [
|
|
496
496
|
{
|
|
497
497
|
label: e.dateRangeThisMonth,
|
|
498
|
-
getValue: () => [
|
|
498
|
+
getValue: () => [U(m), V(m)]
|
|
499
499
|
},
|
|
500
500
|
{
|
|
501
501
|
label: e.dateRangeLastMonth,
|
|
502
|
-
getValue: () => [
|
|
502
|
+
getValue: () => [U(d), V(d)]
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
505
|
label: e.dateRangeLast30Days,
|
|
506
|
-
getValue: () => [
|
|
506
|
+
getValue: () => [$(m, 30), m]
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
509
|
label: e.dateRangeLast90Days,
|
|
510
|
-
getValue: () => [
|
|
510
|
+
getValue: () => [$(m, 90), m]
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
513
|
label: e.dateRangeYTD,
|
|
514
|
-
getValue: () => [
|
|
514
|
+
getValue: () => [G(m), m]
|
|
515
515
|
},
|
|
516
516
|
{
|
|
517
517
|
label: e.dateRangeLastYear,
|
|
518
|
-
getValue: () => [
|
|
518
|
+
getValue: () => [G(T), r0(T)]
|
|
519
519
|
},
|
|
520
520
|
{
|
|
521
521
|
label: e.dateRangeCustom,
|
|
522
|
-
getValue: () => [
|
|
522
|
+
getValue: () => [m, m]
|
|
523
523
|
}
|
|
524
524
|
];
|
|
525
|
-
}, [e]), i = (
|
|
525
|
+
}, [e]), i = (m, d) => {
|
|
526
526
|
const T = d.shortcut;
|
|
527
|
-
a?.(
|
|
527
|
+
a?.(m, T ? T.label : e.dateRangeCustom);
|
|
528
528
|
};
|
|
529
|
-
return /* @__PURE__ */
|
|
529
|
+
return /* @__PURE__ */ t(L, { gap: 16, m: 8, children: /* @__PURE__ */ t(c0, { dateAdapter: d0, children: /* @__PURE__ */ t(
|
|
530
530
|
s0,
|
|
531
531
|
{
|
|
532
532
|
calendars: 1,
|
|
@@ -547,28 +547,28 @@ const Y = {
|
|
|
547
547
|
}
|
|
548
548
|
},
|
|
549
549
|
slots: {
|
|
550
|
-
leftArrowIcon: () => /* @__PURE__ */
|
|
551
|
-
shortcuts: (
|
|
552
|
-
rightArrowIcon: () => /* @__PURE__ */
|
|
550
|
+
leftArrowIcon: () => /* @__PURE__ */ t(R, { name: "chevron_left", size: 28 }),
|
|
551
|
+
shortcuts: (m) => /* @__PURE__ */ t(F0, { selected: r, ...m }),
|
|
552
|
+
rightArrowIcon: () => /* @__PURE__ */ t(R, { name: "chevron_right", size: 28 })
|
|
553
553
|
},
|
|
554
554
|
sx: { ...n },
|
|
555
|
-
value:
|
|
555
|
+
value: o
|
|
556
556
|
}
|
|
557
557
|
) }) });
|
|
558
|
-
}, we = C.forwardRef(function(
|
|
559
|
-
return /* @__PURE__ */
|
|
560
|
-
}),
|
|
558
|
+
}, we = C.forwardRef(function(o, a) {
|
|
559
|
+
return /* @__PURE__ */ t(K, { direction: "up", ref: a, ...o });
|
|
560
|
+
}), O0 = ({
|
|
561
561
|
hasSecondaryAction: e = !0,
|
|
562
|
-
isPrimaryDisabled:
|
|
562
|
+
isPrimaryDisabled: o,
|
|
563
563
|
onPrimaryAction: a,
|
|
564
564
|
onSecondaryAction: r,
|
|
565
565
|
primaryColor: n = "primary",
|
|
566
566
|
primaryText: s = "Save",
|
|
567
567
|
secondaryColor: c = "primary",
|
|
568
568
|
secondaryText: l = "Cancel"
|
|
569
|
-
}) => /* @__PURE__ */
|
|
570
|
-
e && /* @__PURE__ */
|
|
571
|
-
|
|
569
|
+
}) => /* @__PURE__ */ M(L, { direction: "row", gap: 16, justifyContent: "flex-end", sx: { width: "100%", p: 24 }, children: [
|
|
570
|
+
e && /* @__PURE__ */ t(
|
|
571
|
+
_,
|
|
572
572
|
{
|
|
573
573
|
color: c,
|
|
574
574
|
onClick: r,
|
|
@@ -576,19 +576,19 @@ const Y = {
|
|
|
576
576
|
children: l
|
|
577
577
|
}
|
|
578
578
|
),
|
|
579
|
-
a && /* @__PURE__ */
|
|
580
|
-
|
|
579
|
+
a && /* @__PURE__ */ t(
|
|
580
|
+
_,
|
|
581
581
|
{
|
|
582
582
|
color: n,
|
|
583
|
-
disabled:
|
|
583
|
+
disabled: o,
|
|
584
584
|
onClick: a,
|
|
585
585
|
variant: "contained",
|
|
586
586
|
children: s
|
|
587
587
|
}
|
|
588
588
|
)
|
|
589
|
-
] }),
|
|
589
|
+
] }), y = ({
|
|
590
590
|
bold: e,
|
|
591
|
-
className:
|
|
591
|
+
className: o = "",
|
|
592
592
|
children: a,
|
|
593
593
|
color: r,
|
|
594
594
|
sx: n = {},
|
|
@@ -628,10 +628,10 @@ const Y = {
|
|
|
628
628
|
l.variant = "caption";
|
|
629
629
|
break;
|
|
630
630
|
}
|
|
631
|
-
return /* @__PURE__ */
|
|
632
|
-
|
|
631
|
+
return /* @__PURE__ */ t(
|
|
632
|
+
m0,
|
|
633
633
|
{
|
|
634
|
-
className: `mx-kmui-text ${
|
|
634
|
+
className: `mx-kmui-text ${o}`,
|
|
635
635
|
color: r,
|
|
636
636
|
sx: [
|
|
637
637
|
e ? {
|
|
@@ -651,18 +651,18 @@ const Y = {
|
|
|
651
651
|
children: a
|
|
652
652
|
}
|
|
653
653
|
);
|
|
654
|
-
},
|
|
655
|
-
|
|
654
|
+
}, L0 = ({ className: e = "", children: o, ...a }) => /* @__PURE__ */ t(y, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...a, children: o }), _e = ({ className: e = "", children: o, ...a }) => /* @__PURE__ */ t(y, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...a, children: o }), Pe = ({ className: e = "", children: o, ...a }) => /* @__PURE__ */ t(y, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...a, children: o }), ze = ({ className: e = "", children: o, truncate: a, ...r }) => /* @__PURE__ */ t(
|
|
655
|
+
y,
|
|
656
656
|
{
|
|
657
657
|
className: `mx-kmui-text p ${e}`,
|
|
658
658
|
component: "p",
|
|
659
659
|
truncate: a || !1,
|
|
660
660
|
variant: "body1",
|
|
661
661
|
...r,
|
|
662
|
-
children:
|
|
662
|
+
children: o
|
|
663
663
|
}
|
|
664
|
-
), Be = ({ copy: e, onClose:
|
|
665
|
-
|
|
664
|
+
), Be = ({ copy: e, onClose: o }) => /* @__PURE__ */ M(
|
|
665
|
+
L,
|
|
666
666
|
{
|
|
667
667
|
sx: {
|
|
668
668
|
alignItems: "center",
|
|
@@ -672,13 +672,13 @@ const Y = {
|
|
|
672
672
|
py: 14
|
|
673
673
|
},
|
|
674
674
|
children: [
|
|
675
|
-
/* @__PURE__ */
|
|
676
|
-
/* @__PURE__ */
|
|
675
|
+
/* @__PURE__ */ t(L0, { variant: "h3", children: e.title }),
|
|
676
|
+
/* @__PURE__ */ t(X, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ t(p0, {}) })
|
|
677
677
|
]
|
|
678
678
|
}
|
|
679
679
|
), Ve = ({
|
|
680
680
|
className: e,
|
|
681
|
-
disableSave:
|
|
681
|
+
disableSave: o,
|
|
682
682
|
id: a,
|
|
683
683
|
isOpen: r,
|
|
684
684
|
onClose: n,
|
|
@@ -686,8 +686,8 @@ const Y = {
|
|
|
686
686
|
primaryText: c,
|
|
687
687
|
secondaryText: l,
|
|
688
688
|
children: i,
|
|
689
|
-
...
|
|
690
|
-
}) => /* @__PURE__ */
|
|
689
|
+
...m
|
|
690
|
+
}) => /* @__PURE__ */ M(
|
|
691
691
|
g0,
|
|
692
692
|
{
|
|
693
693
|
anchor: "right",
|
|
@@ -696,13 +696,13 @@ const Y = {
|
|
|
696
696
|
onClose: n,
|
|
697
697
|
open: r,
|
|
698
698
|
variant: "temporary",
|
|
699
|
-
...
|
|
699
|
+
...m,
|
|
700
700
|
children: [
|
|
701
701
|
i,
|
|
702
|
-
s && /* @__PURE__ */
|
|
703
|
-
|
|
702
|
+
s && /* @__PURE__ */ t(
|
|
703
|
+
O0,
|
|
704
704
|
{
|
|
705
|
-
isPrimaryDisabled:
|
|
705
|
+
isPrimaryDisabled: o,
|
|
706
706
|
onPrimaryAction: s,
|
|
707
707
|
onSecondaryAction: n,
|
|
708
708
|
primaryText: c,
|
|
@@ -711,19 +711,19 @@ const Y = {
|
|
|
711
711
|
)
|
|
712
712
|
]
|
|
713
713
|
}
|
|
714
|
-
),
|
|
714
|
+
), Q = 32, z = "https://content.moneydesktop.com/storage/MD_Assets", D0 = `${z}/serenity/default_institution_logo.png`, Ue = ({
|
|
715
715
|
alt: e,
|
|
716
|
-
institutionGuid:
|
|
716
|
+
institutionGuid: o,
|
|
717
717
|
logoUrl: a,
|
|
718
|
-
size: r =
|
|
718
|
+
size: r = Q,
|
|
719
719
|
...n
|
|
720
|
-
}) => /* @__PURE__ */
|
|
720
|
+
}) => /* @__PURE__ */ t(
|
|
721
721
|
"img",
|
|
722
722
|
{
|
|
723
723
|
alt: e,
|
|
724
724
|
height: r,
|
|
725
|
-
onError: (s) => s.target.src =
|
|
726
|
-
src: a || `${
|
|
725
|
+
onError: (s) => s.target.src = D0,
|
|
726
|
+
src: a || `${z}/Ipad%20Logos/100x100/${o}_100x100.png`,
|
|
727
727
|
style: {
|
|
728
728
|
borderRadius: 4
|
|
729
729
|
},
|
|
@@ -732,21 +732,21 @@ const Y = {
|
|
|
732
732
|
}
|
|
733
733
|
), Ge = ({
|
|
734
734
|
alt: e = "",
|
|
735
|
-
categoryGuid:
|
|
735
|
+
categoryGuid: o,
|
|
736
736
|
merchantGuid: a,
|
|
737
|
-
size: r =
|
|
737
|
+
size: r = Q,
|
|
738
738
|
...n
|
|
739
739
|
}) => {
|
|
740
740
|
const [s, c] = C.useState(!1), l = D();
|
|
741
|
-
return /* @__PURE__ */
|
|
742
|
-
a && !s && /* @__PURE__ */
|
|
741
|
+
return /* @__PURE__ */ M(Z, { display: "inline-block", position: "relative", ...n, children: [
|
|
742
|
+
a && !s && /* @__PURE__ */ t(
|
|
743
743
|
"img",
|
|
744
744
|
{
|
|
745
745
|
alt: e,
|
|
746
746
|
"aria-hidden": !e,
|
|
747
747
|
height: r,
|
|
748
748
|
onError: () => c(!0),
|
|
749
|
-
src: `${
|
|
749
|
+
src: `${z}/merchant_logos/${a}.png`,
|
|
750
750
|
style: {
|
|
751
751
|
backgroundColor: l.palette.common.white,
|
|
752
752
|
borderRadius: 4,
|
|
@@ -756,32 +756,32 @@ const Y = {
|
|
|
756
756
|
width: r
|
|
757
757
|
}
|
|
758
758
|
),
|
|
759
|
-
/* @__PURE__ */
|
|
759
|
+
/* @__PURE__ */ t(H0, { categoryGuid: o, size: r })
|
|
760
760
|
] });
|
|
761
761
|
}, $e = ({
|
|
762
762
|
disabled: e = !1,
|
|
763
|
-
label:
|
|
763
|
+
label: o = "",
|
|
764
764
|
shrink: a = !0,
|
|
765
765
|
variant: r = "outlined",
|
|
766
766
|
...n
|
|
767
|
-
}) => /* @__PURE__ */
|
|
768
|
-
|
|
767
|
+
}) => /* @__PURE__ */ t(
|
|
768
|
+
f0,
|
|
769
769
|
{
|
|
770
770
|
InputLabelProps: {
|
|
771
771
|
shrink: a
|
|
772
772
|
},
|
|
773
773
|
disabled: e,
|
|
774
|
-
label:
|
|
774
|
+
label: o,
|
|
775
775
|
variant: r,
|
|
776
776
|
...n
|
|
777
777
|
}
|
|
778
778
|
);
|
|
779
|
-
function
|
|
780
|
-
return /* @__PURE__ */
|
|
779
|
+
function y0(e) {
|
|
780
|
+
return /* @__PURE__ */ t(K, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
781
781
|
}
|
|
782
782
|
const We = ({
|
|
783
783
|
open: e,
|
|
784
|
-
handleClose:
|
|
784
|
+
handleClose: o,
|
|
785
785
|
message: a,
|
|
786
786
|
autoHideDuration: r = 3e3,
|
|
787
787
|
severity: n = "success",
|
|
@@ -789,7 +789,7 @@ const We = ({
|
|
|
789
789
|
showAction: c = !1,
|
|
790
790
|
showClose: l = !1,
|
|
791
791
|
actionText: i = "Undo",
|
|
792
|
-
onActionClick:
|
|
792
|
+
onActionClick: m,
|
|
793
793
|
multiLine: d = !1
|
|
794
794
|
}) => {
|
|
795
795
|
const T = D(), e0 = {
|
|
@@ -797,8 +797,8 @@ const We = ({
|
|
|
797
797
|
error: T.palette.error.light,
|
|
798
798
|
info: T.palette.info.lighter,
|
|
799
799
|
warning: T.palette.warning.lighter
|
|
800
|
-
},
|
|
801
|
-
|
|
800
|
+
}, o0 = /* @__PURE__ */ M(
|
|
801
|
+
L,
|
|
802
802
|
{
|
|
803
803
|
alignItems: d ? "flex-end" : "center",
|
|
804
804
|
direction: d ? "column-reverse" : "row",
|
|
@@ -807,11 +807,11 @@ const We = ({
|
|
|
807
807
|
d && c && l ? "space-between" : "flex-end"
|
|
808
808
|
),
|
|
809
809
|
children: [
|
|
810
|
-
c && /* @__PURE__ */
|
|
811
|
-
|
|
810
|
+
c && /* @__PURE__ */ t(
|
|
811
|
+
_,
|
|
812
812
|
{
|
|
813
813
|
color: "inherit",
|
|
814
|
-
onClick:
|
|
814
|
+
onClick: m || o,
|
|
815
815
|
size: "small",
|
|
816
816
|
sx: {
|
|
817
817
|
color: T.palette.success.contrastText,
|
|
@@ -820,42 +820,42 @@ const We = ({
|
|
|
820
820
|
children: i
|
|
821
821
|
}
|
|
822
822
|
),
|
|
823
|
-
l && /* @__PURE__ */
|
|
824
|
-
|
|
823
|
+
l && /* @__PURE__ */ t(
|
|
824
|
+
X,
|
|
825
825
|
{
|
|
826
826
|
"aria-label": "close",
|
|
827
827
|
color: "inherit",
|
|
828
|
-
onClick:
|
|
828
|
+
onClick: o,
|
|
829
829
|
sx: { height: 44, width: 44 },
|
|
830
|
-
children: /* @__PURE__ */
|
|
830
|
+
children: /* @__PURE__ */ t(R, { fill: !0, name: "close", size: 24, weight: 400 })
|
|
831
831
|
}
|
|
832
832
|
)
|
|
833
833
|
]
|
|
834
834
|
}
|
|
835
835
|
);
|
|
836
|
-
return /* @__PURE__ */
|
|
836
|
+
return /* @__PURE__ */ t(
|
|
837
837
|
T0,
|
|
838
838
|
{
|
|
839
|
-
TransitionComponent:
|
|
839
|
+
TransitionComponent: y0,
|
|
840
840
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
841
841
|
autoHideDuration: r,
|
|
842
|
-
onClose:
|
|
842
|
+
onClose: o,
|
|
843
843
|
open: e,
|
|
844
844
|
sx: {
|
|
845
845
|
...s,
|
|
846
846
|
width: d ? 400 : 325
|
|
847
847
|
},
|
|
848
|
-
children: /* @__PURE__ */
|
|
848
|
+
children: /* @__PURE__ */ t(
|
|
849
849
|
b0,
|
|
850
850
|
{
|
|
851
|
-
action:
|
|
851
|
+
action: o0,
|
|
852
852
|
severity: n,
|
|
853
853
|
sx: {
|
|
854
854
|
display: "flex",
|
|
855
855
|
alignItems: "stretch",
|
|
856
856
|
minHeight: l && c && d ? 120 : 56,
|
|
857
857
|
maxHeight: d ? 120 : 56,
|
|
858
|
-
backgroundColor: (
|
|
858
|
+
backgroundColor: (B) => B.palette.mode === "light" ? B.palette[n].main : e0[n],
|
|
859
859
|
width: "100%",
|
|
860
860
|
"& .MuiAlert-icon": {
|
|
861
861
|
alignSelf: d ? "flex-start" : "center"
|
|
@@ -871,8 +871,8 @@ const We = ({
|
|
|
871
871
|
}
|
|
872
872
|
},
|
|
873
873
|
variant: "filled",
|
|
874
|
-
children: /* @__PURE__ */
|
|
875
|
-
|
|
874
|
+
children: /* @__PURE__ */ t(
|
|
875
|
+
y,
|
|
876
876
|
{
|
|
877
877
|
sx: {
|
|
878
878
|
lineHeight: T.typography.body1.lineHeight,
|
|
@@ -892,41 +892,41 @@ const We = ({
|
|
|
892
892
|
REACT: "react",
|
|
893
893
|
REACT_NATIVE: "react_native",
|
|
894
894
|
NATIVE: "native"
|
|
895
|
-
},
|
|
895
|
+
}, k = {
|
|
896
896
|
LIGHT: "light",
|
|
897
897
|
DARK: "dark"
|
|
898
|
-
},
|
|
899
|
-
|
|
898
|
+
}, J = C.createContext(Y), q = C.createContext(
|
|
899
|
+
P(k.LIGHT, O.REACT_NATIVE)
|
|
900
900
|
), Ze = ({
|
|
901
901
|
children: e,
|
|
902
|
-
target:
|
|
903
|
-
theme: a =
|
|
902
|
+
target: o = O.REACT,
|
|
903
|
+
theme: a = k.LIGHT,
|
|
904
904
|
tokenOverrides: r
|
|
905
905
|
}) => {
|
|
906
|
-
const [n, s] = C.useState(a ===
|
|
906
|
+
const [n, s] = C.useState(a === k.LIGHT ? Y : C0), c = C.useMemo(() => ({
|
|
907
907
|
...r
|
|
908
908
|
}), [r]);
|
|
909
909
|
return C.useEffect(() => {
|
|
910
|
-
const l =
|
|
910
|
+
const l = P(a, o, { ...c });
|
|
911
911
|
s(l);
|
|
912
|
-
}, [a,
|
|
913
|
-
}, Ke = (e = O.REACT,
|
|
914
|
-
const a = e === O.REACT ?
|
|
915
|
-
return r ||
|
|
916
|
-
},
|
|
912
|
+
}, [a, o, c]), o === O.REACT ? /* @__PURE__ */ t(J.Provider, { value: n, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ t(q.Provider, { value: n, children: e }));
|
|
913
|
+
}, Ke = (e = O.REACT, o = {}) => {
|
|
914
|
+
const a = e === O.REACT ? J : q, r = C.useContext(a);
|
|
915
|
+
return r || P(k.LIGHT, e, { ...o });
|
|
916
|
+
}, F = {
|
|
917
917
|
LIGHT: "light"
|
|
918
|
-
},
|
|
919
|
-
50:
|
|
920
|
-
100:
|
|
921
|
-
200:
|
|
922
|
-
300:
|
|
923
|
-
400:
|
|
918
|
+
}, E = (e) => ({
|
|
919
|
+
50: H(e, 0.95),
|
|
920
|
+
100: H(e, 0.85),
|
|
921
|
+
200: H(e, 0.7),
|
|
922
|
+
300: H(e, 0.55),
|
|
923
|
+
400: H(e, 0.3),
|
|
924
924
|
500: e,
|
|
925
925
|
600: N(e, 0.3),
|
|
926
926
|
700: N(e, 0.5),
|
|
927
927
|
800: N(e, 0.65),
|
|
928
928
|
900: N(e, 0.75)
|
|
929
|
-
}), b = "#FFFFFF", A = "#000000",
|
|
929
|
+
}), b = "#FFFFFF", A = "#000000", N0 = "#F9F9F9", k0 = "#1A1A1A", S = {
|
|
930
930
|
PRIMARY: "#2C64EF",
|
|
931
931
|
SECONDARY: "#808080",
|
|
932
932
|
INFO: "#2C64EF",
|
|
@@ -942,7 +942,7 @@ const We = ({
|
|
|
942
942
|
CHART5: "#60A9FF",
|
|
943
943
|
CHART6: "#C8BAEE",
|
|
944
944
|
CHART7: "#585E67"
|
|
945
|
-
},
|
|
945
|
+
}, v = {
|
|
946
946
|
CHART_MONO1: "#C3EAFF",
|
|
947
947
|
CHART_MONO2: "#8ED7FF",
|
|
948
948
|
CHART_MONO3: "#60A9FF",
|
|
@@ -996,8 +996,8 @@ const We = ({
|
|
|
996
996
|
TRAVEL: "#76ACF7",
|
|
997
997
|
UNCATEGORIZED: "#BCC6D4"
|
|
998
998
|
}, w0 = (e) => {
|
|
999
|
-
const
|
|
1000
|
-
return
|
|
999
|
+
const o = E(S.PRIMARY), a = E(S.SECONDARY), r = E(S.ERROR), n = E(S.WARNING), s = E(S.INFO), c = E(S.SUCCESS), l = E(S.NEUTRAL), i = e === F.LIGHT;
|
|
1000
|
+
return M0({
|
|
1001
1001
|
mode: e,
|
|
1002
1002
|
// DEPRECATED: Use Neutral instead
|
|
1003
1003
|
border: {
|
|
@@ -1014,14 +1014,14 @@ const We = ({
|
|
|
1014
1014
|
black: A
|
|
1015
1015
|
},
|
|
1016
1016
|
primary: {
|
|
1017
|
-
...
|
|
1017
|
+
...o,
|
|
1018
1018
|
/* DEPRECATED: Use light instead */
|
|
1019
|
-
lighter: i ?
|
|
1020
|
-
light: i ?
|
|
1021
|
-
main: i ?
|
|
1022
|
-
dark: i ?
|
|
1019
|
+
lighter: i ? o[100] : o[800],
|
|
1020
|
+
light: i ? o[300] : o[600],
|
|
1021
|
+
main: i ? o[500] : o[400],
|
|
1022
|
+
dark: i ? o[700] : o[200],
|
|
1023
1023
|
/* DEPRECATED: Use dark instead */
|
|
1024
|
-
darker: i ?
|
|
1024
|
+
darker: i ? o[900] : o[100]
|
|
1025
1025
|
},
|
|
1026
1026
|
secondary: {
|
|
1027
1027
|
...a,
|
|
@@ -1035,8 +1035,8 @@ const We = ({
|
|
|
1035
1035
|
},
|
|
1036
1036
|
text: {
|
|
1037
1037
|
primary: i ? l[900] : b,
|
|
1038
|
-
secondary: i ? l[600] :
|
|
1039
|
-
disabled: i ? l[500] :
|
|
1038
|
+
secondary: i ? l[600] : g(b, 0.7),
|
|
1039
|
+
disabled: i ? l[500] : g(b, 0.38)
|
|
1040
1040
|
},
|
|
1041
1041
|
error: {
|
|
1042
1042
|
...r,
|
|
@@ -1080,21 +1080,21 @@ const We = ({
|
|
|
1080
1080
|
},
|
|
1081
1081
|
grey: l,
|
|
1082
1082
|
action: {
|
|
1083
|
-
active: e === "light" ?
|
|
1084
|
-
hover: e === "light" ?
|
|
1083
|
+
active: e === "light" ? g(A, 0.56) : g(b, 0.56),
|
|
1084
|
+
hover: e === "light" ? g(A, 0.04) : g(b, 0.08),
|
|
1085
1085
|
// also used for text hover
|
|
1086
|
-
selected: e === "light" ?
|
|
1087
|
-
focus: e === "light" ?
|
|
1088
|
-
disabled: e === "light" ?
|
|
1089
|
-
disabledBackground: e === "light" ?
|
|
1086
|
+
selected: e === "light" ? g(A, 0.08) : g(b, 0.16),
|
|
1087
|
+
focus: e === "light" ? g(A, 0.12) : g(b, 0.12),
|
|
1088
|
+
disabled: e === "light" ? g(A, 0.38) : g(b, 0.38),
|
|
1089
|
+
disabledBackground: e === "light" ? g(A, 0.12) : g(b, 0.12)
|
|
1090
1090
|
},
|
|
1091
1091
|
background: {
|
|
1092
|
-
default: i ?
|
|
1092
|
+
default: i ? N0 : k0,
|
|
1093
1093
|
paper: i ? b : A,
|
|
1094
1094
|
highlight: i ? l[200] : l[600],
|
|
1095
|
-
highlightPrimary: i ?
|
|
1095
|
+
highlightPrimary: i ? o[100] : o[500]
|
|
1096
1096
|
},
|
|
1097
|
-
divider: i ?
|
|
1097
|
+
divider: i ? g(A, 0.12) : g(b, 0.12),
|
|
1098
1098
|
categories: {
|
|
1099
1099
|
autoTransport: i ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1100
1100
|
billsUtilities: i ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
@@ -1129,16 +1129,16 @@ const We = ({
|
|
|
1129
1129
|
chart7: I.CHART7
|
|
1130
1130
|
},
|
|
1131
1131
|
chartMono: {
|
|
1132
|
-
chartMono1:
|
|
1133
|
-
chartMono2:
|
|
1134
|
-
chartMono3:
|
|
1135
|
-
chartMono4:
|
|
1136
|
-
chartMono5:
|
|
1137
|
-
chartMono6:
|
|
1132
|
+
chartMono1: v.CHART_MONO1,
|
|
1133
|
+
chartMono2: v.CHART_MONO2,
|
|
1134
|
+
chartMono3: v.CHART_MONO3,
|
|
1135
|
+
chartMono4: v.CHART_MONO4,
|
|
1136
|
+
chartMono5: v.CHART_MONO5,
|
|
1137
|
+
chartMono6: v.CHART_MONO6
|
|
1138
1138
|
}
|
|
1139
1139
|
});
|
|
1140
|
-
},
|
|
1141
|
-
fontFamily:
|
|
1140
|
+
}, x = "Inter, Helvetica, Arial, sans-serif", _0 = (e) => E0(e, {
|
|
1141
|
+
fontFamily: x,
|
|
1142
1142
|
fontSize: 15,
|
|
1143
1143
|
Body: {
|
|
1144
1144
|
// DEPRECATED: Use body1 instead
|
|
@@ -1176,39 +1176,39 @@ const We = ({
|
|
|
1176
1176
|
},
|
|
1177
1177
|
H1: {
|
|
1178
1178
|
// DEPRECATED: Use h1 instead
|
|
1179
|
-
fontFamily:
|
|
1179
|
+
fontFamily: x,
|
|
1180
1180
|
fontWeight: 700,
|
|
1181
1181
|
fontSize: 31,
|
|
1182
1182
|
lineHeight: "40px"
|
|
1183
1183
|
},
|
|
1184
1184
|
h1: {
|
|
1185
|
-
fontFamily:
|
|
1185
|
+
fontFamily: x,
|
|
1186
1186
|
fontWeight: 700,
|
|
1187
1187
|
fontSize: 31,
|
|
1188
1188
|
lineHeight: "40px"
|
|
1189
1189
|
},
|
|
1190
1190
|
H2: {
|
|
1191
1191
|
// DEPRECATED: Use h2 instead
|
|
1192
|
-
fontFamily:
|
|
1192
|
+
fontFamily: x,
|
|
1193
1193
|
fontWeight: 700,
|
|
1194
1194
|
fontSize: 23,
|
|
1195
1195
|
lineHeight: "32px"
|
|
1196
1196
|
},
|
|
1197
1197
|
h2: {
|
|
1198
|
-
fontFamily:
|
|
1198
|
+
fontFamily: x,
|
|
1199
1199
|
fontWeight: 700,
|
|
1200
1200
|
fontSize: 23,
|
|
1201
1201
|
lineHeight: "32px"
|
|
1202
1202
|
},
|
|
1203
1203
|
H3: {
|
|
1204
1204
|
// DEPRECATED: Use h3 instead
|
|
1205
|
-
fontFamily:
|
|
1205
|
+
fontFamily: x,
|
|
1206
1206
|
fontWeight: 700,
|
|
1207
1207
|
fontSize: 18,
|
|
1208
1208
|
lineHeight: "24px"
|
|
1209
1209
|
},
|
|
1210
1210
|
h3: {
|
|
1211
|
-
fontFamily:
|
|
1211
|
+
fontFamily: x,
|
|
1212
1212
|
fontWeight: 700,
|
|
1213
1213
|
fontSize: 18,
|
|
1214
1214
|
lineHeight: "24px"
|
|
@@ -1248,13 +1248,13 @@ const We = ({
|
|
|
1248
1248
|
R0.setLicenseKey(
|
|
1249
1249
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1250
1250
|
);
|
|
1251
|
-
const
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1251
|
+
const w = [...W().shadows];
|
|
1252
|
+
w[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1253
|
+
w[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1254
|
+
w[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1255
1255
|
const Xe = (e) => {
|
|
1256
|
-
const
|
|
1257
|
-
return
|
|
1256
|
+
const o = w0(e), a = _0(o);
|
|
1257
|
+
return W({
|
|
1258
1258
|
breakpoints: {
|
|
1259
1259
|
values: {
|
|
1260
1260
|
xs: 444,
|
|
@@ -1264,8 +1264,8 @@ const Xe = (e) => {
|
|
|
1264
1264
|
xl: 1536
|
|
1265
1265
|
}
|
|
1266
1266
|
},
|
|
1267
|
-
palette:
|
|
1268
|
-
shadows:
|
|
1267
|
+
palette: o,
|
|
1268
|
+
shadows: w,
|
|
1269
1269
|
shape: {
|
|
1270
1270
|
borderRadius: 4
|
|
1271
1271
|
},
|
|
@@ -1276,10 +1276,10 @@ const Xe = (e) => {
|
|
|
1276
1276
|
MuiAlert: {
|
|
1277
1277
|
defaultProps: {
|
|
1278
1278
|
iconMapping: {
|
|
1279
|
-
success: /* @__PURE__ */
|
|
1280
|
-
error: /* @__PURE__ */
|
|
1281
|
-
warning: /* @__PURE__ */
|
|
1282
|
-
info: /* @__PURE__ */
|
|
1279
|
+
success: /* @__PURE__ */ t(R, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
|
|
1280
|
+
error: /* @__PURE__ */ t(R, { fill: !0, name: "error", size: 24, weight: 400 }),
|
|
1281
|
+
warning: /* @__PURE__ */ t(R, { fill: !0, name: "warning", size: 24, weight: 400 }),
|
|
1282
|
+
info: /* @__PURE__ */ t(R, { fill: !0, name: "info", size: 24, weight: 400 })
|
|
1283
1283
|
},
|
|
1284
1284
|
variant: "filled"
|
|
1285
1285
|
},
|
|
@@ -1307,7 +1307,7 @@ const Xe = (e) => {
|
|
|
1307
1307
|
cursor: "not-allowed"
|
|
1308
1308
|
},
|
|
1309
1309
|
"&.Mui-focusVisible": {
|
|
1310
|
-
outline: `2px solid ${
|
|
1310
|
+
outline: `2px solid ${o.info.main}`,
|
|
1311
1311
|
outlineOffset: "2px"
|
|
1312
1312
|
}
|
|
1313
1313
|
},
|
|
@@ -1338,7 +1338,7 @@ const Xe = (e) => {
|
|
|
1338
1338
|
fontWeight: 600,
|
|
1339
1339
|
"&.Mui-focusVisible": {
|
|
1340
1340
|
outline: "none",
|
|
1341
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1341
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`,
|
|
1342
1342
|
borderRadius: 4
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
@@ -1351,7 +1351,7 @@ const Xe = (e) => {
|
|
|
1351
1351
|
styleOverrides: {
|
|
1352
1352
|
root: {
|
|
1353
1353
|
"&.Mui-focusVisible": {
|
|
1354
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1354
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
1357
|
}
|
|
@@ -1375,14 +1375,14 @@ const Xe = (e) => {
|
|
|
1375
1375
|
display: "flex",
|
|
1376
1376
|
alignItems: "center",
|
|
1377
1377
|
borderTop: "1px solid",
|
|
1378
|
-
borderColor:
|
|
1378
|
+
borderColor: o.background.highlight
|
|
1379
1379
|
},
|
|
1380
1380
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1381
1381
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1382
1382
|
"& .MuiDataGrid-columnHeaders": {
|
|
1383
|
-
backgroundColor:
|
|
1383
|
+
backgroundColor: o.background.paper,
|
|
1384
1384
|
borderBottom: "2px solid",
|
|
1385
|
-
borderColor:
|
|
1385
|
+
borderColor: o.divider
|
|
1386
1386
|
},
|
|
1387
1387
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1388
1388
|
fontWeight: 600
|
|
@@ -1421,7 +1421,7 @@ const Xe = (e) => {
|
|
|
1421
1421
|
borderRadius: r.shape.borderRadius
|
|
1422
1422
|
},
|
|
1423
1423
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1424
|
-
color:
|
|
1424
|
+
color: o.action.disabled
|
|
1425
1425
|
}
|
|
1426
1426
|
}),
|
|
1427
1427
|
day: ({ theme: r }) => ({
|
|
@@ -1515,7 +1515,7 @@ const Xe = (e) => {
|
|
|
1515
1515
|
minWidth: 44,
|
|
1516
1516
|
// touch target
|
|
1517
1517
|
"&.Mui-focusVisible": {
|
|
1518
|
-
outline: `2px solid ${
|
|
1518
|
+
outline: `2px solid ${o.info.main}`,
|
|
1519
1519
|
outlineOffset: "2px"
|
|
1520
1520
|
},
|
|
1521
1521
|
"& .MuiTouchRipple-root": {
|
|
@@ -1546,10 +1546,10 @@ const Xe = (e) => {
|
|
|
1546
1546
|
outlineOffset: "2px"
|
|
1547
1547
|
},
|
|
1548
1548
|
"&:hover": {
|
|
1549
|
-
backgroundColor:
|
|
1549
|
+
backgroundColor: o.action.hover
|
|
1550
1550
|
},
|
|
1551
1551
|
"&:active": {
|
|
1552
|
-
backgroundColor:
|
|
1552
|
+
backgroundColor: o.mode === F.LIGHT ? o[r].light : o[r].dark
|
|
1553
1553
|
}
|
|
1554
1554
|
})
|
|
1555
1555
|
}
|
|
@@ -1625,7 +1625,7 @@ const Xe = (e) => {
|
|
|
1625
1625
|
"&.Mui-focusVisible": {
|
|
1626
1626
|
backgroundColor: "transparent",
|
|
1627
1627
|
borderRadius: 8,
|
|
1628
|
-
outline: `2px solid ${
|
|
1628
|
+
outline: `2px solid ${o.info.main}`,
|
|
1629
1629
|
outlineOffset: -2
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
@@ -1639,7 +1639,7 @@ const Xe = (e) => {
|
|
|
1639
1639
|
},
|
|
1640
1640
|
secondaryTypographyProps: {
|
|
1641
1641
|
fontSize: 11,
|
|
1642
|
-
color:
|
|
1642
|
+
color: o.text.secondary
|
|
1643
1643
|
}
|
|
1644
1644
|
},
|
|
1645
1645
|
styleOverrides: {
|
|
@@ -1667,7 +1667,7 @@ const Xe = (e) => {
|
|
|
1667
1667
|
lineHeight: "inherit",
|
|
1668
1668
|
top: -1,
|
|
1669
1669
|
// This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
|
|
1670
|
-
backgroundColor:
|
|
1670
|
+
backgroundColor: o.background.default
|
|
1671
1671
|
}
|
|
1672
1672
|
}
|
|
1673
1673
|
},
|
|
@@ -1708,7 +1708,7 @@ const Xe = (e) => {
|
|
|
1708
1708
|
MuiFormLabel: {
|
|
1709
1709
|
styleOverrides: {
|
|
1710
1710
|
asterisk: {
|
|
1711
|
-
color:
|
|
1711
|
+
color: o.error.main
|
|
1712
1712
|
}
|
|
1713
1713
|
}
|
|
1714
1714
|
},
|
|
@@ -1799,7 +1799,7 @@ const Xe = (e) => {
|
|
|
1799
1799
|
"&.Mui-checked": {
|
|
1800
1800
|
transform: "translateX(16px)",
|
|
1801
1801
|
"& + .MuiSwitch-track": {
|
|
1802
|
-
backgroundColor:
|
|
1802
|
+
backgroundColor: o.success.main,
|
|
1803
1803
|
opacity: 1,
|
|
1804
1804
|
border: 0
|
|
1805
1805
|
},
|
|
@@ -1808,27 +1808,27 @@ const Xe = (e) => {
|
|
|
1808
1808
|
}
|
|
1809
1809
|
},
|
|
1810
1810
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1811
|
-
color:
|
|
1811
|
+
color: o.common.white
|
|
1812
1812
|
},
|
|
1813
1813
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1814
|
-
backgroundColor:
|
|
1814
|
+
backgroundColor: o.action.disabledBackground,
|
|
1815
1815
|
opacity: 1
|
|
1816
1816
|
}
|
|
1817
1817
|
},
|
|
1818
1818
|
"& .MuiSwitch-input": {
|
|
1819
1819
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
1820
|
-
outline: `2px solid ${
|
|
1820
|
+
outline: `2px solid ${o.info.main}`,
|
|
1821
1821
|
outlineOffset: 0
|
|
1822
1822
|
}
|
|
1823
1823
|
},
|
|
1824
1824
|
"& .MuiSwitch-thumb": {
|
|
1825
1825
|
boxSizing: "border-box",
|
|
1826
|
-
backgroundColor:
|
|
1826
|
+
backgroundColor: o.common.white,
|
|
1827
1827
|
width: 16,
|
|
1828
1828
|
height: 16
|
|
1829
1829
|
},
|
|
1830
1830
|
"& .MuiSwitch-track": {
|
|
1831
|
-
backgroundColor:
|
|
1831
|
+
backgroundColor: o.action.active,
|
|
1832
1832
|
borderRadius: 20 / 2,
|
|
1833
1833
|
opacity: 1
|
|
1834
1834
|
}
|
|
@@ -1840,7 +1840,7 @@ const Xe = (e) => {
|
|
|
1840
1840
|
root: {
|
|
1841
1841
|
borderBottomStyle: "solid",
|
|
1842
1842
|
borderBottomWidth: 1,
|
|
1843
|
-
borderColor:
|
|
1843
|
+
borderColor: o.divider,
|
|
1844
1844
|
marginBottom: 8
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
@@ -1855,13 +1855,95 @@ const Xe = (e) => {
|
|
|
1855
1855
|
},
|
|
1856
1856
|
MuiToggleButton: {
|
|
1857
1857
|
defaultProps: {
|
|
1858
|
+
color: "primary",
|
|
1858
1859
|
disableFocusRipple: !0
|
|
1859
1860
|
},
|
|
1860
1861
|
styleOverrides: {
|
|
1861
1862
|
root: {
|
|
1863
|
+
color: o.text.primary,
|
|
1864
|
+
fontSize: 13,
|
|
1865
|
+
lineHeight: "16px",
|
|
1866
|
+
textTransform: "none",
|
|
1862
1867
|
"&:focus-visible": {
|
|
1863
|
-
outline: `2px solid ${
|
|
1868
|
+
outline: `2px solid ${o.info.main}`,
|
|
1864
1869
|
outlineOffset: "2px"
|
|
1870
|
+
},
|
|
1871
|
+
"&:hover": {
|
|
1872
|
+
backgroundColor: g(o.primary.main, o.mode === F.LIGHT ? 0.1 : 0.2),
|
|
1873
|
+
borderColor: o.primary.main
|
|
1874
|
+
},
|
|
1875
|
+
"&.Mui-selected": {
|
|
1876
|
+
fontWeight: 600,
|
|
1877
|
+
borderColor: o.primary.main,
|
|
1878
|
+
"&:hover": {
|
|
1879
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.primary.main}`
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
"& .MuiTouchRipple-root": {
|
|
1883
|
+
"& .MuiTouchRipple-ripple": {
|
|
1884
|
+
"& .MuiTouchRipple-child": {
|
|
1885
|
+
backgroundColor: o.primary.main
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
variants: [
|
|
1892
|
+
{
|
|
1893
|
+
props: { color: "error" },
|
|
1894
|
+
style: {
|
|
1895
|
+
"&:hover": {
|
|
1896
|
+
backgroundColor: g(o.error.main, o.mode === F.LIGHT ? 0.1 : 0.2),
|
|
1897
|
+
borderColor: o.error.main
|
|
1898
|
+
},
|
|
1899
|
+
"&.Mui-selected": {
|
|
1900
|
+
borderColor: o.error.main,
|
|
1901
|
+
"&:hover": {
|
|
1902
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.error.main}`
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
"& .MuiTouchRipple-root": {
|
|
1906
|
+
"& .MuiTouchRipple-ripple": {
|
|
1907
|
+
"& .MuiTouchRipple-child": {
|
|
1908
|
+
backgroundColor: o.error.main
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
props: { color: "standard" },
|
|
1916
|
+
style: {
|
|
1917
|
+
"&:hover": {
|
|
1918
|
+
backgroundColor: g(
|
|
1919
|
+
o.secondary.main,
|
|
1920
|
+
o.mode === F.LIGHT ? 0.1 : 0.2
|
|
1921
|
+
),
|
|
1922
|
+
borderColor: o.secondary.main
|
|
1923
|
+
},
|
|
1924
|
+
"&.Mui-selected": {
|
|
1925
|
+
borderColor: o.secondary.main,
|
|
1926
|
+
"&:hover": {
|
|
1927
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.secondary.main}`
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
"& .MuiTouchRipple-root": {
|
|
1931
|
+
"& .MuiTouchRipple-ripple": {
|
|
1932
|
+
"& .MuiTouchRipple-child": {
|
|
1933
|
+
backgroundColor: o.secondary.main
|
|
1934
|
+
}
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
]
|
|
1940
|
+
},
|
|
1941
|
+
MuiToggleButtonGroup: {
|
|
1942
|
+
styleOverrides: {
|
|
1943
|
+
root: {
|
|
1944
|
+
"& .MuiToggleButton-middleButton": {
|
|
1945
|
+
marginLeft: 0,
|
|
1946
|
+
borderLeft: "unset"
|
|
1865
1947
|
}
|
|
1866
1948
|
}
|
|
1867
1949
|
}
|
|
@@ -1879,42 +1961,42 @@ export {
|
|
|
1879
1961
|
Ce as AccountsIcon,
|
|
1880
1962
|
Ae as ArrowLeftIcon,
|
|
1881
1963
|
Re as AttentionFilledIcon,
|
|
1882
|
-
|
|
1964
|
+
f as BaseIcon,
|
|
1883
1965
|
we as BottomSheetTransition,
|
|
1884
|
-
|
|
1966
|
+
Me as CalendarIcon,
|
|
1885
1967
|
p as CategoryGuids,
|
|
1886
|
-
|
|
1887
|
-
|
|
1968
|
+
H0 as CategoryIcon,
|
|
1969
|
+
x0 as CategoryIconList,
|
|
1888
1970
|
I0 as CategoryIconVariants,
|
|
1889
|
-
|
|
1971
|
+
Ee as CheckmarkFilledIcon,
|
|
1890
1972
|
Se as ChevronDownIcon,
|
|
1891
1973
|
Ie as ChevronLeftIcon,
|
|
1892
|
-
|
|
1893
|
-
|
|
1974
|
+
xe as ChevronRightIcon,
|
|
1975
|
+
ve as CloseIcon,
|
|
1894
1976
|
ke as DateRangePicker,
|
|
1895
|
-
|
|
1977
|
+
O0 as DialogFooter,
|
|
1896
1978
|
Be as DialogHeader,
|
|
1897
1979
|
Ve as Drawer,
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1980
|
+
He as EditIcon,
|
|
1981
|
+
Fe as FilterIcon,
|
|
1982
|
+
O0 as Footer,
|
|
1983
|
+
L0 as H1,
|
|
1902
1984
|
_e as H2,
|
|
1903
1985
|
Pe as H3,
|
|
1904
|
-
|
|
1905
|
-
|
|
1986
|
+
Oe as HeartIcon,
|
|
1987
|
+
x as INTER,
|
|
1906
1988
|
R as Icon,
|
|
1907
1989
|
S0 as IconWeight,
|
|
1908
1990
|
Ue as InstitutionLogo,
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1991
|
+
De as MXLogoCopyrightIcon,
|
|
1992
|
+
ye as MXLogoFilledIcon,
|
|
1993
|
+
Le as MXLogoIcon,
|
|
1994
|
+
Ne as MXLogoOutlineIcon,
|
|
1913
1995
|
Ge as MerchantLogo,
|
|
1914
1996
|
ze as P,
|
|
1915
1997
|
O as TARGETS,
|
|
1916
|
-
|
|
1917
|
-
|
|
1998
|
+
k as THEMES,
|
|
1999
|
+
y as Text,
|
|
1918
2000
|
$e as TextField,
|
|
1919
2001
|
We as Toast,
|
|
1920
2002
|
Ze as TokenProvider,
|