@mxenabled/mxui 1.5.0 → 1.5.2
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
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
|
|
3
|
+
import k 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
6
|
import { endOfMonth as $ } from "date-fns/endOfMonth";
|
|
7
|
-
import { endOfYear as
|
|
8
|
-
import { startOfToday as
|
|
7
|
+
import { endOfYear as pe } from "date-fns/endOfYear";
|
|
8
|
+
import { startOfToday as he } from "date-fns/startOfToday";
|
|
9
9
|
import { startOfMonth as W } from "date-fns/startOfMonth";
|
|
10
10
|
import { startOfYear as Z } from "date-fns/startOfYear";
|
|
11
11
|
import { subDays as K } from "date-fns/subDays";
|
|
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
|
|
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
21
|
import B 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
|
|
32
|
-
const
|
|
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 Y, Typography as X, Radio as L, Checkbox as ye, alpha as b, darken as N, lighten as y, getContrastRatio as Oe } from "@mui/material";
|
|
30
|
+
import { circularProgressClasses as ke } from "@mui/material/CircularProgress";
|
|
31
|
+
import { LicenseInfo as Fe } from "@mui/x-license-pro";
|
|
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 De = /* @__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))(De || {});
|
|
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
|
+
), I0 = ({
|
|
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
|
+
) })), v0 = ({
|
|
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
|
+
) })), H0 = ({
|
|
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
|
+
) })), y0 = ({
|
|
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
|
+
) })), O0 = ({
|
|
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
|
+
) })), k0 = ({
|
|
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
|
+
) })), D0 = ({
|
|
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
|
+
) })), N0 = ({
|
|
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
|
+
) })), _0 = ({
|
|
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
|
+
) })), B0 = ({
|
|
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
|
+
] }), z0 = ({
|
|
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
|
+
] }), V0 = ({
|
|
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
|
+
) }), G0 = ({
|
|
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 || {}),
|
|
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 || {}), Le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Le || {});
|
|
284
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",
|
|
@@ -387,55 +387,55 @@ const oe = {
|
|
|
387
387
|
icon: "airplane_ticket"
|
|
388
388
|
},
|
|
389
389
|
oe
|
|
390
|
-
],
|
|
390
|
+
], we = 0.625, _e = ({
|
|
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
|
+
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
|
+
}, Pe = ({
|
|
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 oe = {
|
|
|
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,15 +462,15 @@ const oe = {
|
|
|
462
462
|
},
|
|
463
463
|
c.label
|
|
464
464
|
)) }) });
|
|
465
|
-
},
|
|
465
|
+
}, U0 = ({
|
|
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,
|
|
@@ -494,7 +494,7 @@ const oe = {
|
|
|
494
494
|
},
|
|
495
495
|
{
|
|
496
496
|
label: e.dateRangeLastYear,
|
|
497
|
-
getValue: () => [Z(T),
|
|
497
|
+
getValue: () => [Z(T), pe(T)]
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
label: e.dateRangeCustom,
|
|
@@ -505,8 +505,8 @@ const oe = {
|
|
|
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(be, { dateAdapter: Ce, children: /* @__PURE__ */ a(
|
|
509
|
+
Te,
|
|
510
510
|
{
|
|
511
511
|
calendars: 1,
|
|
512
512
|
localeText: {
|
|
@@ -526,47 +526,47 @@ const oe = {
|
|
|
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(Pe, { 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
|
+
k,
|
|
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__ */
|
|
556
|
+
e && /* @__PURE__ */ a(
|
|
557
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__ */
|
|
565
|
+
i && /* @__PURE__ */ a(
|
|
566
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 oe = {
|
|
|
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 oe = {
|
|
|
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 oe = {
|
|
|
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(F, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...i, children: o }), W0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(F, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...i, children: o }), Z0 = ({ className: e = "", children: o, ...i }) => /* @__PURE__ */ a(F, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...i, children: o }), K0 = ({ 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
|
-
),
|
|
653
|
-
|
|
652
|
+
), Y0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
|
|
653
|
+
k,
|
|
654
654
|
{
|
|
655
655
|
sx: {
|
|
656
656
|
alignItems: "center",
|
|
@@ -660,79 +660,79 @@ const oe = {
|
|
|
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`, j0 = ({
|
|
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 || `${V}/Ipad%20Logos/100x100/${
|
|
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
|
+
), Q0 = ({
|
|
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
737
|
src: `${V}/merchant_logos/${i}.png`,
|
|
738
738
|
style: {
|
|
@@ -741,38 +741,38 @@ const oe = {
|
|
|
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(_e, { categoryGuid: o, size: n })
|
|
748
748
|
] });
|
|
749
|
-
},
|
|
749
|
+
}, J0 = ({
|
|
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 q0 = ({
|
|
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 or = ({
|
|
|
780
780
|
onActionClick: t,
|
|
781
781
|
multiLine: u = !1
|
|
782
782
|
}) => {
|
|
783
|
-
const T = H(),
|
|
784
|
-
|
|
783
|
+
const T = H(), D = /* @__PURE__ */ x(
|
|
784
|
+
k,
|
|
785
785
|
{
|
|
786
786
|
alignItems: u ? "flex-end" : "center",
|
|
787
787
|
direction: u ? "column-reverse" : "row",
|
|
@@ -790,11 +790,11 @@ const or = ({
|
|
|
790
790
|
u && c && l ? "space-between" : "flex-end"
|
|
791
791
|
),
|
|
792
792
|
children: [
|
|
793
|
-
c && /* @__PURE__ */
|
|
793
|
+
c && /* @__PURE__ */ a(
|
|
794
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 or = ({
|
|
|
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
|
-
action:
|
|
835
|
-
severity:
|
|
834
|
+
action: D,
|
|
835
|
+
severity: r,
|
|
836
836
|
sx: {
|
|
837
837
|
display: "flex",
|
|
838
838
|
alignItems: "stretch",
|
|
@@ -853,8 +853,8 @@ const or = ({
|
|
|
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,117 +870,132 @@ const or = ({
|
|
|
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
|
-
z(
|
|
882
|
-
),
|
|
880
|
+
}, te = C.createContext(ee), ie = C.createContext(
|
|
881
|
+
z(_.LIGHT, O.REACT_NATIVE)
|
|
882
|
+
), eo = ({
|
|
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 ? ee : ve), c = C.useMemo(() => ({
|
|
889
|
+
...n
|
|
890
|
+
}), [n]);
|
|
891
891
|
return C.useEffect(() => {
|
|
892
|
-
const l = z(i,
|
|
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
|
+
}, oo = (e = O.REACT, o = {}) => {
|
|
896
|
+
const i = e === O.REACT ? te : ie, n = C.useContext(i);
|
|
897
|
+
return n || z(_.LIGHT, e, { ...o });
|
|
898
|
+
}, ro = ({
|
|
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,
|
|
907
907
|
disabled: s = !1,
|
|
908
908
|
error: t = !1,
|
|
909
909
|
icon: u = !1,
|
|
910
|
-
sx: T = {}
|
|
910
|
+
sx: T = {},
|
|
911
|
+
...D
|
|
911
912
|
}) => {
|
|
912
|
-
const
|
|
913
|
-
if (!s &&
|
|
914
|
-
const U = e ===
|
|
915
|
-
|
|
913
|
+
const m = H(), ae = () => {
|
|
914
|
+
if (!s && n) {
|
|
915
|
+
const U = e === L ? !0 : !i;
|
|
916
|
+
n({
|
|
916
917
|
target: { value: l, checked: U }
|
|
917
918
|
}, U);
|
|
918
919
|
}
|
|
919
|
-
}, G = () => t ?
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
}, de = () => s || t ? y() : b(f.palette.primary.main, 0.1), ue = () => {
|
|
923
|
-
if (!s)
|
|
924
|
-
return t ? f.palette.error.main : b(f.palette.primary.main, 0.5);
|
|
925
|
-
}, pe = () => s || t ? y() : b(f.palette.primary.main, 0.3), he = () => s ? G() : t ? f.palette.error.main : f.palette.info.main, P = () => !!(r === "outlined" || r === "elevation" && (t || i));
|
|
926
|
-
return /* @__PURE__ */ R(
|
|
927
|
-
De,
|
|
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,
|
|
928
923
|
{
|
|
929
|
-
elevation:
|
|
930
|
-
onClick:
|
|
924
|
+
elevation: o === "elevation" ? 1 : 0,
|
|
925
|
+
onClick: ae,
|
|
931
926
|
sx: {
|
|
932
927
|
display: "flex",
|
|
933
928
|
padding: "6px 16px",
|
|
934
929
|
alignItems: "flex-start",
|
|
935
930
|
justifyContent: "space-between",
|
|
936
|
-
borderRadius:
|
|
931
|
+
borderRadius: m.shape.borderRadius / 2,
|
|
937
932
|
mb: 16,
|
|
938
933
|
cursor: s ? "not-allowed" : "pointer",
|
|
939
934
|
opacity: s ? 0.6 : 1,
|
|
940
|
-
backgroundColor:
|
|
941
|
-
border:
|
|
942
|
-
|
|
943
|
-
|
|
935
|
+
backgroundColor: ne(),
|
|
936
|
+
border: "none",
|
|
937
|
+
boxShadow: G(),
|
|
938
|
+
boxSizing: "border-box",
|
|
939
|
+
transition: m.transitions.create(["background-color", "box-shadow"], {
|
|
940
|
+
duration: m.transitions.duration.short
|
|
944
941
|
}),
|
|
945
942
|
"&:hover": {
|
|
946
|
-
|
|
947
|
-
|
|
943
|
+
backgroundColor: le(),
|
|
944
|
+
boxShadow: ce()
|
|
948
945
|
},
|
|
949
946
|
"&:active": {
|
|
950
|
-
|
|
951
|
-
backgroundColor: pe()
|
|
947
|
+
backgroundColor: se()
|
|
952
948
|
},
|
|
953
949
|
"&:focus-visible": {
|
|
954
|
-
outline: `2px solid ${
|
|
950
|
+
outline: `2px solid ${m.palette.info.main}`,
|
|
955
951
|
outlineOffset: "2px"
|
|
956
952
|
},
|
|
957
953
|
...T
|
|
958
954
|
},
|
|
959
955
|
tabIndex: 0,
|
|
960
|
-
variant:
|
|
956
|
+
variant: o,
|
|
961
957
|
children: [
|
|
962
|
-
u && /* @__PURE__ */
|
|
958
|
+
u && /* @__PURE__ */ a(
|
|
963
959
|
Y,
|
|
964
960
|
{
|
|
965
961
|
sx: {
|
|
966
|
-
mr:
|
|
962
|
+
mr: 12,
|
|
967
963
|
mt: "8px",
|
|
968
964
|
flexShrink: 0
|
|
969
965
|
},
|
|
970
966
|
children: u
|
|
971
967
|
}
|
|
972
968
|
),
|
|
973
|
-
/* @__PURE__ */
|
|
974
|
-
|
|
975
|
-
/* @__PURE__ */
|
|
969
|
+
/* @__PURE__ */ x(Y, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
970
|
+
r && /* @__PURE__ */ a(X, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: r }),
|
|
971
|
+
/* @__PURE__ */ a(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: d })
|
|
976
972
|
] }),
|
|
977
|
-
/* @__PURE__ */
|
|
978
|
-
|
|
973
|
+
e === L ? /* @__PURE__ */ a(
|
|
974
|
+
L,
|
|
975
|
+
{
|
|
976
|
+
checked: i,
|
|
977
|
+
disabled: s,
|
|
978
|
+
name: c,
|
|
979
|
+
onChange: n,
|
|
980
|
+
sx: {
|
|
981
|
+
p: 0,
|
|
982
|
+
ml: 16,
|
|
983
|
+
mt: "8px",
|
|
984
|
+
flexShrink: 0,
|
|
985
|
+
"& .MuiSvgIcon-root": {
|
|
986
|
+
fontSize: "20px"
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
value: l,
|
|
990
|
+
...D
|
|
991
|
+
}
|
|
992
|
+
) : /* @__PURE__ */ a(
|
|
993
|
+
ye,
|
|
979
994
|
{
|
|
980
995
|
checked: i,
|
|
981
996
|
disabled: s,
|
|
982
997
|
name: c,
|
|
983
|
-
onChange:
|
|
998
|
+
onChange: n,
|
|
984
999
|
sx: {
|
|
985
1000
|
p: 0,
|
|
986
1001
|
ml: 16,
|
|
@@ -990,7 +1005,8 @@ const or = ({
|
|
|
990
1005
|
fontSize: "20px"
|
|
991
1006
|
}
|
|
992
1007
|
},
|
|
993
|
-
value: l
|
|
1008
|
+
value: l,
|
|
1009
|
+
...D
|
|
994
1010
|
}
|
|
995
1011
|
)
|
|
996
1012
|
]
|
|
@@ -998,18 +1014,18 @@ const or = ({
|
|
|
998
1014
|
);
|
|
999
1015
|
}, v = {
|
|
1000
1016
|
LIGHT: "light"
|
|
1001
|
-
},
|
|
1002
|
-
50:
|
|
1003
|
-
100:
|
|
1004
|
-
200:
|
|
1005
|
-
300:
|
|
1006
|
-
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),
|
|
1007
1023
|
500: e,
|
|
1008
|
-
600:
|
|
1009
|
-
700:
|
|
1010
|
-
800:
|
|
1011
|
-
900:
|
|
1012
|
-
}),
|
|
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", w = "#000000", Ue = "#F9F9F9", $e = "#1A1A1A", E = {
|
|
1013
1029
|
PRIMARY: "#2C64EF",
|
|
1014
1030
|
SECONDARY: "#808080",
|
|
1015
1031
|
INFO: "#2C64EF",
|
|
@@ -1017,7 +1033,7 @@ const or = ({
|
|
|
1017
1033
|
WARNING: "#FF7B00",
|
|
1018
1034
|
ERROR: "#E32727",
|
|
1019
1035
|
GREY: "#808080"
|
|
1020
|
-
},
|
|
1036
|
+
}, S = {
|
|
1021
1037
|
CHART1: "#74E4DA",
|
|
1022
1038
|
CHART2: "#ED64A4",
|
|
1023
1039
|
CHART3: "#F3DC46",
|
|
@@ -1078,8 +1094,8 @@ const or = ({
|
|
|
1078
1094
|
TRANSFER: "#75C7B7",
|
|
1079
1095
|
TRAVEL: "#76ACF7",
|
|
1080
1096
|
UNCATEGORIZED: "#BCC6D4"
|
|
1081
|
-
},
|
|
1082
|
-
const i =
|
|
1097
|
+
}, We = (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;
|
|
1083
1099
|
return {
|
|
1084
1100
|
mode: e,
|
|
1085
1101
|
// DEPRECATED: Use grey instead
|
|
@@ -1093,8 +1109,8 @@ const or = ({
|
|
|
1093
1109
|
darker: s[500]
|
|
1094
1110
|
},
|
|
1095
1111
|
common: {
|
|
1096
|
-
white:
|
|
1097
|
-
black:
|
|
1112
|
+
white: R,
|
|
1113
|
+
black: w
|
|
1098
1114
|
},
|
|
1099
1115
|
primary: {
|
|
1100
1116
|
...i,
|
|
@@ -1107,14 +1123,14 @@ const or = ({
|
|
|
1107
1123
|
darker: t ? i[900] : i[100]
|
|
1108
1124
|
},
|
|
1109
1125
|
secondary: {
|
|
1110
|
-
...
|
|
1126
|
+
...n,
|
|
1111
1127
|
/* DEPRECATED: Use light instead */
|
|
1112
|
-
lighter: t ?
|
|
1113
|
-
light: t ?
|
|
1114
|
-
main: t ?
|
|
1115
|
-
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],
|
|
1116
1132
|
/* DEPRECATED: Use dark instead */
|
|
1117
|
-
darker: t ?
|
|
1133
|
+
darker: t ? n[900] : n[100]
|
|
1118
1134
|
},
|
|
1119
1135
|
neutral: {
|
|
1120
1136
|
...s,
|
|
@@ -1125,22 +1141,22 @@ const or = ({
|
|
|
1125
1141
|
dark: t ? s[700] : s[200],
|
|
1126
1142
|
/* DEPRECATED: Use dark instead */
|
|
1127
1143
|
darker: t ? s[900] : s[100],
|
|
1128
|
-
contrastText:
|
|
1144
|
+
contrastText: Oe(t ? s[700] : s[400], "#fff") > 4.5 ? R : s[900]
|
|
1129
1145
|
},
|
|
1130
1146
|
text: {
|
|
1131
|
-
primary: t ? s[900] :
|
|
1132
|
-
secondary: t ? s[600] : b(
|
|
1133
|
-
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)
|
|
1134
1150
|
},
|
|
1135
1151
|
error: {
|
|
1136
|
-
...
|
|
1152
|
+
...r,
|
|
1137
1153
|
/* DEPRECATED: Use light instead */
|
|
1138
|
-
lighter: t ?
|
|
1139
|
-
light: t ?
|
|
1140
|
-
main: t ?
|
|
1141
|
-
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],
|
|
1142
1158
|
/* DEPRECATED: Use light instead */
|
|
1143
|
-
darker: t ?
|
|
1159
|
+
darker: t ? r[900] : r[100]
|
|
1144
1160
|
},
|
|
1145
1161
|
warning: {
|
|
1146
1162
|
...d,
|
|
@@ -1174,18 +1190,18 @@ const or = ({
|
|
|
1174
1190
|
},
|
|
1175
1191
|
grey: s,
|
|
1176
1192
|
action: {
|
|
1177
|
-
active: t ? b(
|
|
1193
|
+
active: t ? b(w, 0.56) : b(R, 0.56),
|
|
1178
1194
|
hoverOpacity: t ? 0.1 : 0.2,
|
|
1179
1195
|
selectedOpacity: t ? 0.16 : 0.25,
|
|
1180
1196
|
focusOpacity: 0.3
|
|
1181
1197
|
},
|
|
1182
1198
|
background: {
|
|
1183
|
-
default: t ?
|
|
1184
|
-
paper: t ?
|
|
1199
|
+
default: t ? o?.background?.default?.light || Ue : o?.background?.default?.dark || $e,
|
|
1200
|
+
paper: t ? o?.background?.paper?.light || R : o?.background?.paper?.dark || w,
|
|
1185
1201
|
highlight: t ? s[200] : s[600],
|
|
1186
1202
|
highlightPrimary: t ? i[100] : i[500]
|
|
1187
1203
|
},
|
|
1188
|
-
divider: t ? b(
|
|
1204
|
+
divider: t ? b(w, 0.12) : b(R, 0.24),
|
|
1189
1205
|
categories: {
|
|
1190
1206
|
autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1191
1207
|
billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
@@ -1211,13 +1227,13 @@ const or = ({
|
|
|
1211
1227
|
uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
|
|
1212
1228
|
},
|
|
1213
1229
|
chart: {
|
|
1214
|
-
chart1:
|
|
1215
|
-
chart2:
|
|
1216
|
-
chart3:
|
|
1217
|
-
chart4:
|
|
1218
|
-
chart5:
|
|
1219
|
-
chart6:
|
|
1220
|
-
chart7:
|
|
1230
|
+
chart1: S.CHART1,
|
|
1231
|
+
chart2: S.CHART2,
|
|
1232
|
+
chart3: S.CHART3,
|
|
1233
|
+
chart4: S.CHART4,
|
|
1234
|
+
chart5: S.CHART5,
|
|
1235
|
+
chart6: S.CHART6,
|
|
1236
|
+
chart7: S.CHART7
|
|
1221
1237
|
},
|
|
1222
1238
|
chartMono: {
|
|
1223
1239
|
chartMono1: I.CHART_MONO1,
|
|
@@ -1228,88 +1244,88 @@ const or = ({
|
|
|
1228
1244
|
chartMono6: I.CHART_MONO6
|
|
1229
1245
|
}
|
|
1230
1246
|
};
|
|
1231
|
-
},
|
|
1232
|
-
const
|
|
1247
|
+
}, Ze = "Inter, Helvetica, Arial, sans-serif", Ke = (e) => {
|
|
1248
|
+
const o = e?.fontFamily || Ze;
|
|
1233
1249
|
return {
|
|
1234
|
-
fontFamily:
|
|
1250
|
+
fontFamily: o,
|
|
1235
1251
|
fontSize: 15,
|
|
1236
1252
|
Body: {
|
|
1237
1253
|
// DEPRECATED: Use body1 instead
|
|
1238
|
-
fontFamily:
|
|
1254
|
+
fontFamily: o,
|
|
1239
1255
|
fontSize: 15,
|
|
1240
1256
|
lineHeight: "20px"
|
|
1241
1257
|
},
|
|
1242
1258
|
body1: {
|
|
1243
|
-
fontFamily:
|
|
1259
|
+
fontFamily: o,
|
|
1244
1260
|
fontSize: 15,
|
|
1245
1261
|
lineHeight: "20px"
|
|
1246
1262
|
},
|
|
1247
1263
|
Small: {
|
|
1248
1264
|
// DEPRECATED: Use body2 instead
|
|
1249
|
-
fontFamily:
|
|
1265
|
+
fontFamily: o,
|
|
1250
1266
|
fontSize: 15,
|
|
1251
1267
|
lineHeight: "20px"
|
|
1252
1268
|
},
|
|
1253
1269
|
body2: {
|
|
1254
|
-
fontFamily:
|
|
1270
|
+
fontFamily: o,
|
|
1255
1271
|
fontSize: 13,
|
|
1256
1272
|
lineHeight: "16px"
|
|
1257
1273
|
},
|
|
1258
1274
|
Button: {
|
|
1259
1275
|
// DEPRECATED: Use button instead
|
|
1260
|
-
fontFamily:
|
|
1276
|
+
fontFamily: o,
|
|
1261
1277
|
fontSize: 15
|
|
1262
1278
|
},
|
|
1263
1279
|
button: {
|
|
1264
|
-
fontFamily:
|
|
1280
|
+
fontFamily: o,
|
|
1265
1281
|
fontSize: 15
|
|
1266
1282
|
},
|
|
1267
1283
|
XSmall: {
|
|
1268
1284
|
// DEPRECATED: Use caption instead
|
|
1269
|
-
fontFamily:
|
|
1285
|
+
fontFamily: o,
|
|
1270
1286
|
fontSize: 11,
|
|
1271
1287
|
lineHeight: "16px"
|
|
1272
1288
|
},
|
|
1273
1289
|
caption: {
|
|
1274
|
-
fontFamily:
|
|
1290
|
+
fontFamily: o,
|
|
1275
1291
|
fontSize: 11,
|
|
1276
1292
|
lineHeight: "16px"
|
|
1277
1293
|
},
|
|
1278
1294
|
H1: {
|
|
1279
1295
|
// DEPRECATED: Use h1 instead
|
|
1280
|
-
fontFamily:
|
|
1296
|
+
fontFamily: o,
|
|
1281
1297
|
fontWeight: 700,
|
|
1282
1298
|
fontSize: 31,
|
|
1283
1299
|
lineHeight: "40px"
|
|
1284
1300
|
},
|
|
1285
1301
|
h1: {
|
|
1286
|
-
fontFamily:
|
|
1302
|
+
fontFamily: o,
|
|
1287
1303
|
fontWeight: 700,
|
|
1288
1304
|
fontSize: 31,
|
|
1289
1305
|
lineHeight: "40px"
|
|
1290
1306
|
},
|
|
1291
1307
|
H2: {
|
|
1292
1308
|
// DEPRECATED: Use h2 instead
|
|
1293
|
-
fontFamily:
|
|
1309
|
+
fontFamily: o,
|
|
1294
1310
|
fontWeight: 700,
|
|
1295
1311
|
fontSize: 23,
|
|
1296
1312
|
lineHeight: "32px"
|
|
1297
1313
|
},
|
|
1298
1314
|
h2: {
|
|
1299
|
-
fontFamily:
|
|
1315
|
+
fontFamily: o,
|
|
1300
1316
|
fontWeight: 700,
|
|
1301
1317
|
fontSize: 23,
|
|
1302
1318
|
lineHeight: "32px"
|
|
1303
1319
|
},
|
|
1304
1320
|
H3: {
|
|
1305
1321
|
// DEPRECATED: Use h3 instead
|
|
1306
|
-
fontFamily:
|
|
1322
|
+
fontFamily: o,
|
|
1307
1323
|
fontWeight: 700,
|
|
1308
1324
|
fontSize: 18,
|
|
1309
1325
|
lineHeight: "24px"
|
|
1310
1326
|
},
|
|
1311
1327
|
h3: {
|
|
1312
|
-
fontFamily:
|
|
1328
|
+
fontFamily: o,
|
|
1313
1329
|
fontWeight: 700,
|
|
1314
1330
|
fontSize: 18,
|
|
1315
1331
|
lineHeight: "24px"
|
|
@@ -1328,50 +1344,50 @@ const or = ({
|
|
|
1328
1344
|
// },
|
|
1329
1345
|
Paragraph: {
|
|
1330
1346
|
// DEPRECATED: Use subtitle1 instead
|
|
1331
|
-
fontFamily:
|
|
1347
|
+
fontFamily: o,
|
|
1332
1348
|
fontSize: 15,
|
|
1333
1349
|
lineHeight: "24px"
|
|
1334
1350
|
},
|
|
1335
1351
|
subtitle1: {
|
|
1336
|
-
fontFamily:
|
|
1352
|
+
fontFamily: o,
|
|
1337
1353
|
fontSize: 15,
|
|
1338
1354
|
lineHeight: "24px"
|
|
1339
1355
|
},
|
|
1340
1356
|
ParagraphSmall: {
|
|
1341
1357
|
// DEPRECATED: Use subtitle2 instead
|
|
1342
|
-
fontFamily:
|
|
1358
|
+
fontFamily: o,
|
|
1343
1359
|
fontSize: 13,
|
|
1344
1360
|
lineHeight: "20px"
|
|
1345
1361
|
},
|
|
1346
1362
|
subtitle2: {
|
|
1347
|
-
fontFamily:
|
|
1363
|
+
fontFamily: o,
|
|
1348
1364
|
fontSize: 13,
|
|
1349
1365
|
lineHeight: "20px"
|
|
1350
1366
|
},
|
|
1351
1367
|
Tiny: {
|
|
1352
1368
|
// DEPRECATED: Use tiny instead
|
|
1353
|
-
fontFamily:
|
|
1369
|
+
fontFamily: o,
|
|
1354
1370
|
fontSize: 9,
|
|
1355
1371
|
lineHeight: "12px"
|
|
1356
1372
|
},
|
|
1357
1373
|
tiny: {
|
|
1358
|
-
fontFamily:
|
|
1374
|
+
fontFamily: o,
|
|
1359
1375
|
fontSize: 9,
|
|
1360
1376
|
lineHeight: "12px"
|
|
1361
1377
|
},
|
|
1362
1378
|
...e
|
|
1363
1379
|
};
|
|
1364
1380
|
};
|
|
1365
|
-
|
|
1381
|
+
Fe.setLicenseKey(
|
|
1366
1382
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1367
1383
|
);
|
|
1368
|
-
const
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
const
|
|
1373
|
-
const i =
|
|
1374
|
-
return
|
|
1384
|
+
const P = [...j().shadows];
|
|
1385
|
+
P[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1386
|
+
P[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1387
|
+
P[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1388
|
+
const to = (e, o) => {
|
|
1389
|
+
const i = We(e, o?.paletteOptions), n = Ke(o?.typographyOptions);
|
|
1390
|
+
return j({
|
|
1375
1391
|
breakpoints: {
|
|
1376
1392
|
values: {
|
|
1377
1393
|
xs: 444,
|
|
@@ -1382,38 +1398,38 @@ const ar = (e, r) => {
|
|
|
1382
1398
|
}
|
|
1383
1399
|
},
|
|
1384
1400
|
palette: i,
|
|
1385
|
-
shadows:
|
|
1401
|
+
shadows: P,
|
|
1386
1402
|
shape: {
|
|
1387
|
-
borderRadius:
|
|
1403
|
+
borderRadius: o?.shapeOptions?.borderRadius || 4
|
|
1388
1404
|
},
|
|
1389
1405
|
spacing: 1,
|
|
1390
1406
|
// TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
|
|
1391
|
-
typography:
|
|
1407
|
+
typography: n,
|
|
1392
1408
|
components: {
|
|
1393
1409
|
MuiAlert: {
|
|
1394
1410
|
defaultProps: {
|
|
1395
1411
|
iconMapping: {
|
|
1396
|
-
success: /* @__PURE__ */
|
|
1397
|
-
error: /* @__PURE__ */
|
|
1398
|
-
warning: /* @__PURE__ */
|
|
1399
|
-
info: /* @__PURE__ */
|
|
1412
|
+
success: /* @__PURE__ */ a(M, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
|
|
1413
|
+
error: /* @__PURE__ */ a(M, { fill: !0, name: "error", size: 24, weight: 400 }),
|
|
1414
|
+
warning: /* @__PURE__ */ a(M, { fill: !0, name: "warning", size: 24, weight: 400 }),
|
|
1415
|
+
info: /* @__PURE__ */ a(M, { fill: !0, name: "info", size: 24, weight: 400 })
|
|
1400
1416
|
},
|
|
1401
1417
|
variant: "outlined"
|
|
1402
1418
|
},
|
|
1403
1419
|
styleOverrides: {
|
|
1404
|
-
root: ({ theme:
|
|
1420
|
+
root: ({ theme: r, ownerState: d }) => {
|
|
1405
1421
|
const c = d.severity || "info";
|
|
1406
|
-
let l =
|
|
1422
|
+
let l = r.palette.mode === v.LIGHT ? r.palette[c]?.[50] : r.palette[c]?.[800];
|
|
1407
1423
|
if (d.variant === "filled") {
|
|
1408
1424
|
const s = c === "warning";
|
|
1409
|
-
l =
|
|
1425
|
+
l = r.palette[c]?.[s ? 400 : 600];
|
|
1410
1426
|
}
|
|
1411
1427
|
return {
|
|
1412
1428
|
backgroundColor: l,
|
|
1413
|
-
borderRadius:
|
|
1429
|
+
borderRadius: r.shape.borderRadius,
|
|
1414
1430
|
"& .MuiAlert-message": {
|
|
1415
|
-
fontSize:
|
|
1416
|
-
lineHeight:
|
|
1431
|
+
fontSize: r.typography.subtitle1.fontSize,
|
|
1432
|
+
lineHeight: r.typography.subtitle1.lineHeight,
|
|
1417
1433
|
marginTop: "auto",
|
|
1418
1434
|
marginBottom: "auto"
|
|
1419
1435
|
},
|
|
@@ -1439,14 +1455,14 @@ const ar = (e, r) => {
|
|
|
1439
1455
|
disableElevation: !0
|
|
1440
1456
|
},
|
|
1441
1457
|
styleOverrides: {
|
|
1442
|
-
root: ({ theme:
|
|
1458
|
+
root: ({ theme: r }) => ({
|
|
1443
1459
|
fontWeight: 600,
|
|
1444
1460
|
textTransform: "none",
|
|
1445
1461
|
"&.Mui-disabled": {
|
|
1446
1462
|
cursor: "not-allowed"
|
|
1447
1463
|
},
|
|
1448
1464
|
"&.Mui-focusVisible": {
|
|
1449
|
-
outline: `2px solid ${
|
|
1465
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1450
1466
|
outlineOffset: "2px"
|
|
1451
1467
|
}
|
|
1452
1468
|
}),
|
|
@@ -1491,7 +1507,7 @@ const ar = (e, r) => {
|
|
|
1491
1507
|
MuiCircularProgress: {
|
|
1492
1508
|
styleOverrides: {
|
|
1493
1509
|
root: {
|
|
1494
|
-
[`& .${
|
|
1510
|
+
[`& .${ke.circle}`]: {
|
|
1495
1511
|
strokeLinecap: "round"
|
|
1496
1512
|
}
|
|
1497
1513
|
}
|
|
@@ -1512,22 +1528,22 @@ const ar = (e, r) => {
|
|
|
1512
1528
|
},
|
|
1513
1529
|
MuiDataGrid: {
|
|
1514
1530
|
styleOverrides: {
|
|
1515
|
-
root: ({ theme:
|
|
1531
|
+
root: ({ theme: r }) => ({
|
|
1516
1532
|
border: "none",
|
|
1517
1533
|
borderRadius: 0,
|
|
1518
|
-
fontSize:
|
|
1534
|
+
fontSize: r.typography.body2.fontSize,
|
|
1519
1535
|
"& .MuiDataGrid-cell": {
|
|
1520
1536
|
display: "flex",
|
|
1521
1537
|
alignItems: "center",
|
|
1522
1538
|
borderTop: "1px solid",
|
|
1523
|
-
borderColor:
|
|
1539
|
+
borderColor: r.palette.background.highlight
|
|
1524
1540
|
},
|
|
1525
1541
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1526
1542
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1527
1543
|
"& .MuiDataGrid-columnHeaders": {
|
|
1528
|
-
backgroundColor:
|
|
1544
|
+
backgroundColor: r.palette.background.paper,
|
|
1529
1545
|
borderBottom: "2px solid",
|
|
1530
|
-
borderColor:
|
|
1546
|
+
borderColor: r.palette.divider
|
|
1531
1547
|
},
|
|
1532
1548
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1533
1549
|
fontWeight: 600
|
|
@@ -1545,42 +1561,42 @@ const ar = (e, r) => {
|
|
|
1545
1561
|
},
|
|
1546
1562
|
MuiDateRangePickerDay: {
|
|
1547
1563
|
styleOverrides: {
|
|
1548
|
-
root: ({ theme:
|
|
1564
|
+
root: ({ theme: r }) => ({
|
|
1549
1565
|
":first-of-type": {
|
|
1550
|
-
borderTopLeftRadius:
|
|
1551
|
-
borderBottomLeftRadius:
|
|
1566
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1567
|
+
borderBottomLeftRadius: r.shape.borderRadius,
|
|
1552
1568
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1553
|
-
borderTopLeftRadius:
|
|
1554
|
-
borderBottomLeftRadius:
|
|
1569
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1570
|
+
borderBottomLeftRadius: r.shape.borderRadius
|
|
1555
1571
|
}
|
|
1556
1572
|
},
|
|
1557
1573
|
":last-of-type": {
|
|
1558
|
-
borderTopRightRadius:
|
|
1559
|
-
borderBottomRightRadius:
|
|
1574
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1575
|
+
borderBottomRightRadius: r.shape.borderRadius,
|
|
1560
1576
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1561
|
-
borderTopRightRadius:
|
|
1562
|
-
borderBottomRightRadius:
|
|
1577
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1578
|
+
borderBottomRightRadius: r.shape.borderRadius
|
|
1563
1579
|
}
|
|
1564
1580
|
},
|
|
1565
1581
|
"& .Mui-selected": {
|
|
1566
|
-
borderRadius:
|
|
1582
|
+
borderRadius: r.shape.borderRadius
|
|
1567
1583
|
},
|
|
1568
1584
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1569
|
-
color:
|
|
1585
|
+
color: r.palette.action.disabled
|
|
1570
1586
|
}
|
|
1571
1587
|
}),
|
|
1572
|
-
day: ({ theme:
|
|
1573
|
-
borderRadius:
|
|
1588
|
+
day: ({ theme: r }) => ({
|
|
1589
|
+
borderRadius: r.shape.borderRadius
|
|
1574
1590
|
}),
|
|
1575
|
-
rangeIntervalDayPreview: ({ theme:
|
|
1576
|
-
borderRadius:
|
|
1591
|
+
rangeIntervalDayPreview: ({ theme: r }) => ({
|
|
1592
|
+
borderRadius: r.shape.borderRadius
|
|
1577
1593
|
})
|
|
1578
1594
|
}
|
|
1579
1595
|
},
|
|
1580
1596
|
MuiDayCalendar: {
|
|
1581
1597
|
styleOverrides: {
|
|
1582
|
-
weekDayLabel: ({ theme:
|
|
1583
|
-
fontSize:
|
|
1598
|
+
weekDayLabel: ({ theme: r }) => ({
|
|
1599
|
+
fontSize: r.typography.body2.fontSize,
|
|
1584
1600
|
fontWeight: 700
|
|
1585
1601
|
})
|
|
1586
1602
|
}
|
|
@@ -1622,14 +1638,14 @@ const ar = (e, r) => {
|
|
|
1622
1638
|
},
|
|
1623
1639
|
MuiFormHelperText: {
|
|
1624
1640
|
styleOverrides: {
|
|
1625
|
-
root: ({ theme:
|
|
1641
|
+
root: ({ theme: r }) => ({
|
|
1626
1642
|
fontSize: 13,
|
|
1627
1643
|
// Small
|
|
1628
1644
|
marginLeft: 0,
|
|
1629
1645
|
display: "flex",
|
|
1630
1646
|
alignItems: "center",
|
|
1631
1647
|
position: "relative",
|
|
1632
|
-
color:
|
|
1648
|
+
color: r.palette.text.secondary,
|
|
1633
1649
|
"& .MuiSvgIcon-root": {
|
|
1634
1650
|
height: "16px",
|
|
1635
1651
|
width: "16px",
|
|
@@ -1660,19 +1676,19 @@ const ar = (e, r) => {
|
|
|
1660
1676
|
disableFocusRipple: !0
|
|
1661
1677
|
},
|
|
1662
1678
|
styleOverrides: {
|
|
1663
|
-
root: ({ theme:
|
|
1664
|
-
borderRadius:
|
|
1679
|
+
root: ({ theme: r }) => ({
|
|
1680
|
+
borderRadius: r.shape.borderRadius,
|
|
1665
1681
|
minHeight: 44,
|
|
1666
1682
|
// touch target
|
|
1667
1683
|
minWidth: 44,
|
|
1668
1684
|
// touch target
|
|
1669
1685
|
"&.Mui-focusVisible": {
|
|
1670
|
-
outline: `2px solid ${
|
|
1686
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1671
1687
|
outlineOffset: "2px"
|
|
1672
1688
|
},
|
|
1673
1689
|
"& .MuiTouchRipple-root": {
|
|
1674
1690
|
"& .MuiTouchRipple-child": {
|
|
1675
|
-
borderRadius:
|
|
1691
|
+
borderRadius: r.shape.borderRadius
|
|
1676
1692
|
}
|
|
1677
1693
|
}
|
|
1678
1694
|
})
|
|
@@ -1699,7 +1715,7 @@ const ar = (e, r) => {
|
|
|
1699
1715
|
},
|
|
1700
1716
|
MuiLink: {
|
|
1701
1717
|
styleOverrides: {
|
|
1702
|
-
root: ({ theme:
|
|
1718
|
+
root: ({ theme: r, color: d }) => ({
|
|
1703
1719
|
cursor: "pointer",
|
|
1704
1720
|
fontWeight: 600,
|
|
1705
1721
|
textDecoration: "none",
|
|
@@ -1711,10 +1727,10 @@ const ar = (e, r) => {
|
|
|
1711
1727
|
outlineOffset: "2px"
|
|
1712
1728
|
},
|
|
1713
1729
|
"&:hover": {
|
|
1714
|
-
backgroundColor:
|
|
1730
|
+
backgroundColor: r.palette.action.hover
|
|
1715
1731
|
},
|
|
1716
1732
|
"&:active": {
|
|
1717
|
-
backgroundColor:
|
|
1733
|
+
backgroundColor: r.palette.mode === v.LIGHT ? r.palette[d].light : r.palette[d].dark
|
|
1718
1734
|
}
|
|
1719
1735
|
})
|
|
1720
1736
|
}
|
|
@@ -1741,9 +1757,9 @@ const ar = (e, r) => {
|
|
|
1741
1757
|
disablePadding: !0
|
|
1742
1758
|
},
|
|
1743
1759
|
styleOverrides: {
|
|
1744
|
-
root: ({ ownerState:
|
|
1760
|
+
root: ({ ownerState: r }) => ({
|
|
1745
1761
|
minHeight: 64,
|
|
1746
|
-
...!
|
|
1762
|
+
...!r.disablePadding && {
|
|
1747
1763
|
paddingTop: 12,
|
|
1748
1764
|
paddingBottom: 12,
|
|
1749
1765
|
paddingLeft: 24
|
|
@@ -1767,7 +1783,7 @@ const ar = (e, r) => {
|
|
|
1767
1783
|
},
|
|
1768
1784
|
MuiListItemButton: {
|
|
1769
1785
|
styleOverrides: {
|
|
1770
|
-
root: ({ theme:
|
|
1786
|
+
root: ({ theme: r }) => ({
|
|
1771
1787
|
minHeight: 64,
|
|
1772
1788
|
paddingLeft: 24,
|
|
1773
1789
|
paddingRight: 24,
|
|
@@ -1776,7 +1792,7 @@ const ar = (e, r) => {
|
|
|
1776
1792
|
"&.Mui-focusVisible": {
|
|
1777
1793
|
backgroundColor: "transparent",
|
|
1778
1794
|
borderRadius: 8,
|
|
1779
|
-
outline: `2px solid ${
|
|
1795
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1780
1796
|
outlineOffset: -2
|
|
1781
1797
|
}
|
|
1782
1798
|
})
|
|
@@ -1893,20 +1909,20 @@ const ar = (e, r) => {
|
|
|
1893
1909
|
gridColumn: "1/4",
|
|
1894
1910
|
"& > .MuiTypography-root": {
|
|
1895
1911
|
textTransform: "uppercase",
|
|
1896
|
-
fontSize:
|
|
1912
|
+
fontSize: n.body2.fontSize,
|
|
1897
1913
|
fontWeight: 600,
|
|
1898
|
-
lineHeight:
|
|
1914
|
+
lineHeight: n.body2.lineHeight
|
|
1899
1915
|
}
|
|
1900
1916
|
}
|
|
1901
1917
|
}
|
|
1902
1918
|
},
|
|
1903
1919
|
MuiPickersToolbar: {
|
|
1904
1920
|
styleOverrides: {
|
|
1905
|
-
content: ({ theme:
|
|
1921
|
+
content: ({ theme: r }) => ({
|
|
1906
1922
|
marginTop: 4,
|
|
1907
1923
|
"& .MuiTypography-root": {
|
|
1908
|
-
fontSize:
|
|
1909
|
-
lineHeight:
|
|
1924
|
+
fontSize: r.typography.h3.fontSize,
|
|
1925
|
+
lineHeight: r.typography.h3.lineHeight
|
|
1910
1926
|
}
|
|
1911
1927
|
})
|
|
1912
1928
|
}
|
|
@@ -1932,7 +1948,7 @@ const ar = (e, r) => {
|
|
|
1932
1948
|
disableFocusRipple: !0
|
|
1933
1949
|
},
|
|
1934
1950
|
styleOverrides: {
|
|
1935
|
-
root: ({ theme:
|
|
1951
|
+
root: ({ theme: r }) => ({
|
|
1936
1952
|
width: 37,
|
|
1937
1953
|
height: 20,
|
|
1938
1954
|
padding: 0,
|
|
@@ -1943,7 +1959,7 @@ const ar = (e, r) => {
|
|
|
1943
1959
|
"&.Mui-checked": {
|
|
1944
1960
|
transform: "translateX(16px)",
|
|
1945
1961
|
"& + .MuiSwitch-track": {
|
|
1946
|
-
backgroundColor:
|
|
1962
|
+
backgroundColor: r.palette.success.main,
|
|
1947
1963
|
opacity: 1,
|
|
1948
1964
|
border: 0
|
|
1949
1965
|
},
|
|
@@ -1952,27 +1968,27 @@ const ar = (e, r) => {
|
|
|
1952
1968
|
}
|
|
1953
1969
|
},
|
|
1954
1970
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1955
|
-
color:
|
|
1971
|
+
color: r.palette.common.white
|
|
1956
1972
|
},
|
|
1957
1973
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1958
|
-
backgroundColor:
|
|
1974
|
+
backgroundColor: r.palette.action.disabledBackground,
|
|
1959
1975
|
opacity: 1
|
|
1960
1976
|
}
|
|
1961
1977
|
},
|
|
1962
1978
|
"& .MuiSwitch-input": {
|
|
1963
1979
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
1964
|
-
outline: `2px solid ${
|
|
1980
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1965
1981
|
outlineOffset: 0
|
|
1966
1982
|
}
|
|
1967
1983
|
},
|
|
1968
1984
|
"& .MuiSwitch-thumb": {
|
|
1969
1985
|
boxSizing: "border-box",
|
|
1970
|
-
backgroundColor:
|
|
1986
|
+
backgroundColor: r.palette.background.paper,
|
|
1971
1987
|
width: 16,
|
|
1972
1988
|
height: 16
|
|
1973
1989
|
},
|
|
1974
1990
|
"& .MuiSwitch-track": {
|
|
1975
|
-
backgroundColor:
|
|
1991
|
+
backgroundColor: r.palette.action.active,
|
|
1976
1992
|
borderRadius: 20 / 2,
|
|
1977
1993
|
opacity: 1
|
|
1978
1994
|
}
|
|
@@ -2122,51 +2138,51 @@ const ar = (e, r) => {
|
|
|
2122
2138
|
});
|
|
2123
2139
|
};
|
|
2124
2140
|
export {
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2141
|
+
I0 as AccountsFilledIcon,
|
|
2142
|
+
v0 as AccountsIcon,
|
|
2143
|
+
H0 as ArrowLeftIcon,
|
|
2144
|
+
y0 as AttentionFilledIcon,
|
|
2145
|
+
f as BaseIcon,
|
|
2146
|
+
$0 as BottomSheetTransition,
|
|
2147
|
+
O0 as CalendarIcon,
|
|
2132
2148
|
g as CategoryGuids,
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2149
|
+
_e as CategoryIcon,
|
|
2150
|
+
Ne as CategoryIconList,
|
|
2151
|
+
Le as CategoryIconVariants,
|
|
2152
|
+
k0 as CheckmarkFilledIcon,
|
|
2153
|
+
F0 as ChevronDownIcon,
|
|
2154
|
+
D0 as ChevronLeftIcon,
|
|
2155
|
+
L0 as ChevronRightIcon,
|
|
2156
|
+
N0 as CloseIcon,
|
|
2157
|
+
U0 as DateRangePicker,
|
|
2158
|
+
Be as DialogFooter,
|
|
2159
|
+
Y0 as DialogHeader,
|
|
2160
|
+
X0 as Drawer,
|
|
2161
|
+
w0 as EditIcon,
|
|
2162
|
+
_0 as FilterIcon,
|
|
2163
|
+
Be as Footer,
|
|
2164
|
+
ze as H1,
|
|
2165
|
+
W0 as H2,
|
|
2166
|
+
Z0 as H3,
|
|
2167
|
+
P0 as HeartIcon,
|
|
2168
|
+
Ze as INTER,
|
|
2153
2169
|
M as Icon,
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2170
|
+
De as IconWeight,
|
|
2171
|
+
j0 as InstitutionLogo,
|
|
2172
|
+
z0 as MXLogoCopyrightIcon,
|
|
2173
|
+
V0 as MXLogoFilledIcon,
|
|
2174
|
+
B0 as MXLogoIcon,
|
|
2175
|
+
G0 as MXLogoOutlineIcon,
|
|
2176
|
+
Q0 as MerchantLogo,
|
|
2177
|
+
K0 as P,
|
|
2178
|
+
ro as SelectionBox,
|
|
2179
|
+
O as TARGETS,
|
|
2180
|
+
_ as THEMES,
|
|
2181
|
+
F as Text,
|
|
2182
|
+
J0 as TextField,
|
|
2183
|
+
q0 as Toast,
|
|
2184
|
+
eo as TokenProvider,
|
|
2185
|
+
to as createMXTheme,
|
|
2186
|
+
oo as useTokens
|
|
2171
2187
|
};
|
|
2172
2188
|
//# sourceMappingURL=index.es.js.map
|