@ids-group-ltd/ids-design-system 0.14.1 → 0.14.3
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 +336 -0
- package/components.md +41 -38
- package/docs/agent/INDEX.md +3 -3
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +3 -3
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +3 -3
- package/docs/agent/charts/ds-config.md +1 -1
- package/docs/agent/charts/ds-funnel-chart.md +3 -3
- package/docs/agent/charts/ds-heatmap-chart.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +2 -2
- package/docs/agent/charts/ds-pie-chart.md +2 -2
- package/docs/agent/charts/ds-scatter-chart.md +1 -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-description-list.md +3 -0
- 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-select.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/tokens.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +1 -1
- package/docs/agent/navigation/ds-tabs.md +2 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-modal.md +1 -1
- package/docs/agent/overlays/ds-popover.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +4 -4
- package/docs/agent/tables/ds-table.md +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +22 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +16 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +19 -7
- 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 +180 -19
- 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 +175 -93
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +25 -10
- 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 +10 -11
- 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 +28 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +13 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +32 -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 +47 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +11 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +11 -5
- 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 +15 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +35 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +32 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +66 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +84 -10
- 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 +16 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +138 -10
- 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 +25 -9
- 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 +87 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +4 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.14.2.json +427 -0
- package/migrations/0.14.3.json +71 -0
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +36 -2
- package/styles/_chart-frame.scss +34 -12
- package/styles/_chart-interactive.scss +10 -9
- package/styles/_chart-motion.scss +139 -16
- package/styles/_overlay-motion.scss +6 -0
- package/styles/_tokens.scss +19 -4
- package/themes/_semantic.scss +1 -0
- package/themes/dark/_theme.scss +1 -0
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +24 -10
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +33 -2
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +151 -103
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -9
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +23 -11
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +29 -2
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +8 -8
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +17 -7
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +20 -2
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +13 -2
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +31 -5
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +20 -2
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +11 -2
- package/types/ids-group-ltd-ids-design-system-components.d.ts +33 -6
- package/types/ids-group-ltd-ids-design-system-core.d.ts +14 -1
- package/types/ids-group-ltd-ids-design-system.d.ts +1 -1
|
@@ -2,12 +2,15 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
3
|
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
4
4
|
import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
5
|
+
import * as i1 from '@ids-group-ltd/ids-design-system/components';
|
|
6
|
+
import { DsStaticPreview } from '@ids-group-ltd/ids-design-system/components';
|
|
5
7
|
|
|
6
8
|
type DrawerPlacement = 'right' | 'left' | 'top' | 'bottom';
|
|
7
9
|
|
|
8
10
|
declare class DrawerComponent implements OnDestroy {
|
|
9
11
|
private readonly scrollLock;
|
|
10
12
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
13
|
+
protected readonly preview: DsStaticPreview;
|
|
11
14
|
/** Open state, two-way bound. */
|
|
12
15
|
readonly open: _angular_core.ModelSignal<boolean>;
|
|
13
16
|
/** Panel size — sm/md/lg. */
|
|
@@ -33,7 +36,7 @@ declare class DrawerComponent implements OnDestroy {
|
|
|
33
36
|
private finishClose;
|
|
34
37
|
protected onEscape(): void;
|
|
35
38
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerComponent, never>;
|
|
36
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "ds-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["[drawer-body]", "[drawer-footer]"], true,
|
|
39
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "ds-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["[drawer-body]", "[drawer-footer]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
export { DrawerComponent };
|
|
@@ -82,7 +82,21 @@ declare class FunnelChartComponent {
|
|
|
82
82
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /
|
|
83
83
|
* `LOCALE_ID`. */
|
|
84
84
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
85
|
-
|
|
85
|
+
/** Holds the clicked mark and its tooltip in place, with a pin disc on it, until a second click,
|
|
86
|
+
* Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
|
|
87
|
+
* `true`. `stageClicked` fires either way - pinning is a state, not a handler. */
|
|
88
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
89
|
+
protected readonly defaults: {
|
|
90
|
+
locale: string;
|
|
91
|
+
frame: _angular_core.Signal<ChartFrame>;
|
|
92
|
+
dataTable: _angular_core.Signal<ChartDataTable>;
|
|
93
|
+
emptyText: _angular_core.Signal<string>;
|
|
94
|
+
errorText: _angular_core.Signal<string>;
|
|
95
|
+
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
96
|
+
tooltipLingerMs: _angular_core.Signal<number>;
|
|
97
|
+
pinOnClick: _angular_core.Signal<boolean>;
|
|
98
|
+
hoverDelayMs: _angular_core.Signal<number>;
|
|
99
|
+
};
|
|
86
100
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
87
101
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
88
102
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
@@ -96,20 +110,15 @@ declare class FunnelChartComponent {
|
|
|
96
110
|
/** The stage that was clicked, or activated with Enter or Space. Fires whether or not
|
|
97
111
|
* `interactive` is set. */
|
|
98
112
|
readonly stageClicked: _angular_core.OutputEmitterRef<FunnelChartStage>;
|
|
99
|
-
/** Holds the hovered mark and its tooltip in place when it is clicked, until Escape or a press
|
|
100
|
-
* outside releases it. Off by default: a click is already the drill-down hook, and a mark left
|
|
101
|
-
* lit after the pointer has gone needs a reader who knows why it is lit. `stageClicked` fires
|
|
102
|
-
* either way — pinning is a state, not a handler. */
|
|
103
|
-
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
104
113
|
/** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
|
|
105
114
|
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
106
115
|
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
107
116
|
* opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
|
|
108
117
|
* and pays for it with the rest of the chart. */
|
|
109
118
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
110
|
-
/** Milliseconds between one
|
|
111
|
-
*
|
|
112
|
-
* crawl in. */
|
|
119
|
+
/** Milliseconds between one stage's entrance and the next, top to bottom. `60` is the default;
|
|
120
|
+
* `0` brings every stage in at once. The step narrows once the stages would take longer than
|
|
121
|
+
* 260ms to start, so a long funnel does not crawl in. */
|
|
113
122
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
114
123
|
protected markStagger(index: number): string;
|
|
115
124
|
/** Whether a hovered or focused stage opens a tooltip. `'axis'` is not offered — a
|
|
@@ -130,9 +139,12 @@ declare class FunnelChartComponent {
|
|
|
130
139
|
protected onMarkClick(payload: FunnelChartStage, index: number, event: Event): void;
|
|
131
140
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
132
141
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
142
|
+
private readonly rowHighlight;
|
|
143
|
+
private readonly rowDwell;
|
|
133
144
|
/** A table row stands for its band, so it opens the band's tooltip over the BAND and dims the
|
|
134
|
-
* others
|
|
145
|
+
* others - the same state hovering the band itself produces. */
|
|
135
146
|
protected onRowEnter(index: number, event: Event): void;
|
|
147
|
+
protected onRowLeave(): void;
|
|
136
148
|
protected isDimmed(index: number): boolean;
|
|
137
149
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
138
150
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
@@ -172,7 +184,7 @@ declare class FunnelChartComponent {
|
|
|
172
184
|
* table's skeleton rows. */
|
|
173
185
|
protected readonly skeletonStages: _angular_core.Signal<("88%" | "62%" | "80%" | "54%" | "72%")[]>;
|
|
174
186
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FunnelChartComponent, never>;
|
|
175
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FunnelChartComponent, "ds-funnel-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "showTable": { "alias": "showTable"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "drop": { "alias": "drop"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "
|
|
187
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FunnelChartComponent, "ds-funnel-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "showTable": { "alias": "showTable"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "drop": { "alias": "drop"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "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; }; }, { "stageClicked": "stageClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
176
188
|
}
|
|
177
189
|
|
|
178
190
|
export { FunnelChartComponent };
|
|
@@ -27,6 +27,7 @@ interface PlacedCell {
|
|
|
27
27
|
readonly columnIndex: number;
|
|
28
28
|
readonly column: string;
|
|
29
29
|
readonly value: number | null;
|
|
30
|
+
readonly step: number | null;
|
|
30
31
|
readonly color: string | null;
|
|
31
32
|
readonly formattedValue: string;
|
|
32
33
|
readonly accessibleName: string;
|
|
@@ -69,6 +70,10 @@ declare class HeatmapChartComponent {
|
|
|
69
70
|
/** Fades every cell but the one under the pointer. Off by default: the dimming costs the
|
|
70
71
|
* separation BETWEEN the dimmed cells, which on a ramp is the only thing carrying magnitude. */
|
|
71
72
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
73
|
+
/** Holds the hovered cell and its tooltip in place when it is clicked, until a second click,
|
|
74
|
+
* Escape or a press outside releases it. `cellClicked` fires either way. Unset falls back to
|
|
75
|
+
* `DS_CONFIG.chart.pinOnClick`, then `true`. */
|
|
76
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
72
77
|
/** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card the
|
|
73
78
|
* page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */
|
|
74
79
|
readonly frame: _angular_core.InputSignal<ChartFrame | null>;
|
|
@@ -88,16 +93,38 @@ declare class HeatmapChartComponent {
|
|
|
88
93
|
/** Whether a hovered or focused cell opens a tooltip. A heat map's cells carry no printed value
|
|
89
94
|
* by default, so this is where a reading is read without reaching for the annex table. */
|
|
90
95
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
96
|
+
/** Milliseconds between one column's entrance and the next, left to right, `40` by default;
|
|
97
|
+
* `0` turns the stagger off. The whole spread stays within 260ms, so a wide grid narrows the
|
|
98
|
+
* step instead of crawling in. */
|
|
99
|
+
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
100
|
+
protected readonly columnStagger: _angular_core.Signal<string>;
|
|
91
101
|
/** The clicked cell, with the row and the column it sits at. Never fires for an unmeasured
|
|
92
102
|
* cell, which has no reading to drill into. */
|
|
93
103
|
readonly cellClicked: _angular_core.OutputEmitterRef<HeatmapChartCell>;
|
|
94
|
-
|
|
104
|
+
protected readonly defaults: {
|
|
105
|
+
locale: string;
|
|
106
|
+
frame: _angular_core.Signal<ChartFrame>;
|
|
107
|
+
dataTable: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.ChartDataTable>;
|
|
108
|
+
emptyText: _angular_core.Signal<string>;
|
|
109
|
+
errorText: _angular_core.Signal<string>;
|
|
110
|
+
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
111
|
+
tooltipLingerMs: _angular_core.Signal<number>;
|
|
112
|
+
pinOnClick: _angular_core.Signal<boolean>;
|
|
113
|
+
hoverDelayMs: _angular_core.Signal<number>;
|
|
114
|
+
};
|
|
95
115
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
96
116
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
97
117
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
98
118
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
99
119
|
readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
|
|
100
120
|
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
121
|
+
/** The ramp step under the pointer on the scale; every cell outside it fades. */
|
|
122
|
+
protected readonly highlightedStep: _angular_core.WritableSignal<number | null>;
|
|
123
|
+
private readonly stepDwell;
|
|
124
|
+
protected onStepEnter(step: number, event: PointerEvent): void;
|
|
125
|
+
protected onStepLeave(): void;
|
|
126
|
+
protected isCellDimmed(cell: PlacedCell): boolean;
|
|
127
|
+
protected onCellPress(cell: PlacedCell, index: number, event: Event): void;
|
|
101
128
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
102
129
|
private readonly domain;
|
|
103
130
|
/** The row header column has no name of its own: the corner cell above it is blank, which is
|
|
@@ -119,7 +146,7 @@ declare class HeatmapChartComponent {
|
|
|
119
146
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
120
147
|
protected onCellClick(row: PlacedRow, cell: PlacedCell, rowIndex: number): void;
|
|
121
148
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
|
|
122
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
149
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
123
150
|
}
|
|
124
151
|
|
|
125
152
|
export { HeatmapChartComponent };
|
|
@@ -85,11 +85,11 @@ declare class LineChartComponent {
|
|
|
85
85
|
/** The point that was clicked, or activated with Enter or Space. Fires whether or not
|
|
86
86
|
* `interactive` is set. */
|
|
87
87
|
readonly pointClicked: _angular_core.OutputEmitterRef<LineChartReading>;
|
|
88
|
-
/** Holds the crosshair and its tooltip on the category that was clicked,
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
88
|
+
/** Holds the crosshair and its tooltip on the category that was clicked, with a pin disc on it,
|
|
89
|
+
* until a second click, Escape or a press outside releases it. Unset falls back to
|
|
90
|
+
* `DS_CONFIG.chart.pinOnClick`, then `true`. `pointClicked` fires either way - pinning is a
|
|
91
|
+
* state, not a handler. */
|
|
92
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
93
93
|
/** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
|
|
94
94
|
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
95
95
|
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
@@ -199,9 +199,9 @@ declare class LineChartComponent {
|
|
|
199
199
|
* colour-blind separation threshold on its own, so the patterns are for monochrome print, for a
|
|
200
200
|
* retuned palette, and for a reader who asks for them. */
|
|
201
201
|
readonly patterns: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
202
|
-
/** Milliseconds between one series' entrance and the next. `0
|
|
203
|
-
*
|
|
204
|
-
* not crawl in. */
|
|
202
|
+
/** Milliseconds between one series' entrance and the next. `0` turns the stagger off. The step
|
|
203
|
+
* narrows so the last series still starts within the stagger budget, so a long list of series
|
|
204
|
+
* does not crawl in. */
|
|
205
205
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
206
206
|
protected readonly highlightedSeries: _angular_core.WritableSignal<string | null>;
|
|
207
207
|
/** Every series with its band's own span, stacked per axis. Hiding a series does NOT re-pile the
|
|
@@ -13,7 +13,8 @@ declare class PaginationComponent {
|
|
|
13
13
|
readonly currentPage: _angular_core.ModelSignal<number>;
|
|
14
14
|
/** Preset choices offered in the page-size dropdown. */
|
|
15
15
|
readonly pageSizeOptions: _angular_core.InputSignal<number[]>;
|
|
16
|
-
/** Shows the "Showing X
|
|
16
|
+
/** Shows the range label, `DS_INTL.pagination.range`: "Showing X-Y of Z", or "Showing 0 of 0"
|
|
17
|
+
* on an empty list. */
|
|
17
18
|
readonly showLabel: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
18
19
|
/** Shows the rows-per-page dropdown. Turn it off for a screen with a fixed
|
|
19
20
|
* page size — otherwise the control offers a choice the host won't honour. */
|
|
@@ -34,6 +35,7 @@ declare class PaginationComponent {
|
|
|
34
35
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
36
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
36
37
|
protected readonly navClass: _angular_core.Signal<string>;
|
|
38
|
+
protected readonly empty: _angular_core.Signal<boolean>;
|
|
37
39
|
protected readonly totalPages: _angular_core.Signal<number>;
|
|
38
40
|
protected readonly pageItems: _angular_core.Signal<(number | "ellipsis")[]>;
|
|
39
41
|
protected readonly rangeLabel: _angular_core.Signal<string>;
|
|
@@ -83,7 +83,21 @@ declare class PieChartComponent {
|
|
|
83
83
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /
|
|
84
84
|
* `LOCALE_ID`. */
|
|
85
85
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
86
|
-
|
|
86
|
+
/** Holds the clicked mark and its tooltip in place, with a pin disc on it, until a second click,
|
|
87
|
+
* Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
|
|
88
|
+
* `true`. `sliceClicked` fires either way - pinning is a state, not a handler. */
|
|
89
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
90
|
+
protected readonly defaults: {
|
|
91
|
+
locale: string;
|
|
92
|
+
frame: _angular_core.Signal<ChartFrame>;
|
|
93
|
+
dataTable: _angular_core.Signal<ChartDataTable>;
|
|
94
|
+
emptyText: _angular_core.Signal<string>;
|
|
95
|
+
errorText: _angular_core.Signal<string>;
|
|
96
|
+
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
97
|
+
tooltipLingerMs: _angular_core.Signal<number>;
|
|
98
|
+
pinOnClick: _angular_core.Signal<boolean>;
|
|
99
|
+
hoverDelayMs: _angular_core.Signal<number>;
|
|
100
|
+
};
|
|
87
101
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
88
102
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
89
103
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
@@ -97,11 +111,6 @@ declare class PieChartComponent {
|
|
|
97
111
|
/** The slice that was clicked, or activated with Enter or Space. Fires whether or not
|
|
98
112
|
* `interactive` is set. */
|
|
99
113
|
readonly sliceClicked: _angular_core.OutputEmitterRef<PieChartSlice>;
|
|
100
|
-
/** Holds the hovered mark and its tooltip in place when it is clicked, until Escape or a press
|
|
101
|
-
* outside releases it. Off by default: a click is already the drill-down hook, and a mark left
|
|
102
|
-
* lit after the pointer has gone needs a reader who knows why it is lit. `sliceClicked` fires
|
|
103
|
-
* either way — pinning is a state, not a handler. */
|
|
104
|
-
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
105
114
|
/** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
|
|
106
115
|
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
107
116
|
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
@@ -124,6 +133,7 @@ declare class PieChartComponent {
|
|
|
124
133
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
125
134
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
126
135
|
private readonly legendHighlight;
|
|
136
|
+
private readonly legendDwell;
|
|
127
137
|
/** A legend item stands for its arc, so it opens the arc's tooltip over the ARC and dims the
|
|
128
138
|
* other slices — the same state hovering the arc itself produces. */
|
|
129
139
|
protected onLegendEnter(index: number, event: Event): void;
|
|
@@ -175,7 +185,7 @@ declare class PieChartComponent {
|
|
|
175
185
|
* is still empty. */
|
|
176
186
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
177
187
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
178
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "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; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "
|
|
188
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "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; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "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; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
179
189
|
}
|
|
180
190
|
|
|
181
191
|
export { PieChartComponent };
|
|
@@ -112,9 +112,23 @@ declare class ScatterChartComponent {
|
|
|
112
112
|
/** Fades every mark but the one under the pointer. Off by default: on a scatter the pile-up IS
|
|
113
113
|
* the reading, and dimming the neighbours takes exactly that away. */
|
|
114
114
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
115
|
+
/** Holds the hovered mark and its tooltip in place when it is clicked, until a second click,
|
|
116
|
+
* Escape or a press outside releases it. `pointClicked` fires either way. Unset falls back to
|
|
117
|
+
* `DS_CONFIG.chart.pinOnClick`, then `true`. */
|
|
118
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
115
119
|
/** The clicked reading, with the series it belongs to. Fires on click and on Enter or Space. */
|
|
116
120
|
readonly pointClicked: _angular_core.OutputEmitterRef<ScatterChartReading>;
|
|
117
|
-
|
|
121
|
+
protected readonly defaults: {
|
|
122
|
+
locale: string;
|
|
123
|
+
frame: _angular_core.Signal<ChartFrame>;
|
|
124
|
+
dataTable: _angular_core.Signal<ChartDataTable>;
|
|
125
|
+
emptyText: _angular_core.Signal<string>;
|
|
126
|
+
errorText: _angular_core.Signal<string>;
|
|
127
|
+
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
128
|
+
tooltipLingerMs: _angular_core.Signal<number>;
|
|
129
|
+
pinOnClick: _angular_core.Signal<boolean>;
|
|
130
|
+
hoverDelayMs: _angular_core.Signal<number>;
|
|
131
|
+
};
|
|
118
132
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
119
133
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
120
134
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
@@ -180,12 +194,16 @@ declare class ScatterChartComponent {
|
|
|
180
194
|
protected readonly seriesStart: _angular_core.Signal<Map<string, number>>;
|
|
181
195
|
constructor();
|
|
182
196
|
protected onPointOver(event: Event): void;
|
|
197
|
+
protected onPointOut(event: PointerEvent): void;
|
|
198
|
+
protected onPointPress(event: Event): void;
|
|
199
|
+
protected readonly pinnedPoint: _angular_core.Signal<PlacedPoint | null>;
|
|
200
|
+
protected readonly pinLift: number;
|
|
183
201
|
protected onPointActivate(event: Event): void;
|
|
184
202
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
185
203
|
protected onPointClick(series: ScatterChartSeries, point: ScatterPoint): void;
|
|
186
204
|
protected pointLabel(series: ScatterChartSeries, point: ScatterPoint): string;
|
|
187
205
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
|
|
188
|
-
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; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
206
|
+
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; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
189
207
|
}
|
|
190
208
|
|
|
191
209
|
export { ScatterChartComponent };
|
|
@@ -449,8 +449,10 @@ declare class TableComponent<T extends object> {
|
|
|
449
449
|
readonly sortAnnouncementResolved: _angular_core.Signal<(label: string, dir: SortDirection) => string>;
|
|
450
450
|
/**
|
|
451
451
|
* Wording for the row-range announcement, so it can be translated. Receives
|
|
452
|
-
* the 1-based first and last row on screen and the total
|
|
453
|
-
*
|
|
452
|
+
* the 1-based first and last row on screen and the total. A paged table with
|
|
453
|
+
* no rows announces its empty state's text instead, and calls this with
|
|
454
|
+
* `(0, 0, 0)` only when that state has none; return an empty string to say
|
|
455
|
+
* nothing. Unset falls back to `DS_INTL.pagination.range`.
|
|
454
456
|
*/
|
|
455
457
|
readonly rangeAnnouncement: _angular_core.InputSignal<((first: number, last: number, total: number) => string) | null>;
|
|
456
458
|
readonly rangeAnnouncementResolved: _angular_core.Signal<(first: number, last: number, total: number) => string>;
|
|
@@ -651,6 +653,8 @@ declare class TableComponent<T extends object> {
|
|
|
651
653
|
protected readonly showsLoadingSpace: _angular_core.Signal<boolean>;
|
|
652
654
|
protected readonly layout: DsTableLayout<T>;
|
|
653
655
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
656
|
+
private readonly emptyCell;
|
|
657
|
+
private readonly emptyCellText;
|
|
654
658
|
private readonly toolbarAnchor;
|
|
655
659
|
private readonly headerUtilityAnchor;
|
|
656
660
|
private readonly overlaysAnchor;
|
|
@@ -31,8 +31,11 @@ declare class TabsComponent {
|
|
|
31
31
|
/** When true, a tab's content is instantiated only on first activation and
|
|
32
32
|
kept alive thereafter. When false (default), all panels render eagerly. */
|
|
33
33
|
readonly lazy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
|
-
/** When true,
|
|
35
|
-
|
|
34
|
+
/** When true, a horizontal strip scrolls inside its own box and shows
|
|
35
|
+
previous/next arrows while tabs lie beyond its edges, each arrow hidden at
|
|
36
|
+
its own edge. The active tab is scrolled into view on selection. When
|
|
37
|
+
false, tabs keep their width and a strip too long for its container
|
|
38
|
+
overflows it. */
|
|
36
39
|
readonly scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
37
40
|
/** When true, each tab shows a close button. Clicking it emits tabClosed with
|
|
38
41
|
the tab's value (or label as fallback) and does not switch to that tab. */
|
|
@@ -73,6 +76,12 @@ declare class TabsComponent {
|
|
|
73
76
|
readonly tabClosed: _angular_core.OutputEmitterRef<string>;
|
|
74
77
|
private readonly host;
|
|
75
78
|
private readonly uid;
|
|
79
|
+
private readonly tablist;
|
|
80
|
+
protected readonly scrollsHorizontally: _angular_core.Signal<boolean>;
|
|
81
|
+
private readonly overflowing;
|
|
82
|
+
protected readonly showScrollArrows: _angular_core.Signal<boolean>;
|
|
83
|
+
protected readonly canScrollPrevious: _angular_core.WritableSignal<boolean>;
|
|
84
|
+
protected readonly canScrollNext: _angular_core.WritableSignal<boolean>;
|
|
76
85
|
protected readonly tabs: _angular_core.Signal<readonly TabComponent[]>;
|
|
77
86
|
private readonly injector;
|
|
78
87
|
private router;
|
|
@@ -107,6 +116,8 @@ declare class TabsComponent {
|
|
|
107
116
|
protected isPanelVisible(index: number): boolean;
|
|
108
117
|
protected tabClasses(index: number, disabled: boolean): string;
|
|
109
118
|
protected select(index: number, disabled: boolean): void;
|
|
119
|
+
protected updateScrollArrows(): void;
|
|
120
|
+
protected scrollPage(towardEnd: boolean): void;
|
|
110
121
|
protected onCloseClick(event: MouseEvent, index: number): void;
|
|
111
122
|
private closeTab;
|
|
112
123
|
/** Roving keyboard navigation across the tablist (APG automatic activation).
|
|
@@ -6,10 +6,12 @@ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-desig
|
|
|
6
6
|
import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
7
7
|
|
|
8
8
|
type TextareaResize = 'none' | 'vertical' | 'horizontal' | 'both';
|
|
9
|
+
type TextareaMaxLengthMode = 'hard' | 'soft';
|
|
9
10
|
|
|
10
11
|
declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
11
12
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
12
13
|
private readonly control;
|
|
14
|
+
private readonly overflowMirror;
|
|
13
15
|
/** Text value, two-way bound. */
|
|
14
16
|
readonly value: _angular_core.ModelSignal<string>;
|
|
15
17
|
/** Field height — sm/md/lg.
|
|
@@ -51,9 +53,30 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
51
53
|
readonly resize: _angular_core.InputSignal<TextareaResize>;
|
|
52
54
|
/** Accessible name when no visible `label` is provided. */
|
|
53
55
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
+
/** Character limit - shows a live "{current}/{max}" counter below the field.
|
|
57
|
+
* `maxLengthMode` decides what happens at the limit. Counts `value.length`, the
|
|
58
|
+
* UTF-16 units the native `maxlength` counts, whitespace included, unless
|
|
59
|
+
* `countTrimmed` is set. */
|
|
56
60
|
readonly maxLength: _angular_core.InputSignalWithTransform<number | null, number | null | undefined>;
|
|
61
|
+
/** `'hard'` applies the native maxlength attribute, so typing and paste stop at
|
|
62
|
+
* `maxLength`. `'soft'` lets the text run past it: the counter turns red, the
|
|
63
|
+
* characters past the limit are highlighted, and the field reports invalid
|
|
64
|
+
* (`aria-invalid`, with the counter as its description). Blocking a save on
|
|
65
|
+
* it is the form's job. */
|
|
66
|
+
readonly maxLengthMode: _angular_core.InputSignal<TextareaMaxLengthMode>;
|
|
67
|
+
/** Leaves whitespace at either end of the text out of the counter, the soft-limit
|
|
68
|
+
* state and the highlight, for a value the server stores trimmed. Whitespace
|
|
69
|
+
* between words still counts. The native `maxlength` of `maxLengthMode="hard"`
|
|
70
|
+
* counts every character regardless. */
|
|
71
|
+
readonly countTrimmed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
72
|
+
private readonly countedRange;
|
|
73
|
+
protected readonly currentLength: _angular_core.Signal<number>;
|
|
74
|
+
protected readonly overLimitBy: _angular_core.Signal<number>;
|
|
75
|
+
protected readonly overflowParts: _angular_core.Signal<{
|
|
76
|
+
within: string;
|
|
77
|
+
over: string;
|
|
78
|
+
after: string;
|
|
79
|
+
}>;
|
|
57
80
|
/** Native `minlength` attribute. */
|
|
58
81
|
readonly minLength: _angular_core.InputSignalWithTransform<number | null, number | null | undefined>;
|
|
59
82
|
/** Native `pattern` attribute — signal forms sends the schema's RegExp list. */
|
|
@@ -70,12 +93,15 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
70
93
|
protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
|
|
71
94
|
/** Effective disabled — own `disabled` input OR the reactive-forms state. */
|
|
72
95
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
73
|
-
protected readonly currentLength: _angular_core.Signal<number>;
|
|
74
96
|
protected readonly counterId: _angular_core.Signal<string | null>;
|
|
97
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
98
|
+
protected readonly nativeMaxLength: _angular_core.Signal<number | null>;
|
|
75
99
|
protected readonly wrapperClasses: _angular_core.Signal<string>;
|
|
76
100
|
protected readonly autosizeMinHeight: _angular_core.Signal<string | null>;
|
|
77
101
|
protected readonly autosizeMaxHeight: _angular_core.Signal<string | null>;
|
|
78
102
|
protected readonly effectiveResize: _angular_core.Signal<TextareaResize>;
|
|
103
|
+
constructor();
|
|
104
|
+
protected syncOverflowScroll(): void;
|
|
79
105
|
/** Move keyboard focus to the native textarea — public so a host can drive it
|
|
80
106
|
* deliberately, e.g. focusing the first invalid field on a failed submit. */
|
|
81
107
|
focus(options?: FocusOptions): void;
|
|
@@ -93,8 +119,8 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
93
119
|
/** Selects the whole text, as `HTMLTextAreaElement.select()` does. */
|
|
94
120
|
select(): void;
|
|
95
121
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
96
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "ds-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
122
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "ds-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "maxLengthMode": { "alias": "maxLengthMode"; "required": false; "isSignal": true; }; "countTrimmed": { "alias": "countTrimmed"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
97
123
|
}
|
|
98
124
|
|
|
99
125
|
export { TextareaComponent };
|
|
100
|
-
export type { TextareaResize };
|
|
126
|
+
export type { TextareaMaxLengthMode, TextareaResize };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components_field_message from '@ids-group-ltd/ids-design-system/components/field-message';
|
|
2
2
|
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
3
|
-
import { DsControlValueAccessor, DsOverlayCloseCause } from '@ids-group-ltd/ids-design-system/components';
|
|
3
|
+
import { DsControlValueAccessor, DsStaticPreview, DsOverlayCloseCause } from '@ids-group-ltd/ids-design-system/components';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { OnDestroy, ElementRef, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
@@ -92,6 +92,7 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
92
92
|
constructor();
|
|
93
93
|
private readonly config;
|
|
94
94
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
95
|
+
protected readonly preview: DsStaticPreview;
|
|
95
96
|
private readonly overlay;
|
|
96
97
|
private readonly vcr;
|
|
97
98
|
private readonly injector;
|
|
@@ -191,7 +192,7 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
191
192
|
private minutesOf;
|
|
192
193
|
private laterOf;
|
|
193
194
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
194
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "ds-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true,
|
|
195
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "ds-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof _ids_group_ltd_ids_design_system_components.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
export { TimePickerComponent };
|
|
@@ -23,9 +23,21 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
23
23
|
*
|
|
24
24
|
* With this on, `dsTooltip` may be left empty and the host's own text is disclosed. That is
|
|
25
25
|
* what makes it usable on projected content, where the component holding the tip cannot know
|
|
26
|
-
* what it was handed.
|
|
26
|
+
* what it was handed. A tip whose text the host already contains sets no `aria-describedby`;
|
|
27
|
+
* one given a `dsTooltip` that says more than the host does describes it as usual. */
|
|
27
28
|
readonly dsTooltipWhenClipped: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
/** A selector for the element inside the host whose clipping `dsTooltipWhenClipped` tests and
|
|
30
|
+
* whose text it discloses. It lets the pointer area be a whole row while the text is one part
|
|
31
|
+
* of it. Resolved on every open, so the element may come and go with the host's content; while
|
|
32
|
+
* nothing matches, no clipped tip opens. */
|
|
33
|
+
readonly dsTooltipTextSelector: _angular_core.InputSignal<string | null>;
|
|
34
|
+
get hostElement(): HTMLElement;
|
|
35
|
+
private textElement;
|
|
36
|
+
isClipped(): boolean;
|
|
28
37
|
private tipText;
|
|
38
|
+
/** A clipped host's full text is already in the DOM, so a screen reader has it; describing
|
|
39
|
+
* the element with it again would announce it twice. */
|
|
40
|
+
private disclosesOwnText;
|
|
29
41
|
private ref;
|
|
30
42
|
private timer;
|
|
31
43
|
private readonly tipId;
|
|
@@ -47,18 +59,24 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
47
59
|
* pointing at a panel that no longer exists.
|
|
48
60
|
*/
|
|
49
61
|
private describedElement;
|
|
62
|
+
private detachAncestor;
|
|
63
|
+
constructor();
|
|
64
|
+
/** `:focus-visible` keeps a click, which focuses the ancestor too, from opening it. Only the
|
|
65
|
+
* first clipped host of one ancestor opens, so two panels never stack. */
|
|
66
|
+
private listenToFocusableAncestor;
|
|
50
67
|
protected onPointerEnter(): void;
|
|
51
68
|
protected onFocusIn(event: FocusEvent): void;
|
|
52
69
|
protected onFocusOut(): void;
|
|
53
70
|
private scheduleShow;
|
|
54
71
|
protected onClose(): void;
|
|
55
72
|
private disposeRef;
|
|
73
|
+
protected onKeydown(): void;
|
|
56
74
|
protected onEscape(): void;
|
|
57
75
|
private show;
|
|
58
76
|
private positionFor;
|
|
59
77
|
ngOnDestroy(): void;
|
|
60
78
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
61
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[dsTooltip]", never, { "dsTooltip": { "alias": "dsTooltip"; "required": false; "isSignal": true; }; "dsTooltipPlacement": { "alias": "dsTooltipPlacement"; "required": false; "isSignal": true; }; "dsTooltipDelay": { "alias": "dsTooltipDelay"; "required": false; "isSignal": true; }; "dsTooltipWhenClipped": { "alias": "dsTooltipWhenClipped"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
79
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[dsTooltip]", never, { "dsTooltip": { "alias": "dsTooltip"; "required": false; "isSignal": true; }; "dsTooltipPlacement": { "alias": "dsTooltipPlacement"; "required": false; "isSignal": true; }; "dsTooltipDelay": { "alias": "dsTooltipDelay"; "required": false; "isSignal": true; }; "dsTooltipWhenClipped": { "alias": "dsTooltipWhenClipped"; "required": false; "isSignal": true; }; "dsTooltipTextSelector": { "alias": "dsTooltipTextSelector"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
62
80
|
}
|
|
63
81
|
|
|
64
82
|
declare class TooltipPanelComponent {
|