@quadrel-enterprise-ui/framework 21.20.2 → 21.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1901,6 +1901,24 @@ type QdDataFacetsTextConfig = {
1901
1901
  textTransform?: 'capitalize' | 'uppercase' | 'lowercase' | 'full-width' | 'full-size-kana' | 'none';
1902
1902
  };
1903
1903
 
1904
+ /**
1905
+ * @description Configuration options of the content type `timer`.
1906
+ */
1907
+ type QdDataFacetsTimerConfig = {
1908
+ /**
1909
+ * @description Sets the color of the timer progress bar.
1910
+ *
1911
+ * @default 'critical'
1912
+ */
1913
+ state?: QdTimerProgressBarState;
1914
+ /**
1915
+ * @description Format of the remaining time.
1916
+ *
1917
+ * @default 'digital'
1918
+ */
1919
+ format?: QdTimerProgressBarFormat;
1920
+ };
1921
+
1904
1922
  /**
1905
1923
  * @description Renders just a blank element.
1906
1924
  *
@@ -2283,7 +2301,7 @@ type QdTableStatusDataValue = {
2283
2301
  /**
2284
2302
  * @description Type definitions for the contents of the TableData columns.
2285
2303
  */
2286
- type QdTableDataValue = boolean | number | string | string[] | QdTableCriticalDataValue | QdTableContextDataValue | QdTableChipDataValue | QdTableStatusDataValue | Date;
2304
+ type QdTableDataValue = boolean | number | string | string[] | QdTableCriticalDataValue | QdTableContextDataValue | QdTableChipDataValue | QdTableStatusDataValue | QdTimeSpan | Date;
2287
2305
  /**
2288
2306
  * @description Data Model for Qd-Tables. The generic type defines the table columns keys.
2289
2307
  */
@@ -2506,6 +2524,52 @@ declare class QdDataFacetsTextComponent {
2506
2524
  static ɵcmp: i0.ɵɵComponentDeclaration<QdDataFacetsTextComponent, "qd-data-facets-text", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
2507
2525
  }
2508
2526
 
2527
+ /**
2528
+ * @description Renders the time span of a row as a countdown.
2529
+ *
2530
+ * The value is a `QdTimeSpan` or `null`:
2531
+ *
2532
+ * * Before `startsAt`: `startsAt` is shown as date and time. When `startsAt` is reached, the timer progress bar
2533
+ * replaces it.
2534
+ * * From `startsAt` until `endsAt`: a timer progress bar counts down the remaining time until `endsAt`.
2535
+ * A page reload does not restart the countdown.
2536
+ * * From `endsAt`: the timer progress bar is hidden and `startsAt` is shown as date and time again.
2537
+ * * `endsAt` not after `startsAt` or not parsable: `startsAt` is shown as date and time.
2538
+ * * `null` or a `startsAt` that cannot be parsed: the cell stays empty.
2539
+ *
2540
+ * Date and time follow the language of the application. `state` and `format` from the options are passed to the
2541
+ * timer progress bar.
2542
+ */
2543
+ declare class QdDataFacetsTimerComponent implements OnInit, OnChanges {
2544
+ config?: QdDataFacetsTimerConfig;
2545
+ data?: QdTimeSpan | null;
2546
+ testId?: string;
2547
+ timerConfig: QdTimerProgressBarConfig | null;
2548
+ startsAt: number | null;
2549
+ formattedStartsAt: string;
2550
+ private readonly _changeDetectorRef;
2551
+ private readonly _destroyRef;
2552
+ private readonly _localeService;
2553
+ private readonly _ngZone;
2554
+ private _locale;
2555
+ private _startCountdown?;
2556
+ ngOnInit(): void;
2557
+ ngOnChanges(): void;
2558
+ handleCountdownExpired(): void;
2559
+ private updateTimerConfig;
2560
+ /**
2561
+ * Shows the timer when `startsAt` is reached.
2562
+ *
2563
+ * The start is checked against the clock every second instead of one long timeout. A long timeout does not count the
2564
+ * time a computer sleeps, so the timer would show up late after a standby. The checks run outside the Angular zone,
2565
+ * so waiting cells do not trigger change detection.
2566
+ */
2567
+ private waitForStart;
2568
+ private updateFormattedStartsAt;
2569
+ static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsTimerComponent, never>;
2570
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdDataFacetsTimerComponent, "qd-data-facets-timer", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, false, never>;
2571
+ }
2572
+
2509
2573
  declare class QdDataFacetsChipTruncatedTooltipComponent implements OnInit, AfterViewInit, OnChanges {
2510
2574
  private readonly hostRef;
2511
2575
  private readonly changeDetectorRef;
@@ -2595,7 +2659,7 @@ declare class QdStatusIndicatorItemComponent {
2595
2659
  /**
2596
2660
  * Specifies whether a single item (point) is active or not.
2597
2661
  */
2598
- active: boolean;
2662
+ active?: boolean;
2599
2663
  /**
2600
2664
  * State of a single indicator.
2601
2665
  */
@@ -2622,19 +2686,87 @@ declare class QdStatusIndicatorModule {
2622
2686
  static ɵinj: i0.ɵɵInjectorDeclaration<QdStatusIndicatorModule>;
2623
2687
  }
2624
2688
 
2689
+ /**
2690
+ * **QdTimerProgressBar** displays a countdown to a point in time, e.g. the end of a reaction time.
2691
+ *
2692
+ * The countdown runs until `timeSpan.endsAt`. The remaining time is `endsAt` minus the current time of the client, so
2693
+ * reloading the page does not restart the countdown. A time span that has already ended shows an empty bar and emits
2694
+ * `countdownExpired` right away. Before `timeSpan.startsAt` the bar stays full.
2695
+ * The remaining time is derived from the clock on every tick, so it is correct again on the next tick after the
2696
+ * browser has throttled the page. In a background tab the browser can delay the ticks by up to a minute, so the display
2697
+ * and `countdownExpired` can be late there. The bar empties continuously and shows the remaining time inside the bar.
2698
+ *
2699
+ * The remaining time is formatted with `Intl.DurationFormat` in the language of the application, which the service
2700
+ * navigation sets. `format` chooses between a digital clock (`04:05`) and abbreviated units (`4 min, 5 s`).
2701
+ *
2702
+ * The ticks run outside the Angular zone and only update the timer progress bar itself, so a running countdown does
2703
+ * not trigger change detection for the whole application every second. `countdownExpired` is emitted inside the
2704
+ * Angular zone and always asynchronously, so a host can update its template in response.
2705
+ *
2706
+ * This component is internal to the framework and not part of the public API.
2707
+ */
2708
+ declare class QdTimerProgressBarComponent implements OnInit, OnChanges {
2709
+ /**
2710
+ * The configuration of the timer progress bar, e.g. the `timeSpan` of the countdown.
2711
+ */
2712
+ config: QdTimerProgressBarConfig;
2713
+ /**
2714
+ * A static test ID for integration tests can be set. <br />
2715
+ * The value for the HTML attribute [data-test-id].
2716
+ */
2717
+ testId: string;
2718
+ /**
2719
+ * Emits once when the countdown reaches 0.
2720
+ * Also emits once, right after the config is set, when the time span has already ended, is empty or is invalid.
2721
+ */
2722
+ countdownExpired: EventEmitter<void>;
2723
+ get dataTestId(): string;
2724
+ get hostClasses(): string;
2725
+ state: QdTimerProgressBarState;
2726
+ remainingSeconds: number;
2727
+ percentage: number;
2728
+ formattedTime: string;
2729
+ private readonly _changeDetectorRef;
2730
+ private readonly _destroyRef;
2731
+ private readonly _ngZone;
2732
+ private readonly _localeService;
2733
+ private _locale;
2734
+ private _format;
2735
+ private _duration;
2736
+ private _remaining;
2737
+ private _countdown?;
2738
+ ngOnInit(): void;
2739
+ ngOnChanges(changes: SimpleChanges): void;
2740
+ private startCountdown;
2741
+ private tick;
2742
+ private updateData;
2743
+ static ɵfac: i0.ɵɵFactoryDeclaration<QdTimerProgressBarComponent, never>;
2744
+ static ɵcmp: i0.ɵɵComponentDeclaration<QdTimerProgressBarComponent, "qd-timer-progress-bar", never, { "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "countdownExpired": "countdownExpired"; }, never, never, false, never>;
2745
+ }
2746
+
2747
+ /**
2748
+ * Internal module of the timer progress bar. It is deliberately not part of the public API.
2749
+ * Consumers use the timer through a configuration, e.g. the page object header facet of type `timer`.
2750
+ */
2751
+ declare class QdTimerProgressBarModule {
2752
+ static ɵfac: i0.ɵɵFactoryDeclaration<QdTimerProgressBarModule, never>;
2753
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdTimerProgressBarModule, [typeof QdTimerProgressBarComponent], never, [typeof QdTimerProgressBarComponent]>;
2754
+ static ɵinj: i0.ɵɵInjectorDeclaration<QdTimerProgressBarModule>;
2755
+ }
2756
+
2625
2757
  /**
2626
2758
  * @description Represents all possible component types for different data facets.
2627
2759
  */
2628
- type QdDataFacetsComponent = QdDataFacetsBlankComponent | QdDataFacetsBooleanComponent | QdDataFacetsChipComponent | QdDataFacetsCurrencyComponent | QdDataFacetsDateComponent | QdDataFacetsIconComponent | QdDataFacetsIntegerComponent | QdDataFacetsLinkComponent | QdDataFacetsProgressComponent | QdDataFacetsStatusComponent | QdDataFacetsTextComponent;
2760
+ type QdDataFacetsComponent = QdDataFacetsBlankComponent | QdDataFacetsBooleanComponent | QdDataFacetsChipComponent | QdDataFacetsCurrencyComponent | QdDataFacetsDateComponent | QdDataFacetsIconComponent | QdDataFacetsIntegerComponent | QdDataFacetsLinkComponent | QdDataFacetsProgressComponent | QdDataFacetsStatusComponent | QdDataFacetsTextComponent | QdDataFacetsTimerComponent;
2629
2761
  /**
2630
2762
  * @description Defines the valid types of data facets.
2631
2763
  * These types are used to map to corresponding components in `COMPONENT_MAP`.
2632
2764
  */
2633
- type QdDataFacetsType = 'blank' | 'boolean' | 'chip' | 'currency' | 'date' | 'icon' | 'integer' | 'link' | 'progress' | 'status' | 'text' | 'enum';
2765
+ type QdDataFacetsType = 'blank' | 'boolean' | 'chip' | 'currency' | 'date' | 'icon' | 'integer' | 'link' | 'progress' | 'status' | 'text' | 'timer' | 'enum';
2634
2766
 
2635
2767
  declare class QdDataFacetsModule {
2636
2768
  static ɵfac: i0.ɵɵFactoryDeclaration<QdDataFacetsModule, never>;
2637
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdDataFacetsModule, [typeof QdDataFacetsBlankComponent, typeof QdDataFacetsBooleanComponent, typeof QdDataFacetsChipComponent, typeof QdDataFacetsCurrencyComponent, typeof QdDataFacetsDateComponent, typeof QdDataFacetsIconComponent, typeof QdDataFacetsIntegerComponent, typeof QdDataFacetsLinkComponent, typeof QdDataFacetsProgressComponent, typeof QdDataFacetsStatusComponent, typeof QdDataFacetsTextComponent, typeof QdDataFacetsChipTruncatedTooltipComponent, typeof QdDataFacetsChipTruncatedIndicatorComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdChipModule, typeof QdStatusIndicatorModule], never>;
2769
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QdDataFacetsModule, [typeof QdDataFacetsBlankComponent, typeof QdDataFacetsBooleanComponent, typeof QdDataFacetsChipComponent, typeof QdDataFacetsCurrencyComponent, typeof QdDataFacetsDateComponent, typeof QdDataFacetsIconComponent, typeof QdDataFacetsIntegerComponent, typeof QdDataFacetsLinkComponent, typeof QdDataFacetsProgressComponent, typeof QdDataFacetsStatusComponent, typeof QdDataFacetsTextComponent, typeof QdDataFacetsTimerComponent, typeof QdDataFacetsChipTruncatedTooltipComponent, typeof QdDataFacetsChipTruncatedIndicatorComponent], [typeof i2.CommonModule, typeof i5.TranslateModule, typeof QdIconModule, typeof QdChipModule, typeof QdStatusIndicatorModule, typeof QdTimerProgressBarModule], never>;
2638
2770
  static ɵinj: i0.ɵɵInjectorDeclaration<QdDataFacetsModule>;
2639
2771
  }
2640
2772
 
@@ -3881,8 +4013,8 @@ declare class QdMockListModule {
3881
4013
  }
3882
4014
 
3883
4015
  declare class QdMockNavigationTileComponent {
3884
- title: string;
3885
- icon: string;
4016
+ title?: string;
4017
+ icon?: string;
3886
4018
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockNavigationTileComponent, never>;
3887
4019
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockNavigationTileComponent, "qd-navigation-tile", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
3888
4020
  }
@@ -4010,16 +4142,16 @@ interface QdOsNotificationOptions {
4010
4142
  * * event.preventDefault();
4011
4143
  * * window.open('https://your/deep/link');
4012
4144
  */
4013
- onClick?: (event: any) => void;
4145
+ onClick?: (event: Event) => void;
4014
4146
  /**
4015
4147
  * Defines a close handler.
4016
4148
  */
4017
- onClose?: (event: any) => void;
4149
+ onClose?: (event: Event) => void;
4018
4150
  }
4019
4151
 
4020
4152
  declare class QdMockNotificationComponent {
4021
4153
  state: QdNotificationState;
4022
- notification: QdNotification;
4154
+ notification?: QdNotification;
4023
4155
  get isCloseable(): string;
4024
4156
  remove(): void;
4025
4157
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockNotificationComponent, never>;
@@ -4038,23 +4170,23 @@ declare class QdMockNotificationsComponent {
4038
4170
  }
4039
4171
 
4040
4172
  declare class QdMockNotificationsService {
4041
- getNotificationsForContext(context: any): {
4042
- context: any;
4173
+ getNotificationsForContext(context: string): {
4174
+ context: string;
4043
4175
  };
4044
- add(context: any, notification: any): {
4045
- context: any;
4046
- notification: any;
4176
+ add(context: string, notification: unknown): {
4177
+ context: string;
4178
+ notification: unknown;
4047
4179
  };
4048
- addBulk(context: any, notifications: any): {
4049
- context: any;
4050
- notifications: any;
4180
+ addBulk(context: string, notifications: unknown): {
4181
+ context: string;
4182
+ notifications: unknown;
4051
4183
  };
4052
- remove(context: any, id: any): {
4053
- context: any;
4054
- id: any;
4184
+ remove(context: string, id: string): {
4185
+ context: string;
4186
+ id: string;
4055
4187
  };
4056
- removeAll(context: any): {
4057
- context: any;
4188
+ removeAll(context: string): {
4189
+ context: string;
4058
4190
  };
4059
4191
  reset(): void;
4060
4192
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockNotificationsService, never>;
@@ -4068,7 +4200,7 @@ declare class QdMockNotificationsModule {
4068
4200
  }
4069
4201
 
4070
4202
  declare class QdMockPageComponent {
4071
- config: any;
4203
+ config?: unknown;
4072
4204
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockPageComponent, never>;
4073
4205
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockPageComponent, "qd-page", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
4074
4206
  }
@@ -4095,7 +4227,7 @@ declare class QdMockIndeterminateProgressBarComponent {
4095
4227
  }
4096
4228
 
4097
4229
  declare class QdMockPercentageProgressBarComponent {
4098
- percentage: any;
4230
+ percentage?: number | string | null;
4099
4231
  testId: string;
4100
4232
  get dataTestId(): string;
4101
4233
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockPercentageProgressBarComponent, never>;
@@ -4244,7 +4376,7 @@ interface QdSearchPreSelectOptionsList {
4244
4376
  }
4245
4377
 
4246
4378
  declare class QdMockSearchComponent {
4247
- configData: QdSearchOptions;
4379
+ configData?: QdSearchOptions;
4248
4380
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockSearchComponent, never>;
4249
4381
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockSearchComponent, "qd-search", never, { "configData": { "alias": "configData"; "required": false; }; }, {}, never, never, false, never>;
4250
4382
  }
@@ -4256,13 +4388,13 @@ declare class QdMockSearchModule {
4256
4388
  }
4257
4389
 
4258
4390
  declare class QdMockSectionComponent {
4259
- config: any;
4391
+ config?: unknown;
4260
4392
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockSectionComponent, never>;
4261
4393
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockSectionComponent, "qd-section", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
4262
4394
  }
4263
4395
 
4264
4396
  declare class QdMockSectionToolbarComponent {
4265
- config: any;
4397
+ config?: unknown;
4266
4398
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockSectionToolbarComponent, never>;
4267
4399
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockSectionToolbarComponent, "qd-section-toolbar", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
4268
4400
  }
@@ -4274,7 +4406,7 @@ declare class QdMockSectionModule {
4274
4406
  }
4275
4407
 
4276
4408
  declare class QdMockShellComponent {
4277
- config: any;
4409
+ config?: unknown;
4278
4410
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockShellComponent, never>;
4279
4411
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockShellComponent, "qd-shell", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
4280
4412
  }
@@ -4285,7 +4417,7 @@ declare class QdMockShellFooterComponent {
4285
4417
  }
4286
4418
 
4287
4419
  declare class QdMockShellHeaderComponent {
4288
- config: any;
4420
+ config?: unknown;
4289
4421
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockShellHeaderComponent, never>;
4290
4422
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockShellHeaderComponent, "[qd-shell-header]", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
4291
4423
  }
@@ -4306,7 +4438,7 @@ declare class QdMockCounterBadgeComponent {
4306
4438
  }
4307
4439
 
4308
4440
  declare class QdMockShellToolbarItemComponent {
4309
- item: any;
4441
+ item?: unknown;
4310
4442
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockShellToolbarItemComponent, never>;
4311
4443
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockShellToolbarItemComponent, "button[qd-shell-toolbar-item]", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
4312
4444
  }
@@ -4450,6 +4582,18 @@ type QdTableConfigColumnType =
4450
4582
  | {
4451
4583
  type: 'currency';
4452
4584
  options?: QdDataFacetsCurrencyConfig;
4585
+ }
4586
+ /**
4587
+ * @description Renders a countdown for a time span. The value is a `QdTimeSpan` or `null`.
4588
+ *
4589
+ * * Before `startsAt`: `startsAt` as date and time. When `startsAt` is reached, the timer replaces it.
4590
+ * * From `startsAt` until `endsAt`: a timer progress bar counts down the remaining time until `endsAt`.
4591
+ * * From `endsAt`: `startsAt` as date and time again.
4592
+ * * `null` or a `startsAt` that cannot be parsed: an empty cell.
4593
+ */
4594
+ | {
4595
+ type: 'timer';
4596
+ options?: QdDataFacetsTimerConfig;
4453
4597
  };
4454
4598
 
4455
4599
  /**
@@ -4826,9 +4970,9 @@ interface QdTableEmptyStateView {
4826
4970
  }
4827
4971
 
4828
4972
  declare class QdMockTableComponent<T extends string> {
4829
- config: QdTableConfig<T>;
4830
- data: QdTableData<T>;
4831
- testId: string;
4973
+ config?: QdTableConfig<T>;
4974
+ data?: QdTableData<T>;
4975
+ testId?: string;
4832
4976
  selectedRowsOutput: EventEmitter<QdTableSelectedRows<T>>;
4833
4977
  emptyStateActionOutput: EventEmitter<any>;
4834
4978
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableComponent<any>, never>;
@@ -4836,17 +4980,17 @@ declare class QdMockTableComponent<T extends string> {
4836
4980
  }
4837
4981
 
4838
4982
  declare class QdMockTableBodyComponent {
4839
- data: any;
4840
- config: any;
4841
- testId: any;
4983
+ data?: unknown;
4984
+ config?: unknown;
4985
+ testId?: string;
4842
4986
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableBodyComponent, never>;
4843
4987
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableBodyComponent, "[qd-table-body]", never, { "data": { "alias": "data"; "required": false; }; "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
4844
4988
  }
4845
4989
 
4846
4990
  declare class QdMockTableBodyTreeComponent {
4847
- config: any;
4848
- data: any;
4849
- testId: any;
4991
+ config?: unknown;
4992
+ data?: unknown;
4993
+ testId?: string;
4850
4994
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableBodyTreeComponent, never>;
4851
4995
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableBodyTreeComponent, "[qd-table-body-tree]", never, { "config": { "alias": "config"; "required": false; }; "data": { "alias": "data"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
4852
4996
  }
@@ -4857,43 +5001,43 @@ declare class QdMockTableDataBlankComponent {
4857
5001
  }
4858
5002
 
4859
5003
  declare class QdMockTableDataBooleanComponent {
4860
- cellData: any;
5004
+ cellData?: unknown;
4861
5005
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableDataBooleanComponent, never>;
4862
5006
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableDataBooleanComponent, "[qd-table-data-boolean]", never, { "cellData": { "alias": "cellData"; "required": false; }; }, {}, never, never, false, never>;
4863
5007
  }
4864
5008
 
4865
5009
  declare class QdMockTableDataDateComponent {
4866
- columnOptions: any;
4867
- cellData: any;
5010
+ columnOptions?: unknown;
5011
+ cellData?: unknown;
4868
5012
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableDataDateComponent, never>;
4869
5013
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableDataDateComponent, "[qd-table-data-date]", never, { "columnOptions": { "alias": "columnOptions"; "required": false; }; "cellData": { "alias": "cellData"; "required": false; }; }, {}, never, never, false, never>;
4870
5014
  }
4871
5015
 
4872
5016
  declare class QdMockTableDataIntegerComponent {
4873
- cellData: any;
5017
+ cellData?: unknown;
4874
5018
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableDataIntegerComponent, never>;
4875
5019
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableDataIntegerComponent, "[qd-table-data-integer]", never, { "cellData": { "alias": "cellData"; "required": false; }; }, {}, never, never, false, never>;
4876
5020
  }
4877
5021
 
4878
5022
  declare class QdMockTableDataLinkComponent<T extends string> {
4879
- cellData: any;
4880
- rowIndex: number;
4881
- columnOptions: any;
4882
- rowData: any;
5023
+ cellData?: unknown;
5024
+ rowIndex?: number;
5025
+ columnOptions?: unknown;
5026
+ rowData?: unknown;
4883
5027
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableDataLinkComponent<any>, never>;
4884
5028
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableDataLinkComponent<any>, "[qd-table-data-link]", never, { "cellData": { "alias": "cellData"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "columnOptions": { "alias": "columnOptions"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, false, never>;
4885
5029
  }
4886
5030
 
4887
5031
  declare class QdMockTableDataProgressComponent {
4888
- cellData: any;
5032
+ cellData?: unknown;
4889
5033
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableDataProgressComponent, never>;
4890
5034
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableDataProgressComponent, "[qd-table-data-progress]", never, { "cellData": { "alias": "cellData"; "required": false; }; }, {}, never, never, false, never>;
4891
5035
  }
4892
5036
 
4893
5037
  declare class QdMockTableDataTextComponent {
4894
- columnOptions: any;
4895
- cellData: any;
4896
- i18n: any;
5038
+ columnOptions?: unknown;
5039
+ cellData?: unknown;
5040
+ i18n?: unknown;
4897
5041
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableDataTextComponent, never>;
4898
5042
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableDataTextComponent, "[qd-table-data-text]", never, { "columnOptions": { "alias": "columnOptions"; "required": false; }; "cellData": { "alias": "cellData"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; }, {}, never, never, false, never>;
4899
5043
  }
@@ -4909,30 +5053,30 @@ declare class QdMockTableEmptyStateComponent {
4909
5053
  }
4910
5054
 
4911
5055
  declare class QdMockTableHeadComponent {
4912
- config: any;
4913
- testId: any;
5056
+ config?: unknown;
5057
+ testId?: string;
4914
5058
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableHeadComponent, never>;
4915
5059
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableHeadComponent, "[qd-table-head]", never, { "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
4916
5060
  }
4917
5061
 
4918
5062
  declare class QdMockTablePaginatorComponent {
4919
- config: any;
5063
+ config?: unknown;
4920
5064
  testId?: string;
4921
5065
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTablePaginatorComponent, never>;
4922
5066
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTablePaginatorComponent, "qd-table-paginator", never, { "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
4923
5067
  }
4924
5068
 
4925
5069
  declare class QdMockTablePaginatorPageSizeDirective {
4926
- qdTablePaginatorPageSize: any;
5070
+ qdTablePaginatorPageSize?: unknown;
4927
5071
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTablePaginatorPageSizeDirective, never>;
4928
5072
  static ɵdir: i0.ɵɵDirectiveDeclaration<QdMockTablePaginatorPageSizeDirective, "[qdTablePaginatorPageSize]", never, { "qdTablePaginatorPageSize": { "alias": "qdTablePaginatorPageSize"; "required": false; }; }, {}, never, never, false, never>;
4929
5073
  }
4930
5074
 
4931
5075
  declare class QdMockTableSortComponent {
4932
- isSortable: any;
4933
- config: any;
4934
- column: any;
4935
- testId: any;
5076
+ isSortable?: unknown;
5077
+ config?: unknown;
5078
+ column?: unknown;
5079
+ testId?: string;
4936
5080
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTableSortComponent, never>;
4937
5081
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTableSortComponent, "qd-table-sort", never, { "isSortable": { "alias": "isSortable"; "required": false; }; "config": { "alias": "config"; "required": false; }; "column": { "alias": "column"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, ["*"], false, never>;
4938
5082
  }
@@ -4970,7 +5114,7 @@ declare class QdMockTileButtonListComponent {
4970
5114
  }
4971
5115
 
4972
5116
  declare class QdMockTileComponent {
4973
- name: string;
5117
+ name?: string;
4974
5118
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTileComponent, never>;
4975
5119
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTileComponent, "qd-tile", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], false, never>;
4976
5120
  }
@@ -4991,7 +5135,7 @@ declare class QdMockTileTitleComponent {
4991
5135
  }
4992
5136
 
4993
5137
  declare class QdMockTilesContainerComponent {
4994
- name: string;
5138
+ name?: string;
4995
5139
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMockTilesContainerComponent, never>;
4996
5140
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMockTilesContainerComponent, "qd-tiles-container", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], false, never>;
4997
5141
  }
@@ -6136,7 +6280,7 @@ declare class QdNotificationComponent implements OnChanges {
6136
6280
  getState(): QdNotificationState;
6137
6281
  getIcon(): string;
6138
6282
  remove(): void;
6139
- handleLinkClick(): void;
6283
+ handleLinkClick(link: QdNotificationLink): void;
6140
6284
  private isNotificationInSnackbar;
6141
6285
  static ɵfac: i0.ɵɵFactoryDeclaration<QdNotificationComponent, never>;
6142
6286
  static ɵcmp: i0.ɵɵComponentDeclaration<QdNotificationComponent, "qd-notification", never, { "state": { "alias": "state"; "required": false; }; "notification": { "alias": "notification"; "required": false; }; }, {}, never, ["qd-notification-content"], false, never>;
@@ -12939,7 +13083,7 @@ declare class QdFilterItemDateCategoryComponent implements OnInit {
12939
13083
  categoryIndex: number;
12940
13084
  timePickerConfig?: QdFormTimepickerConfiguration;
12941
13085
  testId: string;
12942
- i18n$: Observable<string>;
13086
+ i18n$: Observable<string | undefined>;
12943
13087
  item$: Observable<QdFilterItem>;
12944
13088
  itemIndex: number;
12945
13089
  timePlaceholderSelected: boolean;
@@ -13007,7 +13151,7 @@ declare class QdFilterItemDateRangeCategoryComponent implements OnInit {
13007
13151
  categoryIndex: number;
13008
13152
  testId: string;
13009
13153
  timePickerConfig?: QdFormTimepickerConfiguration;
13010
- i18n$: Observable<string>;
13154
+ i18n$: Observable<string | undefined>;
13011
13155
  fromItem$: Observable<QdFilterItem>;
13012
13156
  fromItemIndex: number;
13013
13157
  fromItemTimePickerConfig?: QdFormTimepickerConfiguration;
@@ -13065,8 +13209,8 @@ declare class QdFilterItemSelectCategoryComponent implements OnInit, AfterViewIn
13065
13209
  triggerRef: ElementRef<HTMLElement>;
13066
13210
  open: boolean;
13067
13211
  type: 'singleSelect' | 'multiSelect';
13068
- i18n: string;
13069
- filter: boolean;
13212
+ i18n?: string;
13213
+ filter?: boolean;
13070
13214
  items: QdFilterItem[];
13071
13215
  dependsOn: string[];
13072
13216
  showSelectButton$: Observable<boolean>;
@@ -13618,11 +13762,11 @@ declare class NavigationTileComponent implements OnInit {
13618
13762
  /**
13619
13763
  * Defines a title.
13620
13764
  */
13621
- title: string;
13765
+ title?: string;
13622
13766
  /**
13623
13767
  * Defines an icon from the list of Quadrel icons
13624
13768
  */
13625
- icon: string;
13769
+ icon?: string;
13626
13770
  ngOnInit(): void;
13627
13771
  private validate;
13628
13772
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationTileComponent, never>;
@@ -14113,7 +14257,7 @@ interface QdPageStepperSubmitActionConfig {
14113
14257
  /**
14114
14258
  * A click handler, fired on button click. It receives the form values as an argument.
14115
14259
  */
14116
- handler?: (formValues?: any) => void;
14260
+ handler?: (formValues?: unknown) => void;
14117
14261
  }
14118
14262
  /**
14119
14263
  * Interface for the configuration of a page step
@@ -14216,7 +14360,7 @@ declare class QdPageStepperComponent extends CdkStepper implements OnInit, After
14216
14360
  *
14217
14361
  * * @note The use of CDK attributes is not permitted. Please configure this component here.
14218
14362
  */
14219
- config: QdPageStepperConfig;
14363
+ config?: QdPageStepperConfig;
14220
14364
  /**
14221
14365
  * A static test ID for integration tests can be set. Every step header inherits it as
14222
14366
  * `<testId>-header-<index>` (e.g. `page-stepper-header-0`). The caption of a named step also gets `<testId>-header-<name>`.
@@ -15784,6 +15928,8 @@ declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, O
15784
15928
  private readonly injector;
15785
15929
  private pageStoreService;
15786
15930
  private readonly _destroyRef;
15931
+ private readonly _zone;
15932
+ private readonly _host;
15787
15933
  private _pageObjectDataSubject;
15788
15934
  private _isLoadingSubject;
15789
15935
  private _customActionsSubject;
@@ -15823,11 +15969,17 @@ declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, O
15823
15969
  get hideEdit(): boolean;
15824
15970
  get hasValuesChanged$(): Observable<boolean>;
15825
15971
  get $canSave(): Observable<boolean>;
15972
+ constructor();
15826
15973
  ngOnInit(): void;
15827
15974
  ngOnChanges(changes: SimpleChanges): void;
15828
15975
  ngOnDestroy(): void;
15829
15976
  updateMetadata(metadata: Partial<T>): void;
15830
15977
  handleAction(facet: QdFacetOptionSingleSelect | QdFacetOptionMultiSelect): void;
15978
+ /**
15979
+ * Returns the custom actions that are not hidden.
15980
+ * The icon menu on narrow headers lists only these.
15981
+ */
15982
+ visibleCustomActions(customActions: QdMenuButtonConfig): QdMenuButtonActionConfig[];
15831
15983
  hasHeaderFacets(config: QdPageConfig<T>): config is QdPageConfigCreate<T> | QdPageConfigInspect<T> | QdPageConfigCustom<T>;
15832
15984
  edit(): void;
15833
15985
  cancel(): void;
@@ -15840,6 +15992,7 @@ declare class QdPageObjectHeaderComponent<T extends object> implements OnInit, O
15840
15992
  private subscribeToMetadataStream;
15841
15993
  private warnOnNonReplayMetadataStream;
15842
15994
  private subscribeToViewOnlyMode;
15995
+ private observeTitleWidth;
15843
15996
  private getCustomActionsByMode;
15844
15997
  private openCancelDialog;
15845
15998
  static ɵfac: i0.ɵɵFactoryDeclaration<QdPageObjectHeaderComponent<any>, never>;
@@ -15850,7 +16003,7 @@ declare class QdSingleSelectFacetComponent<T> {
15850
16003
  facet: QdPageHeaderFacetConfig<T>;
15851
16004
  data: T;
15852
16005
  get options(): QdFacetOptionSingleSelect;
15853
- handleAction(facet: QdFacetOptionSingleSelect, event: MouseEvent): void;
16006
+ handleAction(action: NonNullable<QdFacetOptionSingleSelect['action']>, event: MouseEvent): void;
15854
16007
  static ɵfac: i0.ɵɵFactoryDeclaration<QdSingleSelectFacetComponent<any>, never>;
15855
16008
  static ɵcmp: i0.ɵɵComponentDeclaration<QdSingleSelectFacetComponent<any>, "qd-single-select-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
15856
16009
  }
@@ -15859,7 +16012,7 @@ declare class QdMultiSelectFacetComponent<T> {
15859
16012
  facet: QdPageHeaderFacetConfig<T>;
15860
16013
  data: T;
15861
16014
  get options(): QdFacetOptionMultiSelect;
15862
- handleAction(facet: QdFacetOptionMultiSelect, event: MouseEvent): void;
16015
+ handleAction(action: NonNullable<QdFacetOptionMultiSelect['action']>, event: MouseEvent): void;
15863
16016
  static ɵfac: i0.ɵɵFactoryDeclaration<QdMultiSelectFacetComponent<any>, never>;
15864
16017
  static ɵcmp: i0.ɵɵComponentDeclaration<QdMultiSelectFacetComponent<any>, "qd-multi-select-facet", never, { "facet": { "alias": "facet"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
15865
16018
  }
@@ -15921,7 +16074,7 @@ declare class QdDynamicFacetComponent<T> implements OnInit, OnChanges {
15921
16074
  facet: QdPageHeaderFacetConfig<T>;
15922
16075
  data: T;
15923
16076
  testId?: string;
15924
- private ref;
16077
+ private ref?;
15925
16078
  private inputNames;
15926
16079
  get component(): {
15927
16080
  data: Text;
@@ -16066,7 +16219,7 @@ declare class QdPercentageProgressBarComponent implements OnChanges, AfterViewIn
16066
16219
  /**
16067
16220
  * The percentage for the progress bar. If not specified, the value is set to `0`.
16068
16221
  */
16069
- percentage: any;
16222
+ percentage?: number | string | null;
16070
16223
  /**
16071
16224
  * A static test ID for integration tests can be set. <br />
16072
16225
  * The value for the HTML attribute [data-test-id].
@@ -16317,7 +16470,7 @@ declare class QdSearchService {
16317
16470
  static getDefaultPreSelectString(searchOptions: QdSearchOptions): string;
16318
16471
  static getDefaultOptions(searchOptions: QdSearchOptions): QdSearchOptions;
16319
16472
  static hasAdditionalInfo(configData: QdSearchOptions): boolean;
16320
- setSearchValues(search: any, preSelected: any): void;
16473
+ setSearchValues(search: string, preSelected: string): void;
16321
16474
  getSearch(): string;
16322
16475
  getQueryString(): string;
16323
16476
  getPostBody(): QdSearchPostBodyData;
@@ -16370,7 +16523,7 @@ declare class QdSearchComponent implements OnInit, OnChanges {
16370
16523
  */
16371
16524
  set configData(configData: QdSearchOptions);
16372
16525
  get configData(): QdSearchOptions;
16373
- searchId: QdSearchOptions['uid'];
16526
+ searchId: string;
16374
16527
  searchService: QdSearchService;
16375
16528
  private _configDataSubject;
16376
16529
  private _search;
@@ -17539,7 +17692,7 @@ declare class QdTableEmptyStateComponent implements OnInit, OnChanges {
17539
17692
  };
17540
17693
  ngOnInit(): void;
17541
17694
  ngOnChanges(changes: SimpleChanges): void;
17542
- getI18n(): string;
17695
+ getI18n(): string | undefined;
17543
17696
  handleClick(): void;
17544
17697
  static ɵfac: i0.ɵɵFactoryDeclaration<QdTableEmptyStateComponent, never>;
17545
17698
  static ɵcmp: i0.ɵɵComponentDeclaration<QdTableEmptyStateComponent, "qd-table-empty-state", never, { "config": { "alias": "config"; "required": false; }; "i18ns": { "alias": "i18ns"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
@@ -17550,17 +17703,17 @@ declare class QdTableHeadComponent<T extends string> implements OnInit {
17550
17703
  config: QdTableConfig<T>;
17551
17704
  testId: string;
17552
17705
  get dataTestId(): string;
17553
- get translations(): string;
17554
- get headData(): string[];
17706
+ get translations(): string | undefined;
17707
+ get headData(): T[];
17555
17708
  ngOnInit(): void;
17556
- isMainColumn(column: any): boolean;
17557
- isLastColumn(column: any): boolean;
17709
+ isMainColumn(column: T | T[]): boolean;
17710
+ isLastColumn(column: T | T[]): boolean;
17558
17711
  isRightAligned(columnName: string): boolean;
17559
- isHeadRendered$(i: any): Observable<boolean>;
17560
- getI18n(head: any): string;
17561
- capitalize(head: any): string;
17712
+ isHeadRendered$(i: number): Observable<boolean>;
17713
+ getI18n(head: string): string;
17714
+ capitalize(head: string): string;
17562
17715
  getSortableByColumn(columnName: string): boolean;
17563
- getSortConfig(columnName: string): QdTableConfigColumnSort;
17716
+ getSortConfig(columnName: string): QdTableConfigColumnSort | undefined;
17564
17717
  getTooltip(columnName: string): QdTooltip | undefined;
17565
17718
  static ɵfac: i0.ɵɵFactoryDeclaration<QdTableHeadComponent<any>, never>;
17566
17719
  static ɵcmp: i0.ɵɵComponentDeclaration<QdTableHeadComponent<any>, "[qd-table-head]", never, { "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
@@ -17650,8 +17803,8 @@ declare class QdTablePaginatorPageSizeComponent<T extends string> implements OnI
17650
17803
  private readonly scrollingService;
17651
17804
  private readonly changeDetectorRef;
17652
17805
  pageSizes: number[];
17653
- selection: any;
17654
- selectionList: any;
17806
+ selection: ElementRef<HTMLElement>;
17807
+ selectionList: ElementRef<HTMLElement>;
17655
17808
  selectionOpened: boolean;
17656
17809
  selectionDirection: 'up' | 'down';
17657
17810
  pageSize$: Observable<number>;
@@ -17755,12 +17908,12 @@ declare class QdTableRowComponent<T extends string> implements OnInit {
17755
17908
  private _rowData;
17756
17909
  private _rowIndex;
17757
17910
  get translations(): string | undefined;
17758
- get columnsDefinitions$(): Observable<T[]>;
17911
+ get columnsDefinitions$(): Observable<Array<T | T[]>>;
17759
17912
  get hostTestId(): string;
17760
17913
  ngOnInit(): void;
17761
- hasMergedColumns(item: T): boolean;
17914
+ hasMergedColumns(item: T | T[]): item is T[];
17762
17915
  getCellData(item: T): QdTableDataValue | QdTableDataValue[];
17763
- getCellClass(item: T): string;
17916
+ getCellClass(item: T | T[]): string;
17764
17917
  getI18n(item: T): string;
17765
17918
  capitalize(item: T): string;
17766
17919
  getComponentType(item: T | string): Type<QdDataFacetsComponent> | null;
@@ -17777,8 +17930,8 @@ declare class QdTableRowSelectionComponent<T extends string> {
17777
17930
  rowData: QdTableDataRow<T>;
17778
17931
  testId: string;
17779
17932
  get dataTestId(): string;
17780
- get selectionType(): string;
17781
- get tableId(): string;
17933
+ get selectionType(): string | undefined;
17934
+ get tableId(): string | undefined;
17782
17935
  isRowSelected$(): Observable<boolean>;
17783
17936
  stopPropagation(event: Event): void;
17784
17937
  handleChange(event: Event): void;
@@ -17790,7 +17943,7 @@ declare class QdTableSortComponent<T extends string> implements OnInit {
17790
17943
  private readonly tableStoreService;
17791
17944
  private readonly _destroyRef;
17792
17945
  isSortable: boolean;
17793
- config: QdTableConfigColumnSort;
17946
+ config?: QdTableConfigColumnSort;
17794
17947
  column: string;
17795
17948
  testId?: string;
17796
17949
  isHovered: boolean;
@@ -17885,14 +18038,14 @@ declare class QdTreeHeadComponent<T extends string> implements OnInit {
17885
18038
  config: QdTreeConfig<T>;
17886
18039
  testId: string;
17887
18040
  get dataTestId(): string;
17888
- get translations(): string;
17889
- get headData(): string[];
18041
+ get translations(): string | undefined;
18042
+ get headData(): T[];
17890
18043
  ngOnInit(): void;
17891
- isMainColumn(column: any): boolean;
17892
- isLastColumn(column: any): boolean;
17893
- isHeadRendered$(i: any): Observable<boolean>;
17894
- getI18n(head: any): string;
17895
- capitalize(head: any): string;
18044
+ isMainColumn(column: T | T[]): boolean;
18045
+ isLastColumn(column: T | T[]): boolean;
18046
+ isHeadRendered$(i: number): Observable<boolean>;
18047
+ getI18n(head: string): string;
18048
+ capitalize(head: string): string;
17896
18049
  static ɵfac: i0.ɵɵFactoryDeclaration<QdTreeHeadComponent<any>, never>;
17897
18050
  static ɵcmp: i0.ɵɵComponentDeclaration<QdTreeHeadComponent<any>, "[qd-tree-head]", never, { "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, {}, never, never, false, never>;
17898
18051
  }
@@ -17990,7 +18143,7 @@ declare class QdTreeRowComponent<T extends string> {
17990
18143
  declare class QdTreeEmptyStateComponent {
17991
18144
  private readonly emptyStateService;
17992
18145
  config: QdTreeEmptyStateView;
17993
- getI18n(): string;
18146
+ getI18n(): string | undefined;
17994
18147
  handleClick(): void;
17995
18148
  static ɵfac: i0.ɵɵFactoryDeclaration<QdTreeEmptyStateComponent, never>;
17996
18149
  static ɵcmp: i0.ɵɵComponentDeclaration<QdTreeEmptyStateComponent, "qd-tree-empty-state", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
@@ -18031,74 +18184,6 @@ declare class QdTableModule {
18031
18184
  static ɵinj: i0.ɵɵInjectorDeclaration<QdTableModule>;
18032
18185
  }
18033
18186
 
18034
- /**
18035
- * **QdTimerProgressBar** displays a countdown to a point in time, e.g. the end of a reaction time.
18036
- *
18037
- * The countdown runs until `timeSpan.endsAt`. The remaining time is `endsAt` minus the current time of the client, so
18038
- * reloading the page does not restart the countdown. A time span that has already ended shows an empty bar and emits
18039
- * `countdownExpired` right away. Before `timeSpan.startsAt` the bar stays full.
18040
- * The remaining time is derived from the clock on every tick, so it is correct again on the next tick after the
18041
- * browser has throttled the page. In a background tab the browser can delay the ticks by up to a minute, so the display
18042
- * and `countdownExpired` can be late there. The bar empties continuously and shows the remaining time inside the bar.
18043
- *
18044
- * The remaining time is formatted with `Intl.DurationFormat` in the language of the application, which the service
18045
- * navigation sets. `format` chooses between a digital clock (`04:05`) and abbreviated units (`4 min, 5 s`).
18046
- *
18047
- * The ticks run outside the Angular zone and only update the timer progress bar itself, so a running countdown does
18048
- * not trigger change detection for the whole application every second. `countdownExpired` is emitted inside the
18049
- * Angular zone and always asynchronously, so a host can update its template in response.
18050
- *
18051
- * This component is internal to the framework and not part of the public API.
18052
- */
18053
- declare class QdTimerProgressBarComponent implements OnInit, OnChanges {
18054
- /**
18055
- * The configuration of the timer progress bar, e.g. the `timeSpan` of the countdown.
18056
- */
18057
- config: QdTimerProgressBarConfig;
18058
- /**
18059
- * A static test ID for integration tests can be set. <br />
18060
- * The value for the HTML attribute [data-test-id].
18061
- */
18062
- testId: string;
18063
- /**
18064
- * Emits once when the countdown reaches 0.
18065
- * Also emits once, right after the config is set, when the time span has already ended, is empty or is invalid.
18066
- */
18067
- countdownExpired: EventEmitter<void>;
18068
- get dataTestId(): string;
18069
- get hostClasses(): string;
18070
- state: QdTimerProgressBarState;
18071
- remainingSeconds: number;
18072
- percentage: number;
18073
- formattedTime: string;
18074
- private readonly _changeDetectorRef;
18075
- private readonly _destroyRef;
18076
- private readonly _ngZone;
18077
- private readonly _localeService;
18078
- private _locale;
18079
- private _format;
18080
- private _duration;
18081
- private _remaining;
18082
- private _countdown?;
18083
- ngOnInit(): void;
18084
- ngOnChanges(changes: SimpleChanges): void;
18085
- private startCountdown;
18086
- private tick;
18087
- private updateData;
18088
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTimerProgressBarComponent, never>;
18089
- static ɵcmp: i0.ɵɵComponentDeclaration<QdTimerProgressBarComponent, "qd-timer-progress-bar", never, { "config": { "alias": "config"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; }, { "countdownExpired": "countdownExpired"; }, never, never, false, never>;
18090
- }
18091
-
18092
- /**
18093
- * Internal module of the timer progress bar. It is deliberately not part of the public API.
18094
- * Consumers use the timer through a configuration, e.g. the page object header facet of type `timer`.
18095
- */
18096
- declare class QdTimerProgressBarModule {
18097
- static ɵfac: i0.ɵɵFactoryDeclaration<QdTimerProgressBarModule, never>;
18098
- static ɵmod: i0.ɵɵNgModuleDeclaration<QdTimerProgressBarModule, [typeof QdTimerProgressBarComponent], never, [typeof QdTimerProgressBarComponent]>;
18099
- static ɵinj: i0.ɵɵInjectorDeclaration<QdTimerProgressBarModule>;
18100
- }
18101
-
18102
18187
  /**
18103
18188
  * Shows only as many children of a row as fit into the available width.
18104
18189
  *
@@ -19236,8 +19321,8 @@ declare class QdCounterBadgeComponent {
19236
19321
  }
19237
19322
 
19238
19323
  declare class QdShellFooterComponent {
19239
- copyrightInfo: QdShellFooterCopyrightInfo;
19240
- isSticky: boolean;
19324
+ copyrightInfo?: QdShellFooterCopyrightInfo;
19325
+ isSticky?: boolean;
19241
19326
  currentYear: number;
19242
19327
  get shouldShowYear(): boolean;
19243
19328
  static ɵfac: i0.ɵɵFactoryDeclaration<QdShellFooterComponent, never>;
@@ -19446,7 +19531,7 @@ declare class QdShellServiceNavigationComponent implements OnInit, AfterViewInit
19446
19531
  set config(config: QdShellServiceNavigationConfig);
19447
19532
  get config(): QdShellServiceNavigationConfig;
19448
19533
  serviceNavigation: ElementRef;
19449
- pamsEnvironment: any;
19534
+ pamsEnvironment?: string;
19450
19535
  get languageList(): string[];
19451
19536
  get languageListStringified(): string;
19452
19537
  get pamsAppId(): string;