@mx-cartographer/experiences 6.25.3-alpha.al3 → 6.25.4
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 -3
- package/dist/common/components/charts/LineChart.d.ts +2 -0
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +4 -2
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -0
- package/dist/common/types/Category.d.ts +7 -2
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +20 -1
- package/dist/index.es.js +5729 -5714
- package/dist/index.es.js.map +1 -1
- package/dist/trends/components/CategoriesList.d.ts +3 -2
- package/dist/trends/components/CategoriesListItem.d.ts +2 -2
- package/dist/trends/components/CategoryDetailChart.d.ts +1 -4
- package/dist/trends/stores/TrendsStore.d.ts +12 -8
- package/dist/trends/utils/TrendsData.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { CategoryListItem, Transaction } from '../../common';
|
|
3
3
|
interface CategoriesListProps {
|
|
4
|
-
|
|
4
|
+
onListItemClick: (data: CategoryListItem) => void;
|
|
5
|
+
transactions: Transaction[];
|
|
5
6
|
}
|
|
6
7
|
declare const CategoriesList: React.FC<CategoriesListProps>;
|
|
7
8
|
export default CategoriesList;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
interface CategoriesListItemProps extends
|
|
2
|
+
import { CategoryListItem } from '../../common';
|
|
3
|
+
interface CategoriesListItemProps extends CategoryListItem {
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
}
|
|
6
6
|
declare const CategoriesListItem: React.FC<CategoriesListItemProps>;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
chartLabel: string;
|
|
3
|
-
}
|
|
4
|
-
declare const CategoryDetailChart: (({ chartLabel }: CategoryDetailChartProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
1
|
+
declare const CategoryDetailChart: (() => import("react/jsx-runtime").JSX.Element) & {
|
|
5
2
|
displayName: string;
|
|
6
3
|
};
|
|
7
4
|
export default CategoryDetailChart;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { DateRange,
|
|
1
|
+
import { CategoryListItem, DateRange, DetailedCategory, GlobalStore } from '../../common';
|
|
2
2
|
export declare class TrendsStore {
|
|
3
3
|
globalStore: GlobalStore;
|
|
4
|
-
selectedCategoryData:
|
|
4
|
+
selectedCategoryData: CategoryListItem | null;
|
|
5
5
|
selectedDateRange: DateRange;
|
|
6
|
-
detailedCategoriesWithTransactions: DetailedCategoryWithTransactions[];
|
|
7
6
|
constructor(globalStore: GlobalStore);
|
|
8
|
-
setSelectedCategoryData: (category:
|
|
7
|
+
setSelectedCategoryData: (category: CategoryListItem | null) => void;
|
|
9
8
|
setSelectedDateRange: (dateRange: DateRange) => void;
|
|
10
|
-
|
|
9
|
+
sortCategoriesList: () => {
|
|
10
|
+
guid: string;
|
|
11
|
+
name: string;
|
|
12
|
+
amount: number;
|
|
13
|
+
}[];
|
|
14
|
+
get detailedCategories(): DetailedCategory[];
|
|
11
15
|
get selectedDateRangeMonthRange(): string;
|
|
12
|
-
get
|
|
13
|
-
get
|
|
14
|
-
get
|
|
16
|
+
get sortedCategoriesList(): CategoryListItem[];
|
|
17
|
+
get visibleListItems(): CategoryListItem[];
|
|
18
|
+
get collapsedListItems(): CategoryListItem[];
|
|
15
19
|
get categoryDetailsChartData(): Array<Array<{
|
|
16
20
|
x: string;
|
|
17
21
|
y: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridComparatorFn } from '@mui/x-data-grid-pro';
|
|
2
|
-
import {
|
|
2
|
+
import { MonthlyCategoryTotals } from '../../common';
|
|
3
3
|
type DataPoint = {
|
|
4
4
|
x: Date;
|
|
5
5
|
y: number;
|
|
@@ -14,5 +14,4 @@ export interface StackedLineChartData {
|
|
|
14
14
|
}
|
|
15
15
|
export declare const getStackedLineChartData: (totals: MonthlyCategoryTotals[], start: Date, end: Date) => StackedLineChartData[];
|
|
16
16
|
export declare const amountComparator: GridComparatorFn<string | number>;
|
|
17
|
-
export declare const augmentCategoriesWithTransactions: (detailedCategories: DetailedCategory[], transactions: Transaction[]) => DetailedCategoryWithTransactions[];
|
|
18
17
|
export {};
|