@keycloakify/angular 0.0.1-rc.5 → 0.0.1-rc.7
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/login/DefaultPage.d.ts +2 -2
- package/login/DefaultPage.js +1 -1
- package/login/classes/component-reference.class.d.ts +1 -1
- package/login/classes/component-reference.class.js +1 -1
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +3 -3
- package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +1 -1
- package/login/components/field-errors/field-errors.component.d.ts +3 -3
- package/login/components/field-errors/field-errors.component.js +1 -1
- package/login/components/group-label/group-label.component.d.ts +3 -3
- package/login/components/group-label/group-label.component.js +1 -1
- package/login/components/input-field-by-type/input-field-by-type.component.d.ts +2 -2
- package/login/components/input-field-by-type/input-field-by-type.component.js +1 -1
- package/login/components/input-tag/input-tag.component.d.ts +3 -3
- package/login/components/input-tag/input-tag.component.js +1 -1
- package/login/components/input-tag-selects/input-tag-selects.component.d.ts +4 -4
- package/login/components/input-tag-selects/input-tag-selects.component.js +1 -1
- package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +2 -2
- package/login/components/logout-other-sessions/logout-other-sessions.component.js +1 -1
- package/login/components/password-wrapper/password-wrapper.component.d.ts +2 -2
- package/login/components/password-wrapper/password-wrapper.component.js +1 -1
- package/login/components/select-tag/select-tag.component.d.ts +4 -4
- package/login/components/select-tag/select-tag.component.js +1 -1
- package/login/components/textarea-tag/textarea-tag.component.d.ts +3 -3
- package/login/components/textarea-tag/textarea-tag.component.js +2 -2
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +4 -4
- package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +1 -1
- package/login/containers/template.component.d.ts +3 -3
- package/login/containers/template.component.js +4 -4
- package/login/directives/kc-class.directive.d.ts +1 -1
- package/login/directives/kc-class.directive.js +1 -1
- package/login/i18n.d.ts +1 -1
- package/login/i18n.js +1 -1
- package/login/pages/code/code.component.d.ts +3 -3
- package/login/pages/code/code.component.js +1 -1
- package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +3 -3
- package/login/pages/delete-account-confirm/delete-account-confirm.component.js +1 -1
- package/login/pages/delete-credential/delete-credential.component.d.ts +3 -3
- package/login/pages/delete-credential/delete-credential.component.js +1 -1
- package/login/pages/error/error.component.d.ts +3 -3
- package/login/pages/error/error.component.js +1 -1
- package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +3 -3
- package/login/pages/frontchannel-logout/frontchannel-logout.component.js +1 -1
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +13 -5
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +21 -9
- package/login/pages/info/info.component.d.ts +3 -3
- package/login/pages/info/info.component.js +1 -1
- package/login/pages/login/login.component.d.ts +3 -3
- package/login/pages/login/login.component.js +1 -1
- package/login/pages/login-config-totp/login-config-totp.component.d.ts +3 -3
- package/login/pages/login-config-totp/login-config-totp.component.js +1 -1
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +3 -3
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +1 -1
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +3 -3
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +1 -1
- package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +3 -3
- package/login/pages/login-idp-link-email/login-idp-link-email.component.js +1 -1
- package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +3 -3
- package/login/pages/login-oauth-grant/login-oauth-grant.component.js +1 -1
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +3 -3
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +1 -1
- package/login/pages/login-otp/login-otp.component.d.ts +3 -3
- package/login/pages/login-otp/login-otp.component.js +1 -1
- package/login/pages/login-page-expired/login-page-expired.component.d.ts +3 -3
- package/login/pages/login-page-expired/login-page-expired.component.js +1 -1
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +3 -3
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +1 -1
- package/login/pages/login-password/login-password.component.d.ts +3 -3
- package/login/pages/login-password/login-password.component.js +1 -1
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +3 -3
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +1 -1
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +3 -3
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +1 -1
- package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +3 -3
- package/login/pages/login-reset-otp/login-reset-otp.component.js +1 -1
- package/login/pages/login-reset-password/login-reset-password.component.d.ts +3 -3
- package/login/pages/login-reset-password/login-reset-password.component.js +1 -1
- package/login/pages/login-update-password/login-update-password.component.d.ts +3 -3
- package/login/pages/login-update-password/login-update-password.component.js +1 -1
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +3 -3
- package/login/pages/login-update-profile/login-update-profile.component.js +1 -1
- package/login/pages/login-username/login-username.component.d.ts +3 -3
- package/login/pages/login-username/login-username.component.js +1 -1
- package/login/pages/login-verify-email/login-verify-email.component.d.ts +3 -3
- package/login/pages/login-verify-email/login-verify-email.component.js +1 -1
- package/login/pages/login-x509-info/login-x509-info.component.d.ts +3 -3
- package/login/pages/login-x509-info/login-x509-info.component.js +1 -1
- package/login/pages/logout-confirm/logout-confirm.component.d.ts +3 -3
- package/login/pages/logout-confirm/logout-confirm.component.js +1 -1
- package/login/pages/register/register.component.d.ts +3 -3
- package/login/pages/register/register.component.js +1 -1
- package/login/pages/saml-post-form/saml-post-form.component.d.ts +3 -3
- package/login/pages/saml-post-form/saml-post-form.component.js +1 -1
- package/login/pages/select-authenticator/select-authenticator.component.d.ts +3 -3
- package/login/pages/select-authenticator/select-authenticator.component.js +1 -1
- package/login/pages/terms/terms.component.d.ts +3 -3
- package/login/pages/terms/terms.component.js +1 -1
- package/login/pages/update-email/update-email.component.d.ts +3 -3
- package/login/pages/update-email/update-email.component.js +1 -1
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +3 -3
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +1 -1
- package/login/pages/webauthn-error/webauthn-error.component.d.ts +3 -3
- package/login/pages/webauthn-error/webauthn-error.component.js +1 -1
- package/login/pages/webauthn-register/webauthn-register.component.d.ts +3 -3
- package/login/pages/webauthn-register/webauthn-register.component.js +2 -2
- package/login/providers/keycloakify-angular.providers.d.ts +3 -2
- package/login/providers/keycloakify-angular.providers.js +7 -2
- package/login/services/i18n.service.js +2 -1
- package/login/services/login-resource-injector.service.d.ts +1 -1
- package/login/services/login-resource-injector.service.js +1 -1
- package/login/services/user-profile-form.service.d.ts +2 -1
- package/login/services/user-profile-form.service.js +4 -4
- package/login/tokens/classes.token.js +1 -1
- package/login/tokens/user-profile-form-fields-ejected-path.token.d.ts +2 -0
- package/login/tokens/user-profile-form-fields-ejected-path.token.js +3 -0
- package/package.json +4 -1
- package/src/login/DefaultPage.ts +2 -2
- package/src/login/classes/component-reference.class.ts +1 -1
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +3 -3
- package/src/login/components/field-errors/field-errors.component.ts +3 -3
- package/src/login/components/group-label/group-label.component.ts +3 -3
- package/src/login/components/input-field-by-type/input-field-by-type.component.ts +2 -2
- package/src/login/components/input-tag/input-tag.component.ts +3 -3
- package/src/login/components/input-tag-selects/input-tag-selects.component.ts +4 -4
- package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +2 -2
- package/src/login/components/password-wrapper/password-wrapper.component.ts +2 -2
- package/src/login/components/select-tag/select-tag.component.ts +4 -4
- package/src/login/components/textarea-tag/textarea-tag.component.ts +4 -4
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +4 -4
- package/src/login/containers/template.component.ts +6 -6
- package/src/login/directives/kc-class.directive.ts +1 -1
- package/src/login/i18n.ts +1 -1
- package/src/login/pages/code/code.component.ts +3 -3
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +3 -3
- package/src/login/pages/delete-credential/delete-credential.component.ts +3 -3
- package/src/login/pages/error/error.component.ts +3 -3
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +3 -3
- 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 +28 -7
- package/src/login/pages/info/info.component.ts +3 -3
- package/src/login/pages/login/login.component.ts +3 -3
- package/src/login/pages/login-config-totp/login-config-totp.component.ts +3 -3
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +3 -3
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +3 -3
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +3 -3
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +3 -3
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +3 -3
- package/src/login/pages/login-otp/login-otp.component.ts +3 -3
- package/src/login/pages/login-page-expired/login-page-expired.component.ts +3 -3
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +4 -4
- package/src/login/pages/login-password/login-password.component.ts +3 -3
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +3 -3
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +3 -3
- package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +3 -3
- package/src/login/pages/login-reset-password/login-reset-password.component.ts +3 -3
- package/src/login/pages/login-update-password/login-update-password.component.ts +3 -3
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +3 -3
- package/src/login/pages/login-username/login-username.component.ts +3 -3
- package/src/login/pages/login-verify-email/login-verify-email.component.ts +3 -3
- package/src/login/pages/login-x509-info/login-x509-info.component.ts +3 -3
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +3 -3
- package/src/login/pages/register/register.component.ts +3 -3
- package/src/login/pages/saml-post-form/saml-post-form.component.ts +3 -3
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +3 -3
- package/src/login/pages/terms/terms.component.ts +3 -3
- package/src/login/pages/update-email/update-email.component.ts +3 -3
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +4 -4
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +3 -3
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +5 -5
- package/src/login/providers/keycloakify-angular.providers.ts +10 -4
- package/src/login/services/i18n.service.ts +1 -0
- package/src/login/services/login-resource-injector.service.ts +2 -2
- package/src/login/services/user-profile-form.service.ts +8 -8
- package/src/login/tokens/classes.token.ts +1 -1
- package/src/login/tokens/user-profile-form-fields-ejected-path.token.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keycloakify/angular",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.7",
|
|
4
4
|
"description": "Angular components for Keycloakify",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -157,6 +157,8 @@
|
|
|
157
157
|
"login/tokens/kc-context.token.js",
|
|
158
158
|
"login/tokens/make-user-confirm-password.token.d.ts",
|
|
159
159
|
"login/tokens/make-user-confirm-password.token.js",
|
|
160
|
+
"login/tokens/user-profile-form-fields-ejected-path.token.d.ts",
|
|
161
|
+
"login/tokens/user-profile-form-fields-ejected-path.token.js",
|
|
160
162
|
"src/lib/models/script.model.ts",
|
|
161
163
|
"src/lib/services/resource-injector.service.ts",
|
|
162
164
|
"src/lib/tokens/use-default-css.token.ts",
|
|
@@ -274,6 +276,7 @@
|
|
|
274
276
|
"src/login/tokens/i18n.token.ts",
|
|
275
277
|
"src/login/tokens/kc-context.token.ts",
|
|
276
278
|
"src/login/tokens/make-user-confirm-password.token.ts",
|
|
279
|
+
"src/login/tokens/user-profile-form-fields-ejected-path.token.ts",
|
|
277
280
|
"src/tsconfig.json",
|
|
278
281
|
"stories/login/pages/login/login.stories.ts"
|
|
279
282
|
],
|
package/src/login/DefaultPage.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
3
|
-
import { KcContext } from '
|
|
2
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
3
|
+
import { type KcContext } from './KcContext';
|
|
4
4
|
|
|
5
5
|
const DefaultPage = async (
|
|
6
6
|
pageId: KcContext['pageId'],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';
|
|
2
|
-
import { FormAction } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
2
|
+
import { type FormAction } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
3
3
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
4
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
5
|
-
import { I18n } from '../../i18n';
|
|
4
|
+
import { type Attribute } from 'keycloakify/login/KcContext';
|
|
5
|
+
import { type I18n } from '../../i18n';
|
|
6
6
|
|
|
7
7
|
@Component({
|
|
8
8
|
standalone: true,
|
|
@@ -2,10 +2,10 @@ import { ChangeDetectionStrategy, Component, forwardRef, inject, input } from '@
|
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
4
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
5
|
-
import { FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
5
|
+
import { type FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
8
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
7
|
+
import { type Attribute } from 'keycloakify/login/KcContext';
|
|
8
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
9
9
|
|
|
10
10
|
@Component({
|
|
11
11
|
standalone: true,
|
|
@@ -5,9 +5,9 @@ import { AttributesDirective } from '@keycloakify/angular/login/directives/attri
|
|
|
5
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
9
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import { I18n } from '../../i18n';
|
|
8
|
+
import { type Attribute } from 'keycloakify/login/KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { type I18n } from '../../i18n';
|
|
11
11
|
|
|
12
12
|
@Component({
|
|
13
13
|
standalone: true,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input, output } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
3
3
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
4
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
5
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
4
|
+
import { type Attribute } from 'keycloakify/login/KcContext';
|
|
5
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
6
6
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
7
7
|
import { ToArrayPipe } from '@keycloakify/angular/login/pipes/to-array.pipe';
|
|
8
8
|
import { FormAction, FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
@@ -11,9 +11,9 @@ import { ToNumberPipe } from '@keycloakify/angular/login/pipes/to-number.pipe';
|
|
|
11
11
|
import { FormAction, FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
12
12
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
13
13
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
14
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
15
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
16
|
-
import { I18n } from '../../i18n';
|
|
14
|
+
import { type Attribute } from 'keycloakify/login/KcContext';
|
|
15
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
16
|
+
import { type I18n } from '../../i18n';
|
|
17
17
|
|
|
18
18
|
@Component({
|
|
19
19
|
standalone: true,
|
|
@@ -2,12 +2,12 @@ import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, input
|
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
4
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
5
|
-
import { FormAction, FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
5
|
+
import { type FormAction, type FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
9
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import { I18n } from '../../i18n';
|
|
8
|
+
import { type Attribute } from 'keycloakify/login/KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { type I18n } from '../../i18n';
|
|
11
11
|
|
|
12
12
|
@Component({
|
|
13
13
|
standalone: true,
|
|
@@ -4,8 +4,8 @@ import { ComponentReference } from '@keycloakify/angular/login/classes/component
|
|
|
4
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
5
5
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
6
6
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
7
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
8
|
-
import { I18n } from '../../i18n';
|
|
7
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
8
|
+
import { type I18n } from '../../i18n';
|
|
9
9
|
|
|
10
10
|
@Component({
|
|
11
11
|
selector: 'kc-logout-other-sessions',
|
|
@@ -5,8 +5,8 @@ import { ComponentReference } from '@keycloakify/angular/login/classes/component
|
|
|
5
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
9
|
-
import { I18n } from '../../i18n';
|
|
8
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
9
|
+
import { type I18n } from '../../i18n';
|
|
10
10
|
|
|
11
11
|
@Component({
|
|
12
12
|
selector: 'kc-password-wrapper',
|
|
@@ -3,12 +3,12 @@ import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css
|
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
4
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
5
5
|
import { ToNumberPipe } from '@keycloakify/angular/login/pipes/to-number.pipe';
|
|
6
|
-
import { FormAction, FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
6
|
+
import { type FormAction, type FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
7
7
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
8
8
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
9
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
10
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
-
import { I18n } from '../../i18n';
|
|
9
|
+
import { type Attribute } from 'keycloakify/login/KcContext';
|
|
10
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
+
import { type I18n } from '../../i18n';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, forwardRef, inject, input, output } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
3
|
-
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
4
|
-
import { Attribute } from 'keycloakify/login/KcContext';
|
|
5
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
6
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
7
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
8
5
|
import { ToNumberPipe } from '@keycloakify/angular/login/pipes/to-number.pipe';
|
|
9
|
-
import { FormAction, FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
6
|
+
import { type FormAction, type FormFieldError } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
7
|
+
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
8
|
+
import { type Attribute } from 'keycloakify/login/KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
10
|
|
|
11
11
|
@Component({
|
|
12
12
|
standalone: true,
|
|
@@ -6,14 +6,14 @@ import { FieldErrorsComponent } from '@keycloakify/angular/login/components/fiel
|
|
|
6
6
|
import { GroupLabelComponent } from '@keycloakify/angular/login/components/group-label/group-label.component';
|
|
7
7
|
import { InputFieldByTypeComponent } from '@keycloakify/angular/login/components/input-field-by-type/input-field-by-type.component';
|
|
8
8
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
9
|
-
import { FormAction, UserProfileFormService } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
9
|
+
import { type FormAction, UserProfileFormService } from '@keycloakify/angular/login/services/user-profile-form.service';
|
|
10
10
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
11
11
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
12
12
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
13
13
|
import { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password.token';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
15
|
+
import { type I18n } from '../../i18n';
|
|
16
|
+
import { type KcContext } from '../../KcContext';
|
|
17
17
|
|
|
18
18
|
@Component({
|
|
19
19
|
standalone: true,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { AsyncPipe, NgTemplateOutlet } from '@angular/common';
|
|
2
2
|
import { ChangeDetectionStrategy, Component, forwardRef, inject, input, OnInit, Renderer2 } from '@angular/core';
|
|
3
3
|
import { Meta, Title } from '@angular/platform-browser';
|
|
4
|
-
import
|
|
5
|
-
import { KcContext } from 'keycloakify/login/KcContext/KcContext';
|
|
6
|
-
import { ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
4
|
+
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
8
5
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
9
6
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
7
|
+
import type { I18n } from '@keycloakify/angular/login/i18n';
|
|
10
8
|
import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pipe';
|
|
11
9
|
import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector.service';
|
|
12
|
-
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
13
10
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
11
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
14
12
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
15
|
-
import {
|
|
13
|
+
import { KcContext } from 'keycloakify/login/KcContext/KcContext';
|
|
14
|
+
import { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
|
|
15
|
+
import { Observable } from 'rxjs';
|
|
16
16
|
|
|
17
17
|
@Component({
|
|
18
18
|
selector: 'kc-login-template',
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Renderer2,
|
|
11
11
|
ɵstringify as stringify
|
|
12
12
|
} from '@angular/core';
|
|
13
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
13
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
14
14
|
import { getKcClsx } from 'keycloakify/login/lib/kcClsx';
|
|
15
15
|
import { ComponentReference } from '../classes/component-reference.class';
|
|
16
16
|
|
package/src/login/i18n.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { GenericI18n_noJsx } from 'keycloakify/login/i18n/noJsx/GenericI18n_noJsx';
|
|
2
|
-
import { MessageKey as MessageKey_defaultSet } from 'keycloakify/login/i18n/messages_defaultSet/types';
|
|
2
|
+
import { type MessageKey as MessageKey_defaultSet } from 'keycloakify/login/i18n/messages_defaultSet/types';
|
|
3
3
|
/** INTERNAL: DO NOT IMPORT THIS */
|
|
4
4
|
export type I18n = GenericI18n_noJsx<MessageKey_defaultSet, string>;
|
|
@@ -5,10 +5,10 @@ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.t
|
|
|
5
5
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
6
6
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
7
7
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
8
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
9
|
-
import { KcContext } from '../../KcContext';
|
|
8
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
9
|
+
import { type KcContext } from '../../KcContext';
|
|
10
10
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
11
|
-
import { I18n } from '../../i18n';
|
|
11
|
+
import { type I18n } from '../../i18n';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -6,9 +6,9 @@ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class
|
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
8
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
9
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import { I18n } from '../../i18n';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { type I18n } from '../../i18n';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -6,9 +6,9 @@ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class
|
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
8
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
9
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import { I18n } from '../../i18n';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { type I18n } from '../../i18n';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -4,11 +4,11 @@ import { ComponentReference } from '@keycloakify/angular/login/classes/component
|
|
|
4
4
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
5
5
|
import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pipe';
|
|
6
6
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
7
|
-
import { I18n } from '../../i18n';
|
|
7
|
+
import { type I18n } from '../../i18n';
|
|
8
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
9
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
10
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
10
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -4,11 +4,11 @@ import { ComponentReference } from '@keycloakify/angular/login/classes/component
|
|
|
4
4
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
5
5
|
import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pipe';
|
|
6
6
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
7
|
-
import { I18n } from '../../i18n';
|
|
7
|
+
import { type I18n } from '../../i18n';
|
|
8
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
9
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
10
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
10
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[action]="url.loginAction"
|
|
17
17
|
method="post"
|
|
18
18
|
>
|
|
19
|
-
<
|
|
19
|
+
<ng-container *ngComponentOutlet="userProfileFormFieldsComponent | async"></ng-container>
|
|
20
20
|
<div [kcClass]="'kcFormGroupClass'">
|
|
21
21
|
<div
|
|
22
22
|
id="kc-form-options"
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AsyncPipe, NgComponentOutlet } from '@angular/common';
|
|
2
|
+
import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChild, forwardRef, inject, input, signal, Type } from '@angular/core';
|
|
2
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
3
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
4
5
|
import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields/user-profile-form-fields.component';
|
|
5
6
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
6
7
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
7
|
-
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
|
-
import { I18n } from '../../i18n';
|
|
9
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
9
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
10
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { USER_PROFILE_FORM_FIELDS_EJECTED_PATH } from '@keycloakify/angular/login/tokens/user-profile-form-fields-ejected-path.token';
|
|
12
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
13
|
+
import { from, Observable, tap } from 'rxjs';
|
|
14
|
+
import { type I18n } from '../../i18n';
|
|
15
|
+
import { type KcContext } from '../../KcContext';
|
|
13
16
|
|
|
14
17
|
@Component({
|
|
15
18
|
standalone: true,
|
|
16
|
-
imports: [TemplateComponent,
|
|
19
|
+
imports: [TemplateComponent, KcClassDirective, NgComponentOutlet, AsyncPipe],
|
|
17
20
|
selector: 'kc-root',
|
|
18
21
|
templateUrl: 'idp-review-user-profile.component.html',
|
|
19
22
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -24,7 +27,9 @@ import { KcContext } from '../../KcContext';
|
|
|
24
27
|
}
|
|
25
28
|
]
|
|
26
29
|
})
|
|
27
|
-
export class IdpReviewUserProfileComponent extends ComponentReference {
|
|
30
|
+
export class IdpReviewUserProfileComponent extends ComponentReference implements AfterContentInit {
|
|
31
|
+
@ContentChild(UserProfileFormFieldsComponent, { descendants: true }) userProfileFormFields: UserProfileFormFieldsComponent | undefined;
|
|
32
|
+
|
|
28
33
|
kcContext = inject<Extract<KcContext, { pageId: 'idp-review-user-profile.ftl' }>>(KC_LOGIN_CONTEXT);
|
|
29
34
|
displayRequiredFields = input(true);
|
|
30
35
|
documentTitle = input<string>();
|
|
@@ -36,6 +41,22 @@ export class IdpReviewUserProfileComponent extends ComponentReference {
|
|
|
36
41
|
displayInfo: boolean = false;
|
|
37
42
|
displayMessage: boolean = !this.kcContext?.messagesPerField?.existsError('global');
|
|
38
43
|
|
|
44
|
+
userProfileFormFieldsComponent: Observable<Type<UserProfileFormFieldsComponent> | null>;
|
|
45
|
+
userProfileFormFieldsEjectedPath = inject<string | undefined>(USER_PROFILE_FORM_FIELDS_EJECTED_PATH);
|
|
46
|
+
constructor() {
|
|
47
|
+
super();
|
|
48
|
+
this.userProfileFormFieldsComponent = from(
|
|
49
|
+
import(/* @vite-ignore */
|
|
50
|
+
this.userProfileFormFieldsEjectedPath ??
|
|
51
|
+
'../../components/user-profile-form-fields/user-profile-form-fields.component'
|
|
52
|
+
).then(c => c.UserProfileFormFieldsComponent)
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
ngAfterContentInit(): void {
|
|
57
|
+
this.userProfileFormFields?.onIsFormSubmittable?.subscribe(submittable => this.isFormSubmittable.set(submittable));
|
|
58
|
+
}
|
|
59
|
+
|
|
39
60
|
onCallback() {
|
|
40
61
|
(document.getElementById('kc-register-form') as HTMLFormElement).submit();
|
|
41
62
|
}
|
|
@@ -6,9 +6,9 @@ import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pip
|
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
8
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
9
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import { I18n } from '../../i18n';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { type I18n } from '../../i18n';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -9,9 +9,9 @@ import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pip
|
|
|
9
9
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
10
10
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
11
11
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
12
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
13
|
-
import { I18n } from '../../i18n';
|
|
14
|
-
import { KcContext } from '../../KcContext';
|
|
12
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
13
|
+
import { type I18n } from '../../i18n';
|
|
14
|
+
import { type KcContext } from '../../KcContext';
|
|
15
15
|
|
|
16
16
|
@Component({
|
|
17
17
|
selector: 'kc-root',
|
|
@@ -8,9 +8,9 @@ import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pip
|
|
|
8
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
9
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
10
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
11
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
12
|
-
import { I18n } from '../../i18n';
|
|
13
|
-
import { KcContext } from '../../KcContext';
|
|
11
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
12
|
+
import { type I18n } from '../../i18n';
|
|
13
|
+
import { type KcContext } from '../../KcContext';
|
|
14
14
|
|
|
15
15
|
@Component({
|
|
16
16
|
standalone: true,
|
|
@@ -6,9 +6,9 @@ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class
|
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
8
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
9
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import { I18n } from '../../i18n';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { type I18n } from '../../i18n';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts
CHANGED
|
@@ -4,11 +4,11 @@ import { ComponentReference } from '@keycloakify/angular/login/classes/component
|
|
|
4
4
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
5
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
6
6
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
7
|
-
import { I18n } from '../../i18n';
|
|
7
|
+
import { type I18n } from '../../i18n';
|
|
8
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
9
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
10
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
10
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -4,11 +4,11 @@ import { ComponentReference } from '@keycloakify/angular/login/classes/component
|
|
|
4
4
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
5
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
|
|
6
6
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
7
|
-
import { I18n } from '../../i18n';
|
|
7
|
+
import { type I18n } from '../../i18n';
|
|
8
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
9
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
10
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
10
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -6,9 +6,9 @@ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class
|
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
8
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
9
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import { I18n } from '../../i18n';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { type I18n } from '../../i18n';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -6,9 +6,9 @@ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class
|
|
|
6
6
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
7
7
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
8
8
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
9
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import { I18n } from '../../i18n';
|
|
11
|
-
import { KcContext } from '../../KcContext';
|
|
9
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
+
import { type I18n } from '../../i18n';
|
|
11
|
+
import { type KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
@@ -7,9 +7,9 @@ import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pip
|
|
|
7
7
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
8
8
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
9
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
10
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
-
import { I18n } from '../../i18n';
|
|
12
|
-
import { KcContext } from '../../KcContext';
|
|
10
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
+
import { type I18n } from '../../i18n';
|
|
12
|
+
import { type KcContext } from '../../KcContext';
|
|
13
13
|
|
|
14
14
|
@Component({
|
|
15
15
|
standalone: true,
|
|
@@ -5,9 +5,9 @@ import { TemplateComponent } from '@keycloakify/angular/login/containers/templat
|
|
|
5
5
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
6
6
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
7
7
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
8
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
9
|
-
import { I18n } from '../../i18n';
|
|
10
|
-
import { KcContext } from '../../KcContext';
|
|
8
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
9
|
+
import { type I18n } from '../../i18n';
|
|
10
|
+
import { type KcContext } from '../../KcContext';
|
|
11
11
|
|
|
12
12
|
@Component({
|
|
13
13
|
standalone: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, forwardRef, inject } from '@angular/core';
|
|
2
|
-
import { Script } from '@keycloakify/angular/lib/models/script.model';
|
|
2
|
+
import { type Script } from '@keycloakify/angular/lib/models/script.model';
|
|
3
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css.token';
|
|
4
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference.class';
|
|
5
5
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
|
|
@@ -8,9 +8,9 @@ import { LoginResourceInjectorService } from '@keycloakify/angular/login/service
|
|
|
8
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
9
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
10
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
11
|
-
import { ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
|
|
12
|
-
import { I18n } from '../../i18n';
|
|
13
|
-
import { KcContext } from '../../KcContext';
|
|
11
|
+
import { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
|
|
12
|
+
import { type I18n } from '../../i18n';
|
|
13
|
+
import { type KcContext } from '../../KcContext';
|
|
14
14
|
|
|
15
15
|
@Component({
|
|
16
16
|
standalone: true,
|
|
@@ -8,9 +8,9 @@ import { KcSanitizePipe } from '@keycloakify/angular/login/pipes/kc-sanitize.pip
|
|
|
8
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
9
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
10
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
11
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
12
|
-
import { I18n } from '../../i18n';
|
|
13
|
-
import { KcContext } from '../../KcContext';
|
|
11
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
12
|
+
import { type I18n } from '../../i18n';
|
|
13
|
+
import { type KcContext } from '../../KcContext';
|
|
14
14
|
|
|
15
15
|
@Component({
|
|
16
16
|
standalone: true,
|
|
@@ -7,9 +7,9 @@ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class
|
|
|
7
7
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
|
|
8
8
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
|
|
9
9
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
|
|
10
|
-
import { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
-
import { I18n } from '../../i18n';
|
|
12
|
-
import { KcContext } from '../../KcContext';
|
|
10
|
+
import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
11
|
+
import { type I18n } from '../../i18n';
|
|
12
|
+
import { type KcContext } from '../../KcContext';
|
|
13
13
|
|
|
14
14
|
@Component({
|
|
15
15
|
standalone: true,
|