@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 './template.component';
@@ -21,8 +21,8 @@ import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
21
21
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
22
22
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
23
23
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
24
- import type { I18n } from '../../i18n';
25
- import { KcContext } from '../../KcContext';
24
+ import type { I18n } from '@keycloakify/angular/login/i18n';
25
+ import { KcContext } from '@keycloakify/angular/login/KcContext';
26
26
  import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
27
27
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
28
28
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
@@ -37,19 +37,14 @@ import { Observable } from 'rxjs';
37
37
  })
38
38
  export class DynamicPageInjectorComponent {
39
39
  page = input<Type<unknown>>();
40
- userProfileFormFields = input<Type<unknown>>();
41
40
  componentCreated = output<object>();
42
41
  #vcr = inject<ViewContainerRef>(ViewContainerRef);
43
42
  constructor() {
44
43
  effect(
45
44
  () => {
46
45
  const page = this.page();
47
- const userProfileFormFields = this.userProfileFormFields();
48
46
  if (!page) return;
49
47
  const compRef = this.#vcr.createComponent(page);
50
- if ('userProfileFormFields' in compRef && userProfileFormFields) {
51
- compRef.setInput('userProfileFormFields', userProfileFormFields);
52
- }
53
48
  this.componentCreated.emit(compRef.instance as object);
54
49
  },
55
50
  { allowSignalWrites: true }
@@ -90,7 +85,6 @@ export class TemplateComponent extends ComponentReference implements OnInit {
90
85
  isReadyToRender$: Observable<boolean>;
91
86
 
92
87
  page = input<Type<unknown>>();
93
- userProfileFormFields = input<Type<unknown>>();
94
88
  headerNode: Signal<TemplateRef<HTMLElement>> | undefined;
95
89
  infoNode: Signal<TemplateRef<HTMLElement>> | undefined;
96
90
  socialProvidersNode: Signal<TemplateRef<HTMLElement>> | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { Type } from '@angular/core';
2
- import type { KcContext } from './KcContext';
2
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
3
3
 
4
4
  export function getDefaultPageComponent(
5
5
  pageId: KcContext['pageId']
@@ -0,0 +1 @@
1
+ export * from './kc-class.directive';
@@ -0,0 +1 @@
1
+ export * from './login';
@@ -0,0 +1,14 @@
1
+ import type { Type } from '@angular/core';
2
+ import type { ClassKey } from 'keycloakify/login';
3
+
4
+ export { i18nBuilder } from 'keycloakify/login/i18n/noJsx';
5
+
6
+ export { getDefaultPageComponent } from './defaultPage';
7
+
8
+ export type KcPage = {
9
+ PageComponent: Type<unknown>;
10
+ TemplateComponent: Type<unknown>;
11
+ doUseDefaultCss: boolean;
12
+ classes: { [key in ClassKey]?: string };
13
+ doMakeUserConfirmPassword: boolean;
14
+ };
@@ -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-code',
17
16
  templateUrl: 'code.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './code.component';
@@ -1,10 +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 { TemplateComponent } from '@keycloakify/angular/login/containers/template';
5
5
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
6
- import type { I18n } from '../../i18n';
7
- import type { KcContext } from '../../KcContext';
6
+ import type { I18n } from '@keycloakify/angular/login/i18n';
7
+ import type { KcContext } from '@keycloakify/angular/login/KcContext';
8
8
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
9
9
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
10
10
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
@@ -0,0 +1 @@
1
+ export * from './delete-account-confirm.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-delete-credential',
17
16
  templateUrl: 'delete-credential.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './delete-credential.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 { 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
- 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, KcSanitizePipe],
14
+ imports: [KcSanitizePipe],
16
15
  selector: 'kc-error',
17
16
  templateUrl: 'error.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './error.component';
@@ -1,10 +1,9 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, OnInit, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, OnInit, 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
- 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, KcSanitizePipe],
14
+ imports: [KcSanitizePipe],
16
15
  selector: 'kc-frontchannel-logout',
17
16
  templateUrl: 'frontchannel-logout.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './frontchannel-logout.component';
@@ -9,7 +9,7 @@
9
9
  [kcClass]="'kcFormClass'"
10
10
  [action]="url.loginAction"
11
11
  >
12
- <ng-container [ngComponentOutlet]="userProfileFormFields() ?? null" />
12
+ <kc-user-profile-form-fields />
13
13
  <div [kcClass]="'kcFormGroupClass'">
14
14
  <div
15
15
  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-idp-review-user-profile',
21
20
  templateUrl: 'idp-review-user-profile.component.html',
22
21
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -46,7 +45,6 @@ export class IdpReviewUserProfileComponent extends ComponentReference {
46
45
  infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
47
46
  socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
48
47
 
49
- userProfileFormFields = input<Type<UserProfileFormFieldsComponent>>();
50
48
  isFormSubmittable = signal(false);
51
49
 
52
50
  constructor() {
@@ -0,0 +1 @@
1
+ export * from './idp-review-user-profile.component';
@@ -0,0 +1 @@
1
+ export * from './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 { 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
- 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, KcSanitizePipe],
14
+ imports: [KcSanitizePipe],
16
15
  selector: 'kc-ínfo',
17
16
  templateUrl: 'info.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login.component';
@@ -1,13 +1,12 @@
1
1
  import { AsyncPipe, CommonModule, 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
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';
@@ -18,7 +17,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
18
17
  templateUrl: './login.component.html',
19
18
  standalone: true,
20
19
  changeDetection: ChangeDetectionStrategy.OnPush,
21
- imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, PasswordWrapperComponent, NgClass, TemplateComponent, CommonModule],
20
+ imports: [KcClassDirective, AsyncPipe, KcSanitizePipe, PasswordWrapperComponent, NgClass, CommonModule],
22
21
  providers: [
23
22
  {
24
23
  provide: ComponentReference,
@@ -0,0 +1 @@
1
+ export * from './login-config-totp.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 { 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
- 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';
@@ -14,7 +13,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
14
13
 
15
14
  @Component({
16
15
  standalone: true,
17
- imports: [TemplateComponent, KcClassDirective, KcSanitizePipe, LogoutOtherSessionsComponent],
16
+ imports: [KcClassDirective, KcSanitizePipe, LogoutOtherSessionsComponent],
18
17
  selector: 'kc-login-config-totp',
19
18
  templateUrl: 'login-config-totp.component.html',
20
19
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-idp-link-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-login-idp-link-confirm',
14
13
  templateUrl: 'login-idp-link-confirm.component.html',
15
14
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-idp-link-confirm-override.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: [KcClassDirective, TemplateComponent],
11
+ imports: [KcClassDirective],
13
12
  selector: 'kc-login-idp-link-confirm-override',
14
13
  templateUrl: 'login-idp-link-confirm-override.component.html',
15
14
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-idp-link-email.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-login-idp-link-email',
14
13
  templateUrl: 'login-idp-link-email.component.html',
15
14
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-oauth-grant.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: [KcClassDirective, TemplateComponent],
11
+ imports: [KcClassDirective],
13
12
  selector: 'kc-login-oauth-grant',
14
13
  templateUrl: 'login-oauth-grant.component.html',
15
14
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-oauth2-device-verify-user-code.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-oauth2-device-verify-user-code',
17
16
  templateUrl: 'login-oauth2-device-verify-user-code.component.html',
18
17
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-otp.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-otp',
18
17
  templateUrl: 'login-otp.component.html',
19
18
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-page-expired.component';
@@ -1,9 +1,8 @@
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
- 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-login-page-expired',
16
15
  templateUrl: 'login-page-expired.component.html',
17
16
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-passkeys-conditional-authenticate.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 { 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
- 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 { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
10
9
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
11
10
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
@@ -14,7 +13,7 @@ import { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
14
13
 
15
14
  @Component({
16
15
  standalone: true,
17
- imports: [TemplateComponent, KcClassDirective],
16
+ imports: [KcClassDirective],
18
17
  selector: 'kc-login-passkeys-conditional-authenticate',
19
18
  templateUrl: 'login-passkeys-conditional-authenticate.component.html',
20
19
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-password.component';
@@ -1,12 +1,11 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, 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 { PasswordWrapperComponent } from '@keycloakify/angular/login/components/password-wrapper';
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';
@@ -14,7 +13,7 @@ import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
14
13
 
15
14
  @Component({
16
15
  standalone: true,
17
- imports: [TemplateComponent, KcClassDirective, PasswordWrapperComponent, KcSanitizePipe],
16
+ imports: [KcClassDirective, PasswordWrapperComponent, KcSanitizePipe],
18
17
  selector: 'kc-login-password',
19
18
  templateUrl: 'login-password.component.html',
20
19
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -0,0 +1 @@
1
+ export * from './login-recovery-authn-code-config.component';
@@ -1,11 +1,10 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, TemplateRef, viewChild } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, signal, 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-login-recovery-authn-code-config',
18
17
  templateUrl: 'login-recovery-authn-code-config.component.html',
19
18
  changeDetection: ChangeDetectionStrategy.OnPush,