ngx-core-components 0.3.32 → 0.3.33

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 (57) hide show
  1. package/README.md +93 -2
  2. package/charts/adjacency-matrix/adjacency-matrix.component.d.ts +4 -1
  3. package/charts/agentic-cognitive-topology/agentic-cognitive-topology.component.d.ts +5 -0
  4. package/charts/arc-diagram/arc-diagram.component.d.ts +7 -0
  5. package/charts/area-chart/area-chart.component.d.ts +5 -0
  6. package/charts/area-range-chart/area-range-chart.component.d.ts +4 -0
  7. package/charts/area-spline-range-chart/area-spline-range-chart.component.d.ts +4 -0
  8. package/charts/calendar-heatmap/calendar-heatmap.component.d.ts +3 -0
  9. package/charts/candlestick-chart/candlestick-chart.component.d.ts +4 -0
  10. package/charts/chord-diagram/chord-diagram.component.d.ts +7 -1
  11. package/charts/column-pyramid-chart/column-pyramid-chart.component.d.ts +4 -1
  12. package/charts/combo-chart/combo-chart.component.d.ts +4 -0
  13. package/charts/dependency-wheel/dependency-wheel.component.d.ts +7 -1
  14. package/charts/gauge-chart/gauge-chart.component.d.ts +4 -0
  15. package/charts/geo-heatmap/geo-heatmap.component.d.ts +4 -1
  16. package/charts/heikin-ashi-chart/heikin-ashi-chart.component.d.ts +4 -0
  17. package/charts/histogram/histogram.component.d.ts +3 -0
  18. package/charts/hlc-chart/hlc-chart.component.d.ts +5 -0
  19. package/charts/hollow-candlestick-chart/hollow-candlestick-chart.component.d.ts +4 -0
  20. package/charts/kagi-chart/kagi-chart.component.d.ts +4 -1
  21. package/charts/map-bubble/map-bubble.component.d.ts +4 -1
  22. package/charts/map-choropleth/map-choropleth.component.d.ts +9 -1
  23. package/charts/map-line-point/map-line-point.component.d.ts +8 -2
  24. package/charts/multi-needle-gauge/multi-needle-gauge.component.d.ts +6 -0
  25. package/charts/nested-donut-chart/nested-donut-chart.component.d.ts +7 -0
  26. package/charts/network-graph/network-graph.component.d.ts +7 -0
  27. package/charts/ohlc-chart/ohlc-chart.component.d.ts +4 -0
  28. package/charts/org-chart/org-chart.component.d.ts +5 -0
  29. package/charts/packed-bubble-chart/packed-bubble-chart.component.d.ts +3 -0
  30. package/charts/parallel-coordinates/parallel-coordinates.component.d.ts +3 -0
  31. package/charts/pareto-chart/pareto-chart.component.d.ts +4 -1
  32. package/charts/pictorial-chart/pictorial-chart.component.d.ts +3 -0
  33. package/charts/point-figure-chart/point-figure-chart.component.d.ts +4 -1
  34. package/charts/polar-area-chart/polar-area-chart.component.d.ts +11 -0
  35. package/charts/radar-chart/radar-chart.component.d.ts +5 -3
  36. package/charts/renko-chart/renko-chart.component.d.ts +4 -1
  37. package/charts/ridgeline-chart/ridgeline-chart.component.d.ts +11 -1
  38. package/charts/sankey-chart/sankey-chart.component.d.ts +7 -1
  39. package/charts/slope-chart/slope-chart.component.d.ts +5 -1
  40. package/charts/step-line-chart/step-line-chart.component.d.ts +5 -0
  41. package/charts/timeline-chart/timeline-chart.component.d.ts +2 -0
  42. package/charts/variable-pie-chart/variable-pie-chart.component.d.ts +4 -0
  43. package/charts/variwide-chart/variwide-chart.component.d.ts +8 -1
  44. package/charts/wind-rose/wind-rose.component.d.ts +3 -0
  45. package/charts/word-cloud/word-cloud.component.d.ts +3 -0
  46. package/fesm2022/ngx-core-components-charts.mjs +3484 -1922
  47. package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
  48. package/fesm2022/ngx-core-components-grid.mjs +80 -32
  49. package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
  50. package/fesm2022/ngx-core-components-i18n.mjs +34 -0
  51. package/fesm2022/ngx-core-components-i18n.mjs.map +1 -1
  52. package/fesm2022/ngx-core-components-layout.mjs +20 -15
  53. package/fesm2022/ngx-core-components-layout.mjs.map +1 -1
  54. package/grid/data-grid/data-grid.component.d.ts +1 -0
  55. package/i18n/ngx-core-i18n.d.ts +34 -0
  56. package/layout/tab-strip/tab-strip.component.d.ts +2 -0
  57. package/package.json +9 -9
package/README.md CHANGED
@@ -147,6 +147,53 @@ keyboard-focusable. Radial progress rings expose their percentage and actual
147
147
  versus target values in an accessible name, and show the existing tooltip on
148
148
  focus. Marimekko segments expose column/category names, values, and a focus-
149
149
  triggered tooltip with visible keyboard focus feedback.
150
+ Polar-area slices expose localized names, focus tooltips, and keyboard activation
151
+ through the existing `sliceClick` output. Radar points expose localized series,
152
+ category, and value names with focus-triggered tooltips. Column-pyramid marks
153
+ expose their series, category, and value with keyboard focus feedback and tooltips.
154
+ Pareto bars and cumulative-percentage points expose their values in localized
155
+ accessible names and show the existing tooltip on focus.
156
+ Variwide columns expose localized height, width, and width-share descriptions
157
+ with visible keyboard focus feedback and focus tooltips.
158
+ Combo-chart bars and line markers expose localized category, series, and
159
+ axis-value names and reveal the combined category tooltip when focused.
160
+ Area-chart markers expose localized category and series names with their values
161
+ and reveal the category tooltip on keyboard focus.
162
+ Step-line markers offer the same localized description and focus tooltip, and
163
+ support Enter/Space activation through the existing point-click output.
164
+ Slope-chart series expose their start, end, and change values in localized,
165
+ keyboard-focusable descriptions and show their detailed tooltip on focus.
166
+ Variable-pie slices expose localized names with value, share, and radius; nested
167
+ donut slices expose ring and value descriptions and support keyboard activation.
168
+ Gauge charts expose a keyboard-focusable accessible summary of the metric, value,
169
+ and range and reveal their tooltip when focused.
170
+ Candlestick bodies and OHLC intervals expose accessible date and OHLC values,
171
+ visible focus feedback, and keyboard-focus tooltips.
172
+ Hollow candlesticks provide the same data access, while Heikin-Ashi candles
173
+ announce their calculated values and expose original/candle values on focus.
174
+ Ridgeline distributions expose sample count, median, and range as accessible
175
+ focus targets and reveal their statistics tooltip on focus.
176
+ Sankey nodes and links expose localized keyboard-accessible names and focus
177
+ tooltips. Timeline events can be focused and activated with Enter or Space;
178
+ their accessible names include category, status, and start/end dates.
179
+ Histogram bins expose their numeric ranges, frequencies, and percentages to
180
+ keyboard users and reveal the bin tooltip on focus.
181
+ Wind-rose sectors expose direction, speed-bin, frequency, and cumulative
182
+ frequency values with visible keyboard focus and the matching tooltip.
183
+ Pictorial progress icons expose their threshold and fill percentage with
184
+ keyboard focus and a focus-triggered tooltip. Packed bubbles announce each
185
+ label, group, and value and show the matching tooltip on focus.
186
+ Adjacency-matrix cells announce their source, target, and connection weight and
187
+ show the matching tooltip on focus. Organization-chart cards are keyboard-
188
+ activatable, and each expand/collapse handle exposes its expanded state and
189
+ supports Enter/Space.
190
+ Map bubbles and map points expose labels, coordinates, values, and groups;
191
+ geographical route segments expose their endpoints. Each can be focused to
192
+ show its matching tooltip.
193
+ Calendar heatmap days are individually named, keyboard-focusable buttons that
194
+ show their date/value tooltip on focus and emit the existing cell selection on
195
+ Enter or Space. Word-cloud terms expose their text and weight and show their
196
+ tooltip on keyboard focus.
150
197
 
151
198
  Use `GridRemoteDataController` for paged or server-filtered data. It exposes signal
152
199
  state for rows, totals, loading, and errors; a newer request cancels and supersedes
@@ -197,9 +244,13 @@ row count to screen readers. With `dir="rtl"`, grid arrows and Kanban card
197
244
  movement follow the visual left/right direction. When `[keyboardNavigation]="true"`, the labelled grid
198
245
  region can receive focus and arrow keys move focus between cells. Tab moves
199
246
  between cells but exits the grid at either end; toolbar buttons and other
200
- interactive controls retain their native key behavior. Filter and context
247
+ interactive controls retain their native key behavior. Home and End move to the
248
+ first and last cell in the current row; Ctrl+Home and Ctrl+End move to the first
249
+ and last cells in the grid. Filter and context
201
250
  popovers receive focus when opened and return focus to their trigger or cell on
202
- Escape. The Advanced Filter Builder is exposed as a labelled modal dialog with
251
+ Escape. The context menu uses menu/menuitem semantics, supports
252
+ ArrowUp/ArrowDown and Home/End navigation, and returns focus to its source cell
253
+ on Escape. The Advanced Filter Builder is exposed as a labelled modal dialog with
203
254
  focus trapping and Escape dismissal, and restores focus to its trigger when
204
255
  closed. Grid toolbar, grouping, filter, export, and row-action labels are
205
256
  provided by the `grid` translations in `NGX_CORE_I18N`.
@@ -210,6 +261,34 @@ produces an accessible error instead of a pseudo-barcode. The library test suite
210
261
  also decodes generated module patterns with ZXing, a development-only dependency;
211
262
  the published component has no added runtime dependency.
212
263
 
264
+ Financial chart descriptions are locale-overridable through
265
+ `chart.ohlcMarkDescription`, `chart.hlcMarkDescription`, and
266
+ `chart.heikinAshiMarkDescription` in `provideNgxI18n`; Renko brick names use the
267
+ `chart.renkoMarkDescription` callback, Point & Figure marks use
268
+ `chart.pointFigureMarkDescription`, and Kagi segments use
269
+ `chart.kagiMarkDescription`; area-range boundaries use
270
+ `chart.areaRangeMarkDescription`. HLC marks expose keyboard-focusable tick
271
+ areas; Renko bricks, Point & Figure cells, Kagi segments, and area-range
272
+ boundaries are individually focusable with visible focus feedback and
273
+ focus-triggered tooltips.
274
+ Sankey nodes and links use `chart.sankeyNodeDescription` and
275
+ `chart.sankeyLinkDescription`; timeline event names use
276
+ `chart.timelineEventDescription`. Sankey marks expose node/link flow values and
277
+ focus tooltips. Timeline events expose category, status, and date details and
278
+ activate the existing event output with Enter or Space. Histogram bin names can
279
+ be localized with `chart.histogramBinDescription`.
280
+ Wind-rose descriptions can be localized with `chart.windRoseBinDescription`.
281
+ Calendar-cell and word-cloud descriptions can be localized with
282
+ `chart.calendarHeatmapCellDescription` and `chart.wordCloudMarkDescription`.
283
+ Pictorial-icon and packed-bubble descriptions can be localized with
284
+ `chart.pictorialIconDescription` and `chart.packedBubbleMarkDescription`.
285
+ Adjacency-matrix cells use `chart.adjacencyMatrixCellDescription`;
286
+ organization-chart employee names and expand/collapse labels use
287
+ `chart.orgChartNodeDescription` and `chart.orgChartToggleDescription`.
288
+ Geographic bubble, point, and route descriptions use
289
+ `chart.mapBubbleDescription`, `chart.mapPointDescription`, and
290
+ `chart.mapLineDescription`.
291
+
213
292
  `provideNgxI18n` accepts nested partial translations, merges them with the English
214
293
  fallback, and is exported alongside `DeepPartial` for locale definitions from
215
294
  `ngx-core-components/i18n`.
@@ -1589,9 +1668,14 @@ export class LayoutExampleComponent {}
1589
1668
  | Output | Type | Description |
1590
1669
  | ----------- | -------- | ------------------------ |
1591
1670
  | `tabChange` | `number` | Active tab index changed |
1671
+ | `tabClose` | `number` | Index of the tab closed |
1592
1672
 
1593
1673
  Horizontal tab lists reverse `ArrowLeft` and `ArrowRight` navigation under
1594
1674
  `dir="rtl"` so keyboard movement follows the visual direction.
1675
+ Closable tabs render the close action as a separate, naturally tabbable button.
1676
+ Its target is at least 24 by 24 pixels and can be enlarged with
1677
+ `--ngx-tab-close-target-size`. Its accessible name and tooltip use the
1678
+ `layout.closeTab` translation.
1595
1679
 
1596
1680
  #### TabComponent (`ngx-tab`)
1597
1681
 
@@ -1603,6 +1687,13 @@ Horizontal tab lists reverse `ArrowLeft` and `ArrowRight` navigation under
1603
1687
  | `icon` | `string` | `''` | Title prefix icon |
1604
1688
  | `disabled` | `boolean` | `false` | Disables selecting tab |
1605
1689
  | `badge` | `string \| number` | `''` | Text/counter badge after label |
1690
+ | `closable` | `boolean` | `false` | Show a separate close button |
1691
+
1692
+ ##### Outputs
1693
+
1694
+ | Output | Type | Description |
1695
+ | ---------- | ------ | -------------------------- |
1696
+ | `tabClose` | `void` | Tab's close button clicked |
1606
1697
 
1607
1698
  #### AccordionComponent (`ngx-accordion`)
1608
1699
 
@@ -18,6 +18,7 @@ interface ProcessedCell {
18
18
  }
19
19
  export declare class AdjacencyMatrixComponent {
20
20
  private readonly exportSvc;
21
+ private readonly i18n;
21
22
  matrix: import("@angular/core").InputSignal<number[][]>;
22
23
  labels: import("@angular/core").InputSignal<string[]>;
23
24
  height: import("@angular/core").InputSignal<number>;
@@ -46,7 +47,9 @@ export declare class AdjacencyMatrixComponent {
46
47
  cellSize: import("@angular/core").Signal<number>;
47
48
  constructor();
48
49
  computedCells: import("@angular/core").Signal<ProcessedCell[]>;
49
- onCellHover(row: number, col: number, event: MouseEvent): void;
50
+ onCellHover(row: number, col: number): void;
51
+ accessibleCellLabel(cell: ProcessedCell): string;
52
+ onCellFocus(event: FocusEvent, cell: ProcessedCell): void;
50
53
  onMouseMove(event: MouseEvent): void;
51
54
  onMouseLeave(): void;
52
55
  onExport(type: ExportFormat): void;
@@ -24,6 +24,7 @@ interface ProcessedNode extends TopologyNode {
24
24
  }
25
25
  export declare class AgenticCognitiveTopologyComponent {
26
26
  private readonly exportSvc;
27
+ private readonly i18n;
27
28
  nodes: import("@angular/core").InputSignal<TopologyNode[]>;
28
29
  links: import("@angular/core").InputSignal<TopologyLink[]>;
29
30
  width: import("@angular/core").InputSignal<number>;
@@ -139,7 +140,11 @@ export declare class AgenticCognitiveTopologyComponent {
139
140
  hasCycles: boolean;
140
141
  isValid: boolean;
141
142
  }>;
143
+ accessibleNodeLabel(node: TopologyNode): string;
144
+ accessibleLinkLabel(link: TopologyLink): string;
145
+ activateNode(node: TopologyNode): void;
142
146
  onNodeClick(node: TopologyNode, event: MouseEvent): void;
147
+ private showNodeTooltip;
143
148
  onCanvasClick(): void;
144
149
  closeTooltip(): void;
145
150
  triggerAction(action: string, nodeId: string): void;
@@ -33,6 +33,7 @@ interface ProcessedLink {
33
33
  }
34
34
  export declare class ArcDiagramComponent {
35
35
  private readonly exportSvc;
36
+ private readonly i18n;
36
37
  nodes: import("@angular/core").InputSignal<ArcNode[]>;
37
38
  links: import("@angular/core").InputSignal<ArcLink[]>;
38
39
  height: import("@angular/core").InputSignal<number>;
@@ -56,8 +57,14 @@ export declare class ArcDiagramComponent {
56
57
  computedNodes: import("@angular/core").Signal<ProcessedNode[]>;
57
58
  computedLinks: import("@angular/core").Signal<ProcessedLink[]>;
58
59
  linkHovered(link: ProcessedLink): boolean;
60
+ accessibleNodeLabel(node: ProcessedNode): string;
61
+ accessibleLinkLabel(link: ProcessedLink): string;
59
62
  onNodeHover(event: MouseEvent, node: ProcessedNode): void;
63
+ onNodeFocus(event: FocusEvent, node: ProcessedNode): void;
64
+ private showNodeTooltip;
60
65
  onLinkHover(event: MouseEvent, link: ProcessedLink): void;
66
+ onLinkFocus(event: FocusEvent, link: ProcessedLink): void;
67
+ private showLinkTooltip;
61
68
  onMouseLeave(): void;
62
69
  onExport(type: ExportFormat): void;
63
70
  exportToJson(): void;
@@ -4,6 +4,8 @@ import { ChartSeries, fmtNum } from '../shared/chart-utils';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AreaChartComponent {
6
6
  private readonly exportSvc;
7
+ private readonly i18n;
8
+ private readonly host;
7
9
  readonly PAD_LEFT = 48;
8
10
  readonly PAD_TOP = 12;
9
11
  readonly PAD_RIGHT = 16;
@@ -46,6 +48,9 @@ export declare class AreaChartComponent {
46
48
  linePath(s: ChartSeries): string;
47
49
  areaPath(s: ChartSeries): string;
48
50
  onMouseMove(event: MouseEvent): void;
51
+ onMarkerFocus(event: FocusEvent, index: number): void;
52
+ accessibleMarkLabel(series: string, category: string, value: number): string;
53
+ private showCategoryTooltip;
49
54
  onMouseLeave(): void;
50
55
  onExport(type: ExportFormat): void;
51
56
  exportToJson(): void;
@@ -14,6 +14,7 @@ export interface AreaRangeSeries {
14
14
  }
15
15
  export declare class AreaRangeChartComponent {
16
16
  private readonly exportSvc;
17
+ readonly i18n: import("ngx-core-components/i18n").NgxCoreI18n;
17
18
  readonly PAD_LEFT = 48;
18
19
  readonly PAD_TOP = 15;
19
20
  readonly PAD_RIGHT = 16;
@@ -60,6 +61,9 @@ export declare class AreaRangeChartComponent {
60
61
  lowLinePath(s: AreaRangeSeries): string;
61
62
  areaPath(s: AreaRangeSeries): string;
62
63
  onMouseMove(event: MouseEvent): void;
64
+ onMarkFocus(event: FocusEvent, index: number): void;
65
+ accessibleRangeMarkLabel(series: string, point: AreaRangeDataPoint, boundary: 'high' | 'low'): string;
66
+ private showCategoryTooltip;
63
67
  onMouseLeave(): void;
64
68
  onExport(type: ExportFormat): void;
65
69
  exportToJson(): void;
@@ -14,6 +14,7 @@ export interface AreaRangeSeries {
14
14
  }
15
15
  export declare class AreaSplineRangeChartComponent {
16
16
  private readonly exportSvc;
17
+ readonly i18n: import("ngx-core-components/i18n").NgxCoreI18n;
17
18
  readonly PAD_LEFT = 48;
18
19
  readonly PAD_TOP = 15;
19
20
  readonly PAD_RIGHT = 16;
@@ -60,6 +61,9 @@ export declare class AreaSplineRangeChartComponent {
60
61
  lowLinePath(s: AreaRangeSeries): string;
61
62
  areaPath(s: AreaRangeSeries): string;
62
63
  onMouseMove(event: MouseEvent): void;
64
+ onMarkFocus(event: FocusEvent, index: number): void;
65
+ accessibleRangeMarkLabel(series: string, point: AreaRangeDataPoint, boundary: 'high' | 'low'): string;
66
+ private showCategoryTooltip;
63
67
  onMouseLeave(): void;
64
68
  onExport(type: ExportFormat): void;
65
69
  exportToJson(): void;
@@ -9,6 +9,7 @@ export interface CalendarHeatmapData {
9
9
  export declare class CalendarHeatmapComponent {
10
10
  readonly instanceId: string;
11
11
  private readonly exportSvc;
12
+ private readonly i18n;
12
13
  data: import("@angular/core").InputSignal<CalendarHeatmapData[]>;
13
14
  colorRange: import("@angular/core").InputSignal<string[]>;
14
15
  height: import("@angular/core").InputSignal<number>;
@@ -40,6 +41,8 @@ export declare class CalendarHeatmapComponent {
40
41
  private maxVal;
41
42
  getColor(value: number): string;
42
43
  onMouseEnter(event: MouseEvent, day: any): void;
44
+ accessibleCellLabel(day: CalendarHeatmapData): string;
45
+ onCellFocus(event: FocusEvent, day: CalendarHeatmapData): void;
43
46
  onMouseLeave(): void;
44
47
  onCellClick(day: any): void;
45
48
  onExport(type: ExportFormat): void;
@@ -10,6 +10,7 @@ export interface CandlestickItem {
10
10
  close: number;
11
11
  }
12
12
  export declare class CandlestickChartComponent {
13
+ private readonly i18n;
13
14
  private readonly exportSvc;
14
15
  PAD_LEFT: number;
15
16
  PAD_TOP: number;
@@ -60,6 +61,9 @@ export declare class CandlestickChartComponent {
60
61
  raw: CandlestickItem;
61
62
  }[]>;
62
63
  onCandleHover(event: MouseEvent, item: CandlestickItem, index: number): void;
64
+ accessibleCandleLabel(item: CandlestickItem): string;
65
+ onCandleFocus(event: FocusEvent, item: CandlestickItem, index: number): void;
66
+ private showCandleTooltip;
63
67
  formatDate(d: string | Date): string;
64
68
  onExport(type: ExportFormat): void;
65
69
  exportToJson(): void;
@@ -30,6 +30,7 @@ interface ProcessedRibbon {
30
30
  }
31
31
  export declare class ChordDiagramComponent {
32
32
  private readonly exportSvc;
33
+ private readonly i18n;
33
34
  matrix: import("@angular/core").InputSignal<number[][]>;
34
35
  labels: import("@angular/core").InputSignal<string[]>;
35
36
  height: import("@angular/core").InputSignal<number>;
@@ -50,8 +51,13 @@ export declare class ChordDiagramComponent {
50
51
  constructor();
51
52
  computedNodes: import("@angular/core").Signal<ProcessedNode[]>;
52
53
  computedRibbons: import("@angular/core").Signal<ProcessedRibbon[]>;
54
+ accessibleNodeLabel(node: ProcessedNode): string;
55
+ accessibleRibbonLabel(ribbon: ProcessedRibbon): string;
53
56
  onNodeHover(idx: number): void;
54
- onRibbonHover(idx: number, event: MouseEvent): void;
57
+ onNodeFocus(idx: number, event: FocusEvent): void;
58
+ onRibbonHover(idx: number): void;
59
+ onRibbonFocus(idx: number, event: FocusEvent): void;
60
+ private positionTooltipAtMark;
55
61
  onMouseMove(event: MouseEvent): void;
56
62
  onMouseLeave(): void;
57
63
  onExport(type: ExportFormat): void;
@@ -9,6 +9,7 @@ export interface ColumnPyramidSeries {
9
9
  }
10
10
  export declare class ColumnPyramidChartComponent {
11
11
  private readonly exportSvc;
12
+ private readonly i18n;
12
13
  readonly PAD_LEFT = 48;
13
14
  readonly PAD_TOP = 15;
14
15
  readonly PAD_RIGHT = 16;
@@ -46,7 +47,9 @@ export declare class ColumnPyramidChartComponent {
46
47
  pyramidPoints(i: number, si: number, v: number): string;
47
48
  labelY(v: number): number;
48
49
  seriesColor(i: number, s: ColumnPyramidSeries): string;
49
- onPyramidHover(ci: number, si: number, v: number, event: MouseEvent): void;
50
+ pyramidAccessibleLabel(categoryIndex: number, seriesIndex: number, value: number): string;
51
+ onPyramidHover(ci: number, si: number, v: number): void;
52
+ onPyramidFocus(ci: number, si: number, value: number, event: FocusEvent): void;
50
53
  onPyramidMouseMove(event: MouseEvent): void;
51
54
  onMouseLeave(): void;
52
55
  onExport(type: ExportFormat): void;
@@ -4,6 +4,7 @@ import { ChartSeries, fmtNum } from '../shared/chart-utils';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ComboChartComponent {
6
6
  private readonly exportSvc;
7
+ private readonly i18n;
7
8
  PAD_LEFT: number;
8
9
  PAD_TOP: number;
9
10
  PAD_RIGHT: number;
@@ -58,6 +59,9 @@ export declare class ComboChartComponent {
58
59
  lineSeriesColor(si: number): string;
59
60
  linePath(series: ChartSeries): string;
60
61
  onMouseMove(event: MouseEvent, index: number): void;
62
+ onMarkFocus(event: FocusEvent, index: number): void;
63
+ accessibleMarkLabel(series: string, category: string, value: number, axisTitle: string): string;
64
+ private showCategoryTooltip;
61
65
  onMouseLeave(): void;
62
66
  onExport(type: ExportFormat): void;
63
67
  exportToJson(): void;
@@ -30,6 +30,7 @@ interface ProcessedDependency {
30
30
  }
31
31
  export declare class DependencyWheelComponent {
32
32
  private readonly exportSvc;
33
+ private readonly i18n;
33
34
  matrix: import("@angular/core").InputSignal<number[][]>;
34
35
  labels: import("@angular/core").InputSignal<string[]>;
35
36
  height: import("@angular/core").InputSignal<number>;
@@ -50,8 +51,13 @@ export declare class DependencyWheelComponent {
50
51
  constructor();
51
52
  computedNodes: import("@angular/core").Signal<ProcessedNode[]>;
52
53
  computedDependencies: import("@angular/core").Signal<ProcessedDependency[]>;
54
+ accessibleNodeLabel(node: ProcessedNode): string;
55
+ accessibleDependencyLabel(dependency: ProcessedDependency): string;
53
56
  onNodeHover(idx: number): void;
54
- onDependencyHover(idx: number, event: MouseEvent): void;
57
+ onNodeFocus(idx: number, event: FocusEvent): void;
58
+ onDependencyHover(idx: number): void;
59
+ onDependencyFocus(idx: number, event: FocusEvent): void;
60
+ private positionTooltipAtMark;
55
61
  onMouseMove(event: MouseEvent): void;
56
62
  onMouseLeave(): void;
57
63
  onExport(type: ExportFormat): void;
@@ -5,6 +5,8 @@ export interface GaugeThreshold {
5
5
  color: string;
6
6
  }
7
7
  export declare class GaugeChartComponent {
8
+ private readonly i18n;
9
+ private readonly host;
8
10
  value: import("@angular/core").InputSignal<number>;
9
11
  min: import("@angular/core").InputSignal<number>;
10
12
  max: import("@angular/core").InputSignal<number>;
@@ -52,6 +54,8 @@ export declare class GaugeChartComponent {
52
54
  exportToSvg(): void;
53
55
  exportToPdf(): void;
54
56
  onMouseMove(event: MouseEvent): void;
57
+ accessibleGaugeLabel(): string;
58
+ onGaugeFocus(event: FocusEvent): void;
55
59
  private polarToCartesian;
56
60
  private describeArc;
57
61
  static ɵfac: i0.ɵɵFactoryDeclaration<GaugeChartComponent, never>;
@@ -18,6 +18,7 @@ interface HeatmapCell {
18
18
  }
19
19
  export declare class GeoHeatmapComponent {
20
20
  private readonly exportSvc;
21
+ private readonly i18n;
21
22
  title: import("@angular/core").InputSignal<string>;
22
23
  data: import("@angular/core").InputSignal<GeoHeatmapPoint[]>;
23
24
  height: import("@angular/core").InputSignal<number>;
@@ -46,7 +47,9 @@ export declare class GeoHeatmapComponent {
46
47
  color: string;
47
48
  radius: number;
48
49
  }[]>;
49
- onCellHover(cell: HeatmapCell, index: number, event: MouseEvent): void;
50
+ accessibleCellLabel(cell: HeatmapCell): string;
51
+ onCellHover(cell: HeatmapCell, index: number): void;
52
+ onCellFocus(cell: HeatmapCell, index: number, event: FocusEvent): void;
50
53
  onCellMouseMove(event: MouseEvent): void;
51
54
  onMouseLeave(): void;
52
55
  onExport(type: ExportFormat): void;
@@ -20,6 +20,7 @@ interface HeikinAshiCalculatedItem {
20
20
  export declare class HeikinAshiChartComponent {
21
21
  readonly instanceId: string;
22
22
  private readonly exportSvc;
23
+ private readonly i18n;
23
24
  readonly PAD_LEFT = 52;
24
25
  readonly PAD_TOP = 20;
25
26
  readonly PAD_RIGHT = 24;
@@ -75,6 +76,9 @@ export declare class HeikinAshiChartComponent {
75
76
  }[]>;
76
77
  shouldShowXLabel(index: number): boolean;
77
78
  onCandleHover(event: MouseEvent, item: HeikinAshiCalculatedItem, index: number): void;
79
+ accessibleCandleLabel(item: HeikinAshiCalculatedItem): string;
80
+ onCandleFocus(event: FocusEvent, item: HeikinAshiCalculatedItem, index: number): void;
81
+ private showCandleTooltip;
78
82
  formatDate(d: string | Date): string;
79
83
  onExport(type: ExportFormat): void;
80
84
  exportToCsv(): void;
@@ -14,6 +14,7 @@ export interface HistogramBin {
14
14
  }
15
15
  export declare class HistogramComponent {
16
16
  private readonly exportSvc;
17
+ private readonly i18n;
17
18
  data: import("@angular/core").InputSignal<number[]>;
18
19
  binsCount: import("@angular/core").InputSignal<number>;
19
20
  height: import("@angular/core").InputSignal<number>;
@@ -45,6 +46,8 @@ export declare class HistogramComponent {
45
46
  yPos(val: number): number;
46
47
  barColor(i: number): string;
47
48
  onBarHover(idx: number): void;
49
+ accessibleBinLabel(bin: HistogramBin): string;
50
+ onBarFocus(event: FocusEvent, idx: number): void;
48
51
  onMouseMove(event: MouseEvent): void;
49
52
  onMouseLeave(): void;
50
53
  onExport(type: ExportFormat): void;
@@ -9,6 +9,7 @@ export interface HLCItem {
9
9
  close: number;
10
10
  }
11
11
  export declare class HLCChartComponent {
12
+ private readonly i18n;
12
13
  private readonly exportSvc;
13
14
  readonly PAD_LEFT = 52;
14
15
  readonly PAD_TOP = 20;
@@ -58,7 +59,11 @@ export declare class HLCChartComponent {
58
59
  raw: HLCItem;
59
60
  }[]>;
60
61
  shouldShowXLabel(index: number): boolean;
62
+ accessibleTickLabel(item: HLCItem): string;
61
63
  onTickHover(event: MouseEvent, item: HLCItem, index: number): void;
64
+ onTickFocus(event: FocusEvent, item: HLCItem, index: number): void;
65
+ private showTickTooltip;
66
+ onTickBlur(): void;
62
67
  formatDate(d: string | Date): string;
63
68
  onExport(type: ExportFormat): void;
64
69
  exportToCsv(): void;
@@ -11,6 +11,7 @@ export interface CandlestickItem {
11
11
  }
12
12
  export declare class HollowCandlestickChartComponent {
13
13
  private readonly exportSvc;
14
+ private readonly i18n;
14
15
  readonly PAD_LEFT = 52;
15
16
  readonly PAD_TOP = 20;
16
17
  readonly PAD_RIGHT = 24;
@@ -68,6 +69,9 @@ export declare class HollowCandlestickChartComponent {
68
69
  }[]>;
69
70
  shouldShowXLabel(index: number): boolean;
70
71
  onCandleHover(event: MouseEvent, item: CandlestickItem, index: number): void;
72
+ accessibleCandleLabel(item: CandlestickItem): string;
73
+ onCandleFocus(event: FocusEvent, item: CandlestickItem, index: number): void;
74
+ private showCandleTooltip;
71
75
  formatDate(d: string | Date): string;
72
76
  onExport(type: ExportFormat): void;
73
77
  exportToCsv(): void;
@@ -14,6 +14,7 @@ export interface KagiSegment {
14
14
  }
15
15
  export declare class KagiChartComponent {
16
16
  private readonly exportSvc;
17
+ private readonly i18n;
17
18
  data: import("@angular/core").InputSignal<number[]>;
18
19
  reversalAmount: import("@angular/core").InputSignal<number>;
19
20
  height: import("@angular/core").InputSignal<number>;
@@ -45,7 +46,9 @@ export declare class KagiChartComponent {
45
46
  yDomainMax: import("@angular/core").Signal<number>;
46
47
  yDomainMin: import("@angular/core").Signal<number>;
47
48
  yPos(val: number): number;
48
- onSegmentHover(idx: number, event: MouseEvent): void;
49
+ accessibleSegmentLabel(segment: KagiSegment, index: number): string;
50
+ onSegmentHover(idx: number): void;
51
+ onSegmentFocus(event: FocusEvent, idx: number): void;
49
52
  onMouseMove(event: MouseEvent): void;
50
53
  onMouseLeave(): void;
51
54
  onExport(type: ExportFormat): void;
@@ -12,6 +12,7 @@ export interface MapBubblePoint {
12
12
  }
13
13
  export declare class MapBubbleComponent {
14
14
  private readonly exportSvc;
15
+ private readonly i18n;
15
16
  title: import("@angular/core").InputSignal<string>;
16
17
  data: import("@angular/core").InputSignal<MapBubblePoint[]>;
17
18
  height: import("@angular/core").InputSignal<number>;
@@ -42,7 +43,9 @@ export declare class MapBubbleComponent {
42
43
  color: string;
43
44
  raw: MapBubblePoint;
44
45
  }[]>;
45
- onBubbleHover(bubble: any, index: number, event: MouseEvent): void;
46
+ onBubbleHover(bubble: any, index: number): void;
47
+ accessibleBubbleLabel(point: MapBubblePoint): string;
48
+ onBubbleFocus(bubble: any, index: number, event: FocusEvent): void;
46
49
  onBubbleMouseMove(event: MouseEvent): void;
47
50
  onMouseLeave(): void;
48
51
  onExport(type: ExportFormat): void;
@@ -9,6 +9,7 @@ export interface ChoroplethDataPoint {
9
9
  }
10
10
  export declare class MapChoroplethComponent {
11
11
  private readonly exportSvc;
12
+ private readonly i18n;
12
13
  title: import("@angular/core").InputSignal<string>;
13
14
  data: import("@angular/core").InputSignal<ChoroplethDataPoint[]>;
14
15
  height: import("@angular/core").InputSignal<number>;
@@ -37,7 +38,14 @@ export declare class MapChoroplethComponent {
37
38
  label: string;
38
39
  fillColor: string;
39
40
  }[]>;
40
- onRegionHover(region: any, event: MouseEvent): void;
41
+ accessibleRegionLabel(region: {
42
+ name: string;
43
+ value: number;
44
+ hasData: boolean;
45
+ label: string;
46
+ }): string;
47
+ onRegionHover(region: any): void;
48
+ onRegionFocus(region: any, event: FocusEvent): void;
41
49
  onRegionMouseMove(event: MouseEvent): void;
42
50
  onMouseLeave(): void;
43
51
  onExport(type: ExportFormat): void;
@@ -18,6 +18,7 @@ export interface MapLine {
18
18
  }
19
19
  export declare class MapLinePointComponent {
20
20
  private readonly exportSvc;
21
+ private readonly i18n;
21
22
  title: import("@angular/core").InputSignal<string>;
22
23
  points: import("@angular/core").InputSignal<MapPoint[]>;
23
24
  lines: import("@angular/core").InputSignal<MapLine[]>;
@@ -51,9 +52,14 @@ export declare class MapLinePointComponent {
51
52
  strokeWidth: number;
52
53
  raw: MapLine;
53
54
  }[]>;
54
- onPointHover(pt: MapPoint, idx: number, event: MouseEvent): void;
55
+ onPointHover(pt: MapPoint, idx: number): void;
56
+ accessiblePointLabel(point: MapPoint): string;
57
+ onPointFocus(point: MapPoint, index: number, event: FocusEvent): void;
55
58
  onPointMouseMove(event: MouseEvent): void;
56
- onLineHover(line: MapLine, idx: number, event: MouseEvent): void;
59
+ onLineHover(line: MapLine, idx: number): void;
60
+ accessibleLineLabel(line: MapLine): string;
61
+ onLineFocus(line: MapLine, index: number, event: FocusEvent): void;
62
+ private positionTooltip;
57
63
  onLineMouseMove(event: MouseEvent): void;
58
64
  onMouseLeave(): void;
59
65
  onExport(type: ExportFormat): void;
@@ -12,6 +12,7 @@ export interface GaugeThreshold {
12
12
  color: string;
13
13
  }
14
14
  export declare class MultiNeedleGaugeComponent {
15
+ private readonly i18n;
15
16
  needles: import("@angular/core").InputSignal<GaugeNeedle[]>;
16
17
  min: import("@angular/core").InputSignal<number>;
17
18
  max: import("@angular/core").InputSignal<number>;
@@ -23,8 +24,13 @@ export declare class MultiNeedleGaugeComponent {
23
24
  showExport: import("@angular/core").InputSignal<boolean>;
24
25
  private exportSvc;
25
26
  needleClick: import("@angular/core").OutputEmitterRef<GaugeNeedle>;
27
+ focusedNeedle: import("@angular/core").WritableSignal<GaugeNeedle | null>;
28
+ tooltipX: import("@angular/core").WritableSignal<number>;
29
+ tooltipY: import("@angular/core").WritableSignal<number>;
26
30
  container: import("@angular/core").Signal<ElementRef<any> | undefined>;
27
31
  onExport(type: ExportFormat): void;
32
+ accessibleNeedleLabel(needle: GaugeNeedle): string;
33
+ onNeedleFocus(event: FocusEvent, needle: GaugeNeedle): void;
28
34
  width: import("@angular/core").WritableSignal<number>;
29
35
  chartId: string;
30
36
  trackWidth: number;
@@ -9,6 +9,7 @@ export interface DonutRing {
9
9
  export declare class NestedDonutChartComponent {
10
10
  readonly instanceId: string;
11
11
  private readonly exportSvc;
12
+ private readonly i18n;
12
13
  rings: import("@angular/core").InputSignal<DonutRing[]>;
13
14
  height: import("@angular/core").InputSignal<number>;
14
15
  ringWidth: import("@angular/core").InputSignal<number>;
@@ -61,6 +62,12 @@ export declare class NestedDonutChartComponent {
61
62
  };
62
63
  getArcPath(startAngle: number, endAngle: number, innerRadius: number, outerRadius: number): string;
63
64
  onMouseEnter(event: MouseEvent, ringName: string, slice: any): void;
65
+ accessibleSliceLabel(ring: string, label: string, value: number): string;
66
+ onSliceFocus(event: FocusEvent, ring: string, slice: {
67
+ label: string;
68
+ value: number;
69
+ color: string;
70
+ }): void;
64
71
  onMouseLeave(): void;
65
72
  onSliceClick(ring: string, slice: any): void;
66
73
  onExport(type: ExportFormat): void;
@@ -35,6 +35,7 @@ interface SimulatedLink {
35
35
  }
36
36
  export declare class NetworkGraphComponent {
37
37
  private readonly exportSvc;
38
+ private readonly i18n;
38
39
  nodes: import("@angular/core").InputSignal<NetworkNode[]>;
39
40
  links: import("@angular/core").InputSignal<NetworkLink[]>;
40
41
  height: import("@angular/core").InputSignal<number>;
@@ -56,9 +57,15 @@ export declare class NetworkGraphComponent {
56
57
  computedLinks: import("@angular/core").Signal<SimulatedLink[]>;
57
58
  getGroupColor(group: string, idx: number): string;
58
59
  linkHovered(link: SimulatedLink): boolean;
60
+ accessibleNodeLabel(node: SimulatedNode): string;
61
+ accessibleLinkLabel(link: SimulatedLink): string;
59
62
  onNodeMouseEnter(event: MouseEvent, node: SimulatedNode): void;
63
+ onNodeFocus(event: FocusEvent, node: SimulatedNode): void;
64
+ private showNodeTooltip;
60
65
  onNodeMouseLeave(): void;
61
66
  onLinkHover(event: MouseEvent, link: SimulatedLink): void;
67
+ onLinkFocus(event: FocusEvent, link: SimulatedLink): void;
68
+ private showLinkTooltip;
62
69
  onMouseLeave(): void;
63
70
  onExport(type: ExportFormat): void;
64
71
  exportToJson(): void;