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