@mxenabled/mxui 1.2.1-alpha.bb1 → 1.2.1-alpha.bb3
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 +233 -223
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Colors.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as E } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import C from "react";
|
|
3
|
+
import x from "@mui/material/Stack";
|
|
4
4
|
import { useTheme as D, createTheme as $ } from "@mui/material/styles";
|
|
5
5
|
import o0 from "@mui/material/Icon";
|
|
6
6
|
import { endOfMonth as B } from "date-fns/endOfMonth";
|
|
@@ -20,24 +20,24 @@ import h0 from "@mui/material/ToggleButtonGroup";
|
|
|
20
20
|
import Z from "@mui/material/Slide";
|
|
21
21
|
import w from "@mui/material/Button";
|
|
22
22
|
import { Close as p0 } from "@mui/icons-material";
|
|
23
|
-
import
|
|
23
|
+
import K from "@mui/material/IconButton";
|
|
24
24
|
import f0 from "@mui/material/Typography";
|
|
25
25
|
import g0 from "@mui/material/Drawer";
|
|
26
26
|
import m0 from "@mui/material/TextField";
|
|
27
27
|
import T0 from "@mui/material/Snackbar";
|
|
28
28
|
import b0 from "@mui/material/Alert";
|
|
29
|
-
import { light as
|
|
29
|
+
import { light as X, buildTheme as _, dark as C0 } from "@mxenabled/design-tokens";
|
|
30
30
|
import { circularProgressClasses as A0 } from "@mui/material/CircularProgress";
|
|
31
|
-
import { LicenseInfo as
|
|
32
|
-
import { darken as N, lighten as
|
|
33
|
-
import
|
|
31
|
+
import { LicenseInfo as R0 } from "@mui/x-license-pro";
|
|
32
|
+
import { darken as N, lighten as v, alpha as m } from "@mui/material";
|
|
33
|
+
import E0 from "@mui/material/styles/createPalette";
|
|
34
34
|
import M0 from "@mui/material/styles/createTypography";
|
|
35
35
|
const g = ({
|
|
36
36
|
children: e,
|
|
37
37
|
height: t,
|
|
38
38
|
size: a = 16,
|
|
39
39
|
viewBox: r = "0 0 16 16",
|
|
40
|
-
width:
|
|
40
|
+
width: n
|
|
41
41
|
}) => /* @__PURE__ */ o(
|
|
42
42
|
"svg",
|
|
43
43
|
{
|
|
@@ -46,30 +46,30 @@ const g = ({
|
|
|
46
46
|
focusable: !1,
|
|
47
47
|
height: t || a,
|
|
48
48
|
viewBox: r,
|
|
49
|
-
width:
|
|
49
|
+
width: n || a,
|
|
50
50
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51
51
|
children: e
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
var S0 = /* @__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))(S0 || {});
|
|
55
|
-
const
|
|
55
|
+
const R = ({
|
|
56
56
|
color: e,
|
|
57
57
|
fill: t = !1,
|
|
58
58
|
name: a,
|
|
59
59
|
size: r = 20,
|
|
60
|
-
sx:
|
|
60
|
+
sx: n,
|
|
61
61
|
weight: s = 300,
|
|
62
62
|
...c
|
|
63
63
|
}) => {
|
|
64
|
-
const [
|
|
65
|
-
return
|
|
64
|
+
const [l, i] = C.useState(!1);
|
|
65
|
+
return C.useEffect(() => {
|
|
66
66
|
document.fonts.ready.then(() => {
|
|
67
67
|
i(!0);
|
|
68
68
|
});
|
|
69
69
|
}, []), /* @__PURE__ */ o(
|
|
70
70
|
o0,
|
|
71
71
|
{
|
|
72
|
-
color:
|
|
72
|
+
color: l ? e && e : void 0,
|
|
73
73
|
sx: [
|
|
74
74
|
{
|
|
75
75
|
fontSize: r,
|
|
@@ -80,16 +80,16 @@ const A = ({
|
|
|
80
80
|
'opsz' ${r}
|
|
81
81
|
`
|
|
82
82
|
},
|
|
83
|
-
...Array.isArray(
|
|
83
|
+
...Array.isArray(n) ? n : [n],
|
|
84
84
|
{
|
|
85
|
-
...!
|
|
85
|
+
...!l && { color: "transparent" }
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
88
|
...c,
|
|
89
89
|
children: a
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
|
-
},
|
|
92
|
+
}, be = ({
|
|
93
93
|
color: e = "currentColor",
|
|
94
94
|
...t
|
|
95
95
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -98,7 +98,7 @@ const A = ({
|
|
|
98
98
|
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",
|
|
99
99
|
fill: e
|
|
100
100
|
}
|
|
101
|
-
) })),
|
|
101
|
+
) })), Ce = ({
|
|
102
102
|
color: e = "currentColor",
|
|
103
103
|
...t
|
|
104
104
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -107,7 +107,7 @@ const A = ({
|
|
|
107
107
|
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",
|
|
108
108
|
fill: e
|
|
109
109
|
}
|
|
110
|
-
) })),
|
|
110
|
+
) })), Ae = ({
|
|
111
111
|
color: e = "currentColor",
|
|
112
112
|
...t
|
|
113
113
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -116,7 +116,7 @@ const A = ({
|
|
|
116
116
|
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",
|
|
117
117
|
fill: e
|
|
118
118
|
}
|
|
119
|
-
) })),
|
|
119
|
+
) })), Re = ({
|
|
120
120
|
color: e = "currentColor",
|
|
121
121
|
...t
|
|
122
122
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -127,7 +127,7 @@ const A = ({
|
|
|
127
127
|
fill: e,
|
|
128
128
|
fillRule: "evenodd"
|
|
129
129
|
}
|
|
130
|
-
) })),
|
|
130
|
+
) })), Ee = ({
|
|
131
131
|
color: e = "currentColor",
|
|
132
132
|
...t
|
|
133
133
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -136,7 +136,7 @@ const A = ({
|
|
|
136
136
|
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",
|
|
137
137
|
fill: e
|
|
138
138
|
}
|
|
139
|
-
) })),
|
|
139
|
+
) })), Me = ({
|
|
140
140
|
color: e = "currentColor",
|
|
141
141
|
...t
|
|
142
142
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -145,7 +145,7 @@ const A = ({
|
|
|
145
145
|
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",
|
|
146
146
|
fill: e
|
|
147
147
|
}
|
|
148
|
-
) })),
|
|
148
|
+
) })), Se = ({
|
|
149
149
|
color: e = "currentColor",
|
|
150
150
|
...t
|
|
151
151
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -154,7 +154,7 @@ const A = ({
|
|
|
154
154
|
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",
|
|
155
155
|
fill: e
|
|
156
156
|
}
|
|
157
|
-
) })),
|
|
157
|
+
) })), Ie = ({
|
|
158
158
|
color: e = "currentColor",
|
|
159
159
|
...t
|
|
160
160
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -163,7 +163,7 @@ const A = ({
|
|
|
163
163
|
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",
|
|
164
164
|
fill: e
|
|
165
165
|
}
|
|
166
|
-
) })),
|
|
166
|
+
) })), He = ({
|
|
167
167
|
color: e = "currentColor",
|
|
168
168
|
...t
|
|
169
169
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -172,7 +172,7 @@ const A = ({
|
|
|
172
172
|
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",
|
|
173
173
|
fill: e
|
|
174
174
|
}
|
|
175
|
-
) })),
|
|
175
|
+
) })), Fe = ({
|
|
176
176
|
color: e = "currentColor",
|
|
177
177
|
...t
|
|
178
178
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -181,7 +181,7 @@ const A = ({
|
|
|
181
181
|
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",
|
|
182
182
|
fill: e
|
|
183
183
|
}
|
|
184
|
-
) })),
|
|
184
|
+
) })), ve = ({
|
|
185
185
|
color: e = "currentColor",
|
|
186
186
|
...t
|
|
187
187
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -190,7 +190,7 @@ const A = ({
|
|
|
190
190
|
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",
|
|
191
191
|
fill: e
|
|
192
192
|
}
|
|
193
|
-
) })),
|
|
193
|
+
) })), Oe = ({
|
|
194
194
|
color: e = "currentColor",
|
|
195
195
|
...t
|
|
196
196
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -199,7 +199,7 @@ const A = ({
|
|
|
199
199
|
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",
|
|
200
200
|
fill: e
|
|
201
201
|
}
|
|
202
|
-
) })),
|
|
202
|
+
) })), xe = ({
|
|
203
203
|
color: e = "currentColor",
|
|
204
204
|
...t
|
|
205
205
|
}) => (console.warn('<AccountsFilledIcon /> DEPRECATED - use <Icon name="icon_name" />'), /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -208,7 +208,7 @@ const A = ({
|
|
|
208
208
|
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",
|
|
209
209
|
fill: e
|
|
210
210
|
}
|
|
211
|
-
) })),
|
|
211
|
+
) })), De = ({
|
|
212
212
|
color: e = "currentColor",
|
|
213
213
|
...t
|
|
214
214
|
}) => /* @__PURE__ */ E(g, { ...t, children: [
|
|
@@ -226,7 +226,7 @@ const A = ({
|
|
|
226
226
|
fill: e
|
|
227
227
|
}
|
|
228
228
|
)
|
|
229
|
-
] }),
|
|
229
|
+
] }), Le = ({
|
|
230
230
|
color: e = "currentColor",
|
|
231
231
|
...t
|
|
232
232
|
}) => /* @__PURE__ */ E(g, { ...t, children: [
|
|
@@ -262,7 +262,7 @@ const A = ({
|
|
|
262
262
|
fillRule: "evenodd"
|
|
263
263
|
}
|
|
264
264
|
)
|
|
265
|
-
] }),
|
|
265
|
+
] }), Ne = ({
|
|
266
266
|
color: e = "currentColor",
|
|
267
267
|
...t
|
|
268
268
|
}) => /* @__PURE__ */ o(g, { ...t, children: /* @__PURE__ */ o(
|
|
@@ -273,7 +273,7 @@ const A = ({
|
|
|
273
273
|
fill: e,
|
|
274
274
|
fillRule: "evenodd"
|
|
275
275
|
}
|
|
276
|
-
) }),
|
|
276
|
+
) }), ye = ({
|
|
277
277
|
color: e = "currentColor",
|
|
278
278
|
...t
|
|
279
279
|
}) => /* @__PURE__ */ E(g, { ...t, children: [
|
|
@@ -302,7 +302,7 @@ const A = ({
|
|
|
302
302
|
)
|
|
303
303
|
] });
|
|
304
304
|
var p = /* @__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))(p || {}), I0 = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(I0 || {});
|
|
305
|
-
const
|
|
305
|
+
const Y = {
|
|
306
306
|
guid: p.Uncategorized,
|
|
307
307
|
colorName: "uncategorized",
|
|
308
308
|
icon: "category"
|
|
@@ -407,52 +407,52 @@ const K = {
|
|
|
407
407
|
colorName: "travel",
|
|
408
408
|
icon: "airplane_ticket"
|
|
409
409
|
},
|
|
410
|
-
|
|
411
|
-
],
|
|
410
|
+
Y
|
|
411
|
+
], F0 = 0.625, v0 = ({
|
|
412
412
|
categoryGuid: e,
|
|
413
|
-
icon_ratio: t =
|
|
413
|
+
icon_ratio: t = F0,
|
|
414
414
|
size: a = 32,
|
|
415
415
|
sx: r = {},
|
|
416
|
-
variant:
|
|
416
|
+
variant: n = "filled"
|
|
417
417
|
}) => {
|
|
418
|
-
const s = D(), c =
|
|
419
|
-
() => H0.find((d) => d.guid === e) ??
|
|
418
|
+
const s = D(), c = C.useMemo(
|
|
419
|
+
() => H0.find((d) => d.guid === e) ?? Y,
|
|
420
420
|
[e]
|
|
421
|
-
),
|
|
421
|
+
), l = s.palette.categories[c.colorName];
|
|
422
422
|
return /* @__PURE__ */ o(
|
|
423
|
-
|
|
423
|
+
x,
|
|
424
424
|
{
|
|
425
425
|
alignItems: "center",
|
|
426
426
|
bgcolor: () => {
|
|
427
|
-
let d =
|
|
428
|
-
return
|
|
427
|
+
let d = l;
|
|
428
|
+
return n === "twotone" && (d = `${d}20`), n === "transparent" || n === "basic" ? "transparent" : d;
|
|
429
429
|
},
|
|
430
430
|
borderRadius: 1,
|
|
431
431
|
color: () => {
|
|
432
|
-
const d =
|
|
433
|
-
return
|
|
432
|
+
const d = n === "filled" ? s.palette.common.white : l;
|
|
433
|
+
return n === "basic" ? s.palette.text.primary : d;
|
|
434
434
|
},
|
|
435
435
|
height: a,
|
|
436
436
|
justifyContent: "center",
|
|
437
437
|
sx: [...Array.isArray(r) ? r : [r]],
|
|
438
438
|
width: a,
|
|
439
|
-
children: /* @__PURE__ */ o(
|
|
439
|
+
children: /* @__PURE__ */ o(R, { name: c.icon, size: a * t })
|
|
440
440
|
}
|
|
441
441
|
);
|
|
442
|
-
},
|
|
442
|
+
}, O0 = ({
|
|
443
443
|
items: e,
|
|
444
444
|
onChange: t,
|
|
445
445
|
isValid: a,
|
|
446
446
|
selected: r
|
|
447
447
|
}) => {
|
|
448
|
-
const
|
|
449
|
-
const
|
|
448
|
+
const n = D(), s = e?.map((c) => {
|
|
449
|
+
const l = c.getValue({ isValid: a });
|
|
450
450
|
return {
|
|
451
451
|
label: c.label,
|
|
452
452
|
onClick: () => {
|
|
453
|
-
t(
|
|
453
|
+
t(l, "accept", c);
|
|
454
454
|
},
|
|
455
|
-
disabled: !a(
|
|
455
|
+
disabled: !a(l)
|
|
456
456
|
};
|
|
457
457
|
});
|
|
458
458
|
return /* @__PURE__ */ o(W, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ o(h0, { color: "primary", orientation: "vertical", value: r, children: s?.map((c) => /* @__PURE__ */ o(
|
|
@@ -469,11 +469,11 @@ const K = {
|
|
|
469
469
|
boxShadow: "0px 0px 0px 2px rgba(82, 138, 224, 0.8)"
|
|
470
470
|
},
|
|
471
471
|
"&:hover": {
|
|
472
|
-
bgcolor:
|
|
473
|
-
borderTop: `1px solid ${
|
|
472
|
+
bgcolor: n.palette.action.hover,
|
|
473
|
+
borderTop: `1px solid ${n.palette.secondary.light}`
|
|
474
474
|
},
|
|
475
475
|
"&.Mui-selected": {
|
|
476
|
-
border: `2px solid ${
|
|
476
|
+
border: `2px solid ${n.palette.primary.main} !important`,
|
|
477
477
|
marginTop: "-2px !important",
|
|
478
478
|
color: "primary"
|
|
479
479
|
}
|
|
@@ -483,14 +483,14 @@ const K = {
|
|
|
483
483
|
},
|
|
484
484
|
c.label
|
|
485
485
|
)) }) });
|
|
486
|
-
},
|
|
486
|
+
}, ke = ({
|
|
487
487
|
copy: e,
|
|
488
488
|
dateRange: t,
|
|
489
489
|
onRangeChanged: a,
|
|
490
490
|
selectedShortcut: r = e.dateRangeThisMonth,
|
|
491
|
-
sx:
|
|
491
|
+
sx: n = {}
|
|
492
492
|
}) => {
|
|
493
|
-
const s = D(), c = l0(s.breakpoints.down("sm")),
|
|
493
|
+
const s = D(), c = l0(s.breakpoints.down("sm")), l = C.useMemo(() => {
|
|
494
494
|
const f = i0(), d = a0(f, 1), T = n0(f, 1);
|
|
495
495
|
return [
|
|
496
496
|
{
|
|
@@ -526,7 +526,7 @@ const K = {
|
|
|
526
526
|
const T = d.shortcut;
|
|
527
527
|
a?.(f, T ? T.label : e.dateRangeCustom);
|
|
528
528
|
};
|
|
529
|
-
return /* @__PURE__ */ o(
|
|
529
|
+
return /* @__PURE__ */ o(x, { gap: 16, m: 8, children: /* @__PURE__ */ o(c0, { dateAdapter: d0, children: /* @__PURE__ */ o(
|
|
530
530
|
s0,
|
|
531
531
|
{
|
|
532
532
|
calendars: 1,
|
|
@@ -540,46 +540,46 @@ const K = {
|
|
|
540
540
|
slotProps: {
|
|
541
541
|
actionBar: { actions: [] },
|
|
542
542
|
shortcuts: {
|
|
543
|
-
items: c ? [] :
|
|
543
|
+
items: c ? [] : l
|
|
544
544
|
},
|
|
545
545
|
toolbar: {
|
|
546
546
|
toolbarFormat: "MMM d, yyyy"
|
|
547
547
|
}
|
|
548
548
|
},
|
|
549
549
|
slots: {
|
|
550
|
-
leftArrowIcon: () => /* @__PURE__ */ o(
|
|
551
|
-
shortcuts: (f) => /* @__PURE__ */ o(
|
|
552
|
-
rightArrowIcon: () => /* @__PURE__ */ o(
|
|
550
|
+
leftArrowIcon: () => /* @__PURE__ */ o(R, { name: "chevron_left", size: 28 }),
|
|
551
|
+
shortcuts: (f) => /* @__PURE__ */ o(O0, { selected: r, ...f }),
|
|
552
|
+
rightArrowIcon: () => /* @__PURE__ */ o(R, { name: "chevron_right", size: 28 })
|
|
553
553
|
},
|
|
554
|
-
sx: { ...
|
|
554
|
+
sx: { ...n },
|
|
555
555
|
value: t
|
|
556
556
|
}
|
|
557
557
|
) }) });
|
|
558
|
-
},
|
|
558
|
+
}, we = C.forwardRef(function(t, a) {
|
|
559
559
|
return /* @__PURE__ */ o(Z, { direction: "up", ref: a, ...t });
|
|
560
|
-
}),
|
|
560
|
+
}), x0 = ({
|
|
561
561
|
hasSecondaryAction: e = !0,
|
|
562
562
|
isPrimaryDisabled: t,
|
|
563
563
|
onPrimaryAction: a,
|
|
564
564
|
onSecondaryAction: r,
|
|
565
|
-
primaryColor:
|
|
565
|
+
primaryColor: n = "primary",
|
|
566
566
|
primaryText: s = "Save",
|
|
567
567
|
secondaryColor: c = "primary",
|
|
568
|
-
secondaryText:
|
|
569
|
-
}) => /* @__PURE__ */ E(
|
|
568
|
+
secondaryText: l = "Cancel"
|
|
569
|
+
}) => /* @__PURE__ */ E(x, { direction: "row", gap: 16, justifyContent: "flex-end", sx: { width: "100%", p: 24 }, children: [
|
|
570
570
|
e && /* @__PURE__ */ o(
|
|
571
571
|
w,
|
|
572
572
|
{
|
|
573
573
|
color: c,
|
|
574
574
|
onClick: r,
|
|
575
575
|
variant: a ? "outlined" : "contained",
|
|
576
|
-
children:
|
|
576
|
+
children: l
|
|
577
577
|
}
|
|
578
578
|
),
|
|
579
579
|
a && /* @__PURE__ */ o(
|
|
580
580
|
w,
|
|
581
581
|
{
|
|
582
|
-
color:
|
|
582
|
+
color: n,
|
|
583
583
|
disabled: t,
|
|
584
584
|
onClick: a,
|
|
585
585
|
variant: "contained",
|
|
@@ -591,41 +591,41 @@ const K = {
|
|
|
591
591
|
className: t = "",
|
|
592
592
|
children: a,
|
|
593
593
|
color: r,
|
|
594
|
-
sx:
|
|
594
|
+
sx: n = {},
|
|
595
595
|
truncate: s = !0,
|
|
596
596
|
uppercase: c,
|
|
597
|
-
...
|
|
597
|
+
...l
|
|
598
598
|
}) => {
|
|
599
|
-
switch (
|
|
599
|
+
switch (l.variant) {
|
|
600
600
|
case "Body":
|
|
601
|
-
|
|
601
|
+
l.variant = "body1";
|
|
602
602
|
break;
|
|
603
603
|
case "Button":
|
|
604
|
-
|
|
604
|
+
l.variant = "button";
|
|
605
605
|
break;
|
|
606
606
|
case "H1":
|
|
607
|
-
|
|
607
|
+
l.variant = "h1";
|
|
608
608
|
break;
|
|
609
609
|
case "H2":
|
|
610
|
-
|
|
610
|
+
l.variant = "h2";
|
|
611
611
|
break;
|
|
612
612
|
case "H3":
|
|
613
|
-
|
|
613
|
+
l.variant = "h3";
|
|
614
614
|
break;
|
|
615
615
|
case "Paragraph":
|
|
616
|
-
|
|
616
|
+
l.variant = "subtitle1";
|
|
617
617
|
break;
|
|
618
618
|
case "ParagraphSmall":
|
|
619
|
-
|
|
619
|
+
l.variant = "subtitle2";
|
|
620
620
|
break;
|
|
621
621
|
case "Small":
|
|
622
|
-
|
|
622
|
+
l.variant = "body2";
|
|
623
623
|
break;
|
|
624
624
|
case "Tiny":
|
|
625
|
-
|
|
625
|
+
l.variant = "tiny";
|
|
626
626
|
break;
|
|
627
627
|
case "XSmall":
|
|
628
|
-
|
|
628
|
+
l.variant = "caption";
|
|
629
629
|
break;
|
|
630
630
|
}
|
|
631
631
|
return /* @__PURE__ */ o(
|
|
@@ -645,13 +645,13 @@ const K = {
|
|
|
645
645
|
c ? {
|
|
646
646
|
textTransform: "uppercase"
|
|
647
647
|
} : {},
|
|
648
|
-
...Array.isArray(
|
|
648
|
+
...Array.isArray(n) ? n : [n]
|
|
649
649
|
],
|
|
650
|
-
...
|
|
650
|
+
...l,
|
|
651
651
|
children: a
|
|
652
652
|
}
|
|
653
653
|
);
|
|
654
|
-
}, D0 = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...a, children: t }),
|
|
654
|
+
}, D0 = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...a, children: t }), _e = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...a, children: t }), Pe = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...a, children: t }), ze = ({ className: e = "", children: t, truncate: a, ...r }) => /* @__PURE__ */ o(
|
|
655
655
|
L,
|
|
656
656
|
{
|
|
657
657
|
className: `mx-kmui-text p ${e}`,
|
|
@@ -661,8 +661,8 @@ const K = {
|
|
|
661
661
|
...r,
|
|
662
662
|
children: t
|
|
663
663
|
}
|
|
664
|
-
),
|
|
665
|
-
|
|
664
|
+
), Be = ({ copy: e, onClose: t }) => /* @__PURE__ */ E(
|
|
665
|
+
x,
|
|
666
666
|
{
|
|
667
667
|
sx: {
|
|
668
668
|
alignItems: "center",
|
|
@@ -673,18 +673,18 @@ const K = {
|
|
|
673
673
|
},
|
|
674
674
|
children: [
|
|
675
675
|
/* @__PURE__ */ o(D0, { variant: "h3", children: e.title }),
|
|
676
|
-
/* @__PURE__ */ o(
|
|
676
|
+
/* @__PURE__ */ o(K, { "aria-label": e.close_aria, onClick: t, sx: { mr: -12 }, children: /* @__PURE__ */ o(p0, {}) })
|
|
677
677
|
]
|
|
678
678
|
}
|
|
679
|
-
),
|
|
679
|
+
), Ve = ({
|
|
680
680
|
className: e,
|
|
681
681
|
disableSave: t,
|
|
682
682
|
id: a,
|
|
683
683
|
isOpen: r,
|
|
684
|
-
onClose:
|
|
684
|
+
onClose: n,
|
|
685
685
|
onSave: s,
|
|
686
686
|
primaryText: c,
|
|
687
|
-
secondaryText:
|
|
687
|
+
secondaryText: l,
|
|
688
688
|
children: i,
|
|
689
689
|
...f
|
|
690
690
|
}) => /* @__PURE__ */ E(
|
|
@@ -693,52 +693,52 @@ const K = {
|
|
|
693
693
|
anchor: "right",
|
|
694
694
|
className: `mx-kmui-drawer ${e}`,
|
|
695
695
|
id: a ?? void 0,
|
|
696
|
-
onClose:
|
|
696
|
+
onClose: n,
|
|
697
697
|
open: r,
|
|
698
698
|
variant: "temporary",
|
|
699
699
|
...f,
|
|
700
700
|
children: [
|
|
701
701
|
i,
|
|
702
702
|
s && /* @__PURE__ */ o(
|
|
703
|
-
|
|
703
|
+
x0,
|
|
704
704
|
{
|
|
705
705
|
isPrimaryDisabled: t,
|
|
706
706
|
onPrimaryAction: s,
|
|
707
|
-
onSecondaryAction:
|
|
707
|
+
onSecondaryAction: n,
|
|
708
708
|
primaryText: c,
|
|
709
|
-
secondaryText:
|
|
709
|
+
secondaryText: l
|
|
710
710
|
}
|
|
711
711
|
)
|
|
712
712
|
]
|
|
713
713
|
}
|
|
714
|
-
), j = 32,
|
|
714
|
+
), j = 32, P = "https://content.moneydesktop.com/storage/MD_Assets", L0 = `${P}/serenity/default_institution_logo.png`, Ue = ({
|
|
715
715
|
alt: e,
|
|
716
716
|
institutionGuid: t,
|
|
717
717
|
logoUrl: a,
|
|
718
718
|
size: r = j,
|
|
719
|
-
...
|
|
719
|
+
...n
|
|
720
720
|
}) => /* @__PURE__ */ o(
|
|
721
721
|
"img",
|
|
722
722
|
{
|
|
723
723
|
alt: e,
|
|
724
724
|
height: r,
|
|
725
725
|
onError: (s) => s.target.src = L0,
|
|
726
|
-
src: a || `${
|
|
726
|
+
src: a || `${P}/Ipad%20Logos/100x100/${t}_100x100.png`,
|
|
727
727
|
style: {
|
|
728
728
|
borderRadius: 4
|
|
729
729
|
},
|
|
730
730
|
width: r,
|
|
731
|
-
...
|
|
731
|
+
...n
|
|
732
732
|
}
|
|
733
|
-
),
|
|
733
|
+
), Ge = ({
|
|
734
734
|
alt: e = "",
|
|
735
735
|
categoryGuid: t,
|
|
736
736
|
merchantGuid: a,
|
|
737
737
|
size: r = j,
|
|
738
|
-
...
|
|
738
|
+
...n
|
|
739
739
|
}) => {
|
|
740
|
-
const [s, c] =
|
|
741
|
-
return /* @__PURE__ */ E(W, { display: "inline-block", position: "relative", ...
|
|
740
|
+
const [s, c] = C.useState(!1), l = D();
|
|
741
|
+
return /* @__PURE__ */ E(W, { display: "inline-block", position: "relative", ...n, children: [
|
|
742
742
|
a && !s && /* @__PURE__ */ o(
|
|
743
743
|
"img",
|
|
744
744
|
{
|
|
@@ -746,9 +746,9 @@ const K = {
|
|
|
746
746
|
"aria-hidden": !e,
|
|
747
747
|
height: r,
|
|
748
748
|
onError: () => c(!0),
|
|
749
|
-
src: `${
|
|
749
|
+
src: `${P}/merchant_logos/${a}.png`,
|
|
750
750
|
style: {
|
|
751
|
-
backgroundColor:
|
|
751
|
+
backgroundColor: l.palette.common.white,
|
|
752
752
|
borderRadius: 4,
|
|
753
753
|
boxSizing: "border-box",
|
|
754
754
|
position: "absolute"
|
|
@@ -756,14 +756,14 @@ const K = {
|
|
|
756
756
|
width: r
|
|
757
757
|
}
|
|
758
758
|
),
|
|
759
|
-
/* @__PURE__ */ o(
|
|
759
|
+
/* @__PURE__ */ o(v0, { categoryGuid: t, size: r })
|
|
760
760
|
] });
|
|
761
|
-
},
|
|
761
|
+
}, $e = ({
|
|
762
762
|
disabled: e = !1,
|
|
763
763
|
label: t = "",
|
|
764
764
|
shrink: a = !0,
|
|
765
765
|
variant: r = "outlined",
|
|
766
|
-
...
|
|
766
|
+
...n
|
|
767
767
|
}) => /* @__PURE__ */ o(
|
|
768
768
|
m0,
|
|
769
769
|
{
|
|
@@ -773,21 +773,21 @@ const K = {
|
|
|
773
773
|
disabled: e,
|
|
774
774
|
label: t,
|
|
775
775
|
variant: r,
|
|
776
|
-
...
|
|
776
|
+
...n
|
|
777
777
|
}
|
|
778
778
|
);
|
|
779
779
|
function N0(e) {
|
|
780
780
|
return /* @__PURE__ */ o(Z, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
781
781
|
}
|
|
782
|
-
const
|
|
782
|
+
const We = ({
|
|
783
783
|
open: e,
|
|
784
784
|
handleClose: t,
|
|
785
785
|
message: a,
|
|
786
786
|
autoHideDuration: r = 3e3,
|
|
787
|
-
severity:
|
|
787
|
+
severity: n = "success",
|
|
788
788
|
snackbarSx: s,
|
|
789
789
|
showAction: c = !1,
|
|
790
|
-
showClose:
|
|
790
|
+
showClose: l = !1,
|
|
791
791
|
actionText: i = "Undo",
|
|
792
792
|
onActionClick: f,
|
|
793
793
|
multiLine: d = !1
|
|
@@ -798,13 +798,13 @@ const Ge = ({
|
|
|
798
798
|
info: T.palette.info.lighter,
|
|
799
799
|
warning: T.palette.warning.lighter
|
|
800
800
|
}, t0 = /* @__PURE__ */ E(
|
|
801
|
-
|
|
801
|
+
x,
|
|
802
802
|
{
|
|
803
803
|
alignItems: d ? "flex-end" : "center",
|
|
804
804
|
direction: d ? "column-reverse" : "row",
|
|
805
805
|
justifyContent: (
|
|
806
806
|
// eslint-disable-next-line no-nested-ternary
|
|
807
|
-
d && c &&
|
|
807
|
+
d && c && l ? "space-between" : "flex-end"
|
|
808
808
|
),
|
|
809
809
|
children: [
|
|
810
810
|
c && /* @__PURE__ */ o(
|
|
@@ -820,14 +820,14 @@ const Ge = ({
|
|
|
820
820
|
children: i
|
|
821
821
|
}
|
|
822
822
|
),
|
|
823
|
-
|
|
824
|
-
|
|
823
|
+
l && /* @__PURE__ */ o(
|
|
824
|
+
K,
|
|
825
825
|
{
|
|
826
826
|
"aria-label": "close",
|
|
827
827
|
color: "inherit",
|
|
828
828
|
onClick: t,
|
|
829
829
|
sx: { height: 44, width: 44 },
|
|
830
|
-
children: /* @__PURE__ */ o(
|
|
830
|
+
children: /* @__PURE__ */ o(R, { fill: !0, name: "close", size: 24, weight: 400 })
|
|
831
831
|
}
|
|
832
832
|
)
|
|
833
833
|
]
|
|
@@ -849,13 +849,13 @@ const Ge = ({
|
|
|
849
849
|
b0,
|
|
850
850
|
{
|
|
851
851
|
action: t0,
|
|
852
|
-
severity:
|
|
852
|
+
severity: n,
|
|
853
853
|
sx: {
|
|
854
854
|
display: "flex",
|
|
855
855
|
alignItems: "stretch",
|
|
856
|
-
minHeight:
|
|
856
|
+
minHeight: l && c && d ? 120 : 56,
|
|
857
857
|
maxHeight: d ? 120 : 56,
|
|
858
|
-
backgroundColor: (z) => z.palette.mode === "light" ? z.palette[
|
|
858
|
+
backgroundColor: (z) => z.palette.mode === "light" ? z.palette[n].main : e0[n],
|
|
859
859
|
width: "100%",
|
|
860
860
|
"& .MuiAlert-icon": {
|
|
861
861
|
alignSelf: d ? "flex-start" : "center"
|
|
@@ -888,45 +888,45 @@ const Ge = ({
|
|
|
888
888
|
)
|
|
889
889
|
}
|
|
890
890
|
);
|
|
891
|
-
},
|
|
891
|
+
}, O = {
|
|
892
892
|
REACT: "react",
|
|
893
893
|
REACT_NATIVE: "react_native",
|
|
894
894
|
NATIVE: "native"
|
|
895
895
|
}, y = {
|
|
896
896
|
LIGHT: "light",
|
|
897
897
|
DARK: "dark"
|
|
898
|
-
}, Q =
|
|
899
|
-
|
|
900
|
-
),
|
|
898
|
+
}, Q = C.createContext(X), J = C.createContext(
|
|
899
|
+
_(y.LIGHT, O.REACT_NATIVE)
|
|
900
|
+
), Ze = ({
|
|
901
901
|
children: e,
|
|
902
|
-
target: t =
|
|
902
|
+
target: t = O.REACT,
|
|
903
903
|
theme: a = y.LIGHT,
|
|
904
904
|
tokenOverrides: r
|
|
905
905
|
}) => {
|
|
906
|
-
const [
|
|
906
|
+
const [n, s] = C.useState(a === y.LIGHT ? X : C0), c = C.useMemo(() => ({
|
|
907
907
|
...r
|
|
908
908
|
}), [r]);
|
|
909
|
-
return
|
|
910
|
-
const
|
|
911
|
-
s(
|
|
912
|
-
}, [a, t, c]), t ===
|
|
913
|
-
},
|
|
914
|
-
const a = e ===
|
|
915
|
-
return r ||
|
|
909
|
+
return C.useEffect(() => {
|
|
910
|
+
const l = _(a, t, { ...c });
|
|
911
|
+
s(l);
|
|
912
|
+
}, [a, t, c]), t === O.REACT ? /* @__PURE__ */ o(Q.Provider, { value: n, children: e }) : (console.warn("DEPRECATED: Use static values instead of tokens"), /* @__PURE__ */ o(J.Provider, { value: n, children: e }));
|
|
913
|
+
}, Ke = (e = O.REACT, t = {}) => {
|
|
914
|
+
const a = e === O.REACT ? Q : J, r = C.useContext(a);
|
|
915
|
+
return r || _(y.LIGHT, e, { ...t });
|
|
916
916
|
}, q = {
|
|
917
917
|
LIGHT: "light"
|
|
918
|
-
},
|
|
919
|
-
50:
|
|
920
|
-
100:
|
|
921
|
-
200:
|
|
922
|
-
300:
|
|
923
|
-
400:
|
|
918
|
+
}, M = (e) => ({
|
|
919
|
+
50: v(e, 0.95),
|
|
920
|
+
100: v(e, 0.85),
|
|
921
|
+
200: v(e, 0.7),
|
|
922
|
+
300: v(e, 0.55),
|
|
923
|
+
400: v(e, 0.3),
|
|
924
924
|
500: e,
|
|
925
925
|
600: N(e, 0.3),
|
|
926
926
|
700: N(e, 0.5),
|
|
927
927
|
800: N(e, 0.65),
|
|
928
928
|
900: N(e, 0.75)
|
|
929
|
-
}),
|
|
929
|
+
}), b = "#FFFFFF", A = "#000000", y0 = "#F9F9F9", k0 = "#1A1A1A", S = {
|
|
930
930
|
PRIMARY: "#2C64EF",
|
|
931
931
|
SECONDARY: "#808080",
|
|
932
932
|
INFO: "#2C64EF",
|
|
@@ -942,7 +942,7 @@ const Ge = ({
|
|
|
942
942
|
CHART5: "#60A9FF",
|
|
943
943
|
CHART6: "#C8BAEE",
|
|
944
944
|
CHART7: "#585E67"
|
|
945
|
-
},
|
|
945
|
+
}, F = {
|
|
946
946
|
CHART_MONO1: "#C3EAFF",
|
|
947
947
|
CHART_MONO2: "#8ED7FF",
|
|
948
948
|
CHART_MONO3: "#60A9FF",
|
|
@@ -995,23 +995,23 @@ const Ge = ({
|
|
|
995
995
|
TRANSFER: "#75C7B7",
|
|
996
996
|
TRAVEL: "#76ACF7",
|
|
997
997
|
UNCATEGORIZED: "#BCC6D4"
|
|
998
|
-
},
|
|
999
|
-
const t =
|
|
1000
|
-
return
|
|
998
|
+
}, w0 = (e) => {
|
|
999
|
+
const t = M(S.PRIMARY), a = M(S.SECONDARY), r = M(S.ERROR), n = M(S.WARNING), s = M(S.INFO), c = M(S.SUCCESS), l = M(S.NEUTRAL), i = e === q.LIGHT;
|
|
1000
|
+
return E0({
|
|
1001
1001
|
mode: e,
|
|
1002
1002
|
// DEPRECATED: Use Neutral instead
|
|
1003
1003
|
border: {
|
|
1004
1004
|
/* DEPRECATED: Use light instead */
|
|
1005
|
-
lighter: i ?
|
|
1006
|
-
light: i ?
|
|
1007
|
-
main: i ?
|
|
1008
|
-
dark:
|
|
1005
|
+
lighter: i ? l[300] : l[700],
|
|
1006
|
+
light: i ? l[300] : l[700],
|
|
1007
|
+
main: i ? l[400] : l[600],
|
|
1008
|
+
dark: l[500],
|
|
1009
1009
|
/* DEPRECATED: Use light instead */
|
|
1010
|
-
darker:
|
|
1010
|
+
darker: l[500]
|
|
1011
1011
|
},
|
|
1012
1012
|
common: {
|
|
1013
|
-
white:
|
|
1014
|
-
black:
|
|
1013
|
+
white: b,
|
|
1014
|
+
black: A
|
|
1015
1015
|
},
|
|
1016
1016
|
primary: {
|
|
1017
1017
|
...t,
|
|
@@ -1034,9 +1034,9 @@ const Ge = ({
|
|
|
1034
1034
|
darker: i ? a[900] : a[50]
|
|
1035
1035
|
},
|
|
1036
1036
|
text: {
|
|
1037
|
-
primary: i ?
|
|
1038
|
-
secondary: i ?
|
|
1039
|
-
disabled: i ?
|
|
1037
|
+
primary: i ? l[900] : b,
|
|
1038
|
+
secondary: i ? l[600] : m(b, 0.7),
|
|
1039
|
+
disabled: i ? l[500] : m(b, 0.38)
|
|
1040
1040
|
},
|
|
1041
1041
|
error: {
|
|
1042
1042
|
...r,
|
|
@@ -1049,14 +1049,14 @@ const Ge = ({
|
|
|
1049
1049
|
darker: i ? r[900] : r[100]
|
|
1050
1050
|
},
|
|
1051
1051
|
warning: {
|
|
1052
|
-
...
|
|
1052
|
+
...n,
|
|
1053
1053
|
/* DEPRECATED: Use light instead */
|
|
1054
|
-
lighter: i ?
|
|
1055
|
-
light: i ?
|
|
1056
|
-
main: i ?
|
|
1057
|
-
dark: i ?
|
|
1054
|
+
lighter: i ? n[100] : n[800],
|
|
1055
|
+
light: i ? n[300] : n[600],
|
|
1056
|
+
main: i ? n[500] : n[400],
|
|
1057
|
+
dark: i ? n[700] : n[200],
|
|
1058
1058
|
/* DEPRECATED: Use light instead */
|
|
1059
|
-
darker: i ?
|
|
1059
|
+
darker: i ? n[900] : n[100]
|
|
1060
1060
|
},
|
|
1061
1061
|
info: {
|
|
1062
1062
|
...s,
|
|
@@ -1078,23 +1078,23 @@ const Ge = ({
|
|
|
1078
1078
|
/* DEPRECATED: Use light instead */
|
|
1079
1079
|
darker: i ? c[900] : c[100]
|
|
1080
1080
|
},
|
|
1081
|
-
grey:
|
|
1081
|
+
grey: l,
|
|
1082
1082
|
action: {
|
|
1083
|
-
active: e === "light" ? m(
|
|
1084
|
-
hover: e === "light" ? m(
|
|
1083
|
+
active: e === "light" ? m(A, 0.56) : m(b, 0.56),
|
|
1084
|
+
hover: e === "light" ? m(A, 0.04) : m(b, 0.08),
|
|
1085
1085
|
// also used for text hover
|
|
1086
|
-
selected: e === "light" ? m(
|
|
1087
|
-
focus: e === "light" ? m(
|
|
1088
|
-
disabled: e === "light" ? m(
|
|
1089
|
-
disabledBackground: e === "light" ? m(
|
|
1086
|
+
selected: e === "light" ? m(A, 0.08) : m(b, 0.16),
|
|
1087
|
+
focus: e === "light" ? m(A, 0.12) : m(b, 0.12),
|
|
1088
|
+
disabled: e === "light" ? m(A, 0.38) : m(b, 0.38),
|
|
1089
|
+
disabledBackground: e === "light" ? m(A, 0.12) : m(b, 0.12)
|
|
1090
1090
|
},
|
|
1091
1091
|
background: {
|
|
1092
|
-
default: i ?
|
|
1093
|
-
paper: i ?
|
|
1094
|
-
highlight: i ?
|
|
1092
|
+
default: i ? y0 : k0,
|
|
1093
|
+
paper: i ? b : A,
|
|
1094
|
+
highlight: i ? l[200] : l[600],
|
|
1095
1095
|
highlightPrimary: i ? t[100] : t[500]
|
|
1096
1096
|
},
|
|
1097
|
-
|
|
1097
|
+
divider: i ? m(A, 0.12) : m(b, 0.12),
|
|
1098
1098
|
categories: {
|
|
1099
1099
|
autoTransport: i ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1100
1100
|
billsUtilities: i ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
@@ -1129,15 +1129,15 @@ const Ge = ({
|
|
|
1129
1129
|
chart7: I.CHART7
|
|
1130
1130
|
},
|
|
1131
1131
|
chartMono: {
|
|
1132
|
-
chartMono1:
|
|
1133
|
-
chartMono2:
|
|
1134
|
-
chartMono3:
|
|
1135
|
-
chartMono4:
|
|
1136
|
-
chartMono5:
|
|
1137
|
-
chartMono6:
|
|
1132
|
+
chartMono1: F.CHART_MONO1,
|
|
1133
|
+
chartMono2: F.CHART_MONO2,
|
|
1134
|
+
chartMono3: F.CHART_MONO3,
|
|
1135
|
+
chartMono4: F.CHART_MONO4,
|
|
1136
|
+
chartMono5: F.CHART_MONO5,
|
|
1137
|
+
chartMono6: F.CHART_MONO6
|
|
1138
1138
|
}
|
|
1139
1139
|
});
|
|
1140
|
-
}, H = "Inter, Helvetica, Arial, sans-serif",
|
|
1140
|
+
}, H = "Inter, Helvetica, Arial, sans-serif", _0 = (e) => M0(e, {
|
|
1141
1141
|
fontFamily: H,
|
|
1142
1142
|
fontSize: 15,
|
|
1143
1143
|
Body: {
|
|
@@ -1245,15 +1245,15 @@ const Ge = ({
|
|
|
1245
1245
|
lineHeight: "12px"
|
|
1246
1246
|
}
|
|
1247
1247
|
});
|
|
1248
|
-
|
|
1248
|
+
R0.setLicenseKey(
|
|
1249
1249
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1250
1250
|
);
|
|
1251
1251
|
const k = [...$().shadows];
|
|
1252
1252
|
k[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1253
1253
|
k[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1254
1254
|
k[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1255
|
-
const
|
|
1256
|
-
const t =
|
|
1255
|
+
const Xe = (e) => {
|
|
1256
|
+
const t = w0(e), a = _0(t);
|
|
1257
1257
|
return $({
|
|
1258
1258
|
breakpoints: {
|
|
1259
1259
|
values: {
|
|
@@ -1276,10 +1276,10 @@ const Ze = (e) => {
|
|
|
1276
1276
|
MuiAlert: {
|
|
1277
1277
|
defaultProps: {
|
|
1278
1278
|
iconMapping: {
|
|
1279
|
-
success: /* @__PURE__ */ o(
|
|
1280
|
-
error: /* @__PURE__ */ o(
|
|
1281
|
-
warning: /* @__PURE__ */ o(
|
|
1282
|
-
info: /* @__PURE__ */ o(
|
|
1279
|
+
success: /* @__PURE__ */ o(R, { fill: !0, name: "check_circle", size: 24, weight: 400 }),
|
|
1280
|
+
error: /* @__PURE__ */ o(R, { fill: !0, name: "error", size: 24, weight: 400 }),
|
|
1281
|
+
warning: /* @__PURE__ */ o(R, { fill: !0, name: "warning", size: 24, weight: 400 }),
|
|
1282
|
+
info: /* @__PURE__ */ o(R, { fill: !0, name: "info", size: 24, weight: 400 })
|
|
1283
1283
|
},
|
|
1284
1284
|
variant: "filled"
|
|
1285
1285
|
},
|
|
@@ -1835,6 +1835,16 @@ const Ze = (e) => {
|
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
},
|
|
1838
|
+
MuiTabs: {
|
|
1839
|
+
styleOverrides: {
|
|
1840
|
+
root: {
|
|
1841
|
+
borderBottomStyle: "solid",
|
|
1842
|
+
borderBottomWidth: 1,
|
|
1843
|
+
borderColor: t.divider,
|
|
1844
|
+
marginBottom: 8
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1838
1848
|
MuiTextField: {
|
|
1839
1849
|
defaultProps: {
|
|
1840
1850
|
InputLabelProps: {
|
|
@@ -1865,50 +1875,50 @@ const Ze = (e) => {
|
|
|
1865
1875
|
});
|
|
1866
1876
|
};
|
|
1867
1877
|
export {
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1878
|
+
be as AccountsFilledIcon,
|
|
1879
|
+
Ce as AccountsIcon,
|
|
1880
|
+
Ae as ArrowLeftIcon,
|
|
1881
|
+
Re as AttentionFilledIcon,
|
|
1872
1882
|
g as BaseIcon,
|
|
1873
|
-
|
|
1874
|
-
|
|
1883
|
+
we as BottomSheetTransition,
|
|
1884
|
+
Ee as CalendarIcon,
|
|
1875
1885
|
p as CategoryGuids,
|
|
1876
|
-
|
|
1886
|
+
v0 as CategoryIcon,
|
|
1877
1887
|
H0 as CategoryIconList,
|
|
1878
1888
|
I0 as CategoryIconVariants,
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1889
|
+
Me as CheckmarkFilledIcon,
|
|
1890
|
+
Se as ChevronDownIcon,
|
|
1891
|
+
Ie as ChevronLeftIcon,
|
|
1892
|
+
He as ChevronRightIcon,
|
|
1893
|
+
Fe as CloseIcon,
|
|
1894
|
+
ke as DateRangePicker,
|
|
1895
|
+
x0 as DialogFooter,
|
|
1896
|
+
Be as DialogHeader,
|
|
1897
|
+
Ve as Drawer,
|
|
1898
|
+
ve as EditIcon,
|
|
1899
|
+
Oe as FilterIcon,
|
|
1900
|
+
x0 as Footer,
|
|
1891
1901
|
D0 as H1,
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1902
|
+
_e as H2,
|
|
1903
|
+
Pe as H3,
|
|
1904
|
+
xe as HeartIcon,
|
|
1895
1905
|
H as INTER,
|
|
1896
|
-
|
|
1906
|
+
R as Icon,
|
|
1897
1907
|
S0 as IconWeight,
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1908
|
+
Ue as InstitutionLogo,
|
|
1909
|
+
Le as MXLogoCopyrightIcon,
|
|
1910
|
+
Ne as MXLogoFilledIcon,
|
|
1911
|
+
De as MXLogoIcon,
|
|
1912
|
+
ye as MXLogoOutlineIcon,
|
|
1913
|
+
Ge as MerchantLogo,
|
|
1914
|
+
ze as P,
|
|
1915
|
+
O as TARGETS,
|
|
1906
1916
|
y as THEMES,
|
|
1907
1917
|
L as Text,
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1918
|
+
$e as TextField,
|
|
1919
|
+
We as Toast,
|
|
1920
|
+
Ze as TokenProvider,
|
|
1921
|
+
Xe as createMXTheme,
|
|
1922
|
+
Ke as useTokens
|
|
1913
1923
|
};
|
|
1914
1924
|
//# sourceMappingURL=index.es.js.map
|