@aquera/nile-visualization 2.9.20 → 2.9.21

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.
Files changed (37) hide show
  1. package/README.md +5 -0
  2. package/dist/src/index.d.ts +8 -2
  3. package/dist/src/index.js +3 -0
  4. package/dist/src/internal/types/chart-config.type.d.ts +3 -1
  5. package/dist/src/internal/types/chart-list-config.type.d.ts +25 -0
  6. package/dist/src/internal/types/chart-list-config.type.js +2 -0
  7. package/dist/src/internal/types/chart-master-detail-config.type.d.ts +38 -0
  8. package/dist/src/internal/types/chart-master-detail-config.type.js +2 -0
  9. package/dist/src/internal/types/chart-message-config.type.d.ts +9 -0
  10. package/dist/src/internal/types/chart-message-config.type.js +2 -0
  11. package/dist/src/internal/types/index.d.ts +1 -0
  12. package/dist/src/internal/types/primitive-chart-config.type.d.ts +2 -1
  13. package/dist/src/nile-chart/index.d.ts +2 -2
  14. package/dist/src/nile-chart/nile-chart-config.d.ts +45 -1
  15. package/dist/src/nile-chart/nile-chart-skeleton.js +1 -1
  16. package/dist/src/nile-chart/nile-chart.css.js +1 -0
  17. package/dist/src/nile-chart/nile-chart.d.ts +9 -0
  18. package/dist/src/nile-chart/nile-chart.js +99 -1
  19. package/dist/src/nile-chart-list/index.d.ts +2 -0
  20. package/dist/src/nile-chart-list/index.js +2 -0
  21. package/dist/src/nile-chart-list/nile-chart-list.css.d.ts +12 -0
  22. package/dist/src/nile-chart-list/nile-chart-list.css.js +126 -0
  23. package/dist/src/nile-chart-list/nile-chart-list.d.ts +61 -0
  24. package/dist/src/nile-chart-list/nile-chart-list.js +188 -0
  25. package/dist/src/nile-chart-message/index.d.ts +2 -0
  26. package/dist/src/nile-chart-message/index.js +2 -0
  27. package/dist/src/nile-chart-message/nile-chart-message.css.d.ts +12 -0
  28. package/dist/src/nile-chart-message/nile-chart-message.css.js +108 -0
  29. package/dist/src/nile-chart-message/nile-chart-message.d.ts +36 -0
  30. package/dist/src/nile-chart-message/nile-chart-message.js +117 -0
  31. package/dist/src/nile-master-detail-chart/index.d.ts +2 -0
  32. package/dist/src/nile-master-detail-chart/index.js +2 -0
  33. package/dist/src/nile-master-detail-chart/nile-master-detail-chart.css.d.ts +1 -0
  34. package/dist/src/nile-master-detail-chart/nile-master-detail-chart.css.js +95 -0
  35. package/dist/src/nile-master-detail-chart/nile-master-detail-chart.d.ts +93 -0
  36. package/dist/src/nile-master-detail-chart/nile-master-detail-chart.js +604 -0
  37. package/package.json +6 -3
package/README.md CHANGED
@@ -36,6 +36,11 @@ To run a local development server that serves the basic demo located in `demo/in
36
36
 
37
37
  In this section, you can find the updates for each release of `nile-visualization`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
38
38
 
39
+ #### Version 2.9.21 (July 06, 2026)
40
+ - Nile Chart: Added the master-detail chart — set `type: 'master-detail'` to render a detail chart paired with a draggable master (navigator) pane for zooming into a range. Configurable via `detailType`/`masterType` (`area`, `areaspline`, `line`, `spline`, `column`), `xAxisType` (`datetime`, `linear`, `logarithmic`, `category`), `selectionMin`/`selectionMax`, and `masterHeight`; emits `nile-chart-selection` and `nile-chart-ready` (UIF-1272)
41
+ - Nile Chart List: Added the `<nile-chart-list>` component — `variant` (`plain`, `bullet`, `number`, `icon`, `checkbox`) with native `<ul>`/`<ol>` markers; emits `nile-click` and `nile-change` (UIF-1272)
42
+ - Nile Chart Message: Added the `<nile-chart-message>` component — status message with `variant` (`primary`, `success`, `warning`, `error`, `info`), `heading`, `description`, and an optional status light (UIF-1272)
43
+
39
44
  #### Version 2.9.20 (June 18, 2026)
40
45
  - Nile Chart: Added built-in color palettes — set `colorPalette` on the chart config to apply the Nile `default` theme (sizes 15 / 30 / 50) or a `custom` color array. Palettes resolve to `var(--ng-*)` tokens and repeat with an opacity falloff when data points exceed the palette size (UIF-1270)
41
46
 
@@ -6,11 +6,13 @@ export { NileTrendlineChart } from './nile-trendline-chart/index.js';
6
6
  export type { TrendlineSeriesData, ForecastConfig } from './nile-trendline-chart/index.js';
7
7
  export { NileAnomalyChart } from './nile-anomaly-chart/index.js';
8
8
  export type { AnomalySeriesData, AnomalyConfig } from './nile-anomaly-chart/index.js';
9
+ export { NileChartMessage } from './nile-chart-message/index.js';
10
+ export type { StatusLightConfig, StatusLightVariant, ChartMessageVariant, ChartMessageConfig, } from './nile-chart-message/index.js';
9
11
  export { NileChart } from './nile-chart/index.js';
10
- export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, NileLineChartConfig, NileAreaChartConfig, NileColumnChartConfig, NileDonutChartConfig, NileScatterChartConfig, NileBubbleChartConfig, NileSplineChartConfig, NileRadarChartConfig, NileGaugeChartConfig, NileWaterfallChartConfig, NileMapChartConfig, NileKpiChartConfig, ChartType, SwitchAggregation, NileAiConfig, NileChartMenuConfig, NileChartMenuItem, } from './nile-chart/index.js';
12
+ export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, NileLineChartConfig, NileAreaChartConfig, NileColumnChartConfig, NileDonutChartConfig, NileScatterChartConfig, NileBubbleChartConfig, NileSplineChartConfig, NileRadarChartConfig, NileGaugeChartConfig, NileWaterfallChartConfig, NileMapChartConfig, NileMasterDetailChartConfig, NileKpiChartConfig, NileListChartConfig, NileMessageChartConfig, ChartType, SwitchAggregation, NileAiConfig, NileChartMenuConfig, NileChartMenuItem, } from './nile-chart/index.js';
11
13
  export { convertConfig, registerAdapter } from './nile-chart/index.js';
12
14
  export { nileChartConfig } from './nile-chart/index.js';
13
- export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartInvertedAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartDumbbellConfigType, ChartDumbbellLowerConfigType, ChartDumbbellUpperConfigType, ChartColumnPyramidConfigType, ChartLollipopConfigType, ChartAreaSplineConfigType, ChartAreaNegativeConfigType, ChartAreaRangeConfigType, ChartColumnRangeConfigType, ChartColumnDrilldownConfigType, ChartRadialBarConfigType, ChartVariablePieConfigType, ChartEulerConfigType, ChartPolygonConfigType, ChartVectorConfigType, ChartXrangeConfigType, ChartFanConfigType, ChartFunnelConfigType, ChartOrganizationConfigType, ChartLineColumnConfigType, ChartHeatmapConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiConfigType, ChartKpiPropsType, ChartMapConfigType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from './nile-chart/index.js';
15
+ export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartInvertedAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartMasterDetailConfigType, ChartDumbbellConfigType, ChartDumbbellLowerConfigType, ChartDumbbellUpperConfigType, ChartColumnPyramidConfigType, ChartLollipopConfigType, ChartAreaSplineConfigType, ChartAreaNegativeConfigType, ChartAreaRangeConfigType, ChartColumnRangeConfigType, ChartColumnDrilldownConfigType, ChartRadialBarConfigType, ChartVariablePieConfigType, ChartEulerConfigType, ChartPolygonConfigType, ChartVectorConfigType, ChartXrangeConfigType, ChartFanConfigType, ChartFunnelConfigType, ChartOrganizationConfigType, ChartLineColumnConfigType, ChartHeatmapConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiConfigType, ChartKpiPropsType, ChartMapConfigType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from './nile-chart/index.js';
14
16
  export type { SeparatedChartDemoConfig } from './internal/separated-chart-config.js';
15
17
  export { NileLineChart } from './nile-line-chart/index.js';
16
18
  export type { LineChartSeriesData } from './nile-line-chart/index.js';
@@ -32,6 +34,8 @@ export { NileBoxplotChart } from './nile-boxplot-chart/index.js';
32
34
  export type { BoxplotBox, BoxplotSeriesData } from './nile-boxplot-chart/index.js';
33
35
  export { NileTimelineChart } from './nile-timeline-chart/index.js';
34
36
  export type { TimelineEvent } from './nile-timeline-chart/index.js';
37
+ export { NileMasterDetailChart } from './nile-master-detail-chart/index.js';
38
+ export type { MasterDetailPoint, MasterDetailSeriesType } from './nile-master-detail-chart/index.js';
35
39
  export { NileDumbbellChart } from './nile-dumbbell-chart/index.js';
36
40
  export type { DumbbellPoint } from './nile-dumbbell-chart/index.js';
37
41
  export { NileDumbbellLowerChart } from './nile-dumbbell-lower-chart/index.js';
@@ -104,3 +108,5 @@ export { NileDashboardViewer } from './nile-dashboard-viewer/index.js';
104
108
  export type { NileDashboardConfig } from './nile-dashboard-viewer/index.js';
105
109
  export { NileExecutiveSummary } from './nile-executive-summary/index.js';
106
110
  export type { NileExecutiveSummaryConfig } from './nile-executive-summary/index.js';
111
+ export { NileChartList } from './nile-chart-list/index.js';
112
+ export type { ChartListVariant, ChartListItem, ChartListMarker, ChartListConfig, } from './nile-chart-list/index.js';
package/dist/src/index.js CHANGED
@@ -5,6 +5,7 @@ export { NileBarChart } from './nile-bar-chart/index.js';
5
5
  export { NilePieChart } from './nile-pie-chart/index.js';
6
6
  export { NileTrendlineChart } from './nile-trendline-chart/index.js';
7
7
  export { NileAnomalyChart } from './nile-anomaly-chart/index.js';
8
+ export { NileChartMessage } from './nile-chart-message/index.js';
8
9
  export { NileChart } from './nile-chart/index.js';
9
10
  export { convertConfig, registerAdapter } from './nile-chart/index.js';
10
11
  export { nileChartConfig } from './nile-chart/index.js';
@@ -18,6 +19,7 @@ export { NileHistogramChart } from './nile-histogram-chart/index.js';
18
19
  export { NileBellcurveChart } from './nile-bellcurve-chart/index.js';
19
20
  export { NileBoxplotChart } from './nile-boxplot-chart/index.js';
20
21
  export { NileTimelineChart } from './nile-timeline-chart/index.js';
22
+ export { NileMasterDetailChart } from './nile-master-detail-chart/index.js';
21
23
  export { NileDumbbellChart } from './nile-dumbbell-chart/index.js';
22
24
  export { NileDumbbellLowerChart } from './nile-dumbbell-lower-chart/index.js';
23
25
  export { NileDumbbellUpperChart } from './nile-dumbbell-upper-chart/index.js';
@@ -56,4 +58,5 @@ export { NileAiPanel } from './nile-ai-panel/index.js';
56
58
  export { NileWidgetViewer } from './nile-widget-viewer/index.js';
57
59
  export { NileDashboardViewer } from './nile-dashboard-viewer/index.js';
58
60
  export { NileExecutiveSummary } from './nile-executive-summary/index.js';
61
+ export { NileChartList } from './nile-chart-list/index.js';
59
62
  //# sourceMappingURL=index.js.map
@@ -15,5 +15,7 @@ import type { ChartWaterfallConfigType } from './chart-waterfall-config.type.js'
15
15
  import type { ChartMapConfigType } from './chart-map-config.type.js';
16
16
  import type { ChartGridConfigType } from './chart-grid-config.type.js';
17
17
  import type { PrimitiveChartConfigType } from './primitive-chart-config.type.js';
18
+ import type { ChartMessageConfigType } from './chart-message-config.type.js';
19
+ import type { ChartListConfigType } from './chart-list-config.type.js';
18
20
  /** Core chart configs (bar, pie, …) plus all primitive series types — use with `<nile-chart>` via `chart.type`. */
19
- export type ChartConfigType = ChartBarConfigType | ChartPieConfigType | ChartTrendlineConfigType | ChartAnomalyConfigType | ChartLineConfigType | ChartAreaConfigType | ChartColumnConfigType | ChartDonutConfigType | ChartScatterConfigType | ChartBubbleConfigType | ChartSplineConfigType | ChartRadarConfigType | ChartGaugeConfigType | ChartWaterfallConfigType | ChartMapConfigType | ChartGridConfigType | PrimitiveChartConfigType;
21
+ export type ChartConfigType = ChartMessageConfigType | ChartListConfigType | ChartBarConfigType | ChartPieConfigType | ChartTrendlineConfigType | ChartAnomalyConfigType | ChartLineConfigType | ChartAreaConfigType | ChartColumnConfigType | ChartDonutConfigType | ChartScatterConfigType | ChartBubbleConfigType | ChartSplineConfigType | ChartRadarConfigType | ChartGaugeConfigType | ChartWaterfallConfigType | ChartMapConfigType | ChartGridConfigType | PrimitiveChartConfigType;
@@ -0,0 +1,25 @@
1
+ export interface ChartListItemType {
2
+ label: string;
3
+ subLabel?: string;
4
+ description?: string;
5
+ iconName?: string;
6
+ checked?: boolean;
7
+ value?: string;
8
+ disabled?: boolean;
9
+ color?: string;
10
+ allowHtml?: boolean;
11
+ }
12
+ export interface ChartListConfigType {
13
+ type: 'list';
14
+ variant?: 'plain' | 'bullet' | 'number' | 'icon' | 'checkbox';
15
+ items: ChartListItemType[];
16
+ iconName?: string;
17
+ iconSize?: number;
18
+ marker?: {
19
+ size?: number;
20
+ color?: string;
21
+ };
22
+ markerSize?: number;
23
+ markerColor?: string;
24
+ allowHtml?: boolean;
25
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-list-config.type.js.map
@@ -0,0 +1,38 @@
1
+ import type { Options } from 'highcharts';
2
+ import type { MasterDetailPoint, MasterDetailSeriesType, MasterDetailXAxisType } from '../../nile-master-detail-chart/nile-master-detail-chart.js';
3
+ export interface ChartMasterDetailConfigType {
4
+ type: 'master-detail';
5
+ data: MasterDetailPoint[];
6
+ seriesName?: string;
7
+ seriesColor?: string;
8
+ detailType?: MasterDetailSeriesType;
9
+ masterType?: MasterDetailSeriesType;
10
+ masterOnly?: boolean;
11
+ xAxisType?: MasterDetailXAxisType;
12
+ xAxisMin?: number | null;
13
+ xAxisMax?: number | null;
14
+ yAxisMin?: number | null;
15
+ yAxisMax?: number | null;
16
+ masterHeight?: string | number;
17
+ selectionMin?: number | null;
18
+ selectionMax?: number | null;
19
+ detailTitle?: string;
20
+ masterTitle?: string;
21
+ maskFill?: string;
22
+ height?: string;
23
+ loading?: boolean;
24
+ options?: Options;
25
+ masterOptions?: Options;
26
+ showLegend?: boolean;
27
+ chartBg?: string;
28
+ chartBorderRadius?: string | number;
29
+ chartBorder?: string;
30
+ chartShadow?: string;
31
+ chartPadding?: string | number;
32
+ chartMinHeight?: string | number;
33
+ loadingText?: string;
34
+ loadingColor?: string;
35
+ loadingFontSize?: string | number;
36
+ loadingFontFamily?: string;
37
+ loadingBg?: string;
38
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-master-detail-config.type.js.map
@@ -0,0 +1,9 @@
1
+ import type { StatusLightConfig } from '../../nile-chart-message/nile-chart-message.js';
2
+ export interface ChartMessageConfigType {
3
+ type: 'message';
4
+ variant?: 'primary' | 'success' | 'warning' | 'error' | 'info';
5
+ heading?: string;
6
+ description?: string;
7
+ statusLight?: boolean;
8
+ statusLightConfig?: StatusLightConfig;
9
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart-message-config.type.js.map
@@ -22,6 +22,7 @@ export type { ChartHistogramConfigType } from './chart-histogram-config.type.js'
22
22
  export type { ChartBellcurveConfigType } from './chart-bellcurve-config.type.js';
23
23
  export type { ChartBoxplotConfigType } from './chart-boxplot-config.type.js';
24
24
  export type { ChartTimelineConfigType } from './chart-timeline-config.type.js';
25
+ export type { ChartMasterDetailConfigType } from './chart-master-detail-config.type.js';
25
26
  export type { ChartDumbbellConfigType } from './chart-dumbbell-config.type.js';
26
27
  export type { ChartDumbbellLowerConfigType } from './chart-dumbbell-lower-config.type.js';
27
28
  export type { ChartDumbbellUpperConfigType } from './chart-dumbbell-upper-config.type.js';
@@ -4,6 +4,7 @@ import type { ChartHistogramConfigType } from './chart-histogram-config.type.js'
4
4
  import type { ChartBellcurveConfigType } from './chart-bellcurve-config.type.js';
5
5
  import type { ChartBoxplotConfigType } from './chart-boxplot-config.type.js';
6
6
  import type { ChartTimelineConfigType } from './chart-timeline-config.type.js';
7
+ import type { ChartMasterDetailConfigType } from './chart-master-detail-config.type.js';
7
8
  import type { ChartDumbbellConfigType } from './chart-dumbbell-config.type.js';
8
9
  import type { ChartFanConfigType } from './chart-fan-config.type.js';
9
10
  import type { ChartFunnelConfigType } from './chart-funnel-config.type.js';
@@ -34,4 +35,4 @@ import type { ChartXrangeConfigType } from './chart-xrange-config.type.js';
34
35
  * Chart configs for primitive `<nile-*-chart>` elements (`el.config = { chart, aq }`).
35
36
  * Discriminated on `chart.type`.
36
37
  */
37
- export type PrimitiveChartConfigType = ChartInvertedAreaConfigType | ChartColumnPyramidConfigType | ChartLollipopConfigType | ChartAreaSplineConfigType | ChartAreaNegativeConfigType | ChartAreaRangeConfigType | ChartColumnRangeConfigType | ChartColumnDrilldownConfigType | ChartRadialBarConfigType | ChartVariablePieConfigType | ChartDumbbellLowerConfigType | ChartDumbbellUpperConfigType | ChartEulerConfigType | ChartPolygonConfigType | ChartVectorConfigType | ChartXrangeConfigType | ChartClusterConfigType | ChartStackedConfigType | ChartHistogramConfigType | ChartBellcurveConfigType | ChartBoxplotConfigType | ChartTimelineConfigType | ChartDumbbellConfigType | ChartFanConfigType | ChartFunnelConfigType | ChartOrganizationConfigType | ChartLineColumnConfigType | ChartHeatmapConfigType | ChartFlameConfigType | ChartSpiderwebConfigType | ChartKpiConfigType | ChartFilterConfigType;
38
+ export type PrimitiveChartConfigType = ChartInvertedAreaConfigType | ChartColumnPyramidConfigType | ChartLollipopConfigType | ChartAreaSplineConfigType | ChartAreaNegativeConfigType | ChartAreaRangeConfigType | ChartColumnRangeConfigType | ChartColumnDrilldownConfigType | ChartRadialBarConfigType | ChartVariablePieConfigType | ChartDumbbellLowerConfigType | ChartDumbbellUpperConfigType | ChartEulerConfigType | ChartPolygonConfigType | ChartVectorConfigType | ChartXrangeConfigType | ChartClusterConfigType | ChartStackedConfigType | ChartHistogramConfigType | ChartBellcurveConfigType | ChartBoxplotConfigType | ChartTimelineConfigType | ChartMasterDetailConfigType | ChartDumbbellConfigType | ChartFanConfigType | ChartFunnelConfigType | ChartOrganizationConfigType | ChartLineColumnConfigType | ChartHeatmapConfigType | ChartFlameConfigType | ChartSpiderwebConfigType | ChartKpiConfigType | ChartFilterConfigType;
@@ -1,5 +1,5 @@
1
1
  export { NileChart } from './nile-chart.js';
2
- export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, NileLineChartConfig, NileAreaChartConfig, NileColumnChartConfig, NileDonutChartConfig, NileScatterChartConfig, NileBubbleChartConfig, NileSplineChartConfig, NileRadarChartConfig, NileGaugeChartConfig, NileWaterfallChartConfig, NileKpiChartConfig, NileMapChartConfig, ChartType, SwitchAggregation, NileAiConfig, NileChartMenuConfig, NileChartMenuItem, } from './nile-chart-config.js';
2
+ export type { NileChartConfig, NileBarChartConfig, NilePieChartConfig, NileTrendlineChartConfig, NileAnomalyChartConfig, NileLineChartConfig, NileAreaChartConfig, NileColumnChartConfig, NileDonutChartConfig, NileScatterChartConfig, NileBubbleChartConfig, NileSplineChartConfig, NileRadarChartConfig, NileGaugeChartConfig, NileWaterfallChartConfig, NileMasterDetailChartConfig, NileKpiChartConfig, NileMapChartConfig, NileListChartConfig, NileMessageChartConfig, ChartType, SwitchAggregation, NileAiConfig, NileChartMenuConfig, NileChartMenuItem, } from './nile-chart-config.js';
3
3
  export { convertConfig, registerAdapter } from '../internal/chart-adapters.js';
4
4
  export { nileChartConfig } from './nile-chart-config-builder.js';
5
- export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartColorPaletteConfig, ColorPaletteName, ColorPaletteSize, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartInvertedAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartDumbbellConfigType, ChartDumbbellLowerConfigType, ChartDumbbellUpperConfigType, ChartColumnPyramidConfigType, ChartLollipopConfigType, ChartAreaSplineConfigType, ChartAreaNegativeConfigType, ChartAreaRangeConfigType, ChartColumnRangeConfigType, ChartColumnDrilldownConfigType, ChartRadialBarConfigType, ChartVariablePieConfigType, ChartEulerConfigType, ChartPolygonConfigType, ChartVectorConfigType, ChartXrangeConfigType, ChartFanConfigType, ChartFunnelConfigType, ChartOrganizationConfigType, ChartLineColumnConfigType, ChartHeatmapConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiConfigType, ChartKpiPropsType, ChartMapConfigType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from '../internal/types/index.js';
5
+ export type { AiConfigType, SwitchableConfigType, AqConfigType, ChartColorPaletteConfig, ColorPaletteName, ColorPaletteSize, ChartBarConfigType, ChartPieConfigType, ChartTrendlineConfigType, ChartAnomalyConfigType, ChartLineConfigType, ChartAreaConfigType, ChartInvertedAreaConfigType, ChartColumnConfigType, ChartDonutConfigType, ChartScatterConfigType, ChartBubbleConfigType, ChartSplineConfigType, ChartRadarConfigType, ChartGaugeConfigType, ChartWaterfallConfigType, ChartClusterConfigType, ChartStackedConfigType, ChartHistogramConfigType, ChartBellcurveConfigType, ChartBoxplotConfigType, ChartTimelineConfigType, ChartMasterDetailConfigType, ChartDumbbellConfigType, ChartDumbbellLowerConfigType, ChartDumbbellUpperConfigType, ChartColumnPyramidConfigType, ChartLollipopConfigType, ChartAreaSplineConfigType, ChartAreaNegativeConfigType, ChartAreaRangeConfigType, ChartColumnRangeConfigType, ChartColumnDrilldownConfigType, ChartRadialBarConfigType, ChartVariablePieConfigType, ChartEulerConfigType, ChartPolygonConfigType, ChartVectorConfigType, ChartXrangeConfigType, ChartFanConfigType, ChartFunnelConfigType, ChartOrganizationConfigType, ChartLineColumnConfigType, ChartHeatmapConfigType, ChartFlameConfigType, ChartSpiderwebConfigType, ChartKpiConfigType, ChartKpiPropsType, ChartMapConfigType, PrimitiveChartConfigType, SeparatedChartConfigInputType, AllChartConfigType, ChartConfigType, NileChartConfigInputType, ChartAiPanelPayload, ChartAiSenderPayload, NileAiPanelConfigInputType, NileAiSenderConfigInputType, } from '../internal/types/index.js';
@@ -17,6 +17,8 @@ import type { GaugeBand } from '../nile-gauge-chart/nile-gauge-chart.js';
17
17
  import type { WaterfallDataPoint } from '../nile-waterfall-chart/nile-waterfall-chart.js';
18
18
  import type { KpiVariant, KpiValueFormat, KpiNumberSystem, SparklineType, TrendDirection } from '../nile-kpi-chart/nile-kpi-chart.js';
19
19
  import type { MapChartDataPoint } from '../nile-map-chart/nile-map-chart.js';
20
+ import type { StatusLightConfig } from '../nile-chart-message/nile-chart-message.js';
21
+ import type { ChartListVariant, ChartListItem, ChartListMarker } from '../nile-chart-list/nile-chart-list.js';
20
22
  import type { NileDataGridColumn, ColumnResizeMode, ColumnResizeDirection, ColumnSizingState, ColumnPinningState, VisibilityState, RowSelectionState, ColumnOrderState, PaginationState } from '@aquera/nile-data-grid';
21
23
  import type { StackedChartSeriesData } from '../nile-stacked-chart/nile-stacked-chart.js';
22
24
  import type { ClusterChartSeriesData } from '../nile-cluster-chart/nile-cluster-chart.js';
@@ -24,6 +26,7 @@ import type { HistogramSamples } from '../nile-histogram-chart/nile-histogram-ch
24
26
  import type { BellcurveSamples } from '../nile-bellcurve-chart/nile-bellcurve-chart.js';
25
27
  import type { BoxplotSeriesData } from '../nile-boxplot-chart/nile-boxplot-chart.js';
26
28
  import type { TimelineEvent } from '../nile-timeline-chart/nile-timeline-chart.js';
29
+ import type { MasterDetailPoint } from '../nile-master-detail-chart/nile-master-detail-chart.js';
27
30
  import type { DumbbellPoint } from '../nile-dumbbell-chart/nile-dumbbell-chart.js';
28
31
  import type { FanLinePoint, FanUncertaintyBand } from '../nile-fan-chart/nile-fan-chart.js';
29
32
  import type { FunnelDataPoint } from '../nile-funnel-chart/nile-funnel-chart.js';
@@ -446,6 +449,28 @@ export interface NileTimelineChartConfig extends NileChartConfigBase {
446
449
  inverted?: boolean;
447
450
  alternateLabels?: boolean;
448
451
  }
452
+ export interface NileMasterDetailChartConfig extends NileChartConfigBase {
453
+ type: 'master-detail';
454
+ data: MasterDetailPoint[];
455
+ seriesName?: string;
456
+ seriesColor?: string;
457
+ detailType?: string;
458
+ masterType?: string;
459
+ /** Render only the master (overview) pane — no detail chart. */
460
+ masterOnly?: boolean;
461
+ xAxisType?: 'datetime' | 'linear' | 'logarithmic' | 'category';
462
+ xAxisMin?: number | null;
463
+ xAxisMax?: number | null;
464
+ yAxisMin?: number | null;
465
+ yAxisMax?: number | null;
466
+ masterHeight?: string | number;
467
+ selectionMin?: number | null;
468
+ selectionMax?: number | null;
469
+ detailTitle?: string;
470
+ masterTitle?: string;
471
+ maskFill?: string;
472
+ masterOptions?: import('highcharts').Options;
473
+ }
449
474
  export interface NileFanChartConfig extends NileChartConfigBase {
450
475
  type: 'fan';
451
476
  lineData: FanLinePoint[];
@@ -599,5 +624,24 @@ export interface NileFilterChartConfig extends NileChartConfigBase {
599
624
  type: 'filter';
600
625
  controls: FilterControl[];
601
626
  }
627
+ export interface NileMessageChartConfig extends NileChartConfigBase {
628
+ type: 'message';
629
+ variant?: 'primary' | 'success' | 'warning' | 'error' | 'info';
630
+ heading?: string;
631
+ description?: string;
632
+ statusLight?: boolean;
633
+ statusLightConfig?: StatusLightConfig;
634
+ }
635
+ export interface NileListChartConfig extends NileChartConfigBase {
636
+ type: 'list';
637
+ variant?: ChartListVariant;
638
+ items: ChartListItem[];
639
+ iconName?: string;
640
+ iconSize?: number;
641
+ marker?: ChartListMarker;
642
+ markerSize?: number;
643
+ markerColor?: string;
644
+ allowHtml?: boolean;
645
+ }
602
646
  /** Discriminated union of every named chart config — use for typed `<nile-chart>` configs. */
603
- export type NileChartConfig = NileBarChartConfig | NilePieChartConfig | NileLineChartConfig | NileAreaChartConfig | NileColumnChartConfig | NileDonutChartConfig | NileScatterChartConfig | NileBubbleChartConfig | NileSplineChartConfig | NileRadarChartConfig | NileGaugeChartConfig | NileWaterfallChartConfig | NileMapChartConfig | NileGridChartConfig | NileTrendlineChartConfig | NileAnomalyChartConfig | NileHistogramChartConfig | NileBellcurveChartConfig | NileBoxplotChartConfig | NileStackedChartConfig | NileClusterChartConfig | NileColumnPyramidChartConfig | NileColumnRangeChartConfig | NileColumnDrilldownChartConfig | NileLollipopChartConfig | NileInvertedAreaChartConfig | NileAreaSplineChartConfig | NileAreaNegativeChartConfig | NileAreaRangeChartConfig | NileDumbbellChartConfig | NileDumbbellLowerChartConfig | NileDumbbellUpperChartConfig | NileRadialBarChartConfig | NileSpiderwebChartConfig | NileTimelineChartConfig | NileFanChartConfig | NileFunnelChartConfig | NileOrganizationChartConfig | NileHeatmapChartConfig | NileFlameChartConfig | NileVariablePieChartConfig | NileEulerChartConfig | NilePolygonChartConfig | NileVectorChartConfig | NileXrangeChartConfig | NileLineColumnChartConfig | NileKpiChartConfig | NileFilterChartConfig;
647
+ export type NileChartConfig = NileBarChartConfig | NilePieChartConfig | NileLineChartConfig | NileAreaChartConfig | NileColumnChartConfig | NileDonutChartConfig | NileScatterChartConfig | NileBubbleChartConfig | NileSplineChartConfig | NileRadarChartConfig | NileGaugeChartConfig | NileWaterfallChartConfig | NileMapChartConfig | NileGridChartConfig | NileTrendlineChartConfig | NileAnomalyChartConfig | NileHistogramChartConfig | NileBellcurveChartConfig | NileBoxplotChartConfig | NileStackedChartConfig | NileClusterChartConfig | NileColumnPyramidChartConfig | NileColumnRangeChartConfig | NileColumnDrilldownChartConfig | NileLollipopChartConfig | NileInvertedAreaChartConfig | NileAreaSplineChartConfig | NileAreaNegativeChartConfig | NileAreaRangeChartConfig | NileDumbbellChartConfig | NileDumbbellLowerChartConfig | NileDumbbellUpperChartConfig | NileRadialBarChartConfig | NileSpiderwebChartConfig | NileTimelineChartConfig | NileMasterDetailChartConfig | NileFanChartConfig | NileFunnelChartConfig | NileOrganizationChartConfig | NileHeatmapChartConfig | NileFlameChartConfig | NileVariablePieChartConfig | NileEulerChartConfig | NilePolygonChartConfig | NileVectorChartConfig | NileXrangeChartConfig | NileLineColumnChartConfig | NileKpiChartConfig | NileFilterChartConfig | NileMessageChartConfig | NileListChartConfig;
@@ -5,7 +5,7 @@ const SKELETON_TYPE_MAP = {
5
5
  columnRange: 'columns', columnDrilldown: 'columns', lollipop: 'columns',
6
6
  line: 'line', area: 'line', spline: 'line', areaSpline: 'line',
7
7
  invertedArea: 'line', areaNegative: 'line', areaRange: 'line',
8
- fan: 'line', bellcurve: 'line',
8
+ fan: 'line', bellcurve: 'line', 'master-detail': 'line',
9
9
  trendline: 'trendline', anomaly: 'anomaly',
10
10
  pie: 'pie', donut: 'pie', variablePie: 'pie', radialBar: 'pie', gauge: 'pie', euler: 'pie',
11
11
  scatter: 'scatter', bubble: 'scatter', dumbbell: 'scatter', boxplot: 'scatter',
@@ -211,6 +211,7 @@ export const styles = css `
211
211
  align-self: center;
212
212
  }
213
213
 
214
+
214
215
  /* ── Card Body ── */
215
216
 
216
217
  .nile-chart-wrapper {
@@ -23,6 +23,7 @@ import '../nile-histogram-chart/index.js';
23
23
  import '../nile-bellcurve-chart/index.js';
24
24
  import '../nile-boxplot-chart/index.js';
25
25
  import '../nile-timeline-chart/index.js';
26
+ import '../nile-master-detail-chart/index.js';
26
27
  import '../nile-dumbbell-chart/index.js';
27
28
  import '../nile-dumbbell-lower-chart/index.js';
28
29
  import '../nile-dumbbell-upper-chart/index.js';
@@ -49,7 +50,10 @@ import '../nile-vector-chart/index.js';
49
50
  import '../nile-xrange-chart/index.js';
50
51
  import '../nile-kpi-chart/index.js';
51
52
  import '../nile-filter-chart/index.js';
53
+ import '../nile-chart-message/nile-chart-message.js';
54
+ import '../nile-chart-list/nile-chart-list.js';
52
55
  import '../nile-ai-panel/index.js';
56
+ import '@aquera/nile-elements/nile-tooltip';
53
57
  export declare class NileChart extends NileElement {
54
58
  static styles: CSSResultGroup;
55
59
  private _headerTipEl;
@@ -95,6 +99,11 @@ export declare class NileChart extends NileElement {
95
99
  /** True when elements are projected into `header-actions` (used to show the header row). */
96
100
  private hasHeaderActionsSlot;
97
101
  private aiPanel;
102
+ private masterDetailChart;
103
+ /** True while the inner master-detail chart is zoomed — drives the header
104
+ * "Reset zoom" button. Reflected from the chart's `nile-master-detail-zoom`. */
105
+ private masterZoomed;
106
+ private onMasterZoom;
98
107
  private get effectiveSummary();
99
108
  /** AI panel shows when ai.enabled is true OR when a summary is provided. */
100
109
  private get aiEnabled();
@@ -36,6 +36,7 @@ import '../nile-histogram-chart/index.js';
36
36
  import '../nile-bellcurve-chart/index.js';
37
37
  import '../nile-boxplot-chart/index.js';
38
38
  import '../nile-timeline-chart/index.js';
39
+ import '../nile-master-detail-chart/index.js';
39
40
  import '../nile-dumbbell-chart/index.js';
40
41
  import '../nile-dumbbell-lower-chart/index.js';
41
42
  import '../nile-dumbbell-upper-chart/index.js';
@@ -62,7 +63,10 @@ import '../nile-vector-chart/index.js';
62
63
  import '../nile-xrange-chart/index.js';
63
64
  import '../nile-kpi-chart/index.js';
64
65
  import '../nile-filter-chart/index.js';
66
+ import '../nile-chart-message/nile-chart-message.js';
67
+ import '../nile-chart-list/nile-chart-list.js';
65
68
  import '../nile-ai-panel/index.js';
69
+ import '@aquera/nile-elements/nile-tooltip';
66
70
  const CORE_CHART_LABELS = {
67
71
  bar: 'Bar',
68
72
  pie: 'Pie',
@@ -85,6 +89,7 @@ const CORE_CHART_LABELS = {
85
89
  bellcurve: 'Bell curve',
86
90
  boxplot: 'Box plot',
87
91
  timeline: 'Timeline',
92
+ 'master-detail': 'Master / detail',
88
93
  dumbbell: 'Dumbbell',
89
94
  fan: 'Fan',
90
95
  funnel: 'Funnel',
@@ -174,6 +179,9 @@ let NileChart = class NileChart extends NileElement {
174
179
  this.hasHeaderSlotContent = false;
175
180
  /** True when elements are projected into `header-actions` (used to show the header row). */
176
181
  this.hasHeaderActionsSlot = false;
182
+ /** True while the inner master-detail chart is zoomed — drives the header
183
+ * "Reset zoom" button. Reflected from the chart's `nile-master-detail-zoom`. */
184
+ this.masterZoomed = false;
177
185
  this.handleOutsideClick = (e) => {
178
186
  const path = e.composedPath();
179
187
  if (!path.includes(this)) {
@@ -208,6 +216,9 @@ let NileChart = class NileChart extends NileElement {
208
216
  this._showHeaderTip(el.textContent ?? '', rect.left + rect.width / 2, rect.top);
209
217
  };
210
218
  }
219
+ onMasterZoom(e) {
220
+ this.masterZoomed = !!e.detail?.zoomed;
221
+ }
211
222
  get effectiveSummary() {
212
223
  return this.resolvedConfig?.summary ?? this.summary;
213
224
  }
@@ -300,6 +311,8 @@ let NileChart = class NileChart extends NileElement {
300
311
  const converted = convertConfig(this.resolvedConfig, toType);
301
312
  this.activeType = toType;
302
313
  this.activeConfig = converted;
314
+ // Leaving master-detail drops any active zoom (and its header button).
315
+ this.masterZoomed = false;
303
316
  this.closeMenu();
304
317
  this.emit('nile-chart-type-change', {
305
318
  fromType,
@@ -395,7 +408,8 @@ let NileChart = class NileChart extends NileElement {
395
408
  this.hasHeaderActionsSlot ||
396
409
  this.lightDomHasSlot('header') ||
397
410
  this.lightDomHasSlot('header-actions') ||
398
- hasBuiltinActions);
411
+ hasBuiltinActions ||
412
+ this.masterZoomed);
399
413
  }
400
414
  buildExportingOptions() {
401
415
  return { exporting: { enabled: true, buttons: { contextButton: { enabled: false } } } };
@@ -567,6 +581,19 @@ let NileChart = class NileChart extends NileElement {
567
581
  </div>
568
582
  <div class="nile-chart-header-actions">
569
583
  <slot name="header-actions" @slotchange=${this.onHeaderActionsSlotChange}></slot>
584
+ ${this.masterZoomed && (this.activeType ?? this.resolvedConfig?.type) === 'master-detail'
585
+ ? html `<nile-tooltip content="Reset zoom" placement="top">
586
+ <button
587
+ type="button"
588
+ class="nile-chart-menu-trigger nile-chart-reset-zoom"
589
+ part="reset-zoom"
590
+ aria-label="Reset zoom"
591
+ @click=${() => this.masterDetailChart?.resetZoom()}
592
+ >
593
+ <nile-glyph name="refresh" size="16"></nile-glyph>
594
+ </button>
595
+ </nile-tooltip>`
596
+ : nothing}
570
597
  ${this.renderAiTrigger()}
571
598
  ${this.renderActionsMenu()}
572
599
  </div>
@@ -1103,6 +1130,44 @@ let NileChart = class NileChart extends NileElement {
1103
1130
  .loadingFontFamily=${config.loadingFontFamily ?? ''}
1104
1131
  .loadingBg=${config.loadingBg ?? ''}
1105
1132
  ></nile-timeline-chart>`;
1133
+ case 'master-detail':
1134
+ return html `<nile-master-detail-chart
1135
+ .data=${config.data}
1136
+ .height=${this.hasAttribute('fit') ? null : (config.height ?? '100%')}
1137
+ .seriesName=${config.seriesName ?? ''}
1138
+ .seriesColor=${config.seriesColor ?? ''}
1139
+ .detailType=${config.detailType ?? 'area'}
1140
+ .masterType=${config.masterType ?? 'area'}
1141
+ .masterOnly=${config.masterOnly ?? false}
1142
+ .xAxisType=${config.xAxisType ?? 'datetime'}
1143
+ .xAxisMin=${config.xAxisMin ?? null}
1144
+ .xAxisMax=${config.xAxisMax ?? null}
1145
+ .yAxisMin=${config.yAxisMin ?? null}
1146
+ .yAxisMax=${config.yAxisMax ?? null}
1147
+ .masterHeight=${config.masterHeight ?? 100}
1148
+ .selectionMin=${config.selectionMin ?? null}
1149
+ .selectionMax=${config.selectionMax ?? null}
1150
+ .detailTitle=${config.detailTitle ?? ''}
1151
+ .masterTitle=${config.masterTitle ?? ''}
1152
+ .maskFill=${config.maskFill ?? 'rgba(0,0,0,0.2)'}
1153
+ .options=${mergedOptions}
1154
+ .masterOptions=${config.masterOptions ?? {}}
1155
+ .legend=${config.legend ?? null}
1156
+ .loading=${config.loading ?? false}
1157
+ .chartBg=${config.chartBg ?? ''}
1158
+ .chartBorderRadius=${config.chartBorderRadius ?? ''}
1159
+ .chartBorder=${config.chartBorder ?? ''}
1160
+ .chartShadow=${config.chartShadow ?? ''}
1161
+ .chartPadding=${config.chartPadding ?? ''}
1162
+ .chartMinHeight=${config.chartMinHeight ?? ''}
1163
+ .loadingText=${config.loadingText ?? 'Loading...'}
1164
+ .loadingColor=${config.loadingColor ?? ''}
1165
+ .loadingFontSize=${config.loadingFontSize ?? ''}
1166
+ .loadingFontFamily=${config.loadingFontFamily ?? ''}
1167
+ .loadingBg=${config.loadingBg ?? ''}
1168
+ @nile-chart-selection=${(e) => this.emit('nile-chart-selection', e.detail)}
1169
+ @nile-master-detail-zoom=${(e) => this.onMasterZoom(e)}
1170
+ ></nile-master-detail-chart>`;
1106
1171
  case 'dumbbell':
1107
1172
  return html `<nile-dumbbell-chart
1108
1173
  .data=${config.data}
@@ -1794,6 +1859,33 @@ let NileChart = class NileChart extends NileElement {
1794
1859
  ?hide-control-headers=${promote}
1795
1860
  @nile-change="${(e) => this.emit('nile-change', e.detail)}"
1796
1861
  ></nile-filter-chart>`;
1862
+ }
1863
+ case 'message': {
1864
+ return html `<nile-chart-message
1865
+ variant=${config.variant ?? 'info'}
1866
+ heading=${config.heading ?? ''}
1867
+ description=${config.description ?? ''}
1868
+ ?statusLight=${config.statusLight ?? true}
1869
+ .statusLightConfig=${config.statusLightConfig ?? {}}
1870
+ ></nile-chart-message>`;
1871
+ }
1872
+ case 'list': {
1873
+ return html `<nile-chart-list
1874
+ .config=${{
1875
+ list: {
1876
+ variant: config.variant,
1877
+ items: config.items ?? [],
1878
+ iconName: config.iconName,
1879
+ iconSize: config.iconSize,
1880
+ marker: config.marker,
1881
+ markerSize: config.markerSize,
1882
+ markerColor: config.markerColor,
1883
+ allowHtml: config.allowHtml,
1884
+ },
1885
+ }}
1886
+ @nile-click=${(e) => this.emit('nile-click', e.detail)}
1887
+ @nile-change=${(e) => this.emit('nile-change', e.detail)}
1888
+ ></nile-chart-list>`;
1797
1889
  }
1798
1890
  default: {
1799
1891
  const _exhaustive = config;
@@ -1872,6 +1964,12 @@ __decorate([
1872
1964
  __decorate([
1873
1965
  query('nile-ai-panel')
1874
1966
  ], NileChart.prototype, "aiPanel", void 0);
1967
+ __decorate([
1968
+ query('nile-master-detail-chart')
1969
+ ], NileChart.prototype, "masterDetailChart", void 0);
1970
+ __decorate([
1971
+ state()
1972
+ ], NileChart.prototype, "masterZoomed", void 0);
1875
1973
  NileChart = __decorate([
1876
1974
  customElement('nile-chart')
1877
1975
  ], NileChart);
@@ -0,0 +1,2 @@
1
+ export { NileChartList } from './nile-chart-list';
2
+ export type { ChartListVariant, ChartListItem, ChartListMarker, ChartListConfig, } from './nile-chart-list';
@@ -0,0 +1,2 @@
1
+ export { NileChartList } from './nile-chart-list';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright Aquera Inc 2026
3
+ *
4
+ * This source code is licensed under the BSD-3-Clause license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ /**
8
+ * Chart List CSS
9
+ */
10
+ export declare const styles: import("lit").CSSResult;
11
+ declare const _default: import("lit").CSSResult[];
12
+ export default _default;