@keycloakify/angular 0.0.1-rc.20 → 0.0.1-rc.22

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 (383) hide show
  1. package/account/account.d.ts +12 -0
  2. package/account/defaultPage.d.ts +3 -0
  3. package/{login/getDefaultPageComponent → account}/index.d.ts +1 -1
  4. package/account/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +1 -1
  5. package/account/public-api.d.ts +1 -0
  6. package/bin/338.index.js +298 -0
  7. package/bin/755.index.js +4928 -0
  8. package/bin/758.index.js +130 -0
  9. package/bin/925.index.js +1712 -0
  10. package/bin/main.js +334 -105
  11. package/esm2022/account/account.mjs +3 -0
  12. package/esm2022/account/defaultPage.mjs +26 -0
  13. package/esm2022/account/keycloakify-angular-account.mjs +5 -0
  14. package/esm2022/account/pages/account/account.component.mjs +2 -3
  15. package/esm2022/account/pages/applications/applications.component.mjs +2 -3
  16. package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +2 -3
  17. package/esm2022/account/pages/log/log.component.mjs +2 -3
  18. package/esm2022/account/pages/password/password.component.mjs +2 -3
  19. package/esm2022/account/pages/sessions/sessions.component.mjs +2 -3
  20. package/esm2022/account/pages/totp/totp.component.mjs +2 -3
  21. package/esm2022/account/providers/keycloakify-angular/keycloakify-angular.providers.mjs +2 -2
  22. package/esm2022/account/public-api.mjs +2 -0
  23. package/esm2022/login/containers/template/template.component.mjs +4 -10
  24. package/esm2022/login/defaultPage.mjs +77 -0
  25. package/esm2022/login/keycloakify-angular-login.mjs +5 -0
  26. package/esm2022/login/login.mjs +3 -0
  27. package/esm2022/login/pages/code/code.component.mjs +2 -3
  28. package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +1 -1
  29. package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +2 -3
  30. package/esm2022/login/pages/error/error.component.mjs +2 -3
  31. package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +2 -3
  32. package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +7 -8
  33. package/esm2022/login/pages/info/info.component.mjs +2 -3
  34. package/esm2022/login/pages/login/login.component.mjs +2 -3
  35. package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +2 -3
  36. package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +2 -3
  37. package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +2 -3
  38. package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +2 -3
  39. package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +2 -3
  40. package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +2 -3
  41. package/esm2022/login/pages/login-otp/login-otp.component.mjs +2 -3
  42. package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +2 -3
  43. package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +2 -3
  44. package/esm2022/login/pages/login-password/login-password.component.mjs +2 -3
  45. package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +2 -3
  46. package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +2 -3
  47. package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +2 -3
  48. package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +2 -3
  49. package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +2 -3
  50. package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +7 -8
  51. package/esm2022/login/pages/login-username/login-username.component.mjs +2 -3
  52. package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +2 -3
  53. package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +2 -3
  54. package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +2 -3
  55. package/esm2022/login/pages/register/register.component.mjs +7 -8
  56. package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +2 -3
  57. package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +2 -3
  58. package/esm2022/login/pages/terms/terms.component.mjs +2 -3
  59. package/esm2022/login/pages/update-email/update-email.component.mjs +7 -8
  60. package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +2 -3
  61. package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +2 -3
  62. package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +2 -3
  63. package/esm2022/login/providers/keycloakify-angular/keycloakify-angular.providers.mjs +2 -2
  64. package/esm2022/login/public-api.mjs +2 -0
  65. package/fesm2022/keycloakify-angular-account-pages-account.mjs +1 -2
  66. package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -1
  67. package/fesm2022/keycloakify-angular-account-pages-applications.mjs +1 -2
  68. package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -1
  69. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +1 -2
  70. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -1
  71. package/fesm2022/keycloakify-angular-account-pages-log.mjs +1 -2
  72. package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -1
  73. package/fesm2022/keycloakify-angular-account-pages-password.mjs +1 -2
  74. package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -1
  75. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +1 -2
  76. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -1
  77. package/fesm2022/keycloakify-angular-account-pages-totp.mjs +1 -2
  78. package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -1
  79. package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs +2 -2
  80. package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -1
  81. package/fesm2022/keycloakify-angular-account.mjs +34 -0
  82. package/fesm2022/keycloakify-angular-account.mjs.map +1 -0
  83. package/fesm2022/keycloakify-angular-login-containers-template.mjs +3 -9
  84. package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -1
  85. package/fesm2022/keycloakify-angular-login-pages-code.mjs +1 -2
  86. package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
  87. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -1
  88. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +1 -2
  89. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
  90. package/fesm2022/keycloakify-angular-login-pages-error.mjs +1 -2
  91. package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
  92. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +1 -2
  93. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -1
  94. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +6 -7
  95. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
  96. package/fesm2022/keycloakify-angular-login-pages-info.mjs +1 -2
  97. package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
  98. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +1 -2
  99. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -1
  100. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +1 -2
  101. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -1
  102. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +1 -2
  103. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -1
  104. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +1 -2
  105. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
  106. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +1 -2
  107. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -1
  108. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +1 -2
  109. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -1
  110. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +1 -2
  111. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -1
  112. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +1 -2
  113. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
  114. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +1 -2
  115. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
  116. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +1 -2
  117. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
  118. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +1 -2
  119. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -1
  120. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +1 -2
  121. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -1
  122. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +1 -2
  123. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
  124. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +1 -2
  125. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
  126. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +1 -2
  127. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -1
  128. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +6 -7
  129. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
  130. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +1 -2
  131. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
  132. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +1 -2
  133. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
  134. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +1 -2
  135. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -1
  136. package/fesm2022/keycloakify-angular-login-pages-login.mjs +1 -2
  137. package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
  138. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +1 -2
  139. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
  140. package/fesm2022/keycloakify-angular-login-pages-register.mjs +7 -8
  141. package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
  142. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +1 -2
  143. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -1
  144. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +1 -2
  145. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
  146. package/fesm2022/keycloakify-angular-login-pages-terms.mjs +1 -2
  147. package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -1
  148. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +6 -7
  149. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
  150. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +1 -2
  151. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
  152. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +1 -2
  153. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -1
  154. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +1 -2
  155. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -1
  156. package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs +2 -2
  157. package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -1
  158. package/fesm2022/{keycloakify-angular-login-getDefaultPageComponent.mjs → keycloakify-angular-login.mjs} +3 -1
  159. package/fesm2022/keycloakify-angular-login.mjs.map +1 -0
  160. package/login/containers/template/template.component.d.ts +2 -4
  161. package/login/index.d.ts +5 -0
  162. package/login/login.d.ts +13 -0
  163. package/login/pages/code/code.component.d.ts +1 -1
  164. package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +1 -1
  165. package/login/pages/delete-credential/delete-credential.component.d.ts +1 -1
  166. package/login/pages/error/error.component.d.ts +1 -1
  167. package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +1 -1
  168. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +2 -4
  169. package/login/pages/info/info.component.d.ts +1 -1
  170. package/login/pages/login/login.component.d.ts +1 -1
  171. package/login/pages/login-config-totp/login-config-totp.component.d.ts +1 -1
  172. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +1 -1
  173. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +1 -1
  174. package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +1 -1
  175. package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +1 -1
  176. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +1 -1
  177. package/login/pages/login-otp/login-otp.component.d.ts +1 -1
  178. package/login/pages/login-page-expired/login-page-expired.component.d.ts +1 -1
  179. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +1 -1
  180. package/login/pages/login-password/login-password.component.d.ts +1 -1
  181. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +1 -1
  182. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +1 -1
  183. package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +1 -1
  184. package/login/pages/login-reset-password/login-reset-password.component.d.ts +1 -1
  185. package/login/pages/login-update-password/login-update-password.component.d.ts +1 -1
  186. package/login/pages/login-update-profile/login-update-profile.component.d.ts +2 -4
  187. package/login/pages/login-username/login-username.component.d.ts +1 -1
  188. package/login/pages/login-verify-email/login-verify-email.component.d.ts +1 -1
  189. package/login/pages/login-x509-info/login-x509-info.component.d.ts +1 -1
  190. package/login/pages/logout-confirm/logout-confirm.component.d.ts +1 -1
  191. package/login/pages/register/register.component.d.ts +2 -4
  192. package/login/pages/saml-post-form/saml-post-form.component.d.ts +1 -1
  193. package/login/pages/select-authenticator/select-authenticator.component.d.ts +1 -1
  194. package/login/pages/terms/terms.component.d.ts +1 -1
  195. package/login/pages/update-email/update-email.component.d.ts +2 -4
  196. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +1 -1
  197. package/login/pages/webauthn-error/webauthn-error.component.d.ts +1 -1
  198. package/login/pages/webauthn-register/webauthn-register.component.d.ts +1 -1
  199. package/login/providers/keycloakify-angular/keycloakify-angular.providers.d.ts +1 -1
  200. package/login/public-api.d.ts +1 -0
  201. package/package.json +21 -15
  202. package/src/account/DefaultPage.ts +1 -1
  203. package/src/account/account.ts +13 -0
  204. package/src/account/classes/component-reference/index.ts +1 -0
  205. package/src/account/containers/template/index.ts +1 -0
  206. package/src/account/containers/template/template.component.ts +2 -2
  207. package/src/account/defaultPage.ts +44 -0
  208. package/src/account/directives/kc-class/index.ts +1 -0
  209. package/src/account/index.ts +1 -0
  210. package/src/account/pages/account/account.component.ts +3 -4
  211. package/src/account/pages/account/index.ts +1 -0
  212. package/src/account/pages/applications/applications.component.ts +3 -4
  213. package/src/account/pages/applications/index.ts +1 -0
  214. package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +3 -4
  215. package/src/account/pages/federatedIdentity/index.ts +1 -0
  216. package/src/account/pages/log/index.ts +1 -0
  217. package/src/account/pages/log/log.component.ts +3 -4
  218. package/src/account/pages/password/index.ts +1 -0
  219. package/src/account/pages/password/password.component.ts +3 -4
  220. package/src/account/pages/sessions/index.ts +1 -0
  221. package/src/account/pages/sessions/sessions.component.ts +3 -4
  222. package/src/account/pages/totp/index.ts +1 -0
  223. package/src/account/pages/totp/totp.component.ts +3 -4
  224. package/src/account/providers/keycloakify-angular/index.ts +1 -0
  225. package/src/account/providers/keycloakify-angular/keycloakify-angular.providers.ts +2 -4
  226. package/src/account/services/account-resource-injector/account-resource-injector.service.ts +1 -1
  227. package/src/account/services/account-resource-injector/index.ts +1 -0
  228. package/src/account/services/i18n/index.ts +1 -0
  229. package/src/account/tokens/classes/index.ts +1 -0
  230. package/src/account/tokens/i18n/index.ts +1 -0
  231. package/src/account/tokens/kc-context/index.ts +1 -0
  232. package/src/account/tokens/kc-context/kc-context.token.ts +1 -1
  233. package/src/bin/core.ts +10 -0
  234. package/src/bin/eject-page.ts +310 -0
  235. package/src/bin/initialize-account-theme/boilerplate/KcContext.ts +11 -0
  236. package/src/bin/initialize-account-theme/boilerplate/KcContextMock.ts +18 -0
  237. package/src/bin/initialize-account-theme/boilerplate/KcPage.ts +19 -0
  238. package/src/bin/initialize-account-theme/boilerplate/i18n.ts +11 -0
  239. package/src/bin/initialize-account-theme/initialize-account-theme.ts +98 -0
  240. package/src/bin/initialize-account-theme/updateAccountThemeImplementationInConfig.ts +99 -0
  241. package/src/bin/main.ts +38 -0
  242. package/src/bin/tools/SemVer.ts +114 -0
  243. package/src/bin/tools/String.prototype.replaceAll.ts +37 -0
  244. package/src/bin/tools/crawl.ts +35 -0
  245. package/src/bin/tools/fs.rmSync.ts +34 -0
  246. package/src/bin/tools/getThisCodebaseRootDirPath.ts +19 -0
  247. package/src/bin/tools/kebabCaseToSnakeCase.ts +7 -0
  248. package/src/bin/tools/transformCodebase.ts +88 -0
  249. package/src/bin/tsconfig.json +20 -0
  250. package/src/bin/update-kc-gen.ts +135 -0
  251. package/src/index.ts +1 -0
  252. package/src/lib/directives/attributes/index.ts +1 -0
  253. package/src/lib/index.ts +1 -0
  254. package/src/lib/models/script/index.ts +1 -0
  255. package/src/lib/pipes/input-type/index.ts +1 -0
  256. package/src/lib/pipes/is-array-with-empty-object/index.ts +1 -0
  257. package/src/lib/pipes/kc-sanitize/index.ts +1 -0
  258. package/src/lib/pipes/to-array/index.ts +1 -0
  259. package/src/lib/pipes/to-number/index.ts +1 -0
  260. package/src/lib/services/resource-injector/index.ts +1 -0
  261. package/src/lib/tokens/use-default-css/index.ts +1 -0
  262. package/src/login/classes/component-reference/index.ts +1 -0
  263. package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.ts +1 -1
  264. package/src/login/components/add-remove-buttons-multi-valued-attribute/index.ts +1 -0
  265. package/src/login/components/field-errors/index.ts +1 -0
  266. package/src/login/components/group-label/group-label.component.ts +1 -1
  267. package/src/login/components/group-label/index.ts +1 -0
  268. package/src/login/components/input-field-by-type/index.ts +1 -0
  269. package/src/login/components/input-tag/index.ts +1 -0
  270. package/src/login/components/input-tag/input-tag.component.ts +1 -1
  271. package/src/login/components/input-tag-selects/index.ts +1 -0
  272. package/src/login/components/input-tag-selects/input-tag-selects.component.ts +1 -1
  273. package/src/login/components/logout-other-sessions/index.ts +1 -0
  274. package/src/login/components/logout-other-sessions/logout-other-sessions.component.ts +1 -1
  275. package/src/login/components/password-wrapper/index.ts +1 -0
  276. package/src/login/components/password-wrapper/password-wrapper.component.ts +1 -1
  277. package/src/login/components/select-tag/index.ts +1 -0
  278. package/src/login/components/select-tag/select-tag.component.ts +1 -1
  279. package/src/login/components/textarea-tag/index.ts +1 -0
  280. package/src/login/components/user-profile-form-fields/index.ts +1 -0
  281. package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.ts +2 -2
  282. package/src/login/containers/template/index.ts +1 -0
  283. package/src/login/containers/template/template.component.ts +2 -8
  284. package/src/login/{getDefaultPageComponent.ts → defaultPage.ts} +1 -1
  285. package/src/login/directives/kc-class/index.ts +1 -0
  286. package/src/login/index.ts +1 -0
  287. package/src/login/login.ts +14 -0
  288. package/src/login/pages/code/code.component.ts +4 -5
  289. package/src/login/pages/code/index.ts +1 -0
  290. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +3 -3
  291. package/src/login/pages/delete-account-confirm/index.ts +1 -0
  292. package/src/login/pages/delete-credential/delete-credential.component.ts +4 -5
  293. package/src/login/pages/delete-credential/index.ts +1 -0
  294. package/src/login/pages/error/error.component.ts +4 -5
  295. package/src/login/pages/error/index.ts +1 -0
  296. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +4 -5
  297. package/src/login/pages/frontchannel-logout/index.ts +1 -0
  298. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +1 -1
  299. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +4 -6
  300. package/src/login/pages/idp-review-user-profile/index.ts +1 -0
  301. package/src/login/pages/info/index.ts +1 -0
  302. package/src/login/pages/info/info.component.ts +4 -5
  303. package/src/login/pages/login/index.ts +1 -0
  304. package/src/login/pages/login/login.component.ts +4 -5
  305. package/src/login/pages/login-config-totp/index.ts +1 -0
  306. package/src/login/pages/login-config-totp/login-config-totp.component.ts +4 -5
  307. package/src/login/pages/login-idp-link-confirm/index.ts +1 -0
  308. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +4 -5
  309. package/src/login/pages/login-idp-link-confirm-override/index.ts +1 -0
  310. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +4 -5
  311. package/src/login/pages/login-idp-link-email/index.ts +1 -0
  312. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +4 -5
  313. package/src/login/pages/login-oauth-grant/index.ts +1 -0
  314. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +4 -5
  315. package/src/login/pages/login-oauth2-device-verify-user-code/index.ts +1 -0
  316. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +4 -5
  317. package/src/login/pages/login-otp/index.ts +1 -0
  318. package/src/login/pages/login-otp/login-otp.component.ts +4 -5
  319. package/src/login/pages/login-page-expired/index.ts +1 -0
  320. package/src/login/pages/login-page-expired/login-page-expired.component.ts +4 -5
  321. package/src/login/pages/login-passkeys-conditional-authenticate/index.ts +1 -0
  322. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +4 -5
  323. package/src/login/pages/login-password/index.ts +1 -0
  324. package/src/login/pages/login-password/login-password.component.ts +4 -5
  325. package/src/login/pages/login-recovery-authn-code-config/index.ts +1 -0
  326. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +4 -5
  327. package/src/login/pages/login-recovery-authn-code-input/index.ts +1 -0
  328. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +4 -5
  329. package/src/login/pages/login-reset-otp/index.ts +1 -0
  330. package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +4 -5
  331. package/src/login/pages/login-reset-password/index.ts +1 -0
  332. package/src/login/pages/login-reset-password/login-reset-password.component.ts +4 -5
  333. package/src/login/pages/login-update-password/index.ts +1 -0
  334. package/src/login/pages/login-update-password/login-update-password.component.ts +4 -5
  335. package/src/login/pages/login-update-profile/index.ts +1 -0
  336. package/src/login/pages/login-update-profile/login-update-profile.component.html +1 -1
  337. package/src/login/pages/login-update-profile/login-update-profile.component.ts +4 -6
  338. package/src/login/pages/login-username/index.ts +1 -0
  339. package/src/login/pages/login-username/login-username.component.ts +4 -5
  340. package/src/login/pages/login-verify-email/index.ts +1 -0
  341. package/src/login/pages/login-verify-email/login-verify-email.component.ts +4 -5
  342. package/src/login/pages/login-x509-info/index.ts +1 -0
  343. package/src/login/pages/login-x509-info/login-x509-info.component.ts +4 -5
  344. package/src/login/pages/logout-confirm/index.ts +1 -0
  345. package/src/login/pages/logout-confirm/logout-confirm.component.ts +4 -5
  346. package/src/login/pages/register/index.ts +1 -0
  347. package/src/login/pages/register/register.component.html +1 -1
  348. package/src/login/pages/register/register.component.ts +4 -6
  349. package/src/login/pages/saml-post-form/index.ts +1 -0
  350. package/src/login/pages/saml-post-form/saml-post-form.component.ts +4 -5
  351. package/src/login/pages/select-authenticator/index.ts +1 -0
  352. package/src/login/pages/select-authenticator/select-authenticator.component.ts +4 -5
  353. package/src/login/pages/terms/index.ts +1 -0
  354. package/src/login/pages/terms/terms.component.ts +4 -5
  355. package/src/login/pages/update-email/index.ts +1 -0
  356. package/src/login/pages/update-email/update-email.component.html +1 -1
  357. package/src/login/pages/update-email/update-email.component.ts +4 -6
  358. package/src/login/pages/webauthn-authenticate/index.ts +1 -0
  359. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +4 -5
  360. package/src/login/pages/webauthn-error/index.ts +1 -0
  361. package/src/login/pages/webauthn-error/webauthn-error.component.ts +4 -5
  362. package/src/login/pages/webauthn-register/index.ts +1 -0
  363. package/src/login/pages/webauthn-register/webauthn-register.component.ts +4 -5
  364. package/src/login/providers/keycloakify-angular/index.ts +1 -0
  365. package/src/login/providers/keycloakify-angular/keycloakify-angular.providers.ts +2 -2
  366. package/src/login/services/i18n/index.ts +1 -0
  367. package/src/login/services/login-resource-injector/index.ts +1 -0
  368. package/src/login/services/login-resource-injector/login-resource-injector.service.ts +1 -1
  369. package/src/login/services/submit/index.ts +1 -0
  370. package/src/login/services/user-profile-form/index.ts +1 -0
  371. package/src/login/services/user-profile-form/user-profile-form.service.ts +2 -2
  372. package/src/login/tokens/classes/index.ts +1 -0
  373. package/src/login/tokens/i18n/index.ts +1 -0
  374. package/src/login/tokens/kc-context/index.ts +1 -0
  375. package/src/login/tokens/kc-context/kc-context.token.ts +1 -1
  376. package/src/login/tokens/make-user-confirm-password/index.ts +1 -0
  377. package/esm2022/login/getDefaultPageComponent/getDefaultPageComponent.mjs +0 -77
  378. package/esm2022/login/getDefaultPageComponent/keycloakify-angular-login-getDefaultPageComponent.mjs +0 -5
  379. package/esm2022/login/getDefaultPageComponent/public-api.mjs +0 -2
  380. package/fesm2022/keycloakify-angular-login-getDefaultPageComponent.mjs.map +0 -1
  381. package/login/getDefaultPageComponent/public-api.d.ts +0 -1
  382. /package/login/{getDefaultPageComponent/getDefaultPageComponent.d.ts → defaultPage.d.ts} +0 -0
  383. /package/{stories → src/stories}/login/pages/login/login.stories.ts +0 -0
@@ -0,0 +1 @@
1
+ export * from './login-recovery-authn-code-input.component';
@@ -1,11 +1,10 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
3
3
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
4
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
6
5
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
7
- import type { I18n } from '../../i18n';
8
- import type { KcContext } from '../../KcContext';
6
+ import type { I18n } from '@keycloakify/angular/login/i18n';
7
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
9
8
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
10
9
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
11
10
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -13,7 +12,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
13
12
 
14
13
  @Component({
15
14
  standalone: true,
16
- imports: [TemplateComponent, KcClassDirective, KcSanitizePipe],
15
+ imports: [KcClassDirective, KcSanitizePipe],
17
16
  selector: 'kc-login-recovery-authn-code-input',
18
17
  templateUrl: 'login-recovery-authn-code-input.component.html',
19
18
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-reset-otp.component';
@@ -1,10 +1,9 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
3
3
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
4
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
5
4
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
6
- import type { I18n } from '../../i18n';
7
- import type { KcContext } from '../../KcContext';
5
+ import type { I18n } from '@keycloakify/angular/login/i18n';
6
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
8
7
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
9
8
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
10
9
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -12,7 +11,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
12
11
 
13
12
  @Component({
14
13
  standalone: true,
15
- imports: [KcClassDirective, TemplateComponent],
14
+ imports: [KcClassDirective],
16
15
  selector: 'kc-login-reset-otp',
17
16
  templateUrl: 'login-reset-otp.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-reset-password.component';
@@ -1,11 +1,10 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
3
3
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
4
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
6
5
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
7
- import type { I18n } from '../../i18n';
8
- import type { KcContext } from '../../KcContext';
6
+ import type { I18n } from '@keycloakify/angular/login/i18n';
7
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
9
8
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
10
9
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
11
10
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -13,7 +12,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
13
12
 
14
13
  @Component({
15
14
  standalone: true,
16
- imports: [TemplateComponent, KcClassDirective, KcSanitizePipe],
15
+ imports: [KcClassDirective, KcSanitizePipe],
17
16
  selector: 'kc-login-reset-password',
18
17
  templateUrl: 'login-reset-password.component.html',
19
18
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-update-password.component';
@@ -1,13 +1,12 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
3
3
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
4
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
5
  import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
6
6
  import { PasswordWrapperComponent } from '@keycloakify/angular/login/components/password-wrapper';
7
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
8
7
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
9
- import type { I18n } from '../../i18n';
10
- import type { KcContext } from '../../KcContext';
8
+ import type { I18n } from '@keycloakify/angular/login/i18n';
9
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
11
10
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
12
11
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
13
12
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -15,7 +14,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
15
14
 
16
15
  @Component({
17
16
  standalone: true,
18
- imports: [TemplateComponent, KcClassDirective, PasswordWrapperComponent, KcSanitizePipe, LogoutOtherSessionsComponent],
17
+ imports: [KcClassDirective, PasswordWrapperComponent, KcSanitizePipe, LogoutOtherSessionsComponent],
19
18
  selector: 'kc-login-update-password',
20
19
  templateUrl: 'login-update-password.component.html',
21
20
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-update-profile.component';
@@ -10,7 +10,7 @@
10
10
  [kcClass]="'kcFormClass'"
11
11
  [action]="url.loginAction"
12
12
  >
13
- <ng-container [ngComponentOutlet]="userProfileFormFields() ?? null" />
13
+ <kc-user-profile-form-fields />
14
14
  <div [kcClass]="'kcFormGroupClass'">
15
15
  <div
16
16
  id="kc-form-options"
@@ -1,13 +1,12 @@
1
1
  import { NgComponentOutlet } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, forwardRef, inject, input, signal, TemplateRef, Type, viewChild } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, 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
6
  import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
7
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
8
7
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
9
- import type { I18n } from '../../i18n';
10
- import type { KcContext } from '../../KcContext';
8
+ import type { I18n } from '@keycloakify/angular/login/i18n';
9
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
11
10
  import { SubmitService } from '@keycloakify/angular/login/services/submit';
12
11
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
13
12
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
@@ -16,7 +15,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
16
15
 
17
16
  @Component({
18
17
  standalone: true,
19
- imports: [TemplateComponent, KcClassDirective, NgComponentOutlet],
18
+ imports: [KcClassDirective, NgComponentOutlet, UserProfileFormFieldsComponent],
20
19
  selector: 'kc-login-update-profile',
21
20
  templateUrl: 'login-update-profile.component.html',
22
21
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -47,7 +46,6 @@ export class LoginUpdateProfileComponent extends ComponentReference {
47
46
  socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
48
47
 
49
48
  isFormSubmittable = signal(false);
50
- userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
51
49
 
52
50
  constructor() {
53
51
  super();
@@ -0,0 +1 @@
1
+ export * from './login-username.component';
@@ -1,12 +1,11 @@
1
1
  import { AsyncPipe, NgClass } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, TemplateRef, viewChild } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, viewChild } from '@angular/core';
3
3
  import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
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 { TemplateComponent } from '@keycloakify/angular/login/containers/template';
7
6
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
8
- import type { I18n } from '../../i18n';
9
- import type { KcContext } from '../../KcContext';
7
+ import type { I18n } from '@keycloakify/angular/login/i18n';
8
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
10
9
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
11
10
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
12
11
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -17,7 +16,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
17
16
  templateUrl: './login-username.component.html',
18
17
  standalone: true,
19
18
  changeDetection: ChangeDetectionStrategy.OnPush,
20
- imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, NgClass, TemplateComponent],
19
+ imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, NgClass],
21
20
  providers: [
22
21
  {
23
22
  provide: ComponentReference,
@@ -0,0 +1 @@
1
+ export * from './login-verify-email.component';
@@ -1,10 +1,9 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
3
3
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
4
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
5
4
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
6
- import type { I18n } from '../../i18n';
7
- import type { KcContext } from '../../KcContext';
5
+ import type { I18n } from '@keycloakify/angular/login/i18n';
6
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
8
7
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
9
8
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
10
9
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -12,7 +11,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
12
11
 
13
12
  @Component({
14
13
  standalone: true,
15
- imports: [KcClassDirective, TemplateComponent],
14
+ imports: [KcClassDirective],
16
15
  selector: 'kc-login-verify-email',
17
16
  templateUrl: 'login-verify-email.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-x509-info.component';
@@ -1,10 +1,9 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
3
3
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
4
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
5
4
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
6
- import type { I18n } from '../../i18n';
7
- import type { KcContext } from '../../KcContext';
5
+ import type { I18n } from '@keycloakify/angular/login/i18n';
6
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
8
7
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
9
8
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
10
9
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -12,7 +11,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
12
11
 
13
12
  @Component({
14
13
  standalone: true,
15
- imports: [TemplateComponent, KcClassDirective],
14
+ imports: [KcClassDirective],
16
15
  selector: 'kc-login-x509-info',
17
16
  templateUrl: 'login-x509-info.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './logout-confirm.component';
@@ -1,15 +1,14 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
3
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
4
3
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
5
- import type { I18n } from '../../i18n';
6
- import type { KcContext } from '../../KcContext';
4
+ import type { I18n } from '@keycloakify/angular/login/i18n';
5
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
7
6
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
8
7
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
9
8
 
10
9
  @Component({
11
10
  standalone: true,
12
- imports: [TemplateComponent, KcClassDirective],
11
+ imports: [KcClassDirective],
13
12
  selector: 'kc-logout-confirm',
14
13
  templateUrl: 'logout-confirm.component.html',
15
14
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './register.component';
@@ -16,7 +16,7 @@
16
16
  [kcClass]="'kcFormClass'"
17
17
  [action]="url.registrationAction"
18
18
  >
19
- <ng-container [ngComponentOutlet]="userProfileFormFields() ?? null" />
19
+ <kc-user-profile-form-fields />
20
20
  @if (termsAcceptanceRequired) {
21
21
  <div className="form-group">
22
22
  <div [kcClass]="'kcInputWrapperClass'">
@@ -1,14 +1,13 @@
1
1
  import { AsyncPipe, NgClass, NgComponentOutlet } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, forwardRef, inject, input, signal, TemplateRef, Type, viewChild } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, viewChild } from '@angular/core';
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
5
5
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
6
6
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
7
7
  import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
8
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
9
8
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
10
- import type { I18n } from '../../i18n';
11
- import type { KcContext } from '../../KcContext';
9
+ import type { I18n } from '@keycloakify/angular/login/i18n';
10
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
12
11
  import { SubmitService } from '@keycloakify/angular/login/services/submit';
13
12
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
14
13
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
@@ -20,7 +19,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
20
19
  templateUrl: './register.component.html',
21
20
  standalone: true,
22
21
  changeDetection: ChangeDetectionStrategy.OnPush,
23
- imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, NgClass, TemplateComponent, NgComponentOutlet],
22
+ imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, NgClass, NgComponentOutlet, UserProfileFormFieldsComponent],
24
23
  providers: [
25
24
  {
26
25
  provide: ComponentReference,
@@ -49,7 +48,6 @@ export class RegisterComponent extends ComponentReference {
49
48
 
50
49
  isFormSubmittable = signal(false);
51
50
  areTermsAccepted = signal(false);
52
- userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
53
51
 
54
52
  constructor() {
55
53
  super();
@@ -0,0 +1 @@
1
+ export * from './saml-post-form.component';
@@ -1,9 +1,8 @@
1
- import { AfterViewInit, ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
3
3
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
4
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
5
- import type { I18n } from '../../i18n';
6
- import type { KcContext } from '../../KcContext';
4
+ import type { I18n } from '@keycloakify/angular/login/i18n';
5
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
7
6
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
8
7
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
9
8
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -11,7 +10,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
11
10
 
12
11
  @Component({
13
12
  standalone: true,
14
- imports: [TemplateComponent],
13
+ imports: [],
15
14
  selector: 'kc-saml-post-form',
16
15
  templateUrl: 'saml-post-form.component.html',
17
16
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './select-authenticator.component';
@@ -1,11 +1,10 @@
1
1
  import { NgClass } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
3
3
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
4
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
6
5
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
7
- import type { I18n } from '../../i18n';
8
- import type { KcContext } from '../../KcContext';
6
+ import type { I18n } from '@keycloakify/angular/login/i18n';
7
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
9
8
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
10
9
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
11
10
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -13,7 +12,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
13
12
 
14
13
  @Component({
15
14
  standalone: true,
16
- imports: [TemplateComponent, KcClassDirective, NgClass],
15
+ imports: [KcClassDirective, NgClass],
17
16
  selector: 'kc-select-authenticator',
18
17
  templateUrl: 'select-authenticator.component.html',
19
18
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './terms.component';
@@ -1,10 +1,9 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
3
3
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
4
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
5
4
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
6
- import type { I18n } from '../../i18n';
7
- import type { KcContext } from '../../KcContext';
5
+ import type { I18n } from '@keycloakify/angular/login/i18n';
6
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
8
7
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
9
8
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
10
9
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -12,7 +11,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
12
11
 
13
12
  @Component({
14
13
  standalone: true,
15
- imports: [TemplateComponent, KcClassDirective],
14
+ imports: [KcClassDirective],
16
15
  selector: 'kc-terms',
17
16
  templateUrl: 'terms.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './update-email.component';
@@ -10,7 +10,7 @@
10
10
  [kcClass]="'kcFormClass'"
11
11
  [action]="url.loginAction"
12
12
  >
13
- <ng-container [ngComponentOutlet]="userProfileFormFields() ?? null" />
13
+ <kc-user-profile-form-fields />
14
14
  <div [kcClass]="'kcFormGroupClass'">
15
15
  <div
16
16
  id="kc-form-options"
@@ -1,20 +1,19 @@
1
1
  import { NgComponentOutlet } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, forwardRef, inject, input, signal, TemplateRef, Type, viewChild } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, type TemplateRef, viewChild } from '@angular/core';
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
5
  import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
6
6
  import { UserProfileFormFieldsComponent } from '@keycloakify/angular/login/components/user-profile-form-fields';
7
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
8
7
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
9
- import type { I18n } from '../../i18n';
10
- import type { KcContext } from '../../KcContext';
8
+ import type { I18n } from '@keycloakify/angular/login/i18n';
9
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
11
10
  import { SubmitService } from '@keycloakify/angular/login/services/submit';
12
11
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
13
12
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
14
13
 
15
14
  @Component({
16
15
  standalone: true,
17
- imports: [TemplateComponent, KcClassDirective, NgComponentOutlet, LogoutOtherSessionsComponent],
16
+ imports: [KcClassDirective, NgComponentOutlet, LogoutOtherSessionsComponent, UserProfileFormFieldsComponent],
18
17
  selector: 'kc-update-email',
19
18
  templateUrl: 'update-email.component.html',
20
19
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -41,7 +40,6 @@ export class UpdateEmailComponent extends ComponentReference {
41
40
  infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
42
41
  socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
43
42
 
44
- userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
45
43
  isFormSubmittable = signal(false);
46
44
 
47
45
  constructor() {
@@ -0,0 +1 @@
1
+ export * from './webauthn-authenticate.component';
@@ -1,12 +1,11 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { type Script } from '@keycloakify/angular/lib/models/script';
3
3
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
4
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
5
  import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
6
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
7
6
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
8
- import type { I18n } from '../../i18n';
9
- import type { KcContext } from '../../KcContext';
7
+ import type { I18n } from '@keycloakify/angular/login/i18n';
8
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
10
9
  import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
11
10
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
12
11
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
@@ -15,7 +14,7 @@ import { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
15
14
 
16
15
  @Component({
17
16
  standalone: true,
18
- imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],
17
+ imports: [KcClassDirective, LogoutOtherSessionsComponent],
19
18
  selector: 'kc-webauthn-authenticate',
20
19
  templateUrl: 'webauthn-authenticate.component.html',
21
20
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './webauthn-error.component';
@@ -1,11 +1,10 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
3
3
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
4
4
  import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
5
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
6
5
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
7
- import type { I18n } from '../../i18n';
8
- import type { KcContext } from '../../KcContext';
6
+ import type { I18n } from '@keycloakify/angular/login/i18n';
7
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
9
8
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
10
9
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
11
10
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -13,7 +12,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
13
12
 
14
13
  @Component({
15
14
  standalone: true,
16
- imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],
15
+ imports: [KcClassDirective, LogoutOtherSessionsComponent],
17
16
  selector: 'kc-webauthn-error',
18
17
  templateUrl: 'webauthn-error.component.html',
19
18
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './webauthn-register.component';
@@ -1,12 +1,11 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, type TemplateRef, viewChild } from '@angular/core';
2
2
  import { type Script } from '@keycloakify/angular/lib/models/script';
3
3
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
4
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
5
  import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
6
- import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
7
6
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
8
- import type { I18n } from '../../i18n';
9
- import type { KcContext } from '../../KcContext';
7
+ import type { I18n } from '@keycloakify/angular/login/i18n';
8
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
10
9
  import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
11
10
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
12
11
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
@@ -15,7 +14,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
15
14
 
16
15
  @Component({
17
16
  standalone: true,
18
- imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],
17
+ imports: [KcClassDirective, LogoutOtherSessionsComponent],
19
18
  selector: 'kc-webauthn-register',
20
19
  templateUrl: 'webauthn-register.component.html',
21
20
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './keycloakify-angular.providers';
@@ -1,7 +1,7 @@
1
1
  import { DOCUMENT } from '@angular/common';
2
2
  import { APP_INITIALIZER, LOCALE_ID, makeEnvironmentProviders } from '@angular/core';
3
3
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
- import type { KcContext } from '../../KcContext';
4
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
5
5
  import { I18nService } from '@keycloakify/angular/login/services/i18n';
6
6
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
7
7
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
@@ -20,7 +20,7 @@ export type KeycloakifyAngularLoginConfig = {
20
20
  };
21
21
  };
22
22
 
23
- export const provideKeycloakifyAngularLogin = (config: KeycloakifyAngularLoginConfig) =>
23
+ export const provideKeycloakifyAngular = (config: KeycloakifyAngularLoginConfig) =>
24
24
  makeEnvironmentProviders([
25
25
  {
26
26
  provide: KC_LOGIN_CONTEXT,
@@ -0,0 +1 @@
1
+ export * from './i18n.service';
@@ -0,0 +1 @@
1
+ export * from './login-resource-injector.service';
@@ -1,7 +1,7 @@
1
1
  import { inject, Injectable } from '@angular/core';
2
2
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
3
3
  import { ResourceInjectorService } from '@keycloakify/angular/lib/services/resource-injector';
4
- import type { KcContext } from '../../KcContext';
4
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
5
5
  import { catchError, forkJoin, of, switchMap } from 'rxjs';
6
6
  import { type Script } from '@keycloakify/angular/lib/models/script';
7
7
 
@@ -0,0 +1 @@
1
+ export * from './submit.service';
@@ -0,0 +1 @@
1
+ export * from './user-profile-form.service';
@@ -10,8 +10,8 @@ import {
10
10
  WritableSignal
11
11
  } from '@angular/core';
12
12
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
13
- import type { KcContext } from '../../KcContext';
14
- import type { I18n } from '../../i18n';
13
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
14
+ import type { I18n } from '@keycloakify/angular/login/i18n';
15
15
  import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
16
16
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
17
17
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -0,0 +1 @@
1
+ export * from './classes.token';
@@ -0,0 +1 @@
1
+ export * from './i18n.token';
@@ -0,0 +1 @@
1
+ export * from './kc-context.token';