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