import { Component, Input } from '@angular/core';
import { AbstractResetPasswordStep } from '../abstract-reset-password-step';
import * as i0 from "@angular/core";
import * as i1 from "@aztrix/components/password-edit";
import * as i2 from "@aztrix/components/otp-verification";
import * as i3 from "@angular/common";
import * as i4 from "@aztrix/helpers";
export class ResetPasswordNewPasswordStepComponent extends AbstractResetPasswordStep {
}
ResetPasswordNewPasswordStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResetPasswordNewPasswordStepComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
ResetPasswordNewPasswordStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ResetPasswordNewPasswordStepComponent, selector: "ax-reset-password-new-password-step", inputs: { verification: "verification", retryVerification: "retryVerification" }, usesInheritance: true, ngImport: i0, template: "<span>{{\n  'agreement.verification.snackbar.message'\n    | translate\n      : {\n          verificationType: showMobile\n            ? ('agreement.verification.type.MOBILE' | translate | lowercase)\n            : ('agreement.verification.type.EMAIL' | translate | lowercase),\n          verificationValue: usernameForm.value\n        }\n}}</span>\n\n<ax-otp-verification\n  class=\"verification\"\n  [verificationValue]=\"usernameForm?.value\"\n  verificationType=\"EMAIL\"\n  [verification]=\"verification\"\n  [retryVerification]=\"retryVerification\"\n  (verificationComplete)=\"_continue()\"\n>\n  <ax-password-edit\n    [form]=\"passwordForm\"\n    [label]=\"'register.individual.credentials.password.title' | translate\"\n    [showToggle]=\"true\"\n    autocomplete=\"new-password\"\n  ></ax-password-edit>\n</ax-otp-verification>\n", styles: [".verification ::ng-deep .otp{padding-top:0}.verification ::ng-deep .otp .mat-form-field-infix{border-top:0}.verification ::ng-deep .verify{margin:1rem 1rem -20px}.verification ::ng-deep .verify button.ax-button{width:100%;font-size:1.2rem;text-transform:none;height:2.5rem}.verification ::ng-deep .resend,.verification ::ng-deep .error-message{font-size:small;font-weight:bolder;height:0;margin-bottom:-30px;margin-top:30px}\n"], dependencies: [{ kind: "component", type: i1.PasswordEditComponent, selector: "ax-password-edit", inputs: ["profileType", "username", "showToggle", "forgotPasswordHint", "pendingLink", "saveInPasswordManager", "minLength"] }, { kind: "component", type: i2.OtpVerificationComponent, selector: "ax-otp-verification", inputs: ["verified", "verificationValue", "verificationType", "verification", "retryVerification"], outputs: ["verificationValueChanges", "verificationComplete"] }, { kind: "pipe", type: i3.LowerCasePipe, name: "lowercase" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResetPasswordNewPasswordStepComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-reset-password-new-password-step', template: "<span>{{\n  'agreement.verification.snackbar.message'\n    | translate\n      : {\n          verificationType: showMobile\n            ? ('agreement.verification.type.MOBILE' | translate | lowercase)\n            : ('agreement.verification.type.EMAIL' | translate | lowercase),\n          verificationValue: usernameForm.value\n        }\n}}</span>\n\n<ax-otp-verification\n  class=\"verification\"\n  [verificationValue]=\"usernameForm?.value\"\n  verificationType=\"EMAIL\"\n  [verification]=\"verification\"\n  [retryVerification]=\"retryVerification\"\n  (verificationComplete)=\"_continue()\"\n>\n  <ax-password-edit\n    [form]=\"passwordForm\"\n    [label]=\"'register.individual.credentials.password.title' | translate\"\n    [showToggle]=\"true\"\n    autocomplete=\"new-password\"\n  ></ax-password-edit>\n</ax-otp-verification>\n", styles: [".verification ::ng-deep .otp{padding-top:0}.verification ::ng-deep .otp .mat-form-field-infix{border-top:0}.verification ::ng-deep .verify{margin:1rem 1rem -20px}.verification ::ng-deep .verify button.ax-button{width:100%;font-size:1.2rem;text-transform:none;height:2.5rem}.verification ::ng-deep .resend,.verification ::ng-deep .error-message{font-size:small;font-weight:bolder;height:0;margin-bottom:-30px;margin-top:30px}\n"] }]
        }], propDecorators: { verification: [{
                type: Input
            }], retryVerification: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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