@mx-cartographer/experiences 8.1.12 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
  3. package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
  4. package/dist/{AccountDetailsHeader-CzefHTWU.mjs → AccountDetailsHeader-CfdnKyJK.mjs} +21 -21
  5. package/dist/{AccountFields-BWmpVsS3.mjs → AccountFields-CAy0x_4i.mjs} +6 -6
  6. package/dist/{AccountListItem-DRDxaRBe.mjs → AccountListItem-BYyeeCf6.mjs} +7 -7
  7. package/dist/{Accounts-DX3xJE97.mjs → AccountUtils-T5_Odvos.mjs} +1 -1
  8. package/dist/{Analytics-CxK7O19c.mjs → Analytics-CkYXKvco.mjs} +1 -1
  9. package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
  10. package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
  11. package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
  12. package/dist/{CategorySelectorDrawer-hhDdSFHO.mjs → CategorySelectorDrawer-Cu1ohxeM.mjs} +2 -2
  13. package/dist/{Connect-CBBTL1HJ.mjs → Connect-Dk6GZEsA.mjs} +1 -1
  14. package/dist/ConnectCard-Dix8BoV_.mjs +54 -0
  15. package/dist/{ConnectDrawer-DNnuF80E.mjs → ConnectDrawer-DgfsTpyW.mjs} +2 -2
  16. package/dist/{ConnectionsDrawer-DX6d7uwJ.mjs → ConnectionsDrawer-D7IXAza2.mjs} +2 -2
  17. package/dist/CurrencyDialog-d4dL7vA5.mjs +371 -0
  18. package/dist/{CurrencyInput-BMbUVSvz.mjs → CurrencyInput-B59ugxPN.mjs} +15 -16
  19. package/dist/{CurrencyText-oqd6cX3M.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
  20. package/dist/{DateFormats-CaOj_4eI.mjs → DateFormats-HudZ3Bjs.mjs} +6 -7
  21. package/dist/{DateUtil-D0TO0DaZ.mjs → DateUtil-Bhq59ZVg.mjs} +1 -1
  22. package/dist/DebtUtils-DD3186U-.mjs +153 -0
  23. package/dist/EmbeddedCard-BNl3quCs.mjs +856 -0
  24. package/dist/Error-Dogaw2jO.mjs +84 -0
  25. package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
  26. package/dist/{ExportCsvAction-BDFu6YIe.mjs → ExportCsvAction-hDprC41l.mjs} +6 -5
  27. package/dist/{GlobalAccountFilter-jkFxqPg6.mjs → GlobalAccountFilter-DrhtwPqh.mjs} +1 -1
  28. package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
  29. package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
  30. package/dist/{Help-C_CM4gpK.mjs → Help-BSQm9o29.mjs} +68 -67
  31. package/dist/{Help-CgpJK03Q.mjs → Help-CkQTjORd.mjs} +6 -27
  32. package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
  33. package/dist/{LineChart-CeZnCZ7j.mjs → LineChart-CejWS_rh.mjs} +2 -2
  34. package/dist/{ListItemAction-CNpknVvo.mjs → ListItemAction-DGjHxNDJ.mjs} +1 -1
  35. package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
  36. package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
  37. package/dist/Localization-DnoVyBNK.mjs +38 -0
  38. package/dist/{ManageIncome-BX2IqW57.mjs → ManageIncome-DwylSiWs.mjs} +51 -51
  39. package/dist/{MicroWidgetContainer-DAesImQ6.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +1 -1
  40. package/dist/{MiniWidgetContainer-BOv3n4iw.mjs → MiniWidgetContainer-BdPiUU-u.mjs} +1 -1
  41. package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
  42. package/dist/{NotificationSettings-DatCL2Ej.mjs → NotificationSettings-CCg-Tml2.mjs} +13 -13
  43. package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
  44. package/dist/{NumberFormatting-CyrvFgfd.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
  45. package/dist/{OriginalBalanceAction-CWQ0CK-T.mjs → OriginalBalanceAction-CvDx0K6k.mjs} +4 -4
  46. package/dist/{RecurringSettings-DCplGEv_.mjs → RecurringSettings-CPXLW6AR.mjs} +9 -9
  47. package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
  48. package/dist/Select-BZRUpOib.mjs +51 -0
  49. package/dist/SelectionBox-Bx2a5rh4.mjs +48 -0
  50. package/dist/Sizes-DISGrlUg.mjs +6 -0
  51. package/dist/{SpendingData-Dj85XEUp.mjs → SpendingData-PKlh8caU.mjs} +6 -6
  52. package/dist/{SpendingLegend-BS8mHUbu.mjs → SpendingLegend-BmkEr9Nh.mjs} +4 -4
  53. package/dist/{TransactionDetails-C_skrQk8.mjs → TransactionDetails-CbBSxdOi.mjs} +33 -33
  54. package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
  55. package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
  56. package/dist/UserStore-CRpKQjpP.mjs +3002 -0
  57. package/dist/{ViewMoreMicroCard-D1j0w64K.mjs → ViewMoreMicroCard-K69RRs_b.mjs} +28 -30
  58. package/dist/{WidgetContainer-BPJoDkhL.mjs → WidgetContainer-DalWyz5A.mjs} +3 -3
  59. package/dist/accounts/hooks/useUiStore.d.ts +6 -1
  60. package/dist/accounts/index.d.ts +0 -1
  61. package/dist/accounts/index.es.js +62 -64
  62. package/dist/analytics/index.es.js +2 -2
  63. package/dist/budgets/index.es.js +18 -18
  64. package/dist/cashflow/context/hooks.d.ts +15 -1
  65. package/dist/cashflow/index.d.ts +0 -1
  66. package/dist/cashflow/index.es.js +28 -31
  67. package/dist/categories/context/hooks.d.ts +19 -1
  68. package/dist/categories/index.d.ts +0 -1
  69. package/dist/categories/index.es.js +4 -6
  70. package/dist/common/constants/ScheduledPayment.d.ts +1 -1
  71. package/dist/common/constants/index.d.ts +0 -3
  72. package/dist/common/context/GlobalDataProvider.d.ts +1 -1
  73. package/dist/common/context/hooks.d.ts +20 -20
  74. package/dist/common/index.d.ts +3 -1
  75. package/dist/common/index.es.js +215 -961
  76. package/dist/common/utils/AccountFilter.d.ts +1 -1
  77. package/dist/common/utils/index.d.ts +0 -4
  78. package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
  79. package/dist/core/constants/Transaction.d.ts +10 -0
  80. package/dist/core/constants/index.d.ts +2 -0
  81. package/dist/core/index.d.ts +1 -1
  82. package/dist/core/index.es.js +94 -79
  83. package/dist/{accounts → core}/stores/AccountStore.d.ts +14 -4
  84. package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
  85. package/dist/{common → core}/stores/AppDataStore.d.ts +4 -5
  86. package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
  87. package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +3 -4
  88. package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
  89. package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -4
  90. package/dist/{common → core}/stores/ConnectStore.d.ts +2 -2
  91. package/dist/core/stores/DebtsStore.d.ts +22 -0
  92. package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +4 -4
  93. package/dist/{common → core}/stores/GlobalCopyStore.d.ts +2 -2
  94. package/dist/{common → core}/stores/GlobalStore.d.ts +2 -25
  95. package/dist/{common → core}/stores/GlobalUiStore.d.ts +3 -3
  96. package/dist/{goals → core}/stores/GoalStore.d.ts +3 -3
  97. package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -6
  98. package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -4
  99. package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -3
  100. package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -4
  101. package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -3
  102. package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -3
  103. package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -5
  104. package/dist/{transactions → core}/stores/TransactionStore.d.ts +27 -6
  105. package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -5
  106. package/dist/{common → core}/stores/UserStore.d.ts +2 -2
  107. package/dist/core/stores/index.d.ts +24 -0
  108. package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
  109. package/dist/core/types/Offer.d.ts +32 -0
  110. package/dist/core/types/index.d.ts +3 -1
  111. package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +1 -1
  112. package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
  113. package/dist/{budgets → core}/utils/BudgetUtil.d.ts +2 -2
  114. package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
  115. package/dist/core/utils/DebtUtils.d.ts +31 -0
  116. package/dist/core/utils/FinstrongUtils.d.ts +7 -0
  117. package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
  118. package/dist/core/utils/HelpUtil.d.ts +3 -0
  119. package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
  120. package/dist/core/utils/Localization.d.ts +3 -0
  121. package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
  122. package/dist/{notifications → core}/utils/NotificationUtils.d.ts +1 -1
  123. package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
  124. package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +1 -1
  125. package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
  126. package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
  127. package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
  128. package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +1 -1
  129. package/dist/core/utils/index.d.ts +1 -1
  130. package/dist/dashboard/index.es.js +4 -4
  131. package/dist/debts/components/DebtsChart.d.ts +1 -1
  132. package/dist/debts/components/DebtsTable.d.ts +1 -1
  133. package/dist/debts/components/SnowballCard.d.ts +1 -1
  134. package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
  135. package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
  136. package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
  137. package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
  138. package/dist/debts/index.d.ts +0 -1
  139. package/dist/debts/index.es.js +568 -691
  140. package/dist/debts/utils/DebtsTable.d.ts +1 -1
  141. package/dist/debts/utils/SnowballCard.d.ts +2 -2
  142. package/dist/finstrong/index.d.ts +0 -1
  143. package/dist/finstrong/index.es.js +1565 -1342
  144. package/dist/finstrong/util/finstrongUtils.d.ts +1 -7
  145. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
  146. package/dist/goals/index.d.ts +0 -1
  147. package/dist/goals/index.es.js +71 -73
  148. package/dist/help/index.es.js +4 -4
  149. package/dist/help/utils/index.d.ts +0 -1
  150. package/dist/{hooks-RzCoiTd0.mjs → hooks-BaO_gOI6.mjs} +17 -17
  151. package/dist/insights/index.d.ts +0 -1
  152. package/dist/insights/index.es.js +52 -54
  153. package/dist/investments/components/AnalysisDetails.d.ts +1 -1
  154. package/dist/investments/index.es.js +6 -6
  155. package/dist/merchants/index.d.ts +0 -1
  156. package/dist/merchants/index.es.js +12 -14
  157. package/dist/microinsights/index.es.js +1 -1
  158. package/dist/microinsights/interfaces.d.ts +1 -33
  159. package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
  160. package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
  161. package/dist/networth/components/NetWorthChange.d.ts +1 -1
  162. package/dist/networth/components/NetWorthListItem.d.ts +1 -1
  163. package/dist/networth/components/NetWorthSummary.d.ts +1 -1
  164. package/dist/networth/index.d.ts +0 -4
  165. package/dist/networth/index.es.js +232 -237
  166. package/dist/notifications/index.d.ts +0 -2
  167. package/dist/notifications/index.es.js +23 -26
  168. package/dist/recurringtransactions/index.d.ts +0 -1
  169. package/dist/recurringtransactions/index.es.js +92 -96
  170. package/dist/settings/index.d.ts +0 -1
  171. package/dist/settings/index.es.js +11 -13
  172. package/dist/spending/index.es.js +10 -10
  173. package/dist/transactions/context/hooks.d.ts +1 -1
  174. package/dist/transactions/index.d.ts +0 -4
  175. package/dist/transactions/index.es.js +102 -109
  176. package/dist/trends/index.d.ts +0 -1
  177. package/dist/trends/index.es.js +67 -68
  178. package/dist/trends/utils/shared.d.ts +1 -1
  179. package/dist/{useAccountDisplayName-pliH6hz0.mjs → useAccountDisplayName-CFa_MrS6.mjs} +1 -1
  180. package/dist/{useInsightsEnabled-CzJoG8xi.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
  181. package/dist/{useWidgetLoadTimer-BZjr-BiE.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
  182. package/package.json +1 -1
  183. package/dist/AccountApi-WEM2M9tg.mjs +0 -19
  184. package/dist/AccountStore-CGrjC2Oe.mjs +0 -253
  185. package/dist/ApiEndpoints-C5IA97i7.mjs +0 -118
  186. package/dist/BeatApi-C6pBa0Rb.mjs +0 -21
  187. package/dist/BeatStore-C7-PIhpB.mjs +0 -163
  188. package/dist/BudgetUtil-H9igoNVm.mjs +0 -479
  189. package/dist/CashflowStore-BEi92kJg.mjs +0 -91
  190. package/dist/CategoryApi-CogDFScz.mjs +0 -29
  191. package/dist/CategoryStore-CA4NTaKH.mjs +0 -160
  192. package/dist/CategoryUtil-BJOHgYKS.mjs +0 -80
  193. package/dist/DebtsStore-BJlC2-yO.mjs +0 -63
  194. package/dist/EmbeddedCard-B9JoBaan.mjs +0 -811
  195. package/dist/FinstrongApi-FpmsS_sy.mjs +0 -19
  196. package/dist/FinstrongStore-DYawCv1d.mjs +0 -435
  197. package/dist/GlobalCopyApi-DkS-2Zf_.mjs +0 -41
  198. package/dist/Goal-MFBpoOIC.mjs +0 -29
  199. package/dist/GoalStore-BBAEbf43.mjs +0 -395
  200. package/dist/Localization-C_HZg9tJ.mjs +0 -15
  201. package/dist/Localization-CkQ49EKr.mjs +0 -26
  202. package/dist/MerchantApi-D8ahYxiG.mjs +0 -15
  203. package/dist/MerchantStore-CyZTv-BM.mjs +0 -26
  204. package/dist/NetWorthStore-BY-B_hxy.mjs +0 -168
  205. package/dist/NotificationApi-DF0obHoR.mjs +0 -20
  206. package/dist/NotificationStore-DlAM5Ue0.mjs +0 -69
  207. package/dist/RecurringTransactions-DCt94TN4.mjs +0 -297
  208. package/dist/RecurringTransactionsStore-CFJYC7lI.mjs +0 -264
  209. package/dist/RepeatingTransaction-D2gmBTd0.mjs +0 -7
  210. package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +0 -17
  211. package/dist/SettingsApi-D9d7SLhB.mjs +0 -22
  212. package/dist/SettingsStore-BcbuKfFO.mjs +0 -250
  213. package/dist/Transaction-Cn5_iFm0.mjs +0 -5
  214. package/dist/TransactionApi-CLG2eSNe.mjs +0 -86
  215. package/dist/TransactionStore-amPYxHnA.mjs +0 -710
  216. package/dist/TrendsStore-bYjIGqyR.mjs +0 -183
  217. package/dist/WidgetApi-C0BA2cFX.mjs +0 -102
  218. package/dist/accounts/stores/UiStore.d.ts +0 -10
  219. package/dist/accounts/utils/index.d.ts +0 -1
  220. package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
  221. package/dist/categories/stores/UiStore.d.ts +0 -20
  222. package/dist/common/stores/index.d.ts +0 -3
  223. package/dist/common/utils/Categories.d.ts +0 -6
  224. package/dist/common/utils/Localization.d.ts +0 -3
  225. package/dist/debts/store/DebtsStore.d.ts +0 -10
  226. package/dist/debts/store/DebtsUiStore.d.ts +0 -13
  227. package/dist/debts/utils/DebtStore.d.ts +0 -4
  228. package/dist/debts/utils/DebtsWidget.d.ts +0 -20
  229. package/dist/debts/utils/shared.d.ts +0 -12
  230. package/dist/exportTransactionsToCSV-CSvbZrvL.mjs +0 -133
  231. package/dist/help/constants/index.d.ts +0 -1
  232. package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
  233. package/dist/transactions/analytics.d.ts +0 -3
  234. package/dist/transactions/constants/Transaction.d.ts +0 -2
  235. package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
  236. package/dist/transactions/stores/UiStore.d.ts +0 -25
  237. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
  238. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
  239. /package/dist/{common → core}/constants/Category.d.ts +0 -0
  240. /package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
  241. /package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
  242. /package/dist/{help → core}/constants/Help.d.ts +0 -0
  243. /package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
  244. /package/dist/{common → core}/constants/Numbers.d.ts +0 -0
  245. /package/dist/{common → core}/constants/Table.d.ts +0 -0
  246. /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
@@ -1,8 +1,6 @@
1
- import { BeatApi } from '../../core/api/BeatApi';
2
- import { GlobalStore } from '../../common';
3
- import { Beat, Tag, Tagging, Transaction, TransactionRule } from '../../core';
4
- import { TransactionApi } from '../../core/api/TransactionApi';
5
- import { UiStore } from './UiStore';
1
+ import { BeatApi, TransactionApi } from '../api';
2
+ import { Beat, Tag, Tagging, Transaction, TransactionRule } from '../types';
3
+ import { GlobalStore } from './GlobalStore';
6
4
  export type TransactionFilter = {
7
5
  accounts?: string[];
8
6
  dateRange?: {
@@ -39,7 +37,6 @@ export declare class TransactionStore {
39
37
  alert: string;
40
38
  sortColumn: string;
41
39
  sortDirection: string;
42
- onAnalyticEvent: (event: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
43
40
  constructor(globalStore: GlobalStore);
44
41
  loadTransactionData: () => Promise<void>;
45
42
  get isTransactionDataLoaded(): boolean;
@@ -74,3 +71,27 @@ export declare class TransactionStore {
74
71
  updateTransaction: (transaction: Transaction) => Promise<void>;
75
72
  loadEmbeddedInstanceTransactions: (fromDate: Date) => Promise<void>;
76
73
  }
74
+ export declare class UiStore {
75
+ beginDate: Date;
76
+ endDate: Date;
77
+ expandedSplits: string[];
78
+ height: number;
79
+ width: number;
80
+ shouldDisableDrawerScroll: boolean;
81
+ searchValue: string;
82
+ selectedAccountGuids: string[];
83
+ manualTransaction: Transaction;
84
+ isAmountValid: boolean;
85
+ showInsights: boolean;
86
+ constructor();
87
+ setDateRange: (beginDate: Date, endDate: Date) => void;
88
+ setIsAmountValid: (valid: boolean) => boolean;
89
+ setSearchValue: (searchValue: string) => string;
90
+ setSelectedAccountGuids: (accountGuids: string[]) => string[];
91
+ setShouldDisableDrawerScroll: (shouldDisable: boolean) => boolean;
92
+ setShowInsights: (showInsights: boolean) => void;
93
+ setSize: (height: number, width: number) => void;
94
+ toggleSplit: (guid: string) => void;
95
+ clearExpandedSplits: () => void;
96
+ updateManualTransaction: (manualTransaction: Transaction) => void;
97
+ }
@@ -1,6 +1,5 @@
1
- import { GlobalStore } from '../../common';
2
- import { DateRange, DetailedCategoryWithTransactions } from '../../core';
3
- import { LineChartDataset, TooltipLabel } from '../../common/components/charts/LineChart';
1
+ import { DateRange, DetailedCategoryWithTransactions } from '../types';
2
+ import { GlobalStore } from './GlobalStore';
4
3
  export declare class TrendsStore {
5
4
  globalStore: GlobalStore;
6
5
  selectedCategoryData: DetailedCategoryWithTransactions | null;
@@ -16,7 +15,14 @@ export declare class TrendsStore {
16
15
  get visibleCategories(): DetailedCategoryWithTransactions[];
17
16
  get collapsedCategories(): DetailedCategoryWithTransactions[];
18
17
  get categoryDetailsChartData(): {
19
- monthlyAmounts: LineChartDataset;
20
- tooltipLabels: TooltipLabel[][];
18
+ monthlyAmounts: {
19
+ x: string;
20
+ y: number;
21
+ }[];
22
+ tooltipLabels: {
23
+ label: string;
24
+ amount: number;
25
+ header: string;
26
+ }[][];
21
27
  };
22
28
  }
@@ -1,6 +1,6 @@
1
- import { UserApi } from '../../core/api/UserApi';
1
+ import { UserApi } from '../api';
2
+ import { User, UserFeature, UserProfile } from '../types';
2
3
  import { GlobalStore } from './GlobalStore';
3
- import { User, UserFeature, UserProfile } from '../../core';
4
4
  export declare class UserStore {
5
5
  globalStore: GlobalStore;
6
6
  api: UserApi;
@@ -0,0 +1,24 @@
1
+ export { AccountStore } from './AccountStore';
2
+ export { AppDataStore } from './AppDataStore';
3
+ export { AnalyticsStore } from './AnalyticsStore';
4
+ export { BeatStore } from './BeatStore';
5
+ export { BudgetsStore } from './BudgetsStore';
6
+ export { CashflowStore } from './CashflowStore';
7
+ export { CategoryStore } from './CategoryStore';
8
+ export { ConnectStore } from './ConnectStore';
9
+ export { DebtsStore } from './DebtsStore';
10
+ export { FinstrongStore } from './FinstrongStore';
11
+ export { GlobalStore } from './GlobalStore';
12
+ export { GlobalUiStore } from './GlobalUiStore';
13
+ export { GlobalCopyStore } from './GlobalCopyStore';
14
+ export { GoalStore } from './GoalStore';
15
+ export { HelpStore } from './HelpStore';
16
+ export { HoldingStore } from './HoldingStore';
17
+ export { MerchantStore } from './MerchantStore';
18
+ export { NetWorthStore } from './NetWorthStore';
19
+ export { NotificationStore } from './NotificationStore';
20
+ export { RecurringTransactionsStore } from './RecurringTransactionsStore';
21
+ export { SettingsStore } from './SettingsStore';
22
+ export { TransactionStore } from './TransactionStore';
23
+ export { TrendsStore } from './TrendsStore';
24
+ export { UserStore } from './UserStore';
@@ -1,4 +1,4 @@
1
- import { Account, AccountType, MonthlyAccountBalance } from '../../core';
1
+ import { Account, AccountType, MonthlyAccountBalance } from '../index';
2
2
  export type MonthlyAccountSummary = {
3
3
  balance: number;
4
4
  change: number;
@@ -17,15 +17,6 @@ export type NetWorthData = {
17
17
  accounts: Account[];
18
18
  monthlyAccountBalances: MonthlyAccountBalance[];
19
19
  };
20
- export type NetWorthProps = {
21
- chartData: NetWorth[];
22
- hoveredData?: NetWorth;
23
- onButtonClick?: any;
24
- onDataClick: any;
25
- onMouseEnter: any;
26
- onMouseLeave: any;
27
- selectedData?: NetWorth;
28
- };
29
20
  export interface FinancialAccount {
30
21
  accountName?: string;
31
22
  accountType: AccountType;
@@ -0,0 +1,32 @@
1
+ export interface Offer {
2
+ analytics_client_guid: string;
3
+ campaign_activated_at: string;
4
+ campaign_call_to_action: string | null;
5
+ campaign_image_url: string;
6
+ campaign_guid: string;
7
+ campaign_name: string;
8
+ campaign_type: number;
9
+ campaign_url: string;
10
+ clicked_at: string | null;
11
+ created_at?: string | number;
12
+ deleted_at: string | null;
13
+ dismissed_at?: number | null;
14
+ expire_at: string | null;
15
+ guid: string;
16
+ has_been_clicked: boolean;
17
+ has_been_dismissed: boolean;
18
+ has_been_viewed: boolean;
19
+ image_url: string;
20
+ is_deleted: boolean;
21
+ is_expired: boolean;
22
+ pulse_body: string;
23
+ pulse_title: string;
24
+ pulse_call_to_action_text: string;
25
+ pulse_call_to_action_text_secondary: string;
26
+ pulse_post_message: string;
27
+ pulse_post_message_secondary: string;
28
+ status_code: number;
29
+ updated_at: string;
30
+ user_external_guid: string | null;
31
+ viewed_at: string | null;
32
+ }
@@ -4,7 +4,7 @@ export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnaly
4
4
  export type { AppConfig, AppData, Banner, ClientConfig, Config, Options } from './AppData';
5
5
  export type { Beat, DataSeries } from './Beat';
6
6
  export { UserVerification } from './Beat';
7
- export type { Budget, BudgetColors, DetailedBudget } from './Budget';
7
+ export type { Budget, BudgetColors, DetailedBudget, MerchantBudget } from './Budget';
8
8
  export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
9
9
  export type { Category, CategoryListItem, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
10
10
  export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile, } from './Client';
@@ -24,6 +24,8 @@ export type { LocalizedContent } from './LocalizedContent';
24
24
  export { AccountNotificationTypes, BudgetNotificationTypes, InsightNotificationTypes, NotificationTypes, } from './Notification';
25
25
  export type { DetailedNotificationProfile, Notification, NotificationProfile } from './Notification';
26
26
  export type { Merchant } from './Merchant';
27
+ export type { MonthlyAccountSummary, NetWorth, NetWorthData, FinancialAccount, AccountGroup, AssetsLiabilities, GainsLosses, } from './NetWorth';
28
+ export type { Offer } from './Offer';
27
29
  export type { ScheduledPayment } from './ScheduledPayment';
28
30
  export type { Tag, Tagging, Transaction, TransactionRule } from './Transaction';
29
31
  export { TransactionStatus, TransactionType } from './Transaction';
@@ -1,4 +1,4 @@
1
- import { Account, DetailedAccount, Institution, Member } from '../../core';
1
+ import { Account, DetailedAccount, Institution, Member } from '../';
2
2
  export declare const isAccountLiability: (account: Account) => boolean;
3
3
  export declare const isManual: (account: Account) => boolean;
4
4
  export declare const usesCreditLimitField: (account: Account) => boolean;
@@ -1,4 +1,4 @@
1
- import { Offer } from '../interfaces';
1
+ import { Offer } from '../types';
2
2
  type SortOrder = 'asc' | 'desc';
3
3
  export declare function orderArray<T>(arr1: T[], arr2: T[], prop: keyof T, order?: SortOrder): T[];
4
4
  export declare const transformOfferIntoBeatLikeObject: (offer: Offer) => {
@@ -1,8 +1,8 @@
1
1
  import { Theme } from '@mui/system';
2
- import { Budget, BudgetColors, BudgetsCopy, DetailedCategory, DetailedBudget } from '../../core';
2
+ import { Budget, BudgetColors, BudgetsCopy, DetailedCategory, DetailedBudget } from '../types';
3
3
  export declare const getBudgetPercentage: (budgetAmount: number, totalAmount: number) => number;
4
4
  export declare const getBudgetColors: (percentage: number, theme: Theme) => BudgetColors;
5
- export declare const useGetBudgetDifference: () => number;
5
+ export declare const getBudgetDifference: (budgets: DetailedBudget[]) => number;
6
6
  export declare const augmentBudgets: (budgets: Budget[], categories: DetailedCategory[], copy: BudgetsCopy, theme: Theme) => DetailedBudget[];
7
7
  export declare const findBudget: (budgets: DetailedBudget[], guid: string) => DetailedBudget | undefined;
8
8
  export declare const findSubBudget: (budgets: DetailedBudget[], guid: string, parentGuid: string) => DetailedBudget | undefined;
@@ -1,5 +1,5 @@
1
1
  import { Theme } from '@mui/material';
2
- import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction, CategoryCopy } from '../../core';
2
+ import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction, CategoryCopy, CategoryTotal } from '../types';
3
3
  /**
4
4
  * Augment categories
5
5
  * @param categories - Categories to augment
@@ -16,3 +16,8 @@ export declare const getCategoryIcon: (guid: string) => string | undefined;
16
16
  * @param transactions - sortedTransactions from the transaction store
17
17
  */
18
18
  export declare const getDetailedCategoryTransactions: (detailedCategories: DetailedCategory[], transactions: Transaction[]) => DetailedCategoryWithTransactions[];
19
+ export declare const findCategory: (categories: Category[], categoryGuid: string | undefined) => Category | undefined;
20
+ export declare const findDetailedCategory: (detailedCategories: DetailedCategory[], guid: string | undefined) => DetailedCategory | undefined;
21
+ export declare const findDetailedSubCategory: (detailedCategories: DetailedCategory[], guid: string | undefined) => DetailedCategory | undefined;
22
+ export declare const findCategoryTotalsByParent: (categories: Category[], dateRangeTotals: DateRangeCategoryTotals[]) => CategoryTotal[];
23
+ export declare const isIncome: (categories: Category[], guid: string) => boolean;
@@ -0,0 +1,31 @@
1
+ import { DebtPriority } from '../constants/Debts';
2
+ import { Account, Debt, DebtsCopy, Goal } from '../types';
3
+ type DataPoint = {
4
+ x: Date;
5
+ y: number;
6
+ payment?: number;
7
+ extra?: number;
8
+ };
9
+ type Dataset = DataPoint[];
10
+ export interface DebtChartData extends Debt {
11
+ dataset: Dataset;
12
+ }
13
+ interface MonthlyPayment {
14
+ balance: number;
15
+ interest: number;
16
+ payment: number;
17
+ principal: number;
18
+ timestamp: number;
19
+ }
20
+ export declare const transformDebtsChartData: (debts: Debt[], debtPriority: DebtPriority, extraPaydown?: number) => DebtChartData[];
21
+ export declare const buildEmptyStateProps: (copy: DebtsCopy, hasAggregation: boolean, handler: () => void) => {
22
+ description: string;
23
+ header: string;
24
+ onClickHandler: (() => void) | undefined;
25
+ primaryButton: string | undefined;
26
+ };
27
+ export declare function loadDebts(accounts: Account[], goals: Goal[]): Debt[];
28
+ export declare function createDebt(account: Account, goal?: Goal): Debt;
29
+ export declare const calculateFinalPayment: (monthlyPayments: MonthlyPayment[]) => number;
30
+ export declare const sortDebtsByPrioriy: (debts: Debt[], debtPriority: DebtPriority) => void;
31
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Transaction } from '../types';
2
+ import { SpendingFeeTransaction, MonthlyHealthScoreItem } from '../../core/types/Finstrong';
3
+ export declare const augmentChartData: (averageHealthScores: MonthlyHealthScoreItem[]) => {
4
+ x: string;
5
+ y: number;
6
+ }[];
7
+ export declare const augmentSpendingFeeTransactions: (spendingFeeTransactions: SpendingFeeTransaction[]) => Transaction[];
@@ -1,4 +1,4 @@
1
- import { Goal, GoalsCopy, MetaType, TrackType } from '../../core';
1
+ import { Goal, GoalsCopy, MetaType, TrackType } from '../index';
2
2
  export interface GoalStatusData {
3
3
  backgroundColor: string;
4
4
  color: string;
@@ -0,0 +1,3 @@
1
+ import { HelpCategory, Profile } from '../types/Help';
2
+ import { CategoryList } from '../types/localization/HelpCopy';
3
+ export declare const HelpUtil: (profile: Profile, categoryList: CategoryList) => HelpCategory[];
@@ -1,5 +1,5 @@
1
- import { Holding } from '../../core';
2
- import { AnalysisType } from '../constants';
1
+ import { Holding } from '../types';
2
+ import { AnalysisType } from '../constants/Investments';
3
3
  type WeightMap = Record<string, number>;
4
4
  export declare const createGroups: (classificationObj: Record<number, string>, groupSize?: number) => string[][];
5
5
  export declare const bondGroups: string[][];
@@ -1,3 +1,4 @@
1
+ import { DynamicCopyElement } from '../types';
1
2
  export declare const LOCALES: {
2
3
  EN_US: string;
3
4
  EN_CA: string;
@@ -7,3 +8,5 @@ export declare const LOCALES: {
7
8
  };
8
9
  export declare const VALID_LOCALES: string[];
9
10
  export declare const getLocale: () => any;
11
+ export declare const buildDynamicCopy: (str: string, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
12
+ export declare const buildPluralCopy: (strOne: string, strMulti: string, count: number, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
@@ -1,5 +1,4 @@
1
- import { Account, Member, MonthlyAccountBalance } from '../../core';
2
- import { FinancialAccount, AccountGroup, NetWorth } from '../types/NetWorth';
1
+ import { Account, AccountGroup, FinancialAccount, Member, MonthlyAccountBalance, NetWorth } from '../types';
3
2
  export declare const filterAccounts: (accounts: Account[], members: Member[]) => Account[];
4
3
  export declare const flattenBalances: (allBalances: MonthlyAccountBalance[], currentBalances: MonthlyAccountBalance[]) => MonthlyAccountBalance[];
5
4
  export declare const getLatestNetWorthData: (chartData: NetWorth[]) => NetWorth | undefined;
@@ -1,4 +1,4 @@
1
- import { Notification } from '../../core';
1
+ import { Notification } from '../types';
2
2
  export declare const getInsightNotificationTypeValues: () => Set<number>;
3
3
  export declare const sortByDate: (a: Notification, b: Notification) => number;
4
4
  export declare const shouldShowDate: (index: number, notifications: Notification[]) => boolean;
@@ -1,5 +1,5 @@
1
1
  import { RoundingFunction } from 'numeral';
2
- import { CurrencyCodes } from '../constants';
2
+ import { CurrencyCodes } from '../constants/Numbers';
3
3
  export declare const generateEqualIntervals: (minValue: number, maxValue: number, tickCount: number) => number[];
4
4
  export declare const formatCurrency: (amount: number | undefined, formatting: string, roundingFunction?: RoundingFunction) => string;
5
5
  export declare const getCurrencyCodes: () => CurrencyCodes;
@@ -1,4 +1,4 @@
1
- import { Account, DateRange, Recurrence, RecurringCopy, RepeatingTransaction, Transaction, Frequency } from '../../core';
1
+ import { Account, DateRange, Recurrence, RecurringCopy, RepeatingTransaction, Transaction, Frequency } from '../types';
2
2
  export type GroupedRecurrence = {
3
3
  recurrences: Recurrence[];
4
4
  id: string;
@@ -1,2 +1,2 @@
1
- import { Account, ClientCommunicationProfile, DetailedNotificationProfile, NotificationProfile, SettingsCopy, User, UserCommunicationProfile } from '../../core';
1
+ import { Account, ClientCommunicationProfile, DetailedNotificationProfile, NotificationProfile, SettingsCopy, User, UserCommunicationProfile } from '../types';
2
2
  export declare const augmentNotificationProfiles: (accounts: Account[], clientCommunicationsProfile: ClientCommunicationProfile, copy: SettingsCopy, profiles: NotificationProfile[], userCommunicationsProfile: UserCommunicationProfile, user: User) => DetailedNotificationProfile[];
@@ -1,4 +1,5 @@
1
- import { TransactionStatus, Account, Category, Tagging, Transaction } from '../../core';
1
+ import { TransactionStatus, TransactionType, Account, Category, Tag, Tagging, Transaction } from '../types';
2
+ import { TransactionFilter } from '../stores/TransactionStore';
2
3
  export declare const buildDetailedTransactions: (transactions: Transaction[], accounts: Account[], categories: Category[], taggings?: Tagging[]) => {
3
4
  account: string;
4
5
  accountIsClosed: boolean;
@@ -50,10 +51,19 @@ export declare const buildDetailedTransactions: (transactions: Transaction[], ac
50
51
  repeating_transaction_guid?: string | null;
51
52
  scheduled_payment_guid?: string | null;
52
53
  top_level_category_guid?: string;
53
- transaction_type: import('../../core').TransactionType;
54
+ transaction_type: TransactionType;
54
55
  user_date?: number | null;
55
56
  user_guid: string;
56
57
  user_transaction_rule_guid?: string | null;
57
58
  is_duplicate: boolean;
58
59
  feed_transacted_at: number | null;
59
60
  }[];
61
+ export declare const sortAndFilterTransactions: (filter: TransactionFilter, expandedSplits: string[], sortColumn: string, sortDirection: string, tags: Tag[], transactions: Transaction[]) => Transaction[];
62
+ /**
63
+ * Produces a list of transactions based on the given sorted transactions,
64
+ * where parent transactions that have split children are replaced by those
65
+ * children sorted by descending absolute amount. All other transactions
66
+ * are included as-is, with duplicates removed.
67
+ */
68
+ export declare function flattenTransactionsWithSplits(sortedTransactions: Transaction[], allTransactions: Transaction[]): Transaction[];
69
+ export declare const exportTransactionsToCSV: (transactions: Transaction[], tags: Tag[]) => void;
@@ -1,5 +1,5 @@
1
1
  import { GridComparatorFn } from '@mui/x-data-grid-pro';
2
- import { DetailedCategoryWithTransactions, MonthlyCategoryTotals } from '../../core';
2
+ import { DetailedCategoryWithTransactions, MonthlyCategoryTotals } from '../types';
3
3
  type DataPoint = {
4
4
  x: Date;
5
5
  y: number;
@@ -1,2 +1,2 @@
1
- import { UserFeature } from '../../core';
1
+ import { UserFeature } from '../types';
2
2
  export declare const isFeatureEnabled: (userFeatures: UserFeature[], featureName: string) => boolean;
@@ -1,2 +1,2 @@
1
1
  export { Fetch } from './Fetch';
2
- export { getLocale, LOCALES, VALID_LOCALES } from './Localization';
2
+ export { buildDynamicCopy, getLocale, LOCALES, VALID_LOCALES } from './Localization';
@@ -5,7 +5,7 @@ import u from "@mui/material/Unstable_Grid2";
5
5
  import m from "@mui/material/Skeleton";
6
6
  import s from "@mui/material/Stack";
7
7
  import S from "@mui/material/styles/useTheme";
8
- import { f as w, u as b, a as v } from "../hooks-RzCoiTd0.mjs";
8
+ import { f as w, u as b, a as v } from "../hooks-BaO_gOI6.mjs";
9
9
  import C from "@mui/material/Paper";
10
10
  import { Icon as _, H2 as M, P as D } from "@mxenabled/mxui";
11
11
  import { useMediaQuery as G } from "@mui/system";
@@ -14,10 +14,10 @@ import k from "@mui/material/Button";
14
14
  import A from "@mui/material/IconButton";
15
15
  import I from "@mui/material/Tooltip";
16
16
  import B from "@mui/material/useMediaQuery";
17
- import { G as F } from "../GlobalAccountFilter-jkFxqPg6.mjs";
17
+ import { G as F } from "../GlobalAccountFilter-DrhtwPqh.mjs";
18
18
  import { u as y } from "../useScreenSize-CeFhWTt_.mjs";
19
- import { C as z } from "../ConnectDrawer-DNnuF80E.mjs";
20
- import { u as R } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
19
+ import { C as z } from "../ConnectDrawer-DgfsTpyW.mjs";
20
+ import { u as R } from "../useWidgetLoadTimer-CJb-RELP.mjs";
21
21
  const T = p(() => {
22
22
  const t = S(), {
23
23
  appDataStore: { banner: o, loadBanner: i, user: a }
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { DebtChartData } from '../utils/DebtsWidget';
2
+ import { DebtChartData } from '../../core/utils/DebtUtils';
3
3
  interface DebtsChartProps {
4
4
  sx?: any;
5
5
  height?: number;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { DebtChartData } from '../utils/DebtsWidget';
2
+ import { DebtChartData } from '../../core/utils/DebtUtils';
3
3
  interface DebtsTableProps {
4
4
  sx?: any;
5
5
  debts: DebtChartData[];
@@ -1,5 +1,5 @@
1
1
  import { MouseEventHandler } from 'react';
2
- import { DebtChartData } from '../utils/DebtsWidget';
2
+ import { DebtChartData } from '../../core/utils/DebtUtils';
3
3
  interface SnowballCardProps {
4
4
  debts: DebtChartData[];
5
5
  onClickCta: MouseEventHandler;
@@ -1,4 +1,4 @@
1
- import { DebtChartData } from '../../utils/DebtsWidget';
1
+ import { DebtChartData } from '../../../core/utils/DebtUtils';
2
2
  interface InterestRateActionProps {
3
3
  debt: DebtChartData;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { DebtChartData } from '../../utils/DebtsWidget';
1
+ import { DebtChartData } from '../../../core/utils/DebtUtils';
2
2
  interface MonthlyPaymentActionProps {
3
3
  debt: DebtChartData;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { DebtChartData } from '../../utils/DebtsWidget';
1
+ import { DebtChartData } from '../../../core/utils/DebtUtils';
2
2
  interface OriginalBalanceActionProps {
3
3
  debt: DebtChartData;
4
4
  }
@@ -1 +1 @@
1
- export declare const useDebtsUiStore: () => import('../store/DebtsUiStore').DebtsUiStore;
1
+ export declare const useDebtsUiStore: () => import('../../core/stores/DebtsStore').UiStore;
@@ -1,4 +1,3 @@
1
1
  export { default as DebtsWidget } from './DebtsWidget';
2
2
  export { DebtsChart } from './components/DebtsChart';
3
3
  export { DebtsTable } from './components/DebtsTable';
4
- export { DebtsStore } from './store/DebtsStore';