@rxap/authentication 16.0.0-dev.14 → 16.0.0-dev.16

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 (39) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/esm2022/index.mjs +6 -5
  4. package/esm2022/lib/authentication.service.mjs +5 -55
  5. package/esm2022/lib/bearer-token.interceptor.mjs +27 -0
  6. package/esm2022/lib/tokens.mjs +6 -1
  7. package/fesm2022/rxap-authentication.mjs +77 -145
  8. package/fesm2022/rxap-authentication.mjs.map +1 -1
  9. package/index.d.ts +3 -4
  10. package/lib/authentication.service.d.ts +3 -10
  11. package/lib/bearer-token.interceptor.d.ts +3 -0
  12. package/lib/tokens.d.ts +6 -0
  13. package/package.json +6 -21
  14. package/theme.css +1 -1
  15. package/components/index.d.ts +0 -8
  16. package/components/lib/authentication-container/authentication-container.component.d.ts +0 -7
  17. package/components/lib/fade-animation.d.ts +0 -1
  18. package/components/lib/loading/loading.component.d.ts +0 -15
  19. package/components/lib/login/login.component.d.ts +0 -13
  20. package/components/lib/login/login.form.d.ts +0 -43
  21. package/components/lib/reset-password/reset-password.component.d.ts +0 -5
  22. package/components/lib/reset-password/reset-password.form.d.ts +0 -35
  23. package/components/lib/routes.d.ts +0 -2
  24. package/esm2022/components/index.mjs +0 -9
  25. package/esm2022/components/lib/authentication-container/authentication-container.component.mjs +0 -38
  26. package/esm2022/components/lib/fade-animation.mjs +0 -14
  27. package/esm2022/components/lib/loading/loading.component.mjs +0 -39
  28. package/esm2022/components/lib/login/login.component.mjs +0 -104
  29. package/esm2022/components/lib/login/login.form.mjs +0 -108
  30. package/esm2022/components/lib/reset-password/reset-password.component.mjs +0 -53
  31. package/esm2022/components/lib/reset-password/reset-password.form.mjs +0 -117
  32. package/esm2022/components/lib/routes.mjs +0 -32
  33. package/esm2022/components/rxap-authentication-components.mjs +0 -5
  34. package/esm2022/lib/user-profile.service.mjs +0 -38
  35. package/esm2022/lib/user.service.mjs +0 -16
  36. package/fesm2022/rxap-authentication-components.mjs +0 -453
  37. package/fesm2022/rxap-authentication-components.mjs.map +0 -1
  38. package/lib/user-profile.service.d.ts +0 -21
  39. package/lib/user.service.d.ts +0 -16
@@ -1,15 +1,11 @@
1
1
  import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
2
2
  import * as i0 from "@angular/core";
3
- export declare const RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY = "rxap__authenticated";
4
3
  export interface IAuthenticationService {
5
4
  isAuthenticated$: Observable<boolean | null>;
6
- requestPasswordReset(email: string): Promise<boolean>;
7
- sendPasswordReset(password: string, token: string): Promise<boolean>;
8
- signInWithEmailAndPassword(email: string, password: string, remember: boolean): Promise<boolean>;
5
+ events$: Observable<AuthenticationEvent>;
9
6
  signOut(): Promise<void>;
7
+ isAuthenticated(): Promise<boolean>;
10
8
  }
11
- export declare function TimeoutPromise<T>(callback: (resolve: (value: T) => void, reject: (error: any) => void) => void, ms: number): Promise<T>;
12
- export declare function TimeoutResolve<T>(value: T, ms: number): Promise<T>;
13
9
  export declare enum AuthenticationEventType {
14
10
  OnAuthSuccess = "on-auth-success",
15
11
  OnAuthError = "on-auth-error",
@@ -21,12 +17,9 @@ export interface AuthenticationEvent extends Record<string, any> {
21
17
  export declare class RxapAuthenticationService implements IAuthenticationService {
22
18
  isAuthenticated$: BehaviorSubject<boolean | null>;
23
19
  readonly events$: ReplaySubject<AuthenticationEvent>;
20
+ private _authenticated;
24
21
  constructor();
25
- requestPasswordReset(email: string): Promise<boolean>;
26
- sendPasswordReset(password: string, token: string): Promise<boolean>;
27
- signInWithEmailAndPassword(email: string, password: string, remember: boolean): Promise<boolean>;
28
22
  signOut(): Promise<void>;
29
- signInWithProvider(provider: string): Promise<boolean>;
30
23
  isAuthenticated(): Promise<boolean>;
31
24
  static ɵfac: i0.ɵɵFactoryDeclaration<RxapAuthenticationService, never>;
32
25
  static ɵprov: i0.ɵɵInjectableDeclaration<RxapAuthenticationService>;
@@ -0,0 +1,3 @@
1
+ import { HttpEvent, HttpHandlerFn, HttpRequest } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ export declare function BearerTokenInterceptor(req: HttpRequest<unknown>, next: HttpHandlerFn): Observable<HttpEvent<unknown>>;
package/lib/tokens.d.ts CHANGED
@@ -1,2 +1,8 @@
1
1
  import { InjectionToken } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
2
3
  export declare const RXAP_AUTHENTICATION_DEACTIVATED: InjectionToken<boolean>;
4
+ export interface AuthenticationAccessToken extends Record<string, any> {
5
+ token: string;
6
+ valid?: boolean;
7
+ }
8
+ export declare const RXAP_AUTHENTICATION_ACCESS_TOKEN: InjectionToken<BehaviorSubject<AuthenticationAccessToken | null>>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.0.0-dev.14",
2
+ "version": "16.0.0-dev.16",
3
3
  "name": "@rxap/authentication",
4
4
  "description": "A collection of components and services to simplify the authentication process implementation.",
5
5
  "license": "GPL-3.0-or-later",
@@ -7,19 +7,10 @@
7
7
  "tslib": "2.6.2"
8
8
  },
9
9
  "peerDependencies": {
10
- "@angular/animations": "^16.1.4",
11
10
  "@angular/common": "^16.1.4",
12
11
  "@angular/core": "^16.1.4",
13
- "@angular/flex-layout": "^15.0.0-beta.42",
14
- "@angular/forms": "^16.1.4",
15
- "@angular/material": "^16.1.4",
16
12
  "@angular/router": "^16.1.4",
17
- "@rxap/config": "*",
18
- "@rxap/forms": "*",
19
- "@rxap/rxjs": "*",
20
- "@rxap/utilities": "*",
21
- "rxjs": "^7.8.0",
22
- "@angular/platform-browser": "16.1.4"
13
+ "rxjs": "^7.8.0"
23
14
  },
24
15
  "author": {
25
16
  "name": "Merzough Münker",
@@ -42,15 +33,15 @@
42
33
  "packageGroup": [
43
34
  {
44
35
  "package": "@rxap/config",
45
- "version": "16.0.0-dev.14"
36
+ "version": "16.0.0-dev.15"
46
37
  },
47
38
  {
48
39
  "package": "@rxap/forms",
49
- "version": "16.0.0-dev.15"
40
+ "version": "16.0.0-dev.16"
50
41
  },
51
42
  {
52
43
  "package": "@rxap/rxjs",
53
- "version": "1.0.1-dev.9"
44
+ "version": "1.0.1-dev.10"
54
45
  },
55
46
  {
56
47
  "package": "@rxap/utilities",
@@ -68,7 +59,7 @@
68
59
  "directory": "packages/angular/authentication"
69
60
  },
70
61
  "sideEffects": false,
71
- "gitHead": "db8e53ef6cfd297abb6f8c4fb54f289f9c971fe4",
62
+ "gitHead": "8d7aeb0f4a5ef9c6476b98d06c6f52f5d79d4a95",
72
63
  "module": "fesm2022/rxap-authentication.mjs",
73
64
  "typings": "index.d.ts",
74
65
  "exports": {
@@ -81,12 +72,6 @@
81
72
  "esm": "./esm2022/rxap-authentication.mjs",
82
73
  "default": "./fesm2022/rxap-authentication.mjs"
83
74
  },
84
- "./components": {
85
- "types": "./components/index.d.ts",
86
- "esm2022": "./esm2022/components/rxap-authentication-components.mjs",
87
- "esm": "./esm2022/components/rxap-authentication-components.mjs",
88
- "default": "./fesm2022/rxap-authentication-components.mjs"
89
- },
90
75
  "./theme": "./theme.css"
91
76
  }
92
77
  }
package/theme.css CHANGED
@@ -1 +1 @@
1
- .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.table{display:table}.contents{display:contents}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}
1
+ .visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.contents{display:contents}.hidden{display:none}.capitalize{text-transform:capitalize}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}
@@ -1,8 +0,0 @@
1
- export * from './lib/login/login.form';
2
- export * from './lib/login/login.component';
3
- export * from './lib/login/login.form';
4
- export * from './lib/routes';
5
- export * from './lib/loading/loading.component';
6
- export * from './lib/reset-password/reset-password.component';
7
- export * from './lib/authentication-container/authentication-container.component';
8
- export * from './lib/fade-animation';
@@ -1,7 +0,0 @@
1
- import { RouterOutlet } from '@angular/router';
2
- import * as i0 from "@angular/core";
3
- export declare class AuthenticationContainerComponent {
4
- prepareRoute(outlet: RouterOutlet): import("@angular/router").ActivatedRoute | "true";
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationContainerComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationContainerComponent, "rxap-authentication-container", never, {}, {}, never, ["*"], true, never>;
7
- }
@@ -1 +0,0 @@
1
- export declare const fadeAnimation: import("@angular/animations").AnimationTriggerMetadata;
@@ -1,15 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { RxapAuthenticationService } from '@rxap/authentication';
4
- import { Router } from '@angular/router';
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,13 +0,0 @@
1
- import { RxapAuthenticationService } from '@rxap/authentication';
2
- import { MatSnackBar } from '@angular/material/snack-bar';
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
- constructor(authentication: RxapAuthenticationService, snackBar: MatSnackBar);
10
- requestPasswordReset(email: string): Promise<void>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "rxap-login", never, {}, {}, never, never, true, never>;
13
- }
@@ -1,43 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { RxapAuthenticationService } from '@rxap/authentication';
3
- import { FormSubmitMethod, FormSubmitSuccessfulMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
4
- import { ConfigService } from '@rxap/config';
5
- import { RxapOnInit } from '@rxap/utilities';
6
- import { Router } from '@angular/router';
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 authentication;
27
- constructor(authentication: RxapAuthenticationService);
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,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 { RxapAuthenticationService } from '@rxap/authentication';
3
- import { ActivatedRoute, Router } from '@angular/router';
4
- import { FormSubmitMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
5
- import { MatSnackBar } from '@angular/material/snack-bar';
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 authentication;
11
- private readonly snackBar;
12
- private readonly router;
13
- constructor(route: ActivatedRoute, authentication: RxapAuthenticationService, 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,2 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- export declare const AuthenticationRoutes: Routes;
@@ -1,9 +0,0 @@
1
- export * from './lib/login/login.form';
2
- export * from './lib/login/login.component';
3
- export * from './lib/login/login.form';
4
- export * from './lib/routes';
5
- export * from './lib/loading/loading.component';
6
- export * from './lib/reset-password/reset-password.component';
7
- export * from './lib/authentication-container/authentication-container.component';
8
- export * from './lib/fade-animation';
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2F1dGhlbnRpY2F0aW9uL2NvbXBvbmVudHMvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLHdCQUF3QixDQUFDO0FBRXZDLGNBQWMsY0FBYyxDQUFDO0FBRTdCLGNBQWMsaUNBQWlDLENBQUM7QUFFaEQsY0FBYywrQ0FBK0MsQ0FBQztBQUM5RCxjQUFjLG1FQUFtRSxDQUFDO0FBRWxGLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9sb2dpbi9sb2dpbi5mb3JtJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2xvZ2luL2xvZ2luLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9sb2dpbi9sb2dpbi5mb3JtJztcblxuZXhwb3J0ICogZnJvbSAnLi9saWIvcm91dGVzJztcblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbG9hZGluZy9sb2FkaW5nLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL3Jlc2V0LXBhc3N3b3JkL3Jlc2V0LXBhc3N3b3JkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9hdXRoZW50aWNhdGlvbi1jb250YWluZXIvYXV0aGVudGljYXRpb24tY29udGFpbmVyLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2ZhZGUtYW5pbWF0aW9uJztcbiJdfQ==
@@ -1,38 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { RouterOutlet } from '@angular/router';
3
- import { animate, style, transition, trigger, } from '@angular/animations';
4
- import * as i0 from "@angular/core";
5
- export class AuthenticationContainerComponent {
6
- prepareRoute(outlet) {
7
- return outlet.isActivated ? outlet.activatedRoute : 'true';
8
- }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AuthenticationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: AuthenticationContainerComponent, isStandalone: true, selector: "rxap-authentication-container", ngImport: i0, template: "<div [@routeAnimations]=\"prepareRoute(outlet)\" class=\"content\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n <ng-content></ng-content>\n\n</div>\n", styles: [".content{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;overflow-x:hidden}.content .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10;background-color:var(--accent-color)}\n"], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], animations: [
11
- trigger('routeAnimations', [
12
- transition(':enter', [
13
- style({ opacity: 0 }),
14
- animate('512ms', style({ opacity: 1 })),
15
- ]),
16
- transition(':leave', [
17
- style({ opacity: 1 }),
18
- animate('512ms', style({ opacity: 0 })),
19
- ]),
20
- ]),
21
- ] }); }
22
- }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AuthenticationContainerComponent, decorators: [{
24
- type: Component,
25
- args: [{ selector: 'rxap-authentication-container', animations: [
26
- trigger('routeAnimations', [
27
- transition(':enter', [
28
- style({ opacity: 0 }),
29
- animate('512ms', style({ opacity: 1 })),
30
- ]),
31
- transition(':leave', [
32
- style({ opacity: 1 }),
33
- animate('512ms', style({ opacity: 0 })),
34
- ]),
35
- ]),
36
- ], standalone: true, imports: [RouterOutlet], template: "<div [@routeAnimations]=\"prepareRoute(outlet)\" class=\"content\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n <ng-content></ng-content>\n\n</div>\n", styles: [".content{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;overflow-x:hidden}.content .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10;background-color:var(--accent-color)}\n"] }]
37
- }] });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRpb24tY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2Vz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GRpdiBbQHJvdXRlQW5pbWF0aW9uc109XCJwcmVwYXJlUm91dGUob3V0bGV0KVwiIGNsYXNzPVwiY29udGVudFwiPlxuXG4gIDxkaXYgY2xhc3M9XCJzcGxpdCBtYXQtZWxldmF0aW9uLXozXCI+PC9kaXY+XG5cbiAgPHJvdXRlci1vdXRsZXQgI291dGxldD1cIm91dGxldFwiPjwvcm91dGVyLW91dGxldD5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuXG48L2Rpdj5cbiJdfQ==
@@ -1,14 +0,0 @@
1
- // the fade-in/fade-out animation.
2
- import { animate, state, style, transition, trigger, } from '@angular/animations';
3
- export const fadeAnimation = trigger('fadeAnimation', [
4
- // the "in" style determines the "resting" state of the element when it is visible.
5
- state('in', style({ opacity: 1 })),
6
- // fade in when created. this could also be written as transition('void => *')
7
- transition(':enter', [
8
- style({ opacity: 0 }),
9
- animate(300),
10
- ]),
11
- // fade out when destroyed. this could also be written as transition('void => *')
12
- transition(':leave', animate(300, style({ opacity: 0 }))),
13
- ]);
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS1hbmltYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2F1dGhlbnRpY2F0aW9uL2NvbXBvbmVudHMvc3JjL2xpYi9mYWRlLWFuaW1hdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxrQ0FBa0M7QUFDbEMsT0FBTyxFQUNMLE9BQU8sRUFDUCxLQUFLLEVBQ0wsS0FBSyxFQUNMLFVBQVUsRUFDVixPQUFPLEdBQ1IsTUFBTSxxQkFBcUIsQ0FBQztBQUU3QixNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUcsT0FBTyxDQUFDLGVBQWUsRUFBRTtJQUVwRCxtRkFBbUY7SUFDbkYsS0FBS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LFxuICAgIGFuaW1hdGUoMzAwKSxcbiAgXSksXG5cbiAgLy8gZmFkZSBvdXQgd2hlbiBkZXN0cm95ZWQuIHRoaXMgY291bGQgYWxzbyBiZSB3cml0dGVuIGFzIHRyYW5zaXRpb24oJ3ZvaWQgPT4gKicpXG4gIHRyYW5zaXRpb24oXG4gICAgJzpsZWF2ZScsXG4gICAgYW5pbWF0ZSgzMDAsIHN0eWxlKHsgb3BhY2l0eTogMCB9KSksXG4gICksXG5dKTtcbiJdfQ==
@@ -1,39 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core';
2
- import { RxapAuthenticationService } from '@rxap/authentication';
3
- import { filter, tap, } from 'rxjs/operators';
4
- import { Router } from '@angular/router';
5
- import { MatProgressBarModule } from '@angular/material/progress-bar';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/material/progress-bar";
8
- import * as i2 from "@rxap/authentication";
9
- import * as i3 from "@angular/router";
10
- export class LoadingComponent {
11
- constructor(authentication, router) {
12
- this.authentication = authentication;
13
- this.router = router;
14
- }
15
- ngOnInit() {
16
- // TODO : remove the concept of isAuthenticated$
17
- if (this.authentication.isAuthenticated$) {
18
- this.subscription = this.authentication.isAuthenticated$
19
- .pipe(filter((isAuthenticated) => isAuthenticated !== null), tap(() => this.router.navigate(['/', 'authentication', 'login'])))
20
- .subscribe();
21
- }
22
- }
23
- ngOnDestroy() {
24
- this.subscription?.unsubscribe();
25
- }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LoadingComponent, deps: [{ token: RxapAuthenticationService }, { token: Router }], target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: LoadingComponent, isStandalone: true, selector: "rxap-auth-loading", ngImport: i0, template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [".loading-bar{position:absolute;bottom:65vh;left:0;right:0;top:auto}\n"], dependencies: [{ kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LoadingComponent, decorators: [{
30
- type: Component,
31
- args: [{ selector: 'rxap-auth-loading', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatProgressBarModule], template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [".loading-bar{position:absolute;bottom:65vh;left:0;right:0;top:auto}\n"] }]
32
- }], ctorParameters: function () { return [{ type: i2.RxapAuthenticationService, decorators: [{
33
- type: Inject,
34
- args: [RxapAuthenticationService]
35
- }] }, { type: i3.Router, decorators: [{
36
- type: Inject,
37
- args: [Router]
38
- }] }]; } });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2F1dGhlbnRpY2F0aW9uL2NvbXBvbmVudHMvc3JjL2xpYi9sb2FkaW5nL2xvYWRpbmcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9hdXRoZW50aWNhdGlvbi9jb21wb25lbnRzL3NyYy9saWIvbG9hZGluZy9sb2FkaW5nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULE1BQU0sR0FHUCxNQUFN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gaW1wb3J0czogWyBNYXRQcm9ncmVzc0Jhck1vZHVsZSBdLFxufSlcbmV4cG9ydCBjbGFzcyBMb2FkaW5nQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0LCBPbkRlc3Ryb3kge1xuICBwdWJsaWMgc3Vic2NyaXB0aW9uPzogU3Vic2NyaXB0aW9uO1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIEBJbmplY3QoUnhhcEF1dGhlbnRpY2F0aW9uU2VydmljZSlcbiAgICBwdWJsaWMgcmVhZG9ubHkgYXV0aGVudGljYXRpb246IFJ4YXBBdXRoZW50aWNhdGlvblNlcnZpY2UsXG4gICAgQEluamVjdChSb3V0ZXIpXG4gICAgcHVibGljIHJlYWRvbmx5IHJvdXRlcjogUm91dGVyLFxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICAvLyBUT0RPIDogcmVtb3ZlIHRoZSBjb25jZXB0IG9mIGlzQXV0aGVudGljYXRlZCRcbiAgICBpZiAodGhpcy5hdXRoZW50aWNhdGlvbi5pc0F1dGhlbnRpY2F0ZWQkKSB7XG4gICAgICB0aGlzLnN1YnNjcmlwdGlvbiA9IHRoaXMuYXV0aGVudGljYXRpb24uaXNBdXRoZW50aWNhdGVkJFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZpbHRlcigoaXNBdXRoZW50aWNhdGVkKSA9PiBpc0F1dGhlbnRpY2F0ZWQgIT09IG51bGwpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YXAoKCkgPT4gdGhpcy5yb3V0ZXIubmF2aWdhdGUoWyAnLycsICdhdXRoZW50aWNhdGlvbicsICdsb2dpbicgXSkpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLnN1YnNjcmliZSgpO1xuICAgIH1cbiAgfVxuXG4gIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLnN1YnNjcmlwdGlvbj8udW5zdWJzY3JpYmUoKTtcbiAgfVxufVxuIiwiPG1hdC1wcm9ncmVzcy1iYXIgY2xhc3M9XCJsb2FkaW5nLWJhclwiIG1vZGU9XCJpbmRldGVybWluYXRlXCI+PC9tYXQtcHJvZ3Jlc3MtYmFyPlxuIl19
@@ -1,104 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core';
2
- import { LoginFormProviders } from './login.form';
3
- import { ErrorStateMatcher, ShowOnDirtyErrorStateMatcher, } from '@angular/material/core';
4
- import { fadeAnimation } from '../fade-animation';
5
- import { RxapAuthenticationService } from '@rxap/authentication';
6
- import { MatSnackBar, MatSnackBarModule, } from '@angular/material/snack-bar';
7
- import { ToggleSubject } from '@rxap/rxjs';
8
- import { MatProgressBarModule } from '@angular/material/progress-bar';
9
- import { FormControlErrorDirective, FormControlMarkDirtyDirective, FormDirective, FormSubmitFailedDirective, FormSubmittingDirective, } from '@rxap/forms';
10
- import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
11
- import { MatTooltipModule } from '@angular/material/tooltip';
12
- import { MatCheckboxModule } from '@angular/material/checkbox';
13
- import { MatButtonModule } from '@angular/material/button';
14
- import { AsyncPipe, NgIf, } from '@angular/common';
15
- import { MatInputModule } from '@angular/material/input';
16
- import { MatFormFieldModule } from '@angular/material/form-field';
17
- import { MatIconModule } from '@angular/material/icon';
18
- import { FlexModule } from '@angular/flex-layout/flex';
19
- import { ReactiveFormsModule } from '@angular/forms';
20
- import * as i0 from "@angular/core";
21
- import * as i1 from "@angular/forms";
22
- import * as i2 from "@angular/flex-layout/flex";
23
- import * as i3 from "@angular/material/icon";
24
- import * as i4 from "@angular/material/form-field";
25
- import * as i5 from "@angular/material/input";
26
- import * as i6 from "@angular/material/button";
27
- import * as i7 from "@angular/material/checkbox";
28
- import * as i8 from "@angular/material/tooltip";
29
- import * as i9 from "@angular/material/progress-spinner";
30
- import * as i10 from "@angular/material/progress-bar";
31
- import * as i11 from "@rxap/authentication";
32
- import * as i12 from "@angular/material/snack-bar";
33
- export class LoginComponent {
34
- constructor(authentication, snackBar) {
35
- this.authentication = authentication;
36
- this.snackBar = snackBar;
37
- this.requestingPasswordReset$ = new ToggleSubject();
38
- }
39
- async requestPasswordReset(email) {
40
- this.requestingPasswordReset$.enable();
41
- try {
42
- const result = await this.authentication.requestPasswordReset(email);
43
- if (!result) {
44
- this.snackBar.open('The password reset request result is falsy', undefined, {
45
- duration: 5000,
46
- panelClass: 'error',
47
- });
48
- }
49
- else {
50
- this.snackBar.open('The password reset request was successful', undefined, {
51
- duration: 3000,
52
- });
53
- }
54
- }
55
- catch (e) {
56
- this.snackBar.open(e.message, undefined, {
57
- duration: 3000,
58
- panelClass: 'error',
59
- });
60
- }
61
- finally {
62
- this.requestingPasswordReset$.disable();
63
- }
64
- }
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LoginComponent, deps: [{ token: RxapAuthenticationService }, { token: MatSnackBar }], target: i0.ɵɵFactoryTarget.Component }); }
66
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: LoginComponent, isStandalone: true, selector: "rxap-login", providers: [
67
- LoginFormProviders,
68
- {
69
- provide: ErrorStateMatcher,
70
- useClass: ShowOnDirtyErrorStateMatcher,
71
- },
72
- ], ngImport: i0, template: "<form #form=\"rxapForm\" [@fadeAnimation]=\"'in'\" class=\"inner mat-elevation-z5\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\"\n fxLayoutGap=\"32px\" novalidate\n rxapForm>\n\n <div class=\"header\" fxFlex=\"nogrow\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n\n <mat-icon class=\"avatar-icon\" color=\"primary\" fxFlex=\"nogrow\">account_circle</mat-icon>\n\n </div>\n\n <div class=\"content\" fxLayout=\"column\" fxLayoutGap=\"32px\">\n\n <div fxLayout=\"column\">\n\n <mat-form-field class=\"email-input\">\n <mat-icon inline matPrefix>email</mat-icon>\n <mat-label i18n>Email</mat-label>\n <input formControlName=\"email\"\n fxFlex=\"nogrow\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your email address\"\n type=\"email\">\n <mat-error *rxapFormControlError=\"let error from 'email'; if: 'required'\">\n Email is <strong>required</strong>\n </mat-error>\n <mat-error *rxapFormControlError=\"let error from 'email'; if: 'email'\">\n Please enter a valid email address\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>Password</mat-label>\n <input #passwordInput\n formControlName=\"password\"\n fxFlex=\"nogrow\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your password\"\n type=\"password\">\n <mat-error *rxapFormControlError=\"let error from 'password'; if: 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <button (click)=\"passwordInput.type = 'test'\" *ngIf=\"passwordInput.type === 'password'\" mat-icon-button\n matSuffix tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button (click)=\"passwordInput.type = 'password'\" *ngIf=\"passwordInput.type === 'text'\" mat-icon-button\n matSuffix tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility_off</mat-icon>\n </button>\n </mat-form-field>\n\n </div>\n\n <div class=\"sub-controls\" fxLayout=\"row wrap\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"16px\">\n\n <mat-checkbox class=\"remember-input\" formControlName=\"remember\" fxFlex=\"nogrow\">Remember me</mat-checkbox>\n\n <div [matTooltipDisabled]=\"form.control.controls['email'].valid\"\n fxFlex=\"nogrow\"\n matTooltip=\"Please enter a valid email address\"\n matTooltipPosition=\"above\">\n <button (click)=\"requestPasswordReset(form.value.email)\"\n [disabled]=\"!form.value.email || form.control.controls['email'].hasError('email')\"\n color=\"accent\"\n mat-button\n type=\"button\">\n <span fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"8px\">\n <mat-progress-spinner *ngIf=\"requestingPasswordReset$ | async\" [diameter]=\"15\"\n mode=\"indeterminate\"></mat-progress-spinner>\n <span fxFlex=\"nogrow\">Password forgotten</span>\n </span>\n </button>\n </div>\n\n </div>\n\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n\n <div fxFlex=\"nogrow\">\n <button color=\"primary\" mat-raised-button rxapFormControlMarkDirty type=\"submit\">Login</button>\n </div>\n\n </div>\n\n </div>\n\n <div *rxapFormSubmitFailed=\"let error\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <mat-error>{{ error.message }}</mat-error>\n </div>\n\n <mat-progress-bar *rxapFormSubmitting class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n\n</form>\n", styles: ["::ng-deep .mat-mdc-snack-bar-container.error{background-color:var(--warn-color);color:var(--foreground-color)}.inner{padding:48px;position:relative;margin:16px 0;background-color:var(--background-color)}.inner ::ng-deep .mat-mdc-form-field-icon-prefix,.inner ::ng-deep .mat-mdc-form-field-icon-suffix{color:var(--hint-text-color)}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}.inner .content{width:304px;max-width:calc(100vw - 112px)}.inner .content .email-input,.inner .content .password-input{width:100%}.inner .content .email-input .prefix-icon,.inner .content .password-input .prefix-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center}.inner .content .email-input ::ng-deep .mat-form-field-prefix,.inner .content .password-input ::ng-deep .mat-form-field-prefix{align-self:flex-end;margin:4px}.inner .content [type=submit]{width:128px;text-transform:uppercase}.inner .sub-controls>*{margin-bottom:8px}.inner .loading-bar{position:absolute;inset:auto 0 0}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: FormDirective, selector: "form[rxapForm]:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]", inputs: ["initial", "rxapForm", "submitMethod"], outputs: ["ngSubmit", "rxapSubmit", "invalidSubmit", "submitSuccessful"], exportAs: ["rxapForm"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: FormControlErrorDirective, selector: "[rxapFormControlError]", inputs: ["rxapFormControlErrorFrom", "rxapFormControlErrorIf"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i7.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i9.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: FormControlMarkDirtyDirective, selector: "[rxapFormControlMarkDirty]" }, { kind: "directive", type: FormSubmitFailedDirective, selector: "[rxapFormSubmitFailed]" }, { kind: "directive", type: FormSubmittingDirective, selector: "[rxapFormSubmitting]" }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i10.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatSnackBarModule }], animations: [
73
- fadeAnimation,
74
- ], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
75
- }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LoginComponent, decorators: [{
77
- type: Component,
78
- args: [{ selector: 'rxap-login', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
79
- LoginFormProviders,
80
- {
81
- provide: ErrorStateMatcher,
82
- useClass: ShowOnDirtyErrorStateMatcher,
83
- },
84
- ], animations: [
85
- fadeAnimation,
86
- ], standalone: true, imports: [
87
- ReactiveFormsModule,
88
- FormDirective,
89
- FlexModule,
90
- MatIconModule,
91
- MatFormFieldModule,
92
- MatInputModule,
93
- FormControlErrorDirective, NgIf, MatButtonModule, MatCheckboxModule, MatTooltipModule, MatProgressSpinnerModule,
94
- FormControlMarkDirtyDirective, FormSubmitFailedDirective, FormSubmittingDirective, MatProgressBarModule, AsyncPipe,
95
- MatSnackBarModule,
96
- ], template: "<form #form=\"rxapForm\" [@fadeAnimation]=\"'in'\" class=\"inner mat-elevation-z5\" fxLayout=\"column\"\n fxLayoutAlign=\"center center\"\n fxLayoutGap=\"32px\" novalidate\n rxapForm>\n\n <div class=\"header\" fxFlex=\"nogrow\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n\n <mat-icon class=\"avatar-icon\" color=\"primary\" fxFlex=\"nogrow\">account_circle</mat-icon>\n\n </div>\n\n <div class=\"content\" fxLayout=\"column\" fxLayoutGap=\"32px\">\n\n <div fxLayout=\"column\">\n\n <mat-form-field class=\"email-input\">\n <mat-icon inline matPrefix>email</mat-icon>\n <mat-label i18n>Email</mat-label>\n <input formControlName=\"email\"\n fxFlex=\"nogrow\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your email address\"\n type=\"email\">\n <mat-error *rxapFormControlError=\"let error from 'email'; if: 'required'\">\n Email is <strong>required</strong>\n </mat-error>\n <mat-error *rxapFormControlError=\"let error from 'email'; if: 'email'\">\n Please enter a valid email address\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>Password</mat-label>\n <input #passwordInput\n formControlName=\"password\"\n fxFlex=\"nogrow\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your password\"\n type=\"password\">\n <mat-error *rxapFormControlError=\"let error from 'password'; if: 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <button (click)=\"passwordInput.type = 'test'\" *ngIf=\"passwordInput.type === 'password'\" mat-icon-button\n matSuffix tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button (click)=\"passwordInput.type = 'password'\" *ngIf=\"passwordInput.type === 'text'\" mat-icon-button\n matSuffix tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility_off</mat-icon>\n </button>\n </mat-form-field>\n\n </div>\n\n <div class=\"sub-controls\" fxLayout=\"row wrap\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"16px\">\n\n <mat-checkbox class=\"remember-input\" formControlName=\"remember\" fxFlex=\"nogrow\">Remember me</mat-checkbox>\n\n <div [matTooltipDisabled]=\"form.control.controls['email'].valid\"\n fxFlex=\"nogrow\"\n matTooltip=\"Please enter a valid email address\"\n matTooltipPosition=\"above\">\n <button (click)=\"requestPasswordReset(form.value.email)\"\n [disabled]=\"!form.value.email || form.control.controls['email'].hasError('email')\"\n color=\"accent\"\n mat-button\n type=\"button\">\n <span fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"8px\">\n <mat-progress-spinner *ngIf=\"requestingPasswordReset$ | async\" [diameter]=\"15\"\n mode=\"indeterminate\"></mat-progress-spinner>\n <span fxFlex=\"nogrow\">Password forgotten</span>\n </span>\n </button>\n </div>\n\n </div>\n\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n\n <div fxFlex=\"nogrow\">\n <button color=\"primary\" mat-raised-button rxapFormControlMarkDirty type=\"submit\">Login</button>\n </div>\n\n </div>\n\n </div>\n\n <div *rxapFormSubmitFailed=\"let error\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <mat-error>{{ error.message }}</mat-error>\n </div>\n\n <mat-progress-bar *rxapFormSubmitting class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n\n</form>\n", styles: ["::ng-deep .mat-mdc-snack-bar-container.error{background-color:var(--warn-color);color:var(--foreground-color)}.inner{padding:48px;position:relative;margin:16px 0;background-color:var(--background-color)}.inner ::ng-deep .mat-mdc-form-field-icon-prefix,.inner ::ng-deep .mat-mdc-form-field-icon-suffix{color:var(--hint-text-color)}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}.inner .content{width:304px;max-width:calc(100vw - 112px)}.inner .content .email-input,.inner .content .password-input{width:100%}.inner .content .email-input .prefix-icon,.inner .content .password-input .prefix-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center}.inner .content .email-input ::ng-deep .mat-form-field-prefix,.inner .content .password-input ::ng-deep .mat-form-field-prefix{align-self:flex-end;margin:4px}.inner .content [type=submit]{width:128px;text-transform:uppercase}.inner .sub-controls>*{margin-bottom:8px}.inner .loading-bar{position:absolute;inset:auto 0 0}\n"] }]
97
- }], ctorParameters: function () { return [{ type: i11.RxapAuthenticationService, decorators: [{
98
- type: Inject,
99
- args: [RxapAuthenticationService]
100
- }] }, { type: i12.MatSnackBar, decorators: [{
101
- type: Inject,
102
- args: [MatSnackBar]
103
- }] }]; } });
104
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9hdXRoZW50aWNhdGlvbi9jb21wb25lbnRzL3NyYy9saWIvbG9naW4vbG9naW4uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9hdXRoZW50aWNhdGlvbi9jb21wb25lbnRzL3NyYy9saWIvbG9naW4vbG9naW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNsRCxPQUFPLEVBQ0wsaUJBQWlCLEVBQ2pCLDRCQUE0QixHQUM3QixNQUFNLHdCQUF3QixDQUFDO0FBQ2hDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNsRCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNqRSxPQUFPLEVBQ0wsV0FBVyxFQUNYLGlCQUFpQixHQUNsQixNQUFNLDZCQUE2QixDQUFDO0FBQ3JDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxZQUF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