@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,734 +1,197 @@
1
1
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
2
- import { TectraDeepPartial } from "@tectra-ng/themes";
2
+ import { TectraChartTokens, TectraDeepPartial } from "@tectra-ng/themes";
3
3
  import * as i0 from "@angular/core";
4
+ /** A date of `tx-gantt-chart`: a `Date`, a timestamp in ms or an ISO string. */
4
5
  export type TxGanttDate = string | number | Date;
6
+ /** One task of `tx-gantt-chart`: a bar between two dates, or a milestone. */
5
7
  export interface TxGanttTask {
8
+ /** Unique id of the task. */
6
9
  id: string;
10
+ /** Name of the task, shown beside or inside the bar. */
7
11
  label: string;
12
+ /** First day of the task. */
8
13
  start: TxGanttDate;
14
+ /** Last day of the task; a date-only string includes that day. Without it the task lasts one day. */
9
15
  end?: TxGanttDate | null;
16
+ /** Group the task belongs to; groups fold in the `tasks` layout and become lanes in `timeline`. */
10
17
  group?: string;
18
+ /** Done part of the task in percent (0 to 100). */
11
19
  progress?: number | null;
20
+ /** Draws a diamond at `start` instead of a bar. */
12
21
  milestone?: boolean;
22
+ /** Color of the bar; by default the color of its group. */
13
23
  color?: string;
14
24
  }
25
+ /** Width of a day on the scale: `day`, `week`, `month` or `quarter`. */
15
26
  export type TxGanttZoom = 'day' | 'week' | 'month' | 'quarter';
27
+ /** `tasks` gives a row per task under its group; `timeline` gives a lane per group with all its tasks. */
16
28
  export type TxGanttLayout = 'tasks' | 'timeline';
29
+ /** Parts of `tx-gantt-chart` that `pt` can style. */
17
30
  export type TxGanttPart = 'root' | 'toolbar' | 'scroll' | 'head' | 'corner' | 'scale' | 'row' | 'group' | 'label' | 'lane' | 'bar' | 'milestone' | 'today' | 'empty';
31
+ /** A cell of the date scale in the header. */
18
32
  export interface TxGanttTick {
33
+ /** Stable key of the cell. */
19
34
  key: string;
35
+ /** Text of the cell, such as a day number, a month or a quarter. */
20
36
  label: string;
37
+ /** Left edge of the cell in px. */
21
38
  x: number;
39
+ /** Width of the cell in px. */
22
40
  width: number;
41
+ /** `true` for a Saturday or Sunday cell on the day scale. */
23
42
  weekend?: boolean;
24
43
  }
44
+ /** A task placed on the scale, ready to draw. */
25
45
  export interface TxGanttSpan {
46
+ /** The task as given in `tasks`. */
26
47
  task: TxGanttTask;
48
+ /** Index of the task in `tasks`. */
27
49
  index: number;
50
+ /** Start time in ms. */
28
51
  start: number;
52
+ /** End time in ms (exclusive). */
29
53
  end: number;
54
+ /** Left edge of the bar in px. */
30
55
  x: number;
56
+ /** Width of the bar in px; 0 for a milestone. */
31
57
  width: number;
58
+ /** Color of the bar. */
32
59
  color: string;
33
60
  }
61
+ /** A row of `tx-gantt-chart`: a group header, a task or a lane. */
34
62
  export interface TxGanttRow {
63
+ /** Stable key of the row. */
35
64
  key: string;
65
+ /** `group` for a group header, `task` for a task or a lane. */
36
66
  kind: 'group' | 'task';
67
+ /** Text in the label column. */
37
68
  label: string;
69
+ /** Group of the row; `null` for a task without one. */
38
70
  group: string | null;
71
+ /** Bars drawn in the row; a lane has several. */
39
72
  spans: TxGanttSpan[];
73
+ /** Bar that spans all tasks of a group header; `null` for other rows. */
40
74
  summary: {
41
75
  x: number;
42
76
  width: number;
43
77
  } | null;
78
+ /** `true` when the group of the row is folded. */
44
79
  collapsed: boolean;
80
+ /** How many tasks the row holds. */
45
81
  count: number;
46
82
  }
83
+ /** A group header with the rows it folds, or a run of rows without a group. */
47
84
  export interface TxGanttFold {
85
+ /** Stable key of the fold. */
48
86
  key: string;
87
+ /** Group header row; `null` for rows without a group. */
49
88
  head: TxGanttRow | null;
89
+ /** Task rows under the header. */
50
90
  rows: TxGanttRow[];
91
+ /** `true` when the rows are hidden. */
51
92
  collapsed: boolean;
52
93
  }
94
+ /** Payload of `taskClick`: the clicked task and its dates. */
53
95
  export interface TxGanttTaskEvent {
96
+ /** The task as given in `tasks`. */
54
97
  task: TxGanttTask;
98
+ /** Start of the task. */
55
99
  start: Date;
100
+ /** End of the task, exclusive. */
56
101
  end: Date;
57
102
  }
103
+ /** Payload of `groupToggle`: a group folded or unfolded. */
58
104
  export interface TxGanttGroupToggle {
105
+ /** Name of the group. */
59
106
  group: string;
107
+ /** `true` when the group is now folded. */
60
108
  collapsed: boolean;
61
109
  }
110
+ /** Length of a day in ms. */
62
111
  export declare const TX_GANTT_DAY = 86400000;
112
+ /** Width of one day in px on each zoom level. */
63
113
  export declare const TX_GANTT_DAY_WIDTH: Record<TxGanttZoom, number>;
114
+ /** Midnight of the local day that contains the time, in ms. */
64
115
  export declare function startOfDay(time: number): number;
116
+ /**
117
+ * Converts a Gantt date to ms; `null` when it is empty or invalid. With `inclusiveEnd` a date-only string points to the end of that day.
118
+ */
65
119
  export declare function ganttTime(value: TxGanttDate | null | undefined, inclusiveEnd?: boolean): number | null;
120
+ /**
121
+ * Start and end of a task in ms; a milestone has equal ends and a task without `end` lasts one day. `null` when the start is invalid.
122
+ */
66
123
  export declare function ganttTaskRange(task: TxGanttTask): [number, number] | null;
124
+ /**
125
+ * Range of the scale in ms: from `from` or the earliest task to `to` or the latest one, widened by `padding` days on both sides.
126
+ */
67
127
  export declare function ganttRange(tasks: readonly TxGanttTask[], padding: number, from?: TxGanttDate | null, to?: TxGanttDate | null): [number, number];
128
+ /** Horizontal position in px of a time on the scale that starts at `rangeStart`. */
68
129
  export declare function ganttX(time: number, rangeStart: number, dayWidth: number): number;
130
+ /**
131
+ * Cells of the two header lines of the scale for a zoom level: months over days or weeks, years over months or quarters.
132
+ */
69
133
  export declare function ganttTicks(range: [number, number], zoom: TxGanttZoom, intl: string): {
70
134
  top: TxGanttTick[];
71
135
  bottom: TxGanttTick[];
72
136
  };
137
+ /**
138
+ * Builds the rows for a layout: a row per task and a header per group (`tasks`), or a lane per group (`timeline`).
139
+ */
73
140
  export declare function ganttRows(tasks: readonly TxGanttTask[], layout: TxGanttLayout, collapsed: ReadonlySet<string>, rangeStart: number, dayWidth: number, minWidth: number): TxGanttRow[];
141
+ /** Gathers rows into folds, each a group header with the rows under it. */
74
142
  export declare function ganttFolds(rows: readonly TxGanttRow[]): TxGanttFold[];
143
+ /** Number of days between two times, never negative. */
75
144
  export declare function ganttDays(start: number, end: number): number;
145
+ /**
146
+ * Where task names go: beside the bar, inside it, or nowhere; `auto` picks beside for `tasks` and inside for `timeline`.
147
+ */
76
148
  export type TxGanttBarLabels = 'auto' | 'outside' | 'inside' | 'none';
149
+ /**
150
+ * `<tx-gantt-chart>` — tasks as bars on a calendar: groups that fold, progress, milestones, a line for today, a scale from days to quarters with horizontal scrolling and zoom. The `timeline` layout puts all tasks of a group on one lane — bookings, shifts, releases. Built in HTML on the design tokens, rendered on the server.
151
+ * @see https://tectra-ng.com/components/gantt-chart
152
+ */
77
153
  export declare class TxGanttChart {
78
154
  private readonly ganttTheme;
79
155
  private locale;
80
156
  private injector;
81
157
  readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
158
+ /** `{ id, label, start, end?, group?, progress?, milestone?, color? }[]`; dates are `Date`, timestamps or ISO strings. A date-only `end` (`'2026-03-06'`) includes that day; without `end` a task lasts one day. `milestone: true` draws a diamond at `start`. An empty list shows "No data" */
82
159
  readonly tasks: import("@angular/core").InputSignal<readonly TxGanttTask[] | null | undefined>;
160
+ /** `tasks` (default) — a row per task under its group, groups fold; `timeline` — a lane per group with all its tasks */
83
161
  readonly layout: import("@angular/core").InputSignal<TxGanttLayout>;
162
+ /** Two-way: `day`, `week` (default), `month` or `quarter` */
84
163
  readonly zoom: import("@angular/core").ModelSignal<TxGanttZoom>;
164
+ /** First date of the scale; the earliest task minus `padding` by default */
85
165
  readonly start: import("@angular/core").InputSignal<TxGanttDate | null | undefined>;
166
+ /** Last date of the scale; the latest task plus `padding` by default */
86
167
  readonly end: import("@angular/core").InputSignal<TxGanttDate | null | undefined>;
168
+ /** Days of air before the first and after the last task (3) */
87
169
  readonly padding: import("@angular/core").InputSignal<number>;
170
+ /** Date of the today line; the current moment by default, `null` hides it. On first render the chart scrolls so that today is in view */
88
171
  readonly today: import("@angular/core").InputSignal<TxGanttDate | null | undefined>;
172
+ /** Task names: `auto` (beside the bar for `tasks`, inside for `timeline`), `outside`, `inside` or `none` */
89
173
  readonly barLabels: import("@angular/core").InputSignal<TxGanttBarLabels>;
174
+ /** Shows the zoom buttons and the "Today" button (on by default) */
90
175
  readonly toolbar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
176
+ /** Height after which the rows scroll under the sticky header (the `chart.gantt.maxHeight` token by default) */
91
177
  readonly maxHeight: import("@angular/core").InputSignal<string>;
178
+ /** Text of the corner over the names; "Task" or "Timeline" by default */
92
179
  readonly labelHeader: import("@angular/core").InputSignal<string>;
180
+ /** Shows skeleton rows */
93
181
  readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
182
+ /** What the chart shows; starts the summary read by screen readers */
94
183
  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>;
184
+ /** Design tokens of this chart (`chart`) — row and header height, label column, bars, progress, milestones, weekends, today line, folding */
185
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraChartTokens> | undefined>;
186
+ /** Classes and styles of the parts: `root`, `toolbar`, `scroll`, `head`, `corner`, `scale`, `row`, `group`, `label`, `lane`, `bar`, `milestone`, `today`, `empty` */
728
187
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxGanttPart, import("@tectra-ng/core/config").TxPassThroughValue<TxGanttChart>>> | undefined>;
188
+ /** How `pt` merges with the global pass-through */
729
189
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
190
+ /** Removes the tectra styles and keeps the layout and the behaviour */
730
191
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
192
+ /** A bar or a milestone was clicked or pressed with Enter / Space: `task`, `start`, `end` (dates, `end` exclusive) */
731
193
  readonly taskClick: import("@angular/core").OutputEmitterRef<TxGanttTaskEvent>;
194
+ /** A group folded or unfolded: `group`, `collapsed` */
732
195
  readonly groupToggle: import("@angular/core").OutputEmitterRef<TxGanttGroupToggle>;
733
196
  private readonly scroller;
734
197
  readonly isUnstyled: import("@angular/core").Signal<boolean>;