@mxenabled/mxui 2.0.0-alpha.1 → 2.0.0
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/README.md +32 -0
- package/dist/index.es.js +335 -342
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Augmentations.d.ts +0 -2
- package/package.json +28 -28
package/dist/index.es.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import { jsx as a, jsxs as T } from "react/jsx-runtime";
|
|
2
2
|
import L from "react";
|
|
3
3
|
import E from "@mui/material/Stack";
|
|
4
|
-
import { useTheme as
|
|
5
|
-
import { Icon as re, Close as
|
|
4
|
+
import { useTheme as y, createTheme as K } from "@mui/material/styles";
|
|
5
|
+
import { Icon as re, Close as ie } from "@mxenabled/mx-icons";
|
|
6
6
|
import { endOfMonth as $ } from "date-fns/endOfMonth";
|
|
7
|
-
import { endOfYear as
|
|
8
|
-
import { startOfToday as
|
|
7
|
+
import { endOfYear as ae } from "date-fns/endOfYear";
|
|
8
|
+
import { startOfToday as ne } from "date-fns/startOfToday";
|
|
9
9
|
import { startOfMonth as U } from "date-fns/startOfMonth";
|
|
10
10
|
import { startOfYear as G } from "date-fns/startOfYear";
|
|
11
|
-
import { subDays as
|
|
12
|
-
import { subMonths as
|
|
13
|
-
import { subYears as
|
|
14
|
-
import
|
|
15
|
-
import { LocalizationProvider as
|
|
16
|
-
import { AdapterDateFns as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
11
|
+
import { subDays as V } from "date-fns/subDays";
|
|
12
|
+
import { subMonths as le } from "date-fns/subMonths";
|
|
13
|
+
import { subYears as se } from "date-fns/subYears";
|
|
14
|
+
import ce from "@mui/material/useMediaQuery";
|
|
15
|
+
import { usePickerContext as de, useIsValidValue as pe, LocalizationProvider as ue, StaticDateRangePicker as he } from "@mui/x-date-pickers-pro";
|
|
16
|
+
import { AdapterDateFns as ge } from "@mui/x-date-pickers-pro/AdapterDateFns";
|
|
17
|
+
import j from "@mui/material/Box";
|
|
18
|
+
import fe from "@mui/material/ToggleButton";
|
|
19
|
+
import me from "@mui/material/ToggleButtonGroup";
|
|
20
|
+
import X from "@mui/material/Slide";
|
|
21
21
|
import P from "@mui/material/Button";
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { FormControlLabel as
|
|
29
|
-
import { circularProgressClasses as
|
|
30
|
-
import { LicenseInfo as
|
|
22
|
+
import Z from "@mui/material/IconButton";
|
|
23
|
+
import be from "@mui/material/Typography";
|
|
24
|
+
import Te from "@mui/material/Drawer";
|
|
25
|
+
import xe from "@mui/material/TextField";
|
|
26
|
+
import Re from "@mui/material/Snackbar";
|
|
27
|
+
import Me from "@mui/material/Alert";
|
|
28
|
+
import { FormControlLabel as Ce, Box as B, Typography as W, Radio as _, Checkbox as Se, alpha as m, darken as N, lighten as I, getContrastRatio as Ae } from "@mui/material";
|
|
29
|
+
import { circularProgressClasses as Oe } from "@mui/material/CircularProgress";
|
|
30
|
+
import { LicenseInfo as ye } from "@mui/x-license";
|
|
31
31
|
const D = ({
|
|
32
32
|
children: e,
|
|
33
33
|
height: i,
|
|
34
|
-
size:
|
|
34
|
+
size: o = 16,
|
|
35
35
|
viewBox: n = "0 0 16 16",
|
|
36
|
-
width:
|
|
36
|
+
width: t
|
|
37
37
|
}) => /* @__PURE__ */ a(
|
|
38
38
|
"svg",
|
|
39
39
|
{
|
|
40
40
|
"aria-hidden": !0,
|
|
41
41
|
className: "mx-kmui-icon",
|
|
42
42
|
focusable: !1,
|
|
43
|
-
height: i ||
|
|
43
|
+
height: i || o,
|
|
44
44
|
viewBox: n,
|
|
45
|
-
width:
|
|
45
|
+
width: t || o,
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
children: e
|
|
48
48
|
}
|
|
49
|
-
), R = ({ color: e, fill: i = !1, name:
|
|
49
|
+
), R = ({ color: e, fill: i = !1, name: o, size: n = 20, sx: t, ...s }) => /* @__PURE__ */ a(re, { color: e, fill: i, name: o, size: n, sx: t, ...s }), mt = ({
|
|
50
50
|
color: e = "currentColor",
|
|
51
51
|
...i
|
|
52
52
|
}) => /* @__PURE__ */ T(D, { ...i, children: [
|
|
@@ -64,7 +64,7 @@ const D = ({
|
|
|
64
64
|
fill: e
|
|
65
65
|
}
|
|
66
66
|
)
|
|
67
|
-
] }),
|
|
67
|
+
] }), bt = ({
|
|
68
68
|
color: e = "currentColor",
|
|
69
69
|
...i
|
|
70
70
|
}) => /* @__PURE__ */ T(D, { ...i, children: [
|
|
@@ -100,7 +100,7 @@ const D = ({
|
|
|
100
100
|
fillRule: "evenodd"
|
|
101
101
|
}
|
|
102
102
|
)
|
|
103
|
-
] }),
|
|
103
|
+
] }), Tt = ({
|
|
104
104
|
color: e = "currentColor",
|
|
105
105
|
...i
|
|
106
106
|
}) => /* @__PURE__ */ a(D, { ...i, children: /* @__PURE__ */ a(
|
|
@@ -111,7 +111,7 @@ const D = ({
|
|
|
111
111
|
fill: e,
|
|
112
112
|
fillRule: "evenodd"
|
|
113
113
|
}
|
|
114
|
-
) }),
|
|
114
|
+
) }), xt = ({
|
|
115
115
|
color: e = "currentColor",
|
|
116
116
|
...i
|
|
117
117
|
}) => /* @__PURE__ */ T(D, { ...i, children: [
|
|
@@ -139,12 +139,12 @@ const D = ({
|
|
|
139
139
|
}
|
|
140
140
|
)
|
|
141
141
|
] });
|
|
142
|
-
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 || {}),
|
|
143
|
-
const
|
|
142
|
+
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 || {}), Ie = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Filled = "filled", e.Transparent = "transparent", e.TwoTone = "two-tone", e))(Ie || {});
|
|
143
|
+
const Q = {
|
|
144
144
|
guid: g.Uncategorized,
|
|
145
145
|
colorName: "uncategorized",
|
|
146
146
|
icon: "category"
|
|
147
|
-
},
|
|
147
|
+
}, Ee = [
|
|
148
148
|
{
|
|
149
149
|
guid: g.AutoTransport,
|
|
150
150
|
colorName: "autoTransport",
|
|
@@ -245,16 +245,16 @@ const Z = {
|
|
|
245
245
|
colorName: "travel",
|
|
246
246
|
icon: "airplane_ticket"
|
|
247
247
|
},
|
|
248
|
-
|
|
249
|
-
],
|
|
248
|
+
Q
|
|
249
|
+
], ve = 0.625, Fe = ({
|
|
250
250
|
categoryGuid: e,
|
|
251
|
-
icon_ratio: i =
|
|
252
|
-
size:
|
|
251
|
+
icon_ratio: i = ve,
|
|
252
|
+
size: o = 32,
|
|
253
253
|
sx: n = {},
|
|
254
|
-
variant:
|
|
254
|
+
variant: t = "filled"
|
|
255
255
|
}) => {
|
|
256
|
-
const s =
|
|
257
|
-
() =>
|
|
256
|
+
const s = y(), l = L.useMemo(
|
|
257
|
+
() => Ee.find((p) => p.guid === e) ?? Q,
|
|
258
258
|
[e]
|
|
259
259
|
), d = s.palette.categories[l.colorName];
|
|
260
260
|
return /* @__PURE__ */ a(
|
|
@@ -263,38 +263,33 @@ const Z = {
|
|
|
263
263
|
alignItems: "center",
|
|
264
264
|
bgcolor: () => {
|
|
265
265
|
let p = d;
|
|
266
|
-
return
|
|
266
|
+
return t === "twotone" && (p = `${p}20`), t === "transparent" || t === "basic" ? "transparent" : p;
|
|
267
267
|
},
|
|
268
268
|
borderRadius: 1,
|
|
269
269
|
color: () => {
|
|
270
|
-
const p =
|
|
271
|
-
return
|
|
270
|
+
const p = t === "filled" ? s.palette.common.white : d;
|
|
271
|
+
return t === "basic" ? s.palette.text.primary : p;
|
|
272
272
|
},
|
|
273
|
-
height:
|
|
273
|
+
height: o,
|
|
274
274
|
justifyContent: "center",
|
|
275
275
|
sx: [...Array.isArray(n) ? n : [n]],
|
|
276
|
-
width:
|
|
277
|
-
children: /* @__PURE__ */ a(R, { name: l.icon, size:
|
|
276
|
+
width: o,
|
|
277
|
+
children: /* @__PURE__ */ a(R, { name: l.icon, size: o * i })
|
|
278
278
|
}
|
|
279
279
|
);
|
|
280
|
-
},
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
isValid: r,
|
|
284
|
-
selected: n
|
|
285
|
-
}) => {
|
|
286
|
-
const o = O(), s = e?.map((l) => {
|
|
287
|
-
const d = l.getValue({ isValid: r });
|
|
280
|
+
}, Ne = ({ items: e, selected: i }) => {
|
|
281
|
+
const o = y(), { setValue: n } = de(), t = pe(), s = e?.map((l) => {
|
|
282
|
+
const d = l.getValue({ isValid: t });
|
|
288
283
|
return {
|
|
289
284
|
label: l.label,
|
|
290
285
|
onClick: () => {
|
|
291
|
-
|
|
286
|
+
n(d, { changeImportance: "accept", shortcut: l });
|
|
292
287
|
},
|
|
293
|
-
disabled: !
|
|
288
|
+
disabled: !t(d)
|
|
294
289
|
};
|
|
295
290
|
});
|
|
296
|
-
return /* @__PURE__ */ a(
|
|
297
|
-
|
|
291
|
+
return /* @__PURE__ */ a(j, { sx: { gridColumn: 1, gridRow: "2/3", ml: 4, mt: 24, mr: 32 }, children: /* @__PURE__ */ a(me, { color: "primary", orientation: "vertical", value: i, children: s?.map((l) => /* @__PURE__ */ a(
|
|
292
|
+
fe,
|
|
298
293
|
{
|
|
299
294
|
onClick: l.onClick,
|
|
300
295
|
sx: {
|
|
@@ -321,19 +316,19 @@ const Z = {
|
|
|
321
316
|
},
|
|
322
317
|
l.label
|
|
323
318
|
)) }) });
|
|
324
|
-
},
|
|
319
|
+
}, Rt = ({
|
|
325
320
|
copy: e,
|
|
326
321
|
dateRange: i,
|
|
327
|
-
onRangeChanged:
|
|
322
|
+
onRangeChanged: o,
|
|
328
323
|
selectedShortcut: n = e.dateRangeThisMonth,
|
|
329
|
-
sx:
|
|
324
|
+
sx: t = {}
|
|
330
325
|
}) => {
|
|
331
|
-
const s =
|
|
332
|
-
const
|
|
326
|
+
const s = y(), l = ce(s.breakpoints.down("sm")), d = L.useMemo(() => {
|
|
327
|
+
const r = ne(), p = le(r, 1), b = se(r, 1);
|
|
333
328
|
return [
|
|
334
329
|
{
|
|
335
330
|
label: e.dateRangeThisMonth,
|
|
336
|
-
getValue: () => [U(
|
|
331
|
+
getValue: () => [U(r), $(r)]
|
|
337
332
|
},
|
|
338
333
|
{
|
|
339
334
|
label: e.dateRangeLastMonth,
|
|
@@ -341,31 +336,31 @@ const Z = {
|
|
|
341
336
|
},
|
|
342
337
|
{
|
|
343
338
|
label: e.dateRangeLast30Days,
|
|
344
|
-
getValue: () => [
|
|
339
|
+
getValue: () => [V(r, 30), r]
|
|
345
340
|
},
|
|
346
341
|
{
|
|
347
342
|
label: e.dateRangeLast90Days,
|
|
348
|
-
getValue: () => [
|
|
343
|
+
getValue: () => [V(r, 90), r]
|
|
349
344
|
},
|
|
350
345
|
{
|
|
351
346
|
label: e.dateRangeYTD,
|
|
352
|
-
getValue: () => [G(
|
|
347
|
+
getValue: () => [G(r), r]
|
|
353
348
|
},
|
|
354
349
|
{
|
|
355
350
|
label: e.dateRangeLastYear,
|
|
356
|
-
getValue: () => [G(b),
|
|
351
|
+
getValue: () => [G(b), ae(b)]
|
|
357
352
|
},
|
|
358
353
|
{
|
|
359
354
|
label: e.dateRangeCustom,
|
|
360
|
-
getValue: () => [
|
|
355
|
+
getValue: () => [r, r]
|
|
361
356
|
}
|
|
362
357
|
];
|
|
363
|
-
}, [e]), c = (
|
|
358
|
+
}, [e]), c = (r, p) => {
|
|
364
359
|
const b = p.shortcut;
|
|
365
|
-
|
|
360
|
+
o?.(r, b ? b.label : e.dateRangeCustom);
|
|
366
361
|
};
|
|
367
|
-
return /* @__PURE__ */ a(E, { gap: 16, m: 8, children: /* @__PURE__ */ a(
|
|
368
|
-
|
|
362
|
+
return /* @__PURE__ */ a(E, { gap: 16, m: 8, children: /* @__PURE__ */ a(ue, { dateAdapter: ge, children: /* @__PURE__ */ a(
|
|
363
|
+
he,
|
|
369
364
|
{
|
|
370
365
|
calendars: 1,
|
|
371
366
|
localeText: {
|
|
@@ -386,21 +381,21 @@ const Z = {
|
|
|
386
381
|
},
|
|
387
382
|
slots: {
|
|
388
383
|
leftArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_left", size: 28 }),
|
|
389
|
-
shortcuts: (
|
|
384
|
+
shortcuts: (r) => /* @__PURE__ */ a(Ne, { selected: n, ...r }),
|
|
390
385
|
rightArrowIcon: () => /* @__PURE__ */ a(R, { name: "chevron_right", size: 28 })
|
|
391
386
|
},
|
|
392
|
-
sx: { ...
|
|
387
|
+
sx: { ...t },
|
|
393
388
|
value: i
|
|
394
389
|
}
|
|
395
390
|
) }) });
|
|
396
|
-
},
|
|
397
|
-
return /* @__PURE__ */ a(
|
|
398
|
-
}),
|
|
391
|
+
}, Mt = L.forwardRef(function(i, o) {
|
|
392
|
+
return /* @__PURE__ */ a(X, { direction: "up", ref: o, ...i });
|
|
393
|
+
}), He = ({
|
|
399
394
|
hasSecondaryAction: e = !0,
|
|
400
395
|
isPrimaryDisabled: i,
|
|
401
|
-
onPrimaryAction:
|
|
396
|
+
onPrimaryAction: o,
|
|
402
397
|
onSecondaryAction: n,
|
|
403
|
-
primaryColor:
|
|
398
|
+
primaryColor: t = "primary",
|
|
404
399
|
primaryText: s = "Save",
|
|
405
400
|
secondaryColor: l = "primary",
|
|
406
401
|
secondaryText: d = "Cancel"
|
|
@@ -410,23 +405,23 @@ const Z = {
|
|
|
410
405
|
direction: "row",
|
|
411
406
|
gap: 16,
|
|
412
407
|
justifyContent: "flex-end",
|
|
413
|
-
sx: { bgcolor: "background.paper",
|
|
408
|
+
sx: { bgcolor: "background.paper", p: 24 },
|
|
414
409
|
children: [
|
|
415
410
|
e && /* @__PURE__ */ a(
|
|
416
411
|
P,
|
|
417
412
|
{
|
|
418
413
|
color: l,
|
|
419
414
|
onClick: n,
|
|
420
|
-
variant:
|
|
415
|
+
variant: o ? "outlined" : "contained",
|
|
421
416
|
children: d
|
|
422
417
|
}
|
|
423
418
|
),
|
|
424
|
-
|
|
419
|
+
o && /* @__PURE__ */ a(
|
|
425
420
|
P,
|
|
426
421
|
{
|
|
427
|
-
color:
|
|
422
|
+
color: t,
|
|
428
423
|
disabled: i,
|
|
429
|
-
onClick:
|
|
424
|
+
onClick: o,
|
|
430
425
|
variant: "contained",
|
|
431
426
|
children: s
|
|
432
427
|
}
|
|
@@ -436,14 +431,14 @@ const Z = {
|
|
|
436
431
|
), v = ({
|
|
437
432
|
bold: e,
|
|
438
433
|
className: i = "",
|
|
439
|
-
children:
|
|
434
|
+
children: o,
|
|
440
435
|
color: n,
|
|
441
|
-
sx:
|
|
436
|
+
sx: t = {},
|
|
442
437
|
truncate: s = !0,
|
|
443
438
|
uppercase: l,
|
|
444
439
|
...d
|
|
445
440
|
}) => /* @__PURE__ */ a(
|
|
446
|
-
|
|
441
|
+
be,
|
|
447
442
|
{
|
|
448
443
|
className: `mx-kmui-text ${i}`,
|
|
449
444
|
color: n,
|
|
@@ -459,22 +454,22 @@ const Z = {
|
|
|
459
454
|
l ? {
|
|
460
455
|
textTransform: "uppercase"
|
|
461
456
|
} : {},
|
|
462
|
-
...Array.isArray(
|
|
457
|
+
...Array.isArray(t) ? t : [t]
|
|
463
458
|
],
|
|
464
459
|
...d,
|
|
465
|
-
children:
|
|
460
|
+
children: o
|
|
466
461
|
}
|
|
467
|
-
),
|
|
462
|
+
), Le = ({ className: e = "", children: i, ...o }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h1 ${e}`, component: "h1", variant: "h1", ...o, children: i }), Ct = ({ className: e = "", children: i, ...o }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h2 ${e}`, component: "h2", variant: "h2", ...o, children: i }), St = ({ className: e = "", children: i, ...o }) => /* @__PURE__ */ a(v, { className: `mx-mxui-text h3 ${e}`, component: "h3", variant: "h3", ...o, children: i }), At = ({ className: e = "", children: i, truncate: o, ...n }) => /* @__PURE__ */ a(
|
|
468
463
|
v,
|
|
469
464
|
{
|
|
470
465
|
className: `mx-mxui-text p ${e}`,
|
|
471
466
|
component: "p",
|
|
472
|
-
truncate:
|
|
467
|
+
truncate: o || !1,
|
|
473
468
|
variant: "body1",
|
|
474
469
|
...n,
|
|
475
470
|
children: i
|
|
476
471
|
}
|
|
477
|
-
),
|
|
472
|
+
), Ot = ({ copy: e, onClose: i }) => /* @__PURE__ */ T(
|
|
478
473
|
E,
|
|
479
474
|
{
|
|
480
475
|
sx: {
|
|
@@ -485,81 +480,81 @@ const Z = {
|
|
|
485
480
|
py: 14
|
|
486
481
|
},
|
|
487
482
|
children: [
|
|
488
|
-
/* @__PURE__ */ a(
|
|
489
|
-
/* @__PURE__ */ a(
|
|
483
|
+
/* @__PURE__ */ a(Le, { variant: "h3", children: e.title }),
|
|
484
|
+
/* @__PURE__ */ a(Z, { "aria-label": e.close_aria, onClick: i, sx: { mr: -12 }, children: /* @__PURE__ */ a(ie, {}) })
|
|
490
485
|
]
|
|
491
486
|
}
|
|
492
|
-
),
|
|
487
|
+
), yt = ({
|
|
493
488
|
className: e,
|
|
494
489
|
disableSave: i,
|
|
495
|
-
id:
|
|
490
|
+
id: o,
|
|
496
491
|
isOpen: n,
|
|
497
|
-
onClose:
|
|
492
|
+
onClose: t,
|
|
498
493
|
onSave: s,
|
|
499
494
|
primaryText: l,
|
|
500
495
|
secondaryText: d,
|
|
501
496
|
children: c,
|
|
502
|
-
...
|
|
497
|
+
...r
|
|
503
498
|
}) => /* @__PURE__ */ T(
|
|
504
|
-
|
|
499
|
+
Te,
|
|
505
500
|
{
|
|
506
501
|
anchor: "right",
|
|
507
502
|
className: `mx-kmui-drawer ${e}`,
|
|
508
|
-
id:
|
|
509
|
-
onClose:
|
|
503
|
+
id: o ?? void 0,
|
|
504
|
+
onClose: t,
|
|
510
505
|
open: n,
|
|
511
506
|
variant: "temporary",
|
|
512
|
-
...
|
|
507
|
+
...r,
|
|
513
508
|
children: [
|
|
514
509
|
c,
|
|
515
510
|
s && /* @__PURE__ */ a(
|
|
516
|
-
|
|
511
|
+
He,
|
|
517
512
|
{
|
|
518
513
|
isPrimaryDisabled: i,
|
|
519
514
|
onPrimaryAction: s,
|
|
520
|
-
onSecondaryAction:
|
|
515
|
+
onSecondaryAction: t,
|
|
521
516
|
primaryText: l,
|
|
522
517
|
secondaryText: d
|
|
523
518
|
}
|
|
524
519
|
)
|
|
525
520
|
]
|
|
526
521
|
}
|
|
527
|
-
),
|
|
522
|
+
), J = 32, z = "https://content.moneydesktop.com/storage/MD_Assets", De = `${z}/serenity/default_institution_logo.png`, It = ({
|
|
528
523
|
alt: e,
|
|
529
524
|
institutionGuid: i,
|
|
530
|
-
logoUrl:
|
|
531
|
-
size: n =
|
|
532
|
-
...
|
|
525
|
+
logoUrl: o,
|
|
526
|
+
size: n = J,
|
|
527
|
+
...t
|
|
533
528
|
}) => /* @__PURE__ */ a(
|
|
534
529
|
"img",
|
|
535
530
|
{
|
|
536
531
|
alt: e,
|
|
537
532
|
height: n,
|
|
538
|
-
onError: (s) => s.target.src =
|
|
539
|
-
src:
|
|
533
|
+
onError: (s) => s.target.src = De,
|
|
534
|
+
src: o || `${z}/Ipad%20Logos/100x100/${i}_100x100.png`,
|
|
540
535
|
style: {
|
|
541
536
|
borderRadius: 4
|
|
542
537
|
},
|
|
543
538
|
width: n,
|
|
544
|
-
...
|
|
539
|
+
...t
|
|
545
540
|
}
|
|
546
|
-
),
|
|
541
|
+
), Et = ({
|
|
547
542
|
alt: e = "",
|
|
548
543
|
categoryGuid: i,
|
|
549
|
-
merchantGuid:
|
|
550
|
-
size: n =
|
|
551
|
-
...
|
|
544
|
+
merchantGuid: o,
|
|
545
|
+
size: n = J,
|
|
546
|
+
...t
|
|
552
547
|
}) => {
|
|
553
|
-
const [s, l] = L.useState(!1), d =
|
|
554
|
-
return /* @__PURE__ */ T(
|
|
555
|
-
|
|
548
|
+
const [s, l] = L.useState(!1), d = y();
|
|
549
|
+
return /* @__PURE__ */ T(j, { display: "inline-block", position: "relative", ...t, children: [
|
|
550
|
+
o && !s && /* @__PURE__ */ a(
|
|
556
551
|
"img",
|
|
557
552
|
{
|
|
558
553
|
alt: e,
|
|
559
554
|
"aria-hidden": !e,
|
|
560
555
|
height: n,
|
|
561
556
|
onError: () => l(!0),
|
|
562
|
-
src: `${z}/merchant_logos/${
|
|
557
|
+
src: `${z}/merchant_logos/${o}.png`,
|
|
563
558
|
style: {
|
|
564
559
|
backgroundColor: d.palette.common.white,
|
|
565
560
|
borderRadius: 4,
|
|
@@ -569,43 +564,43 @@ const Z = {
|
|
|
569
564
|
width: n
|
|
570
565
|
}
|
|
571
566
|
),
|
|
572
|
-
/* @__PURE__ */ a(
|
|
567
|
+
/* @__PURE__ */ a(Fe, { categoryGuid: i, size: n })
|
|
573
568
|
] });
|
|
574
|
-
},
|
|
569
|
+
}, vt = ({
|
|
575
570
|
disabled: e = !1,
|
|
576
571
|
label: i = "",
|
|
577
|
-
shrink:
|
|
572
|
+
shrink: o = !0,
|
|
578
573
|
variant: n = "outlined",
|
|
579
|
-
...
|
|
574
|
+
...t
|
|
580
575
|
}) => /* @__PURE__ */ a(
|
|
581
|
-
|
|
576
|
+
xe,
|
|
582
577
|
{
|
|
583
578
|
InputLabelProps: {
|
|
584
|
-
shrink:
|
|
579
|
+
shrink: o
|
|
585
580
|
},
|
|
586
581
|
disabled: e,
|
|
587
582
|
label: i,
|
|
588
583
|
variant: n,
|
|
589
|
-
...
|
|
584
|
+
...t
|
|
590
585
|
}
|
|
591
586
|
);
|
|
592
|
-
function
|
|
593
|
-
return /* @__PURE__ */ a(
|
|
587
|
+
function ke(e) {
|
|
588
|
+
return /* @__PURE__ */ a(X, { ...e, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
594
589
|
}
|
|
595
|
-
const
|
|
590
|
+
const Ft = ({
|
|
596
591
|
open: e,
|
|
597
592
|
handleClose: i,
|
|
598
|
-
message:
|
|
593
|
+
message: o,
|
|
599
594
|
autoHideDuration: n = 3e3,
|
|
600
|
-
severity:
|
|
595
|
+
severity: t = "success",
|
|
601
596
|
snackbarSx: s,
|
|
602
597
|
showAction: l = !1,
|
|
603
598
|
showClose: d = !1,
|
|
604
599
|
actionText: c = "Undo",
|
|
605
|
-
onActionClick:
|
|
600
|
+
onActionClick: r,
|
|
606
601
|
multiLine: p = !1
|
|
607
602
|
}) => {
|
|
608
|
-
const b =
|
|
603
|
+
const b = y(), F = /* @__PURE__ */ T(
|
|
609
604
|
E,
|
|
610
605
|
{
|
|
611
606
|
alignItems: p ? "flex-end" : "center",
|
|
@@ -619,7 +614,7 @@ const vo = ({
|
|
|
619
614
|
P,
|
|
620
615
|
{
|
|
621
616
|
color: "inherit",
|
|
622
|
-
onClick:
|
|
617
|
+
onClick: r || i,
|
|
623
618
|
size: "small",
|
|
624
619
|
sx: {
|
|
625
620
|
color: b.palette.success.contrastText,
|
|
@@ -629,7 +624,7 @@ const vo = ({
|
|
|
629
624
|
}
|
|
630
625
|
),
|
|
631
626
|
d && /* @__PURE__ */ a(
|
|
632
|
-
|
|
627
|
+
Z,
|
|
633
628
|
{
|
|
634
629
|
"aria-label": "close",
|
|
635
630
|
color: "inherit",
|
|
@@ -642,9 +637,9 @@ const vo = ({
|
|
|
642
637
|
}
|
|
643
638
|
);
|
|
644
639
|
return /* @__PURE__ */ a(
|
|
645
|
-
|
|
640
|
+
Re,
|
|
646
641
|
{
|
|
647
|
-
TransitionComponent:
|
|
642
|
+
TransitionComponent: ke,
|
|
648
643
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
649
644
|
autoHideDuration: n,
|
|
650
645
|
onClose: i,
|
|
@@ -654,10 +649,10 @@ const vo = ({
|
|
|
654
649
|
width: p ? 400 : 325
|
|
655
650
|
},
|
|
656
651
|
children: /* @__PURE__ */ a(
|
|
657
|
-
|
|
652
|
+
Me,
|
|
658
653
|
{
|
|
659
654
|
action: F,
|
|
660
|
-
severity:
|
|
655
|
+
severity: t,
|
|
661
656
|
sx: {
|
|
662
657
|
display: "flex",
|
|
663
658
|
alignItems: "stretch",
|
|
@@ -688,33 +683,33 @@ const vo = ({
|
|
|
688
683
|
textOverflow: p ? "clip" : "ellipsis"
|
|
689
684
|
},
|
|
690
685
|
truncate: !p,
|
|
691
|
-
children:
|
|
686
|
+
children: o
|
|
692
687
|
}
|
|
693
688
|
)
|
|
694
689
|
}
|
|
695
690
|
)
|
|
696
691
|
}
|
|
697
692
|
);
|
|
698
|
-
},
|
|
693
|
+
}, Nt = ({
|
|
699
694
|
component: e = _,
|
|
700
695
|
variant: i = "outlined",
|
|
701
|
-
selected:
|
|
696
|
+
selected: o,
|
|
702
697
|
onChange: n,
|
|
703
|
-
headline:
|
|
698
|
+
headline: t,
|
|
704
699
|
message: s,
|
|
705
700
|
name: l,
|
|
706
701
|
value: d,
|
|
707
702
|
disabled: c = !1,
|
|
708
|
-
error:
|
|
703
|
+
error: r = !1,
|
|
709
704
|
icon: p = !1,
|
|
710
705
|
sx: b = {},
|
|
711
706
|
...F
|
|
712
707
|
}) => {
|
|
713
|
-
const f =
|
|
708
|
+
const f = y(), q = () => f.palette.background.paper, w = () => r ? `inset 0px 0px 0px 2px ${f.palette.error.main}` : c ? o ? `inset 0px 0px 0px 2px ${f.palette.action.disabled}` : i === "outlined" ? `inset 0px 0px 0px 1px ${f.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${f.palette.action.disabled}` : i === "outlined" ? o ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${m(f.palette.common.black, 0.23)}` : o ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : f.shadows[1], ee = () => c || r ? f.palette.background.paper : m(f.palette.primary.main, 0.1), te = () => c || r ? w() : i === "outlined" ? o ? `inset 0px 0px 0px 2px ${m(f.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${m(f.palette.primary.main, 0.5)}` : w(), oe = () => c || r ? f.palette.background.paper : m(f.palette.primary.main, 0.3);
|
|
714
709
|
return /* @__PURE__ */ a(
|
|
715
|
-
|
|
710
|
+
Ce,
|
|
716
711
|
{
|
|
717
|
-
checked:
|
|
712
|
+
checked: o,
|
|
718
713
|
control: e === _ ? /* @__PURE__ */ a(
|
|
719
714
|
_,
|
|
720
715
|
{
|
|
@@ -731,7 +726,7 @@ const vo = ({
|
|
|
731
726
|
...F
|
|
732
727
|
}
|
|
733
728
|
) : /* @__PURE__ */ a(
|
|
734
|
-
|
|
729
|
+
Se,
|
|
735
730
|
{
|
|
736
731
|
name: l,
|
|
737
732
|
sx: {
|
|
@@ -750,8 +745,8 @@ const vo = ({
|
|
|
750
745
|
label: /* @__PURE__ */ T(B, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
|
|
751
746
|
p && /* @__PURE__ */ a(B, { sx: { mr: 12, mt: "8px", flexShrink: 0 }, children: p }),
|
|
752
747
|
/* @__PURE__ */ T(B, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
753
|
-
|
|
754
|
-
/* @__PURE__ */ a(
|
|
748
|
+
t && /* @__PURE__ */ a(W, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: t }),
|
|
749
|
+
/* @__PURE__ */ a(W, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: s })
|
|
755
750
|
] })
|
|
756
751
|
] }),
|
|
757
752
|
labelPlacement: "start",
|
|
@@ -765,7 +760,7 @@ const vo = ({
|
|
|
765
760
|
mb: 16,
|
|
766
761
|
cursor: c ? "not-allowed" : "pointer",
|
|
767
762
|
opacity: c ? 0.6 : 1,
|
|
768
|
-
backgroundColor:
|
|
763
|
+
backgroundColor: q(),
|
|
769
764
|
border: "none",
|
|
770
765
|
boxShadow: w(),
|
|
771
766
|
boxSizing: "border-box",
|
|
@@ -773,8 +768,8 @@ const vo = ({
|
|
|
773
768
|
duration: f.transitions.duration.short
|
|
774
769
|
}),
|
|
775
770
|
"&:hover": {
|
|
776
|
-
backgroundColor:
|
|
777
|
-
boxShadow:
|
|
771
|
+
backgroundColor: ee(),
|
|
772
|
+
boxShadow: te()
|
|
778
773
|
},
|
|
779
774
|
"&:active": {
|
|
780
775
|
backgroundColor: oe()
|
|
@@ -788,7 +783,7 @@ const vo = ({
|
|
|
788
783
|
value: d
|
|
789
784
|
}
|
|
790
785
|
);
|
|
791
|
-
},
|
|
786
|
+
}, O = {
|
|
792
787
|
LIGHT: "light"
|
|
793
788
|
}, M = (e) => ({
|
|
794
789
|
50: I(e, 0.95),
|
|
@@ -801,7 +796,7 @@ const vo = ({
|
|
|
801
796
|
700: N(e, 0.5),
|
|
802
797
|
800: N(e, 0.65),
|
|
803
798
|
900: N(e, 0.75)
|
|
804
|
-
}), x = "#FFFFFF", H = "#000000",
|
|
799
|
+
}), x = "#FFFFFF", H = "#000000", we = "#F9F9F9", Be = "#1A1A1A", C = {
|
|
805
800
|
PRIMARY: "#2C64EF",
|
|
806
801
|
SECONDARY: "#808080",
|
|
807
802
|
INFO: "#2C64EF",
|
|
@@ -809,7 +804,7 @@ const vo = ({
|
|
|
809
804
|
WARNING: "#FF7B00",
|
|
810
805
|
ERROR: "#E32727",
|
|
811
806
|
GREY: "#808080"
|
|
812
|
-
},
|
|
807
|
+
}, S = {
|
|
813
808
|
CHART1: "#74E4DA",
|
|
814
809
|
CHART2: "#ED64A4",
|
|
815
810
|
CHART3: "#F3DC46",
|
|
@@ -870,8 +865,8 @@ const vo = ({
|
|
|
870
865
|
TRANSFER: "#75C7B7",
|
|
871
866
|
TRAVEL: "#76ACF7",
|
|
872
867
|
UNCATEGORIZED: "#BCC6D4"
|
|
873
|
-
},
|
|
874
|
-
const
|
|
868
|
+
}, _e = (e, i) => {
|
|
869
|
+
const o = M(i?.primary || C.PRIMARY), n = M(i?.secondary || C.SECONDARY), t = M(i?.error || C.ERROR), s = M(i?.warning || C.WARNING), l = M(i?.info || C.INFO), d = M(i?.success || C.SUCCESS), c = M(i?.grey || C.GREY), r = e === O.LIGHT;
|
|
875
870
|
return {
|
|
876
871
|
mode: e,
|
|
877
872
|
common: {
|
|
@@ -879,99 +874,99 @@ const vo = ({
|
|
|
879
874
|
black: H
|
|
880
875
|
},
|
|
881
876
|
primary: {
|
|
882
|
-
...
|
|
883
|
-
light:
|
|
884
|
-
main:
|
|
885
|
-
dark:
|
|
877
|
+
...o,
|
|
878
|
+
light: r ? o[300] : o[600],
|
|
879
|
+
main: r ? o[500] : o[400],
|
|
880
|
+
dark: r ? o[700] : o[200]
|
|
886
881
|
},
|
|
887
882
|
secondary: {
|
|
888
883
|
...n,
|
|
889
|
-
light:
|
|
890
|
-
main:
|
|
891
|
-
dark:
|
|
884
|
+
light: r ? n[300] : n[600],
|
|
885
|
+
main: r ? n[500] : n[400],
|
|
886
|
+
dark: r ? n[700] : n[200]
|
|
892
887
|
},
|
|
893
888
|
neutral: {
|
|
894
889
|
...c,
|
|
895
|
-
light:
|
|
896
|
-
main:
|
|
897
|
-
dark:
|
|
898
|
-
contrastText:
|
|
890
|
+
light: r ? c[300] : c[600],
|
|
891
|
+
main: r ? c[500] : c[400],
|
|
892
|
+
dark: r ? c[700] : c[200],
|
|
893
|
+
contrastText: Ae(r ? c[700] : c[400], "#fff") > 4.5 ? x : c[900]
|
|
899
894
|
},
|
|
900
895
|
text: {
|
|
901
|
-
primary:
|
|
902
|
-
secondary:
|
|
903
|
-
disabled:
|
|
896
|
+
primary: r ? c[900] : x,
|
|
897
|
+
secondary: r ? c[600] : m(x, 0.7),
|
|
898
|
+
disabled: r ? c[500] : m(x, 0.38)
|
|
904
899
|
},
|
|
905
900
|
error: {
|
|
906
|
-
...
|
|
907
|
-
light:
|
|
908
|
-
main:
|
|
909
|
-
dark:
|
|
901
|
+
...t,
|
|
902
|
+
light: r ? t[300] : t[600],
|
|
903
|
+
main: r ? t[500] : t[400],
|
|
904
|
+
dark: r ? t[700] : t[200]
|
|
910
905
|
},
|
|
911
906
|
warning: {
|
|
912
907
|
...s,
|
|
913
|
-
light:
|
|
914
|
-
main:
|
|
915
|
-
dark:
|
|
908
|
+
light: r ? s[300] : s[600],
|
|
909
|
+
main: r ? s[500] : s[400],
|
|
910
|
+
dark: r ? s[700] : s[200]
|
|
916
911
|
},
|
|
917
912
|
info: {
|
|
918
913
|
...l,
|
|
919
|
-
light:
|
|
920
|
-
main:
|
|
921
|
-
dark:
|
|
914
|
+
light: r ? l[300] : l[600],
|
|
915
|
+
main: r ? l[500] : l[400],
|
|
916
|
+
dark: r ? l[700] : l[200]
|
|
922
917
|
},
|
|
923
918
|
success: {
|
|
924
919
|
...d,
|
|
925
|
-
light:
|
|
926
|
-
main:
|
|
927
|
-
dark:
|
|
920
|
+
light: r ? d[300] : d[600],
|
|
921
|
+
main: r ? d[500] : d[400],
|
|
922
|
+
dark: r ? d[700] : d[200]
|
|
928
923
|
},
|
|
929
924
|
grey: c,
|
|
930
925
|
action: {
|
|
931
|
-
active:
|
|
932
|
-
hoverOpacity:
|
|
933
|
-
selectedOpacity:
|
|
926
|
+
active: r ? m(H, 0.56) : m(x, 0.56),
|
|
927
|
+
hoverOpacity: r ? 0.1 : 0.2,
|
|
928
|
+
selectedOpacity: r ? 0.16 : 0.25,
|
|
934
929
|
focusOpacity: 0.3
|
|
935
930
|
},
|
|
936
931
|
background: {
|
|
937
|
-
default:
|
|
938
|
-
paper:
|
|
939
|
-
highlight:
|
|
940
|
-
highlightPrimary:
|
|
932
|
+
default: r ? i?.background?.default?.light || we : i?.background?.default?.dark || H,
|
|
933
|
+
paper: r ? i?.background?.paper?.light || x : i?.background?.paper?.dark || Be,
|
|
934
|
+
highlight: r ? c[200] : c[600],
|
|
935
|
+
highlightPrimary: r ? o[100] : o[500]
|
|
941
936
|
},
|
|
942
|
-
divider:
|
|
937
|
+
divider: r ? m(H, 0.12) : m(x, 0.24),
|
|
943
938
|
categories: {
|
|
944
|
-
autoTransport:
|
|
945
|
-
billsUtilities:
|
|
946
|
-
businessServices:
|
|
947
|
-
education:
|
|
948
|
-
entertainment:
|
|
949
|
-
feesCharges:
|
|
950
|
-
financial:
|
|
951
|
-
foodDining:
|
|
952
|
-
giftsDonations:
|
|
953
|
-
healthFitness:
|
|
954
|
-
home:
|
|
955
|
-
income:
|
|
956
|
-
investments:
|
|
957
|
-
kids:
|
|
958
|
-
others:
|
|
959
|
-
personalCare:
|
|
960
|
-
pets:
|
|
961
|
-
shopping:
|
|
962
|
-
taxes:
|
|
963
|
-
transfer:
|
|
964
|
-
travel:
|
|
965
|
-
uncategorized:
|
|
939
|
+
autoTransport: r ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
940
|
+
billsUtilities: r ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
941
|
+
businessServices: r ? u.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
|
|
942
|
+
education: r ? u.EDUCATION : h.EDUCATION,
|
|
943
|
+
entertainment: r ? u.ENTERTAINMENT : h.ENTERTAINMENT,
|
|
944
|
+
feesCharges: r ? u.FEES_CHARGES : h.FEES_CHARGES,
|
|
945
|
+
financial: r ? u.FINANCIAL : h.FINANCIAL,
|
|
946
|
+
foodDining: r ? u.FOOD_DINING : h.FOOD_DINING,
|
|
947
|
+
giftsDonations: r ? u.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
|
|
948
|
+
healthFitness: r ? u.HEALTH_FITNESS : h.HEALTH_FITNESS,
|
|
949
|
+
home: r ? u.HOME : h.HOME,
|
|
950
|
+
income: r ? u.INCOME : h.INCOME,
|
|
951
|
+
investments: r ? u.INVESTMENTS : h.INVESTMENTS,
|
|
952
|
+
kids: r ? u.KIDS : h.KIDS,
|
|
953
|
+
others: r ? u.OTHERS : h.OTHERS,
|
|
954
|
+
personalCare: r ? u.PERSONAL_CARE : h.PERSONAL_CARE,
|
|
955
|
+
pets: r ? u.PETS : h.PETS,
|
|
956
|
+
shopping: r ? u.SHOPPING : h.SHOPPING,
|
|
957
|
+
taxes: r ? u.TAXES : h.TAXES,
|
|
958
|
+
transfer: r ? u.TRANSFER : h.TRANSFER,
|
|
959
|
+
travel: r ? u.TRAVEL : h.TRAVEL,
|
|
960
|
+
uncategorized: r ? u.UNCATEGORIZED : h.UNCATEGORIZED
|
|
966
961
|
},
|
|
967
962
|
chart: {
|
|
968
|
-
chart1:
|
|
969
|
-
chart2:
|
|
970
|
-
chart3:
|
|
971
|
-
chart4:
|
|
972
|
-
chart5:
|
|
973
|
-
chart6:
|
|
974
|
-
chart7:
|
|
963
|
+
chart1: S.CHART1,
|
|
964
|
+
chart2: S.CHART2,
|
|
965
|
+
chart3: S.CHART3,
|
|
966
|
+
chart4: S.CHART4,
|
|
967
|
+
chart5: S.CHART5,
|
|
968
|
+
chart6: S.CHART6,
|
|
969
|
+
chart7: S.CHART7
|
|
975
970
|
},
|
|
976
971
|
chartMono: {
|
|
977
972
|
chartMono1: A.CHART_MONO1,
|
|
@@ -982,8 +977,8 @@ const vo = ({
|
|
|
982
977
|
chartMono6: A.CHART_MONO6
|
|
983
978
|
}
|
|
984
979
|
};
|
|
985
|
-
},
|
|
986
|
-
const i = e?.fontFamily
|
|
980
|
+
}, Y = "Inter, Helvetica, Arial, sans-serif", Pe = (e) => {
|
|
981
|
+
const i = e?.fontFamily ? `${e?.fontFamily}, ${Y}` : Y;
|
|
987
982
|
return {
|
|
988
983
|
fontFamily: i,
|
|
989
984
|
fontSize: 15,
|
|
@@ -1042,16 +1037,16 @@ const vo = ({
|
|
|
1042
1037
|
...e
|
|
1043
1038
|
};
|
|
1044
1039
|
};
|
|
1045
|
-
|
|
1040
|
+
ye.setLicenseKey(
|
|
1046
1041
|
"6e7dd593526efa1f157230ecf06c9b02Tz0xMDA5NjAsRT0xNzYyMDQxNjAwMDAwLFM9cHJvLExNPWFubnVhbCxQVj1RMy0yMDI0LEtWPTI="
|
|
1047
1042
|
);
|
|
1048
|
-
const k = [...
|
|
1043
|
+
const k = [...K().shadows];
|
|
1049
1044
|
k[1] = "0px 2px 8px rgba(106, 115, 129, 0.12)";
|
|
1050
1045
|
k[2] = "0px 6px 12px rgba(106, 115, 129, 0.16), 0px 3px 8px rgba(87, 102, 117, 0.06)";
|
|
1051
1046
|
k[3] = "0px 12px 20px rgba(106, 115, 129, 0.22)";
|
|
1052
|
-
const
|
|
1053
|
-
const
|
|
1054
|
-
return
|
|
1047
|
+
const Ht = (e, i) => {
|
|
1048
|
+
const o = _e(e, i?.paletteOptions), n = Pe(i?.typographyOptions);
|
|
1049
|
+
return K({
|
|
1055
1050
|
breakpoints: {
|
|
1056
1051
|
values: {
|
|
1057
1052
|
xs: 444,
|
|
@@ -1061,7 +1056,7 @@ const No = (e, i) => {
|
|
|
1061
1056
|
xl: 1536
|
|
1062
1057
|
}
|
|
1063
1058
|
},
|
|
1064
|
-
palette:
|
|
1059
|
+
palette: o,
|
|
1065
1060
|
shadows: k,
|
|
1066
1061
|
shape: {
|
|
1067
1062
|
borderRadius: i?.shapeOptions?.borderRadius || 4
|
|
@@ -1081,19 +1076,19 @@ const No = (e, i) => {
|
|
|
1081
1076
|
variant: "outlined"
|
|
1082
1077
|
},
|
|
1083
1078
|
styleOverrides: {
|
|
1084
|
-
root: ({ theme:
|
|
1079
|
+
root: ({ theme: t, ownerState: s }) => {
|
|
1085
1080
|
const l = s.severity || "info";
|
|
1086
|
-
let d =
|
|
1081
|
+
let d = t.palette.mode === O.LIGHT ? t.palette[l]?.[50] : t.palette[l]?.[800];
|
|
1087
1082
|
if (s.variant === "filled") {
|
|
1088
1083
|
const c = l === "warning";
|
|
1089
|
-
d =
|
|
1084
|
+
d = t.palette[l]?.[c ? 400 : 600];
|
|
1090
1085
|
}
|
|
1091
1086
|
return {
|
|
1092
1087
|
backgroundColor: d,
|
|
1093
|
-
borderRadius:
|
|
1088
|
+
borderRadius: t.shape.borderRadius,
|
|
1094
1089
|
"& .MuiAlert-message": {
|
|
1095
|
-
fontSize:
|
|
1096
|
-
lineHeight:
|
|
1090
|
+
fontSize: t.typography.subtitle1.fontSize,
|
|
1091
|
+
lineHeight: t.typography.subtitle1.lineHeight,
|
|
1097
1092
|
marginTop: "auto",
|
|
1098
1093
|
marginBottom: "auto"
|
|
1099
1094
|
},
|
|
@@ -1119,14 +1114,14 @@ const No = (e, i) => {
|
|
|
1119
1114
|
disableElevation: !0
|
|
1120
1115
|
},
|
|
1121
1116
|
styleOverrides: {
|
|
1122
|
-
root: ({ theme:
|
|
1117
|
+
root: ({ theme: t }) => ({
|
|
1123
1118
|
fontWeight: 600,
|
|
1124
1119
|
textTransform: "none",
|
|
1125
1120
|
"&.Mui-disabled": {
|
|
1126
1121
|
cursor: "not-allowed"
|
|
1127
1122
|
},
|
|
1128
1123
|
"&.Mui-focusVisible": {
|
|
1129
|
-
outline: `2px solid ${
|
|
1124
|
+
outline: `2px solid ${t.palette.info.main}`,
|
|
1130
1125
|
outlineOffset: "2px"
|
|
1131
1126
|
}
|
|
1132
1127
|
}),
|
|
@@ -1163,7 +1158,7 @@ const No = (e, i) => {
|
|
|
1163
1158
|
styleOverrides: {
|
|
1164
1159
|
root: {
|
|
1165
1160
|
"&.Mui-focusVisible": {
|
|
1166
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1161
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`
|
|
1167
1162
|
}
|
|
1168
1163
|
}
|
|
1169
1164
|
}
|
|
@@ -1171,7 +1166,7 @@ const No = (e, i) => {
|
|
|
1171
1166
|
MuiCircularProgress: {
|
|
1172
1167
|
styleOverrides: {
|
|
1173
1168
|
root: {
|
|
1174
|
-
[`& .${
|
|
1169
|
+
[`& .${Oe.circle}`]: {
|
|
1175
1170
|
strokeLinecap: "round"
|
|
1176
1171
|
}
|
|
1177
1172
|
}
|
|
@@ -1192,22 +1187,22 @@ const No = (e, i) => {
|
|
|
1192
1187
|
},
|
|
1193
1188
|
MuiDataGrid: {
|
|
1194
1189
|
styleOverrides: {
|
|
1195
|
-
root: ({ theme:
|
|
1190
|
+
root: ({ theme: t }) => ({
|
|
1196
1191
|
border: "none",
|
|
1197
1192
|
borderRadius: 0,
|
|
1198
|
-
fontSize:
|
|
1193
|
+
fontSize: t.typography.body2.fontSize,
|
|
1199
1194
|
"& .MuiDataGrid-cell": {
|
|
1200
1195
|
display: "flex",
|
|
1201
1196
|
alignItems: "center",
|
|
1202
1197
|
borderTop: "1px solid",
|
|
1203
|
-
borderColor:
|
|
1198
|
+
borderColor: t.palette.background.highlight
|
|
1204
1199
|
},
|
|
1205
1200
|
"& .MuiDataGrid-cell:focus": { outline: "unset" },
|
|
1206
1201
|
"& .MuiDataGrid-iconSeparator": { display: "none" },
|
|
1207
1202
|
"& .MuiDataGrid-columnHeaders": {
|
|
1208
|
-
backgroundColor:
|
|
1203
|
+
backgroundColor: t.palette.background.paper,
|
|
1209
1204
|
borderBottom: "2px solid",
|
|
1210
|
-
borderColor:
|
|
1205
|
+
borderColor: t.palette.divider
|
|
1211
1206
|
},
|
|
1212
1207
|
"& .MuiDataGrid-columnHeaderTitle": {
|
|
1213
1208
|
fontWeight: 600
|
|
@@ -1225,42 +1220,42 @@ const No = (e, i) => {
|
|
|
1225
1220
|
},
|
|
1226
1221
|
MuiDateRangePickerDay: {
|
|
1227
1222
|
styleOverrides: {
|
|
1228
|
-
root: ({ theme:
|
|
1223
|
+
root: ({ theme: t }) => ({
|
|
1229
1224
|
":first-of-type": {
|
|
1230
|
-
borderTopLeftRadius:
|
|
1231
|
-
borderBottomLeftRadius:
|
|
1225
|
+
borderTopLeftRadius: t.shape.borderRadius,
|
|
1226
|
+
borderBottomLeftRadius: t.shape.borderRadius,
|
|
1232
1227
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1233
|
-
borderTopLeftRadius:
|
|
1234
|
-
borderBottomLeftRadius:
|
|
1228
|
+
borderTopLeftRadius: t.shape.borderRadius,
|
|
1229
|
+
borderBottomLeftRadius: t.shape.borderRadius
|
|
1235
1230
|
}
|
|
1236
1231
|
},
|
|
1237
1232
|
":last-of-type": {
|
|
1238
|
-
borderTopRightRadius:
|
|
1239
|
-
borderBottomRightRadius:
|
|
1233
|
+
borderTopRightRadius: t.shape.borderRadius,
|
|
1234
|
+
borderBottomRightRadius: t.shape.borderRadius,
|
|
1240
1235
|
"& .MuiDateRangePickerDay-rangeIntervalDayPreview": {
|
|
1241
|
-
borderTopRightRadius:
|
|
1242
|
-
borderBottomRightRadius:
|
|
1236
|
+
borderTopRightRadius: t.shape.borderRadius,
|
|
1237
|
+
borderBottomRightRadius: t.shape.borderRadius
|
|
1243
1238
|
}
|
|
1244
1239
|
},
|
|
1245
1240
|
"& .Mui-selected": {
|
|
1246
|
-
borderRadius:
|
|
1241
|
+
borderRadius: t.shape.borderRadius
|
|
1247
1242
|
},
|
|
1248
1243
|
"& .MuiPickersDay-dayOutsideMonth": {
|
|
1249
|
-
color:
|
|
1244
|
+
color: t.palette.action.disabled
|
|
1250
1245
|
}
|
|
1251
1246
|
}),
|
|
1252
|
-
day: ({ theme:
|
|
1253
|
-
borderRadius:
|
|
1247
|
+
day: ({ theme: t }) => ({
|
|
1248
|
+
borderRadius: t.shape.borderRadius
|
|
1254
1249
|
}),
|
|
1255
|
-
rangeIntervalDayPreview: ({ theme:
|
|
1256
|
-
borderRadius:
|
|
1250
|
+
rangeIntervalDayPreview: ({ theme: t }) => ({
|
|
1251
|
+
borderRadius: t.shape.borderRadius
|
|
1257
1252
|
})
|
|
1258
1253
|
}
|
|
1259
1254
|
},
|
|
1260
1255
|
MuiDayCalendar: {
|
|
1261
1256
|
styleOverrides: {
|
|
1262
|
-
weekDayLabel: ({ theme:
|
|
1263
|
-
fontSize:
|
|
1257
|
+
weekDayLabel: ({ theme: t }) => ({
|
|
1258
|
+
fontSize: t.typography.body2.fontSize,
|
|
1264
1259
|
fontWeight: 700
|
|
1265
1260
|
})
|
|
1266
1261
|
}
|
|
@@ -1302,14 +1297,14 @@ const No = (e, i) => {
|
|
|
1302
1297
|
},
|
|
1303
1298
|
MuiFormHelperText: {
|
|
1304
1299
|
styleOverrides: {
|
|
1305
|
-
root: ({ theme:
|
|
1300
|
+
root: ({ theme: t }) => ({
|
|
1306
1301
|
fontSize: 13,
|
|
1307
1302
|
// Small
|
|
1308
1303
|
marginLeft: 0,
|
|
1309
1304
|
display: "flex",
|
|
1310
1305
|
alignItems: "center",
|
|
1311
1306
|
position: "relative",
|
|
1312
|
-
color:
|
|
1307
|
+
color: t.palette.text.secondary,
|
|
1313
1308
|
"& .MuiSvgIcon-root": {
|
|
1314
1309
|
height: "16px",
|
|
1315
1310
|
width: "16px",
|
|
@@ -1325,7 +1320,7 @@ const No = (e, i) => {
|
|
|
1325
1320
|
MuiFormLabel: {
|
|
1326
1321
|
styleOverrides: {
|
|
1327
1322
|
asterisk: {
|
|
1328
|
-
color:
|
|
1323
|
+
color: o.error.main
|
|
1329
1324
|
}
|
|
1330
1325
|
}
|
|
1331
1326
|
},
|
|
@@ -1340,19 +1335,19 @@ const No = (e, i) => {
|
|
|
1340
1335
|
disableFocusRipple: !0
|
|
1341
1336
|
},
|
|
1342
1337
|
styleOverrides: {
|
|
1343
|
-
root: ({ theme:
|
|
1344
|
-
borderRadius:
|
|
1338
|
+
root: ({ theme: t }) => ({
|
|
1339
|
+
borderRadius: t.shape.borderRadius,
|
|
1345
1340
|
minHeight: 44,
|
|
1346
1341
|
// touch target
|
|
1347
1342
|
minWidth: 44,
|
|
1348
1343
|
// touch target
|
|
1349
1344
|
"&.Mui-focusVisible": {
|
|
1350
|
-
outline: `2px solid ${
|
|
1345
|
+
outline: `2px solid ${t.palette.info.main}`,
|
|
1351
1346
|
outlineOffset: "2px"
|
|
1352
1347
|
},
|
|
1353
1348
|
"& .MuiTouchRipple-root": {
|
|
1354
1349
|
"& .MuiTouchRipple-child": {
|
|
1355
|
-
borderRadius:
|
|
1350
|
+
borderRadius: t.shape.borderRadius
|
|
1356
1351
|
}
|
|
1357
1352
|
}
|
|
1358
1353
|
})
|
|
@@ -1373,13 +1368,13 @@ const No = (e, i) => {
|
|
|
1373
1368
|
borderRadius: 4
|
|
1374
1369
|
},
|
|
1375
1370
|
colorPrimary: {
|
|
1376
|
-
backgroundColor:
|
|
1371
|
+
backgroundColor: o.grey[300]
|
|
1377
1372
|
}
|
|
1378
1373
|
}
|
|
1379
1374
|
},
|
|
1380
1375
|
MuiLink: {
|
|
1381
1376
|
styleOverrides: {
|
|
1382
|
-
root: ({ theme:
|
|
1377
|
+
root: ({ theme: t, color: s }) => ({
|
|
1383
1378
|
cursor: "pointer",
|
|
1384
1379
|
fontWeight: 600,
|
|
1385
1380
|
textDecoration: "none",
|
|
@@ -1391,10 +1386,10 @@ const No = (e, i) => {
|
|
|
1391
1386
|
outlineOffset: "2px"
|
|
1392
1387
|
},
|
|
1393
1388
|
"&:hover": {
|
|
1394
|
-
backgroundColor:
|
|
1389
|
+
backgroundColor: t.palette.action.hover
|
|
1395
1390
|
},
|
|
1396
1391
|
"&:active": {
|
|
1397
|
-
backgroundColor:
|
|
1392
|
+
backgroundColor: t.palette.mode === O.LIGHT ? t.palette[s].light : t.palette[s].dark
|
|
1398
1393
|
}
|
|
1399
1394
|
})
|
|
1400
1395
|
}
|
|
@@ -1421,9 +1416,9 @@ const No = (e, i) => {
|
|
|
1421
1416
|
disablePadding: !0
|
|
1422
1417
|
},
|
|
1423
1418
|
styleOverrides: {
|
|
1424
|
-
root: ({ ownerState:
|
|
1419
|
+
root: ({ ownerState: t }) => ({
|
|
1425
1420
|
minHeight: 64,
|
|
1426
|
-
...!
|
|
1421
|
+
...!t.disablePadding && {
|
|
1427
1422
|
paddingTop: 12,
|
|
1428
1423
|
paddingBottom: 12,
|
|
1429
1424
|
paddingLeft: 24
|
|
@@ -1447,7 +1442,7 @@ const No = (e, i) => {
|
|
|
1447
1442
|
},
|
|
1448
1443
|
MuiListItemButton: {
|
|
1449
1444
|
styleOverrides: {
|
|
1450
|
-
root: ({ theme:
|
|
1445
|
+
root: ({ theme: t }) => ({
|
|
1451
1446
|
minHeight: 64,
|
|
1452
1447
|
paddingLeft: 24,
|
|
1453
1448
|
paddingRight: 24,
|
|
@@ -1456,7 +1451,7 @@ const No = (e, i) => {
|
|
|
1456
1451
|
"&.Mui-focusVisible": {
|
|
1457
1452
|
backgroundColor: "transparent",
|
|
1458
1453
|
borderRadius: 8,
|
|
1459
|
-
outline: `2px solid ${
|
|
1454
|
+
outline: `2px solid ${t.palette.info.main}`,
|
|
1460
1455
|
outlineOffset: -2
|
|
1461
1456
|
}
|
|
1462
1457
|
})
|
|
@@ -1479,12 +1474,8 @@ const No = (e, i) => {
|
|
|
1479
1474
|
},
|
|
1480
1475
|
secondary: {
|
|
1481
1476
|
fontSize: 11,
|
|
1482
|
-
color:
|
|
1477
|
+
color: o.text.secondary
|
|
1483
1478
|
}
|
|
1484
|
-
},
|
|
1485
|
-
secondaryTypographyProps: {
|
|
1486
|
-
fontSize: 11,
|
|
1487
|
-
color: r.text.secondary
|
|
1488
1479
|
}
|
|
1489
1480
|
},
|
|
1490
1481
|
styleOverrides: {
|
|
@@ -1504,7 +1495,7 @@ const No = (e, i) => {
|
|
|
1504
1495
|
lineHeight: "inherit",
|
|
1505
1496
|
top: -1,
|
|
1506
1497
|
// This fixes an issue where there is a 1px gap when the subheader sticks to the top while scrolling
|
|
1507
|
-
backgroundColor:
|
|
1498
|
+
backgroundColor: o.background.default
|
|
1508
1499
|
}
|
|
1509
1500
|
}
|
|
1510
1501
|
},
|
|
@@ -1587,11 +1578,11 @@ const No = (e, i) => {
|
|
|
1587
1578
|
},
|
|
1588
1579
|
MuiPickersToolbar: {
|
|
1589
1580
|
styleOverrides: {
|
|
1590
|
-
content: ({ theme:
|
|
1581
|
+
content: ({ theme: t }) => ({
|
|
1591
1582
|
marginTop: 4,
|
|
1592
1583
|
"& .MuiTypography-root": {
|
|
1593
|
-
fontSize:
|
|
1594
|
-
lineHeight:
|
|
1584
|
+
fontSize: t.typography.h3.fontSize,
|
|
1585
|
+
lineHeight: t.typography.h3.lineHeight
|
|
1595
1586
|
}
|
|
1596
1587
|
})
|
|
1597
1588
|
}
|
|
@@ -1617,7 +1608,7 @@ const No = (e, i) => {
|
|
|
1617
1608
|
disableFocusRipple: !0
|
|
1618
1609
|
},
|
|
1619
1610
|
styleOverrides: {
|
|
1620
|
-
root: ({ theme:
|
|
1611
|
+
root: ({ theme: t }) => ({
|
|
1621
1612
|
width: 37,
|
|
1622
1613
|
height: 20,
|
|
1623
1614
|
padding: 0,
|
|
@@ -1628,7 +1619,7 @@ const No = (e, i) => {
|
|
|
1628
1619
|
"&.Mui-checked": {
|
|
1629
1620
|
transform: "translateX(16px)",
|
|
1630
1621
|
"& + .MuiSwitch-track": {
|
|
1631
|
-
backgroundColor:
|
|
1622
|
+
backgroundColor: t.palette.success.main,
|
|
1632
1623
|
opacity: 1,
|
|
1633
1624
|
border: 0
|
|
1634
1625
|
},
|
|
@@ -1637,27 +1628,27 @@ const No = (e, i) => {
|
|
|
1637
1628
|
}
|
|
1638
1629
|
},
|
|
1639
1630
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1640
|
-
color:
|
|
1631
|
+
color: t.palette.common.white
|
|
1641
1632
|
},
|
|
1642
1633
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1643
|
-
backgroundColor:
|
|
1634
|
+
backgroundColor: t.palette.action.disabledBackground,
|
|
1644
1635
|
opacity: 1
|
|
1645
1636
|
}
|
|
1646
1637
|
},
|
|
1647
1638
|
"& .MuiSwitch-input": {
|
|
1648
1639
|
"&:focus-visible ~ .MuiSwitch-thumb": {
|
|
1649
|
-
outline: `2px solid ${
|
|
1640
|
+
outline: `2px solid ${t.palette.info.main}`,
|
|
1650
1641
|
outlineOffset: 0
|
|
1651
1642
|
}
|
|
1652
1643
|
},
|
|
1653
1644
|
"& .MuiSwitch-thumb": {
|
|
1654
1645
|
boxSizing: "border-box",
|
|
1655
|
-
backgroundColor:
|
|
1646
|
+
backgroundColor: t.palette.background.paper,
|
|
1656
1647
|
width: 16,
|
|
1657
1648
|
height: 16
|
|
1658
1649
|
},
|
|
1659
1650
|
"& .MuiSwitch-track": {
|
|
1660
|
-
backgroundColor:
|
|
1651
|
+
backgroundColor: t.palette.action.active,
|
|
1661
1652
|
borderRadius: 20 / 2,
|
|
1662
1653
|
opacity: 1
|
|
1663
1654
|
}
|
|
@@ -1674,7 +1665,7 @@ const No = (e, i) => {
|
|
|
1674
1665
|
fontWeight: 600,
|
|
1675
1666
|
"&.Mui-focusVisible": {
|
|
1676
1667
|
outline: "none",
|
|
1677
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
1668
|
+
boxShadow: `inset 0 0 0 2px ${o.info.main}`,
|
|
1678
1669
|
borderRadius: 4
|
|
1679
1670
|
}
|
|
1680
1671
|
}
|
|
@@ -1685,21 +1676,23 @@ const No = (e, i) => {
|
|
|
1685
1676
|
root: {
|
|
1686
1677
|
borderBottomStyle: "solid",
|
|
1687
1678
|
borderBottomWidth: 1,
|
|
1688
|
-
borderColor:
|
|
1679
|
+
borderColor: o.divider,
|
|
1689
1680
|
marginBottom: 8
|
|
1690
1681
|
}
|
|
1691
1682
|
}
|
|
1692
1683
|
},
|
|
1693
1684
|
MuiTextField: {
|
|
1694
1685
|
defaultProps: {
|
|
1695
|
-
|
|
1696
|
-
|
|
1686
|
+
slotProps: {
|
|
1687
|
+
inputLabel: {
|
|
1688
|
+
shrink: !0
|
|
1689
|
+
}
|
|
1697
1690
|
},
|
|
1698
1691
|
variant: "outlined"
|
|
1699
1692
|
},
|
|
1700
1693
|
styleOverrides: {
|
|
1701
1694
|
root: {
|
|
1702
|
-
backgroundColor:
|
|
1695
|
+
backgroundColor: o.background.paper
|
|
1703
1696
|
}
|
|
1704
1697
|
}
|
|
1705
1698
|
},
|
|
@@ -1710,29 +1703,29 @@ const No = (e, i) => {
|
|
|
1710
1703
|
},
|
|
1711
1704
|
styleOverrides: {
|
|
1712
1705
|
root: {
|
|
1713
|
-
color:
|
|
1706
|
+
color: o.text.primary,
|
|
1714
1707
|
fontSize: 13,
|
|
1715
1708
|
lineHeight: "16px",
|
|
1716
1709
|
textTransform: "none",
|
|
1717
1710
|
"&:focus-visible": {
|
|
1718
|
-
outline: `2px solid ${
|
|
1711
|
+
outline: `2px solid ${o.info.main}`,
|
|
1719
1712
|
outlineOffset: "2px"
|
|
1720
1713
|
},
|
|
1721
1714
|
"&:hover": {
|
|
1722
|
-
backgroundColor: m(
|
|
1723
|
-
borderColor:
|
|
1715
|
+
backgroundColor: m(o.primary.main, o.mode === O.LIGHT ? 0.1 : 0.2),
|
|
1716
|
+
borderColor: o.primary.main
|
|
1724
1717
|
},
|
|
1725
1718
|
"&.Mui-selected": {
|
|
1726
1719
|
fontWeight: 600,
|
|
1727
|
-
borderColor:
|
|
1720
|
+
borderColor: o.primary.main,
|
|
1728
1721
|
"&:hover": {
|
|
1729
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
1722
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.primary.main}`
|
|
1730
1723
|
}
|
|
1731
1724
|
},
|
|
1732
1725
|
"& .MuiTouchRipple-root": {
|
|
1733
1726
|
"& .MuiTouchRipple-ripple": {
|
|
1734
1727
|
"& .MuiTouchRipple-child": {
|
|
1735
|
-
backgroundColor:
|
|
1728
|
+
backgroundColor: o.primary.main
|
|
1736
1729
|
}
|
|
1737
1730
|
}
|
|
1738
1731
|
}
|
|
@@ -1743,19 +1736,19 @@ const No = (e, i) => {
|
|
|
1743
1736
|
props: { color: "error" },
|
|
1744
1737
|
style: {
|
|
1745
1738
|
"&:hover": {
|
|
1746
|
-
backgroundColor: m(
|
|
1747
|
-
borderColor:
|
|
1739
|
+
backgroundColor: m(o.error.main, o.mode === O.LIGHT ? 0.1 : 0.2),
|
|
1740
|
+
borderColor: o.error.main
|
|
1748
1741
|
},
|
|
1749
1742
|
"&.Mui-selected": {
|
|
1750
|
-
borderColor:
|
|
1743
|
+
borderColor: o.error.main,
|
|
1751
1744
|
"&:hover": {
|
|
1752
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
1745
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.error.main}`
|
|
1753
1746
|
}
|
|
1754
1747
|
},
|
|
1755
1748
|
"& .MuiTouchRipple-root": {
|
|
1756
1749
|
"& .MuiTouchRipple-ripple": {
|
|
1757
1750
|
"& .MuiTouchRipple-child": {
|
|
1758
|
-
backgroundColor:
|
|
1751
|
+
backgroundColor: o.error.main
|
|
1759
1752
|
}
|
|
1760
1753
|
}
|
|
1761
1754
|
}
|
|
@@ -1766,21 +1759,21 @@ const No = (e, i) => {
|
|
|
1766
1759
|
style: {
|
|
1767
1760
|
"&:hover": {
|
|
1768
1761
|
backgroundColor: m(
|
|
1769
|
-
|
|
1770
|
-
|
|
1762
|
+
o.secondary.main,
|
|
1763
|
+
o.mode === O.LIGHT ? 0.1 : 0.2
|
|
1771
1764
|
),
|
|
1772
|
-
borderColor:
|
|
1765
|
+
borderColor: o.secondary.main
|
|
1773
1766
|
},
|
|
1774
1767
|
"&.Mui-selected": {
|
|
1775
|
-
borderColor:
|
|
1768
|
+
borderColor: o.secondary.main,
|
|
1776
1769
|
"&:hover": {
|
|
1777
|
-
boxShadow: `inset 0px 0px 0px 2px ${
|
|
1770
|
+
boxShadow: `inset 0px 0px 0px 2px ${o.secondary.main}`
|
|
1778
1771
|
}
|
|
1779
1772
|
},
|
|
1780
1773
|
"& .MuiTouchRipple-root": {
|
|
1781
1774
|
"& .MuiTouchRipple-ripple": {
|
|
1782
1775
|
"& .MuiTouchRipple-child": {
|
|
1783
|
-
backgroundColor:
|
|
1776
|
+
backgroundColor: o.secondary.main
|
|
1784
1777
|
}
|
|
1785
1778
|
}
|
|
1786
1779
|
}
|
|
@@ -1808,32 +1801,32 @@ const No = (e, i) => {
|
|
|
1808
1801
|
};
|
|
1809
1802
|
export {
|
|
1810
1803
|
D as BaseIcon,
|
|
1811
|
-
|
|
1804
|
+
Mt as BottomSheetTransition,
|
|
1812
1805
|
g as CategoryGuids,
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1806
|
+
Fe as CategoryIcon,
|
|
1807
|
+
Ee as CategoryIconList,
|
|
1808
|
+
Ie as CategoryIconVariants,
|
|
1809
|
+
Rt as DateRangePicker,
|
|
1810
|
+
He as DialogFooter,
|
|
1811
|
+
Ot as DialogHeader,
|
|
1812
|
+
yt as Drawer,
|
|
1813
|
+
He as Footer,
|
|
1814
|
+
Le as H1,
|
|
1815
|
+
Ct as H2,
|
|
1816
|
+
St as H3,
|
|
1817
|
+
Y as INTER,
|
|
1825
1818
|
R as Icon,
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1819
|
+
It as InstitutionLogo,
|
|
1820
|
+
bt as MXLogoCopyrightIcon,
|
|
1821
|
+
Tt as MXLogoFilledIcon,
|
|
1822
|
+
mt as MXLogoIcon,
|
|
1823
|
+
xt as MXLogoOutlineIcon,
|
|
1824
|
+
Et as MerchantLogo,
|
|
1825
|
+
At as P,
|
|
1826
|
+
Nt as SelectionBox,
|
|
1834
1827
|
v as Text,
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1828
|
+
vt as TextField,
|
|
1829
|
+
Ft as Toast,
|
|
1830
|
+
Ht as createMXTheme
|
|
1838
1831
|
};
|
|
1839
1832
|
//# sourceMappingURL=index.es.js.map
|