@mx-cartographer/experiences 3.14.0-alpha.mm5 → 3.15.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 (70) hide show
  1. package/CHANGELOG.md +241 -96
  2. package/dist/accounts/stores/AccountStore.d.ts +1 -0
  3. package/dist/budgets/api/BudgetsApi.d.ts +2 -2
  4. package/dist/budgets/components/AddBudgets.d.ts +3 -0
  5. package/dist/budgets/components/BubbleBudgets.d.ts +1 -3
  6. package/dist/budgets/components/BubbleChart.d.ts +4 -5
  7. package/dist/budgets/components/BudgetDetailsDrawer.d.ts +3 -0
  8. package/dist/budgets/components/BudgetList.d.ts +3 -7
  9. package/dist/budgets/components/addbudget/Header.d.ts +3 -0
  10. package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +7 -0
  11. package/dist/budgets/components/addbudget/RecalculateBudgets.d.ts +1 -0
  12. package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +8 -0
  13. package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
  14. package/dist/budgets/components/bubblechart/Mercury.d.ts +2 -0
  15. package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +8 -0
  16. package/dist/budgets/components/{BudgetDetails.d.ts → budgetdetails/BudgetDetails.d.ts} +1 -1
  17. package/dist/budgets/components/budgetdetails/Header.d.ts +7 -0
  18. package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +7 -0
  19. package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
  20. package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
  21. package/dist/budgets/components/budgetlist/SubBudgetZeroState.d.ts +3 -1
  22. package/dist/budgets/components/shared/BudgetAmount.d.ts +8 -0
  23. package/dist/budgets/store/BudgetsStore.d.ts +8 -2
  24. package/dist/budgets/utils/BubblesSVG.d.ts +5 -3
  25. package/dist/budgets/utils/BudgetUtil.d.ts +6 -4
  26. package/dist/categories/index.d.ts +1 -0
  27. package/dist/categories/stores/CategoryStore.d.ts +5 -36
  28. package/dist/categories/util/CategoryUtil.d.ts +8 -0
  29. package/dist/common/components/charts/LineChart.d.ts +7 -1
  30. package/dist/common/components/charts/linechart/CustomMark.d.ts +7 -0
  31. package/dist/common/components/dialog/Dialog.d.ts +2 -0
  32. package/dist/common/components/drawer/Drawer.d.ts +4 -0
  33. package/dist/common/components/drawer/Header.d.ts +1 -0
  34. package/dist/common/components/index.d.ts +1 -0
  35. package/dist/common/constants/Analytics.d.ts +5 -0
  36. package/dist/common/context/hooks.d.ts +3 -1
  37. package/dist/common/context/index.d.ts +1 -1
  38. package/dist/common/stores/GlobalStore.d.ts +4 -0
  39. package/dist/common/types/Account.d.ts +1 -0
  40. package/dist/common/types/Budget.d.ts +2 -4
  41. package/dist/common/types/Category.d.ts +22 -9
  42. package/dist/common/types/Debt.d.ts +15 -0
  43. package/dist/common/types/index.d.ts +3 -2
  44. package/dist/common/types/localization/BudgetsCopy.d.ts +36 -0
  45. package/dist/common/utils/Categories.d.ts +4 -1
  46. package/dist/common/utils/DateUtil.d.ts +1 -0
  47. package/dist/common/utils/index.d.ts +2 -1
  48. package/dist/debts/DebtsWidget.d.ts +5 -0
  49. package/dist/debts/index.d.ts +2 -0
  50. package/dist/debts/store/DebtsStore.d.ts +6 -0
  51. package/dist/debts/utils/DebtStore.d.ts +5 -0
  52. package/dist/goals/index.d.ts +1 -0
  53. package/dist/index.d.ts +1 -0
  54. package/dist/index.es.js +5684 -4642
  55. package/dist/index.es.js.map +1 -1
  56. package/dist/networth/NetWorthWidget.d.ts +3 -0
  57. package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +4 -0
  58. package/dist/networth/components/GainsLossesDetail.d.ts +4 -0
  59. package/dist/networth/components/NetWorthChange.d.ts +12 -0
  60. package/dist/networth/components/NetWorthChart.d.ts +3 -0
  61. package/dist/networth/components/NetWorthList.d.ts +2 -6
  62. package/dist/networth/components/NetWorthListItem.d.ts +17 -0
  63. package/dist/networth/components/NetWorthSummary.d.ts +7 -0
  64. package/dist/networth/index.d.ts +3 -0
  65. package/dist/networth/stores/NetWorthStore.d.ts +7 -1
  66. package/dist/networth/types/NetWorth.d.ts +40 -1
  67. package/dist/networth/utils/NetWorthUtils.d.ts +22 -1
  68. package/dist/recurringactivity/stores/RecurringActivityStore.d.ts +1 -0
  69. package/dist/transactions/index.d.ts +1 -0
  70. package/package.json +3 -3
@@ -1,11 +1,47 @@
1
1
  export interface BudgetsCopy {
2
+ add_description_bottom: string;
3
+ add_description_top: string;
4
+ add_label: string;
5
+ add_new_title: string;
6
+ add_save_button: string;
7
+ add_title: string;
8
+ add_sub_budget_button: string;
9
+ add_sub_budget_title: string;
10
+ budget_categories_title: string;
2
11
  budget_remaining_left: string;
3
12
  budget_remaining_over: string;
13
+ budgeted: string;
4
14
  budgets_title: string;
15
+ delete_description: string;
16
+ delete_title: string;
5
17
  details_cta: string;
18
+ details_delete_button: string;
19
+ details_edit_button: string;
20
+ details_edit_title: string;
21
+ details_subbudgets_tab: string;
22
+ details_title: string;
23
+ details_transaction_drawer: string;
24
+ details_transactions_tab: string;
25
+ edit_save_button: string;
6
26
  get_started_cta: string;
27
+ income_description: string;
28
+ income_title: string;
7
29
  left_in_budgets: string;
8
30
  overspent_in_budgets: string;
31
+ overview_title: string;
32
+ projected_income: string;
33
+ recalculate_button: string;
34
+ recalculate_description_bottom: string;
35
+ recalculate_description_top: string;
36
+ recalculate_help: string;
37
+ recalculate_new_budget: string;
38
+ recalculate_previous_budget: string;
39
+ recalculate_title: string;
40
+ remaining: string;
41
+ spending_description: string;
42
+ spending_title: string;
9
43
  zero_state_description: string;
10
44
  zero_state_title: string;
45
+ zero_state_no_sub_budgets: string;
46
+ zero_state_no_sub_budgets_description: string;
11
47
  }
@@ -1,3 +1,6 @@
1
- import { Category, CategoryTotal, DateRangeCategoryTotals } from '../types';
1
+ import { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory } from '../types';
2
2
  export declare const getCategory: (categories: Category[], categoryGuid: string | undefined) => Category | undefined;
3
+ export declare const getDetailedCategory: (detailedCategories: DetailedCategory[], guid: string | undefined) => DetailedCategory | undefined;
4
+ export declare const getDetailedSubCategory: (detailedCategories: DetailedCategory[], guid: string | undefined) => DetailedCategory | undefined;
3
5
  export declare const getCategoryTotalsByParent: (categories: Category[], dateRangeTotals: DateRangeCategoryTotals[]) => CategoryTotal[];
6
+ export declare const isIncome: (categories: Category[], guid: string) => boolean;
@@ -7,3 +7,4 @@ export declare const getNextBiQuarterlyDate: (date: Date) => Date;
7
7
  export declare const getNextYearlyDate: (date: Date) => Date;
8
8
  export declare const fromUnixUTC: (utcTime: number) => Date;
9
9
  export declare const fromUnixToDayOfWeekAndDate: (date: number) => string;
10
+ export declare const fromTimestampToMonthYear: (timestamp?: number) => string;
@@ -1,5 +1,6 @@
1
1
  export { analyticsSession } from './Analytics';
2
- export { getCategory, getCategoryTotalsByParent } from './Categories';
2
+ export { getCategory, getDetailedCategory, getDetailedSubCategory, getCategoryTotalsByParent, isIncome, } from './Categories';
3
3
  export { Fetch } from './Fetch';
4
4
  export { buildDynamicCopy, buildPluralCopy, getLocale } from './Localization';
5
5
  export { formatCurrency, formatOrdinal, formatPercentage, getCurrencyCodes, isValidNumber, } from './NumberFormatting';
6
+ export { fromTimestampToMonthYear } from './DateUtil';
@@ -0,0 +1,5 @@
1
+ declare function DebtsWidget(): import("react/jsx-runtime").JSX.Element;
2
+ declare const _default: typeof DebtsWidget & {
3
+ displayName: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as DebtsWidget } from './DebtsWidget';
2
+ export { DebtsStore } from './store/DebtsStore';
@@ -0,0 +1,6 @@
1
+ import { GlobalStore, Debt } from '../../common';
2
+ export declare class DebtsStore {
3
+ globalStore: GlobalStore;
4
+ constructor(globalStore: GlobalStore);
5
+ get debts(): Debt[];
6
+ }
@@ -0,0 +1,5 @@
1
+ import { Account, Debt, Goal } from '../../common';
2
+ declare function loadDebts(accounts: Account[], goals: Goal[]): Debt[];
3
+ declare function createDebt(account: Account, goal?: Goal): Debt;
4
+ declare function isImpossible(goal: Goal): boolean;
5
+ export { createDebt, isImpossible, loadDebts };
@@ -1 +1,2 @@
1
1
  export { default as GoalsWidget } from './components/GoalsWidget';
2
+ export { GoalStore } from './stores/GoalStore';
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './cashflow';
4
4
  export * from './categories';
5
5
  export * from './common';
6
6
  export * from './dashboard';
7
+ export * from './debts';
7
8
  export * from './goals';
8
9
  export * from './insights';
9
10
  export * from './merchants';