@mxenabled/mxui 1.5.1 → 1.5.3
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 +498 -487
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import C from "react";
|
|
1
|
+
import { jsx as a, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import C, { useId as Ce } from "react";
|
|
3
3
|
import k from "@mui/material/Stack";
|
|
4
|
-
import { useTheme as H, createTheme as
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { endOfMonth as
|
|
7
|
-
import { endOfYear as
|
|
8
|
-
import { startOfToday as
|
|
9
|
-
import { startOfMonth as
|
|
10
|
-
import { startOfYear as
|
|
11
|
-
import { subDays as
|
|
12
|
-
import { subMonths as
|
|
13
|
-
import { subYears as
|
|
14
|
-
import
|
|
15
|
-
import { LocalizationProvider as
|
|
16
|
-
import { AdapterDateFns as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
4
|
+
import { useTheme as H, createTheme as re } from "@mui/material/styles";
|
|
5
|
+
import { Icon as xe, Close as Re } from "@mxenabled/mx-icons";
|
|
6
|
+
import { endOfMonth as j } from "date-fns/endOfMonth";
|
|
7
|
+
import { endOfYear as Me } from "date-fns/endOfYear";
|
|
8
|
+
import { startOfToday as Ae } from "date-fns/startOfToday";
|
|
9
|
+
import { startOfMonth as Q } from "date-fns/startOfMonth";
|
|
10
|
+
import { startOfYear as q } from "date-fns/startOfYear";
|
|
11
|
+
import { subDays as J } from "date-fns/subDays";
|
|
12
|
+
import { subMonths as Ee } from "date-fns/subMonths";
|
|
13
|
+
import { subYears as Se } from "date-fns/subYears";
|
|
14
|
+
import Ie from "@mui/material/useMediaQuery";
|
|
15
|
+
import { LocalizationProvider as ve, StaticDateRangePicker as He } from "@mui/x-date-pickers-pro";
|
|
16
|
+
import { AdapterDateFns as ye } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
|
|
17
|
+
import te from "@mui/material/Box";
|
|
18
|
+
import Oe from "@mui/material/ToggleButton";
|
|
19
|
+
import ke from "@mui/material/ToggleButtonGroup";
|
|
20
|
+
import ie from "@mui/material/Slide";
|
|
21
21
|
import V from "@mui/material/Button";
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { light as
|
|
29
|
-
import { Paper as
|
|
30
|
-
import { circularProgressClasses as
|
|
31
|
-
import { LicenseInfo as
|
|
22
|
+
import ae from "@mui/material/IconButton";
|
|
23
|
+
import Fe from "@mui/material/Typography";
|
|
24
|
+
import De from "@mui/material/Drawer";
|
|
25
|
+
import Le from "@mui/material/TextField";
|
|
26
|
+
import Ne from "@mui/material/Snackbar";
|
|
27
|
+
import we from "@mui/material/Alert";
|
|
28
|
+
import { light as ne, buildTheme as $, dark as _e } from "@mxenabled/design-tokens";
|
|
29
|
+
import { Paper as Pe, Box as ee, Typography as oe, Radio as L, Checkbox as Be, alpha as b, darken as N, lighten as y, getContrastRatio as ze } from "@mui/material";
|
|
30
|
+
import { circularProgressClasses as Ve } from "@mui/material/CircularProgress";
|
|
31
|
+
import { LicenseInfo as $e } from "@mui/x-license-pro";
|
|
32
32
|
const f = ({
|
|
33
33
|
children: e,
|
|
34
|
-
height:
|
|
34
|
+
height: o,
|
|
35
35
|
size: i = 16,
|
|
36
|
-
viewBox:
|
|
37
|
-
width:
|
|
38
|
-
}) => /* @__PURE__ */
|
|
36
|
+
viewBox: n = "0 0 16 16",
|
|
37
|
+
width: r
|
|
38
|
+
}) => /* @__PURE__ */ a(
|
|
39
39
|
"svg",
|
|
40
40
|
{
|
|
41
41
|
"aria-hidden": !0,
|
|
42
42
|
className: "mx-kmui-icon",
|
|
43
43
|
focusable: !1,
|
|
44
|
-
height:
|
|
45
|
-
viewBox:
|
|
46
|
-
width:
|
|
44
|
+
height: o || i,
|
|
45
|
+
viewBox: n,
|
|
46
|
+
width: r || i,
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
48
|
children: e
|
|
49
49
|
}
|
|
50
50
|
);
|
|
51
|
-
var
|
|
51
|
+
var Ge = /* @__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))(Ge || {});
|
|
52
52
|
const M = ({
|
|
53
53
|
color: e,
|
|
54
|
-
fill:
|
|
54
|
+
fill: o = !1,
|
|
55
55
|
name: i,
|
|
56
|
-
size:
|
|
57
|
-
sx:
|
|
56
|
+
size: n = 20,
|
|
57
|
+
sx: r,
|
|
58
58
|
weight: d = 300,
|
|
59
59
|
...c
|
|
60
|
-
}) => /* @__PURE__ */
|
|
61
|
-
|
|
60
|
+
}) => /* @__PURE__ */ a(
|
|
61
|
+
xe,
|
|
62
62
|
{
|
|
63
63
|
color: e,
|
|
64
|
-
fill:
|
|
64
|
+
fill: o,
|
|
65
65
|
name: i,
|
|
66
|
-
size:
|
|
67
|
-
sx:
|
|
66
|
+
size: n,
|
|
67
|
+
sx: r,
|
|
68
68
|
weight: d,
|
|
69
69
|
...c
|
|
70
70
|
}
|
|
71
|
-
),
|
|
71
|
+
), N0 = ({
|
|
72
72
|
color: e = "currentColor",
|
|
73
|
-
...
|
|
74
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
73
|
+
...o
|
|
74
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
75
75
|
"path",
|
|
76
76
|
{
|
|
77
77
|
d: "M2.24801 6.76647H0.573286C0.327604 6.76647 0.110586 6.60678 0.0327867 6.37748C-0.0450124 6.14408 0.0327866 5.88612 0.229332 5.73871L7.6571 0.116699C7.85774 -0.0388996 8.14027 -0.0388996 8.34501 0.116699L15.7728 5.73871C15.9693 5.89021 16.0471 6.14408 15.9693 6.37748C15.8915 6.61088 15.6745 6.76647 15.4288 6.76647H13.7582V12.323H14.3929C14.7122 12.323 14.9661 12.5809 14.9661 12.8962C14.9661 13.2156 14.7082 13.4695 14.3929 13.4695H1.60924C1.28986 13.4695 1.03599 13.2115 1.03599 12.8962C1.03599 12.5768 1.29395 12.323 1.60924 12.323H2.24801V6.76647ZM5.70393 6.76647H3.39043V12.323H5.70393V6.76647ZM9.15985 12.323V6.76647H6.84635V12.323H9.15985ZM10.3023 12.3189H12.6158V6.76647H10.3023V12.3189ZM0.573256 14.8535H15.4288C15.7441 14.8535 15.998 15.1115 15.998 15.4267C15.998 15.7461 15.74 16 15.4247 16H0.573256C0.253871 16 0 15.742 0 15.4267C0 15.1074 0.257965 14.8535 0.573256 14.8535Z",
|
|
78
78
|
fill: e
|
|
79
79
|
}
|
|
80
|
-
) })),
|
|
80
|
+
) })), w0 = ({
|
|
81
81
|
color: e = "currentColor",
|
|
82
|
-
...
|
|
83
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
82
|
+
...o
|
|
83
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
84
84
|
"path",
|
|
85
85
|
{
|
|
86
86
|
d: "M15.429 14.854H.573a.572.572 0 100 1.146h14.852a.572.572 0 00.004-1.146zM.573 6.766h1.675v5.557h-.639a.572.572 0 100 1.146h12.784a.572.572 0 100-1.146h-.635V6.766h1.67a.568.568 0 00.541-.389.574.574 0 00-.196-.638L8.345.117a.565.565 0 00-.688 0L.23 5.739a.572.572 0 00.344 1.027zm2.817 0h2.314v5.557H3.39V6.766zm5.77 0v5.557H6.846V6.766H9.16zm3.456 5.553h-2.314V6.766h2.314v5.553zM8 1.288l5.724 4.336H2.277L8 1.288z",
|
|
87
87
|
fill: e
|
|
88
88
|
}
|
|
89
|
-
) })),
|
|
89
|
+
) })), _0 = ({
|
|
90
90
|
color: e = "currentColor",
|
|
91
|
-
...
|
|
92
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
91
|
+
...o
|
|
92
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
93
93
|
"path",
|
|
94
94
|
{
|
|
95
95
|
d: "M5.854 3.133a.426.426 0 010 .643L1.757 7.5h13.774c.26 0 .469.224.469.5s-.21.5-.469.5H1.757l4.097 3.724a.426.426 0 010 .643.536.536 0 01-.708 0l-5-4.546a.426.426 0 010-.642l5-4.546a.536.536 0 01.708 0z",
|
|
96
96
|
fill: e
|
|
97
97
|
}
|
|
98
|
-
) })),
|
|
98
|
+
) })), P0 = ({
|
|
99
99
|
color: e = "currentColor",
|
|
100
|
-
...
|
|
101
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
100
|
+
...o
|
|
101
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
102
102
|
"path",
|
|
103
103
|
{
|
|
104
104
|
clipRule: "evenodd",
|
|
@@ -106,124 +106,124 @@ const M = ({
|
|
|
106
106
|
fill: e,
|
|
107
107
|
fillRule: "evenodd"
|
|
108
108
|
}
|
|
109
|
-
) })),
|
|
109
|
+
) })), B0 = ({
|
|
110
110
|
color: e = "currentColor",
|
|
111
|
-
...
|
|
112
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
111
|
+
...o
|
|
112
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
113
113
|
"path",
|
|
114
114
|
{
|
|
115
115
|
d: "M11.5 0a.5.5 0 01.5.5V2h2.5A1.5 1.5 0 0116 3.5v11a1.5 1.5 0 01-1.5 1.5h-13A1.5 1.5 0 010 14.5v-11A1.5 1.5 0 011.5 2H4V.5a.5.5 0 011 0V2h6V.5a.5.5 0 01.5-.5zM15 6H1v8.5a.5.5 0 00.5.5h13a.5.5 0 00.5-.5V6zm-4.5 1a.5.5 0 01.5.5V10h2.5a.5.5 0 010 1H11v2.5a.5.5 0 01-1 0V11H6v2.5a.5.5 0 01-1 0V11H2.5a.5.5 0 010-1H5V7.5a.5.5 0 011 0V10h4V7.5a.5.5 0 01.5-.5zm4-4h-13a.5.5 0 00-.5.5V5h14V3.5a.5.5 0 00-.5-.5z",
|
|
116
116
|
fill: e
|
|
117
117
|
}
|
|
118
|
-
) })),
|
|
118
|
+
) })), z0 = ({
|
|
119
119
|
color: e = "currentColor",
|
|
120
|
-
...
|
|
121
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
120
|
+
...o
|
|
121
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
122
122
|
"path",
|
|
123
123
|
{
|
|
124
124
|
d: "M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm4.358 5.151a.5.5 0 00-.707-.01L6.858 9.803 4.35 7.363a.5.5 0 10-.698.718l2.858 2.777a.5.5 0 00.697 0l5.142-5a.5.5 0 00.01-.707z",
|
|
125
125
|
fill: e
|
|
126
126
|
}
|
|
127
|
-
) })),
|
|
127
|
+
) })), V0 = ({
|
|
128
128
|
color: e = "currentColor",
|
|
129
|
-
...
|
|
130
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
129
|
+
...o
|
|
130
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
131
131
|
"path",
|
|
132
132
|
{
|
|
133
133
|
d: "M2.68 5.201a.6.6 0 01.848-.011L8 9.543l4.472-4.353a.6.6 0 11.837.86l-4.89 4.76a.6.6 0 01-.838 0l-4.89-4.76a.6.6 0 01-.012-.849z",
|
|
134
134
|
fill: e
|
|
135
135
|
}
|
|
136
|
-
) })),
|
|
136
|
+
) })), $0 = ({
|
|
137
137
|
color: e = "currentColor",
|
|
138
|
-
...
|
|
139
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
138
|
+
...o
|
|
139
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
140
140
|
"path",
|
|
141
141
|
{
|
|
142
142
|
d: "M10.799 2.68a.6.6 0 01.011.848L6.457 8l4.353 4.472a.6.6 0 01-.86.837L5.19 8.42a.6.6 0 010-.838l4.76-4.89a.6.6 0 01.849-.012z",
|
|
143
143
|
fill: e
|
|
144
144
|
}
|
|
145
|
-
) })),
|
|
145
|
+
) })), G0 = ({
|
|
146
146
|
color: e = "currentColor",
|
|
147
|
-
...
|
|
148
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
147
|
+
...o
|
|
148
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
149
149
|
"path",
|
|
150
150
|
{
|
|
151
151
|
d: "M5.207 13.32a.6.6 0 01-.012-.848L9.55 8 5.195 3.528a.6.6 0 11.86-.837l4.76 4.89a.6.6 0 010 .838l-4.76 4.89a.6.6 0 01-.848.012z",
|
|
152
152
|
fill: e
|
|
153
153
|
}
|
|
154
|
-
) })),
|
|
154
|
+
) })), U0 = ({
|
|
155
155
|
color: e = "currentColor",
|
|
156
|
-
...
|
|
157
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
156
|
+
...o
|
|
157
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
158
158
|
"path",
|
|
159
159
|
{
|
|
160
160
|
d: "M13.79 2.21a.72.72 0 0 1 0 1.02L9.018 8l4.77 4.77a.72.72 0 1 1-1.018 1.02L8 9.018l-4.77 4.77a.72.72 0 1 1-1.02-1.018L6.982 8l-4.77-4.77A.72.72 0 0 1 3.23 2.21L8 6.982l4.77-4.77a.72.72 0 0 1 1.02 0Z",
|
|
161
161
|
fill: e
|
|
162
162
|
}
|
|
163
|
-
) })),
|
|
163
|
+
) })), W0 = ({
|
|
164
164
|
color: e = "currentColor",
|
|
165
|
-
...
|
|
166
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
165
|
+
...o
|
|
166
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
167
167
|
"path",
|
|
168
168
|
{
|
|
169
169
|
d: "M12.644.156l3.2 3.2a.533.533 0 010 .754L5.177 14.777a.534.534 0 01-.247.14L.663 15.984a.533.533 0 01-.647-.647l1.067-4.267a.534.534 0 01.14-.248L11.89.156a.533.533 0 01.754 0zM10.133 3.42l-8.051 8.052-.815 3.261 3.26-.815 8.052-8.052-2.446-2.446zm2.134-2.132l-1.38 1.378 2.446 2.446 1.38-1.379-2.446-2.445z",
|
|
170
170
|
fill: e
|
|
171
171
|
}
|
|
172
|
-
) })),
|
|
172
|
+
) })), Z0 = ({
|
|
173
173
|
color: e = "currentColor",
|
|
174
|
-
...
|
|
175
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
174
|
+
...o
|
|
175
|
+
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
176
176
|
"path",
|
|
177
177
|
{
|
|
178
178
|
d: "M1.5 1.933l5.4 6.72c.066.081.1.18.1.28v5.134h2V8.933c0-.1.036-.199.1-.28l5.4-6.72h-13zM6 9.09L.1 1.747C-.145 1.439.09 1 .5 1h15c.413 0 .648.439.4.747L10 9.089v5.444c0 .258-.223.467-.5.467h-3c-.275 0-.5-.209-.5-.467V9.09z",
|
|
179
179
|
fill: e
|
|
180
180
|
}
|
|
181
|
-
) })),
|
|
181
|
+
) })), K0 = ({
|
|
182
182
|
color: e = "currentColor",
|
|
183
|
-
...
|
|
184
|
-
}) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */
|
|
183
|
+
...o
|
|
184
|
+
}) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
185
185
|
"path",
|
|
186
186
|
{
|
|
187
187
|
d: "M1.317 2.317a4.5 4.5 0 016.364 0c.117.117.223.238.32.363.095-.124.2-.245.316-.362a4.5 4.5 0 016.364 6.364l-.004.004-6.328 6.172a.5.5 0 01-.698 0L1.317 8.682a4.5 4.5 0 010-6.365zm5.657.708a3.5 3.5 0 00-4.952 4.947L8 13.802l5.977-5.83a3.5 3.5 0 00-4.952-4.947c-.235.235-.42.51-.586.815a.5.5 0 01-.878 0 3.46 3.46 0 00-.587-.815z",
|
|
188
188
|
fill: e
|
|
189
189
|
}
|
|
190
|
-
) })),
|
|
190
|
+
) })), Y0 = ({
|
|
191
191
|
color: e = "currentColor",
|
|
192
|
-
...
|
|
193
|
-
}) => /* @__PURE__ */
|
|
194
|
-
/* @__PURE__ */
|
|
192
|
+
...o
|
|
193
|
+
}) => /* @__PURE__ */ x(f, { ...o, children: [
|
|
194
|
+
/* @__PURE__ */ a(
|
|
195
195
|
"path",
|
|
196
196
|
{
|
|
197
197
|
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",
|
|
198
198
|
fill: e
|
|
199
199
|
}
|
|
200
200
|
),
|
|
201
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ a(
|
|
202
202
|
"path",
|
|
203
203
|
{
|
|
204
204
|
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",
|
|
205
205
|
fill: e
|
|
206
206
|
}
|
|
207
207
|
)
|
|
208
|
-
] }),
|
|
208
|
+
] }), X0 = ({
|
|
209
209
|
color: e = "currentColor",
|
|
210
|
-
...
|
|
211
|
-
}) => /* @__PURE__ */
|
|
212
|
-
/* @__PURE__ */
|
|
210
|
+
...o
|
|
211
|
+
}) => /* @__PURE__ */ x(f, { ...o, children: [
|
|
212
|
+
/* @__PURE__ */ a(
|
|
213
213
|
"path",
|
|
214
214
|
{
|
|
215
215
|
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",
|
|
216
216
|
fill: e
|
|
217
217
|
}
|
|
218
218
|
),
|
|
219
|
-
/* @__PURE__ */
|
|
219
|
+
/* @__PURE__ */ a(
|
|
220
220
|
"path",
|
|
221
221
|
{
|
|
222
222
|
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",
|
|
223
223
|
fill: e
|
|
224
224
|
}
|
|
225
225
|
),
|
|
226
|
-
/* @__PURE__ */
|
|
226
|
+
/* @__PURE__ */ a(
|
|
227
227
|
"path",
|
|
228
228
|
{
|
|
229
229
|
clipRule: "evenodd",
|
|
@@ -232,7 +232,7 @@ const M = ({
|
|
|
232
232
|
fillRule: "evenodd"
|
|
233
233
|
}
|
|
234
234
|
),
|
|
235
|
-
/* @__PURE__ */
|
|
235
|
+
/* @__PURE__ */ a(
|
|
236
236
|
"path",
|
|
237
237
|
{
|
|
238
238
|
clipRule: "evenodd",
|
|
@@ -241,10 +241,10 @@ const M = ({
|
|
|
241
241
|
fillRule: "evenodd"
|
|
242
242
|
}
|
|
243
243
|
)
|
|
244
|
-
] }),
|
|
244
|
+
] }), j0 = ({
|
|
245
245
|
color: e = "currentColor",
|
|
246
|
-
...
|
|
247
|
-
}) => /* @__PURE__ */
|
|
246
|
+
...o
|
|
247
|
+
}) => /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
248
248
|
"path",
|
|
249
249
|
{
|
|
250
250
|
clipRule: "evenodd",
|
|
@@ -252,25 +252,25 @@ const M = ({
|
|
|
252
252
|
fill: e,
|
|
253
253
|
fillRule: "evenodd"
|
|
254
254
|
}
|
|
255
|
-
) }),
|
|
255
|
+
) }), Q0 = ({
|
|
256
256
|
color: e = "currentColor",
|
|
257
|
-
...
|
|
258
|
-
}) => /* @__PURE__ */
|
|
259
|
-
/* @__PURE__ */
|
|
257
|
+
...o
|
|
258
|
+
}) => /* @__PURE__ */ x(f, { ...o, children: [
|
|
259
|
+
/* @__PURE__ */ a(
|
|
260
260
|
"path",
|
|
261
261
|
{
|
|
262
262
|
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",
|
|
263
263
|
fill: e
|
|
264
264
|
}
|
|
265
265
|
),
|
|
266
|
-
/* @__PURE__ */
|
|
266
|
+
/* @__PURE__ */ a(
|
|
267
267
|
"path",
|
|
268
268
|
{
|
|
269
269
|
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",
|
|
270
270
|
fill: e
|
|
271
271
|
}
|
|
272
272
|
),
|
|
273
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ a(
|
|
274
274
|
"path",
|
|
275
275
|
{
|
|
276
276
|
clipRule: "evenodd",
|
|
@@ -280,12 +280,12 @@ const M = ({
|
|
|
280
280
|
}
|
|
281
281
|
)
|
|
282
282
|
] });
|
|
283
|
-
var g = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(g || {}),
|
|
284
|
-
const
|
|
283
|
+
var g = /* @__PURE__ */ ((e) => (e.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", e.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", e.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", e.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", e.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", e.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", e.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", e.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", e.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", e.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", e.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", e.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", e.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", e.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", e.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", e.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", e.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", e.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", e.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", e.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", e.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", e))(g || {}), Ue = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Ue || {});
|
|
284
|
+
const le = {
|
|
285
285
|
guid: g.Uncategorized,
|
|
286
286
|
colorName: "uncategorized",
|
|
287
287
|
icon: "category"
|
|
288
|
-
},
|
|
288
|
+
}, We = [
|
|
289
289
|
{
|
|
290
290
|
guid: g.AutoTransport,
|
|
291
291
|
colorName: "autoTransport",
|
|
@@ -386,56 +386,56 @@ const te = {
|
|
|
386
386
|
colorName: "travel",
|
|
387
387
|
icon: "airplane_ticket"
|
|
388
388
|
},
|
|
389
|
-
|
|
390
|
-
],
|
|
389
|
+
le
|
|
390
|
+
], Ze = 0.625, Ke = ({
|
|
391
391
|
categoryGuid: e,
|
|
392
|
-
icon_ratio:
|
|
392
|
+
icon_ratio: o = Ze,
|
|
393
393
|
size: i = 32,
|
|
394
|
-
sx:
|
|
395
|
-
variant:
|
|
394
|
+
sx: n = {},
|
|
395
|
+
variant: r = "filled"
|
|
396
396
|
}) => {
|
|
397
397
|
const d = H(), c = C.useMemo(
|
|
398
|
-
() =>
|
|
398
|
+
() => We.find((u) => u.guid === e) ?? le,
|
|
399
399
|
[e]
|
|
400
400
|
), l = d.palette.categories[c.colorName];
|
|
401
|
-
return /* @__PURE__ */
|
|
401
|
+
return /* @__PURE__ */ a(
|
|
402
402
|
k,
|
|
403
403
|
{
|
|
404
404
|
alignItems: "center",
|
|
405
405
|
bgcolor: () => {
|
|
406
406
|
let u = l;
|
|
407
|
-
return
|
|
407
|
+
return r === "twotone" && (u = `${u}20`), r === "transparent" || r === "basic" ? "transparent" : u;
|
|
408
408
|
},
|
|
409
409
|
borderRadius: 1,
|
|
410
410
|
color: () => {
|
|
411
|
-
const u =
|
|
412
|
-
return
|
|
411
|
+
const u = r === "filled" ? d.palette.common.white : l;
|
|
412
|
+
return r === "basic" ? d.palette.text.primary : u;
|
|
413
413
|
},
|
|
414
414
|
height: i,
|
|
415
415
|
justifyContent: "center",
|
|
416
|
-
sx: [...Array.isArray(
|
|
416
|
+
sx: [...Array.isArray(n) ? n : [n]],
|
|
417
417
|
width: i,
|
|
418
|
-
children: /* @__PURE__ */
|
|
418
|
+
children: /* @__PURE__ */ a(M, { name: c.icon, size: i * o })
|
|
419
419
|
}
|
|
420
420
|
);
|
|
421
|
-
},
|
|
421
|
+
}, Ye = ({
|
|
422
422
|
items: e,
|
|
423
|
-
onChange:
|
|
423
|
+
onChange: o,
|
|
424
424
|
isValid: i,
|
|
425
|
-
selected:
|
|
425
|
+
selected: n
|
|
426
426
|
}) => {
|
|
427
|
-
const
|
|
427
|
+
const r = H(), d = e?.map((c) => {
|
|
428
428
|
const l = c.getValue({ isValid: i });
|
|
429
429
|
return {
|
|
430
430
|
label: c.label,
|
|
431
431
|
onClick: () => {
|
|
432
|
-
|
|
432
|
+
o(l, "accept", c);
|
|
433
433
|
},
|
|
434
434
|
disabled: !i(l)
|
|
435
435
|
};
|
|
436
436
|
});
|
|
437
|
-
return /* @__PURE__ */
|
|
438
|
-
|
|
437
|
+
return /* @__PURE__ */ a(te, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(ke, { color: "primary", orientation: "vertical", value: n, children: d?.map((c) => /* @__PURE__ */ a(
|
|
438
|
+
Oe,
|
|
439
439
|
{
|
|
440
440
|
onClick: c.onClick,
|
|
441
441
|
sx: {
|
|
@@ -448,11 +448,11 @@ const te = {
|
|
|
448
448
|
boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
|
|
449
449
|
},
|
|
450
450
|
"&:hover": {
|
|
451
|
-
bgcolor:
|
|
452
|
-
borderTop: `1px solid ${
|
|
451
|
+
bgcolor: r.palette.action.hover,
|
|
452
|
+
borderTop: `1px solid ${r.palette.secondary.light}`
|
|
453
453
|
},
|
|
454
454
|
"&.Mui-selected": {
|
|
455
|
-
border: `2px solid ${
|
|
455
|
+
border: `2px solid ${r.palette.primary.main} !important`,
|
|
456
456
|
marginTop: "-2px !important",
|
|
457
457
|
color: "primary"
|
|
458
458
|
}
|
|
@@ -462,39 +462,39 @@ const te = {
|
|
|
462
462
|
},
|
|
463
463
|
c.label
|
|
464
464
|
)) }) });
|
|
465
|
-
},
|
|
465
|
+
}, q0 = ({
|
|
466
466
|
copy: e,
|
|
467
|
-
dateRange:
|
|
467
|
+
dateRange: o,
|
|
468
468
|
onRangeChanged: i,
|
|
469
|
-
selectedShortcut:
|
|
470
|
-
sx:
|
|
469
|
+
selectedShortcut: n = e.dateRangeThisMonth,
|
|
470
|
+
sx: r = {}
|
|
471
471
|
}) => {
|
|
472
|
-
const d = H(), c =
|
|
473
|
-
const t =
|
|
472
|
+
const d = H(), c = Ie(d.breakpoints.down("sm")), l = C.useMemo(() => {
|
|
473
|
+
const t = Ae(), u = Ee(t, 1), T = Se(t, 1);
|
|
474
474
|
return [
|
|
475
475
|
{
|
|
476
476
|
label: e.dateRangeThisMonth,
|
|
477
|
-
getValue: () => [
|
|
477
|
+
getValue: () => [Q(t), j(t)]
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
label: e.dateRangeLastMonth,
|
|
481
|
-
getValue: () => [
|
|
481
|
+
getValue: () => [Q(u), j(u)]
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
label: e.dateRangeLast30Days,
|
|
485
|
-
getValue: () => [
|
|
485
|
+
getValue: () => [J(t, 30), t]
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
label: e.dateRangeLast90Days,
|
|
489
|
-
getValue: () => [
|
|
489
|
+
getValue: () => [J(t, 90), t]
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
label: e.dateRangeYTD,
|
|
493
|
-
getValue: () => [
|
|
493
|
+
getValue: () => [q(t), t]
|
|
494
494
|
},
|
|
495
495
|
{
|
|
496
496
|
label: e.dateRangeLastYear,
|
|
497
|
-
getValue: () => [
|
|
497
|
+
getValue: () => [q(T), Me(T)]
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
label: e.dateRangeCustom,
|
|
@@ -505,8 +505,8 @@ const te = {
|
|
|
505
505
|
const T = u.shortcut;
|
|
506
506
|
i?.(t, T ? T.label : e.dateRangeCustom);
|
|
507
507
|
};
|
|
508
|
-
return /* @__PURE__ */
|
|
509
|
-
|
|
508
|
+
return /* @__PURE__ */ a(k, { gap: 16, m: 8, children: /* @__PURE__ */ a(ve, { dateAdapter: ye, children: /* @__PURE__ */ a(
|
|
509
|
+
He,
|
|
510
510
|
{
|
|
511
511
|
calendars: 1,
|
|
512
512
|
localeText: {
|
|
@@ -526,26 +526,26 @@ const te = {
|
|
|
526
526
|
}
|
|
527
527
|
},
|
|
528
528
|
slots: {
|
|
529
|
-
leftArrowIcon: () => /* @__PURE__ */
|
|
530
|
-
shortcuts: (t) => /* @__PURE__ */
|
|
531
|
-
rightArrowIcon: () => /* @__PURE__ */
|
|
529
|
+
leftArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_left", size: 28 }),
|
|
530
|
+
shortcuts: (t) => /* @__PURE__ */ a(Ye, { selected: n, ...t }),
|
|
531
|
+
rightArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_right", size: 28 })
|
|
532
532
|
},
|
|
533
|
-
sx: { ...
|
|
534
|
-
value:
|
|
533
|
+
sx: { ...r },
|
|
534
|
+
value: o
|
|
535
535
|
}
|
|
536
536
|
) }) });
|
|
537
|
-
},
|
|
538
|
-
return /* @__PURE__ */
|
|
539
|
-
}),
|
|
537
|
+
}, J0 = C.forwardRef(function(o, i) {
|
|
538
|
+
return /* @__PURE__ */ a(ie, { direction: "up", ref: i, ...o });
|
|
539
|
+
}), Xe = ({
|
|
540
540
|
hasSecondaryAction: e = !0,
|
|
541
|
-
isPrimaryDisabled:
|
|
541
|
+
isPrimaryDisabled: o,
|
|
542
542
|
onPrimaryAction: i,
|
|
543
|
-
onSecondaryAction:
|
|
544
|
-
primaryColor:
|
|
543
|
+
onSecondaryAction: n,
|
|
544
|
+
primaryColor: r = "primary",
|
|
545
545
|
primaryText: d = "Save",
|
|
546
546
|
secondaryColor: c = "primary",
|
|
547
547
|
secondaryText: l = "Cancel"
|
|
548
|
-
}) => /* @__PURE__ */
|
|
548
|
+
}) => /* @__PURE__ */ x(
|
|
549
549
|
k,
|
|
550
550
|
{
|
|
551
551
|
direction: "row",
|
|
@@ -553,20 +553,20 @@ const te = {
|
|
|
553
553
|
justifyContent: "flex-end",
|
|
554
554
|
sx: { bgcolor: "background.paper", width: "100%", p: 24 },
|
|
555
555
|
children: [
|
|
556
|
-
e && /* @__PURE__ */
|
|
556
|
+
e && /* @__PURE__ */ a(
|
|
557
557
|
V,
|
|
558
558
|
{
|
|
559
559
|
color: c,
|
|
560
|
-
onClick:
|
|
560
|
+
onClick: n,
|
|
561
561
|
variant: i ? "outlined" : "contained",
|
|
562
562
|
children: l
|
|
563
563
|
}
|
|
564
564
|
),
|
|
565
|
-
i && /* @__PURE__ */
|
|
565
|
+
i && /* @__PURE__ */ a(
|
|
566
566
|
V,
|
|
567
567
|
{
|
|
568
|
-
color:
|
|
569
|
-
disabled:
|
|
568
|
+
color: r,
|
|
569
|
+
disabled: o,
|
|
570
570
|
onClick: i,
|
|
571
571
|
variant: "contained",
|
|
572
572
|
children: d
|
|
@@ -574,12 +574,12 @@ const te = {
|
|
|
574
574
|
)
|
|
575
575
|
]
|
|
576
576
|
}
|
|
577
|
-
),
|
|
577
|
+
), F = ({
|
|
578
578
|
bold: e,
|
|
579
|
-
className:
|
|
579
|
+
className: o = "",
|
|
580
580
|
children: i,
|
|
581
|
-
color:
|
|
582
|
-
sx:
|
|
581
|
+
color: n,
|
|
582
|
+
sx: r = {},
|
|
583
583
|
truncate: d = !0,
|
|
584
584
|
uppercase: c,
|
|
585
585
|
...l
|
|
@@ -616,11 +616,11 @@ const te = {
|
|
|
616
616
|
l.variant = "caption";
|
|
617
617
|
break;
|
|
618
618
|
}
|
|
619
|
-
return /* @__PURE__ */
|
|
620
|
-
|
|
619
|
+
return /* @__PURE__ */ a(
|
|
620
|
+
Fe,
|
|
621
621
|
{
|
|
622
|
-
className: `mx-kmui-text ${
|
|
623
|
-
color:
|
|
622
|
+
className: `mx-kmui-text ${o}`,
|
|
623
|
+
color: n,
|
|
624
624
|
sx: [
|
|
625
625
|
e ? {
|
|
626
626
|
fontWeight: 600
|
|
@@ -633,23 +633,23 @@ const te = {
|
|
|
633
633
|
c ? {
|
|
634
634
|
textTransform: "uppercase"
|
|
635
635
|
} : {},
|
|
636
|
-
...Array.isArray(
|
|
636
|
+
...Array.isArray(r) ? r : [r]
|
|
637
637
|
],
|
|
638
638
|
...l,
|
|
639
639
|
children: i
|
|
640
640
|
}
|
|
641
641
|
);
|
|
642
|
-
},
|
|
643
|
-
|
|
642
|
+
}, je = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(F, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), eo = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(F, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), oo = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(F, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), ro = ({ className: e = "", children: o, truncate: i, ...n }) => /* @__PURE__ */ a(
|
|
643
|
+
F,
|
|
644
644
|
{
|
|
645
645
|
className: `mx-kmui-text p ${e}`,
|
|
646
646
|
component: "p",
|
|
647
647
|
truncate: i || !1,
|
|
648
648
|
variant: "body1",
|
|
649
|
-
...
|
|
650
|
-
children:
|
|
649
|
+
...n,
|
|
650
|
+
children: o
|
|
651
651
|
}
|
|
652
|
-
),
|
|
652
|
+
), to = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
|
|
653
653
|
k,
|
|
654
654
|
{
|
|
655
655
|
sx: {
|
|
@@ -660,119 +660,119 @@ const te = {
|
|
|
660
660
|
py: 14
|
|
661
661
|
},
|
|
662
662
|
children: [
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
/* @__PURE__ */
|
|
663
|
+
/* @__PURE__ */ a(je, { variant: "h3", children: e.title }),
|
|
664
|
+
/* @__PURE__ */ a(ae, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(Re, {}) })
|
|
665
665
|
]
|
|
666
666
|
}
|
|
667
|
-
),
|
|
667
|
+
), io = ({
|
|
668
668
|
className: e,
|
|
669
|
-
disableSave:
|
|
669
|
+
disableSave: o,
|
|
670
670
|
id: i,
|
|
671
|
-
isOpen:
|
|
672
|
-
onClose:
|
|
671
|
+
isOpen: n,
|
|
672
|
+
onClose: r,
|
|
673
673
|
onSave: d,
|
|
674
674
|
primaryText: c,
|
|
675
675
|
secondaryText: l,
|
|
676
676
|
children: s,
|
|
677
677
|
...t
|
|
678
|
-
}) => /* @__PURE__ */
|
|
679
|
-
|
|
678
|
+
}) => /* @__PURE__ */ x(
|
|
679
|
+
De,
|
|
680
680
|
{
|
|
681
681
|
anchor: "right",
|
|
682
682
|
className: `mx-kmui-drawer ${e}`,
|
|
683
683
|
id: i ?? void 0,
|
|
684
|
-
onClose:
|
|
685
|
-
open:
|
|
684
|
+
onClose: r,
|
|
685
|
+
open: n,
|
|
686
686
|
variant: "temporary",
|
|
687
687
|
...t,
|
|
688
688
|
children: [
|
|
689
689
|
s,
|
|
690
|
-
d && /* @__PURE__ */
|
|
691
|
-
|
|
690
|
+
d && /* @__PURE__ */ a(
|
|
691
|
+
Xe,
|
|
692
692
|
{
|
|
693
|
-
isPrimaryDisabled:
|
|
693
|
+
isPrimaryDisabled: o,
|
|
694
694
|
onPrimaryAction: d,
|
|
695
|
-
onSecondaryAction:
|
|
695
|
+
onSecondaryAction: r,
|
|
696
696
|
primaryText: c,
|
|
697
697
|
secondaryText: l
|
|
698
698
|
}
|
|
699
699
|
)
|
|
700
700
|
]
|
|
701
701
|
}
|
|
702
|
-
),
|
|
702
|
+
), ce = 32, G = "https://content.moneydesktop.com/storage/MD_Assets", Qe = `${G}/serenity/default_institution_logo.png`, ao = ({
|
|
703
703
|
alt: e,
|
|
704
|
-
institutionGuid:
|
|
704
|
+
institutionGuid: o,
|
|
705
705
|
logoUrl: i,
|
|
706
|
-
size:
|
|
707
|
-
...
|
|
708
|
-
}) => /* @__PURE__ */
|
|
706
|
+
size: n = ce,
|
|
707
|
+
...r
|
|
708
|
+
}) => /* @__PURE__ */ a(
|
|
709
709
|
"img",
|
|
710
710
|
{
|
|
711
711
|
alt: e,
|
|
712
|
-
height:
|
|
713
|
-
onError: (d) => d.target.src =
|
|
714
|
-
src: i || `${
|
|
712
|
+
height: n,
|
|
713
|
+
onError: (d) => d.target.src = Qe,
|
|
714
|
+
src: i || `${G}/Ipad%20Logos/100x100/${o}_100x100.png`,
|
|
715
715
|
style: {
|
|
716
716
|
borderRadius: 4
|
|
717
717
|
},
|
|
718
|
-
width:
|
|
719
|
-
...
|
|
718
|
+
width: n,
|
|
719
|
+
...r
|
|
720
720
|
}
|
|
721
|
-
),
|
|
721
|
+
), no = ({
|
|
722
722
|
alt: e = "",
|
|
723
|
-
categoryGuid:
|
|
723
|
+
categoryGuid: o,
|
|
724
724
|
merchantGuid: i,
|
|
725
|
-
size:
|
|
726
|
-
...
|
|
725
|
+
size: n = ce,
|
|
726
|
+
...r
|
|
727
727
|
}) => {
|
|
728
728
|
const [d, c] = C.useState(!1), l = H();
|
|
729
|
-
return /* @__PURE__ */
|
|
730
|
-
i && !d && /* @__PURE__ */
|
|
729
|
+
return /* @__PURE__ */ x(te, { display: "inline-block", position: "relative", ...r, children: [
|
|
730
|
+
i && !d && /* @__PURE__ */ a(
|
|
731
731
|
"img",
|
|
732
732
|
{
|
|
733
733
|
alt: e,
|
|
734
734
|
"aria-hidden": !e,
|
|
735
|
-
height:
|
|
735
|
+
height: n,
|
|
736
736
|
onError: () => c(!0),
|
|
737
|
-
src: `${
|
|
737
|
+
src: `${G}/merchant_logos/${i}.png`,
|
|
738
738
|
style: {
|
|
739
739
|
backgroundColor: l.palette.common.white,
|
|
740
740
|
borderRadius: 4,
|
|
741
741
|
boxSizing: "border-box",
|
|
742
742
|
position: "absolute"
|
|
743
743
|
},
|
|
744
|
-
width:
|
|
744
|
+
width: n
|
|
745
745
|
}
|
|
746
746
|
),
|
|
747
|
-
/* @__PURE__ */
|
|
747
|
+
/* @__PURE__ */ a(Ke, { categoryGuid: o, size: n })
|
|
748
748
|
] });
|
|
749
|
-
},
|
|
749
|
+
}, lo = ({
|
|
750
750
|
disabled: e = !1,
|
|
751
|
-
label:
|
|
751
|
+
label: o = "",
|
|
752
752
|
shrink: i = !0,
|
|
753
|
-
variant:
|
|
754
|
-
...
|
|
755
|
-
}) => /* @__PURE__ */
|
|
756
|
-
|
|
753
|
+
variant: n = "outlined",
|
|
754
|
+
...r
|
|
755
|
+
}) => /* @__PURE__ */ a(
|
|
756
|
+
Le,
|
|
757
757
|
{
|
|
758
758
|
InputLabelProps: {
|
|
759
759
|
shrink: i
|
|
760
760
|
},
|
|
761
761
|
disabled: e,
|
|
762
|
-
label:
|
|
763
|
-
variant:
|
|
764
|
-
...
|
|
762
|
+
label: o,
|
|
763
|
+
variant: n,
|
|
764
|
+
...r
|
|
765
765
|
}
|
|
766
766
|
);
|
|
767
|
-
function
|
|
768
|
-
return /* @__PURE__ */
|
|
767
|
+
function qe(e) {
|
|
768
|
+
return /* @__PURE__ */ a(ie, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
769
769
|
}
|
|
770
|
-
const
|
|
770
|
+
const co = ({
|
|
771
771
|
open: e,
|
|
772
|
-
handleClose:
|
|
772
|
+
handleClose: o,
|
|
773
773
|
message: i,
|
|
774
|
-
autoHideDuration:
|
|
775
|
-
severity:
|
|
774
|
+
autoHideDuration: n = 3e3,
|
|
775
|
+
severity: r = "success",
|
|
776
776
|
snackbarSx: d,
|
|
777
777
|
showAction: c = !1,
|
|
778
778
|
showClose: l = !1,
|
|
@@ -780,7 +780,7 @@ const tr = ({
|
|
|
780
780
|
onActionClick: t,
|
|
781
781
|
multiLine: u = !1
|
|
782
782
|
}) => {
|
|
783
|
-
const T = H(),
|
|
783
|
+
const T = H(), B = /* @__PURE__ */ x(
|
|
784
784
|
k,
|
|
785
785
|
{
|
|
786
786
|
alignItems: u ? "flex-end" : "center",
|
|
@@ -790,11 +790,11 @@ const tr = ({
|
|
|
790
790
|
u && c && l ? "space-between" : "flex-end"
|
|
791
791
|
),
|
|
792
792
|
children: [
|
|
793
|
-
c && /* @__PURE__ */
|
|
793
|
+
c && /* @__PURE__ */ a(
|
|
794
794
|
V,
|
|
795
795
|
{
|
|
796
796
|
color: "inherit",
|
|
797
|
-
onClick: t ||
|
|
797
|
+
onClick: t || o,
|
|
798
798
|
size: "small",
|
|
799
799
|
sx: {
|
|
800
800
|
color: T.palette.success.contrastText,
|
|
@@ -803,36 +803,36 @@ const tr = ({
|
|
|
803
803
|
children: s
|
|
804
804
|
}
|
|
805
805
|
),
|
|
806
|
-
l && /* @__PURE__ */
|
|
807
|
-
|
|
806
|
+
l && /* @__PURE__ */ a(
|
|
807
|
+
ae,
|
|
808
808
|
{
|
|
809
809
|
"aria-label": "close",
|
|
810
810
|
color: "inherit",
|
|
811
|
-
onClick:
|
|
811
|
+
onClick: o,
|
|
812
812
|
sx: { height: 44, width: 44 },
|
|
813
|
-
children: /* @__PURE__ */
|
|
813
|
+
children: /* @__PURE__ */ a(M, { fill: !0, name: "close", size: 24, weight: 400 })
|
|
814
814
|
}
|
|
815
815
|
)
|
|
816
816
|
]
|
|
817
817
|
}
|
|
818
818
|
);
|
|
819
|
-
return /* @__PURE__ */
|
|
820
|
-
|
|
819
|
+
return /* @__PURE__ */ a(
|
|
820
|
+
Ne,
|
|
821
821
|
{
|
|
822
|
-
TransitionComponent:
|
|
822
|
+
TransitionComponent: qe,
|
|
823
823
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
824
|
-
autoHideDuration:
|
|
825
|
-
onClose:
|
|
824
|
+
autoHideDuration: n,
|
|
825
|
+
onClose: o,
|
|
826
826
|
open: e,
|
|
827
827
|
sx: {
|
|
828
828
|
...d,
|
|
829
829
|
width: u ? 400 : 325
|
|
830
830
|
},
|
|
831
|
-
children: /* @__PURE__ */
|
|
832
|
-
|
|
831
|
+
children: /* @__PURE__ */ a(
|
|
832
|
+
we,
|
|
833
833
|
{
|
|
834
|
-
action:
|
|
835
|
-
severity:
|
|
834
|
+
action: B,
|
|
835
|
+
severity: r,
|
|
836
836
|
sx: {
|
|
837
837
|
display: "flex",
|
|
838
838
|
alignItems: "stretch",
|
|
@@ -853,8 +853,8 @@ const tr = ({
|
|
|
853
853
|
}
|
|
854
854
|
},
|
|
855
855
|
variant: "filled",
|
|
856
|
-
children: /* @__PURE__ */
|
|
857
|
-
|
|
856
|
+
children: /* @__PURE__ */ a(
|
|
857
|
+
F,
|
|
858
858
|
{
|
|
859
859
|
sx: {
|
|
860
860
|
lineHeight: T.typography.body1.lineHeight,
|
|
@@ -870,37 +870,37 @@ const tr = ({
|
|
|
870
870
|
)
|
|
871
871
|
}
|
|
872
872
|
);
|
|
873
|
-
},
|
|
873
|
+
}, O = {
|
|
874
874
|
REACT: "react",
|
|
875
875
|
REACT_NATIVE: "react_native",
|
|
876
876
|
NATIVE: "native"
|
|
877
|
-
},
|
|
877
|
+
}, _ = {
|
|
878
878
|
LIGHT: "light",
|
|
879
879
|
DARK: "dark"
|
|
880
|
-
},
|
|
881
|
-
|
|
882
|
-
),
|
|
880
|
+
}, se = C.createContext(ne), de = C.createContext(
|
|
881
|
+
$(_.LIGHT, O.REACT_NATIVE)
|
|
882
|
+
), so = ({
|
|
883
883
|
children: e,
|
|
884
|
-
target:
|
|
885
|
-
theme: i =
|
|
886
|
-
tokenOverrides:
|
|
884
|
+
target: o = O.REACT,
|
|
885
|
+
theme: i = _.LIGHT,
|
|
886
|
+
tokenOverrides: n
|
|
887
887
|
}) => {
|
|
888
|
-
const [
|
|
889
|
-
...
|
|
890
|
-
}), [
|
|
888
|
+
const [r, d] = C.useState(i === _.LIGHT ? ne : _e), c = C.useMemo(() => ({
|
|
889
|
+
...n
|
|
890
|
+
}), [n]);
|
|
891
891
|
return C.useEffect(() => {
|
|
892
|
-
const l =
|
|
892
|
+
const l = $(i, o, { ...c });
|
|
893
893
|
d(l);
|
|
894
|
-
}, [i,
|
|
895
|
-
},
|
|
896
|
-
const i = e ===
|
|
897
|
-
return
|
|
898
|
-
},
|
|
899
|
-
component: e =
|
|
900
|
-
variant:
|
|
894
|
+
}, [i, o, c]), o === O.REACT ? /* @__PURE__ */ a(se.Provider, { value: r, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(de.Provider, { value: r, children: e }));
|
|
895
|
+
}, uo = (e = O.REACT, o = {}) => {
|
|
896
|
+
const i = e === O.REACT ? se : de, n = C.useContext(i);
|
|
897
|
+
return n || $(_.LIGHT, e, { ...o });
|
|
898
|
+
}, po = ({
|
|
899
|
+
component: e = L,
|
|
900
|
+
variant: o = "outlined",
|
|
901
901
|
selected: i,
|
|
902
|
-
onChange:
|
|
903
|
-
headline:
|
|
902
|
+
onChange: n,
|
|
903
|
+
headline: r,
|
|
904
904
|
message: d,
|
|
905
905
|
name: c,
|
|
906
906
|
value: l,
|
|
@@ -908,27 +908,25 @@ const tr = ({
|
|
|
908
908
|
error: t = !1,
|
|
909
909
|
icon: u = !1,
|
|
910
910
|
sx: T = {},
|
|
911
|
-
...
|
|
911
|
+
...B
|
|
912
912
|
}) => {
|
|
913
|
-
const m = H(),
|
|
914
|
-
if (
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
return /* @__PURE__ */ R(
|
|
928
|
-
ke,
|
|
913
|
+
const m = H(), ue = Ce(), { id: pe, ...U } = B || {}, D = pe || `selection-box-${ue}`, W = `${D}-headline`, z = `${D}-message`, Z = r ? `${W} ${z}` : z, he = (Y) => {
|
|
914
|
+
if (s || !n) return;
|
|
915
|
+
const X = e === L ? !0 : !i, Te = {
|
|
916
|
+
...Y,
|
|
917
|
+
target: {
|
|
918
|
+
...Y.target,
|
|
919
|
+
checked: X,
|
|
920
|
+
value: l
|
|
921
|
+
}
|
|
922
|
+
};
|
|
923
|
+
n(Te, X);
|
|
924
|
+
}, ge = () => m.palette.background.paper, K = () => t ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : s ? i ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : void 0 : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : void 0, fe = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.1), me = () => s || t ? K() : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : void 0, be = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
|
|
925
|
+
return /* @__PURE__ */ x(
|
|
926
|
+
Pe,
|
|
929
927
|
{
|
|
930
|
-
elevation:
|
|
931
|
-
onClick:
|
|
928
|
+
elevation: o === "elevation" ? 1 : 0,
|
|
929
|
+
onClick: he,
|
|
932
930
|
sx: {
|
|
933
931
|
display: "flex",
|
|
934
932
|
padding: "6px 16px",
|
|
@@ -938,50 +936,61 @@ const tr = ({
|
|
|
938
936
|
mb: 16,
|
|
939
937
|
cursor: s ? "not-allowed" : "pointer",
|
|
940
938
|
opacity: s ? 0.6 : 1,
|
|
941
|
-
backgroundColor:
|
|
942
|
-
border:
|
|
943
|
-
|
|
939
|
+
backgroundColor: ge(),
|
|
940
|
+
border: "none",
|
|
941
|
+
boxShadow: K(),
|
|
942
|
+
boxSizing: "border-box",
|
|
943
|
+
transition: m.transitions.create(["background-color", "box-shadow"], {
|
|
944
944
|
duration: m.transitions.duration.short
|
|
945
945
|
}),
|
|
946
946
|
"&:hover": {
|
|
947
|
-
|
|
948
|
-
|
|
947
|
+
backgroundColor: fe(),
|
|
948
|
+
boxShadow: me()
|
|
949
949
|
},
|
|
950
950
|
"&:active": {
|
|
951
|
-
|
|
952
|
-
backgroundColor: pe()
|
|
951
|
+
backgroundColor: be()
|
|
953
952
|
},
|
|
954
|
-
"&:focus-
|
|
955
|
-
outline: `2px solid ${
|
|
953
|
+
"&:focus-within": {
|
|
954
|
+
outline: `2px solid ${m.palette.info.main}`,
|
|
956
955
|
outlineOffset: "2px"
|
|
957
956
|
},
|
|
958
957
|
...T
|
|
959
958
|
},
|
|
960
|
-
|
|
961
|
-
variant: r,
|
|
959
|
+
variant: o,
|
|
962
960
|
children: [
|
|
963
|
-
u && /* @__PURE__ */
|
|
964
|
-
|
|
961
|
+
u && /* @__PURE__ */ a(
|
|
962
|
+
ee,
|
|
965
963
|
{
|
|
966
964
|
sx: {
|
|
967
|
-
mr:
|
|
965
|
+
mr: 12,
|
|
968
966
|
mt: "8px",
|
|
969
967
|
flexShrink: 0
|
|
970
968
|
},
|
|
971
969
|
children: u
|
|
972
970
|
}
|
|
973
971
|
),
|
|
974
|
-
/* @__PURE__ */
|
|
975
|
-
|
|
976
|
-
|
|
972
|
+
/* @__PURE__ */ x(ee, { sx: { flex: 1, minWidth: 0, py: "8px", cursor: "inherit" }, children: [
|
|
973
|
+
r && /* @__PURE__ */ a(
|
|
974
|
+
oe,
|
|
975
|
+
{
|
|
976
|
+
fontWeight: 600,
|
|
977
|
+
id: W,
|
|
978
|
+
sx: { lineHeight: "24px", pb: "4px" },
|
|
979
|
+
variant: "body1",
|
|
980
|
+
children: r
|
|
981
|
+
}
|
|
982
|
+
),
|
|
983
|
+
/* @__PURE__ */ a(oe, { id: z, sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
|
|
977
984
|
] }),
|
|
978
|
-
e ===
|
|
979
|
-
|
|
985
|
+
e === L ? /* @__PURE__ */ a(
|
|
986
|
+
L,
|
|
980
987
|
{
|
|
988
|
+
"aria-labelledby": Z,
|
|
981
989
|
checked: i,
|
|
982
990
|
disabled: s,
|
|
991
|
+
id: D,
|
|
983
992
|
name: c,
|
|
984
|
-
onChange:
|
|
993
|
+
onChange: n,
|
|
985
994
|
sx: {
|
|
986
995
|
p: 0,
|
|
987
996
|
ml: 16,
|
|
@@ -992,15 +1001,17 @@ const tr = ({
|
|
|
992
1001
|
}
|
|
993
1002
|
},
|
|
994
1003
|
value: l,
|
|
995
|
-
...
|
|
1004
|
+
...U
|
|
996
1005
|
}
|
|
997
|
-
) : /* @__PURE__ */
|
|
998
|
-
|
|
1006
|
+
) : /* @__PURE__ */ a(
|
|
1007
|
+
Be,
|
|
999
1008
|
{
|
|
1009
|
+
"aria-labelledby": Z,
|
|
1000
1010
|
checked: i,
|
|
1001
1011
|
disabled: s,
|
|
1012
|
+
id: D,
|
|
1002
1013
|
name: c,
|
|
1003
|
-
onChange:
|
|
1014
|
+
onChange: n,
|
|
1004
1015
|
sx: {
|
|
1005
1016
|
p: 0,
|
|
1006
1017
|
ml: 16,
|
|
@@ -1011,7 +1022,7 @@ const tr = ({
|
|
|
1011
1022
|
}
|
|
1012
1023
|
},
|
|
1013
1024
|
value: l,
|
|
1014
|
-
...
|
|
1025
|
+
...U
|
|
1015
1026
|
}
|
|
1016
1027
|
)
|
|
1017
1028
|
]
|
|
@@ -1019,18 +1030,18 @@ const tr = ({
|
|
|
1019
1030
|
);
|
|
1020
1031
|
}, v = {
|
|
1021
1032
|
LIGHT: "light"
|
|
1022
|
-
},
|
|
1023
|
-
50:
|
|
1024
|
-
100:
|
|
1025
|
-
200:
|
|
1026
|
-
300:
|
|
1027
|
-
400:
|
|
1033
|
+
}, A = (e) => ({
|
|
1034
|
+
50: y(e, 0.95),
|
|
1035
|
+
100: y(e, 0.85),
|
|
1036
|
+
200: y(e, 0.7),
|
|
1037
|
+
300: y(e, 0.55),
|
|
1038
|
+
400: y(e, 0.3),
|
|
1028
1039
|
500: e,
|
|
1029
|
-
600:
|
|
1030
|
-
700:
|
|
1031
|
-
800:
|
|
1032
|
-
900:
|
|
1033
|
-
}),
|
|
1040
|
+
600: N(e, 0.3),
|
|
1041
|
+
700: N(e, 0.5),
|
|
1042
|
+
800: N(e, 0.65),
|
|
1043
|
+
900: N(e, 0.75)
|
|
1044
|
+
}), R = "#FFFFFF", w = "#000000", Je = "#F9F9F9", e0 = "#1A1A1A", E = {
|
|
1034
1045
|
PRIMARY: "#2C64EF",
|
|
1035
1046
|
SECONDARY: "#808080",
|
|
1036
1047
|
INFO: "#2C64EF",
|
|
@@ -1038,7 +1049,7 @@ const tr = ({
|
|
|
1038
1049
|
WARNING: "#FF7B00",
|
|
1039
1050
|
ERROR: "#E32727",
|
|
1040
1051
|
GREY: "#808080"
|
|
1041
|
-
},
|
|
1052
|
+
}, S = {
|
|
1042
1053
|
CHART1: "#74E4DA",
|
|
1043
1054
|
CHART2: "#ED64A4",
|
|
1044
1055
|
CHART3: "#F3DC46",
|
|
@@ -1099,8 +1110,8 @@ const tr = ({
|
|
|
1099
1110
|
TRANSFER: "#75C7B7",
|
|
1100
1111
|
TRAVEL: "#76ACF7",
|
|
1101
1112
|
UNCATEGORIZED: "#BCC6D4"
|
|
1102
|
-
},
|
|
1103
|
-
const i =
|
|
1113
|
+
}, o0 = (e, o) => {
|
|
1114
|
+
const i = A(o?.primary || E.PRIMARY), n = A(o?.secondary || E.SECONDARY), r = A(o?.error || E.ERROR), d = A(o?.warning || E.WARNING), c = A(o?.info || E.INFO), l = A(o?.success || E.SUCCESS), s = A(o?.grey || E.GREY), t = e === v.LIGHT;
|
|
1104
1115
|
return {
|
|
1105
1116
|
mode: e,
|
|
1106
1117
|
// DEPRECATED: Use grey instead
|
|
@@ -1114,8 +1125,8 @@ const tr = ({
|
|
|
1114
1125
|
darker: s[500]
|
|
1115
1126
|
},
|
|
1116
1127
|
common: {
|
|
1117
|
-
white:
|
|
1118
|
-
black:
|
|
1128
|
+
white: R,
|
|
1129
|
+
black: w
|
|
1119
1130
|
},
|
|
1120
1131
|
primary: {
|
|
1121
1132
|
...i,
|
|
@@ -1128,14 +1139,14 @@ const tr = ({
|
|
|
1128
1139
|
darker: t ? i[900] : i[100]
|
|
1129
1140
|
},
|
|
1130
1141
|
secondary: {
|
|
1131
|
-
...
|
|
1142
|
+
...n,
|
|
1132
1143
|
/* DEPRECATED: Use light instead */
|
|
1133
|
-
lighter: t ?
|
|
1134
|
-
light: t ?
|
|
1135
|
-
main: t ?
|
|
1136
|
-
dark: t ?
|
|
1144
|
+
lighter: t ? n[100] : n[800],
|
|
1145
|
+
light: t ? n[300] : n[600],
|
|
1146
|
+
main: t ? n[500] : n[400],
|
|
1147
|
+
dark: t ? n[700] : n[200],
|
|
1137
1148
|
/* DEPRECATED: Use dark instead */
|
|
1138
|
-
darker: t ?
|
|
1149
|
+
darker: t ? n[900] : n[100]
|
|
1139
1150
|
},
|
|
1140
1151
|
neutral: {
|
|
1141
1152
|
...s,
|
|
@@ -1146,22 +1157,22 @@ const tr = ({
|
|
|
1146
1157
|
dark: t ? s[700] : s[200],
|
|
1147
1158
|
/* DEPRECATED: Use dark instead */
|
|
1148
1159
|
darker: t ? s[900] : s[100],
|
|
1149
|
-
contrastText:
|
|
1160
|
+
contrastText: ze(t ? s[700] : s[400], "#fff") > 4.5 ? R : s[900]
|
|
1150
1161
|
},
|
|
1151
1162
|
text: {
|
|
1152
|
-
primary: t ? s[900] :
|
|
1153
|
-
secondary: t ? s[600] : b(
|
|
1154
|
-
disabled: t ? s[500] : b(
|
|
1163
|
+
primary: t ? s[900] : R,
|
|
1164
|
+
secondary: t ? s[600] : b(R, 0.7),
|
|
1165
|
+
disabled: t ? s[500] : b(R, 0.38)
|
|
1155
1166
|
},
|
|
1156
1167
|
error: {
|
|
1157
|
-
...
|
|
1168
|
+
...r,
|
|
1158
1169
|
/* DEPRECATED: Use light instead */
|
|
1159
|
-
lighter: t ?
|
|
1160
|
-
light: t ?
|
|
1161
|
-
main: t ?
|
|
1162
|
-
dark: t ?
|
|
1170
|
+
lighter: t ? r[100] : r[800],
|
|
1171
|
+
light: t ? r[300] : r[600],
|
|
1172
|
+
main: t ? r[500] : r[400],
|
|
1173
|
+
dark: t ? r[700] : r[200],
|
|
1163
1174
|
/* DEPRECATED: Use light instead */
|
|
1164
|
-
darker: t ?
|
|
1175
|
+
darker: t ? r[900] : r[100]
|
|
1165
1176
|
},
|
|
1166
1177
|
warning: {
|
|
1167
1178
|
...d,
|
|
@@ -1195,18 +1206,18 @@ const tr = ({
|
|
|
1195
1206
|
},
|
|
1196
1207
|
grey: s,
|
|
1197
1208
|
action: {
|
|
1198
|
-
active: t ? b(
|
|
1209
|
+
active: t ? b(w, 0.56) : b(R, 0.56),
|
|
1199
1210
|
hoverOpacity: t ? 0.1 : 0.2,
|
|
1200
1211
|
selectedOpacity: t ? 0.16 : 0.25,
|
|
1201
1212
|
focusOpacity: 0.3
|
|
1202
1213
|
},
|
|
1203
1214
|
background: {
|
|
1204
|
-
default: t ?
|
|
1205
|
-
paper: t ?
|
|
1215
|
+
default: t ? o?.background?.default?.light || Je : o?.background?.default?.dark || e0,
|
|
1216
|
+
paper: t ? o?.background?.paper?.light || R : o?.background?.paper?.dark || w,
|
|
1206
1217
|
highlight: t ? s[200] : s[600],
|
|
1207
1218
|
highlightPrimary: t ? i[100] : i[500]
|
|
1208
1219
|
},
|
|
1209
|
-
divider: t ? b(
|
|
1220
|
+
divider: t ? b(w, 0.12) : b(R, 0.24),
|
|
1210
1221
|
categories: {
|
|
1211
1222
|
autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1212
1223
|
billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
@@ -1232,13 +1243,13 @@ const tr = ({
|
|
|
1232
1243
|
uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
|
|
1233
1244
|
},
|
|
1234
1245
|
chart: {
|
|
1235
|
-
chart1:
|
|
1236
|
-
chart2:
|
|
1237
|
-
chart3:
|
|
1238
|
-
chart4:
|
|
1239
|
-
chart5:
|
|
1240
|
-
chart6:
|
|
1241
|
-
chart7:
|
|
1246
|
+
chart1: S.CHART1,
|
|
1247
|
+
chart2: S.CHART2,
|
|
1248
|
+
chart3: S.CHART3,
|
|
1249
|
+
chart4: S.CHART4,
|
|
1250
|
+
chart5: S.CHART5,
|
|
1251
|
+
chart6: S.CHART6,
|
|
1252
|
+
chart7: S.CHART7
|
|
1242
1253
|
},
|
|
1243
1254
|
chartMono: {
|
|
1244
1255
|
chartMono1: I.CHART_MONO1,
|
|
@@ -1249,88 +1260,88 @@ const tr = ({
|
|
|
1249
1260
|
chartMono6: I.CHART_MONO6
|
|
1250
1261
|
}
|
|
1251
1262
|
};
|
|
1252
|
-
},
|
|
1253
|
-
const
|
|
1263
|
+
}, r0 = "Inter, Helvetica, Arial, sans-serif", t0 = (e) => {
|
|
1264
|
+
const o = e?.fontFamily || r0;
|
|
1254
1265
|
return {
|
|
1255
|
-
fontFamily:
|
|
1266
|
+
fontFamily: o,
|
|
1256
1267
|
fontSize: 15,
|
|
1257
1268
|
Body: {
|
|
1258
1269
|
// DEPRECATED: Use body1 instead
|
|
1259
|
-
fontFamily:
|
|
1270
|
+
fontFamily: o,
|
|
1260
1271
|
fontSize: 15,
|
|
1261
1272
|
lineHeight: "20px"
|
|
1262
1273
|
},
|
|
1263
1274
|
body1: {
|
|
1264
|
-
fontFamily:
|
|
1275
|
+
fontFamily: o,
|
|
1265
1276
|
fontSize: 15,
|
|
1266
1277
|
lineHeight: "20px"
|
|
1267
1278
|
},
|
|
1268
1279
|
Small: {
|
|
1269
1280
|
// DEPRECATED: Use body2 instead
|
|
1270
|
-
fontFamily:
|
|
1281
|
+
fontFamily: o,
|
|
1271
1282
|
fontSize: 15,
|
|
1272
1283
|
lineHeight: "20px"
|
|
1273
1284
|
},
|
|
1274
1285
|
body2: {
|
|
1275
|
-
fontFamily:
|
|
1286
|
+
fontFamily: o,
|
|
1276
1287
|
fontSize: 13,
|
|
1277
1288
|
lineHeight: "16px"
|
|
1278
1289
|
},
|
|
1279
1290
|
Button: {
|
|
1280
1291
|
// DEPRECATED: Use button instead
|
|
1281
|
-
fontFamily:
|
|
1292
|
+
fontFamily: o,
|
|
1282
1293
|
fontSize: 15
|
|
1283
1294
|
},
|
|
1284
1295
|
button: {
|
|
1285
|
-
fontFamily:
|
|
1296
|
+
fontFamily: o,
|
|
1286
1297
|
fontSize: 15
|
|
1287
1298
|
},
|
|
1288
1299
|
XSmall: {
|
|
1289
1300
|
// DEPRECATED: Use caption instead
|
|
1290
|
-
fontFamily:
|
|
1301
|
+
fontFamily: o,
|
|
1291
1302
|
fontSize: 11,
|
|
1292
1303
|
lineHeight: "16px"
|
|
1293
1304
|
},
|
|
1294
1305
|
caption: {
|
|
1295
|
-
fontFamily:
|
|
1306
|
+
fontFamily: o,
|
|
1296
1307
|
fontSize: 11,
|
|
1297
1308
|
lineHeight: "16px"
|
|
1298
1309
|
},
|
|
1299
1310
|
H1: {
|
|
1300
1311
|
// DEPRECATED: Use h1 instead
|
|
1301
|
-
fontFamily:
|
|
1312
|
+
fontFamily: o,
|
|
1302
1313
|
fontWeight: 700,
|
|
1303
1314
|
fontSize: 31,
|
|
1304
1315
|
lineHeight: "40px"
|
|
1305
1316
|
},
|
|
1306
1317
|
h1: {
|
|
1307
|
-
fontFamily:
|
|
1318
|
+
fontFamily: o,
|
|
1308
1319
|
fontWeight: 700,
|
|
1309
1320
|
fontSize: 31,
|
|
1310
1321
|
lineHeight: "40px"
|
|
1311
1322
|
},
|
|
1312
1323
|
H2: {
|
|
1313
1324
|
// DEPRECATED: Use h2 instead
|
|
1314
|
-
fontFamily:
|
|
1325
|
+
fontFamily: o,
|
|
1315
1326
|
fontWeight: 700,
|
|
1316
1327
|
fontSize: 23,
|
|
1317
1328
|
lineHeight: "32px"
|
|
1318
1329
|
},
|
|
1319
1330
|
h2: {
|
|
1320
|
-
fontFamily:
|
|
1331
|
+
fontFamily: o,
|
|
1321
1332
|
fontWeight: 700,
|
|
1322
1333
|
fontSize: 23,
|
|
1323
1334
|
lineHeight: "32px"
|
|
1324
1335
|
},
|
|
1325
1336
|
H3: {
|
|
1326
1337
|
// DEPRECATED: Use h3 instead
|
|
1327
|
-
fontFamily:
|
|
1338
|
+
fontFamily: o,
|
|
1328
1339
|
fontWeight: 700,
|
|
1329
1340
|
fontSize: 18,
|
|
1330
1341
|
lineHeight: "24px"
|
|
1331
1342
|
},
|
|
1332
1343
|
h3: {
|
|
1333
|
-
fontFamily:
|
|
1344
|
+
fontFamily: o,
|
|
1334
1345
|
fontWeight: 700,
|
|
1335
1346
|
fontSize: 18,
|
|
1336
1347
|
lineHeight: "24px"
|
|
@@ -1349,50 +1360,50 @@ const tr = ({
|
|
|
1349
1360
|
// },
|
|
1350
1361
|
Paragraph: {
|
|
1351
1362
|
// DEPRECATED: Use subtitle1 instead
|
|
1352
|
-
fontFamily:
|
|
1363
|
+
fontFamily: o,
|
|
1353
1364
|
fontSize: 15,
|
|
1354
1365
|
lineHeight: "24px"
|
|
1355
1366
|
},
|
|
1356
1367
|
subtitle1: {
|
|
1357
|
-
fontFamily:
|
|
1368
|
+
fontFamily: o,
|
|
1358
1369
|
fontSize: 15,
|
|
1359
1370
|
lineHeight: "24px"
|
|
1360
1371
|
},
|
|
1361
1372
|
ParagraphSmall: {
|
|
1362
1373
|
// DEPRECATED: Use subtitle2 instead
|
|
1363
|
-
fontFamily:
|
|
1374
|
+
fontFamily: o,
|
|
1364
1375
|
fontSize: 13,
|
|
1365
1376
|
lineHeight: "20px"
|
|
1366
1377
|
},
|
|
1367
1378
|
subtitle2: {
|
|
1368
|
-
fontFamily:
|
|
1379
|
+
fontFamily: o,
|
|
1369
1380
|
fontSize: 13,
|
|
1370
1381
|
lineHeight: "20px"
|
|
1371
1382
|
},
|
|
1372
1383
|
Tiny: {
|
|
1373
1384
|
// DEPRECATED: Use tiny instead
|
|
1374
|
-
fontFamily:
|
|
1385
|
+
fontFamily: o,
|
|
1375
1386
|
fontSize: 9,
|
|
1376
1387
|
lineHeight: "12px"
|
|
1377
1388
|
},
|
|
1378
1389
|
tiny: {
|
|
1379
|
-
fontFamily:
|
|
1390
|
+
fontFamily: o,
|
|
1380
1391
|
fontSize: 9,
|
|
1381
1392
|
lineHeight: "12px"
|
|
1382
1393
|
},
|
|
1383
1394
|
...e
|
|
1384
1395
|
};
|
|
1385
1396
|
};
|
|
1386
|
-
|
|
1397
|
+
$e.setLicenseKey(
|
|
1387
1398
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1388
1399
|
);
|
|
1389
|
-
const
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
const
|
|
1394
|
-
const i =
|
|
1395
|
-
return
|
|
1400
|
+
const P = [...re().shadows];
|
|
1401
|
+
P[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1402
|
+
P[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1403
|
+
P[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1404
|
+
const ho = (e, o) => {
|
|
1405
|
+
const i = o0(e, o?.paletteOptions), n = t0(o?.typographyOptions);
|
|
1406
|
+
return re({
|
|
1396
1407
|
breakpoints: {
|
|
1397
1408
|
values: {
|
|
1398
1409
|
xs: 444,
|
|
@@ -1403,38 +1414,38 @@ const lr = (e, r) => {
|
|
|
1403
1414
|
}
|
|
1404
1415
|
},
|
|
1405
1416
|
palette: i,
|
|
1406
|
-
shadows:
|
|
1417
|
+
shadows: P,
|
|
1407
1418
|
shape: {
|
|
1408
|
-
borderRadius:
|
|
1419
|
+
borderRadius: o?.shapeOptions?.borderRadius || 4
|
|
1409
1420
|
},
|
|
1410
1421
|
spacing: 1,
|
|
1411
1422
|
// TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
|
|
1412
|
-
typography:
|
|
1423
|
+
typography: n,
|
|
1413
1424
|
components: {
|
|
1414
1425
|
MuiAlert: {
|
|
1415
1426
|
defaultProps: {
|
|
1416
1427
|
iconMapping: {
|
|
1417
|
-
success: /* @__PURE__ */
|
|
1418
|
-
error: /* @__PURE__ */
|
|
1419
|
-
warning: /* @__PURE__ */
|
|
1420
|
-
info: /* @__PURE__ */
|
|
1428
|
+
success: /* @__PURE__ */ a(M, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
|
|
1429
|
+
error: /* @__PURE__ */ a(M, { fill: !0, name: "error", size: 24, weight: 400 }),
|
|
1430
|
+
warning: /* @__PURE__ */ a(M, { fill: !0, name: "warning", size: 24, weight: 400 }),
|
|
1431
|
+
info: /* @__PURE__ */ a(M, { fill: !0, name: "info", size: 24, weight: 400 })
|
|
1421
1432
|
},
|
|
1422
1433
|
variant: "outlined"
|
|
1423
1434
|
},
|
|
1424
1435
|
styleOverrides: {
|
|
1425
|
-
root: ({ theme:
|
|
1436
|
+
root: ({ theme: r, ownerState: d }) => {
|
|
1426
1437
|
const c = d.severity || "info";
|
|
1427
|
-
let l =
|
|
1438
|
+
let l = r.palette.mode === v.LIGHT ? r.palette[c]?.[50] : r.palette[c]?.[800];
|
|
1428
1439
|
if (d.variant === "filled") {
|
|
1429
1440
|
const s = c === "warning";
|
|
1430
|
-
l =
|
|
1441
|
+
l = r.palette[c]?.[s ? 400 : 600];
|
|
1431
1442
|
}
|
|
1432
1443
|
return {
|
|
1433
1444
|
backgroundColor: l,
|
|
1434
|
-
borderRadius:
|
|
1445
|
+
borderRadius: r.shape.borderRadius,
|
|
1435
1446
|
"& .MuiAlert-message": {
|
|
1436
|
-
fontSize:
|
|
1437
|
-
lineHeight:
|
|
1447
|
+
fontSize: r.typography.subtitle1.fontSize,
|
|
1448
|
+
lineHeight: r.typography.subtitle1.lineHeight,
|
|
1438
1449
|
marginTop: "auto",
|
|
1439
1450
|
marginBottom: "auto"
|
|
1440
1451
|
},
|
|
@@ -1460,14 +1471,14 @@ const lr = (e, r) => {
|
|
|
1460
1471
|
disableElevation: !0
|
|
1461
1472
|
},
|
|
1462
1473
|
styleOverrides: {
|
|
1463
|
-
root: ({ theme:
|
|
1474
|
+
root: ({ theme: r }) => ({
|
|
1464
1475
|
fontWeight: 600,
|
|
1465
1476
|
textTransform: "none",
|
|
1466
1477
|
"&.Mui-disabled": {
|
|
1467
1478
|
cursor: "not-allowed"
|
|
1468
1479
|
},
|
|
1469
1480
|
"&.Mui-focusVisible": {
|
|
1470
|
-
outline: `2px solid ${
|
|
1481
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1471
1482
|
outlineOffset: "2px"
|
|
1472
1483
|
}
|
|
1473
1484
|
}),
|
|
@@ -1512,7 +1523,7 @@ const lr = (e, r) => {
|
|
|
1512
1523
|
MuiCircularProgress: {
|
|
1513
1524
|
styleOverrides: {
|
|
1514
1525
|
root: {
|
|
1515
|
-
[`& .${
|
|
1526
|
+
[`& .${Ve.circle}`]: {
|
|
1516
1527
|
strokeLinecap: "round"
|
|
1517
1528
|
}
|
|
1518
1529
|
}
|
|
@@ -1533,22 +1544,22 @@ const lr = (e, r) => {
|
|
|
1533
1544
|
},
|
|
1534
1545
|
MuiDataGrid: {
|
|
1535
1546
|
styleOverrides: {
|
|
1536
|
-
root: ({ theme:
|
|
1547
|
+
root: ({ theme: r }) => ({
|
|
1537
1548
|
border: "none",
|
|
1538
1549
|
borderRadius: 0,
|
|
1539
|
-
fontSize:
|
|
1550
|
+
fontSize: r.typography.body2.fontSize,
|
|
1540
1551
|
"& .MuiDataGrid-cell": {
|
|
1541
1552
|
display: "flex",
|
|
1542
1553
|
alignItems: "center",
|
|
1543
1554
|
borderTop: "1px solid",
|
|
1544
|
-
borderColor:
|
|
1555
|
+
borderColor: r.palette.background.highlight
|
|
1545
1556
|
},
|
|
1546
1557
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1547
1558
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1548
1559
|
"& .MuiDataGrid-columnHeaders": {
|
|
1549
|
-
backgroundColor:
|
|
1560
|
+
backgroundColor: r.palette.background.paper,
|
|
1550
1561
|
borderBottom: "2px solid",
|
|
1551
|
-
borderColor:
|
|
1562
|
+
borderColor: r.palette.divider
|
|
1552
1563
|
},
|
|
1553
1564
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1554
1565
|
fontWeight: 600
|
|
@@ -1566,42 +1577,42 @@ const lr = (e, r) => {
|
|
|
1566
1577
|
},
|
|
1567
1578
|
MuiDateRangePickerDay: {
|
|
1568
1579
|
styleOverrides: {
|
|
1569
|
-
root: ({ theme:
|
|
1580
|
+
root: ({ theme: r }) => ({
|
|
1570
1581
|
":first-of-type": {
|
|
1571
|
-
borderTopLeftRadius:
|
|
1572
|
-
borderBottomLeftRadius:
|
|
1582
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1583
|
+
borderBottomLeftRadius: r.shape.borderRadius,
|
|
1573
1584
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1574
|
-
borderTopLeftRadius:
|
|
1575
|
-
borderBottomLeftRadius:
|
|
1585
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1586
|
+
borderBottomLeftRadius: r.shape.borderRadius
|
|
1576
1587
|
}
|
|
1577
1588
|
},
|
|
1578
1589
|
":last-of-type": {
|
|
1579
|
-
borderTopRightRadius:
|
|
1580
|
-
borderBottomRightRadius:
|
|
1590
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1591
|
+
borderBottomRightRadius: r.shape.borderRadius,
|
|
1581
1592
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1582
|
-
borderTopRightRadius:
|
|
1583
|
-
borderBottomRightRadius:
|
|
1593
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1594
|
+
borderBottomRightRadius: r.shape.borderRadius
|
|
1584
1595
|
}
|
|
1585
1596
|
},
|
|
1586
1597
|
"& .Mui-selected": {
|
|
1587
|
-
borderRadius:
|
|
1598
|
+
borderRadius: r.shape.borderRadius
|
|
1588
1599
|
},
|
|
1589
1600
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1590
|
-
color:
|
|
1601
|
+
color: r.palette.action.disabled
|
|
1591
1602
|
}
|
|
1592
1603
|
}),
|
|
1593
|
-
day: ({ theme:
|
|
1594
|
-
borderRadius:
|
|
1604
|
+
day: ({ theme: r }) => ({
|
|
1605
|
+
borderRadius: r.shape.borderRadius
|
|
1595
1606
|
}),
|
|
1596
|
-
rangeIntervalDayPreview: ({ theme:
|
|
1597
|
-
borderRadius:
|
|
1607
|
+
rangeIntervalDayPreview: ({ theme: r }) => ({
|
|
1608
|
+
borderRadius: r.shape.borderRadius
|
|
1598
1609
|
})
|
|
1599
1610
|
}
|
|
1600
1611
|
},
|
|
1601
1612
|
MuiDayCalendar: {
|
|
1602
1613
|
styleOverrides: {
|
|
1603
|
-
weekDayLabel: ({ theme:
|
|
1604
|
-
fontSize:
|
|
1614
|
+
weekDayLabel: ({ theme: r }) => ({
|
|
1615
|
+
fontSize: r.typography.body2.fontSize,
|
|
1605
1616
|
fontWeight: 700
|
|
1606
1617
|
})
|
|
1607
1618
|
}
|
|
@@ -1643,14 +1654,14 @@ const lr = (e, r) => {
|
|
|
1643
1654
|
},
|
|
1644
1655
|
MuiFormHelperText: {
|
|
1645
1656
|
styleOverrides: {
|
|
1646
|
-
root: ({ theme:
|
|
1657
|
+
root: ({ theme: r }) => ({
|
|
1647
1658
|
fontSize: 13,
|
|
1648
1659
|
// Small
|
|
1649
1660
|
marginLeft: 0,
|
|
1650
1661
|
display: "flex",
|
|
1651
1662
|
alignItems: "center",
|
|
1652
1663
|
position: "relative",
|
|
1653
|
-
color:
|
|
1664
|
+
color: r.palette.text.secondary,
|
|
1654
1665
|
"& .MuiSvgIcon-root": {
|
|
1655
1666
|
height: "16px",
|
|
1656
1667
|
width: "16px",
|
|
@@ -1681,19 +1692,19 @@ const lr = (e, r) => {
|
|
|
1681
1692
|
disableFocusRipple: !0
|
|
1682
1693
|
},
|
|
1683
1694
|
styleOverrides: {
|
|
1684
|
-
root: ({ theme:
|
|
1685
|
-
borderRadius:
|
|
1695
|
+
root: ({ theme: r }) => ({
|
|
1696
|
+
borderRadius: r.shape.borderRadius,
|
|
1686
1697
|
minHeight: 44,
|
|
1687
1698
|
// touch target
|
|
1688
1699
|
minWidth: 44,
|
|
1689
1700
|
// touch target
|
|
1690
1701
|
"&.Mui-focusVisible": {
|
|
1691
|
-
outline: `2px solid ${
|
|
1702
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1692
1703
|
outlineOffset: "2px"
|
|
1693
1704
|
},
|
|
1694
1705
|
"& .MuiTouchRipple-root": {
|
|
1695
1706
|
"& .MuiTouchRipple-child": {
|
|
1696
|
-
borderRadius:
|
|
1707
|
+
borderRadius: r.shape.borderRadius
|
|
1697
1708
|
}
|
|
1698
1709
|
}
|
|
1699
1710
|
})
|
|
@@ -1720,7 +1731,7 @@ const lr = (e, r) => {
|
|
|
1720
1731
|
},
|
|
1721
1732
|
MuiLink: {
|
|
1722
1733
|
styleOverrides: {
|
|
1723
|
-
root: ({ theme:
|
|
1734
|
+
root: ({ theme: r, color: d }) => ({
|
|
1724
1735
|
cursor: "pointer",
|
|
1725
1736
|
fontWeight: 600,
|
|
1726
1737
|
textDecoration: "none",
|
|
@@ -1732,10 +1743,10 @@ const lr = (e, r) => {
|
|
|
1732
1743
|
outlineOffset: "2px"
|
|
1733
1744
|
},
|
|
1734
1745
|
"&:hover": {
|
|
1735
|
-
backgroundColor:
|
|
1746
|
+
backgroundColor: r.palette.action.hover
|
|
1736
1747
|
},
|
|
1737
1748
|
"&:active": {
|
|
1738
|
-
backgroundColor:
|
|
1749
|
+
backgroundColor: r.palette.mode === v.LIGHT ? r.palette[d].light : r.palette[d].dark
|
|
1739
1750
|
}
|
|
1740
1751
|
})
|
|
1741
1752
|
}
|
|
@@ -1762,9 +1773,9 @@ const lr = (e, r) => {
|
|
|
1762
1773
|
disablePadding: !0
|
|
1763
1774
|
},
|
|
1764
1775
|
styleOverrides: {
|
|
1765
|
-
root: ({ ownerState:
|
|
1776
|
+
root: ({ ownerState: r }) => ({
|
|
1766
1777
|
minHeight: 64,
|
|
1767
|
-
...!
|
|
1778
|
+
...!r.disablePadding && {
|
|
1768
1779
|
paddingTop: 12,
|
|
1769
1780
|
paddingBottom: 12,
|
|
1770
1781
|
paddingLeft: 24
|
|
@@ -1788,7 +1799,7 @@ const lr = (e, r) => {
|
|
|
1788
1799
|
},
|
|
1789
1800
|
MuiListItemButton: {
|
|
1790
1801
|
styleOverrides: {
|
|
1791
|
-
root: ({ theme:
|
|
1802
|
+
root: ({ theme: r }) => ({
|
|
1792
1803
|
minHeight: 64,
|
|
1793
1804
|
paddingLeft: 24,
|
|
1794
1805
|
paddingRight: 24,
|
|
@@ -1797,7 +1808,7 @@ const lr = (e, r) => {
|
|
|
1797
1808
|
"&.Mui-focusVisible": {
|
|
1798
1809
|
backgroundColor: "transparent",
|
|
1799
1810
|
borderRadius: 8,
|
|
1800
|
-
outline: `2px solid ${
|
|
1811
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1801
1812
|
outlineOffset: -2
|
|
1802
1813
|
}
|
|
1803
1814
|
})
|
|
@@ -1914,20 +1925,20 @@ const lr = (e, r) => {
|
|
|
1914
1925
|
gridColumn: "1/4",
|
|
1915
1926
|
"& > .MuiTypography-root": {
|
|
1916
1927
|
textTransform: "uppercase",
|
|
1917
|
-
fontSize:
|
|
1928
|
+
fontSize: n.body2.fontSize,
|
|
1918
1929
|
fontWeight: 600,
|
|
1919
|
-
lineHeight:
|
|
1930
|
+
lineHeight: n.body2.lineHeight
|
|
1920
1931
|
}
|
|
1921
1932
|
}
|
|
1922
1933
|
}
|
|
1923
1934
|
},
|
|
1924
1935
|
MuiPickersToolbar: {
|
|
1925
1936
|
styleOverrides: {
|
|
1926
|
-
content: ({ theme:
|
|
1937
|
+
content: ({ theme: r }) => ({
|
|
1927
1938
|
marginTop: 4,
|
|
1928
1939
|
"& .MuiTypography-root": {
|
|
1929
|
-
fontSize:
|
|
1930
|
-
lineHeight:
|
|
1940
|
+
fontSize: r.typography.h3.fontSize,
|
|
1941
|
+
lineHeight: r.typography.h3.lineHeight
|
|
1931
1942
|
}
|
|
1932
1943
|
})
|
|
1933
1944
|
}
|
|
@@ -1953,7 +1964,7 @@ const lr = (e, r) => {
|
|
|
1953
1964
|
disableFocusRipple: !0
|
|
1954
1965
|
},
|
|
1955
1966
|
styleOverrides: {
|
|
1956
|
-
root: ({ theme:
|
|
1967
|
+
root: ({ theme: r }) => ({
|
|
1957
1968
|
width: 37,
|
|
1958
1969
|
height: 20,
|
|
1959
1970
|
padding: 0,
|
|
@@ -1964,7 +1975,7 @@ const lr = (e, r) => {
|
|
|
1964
1975
|
"&.Mui-checked": {
|
|
1965
1976
|
transform: "translateX(16px)",
|
|
1966
1977
|
"& + .MuiSwitch-track": {
|
|
1967
|
-
backgroundColor:
|
|
1978
|
+
backgroundColor: r.palette.success.main,
|
|
1968
1979
|
opacity: 1,
|
|
1969
1980
|
border: 0
|
|
1970
1981
|
},
|
|
@@ -1973,27 +1984,27 @@ const lr = (e, r) => {
|
|
|
1973
1984
|
}
|
|
1974
1985
|
},
|
|
1975
1986
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1976
|
-
color:
|
|
1987
|
+
color: r.palette.common.white
|
|
1977
1988
|
},
|
|
1978
1989
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1979
|
-
backgroundColor:
|
|
1990
|
+
backgroundColor: r.palette.action.disabledBackground,
|
|
1980
1991
|
opacity: 1
|
|
1981
1992
|
}
|
|
1982
1993
|
},
|
|
1983
1994
|
"& .MuiSwitch-input": {
|
|
1984
1995
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
1985
|
-
outline: `2px solid ${
|
|
1996
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1986
1997
|
outlineOffset: 0
|
|
1987
1998
|
}
|
|
1988
1999
|
},
|
|
1989
2000
|
"& .MuiSwitch-thumb": {
|
|
1990
2001
|
boxSizing: "border-box",
|
|
1991
|
-
backgroundColor:
|
|
2002
|
+
backgroundColor: r.palette.background.paper,
|
|
1992
2003
|
width: 16,
|
|
1993
2004
|
height: 16
|
|
1994
2005
|
},
|
|
1995
2006
|
"& .MuiSwitch-track": {
|
|
1996
|
-
backgroundColor:
|
|
2007
|
+
backgroundColor: r.palette.action.active,
|
|
1997
2008
|
borderRadius: 20 / 2,
|
|
1998
2009
|
opacity: 1
|
|
1999
2010
|
}
|
|
@@ -2143,51 +2154,51 @@ const lr = (e, r) => {
|
|
|
2143
2154
|
});
|
|
2144
2155
|
};
|
|
2145
2156
|
export {
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2157
|
+
N0 as AccountsFilledIcon,
|
|
2158
|
+
w0 as AccountsIcon,
|
|
2159
|
+
_0 as ArrowLeftIcon,
|
|
2160
|
+
P0 as AttentionFilledIcon,
|
|
2150
2161
|
f as BaseIcon,
|
|
2151
|
-
|
|
2152
|
-
|
|
2162
|
+
J0 as BottomSheetTransition,
|
|
2163
|
+
B0 as CalendarIcon,
|
|
2153
2164
|
g as CategoryGuids,
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2165
|
+
Ke as CategoryIcon,
|
|
2166
|
+
We as CategoryIconList,
|
|
2167
|
+
Ue as CategoryIconVariants,
|
|
2168
|
+
z0 as CheckmarkFilledIcon,
|
|
2169
|
+
V0 as ChevronDownIcon,
|
|
2170
|
+
$0 as ChevronLeftIcon,
|
|
2171
|
+
G0 as ChevronRightIcon,
|
|
2172
|
+
U0 as CloseIcon,
|
|
2173
|
+
q0 as DateRangePicker,
|
|
2174
|
+
Xe as DialogFooter,
|
|
2175
|
+
to as DialogHeader,
|
|
2176
|
+
io as Drawer,
|
|
2177
|
+
W0 as EditIcon,
|
|
2178
|
+
Z0 as FilterIcon,
|
|
2179
|
+
Xe as Footer,
|
|
2180
|
+
je as H1,
|
|
2181
|
+
eo as H2,
|
|
2182
|
+
oo as H3,
|
|
2183
|
+
K0 as HeartIcon,
|
|
2184
|
+
r0 as INTER,
|
|
2174
2185
|
M as Icon,
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2186
|
+
Ge as IconWeight,
|
|
2187
|
+
ao as InstitutionLogo,
|
|
2188
|
+
X0 as MXLogoCopyrightIcon,
|
|
2189
|
+
j0 as MXLogoFilledIcon,
|
|
2190
|
+
Y0 as MXLogoIcon,
|
|
2191
|
+
Q0 as MXLogoOutlineIcon,
|
|
2192
|
+
no as MerchantLogo,
|
|
2193
|
+
ro as P,
|
|
2194
|
+
po as SelectionBox,
|
|
2195
|
+
O as TARGETS,
|
|
2196
|
+
_ as THEMES,
|
|
2197
|
+
F as Text,
|
|
2198
|
+
lo as TextField,
|
|
2199
|
+
co as Toast,
|
|
2200
|
+
so as TokenProvider,
|
|
2201
|
+
ho as createMXTheme,
|
|
2202
|
+
uo as useTokens
|
|
2192
2203
|
};
|
|
2193
2204
|
//# sourceMappingURL=index.es.js.map
|