@mx-cartographer/experiences 3.16.4 → 3.16.6
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.
- package/CHANGELOG.md +8 -0
- package/dist/budgets/components/AddBudgets.d.ts +5 -1
- package/dist/budgets/components/addbudget/RecalculateBudgets.d.ts +5 -1
- package/dist/budgets/store/BudgetsStore.d.ts +5 -0
- package/dist/common/constants/Analytics.d.ts +4 -0
- package/dist/common/types/GlobalCopy.d.ts +3 -1
- package/dist/common/types/index.d.ts +1 -0
- package/dist/common/types/localization/BudgetsCopy.d.ts +1 -0
- package/dist/common/types/localization/GoalsCopy.d.ts +20 -0
- package/dist/common/types/localization/NetWorthCopy.d.ts +14 -0
- package/dist/common/types/localization/index.d.ts +2 -0
- package/dist/goals/components/GoalList.d.ts +9 -0
- package/dist/goals/components/GoalStatusCard.d.ts +8 -0
- package/dist/goals/stores/GoalStore.d.ts +4 -1
- package/dist/goals/util/GoalsUtil.d.ts +8 -0
- package/dist/index.es.js +5067 -5012
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
- package/dist/goals/components/DebtGoals.d.ts +0 -1
- package/dist/goals/components/RetirementGoals.d.ts +0 -1
- package/dist/goals/components/SavingGoals.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [3.16.6] - 12-10-2024
|
|
2
|
+
|
|
3
|
+
- **FIXED** - Recalculate budgets to close all drawers and post alert when complete
|
|
4
|
+
|
|
5
|
+
## [3.16.5] - 12-09-2024
|
|
6
|
+
|
|
7
|
+
- **FIXED** - Border around Overview and List in Bubble Budgets
|
|
8
|
+
|
|
1
9
|
## [3.16.4] - 12-09-2024
|
|
2
10
|
|
|
3
11
|
- **REMOVED** - Mobx from Insights SettingsDrawer
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
interface AddBudgetsProps {
|
|
2
|
+
onRecalculateBudgets?: () => void;
|
|
3
|
+
}
|
|
4
|
+
export declare const AddBudgets: (({ onRecalculateBudgets }: AddBudgetsProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
2
5
|
displayName: string;
|
|
3
6
|
};
|
|
7
|
+
export {};
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
interface RecalculateBudgetsProps {
|
|
2
|
+
onRecalculateBudgets?: () => void;
|
|
3
|
+
}
|
|
4
|
+
export declare const RecalculateBudgets: ({ onRecalculateBudgets }: RecalculateBudgetsProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export {};
|
|
@@ -22,5 +22,10 @@ export declare class BudgetsStore {
|
|
|
22
22
|
setSelectedBudget: (budget: DetailedBudget | undefined) => DetailedBudget | undefined;
|
|
23
23
|
setSelectedSubBudget: (budget: DetailedBudget | undefined) => DetailedBudget | undefined;
|
|
24
24
|
setTheme: (theme: Theme) => Theme;
|
|
25
|
+
/**
|
|
26
|
+
* Recalculate budget by using the average amount from top-level categories
|
|
27
|
+
* @param categories Detailed categories
|
|
28
|
+
*/
|
|
29
|
+
recalculateBudgets: (categories: DetailedCategory[]) => Promise<void>;
|
|
25
30
|
updateBudget: (budget: Budget) => Promise<void>;
|
|
26
31
|
}
|
|
@@ -19,6 +19,10 @@ export declare const ANALYTICS_EVENTS: {
|
|
|
19
19
|
GOALS_VIEW: string;
|
|
20
20
|
GOALS_CLICK_FILTER: string;
|
|
21
21
|
GOALS_CLICK_ADD: string;
|
|
22
|
+
NET_WORTH_VIEW: string;
|
|
23
|
+
NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES: string;
|
|
24
|
+
NET_WORTH_WIDGET_CLICK_FILTER: string;
|
|
25
|
+
NET_WORTH_WIDGET_CLICK_TIMEFRAME: string;
|
|
22
26
|
RECURRING_ACTIVITY_CLICK_SETTINGS: string;
|
|
23
27
|
RECURRING_ACTIVITY_CLICK_FILTER: string;
|
|
24
28
|
RECURRING_ACTIVITY_CLICK_UPCOMING: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, InsightsFeedCopy, MicroInsightsCopy, NotificationsCopy, RecurringCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
|
|
1
|
+
import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, GoalsCopy, InsightsFeedCopy, MicroInsightsCopy, NetWorthCopy, NotificationsCopy, RecurringCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
|
|
2
2
|
export interface GlobalCopy {
|
|
3
3
|
accounts: AccountsCopy;
|
|
4
4
|
budgets: BudgetsCopy;
|
|
@@ -6,8 +6,10 @@ export interface GlobalCopy {
|
|
|
6
6
|
categories: CategoryCopy;
|
|
7
7
|
common: CommonCopy;
|
|
8
8
|
connect: ConnectCopy;
|
|
9
|
+
goals: GoalsCopy;
|
|
9
10
|
insights_feed: InsightsFeedCopy;
|
|
10
11
|
micro_insights: MicroInsightsCopy;
|
|
12
|
+
net_worth: NetWorthCopy;
|
|
11
13
|
notifications: NotificationsCopy;
|
|
12
14
|
recurring: RecurringCopy;
|
|
13
15
|
spending: SpendingCopy;
|
|
@@ -11,6 +11,7 @@ export type { DateType, DateRange } from './Date';
|
|
|
11
11
|
export type { Expense } from './Expense';
|
|
12
12
|
export { ExpenseStatus, ScheduledPaymentTypes } from './Expense';
|
|
13
13
|
export type { DynamicCopyElement, GlobalCopy } from './GlobalCopy';
|
|
14
|
+
export { TrackType } from './Goal';
|
|
14
15
|
export type { Goal } from './Goal';
|
|
15
16
|
export type { Debt } from './Debt';
|
|
16
17
|
export type { Institution } from './Institution';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface GoalsCopy {
|
|
2
|
+
add_title: string;
|
|
3
|
+
complete_title: string;
|
|
4
|
+
complete_label: string;
|
|
5
|
+
goal_percentage: string;
|
|
6
|
+
goal_projection: string;
|
|
7
|
+
ongoing_title: string;
|
|
8
|
+
projected_label: string;
|
|
9
|
+
manage_debt_goals: string;
|
|
10
|
+
manage_retirement_goals: string;
|
|
11
|
+
manage_saving_goals: string;
|
|
12
|
+
tab_debt_title: string;
|
|
13
|
+
tab_retirement_title: string;
|
|
14
|
+
tab_saving_title: string;
|
|
15
|
+
tab_subtitle: string;
|
|
16
|
+
tab_subtitle_mobile: string;
|
|
17
|
+
title: string;
|
|
18
|
+
zero_state_complete_debt: string;
|
|
19
|
+
zero_state_complete_savings: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface NetWorthCopy {
|
|
2
|
+
assets: string;
|
|
3
|
+
assets_and_liabilities: string;
|
|
4
|
+
current_net_worth: string;
|
|
5
|
+
gains: string;
|
|
6
|
+
gains_and_losses: string;
|
|
7
|
+
liabilities: string;
|
|
8
|
+
losses: string;
|
|
9
|
+
monthly_totals: string;
|
|
10
|
+
net_worth: string;
|
|
11
|
+
this_month: string;
|
|
12
|
+
total_change: string;
|
|
13
|
+
view_assets_and_liabilities: string;
|
|
14
|
+
}
|
|
@@ -8,8 +8,10 @@ export type { CommonCopy } from './CommonCopy';
|
|
|
8
8
|
export type { ConnectCopy } from './ConnectCopy';
|
|
9
9
|
export type { CurrencyInputCopy } from './CurrencyInputCopy';
|
|
10
10
|
export type { DateRangePickerCopy } from './DateRangePickerCopy';
|
|
11
|
+
export type { GoalsCopy } from './GoalsCopy';
|
|
11
12
|
export type { InsightsFeedCopy } from './InsightsFeedCopy';
|
|
12
13
|
export type { MicroInsightsCopy } from './MicroInsightsCopy';
|
|
14
|
+
export type { NetWorthCopy } from './NetWorthCopy';
|
|
13
15
|
export type { NotificationsCopy } from './NotificationsCopy';
|
|
14
16
|
export type { RecurringCopy } from './RecurringCopy';
|
|
15
17
|
export type { SpendingCopy } from './SpendingCopy';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TrackType } from '../../common';
|
|
2
|
+
interface GoalListProps {
|
|
3
|
+
trackType: TrackType;
|
|
4
|
+
onManageClick: (trackType: TrackType) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const GoalList: (({ onManageClick, trackType }: GoalListProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { GoalApi } from '../api/GoalApi';
|
|
2
|
-
import {
|
|
2
|
+
import { Goal, GlobalStore } from '../../common';
|
|
3
3
|
export declare class GoalStore {
|
|
4
4
|
api: GoalApi;
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
goals: Goal[];
|
|
7
7
|
constructor(globalStore: GlobalStore);
|
|
8
8
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
9
|
+
get debtGoals(): Goal[];
|
|
10
|
+
get retirementGoals(): Goal[];
|
|
11
|
+
get savingsGoals(): Goal[];
|
|
9
12
|
loadGoals: () => Promise<void>;
|
|
10
13
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Goal, GoalsCopy } from '../../common';
|
|
2
|
+
export interface GoalStatusData {
|
|
3
|
+
color: string;
|
|
4
|
+
percentage: number;
|
|
5
|
+
percentageText: string;
|
|
6
|
+
projectedText: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function getGoalStatusData(copy: GoalsCopy, goal: Goal): GoalStatusData;
|