@mx-cartographer/experiences 9.0.0-alpha.al9 → 9.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/CHANGELOG.md +20 -0
- package/dist/{AccountDetailsHeader-CfdnKyJK.mjs → AccountDetailsHeader-DIysk_4w.mjs} +1 -1
- package/dist/{AccountFields-CAy0x_4i.mjs → AccountFields-mwJ8NXsX.mjs} +18 -18
- package/dist/{AccountListItem-DJaIOxbb.mjs → AccountListItem-BDXHs4tV.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DVGuR3Ab.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +2 -2
- package/dist/{ConnectCard-CdXeMN22.mjs → ConnectCard-CCep7Zqe.mjs} +1 -1
- package/dist/{ConnectDrawer-CPsSusKE.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +1 -1
- package/dist/{ConnectionsDrawer-DWPOixe6.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
- package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
- package/dist/{Drawer-BNu88yNt.mjs → Drawer-BXqqBMxg.mjs} +29 -32
- package/dist/{EmbeddedCard-wENckl64.mjs → EmbeddedCard-DPwJjqMH.mjs} +1 -1
- package/dist/{ExportCsvAction-BkABqw52.mjs → ExportCsvAction-Bw02ZJEj.mjs} +1 -1
- package/dist/{Help-CNjuW34A.mjs → Help-DJ8PrVHX.mjs} +2 -2
- package/dist/{ManageIncome-D2hEHycu.mjs → ManageIncome-B1JfqslT.mjs} +5 -5
- package/dist/{NotificationSettings-CNsh4U5U.mjs → NotificationSettings-6p-h5phZ.mjs} +3 -3
- package/dist/{OriginalBalanceAction-BxOhy_ru.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +1 -1
- package/dist/{RecurringSettings-Qqila2ld.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/{Select-KwuuoKM-.mjs → Select-BFt-HD-L.mjs} +15 -15
- package/dist/{ToggleListItem-BTDtw-N4.mjs → ToggleListItem-Dl1lXNwj.mjs} +7 -8
- package/dist/{TransactionDetails-CMUIncOc.mjs → TransactionDetails-C3dlAzYf.mjs} +10 -8
- package/dist/{ViewMoreMicroCard-DoVNDQVG.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +527 -526
- package/dist/{WidgetContainer-CmkRiOTH.mjs → WidgetContainer-DNuz_s7W.mjs} +1 -1
- package/dist/accounts/index.es.js +11 -11
- package/dist/budgets/index.es.js +8 -8
- package/dist/cashflow/index.es.js +6 -6
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +101 -100
- package/dist/common/utils/Theme.d.ts +4 -13
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/core/types/AppData.d.ts +0 -14
- package/dist/core/types/Client.d.ts +13 -20
- package/dist/dashboard/index.es.js +33 -33
- package/dist/debts/index.es.js +6 -6
- package/dist/finstrong/index.es.js +9 -9
- package/dist/goals/index.es.js +5 -5
- package/dist/help/index.es.js +2 -2
- package/dist/insights/index.es.js +206 -209
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
- package/dist/microinsights/cards/InsightCard.d.ts +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -4
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -4
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -4
- package/dist/microinsights/carousel/BeatList.d.ts +2 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +12 -4
- package/dist/networth/index.es.js +3 -3
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +6 -6
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +35 -36
- package/dist/trends/index.es.js +8 -9
- package/package.json +4 -4
- package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
|
@@ -36,7 +36,7 @@ import Ye from "@mui/material/ToggleButtonGroup";
|
|
|
36
36
|
import { useTheme as Le } from "@mui/material/styles";
|
|
37
37
|
import { u as Ae } from "./useAriaLive-MkYebyUR.mjs";
|
|
38
38
|
import { D as Be } from "./Dialog-CwWc0AbH.mjs";
|
|
39
|
-
import { D as we } from "./Drawer-
|
|
39
|
+
import { D as we } from "./Drawer-BXqqBMxg.mjs";
|
|
40
40
|
import { u as le } from "./useScreenSize-mWpmnh5w.mjs";
|
|
41
41
|
import { f as P, D as S } from "./DateFormats-HudZ3Bjs.mjs";
|
|
42
42
|
import { L as Ne } from "./Loader-CxeBwuPG.mjs";
|
|
@@ -11,15 +11,15 @@ import B from "@mui/material/ListSubheader";
|
|
|
11
11
|
import P from "@mui/system/Stack";
|
|
12
12
|
import { f as a1 } from "../NumberFormatting--XMeeBfr.mjs";
|
|
13
13
|
import { useTheme as p1, alpha as x1 } from "@mui/material/styles";
|
|
14
|
-
import { u as R, A as w1 } from "../AccountDetailsHeader-
|
|
14
|
+
import { u as R, A as w1 } from "../AccountDetailsHeader-DIysk_4w.mjs";
|
|
15
15
|
import { L as R1 } from "../LineChart-CejWS_rh.mjs";
|
|
16
16
|
import { g as S1, a as T1, b as D1 } from "../SpendingData-PKlh8caU.mjs";
|
|
17
17
|
import { l as E1, u as A, d as E, g as k, h as _1, a as L1, b as G } from "../hooks-BaO_gOI6.mjs";
|
|
18
18
|
import { A as I, g as f, N as f1 } from "../Account-BaJmiJAG.mjs";
|
|
19
19
|
import { I as g1, P as H1, S as v1 } from "../Account-BxHMlV9R.mjs";
|
|
20
|
-
import { a as k1, b as I1 } from "../AccountFields-
|
|
21
|
-
import { g as n2 } from "../AccountFields-
|
|
22
|
-
import { A as U } from "../AccountListItem-
|
|
20
|
+
import { a as k1, b as I1 } from "../AccountFields-mwJ8NXsX.mjs";
|
|
21
|
+
import { g as n2 } from "../AccountFields-mwJ8NXsX.mjs";
|
|
22
|
+
import { A as U } from "../AccountListItem-BDXHs4tV.mjs";
|
|
23
23
|
import s1 from "@mui/material/Tab";
|
|
24
24
|
import Z1 from "@mui/material/Tabs";
|
|
25
25
|
import N1 from "@mui/material/Switch";
|
|
@@ -29,10 +29,10 @@ import Z from "@mui/material/ListItemText";
|
|
|
29
29
|
import { b as H } from "../Localization-DnoVyBNK.mjs";
|
|
30
30
|
import { A as w } from "../Analytics-CzGzz_sE.mjs";
|
|
31
31
|
import { D as e1 } from "../Dialog-CwWc0AbH.mjs";
|
|
32
|
-
import { D as n1 } from "../Drawer-
|
|
32
|
+
import { D as n1 } from "../Drawer-BXqqBMxg.mjs";
|
|
33
33
|
import j from "@mui/material/ListItemAvatar";
|
|
34
34
|
import { Language as O1, Error as b1, CheckCircle as F1 } from "@mxenabled/mx-icons";
|
|
35
|
-
import { C as z } from "../ConnectDrawer-
|
|
35
|
+
import { C as z } from "../ConnectDrawer-Cnjr3Ddg.mjs";
|
|
36
36
|
import { fromUnixTime as P1 } from "date-fns/fromUnixTime";
|
|
37
37
|
import { isToday as W1 } from "date-fns/isToday";
|
|
38
38
|
import { isYesterday as B1 } from "date-fns/isYesterday";
|
|
@@ -49,20 +49,20 @@ import j1 from "@mui/material/Select";
|
|
|
49
49
|
import X1 from "@mui/material/TextField";
|
|
50
50
|
import { F as J } from "../Accounts-CseLC3lL.mjs";
|
|
51
51
|
import { M as i2 } from "../Accounts-CseLC3lL.mjs";
|
|
52
|
-
import { C as J1 } from "../CurrencyInput-
|
|
52
|
+
import { C as J1 } from "../CurrencyInput-adTIRtL3.mjs";
|
|
53
53
|
import q1 from "@mui/material/Alert";
|
|
54
54
|
import Q1 from "@mui/material/AlertTitle";
|
|
55
55
|
import e3 from "@mui/material/Link";
|
|
56
56
|
import t3 from "@mui/material/Paper";
|
|
57
57
|
import { endOfToday as n3, subDays as o3, startOfToday as i3 } from "date-fns";
|
|
58
|
-
import { T as c3 } from "../EmbeddedCard-
|
|
59
|
-
import { T as a3 } from "../TransactionDetails-
|
|
58
|
+
import { T as c3 } from "../EmbeddedCard-DPwJjqMH.mjs";
|
|
59
|
+
import { T as a3 } from "../TransactionDetails-C3dlAzYf.mjs";
|
|
60
60
|
import { T as u1 } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
61
|
-
import { C as s3 } from "../ConnectionsDrawer-
|
|
61
|
+
import { C as s3 } from "../ConnectionsDrawer-CtfPXk0M.mjs";
|
|
62
62
|
import { u as V1 } from "../useScreenSize-mWpmnh5w.mjs";
|
|
63
63
|
import { u as o1 } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
64
64
|
import { L as i1 } from "../Loader-CxeBwuPG.mjs";
|
|
65
|
-
import { W as l3 } from "../WidgetContainer-
|
|
65
|
+
import { W as l3 } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
66
66
|
import { M as A1 } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
67
67
|
const r3 = (t, o) => {
|
|
68
68
|
const n = g1.includes(o) ? S1(t) : [], c = H1.includes(o) ? T1(t) : [], i = v1.includes(o) ? D1(t) : [];
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -21,11 +21,11 @@ import te from "@mui/material/ListItem";
|
|
|
21
21
|
import me from "@mui/material/ListItemAvatar";
|
|
22
22
|
import oe from "@mui/material/ListItemButton";
|
|
23
23
|
import ne from "@mui/material/ListItemText";
|
|
24
|
-
import { D as $ } from "../Drawer-
|
|
24
|
+
import { D as $ } from "../Drawer-BXqqBMxg.mjs";
|
|
25
25
|
import Xe from "@mui/material/ListItemSecondaryAction";
|
|
26
|
-
import { C as Ze } from "../CurrencyInput-
|
|
26
|
+
import { C as Ze } from "../CurrencyInput-adTIRtL3.mjs";
|
|
27
27
|
import { D as W } from "../Dialog-CwWc0AbH.mjs";
|
|
28
|
-
import { C as qe } from "../ConnectionsDrawer-
|
|
28
|
+
import { C as qe } from "../ConnectionsDrawer-CtfPXk0M.mjs";
|
|
29
29
|
import * as O from "d3";
|
|
30
30
|
import Je from "@mui/material/Tooltip";
|
|
31
31
|
import { u as ge } from "../useScreenSize-mWpmnh5w.mjs";
|
|
@@ -35,19 +35,19 @@ import { A as P } from "../Analytics-CzGzz_sE.mjs";
|
|
|
35
35
|
import Ee from "@mui/material/Tab";
|
|
36
36
|
import Qe from "@mui/material/Tabs";
|
|
37
37
|
import { e as et, g as we } from "../TransactionUtils-BphBJBbU.mjs";
|
|
38
|
-
import { T as ve } from "../EmbeddedCard-
|
|
39
|
-
import { T as tt, c as ot } from "../TransactionDetails-
|
|
38
|
+
import { T as ve } from "../EmbeddedCard-DPwJjqMH.mjs";
|
|
39
|
+
import { T as tt, c as ot } from "../TransactionDetails-C3dlAzYf.mjs";
|
|
40
40
|
import Te from "@mui/material/Card";
|
|
41
41
|
import De from "@mui/material/CardContent";
|
|
42
42
|
import { S as Se } from "../StatusBar-CPfSXe80.mjs";
|
|
43
43
|
import { S as Ge } from "../SingleSegmentDonut-7Uy6VEld.mjs";
|
|
44
|
-
import { u as nt, C as at } from "../CategorySelectorDrawer-
|
|
44
|
+
import { u as nt, C as at } from "../CategorySelectorDrawer-CmaDLhnf.mjs";
|
|
45
45
|
import Pe from "@mui/material/CardHeader";
|
|
46
46
|
import { subDays as rt } from "date-fns/subDays";
|
|
47
47
|
import st from "@mui/material/IconButton";
|
|
48
|
-
import { M as it } from "../ManageIncome-
|
|
48
|
+
import { M as it } from "../ManageIncome-B1JfqslT.mjs";
|
|
49
49
|
import { u as je } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
50
|
-
import { W as ct } from "../WidgetContainer-
|
|
50
|
+
import { W as ct } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
51
51
|
import { g as lt, a as dt } from "../BudgetUtil-Bg2AQJpQ.mjs";
|
|
52
52
|
import { M as ut } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
53
53
|
import { b as mt } from "../CurrencyDialog-DumQCTPO.mjs";
|
|
@@ -17,13 +17,13 @@ import { I as pe } from "../InformationTooltip-4su8bn1e.mjs";
|
|
|
17
17
|
import { u as Oe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
18
18
|
import { M as Ze } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
19
19
|
import { E as et } from "../EmptyState-CJUDc3kD.mjs";
|
|
20
|
-
import { R as tt } from "../RecurringSettings-
|
|
20
|
+
import { R as tt } from "../RecurringSettings-cm6MK_aS.mjs";
|
|
21
21
|
import nt from "@mui/material/Tabs";
|
|
22
22
|
import ye from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as le } from "date-fns/getUnixTime";
|
|
24
24
|
import Q from "@mui/material/List";
|
|
25
25
|
import ee from "@mui/material/ListItem";
|
|
26
|
-
import { A as ot } from "../AccountListItem-
|
|
26
|
+
import { A as ot } from "../AccountListItem-BDXHs4tV.mjs";
|
|
27
27
|
import { f as U, D as Y } from "../DateFormats-HudZ3Bjs.mjs";
|
|
28
28
|
import it from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as J } from "../NumberFormatting--XMeeBfr.mjs";
|
|
@@ -34,17 +34,17 @@ import { addDays as _e } from "date-fns/addDays";
|
|
|
34
34
|
import { DataGridPro as at } from "@mui/x-data-grid-pro";
|
|
35
35
|
import { T as Ce } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
36
36
|
import W from "@mui/material/Button";
|
|
37
|
-
import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-
|
|
38
|
-
import { D as He } from "../Drawer-
|
|
37
|
+
import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-B1JfqslT.mjs";
|
|
38
|
+
import { D as He } from "../Drawer-BXqqBMxg.mjs";
|
|
39
39
|
import { subDays as We } from "date-fns/subDays";
|
|
40
40
|
import { endOfToday as dt } from "date-fns/endOfToday";
|
|
41
|
-
import { W as mt } from "../WidgetContainer-
|
|
41
|
+
import { W as mt } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
42
42
|
import { A as X } from "../Account-BaJmiJAG.mjs";
|
|
43
43
|
import { A as Se } from "../Analytics-CzGzz_sE.mjs";
|
|
44
44
|
import { formatISO as ut } from "date-fns/formatISO";
|
|
45
45
|
import { fromUnixTime as De } from "date-fns/fromUnixTime";
|
|
46
46
|
import { startOfMonth as pt } from "date-fns/startOfMonth";
|
|
47
|
-
import { S as ht, a as ft } from "../EmbeddedCard-
|
|
47
|
+
import { S as ht, a as ft } from "../EmbeddedCard-DPwJjqMH.mjs";
|
|
48
48
|
import { F as gt, R as Ie, c as ve } from "../RecurringTransactionsUtil-B3rLEx_g.mjs";
|
|
49
49
|
import { i as bt } from "../DateUtil-Bhq59ZVg.mjs";
|
|
50
50
|
const q = () => {
|
package/dist/common/index.es.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { l as
|
|
1
|
+
import { l as Y } from "../UserStore-CRpKQjpP.mjs";
|
|
2
2
|
import { b as $, a as H } from "../Localization-DnoVyBNK.mjs";
|
|
3
3
|
import { f as j, b as V, a as K, c as Z, g as J, d as X } from "../NumberFormatting--XMeeBfr.mjs";
|
|
4
4
|
import { C as rr, a as er, b as or } from "../CurrencyDialog-DumQCTPO.mjs";
|
|
5
|
-
import { C as ar } from "../CurrencyInput-
|
|
6
|
-
import { D as nr, S as ir } from "../Select-
|
|
7
|
-
import { D as lr, W as mr, u as dr } from "../WidgetContainer-
|
|
8
|
-
import { D as
|
|
5
|
+
import { C as ar } from "../CurrencyInput-adTIRtL3.mjs";
|
|
6
|
+
import { D as nr, S as ir } from "../Select-BFt-HD-L.mjs";
|
|
7
|
+
import { D as lr, W as mr, u as dr } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
8
|
+
import { D as fr } from "../Dialog-CwWc0AbH.mjs";
|
|
9
9
|
import { D as yr } from "../Donut-SzzfZDHF.mjs";
|
|
10
|
-
import { D as xr } from "../Drawer-
|
|
10
|
+
import { D as xr } from "../Drawer-BXqqBMxg.mjs";
|
|
11
11
|
import { E as hr } from "../ErrorBoundary-CsdOcnJ9.mjs";
|
|
12
|
-
import { I as
|
|
12
|
+
import { I as Cr } from "../IconBacking-DgT8DCeh.mjs";
|
|
13
13
|
import { I as vr } from "../InformationTooltip-4su8bn1e.mjs";
|
|
14
14
|
import { L as br } from "../Loader-CxeBwuPG.mjs";
|
|
15
15
|
import { M as Dr } from "../MicroWidgetContainer-CfKdQfhi.mjs";
|
|
16
16
|
import { M as Ir } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
17
17
|
import { jsxs as g, jsx as y } from "react/jsx-runtime";
|
|
18
|
-
import { css as
|
|
18
|
+
import { css as C } from "@mxenabled/cssinjs";
|
|
19
19
|
import { D as _, a as v } from "../SingleSegmentDonut-7Uy6VEld.mjs";
|
|
20
20
|
import { S as Mr } from "../SingleSegmentDonut-7Uy6VEld.mjs";
|
|
21
|
-
import { R as
|
|
21
|
+
import { R as wr } from "../ResponsiveButton-CC9F_Ezk.mjs";
|
|
22
22
|
import { S as Lr } from "../SelectionBox-B4xELRgp.mjs";
|
|
23
|
-
import { S as
|
|
23
|
+
import { S as Ur } from "../StatusBar-CPfSXe80.mjs";
|
|
24
24
|
import { T as Br } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
25
25
|
import { A as qr } from "../Analytics-CzGzz_sE.mjs";
|
|
26
|
-
import { C as
|
|
27
|
-
import { C as Hr } from "../ConnectDrawer-
|
|
26
|
+
import { C as Fr } from "../ConnectCard-CCep7Zqe.mjs";
|
|
27
|
+
import { C as Hr } from "../ConnectDrawer-Cnjr3Ddg.mjs";
|
|
28
28
|
import { C as jr } from "../CurrencyText-CCbE6MmF.mjs";
|
|
29
29
|
import { E as Kr } from "../EmptyState-CJUDc3kD.mjs";
|
|
30
30
|
import { E as Jr } from "../Error-Dogaw2jO.mjs";
|
|
31
31
|
import { G as zr } from "../GlobalAccountFilter-7Cg2-9A5.mjs";
|
|
32
|
-
import { G as ee, m as oe, n as te, W as ae, d as se, a as ne, o as ie, p as ue, l as le, q as me, r as de, g as ce, s as
|
|
33
|
-
import { I as
|
|
32
|
+
import { G as ee, m as oe, n as te, W as ae, d as se, a as ne, o as ie, p as ue, l as le, q as me, r as de, g as ce, s as fe, u as pe, f as ye, b as ge, k as xe, t as Ee, v as he, w as Se, c as Ce, x as _e, y as ve, z as ke, i as be, A as Oe, h as De, B as Te, C as Ie, D as Ae } from "../hooks-BaO_gOI6.mjs";
|
|
33
|
+
import { I as Pe, P as we, S as Ne } from "../Account-BxHMlV9R.mjs";
|
|
34
34
|
import { L as We } from "../ListItemAction-CwspSmQi.mjs";
|
|
35
|
-
import { L as
|
|
35
|
+
import { L as Ge } from "../ListItemRow-kH1rn8Xu.mjs";
|
|
36
36
|
import { L as Re } from "../ListItemWrapper-B5r-YQQ_.mjs";
|
|
37
|
-
import { S as
|
|
37
|
+
import { S as Ye } from "../SearchBox-Cpgu_gdO.mjs";
|
|
38
38
|
import { S as $e, T as He } from "../Sizes-DISGrlUg.mjs";
|
|
39
|
-
import { T as je, a as Ve } from "../ToggleListItem-
|
|
39
|
+
import { T as je, a as Ve } from "../ToggleListItem-Dl1lXNwj.mjs";
|
|
40
40
|
import { a as Ze, u as Je, b as Xe } from "../Analytics-CkYXKvco.mjs";
|
|
41
41
|
import { alpha as k, darken as x, lighten as E } from "@mui/material";
|
|
42
42
|
import { u as ro } from "../useAccountDisplayName-CFa_MrS6.mjs";
|
|
@@ -44,66 +44,66 @@ import { u as oo } from "../useInsightsEnabled-DaNLPmUU.mjs";
|
|
|
44
44
|
import { useRef as b, useEffect as O } from "react";
|
|
45
45
|
import { u as ao } from "../useScreenSize-mWpmnh5w.mjs";
|
|
46
46
|
import { u as no } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
47
|
-
var
|
|
48
|
-
const
|
|
47
|
+
var i = /* @__PURE__ */ ((r) => (r[r.Unknown = 0] = "Unknown", r[r.EveryWeek = 1] = "EveryWeek", r[r.EveryOtherWeek = 2] = "EveryOtherWeek", r[r.EveryMonth = 3] = "EveryMonth", r[r.EveryOtherMonth = 4] = "EveryOtherMonth", r[r.EveryQuarter = 5] = "EveryQuarter", r[r.EveryOtherQuarter = 6] = "EveryOtherQuarter", r[r.EveryYear = 7] = "EveryYear", r))(i || {});
|
|
48
|
+
const N = (r) => {
|
|
49
49
|
const o = b(null);
|
|
50
50
|
return O(() => {
|
|
51
51
|
o.current = r;
|
|
52
52
|
}, [r]), o.current;
|
|
53
|
-
},
|
|
54
|
-
{ id:
|
|
55
|
-
{ id:
|
|
56
|
-
{ id:
|
|
57
|
-
{ id:
|
|
58
|
-
{ id:
|
|
59
|
-
{ id:
|
|
60
|
-
{ id:
|
|
61
|
-
{ id:
|
|
62
|
-
],
|
|
53
|
+
}, L = [
|
|
54
|
+
{ id: i.Unknown, copy: "frequency_unknown" },
|
|
55
|
+
{ id: i.EveryWeek, copy: "frequency_every_week" },
|
|
56
|
+
{ id: i.EveryOtherWeek, copy: "frequency_every_other_week" },
|
|
57
|
+
{ id: i.EveryMonth, copy: "frequency_every_month" },
|
|
58
|
+
{ id: i.EveryOtherMonth, copy: "frequency_every_other_month" },
|
|
59
|
+
{ id: i.EveryQuarter, copy: "frequency_every_quarter" },
|
|
60
|
+
{ id: i.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
|
|
61
|
+
{ id: i.EveryYear, copy: "frequency_every_year" }
|
|
62
|
+
], W = {
|
|
63
63
|
ERROR: "ERROR",
|
|
64
64
|
LOADING: "LOADING",
|
|
65
65
|
SUCCESS: "SUCCESS"
|
|
66
66
|
}, U = ({
|
|
67
67
|
hasGap: r = !1,
|
|
68
68
|
segments: o,
|
|
69
|
-
size:
|
|
70
|
-
strokeWidth:
|
|
69
|
+
size: n = _,
|
|
70
|
+
strokeWidth: u = v,
|
|
71
71
|
children: m
|
|
72
72
|
}) => {
|
|
73
|
-
const
|
|
74
|
-
let
|
|
75
|
-
return /* @__PURE__ */ g("div", { className: `mx-cmn-multi-segment-donut ${
|
|
76
|
-
/* @__PURE__ */ g("svg", { height:
|
|
73
|
+
const d = D(n), t = (n - u) / 2, a = n / 2;
|
|
74
|
+
let c = -90 - (r ? 1 : 0), s = 0;
|
|
75
|
+
return /* @__PURE__ */ g("div", { className: `mx-cmn-multi-segment-donut ${d}`, children: [
|
|
76
|
+
/* @__PURE__ */ g("svg", { height: n, width: n, children: [
|
|
77
77
|
/* @__PURE__ */ y(
|
|
78
78
|
"circle",
|
|
79
79
|
{
|
|
80
|
-
cx:
|
|
81
|
-
cy:
|
|
80
|
+
cx: a,
|
|
81
|
+
cy: a,
|
|
82
82
|
fill: "none",
|
|
83
|
-
r:
|
|
83
|
+
r: t,
|
|
84
84
|
stroke: "#E4E8EE",
|
|
85
|
-
strokeWidth:
|
|
85
|
+
strokeWidth: u
|
|
86
86
|
}
|
|
87
87
|
),
|
|
88
|
-
o.map((
|
|
88
|
+
o.map((l, f) => (c += 360 * s + (r ? 1 : 0), s = (l.percent - (r ? 0.3 : 0)) / 100, /* @__PURE__ */ y(
|
|
89
89
|
"circle",
|
|
90
90
|
{
|
|
91
|
-
cx:
|
|
92
|
-
cy:
|
|
91
|
+
cx: a,
|
|
92
|
+
cy: a,
|
|
93
93
|
fill: "none",
|
|
94
|
-
r:
|
|
95
|
-
stroke:
|
|
96
|
-
strokeDasharray: 2 * Math.PI *
|
|
97
|
-
strokeDashoffset: 2 * Math.PI *
|
|
98
|
-
strokeWidth:
|
|
99
|
-
transform: `rotate(${
|
|
94
|
+
r: t,
|
|
95
|
+
stroke: l.color,
|
|
96
|
+
strokeDasharray: 2 * Math.PI * t,
|
|
97
|
+
strokeDashoffset: 2 * Math.PI * t * (1 - s),
|
|
98
|
+
strokeWidth: u,
|
|
99
|
+
transform: `rotate(${c}, ${a}, ${a})`
|
|
100
100
|
},
|
|
101
|
-
|
|
101
|
+
f
|
|
102
102
|
)))
|
|
103
103
|
] }),
|
|
104
104
|
/* @__PURE__ */ y("div", { className: "mx-cmn-multi-segment-donut-children", children: m })
|
|
105
105
|
] });
|
|
106
|
-
}, D = (r) =>
|
|
106
|
+
}, D = (r) => C({
|
|
107
107
|
height: r,
|
|
108
108
|
marginTop: "-8px",
|
|
109
109
|
position: "relative",
|
|
@@ -127,97 +127,97 @@ const L = (r) => {
|
|
|
127
127
|
"subtitle1",
|
|
128
128
|
"subtitle2",
|
|
129
129
|
"tiny"
|
|
130
|
-
],
|
|
130
|
+
], h = [
|
|
131
131
|
{ key: "primary", light: "primary_color", dark: "primary_color_dark" },
|
|
132
132
|
{ key: "secondary", light: "neutral_color", dark: "neutral_color_dark" },
|
|
133
133
|
{ key: "error", light: "error_color", dark: "error_color_dark" },
|
|
134
134
|
{ key: "warning", light: "warning_color", dark: "warning_color_dark" },
|
|
135
135
|
{ key: "info", light: "info_color", dark: "info_color_dark" },
|
|
136
136
|
{ key: "success", light: "success_color", dark: "success_color_dark" }
|
|
137
|
-
],
|
|
138
|
-
const
|
|
137
|
+
], G = (r, o) => {
|
|
138
|
+
const n = o === "dark", u = {};
|
|
139
|
+
for (const { key: m, light: d, dark: t } of h) {
|
|
140
|
+
const a = r?.[n ? t : d];
|
|
141
|
+
a && (u[m] = a);
|
|
142
|
+
}
|
|
143
|
+
return u;
|
|
144
|
+
}, B = (r, o, n) => {
|
|
145
|
+
const u = r.palette.mode === "dark", m = (n?.master?.style?.font_name || o?.system_font) ?? r.typography.fontFamily, d = (e, p) => e ? {
|
|
139
146
|
lighter: E(e, 0.5),
|
|
140
147
|
light: E(e, 0.25),
|
|
141
148
|
main: e,
|
|
142
149
|
dark: x(e, 0.25),
|
|
143
150
|
darker: x(e, 0.5)
|
|
144
|
-
} :
|
|
145
|
-
|
|
151
|
+
} : p, t = Object.fromEntries(
|
|
152
|
+
h.map(({ key: e, light: p, dark: S }) => [
|
|
146
153
|
e,
|
|
147
|
-
|
|
148
|
-
o?.[
|
|
154
|
+
d(
|
|
155
|
+
o?.[u ? S : p],
|
|
149
156
|
r.palette[e]
|
|
150
157
|
)
|
|
151
158
|
])
|
|
152
|
-
),
|
|
159
|
+
), a = Object.fromEntries(
|
|
153
160
|
T.map((e) => [
|
|
154
161
|
e,
|
|
155
162
|
e === "fontFamily" ? m : { fontFamily: m }
|
|
156
163
|
])
|
|
157
|
-
),
|
|
164
|
+
), c = {
|
|
158
165
|
MuiTabs: {
|
|
159
166
|
styleOverrides: {
|
|
160
|
-
indicator: { backgroundColor:
|
|
167
|
+
indicator: { backgroundColor: t.primary.light }
|
|
161
168
|
}
|
|
162
169
|
},
|
|
163
170
|
MuiPickersCalendarHeader: {
|
|
164
171
|
styleOverrides: {
|
|
165
172
|
switchViewButton: {
|
|
166
|
-
color:
|
|
167
|
-
"&:hover": { backgroundColor: k(
|
|
173
|
+
color: t.primary.lighter,
|
|
174
|
+
"&:hover": { backgroundColor: k(t.primary.light, 0.1) }
|
|
168
175
|
}
|
|
169
176
|
}
|
|
170
177
|
}
|
|
171
|
-
},
|
|
172
|
-
...
|
|
173
|
-
...
|
|
178
|
+
}, s = o?.button_corner_radius, l = o?.card_corner_radius, f = {
|
|
179
|
+
...c,
|
|
180
|
+
...s && {
|
|
174
181
|
MuiButton: {
|
|
175
182
|
styleOverrides: {
|
|
176
|
-
root: { borderRadius: `${
|
|
183
|
+
root: { borderRadius: `${s}px`, textTransform: "none" }
|
|
177
184
|
}
|
|
178
185
|
},
|
|
179
186
|
MuiIconButton: {
|
|
180
187
|
styleOverrides: {
|
|
181
188
|
root: {
|
|
182
|
-
borderRadius: `${
|
|
183
|
-
minWidth:
|
|
184
|
-
minHeight:
|
|
189
|
+
borderRadius: `${s}px`,
|
|
190
|
+
minWidth: s,
|
|
191
|
+
minHeight: s
|
|
185
192
|
}
|
|
186
193
|
}
|
|
187
194
|
},
|
|
188
195
|
MuiToggleButton: {
|
|
189
196
|
styleOverrides: {
|
|
190
|
-
root: { borderRadius: `${
|
|
197
|
+
root: { borderRadius: `${s}px`, textTransform: "none" }
|
|
191
198
|
}
|
|
192
199
|
}
|
|
193
200
|
},
|
|
194
|
-
...
|
|
201
|
+
...l && {
|
|
195
202
|
MuiCard: {
|
|
196
|
-
styleOverrides: { root: { borderRadius: `${
|
|
203
|
+
styleOverrides: { root: { borderRadius: `${l}px` } }
|
|
197
204
|
}
|
|
198
205
|
},
|
|
199
|
-
...
|
|
206
|
+
...l && {
|
|
200
207
|
MuiPaper: {
|
|
201
208
|
styleOverrides: {
|
|
202
|
-
|
|
203
|
-
...c && {
|
|
204
|
-
root: {
|
|
205
|
-
backgroundColor: "rgba(255, 255, 255, 0.1)",
|
|
206
|
-
backdropFilter: "blur(10px)",
|
|
207
|
-
WebkitBackdropFilter: "blur(10px)"
|
|
208
|
-
}
|
|
209
|
-
}
|
|
209
|
+
rounded: { borderRadius: `${l}px` }
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
|
-
return { typography:
|
|
214
|
+
return { typography: a, palette: t, components: f };
|
|
215
215
|
};
|
|
216
216
|
export {
|
|
217
217
|
qr as ANALYTICS_EVENTS,
|
|
218
218
|
rr as Calendar,
|
|
219
219
|
er as CalendarSelectionTypes,
|
|
220
|
-
|
|
220
|
+
Fr as ConnectCard,
|
|
221
221
|
Hr as ConnectDrawer,
|
|
222
222
|
or as CurrencyDialog,
|
|
223
223
|
ar as CurrencyInput,
|
|
@@ -226,7 +226,7 @@ export {
|
|
|
226
226
|
v as DEFAULT_STROKE_WIDTH,
|
|
227
227
|
nr as DataRow,
|
|
228
228
|
lr as DateRangeSelector,
|
|
229
|
-
|
|
229
|
+
fr as Dialog,
|
|
230
230
|
yr as Donut,
|
|
231
231
|
xr as Drawer,
|
|
232
232
|
Kr as EmptyState,
|
|
@@ -235,28 +235,28 @@ export {
|
|
|
235
235
|
zr as GlobalAccountFilter,
|
|
236
236
|
ee as GlobalDataContext,
|
|
237
237
|
oe as GlobalDataProvider,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
238
|
+
Y as GlobalStore,
|
|
239
|
+
Pe as INCOME_ACCOUNT_TYPES,
|
|
240
|
+
Cr as IconBacking,
|
|
241
241
|
vr as InformationTooltip,
|
|
242
|
-
|
|
242
|
+
W as LOADING_STATUS,
|
|
243
243
|
We as ListItemAction,
|
|
244
|
-
|
|
244
|
+
Ge as ListItemRow,
|
|
245
245
|
Re as ListItemWrapper,
|
|
246
246
|
br as Loader,
|
|
247
247
|
Dr as MicroWidgetContainer,
|
|
248
248
|
Ir as MiniWidgetContainer,
|
|
249
249
|
U as MultiSegmentDonut,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
250
|
+
we as PAYMENT_ACCOUNT_TYPES,
|
|
251
|
+
L as RECURRENCE_COPY,
|
|
252
|
+
wr as ResponsiveButton,
|
|
253
|
+
Ne as SPENDING_ACCOUNT_TYPES,
|
|
254
|
+
Ye as SearchBox,
|
|
255
255
|
ir as Select,
|
|
256
256
|
Lr as SelectionBox,
|
|
257
257
|
Mr as SingleSegmentDonut,
|
|
258
258
|
$e as Sizes,
|
|
259
|
-
|
|
259
|
+
Ur as StatusBar,
|
|
260
260
|
He as TOUCH_TARGET,
|
|
261
261
|
Br as TabContentContainer,
|
|
262
262
|
je as ToggleButtonListItem,
|
|
@@ -271,6 +271,7 @@ export {
|
|
|
271
271
|
V as formatOrdinal,
|
|
272
272
|
K as formatPercentage,
|
|
273
273
|
Z as generateEqualIntervals,
|
|
274
|
+
G as getClientPaletteOptions,
|
|
274
275
|
B as getClientTheme,
|
|
275
276
|
J as getCurrencyCodes,
|
|
276
277
|
X as getPluralRules,
|
|
@@ -285,20 +286,20 @@ export {
|
|
|
285
286
|
me as useDebtStore,
|
|
286
287
|
de as useError,
|
|
287
288
|
ce as useEvent,
|
|
288
|
-
|
|
289
|
-
|
|
289
|
+
fe as useFinstrongStore,
|
|
290
|
+
pe as useGlobalCopyStore,
|
|
290
291
|
ye as useGlobalStore,
|
|
291
292
|
ge as useGlobalUiStore,
|
|
292
293
|
xe as useGoalStore,
|
|
293
294
|
Ee as useHelpStore,
|
|
294
295
|
he as useHoldingStore,
|
|
295
296
|
oo as useInsightsEnabled,
|
|
296
|
-
|
|
297
|
-
|
|
297
|
+
Se as useLoad,
|
|
298
|
+
Ce as useMerchantStore,
|
|
298
299
|
_e as useNetWorthStore,
|
|
299
300
|
ve as useNotificationStore,
|
|
300
301
|
ke as usePageView,
|
|
301
|
-
|
|
302
|
+
N as usePrevious,
|
|
302
303
|
be as useRecurringTransactionsStore,
|
|
303
304
|
ao as useScreenSize,
|
|
304
305
|
Oe as useSettingsStore,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { PaletteColor, Theme } from '@mui/material';
|
|
1
|
+
import { PaletteColor, PaletteMode, Theme } from '@mui/material';
|
|
2
2
|
import { ClientStyleProfile } from '../../core';
|
|
3
3
|
import { ClientConfig } from '../../core/types/AppData';
|
|
4
|
+
export declare const getClientPaletteOptions: (clientStyleProfile: ClientStyleProfile, mode: PaletteMode) => Record<string, string>;
|
|
4
5
|
export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile, clientConfig?: ClientConfig) => {
|
|
5
6
|
typography: {
|
|
6
7
|
[k: string]: string | {
|
|
@@ -19,14 +20,9 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
|
|
|
19
20
|
components: {
|
|
20
21
|
MuiPaper?: {
|
|
21
22
|
styleOverrides: {
|
|
22
|
-
|
|
23
|
-
backgroundColor: string;
|
|
24
|
-
backdropFilter: string;
|
|
25
|
-
WebkitBackdropFilter: string;
|
|
26
|
-
} | undefined;
|
|
27
|
-
rounded?: {
|
|
23
|
+
rounded: {
|
|
28
24
|
borderRadius: string;
|
|
29
|
-
}
|
|
25
|
+
};
|
|
30
26
|
};
|
|
31
27
|
} | undefined;
|
|
32
28
|
MuiCard?: {
|
|
@@ -80,8 +76,3 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
|
|
|
80
76
|
};
|
|
81
77
|
};
|
|
82
78
|
};
|
|
83
|
-
export declare const getCustomizations: (clientStyleProfile: ClientStyleProfile) => {
|
|
84
|
-
styleOptions: {
|
|
85
|
-
useGlass: boolean;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { analyticsSession } from './Analytics';
|
|
2
|
-
export { getClientTheme } from './Theme';
|
|
2
|
+
export { getClientPaletteOptions, getClientTheme } from './Theme';
|
|
@@ -48,21 +48,7 @@ export interface MasterConfig {
|
|
|
48
48
|
ui_message_webview_url_scheme?: string;
|
|
49
49
|
}
|
|
50
50
|
export interface StyleConfig {
|
|
51
|
-
background_color?: string;
|
|
52
|
-
corner_radius?: number;
|
|
53
|
-
error_color?: string;
|
|
54
51
|
font_name?: string;
|
|
55
|
-
header_font_name?: string;
|
|
56
|
-
info_color?: string;
|
|
57
|
-
neutral_color?: string;
|
|
58
|
-
paper_color?: string;
|
|
59
|
-
primary_color?: string;
|
|
60
|
-
secondary_color?: string;
|
|
61
|
-
success_color?: string;
|
|
62
|
-
use_font_url?: boolean;
|
|
63
|
-
use_glass?: boolean;
|
|
64
|
-
use_header_font_url?: boolean;
|
|
65
|
-
warning_color?: string;
|
|
66
52
|
}
|
|
67
53
|
export interface DeepLinkParams {
|
|
68
54
|
account_guids?: string[];
|
|
@@ -96,30 +96,23 @@ export interface ClientInsightProfile {
|
|
|
96
96
|
is_recurring_transactions_manager_enabled: boolean;
|
|
97
97
|
}
|
|
98
98
|
export interface ClientStyleProfile {
|
|
99
|
-
background_color?: string;
|
|
100
|
-
body_font_name?: string;
|
|
101
|
-
body_font_url?: string;
|
|
102
|
-
button_corner_radius?: number;
|
|
103
|
-
card_corner_radius?: number;
|
|
104
|
-
error_color?: string;
|
|
105
|
-
error_color_dark?: string;
|
|
106
|
-
header_font_name?: string;
|
|
107
|
-
header_font_url?: string;
|
|
108
|
-
info_color?: string;
|
|
109
|
-
info_color_dark?: string;
|
|
110
|
-
mode?: 'dark' | 'light' | 'browser';
|
|
111
|
-
neutral_color?: string;
|
|
112
|
-
neutral_color_dark?: string;
|
|
113
|
-
paper_color?: string;
|
|
114
99
|
primary_color?: string;
|
|
115
|
-
primary_color_dark?: string;
|
|
116
100
|
primary_font_regular?: string;
|
|
117
101
|
secondary_color?: string;
|
|
118
|
-
|
|
102
|
+
neutral_color?: string;
|
|
119
103
|
success_color?: string;
|
|
120
|
-
|
|
121
|
-
system_font?: string;
|
|
122
|
-
use_glass?: boolean;
|
|
104
|
+
error_color?: string;
|
|
123
105
|
warning_color?: string;
|
|
106
|
+
info_color?: string;
|
|
107
|
+
primary_color_dark?: string;
|
|
108
|
+
secondary_color_dark?: string;
|
|
109
|
+
neutral_color_dark?: string;
|
|
110
|
+
success_color_dark?: string;
|
|
111
|
+
error_color_dark?: string;
|
|
124
112
|
warning_color_dark?: string;
|
|
113
|
+
info_color_dark?: string;
|
|
114
|
+
mode?: 'dark' | 'light' | 'browser';
|
|
115
|
+
system_font?: string;
|
|
116
|
+
card_corner_radius?: number;
|
|
117
|
+
button_corner_radius?: number;
|
|
125
118
|
}
|