@mx-cartographer/experiences 6.25.4 → 6.25.6-alpha.al0
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 +9 -1
- package/dist/categories/util/CategoryUtil.d.ts +3 -2
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +3 -2
- package/dist/common/types/Category.d.ts +12 -8
- package/dist/common/types/index.d.ts +1 -1
- package/dist/index.es.js +4147 -4073
- package/dist/index.es.js.map +1 -1
- package/dist/trends/components/CategoriesList.d.ts +5 -5
- package/dist/trends/components/CategoriesListItem.d.ts +7 -4
- package/dist/trends/components/CategoryDetailChart.d.ts +5 -1
- package/dist/trends/stores/TrendsStore.d.ts +7 -12
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CategoryListItem, Transaction } from '../../common';
|
|
1
|
+
import { DetailedCategory } from '../../common';
|
|
3
2
|
interface CategoriesListProps {
|
|
4
|
-
|
|
5
|
-
transactions: Transaction[];
|
|
3
|
+
onCategoryClick: (data: DetailedCategory) => void;
|
|
6
4
|
}
|
|
7
|
-
declare const CategoriesList:
|
|
5
|
+
declare const CategoriesList: (({ onCategoryClick }: CategoriesListProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
8
|
export default CategoriesList;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
interface CategoriesListItemProps extends CategoryListItem {
|
|
1
|
+
import { DetailedCategory } from '../../common';
|
|
2
|
+
interface CategoriesListItemProps extends DetailedCategory {
|
|
4
3
|
onClick?: () => void;
|
|
4
|
+
isLastItem?: boolean;
|
|
5
|
+
showDivider?: boolean;
|
|
5
6
|
}
|
|
6
|
-
declare const CategoriesListItem:
|
|
7
|
+
declare const CategoriesListItem: (({ totalAmount, guid, name, transactions, onClick, isLastItem, showDivider, }: CategoriesListItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
7
10
|
export default CategoriesListItem;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
interface CategoryDetailChartProps {
|
|
2
|
+
chartColor: string;
|
|
3
|
+
chartLabel: string;
|
|
4
|
+
}
|
|
5
|
+
declare const CategoryDetailChart: (({ chartLabel, chartColor }: CategoryDetailChartProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
2
6
|
displayName: string;
|
|
3
7
|
};
|
|
4
8
|
export default CategoryDetailChart;
|
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DateRange, DetailedCategory, GlobalStore } from '../../common';
|
|
2
2
|
export declare class TrendsStore {
|
|
3
3
|
globalStore: GlobalStore;
|
|
4
|
-
selectedCategoryData:
|
|
4
|
+
selectedCategoryData: DetailedCategory | null;
|
|
5
5
|
selectedDateRange: DateRange;
|
|
6
6
|
constructor(globalStore: GlobalStore);
|
|
7
|
-
setSelectedCategoryData: (category:
|
|
7
|
+
setSelectedCategoryData: (category: DetailedCategory | null) => void;
|
|
8
8
|
setSelectedDateRange: (dateRange: DateRange) => void;
|
|
9
|
-
sortCategoriesList: () => {
|
|
10
|
-
guid: string;
|
|
11
|
-
name: string;
|
|
12
|
-
amount: number;
|
|
13
|
-
}[];
|
|
14
|
-
get detailedCategories(): DetailedCategory[];
|
|
15
9
|
get selectedDateRangeMonthRange(): string;
|
|
16
|
-
get
|
|
17
|
-
get
|
|
18
|
-
get
|
|
10
|
+
get sortedDetailedCategories(): DetailedCategory[];
|
|
11
|
+
get visibleCategories(): DetailedCategory[];
|
|
12
|
+
get collapsedCategories(): DetailedCategory[];
|
|
19
13
|
get categoryDetailsChartData(): Array<Array<{
|
|
20
14
|
x: string;
|
|
21
15
|
y: number;
|
|
16
|
+
[key: string]: any;
|
|
22
17
|
}>>;
|
|
23
18
|
}
|