@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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material/styles';
|
|
3
|
+
interface PulseIconProps {
|
|
4
|
+
isDarkMode: boolean;
|
|
5
|
+
name: string;
|
|
6
|
+
size: number;
|
|
7
|
+
sx?: SxProps;
|
|
8
|
+
}
|
|
9
|
+
export declare const PulseIcon: React.FC<PulseIconProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material/styles';
|
|
3
|
+
interface PulseHeaderProps {
|
|
4
|
+
iconSX?: SxProps;
|
|
5
|
+
isDarkMode?: boolean;
|
|
6
|
+
name?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
subHeaderString: string;
|
|
9
|
+
textSX?: SxProps;
|
|
10
|
+
}
|
|
11
|
+
export declare const PulseSubHeader: React.FC<PulseHeaderProps>;
|
|
12
|
+
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { DirectDeposit } from './DirectDeposit/DirectDeposit';
|
|
2
2
|
export { PulseGoalProgress } from './PulseGoalProgress';
|
|
3
3
|
export { PulseGraidentBox } from './PulseGradientBox';
|
|
4
|
+
export { PulseIcon } from './PulseIcon';
|
|
5
|
+
export { PulseSubHeader } from './PulseSubHeader';
|
|
4
6
|
export { PulseProgressBar } from './PulseProgressBar';
|
|
5
7
|
export { PulseTextComponent } from './PulseTextComponent';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { NetWorth } from '../types/NetWorth';
|
|
3
|
+
interface NetWorthListProps {
|
|
4
|
+
chartData: NetWorth[];
|
|
5
|
+
selectedData: NetWorth;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: React.FunctionComponent<NetWorthListProps>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GlobalStore } from '../../common';
|
|
2
|
+
import { NetWorth, NetWorthData } from '../types/NetWorth';
|
|
3
|
+
export declare class NetWorthStore {
|
|
4
|
+
globalStore: GlobalStore;
|
|
5
|
+
netWorthData: NetWorthData;
|
|
6
|
+
netWorthChartData: NetWorth[];
|
|
7
|
+
constructor(globalStore: GlobalStore);
|
|
8
|
+
loadNetWorthData: () => Promise<void>;
|
|
9
|
+
loadChartData: (numberOfMonths: number) => Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Account, MonthlyAccountBalance } from '../../common';
|
|
2
|
+
export type MonthlyAccountSummary = {
|
|
3
|
+
balance: number;
|
|
4
|
+
change: number;
|
|
5
|
+
guid: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: number;
|
|
8
|
+
value: number;
|
|
9
|
+
};
|
|
10
|
+
export type NetWorth = {
|
|
11
|
+
accounts: MonthlyAccountSummary[];
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
change: number;
|
|
15
|
+
};
|
|
16
|
+
export type NetWorthData = {
|
|
17
|
+
accounts: Account[];
|
|
18
|
+
monthlyAccountBalances: MonthlyAccountBalance[];
|
|
19
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Account, Member, MonthlyAccountBalance } from '../../common/types';
|
|
2
|
+
export declare const filterAccounts: (accounts: Account[], members: Member[]) => Account[];
|
|
3
|
+
export declare const flattenBalances: (balances: any, balance: any) => any[];
|
|
4
|
+
export declare const sortByYearMonthAscending: (a: MonthlyAccountBalance, b: MonthlyAccountBalance) => number;
|
|
5
|
+
export declare const getCurrentMonth: () => string;
|
|
6
|
+
export declare const buildChartData: (accounts: Account[], monthlyAccountBalances: MonthlyAccountBalance[], numberOfMonths: number) => any;
|