@mx-cartographer/experiences 7.2.9 → 11.6.4-alpha.san2

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 (148) hide show
  1. package/CHANGELOG.md +2 -35
  2. package/dist/{Account-B-CuHOYf.mjs → Account-CpRTVIHg.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-DfzPOeMI.mjs → AccountDetailsContent-JfTu_amk.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-D5XdFMtT.mjs} +8 -8
  5. package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
  6. package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
  7. package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-CKHyaGMR.mjs} +40 -29
  8. package/dist/{Accounts-IeEtQjzA.mjs → Accounts-D0BmvNxn.mjs} +1 -1
  9. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-DomNyubP.mjs} +3 -3
  11. package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-DaFRU5st.mjs → ConnectDrawer--gJHyp-S.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
  15. package/dist/{CurrencyInput-CsCy7uaS.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-9aR2sTJQ.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/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-Um-CDa4C.mjs} +3 -3
  21. package/dist/FinstrongStore-CjErZ73K.mjs +432 -0
  22. package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
  23. package/dist/{Help-B6dIcujh.mjs → Help-BZ8pIkkR.mjs} +2 -2
  24. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-ClUGPuYX.mjs} +3 -3
  25. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
  26. package/dist/{ManageIncome-D3n1EWxe.mjs → ManageIncome-BaNgfwr5.mjs} +63 -61
  27. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
  29. package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
  30. package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
  32. package/dist/{RecurringSettings-C28GrQcP.mjs → RecurringSettings-DE4T4yQy.mjs} +4 -4
  33. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  34. package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
  35. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  36. package/dist/SpendingLegend-D24CEkL3.mjs +170 -0
  37. package/dist/{TransactionDetails-BWffqew4.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
  38. package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-BHTdiLRW.mjs} +3 -3
  39. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
  40. package/dist/{User-BQUxBeZV.mjs → User-BthIKO4w.mjs} +2 -2
  41. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-C5yQiaed.mjs} +40 -41
  42. package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-DJA1bxLn.mjs} +4 -4
  43. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  44. package/dist/accounts/index.es.js +14 -14
  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 +12 -12
  48. package/dist/cashflow/index.es.js +436 -440
  49. package/dist/categories/index.es.js +2 -2
  50. package/dist/common/components/Select.d.ts +4 -2
  51. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  52. package/dist/common/components/drawer/Footer.d.ts +17 -0
  53. package/dist/common/context/GlobalDataProvider.d.ts +0 -1
  54. package/dist/common/context/hooks.d.ts +0 -3
  55. package/dist/common/context/index.d.ts +1 -1
  56. package/dist/common/index.es.js +57 -58
  57. package/dist/common/types/Finstrong.d.ts +50 -0
  58. package/dist/common/types/Widgets.d.ts +2 -0
  59. package/dist/common/types/index.d.ts +1 -1
  60. package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
  61. package/dist/dashboard/index.es.js +79 -81
  62. package/dist/debts/index.es.js +11 -11
  63. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
  64. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  65. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  66. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  67. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  68. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  69. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  70. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  71. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  72. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  73. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  74. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  75. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +5 -2
  77. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +6 -3
  78. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +12 -0
  79. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +5 -2
  80. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  81. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  82. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  83. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  84. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  85. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  86. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  87. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  88. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +6 -0
  89. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  90. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  91. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  92. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
  93. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  94. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  95. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  96. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  97. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  98. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  99. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  100. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  101. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  102. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  103. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  104. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  105. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  106. package/dist/finstrong/constants/index.d.ts +8 -0
  107. package/dist/finstrong/index.es.js +2914 -1004
  108. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  109. package/dist/finstrong/util/finstrongUtils.d.ts +60 -1
  110. package/dist/goals/index.es.js +14 -14
  111. package/dist/help/index.es.js +3 -3
  112. package/dist/hooks-CBST3rkm.mjs +74 -0
  113. package/dist/investments/index.es.js +4 -4
  114. package/dist/merchants/index.es.js +1 -1
  115. package/dist/microinsights/{cards → components/beatCard}/BeatCard.d.ts +2 -2
  116. package/dist/microinsights/{beaticons → components/beaticons}/BeatCategoryIcon.d.ts +1 -1
  117. package/dist/microinsights/{beaticons → components/beaticons}/BeatIcon.d.ts +2 -2
  118. package/dist/microinsights/{beaticons → components/beaticons}/BeatMerchantLogo.d.ts +1 -1
  119. package/dist/microinsights/{beaticons → components/beaticons}/MonthlySpendComparisonIcon.d.ts +2 -2
  120. package/dist/microinsights/{carousel → components/carouselheader}/CarouselHeader.d.ts +2 -2
  121. package/dist/microinsights/{InsightsMicroWidget.d.ts → components/insightsmicrowidget/InsightsMicroWidget.d.ts} +2 -2
  122. package/dist/microinsights/{carousel → components/microBeatCarousel}/CarouselControls.d.ts +1 -1
  123. package/dist/microinsights/{carousel → components/microBeatCarousel}/MicroBeatCarousel.d.ts +2 -2
  124. package/dist/microinsights/{cards → components/microInsightCard}/MicroInsightCard.d.ts +1 -1
  125. package/dist/microinsights/{cards → components/noRelevantInsightsCard}/NoRelevantInsightsCard.d.ts +1 -1
  126. package/dist/microinsights/{cards → components/viewMoreMicroCard}/ViewMoreMicroCard.d.ts +1 -1
  127. package/dist/microinsights/{cards → components/zeroStateCard}/ZeroStateCard.d.ts +1 -1
  128. package/dist/microinsights/index.d.ts +9 -9
  129. package/dist/microinsights/index.es.js +1 -1
  130. package/dist/networth/index.es.js +34 -34
  131. package/dist/notifications/index.es.js +4 -4
  132. package/dist/recurringtransactions/index.es.js +24 -24
  133. package/dist/settings/index.es.js +8 -8
  134. package/dist/spending/index.es.js +222 -373
  135. package/dist/transactions/index.es.js +15 -15
  136. package/dist/trends/index.es.js +451 -451
  137. package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
  138. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
  139. package/package.json +1 -1
  140. package/dist/Drawer-kEE73B87.mjs +0 -113
  141. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  142. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  143. package/dist/hooks-D6XlXHf4.mjs +0 -77
  144. /package/dist/microinsights/{MicroWidgetContainer.d.ts → components/MicroWidgetContainer.d.ts} +0 -0
  145. /package/dist/microinsights/{beaticons → components/beaticons}/ChartFilledIcon.d.ts +0 -0
  146. /package/dist/microinsights/{beaticons → components/beaticons}/ZeroStateIcon.d.ts +0 -0
  147. /package/dist/microinsights/{beaticons → components/beaticons}/index.d.ts +0 -0
  148. /package/dist/microinsights/{Spinner.d.ts → components/spinner/Spinner.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { GlobalStore, HealthScore, HealthScoreReport, MonthlyHealthScore } from '../../common';
1
+ import { GlobalStore, MonthlySummaries, AllTransactions, HealthScore, HealthScoreReport, MonthlyHealthScore } from '../../common';
2
2
  import { FinstrongApi } from '../api/FinstrongApi';
3
3
  export declare class FinstrongStore {
4
4
  api: FinstrongApi;
@@ -7,6 +7,8 @@ export declare class FinstrongStore {
7
7
  y: number;
8
8
  }[];
9
9
  averageHealthScores: MonthlyHealthScore[];
10
+ monthlySummaries: MonthlySummaries[];
11
+ allTransactions: AllTransactions;
10
12
  globalStore: GlobalStore;
11
13
  healthScore: HealthScore;
12
14
  healthScoreChange?: number;
@@ -15,7 +17,13 @@ export declare class FinstrongStore {
15
17
  constructor(globalStore: GlobalStore);
16
18
  calculateHealthScore: () => Promise<void>;
17
19
  loadAverageHealthScores: () => Promise<void>;
20
+ loadMonthlySummaries: () => Promise<void>;
21
+ loadDebtSpend: () => Promise<void>;
22
+ loadIncome: () => Promise<void>;
18
23
  loadHealthScoreChangeReports: () => Promise<void>;
19
24
  loadPeerScore: () => Promise<void>;
20
25
  loadAugmentedChartData: () => Promise<void>;
26
+ getSpendingFeeTransactions: () => Promise<void>;
27
+ loadSpendTransactions: () => Promise<void>;
28
+ get spendAndDebtTransactions(): import('../../common').DebtSpend[];
21
29
  }
@@ -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,53 @@ 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) => "MISSING" | "GOOD" | "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">) => {
102
+ x: string;
103
+ y: number;
104
+ }[];
105
+ export declare const augmentChartData: (averageHealthScores: {
106
+ health_scores: MonthlyHealthScoreItem[];
107
+ }) => {
108
+ x: string;
109
+ y: number;
110
+ }[];
111
+ export declare const augmentSpendingFeeTransactions: (spendingFeeTransactions: SpendingFeeTransaction[]) => Transaction[];
112
+ export {};
@@ -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-TD0BfzWX.mjs";
2
- import { c as Yn, d as Zn } from "../GoalStore-TD0BfzWX.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-CiBKZvTg.mjs";
2
+ import { c as Yn, d as Zn } from "../GoalStore-CiBKZvTg.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";
@@ -17,45 +17,45 @@ import ge from "@mui/material/Unstable_Grid2";
17
17
  import oe from "@mui/material/Avatar";
18
18
  import $e from "@mui/material/CardHeader";
19
19
  import { Payments as Se, NoteStack as Re, Person as Ee, ChevronRight as M, DragHandle as Xe, CheckCircle as Ue, Icon as be, ExpandLess as Ye, ExpandMore as Ze, AddBox as xe, Trophy as qe } from "@mxenabled/mx-icons";
20
- import { u as C, l as I, a as ve, d as V, p as Ie, g as Ge, b as Ne } from "../hooks-D6XlXHf4.mjs";
20
+ import { u as C, l as I, a as ve, d as V, o as Ie, g as Ge, b as Ne } from "../hooks-CBST3rkm.mjs";
21
21
  import { u as he } from "../useScreenSize-B6JyS_Lj.mjs";
22
22
  import { f as x } from "../NumberFormatting-Buh7u8Oi.mjs";
23
23
  import { S as Je } 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 ee } from "../ListItemAction-DHa3KJPs.mjs";
27
- import { C as ke } from "../CurrencyInput-CsCy7uaS.mjs";
26
+ import { L as ee } from "../ListItemAction-DGaxy7oz.mjs";
27
+ import { C as ke } from "../CurrencyInput-CC5cwVit.mjs";
28
28
  import { fromUnixTime as Q } 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 Qe } from "@mui/x-data-grid-pro";
33
- import { D as j } from "../Drawer-kEE73B87.mjs";
33
+ import { D as j } from "../Drawer-BEtCk82g.mjs";
34
34
  import { b as B } from "../Localization-2MODESHW.mjs";
35
- import { f as ae, D as re, a as et } from "../Dialog-CWW597AF.mjs";
35
+ import { f as ae, a as re, D as et } from "../Dialog-BPTr3qHE.mjs";
36
36
  import P from "@mui/material/ListItemAvatar";
37
- import { g as we, A as fe } from "../ConnectDrawer-DaFRU5st.mjs";
37
+ import { g as we, A as fe } from "../ConnectDrawer--gJHyp-S.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-vcy67tuH.mjs";
42
- import { A as it } from "../AccountDetailsContent-DfzPOeMI.mjs";
43
- import { u as st } from "../useAccountDisplayName-BcRqfar8.mjs";
41
+ import { u as at, A as rt } from "../AccountDetailsHeader-D5XdFMtT.mjs";
42
+ import { A as it } from "../AccountDetailsContent-JfTu_amk.mjs";
43
+ import { u as st } from "../useAccountDisplayName-DH1CuQ9R.mjs";
44
44
  import De from "@mui/material/TextField";
45
- import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-CAaVbVMO.mjs";
45
+ import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-CGZDUsCc.mjs";
46
46
  import { getUnixTime as mt } from "date-fns/getUnixTime";
47
47
  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-C88Ecu2W.mjs";
51
+ import { A as Y, W as gt } from "../WidgetContainer-DJA1bxLn.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";
55
55
  import yt from "@mui/material/Box";
56
56
  import At from "@mui/material/styles/useTheme";
57
57
  import { S as Tt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
58
- import { M as Ct } from "../MicroWidgetContainer-DpeqN9n3.mjs";
58
+ import { M as Ct } from "../MicroWidgetContainer-C3iV1FBR.mjs";
59
59
  function ce({ title: t, subtitle: n }) {
60
60
  return /* @__PURE__ */ r(f, { 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-B6dIcujh.mjs";
4
- import { b as p } from "../hooks-D6XlXHf4.mjs";
3
+ import { H as s } from "../Help-BZ8pIkkR.mjs";
4
+ import { b as p } from "../hooks-CBST3rkm.mjs";
5
5
  import { L as a } from "../Loader-DUaFpDGv.mjs";
6
- import { W as n } from "../WidgetContainer-C88Ecu2W.mjs";
6
+ import { W as n } from "../WidgetContainer-DJA1bxLn.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 }) });
@@ -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
+ p as a,
49
+ m as b,
50
+ T as c,
51
+ d,
52
+ G as e,
53
+ W as f,
54
+ M as g,
55
+ R as h,
56
+ x as i,
57
+ N as j,
58
+ h as k,
59
+ P as l,
60
+ w 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
+ v as w,
71
+ F as x,
72
+ y,
73
+ A as z
74
+ };
@@ -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-DHJ7qdWL.mjs";
7
+ import { C as ge } from "../ConnectionsDrawer-DabiwV9L.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, 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-C88Ecu2W.mjs";
19
+ import { u as E, g as be, s as H, b as Q, d as se } from "../hooks-CBST3rkm.mjs";
20
+ import { A as z, W as je } from "../WidgetContainer-DJA1bxLn.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";
@@ -34,7 +34,7 @@ import Ce from "@mui/material/AccordionSummary";
34
34
  import ie from "@mui/material/Paper";
35
35
  import p from "@mui/system/Stack";
36
36
  import Se from "@mui/material/TextField";
37
- import { D as $e } from "../Drawer-kEE73B87.mjs";
37
+ import { D as $e } from "../Drawer-BEtCk82g.mjs";
38
38
  import { DataGridPro as qe } from "@mui/x-data-grid-pro";
39
39
  import { Stack as Ke } from "@mui/material";
40
40
  import { L as De } from "../Loader-DUaFpDGv.mjs";
@@ -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-D6XlXHf4.mjs";
15
+ import { c as v, u as w, b as C } from "../hooks-CBST3rkm.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-DrFvsUyy.mjs";
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps, BeatLikeOffer } from '../interfaces';
3
- import { Beat } from '../../common/types/Beat';
2
+ import { MicroWidgetProps, BeatLikeOffer } from '../../interfaces';
3
+ import { Beat } from '../../../common/types/Beat';
4
4
  export interface BeatCardProps extends MicroWidgetProps {
5
5
  backgroundColor?: string;
6
6
  beat: Beat | BeatLikeOffer;
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { WeGotTheBeat } from '../interfaces';
2
+ import { WeGotTheBeat } from '../../interfaces';
3
3
  export declare const BeatCategoryIcon: FC<WeGotTheBeat>;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { clientColorSchemeProps } from '..';
3
- import { Beat } from '../../common/types/Beat';
2
+ import { clientColorSchemeProps } from '../..';
3
+ import { Beat } from '../../../common/types/Beat';
4
4
  export interface BeatIconProps {
5
5
  beat?: Beat;
6
6
  clientColorScheme?: clientColorSchemeProps;
@@ -1,3 +1,3 @@
1
- import { WeGotTheBeat } from '../interfaces';
1
+ import { WeGotTheBeat } from '../../interfaces';
2
2
  declare const _default: import('react').FunctionComponent<WeGotTheBeat>;
3
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { WeGotTheBeat } from '../interfaces';
3
- import { DataSeries } from '../../common/types/Beat';
2
+ import { WeGotTheBeat } from '../../interfaces';
3
+ import { DataSeries } from '../../../common/types/Beat';
4
4
  export declare const getIconColor: (data: DataSeries | undefined, designTokens: any) => any;
5
5
  export declare const MonthlySpendComparisonIcon: FC<WeGotTheBeat>;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { Beat } from '../../common/types/Beat';
3
- import { clientColorSchemeProps, TheWholeHog } from '../interfaces';
2
+ import { Beat } from '../../../common/types/Beat';
3
+ import { clientColorSchemeProps, TheWholeHog } from '../../interfaces';
4
4
  export interface CarouselHeaderProps {
5
5
  analyticsMetadata?: object;
6
6
  clientColorScheme?: clientColorSchemeProps;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { Beat } from '../common/types';
3
- import { MicroWidgetProps } from './interfaces';
2
+ import { Beat } from '../../../common/types';
3
+ import { MicroWidgetProps } from '../../interfaces';
4
4
  export interface InsightsMicroWidgetProps extends MicroWidgetProps {
5
5
  allowSingleCardPeeking?: boolean;
6
6
  areBeatsLoading: boolean;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { clientColorSchemeProps } from '..';
2
+ import { clientColorSchemeProps } from '../../';
3
3
  export interface CarouselControlsProps {
4
4
  clientColorScheme?: clientColorSchemeProps;
5
5
  currentBeatIndex: number;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps } from '..';
3
- import { Beat } from '../../common/types/Beat';
2
+ import { MicroWidgetProps } from '../../';
3
+ import { Beat } from '../../../common/types/Beat';
4
4
  export interface MicroBeatCarouselProps extends MicroWidgetProps {
5
5
  analyticsMetadata?: object;
6
6
  beats?: Beat[];
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps, StyleProps } from '..';
2
+ import { MicroWidgetProps, StyleProps } from '../../';
3
3
  interface MicroInsightProps extends MicroWidgetProps {
4
4
  actionText?: string;
5
5
  backgroundColor?: string;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps } from '../interfaces';
2
+ import { MicroWidgetProps } from '../../interfaces';
3
3
  export interface MicroZeroStateCardProps extends MicroWidgetProps {
4
4
  carouselSize: string;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps } from '../interfaces';
2
+ import { MicroWidgetProps } from '../../interfaces';
3
3
  export interface ViewMoreMicroCardProps extends MicroWidgetProps {
4
4
  isActiveCard: boolean;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps } from '../interfaces';
2
+ import { MicroWidgetProps } from '../../interfaces';
3
3
  export interface ZeroStateCardProps extends MicroWidgetProps {
4
4
  carouselSize: string;
5
5
  }
@@ -1,12 +1,12 @@
1
1
  export { AppStore } from './stores/AppStore';
2
2
  export { InsightsMicroWidgetDataProvider } from './context/InsightsMicroWidgetDataProvider';
3
- export { BeatCard } from './cards/BeatCard';
4
- export { default as MicroBeatCarousel } from './carousel/MicroBeatCarousel';
5
- export { MicroInsightCard } from './cards/MicroInsightCard';
6
- export { default as CarouselHeader } from './carousel/CarouselHeader';
7
- export { default as InsightsMicroWidget } from './InsightsMicroWidget';
8
- export { default as NoRelevantInsightsCard } from './cards/NoRelevantInsightsCard';
9
- export { default as ViewMoreMicroCard } from './cards/ViewMoreMicroCard';
10
- export { default as ZeroStateCard } from './cards/ZeroStateCard';
11
- export { ChartFilledIcon, MonthlySpendComparisonIcon, ZeroStateIcon } from './beaticons';
3
+ export { BeatCard } from './components/beatCard/BeatCard';
4
+ export { default as MicroBeatCarousel } from './components/microBeatCarousel/MicroBeatCarousel';
5
+ export { MicroInsightCard } from './components/microInsightCard/MicroInsightCard';
6
+ export { default as CarouselHeader } from './components/carouselheader/CarouselHeader';
7
+ export { default as InsightsMicroWidget } from './components/insightsmicrowidget/InsightsMicroWidget';
8
+ export { default as NoRelevantInsightsCard } from './components/noRelevantInsightsCard/NoRelevantInsightsCard';
9
+ export { default as ViewMoreMicroCard } from './components/viewMoreMicroCard/ViewMoreMicroCard';
10
+ export { default as ZeroStateCard } from './components/zeroStateCard/ZeroStateCard';
11
+ export { ChartFilledIcon, MonthlySpendComparisonIcon, ZeroStateIcon } from './components/beaticons';
12
12
  export type { clientColorSchemeProps, MicroWidgetProps, StyleProps } from './interfaces';
@@ -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-SCn2wt4i.mjs";
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-C5yQiaed.mjs";
2
2
  export {
3
3
  s as AppStore,
4
4
  e as BeatCard,