@firestitch/2fa 13.1.9 → 14.0.0
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/enums/index.d.ts +1 -1
- package/app/enums/verification-method-type.enum.d.ts +5 -5
- package/app/interfaces/index.d.ts +1 -1
- package/app/interfaces/verification-method.interface.d.ts +11 -11
- package/app/modules/code-input/code-input.module.d.ts +11 -11
- package/app/modules/code-input/components/code-input/code-input.component.d.ts +15 -15
- package/app/modules/code-input/components/code-input/index.d.ts +1 -1
- package/app/modules/code-input/index.d.ts +1 -1
- package/app/modules/defaulted/components/defaulted/defaulted.component.d.ts +5 -5
- package/app/modules/defaulted/components/defaulted/index.d.ts +1 -1
- package/app/modules/defaulted/defaulted.module.d.ts +7 -7
- package/app/modules/manage/components/2fa-manage/2fa-manage.component.d.ts +30 -30
- package/app/modules/manage/components/2fa-manage/index.d.ts +1 -1
- package/app/modules/manage/components/app/app.component.d.ts +32 -32
- package/app/modules/manage/components/app/index.d.ts +1 -1
- package/app/modules/manage/components/email/email.component.d.ts +27 -27
- package/app/modules/manage/components/email/index.d.ts +1 -1
- package/app/modules/manage/components/emails/emails.component.d.ts +19 -19
- package/app/modules/manage/components/emails/index.d.ts +1 -1
- package/app/modules/manage/components/manage-methods/index.d.ts +1 -1
- package/app/modules/manage/components/manage-methods/manage-methods.component.d.ts +35 -35
- package/app/modules/manage/components/number/index.d.ts +1 -1
- package/app/modules/manage/components/number/number.component.d.ts +28 -28
- package/app/modules/manage/components/numbers/index.d.ts +1 -1
- package/app/modules/manage/components/numbers/numbers.component.d.ts +20 -20
- package/app/modules/manage/fs-2f-manage.module.d.ts +33 -33
- package/app/modules/manage/services/index.d.ts +1 -1
- package/app/modules/manage/services/two-factor-manage.service.d.ts +52 -52
- package/app/modules/resend/components/resend/index.d.ts +1 -1
- package/app/modules/resend/components/resend/resend.component.d.ts +14 -14
- package/app/modules/resend/resend.module.d.ts +9 -9
- package/app/modules/verification/components/2fa-verification/2fa-verification.component.d.ts +39 -39
- package/app/modules/verification/components/2fa-verification-code/2fa-verification-code.component.d.ts +22 -22
- package/app/modules/verification/components/2fa-verification-methods/2fa-verification-methods.component.d.ts +22 -22
- package/app/modules/verification/directives/2fa-verification-resend.directive.d.ts +11 -11
- package/app/modules/verification/directives/index.d.ts +1 -1
- package/app/modules/verification/fs-2fa-verification.module.d.ts +25 -25
- package/app/modules/verification-methods/components/verification-methods/index.d.ts +1 -1
- package/app/modules/verification-methods/components/verification-methods/verification-methods.component.d.ts +26 -26
- package/app/modules/verification-methods/fs-2f-verification-methods.module.d.ts +14 -14
- package/app/modules/verification-methods/index.d.ts +1 -1
- package/esm2020/app/enums/index.mjs +1 -1
- package/esm2020/app/enums/verification-method-type.enum.mjs +6 -6
- package/esm2020/app/interfaces/index.mjs +1 -1
- package/esm2020/app/interfaces/verification-method.interface.mjs +1 -1
- package/esm2020/app/modules/code-input/code-input.module.mjs +36 -38
- package/esm2020/app/modules/code-input/components/code-input/code-input.component.mjs +39 -39
- package/esm2020/app/modules/code-input/components/code-input/index.mjs +1 -1
- package/esm2020/app/modules/code-input/index.mjs +1 -1
- package/esm2020/app/modules/defaulted/components/defaulted/defaulted.component.mjs +10 -10
- package/esm2020/app/modules/defaulted/components/defaulted/index.mjs +1 -1
- package/esm2020/app/modules/defaulted/defaulted.module.mjs +17 -17
- package/esm2020/app/modules/manage/components/2fa-manage/2fa-manage.component.mjs +97 -97
- package/esm2020/app/modules/manage/components/2fa-manage/index.mjs +1 -1
- package/esm2020/app/modules/manage/components/app/app.component.mjs +83 -83
- package/esm2020/app/modules/manage/components/app/index.mjs +1 -1
- package/esm2020/app/modules/manage/components/email/email.component.mjs +82 -82
- package/esm2020/app/modules/manage/components/email/index.mjs +1 -1
- package/esm2020/app/modules/manage/components/emails/emails.component.mjs +46 -46
- package/esm2020/app/modules/manage/components/emails/index.mjs +1 -1
- package/esm2020/app/modules/manage/components/manage-methods/index.mjs +1 -1
- package/esm2020/app/modules/manage/components/manage-methods/manage-methods.component.mjs +124 -124
- package/esm2020/app/modules/manage/components/number/index.mjs +1 -1
- package/esm2020/app/modules/manage/components/number/number.component.mjs +86 -86
- package/esm2020/app/modules/manage/components/numbers/index.mjs +1 -1
- package/esm2020/app/modules/manage/components/numbers/numbers.component.mjs +47 -47
- package/esm2020/app/modules/manage/fs-2f-manage.module.mjs +116 -118
- package/esm2020/app/modules/manage/services/index.mjs +1 -1
- package/esm2020/app/modules/manage/services/two-factor-manage.service.mjs +160 -160
- package/esm2020/app/modules/resend/components/resend/index.mjs +1 -1
- package/esm2020/app/modules/resend/components/resend/resend.component.mjs +34 -34
- package/esm2020/app/modules/resend/resend.module.mjs +28 -30
- package/esm2020/app/modules/verification/components/2fa-verification/2fa-verification.component.mjs +121 -121
- package/esm2020/app/modules/verification/components/2fa-verification-code/2fa-verification-code.component.mjs +60 -60
- package/esm2020/app/modules/verification/components/2fa-verification-methods/2fa-verification-methods.component.mjs +55 -55
- package/esm2020/app/modules/verification/directives/2fa-verification-resend.directive.mjs +31 -31
- package/esm2020/app/modules/verification/directives/index.mjs +1 -1
- package/esm2020/app/modules/verification/fs-2fa-verification.module.mjs +95 -97
- package/esm2020/app/modules/verification-methods/components/verification-methods/index.mjs +1 -1
- package/esm2020/app/modules/verification-methods/components/verification-methods/verification-methods.component.mjs +116 -116
- package/esm2020/app/modules/verification-methods/fs-2f-verification-methods.module.mjs +46 -48
- package/esm2020/app/modules/verification-methods/index.mjs +1 -1
- package/esm2020/firestitch-2fa.mjs +4 -4
- package/esm2020/public_api.mjs +8 -8
- package/fesm2015/firestitch-2fa.mjs +1271 -1281
- package/fesm2015/firestitch-2fa.mjs.map +1 -1
- package/fesm2020/firestitch-2fa.mjs +1259 -1269
- package/fesm2020/firestitch-2fa.mjs.map +1 -1
- package/{firestitch-2fa.d.ts → index.d.ts} +5 -5
- package/package.json +3 -3
- package/public_api.d.ts +9 -9
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/2fa-manage/2fa-manage.component";
|
|
3
|
-
import * as i2 from "./components/manage-methods/manage-methods.component";
|
|
4
|
-
import * as i3 from "./components/numbers/numbers.component";
|
|
5
|
-
import * as i4 from "./components/app/app.component";
|
|
6
|
-
import * as i5 from "./components/email/email.component";
|
|
7
|
-
import * as i6 from "./components/number/number.component";
|
|
8
|
-
import * as i7 from "./components/emails/emails.component";
|
|
9
|
-
import * as i8 from "@angular/common";
|
|
10
|
-
import * as i9 from "@angular/forms";
|
|
11
|
-
import * as i10 from "@angular/material/button";
|
|
12
|
-
import * as i11 from "@angular/material/dialog";
|
|
13
|
-
import * as i12 from "@angular/material/input";
|
|
14
|
-
import * as i13 from "@angular/material/icon";
|
|
15
|
-
import * as i14 from "@angular/material/checkbox";
|
|
16
|
-
import * as i15 from "@firestitch/dialog";
|
|
17
|
-
import * as i16 from "@firestitch/list";
|
|
18
|
-
import * as i17 from "@firestitch/form";
|
|
19
|
-
import * as i18 from "@firestitch/label";
|
|
20
|
-
import * as i19 from "@firestitch/phone";
|
|
21
|
-
import * as i20 from "@firestitch/skeleton";
|
|
22
|
-
import * as i21 from "@firestitch/country";
|
|
23
|
-
import * as i22 from "@firestitch/qrcode";
|
|
24
|
-
import * as i23 from "../code-input/code-input.module";
|
|
25
|
-
import * as i24 from "../resend/resend.module";
|
|
26
|
-
import * as i25 from "../defaulted/defaulted.module";
|
|
27
|
-
import * as i26 from "../verification/fs-2fa-verification.module";
|
|
28
|
-
import * as i27 from "../verification-methods/fs-2f-verification-methods.module";
|
|
29
|
-
export declare class Fs2faManageModule {
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faManageModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<Fs2faManageModule, [typeof i1.Fs2faManageComponent, typeof i2.ManageMethodsComponent, typeof i3.NumbersComponent, typeof i4.AppComponent, typeof i5.EmailComponent, typeof i6.NumberComponent, typeof i7.EmailsComponent], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.MatButtonModule, typeof i11.MatDialogModule, typeof i12.MatInputModule, typeof i13.MatIconModule, typeof i14.MatCheckboxModule, typeof i15.FsDialogModule, typeof i16.FsListModule, typeof i17.FsFormModule, typeof i18.FsLabelModule, typeof i19.FsPhoneModule, typeof i20.FsSkeletonModule, typeof i21.FsCountryModule, typeof i22.FsQrcodeModule, typeof i23.CodeInputModule, typeof i24.ResendModule, typeof i25.DefautledModule, typeof i26.Fs2faVerificationModule, typeof i27.Fs2faVerificationMethodsModule], [typeof i1.Fs2faManageComponent]>;
|
|
32
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<Fs2faManageModule>;
|
|
33
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/2fa-manage/2fa-manage.component";
|
|
3
|
+
import * as i2 from "./components/manage-methods/manage-methods.component";
|
|
4
|
+
import * as i3 from "./components/numbers/numbers.component";
|
|
5
|
+
import * as i4 from "./components/app/app.component";
|
|
6
|
+
import * as i5 from "./components/email/email.component";
|
|
7
|
+
import * as i6 from "./components/number/number.component";
|
|
8
|
+
import * as i7 from "./components/emails/emails.component";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
11
|
+
import * as i10 from "@angular/material/button";
|
|
12
|
+
import * as i11 from "@angular/material/dialog";
|
|
13
|
+
import * as i12 from "@angular/material/input";
|
|
14
|
+
import * as i13 from "@angular/material/icon";
|
|
15
|
+
import * as i14 from "@angular/material/checkbox";
|
|
16
|
+
import * as i15 from "@firestitch/dialog";
|
|
17
|
+
import * as i16 from "@firestitch/list";
|
|
18
|
+
import * as i17 from "@firestitch/form";
|
|
19
|
+
import * as i18 from "@firestitch/label";
|
|
20
|
+
import * as i19 from "@firestitch/phone";
|
|
21
|
+
import * as i20 from "@firestitch/skeleton";
|
|
22
|
+
import * as i21 from "@firestitch/country";
|
|
23
|
+
import * as i22 from "@firestitch/qrcode";
|
|
24
|
+
import * as i23 from "../code-input/code-input.module";
|
|
25
|
+
import * as i24 from "../resend/resend.module";
|
|
26
|
+
import * as i25 from "../defaulted/defaulted.module";
|
|
27
|
+
import * as i26 from "../verification/fs-2fa-verification.module";
|
|
28
|
+
import * as i27 from "../verification-methods/fs-2f-verification-methods.module";
|
|
29
|
+
export declare class Fs2faManageModule {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faManageModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<Fs2faManageModule, [typeof i1.Fs2faManageComponent, typeof i2.ManageMethodsComponent, typeof i3.NumbersComponent, typeof i4.AppComponent, typeof i5.EmailComponent, typeof i6.NumberComponent, typeof i7.EmailsComponent], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.MatButtonModule, typeof i11.MatDialogModule, typeof i12.MatInputModule, typeof i13.MatIconModule, typeof i14.MatCheckboxModule, typeof i15.FsDialogModule, typeof i16.FsListModule, typeof i17.FsFormModule, typeof i18.FsLabelModule, typeof i19.FsPhoneModule, typeof i20.FsSkeletonModule, typeof i21.FsCountryModule, typeof i22.FsQrcodeModule, typeof i23.CodeInputModule, typeof i24.ResendModule, typeof i25.DefautledModule, typeof i26.Fs2faVerificationModule, typeof i27.Fs2faVerificationMethodsModule], [typeof i1.Fs2faManageComponent]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<Fs2faManageModule>;
|
|
33
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './two-factor-manage.service';
|
|
1
|
+
export * from './two-factor-manage.service';
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TwoFactorManageService implements OnDestroy {
|
|
6
|
-
private _dialog;
|
|
7
|
-
private _destroy$;
|
|
8
|
-
private _verificationMethodsFetch;
|
|
9
|
-
private _verificationMethodCreate;
|
|
10
|
-
private _verificationMethodDelete;
|
|
11
|
-
private _verificationMethodDefault;
|
|
12
|
-
private _verificationMethodVerify;
|
|
13
|
-
private _verificationMethodResend;
|
|
14
|
-
private _accountVerify;
|
|
15
|
-
private _verificationMethods$;
|
|
16
|
-
constructor(_dialog: MatDialog);
|
|
17
|
-
get verificationMethods$(): Observable<any[]>;
|
|
18
|
-
get verificationMethods(): any[];
|
|
19
|
-
get hasVerificationMethods(): boolean;
|
|
20
|
-
get emailVerificationMethods(): any[];
|
|
21
|
-
get smsVerificationMethods(): any[];
|
|
22
|
-
get appVerificationMethods(): any[];
|
|
23
|
-
getVerificationMethods(type: any): any[];
|
|
24
|
-
hasVerificationMethod(type: any): boolean;
|
|
25
|
-
registerVerificationMethodDefault(value: any): void;
|
|
26
|
-
registerVerificationMethodResend(value: any): void;
|
|
27
|
-
registerVerificationMethodsFetch(value: any): void;
|
|
28
|
-
registerVerificationMethodDelete(value: any): void;
|
|
29
|
-
registerVerificationMethodCreate(value: any): void;
|
|
30
|
-
registerVerificationMethodVerify(value: any): void;
|
|
31
|
-
registerAccountVerify(value: any): void;
|
|
32
|
-
get hasVerificationMethodResend(): boolean;
|
|
33
|
-
get hasVerificationMethodDefault(): boolean;
|
|
34
|
-
get hasVerificationMethodsFetch(): boolean;
|
|
35
|
-
get hasVerificationMethodDelete(): boolean;
|
|
36
|
-
get hasVerificationMethodCreate(): boolean;
|
|
37
|
-
get hasVerificationMethodVerify(): boolean;
|
|
38
|
-
verificationMethodDelete$(verificationMethod: any): Observable<any>;
|
|
39
|
-
verificationMethodVerify$(code: any, trustDevice: any): Observable<any>;
|
|
40
|
-
verificationMethodCreate$(verificationMethod: any): Observable<any>;
|
|
41
|
-
verificationMethodDefault$(verificationMethod: any): Observable<any>;
|
|
42
|
-
verificationMethodResend(): Observable<any>;
|
|
43
|
-
verificationMethodsFetch(query?: any): void;
|
|
44
|
-
verificationMethodsFetch$(query?: any): Observable<any>;
|
|
45
|
-
accountVerify$(): Observable<any>;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
addSms$(defaultCountry: any): Observable<any>;
|
|
48
|
-
addEmail$(): Observable<any>;
|
|
49
|
-
addApp$(): Observable<any>;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorManageService, never>;
|
|
51
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TwoFactorManageService>;
|
|
52
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TwoFactorManageService implements OnDestroy {
|
|
6
|
+
private _dialog;
|
|
7
|
+
private _destroy$;
|
|
8
|
+
private _verificationMethodsFetch;
|
|
9
|
+
private _verificationMethodCreate;
|
|
10
|
+
private _verificationMethodDelete;
|
|
11
|
+
private _verificationMethodDefault;
|
|
12
|
+
private _verificationMethodVerify;
|
|
13
|
+
private _verificationMethodResend;
|
|
14
|
+
private _accountVerify;
|
|
15
|
+
private _verificationMethods$;
|
|
16
|
+
constructor(_dialog: MatDialog);
|
|
17
|
+
get verificationMethods$(): Observable<any[]>;
|
|
18
|
+
get verificationMethods(): any[];
|
|
19
|
+
get hasVerificationMethods(): boolean;
|
|
20
|
+
get emailVerificationMethods(): any[];
|
|
21
|
+
get smsVerificationMethods(): any[];
|
|
22
|
+
get appVerificationMethods(): any[];
|
|
23
|
+
getVerificationMethods(type: any): any[];
|
|
24
|
+
hasVerificationMethod(type: any): boolean;
|
|
25
|
+
registerVerificationMethodDefault(value: any): void;
|
|
26
|
+
registerVerificationMethodResend(value: any): void;
|
|
27
|
+
registerVerificationMethodsFetch(value: any): void;
|
|
28
|
+
registerVerificationMethodDelete(value: any): void;
|
|
29
|
+
registerVerificationMethodCreate(value: any): void;
|
|
30
|
+
registerVerificationMethodVerify(value: any): void;
|
|
31
|
+
registerAccountVerify(value: any): void;
|
|
32
|
+
get hasVerificationMethodResend(): boolean;
|
|
33
|
+
get hasVerificationMethodDefault(): boolean;
|
|
34
|
+
get hasVerificationMethodsFetch(): boolean;
|
|
35
|
+
get hasVerificationMethodDelete(): boolean;
|
|
36
|
+
get hasVerificationMethodCreate(): boolean;
|
|
37
|
+
get hasVerificationMethodVerify(): boolean;
|
|
38
|
+
verificationMethodDelete$(verificationMethod: any): Observable<any>;
|
|
39
|
+
verificationMethodVerify$(code: any, trustDevice: any): Observable<any>;
|
|
40
|
+
verificationMethodCreate$(verificationMethod: any): Observable<any>;
|
|
41
|
+
verificationMethodDefault$(verificationMethod: any): Observable<any>;
|
|
42
|
+
verificationMethodResend(): Observable<any>;
|
|
43
|
+
verificationMethodsFetch(query?: any): void;
|
|
44
|
+
verificationMethodsFetch$(query?: any): Observable<any>;
|
|
45
|
+
accountVerify$(): Observable<any>;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
addSms$(defaultCountry: any): Observable<any>;
|
|
48
|
+
addEmail$(): Observable<any>;
|
|
49
|
+
addApp$(): Observable<any>;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TwoFactorManageService, never>;
|
|
51
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TwoFactorManageService>;
|
|
52
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './resend.component';
|
|
1
|
+
export * from './resend.component';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ResendComponent {
|
|
5
|
-
private _cdRef;
|
|
6
|
-
resend: () => Observable<any>;
|
|
7
|
-
resendInProgress: boolean;
|
|
8
|
-
private _destroy$;
|
|
9
|
-
constructor(_cdRef: ChangeDetectorRef);
|
|
10
|
-
resendClick(): void;
|
|
11
|
-
ngOnDestroy(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResendComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResendComponent, "app-resend", never, { "resend": "resend"; }, {}, never, never>;
|
|
14
|
-
}
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ResendComponent {
|
|
5
|
+
private _cdRef;
|
|
6
|
+
resend: () => Observable<any>;
|
|
7
|
+
resendInProgress: boolean;
|
|
8
|
+
private _destroy$;
|
|
9
|
+
constructor(_cdRef: ChangeDetectorRef);
|
|
10
|
+
resendClick(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResendComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResendComponent, "app-resend", never, { "resend": "resend"; }, {}, never, never, false>;
|
|
14
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/resend/resend.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/material/progress-spinner";
|
|
5
|
-
export declare class ResendModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResendModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ResendModule, [typeof i1.ResendComponent], [typeof i2.CommonModule, typeof i3.MatProgressSpinnerModule], [typeof i1.ResendComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ResendModule>;
|
|
9
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/resend/resend.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/progress-spinner";
|
|
5
|
+
export declare class ResendModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResendModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ResendModule, [typeof i1.ResendComponent], [typeof i2.CommonModule, typeof i3.MatProgressSpinnerModule], [typeof i1.ResendComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ResendModule>;
|
|
9
|
+
}
|
package/app/modules/verification/components/2fa-verification/2fa-verification.component.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FsDialog } from '@firestitch/dialog';
|
|
3
|
-
import { FsMessage } from '@firestitch/message';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { VerificationMethodType } from '../../../../enums/verification-method-type.enum';
|
|
6
|
-
import { IFsVerificationMethod } from '../../../../interfaces/verification-method.interface';
|
|
7
|
-
import { Fs2faVerificationCodeComponent } from '../2fa-verification-code/2fa-verification-code.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class Fs2faVerificationComponent implements OnDestroy, AfterViewInit {
|
|
10
|
-
private _cdRef;
|
|
11
|
-
private _dialog;
|
|
12
|
-
private _message;
|
|
13
|
-
verificationCodeComponent: Fs2faVerificationCodeComponent;
|
|
14
|
-
verificationMethod: IFsVerificationMethod;
|
|
15
|
-
resend: () => Observable<void>;
|
|
16
|
-
showTrustedDevice: boolean;
|
|
17
|
-
trustDevice: boolean;
|
|
18
|
-
codeLength: any;
|
|
19
|
-
trustDays: any;
|
|
20
|
-
formatRecipient: boolean;
|
|
21
|
-
getVerificationMethods: () => Observable<IFsVerificationMethod[]>;
|
|
22
|
-
selectVerificationMethod: (verificationMethod: IFsVerificationMethod) => Observable<IFsVerificationMethod>;
|
|
23
|
-
verified: EventEmitter<unknown>;
|
|
24
|
-
codeChanged: EventEmitter<unknown>;
|
|
25
|
-
codeCompleted: EventEmitter<unknown>;
|
|
26
|
-
trustDeviceChange: EventEmitter<boolean>;
|
|
27
|
-
code: string;
|
|
28
|
-
VerificationMethodType: typeof VerificationMethodType;
|
|
29
|
-
private _destroy$;
|
|
30
|
-
constructor(_cdRef: ChangeDetectorRef, _dialog: FsDialog, _message: FsMessage);
|
|
31
|
-
get recipient(): string;
|
|
32
|
-
codeComplete(code: any): void;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
ngAfterViewInit(): void;
|
|
35
|
-
resendCode(): Observable<any>;
|
|
36
|
-
showVerificationMethods(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Fs2faVerificationComponent, "fs-2fa-verification", never, { "verificationMethod": "verificationMethod"; "resend": "resend"; "showTrustedDevice": "showTrustedDevice"; "trustDevice": "trustDevice"; "codeLength": "codeLength"; "trustDays": "trustDays"; "formatRecipient": "formatRecipient"; "getVerificationMethods": "getVerificationMethods"; "selectVerificationMethod": "selectVerificationMethod"; }, { "verified": "verified"; "codeChanged": "codeChanged"; "codeCompleted": "codeCompleted"; "trustDeviceChange": "trustDeviceChange"; }, never, never>;
|
|
39
|
-
}
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FsDialog } from '@firestitch/dialog';
|
|
3
|
+
import { FsMessage } from '@firestitch/message';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { VerificationMethodType } from '../../../../enums/verification-method-type.enum';
|
|
6
|
+
import { IFsVerificationMethod } from '../../../../interfaces/verification-method.interface';
|
|
7
|
+
import { Fs2faVerificationCodeComponent } from '../2fa-verification-code/2fa-verification-code.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class Fs2faVerificationComponent implements OnDestroy, AfterViewInit {
|
|
10
|
+
private _cdRef;
|
|
11
|
+
private _dialog;
|
|
12
|
+
private _message;
|
|
13
|
+
verificationCodeComponent: Fs2faVerificationCodeComponent;
|
|
14
|
+
verificationMethod: IFsVerificationMethod;
|
|
15
|
+
resend: () => Observable<void>;
|
|
16
|
+
showTrustedDevice: boolean;
|
|
17
|
+
trustDevice: boolean;
|
|
18
|
+
codeLength: any;
|
|
19
|
+
trustDays: any;
|
|
20
|
+
formatRecipient: boolean;
|
|
21
|
+
getVerificationMethods: () => Observable<IFsVerificationMethod[]>;
|
|
22
|
+
selectVerificationMethod: (verificationMethod: IFsVerificationMethod) => Observable<IFsVerificationMethod>;
|
|
23
|
+
verified: EventEmitter<unknown>;
|
|
24
|
+
codeChanged: EventEmitter<unknown>;
|
|
25
|
+
codeCompleted: EventEmitter<unknown>;
|
|
26
|
+
trustDeviceChange: EventEmitter<boolean>;
|
|
27
|
+
code: string;
|
|
28
|
+
VerificationMethodType: typeof VerificationMethodType;
|
|
29
|
+
private _destroy$;
|
|
30
|
+
constructor(_cdRef: ChangeDetectorRef, _dialog: FsDialog, _message: FsMessage);
|
|
31
|
+
get recipient(): string;
|
|
32
|
+
codeComplete(code: any): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
ngAfterViewInit(): void;
|
|
35
|
+
resendCode(): Observable<any>;
|
|
36
|
+
showVerificationMethods(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Fs2faVerificationComponent, "fs-2fa-verification", never, { "verificationMethod": "verificationMethod"; "resend": "resend"; "showTrustedDevice": "showTrustedDevice"; "trustDevice": "trustDevice"; "codeLength": "codeLength"; "trustDays": "trustDays"; "formatRecipient": "formatRecipient"; "getVerificationMethods": "getVerificationMethods"; "selectVerificationMethod": "selectVerificationMethod"; }, { "verified": "verified"; "codeChanged": "codeChanged"; "codeCompleted": "codeCompleted"; "trustDeviceChange": "trustDeviceChange"; }, never, never, false>;
|
|
39
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FsFormDirective } from '@firestitch/form';
|
|
3
|
-
import { VerificationMethodType } from '../../../../enums/verification-method-type.enum';
|
|
4
|
-
import { CodeInputComponent } from '../../../../modules/code-input/components/code-input';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class Fs2faVerificationCodeComponent {
|
|
7
|
-
private _form;
|
|
8
|
-
codeInputComponent: CodeInputComponent;
|
|
9
|
-
type: VerificationMethodType;
|
|
10
|
-
recipient: string;
|
|
11
|
-
codeLength: any;
|
|
12
|
-
code: any;
|
|
13
|
-
codeChanged: EventEmitter<string>;
|
|
14
|
-
codeCompleted: EventEmitter<void>;
|
|
15
|
-
VerificationMethodType: typeof VerificationMethodType;
|
|
16
|
-
constructor(_form: FsFormDirective);
|
|
17
|
-
codeComplete(code: any): void;
|
|
18
|
-
codeChange(code: any): void;
|
|
19
|
-
focus(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationCodeComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Fs2faVerificationCodeComponent, "fs-2fa-verification-code", never, { "type": "type"; "recipient": "recipient"; "codeLength": "codeLength"; "code": "code"; }, { "codeChanged": "codeChanged"; "codeCompleted": "codeCompleted"; }, never, never>;
|
|
22
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FsFormDirective } from '@firestitch/form';
|
|
3
|
+
import { VerificationMethodType } from '../../../../enums/verification-method-type.enum';
|
|
4
|
+
import { CodeInputComponent } from '../../../../modules/code-input/components/code-input';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class Fs2faVerificationCodeComponent {
|
|
7
|
+
private _form;
|
|
8
|
+
codeInputComponent: CodeInputComponent;
|
|
9
|
+
type: VerificationMethodType;
|
|
10
|
+
recipient: string;
|
|
11
|
+
codeLength: any;
|
|
12
|
+
code: any;
|
|
13
|
+
codeChanged: EventEmitter<string>;
|
|
14
|
+
codeCompleted: EventEmitter<void>;
|
|
15
|
+
VerificationMethodType: typeof VerificationMethodType;
|
|
16
|
+
constructor(_form: FsFormDirective);
|
|
17
|
+
codeComplete(code: any): void;
|
|
18
|
+
codeChange(code: any): void;
|
|
19
|
+
focus(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationCodeComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Fs2faVerificationCodeComponent, "fs-2fa-verification-code", never, { "type": "type"; "recipient": "recipient"; "codeLength": "codeLength"; "code": "code"; }, { "codeChanged": "codeChanged"; "codeCompleted": "codeCompleted"; }, never, never, false>;
|
|
22
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { VerificationMethodType } from '../../../../enums/verification-method-type.enum';
|
|
4
|
-
import { IFsVerificationMethod } from '../../../../interfaces/verification-method.interface';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class Fs2faVerificationMethodsComponent {
|
|
7
|
-
private _dialogData;
|
|
8
|
-
private _dialogRef;
|
|
9
|
-
verificationMethod: IFsVerificationMethod;
|
|
10
|
-
phone: string;
|
|
11
|
-
code: string;
|
|
12
|
-
verificationMethods: Record<string, IFsVerificationMethod[]>;
|
|
13
|
-
readonly verificationMethodType: typeof VerificationMethodType;
|
|
14
|
-
private _selectVerificationMethod;
|
|
15
|
-
constructor(_dialogData: any, _dialogRef: MatDialogRef<Fs2faVerificationMethodsComponent>);
|
|
16
|
-
compareWith(o1: any, o2: any): boolean;
|
|
17
|
-
setVerificationMethod: () => Observable<IFsVerificationMethod>;
|
|
18
|
-
private _setActiveMethod;
|
|
19
|
-
private _initMethods;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationMethodsComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Fs2faVerificationMethodsComponent, "ng-component", never, {}, {}, never, never>;
|
|
22
|
-
}
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { VerificationMethodType } from '../../../../enums/verification-method-type.enum';
|
|
4
|
+
import { IFsVerificationMethod } from '../../../../interfaces/verification-method.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class Fs2faVerificationMethodsComponent {
|
|
7
|
+
private _dialogData;
|
|
8
|
+
private _dialogRef;
|
|
9
|
+
verificationMethod: IFsVerificationMethod;
|
|
10
|
+
phone: string;
|
|
11
|
+
code: string;
|
|
12
|
+
verificationMethods: Record<string, IFsVerificationMethod[]>;
|
|
13
|
+
readonly verificationMethodType: typeof VerificationMethodType;
|
|
14
|
+
private _selectVerificationMethod;
|
|
15
|
+
constructor(_dialogData: any, _dialogRef: MatDialogRef<Fs2faVerificationMethodsComponent>);
|
|
16
|
+
compareWith(o1: any, o2: any): boolean;
|
|
17
|
+
setVerificationMethod: () => Observable<IFsVerificationMethod>;
|
|
18
|
+
private _setActiveMethod;
|
|
19
|
+
private _initMethods;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationMethodsComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Fs2faVerificationMethodsComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
22
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { MatButton } from '@angular/material/button';
|
|
2
|
-
import { Fs2faVerificationComponent } from '../components/2fa-verification/2fa-verification.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class Fs2faVerificationResendDirective {
|
|
5
|
-
private _button;
|
|
6
|
-
verification: Fs2faVerificationComponent;
|
|
7
|
-
click(): void;
|
|
8
|
-
constructor(_button: MatButton);
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationResendDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Fs2faVerificationResendDirective, "[fs2faVerificationResend]", never, { "verification": "fs2faVerificationResend"; }, {}, never>;
|
|
11
|
-
}
|
|
1
|
+
import { MatButton } from '@angular/material/button';
|
|
2
|
+
import { Fs2faVerificationComponent } from '../components/2fa-verification/2fa-verification.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class Fs2faVerificationResendDirective {
|
|
5
|
+
private _button;
|
|
6
|
+
verification: Fs2faVerificationComponent;
|
|
7
|
+
click(): void;
|
|
8
|
+
constructor(_button: MatButton);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationResendDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Fs2faVerificationResendDirective, "[fs2faVerificationResend]", never, { "verification": "fs2faVerificationResend"; }, {}, never, never, false>;
|
|
11
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './2fa-verification-resend.directive';
|
|
1
|
+
export * from './2fa-verification-resend.directive';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/2fa-verification/2fa-verification.component";
|
|
3
|
-
import * as i2 from "./components/2fa-verification-code/2fa-verification-code.component";
|
|
4
|
-
import * as i3 from "./components/2fa-verification-methods/2fa-verification-methods.component";
|
|
5
|
-
import * as i4 from "./directives/2fa-verification-resend.directive";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
import * as i7 from "@angular/material/form-field";
|
|
9
|
-
import * as i8 from "@angular/material/input";
|
|
10
|
-
import * as i9 from "@angular/material/button";
|
|
11
|
-
import * as i10 from "@angular/material/icon";
|
|
12
|
-
import * as i11 from "@angular/material/radio";
|
|
13
|
-
import * as i12 from "@angular/material/checkbox";
|
|
14
|
-
import * as i13 from "@firestitch/form";
|
|
15
|
-
import * as i14 from "@firestitch/radiogroup";
|
|
16
|
-
import * as i15 from "@firestitch/dialog";
|
|
17
|
-
import * as i16 from "@firestitch/skeleton";
|
|
18
|
-
import * as i17 from "@firestitch/phone";
|
|
19
|
-
import * as i18 from "../resend/resend.module";
|
|
20
|
-
import * as i19 from "../code-input/code-input.module";
|
|
21
|
-
export declare class Fs2faVerificationModule {
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<Fs2faVerificationModule, [typeof i1.Fs2faVerificationComponent, typeof i2.Fs2faVerificationCodeComponent, typeof i3.Fs2faVerificationMethodsComponent, typeof i4.Fs2faVerificationResendDirective], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatButtonModule, typeof i10.MatIconModule, typeof i11.MatRadioModule, typeof i12.MatCheckboxModule, typeof i13.FsFormModule, typeof i14.FsRadioGroupModule, typeof i15.FsDialogModule, typeof i16.FsSkeletonModule, typeof i17.FsPhoneModule, typeof i16.FsSkeletonModule, typeof i18.ResendModule, typeof i19.CodeInputModule], [typeof i1.Fs2faVerificationComponent, typeof i4.Fs2faVerificationResendDirective]>;
|
|
24
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<Fs2faVerificationModule>;
|
|
25
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/2fa-verification/2fa-verification.component";
|
|
3
|
+
import * as i2 from "./components/2fa-verification-code/2fa-verification-code.component";
|
|
4
|
+
import * as i3 from "./components/2fa-verification-methods/2fa-verification-methods.component";
|
|
5
|
+
import * as i4 from "./directives/2fa-verification-resend.directive";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "@angular/material/form-field";
|
|
9
|
+
import * as i8 from "@angular/material/input";
|
|
10
|
+
import * as i9 from "@angular/material/button";
|
|
11
|
+
import * as i10 from "@angular/material/icon";
|
|
12
|
+
import * as i11 from "@angular/material/radio";
|
|
13
|
+
import * as i12 from "@angular/material/checkbox";
|
|
14
|
+
import * as i13 from "@firestitch/form";
|
|
15
|
+
import * as i14 from "@firestitch/radiogroup";
|
|
16
|
+
import * as i15 from "@firestitch/dialog";
|
|
17
|
+
import * as i16 from "@firestitch/skeleton";
|
|
18
|
+
import * as i17 from "@firestitch/phone";
|
|
19
|
+
import * as i18 from "../resend/resend.module";
|
|
20
|
+
import * as i19 from "../code-input/code-input.module";
|
|
21
|
+
export declare class Fs2faVerificationModule {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<Fs2faVerificationModule, [typeof i1.Fs2faVerificationComponent, typeof i2.Fs2faVerificationCodeComponent, typeof i3.Fs2faVerificationMethodsComponent, typeof i4.Fs2faVerificationResendDirective], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatButtonModule, typeof i10.MatIconModule, typeof i11.MatRadioModule, typeof i12.MatCheckboxModule, typeof i13.FsFormModule, typeof i14.FsRadioGroupModule, typeof i15.FsDialogModule, typeof i16.FsSkeletonModule, typeof i17.FsPhoneModule, typeof i16.FsSkeletonModule, typeof i18.ResendModule, typeof i19.CodeInputModule], [typeof i1.Fs2faVerificationComponent, typeof i4.Fs2faVerificationResendDirective]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<Fs2faVerificationModule>;
|
|
25
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './verification-methods.component';
|
|
1
|
+
export * from './verification-methods.component';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { FsListComponent, FsListConfig } from '@firestitch/list';
|
|
3
|
-
import { FsPrompt } from '@firestitch/prompt';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { IFsVerificationMethod } from '../../../../interfaces';
|
|
6
|
-
import { VerificationMethodType } from '../../../../enums';
|
|
7
|
-
import { TwoFactorManageService } from '../../../manage/services';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class VerificationMethodsComponent implements OnInit {
|
|
10
|
-
private _prompt;
|
|
11
|
-
list: FsListComponent;
|
|
12
|
-
type: VerificationMethodType;
|
|
13
|
-
accountVerify: () => Observable<any>;
|
|
14
|
-
verificationMethodsFetch: (query: any) => Observable<IFsVerificationMethod[]>;
|
|
15
|
-
verificationMethodDelete: (verificationMethod: IFsVerificationMethod) => Observable<any>;
|
|
16
|
-
verificationMethodDefault: (verificationMethod: IFsVerificationMethod) => Observable<any>;
|
|
17
|
-
twoFactorManageService: TwoFactorManageService;
|
|
18
|
-
deleted: EventEmitter<any>;
|
|
19
|
-
listConfig: FsListConfig;
|
|
20
|
-
VerificationMethodType: typeof VerificationMethodType;
|
|
21
|
-
constructor(_prompt: FsPrompt);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
reload(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerificationMethodsComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerificationMethodsComponent, "fs-2fa-verification-methods", never, { "type": "type"; "accountVerify": "accountVerify"; "verificationMethodsFetch": "verificationMethodsFetch"; "verificationMethodDelete": "verificationMethodDelete"; "verificationMethodDefault": "verificationMethodDefault"; "twoFactorManageService": "twoFactorManageService"; }, { "deleted": "deleted"; }, never, never>;
|
|
26
|
-
}
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { FsListComponent, FsListConfig } from '@firestitch/list';
|
|
3
|
+
import { FsPrompt } from '@firestitch/prompt';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { IFsVerificationMethod } from '../../../../interfaces';
|
|
6
|
+
import { VerificationMethodType } from '../../../../enums';
|
|
7
|
+
import { TwoFactorManageService } from '../../../manage/services';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class VerificationMethodsComponent implements OnInit {
|
|
10
|
+
private _prompt;
|
|
11
|
+
list: FsListComponent;
|
|
12
|
+
type: VerificationMethodType;
|
|
13
|
+
accountVerify: () => Observable<any>;
|
|
14
|
+
verificationMethodsFetch: (query: any) => Observable<IFsVerificationMethod[]>;
|
|
15
|
+
verificationMethodDelete: (verificationMethod: IFsVerificationMethod) => Observable<any>;
|
|
16
|
+
verificationMethodDefault: (verificationMethod: IFsVerificationMethod) => Observable<any>;
|
|
17
|
+
twoFactorManageService: TwoFactorManageService;
|
|
18
|
+
deleted: EventEmitter<any>;
|
|
19
|
+
listConfig: FsListConfig;
|
|
20
|
+
VerificationMethodType: typeof VerificationMethodType;
|
|
21
|
+
constructor(_prompt: FsPrompt);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
reload(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VerificationMethodsComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VerificationMethodsComponent, "fs-2fa-verification-methods", never, { "type": "type"; "accountVerify": "accountVerify"; "verificationMethodsFetch": "verificationMethodsFetch"; "verificationMethodDelete": "verificationMethodDelete"; "verificationMethodDefault": "verificationMethodDefault"; "twoFactorManageService": "twoFactorManageService"; }, { "deleted": "deleted"; }, never, never, false>;
|
|
26
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/verification-methods/verification-methods.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
import * as i4 from "@angular/material/icon";
|
|
6
|
-
import * as i5 from "@firestitch/list";
|
|
7
|
-
import * as i6 from "@firestitch/phone";
|
|
8
|
-
import * as i7 from "@firestitch/country";
|
|
9
|
-
import * as i8 from "../defaulted/defaulted.module";
|
|
10
|
-
export declare class Fs2faVerificationMethodsModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationMethodsModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<Fs2faVerificationMethodsModule, [typeof i1.VerificationMethodsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatIconModule, typeof i5.FsListModule, typeof i6.FsPhoneModule, typeof i7.FsCountryModule, typeof i8.DefautledModule], [typeof i1.VerificationMethodsComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<Fs2faVerificationMethodsModule>;
|
|
14
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/verification-methods/verification-methods.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/icon";
|
|
6
|
+
import * as i5 from "@firestitch/list";
|
|
7
|
+
import * as i6 from "@firestitch/phone";
|
|
8
|
+
import * as i7 from "@firestitch/country";
|
|
9
|
+
import * as i8 from "../defaulted/defaulted.module";
|
|
10
|
+
export declare class Fs2faVerificationMethodsModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Fs2faVerificationMethodsModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<Fs2faVerificationMethodsModule, [typeof i1.VerificationMethodsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatIconModule, typeof i5.FsListModule, typeof i6.FsPhoneModule, typeof i7.FsCountryModule, typeof i8.DefautledModule], [typeof i1.VerificationMethodsComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<Fs2faVerificationMethodsModule>;
|
|
14
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './fs-2f-verification-methods.module';
|
|
1
|
+
export * from './fs-2f-verification-methods.module';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './verification-method-type.enum';
|
|
1
|
+
export * from './verification-method-type.enum';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3ZlcmlmaWNhdGlvbi1tZXRob2QtdHlwZS5lbnVtJztcbiJdfQ==
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export var VerificationMethodType;
|
|
2
|
-
(function (VerificationMethodType) {
|
|
3
|
-
VerificationMethodType["Sms"] = "sms";
|
|
4
|
-
VerificationMethodType["Email"] = "email";
|
|
5
|
-
VerificationMethodType["App"] = "app";
|
|
6
|
-
})(VerificationMethodType || (VerificationMethodType = {}));
|
|
1
|
+
export var VerificationMethodType;
|
|
2
|
+
(function (VerificationMethodType) {
|
|
3
|
+
VerificationMethodType["Sms"] = "sms";
|
|
4
|
+
VerificationMethodType["Email"] = "email";
|
|
5
|
+
VerificationMethodType["App"] = "app";
|
|
6
|
+
})(VerificationMethodType || (VerificationMethodType = {}));
|
|
7
7
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyaWZpY2F0aW9uLW1ldGhvZC10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2VudW1zL3ZlcmlmaWNhdGlvbi1tZXRob2QtdHlwZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLHNCQUlYO0FBSkQsV0FBWSxzQkFBc0I7SUFDaEMscUNBQVcsQ0FBQTtJQUNYLHlDQUFlLENBQUE7SUFDZixxQ0FBVyxDQUFBO0FBQ2IsQ0FBQyxFQUpXLHNCQUFzQixLQUF0QixzQkFBc0IsUUFJakMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBWZXJpZmljYXRpb25NZXRob2RUeXBlIHtcbiAgU21zID0gJ3NtcycsXG4gIEVtYWlsID0gJ2VtYWlsJyxcbiAgQXBwID0gJ2FwcCcsXG59XG4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './verification-method.interface';
|
|
1
|
+
export * from './verification-method.interface';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdmVyaWZpY2F0aW9uLW1ldGhvZC5pbnRlcmZhY2UnO1xuIl19
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyaWZpY2F0aW9uLW1ldGhvZC5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2ludGVyZmFjZXMvdmVyaWZpY2F0aW9uLW1ldGhvZC5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFZlcmlmaWNhdGlvbk1ldGhvZFR5cGUgfSBmcm9tICcuLi9lbnVtcy92ZXJpZmljYXRpb24tbWV0aG9kLXR5cGUuZW51bSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUZzVmVyaWZpY2F0aW9uTWV0aG9kIHtcbiAgaWQ/OiBudW1iZXI7XG4gIHN0YXRlPzogc3RyaW5nO1xuICB0eXBlPzogVmVyaWZpY2F0aW9uTWV0aG9kVHlwZTtcbiAgcGhvbmVDb2RlPzogbnVtYmVyO1xuICBwaG9uZUNvdW50cnk/OiBzdHJpbmc7XG4gIGVtYWlsPzogc3RyaW5nO1xuICBwaG9uZU51bWJlcj86IHN0cmluZztcbiAgZGVmYXVsdD86IGJvb2xlYW47XG59XG4iXX0=
|