@tectra-ng/charts 0.3.1 → 0.4.0

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 (80) hide show
  1. package/fesm2022/tectra-ng-charts-bar-list.mjs.map +1 -1
  2. package/fesm2022/tectra-ng-charts-boxplot.mjs.map +1 -1
  3. package/fesm2022/tectra-ng-charts-bullet.mjs.map +1 -1
  4. package/fesm2022/tectra-ng-charts-candlestick.mjs.map +1 -1
  5. package/fesm2022/tectra-ng-charts-column.mjs.map +1 -1
  6. package/fesm2022/tectra-ng-charts-combo.mjs.map +1 -1
  7. package/fesm2022/tectra-ng-charts-core.mjs +3 -16
  8. package/fesm2022/tectra-ng-charts-core.mjs.map +1 -1
  9. package/fesm2022/tectra-ng-charts-funnel.mjs.map +1 -1
  10. package/fesm2022/tectra-ng-charts-gantt.mjs.map +1 -1
  11. package/fesm2022/tectra-ng-charts-gauge.mjs.map +1 -1
  12. package/fesm2022/tectra-ng-charts-heatmap.mjs.map +1 -1
  13. package/fesm2022/tectra-ng-charts-org-chart.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-charts-pie.mjs +1 -1
  15. package/fesm2022/tectra-ng-charts-pie.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-charts-radar.mjs.map +1 -1
  17. package/fesm2022/tectra-ng-charts-radial-bar.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-charts-rank-line.mjs.map +1 -1
  19. package/fesm2022/tectra-ng-charts-sankey.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-charts-scatter.mjs.map +1 -1
  21. package/fesm2022/tectra-ng-charts-segmented-bar.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-charts-sunburst.mjs.map +1 -1
  23. package/fesm2022/tectra-ng-charts-treemap.mjs +5 -5
  24. package/fesm2022/tectra-ng-charts-treemap.mjs.map +1 -1
  25. package/fesm2022/tectra-ng-charts-waterfall.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-charts.mjs +1 -1
  27. package/fesm2022/tectra-ng-charts.mjs.map +1 -1
  28. package/package.json +9 -9
  29. package/pie/README.md +1 -1
  30. package/treemap/README.md +1 -1
  31. package/types/tectra-ng-charts-bar-list.d.ts +32 -634
  32. package/types/tectra-ng-charts-bar-list.d.ts.map +1 -1
  33. package/types/tectra-ng-charts-boxplot.d.ts +77 -634
  34. package/types/tectra-ng-charts-boxplot.d.ts.map +1 -1
  35. package/types/tectra-ng-charts-bullet.d.ts +66 -634
  36. package/types/tectra-ng-charts-bullet.d.ts.map +1 -1
  37. package/types/tectra-ng-charts-candlestick.d.ts +62 -634
  38. package/types/tectra-ng-charts-candlestick.d.ts.map +1 -1
  39. package/types/tectra-ng-charts-column.d.ts +81 -634
  40. package/types/tectra-ng-charts-column.d.ts.map +1 -1
  41. package/types/tectra-ng-charts-combo.d.ts +98 -634
  42. package/types/tectra-ng-charts-combo.d.ts.map +1 -1
  43. package/types/tectra-ng-charts-core.d.ts +451 -6
  44. package/types/tectra-ng-charts-core.d.ts.map +1 -1
  45. package/types/tectra-ng-charts-funnel.d.ts +73 -634
  46. package/types/tectra-ng-charts-funnel.d.ts.map +1 -1
  47. package/types/tectra-ng-charts-gantt.d.ts +97 -634
  48. package/types/tectra-ng-charts-gantt.d.ts.map +1 -1
  49. package/types/tectra-ng-charts-gauge.d.ts +56 -634
  50. package/types/tectra-ng-charts-gauge.d.ts.map +1 -1
  51. package/types/tectra-ng-charts-heatmap.d.ts +102 -634
  52. package/types/tectra-ng-charts-heatmap.d.ts.map +1 -1
  53. package/types/tectra-ng-charts-line.d.ts +74 -634
  54. package/types/tectra-ng-charts-line.d.ts.map +1 -1
  55. package/types/tectra-ng-charts-org-chart.d.ts +161 -634
  56. package/types/tectra-ng-charts-org-chart.d.ts.map +1 -1
  57. package/types/tectra-ng-charts-pie.d.ts +91 -634
  58. package/types/tectra-ng-charts-pie.d.ts.map +1 -1
  59. package/types/tectra-ng-charts-radar.d.ts +82 -634
  60. package/types/tectra-ng-charts-radar.d.ts.map +1 -1
  61. package/types/tectra-ng-charts-radial-bar.d.ts +69 -634
  62. package/types/tectra-ng-charts-radial-bar.d.ts.map +1 -1
  63. package/types/tectra-ng-charts-range-area.d.ts +61 -634
  64. package/types/tectra-ng-charts-range-area.d.ts.map +1 -1
  65. package/types/tectra-ng-charts-rank-line.d.ts +55 -634
  66. package/types/tectra-ng-charts-rank-line.d.ts.map +1 -1
  67. package/types/tectra-ng-charts-sankey.d.ts +85 -634
  68. package/types/tectra-ng-charts-sankey.d.ts.map +1 -1
  69. package/types/tectra-ng-charts-scatter.d.ts +98 -634
  70. package/types/tectra-ng-charts-scatter.d.ts.map +1 -1
  71. package/types/tectra-ng-charts-segmented-bar.d.ts +39 -634
  72. package/types/tectra-ng-charts-segmented-bar.d.ts.map +1 -1
  73. package/types/tectra-ng-charts-sunburst.d.ts +57 -634
  74. package/types/tectra-ng-charts-sunburst.d.ts.map +1 -1
  75. package/types/tectra-ng-charts-treemap.d.ts +77 -634
  76. package/types/tectra-ng-charts-treemap.d.ts.map +1 -1
  77. package/types/tectra-ng-charts-waterfall.d.ts +69 -634
  78. package/types/tectra-ng-charts-waterfall.d.ts.map +1 -1
  79. package/types/tectra-ng-charts.d.ts +2 -1
  80. package/types/tectra-ng-charts.d.ts.map +1 -1
@@ -1,106 +1,187 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { TemplateRef } from "@angular/core";
3
3
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
4
- import { TectraDeepPartial } from "@tectra-ng/themes";
4
+ import { TectraChartTokens, TectraDeepPartial } from "@tectra-ng/themes";
5
+ /** Color of a heatmap cell: `info` is striped and `pending` is outlined. */
5
6
  export type TxHeatmapTone = 'success' | 'danger' | 'warn' | 'info' | 'pending' | 'neutral';
7
+ /** One column of `tx-heatmap`. */
6
8
  export interface TxHeatmapColumn {
9
+ /** Unique key of the column, passed to `cellClick`. */
7
10
  key: string;
11
+ /** Text in the column header. */
8
12
  label: string;
9
13
  }
14
+ /** A band of columns of `tx-heatmap` under one header, such as the days of a week or the hours of a day. */
10
15
  export interface TxHeatmapColumnGroup {
16
+ /** Unique key of the band. */
11
17
  key: string;
18
+ /** Text over the band. */
12
19
  label: string;
20
+ /** Columns of the band, in order. */
13
21
  columns: TxHeatmapColumn[];
14
22
  }
23
+ /** One cell of `tx-heatmap`, colored by a tone or by its value on the scale. */
15
24
  export interface TxHeatmapCell {
25
+ /** Color of the cell; without it a cell with a `value` takes the scale color. */
16
26
  tone?: TxHeatmapTone;
27
+ /** Number placed on the color scale; `null` leaves the cell empty. */
17
28
  value?: number | null;
29
+ /** Text of the tooltip. */
18
30
  tooltip?: string;
31
+ /** Accessible name of the cell; the tooltip is used by default. */
19
32
  ariaLabel?: string;
33
+ /** Makes the cell a button that emits `cellClick`. */
20
34
  interactive?: boolean;
35
+ /** Draws nothing, for a slot outside the data. */
21
36
  hidden?: boolean;
37
+ /** Any data you want back in `cellClick`. */
22
38
  data?: unknown;
23
39
  }
40
+ /** One row of `tx-heatmap`: a header and a cell per column. */
24
41
  export interface TxHeatmapRow {
42
+ /** Unique key of the row. */
25
43
  key: string;
44
+ /** Text of the row header; the key by default. */
26
45
  label?: string;
46
+ /** Cells in the order of the columns of all groups; `null` is an empty slot. */
27
47
  cells: (TxHeatmapCell | null)[];
48
+ /** Any data you want back in the row templates and `cellClick`. */
28
49
  data?: unknown;
29
50
  }
51
+ /** One entry of the legend under the heatmap. */
30
52
  export interface TxHeatmapLegendItem {
53
+ /** Text of the entry. */
31
54
  label: string;
55
+ /** Tone of the sample cell. */
32
56
  tone?: TxHeatmapTone;
57
+ /** Value of the sample cell, colored on the scale. */
33
58
  value?: number;
34
59
  }
60
+ /** Texts of the heatmap that are not data, for translation. */
35
61
  export interface TxHeatmapLabels {
62
+ /** Text of the corner cell over the row headers. */
36
63
  rowHeader: string;
64
+ /** Text of the header over the value column. */
37
65
  valueHeader: string;
66
+ /** Text of the legend entry for empty cells. */
38
67
  empty: string;
68
+ /** Name of the scroll region for screen readers. */
39
69
  region: string;
40
70
  }
71
+ /** Payload of `cellClick`: the clicked cell, its row and its column. */
41
72
  export interface TxHeatmapCellClick {
73
+ /** Row of the cell. */
42
74
  row: TxHeatmapRow;
75
+ /** The clicked cell. */
43
76
  cell: TxHeatmapCell;
77
+ /** Key of the column of the cell. */
44
78
  columnKey: string;
45
79
  }
80
+ /** Context of the `txHeatmapRowHeader` and `txHeatmapRowValue` templates. */
46
81
  export interface TxHeatmapRowContext {
82
+ /** The row; what `let-row` binds to. */
47
83
  $implicit: TxHeatmapRow;
84
+ /** The row. */
48
85
  row: TxHeatmapRow;
49
86
  }
87
+ /** A cell of a row placed in its column. */
50
88
  export interface TxHeatmapCellSlot {
89
+ /** Key of the column. */
51
90
  columnKey: string;
91
+ /** The cell; `null` for an empty slot. */
52
92
  cell: TxHeatmapCell | null;
53
93
  }
94
+ /** The cells of one row that fall in one column band. */
54
95
  export interface TxHeatmapRowGroup {
96
+ /** Key of the column band. */
55
97
  key: string;
98
+ /** Cells of the row in that band, one per column. */
56
99
  slots: TxHeatmapCellSlot[];
57
100
  }
101
+ /** Color scale of cells that have a `value`. */
58
102
  export interface TxHeatmapScale {
103
+ /** Value drawn as empty; the start of the scale. */
59
104
  min: number;
105
+ /** Value with the full color. */
60
106
  max: number;
107
+ /** Number of color steps between them. */
61
108
  steps: number;
62
109
  }
110
+ /** A value of one day for `heatmapCalendar`. */
63
111
  export interface TxHeatmapCalendarValue {
112
+ /** The day, as a `Date` or an ISO string. */
64
113
  date: string | Date;
114
+ /** Number put on the color scale. */
65
115
  value: number;
116
+ /** Text of the tooltip; the date and the value by default. */
66
117
  tooltip?: string;
118
+ /** Any data you want back in `cellClick`; the ISO date by default. */
67
119
  data?: unknown;
68
120
  }
121
+ /** Options of `heatmapCalendar`: the period and how to format and open it. */
69
122
  export interface TxHeatmapCalendarOptions {
123
+ /** First day of the period. */
70
124
  from: string | Date;
125
+ /** Last day of the period. */
71
126
  to: string | Date;
127
+ /** Locale of month, weekday and date names (default `en-US`). */
72
128
  intl?: string;
129
+ /** First row of the grid, from 0 (Sunday) to 6 (Saturday); default 1 (Monday). */
73
130
  firstDayOfWeek?: number;
131
+ /** Makes the day cells buttons that emit `cellClick`. */
74
132
  interactive?: boolean;
133
+ /** Formats a value in the tooltip; the locale number format by default. */
75
134
  format?: (value: number) => string;
76
135
  }
136
+ /** A calendar heatmap: the `groups` and `rows` to give to `tx-heatmap`. */
77
137
  export interface TxHeatmapCalendar {
138
+ /** Months as column bands, each with a column per week. */
78
139
  groups: TxHeatmapColumnGroup[];
140
+ /** Seven rows, one per weekday. */
79
141
  rows: TxHeatmapRow[];
80
142
  }
143
+ /** Parts of `tx-heatmap` that `pt` can style. */
81
144
  export type TxHeatmapPart = 'root' | 'scroll' | 'grid' | 'head' | 'row' | 'lead' | 'groups' | 'group' | 'groupLabel' | 'columns' | 'column' | 'value' | 'cell' | 'legend';
145
+ /** Splits the cells of a row into the column bands, one slot per column. */
82
146
  export declare function heatmapRowGroups(cells: readonly (TxHeatmapCell | null)[], groups: readonly TxHeatmapColumnGroup[]): TxHeatmapRowGroup[];
147
+ /**
148
+ * Builds the color scale from the values of all cells; `min` and `max` override the found range and `steps` is at least 1.
149
+ */
83
150
  export declare function heatmapScale(rows: readonly TxHeatmapRow[], steps: number, min?: number, max?: number): TxHeatmapScale;
151
+ /** Color level of a value from 0 (empty) to 1 (full), in `steps` equal parts of the scale. */
84
152
  export declare function heatmapLevel(value: number | null | undefined, scale: TxHeatmapScale): number;
153
+ /** Accessible name of a cell: its `ariaLabel`, else its tooltip, else `null`. */
85
154
  export declare function heatmapCellLabel(cell: TxHeatmapCell): string | null;
155
+ /** Turns day values into a calendar heatmap: a band per month, a column per week and a row per weekday. */
86
156
  export declare function heatmapCalendar(values: readonly TxHeatmapCalendarValue[], options: TxHeatmapCalendarOptions): TxHeatmapCalendar;
157
+ /**
158
+ * `<ng-template txHeatmapRowHeader let-row>` — the sticky row header (default: `row.label` or `row.key`)
159
+ * @see https://tectra-ng.com/components/heatmap
160
+ */
87
161
  export declare class TxHeatmapRowHeader {
88
162
  static ngTemplateContextGuard(_directive: TxHeatmapRowHeader, context: unknown): context is TxHeatmapRowContext;
89
163
  static ɵfac: i0.ɵɵFactoryDeclaration<TxHeatmapRowHeader, never>;
90
164
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxHeatmapRowHeader, "ng-template[txHeatmapRowHeader]", never, {}, {}, never, never, true, never>;
91
165
  }
166
+ /**
167
+ * `<ng-template txHeatmapRowValue let-row>` — the sticky value column at the end of each row
168
+ * @see https://tectra-ng.com/components/heatmap
169
+ */
92
170
  export declare class TxHeatmapRowValue {
93
171
  static ngTemplateContextGuard(_directive: TxHeatmapRowValue, context: unknown): context is TxHeatmapRowContext;
94
172
  static ɵfac: i0.ɵɵFactoryDeclaration<TxHeatmapRowValue, never>;
95
173
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxHeatmapRowValue, "ng-template[txHeatmapRowValue]", never, {}, {}, never, never, true, never>;
96
174
  }
175
+ /** One cell of `tx-heatmap` and of its legend: draws the tone or the scale level, and the tooltip. */
97
176
  export declare class TxHeatmapCellView {
98
177
  private readonly heatmapTheme;
99
178
  readonly cell: import("@angular/core").InputSignal<TxHeatmapCell | null>;
100
179
  readonly level: import("@angular/core").InputSignal<number | null>;
180
+ /** `{ label, tone?, value? }[]` under the grid; a "No data" item for empty cells is added at the end */
101
181
  readonly legend: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
102
182
  readonly boxClass: import("@angular/core").InputSignal<string | undefined>;
103
183
  readonly boxStyle: import("@angular/core").InputSignal<Record<string, string> | undefined>;
184
+ /** Removes the tectra styles and keeps the behaviour */
104
185
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
105
186
  readonly activate: import("@angular/core").OutputEmitterRef<void>;
106
187
  readonly isUnstyled: import("@angular/core").Signal<boolean>;
@@ -143,11 +224,13 @@ export declare class TxHeatmapCellView {
143
224
  "activate": "activate";
144
225
  }, never, never, true, never>;
145
226
  }
227
+ /** The legend under `tx-heatmap`: a sample cell with a label for each entry, and an entry for empty cells. */
146
228
  export declare class TxHeatmapLegend {
147
229
  private readonly heatmapTheme;
148
230
  readonly items: import("@angular/core").InputSignal<readonly TxHeatmapLegendItem[]>;
149
231
  readonly emptyLabel: import("@angular/core").InputSignal<string>;
150
232
  readonly scale: import("@angular/core").InputSignal<TxHeatmapScale | null>;
233
+ /** Removes the tectra styles and keeps the behaviour */
151
234
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
152
235
  readonly isUnstyled: import("@angular/core").Signal<boolean>;
153
236
  levelOf(value: number | undefined): number | null;
@@ -175,653 +258,38 @@ export declare class TxHeatmapLegend {
175
258
  };
176
259
  }, {}, never, never, true, never>;
177
260
  }
261
+ /**
262
+ * `<tx-heatmap>` — a grid of rows × columns, the columns grouped in bands (days by week, hours by day, months by year). Each cell is coloured by a tone or by its value on a colour scale. The header row, the row headers and the value column stay in place while the grid scrolls both ways inside `maxHeight`; cells have a tooltip and an accessible name, interactive cells are buttons. `heatmapCalendar()` turns dated values into a year (or any range) of days.
263
+ * @see https://tectra-ng.com/components/heatmap
264
+ */
178
265
  export declare class TxHeatmap {
179
266
  private readonly heatmapTheme;
180
267
  readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
268
+ /** `{ key, label, columns: { key, label }[] }[]` — column bands in order */
181
269
  readonly groups: import("@angular/core").InputSignal<readonly TxHeatmapColumnGroup[]>;
270
+ /** `{ key, label?, cells, data? }[]` — `cells` follow the columns of all groups in order; a cell is `{ tone?, value?, tooltip?, ariaLabel?, interactive?, hidden?, data? }` or `null` for an empty slot */
182
271
  readonly rows: import("@angular/core").InputSignal<readonly TxHeatmapRow[]>;
272
+ /** `{ label, tone?, value? }[]` under the grid; a "No data" item for empty cells is added at the end */
183
273
  readonly legend: import("@angular/core").InputSignal<readonly TxHeatmapLegendItem[]>;
274
+ /** `{ rowHeader, valueHeader, empty, region }` — texts of the header cells, the empty legend item and the scroll region name */
184
275
  readonly labels: import("@angular/core").InputSignal<Partial<TxHeatmapLabels>>;
276
+ /** Height after which the grid scrolls; default — the `chart.heatmap.maxHeight` token (364px) */
185
277
  readonly maxHeight: import("@angular/core").InputSignal<string | undefined>;
278
+ /** Number of colour steps for cells with a `value` (5) */
186
279
  readonly scaleSteps: import("@angular/core").InputSignal<number>;
280
+ /** Value drawn as empty and the start of the scale; default — the smallest value or 0 */
187
281
  readonly scaleMin: import("@angular/core").InputSignal<number | undefined>;
282
+ /** Value with the full colour; default — the biggest value */
188
283
  readonly scaleMax: import("@angular/core").InputSignal<number | undefined>;
189
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
190
- root: {
191
- fontFamily: string;
192
- color: string;
193
- background: string;
194
- };
195
- series: {
196
- color1: string;
197
- color2: string;
198
- color3: string;
199
- color4: string;
200
- color5: string;
201
- color6: string;
202
- color7: string;
203
- };
204
- toolbar: {
205
- rowHeight: string;
206
- reserve: string;
207
- disabledOpacity: string;
208
- };
209
- grid: {
210
- color: string;
211
- width: string;
212
- dash: string;
213
- };
214
- zeroLine: {
215
- color: string;
216
- width: string;
217
- };
218
- axis: {
219
- labelColor: string;
220
- labelFontSize: string;
221
- labelFontWeight: string;
222
- titleColor: string;
223
- titleFontSize: string;
224
- titleFontWeight: string;
225
- lineColor: string;
226
- };
227
- legend: {
228
- gap: string;
229
- itemGap: string;
230
- color: string;
231
- mutedColor: string;
232
- fontSize: string;
233
- fontWeight: string;
234
- markerSize: string;
235
- markerRadius: string;
236
- markerGap: string;
237
- lineWidth: string;
238
- lineHeight: string;
239
- hiddenOpacity: string;
240
- borderRadius: string;
241
- hoverBackground: string;
242
- paddingX: string;
243
- paddingY: string;
244
- sideWidth: string;
245
- valueColor: string;
246
- valueGap: string;
247
- percentGap: string;
248
- listGap: string;
249
- pillBorderColor: string;
250
- pillRadius: string;
251
- pillPaddingX: string;
252
- pillPaddingY: string;
253
- pillTint: string;
254
- statLabelFontSize: string;
255
- statValueFontSize: string;
256
- statValueFontWeight: string;
257
- statPaddingX: string;
258
- statPaddingY: string;
259
- statRadius: string;
260
- statMinWidth: string;
261
- };
262
- tooltip: {
263
- background: string;
264
- borderColor: string;
265
- borderWidth: string;
266
- borderRadius: string;
267
- shadow: string;
268
- color: string;
269
- mutedColor: string;
270
- fontSize: string;
271
- titleFontSize: string;
272
- titleFontWeight: string;
273
- valueFontWeight: string;
274
- padding: string;
275
- rowGap: string;
276
- markerSize: string;
277
- markerGap: string;
278
- valueGap: string;
279
- minWidth: string;
280
- arrowSize: string;
281
- offset: string;
282
- totalBorderColor: string;
283
- noteColor: string;
284
- };
285
- hoverBand: {
286
- color: string;
287
- radius: string;
288
- };
289
- annotation: {
290
- neutralColor: string;
291
- primaryColor: string;
292
- successColor: string;
293
- infoColor: string;
294
- warnColor: string;
295
- dangerColor: string;
296
- lineWidth: string;
297
- lineDash: string;
298
- bandStrength: string;
299
- pointRadius: string;
300
- labelFontSize: string;
301
- labelFontWeight: string;
302
- labelColor: string;
303
- labelStrength: string;
304
- labelBase: string;
305
- labelBorderWidth: string;
306
- labelRadius: string;
307
- };
308
- brush: {
309
- trackBackground: string;
310
- maskColor: string;
311
- areaOpacity: string;
312
- lineWidth: string;
313
- windowBorderColor: string;
314
- windowBorderWidth: string;
315
- handleColor: string;
316
- handleBorderColor: string;
317
- handleRadius: string;
318
- radius: string;
319
- };
320
- crosshair: {
321
- color: string;
322
- width: string;
323
- dash: string;
324
- };
325
- marker: {
326
- radius: string;
327
- strokeColor: string;
328
- strokeWidth: string;
329
- haloRadius: string;
330
- haloOpacity: string;
331
- };
332
- line: {
333
- strokeWidth: string;
334
- areaOpacityFrom: string;
335
- areaOpacityTo: string;
336
- stackedAreaOpacity: string;
337
- pointRadius: string;
338
- dimmedOpacity: string;
339
- };
340
- bar: {
341
- radius: string;
342
- width: string;
343
- horizontalWidth: string;
344
- groupGap: string;
345
- segmentGap: string;
346
- segmentGapColor: string;
347
- dimmedStrength: string;
348
- dimmedBase: string;
349
- labelColor: string;
350
- labelFontSize: string;
351
- labelFontWeight: string;
352
- outsideLabelColor: string;
353
- };
354
- scatter: {
355
- pointRadius: string;
356
- bubbleMinRadius: string;
357
- bubbleMaxRadius: string;
358
- fillOpacity: string;
359
- bubbleFillOpacity: string;
360
- strokeColor: string;
361
- strokeWidth: string;
362
- activeStrokeWidth: string;
363
- dimmedOpacity: string;
364
- trendWidth: string;
365
- trendDash: string;
366
- };
367
- radar: {
368
- strokeWidth: string;
369
- fillOpacity: string;
370
- activeFillOpacity: string;
371
- pointRadius: string;
372
- labelGap: string;
373
- labelColor: string;
374
- labelFontSize: string;
375
- labelFontWeight: string;
376
- activeLabelColor: string;
377
- tickColor: string;
378
- tickFontSize: string;
379
- dimmedOpacity: string;
380
- };
381
- radialBar: {
382
- trackColor: string;
383
- thickness: string;
384
- dimmedOpacity: string;
385
- valueColor: string;
386
- valueFontWeight: string;
387
- labelColor: string;
388
- labelFontWeight: string;
389
- };
390
- gauge: {
391
- thickness: string;
392
- trackColor: string;
393
- bandGap: string;
394
- progressColor: string;
395
- needleColor: string;
396
- needleWidth: string;
397
- hubRadius: string;
398
- hubColor: string;
399
- hubStrokeWidth: string;
400
- tickColor: string;
401
- tickLength: string;
402
- tickLabelColor: string;
403
- tickLabelFontSize: string;
404
- valueColor: string;
405
- valueFontWeight: string;
406
- labelColor: string;
407
- labelFontWeight: string;
408
- primaryColor: string;
409
- successColor: string;
410
- infoColor: string;
411
- warnColor: string;
412
- dangerColor: string;
413
- neutralColor: string;
414
- };
415
- waterfall: {
416
- upColor: string;
417
- downColor: string;
418
- totalColor: string;
419
- connectorColor: string;
420
- connectorWidth: string;
421
- connectorDash: string;
422
- dimmedOpacity: string;
423
- };
424
- funnel: {
425
- rowGap: string;
426
- radius: string;
427
- labelColor: string;
428
- labelFontSize: string;
429
- labelFontWeight: string;
430
- valueColor: string;
431
- valueFontSize: string;
432
- valueFontWeight: string;
433
- outsideValueColor: string;
434
- connectorOpacity: string;
435
- conversionColor: string;
436
- conversionFontSize: string;
437
- labelWidth: string;
438
- dimmedOpacity: string;
439
- };
440
- bullet: {
441
- rowHeight: string;
442
- trackHeight: string;
443
- barHeight: string;
444
- rangeColor1: string;
445
- rangeColor2: string;
446
- rangeColor3: string;
447
- barColor: string;
448
- barRadius: string;
449
- targetColor: string;
450
- targetWidth: string;
451
- targetHeight: string;
452
- dimmedOpacity: string;
453
- };
454
- candlestick: {
455
- upColor: string;
456
- downColor: string;
457
- bodyWidth: string;
458
- bodyRadius: string;
459
- wickWidth: string;
460
- volumeHeight: string;
461
- volumeOpacity: string;
462
- dimmedOpacity: string;
463
- };
464
- boxplot: {
465
- boxWidth: string;
466
- groupGap: string;
467
- fillOpacity: string;
468
- strokeWidth: string;
469
- medianWidth: string;
470
- whiskerWidth: string;
471
- outlierRadius: string;
472
- radius: string;
473
- dimmedOpacity: string;
474
- };
475
- rangeArea: {
476
- fillOpacity: string;
477
- edgeWidth: string;
478
- edgeOpacity: string;
479
- lineWidth: string;
480
- dimmedOpacity: string;
481
- };
482
- gantt: {
483
- rowHeight: string;
484
- headerRowHeight: string;
485
- labelWidth: string;
486
- labelPaddingX: string;
487
- barHeight: string;
488
- barRadius: string;
489
- trackStrength: string;
490
- barBorderStrength: string;
491
- trackBase: string;
492
- barLabelGap: string;
493
- barLabelColor: string;
494
- insideLabelColor: string;
495
- insideStrength: string;
496
- insideAccentWidth: string;
497
- fontSize: string;
498
- labelColor: string;
499
- groupColor: string;
500
- groupFontWeight: string;
501
- groupBackground: string;
502
- summaryHeight: string;
503
- summaryColor: string;
504
- headerColor: string;
505
- headerFontSize: string;
506
- headerTopColor: string;
507
- headerTopFontWeight: string;
508
- headerBackground: string;
509
- background: string;
510
- borderColor: string;
511
- weekendBackground: string;
512
- rowHoverBackground: string;
513
- foldDuration: string;
514
- foldEasing: string;
515
- todayColor: string;
516
- todayWidth: string;
517
- milestoneSize: string;
518
- milestoneColor: string;
519
- milestoneRadius: string;
520
- toolbarGap: string;
521
- maxHeight: string;
522
- radius: string;
523
- };
524
- sankey: {
525
- nodeWidth: string;
526
- nodePadding: string;
527
- nodeRadius: string;
528
- linkStrength: string;
529
- linkActiveStrength: string;
530
- linkDimmedStrength: string;
531
- linkBase: string;
532
- linkEdgeColor: string;
533
- linkEdgeWidth: string;
534
- nodeDimmedOpacity: string;
535
- labelGap: string;
536
- labelColor: string;
537
- labelFontSize: string;
538
- labelFontWeight: string;
539
- valueColor: string;
540
- };
541
- sunburst: {
542
- hole: string;
543
- gap: string;
544
- gapColor: string;
545
- cornerRadius: string;
546
- levelFade: string;
547
- fadeBase: string;
548
- dimmedOpacity: string;
549
- labelColor: string;
550
- labelFontSize: string;
551
- labelFontWeight: string;
552
- labelShadow: string;
553
- centerValueColor: string;
554
- centerValueFontWeight: string;
555
- centerLabelColor: string;
556
- centerHoverBackground: string;
557
- };
558
- pie: {
559
- segmentGap: string;
560
- segmentRadius: string;
561
- hoverOffset: string;
562
- dimmedStrength: string;
563
- dimmedBase: string;
564
- labelColor: string;
565
- labelFontSize: string;
566
- labelFontWeight: string;
567
- labelShadow: string;
568
- nameColor: string;
569
- nameFontSize: string;
570
- nameFontWeight: string;
571
- valueColor: string;
572
- valueFontSize: string;
573
- valueFontWeight: string;
574
- totalLabelColor: string;
575
- };
576
- treemap: {
577
- radius: string;
578
- gap: string;
579
- gapColor: string;
580
- labelColor: string;
581
- labelFontSize: string;
582
- labelFontWeight: string;
583
- valueFontSize: string;
584
- valueFontWeight: string;
585
- labelShadow: string;
586
- labelPadding: string;
587
- labelGap: string;
588
- groupBackground: string;
589
- groupLabelColor: string;
590
- groupLabelFontSize: string;
591
- groupLabelFontWeight: string;
592
- dimmedStrength: string;
593
- dimmedBase: string;
594
- };
595
- barList: {
596
- gap: string;
597
- columnGap: string;
598
- fontSize: string;
599
- rowHeight: string;
600
- rowPaddingX: string;
601
- rowRadius: string;
602
- rowHoverBackground: string;
603
- barBackground: string;
604
- barRadius: string;
605
- labelPaddingX: string;
606
- labelColor: string;
607
- valueColor: string;
608
- valueFontWeight: string;
609
- percentWidth: string;
610
- percentColor: string;
611
- emptyPaddingY: string;
612
- emptyColor: string;
613
- duration: string;
614
- };
615
- rankLine: {
616
- strokeWidth: string;
617
- markerRadius: string;
618
- markerHoverRadius: string;
619
- color1: string;
620
- color2: string;
621
- color3: string;
622
- color4: string;
623
- color5: string;
624
- color6: string;
625
- color7: string;
626
- color8: string;
627
- color9: string;
628
- color10: string;
629
- color11: string;
630
- color12: string;
631
- };
632
- orgChart: {
633
- gap: string;
634
- canvasMinHeight: string;
635
- canvasRadius: string;
636
- canvasBackground: string;
637
- canvasBorderColor: string;
638
- canvasDotColor: string;
639
- canvasDotGap: string;
640
- busyOpacity: string;
641
- stagePadding: string;
642
- stageDuration: string;
643
- forestGap: string;
644
- nodePaddingX: string;
645
- connectorHeight: string;
646
- connectorColor: string;
647
- connectorRadius: string;
648
- pathColor: string;
649
- pathWidth: string;
650
- cardWidth: string;
651
- cardPaddingX: string;
652
- cardPaddingY: string;
653
- cardGap: string;
654
- cardRadius: string;
655
- cardBackground: string;
656
- cardBorderColor: string;
657
- cardOpenBorderColor: string;
658
- cardMatchBorderColor: string;
659
- cardMatchBackground: string;
660
- cardPathGlow: string;
661
- iconSize: string;
662
- iconFontSize: string;
663
- iconRadius: string;
664
- iconColor: string;
665
- iconBackground: string;
666
- avatarSize: string;
667
- headingGap: string;
668
- titleFontSize: string;
669
- titleFontWeight: string;
670
- titleColor: string;
671
- subtitleFontSize: string;
672
- subtitleColor: string;
673
- pillsGap: string;
674
- emptyPadding: string;
675
- emptyFontSize: string;
676
- emptyColor: string;
677
- emptyBackground: string;
678
- toolbarGap: string;
679
- toolbarGroupGap: string;
680
- searchWidth: string;
681
- hintFontSize: string;
682
- hintColor: string;
683
- fullscreenInset: string;
684
- fullscreenRadius: string;
685
- fullscreenShadow: string;
686
- fullscreenLayer: string;
687
- backdrop: string;
688
- backdropBlur: string;
689
- floatingPadding: string;
690
- floatingBackground: string;
691
- floatingTitleFontSize: string;
692
- floatingTitleFontWeight: string;
693
- minimapInset: string;
694
- minimapPadding: string;
695
- minimapRadius: string;
696
- minimapMapRadius: string;
697
- minimapBackground: string;
698
- minimapMapBackground: string;
699
- minimapShadow: string;
700
- minimapItemColor: string;
701
- minimapItemRadius: string;
702
- minimapPrimaryColor: string;
703
- minimapAccentColor: string;
704
- minimapMutedColor: string;
705
- minimapViewportColor: string;
706
- minimapViewportBackground: string;
707
- };
708
- segmentedBar: {
709
- gap: string;
710
- largeGap: string;
711
- trackHeight: string;
712
- largeTrackHeight: string;
713
- trackGap: string;
714
- trackBackground: string;
715
- trackRadius: string;
716
- largeTrackRadius: string;
717
- segmentMinWidth: string;
718
- largeSegmentMinWidth: string;
719
- largeSegmentFontSize: string;
720
- largeSegmentFontWeight: string;
721
- legendGapX: string;
722
- largeLegendGapX: string;
723
- legendGapY: string;
724
- legendFontSize: string;
725
- largeLegendFontSize: string;
726
- legendItemGap: string;
727
- dotSize: string;
728
- largeDotSize: string;
729
- labelColor: string;
730
- largeLabelColor: string;
731
- monoFontFamily: string;
732
- valueColor: string;
733
- valueFontWeight: string;
734
- percentColor: string;
735
- asideColor: string;
736
- duration: string;
737
- primaryColor: string;
738
- primaryText: string;
739
- secondaryColor: string;
740
- secondaryText: string;
741
- successColor: string;
742
- successText: string;
743
- infoColor: string;
744
- infoText: string;
745
- warnColor: string;
746
- warnText: string;
747
- dangerColor: string;
748
- dangerText: string;
749
- neutralColor: string;
750
- neutralText: string;
751
- };
752
- heatmap: {
753
- maxHeight: string;
754
- background: string;
755
- scrollPaddingBottom: string;
756
- scrollRadius: string;
757
- rowGap: string;
758
- rowPaddingY: string;
759
- rowBorderColor: string;
760
- headPaddingBottom: string;
761
- leadWidth: string;
762
- leadPaddingEnd: string;
763
- leadFontSize: string;
764
- leadColor: string;
765
- valueWidth: string;
766
- headFontSize: string;
767
- headFontWeight: string;
768
- headColor: string;
769
- groupGap: string;
770
- groupLabelGap: string;
771
- groupLabelFontSize: string;
772
- groupLabelFontWeight: string;
773
- groupLabelColor: string;
774
- columnsMinWidth: string;
775
- columnGap: string;
776
- columnFontSize: string;
777
- columnColor: string;
778
- cellSize: string;
779
- cellRadius: string;
780
- cellHoverScale: string;
781
- cellDuration: string;
782
- legendCellSize: string;
783
- legendGapX: string;
784
- legendGapY: string;
785
- legendMarginTop: string;
786
- legendItemGap: string;
787
- legendFontSize: string;
788
- legendColor: string;
789
- successColor: string;
790
- dangerColor: string;
791
- warnColor: string;
792
- infoColor: string;
793
- infoTint: string;
794
- pendingBorderColor: string;
795
- neutralColor: string;
796
- emptyColor: string;
797
- scaleColor: string;
798
- scaleBase: string;
799
- };
800
- empty: {
801
- gap: string;
802
- color: string;
803
- fontSize: string;
804
- iconSize: string;
805
- iconFontSize: string;
806
- iconColor: string;
807
- iconBackground: string;
808
- };
809
- focusRing: {
810
- color: string;
811
- width: string;
812
- offset: string;
813
- };
814
- motion: {
815
- enterDuration: string;
816
- updateDuration: string;
817
- hoverDuration: string;
818
- easing: string;
819
- stagger: string;
820
- };
821
- }> | undefined>;
284
+ /** Design tokens of this heatmap (`chart`, group `heatmap`) — cell size, column widths (`leadWidth`, `valueWidth`), tone colours, scale colour */
285
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraChartTokens> | undefined>;
286
+ /** Classes and styles of the parts: `root`, `scroll`, `grid`, `head`, `row`, `lead`, `groups`, `group`, `groupLabel`, `columns`, `column`, `value`, `cell`, `legend` */
822
287
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxHeatmapPart, import("@tectra-ng/core/config").TxPassThroughValue<TxHeatmap>>> | undefined>;
288
+ /** How `pt` merges with the global pass-through */
823
289
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
290
+ /** Removes the tectra styles and keeps the behaviour */
824
291
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
292
+ /** An interactive cell was clicked or pressed with Enter / Space: `row`, `cell`, `columnKey` */
825
293
  readonly cellClick: import("@angular/core").OutputEmitterRef<TxHeatmapCellClick>;
826
294
  readonly rowHeaderTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
827
295
  readonly rowValueTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;