@mxenabled/mxui 1.2.0 → 1.2.1-alpha.bb1
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 +126 -124
- package/dist/index.es.js.map +1 -1
- package/dist/themes/Augmentations.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as E } from "react/jsx-runtime";
|
|
2
2
|
import b from "react";
|
|
3
3
|
import O from "@mui/material/Stack";
|
|
4
|
-
import { useTheme as
|
|
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";
|
|
7
7
|
import { endOfYear as r0 } from "date-fns/endOfYear";
|
|
@@ -30,8 +30,8 @@ import { light as Y, buildTheme as P, dark as C0 } from "@mxenabled/design-token
|
|
|
30
30
|
import { circularProgressClasses as A0 } from "@mui/material/CircularProgress";
|
|
31
31
|
import { LicenseInfo as E0 } from "@mui/x-license-pro";
|
|
32
32
|
import { darken as N, lighten as F, alpha as m } from "@mui/material";
|
|
33
|
-
import
|
|
34
|
-
import
|
|
33
|
+
import R0 from "@mui/material/styles/createPalette";
|
|
34
|
+
import M0 from "@mui/material/styles/createTypography";
|
|
35
35
|
const g = ({
|
|
36
36
|
children: e,
|
|
37
37
|
height: t,
|
|
@@ -51,7 +51,7 @@ const g = ({
|
|
|
51
51
|
children: e
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
|
-
var
|
|
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
55
|
const A = ({
|
|
56
56
|
color: e,
|
|
57
57
|
fill: t = !1,
|
|
@@ -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
|
+
) })), Re = ({
|
|
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
|
+
) })), Me = ({
|
|
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
|
+
) })), Se = ({
|
|
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
|
+
) })), Ie = ({
|
|
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(
|
|
@@ -262,7 +262,7 @@ const A = ({
|
|
|
262
262
|
fillRule: "evenodd"
|
|
263
263
|
}
|
|
264
264
|
)
|
|
265
|
-
] }),
|
|
265
|
+
] }), De = ({
|
|
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
|
+
) }), Le = ({
|
|
277
277
|
color: e = "currentColor",
|
|
278
278
|
...t
|
|
279
279
|
}) => /* @__PURE__ */ E(g, { ...t, children: [
|
|
@@ -301,109 +301,109 @@ const A = ({
|
|
|
301
301
|
}
|
|
302
302
|
)
|
|
303
303
|
] });
|
|
304
|
-
var
|
|
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
305
|
const K = {
|
|
306
|
-
guid:
|
|
306
|
+
guid: p.Uncategorized,
|
|
307
307
|
colorName: "uncategorized",
|
|
308
308
|
icon: "category"
|
|
309
309
|
}, H0 = [
|
|
310
310
|
{
|
|
311
|
-
guid:
|
|
311
|
+
guid: p.AutoTransport,
|
|
312
312
|
colorName: "autoTransport",
|
|
313
313
|
icon: "directions_car"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
|
-
guid:
|
|
316
|
+
guid: p.BillsUtilities,
|
|
317
317
|
colorName: "billsUtilities",
|
|
318
318
|
icon: "electrical_services"
|
|
319
319
|
},
|
|
320
320
|
{
|
|
321
|
-
guid:
|
|
321
|
+
guid: p.BusinessServices,
|
|
322
322
|
colorName: "businessServices",
|
|
323
323
|
icon: "business_center"
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
|
-
guid:
|
|
326
|
+
guid: p.Education,
|
|
327
327
|
colorName: "education",
|
|
328
328
|
icon: "school"
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
-
guid:
|
|
331
|
+
guid: p.Entertainment,
|
|
332
332
|
colorName: "entertainment",
|
|
333
333
|
icon: "stadium"
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
|
-
guid:
|
|
336
|
+
guid: p.FeesCharges,
|
|
337
337
|
colorName: "feesCharges",
|
|
338
338
|
icon: "problem"
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
|
-
guid:
|
|
341
|
+
guid: p.Financial,
|
|
342
342
|
colorName: "financial",
|
|
343
343
|
icon: "price_check"
|
|
344
344
|
},
|
|
345
345
|
{
|
|
346
|
-
guid:
|
|
346
|
+
guid: p.FoodDining,
|
|
347
347
|
colorName: "foodDining",
|
|
348
348
|
icon: "grocery"
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
|
-
guid:
|
|
351
|
+
guid: p.GiftsDonations,
|
|
352
352
|
colorName: "giftsDonations",
|
|
353
353
|
icon: "featured_seasonal_and_gifts"
|
|
354
354
|
},
|
|
355
355
|
{
|
|
356
|
-
guid:
|
|
356
|
+
guid: p.HealthFitness,
|
|
357
357
|
colorName: "healthFitness",
|
|
358
358
|
icon: "ecg_heart"
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
|
-
guid:
|
|
361
|
+
guid: p.Home,
|
|
362
362
|
colorName: "home",
|
|
363
363
|
icon: "cottage"
|
|
364
364
|
},
|
|
365
365
|
{
|
|
366
|
-
guid:
|
|
366
|
+
guid: p.Income,
|
|
367
367
|
colorName: "income",
|
|
368
368
|
icon: "monetization_on"
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
|
-
guid:
|
|
371
|
+
guid: p.Investments,
|
|
372
372
|
colorName: "investments",
|
|
373
373
|
icon: "bid_landscape"
|
|
374
374
|
},
|
|
375
375
|
{
|
|
376
|
-
guid:
|
|
376
|
+
guid: p.Kids,
|
|
377
377
|
colorName: "kids",
|
|
378
378
|
icon: "face"
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
|
-
guid:
|
|
381
|
+
guid: p.PersonalCare,
|
|
382
382
|
colorName: "personalCare",
|
|
383
383
|
icon: "volunteer_activism"
|
|
384
384
|
},
|
|
385
385
|
{
|
|
386
|
-
guid:
|
|
386
|
+
guid: p.Pets,
|
|
387
387
|
colorName: "pets",
|
|
388
388
|
icon: "pet_supplies"
|
|
389
389
|
},
|
|
390
390
|
{
|
|
391
|
-
guid:
|
|
391
|
+
guid: p.Shopping,
|
|
392
392
|
colorName: "shopping",
|
|
393
393
|
icon: "shopping_cart"
|
|
394
394
|
},
|
|
395
395
|
{
|
|
396
|
-
guid:
|
|
396
|
+
guid: p.Taxes,
|
|
397
397
|
colorName: "taxes",
|
|
398
398
|
icon: "heap_snapshot_large"
|
|
399
399
|
},
|
|
400
400
|
{
|
|
401
|
-
guid:
|
|
401
|
+
guid: p.Transfer,
|
|
402
402
|
colorName: "transfer",
|
|
403
403
|
icon: "compare_arrows"
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
|
-
guid:
|
|
406
|
+
guid: p.Travel,
|
|
407
407
|
colorName: "travel",
|
|
408
408
|
icon: "airplane_ticket"
|
|
409
409
|
},
|
|
@@ -415,7 +415,7 @@ const K = {
|
|
|
415
415
|
sx: r = {},
|
|
416
416
|
variant: l = "filled"
|
|
417
417
|
}) => {
|
|
418
|
-
const s =
|
|
418
|
+
const s = D(), c = b.useMemo(
|
|
419
419
|
() => H0.find((d) => d.guid === e) ?? K,
|
|
420
420
|
[e]
|
|
421
421
|
), n = s.palette.categories[c.colorName];
|
|
@@ -445,7 +445,7 @@ const K = {
|
|
|
445
445
|
isValid: a,
|
|
446
446
|
selected: r
|
|
447
447
|
}) => {
|
|
448
|
-
const l =
|
|
448
|
+
const l = D(), s = e?.map((c) => {
|
|
449
449
|
const n = c.getValue({ isValid: a });
|
|
450
450
|
return {
|
|
451
451
|
label: c.label,
|
|
@@ -490,12 +490,12 @@ const K = {
|
|
|
490
490
|
selectedShortcut: r = e.dateRangeThisMonth,
|
|
491
491
|
sx: l = {}
|
|
492
492
|
}) => {
|
|
493
|
-
const s =
|
|
494
|
-
const
|
|
493
|
+
const s = D(), c = l0(s.breakpoints.down("sm")), n = b.useMemo(() => {
|
|
494
|
+
const f = i0(), d = a0(f, 1), T = n0(f, 1);
|
|
495
495
|
return [
|
|
496
496
|
{
|
|
497
497
|
label: e.dateRangeThisMonth,
|
|
498
|
-
getValue: () => [V(
|
|
498
|
+
getValue: () => [V(f), B(f)]
|
|
499
499
|
},
|
|
500
500
|
{
|
|
501
501
|
label: e.dateRangeLastMonth,
|
|
@@ -503,15 +503,15 @@ const K = {
|
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
505
|
label: e.dateRangeLast30Days,
|
|
506
|
-
getValue: () => [G(
|
|
506
|
+
getValue: () => [G(f, 30), f]
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
509
|
label: e.dateRangeLast90Days,
|
|
510
|
-
getValue: () => [G(
|
|
510
|
+
getValue: () => [G(f, 90), f]
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
513
|
label: e.dateRangeYTD,
|
|
514
|
-
getValue: () => [U(
|
|
514
|
+
getValue: () => [U(f), f]
|
|
515
515
|
},
|
|
516
516
|
{
|
|
517
517
|
label: e.dateRangeLastYear,
|
|
@@ -519,12 +519,12 @@ const K = {
|
|
|
519
519
|
},
|
|
520
520
|
{
|
|
521
521
|
label: e.dateRangeCustom,
|
|
522
|
-
getValue: () => [
|
|
522
|
+
getValue: () => [f, f]
|
|
523
523
|
}
|
|
524
524
|
];
|
|
525
|
-
}, [e]), i = (
|
|
525
|
+
}, [e]), i = (f, d) => {
|
|
526
526
|
const T = d.shortcut;
|
|
527
|
-
a?.(
|
|
527
|
+
a?.(f, T ? T.label : e.dateRangeCustom);
|
|
528
528
|
};
|
|
529
529
|
return /* @__PURE__ */ o(O, { gap: 16, m: 8, children: /* @__PURE__ */ o(c0, { dateAdapter: d0, children: /* @__PURE__ */ o(
|
|
530
530
|
s0,
|
|
@@ -548,7 +548,7 @@ const K = {
|
|
|
548
548
|
},
|
|
549
549
|
slots: {
|
|
550
550
|
leftArrowIcon: () => /* @__PURE__ */ o(A, { name: "chevron_left", size: 28 }),
|
|
551
|
-
shortcuts: (
|
|
551
|
+
shortcuts: (f) => /* @__PURE__ */ o(x0, { selected: r, ...f }),
|
|
552
552
|
rightArrowIcon: () => /* @__PURE__ */ o(A, { name: "chevron_right", size: 28 })
|
|
553
553
|
},
|
|
554
554
|
sx: { ...l },
|
|
@@ -586,7 +586,7 @@ const K = {
|
|
|
586
586
|
children: s
|
|
587
587
|
}
|
|
588
588
|
)
|
|
589
|
-
] }),
|
|
589
|
+
] }), L = ({
|
|
590
590
|
bold: e,
|
|
591
591
|
className: t = "",
|
|
592
592
|
children: a,
|
|
@@ -651,8 +651,8 @@ const K = {
|
|
|
651
651
|
children: a
|
|
652
652
|
}
|
|
653
653
|
);
|
|
654
|
-
},
|
|
655
|
-
|
|
654
|
+
}, D0 = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h1 ${e}`, component: "h1", variant: "h1", ...a, children: t }), ke = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h2 ${e}`, component: "h2", variant: "h2", ...a, children: t }), we = ({ className: e = "", children: t, ...a }) => /* @__PURE__ */ o(L, { className: `mx-kmui-text h3 ${e}`, component: "h3", variant: "h3", ...a, children: t }), Pe = ({ className: e = "", children: t, truncate: a, ...r }) => /* @__PURE__ */ o(
|
|
655
|
+
L,
|
|
656
656
|
{
|
|
657
657
|
className: `mx-kmui-text p ${e}`,
|
|
658
658
|
component: "p",
|
|
@@ -672,7 +672,7 @@ const K = {
|
|
|
672
672
|
py: 14
|
|
673
673
|
},
|
|
674
674
|
children: [
|
|
675
|
-
/* @__PURE__ */ o(
|
|
675
|
+
/* @__PURE__ */ o(D0, { variant: "h3", children: e.title }),
|
|
676
676
|
/* @__PURE__ */ o(X, { "aria-label": e.close_aria, onClick: t, sx: { mr: -12 }, children: /* @__PURE__ */ o(p0, {}) })
|
|
677
677
|
]
|
|
678
678
|
}
|
|
@@ -686,7 +686,7 @@ const K = {
|
|
|
686
686
|
primaryText: c,
|
|
687
687
|
secondaryText: n,
|
|
688
688
|
children: i,
|
|
689
|
-
...
|
|
689
|
+
...f
|
|
690
690
|
}) => /* @__PURE__ */ E(
|
|
691
691
|
g0,
|
|
692
692
|
{
|
|
@@ -696,7 +696,7 @@ const K = {
|
|
|
696
696
|
onClose: l,
|
|
697
697
|
open: r,
|
|
698
698
|
variant: "temporary",
|
|
699
|
-
...
|
|
699
|
+
...f,
|
|
700
700
|
children: [
|
|
701
701
|
i,
|
|
702
702
|
s && /* @__PURE__ */ o(
|
|
@@ -711,7 +711,7 @@ const K = {
|
|
|
711
711
|
)
|
|
712
712
|
]
|
|
713
713
|
}
|
|
714
|
-
), j = 32, _ = "https://content.moneydesktop.com/storage/MD_Assets",
|
|
714
|
+
), j = 32, _ = "https://content.moneydesktop.com/storage/MD_Assets", L0 = `${_}/serenity/default_institution_logo.png`, Be = ({
|
|
715
715
|
alt: e,
|
|
716
716
|
institutionGuid: t,
|
|
717
717
|
logoUrl: a,
|
|
@@ -722,7 +722,7 @@ const K = {
|
|
|
722
722
|
{
|
|
723
723
|
alt: e,
|
|
724
724
|
height: r,
|
|
725
|
-
onError: (s) => s.target.src =
|
|
725
|
+
onError: (s) => s.target.src = L0,
|
|
726
726
|
src: a || `${_}/Ipad%20Logos/100x100/${t}_100x100.png`,
|
|
727
727
|
style: {
|
|
728
728
|
borderRadius: 4
|
|
@@ -737,7 +737,7 @@ const K = {
|
|
|
737
737
|
size: r = j,
|
|
738
738
|
...l
|
|
739
739
|
}) => {
|
|
740
|
-
const [s, c] = b.useState(!1), n =
|
|
740
|
+
const [s, c] = b.useState(!1), n = D();
|
|
741
741
|
return /* @__PURE__ */ E(W, { display: "inline-block", position: "relative", ...l, children: [
|
|
742
742
|
a && !s && /* @__PURE__ */ o(
|
|
743
743
|
"img",
|
|
@@ -789,10 +789,10 @@ const Ge = ({
|
|
|
789
789
|
showAction: c = !1,
|
|
790
790
|
showClose: n = !1,
|
|
791
791
|
actionText: i = "Undo",
|
|
792
|
-
onActionClick:
|
|
792
|
+
onActionClick: f,
|
|
793
793
|
multiLine: d = !1
|
|
794
794
|
}) => {
|
|
795
|
-
const T =
|
|
795
|
+
const T = D(), e0 = {
|
|
796
796
|
success: T.palette.success.dark,
|
|
797
797
|
error: T.palette.error.light,
|
|
798
798
|
info: T.palette.info.lighter,
|
|
@@ -811,7 +811,7 @@ const Ge = ({
|
|
|
811
811
|
w,
|
|
812
812
|
{
|
|
813
813
|
color: "inherit",
|
|
814
|
-
onClick:
|
|
814
|
+
onClick: f || t,
|
|
815
815
|
size: "small",
|
|
816
816
|
sx: {
|
|
817
817
|
color: T.palette.success.contrastText,
|
|
@@ -872,7 +872,7 @@ const Ge = ({
|
|
|
872
872
|
},
|
|
873
873
|
variant: "filled",
|
|
874
874
|
children: /* @__PURE__ */ o(
|
|
875
|
-
|
|
875
|
+
L,
|
|
876
876
|
{
|
|
877
877
|
sx: {
|
|
878
878
|
lineHeight: T.typography.body1.lineHeight,
|
|
@@ -915,7 +915,7 @@ const Ge = ({
|
|
|
915
915
|
return r || P(y.LIGHT, e, { ...t });
|
|
916
916
|
}, q = {
|
|
917
917
|
LIGHT: "light"
|
|
918
|
-
},
|
|
918
|
+
}, R = (e) => ({
|
|
919
919
|
50: F(e, 0.95),
|
|
920
920
|
100: F(e, 0.85),
|
|
921
921
|
200: F(e, 0.7),
|
|
@@ -926,7 +926,7 @@ const Ge = ({
|
|
|
926
926
|
700: N(e, 0.5),
|
|
927
927
|
800: N(e, 0.65),
|
|
928
928
|
900: N(e, 0.75)
|
|
929
|
-
}), C = "#FFFFFF",
|
|
929
|
+
}), C = "#FFFFFF", M = "#000000", S = {
|
|
930
930
|
PRIMARY: "#2C64EF",
|
|
931
931
|
SECONDARY: "#808080",
|
|
932
932
|
INFO: "#2C64EF",
|
|
@@ -934,7 +934,7 @@ const Ge = ({
|
|
|
934
934
|
WARNING: "#FF7B00",
|
|
935
935
|
ERROR: "#E32727",
|
|
936
936
|
NEUTRAL: "#808080"
|
|
937
|
-
},
|
|
937
|
+
}, I = {
|
|
938
938
|
CHART1: "#74E4DA",
|
|
939
939
|
CHART2: "#ED64A4",
|
|
940
940
|
CHART3: "#F3DC46",
|
|
@@ -949,7 +949,7 @@ const Ge = ({
|
|
|
949
949
|
CHART_MONO4: "#2F73DA",
|
|
950
950
|
CHART_MONO5: "#034AB3",
|
|
951
951
|
CHART_MONO6: "#002966"
|
|
952
|
-
},
|
|
952
|
+
}, u = {
|
|
953
953
|
AUTO_TRANSPORTT: "#00B0FF",
|
|
954
954
|
BILLS_UTILITIES: "#F949BD",
|
|
955
955
|
BUSINESS_SERVICES: "#2979FF",
|
|
@@ -964,6 +964,7 @@ const Ge = ({
|
|
|
964
964
|
INCOME: "#009526",
|
|
965
965
|
INVESTMENTS: "#00C9E0",
|
|
966
966
|
KIDS: "#FF9700",
|
|
967
|
+
OTHERS: "#66718D",
|
|
967
968
|
PERSONAL_CARE: "#DF0683",
|
|
968
969
|
PETS: "#FF5D00",
|
|
969
970
|
SHOPPING: "#7469FF",
|
|
@@ -971,7 +972,7 @@ const Ge = ({
|
|
|
971
972
|
TRANSFER: "#2B9580",
|
|
972
973
|
TRAVEL: "#3D5AFE",
|
|
973
974
|
UNCATEGORIZED: "#8495AD"
|
|
974
|
-
},
|
|
975
|
+
}, h = {
|
|
975
976
|
AUTO_TRANSPORTT: "#77DAFF",
|
|
976
977
|
BILLS_UTILITIES: "#FF81D4",
|
|
977
978
|
BUSINESS_SERVICES: "#4BBAFF",
|
|
@@ -986,6 +987,7 @@ const Ge = ({
|
|
|
986
987
|
INCOME: "#95ECAB",
|
|
987
988
|
INVESTMENTS: "#8BE7F5",
|
|
988
989
|
KIDS: "#FFB13F",
|
|
990
|
+
OTHERS: "#B2BCD5",
|
|
989
991
|
PERSONAL_CARE: "#FF50B5",
|
|
990
992
|
PETS: "#FF8A46",
|
|
991
993
|
SHOPPING: "#AEA8FA",
|
|
@@ -994,8 +996,8 @@ const Ge = ({
|
|
|
994
996
|
TRAVEL: "#76ACF7",
|
|
995
997
|
UNCATEGORIZED: "#BCC6D4"
|
|
996
998
|
}, y0 = (e) => {
|
|
997
|
-
const t =
|
|
998
|
-
return
|
|
999
|
+
const t = R(S.PRIMARY), a = R(S.SECONDARY), r = R(S.ERROR), l = R(S.WARNING), s = R(S.INFO), c = R(S.SUCCESS), n = R(S.NEUTRAL), i = e === q.LIGHT;
|
|
1000
|
+
return R0({
|
|
999
1001
|
mode: e,
|
|
1000
1002
|
// DEPRECATED: Use Neutral instead
|
|
1001
1003
|
border: {
|
|
@@ -1009,27 +1011,27 @@ const Ge = ({
|
|
|
1009
1011
|
},
|
|
1010
1012
|
common: {
|
|
1011
1013
|
white: C,
|
|
1012
|
-
black:
|
|
1014
|
+
black: M
|
|
1013
1015
|
},
|
|
1014
1016
|
primary: {
|
|
1015
1017
|
...t,
|
|
1016
1018
|
/* DEPRECATED: Use light instead */
|
|
1017
|
-
lighter: i ? t[
|
|
1019
|
+
lighter: i ? t[100] : t[800],
|
|
1018
1020
|
light: i ? t[300] : t[600],
|
|
1019
1021
|
main: i ? t[500] : t[400],
|
|
1020
1022
|
dark: i ? t[700] : t[200],
|
|
1021
1023
|
/* DEPRECATED: Use dark instead */
|
|
1022
|
-
darker: i ? t[
|
|
1024
|
+
darker: i ? t[900] : t[100]
|
|
1023
1025
|
},
|
|
1024
1026
|
secondary: {
|
|
1025
1027
|
...a,
|
|
1026
1028
|
/* DEPRECATED: Use light instead */
|
|
1027
|
-
lighter: a[
|
|
1029
|
+
lighter: i ? a[300] : a[700],
|
|
1028
1030
|
light: a[500],
|
|
1029
1031
|
main: i ? a[700] : a[300],
|
|
1030
1032
|
dark: i ? a[900] : a[100],
|
|
1031
1033
|
/* DEPRECATED: Use dark instead */
|
|
1032
|
-
darker: i ? a[900] : a[
|
|
1034
|
+
darker: i ? a[900] : a[50]
|
|
1033
1035
|
},
|
|
1034
1036
|
text: {
|
|
1035
1037
|
primary: i ? n[900] : C,
|
|
@@ -1039,52 +1041,52 @@ const Ge = ({
|
|
|
1039
1041
|
error: {
|
|
1040
1042
|
...r,
|
|
1041
1043
|
/* DEPRECATED: Use light instead */
|
|
1042
|
-
lighter: i ? r[
|
|
1044
|
+
lighter: i ? r[100] : r[800],
|
|
1043
1045
|
light: i ? r[300] : r[600],
|
|
1044
1046
|
main: i ? r[500] : r[400],
|
|
1045
1047
|
dark: i ? r[700] : r[200],
|
|
1046
1048
|
/* DEPRECATED: Use light instead */
|
|
1047
|
-
darker: i ? r[
|
|
1049
|
+
darker: i ? r[900] : r[100]
|
|
1048
1050
|
},
|
|
1049
1051
|
warning: {
|
|
1050
1052
|
...l,
|
|
1051
1053
|
/* DEPRECATED: Use light instead */
|
|
1052
|
-
lighter: i ? l[
|
|
1054
|
+
lighter: i ? l[100] : l[800],
|
|
1053
1055
|
light: i ? l[300] : l[600],
|
|
1054
1056
|
main: i ? l[500] : l[400],
|
|
1055
1057
|
dark: i ? l[700] : l[200],
|
|
1056
1058
|
/* DEPRECATED: Use light instead */
|
|
1057
|
-
darker: i ? l[
|
|
1059
|
+
darker: i ? l[900] : l[100]
|
|
1058
1060
|
},
|
|
1059
1061
|
info: {
|
|
1060
1062
|
...s,
|
|
1061
1063
|
/* DEPRECATED: Use light instead */
|
|
1062
|
-
lighter: i ? s[
|
|
1064
|
+
lighter: i ? s[100] : s[800],
|
|
1063
1065
|
light: i ? s[300] : s[600],
|
|
1064
1066
|
main: i ? s[500] : s[400],
|
|
1065
1067
|
dark: i ? s[700] : s[200],
|
|
1066
1068
|
/* DEPRECATED: Use light instead */
|
|
1067
|
-
darker: i ? s[
|
|
1069
|
+
darker: i ? s[900] : s[100]
|
|
1068
1070
|
},
|
|
1069
1071
|
success: {
|
|
1070
1072
|
...c,
|
|
1071
1073
|
/* DEPRECATED: Use light instead */
|
|
1072
|
-
lighter: i ? c[
|
|
1074
|
+
lighter: i ? c[100] : c[800],
|
|
1073
1075
|
light: i ? c[300] : c[600],
|
|
1074
1076
|
main: i ? c[500] : c[400],
|
|
1075
1077
|
dark: i ? c[700] : c[200],
|
|
1076
1078
|
/* DEPRECATED: Use light instead */
|
|
1077
|
-
darker: i ? c[
|
|
1079
|
+
darker: i ? c[900] : c[100]
|
|
1078
1080
|
},
|
|
1079
1081
|
grey: n,
|
|
1080
1082
|
action: {
|
|
1081
|
-
active: e === "light" ? m(
|
|
1082
|
-
hover: e === "light" ? m(
|
|
1083
|
+
active: e === "light" ? m(M, 0.56) : m(C, 0.56),
|
|
1084
|
+
hover: e === "light" ? m(M, 0.04) : m(C, 0.08),
|
|
1083
1085
|
// also used for text hover
|
|
1084
|
-
selected: e === "light" ? m(
|
|
1085
|
-
focus: e === "light" ? m(
|
|
1086
|
-
disabled: e === "light" ? m(
|
|
1087
|
-
disabledBackground: e === "light" ? m(
|
|
1086
|
+
selected: e === "light" ? m(M, 0.08) : m(C, 0.16),
|
|
1087
|
+
focus: e === "light" ? m(M, 0.12) : m(C, 0.12),
|
|
1088
|
+
disabled: e === "light" ? m(M, 0.38) : m(C, 0.38),
|
|
1089
|
+
disabledBackground: e === "light" ? m(M, 0.12) : m(C, 0.12)
|
|
1088
1090
|
},
|
|
1089
1091
|
background: {
|
|
1090
1092
|
default: i ? n[100] : n[800],
|
|
@@ -1094,36 +1096,37 @@ const Ge = ({
|
|
|
1094
1096
|
},
|
|
1095
1097
|
// divider: isLight ? neutral[400] : neutral[700],
|
|
1096
1098
|
categories: {
|
|
1097
|
-
autoTransport: i ?
|
|
1098
|
-
billsUtilities: i ?
|
|
1099
|
-
businessServices: i ?
|
|
1100
|
-
education: i ?
|
|
1101
|
-
entertainment: i ?
|
|
1102
|
-
feesCharges: i ?
|
|
1103
|
-
financial: i ?
|
|
1104
|
-
foodDining: i ?
|
|
1105
|
-
giftsDonations: i ?
|
|
1106
|
-
healthFitness: i ?
|
|
1107
|
-
home: i ?
|
|
1108
|
-
income: i ?
|
|
1109
|
-
investments: i ?
|
|
1110
|
-
kids: i ?
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1099
|
+
autoTransport: i ? u.AUTO_TRANSPORTT : h.AUTO_TRANSPORTT,
|
|
1100
|
+
billsUtilities: i ? u.BILLS_UTILITIES : h.BILLS_UTILITIES,
|
|
1101
|
+
businessServices: i ? u.BUSINESS_SERVICES : h.BUSINESS_SERVICES,
|
|
1102
|
+
education: i ? u.EDUCATION : h.EDUCATION,
|
|
1103
|
+
entertainment: i ? u.ENTERTAINMENT : h.ENTERTAINMENT,
|
|
1104
|
+
feesCharges: i ? u.FEES_CHARGES : h.FEES_CHARGES,
|
|
1105
|
+
financial: i ? u.FINANCIAL : h.FINANCIAL,
|
|
1106
|
+
foodDining: i ? u.FOOD_DINING : h.FOOD_DINING,
|
|
1107
|
+
giftsDonations: i ? u.GIFTS_DONATIONS : h.GIFTS_DONATIONS,
|
|
1108
|
+
healthFitness: i ? u.HEALTH_FITNESS : h.HEALTH_FITNESS,
|
|
1109
|
+
home: i ? u.HOME : h.HOME,
|
|
1110
|
+
income: i ? u.INCOME : h.INCOME,
|
|
1111
|
+
investments: i ? u.INVESTMENTS : h.INVESTMENTS,
|
|
1112
|
+
kids: i ? u.KIDS : h.KIDS,
|
|
1113
|
+
others: i ? u.OTHERS : h.OTHERS,
|
|
1114
|
+
personalCare: i ? u.PERSONAL_CARE : h.PERSONAL_CARE,
|
|
1115
|
+
pets: i ? u.PETS : h.PETS,
|
|
1116
|
+
shopping: i ? u.SHOPPING : h.SHOPPING,
|
|
1117
|
+
taxes: i ? u.TAXES : h.TAXES,
|
|
1118
|
+
transfer: i ? u.TRANSFER : h.TRANSFER,
|
|
1119
|
+
travel: i ? u.TRAVEL : h.TRAVEL,
|
|
1120
|
+
uncategorized: i ? u.UNCATEGORIZED : h.UNCATEGORIZED
|
|
1118
1121
|
},
|
|
1119
1122
|
chart: {
|
|
1120
|
-
chart1:
|
|
1121
|
-
chart2:
|
|
1122
|
-
chart3:
|
|
1123
|
-
chart4:
|
|
1124
|
-
chart5:
|
|
1125
|
-
chart6:
|
|
1126
|
-
chart7:
|
|
1123
|
+
chart1: I.CHART1,
|
|
1124
|
+
chart2: I.CHART2,
|
|
1125
|
+
chart3: I.CHART3,
|
|
1126
|
+
chart4: I.CHART4,
|
|
1127
|
+
chart5: I.CHART5,
|
|
1128
|
+
chart6: I.CHART6,
|
|
1129
|
+
chart7: I.CHART7
|
|
1127
1130
|
},
|
|
1128
1131
|
chartMono: {
|
|
1129
1132
|
chartMono1: v.CHART_MONO1,
|
|
@@ -1134,7 +1137,7 @@ const Ge = ({
|
|
|
1134
1137
|
chartMono6: v.CHART_MONO6
|
|
1135
1138
|
}
|
|
1136
1139
|
});
|
|
1137
|
-
}, H = "Inter, Helvetica, Arial, sans-serif", k0 = (e) =>
|
|
1140
|
+
}, H = "Inter, Helvetica, Arial, sans-serif", k0 = (e) => M0(e, {
|
|
1138
1141
|
fontFamily: H,
|
|
1139
1142
|
fontSize: 15,
|
|
1140
1143
|
Body: {
|
|
@@ -1696,7 +1699,6 @@ const Ze = (e) => {
|
|
|
1696
1699
|
root: {
|
|
1697
1700
|
height: "44px",
|
|
1698
1701
|
"&.MuiInputBase-multiline": {
|
|
1699
|
-
padding: 0,
|
|
1700
1702
|
minHeight: "44px",
|
|
1701
1703
|
height: "auto"
|
|
1702
1704
|
}
|
|
@@ -1870,15 +1872,15 @@ export {
|
|
|
1870
1872
|
g as BaseIcon,
|
|
1871
1873
|
ye as BottomSheetTransition,
|
|
1872
1874
|
Ae as CalendarIcon,
|
|
1873
|
-
|
|
1875
|
+
p as CategoryGuids,
|
|
1874
1876
|
F0 as CategoryIcon,
|
|
1875
1877
|
H0 as CategoryIconList,
|
|
1876
|
-
|
|
1878
|
+
I0 as CategoryIconVariants,
|
|
1877
1879
|
Ee as CheckmarkFilledIcon,
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1880
|
+
Re as ChevronDownIcon,
|
|
1881
|
+
Me as ChevronLeftIcon,
|
|
1882
|
+
Se as ChevronRightIcon,
|
|
1883
|
+
Ie as CloseIcon,
|
|
1882
1884
|
Ne as DateRangePicker,
|
|
1883
1885
|
O0 as DialogFooter,
|
|
1884
1886
|
_e as DialogHeader,
|
|
@@ -1886,23 +1888,23 @@ export {
|
|
|
1886
1888
|
He as EditIcon,
|
|
1887
1889
|
ve as FilterIcon,
|
|
1888
1890
|
O0 as Footer,
|
|
1889
|
-
|
|
1891
|
+
D0 as H1,
|
|
1890
1892
|
ke as H2,
|
|
1891
1893
|
we as H3,
|
|
1892
1894
|
Fe as HeartIcon,
|
|
1893
1895
|
H as INTER,
|
|
1894
1896
|
A as Icon,
|
|
1895
|
-
|
|
1897
|
+
S0 as IconWeight,
|
|
1896
1898
|
Be as InstitutionLogo,
|
|
1897
1899
|
Oe as MXLogoCopyrightIcon,
|
|
1898
|
-
|
|
1900
|
+
De as MXLogoFilledIcon,
|
|
1899
1901
|
xe as MXLogoIcon,
|
|
1900
|
-
|
|
1902
|
+
Le as MXLogoOutlineIcon,
|
|
1901
1903
|
Ve as MerchantLogo,
|
|
1902
1904
|
Pe as P,
|
|
1903
1905
|
x as TARGETS,
|
|
1904
1906
|
y as THEMES,
|
|
1905
|
-
|
|
1907
|
+
L as Text,
|
|
1906
1908
|
Ue as TextField,
|
|
1907
1909
|
Ge as Toast,
|
|
1908
1910
|
$e as TokenProvider,
|