@mx-cartographer/experiences 3.10.1-alpha.mm3 → 3.10.1-alpha.mm30
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/dist/common/components/charts/StackedLineChart.d.ts +1 -0
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.d.ts +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +4 -1
- package/dist/common/components/charts/stackedlinechart/CustomLegend.d.ts +6 -6
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +4 -1
- package/dist/common/constants/Analytics.d.ts +1 -0
- package/dist/common/constants/index.d.ts +1 -1
- package/dist/common/types/localization/TrendsCopy.d.ts +1 -0
- package/dist/index.es.js +3530 -3474
- package/dist/index.es.js.map +1 -1
- package/dist/trends/components/TrendsTable.d.ts +3 -1
- package/dist/trends/utils/SpendingData.d.ts +23 -0
- package/dist/trends/utils/TrendsData.d.ts +25 -0
- package/dist/trends/utils/shared.d.ts +11 -0
- package/package.json +2 -2
- package/dist/trends/utils/index.d.ts +0 -59
|
@@ -18,6 +18,7 @@ interface StackedLineChartProps {
|
|
|
18
18
|
onHoverArea?: (category: string) => void;
|
|
19
19
|
onHoverPoint?: (category: string) => void;
|
|
20
20
|
onHoverLegend?: (category: string) => void;
|
|
21
|
+
onClickLegend?: (category: string) => void;
|
|
21
22
|
height?: number;
|
|
22
23
|
width?: number;
|
|
23
24
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
3
|
interface CustomLegendProps {
|
|
4
|
-
labels: string[];
|
|
5
|
-
stackedLabels: string[];
|
|
6
4
|
sx?: object;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
categoryGuids: {
|
|
6
|
+
guid: string;
|
|
7
|
+
top_level_guid: string;
|
|
8
|
+
}[];
|
|
10
9
|
hoveredLegend: string | null;
|
|
11
|
-
|
|
10
|
+
onHoverLegend: (label: string | null) => void;
|
|
11
|
+
onClickLegend: (label: string | null) => void;
|
|
12
12
|
}
|
|
13
13
|
export declare const CustomLegend: React.FC<CustomLegendProps>;
|
|
14
14
|
export {};
|
|
@@ -2,7 +2,10 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { ChartsItemContentProps } from '@mui/x-charts';
|
|
3
3
|
|
|
4
4
|
interface CustomPointTooltipProps extends ChartsItemContentProps<'line'> {
|
|
5
|
-
|
|
5
|
+
categoryGuids: {
|
|
6
|
+
guid: string;
|
|
7
|
+
topLevelGuid: string;
|
|
8
|
+
};
|
|
6
9
|
xData: Date[];
|
|
7
10
|
}
|
|
8
11
|
export declare const CustomPointTooltip: React.FC<CustomPointTooltipProps>;
|
|
@@ -45,6 +45,7 @@ export declare const ANALYTICS_EVENTS: {
|
|
|
45
45
|
TRENDS_CLICK_DATE: string;
|
|
46
46
|
TRENDS_CLICK_TABLE_SORT: string;
|
|
47
47
|
TRENDS_CLICK_TABLE_ROW: string;
|
|
48
|
+
TRENDS_CLICK_LEGEND: string;
|
|
48
49
|
TRENDS_HOVER_LEGEND: string;
|
|
49
50
|
TRENDS_HOVER_AREA: string;
|
|
50
51
|
TRENDS_HOVER_POINT: string;
|
|
@@ -2,7 +2,7 @@ export { ApiEndpoints } from './ApiEndpoints';
|
|
|
2
2
|
export { ANALYTICS_EVENTS } from './Analytics';
|
|
3
3
|
export { DATE_FORMATS_INTL, formatDate, ORDINAL_DATE_FORMAT, ORDINAL_MONTH_DAY_YEAR_FORMAT, } from './DateFormats';
|
|
4
4
|
export { INCOME_ACCOUNT_TYPES, PAYMENT_ACCOUNT_TYPES, SPENDING_ACCOUNT_TYPES } from './Account';
|
|
5
|
-
export { CategoryColors, CategoryGuids, CategoryGuidToName, CategoryIcon } from './Category';
|
|
5
|
+
export { CategoryColors, CategoryGuids, CategoryGuidToName, CategoryIcon, PaymentCategories, } from './Category';
|
|
6
6
|
export { CurrencyCodes } from './Numbers';
|
|
7
7
|
export { RecurrenceTypes, RECURRENCE_COPY } from './ScheduledPayment';
|
|
8
8
|
export { IterationItemTypes, LOADING_STATUS, PlanTypes } from './SpendingPlan';
|