@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
  export interface DonutData {
3
4
  id: string;
4
5
  label?: string;
@@ -1,5 +1,7 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface LineChartProps {
4
+ baseline?: string;
3
5
  colors: (string | undefined)[];
4
6
  datasets: {
5
7
  x: string;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface StackedLineChartProps {
3
4
  onHoverArea?: (category: string) => void;
4
5
  onHoverPoint?: (category: string) => void;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export type StatusBarData = {
3
4
  color: string;
4
5
  percentage: string;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { AnimatedLineProps } from '@mui/x-charts';
3
+
3
4
  interface CustomLineProps extends AnimatedLineProps {
4
5
  lineColor?: string;
5
6
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { MarkElementProps } from '@mui/x-charts';
3
+
3
4
  interface CustomMarkProps extends MarkElementProps {
4
5
  yData: number[];
5
6
  }
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export declare const CategoryIconLabel: React.FC<{
3
4
  categoryGuid: string;
4
5
  }>;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  type DataPoint = {
3
4
  x: string | number;
4
5
  y: number;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface CustomLegendProps {
3
4
  labels: string[];
4
5
  stackedLabels: string[];
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { ChartsItemContentProps } from '@mui/x-charts';
3
+
3
4
  interface CustomPointTooltipProps extends ChartsItemContentProps<'line'> {
4
5
  categoryGuid: string;
5
6
  }
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { DateRange } from '@mui/x-date-pickers-pro';
3
3
  import { DateRangePickerCopy } from '@kyper/mui';
4
+
4
5
  export type DateRangeSelectorCopy = {
5
6
  dateRangePickerCopy: DateRangePickerCopy;
6
7
  dateRangeEditApply: string;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { DialogProps as MuiDialogProps } from '@mui/material/Dialog';
3
+
3
4
  export type CopyObject = {
4
5
  close_aria?: string;
5
6
  title: string;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export interface Segment {
3
4
  percent: number;
4
5
  color: string;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export interface SingleSegmentDonutProps {
3
4
  children: React.ReactNode;
4
5
  color: string;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material/styles';
3
+
3
4
  export type CopyObject = {
4
5
  close_drawer_aria: string;
5
6
  };
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  interface DrawerHeaderProps {
3
4
  ariaLabelClose: string;
4
5
  onClose: () => void;
@@ -1,4 +1,5 @@
1
1
  import { AccountType } from '../types/Account';
2
+
2
3
  export declare const INCOME_ACCOUNT_TYPES: AccountType[];
3
4
  export declare const PAYMENT_ACCOUNT_TYPES: AccountType[];
4
5
  export declare const SPENDING_ACCOUNT_TYPES: AccountType[];
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { GlobalStore } from '..';
3
+
3
4
  export interface GlobalStoreContextTypes {
4
5
  children: React.ReactNode;
5
6
  onEvent: (event: string, props?: object) => void;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export interface WidgetContainerContextTypes {
3
4
  children: React.ReactNode;
4
5
  availableHeight: number;
@@ -9,6 +9,7 @@ export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').G
9
9
  export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
10
10
  export declare const useGoalStore: () => import('..').GlobalStore;
11
11
  export declare const useMerchantStore: () => import('../..').MerchantStore;
12
+ export declare const useNetWorthStore: () => import('../../networth/stores/NetWorthStore').NetWorthStore;
12
13
  export declare const useNotificationStore: () => import('../..').NotificationStore;
13
14
  export declare const useRecurringActivityStore: () => import('../..').RecurringActivityStore;
14
15
  export declare const useTransactionStore: () => import('../..').TransactionStore;
@@ -1,3 +1,3 @@
1
- export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useMerchantStore, useNotificationStore, usePageView, useRecurringActivityStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
1
+ export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
2
2
  export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
3
3
  export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
@@ -1,3 +1,4 @@
1
1
  import { AnalyticEventFunction, AnalyticPageviewFunction } from '../types';
2
+
2
3
  export declare const useCombineEvents: (events: AnalyticEventFunction[], store: any) => (event: string) => void;
3
4
  export declare const useCombinePageviews: (pages: AnalyticPageviewFunction[], store: any) => (event: string) => void;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  type Dimensions = {
3
4
  width: number;
4
5
  height: number;
@@ -1,4 +1,5 @@
1
1
  import { WidgetApi, GlobalStore } from '../../common';
2
+
2
3
  export declare class ConnectStore {
3
4
  widgetApi: WidgetApi;
4
5
  globalStore: GlobalStore;
@@ -1,5 +1,6 @@
1
1
  import { GlobalCopyApi } from '../api/GlobalCopyApi';
2
2
  import { GlobalCopy } from '../types';
3
+
3
4
  export declare class GlobalCopyStore {
4
5
  copy: GlobalCopy;
5
6
  featureNamespace: string;
@@ -11,6 +11,8 @@ import { RecurringActivityStore } from '../../recurringactivity';
11
11
  import { TransactionStore } from '../../transactions';
12
12
  import { UserStore } from './UserStore';
13
13
  import { GlobalCopyStore } from './GlobalCopyStore';
14
+ import { NetWorthStore } from '../../networth/stores/NetWorthStore';
15
+
14
16
  export declare class GlobalStore {
15
17
  accountStore: AccountStore;
16
18
  beatStore: BeatStore;
@@ -20,6 +22,7 @@ export declare class GlobalStore {
20
22
  connectStore: ConnectStore;
21
23
  copyStore: GlobalCopyStore;
22
24
  merchantStore: MerchantStore;
25
+ netWorthStore: NetWorthStore;
23
26
  notificationStore: NotificationStore;
24
27
  recurringActivityStore: RecurringActivityStore;
25
28
  transactionStore: TransactionStore;
@@ -1,5 +1,6 @@
1
1
  import { Account } from '../types';
2
2
  import { GlobalStore } from './GlobalStore';
3
+
3
4
  export declare class GlobalUiStore {
4
5
  globalStore: GlobalStore;
5
6
  isInitialized: boolean;
@@ -1,5 +1,6 @@
1
1
  import { UserApi } from '../api';
2
2
  import { UserProfile } from '../types';
3
+
3
4
  export declare class UserStore {
4
5
  api: UserApi;
5
6
  userProfile: UserProfile | null;
@@ -1,4 +1,5 @@
1
1
  import { RecurrenceTypes } from '../constants';
2
+
2
3
  export declare enum ActivityType {
3
4
  Expense = 0,
4
5
  Income = 1
@@ -1,4 +1,5 @@
1
1
  import { analyticsSession } from '../utils/Analytics';
2
+
2
3
  export type AnalyticsEvent = {
3
4
  analytics_event: {
4
5
  action: string;
@@ -10,20 +11,25 @@ export type AnalyticsEvent = {
10
11
  name: string;
11
12
  session_id: string;
12
13
  user_agent: string;
14
+ value: string | null;
13
15
  version: number;
14
16
  };
15
17
  };
16
18
  export type AnalyticsPageview = {
17
- created_at: string;
18
- detailed_path: string;
19
- host: string;
20
- metadata: string | null;
21
- name: string;
22
- path: string;
23
- user_agent: string;
19
+ analytics_pageview: {
20
+ app_version: string;
21
+ created_at: string;
22
+ detailed_path: string;
23
+ host: string;
24
+ metadata: string | null;
25
+ name: string;
26
+ path: string;
27
+ session_id: string;
28
+ user_agent: string;
29
+ };
24
30
  };
25
- export type BasicAnalyticsEvent = Pick<AnalyticsEvent['analytics_event'], 'action' | 'category' | 'label'>;
26
- export type BasicAnalyticsPageview = Pick<AnalyticsPageview, 'path' | 'name'>;
31
+ export type BasicAnalyticsEvent = Pick<AnalyticsEvent['analytics_event'], 'action' | 'category' | 'label' | 'value'>;
32
+ export type BasicAnalyticsPageview = Pick<AnalyticsPageview['analytics_pageview'], 'name' | 'detailed_path' | 'metadata' | 'path'>;
27
33
  export type AnalyticsSession = {
28
34
  browser_name: string;
29
35
  browser_version: string;
@@ -34,3 +40,12 @@ export type AnalyticsSession = {
34
40
  };
35
41
  export type AnalyticEventFunction = (event: string, session?: Awaited<ReturnType<typeof analyticsSession>> | null) => void;
36
42
  export type AnalyticPageviewFunction = (page: string, session?: Awaited<ReturnType<typeof analyticsSession>> | null) => void;
43
+ export interface AnalyticsEventsObjectType extends BasicAnalyticsEvent {
44
+ instanceId: string;
45
+ }
46
+ export interface AnalyticsPageviewObjectType extends BasicAnalyticsPageview {
47
+ label: string;
48
+ name: string;
49
+ path: string;
50
+ value: string;
51
+ }
@@ -1,5 +1,6 @@
1
1
  import { Account } from './Account';
2
2
  import { Transaction } from './Transaction';
3
+
3
4
  export interface Beat {
4
5
  account_guids: string[] | [];
5
6
  active_at?: string | number;
@@ -1,4 +1,5 @@
1
1
  import { TransactionType } from './Transaction';
2
+
2
3
  export type RepeatDay = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '23' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31';
3
4
  export type RepeatDayOfWeek = '0#0' | '0#1' | '0#2' | '0#3' | '0#4' | '0#5' | '0#6' | '1#0' | '1#1' | '1#2' | '1#3' | '1#4' | '1#5' | '1#6' | '2#0' | '2#1' | '2#2' | '2#3' | '2#4' | '2#5' | '2#6' | '3#0' | '3#1' | '3#2' | '3#3' | '3#4' | '3#5' | '3#6' | '4#0' | '4#1' | '4#2' | '4#3' | '4#4' | '4#5' | '4#6';
4
5
  export type RepeatInterval = '1' | '2' | '3';
@@ -1,4 +1,5 @@
1
1
  import { ScheduledPayment, Transaction } from '../index';
2
+
2
3
  export declare enum ExpenseStatus {
3
4
  Missed = "Missed",
4
5
  Paid = "Paid",
@@ -1,4 +1,5 @@
1
1
  import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, InsightsFeedCopy, MicroInsightsCopy, NotificationsCopy, RecurringCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
2
+
2
3
  export interface GlobalCopy {
3
4
  accounts: AccountsCopy;
4
5
  budgets: BudgetsCopy;
@@ -1,5 +1,6 @@
1
1
  import { SettingsMenuContent } from '../../insights/settings/hiddeninsights/types';
2
2
  import { CashflowCopy } from './localization/CashflowCopy';
3
+
3
4
  export interface LocalizedContent {
4
5
  insights_feed?: {
5
6
  settings_menu: SettingsMenuContent;
@@ -1,4 +1,5 @@
1
1
  import { Account } from '../types/Account';
2
+
2
3
  export type Notification = {
3
4
  account: Account;
4
5
  category_guid: string;
@@ -1,4 +1,5 @@
1
1
  import { RecurrenceTypes } from '../constants';
2
+
2
3
  export interface ScheduledPayment {
3
4
  guid: string;
4
5
  amount: number;
@@ -1,4 +1,5 @@
1
1
  import { IterationItemTypes, PlanTypes } from '../constants';
2
+
2
3
  export interface SpendingPlan {
3
4
  current_iteration_number: number;
4
5
  guid: string;
@@ -1,4 +1,5 @@
1
1
  import { SxProps } from '@mui/material/styles';
2
+
2
3
  export interface MiniWidgetProps {
3
4
  onPrimaryCtaClick?: () => void;
4
5
  sx?: SxProps;
@@ -1,4 +1,5 @@
1
1
  import { AccountFilterCopy } from './AccountFilterCopy';
2
+
2
3
  export interface CashflowCopy extends AccountFilterCopy {
3
4
  account_filter_title: string;
4
5
  accounts: string;
@@ -1,4 +1,5 @@
1
1
  import { AccountFilterCopy, AccountTypeCopy, CurrencyInputCopy, DateRangePickerCopy } from './';
2
+
2
3
  export interface CommonCopy {
3
4
  account_filter: AccountFilterCopy;
4
5
  account_type: AccountTypeCopy;
@@ -1,4 +1,5 @@
1
1
  import { Account } from '../types';
2
+
2
3
  export interface MappedAccounts {
3
4
  [key: string]: MappedAccount[];
4
5
  }
@@ -1,4 +1,5 @@
1
1
  import { BasicAnalyticsEvent, BasicAnalyticsPageview } from '../types';
2
+
2
3
  export declare const analyticsSession: (endpoint: string, token: string, version?: string, featureName?: string) => Promise<{
3
4
  sendAnalyticEvent: (event: BasicAnalyticsEvent) => Promise<any>;
4
5
  sendAnalyticsPageview: (pageview: BasicAnalyticsPageview) => Promise<any>;
@@ -1,2 +1,3 @@
1
1
  import { Category } from '../types';
2
+
2
3
  export declare const getCategory: (categories: Category[], categoryGuid: string | undefined) => string;
@@ -1,8 +1,7 @@
1
1
  export declare class Fetch {
2
2
  endpoint: string;
3
3
  headers: {};
4
- propagateError?: boolean;
5
- constructor(endpoint: string, token: string, propagateError?: boolean);
4
+ constructor(endpoint: string, token: string);
6
5
  get: (url: string) => Promise<any>;
7
6
  post: (url: string, data?: any) => Promise<any>;
8
7
  put: (url: string, data: any) => Promise<any>;
@@ -1,4 +1,5 @@
1
1
  import { DynamicCopyElement } from '../types';
2
+
2
3
  export declare const buildDynamicCopy: (str: string, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
3
4
  export declare const buildPluralCopy: (strOne: string, strMulti: string, count: number, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
4
5
  export declare const getLocale: () => any;
@@ -1,5 +1,6 @@
1
1
  import { RoundingFunction } from 'numeral';
2
2
  import { CurrencyCodes } from '../constants';
3
+
3
4
  export declare const formatCurrency: (amount: number | undefined, formatting: string, roundingFunction?: RoundingFunction) => string;
4
5
  export declare const getCurrencyCodes: () => CurrencyCodes;
5
6
  export declare const isValidNumber: (value: any) => boolean;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { DashboardWidget } from './types/DashboardTypes';
3
+
3
4
  export interface DashboardProps {
4
5
  widgets: DashboardWidget[];
5
6
  isLoading: boolean;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { DashboardLocation } from '../constants/Dashboard';
3
+
3
4
  export type DashboardWidget = {
4
5
  index: number;
5
6
  location: DashboardLocation;
@@ -1,4 +1,5 @@
1
1
  import { Fetch, Goal } from '../../common';
2
+
2
3
  export declare class GoalApi {
3
4
  fetchInstance: Fetch;
4
5
  constructor(endpoint: string, token: string);
@@ -1,4 +1,5 @@
1
1
  import { FC } from 'react';
2
+
2
3
  export interface GoalsProps {
3
4
  endpoint: string;
4
5
  token: string;
@@ -1,5 +1,6 @@
1
1
  import { GoalApi } from '../api/GoalApi';
2
2
  import { GlobalStore, Goal } from '../../common';
3
+
3
4
  export declare class GoalStore {
4
5
  api: GoalApi;
5
6
  globalStore: GlobalStore;
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './goals';
8
8
  export * from './insights';
9
9
  export * from './merchants';
10
10
  export * from './microinsights';
11
+ export * from './networth';
11
12
  export * from './notifications';
12
13
  export * from './recurringactivity';
13
14
  export * from './spending';