{"version":3,"file":"stepper.js","sources":["../../packages/material/stepper/step-label.js","../../packages/material/stepper/stepper-intl.js","../../packages/material/stepper/step-header.js","../../packages/material/stepper/stepper.js","../../packages/material/stepper/stepper-button.js","../../packages/material/stepper/stepper-module.js","../../packages/material/stepper/index.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. 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 { Directive, TemplateRef } from '@angular/core';\nimport { CdkStepLabel } from '@angular/cdk/stepper';\n/**\n * Workaround for https://github.com/angular/angular/issues/17849\n */\nexport const _MatStepLabel = CdkStepLabel;\nexport class MatStepLabel extends _MatStepLabel {\n /**\n * @param {?} template\n */\n constructor(template) {\n super(template);\n }\n}\nMatStepLabel.decorators = [\n { type: Directive, args: [{\n selector: '[matStepLabel]',\n },] },\n];\n/**\n * @nocollapse\n */\nMatStepLabel.ctorParameters = () => [\n { type: TemplateRef, },\n];\nfunction MatStepLabel_tsickle_Closure_declarations() {\n /** @type {?} */\n MatStepLabel.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n MatStepLabel.ctorParameters;\n}\n//# sourceMappingURL=step-label.js.map","/**\n * @license\n * Copyright Google Inc. 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 { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs/Subject';\n/**\n * Stepper data that is required for internationalization.\n */\nexport class MatStepperIntl {\n constructor() {\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n */\n this.changes = new Subject();\n /**\n * Label that is rendered below optional steps.\n */\n this.optionalLabel = 'Optional';\n }\n}\nMatStepperIntl.decorators = [\n { type: Injectable },\n];\n/**\n * @nocollapse\n */\nMatStepperIntl.ctorParameters = () => [];\nfunction MatStepperIntl_tsickle_Closure_declarations() {\n /** @type {?} */\n MatStepperIntl.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n MatStepperIntl.ctorParameters;\n /**\n * Stream that emits whenever the labels here are changed. Use this to notify\n * components if the labels have changed after initialization.\n * @type {?}\n */\n MatStepperIntl.prototype.changes;\n /**\n * Label that is rendered below optional steps.\n * @type {?}\n */\n MatStepperIntl.prototype.optionalLabel;\n}\n//# sourceMappingURL=stepper-intl.js.map","/**\n * @license\n * Copyright Google Inc. 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 { FocusMonitor } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { Component, Input, ViewEncapsulation, ChangeDetectorRef, ElementRef, Renderer2, ChangeDetectionStrategy, } from '@angular/core';\nimport { MatStepLabel } from './step-label';\nimport { MatStepperIntl } from './stepper-intl';\nexport class MatStepHeader {\n /**\n * @param {?} _intl\n * @param {?} _focusMonitor\n * @param {?} _element\n * @param {?} renderer\n * @param {?} changeDetectorRef\n */\n constructor(_intl, _focusMonitor, _element, renderer, changeDetectorRef) {\n this._intl = _intl;\n this._focusMonitor = _focusMonitor;\n this._element = _element;\n _focusMonitor.monitor(_element.nativeElement, renderer, true);\n this._intlSubscription = _intl.changes.subscribe(() => changeDetectorRef.markForCheck());\n }\n /**\n * Index of the given step.\n * @return {?}\n */\n get index() { return this._index; }\n /**\n * @param {?} value\n * @return {?}\n */\n set index(value) {\n this._index = coerceNumberProperty(value);\n }\n /**\n * Whether the given step is selected.\n * @return {?}\n */\n get selected() { return this._selected; }\n /**\n * @param {?} value\n * @return {?}\n */\n set selected(value) {\n this._selected = coerceBooleanProperty(value);\n }\n /**\n * Whether the given step label is active.\n * @return {?}\n */\n get active() { return this._active; }\n /**\n * @param {?} value\n * @return {?}\n */\n set active(value) {\n this._active = coerceBooleanProperty(value);\n }\n /**\n * Whether the given step is optional.\n * @return {?}\n */\n get optional() { return this._optional; }\n /**\n * @param {?} value\n * @return {?}\n */\n set optional(value) {\n this._optional = coerceBooleanProperty(value);\n }\n /**\n * @return {?}\n */\n ngOnDestroy() {\n this._intlSubscription.unsubscribe();\n this._focusMonitor.stopMonitoring(this._element.nativeElement);\n }\n /**\n * Returns string label of given step if it is a text label.\n * @return {?}\n */\n _stringLabel() {\n return this.label instanceof MatStepLabel ? null : this.label;\n }\n /**\n * Returns MatStepLabel if the label of given step is a template label.\n * @return {?}\n */\n _templateLabel() {\n return this.label instanceof MatStepLabel ? this.label : null;\n }\n /**\n * Returns the host HTML element.\n * @return {?}\n */\n _getHostElement() {\n return this._element.nativeElement;\n }\n}\nMatStepHeader.decorators = [\n { type: Component, args: [{selector: 'mat-step-header',\n template: \"