@mx-cartographer/experiences 7.1.3-alpha.mm1 → 7.1.4-ram1-alpha-finstrong-credit-score-graph-check

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 (129) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{Account-DKy2na__.mjs → Account-CpRTVIHg.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CCOCsdoL.mjs → AccountDetailsContent-6aPMU6Hp.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-Ca9SPAjA.mjs → AccountDetailsHeader-BkUZYoV8.mjs} +8 -8
  5. package/dist/{AccountFields-DDAr5SEq.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
  6. package/dist/{AccountListItem-CMes1Q7Z.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
  7. package/dist/{AccountStore-DYOG9MYj.mjs → AccountStore-DTfpr3h0.mjs} +60 -41
  8. package/dist/{Accounts-BNvFndCa.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-CHG5Lv_B.mjs → ConnectDrawer--gJHyp-S.mjs} +9 -9
  14. package/dist/{ConnectionsDrawer-BeB6ab8V.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-BblTVTMD.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-CC4SrBjA.mjs +436 -0
  22. package/dist/{GoalStore-CSsU4LR2.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
  23. package/dist/{Help-B6dIcujh.mjs → Help-BZ8pIkkR.mjs} +2 -2
  24. package/dist/LineChart-CE3oLBQ0.mjs +566 -0
  25. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
  26. package/dist/{ManageIncome-DqG75uQd.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-BbA7H83o.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-B9l_Axnd.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-DPvvi4Iu.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
  38. package/dist/{TransactionStore-CBrJOY0H.mjs → TransactionStore-D8MKYDMb.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/{WidgetContainer-BMWagbIl.mjs → WidgetContainer-DJA1bxLn.mjs} +12 -12
  42. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  43. package/dist/accounts/index.es.js +14 -14
  44. package/dist/accounts/stores/AccountStore.d.ts +4 -0
  45. package/dist/analytics/index.es.js +2 -2
  46. package/dist/budgets/index.es.js +12 -12
  47. package/dist/cashflow/index.es.js +383 -389
  48. package/dist/categories/index.es.js +2 -2
  49. package/dist/common/components/Select.d.ts +4 -2
  50. package/dist/common/components/charts/LineChart.d.ts +2 -0
  51. package/dist/common/components/charts/linechart/CustomMark.d.ts +2 -0
  52. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  53. package/dist/common/components/drawer/Footer.d.ts +17 -0
  54. package/dist/common/context/GlobalDataProvider.d.ts +0 -1
  55. package/dist/common/context/hooks.d.ts +0 -3
  56. package/dist/common/context/index.d.ts +1 -1
  57. package/dist/common/index.es.js +57 -58
  58. package/dist/common/types/Finstrong.d.ts +50 -0
  59. package/dist/common/types/index.d.ts +1 -1
  60. package/dist/common/types/localization/FinstrongCopy.d.ts +57 -1
  61. package/dist/dashboard/index.es.js +77 -79
  62. package/dist/debts/index.es.js +11 -11
  63. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
  64. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  65. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +2 -1
  66. package/dist/finstrong/components/CreditOverTimeGraph.d.ts +1 -0
  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 +1 -1
  75. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  77. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  78. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  79. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -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 +3 -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 +2899 -1017
  108. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  109. package/dist/finstrong/util/finstrongUtils.d.ts +65 -1
  110. package/dist/goals/index.es.js +54 -54
  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/networth/index.es.js +34 -34
  116. package/dist/notifications/index.es.js +4 -4
  117. package/dist/recurringtransactions/index.es.js +24 -24
  118. package/dist/settings/index.es.js +8 -8
  119. package/dist/spending/index.es.js +222 -373
  120. package/dist/transactions/index.es.js +15 -15
  121. package/dist/trends/index.es.js +451 -451
  122. package/dist/{useAccountDisplayName-BEorBm5u.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
  123. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
  124. package/package.json +1 -1
  125. package/dist/Drawer-kEE73B87.mjs +0 -113
  126. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  127. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  128. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  129. package/dist/hooks-D6XlXHf4.mjs +0 -77
@@ -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,58 @@ 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" | "credit_score">) => ({
102
+ x: string;
103
+ y: number;
104
+ showMark: boolean;
105
+ } | {
106
+ x: string;
107
+ y: number;
108
+ showMark?: undefined;
109
+ })[];
110
+ export declare const augmentChartData: (averageHealthScores: {
111
+ health_scores: MonthlyHealthScoreItem[];
112
+ }) => {
113
+ x: string;
114
+ y: number;
115
+ }[];
116
+ export declare const augmentSpendingFeeTransactions: (spendingFeeTransactions: SpendingFeeTransaction[]) => Transaction[];
117
+ 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-CSsU4LR2.mjs";
2
- import { c as Yn, d as Zn } from "../GoalStore-CSsU4LR2.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";
@@ -16,56 +16,56 @@ import Ce from "@mui/material/CardContent";
16
16
  import ge from "@mui/material/Unstable_Grid2";
17
17
  import oe from "@mui/material/Avatar";
18
18
  import $e from "@mui/material/CardHeader";
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 ve, Trophy as qe } from "@mxenabled/mx-icons";
20
- import { u as C, l as I, a as xe, d as V, p as Ie, g as Ge, b as Ne } from "../hooks-D6XlXHf4.mjs";
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, 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
- import { f as v } from "../NumberFormatting-Buh7u8Oi.mjs";
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-CHG5Lv_B.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-Ca9SPAjA.mjs";
42
- import { A as it } from "../AccountDetailsContent-CCOCsdoL.mjs";
43
- import { u as st } from "../useAccountDisplayName-BEorBm5u.mjs";
41
+ import { u as at, A as rt } from "../AccountDetailsHeader-BkUZYoV8.mjs";
42
+ import { A as it } from "../AccountDetailsContent-6aPMU6Hp.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-BMWagbIl.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 }),
62
62
  /* @__PURE__ */ e(A, { sx: { fontWeight: 400 }, variant: "Body", children: n })
63
63
  ] });
64
64
  }
65
- const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
65
+ const St = (t, n) => n ? x(t, t < 1e3 ? "0" : "0.00a").replace(
66
66
  /(\d+)(?:\.0+|(\.\d*?[1-9])0*)([a-zA-Z]* ?\$?)/g,
67
67
  "$1$2$3"
68
- ) : v(t, "0,0.00"), Me = D(
68
+ ) : x(t, "0,0.00"), Me = D(
69
69
  ({ goal: t, isInDrawer: n = !1, onClick: i }) => {
70
70
  const { goals: s } = C(), { isMobile: p, isTablet: a } = he(), _ = p || a, {
71
71
  backgroundColor: g,
@@ -85,7 +85,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
85
85
  $e,
86
86
  {
87
87
  avatar: /* @__PURE__ */ e(oe, { sx: { bgcolor: g, color: l, height: 48, width: 48 }, variant: "rounded", children: b }),
88
- subheader: /* @__PURE__ */ e(A, { variant: n || _ ? "H3" : "H2", children: `${v(t.current_amount, _ ? "0,0" : "0,0.00")} / ${St(
88
+ subheader: /* @__PURE__ */ e(A, { variant: n || _ ? "H3" : "H2", children: `${x(t.current_amount, _ ? "0,0" : "0,0.00")} / ${St(
89
89
  c,
90
90
  _
91
91
  )}` }),
@@ -119,7 +119,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
119
119
  onCancel: () => g(a),
120
120
  onSave: l,
121
121
  primaryText: n.contribution_label,
122
- secondaryText: v(a, "0,0.00"),
122
+ secondaryText: x(a, "0,0.00"),
123
123
  children: /* @__PURE__ */ e(
124
124
  ke,
125
125
  {
@@ -164,7 +164,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
164
164
  minWidth: 140,
165
165
  renderCell: (u) => {
166
166
  const b = u.row;
167
- return /* @__PURE__ */ e(A, { bold: !0, sx: { mr: 12 }, variant: "Body", children: v(b.amount, "0,0.00") });
167
+ return /* @__PURE__ */ e(A, { bold: !0, sx: { mr: 12 }, variant: "Body", children: x(b.amount, "0,0.00") });
168
168
  },
169
169
  sortable: !1
170
170
  }
@@ -232,7 +232,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
232
232
  }
233
233
  )
234
234
  ] });
235
- }, vt = ({ goal: t, index: n }) => {
235
+ }, xt = ({ goal: t, index: n }) => {
236
236
  const { goals: i } = C(), { percentage: s } = ue(i, t), p = t.goal_type === me.KEEP_BALANCE_BELOW || t.has_been_spent ? i.goal_completed : B(i.goal_percentage_reached, `${s * 100}`);
237
237
  return /* @__PURE__ */ e(N, { children: /* @__PURE__ */ r(k, { children: [
238
238
  t.track_type !== d.RETIREMENT_TRACK && /* @__PURE__ */ e(
@@ -258,10 +258,10 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
258
258
  )
259
259
  ) })
260
260
  ] }),
261
- /* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: v(t.amount, "0,0.00") })
261
+ /* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: x(t.amount, "0,0.00") })
262
262
  ] }) })
263
263
  ] }) });
264
- }, xt = ({ goal: t }) => {
264
+ }, vt = ({ goal: t }) => {
265
265
  const { goals: n } = C();
266
266
  return /* @__PURE__ */ e(N, { children: /* @__PURE__ */ r(k, { children: [
267
267
  /* @__PURE__ */ e(P, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(Ue, { color: "success", filled: !0, size: 20 }) }),
@@ -276,7 +276,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
276
276
  )
277
277
  ) })
278
278
  ] }),
279
- /* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: v(t.amount, "0,0.00") })
279
+ /* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: x(t.amount, "0,0.00") })
280
280
  ] }) })
281
281
  ] }) }, t.guid);
282
282
  }, It = ({ trackType: t }) => {
@@ -306,7 +306,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
306
306
  a.map((u, b) => {
307
307
  const T = b >= a.length - 1;
308
308
  return /* @__PURE__ */ r(f, { children: [
309
- /* @__PURE__ */ e(vt, { goal: u, index: b }),
309
+ /* @__PURE__ */ e(xt, { goal: u, index: b }),
310
310
  /* @__PURE__ */ e(
311
311
  E,
312
312
  {
@@ -325,7 +325,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
325
325
  /* @__PURE__ */ e(L, { sx: { bgcolor: "background.paper" }, children: _.map((u, b) => {
326
326
  const T = b > a.length - 1;
327
327
  return /* @__PURE__ */ r(f, { children: [
328
- /* @__PURE__ */ e(xt, { goal: u }),
328
+ /* @__PURE__ */ e(vt, { goal: u }),
329
329
  /* @__PURE__ */ e(E, { variant: T ? "fullWidth" : "inset" })
330
330
  ] }, `complete-${u.guid}`);
331
331
  }) })
@@ -397,7 +397,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
397
397
  /* @__PURE__ */ e(He, { color: "success", fill: !0, name: "check_circle", size: 20 }),
398
398
  /* @__PURE__ */ e(A, { color: "text.secondary", variant: "Body", children: o.name })
399
399
  ] }),
400
- /* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: v(o.amount, "0,0.00") })
400
+ /* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: x(o.amount, "0,0.00") })
401
401
  ] }) }) }) }, o.guid))
402
402
  ] })
403
403
  ] });
@@ -440,7 +440,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
440
440
  onSave: s,
441
441
  title: p
442
442
  }) => {
443
- const { goals: a, common: _ } = C(), { config: g } = xe(), [l, h] = y.useState([]), o = (m) => {
443
+ const { goals: a, common: _ } = C(), { config: g } = ve(), [l, h] = y.useState([]), o = (m) => {
444
444
  const c = l.findIndex((b) => b.guid === m.guid), u = [...l];
445
445
  c >= 0 ? u.splice(c, 1) : u.push(m), h(u);
446
446
  };
@@ -471,7 +471,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
471
471
  primary: we(m, {
472
472
  allowNickname: g?.show_account_nicknames_in_master
473
473
  }),
474
- secondary: v(m.balance || 0, "0,0.00")
474
+ secondary: x(m.balance || 0, "0,0.00")
475
475
  }
476
476
  ),
477
477
  /* @__PURE__ */ e(ot, { checked: l.some((u) => u.guid === m.guid) })
@@ -491,7 +491,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
491
491
  }
492
492
  );
493
493
  }, Nt = ({ onClose: t }) => {
494
- const { goals: n } = C(), { addGoal: i, debtGoals: s, setAlert: p, setSelectedGoal: a } = I(), { config: _ } = xe(), { visibleDebtAccounts: g } = V(), [l, h] = y.useState(!1), o = Pe(n), m = (u, b, T) => {
494
+ const { goals: n } = C(), { addGoal: i, debtGoals: s, setAlert: p, setSelectedGoal: a } = I(), { config: _ } = ve(), { visibleDebtAccounts: g } = V(), [l, h] = y.useState(!1), o = Pe(n), m = (u, b, T) => {
495
495
  T === d.DEBT_TRACK ? h(!0) : a({
496
496
  amount: 0,
497
497
  current_amount: 0,
@@ -551,7 +551,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
551
551
  w,
552
552
  {
553
553
  primary: i,
554
- secondary: v(t.balance || 0, "0,0.00")
554
+ secondary: x(t.balance || 0, "0,0.00")
555
555
  }
556
556
  ),
557
557
  /* @__PURE__ */ e(M, {})
@@ -579,7 +579,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
579
579
  onCancel: m,
580
580
  onSave: o,
581
581
  primaryText: n.details_amount_to_save,
582
- secondaryText: v(t.amount, "0,0"),
582
+ secondaryText: x(t.amount, "0,0"),
583
583
  zeroStateText: g && t.amount === 0 ? n.add_amount : void 0,
584
584
  children: /* @__PURE__ */ e(
585
585
  ke,
@@ -603,7 +603,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
603
603
  return /* @__PURE__ */ r(f, { children: [
604
604
  l && !t.account_guid ? /* @__PURE__ */ e(N, { disableGutters: !0, disablePadding: !0, sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ r(k, { onClick: () => o(!0), children: [
605
605
  /* @__PURE__ */ e(w, { children: /* @__PURE__ */ r(f, { alignItems: "center", color: "primary.main", direction: "row", gap: 8, children: [
606
- /* @__PURE__ */ e(ve, { filled: !0 }),
606
+ /* @__PURE__ */ e(xe, { filled: !0 }),
607
607
  p.details_add_account
608
608
  ] }) }),
609
609
  /* @__PURE__ */ e(M, { color: "primary" })
@@ -633,7 +633,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
633
633
  w,
634
634
  {
635
635
  primary: c?.name || c?.feed_name,
636
- secondary: v(c?.balance || 0, "0,0.00")
636
+ secondary: x(c?.balance || 0, "0,0.00")
637
637
  }
638
638
  ),
639
639
  /* @__PURE__ */ e(M, {})
@@ -651,7 +651,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
651
651
  w,
652
652
  {
653
653
  primary: c?.name || c?.feed_name,
654
- secondary: v(c?.balance || 0, "0,0.00")
654
+ secondary: x(c?.balance || 0, "0,0.00")
655
655
  }
656
656
  ),
657
657
  /* @__PURE__ */ e(M, {})
@@ -758,7 +758,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
758
758
  }
759
759
  );
760
760
  }), Bt = ({ goal: t }) => {
761
- const { goals: n } = C(), { visibleInvestmentAccounts: i } = V(), {
761
+ const { goals: n } = C(), { visibleRetirementAccounts: i } = V(), {
762
762
  addRetirementGoalAccount: s,
763
763
  newRetirementGoalAccounts: p,
764
764
  retirementGoalAccounts: a,
@@ -771,18 +771,18 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
771
771
  ), b = i.filter(
772
772
  (S) => !a.find((R) => R.account_guid === S.guid)
773
773
  ), T = async (S) => {
774
- const R = S.map((x) => ({
775
- account_guid: x.guid,
774
+ const R = S.map((v) => ({
775
+ account_guid: v.guid,
776
776
  retirement_goal_guid: t.guid
777
777
  }));
778
778
  if (c)
779
779
  l(R);
780
780
  else
781
- for (const x of R)
782
- await s(x), g(n.alert_account_added);
781
+ for (const v of R)
782
+ await s(v), g(n.alert_account_added);
783
783
  h({
784
784
  ..._,
785
- current_amount: S.reduce((x, F) => x + (F.balance || 0), 0)
785
+ current_amount: S.reduce((v, F) => v + (F.balance || 0), 0)
786
786
  }), m(!1);
787
787
  };
788
788
  return /* @__PURE__ */ r(f, { children: [
@@ -792,7 +792,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
792
792
  ] }, S.guid)),
793
793
  /* @__PURE__ */ e(N, { disableGutters: !0, disablePadding: !0, sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ r(k, { onClick: () => m(!0), children: [
794
794
  /* @__PURE__ */ e(w, { children: /* @__PURE__ */ r(f, { alignItems: "center", color: "primary.main", direction: "row", gap: 8, children: [
795
- /* @__PURE__ */ e(ve, { filled: !0 }),
795
+ /* @__PURE__ */ e(xe, { filled: !0 }),
796
796
  n.details_add_account
797
797
  ] }) }),
798
798
  /* @__PURE__ */ e(M, { color: "primary" })
@@ -854,7 +854,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
854
854
  t.track_type === d.SAVINGS_TRACK && !t.is_complete && /* @__PURE__ */ e(wt, { goal: t })
855
855
  ] });
856
856
  }), Ot = D(({ onClose: t }) => {
857
- const { visibleInvestmentAccounts: n } = V(), { goals: i, common: s } = C(), {
857
+ const { visibleRetirementAccounts: n } = V(), { goals: i, common: s } = C(), {
858
858
  addGoal: p,
859
859
  addRetirementGoal: a,
860
860
  deleteGoal: _,
@@ -865,17 +865,17 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
865
865
  setAlert: m,
866
866
  setSelectedGoal: c,
867
867
  updateGoal: u
868
- } = I(), { user: b } = Ie(), [T, S] = y.useState(!1), R = !o?.guid, x = o?.track_type === d.SAVINGS_TRACK && o.is_complete && !o.has_been_spent, F = y.useMemo(() => {
868
+ } = I(), { user: b } = Ie(), [T, S] = y.useState(!1), R = !o?.guid, v = o?.track_type === d.SAVINGS_TRACK && o.is_complete && !o.has_been_spent, F = y.useMemo(() => {
869
869
  const G = R ? l : h;
870
870
  return n.filter(($) => G.some((K) => K.account_guid === $.guid));
871
871
  }, [R, n, l, h]), Z = y.useMemo(() => {
872
872
  if (!o) return !1;
873
- if (!R && !x) return !0;
873
+ if (!R && !v) return !0;
874
874
  const { account_guid: G, track_type: $, name: K, amount: q, retirement_age: O } = o;
875
875
  return $ === d.SAVINGS_TRACK ? G ? !!K && !!q : !1 : $ === d.RETIREMENT_TRACK ? F.length ? !!K && !!q && !!O && !!b.birthday : !1 : !0;
876
876
  }, [o, F, b.birthday]);
877
877
  let z = s.delete_button, H = () => S(!0);
878
- R ? (H = () => te(), z = s.save_button) : x && (H = () => se(), z = i.mark_as_complete_button);
878
+ R ? (H = () => te(), z = s.save_button) : v && (H = () => se(), z = i.mark_as_complete_button);
879
879
  const te = async () => {
880
880
  if (o) {
881
881
  const G = o.track_type;
@@ -900,7 +900,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
900
900
  isPrimaryDisabled: !Z,
901
901
  onClose: () => c(void 0),
902
902
  onPrimaryAction: H,
903
- primaryColor: R || x ? "primary" : "error",
903
+ primaryColor: R || v ? "primary" : "error",
904
904
  primaryText: z,
905
905
  secondaryColor: "primary",
906
906
  title: i.goal_details,
@@ -922,15 +922,15 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
922
922
  )
923
923
  ] });
924
924
  }), Hn = D(({ onBackClick: t, sx: n }) => {
925
- const { onEvent: i } = Ge(), { isMobile: s } = he(), { visibleAccounts: p } = V(), { isCopyLoaded: a, isInitialized: _, setSelectedAccounts: g } = Ne(), { goals: l, common: h } = C(), { alert: o, goals: m, goalsLoaded: c, loadGoals: u, monthlyCashFlowProfile: b, setAlert: T, retirmentGoals: S } = I(), [R, x] = y.useState(0), [F, Z] = y.useState(!1), z = b?.amount_allocated_for_savings_goals || 0, H = b?.amount_allocated_for_debt_goals || 0, te = b?.amount_allocated_for_retirement_goals || 0, ie = a ? B(
925
+ const { onEvent: i } = Ge(), { isMobile: s } = he(), { visibleAccounts: p } = V(), { isCopyLoaded: a, isInitialized: _, setSelectedAccounts: g } = Ne(), { goals: l, common: h } = C(), { alert: o, goals: m, goalsLoaded: c, loadGoals: u, monthlyCashFlowProfile: b, setAlert: T, retirmentGoals: S } = I(), [R, v] = y.useState(0), [F, Z] = y.useState(!1), z = b?.amount_allocated_for_savings_goals || 0, H = b?.amount_allocated_for_debt_goals || 0, te = b?.amount_allocated_for_retirement_goals || 0, ie = a ? B(
926
926
  s ? l.tab_subtitle_mobile : l.tab_subtitle,
927
- v(z, "0,0")
927
+ x(z, "0,0")
928
928
  ) : "", se = a ? B(
929
929
  s ? l.tab_subtitle_mobile : l.tab_subtitle,
930
- v(H, "0,0")
930
+ x(H, "0,0")
931
931
  ) : "", G = a ? B(
932
932
  s ? l.tab_subtitle_mobile : l.tab_subtitle,
933
- v(te, "0,0")
933
+ x(te, "0,0")
934
934
  ) : "";
935
935
  y.useEffect(() => {
936
936
  g(p), i(Y.GOALS_VIEW);
@@ -942,7 +942,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
942
942
  }, K = () => {
943
943
  Z(!0), i(Y.GOALS_CLICK_ADD);
944
944
  }, q = (X) => {
945
- Z(!1), X === d.SAVINGS_TRACK ? x(0) : X === d.DEBT_TRACK ? x(1) : X === d.RETIREMENT_TRACK && x(2);
945
+ Z(!1), X === d.SAVINGS_TRACK ? v(0) : X === d.DEBT_TRACK ? v(1) : X === d.RETIREMENT_TRACK && v(2);
946
946
  }, O = y.useMemo(
947
947
  () => c && (m.length === 0 || m.every(({ track_type: X }) => !X) && S.length === 0),
948
948
  [m, c, S]
@@ -967,7 +967,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
967
967
  /* @__PURE__ */ r(
968
968
  Fe,
969
969
  {
970
- onChange: (X, Oe) => x(Oe),
970
+ onChange: (X, Oe) => v(Oe),
971
971
  sx: { bgcolor: "background.paper" },
972
972
  textColor: "primary",
973
973
  value: O ? !1 : R,
@@ -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-BMWagbIl.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-BeB6ab8V.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-BMWagbIl.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";