@eagami/ui 5.99.0 → 5.101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,6 +90,7 @@ export interface EagamiMessages {
90
90
  barChart: string;
91
91
  pieChart: string;
92
92
  candlestickChart: string;
93
+ waterfallChart: string;
93
94
  /** Header of the data table's label column. */
94
95
  category: string;
95
96
  value: string;
@@ -103,12 +104,19 @@ export interface EagamiMessages {
103
104
  high: string;
104
105
  low: string;
105
106
  close: string;
107
+ /** Headers of a waterfall chart's change and running total columns. */
108
+ change: string;
109
+ runningTotal: string;
106
110
  /** Announces the highlighted point of a line or bar chart. */
107
111
  point: (series: string, label: string, value: string) => string;
108
112
  /** Announces the highlighted slice of a pie chart. */
109
113
  slice: (label: string, value: string, percent: string) => string;
110
114
  /** Announces the highlighted candle of a candlestick chart. */
111
115
  candle: (label: string, open: string, high: string, low: string, close: string) => string;
116
+ /** Announces the highlighted change of a waterfall chart. */
117
+ step: (label: string, change: string, runningTotal: string) => string;
118
+ /** Announces the highlighted total of a waterfall chart. */
119
+ stepTotal: (label: string, total: string) => string;
112
120
  /** Caption beneath the total in a donut's hole. */
113
121
  total: string;
114
122
  /** Default accessible name of a sparkline. */
@@ -117,6 +125,12 @@ export interface EagamiMessages {
117
125
  trendSummary: (first: string, last: string, low: string, high: string) => string;
118
126
  /** Reads out a reference line; `label` is empty when the line has none. */
119
127
  referenceLine: (label: string, value: string) => string;
128
+ /** Default accessible name of a gauge. */
129
+ gauge: string;
130
+ /** Reads out a gauge's value; `band` is the label of the band it falls in, or empty. */
131
+ gaugeValue: (value: string, band: string) => string;
132
+ /** Describes one band of a gauge; `label` is empty when the band has none. */
133
+ gaugeBand: (label: string, from: string, to: string) => string;
120
134
  };
121
135
  codeInput: {
122
136
  groupLabel: (length: number) => string;
@@ -271,6 +285,13 @@ export interface EagamiMessages {
271
285
  spinner: {
272
286
  label: string;
273
287
  };
288
+ stat: {
289
+ /** Reads out a stat tile's rise, given its size. */
290
+ up: (change: string) => string;
291
+ /** Reads out a stat tile's fall, given its size. */
292
+ down: (change: string) => string;
293
+ unchanged: string;
294
+ };
274
295
  stepper: {
275
296
  stepsLabel: string;
276
297
  optional: string;
@@ -1558,7 +1579,7 @@ export type BarChartOrientation = 'vertical' | 'horizontal';
1558
1579
  * another, and `fade` fades the bars in.
1559
1580
  */
1560
1581
  export type BarChartAnimation = 'grow' | 'cascade' | 'fade' | 'none';
1561
- interface PlotBar$1 {
1582
+ interface PlotBar$2 {
1562
1583
  series: number;
1563
1584
  index: number;
1564
1585
  value: number;
@@ -1662,7 +1683,7 @@ export declare class BarChartComponent {
1662
1683
  index: number;
1663
1684
  pos: number;
1664
1685
  }[];
1665
- bars: PlotBar$1[];
1686
+ bars: PlotBar$2[];
1666
1687
  valueLabels: PlotValueLabel[];
1667
1688
  referenceLines: {
1668
1689
  labelX: number;
@@ -1708,7 +1729,7 @@ export declare class BarChartComponent {
1708
1729
  protected readonly announcement: import("@angular/core").Signal<string>;
1709
1730
  protected readonly showsLegend: import("@angular/core").Signal<boolean>;
1710
1731
  protected seriesColor(index: number): string;
1711
- protected isDimmed(bar: PlotBar$1): boolean;
1732
+ protected isDimmed(bar: PlotBar$2): boolean;
1712
1733
  protected referenceText(line: ChartReferenceLine): string;
1713
1734
  protected tableValue(value: number | null | undefined): string;
1714
1735
  protected onPointerMove(event: PointerEvent): void;
@@ -5367,6 +5388,182 @@ export declare class FileUploaderComponent extends LabelledFieldControlBase impl
5367
5388
  "dragOverChanged": "dragOverChanged";
5368
5389
  }, never, ["[icon]"], true, never>;
5369
5390
  }
5391
+ /** One stretch of an `<ea-gauge>`'s scale, such as a low, medium, or high risk band. */
5392
+ export interface GaugeBand {
5393
+ /** Where the band starts, on the gauge's scale. */
5394
+ from: number;
5395
+ /** Where the band ends, on the gauge's scale. */
5396
+ to: number;
5397
+ /** Name of the band, read out with the value and shown as the default caption. */
5398
+ label?: string;
5399
+ /** Any CSS color; defaults to the next slot of the `--color-chart-*` palette. */
5400
+ color?: string;
5401
+ }
5402
+ /**
5403
+ * Entrance animation, replayed whenever the animation settings change. `sweep`
5404
+ * fills the arc from the minimum up to the value, and `fade` fades the gauge in.
5405
+ * Either one also eases the arc to each new value.
5406
+ */
5407
+ export type GaugeAnimation = 'sweep' | 'fade' | 'none';
5408
+ interface PlotBand {
5409
+ index: number;
5410
+ path: string;
5411
+ color: string;
5412
+ }
5413
+ /**
5414
+ * Shows one value between a minimum and a maximum as a filled semicircular arc,
5415
+ * with the formatted value and a caption in the middle. Optional bands mark
5416
+ * stretches of the scale, such as low, medium, and high risk, in a ring around
5417
+ * the arc, and the arc takes the color of the band the value falls in. It is a
5418
+ * meter to assistive technology, read out with its value and band.
5419
+ */
5420
+ export declare class GaugeComponent {
5421
+ protected readonly i18n: EagamiI18nService;
5422
+ /** The value to show; one outside the scale fills the arc to the nearer end. */
5423
+ readonly value: import("@angular/core").InputSignal<number>;
5424
+ /** Start of the scale, at the left end of the arc. */
5425
+ readonly min: import("@angular/core").InputSignal<number>;
5426
+ /** End of the scale, at the right end of the arc. */
5427
+ readonly max: import("@angular/core").InputSignal<number>;
5428
+ /**
5429
+ * Stretches of the scale drawn in a ring around the arc. A value on the
5430
+ * boundary of two bands falls in the later one.
5431
+ */
5432
+ readonly bands: import("@angular/core").InputSignal<readonly GaugeBand[]>;
5433
+ /** Text beneath the value; defaults to the label of the band the value falls in. */
5434
+ readonly caption: import("@angular/core").InputSignal<string | undefined>;
5435
+ /**
5436
+ * Any CSS color for the arc; defaults to the color of the band the value
5437
+ * falls in, or the first chart palette color.
5438
+ */
5439
+ readonly color: import("@angular/core").InputSignal<string | undefined>;
5440
+ /** Prints the minimum and maximum beneath the ends of the arc. */
5441
+ readonly showLimits: import("@angular/core").InputSignal<boolean>;
5442
+ /** Largest width of the gauge in pixels; it shrinks to fit a narrower container. */
5443
+ readonly width: import("@angular/core").InputSignal<number>;
5444
+ /** Visual size; scales the caption and limit text. */
5445
+ readonly size: import("@angular/core").InputSignal<import("@eagami/ui").EaSize>;
5446
+ /** Entrance animation, replayed whenever the animation settings change. */
5447
+ readonly animation: import("@angular/core").InputSignal<GaugeAnimation>;
5448
+ /** Length of the entrance animation, and of the move to a new value, in milliseconds. */
5449
+ readonly animationDuration: import("@angular/core").InputSignal<number>;
5450
+ /** Formats the value and limits, and the values read out; locale-grouped by default. */
5451
+ readonly formatValue: import("@angular/core").InputSignal<((value: number) => string) | null>;
5452
+ /** Accessible name for the gauge; defaults to the caption, then a localized "Gauge". */
5453
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
5454
+ private readonly viewport;
5455
+ private readonly format;
5456
+ protected readonly bandsId: string;
5457
+ protected readonly label: import("@angular/core").Signal<string>;
5458
+ protected readonly renderPass: import("@angular/core").Signal<{}[]>;
5459
+ protected readonly hostClasses: import("@angular/core").Signal<{
5460
+ [x: string]: boolean;
5461
+ }>;
5462
+ protected readonly current: import("@angular/core").Signal<number>;
5463
+ protected readonly fraction: import("@angular/core").Signal<number>;
5464
+ private readonly scaledBands;
5465
+ protected readonly activeBand: import("@angular/core").Signal<{
5466
+ band: GaugeBand;
5467
+ index: number;
5468
+ from: number;
5469
+ to: number;
5470
+ } | null>;
5471
+ protected readonly fill: import("@angular/core").Signal<string>;
5472
+ protected readonly captionText: import("@angular/core").Signal<string>;
5473
+ protected readonly layout: import("@angular/core").Signal<{
5474
+ width: number;
5475
+ height: number;
5476
+ thickness: number;
5477
+ bandThickness: number;
5478
+ track: string;
5479
+ bands: PlotBand[];
5480
+ limits: {
5481
+ y: number;
5482
+ minX: number;
5483
+ maxX: number;
5484
+ };
5485
+ center: {
5486
+ left: number;
5487
+ width: number;
5488
+ height: number;
5489
+ room: number;
5490
+ value: string;
5491
+ valuePx: number;
5492
+ };
5493
+ }>;
5494
+ protected readonly minText: import("@angular/core").Signal<string>;
5495
+ protected readonly maxText: import("@angular/core").Signal<string>;
5496
+ protected readonly valueText: import("@angular/core").Signal<string>;
5497
+ protected readonly bandsSummary: import("@angular/core").Signal<string>;
5498
+ static ɵfac: i0.ɵɵFactoryDeclaration<GaugeComponent, never>;
5499
+ static ɵcmp: i0.ɵɵComponentDeclaration<GaugeComponent, "ea-gauge", never, {
5500
+ "value": {
5501
+ "alias": "value";
5502
+ "required": false;
5503
+ "isSignal": true;
5504
+ };
5505
+ "min": {
5506
+ "alias": "min";
5507
+ "required": false;
5508
+ "isSignal": true;
5509
+ };
5510
+ "max": {
5511
+ "alias": "max";
5512
+ "required": false;
5513
+ "isSignal": true;
5514
+ };
5515
+ "bands": {
5516
+ "alias": "bands";
5517
+ "required": false;
5518
+ "isSignal": true;
5519
+ };
5520
+ "caption": {
5521
+ "alias": "caption";
5522
+ "required": false;
5523
+ "isSignal": true;
5524
+ };
5525
+ "color": {
5526
+ "alias": "color";
5527
+ "required": false;
5528
+ "isSignal": true;
5529
+ };
5530
+ "showLimits": {
5531
+ "alias": "showLimits";
5532
+ "required": false;
5533
+ "isSignal": true;
5534
+ };
5535
+ "width": {
5536
+ "alias": "width";
5537
+ "required": false;
5538
+ "isSignal": true;
5539
+ };
5540
+ "size": {
5541
+ "alias": "size";
5542
+ "required": false;
5543
+ "isSignal": true;
5544
+ };
5545
+ "animation": {
5546
+ "alias": "animation";
5547
+ "required": false;
5548
+ "isSignal": true;
5549
+ };
5550
+ "animationDuration": {
5551
+ "alias": "animationDuration";
5552
+ "required": false;
5553
+ "isSignal": true;
5554
+ };
5555
+ "formatValue": {
5556
+ "alias": "formatValue";
5557
+ "required": false;
5558
+ "isSignal": true;
5559
+ };
5560
+ "ariaLabel": {
5561
+ "alias": "aria-label";
5562
+ "required": false;
5563
+ "isSignal": true;
5564
+ };
5565
+ }, {}, never, never, true, never>;
5566
+ }
5370
5567
  /** Live state of a field's typewriter placeholder. */
5371
5568
  interface TypedPlaceholder {
5372
5569
  /** Whether the typed layer stands in for the native placeholder. */
@@ -7694,7 +7891,7 @@ export type SparklineMarkers = 'none' | 'last' | 'extremes' | 'all';
7694
7891
  * line or grows the bars, and `fade` fades the sparkline in.
7695
7892
  */
7696
7893
  export type SparklineAnimation = 'draw' | 'fade' | 'none';
7697
- interface PlotBar {
7894
+ interface PlotBar$1 {
7698
7895
  index: number;
7699
7896
  x: number;
7700
7897
  y: number;
@@ -7761,7 +7958,7 @@ export declare class SparklineComponent {
7761
7958
  width: number;
7762
7959
  height: number;
7763
7960
  baseline: number;
7764
- bars: PlotBar[];
7961
+ bars: PlotBar$1[];
7765
7962
  paths: never[];
7766
7963
  areas: never[];
7767
7964
  markers: never[];
@@ -7789,7 +7986,7 @@ export declare class SparklineComponent {
7789
7986
  x: number;
7790
7987
  y: number;
7791
7988
  }[]>;
7792
- protected isDimmed(bar: PlotBar): boolean;
7989
+ protected isDimmed(bar: PlotBar$1): boolean;
7793
7990
  protected onPointer(event: PointerEvent): void;
7794
7991
  protected onPointerUp(event: PointerEvent): void;
7795
7992
  protected clear(): void;
@@ -7888,6 +8085,124 @@ export declare class SpinnerComponent {
7888
8085
  };
7889
8086
  }, {}, never, never, true, never>;
7890
8087
  }
8088
+ /** Visual size of a stat tile; scales its text, spacing, and sparkline. */
8089
+ export type StatSize = EaSize;
8090
+ /** Surface of a stat tile: a bordered tile, a subtle fill, or none, to sit inside a card. */
8091
+ export type StatVariant = 'outlined' | 'filled' | 'plain';
8092
+ /**
8093
+ * How a stat tile prints its change: as a share of the previous value, or as
8094
+ * the difference between the two values.
8095
+ */
8096
+ export type StatChangeFormat = 'percent' | 'absolute';
8097
+ type ChangeDirection = 'up' | 'down' | 'flat';
8098
+ type ChangeTone = 'positive' | 'negative' | 'neutral';
8099
+ /**
8100
+ * A dashboard figure: a label over a formatted value, the change against a
8101
+ * previous period with an up or down arrow in the positive or negative tone,
8102
+ * an optional caption, and an optional sparkline of recent values. The arrow
8103
+ * and sign carry the direction, so it never rests on colour alone.
8104
+ */
8105
+ export declare class StatComponent {
8106
+ protected readonly i18n: EagamiI18nService;
8107
+ /** Name of the figure, shown above it. */
8108
+ readonly label: import("@angular/core").InputSignal<string>;
8109
+ /** The figure for the current period. */
8110
+ readonly value: import("@angular/core").InputSignal<number>;
8111
+ /** The figure for the previous period; the change against it shows beneath the value. */
8112
+ readonly previousValue: import("@angular/core").InputSignal<number | null>;
8113
+ /**
8114
+ * Prints the change as a share of the previous value, or as the difference.
8115
+ * A share of zero has no size, so a change from zero prints the difference.
8116
+ */
8117
+ readonly changeFormat: import("@angular/core").InputSignal<StatChangeFormat>;
8118
+ /** Treats a rise as bad and a fall as good, as for costs, swapping the positive and negative tones. */
8119
+ readonly invertTone: import("@angular/core").InputSignal<boolean>;
8120
+ /** Text after the change, such as "vs last month". */
8121
+ readonly caption: import("@angular/core").InputSignal<string | undefined>;
8122
+ /** Values for a sparkline under the figure, oldest first; `null` leaves a gap. */
8123
+ readonly sparkline: import("@angular/core").InputSignal<(number | null)[]>;
8124
+ /** Draws the sparkline as a line, a line over a filled area, or bars. */
8125
+ readonly sparklineVariant: import("@angular/core").InputSignal<SparklineVariant>;
8126
+ /** A bordered tile, a subtle fill, or no surface at all, to sit inside a card. */
8127
+ readonly variant: import("@angular/core").InputSignal<StatVariant>;
8128
+ /** Visual size; scales the text, spacing, and sparkline. */
8129
+ readonly size: import("@angular/core").InputSignal<EaSize>;
8130
+ /** Formats the value, an absolute change, and the sparkline's values; locale-grouped by default. */
8131
+ readonly formatValue: import("@angular/core").InputSignal<((value: number) => string) | null>;
8132
+ private readonly format;
8133
+ protected readonly hostClasses: import("@angular/core").Signal<{
8134
+ [x: string]: boolean;
8135
+ }>;
8136
+ protected readonly formattedValue: import("@angular/core").Signal<string>;
8137
+ protected readonly sparklineHeight: import("@angular/core").Signal<number>;
8138
+ protected readonly hasSparkline: import("@angular/core").Signal<boolean>;
8139
+ protected readonly change: import("@angular/core").Signal<{
8140
+ direction: ChangeDirection;
8141
+ tone: ChangeTone;
8142
+ text: string;
8143
+ spoken: string;
8144
+ } | null>;
8145
+ private percent;
8146
+ private signed;
8147
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatComponent, never>;
8148
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatComponent, "ea-stat", never, {
8149
+ "label": {
8150
+ "alias": "label";
8151
+ "required": false;
8152
+ "isSignal": true;
8153
+ };
8154
+ "value": {
8155
+ "alias": "value";
8156
+ "required": false;
8157
+ "isSignal": true;
8158
+ };
8159
+ "previousValue": {
8160
+ "alias": "previousValue";
8161
+ "required": false;
8162
+ "isSignal": true;
8163
+ };
8164
+ "changeFormat": {
8165
+ "alias": "changeFormat";
8166
+ "required": false;
8167
+ "isSignal": true;
8168
+ };
8169
+ "invertTone": {
8170
+ "alias": "invertTone";
8171
+ "required": false;
8172
+ "isSignal": true;
8173
+ };
8174
+ "caption": {
8175
+ "alias": "caption";
8176
+ "required": false;
8177
+ "isSignal": true;
8178
+ };
8179
+ "sparkline": {
8180
+ "alias": "sparkline";
8181
+ "required": false;
8182
+ "isSignal": true;
8183
+ };
8184
+ "sparklineVariant": {
8185
+ "alias": "sparklineVariant";
8186
+ "required": false;
8187
+ "isSignal": true;
8188
+ };
8189
+ "variant": {
8190
+ "alias": "variant";
8191
+ "required": false;
8192
+ "isSignal": true;
8193
+ };
8194
+ "size": {
8195
+ "alias": "size";
8196
+ "required": false;
8197
+ "isSignal": true;
8198
+ };
8199
+ "formatValue": {
8200
+ "alias": "formatValue";
8201
+ "required": false;
8202
+ "isSignal": true;
8203
+ };
8204
+ }, {}, never, never, true, never>;
8205
+ }
7891
8206
  /**
7892
8207
  * Single step within an `<ea-stepper>`. Registers itself with the parent on
7893
8208
  * init, exposes its `label` / `completed` / `optional` flags, and shows its
@@ -9598,6 +9913,280 @@ export declare class VirtualListComponent {
9598
9913
  "scrollIndexChange": "scrollIndexChange";
9599
9914
  }, ["itemTemplate"], never, true, never>;
9600
9915
  }
9916
+ /** One step of an `<ea-waterfall-chart>`: a change to the running total, or a total. */
9917
+ export interface WaterfallChartStep {
9918
+ /** Name of the step, shown on the axis, tooltip, and data table. */
9919
+ label: string;
9920
+ /**
9921
+ * How much the step raises (positive) or lowers (negative) the running total;
9922
+ * a change missing a finite value leaves a gap. On a total step, a value resets
9923
+ * the running total to it, such as an opening balance, and no value shows the
9924
+ * running total so far.
9925
+ */
9926
+ value?: number | null;
9927
+ /** Draws the step from the baseline in the total tone, as a subtotal or total. */
9928
+ total?: boolean;
9929
+ }
9930
+ /** Payload describing a single step of a waterfall chart. */
9931
+ export interface WaterfallChartStepEvent {
9932
+ index: number;
9933
+ label: string;
9934
+ /** How much the step changed the running total, or `null` for a total step. */
9935
+ change: number | null;
9936
+ /** The running total after the step. */
9937
+ runningTotal: number;
9938
+ /** Whether the step is a total drawn from the baseline. */
9939
+ total: boolean;
9940
+ }
9941
+ /**
9942
+ * Entrance animation, replayed whenever the data changes. `grow` draws every
9943
+ * bar out of the level it starts from together, `cascade` does so one step
9944
+ * after another, and `fade` fades the bars in.
9945
+ */
9946
+ export type WaterfallChartAnimation = 'grow' | 'cascade' | 'fade' | 'none';
9947
+ type StepTone = 'rise' | 'fall' | 'total';
9948
+ interface ResolvedStep {
9949
+ tone: StepTone;
9950
+ change: number | null;
9951
+ /** Level the bar starts from: the running total before a change, or zero for a total. */
9952
+ start: number;
9953
+ /** The running total after the step, where the bar ends. */
9954
+ end: number;
9955
+ }
9956
+ interface PlotBar {
9957
+ index: number;
9958
+ tone: StepTone;
9959
+ x: number;
9960
+ y: number;
9961
+ width: number;
9962
+ height: number;
9963
+ /** Height of the level the bar starts from, which the entrance grows it out of. */
9964
+ origin: number;
9965
+ delay: number;
9966
+ }
9967
+ /**
9968
+ * Shows how a run of rises and falls builds a total, such as cash flow over a
9969
+ * period: each change floats from the running total before it, rises and
9970
+ * falls take the positive and negative tones, and total steps stand on the
9971
+ * baseline. Thin connectors carry the running total from each bar to the next.
9972
+ * Hovering or arrowing through the chart reveals each step in a tooltip, and a
9973
+ * visually hidden table carries the full data for screen readers.
9974
+ */
9975
+ export declare class WaterfallChartComponent {
9976
+ protected readonly i18n: EagamiI18nService;
9977
+ /** The steps to draw, in order. */
9978
+ readonly data: import("@angular/core").InputSignal<WaterfallChartStep[]>;
9979
+ /** Any CSS color for rises; defaults to the success color. */
9980
+ readonly risingColor: import("@angular/core").InputSignal<string | undefined>;
9981
+ /** Any CSS color for falls; defaults to the error color. */
9982
+ readonly fallingColor: import("@angular/core").InputSignal<string | undefined>;
9983
+ /** Any CSS color for totals; defaults to the first chart palette color. */
9984
+ readonly totalColor: import("@angular/core").InputSignal<string | undefined>;
9985
+ /** Draws gridlines at each value-axis tick. */
9986
+ readonly showGrid: import("@angular/core").InputSignal<boolean>;
9987
+ /** Prints each change, signed, and each total beyond the end of its bar. */
9988
+ readonly showValues: import("@angular/core").InputSignal<boolean>;
9989
+ /** Joins each bar to the next at the running total between them. */
9990
+ readonly showConnectors: import("@angular/core").InputSignal<boolean>;
9991
+ /** How the step labels are set; `auto` turns them as they run out of room. */
9992
+ readonly xLabelOrientation: import("@angular/core").InputSignal<ChartLabelOrientation>;
9993
+ /**
9994
+ * Dashed rules across the plot at set values, such as a budget or a target.
9995
+ * The value axis widens to take them in.
9996
+ */
9997
+ readonly referenceLines: import("@angular/core").InputSignal<readonly ChartReferenceLine[]>;
9998
+ /** Height of the plot in pixels; the width fills the container. */
9999
+ readonly height: import("@angular/core").InputSignal<number>;
10000
+ /** Visual size; scales the axis, value, and tooltip text and the bar width cap. */
10001
+ readonly size: import("@angular/core").InputSignal<import("@eagami/ui").EaSize>;
10002
+ /** Entrance animation, replayed whenever the data changes. */
10003
+ readonly animation: import("@angular/core").InputSignal<WaterfallChartAnimation>;
10004
+ /** Length of the entrance animation in milliseconds. */
10005
+ readonly animationDuration: import("@angular/core").InputSignal<number>;
10006
+ /** Formats values on the axis, tooltip, and data table; locale-grouped by default. */
10007
+ readonly formatValue: import("@angular/core").InputSignal<((value: number) => string) | null>;
10008
+ /** Accessible name for the chart; defaults to a localized "Waterfall chart". */
10009
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
10010
+ /** Fires when a bar is clicked, or chosen with Enter or Space. */
10011
+ readonly stepClick: import("@angular/core").OutputEmitterRef<WaterfallChartStepEvent>;
10012
+ /** Fires when the highlighted bar changes by pointer or keyboard, with `null` once cleared. */
10013
+ readonly activeStepChange: import("@angular/core").OutputEmitterRef<WaterfallChartStepEvent | null>;
10014
+ private readonly viewport;
10015
+ private readonly format;
10016
+ protected readonly active: import("@angular/core").WritableSignal<number | null>;
10017
+ protected readonly label: import("@angular/core").Signal<string>;
10018
+ protected readonly steps: import("@angular/core").Signal<(ResolvedStep | null)[]>;
10019
+ protected readonly hasData: import("@angular/core").Signal<boolean>;
10020
+ protected readonly references: import("@angular/core").Signal<ChartReferenceLine[]>;
10021
+ protected readonly renderPass: import("@angular/core").Signal<{}[]>;
10022
+ protected readonly hostClasses: import("@angular/core").Signal<{
10023
+ [x: string]: boolean;
10024
+ }>;
10025
+ protected readonly layout: import("@angular/core").Signal<{
10026
+ width: number;
10027
+ height: number;
10028
+ top: number;
10029
+ left: number;
10030
+ plotWidth: number;
10031
+ plotHeight: number;
10032
+ band: number;
10033
+ axisPx: number;
10034
+ axisY: number;
10035
+ baseline: number;
10036
+ ticks: {
10037
+ value: number;
10038
+ text: string;
10039
+ pos: number;
10040
+ }[];
10041
+ categories: {
10042
+ text: string;
10043
+ index: number;
10044
+ pos: number;
10045
+ }[];
10046
+ bars: PlotBar[];
10047
+ valueLabels: {
10048
+ index: number;
10049
+ x: number;
10050
+ y: number;
10051
+ text: string;
10052
+ }[];
10053
+ connectors: {
10054
+ index: number;
10055
+ x1: number;
10056
+ x2: number;
10057
+ y: number;
10058
+ }[];
10059
+ referenceLines: {
10060
+ labelX: number;
10061
+ labelY: number;
10062
+ key: number;
10063
+ pos: number;
10064
+ value: number;
10065
+ label?: string;
10066
+ color?: string;
10067
+ }[];
10068
+ valuePos: (value: number) => number;
10069
+ tickEndY: number;
10070
+ labelAngle: number;
10071
+ labelY: number;
10072
+ }>;
10073
+ protected readonly tooltip: import("@angular/core").Signal<{
10074
+ x: number;
10075
+ y: number;
10076
+ title: string;
10077
+ rows: {
10078
+ name: string;
10079
+ value: string;
10080
+ }[];
10081
+ key: number;
10082
+ } | null>;
10083
+ protected readonly tooltips: import("@angular/core").Signal<{
10084
+ x: number;
10085
+ y: number;
10086
+ title: string;
10087
+ rows: {
10088
+ name: string;
10089
+ value: string;
10090
+ }[];
10091
+ key: number;
10092
+ }[]>;
10093
+ protected readonly announcement: import("@angular/core").Signal<string>;
10094
+ protected isDimmed(bar: PlotBar): boolean;
10095
+ protected referenceText(line: ChartReferenceLine): string;
10096
+ protected tableCells(index: number): [string, string];
10097
+ protected tableValue(value: number | null | undefined): string;
10098
+ protected onPointerMove(event: PointerEvent): void;
10099
+ protected onPointerLeave(): void;
10100
+ protected onClick(): void;
10101
+ protected onFocus(): void;
10102
+ protected onBlur(): void;
10103
+ protected onKeydown(event: KeyboardEvent): void;
10104
+ private signed;
10105
+ private firstFrom;
10106
+ private eventFor;
10107
+ private setActive;
10108
+ static ɵfac: i0.ɵɵFactoryDeclaration<WaterfallChartComponent, never>;
10109
+ static ɵcmp: i0.ɵɵComponentDeclaration<WaterfallChartComponent, "ea-waterfall-chart", never, {
10110
+ "data": {
10111
+ "alias": "data";
10112
+ "required": false;
10113
+ "isSignal": true;
10114
+ };
10115
+ "risingColor": {
10116
+ "alias": "risingColor";
10117
+ "required": false;
10118
+ "isSignal": true;
10119
+ };
10120
+ "fallingColor": {
10121
+ "alias": "fallingColor";
10122
+ "required": false;
10123
+ "isSignal": true;
10124
+ };
10125
+ "totalColor": {
10126
+ "alias": "totalColor";
10127
+ "required": false;
10128
+ "isSignal": true;
10129
+ };
10130
+ "showGrid": {
10131
+ "alias": "showGrid";
10132
+ "required": false;
10133
+ "isSignal": true;
10134
+ };
10135
+ "showValues": {
10136
+ "alias": "showValues";
10137
+ "required": false;
10138
+ "isSignal": true;
10139
+ };
10140
+ "showConnectors": {
10141
+ "alias": "showConnectors";
10142
+ "required": false;
10143
+ "isSignal": true;
10144
+ };
10145
+ "xLabelOrientation": {
10146
+ "alias": "xLabelOrientation";
10147
+ "required": false;
10148
+ "isSignal": true;
10149
+ };
10150
+ "referenceLines": {
10151
+ "alias": "referenceLines";
10152
+ "required": false;
10153
+ "isSignal": true;
10154
+ };
10155
+ "height": {
10156
+ "alias": "height";
10157
+ "required": false;
10158
+ "isSignal": true;
10159
+ };
10160
+ "size": {
10161
+ "alias": "size";
10162
+ "required": false;
10163
+ "isSignal": true;
10164
+ };
10165
+ "animation": {
10166
+ "alias": "animation";
10167
+ "required": false;
10168
+ "isSignal": true;
10169
+ };
10170
+ "animationDuration": {
10171
+ "alias": "animationDuration";
10172
+ "required": false;
10173
+ "isSignal": true;
10174
+ };
10175
+ "formatValue": {
10176
+ "alias": "formatValue";
10177
+ "required": false;
10178
+ "isSignal": true;
10179
+ };
10180
+ "ariaLabel": {
10181
+ "alias": "aria-label";
10182
+ "required": false;
10183
+ "isSignal": true;
10184
+ };
10185
+ }, {
10186
+ "stepClick": "stepClick";
10187
+ "activeStepChange": "activeStepChange";
10188
+ }, never, never, true, never>;
10189
+ }
9601
10190
  /**
9602
10191
  * Resolves an icon's human-readable display name. Pass the component class
9603
10192
  * (`iconDisplayName(GithubIconComponent)` returns `'GitHub'`) or its slug