@mx-cartographer/experiences 3.16.1-alpha.JB4 → 3.16.1-alpha.bb1
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 +0 -4
- package/dist/budgets/components/BubbleChart.d.ts +1 -0
- package/dist/budgets/store/BudgetsStore.d.ts +1 -4
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -1
- package/dist/index.es.js +3231 -3301
- package/dist/index.es.js.map +1 -1
- package/dist/insights/settings/SettingsDrawer.d.ts +1 -0
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawerWrapper.d.ts +1 -0
- package/dist/insights/settings/manageaccounts/components/ManageAccountsDrawer.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { SimulationNodeDatum } from 'd3-force';
|
|
3
3
|
import { DetailedBudget } from '../../common';
|
|
4
4
|
export interface BubbleData extends SimulationNodeDatum {
|
|
5
|
+
budget: DetailedBudget;
|
|
5
6
|
budget_guid: string;
|
|
6
7
|
radius: number;
|
|
7
8
|
}
|
|
@@ -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
|
|
@@ -31,5 +30,6 @@ export declare const getScale: (min: number, max: number) => d3.ScaleLinear<numb
|
|
|
31
30
|
/**
|
|
32
31
|
* Simulates the chart
|
|
33
32
|
* @param data All Bubble data for the chart
|
|
33
|
+
* @param isDraggable
|
|
34
34
|
*/
|
|
35
|
-
export declare const simulate: (data: BubbleData[]) => d3.Simulation<
|
|
35
|
+
export declare const simulate: (data: BubbleData[], isDraggable: boolean) => d3.Simulation<BubbleData, undefined>;
|
|
@@ -16,7 +16,7 @@ interface WidgetContainerProps {
|
|
|
16
16
|
start: Date;
|
|
17
17
|
end: Date;
|
|
18
18
|
};
|
|
19
|
-
dateRangeVariant?: 'outlined' | 'text' | 'readonly' | 'timeframebuttons'
|
|
19
|
+
dateRangeVariant?: 'outlined' | 'text' | 'readonly' | 'timeframebuttons';
|
|
20
20
|
hasDivider?: boolean;
|
|
21
21
|
onBackClick?: () => void;
|
|
22
22
|
onAccountsFilterClick?: () => void;
|
|
@@ -22,7 +22,7 @@ export interface DateRangeSelectorProps {
|
|
|
22
22
|
range?: DateRange<Date>;
|
|
23
23
|
shouldShrinkToIcon?: boolean;
|
|
24
24
|
toolTipContent?: string;
|
|
25
|
-
variant?: 'outlined' | 'text' | 'readonly' | 'timeframebuttons'
|
|
25
|
+
variant?: 'outlined' | 'text' | 'readonly' | 'timeframebuttons';
|
|
26
26
|
}
|
|
27
27
|
export type Timeframe = {
|
|
28
28
|
label: string;
|