@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
@@ -0,0 +1,48 @@
1
+ import { fromUnixTime as d } from "date-fns/fromUnixTime";
2
+ import { c as u } from "./Category-Ccoew_sA.mjs";
3
+ import { f as p, a as g } from "./Dialog-CDV0kKxj.mjs";
4
+ import { T as m } from "./User-BklmOUSd.mjs";
5
+ function f(t) {
6
+ return new Set(
7
+ t.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
8
+ );
9
+ }
10
+ function T(t) {
11
+ return t.reduce((n, e) => (e.parent_guid && (n[e.parent_guid] || (n[e.parent_guid] = []), n[e.parent_guid].push(e)), n), {});
12
+ }
13
+ function j(t, n) {
14
+ const e = f(n), o = T(n), r = /* @__PURE__ */ new Set(), a = [];
15
+ for (const i of t)
16
+ e.has(i.guid) ? (o[i.guid] ?? []).slice().sort((s, c) => Math.abs(c.amount) - Math.abs(s.amount)).forEach((s) => {
17
+ r.has(s.guid) || (a.push(s), r.add(s.guid));
18
+ }) : r.has(i.guid) || (a.push(i), r.add(i.guid));
19
+ return a;
20
+ }
21
+ const A = (t, n) => {
22
+ const e = _(l(t, n)), o = new Blob([e], { type: "text/csv;charset=utf-8;" }), r = document.createElement("a");
23
+ r.href = URL.createObjectURL(o), r.setAttribute("download", "transactions.csv"), document.body.appendChild(r), r.click(), document.body.removeChild(r), URL.revokeObjectURL(r.href);
24
+ }, l = (t, n) => t.map((e) => ({
25
+ Date: p(d(e.date), g.YEAR_MONTH_DAY),
26
+ Description: y(e),
27
+ "Original Description": e.feed_description,
28
+ Amount: `${e.amount}`,
29
+ Type: e.transaction_type === m.CREDIT ? "Credit" : "Debit",
30
+ "Parent Category": u[e.top_level_category_guid || ""],
31
+ Category: e.category,
32
+ Account: e.account,
33
+ Tags: C(e, n),
34
+ Memo: e.memo,
35
+ Pending: e.isPending ? "TRUE" : "FALSE"
36
+ })), h = (t) => t ? /[,"\n\r]/.test(t) ? `"${t.replace(/"/g, '""')}"` : t : "", _ = (t) => {
37
+ const n = Object.keys(t[0]).join(",").concat(`\r
38
+ `), e = t.map((o) => Object.values(o).map(h).join(",")).join(`\r
39
+ `);
40
+ return n + e;
41
+ }, y = (t) => {
42
+ let n = t.parent_guid ? "Split: " : "";
43
+ return n += t.is_hidden ? "(Excluded) " : "", n += t.description, n;
44
+ }, C = (t, n) => t.tags.map((e) => n.filter((r) => r.guid === e)[0]?.name ?? "").join(" ");
45
+ export {
46
+ A as e,
47
+ j as f
48
+ };
@@ -1,5 +1,5 @@
1
1
  import { WidgetProps } from '../common';
2
- declare const _default: (({ onBackClick, sx }: WidgetProps) => import("react/jsx-runtime").JSX.Element) & {
2
+ declare const _default: (({ onBackClick, sx, onPrimaryCtaClick }: WidgetProps) => import("react/jsx-runtime").JSX.Element) & {
3
3
  displayName: string;
4
4
  };
5
5
  export default _default;
@@ -5,6 +5,11 @@ export declare class FinstrongApi {
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
6
6
  calculateHealthScore: () => Promise<any>;
7
7
  getAverageHealthScores: () => Promise<any>;
8
+ getDebtSpend: () => Promise<any>;
9
+ getIncome: () => Promise<any>;
10
+ getMonthlySummaries: () => Promise<any>;
8
11
  getHealthScoreChangeReports: (startDate: number, endDate: number) => Promise<any>;
9
12
  getPeerScore: (birthYear: string) => Promise<any>;
13
+ getSpendingFeeTransactions: () => Promise<any>;
14
+ getStandardSpend: () => Promise<any>;
10
15
  }
@@ -1,11 +1,13 @@
1
1
  import { SxProps } from '@mui/material/styles';
2
2
  interface ConnectMoreAccountsCardProps {
3
+ drawerType?: 'connectDrawer' | 'connectionsDrawer';
3
4
  isDashboard?: boolean;
4
5
  hasIcon?: boolean;
5
6
  buttonText?: string;
6
7
  title?: string;
8
+ titleDrawer?: string;
7
9
  description?: string;
8
10
  sx?: SxProps;
9
11
  }
10
- export declare const ConnectMoreAccountsCard: ({ isDashboard, hasIcon, buttonText, title, description, sx, }: ConnectMoreAccountsCardProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const ConnectMoreAccountsCard: ({ drawerType, isDashboard, hasIcon, buttonText, title, titleDrawer, description, sx, }: ConnectMoreAccountsCardProps) => import("react/jsx-runtime").JSX.Element | null;
11
13
  export {};
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -3,7 +3,13 @@ export interface FinacialStrengthGraphProps {
3
3
  size?: 'L' | 'M' | 'SM';
4
4
  healthScore: number;
5
5
  footerCenterContent?: string | number;
6
+ margin?: {
7
+ top?: number;
8
+ right?: number;
9
+ left?: number;
10
+ bottom?: number;
11
+ };
6
12
  }
7
- export declare const FinancialStrengthGraph: (({ arcRadius, size, healthScore, footerCenterContent }: FinacialStrengthGraphProps) => import("react/jsx-runtime").JSX.Element) & {
13
+ export declare const FinancialStrengthGraph: (({ arcRadius, size, healthScore, footerCenterContent, margin, }: FinacialStrengthGraphProps) => import("react/jsx-runtime").JSX.Element) & {
8
14
  displayName: string;
9
15
  };
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
- declare const KeyIndicatorsBorrowTab: React.FC;
3
- export default KeyIndicatorsBorrowTab;
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -1,6 +1,8 @@
1
1
  import { default as React } from 'react';
2
2
  interface KeyIndicatorsDrawerProps {
3
3
  additionalContent?: React.ReactNode;
4
+ connectTitle?: string;
5
+ connectDescription?: string;
4
6
  children?: React.ReactNode;
5
7
  description?: string;
6
8
  drawerTitle?: string;
@@ -8,7 +10,8 @@ interface KeyIndicatorsDrawerProps {
8
10
  loadConnectAccountsCard?: boolean;
9
11
  onClose: () => void;
10
12
  stickyComponent?: React.ReactNode;
11
- title?: string;
13
+ title?: string | React.ReactNode;
14
+ drawerType?: 'connectDrawer' | 'connectionsDrawer';
12
15
  }
13
16
  declare const _default: React.FunctionComponent<React.PropsWithChildren<KeyIndicatorsDrawerProps>>;
14
17
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
- declare const KeyIndicatorsSaveTab: React.FC;
3
- export default KeyIndicatorsSaveTab;
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
- declare const KeyIndicatorsSpendTab: React.FC;
3
- export default KeyIndicatorsSpendTab;
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -1,10 +1,11 @@
1
1
  import { default as React } from 'react';
2
- import { KeyIndicatorsCardState } from '../../common/types/Finstrong';
2
+ import { CardStatus } from '../../common/constants/FinStrong';
3
+ import { KeyIndicatorsTabItemType } from '../constants';
3
4
  interface KeyIndicatorsTabsItemProps {
5
+ drawerFor: KeyIndicatorsTabItemType;
4
6
  title: string;
5
7
  description: string;
6
- cardState: KeyIndicatorsCardState;
7
- stateTitle: string;
8
+ cardState: keyof typeof CardStatus;
8
9
  }
9
10
  declare const KeyIndicatorsTabsItem: React.FC<KeyIndicatorsTabsItemProps>;
10
11
  export default KeyIndicatorsTabsItem;
@@ -0,0 +1,10 @@
1
+ import { KeyIndicatorsTabItemType } from '../constants';
2
+ interface KeyIndicatorsTabItemDrawerProps {
3
+ drawerFor: KeyIndicatorsTabItemType;
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ }
7
+ declare const _default: (({ drawerFor, isOpen, onClose, }: KeyIndicatorsTabItemDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
8
+ displayName: string;
9
+ };
10
+ export default _default;
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
- declare const KeyIndicatorsTabsWidget: React.FC;
3
- export default KeyIndicatorsTabsWidget;
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: (({ total }: {
2
+ total: number;
3
+ }) => import("react/jsx-runtime").JSX.Element) & {
4
+ displayName: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ export type ProgressBarStatus = 'GOOD' | 'FAIR' | 'OFF_TRACK' | 'MISSING';
3
+ interface StatusBarDataItem {
4
+ percentage: string;
5
+ color?: string;
6
+ }
7
+ export interface ProgressBarProps {
8
+ label: string;
9
+ value: string;
10
+ status: ProgressBarStatus;
11
+ bottomComponent: React.ReactNode;
12
+ statusBarData: StatusBarDataItem[];
13
+ }
14
+ declare const ProgressBar: React.FC<ProgressBarProps>;
15
+ export default ProgressBar;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { CardStatus } from '../../common/constants/FinStrong';
2
+ declare const StatusChip: ({ status }: {
3
+ status: keyof typeof CardStatus;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ export default StatusChip;
@@ -0,0 +1,2 @@
1
+ declare const Onboarding: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Onboarding;
@@ -0,0 +1,17 @@
1
+ import { Frequency, Transaction } from '../../../common';
2
+ import { StepState } from './OnboardingStepsDrawer';
3
+ interface OnboardingAddMonthlyIncomeProps {
4
+ firstDay: number;
5
+ frequency: Frequency;
6
+ secondDay: number;
7
+ incomeTransactions: Transaction[];
8
+ setCurrentStep: (step: StepState) => void;
9
+ setFirstDay: (day: number) => void;
10
+ setFrequency: (frequency: Frequency) => void;
11
+ setSecondDay: (day: number) => void;
12
+ transaction: Transaction;
13
+ }
14
+ declare const _default: (({ firstDay, frequency, secondDay, incomeTransactions, setCurrentStep, setFirstDay, setFrequency, setSecondDay, transaction, }: OnboardingAddMonthlyIncomeProps) => import("react/jsx-runtime").JSX.Element) & {
15
+ displayName: string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,8 @@
1
+ interface OnboardingBirthdayProps {
2
+ selectedDate: number | null | undefined;
3
+ setSelectedDate: (value: number | null | undefined) => void;
4
+ }
5
+ declare const _default: (({ selectedDate, setSelectedDate }: OnboardingBirthdayProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ interface OnboardingCreditScoreProps {
2
+ creditScore: number;
3
+ setCreditScore: (value: number) => void;
4
+ }
5
+ declare const _default: (({ creditScore, setCreditScore }: OnboardingCreditScoreProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { OnboardingSteps } from '../../../common/types/Finstrong';
2
+ interface OnboardingStepsDrawerProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ }
6
+ type StepType = 'main' | 'detail';
7
+ export interface StepState {
8
+ step: OnboardingSteps;
9
+ type: StepType;
10
+ }
11
+ declare const _default: (({ isOpen, onClose }: OnboardingStepsDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
12
+ displayName: string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,8 @@
1
+ interface OnboardingStepsHeaderProps {
2
+ completeCopy: string;
3
+ primaryText: string;
4
+ secondaryText: string;
5
+ value: number;
6
+ }
7
+ declare const OnboardingStepsHeader: ({ completeCopy, primaryText, secondaryText, value, }: OnboardingStepsHeaderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default OnboardingStepsHeader;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { AccountType } from '../../../common';
3
+ interface AccountsProps {
4
+ loadAccounts: AccountType[];
5
+ loadMoreLabel: string;
6
+ }
7
+ declare const _default: React.FunctionComponent<AccountsProps>;
8
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { SpringValue } from '@react-spring/web';
2
+ export interface BarStyleProps {
3
+ x?: SpringValue<number>;
4
+ y?: SpringValue<number>;
5
+ width?: number | SpringValue<number>;
6
+ }
7
+ interface CustomDoubleBarPlotProps {
8
+ color: string;
9
+ data: DataSet[];
10
+ series: Series;
11
+ style: BarStyleProps;
12
+ }
13
+ interface Series {
14
+ index: number;
15
+ type: number;
16
+ }
17
+ export interface DataSet {
18
+ comparison: number;
19
+ formattedComparison: string;
20
+ formattedMain: string;
21
+ label: string;
22
+ main: number;
23
+ }
24
+ export declare const CustomDoubleBarPlot: ({ color, data, series, style, ...restProps }: CustomDoubleBarPlotProps) => import("react/jsx-runtime").JSX.Element;
25
+ export {};
@@ -6,6 +6,12 @@ export interface DialScoreCardProps {
6
6
  dialScoreData: PieValueType[];
7
7
  minValue?: number;
8
8
  maxValue?: number;
9
+ margin?: {
10
+ top?: number;
11
+ right?: number;
12
+ left?: number;
13
+ bottom?: number;
14
+ };
9
15
  markerColor?: string;
10
16
  healthScoreStatus: string;
11
17
  footerCenterContent?: string | number;
@@ -13,4 +19,4 @@ export interface DialScoreCardProps {
13
19
  footerRightContent?: number;
14
20
  isFinacialStrengthGraph?: boolean;
15
21
  }
16
- export declare const DialScoreCard: ({ arcRadius, healthScore, size, dialScoreData, minValue, maxValue, markerColor, healthScoreStatus, footerCenterContent, footerLeftContent, footerRightContent, isFinacialStrengthGraph, }: DialScoreCardProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const DialScoreCard: ({ arcRadius, healthScore, size, dialScoreData, minValue, maxValue, margin, markerColor, healthScoreStatus, footerCenterContent, footerLeftContent, footerRightContent, isFinacialStrengthGraph, }: DialScoreCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
1
+ import { default as React } from 'react';
2
+ export interface FinancialData {
3
+ month: number;
4
+ standard_spend: number;
5
+ income: number;
6
+ debt_spend: number;
7
+ }
8
+ export interface ChartDataPoint {
9
+ label: string;
10
+ main: number;
11
+ comparison: number;
12
+ formattedMain: string;
13
+ formattedComparison: string;
14
+ [key: string]: string | number;
15
+ }
16
+ export interface DoubleBarChartProps {
17
+ chartFor: 'spending_vs_income' | 'debt_payment_vs_income';
18
+ data: FinancialData[];
19
+ title: string;
20
+ buttonLabel?: string;
21
+ legendLabelMain: string;
22
+ legendLabelComparison: string;
23
+ onClick?: () => void;
24
+ totalMain?: string;
25
+ totalComparison?: string;
26
+ }
27
+ declare const DoubleBarChart: React.FC<DoubleBarChartProps>;
28
+ export default DoubleBarChart;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export type ChartType = 'savingsOverTime' | 'debtOverTime' | 'creditOverTime';
3
+ interface LineGraphProps {
4
+ chartFor: ChartType;
5
+ }
6
+ declare const _default: React.FunctionComponent<LineGraphProps>;
7
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ interface TotalCardProps {
3
+ balance: number | React.ReactNode;
4
+ title: string;
5
+ sx?: object;
6
+ }
7
+ declare const TotalCard: React.FC<TotalCardProps>;
8
+ export default TotalCard;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { Transaction } from '../../../common';
3
+ interface TransactionsProps {
4
+ transactions: Transaction[];
5
+ amountColor?: string;
6
+ amountPosition?: 'flex-start' | 'center' | 'flex-end';
7
+ formatDate?: (date: number) => string;
8
+ secondaryIcon?: React.ReactNode;
9
+ }
10
+ declare const Transactions: React.FC<TransactionsProps>;
11
+ export default Transactions;
@@ -0,0 +1,9 @@
1
+ export declare enum KeyIndicatorsTabItemType {
2
+ SpendLessThanYouMake = "spendLessThanYouMake",
3
+ PayBillsOnTime = "payBillsOnTime",
4
+ SaveEnoughToLiveOn = "saveEnoughToLiveOn",
5
+ MaintainEmergencySavings = "maintainEmergencySavings",
6
+ HaveManageableDebt = "haveManageableDebt",
7
+ HaveAGoodCreditScore = "haveAGoodCreditScore"
8
+ }
9
+ export declare const CALCULATING_ANIMATION_URL = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_animation_final.gif";