@rxap/ngx-material-authentication 19.0.5-dev.0 → 21.0.1-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 (95) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/compodoc/changelog.html +21 -0
  3. package/compodoc/components/LoginComponent.html +65 -64
  4. package/compodoc/components/ResetPasswordComponent.html +60 -57
  5. package/compodoc/dependencies.html +15 -15
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +1 -1
  8. package/docs/documentation.json +111 -111
  9. package/docs/html/classes/AuthenticationContainerComponent.html +2 -2
  10. package/docs/html/classes/LoadingComponent.html +4 -4
  11. package/docs/html/classes/LoginComponent.html +2 -2
  12. package/docs/html/classes/LoginForm.html +2 -2
  13. package/docs/html/classes/LoginFormSubmitMethod.html +2 -2
  14. package/docs/html/classes/LoginFormSubmitSuccessful.html +2 -2
  15. package/docs/html/classes/RequestResetPasswordMethod.html +2 -2
  16. package/docs/html/classes/ResetPasswordComponent.html +2 -2
  17. package/docs/html/classes/ResetPasswordForm.html +2 -2
  18. package/docs/html/classes/ResetPasswordFormSubmitMethod.html +2 -2
  19. package/docs/html/classes/SetNewPasswordWithResetTokenMethod.html +2 -2
  20. package/docs/html/classes/SignInWithEmailAndPasswordMethod.html +2 -2
  21. package/docs/html/index.html +2 -2
  22. package/docs/html/interfaces/ILoginForm.html +2 -2
  23. package/docs/html/interfaces/IResetPasswordForm.html +2 -2
  24. package/docs/html/interfaces/RequestResetPasswordMethodParameters.html +2 -2
  25. package/docs/html/interfaces/SetNewPasswordWithResetTokenMethodParameters.html +2 -2
  26. package/docs/html/interfaces/SignInWithEmailAndPasswordMethodParameters.html +2 -2
  27. package/docs/html/modules.html +1 -1
  28. package/docs/html/variables/AUTHENTICATION_ROUTE.html +1 -1
  29. package/docs/html/variables/LoginFormProviders.html +1 -1
  30. package/docs/html/variables/RXAP_RESET_PASSWORD_FORM.html +1 -1
  31. package/docs/html/variables/ResetPasswordFormProviders.html +1 -1
  32. package/docs/html/variables/fadeAnimation.html +1 -1
  33. package/docs/markdown/README.md +1 -1
  34. package/docs/markdown/classes/AuthenticationContainerComponent.md +2 -2
  35. package/docs/markdown/classes/LoadingComponent.md +8 -8
  36. package/docs/markdown/classes/LoginComponent.md +5 -5
  37. package/docs/markdown/classes/LoginForm.md +11 -11
  38. package/docs/markdown/classes/LoginFormSubmitMethod.md +4 -4
  39. package/docs/markdown/classes/LoginFormSubmitSuccessful.md +4 -4
  40. package/docs/markdown/classes/RequestResetPasswordMethod.md +3 -3
  41. package/docs/markdown/classes/ResetPasswordComponent.md +2 -2
  42. package/docs/markdown/classes/ResetPasswordForm.md +7 -7
  43. package/docs/markdown/classes/ResetPasswordFormSubmitMethod.md +4 -4
  44. package/docs/markdown/classes/SetNewPasswordWithResetTokenMethod.md +3 -3
  45. package/docs/markdown/classes/SignInWithEmailAndPasswordMethod.md +3 -3
  46. package/docs/markdown/globals.md +2 -2
  47. package/docs/markdown/interfaces/ILoginForm.md +4 -4
  48. package/docs/markdown/interfaces/IResetPasswordForm.md +4 -4
  49. package/docs/markdown/interfaces/RequestResetPasswordMethodParameters.md +3 -3
  50. package/docs/markdown/interfaces/SetNewPasswordWithResetTokenMethodParameters.md +4 -4
  51. package/docs/markdown/interfaces/SignInWithEmailAndPasswordMethodParameters.md +5 -5
  52. package/docs/markdown/variables/AUTHENTICATION_ROUTE.md +2 -2
  53. package/docs/markdown/variables/LoginFormProviders.md +2 -2
  54. package/docs/markdown/variables/RXAP_RESET_PASSWORD_FORM.md +2 -2
  55. package/docs/markdown/variables/ResetPasswordFormProviders.md +2 -2
  56. package/docs/markdown/variables/fadeAnimation.md +2 -2
  57. package/docs/wiki/Class.AuthenticationContainerComponent.md +1 -1
  58. package/docs/wiki/Class.LoadingComponent.md +7 -7
  59. package/docs/wiki/Class.LoginComponent.md +4 -4
  60. package/docs/wiki/Class.LoginForm.md +10 -10
  61. package/docs/wiki/Class.LoginFormSubmitMethod.md +3 -3
  62. package/docs/wiki/Class.LoginFormSubmitSuccessful.md +3 -3
  63. package/docs/wiki/Class.RequestResetPasswordMethod.md +2 -2
  64. package/docs/wiki/Class.ResetPasswordComponent.md +1 -1
  65. package/docs/wiki/Class.ResetPasswordForm.md +6 -6
  66. package/docs/wiki/Class.ResetPasswordFormSubmitMethod.md +3 -3
  67. package/docs/wiki/Class.SetNewPasswordWithResetTokenMethod.md +2 -2
  68. package/docs/wiki/Class.SignInWithEmailAndPasswordMethod.md +2 -2
  69. package/docs/wiki/Interface.ILoginForm.md +3 -3
  70. package/docs/wiki/Interface.IResetPasswordForm.md +3 -3
  71. package/docs/wiki/Interface.RequestResetPasswordMethodParameters.md +2 -2
  72. package/docs/wiki/Interface.SetNewPasswordWithResetTokenMethodParameters.md +3 -3
  73. package/docs/wiki/Interface.SignInWithEmailAndPasswordMethodParameters.md +4 -4
  74. package/docs/wiki/Variable.AUTHENTICATION_ROUTE.md +1 -1
  75. package/docs/wiki/Variable.LoginFormProviders.md +1 -1
  76. package/docs/wiki/Variable.RXAP_RESET_PASSWORD_FORM.md +1 -1
  77. package/docs/wiki/Variable.ResetPasswordFormProviders.md +1 -1
  78. package/docs/wiki/Variable.fadeAnimation.md +1 -1
  79. package/docs/wiki/globals.md +1 -1
  80. package/fesm2022/rxap-ngx-material-authentication.mjs +46 -48
  81. package/fesm2022/rxap-ngx-material-authentication.mjs.map +1 -1
  82. package/package.json +47 -46
  83. package/types/rxap-ngx-material-authentication.d.ts +148 -0
  84. package/index.d.ts +0 -11
  85. package/lib/authentication-container/authentication-container.component.d.ts +0 -5
  86. package/lib/fade-animation.d.ts +0 -1
  87. package/lib/loading/loading.component.d.ts +0 -15
  88. package/lib/login/login.component.d.ts +0 -14
  89. package/lib/login/login.form.d.ts +0 -43
  90. package/lib/login/request-reset-password.method.d.ts +0 -10
  91. package/lib/login/sign-in-with-email-and-password.method.d.ts +0 -12
  92. package/lib/reset-password/reset-password.component.d.ts +0 -5
  93. package/lib/reset-password/reset-password.form.d.ts +0 -35
  94. package/lib/reset-password/set-new-password-with-reset-token.method.d.ts +0 -11
  95. package/lib/routes.d.ts +0 -2
@@ -1,15 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { RxapAuthenticationService } from '@rxap/authentication';
4
- import { Subscription } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare class LoadingComponent implements OnInit, OnDestroy {
7
- readonly authentication: RxapAuthenticationService;
8
- readonly router: Router;
9
- subscription?: Subscription;
10
- constructor(authentication: RxapAuthenticationService, router: Router);
11
- ngOnInit(): void;
12
- ngOnDestroy(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "rxap-auth-loading", never, {}, {}, never, never, true, never>;
15
- }
@@ -1,14 +0,0 @@
1
- import { MatSnackBar } from '@angular/material/snack-bar';
2
- import { RxapAuthenticationService } from '@rxap/authentication';
3
- import { ToggleSubject } from '@rxap/rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class LoginComponent {
6
- private readonly authentication;
7
- private readonly snackBar;
8
- readonly requestingPasswordReset$: ToggleSubject;
9
- private readonly requestPasswordResetMethod;
10
- constructor(authentication: RxapAuthenticationService, snackBar: MatSnackBar);
11
- requestPasswordReset(email: string): Promise<void>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "rxap-login", never, {}, {}, never, never, true, never>;
14
- }
@@ -1,43 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { ConfigService } from '@rxap/config';
4
- import { FormSubmitMethod, FormSubmitSuccessfulMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
5
- import { RxapOnInit } from '@rxap/utilities';
6
- import { SignInWithEmailAndPasswordMethod } from './sign-in-with-email-and-password.method';
7
- import * as i0 from "@angular/core";
8
- export interface ILoginForm {
9
- email: string;
10
- password: string;
11
- }
12
- export declare class LoginForm implements FormType<ILoginForm>, RxapOnInit {
13
- readonly config: ConfigService<any>;
14
- rxapFormGroup: RxapFormGroup;
15
- loading: boolean;
16
- loginFailed: boolean;
17
- email: RxapFormControl<string>;
18
- password: RxapFormControl;
19
- remember: RxapFormControl;
20
- constructor(config: ConfigService<any>);
21
- rxapOnInit(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<LoginForm, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<LoginForm>;
24
- }
25
- export declare class LoginFormSubmitMethod implements FormSubmitMethod<any> {
26
- private readonly signInWithEmailAndPasswordMethod;
27
- constructor(signInWithEmailAndPasswordMethod: SignInWithEmailAndPasswordMethod);
28
- call(value: {
29
- email: string;
30
- password: string;
31
- remember: boolean;
32
- }): Promise<any>;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormSubmitMethod, never>;
34
- static ɵprov: i0.ɵɵInjectableDeclaration<LoginFormSubmitMethod>;
35
- }
36
- export declare class LoginFormSubmitSuccessful implements FormSubmitSuccessfulMethod<any> {
37
- private readonly router;
38
- constructor(router: Router);
39
- call(): Promise<any>;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormSubmitSuccessful, never>;
41
- static ɵprov: i0.ɵɵInjectableDeclaration<LoginFormSubmitSuccessful>;
42
- }
43
- export declare const LoginFormProviders: Provider[];
@@ -1,10 +0,0 @@
1
- import { Method } from '@rxap/pattern';
2
- import * as i0 from "@angular/core";
3
- export interface RequestResetPasswordMethodParameters {
4
- email: string;
5
- }
6
- export declare class RequestResetPasswordMethod implements Method {
7
- call(parameters: RequestResetPasswordMethodParameters): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<RequestResetPasswordMethod, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<RequestResetPasswordMethod>;
10
- }
@@ -1,12 +0,0 @@
1
- import { Method } from '@rxap/pattern';
2
- import * as i0 from "@angular/core";
3
- export interface SignInWithEmailAndPasswordMethodParameters {
4
- email: string;
5
- password: string;
6
- remember?: boolean;
7
- }
8
- export declare class SignInWithEmailAndPasswordMethod implements Method {
9
- call(parameters: SignInWithEmailAndPasswordMethodParameters): Promise<void>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<SignInWithEmailAndPasswordMethod, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<SignInWithEmailAndPasswordMethod>;
12
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ResetPasswordComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "rxap-reset-password", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,35 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { MatSnackBar } from '@angular/material/snack-bar';
3
- import { ActivatedRoute, Router } from '@angular/router';
4
- import { FormSubmitMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
5
- import { SetNewPasswordWithResetTokenMethod } from './set-new-password-with-reset-token.method';
6
- import * as i0 from "@angular/core";
7
- export declare const RXAP_RESET_PASSWORD_FORM = "rxap-reset-password";
8
- export declare class ResetPasswordFormSubmitMethod implements FormSubmitMethod<any> {
9
- private readonly route;
10
- private readonly setNewPasswordWithResetTokenMethod;
11
- private readonly snackBar;
12
- private readonly router;
13
- constructor(route: ActivatedRoute, setNewPasswordWithResetTokenMethod: SetNewPasswordWithResetTokenMethod, snackBar: MatSnackBar, router: Router);
14
- call(value: {
15
- password: string;
16
- }): boolean | Promise<boolean>;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordFormSubmitMethod, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<ResetPasswordFormSubmitMethod>;
19
- }
20
- export interface IResetPasswordForm {
21
- password: string;
22
- passwordRepeat: string;
23
- }
24
- export declare class ResetPasswordForm implements FormType<IResetPasswordForm> {
25
- rxapFormGroup: RxapFormGroup;
26
- password: RxapFormControl;
27
- passwordRepeat: RxapFormControl;
28
- passwordEqual(control: RxapFormControl): {
29
- equal: string;
30
- } | null;
31
- resetRepeat(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordForm, never>;
33
- static ɵprov: i0.ɵɵInjectableDeclaration<ResetPasswordForm>;
34
- }
35
- export declare const ResetPasswordFormProviders: Provider[];
@@ -1,11 +0,0 @@
1
- import { Method } from '@rxap/pattern';
2
- import * as i0 from "@angular/core";
3
- export interface SetNewPasswordWithResetTokenMethodParameters {
4
- password: string;
5
- token: string;
6
- }
7
- export declare class SetNewPasswordWithResetTokenMethod implements Method {
8
- call(parameters: SetNewPasswordWithResetTokenMethodParameters): Promise<void>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SetNewPasswordWithResetTokenMethod, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<SetNewPasswordWithResetTokenMethod>;
11
- }
package/lib/routes.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- export declare const AUTHENTICATION_ROUTE: Routes;