import { RStepperComponent } from './stepper.component';
import { Directive, HostBinding, HostListener, Input } from '@angular/core';
export class RStepperNextDirective {
    constructor(stepper) {
        this.stepper = stepper;
        this.type = 'submit';
    }
    onClick() {
        this.stepper.next();
    }
}
RStepperNextDirective.decorators = [
    { type: Directive, args: [{
                selector: 'button[rStepperNext]',
            },] }
];
RStepperNextDirective.ctorParameters = () => [
    { type: RStepperComponent }
];
RStepperNextDirective.propDecorators = {
    type: [{ type: Input }, { type: HostBinding, args: ['attr.type',] }],
    onClick: [{ type: HostListener, args: ['click',] }]
};
export class RStepperPreviousDirective {
    constructor(stepper) {
        this.stepper = stepper;
        this.type = 'button';
    }
    onClick() {
        this.stepper.previous();
    }
}
RStepperPreviousDirective.decorators = [
    { type: Directive, args: [{
                selector: 'button[rStepperPrevious]',
            },] }
];
RStepperPreviousDirective.ctorParameters = () => [
    { type: RStepperComponent }
];
RStepperPreviousDirective.propDecorators = {
    type: [{ type: Input }, { type: HostBinding, args: ['attr.type',] }],
    onClick: [{ type: HostListener, args: ['click',] }]
};
//# sourceMappingURL=stepper-button.directive.js.map