@mx-cartographer/experiences 3.8.0-alpha.sms9 → 3.9.0-alpha.al1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (271) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/dist/accounts/AccountsMiniWidget.d.ts +1 -0
  3. package/dist/accounts/AccountsWidget.d.ts +1 -0
  4. package/dist/accounts/ConnectMiniWidget.d.ts +1 -0
  5. package/dist/accounts/api/AccountApi.d.ts +1 -0
  6. package/dist/accounts/components/AccountListItem.d.ts +1 -0
  7. package/dist/accounts/components/ConnectStatus.d.ts +1 -0
  8. package/dist/accounts/components/ConnectionsDrawer.d.ts +1 -0
  9. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.d.ts +1 -0
  10. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -0
  11. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.d.ts +1 -0
  12. package/dist/accounts/stores/AccountStore.d.ts +1 -0
  13. package/dist/accounts/stores/UiStore.d.ts +1 -0
  14. package/dist/accounts/utils/AccountFields.d.ts +1 -0
  15. package/dist/accounts/utils/Accounts.d.ts +1 -0
  16. package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -0
  17. package/dist/budgets/api/BudgetsApi.d.ts +1 -0
  18. package/dist/budgets/components/BubbleBudgets.d.ts +1 -0
  19. package/dist/budgets/components/BubbleChart.d.ts +1 -0
  20. package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -0
  21. package/dist/budgets/components/bubblechart/Mercury.d.ts +1 -0
  22. package/dist/budgets/store/BudgetsStore.d.ts +1 -0
  23. package/dist/budgets/utils/Budget.d.ts +1 -0
  24. package/dist/cashflow/CashflowMiniWidget.d.ts +1 -0
  25. package/dist/cashflow/CashflowOnboarding.d.ts +1 -0
  26. package/dist/cashflow/CashflowWidget.d.ts +1 -0
  27. package/dist/cashflow/api/CashflowApi.d.ts +1 -0
  28. package/dist/cashflow/components/CashflowAmountHeading.d.ts +1 -0
  29. package/dist/cashflow/components/CashflowContent.d.ts +1 -0
  30. package/dist/cashflow/components/CashflowHeading.d.ts +1 -0
  31. package/dist/cashflow/components/CashflowWidgetContent.d.ts +1 -0
  32. package/dist/cashflow/components/DetailsExpenseHeader.d.ts +1 -0
  33. package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -0
  34. package/dist/cashflow/components/onboarding/StepOne.d.ts +1 -0
  35. package/dist/cashflow/components/onboarding/StepTwo.d.ts +1 -0
  36. package/dist/cashflow/stores/CashflowStore.d.ts +1 -0
  37. package/dist/cashflow/stores/UiStore.d.ts +1 -0
  38. package/dist/cashflow/util/Filters.d.ts +1 -0
  39. package/dist/categories/components/CategoryList.d.ts +1 -0
  40. package/dist/categories/components/CategoryRow.d.ts +1 -0
  41. package/dist/categories/components/CategorySelector.d.ts +1 -0
  42. package/dist/categories/components/CategorySelectorDrawer.d.ts +1 -0
  43. package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -0
  44. package/dist/categories/components/CustomCategories/CustomCategoryModal.d.ts +1 -0
  45. package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -0
  46. package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -0
  47. package/dist/categories/components/SubcategoryList.d.ts +1 -0
  48. package/dist/categories/components/SubcategoryRow.d.ts +1 -0
  49. package/dist/categories/stores/CategoryStore.d.ts +1 -0
  50. package/dist/common/api/AnalyticsApi.d.ts +1 -0
  51. package/dist/common/api/BeatApi.d.ts +1 -0
  52. package/dist/common/api/CategoryApi.d.ts +1 -0
  53. package/dist/common/api/GlobalCopyApi.d.ts +1 -0
  54. package/dist/common/api/LocalizedCopyApi.d.ts +1 -0
  55. package/dist/common/api/NotificationApi.d.ts +1 -0
  56. package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -0
  57. package/dist/common/api/UserApi.d.ts +1 -0
  58. package/dist/common/api/WidgetApi.d.ts +1 -0
  59. package/dist/common/components/ConnectDrawer.d.ts +1 -0
  60. package/dist/common/components/CurrencyInput.d.ts +1 -0
  61. package/dist/common/components/CurrencyText.d.ts +1 -0
  62. package/dist/common/components/DataRow.d.ts +1 -0
  63. package/dist/common/components/IconBacking.d.ts +1 -0
  64. package/dist/common/components/InformationTooltip.d.ts +1 -0
  65. package/dist/common/components/ListItemWrapper.d.ts +1 -0
  66. package/dist/common/components/Loader.d.ts +1 -0
  67. package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
  68. package/dist/common/components/ResponsiveButton.d.ts +1 -0
  69. package/dist/common/components/SearchBox.d.ts +1 -0
  70. package/dist/common/components/SelectionBox.d.ts +1 -0
  71. package/dist/common/components/SubheaderRow.d.ts +1 -0
  72. package/dist/common/components/WidgetContainer.d.ts +1 -0
  73. package/dist/common/components/accountfilter/AccountFilter.d.ts +1 -0
  74. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -0
  75. package/dist/common/components/barchart/Bar.d.ts +1 -0
  76. package/dist/common/components/barchart/BarChart.d.ts +1 -0
  77. package/dist/common/components/barchart/BarColumn.d.ts +1 -0
  78. package/dist/common/components/barchart/Legend.d.ts +1 -0
  79. package/dist/common/components/calendar/Calendar.d.ts +1 -0
  80. package/dist/common/components/calendar/Day.d.ts +1 -0
  81. package/dist/common/components/calendar/Header.d.ts +1 -0
  82. package/dist/common/components/charts/Donut.d.ts +1 -0
  83. package/dist/common/components/charts/LineChart.d.ts +2 -0
  84. package/dist/common/components/charts/StackedLineChart.d.ts +1 -0
  85. package/dist/common/components/charts/StatusBar.d.ts +1 -0
  86. package/dist/common/components/charts/linechart/CustomLine.d.ts +1 -0
  87. package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -0
  88. package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.d.ts +1 -0
  89. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -0
  90. package/dist/common/components/charts/stackedlinechart/CustomLegend.d.ts +1 -0
  91. package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +1 -0
  92. package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
  93. package/dist/common/components/dialog/Dialog.d.ts +1 -0
  94. package/dist/common/components/donuts/MultiSegmentDonut.d.ts +1 -0
  95. package/dist/common/components/donuts/SingleSegmentDonut.d.ts +1 -0
  96. package/dist/common/components/drawer/Drawer.d.ts +1 -0
  97. package/dist/common/components/drawer/Header.d.ts +1 -0
  98. package/dist/common/constants/Account.d.ts +1 -0
  99. package/dist/common/context/GlobalDataProvider.d.ts +1 -0
  100. package/dist/common/context/WidgetContainerProvider.d.ts +1 -0
  101. package/dist/common/context/hooks.d.ts +1 -0
  102. package/dist/common/context/index.d.ts +1 -1
  103. package/dist/common/hooks/useCombineEvents.d.ts +1 -0
  104. package/dist/common/hooks/useDimensions.d.ts +1 -0
  105. package/dist/common/stores/ConnectStore.d.ts +1 -0
  106. package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
  107. package/dist/common/stores/GlobalStore.d.ts +3 -0
  108. package/dist/common/stores/GlobalUiStore.d.ts +1 -0
  109. package/dist/common/stores/UserStore.d.ts +1 -0
  110. package/dist/common/types/Activity.d.ts +1 -0
  111. package/dist/common/types/Analytics.d.ts +24 -9
  112. package/dist/common/types/Beat.d.ts +1 -0
  113. package/dist/common/types/Cashflow.d.ts +1 -0
  114. package/dist/common/types/Expense.d.ts +1 -0
  115. package/dist/common/types/GlobalCopy.d.ts +1 -0
  116. package/dist/common/types/LocalizedContent.d.ts +1 -0
  117. package/dist/common/types/Notification.d.ts +1 -0
  118. package/dist/common/types/ScheduledPayment.d.ts +1 -0
  119. package/dist/common/types/SpendingPlan.d.ts +1 -0
  120. package/dist/common/types/Widgets.d.ts +1 -0
  121. package/dist/common/types/localization/CashflowCopy.d.ts +1 -0
  122. package/dist/common/types/localization/CommonCopy.d.ts +1 -0
  123. package/dist/common/utils/AccountFilter.d.ts +1 -0
  124. package/dist/common/utils/Analytics.d.ts +1 -0
  125. package/dist/common/utils/Categories.d.ts +1 -0
  126. package/dist/common/utils/Fetch.d.ts +1 -2
  127. package/dist/common/utils/Localization.d.ts +1 -0
  128. package/dist/common/utils/NumberFormatting.d.ts +1 -0
  129. package/dist/dashboard/Dashboard.d.ts +1 -0
  130. package/dist/dashboard/types/DashboardTypes.d.ts +1 -0
  131. package/dist/goals/api/GoalApi.d.ts +1 -0
  132. package/dist/goals/components/GoalsWidget.d.ts +1 -0
  133. package/dist/goals/stores/GoalStore.d.ts +1 -0
  134. package/dist/index.d.ts +1 -0
  135. package/dist/index.es.js +4378 -4220
  136. package/dist/index.es.js.map +1 -1
  137. package/dist/insights/components/beats/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +1 -0
  138. package/dist/insights/contexts/ToastContext.d.ts +1 -0
  139. package/dist/insights/settings/SettingsDrawer.d.ts +1 -0
  140. package/dist/insights/settings/components/PulseSubheaderRow.d.ts +1 -0
  141. package/dist/insights/settings/components/SettingsItem.d.ts +1 -0
  142. package/dist/insights/settings/components/Toast.d.ts +1 -0
  143. package/dist/insights/settings/hiddeninsights/components/CategoryEmptyState.d.ts +1 -0
  144. package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawer.d.ts +1 -0
  145. package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawerWrapper.d.ts +1 -0
  146. package/dist/insights/settings/hiddeninsights/components/SubCategoryDrawer.d.ts +1 -0
  147. package/dist/insights/settings/manageaccounts/components/AccountGroup.d.ts +1 -0
  148. package/dist/insights/settings/manageaccounts/components/ManageAccountsDrawer.d.ts +1 -0
  149. package/dist/insights/settings/manageaccounts/types/index.d.ts +1 -0
  150. package/dist/insights/store/BeatStore.d.ts +1 -0
  151. package/dist/insights/utils/beatTemplateCategories.d.ts +1 -0
  152. package/dist/merchants/api/MerchantApi.d.ts +1 -0
  153. package/dist/merchants/components/MerchantLookup.d.ts +1 -0
  154. package/dist/merchants/stores/MerchantStore.d.ts +1 -0
  155. package/dist/microinsights/analytics.d.ts +3 -2
  156. package/dist/microinsights/components/beatCard/BeatCard.d.ts +1 -0
  157. package/dist/microinsights/components/beaticons/BeatCategoryIcon.d.ts +1 -0
  158. package/dist/microinsights/components/beaticons/BeatIcon.d.ts +1 -0
  159. package/dist/microinsights/components/beaticons/BeatMerchantLogo.d.ts +1 -0
  160. package/dist/microinsights/components/beaticons/ChartFilledIcon.d.ts +1 -0
  161. package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  162. package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +1 -0
  163. package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +2 -0
  164. package/dist/microinsights/components/microBeatCarousel/CarouselControls.d.ts +1 -0
  165. package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +1 -0
  166. package/dist/microinsights/components/microInsightCard/MicroInsightCard.d.ts +1 -0
  167. package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard.d.ts +1 -0
  168. package/dist/microinsights/components/spinner/Spinner.d.ts +1 -0
  169. package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard.d.ts +1 -0
  170. package/dist/microinsights/components/zeroStateCard/ZeroStateCard.d.ts +1 -0
  171. package/dist/microinsights/constants/Analytics.d.ts +1 -0
  172. package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -0
  173. package/dist/microinsights/interfaces.d.ts +1 -0
  174. package/dist/microinsights/stores/AppStore.d.ts +2 -1
  175. package/dist/microinsights/stores/CopyStore.d.ts +1 -0
  176. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +10 -3
  177. package/dist/microinsights/types/BeatUIComponent.d.ts +1 -0
  178. package/dist/microinsights/utils/DataSeries.d.ts +1 -0
  179. package/dist/networth/NetWorthWidget.d.ts +5 -0
  180. package/dist/networth/api/NetWorthApi.d.ts +9 -0
  181. package/dist/networth/components/NetWorthChart.d.ts +7 -0
  182. package/dist/networth/components/NetWorthList.d.ts +7 -0
  183. package/dist/networth/components/NetWorthRow.d.ts +6 -0
  184. package/dist/networth/index.d.ts +3 -0
  185. package/dist/networth/stores/NetWorthStore.d.ts +15 -0
  186. package/dist/networth/types/NetWorth.d.ts +37 -0
  187. package/dist/networth/utils/NetWorth.d.ts +3 -0
  188. package/dist/notifications/components/DateRow.d.ts +1 -0
  189. package/dist/notifications/components/NotificationBadge.d.ts +1 -0
  190. package/dist/notifications/components/NotificationCard.d.ts +1 -0
  191. package/dist/notifications/components/NotificationList.d.ts +1 -0
  192. package/dist/notifications/stores/NotificationStore.d.ts +1 -0
  193. package/dist/notifications/utils/NotificationUtils.d.ts +1 -0
  194. package/dist/recurringactivity/RecurringActivityMiniWidget.d.ts +1 -0
  195. package/dist/recurringactivity/RecurringActivityWidget.d.ts +1 -0
  196. package/dist/recurringactivity/components/ActivityDetails.d.ts +1 -0
  197. package/dist/recurringactivity/components/ActivityList.d.ts +1 -0
  198. package/dist/recurringactivity/components/ActivityRow.d.ts +1 -0
  199. package/dist/recurringactivity/components/ActivityStatus.d.ts +1 -0
  200. package/dist/recurringactivity/components/MiniWidgetContent.d.ts +1 -0
  201. package/dist/recurringactivity/components/actions/FrequencyAction.d.ts +1 -0
  202. package/dist/recurringactivity/components/actions/PaymentDateAction.d.ts +1 -0
  203. package/dist/recurringactivity/components/activitycalendar/ActivityDay.d.ts +1 -0
  204. package/dist/recurringactivity/components/shared/activitysettings/AddActivity.d.ts +1 -0
  205. package/dist/recurringactivity/components/shared/activitysettings/AddActivityDetails.d.ts +1 -0
  206. package/dist/recurringactivity/components/shared/activitysettings/SelectTransaction.d.ts +1 -0
  207. package/dist/recurringactivity/stores/RecurringActivityStore.d.ts +1 -0
  208. package/dist/recurringactivity/util/RecurringActivityUtils.d.ts +1 -0
  209. package/dist/recurringactivity/util/buildActivities.d.ts +1 -0
  210. package/dist/recurringactivity/util/buildNewActivity.d.ts +1 -0
  211. package/dist/recurringactivity/util/getRecurrence.d.ts +1 -0
  212. package/dist/recurringactivity/util/getStatus.d.ts +1 -0
  213. package/dist/recurringactivity/util/updateActivity.d.ts +1 -0
  214. package/dist/spending/SpendingMiniWidget.d.ts +1 -0
  215. package/dist/spending/SpendingWidget.d.ts +1 -0
  216. package/dist/spending/components/SpendingChart.d.ts +1 -0
  217. package/dist/spending/components/SpendingDonut.d.ts +1 -0
  218. package/dist/spending/components/SpendingLegend.d.ts +1 -0
  219. package/dist/spending/components/SpendingList.d.ts +1 -0
  220. package/dist/spending/components/SpendingTabLabel.d.ts +1 -0
  221. package/dist/spending/utils/SpendingData.d.ts +1 -0
  222. package/dist/transactions/TransactionWidget.d.ts +1 -0
  223. package/dist/transactions/analytics.d.ts +1 -0
  224. package/dist/transactions/api/TransactionApi.d.ts +1 -0
  225. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  226. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  227. package/dist/transactions/components/shared/TransactionTable.d.ts +1 -0
  228. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -0
  229. package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -0
  230. package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -0
  231. package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -0
  232. package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -0
  233. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -0
  234. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -0
  235. package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +1 -0
  236. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -0
  237. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -0
  238. package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -0
  239. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +1 -0
  240. package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -0
  241. package/dist/transactions/components/shared/transactionlist/ZeroState.d.ts +1 -0
  242. package/dist/transactions/components/shared/transactiontable/cells/AccountCell.d.ts +1 -0
  243. package/dist/transactions/components/shared/transactiontable/cells/AmountCell.d.ts +1 -0
  244. package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.d.ts +1 -0
  245. package/dist/transactions/components/shared/transactiontable/cells/DateCell.d.ts +1 -0
  246. package/dist/transactions/components/shared/transactiontable/cells/FlagCell.d.ts +1 -0
  247. package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.d.ts +1 -0
  248. package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +1 -0
  249. package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -0
  250. package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -0
  251. package/dist/transactions/components/tagmanager/SearchBox.d.ts +1 -0
  252. package/dist/transactions/components/tagmanager/TagManager.d.ts +1 -0
  253. package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -0
  254. package/dist/transactions/components/transactionwidget/AddAccountModal.d.ts +1 -0
  255. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -0
  256. package/dist/transactions/constants/Transaction.d.ts +1 -0
  257. package/dist/transactions/stores/TransactionStore.d.ts +1 -0
  258. package/dist/transactions/stores/UiStore.d.ts +1 -0
  259. package/dist/transactions/utils/Filters.d.ts +1 -0
  260. package/dist/transactions/utils/Transactions.d.ts +1 -0
  261. package/dist/transactions/utils/buildDetailedTransactions.d.ts +1 -0
  262. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -0
  263. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -0
  264. package/dist/trends/TrendsFullWidget.d.ts +1 -0
  265. package/dist/trends/TrendsMiniWidget.d.ts +1 -0
  266. package/dist/trends/components/TrendsTable.d.ts +1 -0
  267. package/dist/trends/components/trendstable/AmountCell.d.ts +1 -0
  268. package/dist/trends/components/trendstable/CategoryCell.d.ts +1 -0
  269. package/dist/trends/components/trendstable/HeaderCell.d.ts +1 -0
  270. package/dist/trends/utils/index.d.ts +1 -0
  271. package/package.json +38 -42
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface BodyProps {
3
4
  accountGuid: string;
4
5
  animation: {
@@ -1,4 +1,5 @@
1
1
  import { default as React, ReactNode } from 'react';
2
+
2
3
  interface ToastState {
3
4
  isOpen: boolean;
4
5
  message: string;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { SettingsMenuContent } from './hiddeninsights/types';
3
+
3
4
  interface Props {
4
5
  children?: React.ReactNode;
5
6
  content: SettingsMenuContent;
@@ -1,4 +1,5 @@
1
1
  import { default as React, PropsWithChildren } from 'react';
2
+
2
3
  interface SubheaderRowProps {
3
4
  bgcolor?: string;
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface SettingsItemProps {
3
4
  iconName: string;
4
5
  label: string;
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { SxProps, Theme } from '@mui/system';
3
3
  import { GrowProps } from '@mui/material/Grow';
4
+
4
5
  export declare function GrowTransition(props: GrowProps): import("react/jsx-runtime").JSX.Element;
5
6
  interface ToastProps {
6
7
  open: boolean;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { SettingsMenuContent } from '../types';
3
+
3
4
  interface Props {
4
5
  content: SettingsMenuContent;
5
6
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { SettingsMenuContent, DisabledBeatTemplatesStore } from '../types';
3
+
3
4
  interface Props {
4
5
  content: SettingsMenuContent;
5
6
  disabledBeatTemplatesStore: DisabledBeatTemplatesStore;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { SettingsMenuContent, DisabledBeatTemplatesStore } from '../types';
3
+
3
4
  interface Props {
4
5
  content: SettingsMenuContent;
5
6
  disabledBeatTemplatesStore: DisabledBeatTemplatesStore;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { DisabledBeatTemplate, SettingsMenuContent } from '../types';
3
+
3
4
  interface Props {
4
5
  content: SettingsMenuContent;
5
6
  disabledBeatTemplates: DisabledBeatTemplate[];
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { Account } from '../../../../common/types/Account';
3
3
  import { SettingsMenuContent } from '../../hiddeninsights/types';
4
+
4
5
  interface Props {
5
6
  accounts: Account[];
6
7
  content: SettingsMenuContent;
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { ManageAccountsStore } from '../types';
3
3
  import { SettingsMenuContent } from '../../hiddeninsights/types';
4
+
4
5
  interface Props {
5
6
  content: SettingsMenuContent;
6
7
  manageAccountsStore: ManageAccountsStore;
@@ -1,4 +1,5 @@
1
1
  import { Account } from './../../../../common/types/Account';
2
+
2
3
  export interface ManageAccountsStore {
3
4
  handleAccountsDrawerAction: (actionType: string) => void;
4
5
  groupedAccounts: GroupedAccount[];
@@ -1,4 +1,5 @@
1
1
  import { Beat, BeatApi } from '../../common';
2
+
2
3
  export declare class BeatStore {
3
4
  beats: Beat[];
4
5
  api: BeatApi;
@@ -1,2 +1,3 @@
1
1
  import { DisabledBeatTemplate, CategoryMapping, SubcategoryMapping, BeatCategory } from '../settings/hiddeninsights/types/index';
2
+
2
3
  export declare const organizeBeats: (beatTemplatesWithCategories: DisabledBeatTemplate[]) => [BeatCategory[], CategoryMapping, SubcategoryMapping];
@@ -1,4 +1,5 @@
1
1
  import { Fetch } from '../../common';
2
+
2
3
  export declare class MerchantApi {
3
4
  fetchInstance: Fetch;
4
5
  constructor(endpoint: string, token: string);
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export interface MerchantLookupProps {
3
4
  height?: string | number;
4
5
  onSelect: (guid: string) => void;
@@ -1,5 +1,6 @@
1
1
  import { MerchantApi } from '../api/MerchantApi';
2
2
  import { Merchant } from '../../common';
3
+
3
4
  export interface CopyObject {
4
5
  [key: string]: string;
5
6
  }
@@ -1,4 +1,5 @@
1
1
  import { analyticsSession } from '../common';
2
+
2
3
  export type AnalyticSession = Awaited<ReturnType<typeof analyticsSession>>;
3
- export declare const onAnalyticEvent: (event: string, session: AnalyticSession | null) => Promise<any>;
4
- export declare const onAnalyticPageView: (page: string, session: AnalyticSession | null) => Promise<any>;
4
+ export declare const onAnalyticEvent: (event: string, session: AnalyticSession) => Promise<any>;
5
+ export declare const onAnalyticPageView: (page: string, session: AnalyticSession) => Promise<any>;
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { MicroWidgetProps } from '../../';
3
3
  import { Beat } from '../../../common';
4
+
4
5
  export interface BeatCardProps extends MicroWidgetProps {
5
6
  backgroundColor?: string;
6
7
  beat: Beat;
@@ -1,3 +1,4 @@
1
1
  import { FC } from 'react';
2
2
  import { BeatUIComponent } from '../../types/BeatUIComponent';
3
+
3
4
  export declare const BeatCategoryIcon: FC<BeatUIComponent>;
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { clientColorSchemeProps } from '../..';
3
3
  import { Beat } from '../../../common';
4
+
4
5
  export interface BeatIconProps {
5
6
  beat?: Beat;
6
7
  clientColorScheme?: clientColorSchemeProps;
@@ -1,3 +1,4 @@
1
1
  import { BeatUIComponent } from '../../types/BeatUIComponent';
2
+
2
3
  declare const _default: import('react').FunctionComponent<BeatUIComponent>;
3
4
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface ChartFilledIconProps {
3
4
  color?: string;
4
5
  height?: number;
@@ -1,5 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { BeatUIComponent } from '../../types/BeatUIComponent';
3
3
  import { DataSeries } from '../../../common';
4
- export declare const getIconColor: (data: DataSeries | undefined) => "#2D64EF" | "#DF320C" | "#09A57F";
4
+
5
+ export declare const getIconColor: (data: DataSeries | undefined, designTokens: any) => any;
5
6
  export declare const MonthlySpendComparisonIcon: FC<BeatUIComponent>;
@@ -2,6 +2,7 @@ import { default as React } from 'react';
2
2
  import { PostHog } from 'posthog-js';
3
3
  import { clientColorSchemeProps } from '../../';
4
4
  import { Beat } from '../../../common';
5
+
5
6
  export interface CarouselHeaderProps {
6
7
  clientColorScheme?: clientColorSchemeProps;
7
8
  onCardClick: (beat?: Beat | undefined) => void;
@@ -1,10 +1,12 @@
1
1
  import { default as React } from 'react';
2
2
  import { Beat } from '../../../common';
3
3
  import { MicroWidgetProps } from '../../';
4
+
4
5
  export interface InsightsMicroWidgetProps extends MicroWidgetProps {
5
6
  areBeatsLoading: boolean;
6
7
  beats: Beat[];
7
8
  endpoint: string;
9
+ logOutUser: () => void;
8
10
  onEvent?: (event?: string | undefined) => void;
9
11
  onPageview?: (event?: string | undefined) => void;
10
12
  token: string;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { clientColorSchemeProps } from '../../';
3
+
3
4
  export interface CarouselControlsProps {
4
5
  clientColorScheme?: clientColorSchemeProps;
5
6
  currentBeatIndex: number;
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { MicroWidgetProps } from '../../';
3
3
  import { Beat } from '../../../common';
4
+
4
5
  export interface MicroBeatCarouselProps extends MicroWidgetProps {
5
6
  beats?: Beat[];
6
7
  showCarouselControls?: boolean;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { MicroWidgetProps, StyleProps } from '../../';
3
+
3
4
  interface MicroInsightProps extends MicroWidgetProps {
4
5
  actionText?: string;
5
6
  backgroundColor?: string;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { MicroWidgetProps } from '../../';
3
+
3
4
  export interface MicroZeroStateCardProps extends MicroWidgetProps {
4
5
  carouselSize: string;
5
6
  }
@@ -1,3 +1,4 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  declare const Spinner: React.FC;
3
4
  export default Spinner;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { MicroWidgetProps } from '../../';
3
+
3
4
  export interface ViewMoreMicroCardProps extends MicroWidgetProps {
4
5
  isActiveCard: boolean;
5
6
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { MicroWidgetProps } from '../../';
3
+
3
4
  export interface ZeroStateCardProps extends MicroWidgetProps {
4
5
  carouselSize: string;
5
6
  }
@@ -1,4 +1,5 @@
1
1
  import { BasicAnalyticsEvent } from '../../common';
2
+
2
3
  export declare const TEMPLATE_NAMES: {
3
4
  BillAmountNotStandard: string;
4
5
  CanadianUpcomingDeadlineAlert: string;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { AppStore } from '../stores/AppStore';
3
+
3
4
  export interface InsightsMicroWidgetContextTypes {
4
5
  children: React.ReactNode;
5
6
  onEvent: (event: string, props?: object) => void;
@@ -1,5 +1,6 @@
1
1
  import { Beat } from '../common';
2
2
  import { PostHog } from 'posthog-js';
3
+
3
4
  export interface clientColorSchemeProps {
4
5
  [key: string]: string | undefined;
5
6
  }
@@ -1,6 +1,7 @@
1
1
  import { CopyStore } from './CopyStore';
2
2
  import { InsightsMicroWidgetStore } from './InsightsMicroWidgetStore';
3
3
  import { AnalyticSession } from '../analytics';
4
+
4
5
  export declare class AppStore {
5
6
  copyStore: CopyStore;
6
7
  endpoint: string;
@@ -9,5 +10,5 @@ export declare class AppStore {
9
10
  token: string;
10
11
  isInitialized: boolean;
11
12
  constructor();
12
- initialize: (endpoint: string, token: string) => Promise<void>;
13
+ initialize: (endpoint: string, token: string, logOutUser: () => void) => Promise<void>;
13
14
  }
@@ -1,4 +1,5 @@
1
1
  import { GlobalCopyApi, MicroInsightsCopy } from '../../common';
2
+
2
3
  export declare class CopyStore {
3
4
  copyApi: GlobalCopyApi;
4
5
  copyObject: MicroInsightsCopy;
@@ -1,9 +1,16 @@
1
+ import { AnalyticSession } from '../analytics';
1
2
  import { BeatApi } from '../../common/api/BeatApi';
2
3
  import { Beat } from '../../common';
4
+
5
+ export interface ErrPromise<TSuccess, TError = unknown> {
6
+ then<TResult1 = TSuccess, TResult2 = never>(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
7
+ catch<TResult = never>(onrejected?: ((reason: TError) => TResult | PromiseLike<TResult>) | undefined | null): Promise<TSuccess | TResult>;
8
+ }
3
9
  export declare class InsightsMicroWidgetStore {
4
- onAnalyticEvent: (event: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
5
- onAnalyticPageView: (page: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
10
+ onAnalyticEvent: (event: string, session: AnalyticSession) => ErrPromise<string, AnalyticSession>;
11
+ onAnalyticPageView: (event: string, session: AnalyticSession) => ErrPromise<string, AnalyticSession>;
6
12
  beatApi: BeatApi;
7
- initialize: (endpoint: string, token: string) => Promise<void>;
13
+ constructor();
14
+ initialize: (endpoint: string, token: string, logOutUser: () => void) => Promise<void>;
8
15
  updateBeat: (beat: Beat) => Promise<void>;
9
16
  }
@@ -1,4 +1,5 @@
1
1
  import { Beat } from '../../common';
2
+
2
3
  export interface BeatUIComponent {
3
4
  beat: Beat;
4
5
  }
@@ -1,2 +1,3 @@
1
1
  import { DataSeries } from '../../common';
2
+
2
3
  export declare const buildDataSeries: (data: DataSeries | undefined) => any[];
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { WidgetProps } from '../common';
3
+
4
+ declare const _default: React.FunctionComponent<WidgetProps>;
5
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { Fetch } from '../../common';
2
+
3
+ export declare class NetWorthApi {
4
+ fetchInstance: Fetch;
5
+ constructor(endpoint: string, token: string);
6
+ getAccounts: () => Promise<any>;
7
+ getMembers: () => Promise<any>;
8
+ getMonthlyAccountBalances: (guid: string) => Promise<any>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import { xyData } from '../types/NetWorth';
2
+
3
+ interface NetWorthChartProps {
4
+ chartData: xyData[];
5
+ }
6
+ declare const _default: import('react').FunctionComponent<NetWorthChartProps>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { NetWorth } from '../types/NetWorth';
2
+
3
+ interface NetWorthListProps {
4
+ netWorthList: NetWorth[];
5
+ }
6
+ declare const _default: import('react').FunctionComponent<NetWorthListProps>;
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ interface NetWorthRowProps {
2
+ month: string;
3
+ amount: number;
4
+ }
5
+ declare const _default: import('react').FunctionComponent<NetWorthRowProps>;
6
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { default as NetWorthChart } from './components/NetWorthChart';
2
+ export type { NetWorth, NetWorthData, MonthlyAccountBalance, xyData } from './types/NetWorth';
3
+ export { default as NetWorthWidget } from './NetWorthWidget';
@@ -0,0 +1,15 @@
1
+ import { GlobalStore } from '../../common';
2
+ import { NetWorthApi } from '../api/NetWorthApi';
3
+ import { NetWorth, NetWorthData, xyData } from '../types/NetWorth';
4
+
5
+ export declare class NetWorthStore {
6
+ api: NetWorthApi;
7
+ globalStore: GlobalStore;
8
+ netWorthData: NetWorthData;
9
+ netWorthChartData: xyData[];
10
+ netWorthMonthlyList: NetWorth[];
11
+ constructor(globalStore: GlobalStore);
12
+ initialize: (endpoint: string, token: string) => void;
13
+ loadNetWorthData: () => Promise<void>;
14
+ _flattenBalances: (balances: any, balance: any) => any[];
15
+ }
@@ -0,0 +1,37 @@
1
+ import { Account } from '../../common';
2
+
3
+ export type MonthlyAccountBalance = {
4
+ account_guid: string;
5
+ balance: number;
6
+ credit_transaction_total: number;
7
+ debit_transaction_total: number;
8
+ id: string;
9
+ month: number;
10
+ transaction_total: number;
11
+ user_guid: string;
12
+ year: number;
13
+ year_month: number;
14
+ };
15
+ type MonthlyAccountBalances = {
16
+ change: number;
17
+ guid: string;
18
+ name: string;
19
+ type: number;
20
+ value: number;
21
+ };
22
+ export type NetWorth = {
23
+ id: number;
24
+ accounts: MonthlyAccountBalances[];
25
+ x: number;
26
+ y: number;
27
+ change: number;
28
+ };
29
+ export type xyData = {
30
+ x: string;
31
+ y: number;
32
+ };
33
+ export type NetWorthData = {
34
+ accounts: Account[];
35
+ monthlyAccountBalances: MonthlyAccountBalance[];
36
+ };
37
+ export {};
@@ -0,0 +1,3 @@
1
+ import { Account, Member } from '../../common/types';
2
+
3
+ export declare const filterAccounts: (members: Member[], accounts: Account[]) => Account[];
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface DateRowProps {
3
4
  date: number;
4
5
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Notification } from '../../common/types';
3
+
3
4
  interface NotificationBadgeProps {
4
5
  notification: Notification;
5
6
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Notification } from '../../common/types';
3
+
3
4
  interface NotificationCardProps {
4
5
  notification: Notification;
5
6
  onClick: (notification: Notification) => void;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Notification } from '../../common/types';
3
+
3
4
  export interface NotificationListProps {
4
5
  onClick?: (notification: Notification) => void;
5
6
  }
@@ -1,4 +1,5 @@
1
1
  import { NotificationApi, Notification } from '../../common';
2
+
2
3
  export declare class NotificationStore {
3
4
  api: NotificationApi;
4
5
  isLoading: boolean;
@@ -1,4 +1,5 @@
1
1
  import { Notification } from '../../common';
2
+
2
3
  export declare const sortByDate: (a: Notification, b: Notification) => number;
3
4
  export declare const shouldShowDate: (index: number, notifications: Notification[]) => boolean;
4
5
  export declare const hasInsetBorder: (index: number, notifications: Notification[]) => boolean;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { MiniWidgetProps } from '../common';
3
+
3
4
  declare const _default: React.FunctionComponent<MiniWidgetProps>;
4
5
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { WidgetProps } from '../common';
3
+
3
4
  declare const _default: React.FunctionComponent<WidgetProps>;
4
5
  export default _default;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Activity } from '../../common';
3
+
3
4
  interface ActivityDetailsProps {
4
5
  activity: Activity;
5
6
  onDeleted: () => void;
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material/styles';
3
3
  import { Activity } from '../../common';
4
+
4
5
  interface ActivityListProps {
5
6
  activities: Activity[];
6
7
  isMini?: boolean;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Activity } from '../../common';
3
+
3
4
  interface ActivityRowProps {
4
5
  activity: Activity;
5
6
  isMini?: boolean;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface ActivityStatusProps {
3
4
  title: string;
4
5
  expected: number;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { MiniWidgetProps } from '../../common';
3
+
3
4
  declare const _default: React.FunctionComponent<MiniWidgetProps>;
4
5
  export default _default;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Activity } from '../../../common';
3
+
3
4
  interface FrequencyActionProps {
4
5
  activity: Activity;
5
6
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { Activity } from '../../../common';
3
+
3
4
  interface PaymentDateActionProps {
4
5
  activity: Activity;
5
6
  }
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { PickersDayProps } from '@mui/x-date-pickers/PickersDay';
3
+
3
4
  declare const _default: React.FunctionComponent<PickersDayProps<Date>>;
4
5
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface AddActivityProps {
3
4
  isIncome?: boolean;
4
5
  label: string;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { RecurrenceTypes, Transaction } from '../../../../common';
3
+
3
4
  interface ActivityDetailsProps {
4
5
  bgcolor?: string;
5
6
  frequency: RecurrenceTypes;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface SelectTransactionProps {
3
4
  bgcolor?: string;
4
5
  description?: string;
@@ -1,5 +1,6 @@
1
1
  import { Activity, CashflowEvent, CashflowSequence, GlobalStore, ScheduledPayment, ScheduledPaymentsApi, Transaction } from '../../common';
2
2
  import { CashflowApi } from '../../cashflow';
3
+
3
4
  export declare class RecurringActivityStore {
4
5
  globalStore: GlobalStore;
5
6
  api: ScheduledPaymentsApi;
@@ -1,4 +1,5 @@
1
1
  import { Activity } from '../../common';
2
+
2
3
  export declare const totalReducer: (acc: number, curr: Activity) => number;
3
4
  export declare const incomeFilter: (i: Activity) => boolean;
4
5
  export declare const expenseFilter: (i: Activity) => boolean;