|
8 | 8 |
|
9 | 9 | import {FocusableOption, FocusKeyManager} from '@angular/cdk/a11y';
|
10 | 10 | import {Direction, Directionality} from '@angular/cdk/bidi';
|
11 |
| -import {coerceBooleanProperty, coerceNumberProperty} from '@angular/cdk/coercion'; |
| 11 | +import { |
| 12 | + BooleanInput, |
| 13 | + coerceBooleanProperty, |
| 14 | + coerceNumberProperty, |
| 15 | + NumberInput |
| 16 | +} from '@angular/cdk/coercion'; |
12 | 17 | import {END, ENTER, hasModifierKey, HOME, SPACE} from '@angular/cdk/keycodes';
|
13 | 18 | import {DOCUMENT} from '@angular/common';
|
14 | 19 | import {
|
@@ -231,10 +236,10 @@ export class CdkStep implements OnChanges {
|
231 | 236 | this._stepper._stateChanged();
|
232 | 237 | }
|
233 | 238 |
|
234 |
| - static ngAcceptInputType_editable: boolean | string | null | undefined; |
235 |
| - static ngAcceptInputType_hasError: boolean | string | null | undefined; |
236 |
| - static ngAcceptInputType_optional: boolean | string | null | undefined; |
237 |
| - static ngAcceptInputType_completed: boolean | string | null | undefined; |
| 239 | + static ngAcceptInputType_editable: BooleanInput; |
| 240 | + static ngAcceptInputType_hasError: BooleanInput; |
| 241 | + static ngAcceptInputType_optional: BooleanInput; |
| 242 | + static ngAcceptInputType_completed: BooleanInput; |
238 | 243 | }
|
239 | 244 |
|
240 | 245 | @Directive({
|
@@ -518,12 +523,12 @@ export class CdkStepper implements AfterViewInit, OnDestroy {
|
518 | 523 | return stepperElement === focusedElement || stepperElement.contains(focusedElement);
|
519 | 524 | }
|
520 | 525 |
|
521 |
| - static ngAcceptInputType_editable: boolean | string | null | undefined; |
522 |
| - static ngAcceptInputType_optional: boolean | string | null | undefined; |
523 |
| - static ngAcceptInputType_completed: boolean | string | null | undefined; |
524 |
| - static ngAcceptInputType_hasError: boolean | string | null | undefined; |
525 |
| - static ngAcceptInputType_linear: boolean | string | null | undefined; |
526 |
| - static ngAcceptInputType_selectedIndex: number | string | null | undefined; |
| 526 | + static ngAcceptInputType_editable: BooleanInput; |
| 527 | + static ngAcceptInputType_optional: BooleanInput; |
| 528 | + static ngAcceptInputType_completed: BooleanInput; |
| 529 | + static ngAcceptInputType_hasError: BooleanInput; |
| 530 | + static ngAcceptInputType_linear: BooleanInput; |
| 531 | + static ngAcceptInputType_selectedIndex: NumberInput; |
527 | 532 | }
|
528 | 533 |
|
529 | 534 |
|
|
0 commit comments