@keycloakify/angular 0.0.1-rc.23 → 0.0.1-rc.25
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/README.md +2 -0
- package/account/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +2 -0
- package/bin/338.index.js +15 -1
- package/bin/758.index.js +15 -1
- package/bin/925.index.js +13 -2
- package/esm2022/account/providers/keycloakify-angular/keycloakify-angular.providers.mjs +2 -4
- package/esm2022/login/containers/template/template.component.mjs +11 -5
- package/esm2022/login/login.mjs +1 -1
- package/esm2022/login/pages/code/code.component.mjs +3 -3
- package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +3 -3
- package/esm2022/login/pages/error/error.component.mjs +3 -3
- package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +7 -7
- package/esm2022/login/pages/info/info.component.mjs +3 -3
- package/esm2022/login/pages/login/login.component.mjs +3 -3
- package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +3 -3
- package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +3 -3
- package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +3 -3
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +3 -3
- package/esm2022/login/pages/login-password/login-password.component.mjs +3 -3
- package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +3 -3
- package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +3 -3
- package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +3 -3
- package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +7 -7
- package/esm2022/login/pages/login-username/login-username.component.mjs +3 -3
- package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +3 -3
- package/esm2022/login/pages/register/register.component.mjs +7 -7
- package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +3 -3
- package/esm2022/login/pages/update-email/update-email.component.mjs +7 -7
- package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +3 -3
- package/esm2022/login/providers/keycloakify-angular/keycloakify-angular.providers.mjs +2 -4
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs +1 -3
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-containers-template.mjs +10 -4
- package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-code.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +7 -7
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +6 -6
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +2 -2
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs +1 -3
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -1
- package/login/containers/template/template.component.d.ts +4 -2
- package/login/login.d.ts +1 -0
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +4 -2
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +4 -2
- package/login/pages/register/register.component.d.ts +4 -2
- package/login/pages/update-email/update-email.component.d.ts +4 -2
- package/login/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +2 -0
- package/package.json +1 -1
- package/src/account/providers/keycloakify-angular/keycloakify-angular.providers.ts +2 -3
- package/src/bin/eject-page.ts +21 -3
- package/src/bin/update-kc-gen.ts +15 -1
- package/src/login/containers/template/template.component.html +1 -0
- package/src/login/containers/template/template.component.ts +6 -0
- package/src/login/login.ts +1 -0
- package/src/login/pages/code/code.component.html +1 -0
- package/src/login/pages/delete-credential/delete-credential.component.html +26 -26
- package/src/login/pages/error/error.component.html +16 -17
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +1 -1
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +4 -3
- package/src/login/pages/info/info.component.html +2 -2
- package/src/login/pages/login/login.component.html +3 -1
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +2 -0
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +1 -0
- package/src/login/pages/login-page-expired/login-page-expired.component.html +23 -24
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +166 -165
- package/src/login/pages/login-password/login-password.component.html +68 -69
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +55 -57
- package/src/login/pages/login-reset-otp/login-reset-otp.component.html +48 -49
- package/src/login/pages/login-reset-password/login-reset-password.component.html +1 -0
- package/src/login/pages/login-update-profile/login-update-profile.component.html +1 -1
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +3 -2
- package/src/login/pages/login-username/login-username.component.html +5 -3
- package/src/login/pages/login-verify-email/login-verify-email.component.html +1 -1
- package/src/login/pages/register/register.component.html +2 -2
- package/src/login/pages/register/register.component.ts +3 -2
- package/src/login/pages/select-authenticator/select-authenticator.component.html +32 -32
- package/src/login/pages/update-email/update-email.component.html +1 -1
- package/src/login/pages/update-email/update-email.component.ts +3 -2
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +1 -0
- package/src/login/providers/keycloakify-angular/keycloakify-angular.providers.ts +2 -3
package/src/bin/eject-page.ts
CHANGED
|
@@ -61,14 +61,23 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
61
61
|
console.log(chalk.cyan('Select the page you want to customize:'));
|
|
62
62
|
|
|
63
63
|
const templateValue = 'template.ftl (Layout common to every page)';
|
|
64
|
+
const userProfileFormFieldsValue =
|
|
65
|
+
'user-profile-commons.ftl (Renders the form of the register.ftl, login-update-profile.ftl, update-email.ftl and idp-review-user-profile.ftl)';
|
|
64
66
|
|
|
65
67
|
const { value: pageIdOrComponent } = await cliSelect<
|
|
66
|
-
|
|
68
|
+
| LoginThemePageId
|
|
69
|
+
| AccountThemePageId
|
|
70
|
+
| typeof templateValue
|
|
71
|
+
| typeof userProfileFormFieldsValue
|
|
67
72
|
>({
|
|
68
73
|
values: (() => {
|
|
69
74
|
switch (themeType) {
|
|
70
75
|
case 'login':
|
|
71
|
-
return [
|
|
76
|
+
return [
|
|
77
|
+
templateValue,
|
|
78
|
+
userProfileFormFieldsValue,
|
|
79
|
+
...LOGIN_THEME_PAGE_IDS
|
|
80
|
+
];
|
|
72
81
|
case 'account':
|
|
73
82
|
return [templateValue, ...ACCOUNT_THEME_PAGE_IDS];
|
|
74
83
|
}
|
|
@@ -85,6 +94,10 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
85
94
|
return pathJoin('containers', 'template');
|
|
86
95
|
}
|
|
87
96
|
|
|
97
|
+
if (pageIdOrComponent === userProfileFormFieldsValue) {
|
|
98
|
+
return pathJoin('components', 'user-profile-form-fields');
|
|
99
|
+
}
|
|
100
|
+
|
|
88
101
|
return pathJoin('pages', pageIdOrComponent.replace(/\.ftl$/, ''));
|
|
89
102
|
})();
|
|
90
103
|
|
|
@@ -213,7 +226,10 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
213
226
|
}
|
|
214
227
|
|
|
215
228
|
edit_KcPage: {
|
|
216
|
-
if (
|
|
229
|
+
if (
|
|
230
|
+
pageIdOrComponent !== templateValue &&
|
|
231
|
+
pageIdOrComponent !== userProfileFormFieldsValue
|
|
232
|
+
) {
|
|
217
233
|
break edit_KcPage;
|
|
218
234
|
}
|
|
219
235
|
|
|
@@ -281,6 +297,7 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
281
297
|
`+ return {`,
|
|
282
298
|
`+ PageComponent: (await import('./${componentDirRelativeToThemeTypePath.split(pathSep).join('/')}')).${kebabCaseToCamelCase(capitalize(pageId).replace(/\.ftl$/, ''))}Component,`,
|
|
283
299
|
`+ TemplateComponent,`,
|
|
300
|
+
...(themeType === 'login' ? [`+ UserProfileFormFieldsComponent,`] : []),
|
|
284
301
|
...(themeType === 'login' ? [`+ doMakeUserConfirmPassword,`] : []),
|
|
285
302
|
`+ doUseDefaultCss,`,
|
|
286
303
|
`+ classes,`,
|
|
@@ -290,6 +307,7 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
|
290
307
|
` return {`,
|
|
291
308
|
` PageComponent: await getDefaultPageComponent(pageId),`,
|
|
292
309
|
` TemplateComponent,`,
|
|
310
|
+
...(themeType === 'login' ? [` UserProfileFormFieldsComponent,`] : []),
|
|
293
311
|
...(themeType === 'login' ? [` doMakeUserConfirmPassword,`] : []),
|
|
294
312
|
` doUseDefaultCss,`,
|
|
295
313
|
` classes,`,
|
package/src/bin/update-kc-gen.ts
CHANGED
|
@@ -88,7 +88,10 @@ export function command(params: { buildContext: BuildContext }) {
|
|
|
88
88
|
` doUseDefaultCss,`,
|
|
89
89
|
` classes,`,
|
|
90
90
|
...(themeType === 'login'
|
|
91
|
-
? [
|
|
91
|
+
? [
|
|
92
|
+
` UserProfileFormFieldsComponent,`,
|
|
93
|
+
` doMakeUserConfirmPassword,`
|
|
94
|
+
]
|
|
92
95
|
: []),
|
|
93
96
|
` },`,
|
|
94
97
|
` ] = await Promise.all([`,
|
|
@@ -100,6 +103,7 @@ export function command(params: { buildContext: BuildContext }) {
|
|
|
100
103
|
` const appRef = await bootstrapApplication({`,
|
|
101
104
|
` KcRootComponent: TemplateComponent,`,
|
|
102
105
|
` kcProvider: provideKeycloakifyAngular({`,
|
|
106
|
+
` kcContext,`,
|
|
103
107
|
` classes,`,
|
|
104
108
|
` getI18n,`,
|
|
105
109
|
` doUseDefaultCss,`,
|
|
@@ -113,6 +117,16 @@ export function command(params: { buildContext: BuildContext }) {
|
|
|
113
117
|
` if ("page" in componentRef.instance) {`,
|
|
114
118
|
` componentRef.setInput("page", PageComponent);`,
|
|
115
119
|
` }`,
|
|
120
|
+
...(themeType === 'login'
|
|
121
|
+
? [
|
|
122
|
+
` if ("userProfileFormFields" in componentRef.instance) {`,
|
|
123
|
+
` componentRef.setInput(`,
|
|
124
|
+
` "userProfileFormFields",`,
|
|
125
|
+
` UserProfileFormFieldsComponent`,
|
|
126
|
+
` );`,
|
|
127
|
+
` }`
|
|
128
|
+
]
|
|
129
|
+
: []),
|
|
116
130
|
` });`,
|
|
117
131
|
` }`,
|
|
118
132
|
` break;`
|
|
@@ -37,14 +37,19 @@ import { Observable } from 'rxjs';
|
|
|
37
37
|
})
|
|
38
38
|
export class DynamicPageInjectorComponent {
|
|
39
39
|
page = input<Type<unknown>>();
|
|
40
|
+
userProfileFormFields = input<Type<unknown>>();
|
|
40
41
|
componentCreated = output<object>();
|
|
41
42
|
#vcr = inject<ViewContainerRef>(ViewContainerRef);
|
|
42
43
|
constructor() {
|
|
43
44
|
effect(
|
|
44
45
|
() => {
|
|
45
46
|
const page = this.page();
|
|
47
|
+
const userProfileFormFields = this.userProfileFormFields();
|
|
46
48
|
if (!page) return;
|
|
47
49
|
const compRef = this.#vcr.createComponent(page);
|
|
50
|
+
if ('userProfileFormFields' in (compRef.instance as object) && userProfileFormFields) {
|
|
51
|
+
compRef.setInput('userProfileFormFields', userProfileFormFields);
|
|
52
|
+
}
|
|
48
53
|
this.componentCreated.emit(compRef.instance as object);
|
|
49
54
|
},
|
|
50
55
|
{ allowSignalWrites: true }
|
|
@@ -85,6 +90,7 @@ export class TemplateComponent extends ComponentReference implements OnInit {
|
|
|
85
90
|
isReadyToRender$: Observable<boolean>;
|
|
86
91
|
|
|
87
92
|
page = input<Type<unknown>>();
|
|
93
|
+
userProfileFormFields = input<Type<unknown>>();
|
|
88
94
|
headerNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
|
89
95
|
infoNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
|
90
96
|
socialProvidersNode: Signal<TemplateRef<HTMLElement>> | undefined;
|
package/src/login/login.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
2
|
@let credentialLabel = kcContext.credentialLabel;
|
|
3
3
|
<ng-template #headerNode>
|
|
4
|
+
@let credentialLabel = kcContext.credentialLabel;
|
|
4
5
|
{{ i18n.msgStr('deleteCredentialTitle', credentialLabel) }}
|
|
5
6
|
</ng-template>
|
|
6
|
-
<ng-container content>
|
|
7
|
-
<div id="kc-delete-text">
|
|
8
|
-
{{ i18n.msgStr('deleteCredentialMessage', credentialLabel) }}
|
|
9
|
-
</div>
|
|
10
7
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
[action]="url.loginAction"
|
|
15
|
-
>
|
|
16
|
-
<input
|
|
17
|
-
name="accept"
|
|
18
|
-
id="kc-accept"
|
|
19
|
-
type="submit"
|
|
20
|
-
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']"
|
|
21
|
-
[value]="i18n.msgStr('doConfirmDelete')"
|
|
22
|
-
/>
|
|
8
|
+
<div id="kc-delete-text">
|
|
9
|
+
{{ i18n.msgStr('deleteCredentialMessage', credentialLabel) }}
|
|
10
|
+
</div>
|
|
23
11
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
12
|
+
<form
|
|
13
|
+
class="form-actions"
|
|
14
|
+
method="post"
|
|
15
|
+
[action]="url.loginAction"
|
|
16
|
+
>
|
|
17
|
+
<input
|
|
18
|
+
name="accept"
|
|
19
|
+
id="kc-accept"
|
|
20
|
+
type="submit"
|
|
21
|
+
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']"
|
|
22
|
+
[value]="i18n.msgStr('doConfirmDelete')"
|
|
23
|
+
/>
|
|
24
|
+
|
|
25
|
+
<input
|
|
26
|
+
name="cancel-aia"
|
|
27
|
+
id="kc-decline"
|
|
28
|
+
type="submit"
|
|
29
|
+
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass']"
|
|
30
|
+
[value]="i18n.msgStr('doCancel')"
|
|
31
|
+
/>
|
|
32
|
+
</form>
|
|
33
|
+
<div class="clearfix"></div>
|
|
@@ -4,20 +4,19 @@
|
|
|
4
4
|
<ng-template #headerNode>
|
|
5
5
|
{{ i18n.msgStr('errorTitle') }}
|
|
6
6
|
</ng-template>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</ng-container>
|
|
7
|
+
|
|
8
|
+
<div id="kc-error-message">
|
|
9
|
+
<p
|
|
10
|
+
class="instruction"
|
|
11
|
+
[innerHTML]="message.summary | kcSanitize: 'html'"
|
|
12
|
+
></p>
|
|
13
|
+
@if (!skipLink && !!client?.baseUrl) {
|
|
14
|
+
<p>
|
|
15
|
+
<a
|
|
16
|
+
id="backToApplication"
|
|
17
|
+
[href]="client.baseUrl"
|
|
18
|
+
[innerHTML]="i18n.msgStr('backToApplication') | kcSanitize: 'html'"
|
|
19
|
+
></a>
|
|
20
|
+
</p>
|
|
21
|
+
}
|
|
22
|
+
</div>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NgComponentOutlet } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, viewChild } from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, input, signal, type TemplateRef, Type, viewChild } from '@angular/core';
|
|
3
3
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
4
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
5
5
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
6
|
-
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
6
|
+
import type { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
|
|
7
7
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
8
8
|
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
9
9
|
import type { KcContext } from '@keycloakify/angular/login/KcContext';
|
|
@@ -15,7 +15,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
|
15
15
|
|
|
16
16
|
@Component({
|
|
17
17
|
standalone: true,
|
|
18
|
-
imports: [KcClassDirective, NgComponentOutlet
|
|
18
|
+
imports: [KcClassDirective, NgComponentOutlet],
|
|
19
19
|
selector: 'kc-idp-review-user-profile',
|
|
20
20
|
templateUrl: 'idp-review-user-profile.component.html',
|
|
21
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -45,6 +45,7 @@ export class IdpReviewUserProfileComponent extends ComponentReference {
|
|
|
45
45
|
infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
|
|
46
46
|
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
47
47
|
|
|
48
|
+
userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
|
|
48
49
|
isFormSubmittable = signal(false);
|
|
49
50
|
|
|
50
51
|
constructor() {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
@let actionUri = kcContext.actionUri;
|
|
3
3
|
@let pageRedirectUri = kcContext.pageRedirectUri;
|
|
4
4
|
@let client = kcContext.client;
|
|
5
|
-
@let messageHeader = kcContext.messageHeader;
|
|
6
|
-
@let message = kcContext.message;
|
|
7
5
|
|
|
8
6
|
<ng-template #headerNode>
|
|
7
|
+
@let messageHeader = kcContext.messageHeader;
|
|
8
|
+
@let message = kcContext.message;
|
|
9
9
|
<span [innerHTML]="messageHeader ?? i18n.advancedMsgStr(message.summary) | kcSanitize: 'html'"> </span>
|
|
10
10
|
</ng-template>
|
|
11
11
|
<div id="kc-info-message">
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@let realm = kcContext.realm;
|
|
2
|
-
@let social = kcContext.social;
|
|
3
2
|
@let usernameHidden = kcContext.usernameHidden;
|
|
4
3
|
@let auth = kcContext.auth;
|
|
5
4
|
@let messagesPerField = kcContext.messagesPerField;
|
|
@@ -10,6 +9,7 @@
|
|
|
10
9
|
{{ i18n.msgStr('loginAccountTitle') }}
|
|
11
10
|
</ng-template>
|
|
12
11
|
<ng-template #infoNode>
|
|
12
|
+
@let url = kcContext.url;
|
|
13
13
|
<div id="kc-registration-container">
|
|
14
14
|
<div id="kc-registration">
|
|
15
15
|
<span>
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
</div>
|
|
26
26
|
</ng-template>
|
|
27
27
|
<ng-template #socialProvidersNode>
|
|
28
|
+
@let realm = kcContext.realm;
|
|
29
|
+
@let social = kcContext.social;
|
|
28
30
|
@if (!!realm?.password && !!social?.providers?.length) {
|
|
29
31
|
<div
|
|
30
32
|
id="kc-social-providers"
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
2
|
|
|
3
|
-
<ng-
|
|
3
|
+
<ng-template #headerNode>
|
|
4
4
|
{{ i18n.msgStr('pageExpiredTitle') }}
|
|
5
|
-
</ng-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
</ng-template>
|
|
6
|
+
|
|
7
|
+
<p
|
|
8
|
+
id="instruction1"
|
|
9
|
+
class="instruction"
|
|
10
|
+
>
|
|
11
|
+
{{ i18n.msgStr('pageExpiredMsg1') }}
|
|
12
|
+
<a
|
|
13
|
+
id="loginRestartLink"
|
|
14
|
+
[href]="url.loginRestartFlowUrl"
|
|
15
|
+
>
|
|
16
|
+
{{ i18n.msgStr('doClickHere') }}
|
|
17
|
+
</a>
|
|
18
|
+
.<br />
|
|
19
|
+
{{ i18n.msgStr('pageExpiredMsg2') }}
|
|
20
|
+
<a
|
|
21
|
+
id="loginContinueLink"
|
|
22
|
+
[href]="url.loginAction"
|
|
10
23
|
>
|
|
11
|
-
{{ i18n.msgStr('
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
>
|
|
16
|
-
{{ i18n.msgStr('doClickHere') }}
|
|
17
|
-
</a>
|
|
18
|
-
.<br />
|
|
19
|
-
{{ i18n.msgStr('pageExpiredMsg2') }}
|
|
20
|
-
<a
|
|
21
|
-
id="loginContinueLink"
|
|
22
|
-
[href]="url.loginAction"
|
|
23
|
-
>
|
|
24
|
-
{{ i18n.msgStr('doClickHere') }}
|
|
25
|
-
</a>
|
|
26
|
-
.
|
|
27
|
-
</p>
|
|
28
|
-
</ng-container>
|
|
24
|
+
{{ i18n.msgStr('doClickHere') }}
|
|
25
|
+
</a>
|
|
26
|
+
.
|
|
27
|
+
</p>
|