@tectra-ng/charts 0.3.2 → 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 +5 -5
  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
@@ -2,723 +2,166 @@ import { TxChartHeight, TxChartPart, TxChartPointerEvent, TxChartTooltipData, Tx
2
2
  import * as i0 from "@angular/core";
3
3
  import { TemplateRef } from "@angular/core";
4
4
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
5
- import { TectraDeepPartial } from "@tectra-ng/themes";
5
+ import { TectraChartTokens, TectraDeepPartial } from "@tectra-ng/themes";
6
+ /** One tile of `tx-treemap`; an item with `children` becomes a labelled group. */
6
7
  export interface TxTreemapItem {
8
+ /** Name of the tile or group. */
7
9
  label: string;
10
+ /** Value that sets the tile area; a group takes the sum of its children. */
8
11
  value?: number;
12
+ /** Own colour; children inherit it. */
9
13
  color?: string;
14
+ /** Tiles of the group. */
10
15
  children?: readonly TxTreemapItem[];
11
16
  }
17
+ /** A rectangle, in px. */
12
18
  export interface TxTreemapRect {
19
+ /** Left edge. */
13
20
  x: number;
21
+ /** Top edge. */
14
22
  y: number;
23
+ /** Width. */
15
24
  width: number;
25
+ /** Height. */
16
26
  height: number;
17
27
  }
28
+ /** A laid out value: its rectangle and the source item. */
18
29
  export interface TxTreemapNode<T = unknown> extends TxTreemapRect {
30
+ /** Index in the input list. */
19
31
  index: number;
32
+ /** Value that set the area. */
20
33
  value: number;
34
+ /** The source item. */
21
35
  item: T;
22
36
  }
37
+ /** One drawn tile with its position, texts and what fits inside. */
23
38
  export interface TxTreemapTile extends TxTreemapRect {
39
+ /** Stable key of the tile. */
24
40
  key: string;
41
+ /** Index of the tile among all tiles. */
25
42
  index: number;
43
+ /** Indexes from the top level down to the tile. */
26
44
  path: readonly number[];
45
+ /** Name of the tile. */
27
46
  label: string;
47
+ /** Name of the group the tile is in, `null` on the top level. */
28
48
  group: string | null;
49
+ /** Value of the tile. */
29
50
  value: number;
51
+ /** Share of the total, 0 to 1. */
30
52
  share: number;
53
+ /** CSS colour of the tile. */
31
54
  color: string;
55
+ /** `true` when the tile is big enough for its name. */
32
56
  nameFits: boolean;
57
+ /** `true` when the tile is big enough for the name and the value. */
33
58
  valueFits: boolean;
59
+ /** Formatted value. */
34
60
  valueText: string;
35
61
  }
62
+ /** Template context of `txTreemapTile`. */
36
63
  export interface TxTreemapTileContext {
64
+ /** The tile. */
37
65
  $implicit: TxTreemapTile;
66
+ /** The tile. */
38
67
  tile: TxTreemapTile;
68
+ /** Name of the tile. */
39
69
  label: string;
70
+ /** Formatted value. */
40
71
  value: string;
72
+ /** Formatted share of the total. */
41
73
  share: string;
74
+ /** CSS colour of the tile. */
42
75
  color: string;
76
+ /** Width of the tile, in px. */
43
77
  width: number;
78
+ /** Height of the tile, in px. */
44
79
  height: number;
45
80
  }
81
+ /** One drawn group frame with its label. */
46
82
  export interface TxTreemapGroup extends TxTreemapRect {
83
+ /** Stable key of the group. */
47
84
  key: string;
85
+ /** Name of the group. */
48
86
  label: string;
87
+ /** Sum of the values inside the group. */
49
88
  value: number;
89
+ /** CSS colour of the group. */
50
90
  color: string;
51
91
  }
92
+ /** Payload of the tile click event of `tx-treemap`. */
52
93
  export interface TxTreemapTileEvent {
94
+ /** Index of the tile. */
53
95
  index: number;
96
+ /** Indexes from the top level down to the tile. */
54
97
  path: readonly number[];
98
+ /** Name of the tile. */
55
99
  label: string;
100
+ /** Name of the group the tile is in, `null` on the top level. */
56
101
  group: string | null;
102
+ /** Value of the tile. */
57
103
  value: number;
104
+ /** Share of the total, 0 to 1. */
58
105
  share: number;
59
106
  }
107
+ /** Parts of `tx-treemap` that `pt` can style. */
60
108
  export type TxTreemapPart = TxChartPart | 'tile' | 'tileContent' | 'tileLabel' | 'tileValue' | 'group' | 'groupLabel';
109
+ /**
110
+ * Squarified treemap layout: fills a rectangle with one node per positive value, largest first, with tiles as square as possible.
111
+ */
61
112
  export declare function squarify<T>(items: readonly {
62
113
  value: number;
63
114
  item: T;
64
115
  }[], rect: TxTreemapRect): TxTreemapNode<T>[];
116
+ /** Value of an item: the sum of its children for a group, otherwise its own value; never below zero. */
65
117
  export declare function treemapValue(item: TxTreemapItem): number;
118
+ /** Shrinks a rectangle by `inset` px in total on each axis, keeping it centred. */
66
119
  export declare function insetRect(rect: TxTreemapRect, inset: number): TxTreemapRect;
120
+ /**
121
+ * `<ng-template txTreemapTile let-tile>` — own content of every tile; context `label`, `value` (formatted), `share`, `color`, `width`, `height`, clipped to the tile
122
+ * @see https://tectra-ng.com/components/treemap
123
+ */
67
124
  export declare class TxTreemapTileTemplate {
68
125
  readonly template: TemplateRef<TxTreemapTileContext>;
69
126
  static ngTemplateContextGuard(_directive: TxTreemapTileTemplate, context: unknown): context is TxTreemapTileContext;
70
127
  static ɵfac: i0.ɵɵFactoryDeclaration<TxTreemapTileTemplate, never>;
71
128
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxTreemapTileTemplate, "ng-template[txTreemapTile]", never, {}, {}, never, never, true, never>;
72
129
  }
130
+ /**
131
+ * `<tx-treemap>` — shares of a total as nested rectangles: each item is a tile with an area proportional to its value (squarified layout), the name and the formatted value drawn inside, cut with an ellipsis when the tile is narrow; `txTreemapTile` draws your own tile content. Items with `children` become a labelled group with their own tiles. Zero values are dropped; no positive value shows "No data".
132
+ * @see https://tectra-ng.com/components/treemap
133
+ */
73
134
  export declare class TxTreemap {
74
135
  private readonly treemapTheme;
75
136
  private locale;
76
137
  readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
138
+ /** `{ label, value?, color?, children? }[]` — tiles, or groups with `children` (a group's value is the sum of its children) */
77
139
  readonly items: import("@angular/core").InputSignal<readonly TxTreemapItem[] | null | undefined>;
140
+ /** Height: px (350) or `'100%'` of a parent with a definite height */
78
141
  readonly height: import("@angular/core").InputSignal<TxChartHeight>;
142
+ /** Writes the name inside each tile that has room for it (long names end with an ellipsis) */
79
143
  readonly showDataLabels: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
144
+ /** Writes the formatted value under the name when it fits */
80
145
  readonly showValues: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
146
+ /** Shows the tooltip on hover and keyboard focus */
81
147
  readonly showTooltip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
148
+ /** `(value, { seriesIndex, dataPointIndex }) => string` for the tooltip value */
82
149
  readonly tooltipFormatter: import("@angular/core").InputSignal<TxChartTooltipFormatter | null>;
150
+ /** Format of values: `number`, `integer`, `compact`, `percent` or a function */
83
151
  readonly valueFormat: import("@angular/core").InputSignal<TxChartValueFormat>;
152
+ /** Shows a skeleton of the same size */
84
153
  readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
154
+ /** What the treemap shows; starts the summary read by screen readers */
85
155
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
86
- readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
87
- root: {
88
- fontFamily: string;
89
- color: string;
90
- background: string;
91
- };
92
- series: {
93
- color1: string;
94
- color2: string;
95
- color3: string;
96
- color4: string;
97
- color5: string;
98
- color6: string;
99
- color7: string;
100
- };
101
- toolbar: {
102
- rowHeight: string;
103
- reserve: string;
104
- disabledOpacity: string;
105
- };
106
- grid: {
107
- color: string;
108
- width: string;
109
- dash: string;
110
- };
111
- zeroLine: {
112
- color: string;
113
- width: string;
114
- };
115
- axis: {
116
- labelColor: string;
117
- labelFontSize: string;
118
- labelFontWeight: string;
119
- titleColor: string;
120
- titleFontSize: string;
121
- titleFontWeight: string;
122
- lineColor: string;
123
- };
124
- legend: {
125
- gap: string;
126
- itemGap: string;
127
- color: string;
128
- mutedColor: string;
129
- fontSize: string;
130
- fontWeight: string;
131
- markerSize: string;
132
- markerRadius: string;
133
- markerGap: string;
134
- lineWidth: string;
135
- lineHeight: string;
136
- hiddenOpacity: string;
137
- borderRadius: string;
138
- hoverBackground: string;
139
- paddingX: string;
140
- paddingY: string;
141
- sideWidth: string;
142
- valueColor: string;
143
- valueGap: string;
144
- percentGap: string;
145
- listGap: string;
146
- pillBorderColor: string;
147
- pillRadius: string;
148
- pillPaddingX: string;
149
- pillPaddingY: string;
150
- pillTint: string;
151
- statLabelFontSize: string;
152
- statValueFontSize: string;
153
- statValueFontWeight: string;
154
- statPaddingX: string;
155
- statPaddingY: string;
156
- statRadius: string;
157
- statMinWidth: string;
158
- };
159
- tooltip: {
160
- background: string;
161
- borderColor: string;
162
- borderWidth: string;
163
- borderRadius: string;
164
- shadow: string;
165
- color: string;
166
- mutedColor: string;
167
- fontSize: string;
168
- titleFontSize: string;
169
- titleFontWeight: string;
170
- valueFontWeight: string;
171
- padding: string;
172
- rowGap: string;
173
- markerSize: string;
174
- markerGap: string;
175
- valueGap: string;
176
- minWidth: string;
177
- arrowSize: string;
178
- offset: string;
179
- totalBorderColor: string;
180
- noteColor: string;
181
- };
182
- hoverBand: {
183
- color: string;
184
- radius: string;
185
- };
186
- annotation: {
187
- neutralColor: string;
188
- primaryColor: string;
189
- successColor: string;
190
- infoColor: string;
191
- warnColor: string;
192
- dangerColor: string;
193
- lineWidth: string;
194
- lineDash: string;
195
- bandStrength: string;
196
- pointRadius: string;
197
- labelFontSize: string;
198
- labelFontWeight: string;
199
- labelColor: string;
200
- labelStrength: string;
201
- labelBase: string;
202
- labelBorderWidth: string;
203
- labelRadius: string;
204
- };
205
- brush: {
206
- trackBackground: string;
207
- maskColor: string;
208
- areaOpacity: string;
209
- lineWidth: string;
210
- windowBorderColor: string;
211
- windowBorderWidth: string;
212
- handleColor: string;
213
- handleBorderColor: string;
214
- handleRadius: string;
215
- radius: string;
216
- };
217
- crosshair: {
218
- color: string;
219
- width: string;
220
- dash: string;
221
- };
222
- marker: {
223
- radius: string;
224
- strokeColor: string;
225
- strokeWidth: string;
226
- haloRadius: string;
227
- haloOpacity: string;
228
- };
229
- line: {
230
- strokeWidth: string;
231
- areaOpacityFrom: string;
232
- areaOpacityTo: string;
233
- stackedAreaOpacity: string;
234
- pointRadius: string;
235
- dimmedOpacity: string;
236
- };
237
- bar: {
238
- radius: string;
239
- width: string;
240
- horizontalWidth: string;
241
- groupGap: string;
242
- segmentGap: string;
243
- segmentGapColor: string;
244
- dimmedStrength: string;
245
- dimmedBase: string;
246
- labelColor: string;
247
- labelFontSize: string;
248
- labelFontWeight: string;
249
- outsideLabelColor: string;
250
- };
251
- scatter: {
252
- pointRadius: string;
253
- bubbleMinRadius: string;
254
- bubbleMaxRadius: string;
255
- fillOpacity: string;
256
- bubbleFillOpacity: string;
257
- strokeColor: string;
258
- strokeWidth: string;
259
- activeStrokeWidth: string;
260
- dimmedOpacity: string;
261
- trendWidth: string;
262
- trendDash: string;
263
- };
264
- radar: {
265
- strokeWidth: string;
266
- fillOpacity: string;
267
- activeFillOpacity: string;
268
- pointRadius: string;
269
- labelGap: string;
270
- labelColor: string;
271
- labelFontSize: string;
272
- labelFontWeight: string;
273
- activeLabelColor: string;
274
- tickColor: string;
275
- tickFontSize: string;
276
- dimmedOpacity: string;
277
- };
278
- radialBar: {
279
- trackColor: string;
280
- thickness: string;
281
- dimmedOpacity: string;
282
- valueColor: string;
283
- valueFontWeight: string;
284
- labelColor: string;
285
- labelFontWeight: string;
286
- };
287
- gauge: {
288
- thickness: string;
289
- trackColor: string;
290
- bandGap: string;
291
- progressColor: string;
292
- needleColor: string;
293
- needleWidth: string;
294
- hubRadius: string;
295
- hubColor: string;
296
- hubStrokeWidth: string;
297
- tickColor: string;
298
- tickLength: string;
299
- tickLabelColor: string;
300
- tickLabelFontSize: string;
301
- valueColor: string;
302
- valueFontWeight: string;
303
- labelColor: string;
304
- labelFontWeight: string;
305
- primaryColor: string;
306
- successColor: string;
307
- infoColor: string;
308
- warnColor: string;
309
- dangerColor: string;
310
- neutralColor: string;
311
- };
312
- waterfall: {
313
- upColor: string;
314
- downColor: string;
315
- totalColor: string;
316
- connectorColor: string;
317
- connectorWidth: string;
318
- connectorDash: string;
319
- dimmedOpacity: string;
320
- };
321
- funnel: {
322
- rowGap: string;
323
- radius: string;
324
- labelColor: string;
325
- labelFontSize: string;
326
- labelFontWeight: string;
327
- valueColor: string;
328
- valueFontSize: string;
329
- valueFontWeight: string;
330
- outsideValueColor: string;
331
- connectorOpacity: string;
332
- conversionColor: string;
333
- conversionFontSize: string;
334
- labelWidth: string;
335
- dimmedOpacity: string;
336
- };
337
- bullet: {
338
- rowHeight: string;
339
- trackHeight: string;
340
- barHeight: string;
341
- rangeColor1: string;
342
- rangeColor2: string;
343
- rangeColor3: string;
344
- barColor: string;
345
- barRadius: string;
346
- targetColor: string;
347
- targetWidth: string;
348
- targetHeight: string;
349
- dimmedOpacity: string;
350
- };
351
- candlestick: {
352
- upColor: string;
353
- downColor: string;
354
- bodyWidth: string;
355
- bodyRadius: string;
356
- wickWidth: string;
357
- volumeHeight: string;
358
- volumeOpacity: string;
359
- dimmedOpacity: string;
360
- };
361
- boxplot: {
362
- boxWidth: string;
363
- groupGap: string;
364
- fillOpacity: string;
365
- strokeWidth: string;
366
- medianWidth: string;
367
- whiskerWidth: string;
368
- outlierRadius: string;
369
- radius: string;
370
- dimmedOpacity: string;
371
- };
372
- rangeArea: {
373
- fillOpacity: string;
374
- edgeWidth: string;
375
- edgeOpacity: string;
376
- lineWidth: string;
377
- dimmedOpacity: string;
378
- };
379
- gantt: {
380
- rowHeight: string;
381
- headerRowHeight: string;
382
- labelWidth: string;
383
- labelPaddingX: string;
384
- barHeight: string;
385
- barRadius: string;
386
- trackStrength: string;
387
- barBorderStrength: string;
388
- trackBase: string;
389
- barLabelGap: string;
390
- barLabelColor: string;
391
- insideLabelColor: string;
392
- insideStrength: string;
393
- insideAccentWidth: string;
394
- fontSize: string;
395
- labelColor: string;
396
- groupColor: string;
397
- groupFontWeight: string;
398
- groupBackground: string;
399
- summaryHeight: string;
400
- summaryColor: string;
401
- headerColor: string;
402
- headerFontSize: string;
403
- headerTopColor: string;
404
- headerTopFontWeight: string;
405
- headerBackground: string;
406
- background: string;
407
- borderColor: string;
408
- weekendBackground: string;
409
- rowHoverBackground: string;
410
- foldDuration: string;
411
- foldEasing: string;
412
- todayColor: string;
413
- todayWidth: string;
414
- milestoneSize: string;
415
- milestoneColor: string;
416
- milestoneRadius: string;
417
- toolbarGap: string;
418
- maxHeight: string;
419
- radius: string;
420
- };
421
- sankey: {
422
- nodeWidth: string;
423
- nodePadding: string;
424
- nodeRadius: string;
425
- linkStrength: string;
426
- linkActiveStrength: string;
427
- linkDimmedStrength: string;
428
- linkBase: string;
429
- linkEdgeColor: string;
430
- linkEdgeWidth: string;
431
- nodeDimmedOpacity: string;
432
- labelGap: string;
433
- labelColor: string;
434
- labelFontSize: string;
435
- labelFontWeight: string;
436
- valueColor: string;
437
- };
438
- sunburst: {
439
- hole: string;
440
- gap: string;
441
- gapColor: string;
442
- cornerRadius: string;
443
- levelFade: string;
444
- fadeBase: string;
445
- dimmedOpacity: string;
446
- labelColor: string;
447
- labelFontSize: string;
448
- labelFontWeight: string;
449
- labelShadow: string;
450
- centerValueColor: string;
451
- centerValueFontWeight: string;
452
- centerLabelColor: string;
453
- centerHoverBackground: string;
454
- };
455
- pie: {
456
- segmentGap: string;
457
- segmentRadius: string;
458
- hoverOffset: string;
459
- dimmedStrength: string;
460
- dimmedBase: string;
461
- labelColor: string;
462
- labelFontSize: string;
463
- labelFontWeight: string;
464
- labelShadow: string;
465
- nameColor: string;
466
- nameFontSize: string;
467
- nameFontWeight: string;
468
- valueColor: string;
469
- valueFontSize: string;
470
- valueFontWeight: string;
471
- totalLabelColor: string;
472
- };
473
- treemap: {
474
- radius: string;
475
- gap: string;
476
- gapColor: string;
477
- labelColor: string;
478
- labelFontSize: string;
479
- labelFontWeight: string;
480
- valueFontSize: string;
481
- valueFontWeight: string;
482
- labelShadow: string;
483
- labelPadding: string;
484
- labelGap: string;
485
- groupBackground: string;
486
- groupLabelColor: string;
487
- groupLabelFontSize: string;
488
- groupLabelFontWeight: string;
489
- dimmedStrength: string;
490
- dimmedBase: string;
491
- };
492
- barList: {
493
- gap: string;
494
- columnGap: string;
495
- fontSize: string;
496
- rowHeight: string;
497
- rowPaddingX: string;
498
- rowRadius: string;
499
- rowHoverBackground: string;
500
- barBackground: string;
501
- barRadius: string;
502
- labelPaddingX: string;
503
- labelColor: string;
504
- valueColor: string;
505
- valueFontWeight: string;
506
- percentWidth: string;
507
- percentColor: string;
508
- emptyPaddingY: string;
509
- emptyColor: string;
510
- duration: string;
511
- };
512
- rankLine: {
513
- strokeWidth: string;
514
- markerRadius: string;
515
- markerHoverRadius: string;
516
- color1: string;
517
- color2: string;
518
- color3: string;
519
- color4: string;
520
- color5: string;
521
- color6: string;
522
- color7: string;
523
- color8: string;
524
- color9: string;
525
- color10: string;
526
- color11: string;
527
- color12: string;
528
- };
529
- orgChart: {
530
- gap: string;
531
- canvasMinHeight: string;
532
- canvasRadius: string;
533
- canvasBackground: string;
534
- canvasBorderColor: string;
535
- canvasDotColor: string;
536
- canvasDotGap: string;
537
- busyOpacity: string;
538
- stagePadding: string;
539
- stageDuration: string;
540
- forestGap: string;
541
- nodePaddingX: string;
542
- connectorHeight: string;
543
- connectorColor: string;
544
- connectorRadius: string;
545
- pathColor: string;
546
- pathWidth: string;
547
- cardWidth: string;
548
- cardPaddingX: string;
549
- cardPaddingY: string;
550
- cardGap: string;
551
- cardRadius: string;
552
- cardBackground: string;
553
- cardBorderColor: string;
554
- cardOpenBorderColor: string;
555
- cardMatchBorderColor: string;
556
- cardMatchBackground: string;
557
- cardPathGlow: string;
558
- iconSize: string;
559
- iconFontSize: string;
560
- iconRadius: string;
561
- iconColor: string;
562
- iconBackground: string;
563
- avatarSize: string;
564
- headingGap: string;
565
- titleFontSize: string;
566
- titleFontWeight: string;
567
- titleColor: string;
568
- subtitleFontSize: string;
569
- subtitleColor: string;
570
- pillsGap: string;
571
- emptyPadding: string;
572
- emptyFontSize: string;
573
- emptyColor: string;
574
- emptyBackground: string;
575
- toolbarGap: string;
576
- toolbarGroupGap: string;
577
- searchWidth: string;
578
- hintFontSize: string;
579
- hintColor: string;
580
- fullscreenInset: string;
581
- fullscreenRadius: string;
582
- fullscreenShadow: string;
583
- fullscreenLayer: string;
584
- backdrop: string;
585
- backdropBlur: string;
586
- floatingPadding: string;
587
- floatingBackground: string;
588
- floatingTitleFontSize: string;
589
- floatingTitleFontWeight: string;
590
- minimapInset: string;
591
- minimapPadding: string;
592
- minimapRadius: string;
593
- minimapMapRadius: string;
594
- minimapBackground: string;
595
- minimapMapBackground: string;
596
- minimapShadow: string;
597
- minimapItemColor: string;
598
- minimapItemRadius: string;
599
- minimapPrimaryColor: string;
600
- minimapAccentColor: string;
601
- minimapMutedColor: string;
602
- minimapViewportColor: string;
603
- minimapViewportBackground: string;
604
- };
605
- segmentedBar: {
606
- gap: string;
607
- largeGap: string;
608
- trackHeight: string;
609
- largeTrackHeight: string;
610
- trackGap: string;
611
- trackBackground: string;
612
- trackRadius: string;
613
- largeTrackRadius: string;
614
- segmentMinWidth: string;
615
- largeSegmentMinWidth: string;
616
- largeSegmentFontSize: string;
617
- largeSegmentFontWeight: string;
618
- legendGapX: string;
619
- largeLegendGapX: string;
620
- legendGapY: string;
621
- legendFontSize: string;
622
- largeLegendFontSize: string;
623
- legendItemGap: string;
624
- dotSize: string;
625
- largeDotSize: string;
626
- labelColor: string;
627
- largeLabelColor: string;
628
- monoFontFamily: string;
629
- valueColor: string;
630
- valueFontWeight: string;
631
- percentColor: string;
632
- asideColor: string;
633
- duration: string;
634
- primaryColor: string;
635
- primaryText: string;
636
- secondaryColor: string;
637
- secondaryText: string;
638
- successColor: string;
639
- successText: string;
640
- infoColor: string;
641
- infoText: string;
642
- warnColor: string;
643
- warnText: string;
644
- dangerColor: string;
645
- dangerText: string;
646
- neutralColor: string;
647
- neutralText: string;
648
- };
649
- heatmap: {
650
- maxHeight: string;
651
- background: string;
652
- scrollPaddingBottom: string;
653
- scrollRadius: string;
654
- rowGap: string;
655
- rowPaddingY: string;
656
- rowBorderColor: string;
657
- headPaddingBottom: string;
658
- leadWidth: string;
659
- leadPaddingEnd: string;
660
- leadFontSize: string;
661
- leadColor: string;
662
- valueWidth: string;
663
- headFontSize: string;
664
- headFontWeight: string;
665
- headColor: string;
666
- groupGap: string;
667
- groupLabelGap: string;
668
- groupLabelFontSize: string;
669
- groupLabelFontWeight: string;
670
- groupLabelColor: string;
671
- columnsMinWidth: string;
672
- columnGap: string;
673
- columnFontSize: string;
674
- columnColor: string;
675
- cellSize: string;
676
- cellRadius: string;
677
- cellHoverScale: string;
678
- cellDuration: string;
679
- legendCellSize: string;
680
- legendGapX: string;
681
- legendGapY: string;
682
- legendMarginTop: string;
683
- legendItemGap: string;
684
- legendFontSize: string;
685
- legendColor: string;
686
- successColor: string;
687
- dangerColor: string;
688
- warnColor: string;
689
- infoColor: string;
690
- infoTint: string;
691
- pendingBorderColor: string;
692
- neutralColor: string;
693
- emptyColor: string;
694
- scaleColor: string;
695
- scaleBase: string;
696
- };
697
- empty: {
698
- gap: string;
699
- color: string;
700
- fontSize: string;
701
- iconSize: string;
702
- iconFontSize: string;
703
- iconColor: string;
704
- iconBackground: string;
705
- };
706
- focusRing: {
707
- color: string;
708
- width: string;
709
- offset: string;
710
- };
711
- motion: {
712
- enterDuration: string;
713
- updateDuration: string;
714
- hoverDuration: string;
715
- easing: string;
716
- stagger: string;
717
- };
718
- }> | undefined>;
156
+ /** Design tokens of this treemap (`chart`, group `treemap`) */
157
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraChartTokens> | undefined>;
158
+ /** Classes and styles of the parts: `root`, `plot`, `svg`, `tile`, `tileContent`, `tileLabel`, `tileValue`, `group`, `groupLabel`, `tooltip`, `empty`, `skeleton` */
719
159
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxTreemapPart, import("@tectra-ng/core/config").TxPassThroughValue<TxTreemap>>> | undefined>;
160
+ /** How `pt` merges with the global pass-through */
720
161
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
162
+ /** Removes the tectra styles and keeps the behaviour */
721
163
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
164
+ /** A tile was clicked: `index`, `path` (indexes from the top level), `label`, `group`, `value`, `share` (0–1) */
722
165
  readonly tileClick: import("@angular/core").OutputEmitterRef<TxTreemapTileEvent>;
723
166
  readonly tooltipTemplate: import("@angular/core").Signal<TxChartTooltipTemplate | undefined>;
724
167
  readonly tileTemplate: import("@angular/core").Signal<TxTreemapTileTemplate | undefined>;