@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.
Files changed (174) hide show
  1. package/login/DefaultPage.d.ts +2 -2
  2. package/login/DefaultPage.js +1 -1
  3. package/login/classes/component-reference.class.d.ts +1 -1
  4. package/login/classes/component-reference.class.js +1 -1
  5. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.d.ts +3 -3
  6. package/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.js +1 -1
  7. package/login/components/field-errors/field-errors.component.d.ts +3 -3
  8. package/login/components/field-errors/field-errors.component.js +1 -1
  9. package/login/components/group-label/group-label.component.d.ts +3 -3
  10. package/login/components/group-label/group-label.component.js +1 -1
  11. package/login/components/input-field-by-type/input-field-by-type.component.d.ts +2 -2
  12. package/login/components/input-field-by-type/input-field-by-type.component.js +1 -1
  13. package/login/components/input-tag/input-tag.component.d.ts +3 -3
  14. package/login/components/input-tag/input-tag.component.js +1 -1
  15. package/login/components/input-tag-selects/input-tag-selects.component.d.ts +4 -4
  16. package/login/components/input-tag-selects/input-tag-selects.component.js +1 -1
  17. package/login/components/logout-other-sessions/logout-other-sessions.component.d.ts +2 -2
  18. package/login/components/logout-other-sessions/logout-other-sessions.component.js +1 -1
  19. package/login/components/password-wrapper/password-wrapper.component.d.ts +2 -2
  20. package/login/components/password-wrapper/password-wrapper.component.js +1 -1
  21. package/login/components/select-tag/select-tag.component.d.ts +4 -4
  22. package/login/components/select-tag/select-tag.component.js +1 -1
  23. package/login/components/textarea-tag/textarea-tag.component.d.ts +3 -3
  24. package/login/components/textarea-tag/textarea-tag.component.js +2 -2
  25. package/login/components/user-profile-form-fields/user-profile-form-fields.component.d.ts +4 -4
  26. package/login/components/user-profile-form-fields/user-profile-form-fields.component.js +1 -1
  27. package/login/containers/template.component.d.ts +3 -3
  28. package/login/containers/template.component.js +4 -4
  29. package/login/directives/kc-class.directive.d.ts +1 -1
  30. package/login/directives/kc-class.directive.js +1 -1
  31. package/login/i18n.d.ts +1 -1
  32. package/login/i18n.js +1 -1
  33. package/login/pages/code/code.component.d.ts +3 -3
  34. package/login/pages/code/code.component.js +1 -1
  35. package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +3 -3
  36. package/login/pages/delete-account-confirm/delete-account-confirm.component.js +1 -1
  37. package/login/pages/delete-credential/delete-credential.component.d.ts +3 -3
  38. package/login/pages/delete-credential/delete-credential.component.js +1 -1
  39. package/login/pages/error/error.component.d.ts +3 -3
  40. package/login/pages/error/error.component.js +1 -1
  41. package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +3 -3
  42. package/login/pages/frontchannel-logout/frontchannel-logout.component.js +1 -1
  43. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +13 -5
  44. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.js +21 -9
  45. package/login/pages/info/info.component.d.ts +3 -3
  46. package/login/pages/info/info.component.js +1 -1
  47. package/login/pages/login/login.component.d.ts +3 -3
  48. package/login/pages/login/login.component.js +1 -1
  49. package/login/pages/login-config-totp/login-config-totp.component.d.ts +3 -3
  50. package/login/pages/login-config-totp/login-config-totp.component.js +1 -1
  51. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +3 -3
  52. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.js +1 -1
  53. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +3 -3
  54. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.js +1 -1
  55. package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +3 -3
  56. package/login/pages/login-idp-link-email/login-idp-link-email.component.js +1 -1
  57. package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +3 -3
  58. package/login/pages/login-oauth-grant/login-oauth-grant.component.js +1 -1
  59. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +3 -3
  60. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.js +1 -1
  61. package/login/pages/login-otp/login-otp.component.d.ts +3 -3
  62. package/login/pages/login-otp/login-otp.component.js +1 -1
  63. package/login/pages/login-page-expired/login-page-expired.component.d.ts +3 -3
  64. package/login/pages/login-page-expired/login-page-expired.component.js +1 -1
  65. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +3 -3
  66. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.js +1 -1
  67. package/login/pages/login-password/login-password.component.d.ts +3 -3
  68. package/login/pages/login-password/login-password.component.js +1 -1
  69. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +3 -3
  70. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.js +1 -1
  71. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +3 -3
  72. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.js +1 -1
  73. package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +3 -3
  74. package/login/pages/login-reset-otp/login-reset-otp.component.js +1 -1
  75. package/login/pages/login-reset-password/login-reset-password.component.d.ts +3 -3
  76. package/login/pages/login-reset-password/login-reset-password.component.js +1 -1
  77. package/login/pages/login-update-password/login-update-password.component.d.ts +3 -3
  78. package/login/pages/login-update-password/login-update-password.component.js +1 -1
  79. package/login/pages/login-update-profile/login-update-profile.component.d.ts +3 -3
  80. package/login/pages/login-update-profile/login-update-profile.component.js +1 -1
  81. package/login/pages/login-username/login-username.component.d.ts +3 -3
  82. package/login/pages/login-username/login-username.component.js +1 -1
  83. package/login/pages/login-verify-email/login-verify-email.component.d.ts +3 -3
  84. package/login/pages/login-verify-email/login-verify-email.component.js +1 -1
  85. package/login/pages/login-x509-info/login-x509-info.component.d.ts +3 -3
  86. package/login/pages/login-x509-info/login-x509-info.component.js +1 -1
  87. package/login/pages/logout-confirm/logout-confirm.component.d.ts +3 -3
  88. package/login/pages/logout-confirm/logout-confirm.component.js +1 -1
  89. package/login/pages/register/register.component.d.ts +3 -3
  90. package/login/pages/register/register.component.js +1 -1
  91. package/login/pages/saml-post-form/saml-post-form.component.d.ts +3 -3
  92. package/login/pages/saml-post-form/saml-post-form.component.js +1 -1
  93. package/login/pages/select-authenticator/select-authenticator.component.d.ts +3 -3
  94. package/login/pages/select-authenticator/select-authenticator.component.js +1 -1
  95. package/login/pages/terms/terms.component.d.ts +3 -3
  96. package/login/pages/terms/terms.component.js +1 -1
  97. package/login/pages/update-email/update-email.component.d.ts +3 -3
  98. package/login/pages/update-email/update-email.component.js +1 -1
  99. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +3 -3
  100. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.js +1 -1
  101. package/login/pages/webauthn-error/webauthn-error.component.d.ts +3 -3
  102. package/login/pages/webauthn-error/webauthn-error.component.js +1 -1
  103. package/login/pages/webauthn-register/webauthn-register.component.d.ts +3 -3
  104. package/login/pages/webauthn-register/webauthn-register.component.js +2 -2
  105. package/login/providers/keycloakify-angular.providers.d.ts +3 -2
  106. package/login/providers/keycloakify-angular.providers.js +7 -2
  107. package/login/services/i18n.service.js +2 -1
  108. package/login/services/login-resource-injector.service.d.ts +1 -1
  109. package/login/services/login-resource-injector.service.js +1 -1
  110. package/login/services/user-profile-form.service.d.ts +2 -1
  111. package/login/services/user-profile-form.service.js +4 -4
  112. package/login/tokens/classes.token.js +1 -1
  113. package/login/tokens/user-profile-form-fields-ejected-path.token.d.ts +2 -0
  114. package/login/tokens/user-profile-form-fields-ejected-path.token.js +3 -0
  115. package/package.json +4 -1
  116. package/src/login/DefaultPage.ts +2 -2
  117. package/src/login/classes/component-reference.class.ts +1 -1
  118. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +3 -3
  119. package/src/login/components/field-errors/field-errors.component.ts +3 -3
  120. package/src/login/components/group-label/group-label.component.ts +3 -3
  121. package/src/login/components/input-field-by-type/input-field-by-type.component.ts +2 -2
  122. package/src/login/components/input-tag/input-tag.component.ts +3 -3
  123. package/src/login/components/input-tag-selects/input-tag-selects.component.ts +4 -4
  124. package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +2 -2
  125. package/src/login/components/password-wrapper/password-wrapper.component.ts +2 -2
  126. package/src/login/components/select-tag/select-tag.component.ts +4 -4
  127. package/src/login/components/textarea-tag/textarea-tag.component.ts +4 -4
  128. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +4 -4
  129. package/src/login/containers/template.component.ts +6 -6
  130. package/src/login/directives/kc-class.directive.ts +1 -1
  131. package/src/login/i18n.ts +1 -1
  132. package/src/login/pages/code/code.component.ts +3 -3
  133. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +3 -3
  134. package/src/login/pages/delete-credential/delete-credential.component.ts +3 -3
  135. package/src/login/pages/error/error.component.ts +3 -3
  136. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +3 -3
  137. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +1 -1
  138. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +28 -7
  139. package/src/login/pages/info/info.component.ts +3 -3
  140. package/src/login/pages/login/login.component.ts +3 -3
  141. package/src/login/pages/login-config-totp/login-config-totp.component.ts +3 -3
  142. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +3 -3
  143. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +3 -3
  144. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +3 -3
  145. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +3 -3
  146. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +3 -3
  147. package/src/login/pages/login-otp/login-otp.component.ts +3 -3
  148. package/src/login/pages/login-page-expired/login-page-expired.component.ts +3 -3
  149. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +4 -4
  150. package/src/login/pages/login-password/login-password.component.ts +3 -3
  151. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +3 -3
  152. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +3 -3
  153. package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +3 -3
  154. package/src/login/pages/login-reset-password/login-reset-password.component.ts +3 -3
  155. package/src/login/pages/login-update-password/login-update-password.component.ts +3 -3
  156. package/src/login/pages/login-update-profile/login-update-profile.component.ts +3 -3
  157. package/src/login/pages/login-username/login-username.component.ts +3 -3
  158. package/src/login/pages/login-verify-email/login-verify-email.component.ts +3 -3
  159. package/src/login/pages/login-x509-info/login-x509-info.component.ts +3 -3
  160. package/src/login/pages/logout-confirm/logout-confirm.component.ts +3 -3
  161. package/src/login/pages/register/register.component.ts +3 -3
  162. package/src/login/pages/saml-post-form/saml-post-form.component.ts +3 -3
  163. package/src/login/pages/select-authenticator/select-authenticator.component.ts +3 -3
  164. package/src/login/pages/terms/terms.component.ts +3 -3
  165. package/src/login/pages/update-email/update-email.component.ts +3 -3
  166. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +4 -4
  167. package/src/login/pages/webauthn-error/webauthn-error.component.ts +3 -3
  168. package/src/login/pages/webauthn-register/webauthn-register.component.ts +5 -5
  169. package/src/login/providers/keycloakify-angular.providers.ts +10 -4
  170. package/src/login/services/i18n.service.ts +1 -0
  171. package/src/login/services/login-resource-injector.service.ts +2 -2
  172. package/src/login/services/user-profile-form.service.ts +8 -8
  173. package/src/login/tokens/classes.token.ts +1 -1
  174. package/src/login/tokens/user-profile-form-fields-ejected-path.token.ts +3 -0
@@ -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,
@@ -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,
@@ -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
  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,
@@ -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
  selector: 'kc-root',
@@ -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,
@@ -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,
@@ -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',
@@ -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,
@@ -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,
@@ -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,
@@ -8,9 +8,9 @@ import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class
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,
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, forwardRef, inject, input } 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 { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions/logout-other-sessions.component';
@@ -9,9 +9,9 @@ import { LoginResourceInjectorService } from '@keycloakify/angular/login/service
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, getKcClsx } from 'keycloakify/login/lib/kcClsx';
13
- import { I18n } from '../../i18n';
14
- import { KcContext } from '../../KcContext';
12
+ import { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
13
+ import { type I18n } from '../../i18n';
14
+ import { type KcContext } from '../../KcContext';
15
15
 
16
16
  @Component({
17
17
  standalone: true,
@@ -5,11 +5,11 @@ import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/compone
5
5
  import { TemplateComponent } from '@keycloakify/angular/login/containers/template.component';
6
6
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
7
7
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
8
- import { I18n } from '../../i18n';
8
+ import { type I18n } from '../../i18n';
9
9
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.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 { KcContext } from '../../KcContext';
11
+ import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
12
+ import { type KcContext } from '../../KcContext';
13
13
 
14
14
  @Component({
15
15
  standalone: true,
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, forwardRef, inject, input } 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 { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions/logout-other-sessions.component';
@@ -7,11 +7,11 @@ import { TemplateComponent } from '@keycloakify/angular/login/containers/templat
7
7
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class.directive';
8
8
  import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector.service';
9
9
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
10
- import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
11
- import { ClassKey } from 'keycloakify/login/lib/kcClsx';
12
- import { KcContext } from '../../KcContext';
13
10
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
14
- import { I18n } from '../../i18n';
11
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
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
  standalone: true,
@@ -5,15 +5,17 @@ import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes.token';
5
5
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
6
6
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
7
7
  import { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password.token';
8
- import { KcContextLike } from 'keycloakify/login/i18n/noJsx';
9
- import { ClassKey } from 'keycloakify/login/lib/kcClsx';
10
- import { KcContext } from '../KcContext';
8
+ import { USER_PROFILE_FORM_FIELDS_EJECTED_PATH } from '@keycloakify/angular/login/tokens/user-profile-form-fields-ejected-path.token';
9
+ import { type KcContextLike } from 'keycloakify/login/i18n/noJsx';
10
+ import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
11
+ import { type KcContext } from '../KcContext';
11
12
  import { I18nService } from '@keycloakify/angular/login/services/i18n.service';
12
13
 
13
14
  export type KeycloakifyAngularLoginConfig = {
14
15
  doMakeUserConfirmPassword?: boolean;
15
16
  doUseDefaultCss?: boolean;
16
17
  classes?: { [key in ClassKey]?: string };
18
+ userProfileFormFieldsEjectedPath?: string;
17
19
  getI18n: (params: { kcContext: KcContextLike }) => {
18
20
  i18n: unknown;
19
21
  prI18n_currentLanguage: Promise<unknown> | undefined;
@@ -64,5 +66,9 @@ export const provideKeycloakifyAngularLogin = (config: KeycloakifyAngularLoginCo
64
66
  deps: [I18nService]
65
67
  },
66
68
  { provide: USE_DEFAULT_CSS, useValue: config?.doUseDefaultCss ?? true },
67
- { provide: LOGIN_CLASSES, useValue: config?.classes ?? {} }
69
+ { provide: LOGIN_CLASSES, useValue: config?.classes ?? {} },
70
+ {
71
+ provide: USER_PROFILE_FORM_FIELDS_EJECTED_PATH,
72
+ useValue: config.userProfileFormFieldsEjectedPath
73
+ }
68
74
  ]);
@@ -1,6 +1,7 @@
1
1
  import { Injectable } from '@angular/core';
2
2
 
3
3
  @Injectable({ providedIn: 'root' })
4
+ /** INTERNAL: DO NOT IMPORT THIS */
4
5
  export class I18nService {
5
6
  i18n!: unknown;
6
7
  }
@@ -1,9 +1,9 @@
1
1
  import { inject, Injectable } from '@angular/core';
2
2
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
3
3
  import { ResourceInjectorService } from '@keycloakify/angular/lib/services/resource-injector.service';
4
- import { KcContext } from 'keycloakify/login/KcContext';
4
+ import { type KcContext } from '../KcContext';
5
5
  import { catchError, forkJoin, of, switchMap } from 'rxjs';
6
- import { Script } from '@keycloakify/angular/lib/models/script.model';
6
+ import { type Script } from '@keycloakify/angular/lib/models/script.model';
7
7
 
8
8
  @Injectable({
9
9
  providedIn: 'root'
@@ -10,25 +10,25 @@ import {
10
10
  WritableSignal
11
11
  } from '@angular/core';
12
12
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
13
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
14
+ import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
15
+ import { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password.token';
13
16
  import {
14
- Attribute,
15
- KcContext,
16
- PasswordPolicies,
17
- Validators
17
+ type Attribute,
18
+ type PasswordPolicies,
19
+ type Validators
18
20
  } from 'keycloakify/login/KcContext';
19
21
  import type {
20
22
  KcContextLike as KcContextLike_i18n,
21
23
  MessageKey_defaultSet
22
24
  } from 'keycloakify/login/i18n/noJsx';
23
- import type { I18n } from '../i18n';
24
25
  import { emailRegexp } from 'keycloakify/tools/emailRegExp';
25
26
  import { formatNumber } from 'keycloakify/tools/formatNumber';
26
27
  import { structuredCloneButFunctions } from 'keycloakify/tools/structuredCloneButFunctions';
27
28
  import { assert, id } from 'tsafe';
29
+ import { type KcContext } from '../KcContext';
30
+ import type { I18n } from '../i18n';
28
31
  import { LoginResourceInjectorService } from './login-resource-injector.service';
29
- import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context.token';
30
- import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n.token';
31
- import { DO_MAKE_USER_CONFIRM_PASSWORD } from '@keycloakify/angular/login/tokens/make-user-confirm-password.token';
32
32
 
33
33
  type KcContextLike_useGetErrors = KcContextLike_i18n & {
34
34
  messagesPerField: Pick<KcContext['messagesPerField'], 'existsError' | 'get'>;
@@ -1,5 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { ClassKey } from 'keycloakify/login/lib/kcClsx';
2
+ import { type ClassKey } from 'keycloakify/login/lib/kcClsx';
3
3
 
4
4
  export const LOGIN_CLASSES = new InjectionToken<{ [key in ClassKey]?: string }>(
5
5
  'login classes'
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from "@angular/core";
2
+
3
+ export const USER_PROFILE_FORM_FIELDS_EJECTED_PATH = new InjectionToken<string>('profile form fields ejected path')