@eagami/ui 5.100.0 → 5.102.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.
@@ -125,6 +125,33 @@ export interface EagamiMessages {
125
125
  trendSummary: (first: string, last: string, low: string, high: string) => string;
126
126
  /** Reads out a reference line; `label` is empty when the line has none. */
127
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;
134
+ /** Default accessible name of a heatmap. */
135
+ heatmap: string;
136
+ /** Default accessible name of a treemap. */
137
+ treemap: string;
138
+ /** Announces the highlighted tile of a treemap that is coloured by change. */
139
+ tileChange: (label: string, value: string, share: string, change: string) => string;
140
+ /** Default accessible name of a scatter chart. */
141
+ scatterChart: string;
142
+ /** Header of a scatter chart's series column. */
143
+ series: string;
144
+ /** Default names of a scatter chart's horizontal and vertical axes and bubble size. */
145
+ xValue: string;
146
+ yValue: string;
147
+ bubbleSize: string;
148
+ /** Pairs a scatter chart axis name with a value, such as "Risk 12%". */
149
+ axisValue: (name: string, value: string) => string;
150
+ /**
151
+ * Announces the highlighted point of a scatter chart. `x`, `y`, and `size` come
152
+ * from `axisValue`; `label` and `size` are empty when the point has none.
153
+ */
154
+ scatterPoint: (series: string, label: string, x: string, y: string, size: string) => string;
128
155
  };
129
156
  codeInput: {
130
157
  groupLabel: (length: number) => string;
@@ -279,6 +306,13 @@ export interface EagamiMessages {
279
306
  spinner: {
280
307
  label: string;
281
308
  };
309
+ stat: {
310
+ /** Reads out a stat tile's rise, given its size. */
311
+ up: (change: string) => string;
312
+ /** Reads out a stat tile's fall, given its size. */
313
+ down: (change: string) => string;
314
+ unchanged: string;
315
+ };
282
316
  stepper: {
283
317
  stepsLabel: string;
284
318
  optional: string;
@@ -5375,190 +5409,152 @@ export declare class FileUploaderComponent extends LabelledFieldControlBase impl
5375
5409
  "dragOverChanged": "dragOverChanged";
5376
5410
  }, never, ["[icon]"], true, never>;
5377
5411
  }
5378
- /** Live state of a field's typewriter placeholder. */
5379
- interface TypedPlaceholder {
5380
- /** Whether the typed layer stands in for the native placeholder. */
5381
- readonly animating: Signal<boolean>;
5382
- /** The whole hint in play, for the native `placeholder` attribute. */
5383
- readonly hint: Signal<string>;
5384
- /** The part of the hint typed so far. */
5385
- readonly text: Signal<string>;
5386
- /** Whether characters are still arriving; the cursor blinks only once they stop. */
5387
- readonly typing: Signal<boolean>;
5412
+ /** One stretch of an `<ea-gauge>`'s scale, such as a low, medium, or high risk band. */
5413
+ export interface GaugeBand {
5414
+ /** Where the band starts, on the gauge's scale. */
5415
+ from: number;
5416
+ /** Where the band ends, on the gauge's scale. */
5417
+ to: number;
5418
+ /** Name of the band, read out with the value and shown as the default caption. */
5419
+ label?: string;
5420
+ /** Any CSS color; defaults to the next slot of the `--color-chart-*` palette. */
5421
+ color?: string;
5388
5422
  }
5389
- /** Visual size of the input. */
5390
- export type InputSize = EaSize;
5391
- /** HTML `type` attribute applied to the underlying `<input>`. */
5392
- export type InputType = 'text' | 'email' | 'password' | 'search' | 'tel' | 'url';
5393
5423
  /**
5394
- * Single-line text field with label, hint, and error message support.
5395
- * Includes a built-in show/hide toggle for `password` inputs and integrates
5396
- * with Angular forms via `ControlValueAccessor`. Prefix and suffix content
5397
- * can be projected via the `prefix` and `suffix` slots.
5424
+ * Entrance animation, replayed whenever the animation settings change. `sweep`
5425
+ * fills the arc from the minimum up to the value, and `fade` fades the gauge in.
5426
+ * Either one also eases the arc to each new value.
5398
5427
  */
5399
- export declare class InputComponent extends LabelledFieldControlBase implements ControlValueAccessor {
5400
- readonly inputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
5401
- private readonly injector;
5428
+ export type GaugeAnimation = 'sweep' | 'fade' | 'none';
5429
+ interface PlotBand {
5430
+ index: number;
5431
+ path: string;
5432
+ color: string;
5433
+ }
5434
+ /**
5435
+ * Shows one value between a minimum and a maximum as a filled semicircular arc,
5436
+ * with the formatted value and a caption in the middle. Optional bands mark
5437
+ * stretches of the scale, such as low, medium, and high risk, in a ring around
5438
+ * the arc, and the arc takes the color of the band the value falls in. It is a
5439
+ * meter to assistive technology, read out with its value and band.
5440
+ */
5441
+ export declare class GaugeComponent {
5402
5442
  protected readonly i18n: EagamiI18nService;
5403
- /** Accessible name for the control when no visible `label` is set. */
5404
- readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
5405
- /** Space-separated ids of the elements whose text names the field, such as a label outside the component. */
5406
- readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
5407
- /** ARIA role applied to the native input, e.g. `combobox` for a typeahead host. */
5408
- readonly role: import("@angular/core").InputSignal<string | undefined>;
5409
- /** Expanded state of a controlled popup, forwarded as `aria-expanded`. */
5410
- readonly ariaExpanded: import("@angular/core").InputSignal<boolean | undefined>;
5411
- /** `id` of the popup element the input controls, forwarded as `aria-controls`. */
5412
- readonly ariaControls: import("@angular/core").InputSignal<string | undefined>;
5413
- /** `id` of the active option in a controlled popup, forwarded as `aria-activedescendant`. */
5414
- readonly ariaActivedescendant: import("@angular/core").InputSignal<string | undefined>;
5415
- /** Autocomplete behavior hint, forwarded as `aria-autocomplete`. */
5416
- readonly ariaAutocomplete: import("@angular/core").InputSignal<"none" | "inline" | "list" | "both" | undefined>;
5417
- /** Native input type; `password` adds a built-in show/hide toggle. */
5418
- readonly type: import("@angular/core").InputSignal<InputType>;
5419
- /** Placeholder shown while the field is empty. */
5420
- readonly placeholder: import("@angular/core").InputSignal<string>;
5443
+ /** The value to show; one outside the scale fills the arc to the nearer end. */
5444
+ readonly value: import("@angular/core").InputSignal<number>;
5445
+ /** Start of the scale, at the left end of the arc. */
5446
+ readonly min: import("@angular/core").InputSignal<number>;
5447
+ /** End of the scale, at the right end of the arc. */
5448
+ readonly max: import("@angular/core").InputSignal<number>;
5421
5449
  /**
5422
- * Hints typed into the empty field one character at a time, trailed by a
5423
- * blinking cursor, each held and then replaced by the next, in a loop. The
5424
- * native placeholder carries the whole current hint for assistive
5425
- * technology, and under `prefers-reduced-motion` the hints swap whole without
5426
- * a cursor. Takes the place of `placeholder` while it holds any hints.
5450
+ * Stretches of the scale drawn in a ring around the arc. A value on the
5451
+ * boundary of two bands falls in the later one.
5427
5452
  */
5428
- readonly typedPlaceholder: import("@angular/core").InputSignal<readonly string[]>;
5429
- /** Leading icon component rendered before the text, e.g. a search or filter glyph. */
5430
- readonly icon: import("@angular/core").InputSignal<Type<unknown> | undefined>;
5431
- /** Keeps the leading icon while the field has a value; when false it shows only alongside the placeholder. */
5432
- readonly keepIcon: import("@angular/core").InputSignal<boolean>;
5433
- /** Visual size of the field. */
5434
- readonly size: import("@angular/core").InputSignal<EaSize>;
5435
- /** Disables the field. */
5436
- readonly disabled: import("@angular/core").InputSignal<boolean>;
5437
- /** Renders the field read-only. */
5438
- readonly readonly: import("@angular/core").InputSignal<boolean>;
5439
- /** Value for the native `autocomplete` attribute. */
5440
- readonly autocomplete: import("@angular/core").InputSignal<string | undefined>;
5441
- /** Value for the native `spellcheck` attribute; left to the browser default when unset. */
5442
- readonly spellcheck: import("@angular/core").InputSignal<boolean | undefined>;
5443
- /** `id` of a `<datalist>` to associate for native suggestions. */
5444
- readonly list: import("@angular/core").InputSignal<string | undefined>;
5445
- /** Maximum number of characters (native `maxlength`). */
5446
- readonly maxLength: import("@angular/core").InputSignal<number | undefined>;
5447
- /** Minimum number of characters (native `minlength`). */
5448
- readonly minLength: import("@angular/core").InputSignal<number | undefined>;
5449
- /** Focuses the field once, after it first renders. */
5450
- readonly autofocus: import("@angular/core").InputSignal<boolean>;
5451
- /** Shows the reveal toggle for `password` inputs. */
5452
- readonly showPasswordToggle: import("@angular/core").InputSignal<boolean>;
5453
- /** Shows a clear button while the field has a value. */
5454
- readonly clearable: import("@angular/core").InputSignal<boolean>;
5455
- /** `id` applied to the native input and label `for`; auto-generated when omitted. */
5456
- readonly id: import("@angular/core").InputSignal<string>;
5457
- /** Current field value; two-way bindable via `[(value)]`. */
5458
- readonly value: import("@angular/core").ModelSignal<string>;
5459
- /** Fires with the new value whenever the user edits the field. */
5460
- readonly changed: import("@angular/core").OutputEmitterRef<string>;
5461
- readonly isFocused: import("@angular/core").WritableSignal<boolean>;
5462
- readonly passwordVisible: import("@angular/core").WritableSignal<boolean>;
5463
- private readonly _formDisabled;
5464
- /** Fires when the input receives focus. */
5465
- readonly focused: import("@angular/core").OutputEmitterRef<FocusEvent>;
5466
- /** Fires when the input loses focus. */
5467
- readonly blurred: import("@angular/core").OutputEmitterRef<FocusEvent>;
5468
- private onChange;
5469
- private onTouched;
5470
- readonly isDisabled: import("@angular/core").Signal<boolean>;
5471
- protected readonly typed: TypedPlaceholder;
5472
- protected readonly typedPlaceholderShown: import("@angular/core").Signal<boolean>;
5473
- protected readonly nativePlaceholder: import("@angular/core").Signal<string>;
5474
- readonly effectiveType: import("@angular/core").Signal<InputType>;
5475
- private readonly errorState;
5476
- readonly errorText: import("@angular/core").Signal<string | null>;
5477
- readonly hasError: import("@angular/core").Signal<boolean>;
5478
- readonly showError: import("@angular/core").Signal<boolean>;
5479
- readonly showHint: import("@angular/core").Signal<boolean>;
5480
- readonly showClear: import("@angular/core").Signal<boolean>;
5481
- readonly wrapperClasses: import("@angular/core").Signal<{
5453
+ readonly bands: import("@angular/core").InputSignal<readonly GaugeBand[]>;
5454
+ /** Text beneath the value; defaults to the label of the band the value falls in. */
5455
+ readonly caption: import("@angular/core").InputSignal<string | undefined>;
5456
+ /**
5457
+ * Any CSS color for the arc; defaults to the color of the band the value
5458
+ * falls in, or the first chart palette color.
5459
+ */
5460
+ readonly color: import("@angular/core").InputSignal<string | undefined>;
5461
+ /** Prints the minimum and maximum beneath the ends of the arc. */
5462
+ readonly showLimits: import("@angular/core").InputSignal<boolean>;
5463
+ /** Largest width of the gauge in pixels; it shrinks to fit a narrower container. */
5464
+ readonly width: import("@angular/core").InputSignal<number>;
5465
+ /** Visual size; scales the caption and limit text. */
5466
+ readonly size: import("@angular/core").InputSignal<import("@eagami/ui").EaSize>;
5467
+ /** Entrance animation, replayed whenever the animation settings change. */
5468
+ readonly animation: import("@angular/core").InputSignal<GaugeAnimation>;
5469
+ /** Length of the entrance animation, and of the move to a new value, in milliseconds. */
5470
+ readonly animationDuration: import("@angular/core").InputSignal<number>;
5471
+ /** Formats the value and limits, and the values read out; locale-grouped by default. */
5472
+ readonly formatValue: import("@angular/core").InputSignal<((value: number) => string) | null>;
5473
+ /** Accessible name for the gauge; defaults to the caption, then a localized "Gauge". */
5474
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
5475
+ private readonly viewport;
5476
+ private readonly format;
5477
+ protected readonly bandsId: string;
5478
+ protected readonly label: import("@angular/core").Signal<string>;
5479
+ protected readonly renderPass: import("@angular/core").Signal<{}[]>;
5480
+ protected readonly hostClasses: import("@angular/core").Signal<{
5482
5481
  [x: string]: boolean;
5483
- 'ea-input-wrapper--error': boolean;
5484
- 'ea-input-wrapper--focused': boolean;
5485
- 'ea-input-wrapper--disabled': boolean;
5486
- 'ea-input-wrapper--readonly': boolean;
5487
5482
  }>;
5488
- constructor();
5489
- writeValue(val: string): void;
5490
- registerOnChange(fn: (value: string) => void): void;
5491
- registerOnTouched(fn: () => void): void;
5492
- setDisabledState(isDisabled: boolean): void;
5493
- handleInput(event: Event): void;
5494
- handleFocus(event: FocusEvent): void;
5495
- handleBlur(event: FocusEvent): void;
5496
- /** Toggles the password reveal state for `type="password"` inputs. */
5497
- togglePasswordVisibility(): void;
5498
- protected onClearMousedown(event: MouseEvent): void;
5499
- /** Clear the current value and restore focus to the input. */
5500
- clear(): void;
5501
- /** Moves keyboard focus to the underlying native input element. */
5502
- focus(): void;
5503
- static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
5504
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ea-input", never, {
5505
- "ariaLabel": {
5506
- "alias": "aria-label";
5507
- "required": false;
5508
- "isSignal": true;
5509
- };
5510
- "ariaLabelledby": {
5511
- "alias": "aria-labelledby";
5512
- "required": false;
5513
- "isSignal": true;
5514
- };
5515
- "role": {
5516
- "alias": "role";
5517
- "required": false;
5518
- "isSignal": true;
5519
- };
5520
- "ariaExpanded": {
5521
- "alias": "aria-expanded";
5522
- "required": false;
5523
- "isSignal": true;
5483
+ protected readonly current: import("@angular/core").Signal<number>;
5484
+ protected readonly fraction: import("@angular/core").Signal<number>;
5485
+ private readonly scaledBands;
5486
+ protected readonly activeBand: import("@angular/core").Signal<{
5487
+ band: GaugeBand;
5488
+ index: number;
5489
+ from: number;
5490
+ to: number;
5491
+ } | null>;
5492
+ protected readonly fill: import("@angular/core").Signal<string>;
5493
+ protected readonly captionText: import("@angular/core").Signal<string>;
5494
+ protected readonly layout: import("@angular/core").Signal<{
5495
+ width: number;
5496
+ height: number;
5497
+ thickness: number;
5498
+ bandThickness: number;
5499
+ track: string;
5500
+ bands: PlotBand[];
5501
+ limits: {
5502
+ y: number;
5503
+ minX: number;
5504
+ maxX: number;
5505
+ };
5506
+ center: {
5507
+ left: number;
5508
+ width: number;
5509
+ height: number;
5510
+ room: number;
5511
+ value: string;
5512
+ valuePx: number;
5524
5513
  };
5525
- "ariaControls": {
5526
- "alias": "aria-controls";
5514
+ }>;
5515
+ protected readonly minText: import("@angular/core").Signal<string>;
5516
+ protected readonly maxText: import("@angular/core").Signal<string>;
5517
+ protected readonly valueText: import("@angular/core").Signal<string>;
5518
+ protected readonly bandsSummary: import("@angular/core").Signal<string>;
5519
+ static ɵfac: i0.ɵɵFactoryDeclaration<GaugeComponent, never>;
5520
+ static ɵcmp: i0.ɵɵComponentDeclaration<GaugeComponent, "ea-gauge", never, {
5521
+ "value": {
5522
+ "alias": "value";
5527
5523
  "required": false;
5528
5524
  "isSignal": true;
5529
5525
  };
5530
- "ariaActivedescendant": {
5531
- "alias": "aria-activedescendant";
5526
+ "min": {
5527
+ "alias": "min";
5532
5528
  "required": false;
5533
5529
  "isSignal": true;
5534
5530
  };
5535
- "ariaAutocomplete": {
5536
- "alias": "aria-autocomplete";
5531
+ "max": {
5532
+ "alias": "max";
5537
5533
  "required": false;
5538
5534
  "isSignal": true;
5539
5535
  };
5540
- "type": {
5541
- "alias": "type";
5536
+ "bands": {
5537
+ "alias": "bands";
5542
5538
  "required": false;
5543
5539
  "isSignal": true;
5544
5540
  };
5545
- "placeholder": {
5546
- "alias": "placeholder";
5541
+ "caption": {
5542
+ "alias": "caption";
5547
5543
  "required": false;
5548
5544
  "isSignal": true;
5549
5545
  };
5550
- "typedPlaceholder": {
5551
- "alias": "typedPlaceholder";
5546
+ "color": {
5547
+ "alias": "color";
5552
5548
  "required": false;
5553
5549
  "isSignal": true;
5554
5550
  };
5555
- "icon": {
5556
- "alias": "icon";
5551
+ "showLimits": {
5552
+ "alias": "showLimits";
5557
5553
  "required": false;
5558
5554
  "isSignal": true;
5559
5555
  };
5560
- "keepIcon": {
5561
- "alias": "keepIcon";
5556
+ "width": {
5557
+ "alias": "width";
5562
5558
  "required": false;
5563
5559
  "isSignal": true;
5564
5560
  };
@@ -5567,65 +5563,553 @@ export declare class InputComponent extends LabelledFieldControlBase implements
5567
5563
  "required": false;
5568
5564
  "isSignal": true;
5569
5565
  };
5570
- "disabled": {
5571
- "alias": "disabled";
5572
- "required": false;
5573
- "isSignal": true;
5574
- };
5575
- "readonly": {
5576
- "alias": "readonly";
5577
- "required": false;
5578
- "isSignal": true;
5579
- };
5580
- "autocomplete": {
5581
- "alias": "autocomplete";
5582
- "required": false;
5583
- "isSignal": true;
5584
- };
5585
- "spellcheck": {
5586
- "alias": "spellcheck";
5587
- "required": false;
5588
- "isSignal": true;
5589
- };
5590
- "list": {
5591
- "alias": "list";
5592
- "required": false;
5593
- "isSignal": true;
5594
- };
5595
- "maxLength": {
5596
- "alias": "maxLength";
5597
- "required": false;
5598
- "isSignal": true;
5599
- };
5600
- "minLength": {
5601
- "alias": "minLength";
5602
- "required": false;
5603
- "isSignal": true;
5604
- };
5605
- "autofocus": {
5606
- "alias": "autofocus";
5566
+ "animation": {
5567
+ "alias": "animation";
5607
5568
  "required": false;
5608
5569
  "isSignal": true;
5609
5570
  };
5610
- "showPasswordToggle": {
5611
- "alias": "showPasswordToggle";
5571
+ "animationDuration": {
5572
+ "alias": "animationDuration";
5612
5573
  "required": false;
5613
5574
  "isSignal": true;
5614
5575
  };
5615
- "clearable": {
5616
- "alias": "clearable";
5576
+ "formatValue": {
5577
+ "alias": "formatValue";
5617
5578
  "required": false;
5618
5579
  "isSignal": true;
5619
5580
  };
5620
- "id": {
5621
- "alias": "id";
5581
+ "ariaLabel": {
5582
+ "alias": "aria-label";
5622
5583
  "required": false;
5623
5584
  "isSignal": true;
5624
5585
  };
5625
- "value": {
5626
- "alias": "value";
5627
- "required": false;
5628
- "isSignal": true;
5586
+ }, {}, never, never, true, never>;
5587
+ }
5588
+ /**
5589
+ * How a heatmap turns values into colour: `sequential` runs one hue from faint
5590
+ * at the low end to strong at the high end, and `diverging` runs two hues out
5591
+ * from a neutral midpoint, so values below and above it read as opposites.
5592
+ */
5593
+ export type HeatmapScale = 'sequential' | 'diverging';
5594
+ /**
5595
+ * Entrance animation, replayed whenever the data changes. `fade` fades every
5596
+ * cell in together, and `cascade` sweeps them in from the top-left corner.
5597
+ */
5598
+ export type HeatmapAnimation = 'fade' | 'cascade' | 'none';
5599
+ /** Payload describing a single cell of a heatmap. */
5600
+ export interface HeatmapCellEvent {
5601
+ row: number;
5602
+ column: number;
5603
+ rowLabel: string;
5604
+ columnLabel: string;
5605
+ /** The cell's value, or `null` for a cell without one. */
5606
+ value: number | null;
5607
+ }
5608
+ interface ScaleDomain {
5609
+ diverging: boolean;
5610
+ /** Value at the low end of the scale. */
5611
+ low: number;
5612
+ /** Value at the neutral middle of a diverging scale. */
5613
+ mid: number;
5614
+ /** Value at the high end of the scale. */
5615
+ high: number;
5616
+ }
5617
+ interface PlotCell {
5618
+ row: number;
5619
+ column: number;
5620
+ x: number;
5621
+ y: number;
5622
+ /** How far along its arm of the scale the value sits, as a CSS percentage. */
5623
+ mix: string;
5624
+ /** Whether the value falls below the midpoint of a diverging scale. */
5625
+ below: boolean;
5626
+ delay: number;
5627
+ /** The formatted value printed in the cell, or `null` where it does not fit. */
5628
+ text: string | null;
5629
+ }
5630
+ /**
5631
+ * Colours a grid of rows and columns by value, such as monthly returns by
5632
+ * year, on a sequential or diverging scale with a legend beneath. Hovering or
5633
+ * arrowing through the grid reveals each cell in a tooltip, and a visually
5634
+ * hidden table carries the full data for screen readers.
5635
+ */
5636
+ export declare class HeatmapComponent {
5637
+ protected readonly i18n: EagamiI18nService;
5638
+ /** Row labels, top to bottom; each names one array of `values`. */
5639
+ readonly rows: import("@angular/core").InputSignal<string[]>;
5640
+ /** Column labels, left to right; each names one value in every row. */
5641
+ readonly columns: import("@angular/core").InputSignal<string[]>;
5642
+ /**
5643
+ * One array per row, one value per column. A `null`, non-finite, or missing
5644
+ * value leaves its cell empty.
5645
+ */
5646
+ readonly values: import("@angular/core").InputSignal<(number | null)[][]>;
5647
+ /** How values map to colour: one hue from low to high, or two hues either side of `midpoint`. */
5648
+ readonly scale: import("@angular/core").InputSignal<HeatmapScale>;
5649
+ /** Value at the low end of the scale; the lowest value by default. Lower values take the end color. */
5650
+ readonly min: import("@angular/core").InputSignal<number | undefined>;
5651
+ /** Value at the high end of the scale; the highest value by default. Higher values take the end color. */
5652
+ readonly max: import("@angular/core").InputSignal<number | undefined>;
5653
+ /**
5654
+ * Value at the neutral middle of a diverging scale. The scale reaches as far
5655
+ * either side of it as the farther end, so equal distances take equal strength.
5656
+ */
5657
+ readonly midpoint: import("@angular/core").InputSignal<number>;
5658
+ /** Any CSS color for a sequential scale; defaults to the first chart palette color. */
5659
+ readonly color: import("@angular/core").InputSignal<string | undefined>;
5660
+ /** Any CSS color for values below the midpoint of a diverging scale; defaults to the error color. */
5661
+ readonly lowColor: import("@angular/core").InputSignal<string | undefined>;
5662
+ /** Any CSS color for values above the midpoint of a diverging scale; defaults to the success color. */
5663
+ readonly highColor: import("@angular/core").InputSignal<string | undefined>;
5664
+ /** Prints each value in its cell, wherever it fits. */
5665
+ readonly showValues: import("@angular/core").InputSignal<boolean>;
5666
+ /** Shows the color scale, with its end values, beneath the grid. */
5667
+ readonly showLegend: import("@angular/core").InputSignal<boolean>;
5668
+ /** How the column labels are set; `auto` turns them as they run out of room. */
5669
+ readonly xLabelOrientation: import("@angular/core").InputSignal<ChartLabelOrientation>;
5670
+ /** Height of the grid and its labels in pixels; the width fills the container. */
5671
+ readonly height: import("@angular/core").InputSignal<number>;
5672
+ /** Visual size; scales the label, value, legend, and tooltip text. */
5673
+ readonly size: import("@angular/core").InputSignal<import("@eagami/ui").EaSize>;
5674
+ /** Entrance animation, replayed whenever the data changes. */
5675
+ readonly animation: import("@angular/core").InputSignal<HeatmapAnimation>;
5676
+ /** Length of the entrance animation in milliseconds. */
5677
+ readonly animationDuration: import("@angular/core").InputSignal<number>;
5678
+ /** Formats values in the cells, legend, tooltip, and data table; locale-grouped by default. */
5679
+ readonly formatValue: import("@angular/core").InputSignal<((value: number) => string) | null>;
5680
+ /** Accessible name for the heatmap; defaults to a localized "Heatmap". */
5681
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
5682
+ /** Fires when a cell is clicked, or chosen with Enter or Space. */
5683
+ readonly cellClick: import("@angular/core").OutputEmitterRef<HeatmapCellEvent>;
5684
+ /** Fires when the highlighted cell changes by pointer or keyboard, with `null` once cleared. */
5685
+ readonly activeCellChange: import("@angular/core").OutputEmitterRef<HeatmapCellEvent | null>;
5686
+ private readonly viewport;
5687
+ private readonly format;
5688
+ protected readonly active: import("@angular/core").WritableSignal<{
5689
+ row: number;
5690
+ column: number;
5691
+ } | null>;
5692
+ protected readonly label: import("@angular/core").Signal<string>;
5693
+ protected readonly grid: import("@angular/core").Signal<(number | null)[][]>;
5694
+ protected readonly hasData: import("@angular/core").Signal<boolean>;
5695
+ protected readonly domain: import("@angular/core").Signal<ScaleDomain>;
5696
+ protected readonly legendStops: import("@angular/core").Signal<string[]>;
5697
+ protected readonly renderPass: import("@angular/core").Signal<{}[]>;
5698
+ protected readonly hostClasses: import("@angular/core").Signal<{
5699
+ [x: string]: boolean;
5700
+ 'ea-heatmap--diverging': boolean;
5701
+ }>;
5702
+ protected readonly layout: import("@angular/core").Signal<{
5703
+ width: number;
5704
+ height: number;
5705
+ top: number;
5706
+ left: number;
5707
+ plotWidth: number;
5708
+ plotHeight: number;
5709
+ cellWidth: number;
5710
+ cellHeight: number;
5711
+ axisPx: number;
5712
+ cells: PlotCell[];
5713
+ rowLabels: {
5714
+ text: string;
5715
+ index: number;
5716
+ pos: number;
5717
+ }[];
5718
+ columnLabels: {
5719
+ text: string;
5720
+ index: number;
5721
+ pos: number;
5722
+ }[];
5723
+ labelAngle: number;
5724
+ labelY: number;
5725
+ }>;
5726
+ protected readonly marker: import("@angular/core").Signal<{
5727
+ x: number;
5728
+ y: number;
5729
+ width: number;
5730
+ height: number;
5731
+ } | null>;
5732
+ protected readonly tooltip: import("@angular/core").Signal<{
5733
+ x: number;
5734
+ y: number;
5735
+ title: string;
5736
+ name: string;
5737
+ value: string;
5738
+ key: string;
5739
+ } | null>;
5740
+ protected readonly tooltips: import("@angular/core").Signal<{
5741
+ x: number;
5742
+ y: number;
5743
+ title: string;
5744
+ name: string;
5745
+ value: string;
5746
+ key: string;
5747
+ }[]>;
5748
+ protected readonly announcement: import("@angular/core").Signal<string>;
5749
+ protected tableValue(value: number | null): string;
5750
+ protected onPointerMove(event: PointerEvent): void;
5751
+ protected onPointerLeave(): void;
5752
+ protected onClick(): void;
5753
+ protected onFocus(): void;
5754
+ protected onBlur(): void;
5755
+ protected onKeydown(event: KeyboardEvent): void;
5756
+ private cellText;
5757
+ private position;
5758
+ private eventFor;
5759
+ private setActive;
5760
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeatmapComponent, never>;
5761
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeatmapComponent, "ea-heatmap", never, {
5762
+ "rows": {
5763
+ "alias": "rows";
5764
+ "required": false;
5765
+ "isSignal": true;
5766
+ };
5767
+ "columns": {
5768
+ "alias": "columns";
5769
+ "required": false;
5770
+ "isSignal": true;
5771
+ };
5772
+ "values": {
5773
+ "alias": "values";
5774
+ "required": false;
5775
+ "isSignal": true;
5776
+ };
5777
+ "scale": {
5778
+ "alias": "scale";
5779
+ "required": false;
5780
+ "isSignal": true;
5781
+ };
5782
+ "min": {
5783
+ "alias": "min";
5784
+ "required": false;
5785
+ "isSignal": true;
5786
+ };
5787
+ "max": {
5788
+ "alias": "max";
5789
+ "required": false;
5790
+ "isSignal": true;
5791
+ };
5792
+ "midpoint": {
5793
+ "alias": "midpoint";
5794
+ "required": false;
5795
+ "isSignal": true;
5796
+ };
5797
+ "color": {
5798
+ "alias": "color";
5799
+ "required": false;
5800
+ "isSignal": true;
5801
+ };
5802
+ "lowColor": {
5803
+ "alias": "lowColor";
5804
+ "required": false;
5805
+ "isSignal": true;
5806
+ };
5807
+ "highColor": {
5808
+ "alias": "highColor";
5809
+ "required": false;
5810
+ "isSignal": true;
5811
+ };
5812
+ "showValues": {
5813
+ "alias": "showValues";
5814
+ "required": false;
5815
+ "isSignal": true;
5816
+ };
5817
+ "showLegend": {
5818
+ "alias": "showLegend";
5819
+ "required": false;
5820
+ "isSignal": true;
5821
+ };
5822
+ "xLabelOrientation": {
5823
+ "alias": "xLabelOrientation";
5824
+ "required": false;
5825
+ "isSignal": true;
5826
+ };
5827
+ "height": {
5828
+ "alias": "height";
5829
+ "required": false;
5830
+ "isSignal": true;
5831
+ };
5832
+ "size": {
5833
+ "alias": "size";
5834
+ "required": false;
5835
+ "isSignal": true;
5836
+ };
5837
+ "animation": {
5838
+ "alias": "animation";
5839
+ "required": false;
5840
+ "isSignal": true;
5841
+ };
5842
+ "animationDuration": {
5843
+ "alias": "animationDuration";
5844
+ "required": false;
5845
+ "isSignal": true;
5846
+ };
5847
+ "formatValue": {
5848
+ "alias": "formatValue";
5849
+ "required": false;
5850
+ "isSignal": true;
5851
+ };
5852
+ "ariaLabel": {
5853
+ "alias": "aria-label";
5854
+ "required": false;
5855
+ "isSignal": true;
5856
+ };
5857
+ }, {
5858
+ "cellClick": "cellClick";
5859
+ "activeCellChange": "activeCellChange";
5860
+ }, never, never, true, never>;
5861
+ }
5862
+ /** Live state of a field's typewriter placeholder. */
5863
+ interface TypedPlaceholder {
5864
+ /** Whether the typed layer stands in for the native placeholder. */
5865
+ readonly animating: Signal<boolean>;
5866
+ /** The whole hint in play, for the native `placeholder` attribute. */
5867
+ readonly hint: Signal<string>;
5868
+ /** The part of the hint typed so far. */
5869
+ readonly text: Signal<string>;
5870
+ /** Whether characters are still arriving; the cursor blinks only once they stop. */
5871
+ readonly typing: Signal<boolean>;
5872
+ }
5873
+ /** Visual size of the input. */
5874
+ export type InputSize = EaSize;
5875
+ /** HTML `type` attribute applied to the underlying `<input>`. */
5876
+ export type InputType = 'text' | 'email' | 'password' | 'search' | 'tel' | 'url';
5877
+ /**
5878
+ * Single-line text field with label, hint, and error message support.
5879
+ * Includes a built-in show/hide toggle for `password` inputs and integrates
5880
+ * with Angular forms via `ControlValueAccessor`. Prefix and suffix content
5881
+ * can be projected via the `prefix` and `suffix` slots.
5882
+ */
5883
+ export declare class InputComponent extends LabelledFieldControlBase implements ControlValueAccessor {
5884
+ readonly inputEl: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
5885
+ private readonly injector;
5886
+ protected readonly i18n: EagamiI18nService;
5887
+ /** Accessible name for the control when no visible `label` is set. */
5888
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
5889
+ /** Space-separated ids of the elements whose text names the field, such as a label outside the component. */
5890
+ readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
5891
+ /** ARIA role applied to the native input, e.g. `combobox` for a typeahead host. */
5892
+ readonly role: import("@angular/core").InputSignal<string | undefined>;
5893
+ /** Expanded state of a controlled popup, forwarded as `aria-expanded`. */
5894
+ readonly ariaExpanded: import("@angular/core").InputSignal<boolean | undefined>;
5895
+ /** `id` of the popup element the input controls, forwarded as `aria-controls`. */
5896
+ readonly ariaControls: import("@angular/core").InputSignal<string | undefined>;
5897
+ /** `id` of the active option in a controlled popup, forwarded as `aria-activedescendant`. */
5898
+ readonly ariaActivedescendant: import("@angular/core").InputSignal<string | undefined>;
5899
+ /** Autocomplete behavior hint, forwarded as `aria-autocomplete`. */
5900
+ readonly ariaAutocomplete: import("@angular/core").InputSignal<"none" | "inline" | "list" | "both" | undefined>;
5901
+ /** Native input type; `password` adds a built-in show/hide toggle. */
5902
+ readonly type: import("@angular/core").InputSignal<InputType>;
5903
+ /** Placeholder shown while the field is empty. */
5904
+ readonly placeholder: import("@angular/core").InputSignal<string>;
5905
+ /**
5906
+ * Hints typed into the empty field one character at a time, trailed by a
5907
+ * blinking cursor, each held and then replaced by the next, in a loop. The
5908
+ * native placeholder carries the whole current hint for assistive
5909
+ * technology, and under `prefers-reduced-motion` the hints swap whole without
5910
+ * a cursor. Takes the place of `placeholder` while it holds any hints.
5911
+ */
5912
+ readonly typedPlaceholder: import("@angular/core").InputSignal<readonly string[]>;
5913
+ /** Leading icon component rendered before the text, e.g. a search or filter glyph. */
5914
+ readonly icon: import("@angular/core").InputSignal<Type<unknown> | undefined>;
5915
+ /** Keeps the leading icon while the field has a value; when false it shows only alongside the placeholder. */
5916
+ readonly keepIcon: import("@angular/core").InputSignal<boolean>;
5917
+ /** Visual size of the field. */
5918
+ readonly size: import("@angular/core").InputSignal<EaSize>;
5919
+ /** Disables the field. */
5920
+ readonly disabled: import("@angular/core").InputSignal<boolean>;
5921
+ /** Renders the field read-only. */
5922
+ readonly readonly: import("@angular/core").InputSignal<boolean>;
5923
+ /** Value for the native `autocomplete` attribute. */
5924
+ readonly autocomplete: import("@angular/core").InputSignal<string | undefined>;
5925
+ /** Value for the native `spellcheck` attribute; left to the browser default when unset. */
5926
+ readonly spellcheck: import("@angular/core").InputSignal<boolean | undefined>;
5927
+ /** `id` of a `<datalist>` to associate for native suggestions. */
5928
+ readonly list: import("@angular/core").InputSignal<string | undefined>;
5929
+ /** Maximum number of characters (native `maxlength`). */
5930
+ readonly maxLength: import("@angular/core").InputSignal<number | undefined>;
5931
+ /** Minimum number of characters (native `minlength`). */
5932
+ readonly minLength: import("@angular/core").InputSignal<number | undefined>;
5933
+ /** Focuses the field once, after it first renders. */
5934
+ readonly autofocus: import("@angular/core").InputSignal<boolean>;
5935
+ /** Shows the reveal toggle for `password` inputs. */
5936
+ readonly showPasswordToggle: import("@angular/core").InputSignal<boolean>;
5937
+ /** Shows a clear button while the field has a value. */
5938
+ readonly clearable: import("@angular/core").InputSignal<boolean>;
5939
+ /** `id` applied to the native input and label `for`; auto-generated when omitted. */
5940
+ readonly id: import("@angular/core").InputSignal<string>;
5941
+ /** Current field value; two-way bindable via `[(value)]`. */
5942
+ readonly value: import("@angular/core").ModelSignal<string>;
5943
+ /** Fires with the new value whenever the user edits the field. */
5944
+ readonly changed: import("@angular/core").OutputEmitterRef<string>;
5945
+ readonly isFocused: import("@angular/core").WritableSignal<boolean>;
5946
+ readonly passwordVisible: import("@angular/core").WritableSignal<boolean>;
5947
+ private readonly _formDisabled;
5948
+ /** Fires when the input receives focus. */
5949
+ readonly focused: import("@angular/core").OutputEmitterRef<FocusEvent>;
5950
+ /** Fires when the input loses focus. */
5951
+ readonly blurred: import("@angular/core").OutputEmitterRef<FocusEvent>;
5952
+ private onChange;
5953
+ private onTouched;
5954
+ readonly isDisabled: import("@angular/core").Signal<boolean>;
5955
+ protected readonly typed: TypedPlaceholder;
5956
+ protected readonly typedPlaceholderShown: import("@angular/core").Signal<boolean>;
5957
+ protected readonly nativePlaceholder: import("@angular/core").Signal<string>;
5958
+ readonly effectiveType: import("@angular/core").Signal<InputType>;
5959
+ private readonly errorState;
5960
+ readonly errorText: import("@angular/core").Signal<string | null>;
5961
+ readonly hasError: import("@angular/core").Signal<boolean>;
5962
+ readonly showError: import("@angular/core").Signal<boolean>;
5963
+ readonly showHint: import("@angular/core").Signal<boolean>;
5964
+ readonly showClear: import("@angular/core").Signal<boolean>;
5965
+ readonly wrapperClasses: import("@angular/core").Signal<{
5966
+ [x: string]: boolean;
5967
+ 'ea-input-wrapper--error': boolean;
5968
+ 'ea-input-wrapper--focused': boolean;
5969
+ 'ea-input-wrapper--disabled': boolean;
5970
+ 'ea-input-wrapper--readonly': boolean;
5971
+ }>;
5972
+ constructor();
5973
+ writeValue(val: string): void;
5974
+ registerOnChange(fn: (value: string) => void): void;
5975
+ registerOnTouched(fn: () => void): void;
5976
+ setDisabledState(isDisabled: boolean): void;
5977
+ handleInput(event: Event): void;
5978
+ handleFocus(event: FocusEvent): void;
5979
+ handleBlur(event: FocusEvent): void;
5980
+ /** Toggles the password reveal state for `type="password"` inputs. */
5981
+ togglePasswordVisibility(): void;
5982
+ protected onClearMousedown(event: MouseEvent): void;
5983
+ /** Clear the current value and restore focus to the input. */
5984
+ clear(): void;
5985
+ /** Moves keyboard focus to the underlying native input element. */
5986
+ focus(): void;
5987
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
5988
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ea-input", never, {
5989
+ "ariaLabel": {
5990
+ "alias": "aria-label";
5991
+ "required": false;
5992
+ "isSignal": true;
5993
+ };
5994
+ "ariaLabelledby": {
5995
+ "alias": "aria-labelledby";
5996
+ "required": false;
5997
+ "isSignal": true;
5998
+ };
5999
+ "role": {
6000
+ "alias": "role";
6001
+ "required": false;
6002
+ "isSignal": true;
6003
+ };
6004
+ "ariaExpanded": {
6005
+ "alias": "aria-expanded";
6006
+ "required": false;
6007
+ "isSignal": true;
6008
+ };
6009
+ "ariaControls": {
6010
+ "alias": "aria-controls";
6011
+ "required": false;
6012
+ "isSignal": true;
6013
+ };
6014
+ "ariaActivedescendant": {
6015
+ "alias": "aria-activedescendant";
6016
+ "required": false;
6017
+ "isSignal": true;
6018
+ };
6019
+ "ariaAutocomplete": {
6020
+ "alias": "aria-autocomplete";
6021
+ "required": false;
6022
+ "isSignal": true;
6023
+ };
6024
+ "type": {
6025
+ "alias": "type";
6026
+ "required": false;
6027
+ "isSignal": true;
6028
+ };
6029
+ "placeholder": {
6030
+ "alias": "placeholder";
6031
+ "required": false;
6032
+ "isSignal": true;
6033
+ };
6034
+ "typedPlaceholder": {
6035
+ "alias": "typedPlaceholder";
6036
+ "required": false;
6037
+ "isSignal": true;
6038
+ };
6039
+ "icon": {
6040
+ "alias": "icon";
6041
+ "required": false;
6042
+ "isSignal": true;
6043
+ };
6044
+ "keepIcon": {
6045
+ "alias": "keepIcon";
6046
+ "required": false;
6047
+ "isSignal": true;
6048
+ };
6049
+ "size": {
6050
+ "alias": "size";
6051
+ "required": false;
6052
+ "isSignal": true;
6053
+ };
6054
+ "disabled": {
6055
+ "alias": "disabled";
6056
+ "required": false;
6057
+ "isSignal": true;
6058
+ };
6059
+ "readonly": {
6060
+ "alias": "readonly";
6061
+ "required": false;
6062
+ "isSignal": true;
6063
+ };
6064
+ "autocomplete": {
6065
+ "alias": "autocomplete";
6066
+ "required": false;
6067
+ "isSignal": true;
6068
+ };
6069
+ "spellcheck": {
6070
+ "alias": "spellcheck";
6071
+ "required": false;
6072
+ "isSignal": true;
6073
+ };
6074
+ "list": {
6075
+ "alias": "list";
6076
+ "required": false;
6077
+ "isSignal": true;
6078
+ };
6079
+ "maxLength": {
6080
+ "alias": "maxLength";
6081
+ "required": false;
6082
+ "isSignal": true;
6083
+ };
6084
+ "minLength": {
6085
+ "alias": "minLength";
6086
+ "required": false;
6087
+ "isSignal": true;
6088
+ };
6089
+ "autofocus": {
6090
+ "alias": "autofocus";
6091
+ "required": false;
6092
+ "isSignal": true;
6093
+ };
6094
+ "showPasswordToggle": {
6095
+ "alias": "showPasswordToggle";
6096
+ "required": false;
6097
+ "isSignal": true;
6098
+ };
6099
+ "clearable": {
6100
+ "alias": "clearable";
6101
+ "required": false;
6102
+ "isSignal": true;
6103
+ };
6104
+ "id": {
6105
+ "alias": "id";
6106
+ "required": false;
6107
+ "isSignal": true;
6108
+ };
6109
+ "value": {
6110
+ "alias": "value";
6111
+ "required": false;
6112
+ "isSignal": true;
5629
6113
  };
5630
6114
  }, {
5631
6115
  "value": "valueChange";
@@ -5652,7 +6136,7 @@ export interface LineChartVisibleRange {
5652
6136
  start: number;
5653
6137
  end: number;
5654
6138
  }
5655
- interface PlotPoint {
6139
+ interface PlotPoint$1 {
5656
6140
  x: number;
5657
6141
  y: number;
5658
6142
  index: number;
@@ -5663,9 +6147,9 @@ interface PlotSeries {
5663
6147
  color: string;
5664
6148
  paths: string[];
5665
6149
  areas: string[];
5666
- points: PlotPoint[];
6150
+ points: PlotPoint$1[];
5667
6151
  }
5668
- interface ActivePoint {
6152
+ interface ActivePoint$1 {
5669
6153
  series: number;
5670
6154
  index: number;
5671
6155
  }
@@ -5776,7 +6260,7 @@ export declare class LineChartComponent {
5776
6260
  private readonly viewport;
5777
6261
  private readonly format;
5778
6262
  private readonly plotEl;
5779
- protected readonly active: import("@angular/core").WritableSignal<ActivePoint | null>;
6263
+ protected readonly active: import("@angular/core").WritableSignal<ActivePoint$1 | null>;
5780
6264
  protected readonly clipId: string;
5781
6265
  protected readonly breakMaskId: string;
5782
6266
  private readonly panEnd;
@@ -7342,60 +7826,380 @@ export declare class RatingComponent extends LabelledFieldControlBase implements
7342
7826
  "required": false;
7343
7827
  "isSignal": true;
7344
7828
  };
7345
- "min": {
7346
- "alias": "min";
7829
+ "min": {
7830
+ "alias": "min";
7831
+ "required": false;
7832
+ "isSignal": true;
7833
+ };
7834
+ "max": {
7835
+ "alias": "max";
7836
+ "required": false;
7837
+ "isSignal": true;
7838
+ };
7839
+ "allowHalf": {
7840
+ "alias": "allowHalf";
7841
+ "required": false;
7842
+ "isSignal": true;
7843
+ };
7844
+ "readonly": {
7845
+ "alias": "readonly";
7846
+ "required": false;
7847
+ "isSignal": true;
7848
+ };
7849
+ "disabled": {
7850
+ "alias": "disabled";
7851
+ "required": false;
7852
+ "isSignal": true;
7853
+ };
7854
+ "clearable": {
7855
+ "alias": "clearable";
7856
+ "required": false;
7857
+ "isSignal": true;
7858
+ };
7859
+ "icon": {
7860
+ "alias": "icon";
7861
+ "required": false;
7862
+ "isSignal": true;
7863
+ };
7864
+ "halfIcon": {
7865
+ "alias": "halfIcon";
7866
+ "required": false;
7867
+ "isSignal": true;
7868
+ };
7869
+ "id": {
7870
+ "alias": "id";
7871
+ "required": false;
7872
+ "isSignal": true;
7873
+ };
7874
+ "value": {
7875
+ "alias": "value";
7876
+ "required": false;
7877
+ "isSignal": true;
7878
+ };
7879
+ }, {
7880
+ "value": "valueChange";
7881
+ "changed": "changed";
7882
+ "hoverChanged": "hoverChanged";
7883
+ }, never, never, true, never>;
7884
+ }
7885
+ /** One point of a scatter chart series. */
7886
+ export interface ScatterChartPoint {
7887
+ x: number;
7888
+ y: number;
7889
+ /**
7890
+ * A third value that sizes the point as a bubble, by area against the largest
7891
+ * one. A point without a positive size keeps the plain point size.
7892
+ */
7893
+ size?: number | null;
7894
+ /** Name of the point, such as a holding; titles its tooltip and data table row. */
7895
+ label?: string;
7896
+ }
7897
+ /** One named, colored set of points plotted by a scatter chart. */
7898
+ export interface ScatterChartSeries {
7899
+ /** Name shown in the legend, tooltip, and data table. */
7900
+ name: string;
7901
+ /** The points; one missing a finite `x` or `y` is left out of the plot. */
7902
+ points: ScatterChartPoint[];
7903
+ /** Any CSS color; defaults to the next slot of the `--color-chart-*` palette. */
7904
+ color?: string;
7905
+ }
7906
+ /** Payload describing a single point of a scatter chart. */
7907
+ export interface ScatterChartPointEvent {
7908
+ seriesIndex: number;
7909
+ seriesName: string;
7910
+ /** Position of the point within its series' `points`. */
7911
+ index: number;
7912
+ label: string;
7913
+ x: number;
7914
+ y: number;
7915
+ /** The point's bubble size, or `null` for a plain point. */
7916
+ size: number | null;
7917
+ }
7918
+ /**
7919
+ * Entrance animation, replayed whenever the data changes. `pop` grows each point
7920
+ * out of its center in a sweep from left to right, and `fade` fades them in.
7921
+ */
7922
+ export type ScatterChartAnimation = 'pop' | 'fade' | 'none';
7923
+ interface ActivePoint {
7924
+ series: number;
7925
+ index: number;
7926
+ }
7927
+ interface DataPoint {
7928
+ series: number;
7929
+ index: number;
7930
+ x: number;
7931
+ y: number;
7932
+ /** Bubble size, or `null` for a plain point. */
7933
+ size: number | null;
7934
+ }
7935
+ interface PlotPoint extends DataPoint {
7936
+ key: string;
7937
+ cx: number;
7938
+ cy: number;
7939
+ r: number;
7940
+ delay: number;
7941
+ }
7942
+ interface AxisTick {
7943
+ value: number;
7944
+ text: string;
7945
+ pos: number;
7946
+ }
7947
+ /**
7948
+ * Plots points on two numeric axes, such as risk against return per holding,
7949
+ * in one or more colored series. A third value can size each point as a
7950
+ * bubble. Hovering, tapping, or arrowing through the chart reveals each point
7951
+ * in a tooltip, and a visually hidden table carries the full data for screen
7952
+ * readers.
7953
+ */
7954
+ export declare class ScatterChartComponent {
7955
+ protected readonly i18n: EagamiI18nService;
7956
+ /** The series to plot, each with its own color. */
7957
+ readonly series: import("@angular/core").InputSignal<ScatterChartSeries[]>;
7958
+ /** Name of the horizontal axis, such as "Risk"; printed beneath it and read out with each point. */
7959
+ readonly xTitle: import("@angular/core").InputSignal<string>;
7960
+ /** Name of the vertical axis, such as "Return"; printed beside it and read out with each point. */
7961
+ readonly yTitle: import("@angular/core").InputSignal<string>;
7962
+ /** Name of the bubble size, such as "Value"; shown in the tooltip and read out with each point. */
7963
+ readonly sizeTitle: import("@angular/core").InputSignal<string>;
7964
+ /** Radius in pixels of the largest bubble; the others scale down by area. */
7965
+ readonly maxBubbleRadius: import("@angular/core").InputSignal<number>;
7966
+ /** Draws gridlines at each tick of both axes. */
7967
+ readonly showGrid: import("@angular/core").InputSignal<boolean>;
7968
+ /** Shows a legend beneath the plot when there is more than one series. */
7969
+ readonly showLegend: import("@angular/core").InputSignal<boolean>;
7970
+ /**
7971
+ * Dashed rules across the plot at set `y` values, such as a target return.
7972
+ * The vertical axis widens to take them in.
7973
+ */
7974
+ readonly referenceLines: import("@angular/core").InputSignal<readonly ChartReferenceLine[]>;
7975
+ /**
7976
+ * Dashed rules up the plot at set `x` values, such as a risk limit. The
7977
+ * horizontal axis widens to take them in.
7978
+ */
7979
+ readonly xReferenceLines: import("@angular/core").InputSignal<readonly ChartReferenceLine[]>;
7980
+ /** Height of the plot in pixels; the width fills the container. */
7981
+ readonly height: import("@angular/core").InputSignal<number>;
7982
+ /** Visual size; scales the axis, legend, and tooltip text. */
7983
+ readonly size: import("@angular/core").InputSignal<import("@eagami/ui").EaSize>;
7984
+ /** Entrance animation, replayed whenever the data changes. */
7985
+ readonly animation: import("@angular/core").InputSignal<ScatterChartAnimation>;
7986
+ /** Length of the entrance animation in milliseconds. */
7987
+ readonly animationDuration: import("@angular/core").InputSignal<number>;
7988
+ /** Formats `x` values on the axis, tooltip, and data table; locale-grouped by default. */
7989
+ readonly formatX: import("@angular/core").InputSignal<((value: number) => string) | null>;
7990
+ /** Formats `y` values on the axis, tooltip, and data table; locale-grouped by default. */
7991
+ readonly formatY: import("@angular/core").InputSignal<((value: number) => string) | null>;
7992
+ /** Formats bubble sizes in the tooltip and data table; locale-grouped by default. */
7993
+ readonly formatSize: import("@angular/core").InputSignal<((value: number) => string) | null>;
7994
+ /** Accessible name for the chart; defaults to a localized "Scatter chart". */
7995
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
7996
+ /** Fires when a point is clicked, or chosen with Enter or Space. */
7997
+ readonly pointClick: import("@angular/core").OutputEmitterRef<ScatterChartPointEvent>;
7998
+ /** Fires when the highlighted point changes by pointer or keyboard, with `null` once cleared. */
7999
+ readonly activePointChange: import("@angular/core").OutputEmitterRef<ScatterChartPointEvent | null>;
8000
+ private readonly viewport;
8001
+ private readonly formatXValue;
8002
+ private readonly formatYValue;
8003
+ private readonly formatSizeValue;
8004
+ protected readonly active: import("@angular/core").WritableSignal<ActivePoint | null>;
8005
+ protected readonly label: import("@angular/core").Signal<string>;
8006
+ protected readonly xName: import("@angular/core").Signal<string>;
8007
+ protected readonly yName: import("@angular/core").Signal<string>;
8008
+ protected readonly sizeName: import("@angular/core").Signal<string>;
8009
+ private readonly points;
8010
+ protected readonly hasData: import("@angular/core").Signal<boolean>;
8011
+ protected readonly bubbles: import("@angular/core").Signal<boolean>;
8012
+ private readonly order;
8013
+ protected readonly references: import("@angular/core").Signal<ChartReferenceLine[]>;
8014
+ protected readonly xReferences: import("@angular/core").Signal<ChartReferenceLine[]>;
8015
+ protected readonly renderPass: import("@angular/core").Signal<{}[]>;
8016
+ protected readonly hostClasses: import("@angular/core").Signal<{
8017
+ [x: string]: boolean;
8018
+ }>;
8019
+ protected readonly showsLegend: import("@angular/core").Signal<boolean>;
8020
+ protected readonly layout: import("@angular/core").Signal<{
8021
+ width: number;
8022
+ height: number;
8023
+ top: number;
8024
+ left: number;
8025
+ plotWidth: number;
8026
+ plotHeight: number;
8027
+ axisPx: number;
8028
+ axisY: number;
8029
+ tickEndY: number;
8030
+ labelY: number;
8031
+ xTicks: AxisTick[];
8032
+ yTicks: AxisTick[];
8033
+ xTitle: {
8034
+ x: number;
8035
+ y: number;
8036
+ };
8037
+ yTitle: {
8038
+ x: number;
8039
+ y: number;
8040
+ };
8041
+ series: {
8042
+ name: string;
8043
+ color: string;
8044
+ points: PlotPoint[];
8045
+ }[];
8046
+ referenceLines: {
8047
+ labelX: number;
8048
+ labelY: number;
8049
+ key: number;
8050
+ pos: number;
8051
+ value: number;
8052
+ label?: string;
8053
+ color?: string;
8054
+ }[];
8055
+ xReferenceLines: {
8056
+ labelX: number;
8057
+ labelY: number;
8058
+ anchor: string;
8059
+ key: number;
8060
+ pos: number;
8061
+ value: number;
8062
+ label?: string;
8063
+ color?: string;
8064
+ }[];
8065
+ }>;
8066
+ private readonly activePoint;
8067
+ protected readonly tooltip: import("@angular/core").Signal<{
8068
+ x: number;
8069
+ y: number;
8070
+ r: number;
8071
+ title: string;
8072
+ color: string | null;
8073
+ rows: {
8074
+ name: string;
8075
+ value: string;
8076
+ color?: string;
8077
+ }[];
8078
+ key: string;
8079
+ } | null>;
8080
+ protected readonly tooltips: import("@angular/core").Signal<{
8081
+ x: number;
8082
+ y: number;
8083
+ r: number;
8084
+ title: string;
8085
+ color: string | null;
8086
+ rows: {
8087
+ name: string;
8088
+ value: string;
8089
+ color?: string;
8090
+ }[];
8091
+ key: string;
8092
+ }[]>;
8093
+ protected readonly announcement: import("@angular/core").Signal<string>;
8094
+ protected readonly tableColumns: import("@angular/core").Signal<string[]>;
8095
+ protected readonly tableRows: import("@angular/core").Signal<string[][]>;
8096
+ private readonly labelled;
8097
+ protected seriesColor(index: number): string;
8098
+ protected isDimmed(index: number): boolean;
8099
+ protected isActive(point: PlotPoint): boolean;
8100
+ protected referenceText(line: ChartReferenceLine, format: 'x' | 'y'): string;
8101
+ protected onPointerMove(event: PointerEvent): void;
8102
+ protected onPointerLeave(): void;
8103
+ protected onClick(): void;
8104
+ protected onFocus(): void;
8105
+ protected onBlur(): void;
8106
+ protected onKeydown(event: KeyboardEvent): void;
8107
+ private axisScale;
8108
+ private cell;
8109
+ private firstPoint;
8110
+ private nextSeries;
8111
+ private eventFor;
8112
+ private setActive;
8113
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
8114
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScatterChartComponent, "ea-scatter-chart", never, {
8115
+ "series": {
8116
+ "alias": "series";
8117
+ "required": false;
8118
+ "isSignal": true;
8119
+ };
8120
+ "xTitle": {
8121
+ "alias": "xTitle";
8122
+ "required": false;
8123
+ "isSignal": true;
8124
+ };
8125
+ "yTitle": {
8126
+ "alias": "yTitle";
8127
+ "required": false;
8128
+ "isSignal": true;
8129
+ };
8130
+ "sizeTitle": {
8131
+ "alias": "sizeTitle";
8132
+ "required": false;
8133
+ "isSignal": true;
8134
+ };
8135
+ "maxBubbleRadius": {
8136
+ "alias": "maxBubbleRadius";
8137
+ "required": false;
8138
+ "isSignal": true;
8139
+ };
8140
+ "showGrid": {
8141
+ "alias": "showGrid";
8142
+ "required": false;
8143
+ "isSignal": true;
8144
+ };
8145
+ "showLegend": {
8146
+ "alias": "showLegend";
8147
+ "required": false;
8148
+ "isSignal": true;
8149
+ };
8150
+ "referenceLines": {
8151
+ "alias": "referenceLines";
7347
8152
  "required": false;
7348
8153
  "isSignal": true;
7349
8154
  };
7350
- "max": {
7351
- "alias": "max";
8155
+ "xReferenceLines": {
8156
+ "alias": "xReferenceLines";
7352
8157
  "required": false;
7353
8158
  "isSignal": true;
7354
8159
  };
7355
- "allowHalf": {
7356
- "alias": "allowHalf";
8160
+ "height": {
8161
+ "alias": "height";
7357
8162
  "required": false;
7358
8163
  "isSignal": true;
7359
8164
  };
7360
- "readonly": {
7361
- "alias": "readonly";
8165
+ "size": {
8166
+ "alias": "size";
7362
8167
  "required": false;
7363
8168
  "isSignal": true;
7364
8169
  };
7365
- "disabled": {
7366
- "alias": "disabled";
8170
+ "animation": {
8171
+ "alias": "animation";
7367
8172
  "required": false;
7368
8173
  "isSignal": true;
7369
8174
  };
7370
- "clearable": {
7371
- "alias": "clearable";
8175
+ "animationDuration": {
8176
+ "alias": "animationDuration";
7372
8177
  "required": false;
7373
8178
  "isSignal": true;
7374
8179
  };
7375
- "icon": {
7376
- "alias": "icon";
8180
+ "formatX": {
8181
+ "alias": "formatX";
7377
8182
  "required": false;
7378
8183
  "isSignal": true;
7379
8184
  };
7380
- "halfIcon": {
7381
- "alias": "halfIcon";
8185
+ "formatY": {
8186
+ "alias": "formatY";
7382
8187
  "required": false;
7383
8188
  "isSignal": true;
7384
8189
  };
7385
- "id": {
7386
- "alias": "id";
8190
+ "formatSize": {
8191
+ "alias": "formatSize";
7387
8192
  "required": false;
7388
8193
  "isSignal": true;
7389
8194
  };
7390
- "value": {
7391
- "alias": "value";
8195
+ "ariaLabel": {
8196
+ "alias": "aria-label";
7392
8197
  "required": false;
7393
8198
  "isSignal": true;
7394
8199
  };
7395
8200
  }, {
7396
- "value": "valueChange";
7397
- "changed": "changed";
7398
- "hoverChanged": "hoverChanged";
8201
+ "pointClick": "pointClick";
8202
+ "activePointChange": "activePointChange";
7399
8203
  }, never, never, true, never>;
7400
8204
  }
7401
8205
  /** Visual size of the segmented control. */
@@ -7896,6 +8700,124 @@ export declare class SpinnerComponent {
7896
8700
  };
7897
8701
  }, {}, never, never, true, never>;
7898
8702
  }
8703
+ /** Visual size of a stat tile; scales its text, spacing, and sparkline. */
8704
+ export type StatSize = EaSize;
8705
+ /** Surface of a stat tile: a bordered tile, a subtle fill, or none, to sit inside a card. */
8706
+ export type StatVariant = 'outlined' | 'filled' | 'plain';
8707
+ /**
8708
+ * How a stat tile prints its change: as a share of the previous value, or as
8709
+ * the difference between the two values.
8710
+ */
8711
+ export type StatChangeFormat = 'percent' | 'absolute';
8712
+ type ChangeDirection = 'up' | 'down' | 'flat';
8713
+ type ChangeTone = 'positive' | 'negative' | 'neutral';
8714
+ /**
8715
+ * A dashboard figure: a label over a formatted value, the change against a
8716
+ * previous period with an up or down arrow in the positive or negative tone,
8717
+ * an optional caption, and an optional sparkline of recent values. The arrow
8718
+ * and sign carry the direction, so it never rests on colour alone.
8719
+ */
8720
+ export declare class StatComponent {
8721
+ protected readonly i18n: EagamiI18nService;
8722
+ /** Name of the figure, shown above it. */
8723
+ readonly label: import("@angular/core").InputSignal<string>;
8724
+ /** The figure for the current period. */
8725
+ readonly value: import("@angular/core").InputSignal<number>;
8726
+ /** The figure for the previous period; the change against it shows beneath the value. */
8727
+ readonly previousValue: import("@angular/core").InputSignal<number | null>;
8728
+ /**
8729
+ * Prints the change as a share of the previous value, or as the difference.
8730
+ * A share of zero has no size, so a change from zero prints the difference.
8731
+ */
8732
+ readonly changeFormat: import("@angular/core").InputSignal<StatChangeFormat>;
8733
+ /** Treats a rise as bad and a fall as good, as for costs, swapping the positive and negative tones. */
8734
+ readonly invertTone: import("@angular/core").InputSignal<boolean>;
8735
+ /** Text after the change, such as "vs last month". */
8736
+ readonly caption: import("@angular/core").InputSignal<string | undefined>;
8737
+ /** Values for a sparkline under the figure, oldest first; `null` leaves a gap. */
8738
+ readonly sparkline: import("@angular/core").InputSignal<(number | null)[]>;
8739
+ /** Draws the sparkline as a line, a line over a filled area, or bars. */
8740
+ readonly sparklineVariant: import("@angular/core").InputSignal<SparklineVariant>;
8741
+ /** A bordered tile, a subtle fill, or no surface at all, to sit inside a card. */
8742
+ readonly variant: import("@angular/core").InputSignal<StatVariant>;
8743
+ /** Visual size; scales the text, spacing, and sparkline. */
8744
+ readonly size: import("@angular/core").InputSignal<EaSize>;
8745
+ /** Formats the value, an absolute change, and the sparkline's values; locale-grouped by default. */
8746
+ readonly formatValue: import("@angular/core").InputSignal<((value: number) => string) | null>;
8747
+ private readonly format;
8748
+ protected readonly hostClasses: import("@angular/core").Signal<{
8749
+ [x: string]: boolean;
8750
+ }>;
8751
+ protected readonly formattedValue: import("@angular/core").Signal<string>;
8752
+ protected readonly sparklineHeight: import("@angular/core").Signal<number>;
8753
+ protected readonly hasSparkline: import("@angular/core").Signal<boolean>;
8754
+ protected readonly change: import("@angular/core").Signal<{
8755
+ direction: ChangeDirection;
8756
+ tone: ChangeTone;
8757
+ text: string;
8758
+ spoken: string;
8759
+ } | null>;
8760
+ private percent;
8761
+ private signed;
8762
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatComponent, never>;
8763
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatComponent, "ea-stat", never, {
8764
+ "label": {
8765
+ "alias": "label";
8766
+ "required": false;
8767
+ "isSignal": true;
8768
+ };
8769
+ "value": {
8770
+ "alias": "value";
8771
+ "required": false;
8772
+ "isSignal": true;
8773
+ };
8774
+ "previousValue": {
8775
+ "alias": "previousValue";
8776
+ "required": false;
8777
+ "isSignal": true;
8778
+ };
8779
+ "changeFormat": {
8780
+ "alias": "changeFormat";
8781
+ "required": false;
8782
+ "isSignal": true;
8783
+ };
8784
+ "invertTone": {
8785
+ "alias": "invertTone";
8786
+ "required": false;
8787
+ "isSignal": true;
8788
+ };
8789
+ "caption": {
8790
+ "alias": "caption";
8791
+ "required": false;
8792
+ "isSignal": true;
8793
+ };
8794
+ "sparkline": {
8795
+ "alias": "sparkline";
8796
+ "required": false;
8797
+ "isSignal": true;
8798
+ };
8799
+ "sparklineVariant": {
8800
+ "alias": "sparklineVariant";
8801
+ "required": false;
8802
+ "isSignal": true;
8803
+ };
8804
+ "variant": {
8805
+ "alias": "variant";
8806
+ "required": false;
8807
+ "isSignal": true;
8808
+ };
8809
+ "size": {
8810
+ "alias": "size";
8811
+ "required": false;
8812
+ "isSignal": true;
8813
+ };
8814
+ "formatValue": {
8815
+ "alias": "formatValue";
8816
+ "required": false;
8817
+ "isSignal": true;
8818
+ };
8819
+ }, {}, never, never, true, never>;
8820
+ }
7899
8821
  /**
7900
8822
  * Single step within an `<ea-stepper>`. Registers itself with the parent on
7901
8823
  * init, exposes its `label` / `completed` / `optional` flags, and shows its
@@ -9492,6 +10414,233 @@ export declare class TreeComponent implements ControlValueAccessor {
9492
10414
  "nodeClick": "nodeClick";
9493
10415
  }, never, never, true, never>;
9494
10416
  }
10417
+ /** One item of an `<ea-treemap>`, drawn as a tile sized by its value. */
10418
+ export interface TreemapItem {
10419
+ /** Name of the item, shown on its tile, tooltip, and data table. */
10420
+ label: string;
10421
+ /** Size of the tile; an item without a positive, finite value draws none. */
10422
+ value: number;
10423
+ /** A second value, such as a gain or loss, that colors the tile when `colorByChange` is set. */
10424
+ change?: number | null;
10425
+ /** Any CSS color for the tile; defaults to the treemap's `color`. Unused when colored by change. */
10426
+ color?: string;
10427
+ }
10428
+ /** Payload describing a single tile of a treemap. */
10429
+ export interface TreemapTileEvent {
10430
+ /** Position of the item within `data`. */
10431
+ index: number;
10432
+ label: string;
10433
+ value: number;
10434
+ /** The item's share of the total, as a percentage. */
10435
+ share: number;
10436
+ /** The item's change, or `null` when it has none. */
10437
+ change: number | null;
10438
+ }
10439
+ /**
10440
+ * Entrance animation, replayed whenever the data changes. `grow` scales every
10441
+ * tile out from its center, and `fade` fades them in.
10442
+ */
10443
+ export type TreemapAnimation = 'grow' | 'fade' | 'none';
10444
+ interface Box {
10445
+ x: number;
10446
+ y: number;
10447
+ width: number;
10448
+ height: number;
10449
+ }
10450
+ interface PlotTile extends Box {
10451
+ index: number;
10452
+ color: string | null;
10453
+ /** How strongly the tile takes its rise or fall color, as a CSS percentage. */
10454
+ mix: string;
10455
+ falling: boolean;
10456
+ label: {
10457
+ x: number;
10458
+ y: number;
10459
+ text: string;
10460
+ } | null;
10461
+ detail: {
10462
+ x: number;
10463
+ y: number;
10464
+ text: string;
10465
+ } | null;
10466
+ }
10467
+ /**
10468
+ * Shows how a total divides into parts, such as a portfolio's allocation by
10469
+ * holding, as tiles sized by value in a squarified layout, largest first.
10470
+ * Each tile carries its label and value where they fit, and tiles can instead
10471
+ * be colored by a second value such as a gain or loss. Hovering or arrowing
10472
+ * through the tiles reveals each one in a tooltip, and a visually hidden table
10473
+ * carries the full data for screen readers.
10474
+ */
10475
+ export declare class TreemapComponent {
10476
+ protected readonly i18n: EagamiI18nService;
10477
+ /** The items to draw, each sized by its value. */
10478
+ readonly data: import("@angular/core").InputSignal<TreemapItem[]>;
10479
+ /** Any CSS color for every tile; defaults to the first chart palette color. */
10480
+ readonly color: import("@angular/core").InputSignal<string | undefined>;
10481
+ /**
10482
+ * Colors each tile by its change instead: rises and falls take the positive
10483
+ * and negative tones, stronger the larger the change, and a tile without one
10484
+ * stays neutral.
10485
+ */
10486
+ readonly colorByChange: import("@angular/core").InputSignal<boolean>;
10487
+ /** Size of a change at which a tile takes its full color; the largest change by default. */
10488
+ readonly changeRange: import("@angular/core").InputSignal<number | undefined>;
10489
+ /** Any CSS color for rises when colored by change; defaults to the success color. */
10490
+ readonly risingColor: import("@angular/core").InputSignal<string | undefined>;
10491
+ /** Any CSS color for falls when colored by change; defaults to the error color. */
10492
+ readonly fallingColor: import("@angular/core").InputSignal<string | undefined>;
10493
+ /** Prints each tile's value, or its change when colored by change, beneath its label where it fits. */
10494
+ readonly showValues: import("@angular/core").InputSignal<boolean>;
10495
+ /** Height of the treemap in pixels; the width fills the container. */
10496
+ readonly height: import("@angular/core").InputSignal<number>;
10497
+ /** Visual size; scales the label, value, and tooltip text. */
10498
+ readonly size: import("@angular/core").InputSignal<import("@eagami/ui").EaSize>;
10499
+ /** Entrance animation, replayed whenever the data changes. */
10500
+ readonly animation: import("@angular/core").InputSignal<TreemapAnimation>;
10501
+ /** Length of the entrance animation in milliseconds. */
10502
+ readonly animationDuration: import("@angular/core").InputSignal<number>;
10503
+ /** Formats values on the tiles, tooltip, and data table; locale-grouped by default. */
10504
+ readonly formatValue: import("@angular/core").InputSignal<((value: number) => string) | null>;
10505
+ /** Formats changes, which then take a plus sign when positive; `formatValue` by default. */
10506
+ readonly formatChange: import("@angular/core").InputSignal<((change: number) => string) | null>;
10507
+ /** Accessible name for the treemap; defaults to a localized "Treemap". */
10508
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
10509
+ /** Fires when a tile is clicked, or chosen with Enter or Space. */
10510
+ readonly tileClick: import("@angular/core").OutputEmitterRef<TreemapTileEvent>;
10511
+ /** Fires when the highlighted tile changes by pointer or keyboard, with `null` once cleared. */
10512
+ readonly activeTileChange: import("@angular/core").OutputEmitterRef<TreemapTileEvent | null>;
10513
+ private readonly viewport;
10514
+ private readonly format;
10515
+ protected readonly active: import("@angular/core").WritableSignal<number | null>;
10516
+ protected readonly label: import("@angular/core").Signal<string>;
10517
+ protected readonly order: import("@angular/core").Signal<number[]>;
10518
+ protected readonly hasData: import("@angular/core").Signal<boolean>;
10519
+ protected readonly total: import("@angular/core").Signal<number>;
10520
+ protected readonly hasChanges: import("@angular/core").Signal<boolean>;
10521
+ protected readonly renderPass: import("@angular/core").Signal<{}[]>;
10522
+ protected readonly hostClasses: import("@angular/core").Signal<{
10523
+ [x: string]: boolean;
10524
+ 'ea-treemap--by-change': boolean;
10525
+ }>;
10526
+ protected readonly layout: import("@angular/core").Signal<{
10527
+ width: number;
10528
+ height: number;
10529
+ tiles: PlotTile[];
10530
+ }>;
10531
+ protected readonly tooltip: import("@angular/core").Signal<{
10532
+ x: number;
10533
+ y: number;
10534
+ title: string;
10535
+ rows: {
10536
+ name: string;
10537
+ value: string;
10538
+ }[];
10539
+ key: number;
10540
+ } | null>;
10541
+ protected readonly tooltips: import("@angular/core").Signal<{
10542
+ x: number;
10543
+ y: number;
10544
+ title: string;
10545
+ rows: {
10546
+ name: string;
10547
+ value: string;
10548
+ }[];
10549
+ key: number;
10550
+ }[]>;
10551
+ protected readonly announcement: import("@angular/core").Signal<string>;
10552
+ protected isDimmed(tile: PlotTile): boolean;
10553
+ protected tableCells(index: number): string[];
10554
+ protected onPointerMove(event: PointerEvent): void;
10555
+ protected onPointerLeave(): void;
10556
+ protected onClick(): void;
10557
+ protected onFocus(): void;
10558
+ protected onBlur(): void;
10559
+ protected onKeydown(event: KeyboardEvent): void;
10560
+ private changeOf;
10561
+ private changeReach;
10562
+ private shareOf;
10563
+ private formatShare;
10564
+ private signedChange;
10565
+ private eventFor;
10566
+ private setActive;
10567
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreemapComponent, never>;
10568
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreemapComponent, "ea-treemap", never, {
10569
+ "data": {
10570
+ "alias": "data";
10571
+ "required": false;
10572
+ "isSignal": true;
10573
+ };
10574
+ "color": {
10575
+ "alias": "color";
10576
+ "required": false;
10577
+ "isSignal": true;
10578
+ };
10579
+ "colorByChange": {
10580
+ "alias": "colorByChange";
10581
+ "required": false;
10582
+ "isSignal": true;
10583
+ };
10584
+ "changeRange": {
10585
+ "alias": "changeRange";
10586
+ "required": false;
10587
+ "isSignal": true;
10588
+ };
10589
+ "risingColor": {
10590
+ "alias": "risingColor";
10591
+ "required": false;
10592
+ "isSignal": true;
10593
+ };
10594
+ "fallingColor": {
10595
+ "alias": "fallingColor";
10596
+ "required": false;
10597
+ "isSignal": true;
10598
+ };
10599
+ "showValues": {
10600
+ "alias": "showValues";
10601
+ "required": false;
10602
+ "isSignal": true;
10603
+ };
10604
+ "height": {
10605
+ "alias": "height";
10606
+ "required": false;
10607
+ "isSignal": true;
10608
+ };
10609
+ "size": {
10610
+ "alias": "size";
10611
+ "required": false;
10612
+ "isSignal": true;
10613
+ };
10614
+ "animation": {
10615
+ "alias": "animation";
10616
+ "required": false;
10617
+ "isSignal": true;
10618
+ };
10619
+ "animationDuration": {
10620
+ "alias": "animationDuration";
10621
+ "required": false;
10622
+ "isSignal": true;
10623
+ };
10624
+ "formatValue": {
10625
+ "alias": "formatValue";
10626
+ "required": false;
10627
+ "isSignal": true;
10628
+ };
10629
+ "formatChange": {
10630
+ "alias": "formatChange";
10631
+ "required": false;
10632
+ "isSignal": true;
10633
+ };
10634
+ "ariaLabel": {
10635
+ "alias": "aria-label";
10636
+ "required": false;
10637
+ "isSignal": true;
10638
+ };
10639
+ }, {
10640
+ "tileClick": "tileClick";
10641
+ "activeTileChange": "activeTileChange";
10642
+ }, never, never, true, never>;
10643
+ }
9495
10644
  /**
9496
10645
  * Context object passed to each `<ng-template #item>` projection inside an
9497
10646
  * `<ea-virtual-list>`. Mirrors `let-item="$implicit"` + `let-index="index"`.