import { Component, Input } from '@angular/core';
import { AbstractOtpLogin } from '../abstract-otp-login-form';
import * as i0 from "@angular/core";
import * as i1 from "@aztrix/components/otp-verification";
import * as i2 from "@angular/common";
import * as i3 from "@aztrix/helpers";
export class OtpLoginVerificationStepComponent extends AbstractOtpLogin {
}
OtpLoginVerificationStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OtpLoginVerificationStepComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
OtpLoginVerificationStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: OtpLoginVerificationStepComponent, selector: "ax-otp-login-verification-step", inputs: { verification: "verification", retryVerification: "retryVerification" }, usesInheritance: true, ngImport: i0, template: "<span>{{\n  'agreement.verification.snackbar.message'\n    | translate\n      : {\n          verificationType: 'agreement.verification.type.EMAIL' | translate | lowercase,\n          verificationValue: form?.value\n        }\n}}</span>\n\n<ax-otp-verification\n  class=\"verification\"\n  [verificationValue]=\"form?.value\"\n  verificationType=\"EMAIL\"\n  [verification]=\"verification\"\n  [retryVerification]=\"retryVerification\"\n  (verificationComplete)=\"_continue()\"\n></ax-otp-verification>\n", styles: ["", ":host{display:flex;flex-direction:column;gap:.5rem}.form{margin-bottom:20px;background-color:#fff;border-radius:15px;padding:1.5rem 1.5rem 0}.value{display:flex;flex-direction:column;align-items:flex-end;margin-bottom:.5rem}.input{width:100%}.action{margin:1rem 1rem -20px}.action ::ng-deep .ax-button{font-size:1.2rem;text-transform:none;height:2.5rem}.back{margin:1rem auto -.5rem;width:auto}.back ::ng-deep .ax-button{font-size:small;height:2rem;width:auto;margin:0 auto}.back ::ng-deep .ax-button .icon{width:1rem;height:1rem}.verification ::ng-deep .verify{width:100%;display:block;position:relative;bottom:-20px}.verification ::ng-deep .verify .ax-button{font-size:1.2rem;text-transform:none;height:2.5rem;width:100%}.verification ::ng-deep .resend{height:0;position:relative;bottom:-30px}.verification ::ng-deep .error-message{height:0;position:relative;bottom:-30px;display:flex;text-align:center;flex-direction:column;gap:1rem}\n"], dependencies: [{ kind: "component", type: i1.OtpVerificationComponent, selector: "ax-otp-verification", inputs: ["verified", "verificationValue", "verificationType", "canChangeValue", "verification", "retryVerification"], outputs: ["verificationValueChanges", "verificationComplete"] }, { kind: "pipe", type: i2.LowerCasePipe, name: "lowercase" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OtpLoginVerificationStepComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-otp-login-verification-step', template: "<span>{{\n  'agreement.verification.snackbar.message'\n    | translate\n      : {\n          verificationType: 'agreement.verification.type.EMAIL' | translate | lowercase,\n          verificationValue: form?.value\n        }\n}}</span>\n\n<ax-otp-verification\n  class=\"verification\"\n  [verificationValue]=\"form?.value\"\n  verificationType=\"EMAIL\"\n  [verification]=\"verification\"\n  [retryVerification]=\"retryVerification\"\n  (verificationComplete)=\"_continue()\"\n></ax-otp-verification>\n", styles: [":host{display:flex;flex-direction:column;gap:.5rem}.form{margin-bottom:20px;background-color:#fff;border-radius:15px;padding:1.5rem 1.5rem 0}.value{display:flex;flex-direction:column;align-items:flex-end;margin-bottom:.5rem}.input{width:100%}.action{margin:1rem 1rem -20px}.action ::ng-deep .ax-button{font-size:1.2rem;text-transform:none;height:2.5rem}.back{margin:1rem auto -.5rem;width:auto}.back ::ng-deep .ax-button{font-size:small;height:2rem;width:auto;margin:0 auto}.back ::ng-deep .ax-button .icon{width:1rem;height:1rem}.verification ::ng-deep .verify{width:100%;display:block;position:relative;bottom:-20px}.verification ::ng-deep .verify .ax-button{font-size:1.2rem;text-transform:none;height:2.5rem;width:100%}.verification ::ng-deep .resend{height:0;position:relative;bottom:-30px}.verification ::ng-deep .error-message{height:0;position:relative;bottom:-30px;display:flex;text-align:center;flex-direction:column;gap:1rem}\n"] }]
        }], propDecorators: { verification: [{
                type: Input
            }], retryVerification: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3RwLWxvZ2luLXZlcmlmaWNhdGlvbi1zdGVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9sb2dpbi1vci1yZWdpc3Rlci1mb3JtL290cC1sb2dpbi1mb3JtL290cC1sb2dpbi12ZXJpZmljYXRpb24tc3RlcC9vdHAtbG9naW4tdmVyaWZpY2F0aW9uLXN0ZXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2xvZ2luLW9yLXJlZ2lzdGVyLWZvcm0vb3RwLWxvZ2luLWZvcm0vb3RwLWxvZ2luLXZlcmlmaWNhdGlvbi1zdGVwL290cC1sb2dpbi12ZXJpZmljYXRpb24tc3RlcC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUcvQyxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSw0QkFBNEIsQ0FBQzs7Ozs7QUFPNUQsTUFBTSxPQUFPLGlDQUFrQyxTQUFRLGdCQUFnQjs7OEhBQTFELGlDQUFpQztrSEFBakMsaUNBQWlDLCtLQ1Y5Qyx5ZkFpQkE7MkZEUGEsaUNBQWlDO2tCQUw3QyxTQUFTOytCQUNFLGdDQUFnQzs4QkFLakMsWUFBWTtzQkFBcEIsS0FBSztnQkFDRyxpQkFBaUI7c0JBQXpCLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudCwgSW5wdXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IH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