@mx-cartographer/experiences 6.24.11-alpha.al0 → 6.24.12-alpha.mega1
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/common/components/charts/LineChart.d.ts +5 -14
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +2 -7
- package/dist/common/types/Category.d.ts +0 -8
- package/dist/common/types/index.d.ts +1 -1
- package/dist/index.es.js +5938 -6255
- package/dist/index.es.js.map +1 -1
- package/dist/trends/TrendsWidget.d.ts +2 -5
- package/dist/trends/components/CategoriesList.d.ts +3 -7
- package/dist/trends/components/CategoriesListItem.d.ts +6 -3
- package/dist/trends/components/TrendsInsights.d.ts +1 -5
- package/dist/trends/mocks.d.ts +80 -0
- package/dist/trends/stores/TrendsStore.d.ts +8 -15
- package/package.json +1 -1
- package/dist/common/components/ListItemRow.d.ts +0 -13
- package/dist/common/components/charts/linechart/CustomArea.d.ts +0 -7
- package/dist/common/components/listitems/CollapseExpandListItem.d.ts +0 -7
- package/dist/trends/components/CategoryDetailChart.d.ts +0 -4
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- package/dist/trends/components/DateRangeText.d.ts +0 -9
- package/dist/trends/components/TransactionsList.d.ts +0 -7
- package/dist/trends/components/TrendsChartTotals.d.ts +0 -8
- package/dist/trends/components/TrendsViewToggle.d.ts +0 -7
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { WidgetProps
|
|
3
|
-
|
|
4
|
-
onInsightCardClick?: (beat?: Beat) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: React.FunctionComponent<TrendsWidgetProps>;
|
|
2
|
+
import { WidgetProps } from '../common';
|
|
3
|
+
declare const _default: React.FunctionComponent<WidgetProps>;
|
|
7
4
|
export default _default;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
onListItemClick: (data: CategoryListItem) => void;
|
|
5
|
-
transactions: Transaction[];
|
|
6
|
-
}
|
|
7
|
-
declare const CategoriesList: React.FC<CategoriesListProps>;
|
|
1
|
+
declare const CategoriesList: (() => import("react/jsx-runtime").JSX.Element) & {
|
|
2
|
+
displayName: string;
|
|
3
|
+
};
|
|
8
4
|
export default CategoriesList;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
interface CategoriesListItemProps {
|
|
3
|
+
categoryGuid?: string;
|
|
4
|
+
categoryName?: string;
|
|
5
|
+
categoryTotal?: string;
|
|
6
|
+
onClick: () => void;
|
|
7
|
+
transactionCount?: number;
|
|
5
8
|
}
|
|
6
9
|
declare const CategoriesListItem: React.FC<CategoriesListItemProps>;
|
|
7
10
|
export default CategoriesListItem;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
interface TrendsMicroInsightsProps {
|
|
4
|
-
onInsightCardClick?: (beat?: Beat) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: React.FunctionComponent<TrendsMicroInsightsProps>;
|
|
2
|
+
declare const _default: React.FunctionComponent<{}>;
|
|
7
3
|
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare const mockStackedDatasetsSequential: {
|
|
2
|
+
top_level_category_guid: string;
|
|
3
|
+
category_guid: string;
|
|
4
|
+
category_name: string;
|
|
5
|
+
category_color: string;
|
|
6
|
+
dataset: {
|
|
7
|
+
x: Date;
|
|
8
|
+
y: number;
|
|
9
|
+
}[];
|
|
10
|
+
}[];
|
|
11
|
+
export declare const mockStackedDatasetsVarying: {
|
|
12
|
+
top_level_category_guid: string;
|
|
13
|
+
category_guid: string;
|
|
14
|
+
category_name: string;
|
|
15
|
+
category_color: string;
|
|
16
|
+
dataset: {
|
|
17
|
+
x: Date;
|
|
18
|
+
y: number;
|
|
19
|
+
}[];
|
|
20
|
+
}[];
|
|
21
|
+
export declare const mockStackedDatasetsOverlapping: {
|
|
22
|
+
top_level_category_guid: string;
|
|
23
|
+
category_guid: string;
|
|
24
|
+
category_name: string;
|
|
25
|
+
category_color: string;
|
|
26
|
+
dataset: {
|
|
27
|
+
x: Date;
|
|
28
|
+
y: number;
|
|
29
|
+
}[];
|
|
30
|
+
}[];
|
|
31
|
+
export declare const mockStackedDatasetsRepeatValues: {
|
|
32
|
+
top_level_category_guid: string;
|
|
33
|
+
category_guid: string;
|
|
34
|
+
category_name: string;
|
|
35
|
+
category_color: string;
|
|
36
|
+
dataset: {
|
|
37
|
+
x: Date;
|
|
38
|
+
y: number;
|
|
39
|
+
}[];
|
|
40
|
+
}[];
|
|
41
|
+
export declare const mockUnstackedDatasetsSequential: {
|
|
42
|
+
top_level_category_guid: string;
|
|
43
|
+
category_guid: string;
|
|
44
|
+
category_name: string;
|
|
45
|
+
category_color: string;
|
|
46
|
+
dataset: {
|
|
47
|
+
x: Date;
|
|
48
|
+
y: number;
|
|
49
|
+
}[];
|
|
50
|
+
}[];
|
|
51
|
+
export declare const mockUnstackedDatasetsVarying: {
|
|
52
|
+
top_level_category_guid: string;
|
|
53
|
+
category_guid: string;
|
|
54
|
+
category_name: string;
|
|
55
|
+
category_color: string;
|
|
56
|
+
dataset: {
|
|
57
|
+
x: Date;
|
|
58
|
+
y: number;
|
|
59
|
+
}[];
|
|
60
|
+
}[];
|
|
61
|
+
export declare const mockUnstackedDatasetsOverlapping: {
|
|
62
|
+
top_level_category_guid: string;
|
|
63
|
+
category_guid: string;
|
|
64
|
+
category_name: string;
|
|
65
|
+
category_color: string;
|
|
66
|
+
dataset: {
|
|
67
|
+
x: Date;
|
|
68
|
+
y: number;
|
|
69
|
+
}[];
|
|
70
|
+
}[];
|
|
71
|
+
export declare const mockUnstackedDatasetsRepeatValues: {
|
|
72
|
+
top_level_category_guid: string;
|
|
73
|
+
category_guid: string;
|
|
74
|
+
category_name: string;
|
|
75
|
+
category_color: string;
|
|
76
|
+
dataset: {
|
|
77
|
+
x: Date;
|
|
78
|
+
y: number;
|
|
79
|
+
}[];
|
|
80
|
+
}[];
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DetailedCategory, GlobalStore } from '../../common';
|
|
2
2
|
export declare class TrendsStore {
|
|
3
3
|
globalStore: GlobalStore;
|
|
4
|
-
selectedCategoryData: CategoryListItem | null;
|
|
5
|
-
selectedDateRange: DateRange;
|
|
6
4
|
constructor(globalStore: GlobalStore);
|
|
7
|
-
|
|
8
|
-
setSelectedDateRange: (dateRange: DateRange) => void;
|
|
9
|
-
sortCategoriesList: () => {
|
|
5
|
+
sortByTotalDescending: () => {
|
|
10
6
|
guid: string;
|
|
11
7
|
name: string;
|
|
12
|
-
|
|
8
|
+
totalAmount: number;
|
|
13
9
|
}[];
|
|
14
10
|
get detailedCategories(): DetailedCategory[];
|
|
15
|
-
get
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
x: string;
|
|
21
|
-
y: number;
|
|
22
|
-
}>>;
|
|
11
|
+
get sortedCategoriesList(): {
|
|
12
|
+
guid: string;
|
|
13
|
+
name: string;
|
|
14
|
+
totalAmount: number;
|
|
15
|
+
}[];
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface ListItemRowProps {
|
|
3
|
-
onClick?: () => void;
|
|
4
|
-
leftIcon?: React.ReactNode;
|
|
5
|
-
rightIcon?: React.ReactNode;
|
|
6
|
-
title?: string;
|
|
7
|
-
subtitle?: string;
|
|
8
|
-
rightContent?: React.ReactNode;
|
|
9
|
-
titleBold?: boolean;
|
|
10
|
-
rightContentBold?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const ListItemRow: React.FC<ListItemRowProps>;
|
|
13
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface DateRangeTextProps {
|
|
2
|
-
selectedDateRange: {
|
|
3
|
-
start: Date;
|
|
4
|
-
end: Date;
|
|
5
|
-
};
|
|
6
|
-
selectedCategoryGuid: string;
|
|
7
|
-
}
|
|
8
|
-
declare const DateRangeText: ({ selectedDateRange, selectedCategoryGuid }: DateRangeTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default DateRangeText;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { DateRange, MonthlyCategoryTotals } from '../../common';
|
|
3
|
-
interface TrendsChartTotalsProps {
|
|
4
|
-
selectedDateRange: DateRange;
|
|
5
|
-
totals: MonthlyCategoryTotals[];
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.FunctionComponent<TrendsChartTotalsProps>;
|
|
8
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type TrendsTabValue = 'Chart' | 'Table';
|
|
2
|
-
interface TrendsViewToggleProps {
|
|
3
|
-
selectedTab: TrendsTabValue;
|
|
4
|
-
onTabChange: (_event: React.SyntheticEvent, newValue: TrendsTabValue) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const TrendsViewToggle: React.FC<TrendsViewToggleProps>;
|
|
7
|
-
export default TrendsViewToggle;
|