@rxap/ngx-material-authentication 21.0.1-dev.1 → 22.0.0-dev.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/CHANGELOG.md +35 -0
- package/compodoc/changelog.html +33 -0
- package/compodoc/components/AuthenticationContainerComponent.html +6 -1
- package/compodoc/dependencies.html +14 -14
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +80 -80
- package/docs/html/classes/AuthenticationContainerComponent.html +2 -2
- package/docs/html/classes/LoadingComponent.html +4 -4
- package/docs/html/classes/LoginComponent.html +2 -2
- package/docs/html/classes/LoginForm.html +2 -2
- package/docs/html/classes/LoginFormSubmitMethod.html +2 -2
- package/docs/html/classes/LoginFormSubmitSuccessful.html +2 -2
- package/docs/html/classes/RequestResetPasswordMethod.html +2 -2
- package/docs/html/classes/ResetPasswordComponent.html +2 -2
- package/docs/html/classes/ResetPasswordForm.html +2 -2
- package/docs/html/classes/ResetPasswordFormSubmitMethod.html +2 -2
- package/docs/html/classes/SetNewPasswordWithResetTokenMethod.html +2 -2
- package/docs/html/classes/SignInWithEmailAndPasswordMethod.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ILoginForm.html +2 -2
- package/docs/html/interfaces/IResetPasswordForm.html +2 -2
- package/docs/html/interfaces/RequestResetPasswordMethodParameters.html +2 -2
- package/docs/html/interfaces/SetNewPasswordWithResetTokenMethodParameters.html +2 -2
- package/docs/html/interfaces/SignInWithEmailAndPasswordMethodParameters.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/AUTHENTICATION_ROUTE.html +1 -1
- package/docs/html/variables/LoginFormProviders.html +1 -1
- package/docs/html/variables/RXAP_RESET_PASSWORD_FORM.html +1 -1
- package/docs/html/variables/ResetPasswordFormProviders.html +1 -1
- package/docs/html/variables/fadeAnimation.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AuthenticationContainerComponent.md +2 -2
- package/docs/markdown/classes/LoadingComponent.md +7 -7
- package/docs/markdown/classes/LoginComponent.md +4 -4
- package/docs/markdown/classes/LoginForm.md +10 -10
- package/docs/markdown/classes/LoginFormSubmitMethod.md +3 -3
- package/docs/markdown/classes/LoginFormSubmitSuccessful.md +3 -3
- package/docs/markdown/classes/RequestResetPasswordMethod.md +3 -3
- package/docs/markdown/classes/ResetPasswordComponent.md +2 -2
- package/docs/markdown/classes/ResetPasswordForm.md +7 -7
- package/docs/markdown/classes/ResetPasswordFormSubmitMethod.md +3 -3
- package/docs/markdown/classes/SetNewPasswordWithResetTokenMethod.md +3 -3
- package/docs/markdown/classes/SignInWithEmailAndPasswordMethod.md +3 -3
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/ILoginForm.md +4 -4
- package/docs/markdown/interfaces/IResetPasswordForm.md +4 -4
- package/docs/markdown/interfaces/RequestResetPasswordMethodParameters.md +3 -3
- package/docs/markdown/interfaces/SetNewPasswordWithResetTokenMethodParameters.md +4 -4
- package/docs/markdown/interfaces/SignInWithEmailAndPasswordMethodParameters.md +5 -5
- package/docs/markdown/variables/AUTHENTICATION_ROUTE.md +2 -2
- package/docs/markdown/variables/LoginFormProviders.md +2 -2
- package/docs/markdown/variables/RXAP_RESET_PASSWORD_FORM.md +2 -2
- package/docs/markdown/variables/ResetPasswordFormProviders.md +2 -2
- package/docs/markdown/variables/fadeAnimation.md +2 -2
- package/docs/wiki/Class.AuthenticationContainerComponent.md +1 -1
- package/docs/wiki/Class.LoadingComponent.md +6 -6
- package/docs/wiki/Class.LoginComponent.md +3 -3
- package/docs/wiki/Class.LoginForm.md +9 -9
- package/docs/wiki/Class.LoginFormSubmitMethod.md +2 -2
- package/docs/wiki/Class.LoginFormSubmitSuccessful.md +2 -2
- package/docs/wiki/Class.RequestResetPasswordMethod.md +2 -2
- package/docs/wiki/Class.ResetPasswordComponent.md +1 -1
- package/docs/wiki/Class.ResetPasswordForm.md +6 -6
- package/docs/wiki/Class.ResetPasswordFormSubmitMethod.md +2 -2
- package/docs/wiki/Class.SetNewPasswordWithResetTokenMethod.md +2 -2
- package/docs/wiki/Class.SignInWithEmailAndPasswordMethod.md +2 -2
- package/docs/wiki/Interface.ILoginForm.md +3 -3
- package/docs/wiki/Interface.IResetPasswordForm.md +3 -3
- package/docs/wiki/Interface.RequestResetPasswordMethodParameters.md +2 -2
- package/docs/wiki/Interface.SetNewPasswordWithResetTokenMethodParameters.md +3 -3
- package/docs/wiki/Interface.SignInWithEmailAndPasswordMethodParameters.md +4 -4
- package/docs/wiki/Variable.AUTHENTICATION_ROUTE.md +1 -1
- package/docs/wiki/Variable.LoginFormProviders.md +1 -1
- package/docs/wiki/Variable.RXAP_RESET_PASSWORD_FORM.md +1 -1
- package/docs/wiki/Variable.ResetPasswordFormProviders.md +1 -1
- package/docs/wiki/Variable.fadeAnimation.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-ngx-material-authentication.mjs +1011 -277
- package/fesm2022/rxap-ngx-material-authentication.mjs.map +1 -1
- package/package.json +42 -42
- package/types/rxap-ngx-material-authentication.d.ts +126 -138
|
@@ -1,141 +1,129 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
declare const RXAP_RESET_PASSWORD_FORM = "rxap-reset-password";
|
|
19
|
-
declare class ResetPasswordFormSubmitMethod implements FormSubmitMethod<any> {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
password: string;
|
|
26
|
-
}): boolean | Promise<boolean>;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordFormSubmitMethod, never>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ResetPasswordFormSubmitMethod>;
|
|
29
|
-
}
|
|
30
|
-
interface IResetPasswordForm {
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { OnDestroy, OnInit, Provider } from "@angular/core";
|
|
6
|
+
import { FormSubmitMethod, FormSubmitSuccessfulMethod, FormType, RxapFormControl, RxapFormGroup } from "@rxap/forms";
|
|
7
|
+
import { Method } from "@rxap/pattern";
|
|
8
|
+
import { ToggleSubject } from "@rxap/rxjs";
|
|
9
|
+
import { ConfigService } from "@rxap/config";
|
|
10
|
+
import { RxapOnInit } from "@rxap/utilities";
|
|
11
|
+
import { Router, Routes } from "@angular/router";
|
|
12
|
+
import { RxapAuthenticationService } from "@rxap/authentication";
|
|
13
|
+
import { Subscription } from "rxjs";
|
|
14
|
+
export declare class ResetPasswordComponent {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "rxap-reset-password", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
export declare const RXAP_RESET_PASSWORD_FORM = "rxap-reset-password";
|
|
19
|
+
export declare class ResetPasswordFormSubmitMethod implements FormSubmitMethod<any> {
|
|
20
|
+
private readonly route;
|
|
21
|
+
private readonly setNewPasswordWithResetTokenMethod;
|
|
22
|
+
private readonly snackBar;
|
|
23
|
+
private readonly router;
|
|
24
|
+
call(value: {
|
|
31
25
|
password: string;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
declare
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}): Promise<any>;
|
|
90
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormSubmitMethod, never>;
|
|
91
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoginFormSubmitMethod>;
|
|
92
|
-
}
|
|
93
|
-
declare class LoginFormSubmitSuccessful implements FormSubmitSuccessfulMethod<any> {
|
|
94
|
-
private readonly router;
|
|
95
|
-
call(): Promise<any>;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormSubmitSuccessful, never>;
|
|
97
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoginFormSubmitSuccessful>;
|
|
98
|
-
}
|
|
99
|
-
declare const LoginFormProviders: Provider[];
|
|
100
|
-
|
|
101
|
-
interface RequestResetPasswordMethodParameters {
|
|
102
|
-
email: string;
|
|
103
|
-
}
|
|
104
|
-
declare class RequestResetPasswordMethod implements Method {
|
|
105
|
-
call(parameters: RequestResetPasswordMethodParameters): any;
|
|
106
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RequestResetPasswordMethod, never>;
|
|
107
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RequestResetPasswordMethod>;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
interface SignInWithEmailAndPasswordMethodParameters {
|
|
26
|
+
}): boolean | Promise<boolean>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordFormSubmitMethod, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
29
|
+
}
|
|
30
|
+
export interface IResetPasswordForm {
|
|
31
|
+
password: string;
|
|
32
|
+
passwordRepeat: string;
|
|
33
|
+
}
|
|
34
|
+
export declare class ResetPasswordForm implements FormType<IResetPasswordForm> {
|
|
35
|
+
rxapFormGroup: RxapFormGroup;
|
|
36
|
+
password: RxapFormControl;
|
|
37
|
+
passwordRepeat: RxapFormControl;
|
|
38
|
+
passwordEqual(control: RxapFormControl): {
|
|
39
|
+
equal: string;
|
|
40
|
+
} | null;
|
|
41
|
+
resetRepeat(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordForm, never>;
|
|
43
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
44
|
+
}
|
|
45
|
+
export declare const ResetPasswordFormProviders: Provider[];
|
|
46
|
+
export interface SetNewPasswordWithResetTokenMethodParameters {
|
|
47
|
+
password: string;
|
|
48
|
+
token: string;
|
|
49
|
+
}
|
|
50
|
+
export declare class SetNewPasswordWithResetTokenMethod implements Method {
|
|
51
|
+
call(parameters: SetNewPasswordWithResetTokenMethodParameters): Promise<void>;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SetNewPasswordWithResetTokenMethod, never>;
|
|
53
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
54
|
+
}
|
|
55
|
+
export declare class LoginComponent {
|
|
56
|
+
private readonly authentication;
|
|
57
|
+
private readonly snackBar;
|
|
58
|
+
readonly requestingPasswordReset$: ToggleSubject;
|
|
59
|
+
private readonly requestPasswordResetMethod;
|
|
60
|
+
requestPasswordReset(email: string): Promise<void>;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "rxap-login", never, {}, {}, never, never, true, never>;
|
|
63
|
+
}
|
|
64
|
+
export interface ILoginForm {
|
|
65
|
+
email: string;
|
|
66
|
+
password: string;
|
|
67
|
+
}
|
|
68
|
+
export declare class LoginForm implements FormType<ILoginForm>, RxapOnInit {
|
|
69
|
+
readonly config: ConfigService<any>;
|
|
70
|
+
rxapFormGroup: RxapFormGroup;
|
|
71
|
+
loading: boolean;
|
|
72
|
+
loginFailed: boolean;
|
|
73
|
+
email: RxapFormControl<string>;
|
|
74
|
+
password: RxapFormControl;
|
|
75
|
+
remember: RxapFormControl;
|
|
76
|
+
rxapOnInit(): void;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginForm, never>;
|
|
78
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
79
|
+
}
|
|
80
|
+
export declare class LoginFormSubmitMethod implements FormSubmitMethod<any> {
|
|
81
|
+
private readonly signInWithEmailAndPasswordMethod;
|
|
82
|
+
call(value: {
|
|
111
83
|
email: string;
|
|
112
84
|
password: string;
|
|
113
|
-
remember
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
declare
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
85
|
+
remember: boolean;
|
|
86
|
+
}): Promise<any>;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormSubmitMethod, never>;
|
|
88
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
89
|
+
}
|
|
90
|
+
export declare class LoginFormSubmitSuccessful implements FormSubmitSuccessfulMethod<any> {
|
|
91
|
+
private readonly router;
|
|
92
|
+
call(): Promise<any>;
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormSubmitSuccessful, never>;
|
|
94
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
95
|
+
}
|
|
96
|
+
export declare const LoginFormProviders: Provider[];
|
|
97
|
+
export interface RequestResetPasswordMethodParameters {
|
|
98
|
+
email: string;
|
|
99
|
+
}
|
|
100
|
+
export declare class RequestResetPasswordMethod implements Method {
|
|
101
|
+
call(parameters: RequestResetPasswordMethodParameters): any;
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestResetPasswordMethod, never>;
|
|
103
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
104
|
+
}
|
|
105
|
+
export interface SignInWithEmailAndPasswordMethodParameters {
|
|
106
|
+
email: string;
|
|
107
|
+
password: string;
|
|
108
|
+
remember?: boolean;
|
|
109
|
+
}
|
|
110
|
+
export declare class SignInWithEmailAndPasswordMethod implements Method {
|
|
111
|
+
call(parameters: SignInWithEmailAndPasswordMethodParameters): Promise<void>;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignInWithEmailAndPasswordMethod, never>;
|
|
113
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
114
|
+
}
|
|
115
|
+
export declare class LoadingComponent implements OnInit, OnDestroy {
|
|
116
|
+
readonly authentication: RxapAuthenticationService;
|
|
117
|
+
readonly router: Router;
|
|
118
|
+
subscription?: Subscription;
|
|
119
|
+
ngOnInit(): void;
|
|
120
|
+
ngOnDestroy(): void;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "rxap-auth-loading", never, {}, {}, never, never, true, never>;
|
|
123
|
+
}
|
|
124
|
+
export declare class AuthenticationContainerComponent {
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationContainerComponent, never>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationContainerComponent, "rxap-authentication-container", never, {}, {}, never, ["*"], true, never>;
|
|
127
|
+
}
|
|
128
|
+
export declare const fadeAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
129
|
+
export declare const AUTHENTICATION_ROUTE: Routes;
|