@tectra-ng/charts 0.3.2 → 0.4.1

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