@mx-cartographer/experiences 6.26.18-alpha.sms2 → 6.26.19-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/budgets/index.d.ts +0 -1
- package/dist/index.es.js +3034 -3038
- package/dist/index.es.js.map +1 -1
- package/dist/trends/components/CategoriesList.d.ts +2 -3
- 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 +11 -17
- package/package.json +2 -2
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { DetailedCategoryWithTransactions } from '../../common';
|
|
3
3
|
interface CategoriesListProps {
|
|
4
4
|
availableHeight?: number;
|
|
5
5
|
minHeight?: number;
|
|
6
|
-
|
|
7
|
-
transactions: Transaction[];
|
|
6
|
+
onCategoryClick: (data: DetailedCategoryWithTransactions) => void;
|
|
8
7
|
}
|
|
9
8
|
declare const CategoriesList: React.FC<CategoriesListProps>;
|
|
10
9
|
export default CategoriesList;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
interface CategoriesListItemProps extends CategoryListItem {
|
|
1
|
+
import { DetailedCategoryWithTransactions } from '../../common';
|
|
2
|
+
interface CategoriesListItemProps extends DetailedCategoryWithTransactions {
|
|
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,26 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DateRange, DetailedCategoryWithTransactions, GlobalStore } from '../../common';
|
|
2
|
+
import { LineChartDataset } from '../../common/components/charts/LineChart';
|
|
2
3
|
export declare class TrendsStore {
|
|
3
4
|
globalStore: GlobalStore;
|
|
4
|
-
selectedCategoryData:
|
|
5
|
+
selectedCategoryData: DetailedCategoryWithTransactions | null;
|
|
5
6
|
selectedDateRange: DateRange;
|
|
6
7
|
visibleListLength: number;
|
|
7
8
|
constructor(globalStore: GlobalStore);
|
|
8
|
-
setSelectedCategoryData: (
|
|
9
|
+
setSelectedCategoryData: (data: DetailedCategoryWithTransactions | null) => void;
|
|
9
10
|
setSelectedDateRange: (dateRange: DateRange) => void;
|
|
10
11
|
setVisibleListLength: (length: number) => void;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
amount: number;
|
|
15
|
-
}[];
|
|
16
|
-
get detailedCategories(): DetailedCategory[];
|
|
17
|
-
get detailedCategoriesWithTransactions(): DetailedCategoryWithTransactions[];
|
|
12
|
+
get sortedDetailedCategoriesWithTransactions(): DetailedCategoryWithTransactions[];
|
|
13
|
+
get selectedDateRangeMonthCount(): number;
|
|
18
14
|
get selectedDateRangeMonthRange(): string;
|
|
19
|
-
get
|
|
20
|
-
get
|
|
21
|
-
get
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
y: number;
|
|
25
|
-
}>>;
|
|
15
|
+
get visibleCategories(): DetailedCategoryWithTransactions[];
|
|
16
|
+
get collapsedCategories(): DetailedCategoryWithTransactions[];
|
|
17
|
+
get categoryDetailsChartData(): {
|
|
18
|
+
monthlyAmounts: LineChartDataset;
|
|
19
|
+
};
|
|
26
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "6.26.
|
|
3
|
+
"version": "6.26.19-alpha.mega1",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@mui/x-date-pickers-pro": "^7.29.4",
|
|
36
36
|
"@mxenabled/cssinjs": "^0.6.0",
|
|
37
37
|
"@mxenabled/mx-icons": "^1.5.1",
|
|
38
|
-
"@mxenabled/mxui": "^1.5.
|
|
38
|
+
"@mxenabled/mxui": "^1.5.6",
|
|
39
39
|
"@mxenabled/web-widget-sdk": "^0.0.13",
|
|
40
40
|
"@tanstack/react-virtual": "^3.13.2",
|
|
41
41
|
"bowser": "^2.11.0",
|