@aquera/nile-visualization 2.9.40 → 2.9.41
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/README.md +5 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +2 -0
- package/dist/src/internal/types/chart-pagination-config.type.d.ts +32 -0
- package/dist/src/internal/types/chart-pagination-config.type.js +2 -0
- package/dist/src/internal/types/nile-chart-config-input.type.d.ts +2 -1
- package/dist/src/internal/types/separated-chart-config-input.type.d.ts +2 -1
- package/dist/src/internal/utils/chart-events.d.ts +3 -0
- package/dist/src/internal/utils/chart-events.js +4 -0
- package/dist/src/internal/utils/chart-pagination.d.ts +145 -0
- package/dist/src/internal/utils/chart-pagination.js +1502 -0
- package/dist/src/internal/utils/highcharts-provider.js +2 -0
- package/dist/src/nile-chart/nile-chart-config.d.ts +2 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { registerNileChartEvents } from './chart-events.js';
|
|
9
9
|
import { applyHighchartsCompat } from './highcharts-compat.js';
|
|
10
|
+
import { registerNileChartPagination } from './chart-pagination.js';
|
|
10
11
|
let _Highcharts;
|
|
11
12
|
let _initPromise = null;
|
|
12
13
|
// Gridline strength per theme (the gridline colour below is a token mixed at this strength).
|
|
@@ -226,6 +227,7 @@ async function init() {
|
|
|
226
227
|
});
|
|
227
228
|
registerNileChartEvents(_Highcharts);
|
|
228
229
|
applyHighchartsCompat(_Highcharts);
|
|
230
|
+
registerNileChartPagination(_Highcharts);
|
|
229
231
|
return _Highcharts;
|
|
230
232
|
}
|
|
231
233
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ChartPaginationField } from '../internal/types/chart-pagination-config.type.js';
|
|
1
2
|
import type { ChartConfigType } from '../internal/types/chart-config.type.js';
|
|
2
3
|
export type ChartType = ChartConfigType['type'];
|
|
3
4
|
import type { BarChartSeriesData } from '../nile-bar-chart/nile-bar-chart.js';
|
|
@@ -90,7 +91,7 @@ export interface NileAiConfig {
|
|
|
90
91
|
placeholder?: string;
|
|
91
92
|
welcomeMessage?: string;
|
|
92
93
|
}
|
|
93
|
-
export interface NileChartConfigBase extends HighchartsPassthroughConfig {
|
|
94
|
+
export interface NileChartConfigBase extends HighchartsPassthroughConfig, ChartPaginationField {
|
|
94
95
|
chartTitle?: string;
|
|
95
96
|
chartSubtitle?: string;
|
|
96
97
|
/** Info text shown on hover/focus of an icon beside the header title. Empty → no icon (needs a title). */
|