@mxenabled/mxui 2.15.0 → 2.17.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/dist/index.es.js +184 -189
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Palette.d.ts +1 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { jsx as n, jsxs as b } from "react/jsx-runtime";
|
|
2
2
|
import H from "react";
|
|
3
3
|
import A from "@mui/material/Stack";
|
|
4
|
-
import { useTheme as
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { endOfMonth as
|
|
7
|
-
import { endOfYear as
|
|
8
|
-
import { startOfToday as
|
|
9
|
-
import { startOfMonth as
|
|
4
|
+
import { useTheme as O, createTheme as U } from "@mui/material/styles";
|
|
5
|
+
import { Icon as ce, ExpandMore as de, Close as pe } from "@mxenabled/mx-icons";
|
|
6
|
+
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
7
|
+
import { endOfYear as ue } from "date-fns/endOfYear";
|
|
8
|
+
import { startOfToday as ge } from "date-fns/startOfToday";
|
|
9
|
+
import { startOfMonth as G } from "date-fns/startOfMonth";
|
|
10
10
|
import { startOfYear as K } from "date-fns/startOfYear";
|
|
11
11
|
import { subDays as Y } from "date-fns/subDays";
|
|
12
|
-
import { subMonths as
|
|
13
|
-
import { subYears as
|
|
14
|
-
import
|
|
15
|
-
import { usePickerContext as
|
|
16
|
-
import { AdapterDateFns as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import { usePickerLayout as
|
|
23
|
-
import
|
|
12
|
+
import { subMonths as he } from "date-fns/subMonths";
|
|
13
|
+
import { subYears as fe } from "date-fns/subYears";
|
|
14
|
+
import me from "@mui/material/useMediaQuery";
|
|
15
|
+
import { usePickerContext as Q, useIsValidValue as J, LocalizationProvider as be, StaticDateRangePicker as xe } from "@mui/x-date-pickers-pro";
|
|
16
|
+
import { AdapterDateFns as Te } from "@mui/x-date-pickers-pro/AdapterDateFns";
|
|
17
|
+
import L from "@mui/material/Box";
|
|
18
|
+
import Me from "@mui/material/ToggleButton";
|
|
19
|
+
import Re from "@mui/material/ToggleButtonGroup";
|
|
20
|
+
import Ce from "@mui/material/MenuItem";
|
|
21
|
+
import q from "@mui/material/TextField";
|
|
22
|
+
import { usePickerLayout as ye, PickersLayoutRoot as Se, PickersLayoutContentWrapper as Ae, pickersLayoutClasses as P } from "@mui/x-date-pickers/PickersLayout";
|
|
23
|
+
import ee from "@mui/material/Slide";
|
|
24
24
|
import $ from "@mui/material/Button";
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import { FormControlLabel as
|
|
25
|
+
import re from "@mui/material/IconButton";
|
|
26
|
+
import te from "@mui/material/Typography";
|
|
27
|
+
import Ie from "@mui/material/Drawer";
|
|
28
|
+
import Oe from "@mui/material/Snackbar";
|
|
29
|
+
import ve from "@mui/material/Alert";
|
|
30
|
+
import { FormControlLabel as Ee, Box as _, Typography as X, Radio as B, Checkbox as ke, alpha as f, darken as F, lighten as v, getContrastRatio as j } from "@mui/material";
|
|
31
31
|
import { circularProgressClasses as Fe } from "@mui/material/CircularProgress";
|
|
32
32
|
import { LicenseInfo as Le } from "@mui/x-license";
|
|
33
33
|
const D = ({
|
|
@@ -48,7 +48,7 @@ const D = ({
|
|
|
48
48
|
xmlns: "http://www.w3.org/2000/svg",
|
|
49
49
|
children: r
|
|
50
50
|
}
|
|
51
|
-
),
|
|
51
|
+
), M = ({ color: r, fill: i = !1, name: o, size: s = 20, sx: l, ...e }) => /* @__PURE__ */ n(ce, { color: r, fill: i, name: o, size: s, sx: l, ...e }), vr = ({
|
|
52
52
|
color: r = "currentColor",
|
|
53
53
|
...i
|
|
54
54
|
}) => /* @__PURE__ */ b(D, { ...i, children: [
|
|
@@ -66,7 +66,7 @@ const D = ({
|
|
|
66
66
|
fill: r
|
|
67
67
|
}
|
|
68
68
|
)
|
|
69
|
-
] }),
|
|
69
|
+
] }), Er = ({
|
|
70
70
|
color: r = "currentColor",
|
|
71
71
|
...i
|
|
72
72
|
}) => /* @__PURE__ */ b(D, { ...i, children: [
|
|
@@ -102,7 +102,7 @@ const D = ({
|
|
|
102
102
|
fillRule: "evenodd"
|
|
103
103
|
}
|
|
104
104
|
)
|
|
105
|
-
] }),
|
|
105
|
+
] }), kr = ({
|
|
106
106
|
color: r = "currentColor",
|
|
107
107
|
...i
|
|
108
108
|
}) => /* @__PURE__ */ n(D, { ...i, children: /* @__PURE__ */ n(
|
|
@@ -113,7 +113,7 @@ const D = ({
|
|
|
113
113
|
fill: r,
|
|
114
114
|
fillRule: "evenodd"
|
|
115
115
|
}
|
|
116
|
-
) }),
|
|
116
|
+
) }), Fr = ({
|
|
117
117
|
color: r = "currentColor",
|
|
118
118
|
...i
|
|
119
119
|
}) => /* @__PURE__ */ b(D, { ...i, children: [
|
|
@@ -142,7 +142,7 @@ const D = ({
|
|
|
142
142
|
)
|
|
143
143
|
] });
|
|
144
144
|
var g = /* @__PURE__ */ ((r) => (r.AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874", r.BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8", r.BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f", r.Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0", r.Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73", r.FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a", r.Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf", r.FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a", r.GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0", r.HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f", r.Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac", r.Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3", r.Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c", r.Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a", r.PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f", r.Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78", r.Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f", r.Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954", r.Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83", r.Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae", r.Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4", r))(g || {}), Ne = /* @__PURE__ */ ((r) => (r.Basic = "basic", r.Filled = "filled", r.Transparent = "transparent", r.TwoTone = "two-tone", r))(Ne || {});
|
|
145
|
-
const
|
|
145
|
+
const oe = {
|
|
146
146
|
guid: g.Uncategorized,
|
|
147
147
|
colorName: "uncategorized",
|
|
148
148
|
icon: "category"
|
|
@@ -247,7 +247,7 @@ const te = {
|
|
|
247
247
|
colorName: "travel",
|
|
248
248
|
icon: "airplane_ticket"
|
|
249
249
|
},
|
|
250
|
-
|
|
250
|
+
oe
|
|
251
251
|
], De = 0.625, we = ({
|
|
252
252
|
categoryGuid: r,
|
|
253
253
|
icon_ratio: i = De,
|
|
@@ -255,8 +255,8 @@ const te = {
|
|
|
255
255
|
sx: s = {},
|
|
256
256
|
variant: l = "filled"
|
|
257
257
|
}) => {
|
|
258
|
-
const e =
|
|
259
|
-
() => He.find((m) => m.guid === r) ??
|
|
258
|
+
const e = O(), a = H.useMemo(
|
|
259
|
+
() => He.find((m) => m.guid === r) ?? oe,
|
|
260
260
|
[r]
|
|
261
261
|
), c = e.palette.categories[a.colorName];
|
|
262
262
|
return /* @__PURE__ */ n(
|
|
@@ -276,11 +276,11 @@ const te = {
|
|
|
276
276
|
justifyContent: "center",
|
|
277
277
|
sx: [...Array.isArray(s) ? s : [s]],
|
|
278
278
|
width: o,
|
|
279
|
-
children: /* @__PURE__ */ n(
|
|
279
|
+
children: /* @__PURE__ */ n(M, { name: a.icon, size: o * i })
|
|
280
280
|
}
|
|
281
281
|
);
|
|
282
282
|
}, Pe = ({ items: r, selected: i }) => {
|
|
283
|
-
const o =
|
|
283
|
+
const o = O(), { setValue: s } = Q(), l = J(), e = r?.map((a) => {
|
|
284
284
|
const c = a.getValue({ isValid: l });
|
|
285
285
|
return {
|
|
286
286
|
label: a.label,
|
|
@@ -290,8 +290,8 @@ const te = {
|
|
|
290
290
|
disabled: !l(c)
|
|
291
291
|
};
|
|
292
292
|
});
|
|
293
|
-
return /* @__PURE__ */ n(
|
|
294
|
-
|
|
293
|
+
return /* @__PURE__ */ n(L, { sx: { gridColumn: 1, gridRow: "2/3", ml: "4px", mt: "24px", mr: "32px" }, children: /* @__PURE__ */ n(Re, { color: "primary", orientation: "vertical", value: i, children: e?.map((a) => /* @__PURE__ */ n(
|
|
294
|
+
Me,
|
|
295
295
|
{
|
|
296
296
|
onClick: a.onClick,
|
|
297
297
|
sx: {
|
|
@@ -318,12 +318,12 @@ const te = {
|
|
|
318
318
|
},
|
|
319
319
|
a.label
|
|
320
320
|
)) }) });
|
|
321
|
-
},
|
|
321
|
+
}, _e = ({
|
|
322
322
|
items: r,
|
|
323
323
|
selected: i,
|
|
324
324
|
selectLabel: o
|
|
325
325
|
}) => {
|
|
326
|
-
const { setValue: s } =
|
|
326
|
+
const { setValue: s } = Q(), l = J(), e = r?.map((a) => {
|
|
327
327
|
const c = a.getValue({ isValid: l });
|
|
328
328
|
return {
|
|
329
329
|
label: a.label,
|
|
@@ -334,23 +334,23 @@ const te = {
|
|
|
334
334
|
};
|
|
335
335
|
});
|
|
336
336
|
return /* @__PURE__ */ n(A, { sx: { py: "16px" }, children: /* @__PURE__ */ n(
|
|
337
|
-
|
|
337
|
+
q,
|
|
338
338
|
{
|
|
339
339
|
defaultValue: i,
|
|
340
340
|
id: "select",
|
|
341
341
|
label: o,
|
|
342
342
|
select: !0,
|
|
343
|
-
slotProps: { inputLabel: { shrink: !0 }, select: { IconComponent:
|
|
343
|
+
slotProps: { inputLabel: { shrink: !0 }, select: { IconComponent: de } },
|
|
344
344
|
sx: { width: "100%" },
|
|
345
345
|
value: i,
|
|
346
346
|
variant: "outlined",
|
|
347
|
-
children: e?.map((a) => /* @__PURE__ */ n(
|
|
347
|
+
children: e?.map((a) => /* @__PURE__ */ n(Ce, { onClick: a.onClick, value: a.label, children: a.label }, a.label))
|
|
348
348
|
}
|
|
349
349
|
) });
|
|
350
|
-
},
|
|
351
|
-
const { toolbar: i, content: o, shortcuts: s, ownerState: l } =
|
|
350
|
+
}, Be = (r) => {
|
|
351
|
+
const { toolbar: i, content: o, shortcuts: s, ownerState: l } = ye(r);
|
|
352
352
|
return /* @__PURE__ */ b(
|
|
353
|
-
|
|
353
|
+
Se,
|
|
354
354
|
{
|
|
355
355
|
ownerState: l,
|
|
356
356
|
sx: {
|
|
@@ -373,7 +373,7 @@ const te = {
|
|
|
373
373
|
i
|
|
374
374
|
] }),
|
|
375
375
|
/* @__PURE__ */ n(
|
|
376
|
-
|
|
376
|
+
Ae,
|
|
377
377
|
{
|
|
378
378
|
className: P.contentWrapper,
|
|
379
379
|
ownerState: l,
|
|
@@ -383,23 +383,23 @@ const te = {
|
|
|
383
383
|
]
|
|
384
384
|
}
|
|
385
385
|
);
|
|
386
|
-
},
|
|
386
|
+
}, Lr = ({
|
|
387
387
|
copy: r,
|
|
388
388
|
dateRange: i,
|
|
389
389
|
onRangeChanged: o,
|
|
390
390
|
selectedShortcut: s = r.dateRangeThisMonth,
|
|
391
391
|
sx: l = {}
|
|
392
392
|
}) => {
|
|
393
|
-
const e =
|
|
394
|
-
const t =
|
|
393
|
+
const e = O(), a = me(e.breakpoints.down("sm")), c = H.useMemo(() => {
|
|
394
|
+
const t = ge(), m = he(t, 1), x = fe(t, 1);
|
|
395
395
|
return [
|
|
396
396
|
{
|
|
397
397
|
label: r.dateRangeThisMonth,
|
|
398
|
-
getValue: () => [
|
|
398
|
+
getValue: () => [G(t), V(t)]
|
|
399
399
|
},
|
|
400
400
|
{
|
|
401
401
|
label: r.dateRangeLastMonth,
|
|
402
|
-
getValue: () => [
|
|
402
|
+
getValue: () => [G(m), V(m)]
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
405
|
label: r.dateRangeLast30Days,
|
|
@@ -415,7 +415,7 @@ const te = {
|
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
417
|
label: r.dateRangeLastYear,
|
|
418
|
-
getValue: () => [K(x),
|
|
418
|
+
getValue: () => [K(x), ue(x)]
|
|
419
419
|
},
|
|
420
420
|
{
|
|
421
421
|
label: r.dateRangeCustom,
|
|
@@ -426,8 +426,8 @@ const te = {
|
|
|
426
426
|
const x = m.shortcut;
|
|
427
427
|
o?.(t, x ? x.label : r.dateRangeCustom);
|
|
428
428
|
};
|
|
429
|
-
return /* @__PURE__ */ n(A, { gap: a ? 0 : "16px", m: a ? 0 : "8px", children: /* @__PURE__ */ n(
|
|
430
|
-
|
|
429
|
+
return /* @__PURE__ */ n(A, { gap: a ? 0 : "16px", m: a ? 0 : "8px", children: /* @__PURE__ */ n(be, { dateAdapter: Te, children: /* @__PURE__ */ n(
|
|
430
|
+
xe,
|
|
431
431
|
{
|
|
432
432
|
calendars: 1,
|
|
433
433
|
localeText: {
|
|
@@ -455,24 +455,24 @@ const te = {
|
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
457
|
slots: {
|
|
458
|
-
...a && { layout:
|
|
459
|
-
leftArrowIcon: () => /* @__PURE__ */ n(
|
|
458
|
+
...a && { layout: Be },
|
|
459
|
+
leftArrowIcon: () => /* @__PURE__ */ n(M, { name: "chevron_left", size: 28 }),
|
|
460
460
|
shortcuts: (t) => a ? /* @__PURE__ */ n(
|
|
461
|
-
|
|
461
|
+
_e,
|
|
462
462
|
{
|
|
463
463
|
selectLabel: r.dateRangeSelectARange,
|
|
464
464
|
selected: s,
|
|
465
465
|
...t
|
|
466
466
|
}
|
|
467
467
|
) : /* @__PURE__ */ n(Pe, { selected: s, ...t }),
|
|
468
|
-
rightArrowIcon: () => /* @__PURE__ */ n(
|
|
468
|
+
rightArrowIcon: () => /* @__PURE__ */ n(M, { name: "chevron_right", size: 28 })
|
|
469
469
|
},
|
|
470
470
|
sx: { ...l },
|
|
471
471
|
value: i
|
|
472
472
|
}
|
|
473
473
|
) }) });
|
|
474
|
-
},
|
|
475
|
-
return /* @__PURE__ */ n(
|
|
474
|
+
}, Nr = H.forwardRef(function(i, o) {
|
|
475
|
+
return /* @__PURE__ */ n(ee, { direction: "up", ref: o, ...i });
|
|
476
476
|
}), ze = ({
|
|
477
477
|
hasSecondaryAction: r = !0,
|
|
478
478
|
isPrimaryDisabled: i,
|
|
@@ -511,7 +511,7 @@ const te = {
|
|
|
511
511
|
)
|
|
512
512
|
]
|
|
513
513
|
}
|
|
514
|
-
),
|
|
514
|
+
), E = ({
|
|
515
515
|
bold: r,
|
|
516
516
|
className: i = "",
|
|
517
517
|
children: o,
|
|
@@ -521,7 +521,7 @@ const te = {
|
|
|
521
521
|
uppercase: a,
|
|
522
522
|
...c
|
|
523
523
|
}) => /* @__PURE__ */ n(
|
|
524
|
-
|
|
524
|
+
te,
|
|
525
525
|
{
|
|
526
526
|
className: `mx-kmui-text ${i}`,
|
|
527
527
|
color: s,
|
|
@@ -542,7 +542,7 @@ const te = {
|
|
|
542
542
|
...c,
|
|
543
543
|
children: o
|
|
544
544
|
}
|
|
545
|
-
), $e = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(
|
|
545
|
+
), $e = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(E, { className: `mx-mxui-text h1 ${r}`, component: "h1", variant: "h1", ...o, children: i }), Hr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(E, { className: `mx-mxui-text h2 ${r}`, component: "h2", variant: "h2", ...o, children: i }), Dr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(E, { className: `mx-mxui-text h3 ${r}`, component: "h3", variant: "h3", ...o, children: i }), wr = ({ className: r = "", children: i, ...o }) => /* @__PURE__ */ n(E, { className: `mx-mxui-text p ${r}`, component: "p", variant: "body1", ...o, children: i }), Pr = ({
|
|
546
546
|
ariaHidden: r = !1,
|
|
547
547
|
copy: i,
|
|
548
548
|
id: o,
|
|
@@ -569,10 +569,10 @@ const te = {
|
|
|
569
569
|
children: i.title
|
|
570
570
|
}
|
|
571
571
|
),
|
|
572
|
-
/* @__PURE__ */ n(
|
|
572
|
+
/* @__PURE__ */ n(re, { "aria-label": i.close_aria, onClick: s, sx: { mr: "-12px" }, children: /* @__PURE__ */ n(pe, {}) })
|
|
573
573
|
]
|
|
574
574
|
}
|
|
575
|
-
),
|
|
575
|
+
), _r = ({
|
|
576
576
|
className: r,
|
|
577
577
|
disableSave: i,
|
|
578
578
|
id: o,
|
|
@@ -584,7 +584,7 @@ const te = {
|
|
|
584
584
|
children: d,
|
|
585
585
|
...t
|
|
586
586
|
}) => /* @__PURE__ */ b(
|
|
587
|
-
|
|
587
|
+
Ie,
|
|
588
588
|
{
|
|
589
589
|
anchor: "right",
|
|
590
590
|
className: `mx-kmui-drawer ${r}`,
|
|
@@ -607,11 +607,11 @@ const te = {
|
|
|
607
607
|
)
|
|
608
608
|
]
|
|
609
609
|
}
|
|
610
|
-
),
|
|
610
|
+
), ie = 32, W = "https://content.moneydesktop.com/storage/MD_Assets", Z = `${W}/serenity/default_institution_logo.png`, Br = ({
|
|
611
611
|
alt: r,
|
|
612
612
|
institutionGuid: i,
|
|
613
613
|
logoUrl: o,
|
|
614
|
-
size: s =
|
|
614
|
+
size: s = ie,
|
|
615
615
|
...l
|
|
616
616
|
}) => /* @__PURE__ */ n(
|
|
617
617
|
"img",
|
|
@@ -620,24 +620,24 @@ const te = {
|
|
|
620
620
|
height: s,
|
|
621
621
|
onError: (e) => {
|
|
622
622
|
const a = e.target;
|
|
623
|
-
a.src !==
|
|
623
|
+
a.src !== Z && (a.src = Z);
|
|
624
624
|
},
|
|
625
|
-
src: o || `${
|
|
625
|
+
src: o || `${W}/Ipad%20Logos/100x100/${i}_100x100.png`,
|
|
626
626
|
style: {
|
|
627
627
|
borderRadius: 4
|
|
628
628
|
},
|
|
629
629
|
width: s,
|
|
630
630
|
...l
|
|
631
631
|
}
|
|
632
|
-
),
|
|
632
|
+
), zr = ({
|
|
633
633
|
alt: r = "",
|
|
634
634
|
categoryGuid: i,
|
|
635
635
|
merchantGuid: o,
|
|
636
|
-
size: s =
|
|
636
|
+
size: s = ie,
|
|
637
637
|
...l
|
|
638
638
|
}) => {
|
|
639
|
-
const [e, a] = H.useState(!1), c =
|
|
640
|
-
return /* @__PURE__ */ b(
|
|
639
|
+
const [e, a] = H.useState(!1), c = O();
|
|
640
|
+
return /* @__PURE__ */ b(L, { display: "inline-block", position: "relative", ...l, children: [
|
|
641
641
|
o && !e && /* @__PURE__ */ n(
|
|
642
642
|
"img",
|
|
643
643
|
{
|
|
@@ -645,7 +645,7 @@ const te = {
|
|
|
645
645
|
"aria-hidden": !r,
|
|
646
646
|
height: s,
|
|
647
647
|
onError: () => a(!0),
|
|
648
|
-
src: `${
|
|
648
|
+
src: `${W}/merchant_logos/${o}.png`,
|
|
649
649
|
style: {
|
|
650
650
|
backgroundColor: c.palette.common.white,
|
|
651
651
|
borderRadius: 4,
|
|
@@ -657,7 +657,7 @@ const te = {
|
|
|
657
657
|
),
|
|
658
658
|
/* @__PURE__ */ n(we, { categoryGuid: i, size: s })
|
|
659
659
|
] });
|
|
660
|
-
},
|
|
660
|
+
}, $r = ({
|
|
661
661
|
disabled: r = !1,
|
|
662
662
|
label: i = "",
|
|
663
663
|
shrink: o = !0,
|
|
@@ -665,7 +665,7 @@ const te = {
|
|
|
665
665
|
variant: l = "outlined",
|
|
666
666
|
...e
|
|
667
667
|
}) => /* @__PURE__ */ n(
|
|
668
|
-
|
|
668
|
+
q,
|
|
669
669
|
{
|
|
670
670
|
disabled: r,
|
|
671
671
|
label: i,
|
|
@@ -686,10 +686,10 @@ const te = {
|
|
|
686
686
|
...e
|
|
687
687
|
}
|
|
688
688
|
);
|
|
689
|
-
function
|
|
690
|
-
return /* @__PURE__ */ n(
|
|
689
|
+
function We(r) {
|
|
690
|
+
return /* @__PURE__ */ n(ee, { ...r, direction: "left", mountOnEnter: !0, unmountOnExit: !0 });
|
|
691
691
|
}
|
|
692
|
-
const
|
|
692
|
+
const Wr = ({
|
|
693
693
|
open: r = !0,
|
|
694
694
|
handleClose: i,
|
|
695
695
|
closeAriaLabel: o,
|
|
@@ -702,15 +702,15 @@ const $r = ({
|
|
|
702
702
|
actionText: t = "Undo",
|
|
703
703
|
onActionClick: m
|
|
704
704
|
}) => {
|
|
705
|
-
const x =
|
|
705
|
+
const x = O(), k = d && /* @__PURE__ */ n(re, { "aria-label": o, color: "inherit", onClick: i, size: "small", children: /* @__PURE__ */ n(M, { fill: !0, name: "close" }) }), h = `${e}.main`;
|
|
706
706
|
return /* @__PURE__ */ n(
|
|
707
|
-
|
|
707
|
+
Oe,
|
|
708
708
|
{
|
|
709
709
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
710
710
|
autoHideDuration: l,
|
|
711
711
|
onClose: i,
|
|
712
712
|
open: r,
|
|
713
|
-
slots: { transition:
|
|
713
|
+
slots: { transition: We },
|
|
714
714
|
sx: {
|
|
715
715
|
...a,
|
|
716
716
|
maxWidth: 568,
|
|
@@ -718,9 +718,9 @@ const $r = ({
|
|
|
718
718
|
minHeight: 56
|
|
719
719
|
},
|
|
720
720
|
children: /* @__PURE__ */ n(
|
|
721
|
-
|
|
721
|
+
ve,
|
|
722
722
|
{
|
|
723
|
-
action:
|
|
723
|
+
action: k,
|
|
724
724
|
severity: e,
|
|
725
725
|
sx: {
|
|
726
726
|
backgroundColor: h,
|
|
@@ -751,7 +751,7 @@ const $r = ({
|
|
|
751
751
|
},
|
|
752
752
|
children: [
|
|
753
753
|
/* @__PURE__ */ n(
|
|
754
|
-
|
|
754
|
+
E,
|
|
755
755
|
{
|
|
756
756
|
sx: {
|
|
757
757
|
lineHeight: x.typography.body1.lineHeight,
|
|
@@ -786,7 +786,7 @@ const $r = ({
|
|
|
786
786
|
}
|
|
787
787
|
);
|
|
788
788
|
}, Ur = ({
|
|
789
|
-
component: r =
|
|
789
|
+
component: r = B,
|
|
790
790
|
variant: i = "outlined",
|
|
791
791
|
selected: o,
|
|
792
792
|
onChange: s,
|
|
@@ -798,15 +798,15 @@ const $r = ({
|
|
|
798
798
|
error: t = !1,
|
|
799
799
|
icon: m = !1,
|
|
800
800
|
sx: x = {},
|
|
801
|
-
...
|
|
801
|
+
...k
|
|
802
802
|
}) => {
|
|
803
|
-
const h =
|
|
803
|
+
const h = O(), ae = () => h.palette.background.paper, w = () => t ? `inset 0px 0px 0px 2px ${h.palette.error.main}` : d ? o ? `inset 0px 0px 0px 2px ${h.palette.action.disabled}` : i === "outlined" ? `inset 0px 0px 0px 1px ${h.palette.action.disabledBackground}` : `inset 0px 0px 0px 1px ${h.palette.action.disabled}` : i === "outlined" ? o ? `inset 0px 0px 0px 2px ${f(h.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${f(h.palette.common.black, 0.23)}` : o ? `inset 0px 0px 0px 2px ${f(h.palette.primary.main, 0.5)}` : h.shadows[1], ne = () => d || t ? h.palette.background.paper : f(h.palette.primary.main, 0.1), le = () => d || t ? w() : i === "outlined" ? o ? `inset 0px 0px 0px 2px ${f(h.palette.primary.main, 0.5)}` : `inset 0px 0px 0px 1px ${f(h.palette.primary.main, 0.5)}` : w(), se = () => d || t ? h.palette.background.paper : f(h.palette.primary.main, 0.3);
|
|
804
804
|
return /* @__PURE__ */ n(
|
|
805
|
-
|
|
805
|
+
Ee,
|
|
806
806
|
{
|
|
807
807
|
checked: o,
|
|
808
|
-
control: r ===
|
|
809
|
-
|
|
808
|
+
control: r === B ? /* @__PURE__ */ n(
|
|
809
|
+
B,
|
|
810
810
|
{
|
|
811
811
|
name: a,
|
|
812
812
|
sx: {
|
|
@@ -818,10 +818,10 @@ const $r = ({
|
|
|
818
818
|
fontSize: "20px"
|
|
819
819
|
}
|
|
820
820
|
},
|
|
821
|
-
...
|
|
821
|
+
...k
|
|
822
822
|
}
|
|
823
823
|
) : /* @__PURE__ */ n(
|
|
824
|
-
|
|
824
|
+
ke,
|
|
825
825
|
{
|
|
826
826
|
name: a,
|
|
827
827
|
sx: {
|
|
@@ -833,13 +833,13 @@ const $r = ({
|
|
|
833
833
|
fontSize: "20px"
|
|
834
834
|
}
|
|
835
835
|
},
|
|
836
|
-
...
|
|
836
|
+
...k
|
|
837
837
|
}
|
|
838
838
|
),
|
|
839
839
|
disabled: d,
|
|
840
|
-
label: /* @__PURE__ */ b(
|
|
841
|
-
m && /* @__PURE__ */ n(
|
|
842
|
-
/* @__PURE__ */ b(
|
|
840
|
+
label: /* @__PURE__ */ b(_, { sx: { display: "flex", alignItems: "flex-start", width: "100%" }, children: [
|
|
841
|
+
m && /* @__PURE__ */ n(_, { sx: { mr: "12px", mt: "8px", flexShrink: 0 }, children: m }),
|
|
842
|
+
/* @__PURE__ */ b(_, { sx: { flex: 1, minWidth: 0, py: "8px" }, children: [
|
|
843
843
|
l && /* @__PURE__ */ n(X, { fontWeight: 600, sx: { lineHeight: "24px", pb: "4px" }, variant: "body1", children: l }),
|
|
844
844
|
/* @__PURE__ */ n(X, { sx: { lineHeight: "20px" }, variant: "subtitle2", children: e })
|
|
845
845
|
] })
|
|
@@ -855,7 +855,7 @@ const $r = ({
|
|
|
855
855
|
mb: "16px",
|
|
856
856
|
cursor: d ? "not-allowed" : "pointer",
|
|
857
857
|
opacity: d ? 0.6 : 1,
|
|
858
|
-
backgroundColor:
|
|
858
|
+
backgroundColor: ae(),
|
|
859
859
|
border: "none",
|
|
860
860
|
boxShadow: w(),
|
|
861
861
|
boxSizing: "border-box",
|
|
@@ -863,11 +863,11 @@ const $r = ({
|
|
|
863
863
|
duration: h.transitions.duration.short
|
|
864
864
|
}),
|
|
865
865
|
"&:hover": {
|
|
866
|
-
backgroundColor:
|
|
867
|
-
boxShadow:
|
|
866
|
+
backgroundColor: ne(),
|
|
867
|
+
boxShadow: le()
|
|
868
868
|
},
|
|
869
869
|
"&:active": {
|
|
870
|
-
backgroundColor:
|
|
870
|
+
backgroundColor: se()
|
|
871
871
|
},
|
|
872
872
|
"&:focus-visible": {
|
|
873
873
|
outline: `2px solid ${h.palette.info.main}`,
|
|
@@ -878,15 +878,15 @@ const $r = ({
|
|
|
878
878
|
value: c
|
|
879
879
|
}
|
|
880
880
|
);
|
|
881
|
-
},
|
|
881
|
+
}, N = {
|
|
882
882
|
LIGHT: "light"
|
|
883
|
-
},
|
|
884
|
-
|
|
883
|
+
}, Vr = ({ color: r = "neutral", icon: i, label: o, size: s = "small", sx: l, ...e }) => /* @__PURE__ */ b(
|
|
884
|
+
L,
|
|
885
885
|
{
|
|
886
886
|
component: "span",
|
|
887
887
|
sx: [
|
|
888
888
|
(a) => {
|
|
889
|
-
const c = a.palette.mode ===
|
|
889
|
+
const c = a.palette.mode === N.LIGHT, d = r === "default" ? "neutral" : r;
|
|
890
890
|
return {
|
|
891
891
|
alignItems: "center",
|
|
892
892
|
borderRadius: 999,
|
|
@@ -904,7 +904,7 @@ const $r = ({
|
|
|
904
904
|
...e,
|
|
905
905
|
children: [
|
|
906
906
|
i && /* @__PURE__ */ n(
|
|
907
|
-
|
|
907
|
+
L,
|
|
908
908
|
{
|
|
909
909
|
"aria-hidden": !0,
|
|
910
910
|
component: "span",
|
|
@@ -917,7 +917,7 @@ const $r = ({
|
|
|
917
917
|
}
|
|
918
918
|
),
|
|
919
919
|
/* @__PURE__ */ n(
|
|
920
|
-
|
|
920
|
+
te,
|
|
921
921
|
{
|
|
922
922
|
component: "span",
|
|
923
923
|
sx: { fontWeight: "bold", textTransform: "uppercase" },
|
|
@@ -927,18 +927,18 @@ const $r = ({
|
|
|
927
927
|
)
|
|
928
928
|
]
|
|
929
929
|
}
|
|
930
|
-
),
|
|
931
|
-
50:
|
|
932
|
-
100:
|
|
933
|
-
200:
|
|
934
|
-
300:
|
|
935
|
-
400:
|
|
930
|
+
), R = (r) => ({
|
|
931
|
+
50: v(r, 0.95),
|
|
932
|
+
100: v(r, 0.85),
|
|
933
|
+
200: v(r, 0.7),
|
|
934
|
+
300: v(r, 0.55),
|
|
935
|
+
400: v(r, 0.3),
|
|
936
936
|
500: r,
|
|
937
|
-
600:
|
|
938
|
-
700:
|
|
939
|
-
800:
|
|
940
|
-
900:
|
|
941
|
-
}),
|
|
937
|
+
600: F(r, 0.3),
|
|
938
|
+
700: F(r, 0.5),
|
|
939
|
+
800: F(r, 0.65),
|
|
940
|
+
900: F(r, 0.75)
|
|
941
|
+
}), T = "#FFFFFF", C = "#000000", Ue = "#F9F9F9", Ve = "#000000", Ge = "#FFFFFF", Ke = "#000000", y = {
|
|
942
942
|
PRIMARY: "#2C64EF",
|
|
943
943
|
SECONDARY: "#808080",
|
|
944
944
|
INFO: "#2C64EF",
|
|
@@ -946,7 +946,7 @@ const $r = ({
|
|
|
946
946
|
WARNING: "#FF7B00",
|
|
947
947
|
ERROR: "#E32727",
|
|
948
948
|
GREY: "#808080"
|
|
949
|
-
},
|
|
949
|
+
}, S = {
|
|
950
950
|
CHART1: "#14A396",
|
|
951
951
|
CHART2: "#EC4899",
|
|
952
952
|
CHART3: "#F3DC46",
|
|
@@ -954,7 +954,7 @@ const $r = ({
|
|
|
954
954
|
CHART5: "#60A9FF",
|
|
955
955
|
CHART6: "#C8BAEE",
|
|
956
956
|
CHART7: "#585E67"
|
|
957
|
-
},
|
|
957
|
+
}, I = {
|
|
958
958
|
CHART_MONO1: "#C3EAFF",
|
|
959
959
|
CHART_MONO2: "#8ED7FF",
|
|
960
960
|
CHART_MONO3: "#60A9FF",
|
|
@@ -1007,13 +1007,13 @@ const $r = ({
|
|
|
1007
1007
|
TRANSFER: "#75C7B7",
|
|
1008
1008
|
TRAVEL: "#76ACF7",
|
|
1009
1009
|
UNCATEGORIZED: "#BCC6D4"
|
|
1010
|
-
}, Ye = (r, i) => {
|
|
1011
|
-
const o =
|
|
1010
|
+
}, Ye = 4.5, Xe = (r, i) => {
|
|
1011
|
+
const o = R(i?.primary || y.PRIMARY), s = R(i?.secondary || y.SECONDARY), l = R(i?.error || y.ERROR), e = R(i?.warning || y.WARNING), a = R(i?.info || y.INFO), c = R(i?.success || y.SUCCESS), d = R(i?.grey || y.GREY), t = r === N.LIGHT, m = t ? l[500] : l[400];
|
|
1012
1012
|
return {
|
|
1013
1013
|
mode: r,
|
|
1014
1014
|
common: {
|
|
1015
|
-
white:
|
|
1016
|
-
black:
|
|
1015
|
+
white: T,
|
|
1016
|
+
black: C
|
|
1017
1017
|
},
|
|
1018
1018
|
primary: {
|
|
1019
1019
|
...o,
|
|
@@ -1038,20 +1038,21 @@ const $r = ({
|
|
|
1038
1038
|
main: t ? d[500] : d[400],
|
|
1039
1039
|
dark: t ? d[700] : d[200],
|
|
1040
1040
|
darker: t ? d[800] : d[100],
|
|
1041
|
-
contrastText:
|
|
1041
|
+
contrastText: j(t ? d[700] : d[400], "#fff") > 4.5 ? T : d[900]
|
|
1042
1042
|
},
|
|
1043
1043
|
text: {
|
|
1044
|
-
primary: t ? f(
|
|
1045
|
-
secondary: t ? f(
|
|
1046
|
-
disabled: t ? f(
|
|
1044
|
+
primary: t ? f(C, 0.87) : T,
|
|
1045
|
+
secondary: t ? f(C, 0.6) : f(T, 0.7),
|
|
1046
|
+
disabled: t ? f(C, 0.38) : f(T, 0.38)
|
|
1047
1047
|
},
|
|
1048
1048
|
error: {
|
|
1049
1049
|
...l,
|
|
1050
1050
|
lighter: t ? l[100] : l[700],
|
|
1051
1051
|
light: t ? l[300] : l[600],
|
|
1052
|
-
main:
|
|
1052
|
+
main: m,
|
|
1053
1053
|
dark: t ? l[700] : l[200],
|
|
1054
|
-
darker: t ? l[800] : l[100]
|
|
1054
|
+
darker: t ? l[800] : l[100],
|
|
1055
|
+
contrastText: j(m, T) > Ye ? T : C
|
|
1055
1056
|
},
|
|
1056
1057
|
warning: {
|
|
1057
1058
|
...e,
|
|
@@ -1079,18 +1080,15 @@ const $r = ({
|
|
|
1079
1080
|
},
|
|
1080
1081
|
grey: d,
|
|
1081
1082
|
action: {
|
|
1082
|
-
active: t ? f(
|
|
1083
|
-
hoverOpacity: t ? 0.1 : 0.2,
|
|
1084
|
-
selectedOpacity: t ? 0.16 : 0.25,
|
|
1085
|
-
focusOpacity: 0.3
|
|
1083
|
+
active: t ? f(C, 0.56) : f(T, 0.56)
|
|
1086
1084
|
},
|
|
1087
1085
|
background: {
|
|
1088
|
-
default: t ? i?.background?.default?.light ||
|
|
1089
|
-
paper: t ? i?.background?.paper?.light ||
|
|
1086
|
+
default: t ? i?.background?.default?.light || Ue : i?.background?.default?.dark || Ve,
|
|
1087
|
+
paper: t ? i?.background?.paper?.light || Ge : i?.background?.paper?.dark || Ke,
|
|
1090
1088
|
highlight: t ? d[200] : d[600],
|
|
1091
1089
|
highlightPrimary: t ? o[100] : o[500]
|
|
1092
1090
|
},
|
|
1093
|
-
divider: t ? f(
|
|
1091
|
+
divider: t ? f(C, 0.12) : f(T, 0.24),
|
|
1094
1092
|
categories: {
|
|
1095
1093
|
autoTransport: t ? p.AUTO_TRANSPORTT : u.AUTO_TRANSPORTT,
|
|
1096
1094
|
billsUtilities: t ? p.BILLS_UTILITIES : u.BILLS_UTILITIES,
|
|
@@ -1116,24 +1114,24 @@ const $r = ({
|
|
|
1116
1114
|
uncategorized: t ? p.UNCATEGORIZED : u.UNCATEGORIZED
|
|
1117
1115
|
},
|
|
1118
1116
|
chart: {
|
|
1119
|
-
chart1:
|
|
1120
|
-
chart2:
|
|
1121
|
-
chart3:
|
|
1122
|
-
chart4:
|
|
1123
|
-
chart5:
|
|
1124
|
-
chart6:
|
|
1125
|
-
chart7:
|
|
1117
|
+
chart1: S.CHART1,
|
|
1118
|
+
chart2: S.CHART2,
|
|
1119
|
+
chart3: S.CHART3,
|
|
1120
|
+
chart4: S.CHART4,
|
|
1121
|
+
chart5: S.CHART5,
|
|
1122
|
+
chart6: S.CHART6,
|
|
1123
|
+
chart7: S.CHART7
|
|
1126
1124
|
},
|
|
1127
1125
|
chartMono: {
|
|
1128
|
-
chartMono1:
|
|
1129
|
-
chartMono2:
|
|
1130
|
-
chartMono3:
|
|
1131
|
-
chartMono4:
|
|
1132
|
-
chartMono5:
|
|
1133
|
-
chartMono6:
|
|
1126
|
+
chartMono1: I.CHART_MONO1,
|
|
1127
|
+
chartMono2: I.CHART_MONO2,
|
|
1128
|
+
chartMono3: I.CHART_MONO3,
|
|
1129
|
+
chartMono4: I.CHART_MONO4,
|
|
1130
|
+
chartMono5: I.CHART_MONO5,
|
|
1131
|
+
chartMono6: I.CHART_MONO6
|
|
1134
1132
|
}
|
|
1135
1133
|
};
|
|
1136
|
-
}, z = "Inter, Helvetica, Arial, sans-serif",
|
|
1134
|
+
}, z = "Inter, Helvetica, Arial, sans-serif", je = (r) => {
|
|
1137
1135
|
const i = r?.fontFamily ? `${r?.fontFamily}, ${z}` : z, o = r?.headerFontFamily ? `${r.headerFontFamily}, ${z}` : i;
|
|
1138
1136
|
return {
|
|
1139
1137
|
fontFamily: i,
|
|
@@ -1196,8 +1194,8 @@ Le.setLicenseKey(
|
|
|
1196
1194
|
"702b0c04dc7df078768d2d45cd3a98c6Tz0xMjEzMDYsRT0xNzkzNzUwMzk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
|
|
1197
1195
|
);
|
|
1198
1196
|
const Gr = (r, i) => {
|
|
1199
|
-
const o =
|
|
1200
|
-
return l[1] = "0px 2px 8px 0 rgba(0, 0, 0, 0.12)", l[8] = "0px 6px 12px 0 rgba(0, 0, 0, 0.16), 0px 3px 8px 0 rgba(0, 0, 0, 0.06)", l[16] = "0px 12px 20px 0 rgba(0, 0, 0, 0.22)",
|
|
1197
|
+
const o = Xe(r, i?.paletteOptions), s = je(i?.typographyOptions), l = [...U().shadows];
|
|
1198
|
+
return l[1] = "0px 2px 8px 0 rgba(0, 0, 0, 0.12)", l[8] = "0px 6px 12px 0 rgba(0, 0, 0, 0.16), 0px 3px 8px 0 rgba(0, 0, 0, 0.06)", l[16] = "0px 12px 20px 0 rgba(0, 0, 0, 0.22)", U({
|
|
1201
1199
|
breakpoints: i?.breakpoints || {
|
|
1202
1200
|
values: {
|
|
1203
1201
|
// TODO: Remove these default values in v3. Users should provide their own breakpoints if they want to.
|
|
@@ -1224,17 +1222,17 @@ const Gr = (r, i) => {
|
|
|
1224
1222
|
MuiAlert: {
|
|
1225
1223
|
defaultProps: {
|
|
1226
1224
|
iconMapping: {
|
|
1227
|
-
success: /* @__PURE__ */ n(
|
|
1228
|
-
error: /* @__PURE__ */ n(
|
|
1229
|
-
warning: /* @__PURE__ */ n(
|
|
1230
|
-
info: /* @__PURE__ */ n(
|
|
1225
|
+
success: /* @__PURE__ */ n(M, { fill: !0, name: "check_circle", size: 24 }),
|
|
1226
|
+
error: /* @__PURE__ */ n(M, { fill: !0, name: "error", size: 24 }),
|
|
1227
|
+
warning: /* @__PURE__ */ n(M, { fill: !0, name: "warning", size: 24 }),
|
|
1228
|
+
info: /* @__PURE__ */ n(M, { fill: !0, name: "info", size: 24 })
|
|
1231
1229
|
},
|
|
1232
1230
|
variant: "outlined"
|
|
1233
1231
|
},
|
|
1234
1232
|
styleOverrides: {
|
|
1235
1233
|
root: ({ theme: e, ownerState: a }) => {
|
|
1236
1234
|
const c = a.severity || "info";
|
|
1237
|
-
let d = e.palette.mode ===
|
|
1235
|
+
let d = e.palette.mode === N.LIGHT ? e.palette[c]?.[50] : e.palette[c]?.[800];
|
|
1238
1236
|
if (a.variant === "filled") {
|
|
1239
1237
|
const t = c === "warning";
|
|
1240
1238
|
d = e.palette[c]?.[t ? 400 : 600];
|
|
@@ -1331,7 +1329,7 @@ const Gr = (r, i) => {
|
|
|
1331
1329
|
MuiChip: {
|
|
1332
1330
|
defaultProps: {
|
|
1333
1331
|
color: "primary",
|
|
1334
|
-
deleteIcon: /* @__PURE__ */ n("span", { style: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ n(
|
|
1332
|
+
deleteIcon: /* @__PURE__ */ n("span", { style: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ n(M, { name: "close" }) })
|
|
1335
1333
|
},
|
|
1336
1334
|
styleOverrides: {
|
|
1337
1335
|
root: ({ theme: e, ownerState: a }) => {
|
|
@@ -1370,7 +1368,7 @@ const Gr = (r, i) => {
|
|
|
1370
1368
|
"&.MuiChip-clickable:active": {
|
|
1371
1369
|
backgroundColor: f(
|
|
1372
1370
|
e.palette[c].main,
|
|
1373
|
-
e.palette.action.
|
|
1371
|
+
e.palette.action.activatedOpacity
|
|
1374
1372
|
)
|
|
1375
1373
|
}
|
|
1376
1374
|
};
|
|
@@ -1393,7 +1391,7 @@ const Gr = (r, i) => {
|
|
|
1393
1391
|
...["primary", "secondary", "error", "warning", "info", "success", "neutral"].map((e) => ({
|
|
1394
1392
|
props: { variant: "filled", color: e },
|
|
1395
1393
|
style: ({ theme: a }) => ({
|
|
1396
|
-
backgroundColor: a.palette[e][a.palette.mode ===
|
|
1394
|
+
backgroundColor: a.palette[e][a.palette.mode === N.LIGHT ? 100 : 800]
|
|
1397
1395
|
})
|
|
1398
1396
|
}))
|
|
1399
1397
|
]
|
|
@@ -2038,10 +2036,7 @@ const Gr = (r, i) => {
|
|
|
2038
2036
|
outlineOffset: "2px"
|
|
2039
2037
|
},
|
|
2040
2038
|
"&:hover": {
|
|
2041
|
-
backgroundColor: f(
|
|
2042
|
-
e.palette.primary.main,
|
|
2043
|
-
o.mode === S.LIGHT ? 0.1 : 0.2
|
|
2044
|
-
),
|
|
2039
|
+
backgroundColor: f(e.palette.primary.main, e.palette.action.hoverOpacity),
|
|
2045
2040
|
borderColor: e.palette.primary.main
|
|
2046
2041
|
},
|
|
2047
2042
|
"&.Mui-selected": {
|
|
@@ -2070,9 +2065,9 @@ const Gr = (r, i) => {
|
|
|
2070
2065
|
},
|
|
2071
2066
|
{
|
|
2072
2067
|
props: { color: "error" },
|
|
2073
|
-
style: {
|
|
2068
|
+
style: ({ theme: e }) => ({
|
|
2074
2069
|
"&:hover": {
|
|
2075
|
-
backgroundColor: f(
|
|
2070
|
+
backgroundColor: f(e.palette.error.main, e.palette.action.hoverOpacity),
|
|
2076
2071
|
borderColor: o.error.main
|
|
2077
2072
|
},
|
|
2078
2073
|
"&.Mui-selected": {
|
|
@@ -2088,15 +2083,15 @@ const Gr = (r, i) => {
|
|
|
2088
2083
|
}
|
|
2089
2084
|
}
|
|
2090
2085
|
}
|
|
2091
|
-
}
|
|
2086
|
+
})
|
|
2092
2087
|
},
|
|
2093
2088
|
{
|
|
2094
2089
|
props: { color: "standard" },
|
|
2095
|
-
style: {
|
|
2090
|
+
style: ({ theme: e }) => ({
|
|
2096
2091
|
"&:hover": {
|
|
2097
2092
|
backgroundColor: f(
|
|
2098
|
-
|
|
2099
|
-
|
|
2093
|
+
e.palette.secondary.main,
|
|
2094
|
+
e.palette.action.hoverOpacity
|
|
2100
2095
|
),
|
|
2101
2096
|
borderColor: o.secondary.main
|
|
2102
2097
|
},
|
|
@@ -2113,7 +2108,7 @@ const Gr = (r, i) => {
|
|
|
2113
2108
|
}
|
|
2114
2109
|
}
|
|
2115
2110
|
}
|
|
2116
|
-
}
|
|
2111
|
+
})
|
|
2117
2112
|
}
|
|
2118
2113
|
]
|
|
2119
2114
|
},
|
|
@@ -2137,33 +2132,33 @@ const Gr = (r, i) => {
|
|
|
2137
2132
|
};
|
|
2138
2133
|
export {
|
|
2139
2134
|
D as BaseIcon,
|
|
2140
|
-
|
|
2135
|
+
Nr as BottomSheetTransition,
|
|
2141
2136
|
g as CategoryGuids,
|
|
2142
2137
|
we as CategoryIcon,
|
|
2143
2138
|
He as CategoryIconList,
|
|
2144
2139
|
Ne as CategoryIconVariants,
|
|
2145
|
-
|
|
2140
|
+
Lr as DateRangePicker,
|
|
2146
2141
|
ze as DialogFooter,
|
|
2147
|
-
|
|
2148
|
-
|
|
2142
|
+
Pr as DialogHeader,
|
|
2143
|
+
_r as Drawer,
|
|
2149
2144
|
ze as Footer,
|
|
2150
2145
|
$e as H1,
|
|
2151
|
-
|
|
2152
|
-
|
|
2146
|
+
Hr as H2,
|
|
2147
|
+
Dr as H3,
|
|
2153
2148
|
z as INTER,
|
|
2154
|
-
|
|
2149
|
+
M as Icon,
|
|
2155
2150
|
Br as InstitutionLogo,
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2151
|
+
Er as MXLogoCopyrightIcon,
|
|
2152
|
+
kr as MXLogoFilledIcon,
|
|
2153
|
+
vr as MXLogoIcon,
|
|
2154
|
+
Fr as MXLogoOutlineIcon,
|
|
2155
|
+
zr as MerchantLogo,
|
|
2156
|
+
wr as P,
|
|
2162
2157
|
Ur as SelectionBox,
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2158
|
+
Vr as Tag,
|
|
2159
|
+
E as Text,
|
|
2160
|
+
$r as TextField,
|
|
2161
|
+
Wr as Toast,
|
|
2167
2162
|
Gr as createMXTheme
|
|
2168
2163
|
};
|
|
2169
2164
|
//# sourceMappingURL=index.es.js.map
|