@mxenabled/mxui 1.5.1 → 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 +482 -487
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import C from "react";
|
|
3
3
|
import k from "@mui/material/Stack";
|
|
4
|
-
import { useTheme as H, createTheme as
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { endOfMonth as
|
|
7
|
-
import { endOfYear as
|
|
8
|
-
import { startOfToday as
|
|
9
|
-
import { startOfMonth as
|
|
10
|
-
import { startOfYear as
|
|
11
|
-
import { subDays as
|
|
12
|
-
import { subMonths as
|
|
13
|
-
import { subYears as
|
|
14
|
-
import
|
|
15
|
-
import { LocalizationProvider as
|
|
16
|
-
import { AdapterDateFns as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
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
|
|
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 $ } 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 K } 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 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
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 || {}),
|
|
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 || {}), Le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Le || {});
|
|
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, _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__ */
|
|
401
|
+
return /* @__PURE__ */ a(
|
|
402
402
|
k,
|
|
403
403
|
{
|
|
404
404
|
alignItems: "center",
|
|
405
405
|
bgcolor: () => {
|
|
406
406
|
let u = l;
|
|
407
|
-
return
|
|
407
|
+
return r === "twotone" && (u = `${u}20`), r === "transparent" || r === "basic" ? "transparent" : u;
|
|
408
408
|
},
|
|
409
409
|
borderRadius: 1,
|
|
410
410
|
color: () => {
|
|
411
|
-
const u =
|
|
412
|
-
return
|
|
411
|
+
const u = r === "filled" ? d.palette.common.white : l;
|
|
412
|
+
return r === "basic" ? d.palette.text.primary : u;
|
|
413
413
|
},
|
|
414
414
|
height: i,
|
|
415
415
|
justifyContent: "center",
|
|
416
|
-
sx: [...Array.isArray(
|
|
416
|
+
sx: [...Array.isArray(n) ? n : [n]],
|
|
417
417
|
width: i,
|
|
418
|
-
children: /* @__PURE__ */
|
|
418
|
+
children: /* @__PURE__ */ a(M, { name: c.icon, size: i * o })
|
|
419
419
|
}
|
|
420
420
|
);
|
|
421
|
-
},
|
|
421
|
+
}, 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 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
|
+
}, 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,
|
|
477
|
-
getValue: () => [
|
|
477
|
+
getValue: () => [W(t), $(t)]
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
label: e.dateRangeLastMonth,
|
|
481
|
-
getValue: () => [
|
|
481
|
+
getValue: () => [W(u), $(u)]
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
label: e.dateRangeLast30Days,
|
|
485
|
-
getValue: () => [
|
|
485
|
+
getValue: () => [K(t, 30), t]
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
label: e.dateRangeLast90Days,
|
|
489
|
-
getValue: () => [
|
|
489
|
+
getValue: () => [K(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(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,26 +526,26 @@ const te = {
|
|
|
526
526
|
}
|
|
527
527
|
},
|
|
528
528
|
slots: {
|
|
529
|
-
leftArrowIcon: () => /* @__PURE__ */
|
|
530
|
-
shortcuts: (t) => /* @__PURE__ */
|
|
531
|
-
rightArrowIcon: () => /* @__PURE__ */
|
|
529
|
+
leftArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_left", size: 28 }),
|
|
530
|
+
shortcuts: (t) => /* @__PURE__ */ a(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__ */
|
|
548
|
+
}) => /* @__PURE__ */ x(
|
|
549
549
|
k,
|
|
550
550
|
{
|
|
551
551
|
direction: "row",
|
|
@@ -553,20 +553,20 @@ const te = {
|
|
|
553
553
|
justifyContent: "flex-end",
|
|
554
554
|
sx: { bgcolor: "background.paper", width: "100%", p: 24 },
|
|
555
555
|
children: [
|
|
556
|
-
e && /* @__PURE__ */
|
|
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
|
+
), F = ({
|
|
578
578
|
bold: e,
|
|
579
|
-
className:
|
|
579
|
+
className: o = "",
|
|
580
580
|
children: i,
|
|
581
|
-
color:
|
|
582
|
-
sx:
|
|
581
|
+
color: n,
|
|
582
|
+
sx: r = {},
|
|
583
583
|
truncate: d = !0,
|
|
584
584
|
uppercase: c,
|
|
585
585
|
...l
|
|
@@ -616,11 +616,11 @@ const te = {
|
|
|
616
616
|
l.variant = "caption";
|
|
617
617
|
break;
|
|
618
618
|
}
|
|
619
|
-
return /* @__PURE__ */
|
|
620
|
-
|
|
619
|
+
return /* @__PURE__ */ a(
|
|
620
|
+
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,23 +633,23 @@ const te = {
|
|
|
633
633
|
c ? {
|
|
634
634
|
textTransform: "uppercase"
|
|
635
635
|
} : {},
|
|
636
|
-
...Array.isArray(
|
|
636
|
+
...Array.isArray(r) ? r : [r]
|
|
637
637
|
],
|
|
638
638
|
...l,
|
|
639
639
|
children: i
|
|
640
640
|
}
|
|
641
641
|
);
|
|
642
|
-
},
|
|
643
|
-
|
|
642
|
+
}, 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
|
-
),
|
|
652
|
+
), Y0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
|
|
653
653
|
k,
|
|
654
654
|
{
|
|
655
655
|
sx: {
|
|
@@ -660,119 +660,119 @@ const te = {
|
|
|
660
660
|
py: 14
|
|
661
661
|
},
|
|
662
662
|
children: [
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
/* @__PURE__ */
|
|
663
|
+
/* @__PURE__ */ a(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 || `${
|
|
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
|
-
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(_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,7 +780,7 @@ const tr = ({
|
|
|
780
780
|
onActionClick: t,
|
|
781
781
|
multiLine: u = !1
|
|
782
782
|
}) => {
|
|
783
|
-
const T = H(),
|
|
783
|
+
const T = H(), D = /* @__PURE__ */ x(
|
|
784
784
|
k,
|
|
785
785
|
{
|
|
786
786
|
alignItems: u ? "flex-end" : "center",
|
|
@@ -790,11 +790,11 @@ const tr = ({
|
|
|
790
790
|
u && c && l ? "space-between" : "flex-end"
|
|
791
791
|
),
|
|
792
792
|
children: [
|
|
793
|
-
c && /* @__PURE__ */
|
|
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
|
-
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 tr = ({
|
|
|
853
853
|
}
|
|
854
854
|
},
|
|
855
855
|
variant: "filled",
|
|
856
|
-
children: /* @__PURE__ */
|
|
857
|
-
|
|
856
|
+
children: /* @__PURE__ */ a(
|
|
857
|
+
F,
|
|
858
858
|
{
|
|
859
859
|
sx: {
|
|
860
860
|
lineHeight: T.typography.body1.lineHeight,
|
|
@@ -870,37 +870,37 @@ const tr = ({
|
|
|
870
870
|
)
|
|
871
871
|
}
|
|
872
872
|
);
|
|
873
|
-
},
|
|
873
|
+
}, O = {
|
|
874
874
|
REACT: "react",
|
|
875
875
|
REACT_NATIVE: "react_native",
|
|
876
876
|
NATIVE: "native"
|
|
877
|
-
},
|
|
877
|
+
}, _ = {
|
|
878
878
|
LIGHT: "light",
|
|
879
879
|
DARK: "dark"
|
|
880
|
-
},
|
|
881
|
-
|
|
882
|
-
),
|
|
880
|
+
}, 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 =
|
|
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,
|
|
@@ -908,27 +908,21 @@ const tr = ({
|
|
|
908
908
|
error: t = !1,
|
|
909
909
|
icon: u = !1,
|
|
910
910
|
sx: T = {},
|
|
911
|
-
...
|
|
911
|
+
...D
|
|
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 U = e === L ? !0 : !i;
|
|
916
|
+
n({
|
|
917
|
+
target: { value: l, checked: U }
|
|
918
|
+
}, U);
|
|
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
|
+
Y,
|
|
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(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 })
|
|
977
972
|
] }),
|
|
978
|
-
e ===
|
|
979
|
-
|
|
973
|
+
e === L ? /* @__PURE__ */ a(
|
|
974
|
+
L,
|
|
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,
|
|
@@ -992,15 +987,15 @@ const tr = ({
|
|
|
992
987
|
}
|
|
993
988
|
},
|
|
994
989
|
value: l,
|
|
995
|
-
...
|
|
990
|
+
...D
|
|
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,
|
|
@@ -1011,7 +1006,7 @@ const tr = ({
|
|
|
1011
1006
|
}
|
|
1012
1007
|
},
|
|
1013
1008
|
value: l,
|
|
1014
|
-
...
|
|
1009
|
+
...D
|
|
1015
1010
|
}
|
|
1016
1011
|
)
|
|
1017
1012
|
]
|
|
@@ -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", w = "#000000", Ue = "#F9F9F9", $e = "#1A1A1A", 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
|
+
}, 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;
|
|
1104
1099
|
return {
|
|
1105
1100
|
mode: e,
|
|
1106
1101
|
// DEPRECATED: Use grey instead
|
|
@@ -1114,8 +1109,8 @@ const tr = ({
|
|
|
1114
1109
|
darker: s[500]
|
|
1115
1110
|
},
|
|
1116
1111
|
common: {
|
|
1117
|
-
white:
|
|
1118
|
-
black:
|
|
1112
|
+
white: R,
|
|
1113
|
+
black: w
|
|
1119
1114
|
},
|
|
1120
1115
|
primary: {
|
|
1121
1116
|
...i,
|
|
@@ -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,18 @@ const tr = ({
|
|
|
1195
1190
|
},
|
|
1196
1191
|
grey: s,
|
|
1197
1192
|
action: {
|
|
1198
|
-
active: t ? b(
|
|
1193
|
+
active: t ? b(w, 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
|
-
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,
|
|
1206
1201
|
highlight: t ? s[200] : s[600],
|
|
1207
1202
|
highlightPrimary: t ? i[100] : i[500]
|
|
1208
1203
|
},
|
|
1209
|
-
divider: t ? b(
|
|
1204
|
+
divider: t ? b(w, 0.12) : b(R, 0.24),
|
|
1210
1205
|
categories: {
|
|
1211
1206
|
autoTransport: t ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1212
1207
|
billsUtilities: t ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
@@ -1232,13 +1227,13 @@ const tr = ({
|
|
|
1232
1227
|
uncategorized: t ? p.UNCATEGORIZED : h.UNCATEGORIZED
|
|
1233
1228
|
},
|
|
1234
1229
|
chart: {
|
|
1235
|
-
chart1:
|
|
1236
|
-
chart2:
|
|
1237
|
-
chart3:
|
|
1238
|
-
chart4:
|
|
1239
|
-
chart5:
|
|
1240
|
-
chart6:
|
|
1241
|
-
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
|
|
1242
1237
|
},
|
|
1243
1238
|
chartMono: {
|
|
1244
1239
|
chartMono1: I.CHART_MONO1,
|
|
@@ -1249,88 +1244,88 @@ const tr = ({
|
|
|
1249
1244
|
chartMono6: I.CHART_MONO6
|
|
1250
1245
|
}
|
|
1251
1246
|
};
|
|
1252
|
-
},
|
|
1253
|
-
const
|
|
1247
|
+
}, Ze = "Inter, Helvetica, Arial, sans-serif", Ke = (e) => {
|
|
1248
|
+
const o = e?.fontFamily || Ze;
|
|
1254
1249
|
return {
|
|
1255
|
-
fontFamily:
|
|
1250
|
+
fontFamily: o,
|
|
1256
1251
|
fontSize: 15,
|
|
1257
1252
|
Body: {
|
|
1258
1253
|
// DEPRECATED: Use body1 instead
|
|
1259
|
-
fontFamily:
|
|
1254
|
+
fontFamily: o,
|
|
1260
1255
|
fontSize: 15,
|
|
1261
1256
|
lineHeight: "20px"
|
|
1262
1257
|
},
|
|
1263
1258
|
body1: {
|
|
1264
|
-
fontFamily:
|
|
1259
|
+
fontFamily: o,
|
|
1265
1260
|
fontSize: 15,
|
|
1266
1261
|
lineHeight: "20px"
|
|
1267
1262
|
},
|
|
1268
1263
|
Small: {
|
|
1269
1264
|
// DEPRECATED: Use body2 instead
|
|
1270
|
-
fontFamily:
|
|
1265
|
+
fontFamily: o,
|
|
1271
1266
|
fontSize: 15,
|
|
1272
1267
|
lineHeight: "20px"
|
|
1273
1268
|
},
|
|
1274
1269
|
body2: {
|
|
1275
|
-
fontFamily:
|
|
1270
|
+
fontFamily: o,
|
|
1276
1271
|
fontSize: 13,
|
|
1277
1272
|
lineHeight: "16px"
|
|
1278
1273
|
},
|
|
1279
1274
|
Button: {
|
|
1280
1275
|
// DEPRECATED: Use button instead
|
|
1281
|
-
fontFamily:
|
|
1276
|
+
fontFamily: o,
|
|
1282
1277
|
fontSize: 15
|
|
1283
1278
|
},
|
|
1284
1279
|
button: {
|
|
1285
|
-
fontFamily:
|
|
1280
|
+
fontFamily: o,
|
|
1286
1281
|
fontSize: 15
|
|
1287
1282
|
},
|
|
1288
1283
|
XSmall: {
|
|
1289
1284
|
// DEPRECATED: Use caption instead
|
|
1290
|
-
fontFamily:
|
|
1285
|
+
fontFamily: o,
|
|
1291
1286
|
fontSize: 11,
|
|
1292
1287
|
lineHeight: "16px"
|
|
1293
1288
|
},
|
|
1294
1289
|
caption: {
|
|
1295
|
-
fontFamily:
|
|
1290
|
+
fontFamily: o,
|
|
1296
1291
|
fontSize: 11,
|
|
1297
1292
|
lineHeight: "16px"
|
|
1298
1293
|
},
|
|
1299
1294
|
H1: {
|
|
1300
1295
|
// DEPRECATED: Use h1 instead
|
|
1301
|
-
fontFamily:
|
|
1296
|
+
fontFamily: o,
|
|
1302
1297
|
fontWeight: 700,
|
|
1303
1298
|
fontSize: 31,
|
|
1304
1299
|
lineHeight: "40px"
|
|
1305
1300
|
},
|
|
1306
1301
|
h1: {
|
|
1307
|
-
fontFamily:
|
|
1302
|
+
fontFamily: o,
|
|
1308
1303
|
fontWeight: 700,
|
|
1309
1304
|
fontSize: 31,
|
|
1310
1305
|
lineHeight: "40px"
|
|
1311
1306
|
},
|
|
1312
1307
|
H2: {
|
|
1313
1308
|
// DEPRECATED: Use h2 instead
|
|
1314
|
-
fontFamily:
|
|
1309
|
+
fontFamily: o,
|
|
1315
1310
|
fontWeight: 700,
|
|
1316
1311
|
fontSize: 23,
|
|
1317
1312
|
lineHeight: "32px"
|
|
1318
1313
|
},
|
|
1319
1314
|
h2: {
|
|
1320
|
-
fontFamily:
|
|
1315
|
+
fontFamily: o,
|
|
1321
1316
|
fontWeight: 700,
|
|
1322
1317
|
fontSize: 23,
|
|
1323
1318
|
lineHeight: "32px"
|
|
1324
1319
|
},
|
|
1325
1320
|
H3: {
|
|
1326
1321
|
// DEPRECATED: Use h3 instead
|
|
1327
|
-
fontFamily:
|
|
1322
|
+
fontFamily: o,
|
|
1328
1323
|
fontWeight: 700,
|
|
1329
1324
|
fontSize: 18,
|
|
1330
1325
|
lineHeight: "24px"
|
|
1331
1326
|
},
|
|
1332
1327
|
h3: {
|
|
1333
|
-
fontFamily:
|
|
1328
|
+
fontFamily: o,
|
|
1334
1329
|
fontWeight: 700,
|
|
1335
1330
|
fontSize: 18,
|
|
1336
1331
|
lineHeight: "24px"
|
|
@@ -1349,50 +1344,50 @@ const tr = ({
|
|
|
1349
1344
|
// },
|
|
1350
1345
|
Paragraph: {
|
|
1351
1346
|
// DEPRECATED: Use subtitle1 instead
|
|
1352
|
-
fontFamily:
|
|
1347
|
+
fontFamily: o,
|
|
1353
1348
|
fontSize: 15,
|
|
1354
1349
|
lineHeight: "24px"
|
|
1355
1350
|
},
|
|
1356
1351
|
subtitle1: {
|
|
1357
|
-
fontFamily:
|
|
1352
|
+
fontFamily: o,
|
|
1358
1353
|
fontSize: 15,
|
|
1359
1354
|
lineHeight: "24px"
|
|
1360
1355
|
},
|
|
1361
1356
|
ParagraphSmall: {
|
|
1362
1357
|
// DEPRECATED: Use subtitle2 instead
|
|
1363
|
-
fontFamily:
|
|
1358
|
+
fontFamily: o,
|
|
1364
1359
|
fontSize: 13,
|
|
1365
1360
|
lineHeight: "20px"
|
|
1366
1361
|
},
|
|
1367
1362
|
subtitle2: {
|
|
1368
|
-
fontFamily:
|
|
1363
|
+
fontFamily: o,
|
|
1369
1364
|
fontSize: 13,
|
|
1370
1365
|
lineHeight: "20px"
|
|
1371
1366
|
},
|
|
1372
1367
|
Tiny: {
|
|
1373
1368
|
// DEPRECATED: Use tiny instead
|
|
1374
|
-
fontFamily:
|
|
1369
|
+
fontFamily: o,
|
|
1375
1370
|
fontSize: 9,
|
|
1376
1371
|
lineHeight: "12px"
|
|
1377
1372
|
},
|
|
1378
1373
|
tiny: {
|
|
1379
|
-
fontFamily:
|
|
1374
|
+
fontFamily: o,
|
|
1380
1375
|
fontSize: 9,
|
|
1381
1376
|
lineHeight: "12px"
|
|
1382
1377
|
},
|
|
1383
1378
|
...e
|
|
1384
1379
|
};
|
|
1385
1380
|
};
|
|
1386
|
-
|
|
1381
|
+
Fe.setLicenseKey(
|
|
1387
1382
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1388
1383
|
);
|
|
1389
|
-
const
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
const
|
|
1394
|
-
const i =
|
|
1395
|
-
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({
|
|
1396
1391
|
breakpoints: {
|
|
1397
1392
|
values: {
|
|
1398
1393
|
xs: 444,
|
|
@@ -1403,38 +1398,38 @@ const lr = (e, r) => {
|
|
|
1403
1398
|
}
|
|
1404
1399
|
},
|
|
1405
1400
|
palette: i,
|
|
1406
|
-
shadows:
|
|
1401
|
+
shadows: P,
|
|
1407
1402
|
shape: {
|
|
1408
|
-
borderRadius:
|
|
1403
|
+
borderRadius: o?.shapeOptions?.borderRadius || 4
|
|
1409
1404
|
},
|
|
1410
1405
|
spacing: 1,
|
|
1411
1406
|
// TODO: update spacing, we're back to a 8-base which is default for MUI 2.x
|
|
1412
|
-
typography:
|
|
1407
|
+
typography: n,
|
|
1413
1408
|
components: {
|
|
1414
1409
|
MuiAlert: {
|
|
1415
1410
|
defaultProps: {
|
|
1416
1411
|
iconMapping: {
|
|
1417
|
-
success: /* @__PURE__ */
|
|
1418
|
-
error: /* @__PURE__ */
|
|
1419
|
-
warning: /* @__PURE__ */
|
|
1420
|
-
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 })
|
|
1421
1416
|
},
|
|
1422
1417
|
variant: "outlined"
|
|
1423
1418
|
},
|
|
1424
1419
|
styleOverrides: {
|
|
1425
|
-
root: ({ theme:
|
|
1420
|
+
root: ({ theme: r, ownerState: d }) => {
|
|
1426
1421
|
const c = d.severity || "info";
|
|
1427
|
-
let l =
|
|
1422
|
+
let l = r.palette.mode === v.LIGHT ? r.palette[c]?.[50] : r.palette[c]?.[800];
|
|
1428
1423
|
if (d.variant === "filled") {
|
|
1429
1424
|
const s = c === "warning";
|
|
1430
|
-
l =
|
|
1425
|
+
l = r.palette[c]?.[s ? 400 : 600];
|
|
1431
1426
|
}
|
|
1432
1427
|
return {
|
|
1433
1428
|
backgroundColor: l,
|
|
1434
|
-
borderRadius:
|
|
1429
|
+
borderRadius: r.shape.borderRadius,
|
|
1435
1430
|
"& .MuiAlert-message": {
|
|
1436
|
-
fontSize:
|
|
1437
|
-
lineHeight:
|
|
1431
|
+
fontSize: r.typography.subtitle1.fontSize,
|
|
1432
|
+
lineHeight: r.typography.subtitle1.lineHeight,
|
|
1438
1433
|
marginTop: "auto",
|
|
1439
1434
|
marginBottom: "auto"
|
|
1440
1435
|
},
|
|
@@ -1460,14 +1455,14 @@ const lr = (e, r) => {
|
|
|
1460
1455
|
disableElevation: !0
|
|
1461
1456
|
},
|
|
1462
1457
|
styleOverrides: {
|
|
1463
|
-
root: ({ theme:
|
|
1458
|
+
root: ({ theme: r }) => ({
|
|
1464
1459
|
fontWeight: 600,
|
|
1465
1460
|
textTransform: "none",
|
|
1466
1461
|
"&.Mui-disabled": {
|
|
1467
1462
|
cursor: "not-allowed"
|
|
1468
1463
|
},
|
|
1469
1464
|
"&.Mui-focusVisible": {
|
|
1470
|
-
outline: `2px solid ${
|
|
1465
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1471
1466
|
outlineOffset: "2px"
|
|
1472
1467
|
}
|
|
1473
1468
|
}),
|
|
@@ -1512,7 +1507,7 @@ const lr = (e, r) => {
|
|
|
1512
1507
|
MuiCircularProgress: {
|
|
1513
1508
|
styleOverrides: {
|
|
1514
1509
|
root: {
|
|
1515
|
-
[`& .${
|
|
1510
|
+
[`& .${ke.circle}`]: {
|
|
1516
1511
|
strokeLinecap: "round"
|
|
1517
1512
|
}
|
|
1518
1513
|
}
|
|
@@ -1533,22 +1528,22 @@ const lr = (e, r) => {
|
|
|
1533
1528
|
},
|
|
1534
1529
|
MuiDataGrid: {
|
|
1535
1530
|
styleOverrides: {
|
|
1536
|
-
root: ({ theme:
|
|
1531
|
+
root: ({ theme: r }) => ({
|
|
1537
1532
|
border: "none",
|
|
1538
1533
|
borderRadius: 0,
|
|
1539
|
-
fontSize:
|
|
1534
|
+
fontSize: r.typography.body2.fontSize,
|
|
1540
1535
|
"& .MuiDataGrid-cell": {
|
|
1541
1536
|
display: "flex",
|
|
1542
1537
|
alignItems: "center",
|
|
1543
1538
|
borderTop: "1px solid",
|
|
1544
|
-
borderColor:
|
|
1539
|
+
borderColor: r.palette.background.highlight
|
|
1545
1540
|
},
|
|
1546
1541
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1547
1542
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1548
1543
|
"& .MuiDataGrid-columnHeaders": {
|
|
1549
|
-
backgroundColor:
|
|
1544
|
+
backgroundColor: r.palette.background.paper,
|
|
1550
1545
|
borderBottom: "2px solid",
|
|
1551
|
-
borderColor:
|
|
1546
|
+
borderColor: r.palette.divider
|
|
1552
1547
|
},
|
|
1553
1548
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1554
1549
|
fontWeight: 600
|
|
@@ -1566,42 +1561,42 @@ const lr = (e, r) => {
|
|
|
1566
1561
|
},
|
|
1567
1562
|
MuiDateRangePickerDay: {
|
|
1568
1563
|
styleOverrides: {
|
|
1569
|
-
root: ({ theme:
|
|
1564
|
+
root: ({ theme: r }) => ({
|
|
1570
1565
|
":first-of-type": {
|
|
1571
|
-
borderTopLeftRadius:
|
|
1572
|
-
borderBottomLeftRadius:
|
|
1566
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1567
|
+
borderBottomLeftRadius: r.shape.borderRadius,
|
|
1573
1568
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1574
|
-
borderTopLeftRadius:
|
|
1575
|
-
borderBottomLeftRadius:
|
|
1569
|
+
borderTopLeftRadius: r.shape.borderRadius,
|
|
1570
|
+
borderBottomLeftRadius: r.shape.borderRadius
|
|
1576
1571
|
}
|
|
1577
1572
|
},
|
|
1578
1573
|
":last-of-type": {
|
|
1579
|
-
borderTopRightRadius:
|
|
1580
|
-
borderBottomRightRadius:
|
|
1574
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1575
|
+
borderBottomRightRadius: r.shape.borderRadius,
|
|
1581
1576
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1582
|
-
borderTopRightRadius:
|
|
1583
|
-
borderBottomRightRadius:
|
|
1577
|
+
borderTopRightRadius: r.shape.borderRadius,
|
|
1578
|
+
borderBottomRightRadius: r.shape.borderRadius
|
|
1584
1579
|
}
|
|
1585
1580
|
},
|
|
1586
1581
|
"& .Mui-selected": {
|
|
1587
|
-
borderRadius:
|
|
1582
|
+
borderRadius: r.shape.borderRadius
|
|
1588
1583
|
},
|
|
1589
1584
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1590
|
-
color:
|
|
1585
|
+
color: r.palette.action.disabled
|
|
1591
1586
|
}
|
|
1592
1587
|
}),
|
|
1593
|
-
day: ({ theme:
|
|
1594
|
-
borderRadius:
|
|
1588
|
+
day: ({ theme: r }) => ({
|
|
1589
|
+
borderRadius: r.shape.borderRadius
|
|
1595
1590
|
}),
|
|
1596
|
-
rangeIntervalDayPreview: ({ theme:
|
|
1597
|
-
borderRadius:
|
|
1591
|
+
rangeIntervalDayPreview: ({ theme: r }) => ({
|
|
1592
|
+
borderRadius: r.shape.borderRadius
|
|
1598
1593
|
})
|
|
1599
1594
|
}
|
|
1600
1595
|
},
|
|
1601
1596
|
MuiDayCalendar: {
|
|
1602
1597
|
styleOverrides: {
|
|
1603
|
-
weekDayLabel: ({ theme:
|
|
1604
|
-
fontSize:
|
|
1598
|
+
weekDayLabel: ({ theme: r }) => ({
|
|
1599
|
+
fontSize: r.typography.body2.fontSize,
|
|
1605
1600
|
fontWeight: 700
|
|
1606
1601
|
})
|
|
1607
1602
|
}
|
|
@@ -1643,14 +1638,14 @@ const lr = (e, r) => {
|
|
|
1643
1638
|
},
|
|
1644
1639
|
MuiFormHelperText: {
|
|
1645
1640
|
styleOverrides: {
|
|
1646
|
-
root: ({ theme:
|
|
1641
|
+
root: ({ theme: r }) => ({
|
|
1647
1642
|
fontSize: 13,
|
|
1648
1643
|
// Small
|
|
1649
1644
|
marginLeft: 0,
|
|
1650
1645
|
display: "flex",
|
|
1651
1646
|
alignItems: "center",
|
|
1652
1647
|
position: "relative",
|
|
1653
|
-
color:
|
|
1648
|
+
color: r.palette.text.secondary,
|
|
1654
1649
|
"& .MuiSvgIcon-root": {
|
|
1655
1650
|
height: "16px",
|
|
1656
1651
|
width: "16px",
|
|
@@ -1681,19 +1676,19 @@ const lr = (e, r) => {
|
|
|
1681
1676
|
disableFocusRipple: !0
|
|
1682
1677
|
},
|
|
1683
1678
|
styleOverrides: {
|
|
1684
|
-
root: ({ theme:
|
|
1685
|
-
borderRadius:
|
|
1679
|
+
root: ({ theme: r }) => ({
|
|
1680
|
+
borderRadius: r.shape.borderRadius,
|
|
1686
1681
|
minHeight: 44,
|
|
1687
1682
|
// touch target
|
|
1688
1683
|
minWidth: 44,
|
|
1689
1684
|
// touch target
|
|
1690
1685
|
"&.Mui-focusVisible": {
|
|
1691
|
-
outline: `2px solid ${
|
|
1686
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1692
1687
|
outlineOffset: "2px"
|
|
1693
1688
|
},
|
|
1694
1689
|
"& .MuiTouchRipple-root": {
|
|
1695
1690
|
"& .MuiTouchRipple-child": {
|
|
1696
|
-
borderRadius:
|
|
1691
|
+
borderRadius: r.shape.borderRadius
|
|
1697
1692
|
}
|
|
1698
1693
|
}
|
|
1699
1694
|
})
|
|
@@ -1720,7 +1715,7 @@ const lr = (e, r) => {
|
|
|
1720
1715
|
},
|
|
1721
1716
|
MuiLink: {
|
|
1722
1717
|
styleOverrides: {
|
|
1723
|
-
root: ({ theme:
|
|
1718
|
+
root: ({ theme: r, color: d }) => ({
|
|
1724
1719
|
cursor: "pointer",
|
|
1725
1720
|
fontWeight: 600,
|
|
1726
1721
|
textDecoration: "none",
|
|
@@ -1732,10 +1727,10 @@ const lr = (e, r) => {
|
|
|
1732
1727
|
outlineOffset: "2px"
|
|
1733
1728
|
},
|
|
1734
1729
|
"&:hover": {
|
|
1735
|
-
backgroundColor:
|
|
1730
|
+
backgroundColor: r.palette.action.hover
|
|
1736
1731
|
},
|
|
1737
1732
|
"&:active": {
|
|
1738
|
-
backgroundColor:
|
|
1733
|
+
backgroundColor: r.palette.mode === v.LIGHT ? r.palette[d].light : r.palette[d].dark
|
|
1739
1734
|
}
|
|
1740
1735
|
})
|
|
1741
1736
|
}
|
|
@@ -1762,9 +1757,9 @@ const lr = (e, r) => {
|
|
|
1762
1757
|
disablePadding: !0
|
|
1763
1758
|
},
|
|
1764
1759
|
styleOverrides: {
|
|
1765
|
-
root: ({ ownerState:
|
|
1760
|
+
root: ({ ownerState: r }) => ({
|
|
1766
1761
|
minHeight: 64,
|
|
1767
|
-
...!
|
|
1762
|
+
...!r.disablePadding && {
|
|
1768
1763
|
paddingTop: 12,
|
|
1769
1764
|
paddingBottom: 12,
|
|
1770
1765
|
paddingLeft: 24
|
|
@@ -1788,7 +1783,7 @@ const lr = (e, r) => {
|
|
|
1788
1783
|
},
|
|
1789
1784
|
MuiListItemButton: {
|
|
1790
1785
|
styleOverrides: {
|
|
1791
|
-
root: ({ theme:
|
|
1786
|
+
root: ({ theme: r }) => ({
|
|
1792
1787
|
minHeight: 64,
|
|
1793
1788
|
paddingLeft: 24,
|
|
1794
1789
|
paddingRight: 24,
|
|
@@ -1797,7 +1792,7 @@ const lr = (e, r) => {
|
|
|
1797
1792
|
"&.Mui-focusVisible": {
|
|
1798
1793
|
backgroundColor: "transparent",
|
|
1799
1794
|
borderRadius: 8,
|
|
1800
|
-
outline: `2px solid ${
|
|
1795
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1801
1796
|
outlineOffset: -2
|
|
1802
1797
|
}
|
|
1803
1798
|
})
|
|
@@ -1914,20 +1909,20 @@ const lr = (e, r) => {
|
|
|
1914
1909
|
gridColumn: "1/4",
|
|
1915
1910
|
"& > .MuiTypography-root": {
|
|
1916
1911
|
textTransform: "uppercase",
|
|
1917
|
-
fontSize:
|
|
1912
|
+
fontSize: n.body2.fontSize,
|
|
1918
1913
|
fontWeight: 600,
|
|
1919
|
-
lineHeight:
|
|
1914
|
+
lineHeight: n.body2.lineHeight
|
|
1920
1915
|
}
|
|
1921
1916
|
}
|
|
1922
1917
|
}
|
|
1923
1918
|
},
|
|
1924
1919
|
MuiPickersToolbar: {
|
|
1925
1920
|
styleOverrides: {
|
|
1926
|
-
content: ({ theme:
|
|
1921
|
+
content: ({ theme: r }) => ({
|
|
1927
1922
|
marginTop: 4,
|
|
1928
1923
|
"& .MuiTypography-root": {
|
|
1929
|
-
fontSize:
|
|
1930
|
-
lineHeight:
|
|
1924
|
+
fontSize: r.typography.h3.fontSize,
|
|
1925
|
+
lineHeight: r.typography.h3.lineHeight
|
|
1931
1926
|
}
|
|
1932
1927
|
})
|
|
1933
1928
|
}
|
|
@@ -1953,7 +1948,7 @@ const lr = (e, r) => {
|
|
|
1953
1948
|
disableFocusRipple: !0
|
|
1954
1949
|
},
|
|
1955
1950
|
styleOverrides: {
|
|
1956
|
-
root: ({ theme:
|
|
1951
|
+
root: ({ theme: r }) => ({
|
|
1957
1952
|
width: 37,
|
|
1958
1953
|
height: 20,
|
|
1959
1954
|
padding: 0,
|
|
@@ -1964,7 +1959,7 @@ const lr = (e, r) => {
|
|
|
1964
1959
|
"&.Mui-checked": {
|
|
1965
1960
|
transform: "translateX(16px)",
|
|
1966
1961
|
"& + .MuiSwitch-track": {
|
|
1967
|
-
backgroundColor:
|
|
1962
|
+
backgroundColor: r.palette.success.main,
|
|
1968
1963
|
opacity: 1,
|
|
1969
1964
|
border: 0
|
|
1970
1965
|
},
|
|
@@ -1973,27 +1968,27 @@ const lr = (e, r) => {
|
|
|
1973
1968
|
}
|
|
1974
1969
|
},
|
|
1975
1970
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1976
|
-
color:
|
|
1971
|
+
color: r.palette.common.white
|
|
1977
1972
|
},
|
|
1978
1973
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1979
|
-
backgroundColor:
|
|
1974
|
+
backgroundColor: r.palette.action.disabledBackground,
|
|
1980
1975
|
opacity: 1
|
|
1981
1976
|
}
|
|
1982
1977
|
},
|
|
1983
1978
|
"& .MuiSwitch-input": {
|
|
1984
1979
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
1985
|
-
outline: `2px solid ${
|
|
1980
|
+
outline: `2px solid ${r.palette.info.main}`,
|
|
1986
1981
|
outlineOffset: 0
|
|
1987
1982
|
}
|
|
1988
1983
|
},
|
|
1989
1984
|
"& .MuiSwitch-thumb": {
|
|
1990
1985
|
boxSizing: "border-box",
|
|
1991
|
-
backgroundColor:
|
|
1986
|
+
backgroundColor: r.palette.background.paper,
|
|
1992
1987
|
width: 16,
|
|
1993
1988
|
height: 16
|
|
1994
1989
|
},
|
|
1995
1990
|
"& .MuiSwitch-track": {
|
|
1996
|
-
backgroundColor:
|
|
1991
|
+
backgroundColor: r.palette.action.active,
|
|
1997
1992
|
borderRadius: 20 / 2,
|
|
1998
1993
|
opacity: 1
|
|
1999
1994
|
}
|
|
@@ -2143,51 +2138,51 @@ const lr = (e, r) => {
|
|
|
2143
2138
|
});
|
|
2144
2139
|
};
|
|
2145
2140
|
export {
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2141
|
+
I0 as AccountsFilledIcon,
|
|
2142
|
+
v0 as AccountsIcon,
|
|
2143
|
+
H0 as ArrowLeftIcon,
|
|
2144
|
+
y0 as AttentionFilledIcon,
|
|
2150
2145
|
f as BaseIcon,
|
|
2151
|
-
|
|
2152
|
-
|
|
2146
|
+
$0 as BottomSheetTransition,
|
|
2147
|
+
O0 as CalendarIcon,
|
|
2153
2148
|
g as CategoryGuids,
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
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,
|
|
2174
2169
|
M as Icon,
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
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
|
|
2192
2187
|
};
|
|
2193
2188
|
//# sourceMappingURL=index.es.js.map
|