@mx-cartographer/experiences 7.1.3-alpha.mm1 → 7.1.4-ram1-alpha-finstrong-credit-score-graph-check
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 +13 -0
- package/dist/{Account-DKy2na__.mjs → Account-CpRTVIHg.mjs} +1 -1
- package/dist/{AccountDetailsContent-CCOCsdoL.mjs → AccountDetailsContent-6aPMU6Hp.mjs} +10 -10
- package/dist/{AccountDetailsHeader-Ca9SPAjA.mjs → AccountDetailsHeader-BkUZYoV8.mjs} +8 -8
- package/dist/{AccountFields-DDAr5SEq.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
- package/dist/{AccountListItem-CMes1Q7Z.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
- package/dist/{AccountStore-DYOG9MYj.mjs → AccountStore-DTfpr3h0.mjs} +60 -41
- package/dist/{Accounts-BNvFndCa.mjs → Accounts-D0BmvNxn.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-DomNyubP.mjs} +3 -3
- package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
- package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
- package/dist/{ConnectDrawer-CHG5Lv_B.mjs → ConnectDrawer--gJHyp-S.mjs} +9 -9
- package/dist/{ConnectionsDrawer-BeB6ab8V.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
- package/dist/{CurrencyInput-CsCy7uaS.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-BblTVTMD.mjs → DebtsStore-9aR2sTJQ.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/Drawer-BEtCk82g.mjs +163 -0
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-Um-CDa4C.mjs} +3 -3
- package/dist/FinstrongStore-CC4SrBjA.mjs +436 -0
- package/dist/{GoalStore-CSsU4LR2.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
- package/dist/{Help-B6dIcujh.mjs → Help-BZ8pIkkR.mjs} +2 -2
- package/dist/LineChart-CE3oLBQ0.mjs +566 -0
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
- package/dist/{ManageIncome-DqG75uQd.mjs → ManageIncome-BaNgfwr5.mjs} +63 -61
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
- package/dist/{NetWorthStore-BbA7H83o.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
- package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
- package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
- package/dist/{RecurringSettings-B9l_Axnd.mjs → RecurringSettings-DE4T4yQy.mjs} +4 -4
- package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
- package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
- package/dist/SpendingLegend-D24CEkL3.mjs +170 -0
- package/dist/{TransactionDetails-DPvvi4Iu.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
- package/dist/{TransactionStore-CBrJOY0H.mjs → TransactionStore-D8MKYDMb.mjs} +3 -3
- package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
- package/dist/{User-BQUxBeZV.mjs → User-BthIKO4w.mjs} +2 -2
- package/dist/{WidgetContainer-BMWagbIl.mjs → WidgetContainer-DJA1bxLn.mjs} +12 -12
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/index.es.js +14 -14
- package/dist/accounts/stores/AccountStore.d.ts +4 -0
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +12 -12
- package/dist/cashflow/index.es.js +383 -389
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/charts/LineChart.d.ts +2 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +2 -0
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/context/GlobalDataProvider.d.ts +0 -1
- package/dist/common/context/hooks.d.ts +0 -3
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +57 -58
- package/dist/common/types/Finstrong.d.ts +50 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +57 -1
- package/dist/dashboard/index.es.js +77 -79
- package/dist/debts/index.es.js +11 -11
- package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +2 -1
- package/dist/finstrong/components/CreditOverTimeGraph.d.ts +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +8 -0
- package/dist/finstrong/index.es.js +2899 -1017
- package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
- package/dist/finstrong/util/finstrongUtils.d.ts +65 -1
- package/dist/goals/index.es.js +54 -54
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-CBST3rkm.mjs +74 -0
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +34 -34
- package/dist/notifications/index.es.js +4 -4
- package/dist/recurringtransactions/index.es.js +24 -24
- package/dist/settings/index.es.js +8 -8
- package/dist/spending/index.es.js +222 -373
- package/dist/transactions/index.es.js +15 -15
- package/dist/trends/index.es.js +451 -451
- package/dist/{useAccountDisplayName-BEorBm5u.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/LineChart-D4GI7nVh.mjs +0 -541
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
- package/dist/hooks-D6XlXHf4.mjs +0 -77
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
4
|
import h from "@mui/material/Unstable_Grid2";
|
|
5
5
|
import u from "@mui/material/Skeleton";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { f as A, u as v, d as C, b as M, a as
|
|
9
|
-
import
|
|
10
|
-
import { Icon as S, H1 as
|
|
11
|
-
import { useMediaQuery as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
6
|
+
import s from "@mui/material/Stack";
|
|
7
|
+
import k from "@mui/material/styles/useTheme";
|
|
8
|
+
import { f as A, u as v, d as C, b as M, a as B } from "../hooks-CBST3rkm.mjs";
|
|
9
|
+
import D from "@mui/material/Paper";
|
|
10
|
+
import { Icon as S, H1 as G, P as F } from "@mxenabled/mxui";
|
|
11
|
+
import { useMediaQuery as W } from "@mui/system";
|
|
12
|
+
import I from "@mui/material/Box";
|
|
13
|
+
import T from "@mui/material/Button";
|
|
14
|
+
import $ from "@mui/material/IconButton";
|
|
15
15
|
import H from "@mui/material/Tooltip";
|
|
16
16
|
import R from "@mui/material/useMediaQuery";
|
|
17
|
-
import {
|
|
17
|
+
import { k as j, l as Q } from "../ConnectDrawer--gJHyp-S.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
|
-
const
|
|
20
|
-
const e =
|
|
21
|
-
appDataStore: { banner:
|
|
19
|
+
const E = _(() => {
|
|
20
|
+
const e = k(), {
|
|
21
|
+
appDataStore: { banner: c, loadBanner: i, user: d }
|
|
22
22
|
} = A();
|
|
23
23
|
return r.useEffect(() => {
|
|
24
24
|
i().finally();
|
|
25
|
-
}, [d]),
|
|
26
|
-
|
|
25
|
+
}, [d]), c?.image_url ? /* @__PURE__ */ t(
|
|
26
|
+
s,
|
|
27
27
|
{
|
|
28
28
|
sx: {
|
|
29
29
|
alignItems: "center",
|
|
@@ -33,7 +33,7 @@ const P = _(() => {
|
|
|
33
33
|
children: /* @__PURE__ */ t(
|
|
34
34
|
"a",
|
|
35
35
|
{
|
|
36
|
-
href:
|
|
36
|
+
href: c?.redirect_url,
|
|
37
37
|
rel: "noreferrer",
|
|
38
38
|
style: {
|
|
39
39
|
width: "100%"
|
|
@@ -43,7 +43,7 @@ const P = _(() => {
|
|
|
43
43
|
"img",
|
|
44
44
|
{
|
|
45
45
|
alt: "",
|
|
46
|
-
src:
|
|
46
|
+
src: c.image_url,
|
|
47
47
|
style: {
|
|
48
48
|
width: "100%",
|
|
49
49
|
height: "auto",
|
|
@@ -55,25 +55,25 @@ const P = _(() => {
|
|
|
55
55
|
)
|
|
56
56
|
}
|
|
57
57
|
) : null;
|
|
58
|
-
}),
|
|
59
|
-
const { common:
|
|
60
|
-
return /* @__PURE__ */ t(
|
|
61
|
-
|
|
58
|
+
}), P = ({ handleConnectClick: e }) => {
|
|
59
|
+
const { common: c } = v(), i = R("(max-width: 700px)");
|
|
60
|
+
return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t(H, { id: "add-accounts", placement: "bottom", title: c.add_accounts, children: /* @__PURE__ */ t(
|
|
61
|
+
$,
|
|
62
62
|
{
|
|
63
63
|
"aria-controls": "add_accounts",
|
|
64
64
|
"aria-describedby": "add-accounts",
|
|
65
65
|
"aria-haspopup": !0,
|
|
66
|
-
"aria-label":
|
|
66
|
+
"aria-label": c.add_accounts,
|
|
67
67
|
color: "primary",
|
|
68
68
|
onClick: e,
|
|
69
69
|
children: /* @__PURE__ */ t(S, { name: "add", size: 24 })
|
|
70
70
|
}
|
|
71
71
|
) }) : /* @__PURE__ */ t(
|
|
72
|
-
|
|
72
|
+
T,
|
|
73
73
|
{
|
|
74
74
|
"aria-controls": "add_accounts",
|
|
75
75
|
"aria-haspopup": !0,
|
|
76
|
-
"aria-label":
|
|
76
|
+
"aria-label": c.add_accounts,
|
|
77
77
|
onClick: e,
|
|
78
78
|
startIcon: /* @__PURE__ */ t(S, { name: "add", size: 24 }),
|
|
79
79
|
sx: {
|
|
@@ -82,44 +82,44 @@ const P = _(() => {
|
|
|
82
82
|
minWidth: "max-content"
|
|
83
83
|
},
|
|
84
84
|
variant: "text",
|
|
85
|
-
children:
|
|
85
|
+
children: c.add_accounts
|
|
86
86
|
}
|
|
87
87
|
) });
|
|
88
|
-
},
|
|
89
|
-
const [e,
|
|
88
|
+
}, N = _(P), O = () => {
|
|
89
|
+
const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: g, setSelectedAccountGuids: b } = M(), { common: o, connect: l } = v(), { config: m } = B(), { isMobile: x } = z(), n = {
|
|
90
90
|
accountFilterOptionsCopy: {
|
|
91
|
-
accountTypeAccounts:
|
|
92
|
-
cancelButton:
|
|
93
|
-
filterButton:
|
|
94
|
-
filterButtonAria:
|
|
95
|
-
selectAllAccounts:
|
|
96
|
-
toggleAccountTypeAccounts:
|
|
97
|
-
unselectAllAccounts:
|
|
98
|
-
zeroStateButton:
|
|
99
|
-
zeroStateDescription:
|
|
100
|
-
zeroStateTitle:
|
|
91
|
+
accountTypeAccounts: o.account_filter.account_type_accounts,
|
|
92
|
+
cancelButton: o.cancel_button,
|
|
93
|
+
filterButton: o.filter_button,
|
|
94
|
+
filterButtonAria: o.account_filter.filter_button_generic_aria,
|
|
95
|
+
selectAllAccounts: o.account_filter.select_all_accounts,
|
|
96
|
+
toggleAccountTypeAccounts: o.account_filter.toggle_account_type_accounts,
|
|
97
|
+
unselectAllAccounts: o.account_filter.unselect_all_accounts,
|
|
98
|
+
zeroStateButton: o.account_filter.zero_state_button,
|
|
99
|
+
zeroStateDescription: o.account_filter.zero_state_description,
|
|
100
|
+
zeroStateTitle: o.account_filter.zero_state_title
|
|
101
101
|
},
|
|
102
|
-
title:
|
|
103
|
-
},
|
|
102
|
+
title: o.filter_button
|
|
103
|
+
}, w = () => {
|
|
104
104
|
const p = (/* @__PURE__ */ new Date()).getHours();
|
|
105
|
-
return p > 1 && p < 12 ?
|
|
105
|
+
return p > 1 && p < 12 ? o.good_morning : p >= 12 && p < 18 ? o.good_afternoon : o.good_evening;
|
|
106
106
|
};
|
|
107
|
-
return /* @__PURE__ */
|
|
108
|
-
/* @__PURE__ */ t(
|
|
109
|
-
/* @__PURE__ */ s
|
|
110
|
-
/* @__PURE__ */ t(
|
|
111
|
-
/* @__PURE__ */ t(
|
|
107
|
+
return /* @__PURE__ */ a(r.Fragment, { children: [
|
|
108
|
+
/* @__PURE__ */ t(D, { sx: { gap: 12, mb: x ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
|
109
|
+
/* @__PURE__ */ a(s, { children: [
|
|
110
|
+
/* @__PURE__ */ t(G, { variant: i ? "H2" : "H1", children: w() }),
|
|
111
|
+
/* @__PURE__ */ t(F, { color: "text.secondary", children: o.heres_your_spending_overview })
|
|
112
112
|
] }),
|
|
113
|
-
/* @__PURE__ */ s
|
|
114
|
-
|
|
113
|
+
/* @__PURE__ */ a(s, { flexDirection: "row", children: [
|
|
114
|
+
m.show_connections_widget_in_master && /* @__PURE__ */ t(N, { handleConnectClick: () => c(!0) }),
|
|
115
115
|
/* @__PURE__ */ t(
|
|
116
|
-
|
|
116
|
+
j,
|
|
117
117
|
{
|
|
118
118
|
accounts: d,
|
|
119
|
-
copy:
|
|
120
|
-
onConnectAccountClick:
|
|
121
|
-
onFilterClick: (
|
|
122
|
-
b(
|
|
119
|
+
copy: n,
|
|
120
|
+
onConnectAccountClick: m.show_connections_widget_in_master ? () => c(!0) : void 0,
|
|
121
|
+
onFilterClick: (y) => {
|
|
122
|
+
b(y);
|
|
123
123
|
},
|
|
124
124
|
selectedAccountGuids: g,
|
|
125
125
|
showAccountNumbers: !1,
|
|
@@ -134,50 +134,48 @@ const P = _(() => {
|
|
|
134
134
|
e && /* @__PURE__ */ t(
|
|
135
135
|
Q,
|
|
136
136
|
{
|
|
137
|
-
onClose: () =>
|
|
137
|
+
onClose: () => c(!1),
|
|
138
138
|
showConnectWidget: e,
|
|
139
|
-
title:
|
|
139
|
+
title: l.mini_title
|
|
140
140
|
}
|
|
141
141
|
)
|
|
142
142
|
] });
|
|
143
|
-
},
|
|
143
|
+
}, U = _(O);
|
|
144
144
|
var f = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(f || {});
|
|
145
|
-
const
|
|
146
|
-
const { isDesktop: i, isMobile: d } = z(), { copyStore: g } = A(), { setSelectedAccounts: b } = M(), { visibleAccounts:
|
|
145
|
+
const q = ({ widgets: e, isLoading: c }) => {
|
|
146
|
+
const { isDesktop: i, isMobile: d } = z(), { copyStore: g } = A(), { setSelectedAccounts: b } = M(), { visibleAccounts: o } = C();
|
|
147
147
|
r.useEffect(() => {
|
|
148
|
-
b(
|
|
149
|
-
}, [n]), r.useEffect(() => {
|
|
150
|
-
o || x?.("Dashboard");
|
|
148
|
+
b(o);
|
|
151
149
|
}, [o]);
|
|
152
|
-
const
|
|
153
|
-
() => e.filter((
|
|
150
|
+
const l = r.useMemo(
|
|
151
|
+
() => e.filter((n) => n.location !== f.Disabled).sort((n, w) => n.index - w.index),
|
|
154
152
|
[e]
|
|
155
|
-
),
|
|
156
|
-
() =>
|
|
157
|
-
[
|
|
158
|
-
),
|
|
159
|
-
() =>
|
|
160
|
-
[
|
|
153
|
+
), m = r.useMemo(
|
|
154
|
+
() => l.filter((n) => n.location === f.Main),
|
|
155
|
+
[l]
|
|
156
|
+
), x = r.useMemo(
|
|
157
|
+
() => l.filter((n) => n.location === f.RightSide),
|
|
158
|
+
[l]
|
|
161
159
|
);
|
|
162
|
-
return /* @__PURE__ */
|
|
163
|
-
/* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */ t(
|
|
166
|
-
|
|
160
|
+
return /* @__PURE__ */ a(h, { container: !0, spacing: d ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
|
161
|
+
/* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(U, {}) }),
|
|
162
|
+
/* @__PURE__ */ a(h, { lg: 8, xs: 12, children: [
|
|
163
|
+
/* @__PURE__ */ t(E, {}),
|
|
164
|
+
c && /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
|
|
167
165
|
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
168
166
|
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" }),
|
|
169
167
|
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
|
|
170
168
|
] }),
|
|
171
|
-
!
|
|
169
|
+
!c && /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: i ? m.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) : l.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) })
|
|
172
170
|
] }),
|
|
173
|
-
i && /* @__PURE__ */ t(h, { lg: 4, children:
|
|
171
|
+
i && /* @__PURE__ */ t(h, { lg: 4, children: c ? /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
|
|
174
172
|
/* @__PURE__ */ t(u, { height: 200, variant: "rounded", width: "100%" }),
|
|
175
173
|
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
176
174
|
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
|
|
177
|
-
] }) : /* @__PURE__ */ t(
|
|
175
|
+
] }) : /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: x.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) }) })
|
|
178
176
|
] });
|
|
179
|
-
},
|
|
177
|
+
}, dt = _(q);
|
|
180
178
|
export {
|
|
181
|
-
|
|
179
|
+
dt as Dashboard,
|
|
182
180
|
f as DashboardLocation
|
|
183
181
|
};
|
package/dist/debts/index.es.js
CHANGED
|
@@ -8,30 +8,30 @@ import { intervalToDuration as Te, formatDuration as Ae } from "date-fns";
|
|
|
8
8
|
import { addMonths as le } from "date-fns/addMonths";
|
|
9
9
|
import { fromUnixTime as se } from "date-fns/fromUnixTime";
|
|
10
10
|
import { getUnixTime as ce } from "date-fns/getUnixTime";
|
|
11
|
-
import { D as B, M as Ee, I as Ie } from "../DebtsStore-
|
|
12
|
-
import { a as Fr } from "../DebtsStore-
|
|
11
|
+
import { D as B, M as Ee, I as Ie } from "../DebtsStore-9aR2sTJQ.mjs";
|
|
12
|
+
import { a as Fr } from "../DebtsStore-9aR2sTJQ.mjs";
|
|
13
13
|
import { f as M, a as Be } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
14
|
-
import { f as K,
|
|
15
|
-
import { G as Me,
|
|
14
|
+
import { f as K, a as U } from "../Dialog-BPTr3qHE.mjs";
|
|
15
|
+
import { G as Me, w as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-CBST3rkm.mjs";
|
|
16
16
|
import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
17
|
-
import { D as te } from "../Drawer-
|
|
17
|
+
import { D as te } from "../Drawer-BEtCk82g.mjs";
|
|
18
18
|
import { b as A } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { A as ke, u as Ne } from "../AccountDetailsHeader-
|
|
19
|
+
import { A as ke, u as Ne } from "../AccountDetailsHeader-BkUZYoV8.mjs";
|
|
20
20
|
import Fe from "@mui/material/Card";
|
|
21
21
|
import Re from "@mui/material/CardContent";
|
|
22
22
|
import Le from "@mui/material/CardHeader";
|
|
23
23
|
import { LineChart as $e } from "@mui/x-charts";
|
|
24
24
|
import re from "@mui/material/Box";
|
|
25
25
|
import { useTheme as He } from "@mui/material/styles";
|
|
26
|
-
import { A as T, W as Oe } from "../WidgetContainer-
|
|
26
|
+
import { A as T, W as Oe } from "../WidgetContainer-DJA1bxLn.mjs";
|
|
27
27
|
import de from "@mui/material/Tab";
|
|
28
28
|
import We from "@mui/material/Tabs";
|
|
29
29
|
import _e from "@mui/material/List";
|
|
30
30
|
import j from "@mui/material/Divider";
|
|
31
|
-
import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-
|
|
31
|
+
import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-CGZDUsCc.mjs";
|
|
32
32
|
import Xe from "@mui/material/TextField";
|
|
33
|
-
import { L as J } from "../ListItemAction-
|
|
34
|
-
import { C as ae } from "../CurrencyInput-
|
|
33
|
+
import { L as J } from "../ListItemAction-DGaxy7oz.mjs";
|
|
34
|
+
import { C as ae } from "../CurrencyInput-CC5cwVit.mjs";
|
|
35
35
|
import pe from "@mui/material/Alert";
|
|
36
36
|
import me from "@mui/material/AlertTitle";
|
|
37
37
|
import he from "@mui/material/Paper";
|
|
@@ -39,7 +39,7 @@ import { Error as Ve, CheckCircle as ye } from "@mxenabled/mx-icons";
|
|
|
39
39
|
import { T as ue } from "../TabContentContainer-j01JYR_7.mjs";
|
|
40
40
|
import { DataGridPro as Ye } from "@mui/x-data-grid-pro";
|
|
41
41
|
import { H as z } from "../HeaderCell-DjuifqHJ.mjs";
|
|
42
|
-
import { f as Ke } from "../ConnectDrawer-
|
|
42
|
+
import { f as Ke } from "../ConnectDrawer--gJHyp-S.mjs";
|
|
43
43
|
import fe from "@mui/material/Button";
|
|
44
44
|
import Ue from "@mui/material/IconButton";
|
|
45
45
|
import qe from "@mui/material/ListItem";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fromUnixTime as d } from "date-fns/fromUnixTime";
|
|
2
2
|
import { c as u } from "./Category-CevNQ03n.mjs";
|
|
3
|
-
import { f as p,
|
|
4
|
-
import { T as g } from "./User-
|
|
3
|
+
import { f as p, a as m } from "./Dialog-BPTr3qHE.mjs";
|
|
4
|
+
import { T as g } from "./User-BthIKO4w.mjs";
|
|
5
5
|
function f(e) {
|
|
6
6
|
return new Set(
|
|
7
7
|
e.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
|
|
@@ -5,6 +5,11 @@ export declare class FinstrongApi {
|
|
|
5
5
|
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
calculateHealthScore: () => Promise<any>;
|
|
7
7
|
getAverageHealthScores: () => Promise<any>;
|
|
8
|
+
getDebtSpend: () => Promise<any>;
|
|
9
|
+
getIncome: () => Promise<any>;
|
|
10
|
+
getMonthlySummaries: () => Promise<any>;
|
|
8
11
|
getHealthScoreChangeReports: (startDate: number, endDate: number) => Promise<any>;
|
|
9
12
|
getPeerScore: (birthYear: string) => Promise<any>;
|
|
13
|
+
getSpendingFeeTransactions: () => Promise<any>;
|
|
14
|
+
getStandardSpend: () => Promise<any>;
|
|
10
15
|
}
|
|
@@ -4,8 +4,9 @@ interface ConnectMoreAccountsCardProps {
|
|
|
4
4
|
hasIcon?: boolean;
|
|
5
5
|
buttonText?: string;
|
|
6
6
|
title?: string;
|
|
7
|
+
titleDrawer?: string;
|
|
7
8
|
description?: string;
|
|
8
9
|
sx?: SxProps;
|
|
9
10
|
}
|
|
10
|
-
export declare const ConnectMoreAccountsCard: ({ isDashboard, hasIcon, buttonText, title, description, sx, }: ConnectMoreAccountsCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const ConnectMoreAccountsCard: ({ isDashboard, hasIcon, buttonText, title, titleDrawer, description, sx, }: ConnectMoreAccountsCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CreditOverTimeGraph: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const _default: React.FunctionComponent<{}>;
|
|
3
|
+
export default _default;
|
|
@@ -8,7 +8,7 @@ interface KeyIndicatorsDrawerProps {
|
|
|
8
8
|
loadConnectAccountsCard?: boolean;
|
|
9
9
|
onClose: () => void;
|
|
10
10
|
stickyComponent?: React.ReactNode;
|
|
11
|
-
title?: string;
|
|
11
|
+
title?: string | React.ReactNode;
|
|
12
12
|
}
|
|
13
13
|
declare const _default: React.FunctionComponent<React.PropsWithChildren<KeyIndicatorsDrawerProps>>;
|
|
14
14
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const _default: React.FunctionComponent<{}>;
|
|
3
|
+
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const _default: React.FunctionComponent<{}>;
|
|
3
|
+
export default _default;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { CardStatus } from '../../common/constants/FinStrong';
|
|
3
|
+
import { KeyIndicatorsTabItemType } from '../constants';
|
|
3
4
|
interface KeyIndicatorsTabsItemProps {
|
|
5
|
+
drawerFor: KeyIndicatorsTabItemType;
|
|
4
6
|
title: string;
|
|
5
7
|
description: string;
|
|
6
|
-
cardState:
|
|
7
|
-
stateTitle: string;
|
|
8
|
+
cardState: keyof typeof CardStatus;
|
|
8
9
|
}
|
|
9
10
|
declare const KeyIndicatorsTabsItem: React.FC<KeyIndicatorsTabsItemProps>;
|
|
10
11
|
export default KeyIndicatorsTabsItem;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { KeyIndicatorsTabItemType } from '../constants';
|
|
2
|
+
interface KeyIndicatorsTabItemDrawerProps {
|
|
3
|
+
drawerFor: KeyIndicatorsTabItemType;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: (({ drawerFor, isOpen, onClose, }: KeyIndicatorsTabItemDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const _default: React.FunctionComponent<{}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type ProgressBarStatus = 'GOOD' | 'FAIR' | 'OFF_TRACK' | 'MISSING';
|
|
3
|
+
interface StatusBarDataItem {
|
|
4
|
+
percentage: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ProgressBarProps {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
status: ProgressBarStatus;
|
|
11
|
+
bottomComponent: React.ReactNode;
|
|
12
|
+
statusBarData: StatusBarDataItem[];
|
|
13
|
+
}
|
|
14
|
+
declare const ProgressBar: React.FC<ProgressBarProps>;
|
|
15
|
+
export default ProgressBar;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Transaction } from '../../../common';
|
|
2
|
+
import { StepState } from './OnboardingStepsDrawer';
|
|
3
|
+
interface OnboardingAddMonthlyIncomeProps {
|
|
4
|
+
incomeTransactions: Transaction[];
|
|
5
|
+
setCurrentStep: (step: StepState) => void;
|
|
6
|
+
transaction: Transaction;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: (({ incomeTransactions, setCurrentStep, transaction, }: OnboardingAddMonthlyIncomeProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface OnboardingBirthdayProps {
|
|
2
|
+
selectedDate: number | null | undefined;
|
|
3
|
+
setSelectedDate: (value: number | null | undefined) => void;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: (({ selectedDate, setSelectedDate }: OnboardingBirthdayProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface OnboardingCreditScoreProps {
|
|
2
|
+
creditScore: number;
|
|
3
|
+
setCreditScore: (value: number) => void;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: (({ creditScore, setCreditScore }: OnboardingCreditScoreProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnboardingSteps } from '../../../common/types/Finstrong';
|
|
2
|
+
interface OnboardingStepsDrawerProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
}
|
|
6
|
+
type StepType = 'main' | 'detail';
|
|
7
|
+
export interface StepState {
|
|
8
|
+
step: OnboardingSteps;
|
|
9
|
+
type: StepType;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: (({ isOpen, onClose }: OnboardingStepsDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface OnboardingStepsHeaderProps {
|
|
2
|
+
completeCopy: string;
|
|
3
|
+
primaryText: string;
|
|
4
|
+
secondaryText: string;
|
|
5
|
+
value: number;
|
|
6
|
+
}
|
|
7
|
+
declare const OnboardingStepsHeader: ({ completeCopy, primaryText, secondaryText, value, }: OnboardingStepsHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default OnboardingStepsHeader;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AccountType } from '../../../common';
|
|
3
|
+
interface AccountsProps {
|
|
4
|
+
loadAccounts: AccountType[];
|
|
5
|
+
loadMoreLabel: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: React.FunctionComponent<AccountsProps>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SpringValue } from '@react-spring/web';
|
|
3
|
+
interface BarStyleProps extends React.CSSProperties {
|
|
4
|
+
x?: SpringValue<number>;
|
|
5
|
+
y?: SpringValue<number>;
|
|
6
|
+
}
|
|
7
|
+
interface CustomDoubleBarPlotProps {
|
|
8
|
+
color: string;
|
|
9
|
+
data: DataSet[];
|
|
10
|
+
series: Series;
|
|
11
|
+
style: BarStyleProps;
|
|
12
|
+
}
|
|
13
|
+
interface Series {
|
|
14
|
+
index: number;
|
|
15
|
+
type: number;
|
|
16
|
+
}
|
|
17
|
+
export interface DataSet {
|
|
18
|
+
comparison: number;
|
|
19
|
+
formattedComparison: string;
|
|
20
|
+
formattedMain: string;
|
|
21
|
+
label: string;
|
|
22
|
+
main: number;
|
|
23
|
+
}
|
|
24
|
+
export declare const CustomDoubleBarPlot: ({ color, data, series, style, ...restProps }: CustomDoubleBarPlotProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export {};
|