@rxap/ngx-material-authentication 16.0.3 → 17.0.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/esm2022/lib/authentication-container/authentication-container.component.mjs +4 -4
- package/esm2022/lib/loading/loading.component.mjs +6 -6
- package/esm2022/lib/login/login.component.mjs +7 -7
- package/esm2022/lib/login/login.form.mjs +16 -15
- package/esm2022/lib/login/request-reset-password.method.mjs +4 -4
- package/esm2022/lib/login/sign-in-with-email-and-password.method.mjs +4 -4
- package/esm2022/lib/reset-password/reset-password.component.mjs +5 -5
- package/esm2022/lib/reset-password/reset-password.form.mjs +11 -10
- package/esm2022/lib/reset-password/set-new-password-with-reset-token.method.mjs +4 -4
- package/fesm2022/rxap-ngx-material-authentication.mjs +48 -48
- package/fesm2022/rxap-ngx-material-authentication.mjs.map +1 -1
- package/package.json +43 -43
|
@@ -38,12 +38,12 @@ export class ResetPasswordFormSubmitMethod {
|
|
|
38
38
|
},
|
|
39
39
|
}), map(() => true)));
|
|
40
40
|
}
|
|
41
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
42
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordFormSubmitMethod, deps: [{ token: ActivatedRoute }, { token: i1.SetNewPasswordWithResetTokenMethod }, { token: MatSnackBar }, { token: Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
42
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordFormSubmitMethod }); }
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordFormSubmitMethod, decorators: [{
|
|
45
45
|
type: Injectable
|
|
46
|
-
}], ctorParameters:
|
|
46
|
+
}], ctorParameters: () => [{ type: i2.ActivatedRoute, decorators: [{
|
|
47
47
|
type: Inject,
|
|
48
48
|
args: [ActivatedRoute]
|
|
49
49
|
}] }, { type: i1.SetNewPasswordWithResetTokenMethod }, { type: i3.MatSnackBar, decorators: [{
|
|
@@ -52,8 +52,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
52
52
|
}] }, { type: i2.Router, decorators: [{
|
|
53
53
|
type: Inject,
|
|
54
54
|
args: [Router]
|
|
55
|
-
}] }]
|
|
56
|
-
|
|
55
|
+
}] }] });
|
|
56
|
+
let ResetPasswordForm = class ResetPasswordForm {
|
|
57
57
|
passwordEqual(control) {
|
|
58
58
|
if (this.password.value === null || control.value === null) {
|
|
59
59
|
return null;
|
|
@@ -66,8 +66,8 @@ export let ResetPasswordForm = class ResetPasswordForm {
|
|
|
66
66
|
resetRepeat() {
|
|
67
67
|
this.passwordRepeat.reset();
|
|
68
68
|
}
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordForm, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
70
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordForm }); }
|
|
71
71
|
};
|
|
72
72
|
__decorate([
|
|
73
73
|
UseFormControl({
|
|
@@ -98,7 +98,8 @@ ResetPasswordForm = __decorate([
|
|
|
98
98
|
id: RXAP_RESET_PASSWORD_FORM,
|
|
99
99
|
})
|
|
100
100
|
], ResetPasswordForm);
|
|
101
|
-
|
|
101
|
+
export { ResetPasswordForm };
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordForm, decorators: [{
|
|
102
103
|
type: Injectable
|
|
103
104
|
}], propDecorators: { password: [], passwordRepeat: [], passwordEqual: [], resetRepeat: [] } });
|
|
104
105
|
export const ResetPasswordFormProviders = [
|
|
@@ -118,4 +119,4 @@ export const ResetPasswordFormProviders = [
|
|
|
118
119
|
useClass: ResetPasswordFormSubmitMethod,
|
|
119
120
|
},
|
|
120
121
|
];
|
|
121
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
122
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXQtcGFzc3dvcmQuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXIvbWF0ZXJpYWwvYXV0aGVudGljYXRpb24vc3JjL2xpYi9yZXNldC1wYXNzd29yZC9yZXNldC1wYXNzd29yZC5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0wsTUFBTSxFQUNOLFVBQVUsRUFDVixRQUFRLEdBR1QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzVDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEVBQ0wsY0FBYyxFQUNkLE1BQU0sR0FDUCxNQUFNLGlCQUFpQixDQUFDO0FBQ3pCLE9BQU8sRUFDTCxlQUFlLEVBQ2YsZ0JBQWdCLEVBR2hCLG9CQUFv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iB7XG4gICAgcmV0dXJuIGZpcnN0VmFsdWVGcm9tKHRoaXMucm91dGUucGFyYW1zXG4gICAgICAucGlwZShcbiAgICAgICAgdGFrZSgxKSxcbiAgICAgICAgbWFwKChwYXJhbXMpID0+IHBhcmFtc1sndG9rZW4nXSksXG4gICAgICAgIHN3aXRjaE1hcCgodG9rZW4pID0+XG4gICAgICAgICAgdGhpcy5zZXROZXdQYXNzd29yZFdpdGhSZXNldFRva2VuTWV0aG9kLmNhbGwoe1xuICAgICAgICAgICAgcGFzc3dvcmQ6IHZhbHVlLnBhc3N3b3JkLFxuICAgICAgICAgICAgdG9rZW4sXG4gICAgICAgICAgfSksXG4gICAgICAgICksXG4gICAgICAgIHRhcChcbiAgICAgICAgICB7XG4gICAgICAgICAgICBlcnJvcjogKCkgPT4ge1xuICAgICAgICAgICAgICB0aGlzLnNuYWNrQmFyLm9wZW4oJ1Bhc3N3b3JkIHJlc2V0IGZhaWxlZC4nLCB1bmRlZmluZWQsIHtcbiAgICAgICAgICAgICAgICBkdXJhdGlvbjogMzUwMCxcbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgbmV4dDogKCkgPT4ge1xuICAgICAgICAgICAgICB0aGlzLnNuYWNrQmFyLm9wZW4oJ1Bhc3N3b3JkIHJlc2V0IHdhcyBzdWNjZXNzZnVsLicsIHVuZGVmaW5lZCwge1xuICAgICAgICAgICAgICAgIGR1cmF0aW9uOiAzNTAwLFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgcmV0dXJuIHRoaXMucm91dGVyLm5hdmlnYXRlKFsgJy8nIF0pO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICB9LFxuICAgICAgICApLFxuICAgICAgICBtYXAoKCkgPT4gdHJ1ZSksXG4gICAgICApKTtcbiAgfVxufVxuXG5leHBvcnQgaW50ZXJmYWNlIElSZXNldFBhc3N3b3JkRm9ybSB7XG4gIHBhc3N3b3JkOiBzdHJpbmc7XG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cbiAgICB0aGlzLnBhc3N3b3JkUmVwZWF0LnJlc2V0KCk7XG4gIH1cbn1cblxuZXhwb3J0IGNvbnN0IFJlc2V0UGFzc3dvcmRGb3JtUHJvdmlkZXJzOiBQcm92aWRlcltdID0gW1xuICBSZXNldFBhc3N3b3JkRm9ybSxcbiAge1xuICAgIHByb3ZpZGU6IFJYQVBfRk9STV9ERUZJTklUSU9OX0JVSUxERVIsXG4gICAgdXNlRmFjdG9yeTogKGluamVjdG9yOiBJbmplY3RvcikgPT5cbiAgICAgIG5ldyBSeGFwRm9ybUJ1aWxkZXI8SVJlc2V0UGFzc3dvcmRGb3JtPihSZXNldFBhc3N3b3JkRm9ybSwgaW5qZWN0b3IpLFxuICAgIGRlcHM6IFsgSU5KRUNUT1IgXSxcbiAgfSxcbiAge1xuICAgIHByb3ZpZGU6IFJYQVBfRk9STV9ERUZJTklUSU9OLFxuICAgIHVzZUZhY3Rvcnk6IChidWlsZGVyOiBSeGFwRm9ybUJ1aWxkZXI8SVJlc2V0UGFzc3dvcmRGb3JtPikgPT5cbiAgICAgIGJ1aWxkZXIuYnVpbGQoKSxcbiAgICBkZXBzOiBbIFJYQVBfRk9STV9ERUZJTklUSU9OX0JVSUxERVIgXSxcbiAgfSxcbiAge1xuICAgIHByb3ZpZGU6IFJYQVBfRk9STV9TVUJNSVRfTUVUSE9ELFxuICAgIHVzZUNsYXNzOiBSZXNldFBhc3N3b3JkRm9ybVN1Ym1pdE1ldGhvZCxcbiAgfSxcbl07XG4iXX0=
|
|
@@ -4,11 +4,11 @@ export class SetNewPasswordWithResetTokenMethod {
|
|
|
4
4
|
call(parameters) {
|
|
5
5
|
throw new Error('Method not implemented.');
|
|
6
6
|
}
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
8
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, providedIn: 'root' }); }
|
|
9
9
|
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, decorators: [{
|
|
11
11
|
type: Injectable,
|
|
12
12
|
args: [{ providedIn: 'root' }]
|
|
13
13
|
}] });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0LW5ldy1wYXNzd29yZC13aXRoLXJlc2V0LXRva2VuLm1ldGhvZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXIvbWF0ZXJpYWwvYXV0aGVudGljYXRpb24vc3JjL2xpYi9yZXNldC1wYXNzd29yZC9zZXQtbmV3LXBhc3N3b3JkLXdpdGgtcmVzZXQtdG9rZW4ubWV0aG9kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUzNDLE1BQU0sT0FBTyxrQ0FBa0M7SUFFdEMsSUFBSSxDQUFDLFVBQXdEO1FBQ2xFLE1BQU0sSUFBSSxLQUFLLENBQUMseUJBQXlCLENBQUMsQ0FBQztJQUM3QyxDQUFDOzhHQUpVLGtDQUFrQztrSEFBbEMsa0NBQWtDLGNBRHJCLE1BQU07OzJGQUNuQixrQ0FBa0M7a0JBRDlDLFVBQVU7bUJBQUMsRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgTWV0aG9kIH0gZnJvbSAnQHJ4YXAvcGF0dGVybic7XG5cbmV4cG9ydCBpbnRlcmZhY2UgU2V0TmV3UGFzc3dvcmRXaXRoUmVzZXRUb2tlbk1ldGhvZFBhcmFtZXRlcnMge1xuICBwYXNzd29yZDogc3RyaW5nO1xuICB0b2tlbjogc3RyaW5nO1xufVxuXG5ASW5qZWN0YWJsZSh7IHByb3ZpZGVkSW46ICdyb290JyB9KVxuZXhwb3J0IGNsYXNzIFNldE5ld1Bhc3N3b3JkV2l0aFJlc2V0VG9rZW5NZXRob2QgaW1wbGVtZW50cyBNZXRob2Qge1xuXG4gIHB1YmxpYyBjYWxsKHBhcmFtZXRlcnM6IFNldE5ld1Bhc3N3b3JkV2l0aFJlc2V0VG9rZW5NZXRob2RQYXJhbWV0ZXJzKTogUHJvbWlzZTx2b2lkPiB7XG4gICAgdGhyb3cgbmV3IEVycm9yKCdNZXRob2Qgbm90IGltcGxlbWVudGVkLicpO1xuICB9XG5cbn1cbiJdfQ==
|
|
@@ -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: "
|
|
57
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
57
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, providedIn: 'root' }); }
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: SetNewPasswordWithResetTokenMethod, decorators: [{
|
|
60
60
|
type: Injectable,
|
|
61
61
|
args: [{ providedIn: 'root' }]
|
|
62
62
|
}] });
|
|
@@ -88,12 +88,12 @@ class ResetPasswordFormSubmitMethod {
|
|
|
88
88
|
},
|
|
89
89
|
}), map(() => true)));
|
|
90
90
|
}
|
|
91
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
92
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", 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: "17.1.3", ngImport: i0, type: ResetPasswordFormSubmitMethod }); }
|
|
93
93
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordFormSubmitMethod, decorators: [{
|
|
95
95
|
type: Injectable
|
|
96
|
-
}], ctorParameters:
|
|
96
|
+
}], ctorParameters: () => [{ type: i2.ActivatedRoute, decorators: [{
|
|
97
97
|
type: Inject,
|
|
98
98
|
args: [ActivatedRoute]
|
|
99
99
|
}] }, { type: SetNewPasswordWithResetTokenMethod }, { type: i3.MatSnackBar, decorators: [{
|
|
@@ -102,7 +102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
102
102
|
}] }, { type: i2.Router, decorators: [{
|
|
103
103
|
type: Inject,
|
|
104
104
|
args: [Router]
|
|
105
|
-
}] }]
|
|
105
|
+
}] }] });
|
|
106
106
|
let ResetPasswordForm = class ResetPasswordForm {
|
|
107
107
|
passwordEqual(control) {
|
|
108
108
|
if (this.password.value === null || control.value === null) {
|
|
@@ -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: "
|
|
120
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordForm, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
120
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", 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: "
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", 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: "
|
|
174
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ResetPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
174
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", 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", "rxapForm", "submitMethod"], 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"], 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] ",
|
|
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", "rxapForm", "submitMethod"], 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"], 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: "
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", 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: "
|
|
216
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: SignInWithEmailAndPasswordMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
216
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: SignInWithEmailAndPasswordMethod, providedIn: 'root' }); }
|
|
217
217
|
}
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", 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: "
|
|
240
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginForm, deps: [{ token: i1$1.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginForm }); }
|
|
241
241
|
};
|
|
242
242
|
__decorate([
|
|
243
243
|
UseFormControl({
|
|
@@ -263,9 +263,9 @@ LoginForm = __decorate([
|
|
|
263
263
|
}),
|
|
264
264
|
__metadata("design:paramtypes", [ConfigService])
|
|
265
265
|
], LoginForm);
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginForm, decorators: [{
|
|
267
267
|
type: Injectable
|
|
268
|
-
}], ctorParameters:
|
|
268
|
+
}], ctorParameters: () => [{ type: i1$1.ConfigService }], propDecorators: { email: [], password: [], remember: [] } });
|
|
269
269
|
class LoginFormSubmitMethod {
|
|
270
270
|
constructor(signInWithEmailAndPasswordMethod) {
|
|
271
271
|
this.signInWithEmailAndPasswordMethod = signInWithEmailAndPasswordMethod;
|
|
@@ -277,12 +277,12 @@ class LoginFormSubmitMethod {
|
|
|
277
277
|
remember: value.remember,
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
281
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
280
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginFormSubmitMethod, deps: [{ token: SignInWithEmailAndPasswordMethod }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
281
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginFormSubmitMethod }); }
|
|
282
282
|
}
|
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginFormSubmitMethod, decorators: [{
|
|
284
284
|
type: Injectable
|
|
285
|
-
}], ctorParameters:
|
|
285
|
+
}], ctorParameters: () => [{ type: SignInWithEmailAndPasswordMethod }] });
|
|
286
286
|
class LoginFormSubmitSuccessful {
|
|
287
287
|
constructor(router) {
|
|
288
288
|
this.router = router;
|
|
@@ -291,15 +291,15 @@ 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: "
|
|
295
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginFormSubmitSuccessful, deps: [{ token: Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
295
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginFormSubmitSuccessful }); }
|
|
296
296
|
}
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginFormSubmitSuccessful, decorators: [{
|
|
298
298
|
type: Injectable
|
|
299
|
-
}], ctorParameters:
|
|
299
|
+
}], ctorParameters: () => [{ type: i2.Router, decorators: [{
|
|
300
300
|
type: Inject,
|
|
301
301
|
args: [Router]
|
|
302
|
-
}] }]
|
|
302
|
+
}] }] });
|
|
303
303
|
const LoginFormProviders = [
|
|
304
304
|
LoginForm,
|
|
305
305
|
{
|
|
@@ -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: "
|
|
330
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
329
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: RequestResetPasswordMethod, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
330
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: RequestResetPasswordMethod, providedIn: 'root' }); }
|
|
331
331
|
}
|
|
332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", 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: "
|
|
371
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginComponent, deps: [{ token: RxapAuthenticationService }, { token: MatSnackBar }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
371
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", 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", "rxapForm", "submitMethod"], 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"], 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] ",
|
|
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", "rxapForm", "submitMethod"], 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"], 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", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "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: "
|
|
381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoginComponent, decorators: [{
|
|
382
382
|
type: Component,
|
|
383
383
|
args: [{ selector: 'rxap-login', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
384
384
|
LoginFormProviders,
|
|
@@ -407,13 +407,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
407
407
|
MatSnackBarModule,
|
|
408
408
|
ControlErrorDirective,
|
|
409
409
|
], 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"] }]
|
|
410
|
-
}], ctorParameters:
|
|
410
|
+
}], ctorParameters: () => [{ type: i10.RxapAuthenticationService, decorators: [{
|
|
411
411
|
type: Inject,
|
|
412
412
|
args: [RxapAuthenticationService]
|
|
413
413
|
}] }, { type: i3.MatSnackBar, decorators: [{
|
|
414
414
|
type: Inject,
|
|
415
415
|
args: [MatSnackBar]
|
|
416
|
-
}] }]
|
|
416
|
+
}] }] });
|
|
417
417
|
|
|
418
418
|
class LoadingComponent {
|
|
419
419
|
constructor(authentication, router) {
|
|
@@ -431,25 +431,25 @@ class LoadingComponent {
|
|
|
431
431
|
ngOnDestroy() {
|
|
432
432
|
this.subscription?.unsubscribe();
|
|
433
433
|
}
|
|
434
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
435
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
434
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoadingComponent, deps: [{ token: RxapAuthenticationService }, { token: Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
435
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", 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: "
|
|
437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
438
438
|
type: Component,
|
|
439
439
|
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"] }]
|
|
440
|
-
}], ctorParameters:
|
|
440
|
+
}], ctorParameters: () => [{ type: i10.RxapAuthenticationService, decorators: [{
|
|
441
441
|
type: Inject,
|
|
442
442
|
args: [RxapAuthenticationService]
|
|
443
443
|
}] }, { type: i2.Router, decorators: [{
|
|
444
444
|
type: Inject,
|
|
445
445
|
args: [Router]
|
|
446
|
-
}] }]
|
|
446
|
+
}] }] });
|
|
447
447
|
|
|
448
448
|
class AuthenticationContainerComponent {
|
|
449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
450
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuthenticationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
450
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", 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"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] }); }
|
|
451
451
|
}
|
|
452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuthenticationContainerComponent, decorators: [{
|
|
453
453
|
type: Component,
|
|
454
454
|
args: [{ selector: 'rxap-authentication-container', standalone: true, imports: [
|
|
455
455
|
RouterOutlet,
|