@mx-cartographer/experiences 7.2.22 → 7.2.23
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 +6 -0
- package/dist/{AccountDetailsContent-DIGzsjAD.mjs → AccountDetailsContent-B6ZFRZ8l.mjs} +1 -1
- package/dist/{ManageIncome-B7RqkNz5.mjs → ManageIncome-CXeJPfjE.mjs} +1 -1
- package/dist/{RecurringSettings-CaQJvUPQ.mjs → RecurringSettings-D7476j-N.mjs} +1 -1
- package/dist/{TransactionDetails-gdzlKeDG.mjs → TransactionDetails-Cscyr17P.mjs} +286 -285
- package/dist/accounts/index.es.js +2 -2
- package/dist/budgets/index.es.js +2 -2
- package/dist/cashflow/index.es.js +3 -3
- package/dist/common/index.es.js +260 -250
- package/dist/common/stores/GlobalStore.d.ts +7 -1
- package/dist/finstrong/index.es.js +1 -1
- package/dist/goals/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/spending/index.es.js +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/index.es.js +2 -2
- package/dist/trends/index.es.js +1 -1
- package/package.json +1 -1
|
@@ -36,11 +36,16 @@ interface LoadDataProps {
|
|
|
36
36
|
transactions?: Transaction[];
|
|
37
37
|
userFeatures?: UserFeature[];
|
|
38
38
|
}
|
|
39
|
+
type OnStoreUpdate = (update: ObservedUpdate) => void;
|
|
40
|
+
type ObservedUpdate = {
|
|
41
|
+
transactions: Transaction[];
|
|
42
|
+
};
|
|
39
43
|
export declare class GlobalStore {
|
|
40
44
|
appConfig: AppConfig;
|
|
41
45
|
endpoint: string;
|
|
42
46
|
sessionToken: string;
|
|
43
47
|
onError?: GlobalErrorHandler;
|
|
48
|
+
onStoreUpdate?: OnStoreUpdate;
|
|
44
49
|
accountStore: AccountStore;
|
|
45
50
|
appDataStore: AppDataStore;
|
|
46
51
|
analyticsStore: AnalyticsStore;
|
|
@@ -64,8 +69,9 @@ export declare class GlobalStore {
|
|
|
64
69
|
trendsStore: TrendsStore;
|
|
65
70
|
userStore: UserStore;
|
|
66
71
|
globalUiStore: GlobalUiStore;
|
|
67
|
-
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler);
|
|
72
|
+
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler, onStoreUpdate?: OnStoreUpdate);
|
|
68
73
|
get isInitialized(): boolean;
|
|
74
|
+
emitUpdate: (change: ObservedUpdate) => void;
|
|
69
75
|
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
70
76
|
}
|
|
71
77
|
export {};
|
|
@@ -30,7 +30,7 @@ import Ve from "@mui/material/AccordionSummary";
|
|
|
30
30
|
import Ye from "@mui/material/CardHeader";
|
|
31
31
|
import { u as qe } from "../useDimensions-27p2evRx.mjs";
|
|
32
32
|
import { C as Je } from "../ConnectionsDrawer-BDvVuJQf.mjs";
|
|
33
|
-
import { R as Qe } from "../RecurringSettings-
|
|
33
|
+
import { R as Qe } from "../RecurringSettings-D7476j-N.mjs";
|
|
34
34
|
import Ze from "@mui/material/TextField";
|
|
35
35
|
import { u as Se } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
36
36
|
import { a as et } from "../Dialog-CWW597AF.mjs";
|
package/dist/goals/index.es.js
CHANGED
|
@@ -39,7 +39,7 @@ import ot from "@mui/material/Collapse";
|
|
|
39
39
|
import at from "@mui/material/ListItemIcon";
|
|
40
40
|
import rt from "@mui/material/Checkbox";
|
|
41
41
|
import { u as it, A as st } from "../AccountDetailsHeader-vPzGb1RZ.mjs";
|
|
42
|
-
import { A as lt } from "../AccountDetailsContent-
|
|
42
|
+
import { A as lt } from "../AccountDetailsContent-B6ZFRZ8l.mjs";
|
|
43
43
|
import { u as ct } from "../useAccountDisplayName-jS05A6-6.mjs";
|
|
44
44
|
import Ke from "@mui/material/TextField";
|
|
45
45
|
import { M as dt, I as mt, O as ut } from "../OriginalBalanceAction-CWuVvRq9.mjs";
|
|
@@ -8,8 +8,8 @@ import { startOfToday as ue } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as me } from "date-fns/subDays";
|
|
9
9
|
import ae from "@mui/material/Skeleton";
|
|
10
10
|
import c from "@mui/material/Stack";
|
|
11
|
-
import { R as Ee } from "../RecurringSettings-
|
|
12
|
-
import { M as Gn } from "../RecurringSettings-
|
|
11
|
+
import { R as Ee } from "../RecurringSettings-D7476j-N.mjs";
|
|
12
|
+
import { M as Gn } from "../RecurringSettings-D7476j-N.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Fe } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -41,8 +41,8 @@ import lt from "@mui/material/ListSubheader";
|
|
|
41
41
|
import dt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import ut from "@mui/material/ListItemButton";
|
|
43
43
|
import mt from "@mui/material/ListItemText";
|
|
44
|
-
import { b as pt } from "../ManageIncome-
|
|
45
|
-
import { c as Wn, M as $n, S as Pn } from "../ManageIncome-
|
|
44
|
+
import { b as pt } from "../ManageIncome-CXeJPfjE.mjs";
|
|
45
|
+
import { c as Wn, M as $n, S as Pn } from "../ManageIncome-CXeJPfjE.mjs";
|
|
46
46
|
import { f as A } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
47
47
|
import { D as xe } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as O } from "../Localization-2MODESHW.mjs";
|
|
@@ -12,7 +12,7 @@ import { b as V } from "../CategoryUtil-BR3H5i6n.mjs";
|
|
|
12
12
|
import { b as _ } from "../Category-CevNQ03n.mjs";
|
|
13
13
|
import { Text as y, CategoryIcon as yt, CategoryIconVariants as bt } from "@mxenabled/mxui";
|
|
14
14
|
import { f as v } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
15
|
-
import { c as Ct, T as _t, a as St } from "../TransactionDetails-
|
|
15
|
+
import { c as Ct, T as _t, a as St } from "../TransactionDetails-Cscyr17P.mjs";
|
|
16
16
|
import Tt from "@mui/material/Button";
|
|
17
17
|
import { useTheme as rt } from "@mui/material";
|
|
18
18
|
import { u as E, b as O, m as z, d as st, n as Mt, a as lt, h as Dt, g as xt } from "../hooks-D6XlXHf4.mjs";
|
|
@@ -3,6 +3,7 @@ import { Transaction } from '../../../common';
|
|
|
3
3
|
import { BottomActions, TopActions } from '../../constants/Actions';
|
|
4
4
|
export interface TransactionDetailsProps {
|
|
5
5
|
bottomActions?: BottomActions[];
|
|
6
|
+
canFlagTransaction?: boolean;
|
|
6
7
|
topActions?: TopActions[];
|
|
7
8
|
transaction: Transaction;
|
|
8
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as Ta } from "../TransactionApi-B3Tksf7L.mjs";
|
|
2
|
-
import { u as P, C as Pe, D as $e, M as Ve, d as We, c as Ge, T as Ue, a as Fe } from "../TransactionDetails-
|
|
3
|
-
import { B as Sa, e as xa, b as wa } from "../TransactionDetails-
|
|
2
|
+
import { u as P, C as Pe, D as $e, M as Ve, d as We, c as Ge, T as Ue, a as Fe } from "../TransactionDetails-Cscyr17P.mjs";
|
|
3
|
+
import { B as Sa, e as xa, b as wa } from "../TransactionDetails-Cscyr17P.mjs";
|
|
4
4
|
import { T as M } from "../User-BQUxBeZV.mjs";
|
|
5
5
|
import { O as va } from "../User-BQUxBeZV.mjs";
|
|
6
6
|
import { S as ae, D as ze } from "../TransactionStore-hfOsBbDt.mjs";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -22,7 +22,7 @@ import { H as Ie } from "../HeaderCell-DjuifqHJ.mjs";
|
|
|
22
22
|
import { T as M, b as ft } from "../ViewMoreMicroCard-SCn2wt4i.mjs";
|
|
23
23
|
import { A as _, W as ke } from "../WidgetContainer-EbrN1oIo.mjs";
|
|
24
24
|
import { c as Tt } from "../Category-CevNQ03n.mjs";
|
|
25
|
-
import { a as Ne, T as He } from "../TransactionDetails-
|
|
25
|
+
import { a as Ne, T as He } from "../TransactionDetails-Cscyr17P.mjs";
|
|
26
26
|
import { D as Ce } from "../Drawer-kEE73B87.mjs";
|
|
27
27
|
import { L as Q } from "../Loader-DUaFpDGv.mjs";
|
|
28
28
|
import { useTheme as We } from "@mui/material/styles";
|