@mxenabled/mxui 1.5.7-alpha.sms1 → 1.5.7-alpha.sms11
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 -482
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
1
|
import { jsx as a, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import C from "react";
|
|
3
3
|
import F from "@mui/material/Stack";
|
|
4
|
-
import { useTheme as H, createTheme as X } from "@mui/material/styles";
|
|
5
|
-
import { Icon as
|
|
4
|
+
import { useTheme as H, createTheme as X, responsiveFontSizes as ce } from "@mui/material/styles";
|
|
5
|
+
import { Icon as se, Close as de } from "@mxenabled/mx-icons";
|
|
6
6
|
import { endOfMonth as U } from "date-fns/endOfMonth";
|
|
7
|
-
import { endOfYear as
|
|
8
|
-
import { startOfToday as
|
|
7
|
+
import { endOfYear as ue } from "date-fns/endOfYear";
|
|
8
|
+
import { startOfToday as pe } 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 fe, StaticDateRangePicker as
|
|
16
|
-
import { AdapterDateFns as
|
|
12
|
+
import { subMonths as he } from "date-fns/subMonths";
|
|
13
|
+
import { subYears as ge } from "date-fns/subYears";
|
|
14
|
+
import me from "@mui/material/useMediaQuery";
|
|
15
|
+
import { LocalizationProvider as fe, StaticDateRangePicker as be } from "@mui/x-date-pickers-pro";
|
|
16
|
+
import { AdapterDateFns as Te } from "@mui/x-date-pickers-pro/AdapterDateFnsV3";
|
|
17
17
|
import j from "@mui/material/Box";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
18
|
+
import Ce from "@mui/material/ToggleButton";
|
|
19
|
+
import xe from "@mui/material/ToggleButtonGroup";
|
|
20
20
|
import Q from "@mui/material/Slide";
|
|
21
21
|
import V from "@mui/material/Button";
|
|
22
22
|
import J from "@mui/material/IconButton";
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { light as q, buildTheme as G, dark as
|
|
29
|
-
import { FormControlLabel as
|
|
30
|
-
import { circularProgressClasses as
|
|
31
|
-
import { LicenseInfo as
|
|
32
|
-
const
|
|
23
|
+
import Re from "@mui/material/Typography";
|
|
24
|
+
import Me from "@mui/material/Drawer";
|
|
25
|
+
import Ae from "@mui/material/TextField";
|
|
26
|
+
import Ee from "@mui/material/Snackbar";
|
|
27
|
+
import Se from "@mui/material/Alert";
|
|
28
|
+
import { light as q, buildTheme as G, dark as Ie } from "@mxenabled/design-tokens";
|
|
29
|
+
import { FormControlLabel as ve, Box as B, Typography as Y, Radio as z, Checkbox as He, alpha as b, darken as k, lighten as y, getContrastRatio as ye } from "@mui/material";
|
|
30
|
+
import { circularProgressClasses as Oe } from "@mui/material/CircularProgress";
|
|
31
|
+
import { LicenseInfo as Fe } from "@mui/x-license-pro";
|
|
32
|
+
const f = ({
|
|
33
33
|
children: e,
|
|
34
34
|
height: o,
|
|
35
|
-
size:
|
|
35
|
+
size: t = 16,
|
|
36
36
|
viewBox: n = "0 0 16 16",
|
|
37
|
-
width:
|
|
37
|
+
width: l
|
|
38
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: o ||
|
|
44
|
+
height: o || t,
|
|
45
45
|
viewBox: n,
|
|
46
|
-
width:
|
|
46
|
+
width: l || t,
|
|
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
54
|
fill: o = !1,
|
|
55
|
-
name:
|
|
55
|
+
name: t,
|
|
56
56
|
size: n = 20,
|
|
57
|
-
sx:
|
|
58
|
-
weight:
|
|
59
|
-
...
|
|
57
|
+
sx: l,
|
|
58
|
+
weight: i = 300,
|
|
59
|
+
...c
|
|
60
60
|
}) => /* @__PURE__ */ a(
|
|
61
|
-
|
|
61
|
+
se,
|
|
62
62
|
{
|
|
63
63
|
color: e,
|
|
64
64
|
fill: o,
|
|
65
|
-
name:
|
|
65
|
+
name: t,
|
|
66
66
|
size: n,
|
|
67
|
-
sx:
|
|
68
|
-
weight:
|
|
69
|
-
...
|
|
67
|
+
sx: l,
|
|
68
|
+
weight: i,
|
|
69
|
+
...c
|
|
70
70
|
}
|
|
71
|
-
),
|
|
71
|
+
), E0 = ({
|
|
72
72
|
color: e = "currentColor",
|
|
73
73
|
...o
|
|
74
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), S0 = ({
|
|
81
81
|
color: e = "currentColor",
|
|
82
82
|
...o
|
|
83
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), I0 = ({
|
|
90
90
|
color: e = "currentColor",
|
|
91
91
|
...o
|
|
92
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), v0 = ({
|
|
99
99
|
color: e = "currentColor",
|
|
100
100
|
...o
|
|
101
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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,91 +106,91 @@ const M = ({
|
|
|
106
106
|
fill: e,
|
|
107
107
|
fillRule: "evenodd"
|
|
108
108
|
}
|
|
109
|
-
) })),
|
|
109
|
+
) })), H0 = ({
|
|
110
110
|
color: e = "currentColor",
|
|
111
111
|
...o
|
|
112
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), y0 = ({
|
|
119
119
|
color: e = "currentColor",
|
|
120
120
|
...o
|
|
121
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), O0 = ({
|
|
128
128
|
color: e = "currentColor",
|
|
129
129
|
...o
|
|
130
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), F0 = ({
|
|
137
137
|
color: e = "currentColor",
|
|
138
138
|
...o
|
|
139
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), D0 = ({
|
|
146
146
|
color: e = "currentColor",
|
|
147
147
|
...o
|
|
148
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), L0 = ({
|
|
155
155
|
color: e = "currentColor",
|
|
156
156
|
...o
|
|
157
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), k0 = ({
|
|
164
164
|
color: e = "currentColor",
|
|
165
165
|
...o
|
|
166
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), N0 = ({
|
|
173
173
|
color: e = "currentColor",
|
|
174
174
|
...o
|
|
175
|
-
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
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
|
+
) })), w0 = ({
|
|
182
182
|
color: e = "currentColor",
|
|
183
183
|
...o
|
|
184
|
-
}) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(
|
|
184
|
+
}) => (console.warn('<HeartIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
185
185
|
"path",
|
|
186
186
|
{
|
|
187
187
|
d: "M1.317 2.317a4.5 4.5 0 016.364 0c.117.117.223.238.32.363.095-.124.2-.245.316-.362a4.5 4.5 0 016.364 6.364l-.004.004-6.328 6.172a.5.5 0 01-.698 0L1.317 8.682a4.5 4.5 0 010-6.365zm5.657.708a3.5 3.5 0 00-4.952 4.947L8 13.802l5.977-5.83a3.5 3.5 0 00-4.952-4.947c-.235.235-.42.51-.586.815a.5.5 0 01-.878 0 3.46 3.46 0 00-.587-.815z",
|
|
188
188
|
fill: e
|
|
189
189
|
}
|
|
190
|
-
) })),
|
|
190
|
+
) })), _0 = ({
|
|
191
191
|
color: e = "currentColor",
|
|
192
192
|
...o
|
|
193
|
-
}) => /* @__PURE__ */ x(
|
|
193
|
+
}) => /* @__PURE__ */ x(f, { ...o, children: [
|
|
194
194
|
/* @__PURE__ */ a(
|
|
195
195
|
"path",
|
|
196
196
|
{
|
|
@@ -205,10 +205,10 @@ const M = ({
|
|
|
205
205
|
fill: e
|
|
206
206
|
}
|
|
207
207
|
)
|
|
208
|
-
] }),
|
|
208
|
+
] }), P0 = ({
|
|
209
209
|
color: e = "currentColor",
|
|
210
210
|
...o
|
|
211
|
-
}) => /* @__PURE__ */ x(
|
|
211
|
+
}) => /* @__PURE__ */ x(f, { ...o, children: [
|
|
212
212
|
/* @__PURE__ */ a(
|
|
213
213
|
"path",
|
|
214
214
|
{
|
|
@@ -241,10 +241,10 @@ const M = ({
|
|
|
241
241
|
fillRule: "evenodd"
|
|
242
242
|
}
|
|
243
243
|
)
|
|
244
|
-
] }),
|
|
244
|
+
] }), B0 = ({
|
|
245
245
|
color: e = "currentColor",
|
|
246
246
|
...o
|
|
247
|
-
}) => /* @__PURE__ */ a(
|
|
247
|
+
}) => /* @__PURE__ */ a(f, { ...o, children: /* @__PURE__ */ a(
|
|
248
248
|
"path",
|
|
249
249
|
{
|
|
250
250
|
clipRule: "evenodd",
|
|
@@ -252,10 +252,10 @@ const M = ({
|
|
|
252
252
|
fill: e,
|
|
253
253
|
fillRule: "evenodd"
|
|
254
254
|
}
|
|
255
|
-
) }),
|
|
255
|
+
) }), z0 = ({
|
|
256
256
|
color: e = "currentColor",
|
|
257
257
|
...o
|
|
258
|
-
}) => /* @__PURE__ */ x(
|
|
258
|
+
}) => /* @__PURE__ */ x(f, { ...o, children: [
|
|
259
259
|
/* @__PURE__ */ a(
|
|
260
260
|
"path",
|
|
261
261
|
{
|
|
@@ -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 ee = {
|
|
285
285
|
guid: g.Uncategorized,
|
|
286
286
|
colorName: "uncategorized",
|
|
287
287
|
icon: "category"
|
|
288
|
-
},
|
|
288
|
+
}, ke = [
|
|
289
289
|
{
|
|
290
290
|
guid: g.AutoTransport,
|
|
291
291
|
colorName: "autoTransport",
|
|
@@ -387,57 +387,57 @@ const ee = {
|
|
|
387
387
|
icon: "airplane_ticket"
|
|
388
388
|
},
|
|
389
389
|
ee
|
|
390
|
-
],
|
|
390
|
+
], Ne = 0.625, we = ({
|
|
391
391
|
categoryGuid: e,
|
|
392
|
-
icon_ratio: o =
|
|
393
|
-
size:
|
|
392
|
+
icon_ratio: o = Ne,
|
|
393
|
+
size: t = 32,
|
|
394
394
|
sx: n = {},
|
|
395
|
-
variant:
|
|
395
|
+
variant: l = "filled"
|
|
396
396
|
}) => {
|
|
397
|
-
const
|
|
398
|
-
() =>
|
|
397
|
+
const i = H(), c = C.useMemo(
|
|
398
|
+
() => ke.find((u) => u.guid === e) ?? ee,
|
|
399
399
|
[e]
|
|
400
|
-
),
|
|
400
|
+
), s = i.palette.categories[c.colorName];
|
|
401
401
|
return /* @__PURE__ */ a(
|
|
402
402
|
F,
|
|
403
403
|
{
|
|
404
404
|
alignItems: "center",
|
|
405
405
|
bgcolor: () => {
|
|
406
|
-
let u =
|
|
407
|
-
return
|
|
406
|
+
let u = s;
|
|
407
|
+
return l === "twotone" && (u = `${u}20`), l === "transparent" || l === "basic" ? "transparent" : u;
|
|
408
408
|
},
|
|
409
409
|
borderRadius: 1,
|
|
410
410
|
color: () => {
|
|
411
|
-
const u =
|
|
412
|
-
return
|
|
411
|
+
const u = l === "filled" ? i.palette.common.white : s;
|
|
412
|
+
return l === "basic" ? i.palette.text.primary : u;
|
|
413
413
|
},
|
|
414
|
-
height:
|
|
414
|
+
height: t,
|
|
415
415
|
justifyContent: "center",
|
|
416
416
|
sx: [...Array.isArray(n) ? n : [n]],
|
|
417
|
-
width:
|
|
418
|
-
children: /* @__PURE__ */ a(M, { name:
|
|
417
|
+
width: t,
|
|
418
|
+
children: /* @__PURE__ */ a(M, { name: c.icon, size: t * o })
|
|
419
419
|
}
|
|
420
420
|
);
|
|
421
|
-
},
|
|
421
|
+
}, _e = ({
|
|
422
422
|
items: e,
|
|
423
423
|
onChange: o,
|
|
424
|
-
isValid:
|
|
424
|
+
isValid: t,
|
|
425
425
|
selected: n
|
|
426
426
|
}) => {
|
|
427
|
-
const
|
|
428
|
-
const
|
|
427
|
+
const l = H(), i = e?.map((c) => {
|
|
428
|
+
const s = c.getValue({ isValid: t });
|
|
429
429
|
return {
|
|
430
|
-
label:
|
|
430
|
+
label: c.label,
|
|
431
431
|
onClick: () => {
|
|
432
|
-
o(
|
|
432
|
+
o(s, "accept", c);
|
|
433
433
|
},
|
|
434
|
-
disabled: !
|
|
434
|
+
disabled: !t(s)
|
|
435
435
|
};
|
|
436
436
|
});
|
|
437
|
-
return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(
|
|
438
|
-
|
|
437
|
+
return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(xe, { color: "primary", orientation: "vertical", value: n, children: i?.map((c) => /* @__PURE__ */ a(
|
|
438
|
+
Ce,
|
|
439
439
|
{
|
|
440
|
-
onClick:
|
|
440
|
+
onClick: c.onClick,
|
|
441
441
|
sx: {
|
|
442
442
|
borderWidth: 1,
|
|
443
443
|
color: "secondary.main",
|
|
@@ -448,33 +448,33 @@ const ee = {
|
|
|
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: l.palette.action.hover,
|
|
452
|
+
borderTop: `1px solid ${l.palette.secondary.light}`
|
|
453
453
|
},
|
|
454
454
|
"&.Mui-selected": {
|
|
455
|
-
border: `2px solid ${
|
|
455
|
+
border: `2px solid ${l.palette.primary.main} !important`,
|
|
456
456
|
marginTop: "-2px !important",
|
|
457
457
|
color: "primary"
|
|
458
458
|
}
|
|
459
459
|
},
|
|
460
|
-
value:
|
|
461
|
-
children:
|
|
460
|
+
value: c.label,
|
|
461
|
+
children: c.label
|
|
462
462
|
},
|
|
463
|
-
|
|
463
|
+
c.label
|
|
464
464
|
)) }) });
|
|
465
|
-
},
|
|
465
|
+
}, V0 = ({
|
|
466
466
|
copy: e,
|
|
467
467
|
dateRange: o,
|
|
468
|
-
onRangeChanged:
|
|
468
|
+
onRangeChanged: t,
|
|
469
469
|
selectedShortcut: n = e.dateRangeThisMonth,
|
|
470
|
-
sx:
|
|
470
|
+
sx: l = {}
|
|
471
471
|
}) => {
|
|
472
|
-
const
|
|
473
|
-
const
|
|
472
|
+
const i = H(), c = me(i.breakpoints.down("sm")), s = C.useMemo(() => {
|
|
473
|
+
const r = pe(), u = he(r, 1), T = ge(r, 1);
|
|
474
474
|
return [
|
|
475
475
|
{
|
|
476
476
|
label: e.dateRangeThisMonth,
|
|
477
|
-
getValue: () => [W(
|
|
477
|
+
getValue: () => [W(r), U(r)]
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
label: e.dateRangeLastMonth,
|
|
@@ -482,31 +482,31 @@ const ee = {
|
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
label: e.dateRangeLast30Days,
|
|
485
|
-
getValue: () => [K(
|
|
485
|
+
getValue: () => [K(r, 30), r]
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
label: e.dateRangeLast90Days,
|
|
489
|
-
getValue: () => [K(
|
|
489
|
+
getValue: () => [K(r, 90), r]
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
label: e.dateRangeYTD,
|
|
493
|
-
getValue: () => [Z(
|
|
493
|
+
getValue: () => [Z(r), r]
|
|
494
494
|
},
|
|
495
495
|
{
|
|
496
496
|
label: e.dateRangeLastYear,
|
|
497
|
-
getValue: () => [Z(T),
|
|
497
|
+
getValue: () => [Z(T), ue(T)]
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
label: e.dateRangeCustom,
|
|
501
|
-
getValue: () => [
|
|
501
|
+
getValue: () => [r, r]
|
|
502
502
|
}
|
|
503
503
|
];
|
|
504
|
-
}, [e]),
|
|
504
|
+
}, [e]), d = (r, u) => {
|
|
505
505
|
const T = u.shortcut;
|
|
506
|
-
|
|
506
|
+
t?.(r, T ? T.label : e.dateRangeCustom);
|
|
507
507
|
};
|
|
508
|
-
return /* @__PURE__ */ a(F, { gap: 16, m: 8, children: /* @__PURE__ */ a(fe, { dateAdapter:
|
|
509
|
-
|
|
508
|
+
return /* @__PURE__ */ a(F, { gap: 16, m: 8, children: /* @__PURE__ */ a(fe, { dateAdapter: Te, children: /* @__PURE__ */ a(
|
|
509
|
+
be,
|
|
510
510
|
{
|
|
511
511
|
calendars: 1,
|
|
512
512
|
localeText: {
|
|
@@ -514,12 +514,12 @@ const ee = {
|
|
|
514
514
|
end: e.dateRangeTo,
|
|
515
515
|
toolbarTitle: e.dateRangeToolbarTitle
|
|
516
516
|
},
|
|
517
|
-
onChange:
|
|
517
|
+
onChange: d,
|
|
518
518
|
showDaysOutsideCurrentMonth: !0,
|
|
519
519
|
slotProps: {
|
|
520
520
|
actionBar: { actions: [] },
|
|
521
521
|
shortcuts: {
|
|
522
|
-
items:
|
|
522
|
+
items: c ? [] : s
|
|
523
523
|
},
|
|
524
524
|
toolbar: {
|
|
525
525
|
toolbarFormat: "MMM d, yyyy"
|
|
@@ -527,24 +527,24 @@ const ee = {
|
|
|
527
527
|
},
|
|
528
528
|
slots: {
|
|
529
529
|
leftArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_left", size: 28 }),
|
|
530
|
-
shortcuts: (
|
|
530
|
+
shortcuts: (r) => /* @__PURE__ */ a(_e, { selected: n, ...r }),
|
|
531
531
|
rightArrowIcon: () => /* @__PURE__ */ a(M, { name: "chevron_right", size: 28 })
|
|
532
532
|
},
|
|
533
|
-
sx: { ...
|
|
533
|
+
sx: { ...l },
|
|
534
534
|
value: o
|
|
535
535
|
}
|
|
536
536
|
) }) });
|
|
537
|
-
},
|
|
538
|
-
return /* @__PURE__ */ a(Q, { direction: "up", ref:
|
|
539
|
-
}),
|
|
537
|
+
}, G0 = C.forwardRef(function(o, t) {
|
|
538
|
+
return /* @__PURE__ */ a(Q, { direction: "up", ref: t, ...o });
|
|
539
|
+
}), Pe = ({
|
|
540
540
|
hasSecondaryAction: e = !0,
|
|
541
541
|
isPrimaryDisabled: o,
|
|
542
|
-
onPrimaryAction:
|
|
542
|
+
onPrimaryAction: t,
|
|
543
543
|
onSecondaryAction: n,
|
|
544
|
-
primaryColor:
|
|
545
|
-
primaryText:
|
|
546
|
-
secondaryColor:
|
|
547
|
-
secondaryText:
|
|
544
|
+
primaryColor: l = "primary",
|
|
545
|
+
primaryText: i = "Save",
|
|
546
|
+
secondaryColor: c = "primary",
|
|
547
|
+
secondaryText: s = "Cancel"
|
|
548
548
|
}) => /* @__PURE__ */ x(
|
|
549
549
|
F,
|
|
550
550
|
{
|
|
@@ -556,20 +556,20 @@ const ee = {
|
|
|
556
556
|
e && /* @__PURE__ */ a(
|
|
557
557
|
V,
|
|
558
558
|
{
|
|
559
|
-
color:
|
|
559
|
+
color: c,
|
|
560
560
|
onClick: n,
|
|
561
|
-
variant:
|
|
562
|
-
children:
|
|
561
|
+
variant: t ? "outlined" : "contained",
|
|
562
|
+
children: s
|
|
563
563
|
}
|
|
564
564
|
),
|
|
565
|
-
|
|
565
|
+
t && /* @__PURE__ */ a(
|
|
566
566
|
V,
|
|
567
567
|
{
|
|
568
|
-
color:
|
|
568
|
+
color: l,
|
|
569
569
|
disabled: o,
|
|
570
|
-
onClick:
|
|
570
|
+
onClick: t,
|
|
571
571
|
variant: "contained",
|
|
572
|
-
children:
|
|
572
|
+
children: i
|
|
573
573
|
}
|
|
574
574
|
)
|
|
575
575
|
]
|
|
@@ -577,47 +577,47 @@ const ee = {
|
|
|
577
577
|
), D = ({
|
|
578
578
|
bold: e,
|
|
579
579
|
className: o = "",
|
|
580
|
-
children:
|
|
580
|
+
children: t,
|
|
581
581
|
color: n,
|
|
582
|
-
sx:
|
|
583
|
-
truncate:
|
|
584
|
-
uppercase:
|
|
585
|
-
...
|
|
582
|
+
sx: l = {},
|
|
583
|
+
truncate: i = !0,
|
|
584
|
+
uppercase: c,
|
|
585
|
+
...s
|
|
586
586
|
}) => {
|
|
587
|
-
switch (
|
|
587
|
+
switch (s.variant) {
|
|
588
588
|
case "Body":
|
|
589
|
-
|
|
589
|
+
s.variant = "body1";
|
|
590
590
|
break;
|
|
591
591
|
case "Button":
|
|
592
|
-
|
|
592
|
+
s.variant = "button";
|
|
593
593
|
break;
|
|
594
594
|
case "H1":
|
|
595
|
-
|
|
595
|
+
s.variant = "h1";
|
|
596
596
|
break;
|
|
597
597
|
case "H2":
|
|
598
|
-
|
|
598
|
+
s.variant = "h2";
|
|
599
599
|
break;
|
|
600
600
|
case "H3":
|
|
601
|
-
|
|
601
|
+
s.variant = "h3";
|
|
602
602
|
break;
|
|
603
603
|
case "Paragraph":
|
|
604
|
-
|
|
604
|
+
s.variant = "subtitle1";
|
|
605
605
|
break;
|
|
606
606
|
case "ParagraphSmall":
|
|
607
|
-
|
|
607
|
+
s.variant = "subtitle2";
|
|
608
608
|
break;
|
|
609
609
|
case "Small":
|
|
610
|
-
|
|
610
|
+
s.variant = "body2";
|
|
611
611
|
break;
|
|
612
612
|
case "Tiny":
|
|
613
|
-
|
|
613
|
+
s.variant = "tiny";
|
|
614
614
|
break;
|
|
615
615
|
case "XSmall":
|
|
616
|
-
|
|
616
|
+
s.variant = "caption";
|
|
617
617
|
break;
|
|
618
618
|
}
|
|
619
619
|
return /* @__PURE__ */ a(
|
|
620
|
-
|
|
620
|
+
Re,
|
|
621
621
|
{
|
|
622
622
|
className: `mx-kmui-text ${o}`,
|
|
623
623
|
color: n,
|
|
@@ -625,31 +625,31 @@ const ee = {
|
|
|
625
625
|
e ? {
|
|
626
626
|
fontWeight: 600
|
|
627
627
|
} : {},
|
|
628
|
-
|
|
628
|
+
i ? {
|
|
629
629
|
overflow: "hidden",
|
|
630
630
|
textOverflow: "ellipsis",
|
|
631
631
|
whiteSpace: "nowrap"
|
|
632
632
|
} : {},
|
|
633
|
-
|
|
633
|
+
c ? {
|
|
634
634
|
textTransform: "uppercase"
|
|
635
635
|
} : {},
|
|
636
|
-
...Array.isArray(
|
|
636
|
+
...Array.isArray(l) ? l : [l]
|
|
637
637
|
],
|
|
638
|
-
...
|
|
639
|
-
children:
|
|
638
|
+
...s,
|
|
639
|
+
children: t
|
|
640
640
|
}
|
|
641
641
|
);
|
|
642
|
-
},
|
|
642
|
+
}, Be = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(D, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...t, children: o }), $0 = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(D, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...t, children: o }), U0 = ({ className: e = "", children: o, ...t }) => /* @__PURE__ */ a(D, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...t, children: o }), W0 = ({ className: e = "", children: o, truncate: t, ...n }) => /* @__PURE__ */ a(
|
|
643
643
|
D,
|
|
644
644
|
{
|
|
645
645
|
className: `mx-kmui-text p ${e}`,
|
|
646
646
|
component: "p",
|
|
647
|
-
truncate:
|
|
647
|
+
truncate: t || !1,
|
|
648
648
|
variant: "body1",
|
|
649
649
|
...n,
|
|
650
650
|
children: o
|
|
651
651
|
}
|
|
652
|
-
),
|
|
652
|
+
), Z0 = ({ copy: e, onClose: o }) => /* @__PURE__ */ x(
|
|
653
653
|
F,
|
|
654
654
|
{
|
|
655
655
|
sx: {
|
|
@@ -660,83 +660,83 @@ const ee = {
|
|
|
660
660
|
py: 14
|
|
661
661
|
},
|
|
662
662
|
children: [
|
|
663
|
-
/* @__PURE__ */ a(
|
|
664
|
-
/* @__PURE__ */ a(J, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(
|
|
663
|
+
/* @__PURE__ */ a(Be, { variant: "h3", children: e.title }),
|
|
664
|
+
/* @__PURE__ */ a(J, { "aria-label": e.close_aria, onClick: o, sx: { mr: -12 }, children: /* @__PURE__ */ a(de, {}) })
|
|
665
665
|
]
|
|
666
666
|
}
|
|
667
|
-
),
|
|
667
|
+
), K0 = ({
|
|
668
668
|
className: e,
|
|
669
669
|
disableSave: o,
|
|
670
|
-
id:
|
|
670
|
+
id: t,
|
|
671
671
|
isOpen: n,
|
|
672
|
-
onClose:
|
|
673
|
-
onSave:
|
|
674
|
-
primaryText:
|
|
675
|
-
secondaryText:
|
|
676
|
-
children:
|
|
677
|
-
...
|
|
672
|
+
onClose: l,
|
|
673
|
+
onSave: i,
|
|
674
|
+
primaryText: c,
|
|
675
|
+
secondaryText: s,
|
|
676
|
+
children: d,
|
|
677
|
+
...r
|
|
678
678
|
}) => /* @__PURE__ */ x(
|
|
679
|
-
|
|
679
|
+
Me,
|
|
680
680
|
{
|
|
681
681
|
anchor: "right",
|
|
682
682
|
className: `mx-kmui-drawer ${e}`,
|
|
683
|
-
id:
|
|
684
|
-
onClose:
|
|
683
|
+
id: t ?? void 0,
|
|
684
|
+
onClose: l,
|
|
685
685
|
open: n,
|
|
686
686
|
variant: "temporary",
|
|
687
|
-
...
|
|
687
|
+
...r,
|
|
688
688
|
children: [
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
689
|
+
d,
|
|
690
|
+
i && /* @__PURE__ */ a(
|
|
691
|
+
Pe,
|
|
692
692
|
{
|
|
693
693
|
isPrimaryDisabled: o,
|
|
694
|
-
onPrimaryAction:
|
|
695
|
-
onSecondaryAction:
|
|
696
|
-
primaryText:
|
|
697
|
-
secondaryText:
|
|
694
|
+
onPrimaryAction: i,
|
|
695
|
+
onSecondaryAction: l,
|
|
696
|
+
primaryText: c,
|
|
697
|
+
secondaryText: s
|
|
698
698
|
}
|
|
699
699
|
)
|
|
700
700
|
]
|
|
701
701
|
}
|
|
702
|
-
), oe = 32, $ = "https://content.moneydesktop.com/storage/MD_Assets",
|
|
702
|
+
), oe = 32, $ = "https://content.moneydesktop.com/storage/MD_Assets", ze = `${$}/serenity/default_institution_logo.png`, Y0 = ({
|
|
703
703
|
alt: e,
|
|
704
704
|
institutionGuid: o,
|
|
705
|
-
logoUrl:
|
|
705
|
+
logoUrl: t,
|
|
706
706
|
size: n = oe,
|
|
707
|
-
...
|
|
707
|
+
...l
|
|
708
708
|
}) => /* @__PURE__ */ a(
|
|
709
709
|
"img",
|
|
710
710
|
{
|
|
711
711
|
alt: e,
|
|
712
712
|
height: n,
|
|
713
|
-
onError: (
|
|
714
|
-
src:
|
|
713
|
+
onError: (i) => i.target.src = ze,
|
|
714
|
+
src: t || `${$}/Ipad%20Logos/100x100/${o}_100x100.png`,
|
|
715
715
|
style: {
|
|
716
716
|
borderRadius: 4
|
|
717
717
|
},
|
|
718
718
|
width: n,
|
|
719
|
-
...
|
|
719
|
+
...l
|
|
720
720
|
}
|
|
721
|
-
),
|
|
721
|
+
), X0 = ({
|
|
722
722
|
alt: e = "",
|
|
723
723
|
categoryGuid: o,
|
|
724
|
-
merchantGuid:
|
|
724
|
+
merchantGuid: t,
|
|
725
725
|
size: n = oe,
|
|
726
|
-
...
|
|
726
|
+
...l
|
|
727
727
|
}) => {
|
|
728
|
-
const [
|
|
729
|
-
return /* @__PURE__ */ x(j, { display: "inline-block", position: "relative", ...
|
|
730
|
-
|
|
728
|
+
const [i, c] = C.useState(!1), s = H();
|
|
729
|
+
return /* @__PURE__ */ x(j, { display: "inline-block", position: "relative", ...l, children: [
|
|
730
|
+
t && !i && /* @__PURE__ */ a(
|
|
731
731
|
"img",
|
|
732
732
|
{
|
|
733
733
|
alt: e,
|
|
734
734
|
"aria-hidden": !e,
|
|
735
735
|
height: n,
|
|
736
|
-
onError: () =>
|
|
737
|
-
src: `${$}/merchant_logos/${
|
|
736
|
+
onError: () => c(!0),
|
|
737
|
+
src: `${$}/merchant_logos/${t}.png`,
|
|
738
738
|
style: {
|
|
739
|
-
backgroundColor:
|
|
739
|
+
backgroundColor: s.palette.common.white,
|
|
740
740
|
borderRadius: 4,
|
|
741
741
|
boxSizing: "border-box",
|
|
742
742
|
position: "absolute"
|
|
@@ -744,40 +744,40 @@ const ee = {
|
|
|
744
744
|
width: n
|
|
745
745
|
}
|
|
746
746
|
),
|
|
747
|
-
/* @__PURE__ */ a(
|
|
747
|
+
/* @__PURE__ */ a(we, { categoryGuid: o, size: n })
|
|
748
748
|
] });
|
|
749
|
-
},
|
|
749
|
+
}, j0 = ({
|
|
750
750
|
disabled: e = !1,
|
|
751
751
|
label: o = "",
|
|
752
|
-
shrink:
|
|
752
|
+
shrink: t = !0,
|
|
753
753
|
variant: n = "outlined",
|
|
754
|
-
...
|
|
754
|
+
...l
|
|
755
755
|
}) => /* @__PURE__ */ a(
|
|
756
|
-
|
|
756
|
+
Ae,
|
|
757
757
|
{
|
|
758
758
|
InputLabelProps: {
|
|
759
|
-
shrink:
|
|
759
|
+
shrink: t
|
|
760
760
|
},
|
|
761
761
|
disabled: e,
|
|
762
762
|
label: o,
|
|
763
763
|
variant: n,
|
|
764
|
-
...
|
|
764
|
+
...l
|
|
765
765
|
}
|
|
766
766
|
);
|
|
767
|
-
function
|
|
767
|
+
function Ve(e) {
|
|
768
768
|
return /* @__PURE__ */ a(Q, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
769
769
|
}
|
|
770
|
-
const
|
|
770
|
+
const Q0 = ({
|
|
771
771
|
open: e,
|
|
772
772
|
handleClose: o,
|
|
773
|
-
message:
|
|
773
|
+
message: t,
|
|
774
774
|
autoHideDuration: n = 3e3,
|
|
775
|
-
severity:
|
|
776
|
-
snackbarSx:
|
|
777
|
-
showAction:
|
|
778
|
-
showClose:
|
|
779
|
-
actionText:
|
|
780
|
-
onActionClick:
|
|
775
|
+
severity: l = "success",
|
|
776
|
+
snackbarSx: i,
|
|
777
|
+
showAction: c = !1,
|
|
778
|
+
showClose: s = !1,
|
|
779
|
+
actionText: d = "Undo",
|
|
780
|
+
onActionClick: r,
|
|
781
781
|
multiLine: u = !1
|
|
782
782
|
}) => {
|
|
783
783
|
const T = H(), L = /* @__PURE__ */ x(
|
|
@@ -787,23 +787,23 @@ const j0 = ({
|
|
|
787
787
|
direction: u ? "column-reverse" : "row",
|
|
788
788
|
justifyContent: (
|
|
789
789
|
// eslint-disable-next-line no-nested-ternary
|
|
790
|
-
u &&
|
|
790
|
+
u && c && s ? "space-between" : "flex-end"
|
|
791
791
|
),
|
|
792
792
|
children: [
|
|
793
|
-
|
|
793
|
+
c && /* @__PURE__ */ a(
|
|
794
794
|
V,
|
|
795
795
|
{
|
|
796
796
|
color: "inherit",
|
|
797
|
-
onClick:
|
|
797
|
+
onClick: r || o,
|
|
798
798
|
size: "small",
|
|
799
799
|
sx: {
|
|
800
800
|
color: T.palette.success.contrastText,
|
|
801
801
|
height: 44
|
|
802
802
|
},
|
|
803
|
-
children:
|
|
803
|
+
children: d
|
|
804
804
|
}
|
|
805
805
|
),
|
|
806
|
-
|
|
806
|
+
s && /* @__PURE__ */ a(
|
|
807
807
|
J,
|
|
808
808
|
{
|
|
809
809
|
"aria-label": "close",
|
|
@@ -817,26 +817,26 @@ const j0 = ({
|
|
|
817
817
|
}
|
|
818
818
|
);
|
|
819
819
|
return /* @__PURE__ */ a(
|
|
820
|
-
|
|
820
|
+
Ee,
|
|
821
821
|
{
|
|
822
|
-
TransitionComponent:
|
|
822
|
+
TransitionComponent: Ve,
|
|
823
823
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
824
824
|
autoHideDuration: n,
|
|
825
825
|
onClose: o,
|
|
826
826
|
open: e,
|
|
827
827
|
sx: {
|
|
828
|
-
...
|
|
828
|
+
...i,
|
|
829
829
|
width: u ? 400 : 325
|
|
830
830
|
},
|
|
831
831
|
children: /* @__PURE__ */ a(
|
|
832
|
-
|
|
832
|
+
Se,
|
|
833
833
|
{
|
|
834
834
|
action: L,
|
|
835
|
-
severity:
|
|
835
|
+
severity: l,
|
|
836
836
|
sx: {
|
|
837
837
|
display: "flex",
|
|
838
838
|
alignItems: "stretch",
|
|
839
|
-
minHeight:
|
|
839
|
+
minHeight: s && c && u ? 120 : 56,
|
|
840
840
|
maxHeight: u ? 120 : 56,
|
|
841
841
|
width: "100%",
|
|
842
842
|
"& .MuiAlert-icon": {
|
|
@@ -863,7 +863,7 @@ const j0 = ({
|
|
|
863
863
|
textOverflow: u ? "clip" : "ellipsis"
|
|
864
864
|
},
|
|
865
865
|
truncate: !u,
|
|
866
|
-
children:
|
|
866
|
+
children: t
|
|
867
867
|
}
|
|
868
868
|
)
|
|
869
869
|
}
|
|
@@ -879,46 +879,46 @@ const j0 = ({
|
|
|
879
879
|
DARK: "dark"
|
|
880
880
|
}, re = C.createContext(q), te = C.createContext(
|
|
881
881
|
G(w.LIGHT, O.REACT_NATIVE)
|
|
882
|
-
),
|
|
882
|
+
), J0 = ({
|
|
883
883
|
children: e,
|
|
884
884
|
target: o = O.REACT,
|
|
885
|
-
theme:
|
|
885
|
+
theme: t = w.LIGHT,
|
|
886
886
|
tokenOverrides: n
|
|
887
887
|
}) => {
|
|
888
|
-
const [
|
|
888
|
+
const [l, i] = C.useState(t === w.LIGHT ? q : Ie), c = C.useMemo(() => ({
|
|
889
889
|
...n
|
|
890
890
|
}), [n]);
|
|
891
891
|
return C.useEffect(() => {
|
|
892
|
-
const
|
|
893
|
-
|
|
894
|
-
}, [
|
|
895
|
-
},
|
|
896
|
-
const
|
|
892
|
+
const s = G(t, o, { ...c });
|
|
893
|
+
i(s);
|
|
894
|
+
}, [t, o, c]), o === O.REACT ? /* @__PURE__ */ a(re.Provider, { value: l, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ a(te.Provider, { value: l, children: e }));
|
|
895
|
+
}, q0 = (e = O.REACT, o = {}) => {
|
|
896
|
+
const t = e === O.REACT ? re : te, n = C.useContext(t);
|
|
897
897
|
return n || G(w.LIGHT, e, { ...o });
|
|
898
|
-
},
|
|
898
|
+
}, eo = ({
|
|
899
899
|
component: e = z,
|
|
900
900
|
variant: o = "outlined",
|
|
901
|
-
selected:
|
|
901
|
+
selected: t,
|
|
902
902
|
onChange: n,
|
|
903
|
-
headline:
|
|
904
|
-
message:
|
|
905
|
-
name:
|
|
906
|
-
value:
|
|
907
|
-
disabled:
|
|
908
|
-
error:
|
|
903
|
+
headline: l,
|
|
904
|
+
message: i,
|
|
905
|
+
name: c,
|
|
906
|
+
value: s,
|
|
907
|
+
disabled: d = !1,
|
|
908
|
+
error: r = !1,
|
|
909
909
|
icon: u = !1,
|
|
910
910
|
sx: T = {},
|
|
911
911
|
...L
|
|
912
912
|
}) => {
|
|
913
|
-
const
|
|
913
|
+
const m = H(), ie = () => m.palette.background.paper, P = () => r ? `inset 0px 0px 0px 2px ${m.palette.error.main}` : d ? t ? `inset 0px 0px 0px 2px ${m.palette.action.disabled}` : o === "outlined" ? `inset 0px 0px 0px 1px ${m.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${m.palette.action.disabled}` : o === "outlined" ? t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.common.black, 0.23)}` : t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : m.shadows[1], ae = () => d || r ? m.palette.background.paper : b(m.palette.primary.main, 0.1), ne = () => d || r ? P() : o === "outlined" ? t ? `inset 0px 0px 0px 2px ${b(m.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${b(m.palette.primary.main, 0.5)}` : P(), le = () => d || r ? m.palette.background.paper : b(m.palette.primary.main, 0.3);
|
|
914
914
|
return /* @__PURE__ */ a(
|
|
915
|
-
|
|
915
|
+
ve,
|
|
916
916
|
{
|
|
917
|
-
checked:
|
|
917
|
+
checked: t,
|
|
918
918
|
control: e === z ? /* @__PURE__ */ a(
|
|
919
919
|
z,
|
|
920
920
|
{
|
|
921
|
-
name:
|
|
921
|
+
name: c,
|
|
922
922
|
sx: {
|
|
923
923
|
p: 0,
|
|
924
924
|
ml: 16,
|
|
@@ -931,9 +931,9 @@ const j0 = ({
|
|
|
931
931
|
...L
|
|
932
932
|
}
|
|
933
933
|
) : /* @__PURE__ */ a(
|
|
934
|
-
|
|
934
|
+
He,
|
|
935
935
|
{
|
|
936
|
-
name:
|
|
936
|
+
name: c,
|
|
937
937
|
sx: {
|
|
938
938
|
p: 0,
|
|
939
939
|
ml: 16,
|
|
@@ -946,12 +946,12 @@ const j0 = ({
|
|
|
946
946
|
...L
|
|
947
947
|
}
|
|
948
948
|
),
|
|
949
|
-
disabled:
|
|
949
|
+
disabled: d,
|
|
950
950
|
label: /* @__PURE__ */ x(B, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
|
|
951
951
|
u && /* @__PURE__ */ a(B, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: u }),
|
|
952
952
|
/* @__PURE__ */ x(B, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
953
|
-
|
|
954
|
-
/* @__PURE__ */ a(Y, { sx: { lineHeight: "20px" }, variant: "subtitle2", children:
|
|
953
|
+
l && /* @__PURE__ */ a(Y, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: l }),
|
|
954
|
+
/* @__PURE__ */ a(Y, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: i })
|
|
955
955
|
] })
|
|
956
956
|
] }),
|
|
957
957
|
labelPlacement: "start",
|
|
@@ -961,16 +961,16 @@ const j0 = ({
|
|
|
961
961
|
padding: "6px 16px",
|
|
962
962
|
alignItems: "flex-start",
|
|
963
963
|
justifyContent: "space-between",
|
|
964
|
-
borderRadius:
|
|
964
|
+
borderRadius: m.shape.borderRadius / 2,
|
|
965
965
|
mb: 16,
|
|
966
|
-
cursor:
|
|
967
|
-
opacity:
|
|
966
|
+
cursor: d ? "not-allowed" : "pointer",
|
|
967
|
+
opacity: d ? 0.6 : 1,
|
|
968
968
|
backgroundColor: ie(),
|
|
969
969
|
border: "none",
|
|
970
970
|
boxShadow: P(),
|
|
971
971
|
boxSizing: "border-box",
|
|
972
|
-
transition:
|
|
973
|
-
duration:
|
|
972
|
+
transition: m.transitions.create(["background-color", "box-shadow"], {
|
|
973
|
+
duration: m.transitions.duration.short
|
|
974
974
|
}),
|
|
975
975
|
"&:hover": {
|
|
976
976
|
backgroundColor: ae(),
|
|
@@ -980,12 +980,12 @@ const j0 = ({
|
|
|
980
980
|
backgroundColor: le()
|
|
981
981
|
},
|
|
982
982
|
"&:focus-visible": {
|
|
983
|
-
outline: `2px solid ${
|
|
983
|
+
outline: `2px solid ${m.palette.info.main}`,
|
|
984
984
|
outlineOffset: "2px"
|
|
985
985
|
},
|
|
986
986
|
...T
|
|
987
987
|
},
|
|
988
|
-
value:
|
|
988
|
+
value: s
|
|
989
989
|
}
|
|
990
990
|
);
|
|
991
991
|
}, v = {
|
|
@@ -1001,7 +1001,7 @@ const j0 = ({
|
|
|
1001
1001
|
700: k(e, 0.5),
|
|
1002
1002
|
800: k(e, 0.65),
|
|
1003
1003
|
900: k(e, 0.75)
|
|
1004
|
-
}), R = "#FFFFFF", N = "#000000",
|
|
1004
|
+
}), R = "#FFFFFF", N = "#000000", Ge = "#F9F9F9", $e = "#1A1A1A", E = {
|
|
1005
1005
|
PRIMARY: "#2C64EF",
|
|
1006
1006
|
SECONDARY: "#808080",
|
|
1007
1007
|
INFO: "#2C64EF",
|
|
@@ -1070,137 +1070,137 @@ const j0 = ({
|
|
|
1070
1070
|
TRANSFER: "#75C7B7",
|
|
1071
1071
|
TRAVEL: "#76ACF7",
|
|
1072
1072
|
UNCATEGORIZED: "#BCC6D4"
|
|
1073
|
-
},
|
|
1074
|
-
const
|
|
1073
|
+
}, Ue = (e, o) => {
|
|
1074
|
+
const t = A(o?.primary || E.PRIMARY), n = A(o?.secondary || E.SECONDARY), l = A(o?.error || E.ERROR), i = A(o?.warning || E.WARNING), c = A(o?.info || E.INFO), s = A(o?.success || E.SUCCESS), d = A(o?.grey || E.GREY), r = e === v.LIGHT;
|
|
1075
1075
|
return {
|
|
1076
1076
|
mode: e,
|
|
1077
1077
|
// DEPRECATED: Use grey instead
|
|
1078
1078
|
border: {
|
|
1079
1079
|
/* DEPRECATED: Use light instead */
|
|
1080
|
-
lighter:
|
|
1081
|
-
light:
|
|
1082
|
-
main:
|
|
1083
|
-
dark:
|
|
1080
|
+
lighter: r ? d[300] : d[700],
|
|
1081
|
+
light: r ? d[300] : d[700],
|
|
1082
|
+
main: r ? d[400] : d[600],
|
|
1083
|
+
dark: d[500],
|
|
1084
1084
|
/* DEPRECATED: Use light instead */
|
|
1085
|
-
darker:
|
|
1085
|
+
darker: d[500]
|
|
1086
1086
|
},
|
|
1087
1087
|
common: {
|
|
1088
1088
|
white: R,
|
|
1089
1089
|
black: N
|
|
1090
1090
|
},
|
|
1091
1091
|
primary: {
|
|
1092
|
-
...
|
|
1092
|
+
...t,
|
|
1093
1093
|
/* DEPRECATED: Use light instead */
|
|
1094
|
-
lighter:
|
|
1095
|
-
light:
|
|
1096
|
-
main:
|
|
1097
|
-
dark:
|
|
1094
|
+
lighter: r ? t[100] : t[800],
|
|
1095
|
+
light: r ? t[300] : t[600],
|
|
1096
|
+
main: r ? t[500] : t[400],
|
|
1097
|
+
dark: r ? t[700] : t[200],
|
|
1098
1098
|
/* DEPRECATED: Use dark instead */
|
|
1099
|
-
darker:
|
|
1099
|
+
darker: r ? t[900] : t[100]
|
|
1100
1100
|
},
|
|
1101
1101
|
secondary: {
|
|
1102
1102
|
...n,
|
|
1103
1103
|
/* DEPRECATED: Use light instead */
|
|
1104
|
-
lighter:
|
|
1105
|
-
light:
|
|
1106
|
-
main:
|
|
1107
|
-
dark:
|
|
1104
|
+
lighter: r ? n[100] : n[800],
|
|
1105
|
+
light: r ? n[300] : n[600],
|
|
1106
|
+
main: r ? n[500] : n[400],
|
|
1107
|
+
dark: r ? n[700] : n[200],
|
|
1108
1108
|
/* DEPRECATED: Use dark instead */
|
|
1109
|
-
darker:
|
|
1109
|
+
darker: r ? n[900] : n[100]
|
|
1110
1110
|
},
|
|
1111
1111
|
neutral: {
|
|
1112
|
-
...
|
|
1112
|
+
...d,
|
|
1113
1113
|
/* DEPRECATED: Use light instead */
|
|
1114
|
-
lighter:
|
|
1115
|
-
light:
|
|
1116
|
-
main:
|
|
1117
|
-
dark:
|
|
1114
|
+
lighter: r ? d[100] : d[800],
|
|
1115
|
+
light: r ? d[300] : d[600],
|
|
1116
|
+
main: r ? d[500] : d[400],
|
|
1117
|
+
dark: r ? d[700] : d[200],
|
|
1118
1118
|
/* DEPRECATED: Use dark instead */
|
|
1119
|
-
darker:
|
|
1120
|
-
contrastText:
|
|
1119
|
+
darker: r ? d[900] : d[100],
|
|
1120
|
+
contrastText: ye(r ? d[700] : d[400], "#fff") > 4.5 ? R : d[900]
|
|
1121
1121
|
},
|
|
1122
1122
|
text: {
|
|
1123
|
-
primary:
|
|
1124
|
-
secondary:
|
|
1125
|
-
disabled:
|
|
1123
|
+
primary: r ? d[900] : R,
|
|
1124
|
+
secondary: r ? d[600] : b(R, 0.7),
|
|
1125
|
+
disabled: r ? d[500] : b(R, 0.38)
|
|
1126
1126
|
},
|
|
1127
1127
|
error: {
|
|
1128
|
-
...
|
|
1128
|
+
...l,
|
|
1129
1129
|
/* DEPRECATED: Use light instead */
|
|
1130
|
-
lighter:
|
|
1131
|
-
light:
|
|
1132
|
-
main:
|
|
1133
|
-
dark:
|
|
1130
|
+
lighter: r ? l[100] : l[800],
|
|
1131
|
+
light: r ? l[300] : l[600],
|
|
1132
|
+
main: r ? l[500] : l[400],
|
|
1133
|
+
dark: r ? l[700] : l[200],
|
|
1134
1134
|
/* DEPRECATED: Use light instead */
|
|
1135
|
-
darker:
|
|
1135
|
+
darker: r ? l[900] : l[100]
|
|
1136
1136
|
},
|
|
1137
1137
|
warning: {
|
|
1138
|
-
...
|
|
1138
|
+
...i,
|
|
1139
1139
|
/* DEPRECATED: Use light instead */
|
|
1140
|
-
lighter:
|
|
1141
|
-
light:
|
|
1142
|
-
main:
|
|
1143
|
-
dark:
|
|
1140
|
+
lighter: r ? i[100] : i[800],
|
|
1141
|
+
light: r ? i[300] : i[600],
|
|
1142
|
+
main: r ? i[500] : i[400],
|
|
1143
|
+
dark: r ? i[700] : i[200],
|
|
1144
1144
|
/* DEPRECATED: Use light instead */
|
|
1145
|
-
darker:
|
|
1145
|
+
darker: r ? i[900] : i[100]
|
|
1146
1146
|
},
|
|
1147
1147
|
info: {
|
|
1148
|
-
...
|
|
1148
|
+
...c,
|
|
1149
1149
|
/* DEPRECATED: Use light instead */
|
|
1150
|
-
lighter:
|
|
1151
|
-
light:
|
|
1152
|
-
main:
|
|
1153
|
-
dark:
|
|
1150
|
+
lighter: r ? c[100] : c[800],
|
|
1151
|
+
light: r ? c[300] : c[600],
|
|
1152
|
+
main: r ? c[500] : c[400],
|
|
1153
|
+
dark: r ? c[700] : c[200],
|
|
1154
1154
|
/* DEPRECATED: Use light instead */
|
|
1155
|
-
darker:
|
|
1155
|
+
darker: r ? c[900] : c[100]
|
|
1156
1156
|
},
|
|
1157
1157
|
success: {
|
|
1158
|
-
...
|
|
1158
|
+
...s,
|
|
1159
1159
|
/* DEPRECATED: Use light instead */
|
|
1160
|
-
lighter:
|
|
1161
|
-
light:
|
|
1162
|
-
main:
|
|
1163
|
-
dark:
|
|
1160
|
+
lighter: r ? s[100] : s[800],
|
|
1161
|
+
light: r ? s[300] : s[600],
|
|
1162
|
+
main: r ? s[500] : s[400],
|
|
1163
|
+
dark: r ? s[700] : s[200],
|
|
1164
1164
|
/* DEPRECATED: Use light instead */
|
|
1165
|
-
darker:
|
|
1165
|
+
darker: r ? s[900] : s[100]
|
|
1166
1166
|
},
|
|
1167
|
-
grey:
|
|
1167
|
+
grey: d,
|
|
1168
1168
|
action: {
|
|
1169
|
-
active:
|
|
1170
|
-
hoverOpacity:
|
|
1171
|
-
selectedOpacity:
|
|
1169
|
+
active: r ? b(N, 0.56) : b(R, 0.56),
|
|
1170
|
+
hoverOpacity: r ? 0.1 : 0.2,
|
|
1171
|
+
selectedOpacity: r ? 0.16 : 0.25,
|
|
1172
1172
|
focusOpacity: 0.3
|
|
1173
1173
|
},
|
|
1174
1174
|
background: {
|
|
1175
|
-
default:
|
|
1176
|
-
paper:
|
|
1177
|
-
highlight:
|
|
1178
|
-
highlightPrimary:
|
|
1175
|
+
default: r ? o?.background?.default?.light || Ge : o?.background?.default?.dark || N,
|
|
1176
|
+
paper: r ? o?.background?.paper?.light || R : o?.background?.paper?.dark || $e,
|
|
1177
|
+
highlight: r ? d[200] : d[600],
|
|
1178
|
+
highlightPrimary: r ? t[100] : t[500]
|
|
1179
1179
|
},
|
|
1180
|
-
divider:
|
|
1180
|
+
divider: r ? b(N, 0.12) : b(R, 0.24),
|
|
1181
1181
|
categories: {
|
|
1182
|
-
autoTransport:
|
|
1183
|
-
billsUtilities:
|
|
1184
|
-
businessServices:
|
|
1185
|
-
education:
|
|
1186
|
-
entertainment:
|
|
1187
|
-
feesCharges:
|
|
1188
|
-
financial:
|
|
1189
|
-
foodDining:
|
|
1190
|
-
giftsDonations:
|
|
1191
|
-
healthFitness:
|
|
1192
|
-
home:
|
|
1193
|
-
income:
|
|
1194
|
-
investments:
|
|
1195
|
-
kids:
|
|
1196
|
-
others:
|
|
1197
|
-
personalCare:
|
|
1198
|
-
pets:
|
|
1199
|
-
shopping:
|
|
1200
|
-
taxes:
|
|
1201
|
-
transfer:
|
|
1202
|
-
travel:
|
|
1203
|
-
uncategorized:
|
|
1182
|
+
autoTransport: r ? p.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1183
|
+
billsUtilities: r ? p.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
1184
|
+
businessServices: r ? p.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
|
|
1185
|
+
education: r ? p.EDUCATION : h.EDUCATION,
|
|
1186
|
+
entertainment: r ? p.ENTERTAINMENT : h.ENTERTAINMENT,
|
|
1187
|
+
feesCharges: r ? p.FEES_CHARGES : h.FEES_CHARGES,
|
|
1188
|
+
financial: r ? p.FINANCIAL : h.FINANCIAL,
|
|
1189
|
+
foodDining: r ? p.FOOD_DINING : h.FOOD_DINING,
|
|
1190
|
+
giftsDonations: r ? p.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
|
|
1191
|
+
healthFitness: r ? p.HEALTH_FITNESS : h.HEALTH_FITNESS,
|
|
1192
|
+
home: r ? p.HOME : h.HOME,
|
|
1193
|
+
income: r ? p.INCOME : h.INCOME,
|
|
1194
|
+
investments: r ? p.INVESTMENTS : h.INVESTMENTS,
|
|
1195
|
+
kids: r ? p.KIDS : h.KIDS,
|
|
1196
|
+
others: r ? p.OTHERS : h.OTHERS,
|
|
1197
|
+
personalCare: r ? p.PERSONAL_CARE : h.PERSONAL_CARE,
|
|
1198
|
+
pets: r ? p.PETS : h.PETS,
|
|
1199
|
+
shopping: r ? p.SHOPPING : h.SHOPPING,
|
|
1200
|
+
taxes: r ? p.TAXES : h.TAXES,
|
|
1201
|
+
transfer: r ? p.TRANSFER : h.TRANSFER,
|
|
1202
|
+
travel: r ? p.TRAVEL : h.TRAVEL,
|
|
1203
|
+
uncategorized: r ? p.UNCATEGORIZED : h.UNCATEGORIZED
|
|
1204
1204
|
},
|
|
1205
1205
|
chart: {
|
|
1206
1206
|
chart1: S.CHART1,
|
|
@@ -1220,8 +1220,8 @@ const j0 = ({
|
|
|
1220
1220
|
chartMono6: I.CHART_MONO6
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
|
-
},
|
|
1224
|
-
const o = e?.fontFamily ||
|
|
1223
|
+
}, We = "Inter, Helvetica, Arial, sans-serif", Ze = (e) => {
|
|
1224
|
+
const o = e?.fontFamily || We;
|
|
1225
1225
|
return {
|
|
1226
1226
|
fontFamily: o,
|
|
1227
1227
|
fontSize: 15,
|
|
@@ -1234,7 +1234,7 @@ const j0 = ({
|
|
|
1234
1234
|
body1: {
|
|
1235
1235
|
fontFamily: o,
|
|
1236
1236
|
fontSize: 15,
|
|
1237
|
-
lineHeight:
|
|
1237
|
+
lineHeight: 1.25
|
|
1238
1238
|
},
|
|
1239
1239
|
Small: {
|
|
1240
1240
|
// DEPRECATED: Use body2 instead
|
|
@@ -1245,7 +1245,7 @@ const j0 = ({
|
|
|
1245
1245
|
body2: {
|
|
1246
1246
|
fontFamily: o,
|
|
1247
1247
|
fontSize: 13,
|
|
1248
|
-
lineHeight:
|
|
1248
|
+
lineHeight: 1
|
|
1249
1249
|
},
|
|
1250
1250
|
Button: {
|
|
1251
1251
|
// DEPRECATED: Use button instead
|
|
@@ -1265,7 +1265,7 @@ const j0 = ({
|
|
|
1265
1265
|
caption: {
|
|
1266
1266
|
fontFamily: o,
|
|
1267
1267
|
fontSize: 11,
|
|
1268
|
-
lineHeight:
|
|
1268
|
+
lineHeight: 1
|
|
1269
1269
|
},
|
|
1270
1270
|
H1: {
|
|
1271
1271
|
// DEPRECATED: Use h1 instead
|
|
@@ -1278,7 +1278,7 @@ const j0 = ({
|
|
|
1278
1278
|
fontFamily: o,
|
|
1279
1279
|
fontWeight: 700,
|
|
1280
1280
|
fontSize: 31,
|
|
1281
|
-
lineHeight:
|
|
1281
|
+
lineHeight: 2.5
|
|
1282
1282
|
},
|
|
1283
1283
|
H2: {
|
|
1284
1284
|
// DEPRECATED: Use h2 instead
|
|
@@ -1291,7 +1291,7 @@ const j0 = ({
|
|
|
1291
1291
|
fontFamily: o,
|
|
1292
1292
|
fontWeight: 700,
|
|
1293
1293
|
fontSize: 23,
|
|
1294
|
-
lineHeight:
|
|
1294
|
+
lineHeight: 2
|
|
1295
1295
|
},
|
|
1296
1296
|
H3: {
|
|
1297
1297
|
// DEPRECATED: Use h3 instead
|
|
@@ -1304,7 +1304,7 @@ const j0 = ({
|
|
|
1304
1304
|
fontFamily: o,
|
|
1305
1305
|
fontWeight: 700,
|
|
1306
1306
|
fontSize: 18,
|
|
1307
|
-
lineHeight:
|
|
1307
|
+
lineHeight: 1.5
|
|
1308
1308
|
},
|
|
1309
1309
|
// h4: {
|
|
1310
1310
|
// fontFamily,
|
|
@@ -1327,7 +1327,7 @@ const j0 = ({
|
|
|
1327
1327
|
subtitle1: {
|
|
1328
1328
|
fontFamily: o,
|
|
1329
1329
|
fontSize: 15,
|
|
1330
|
-
lineHeight:
|
|
1330
|
+
lineHeight: 1.5
|
|
1331
1331
|
},
|
|
1332
1332
|
ParagraphSmall: {
|
|
1333
1333
|
// DEPRECATED: Use subtitle2 instead
|
|
@@ -1338,7 +1338,7 @@ const j0 = ({
|
|
|
1338
1338
|
subtitle2: {
|
|
1339
1339
|
fontFamily: o,
|
|
1340
1340
|
fontSize: 13,
|
|
1341
|
-
lineHeight:
|
|
1341
|
+
lineHeight: 1.25
|
|
1342
1342
|
},
|
|
1343
1343
|
Tiny: {
|
|
1344
1344
|
// DEPRECATED: Use tiny instead
|
|
@@ -1349,22 +1349,21 @@ const j0 = ({
|
|
|
1349
1349
|
tiny: {
|
|
1350
1350
|
fontFamily: o,
|
|
1351
1351
|
fontSize: 9,
|
|
1352
|
-
lineHeight:
|
|
1352
|
+
lineHeight: 0.75
|
|
1353
1353
|
},
|
|
1354
1354
|
...e
|
|
1355
1355
|
};
|
|
1356
1356
|
};
|
|
1357
|
-
|
|
1357
|
+
Fe.setLicenseKey(
|
|
1358
1358
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1359
1359
|
);
|
|
1360
1360
|
const _ = [...X().shadows];
|
|
1361
1361
|
_[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1362
1362
|
_[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1363
1363
|
_[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1364
|
-
const
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
return X({
|
|
1364
|
+
const oo = (e, o) => {
|
|
1365
|
+
const t = Ue(e, o?.paletteOptions), n = Ze(o?.typographyOptions);
|
|
1366
|
+
let l = X({
|
|
1368
1367
|
breakpoints: {
|
|
1369
1368
|
values: {
|
|
1370
1369
|
xs: 444,
|
|
@@ -1374,7 +1373,7 @@ const eo = (e, o) => {
|
|
|
1374
1373
|
xl: 1536
|
|
1375
1374
|
}
|
|
1376
1375
|
},
|
|
1377
|
-
palette:
|
|
1376
|
+
palette: t,
|
|
1378
1377
|
shadows: _,
|
|
1379
1378
|
shape: {
|
|
1380
1379
|
borderRadius: o?.shapeOptions?.borderRadius || 4
|
|
@@ -1394,19 +1393,19 @@ const eo = (e, o) => {
|
|
|
1394
1393
|
variant: "outlined"
|
|
1395
1394
|
},
|
|
1396
1395
|
styleOverrides: {
|
|
1397
|
-
root: ({ theme:
|
|
1398
|
-
const
|
|
1399
|
-
let
|
|
1400
|
-
if (
|
|
1401
|
-
const
|
|
1402
|
-
|
|
1396
|
+
root: ({ theme: i, ownerState: c }) => {
|
|
1397
|
+
const s = c.severity || "info";
|
|
1398
|
+
let d = i.palette.mode === v.LIGHT ? i.palette[s]?.[50] : i.palette[s]?.[800];
|
|
1399
|
+
if (c.variant === "filled") {
|
|
1400
|
+
const r = s === "warning";
|
|
1401
|
+
d = i.palette[s]?.[r ? 400 : 600];
|
|
1403
1402
|
}
|
|
1404
1403
|
return {
|
|
1405
|
-
backgroundColor:
|
|
1406
|
-
borderRadius:
|
|
1404
|
+
backgroundColor: d,
|
|
1405
|
+
borderRadius: i.shape.borderRadius,
|
|
1407
1406
|
"& .MuiAlert-message": {
|
|
1408
|
-
fontSize:
|
|
1409
|
-
lineHeight:
|
|
1407
|
+
fontSize: i.typography.subtitle1.fontSize,
|
|
1408
|
+
lineHeight: i.typography.subtitle1.lineHeight,
|
|
1410
1409
|
marginTop: "auto",
|
|
1411
1410
|
marginBottom: "auto"
|
|
1412
1411
|
},
|
|
@@ -1432,14 +1431,14 @@ const eo = (e, o) => {
|
|
|
1432
1431
|
disableElevation: !0
|
|
1433
1432
|
},
|
|
1434
1433
|
styleOverrides: {
|
|
1435
|
-
root: ({ theme:
|
|
1434
|
+
root: ({ theme: i }) => ({
|
|
1436
1435
|
fontWeight: 600,
|
|
1437
1436
|
textTransform: "none",
|
|
1438
1437
|
"&.Mui-disabled": {
|
|
1439
1438
|
cursor: "not-allowed"
|
|
1440
1439
|
},
|
|
1441
1440
|
"&.Mui-focusVisible": {
|
|
1442
|
-
outline: `2px solid ${
|
|
1441
|
+
outline: `2px solid ${i.palette.info.main}`,
|
|
1443
1442
|
outlineOffset: "2px"
|
|
1444
1443
|
}
|
|
1445
1444
|
}),
|
|
@@ -1476,7 +1475,7 @@ const eo = (e, o) => {
|
|
|
1476
1475
|
styleOverrides: {
|
|
1477
1476
|
root: {
|
|
1478
1477
|
"&.Mui-focusVisible": {
|
|
1479
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1478
|
+
boxShadow: `inset 0 0 0 2px ${t.info.main}`
|
|
1480
1479
|
}
|
|
1481
1480
|
}
|
|
1482
1481
|
}
|
|
@@ -1484,7 +1483,7 @@ const eo = (e, o) => {
|
|
|
1484
1483
|
MuiCircularProgress: {
|
|
1485
1484
|
styleOverrides: {
|
|
1486
1485
|
root: {
|
|
1487
|
-
[`& .${
|
|
1486
|
+
[`& .${Oe.circle}`]: {
|
|
1488
1487
|
strokeLinecap: "round"
|
|
1489
1488
|
}
|
|
1490
1489
|
}
|
|
@@ -1505,22 +1504,22 @@ const eo = (e, o) => {
|
|
|
1505
1504
|
},
|
|
1506
1505
|
MuiDataGrid: {
|
|
1507
1506
|
styleOverrides: {
|
|
1508
|
-
root: ({ theme:
|
|
1507
|
+
root: ({ theme: i }) => ({
|
|
1509
1508
|
border: "none",
|
|
1510
1509
|
borderRadius: 0,
|
|
1511
|
-
fontSize:
|
|
1510
|
+
fontSize: i.typography.body2.fontSize,
|
|
1512
1511
|
"& .MuiDataGrid-cell": {
|
|
1513
1512
|
display: "flex",
|
|
1514
1513
|
alignItems: "center",
|
|
1515
1514
|
borderTop: "1px solid",
|
|
1516
|
-
borderColor:
|
|
1515
|
+
borderColor: i.palette.background.highlight
|
|
1517
1516
|
},
|
|
1518
1517
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1519
1518
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1520
1519
|
"& .MuiDataGrid-columnHeaders": {
|
|
1521
|
-
backgroundColor:
|
|
1520
|
+
backgroundColor: i.palette.background.paper,
|
|
1522
1521
|
borderBottom: "2px solid",
|
|
1523
|
-
borderColor:
|
|
1522
|
+
borderColor: i.palette.divider
|
|
1524
1523
|
},
|
|
1525
1524
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1526
1525
|
fontWeight: 600
|
|
@@ -1538,42 +1537,42 @@ const eo = (e, o) => {
|
|
|
1538
1537
|
},
|
|
1539
1538
|
MuiDateRangePickerDay: {
|
|
1540
1539
|
styleOverrides: {
|
|
1541
|
-
root: ({ theme:
|
|
1540
|
+
root: ({ theme: i }) => ({
|
|
1542
1541
|
":first-of-type": {
|
|
1543
|
-
borderTopLeftRadius:
|
|
1544
|
-
borderBottomLeftRadius:
|
|
1542
|
+
borderTopLeftRadius: i.shape.borderRadius,
|
|
1543
|
+
borderBottomLeftRadius: i.shape.borderRadius,
|
|
1545
1544
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1546
|
-
borderTopLeftRadius:
|
|
1547
|
-
borderBottomLeftRadius:
|
|
1545
|
+
borderTopLeftRadius: i.shape.borderRadius,
|
|
1546
|
+
borderBottomLeftRadius: i.shape.borderRadius
|
|
1548
1547
|
}
|
|
1549
1548
|
},
|
|
1550
1549
|
":last-of-type": {
|
|
1551
|
-
borderTopRightRadius:
|
|
1552
|
-
borderBottomRightRadius:
|
|
1550
|
+
borderTopRightRadius: i.shape.borderRadius,
|
|
1551
|
+
borderBottomRightRadius: i.shape.borderRadius,
|
|
1553
1552
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1554
|
-
borderTopRightRadius:
|
|
1555
|
-
borderBottomRightRadius:
|
|
1553
|
+
borderTopRightRadius: i.shape.borderRadius,
|
|
1554
|
+
borderBottomRightRadius: i.shape.borderRadius
|
|
1556
1555
|
}
|
|
1557
1556
|
},
|
|
1558
1557
|
"& .Mui-selected": {
|
|
1559
|
-
borderRadius:
|
|
1558
|
+
borderRadius: i.shape.borderRadius
|
|
1560
1559
|
},
|
|
1561
1560
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1562
|
-
color:
|
|
1561
|
+
color: i.palette.action.disabled
|
|
1563
1562
|
}
|
|
1564
1563
|
}),
|
|
1565
|
-
day: ({ theme:
|
|
1566
|
-
borderRadius:
|
|
1564
|
+
day: ({ theme: i }) => ({
|
|
1565
|
+
borderRadius: i.shape.borderRadius
|
|
1567
1566
|
}),
|
|
1568
|
-
rangeIntervalDayPreview: ({ theme:
|
|
1569
|
-
borderRadius:
|
|
1567
|
+
rangeIntervalDayPreview: ({ theme: i }) => ({
|
|
1568
|
+
borderRadius: i.shape.borderRadius
|
|
1570
1569
|
})
|
|
1571
1570
|
}
|
|
1572
1571
|
},
|
|
1573
1572
|
MuiDayCalendar: {
|
|
1574
1573
|
styleOverrides: {
|
|
1575
|
-
weekDayLabel: ({ theme:
|
|
1576
|
-
fontSize:
|
|
1574
|
+
weekDayLabel: ({ theme: i }) => ({
|
|
1575
|
+
fontSize: i.typography.body2.fontSize,
|
|
1577
1576
|
fontWeight: 700
|
|
1578
1577
|
})
|
|
1579
1578
|
}
|
|
@@ -1615,14 +1614,14 @@ const eo = (e, o) => {
|
|
|
1615
1614
|
},
|
|
1616
1615
|
MuiFormHelperText: {
|
|
1617
1616
|
styleOverrides: {
|
|
1618
|
-
root: ({ theme:
|
|
1617
|
+
root: ({ theme: i }) => ({
|
|
1619
1618
|
fontSize: 13,
|
|
1620
1619
|
// Small
|
|
1621
1620
|
marginLeft: 0,
|
|
1622
1621
|
display: "flex",
|
|
1623
1622
|
alignItems: "center",
|
|
1624
1623
|
position: "relative",
|
|
1625
|
-
color:
|
|
1624
|
+
color: i.palette.text.secondary,
|
|
1626
1625
|
"& .MuiSvgIcon-root": {
|
|
1627
1626
|
height: "16px",
|
|
1628
1627
|
width: "16px",
|
|
@@ -1638,7 +1637,7 @@ const eo = (e, o) => {
|
|
|
1638
1637
|
MuiFormLabel: {
|
|
1639
1638
|
styleOverrides: {
|
|
1640
1639
|
asterisk: {
|
|
1641
|
-
color:
|
|
1640
|
+
color: t.error.main
|
|
1642
1641
|
}
|
|
1643
1642
|
}
|
|
1644
1643
|
},
|
|
@@ -1653,19 +1652,19 @@ const eo = (e, o) => {
|
|
|
1653
1652
|
disableFocusRipple: !0
|
|
1654
1653
|
},
|
|
1655
1654
|
styleOverrides: {
|
|
1656
|
-
root: ({ theme:
|
|
1657
|
-
borderRadius:
|
|
1655
|
+
root: ({ theme: i }) => ({
|
|
1656
|
+
borderRadius: i.shape.borderRadius,
|
|
1658
1657
|
minHeight: 44,
|
|
1659
1658
|
// touch target
|
|
1660
1659
|
minWidth: 44,
|
|
1661
1660
|
// touch target
|
|
1662
1661
|
"&.Mui-focusVisible": {
|
|
1663
|
-
outline: `2px solid ${
|
|
1662
|
+
outline: `2px solid ${i.palette.info.main}`,
|
|
1664
1663
|
outlineOffset: "2px"
|
|
1665
1664
|
},
|
|
1666
1665
|
"& .MuiTouchRipple-root": {
|
|
1667
1666
|
"& .MuiTouchRipple-child": {
|
|
1668
|
-
borderRadius:
|
|
1667
|
+
borderRadius: i.shape.borderRadius
|
|
1669
1668
|
}
|
|
1670
1669
|
}
|
|
1671
1670
|
})
|
|
@@ -1686,13 +1685,13 @@ const eo = (e, o) => {
|
|
|
1686
1685
|
borderRadius: 4
|
|
1687
1686
|
},
|
|
1688
1687
|
colorPrimary: {
|
|
1689
|
-
backgroundColor:
|
|
1688
|
+
backgroundColor: t.grey[300]
|
|
1690
1689
|
}
|
|
1691
1690
|
}
|
|
1692
1691
|
},
|
|
1693
1692
|
MuiLink: {
|
|
1694
1693
|
styleOverrides: {
|
|
1695
|
-
root: ({ theme:
|
|
1694
|
+
root: ({ theme: i, color: c }) => ({
|
|
1696
1695
|
cursor: "pointer",
|
|
1697
1696
|
fontWeight: 600,
|
|
1698
1697
|
textDecoration: "none",
|
|
@@ -1704,10 +1703,10 @@ const eo = (e, o) => {
|
|
|
1704
1703
|
outlineOffset: "2px"
|
|
1705
1704
|
},
|
|
1706
1705
|
"&:hover": {
|
|
1707
|
-
backgroundColor:
|
|
1706
|
+
backgroundColor: i.palette.action.hover
|
|
1708
1707
|
},
|
|
1709
1708
|
"&:active": {
|
|
1710
|
-
backgroundColor:
|
|
1709
|
+
backgroundColor: i.palette.mode === v.LIGHT ? i.palette[c].light : i.palette[c].dark
|
|
1711
1710
|
}
|
|
1712
1711
|
})
|
|
1713
1712
|
}
|
|
@@ -1734,9 +1733,9 @@ const eo = (e, o) => {
|
|
|
1734
1733
|
disablePadding: !0
|
|
1735
1734
|
},
|
|
1736
1735
|
styleOverrides: {
|
|
1737
|
-
root: ({ ownerState:
|
|
1736
|
+
root: ({ ownerState: i }) => ({
|
|
1738
1737
|
minHeight: 64,
|
|
1739
|
-
...!
|
|
1738
|
+
...!i.disablePadding && {
|
|
1740
1739
|
paddingTop: 12,
|
|
1741
1740
|
paddingBottom: 12,
|
|
1742
1741
|
paddingLeft: 24
|
|
@@ -1760,7 +1759,7 @@ const eo = (e, o) => {
|
|
|
1760
1759
|
},
|
|
1761
1760
|
MuiListItemButton: {
|
|
1762
1761
|
styleOverrides: {
|
|
1763
|
-
root: ({ theme:
|
|
1762
|
+
root: ({ theme: i }) => ({
|
|
1764
1763
|
minHeight: 64,
|
|
1765
1764
|
paddingLeft: 24,
|
|
1766
1765
|
paddingRight: 24,
|
|
@@ -1769,7 +1768,7 @@ const eo = (e, o) => {
|
|
|
1769
1768
|
"&.Mui-focusVisible": {
|
|
1770
1769
|
backgroundColor: "transparent",
|
|
1771
1770
|
borderRadius: 8,
|
|
1772
|
-
outline: `2px solid ${
|
|
1771
|
+
outline: `2px solid ${i.palette.info.main}`,
|
|
1773
1772
|
outlineOffset: -2
|
|
1774
1773
|
}
|
|
1775
1774
|
})
|
|
@@ -1791,7 +1790,7 @@ const eo = (e, o) => {
|
|
|
1791
1790
|
},
|
|
1792
1791
|
secondaryTypographyProps: {
|
|
1793
1792
|
fontSize: 11,
|
|
1794
|
-
color:
|
|
1793
|
+
color: t.text.secondary
|
|
1795
1794
|
}
|
|
1796
1795
|
},
|
|
1797
1796
|
styleOverrides: {
|
|
@@ -1811,7 +1810,7 @@ const eo = (e, o) => {
|
|
|
1811
1810
|
lineHeight: "inherit",
|
|
1812
1811
|
top: -1,
|
|
1813
1812
|
// This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
|
|
1814
|
-
backgroundColor:
|
|
1813
|
+
backgroundColor: t.background.default
|
|
1815
1814
|
}
|
|
1816
1815
|
}
|
|
1817
1816
|
},
|
|
@@ -1894,11 +1893,11 @@ const eo = (e, o) => {
|
|
|
1894
1893
|
},
|
|
1895
1894
|
MuiPickersToolbar: {
|
|
1896
1895
|
styleOverrides: {
|
|
1897
|
-
content: ({ theme:
|
|
1896
|
+
content: ({ theme: i }) => ({
|
|
1898
1897
|
marginTop: 4,
|
|
1899
1898
|
"& .MuiTypography-root": {
|
|
1900
|
-
fontSize:
|
|
1901
|
-
lineHeight:
|
|
1899
|
+
fontSize: i.typography.h3.fontSize,
|
|
1900
|
+
lineHeight: i.typography.h3.lineHeight
|
|
1902
1901
|
}
|
|
1903
1902
|
})
|
|
1904
1903
|
}
|
|
@@ -1924,7 +1923,7 @@ const eo = (e, o) => {
|
|
|
1924
1923
|
disableFocusRipple: !0
|
|
1925
1924
|
},
|
|
1926
1925
|
styleOverrides: {
|
|
1927
|
-
root: ({ theme:
|
|
1926
|
+
root: ({ theme: i }) => ({
|
|
1928
1927
|
width: 37,
|
|
1929
1928
|
height: 20,
|
|
1930
1929
|
padding: 0,
|
|
@@ -1935,7 +1934,7 @@ const eo = (e, o) => {
|
|
|
1935
1934
|
"&.Mui-checked": {
|
|
1936
1935
|
transform: "translateX(16px)",
|
|
1937
1936
|
"& + .MuiSwitch-track": {
|
|
1938
|
-
backgroundColor:
|
|
1937
|
+
backgroundColor: i.palette.success.main,
|
|
1939
1938
|
opacity: 1,
|
|
1940
1939
|
border: 0
|
|
1941
1940
|
},
|
|
@@ -1944,27 +1943,27 @@ const eo = (e, o) => {
|
|
|
1944
1943
|
}
|
|
1945
1944
|
},
|
|
1946
1945
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1947
|
-
color:
|
|
1946
|
+
color: i.palette.common.white
|
|
1948
1947
|
},
|
|
1949
1948
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1950
|
-
backgroundColor:
|
|
1949
|
+
backgroundColor: i.palette.action.disabledBackground,
|
|
1951
1950
|
opacity: 1
|
|
1952
1951
|
}
|
|
1953
1952
|
},
|
|
1954
1953
|
"& .MuiSwitch-input": {
|
|
1955
1954
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
1956
|
-
outline: `2px solid ${
|
|
1955
|
+
outline: `2px solid ${i.palette.info.main}`,
|
|
1957
1956
|
outlineOffset: 0
|
|
1958
1957
|
}
|
|
1959
1958
|
},
|
|
1960
1959
|
"& .MuiSwitch-thumb": {
|
|
1961
1960
|
boxSizing: "border-box",
|
|
1962
|
-
backgroundColor:
|
|
1961
|
+
backgroundColor: i.palette.background.paper,
|
|
1963
1962
|
width: 16,
|
|
1964
1963
|
height: 16
|
|
1965
1964
|
},
|
|
1966
1965
|
"& .MuiSwitch-track": {
|
|
1967
|
-
backgroundColor:
|
|
1966
|
+
backgroundColor: i.palette.action.active,
|
|
1968
1967
|
borderRadius: 20 / 2,
|
|
1969
1968
|
opacity: 1
|
|
1970
1969
|
}
|
|
@@ -1981,7 +1980,7 @@ const eo = (e, o) => {
|
|
|
1981
1980
|
fontWeight: 600,
|
|
1982
1981
|
"&.Mui-focusVisible": {
|
|
1983
1982
|
outline: "none",
|
|
1984
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1983
|
+
boxShadow: `inset 0 0 0 2px ${t.info.main}`,
|
|
1985
1984
|
borderRadius: 4
|
|
1986
1985
|
}
|
|
1987
1986
|
}
|
|
@@ -1992,7 +1991,7 @@ const eo = (e, o) => {
|
|
|
1992
1991
|
root: {
|
|
1993
1992
|
borderBottomStyle: "solid",
|
|
1994
1993
|
borderBottomWidth: 1,
|
|
1995
|
-
borderColor:
|
|
1994
|
+
borderColor: t.divider,
|
|
1996
1995
|
marginBottom: 8
|
|
1997
1996
|
}
|
|
1998
1997
|
}
|
|
@@ -2006,7 +2005,7 @@ const eo = (e, o) => {
|
|
|
2006
2005
|
},
|
|
2007
2006
|
styleOverrides: {
|
|
2008
2007
|
root: {
|
|
2009
|
-
backgroundColor:
|
|
2008
|
+
backgroundColor: t.background.paper
|
|
2010
2009
|
}
|
|
2011
2010
|
}
|
|
2012
2011
|
},
|
|
@@ -2017,29 +2016,29 @@ const eo = (e, o) => {
|
|
|
2017
2016
|
},
|
|
2018
2017
|
styleOverrides: {
|
|
2019
2018
|
root: {
|
|
2020
|
-
color:
|
|
2019
|
+
color: t.text.primary,
|
|
2021
2020
|
fontSize: 13,
|
|
2022
2021
|
lineHeight: "16px",
|
|
2023
2022
|
textTransform: "none",
|
|
2024
2023
|
"&:focus-visible": {
|
|
2025
|
-
outline: `2px solid ${
|
|
2024
|
+
outline: `2px solid ${t.info.main}`,
|
|
2026
2025
|
outlineOffset: "2px"
|
|
2027
2026
|
},
|
|
2028
2027
|
"&:hover": {
|
|
2029
|
-
backgroundColor: b(
|
|
2030
|
-
borderColor:
|
|
2028
|
+
backgroundColor: b(t.primary.main, t.mode === v.LIGHT ? 0.1 : 0.2),
|
|
2029
|
+
borderColor: t.primary.main
|
|
2031
2030
|
},
|
|
2032
2031
|
"&.Mui-selected": {
|
|
2033
2032
|
fontWeight: 600,
|
|
2034
|
-
borderColor:
|
|
2033
|
+
borderColor: t.primary.main,
|
|
2035
2034
|
"&:hover": {
|
|
2036
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2035
|
+
boxShadow: `inset 0px 0px 0px 2px ${t.primary.main}`
|
|
2037
2036
|
}
|
|
2038
2037
|
},
|
|
2039
2038
|
"& .MuiTouchRipple-root": {
|
|
2040
2039
|
"& .MuiTouchRipple-ripple": {
|
|
2041
2040
|
"& .MuiTouchRipple-child": {
|
|
2042
|
-
backgroundColor:
|
|
2041
|
+
backgroundColor: t.primary.main
|
|
2043
2042
|
}
|
|
2044
2043
|
}
|
|
2045
2044
|
}
|
|
@@ -2050,19 +2049,19 @@ const eo = (e, o) => {
|
|
|
2050
2049
|
props: { color: "error" },
|
|
2051
2050
|
style: {
|
|
2052
2051
|
"&:hover": {
|
|
2053
|
-
backgroundColor: b(
|
|
2054
|
-
borderColor:
|
|
2052
|
+
backgroundColor: b(t.error.main, t.mode === v.LIGHT ? 0.1 : 0.2),
|
|
2053
|
+
borderColor: t.error.main
|
|
2055
2054
|
},
|
|
2056
2055
|
"&.Mui-selected": {
|
|
2057
|
-
borderColor:
|
|
2056
|
+
borderColor: t.error.main,
|
|
2058
2057
|
"&:hover": {
|
|
2059
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2058
|
+
boxShadow: `inset 0px 0px 0px 2px ${t.error.main}`
|
|
2060
2059
|
}
|
|
2061
2060
|
},
|
|
2062
2061
|
"& .MuiTouchRipple-root": {
|
|
2063
2062
|
"& .MuiTouchRipple-ripple": {
|
|
2064
2063
|
"& .MuiTouchRipple-child": {
|
|
2065
|
-
backgroundColor:
|
|
2064
|
+
backgroundColor: t.error.main
|
|
2066
2065
|
}
|
|
2067
2066
|
}
|
|
2068
2067
|
}
|
|
@@ -2073,21 +2072,21 @@ const eo = (e, o) => {
|
|
|
2073
2072
|
style: {
|
|
2074
2073
|
"&:hover": {
|
|
2075
2074
|
backgroundColor: b(
|
|
2076
|
-
|
|
2077
|
-
|
|
2075
|
+
t.secondary.main,
|
|
2076
|
+
t.mode === v.LIGHT ? 0.1 : 0.2
|
|
2078
2077
|
),
|
|
2079
|
-
borderColor:
|
|
2078
|
+
borderColor: t.secondary.main
|
|
2080
2079
|
},
|
|
2081
2080
|
"&.Mui-selected": {
|
|
2082
|
-
borderColor:
|
|
2081
|
+
borderColor: t.secondary.main,
|
|
2083
2082
|
"&:hover": {
|
|
2084
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
2083
|
+
boxShadow: `inset 0px 0px 0px 2px ${t.secondary.main}`
|
|
2085
2084
|
}
|
|
2086
2085
|
},
|
|
2087
2086
|
"& .MuiTouchRipple-root": {
|
|
2088
2087
|
"& .MuiTouchRipple-ripple": {
|
|
2089
2088
|
"& .MuiTouchRipple-child": {
|
|
2090
|
-
backgroundColor:
|
|
2089
|
+
backgroundColor: t.secondary.main
|
|
2091
2090
|
}
|
|
2092
2091
|
}
|
|
2093
2092
|
}
|
|
@@ -2112,53 +2111,54 @@ const eo = (e, o) => {
|
|
|
2112
2111
|
}
|
|
2113
2112
|
}
|
|
2114
2113
|
});
|
|
2114
|
+
return l = ce(l), l;
|
|
2115
2115
|
};
|
|
2116
2116
|
export {
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2117
|
+
E0 as AccountsFilledIcon,
|
|
2118
|
+
S0 as AccountsIcon,
|
|
2119
|
+
I0 as ArrowLeftIcon,
|
|
2120
|
+
v0 as AttentionFilledIcon,
|
|
2121
|
+
f as BaseIcon,
|
|
2122
|
+
G0 as BottomSheetTransition,
|
|
2123
|
+
H0 as CalendarIcon,
|
|
2124
2124
|
g as CategoryGuids,
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2125
|
+
we as CategoryIcon,
|
|
2126
|
+
ke as CategoryIconList,
|
|
2127
|
+
Le as CategoryIconVariants,
|
|
2128
|
+
y0 as CheckmarkFilledIcon,
|
|
2129
|
+
O0 as ChevronDownIcon,
|
|
2130
|
+
F0 as ChevronLeftIcon,
|
|
2131
|
+
D0 as ChevronRightIcon,
|
|
2132
|
+
L0 as CloseIcon,
|
|
2133
|
+
V0 as DateRangePicker,
|
|
2134
|
+
Pe as DialogFooter,
|
|
2135
|
+
Z0 as DialogHeader,
|
|
2136
|
+
K0 as Drawer,
|
|
2137
|
+
k0 as EditIcon,
|
|
2138
|
+
N0 as FilterIcon,
|
|
2139
|
+
Pe as Footer,
|
|
2140
|
+
Be as H1,
|
|
2141
|
+
$0 as H2,
|
|
2142
|
+
U0 as H3,
|
|
2143
|
+
w0 as HeartIcon,
|
|
2144
|
+
We as INTER,
|
|
2145
2145
|
M as Icon,
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2146
|
+
De as IconWeight,
|
|
2147
|
+
Y0 as InstitutionLogo,
|
|
2148
|
+
P0 as MXLogoCopyrightIcon,
|
|
2149
|
+
B0 as MXLogoFilledIcon,
|
|
2150
|
+
_0 as MXLogoIcon,
|
|
2151
|
+
z0 as MXLogoOutlineIcon,
|
|
2152
|
+
X0 as MerchantLogo,
|
|
2153
|
+
W0 as P,
|
|
2154
|
+
eo as SelectionBox,
|
|
2155
2155
|
O as TARGETS,
|
|
2156
2156
|
w as THEMES,
|
|
2157
2157
|
D as Text,
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2158
|
+
j0 as TextField,
|
|
2159
|
+
Q0 as Toast,
|
|
2160
|
+
J0 as TokenProvider,
|
|
2161
|
+
oo as createMXTheme,
|
|
2162
|
+
q0 as useTokens
|
|
2163
2163
|
};
|
|
2164
2164
|
//# sourceMappingURL=index.es.js.map
|