@clr/angular 17.1.0 → 17.2.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.
Files changed (91) hide show
  1. package/clarity.api.md +401 -145
  2. package/clr-angular.module.d.ts +7 -6
  3. package/data/datagrid/datagrid-detail-header.d.ts +4 -1
  4. package/data/datagrid/datagrid-detail.d.ts +5 -1
  5. package/data/datagrid/datagrid-filter.d.ts +4 -2
  6. package/data/datagrid/datagrid-if-detail.d.ts +9 -0
  7. package/data/datagrid/datagrid-virtual-scroll.directive.d.ts +62 -0
  8. package/data/datagrid/datagrid.d.ts +8 -4
  9. package/data/datagrid/datagrid.module.d.ts +31 -30
  10. package/data/datagrid/enums/column-changes.enum.d.ts +2 -1
  11. package/data/datagrid/index.d.ts +1 -0
  12. package/data/datagrid/interfaces/column-state.interface.d.ts +1 -0
  13. package/data/datagrid/providers/columns.service.d.ts +1 -0
  14. package/data/datagrid/providers/detail.service.d.ts +4 -0
  15. package/data/datagrid/render/cell-renderer.d.ts +3 -6
  16. package/data/datagrid/render/header-renderer.d.ts +2 -3
  17. package/data/datagrid/render/main-renderer.d.ts +5 -1
  18. package/data/datagrid/render/row-renderer.d.ts +4 -3
  19. package/data/datagrid/utils/key-navigation-grid.controller.d.ts +5 -1
  20. package/esm2020/accordion/accordion-panel.mjs +3 -3
  21. package/esm2020/accordion/stepper/stepper-panel.mjs +8 -4
  22. package/esm2020/clr-angular.module.mjs +5 -1
  23. package/esm2020/data/datagrid/datagrid-action-overflow.mjs +3 -1
  24. package/esm2020/data/datagrid/datagrid-detail-header.mjs +12 -6
  25. package/esm2020/data/datagrid/datagrid-detail.mjs +36 -8
  26. package/esm2020/data/datagrid/datagrid-filter.mjs +22 -13
  27. package/esm2020/data/datagrid/datagrid-if-detail.mjs +30 -7
  28. package/esm2020/data/datagrid/datagrid-row.mjs +3 -3
  29. package/esm2020/data/datagrid/datagrid-selection-cell.directive.mjs +2 -2
  30. package/esm2020/data/datagrid/datagrid-virtual-scroll.directive.mjs +233 -0
  31. package/esm2020/data/datagrid/datagrid.mjs +43 -10
  32. package/esm2020/data/datagrid/datagrid.module.mjs +5 -1
  33. package/esm2020/data/datagrid/enums/column-changes.enum.mjs +3 -2
  34. package/esm2020/data/datagrid/index.mjs +2 -1
  35. package/esm2020/data/datagrid/interfaces/column-state.interface.mjs +1 -1
  36. package/esm2020/data/datagrid/providers/columns.service.mjs +9 -3
  37. package/esm2020/data/datagrid/providers/detail.service.mjs +12 -2
  38. package/esm2020/data/datagrid/render/cell-renderer.mjs +8 -33
  39. package/esm2020/data/datagrid/render/header-renderer.mjs +25 -43
  40. package/esm2020/data/datagrid/render/main-renderer.mjs +59 -9
  41. package/esm2020/data/datagrid/render/render-organizer.mjs +2 -2
  42. package/esm2020/data/datagrid/render/row-renderer.mjs +5 -5
  43. package/esm2020/data/datagrid/utils/key-navigation-grid.controller.mjs +21 -5
  44. package/esm2020/forms/combobox/combobox.mjs +3 -3
  45. package/esm2020/forms/common/abstract-container.mjs +5 -2
  46. package/esm2020/forms/datalist/datalist-container.mjs +1 -4
  47. package/esm2020/forms/datepicker/datepicker-view-manager.mjs +3 -3
  48. package/esm2020/forms/file-input/file-input-container.mjs +157 -0
  49. package/esm2020/forms/file-input/file-input-validator.mjs +72 -0
  50. package/esm2020/forms/file-input/file-input-value-accessor.mjs +53 -0
  51. package/esm2020/forms/file-input/file-input.helpers.mjs +22 -0
  52. package/esm2020/forms/file-input/file-input.mjs +68 -0
  53. package/esm2020/forms/file-input/file-input.module.mjs +43 -0
  54. package/esm2020/forms/file-input/index.mjs +12 -0
  55. package/esm2020/forms/forms.module.mjs +5 -1
  56. package/esm2020/forms/index.mjs +2 -1
  57. package/esm2020/modal/index.mjs +3 -1
  58. package/esm2020/modal/modal-configuration.service.mjs +20 -0
  59. package/esm2020/modal/modal.mjs +47 -18
  60. package/esm2020/modal/modal.module.mjs +4 -2
  61. package/esm2020/modal/side-panel.mjs +90 -0
  62. package/esm2020/modal/side-panel.module.mjs +28 -0
  63. package/esm2020/timeline/timeline-step.mjs +3 -3
  64. package/esm2020/timeline/timeline.mjs +3 -3
  65. package/esm2020/utils/animations/expandable-animation/expandable-animation.mjs +17 -12
  66. package/esm2020/utils/dom-adapter/dom-adapter.mjs +13 -4
  67. package/esm2020/utils/i18n/common-strings.default.mjs +7 -2
  68. package/esm2020/utils/i18n/common-strings.interface.mjs +1 -1
  69. package/esm2020/wizard/wizard.mjs +29 -6
  70. package/fesm2015/clr-angular.mjs +1435 -468
  71. package/fesm2015/clr-angular.mjs.map +1 -1
  72. package/fesm2020/clr-angular.mjs +1418 -463
  73. package/fesm2020/clr-angular.mjs.map +1 -1
  74. package/forms/file-input/file-input-container.d.ts +16 -0
  75. package/forms/file-input/file-input-validator.d.ts +12 -0
  76. package/forms/file-input/file-input-value-accessor.d.ts +15 -0
  77. package/forms/file-input/file-input.d.ts +21 -0
  78. package/forms/file-input/file-input.helpers.d.ts +3 -0
  79. package/forms/file-input/file-input.module.d.ts +14 -0
  80. package/forms/file-input/index.d.ts +5 -0
  81. package/forms/forms.module.d.ts +9 -8
  82. package/forms/index.d.ts +1 -0
  83. package/modal/index.d.ts +2 -0
  84. package/modal/modal-configuration.service.d.ts +7 -0
  85. package/modal/modal.d.ts +8 -2
  86. package/modal/side-panel.d.ts +26 -0
  87. package/modal/side-panel.module.d.ts +13 -0
  88. package/package.json +2 -2
  89. package/utils/animations/expandable-animation/expandable-animation.d.ts +5 -4
  90. package/utils/i18n/common-strings.interface.d.ts +4 -0
  91. package/wizard/wizard.d.ts +12 -2
@@ -0,0 +1,16 @@
1
+ import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
2
+ import { ClrAbstractContainer } from '../common/abstract-container';
3
+ import { ClrFileInput } from './file-input';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ClrFileInputContainer extends ClrAbstractContainer {
6
+ customButtonLabel: string;
7
+ protected readonly commonStrings: ClrCommonStringsService;
8
+ protected readonly fileInput: ClrFileInput;
9
+ private browseButtonElementRef;
10
+ protected get disabled(): boolean;
11
+ protected get browseButtonDescribedBy(): string;
12
+ protected browse(): void;
13
+ protected clearSelectedFiles(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileInputContainer, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrFileInputContainer, "clr-file-input-container", never, { "customButtonLabel": "clrButtonLabel"; }, {}, ["fileInput"], ["label", "[clrFileInput]", "clr-control-helper", "clr-control-error", "clr-control-success"], false, never>;
16
+ }
@@ -0,0 +1,12 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ClrFileInputValidator implements Validator {
5
+ private readonly elementRef;
6
+ minFileSize: number;
7
+ maxFileSize: number;
8
+ constructor(elementRef: ElementRef<HTMLInputElement>);
9
+ validate(control: AbstractControl<FileList>): ValidationErrors;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileInputValidator, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrFileInputValidator, "input[type=\"file\"][clrFileInput]", never, { "minFileSize": "clrMinFileSize"; "maxFileSize": "clrMaxFileSize"; }, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,15 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ClrFileInputValueAccessor implements ControlValueAccessor {
5
+ private readonly elementRef;
6
+ constructor(elementRef: ElementRef<HTMLInputElement>);
7
+ writeValue(value: FileList): void;
8
+ registerOnChange(fn: (value: FileList) => void): void;
9
+ registerOnTouched(fn: () => void): void;
10
+ private handleChange;
11
+ private onChange;
12
+ private onTouched;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileInputValueAccessor, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrFileInputValueAccessor, "input[type=\"file\"][clrFileInput]", never, {}, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1,21 @@
1
+ import { ElementRef, Injector, Renderer2, ViewContainerRef } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import { ClrCommonStringsService } from '../../utils';
4
+ import { WrappedFormControl } from '../common/wrapped-control';
5
+ import { ClrFileInputContainer } from './file-input-container';
6
+ import * as i0 from "@angular/core";
7
+ export interface ClrFileInputSelection {
8
+ fileCount: number;
9
+ buttonLabel: string;
10
+ clearFilesButtonLabel: string;
11
+ }
12
+ export declare class ClrFileInput extends WrappedFormControl<ClrFileInputContainer> {
13
+ readonly elementRef: ElementRef<HTMLInputElement>;
14
+ private readonly commonStrings;
15
+ selection: ClrFileInputSelection;
16
+ constructor(injector: Injector, renderer: Renderer2, viewContainerRef: ViewContainerRef, elementRef: ElementRef<HTMLInputElement>, control: NgControl, commonStrings: ClrCommonStringsService);
17
+ private handleChange;
18
+ private updateSelection;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileInput, [null, null, null, null, { optional: true; self: true; }, null]>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrFileInput, "input[type=\"file\"][clrFileInput]", never, {}, {}, never, never, false, never>;
21
+ }
@@ -0,0 +1,3 @@
1
+ export declare function buildFileList(files: File[]): FileList;
2
+ export declare function selectFiles(fileInputElement: HTMLInputElement, files: File[] | FileList): void;
3
+ export declare function clearFiles(fileInputElement: HTMLInputElement): void;
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./file-input";
3
+ import * as i2 from "./file-input-container";
4
+ import * as i3 from "./file-input-validator";
5
+ import * as i4 from "./file-input-value-accessor";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "../../icon/icon.module";
8
+ import * as i7 from "../common/common.module";
9
+ export declare class ClrFileInputModule {
10
+ constructor();
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFileInputModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrFileInputModule, [typeof i1.ClrFileInput, typeof i2.ClrFileInputContainer, typeof i3.ClrFileInputValidator, typeof i4.ClrFileInputValueAccessor], [typeof i5.CommonModule, typeof i6.ClrIconModule, typeof i7.ClrCommonFormsModule], [typeof i7.ClrCommonFormsModule, typeof i1.ClrFileInput, typeof i2.ClrFileInputContainer, typeof i3.ClrFileInputValidator, typeof i4.ClrFileInputValueAccessor]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrFileInputModule>;
14
+ }
@@ -0,0 +1,5 @@
1
+ export * from './file-input';
2
+ export * from './file-input-validator';
3
+ export * from './file-input-value-accessor';
4
+ export * from './file-input-container';
5
+ export * from './file-input.module';
@@ -4,15 +4,16 @@ import * as i2 from "./common/common.module";
4
4
  import * as i3 from "./checkbox/checkbox.module";
5
5
  import * as i4 from "./combobox/combobox.module";
6
6
  import * as i5 from "./datepicker/datepicker.module";
7
- import * as i6 from "./input/input.module";
8
- import * as i7 from "./password/password.module";
9
- import * as i8 from "./radio/radio.module";
10
- import * as i9 from "./select/select.module";
11
- import * as i10 from "./textarea/textarea.module";
12
- import * as i11 from "./range/range.module";
13
- import * as i12 from "./datalist/datalist.module";
7
+ import * as i6 from "./file-input/file-input.module";
8
+ import * as i7 from "./input/input.module";
9
+ import * as i8 from "./password/password.module";
10
+ import * as i9 from "./radio/radio.module";
11
+ import * as i10 from "./select/select.module";
12
+ import * as i11 from "./textarea/textarea.module";
13
+ import * as i12 from "./range/range.module";
14
+ import * as i13 from "./datalist/datalist.module";
14
15
  export declare class ClrFormsModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrFormsModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClrFormsModule, never, [typeof i1.CommonModule], [typeof i2.ClrCommonFormsModule, typeof i3.ClrCheckboxModule, typeof i4.ClrComboboxModule, typeof i5.ClrDatepickerModule, typeof i6.ClrInputModule, typeof i7.ClrPasswordModule, typeof i8.ClrRadioModule, typeof i9.ClrSelectModule, typeof i10.ClrTextareaModule, typeof i11.ClrRangeModule, typeof i12.ClrDatalistModule]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrFormsModule, never, [typeof i1.CommonModule], [typeof i2.ClrCommonFormsModule, typeof i3.ClrCheckboxModule, typeof i4.ClrComboboxModule, typeof i5.ClrDatepickerModule, typeof i6.ClrFileInputModule, typeof i7.ClrInputModule, typeof i8.ClrPasswordModule, typeof i9.ClrRadioModule, typeof i10.ClrSelectModule, typeof i11.ClrTextareaModule, typeof i12.ClrRangeModule, typeof i13.ClrDatalistModule]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<ClrFormsModule>;
18
19
  }
package/forms/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './checkbox/index';
3
3
  export * from './combobox/index';
4
4
  export * from './datalist/index';
5
5
  export * from './datepicker/index';
6
+ export * from './file-input/index';
6
7
  export * from './input/index';
7
8
  export * from './password/index';
8
9
  export * from './radio/index';
package/modal/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  export * from './modal';
2
2
  export * from './modal.module';
3
+ export * from './side-panel.module';
3
4
  export * from './modal-body';
5
+ export * from './side-panel';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ClrModalConfigurationService {
3
+ fadeMove: string;
4
+ backdrop: boolean;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrModalConfigurationService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<ClrModalConfigurationService>;
7
+ }
package/modal/modal.d.ts CHANGED
@@ -2,12 +2,14 @@ import { AnimationEvent } from '@angular/animations';
2
2
  import { EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
3
3
  import { ClrCommonStringsService } from '../utils/i18n/common-strings.service';
4
4
  import { ScrollingService } from '../utils/scrolling/scrolling-service';
5
+ import { ClrModalConfigurationService } from './modal-configuration.service';
5
6
  import { ModalStackService } from './modal-stack.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ClrModal implements OnChanges, OnDestroy {
8
9
  private _scrollingService;
9
10
  commonStrings: ClrCommonStringsService;
10
11
  private modalStackService;
12
+ private configuration;
11
13
  modalId: string;
12
14
  _open: boolean;
13
15
  _openChanged: EventEmitter<boolean>;
@@ -19,7 +21,11 @@ export declare class ClrModal implements OnChanges, OnDestroy {
19
21
  stopClose: boolean;
20
22
  altClose: EventEmitter<boolean>;
21
23
  labelledBy: string;
22
- constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService, modalStackService: ModalStackService);
24
+ bypassScrollService: boolean;
25
+ constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService, modalStackService: ModalStackService, configuration: ClrModalConfigurationService);
26
+ get fadeMove(): string;
27
+ set fadeMove(move: string);
28
+ get backdrop(): boolean;
23
29
  ngOnChanges(changes: {
24
30
  [propName: string]: SimpleChange;
25
31
  }): void;
@@ -28,5 +34,5 @@ export declare class ClrModal implements OnChanges, OnDestroy {
28
34
  close(): void;
29
35
  fadeDone(e: AnimationEvent): void;
30
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrModal, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; "bypassScrollService": "clrModalOverrideScrollService"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
32
38
  }
@@ -0,0 +1,26 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { ClrModalConfigurationService } from './modal-configuration.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ClrSidePanel implements OnInit {
5
+ private element;
6
+ private configuration;
7
+ _open: boolean;
8
+ openChange: EventEmitter<boolean>;
9
+ closeButtonAriaLabel: string | undefined;
10
+ size: string;
11
+ skipAnimation: string;
12
+ labelledById: string;
13
+ staticBackdrop: boolean;
14
+ preventClose: boolean;
15
+ altClose: EventEmitter<boolean>;
16
+ private modal;
17
+ constructor(element: ElementRef, configuration: ClrModalConfigurationService);
18
+ get clrSidePanelBackdrop(): boolean;
19
+ set clrSidePanelBackdrop(backdrop: boolean);
20
+ ngOnInit(): void;
21
+ open(): void;
22
+ close(): void;
23
+ private documentClick;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrSidePanel, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrSidePanel, "clr-side-panel", never, { "_open": "clrSidePanelOpen"; "closeButtonAriaLabel": "clrSidePanelCloseButtonAriaLabel"; "size": "clrSidePanelSize"; "skipAnimation": "clrSidePanelSkipAnimation"; "labelledById": "clrSidePanelLabelledById"; "staticBackdrop": "clrSidePanelStaticBackdrop"; "preventClose": "clrSidePanelPreventClose"; "clrSidePanelBackdrop": "clrSidePanelBackdrop"; }, { "openChange": "clrSidePanelOpenChange"; "altClose": "clrSidePanelAlternateClose"; }, never, [".side-panel-title", ".side-panel-body", ".side-panel-footer"], false, never>;
26
+ }
@@ -0,0 +1,13 @@
1
+ import { Type } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./side-panel";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "../utils/cdk/cdk-trap-focus.module";
6
+ import * as i4 from "../icon/icon.module";
7
+ import * as i5 from "./modal.module";
8
+ export declare const CLR_SIDEPANEL_DIRECTIVES: Type<any>[];
9
+ export declare class ClrSidePanelModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrSidePanelModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrSidePanelModule, [typeof i1.ClrSidePanel], [typeof i2.CommonModule, typeof i3.CdkTrapFocusModule, typeof i4.ClrIconModule, typeof i5.ClrModalModule], [typeof i1.ClrSidePanel, typeof i4.ClrIconModule]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrSidePanelModule>;
13
+ }
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "@angular/common": "15 || 16 || 17",
23
23
  "@angular/core": "15 || 16 || 17",
24
24
  "@cds/core": ">= 6.9.2",
25
- "@clr/ui": "17.1.0"
25
+ "@clr/ui": "17.2.1"
26
26
  },
27
27
  "module": "fesm2015/clr-angular.mjs",
28
28
  "es2020": "fesm2020/clr-angular.mjs",
@@ -47,5 +47,5 @@
47
47
  "dependencies": {
48
48
  "tslib": "^2.3.0"
49
49
  },
50
- "version": "17.1.0"
50
+ "version": "17.2.1"
51
51
  }
@@ -1,3 +1,4 @@
1
+ import { AnimationEvent } from '@angular/animations';
1
2
  import { ElementRef, Renderer2 } from '@angular/core';
2
3
  import { DomAdapter } from '../../dom-adapter/dom-adapter';
3
4
  import * as i0 from "@angular/core";
@@ -5,17 +6,17 @@ export declare class ClrExpandableAnimation {
5
6
  private element;
6
7
  private domAdapter;
7
8
  private renderer;
8
- clrExpandTrigger: any;
9
+ clrExpandTrigger: boolean;
9
10
  startHeight: number;
10
11
  constructor(element: ElementRef, domAdapter: DomAdapter, renderer: Renderer2);
11
12
  get expandAnimation(): {
12
- value: any;
13
+ value: boolean;
13
14
  params: {
14
15
  startHeight: number;
15
16
  };
16
17
  };
17
- animationStart(): void;
18
- animationDone(): void;
18
+ animationStart(event: AnimationEvent): void;
19
+ animationDone(event: AnimationEvent): void;
19
20
  updateStartHeight(): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrExpandableAnimation, never>;
21
22
  static ɵcmp: i0.ɵɵComponentDeclaration<ClrExpandableAnimation, "clr-expandable-animation", never, { "clrExpandTrigger": "clrExpandTrigger"; }, {}, never, ["*"], false, never>;
@@ -266,4 +266,8 @@ export interface ClrCommonStrings {
266
266
  selectedRows: string;
267
267
  stepComplete: string;
268
268
  stepError: string;
269
+ browse: string;
270
+ fileCount: string;
271
+ clearFile: string;
272
+ clearFiles: string;
269
273
  }
@@ -15,6 +15,7 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
15
15
  pageCollection: PageCollectionService;
16
16
  buttonService: ButtonHubService;
17
17
  headerActionService: HeaderActionService;
18
+ private elementRef;
18
19
  /**
19
20
  * Set the aria-label for the stepnav section of the wizard. Set using `[clrWizardStepnavAriaLabel]` input.
20
21
  */
@@ -28,6 +29,12 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
28
29
  * in the top right corner. Set using `[clrWizardClosable]` input.
29
30
  */
30
31
  closable: boolean;
32
+ /**
33
+ * Used to communicate to the underlying modal that animations are not
34
+ * wanted. Primary use is for the display of static/inline wizards.
35
+ * Set using `[clrWizardPreventModalAnimation]` input.
36
+ */
37
+ _stopModalAnimations: boolean;
31
38
  /**
32
39
  * Emits when the wizard is opened or closed.
33
40
  * Listen via `(clrWizardOpenChange)` event.
@@ -78,7 +85,7 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
78
85
  private _disableStepnav;
79
86
  private differ;
80
87
  private subscriptions;
81
- constructor(platformId: any, commonStrings: ClrCommonStringsService, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, differs: IterableDiffers);
88
+ constructor(platformId: any, commonStrings: ClrCommonStringsService, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, elementRef: ElementRef<HTMLElement>, differs: IterableDiffers);
82
89
  /**
83
90
  * Resets page completed states when navigating backwards.
84
91
  * Set using `[clrWizardForceForwardNavigation]` input.
@@ -131,6 +138,8 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
131
138
  set currentPage(page: ClrWizardPage);
132
139
  get isLast(): boolean;
133
140
  get isFirst(): boolean;
141
+ get isInline(): boolean;
142
+ get stopModalAnimations(): string;
134
143
  ngAfterContentInit(): void;
135
144
  ngDoCheck(): void;
136
145
  ngOnDestroy(): void;
@@ -229,7 +238,8 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
229
238
  private listenForFinishedChanges;
230
239
  private listenForPageChanges;
231
240
  private updateNavOnPageChanges;
241
+ private initializeButtons;
232
242
  private emitWizardFinished;
233
243
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizard, never>;
234
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": "clrWizardStepnavAriaLabel"; "size": "clrWizardSize"; "closable": "clrWizardClosable"; "forceForward": "clrWizardForceForwardNavigation"; "clrWizardOpen": "clrWizardOpen"; "stopNext": "clrWizardPreventDefaultNext"; "stopCancel": "clrWizardPreventDefaultCancel"; "stopNavigation": "clrWizardPreventNavigation"; "disableStepnav": "clrWizardDisableStepnav"; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChanged": "clrWizardCurrentPageChanged"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["wizardTitle", "pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
244
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": "clrWizardStepnavAriaLabel"; "size": "clrWizardSize"; "closable": "clrWizardClosable"; "_stopModalAnimations": "clrWizardPreventModalAnimation"; "forceForward": "clrWizardForceForwardNavigation"; "clrWizardOpen": "clrWizardOpen"; "stopNext": "clrWizardPreventDefaultNext"; "stopCancel": "clrWizardPreventDefaultCancel"; "stopNavigation": "clrWizardPreventNavigation"; "disableStepnav": "clrWizardDisableStepnav"; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChanged": "clrWizardCurrentPageChanged"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["wizardTitle", "pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
235
245
  }