{"version":3,"file":"stepper.es5.js","sources":["../../packages/cdk/esm5/stepper/step-label.js","../../packages/cdk/esm5/stepper/stepper.js","../../packages/cdk/esm5/stepper/stepper-button.js","../../packages/cdk/esm5/stepper/stepper-module.js","../../packages/cdk/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 { Directive, TemplateRef } from '@angular/core';\nvar CdkStepLabel = (function () {\n /**\n * @param {?} template\n */\n function CdkStepLabel(template) {\n this.template = template;\n }\n CdkStepLabel.decorators = [\n { type: Directive, args: [{\n selector: '[cdkStepLabel]',\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkStepLabel.ctorParameters = function () { return [\n { type: TemplateRef, },\n ]; };\n return CdkStepLabel;\n}());\nexport { CdkStepLabel };\nfunction CdkStepLabel_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkStepLabel.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkStepLabel.ctorParameters;\n /** @type {?} */\n CdkStepLabel.prototype.template;\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 { ContentChildren, EventEmitter, Input, Output, Directive, Component, ContentChild, ViewChild, TemplateRef, ViewEncapsulation, Optional, Inject, forwardRef, ChangeDetectionStrategy, ChangeDetectorRef, } from '@angular/core';\nimport { LEFT_ARROW, RIGHT_ARROW, ENTER, SPACE } from '@angular/cdk/keycodes';\nimport { CdkStepLabel } from './step-label';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Directionality } from '@angular/cdk/bidi';\n/**\n * Used to generate unique ID for each stepper component.\n */\nvar nextId = 0;\n/**\n * Change event emitted on selection changes.\n */\nvar StepperSelectionEvent = (function () {\n function StepperSelectionEvent() {\n }\n return StepperSelectionEvent;\n}());\nexport { StepperSelectionEvent };\nfunction StepperSelectionEvent_tsickle_Closure_declarations() {\n /**\n * Index of the step now selected.\n * @type {?}\n */\n StepperSelectionEvent.prototype.selectedIndex;\n /**\n * Index of the step previously selected.\n * @type {?}\n */\n StepperSelectionEvent.prototype.previouslySelectedIndex;\n /**\n * The step instance now selected.\n * @type {?}\n */\n StepperSelectionEvent.prototype.selectedStep;\n /**\n * The step instance previously selected.\n * @type {?}\n */\n StepperSelectionEvent.prototype.previouslySelectedStep;\n}\nvar CdkStep = (function () {\n /**\n * @param {?} _stepper\n */\n function CdkStep(_stepper) {\n this._stepper = _stepper;\n /**\n * Whether user has seen the expanded step content or not.\n */\n this.interacted = false;\n this._editable = true;\n this._optional = false;\n this._customCompleted = null;\n }\n Object.defineProperty(CdkStep.prototype, \"editable\", {\n /**\n * @return {?}\n */\n get: function () { return this._editable; },\n /**\n * @param {?} value\n * @return {?}\n */\n set: function (value) {\n this._editable = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CdkStep.prototype, \"optional\", {\n /**\n * Whether the completion of step is optional or not.\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 Object.defineProperty(CdkStep.prototype, \"completed\", {\n /**\n * Return whether step is completed or not.\n * @return {?}\n */\n get: function () {\n return this._customCompleted == null ? this._defaultCompleted : this._customCompleted;\n },\n /**\n * @param {?} value\n * @return {?}\n */\n set: function (value) {\n this._customCompleted = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CdkStep.prototype, \"_defaultCompleted\", {\n /**\n * @return {?}\n */\n get: function () {\n return this.stepControl ? this.stepControl.valid && this.interacted : this.interacted;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Selects this step component.\n * @return {?}\n */\n CdkStep.prototype.select = function () {\n this._stepper.selected = this;\n };\n /**\n * @return {?}\n */\n CdkStep.prototype.ngOnChanges = function () {\n // Since basically all inputs of the MdStep get proxied through the view down to the\n // underlying MdStepHeader, we have to make sure that change detection runs correctly.\n this._stepper._stateChanged();\n };\n CdkStep.decorators = [\n { type: Component, args: [{selector: 'cdk-step',\n exportAs: 'cdkStep',\n template: \"\",\n encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkStep.ctorParameters = function () { return [\n { type: CdkStepper, decorators: [{ type: Inject, args: [forwardRef(function () { return CdkStepper; }),] },] },\n ]; };\n CdkStep.propDecorators = {\n 'stepLabel': [{ type: ContentChild, args: [CdkStepLabel,] },],\n 'content': [{ type: ViewChild, args: [TemplateRef,] },],\n 'stepControl': [{ type: Input },],\n 'label': [{ type: Input },],\n 'editable': [{ type: Input },],\n 'optional': [{ type: Input },],\n 'completed': [{ type: Input },],\n };\n return CdkStep;\n}());\nexport { CdkStep };\nfunction CdkStep_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkStep.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkStep.ctorParameters;\n /** @type {?} */\n CdkStep.propDecorators;\n /**\n * Template for step label if it exists.\n * @type {?}\n */\n CdkStep.prototype.stepLabel;\n /**\n * Template for step content.\n * @type {?}\n */\n CdkStep.prototype.content;\n /**\n * The top level abstract control of the step.\n * @type {?}\n */\n CdkStep.prototype.stepControl;\n /**\n * Whether user has seen the expanded step content or not.\n * @type {?}\n */\n CdkStep.prototype.interacted;\n /**\n * Label of the step.\n * @type {?}\n */\n CdkStep.prototype.label;\n /** @type {?} */\n CdkStep.prototype._editable;\n /** @type {?} */\n CdkStep.prototype._optional;\n /** @type {?} */\n CdkStep.prototype._customCompleted;\n /** @type {?} */\n CdkStep.prototype._stepper;\n}\nvar CdkStepper = (function () {\n /**\n * @param {?} _dir\n * @param {?} _changeDetectorRef\n */\n function CdkStepper(_dir, _changeDetectorRef) {\n this._dir = _dir;\n this._changeDetectorRef = _changeDetectorRef;\n this._linear = false;\n this._selectedIndex = 0;\n /**\n * Event emitted when the selected step has changed.\n */\n this.selectionChange = new EventEmitter();\n /**\n * The index of the step that the focus can be set.\n */\n this._focusIndex = 0;\n this._groupId = nextId++;\n }\n Object.defineProperty(CdkStepper.prototype, \"linear\", {\n /**\n * Whether the validity of previous steps should be checked or not.\n * @return {?}\n */\n get: function () { return this._linear; },\n /**\n * @param {?} value\n * @return {?}\n */\n set: function (value) { this._linear = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CdkStepper.prototype, \"selectedIndex\", {\n /**\n * The index of the selected step.\n * @return {?}\n */\n get: function () { return this._selectedIndex; },\n /**\n * @param {?} index\n * @return {?}\n */\n set: function (index) {\n if (this._anyControlsInvalid(index)\n || index < this._selectedIndex && !this._steps.toArray()[index].editable) {\n // remove focus from clicked step header if the step is not able to be selected\n this._stepHeader.toArray()[index].nativeElement.blur();\n }\n else if (this._selectedIndex != index) {\n this._emitStepperSelectionEvent(index);\n this._focusIndex = this._selectedIndex;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CdkStepper.prototype, \"selected\", {\n /**\n * The step that is selected.\n * @return {?}\n */\n get: function () { return this._steps.toArray()[this.selectedIndex]; },\n /**\n * @param {?} step\n * @return {?}\n */\n set: function (step) {\n this.selectedIndex = this._steps.toArray().indexOf(step);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Selects and focuses the next step in list.\n * @return {?}\n */\n CdkStepper.prototype.next = function () {\n this.selectedIndex = Math.min(this._selectedIndex + 1, this._steps.length - 1);\n };\n /**\n * Selects and focuses the previous step in list.\n * @return {?}\n */\n CdkStepper.prototype.previous = function () {\n this.selectedIndex = Math.max(this._selectedIndex - 1, 0);\n };\n /**\n * Returns a unique id for each step label element.\n * @param {?} i\n * @return {?}\n */\n CdkStepper.prototype._getStepLabelId = function (i) {\n return \"mat-step-label-\" + this._groupId + \"-\" + i;\n };\n /**\n * Returns unique id for each step content element.\n * @param {?} i\n * @return {?}\n */\n CdkStepper.prototype._getStepContentId = function (i) {\n return \"mat-step-content-\" + this._groupId + \"-\" + i;\n };\n /**\n * Marks the component to be change detected.\n * @return {?}\n */\n CdkStepper.prototype._stateChanged = function () {\n this._changeDetectorRef.markForCheck();\n };\n /**\n * Returns position state of the step with the given index.\n * @param {?} index\n * @return {?}\n */\n CdkStepper.prototype._getAnimationDirection = function (index) {\n var /** @type {?} */ position = index - this._selectedIndex;\n if (position < 0) {\n return this._layoutDirection() === 'rtl' ? 'next' : 'previous';\n }\n else if (position > 0) {\n return this._layoutDirection() === 'rtl' ? 'previous' : 'next';\n }\n return 'current';\n };\n /**\n * Returns the type of icon to be displayed.\n * @param {?} index\n * @return {?}\n */\n CdkStepper.prototype._getIndicatorType = function (index) {\n var /** @type {?} */ step = this._steps.toArray()[index];\n if (!step.completed || this._selectedIndex == index) {\n return 'number';\n }\n else {\n return step.editable ? 'edit' : 'done';\n }\n };\n /**\n * @param {?} newIndex\n * @return {?}\n */\n CdkStepper.prototype._emitStepperSelectionEvent = function (newIndex) {\n var /** @type {?} */ stepsArray = this._steps.toArray();\n this.selectionChange.emit({\n selectedIndex: newIndex,\n previouslySelectedIndex: this._selectedIndex,\n selectedStep: stepsArray[newIndex],\n previouslySelectedStep: stepsArray[this._selectedIndex],\n });\n this._selectedIndex = newIndex;\n this._stateChanged();\n };\n /**\n * @param {?} event\n * @return {?}\n */\n CdkStepper.prototype._onKeydown = function (event) {\n switch (event.keyCode) {\n case RIGHT_ARROW:\n if (this._layoutDirection() === 'rtl') {\n this._focusPreviousStep();\n }\n else {\n this._focusNextStep();\n }\n break;\n case LEFT_ARROW:\n if (this._layoutDirection() === 'rtl') {\n this._focusNextStep();\n }\n else {\n this._focusPreviousStep();\n }\n break;\n case SPACE:\n case ENTER:\n this.selectedIndex = this._focusIndex;\n break;\n default:\n // Return to avoid calling preventDefault on keys that are not explicitly handled.\n return;\n }\n event.preventDefault();\n };\n /**\n * @return {?}\n */\n CdkStepper.prototype._focusNextStep = function () {\n this._focusStep((this._focusIndex + 1) % this._steps.length);\n };\n /**\n * @return {?}\n */\n CdkStepper.prototype._focusPreviousStep = function () {\n this._focusStep((this._focusIndex + this._steps.length - 1) % this._steps.length);\n };\n /**\n * @param {?} index\n * @return {?}\n */\n CdkStepper.prototype._focusStep = function (index) {\n this._focusIndex = index;\n this._stepHeader.toArray()[this._focusIndex].nativeElement.focus();\n };\n /**\n * @param {?} index\n * @return {?}\n */\n CdkStepper.prototype._anyControlsInvalid = function (index) {\n this._steps.toArray()[this._selectedIndex].interacted = true;\n if (this._linear && index >= 0) {\n return this._steps.toArray().slice(0, index).some(function (step) { return step.stepControl.invalid; });\n }\n return false;\n };\n /**\n * @return {?}\n */\n CdkStepper.prototype._layoutDirection = function () {\n return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n };\n CdkStepper.decorators = [\n { type: Directive, args: [{\n selector: '[cdkStepper]',\n exportAs: 'cdkStepper',\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkStepper.ctorParameters = function () { return [\n { type: Directionality, decorators: [{ type: Optional },] },\n { type: ChangeDetectorRef, },\n ]; };\n CdkStepper.propDecorators = {\n '_steps': [{ type: ContentChildren, args: [CdkStep,] },],\n 'linear': [{ type: Input },],\n 'selectedIndex': [{ type: Input },],\n 'selected': [{ type: Input },],\n 'selectionChange': [{ type: Output },],\n };\n return CdkStepper;\n}());\nexport { CdkStepper };\nfunction CdkStepper_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkStepper.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkStepper.ctorParameters;\n /** @type {?} */\n CdkStepper.propDecorators;\n /**\n * The list of step components that the stepper is holding.\n * @type {?}\n */\n CdkStepper.prototype._steps;\n /**\n * The list of step headers of the steps in the stepper.\n * @type {?}\n */\n CdkStepper.prototype._stepHeader;\n /** @type {?} */\n CdkStepper.prototype._linear;\n /** @type {?} */\n CdkStepper.prototype._selectedIndex;\n /**\n * Event emitted when the selected step has changed.\n * @type {?}\n */\n CdkStepper.prototype.selectionChange;\n /**\n * The index of the step that the focus can be set.\n * @type {?}\n */\n CdkStepper.prototype._focusIndex;\n /**\n * Used to track unique ID for each stepper component.\n * @type {?}\n */\n CdkStepper.prototype._groupId;\n /** @type {?} */\n CdkStepper.prototype._dir;\n /** @type {?} */\n CdkStepper.prototype._changeDetectorRef;\n}\n//# sourceMappingURL=stepper.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 { Directive } from '@angular/core';\nimport { CdkStepper } from './stepper';\n/**\n * Button that moves to the next step in a stepper workflow.\n */\nvar CdkStepperNext = (function () {\n /**\n * @param {?} _stepper\n */\n function CdkStepperNext(_stepper) {\n this._stepper = _stepper;\n }\n CdkStepperNext.decorators = [\n { type: Directive, args: [{\n selector: 'button[cdkStepperNext]',\n host: { '(click)': '_stepper.next()' }\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkStepperNext.ctorParameters = function () { return [\n { type: CdkStepper, },\n ]; };\n return CdkStepperNext;\n}());\nexport { CdkStepperNext };\nfunction CdkStepperNext_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkStepperNext.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkStepperNext.ctorParameters;\n /** @type {?} */\n CdkStepperNext.prototype._stepper;\n}\n/**\n * Button that moves to the previous step in a stepper workflow.\n */\nvar CdkStepperPrevious = (function () {\n /**\n * @param {?} _stepper\n */\n function CdkStepperPrevious(_stepper) {\n this._stepper = _stepper;\n }\n CdkStepperPrevious.decorators = [\n { type: Directive, args: [{\n selector: 'button[cdkStepperPrevious]',\n host: { '(click)': '_stepper.previous()' }\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkStepperPrevious.ctorParameters = function () { return [\n { type: CdkStepper, },\n ]; };\n return CdkStepperPrevious;\n}());\nexport { CdkStepperPrevious };\nfunction CdkStepperPrevious_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkStepperPrevious.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkStepperPrevious.ctorParameters;\n /** @type {?} */\n CdkStepperPrevious.prototype._stepper;\n}\n//# sourceMappingURL=stepper-button.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 { NgModule } from '@angular/core';\nimport { CdkStepper, CdkStep } from './stepper';\nimport { CommonModule } from '@angular/common';\nimport { CdkStepLabel } from './step-label';\nimport { CdkStepperNext, CdkStepperPrevious } from './stepper-button';\nimport { BidiModule } from '@angular/cdk/bidi';\nvar CdkStepperModule = (function () {\n function CdkStepperModule() {\n }\n CdkStepperModule.decorators = [\n { type: NgModule, args: [{\n imports: [BidiModule, CommonModule],\n exports: [CdkStep, CdkStepper, CdkStepLabel, CdkStepperNext, CdkStepperPrevious],\n declarations: [CdkStep, CdkStepper, CdkStepLabel, CdkStepperNext, CdkStepperPrevious]\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkStepperModule.ctorParameters = function () { return []; };\n return CdkStepperModule;\n}());\nexport { CdkStepperModule };\nfunction CdkStepperModule_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkStepperModule.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkStepperModule.ctorParameters;\n}\n//# sourceMappingURL=stepper-module.js.map","/**\n * Generated bundle index. Do not edit.\n */\nexport { StepperSelectionEvent, CdkStep, CdkStepper, CdkStepLabel, CdkStepperNext, CdkStepperPrevious, CdkStepperModule } from './public-api';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;;;;;;;;;AAQA,IAAI,YAAY,IAAI,YAAY;;;;IAI5B,SAAS,YAAY,CAAC,QAAQ,EAAE;QAC5B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;KAC5B;IACD,YAAY,CAAC,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