@rxap/ngx-material-authentication 19.0.4-dev.0 → 19.0.5-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 +19 -0
- package/compodoc/changelog.html +16 -0
- package/compodoc/dependencies.html +7 -7
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +98 -98
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- 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 +8 -8
- package/docs/markdown/classes/LoginComponent.md +5 -5
- package/docs/markdown/classes/LoginForm.md +11 -11
- package/docs/markdown/classes/LoginFormSubmitMethod.md +4 -4
- package/docs/markdown/classes/LoginFormSubmitSuccessful.md +4 -4
- 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 +4 -4
- 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 +7 -7
- package/docs/wiki/Class.LoginComponent.md +4 -4
- package/docs/wiki/Class.LoginForm.md +10 -10
- package/docs/wiki/Class.LoginFormSubmitMethod.md +3 -3
- package/docs/wiki/Class.LoginFormSubmitSuccessful.md +3 -3
- 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 +3 -3
- 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 +38 -38
- package/fesm2022/rxap-ngx-material-authentication.mjs.map +1 -1
- package/package.json +35 -36
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: SignInWithEmailAndPasswordMethodParameters
|
|
4
4
|
|
|
5
|
-
Defined in: [login/sign-in-with-email-and-password.method.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [login/sign-in-with-email-and-password.method.ts:4](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/login/sign-in-with-email-and-password.method.ts#L4)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [login/sign-in-with-email-and-password.method.ts:4](https://gitlab.c
|
|
|
10
10
|
|
|
11
11
|
> **email**: `string`
|
|
12
12
|
|
|
13
|
-
Defined in: [login/sign-in-with-email-and-password.method.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [login/sign-in-with-email-and-password.method.ts:5](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/login/sign-in-with-email-and-password.method.ts#L5)
|
|
14
14
|
|
|
15
15
|
***
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Defined in: [login/sign-in-with-email-and-password.method.ts:5](https://gitlab.c
|
|
|
18
18
|
|
|
19
19
|
> **password**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [login/sign-in-with-email-and-password.method.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [login/sign-in-with-email-and-password.method.ts:6](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/login/sign-in-with-email-and-password.method.ts#L6)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,4 +26,4 @@ Defined in: [login/sign-in-with-email-and-password.method.ts:6](https://gitlab.c
|
|
|
26
26
|
|
|
27
27
|
> `optional` **remember**: `boolean`
|
|
28
28
|
|
|
29
|
-
Defined in: [login/sign-in-with-email-and-password.method.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [login/sign-in-with-email-and-password.method.ts:7](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/login/sign-in-with-email-and-password.method.ts#L7)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **AUTHENTICATION\_ROUTE**: `Routes`
|
|
6
6
|
|
|
7
|
-
Defined in: [routes.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [routes.ts:8](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/routes.ts#L8)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **LoginFormProviders**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [login/login.form.ts:105](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [login/login.form.ts:105](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/login/login.form.ts#L105)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_RESET\_PASSWORD\_FORM**: `"rxap-reset-password"` = `'rxap-reset-password'`
|
|
6
6
|
|
|
7
|
-
Defined in: [reset-password/reset-password.form.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [reset-password/reset-password.form.ts:37](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/reset-password/reset-password.form.ts#L37)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **ResetPasswordFormProviders**: `Provider`[]
|
|
6
6
|
|
|
7
|
-
Defined in: [reset-password/reset-password.form.ts:122](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [reset-password/reset-password.form.ts:122](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/reset-password/reset-password.form.ts#L122)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **fadeAnimation**: `AnimationTriggerMetadata`
|
|
6
6
|
|
|
7
|
-
Defined in: [fade-animation.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [fade-animation.ts:10](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/material/authentication/src/lib/fade-animation.ts#L10)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -53,10 +53,10 @@ class SetNewPasswordWithResetTokenMethod {
|
|
|
53
53
|
call(parameters) {
|
|
54
54
|
throw new Error('Method not implemented.');
|
|
55
55
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
57
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
57
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, providedIn: 'root' }); }
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, decorators: [{
|
|
60
60
|
type: Injectable,
|
|
61
61
|
args: [{ providedIn: 'root' }]
|
|
62
62
|
}] });
|
|
@@ -88,10 +88,10 @@ class ResetPasswordFormSubmitMethod {
|
|
|
88
88
|
},
|
|
89
89
|
}), map(() => true)));
|
|
90
90
|
}
|
|
91
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
92
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ResetPasswordFormSubmitMethod, deps: [{ token: ActivatedRoute }, { token: SetNewPasswordWithResetTokenMethod }, { token: MatSnackBar }, { token: Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
92
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ResetPasswordFormSubmitMethod }); }
|
|
93
93
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ResetPasswordFormSubmitMethod, decorators: [{
|
|
95
95
|
type: Injectable
|
|
96
96
|
}], ctorParameters: () => [{ type: i2.ActivatedRoute, decorators: [{
|
|
97
97
|
type: Inject,
|
|
@@ -116,8 +116,8 @@ let ResetPasswordForm = class ResetPasswordForm {
|
|
|
116
116
|
resetRepeat() {
|
|
117
117
|
this.passwordRepeat.reset();
|
|
118
118
|
}
|
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
120
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ResetPasswordForm, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
120
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ResetPasswordForm }); }
|
|
121
121
|
};
|
|
122
122
|
__decorate([
|
|
123
123
|
UseFormControl({
|
|
@@ -148,7 +148,7 @@ ResetPasswordForm = __decorate([
|
|
|
148
148
|
id: RXAP_RESET_PASSWORD_FORM,
|
|
149
149
|
})
|
|
150
150
|
], ResetPasswordForm);
|
|
151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ResetPasswordForm, decorators: [{
|
|
152
152
|
type: Injectable
|
|
153
153
|
}], propDecorators: { password: [], passwordRepeat: [], passwordEqual: [], resetRepeat: [] } });
|
|
154
154
|
const ResetPasswordFormProviders = [
|
|
@@ -170,18 +170,18 @@ const ResetPasswordFormProviders = [
|
|
|
170
170
|
];
|
|
171
171
|
|
|
172
172
|
class ResetPasswordComponent {
|
|
173
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
174
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ResetPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
174
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: ResetPasswordComponent, isStandalone: true, selector: "rxap-reset-password", providers: [
|
|
175
175
|
ResetPasswordFormProviders,
|
|
176
176
|
{
|
|
177
177
|
provide: ErrorStateMatcher,
|
|
178
178
|
useClass: ShowOnDirtyErrorStateMatcher,
|
|
179
179
|
},
|
|
180
|
-
], ngImport: i0, template: "<form #form=\"rxapForm\" [@fadeAnimation]=\"'in'\"\n class=\"inner mat-elevation-z5 flex flex-col items-center justify-center gap-4\"\n novalidate\n rxapForm>\n\n <div class=\"header grow-0 flex flex-col items-center justify-center\">\n\n <mat-icon class=\"avatar-icon grow-0\" color=\"primary\">vpn_key</mat-icon>\n\n </div>\n\n <div class=\"content flex flex-col gap-4\">\n\n <div class=\"flex flex-col\">\n\n <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>New password</mat-label>\n <input #passwordInput\n formControlName=\"password\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your new password\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <button (click)=\"passwordInput.type = 'text'\" *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 <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>Repeat password</mat-label>\n <input #passwordRepeatInput\n formControlName=\"passwordRepeat\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your new password again\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <mat-error *rxapControlError=\"let error key 'equal'\">\n Entered password are <strong>not equal</strong>\n </mat-error>\n <button (click)=\"passwordRepeatInput.type = 'text'\"\n *ngIf=\"passwordRepeatInput.type === 'password'\"\n mat-icon-button\n matSuffix\n tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button (click)=\"passwordRepeatInput.type = 'password'\"\n *ngIf=\"passwordRepeatInput.type === 'text'\"\n mat-icon-button\n matSuffix\n 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=\"grow-0 flex flex-row justify-center items-center\">\n\n <div class=\"grow-0\">\n <button color=\"primary\" mat-raised-button rxapFormControlMarkDirty type=\"submit\">\n <ng-container i18n>Reset password</ng-container>\n </button>\n </div>\n\n </div>\n\n </div>\n\n <div *rxapFormSubmitFailed=\"let error\" class=\"flex flex-row items-center justify-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: [".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, gray)}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}.inner .content{width:304px;max-width:calc(100vw - 112px)}.inner .content .password-input{width:100%}.inner .content .password-input .prefix-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center}.inner .content .password-input ::ng-deep .mat-form-field-prefix{align-self:flex-end;margin:4px}.inner .content [type=submit]{width:256px;text-transform:uppercase}.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", "context", "rxapForm", "submitMethod", "loadMethod", "loadFailedMethod", "loadSuccessfulMethod", "submitFailedMethod", "submitSuccessfulMethod"], outputs: ["ngSubmit", "rxapSubmit", "invalidSubmit", "submitSuccessful"], exportAs: ["rxapForm"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { 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: i6.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatSnackBarModule }, { kind: "directive", type: ControlErrorDirective, selector: "[rxapControlError]", inputs: ["rxapControlErrorKey"] }], animations: [
|
|
180
|
+
], ngImport: i0, template: "<form #form=\"rxapForm\" [@fadeAnimation]=\"'in'\"\n class=\"inner mat-elevation-z5 flex flex-col items-center justify-center gap-4\"\n novalidate\n rxapForm>\n\n <div class=\"header grow-0 flex flex-col items-center justify-center\">\n\n <mat-icon class=\"avatar-icon grow-0\" color=\"primary\">vpn_key</mat-icon>\n\n </div>\n\n <div class=\"content flex flex-col gap-4\">\n\n <div class=\"flex flex-col\">\n\n <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>New password</mat-label>\n <input #passwordInput\n formControlName=\"password\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your new password\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <button (click)=\"passwordInput.type = 'text'\" *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 <mat-form-field class=\"password-input\">\n <mat-icon inline matPrefix>vpn_key</mat-icon>\n <mat-label i18n>Repeat password</mat-label>\n <input #passwordRepeatInput\n formControlName=\"passwordRepeat\"\n i18n-placeholder\n matInput\n placeholder=\"Enter your new password again\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Password is <strong>required</strong>\n </mat-error>\n <mat-error *rxapControlError=\"let error key 'equal'\">\n Entered password are <strong>not equal</strong>\n </mat-error>\n <button (click)=\"passwordRepeatInput.type = 'text'\"\n *ngIf=\"passwordRepeatInput.type === 'password'\"\n mat-icon-button\n matSuffix\n tabIndex=\"-1\"\n type=\"button\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button (click)=\"passwordRepeatInput.type = 'password'\"\n *ngIf=\"passwordRepeatInput.type === 'text'\"\n mat-icon-button\n matSuffix\n 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=\"grow-0 flex flex-row justify-center items-center\">\n\n <div class=\"grow-0\">\n <button color=\"primary\" mat-raised-button rxapFormControlMarkDirty type=\"submit\">\n <ng-container i18n>Reset password</ng-container>\n </button>\n </div>\n\n </div>\n\n </div>\n\n <div *rxapFormSubmitFailed=\"let error\" class=\"flex flex-row items-center justify-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: [".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, gray)}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}.inner .content{width:304px;max-width:calc(100vw - 112px)}.inner .content .password-input{width:100%}.inner .content .password-input .prefix-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center}.inner .content .password-input ::ng-deep .mat-form-field-prefix{align-self:flex-end;margin:4px}.inner .content [type=submit]{width:256px;text-transform:uppercase}.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", "context", "rxapForm", "submitMethod", "loadMethod", "loadFailedMethod", "loadSuccessfulMethod", "submitFailedMethod", "submitSuccessfulMethod"], outputs: ["ngSubmit", "initialChange", "contextChange", "rxapSubmit", "invalidSubmit", "submitSuccessful"], exportAs: ["rxapForm"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { 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: i6.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatSnackBarModule }, { kind: "directive", type: ControlErrorDirective, selector: "[rxapControlError]", inputs: ["rxapControlErrorKey"] }], animations: [
|
|
181
181
|
fadeAnimation,
|
|
182
182
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
183
183
|
}
|
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ResetPasswordComponent, decorators: [{
|
|
185
185
|
type: Component,
|
|
186
186
|
args: [{ selector: 'rxap-reset-password', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
187
187
|
ResetPasswordFormProviders,
|
|
@@ -212,10 +212,10 @@ class SignInWithEmailAndPasswordMethod {
|
|
|
212
212
|
call(parameters) {
|
|
213
213
|
throw new Error('Method not implemented.');
|
|
214
214
|
}
|
|
215
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
216
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SignInWithEmailAndPasswordMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
216
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SignInWithEmailAndPasswordMethod, providedIn: 'root' }); }
|
|
217
217
|
}
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SignInWithEmailAndPasswordMethod, decorators: [{
|
|
219
219
|
type: Injectable,
|
|
220
220
|
args: [{ providedIn: 'root' }]
|
|
221
221
|
}] });
|
|
@@ -236,8 +236,8 @@ let LoginForm = class LoginForm {
|
|
|
236
236
|
this.password.setValue(password);
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
240
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginForm, deps: [{ token: i1$1.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginForm }); }
|
|
241
241
|
};
|
|
242
242
|
__decorate([
|
|
243
243
|
UseFormControl({
|
|
@@ -263,7 +263,7 @@ LoginForm = __decorate([
|
|
|
263
263
|
}),
|
|
264
264
|
__metadata("design:paramtypes", [ConfigService])
|
|
265
265
|
], LoginForm);
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginForm, decorators: [{
|
|
267
267
|
type: Injectable
|
|
268
268
|
}], ctorParameters: () => [{ type: i1$1.ConfigService }], propDecorators: { email: [], password: [], remember: [] } });
|
|
269
269
|
class LoginFormSubmitMethod {
|
|
@@ -277,10 +277,10 @@ class LoginFormSubmitMethod {
|
|
|
277
277
|
remember: value.remember,
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
281
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
280
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginFormSubmitMethod, deps: [{ token: SignInWithEmailAndPasswordMethod }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
281
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginFormSubmitMethod }); }
|
|
282
282
|
}
|
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginFormSubmitMethod, decorators: [{
|
|
284
284
|
type: Injectable
|
|
285
285
|
}], ctorParameters: () => [{ type: SignInWithEmailAndPasswordMethod }] });
|
|
286
286
|
class LoginFormSubmitSuccessful {
|
|
@@ -291,10 +291,10 @@ class LoginFormSubmitSuccessful {
|
|
|
291
291
|
console.debug('Login was successful. Navigate to application root');
|
|
292
292
|
return this.router.navigate(['/']);
|
|
293
293
|
}
|
|
294
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
295
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginFormSubmitSuccessful, deps: [{ token: Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
295
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginFormSubmitSuccessful }); }
|
|
296
296
|
}
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginFormSubmitSuccessful, decorators: [{
|
|
298
298
|
type: Injectable
|
|
299
299
|
}], ctorParameters: () => [{ type: i2.Router, decorators: [{
|
|
300
300
|
type: Inject,
|
|
@@ -326,10 +326,10 @@ class RequestResetPasswordMethod {
|
|
|
326
326
|
call(parameters) {
|
|
327
327
|
throw new Error('Method not implemented.');
|
|
328
328
|
}
|
|
329
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
330
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RequestResetPasswordMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
330
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RequestResetPasswordMethod, providedIn: 'root' }); }
|
|
331
331
|
}
|
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: RequestResetPasswordMethod, decorators: [{
|
|
333
333
|
type: Injectable,
|
|
334
334
|
args: [{ providedIn: 'root' }]
|
|
335
335
|
}] });
|
|
@@ -367,18 +367,18 @@ class LoginComponent {
|
|
|
367
367
|
this.requestingPasswordReset$.disable();
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
371
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginComponent, deps: [{ token: RxapAuthenticationService }, { token: MatSnackBar }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
371
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: LoginComponent, isStandalone: true, selector: "rxap-login", providers: [
|
|
372
372
|
LoginFormProviders,
|
|
373
373
|
{
|
|
374
374
|
provide: ErrorStateMatcher,
|
|
375
375
|
useClass: ShowOnDirtyErrorStateMatcher,
|
|
376
376
|
},
|
|
377
|
-
], ngImport: i0, template: "<form #form=\"rxapForm\" [@fadeAnimation]=\"'in'\"\n class=\"inner mat-elevation-z5 flex flex-col justify-center items-center gap-4\"\n novalidate\n rxapForm>\n\n <div class=\"header flex flex-col items-center justify-center grow-0\">\n\n <mat-icon class=\"avatar-icon grow-0\" color=\"primary\">account_circle</mat-icon>\n\n </div>\n\n <div class=\"content flex flex-col gap-8\">\n\n <div class=\"flex flex-col\">\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 i18n-placeholder\n matInput\n name=\"email\"\n placeholder=\"Enter your email address\"\n type=\"email\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Email is <strong>required</strong>\n </mat-error>\n <mat-error *rxapControlError=\"let error key '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 i18n-placeholder\n matInput\n name=\"password\"\n placeholder=\"Enter your password\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key '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 flex flex-row flex-wrap justify-between items-center gap-4\">\n\n <mat-checkbox class=\"remember-input grow-0\" formControlName=\"remember\">Remember me</mat-checkbox>\n\n <div [matTooltipDisabled]=\"form.control.controls['email'].valid\"\n class=\"grow-0\"\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 class=\"flex flex-row justify-between items-center gap-2\">\n <mat-progress-spinner *ngIf=\"requestingPasswordReset$ | async\" [diameter]=\"15\"\n mode=\"indeterminate\"></mat-progress-spinner>\n <span class=\"grow-0\">Password forgotten</span>\n </span>\n </button>\n </div>\n\n </div>\n\n <div class=\"grow-0 flex flex-row justify-center items-center\">\n\n <div class=\"grow-0\">\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\" class=\"flex flex-row justify-center items-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-500);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, gray)}.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", "context", "rxapForm", "submitMethod", "loadMethod", "loadFailedMethod", "loadSuccessfulMethod", "submitFailedMethod", "submitSuccessfulMethod"], outputs: ["ngSubmit", "rxapSubmit", "invalidSubmit", "submitSuccessful"], exportAs: ["rxapForm"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i6$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.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: i6.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatSnackBarModule }, { kind: "directive", type: ControlErrorDirective, selector: "[rxapControlError]", inputs: ["rxapControlErrorKey"] }], animations: [
|
|
377
|
+
], ngImport: i0, template: "<form #form=\"rxapForm\" [@fadeAnimation]=\"'in'\"\n class=\"inner mat-elevation-z5 flex flex-col justify-center items-center gap-4\"\n novalidate\n rxapForm>\n\n <div class=\"header flex flex-col items-center justify-center grow-0\">\n\n <mat-icon class=\"avatar-icon grow-0\" color=\"primary\">account_circle</mat-icon>\n\n </div>\n\n <div class=\"content flex flex-col gap-8\">\n\n <div class=\"flex flex-col\">\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 i18n-placeholder\n matInput\n name=\"email\"\n placeholder=\"Enter your email address\"\n type=\"email\">\n <mat-error *rxapControlError=\"let error key 'required'\">\n Email is <strong>required</strong>\n </mat-error>\n <mat-error *rxapControlError=\"let error key '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 i18n-placeholder\n matInput\n name=\"password\"\n placeholder=\"Enter your password\"\n type=\"password\">\n <mat-error *rxapControlError=\"let error key '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 flex flex-row flex-wrap justify-between items-center gap-4\">\n\n <mat-checkbox class=\"remember-input grow-0\" formControlName=\"remember\">Remember me</mat-checkbox>\n\n <div [matTooltipDisabled]=\"form.control.controls['email'].valid\"\n class=\"grow-0\"\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 class=\"flex flex-row justify-between items-center gap-2\">\n <mat-progress-spinner *ngIf=\"requestingPasswordReset$ | async\" [diameter]=\"15\"\n mode=\"indeterminate\"></mat-progress-spinner>\n <span class=\"grow-0\">Password forgotten</span>\n </span>\n </button>\n </div>\n\n </div>\n\n <div class=\"grow-0 flex flex-row justify-center items-center\">\n\n <div class=\"grow-0\">\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\" class=\"flex flex-row justify-center items-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-500);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, gray)}.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", "context", "rxapForm", "submitMethod", "loadMethod", "loadFailedMethod", "loadSuccessfulMethod", "submitFailedMethod", "submitSuccessfulMethod"], outputs: ["ngSubmit", "initialChange", "contextChange", "rxapSubmit", "invalidSubmit", "submitSuccessful"], exportAs: ["rxapForm"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i3$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i3$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i6$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i8.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: i6.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatSnackBarModule }, { kind: "directive", type: ControlErrorDirective, selector: "[rxapControlError]", inputs: ["rxapControlErrorKey"] }], animations: [
|
|
378
378
|
fadeAnimation,
|
|
379
379
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
380
380
|
}
|
|
381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoginComponent, decorators: [{
|
|
382
382
|
type: Component,
|
|
383
383
|
args: [{ selector: 'rxap-login', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
384
384
|
LoginFormProviders,
|
|
@@ -431,10 +431,10 @@ class LoadingComponent {
|
|
|
431
431
|
ngOnDestroy() {
|
|
432
432
|
this.subscription?.unsubscribe();
|
|
433
433
|
}
|
|
434
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
435
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
434
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoadingComponent, deps: [{ token: RxapAuthenticationService }, { token: Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
435
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", 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: i6.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
436
436
|
}
|
|
437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
438
438
|
type: Component,
|
|
439
439
|
args: [{ selector: 'rxap-auth-loading', changeDetection: ChangeDetectionStrategy.OnPush, 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"] }]
|
|
440
440
|
}], ctorParameters: () => [{ type: i10.RxapAuthenticationService, decorators: [{
|
|
@@ -446,10 +446,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
446
446
|
}] }] });
|
|
447
447
|
|
|
448
448
|
class AuthenticationContainerComponent {
|
|
449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
450
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthenticationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
450
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: AuthenticationContainerComponent, isStandalone: true, selector: "rxap-authentication-container", ngImport: i0, template: "<div class=\"content\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-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-500, #3ee73e)}\n"], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] }); }
|
|
451
451
|
}
|
|
452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AuthenticationContainerComponent, decorators: [{
|
|
453
453
|
type: Component,
|
|
454
454
|
args: [{ selector: 'rxap-authentication-container', imports: [
|
|
455
455
|
RouterOutlet,
|