@mxenabled/mxui 1.2.1-alpha.bb3 → 1.2.1-alpha.bb5
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 +387 -296
- 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,48 +547,57 @@ 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
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
569
|
+
}) => /* @__PURE__ */ M(
|
|
570
|
+
L,
|
|
571
|
+
{
|
|
572
|
+
direction: "row",
|
|
573
|
+
gap: 16,
|
|
574
|
+
justifyContent: "flex-end",
|
|
575
|
+
sx: { bgcolor: "background.paper", width: "100%", p: 24 },
|
|
576
|
+
children: [
|
|
577
|
+
e && /* @__PURE__ */ t(
|
|
578
|
+
_,
|
|
579
|
+
{
|
|
580
|
+
color: c,
|
|
581
|
+
onClick: r,
|
|
582
|
+
variant: a ? "outlined" : "contained",
|
|
583
|
+
children: l
|
|
584
|
+
}
|
|
585
|
+
),
|
|
586
|
+
a && /* @__PURE__ */ t(
|
|
587
|
+
_,
|
|
588
|
+
{
|
|
589
|
+
color: n,
|
|
590
|
+
disabled: o,
|
|
591
|
+
onClick: a,
|
|
592
|
+
variant: "contained",
|
|
593
|
+
children: s
|
|
594
|
+
}
|
|
595
|
+
)
|
|
596
|
+
]
|
|
597
|
+
}
|
|
598
|
+
), y = ({
|
|
590
599
|
bold: e,
|
|
591
|
-
className:
|
|
600
|
+
className: o = "",
|
|
592
601
|
children: a,
|
|
593
602
|
color: r,
|
|
594
603
|
sx: n = {},
|
|
@@ -628,10 +637,10 @@ const Y = {
|
|
|
628
637
|
l.variant = "caption";
|
|
629
638
|
break;
|
|
630
639
|
}
|
|
631
|
-
return /* @__PURE__ */
|
|
632
|
-
|
|
640
|
+
return /* @__PURE__ */ t(
|
|
641
|
+
m0,
|
|
633
642
|
{
|
|
634
|
-
className: `mx-kmui-text ${
|
|
643
|
+
className: `mx-kmui-text ${o}`,
|
|
635
644
|
color: r,
|
|
636
645
|
sx: [
|
|
637
646
|
e ? {
|
|
@@ -651,18 +660,18 @@ const Y = {
|
|
|
651
660
|
children: a
|
|
652
661
|
}
|
|
653
662
|
);
|
|
654
|
-
},
|
|
655
|
-
|
|
663
|
+
}, 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(
|
|
664
|
+
y,
|
|
656
665
|
{
|
|
657
666
|
className: `mx-kmui-text p ${e}`,
|
|
658
667
|
component: "p",
|
|
659
668
|
truncate: a || !1,
|
|
660
669
|
variant: "body1",
|
|
661
670
|
...r,
|
|
662
|
-
children:
|
|
671
|
+
children: o
|
|
663
672
|
}
|
|
664
|
-
), Be = ({ copy: e, onClose:
|
|
665
|
-
|
|
673
|
+
), Be = ({ copy: e, onClose: o }) => /* @__PURE__ */ M(
|
|
674
|
+
L,
|
|
666
675
|
{
|
|
667
676
|
sx: {
|
|
668
677
|
alignItems: "center",
|
|
@@ -672,13 +681,13 @@ const Y = {
|
|
|
672
681
|
py: 14
|
|
673
682
|
},
|
|
674
683
|
children: [
|
|
675
|
-
/* @__PURE__ */
|
|
676
|
-
/* @__PURE__ */
|
|
684
|
+
/* @__PURE__ */ t(L0, { variant: "h3", children: e.title }),
|
|
685
|
+
/* @__PURE__ */ t(X, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ t(p0, {}) })
|
|
677
686
|
]
|
|
678
687
|
}
|
|
679
688
|
), Ve = ({
|
|
680
689
|
className: e,
|
|
681
|
-
disableSave:
|
|
690
|
+
disableSave: o,
|
|
682
691
|
id: a,
|
|
683
692
|
isOpen: r,
|
|
684
693
|
onClose: n,
|
|
@@ -686,8 +695,8 @@ const Y = {
|
|
|
686
695
|
primaryText: c,
|
|
687
696
|
secondaryText: l,
|
|
688
697
|
children: i,
|
|
689
|
-
...
|
|
690
|
-
}) => /* @__PURE__ */
|
|
698
|
+
...m
|
|
699
|
+
}) => /* @__PURE__ */ M(
|
|
691
700
|
g0,
|
|
692
701
|
{
|
|
693
702
|
anchor: "right",
|
|
@@ -696,13 +705,13 @@ const Y = {
|
|
|
696
705
|
onClose: n,
|
|
697
706
|
open: r,
|
|
698
707
|
variant: "temporary",
|
|
699
|
-
...
|
|
708
|
+
...m,
|
|
700
709
|
children: [
|
|
701
710
|
i,
|
|
702
|
-
s && /* @__PURE__ */
|
|
703
|
-
|
|
711
|
+
s && /* @__PURE__ */ t(
|
|
712
|
+
O0,
|
|
704
713
|
{
|
|
705
|
-
isPrimaryDisabled:
|
|
714
|
+
isPrimaryDisabled: o,
|
|
706
715
|
onPrimaryAction: s,
|
|
707
716
|
onSecondaryAction: n,
|
|
708
717
|
primaryText: c,
|
|
@@ -711,19 +720,19 @@ const Y = {
|
|
|
711
720
|
)
|
|
712
721
|
]
|
|
713
722
|
}
|
|
714
|
-
),
|
|
723
|
+
), Q = 32, z = "https://content.moneydesktop.com/storage/MD_Assets", D0 = `${z}/serenity/default_institution_logo.png`, Ue = ({
|
|
715
724
|
alt: e,
|
|
716
|
-
institutionGuid:
|
|
725
|
+
institutionGuid: o,
|
|
717
726
|
logoUrl: a,
|
|
718
|
-
size: r =
|
|
727
|
+
size: r = Q,
|
|
719
728
|
...n
|
|
720
|
-
}) => /* @__PURE__ */
|
|
729
|
+
}) => /* @__PURE__ */ t(
|
|
721
730
|
"img",
|
|
722
731
|
{
|
|
723
732
|
alt: e,
|
|
724
733
|
height: r,
|
|
725
|
-
onError: (s) => s.target.src =
|
|
726
|
-
src: a || `${
|
|
734
|
+
onError: (s) => s.target.src = D0,
|
|
735
|
+
src: a || `${z}/Ipad%20Logos/100x100/${o}_100x100.png`,
|
|
727
736
|
style: {
|
|
728
737
|
borderRadius: 4
|
|
729
738
|
},
|
|
@@ -732,21 +741,21 @@ const Y = {
|
|
|
732
741
|
}
|
|
733
742
|
), Ge = ({
|
|
734
743
|
alt: e = "",
|
|
735
|
-
categoryGuid:
|
|
744
|
+
categoryGuid: o,
|
|
736
745
|
merchantGuid: a,
|
|
737
|
-
size: r =
|
|
746
|
+
size: r = Q,
|
|
738
747
|
...n
|
|
739
748
|
}) => {
|
|
740
749
|
const [s, c] = C.useState(!1), l = D();
|
|
741
|
-
return /* @__PURE__ */
|
|
742
|
-
a && !s && /* @__PURE__ */
|
|
750
|
+
return /* @__PURE__ */ M(Z, { display: "inline-block", position: "relative", ...n, children: [
|
|
751
|
+
a && !s && /* @__PURE__ */ t(
|
|
743
752
|
"img",
|
|
744
753
|
{
|
|
745
754
|
alt: e,
|
|
746
755
|
"aria-hidden": !e,
|
|
747
756
|
height: r,
|
|
748
757
|
onError: () => c(!0),
|
|
749
|
-
src: `${
|
|
758
|
+
src: `${z}/merchant_logos/${a}.png`,
|
|
750
759
|
style: {
|
|
751
760
|
backgroundColor: l.palette.common.white,
|
|
752
761
|
borderRadius: 4,
|
|
@@ -756,32 +765,32 @@ const Y = {
|
|
|
756
765
|
width: r
|
|
757
766
|
}
|
|
758
767
|
),
|
|
759
|
-
/* @__PURE__ */
|
|
768
|
+
/* @__PURE__ */ t(H0, { categoryGuid: o, size: r })
|
|
760
769
|
] });
|
|
761
770
|
}, $e = ({
|
|
762
771
|
disabled: e = !1,
|
|
763
|
-
label:
|
|
772
|
+
label: o = "",
|
|
764
773
|
shrink: a = !0,
|
|
765
774
|
variant: r = "outlined",
|
|
766
775
|
...n
|
|
767
|
-
}) => /* @__PURE__ */
|
|
768
|
-
|
|
776
|
+
}) => /* @__PURE__ */ t(
|
|
777
|
+
f0,
|
|
769
778
|
{
|
|
770
779
|
InputLabelProps: {
|
|
771
780
|
shrink: a
|
|
772
781
|
},
|
|
773
782
|
disabled: e,
|
|
774
|
-
label:
|
|
783
|
+
label: o,
|
|
775
784
|
variant: r,
|
|
776
785
|
...n
|
|
777
786
|
}
|
|
778
787
|
);
|
|
779
|
-
function
|
|
780
|
-
return /* @__PURE__ */
|
|
788
|
+
function y0(e) {
|
|
789
|
+
return /* @__PURE__ */ t(K, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
781
790
|
}
|
|
782
791
|
const We = ({
|
|
783
792
|
open: e,
|
|
784
|
-
handleClose:
|
|
793
|
+
handleClose: o,
|
|
785
794
|
message: a,
|
|
786
795
|
autoHideDuration: r = 3e3,
|
|
787
796
|
severity: n = "success",
|
|
@@ -789,7 +798,7 @@ const We = ({
|
|
|
789
798
|
showAction: c = !1,
|
|
790
799
|
showClose: l = !1,
|
|
791
800
|
actionText: i = "Undo",
|
|
792
|
-
onActionClick:
|
|
801
|
+
onActionClick: m,
|
|
793
802
|
multiLine: d = !1
|
|
794
803
|
}) => {
|
|
795
804
|
const T = D(), e0 = {
|
|
@@ -797,8 +806,8 @@ const We = ({
|
|
|
797
806
|
error: T.palette.error.light,
|
|
798
807
|
info: T.palette.info.lighter,
|
|
799
808
|
warning: T.palette.warning.lighter
|
|
800
|
-
},
|
|
801
|
-
|
|
809
|
+
}, o0 = /* @__PURE__ */ M(
|
|
810
|
+
L,
|
|
802
811
|
{
|
|
803
812
|
alignItems: d ? "flex-end" : "center",
|
|
804
813
|
direction: d ? "column-reverse" : "row",
|
|
@@ -807,11 +816,11 @@ const We = ({
|
|
|
807
816
|
d && c && l ? "space-between" : "flex-end"
|
|
808
817
|
),
|
|
809
818
|
children: [
|
|
810
|
-
c && /* @__PURE__ */
|
|
811
|
-
|
|
819
|
+
c && /* @__PURE__ */ t(
|
|
820
|
+
_,
|
|
812
821
|
{
|
|
813
822
|
color: "inherit",
|
|
814
|
-
onClick:
|
|
823
|
+
onClick: m || o,
|
|
815
824
|
size: "small",
|
|
816
825
|
sx: {
|
|
817
826
|
color: T.palette.success.contrastText,
|
|
@@ -820,42 +829,42 @@ const We = ({
|
|
|
820
829
|
children: i
|
|
821
830
|
}
|
|
822
831
|
),
|
|
823
|
-
l && /* @__PURE__ */
|
|
824
|
-
|
|
832
|
+
l && /* @__PURE__ */ t(
|
|
833
|
+
X,
|
|
825
834
|
{
|
|
826
835
|
"aria-label": "close",
|
|
827
836
|
color: "inherit",
|
|
828
|
-
onClick:
|
|
837
|
+
onClick: o,
|
|
829
838
|
sx: { height: 44, width: 44 },
|
|
830
|
-
children: /* @__PURE__ */
|
|
839
|
+
children: /* @__PURE__ */ t(R, { fill: !0, name: "close", size: 24, weight: 400 })
|
|
831
840
|
}
|
|
832
841
|
)
|
|
833
842
|
]
|
|
834
843
|
}
|
|
835
844
|
);
|
|
836
|
-
return /* @__PURE__ */
|
|
845
|
+
return /* @__PURE__ */ t(
|
|
837
846
|
T0,
|
|
838
847
|
{
|
|
839
|
-
TransitionComponent:
|
|
848
|
+
TransitionComponent: y0,
|
|
840
849
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
841
850
|
autoHideDuration: r,
|
|
842
|
-
onClose:
|
|
851
|
+
onClose: o,
|
|
843
852
|
open: e,
|
|
844
853
|
sx: {
|
|
845
854
|
...s,
|
|
846
855
|
width: d ? 400 : 325
|
|
847
856
|
},
|
|
848
|
-
children: /* @__PURE__ */
|
|
857
|
+
children: /* @__PURE__ */ t(
|
|
849
858
|
b0,
|
|
850
859
|
{
|
|
851
|
-
action:
|
|
860
|
+
action: o0,
|
|
852
861
|
severity: n,
|
|
853
862
|
sx: {
|
|
854
863
|
display: "flex",
|
|
855
864
|
alignItems: "stretch",
|
|
856
865
|
minHeight: l && c && d ? 120 : 56,
|
|
857
866
|
maxHeight: d ? 120 : 56,
|
|
858
|
-
backgroundColor: (
|
|
867
|
+
backgroundColor: (B) => B.palette.mode === "light" ? B.palette[n].main : e0[n],
|
|
859
868
|
width: "100%",
|
|
860
869
|
"& .MuiAlert-icon": {
|
|
861
870
|
alignSelf: d ? "flex-start" : "center"
|
|
@@ -871,8 +880,8 @@ const We = ({
|
|
|
871
880
|
}
|
|
872
881
|
},
|
|
873
882
|
variant: "filled",
|
|
874
|
-
children: /* @__PURE__ */
|
|
875
|
-
|
|
883
|
+
children: /* @__PURE__ */ t(
|
|
884
|
+
y,
|
|
876
885
|
{
|
|
877
886
|
sx: {
|
|
878
887
|
lineHeight: T.typography.body1.lineHeight,
|
|
@@ -892,41 +901,41 @@ const We = ({
|
|
|
892
901
|
REACT: "react",
|
|
893
902
|
REACT_NATIVE: "react_native",
|
|
894
903
|
NATIVE: "native"
|
|
895
|
-
},
|
|
904
|
+
}, k = {
|
|
896
905
|
LIGHT: "light",
|
|
897
906
|
DARK: "dark"
|
|
898
|
-
},
|
|
899
|
-
|
|
907
|
+
}, J = C.createContext(Y), q = C.createContext(
|
|
908
|
+
P(k.LIGHT, O.REACT_NATIVE)
|
|
900
909
|
), Ze = ({
|
|
901
910
|
children: e,
|
|
902
|
-
target:
|
|
903
|
-
theme: a =
|
|
911
|
+
target: o = O.REACT,
|
|
912
|
+
theme: a = k.LIGHT,
|
|
904
913
|
tokenOverrides: r
|
|
905
914
|
}) => {
|
|
906
|
-
const [n, s] = C.useState(a ===
|
|
915
|
+
const [n, s] = C.useState(a === k.LIGHT ? Y : C0), c = C.useMemo(() => ({
|
|
907
916
|
...r
|
|
908
917
|
}), [r]);
|
|
909
918
|
return C.useEffect(() => {
|
|
910
|
-
const l =
|
|
919
|
+
const l = P(a, o, { ...c });
|
|
911
920
|
s(l);
|
|
912
|
-
}, [a,
|
|
913
|
-
}, Ke = (e = O.REACT,
|
|
914
|
-
const a = e === O.REACT ?
|
|
915
|
-
return r ||
|
|
916
|
-
},
|
|
921
|
+
}, [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 }));
|
|
922
|
+
}, Ke = (e = O.REACT, o = {}) => {
|
|
923
|
+
const a = e === O.REACT ? J : q, r = C.useContext(a);
|
|
924
|
+
return r || P(k.LIGHT, e, { ...o });
|
|
925
|
+
}, F = {
|
|
917
926
|
LIGHT: "light"
|
|
918
|
-
},
|
|
919
|
-
50:
|
|
920
|
-
100:
|
|
921
|
-
200:
|
|
922
|
-
300:
|
|
923
|
-
400:
|
|
927
|
+
}, E = (e) => ({
|
|
928
|
+
50: H(e, 0.95),
|
|
929
|
+
100: H(e, 0.85),
|
|
930
|
+
200: H(e, 0.7),
|
|
931
|
+
300: H(e, 0.55),
|
|
932
|
+
400: H(e, 0.3),
|
|
924
933
|
500: e,
|
|
925
934
|
600: N(e, 0.3),
|
|
926
935
|
700: N(e, 0.5),
|
|
927
936
|
800: N(e, 0.65),
|
|
928
937
|
900: N(e, 0.75)
|
|
929
|
-
}), b = "#FFFFFF", A = "#000000",
|
|
938
|
+
}), b = "#FFFFFF", A = "#000000", N0 = "#F9F9F9", k0 = "#1A1A1A", S = {
|
|
930
939
|
PRIMARY: "#2C64EF",
|
|
931
940
|
SECONDARY: "#808080",
|
|
932
941
|
INFO: "#2C64EF",
|
|
@@ -942,7 +951,7 @@ const We = ({
|
|
|
942
951
|
CHART5: "#60A9FF",
|
|
943
952
|
CHART6: "#C8BAEE",
|
|
944
953
|
CHART7: "#585E67"
|
|
945
|
-
},
|
|
954
|
+
}, v = {
|
|
946
955
|
CHART_MONO1: "#C3EAFF",
|
|
947
956
|
CHART_MONO2: "#8ED7FF",
|
|
948
957
|
CHART_MONO3: "#60A9FF",
|
|
@@ -996,8 +1005,8 @@ const We = ({
|
|
|
996
1005
|
TRAVEL: "#76ACF7",
|
|
997
1006
|
UNCATEGORIZED: "#BCC6D4"
|
|
998
1007
|
}, w0 = (e) => {
|
|
999
|
-
const
|
|
1000
|
-
return
|
|
1008
|
+
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;
|
|
1009
|
+
return M0({
|
|
1001
1010
|
mode: e,
|
|
1002
1011
|
// DEPRECATED: Use Neutral instead
|
|
1003
1012
|
border: {
|
|
@@ -1014,14 +1023,14 @@ const We = ({
|
|
|
1014
1023
|
black: A
|
|
1015
1024
|
},
|
|
1016
1025
|
primary: {
|
|
1017
|
-
...
|
|
1026
|
+
...o,
|
|
1018
1027
|
/* DEPRECATED: Use light instead */
|
|
1019
|
-
lighter: i ?
|
|
1020
|
-
light: i ?
|
|
1021
|
-
main: i ?
|
|
1022
|
-
dark: i ?
|
|
1028
|
+
lighter: i ? o[100] : o[800],
|
|
1029
|
+
light: i ? o[300] : o[600],
|
|
1030
|
+
main: i ? o[500] : o[400],
|
|
1031
|
+
dark: i ? o[700] : o[200],
|
|
1023
1032
|
/* DEPRECATED: Use dark instead */
|
|
1024
|
-
darker: i ?
|
|
1033
|
+
darker: i ? o[900] : o[100]
|
|
1025
1034
|
},
|
|
1026
1035
|
secondary: {
|
|
1027
1036
|
...a,
|
|
@@ -1035,8 +1044,8 @@ const We = ({
|
|
|
1035
1044
|
},
|
|
1036
1045
|
text: {
|
|
1037
1046
|
primary: i ? l[900] : b,
|
|
1038
|
-
secondary: i ? l[600] :
|
|
1039
|
-
disabled: i ? l[500] :
|
|
1047
|
+
secondary: i ? l[600] : g(b, 0.7),
|
|
1048
|
+
disabled: i ? l[500] : g(b, 0.38)
|
|
1040
1049
|
},
|
|
1041
1050
|
error: {
|
|
1042
1051
|
...r,
|
|
@@ -1080,21 +1089,21 @@ const We = ({
|
|
|
1080
1089
|
},
|
|
1081
1090
|
grey: l,
|
|
1082
1091
|
action: {
|
|
1083
|
-
active: e === "light" ?
|
|
1084
|
-
hover: e === "light" ?
|
|
1092
|
+
active: e === "light" ? g(A, 0.56) : g(b, 0.56),
|
|
1093
|
+
hover: e === "light" ? g(A, 0.04) : g(b, 0.08),
|
|
1085
1094
|
// also used for text hover
|
|
1086
|
-
selected: e === "light" ?
|
|
1087
|
-
focus: e === "light" ?
|
|
1088
|
-
disabled: e === "light" ?
|
|
1089
|
-
disabledBackground: e === "light" ?
|
|
1095
|
+
selected: e === "light" ? g(A, 0.08) : g(b, 0.16),
|
|
1096
|
+
focus: e === "light" ? g(A, 0.12) : g(b, 0.12),
|
|
1097
|
+
disabled: e === "light" ? g(A, 0.38) : g(b, 0.38),
|
|
1098
|
+
disabledBackground: e === "light" ? g(A, 0.12) : g(b, 0.12)
|
|
1090
1099
|
},
|
|
1091
1100
|
background: {
|
|
1092
|
-
default: i ?
|
|
1101
|
+
default: i ? N0 : k0,
|
|
1093
1102
|
paper: i ? b : A,
|
|
1094
1103
|
highlight: i ? l[200] : l[600],
|
|
1095
|
-
highlightPrimary: i ?
|
|
1104
|
+
highlightPrimary: i ? o[100] : o[500]
|
|
1096
1105
|
},
|
|
1097
|
-
divider: i ?
|
|
1106
|
+
divider: i ? g(A, 0.12) : g(b, 0.12),
|
|
1098
1107
|
categories: {
|
|
1099
1108
|
autoTransport: i ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1100
1109
|
billsUtilities: i ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
@@ -1129,16 +1138,16 @@ const We = ({
|
|
|
1129
1138
|
chart7: I.CHART7
|
|
1130
1139
|
},
|
|
1131
1140
|
chartMono: {
|
|
1132
|
-
chartMono1:
|
|
1133
|
-
chartMono2:
|
|
1134
|
-
chartMono3:
|
|
1135
|
-
chartMono4:
|
|
1136
|
-
chartMono5:
|
|
1137
|
-
chartMono6:
|
|
1141
|
+
chartMono1: v.CHART_MONO1,
|
|
1142
|
+
chartMono2: v.CHART_MONO2,
|
|
1143
|
+
chartMono3: v.CHART_MONO3,
|
|
1144
|
+
chartMono4: v.CHART_MONO4,
|
|
1145
|
+
chartMono5: v.CHART_MONO5,
|
|
1146
|
+
chartMono6: v.CHART_MONO6
|
|
1138
1147
|
}
|
|
1139
1148
|
});
|
|
1140
|
-
},
|
|
1141
|
-
fontFamily:
|
|
1149
|
+
}, x = "Inter, Helvetica, Arial, sans-serif", _0 = (e) => E0(e, {
|
|
1150
|
+
fontFamily: x,
|
|
1142
1151
|
fontSize: 15,
|
|
1143
1152
|
Body: {
|
|
1144
1153
|
// DEPRECATED: Use body1 instead
|
|
@@ -1176,39 +1185,39 @@ const We = ({
|
|
|
1176
1185
|
},
|
|
1177
1186
|
H1: {
|
|
1178
1187
|
// DEPRECATED: Use h1 instead
|
|
1179
|
-
fontFamily:
|
|
1188
|
+
fontFamily: x,
|
|
1180
1189
|
fontWeight: 700,
|
|
1181
1190
|
fontSize: 31,
|
|
1182
1191
|
lineHeight: "40px"
|
|
1183
1192
|
},
|
|
1184
1193
|
h1: {
|
|
1185
|
-
fontFamily:
|
|
1194
|
+
fontFamily: x,
|
|
1186
1195
|
fontWeight: 700,
|
|
1187
1196
|
fontSize: 31,
|
|
1188
1197
|
lineHeight: "40px"
|
|
1189
1198
|
},
|
|
1190
1199
|
H2: {
|
|
1191
1200
|
// DEPRECATED: Use h2 instead
|
|
1192
|
-
fontFamily:
|
|
1201
|
+
fontFamily: x,
|
|
1193
1202
|
fontWeight: 700,
|
|
1194
1203
|
fontSize: 23,
|
|
1195
1204
|
lineHeight: "32px"
|
|
1196
1205
|
},
|
|
1197
1206
|
h2: {
|
|
1198
|
-
fontFamily:
|
|
1207
|
+
fontFamily: x,
|
|
1199
1208
|
fontWeight: 700,
|
|
1200
1209
|
fontSize: 23,
|
|
1201
1210
|
lineHeight: "32px"
|
|
1202
1211
|
},
|
|
1203
1212
|
H3: {
|
|
1204
1213
|
// DEPRECATED: Use h3 instead
|
|
1205
|
-
fontFamily:
|
|
1214
|
+
fontFamily: x,
|
|
1206
1215
|
fontWeight: 700,
|
|
1207
1216
|
fontSize: 18,
|
|
1208
1217
|
lineHeight: "24px"
|
|
1209
1218
|
},
|
|
1210
1219
|
h3: {
|
|
1211
|
-
fontFamily:
|
|
1220
|
+
fontFamily: x,
|
|
1212
1221
|
fontWeight: 700,
|
|
1213
1222
|
fontSize: 18,
|
|
1214
1223
|
lineHeight: "24px"
|
|
@@ -1248,13 +1257,13 @@ const We = ({
|
|
|
1248
1257
|
R0.setLicenseKey(
|
|
1249
1258
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1250
1259
|
);
|
|
1251
|
-
const
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1260
|
+
const w = [...W().shadows];
|
|
1261
|
+
w[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1262
|
+
w[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1263
|
+
w[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1255
1264
|
const Xe = (e) => {
|
|
1256
|
-
const
|
|
1257
|
-
return
|
|
1265
|
+
const o = w0(e), a = _0(o);
|
|
1266
|
+
return W({
|
|
1258
1267
|
breakpoints: {
|
|
1259
1268
|
values: {
|
|
1260
1269
|
xs: 444,
|
|
@@ -1264,8 +1273,8 @@ const Xe = (e) => {
|
|
|
1264
1273
|
xl: 1536
|
|
1265
1274
|
}
|
|
1266
1275
|
},
|
|
1267
|
-
palette:
|
|
1268
|
-
shadows:
|
|
1276
|
+
palette: o,
|
|
1277
|
+
shadows: w,
|
|
1269
1278
|
shape: {
|
|
1270
1279
|
borderRadius: 4
|
|
1271
1280
|
},
|
|
@@ -1276,10 +1285,10 @@ const Xe = (e) => {
|
|
|
1276
1285
|
MuiAlert: {
|
|
1277
1286
|
defaultProps: {
|
|
1278
1287
|
iconMapping: {
|
|
1279
|
-
success: /* @__PURE__ */
|
|
1280
|
-
error: /* @__PURE__ */
|
|
1281
|
-
warning: /* @__PURE__ */
|
|
1282
|
-
info: /* @__PURE__ */
|
|
1288
|
+
success: /* @__PURE__ */ t(R, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
|
|
1289
|
+
error: /* @__PURE__ */ t(R, { fill: !0, name: "error", size: 24, weight: 400 }),
|
|
1290
|
+
warning: /* @__PURE__ */ t(R, { fill: !0, name: "warning", size: 24, weight: 400 }),
|
|
1291
|
+
info: /* @__PURE__ */ t(R, { fill: !0, name: "info", size: 24, weight: 400 })
|
|
1283
1292
|
},
|
|
1284
1293
|
variant: "filled"
|
|
1285
1294
|
},
|
|
@@ -1307,7 +1316,7 @@ const Xe = (e) => {
|
|
|
1307
1316
|
cursor: "not-allowed"
|
|
1308
1317
|
},
|
|
1309
1318
|
"&.Mui-focusVisible": {
|
|
1310
|
-
outline: `2px solid ${
|
|
1319
|
+
outline: `2px solid ${o.info.main}`,
|
|
1311
1320
|
outlineOffset: "2px"
|
|
1312
1321
|
}
|
|
1313
1322
|
},
|
|
@@ -1338,7 +1347,7 @@ const Xe = (e) => {
|
|
|
1338
1347
|
fontWeight: 600,
|
|
1339
1348
|
"&.Mui-focusVisible": {
|
|
1340
1349
|
outline: "none",
|
|
1341
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1350
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`,
|
|
1342
1351
|
borderRadius: 4
|
|
1343
1352
|
}
|
|
1344
1353
|
}
|
|
@@ -1351,7 +1360,7 @@ const Xe = (e) => {
|
|
|
1351
1360
|
styleOverrides: {
|
|
1352
1361
|
root: {
|
|
1353
1362
|
"&.Mui-focusVisible": {
|
|
1354
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1363
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`
|
|
1355
1364
|
}
|
|
1356
1365
|
}
|
|
1357
1366
|
}
|
|
@@ -1375,14 +1384,14 @@ const Xe = (e) => {
|
|
|
1375
1384
|
display: "flex",
|
|
1376
1385
|
alignItems: "center",
|
|
1377
1386
|
borderTop: "1px solid",
|
|
1378
|
-
borderColor:
|
|
1387
|
+
borderColor: o.background.highlight
|
|
1379
1388
|
},
|
|
1380
1389
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1381
1390
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1382
1391
|
"& .MuiDataGrid-columnHeaders": {
|
|
1383
|
-
backgroundColor:
|
|
1392
|
+
backgroundColor: o.background.paper,
|
|
1384
1393
|
borderBottom: "2px solid",
|
|
1385
|
-
borderColor:
|
|
1394
|
+
borderColor: o.divider
|
|
1386
1395
|
},
|
|
1387
1396
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1388
1397
|
fontWeight: 600
|
|
@@ -1421,7 +1430,7 @@ const Xe = (e) => {
|
|
|
1421
1430
|
borderRadius: r.shape.borderRadius
|
|
1422
1431
|
},
|
|
1423
1432
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1424
|
-
color:
|
|
1433
|
+
color: o.action.disabled
|
|
1425
1434
|
}
|
|
1426
1435
|
}),
|
|
1427
1436
|
day: ({ theme: r }) => ({
|
|
@@ -1515,7 +1524,7 @@ const Xe = (e) => {
|
|
|
1515
1524
|
minWidth: 44,
|
|
1516
1525
|
// touch target
|
|
1517
1526
|
"&.Mui-focusVisible": {
|
|
1518
|
-
outline: `2px solid ${
|
|
1527
|
+
outline: `2px solid ${o.info.main}`,
|
|
1519
1528
|
outlineOffset: "2px"
|
|
1520
1529
|
},
|
|
1521
1530
|
"& .MuiTouchRipple-root": {
|
|
@@ -1546,10 +1555,10 @@ const Xe = (e) => {
|
|
|
1546
1555
|
outlineOffset: "2px"
|
|
1547
1556
|
},
|
|
1548
1557
|
"&:hover": {
|
|
1549
|
-
backgroundColor:
|
|
1558
|
+
backgroundColor: o.action.hover
|
|
1550
1559
|
},
|
|
1551
1560
|
"&:active": {
|
|
1552
|
-
backgroundColor:
|
|
1561
|
+
backgroundColor: o.mode === F.LIGHT ? o[r].light : o[r].dark
|
|
1553
1562
|
}
|
|
1554
1563
|
})
|
|
1555
1564
|
}
|
|
@@ -1625,7 +1634,7 @@ const Xe = (e) => {
|
|
|
1625
1634
|
"&.Mui-focusVisible": {
|
|
1626
1635
|
backgroundColor: "transparent",
|
|
1627
1636
|
borderRadius: 8,
|
|
1628
|
-
outline: `2px solid ${
|
|
1637
|
+
outline: `2px solid ${o.info.main}`,
|
|
1629
1638
|
outlineOffset: -2
|
|
1630
1639
|
}
|
|
1631
1640
|
}
|
|
@@ -1639,7 +1648,7 @@ const Xe = (e) => {
|
|
|
1639
1648
|
},
|
|
1640
1649
|
secondaryTypographyProps: {
|
|
1641
1650
|
fontSize: 11,
|
|
1642
|
-
color:
|
|
1651
|
+
color: o.text.secondary
|
|
1643
1652
|
}
|
|
1644
1653
|
},
|
|
1645
1654
|
styleOverrides: {
|
|
@@ -1667,7 +1676,7 @@ const Xe = (e) => {
|
|
|
1667
1676
|
lineHeight: "inherit",
|
|
1668
1677
|
top: -1,
|
|
1669
1678
|
// This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
|
|
1670
|
-
backgroundColor:
|
|
1679
|
+
backgroundColor: o.background.default
|
|
1671
1680
|
}
|
|
1672
1681
|
}
|
|
1673
1682
|
},
|
|
@@ -1708,7 +1717,7 @@ const Xe = (e) => {
|
|
|
1708
1717
|
MuiFormLabel: {
|
|
1709
1718
|
styleOverrides: {
|
|
1710
1719
|
asterisk: {
|
|
1711
|
-
color:
|
|
1720
|
+
color: o.error.main
|
|
1712
1721
|
}
|
|
1713
1722
|
}
|
|
1714
1723
|
},
|
|
@@ -1799,7 +1808,7 @@ const Xe = (e) => {
|
|
|
1799
1808
|
"&.Mui-checked": {
|
|
1800
1809
|
transform: "translateX(16px)",
|
|
1801
1810
|
"& + .MuiSwitch-track": {
|
|
1802
|
-
backgroundColor:
|
|
1811
|
+
backgroundColor: o.success.main,
|
|
1803
1812
|
opacity: 1,
|
|
1804
1813
|
border: 0
|
|
1805
1814
|
},
|
|
@@ -1808,27 +1817,27 @@ const Xe = (e) => {
|
|
|
1808
1817
|
}
|
|
1809
1818
|
},
|
|
1810
1819
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1811
|
-
color:
|
|
1820
|
+
color: o.common.white
|
|
1812
1821
|
},
|
|
1813
1822
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1814
|
-
backgroundColor:
|
|
1823
|
+
backgroundColor: o.action.disabledBackground,
|
|
1815
1824
|
opacity: 1
|
|
1816
1825
|
}
|
|
1817
1826
|
},
|
|
1818
1827
|
"& .MuiSwitch-input": {
|
|
1819
1828
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
1820
|
-
outline: `2px solid ${
|
|
1829
|
+
outline: `2px solid ${o.info.main}`,
|
|
1821
1830
|
outlineOffset: 0
|
|
1822
1831
|
}
|
|
1823
1832
|
},
|
|
1824
1833
|
"& .MuiSwitch-thumb": {
|
|
1825
1834
|
boxSizing: "border-box",
|
|
1826
|
-
backgroundColor:
|
|
1835
|
+
backgroundColor: o.common.white,
|
|
1827
1836
|
width: 16,
|
|
1828
1837
|
height: 16
|
|
1829
1838
|
},
|
|
1830
1839
|
"& .MuiSwitch-track": {
|
|
1831
|
-
backgroundColor:
|
|
1840
|
+
backgroundColor: o.action.active,
|
|
1832
1841
|
borderRadius: 20 / 2,
|
|
1833
1842
|
opacity: 1
|
|
1834
1843
|
}
|
|
@@ -1840,7 +1849,7 @@ const Xe = (e) => {
|
|
|
1840
1849
|
root: {
|
|
1841
1850
|
borderBottomStyle: "solid",
|
|
1842
1851
|
borderBottomWidth: 1,
|
|
1843
|
-
borderColor:
|
|
1852
|
+
borderColor: o.divider,
|
|
1844
1853
|
marginBottom: 8
|
|
1845
1854
|
}
|
|
1846
1855
|
}
|
|
@@ -1855,13 +1864,95 @@ const Xe = (e) => {
|
|
|
1855
1864
|
},
|
|
1856
1865
|
MuiToggleButton: {
|
|
1857
1866
|
defaultProps: {
|
|
1867
|
+
color: "primary",
|
|
1858
1868
|
disableFocusRipple: !0
|
|
1859
1869
|
},
|
|
1860
1870
|
styleOverrides: {
|
|
1861
1871
|
root: {
|
|
1872
|
+
color: o.text.primary,
|
|
1873
|
+
fontSize: 13,
|
|
1874
|
+
lineHeight: "16px",
|
|
1875
|
+
textTransform: "none",
|
|
1862
1876
|
"&:focus-visible": {
|
|
1863
|
-
outline: `2px solid ${
|
|
1877
|
+
outline: `2px solid ${o.info.main}`,
|
|
1864
1878
|
outlineOffset: "2px"
|
|
1879
|
+
},
|
|
1880
|
+
"&:hover": {
|
|
1881
|
+
backgroundColor: g(o.primary.main, o.mode === F.LIGHT ? 0.1 : 0.2),
|
|
1882
|
+
borderColor: o.primary.main
|
|
1883
|
+
},
|
|
1884
|
+
"&.Mui-selected": {
|
|
1885
|
+
fontWeight: 600,
|
|
1886
|
+
borderColor: o.primary.main,
|
|
1887
|
+
"&:hover": {
|
|
1888
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.primary.main}`
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
"& .MuiTouchRipple-root": {
|
|
1892
|
+
"& .MuiTouchRipple-ripple": {
|
|
1893
|
+
"& .MuiTouchRipple-child": {
|
|
1894
|
+
backgroundColor: o.primary.main
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
},
|
|
1900
|
+
variants: [
|
|
1901
|
+
{
|
|
1902
|
+
props: { color: "error" },
|
|
1903
|
+
style: {
|
|
1904
|
+
"&:hover": {
|
|
1905
|
+
backgroundColor: g(o.error.main, o.mode === F.LIGHT ? 0.1 : 0.2),
|
|
1906
|
+
borderColor: o.error.main
|
|
1907
|
+
},
|
|
1908
|
+
"&.Mui-selected": {
|
|
1909
|
+
borderColor: o.error.main,
|
|
1910
|
+
"&:hover": {
|
|
1911
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.error.main}`
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
"& .MuiTouchRipple-root": {
|
|
1915
|
+
"& .MuiTouchRipple-ripple": {
|
|
1916
|
+
"& .MuiTouchRipple-child": {
|
|
1917
|
+
backgroundColor: o.error.main
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
props: { color: "standard" },
|
|
1925
|
+
style: {
|
|
1926
|
+
"&:hover": {
|
|
1927
|
+
backgroundColor: g(
|
|
1928
|
+
o.secondary.main,
|
|
1929
|
+
o.mode === F.LIGHT ? 0.1 : 0.2
|
|
1930
|
+
),
|
|
1931
|
+
borderColor: o.secondary.main
|
|
1932
|
+
},
|
|
1933
|
+
"&.Mui-selected": {
|
|
1934
|
+
borderColor: o.secondary.main,
|
|
1935
|
+
"&:hover": {
|
|
1936
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.secondary.main}`
|
|
1937
|
+
}
|
|
1938
|
+
},
|
|
1939
|
+
"& .MuiTouchRipple-root": {
|
|
1940
|
+
"& .MuiTouchRipple-ripple": {
|
|
1941
|
+
"& .MuiTouchRipple-child": {
|
|
1942
|
+
backgroundColor: o.secondary.main
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
]
|
|
1949
|
+
},
|
|
1950
|
+
MuiToggleButtonGroup: {
|
|
1951
|
+
styleOverrides: {
|
|
1952
|
+
root: {
|
|
1953
|
+
"& .MuiToggleButton-middleButton": {
|
|
1954
|
+
marginLeft: 0,
|
|
1955
|
+
borderLeft: "unset"
|
|
1865
1956
|
}
|
|
1866
1957
|
}
|
|
1867
1958
|
}
|
|
@@ -1879,42 +1970,42 @@ export {
|
|
|
1879
1970
|
Ce as AccountsIcon,
|
|
1880
1971
|
Ae as ArrowLeftIcon,
|
|
1881
1972
|
Re as AttentionFilledIcon,
|
|
1882
|
-
|
|
1973
|
+
f as BaseIcon,
|
|
1883
1974
|
we as BottomSheetTransition,
|
|
1884
|
-
|
|
1975
|
+
Me as CalendarIcon,
|
|
1885
1976
|
p as CategoryGuids,
|
|
1886
|
-
|
|
1887
|
-
|
|
1977
|
+
H0 as CategoryIcon,
|
|
1978
|
+
x0 as CategoryIconList,
|
|
1888
1979
|
I0 as CategoryIconVariants,
|
|
1889
|
-
|
|
1980
|
+
Ee as CheckmarkFilledIcon,
|
|
1890
1981
|
Se as ChevronDownIcon,
|
|
1891
1982
|
Ie as ChevronLeftIcon,
|
|
1892
|
-
|
|
1893
|
-
|
|
1983
|
+
xe as ChevronRightIcon,
|
|
1984
|
+
ve as CloseIcon,
|
|
1894
1985
|
ke as DateRangePicker,
|
|
1895
|
-
|
|
1986
|
+
O0 as DialogFooter,
|
|
1896
1987
|
Be as DialogHeader,
|
|
1897
1988
|
Ve as Drawer,
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1989
|
+
He as EditIcon,
|
|
1990
|
+
Fe as FilterIcon,
|
|
1991
|
+
O0 as Footer,
|
|
1992
|
+
L0 as H1,
|
|
1902
1993
|
_e as H2,
|
|
1903
1994
|
Pe as H3,
|
|
1904
|
-
|
|
1905
|
-
|
|
1995
|
+
Oe as HeartIcon,
|
|
1996
|
+
x as INTER,
|
|
1906
1997
|
R as Icon,
|
|
1907
1998
|
S0 as IconWeight,
|
|
1908
1999
|
Ue as InstitutionLogo,
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
2000
|
+
De as MXLogoCopyrightIcon,
|
|
2001
|
+
ye as MXLogoFilledIcon,
|
|
2002
|
+
Le as MXLogoIcon,
|
|
2003
|
+
Ne as MXLogoOutlineIcon,
|
|
1913
2004
|
Ge as MerchantLogo,
|
|
1914
2005
|
ze as P,
|
|
1915
2006
|
O as TARGETS,
|
|
1916
|
-
|
|
1917
|
-
|
|
2007
|
+
k as THEMES,
|
|
2008
|
+
y as Text,
|
|
1918
2009
|
$e as TextField,
|
|
1919
2010
|
We as Toast,
|
|
1920
2011
|
Ze as TokenProvider,
|