import { Component } from '@angular/core';
import { AbstractResetPasswordStep } from '../abstract-reset-password-step';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@aztrix/components/value-edit";
import * as i3 from "@aztrix/components/button";
import * as i4 from "@aztrix/helpers";
export class ResetPasswordEmailStepComponent extends AbstractResetPasswordStep {
}
ResetPasswordEmailStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResetPasswordEmailStepComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
ResetPasswordEmailStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: ResetPasswordEmailStepComponent, selector: "ax-reset-password-email-step", usesInheritance: true, ngImport: i0, template: "<div class=\"value\">\n  <ax-value-edit\n    class=\"input\"\n    *ngIf=\"!showMobile\"\n    [form]=\"emailForm\"\n    [label]=\"'EMAIL' | propertyTypeLabel\"\n    type=\"EMAIL\"\n    name=\"login username\"\n    [autofocus]=\"true\"\n  ></ax-value-edit>\n  <ax-value-edit\n    class=\"input\"\n    *ngIf=\"showMobile\"\n    [form]=\"mobileForm\"\n    [label]=\"'PHONE' | propertyTypeLabel\"\n    type=\"PHONE\"\n    name=\"login username\"\n    [autofocus]=\"true\"\n  ></ax-value-edit>\n  <button class=\"link\" axButton type=\"button\" (click)=\"switchMobileOrEmail()\">\n    {{ 'login.use-' + (showMobile ? 'email' : 'mobile') | translate }}\n  </button>\n</div>\n\n<ax-button filled fullWidth class=\"action\" type=\"button\" color=\"accent\" (click)=\"_continue()\">\n  {{ 'modal.forgotPassword.button' | translate }}\n</ax-button>\n", styles: [".link{align-self:flex-end}\n", ":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", ".link{text-transform:none;text-decoration:underline;height:1rem;line-height:1rem;padding:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ValueEditComponent, selector: "ax-value-edit", inputs: ["type"] }, { kind: "directive", type: i3.ButtonDirective, selector: "[axButton]", inputs: ["color", "labelHideMobile", "smallButton", "bigButton", "fullWidth", "filled", "outline", "icon-button", "hoverLabel", "hover", "lowercase", "disabled"] }, { kind: "component", type: i3.ButtonComponent, selector: "ax-button" }, { kind: "pipe", type: i4.PropertyTypeLabelPipe, name: "propertyTypeLabel" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ResetPasswordEmailStepComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-reset-password-email-step', template: "<div class=\"value\">\n  <ax-value-edit\n    class=\"input\"\n    *ngIf=\"!showMobile\"\n    [form]=\"emailForm\"\n    [label]=\"'EMAIL' | propertyTypeLabel\"\n    type=\"EMAIL\"\n    name=\"login username\"\n    [autofocus]=\"true\"\n  ></ax-value-edit>\n  <ax-value-edit\n    class=\"input\"\n    *ngIf=\"showMobile\"\n    [form]=\"mobileForm\"\n    [label]=\"'PHONE' | propertyTypeLabel\"\n    type=\"PHONE\"\n    name=\"login username\"\n    [autofocus]=\"true\"\n  ></ax-value-edit>\n  <button class=\"link\" axButton type=\"button\" (click)=\"switchMobileOrEmail()\">\n    {{ 'login.use-' + (showMobile ? 'email' : 'mobile') | translate }}\n  </button>\n</div>\n\n<ax-button filled fullWidth class=\"action\" type=\"button\" color=\"accent\" (click)=\"_continue()\">\n  {{ 'modal.forgotPassword.button' | translate }}\n</ax-button>\n", styles: [".link{align-self:flex-end}\n", ":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", ".link{text-transform:none;text-decoration:underline;height:1rem;line-height:1rem;padding:0}\n"] }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXQtcGFzc3dvcmQtZW1haWwtc3RlcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbG9naW4tb3ItcmVnaXN0ZXItZm9ybS9yZXNldC1wYXNzd29yZC1mb3JtL3Jlc2V0LXBhc3N3b3JkLWVtYWlsLXN0ZXAvcmVzZXQtcGFzc3dvcmQtZW1haWwtc3RlcC5jb21wb25lbnQudHMiLCIuLi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