@ids-group-ltd/ids-design-system 0.15.0 → 0.15.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.
- package/CHANGELOG.md +430 -0
- package/components.md +68 -37
- package/docs/agent/INDEX.md +3 -3
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +2 -1
- package/docs/agent/charts/ds-heatmap-chart.md +2 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +3 -2
- package/docs/agent/charts/ds-scatter-chart.md +2 -1
- package/docs/agent/charts/ds-waterfall-chart.md +1 -1
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-alert.md +1 -0
- package/docs/agent/feedback/ds-banner.md +1 -0
- package/docs/agent/feedback/ds-toast.md +2 -0
- package/docs/agent/forms/ds-autocomplete.md +1 -1
- package/docs/agent/forms/ds-button.md +1 -0
- package/docs/agent/forms/ds-checkbox.md +1 -1
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +1 -1
- package/docs/agent/forms/ds-icon-button.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +1 -1
- package/docs/agent/forms/ds-otp-input.md +1 -1
- package/docs/agent/forms/ds-radio-group.md +1 -1
- package/docs/agent/forms/ds-segmented.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-slider.md +1 -1
- package/docs/agent/forms/ds-switch.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/ds-time-picker.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/global-helper-classes.md +1 -1
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +2 -1
- package/docs/agent/overlays/ds-definition-term.md +1 -1
- package/docs/agent/overlays/ds-info-hint.md +21 -2
- package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +1 -1
- package/docs/agent/tables/ds-table-columns.md +2 -0
- package/docs/agent/tables/ds-table.md +2 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +10 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +8 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +7 -17
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +694 -77
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +2183 -1235
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +44 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +22 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +44 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +4 -18
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +49 -20
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +76 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +11 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +33 -44
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +50 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +10 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +102 -27
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +11 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +123 -23
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +10 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs +55 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +3 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +32 -14
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +17 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +160 -201
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +24 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +17 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +32 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +10 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +238 -67
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +9 -2
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.15.0.json +1 -1
- package/migrations/0.15.1.json +738 -0
- package/package.json +9 -1
- package/schematics/check-overrides/surface.json +47 -2
- package/stylelint/deprecated-tokens.json +14 -0
- package/styles/_chart-frame.scss +14 -0
- package/styles/_chart-interactive.scss +26 -1
- package/styles/_chart-motion.scss +47 -8
- package/styles/_link.scss +35 -12
- package/styles/_tokens.scss +3 -0
- package/themes/README.md +53 -0
- package/themes/_semantic.scss +5 -8
- package/themes/dark/_theme.scss +5 -8
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +5 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +51 -7
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +200 -27
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +27 -2
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +19 -2
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +0 -3
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +21 -8
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +13 -4
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +13 -7
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +6 -0
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +24 -7
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +39 -7
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts +29 -0
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +36 -29
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +8 -6
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components.d.ts +110 -34
- package/types/ids-group-ltd-ids-design-system-core.d.ts +39 -12
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -2
|
@@ -77,13 +77,29 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
77
77
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
78
78
|
/** Whether a hovered or focused column opens a tooltip. */
|
|
79
79
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
80
|
+
/** Ids of the series the legend has switched off; their columns sink to the baseline. */
|
|
81
|
+
readonly hiddenSeries: _angular_core.ModelSignal<readonly string[]>;
|
|
82
|
+
/** Whether hiding a series re-scales the value axis to what is left. Off holds the axis where it
|
|
83
|
+
* stands with every series shown. */
|
|
84
|
+
readonly rescaleOnHide: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
85
|
+
/** Whether the legend switches series off. Off leaves it a plain key. */
|
|
86
|
+
readonly legendFilters: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
87
|
+
/** What a legend control does. `'isolate'` shows one series and hides the rest (radios);
|
|
88
|
+
* `'toggle'` hides one and leaves the rest (checkboxes). */
|
|
89
|
+
readonly legendMode: _angular_core.InputSignal<"toggle" | "isolate">;
|
|
90
|
+
/** Lets a press dragged across columns select their categories: a band, the sum and mean of every
|
|
91
|
+
* column in it, and the rest faded. Escape or a press outside clears it. Off by default. */
|
|
92
|
+
readonly selectRange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
93
|
+
/** Answers the pointer on the axes: the category label in bold, a guide from the value axis and
|
|
94
|
+
* the value there in a pill on the axis. On by default. */
|
|
95
|
+
readonly showAxisReadout: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
80
96
|
protected readonly tooltipTemplate: _angular_core.Signal<TemplateRef<{
|
|
81
97
|
$implicit: ChartTooltipContext;
|
|
82
98
|
}> | undefined>;
|
|
83
99
|
/** Where the tooltip anchors: `'mark'` (default) is the column; `'cell'` is the full-height category cell. */
|
|
84
100
|
readonly tooltipAnchor: _angular_core.InputSignal<"mark" | "cell">;
|
|
85
101
|
/** Keeps the panel clear of the value printed above the column. */
|
|
86
|
-
protected readonly valueClearance: _angular_core.Signal<
|
|
102
|
+
protected readonly valueClearance: _angular_core.Signal<18 | 0>;
|
|
87
103
|
protected readonly tooltipLingerResolved: _angular_core.Signal<number>;
|
|
88
104
|
protected readonly geometry: _angular_core.Signal<{
|
|
89
105
|
plotHeight: number;
|
|
@@ -97,6 +113,15 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
97
113
|
protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedColumnSeries[]>;
|
|
98
114
|
protected readonly slotCount: _angular_core.Signal<number>;
|
|
99
115
|
private readonly offsets;
|
|
116
|
+
protected readonly heldExtent: _angular_core.Signal<{
|
|
117
|
+
min: null;
|
|
118
|
+
max: null;
|
|
119
|
+
} | {
|
|
120
|
+
min: number;
|
|
121
|
+
max: number;
|
|
122
|
+
}>;
|
|
123
|
+
protected isHidden(key: string): boolean;
|
|
124
|
+
protected readonly spotlitSeries: _angular_core.Signal<string | null>;
|
|
100
125
|
protected offsetsFor(index: number): readonly ChartStackOffset[];
|
|
101
126
|
protected readonly categories: _angular_core.Signal<string[]>;
|
|
102
127
|
protected readonly multiSeries: _angular_core.Signal<boolean>;
|
|
@@ -116,7 +141,7 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
116
141
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
117
142
|
protected readonly skeletonMarks: _angular_core.Signal<number>;
|
|
118
143
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
|
|
119
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
144
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "selectRange": { "alias": "selectRange"; "required": false; "isSignal": true; }; "showAxisReadout": { "alias": "showAxisReadout"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
120
145
|
}
|
|
121
146
|
|
|
122
147
|
export { ColumnChartComponent };
|
|
@@ -105,7 +105,7 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
|
|
|
105
105
|
readonly locale: _angular_core.InputSignal<string | null>;
|
|
106
106
|
/** Explicit token format e.g. `'MM/DD/YYYY'`; default derived from `locale`. */
|
|
107
107
|
readonly dateFormat: _angular_core.InputSignal<string | null>;
|
|
108
|
-
/** First weekday column: 0=Sunday … 6=Saturday.
|
|
108
|
+
/** First weekday column: 0=Sunday … 6=Saturday. Falls back to `DS_CONFIG.datePicker.firstDayOfWeek`, then the resolved `locale`'s week, then 1 (Monday). */
|
|
109
109
|
readonly firstDayOfWeek: _angular_core.InputSignal<number | null>;
|
|
110
110
|
/** Date the calendar opens on when the value is empty; never written to `value`. */
|
|
111
111
|
readonly defaultDate: _angular_core.InputSignal<Date | null>;
|
|
@@ -117,6 +117,8 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
|
|
|
117
117
|
private readonly dateInvalid;
|
|
118
118
|
private readonly fieldMessage;
|
|
119
119
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
120
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
121
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
120
122
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
121
123
|
protected readonly groupMessage: _angular_core.Signal<string | null>;
|
|
122
124
|
protected readonly describedByIds: typeof describedByIds;
|
|
@@ -20,13 +20,30 @@ declare class FieldMessageComponent {
|
|
|
20
20
|
readonly icon: _angular_core.InputSignal<false | IconName | null>;
|
|
21
21
|
/** Reserves one line of height with no `text`, so the layout below does not shift. */
|
|
22
22
|
readonly reserve: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
/** Appends the "Changed" mark of a field under `showDirty`, inside the described element. */
|
|
24
|
+
readonly changed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
25
|
+
private readonly intl;
|
|
26
|
+
protected readonly changedText: _angular_core.Signal<string>;
|
|
23
27
|
private readonly config;
|
|
24
28
|
/** Keyed `hint` in the config, not `default`, which would read as "the default icon". */
|
|
25
29
|
private static readonly BUILT_IN;
|
|
26
30
|
protected readonly iconResolved: _angular_core.Signal<IconName | null>;
|
|
27
31
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldMessageComponent, never>;
|
|
28
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldMessageComponent, "ds-field-message", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "messageId": { "alias": "messageId"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "reserve": { "alias": "reserve"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldMessageComponent, "ds-field-message", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "messageId": { "alias": "messageId"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "reserve": { "alias": "reserve"; "required": false; "isSignal": true; }; "changed": { "alias": "changed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
/** The trailing marks inside a field's control: a spinner while `pending`, a dot when `changed`.
|
|
36
|
+
* The dot is decorative; `ds-field-message` carries the "Changed" text the field describes itself with.
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
declare class FieldStatusComponent {
|
|
40
|
+
/** Shows the spinner. */
|
|
41
|
+
readonly pending: _angular_core.InputSignal<boolean>;
|
|
42
|
+
/** Shows the changed dot. */
|
|
43
|
+
readonly changed: _angular_core.InputSignal<boolean>;
|
|
44
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldStatusComponent, never>;
|
|
45
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldStatusComponent, "ds-field-status", never, { "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "changed": { "alias": "changed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { FieldMessageComponent, FieldStatusComponent };
|
|
32
49
|
export type { FieldMessageState };
|
|
@@ -63,11 +63,8 @@ declare class FunnelChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
63
63
|
protected onMarkClick(payload: FunnelChartStage, index: number, event: Event): void;
|
|
64
64
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
65
65
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
66
|
-
private readonly rowHighlight;
|
|
67
|
-
private readonly rowDwell;
|
|
68
66
|
protected onRowEnter(index: number, event: Event): void;
|
|
69
67
|
protected onRowLeave(): void;
|
|
70
|
-
protected isDimmed(index: number): boolean;
|
|
71
68
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
72
69
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
73
70
|
protected readonly viewBox = "0 0 100 100";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
2
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithTooltipTrigger } from '@ids-group-ltd/ids-design-system/components';
|
|
4
|
+
import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
5
5
|
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
6
|
|
|
7
7
|
/** One row of the matrix. `data` has one reading per column; a `null` is a cell never measured. */
|
|
@@ -38,6 +38,7 @@ interface PlacedRow {
|
|
|
38
38
|
/** A matrix of readings, coloured by magnitude. Every cell names its reading to assistive tech and the annex table is always present. */
|
|
39
39
|
declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable, ChartStaggered, ChartWithTooltipTrigger {
|
|
40
40
|
protected readonly renderReady: _angular_core.Signal<boolean>;
|
|
41
|
+
protected readonly leaveMark: typeof leaveMark;
|
|
41
42
|
/** The column headings, left to right; a row longer than this loses its tail. */
|
|
42
43
|
readonly columns: _angular_core.InputSignal<readonly string[]>;
|
|
43
44
|
/** One entry per row, one reading per column; a `null` reading is drawn as the surface. */
|
|
@@ -49,22 +50,34 @@ declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable
|
|
|
49
50
|
readonly max: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
50
51
|
/** Prints each cell's reading inside it. */
|
|
51
52
|
readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
/** Marks the hovered or focused cell's reading on the colour scale. */
|
|
54
|
+
readonly showScaleMarker: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
52
55
|
/** Fades every cell but the one under the pointer. */
|
|
53
56
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
54
57
|
/** Whether a hovered or focused cell opens a tooltip. */
|
|
55
58
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
56
|
-
/** Milliseconds between one
|
|
59
|
+
/** Milliseconds between one diagonal's entrance and the next, from the top-left cell; `0` turns
|
|
60
|
+
* it off. The spread is capped at 260ms. */
|
|
57
61
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
58
|
-
protected
|
|
62
|
+
protected cellStagger(rowIndex: number, columnIndex: number): string;
|
|
59
63
|
/** The clicked cell, with its row and column. Never fires for an unmeasured cell. */
|
|
60
64
|
readonly cellClicked: _angular_core.OutputEmitterRef<HeatmapChartCell>;
|
|
61
65
|
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
62
|
-
/** The ramp step under the pointer on the scale;
|
|
66
|
+
/** The ramp step under the pointer on the scale; its cells brighten, and under `dimOthers` the rest fade. */
|
|
63
67
|
protected readonly highlightedStep: _angular_core.WritableSignal<number | null>;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
protected readonly stepHighlight: {
|
|
69
|
+
enter(item: number, event: Event): void;
|
|
70
|
+
leave(): void;
|
|
71
|
+
};
|
|
67
72
|
protected isCellDimmed(cell: PlacedCell): boolean;
|
|
73
|
+
private readonly host;
|
|
74
|
+
private readonly scaleMarkerIndex;
|
|
75
|
+
private readonly settleScaleMarker;
|
|
76
|
+
/** Where the settled cell's reading sits along the scale, as a percentage of the ramp. */
|
|
77
|
+
protected readonly scaleMarker: _angular_core.Signal<{
|
|
78
|
+
offset: number;
|
|
79
|
+
label: string;
|
|
80
|
+
} | null>;
|
|
68
81
|
protected onCellPress(cell: PlacedCell, index: number, event: Event): void;
|
|
69
82
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
70
83
|
private readonly domain;
|
|
@@ -83,7 +96,7 @@ declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable
|
|
|
83
96
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
84
97
|
protected onCellClick(row: PlacedRow, cell: PlacedCell, rowIndex: number): void;
|
|
85
98
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
|
|
86
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
99
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "showScaleMarker": { "alias": "showScaleMarker"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
87
100
|
}
|
|
88
101
|
|
|
89
102
|
export { HeatmapChartComponent };
|
|
@@ -28,8 +28,9 @@ declare class IconButtonComponent {
|
|
|
28
28
|
readonly type: _angular_core.InputSignal<IconButtonType>;
|
|
29
29
|
/** Disables the button and blocks `pressed`. */
|
|
30
30
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
-
/** Toggle state: renders the pressed look and sets `aria-pressed
|
|
32
|
-
|
|
31
|
+
/** Toggle state: renders the pressed look and sets `aria-pressed`, `"false"` when bound off.
|
|
32
|
+
* Unbound, the button is no toggle and carries no `aria-pressed`. */
|
|
33
|
+
readonly selected: _angular_core.InputSignalWithTransform<boolean | null, boolean | null>;
|
|
33
34
|
/** `aria-expanded` on the inner `<button>`; bind to the open state. On the host it would land
|
|
34
35
|
* on a non-focusable wrapper. */
|
|
35
36
|
readonly ariaExpanded: _angular_core.InputSignal<boolean | null>;
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
2
4
|
|
|
3
5
|
declare class InfoHintComponent {
|
|
4
|
-
/** The supplementary text, shown on hover and focus and kept open by a click. */
|
|
6
|
+
/** The supplementary text, shown on hover and focus and kept open by a click. `**bold**` runs render bold. */
|
|
5
7
|
readonly text: _angular_core.InputSignal<string>;
|
|
8
|
+
/** A template shown in the panel in place of `text`. Wins over projected content and `text`. */
|
|
9
|
+
readonly content: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
6
10
|
/** Accessible name of the icon button, such as "About conversion rate". */
|
|
7
11
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
8
|
-
/** `'help'` draws a question mark in a circle, `'info'` an "i". */
|
|
9
|
-
readonly icon: _angular_core.InputSignal<
|
|
12
|
+
/** Any DS icon; `'help'` draws a question mark in a circle, `'info'` an "i". */
|
|
13
|
+
readonly icon: _angular_core.InputSignal<IconName>;
|
|
14
|
+
private readonly projected;
|
|
15
|
+
private readonly hasProjected;
|
|
16
|
+
private readonly sources;
|
|
17
|
+
protected readonly tip: _angular_core.Signal<string | TemplateRef<unknown>>;
|
|
18
|
+
constructor();
|
|
10
19
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoHintComponent, never>;
|
|
11
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoHintComponent, "ds-info-hint", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never,
|
|
20
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoHintComponent, "ds-info-hint", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
21
|
}
|
|
13
22
|
|
|
14
23
|
export { InfoHintComponent };
|
|
@@ -79,6 +79,8 @@ declare class InputComponent extends DsControlValueAccessor<string> {
|
|
|
79
79
|
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
80
80
|
private readonly fieldMessage;
|
|
81
81
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
82
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
83
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
82
84
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
83
85
|
protected readonly groupMessage: _angular_core.Signal<string | null>;
|
|
84
86
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
@@ -99,7 +99,8 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
99
99
|
protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedSeries[]>;
|
|
100
100
|
/** Ids of the series the legend has switched off. */
|
|
101
101
|
readonly hiddenSeries: _angular_core.ModelSignal<readonly string[]>;
|
|
102
|
-
/** Whether hiding a series re-scales the value axis to what is left.
|
|
102
|
+
/** Whether hiding a series re-scales the value axis to what is left. Off holds the axis where it
|
|
103
|
+
* stands with every series shown. */
|
|
103
104
|
readonly rescaleOnHide: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
104
105
|
/** Whether the legend switches series off. Off leaves it a plain key. */
|
|
105
106
|
readonly legendFilters: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -112,6 +113,16 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
112
113
|
readonly noVisibleSeriesTextResolved: _angular_core.Signal<string>;
|
|
113
114
|
/** Gives every series a dash pattern, so lines differ by shape as well as colour. */
|
|
114
115
|
readonly patterns: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
116
|
+
/** Lets a press dragged across categories select them: a band, the sum and mean of every reading in
|
|
117
|
+
* it, and the readings outside faded. Escape or a press outside clears it. Off by default. */
|
|
118
|
+
readonly selectRange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
119
|
+
/** Answers the pointer on the axes: the category label in bold, a guide from the value axis and
|
|
120
|
+
* the value there in a pill on the axis. On by default. */
|
|
121
|
+
readonly showAxisReadout: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
122
|
+
/** On the hovered reading, thickens the stretches from the reading before it and to the reading
|
|
123
|
+
* after it, each in its own rising or falling colour and with its own change in percent; with
|
|
124
|
+
* several series, for the one singled out. */
|
|
125
|
+
readonly showChange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
115
126
|
/** Milliseconds between one series' entrance and the next; `0` turns it off. The step narrows
|
|
116
127
|
* so the last series still starts within the stagger budget. */
|
|
117
128
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
@@ -154,11 +165,6 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
154
165
|
protected readonly dashPatterns: _angular_core.Signal<readonly string[]>;
|
|
155
166
|
protected readonly markAnnotations: _angular_core.Signal<readonly ChartAnnotation[]>;
|
|
156
167
|
protected readonly hasSecondaryAxis: _angular_core.Signal<boolean>;
|
|
157
|
-
/** The ceiling handed to the container, which only raises its domain to it. Unless `rescaleOnHide`,
|
|
158
|
-
* it spans every series, so hiding one does not move the gridlines. */
|
|
159
|
-
protected readonly axisMax: _angular_core.Signal<number | null>;
|
|
160
|
-
protected readonly axisMaxSecondary: _angular_core.Signal<number | null>;
|
|
161
|
-
private ceilingOf;
|
|
162
168
|
protected readonly plotHeight: _angular_core.Signal<number>;
|
|
163
169
|
protected readonly viewHeightPx: _angular_core.Signal<string>;
|
|
164
170
|
protected onPointClicked(reading: {
|
|
@@ -176,7 +182,7 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
176
182
|
protected readonly skeletonAxisGutter = 46;
|
|
177
183
|
protected readonly skeletonSeries: _angular_core.Signal<unknown[]>;
|
|
178
184
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
179
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "series": { "alias": "series"; "required": false; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "noVisibleSeriesText": { "alias": "noVisibleSeriesText"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
185
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "series": { "alias": "series"; "required": false; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "noVisibleSeriesText": { "alias": "noVisibleSeriesText"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "selectRange": { "alias": "selectRange"; "required": false; "isSignal": true; }; "showAxisReadout": { "alias": "showAxisReadout"; "required": false; "isSignal": true; }; "showChange": { "alias": "showChange"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
180
186
|
}
|
|
181
187
|
|
|
182
188
|
export { LineChartComponent };
|
|
@@ -3,12 +3,16 @@ import { OnDestroy, TemplateRef } from '@angular/core';
|
|
|
3
3
|
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
4
4
|
|
|
5
5
|
declare class MenuComponent {
|
|
6
|
+
private readonly host;
|
|
7
|
+
private readonly closeRef;
|
|
6
8
|
private readonly items;
|
|
7
9
|
/** One item with an icon makes every item reserve the slot, so the labels share one axis. */
|
|
8
10
|
protected readonly anyIcon: _angular_core.Signal<boolean>;
|
|
9
11
|
/** Index of the roving-focus item, the single one reachable via Tab. */
|
|
10
12
|
private readonly activeIndex;
|
|
11
13
|
constructor();
|
|
14
|
+
protected onFocusIn(event: FocusEvent): void;
|
|
15
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
12
16
|
protected onKeydown(event: KeyboardEvent): void;
|
|
13
17
|
private typeAhead;
|
|
14
18
|
private focusItem;
|
|
@@ -24,6 +28,7 @@ declare class MenuItemComponent implements OnDestroy, AimHoverTarget {
|
|
|
24
28
|
private readonly closeRef;
|
|
25
29
|
private readonly overlay;
|
|
26
30
|
private readonly vcr;
|
|
31
|
+
private readonly injector;
|
|
27
32
|
private readonly hostElement;
|
|
28
33
|
private readonly aim;
|
|
29
34
|
private readonly button;
|
|
@@ -69,6 +74,7 @@ declare class MenuItemComponent implements OnDestroy, AimHoverTarget {
|
|
|
69
74
|
openSubmenu(): void;
|
|
70
75
|
closeSubmenu(): void;
|
|
71
76
|
ngOnDestroy(): void;
|
|
77
|
+
private focusSubmenu;
|
|
72
78
|
private clearOpenTimer;
|
|
73
79
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuItemComponent, never>;
|
|
74
80
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuItemComponent, "ds-menu-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "quiet": { "alias": "quiet"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "submenu": { "alias": "submenu"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["[icon]", "*"], true, never>;
|
|
@@ -129,6 +129,8 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
|
|
|
129
129
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
130
130
|
private readonly fieldMessage;
|
|
131
131
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
132
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
133
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
132
134
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
133
135
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
134
136
|
private enabledFiltered;
|
|
@@ -30,6 +30,8 @@ declare class OtpInputComponent extends DsControlValueAccessor<string> {
|
|
|
30
30
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
31
31
|
private readonly fieldMessage;
|
|
32
32
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
33
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
34
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
33
35
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
34
36
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
35
37
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
@@ -26,10 +26,12 @@ declare class PaginationComponent {
|
|
|
26
26
|
* then `'grouped'`. */
|
|
27
27
|
readonly layout: _angular_core.InputSignal<PaginationLayout | null>;
|
|
28
28
|
readonly layoutResolved: _angular_core.Signal<PaginationLayout>;
|
|
29
|
-
/** The host is still fetching:
|
|
30
|
-
*
|
|
29
|
+
/** The host is still fetching: the page buttons take `aria-disabled` and ignore presses while
|
|
30
|
+
* staying focusable, the size select disables, the range label is masked with a `<ds-skeleton>`
|
|
31
|
+
* so a stale `total` is never quoted, and the nav reports `aria-busy`. */
|
|
31
32
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
33
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
34
|
+
private readonly rescueFocus;
|
|
33
35
|
protected readonly navClass: _angular_core.Signal<string>;
|
|
34
36
|
protected readonly empty: _angular_core.Signal<boolean>;
|
|
35
37
|
protected readonly totalPages: _angular_core.Signal<number>;
|
|
@@ -40,7 +42,7 @@ declare class PaginationComponent {
|
|
|
40
42
|
value: string;
|
|
41
43
|
}[]>;
|
|
42
44
|
protected readonly pageSizeStr: _angular_core.Signal<string>;
|
|
43
|
-
protected goTo(page: number): void;
|
|
45
|
+
protected goTo(page: number, nav: HTMLElement): void;
|
|
44
46
|
protected onSizeChange(value: string): void;
|
|
45
47
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
46
48
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationComponent, "ds-pagination", never, { "total": { "alias": "total"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "pageSize": "pageSizeChange"; "currentPage": "currentPageChange"; }, never, never, true, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
-
import { DsChartBase, ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger } from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
+
import { DsChartBase, ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
3
3
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
4
4
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
5
5
|
import * as _angular_core from '@angular/core';
|
|
@@ -31,8 +31,11 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
31
31
|
/** `'below'` prints the value and its caption under the ring at full size, never shrunk or
|
|
32
32
|
* shortened. */
|
|
33
33
|
readonly centerPlacement: _angular_core.InputSignal<PieChartCenterPlacement>;
|
|
34
|
+
/** The hovered, focused or held slice prints its value and label in the centre in place of
|
|
35
|
+
* `centerValue` and `centerLabel`. */
|
|
36
|
+
readonly showHoverCenter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
37
|
/** Legend placement, logical so it flips in right-to-left. */
|
|
35
|
-
readonly legend: _angular_core.InputSignal<"
|
|
38
|
+
readonly legend: _angular_core.InputSignal<"end" | "bottom" | "none">;
|
|
36
39
|
/** How many slices, and legend rows, the loading skeleton draws before the data is known. */
|
|
37
40
|
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
38
41
|
/** Longest legend to draw; past it the smallest slices are summed into one. Values below 2 are ignored. */
|
|
@@ -63,15 +66,12 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
63
66
|
protected onMarkClick(payload: PieChartSlice, index: number, event: Event): void;
|
|
64
67
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
65
68
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
66
|
-
|
|
67
|
-
private readonly legendDwell;
|
|
68
|
-
/** A legend item opens the arc's tooltip and dims the other slices, as hovering the arc does. */
|
|
69
|
+
/** A legend item opens the arc's tooltip and slides the arc out, as hovering the arc does. */
|
|
69
70
|
protected onLegendEnter(index: number, event: Event): void;
|
|
70
71
|
protected onLegendLeave(): void;
|
|
71
72
|
protected onLegendFocus(index: number, event: FocusEvent): void;
|
|
72
73
|
protected onLegendClick(slice: PieChartSlice, index: number, event: Event): void;
|
|
73
74
|
private arcAt;
|
|
74
|
-
protected isDimmed(index: number): boolean;
|
|
75
75
|
protected onMarkNavigation(event: KeyboardEvent, index: number, scope: string): void;
|
|
76
76
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
77
77
|
protected readonly viewBox = "0 0 100 100";
|
|
@@ -79,8 +79,18 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
79
79
|
protected readonly visibleSlices: _angular_core.Signal<PieChartSlice[]>;
|
|
80
80
|
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
81
81
|
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
82
|
+
protected readonly leaveMark: typeof leaveMark;
|
|
83
|
+
protected readonly sliceHoverShift = 3;
|
|
84
|
+
private readonly drawnArcs;
|
|
85
|
+
private stopArcTween;
|
|
86
|
+
private readonly states;
|
|
87
|
+
private readonly tweenArcs;
|
|
82
88
|
protected readonly slices: _angular_core.Signal<{
|
|
83
89
|
slice: PieChartSlice;
|
|
90
|
+
shift: {
|
|
91
|
+
x: number;
|
|
92
|
+
y: number;
|
|
93
|
+
};
|
|
84
94
|
center: {
|
|
85
95
|
x: number;
|
|
86
96
|
y: number;
|
|
@@ -98,6 +108,13 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
98
108
|
};
|
|
99
109
|
} | null>;
|
|
100
110
|
protected readonly resolvedCenterValue: _angular_core.Signal<string>;
|
|
111
|
+
private readonly centerEntry;
|
|
112
|
+
private readonly centerKey;
|
|
113
|
+
private readonly centerSwapElement;
|
|
114
|
+
private shownCenterKey;
|
|
115
|
+
private readonly fadeCenterSwap;
|
|
116
|
+
private readonly shownCenterValue;
|
|
117
|
+
protected readonly shownCenterLabel: _angular_core.Signal<string | null>;
|
|
101
118
|
private readonly compactCenterValue;
|
|
102
119
|
private readonly ringElement;
|
|
103
120
|
private readonly centerValueElement;
|
|
@@ -122,7 +139,7 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
122
139
|
protected readonly skeletonMarks: _angular_core.Signal<number>;
|
|
123
140
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
124
141
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
125
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "centerCompact": { "alias": "centerCompact"; "required": false; "isSignal": true; }; "centerPlacement": { "alias": "centerPlacement"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
142
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "centerCompact": { "alias": "centerCompact"; "required": false; "isSignal": true; }; "centerPlacement": { "alias": "centerPlacement"; "required": false; "isSignal": true; }; "showHoverCenter": { "alias": "showHoverCenter"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
126
143
|
}
|
|
127
144
|
|
|
128
145
|
export { PieChartComponent };
|
|
@@ -27,7 +27,8 @@ declare class PopoverComponent implements OnDestroy, DsOverlayCloseRef {
|
|
|
27
27
|
readonly arrow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
28
|
/** ARIA role for the panel (e.g. 'dialog'). When set, the panel traps focus and captures it
|
|
29
29
|
* on open; Escape or an in-panel close returns focus to the trigger, an outside click or
|
|
30
|
-
* scroll does not (non-modal). Leave null for plain text popovers.
|
|
30
|
+
* scroll does not (non-modal). Leave null for plain text popovers. A panel holding a
|
|
31
|
+
* `role="menu"` (a `ds-menu`) captures focus on open without it, untrapped. */
|
|
31
32
|
readonly panelRole: _angular_core.InputSignal<string | null>;
|
|
32
33
|
/** Accessible name for the panel; pair with `panelRole`. */
|
|
33
34
|
readonly panelLabel: _angular_core.InputSignal<string | null>;
|
|
@@ -38,6 +38,8 @@ declare class RadioGroupComponent extends DsControlValueAccessor<unknown> implem
|
|
|
38
38
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
39
39
|
private readonly fieldMessage;
|
|
40
40
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
41
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
42
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
41
43
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
42
44
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
43
45
|
private readonly radios;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
2
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { DsChartBase, ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger } from '@ids-group-ltd/ids-design-system/components';
|
|
4
|
+
import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
5
5
|
import { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
6
6
|
import { ChartDataTable } from '@ids-group-ltd/ids-design-system/core';
|
|
7
7
|
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
@@ -50,8 +50,9 @@ interface PlacedSeries {
|
|
|
50
50
|
readonly points: readonly PlacedPoint[];
|
|
51
51
|
}
|
|
52
52
|
/** Two continuous quantities against each other. Past four times the plot's width in marks a series is decimated, and the chart says so. */
|
|
53
|
-
declare class ScatterChartComponent extends DsChartBase implements ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger {
|
|
53
|
+
declare class ScatterChartComponent extends DsChartBase implements ChartDimmable, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger {
|
|
54
54
|
protected readonly renderReady: _angular_core.Signal<boolean>;
|
|
55
|
+
protected readonly leaveMark: typeof leaveMark;
|
|
55
56
|
/** One entry per series. */
|
|
56
57
|
readonly data: _angular_core.InputSignal<readonly ScatterChartSeries[]>;
|
|
57
58
|
/** Names the horizontal quantity under the plot. */
|
|
@@ -68,6 +69,17 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
|
|
|
68
69
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
69
70
|
/** Fades every mark but the one under the pointer; on a scatter this hides pile-ups. */
|
|
70
71
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
72
|
+
/** Anywhere over the plot answers with the nearest point, ringed and tethered to the pointer. Off,
|
|
73
|
+
* a point answers only within 16 CSS pixels of its centre, without the ring and tether. */
|
|
74
|
+
readonly showNearestPoint: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
75
|
+
/** How far the pointer may be from a point's centre, in CSS pixels and inclusive, for the point to
|
|
76
|
+
* answer under `showNearestPoint`; `null` sets no limit. */
|
|
77
|
+
readonly nearestRadius: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
78
|
+
/** Milliseconds between one point's entrance and the next, left to right; `0` turns it off. The
|
|
79
|
+
* spread is capped at 260ms. */
|
|
80
|
+
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
81
|
+
private readonly staggerSpread;
|
|
82
|
+
protected pointStagger(cx: number): string;
|
|
71
83
|
/** The clicked reading, with the series it belongs to. Fires on click and on Enter or Space. */
|
|
72
84
|
readonly pointClicked: _angular_core.OutputEmitterRef<ScatterChartReading>;
|
|
73
85
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
@@ -100,8 +112,9 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
|
|
|
100
112
|
label: string;
|
|
101
113
|
}[]>;
|
|
102
114
|
protected readonly multiSeries: _angular_core.Signal<boolean>;
|
|
103
|
-
/** The series named in the legend under the pointer
|
|
115
|
+
/** The series named in the legend under the pointer; under `dimOthers` it fades the rest. */
|
|
104
116
|
protected readonly highlightedSeries: _angular_core.WritableSignal<string | null>;
|
|
117
|
+
protected isSeriesDimmed(seriesId: string): boolean;
|
|
105
118
|
protected readonly legendItems: _angular_core.Signal<readonly ChartLegendItem[]>;
|
|
106
119
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
107
120
|
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
@@ -133,18 +146,37 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
|
|
|
133
146
|
protected readonly seriesStart: _angular_core.Signal<Map<string, number>>;
|
|
134
147
|
constructor();
|
|
135
148
|
private hoveredIndex;
|
|
136
|
-
|
|
137
|
-
protected
|
|
149
|
+
/** Whether the pointer is over the plot; the tether runs from it to the ring. */
|
|
150
|
+
protected readonly pointerOverPlot: _angular_core.WritableSignal<boolean>;
|
|
151
|
+
/** The answered point, which the ring circles. */
|
|
152
|
+
protected readonly ringedMark: _angular_core.Signal<PlacedPoint>;
|
|
153
|
+
private readonly canvasElement;
|
|
154
|
+
private readonly ringElement;
|
|
155
|
+
private readonly tetherElement;
|
|
156
|
+
private readonly zone;
|
|
157
|
+
private pointerAt;
|
|
158
|
+
private ringAt;
|
|
159
|
+
private stopRingGlide;
|
|
160
|
+
private readonly listenForPointer;
|
|
161
|
+
private readonly glideRing;
|
|
162
|
+
private readonly drawTether;
|
|
163
|
+
private placeRing;
|
|
164
|
+
private placeTether;
|
|
165
|
+
private onCanvasPointer;
|
|
166
|
+
private onCanvasLeave;
|
|
138
167
|
private nearestMark;
|
|
139
168
|
protected onPointPress(event: Event): void;
|
|
140
|
-
protected readonly
|
|
169
|
+
protected readonly pinnedPoints: _angular_core.Signal<readonly {
|
|
170
|
+
index: number;
|
|
171
|
+
value: PlacedPoint;
|
|
172
|
+
}[]>;
|
|
141
173
|
protected readonly pinLift: number;
|
|
142
174
|
protected onPointActivate(event: Event): void;
|
|
143
175
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
144
176
|
protected onPointClick(series: ScatterChartSeries, point: ScatterPoint): void;
|
|
145
177
|
protected pointLabel(series: ScatterChartSeries, point: ScatterPoint): string;
|
|
146
178
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
|
|
147
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChartComponent, "ds-scatter-chart", ["dsScatterChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xLabel": { "alias": "xLabel"; "required": false; "isSignal": true; }; "yLabel": { "alias": "yLabel"; "required": false; "isSignal": true; }; "decimator": { "alias": "decimator"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
179
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChartComponent, "ds-scatter-chart", ["dsScatterChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xLabel": { "alias": "xLabel"; "required": false; "isSignal": true; }; "yLabel": { "alias": "yLabel"; "required": false; "isSignal": true; }; "decimator": { "alias": "decimator"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "showNearestPoint": { "alias": "showNearestPoint"; "required": false; "isSignal": true; }; "nearestRadius": { "alias": "nearestRadius"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
148
180
|
}
|
|
149
181
|
|
|
150
182
|
export { ScatterChartComponent };
|