@tectra-ng/charts 0.4.4 → 0.4.6
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.
- package/column/README.md +1 -1
- package/combo/README.md +1 -1
- package/core/README.md +1 -0
- package/fesm2022/tectra-ng-charts-column.mjs +15 -9
- package/fesm2022/tectra-ng-charts-column.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-combo.mjs +24 -14
- package/fesm2022/tectra-ng-charts-combo.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-core.mjs +44 -18
- package/fesm2022/tectra-ng-charts-core.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-gantt.mjs +2 -2
- package/fesm2022/tectra-ng-charts-gantt.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-heatmap.mjs +44 -10
- package/fesm2022/tectra-ng-charts-heatmap.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-org-chart.mjs +77 -24
- package/fesm2022/tectra-ng-charts-org-chart.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-pie.mjs +17 -9
- package/fesm2022/tectra-ng-charts-pie.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-waterfall.mjs +18 -9
- package/fesm2022/tectra-ng-charts-waterfall.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts.mjs +1 -1
- package/heatmap/README.md +2 -0
- package/org-chart/README.md +7 -2
- package/package.json +5 -5
- package/pie/README.md +1 -1
- package/types/tectra-ng-charts-column.d.ts +6 -0
- package/types/tectra-ng-charts-column.d.ts.map +1 -1
- package/types/tectra-ng-charts-combo.d.ts +6 -0
- package/types/tectra-ng-charts-combo.d.ts.map +1 -1
- package/types/tectra-ng-charts-core.d.ts +22 -2
- package/types/tectra-ng-charts-core.d.ts.map +1 -1
- package/types/tectra-ng-charts-heatmap.d.ts +19 -3
- package/types/tectra-ng-charts-heatmap.d.ts.map +1 -1
- package/types/tectra-ng-charts-org-chart.d.ts +32 -10
- package/types/tectra-ng-charts-org-chart.d.ts.map +1 -1
- package/types/tectra-ng-charts-pie.d.ts +1 -0
- package/types/tectra-ng-charts-pie.d.ts.map +1 -1
- package/types/tectra-ng-charts-waterfall.d.ts +4 -0
- package/types/tectra-ng-charts-waterfall.d.ts.map +1 -1
- package/types/tectra-ng-charts.d.ts +1 -1
- package/waterfall/README.md +1 -1
package/org-chart/README.md
CHANGED
|
@@ -24,11 +24,13 @@ The chart does not change `nodes` itself: handle `nodeToggle`, `expandAll`, `col
|
|
|
24
24
|
| height | Height of the canvas (`calc(100vh - 15rem)`) |
|
|
25
25
|
| busy | Dims the canvas and blocks it while data loads |
|
|
26
26
|
| pathKinds | Node `kind`s that draw the path to the root on hover; `null` — every node |
|
|
27
|
-
| minFitZoom | Smallest zoom of "fit to screen" (0.6), so cards stay readable on a phone; a tree still too wide is centred on its root, one too tall starts at the top |
|
|
27
|
+
| minFitZoom | Smallest zoom of "fit to screen" (0.6), so cards stay readable on a phone; a tree still too wide is centred on its root, one too tall starts at the top. Below 0.2 (the smallest zoom of the buttons and the wheel) the fit goes further out and zooming out may follow it down; `0` always fits the whole tree, however big |
|
|
28
|
+
| pageHotkeys | The hotkeys work from anywhere on the page, not only on the focused canvas — for a page where the chart is the main content. Typing in a field, a dialog, a menu or a listbox keeps its keys; the arrow keys move the canvas only while nothing else has the focus. Turn it on for one chart per page |
|
|
28
29
|
| dt | Design tokens of this chart (`chart`, group `orgChart`) |
|
|
29
30
|
| pt | Classes and styles of the parts: `root`, `bar`, `toolbar`, `canvas`, `stage`, `minimap`, `hint` |
|
|
30
31
|
| ptOptions | How `pt` merges with the global pass-through |
|
|
31
32
|
| unstyled | Removes the tectra styles and keeps the behaviour |
|
|
33
|
+
| nodeTemplate | Own card as a `TemplateRef` (context as `txOrgChartNode`) — for a component that wraps the chart and gets the template from its own content; it wins over a `txOrgChartNode` template inside the chart |
|
|
32
34
|
|
|
33
35
|
## Outputs
|
|
34
36
|
| Name | Description |
|
|
@@ -46,6 +48,9 @@ The chart does not change `nodes` itself: handle `nodeToggle`, `expandAll`, `col
|
|
|
46
48
|
| txOrgChartNode | `<ng-template txOrgChartNode let-node let-highlighted="highlighted" let-inPath="inPath" let-toggle="toggle">` — own card; `<tx-org-chart-card [node]="node">` is the default card for reuse |
|
|
47
49
|
|
|
48
50
|
## Keyboard
|
|
51
|
+
|
|
52
|
+
The zoom, fit and search keys work while the canvas has the focus; with `pageHotkeys` they work on the whole page.
|
|
53
|
+
|
|
49
54
|
| Key | Action |
|
|
50
55
|
|---|---|
|
|
51
56
|
| Tab | Moves through the toolbar, the canvas, the cards and their chevrons |
|
|
@@ -53,6 +58,6 @@ The chart does not change `nodes` itself: handle `nodeToggle`, `expandAll`, `col
|
|
|
53
58
|
| 0 | Reset the zoom to 100% |
|
|
54
59
|
| F | Fit the tree to the canvas |
|
|
55
60
|
| / | Focus the search |
|
|
56
|
-
| Arrow keys | Move the canvas (when it has the focus) |
|
|
61
|
+
| Arrow keys | Move the canvas (when it has the focus, or with `pageHotkeys` when nothing has the focus) |
|
|
57
62
|
| Enter / Space | Click the focused card |
|
|
58
63
|
| Escape | Leave the full screen |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tectra-ng/charts",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Angular charts drawn as SVG with no chart library: line and area, column and bar, combo with two value axes, scatter and bubble, pie and donut, radar, radial bar, gauge, funnel, waterfall, bullet, candlestick, box plot, range area, gantt, sankey, sunburst, bar list, segmented bar, heatmap, treemap, rank chart, org chart on one core of scales, axes, legend, tooltip and accessibility. Server rendered, themed by design tokens, dark mode ready.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://tectra-ng.com/components/line-chart",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"@angular/common": "^22.2.0",
|
|
57
57
|
"@angular/core": "^22.2.0",
|
|
58
58
|
"@angular/router": "^22.2.0",
|
|
59
|
-
"@tectra-ng/core": "^0.4.
|
|
60
|
-
"@tectra-ng/icons": "^0.4.
|
|
61
|
-
"@tectra-ng/themes": "^0.4.
|
|
62
|
-
"@tectra-ng/ui": "^0.4.
|
|
59
|
+
"@tectra-ng/core": "^0.4.6",
|
|
60
|
+
"@tectra-ng/icons": "^0.4.6",
|
|
61
|
+
"@tectra-ng/themes": "^0.4.6",
|
|
62
|
+
"@tectra-ng/ui": "^0.4.6"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
65
65
|
"@angular/router": {
|
package/pie/README.md
CHANGED
|
@@ -64,4 +64,4 @@ import { TxPieChart, TxPieLegendPipe } from '@tectra-ng/charts/pie';
|
|
|
64
64
|
|
|
65
65
|
## Notes
|
|
66
66
|
|
|
67
|
-
A hovered segment moves out a little, the others fade, the centre shows its value and name, and the tooltip sits at the segment's outer edge with an arrow, on the side the segment faces. `pieLegend(data)` / `data | txPieLegend` return `{ label, value, percent, color }` in series order; `percent` is 0–100 and not rounded, `color` is the CSS variable of the palette slot (it follows the theme). Segments turn in once when the chart appears and morph to new values on change; both are off with reduced motion.
|
|
67
|
+
A hovered segment moves out a little (the `chart.pie.hoverOffset` token, 6px; the chart keeps that much room around the donut, so it never leaves the plot), the others fade, the centre shows its value and name, and the tooltip sits at the segment's outer edge with an arrow, on the side the segment faces. `pieLegend(data)` / `data | txPieLegend` return `{ label, value, percent, color }` in series order; `percent` is 0–100 and not rounded, `color` is the CSS variable of the palette slot (it follows the theme). A segment of half the circle or more, and a single segment that fills the whole ring, stay in place; a full ring is drawn as one closed shape, so the segment gap leaves no seams on it. Segments turn in once when the chart appears and morph to new values on change; both are off with reduced motion.
|
|
@@ -22,6 +22,8 @@ export interface TxColumnChartBar {
|
|
|
22
22
|
width: number;
|
|
23
23
|
/** Height of the bar. */
|
|
24
24
|
height: number;
|
|
25
|
+
/** SVG path of the bar with its rounded end; the fill and the segment gap outline share this one shape. */
|
|
26
|
+
path: string;
|
|
25
27
|
/** Color of the bar. */
|
|
26
28
|
color: string;
|
|
27
29
|
/** Side with the rounded end of the bar; `null` for a bar that is not the outermost of a stack. */
|
|
@@ -83,6 +85,8 @@ export interface TxColumnLayoutInput {
|
|
|
83
85
|
labels: ((value: number, series: number, index: number) => string) | null;
|
|
84
86
|
/** Font size of data labels in px, used to check whether they fit. */
|
|
85
87
|
labelFontSize: number;
|
|
88
|
+
/** Corner radius in px of the outer end of a bar (0 by default); it shrinks to fit a thin or short bar. */
|
|
89
|
+
barRadius?: number;
|
|
86
90
|
}
|
|
87
91
|
/** Lays out the bars of a grouped or stacked column chart, with their data labels. */
|
|
88
92
|
export declare function columnBars(input: TxColumnLayoutInput): TxColumnChartBar[];
|
|
@@ -183,7 +187,9 @@ export declare class TxColumnChart {
|
|
|
183
187
|
width: number;
|
|
184
188
|
horizontalWidth: number;
|
|
185
189
|
gap: number;
|
|
190
|
+
radius: number;
|
|
186
191
|
}>;
|
|
192
|
+
readonly barRadius: import("@angular/core").Signal<number>;
|
|
187
193
|
private readonly intl;
|
|
188
194
|
private readonly list;
|
|
189
195
|
readonly table: import("@angular/core").Signal<import("@tectra-ng/charts/core").TxSeriesTable>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-charts-column.d.ts","names":[],"sources":["../../../../packages/charts/column/src/column-chart.types.ts","../../../../packages/charts/column/src/column-layout.ts","../../../../packages/charts/column/src/column-chart.component.ts"],"mappings":";;;;;YAGY;;YAGA,oBAAoB;;iBAGf;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-charts-column.d.ts","names":[],"sources":["../../../../packages/charts/column/src/column-chart.types.ts","../../../../packages/charts/column/src/column-layout.ts","../../../../pack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AA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -33,6 +33,8 @@ export interface TxComboChartBar {
|
|
|
33
33
|
width: number;
|
|
34
34
|
/** Height of the bar. */
|
|
35
35
|
height: number;
|
|
36
|
+
/** SVG path of the bar with its rounded end; the fill and the segment gap outline share this one shape. */
|
|
37
|
+
path: string;
|
|
36
38
|
/** Color of the bar. */
|
|
37
39
|
color: string;
|
|
38
40
|
/** Side with the rounded end of the bar; `null` for a bar that is not the outermost of a stack. */
|
|
@@ -108,6 +110,8 @@ export interface TxComboBarsInput {
|
|
|
108
110
|
columns: readonly number[];
|
|
109
111
|
/** Own colors per series; the palette fills the gaps. */
|
|
110
112
|
colors: readonly (string | undefined)[];
|
|
113
|
+
/** Corner radius in px of the outer end of a column (0 by default); it shrinks to fit a thin or short column. */
|
|
114
|
+
barRadius?: number;
|
|
111
115
|
}
|
|
112
116
|
/**
|
|
113
117
|
* Assigns each column series the slot it occupies in a category: its own when grouped, one per axis when stacked.
|
|
@@ -218,7 +222,9 @@ export declare class TxComboChart {
|
|
|
218
222
|
readonly geometry: import("@angular/core").WritableSignal<{
|
|
219
223
|
width: number;
|
|
220
224
|
gap: number;
|
|
225
|
+
radius: number;
|
|
221
226
|
}>;
|
|
227
|
+
readonly barRadius: import("@angular/core").Signal<number>;
|
|
222
228
|
private readonly intl;
|
|
223
229
|
private readonly list;
|
|
224
230
|
readonly table: import("@angular/core").Signal<import("@tectra-ng/charts/core").TxSeriesTable>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-charts-combo.d.ts","names":[],"sources":["../../../../packages/charts/combo/src/combo-chart.types.ts","../../../../packages/charts/combo/src/combo-layout.ts","../../../../packages/charts/combo/src/combo-chart.component.ts"],"mappings":";;;;;YAGY;;YAGA;;iBAGK,2BAA2B;;EAE1C,OAAO;;EAEP,OAAO;;;YAIG,oBAAoB;;YAGpB,mBAAmB;;iBAGd;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,SAAS;;EAET;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-charts-combo.d.ts","names":[],"sources":["../../../../packages/charts/combo/src/combo-chart.types.ts","../../../../packages/charts/combo/src/combo-layout.ts","../../../../packages/charts/combo/src/combo-chart.component.ts"],"mappings":";;;;;YAGY;;YAGA;;iBAGK,2BAA2B;;EAE1C,OAAO;;EAEP,OAAO;;;YAIG,oBAAoB;;YAGpB,mBAAmB;;iBAGd;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,SAAS;;EAET;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;iBC3Fe;;EAEf,MAAM;;EAEN,iBAAiB;;EAEjB;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA,wBAAwB;;EAExB;;EAEA;;EAEA;;;;;wBAWc,WAAW,4BAA4B,yBAAyB,mBAAmB;;wBAYnF,UAAU,OAAO,mBAAmB;;;;;qB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AA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -469,7 +469,9 @@ export declare function polar(cx: number, cy: number, radius: number, angle: num
|
|
|
469
469
|
export declare function maxCornerRadius(inner: number, outer: number, sweep: number): number;
|
|
470
470
|
/**
|
|
471
471
|
* SVG path of a pie or donut segment from `start` to `end` radians, with optional rounded corners;
|
|
472
|
-
* `inner` of `0` makes a pie slice.
|
|
472
|
+
* `inner` of `0` makes a pie slice. A full turn is one closed disc or ring (the outer circle and the
|
|
473
|
+
* inner one drawn the other way round, so the hole stays empty with any fill rule) without radial
|
|
474
|
+
* edges, so a stroke draws no seams across it.
|
|
473
475
|
*/
|
|
474
476
|
export declare function arcPath(cx: number, cy: number, inner: number, outer: number, start: number, end: number, corner?: number): string;
|
|
475
477
|
/** Bounding box of a unit-circle arc between two angles in radians. */
|
|
@@ -502,6 +504,24 @@ export declare function strokeArc(cx: number, cy: number, radius: number, start:
|
|
|
502
504
|
* circle.
|
|
503
505
|
*/
|
|
504
506
|
export declare function angleFrom(x: number, y: number, cx: number, cy: number, start: number): number;
|
|
507
|
+
/** Rounded corners of a bar: the two of one end, all four (`all`), or none (`null`). */
|
|
508
|
+
export type TxBarEnd = 'top' | 'bottom' | 'left' | 'right' | 'all' | null;
|
|
509
|
+
/** A bar box in px. */
|
|
510
|
+
export interface TxBarRect {
|
|
511
|
+
/** Left edge. */
|
|
512
|
+
x: number;
|
|
513
|
+
/** Top edge. */
|
|
514
|
+
y: number;
|
|
515
|
+
/** Width. */
|
|
516
|
+
width: number;
|
|
517
|
+
/** Height. */
|
|
518
|
+
height: number;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* SVG path of a bar of a column, combo or waterfall chart: a rectangle whose corners on the `end` side (or all four)
|
|
522
|
+
* are rounded by `radius`, shrunk so it fits the bar. The fill and a stroke drawn on it share this one shape.
|
|
523
|
+
*/
|
|
524
|
+
export declare function barPath(rect: TxBarRect, end: TxBarEnd, radius?: number): string;
|
|
505
525
|
/** How series stack: `normal` adds values, `100%` turns each category into shares. */
|
|
506
526
|
export type TxChartStackType = 'normal' | '100%';
|
|
507
527
|
/** `[from, to]` of a stacked value, or `null` for a gap. */
|
|
@@ -947,7 +967,7 @@ export declare class TxChartAnnotations {
|
|
|
947
967
|
private readonly coreTheme;
|
|
948
968
|
readonly shapes: import("@angular/core").InputSignal<readonly TxChartAnnotationShape[]>;
|
|
949
969
|
readonly part: import("@angular/core").InputSignal<TxPassThroughPart | undefined>;
|
|
950
|
-
readonly layer: import("@angular/core").InputSignal<"
|
|
970
|
+
readonly layer: import("@angular/core").InputSignal<"all" | "back" | "front">;
|
|
951
971
|
readonly shown: import("@angular/core").Signal<readonly TxChartAnnotationShape[]>;
|
|
952
972
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxChartAnnotations, never>;
|
|
953
973
|
static ɵcmp: i0.ɵɵComponentDeclaration<TxChartAnnotations, "g[tx-chart-annotations]", never, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-charts-core.d.ts","names":[],"sources":["../../../../packages/charts/core/src/chart.types.ts","../../../../packages/charts/core/src/scale.ts","../../../../packages/charts/core/src/format.ts","../../../../packages/charts/core/src/curve.ts","../../../../packages/charts/core/src/polar.ts","../../../../packages/charts/core/src/stack.ts","../../../../packages/charts/core/src/decimate.ts","../../../../packages/charts/core/src/palette.ts","../../../../packages/charts/core/src/cartesian.ts","../../../../packages/charts/core/src/chart-size.ts","../../../../packages/charts/core/src/chart-legend-place.ts","../../../../packages/charts/core/src/chart-motion.ts","../../../../packages/charts/core/src/chart-templates.directive.ts","../../../../packages/charts/core/src/chart-legend.component.ts","../../../../packages/charts/core/src/chart-axes.component.ts","../../../../packages/charts/core/src/chart-hover-band.component.ts","../../../../packages/charts/core/src/chart-annotations.ts","../../../../packages/charts/core/src/chart-annotations.component.ts","../../../../packages/charts/core/src/chart-export.ts","../../../../packages/charts/core/src/chart-menu.component.ts","../../../../packages/charts/core/src/chart-frame.component.ts","../../../../packages/charts/core/src/series-data.ts","../../../../packages/charts/core/src/chart-interaction.ts","../../../../packages/charts/core/src/chart-token.ts"],"mappings":";;;;;;YACY;;iBAGK;;EAEf;;EAEA,QAAQ;;EAER,OAAO;;EAEP,IAAI;;EAEJ,OAAO;;EAEP,MAAM;;;YAII;;iBAGK;;EAEf,MAAM;;EAEN;;EAEA;;;iBAIe,oBAAoB;;EAEnC;;EAEA,SAAS,iBAAiB;;;iBAIX;;EAEf;;EAEA;;EAEA,OAAO;;EAEP;;EAEA;;EAEA,MAAM;;EAEN,OAAO;;EAEP,QAAQ;;;iBAIO;;EAEf;;EAEA;;EAEA,OAAO;;EAEP;;EAEA,GAAG;;EAEH,QAAQ;;;YAIE,6BAA6B;;iBAGxB;;EAEf,GAAG;;EAEH;;;iBAIe;;EAEf;;EAEA,4CAA4C;;EAE5C;;;YAIU,yBAAyB;;iBAGpB;;EAEf;;EAEA,kBAAkB,KAAK;;;;;;YAOb,oEAAoE,wBAAwB;;iBAGvF;;EAEf;;EAEA;;;YAIU,2BAA2B,eAAe,SAAS;;YAGnD;;YAGA;;YAGA;;YAGA;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA,SAAS;;EAET;;EAEA;;EAEA;;;iBAIe;;EAEf,WAAW;;EAEX;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA,MAAM;;EAEN;;EAEA;;EAEA;;EAEA,YAAY;;EAEZ;;EAEA;;;YAIU;;iBAGK;;EAEf,WAAW;;;YAID;;YAGA;;YAGA;;YAGA;;YAGA;;iBAGK;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf,UAAU;;EAEV,QAAQ;;EAER;IAAU;IAAc;IAAW;IAAW;;;;iBAI/B;;EA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AAgC;;;;;wBAiB9F,sBAAsB,cAAc,SAAQ,qBAAgC;;wBAS5E,cAAc,eAAe;;wBAK7B,gBAAgB,UAAU,gBAAgB,eAAe,KAAK;;wBAmB9D,kBAAkB,cAAc,UAAU,gBAAgB,gBAAgB;;wBAM1E,qBAAqB,cAAc,UAAU,kBAAkB;;wBAU/D,gBAAgB,cAAc;;;;;wBAgB9B,UAAU,cAAc;;wBASxB,aAAa,cAAc,kBAAkB;;YC3JjD;;iBAGK;;EAEf;;EAEA;;;wBAiBc,iBAAiB,iBAAiB;;wBAgElC,UAAU,kBAAkB,iBAAiB;;wBAkB7C,SAAS,kBAAkB,gBAAgB,QAAO;;wBAOlD,SAAS,eAAe,gBAAgB,kBAAkB,gBAAgB,QAAO;;qBC/GpF;;wBAGG,UAAU;;;;;wBAQV,MAAM,YAAY,YAAY,gBAAgB;EAAkB;EAAW;;;;;;wBAQ3E,gBAAgB,eAAe,eAAe
|
|
1
|
+
{"version":3,"file":"tectra-ng-charts-core.d.ts","names":[],"sources":["../../../../packages/charts/core/src/chart.types.ts","../../../../packages/charts/core/src/scale.ts","../../../../packages/charts/core/src/format.ts","../../../../packages/charts/core/src/curve.ts","../../../../packages/charts/core/src/polar.ts","../../../../packages/charts/core/src/bar-path.ts","../../../../packages/charts/core/src/stack.ts","../../../../packages/charts/core/src/decimate.ts","../../../../packages/charts/core/src/palette.ts","../../../../packages/charts/core/src/cartesian.ts","../../../../packages/charts/core/src/chart-size.ts","../../../../packages/charts/core/src/chart-legend-place.ts","../../../../packages/charts/core/src/chart-motion.ts","../../../../packages/charts/core/src/chart-templates.directive.ts","../../../../packages/charts/core/src/chart-legend.component.ts","../../../../packages/charts/core/src/chart-axes.component.ts","../../../../packages/charts/core/src/chart-hover-band.component.ts","../../../../packages/charts/core/src/chart-annotations.ts","../../../../packages/charts/core/src/chart-annotations.component.ts","../../../../packages/charts/core/src/chart-export.ts","../../../../packages/charts/core/src/chart-menu.component.ts","../../../../packages/charts/core/src/chart-frame.component.ts","../../../../packages/charts/core/src/series-data.ts","../../../../packages/charts/core/src/chart-interaction.ts","../../../../packages/charts/core/src/chart-token.ts"],"mappings":";;;;;;YACY;;iBAGK;;EAEf;;EAEA,QAAQ;;EAER,OAAO;;EAEP,IAAI;;EAEJ,OAAO;;EAEP,MAAM;;;YAII;;iBAGK;;EAEf,MAAM;;EAEN;;EAEA;;;iBAIe,oBAAoB;;EAEnC;;EAEA,SAAS,iBAAiB;;;iBAIX;;EAEf;;EAEA;;EAEA,OAAO;;EAEP;;EAEA;;EAEA,MAAM;;EAEN,OAAO;;EAEP,QAAQ;;;iBAIO;;EAEf;;EAEA;;EAEA,OAAO;;EAEP;;EAEA,GAAG;;EAEH,QAAQ;;;YAIE,6BAA6B;;iBAGxB;;EAEf,GAAG;;EAEH;;;iBAIe;;EAEf;;EAEA,4CAA4C;;EAE5C;;;YAIU,yBAAyB;;iBAGpB;;EAEf;;EAEA,kBAAkB,KAAK;;;;;;YAOb,oEAAoE,wBAAwB;;iBAGvF;;EAEf;;EAEA;;;YAIU,2BAA2B,eAAe,SAAS;;YAGnD;;YAGA;;YAGA;;YAGA;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA,SAAS;;EAET;;EAEA;;EAEA;;;iBAIe;;EAEf,WAAW;;EAEX;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA,MAAM;;EAEN;;EAEA;;EAEA;;EAEA,YAAY;;EAEZ;;EAEA;;;YAIU;;iBAGK;;EAEf,WAAW;;;YAID;;YAGA;;YAGA;;YAGA;;YAGA;;iBAGK;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf,UAAU;;EAEV,QAAQ;;EAER;IAAU;IAAc;IAAW;IAAW;;;;iBAI/B;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf,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ined>;
|
|
290
290
|
/** Removes the tectra styles and keeps the behaviour */
|
|
291
291
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
292
|
+
/** The row header as a `TemplateRef` (context `{ $implicit: row, row }`) — for a component that wraps the heatmap and gets the template from its own content; it wins over a `txHeatmapRowHeader` template inside the heatmap */
|
|
293
|
+
readonly rowHeaderTemplate: import("@angular/core").InputSignal<TemplateRef<TxHeatmapRowContext> | null | undefined>;
|
|
294
|
+
/** The value column as a `TemplateRef`, like `rowHeaderTemplate`; it wins over a `txHeatmapRowValue` template */
|
|
295
|
+
readonly rowValueTemplate: import("@angular/core").InputSignal<TemplateRef<TxHeatmapRowContext> | null | undefined>;
|
|
292
296
|
/** An interactive cell was clicked or pressed with Enter / Space: `row`, `cell`, `columnKey` */
|
|
293
297
|
readonly cellClick: import("@angular/core").OutputEmitterRef<TxHeatmapCellClick>;
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
298
|
+
protected readonly rowHeaderSlot: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
299
|
+
protected readonly rowValueSlot: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
300
|
+
readonly resolvedRowHeaderTemplate: import("@angular/core").Signal<TemplateRef<any> | null>;
|
|
301
|
+
readonly resolvedRowValueTemplate: import("@angular/core").Signal<TemplateRef<any> | null>;
|
|
296
302
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
297
303
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxHeatmapPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
298
304
|
readonly hostStyle: import("@angular/core").Signal<{
|
|
@@ -378,8 +384,18 @@ export declare class TxHeatmap {
|
|
|
378
384
|
"required": false;
|
|
379
385
|
"isSignal": true;
|
|
380
386
|
};
|
|
387
|
+
"rowHeaderTemplate": {
|
|
388
|
+
"alias": "rowHeaderTemplate";
|
|
389
|
+
"required": false;
|
|
390
|
+
"isSignal": true;
|
|
391
|
+
};
|
|
392
|
+
"rowValueTemplate": {
|
|
393
|
+
"alias": "rowValueTemplate";
|
|
394
|
+
"required": false;
|
|
395
|
+
"isSignal": true;
|
|
396
|
+
};
|
|
381
397
|
}, {
|
|
382
398
|
"cellClick": "cellClick";
|
|
383
|
-
}, ["
|
|
399
|
+
}, ["rowHeaderSlot", "rowValueSlot"], never, true, never>;
|
|
384
400
|
}
|
|
385
401
|
//# sourceMappingURL=tectra-ng-charts-heatmap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-charts-heatmap.d.ts","names":[],"sources":["../../../../packages/charts/heatmap/src/heatmap.types.ts","../../../../packages/charts/heatmap/src/heatmap-layout.ts","../../../../packages/charts/heatmap/src/heatmap-calendar.ts","../../../../packages/charts/heatmap/src/heatmap-templates.directive.ts","../../../../packages/charts/heatmap/src/heatmap-cell.component.ts","../../../../packages/charts/heatmap/src/heatmap-legend.component.ts","../../../../packages/charts/heatmap/src/heatmap.component.ts"],"mappings":";;;;;YACY;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA,SAAS;;;iBAIM;;EAEf,OAAO;;EAEP;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA,QAAQ;;EAER;;;iBAIe;;EAEf;;EAEA,OAAO;;EAEP;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf,KAAK;;EAEL,MAAM;;EAEN;;;iBAIe;;EAEf,WAAW;;EAEX,KAAK;;;iBAIU;;EAEf;;EAEA,MAAM;;;iBAIS;;EAEf;;EAEA,OAAO;;;iBAIQ;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf,eAAe;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf,eAAe;;EAEf,aAAa;;EAEb;;EAEA;;EAEA;;EAEA,UAAU;;;iBAIK;;EAEf,QAAQ;;EAER,MAAM;;;YAII;;wBCvJI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;;WACR,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-charts-heatmap.d.ts","names":[],"sources":["../../../../packages/charts/heatmap/src/heatmap.types.ts","../../../../packages/charts/heatmap/src/heatmap-layout.ts","../../../../packages/charts/heatmap/src/heatmap-calendar.ts","../../../../packages/charts/heatmap/src/heatmap-templates.directive.ts","../../../../packages/charts/heatmap/src/heatmap-cell.component.ts","../../../../packages/charts/heatmap/src/heatmap-legend.component.ts","../../../../packages/charts/heatmap/src/heatmap.component.ts"],"mappings":";;;;;YACY;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA,SAAS;;;iBAIM;;EAEf,OAAO;;EAEP;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA,QAAQ;;EAER;;;iBAIe;;EAEf;;EAEA,OAAO;;EAEP;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf,KAAK;;EAEL,MAAM;;EAEN;;;iBAIe;;EAEf,WAAW;;EAEX,KAAK;;;iBAIU;;EAEf;;EAEA,MAAM;;;iBAIS;;EAEf;;EAEA,OAAO;;;iBAIQ;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf,eAAe;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf,eAAe;;EAEf,aAAa;;EAEb;;EAEA;;EAEA;;EAEA,UAAU;;;iBAIK;;EAEf,QAAQ;;EAER,MAAM;;;YAII;;wBCvJI,iBAAiB,iBAAiB,yBAAyB,iBAAiB,yBAAyB;;;;wBAYrG,aAAa,eAAe,gBAAgB,eAAe,cAAc,eAAe;;wBAoBxF,aAAa,kCAAkC,OAAO;;wBAUtD,iBAAiB,MAAM;;wBC/BvB,gBAAgB,iBAAiB,0BAA0B,SAAS,2BAA2B;;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BAEC,uCAAa,OAAA;qBACb,sCAAY,OAAA;WACtB,mDAAyB,OAAA;WACzB,kDAAwB,OAAA;WAExB,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;WACX,mCAAS;;;WAET,8BAAI,OAAA;WAIJ,+BAAK,2CAAA;WACL,gCAAM;;;;;;;;;;;;;;;EAaf,eAAe,KAAK,cAAc,MAAM;SAjD7B,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAS;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|
|
@@ -253,18 +253,21 @@ export declare const TX_ORG_CHART_MINIMAP_COMPACT: {
|
|
|
253
253
|
};
|
|
254
254
|
/** Canvas width in px under which the compact minimap is used. */
|
|
255
255
|
export declare const TX_ORG_CHART_COMPACT_WIDTH = 480;
|
|
256
|
-
/**
|
|
257
|
-
export declare
|
|
258
|
-
/**
|
|
259
|
-
export declare function
|
|
256
|
+
/** Smallest zoom a fit may reach when `minFitZoom` allows any zoom, so a huge tree never collapses to nothing. */
|
|
257
|
+
export declare const TX_ORG_CHART_FIT_FLOOR = 0.02;
|
|
258
|
+
/** Keeps a zoom factor between the smallest (`min`, `TX_ORG_CHART_ZOOM.min` by default; lower after a fit of a big tree) and the biggest allowed. */
|
|
259
|
+
export declare function clampZoom(zoom: number, min?: number): number;
|
|
260
|
+
/** Zooms the view around a point so that the point stays under the cursor; `min` is the smallest zoom allowed. */
|
|
261
|
+
export declare function zoomAt(view: TxOrgChartView, zoom: number, at: TxOrgChartPoint, min?: number): TxOrgChartView;
|
|
260
262
|
/**
|
|
261
|
-
* Moves the view so that a point of the canvas is in the middle of the viewport, optionally at a new zoom.
|
|
263
|
+
* Moves the view so that a point of the canvas is in the middle of the viewport, optionally at a new zoom; `min` is the smallest zoom allowed.
|
|
262
264
|
*/
|
|
263
|
-
export declare function centerOn(view: TxOrgChartView, viewport: TxOrgChartSize, point: TxOrgChartPoint, zoom?: number): TxOrgChartView;
|
|
265
|
+
export declare function centerOn(view: TxOrgChartView, viewport: TxOrgChartSize, point: TxOrgChartPoint, zoom?: number, min?: number): TxOrgChartView;
|
|
264
266
|
/** Smallest zoom a fit goes down to, so the cards stay readable on a narrow canvas. */
|
|
265
267
|
export declare const TX_ORG_CHART_FIT_MIN_ZOOM = 0.6;
|
|
266
268
|
/**
|
|
267
|
-
* View that fits the whole stage into the viewport, at most at 100% and not below `minZoom`; `
|
|
269
|
+
* View that fits the whole stage into the viewport, at most at 100% and not below `minZoom`; a `minZoom` under
|
|
270
|
+
* `TX_ORG_CHART_ZOOM.min` (`0` for any) lets the fit go further out, down to `TX_ORG_CHART_FIT_FLOOR`. `top` leaves room for the
|
|
268
271
|
* toolbar. A stage that fits is centred; one that is still too wide is centred on `root` (the root card centre in stage
|
|
269
272
|
* px) and one that is too tall starts at the top. `null` when sizes are not known yet.
|
|
270
273
|
*/
|
|
@@ -385,8 +388,12 @@ export declare class TxOrgChart implements OnDestroy {
|
|
|
385
388
|
readonly busy: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
386
389
|
/** Node `kind`s that draw the path to the root on hover; `null` — every node */
|
|
387
390
|
readonly pathKinds: import("@angular/core").InputSignal<readonly string[] | null>;
|
|
388
|
-
/** Smallest zoom of "fit to screen" (0.6), so cards stay readable on a phone; a tree still too wide is centred on its root, one too tall starts at the top */
|
|
391
|
+
/** Smallest zoom of "fit to screen" (0.6), so cards stay readable on a phone; a tree still too wide is centred on its root, one too tall starts at the top. Below 0.2 (the smallest zoom of the buttons and the wheel) the fit goes further out and zooming out may follow it down; `0` always fits the whole tree, however big */
|
|
389
392
|
readonly minFitZoom: import("@angular/core").InputSignal<number>;
|
|
393
|
+
/** The hotkeys work from anywhere on the page, not only on the focused canvas — for a page where the chart is the main content. Typing in a field, a dialog, a menu or a listbox keeps its keys; the arrow keys move the canvas only while nothing else has the focus. Turn it on for one chart per page */
|
|
394
|
+
readonly pageHotkeys: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
395
|
+
/** Own card as a `TemplateRef` (context as `txOrgChartNode`) — for a component that wraps the chart and gets the template from its own content; it wins over a `txOrgChartNode` template inside the chart */
|
|
396
|
+
readonly nodeTemplate: import("@angular/core").InputSignal<TemplateRef<TxOrgChartNodeContext> | null | undefined>;
|
|
390
397
|
/** Design tokens of this chart (`chart`, group `orgChart`) */
|
|
391
398
|
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraChartTokens> | undefined>;
|
|
392
399
|
/** Classes and styles of the parts: `root`, `bar`, `toolbar`, `canvas`, `stage`, `minimap`, `hint` */
|
|
@@ -405,7 +412,8 @@ export declare class TxOrgChart implements OnDestroy {
|
|
|
405
412
|
readonly expandAll: import("@angular/core").OutputEmitterRef<void>;
|
|
406
413
|
/** "Collapse all" was pressed */
|
|
407
414
|
readonly collapseAll: import("@angular/core").OutputEmitterRef<void>;
|
|
408
|
-
readonly
|
|
415
|
+
protected readonly nodeSlot: import("@angular/core").Signal<TxOrgChartNodeTemplate | undefined>;
|
|
416
|
+
readonly resolvedNodeTemplate: import("@angular/core").Signal<TemplateRef<TxOrgChartNodeContext> | null>;
|
|
409
417
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
410
418
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxOrgChartPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
411
419
|
readonly tokenStyle: import("@angular/core").Signal<Record<string, string>>;
|
|
@@ -413,6 +421,8 @@ export declare class TxOrgChart implements OnDestroy {
|
|
|
413
421
|
[x: string]: string;
|
|
414
422
|
}>;
|
|
415
423
|
readonly view: import("@angular/core").WritableSignal<TxOrgChartView>;
|
|
424
|
+
private readonly fitZoom;
|
|
425
|
+
readonly minZoom: import("@angular/core").Signal<number>;
|
|
416
426
|
readonly viewport: import("@angular/core").WritableSignal<TxOrgChartSize>;
|
|
417
427
|
readonly fullscreen: import("@angular/core").WritableSignal<boolean>;
|
|
418
428
|
readonly native: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -455,6 +465,8 @@ export declare class TxOrgChart implements OnDestroy {
|
|
|
455
465
|
onPointerMove(event: PointerEvent): void;
|
|
456
466
|
onPointerUp(event: PointerEvent): void;
|
|
457
467
|
onKeydown(event: KeyboardEvent): void;
|
|
468
|
+
onPageKeydown(event: KeyboardEvent): void;
|
|
469
|
+
private runHotkey;
|
|
458
470
|
toggleFullscreen(): void;
|
|
459
471
|
onFullscreenChange(): void;
|
|
460
472
|
exitOverlayFullscreen(): void;
|
|
@@ -527,6 +539,16 @@ export declare class TxOrgChart implements OnDestroy {
|
|
|
527
539
|
"required": false;
|
|
528
540
|
"isSignal": true;
|
|
529
541
|
};
|
|
542
|
+
"pageHotkeys": {
|
|
543
|
+
"alias": "pageHotkeys";
|
|
544
|
+
"required": false;
|
|
545
|
+
"isSignal": true;
|
|
546
|
+
};
|
|
547
|
+
"nodeTemplate": {
|
|
548
|
+
"alias": "nodeTemplate";
|
|
549
|
+
"required": false;
|
|
550
|
+
"isSignal": true;
|
|
551
|
+
};
|
|
530
552
|
"dt": {
|
|
531
553
|
"alias": "dt";
|
|
532
554
|
"required": false;
|
|
@@ -553,6 +575,6 @@ export declare class TxOrgChart implements OnDestroy {
|
|
|
553
575
|
"searchChange": "searchChange";
|
|
554
576
|
"expandAll": "expandAll";
|
|
555
577
|
"collapseAll": "collapseAll";
|
|
556
|
-
}, ["
|
|
578
|
+
}, ["nodeSlot"], ["[txOrgChartHeader]"], true, never>;
|
|
557
579
|
}
|
|
558
580
|
//# sourceMappingURL=tectra-ng-charts-org-chart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-charts-org-chart.d.ts","names":[],"sources":["../../../../packages/charts/org-chart/src/org-chart.types.ts","../../../../packages/charts/org-chart/src/org-chart-tree.ts","../../../../packages/charts/org-chart/src/org-chart-view.ts","../../../../packages/charts/org-chart/src/org-chart-templates.directive.ts","../../../../packages/charts/org-chart/src/org-chart-card.component.ts","../../../../packages/charts/org-chart/src/org-chart-node-skeleton.component.ts","../../../../packages/charts/org-chart/src/org-chart.component.ts"],"mappings":";;;;;;YAGY;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;EAEA,OAAO;;EAEP;;;iBAIe;;EAEf;;;;EAIA;;EAEA;;EAEA;;EAEA,SAAS;;EAET;;EAEA,QAAQ;;EAER,WAAW;;EAEX;;EAEA;;EAEA;;EAEA;;EAEA,cAAc;;EAEd;;;iBAIe;;EAEf,WAAW;;EAEX,MAAM;;EAEN;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;YAIU;;iBAGK;;EAEf,MAAM;;EAEN,OAAO;;EAEP;;;iBAIe;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;;iBAIe,uBAAuB;;EAEtC;;;iBAIe;;EAEf;;EAEA;;;iBAIe,uBAAuB;;EAEtC;;EAEA;;;iBAIe,8BAA8B;;EAE7C;;EAEA,MAAM;;;iBAIS;;EAEf;;EAEA;;EAEA,OAAO;;;iBAIQ;;EAEf,cAAc;;EAEd,SAAS;;EAET;;EAEA,QAAQ;;EAER;;;YAIU;;qBCpNC;;;;wBAKG,iBAAiB,MAAM,iBAAiB;;wBAcxC,oBAAoB,gBAAgB,mBAAmB;;;;wBAavD,iBAAiB,gBAAgB,kBAAkB,cAAkC,iBAAY,iBAAY;;;;wBAiC7G,eAAe,gBAAgB,kBAAkB,YAAY,qBAAqB;;wBAQlF,kBAAkB,gBAAgB,kBAAkB,oBAAoB;;wBASxE,eAAe,gBAAgB,kBAAkB;;wBAUjD,eAAe,gBAAgB,kBAAkB;;wBAUjD,eAAe,gBAAgB,kBAAkB,KAAK,mBAAmB;;qBCtG5E;;;;;;;qBAEA;;qBAEA;;qBAEA;;qBAEA;;qBAEA;;;;;;qBAEA;;;;;;qBAEA;;wBAGG,UAAU;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-charts-org-chart.d.ts","names":[],"sources":["../../../../packages/charts/org-chart/src/org-chart.types.ts","../../../../packages/charts/org-chart/src/org-chart-tree.ts","../../../../packages/charts/org-chart/src/org-chart-view.ts","../../../../packages/charts/org-chart/src/org-chart-templates.directive.ts","../../../../packages/charts/org-chart/src/org-chart-card.component.ts","../../../../packages/charts/org-chart/src/org-chart-node-skeleton.component.ts","../../../../packages/charts/org-chart/src/org-chart.component.ts"],"mappings":";;;;;;YAGY;;iBAGK;;EAEf;;EAEA;;;iBAIe;;EAEf;;EAEA,OAAO;;EAEP;;;iBAIe;;EAEf;;;;EAIA;;EAEA;;EAEA;;EAEA,SAAS;;EAET;;EAEA,QAAQ;;EAER,WAAW;;EAEX;;EAEA;;EAEA;;EAEA;;EAEA,cAAc;;EAEd;;;iBAIe;;EAEf,WAAW;;EAEX,MAAM;;EAEN;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;YAIU;;iBAGK;;EAEf,MAAM;;EAEN,OAAO;;EAEP;;;iBAIe;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;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;WACR,uCAAa,eAAA;WAEb,8BAAI;WACJ,8BAAI,OAAA;WAsBJ,8BAAI,gBAAA;mBACI;WACR,oCAAU;WACV,wCAAc;WAKd,mCAAS,OAAA;WAQT,sCAAY,OAAA;UAgBb;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;EAkCR;EAYA;EAIA;EAIA;EAIA,SAAS,OAAO;EAIhB,SAAS;EAKT,YAAY,MAAM;EAIlB,cAAc;EAMd,QAAQ,OAAO;EAUf,cAAc,OAAO;EASrB,cAAc,OAAO;EA4BrB,YAAY,OAAO;EAUnB,UAAU,OAAO;EAIjB,cAAc,OAAO;UAOb;EAsCR;EA0BA;EAaA;EAUA;UAQQ;UAKA;UASA;UAsBA;UAgBA;UAYA;UAYA;UAKA;UAKA;UAKA;UAIA;UAIA;UASA;UAaA;UAoBA;UAOA;SA3fG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA;IAAA;IAAA"}
|
|
@@ -231,6 +231,7 @@ export declare class TxPieChart {
|
|
|
231
231
|
readonly hidden: import("@angular/core").WritableSignal<ReadonlySet<string>>;
|
|
232
232
|
readonly hovered: import("@angular/core").WritableSignal<number | null>;
|
|
233
233
|
readonly tokenRadius: import("@angular/core").WritableSignal<number>;
|
|
234
|
+
readonly hoverOffset: import("@angular/core").WritableSignal<number>;
|
|
234
235
|
readonly keyboard: import("@angular/core").WritableSignal<boolean>;
|
|
235
236
|
readonly fromLegend: import("@angular/core").WritableSignal<boolean>;
|
|
236
237
|
private readonly intl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-charts-pie.d.ts","names":[],"sources":["../../../../packages/charts/pie/src/pie-chart.types.ts","../../../../packages/charts/pie/src/pie-layout.ts","../../../../packages/charts/pie/src/pie-legend.ts","../../../../packages/charts/pie/src/pie-center.directive.ts","../../../../packages/charts/pie/src/pie-chart.component.ts"],"mappings":";;;;;;iBAGiB;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;YAIU,iBAAiB;;YAGjB,uBAAuB;;iBAGlB;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf,WAAW;;;iBAII;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;;;wBCjGc,UAAU,2BAA2B,qBAAgB;EAAmB;EAAe;EAAa;EAAe;;;wBAenH,OAAO,eAAe,gBAAgB,qBAAgB,mBAAgB,mBAAc;;wBAepF,QACd,2BACA;EAAW;EAAe;EAAgB;EAAqB;EAAmB;EAAoB;EAAkB;;EACrH,KAAK;EAAU;EAAe,MAAM;;;wBAwBzB,MAAM,eAAe,YAAY,KAAK,UAAU,eAAe,WAAW;;wBC9D1E,UAAU,MAAM,+BAA+B;;qBAelD,2BAA2B;EACtC,UAAU,MAAM,+BAA+B;SADpC,MAAA,GAAA,qBAAA;SAAA,OAAA,GAAA,kBAAA;;;;;;qBChBA;WACF,UAAQ,YAAA;SAEV,uBAAuB,YAAY,aAAa,mBAAmB,WAAW;SAH1E,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-charts-pie.d.ts","names":[],"sources":["../../../../packages/charts/pie/src/pie-chart.types.ts","../../../../packages/charts/pie/src/pie-layout.ts","../../../../packages/charts/pie/src/pie-legend.ts","../../../../packages/charts/pie/src/pie-center.directive.ts","../../../../packages/charts/pie/src/pie-chart.component.ts"],"mappings":";;;;;;iBAGiB;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;YAIU,iBAAiB;;YAGjB,uBAAuB;;iBAGlB;;EAEf;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf,WAAW;;;iBAII;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;;;wBCjGc,UAAU,2BAA2B,qBAAgB;EAAmB;EAAe;EAAa;EAAe;;;wBAenH,OAAO,eAAe,gBAAgB,qBAAgB,mBAAgB,mBAAc;;wBAepF,QACd,2BACA;EAAW;EAAe;EAAgB;EAAqB;EAAmB;EAAoB;EAAkB;;EACrH,KAAK;EAAU;EAAe,MAAM;;;wBAwBzB,MAAM,eAAe,YAAY,KAAK,UAAU,eAAe,WAAW;;wBC9D1E,UAAU,MAAM,+BAA+B;;qBAelD,2BAA2B;EACtC,UAAU,MAAM,+BAA+B;SADpC,MAAA,GAAA,qBAAA;SAAA,OAAA,GAAA,kBAAA;;;;;;qBChBA;WACF,UAAQ,YAAA;SAEV,uBAAuB,YAAY,aAAa,mBAAmB,WAAW;SAH1E,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCwFA;mBACM;UAET;UACA;WACC,sCAAY,wCAAA;;WAEZ,iCAAO,YAAA;;WACP,oCAAU;;WACV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AOf,cAAc;UAMN;SAlTG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAU;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -46,6 +46,8 @@ export interface TxWaterfallChartBar extends TxWaterfallStep {
|
|
|
46
46
|
width: number;
|
|
47
47
|
/** Height, in px. */
|
|
48
48
|
height: number;
|
|
49
|
+
/** SVG path of the bar with its rounded corners. */
|
|
50
|
+
path: string;
|
|
49
51
|
/** Text of the data label, `null` when labels are off. */
|
|
50
52
|
text: string | null;
|
|
51
53
|
/** Vertical position of the data label, in px. */
|
|
@@ -168,6 +170,8 @@ export declare class TxWaterfallChart {
|
|
|
168
170
|
readonly morph: import("@angular/core").WritableSignal<boolean>;
|
|
169
171
|
readonly active: import("@angular/core").WritableSignal<number | null>;
|
|
170
172
|
readonly barWidth: import("@angular/core").WritableSignal<number>;
|
|
173
|
+
readonly tokenRadius: import("@angular/core").WritableSignal<number>;
|
|
174
|
+
readonly barRadius: import("@angular/core").Signal<number>;
|
|
171
175
|
private readonly intl;
|
|
172
176
|
readonly list: import("@angular/core").Signal<readonly TxWaterfallItem[]>;
|
|
173
177
|
readonly steps: import("@angular/core").Signal<import("@tectra-ng/charts/waterfall").TxWaterfallStep[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-charts-waterfall.d.ts","names":[],"sources":["../../../../packages/charts/waterfall/src/waterfall-chart.types.ts","../../../../packages/charts/waterfall/src/waterfall-layout.ts","../../../../packages/charts/waterfall/src/waterfall-chart.component.ts"],"mappings":";;;;;iBAGiB;;EAEf;;EAEA;;EAEA;;EAEA;;;YAIU;;YAGA,uBAAuB;;iBAGlB;;EAEf;;EAEA;;EAEA,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;;;iBAIe,4BAA4B;;EAE3C;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA,MAAM;;;;;;
|
|
1
|
+
{"version":3,"file":"tectra-ng-charts-waterfall.d.ts","names":[],"sources":["../../../../packages/charts/waterfall/src/waterfall-chart.types.ts","../../../../packages/charts/waterfall/src/waterfall-layout.ts","../../../../packages/charts/waterfall/src/waterfall-chart.component.ts"],"mappings":";;;;;iBAGiB;;EAEf;;EAEA;;EAEA;;EAEA;;;YAIU;;YAGA,uBAAuB;;iBAGlB;;EAEf;;EAEA;;EAEA,MAAM;;EAEN;;EAEA;;EAEA;;EAEA;;;iBAIe,4BAA4B;;EAE3C;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA,MAAM;;;;;;wBCzEQ,eAAe,gBAAgB,oBAAoB;;wB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IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|
package/waterfall/README.md
CHANGED
|
@@ -57,4 +57,4 @@ import { TxWaterfallChart } from '@tectra-ng/charts/waterfall';
|
|
|
57
57
|
|
|
58
58
|
## Notes
|
|
59
59
|
|
|
60
|
-
The legend only names the colours, so it does not hide anything. Totals are neutral by default (`chart.waterfall.totalColor`), apart from the increase green and the primary colour. Hovering anywhere in a step's column lays a soft band under it and fades the others. Bars grow one after another from their start once and slide to new values; both are off with reduced motion.
|
|
60
|
+
The legend only names the colours, so it does not hide anything. Totals are neutral by default (`chart.waterfall.totalColor`), apart from the increase green and the primary colour. Hovering anywhere in a step's column lays a soft band under it and fades the others. Each bar is one SVG path with four rounded corners (`barPath` of `@tectra-ng/charts/core`, radius from the `chart.bar.radius` token, shrunk to fit a short bar); `unstyled` draws square bars. Bars grow one after another from their start once and slide to new values; both are off with reduced motion.
|