@mx-cartographer/experiences 7.3.2 → 7.4.0

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 (131) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-YwUMFz93.mjs → Account-01wOyrH1.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-BgCST7mK.mjs → AccountDetailsContent-gke-5zMF.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-jAFWoHj7.mjs → AccountDetailsHeader-CRzfuFA2.mjs} +7 -7
  5. package/dist/{AccountFields-DPxMPBF0.mjs → AccountFields-CPkGZ3SD.mjs} +5 -5
  6. package/dist/{AccountListItem-D6rWAreC.mjs → AccountListItem-D4uG9yC-.mjs} +4 -4
  7. package/dist/{AccountStore-B5E98oM1.mjs → AccountStore-C1zMBzHq.mjs} +40 -29
  8. package/dist/{Accounts-UIlYCmHb.mjs → Accounts-D7QljYas.mjs} +1 -1
  9. package/dist/{BudgetUtil-CXvenbdN.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-Buy70Y3V.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +3 -3
  11. package/dist/{CategoryStore-BEdFs69_.mjs → CategoryStore-U7hOZAbP.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-CbxHKlRv.mjs → ConnectDrawer-CuUj16NH.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-C6kanU7I.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +3 -3
  15. package/dist/{CurrencyInput-lSC7oPDg.mjs → CurrencyInput-xH-hqry9.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-DgIcphe_.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
  18. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  19. package/dist/Drawer-BEtCk82g.mjs +163 -0
  20. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  21. package/dist/{ExportCsvAction-DNSgmdyv.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
  22. package/dist/FinstrongStore-CfD6bbJk.mjs +441 -0
  23. package/dist/{GoalStore-CAlmSu4U.mjs → GoalStore-j6QYHgEa.mjs} +3 -3
  24. package/dist/{Help-hi9I9EYP.mjs → Help-BnPXM_N2.mjs} +2 -2
  25. package/dist/LineChart-DttMO7uS.mjs +581 -0
  26. package/dist/{ListItemAction-BmL5buOf.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  27. package/dist/{ManageIncome-Cypo9qY4.mjs → ManageIncome-CU5C0AeO.mjs} +97 -95
  28. package/dist/{MicroWidgetContainer-CFdMGJKg.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  29. package/dist/{MiniWidgetContainer-BdgBvpga.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  30. package/dist/{NetWorthStore-CxqIxAgN.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
  31. package/dist/{NotificationSettings-DxytNHlN.mjs → NotificationSettings-DI5B1spM.mjs} +5 -5
  32. package/dist/{OriginalBalanceAction-V6FEoIDe.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
  33. package/dist/{RecurringSettings-iIupYxJW.mjs → RecurringSettings-Cm5Bqcai.mjs} +4 -4
  34. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  35. package/dist/{RecurringTransactionsStore-BiwCzScZ.mjs → RecurringTransactionsStore-Bc1wCiNB.mjs} +1 -1
  36. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  37. package/dist/SpendingLegend-B2BYr8B4.mjs +193 -0
  38. package/dist/{TransactionDetails-BUoNbsu-.mjs → TransactionDetails-CtbBBSoU.mjs} +396 -386
  39. package/dist/{TransactionStore-CtGTg0XS.mjs → TransactionStore-Dz-G8Wd0.mjs} +3 -3
  40. package/dist/{TrendsStore-5PvDT_o6.mjs → TrendsStore-BW9FGQeE.mjs} +1 -1
  41. package/dist/{User-Bj34_i8g.mjs → User-wXzDI4M8.mjs} +2 -2
  42. package/dist/{WidgetContainer-BnTgAfQn.mjs → WidgetContainer-6dsjtOVg.mjs} +4 -4
  43. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  44. package/dist/accounts/index.es.js +17 -17
  45. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  46. package/dist/analytics/index.es.js +2 -2
  47. package/dist/budgets/index.es.js +13 -13
  48. package/dist/cashflow/index.es.js +49 -49
  49. package/dist/categories/index.es.js +2 -2
  50. package/dist/common/components/Select.d.ts +4 -2
  51. package/dist/common/components/charts/LineChart.d.ts +12 -2
  52. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  53. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  54. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  55. package/dist/common/components/drawer/Footer.d.ts +17 -0
  56. package/dist/common/index.es.js +33 -33
  57. package/dist/common/types/Finstrong.d.ts +54 -0
  58. package/dist/common/types/Widgets.d.ts +1 -0
  59. package/dist/common/types/index.d.ts +1 -1
  60. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  61. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  62. package/dist/dashboard/index.es.js +2 -2
  63. package/dist/debts/index.es.js +11 -11
  64. package/dist/{exportTransactionsToCSV-C4PkIYP6.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +2 -2
  65. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  66. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  67. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  68. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  69. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  70. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  71. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  72. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  73. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  74. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  75. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  77. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  78. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  79. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  80. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  81. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  82. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  83. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  84. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  85. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  86. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  87. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  88. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  89. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  90. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  91. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  92. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  93. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  94. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  95. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  96. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  97. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  98. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  99. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  100. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  101. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  102. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  103. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  104. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  105. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  106. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  107. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  108. package/dist/finstrong/constants/index.d.ts +20 -0
  109. package/dist/finstrong/index.es.js +3174 -1069
  110. package/dist/finstrong/stores/FinstrongStore.d.ts +21 -2
  111. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  112. package/dist/goals/index.es.js +15 -15
  113. package/dist/help/index.es.js +3 -3
  114. package/dist/{hooks-Cy8JnjCg.mjs → hooks-C41HAxM5.mjs} +4 -4
  115. package/dist/investments/index.es.js +5 -5
  116. package/dist/merchants/index.es.js +1 -1
  117. package/dist/networth/index.es.js +33 -33
  118. package/dist/notifications/index.es.js +4 -4
  119. package/dist/recurringtransactions/index.es.js +43 -43
  120. package/dist/settings/index.es.js +8 -8
  121. package/dist/spending/index.es.js +261 -436
  122. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  123. package/dist/transactions/index.es.js +15 -15
  124. package/dist/trends/index.es.js +16 -16
  125. package/dist/{useAccountDisplayName-D6sQsNNQ.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
  126. package/dist/{useInsightsEnabled-BxytCjq5.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  127. package/package.json +1 -1
  128. package/dist/Drawer-kEE73B87.mjs +0 -113
  129. package/dist/FinstrongStore-CL7t5lBL.mjs +0 -101
  130. package/dist/LineChart-eK4IQImU.mjs +0 -541
  131. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -1,5 +1,6 @@
1
- import { GlobalStore, HealthScore, HealthScoreReport, MonthlyHealthScore } from '../../common';
1
+ import { GlobalStore, MonthlySummaries, HealthScore, HealthScoreReport, MonthlyHealthScore, Transaction } from '../../common';
2
2
  import { FinstrongApi } from '../api/FinstrongApi';
3
+ import { FinstrongTransaction, PeerAverage } from '../../common/types/Finstrong';
3
4
  export declare class FinstrongStore {
4
5
  api: FinstrongApi;
5
6
  augmentedChartData: {
@@ -7,15 +8,33 @@ export declare class FinstrongStore {
7
8
  y: number;
8
9
  }[];
9
10
  averageHealthScores: MonthlyHealthScore[];
11
+ monthlySummaries: MonthlySummaries[];
12
+ incomeTransactions: FinstrongTransaction[];
13
+ debtSpendTransactions: FinstrongTransaction[];
14
+ spendingFeeTransactions: Transaction[];
15
+ spendTransactions: FinstrongTransaction[];
10
16
  globalStore: GlobalStore;
11
17
  healthScore: HealthScore;
12
18
  healthScoreChange?: number;
13
19
  healthScoreChangeReports: HealthScoreReport[];
14
- peerScore: number | null;
20
+ peerScore: PeerAverage | null;
15
21
  constructor(globalStore: GlobalStore);
16
22
  calculateHealthScore: () => Promise<void>;
17
23
  loadAverageHealthScores: () => Promise<void>;
24
+ loadMonthlySummaries: () => Promise<void>;
25
+ loadDebtSpend: () => Promise<void>;
26
+ loadIncome: () => Promise<void>;
18
27
  loadHealthScoreChangeReports: () => Promise<void>;
19
28
  loadPeerScore: () => Promise<void>;
20
29
  loadAugmentedChartData: () => Promise<void>;
30
+ getSpendingFeeTransactions: () => Promise<void>;
31
+ loadSpendTransactions: () => Promise<void>;
32
+ get spendAndDebtTransactions(): FinstrongTransaction[];
33
+ get allTransactions(): {
34
+ income: FinstrongTransaction[];
35
+ debtSpend: FinstrongTransaction[];
36
+ spendingFee: Transaction[];
37
+ spend: FinstrongTransaction[];
38
+ };
39
+ handleFinstrongWidgetPrimaryCtaClick: (value: string) => () => void;
21
40
  }
@@ -1,5 +1,14 @@
1
+ import { addDays } from 'date-fns/addDays';
2
+ import { addMonths } from 'date-fns/addMonths';
3
+ import { addYears } from 'date-fns/addYears';
4
+ import { differenceInDays } from 'date-fns/differenceInDays';
5
+ import { differenceInMonths } from 'date-fns/differenceInMonths';
6
+ import { differenceInWeeks } from 'date-fns/differenceInWeeks';
1
7
  import { PieValueType } from '@mui/x-charts';
2
- import { CreditScoreStatusCopy, FinstrongCopy } from '../../common/types/localization/FinstrongCopy';
8
+ import { MonthlySummaries, Transaction } from '../../common';
9
+ import { SpendingFeeTransaction, MonthlyHealthScoreItem } from '../../common/types/Finstrong';
10
+ import { CreditScoreStatusCopy, FinstrongCopy, KeyIndicatorSpend } from '../../common/types/localization/FinstrongCopy';
11
+ import { CardStatus } from '../../common/constants/FinStrong';
3
12
  import { Action } from '../components/ProfileList';
4
13
  export declare const radiansToDegrees: (radians: number) => number;
5
14
  export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => {
@@ -51,3 +60,51 @@ export declare const buildProfileItem: ({ dynamicCopy, fallbackLabel, icon, key,
51
60
  secondaryText: string;
52
61
  };
53
62
  export declare const getPercentFromRatio: (ratio: number | null) => number | null;
63
+ export declare const getMonthName: (month: number) => string;
64
+ export declare const getDaysOfCashOnHandState: (days: number | null) => keyof typeof CardStatus;
65
+ export declare const getEmergencySavingsState: (dollars: number | null) => keyof typeof CardStatus;
66
+ export declare const getSpendToIncomeRatioState: (ratio: number | null) => keyof typeof CardStatus;
67
+ export declare const getManageDebtRatioState: (ratio: number | null) => keyof typeof CardStatus;
68
+ export declare const getCreditScoreState: (score: number | null) => keyof typeof CardStatus;
69
+ export declare const getSpendingFeeCountState: (count: number | null) => "GOOD" | "MISSING" | "OFF_TRACK";
70
+ export declare const getSpendingFeeCountStatus: (count: number | null, spendCopy: KeyIndicatorSpend) => {
71
+ cardState: keyof typeof CardStatus;
72
+ description: string;
73
+ title: string;
74
+ };
75
+ export declare const getCardStateStyles: (cardState: string) => {
76
+ backgroundColor: string;
77
+ color: string;
78
+ };
79
+ declare const getFutureDate: {
80
+ readonly 1: typeof addMonths;
81
+ readonly 2: typeof addYears;
82
+ readonly 3: typeof addDays;
83
+ };
84
+ declare const getNumberOfPayments: {
85
+ readonly 1: typeof differenceInMonths;
86
+ readonly 2: (end: Date, start: Date) => number;
87
+ readonly 3: typeof differenceInWeeks;
88
+ readonly 4: typeof differenceInDays;
89
+ };
90
+ interface CalculateContributionParams {
91
+ contribution: keyof typeof getNumberOfPayments;
92
+ goalAmount: number;
93
+ goalPeriod: number;
94
+ targetPeriod: keyof typeof getFutureDate;
95
+ totalSaved: number;
96
+ }
97
+ export declare const calculateContribution: ({ contribution, goalAmount, goalPeriod, targetPeriod, totalSaved, }: CalculateContributionParams) => number;
98
+ export declare const calculatePercentage: (amount: number | null) => string;
99
+ export declare const getInitialTargetPeriodAmount: (totalSaved: number) => number;
100
+ export declare const getInitialContributionPeriod: (totalSaved: number) => number;
101
+ export declare const getSeriesGraphData: (monthlySummaries: MonthlySummaries[], valueKey: keyof Pick<MonthlySummaries, "available_cash" | "debt_balance" | "credit_score">) => {
102
+ x: string;
103
+ y: number;
104
+ }[];
105
+ export declare const augmentChartData: (averageHealthScores: MonthlyHealthScoreItem[]) => {
106
+ x: string;
107
+ y: number;
108
+ }[];
109
+ export declare const augmentSpendingFeeTransactions: (spendingFeeTransactions: SpendingFeeTransaction[]) => Transaction[];
110
+ export {};
@@ -1,5 +1,5 @@
1
- import { g as _e, T as m, G as ue, a as Pe, M as q, C as Ae, b as Ve } from "../GoalStore-CAlmSu4U.mjs";
2
- import { c as qn, d as Jn } from "../GoalStore-CAlmSu4U.mjs";
1
+ import { g as _e, T as m, G as ue, a as Pe, M as q, C as Ae, b as Ve } from "../GoalStore-j6QYHgEa.mjs";
2
+ import { c as qn, d as Jn } from "../GoalStore-j6QYHgEa.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 D } from "mobx-react-lite";
@@ -17,45 +17,45 @@ import be from "@mui/material/Unstable_Grid2";
17
17
  import ae from "@mui/material/Avatar";
18
18
  import Xe from "@mui/material/CardHeader";
19
19
  import { Payments as Re, NoteStack as Ee, Person as xe, ChevronRight as M, DragHandle as Ue, CheckCircle as Ye, Icon as fe, ExpandLess as Ze, ExpandMore as qe, AddBox as ve, Trophy as Je } from "@mxenabled/mx-icons";
20
- import { u as C, l as I, a as Ie, d as j, p as Ge, g as Ne, n as Qe, b as ke } from "../hooks-Cy8JnjCg.mjs";
20
+ import { u as C, l as I, a as Ie, d as j, p as Ge, g as Ne, n as Qe, b as ke } from "../hooks-C41HAxM5.mjs";
21
21
  import { u as ge } from "../useScreenSize-B6JyS_Lj.mjs";
22
22
  import { f as x } from "../NumberFormatting-Buh7u8Oi.mjs";
23
23
  import { S as et } from "../StatusBar-BK_uYHAB.mjs";
24
24
  import E from "@mui/material/Divider";
25
25
  import B from "@mui/material/List";
26
- import { L as Q } from "../ListItemAction-BmL5buOf.mjs";
27
- import { C as we } from "../CurrencyInput-lSC7oPDg.mjs";
26
+ import { L as Q } from "../ListItemAction-uobBrm_a.mjs";
27
+ import { C as we } from "../CurrencyInput-xH-hqry9.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";
31
31
  import w from "@mui/material/ListItemText";
32
32
  import { DataGridPro as tt } from "@mui/x-data-grid-pro";
33
- import { D as F } from "../Drawer-kEE73B87.mjs";
33
+ import { D as F } from "../Drawer-BEtCk82g.mjs";
34
34
  import { b as L } from "../Localization-2MODESHW.mjs";
35
- import { f as re, D as ie, a as nt } from "../Dialog-CWW597AF.mjs";
35
+ import { f as re, a as ie, D as nt } from "../Dialog-BPTr3qHE.mjs";
36
36
  import V from "@mui/material/ListItemAvatar";
37
- import { g as De, A as ye } from "../ConnectDrawer-CbxHKlRv.mjs";
37
+ import { g as De, A as ye } from "../ConnectDrawer-CuUj16NH.mjs";
38
38
  import ot from "@mui/material/Collapse";
39
39
  import at from "@mui/material/ListItemIcon";
40
40
  import rt from "@mui/material/Checkbox";
41
- import { u as it, A as st } from "../AccountDetailsHeader-jAFWoHj7.mjs";
42
- import { A as lt } from "../AccountDetailsContent-BgCST7mK.mjs";
43
- import { u as ct } from "../useAccountDisplayName-D6sQsNNQ.mjs";
41
+ import { u as it, A as st } from "../AccountDetailsHeader-CRzfuFA2.mjs";
42
+ import { A as lt } from "../AccountDetailsContent-gke-5zMF.mjs";
43
+ import { u as ct } from "../useAccountDisplayName-CMMlIOXF.mjs";
44
44
  import Ke from "@mui/material/TextField";
45
- import { M as dt, I as mt, O as ut } from "../OriginalBalanceAction-V6FEoIDe.mjs";
45
+ import { M as dt, I as mt, O as ut } from "../OriginalBalanceAction-CCmnsd7y.mjs";
46
46
  import { getUnixTime as _t } from "date-fns/getUnixTime";
47
47
  import { isValid as pt } from "date-fns/isValid";
48
48
  import { AdapterDateFns as ht } from "@mui/x-date-pickers/AdapterDateFnsV3";
49
49
  import { DatePicker as gt } from "@mui/x-date-pickers";
50
50
  import { LocalizationProvider as bt } from "@mui/x-date-pickers/LocalizationProvider";
51
- import { A as Y, W as ft } from "../WidgetContainer-BnTgAfQn.mjs";
51
+ import { A as Y, W as ft } from "../WidgetContainer-6dsjtOVg.mjs";
52
52
  import { L as Me } from "../Loader-DUaFpDGv.mjs";
53
- import { E as yt } from "../EmptyState-DA_lfRBv.mjs";
53
+ import { E as yt } from "../EmptyState-DoxNUae-.mjs";
54
54
  import At from "@mui/material/Stack/Stack";
55
55
  import Tt from "@mui/material/Box";
56
56
  import Ct from "@mui/material/styles/useTheme";
57
57
  import { S as St } from "../SingleSegmentDonut-BgbLgwHi.mjs";
58
- import { M as Rt } from "../MicroWidgetContainer-CFdMGJKg.mjs";
58
+ import { M as Rt } from "../MicroWidgetContainer-DEiRnYVa.mjs";
59
59
  function de({ title: t, subtitle: n }) {
60
60
  return /* @__PURE__ */ i(b, { children: [
61
61
  /* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: t }),
@@ -1,9 +1,9 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { observer as m } from "mobx-react-lite";
3
- import { H as s } from "../Help-hi9I9EYP.mjs";
4
- import { b as p } from "../hooks-Cy8JnjCg.mjs";
3
+ import { H as s } from "../Help-BnPXM_N2.mjs";
4
+ import { b as p } from "../hooks-C41HAxM5.mjs";
5
5
  import { L as a } from "../Loader-DUaFpDGv.mjs";
6
- import { W as n } from "../WidgetContainer-BnTgAfQn.mjs";
6
+ import { W as n } from "../WidgetContainer-6dsjtOVg.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 }) });
@@ -70,8 +70,8 @@ export {
70
70
  T as t,
71
71
  E as u,
72
72
  w as v,
73
- W as w,
74
- V as x,
75
- y,
76
- F as z
73
+ V as w,
74
+ y as x,
75
+ F as y,
76
+ W as z
77
77
  };
@@ -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-C6kanU7I.mjs";
7
+ import { C as ge } from "../ConnectionsDrawer-Bz4uwdFE.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 i, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
18
18
  import Ue from "@mui/material/Button";
19
- import { u as M, g as be, t as H, b as Q, d as se, n as je } from "../hooks-Cy8JnjCg.mjs";
20
- import { A as z, W as ze } from "../WidgetContainer-BnTgAfQn.mjs";
19
+ import { u as M, g as be, t as H, b as Q, d as se, n as je } from "../hooks-C41HAxM5.mjs";
20
+ import { A as z, W as ze } from "../WidgetContainer-6dsjtOVg.mjs";
21
21
  import { a as Oe, 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";
@@ -34,11 +34,11 @@ import Ce from "@mui/material/AccordionSummary";
34
34
  import ie from "@mui/material/Paper";
35
35
  import x from "@mui/system/Stack";
36
36
  import Se from "@mui/material/TextField";
37
- import { D as qe } from "../Drawer-kEE73B87.mjs";
37
+ import { D as qe } from "../Drawer-BEtCk82g.mjs";
38
38
  import { DataGridPro as Ke } from "@mui/x-data-grid-pro";
39
39
  import { Stack as Ye } from "@mui/material";
40
40
  import { L as De } from "../Loader-DUaFpDGv.mjs";
41
- import { E as Qe } from "../EmptyState-DA_lfRBv.mjs";
41
+ import { E as Qe } from "../EmptyState-DoxNUae-.mjs";
42
42
  const de = ({ sx: t = {} }) => {
43
43
  const { investments: g } = M(), { onEvent: c } = be(), { setShowConnectionsWidget: u } = H();
44
44
  return /* @__PURE__ */ o(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
@@ -12,7 +12,7 @@ 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 { c as v, u as w, b as C } from "../hooks-Cy8JnjCg.mjs";
15
+ import { c as v, u as w, b as C } from "../hooks-C41HAxM5.mjs";
16
16
  import { L as p } from "../Loader-DUaFpDGv.mjs";
17
17
  import { S as N } from "../SearchBox-B2_zLv8-.mjs";
18
18
  import { M as ne } from "../MerchantStore-WvZ4gnQe.mjs";
@@ -2,37 +2,37 @@ import { jsx as t, jsxs as r, Fragment as v } from "react/jsx-runtime";
2
2
  import { fromUnixTime as _t } 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
- import { L as wt } from "../LineChart-eK4IQImU.mjs";
5
+ import { L as wt } from "../LineChart-DttMO7uS.mjs";
6
6
  import { u as Z } from "../useScreenSize-B6JyS_Lj.mjs";
7
- import { q as bt, u as T, d as J, g as Q, b as P, r as tt, n as Wt } from "../hooks-Cy8JnjCg.mjs";
8
- import { f as vt, D as It } from "../Dialog-CWW597AF.mjs";
7
+ import { q as bt, u as T, d as J, g as Q, b as P, r as tt, n as Wt } from "../hooks-C41HAxM5.mjs";
8
+ import { f as vt, a as It } from "../Dialog-BPTr3qHE.mjs";
9
9
  import W from "@mui/material/Divider";
10
10
  import B from "@mui/material/List";
11
- import E from "@mui/material/ListSubheader";
11
+ import k from "@mui/material/ListSubheader";
12
12
  import h from "@mui/material/Stack";
13
13
  import { Text as m, Icon as H, H1 as Tt, P as Lt } from "@mxenabled/mxui";
14
14
  import d from "react";
15
- import k from "@mui/material/ListItem";
15
+ import D from "@mui/material/ListItem";
16
16
  import et from "@mui/material/ListItemButton";
17
17
  import _ from "@mui/material/ListItemText";
18
- import { i as nt } from "../DateUtil-BcuH7ErC.mjs";
18
+ import { i as nt } from "../DateUtil-CBdcsyuk.mjs";
19
19
  import { C as y } from "../CurrencyText-kyC1aseI.mjs";
20
- import { Button as Nt, Stack as Dt } from "@mui/material";
21
- import { format as Et, fromUnixTime as kt, differenceInMonths as At } from "date-fns";
22
- import { g as K } from "../NetWorthStore-CxqIxAgN.mjs";
23
- import { N as Re } from "../NetWorthStore-CxqIxAgN.mjs";
20
+ import { Button as Nt, Stack as Et } from "@mui/material";
21
+ import { format as kt, fromUnixTime as Dt, differenceInMonths as At } from "date-fns";
22
+ import { g as K } from "../NetWorthStore-CpL_kqvx.mjs";
23
+ import { N as Re } from "../NetWorthStore-CpL_kqvx.mjs";
24
24
  import { Icon as ot } from "@mxenabled/mx-icons";
25
25
  import { f as U } from "../NumberFormatting-Buh7u8Oi.mjs";
26
- import { A as b, W as Mt } from "../WidgetContainer-BnTgAfQn.mjs";
26
+ import { A as b, W as Mt } from "../WidgetContainer-6dsjtOVg.mjs";
27
27
  import { L as O } from "../Loader-DUaFpDGv.mjs";
28
- import { M as Ht } from "../MicroWidgetContainer-CFdMGJKg.mjs";
28
+ import { M as Ht } from "../MicroWidgetContainer-DEiRnYVa.mjs";
29
29
  import rt from "@mui/material/Box";
30
- import { C as Bt } from "../ConnectionsDrawer-C6kanU7I.mjs";
30
+ import { C as Bt } from "../ConnectionsDrawer-Bz4uwdFE.mjs";
31
31
  import Ot from "@mui/material/Collapse";
32
32
  import V from "@mui/material/ListItemIcon";
33
33
  import it from "@mui/material/styles/useTheme";
34
- import { E as zt } from "../EmptyState-DA_lfRBv.mjs";
35
- import { D as Y } from "../Drawer-kEE73B87.mjs";
34
+ import { E as zt } from "../EmptyState-DoxNUae-.mjs";
35
+ import { D as Y } from "../Drawer-BEtCk82g.mjs";
36
36
  const Rt = ({
37
37
  chartData: e,
38
38
  hoveredData: l,
@@ -85,7 +85,7 @@ const Rt = ({
85
85
  u(l(e));
86
86
  }, [i, n]), /* @__PURE__ */ r(d.Fragment, { children: [
87
87
  /* @__PURE__ */ t(
88
- k,
88
+ D,
89
89
  {
90
90
  sx: {
91
91
  ...c,
@@ -133,7 +133,7 @@ const Rt = ({
133
133
  };
134
134
  return /* @__PURE__ */ r(h, { direction: "column", sx: { width: 320 }, children: [
135
135
  /* @__PURE__ */ r(B, { children: [
136
- /* @__PURE__ */ t(E, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ t(m, { bold: !0, component: "h2", variant: "Body", children: c.monthly_totals }) }),
136
+ /* @__PURE__ */ t(k, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ t(m, { bold: !0, component: "h2", variant: "Body", children: c.monthly_totals }) }),
137
137
  /* @__PURE__ */ t(W, {}),
138
138
  e.map((x, g) => /* @__PURE__ */ t(
139
139
  Gt,
@@ -167,7 +167,7 @@ const Rt = ({
167
167
  theme: s
168
168
  }) => {
169
169
  let o = s.palette.secondary.main, a = s.palette.secondary.main, c = "trending_flat";
170
- return n.change < 0 ? c = "trending_down" : n.change > 0 && (o = s.palette.success.main, a = s.palette.success.main, c = "trending_up"), /* @__PURE__ */ r(Dt, { alignItems: "center", direction: "row", spacing: 4, children: [
170
+ return n.change < 0 ? c = "trending_down" : n.change > 0 && (o = s.palette.success.main, a = s.palette.success.main, c = "trending_up"), /* @__PURE__ */ r(Et, { alignItems: "center", direction: "row", spacing: 4, children: [
171
171
  /* @__PURE__ */ t(
172
172
  H,
173
173
  {
@@ -182,7 +182,7 @@ const Rt = ({
182
182
  /* @__PURE__ */ t(m, { variant: "Small", children: e })
183
183
  ] });
184
184
  }, R = w(Kt), Ut = ({ hoveredData: e, selectedData: l }) => {
185
- const { net_worth: i } = T(), n = z(), s = e || l, o = Et(kt(s.x), "MMMM");
185
+ const { net_worth: i } = T(), n = z(), s = e || l, o = kt(Dt(s.x), "MMMM");
186
186
  return /* @__PURE__ */ r(h, { alignItems: "center", direction: "column", m: 24, children: [
187
187
  /* @__PURE__ */ t(m, { color: n.palette.secondary.main, variant: "Small", children: `${o} ${i.net_worth}` }),
188
188
  /* @__PURE__ */ t(y, { amount: s.y, variant: "H2" }),
@@ -240,7 +240,7 @@ const Rt = ({
240
240
  }), Zt = ({ accounts: e, name: l, icon: i }) => {
241
241
  const [n, s] = d.useState(!1);
242
242
  return /* @__PURE__ */ r(v, { children: [
243
- /* @__PURE__ */ t(k, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(et, { onClick: () => s(!n), children: [
243
+ /* @__PURE__ */ t(D, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(et, { onClick: () => s(!n), children: [
244
244
  i && /* @__PURE__ */ t(V, { children: /* @__PURE__ */ t(H, { name: i, size: 24, sx: { mr: 12 } }) }),
245
245
  /* @__PURE__ */ t(
246
246
  _,
@@ -252,7 +252,7 @@ const Rt = ({
252
252
  ] }) }),
253
253
  /* @__PURE__ */ t(W, {}),
254
254
  /* @__PURE__ */ t(Ot, { in: n, timeout: "auto", unmountOnExit: !0, children: e.map((o, a) => /* @__PURE__ */ r(B, { children: [
255
- /* @__PURE__ */ t(k, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ t(
255
+ /* @__PURE__ */ t(D, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ t(
256
256
  _,
257
257
  {
258
258
  primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
@@ -319,7 +319,7 @@ const Rt = ({
319
319
  }
320
320
  ),
321
321
  /* @__PURE__ */ r(B, { children: [
322
- /* @__PURE__ */ t(E, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
322
+ /* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
323
323
  _,
324
324
  {
325
325
  primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
@@ -329,7 +329,7 @@ const Rt = ({
329
329
  }
330
330
  ) }),
331
331
  /* @__PURE__ */ t(q, { groupedAccounts: K(l) }),
332
- /* @__PURE__ */ t(E, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
332
+ /* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
333
333
  _,
334
334
  {
335
335
  primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
@@ -356,7 +356,7 @@ const Rt = ({
356
356
  e && /* @__PURE__ */ t(R, { currencyVariant: "H1", iconSize: 32, netWorth: e, theme: a })
357
357
  ] }),
358
358
  /* @__PURE__ */ r(B, { children: [
359
- /* @__PURE__ */ t(E, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
359
+ /* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
360
360
  _,
361
361
  {
362
362
  primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
@@ -366,7 +366,7 @@ const Rt = ({
366
366
  }
367
367
  ) }),
368
368
  l?.map((c) => /* @__PURE__ */ r(d.Fragment, { children: [
369
- /* @__PURE__ */ t(k, { sx: { backgroundColor: a.palette.background.paper, py: 14 }, children: /* @__PURE__ */ t(
369
+ /* @__PURE__ */ t(D, { sx: { backgroundColor: a.palette.background.paper, py: 14 }, children: /* @__PURE__ */ t(
370
370
  _,
371
371
  {
372
372
  primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
@@ -385,7 +385,7 @@ const Rt = ({
385
385
  ) }),
386
386
  /* @__PURE__ */ t(W, {})
387
387
  ] }, c.accountName)),
388
- /* @__PURE__ */ t(E, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
388
+ /* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
389
389
  _,
390
390
  {
391
391
  primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
@@ -396,7 +396,7 @@ const Rt = ({
396
396
  ) }),
397
397
  i?.map((c) => /* @__PURE__ */ r(v, { children: [
398
398
  /* @__PURE__ */ t(
399
- k,
399
+ D,
400
400
  {
401
401
  sx: { backgroundColor: a.palette.background.paper, py: 14 },
402
402
  children: /* @__PURE__ */ t(
@@ -443,11 +443,11 @@ const Rt = ({
443
443
  selectedData: f,
444
444
  setHoveredData: L,
445
445
  setSelectedData: at
446
- } = tt(), { isMobile: N } = Z(), { onEvent: D } = Q(), { onLoad: st } = Wt(), [ct, lt] = d.useState(!1), [A, mt] = d.useState(6), [dt, j] = d.useState(!1), [ht, $] = d.useState(!1), [ut, G] = d.useState(!1), pt = async () => {
446
+ } = tt(), { isMobile: N } = Z(), { onEvent: E } = Q(), { onLoad: st } = Wt(), [ct, lt] = d.useState(!1), [A, mt] = d.useState(6), [dt, j] = d.useState(!1), [ht, $] = d.useState(!1), [ut, G] = d.useState(!1), pt = async () => {
447
447
  await S(n), await g(A), lt(!0);
448
448
  };
449
449
  d.useEffect(() => {
450
- D(b.NET_WORTH_VIEW);
450
+ E(b.NET_WORTH_VIEW);
451
451
  }, []), d.useEffect(() => {
452
452
  s(c);
453
453
  }, [c]), d.useEffect(() => {
@@ -455,7 +455,7 @@ const Rt = ({
455
455
  st?.("NetWorthWidget");
456
456
  });
457
457
  }, [i, n]), d.useEffect(() => {
458
- D(b.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: A + "M" }), g(A).finally();
458
+ E(b.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: A + "M" }), g(A).finally();
459
459
  }, [A]);
460
460
  const ft = (I, M) => {
461
461
  at(M), I.currentTarget instanceof HTMLDivElement && j(!0);
@@ -464,7 +464,7 @@ const Rt = ({
464
464
  }, gt = () => {
465
465
  L(null);
466
466
  }, yt = () => {
467
- D(b.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), $(!0);
467
+ E(b.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), $(!0);
468
468
  }, Ct = async (I) => {
469
469
  const M = I[0], F = I[1];
470
470
  M && F && mt(At(F, M));
@@ -477,7 +477,7 @@ const Rt = ({
477
477
  onMouseLeave: gt,
478
478
  selectedData: f
479
479
  }, St = () => {
480
- G(!0), D(b.ACCOUNTS_CLICK_CONNECT);
480
+ G(!0), E(b.ACCOUNTS_CLICK_CONNECT);
481
481
  };
482
482
  return l ? /* @__PURE__ */ t(
483
483
  Mt,
@@ -487,7 +487,7 @@ const Rt = ({
487
487
  onRangeChanged: Ct
488
488
  },
489
489
  dateRangeVariant: N ? "timeframetabs" : "timeframebuttons",
490
- onAccountsFilterClick: () => D(b.NET_WORTH_WIDGET_CLICK_FILTER),
490
+ onAccountsFilterClick: () => E(b.NET_WORTH_WIDGET_CLICK_FILTER),
491
491
  onBackClick: e,
492
492
  showDividerAboveDateSelector: !1,
493
493
  sx: {
@@ -9,16 +9,16 @@ import y from "@mui/material/Box";
9
9
  import D from "@mui/material/Divider";
10
10
  import B from "@mui/material/List";
11
11
  import { Text as m, InstitutionLogo as T, CategoryIcon as R } from "@mxenabled/mxui";
12
- import { h as I } from "../DateUtil-BcuH7ErC.mjs";
12
+ import { h as I } from "../DateUtil-CBdcsyuk.mjs";
13
13
  import { useTheme as O, Card as G } from "@mui/material";
14
- import { d as E, i as j, u as g, o as N, b as S, a as z } from "../hooks-Cy8JnjCg.mjs";
14
+ import { d as E, i as j, u as g, o as N, b as S, a as z } from "../hooks-C41HAxM5.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-DxytNHlN.mjs";
21
- import { D as C } from "../Drawer-kEE73B87.mjs";
20
+ import { N as H } from "../NotificationSettings-DI5B1spM.mjs";
21
+ import { D as C } from "../Drawer-BEtCk82g.mjs";
22
22
  const yt = (e) => {
23
23
  switch (e) {
24
24
  case b.BudgetExceeded: