@ids-group-ltd/ids-design-system 0.13.0 → 0.13.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 +295 -3
- package/components.md +15 -6
- package/docs/agent/INDEX.md +1 -0
- package/docs/agent/charts/ds-bar-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +1 -1
- package/docs/agent/charts/ds-config.md +12 -0
- package/docs/agent/charts/ds-donut-chart.md +2 -2
- package/docs/agent/charts/ds-funnel-chart.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
- 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 +9 -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 +2 -2
- 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 +30 -14
- 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 +2 -2
- 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 +2 -2
- 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 +21 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -4
- 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 +39 -16
- 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 +9 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +33 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +37 -15
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +62 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +9 -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-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +9 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +9 -4
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +56 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -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.13.1.json +236 -0
- package/package.json +1 -1
- package/styles/_chart-frame.scss +15 -0
- package/styles/_chart-interactive.scss +17 -6
- package/styles/_chart-motion.scss +61 -18
- package/styles/_dropdown-overlay.scss +9 -3
- package/styles/_focus.scss +10 -1
- package/styles/_overlay-motion.scss +10 -1
- package/styles/_tokens-charts.scss +5 -0
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +24 -9
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +7 -1
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -9
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-donut-chart.d.ts +27 -13
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +29 -10
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +36 -9
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components.d.ts +18 -2
- package/types/ids-group-ltd-ids-design-system-core.d.ts +24 -1
- package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
|
@@ -2,6 +2,7 @@ import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids
|
|
|
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
4
|
import { TemplateRef } from '@angular/core';
|
|
5
|
+
import { ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
5
6
|
|
|
6
7
|
interface FunnelChartStage {
|
|
7
8
|
id: string;
|
|
@@ -31,23 +32,31 @@ declare class FunnelChartComponent {
|
|
|
31
32
|
readonly caption: _angular_core.InputSignal<string | null>;
|
|
32
33
|
/** Accessible name. Generated from the data when omitted. */
|
|
33
34
|
readonly summary: _angular_core.InputSignal<string | null>;
|
|
34
|
-
/** The label-and-value disclosure every chart carries. Ignored while
|
|
35
|
-
*
|
|
36
|
-
|
|
35
|
+
/** The label-and-value disclosure every chart carries. Ignored while `showTable` is on, which
|
|
36
|
+
* already prints every label and value. Unset falls back to `DS_CONFIG.chart.dataTable`, then
|
|
37
|
+
* `'toggle'`. */
|
|
38
|
+
readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
|
|
37
39
|
/** Draws skeleton marks in place of the data, at the same count, so the chart does not resize
|
|
38
40
|
* when the data lands. */
|
|
39
41
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
40
|
-
/** Shown in place of the plot when `data` is empty.
|
|
41
|
-
|
|
42
|
+
/** Shown in place of the plot when `data` is empty. Unset falls back to
|
|
43
|
+
* `DS_CONFIG.chart.emptyText`, then `'No data'`. */
|
|
44
|
+
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
42
45
|
/** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
|
|
43
46
|
* because "the request failed" and "there is nothing to show" read the same to a reader and
|
|
44
47
|
* mean opposite things. */
|
|
45
48
|
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
46
|
-
/** The message the error state prints.
|
|
47
|
-
|
|
49
|
+
/** The message the error state prints. Unset falls back to `DS_CONFIG.chart.errorText`, then
|
|
50
|
+
* `'Could not load the data'`. */
|
|
51
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
48
52
|
/** Formats every value the chart prints, the annex table and the generated description
|
|
49
|
-
* included.
|
|
50
|
-
|
|
53
|
+
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
|
|
54
|
+
* grouping with a K/M/B suffix past four digits. */
|
|
55
|
+
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
56
|
+
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
57
|
+
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
58
|
+
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
59
|
+
readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
|
|
51
60
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
52
61
|
* The click output fires whether or not this is set, so a consumer that
|
|
53
62
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -55,6 +64,12 @@ declare class FunnelChartComponent {
|
|
|
55
64
|
/** The stage that was clicked, or activated with Enter or Space. Fires whether or not
|
|
56
65
|
* `interactive` is set. */
|
|
57
66
|
readonly stageClicked: _angular_core.OutputEmitterRef<FunnelChartStage>;
|
|
67
|
+
/** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
|
|
68
|
+
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
69
|
+
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
70
|
+
* opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
|
|
71
|
+
* and pays for it with the rest of the chart. */
|
|
72
|
+
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
58
73
|
/** Milliseconds between one mark's entrance and the next. `0`, the default, is no stagger at
|
|
59
74
|
* all; `40` is the documented non-zero step. The total is capped, so a long series does not
|
|
60
75
|
* crawl in. */
|
|
@@ -76,6 +91,10 @@ declare class FunnelChartComponent {
|
|
|
76
91
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
77
92
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
78
93
|
protected readonly viewBox = "0 0 100 100";
|
|
94
|
+
/** The gap between two bands, painted as a TRANSPARENT STROKE on each. A stroke straddles the
|
|
95
|
+
* edge it is drawn on, so each band claims half the gap above it and half below — the gap stays
|
|
96
|
+
* exactly as wide to the eye and stops being dead space to the pointer. */
|
|
97
|
+
protected readonly hitGapUnits: _angular_core.Signal<number>;
|
|
79
98
|
protected readonly stages: _angular_core.Signal<{
|
|
80
99
|
stage: FunnelChartStage;
|
|
81
100
|
points: string;
|
|
@@ -102,7 +121,7 @@ declare class FunnelChartComponent {
|
|
|
102
121
|
* table's skeleton rows. */
|
|
103
122
|
protected readonly skeletonStages: _angular_core.Signal<("88%" | "62%" | "80%" | "54%" | "72%")[]>;
|
|
104
123
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FunnelChartComponent, never>;
|
|
105
|
-
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; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "stageClicked": "stageClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
124
|
+
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; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "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; }; "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>;
|
|
106
125
|
}
|
|
107
126
|
|
|
108
127
|
export { FunnelChartComponent };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { TemplateRef } from '@angular/core';
|
|
4
|
+
import { ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
4
5
|
import { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
5
6
|
import { ChartTooltipTrigger, ChartTooltipContext, ChartTooltipOrigin } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
6
7
|
|
|
@@ -107,6 +108,12 @@ declare class LineChartComponent {
|
|
|
107
108
|
/** The point that was clicked, or activated with Enter or Space. Fires whether or not
|
|
108
109
|
* `interactive` is set. */
|
|
109
110
|
readonly pointClicked: _angular_core.OutputEmitterRef<LineChartPoint>;
|
|
111
|
+
/** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
|
|
112
|
+
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
113
|
+
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
114
|
+
* opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
|
|
115
|
+
* and pays for it with the rest of the chart. */
|
|
116
|
+
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
110
117
|
/** What a `null` reading draws. The default refuses to assert that a missing
|
|
111
118
|
* reading is a zero. */
|
|
112
119
|
readonly gaps: _angular_core.InputSignal<LineChartGaps>;
|
|
@@ -120,22 +127,30 @@ declare class LineChartComponent {
|
|
|
120
127
|
readonly summary: _angular_core.InputSignal<string | null>;
|
|
121
128
|
/** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,
|
|
122
129
|
* `'visible'` opens it, `'none'` renders none. It is the non-visual route to the numbers, so
|
|
123
|
-
* `'none'` belongs only where the same data is already in a table on the page.
|
|
124
|
-
|
|
130
|
+
* `'none'` belongs only where the same data is already in a table on the page.
|
|
131
|
+
* Unset falls back to `DS_CONFIG.chart.dataTable`, then `'toggle'`. */
|
|
132
|
+
readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
|
|
125
133
|
/** Draws skeleton marks in place of the data, at the same count, so the chart does not resize
|
|
126
134
|
* when the data lands. */
|
|
127
135
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
128
|
-
/** Shown in place of the plot when `data` is empty.
|
|
129
|
-
|
|
136
|
+
/** Shown in place of the plot when `data` is empty. Unset falls back to
|
|
137
|
+
* `DS_CONFIG.chart.emptyText`, then `'No data'`. */
|
|
138
|
+
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
130
139
|
/** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
|
|
131
140
|
* because "the request failed" and "there is nothing to show" read the same to a reader and
|
|
132
141
|
* mean opposite things. */
|
|
133
142
|
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
134
|
-
/** The message the error state prints.
|
|
135
|
-
|
|
143
|
+
/** The message the error state prints. Unset falls back to `DS_CONFIG.chart.errorText`, then
|
|
144
|
+
* `'Could not load the data'`. */
|
|
145
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
136
146
|
/** Formats every value the chart prints, the annex table and the generated description
|
|
137
|
-
* included.
|
|
138
|
-
|
|
147
|
+
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
|
|
148
|
+
* grouping with a K/M/B suffix past four digits. */
|
|
149
|
+
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
150
|
+
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
151
|
+
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
152
|
+
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
153
|
+
readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
|
|
139
154
|
protected readonly viewBox = "0 0 640 320";
|
|
140
155
|
protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedSeries[]>;
|
|
141
156
|
/** Ids of the series the legend has switched off. Two-way, so a page can drive it from a URL
|
|
@@ -183,6 +198,10 @@ declare class LineChartComponent {
|
|
|
183
198
|
protected readonly activeBandWidth: _angular_core.Signal<number>;
|
|
184
199
|
protected readonly activeCategoryX: _angular_core.Signal<number>;
|
|
185
200
|
protected onPlotPointer(event: PointerEvent): void;
|
|
201
|
+
/** The highest reading in the category, mapped back into client pixels. Anchoring there rather
|
|
202
|
+
* than at the cursor keeps the panel still while the pointer travels within one band, and puts
|
|
203
|
+
* it over the readings it names instead of over the finger. */
|
|
204
|
+
private readingAnchor;
|
|
186
205
|
protected clearActiveCategory(): void;
|
|
187
206
|
/** Whether the plot opens a tooltip, and for what. `'axis'` names every series at the
|
|
188
207
|
* category under the pointer, which is the reading a multi-series line is compared on;
|
|
@@ -191,6 +210,10 @@ declare class LineChartComponent {
|
|
|
191
210
|
protected readonly tooltipTemplate: _angular_core.Signal<TemplateRef<{
|
|
192
211
|
$implicit: ChartTooltipContext;
|
|
193
212
|
}> | undefined>;
|
|
213
|
+
/** Where the tooltip is pinned. `'point'`, the default, is the highest reading in the category,
|
|
214
|
+
* so the panel stays put while the pointer moves within one band. `'pointer'` follows the
|
|
215
|
+
* cursor. */
|
|
216
|
+
readonly tooltipAnchor: _angular_core.InputSignal<"point" | "pointer">;
|
|
194
217
|
protected readonly tooltipOrigin: _angular_core.WritableSignal<ChartTooltipOrigin | null>;
|
|
195
218
|
/** The series focus is on, or -1 for the whole category. A pointer answers for every
|
|
196
219
|
* series at once; a focused marker answers for its own. */
|
|
@@ -212,6 +235,10 @@ declare class LineChartComponent {
|
|
|
212
235
|
protected readonly secondaryTopY: _angular_core.Signal<number>;
|
|
213
236
|
protected readonly primaryBaselineY: _angular_core.Signal<number>;
|
|
214
237
|
protected readonly secondaryBaselineY: _angular_core.Signal<number>;
|
|
238
|
+
/** Where the crosshair stops. Under `'stacked'` the two plots sit one above the other over one
|
|
239
|
+
* category axis, so a crosshair that ends at the upper plot's baseline leaves the lower plot —
|
|
240
|
+
* the same category, the same pointer — with nothing marked at all. */
|
|
241
|
+
protected readonly cursorBottomY: _angular_core.Signal<number>;
|
|
215
242
|
protected readonly primaryLabelX: _angular_core.Signal<number>;
|
|
216
243
|
protected readonly secondaryLabelX: _angular_core.Signal<number>;
|
|
217
244
|
protected readonly secondaryLabelAnchor: _angular_core.Signal<"end" | "start">;
|
|
@@ -234,7 +261,7 @@ declare class LineChartComponent {
|
|
|
234
261
|
private plotFor;
|
|
235
262
|
private ticksFor;
|
|
236
263
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
237
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "series": { "alias": "series"; "required": true; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "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; }; "dataTable": { "alias": "dataTable"; "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; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "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; }; }, { "pointClicked": "pointClicked"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
264
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": true; "isSignal": true; }; "series": { "alias": "series"; "required": true; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "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; }; "dataTable": { "alias": "dataTable"; "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; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "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>;
|
|
238
265
|
}
|
|
239
266
|
|
|
240
267
|
export { LineChartComponent };
|
|
@@ -38,6 +38,11 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
|
|
|
38
38
|
readonly searchableResolved: _angular_core.Signal<number | boolean>;
|
|
39
39
|
/** Native `name` attribute forwarded to the trigger. */
|
|
40
40
|
readonly name: _angular_core.InputSignal<string | null>;
|
|
41
|
+
/** Extra classes for the portaled panel, beside `ds-dropdown-panel`,
|
|
42
|
+
* `ds-overlay-pane` and this component's own `ds-multi-select-panel`. The panel
|
|
43
|
+
* is portaled out of the host, so a class on the pane is the only way a consumer
|
|
44
|
+
* stylesheet reaches ONE instance of it. */
|
|
45
|
+
readonly panelClass: _angular_core.InputSignal<string | readonly string[]>;
|
|
41
46
|
/** Prevents opening the panel while still allowing focus. */
|
|
42
47
|
readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
43
48
|
/**
|
|
@@ -206,7 +211,7 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
|
|
|
206
211
|
private static readonly pageStep;
|
|
207
212
|
private moveActive;
|
|
208
213
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
209
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectComponent, "ds-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "filterWith": { "alias": "filterWith"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollActiveIntoView": { "alias": "scrollActiveIntoView"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "triggerDisplay": { "alias": "triggerDisplay"; "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; }; "selectAll": { "alias": "selectAll"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "filterChange": "filterChange"; "opened": "opened"; "closed": "closed"; }, ["optionTemplate", "chipTemplate", "pickerTrigger", "panelHeaderTemplate", "panelFooterTemplate", "groupLabelTemplate", "emptyTemplate"], never, true, never>;
|
|
214
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectComponent, "ds-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "filterWith": { "alias": "filterWith"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollActiveIntoView": { "alias": "scrollActiveIntoView"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "triggerDisplay": { "alias": "triggerDisplay"; "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; }; "selectAll": { "alias": "selectAll"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "filterChange": "filterChange"; "opened": "opened"; "closed": "closed"; }, ["optionTemplate", "chipTemplate", "pickerTrigger", "panelHeaderTemplate", "panelFooterTemplate", "groupLabelTemplate", "emptyTemplate"], never, true, never>;
|
|
210
215
|
}
|
|
211
216
|
|
|
212
217
|
export { MultiSelectComponent };
|
|
@@ -57,6 +57,11 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
57
57
|
* than the panel otherwise walks the cursor out of sight. Set `false` only if
|
|
58
58
|
* you are driving the scroll position yourself. */
|
|
59
59
|
readonly scrollActiveIntoView: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
60
|
+
/** Extra classes for the portaled panel, beside `ds-dropdown-panel`,
|
|
61
|
+
* `ds-overlay-pane` and this component's own `ds-select-panel`. The panel is
|
|
62
|
+
* portaled out of the host, so a class on the pane is the only way a consumer
|
|
63
|
+
* stylesheet reaches ONE instance of it. */
|
|
64
|
+
readonly panelClass: _angular_core.InputSignal<string | readonly string[]>;
|
|
60
65
|
/** Prevents opening the dropdown while still allowing focus. */
|
|
61
66
|
readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
62
67
|
/**
|
|
@@ -148,7 +153,7 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
148
153
|
private lastEnabledIndex;
|
|
149
154
|
private firstEnabledIndex;
|
|
150
155
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
151
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "ds-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollActiveIntoView": { "alias": "scrollActiveIntoView"; "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; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "opened": "opened"; "closed": "closed"; }, ["optionTemplate", "pickerTrigger", "panelHeaderTemplate", "panelFooterTemplate", "groupLabelTemplate", "emptyTemplate"], never, true, [{ directive: typeof _ids_group_ltd_ids_design_system_components.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
156
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "ds-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollActiveIntoView": { "alias": "scrollActiveIntoView"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "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; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "opened": "opened"; "closed": "closed"; }, ["optionTemplate", "pickerTrigger", "panelHeaderTemplate", "panelFooterTemplate", "groupLabelTemplate", "emptyTemplate"], never, true, [{ directive: typeof _ids_group_ltd_ids_design_system_components.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
152
157
|
}
|
|
153
158
|
|
|
154
159
|
export { SelectComponent, isSelectOptionGroup };
|
|
@@ -122,6 +122,11 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
122
122
|
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
123
123
|
/** Shows an "(optional)" marker beside the label — ignored when `required` is set. */
|
|
124
124
|
readonly optional: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
125
|
+
/** Extra classes for the portaled panel, beside `ds-dropdown-panel`,
|
|
126
|
+
* `ds-overlay-pane` and this component's own `ds-time-picker-panel`. The panel
|
|
127
|
+
* is portaled out of the host, so a class on the pane is the only way a consumer
|
|
128
|
+
* stylesheet reaches ONE instance of it. */
|
|
129
|
+
readonly panelClass: _angular_core.InputSignal<string | readonly string[]>;
|
|
125
130
|
/** Disables the picker and blocks all interaction. */
|
|
126
131
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
127
132
|
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
@@ -181,7 +186,7 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
181
186
|
private minutesOf;
|
|
182
187
|
private laterOf;
|
|
183
188
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
184
|
-
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; }; "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, never>;
|
|
189
|
+
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, never>;
|
|
185
190
|
}
|
|
186
191
|
|
|
187
192
|
export { TimePickerComponent };
|
|
@@ -56,6 +56,16 @@ declare function formatPercent(value: number, total: number): string;
|
|
|
56
56
|
declare function largestRemainder(values: readonly number[]): number[];
|
|
57
57
|
/** @internal */
|
|
58
58
|
declare function formatTick(value: number, step: number): string;
|
|
59
|
+
/** One mark's share of the total its siblings add up to.
|
|
60
|
+
*
|
|
61
|
+
* A single-series category chart prints every mark's own value beside it, so a tooltip repeating
|
|
62
|
+
* that number tells the reader nothing they are not already looking at. The share is arithmetic
|
|
63
|
+
* the reader should not have to do. Empty for a lone mark, and empty for a reading that is not
|
|
64
|
+
* part of a total anyone can see: negatives and non-finite values are excluded from the total
|
|
65
|
+
* rather than subtracted from it.
|
|
66
|
+
*
|
|
67
|
+
* @internal */
|
|
68
|
+
declare function describeShare(values: readonly number[], index: number): string;
|
|
59
69
|
|
|
60
70
|
/** Container width as a signal. It is 0 under SSR, while the container is
|
|
61
71
|
* `display: none`, and before the first observation.
|
|
@@ -547,13 +557,19 @@ type DsOverlayPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
|
547
557
|
* @internal
|
|
548
558
|
*/
|
|
549
559
|
type DsOverlayCloseCause = 'select' | 'dismiss';
|
|
560
|
+
/**
|
|
561
|
+
* One panel-class input as an array. Spreading the raw input would scatter a
|
|
562
|
+
* string into its characters, which is a silent per-letter class list.
|
|
563
|
+
* @internal
|
|
564
|
+
*/
|
|
565
|
+
declare function panelClassesOf(panelClass: string | readonly string[]): readonly string[];
|
|
550
566
|
/**
|
|
551
567
|
* The geometry every DS dropdown shares. Width is deliberately NOT set here —
|
|
552
568
|
* each caller has its own policy (the exact trigger width, or the trigger as a
|
|
553
569
|
* floor).
|
|
554
570
|
* @internal
|
|
555
571
|
*/
|
|
556
|
-
declare function dropdownOverlay(overlay: Overlay, trigger: HTMLElement,
|
|
572
|
+
declare function dropdownOverlay(overlay: Overlay, trigger: HTMLElement, extraPanelClass?: string | readonly string[]): {
|
|
557
573
|
positionStrategy: FlexibleConnectedPositionStrategy;
|
|
558
574
|
config: OverlayConfig;
|
|
559
575
|
};
|
|
@@ -785,5 +801,5 @@ interface DsTypeAhead {
|
|
|
785
801
|
/** @internal */
|
|
786
802
|
declare function createTypeAhead(): DsTypeAhead;
|
|
787
803
|
|
|
788
|
-
export { CHART_RAMP_COLORS, CHART_SERIES_COLORS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, bandScale, chartColors, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, describeSeries, disposeWithLeave, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, forwardOverlayTokens, largestRemainder, linearScale, nextControlId, nextRovingIndex, niceMax, overlayPlacementOf, prepareOverlayEnter, resolveBrandValue, resolveFieldMessage, scrollActiveOptionIntoView, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
|
|
804
|
+
export { CHART_RAMP_COLORS, CHART_SERIES_COLORS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, bandScale, chartColors, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, describeSeries, describeShare, disposeWithLeave, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, forwardOverlayTokens, largestRemainder, linearScale, nextControlId, nextRovingIndex, niceMax, overlayPlacementOf, panelClassesOf, prepareOverlayEnter, resolveBrandValue, resolveFieldMessage, scrollActiveOptionIntoView, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
|
|
789
805
|
export type { BandScale, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, SummaryPoint };
|
|
@@ -19,6 +19,13 @@ declare function backdropDismiss(): {
|
|
|
19
19
|
type CardElevation = 'flat' | 'raised' | 'hover' | 'interactive';
|
|
20
20
|
type CardPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
21
21
|
|
|
22
|
+
/** Whether the label-and-value table under a chart's plot is offered, and how. It is the non-visual
|
|
23
|
+
* route to the numbers, so `'none'` belongs only where the same data is already in a table on the
|
|
24
|
+
* page. */
|
|
25
|
+
type ChartDataTable = 'toggle' | 'visible' | 'none';
|
|
26
|
+
/** Formats every value a chart prints — the annex table and the generated description included. */
|
|
27
|
+
type ChartValueFormat = (value: number) => string;
|
|
28
|
+
|
|
22
29
|
declare const ICONS: {
|
|
23
30
|
readonly search: "<circle cx=\"11\" cy=\"11\" r=\"7\" /><path d=\"m20 20-3.5-3.5\" />";
|
|
24
31
|
readonly plus: "<path d=\"M12 5v14M5 12h14\" />";
|
|
@@ -237,6 +244,22 @@ interface DsConfig {
|
|
|
237
244
|
/** Default for `ds-badge`'s `withDot` — the leading status dot. Default `false`. */
|
|
238
245
|
withDot?: boolean;
|
|
239
246
|
};
|
|
247
|
+
chart?: {
|
|
248
|
+
/** Default `dataTable` for all five charts. Default `'toggle'`. It is an accessibility policy
|
|
249
|
+
* rather than a per-chart taste — whether the numbers behind a plot have a non-visual route is
|
|
250
|
+
* decided once for an app, not thirty times. */
|
|
251
|
+
dataTable?: ChartDataTable;
|
|
252
|
+
/** Shown in place of the plot when a chart's data is empty. Default `'No data'`. */
|
|
253
|
+
emptyText?: string;
|
|
254
|
+
/** Shown in place of the plot when a chart has `error` set. Default
|
|
255
|
+
* `'Could not load the data'`. */
|
|
256
|
+
errorText?: string;
|
|
257
|
+
/** How every chart formats its values, the annex table and the generated description included.
|
|
258
|
+
* Default is the browser's locale grouping with a K/M/B suffix past four digits. The same
|
|
259
|
+
* reason `datePicker.locale` lives here: a number reads one way in an app, and a formatter
|
|
260
|
+
* passed per chart drifts as soon as there are two screens. */
|
|
261
|
+
valueFormat?: ChartValueFormat;
|
|
262
|
+
};
|
|
240
263
|
datePicker?: {
|
|
241
264
|
/** BCP-47 locale for `ds-date-picker` names + value format. Default `'en-US'`. */
|
|
242
265
|
locale?: string;
|
|
@@ -449,4 +472,4 @@ type DsTriggerDisplay = 'full' | 'count' | 'labels';
|
|
|
449
472
|
type DsControlWidth = 'fill' | 'content';
|
|
450
473
|
|
|
451
474
|
export { DS_CONFIG, ICONS, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, resolveWithConfig };
|
|
452
|
-
export type { CardElevation, CardPadding, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName };
|
|
475
|
+
export type { CardElevation, CardPadding, ChartDataTable, ChartValueFormat, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName };
|
|
@@ -15,7 +15,7 @@ export { ButtonColor, ButtonComponent, ButtonType, ButtonVariant } from '@ids-gr
|
|
|
15
15
|
export { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';
|
|
16
16
|
export { CardComponent, CardElevation, CardPadding } from '@ids-group-ltd/ids-design-system/components/card';
|
|
17
17
|
export { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
18
|
-
export {
|
|
18
|
+
export { ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
19
19
|
export { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';
|
|
20
20
|
export { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';
|
|
21
21
|
export { ColumnChartComponent, ColumnChartPoint } from '@ids-group-ltd/ids-design-system/components/column-chart';
|
|
@@ -76,7 +76,7 @@ export { TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-
|
|
|
76
76
|
export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
|
|
77
77
|
export { TreeComponent, TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
78
78
|
export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
|
|
79
|
-
export { DS_CONFIG, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsTriggerDisplay, ICONS, IconName, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, provideDsConfig } from '@ids-group-ltd/ids-design-system/core';
|
|
79
|
+
export { ChartDataTable, ChartValueFormat, DS_CONFIG, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsTriggerDisplay, ICONS, IconName, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, provideDsConfig } from '@ids-group-ltd/ids-design-system/core';
|
|
80
80
|
export { DS_ICON_REGISTRY, DsIconRegistry, IconComponent, provideDsIcons } from '@ids-group-ltd/ids-design-system/icons';
|
|
81
81
|
export { BodyScrollLockService, DsOverlayCloseRef } from '@ids-group-ltd/ids-design-system/overlay';
|
|
82
82
|
export { DsThemeOptions, provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';
|