@mx-cartographer/experiences 7.0.32-alpha-recurring-transactions-navigation-issue-ram2 → 7.0.33
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 +4 -0
- package/dist/{Account-CK-DrCEa.mjs → Account-DeMa6XJz.mjs} +1 -1
- package/dist/{AccountDetailsContent-BGXM8acm.mjs → AccountDetailsContent-BwTOak3W.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Dwk01nsY.mjs → AccountDetailsHeader-BCW4d-j4.mjs} +5 -5
- package/dist/{AccountFields-5i77eFJ6.mjs → AccountFields-B-igjxt-.mjs} +2 -2
- package/dist/{AccountListItem-BiST9IgK.mjs → AccountListItem-DAF9c7_x.mjs} +3 -3
- package/dist/{AccountStore-DiGbJBUT.mjs → AccountStore-Bzy6rKGo.mjs} +26 -26
- package/dist/{Accounts-BBkQjUmS.mjs → Accounts-DNMSlq9A.mjs} +1 -1
- package/dist/{BeatApi-DLu87ijw.mjs → BeatApi-DhJpgCLz.mjs} +3 -3
- package/dist/{BeatStore-By4aGoRM.mjs → BeatStore-IBnXd4YK.mjs} +17 -17
- package/dist/{BudgetUtil-D5jO0box.mjs → BudgetUtil-Iw9hUxhI.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-joMax4Fb.mjs → CategorySelectorDrawer-CMorcKFW.mjs} +1 -1
- package/dist/{CategoryStore-BOyzQjQp.mjs → CategoryStore-BCcpI3oJ.mjs} +4 -4
- package/dist/{ConnectDrawer-D86nRDxQ.mjs → ConnectDrawer-jeSmGg38.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BkNr5Up0.mjs → ConnectionsDrawer-hdOVHICr.mjs} +2 -2
- package/dist/{CurrencyInput-BkflFU_-.mjs → CurrencyInput-C0wTgNV6.mjs} +1 -1
- package/dist/{DebtsStore-qrqY9Abz.mjs → DebtsStore-C2OfwE0t.mjs} +1 -1
- package/dist/{ExportCsvAction-DRfdZis1.mjs → ExportCsvAction-BlKpQTTL.mjs} +3 -3
- package/dist/{Fetch-CkFKy79O.mjs → Fetch-87LIQbEA.mjs} +11 -10
- package/dist/{FinstrongStore-mkALvztw.mjs → FinstrongStore-F2c607dj.mjs} +4 -4
- package/dist/{GoalStore-BQRcowCN.mjs → GoalStore-D2A2Lqd5.mjs} +6 -6
- package/dist/{Help-B3dFeYi2.mjs → Help-DwKXfnqC.mjs} +1 -1
- package/dist/{LineChart-Dyps2sOy.mjs → LineChart-DNC5UEt4.mjs} +1 -1
- package/dist/{ListItemAction-BgKx_n6d.mjs → ListItemAction-Dt9A2GQk.mjs} +1 -1
- package/dist/{ManageIncome-Byw3lVtR.mjs → ManageIncome-C0CbczlY.mjs} +4 -4
- package/dist/MerchantStore-DrFvsUyy.mjs +37 -0
- package/dist/{MicroWidgetContainer-DPDsZIiS.mjs → MicroWidgetContainer-DVRe-MJs.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BzW7V_04.mjs → MiniWidgetContainer-C_N1u9ad.mjs} +1 -1
- package/dist/{NetWorthStore-DWG9Mkuu.mjs → NetWorthStore-CD4WWdXC.mjs} +2 -2
- package/dist/{NotificationSettings-B9wNyWEL.mjs → NotificationSettings-CtbJFbrv.mjs} +3 -3
- package/dist/{NotificationStore-DHtSGySy.mjs → NotificationStore-C6PH6MKm.mjs} +8 -4
- package/dist/{OriginalBalanceAction-B--pIAF0.mjs → OriginalBalanceAction-CqQ5j4OW.mjs} +3 -3
- package/dist/{RecurringSettings-ClbdFNWX.mjs → RecurringSettings-DR9KuVEN.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-D62XJtdL.mjs → RecurringTransactionsStore-DeLXfuC4.mjs} +20 -16
- package/dist/{SettingsStore-B0kRTFjD.mjs → SettingsStore-Dc34Tzx8.mjs} +33 -29
- package/dist/{TransactionApi-DbbcjI2L.mjs → TransactionApi-B3Tksf7L.mjs} +29 -29
- package/dist/{TransactionDetails-C4PW8SRL.mjs → TransactionDetails-BafSm7_T.mjs} +5 -5
- package/dist/{TransactionStore-CZOvxcSw.mjs → TransactionStore-C4LPHwzx.mjs} +29 -25
- package/dist/{TrendsStore-pvzHAX6B.mjs → TrendsStore-BM-JjAs5.mjs} +1 -1
- package/dist/{User-D-O9EHMb.mjs → User-BYkzrOdM.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-DFAY0tA8.mjs → ViewMoreMicroCard-C66pzgfS.mjs} +5 -2
- package/dist/{WidgetContainer-CBpf3h1Y.mjs → WidgetContainer-CPBhSP3k.mjs} +2 -2
- package/dist/accounts/api/AccountApi.d.ts +2 -2
- package/dist/accounts/index.es.js +13 -13
- 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 +252 -246
- package/dist/common/stores/GlobalStore.d.ts +3 -2
- 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-zyHeWfQo.mjs → exportTransactionsToCSV-21c0EV3t.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 +11 -11
- package/dist/help/api/HelpApi.d.ts +2 -2
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-BhSK6dal.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 +430 -697
- 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 +11 -11
- package/dist/{useCombineEvents-DaDBSR_1.mjs → useCombineEvents-BUDIR1ba.mjs} +29 -29
- package/dist/{useInsightsEnabled-fGr6xrSj.mjs → useInsightsEnabled-DqM4sFO1.mjs} +1 -1
- package/package.json +1 -1
- package/dist/MerchantStore-DVH-QOf0.mjs +0 -37
- package/dist/hooks-DlI63qSB.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;
|
|
@@ -63,7 +64,7 @@ export declare class GlobalStore {
|
|
|
63
64
|
trendsStore: TrendsStore;
|
|
64
65
|
userStore: UserStore;
|
|
65
66
|
globalUiStore: GlobalUiStore;
|
|
66
|
-
constructor(appConfig?: AppConfig, endpoint?: string);
|
|
67
|
+
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler);
|
|
67
68
|
get isInitialized(): boolean;
|
|
68
69
|
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
69
70
|
}
|
|
@@ -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 { e as A, u as v, c as C, a as M, m as D } from "../hooks-
|
|
8
|
+
import { e as A, u as v, c as C, a as M, m as D } from "../hooks-BhSK6dal.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-jeSmGg38.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-C2OfwE0t.mjs";
|
|
12
|
+
import { a as Nr } from "../DebtsStore-C2OfwE0t.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, k as z, f as k, c as Z, a as Pe } from "../hooks-
|
|
15
|
+
import { G as Me, x as q, u as C, k as z, f as k, c as Z, a as Pe } from "../hooks-BhSK6dal.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-BCW4d-j4.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-CPBhSP3k.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-CqQ5j4OW.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-Dt9A2GQk.mjs";
|
|
34
|
+
import { C as ae } from "../CurrencyInput-C0wTgNV6.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-jeSmGg38.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
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-BYkzrOdM.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)
|
|
@@ -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, h as ye, l as Ke } from "../hooks-
|
|
20
|
+
import { u as S, a as z, w as $, o as Y, c as fe, h as ye, l as Ke } from "../hooks-BhSK6dal.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-F2c607dj.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-DNC5UEt4.mjs";
|
|
26
|
+
import { j as xe } from "../ConnectDrawer-jeSmGg38.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-hdOVHICr.mjs";
|
|
33
|
+
import { R as Je } from "../RecurringSettings-DR9KuVEN.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-CPBhSP3k.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>;
|
package/dist/goals/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as ue, T as m, G as _e, a as We, M as q, C as Ae, b as Ve } from "../GoalStore-
|
|
2
|
-
import { c as Un, d as Yn } from "../GoalStore-
|
|
1
|
+
import { g as ue, T as m, G as _e, a as We, M as q, C as Ae, b as Ve } from "../GoalStore-D2A2Lqd5.mjs";
|
|
2
|
+
import { c as Un, d as Yn } from "../GoalStore-D2A2Lqd5.mjs";
|
|
3
3
|
import { jsxs as i, jsx as e, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import y from "react";
|
|
5
5
|
import { observer as K } from "mobx-react-lite";
|
|
@@ -17,14 +17,14 @@ import ge from "@mui/material/Unstable_Grid2";
|
|
|
17
17
|
import ae from "@mui/material/Avatar";
|
|
18
18
|
import $e from "@mui/material/CardHeader";
|
|
19
19
|
import { Payments as Re, NoteStack as Ee, Person as ve, ChevronRight as M, DragHandle as Xe, CheckCircle as Ue, Icon as fe, ExpandLess as Ye, ExpandMore as Ze, AddBox as xe, Trophy as qe } from "@mxenabled/mx-icons";
|
|
20
|
-
import { u as T, k as x, c as j, o as Ie, f as Ge, m as Je, a as Ne } from "../hooks-
|
|
20
|
+
import { u as T, k as x, c as j, o as Ie, f as Ge, m as Je, a as Ne } from "../hooks-BhSK6dal.mjs";
|
|
21
21
|
import { u as be } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { f as v } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
23
23
|
import { S as Qe } from "../StatusBar-BK_uYHAB.mjs";
|
|
24
24
|
import E from "@mui/material/Divider";
|
|
25
25
|
import L from "@mui/material/List";
|
|
26
|
-
import { L as Q } from "../ListItemAction-
|
|
27
|
-
import { C as ke } from "../CurrencyInput-
|
|
26
|
+
import { L as Q } from "../ListItemAction-Dt9A2GQk.mjs";
|
|
27
|
+
import { C as ke } from "../CurrencyInput-C0wTgNV6.mjs";
|
|
28
28
|
import { fromUnixTime as J } from "date-fns/fromUnixTime";
|
|
29
29
|
import N from "@mui/material/ListItem";
|
|
30
30
|
import k from "@mui/material/ListItemButton";
|
|
@@ -37,24 +37,24 @@ import P from "@mui/material/ListItemAvatar";
|
|
|
37
37
|
import nt from "@mui/material/Collapse";
|
|
38
38
|
import ot from "@mui/material/ListItemIcon";
|
|
39
39
|
import at from "@mui/material/Checkbox";
|
|
40
|
-
import { A as ye } from "../ConnectDrawer-
|
|
41
|
-
import { u as rt, A as it } from "../AccountDetailsHeader-
|
|
42
|
-
import { A as st } from "../AccountDetailsContent-
|
|
40
|
+
import { A as ye } from "../ConnectDrawer-jeSmGg38.mjs";
|
|
41
|
+
import { u as rt, A as it } from "../AccountDetailsHeader-BCW4d-j4.mjs";
|
|
42
|
+
import { A as st } from "../AccountDetailsContent-BwTOak3W.mjs";
|
|
43
43
|
import we from "@mui/material/TextField";
|
|
44
|
-
import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-
|
|
44
|
+
import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-CqQ5j4OW.mjs";
|
|
45
45
|
import { getUnixTime as mt } from "date-fns/getUnixTime";
|
|
46
46
|
import { isValid as _t } from "date-fns/isValid";
|
|
47
47
|
import { AdapterDateFns as ut } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
48
48
|
import { DatePicker as pt } from "@mui/x-date-pickers";
|
|
49
49
|
import { LocalizationProvider as ht } from "@mui/x-date-pickers/LocalizationProvider";
|
|
50
50
|
import { E as bt } from "../EmptyState-C0lr9E5T.mjs";
|
|
51
|
-
import { A as Y, W as gt } from "../WidgetContainer-
|
|
51
|
+
import { A as Y, W as gt } from "../WidgetContainer-CPBhSP3k.mjs";
|
|
52
52
|
import { L as Ke } from "../Loader-DUaFpDGv.mjs";
|
|
53
53
|
import ft from "@mui/material/Stack/Stack";
|
|
54
54
|
import yt from "@mui/material/Box";
|
|
55
55
|
import At from "@mui/material/styles/useTheme";
|
|
56
56
|
import { S as Tt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
57
|
-
import { M as Ct } from "../MicroWidgetContainer-
|
|
57
|
+
import { M as Ct } from "../MicroWidgetContainer-DVRe-MJs.mjs";
|
|
58
58
|
function de({ title: t, subtitle: n }) {
|
|
59
59
|
return /* @__PURE__ */ i(g, { children: [
|
|
60
60
|
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: t }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
-
import { Ticket } from '../../common/types
|
|
2
|
+
import { GlobalErrorHandler, Ticket } from '../../common/types';
|
|
3
3
|
export declare class HelpApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
createSupportTicket: (ticket: Ticket) => Promise<any>;
|
|
7
7
|
}
|
package/dist/help/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { observer as t } from "mobx-react-lite";
|
|
3
|
-
import { H as m } from "../Help-
|
|
4
|
-
import { a as s } from "../hooks-
|
|
3
|
+
import { H as m } from "../Help-DwKXfnqC.mjs";
|
|
4
|
+
import { a as s } from "../hooks-BhSK6dal.mjs";
|
|
5
5
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
6
|
-
import { W as a } from "../WidgetContainer-
|
|
6
|
+
import { W as a } from "../WidgetContainer-CPBhSP3k.mjs";
|
|
7
7
|
const x = t(({ sx: o }) => {
|
|
8
8
|
const { isCopyLoaded: i, isInitialized: e } = s();
|
|
9
9
|
return !i || !e ? /* @__PURE__ */ r(p, {}) : /* @__PURE__ */ r(a, { sx: { p: 16 }, children: /* @__PURE__ */ r(m, { sx: o }) });
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import r from "react";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
const a = r.createContext(null), b = ({
|
|
4
|
+
children: t,
|
|
5
|
+
globalStore: e,
|
|
6
|
+
onError: s,
|
|
7
|
+
onEvent: l,
|
|
8
|
+
onPageView: u
|
|
9
|
+
}) => /* @__PURE__ */ n(
|
|
10
|
+
a.Provider,
|
|
11
|
+
{
|
|
12
|
+
value: {
|
|
13
|
+
globalStore: e,
|
|
14
|
+
onError: s,
|
|
15
|
+
onEvent: l,
|
|
16
|
+
onPageView: u,
|
|
17
|
+
children: t
|
|
18
|
+
},
|
|
19
|
+
children: t
|
|
20
|
+
}
|
|
21
|
+
), S = r.createContext(null), C = ({ children: t, availableHeight: e, availableWidth: s }) => /* @__PURE__ */ n(
|
|
22
|
+
S.Provider,
|
|
23
|
+
{
|
|
24
|
+
value: {
|
|
25
|
+
availableHeight: e,
|
|
26
|
+
availableWidth: s,
|
|
27
|
+
children: t
|
|
28
|
+
},
|
|
29
|
+
children: t
|
|
30
|
+
}
|
|
31
|
+
), o = (t = "useGlobalStore") => {
|
|
32
|
+
const e = r.useContext(a);
|
|
33
|
+
if (!e)
|
|
34
|
+
throw new Error(`${t}() must be used within the GlobalDataContext`);
|
|
35
|
+
return e;
|
|
36
|
+
}, d = () => o("useAccountStore").globalStore.accountStore, p = () => o("useAppConfig").globalStore.appDataStore.appConfig, h = () => o("useAnalyticsStore").globalStore.analyticsStore, x = () => o("useBudgetsStore").globalStore.budgetsStore, f = () => o("useCashflowStore").globalStore.cashflowStore, w = () => o("useCategoryStore").globalStore.categoryStore, G = () => o("useConnectStore").globalStore.connectStore, v = () => o("useDebtsStore").globalStore.debtsStore, y = () => o("useFinstrongStore").globalStore.finstrongStore, W = () => o("useGlobalStore").globalStore, m = () => o("useGlobalUiStore").globalStore.globalUiStore, E = () => o("globalCopyStore").globalStore.copyStore.copy, P = () => o("useGoalStore").globalStore.goalStore, A = () => o("useHelpStore").globalStore.helpStore, D = () => o("useHoldingStore").globalStore.holdingStore, T = () => o("useMerchantStore").globalStore.merchantStore, U = () => o("useNetWorthStore").globalStore.netWorthStore, H = () => o("useNotificationStore").globalStore.notificationStore, N = () => o("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, B = () => o("useSettingsStore").globalStore.settingsStore, R = () => o("useTransactionStore").globalStore.transactionStore, V = () => o("useTrendsStore").globalStore.trendsStore, j = () => o("useUserStore").globalStore.userStore, F = () => ({ onError: o().onError }), M = () => ({ onEvent: o().onEvent }), $ = () => ({ onPageView: o().onPageView }), c = (t = "useWidgetContainerContext") => {
|
|
37
|
+
const e = r.useContext(S);
|
|
38
|
+
if (!e)
|
|
39
|
+
throw new Error(`${t}() must be used within the WidgetContainerContext`);
|
|
40
|
+
return e;
|
|
41
|
+
}, k = () => c();
|
|
42
|
+
export {
|
|
43
|
+
$ as A,
|
|
44
|
+
b as B,
|
|
45
|
+
S as C,
|
|
46
|
+
a as G,
|
|
47
|
+
C as W,
|
|
48
|
+
m as a,
|
|
49
|
+
T as b,
|
|
50
|
+
d as c,
|
|
51
|
+
G as d,
|
|
52
|
+
W as e,
|
|
53
|
+
M as f,
|
|
54
|
+
R as g,
|
|
55
|
+
x as h,
|
|
56
|
+
N as i,
|
|
57
|
+
h as j,
|
|
58
|
+
P as k,
|
|
59
|
+
w as l,
|
|
60
|
+
p as m,
|
|
61
|
+
H as n,
|
|
62
|
+
j as o,
|
|
63
|
+
k as p,
|
|
64
|
+
U as q,
|
|
65
|
+
B as r,
|
|
66
|
+
D as s,
|
|
67
|
+
f as t,
|
|
68
|
+
E as u,
|
|
69
|
+
V as v,
|
|
70
|
+
y as w,
|
|
71
|
+
v as x,
|
|
72
|
+
F as y,
|
|
73
|
+
A as z
|
|
74
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Fetch
|
|
1
|
+
import { Fetch } from '../../common';
|
|
2
|
+
import { GlobalErrorHandler, Holding } from '../../common/types';
|
|
2
3
|
export declare class HoldingApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
getHoldings: () => Promise<any>;
|
|
6
7
|
updateHoldings: (holding: Holding) => Promise<any>;
|
|
7
8
|
}
|
|
@@ -4,7 +4,7 @@ import { observer as P } from "mobx-react-lite";
|
|
|
4
4
|
import _ from "@mui/material/Stack";
|
|
5
5
|
import Ee from "@mui/material/Tab";
|
|
6
6
|
import Ge from "@mui/material/Tabs";
|
|
7
|
-
import { C as ge } from "../ConnectionsDrawer-
|
|
7
|
+
import { C as ge } from "../ConnectionsDrawer-hdOVHICr.mjs";
|
|
8
8
|
import pe from "@mui/material/useMediaQuery";
|
|
9
9
|
import Me from "@mui/material/Box";
|
|
10
10
|
import Ne from "@mui/material/Collapse";
|
|
@@ -16,8 +16,8 @@ import xe from "@mui/material/ToggleButton";
|
|
|
16
16
|
import ye from "@mui/material/ToggleButtonGroup";
|
|
17
17
|
import { Text as r, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
|
|
18
18
|
import Ue from "@mui/material/Button";
|
|
19
|
-
import { u as E, f as be, s as H, a as Q, c as se } from "../hooks-
|
|
20
|
-
import { A as z, W as je } from "../WidgetContainer-
|
|
19
|
+
import { u as E, f as be, s as H, a as Q, c as se } from "../hooks-BhSK6dal.mjs";
|
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-CPBhSP3k.mjs";
|
|
21
21
|
import { a as ze, f as oe } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
22
22
|
import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import le from "@mui/material/styles/useTheme";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Fetch } from '../../common';
|
|
2
|
+
import { GlobalErrorHandler } from '../../common/types';
|
|
2
3
|
export declare class MerchantApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
getMerchants: (searchValues?: string[], guids?: string[], page?: number, perPage?: number) => Promise<any>;
|
|
6
7
|
getMerchantByGuid: (guid: string) => Promise<any>;
|
|
7
8
|
}
|
|
@@ -12,10 +12,10 @@ import k from "@mui/material/ListItemText";
|
|
|
12
12
|
import A from "@mui/material/Paper";
|
|
13
13
|
import d from "@mui/material/Stack";
|
|
14
14
|
import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
|
|
15
|
-
import { b as v, u as w, a as C } from "../hooks-
|
|
15
|
+
import { b as v, u as w, a as C } from "../hooks-BhSK6dal.mjs";
|
|
16
16
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
17
17
|
import { S as N } from "../SearchBox-B2_zLv8-.mjs";
|
|
18
|
-
import { M as ne } from "../MerchantStore-
|
|
18
|
+
import { M as ne } from "../MerchantStore-DrFvsUyy.mjs";
|
|
19
19
|
const B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, u = 65, P = ({
|
|
20
20
|
height: f = "calc(100dvh - 120px)",
|
|
21
21
|
onSelect: g
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { GlobalEventHandler } from '../../common';
|
|
2
3
|
import { AppStore } from '../stores/AppStore';
|
|
3
4
|
export interface InsightsMicroWidgetContextTypes {
|
|
4
5
|
children: React.ReactNode;
|
|
5
|
-
onEvent:
|
|
6
|
+
onEvent: GlobalEventHandler;
|
|
6
7
|
onPageview: (page: string) => void;
|
|
7
8
|
store: AppStore;
|
|
8
9
|
}
|
|
@@ -3,7 +3,7 @@ export declare const useStore: () => import('..').AppStore;
|
|
|
3
3
|
export declare const useCopyStore: () => import('../stores/CopyStore').CopyStore;
|
|
4
4
|
export declare const useInsightsMicroWidgetStore: () => import('../stores/InsightsMicroWidgetStore').InsightsMicroWidgetStore;
|
|
5
5
|
export declare const useEvent: () => {
|
|
6
|
-
onEvent: (
|
|
6
|
+
onEvent: import('../../common').GlobalEventHandler;
|
|
7
7
|
};
|
|
8
8
|
export declare const usePageview: () => {
|
|
9
9
|
onPageview: (page: string) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-
|
|
1
|
+
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-C66pzgfS.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as AppStore,
|
|
4
4
|
e as BeatCard,
|
|
@@ -3,9 +3,9 @@ import { fromUnixTime as Se } from "date-fns/fromUnixTime";
|
|
|
3
3
|
import { observer as w } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as z } from "@mui/material/styles";
|
|
5
5
|
import { u as Z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
6
|
-
import { p as _e, u as T, c as J, f as Q, a as P, q as ee } from "../hooks-
|
|
6
|
+
import { p as _e, u as T, c as J, f as Q, a as P, q as ee } from "../hooks-BhSK6dal.mjs";
|
|
7
7
|
import { f as we, D as be } from "../Dialog-CWW597AF.mjs";
|
|
8
|
-
import { L as We } from "../LineChart-
|
|
8
|
+
import { L as We } from "../LineChart-DNC5UEt4.mjs";
|
|
9
9
|
import W from "@mui/material/Divider";
|
|
10
10
|
import B from "@mui/material/List";
|
|
11
11
|
import E from "@mui/material/ListSubheader";
|
|
@@ -19,15 +19,15 @@ import { i as ne } from "../DateUtil-BcuH7ErC.mjs";
|
|
|
19
19
|
import { C as y } from "../CurrencyText-YUhH2caW.mjs";
|
|
20
20
|
import { Button as Te, Stack as Le } from "@mui/material";
|
|
21
21
|
import { format as Ne, fromUnixTime as De, differenceInMonths as Ee } from "date-fns";
|
|
22
|
-
import { g as K } from "../NetWorthStore-
|
|
23
|
-
import { N as Ot } from "../NetWorthStore-
|
|
22
|
+
import { g as K } from "../NetWorthStore-CD4WWdXC.mjs";
|
|
23
|
+
import { N as Ot } from "../NetWorthStore-CD4WWdXC.mjs";
|
|
24
24
|
import { Icon as oe } from "@mxenabled/mx-icons";
|
|
25
25
|
import { f as U } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
26
|
-
import { A as b, W as ke } from "../WidgetContainer-
|
|
26
|
+
import { A as b, W as ke } from "../WidgetContainer-CPBhSP3k.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
|
-
import { M as Ae } from "../MicroWidgetContainer-
|
|
28
|
+
import { M as Ae } from "../MicroWidgetContainer-DVRe-MJs.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
30
|
-
import { C as Me } from "../ConnectionsDrawer-
|
|
30
|
+
import { C as Me } from "../ConnectionsDrawer-hdOVHICr.mjs";
|
|
31
31
|
import He from "@mui/material/Collapse";
|
|
32
32
|
import V from "@mui/material/ListItemIcon";
|
|
33
33
|
import ie from "@mui/material/styles/useTheme";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as f, B as C } from "../Notification-aGCHxikw.mjs";
|
|
2
|
-
import { A as _ } from "../Fetch-
|
|
3
|
-
import { s as L } from "../NotificationStore-
|
|
4
|
-
import { N as Nt, f as St } from "../NotificationStore-
|
|
2
|
+
import { A as _ } from "../Fetch-87LIQbEA.mjs";
|
|
3
|
+
import { s as L } from "../NotificationStore-C6PH6MKm.mjs";
|
|
4
|
+
import { N as Nt, f as St } from "../NotificationStore-C6PH6MKm.mjs";
|
|
5
5
|
import { jsx as t, jsxs as d, Fragment as x } from "react/jsx-runtime";
|
|
6
6
|
import k, { useEffect as A } from "react";
|
|
7
7
|
import { observer as p } from "mobx-react-lite";
|
|
@@ -11,13 +11,13 @@ import B from "@mui/material/List";
|
|
|
11
11
|
import { Text as m, InstitutionLogo as T, CategoryIcon as R } from "@mxenabled/mxui";
|
|
12
12
|
import { h as I } from "../DateUtil-BcuH7ErC.mjs";
|
|
13
13
|
import { useTheme as O, Card as G } from "@mui/material";
|
|
14
|
-
import { c as E, h as j, u as g, n as N, a as S, m as z } from "../hooks-
|
|
14
|
+
import { c as E, h as j, u as g, n as N, a as S, m as z } from "../hooks-BhSK6dal.mjs";
|
|
15
15
|
import { Icon as U, Settings as F } from "@mxenabled/mx-icons";
|
|
16
16
|
import P from "@mui/material/Button";
|
|
17
17
|
import W from "@mui/material/Stack";
|
|
18
18
|
import { L as w } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import $ from "@mui/material/IconButton";
|
|
20
|
-
import { N as H } from "../NotificationSettings-
|
|
20
|
+
import { N as H } from "../NotificationSettings-CtbJFbrv.mjs";
|
|
21
21
|
import { D as b } from "../Drawer-kEE73B87.mjs";
|
|
22
22
|
const yt = (e) => {
|
|
23
23
|
switch (e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Fetch, RepeatingTransaction } from '../../common';
|
|
1
|
+
import { Fetch, GlobalErrorHandler, RepeatingTransaction } from '../../common';
|
|
2
2
|
export declare class RepeatingTransactionsApi {
|
|
3
3
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
4
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
5
|
addRepeatingTransaction: (repeatingTransaction: RepeatingTransaction) => Promise<any>;
|
|
6
6
|
getRepeatingTransactions: () => Promise<any>;
|
|
7
7
|
updateRepeatingTransaction: (repeatingTransaction: RepeatingTransaction) => Promise<any>;
|