@mx-cartographer/experiences 7.0.20-alpha.al0 → 7.0.20-alpha.mm0
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 +0 -4
- package/dist/{Account-BW3-oYEs.mjs → Account-DY2axAET.mjs} +1 -1
- package/dist/{AccountDetailsContent-BzD6CDIm.mjs → AccountDetailsContent-Jsg4ZDC1.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Eb3WvBGm.mjs → AccountDetailsHeader-EU_2u2Iq.mjs} +5 -5
- package/dist/{AccountFields-CIz-r3gP.mjs → AccountFields-CSUS7pGn.mjs} +2 -2
- package/dist/{AccountListItem-B-ZjJ4Gp.mjs → AccountListItem-CMYZQg8M.mjs} +3 -3
- package/dist/{AccountStore-BaMynkQT.mjs → AccountStore-CIX2RAmG.mjs} +26 -26
- package/dist/{Accounts-CA-nqAjT.mjs → Accounts-xi9RGRIU.mjs} +1 -1
- package/dist/{BeatApi-DLu87ijw.mjs → BeatApi-D0WcLW3O.mjs} +3 -3
- package/dist/{BeatStore-By4aGoRM.mjs → BeatStore-y6WVs07e.mjs} +17 -17
- package/dist/{BudgetUtil-CeSLAcsl.mjs → BudgetUtil-DmWvHV7C.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-BJ9jlCyt.mjs → CategorySelectorDrawer-BHqOpBNr.mjs} +1 -1
- package/dist/{CategoryStore-BOyzQjQp.mjs → CategoryStore-BfYppD3g.mjs} +4 -4
- package/dist/{ConnectDrawer-phFH6OHt.mjs → ConnectDrawer-CU5dEdrU.mjs} +1 -1
- package/dist/{ConnectionsDrawer-ihxkAi1P.mjs → ConnectionsDrawer-BUJuQrgF.mjs} +2 -2
- package/dist/{CurrencyInput-bEx2Mbd0.mjs → CurrencyInput-BtrNBP3z.mjs} +1 -1
- package/dist/{DebtsStore-VkyMADzd.mjs → DebtsStore-X3cUJZti.mjs} +1 -1
- package/dist/{ExportCsvAction-CbMfQ2Wa.mjs → ExportCsvAction-CUGnEaHw.mjs} +3 -3
- package/dist/{Fetch-CkFKy79O.mjs → Fetch-CJ9cgjgV.mjs} +9 -8
- package/dist/{FinstrongStore-mkALvztw.mjs → FinstrongStore-rC2F4Tq3.mjs} +4 -4
- package/dist/{GoalStore-eSOkI6uE.mjs → GoalStore-CFx47exL.mjs} +6 -6
- package/dist/{Help-KAAMEubC.mjs → Help-CCuoAZT3.mjs} +1 -1
- package/dist/{LineChart-BWWmmJxV.mjs → LineChart-D5uLCys4.mjs} +1 -1
- package/dist/{ListItemAction-DNZZ5fSa.mjs → ListItemAction-Cwadpg85.mjs} +1 -1
- package/dist/{ManageIncome-DcKHpJ9V.mjs → ManageIncome-B91zIeYo.mjs} +4 -4
- package/dist/MerchantStore-h96aTml7.mjs +37 -0
- package/dist/{MicroWidgetContainer-Dxz8uBN9.mjs → MicroWidgetContainer-DwTAjSdX.mjs} +1 -1
- package/dist/{MiniWidgetContainer-CTyjmE1h.mjs → MiniWidgetContainer-CxggrnHk.mjs} +1 -1
- package/dist/{NetWorthStore-B6xF9eGH.mjs → NetWorthStore-CYYTpP9O.mjs} +2 -2
- package/dist/{NotificationSettings-Dhf_u5o-.mjs → NotificationSettings-BhJ2PUkt.mjs} +2 -2
- package/dist/{NotificationStore-DHtSGySy.mjs → NotificationStore-DpV9hXSE.mjs} +8 -4
- package/dist/{OriginalBalanceAction-DepsKiJz.mjs → OriginalBalanceAction-DDMRgIBU.mjs} +3 -3
- package/dist/{RecurringSettings-C9r4s1Cz.mjs → RecurringSettings-CGGFhlhh.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-D62XJtdL.mjs → RecurringTransactionsStore-CXhnipfd.mjs} +20 -16
- package/dist/{SettingsStore-B4gi6oOw.mjs → SettingsStore-CLLqNa_S.mjs} +33 -29
- package/dist/{TransactionApi-DbbcjI2L.mjs → TransactionApi-C0HMGDBV.mjs} +29 -29
- package/dist/{TransactionDetails-bja6hKJk.mjs → TransactionDetails-Bc0iW26I.mjs} +5 -5
- package/dist/{TransactionStore-0tLtBEIC.mjs → TransactionStore-Va_jug-g.mjs} +29 -25
- package/dist/{TrendsStore-WrHxzdbQ.mjs → TrendsStore-DmuQennN.mjs} +1 -1
- package/dist/{User-Dq9Qj764.mjs → User-B9T_314z.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BPEzFZRG.mjs → ViewMoreMicroCard-61VqFx4x.mjs} +5 -2
- package/dist/{WidgetContainer-CdBs9WOZ.mjs → WidgetContainer-CTrp2veH.mjs} +2 -2
- package/dist/accounts/api/AccountApi.d.ts +2 -2
- package/dist/accounts/index.es.js +12 -12
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/api/BudgetsApi.d.ts +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/api/CashflowApi.d.ts +3 -2
- package/dist/cashflow/index.es.js +10 -10
- package/dist/categories/index.es.js +2 -2
- package/dist/common/api/AnalyticsApi.d.ts +2 -2
- package/dist/common/api/AppDataApi.d.ts +2 -2
- package/dist/common/api/BeatApi.d.ts +2 -2
- package/dist/common/api/CategoryApi.d.ts +2 -3
- package/dist/common/api/GlobalCopyApi.d.ts +2 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +2 -1
- package/dist/common/api/NotificationApi.d.ts +2 -2
- package/dist/common/api/ScheduledPaymentsApi.d.ts +3 -2
- package/dist/common/api/UserApi.d.ts +2 -2
- package/dist/common/context/GlobalDataProvider.d.ts +3 -2
- package/dist/common/context/hooks.d.ts +4 -1
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +321 -315
- package/dist/common/stores/GlobalStore.d.ts +2 -1
- package/dist/common/types/Handlers.d.ts +2 -0
- package/dist/common/types/index.d.ts +1 -0
- package/dist/common/utils/Fetch.d.ts +3 -1
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-BDlt8u0n.mjs → exportTransactionsToCSV-ct1RkLbj.mjs} +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +2 -1
- package/dist/finstrong/index.es.js +7 -7
- package/dist/goals/api/GoalApi.d.ts +3 -2
- package/dist/goals/index.es.js +494 -493
- package/dist/help/api/HelpApi.d.ts +2 -2
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-DcS6DyRl.mjs +74 -0
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/api/HoldingApi.d.ts +3 -2
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/api/MerchantApi.d.ts +2 -1
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +2 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -2
- package/dist/recurringtransactions/index.es.js +10 -10
- package/dist/settings/api/SettingsApi.d.ts +3 -2
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/api/TransactionApi.d.ts +3 -2
- package/dist/transactions/index.es.js +14 -14
- package/dist/trends/index.es.js +90 -85
- package/dist/{useCombineEvents-DaDBSR_1.mjs → useCombineEvents-Dbjzfwvo.mjs} +29 -29
- package/package.json +1 -1
- package/dist/MerchantStore-DVH-QOf0.mjs +0 -37
- package/dist/hooks-DkUqN6JE.mjs +0 -71
|
@@ -22,7 +22,7 @@ import { GlobalCopyStore } from './GlobalCopyStore';
|
|
|
22
22
|
import { GlobalUiStore } from './GlobalUiStore';
|
|
23
23
|
import { UserStore } from './UserStore';
|
|
24
24
|
import { Account, Category, Institution, Member } from '../../common';
|
|
25
|
-
import { AppConfig, AppData, Beat, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
|
|
25
|
+
import { AppConfig, AppData, Beat, GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
|
|
26
26
|
interface LoadDataProps {
|
|
27
27
|
accounts?: Account[];
|
|
28
28
|
appData?: AppData;
|
|
@@ -40,6 +40,7 @@ export declare class GlobalStore {
|
|
|
40
40
|
appConfig: AppConfig;
|
|
41
41
|
endpoint: string;
|
|
42
42
|
sessionToken: string;
|
|
43
|
+
onError?: GlobalErrorHandler;
|
|
43
44
|
accountStore: AccountStore;
|
|
44
45
|
appDataStore: AppDataStore;
|
|
45
46
|
analyticsStore: AnalyticsStore;
|
|
@@ -15,6 +15,7 @@ export type { DynamicCopyElement, GlobalCopy } from './GlobalCopy';
|
|
|
15
15
|
export { GoalType, MetaType, TrackType } from './Goal';
|
|
16
16
|
export type { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from './Goal';
|
|
17
17
|
export type { Debt } from './Debt';
|
|
18
|
+
export type { GlobalErrorHandler, GlobalEventHandler } from './Handlers';
|
|
18
19
|
export type { HealthScore, HealthScoreReport, MonthlyHealthScore } from './Finstrong';
|
|
19
20
|
export type { HelpAlertProps, HelpCategory, HelpContentProps, HelpTopic, HelpType, ImageContentProps, InstitutionData, NoImageContentProps, SectionProps, SelectedTopic, Ticket, } from './Help';
|
|
20
21
|
export type { Institution } from './Institution';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { GlobalErrorHandler } from '../types';
|
|
1
2
|
export declare class Fetch {
|
|
2
3
|
endpoint: string;
|
|
3
4
|
headers: Record<string, string>;
|
|
4
|
-
|
|
5
|
+
onError?: GlobalErrorHandler;
|
|
6
|
+
constructor(endpoint: string, token: string, headers?: Record<string, string>, onError?: GlobalErrorHandler);
|
|
5
7
|
get: (url: string) => Promise<any>;
|
|
6
8
|
post: (url: string, data?: any) => Promise<any>;
|
|
7
9
|
put: (url: string, data: any) => Promise<any>;
|
|
@@ -5,7 +5,7 @@ import p from "@mui/material/Unstable_Grid2";
|
|
|
5
5
|
import u from "@mui/material/Skeleton";
|
|
6
6
|
import s from "@mui/material/Stack";
|
|
7
7
|
import B from "@mui/material/styles/useTheme";
|
|
8
|
-
import { l as A, u as v, c as C, a as M, m as D } from "../hooks-
|
|
8
|
+
import { l as A, u as v, c as C, a as M, m as D } from "../hooks-DcS6DyRl.mjs";
|
|
9
9
|
import G from "@mui/material/Paper";
|
|
10
10
|
import { Icon as S, H1 as k, P as F } from "@mxenabled/mxui";
|
|
11
11
|
import { useMediaQuery as W } from "@mui/system";
|
|
@@ -14,7 +14,7 @@ import T from "@mui/material/Button";
|
|
|
14
14
|
import $ from "@mui/material/IconButton";
|
|
15
15
|
import j from "@mui/material/Tooltip";
|
|
16
16
|
import H from "@mui/material/useMediaQuery";
|
|
17
|
-
import { i as R, j as Q } from "../ConnectDrawer-
|
|
17
|
+
import { i as R, j as Q } from "../ConnectDrawer-CU5dEdrU.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
const E = f(() => {
|
|
20
20
|
const e = B(), {
|
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 M, M as Ee, I as Ie } from "../DebtsStore-
|
|
12
|
-
import { a as Nr } from "../DebtsStore-
|
|
11
|
+
import { D as M, M as Ee, I as Ie } from "../DebtsStore-X3cUJZti.mjs";
|
|
12
|
+
import { a as Nr } from "../DebtsStore-X3cUJZti.mjs";
|
|
13
13
|
import { f as P, a as Be } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
14
14
|
import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
|
|
15
|
-
import { G as Me, x as q, u as C, j as z, e as k, c as Z, a as Pe } from "../hooks-
|
|
15
|
+
import { G as Me, x as q, u as C, j as z, e as k, c as Z, a as Pe } from "../hooks-DcS6DyRl.mjs";
|
|
16
16
|
import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { D as te } from "../Drawer-kEE73B87.mjs";
|
|
18
18
|
import { b as A } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { A as ke, u as Fe } from "../AccountDetailsHeader-
|
|
19
|
+
import { A as ke, u as Fe } from "../AccountDetailsHeader-EU_2u2Iq.mjs";
|
|
20
20
|
import Ne 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-CTrp2veH.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 W 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-DDMRgIBU.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-Cwadpg85.mjs";
|
|
34
|
+
import { C as ae } from "../CurrencyInput-BtrNBP3z.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 G } from "../HeaderCell-DjuifqHJ.mjs";
|
|
42
|
-
import { f as Ke } from "../ConnectDrawer-
|
|
42
|
+
import { f as Ke } from "../ConnectDrawer-CU5dEdrU.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 c } from "date-fns/fromUnixTime";
|
|
2
2
|
import { c as u } from "./Category-CevNQ03n.mjs";
|
|
3
3
|
import { f as p, D as m } from "./Dialog-CWW597AF.mjs";
|
|
4
|
-
import { T as g } from "./User-
|
|
4
|
+
import { T as g } from "./User-B9T_314z.mjs";
|
|
5
5
|
function f(n) {
|
|
6
6
|
return new Set(
|
|
7
7
|
n.filter((e) => e.parent_guid !== void 0).map((e) => e.parent_guid)
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
+
import { GlobalErrorHandler } from '../../common/types';
|
|
2
3
|
export declare class FinstrongApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
calculateHealthScore: () => Promise<any>;
|
|
6
7
|
getAverageHealthScores: () => Promise<any>;
|
|
7
8
|
getHealthScoreChangeReports: (startDate: number, endDate: number) => Promise<any>;
|
|
@@ -17,20 +17,20 @@ import Ne from "@mui/material/ListItemText";
|
|
|
17
17
|
import { b } from "../Localization-2MODESHW.mjs";
|
|
18
18
|
import * as ce from "d3";
|
|
19
19
|
import { observer as I } from "mobx-react-lite";
|
|
20
|
-
import { u as S, a as z, w as $, o as Y, c as fe, g as ye, k as Ke } from "../hooks-
|
|
20
|
+
import { u as S, a as z, w as $, o as Y, c as fe, g as ye, k as Ke } from "../hooks-DcS6DyRl.mjs";
|
|
21
21
|
import { L as N } from "../Loader-DUaFpDGv.mjs";
|
|
22
|
-
import { F as No, a as Ko } from "../FinstrongStore-
|
|
22
|
+
import { F as No, a as Ko } from "../FinstrongStore-rC2F4Tq3.mjs";
|
|
23
23
|
import q from "@mui/material/Button";
|
|
24
24
|
import J from "@mui/material/Card";
|
|
25
|
-
import { L as be } from "../LineChart-
|
|
26
|
-
import { j as xe } from "../ConnectDrawer-
|
|
25
|
+
import { L as be } from "../LineChart-D5uLCys4.mjs";
|
|
26
|
+
import { j as xe } from "../ConnectDrawer-CU5dEdrU.mjs";
|
|
27
27
|
import Xe from "@mui/material/Accordion";
|
|
28
28
|
import je from "@mui/material/AccordionDetails";
|
|
29
29
|
import Ue from "@mui/material/AccordionSummary";
|
|
30
30
|
import Ve from "@mui/material/CardHeader";
|
|
31
31
|
import { u as Ye } from "../useDimensions-27p2evRx.mjs";
|
|
32
|
-
import { C as qe } from "../ConnectionsDrawer-
|
|
33
|
-
import { R as Je } from "../RecurringSettings-
|
|
32
|
+
import { C as qe } from "../ConnectionsDrawer-BUJuQrgF.mjs";
|
|
33
|
+
import { R as Je } from "../RecurringSettings-CGGFhlhh.mjs";
|
|
34
34
|
import Qe from "@mui/material/TextField";
|
|
35
35
|
import { u as Ce } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
36
36
|
import { a as Ze } from "../Dialog-CWW597AF.mjs";
|
|
@@ -48,7 +48,7 @@ import ct from "@mui/lab/TimelineConnector";
|
|
|
48
48
|
import lt from "@mui/lab/TimelineContent";
|
|
49
49
|
import dt from "@mui/lab/TimelineDot";
|
|
50
50
|
import pt from "@mui/lab/TimelineSeparator";
|
|
51
|
-
import { W as mt } from "../WidgetContainer-
|
|
51
|
+
import { W as mt } from "../WidgetContainer-CTrp2veH.mjs";
|
|
52
52
|
var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
|
|
53
53
|
const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
|
|
54
54
|
Be,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Fetch,
|
|
1
|
+
import { Fetch, MonthlyCashFlowProfile, RetirementGoalAccount } from '../../common';
|
|
2
|
+
import { GlobalErrorHandler, Goal } from '../../common/types';
|
|
2
3
|
export declare class GoalApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
addGoal: (goal: Goal) => Promise<any>;
|
|
6
7
|
addRetirementGoal: (goal: Goal) => Promise<any>;
|
|
7
8
|
addRetirementGoalAccount: (retirementAccount: RetirementGoalAccount) => Promise<any>;
|