1 | {"version":3,"file":"stepper.d.ts","sources":["stepper.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Directionality } from '@angular/cdk/bidi';\nimport { CdkStep, CdkStepper, StepperOptions } from '@angular/cdk/stepper';\nimport { AnimationEvent } from '@angular/animations';\nimport { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';\nimport { FormControl, FormGroupDirective, NgForm } from '@angular/forms';\nimport { ErrorStateMatcher, ThemePalette } from '@angular/material/core';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { Subject } from 'rxjs';\nimport { MatStepHeader } from './step-header';\nimport { MatStepLabel } from './step-label';\nimport { MatStepperIcon, MatStepperIconContext } from './stepper-icon';\nimport { MatStepContent } from './step-content';\nexport declare class MatStep extends CdkStep implements ErrorStateMatcher, AfterContentInit, OnDestroy {\n private _errorStateMatcher;\n private _viewContainerRef;\n private _isSelected;\n /** Content for step label given by `<ng-template matStepLabel>`. */\n stepLabel: MatStepLabel;\n /** Theme color for the particular step. */\n color: ThemePalette;\n /** Content that will be rendered lazily. */\n _lazyContent: MatStepContent;\n /** Currently-attached portal containing the lazy content. */\n _portal: TemplatePortal;\n constructor(stepper: MatStepper, _errorStateMatcher: ErrorStateMatcher, _viewContainerRef: ViewContainerRef, stepperOptions?: StepperOptions);\n ngAfterContentInit(): void;\n ngOnDestroy(): void;\n /** Custom error state matcher that additionally checks for validity of interacted form. */\n isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;\n}\n/**\n * Proxies the public APIs from `MatStepper` to the deprecated `MatHorizontalStepper` and\n * `MatVerticalStepper`.\n * @deprecated Use `MatStepper` instead.\n * @breaking-change 13.0.0\n * @docs-private\n */\ndeclare abstract class _MatProxyStepperBase extends CdkStepper {\n readonly steps: QueryList<MatStep>;\n readonly animationDone: EventEmitter<void>;\n disableRipple: boolean;\n color: ThemePalette;\n labelPosition: 'bottom' | 'end';\n}\n/**\n * @deprecated Use `MatStepper` instead.\n * @breaking-change 13.0.0\n */\nexport declare class MatHorizontalStepper extends _MatProxyStepperBase {\n}\n/**\n * @deprecated Use `MatStepper` instead.\n * @breaking-change 13.0.0\n */\nexport declare class MatVerticalStepper extends _MatProxyStepperBase {\n}\nexport declare class MatStepper extends CdkStepper implements AfterContentInit {\n /** The list of step headers of the steps in the stepper. */\n _stepHeader: QueryList<MatStepHeader>;\n /** Full list of steps inside the stepper, including inside nested steppers. */\n _steps: QueryList<MatStep>;\n /** Steps that belong to the current stepper, excluding ones from nested steppers. */\n readonly steps: QueryList<MatStep>;\n /** Custom icon overrides passed in by the consumer. */\n _icons: QueryList<MatStepperIcon>;\n /** Event emitted when the current step is done transitioning in. */\n readonly animationDone: EventEmitter<void>;\n /** Whether ripples should be disabled for the step headers. */\n disableRipple: boolean;\n /** Theme color for all of the steps in stepper. */\n color: ThemePalette;\n /**\n * Whether the label should display in bottom or end position.\n * Only applies in the `horizontal` orientation.\n */\n labelPosition: 'bottom' | 'end';\n /** Consumer-specified template-refs to be used to override the header icons. */\n _iconOverrides: Record<string, TemplateRef<MatStepperIconContext>>;\n /** Stream of animation `done` events when the body expands/collapses. */\n readonly _animationDone: Subject<AnimationEvent>;\n constructor(dir: Directionality, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _document: any);\n ngAfterContentInit(): void;\n _stepIsNavigable(index: number, step: MatStep): boolean;\n}\nexport {};\n"]} |
---|