{"version":3,"file":"stepper.es5.js","sources":["../../packages/material/esm5/stepper/step-label.js","../../packages/material/esm5/stepper/stepper-intl.js","../../packages/material/esm5/stepper/step-header.js","../../packages/material/esm5/stepper/stepper.js","../../packages/material/esm5/stepper/stepper-button.js","../../packages/material/esm5/stepper/stepper-module.js","../../packages/material/esm5/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 * as tslib_1 from \"tslib\";\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 var _MatStepLabel = CdkStepLabel;\nvar MatStepLabel = (function (_super) {\n tslib_1.__extends(MatStepLabel, _super);\n /**\n * @param {?} template\n */\n function MatStepLabel(template) {\n return _super.call(this, template) || this;\n }\n MatStepLabel.decorators = [\n { type: Directive, args: [{\n selector: '[matStepLabel]',\n },] },\n ];\n /**\n * @nocollapse\n */\n MatStepLabel.ctorParameters = function () { return [\n { type: TemplateRef, },\n ]; };\n return MatStepLabel;\n}(_MatStepLabel));\nexport { MatStepLabel };\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 */\nvar MatStepperIntl = (function () {\n function MatStepperIntl() {\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 MatStepperIntl.decorators = [\n { type: Injectable },\n ];\n /**\n * @nocollapse\n */\n MatStepperIntl.ctorParameters = function () { return []; };\n return MatStepperIntl;\n}());\nexport { MatStepperIntl };\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';\nvar MatStepHeader = (function () {\n /**\n * @param {?} _intl\n * @param {?} _focusMonitor\n * @param {?} _element\n * @param {?} renderer\n * @param {?} changeDetectorRef\n */\n function MatStepHeader(_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(function () { return changeDetectorRef.markForCheck(); });\n }\n Object.defineProperty(MatStepHeader.prototype, \"index\", {\n /**\n * Index of the given step.\n * @return {?}\n */\n get: function () { return this._index; },\n /**\n * @param {?} value\n * @return {?}\n */\n set: function (value) {\n this._index = coerceNumberProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MatStepHeader.prototype, \"selected\", {\n /**\n * Whether the given step is selected.\n * @return {?}\n */\n get: function () { return this._selected; },\n /**\n * @param {?} value\n * @return {?}\n */\n set: function (value) {\n this._selected = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MatStepHeader.prototype, \"active\", {\n /**\n * Whether the given step label is active.\n * @return {?}\n */\n get: function () { return this._active; },\n /**\n * @param {?} value\n * @return {?}\n */\n set: function (value) {\n this._active = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MatStepHeader.prototype, \"optional\", {\n /**\n * Whether the given step is optional.\n * @return {?}\n */\n get: function () { return this._optional; },\n /**\n * @param {?} value\n * @return {?}\n */\n set: function (value) {\n this._optional = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @return {?}\n */\n MatStepHeader.prototype.ngOnDestroy = function () {\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 MatStepHeader.prototype._stringLabel = function () {\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 MatStepHeader.prototype._templateLabel = function () {\n return this.label instanceof MatStepLabel ? this.label : null;\n };\n /**\n * Returns the host HTML element.\n * @return {?}\n */\n MatStepHeader.prototype._getHostElement = function () {\n return this._element.nativeElement;\n };\n MatStepHeader.decorators = [\n { type: Component, args: [{selector: 'mat-step-header',\n template: \"