@mxenabled/mxui 1.5.1 → 1.6.0-alpha.1
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 +488 -489
- 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
|
|
1
|
+
import { jsx as a, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import C from "react";
|
|
3
|
-
import
|
|
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
|
|
21
|
-
import
|
|
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
|
|
3
|
+
import F from "@mui/material/Stack";
|
|
4
|
+
import { useTheme as H, createTheme as j } from "@mui/material/styles";
|
|
5
|
+
import { Icon as de, Close as ue } from "@mxenabled/mx-icons";
|
|
6
|
+
import { endOfMonth as U } from "date-fns/endOfMonth";
|
|
7
|
+
import { endOfYear as pe } from "date-fns/endOfYear";
|
|
8
|
+
import { startOfToday as he } from "date-fns/startOfToday";
|
|
9
|
+
import { startOfMonth as W } from "date-fns/startOfMonth";
|
|
10
|
+
import { startOfYear as Z } from "date-fns/startOfYear";
|
|
11
|
+
import { subDays as Y } from "date-fns/subDays";
|
|
12
|
+
import { subMonths as ge } from "date-fns/subMonths";
|
|
13
|
+
import { subYears as fe } from "date-fns/subYears";
|
|
14
|
+
import me from "@mui/material/useMediaQuery";
|
|
15
|
+
import { LocalizationProvider as be, StaticDateRangePicker as Te } from "@mui/x-date-pickers-pro";
|
|
16
|
+
import { AdapterDateFns as Ce } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
|
|
17
|
+
import Q from "@mui/material/Box";
|
|
18
|
+
import xe from "@mui/material/ToggleButton";
|
|
19
|
+
import Re from "@mui/material/ToggleButtonGroup";
|
|
20
|
+
import J from "@mui/material/Slide";
|
|
21
|
+
import B from "@mui/material/Button";
|
|
22
|
+
import q from "@mui/material/IconButton";
|
|
23
|
+
import Me from "@mui/material/Typography";
|
|
24
|
+
import Ae from "@mui/material/Drawer";
|
|
25
|
+
import Ee from "@mui/material/TextField";
|
|
26
|
+
import Se from "@mui/material/Snackbar";
|
|
27
|
+
import Ie from "@mui/material/Alert";
|
|
28
|
+
import { light as ee, buildTheme as z, dark as ve } from "@mxenabled/design-tokens";
|
|
29
|
+
import { Paper as He, Box as X, Typography as K, Radio as D, Checkbox as ye, alpha as b, darken as N, lighten as y, getContrastRatio as Oe } from "@mui/material";
|
|
30
|
+
import { circularProgressClasses as Fe } from "@mui/material/CircularProgress";
|
|
31
|
+
import { LicenseInfo as ke } 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 Le = /* @__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))(Le || {});
|
|
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
|
+
de,
|
|
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
|
+
), S0 = ({
|
|
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
|
+
) })), I0 = ({
|
|
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
|
+
) })), v0 = ({
|
|
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
|
+
) })), H0 = ({
|
|
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
|
+
) })), y0 = ({
|
|
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
|
+
) })), O0 = ({
|
|
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
|
+
) })), F0 = ({
|
|
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
|
+
) })), k0 = ({
|
|
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
|
+
) })), L0 = ({
|
|
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
|
+
) })), D0 = ({
|
|
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
|
+
) })), N0 = ({
|
|
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
|
+
) })), w0 = ({
|
|
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
|
+
) })), P0 = ({
|
|
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
|
+
) })), _0 = ({
|
|
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
|
+
] }), B0 = ({
|
|
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
|
+
] }), z0 = ({
|
|
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
|
+
) }), V0 = ({
|
|
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 || {}), De = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(De || {});
|
|
284
|
+
const oe = {
|
|
285
285
|
guid: g.Uncategorized,
|
|
286
286
|
colorName: "uncategorized",
|
|
287
287
|
icon: "category"
|
|
288
|
-
},
|
|
288
|
+
}, Ne = [
|
|
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
|
+
oe
|
|
390
|
+
], we = 0.625, Pe = ({
|
|
391
391
|
categoryGuid: e,
|
|
392
|
-
icon_ratio:
|
|
392
|
+
icon_ratio: o = we,
|
|
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
|
+
() => Ne.find((u) => u.guid === e) ?? oe,
|
|
399
399
|
[e]
|
|
400
400
|
), l = d.palette.categories[c.colorName];
|
|
401
|
-
return /* @__PURE__ */
|
|
402
|
-
|
|
401
|
+
return /* @__PURE__ */ a(
|
|
402
|
+
F,
|
|
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
|
+
}, _e = ({
|
|
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(Q, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(Re, { color: "primary", orientation: "vertical", value: n, children: d?.map((c) => /* @__PURE__ */ a(
|
|
438
|
+
xe,
|
|
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
|
+
}, G0 = ({
|
|
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 = me(d.breakpoints.down("sm")), l = C.useMemo(() => {
|
|
473
|
+
const t = he(), u = ge(t, 1), T = fe(t, 1);
|
|
474
474
|
return [
|
|
475
475
|
{
|
|
476
476
|
label: e.dateRangeThisMonth,
|
|
477
|
-
getValue: () => [
|
|
477
|
+
getValue: () => [W(t), U(t)]
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
label: e.dateRangeLastMonth,
|
|
481
|
-
getValue: () => [
|
|
481
|
+
getValue: () => [W(u), U(u)]
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
label: e.dateRangeLast30Days,
|
|
485
|
-
getValue: () => [
|
|
485
|
+
getValue: () => [Y(t, 30), t]
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
label: e.dateRangeLast90Days,
|
|
489
|
-
getValue: () => [
|
|
489
|
+
getValue: () => [Y(t, 90), t]
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
label: e.dateRangeYTD,
|
|
493
|
-
getValue: () => [
|
|
493
|
+
getValue: () => [Z(t), t]
|
|
494
494
|
},
|
|
495
495
|
{
|
|
496
496
|
label: e.dateRangeLastYear,
|
|
497
|
-
getValue: () => [
|
|
497
|
+
getValue: () => [Z(T), pe(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(F, { gap: 16, m: 8, children: /* @__PURE__ */ a(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
|
|
509
|
+
Te,
|
|
510
510
|
{
|
|
511
511
|
calendars: 1,
|
|
512
512
|
localeText: {
|
|
@@ -526,47 +526,47 @@ 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(_e, { 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
|
+
}, $0 = C.forwardRef(function(o, i) {
|
|
538
|
+
return /* @__PURE__ */ a(J, { direction: "up", ref: i, ...o });
|
|
539
|
+
}), Be = ({
|
|
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__ */
|
|
549
|
-
|
|
548
|
+
}) => /* @__PURE__ */ x(
|
|
549
|
+
F,
|
|
550
550
|
{
|
|
551
551
|
direction: "row",
|
|
552
552
|
gap: 16,
|
|
553
553
|
justifyContent: "flex-end",
|
|
554
554
|
sx: { bgcolor: "background.paper", width: "100%", p: 24 },
|
|
555
555
|
children: [
|
|
556
|
-
e && /* @__PURE__ */
|
|
557
|
-
|
|
556
|
+
e && /* @__PURE__ */ a(
|
|
557
|
+
B,
|
|
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__ */
|
|
566
|
-
|
|
565
|
+
i && /* @__PURE__ */ a(
|
|
566
|
+
B,
|
|
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
|
+
), k = ({
|
|
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
|
+
Me,
|
|
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,24 +633,24 @@ 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
|
+
}, ze = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), U0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), W0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(k, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), Z0 = ({ className: e = "", children: o, truncate: i, ...n }) => /* @__PURE__ */ a(
|
|
643
|
+
k,
|
|
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
|
-
),
|
|
653
|
-
|
|
652
|
+
), Y0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
|
|
653
|
+
F,
|
|
654
654
|
{
|
|
655
655
|
sx: {
|
|
656
656
|
alignItems: "center",
|
|
@@ -660,119 +660,119 @@ const te = {
|
|
|
660
660
|
py: 14
|
|
661
661
|
},
|
|
662
662
|
children: [
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
/* @__PURE__ */
|
|
663
|
+
/* @__PURE__ */ a(ze, { variant: "h3", children: e.title }),
|
|
664
|
+
/* @__PURE__ */ a(q, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(ue, {}) })
|
|
665
665
|
]
|
|
666
666
|
}
|
|
667
|
-
),
|
|
667
|
+
), X0 = ({
|
|
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
|
+
Ae,
|
|
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
|
+
Be,
|
|
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
|
+
), re = 32, V = "https://content.moneydesktop.com/storage/MD_Assets", Ve = `${V}/serenity/default_institution_logo.png`, K0 = ({
|
|
703
703
|
alt: e,
|
|
704
|
-
institutionGuid:
|
|
704
|
+
institutionGuid: o,
|
|
705
705
|
logoUrl: i,
|
|
706
|
-
size:
|
|
707
|
-
...
|
|
708
|
-
}) => /* @__PURE__ */
|
|
706
|
+
size: n = re,
|
|
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 = Ve,
|
|
714
|
+
src: i || `${V}/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
|
+
), j0 = ({
|
|
722
722
|
alt: e = "",
|
|
723
|
-
categoryGuid:
|
|
723
|
+
categoryGuid: o,
|
|
724
724
|
merchantGuid: i,
|
|
725
|
-
size:
|
|
726
|
-
...
|
|
725
|
+
size: n = re,
|
|
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(Q, { 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: `${V}/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(Pe, { categoryGuid: o, size: n })
|
|
748
748
|
] });
|
|
749
|
-
},
|
|
749
|
+
}, Q0 = ({
|
|
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
|
+
Ee,
|
|
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 Ge(e) {
|
|
768
|
+
return /* @__PURE__ */ a(J, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
769
769
|
}
|
|
770
|
-
const
|
|
770
|
+
const J0 = ({
|
|
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,8 +780,8 @@ const tr = ({
|
|
|
780
780
|
onActionClick: t,
|
|
781
781
|
multiLine: u = !1
|
|
782
782
|
}) => {
|
|
783
|
-
const T = H(), L = /* @__PURE__ */
|
|
784
|
-
|
|
783
|
+
const T = H(), L = /* @__PURE__ */ x(
|
|
784
|
+
F,
|
|
785
785
|
{
|
|
786
786
|
alignItems: u ? "flex-end" : "center",
|
|
787
787
|
direction: u ? "column-reverse" : "row",
|
|
@@ -790,11 +790,11 @@ const tr = ({
|
|
|
790
790
|
u && c && l ? "space-between" : "flex-end"
|
|
791
791
|
),
|
|
792
792
|
children: [
|
|
793
|
-
c && /* @__PURE__ */
|
|
794
|
-
|
|
793
|
+
c && /* @__PURE__ */ a(
|
|
794
|
+
B,
|
|
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
|
+
q,
|
|
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
|
+
Se,
|
|
821
821
|
{
|
|
822
|
-
TransitionComponent:
|
|
822
|
+
TransitionComponent: Ge,
|
|
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
|
+
Ie,
|
|
833
833
|
{
|
|
834
834
|
action: L,
|
|
835
|
-
severity:
|
|
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
|
+
k,
|
|
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
|
+
}, w = {
|
|
878
878
|
LIGHT: "light",
|
|
879
879
|
DARK: "dark"
|
|
880
|
-
},
|
|
881
|
-
|
|
882
|
-
),
|
|
880
|
+
}, te = C.createContext(ee), ie = C.createContext(
|
|
881
|
+
z(w.LIGHT, O.REACT_NATIVE)
|
|
882
|
+
), q0 = ({
|
|
883
883
|
children: e,
|
|
884
|
-
target:
|
|
885
|
-
theme: i =
|
|
886
|
-
tokenOverrides:
|
|
884
|
+
target: o = O.REACT,
|
|
885
|
+
theme: i = w.LIGHT,
|
|
886
|
+
tokenOverrides: n
|
|
887
887
|
}) => {
|
|
888
|
-
const [
|
|
889
|
-
...
|
|
890
|
-
}), [
|
|
888
|
+
const [r, d] = C.useState(i === w.LIGHT ? ee : ve), c = C.useMemo(() => ({
|
|
889
|
+
...n
|
|
890
|
+
}), [n]);
|
|
891
891
|
return C.useEffect(() => {
|
|
892
|
-
const l =
|
|
892
|
+
const l = z(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(te.Provider, { value: r, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(ie.Provider, { value: r, children: e }));
|
|
895
|
+
}, eo = (e = O.REACT, o = {}) => {
|
|
896
|
+
const i = e === O.REACT ? te : ie, n = C.useContext(i);
|
|
897
|
+
return n || z(w.LIGHT, e, { ...o });
|
|
898
|
+
}, oo = ({
|
|
899
|
+
component: e = D,
|
|
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,
|
|
@@ -910,25 +910,19 @@ const tr = ({
|
|
|
910
910
|
sx: T = {},
|
|
911
911
|
...L
|
|
912
912
|
}) => {
|
|
913
|
-
const m = H(),
|
|
914
|
-
if (!s &&
|
|
915
|
-
const
|
|
916
|
-
|
|
917
|
-
target: { value: l, checked:
|
|
918
|
-
},
|
|
913
|
+
const m = H(), ae = () => {
|
|
914
|
+
if (!s && n) {
|
|
915
|
+
const $ = e === D ? !0 : !i;
|
|
916
|
+
n({
|
|
917
|
+
target: { value: l, checked: $ }
|
|
918
|
+
}, $);
|
|
919
919
|
}
|
|
920
|
-
},
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
}, de = () => s || t ? y() : b(m.palette.primary.main, 0.1), ue = () => {
|
|
924
|
-
if (!s)
|
|
925
|
-
return t ? m.palette.error.main : b(m.palette.primary.main, 0.5);
|
|
926
|
-
}, pe = () => s || t ? y() : b(m.palette.primary.main, 0.3), he = () => s ? $() : t ? m.palette.error.main : m.palette.info.main, z = () => !!(r === "outlined" || r === "elevation" && (t || i));
|
|
927
|
-
return /* @__PURE__ */ R(
|
|
928
|
-
ke,
|
|
920
|
+
}, ne = () => m.palette.background.paper, G = () => t ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : s ? i ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : void 0 : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : void 0, le = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ce = () => s || t ? G() : i ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : o === "outlined" ? `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : void 0, se = () => s || t ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
|
|
921
|
+
return /* @__PURE__ */ x(
|
|
922
|
+
He,
|
|
929
923
|
{
|
|
930
|
-
elevation:
|
|
931
|
-
onClick:
|
|
924
|
+
elevation: o === "elevation" ? 1 : 0,
|
|
925
|
+
onClick: ae,
|
|
932
926
|
sx: {
|
|
933
927
|
display: "flex",
|
|
934
928
|
padding: "6px 16px",
|
|
@@ -938,50 +932,51 @@ const tr = ({
|
|
|
938
932
|
mb: 16,
|
|
939
933
|
cursor: s ? "not-allowed" : "pointer",
|
|
940
934
|
opacity: s ? 0.6 : 1,
|
|
941
|
-
backgroundColor:
|
|
942
|
-
border:
|
|
943
|
-
|
|
935
|
+
backgroundColor: ne(),
|
|
936
|
+
border: "none",
|
|
937
|
+
boxShadow: G(),
|
|
938
|
+
boxSizing: "border-box",
|
|
939
|
+
transition: m.transitions.create(["background-color", "box-shadow"], {
|
|
944
940
|
duration: m.transitions.duration.short
|
|
945
941
|
}),
|
|
946
942
|
"&:hover": {
|
|
947
|
-
|
|
948
|
-
|
|
943
|
+
backgroundColor: le(),
|
|
944
|
+
boxShadow: ce()
|
|
949
945
|
},
|
|
950
946
|
"&:active": {
|
|
951
|
-
|
|
952
|
-
backgroundColor: pe()
|
|
947
|
+
backgroundColor: se()
|
|
953
948
|
},
|
|
954
949
|
"&:focus-visible": {
|
|
955
|
-
outline: `2px solid ${
|
|
950
|
+
outline: `2px solid ${m.palette.info.main}`,
|
|
956
951
|
outlineOffset: "2px"
|
|
957
952
|
},
|
|
958
953
|
...T
|
|
959
954
|
},
|
|
960
955
|
tabIndex: 0,
|
|
961
|
-
variant:
|
|
956
|
+
variant: o,
|
|
962
957
|
children: [
|
|
963
|
-
u && /* @__PURE__ */
|
|
964
|
-
|
|
958
|
+
u && /* @__PURE__ */ a(
|
|
959
|
+
X,
|
|
965
960
|
{
|
|
966
961
|
sx: {
|
|
967
|
-
mr:
|
|
962
|
+
mr: 12,
|
|
968
963
|
mt: "8px",
|
|
969
964
|
flexShrink: 0
|
|
970
965
|
},
|
|
971
966
|
children: u
|
|
972
967
|
}
|
|
973
968
|
),
|
|
974
|
-
/* @__PURE__ */
|
|
975
|
-
|
|
976
|
-
/* @__PURE__ */
|
|
969
|
+
/* @__PURE__ */ x(X, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
970
|
+
r && /* @__PURE__ */ a(K, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
|
|
971
|
+
/* @__PURE__ */ a(K, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
|
|
977
972
|
] }),
|
|
978
|
-
e ===
|
|
979
|
-
|
|
973
|
+
e === D ? /* @__PURE__ */ a(
|
|
974
|
+
D,
|
|
980
975
|
{
|
|
981
976
|
checked: i,
|
|
982
977
|
disabled: s,
|
|
983
978
|
name: c,
|
|
984
|
-
onChange:
|
|
979
|
+
onChange: n,
|
|
985
980
|
sx: {
|
|
986
981
|
p: 0,
|
|
987
982
|
ml: 16,
|
|
@@ -994,13 +989,13 @@ const tr = ({
|
|
|
994
989
|
value: l,
|
|
995
990
|
...L
|
|
996
991
|
}
|
|
997
|
-
) : /* @__PURE__ */
|
|
998
|
-
|
|
992
|
+
) : /* @__PURE__ */ a(
|
|
993
|
+
ye,
|
|
999
994
|
{
|
|
1000
995
|
checked: i,
|
|
1001
996
|
disabled: s,
|
|
1002
997
|
name: c,
|
|
1003
|
-
onChange:
|
|
998
|
+
onChange: n,
|
|
1004
999
|
sx: {
|
|
1005
1000
|
p: 0,
|
|
1006
1001
|
ml: 16,
|
|
@@ -1019,18 +1014,18 @@ const tr = ({
|
|
|
1019
1014
|
);
|
|
1020
1015
|
}, v = {
|
|
1021
1016
|
LIGHT: "light"
|
|
1022
|
-
},
|
|
1023
|
-
50:
|
|
1024
|
-
100:
|
|
1025
|
-
200:
|
|
1026
|
-
300:
|
|
1027
|
-
400:
|
|
1017
|
+
}, A = (e) => ({
|
|
1018
|
+
50: y(e, 0.95),
|
|
1019
|
+
100: y(e, 0.85),
|
|
1020
|
+
200: y(e, 0.7),
|
|
1021
|
+
300: y(e, 0.55),
|
|
1022
|
+
400: y(e, 0.3),
|
|
1028
1023
|
500: e,
|
|
1029
|
-
600:
|
|
1030
|
-
700:
|
|
1031
|
-
800:
|
|
1032
|
-
900:
|
|
1033
|
-
}),
|
|
1024
|
+
600: N(e, 0.3),
|
|
1025
|
+
700: N(e, 0.5),
|
|
1026
|
+
800: N(e, 0.65),
|
|
1027
|
+
900: N(e, 0.75)
|
|
1028
|
+
}), R = "#FFFFFF", _ = "#000000", $e = "#F9F9F9", E = {
|
|
1034
1029
|
PRIMARY: "#2C64EF",
|
|
1035
1030
|
SECONDARY: "#808080",
|
|
1036
1031
|
INFO: "#2C64EF",
|
|
@@ -1038,7 +1033,7 @@ const tr = ({
|
|
|
1038
1033
|
WARNING: "#FF7B00",
|
|
1039
1034
|
ERROR: "#E32727",
|
|
1040
1035
|
GREY: "#808080"
|
|
1041
|
-
},
|
|
1036
|
+
}, S = {
|
|
1042
1037
|
CHART1: "#74E4DA",
|
|
1043
1038
|
CHART2: "#ED64A4",
|
|
1044
1039
|
CHART3: "#F3DC46",
|
|
@@ -1099,8 +1094,8 @@ const tr = ({
|
|
|
1099
1094
|
TRANSFER: "#75C7B7",
|
|
1100
1095
|
TRAVEL: "#76ACF7",
|
|
1101
1096
|
UNCATEGORIZED: "#BCC6D4"
|
|
1102
|
-
},
|
|
1103
|
-
const i =
|
|
1097
|
+
}, Ue = (e, o) => {
|
|
1098
|
+
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
1099
|
return {
|
|
1105
1100
|
mode: e,
|
|
1106
1101
|
// DEPRECATED: Use grey instead
|
|
@@ -1114,7 +1109,7 @@ const tr = ({
|
|
|
1114
1109
|
darker: s[500]
|
|
1115
1110
|
},
|
|
1116
1111
|
common: {
|
|
1117
|
-
white:
|
|
1112
|
+
white: R,
|
|
1118
1113
|
black: _
|
|
1119
1114
|
},
|
|
1120
1115
|
primary: {
|
|
@@ -1128,14 +1123,14 @@ const tr = ({
|
|
|
1128
1123
|
darker: t ? i[900] : i[100]
|
|
1129
1124
|
},
|
|
1130
1125
|
secondary: {
|
|
1131
|
-
...
|
|
1126
|
+
...n,
|
|
1132
1127
|
/* DEPRECATED: Use light instead */
|
|
1133
|
-
lighter: t ?
|
|
1134
|
-
light: t ?
|
|
1135
|
-
main: t ?
|
|
1136
|
-
dark: t ?
|
|
1128
|
+
lighter: t ? n[100] : n[800],
|
|
1129
|
+
light: t ? n[300] : n[600],
|
|
1130
|
+
main: t ? n[500] : n[400],
|
|
1131
|
+
dark: t ? n[700] : n[200],
|
|
1137
1132
|
/* DEPRECATED: Use dark instead */
|
|
1138
|
-
darker: t ?
|
|
1133
|
+
darker: t ? n[900] : n[100]
|
|
1139
1134
|
},
|
|
1140
1135
|
neutral: {
|
|
1141
1136
|
...s,
|
|
@@ -1146,22 +1141,22 @@ const tr = ({
|
|
|
1146
1141
|
dark: t ? s[700] : s[200],
|
|
1147
1142
|
/* DEPRECATED: Use dark instead */
|
|
1148
1143
|
darker: t ? s[900] : s[100],
|
|
1149
|
-
contrastText:
|
|
1144
|
+
contrastText: Oe(t ? s[700] : s[400], "#fff") > 4.5 ? R : s[900]
|
|
1150
1145
|
},
|
|
1151
1146
|
text: {
|
|
1152
|
-
primary: t ? s[900] :
|
|
1153
|
-
secondary: t ? s[600] : b(
|
|
1154
|
-
disabled: t ? s[500] : b(
|
|
1147
|
+
primary: t ? s[900] : R,
|
|
1148
|
+
secondary: t ? s[600] : b(R, 0.7),
|
|
1149
|
+
disabled: t ? s[500] : b(R, 0.38)
|
|
1155
1150
|
},
|
|
1156
1151
|
error: {
|
|
1157
|
-
...
|
|
1152
|
+
...r,
|
|
1158
1153
|
/* DEPRECATED: Use light instead */
|
|
1159
|
-
lighter: t ?
|
|
1160
|
-
light: t ?
|
|
1161
|
-
main: t ?
|
|
1162
|
-
dark: t ?
|
|
1154
|
+
lighter: t ? r[100] : r[800],
|
|
1155
|
+
light: t ? r[300] : r[600],
|
|
1156
|
+
main: t ? r[500] : r[400],
|
|
1157
|
+
dark: t ? r[700] : r[200],
|
|
1163
1158
|
/* DEPRECATED: Use light instead */
|
|
1164
|
-
darker: t ?
|
|
1159
|
+
darker: t ? r[900] : r[100]
|
|
1165
1160
|
},
|
|
1166
1161
|
warning: {
|
|
1167
1162
|
...d,
|
|
@@ -1195,18 +1190,22 @@ const tr = ({
|
|
|
1195
1190
|
},
|
|
1196
1191
|
grey: s,
|
|
1197
1192
|
action: {
|
|
1198
|
-
active: t ? b(_, 0.56) : b(
|
|
1193
|
+
active: t ? b(_, 0.56) : b(R, 0.56),
|
|
1199
1194
|
hoverOpacity: t ? 0.1 : 0.2,
|
|
1200
1195
|
selectedOpacity: t ? 0.16 : 0.25,
|
|
1201
1196
|
focusOpacity: 0.3
|
|
1202
1197
|
},
|
|
1203
1198
|
background: {
|
|
1204
|
-
default: t ?
|
|
1205
|
-
|
|
1199
|
+
default: t ? $e : s[900],
|
|
1200
|
+
// ? paletteCustomizations?.background?.default?.light || DEFAULT_BACKGROUND_LIGHT
|
|
1201
|
+
// : paletteCustomizations?.background?.default?.dark || DEFAULT_BACKGROUND_DARK,
|
|
1202
|
+
paper: t ? R : s[800],
|
|
1203
|
+
// ? paletteCustomizations?.background?.paper?.light || WHITE
|
|
1204
|
+
// : paletteCustomizations?.background?.paper?.dark || BLACK,
|
|
1206
1205
|
highlight: t ? s[200] : s[600],
|
|
1207
1206
|
highlightPrimary: t ? i[100] : i[500]
|
|
1208
1207
|
},
|
|
1209
|
-
divider: t ? b(_, 0.12) : b(
|
|
1208
|
+
divider: t ? b(_, 0.12) : b(R, 0.24),
|
|
1210
1209
|
categories: {
|
|
1211
1210
|
autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1212
1211
|
billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
@@ -1232,13 +1231,13 @@ const tr = ({
|
|
|
1232
1231
|
uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
|
|
1233
1232
|
},
|
|
1234
1233
|
chart: {
|
|
1235
|
-
chart1:
|
|
1236
|
-
chart2:
|
|
1237
|
-
chart3:
|
|
1238
|
-
chart4:
|
|
1239
|
-
chart5:
|
|
1240
|
-
chart6:
|
|
1241
|
-
chart7:
|
|
1234
|
+
chart1: S.CHART1,
|
|
1235
|
+
chart2: S.CHART2,
|
|
1236
|
+
chart3: S.CHART3,
|
|
1237
|
+
chart4: S.CHART4,
|
|
1238
|
+
chart5: S.CHART5,
|
|
1239
|
+
chart6: S.CHART6,
|
|
1240
|
+
chart7: S.CHART7
|
|
1242
1241
|
},
|
|
1243
1242
|
chartMono: {
|
|
1244
1243
|
chartMono1: I.CHART_MONO1,
|
|
@@ -1249,88 +1248,88 @@ const tr = ({
|
|
|
1249
1248
|
chartMono6: I.CHART_MONO6
|
|
1250
1249
|
}
|
|
1251
1250
|
};
|
|
1252
|
-
},
|
|
1253
|
-
const
|
|
1251
|
+
}, We = "Inter, Helvetica, Arial, sans-serif", Ze = (e) => {
|
|
1252
|
+
const o = e?.fontFamily || We;
|
|
1254
1253
|
return {
|
|
1255
|
-
fontFamily:
|
|
1254
|
+
fontFamily: o,
|
|
1256
1255
|
fontSize: 15,
|
|
1257
1256
|
Body: {
|
|
1258
1257
|
// DEPRECATED: Use body1 instead
|
|
1259
|
-
fontFamily:
|
|
1258
|
+
fontFamily: o,
|
|
1260
1259
|
fontSize: 15,
|
|
1261
1260
|
lineHeight: "20px"
|
|
1262
1261
|
},
|
|
1263
1262
|
body1: {
|
|
1264
|
-
fontFamily:
|
|
1263
|
+
fontFamily: o,
|
|
1265
1264
|
fontSize: 15,
|
|
1266
1265
|
lineHeight: "20px"
|
|
1267
1266
|
},
|
|
1268
1267
|
Small: {
|
|
1269
1268
|
// DEPRECATED: Use body2 instead
|
|
1270
|
-
fontFamily:
|
|
1269
|
+
fontFamily: o,
|
|
1271
1270
|
fontSize: 15,
|
|
1272
1271
|
lineHeight: "20px"
|
|
1273
1272
|
},
|
|
1274
1273
|
body2: {
|
|
1275
|
-
fontFamily:
|
|
1274
|
+
fontFamily: o,
|
|
1276
1275
|
fontSize: 13,
|
|
1277
1276
|
lineHeight: "16px"
|
|
1278
1277
|
},
|
|
1279
1278
|
Button: {
|
|
1280
1279
|
// DEPRECATED: Use button instead
|
|
1281
|
-
fontFamily:
|
|
1280
|
+
fontFamily: o,
|
|
1282
1281
|
fontSize: 15
|
|
1283
1282
|
},
|
|
1284
1283
|
button: {
|
|
1285
|
-
fontFamily:
|
|
1284
|
+
fontFamily: o,
|
|
1286
1285
|
fontSize: 15
|
|
1287
1286
|
},
|
|
1288
1287
|
XSmall: {
|
|
1289
1288
|
// DEPRECATED: Use caption instead
|
|
1290
|
-
fontFamily:
|
|
1289
|
+
fontFamily: o,
|
|
1291
1290
|
fontSize: 11,
|
|
1292
1291
|
lineHeight: "16px"
|
|
1293
1292
|
},
|
|
1294
1293
|
caption: {
|
|
1295
|
-
fontFamily:
|
|
1294
|
+
fontFamily: o,
|
|
1296
1295
|
fontSize: 11,
|
|
1297
1296
|
lineHeight: "16px"
|
|
1298
1297
|
},
|
|
1299
1298
|
H1: {
|
|
1300
1299
|
// DEPRECATED: Use h1 instead
|
|
1301
|
-
fontFamily:
|
|
1300
|
+
fontFamily: o,
|
|
1302
1301
|
fontWeight: 700,
|
|
1303
1302
|
fontSize: 31,
|
|
1304
1303
|
lineHeight: "40px"
|
|
1305
1304
|
},
|
|
1306
1305
|
h1: {
|
|
1307
|
-
fontFamily:
|
|
1306
|
+
fontFamily: o,
|
|
1308
1307
|
fontWeight: 700,
|
|
1309
1308
|
fontSize: 31,
|
|
1310
1309
|
lineHeight: "40px"
|
|
1311
1310
|
},
|
|
1312
1311
|
H2: {
|
|
1313
1312
|
// DEPRECATED: Use h2 instead
|
|
1314
|
-
fontFamily:
|
|
1313
|
+
fontFamily: o,
|
|
1315
1314
|
fontWeight: 700,
|
|
1316
1315
|
fontSize: 23,
|
|
1317
1316
|
lineHeight: "32px"
|
|
1318
1317
|
},
|
|
1319
1318
|
h2: {
|
|
1320
|
-
fontFamily:
|
|
1319
|
+
fontFamily: o,
|
|
1321
1320
|
fontWeight: 700,
|
|
1322
1321
|
fontSize: 23,
|
|
1323
1322
|
lineHeight: "32px"
|
|
1324
1323
|
},
|
|
1325
1324
|
H3: {
|
|
1326
1325
|
// DEPRECATED: Use h3 instead
|
|
1327
|
-
fontFamily:
|
|
1326
|
+
fontFamily: o,
|
|
1328
1327
|
fontWeight: 700,
|
|
1329
1328
|
fontSize: 18,
|
|
1330
1329
|
lineHeight: "24px"
|
|
1331
1330
|
},
|
|
1332
1331
|
h3: {
|
|
1333
|
-
fontFamily:
|
|
1332
|
+
fontFamily: o,
|
|
1334
1333
|
fontWeight: 700,
|
|
1335
1334
|
fontSize: 18,
|
|
1336
1335
|
lineHeight: "24px"
|
|
@@ -1349,50 +1348,50 @@ const tr = ({
|
|
|
1349
1348
|
// },
|
|
1350
1349
|
Paragraph: {
|
|
1351
1350
|
// DEPRECATED: Use subtitle1 instead
|
|
1352
|
-
fontFamily:
|
|
1351
|
+
fontFamily: o,
|
|
1353
1352
|
fontSize: 15,
|
|
1354
1353
|
lineHeight: "24px"
|
|
1355
1354
|
},
|
|
1356
1355
|
subtitle1: {
|
|
1357
|
-
fontFamily:
|
|
1356
|
+
fontFamily: o,
|
|
1358
1357
|
fontSize: 15,
|
|
1359
1358
|
lineHeight: "24px"
|
|
1360
1359
|
},
|
|
1361
1360
|
ParagraphSmall: {
|
|
1362
1361
|
// DEPRECATED: Use subtitle2 instead
|
|
1363
|
-
fontFamily:
|
|
1362
|
+
fontFamily: o,
|
|
1364
1363
|
fontSize: 13,
|
|
1365
1364
|
lineHeight: "20px"
|
|
1366
1365
|
},
|
|
1367
1366
|
subtitle2: {
|
|
1368
|
-
fontFamily:
|
|
1367
|
+
fontFamily: o,
|
|
1369
1368
|
fontSize: 13,
|
|
1370
1369
|
lineHeight: "20px"
|
|
1371
1370
|
},
|
|
1372
1371
|
Tiny: {
|
|
1373
1372
|
// DEPRECATED: Use tiny instead
|
|
1374
|
-
fontFamily:
|
|
1373
|
+
fontFamily: o,
|
|
1375
1374
|
fontSize: 9,
|
|
1376
1375
|
lineHeight: "12px"
|
|
1377
1376
|
},
|
|
1378
1377
|
tiny: {
|
|
1379
|
-
fontFamily:
|
|
1378
|
+
fontFamily: o,
|
|
1380
1379
|
fontSize: 9,
|
|
1381
1380
|
lineHeight: "12px"
|
|
1382
1381
|
},
|
|
1383
1382
|
...e
|
|
1384
1383
|
};
|
|
1385
1384
|
};
|
|
1386
|
-
|
|
1385
|
+
ke.setLicenseKey(
|
|
1387
1386
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1388
1387
|
);
|
|
1389
|
-
const
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
const
|
|
1394
|
-
const i =
|
|
1395
|
-
return
|
|
1388
|
+
const P = [...j().shadows];
|
|
1389
|
+
P[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1390
|
+
P[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1391
|
+
P[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1392
|
+
const ro = (e, o) => {
|
|
1393
|
+
const i = Ue(e, o?.paletteOptions), n = Ze(o?.typographyOptions);
|
|
1394
|
+
return j({
|
|
1396
1395
|
breakpoints: {
|
|
1397
1396
|
values: {
|
|
1398
1397
|
xs: 444,
|
|
@@ -1403,38 +1402,38 @@ const lr = (e, r) => {
|
|
|
1403
1402
|
}
|
|
1404
1403
|
},
|
|
1405
1404
|
palette: i,
|
|
1406
|
-
shadows:
|
|
1405
|
+
shadows: P,
|
|
1407
1406
|
shape: {
|
|
1408
|
-
borderRadius:
|
|
1407
|
+
borderRadius: o?.shapeOptions?.borderRadius || 4
|
|
1409
1408
|
},
|
|
1410
1409
|
spacing: 1,
|
|
1411
1410
|
// TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
|
|
1412
|
-
typography:
|
|
1411
|
+
typography: n,
|
|
1413
1412
|
components: {
|
|
1414
1413
|
MuiAlert: {
|
|
1415
1414
|
defaultProps: {
|
|
1416
1415
|
iconMapping: {
|
|
1417
|
-
success: /* @__PURE__ */
|
|
1418
|
-
error: /* @__PURE__ */
|
|
1419
|
-
warning: /* @__PURE__ */
|
|
1420
|
-
info: /* @__PURE__ */
|
|
1416
|
+
success: /* @__PURE__ */ a(M, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
|
|
1417
|
+
error: /* @__PURE__ */ a(M, { fill: !0, name: "error", size: 24, weight: 400 }),
|
|
1418
|
+
warning: /* @__PURE__ */ a(M, { fill: !0, name: "warning", size: 24, weight: 400 }),
|
|
1419
|
+
info: /* @__PURE__ */ a(M, { fill: !0, name: "info", size: 24, weight: 400 })
|
|
1421
1420
|
},
|
|
1422
1421
|
variant: "outlined"
|
|
1423
1422
|
},
|
|
1424
1423
|
styleOverrides: {
|
|
1425
|
-
root: ({ theme:
|
|
1424
|
+
root: ({ theme: r, ownerState: d }) => {
|
|
1426
1425
|
const c = d.severity || "info";
|
|
1427
|
-
let l =
|
|
1426
|
+
let l = r.palette.mode === v.LIGHT ? r.palette[c]?.[50] : r.palette[c]?.[800];
|
|
1428
1427
|
if (d.variant === "filled") {
|
|
1429
1428
|
const s = c === "warning";
|
|
1430
|
-
l =
|
|
1429
|
+
l = r.palette[c]?.[s ? 400 : 600];
|
|
1431
1430
|
}
|
|
1432
1431
|
return {
|
|
1433
1432
|
backgroundColor: l,
|
|
1434
|
-
borderRadius:
|
|
1433
|
+
borderRadius: r.shape.borderRadius,
|
|
1435
1434
|
"& .MuiAlert-message": {
|
|
1436
|
-
fontSize:
|
|
1437
|
-
lineHeight:
|
|
1435
|
+
fontSize: r.typography.subtitle1.fontSize,
|
|
1436
|
+
lineHeight: r.typography.subtitle1.lineHeight,
|
|
1438
1437
|
marginTop: "auto",
|
|
1439
1438
|
marginBottom: "auto"
|
|
1440
1439
|
},
|
|
@@ -1460,14 +1459,14 @@ const lr = (e, r) => {
|
|
|
1460
1459
|
disableElevation: !0
|
|
1461
1460
|
},
|
|
1462
1461
|
styleOverrides: {
|
|
1463
|
-
root: ({ theme:
|
|
1462
|
+
root: ({ theme: r }) => ({
|
|
1464
1463
|
fontWeight: 600,
|
|
1465
1464
|
textTransform: "none",
|
|
1466
1465
|
"&.Mui-disabled": {
|
|
1467
1466
|
cursor: "not-allowed"
|
|
1468
1467
|
},
|
|
1469
1468
|
"&.Mui-focusVisible": {
|
|
1470
|
-
outline: `2px solid ${
|
|
1469
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1471
1470
|
outlineOffset: "2px"
|
|
1472
1471
|
}
|
|
1473
1472
|
}),
|
|
@@ -1512,7 +1511,7 @@ const lr = (e, r) => {
|
|
|
1512
1511
|
MuiCircularProgress: {
|
|
1513
1512
|
styleOverrides: {
|
|
1514
1513
|
root: {
|
|
1515
|
-
[`& .${
|
|
1514
|
+
[`& .${Fe.circle}`]: {
|
|
1516
1515
|
strokeLinecap: "round"
|
|
1517
1516
|
}
|
|
1518
1517
|
}
|
|
@@ -1533,22 +1532,22 @@ const lr = (e, r) => {
|
|
|
1533
1532
|
},
|
|
1534
1533
|
MuiDataGrid: {
|
|
1535
1534
|
styleOverrides: {
|
|
1536
|
-
root: ({ theme:
|
|
1535
|
+
root: ({ theme: r }) => ({
|
|
1537
1536
|
border: "none",
|
|
1538
1537
|
borderRadius: 0,
|
|
1539
|
-
fontSize:
|
|
1538
|
+
fontSize: r.typography.body2.fontSize,
|
|
1540
1539
|
"& .MuiDataGrid-cell": {
|
|
1541
1540
|
display: "flex",
|
|
1542
1541
|
alignItems: "center",
|
|
1543
1542
|
borderTop: "1px solid",
|
|
1544
|
-
borderColor:
|
|
1543
|
+
borderColor: r.palette.background.highlight
|
|
1545
1544
|
},
|
|
1546
1545
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1547
1546
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1548
1547
|
"& .MuiDataGrid-columnHeaders": {
|
|
1549
|
-
backgroundColor:
|
|
1548
|
+
backgroundColor: r.palette.background.paper,
|
|
1550
1549
|
borderBottom: "2px solid",
|
|
1551
|
-
borderColor:
|
|
1550
|
+
borderColor: r.palette.divider
|
|
1552
1551
|
},
|
|
1553
1552
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1554
1553
|
fontWeight: 600
|
|
@@ -1566,42 +1565,42 @@ const lr = (e, r) => {
|
|
|
1566
1565
|
},
|
|
1567
1566
|
MuiDateRangePickerDay: {
|
|
1568
1567
|
styleOverrides: {
|
|
1569
|
-
root: ({ theme:
|
|
1568
|
+
root: ({ theme: r }) => ({
|
|
1570
1569
|
":first-of-type": {
|
|
1571
|
-
borderTopLeftRadius:
|
|
1572
|
-
borderBottomLeftRadius:
|
|
1570
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1571
|
+
borderBottomLeftRadius: r.shape.borderRadius,
|
|
1573
1572
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1574
|
-
borderTopLeftRadius:
|
|
1575
|
-
borderBottomLeftRadius:
|
|
1573
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1574
|
+
borderBottomLeftRadius: r.shape.borderRadius
|
|
1576
1575
|
}
|
|
1577
1576
|
},
|
|
1578
1577
|
":last-of-type": {
|
|
1579
|
-
borderTopRightRadius:
|
|
1580
|
-
borderBottomRightRadius:
|
|
1578
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1579
|
+
borderBottomRightRadius: r.shape.borderRadius,
|
|
1581
1580
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1582
|
-
borderTopRightRadius:
|
|
1583
|
-
borderBottomRightRadius:
|
|
1581
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1582
|
+
borderBottomRightRadius: r.shape.borderRadius
|
|
1584
1583
|
}
|
|
1585
1584
|
},
|
|
1586
1585
|
"& .Mui-selected": {
|
|
1587
|
-
borderRadius:
|
|
1586
|
+
borderRadius: r.shape.borderRadius
|
|
1588
1587
|
},
|
|
1589
1588
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1590
|
-
color:
|
|
1589
|
+
color: r.palette.action.disabled
|
|
1591
1590
|
}
|
|
1592
1591
|
}),
|
|
1593
|
-
day: ({ theme:
|
|
1594
|
-
borderRadius:
|
|
1592
|
+
day: ({ theme: r }) => ({
|
|
1593
|
+
borderRadius: r.shape.borderRadius
|
|
1595
1594
|
}),
|
|
1596
|
-
rangeIntervalDayPreview: ({ theme:
|
|
1597
|
-
borderRadius:
|
|
1595
|
+
rangeIntervalDayPreview: ({ theme: r }) => ({
|
|
1596
|
+
borderRadius: r.shape.borderRadius
|
|
1598
1597
|
})
|
|
1599
1598
|
}
|
|
1600
1599
|
},
|
|
1601
1600
|
MuiDayCalendar: {
|
|
1602
1601
|
styleOverrides: {
|
|
1603
|
-
weekDayLabel: ({ theme:
|
|
1604
|
-
fontSize:
|
|
1602
|
+
weekDayLabel: ({ theme: r }) => ({
|
|
1603
|
+
fontSize: r.typography.body2.fontSize,
|
|
1605
1604
|
fontWeight: 700
|
|
1606
1605
|
})
|
|
1607
1606
|
}
|
|
@@ -1643,14 +1642,14 @@ const lr = (e, r) => {
|
|
|
1643
1642
|
},
|
|
1644
1643
|
MuiFormHelperText: {
|
|
1645
1644
|
styleOverrides: {
|
|
1646
|
-
root: ({ theme:
|
|
1645
|
+
root: ({ theme: r }) => ({
|
|
1647
1646
|
fontSize: 13,
|
|
1648
1647
|
// Small
|
|
1649
1648
|
marginLeft: 0,
|
|
1650
1649
|
display: "flex",
|
|
1651
1650
|
alignItems: "center",
|
|
1652
1651
|
position: "relative",
|
|
1653
|
-
color:
|
|
1652
|
+
color: r.palette.text.secondary,
|
|
1654
1653
|
"& .MuiSvgIcon-root": {
|
|
1655
1654
|
height: "16px",
|
|
1656
1655
|
width: "16px",
|
|
@@ -1681,19 +1680,19 @@ const lr = (e, r) => {
|
|
|
1681
1680
|
disableFocusRipple: !0
|
|
1682
1681
|
},
|
|
1683
1682
|
styleOverrides: {
|
|
1684
|
-
root: ({ theme:
|
|
1685
|
-
borderRadius:
|
|
1683
|
+
root: ({ theme: r }) => ({
|
|
1684
|
+
borderRadius: r.shape.borderRadius,
|
|
1686
1685
|
minHeight: 44,
|
|
1687
1686
|
// touch target
|
|
1688
1687
|
minWidth: 44,
|
|
1689
1688
|
// touch target
|
|
1690
1689
|
"&.Mui-focusVisible": {
|
|
1691
|
-
outline: `2px solid ${
|
|
1690
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1692
1691
|
outlineOffset: "2px"
|
|
1693
1692
|
},
|
|
1694
1693
|
"& .MuiTouchRipple-root": {
|
|
1695
1694
|
"& .MuiTouchRipple-child": {
|
|
1696
|
-
borderRadius:
|
|
1695
|
+
borderRadius: r.shape.borderRadius
|
|
1697
1696
|
}
|
|
1698
1697
|
}
|
|
1699
1698
|
})
|
|
@@ -1720,7 +1719,7 @@ const lr = (e, r) => {
|
|
|
1720
1719
|
},
|
|
1721
1720
|
MuiLink: {
|
|
1722
1721
|
styleOverrides: {
|
|
1723
|
-
root: ({ theme:
|
|
1722
|
+
root: ({ theme: r, color: d }) => ({
|
|
1724
1723
|
cursor: "pointer",
|
|
1725
1724
|
fontWeight: 600,
|
|
1726
1725
|
textDecoration: "none",
|
|
@@ -1732,10 +1731,10 @@ const lr = (e, r) => {
|
|
|
1732
1731
|
outlineOffset: "2px"
|
|
1733
1732
|
},
|
|
1734
1733
|
"&:hover": {
|
|
1735
|
-
backgroundColor:
|
|
1734
|
+
backgroundColor: r.palette.action.hover
|
|
1736
1735
|
},
|
|
1737
1736
|
"&:active": {
|
|
1738
|
-
backgroundColor:
|
|
1737
|
+
backgroundColor: r.palette.mode === v.LIGHT ? r.palette[d].light : r.palette[d].dark
|
|
1739
1738
|
}
|
|
1740
1739
|
})
|
|
1741
1740
|
}
|
|
@@ -1762,9 +1761,9 @@ const lr = (e, r) => {
|
|
|
1762
1761
|
disablePadding: !0
|
|
1763
1762
|
},
|
|
1764
1763
|
styleOverrides: {
|
|
1765
|
-
root: ({ ownerState:
|
|
1764
|
+
root: ({ ownerState: r }) => ({
|
|
1766
1765
|
minHeight: 64,
|
|
1767
|
-
...!
|
|
1766
|
+
...!r.disablePadding && {
|
|
1768
1767
|
paddingTop: 12,
|
|
1769
1768
|
paddingBottom: 12,
|
|
1770
1769
|
paddingLeft: 24
|
|
@@ -1788,7 +1787,7 @@ const lr = (e, r) => {
|
|
|
1788
1787
|
},
|
|
1789
1788
|
MuiListItemButton: {
|
|
1790
1789
|
styleOverrides: {
|
|
1791
|
-
root: ({ theme:
|
|
1790
|
+
root: ({ theme: r }) => ({
|
|
1792
1791
|
minHeight: 64,
|
|
1793
1792
|
paddingLeft: 24,
|
|
1794
1793
|
paddingRight: 24,
|
|
@@ -1797,7 +1796,7 @@ const lr = (e, r) => {
|
|
|
1797
1796
|
"&.Mui-focusVisible": {
|
|
1798
1797
|
backgroundColor: "transparent",
|
|
1799
1798
|
borderRadius: 8,
|
|
1800
|
-
outline: `2px solid ${
|
|
1799
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1801
1800
|
outlineOffset: -2
|
|
1802
1801
|
}
|
|
1803
1802
|
})
|
|
@@ -1880,8 +1879,8 @@ const lr = (e, r) => {
|
|
|
1880
1879
|
MuiPaper: {
|
|
1881
1880
|
styleOverrides: {
|
|
1882
1881
|
root: {
|
|
1883
|
-
borderRadius: 8
|
|
1884
|
-
backgroundImage:
|
|
1882
|
+
borderRadius: 8
|
|
1883
|
+
// backgroundImage: 'unset',
|
|
1885
1884
|
}
|
|
1886
1885
|
}
|
|
1887
1886
|
},
|
|
@@ -1914,20 +1913,20 @@ const lr = (e, r) => {
|
|
|
1914
1913
|
gridColumn: "1/4",
|
|
1915
1914
|
"& > .MuiTypography-root": {
|
|
1916
1915
|
textTransform: "uppercase",
|
|
1917
|
-
fontSize:
|
|
1916
|
+
fontSize: n.body2.fontSize,
|
|
1918
1917
|
fontWeight: 600,
|
|
1919
|
-
lineHeight:
|
|
1918
|
+
lineHeight: n.body2.lineHeight
|
|
1920
1919
|
}
|
|
1921
1920
|
}
|
|
1922
1921
|
}
|
|
1923
1922
|
},
|
|
1924
1923
|
MuiPickersToolbar: {
|
|
1925
1924
|
styleOverrides: {
|
|
1926
|
-
content: ({ theme:
|
|
1925
|
+
content: ({ theme: r }) => ({
|
|
1927
1926
|
marginTop: 4,
|
|
1928
1927
|
"& .MuiTypography-root": {
|
|
1929
|
-
fontSize:
|
|
1930
|
-
lineHeight:
|
|
1928
|
+
fontSize: r.typography.h3.fontSize,
|
|
1929
|
+
lineHeight: r.typography.h3.lineHeight
|
|
1931
1930
|
}
|
|
1932
1931
|
})
|
|
1933
1932
|
}
|
|
@@ -1953,7 +1952,7 @@ const lr = (e, r) => {
|
|
|
1953
1952
|
disableFocusRipple: !0
|
|
1954
1953
|
},
|
|
1955
1954
|
styleOverrides: {
|
|
1956
|
-
root: ({ theme:
|
|
1955
|
+
root: ({ theme: r }) => ({
|
|
1957
1956
|
width: 37,
|
|
1958
1957
|
height: 20,
|
|
1959
1958
|
padding: 0,
|
|
@@ -1964,7 +1963,7 @@ const lr = (e, r) => {
|
|
|
1964
1963
|
"&.Mui-checked": {
|
|
1965
1964
|
transform: "translateX(16px)",
|
|
1966
1965
|
"& + .MuiSwitch-track": {
|
|
1967
|
-
backgroundColor:
|
|
1966
|
+
backgroundColor: r.palette.success.main,
|
|
1968
1967
|
opacity: 1,
|
|
1969
1968
|
border: 0
|
|
1970
1969
|
},
|
|
@@ -1973,27 +1972,27 @@ const lr = (e, r) => {
|
|
|
1973
1972
|
}
|
|
1974
1973
|
},
|
|
1975
1974
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1976
|
-
color:
|
|
1975
|
+
color: r.palette.common.white
|
|
1977
1976
|
},
|
|
1978
1977
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1979
|
-
backgroundColor:
|
|
1978
|
+
backgroundColor: r.palette.action.disabledBackground,
|
|
1980
1979
|
opacity: 1
|
|
1981
1980
|
}
|
|
1982
1981
|
},
|
|
1983
1982
|
"& .MuiSwitch-input": {
|
|
1984
1983
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
1985
|
-
outline: `2px solid ${
|
|
1984
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1986
1985
|
outlineOffset: 0
|
|
1987
1986
|
}
|
|
1988
1987
|
},
|
|
1989
1988
|
"& .MuiSwitch-thumb": {
|
|
1990
1989
|
boxSizing: "border-box",
|
|
1991
|
-
backgroundColor:
|
|
1990
|
+
backgroundColor: r.palette.background.paper,
|
|
1992
1991
|
width: 16,
|
|
1993
1992
|
height: 16
|
|
1994
1993
|
},
|
|
1995
1994
|
"& .MuiSwitch-track": {
|
|
1996
|
-
backgroundColor:
|
|
1995
|
+
backgroundColor: r.palette.action.active,
|
|
1997
1996
|
borderRadius: 20 / 2,
|
|
1998
1997
|
opacity: 1
|
|
1999
1998
|
}
|
|
@@ -2143,51 +2142,51 @@ const lr = (e, r) => {
|
|
|
2143
2142
|
});
|
|
2144
2143
|
};
|
|
2145
2144
|
export {
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2145
|
+
S0 as AccountsFilledIcon,
|
|
2146
|
+
I0 as AccountsIcon,
|
|
2147
|
+
v0 as ArrowLeftIcon,
|
|
2148
|
+
H0 as AttentionFilledIcon,
|
|
2150
2149
|
f as BaseIcon,
|
|
2151
|
-
|
|
2152
|
-
|
|
2150
|
+
$0 as BottomSheetTransition,
|
|
2151
|
+
y0 as CalendarIcon,
|
|
2153
2152
|
g as CategoryGuids,
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2153
|
+
Pe as CategoryIcon,
|
|
2154
|
+
Ne as CategoryIconList,
|
|
2155
|
+
De as CategoryIconVariants,
|
|
2156
|
+
O0 as CheckmarkFilledIcon,
|
|
2157
|
+
F0 as ChevronDownIcon,
|
|
2158
|
+
k0 as ChevronLeftIcon,
|
|
2159
|
+
L0 as ChevronRightIcon,
|
|
2160
|
+
D0 as CloseIcon,
|
|
2161
|
+
G0 as DateRangePicker,
|
|
2162
|
+
Be as DialogFooter,
|
|
2163
|
+
Y0 as DialogHeader,
|
|
2164
|
+
X0 as Drawer,
|
|
2165
|
+
N0 as EditIcon,
|
|
2166
|
+
w0 as FilterIcon,
|
|
2167
|
+
Be as Footer,
|
|
2168
|
+
ze as H1,
|
|
2169
|
+
U0 as H2,
|
|
2170
|
+
W0 as H3,
|
|
2171
|
+
P0 as HeartIcon,
|
|
2172
|
+
We as INTER,
|
|
2174
2173
|
M as Icon,
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2174
|
+
Le as IconWeight,
|
|
2175
|
+
K0 as InstitutionLogo,
|
|
2176
|
+
B0 as MXLogoCopyrightIcon,
|
|
2177
|
+
z0 as MXLogoFilledIcon,
|
|
2178
|
+
_0 as MXLogoIcon,
|
|
2179
|
+
V0 as MXLogoOutlineIcon,
|
|
2180
|
+
j0 as MerchantLogo,
|
|
2181
|
+
Z0 as P,
|
|
2182
|
+
oo as SelectionBox,
|
|
2183
|
+
O as TARGETS,
|
|
2184
|
+
w as THEMES,
|
|
2185
|
+
k as Text,
|
|
2186
|
+
Q0 as TextField,
|
|
2187
|
+
J0 as Toast,
|
|
2188
|
+
q0 as TokenProvider,
|
|
2189
|
+
ro as createMXTheme,
|
|
2190
|
+
eo as useTokens
|
|
2192
2191
|
};
|
|
2193
2192
|
//# sourceMappingURL=index.es.js.map
|