@firestitch/2fa 12.2.0 → 12.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/app/enums/verification-method-type.enum.d.ts +5 -5
  2. package/app/interfaces/verification-method.interface.d.ts +11 -11
  3. package/app/modules/code-input/code-input.module.d.ts +8 -8
  4. package/app/modules/code-input/components/code-input/code-input.component.d.ts +13 -13
  5. package/app/modules/code-input/components/code-input/index.d.ts +1 -1
  6. package/app/modules/code-input/index.d.ts +1 -1
  7. package/app/modules/manage/components/2fa-manage/2fa-manage.component.d.ts +26 -26
  8. package/app/modules/manage/components/2fa-manage/index.d.ts +1 -1
  9. package/app/modules/manage/components/app/app.component.d.ts +31 -31
  10. package/app/modules/manage/components/app/index.d.ts +1 -1
  11. package/app/modules/manage/components/defaulted/defaulted.component.d.ts +5 -5
  12. package/app/modules/manage/components/defaulted/index.d.ts +1 -1
  13. package/app/modules/manage/components/email/email.component.d.ts +25 -25
  14. package/app/modules/manage/components/email/index.d.ts +1 -1
  15. package/app/modules/manage/components/emails/emails.component.d.ts +17 -17
  16. package/app/modules/manage/components/emails/index.d.ts +1 -1
  17. package/app/modules/manage/components/manage-methods/index.d.ts +1 -1
  18. package/app/modules/manage/components/manage-methods/manage-methods.component.d.ts +32 -32
  19. package/app/modules/manage/components/number/index.d.ts +1 -1
  20. package/app/modules/manage/components/number/number.component.d.ts +26 -26
  21. package/app/modules/manage/components/numbers/index.d.ts +1 -1
  22. package/app/modules/manage/components/numbers/numbers.component.d.ts +18 -18
  23. package/app/modules/manage/components/verification-methods/index.d.ts +1 -1
  24. package/app/modules/manage/components/verification-methods/verification-methods.component.d.ts +18 -18
  25. package/app/modules/manage/fs-2f-manage.module.d.ts +31 -31
  26. package/app/modules/manage/services/index.d.ts +1 -1
  27. package/app/modules/manage/services/two-factor-manage.service.d.ts +42 -42
  28. package/app/modules/verification/components/2fa-verification/2fa-verification.component.d.ts +32 -31
  29. package/app/modules/verification/components/2fa-verification-code/2fa-verification-code.component.d.ts +17 -17
  30. package/app/modules/verification/components/2fa-verification-methods/2fa-verification-methods.component.d.ts +22 -23
  31. package/app/modules/verification/fs-2fa-verification.module.d.ts +23 -23
  32. package/bundles/firestitch-2fa.umd.js +1114 -1130
  33. package/bundles/firestitch-2fa.umd.js.map +1 -1
  34. package/esm2015/app/enums/verification-method-type.enum.js +6 -6
  35. package/esm2015/app/interfaces/verification-method.interface.js +1 -1
  36. package/esm2015/app/modules/code-input/code-input.module.js +25 -25
  37. package/esm2015/app/modules/code-input/components/code-input/code-input.component.js +36 -36
  38. package/esm2015/app/modules/code-input/components/code-input/index.js +1 -1
  39. package/esm2015/app/modules/code-input/index.js +1 -1
  40. package/esm2015/app/modules/manage/components/2fa-manage/2fa-manage.component.js +91 -91
  41. package/esm2015/app/modules/manage/components/2fa-manage/index.js +1 -1
  42. package/esm2015/app/modules/manage/components/app/app.component.js +81 -81
  43. package/esm2015/app/modules/manage/components/app/index.js +1 -1
  44. package/esm2015/app/modules/manage/components/defaulted/defaulted.component.js +15 -15
  45. package/esm2015/app/modules/manage/components/defaulted/index.js +1 -1
  46. package/esm2015/app/modules/manage/components/email/email.component.js +80 -80
  47. package/esm2015/app/modules/manage/components/email/index.js +1 -1
  48. package/esm2015/app/modules/manage/components/emails/emails.component.js +42 -42
  49. package/esm2015/app/modules/manage/components/emails/index.js +1 -1
  50. package/esm2015/app/modules/manage/components/manage-methods/index.js +1 -1
  51. package/esm2015/app/modules/manage/components/manage-methods/manage-methods.component.js +118 -118
  52. package/esm2015/app/modules/manage/components/number/index.js +1 -1
  53. package/esm2015/app/modules/manage/components/number/number.component.js +82 -82
  54. package/esm2015/app/modules/manage/components/numbers/index.js +1 -1
  55. package/esm2015/app/modules/manage/components/numbers/numbers.component.js +43 -43
  56. package/esm2015/app/modules/manage/components/verification-methods/index.js +1 -1
  57. package/esm2015/app/modules/manage/components/verification-methods/verification-methods.component.js +62 -62
  58. package/esm2015/app/modules/manage/fs-2f-manage.module.js +107 -107
  59. package/esm2015/app/modules/manage/services/index.js +1 -1
  60. package/esm2015/app/modules/manage/services/two-factor-manage.service.js +132 -132
  61. package/esm2015/app/modules/verification/components/2fa-verification/2fa-verification.component.js +106 -109
  62. package/esm2015/app/modules/verification/components/2fa-verification-code/2fa-verification-code.component.js +56 -56
  63. package/esm2015/app/modules/verification/components/2fa-verification-methods/2fa-verification-methods.component.js +63 -73
  64. package/esm2015/app/modules/verification/fs-2fa-verification.module.js +87 -87
  65. package/esm2015/firestitch-2fa.js +4 -4
  66. package/esm2015/public_api.js +6 -7
  67. package/fesm2015/firestitch-2fa.js +1007 -1019
  68. package/fesm2015/firestitch-2fa.js.map +1 -1
  69. package/firestitch-2fa.d.ts +5 -5
  70. package/package.json +1 -1
  71. package/public_api.d.ts +6 -8
  72. package/app/interfaces/verification-provider.interface.d.ts +0 -8
  73. package/app/tokens/verification.token.d.ts +0 -3
  74. package/esm2015/app/interfaces/verification-provider.interface.js +0 -2
  75. package/esm2015/app/tokens/verification.token.js +0 -3
@@ -1,2 +1,2 @@
1
- export * from './app.component';
1
+ export * from './app.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvbWFuYWdlL2NvbXBvbmVudHMvYXBwL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FwcC5jb21wb25lbnQnO1xuIl19
@@ -1,16 +1,16 @@
1
- import { Component, ChangeDetectionStrategy, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class DefaultedComponent {
4
- }
5
- DefaultedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DefaultedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
- DefaultedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DefaultedComponent, selector: "app-defaulted", ngImport: i0, template: "<span>Default</span>", styles: ["span{font-size:75%;background-color:#02a7f0;padding:2px 4px;border-radius:4px;color:#fff}:host{display:flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DefaultedComponent, decorators: [{
8
- type: Component,
9
- args: [{
10
- selector: 'app-defaulted',
11
- templateUrl: './defaulted.component.html',
12
- styleUrls: ['./defaulted.component.scss'],
13
- changeDetection: ChangeDetectionStrategy.OnPush,
14
- }]
15
- }] });
1
+ import { Component, ChangeDetectionStrategy, } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class DefaultedComponent {
4
+ }
5
+ DefaultedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DefaultedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ DefaultedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DefaultedComponent, selector: "app-defaulted", ngImport: i0, template: "<span>Default</span>", styles: ["span{font-size:75%;background-color:#02a7f0;padding:2px 4px;border-radius:4px;color:#fff}:host{display:flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DefaultedComponent, decorators: [{
8
+ type: Component,
9
+ args: [{
10
+ selector: 'app-defaulted',
11
+ templateUrl: './defaulted.component.html',
12
+ styleUrls: ['./defaulted.component.scss'],
13
+ changeDetection: ChangeDetectionStrategy.OnPush,
14
+ }]
15
+ }] });
16
16
  //# sourceMappingUR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FuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRGVmYXVsdGVkQ29tcG9uZW50IHtcblxufVxuIiwiPHNwYW4+RGVmYXVsdDwvc3Bhbj4iXX0=
@@ -1,2 +1,2 @@
1
- export * from './defaulted.component';
1
+ export * from './defaulted.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvbWFuYWdlL2NvbXBvbmVudHMvZGVmYXVsdGVkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RlZmF1bHRlZC5jb21wb25lbnQnO1xuIl19
@@ -1,81 +1,81 @@
1
- import { Component, Inject, ChangeDetectionStrategy, ChangeDetectorRef, ViewChild, } from '@angular/core';
2
- import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
3
- import { FsMessage } from '@firestitch/message';
4
- import { FsFormDirective } from '@firestitch/form';
5
- import { of } from 'rxjs';
6
- import { switchMap, tap } from 'rxjs/operators';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/material/dialog";
9
- import * as i2 from "@firestitch/message";
10
- import * as i3 from "@firestitch/dialog";
11
- import * as i4 from "../../../code-input/components/code-input/code-input.component";
12
- import * as i5 from "@angular/material/form-field";
13
- import * as i6 from "@angular/material/checkbox";
14
- import * as i7 from "@angular/material/button";
15
- import * as i8 from "@angular/forms";
16
- import * as i9 from "@firestitch/form";
17
- import * as i10 from "@angular/common";
18
- import * as i11 from "@angular/material/input";
19
- export class EmailComponent {
20
- constructor(_data, _dialogRef, _cdRef, _message) {
21
- this._data = _data;
22
- this._dialogRef = _dialogRef;
23
- this._cdRef = _cdRef;
24
- this._message = _message;
25
- this.verificationMethod = null;
26
- this.submit = () => {
27
- return of(true)
28
- .pipe(switchMap(() => {
29
- return this.verificationMethod ?
30
- this.twoFactorManageService.verificationMethodVerify(this.code)
31
- .pipe(tap((verificationMethod) => {
32
- this._message.success('Created email verification method');
33
- this._dialogRef.close(verificationMethod);
34
- })) :
35
- this.twoFactorManageService.verificationMethodCreate({
36
- type: 'email',
37
- email: this.email,
38
- default: this.default,
39
- })
40
- .pipe(tap((verificationMethod) => {
41
- this.verificationMethod = verificationMethod;
42
- this.form.clear();
43
- this._cdRef.markForCheck();
44
- }));
45
- }));
46
- };
47
- this.twoFactorManageService = _data.twoFactorManageService;
48
- this.default = !this.twoFactorManageService.hasVerificationMethods;
49
- }
50
- resend() {
51
- this.twoFactorManageService.verificationMethodResend()
52
- .subscribe(() => {
53
- this._message.success('Resent verification code');
54
- });
55
- }
56
- codeCompleted() {
57
- if (!this.form.submitting) {
58
- this.form.triggerSubmit();
59
- }
60
- }
61
- codeChanged(code) {
62
- this.code = code;
63
- }
64
- }
65
- EmailComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EmailComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i0.ChangeDetectorRef }, { token: i2.FsMessage }], target: i0.ɵɵFactoryTarget.Component });
66
- EmailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EmailComponent, selector: "ng-component", viewQueries: [{ propertyName: "form", first: true, predicate: FsFormDirective, descendants: true }], ngImport: i0, template: "<form fsForm [submit]=\"submit\">\n <fs-dialog>\n <h1 mat-dialog-title>\n Email Setup\n </h1>\n <mat-dialog-content>\n <ng-container *ngIf=\"verificationMethod; else notVerificationMethod\">\n <p>The app just sent you an email with a verification code.</p>\n \n <app-code-input \n [code]=\"code\"\n (codeChanged)=\"codeChanged($event)\"\n (codeCompleted)=\"codeCompleted()\">\n </app-code-input> \n\n <div>Did't get the code? <a (click)=\"resend()\">Resend Code</a></div>\n </ng-container>\n\n <ng-template #notVerificationMethod>\n <p>The app will only use this email for verifying your account security. </p>\n <mat-form-field>\n <mat-label>Email</mat-label>\n <input\n matInput\n [required]=\"true\"\n [(ngModel)]=\"email\"\n [fsFormEmail]=\"true\"\n name=\"email\">\n </mat-form-field>\n <mat-checkbox \n name=\"default\"\n [(ngModel)]=\"default\"\n [disableRipple]=\"true\">\n Make this the default 2-step verification method\n </mat-checkbox>\n </ng-template>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button\n mat-button\n color=\"primary\"\n type=\"submit\">\n Next\n </button>\n <button\n mat-button\n type=\"button\"\n [mat-dialog-close]=\"undefined\">\n Cancel\n </button>\n </mat-dialog-actions>\n </fs-dialog>\n</form>\n", styles: [":host ::ng-deep mat-checkbox .mat-ripple{display:none}mat-form-field{width:100%}mat-dialog-content{width:400px}p{margin-top:0}app-code-input{margin-bottom:10px;display:block}\n"], components: [{ type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i4.CodeInputComponent, selector: "app-code-input", inputs: ["codeLength", "code"], outputs: ["codeCompleted", "codeChanged"] }, { type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i6.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i7.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i9.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"] }, { type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.MatLabel, selector: "mat-label" }, { type: i11.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i9.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { type: i9.FsFormEmailDirective, selector: "[fsFormEmail]", inputs: ["fsFormEmail", "fsFormEmailMessage"] }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i9.FsSubmitButtonDirective, selector: "button[type=\"submit\"]", inputs: ["name", "dirtySubmit"] }, { type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EmailComponent, decorators: [{
68
- type: Component,
69
- args: [{
70
- templateUrl: './email.component.html',
71
- styleUrls: ['./email.component.scss'],
72
- changeDetection: ChangeDetectionStrategy.OnPush,
73
- }]
74
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
75
- type: Inject,
76
- args: [MAT_DIALOG_DATA]
77
- }] }, { type: i1.MatDialogRef }, { type: i0.ChangeDetectorRef }, { type: i2.FsMessage }]; }, propDecorators: { form: [{
78
- type: ViewChild,
79
- args: [FsFormDirective, { static: false }]
80
- }] } });
1
+ import { Component, Inject, ChangeDetectionStrategy, ChangeDetectorRef, ViewChild, } from '@angular/core';
2
+ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
3
+ import { FsMessage } from '@firestitch/message';
4
+ import { FsFormDirective } from '@firestitch/form';
5
+ import { of } from 'rxjs';
6
+ import { switchMap, tap } from 'rxjs/operators';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@angular/material/dialog";
9
+ import * as i2 from "@firestitch/message";
10
+ import * as i3 from "@firestitch/dialog";
11
+ import * as i4 from "../../../code-input/components/code-input/code-input.component";
12
+ import * as i5 from "@angular/material/form-field";
13
+ import * as i6 from "@angular/material/checkbox";
14
+ import * as i7 from "@angular/material/button";
15
+ import * as i8 from "@angular/forms";
16
+ import * as i9 from "@firestitch/form";
17
+ import * as i10 from "@angular/common";
18
+ import * as i11 from "@angular/material/input";
19
+ export class EmailComponent {
20
+ constructor(_data, _dialogRef, _cdRef, _message) {
21
+ this._data = _data;
22
+ this._dialogRef = _dialogRef;
23
+ this._cdRef = _cdRef;
24
+ this._message = _message;
25
+ this.verificationMethod = null;
26
+ this.submit = () => {
27
+ return of(true)
28
+ .pipe(switchMap(() => {
29
+ return this.verificationMethod ?
30
+ this.twoFactorManageService.verificationMethodVerify(this.code)
31
+ .pipe(tap((verificationMethod) => {
32
+ this._message.success('Created email verification method');
33
+ this._dialogRef.close(verificationMethod);
34
+ })) :
35
+ this.twoFactorManageService.verificationMethodCreate({
36
+ type: 'email',
37
+ email: this.email,
38
+ default: this.default,
39
+ })
40
+ .pipe(tap((verificationMethod) => {
41
+ this.verificationMethod = verificationMethod;
42
+ this.form.clear();
43
+ this._cdRef.markForCheck();
44
+ }));
45
+ }));
46
+ };
47
+ this.twoFactorManageService = _data.twoFactorManageService;
48
+ this.default = !this.twoFactorManageService.hasVerificationMethods;
49
+ }
50
+ resend() {
51
+ this.twoFactorManageService.verificationMethodResend()
52
+ .subscribe(() => {
53
+ this._message.success('Resent verification code');
54
+ });
55
+ }
56
+ codeCompleted() {
57
+ if (!this.form.submitting) {
58
+ this.form.triggerSubmit();
59
+ }
60
+ }
61
+ codeChanged(code) {
62
+ this.code = code;
63
+ }
64
+ }
65
+ EmailComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EmailComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i0.ChangeDetectorRef }, { token: i2.FsMessage }], target: i0.ɵɵFactoryTarget.Component });
66
+ EmailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EmailComponent, selector: "ng-component", viewQueries: [{ propertyName: "form", first: true, predicate: FsFormDirective, descendants: true }], ngImport: i0, template: "<form fsForm [submit]=\"submit\">\n <fs-dialog>\n <h1 mat-dialog-title>\n Email Setup\n </h1>\n <mat-dialog-content>\n <ng-container *ngIf=\"verificationMethod; else notVerificationMethod\">\n <p>The app just sent you an email with a verification code.</p>\n \n <app-code-input \n [code]=\"code\"\n (codeChanged)=\"codeChanged($event)\"\n (codeCompleted)=\"codeCompleted()\">\n </app-code-input> \n\n <div>Did't get the code? <a (click)=\"resend()\">Resend Code</a></div>\n </ng-container>\n\n <ng-template #notVerificationMethod>\n <p>The app will only use this email for verifying your account security. </p>\n <mat-form-field>\n <mat-label>Email</mat-label>\n <input\n matInput\n [required]=\"true\"\n [(ngModel)]=\"email\"\n [fsFormEmail]=\"true\"\n name=\"email\">\n </mat-form-field>\n <mat-checkbox \n name=\"default\"\n [(ngModel)]=\"default\"\n [disableRipple]=\"true\">\n Make this the default 2-step verification method\n </mat-checkbox>\n </ng-template>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button\n mat-button\n color=\"primary\"\n type=\"submit\">\n Next\n </button>\n <button\n mat-button\n type=\"button\"\n [mat-dialog-close]=\"undefined\">\n Cancel\n </button>\n </mat-dialog-actions>\n </fs-dialog>\n</form>\n", styles: [":host ::ng-deep mat-checkbox .mat-ripple{display:none}mat-form-field{width:100%}mat-dialog-content{width:400px}p{margin-top:0}app-code-input{margin-bottom:10px;display:block}\n"], components: [{ type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i4.CodeInputComponent, selector: "app-code-input", inputs: ["codeLength", "code"], outputs: ["codeCompleted", "codeChanged"] }, { type: i5.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i6.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i7.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i9.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "submit", "successDelay", "errorDelay", "tabGroup"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"] }, { type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.MatLabel, selector: "mat-label" }, { type: i11.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i9.FsFormRequiredDirective, selector: "[fsFormRequired],[ngModel][required]", inputs: ["fsFormRequired", "required", "fsFormRequiredMessage"] }, { type: i9.FsFormEmailDirective, selector: "[fsFormEmail]", inputs: ["fsFormEmail", "fsFormEmailMessage"] }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i9.FsSubmitButtonDirective, selector: "button[type=\"submit\"]", inputs: ["name", "dirtySubmit"] }, { type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EmailComponent, decorators: [{
68
+ type: Component,
69
+ args: [{
70
+ templateUrl: './email.component.html',
71
+ styleUrls: ['./email.component.scss'],
72
+ changeDetection: ChangeDetectionStrategy.OnPush,
73
+ }]
74
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
75
+ type: Inject,
76
+ args: [MAT_DIALOG_DATA]
77
+ }] }, { type: i1.MatDialogRef }, { type: i0.ChangeDetectorRef }, { type: i2.FsMessage }]; }, propDecorators: { form: [{
78
+ type: ViewChild,
79
+ args: [FsFormDirective, { static: false }]
80
+ }] } });
81
81
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1haWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2Fw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xuICAgICAgICAgICAgW2ZzRm9ybUVtYWlsXT1cInRydWVcIlxuICAgICAgICAgICAgbmFtZT1cImVtYWlsXCI+XG4gICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XG4gICAgICAgIDxtYXQtY2hlY2tib3ggXG4gICAgICAgICAgICBuYW1lPVwiZGVmYXVsdFwiXG4gICAgICAgICAgICBbKG5nTW9kZWwpXT1cImRlZmF1bHRcIlxuICAgICAgICAgICAgW2Rpc2FibGVSaXBwbGVdPVwidHJ1ZVwiPlxuICAgICAgICAgIE1ha2UgdGhpcyB0aGUgZGVmYXVsdCAyLXN0ZXAgdmVyaWZpY2F0aW9uIG1ldGhvZFxuICAgICAgICA8L21hdC1jaGVja2JveD5cbiAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgPC9tYXQtZGlhbG9nLWNvbnRlbnQ+XG4gICAgPG1hdC1kaWFsb2ctYWN0aW9ucz5cbiAgICAgIDxidXR0b25cbiAgICAgICAgICBtYXQtYnV0dG9uXG4gICAgICAgICAgY29sb3I9XCJwcmltYXJ5XCJcbiAgICAgICAgICB0eXBlPVwic3VibWl0XCI+XG4gICAgICAgIE5leHRcbiAgICAgIDwvYnV0dG9uPlxuICAgICAgPGJ1dHRvblxuICAgICAgICAgIG1hdC1idXR0b25cbiAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICBbbWF0LWRpYWxvZy1jbG9zZV09XCJ1bmRlZmluZWRcIj5cbiAgICAgICAgQ2FuY2VsXG4gICAgICA8L2J1dHRvbj5cbiAgICA8L21hdC1kaWFsb2ctYWN0aW9ucz5cbiAgPC9mcy1kaWFsb2c+XG48L2Zvcm0+XG4iXX0=
@@ -1,2 +1,2 @@
1
- export * from './email.component';
1
+ export * from './email.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvbWFuYWdlL2NvbXBvbmVudHMvZW1haWwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZW1haWwuY29tcG9uZW50JztcbiJdfQ==
@@ -1,43 +1,43 @@
1
- import { Component, Inject, ChangeDetectionStrategy, } from '@angular/core';
2
- import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
3
- import { FsMessage } from '@firestitch/message';
4
- import { FsVerificationMethodType } from '../../../../enums/verification-method-type.enum';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/material/dialog";
7
- import * as i2 from "@firestitch/message";
8
- import * as i3 from "@firestitch/dialog";
9
- import * as i4 from "../verification-methods/verification-methods.component";
10
- import * as i5 from "@angular/material/button";
11
- export class EmailsComponent {
12
- constructor(_data, _dialogRef, _message) {
13
- this._data = _data;
14
- this._dialogRef = _dialogRef;
15
- this._message = _message;
16
- this.FsVerificationMethodType = FsVerificationMethodType;
17
- this.twoFactorManageService = _data.twoFactorManageService;
18
- }
19
- add() {
20
- this.twoFactorManageService.addEmail()
21
- .subscribe();
22
- }
23
- deleted() {
24
- this._message.success('Deleted email verification method');
25
- if (!this.twoFactorManageService.hasVerificationMethod(FsVerificationMethodType.Email)) {
26
- this._dialogRef.close();
27
- }
28
- }
29
- }
30
- EmailsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EmailsComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.FsMessage }], target: i0.ɵɵFactoryTarget.Component });
31
- EmailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EmailsComponent, selector: "ng-component", ngImport: i0, template: "<fs-dialog>\n <h1 mat-dialog-title>\n Emails\n </h1>\n <mat-dialog-content>\n <app-verification-methods\n [type]=\"FsVerificationMethodType.Email\"\n [twoFactorManageService]=\"twoFactorManageService\"\n (deleted)=\"deleted()\">\n </app-verification-methods>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button\n mat-button\n type=\"button\"\n color=\"primary\"\n [mat-dialog-close]=\"undefined\">\n Close\n </button>\n <button\n mat-button\n (click)=\"add()\"\n type=\"button\">\n Add Email\n </button>\n </mat-dialog-actions>\n</fs-dialog>\n", styles: [""], components: [{ type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i4.VerificationMethodsComponent, selector: "app-verification-methods", inputs: ["twoFactorManageService", "type"], outputs: ["deleted"] }, { type: i5.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EmailsComponent, decorators: [{
33
- type: Component,
34
- args: [{
35
- templateUrl: './emails.component.html',
36
- styleUrls: ['./emails.component.scss'],
37
- changeDetection: ChangeDetectionStrategy.OnPush,
38
- }]
39
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
40
- type: Inject,
41
- args: [MAT_DIALOG_DATA]
42
- }] }, { type: i1.MatDialogRef }, { type: i2.FsMessage }]; } });
1
+ import { Component, Inject, ChangeDetectionStrategy, } from '@angular/core';
2
+ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
3
+ import { FsMessage } from '@firestitch/message';
4
+ import { FsVerificationMethodType } from '../../../../enums/verification-method-type.enum';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/material/dialog";
7
+ import * as i2 from "@firestitch/message";
8
+ import * as i3 from "@firestitch/dialog";
9
+ import * as i4 from "../verification-methods/verification-methods.component";
10
+ import * as i5 from "@angular/material/button";
11
+ export class EmailsComponent {
12
+ constructor(_data, _dialogRef, _message) {
13
+ this._data = _data;
14
+ this._dialogRef = _dialogRef;
15
+ this._message = _message;
16
+ this.FsVerificationMethodType = FsVerificationMethodType;
17
+ this.twoFactorManageService = _data.twoFactorManageService;
18
+ }
19
+ add() {
20
+ this.twoFactorManageService.addEmail()
21
+ .subscribe();
22
+ }
23
+ deleted() {
24
+ this._message.success('Deleted email verification method');
25
+ if (!this.twoFactorManageService.hasVerificationMethod(FsVerificationMethodType.Email)) {
26
+ this._dialogRef.close();
27
+ }
28
+ }
29
+ }
30
+ EmailsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EmailsComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2.FsMessage }], target: i0.ɵɵFactoryTarget.Component });
31
+ EmailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: EmailsComponent, selector: "ng-component", ngImport: i0, template: "<fs-dialog>\n <h1 mat-dialog-title>\n Emails\n </h1>\n <mat-dialog-content>\n <app-verification-methods\n [type]=\"FsVerificationMethodType.Email\"\n [twoFactorManageService]=\"twoFactorManageService\"\n (deleted)=\"deleted()\">\n </app-verification-methods>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button\n mat-button\n type=\"button\"\n color=\"primary\"\n [mat-dialog-close]=\"undefined\">\n Close\n </button>\n <button\n mat-button\n (click)=\"add()\"\n type=\"button\">\n Add Email\n </button>\n </mat-dialog-actions>\n</fs-dialog>\n", styles: [""], components: [{ type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i4.VerificationMethodsComponent, selector: "app-verification-methods", inputs: ["twoFactorManageService", "type"], outputs: ["deleted"] }, { type: i5.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EmailsComponent, decorators: [{
33
+ type: Component,
34
+ args: [{
35
+ templateUrl: './emails.component.html',
36
+ styleUrls: ['./emails.component.scss'],
37
+ changeDetection: ChangeDetectionStrategy.OnPush,
38
+ }]
39
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
40
+ type: Inject,
41
+ args: [MAT_DIALOG_DATA]
42
+ }] }, { type: i1.MatDialogRef }, { type: i2.FsMessage }]; } });
43
43
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1haWxzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kd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GlhbG9nLXRpdGxlPlxuICAgIEVtYWlsc1xuICA8L2gxPlxuICA8bWF0LWRpYWxvZy1jb250ZW50PlxuICAgIDxhcHAtdmVyaWZpY2F0aW9uLW1ldGhvZHNcbiAgICAgIFt0eXBlXT1cIkZzVmVyaWZpY2F0aW9uTWV0aG9kVHlwZS5FbWFpbFwiXG4gICAgICBbdHdvRmFjdG9yTWFuYWdlU2VydmljZV09XCJ0d29GYWN0b3JNYW5hZ2VTZXJ2aWNlXCJcbiAgICAgIChkZWxldGVkKT1cImRlbGV0ZWQoKVwiPlxuICAgIDwvYXBwLXZlcmlmaWNhdGlvbi1tZXRob2RzPlxuICA8L21hdC1kaWFsb2ctY29udGVudD5cbiAgPG1hdC1kaWFsb2ctYWN0aW9ucz5cbiAgICA8YnV0dG9uXG4gICAgICAgIG1hdC1idXR0b25cbiAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgIGNvbG9yPVwicHJpbWFyeVwiXG4gICAgICAgIFttYXQtZGlhbG9nLWNsb3NlXT1cInVuZGVmaW5lZFwiPlxuICAgICAgQ2xvc2VcbiAgICA8L2J1dHRvbj5cbiAgICA8YnV0dG9uXG4gICAgICAgIG1hdC1idXR0b25cbiAgICAgICAgKGNsaWNrKT1cImFkZCgpXCJcbiAgICAgICAgdHlwZT1cImJ1dHRvblwiPlxuICAgICAgQWRkIEVtYWlsXG4gICAgPC9idXR0b24+XG4gIDwvbWF0LWRpYWxvZy1hY3Rpb25zPlxuPC9mcy1kaWFsb2c+XG4iXX0=
@@ -1,2 +1,2 @@
1
- export * from './emails.component';
1
+ export * from './emails.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvbWFuYWdlL2NvbXBvbmVudHMvZW1haWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VtYWlscy5jb21wb25lbnQnO1xuIl19
@@ -1,2 +1,2 @@
1
- export * from './manage-methods.component';
1
+ export * from './manage-methods.component';
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL21vZHVsZXMvbWFuYWdlL2NvbXBvbmVudHMvbWFuYWdlLW1ldGhvZHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbWFuYWdlLW1ldGhvZHMuY29tcG9uZW50JztcbiJdfQ==