@firestitch/2fa 12.0.6 → 12.0.9
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.
- package/app/components/2fa-verification/2fa-verification.component.d.ts +31 -26
- package/app/components/2fa-verification-code/2fa-verification-code.component.d.ts +17 -11
- package/app/components/2fa-verification-methods/2fa-verification-methods.component.d.ts +23 -23
- package/app/enums/verification-method-type.enum.d.ts +5 -6
- package/app/fs-2fa.module.d.ts +23 -23
- package/app/interfaces/verification-method.interface.d.ts +11 -11
- package/app/interfaces/verification-provider.interface.d.ts +8 -8
- package/app/tokens/verification.token.d.ts +3 -3
- package/bundles/firestitch-2fa.umd.js +289 -292
- package/bundles/firestitch-2fa.umd.js.map +1 -1
- package/esm2015/app/components/2fa-verification/2fa-verification.component.js +107 -91
- package/esm2015/app/components/2fa-verification-code/2fa-verification-code.component.js +57 -45
- package/esm2015/app/components/2fa-verification-methods/2fa-verification-methods.component.js +73 -73
- package/esm2015/app/enums/verification-method-type.enum.js +7 -8
- package/esm2015/app/fs-2fa.module.js +88 -91
- package/esm2015/app/interfaces/verification-method.interface.js +1 -1
- package/esm2015/app/interfaces/verification-provider.interface.js +1 -1
- package/esm2015/app/tokens/verification.token.js +2 -2
- package/esm2015/firestitch-2fa.js +4 -4
- package/esm2015/public_api.js +8 -8
- package/fesm2015/firestitch-2fa.js +274 -276
- package/fesm2015/firestitch-2fa.js.map +1 -1
- package/firestitch-2fa.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +6 -6
- package/app/components/2fa-verification-otp/2fa-verification-otp.component.d.ts +0 -12
- package/esm2015/app/components/2fa-verification-otp/2fa-verification-otp.component.js +0 -33
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@angular/common'), require('@angular/material/icon'), require('@angular/material/radio'), require('@angular/material/button'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/checkbox'), require('@angular/material/progress-spinner'), require('@firestitch/form'), require('@firestitch/skeleton'), require('@firestitch/radiogroup'), require('@firestitch/dialog'), require('rxjs/operators'), require('@angular/material/dialog'), require('rxjs')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@firestitch/2fa', ['exports', '@angular/core', '@angular/forms', '@angular/common', '@angular/material/icon', '@angular/material/radio', '@angular/material/button', '@angular/material/form-field', '@angular/material/input', '@angular/material/checkbox', '@angular/material/progress-spinner', '@firestitch/form', '@firestitch/skeleton', '@firestitch/radiogroup', '@firestitch/dialog', 'rxjs/operators', '@angular/material/dialog', 'rxjs'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch["2fa"] = {}), global.ng.core, global.ng.forms, global.ng.common, global.ng.material.icon, global.ng.material.radio, global.ng.material.button, global.ng.material.formField, global.ng.material.input, global.ng.material.checkbox, global.ng.material.progressSpinner, global.i8, global.i9, global.i3, global.i1$1, global.rxjs.operators, global.ng.material.dialog, global.rxjs));
|
|
5
|
-
})(this, (function (exports, i0, i7, i10, i4, i5, i6,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@angular/common'), require('@angular/material/icon'), require('@angular/material/radio'), require('@angular/material/button'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/checkbox'), require('@angular/material/progress-spinner'), require('@firestitch/form'), require('@firestitch/skeleton'), require('@firestitch/radiogroup'), require('@firestitch/dialog'), require('angular-code-input'), require('rxjs/operators'), require('@angular/material/dialog'), require('rxjs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@firestitch/2fa', ['exports', '@angular/core', '@angular/forms', '@angular/common', '@angular/material/icon', '@angular/material/radio', '@angular/material/button', '@angular/material/form-field', '@angular/material/input', '@angular/material/checkbox', '@angular/material/progress-spinner', '@firestitch/form', '@firestitch/skeleton', '@firestitch/radiogroup', '@firestitch/dialog', 'angular-code-input', 'rxjs/operators', '@angular/material/dialog', 'rxjs'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch["2fa"] = {}), global.ng.core, global.ng.forms, global.ng.common, global.ng.material.icon, global.ng.material.radio, global.ng.material.button, global.ng.material.formField, global.ng.material.input, global.ng.material.checkbox, global.ng.material.progressSpinner, global.i8, global.i9, global.i3, global.i1$1, global.i1$2, global.rxjs.operators, global.ng.material.dialog, global.rxjs));
|
|
5
|
+
})(this, (function (exports, i0, i7, i10, i4, i5, i6, formField, input, i3$1, i4$1, i8, i9, i3, i1$1, i1$2, operators, i1, rxjs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -28,316 +28,313 @@
|
|
|
28
28
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
29
29
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
30
30
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
31
|
-
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
32
31
|
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
33
32
|
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
|
34
|
-
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
35
33
|
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
36
34
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
37
35
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
38
36
|
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
37
|
+
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
39
38
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
40
39
|
|
|
41
40
|
var FS_2FA_VERIFICATION_PROVIDER = new i0.InjectionToken('Provider for Verification service');
|
|
42
41
|
|
|
43
|
-
exports.FsVerificationMethodType = void 0;
|
|
44
|
-
(function (FsVerificationMethodType) {
|
|
45
|
-
FsVerificationMethodType["Sms"] = "sms";
|
|
46
|
-
FsVerificationMethodType["Email"] = "email";
|
|
47
|
-
FsVerificationMethodType["
|
|
48
|
-
FsVerificationMethodType["Code"] = "code";
|
|
42
|
+
exports.FsVerificationMethodType = void 0;
|
|
43
|
+
(function (FsVerificationMethodType) {
|
|
44
|
+
FsVerificationMethodType["Sms"] = "sms";
|
|
45
|
+
FsVerificationMethodType["Email"] = "email";
|
|
46
|
+
FsVerificationMethodType["App"] = "app";
|
|
49
47
|
})(exports.FsVerificationMethodType || (exports.FsVerificationMethodType = {}));
|
|
50
48
|
|
|
51
|
-
var Fs2FaVerificationMethodsComponent = /** @class */ (function () {
|
|
52
|
-
function Fs2FaVerificationMethodsComponent(_verificationProvider, _dialogData, _dialogRef) {
|
|
53
|
-
var _this = this;
|
|
54
|
-
this._verificationProvider = _verificationProvider;
|
|
55
|
-
this._dialogData = _dialogData;
|
|
56
|
-
this._dialogRef = _dialogRef;
|
|
57
|
-
this.verificationMethodType = exports.FsVerificationMethodType;
|
|
58
|
-
this.setVerificationMethod = function () {
|
|
59
|
-
return _this._verificationProvider
|
|
60
|
-
.updateVerificationMethod(_this.method.id)
|
|
61
|
-
.pipe(operators.tap(function (method) {
|
|
62
|
-
_this._dialogRef.close(method);
|
|
63
|
-
}));
|
|
64
|
-
};
|
|
65
|
-
this._setActiveMethod();
|
|
66
|
-
this._initMethods();
|
|
67
|
-
}
|
|
68
|
-
Fs2FaVerificationMethodsComponent.prototype.compareWith = function (o1, o2) {
|
|
69
|
-
return o1 && o2 && o1.id === o2.id;
|
|
70
|
-
};
|
|
71
|
-
Fs2FaVerificationMethodsComponent.prototype._setActiveMethod = function () {
|
|
72
|
-
var _a;
|
|
73
|
-
this.method = (_a = this._dialogData) === null || _a === void 0 ? void 0 : _a.method;
|
|
74
|
-
};
|
|
75
|
-
Fs2FaVerificationMethodsComponent.prototype._initMethods = function () {
|
|
76
|
-
this.methods$ = this._verificationProvider
|
|
77
|
-
.methods()
|
|
78
|
-
.pipe(operators.map(function (methods) {
|
|
79
|
-
return methods
|
|
80
|
-
.reduce(function (acc, method) {
|
|
81
|
-
if (!acc[method.type]) {
|
|
82
|
-
acc[method.type] = [];
|
|
83
|
-
}
|
|
84
|
-
acc[method.type].push(method);
|
|
85
|
-
return acc;
|
|
86
|
-
}, {});
|
|
87
|
-
}), operators.shareReplay(1));
|
|
88
|
-
};
|
|
89
|
-
return Fs2FaVerificationMethodsComponent;
|
|
90
|
-
}());
|
|
91
|
-
Fs2FaVerificationMethodsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaVerificationMethodsComponent, deps: [{ token: FS_2FA_VERIFICATION_PROVIDER }, { token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
92
|
-
Fs2FaVerificationMethodsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: Fs2FaVerificationMethodsComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog>\n <h1 mat-dialog-title>\n Verification Methods\n </h1>\n <form fsForm [submit]=\"setVerificationMethod\" [dirtySubmitButton]=\"false\">\n <mat-dialog-content>\n <ng-container *fsSkeleton=\"methods$ | async as methods\">\n <fs-radio-group [(ngModel)]=\"method\" name=\"method\" [compareWith]=\"compareWith\">\n <ng-container *ngFor=\"let methodMap of methods | keyvalue\">\n <div class=\"method\">\n <ng-container [ngSwitch]=\"methodMap.key\">\n <ng-container *ngSwitchCase=\"verificationMethodType.Sms\">\n <div class=\"method-header\">\n <div class=\"method-icon\">\n <mat-icon>\n
|
|
93
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaVerificationMethodsComponent, decorators: [{
|
|
94
|
-
type: i0.Component,
|
|
95
|
-
args: [{
|
|
96
|
-
templateUrl: './2fa-verification-methods.component.html',
|
|
97
|
-
styleUrls: [
|
|
98
|
-
'./2fa-verification-methods.component.scss',
|
|
99
|
-
],
|
|
100
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
101
|
-
}]
|
|
102
|
-
}], ctorParameters: function () {
|
|
103
|
-
return [{ type: undefined, decorators: [{
|
|
104
|
-
type: i0.Inject,
|
|
105
|
-
args: [FS_2FA_VERIFICATION_PROVIDER]
|
|
106
|
-
}] }, { type: undefined, decorators: [{
|
|
107
|
-
type: i0.Inject,
|
|
108
|
-
args: [i1.MAT_DIALOG_DATA]
|
|
109
|
-
}] }, { type: i1__namespace.MatDialogRef }];
|
|
49
|
+
var Fs2FaVerificationMethodsComponent = /** @class */ (function () {
|
|
50
|
+
function Fs2FaVerificationMethodsComponent(_verificationProvider, _dialogData, _dialogRef) {
|
|
51
|
+
var _this = this;
|
|
52
|
+
this._verificationProvider = _verificationProvider;
|
|
53
|
+
this._dialogData = _dialogData;
|
|
54
|
+
this._dialogRef = _dialogRef;
|
|
55
|
+
this.verificationMethodType = exports.FsVerificationMethodType;
|
|
56
|
+
this.setVerificationMethod = function () {
|
|
57
|
+
return _this._verificationProvider
|
|
58
|
+
.updateVerificationMethod(_this.method.id)
|
|
59
|
+
.pipe(operators.tap(function (method) {
|
|
60
|
+
_this._dialogRef.close(method);
|
|
61
|
+
}));
|
|
62
|
+
};
|
|
63
|
+
this._setActiveMethod();
|
|
64
|
+
this._initMethods();
|
|
65
|
+
}
|
|
66
|
+
Fs2FaVerificationMethodsComponent.prototype.compareWith = function (o1, o2) {
|
|
67
|
+
return o1 && o2 && o1.id === o2.id;
|
|
68
|
+
};
|
|
69
|
+
Fs2FaVerificationMethodsComponent.prototype._setActiveMethod = function () {
|
|
70
|
+
var _a;
|
|
71
|
+
this.method = (_a = this._dialogData) === null || _a === void 0 ? void 0 : _a.method;
|
|
72
|
+
};
|
|
73
|
+
Fs2FaVerificationMethodsComponent.prototype._initMethods = function () {
|
|
74
|
+
this.methods$ = this._verificationProvider
|
|
75
|
+
.methods()
|
|
76
|
+
.pipe(operators.map(function (methods) {
|
|
77
|
+
return methods
|
|
78
|
+
.reduce(function (acc, method) {
|
|
79
|
+
if (!acc[method.type]) {
|
|
80
|
+
acc[method.type] = [];
|
|
81
|
+
}
|
|
82
|
+
acc[method.type].push(method);
|
|
83
|
+
return acc;
|
|
84
|
+
}, {});
|
|
85
|
+
}), operators.shareReplay(1));
|
|
86
|
+
};
|
|
87
|
+
return Fs2FaVerificationMethodsComponent;
|
|
88
|
+
}());
|
|
89
|
+
Fs2FaVerificationMethodsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaVerificationMethodsComponent, deps: [{ token: FS_2FA_VERIFICATION_PROVIDER }, { token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
90
|
+
Fs2FaVerificationMethodsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: Fs2FaVerificationMethodsComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog>\n <h1 mat-dialog-title>\n Verification Methods\n </h1>\n <form fsForm [submit]=\"setVerificationMethod\" [dirtySubmitButton]=\"false\">\n <mat-dialog-content>\n <ng-container *fsSkeleton=\"methods$ | async as methods\">\n <fs-radio-group [(ngModel)]=\"method\" name=\"method\" [compareWith]=\"compareWith\">\n <ng-container *ngFor=\"let methodMap of methods | keyvalue\">\n <div class=\"method\">\n <ng-container [ngSwitch]=\"methodMap.key\">\n <ng-container *ngSwitchCase=\"verificationMethodType.Sms\">\n <div class=\"method-header\">\n <div class=\"method-icon\">\n <mat-icon>\n textsms\n </mat-icon>\n </div>\n <div class=\"method-name\">\n <div class=\"method-title\">Text Message</div>\n <div class=\"method-subtitle\">\n Verification code send to one of following mobile number\n </div>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"verificationMethodType.Email\">\n <div class=\"method-header\">\n <div class=\"method-icon\">\n <mat-icon>\n mail\n </mat-icon>\n </div>\n <div class=\"method-name\">\n <div class=\"method-title\">Email</div>\n <div class=\"method-subtitle\">\n Verification code send to one of following email\n </div>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"verificationMethodType.App\">\n <div class=\"method-header\">\n <div class=\"method-icon\">\n <mat-icon>\n phone_iphone\n </mat-icon>\n </div>\n <div class=\"method-name\">\n <div class=\"method-title\">Authenticator App</div>\n <div class=\"method-subtitle\">\n Verification code generated by an authenticator app\n </div>\n </div>\n </div>\n </ng-container> \n </ng-container>\n\n <mat-radio-button class=\"method-item\" *ngFor=\"let method of methodMap.value\" [value]=\"method\">\n <ng-container [ngSwitch]=\"methodMap.key\">\n <ng-container *ngSwitchCase=\"verificationMethodType.Sms\">\n {{ method.phoneNumber }}\n </ng-container>\n <ng-container *ngSwitchCase=\"verificationMethodType.Email\">\n {{ method.email }}\n </ng-container>\n <ng-container *ngSwitchCase=\"verificationMethodType.App\">\n Authenticator App\n </ng-container> \n </ng-container>\n </mat-radio-button>\n </div>\n </ng-container>\n </fs-radio-group>\n </ng-container>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div class=\"actions\">\n <ng-container *ngIf=\"methods$ | async\">\n <button mat-button type=\"submit\" color=\"primary\">Next</button>\n </ng-container>\n <button mat-button type=\"button\" [mat-dialog-close]=\"null\">Cancel</button>\n </div>\n </mat-dialog-actions>\n </form>\n</fs-dialog>\n", styles: [".method{display:block;margin-bottom:20px}.method .method-header{display:flex;align-items:flex-start}.method .method-header .method-name{margin-left:10px}.method .method-header .method-name .method-title{font-size:14px;font-weight:400}.method .method-header .method-name .method-subtitle{font-size:12px;color:#a3a3a3}.method .method-item{display:block;margin:10px 0 0 35px}\n"], components: [{ type: i1__namespace$1.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i3__namespace.FsRadioGroupComponent, selector: "fs-radio-group", inputs: ["orientation", "radioPosition", "compareWith", "required", "disabled", "label", "name"] }, { type: i4__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5__namespace.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { type: i6__namespace.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__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i7__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i7__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i7__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i8__namespace.FsFormDirective, selector: "[fsForm]", inputs: ["wrapperSelector", "messageSelector", "hintSelector", "labelSelector", "autocomplete", "shortcuts", "confirm", "confirmDialog", "confirmDrawer", "confirmBrowser", "confirmTabs", "dirtySubmitButton", "successDelay", "errorDelay", "submit", "tabGroup"], outputs: ["fsForm", "invalid", "valid", "submitted", "reseted", "cleared"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i9__namespace.ɵa, selector: "[fsSkeleton]", inputs: ["fsSkeletonPattern", "fsSkeleton"] }, { type: i7__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i10__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i10__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i10__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i10__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8__namespace.ɵw, selector: "button[type=\"submit\"]", inputs: ["dirtySubmit", "name"] }, { type: i1__namespace.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], pipes: { "async": i10__namespace.AsyncPipe, "keyvalue": i10__namespace.KeyValuePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
91
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaVerificationMethodsComponent, decorators: [{
|
|
92
|
+
type: i0.Component,
|
|
93
|
+
args: [{
|
|
94
|
+
templateUrl: './2fa-verification-methods.component.html',
|
|
95
|
+
styleUrls: [
|
|
96
|
+
'./2fa-verification-methods.component.scss',
|
|
97
|
+
],
|
|
98
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
99
|
+
}]
|
|
100
|
+
}], ctorParameters: function () {
|
|
101
|
+
return [{ type: undefined, decorators: [{
|
|
102
|
+
type: i0.Inject,
|
|
103
|
+
args: [FS_2FA_VERIFICATION_PROVIDER]
|
|
104
|
+
}] }, { type: undefined, decorators: [{
|
|
105
|
+
type: i0.Inject,
|
|
106
|
+
args: [i1.MAT_DIALOG_DATA]
|
|
107
|
+
}] }, { type: i1__namespace.MatDialogRef }];
|
|
110
108
|
} });
|
|
111
109
|
|
|
112
|
-
var
|
|
113
|
-
function
|
|
114
|
-
this.
|
|
115
|
-
this.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
this.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
i0__namespace.ɵɵ
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
selector: 'fs-2fa-verification-code',
|
|
162
|
-
templateUrl: './2fa-verification-code.component.html',
|
|
163
|
-
styleUrls: [
|
|
164
|
-
'./2fa-verification-code.component.scss',
|
|
165
|
-
],
|
|
166
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
167
|
-
viewProviders: [
|
|
168
|
-
{
|
|
169
|
-
provide: i7.ControlContainer,
|
|
170
|
-
useExisting: i7.NgForm,
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
}]
|
|
174
|
-
}], propDecorators: { method: [{
|
|
175
|
-
type: i0.Input
|
|
176
|
-
}], codeChange: [{
|
|
177
|
-
type: i0.Output
|
|
110
|
+
var Fs2FAVerificationCodeComponent = /** @class */ (function () {
|
|
111
|
+
function Fs2FAVerificationCodeComponent() {
|
|
112
|
+
this.codeChanged = new i0.EventEmitter();
|
|
113
|
+
this.codeCompleted = new i0.EventEmitter();
|
|
114
|
+
this.FsVerificationMethodType = exports.FsVerificationMethodType;
|
|
115
|
+
}
|
|
116
|
+
Fs2FAVerificationCodeComponent.prototype.codeChange = function (code) {
|
|
117
|
+
this.code = code;
|
|
118
|
+
this.codeChanged.emit(this.code);
|
|
119
|
+
};
|
|
120
|
+
Fs2FAVerificationCodeComponent.prototype.focus = function () {
|
|
121
|
+
this.codeInputComponent.focusOnField(0);
|
|
122
|
+
};
|
|
123
|
+
return Fs2FAVerificationCodeComponent;
|
|
124
|
+
}());
|
|
125
|
+
Fs2FAVerificationCodeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FAVerificationCodeComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
126
|
+
Fs2FAVerificationCodeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: Fs2FAVerificationCodeComponent, selector: "fs-2fa-verification-code", inputs: { method: "method", code: "code" }, outputs: { codeChanged: "codeChanged", codeCompleted: "codeCompleted" }, viewQueries: [{ propertyName: "codeInputComponent", first: true, predicate: i1$2.CodeInputComponent, descendants: true }], ngImport: i0__namespace, template: "<ng-container *ngIf=\"method.phoneNumber && method.type === FsVerificationMethodType.Sms\">\n <p class=\"description\">\n A text message with a verification code was just\n sent to <span style=\"white-space: nowrap;\">{{ method.phoneNumber }}</span> to verify it's you.\n </p>\n\n <ng-container *ngTemplateOutlet=\"input\"></ng-container>\n</ng-container>\n\n<ng-container *ngIf=\"method.type === FsVerificationMethodType.Email\">\n <p class=\"description\">\n A email with a verification code was just sent to {{ method.email }} to verify it's you.\n </p>\n <ng-container *ngTemplateOutlet=\"input\"></ng-container>\n</ng-container>\n\n<ng-container *ngIf=\"method.type === FsVerificationMethodType.App\">\n <p class=\"description\">\n Enter the verification code generated by your 2 factor authenticator app to verify it's you.\n </p>\n <ng-container *ngTemplateOutlet=\"input\"></ng-container>\n</ng-container>\n\n\n<ng-template #input> \n <code-input \n [code]=\"code\"\n [initialFocusField]=\"0\"\n [codeLength]=\"6\"\n (codeChanged)=\"codeChange($event)\"\n (codeCompleted)=\"codeCompleted.emit()\">\n </code-input> \n</ng-template> ", styles: ["mat-form-field{width:100%}mat-form-field ::ng-deep .mat-form-field-subscript-wrapper{min-height:unset!important}mat-form-field ::ng-deep .mat-form-field-subscript-wrapper .fs-form-error{padding-bottom:5px}code-input{margin-bottom:5px;--item-spacing: 10px;--item-height: 20px;--item-border: none;--item-border-bottom: 2px solid #949494;--item-border-has-value: none;--item-border-bottom-has-value: 2px solid #949494;--item-border-focused: none;--item-border-bottom-focused: 2px solid #0061AF;--item-shadow-focused: none;--item-border-radius: 0px}code-input ::ng-deep span:first-child{padding-left:0!important}code-input ::ng-deep span:last-child{padding-right:0!important}code-input ::ng-deep input{font-size:20px!important;height:40px!important;padding:0!important}\n"], components: [{ type: i1__namespace$2.CodeInputComponent, selector: "code-input", inputs: ["isNonDigitsCode", "codeLength", "inputType", "initialFocusField", "isCharsCode", "isCodeHidden", "isPrevFocusableAfterClearing", "isFocusingOnLastByClickIfFilled", "code", "disabled", "autocapitalize"], outputs: ["codeChanged", "codeCompleted"] }], directives: [{ type: i10__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], viewProviders: [
|
|
127
|
+
{
|
|
128
|
+
provide: i7.ControlContainer,
|
|
129
|
+
useExisting: i7.NgForm,
|
|
130
|
+
},
|
|
131
|
+
], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
132
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FAVerificationCodeComponent, decorators: [{
|
|
133
|
+
type: i0.Component,
|
|
134
|
+
args: [{
|
|
135
|
+
selector: 'fs-2fa-verification-code',
|
|
136
|
+
templateUrl: './2fa-verification-code.component.html',
|
|
137
|
+
styleUrls: [
|
|
138
|
+
'./2fa-verification-code.component.scss',
|
|
139
|
+
],
|
|
140
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
141
|
+
viewProviders: [
|
|
142
|
+
{
|
|
143
|
+
provide: i7.ControlContainer,
|
|
144
|
+
useExisting: i7.NgForm,
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
}]
|
|
148
|
+
}], propDecorators: { codeInputComponent: [{
|
|
149
|
+
type: i0.ViewChild,
|
|
150
|
+
args: [i1$2.CodeInputComponent]
|
|
151
|
+
}], method: [{
|
|
152
|
+
type: i0.Input
|
|
153
|
+
}], code: [{
|
|
154
|
+
type: i0.Input
|
|
155
|
+
}], codeChanged: [{
|
|
156
|
+
type: i0.Output
|
|
157
|
+
}], codeCompleted: [{
|
|
158
|
+
type: i0.Output
|
|
178
159
|
}] } });
|
|
179
160
|
|
|
180
|
-
var Fs2FAVerificationComponent = /** @class */ (function () {
|
|
181
|
-
function Fs2FAVerificationComponent(verificationProvider, _cdRef, _dialog) {
|
|
182
|
-
var _this = this;
|
|
183
|
-
this.verificationProvider = verificationProvider;
|
|
184
|
-
this._cdRef = _cdRef;
|
|
185
|
-
this._dialog = _dialog;
|
|
186
|
-
this.verified = new i0.EventEmitter();
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
191
|
-
this.
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
this.
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
};
|
|
217
|
-
Fs2FAVerificationComponent.prototype.
|
|
218
|
-
var _this = this;
|
|
219
|
-
this.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
.
|
|
225
|
-
.
|
|
226
|
-
.
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
161
|
+
var Fs2FAVerificationComponent = /** @class */ (function () {
|
|
162
|
+
function Fs2FAVerificationComponent(verificationProvider, _cdRef, _dialog) {
|
|
163
|
+
var _this = this;
|
|
164
|
+
this.verificationProvider = verificationProvider;
|
|
165
|
+
this._cdRef = _cdRef;
|
|
166
|
+
this._dialog = _dialog;
|
|
167
|
+
this.verified = new i0.EventEmitter();
|
|
168
|
+
this.codeChanged = new i0.EventEmitter();
|
|
169
|
+
this.codeCompleted = new i0.EventEmitter();
|
|
170
|
+
this.resendInProgress = false;
|
|
171
|
+
this.code = '';
|
|
172
|
+
this.trustedDevice = true;
|
|
173
|
+
this.FsVerificationMethodType = exports.FsVerificationMethodType;
|
|
174
|
+
this._destroy$ = new rxjs.Subject();
|
|
175
|
+
this.verify = function () {
|
|
176
|
+
return _this.verificationProvider
|
|
177
|
+
.verify(_this.code, _this.trustedDevice)
|
|
178
|
+
.pipe(operators.tap(function (response) {
|
|
179
|
+
_this.verified.emit(response);
|
|
180
|
+
}));
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
Fs2FAVerificationComponent.prototype.ngOnInit = function () {
|
|
184
|
+
var _this = this;
|
|
185
|
+
this.codeChanged
|
|
186
|
+
.pipe(operators.takeUntil(this._destroy$))
|
|
187
|
+
.subscribe(function (code) {
|
|
188
|
+
_this.code = code;
|
|
189
|
+
});
|
|
190
|
+
};
|
|
191
|
+
Fs2FAVerificationComponent.prototype.ngOnDestroy = function () {
|
|
192
|
+
this._destroy$.next();
|
|
193
|
+
this._destroy$.complete();
|
|
194
|
+
};
|
|
195
|
+
Fs2FAVerificationComponent.prototype.ngAfterViewInit = function () {
|
|
196
|
+
this.verificationCodeComponent.focus();
|
|
197
|
+
};
|
|
198
|
+
Fs2FAVerificationComponent.prototype.resend = function () {
|
|
199
|
+
var _this = this;
|
|
200
|
+
this.resendInProgress = true;
|
|
201
|
+
this.code = '';
|
|
202
|
+
this.verificationProvider
|
|
203
|
+
.resend()
|
|
204
|
+
.pipe(operators.takeUntil(this._destroy$))
|
|
205
|
+
.subscribe(function () {
|
|
206
|
+
_this.resendInProgress = false;
|
|
207
|
+
_this._cdRef.markForCheck();
|
|
208
|
+
});
|
|
209
|
+
};
|
|
210
|
+
Fs2FAVerificationComponent.prototype.showVerificationMethods = function () {
|
|
211
|
+
var _this = this;
|
|
212
|
+
this._dialog.open(Fs2FaVerificationMethodsComponent, {
|
|
213
|
+
data: {
|
|
214
|
+
method: this.method,
|
|
215
|
+
}
|
|
216
|
+
})
|
|
217
|
+
.afterClosed()
|
|
218
|
+
.pipe(operators.filter(function (method) { return !!method; }))
|
|
219
|
+
.subscribe(function (method) {
|
|
220
|
+
_this.method = method;
|
|
221
|
+
_this.code = '';
|
|
222
|
+
_this._cdRef.markForCheck();
|
|
223
|
+
setTimeout(function () {
|
|
224
|
+
_this.verificationCodeComponent.focus();
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
};
|
|
228
|
+
return Fs2FAVerificationComponent;
|
|
229
|
+
}());
|
|
230
|
+
Fs2FAVerificationComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FAVerificationComponent, deps: [{ token: FS_2FA_VERIFICATION_PROVIDER }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.FsDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
231
|
+
Fs2FAVerificationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: Fs2FAVerificationComponent, selector: "fs-2fa-verification", inputs: { method: "method" }, outputs: { verified: "verified", codeChanged: "codeChanged", codeCompleted: "codeCompleted" }, viewQueries: [{ propertyName: "verificationCodeComponent", first: true, predicate: Fs2FAVerificationCodeComponent, descendants: true }], ngImport: i0__namespace, template: "<div class=\"code-container\">\n <fs-2fa-verification-code\n [method]=\"method\"\n [code]=\"code\"\n (codeChanged)=\"codeChanged.emit($event)\"\n (codeCompleted)=\"codeCompleted.emit()\">\n </fs-2fa-verification-code>\n</div>\n\n<div class=\"additional\">\n <mat-checkbox\n name=\"trust-device\"\n [(ngModel)]=\"trustedDevice\">\n Trust this device\n </mat-checkbox>\n\n <span class=\"resend-code-btn\">\n <ng-container *ngIf=\"!resendInProgress else sending\">\n <a (click)=\"resend()\">\n Resend Code\n </a>\n </ng-container>\n <ng-template #sending>\n <mat-spinner [diameter]=\"12\"></mat-spinner> Sending\n </ng-template>\n </span>\n</div>", styles: [".code-container{text-align:center}.additional{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}.additional .resend-code-btn{cursor:pointer;text-transform:none}.additional .resend-code-btn mat-spinner{display:inline-block;vertical-align:middle}\n"], components: [{ type: Fs2FAVerificationCodeComponent, selector: "fs-2fa-verification-code", inputs: ["method", "code"], outputs: ["codeChanged", "codeCompleted"] }, { type: i3__namespace$1.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: i4__namespace$1.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i7__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i10__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
232
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FAVerificationComponent, decorators: [{
|
|
233
|
+
type: i0.Component,
|
|
234
|
+
args: [{
|
|
235
|
+
selector: 'fs-2fa-verification',
|
|
236
|
+
templateUrl: './2fa-verification.component.html',
|
|
237
|
+
styleUrls: [
|
|
238
|
+
'./2fa-verification.component.scss',
|
|
239
|
+
],
|
|
240
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
241
|
+
}]
|
|
242
|
+
}], ctorParameters: function () {
|
|
243
|
+
return [{ type: undefined, decorators: [{
|
|
244
|
+
type: i0.Inject,
|
|
245
|
+
args: [FS_2FA_VERIFICATION_PROVIDER]
|
|
246
|
+
}] }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.FsDialog }];
|
|
247
|
+
}, propDecorators: { verificationCodeComponent: [{
|
|
248
|
+
type: i0.ViewChild,
|
|
249
|
+
args: [Fs2FAVerificationCodeComponent]
|
|
250
|
+
}], method: [{
|
|
251
|
+
type: i0.Input
|
|
252
|
+
}], verified: [{
|
|
253
|
+
type: i0.Output
|
|
254
|
+
}], codeChanged: [{
|
|
255
|
+
type: i0.Output
|
|
256
|
+
}], codeCompleted: [{
|
|
257
|
+
type: i0.Output
|
|
259
258
|
}] } });
|
|
260
259
|
|
|
261
|
-
var Fs2FaModule = /** @class */ (function () {
|
|
262
|
-
function Fs2FaModule() {
|
|
263
|
-
}
|
|
264
|
-
return Fs2FaModule;
|
|
265
|
-
}());
|
|
266
|
-
Fs2FaModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
267
|
-
Fs2FaModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaModule, declarations: [Fs2FAVerificationComponent,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
i1$
|
|
278
|
-
|
|
279
|
-
i4$1.
|
|
280
|
-
|
|
281
|
-
i9.FsSkeletonModule,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
i1$
|
|
294
|
-
|
|
295
|
-
i4$1.
|
|
296
|
-
|
|
297
|
-
i9.FsSkeletonModule,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
i1$
|
|
314
|
-
|
|
315
|
-
i4$1.
|
|
316
|
-
|
|
317
|
-
i9.FsSkeletonModule,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
providers: [],
|
|
332
|
-
}]
|
|
260
|
+
var Fs2FaModule = /** @class */ (function () {
|
|
261
|
+
function Fs2FaModule() {
|
|
262
|
+
}
|
|
263
|
+
return Fs2FaModule;
|
|
264
|
+
}());
|
|
265
|
+
Fs2FaModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
266
|
+
Fs2FaModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaModule, declarations: [Fs2FAVerificationComponent,
|
|
267
|
+
Fs2FAVerificationCodeComponent,
|
|
268
|
+
Fs2FaVerificationMethodsComponent], imports: [i10.CommonModule,
|
|
269
|
+
i7.FormsModule,
|
|
270
|
+
formField.MatFormFieldModule,
|
|
271
|
+
input.MatInputModule,
|
|
272
|
+
i6.MatButtonModule,
|
|
273
|
+
i8.FsFormModule,
|
|
274
|
+
i3.FsRadioGroupModule,
|
|
275
|
+
i1$1.FsDialogModule,
|
|
276
|
+
i1$2.CodeInputModule,
|
|
277
|
+
i3$1.MatCheckboxModule,
|
|
278
|
+
i4$1.MatProgressSpinnerModule,
|
|
279
|
+
i9.FsSkeletonModule,
|
|
280
|
+
i9.FsSkeletonModule,
|
|
281
|
+
i4.MatIconModule,
|
|
282
|
+
i5.MatRadioModule], exports: [Fs2FAVerificationComponent] });
|
|
283
|
+
Fs2FaModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaModule, providers: [], imports: [[
|
|
284
|
+
i10.CommonModule,
|
|
285
|
+
i7.FormsModule,
|
|
286
|
+
formField.MatFormFieldModule,
|
|
287
|
+
input.MatInputModule,
|
|
288
|
+
i6.MatButtonModule,
|
|
289
|
+
i8.FsFormModule,
|
|
290
|
+
i3.FsRadioGroupModule,
|
|
291
|
+
i1$1.FsDialogModule,
|
|
292
|
+
i1$2.CodeInputModule,
|
|
293
|
+
i3$1.MatCheckboxModule,
|
|
294
|
+
i4$1.MatProgressSpinnerModule,
|
|
295
|
+
i9.FsSkeletonModule,
|
|
296
|
+
i9.FsSkeletonModule,
|
|
297
|
+
i4.MatIconModule,
|
|
298
|
+
i5.MatRadioModule,
|
|
299
|
+
]] });
|
|
300
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Fs2FaModule, decorators: [{
|
|
301
|
+
type: i0.NgModule,
|
|
302
|
+
args: [{
|
|
303
|
+
imports: [
|
|
304
|
+
i10.CommonModule,
|
|
305
|
+
i7.FormsModule,
|
|
306
|
+
formField.MatFormFieldModule,
|
|
307
|
+
input.MatInputModule,
|
|
308
|
+
i6.MatButtonModule,
|
|
309
|
+
i8.FsFormModule,
|
|
310
|
+
i3.FsRadioGroupModule,
|
|
311
|
+
i1$1.FsDialogModule,
|
|
312
|
+
i1$2.CodeInputModule,
|
|
313
|
+
i3$1.MatCheckboxModule,
|
|
314
|
+
i4$1.MatProgressSpinnerModule,
|
|
315
|
+
i9.FsSkeletonModule,
|
|
316
|
+
i9.FsSkeletonModule,
|
|
317
|
+
i4.MatIconModule,
|
|
318
|
+
i5.MatRadioModule,
|
|
319
|
+
],
|
|
320
|
+
declarations: [
|
|
321
|
+
Fs2FAVerificationComponent,
|
|
322
|
+
Fs2FAVerificationCodeComponent,
|
|
323
|
+
Fs2FaVerificationMethodsComponent,
|
|
324
|
+
],
|
|
325
|
+
exports: [
|
|
326
|
+
Fs2FAVerificationComponent,
|
|
327
|
+
],
|
|
328
|
+
providers: [],
|
|
329
|
+
}]
|
|
333
330
|
}] });
|
|
334
331
|
|
|
335
|
-
/*
|
|
336
|
-
* Public API Surface of fs-2fa
|
|
332
|
+
/*
|
|
333
|
+
* Public API Surface of fs-2fa
|
|
337
334
|
*/
|
|
338
335
|
|
|
339
|
-
/**
|
|
340
|
-
* Generated bundle index. Do not edit.
|
|
336
|
+
/**
|
|
337
|
+
* Generated bundle index. Do not edit.
|
|
341
338
|
*/
|
|
342
339
|
|
|
343
340
|
exports.FS_2FA_VERIFICATION_PROVIDER = FS_2FA_VERIFICATION_PROVIDER;
|