@mx-cartographer/experiences 3.11.0 → 3.12.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.
- package/CHANGELOG.md +7 -0
- package/dist/accounts/api/AccountApi.d.ts +1 -0
- package/dist/budgets/api/BudgetsApi.d.ts +6 -2
- package/dist/budgets/components/BubbleBudgets.d.ts +3 -3
- package/dist/budgets/components/BudgetDetails.d.ts +1 -1
- package/dist/budgets/store/BudgetsStore.d.ts +16 -6
- package/dist/budgets/utils/{Budget.d.ts → BudgetUtil.d.ts} +2 -3
- package/dist/common/stores/GlobalStore.d.ts +2 -0
- package/dist/common/types/Account.d.ts +12 -0
- package/dist/common/types/Category.d.ts +6 -0
- package/dist/common/types/Date.d.ts +4 -0
- package/dist/common/types/index.d.ts +4 -4
- package/dist/common/utils/Categories.d.ts +3 -2
- package/dist/common/utils/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +4386 -4155
- package/dist/index.es.js.map +1 -1
- package/dist/insights/beats/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +1 -1
- package/dist/insights/beats/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +1 -1
- package/dist/insights/components/PulseIcon.d.ts +10 -0
- package/dist/insights/components/PulseSubHeader.d.ts +12 -0
- package/dist/insights/components/index.d.ts +2 -0
- package/dist/networth/components/NetWorthList.d.ts +8 -0
- package/dist/networth/index.d.ts +2 -0
- package/dist/networth/stores/NetWorthStore.d.ts +10 -0
- package/dist/networth/types/NetWorth.d.ts +19 -0
- package/dist/networth/utils/NetWorthUtils.d.ts +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.12.0] - 10-25-2024
|
|
2
|
+
|
|
3
|
+
- **ADDED** - PulseIcon
|
|
4
|
+
- **ADDED** - PulseSubHeader
|
|
5
|
+
- **UPDATED** - SetUpDirectDeposit made isDarkMode optional
|
|
6
|
+
- **UPDATED** - SwitchDirectDeposit made isDarkMode optional
|
|
7
|
+
|
|
1
8
|
## [3.11.0] - 10-25-2024
|
|
2
9
|
|
|
3
10
|
- **ADDED** - MonthlyEmergencyFundReview BeatBody
|
|
@@ -8,6 +8,7 @@ export declare class AccountApi {
|
|
|
8
8
|
getAccounts: () => Promise<any>;
|
|
9
9
|
getInstitutions: () => Promise<any>;
|
|
10
10
|
getMembers: () => Promise<any>;
|
|
11
|
+
getMonthlyAccountBalances: (guid: string) => Promise<any>;
|
|
11
12
|
mergeAccounts: (accountGuids: string[]) => Promise<any>;
|
|
12
13
|
refreshAllMembers: () => Promise<any>;
|
|
13
14
|
updateAccount: (account: Account) => Promise<any>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import { Fetch } from '../../common';
|
|
1
|
+
import { Budget, Fetch } from '../../common';
|
|
2
2
|
export declare class BudgetsApi {
|
|
3
3
|
fetchInstance: Fetch;
|
|
4
4
|
constructor(endpoint: string, token: string);
|
|
5
|
-
|
|
5
|
+
addBudget: (budget: Budget) => Promise<any>;
|
|
6
|
+
deleteBudget: (guid: string) => Promise<any>;
|
|
7
|
+
generateBudgets: () => Promise<any>;
|
|
8
|
+
getBudgets: () => Promise<any>;
|
|
9
|
+
updateBudget: (budget: Budget) => Promise<any>;
|
|
6
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DetailedBudget } from '../../common
|
|
2
|
+
import { DetailedBudget } from '../../common';
|
|
3
3
|
interface BubbleBudgetsProps {
|
|
4
4
|
isDraggable?: boolean;
|
|
5
5
|
onClick?: (budget: DetailedBudget) => void;
|
|
@@ -7,5 +7,5 @@ interface BubbleBudgetsProps {
|
|
|
7
7
|
unavailableHeight?: number;
|
|
8
8
|
unavailableWidth?: number;
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
11
|
-
export
|
|
10
|
+
export declare const BubbleBudgets: React.FC<BubbleBudgetsProps>;
|
|
11
|
+
export {};
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
import { Budget, BudgetsCopy, GlobalStore } from '../../common';
|
|
2
|
-
import { BudgetsApi } from '../api/BudgetsApi';
|
|
3
|
-
import { DetailedBudget } from '../../common/types/Budget';
|
|
4
1
|
import { Theme } from '@mui/system';
|
|
2
|
+
import { Account, Budget, CategoryTotal, DateRange, DetailedBudget, CategoryApi, GlobalStore } from '../../common';
|
|
3
|
+
import { BudgetsApi } from '../api/BudgetsApi';
|
|
5
4
|
export declare class BudgetsStore {
|
|
6
5
|
api: BudgetsApi;
|
|
6
|
+
categoryApi: CategoryApi;
|
|
7
7
|
globalStore: GlobalStore;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
dateRange: DateRange;
|
|
9
|
+
budgets: Budget[];
|
|
10
|
+
categoryTotals: CategoryTotal[];
|
|
11
|
+
theme: Theme;
|
|
10
12
|
constructor(globalStore: GlobalStore);
|
|
11
13
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
12
|
-
|
|
14
|
+
get detailedBudgets(): DetailedBudget[];
|
|
15
|
+
addBudget: (budget: Budget) => Promise<void>;
|
|
16
|
+
deleteBudget: (guid: string) => Promise<void>;
|
|
17
|
+
generateBudgets: () => Promise<void>;
|
|
18
|
+
loadBudgets: () => Promise<void>;
|
|
19
|
+
loadCategoryTotals: (accounts: Account[], dateRange: DateRange) => Promise<void>;
|
|
20
|
+
setDateRange: (dateRange: DateRange) => DateRange;
|
|
21
|
+
setTheme: (theme: Theme) => Theme;
|
|
22
|
+
updateBudget: (budget: Budget) => Promise<void>;
|
|
13
23
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@mui/system';
|
|
2
|
-
import { Budget, BudgetsCopy, Category } from '../../common';
|
|
3
|
-
import { BudgetColors, DetailedBudget } from '../../common/types/Budget';
|
|
2
|
+
import { Budget, BudgetColors, BudgetsCopy, Category, CategoryTotal, DetailedBudget } from '../../common';
|
|
4
3
|
export declare const getBudgetPercentage: (budget: Budget) => number;
|
|
5
4
|
export declare const getBudgetColors: (budget: Budget, theme: Theme) => BudgetColors;
|
|
6
5
|
export declare const useGetBudgetDifference: () => number;
|
|
7
|
-
export declare const augmentBudgets: (budgets: Budget[], categories: Category[], copy: BudgetsCopy, theme: Theme) => DetailedBudget[];
|
|
6
|
+
export declare const augmentBudgets: (budgets: Budget[], categories: Category[], categoryTotals: CategoryTotal[], copy: BudgetsCopy, theme: Theme) => DetailedBudget[];
|
|
@@ -6,6 +6,7 @@ import { CategoryStore } from '../../categories';
|
|
|
6
6
|
import { ConnectStore } from './ConnectStore';
|
|
7
7
|
import { GlobalUiStore } from './GlobalUiStore';
|
|
8
8
|
import { MerchantStore } from '../../merchants';
|
|
9
|
+
import { NetWorthStore } from '../../networth';
|
|
9
10
|
import { NotificationStore } from '../../notifications';
|
|
10
11
|
import { RecurringActivityStore } from '../../recurringactivity';
|
|
11
12
|
import { TransactionStore } from '../../transactions';
|
|
@@ -20,6 +21,7 @@ export declare class GlobalStore {
|
|
|
20
21
|
connectStore: ConnectStore;
|
|
21
22
|
copyStore: GlobalCopyStore;
|
|
22
23
|
merchantStore: MerchantStore;
|
|
24
|
+
netWorthStore: NetWorthStore;
|
|
23
25
|
notificationStore: NotificationStore;
|
|
24
26
|
recurringActivityStore: RecurringActivityStore;
|
|
25
27
|
transactionStore: TransactionStore;
|
|
@@ -100,6 +100,18 @@ export interface Member {
|
|
|
100
100
|
successfully_aggregated_at?: number;
|
|
101
101
|
connectionStatus?: ConnectionStatus;
|
|
102
102
|
}
|
|
103
|
+
export interface MonthlyAccountBalance {
|
|
104
|
+
account_guid: string;
|
|
105
|
+
balance: number;
|
|
106
|
+
credit_transaction_total: number;
|
|
107
|
+
debit_transaction_total: number;
|
|
108
|
+
id: string;
|
|
109
|
+
month: number;
|
|
110
|
+
transaction_total: number;
|
|
111
|
+
user_guid: string;
|
|
112
|
+
year: number;
|
|
113
|
+
year_month: number;
|
|
114
|
+
}
|
|
103
115
|
export declare enum AccountType {
|
|
104
116
|
ANY = 0,
|
|
105
117
|
CHECKING = 1,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export type { Account, DetailedAccount, Member } from './Account';
|
|
1
|
+
export type { Account, DetailedAccount, Member, MonthlyAccountBalance } from './Account';
|
|
2
2
|
export { AccountIcon, AccountSubType, AccountType, AccountTypeName, ConnectionStatus, ConnectionStatusEnums, ErrorStatuses, MfaStatuses, NonConnectedStatuses, ProcessingStatuses, PropertyType, PropertyTypeName, StatusName, } from './Account';
|
|
3
3
|
export { type Activity, ActivityStatus, ActivityType } from './Activity';
|
|
4
4
|
export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview, AnalyticsSession, AnalyticEventFunction, AnalyticPageviewFunction, } from './Analytics';
|
|
5
5
|
export type { Beat, DataSeries } from './Beat';
|
|
6
6
|
export { UserVerification } from './Beat';
|
|
7
|
-
export type { Budget } from './Budget';
|
|
7
|
+
export type { Budget, BudgetColors, DetailedBudget } from './Budget';
|
|
8
8
|
export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
|
|
9
|
-
export type { Category, DateRangeCategoryTotals, MonthlyCategoryTotals } from './Category';
|
|
10
|
-
export type { DateType } from './Date';
|
|
9
|
+
export type { Category, CategoryTotal, DateRangeCategoryTotals, MonthlyCategoryTotals, } from './Category';
|
|
10
|
+
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';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { Category } from '../types';
|
|
2
|
-
export declare const getCategory: (categories: Category[], categoryGuid: string | undefined) =>
|
|
1
|
+
import { Category, CategoryTotal, DateRangeCategoryTotals } from '../types';
|
|
2
|
+
export declare const getCategory: (categories: Category[], categoryGuid: string | undefined) => Category | undefined;
|
|
3
|
+
export declare const getCategoryTotalsByParent: (categories: Category[], dateRangeTotals: DateRangeCategoryTotals[]) => CategoryTotal[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { analyticsSession } from './Analytics';
|
|
2
|
+
export { getCategory, getCategoryTotalsByParent } from './Categories';
|
|
2
3
|
export { Fetch } from './Fetch';
|
|
3
4
|
export { buildDynamicCopy, buildPluralCopy, getLocale } from './Localization';
|
|
4
5
|
export { formatCurrency, formatOrdinal, formatPercentage, getCurrencyCodes, isValidNumber, } from './NumberFormatting';
|
package/dist/index.d.ts
CHANGED