/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Input } from '@angular/core';
import { FixedFooterFormControlsComponent } from './fixed-footer-form-controls.component';
import { StepperDirective } from '../../directives/stepper/stepper.directive';
export class FixedFooterStepperControlsComponent extends FixedFooterFormControlsComponent {
    constructor() {
        super(...arguments);
        this.showCancelBtn = false;
        this.submitDisabled = true;
    }
}
FixedFooterStepperControlsComponent.decorators = [
    { type: Component, args: [{
                selector: 'fixed-footer-stepper-controls',
                template: "<div class=\"wrapper\" [class.show]=\"stepper\">\n  <div class=\"control-group--start\">\n    <button class=\"btn btn-link text-gray\"\n            *ngIf=\"showCancelBtn\"\n            (click)=\"onClickCancel()\">{{ cancelBtnText || 'Cancel'}}</button>\n  </div>\n  <div class=\"control-group--end\">\n    <div class=\"btn-group mr-4\">\n      <!-- Back -->\n      <button class=\"btn btn-secondary\"\n              [disabled]=\"stepper?.state?.isFirst\"\n              (click)=\"stepper?.selectPrevious()\">Back\n      </button>\n      <!-- Next -->\n      <button class=\"btn btn-secondary\"\n              [disabled]=\"stepper?.state?.isLast || stepper?.state?.nextStep?.tab?.disabled\"\n              (click)=\"stepper?.selectNext()\">\n        Next\n      </button>\n    </div>\n\n    <!-- Save -->\n    <button class=\"btn btn-primary\"\n            [class.valid]=\"!submitDisabled\"\n            [disabled]=\"submitDisabled\"\n            (click)=\"onClickPrimary()\"\n    >{{ primaryBtnText || 'Done'}}</button>\n  </div>\n</div>\n",
                styles: [":host-context(main.expanded) .wrapper{padding-left:18rem}.wrapper{position:fixed;bottom:0;left:0;z-index:1000;width:100%;display:none;background:#fff;padding:1.5rem;justify-content:space-between;box-shadow:0 1px 3px 1px rgba(0,0,0,.1);transition:padding .5s}.wrapper.show{display:flex}.btn-primary.valid{-webkit-animation:.4s pulse;animation:.4s pulse}"]
            }] }
];
FixedFooterStepperControlsComponent.propDecorators = {
    stepper: [{ type: Input }],
    showCancelBtn: [{ type: Input }],
    submitDisabled: [{ type: Input }]
};
if (false) {
    /** @type {?} */
    FixedFooterStepperControlsComponent.prototype.stepper;
    /** @type {?} */
    FixedFooterStepperControlsComponent.prototype.showCancelBtn;
    /** @type {?} */
    FixedFooterStepperControlsComponent.prototype.submitDisabled;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4ZWQtZm9vdGVyLXN0ZXBwZXItY29udHJvbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFybW9yL2JyYW5ka2l0LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvZml4ZWQtZm9vdGVyL2ZpeGVkLWZvb3Rlci1zdGVwcGVyLWNvbnRyb2xzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLGdDQUFnQyxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDMUYsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sNENBQTRDLENBQUM7QUFPOUUsTUFBTSxPQUFPLG1DQUFvQyxTQUFRLGdDQUFnQztJQUx6Rjs7UUFPa0Isa0JBQWEsR0FBWSxLQUFLLENBQUM7UUFDL0IsbUJBQWMsR0FBWSxJQUFJLENBQUM7SUFDakQsQ0FBQzs7O1lBVEEsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSwrQkFBK0I7Z0JBQ3pDLDJoQ0FBNkQ7O2FBRTlEOzs7c0JBRUUsS0FBSzs0QkFDTCxLQUFLOzZCQUNMLEtBQUs7Ozs7SUFGTixzREFBMEM7O0lBQzFDLDREQUErQzs7SUFDL0MsNkRBQStDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ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