@mx-cartographer/experiences 7.2.15-alpha.sms4 → 7.3.0-alpha.sms1

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.
Files changed (62) hide show
  1. package/dist/{Account-vp_TAbGt.mjs → Account-Bxw0_4FU.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-Vj4LO6cx.mjs → AccountDetailsContent-CAM9y39M.mjs} +6 -6
  3. package/dist/{AccountDetailsHeader-Df1JkzYi.mjs → AccountDetailsHeader-JtSX6Uf9.mjs} +4 -4
  4. package/dist/{AccountFields-DUToRRqW.mjs → AccountFields-C9FlatNb.mjs} +2 -2
  5. package/dist/{AccountListItem-CeY_WIpj.mjs → AccountListItem-JFMZROh7.mjs} +7 -7
  6. package/dist/{AccountStore-BkoLK9Tq.mjs → AccountStore-BgNOyMdp.mjs} +74 -100
  7. package/dist/Accounts-BRf_YeTf.mjs +27 -0
  8. package/dist/CategoryStore-yHI0hWmK.mjs +174 -0
  9. package/dist/CategoryUtil-pZRIYOgN.mjs +80 -0
  10. package/dist/{ConnectDrawer-Bw5s6Dw1.mjs → ConnectDrawer-BQNs-hjk.mjs} +9 -9
  11. package/dist/{ConnectionsDrawer-BDvVuJQf.mjs → ConnectionsDrawer-ByGQE7D5.mjs} +3 -3
  12. package/dist/{DebtsStore-BD_XwsI7.mjs → DebtsStore-C9bblOgW.mjs} +1 -1
  13. package/dist/{GoalStore-DZ_Jvsa_.mjs → GoalStore-D-aB35SY.mjs} +151 -111
  14. package/dist/{ManageIncome-B9yGuahc.mjs → ManageIncome-1s_q5W4X.mjs} +3 -3
  15. package/dist/{NetWorthStore-D1NiDUcc.mjs → NetWorthStore-DCsTZpuS.mjs} +2 -2
  16. package/dist/{NotificationStore-C6PH6MKm.mjs → NotificationStore-BxP_P2dA.mjs} +23 -15
  17. package/dist/{RecurringSettings-D9GFcsXV.mjs → RecurringSettings-A_rAGCTP.mjs} +3 -3
  18. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-DK8dWldr.mjs} +3 -3
  19. package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4YOD7_D.mjs} +29 -26
  20. package/dist/{TransactionDetails-BqCr2FTh.mjs → TransactionDetails-oP1eSuiS.mjs} +43 -43
  21. package/dist/TransactionStore-ai3uII_r.mjs +690 -0
  22. package/dist/{WidgetContainer-EbrN1oIo.mjs → WidgetContainer-BHWANqT4.mjs} +1 -1
  23. package/dist/accounts/index.es.js +29 -29
  24. package/dist/accounts/stores/AccountStore.d.ts +25 -22
  25. package/dist/accounts/utils/Accounts.d.ts +2 -1
  26. package/dist/budgets/index.es.js +4 -4
  27. package/dist/budgets/store/BudgetsStore.d.ts +1 -0
  28. package/dist/cashflow/index.es.js +6 -6
  29. package/dist/categories/index.es.js +1 -1
  30. package/dist/categories/stores/CategoryStore.d.ts +5 -1
  31. package/dist/categories/util/CategoryUtil.d.ts +3 -2
  32. package/dist/common/index.es.js +206 -219
  33. package/dist/common/stores/AppDataStore.d.ts +3 -1
  34. package/dist/common/stores/GlobalCopyStore.d.ts +0 -1
  35. package/dist/common/stores/GlobalStore.d.ts +3 -6
  36. package/dist/common/stores/UserStore.d.ts +3 -2
  37. package/dist/common/types/Account.d.ts +9 -6
  38. package/dist/dashboard/index.es.js +1 -1
  39. package/dist/debts/index.es.js +5 -5
  40. package/dist/finstrong/index.es.js +4 -4
  41. package/dist/goals/index.es.js +7 -7
  42. package/dist/goals/stores/GoalStore.d.ts +17 -4
  43. package/dist/help/index.es.js +1 -1
  44. package/dist/investments/index.es.js +2 -2
  45. package/dist/investments/stores/HoldingStore.d.ts +1 -0
  46. package/dist/networth/index.es.js +4 -4
  47. package/dist/notifications/index.es.js +2 -2
  48. package/dist/notifications/stores/NotificationStore.d.ts +3 -1
  49. package/dist/recurringtransactions/index.es.js +8 -8
  50. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +3 -2
  51. package/dist/settings/index.es.js +1 -1
  52. package/dist/spending/index.es.js +3 -3
  53. package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +2 -2
  54. package/dist/transactions/index.es.js +6 -6
  55. package/dist/transactions/stores/TransactionStore.d.ts +21 -77
  56. package/dist/trends/index.es.js +4 -4
  57. package/dist/{useAccountDisplayName-jS05A6-6.mjs → useAccountDisplayName-BUAApBIb.mjs} +1 -1
  58. package/package.json +4 -4
  59. package/dist/Accounts-C1QxUB-e.mjs +0 -9
  60. package/dist/CategoryStore-BCcpI3oJ.mjs +0 -183
  61. package/dist/CategoryUtil-BR3H5i6n.mjs +0 -78
  62. package/dist/TransactionStore-RGu9PZK8.mjs +0 -677
@@ -7,6 +7,7 @@ export declare class AppDataStore {
7
7
  api: AppDataApi;
8
8
  bannerApi: BannerApi;
9
9
  appData: AppData;
10
+ isAppDataLoaded: boolean;
10
11
  banner: Banner;
11
12
  constructor(globalStore: GlobalStore);
12
13
  get appConfig(): AppConfig;
@@ -15,7 +16,8 @@ export declare class AppDataStore {
15
16
  get user(): User;
16
17
  get userCommunicationProfile(): UserCommunicationProfile;
17
18
  get userProfile(): UserProfile;
18
- loadAppData: (appDataOverrides?: AppData) => Promise<void>;
19
+ setAppData: (appData: AppData) => void;
20
+ loadAppData: () => Promise<void>;
19
21
  loadBanner: () => Promise<void>;
20
22
  setUser: (user: User) => User;
21
23
  setUserCommunicationProfile: (profile: UserCommunicationProfile) => UserCommunicationProfile;
@@ -8,7 +8,6 @@ export declare class GlobalCopyStore {
8
8
  featureNamespace: string;
9
9
  isInitialized: boolean;
10
10
  constructor(globalStore: GlobalStore);
11
- initialize: (endpoint: string, token: string) => Promise<void>;
12
11
  loadCopy: () => Promise<void>;
13
12
  getCopy: (namespace: string, translationKey?: string) => Promise<void>;
14
13
  }
@@ -1,6 +1,6 @@
1
1
  import { AccountStore } from '../../accounts';
2
2
  import { AnalyticsStore } from '../../analytics/stores/AnalyticsStore';
3
- import { BeatStore } from '../../insights/store/BeatStore';
3
+ import { BeatStore } from '../../insights';
4
4
  import { BudgetsStore } from '../../budgets/store/BudgetsStore';
5
5
  import { CashflowStore } from '../../cashflow';
6
6
  import { CategoryStore } from '../../categories';
@@ -21,8 +21,7 @@ import { ConnectStore } from './ConnectStore';
21
21
  import { GlobalCopyStore } from './GlobalCopyStore';
22
22
  import { GlobalUiStore } from './GlobalUiStore';
23
23
  import { UserStore } from './UserStore';
24
- import { Account, Category, Institution, Member } from '../../common';
25
- import { AppConfig, AppData, Beat, GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
24
+ import { Account, Category, Institution, Member, AppConfig, AppData, Beat, GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
26
25
  interface LoadDataProps {
27
26
  accounts?: Account[];
28
27
  appData?: AppData;
@@ -64,11 +63,9 @@ export declare class GlobalStore {
64
63
  trendsStore: TrendsStore;
65
64
  userStore: UserStore;
66
65
  globalUiStore: GlobalUiStore;
67
- listeners: any;
68
66
  constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler);
69
67
  get isInitialized(): boolean;
68
+ loadConfigData: () => Promise<void>;
70
69
  loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
71
- subscribe: (listener: any) => () => void;
72
- getSnapshot: () => this;
73
70
  }
74
71
  export {};
@@ -5,11 +5,12 @@ export declare class UserStore {
5
5
  globalStore: GlobalStore;
6
6
  api: UserApi;
7
7
  userFeatures: UserFeature[];
8
+ userFeaturesLoaded: boolean;
8
9
  constructor(globalStore: GlobalStore);
9
- initialize: (endpoint: string, token: string) => Promise<void>;
10
10
  get userProfile(): UserProfile;
11
11
  get user(): User;
12
- loadUserFeatures: (featuresOverrides?: UserFeature[]) => Promise<void>;
12
+ setUserFeatures: (features: UserFeature[]) => void;
13
+ loadUserFeatures: () => Promise<void>;
13
14
  updateUser: (user: User) => Promise<void>;
14
15
  updateUserProfile: (userProfile: UserProfile) => Promise<void>;
15
16
  }
@@ -1,3 +1,4 @@
1
+ import { Institution } from './Institution';
1
2
  export interface Account {
2
3
  account_number?: string;
3
4
  account_subtype?: AccountSubType;
@@ -64,17 +65,20 @@ export interface Account {
64
65
  memberName?: string;
65
66
  connectionStatus?: ConnectionStatus;
66
67
  displayName?: string;
67
- truncatedDisplayName?: string;
68
+ trucatedDisplayName?: string;
68
69
  institutionName?: string;
69
70
  }
70
71
  export interface DetailedAccount extends Account {
71
- institution_name: string;
72
- isEnabled: boolean;
73
- name: string;
72
+ connectionStatus?: ConnectionStatus;
73
+ displayName?: string;
74
+ institutionName?: string;
75
+ member?: Member;
76
+ monthlyBalances?: MonthlyAccountBalance[];
77
+ institution?: Institution;
74
78
  }
75
79
  export interface Member {
76
80
  aggregation_status: number;
77
- connection_status: number;
81
+ connection_status: ConnectionStatusEnums;
78
82
  guid: string;
79
83
  institution_guid: string;
80
84
  institution_name?: string;
@@ -98,7 +102,6 @@ export interface Member {
98
102
  verification_is_enabled: boolean;
99
103
  tax_statement_is_enabled: boolean;
100
104
  successfully_aggregated_at?: number;
101
- connectionStatus?: ConnectionStatus;
102
105
  }
103
106
  export interface MonthlyAccountBalance {
104
107
  account_guid: string;
@@ -14,7 +14,7 @@ import $ from "@mui/material/Button";
14
14
  import H from "@mui/material/IconButton";
15
15
  import R from "@mui/material/Tooltip";
16
16
  import j from "@mui/material/useMediaQuery";
17
- import { k as E, l as Q } from "../ConnectDrawer-Bw5s6Dw1.mjs";
17
+ import { k as E, l as Q } from "../ConnectDrawer-BQNs-hjk.mjs";
18
18
  import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
19
19
  const P = _(() => {
20
20
  const e = D(), {
@@ -8,22 +8,22 @@ 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-BD_XwsI7.mjs";
12
- import { a as Fr } from "../DebtsStore-BD_XwsI7.mjs";
11
+ import { D as B, M as Ee, I as Ie } from "../DebtsStore-C9bblOgW.mjs";
12
+ import { a as Fr } from "../DebtsStore-C9bblOgW.mjs";
13
13
  import { f as M, a as Be } from "../NumberFormatting-Buh7u8Oi.mjs";
14
14
  import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
15
15
  import { G as Me, y as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-D6XlXHf4.mjs";
16
16
  import { u as Y } 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 Ne } from "../AccountDetailsHeader-Df1JkzYi.mjs";
19
+ import { A as ke, u as Ne } from "../AccountDetailsHeader-JtSX6Uf9.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-EbrN1oIo.mjs";
26
+ import { A as T, W as Oe } from "../WidgetContainer-BHWANqT4.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";
@@ -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-Bw5s6Dw1.mjs";
42
+ import { i as Ke } from "../ConnectDrawer-BQNs-hjk.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";
@@ -23,14 +23,14 @@ 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
25
  import { L as be } from "../LineChart-D4GI7nVh.mjs";
26
- import { l as xe } from "../ConnectDrawer-Bw5s6Dw1.mjs";
26
+ import { l as xe } from "../ConnectDrawer-BQNs-hjk.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-BDvVuJQf.mjs";
33
- import { R as Je } from "../RecurringSettings-D9GFcsXV.mjs";
32
+ import { C as qe } from "../ConnectionsDrawer-ByGQE7D5.mjs";
33
+ import { R as Je } from "../RecurringSettings-A_rAGCTP.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-EbrN1oIo.mjs";
51
+ import { W as mt } from "../WidgetContainer-BHWANqT4.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,5 +1,5 @@
1
- import { g as ue, T as d, G as me, a as We, M as J, C as ye, b as Pe } from "../GoalStore-DZ_Jvsa_.mjs";
2
- import { c as Yn, d as Zn } from "../GoalStore-DZ_Jvsa_.mjs";
1
+ import { g as ue, T as d, G as me, a as We, M as J, C as ye, b as Pe } from "../GoalStore-D-aB35SY.mjs";
2
+ import { c as Yn, d as Zn } from "../GoalStore-D-aB35SY.mjs";
3
3
  import { jsxs as r, jsx as e, Fragment as U } from "react/jsx-runtime";
4
4
  import y from "react";
5
5
  import { observer as D } from "mobx-react-lite";
@@ -34,13 +34,13 @@ import { D as j } from "../Drawer-kEE73B87.mjs";
34
34
  import { b as B } from "../Localization-2MODESHW.mjs";
35
35
  import { f as ae, D as re, a as et } from "../Dialog-CWW597AF.mjs";
36
36
  import P from "@mui/material/ListItemAvatar";
37
- import { g as we, A as fe } from "../ConnectDrawer-Bw5s6Dw1.mjs";
37
+ import { g as we, A as fe } from "../ConnectDrawer-BQNs-hjk.mjs";
38
38
  import tt from "@mui/material/Collapse";
39
39
  import nt from "@mui/material/ListItemIcon";
40
40
  import ot from "@mui/material/Checkbox";
41
- import { u as at, A as rt } from "../AccountDetailsHeader-Df1JkzYi.mjs";
42
- import { A as it } from "../AccountDetailsContent-Vj4LO6cx.mjs";
43
- import { u as st } from "../useAccountDisplayName-jS05A6-6.mjs";
41
+ import { u as at, A as rt } from "../AccountDetailsHeader-JtSX6Uf9.mjs";
42
+ import { A as it } from "../AccountDetailsContent-CAM9y39M.mjs";
43
+ import { u as st } from "../useAccountDisplayName-BUAApBIb.mjs";
44
44
  import De from "@mui/material/TextField";
45
45
  import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-CWuVvRq9.mjs";
46
46
  import { getUnixTime as mt } from "date-fns/getUnixTime";
@@ -48,7 +48,7 @@ import { isValid as ut } from "date-fns/isValid";
48
48
  import { AdapterDateFns as _t } from "@mui/x-date-pickers/AdapterDateFnsV3";
49
49
  import { DatePicker as pt } from "@mui/x-date-pickers";
50
50
  import { LocalizationProvider as ht } from "@mui/x-date-pickers/LocalizationProvider";
51
- import { A as Y, W as gt } from "../WidgetContainer-EbrN1oIo.mjs";
51
+ import { A as Y, W as gt } from "../WidgetContainer-BHWANqT4.mjs";
52
52
  import { L as Ke } from "../Loader-DUaFpDGv.mjs";
53
53
  import { E as bt } from "../EmptyState-DA_lfRBv.mjs";
54
54
  import ft from "@mui/material/Stack/Stack";
@@ -3,23 +3,36 @@ import { Goal, MonthlyCashFlowProfile, RetirementGoalAccount, GlobalStore } from
3
3
  export declare class GoalStore {
4
4
  globalStore: GlobalStore;
5
5
  api: GoalApi;
6
- alert: string;
7
6
  goals: Goal[];
7
+ goalsLoaded: boolean;
8
+ retirementGoals: Goal[];
9
+ retirementGoalsLoaded: boolean;
8
10
  retirementGoalAccounts: RetirementGoalAccount[];
11
+ retirementGoalAccountsLoaded: boolean;
12
+ monthlyCashFlowProfile: MonthlyCashFlowProfile | undefined;
13
+ monthlyCashFlowProfileLoaded: boolean;
9
14
  newRetirementGoalAccounts: RetirementGoalAccount[];
15
+ alert: string;
10
16
  selectedGoal: Goal | undefined;
11
- monthlyCashFlowProfile: MonthlyCashFlowProfile | undefined;
12
- goalsLoaded: boolean;
13
17
  constructor(globalStore: GlobalStore);
18
+ get allGoals(): Goal[];
14
19
  get orderedGoals(): Goal[];
15
20
  get debtGoals(): Goal[];
16
21
  get retirmentGoals(): Goal[];
17
22
  get savingGoals(): Goal[];
18
23
  get ongoingGoalsForMicroWidget(): Goal[];
24
+ setGoals: (goals: Goal[]) => void;
25
+ setRetirementGoals: (goals: Goal[]) => void;
26
+ setRetirementGoalAccounts: (accounts: RetirementGoalAccount[]) => void;
27
+ setMonthlyCashFlowProfile: (profile: MonthlyCashFlowProfile) => void;
28
+ loadGoalData: () => Promise<void>;
29
+ loadGoals: () => Promise<void>;
30
+ loadRetirementGoals: () => Promise<void>;
31
+ loadRetirementGoalAccounts: () => Promise<void>;
32
+ loadMonthlyCashFlowProfile: () => Promise<void>;
19
33
  addGoal: (goal: Goal) => Promise<void>;
20
34
  addRetirementGoal: (goal: Goal) => Promise<void>;
21
35
  addRetirementGoalAccount: (account: RetirementGoalAccount) => Promise<void>;
22
- loadGoals: () => Promise<void>;
23
36
  deleteGoal: (guid: string) => Promise<void>;
24
37
  deleteRetirementGoal: (goal: Goal) => Promise<void>;
25
38
  deleteRetirementGoalAccount: (guid: string) => Promise<void>;
@@ -3,7 +3,7 @@ import { observer as m } from "mobx-react-lite";
3
3
  import { H as s } from "../Help-B6dIcujh.mjs";
4
4
  import { b as p } from "../hooks-D6XlXHf4.mjs";
5
5
  import { L as a } from "../Loader-DUaFpDGv.mjs";
6
- import { W as n } from "../WidgetContainer-EbrN1oIo.mjs";
6
+ import { W as n } from "../WidgetContainer-BHWANqT4.mjs";
7
7
  const x = m(({ onBackClick: o, sx: i }) => {
8
8
  const { isCopyLoaded: e, isInitialized: t } = p();
9
9
  return !e || !t ? /* @__PURE__ */ r(a, {}) : /* @__PURE__ */ r(n, { onBackClick: o, sx: { p: 16 }, children: /* @__PURE__ */ r(s, { sx: i }) });
@@ -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-BDvVuJQf.mjs";
7
+ import { C as ge } from "../ConnectionsDrawer-ByGQE7D5.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";
@@ -17,7 +17,7 @@ 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
19
  import { u as E, g as be, t as H, b as Q, d as se } from "../hooks-D6XlXHf4.mjs";
20
- import { A as z, W as je } from "../WidgetContainer-EbrN1oIo.mjs";
20
+ import { A as z, W as je } from "../WidgetContainer-BHWANqT4.mjs";
21
21
  import { a as ze, f as oe } from "../NumberFormatting-Buh7u8Oi.mjs";
22
22
  import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
23
23
  import le from "@mui/material/styles/useTheme";
@@ -14,6 +14,7 @@ export declare class HoldingStore {
14
14
  [x: string]: number;
15
15
  };
16
16
  get visibleHoldings(): Holding[];
17
+ setHoldings: (holdings: Holding[]) => void;
17
18
  setShowConnectionsWidget: (value: boolean) => void;
18
19
  loadHoldings: () => Promise<void>;
19
20
  setAnalysisType: (analysisType: AnalysisType) => void;
@@ -19,15 +19,15 @@ import { i as ne } from "../DateUtil-BcuH7ErC.mjs";
19
19
  import { C as y } from "../CurrencyText-kyC1aseI.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-D1NiDUcc.mjs";
23
- import { N as Ot } from "../NetWorthStore-D1NiDUcc.mjs";
22
+ import { g as K } from "../NetWorthStore-DCsTZpuS.mjs";
23
+ import { N as Ot } from "../NetWorthStore-DCsTZpuS.mjs";
24
24
  import { Icon as oe } from "@mxenabled/mx-icons";
25
25
  import { f as U } from "../NumberFormatting-Buh7u8Oi.mjs";
26
- import { A as b, W as ke } from "../WidgetContainer-EbrN1oIo.mjs";
26
+ import { A as b, W as ke } from "../WidgetContainer-BHWANqT4.mjs";
27
27
  import { L as O } from "../Loader-DUaFpDGv.mjs";
28
28
  import { M as Ae } from "../MicroWidgetContainer-DpeqN9n3.mjs";
29
29
  import re from "@mui/material/Box";
30
- import { C as Me } from "../ConnectionsDrawer-BDvVuJQf.mjs";
30
+ import { C as Me } from "../ConnectionsDrawer-ByGQE7D5.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 b } from "../ToggleListItem-r0Kx56wF.mjs";
2
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";
3
+ import { s as L } from "../NotificationStore-BxP_P2dA.mjs";
4
+ import { N as Nt, f as St } from "../NotificationStore-BxP_P2dA.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";
@@ -4,9 +4,11 @@ export declare class NotificationStore {
4
4
  api: NotificationApi;
5
5
  isLoading: boolean;
6
6
  notifications: Notification[];
7
- recentNotifications: Notification[];
7
+ notificationsLoaded: boolean;
8
8
  constructor(globalStore: GlobalStore);
9
9
  get newNotifications(): Notification[];
10
+ get recentNotifications(): Notification[];
11
+ setNotifications: (notifications: Notification[]) => void;
10
12
  loadNotifications: () => Promise<void>;
11
13
  markAllAsViewed: () => Promise<void>;
12
14
  updateNotification: (notification: Notification) => Promise<void>;
@@ -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-D9GFcsXV.mjs";
12
- import { M as En } from "../RecurringSettings-D9GFcsXV.mjs";
11
+ import { R as Ee } from "../RecurringSettings-A_rAGCTP.mjs";
12
+ import { M as En } from "../RecurringSettings-A_rAGCTP.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";
@@ -29,10 +29,10 @@ import it from "@mui/material/Badge";
29
29
  import { PickersDay as rt } from "@mui/x-date-pickers/PickersDay";
30
30
  import { I as q } from "../IconBacking-B9oC6uL2.mjs";
31
31
  import { u as D, b as Z, j as I, g as J, q as Oe, d as he, h as fe } from "../hooks-D6XlXHf4.mjs";
32
- import { c as M, a as S, g as Ie, f as ot } from "../RecurringTransactions-ej39mgA6.mjs";
33
- import { T as B } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
34
- import { R as Nn } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
35
- import { A as w, W as at } from "../WidgetContainer-EbrN1oIo.mjs";
32
+ import { d as M, c as S, g as Ie, f as ot } from "../RecurringTransactions-DK8dWldr.mjs";
33
+ import { T as B } from "../RecurringTransactionsStore-C4YOD7_D.mjs";
34
+ import { R as Nn } from "../RecurringTransactionsStore-C4YOD7_D.mjs";
35
+ import { A as w, W as at } from "../WidgetContainer-BHWANqT4.mjs";
36
36
  import st from "@mui/material/Button";
37
37
  import le from "@mui/material/Divider";
38
38
  import ve from "@mui/material/List";
@@ -41,8 +41,8 @@ import ct from "@mui/material/ListSubheader";
41
41
  import lt from "@mui/material/ListItemAvatar";
42
42
  import dt from "@mui/material/ListItemButton";
43
43
  import ut from "@mui/material/ListItemText";
44
- import { b as mt } from "../ManageIncome-B9yGuahc.mjs";
45
- import { c as kn, M as Wn, S as $n } from "../ManageIncome-B9yGuahc.mjs";
44
+ import { b as mt } from "../ManageIncome-1s_q5W4X.mjs";
45
+ import { c as kn, M as Wn, S as $n } from "../ManageIncome-1s_q5W4X.mjs";
46
46
  import { f as L } from "../NumberFormatting-Buh7u8Oi.mjs";
47
47
  import { D as xe } from "../Drawer-kEE73B87.mjs";
48
48
  import { b as N } from "../Localization-2MODESHW.mjs";
@@ -3,12 +3,12 @@ import { RepeatingTransactionsApi } from '../api/RepeatingTransactionsApi';
3
3
  export declare class RecurringTransactionsStore {
4
4
  globalStore: GlobalStore;
5
5
  api: RepeatingTransactionsApi;
6
- transactions: Transaction[];
7
6
  repeatingTransactions: RepeatingTransaction[];
7
+ isDataLoaded: boolean;
8
8
  selectedDay: Date | undefined;
9
9
  dateRange: DateRange;
10
- isDataLoaded: boolean;
11
10
  constructor(globalStore: GlobalStore);
11
+ get detailedRepeatingTransactions(): RepeatingTransaction[];
12
12
  /**
13
13
  * Returns all recurrences built from repeating transactions and filtered by accounts.
14
14
  */
@@ -79,6 +79,7 @@ export declare class RecurringTransactionsStore {
79
79
  * Get the recurrences for the currently selected day.
80
80
  */
81
81
  get selectedDayRecurrences(): Recurrence[] | undefined;
82
+ setRepeatingTransactions: (repeating: RepeatingTransaction[]) => void;
82
83
  /**
83
84
  * Set the date range for filtering recurrences.
84
85
  * @param dateRange - The date range to set.
@@ -42,7 +42,7 @@ import Me from "@mui/material/ListItemIcon";
42
42
  import Ne from "@mui/material/ListItemText";
43
43
  import { D as He } from "../Drawer-kEE73B87.mjs";
44
44
  import { H as Le } from "../Help-B6dIcujh.mjs";
45
- import { W as K } from "../WidgetContainer-EbrN1oIo.mjs";
45
+ import { W as K } from "../WidgetContainer-BHWANqT4.mjs";
46
46
  const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
47
47
  const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
48
48
  first_name: d.first_name,
@@ -8,7 +8,7 @@ import C from "@mui/material/Stack";
8
8
  import N from "@mui/material/Tab";
9
9
  import at from "@mui/material/Tabs";
10
10
  import ht from "@mui/material/styles/useTheme";
11
- import { b as V } from "../CategoryUtil-BR3H5i6n.mjs";
11
+ import { b as V } from "../CategoryUtil-pZRIYOgN.mjs";
12
12
  import { b as S } from "../Category-CevNQ03n.mjs";
13
13
  import { Text as y, CategoryIcon as ft, CategoryIconVariants as yt } from "@mxenabled/mxui";
14
14
  import { f as w } from "../NumberFormatting-Buh7u8Oi.mjs";
@@ -21,14 +21,14 @@ import { D as Tt } from "../Donut-oaQFlbit.mjs";
21
21
  import { L as F } from "../Loader-DUaFpDGv.mjs";
22
22
  import { M as Mt } from "../MiniWidgetContainer-D0gfmbaF.mjs";
23
23
  import { startOfToday as U } from "date-fns/startOfToday";
24
- import { T as Dt, a as xt } from "../TransactionDetails-BqCr2FTh.mjs";
24
+ import { T as Dt, a as xt } from "../TransactionDetails-oP1eSuiS.mjs";
25
25
  import wt from "@mui/material/Collapse";
26
26
  import B from "@mui/material/Divider";
27
27
  import q from "@mui/material/List";
28
28
  import J from "@mui/material/ListItem";
29
29
  import vt from "@mui/material/ListItemButton";
30
30
  import { D as Q } from "../Drawer-kEE73B87.mjs";
31
- import { A as Z, W as It } from "../WidgetContainer-EbrN1oIo.mjs";
31
+ import { A as Z, W as It } from "../WidgetContainer-BHWANqT4.mjs";
32
32
  const j = 5, Et = (n, c, r) => r.reduce((l, a) => {
33
33
  if (a.total > 0) {
34
34
  const i = n.find((s) => s.guid === a.category_guid);
@@ -3,5 +3,5 @@ import { Transaction } from '../../../../../common';
3
3
  interface DateActionProps {
4
4
  transaction: Transaction;
5
5
  }
6
- declare const _default: React.FunctionComponent<DateActionProps>;
7
- export default _default;
6
+ declare const DateAction: React.FC<DateActionProps>;
7
+ export default DateAction;
@@ -1,10 +1,10 @@
1
1
  import { T as Aa } from "../TransactionApi-B3Tksf7L.mjs";
2
- import { u as P, C as Pe, D as $e, M as Ve, c as We, T as Ge, a as Ue } from "../TransactionDetails-BqCr2FTh.mjs";
3
- import { B as xa, d as wa, b as Ia } from "../TransactionDetails-BqCr2FTh.mjs";
2
+ import { u as P, C as Pe, D as $e, M as Ve, c as We, T as Ge, a as Ue } from "../TransactionDetails-oP1eSuiS.mjs";
3
+ import { B as xa, d as wa, b as Ia } from "../TransactionDetails-oP1eSuiS.mjs";
4
4
  import { T as M } from "../User-BQUxBeZV.mjs";
5
5
  import { O as Da } from "../User-BQUxBeZV.mjs";
6
- import { S as ae, D as Fe } from "../TransactionStore-RGu9PZK8.mjs";
7
- import { T as Ea } from "../TransactionStore-RGu9PZK8.mjs";
6
+ import { S as ae, D as Fe } from "../TransactionStore-ai3uII_r.mjs";
7
+ import { T as Ea } from "../TransactionStore-ai3uII_r.mjs";
8
8
  import { e as ze } from "../exportTransactionsToCSV-7bVS7KXf.mjs";
9
9
  import { E as Ma } from "../ExportCsvAction-sX8Rg4Ov.mjs";
10
10
  import { jsxs as _, jsx as e } from "react/jsx-runtime";
@@ -26,7 +26,7 @@ import { getUnixTime as rt } from "date-fns/getUnixTime";
26
26
  import { startOfMonth as st } from "date-fns/startOfMonth";
27
27
  import { startOfToday as K } from "date-fns/startOfToday";
28
28
  import it from "@mui/material/styles/useTheme";
29
- import { l as ct } from "../ConnectDrawer-Bw5s6Dw1.mjs";
29
+ import { l as ct } from "../ConnectDrawer-BQNs-hjk.mjs";
30
30
  import lt from "@mui/material/Divider";
31
31
  import dt from "@mui/material/MenuItem";
32
32
  import ut from "@mui/material/RadioGroup";
@@ -35,7 +35,7 @@ import { C as _t } from "../CurrencyInput-DUsQbkXb.mjs";
35
35
  import { a as pt, u as gt } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
36
36
  import { b as q } from "../Localization-2MODESHW.mjs";
37
37
  import { u as ht } from "../useAriaLive-B3_pRUio.mjs";
38
- import { A, W as ft } from "../WidgetContainer-EbrN1oIo.mjs";
38
+ import { A, W as ft } from "../WidgetContainer-BHWANqT4.mjs";
39
39
  import { u as Ct } from "../useScreenSize-B6JyS_Lj.mjs";
40
40
  import { S as yt } from "../SearchBox-B2_zLv8-.mjs";
41
41
  import { D as oe } from "../Drawer-kEE73B87.mjs";
@@ -1,4 +1,4 @@
1
- import { BeatApi, TransactionType, Beat, GlobalStore, Tag, Tagging, Transaction, TransactionRule } from '../../common';
1
+ import { BeatApi, Beat, GlobalStore, Tag, Tagging, Transaction, TransactionRule } from '../../common';
2
2
  import { TransactionApi } from '../api/TransactionApi';
3
3
  import { UiStore } from './UiStore';
4
4
  export type TransactionFilter = {
@@ -17,103 +17,47 @@ export declare class TransactionStore {
17
17
  api: TransactionApi;
18
18
  beatApi: BeatApi;
19
19
  associatedBeats: Beat[];
20
+ associatedBeatsLoaded: boolean;
21
+ transactions: Transaction[];
22
+ transactionsLoaded: boolean;
23
+ taggings: Tagging[];
24
+ taggingsLoaded: boolean;
25
+ tags: Tag[];
26
+ tagsLoaded: boolean;
27
+ transactionRules: TransactionRule[];
28
+ transactionRulesLoaded: boolean;
20
29
  cachedStartDate: Date;
21
30
  filter: TransactionFilter;
22
31
  isLoading: boolean;
23
- rawTransactions: Transaction[];
24
32
  sortColumn: string;
25
33
  sortDirection: string;
26
- taggings: Tagging[];
27
- tags: Tag[];
28
- transactionRules: TransactionRule[];
29
34
  onAnalyticEvent: (event: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
30
35
  constructor(globalStore: GlobalStore);
31
- loadTransactionData: ({ associatedBeats, transactionRules, transactions, }?: {
32
- associatedBeats?: Beat[];
33
- taggings?: Tagging[];
34
- tags?: Tag[];
35
- transactionRules?: TransactionRule[];
36
- transactions?: Transaction[];
37
- }) => Promise<void>;
36
+ loadTransactionData: () => Promise<void>;
37
+ get isTransactionDataLoaded(): boolean;
38
38
  get sortedTransactions(): Transaction[];
39
39
  get sortedTransactionsWithSplits(): Transaction[];
40
- get transactions(): Transaction[];
40
+ get detailedTransactions(): Transaction[];
41
+ setAssociatedBeats: (beats: Beat[]) => void;
42
+ setTaggings: (taggings: Tagging[]) => void;
43
+ setTags: (tags: Tag[]) => void;
44
+ setTransactionRules: (transactionRules: TransactionRule[]) => void;
45
+ setTransactions: (transactions: Transaction[]) => void;
41
46
  addTag: (name: string) => Promise<void>;
42
47
  addTagging: (tagGuid: string, transactionGuid: string) => Promise<void>;
43
48
  addOrUpdateTransactionRule: (categoryGuid: string, transaction: Transaction) => Promise<void>;
44
49
  addTransaction: (transaction: Transaction) => Promise<void>;
45
- augmentTransactions: (transactions: Transaction[]) => {
46
- account: string;
47
- accountIsClosed: boolean;
48
- accountIsHidden: boolean;
49
- category: string;
50
- isIncome: boolean;
51
- isPending: boolean;
52
- number: string;
53
- payee: string;
54
- tags: string[];
55
- guid: string;
56
- account_guid: string;
57
- amount: number;
58
- attachment_guid?: string | null;
59
- category_guid?: string;
60
- check_number?: string | null;
61
- currency_code: string | null;
62
- date: number;
63
- description: string;
64
- duplicate: boolean;
65
- external_guid?: string | null;
66
- feed_attachment_guid?: string | null;
67
- feed_description: string;
68
- feed_localized_description?: string | null;
69
- feed_posted_date?: number | null;
70
- feed_status: import('../../common').TransactionStatus | null;
71
- feed_transaction_date: number | null;
72
- flags?: number | null;
73
- has_been_split: boolean;
74
- has_been_viewed: boolean;
75
- is_cleared: boolean;
76
- is_flagged: boolean;
77
- is_hidden: boolean;
78
- is_international?: boolean | null;
79
- is_manual: boolean;
80
- is_personal: boolean;
81
- is_reimbursable: boolean;
82
- is_subscription: boolean;
83
- is_void: boolean;
84
- localized_description?: string | null;
85
- localized_memo?: string | null;
86
- memo?: string | null;
87
- metadata?: string | null;
88
- merchant_guid?: string | null;
89
- parent_guid?: string | null;
90
- posted_date?: number | null;
91
- reference?: string | null;
92
- revision: number;
93
- repeating_transaction_guid?: string | null;
94
- scheduled_payment_guid?: string | null;
95
- top_level_category_guid?: string;
96
- transaction_type: TransactionType;
97
- user_date?: number | null;
98
- user_guid: string;
99
- user_transaction_rule_guid?: string | null;
100
- is_duplicate: boolean;
101
- feed_transacted_at: number | null;
102
- }[];
103
- getTransactionData: () => {};
104
- loadAssociatedBeats: (fromDate?: Date, beatsOverride?: Beat[]) => Promise<void>;
50
+ loadAssociatedBeats: (fromDate?: Date) => Promise<void>;
105
51
  loadTags: () => Promise<void>;
106
52
  loadTaggings: () => Promise<void>;
107
- loadTransactionRules: (transactionRulesOverrides?: TransactionRule[]) => Promise<void>;
108
- loadTransactions: (startDate?: Date, endDate?: Date, transactionsOverrides?: Transaction[]) => Promise<void>;
109
- loadTransactionsByDateRange: (endDate: number, startDate: number) => Promise<void>;
53
+ loadTransactionRules: () => Promise<void>;
54
+ loadTransactions: (startDate?: Date) => Promise<void>;
110
55
  modifyTransactionByAccountGuid: (guid: string, updates: Partial<Transaction>) => void;
111
56
  removeTag: (tagGuid: string) => Promise<void>;
112
57
  removeTagging: (taggingGuid: string) => Promise<void>;
113
58
  removeTransaction: (transactionGuid: string) => Promise<void>;
114
59
  setFilter: (filter: TransactionFilter) => void;
115
60
  setIsLoading: (isLoading: boolean) => boolean;
116
- setSortData: (sortColumn: string, sortDirection: string) => void;
117
61
  splitTransaction: (transaction: Transaction, splits: Transaction[]) => Promise<void>;
118
62
  unSplitTransaction: (guid: string) => Promise<void>;
119
63
  updateTaggings: (tagGuids: string[], transactionGuid: string) => Promise<void>;