@mx-cartographer/experiences 3.16.2 → 3.16.4-alpha.JB0
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/BubbleChart.d.ts +1 -2
- package/dist/budgets/components/bubblechart/Bubble.d.ts +2 -3
- package/dist/budgets/components/bubblechart/Mercury.d.ts +1 -4
- package/dist/budgets/store/BudgetsStore.d.ts +1 -4
- package/dist/budgets/utils/BubblesSVG.d.ts +5 -7
- package/dist/categories/stores/CategoryStore.d.ts +1 -0
- package/dist/common/components/drawer/Drawer.d.ts +1 -0
- package/dist/common/constants/Analytics.d.ts +3 -0
- package/dist/goals/GoalsWidget.d.ts +4 -0
- package/dist/goals/components/DebtGoals.d.ts +1 -0
- package/dist/goals/components/RetirementGoals.d.ts +1 -0
- package/dist/goals/components/SavingGoals.d.ts +1 -0
- package/dist/goals/components/TabTitle.d.ts +6 -0
- package/dist/goals/index.d.ts +1 -1
- package/dist/index.es.js +5401 -5305
- package/dist/index.es.js.map +1 -1
- package/dist/insights/settings/SettingsDrawer.d.ts +2 -2
- package/dist/insights/settings/components/SettingsItem.d.ts +1 -1
- package/dist/networth/stores/NetWorthStore.d.ts +2 -2
- package/package.json +1 -1
- package/dist/goals/components/GoalsWidget.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [3.16.4] - 12-09-2024
|
|
2
|
+
|
|
3
|
+
- **REMOVED** - Mobx from Insights SettingsDrawer
|
|
4
|
+
|
|
5
|
+
## [3.16.3] - 12-06-2024
|
|
6
|
+
|
|
7
|
+
- **UPDATED** - Bubble logic to show loader until data is ready
|
|
8
|
+
|
|
1
9
|
## [3.16.2] - 12-04-2024
|
|
2
10
|
|
|
3
11
|
- **REMOVED** - Theme provider from settings drawer and accounts drawer
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SimulationNodeDatum } from 'd3-force';
|
|
3
3
|
import { DetailedBudget } from '../../common';
|
|
4
|
-
export interface BubbleData extends SimulationNodeDatum {
|
|
5
|
-
budget_guid: string;
|
|
4
|
+
export interface BubbleData extends DetailedBudget, SimulationNodeDatum {
|
|
6
5
|
radius: number;
|
|
7
6
|
}
|
|
8
7
|
interface BubbleChartProps {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BubbleData } from '../BubbleChart';
|
|
3
1
|
import { DetailedBudget } from '../../../common';
|
|
2
|
+
import { BubbleData } from '../BubbleChart';
|
|
4
3
|
interface BubbleProps {
|
|
5
4
|
bubble: BubbleData;
|
|
6
5
|
isDraggable: boolean;
|
|
7
6
|
onClick?: (budget: DetailedBudget) => void;
|
|
8
7
|
}
|
|
9
|
-
export declare
|
|
8
|
+
export declare function Bubble({ bubble, isDraggable, onClick }: BubbleProps): import("react/jsx-runtime").JSX.Element | undefined;
|
|
10
9
|
export {};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { BubbleData } from '../BubbleChart';
|
|
3
|
-
import { DetailedBudget } from '../../../common';
|
|
4
2
|
interface MercuryProps {
|
|
5
3
|
bubble: BubbleData;
|
|
6
|
-
budget: DetailedBudget;
|
|
7
4
|
}
|
|
8
|
-
export declare
|
|
5
|
+
export declare function Mercury({ bubble }: MercuryProps): import("react/jsx-runtime").JSX.Element;
|
|
9
6
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from '@mui/system';
|
|
2
|
-
import {
|
|
2
|
+
import { Budget, Category, DateRange, DetailedBudget, DetailedCategory, CategoryApi, GlobalStore } from '../../common';
|
|
3
3
|
import { BudgetsApi } from '../api/BudgetsApi';
|
|
4
4
|
export declare class BudgetsStore {
|
|
5
5
|
api: BudgetsApi;
|
|
@@ -7,7 +7,6 @@ export declare class BudgetsStore {
|
|
|
7
7
|
globalStore: GlobalStore;
|
|
8
8
|
dateRange: DateRange;
|
|
9
9
|
budgets: Budget[];
|
|
10
|
-
categoryTotals: CategoryTotal[];
|
|
11
10
|
selectedBudget: DetailedBudget | undefined;
|
|
12
11
|
selectedSubBudget: DetailedBudget | undefined;
|
|
13
12
|
theme: Theme;
|
|
@@ -18,9 +17,7 @@ export declare class BudgetsStore {
|
|
|
18
17
|
get totalBudgeted(): number;
|
|
19
18
|
addBudget: (category: Category, amount: number, parentGuid?: string | null) => Promise<void>;
|
|
20
19
|
deleteBudget: (guid: string) => Promise<void>;
|
|
21
|
-
generateBudgets: () => Promise<void>;
|
|
22
20
|
loadBudgets: () => Promise<void>;
|
|
23
|
-
loadCategoryTotals: (accounts: Account[], dateRange: DateRange) => Promise<void>;
|
|
24
21
|
setDateRange: (dateRange: DateRange) => DateRange;
|
|
25
22
|
setSelectedBudget: (budget: DetailedBudget | undefined) => DetailedBudget | undefined;
|
|
26
23
|
setSelectedSubBudget: (budget: DetailedBudget | undefined) => DetailedBudget | undefined;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Simulation } from 'd3';
|
|
2
|
-
import { SimulationNodeDatum } from 'd3-force';
|
|
3
2
|
import { BubbleData } from '../components/BubbleChart';
|
|
4
3
|
import { DetailedBudget } from '../../common';
|
|
5
4
|
import * as d3 from 'd3';
|
|
6
|
-
export type SimulationType = Simulation<
|
|
5
|
+
export type SimulationType = Simulation<BubbleData, undefined>;
|
|
7
6
|
/**
|
|
8
7
|
* Enables dragging of bubbles
|
|
9
8
|
* @param simulation D3 Simulation
|
|
@@ -11,10 +10,9 @@ export type SimulationType = Simulation<SimulationNodeDatum, undefined>;
|
|
|
11
10
|
export declare const drag: (simulation: SimulationType) => d3.DragBehavior<Element, unknown, unknown>;
|
|
12
11
|
/**
|
|
13
12
|
* Provide d values for the arc between the start and end radius based on time
|
|
14
|
-
* @param
|
|
15
|
-
* @param data Bubble data
|
|
13
|
+
* @param bubble Bubble data
|
|
16
14
|
*/
|
|
17
|
-
export declare const arcTween: (
|
|
15
|
+
export declare const arcTween: (bubble: BubbleData) => (t: number) => string;
|
|
18
16
|
/**
|
|
19
17
|
* Enable drag
|
|
20
18
|
* @param simulation D3 Simulation
|
|
@@ -30,6 +28,6 @@ export declare const resize: (simulation: SimulationType, height: number, width:
|
|
|
30
28
|
export declare const getScale: (min: number, max: number) => d3.ScaleLinear<number, number, never>;
|
|
31
29
|
/**
|
|
32
30
|
* Simulates the chart
|
|
33
|
-
* @param
|
|
31
|
+
* @param budgets Budget data
|
|
34
32
|
*/
|
|
35
|
-
export declare const simulate: (
|
|
33
|
+
export declare const simulate: (budgets: DetailedBudget[]) => d3.Simulation<BubbleData, undefined>;
|
|
@@ -18,6 +18,7 @@ export declare class CategoryStore {
|
|
|
18
18
|
loadCategories: () => Promise<void>;
|
|
19
19
|
loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
|
|
20
20
|
loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
|
|
21
|
+
reloadCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
|
|
21
22
|
removeCategory: (guid: string) => Promise<void>;
|
|
22
23
|
setIsLoadingCategoryTotals: (isLoading: boolean) => void;
|
|
23
24
|
updateCategory: (category: Category) => Promise<void>;
|
|
@@ -16,6 +16,9 @@ export declare const ANALYTICS_EVENTS: {
|
|
|
16
16
|
BUDGETS_VIEW: string;
|
|
17
17
|
CASH_FLOW_CLICK_SETTINGS: string;
|
|
18
18
|
CASH_FLOW_CLICK_FILTER: string;
|
|
19
|
+
GOALS_VIEW: string;
|
|
20
|
+
GOALS_CLICK_FILTER: string;
|
|
21
|
+
GOALS_CLICK_ADD: string;
|
|
19
22
|
RECURRING_ACTIVITY_CLICK_SETTINGS: string;
|
|
20
23
|
RECURRING_ACTIVITY_CLICK_FILTER: string;
|
|
21
24
|
RECURRING_ACTIVITY_CLICK_UPCOMING: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DebtGoals: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RetirementGoals: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SavingGoals: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/goals/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { GoalsWidget } from './GoalsWidget';
|
|
2
2
|
export { GoalStore } from './stores/GoalStore';
|