@mx-cartographer/experiences 8.0.0-alpha.bb3 → 8.0.0-alpha.bb4

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 (219) hide show
  1. package/CHANGELOG.md +128 -1
  2. package/dist/{Account-Bxw0_4FU.mjs → Account-B4CDD-zq.mjs} +1 -1
  3. package/dist/AccountDetailsContent-adZTkM52.mjs +683 -0
  4. package/dist/AccountDetailsHeader-DRjFuyJT.mjs +87 -0
  5. package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-Cl4KHoSj.mjs} +14 -12
  6. package/dist/AccountListItem-wgmlex-_.mjs +90 -0
  7. package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-HbVblv86.mjs} +19 -8
  8. package/dist/{Accounts-BRf_YeTf.mjs → Accounts-CRUehOiy.mjs} +1 -1
  9. package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
  10. package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
  11. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-Jv8h9H9l.mjs} +33 -33
  12. package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-CA190BPF.mjs} +18 -25
  13. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  14. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-Dl006GKy.mjs} +43 -41
  15. package/dist/{CategoryStore-yHI0hWmK.mjs → CategoryStore-MUwRWH9e.mjs} +13 -11
  16. package/dist/{CategoryUtil-pZRIYOgN.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
  17. package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-DVp54lUH.mjs} +49 -48
  18. package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-Dsc04-4Z.mjs} +3 -3
  19. package/dist/CurrencyInput-D1cjbdCI.mjs +85 -0
  20. package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
  21. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CDPZw_-m.mjs} +3 -3
  22. package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-pL63fmdT.mjs} +3 -3
  23. package/dist/{Dialog-CWW597AF.mjs → Dialog-CDV0kKxj.mjs} +24 -24
  24. package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
  25. package/dist/Drawer-BF40nbsH.mjs +163 -0
  26. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  27. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-QhQK4_FU.mjs} +4 -4
  28. package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
  29. package/dist/FinstrongStore-BGf36b0z.mjs +451 -0
  30. package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-C1-w3Y1E.mjs} +7 -7
  31. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  32. package/dist/{Help-B6dIcujh.mjs → Help-DBfsTkAi.mjs} +125 -146
  33. package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
  34. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  35. package/dist/LineChart-C1PxNf7P.mjs +581 -0
  36. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BNCWQAN_.mjs} +10 -10
  37. package/dist/Loader-Ckqi9Rx6.mjs +21 -0
  38. package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-8EsStyIQ.mjs} +195 -192
  39. package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
  40. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
  41. package/dist/MiniWidgetContainer-CKzf_Ira.mjs +56 -0
  42. package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-Bti6u-d9.mjs} +4 -4
  43. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-B74rQVYC.mjs} +276 -273
  44. package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-Ck2KdNmT.mjs} +10 -10
  45. package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
  46. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-2Y_3U_mg.mjs} +10 -10
  47. package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-DAncu--R.mjs} +17 -17
  48. package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-CxcSL1dY.mjs} +106 -105
  49. package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-CNFxyGB6.mjs} +80 -73
  50. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-Cn6-R7ue.mjs} +10 -10
  51. package/dist/SearchBox-B7km148n.mjs +39 -0
  52. package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-BASMQSIp.mjs} +3 -3
  53. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +6 -6
  54. package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
  55. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DPQ96k3x.mjs} +19 -19
  56. package/dist/SpendingLegend-6FqtMcBV.mjs +193 -0
  57. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  58. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  59. package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
  60. package/dist/TransactionApi-CjBoLleL.mjs +86 -0
  61. package/dist/TransactionDetails-Bn0qY5Hw.mjs +1336 -0
  62. package/dist/{TransactionStore-ai3uII_r.mjs → TransactionStore-DbwAutwC.mjs} +146 -165
  63. package/dist/TrendsStore-_mRaFUdf.mjs +182 -0
  64. package/dist/{User-BQUxBeZV.mjs → User-BklmOUSd.mjs} +107 -107
  65. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DAkyNRlD.mjs} +706 -729
  66. package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CDh9fjpR.mjs} +36 -36
  67. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  68. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
  69. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
  70. package/dist/accounts/index.es.js +228 -221
  71. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  72. package/dist/analytics/index.es.js +27 -27
  73. package/dist/budgets/index.es.js +459 -462
  74. package/dist/cashflow/index.es.js +419 -428
  75. package/dist/categories/index.es.js +2 -2
  76. package/dist/categories/stores/CategoryStore.d.ts +1 -1
  77. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  78. package/dist/common/components/Loader.d.ts +1 -2
  79. package/dist/common/components/Select.d.ts +4 -2
  80. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  81. package/dist/common/components/charts/LineChart.d.ts +12 -2
  82. package/dist/common/components/charts/index.d.ts +0 -3
  83. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  84. package/dist/common/components/charts/linechart/CustomMark.d.ts +5 -1
  85. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  86. package/dist/common/components/drawer/Footer.d.ts +17 -0
  87. package/dist/common/components/index.d.ts +0 -1
  88. package/dist/common/hooks/index.d.ts +0 -1
  89. package/dist/common/hooks/useAriaLive.d.ts +1 -1
  90. package/dist/common/index.es.js +402 -668
  91. package/dist/common/stores/GlobalStore.d.ts +7 -1
  92. package/dist/common/types/Finstrong.d.ts +54 -0
  93. package/dist/common/types/Global.d.ts +1 -0
  94. package/dist/common/types/Widgets.d.ts +1 -0
  95. package/dist/common/types/index.d.ts +1 -1
  96. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  97. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  98. package/dist/common/utils/Theme.d.ts +1 -3
  99. package/dist/dashboard/index.es.js +21 -21
  100. package/dist/debts/components/DebtsChart.d.ts +1 -2
  101. package/dist/debts/index.es.js +673 -665
  102. package/dist/exportTransactionsToCSV-BgV_wTLT.mjs +48 -0
  103. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  104. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  105. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  106. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  107. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  108. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  109. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  110. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  111. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  112. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  113. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  114. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  115. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  116. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  117. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  118. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  119. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  120. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  121. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  122. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  123. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  124. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  125. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  126. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  127. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  128. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  129. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  130. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  131. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  132. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  133. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  134. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  135. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  136. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  137. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  138. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  139. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  140. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  141. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  142. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  143. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  144. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  145. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  146. package/dist/finstrong/constants/index.d.ts +9 -0
  147. package/dist/finstrong/index.es.js +3175 -1067
  148. package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
  149. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  150. package/dist/goals/index.es.js +580 -570
  151. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  152. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  153. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  154. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  155. package/dist/help/index.es.js +6 -6
  156. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  157. package/dist/insights/index.es.js +1 -1
  158. package/dist/investments/index.es.js +537 -536
  159. package/dist/merchants/index.es.js +9 -9
  160. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
  161. package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
  162. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  163. package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
  164. package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
  165. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
  166. package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
  167. package/dist/microinsights/carousel/BeatList.d.ts +10 -0
  168. package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
  169. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  170. package/dist/microinsights/constants/App.d.ts +0 -1
  171. package/dist/microinsights/index.d.ts +3 -3
  172. package/dist/microinsights/index.es.js +7 -7
  173. package/dist/microinsights/interfaces.d.ts +0 -6
  174. package/dist/networth/components/NetWorthChange.d.ts +3 -1
  175. package/dist/networth/index.es.js +262 -254
  176. package/dist/notifications/index.es.js +90 -91
  177. package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
  178. package/dist/recurringtransactions/index.es.js +586 -562
  179. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -0
  180. package/dist/settings/index.es.js +371 -365
  181. package/dist/spending/index.es.js +267 -419
  182. package/dist/spending/utils/SpendingData.d.ts +2 -1
  183. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  184. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  185. package/dist/transactions/index.es.js +231 -226
  186. package/dist/transactions/stores/TransactionStore.d.ts +1 -1
  187. package/dist/transactions/stores/UiStore.d.ts +0 -2
  188. package/dist/trends/index.es.js +988 -612
  189. package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-CcIp09Xc.mjs} +2 -2
  190. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-kNzLTWCp.mjs} +3 -3
  191. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  192. package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-B5afALev.mjs} +1 -1
  193. package/package.json +51 -56
  194. package/dist/AccountDetailsContent-CAM9y39M.mjs +0 -679
  195. package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
  196. package/dist/AccountListItem-JFMZROh7.mjs +0 -90
  197. package/dist/CurrencyInput-DUsQbkXb.mjs +0 -85
  198. package/dist/Drawer-kEE73B87.mjs +0 -113
  199. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  200. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  201. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  202. package/dist/Loader-DUaFpDGv.mjs +0 -24
  203. package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
  204. package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
  205. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  206. package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
  207. package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
  208. package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
  209. package/dist/common/components/barchart/Bar.d.ts +0 -25
  210. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  211. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  212. package/dist/common/components/barchart/Legend.d.ts +0 -8
  213. package/dist/common/components/barchart/Util.d.ts +0 -42
  214. package/dist/common/components/barchart/index.d.ts +0 -1
  215. package/dist/common/hooks/usePrevious.d.ts +0 -2
  216. package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
  217. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  218. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  219. package/dist/useAriaLive-B3_pRUio.mjs +0 -35
@@ -1,109 +1,114 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import d from "react";
3
- import { observer as x } from "mobx-react-lite";
4
- import u from "@mui/material/Stack";
5
- import { Text as g } from "@mxenabled/mxui";
6
- import s from "@mui/material/Skeleton";
7
- import O from "@mui/material/Box";
8
- import b from "@mui/material/Divider";
9
- import B from "@mui/material/List";
10
- import I from "@mui/material/ListSubheader";
11
- import S from "@mui/system/Stack";
12
- import { A as P } from "../AccountDetailsContent-CAM9y39M.mjs";
13
- import { u as U1 } from "../AccountDetailsContent-CAM9y39M.mjs";
14
- import { u as Y, A as q } from "../AccountDetailsHeader-JtSX6Uf9.mjs";
15
- import { A as W } from "../AccountListItem-JFMZROh7.mjs";
16
- import { a as J } from "../AccountFields-C9FlatNb.mjs";
17
- import { g as j1, b as G1 } from "../AccountFields-C9FlatNb.mjs";
18
- import { u as A, b as F, d as D, g as U, a as Q } from "../hooks-D6XlXHf4.mjs";
19
- import { f as N } from "../NumberFormatting-Buh7u8Oi.mjs";
20
- import { D as X } from "../Drawer-kEE73B87.mjs";
21
- import { A as k, W as e1 } from "../WidgetContainer-BHWANqT4.mjs";
22
- import { C as t1 } from "../ConnectionsDrawer-ByGQE7D5.mjs";
23
- import { u as $ } from "../useScreenSize-B6JyS_Lj.mjs";
24
- import { L as T } from "../Loader-DUaFpDGv.mjs";
25
- import { l as j, m as i1 } from "../ConnectDrawer-BQNs-hjk.mjs";
26
- import { F as z1, f as P1 } from "../ConnectDrawer-BQNs-hjk.mjs";
27
- import l1 from "@mui/material/ListItem";
28
- import { M as G } from "../MiniWidgetContainer-D0gfmbaF.mjs";
29
- import { A as q1, a as J1 } from "../AccountStore-BgNOyMdp.mjs";
30
- const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [...Array.isArray(n) ? n : [n]], children: [
31
- r === "list" && /* @__PURE__ */ i(u, { gap: 24, children: [
32
- /* @__PURE__ */ e(s, { height: 25, variant: "rounded", width: 150 }),
33
- /* @__PURE__ */ e(s, { height: 50, variant: "rounded" }),
34
- /* @__PURE__ */ e(s, { height: 50, variant: "rounded" }),
35
- /* @__PURE__ */ e(s, { height: 50, variant: "rounded" })
36
- ] }),
37
- r === "card" && /* @__PURE__ */ i(u, { gap: 24, children: [
38
- /* @__PURE__ */ e(s, { height: 50, variant: "rounded" }),
39
- /* @__PURE__ */ i(u, { direction: "row", gap: 24, children: [
40
- /* @__PURE__ */ e(s, { height: 300, variant: "rounded", width: "20%" }),
41
- /* @__PURE__ */ e(s, { height: 300, variant: "rounded", width: "80%" })
42
- ] })
43
- ] }),
44
- r === "dashboard" && /* @__PURE__ */ i(u, { gap: 24, children: [
45
- /* @__PURE__ */ e(s, { height: 75, variant: "rounded" }),
46
- /* @__PURE__ */ i(u, { gap: 24, children: [
47
- /* @__PURE__ */ i(u, { direction: "row", gap: 24, children: [
48
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "75%" }),
49
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "25%" })
50
- ] }),
51
- /* @__PURE__ */ i(u, { direction: "row", gap: 24, children: [
52
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "75%" }),
53
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "25%" })
54
- ] }),
55
- /* @__PURE__ */ i(u, { direction: "row", gap: 24, children: [
56
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "75%" }),
57
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "25%" })
58
- ] })
59
- ] })
60
- ] })
61
- ] }), n1 = () => {
62
- const [n, r] = d.useState(""), { accounts: C } = A(), { selectedAccounts: l } = F(), { setSelectedAccount: f, setSelectedMember: L } = Y(), { members: V } = D(), { onEvent: h } = U(), v = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => n === t.guid), c = d.useMemo(
1
+ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
+ import s from "react";
3
+ import { observer as g } from "mobx-react-lite";
4
+ import B from "@mui/material/Stack";
5
+ import { Text as V } from "@mxenabled/mxui";
6
+ import { S as U } from "../SkeletonLoader-BaNboJjD.mjs";
7
+ import N from "@mui/material/Box";
8
+ import y from "@mui/material/Divider";
9
+ import E from "@mui/material/List";
10
+ import O from "@mui/material/ListSubheader";
11
+ import x from "@mui/system/Stack";
12
+ import { useTheme as Q } from "@mui/material/styles";
13
+ import { u as P, A as X } from "../AccountDetailsHeader-DRjFuyJT.mjs";
14
+ import { L as e1 } from "../LineChart-C1PxNf7P.mjs";
15
+ import { g as t1, a as l1, b as n1 } from "../SpendingData-DPQ96k3x.mjs";
16
+ import { m as i1, u as v, b as S, d as F, g as G, a as o1, n as C1 } from "../hooks-C41HAxM5.mjs";
17
+ import { A as W, l as j, m as d1 } from "../ConnectDrawer-DVp54lUH.mjs";
18
+ import { F as C3, f as d3 } from "../ConnectDrawer-DVp54lUH.mjs";
19
+ import { I as Y, P as $, S as K } from "../Account-B4CDD-zq.mjs";
20
+ import { a as c1 } from "../AccountFields-Cl4KHoSj.mjs";
21
+ import { g as s3, b as a3 } from "../AccountFields-Cl4KHoSj.mjs";
22
+ import { A as T } from "../AccountListItem-wgmlex-_.mjs";
23
+ import { A as s1 } from "../AccountDetailsContent-adZTkM52.mjs";
24
+ import { u as u3 } from "../AccountDetailsContent-adZTkM52.mjs";
25
+ import { D as a1 } from "../Drawer-BF40nbsH.mjs";
26
+ import { f as I } from "../NumberFormatting-DjTD0t3W.mjs";
27
+ import { A as b, W as r1 } from "../WidgetContainer-CDh9fjpR.mjs";
28
+ import { C as u1 } from "../ConnectionsDrawer-Dsc04-4Z.mjs";
29
+ import { L as D } from "../Loader-Ckqi9Rx6.mjs";
30
+ import { u as z } from "../useScreenSize-B5afALev.mjs";
31
+ import L1 from "@mui/material/ListItem";
32
+ import { M as q } from "../MiniWidgetContainer-CKzf_Ira.mjs";
33
+ import { A as h3, a as H3 } from "../AccountStore-HbVblv86.mjs";
34
+ const h1 = (o, C) => {
35
+ const n = Y.includes(C) ? t1(o) : [], l = $.includes(C) ? l1(o) : [], u = K.includes(C) ? n1(o) : [];
36
+ return [n, l, u].filter((i) => i.length > 0);
37
+ }, H1 = (o, C, n) => {
38
+ const [l, u] = o, i = l, L = u ?? l, d = [];
39
+ if (i && L && Y.includes(C)) {
40
+ const h = i[i.length - 1].y;
41
+ d.push({ label: n.income_label, amount: h });
42
+ } else if ($.includes(C)) {
43
+ const h = i[i.length - 1].y;
44
+ d.push({ label: n.payments_label, amount: h });
45
+ }
46
+ if (L && K.includes(C)) {
47
+ const h = L[L.length - 1].y;
48
+ d.push({ label: n.spending_label, amount: h });
49
+ }
50
+ return d;
51
+ }, p1 = () => {
52
+ const o = Q(), { selectedAccount: C } = P(), { monthlyCategoryTotals: n } = i1(), { trends: l } = v(), u = [o.palette.chart?.chart1, o.palette.chart?.chart2], i = h1(n, C.account_type), L = H1(i, C.account_type, l), d = [W.LOAN, W.MORTGAGE].includes(C.account_type);
53
+ return /* @__PURE__ */ e("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ e(
54
+ e1,
55
+ {
56
+ colors: u,
57
+ datasets: i,
58
+ height: 185,
59
+ labels: L,
60
+ showAverage: d,
61
+ showBars: d,
62
+ showLegend: !0,
63
+ valueFormatterString: "0,0"
64
+ }
65
+ ) });
66
+ }, f1 = g(p1), m1 = () => {
67
+ const [o, C] = s.useState(""), { accounts: n } = v(), { selectedAccounts: l } = S(), { setSelectedAccount: u, setSelectedMember: i } = P(), { members: L } = F(), { onEvent: d } = G(), h = [...new Set(l.map((t) => t.account_type))], p = l.find((t) => o === t.guid), H = s.useMemo(
63
68
  () => l.filter((t) => t.is_hidden),
64
69
  [l]
65
- ), p = d.useMemo(
70
+ ), f = s.useMemo(
66
71
  () => l.filter((t) => t.is_closed),
67
72
  [l]
68
- ), R = c.reduce(
69
- (t, o) => (o.available_balance || o.balance || 0) + t,
73
+ ), M = H.reduce(
74
+ (t, a) => (a.available_balance || a.balance || 0) + t,
70
75
  0
71
- ), M = J(p, C);
72
- d.useEffect(() => {
73
- if (H) {
74
- f(H);
75
- const t = V.find((o) => o.guid === H?.member_guid) || {};
76
- t && L(t);
76
+ ), R = c1(f, n);
77
+ s.useEffect(() => {
78
+ if (p) {
79
+ u(p);
80
+ const t = L.find((a) => a.guid === p?.member_guid) || {};
81
+ t && i(t);
77
82
  }
78
- }, [H, n]);
83
+ }, [p, o]);
79
84
  const _ = (t) => {
80
- r(t.guid), h(k.ACCOUNTS_CLICK_ACCOUNT, {
85
+ C(t.guid), d(b.ACCOUNTS_CLICK_ACCOUNT, {
81
86
  account_guid: t.guid,
82
87
  account_type: t.account_type
83
88
  });
84
89
  }, w = (t) => {
85
- const o = t === "hidden" ? c : p, Z = t === "hidden" ? R : M, a = t === "hidden" ? C.account_hidden : C.account_closed;
86
- return /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
87
- B,
90
+ const a = t === "hidden" ? H : f, A = t === "hidden" ? M : R, c = t === "hidden" ? n.account_hidden : n.account_closed;
91
+ return /* @__PURE__ */ e(N, { children: /* @__PURE__ */ e(
92
+ E,
88
93
  {
89
- "aria-label": a,
90
- subheader: /* @__PURE__ */ e(I, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ i(
91
- S,
94
+ "aria-label": c,
95
+ subheader: /* @__PURE__ */ e(O, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ r(
96
+ x,
92
97
  {
93
98
  component: "span",
94
99
  direction: "row",
95
100
  sx: { justifyContent: "space-between", color: "grey.700" },
96
101
  children: [
97
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: a }),
98
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: N(Z, "0,0.00") })
102
+ /* @__PURE__ */ e(V, { bold: !0, variant: "body1", children: c }),
103
+ /* @__PURE__ */ e(V, { bold: !0, variant: "body1", children: I(A, "0,0.00") })
99
104
  ]
100
105
  }
101
106
  ) }),
102
- children: /* @__PURE__ */ e(S, { children: o.map((m, y, z) => {
103
- const E = y === z.length - 1;
104
- return /* @__PURE__ */ i(d.Fragment, { children: [
107
+ children: /* @__PURE__ */ e(x, { children: a.map((m, Z, J) => {
108
+ const k = Z === J.length - 1;
109
+ return /* @__PURE__ */ r(s.Fragment, { children: [
105
110
  /* @__PURE__ */ e(
106
- W,
111
+ T,
107
112
  {
108
113
  account: m,
109
114
  onRowClick: () => _(m),
@@ -111,15 +116,15 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
111
116
  }
112
117
  ),
113
118
  t === "hidden" ? /* @__PURE__ */ e(
114
- b,
119
+ y,
115
120
  {
116
121
  sx: {
117
- mb: E ? 24 : 4,
118
- ml: E ? 24 : 68
122
+ mb: k ? 24 : 4,
123
+ ml: k ? 24 : 68
119
124
  }
120
125
  }
121
- ) : !E && /* @__PURE__ */ e(
122
- b,
126
+ ) : !k && /* @__PURE__ */ e(
127
+ y,
123
128
  {
124
129
  sx: {
125
130
  mb: 4,
@@ -132,163 +137,165 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
132
137
  }
133
138
  ) });
134
139
  };
135
- return /* @__PURE__ */ i(O, { sx: { pt: 24 }, children: [
136
- v.map((t) => {
137
- const o = l.filter(
138
- (a) => a.account_type === t && !a.is_closed && !a.is_hidden
139
- ), Z = o.reduce(
140
- (a, m) => (m.balance || 0) + a,
140
+ return /* @__PURE__ */ r(N, { sx: { pt: 24 }, children: [
141
+ h.map((t) => {
142
+ const a = l.filter(
143
+ (c) => c.account_type === t && !c.is_closed && !c.is_hidden
144
+ ), A = a.reduce(
145
+ (c, m) => (m.balance || 0) + c,
141
146
  0
142
147
  );
143
- return o.length === 0 ? null : /* @__PURE__ */ e(
144
- B,
148
+ return a.length === 0 ? null : /* @__PURE__ */ e(
149
+ E,
145
150
  {
146
- "aria-label": C.account_type_accounts[o[0]?.account_type],
147
- subheader: /* @__PURE__ */ e(I, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ i(
148
- S,
151
+ "aria-label": n.account_type_accounts[a[0]?.account_type],
152
+ subheader: /* @__PURE__ */ e(O, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ r(
153
+ x,
149
154
  {
150
155
  component: "span",
151
156
  direction: "row",
152
157
  sx: { display: "flex", justifyContent: "space-between" },
153
158
  children: [
154
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: C.account_types[t] }),
155
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: N(Z, "0,0.00") })
159
+ /* @__PURE__ */ e(V, { bold: !0, variant: "body1", children: n.account_types[t] }),
160
+ /* @__PURE__ */ e(V, { bold: !0, variant: "body1", children: I(A, "0,0.00") })
156
161
  ]
157
162
  }
158
163
  ) }),
159
- children: /* @__PURE__ */ e(S, { children: o.map((a) => {
160
- const m = l.indexOf(a) === l.length - 1, y = o.indexOf(a) === o.length - 1;
161
- return /* @__PURE__ */ i(d.Fragment, { children: [
164
+ children: /* @__PURE__ */ e(x, { children: a.map((c) => {
165
+ const m = l.indexOf(c) === l.length - 1, Z = a.indexOf(c) === a.length - 1;
166
+ return /* @__PURE__ */ r(s.Fragment, { children: [
162
167
  /* @__PURE__ */ e(
163
- W,
168
+ T,
164
169
  {
165
- account: a,
166
- onRowClick: () => _(a),
170
+ account: c,
171
+ onRowClick: () => _(c),
167
172
  shouldShowConnectionStatus: !0
168
173
  }
169
174
  ),
170
- (!m || p.length > 0 || c.length > 0) && /* @__PURE__ */ e(
171
- b,
175
+ (!m || f.length > 0 || H.length > 0) && /* @__PURE__ */ e(
176
+ y,
172
177
  {
173
178
  sx: {
174
- mb: y ? 24 : 4,
175
- ml: y ? 24 : 68
179
+ mb: Z ? 24 : 4,
180
+ ml: Z ? 24 : 68
176
181
  }
177
182
  }
178
183
  )
179
- ] }, a.guid);
184
+ ] }, c.guid);
180
185
  }) })
181
186
  },
182
187
  t
183
188
  );
184
189
  }),
185
- c.length > 0 && w("hidden"),
186
- p.length > 0 && w("closed"),
187
- /* @__PURE__ */ i(
188
- X,
190
+ H.length > 0 && w("hidden"),
191
+ f.length > 0 && w("closed"),
192
+ /* @__PURE__ */ r(
193
+ a1,
189
194
  {
190
- ariaLabelClose: C.close_account_details_aria,
191
- isOpen: !!n,
192
- onClose: () => r(""),
193
- title: C.account_details,
195
+ ariaLabelClose: n.close_account_details_aria,
196
+ isOpen: !!o,
197
+ onClose: () => C(""),
198
+ title: n.account_details,
194
199
  children: [
195
- /* @__PURE__ */ e(q, {}),
196
- /* @__PURE__ */ e(P, {})
200
+ /* @__PURE__ */ e(X, { ChartComponent: f1 }),
201
+ /* @__PURE__ */ e(s1, {})
197
202
  ]
198
203
  }
199
204
  )
200
205
  ] });
201
- }, o1 = x(n1), d1 = ({ onBackClick: n, sx: r = {} }) => {
202
- const [C, l] = d.useState(!1), [f, L] = d.useState(!1), { config: V } = Q(), { detailedAccounts: h, isAccountDataLoaded: v, loadAccountData: H } = D(), { accounts: c, connect: p } = A(), { isInitialized: R, selectedAccountGuids: M, setSelectedAccounts: _ } = F(), { isDesktop: w } = $(), { onEvent: t } = U();
203
- d.useEffect(() => {
204
- v || H().finally();
205
- }, []), d.useEffect(() => {
206
- _(h);
206
+ }, V1 = g(m1), g1 = ({ onBackClick: o, sx: C = {} }) => {
207
+ const [n, l] = s.useState(!1), [u, i] = s.useState(!1), { config: L } = o1(), { detailedAccounts: d, isAccountDataLoaded: h, loadAccountData: p } = F(), { accounts: H, connect: f } = v(), { isInitialized: M, selectedAccountGuids: R, setSelectedAccounts: _ } = S(), { isDesktop: w } = z(), { onEvent: t } = G(), { onLoad: a } = C1();
208
+ s.useEffect(() => {
209
+ h || p().finally();
210
+ }, []), s.useEffect(() => {
211
+ _(d);
212
+ }, [d]), s.useEffect(() => {
213
+ h && a?.("AccountsWidget");
207
214
  }, [h]);
208
- const o = () => {
209
- l(!0), t(k.ACCOUNTS_CLICK_CONNECT);
210
- }, Z = () => {
211
- L(!0), t(k.ACCOUNTS_CLICK_CONNECT);
215
+ const A = () => {
216
+ l(!0), t(b.ACCOUNTS_CLICK_CONNECT);
217
+ }, c = () => {
218
+ i(!0), t(b.ACCOUNTS_CLICK_CONNECT);
212
219
  };
213
- return R ? /* @__PURE__ */ i(
214
- e1,
220
+ return M ? /* @__PURE__ */ r(
221
+ r1,
215
222
  {
216
- accountOptions: h,
217
- actions: V.show_connections_widget_in_master ? [
218
- { iconName: "add", label: c.add, onClick: o },
223
+ accountOptions: d,
224
+ actions: L.show_connections_widget_in_master ? [
225
+ { iconName: "add", label: H.add, onClick: A },
219
226
  {
220
227
  iconName: "credit_card_gear",
221
- label: c.manage,
222
- onClick: Z
228
+ label: H.manage,
229
+ onClick: c
223
230
  }
224
231
  ] : [],
225
- onAccountsFilterClick: () => t(k.ACCOUNTS_CLICK_FILTER),
226
- onBackClick: n,
227
- sx: r,
228
- title: c.title,
232
+ onAccountsFilterClick: () => t(b.ACCOUNTS_CLICK_FILTER),
233
+ onBackClick: o,
234
+ sx: C,
235
+ title: H.title,
229
236
  children: [
230
- v ? /* @__PURE__ */ i(u, { sx: { px: w ? 24 : 12 }, children: [
231
- M.length < 1 && /* @__PURE__ */ e(g, { display: "flex", justifyContent: "center", my: 24, children: c.no_accounts }),
232
- /* @__PURE__ */ e(o1, {})
233
- ] }) : /* @__PURE__ */ e(K, { sx: { px: w ? 48 : 24, pt: 24 }, variant: "list" }),
237
+ h ? /* @__PURE__ */ r(B, { sx: { px: w ? 24 : 12 }, children: [
238
+ R.length < 1 && /* @__PURE__ */ e(V, { display: "flex", justifyContent: "center", my: 24, children: H.no_accounts }),
239
+ /* @__PURE__ */ e(V1, {})
240
+ ] }) : /* @__PURE__ */ e(U, { sx: { px: w ? 48 : 24, pt: 24 }, variant: "list" }),
234
241
  /* @__PURE__ */ e(
235
242
  j,
236
243
  {
237
244
  onClose: () => l(!1),
238
- showConnectWidget: C,
239
- title: p.mini_title
245
+ showConnectWidget: n,
246
+ title: f.mini_title
240
247
  }
241
248
  ),
242
249
  /* @__PURE__ */ e(
243
- t1,
250
+ u1,
244
251
  {
245
- onClose: () => L(!1),
246
- showConnectionsWidget: f,
247
- title: c.manage_connections
252
+ onClose: () => i(!1),
253
+ showConnectionsWidget: u,
254
+ title: H.manage_connections
248
255
  }
249
256
  )
250
257
  ]
251
258
  }
252
- ) : /* @__PURE__ */ e(T, {});
253
- }, D1 = x(d1), C1 = ({ onPrimaryCtaClick: n, sx: r }) => {
254
- const { visibleAccounts: C, isAccountDataLoaded: l, loadAccountData: f } = D(), { accounts: L } = A(), { isInitialized: V, selectedAccounts: h, setSelectedAccounts: v } = F(), { isDesktop: H } = $();
255
- d.useEffect(() => {
256
- l || f().finally();
257
- }, []), d.useEffect(() => {
258
- v(C);
259
- }, [C]);
260
- const c = d.useMemo(
261
- () => i1(h, H ? 5 : 3),
262
- [h, H]
259
+ ) : /* @__PURE__ */ e(D, {});
260
+ }, t3 = g(g1), v1 = ({ onPrimaryCtaClick: o, sx: C }) => {
261
+ const { visibleAccounts: n, isAccountDataLoaded: l, loadAccountData: u } = F(), { accounts: i } = v(), { isInitialized: L, selectedAccounts: d, setSelectedAccounts: h } = S(), { isDesktop: p } = z();
262
+ s.useEffect(() => {
263
+ l || u().finally();
264
+ }, []), s.useEffect(() => {
265
+ h(n);
266
+ }, [n]);
267
+ const H = s.useMemo(
268
+ () => d1(d, p ? 5 : 3),
269
+ [d, p]
263
270
  );
264
- return V ? /* @__PURE__ */ e(
265
- G,
271
+ return L ? /* @__PURE__ */ e(
272
+ q,
266
273
  {
267
274
  className: "mx-exp-accounts-miniwidget",
268
- onPrimaryCtaClick: n,
269
- primaryCtaLabel: L.primary_cta,
270
- sx: r,
271
- title: L.mini_title,
272
- children: l ? /* @__PURE__ */ i(B, { children: [
273
- h.length === 0 && /* @__PURE__ */ e(l1, { sx: { justifyContent: "center" }, children: L.no_accounts }),
274
- c.map((p, R) => {
275
- const M = c.indexOf(p) === c.length - 1;
276
- return /* @__PURE__ */ i(d.Fragment, { children: [
275
+ onPrimaryCtaClick: o,
276
+ primaryCtaLabel: i.primary_cta,
277
+ sx: C,
278
+ title: i.mini_title,
279
+ children: l ? /* @__PURE__ */ r(E, { children: [
280
+ d.length === 0 && /* @__PURE__ */ e(L1, { sx: { justifyContent: "center" }, children: i.no_accounts }),
281
+ H.map((f, M) => {
282
+ const R = H.indexOf(f) === H.length - 1;
283
+ return /* @__PURE__ */ r(s.Fragment, { children: [
277
284
  /* @__PURE__ */ e(
278
- W,
285
+ T,
279
286
  {
280
- account: p,
287
+ account: f,
281
288
  listItemProps: { sx: { px: 24 } },
282
289
  shouldShowConnectionStatus: !0
283
290
  }
284
291
  ),
285
- !M && /* @__PURE__ */ e(b, { "aria-hidden": "true", variant: "inset" })
286
- ] }, `account-item${R}`);
292
+ !R && /* @__PURE__ */ e(y, { "aria-hidden": "true", variant: "inset" })
293
+ ] }, `account-item${M}`);
287
294
  })
288
- ] }) : /* @__PURE__ */ e(K, { sx: { px: 12, py: 8 }, variant: "list" })
295
+ ] }) : /* @__PURE__ */ e(U, { sx: { px: 12, py: 8 }, variant: "list" })
289
296
  }
290
- ) : /* @__PURE__ */ e(T, {});
291
- }, T1 = x(C1), c1 = () => /* @__PURE__ */ i(
297
+ ) : /* @__PURE__ */ e(D, {});
298
+ }, l3 = g(v1), M1 = () => /* @__PURE__ */ r(
292
299
  "svg",
293
300
  {
294
301
  fill: "none",
@@ -296,7 +303,7 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
296
303
  viewBox: "0 0 272 66",
297
304
  xmlns: "http://www.w3.org/2000/svg",
298
305
  children: [
299
- /* @__PURE__ */ i("g", { opacity: "0.35", children: [
306
+ /* @__PURE__ */ r("g", { opacity: "0.35", children: [
300
307
  /* @__PURE__ */ e("rect", { fill: "#CD1141", height: "40.3437", rx: "2.81371", width: "39.6876", x: "19.6553" }),
301
308
  /* @__PURE__ */ e(
302
309
  "path",
@@ -582,7 +589,7 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
582
589
  children: /* @__PURE__ */ e("rect", { fill: "white", height: "47.5848", rx: "3.31025", width: "46.8064", x: "113.168", y: "18.1035" })
583
590
  }
584
591
  ),
585
- /* @__PURE__ */ i("g", { mask: "url(#mask1_6197_80303)", children: [
592
+ /* @__PURE__ */ r("g", { mask: "url(#mask1_6197_80303)", children: [
586
593
  /* @__PURE__ */ e(
587
594
  "mask",
588
595
  {
@@ -727,65 +734,65 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
727
734
  )
728
735
  ]
729
736
  }
730
- ), a1 = () => {
731
- const { connect: n } = A();
732
- return /* @__PURE__ */ i(u, { alignItems: "center", direction: "column", m: 24, children: [
733
- /* @__PURE__ */ e(c1, {}),
737
+ ), R1 = () => {
738
+ const { connect: o } = v();
739
+ return /* @__PURE__ */ r(B, { alignItems: "center", direction: "column", m: 24, children: [
740
+ /* @__PURE__ */ e(M1, {}),
734
741
  /* @__PURE__ */ e(
735
- g,
742
+ V,
736
743
  {
737
744
  sx: {
738
745
  whiteSpace: "wrap",
739
746
  mt: 16,
740
747
  textAlign: "center"
741
748
  },
742
- variant: "Paragraph",
743
- children: n.mini_widget_content
749
+ variant: "subtitle1",
750
+ children: o.mini_widget_content
744
751
  }
745
752
  )
746
753
  ] });
747
- }, s1 = x(a1), r1 = ({
748
- onPrimaryCtaClick: n = () => {
754
+ }, w1 = g(R1), A1 = ({
755
+ onPrimaryCtaClick: o = () => {
749
756
  },
750
- sx: r
757
+ sx: C
751
758
  }) => {
752
- const { isCopyLoaded: C } = F(), { connect: l } = A(), [f, L] = d.useState(!1), V = () => {
753
- L(!0), n();
759
+ const { isCopyLoaded: n } = S(), { connect: l } = v(), [u, i] = s.useState(!1), L = () => {
760
+ i(!0), o();
754
761
  };
755
- return C ? /* @__PURE__ */ i(
756
- G,
762
+ return n ? /* @__PURE__ */ r(
763
+ q,
757
764
  {
758
765
  className: "mx-exp-connect-miniwidget",
759
- onPrimaryCtaClick: V,
766
+ onPrimaryCtaClick: L,
760
767
  primaryCtaLabel: l.primary_cta,
761
- sx: r,
768
+ sx: C,
762
769
  title: l.mini_title,
763
770
  children: [
764
- /* @__PURE__ */ e(s1, {}),
765
- f && /* @__PURE__ */ e(
771
+ /* @__PURE__ */ e(w1, {}),
772
+ u && /* @__PURE__ */ e(
766
773
  j,
767
774
  {
768
- onClose: () => L(!1),
769
- showConnectWidget: f,
775
+ onClose: () => i(!1),
776
+ showConnectWidget: u,
770
777
  title: l.mini_title
771
778
  }
772
779
  )
773
780
  ]
774
781
  }
775
- ) : /* @__PURE__ */ e(T, {});
776
- }, O1 = x(r1);
782
+ ) : /* @__PURE__ */ e(D, {});
783
+ }, n3 = g(A1);
777
784
  export {
778
- q1 as AccountApi,
779
- P as AccountDetailsContent,
780
- q as AccountDetailsHeader,
781
- J1 as AccountStore,
782
- T1 as AccountsMiniWidget,
783
- D1 as AccountsWidget,
784
- O1 as ConnectMiniWidget,
785
- z1 as FieldType,
786
- P1 as MemberConnectionStatus,
787
- j1 as getAccountBalanceDetails,
788
- G1 as getAccountDetailFields,
789
- Y as useAccountUiStore,
790
- U1 as useGetMergeableAccounts
785
+ h3 as AccountApi,
786
+ s1 as AccountDetailsContent,
787
+ X as AccountDetailsHeader,
788
+ H3 as AccountStore,
789
+ l3 as AccountsMiniWidget,
790
+ t3 as AccountsWidget,
791
+ n3 as ConnectMiniWidget,
792
+ C3 as FieldType,
793
+ d3 as MemberConnectionStatus,
794
+ s3 as getAccountBalanceDetails,
795
+ a3 as getAccountDetailFields,
796
+ P as useAccountUiStore,
797
+ u3 as useGetMergeableAccounts
791
798
  };
@@ -32,6 +32,8 @@ export declare class AccountStore {
32
32
  get visibleRetirementAccounts(): Account[];
33
33
  get visibleInvestmentAccounts(): DetailedAccount[];
34
34
  get visibleSavingsAccounts(): DetailedAccount[];
35
+ get savingsAndCheckingAccountsBalance(): number;
36
+ get savingsAndCheckingAccounts(): Account[];
35
37
  setAccounts: (accounts: Account[]) => void;
36
38
  setMembers: (members: Member[]) => void;
37
39
  setInstitutions: (institutions: Institution[]) => void;